From 2e0a3bbf7e4ed3ed4031f20278414f4843e27200 Mon Sep 17 00:00:00 2001 From: klab-bot Date: Fri, 2 Feb 2024 09:01:37 +0000 Subject: [PATCH] [AUTOMATED UPDATE] k.Explorer - Rev a122916 --- .../static/ui/css/2feab1c0.806099a1.css | 1 + .../static/ui/css/74fd8965.7c485e34.css | 1 - .../src/main/resources/static/ui/index.html | 4 +- .../static/ui/js/2feab1c0.42aea104.js | 304 ++++++++++++++++++ .../static/ui/js/74fd8965.2c37b5ae.js | 27 -- .../resources/static/ui/js/app.e47a2ce6.js | 1 + .../resources/static/ui/js/app.f82436b2.js | 1 - ...untime.2e1713a8.js => runtime.622f96e6.js} | 2 +- ...{vendor.6dbd30f1.js => vendor.520607ba.js} | 68 ++-- 9 files changed, 343 insertions(+), 66 deletions(-) create mode 100644 klab.engine/src/main/resources/static/ui/css/2feab1c0.806099a1.css delete mode 100644 klab.engine/src/main/resources/static/ui/css/74fd8965.7c485e34.css create mode 100644 klab.engine/src/main/resources/static/ui/js/2feab1c0.42aea104.js delete mode 100644 klab.engine/src/main/resources/static/ui/js/74fd8965.2c37b5ae.js create mode 100644 klab.engine/src/main/resources/static/ui/js/app.e47a2ce6.js delete mode 100644 klab.engine/src/main/resources/static/ui/js/app.f82436b2.js rename klab.engine/src/main/resources/static/ui/js/{runtime.2e1713a8.js => runtime.622f96e6.js} (53%) rename klab.engine/src/main/resources/static/ui/js/{vendor.6dbd30f1.js => vendor.520607ba.js} (89%) diff --git a/klab.engine/src/main/resources/static/ui/css/2feab1c0.806099a1.css b/klab.engine/src/main/resources/static/ui/css/2feab1c0.806099a1.css new file mode 100644 index 000000000..341cc20cf --- /dev/null +++ b/klab.engine/src/main/resources/static/ui/css/2feab1c0.806099a1.css @@ -0,0 +1 @@ +[data-v-b602390c]:root{--main-control-max-height:90vh;--q-tree-no-child-min-height:32px;--app-main-color:#005c81;--app-highlight-main-color:#0077a7;--app-rgb-main-color:0,92,129;--app-background-color:#fafafa;--app-darken-background-color:#ededed;--app-darklight-background-color:#ededed;--app-lighten-background-color:#fafafa;--app-highlight-background-color:#fbfbfb;--app-rgb-background-color:250,250,250;--app-text-color:#005c81;--app-control-text-color:#005c81;--app-link-color:#73937e;--app-link-visited-color:#73937e;--app-highlight-text-color:#0077a7;--app-title-color:#005c81;--app-alt-color:#00a4a1;--app-alt-background:#dedede;--app-rgb-text-color:0,92,129;--app-waiting-color:#f2c037;--app-positive-color:#19a019;--app-negative-color:#db2828;--app-font-family:"Roboto","-apple-system","Helvetica Neue",Helvetica,Arial,sans-serif;--app-font-size:1em;--app-title-size:26px;--app-subtitle-size:16px;--app-small-size:0.9em;--app-modal-title-size:22px;--app-modal-subtitle-size:12px;--app-line-height:1em;--app-small-mp:8px;--app-smaller-mp:calc(var(--app-small-mp)/2);--app-large-mp:16px;--body-min-width:640px;--body-min-height:480px}.spinner-circle[data-v-b602390c]{fill:#da1f26;-webkit-transform:rotate(6deg);transform:rotate(6deg)}.spinner-circle.moving[data-v-b602390c]{-webkit-animation:spin-data-v-b602390c 2s cubic-bezier(.445,.05,.55,.95) infinite;animation:spin-data-v-b602390c 2s cubic-bezier(.445,.05,.55,.95) infinite;-webkit-animation-delay:.4s;animation-delay:.4s}@-webkit-keyframes spin-data-v-b602390c{0%{-webkit-transform:rotate(6deg);transform:rotate(6deg)}80%{-webkit-transform:rotate(366deg);transform:rotate(366deg)}to{-webkit-transform:rotate(366deg);transform:rotate(366deg)}}@keyframes spin-data-v-b602390c{0%{-webkit-transform:rotate(6deg);transform:rotate(6deg)}80%{-webkit-transform:rotate(366deg);transform:rotate(366deg)}to{-webkit-transform:rotate(366deg);transform:rotate(366deg)}}#modal-connection-status.fullscreen{z-index:10000}#modal-connection-status .modal-borders{border-radius:40px}#modal-connection-status #modal-spinner{margin-right:10px;margin-left:1px}#modal-connection-status .modal-klab-content>span{display:inline-block;line-height:100%;vertical-align:middle;margin-right:15px}#modal-connection-status .modal-content{min-width:200px}.klab-settings-container{background-color:var(--app-background-color)!important}.klab-settings-container .klab-settings-button{position:fixed;bottom:28px;right:26px;opacity:.2}.klab-settings-container .klab-settings-button:hover{opacity:1}.klab-settings-container .klab-settings-button:hover .q-btn-fab{height:56px;width:56px}.klab-settings-container .klab-settings-button:hover .q-btn-fab .q-icon{font-size:28px}.klab-settings-container .klab-settings-button.klab-df-info-open{right:346px}.klab-settings-container .klab-settings-button .q-btn-fab{height:42px;width:42px}.klab-settings-container .klab-settings-button .q-btn-fab .q-icon{font-size:21px}.klab-settings-container .klab-settings-button .q-btn-fab-mini{height:24px;width:24px}.klab-settings-container .klab-settings-button .q-btn-fab-mini .q-icon{font-size:12px}.klab-settings-container .klab-settings-button.klab-fab-open{opacity:1}.klab-settings-container .klab-settings-button.klab-fab-open .q-btn-fab{height:56px;width:56px}.klab-settings-container .klab-settings-button.klab-fab-open .q-btn-fab .q-icon{font-size:28px}.klab-settings-container .klab-settings-button.klab-fab-open .q-btn-fab-mini{height:48px;width:48px}.klab-settings-container .klab-settings-button.klab-fab-open .q-btn-fab-mini .q-icon{font-size:24px}.klab-settings-container .q-fab-up{bottom:100%;padding-bottom:10%}.ks-container{background-color:var(--app-background-color);padding:15px 20px;border-radius:5px;width:500px}.ks-container .ks-title{font-size:1.3em;color:var(--app-title-color);font-weight:400;margin-bottom:10px}.ks-container .ks-title .ks-title-text{display:inline-block}.ks-container .ks-title .ks-reload-button{display:inline-block;padding-left:10px;opacity:.3}.ks-container .ks-title .ks-reload-button:hover{opacity:1}.ks-container .ks-debug,.ks-container .ks-term{position:absolute;top:8px}.ks-container .ks-debug{right:46px}.ks-container .ks-term{right:16px}.ks-container .kud-owner{border:1px solid var(--app-main-color);border-radius:5px;padding:20px}.ks-container .kud-owner .kud-label{display:inline-block;width:100px;line-height:2.5em;vertical-align:middle;color:var(--app-title-color)}.ks-container .kud-owner .kud-value{display:inline-block;line-height:30px;vertical-align:middle;color:var(--app-text-color)}.ks-container .kud-owner .kud-value.kud-group{padding-right:10px}.ks-container .kal-apps .kal-app{margin-bottom:16px}.ks-container .kal-apps .kal-app .kal-app-description{display:-webkit-box;display:-ms-flexbox;display:flex;padding:8px 16px;border-radius:6px 16px 6px 16px;border:1px solid transparent;border-color:var(--app-lighten75-main-color)}.ks-container .kal-apps .kal-app .kal-app-description:not(.kal-active){cursor:pointer}.ks-container .kal-apps .kal-app .kal-app-description.kal-active{border-color:var(--app-darken-main-color)}.ks-container .kal-apps .kal-app .kal-app-description:hover{background-color:var(--app-lighten75-main-color)}.ks-container .kal-apps .kal-app .kal-app-description .kal-logo{-ms-flex-item-align:start;align-self:start;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50px;height:50px;margin:0 16px 0 0}.ks-container .kal-apps .kal-app .kal-app-description .kal-logo img{display:block;max-width:50px;max-height:50px;vertical-align:middle}.ks-container .kal-apps .kal-app .kal-app-description .kal-info{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.ks-container .kal-apps .kal-app .kal-app-description .kal-info .kal-name{color:var(--app-title-color);font-weight:400}.ks-container .kal-apps .kal-app .kal-app-description .kal-info .kal-description{color:var(--app-text-color);font-size:80%}.ks-container .kal-apps .kal-locales span{display:inline-block;padding-left:2px}.ks-container .kal-apps .kal-locales span.flag-icon{font-size:90%}.ks-container .kal-apps .kal-locales .kal-lang-selector{height:32px;font-size:90%;padding:0 4px;border-radius:4px}.ks-container .kal-apps .kal-locales .kal-lang-selector .q-input-target{color:var(--app-main-color)}.kud-group-detail,.kud-group-id{text-align:center}.kud-group-detail{font-style:italic}.kud-no-group-icon{background-color:var(--app-title-color);text-align:center;color:var(--app-background-color);padding:2px 0 0;cursor:default;border-radius:15px}.kud-img-logo,.kud-no-group-icon{width:30px;height:30px;line-height:30px}.kud-img-logo{display:inline-block;vertical-align:middle}.klab-setting-tooltip{background-color:var(--app-main-color)}.kal-locale-options{color:var(--app-main-color);font-size:90%}.kal-locale-options .q-item-side{color:var(--app-main-color);min-width:0}.xterm{cursor:text;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:.5}.xterm-underline{text-decoration:underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-decoration-overview-ruler{z-index:7;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.kterm-container{z-index:4999}.kterm-container .kterm-header{border-top-right-radius:8px;border-top-left-radius:8px;height:30px;border-top:1px solid hsla(0,0%,100%,.5);border-left:1px solid hsla(0,0%,100%,.5);border-right:1px solid hsla(0,0%,100%,.5);cursor:move;opacity:.9;z-index:5001}.kterm-container .kterm-header .kterm-button{position:absolute}.kterm-container .kterm-header .kterm-close{top:0;right:0}.kterm-container .kterm-header .kterm-minimize{top:0;right:30px}.kterm-container .kterm-header .kterm-drag{top:0;right:60px}.kterm-container .kterm-header .kterm-delete-history{top:0;right:90px}.kterm-container.kterm-minimized{width:90px;position:absolute;bottom:25px;left:25px;top:unset}.kterm-container.kterm-minimized .kterm-header{border-bottom-left-radius:10px;border-bottom-right-radius:10px;border:none}.kterm-container.kterm-focused{z-index:5000}.kterm-container .kterm-terminal{border:1px solid hsla(0,0%,100%,.5)}.kterm-tooltip{background-color:var(--app-main-color)!important}.kaa-container{background-color:hsla(0,0%,99.2%,.8);padding:15px;border-radius:5px}.kaa-container .kaa-content{border:1px solid var(--app-main-color);border-radius:5px;padding:20px;color:var(--app-title-color)}.kaa-container .kaa-button{margin:10px 0 0;width:100%;text-align:right}.kaa-container .kaa-button .q-btn{margin-left:10px}.klab-destructive-actions .klab-button{color:#ff6464!important}#ks-container{overflow-x:hidden;overflow-y:hidden;white-space:nowrap}#ks-container #ks-internal-container{float:left}.ks-tokens{display:inline-block;margin-right:-3px;padding:0 3px}.ks-tokens-accepted{font-weight:600}.ks-tokens.selected{outline:none}.bg-semantic-elements{border-radius:4px;border-style:solid;border-width:2px}.q-tooltip{max-width:512px}.q-popover{max-width:512px!important;border-radius:10px}#ks-autocomplete{scrollbar-color:#e5e5e5 transparent;scrollbar-width:thin}#ks-autocomplete .q-item.text-faded{color:#333}#ks-autocomplete .q-item.ka-separator{padding:8px 16px 5px;min-height:0;font-size:.8em;border-bottom:1px solid #e0e0e0}#ks-autocomplete .q-item.ka-separator.q-select-highlight{background-color:transparent}#ks-autocomplete .q-item:not(.text-faded):active{background:hsla(0,0%,74.1%,.5)}#ks-autocomplete::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}#ks-autocomplete::-webkit-scrollbar{width:6px;background-color:transparent}#ks-autocomplete::-webkit-scrollbar-thumb{border-radius:10px;width:5px;background-color:#e5e5e5}.ks-tokens-fuzzy{width:100%}.ks-tokens-klab{width:256px}#ks-search-input{background-color:transparent}.ks-search-focused{padding:0;border-radius:4px;background-color:#e4fdff}.ks-search-focused,.ks-search-focused.ks-fuzzy{-webkit-transition:background-color .8s;transition:background-color .8s}.ks-search-focused.ks-fuzzy{background-color:#e7ffdb}#ks-autocomplete .q-item-side.q-item-section.q-item-side-left{-ms-flex-item-align:start;align-self:start}#ks-autocomplete .q-item-sublabel{font-size:80%}#ks-autocomplete .text-faded .q-item-section{font-size:1rem}.kl-model-desc-container{width:400px;background-color:#fff;color:#616161;border:1px solid #e0e0e0;padding:10px}.kl-model-desc-container .kl-model-desc-title{float:left;padding:5px 0;font-size:larger;margin-bottom:5px}.kl-model-desc-container .kl-model-desc-state{float:right;display:inline-block;padding:4px;border-radius:4px;color:#fff}.kl-model-desc-container .kl-model-desc-content{padding:10px 0;clear:both;border-top:1px solid #e0e0e0}.st-container.marquee.hover-active:hover .st-text{-webkit-animation:klab-marquee linear infinite alternate;animation:klab-marquee linear infinite alternate}.st-container.marquee.hover-active:hover .st-edges{opacity:inherit}.st-container.marquee.hover-active:not(:hover) .st-text{left:0!important;width:100%;text-overflow:ellipsis}.st-container.marquee:not(.hover-active) .st-text{-webkit-animation:klab-marquee linear infinite alternate;animation:klab-marquee linear infinite alternate}.st-container.marquee:not(.hover-active) .st-edges{opacity:inherit}.st-container.marquee:not(.hover-active):hover .st-text{-webkit-animation-play-state:paused;animation-play-state:paused}.st-container.marquee:not(.hover-active):hover:not(.active) .st-accentuate{color:rgba(0,0,0,.8);cursor:default}.st-container.marquee .st-text{position:relative;display:inline-block;overflow:hidden}.st-placeholder{color:#777;opacity:.6}.st-edges{left:-5px;right:0;top:0;bottom:0;position:absolute;height:100%;opacity:0;-webkit-mask-image:-webkit-gradient(linear,left top,right top,from(#000),to(transparent)),-webkit-gradient(linear,right top,left top,from(#000),to(transparent));-webkit-mask-image:linear-gradient(90deg,#000,transparent),linear-gradient(270deg,#000,transparent);mask-image:-webkit-gradient(linear,left top,right top,from(#000),to(transparent)),-webkit-gradient(linear,right top,left top,from(#000),to(transparent));mask-image:linear-gradient(90deg,#000,transparent),linear-gradient(270deg,#000,transparent);-webkit-mask-size:5% 100%;mask-size:5% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:left center,right center;mask-position:left center,right center;-webkit-transition:background-color .8s,opacity .8s;transition:background-color .8s,opacity .8s}@-webkit-keyframes klab-marquee{0%{left:0}}@keyframes klab-marquee{0%{left:0}}.sr-container{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.sr-container.sr-light{color:#333;text-shadow:0 0 1px #ccc}.sr-container.sr-light .sr-spacescale{background-color:#333;color:#ccc}.sr-container.sr-dark{color:#ccc;text-shadow:0 0 1px #333}.sr-container.sr-dark .sr-spacescale{background-color:#ccc;color:#333}.sr-container .sr-editables{display:inline}.sr-container .sr-editables .klab-item{text-align:center}.sr-container .sr-no-scalereference .sr-scaletype,.sr-container .sr-scalereference .sr-scaletype{width:30px}.sr-container .sr-no-scalereference .sr-scaletype span,.sr-container .sr-scalereference .sr-scaletype span{display:block;height:24px;line-height:24px}.sr-container .sr-no-scalereference .sr-locked,.sr-container .sr-scalereference .sr-locked{width:30px}.sr-container .sr-no-scalereference .sr-locked,.sr-container .sr-no-scalereference .sr-scaletype,.sr-container .sr-scalereference .sr-locked,.sr-container .sr-scalereference .sr-scaletype{text-align:center;font-size:12px}.sr-container .sr-no-scalereference .sr-locked.sr-icon,.sr-container .sr-no-scalereference .sr-scaletype.sr-icon,.sr-container .sr-scalereference .sr-locked.sr-icon,.sr-container .sr-scalereference .sr-scaletype.sr-icon{font-size:20px}.sr-container .sr-no-scalereference .sr-description,.sr-container .sr-scalereference .sr-description{font-size:12px;width:calc(100% - 60px)}.sr-container .sr-no-scalereference .sr-spacescale,.sr-container .sr-scalereference .sr-spacescale{font-size:10px;height:20px;line-height:20px;width:20px;border-radius:10px;text-align:center;padding:0;display:inline-block;margin:0 5px}.sr-container .sr-no-scalereference.sr-full .sr-description,.sr-container .sr-scalereference.sr-full .sr-description{width:calc(100% - 90px)}.sr-container.sr-vertical{margin:5px 0}.sr-container.sr-vertical .klab-item{float:left;width:100%;margin:5px 0}.sr-container.sr-vertical .sr-spacescale{width:20px;margin-left:calc(50% - 10px)}.modal-scroll{overflow:hidden;max-height:600px}.mdi-lock-outline{color:#1ab}.sr-tooltip{text-align:center;padding:4px 0}.sr-tooltip.sr-time-tooltip{color:#ffc300}.mcm-icon-close-popover{position:absolute;right:4px;top:6px}.mcm-menubutton{top:6px;right:5px}.mcm-contextbutton{right:-5px}.mcm-container{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:180px}.mcm-container.mcm-context-label{width:250px}#btn-reset-context{width:15px;height:15px}#mc-eraserforcontext{padding:0 0 0 3px}.mcm-actual-context{color:#999}.q-icon.mcm-contextbutton{position:absolute;top:7px;right:5px}.mcm-context-label .klab-menuitem{width:calc(100% - 20px)}.mcm-copy-icon{padding:0 10px 0 5px;color:#eee}.mcm-copy-icon:hover{cursor:pointer;color:#212121}.klab-version{font-size:10px;width:100%;text-align:right;color:#9e9e9e}#ksb-container{width:100%;-webkit-transition:background-color .8s;transition:background-color .8s;line-height:inherit}#ksb-container.ksb-docked{-webkit-transition:width .5s;transition:width .5s}#ksb-container.ksb-docked #ksb-search-container{position:relative;padding:16px 10px;height:52px;-webkit-transition:background-color .8s;transition:background-color .8s}#ksb-container.ksb-docked #ksb-search-container .ksb-context-text{width:90%;position:relative}#ksb-container.ksb-docked #ksb-search-container .ksb-status-texts{width:90%;position:relative;bottom:2px}#ksb-container.ksb-docked #ksb-search-container .mcm-menubutton{top:11px}#ksb-container:not(.ksb-docked){border-radius:30px;cursor:move}#ksb-container:not(.ksb-docked) #ks-container,#ksb-container:not(.ksb-docked) .ksb-context-text{width:85%;position:absolute;left:45px;margin-top:8px}#ksb-container:not(.ksb-docked) .ksb-status-texts{width:85%;position:absolute;bottom:-4px;left:45px;margin:0 auto}#ksb-container #ksb-spinner{float:left;border:none;width:40px;height:40px}#ksb-container #ksb-undock{text-align:right;height:32px}#ksb-container #ksb-undock #ksb-undock-icon{padding:6px 10px;text-align:center;display:inline-block;cursor:pointer;-webkit-transition:.1s;transition:.1s;color:#999}#ksb-container #ksb-undock #ksb-undock-icon:hover{color:#1ab;-webkit-transform:translate(5px) rotate(33deg);transform:translate(5px) rotate(33deg)}#ksb-container .ksb-context-text,#ksb-container .ksb-status-texts{white-space:nowrap;overflow:hidden}#ksb-container .ksb-status-texts{font-size:11px;color:rgba(0,0,0,.4);height:15px}#ksb-container .mdi-lock-outline{position:absolute;right:35px;top:12px}.kbc-container{position:relative;height:20px;font-size:10px;padding:2px 5px}.kbc-container span{color:#eee}.kbc-container span:not(:last-child){cursor:pointer;color:#1ab}.kbc-container span:not(:last-child):hover{color:#ffc300}.kbc-container span:not(:last-child):after{content:" / ";color:#eee}.vue-splitter{height:inherit;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.vue-splitter .splitter-pane{height:inherit;overflow:hidden;padding:0}.vue-splitter .left-pane{white-space:nowrap}.vue-splitter .right-pane{word-wrap:break-word}.splitter-actions{width:2em;height:2em}#splitter-close{position:absolute;right:0}.splitter-controllers{background-color:#000;text-align:center;height:20px}.kt-drag-enter{background-color:#555}.kt-tree-container .klab-no-nodes{padding:5px 0;margin:0;text-align:center;font-style:italic}.kt-tree-container .q-tree>.q-tree-node{padding:0}.kt-tree-container .q-tree-node-collapsible{overflow-x:hidden}.kt-tree-container .q-tree-children{margin-bottom:4px}.kt-tree-container .q-tree-node-selected{background-color:rgba(0,0,0,.15)}.kt-tree-container .q-tree-node{padding:0 0 3px 15px}.kt-tree-container .q-tree-node.q-tree-node-child{min-height:var(--q-tree-no-child-min-height)}.kt-tree-container .q-tree-node-header{margin-top:0}.kt-tree-container .q-tree-node-header:before{width:25px;left:-28px}.kt-tree-container .q-tree-node-header:hover .node-substituible{display:none}.kt-tree-container .q-tree-node-header:hover .kt-download,.kt-tree-container .q-tree-node-header:hover .kt-upload{display:block}.kt-tree-container .q-tree-node-header:hover .kt-download:hover,.kt-tree-container .q-tree-node-header:hover .kt-upload:hover{background-color:#fff;border:none;color:#666}.kt-tree-container .q-tree-node-header.disabled{opacity:1!important}.kt-tree-container .q-chip.node-chip{position:absolute;right:10px;height:20px;min-width:20px;top:4px;text-align:center}.kt-tree-container .q-chip.node-chip .q-chip-main{padding-right:2px}.kt-tree-container .kt-download,.kt-tree-container .kt-upload{position:absolute;top:4px;display:none;z-index:9999;color:#eee;border:2px solid #eee;width:20px;height:20px}.kt-tree-container .kt-download{right:10px}.kt-tree-container .kt-upload{right:34px}.kt-tree-container .node-emphasized{color:#fff;font-weight:700;-webkit-animation:flash 2s linear;animation:flash 2s linear}.kt-tree-container .node-element{text-shadow:none;cursor:pointer}.kt-tree-container .node-selected{-webkit-text-decoration:underline #ffc300 dotted;text-decoration:underline #ffc300 dotted;color:#ffc300}.kt-tree-container .mdi-buddhism{padding-left:1px;margin-right:2px!important}.kt-tree-container .node-updatable{font-style:italic}.kt-tree-container .node-disabled{opacity:.6!important}.kt-tree-container .node-no-tick{margin-right:5px}.kt-tree-container .node-on-top{color:#ffc300}.kt-tree-container .node-icon{display:inline;padding-left:5px}.kt-tree-container .node-icon-time{position:relative;right:-5px}.kt-tree-container .node-icon-time.node-loading-layer{opacity:0}.kt-tree-container .node-icon-time.node-loading-layer.animate-spin{opacity:1}.kt-tree-container .kt-q-tooltip{background-color:#333}.kt-tree-container .q-tree-node-link{cursor:default}.kt-tree-container .q-tree-node-link .q-tree-arrow{cursor:pointer}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent{padding-left:1px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-header{padding-left:0}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-header:before{width:12px;left:-14px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-header>i{margin-right:2px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-collapsible .q-tree-children{padding-left:20px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-collapsible .q-tree-children .q-tree-node-child .q-tree-node-header{padding-left:4px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-collapsible .q-tree-children .q-tree-node-child .q-tree-node-header:before{width:25px;left:-28px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-collapsible .q-tree-children .q-tree-node-child .q-tree-node-header:after{left:-17px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-collapsible .q-tree-children .q-tree-node-parent .q-tree-node-collapsible{padding-left:1px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-collapsible .q-tree-children .q-tree-node-parent .q-tree-node-collapsible:before{width:25px;left:-28px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-collapsible .q-tree-children .q-tree-node-parent .q-tree-node-collapsible:after{left:-17px}@-webkit-keyframes flash{0%{opacity:1}25%{opacity:.5}50%{opacity:1}75%{opacity:.5}to{opacity:1}}@keyframes flash{0%{opacity:1}25%{opacity:.5}50%{opacity:1}75%{opacity:.5}to{opacity:1}}@-webkit-keyframes loading-gradient{0%{background-position:0 0}50%{background-position:100% 0}to{background-position:0 0}}@keyframes loading-gradient{0%{background-position:0 0}50%{background-position:100% 0}to{background-position:0 0}}.hv-histogram-container.hv-histogram-horizontal{height:160px;width:100%}.hv-histogram-container.hv-histogram-vertical{height:100%}.hv-histogram,.hv-histogram-nodata{height:calc(100% - 30px);position:relative}.hv-histogram-nodata.k-with-colormap,.hv-histogram.k-with-colormap{height:calc(100% - 60px)}.hv-histogram-nodata{color:#fff;text-align:center;background-color:hsla(0,0%,46.7%,.65);padding-top:20%}.hv-histogram-col{float:left;height:100%;position:relative}.hv-histogram-col:hover{background:hsla(0,0%,46.7%,.65)}.hv-histogram-val{background:#000;width:100%;position:absolute;bottom:0;border-right:1px solid hsla(0,0%,46.7%,.85);border-left:1px solid hsla(0,0%,46.7%,.85)}.hv-histogram-val:hover{background:rgba(0,0,0,.7)}.hv-colormap-horizontal{height:30px;position:relative}.hv-colormap-horizontal .hv-colormap-col{float:left;height:100%;min-width:1px}.hv-colormap-vertical{width:30px;min-width:30px;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hv-colormap-vertical .hv-colormap-col{display:block;width:100%;min-height:1px}.hv-colormap-container-vertical{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.hv-colormap-container-vertical .hv-colormap-legend{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hv-colormap-container-vertical .hv-categories{overflow:hidden}.hv-colormap-col{background-color:#fff}.hv-details-vertical{float:left}.hv-data-details{color:#fff;text-align:center;font-size:small;padding:2px 0;display:inline-block;overflow:hidden;white-space:nowrap;vertical-align:middle;height:30px;line-height:30px;text-overflow:ellipsis}.hv-histogram-max,.hv-histogram-min{width:50px}.hv-categories{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;margin-left:16px}.hv-categories .hv-category{text-overflow:ellipsis;white-space:nowrap;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-size:12px}.hv-zero-category{font-style:italic;opacity:.5}.hv-data-nodetail,.hv-data-value{width:calc(100% - 100px);border-left:1px solid #696969;border-right:1px solid #696969}.hv-data-value,.hv-tooltip{color:#ffc300;-webkit-transition:none;transition:none;font-style:normal}.hv-tooltip{background-color:#444}#oi-container{height:calc(var(--main-control-max-height) - 164px);max-height:calc(var(--main-control-max-height) - 164px)}#oi-metadata-map-wrapper{height:calc(100% - 40px)}#oi-metadata-map-wrapper.k-with-histogram{height:calc(100% - 200px)}#oi-metadata-map-wrapper #oi-scroll-metadata-container{padding-top:5px}.oi-text{color:#ffc300;text-shadow:0 0 1px #666;padding:0 0 0 5px}.oi-metadata-name{padding-bottom:2px}.oi-metadata-value{color:#fff;margin:0 5px 5px;background-color:#666;-webkit-box-shadow:inset 0 0 0 1px #666;box-shadow:inset 0 0 0 1px #666;padding:2px 0 2px 5px}#oi-scroll-container{height:100%}#oi-scroll-container.with-mapinfo{height:50%}#oi-controls{height:40px;width:100%;border-bottom:1px dotted #333}#oi-controls .oi-control{float:left}#oi-controls #oi-name{width:50%;display:table;overflow:hidden;height:40px}#oi-controls #oi-name span{display:table-cell;vertical-align:middle;padding-top:2px}#oi-controls #oi-visualize{text-align:center;width:40px;line-height:40px}#oi-controls #oi-slider{width:calc(50% - 40px)}#oi-controls #oi-slider .q-slider{padding:0 10px 0 5px;height:40px}#oi-mapinfo-container{height:50%;width:100%;padding:5px;position:relative}#oi-mapinfo-map{height:100%;width:100%}.oi-pixel-indicator{position:absolute;background-color:#fff;mix-blend-mode:difference}#oi-pixel-h{left:50%;top:5px;height:calc(100% - 10px);width:1px}#oi-pixel-v{top:50%;left:5px;height:1px;width:calc(100% - 10px)}.ktp-loading{background:-webkit-gradient(linear,left top,right top,from(#333),to(#999));background:linear-gradient(90deg,#333,#999);background-size:200% 100%;-webkit-animation:loading-gradient 4s linear infinite;animation:loading-gradient 4s linear infinite}.q-tree .text-white{text-shadow:1px 0 0 #aaa}#kt-user-tree{padding-top:15px;padding-bottom:10px}.kt-separator{width:96%;left:4%;height:2px;border-top:1px solid hsla(0,0%,48.6%,.8);border-bottom:1px solid #7c7c7c;margin:0 4%}#klab-tree-pane{-ms-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;-moz-user-select:-moz-none;-webkit-user-select:none}#klab-tree-pane details{padding:6px 0 10px 10px;background-color:#7d7d7d;border-top:1px solid #555}#klab-tree-pane details:not([open]){padding:0;margin-bottom:15px}#klab-tree-pane details:not([open]) #ktp-main-tree-arrow{top:-12px}#klab-tree-pane details[open] #ktp-main-tree-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}#klab-tree-pane details .mdi-dots-horizontal:before{padding-top:2px}#klab-tree-pane details summary{height:0;outline:none;position:relative;cursor:pointer;display:block}#klab-tree-pane details summary::-webkit-details-marker{color:transparent}#klab-tree-pane details #ktp-main-tree-arrow{position:absolute;width:22px;height:22px;right:9px;top:-18px;color:#fff;background-color:#555;border-radius:12px;-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}#klab-tree-pane details>div{margin:5px 0 0 -10px}.ktp-no-tree{height:30px}.otv-now{font-size:11px;line-height:24px;vertical-align:middle;text-align:center;color:#fff;width:150px;height:24px}.otv-now.otv-docked{float:left;color:#fff;line-height:34px}.otv-now:not(.otv-docked){position:absolute;bottom:0;left:0;background-color:hsla(0,0%,46.7%,.65);border-top:1px solid #000;border-right:1px solid #000;border-top-right-radius:4px}.otv-now.otv-running{color:#ffc300}.otv-now.otv-novisible{opacity:0}.otv-now .fade-enter-active,.otv-now .fade-leave-active{-webkit-transition:opacity 1s;transition:opacity 1s}.otv-now .fade-enter,.otv-now .fade-leave-to{opacity:0}.ot-wrapper{width:100%}.ot-wrapper.ot-no-timestamp .ot-container.ot-docked{width:calc(100% - 5px)}.ot-wrapper:not(.ot-no-timestamp) .ot-container.ot-docked{width:280px;float:left}.ot-container{position:relative}.ot-container .ot-player{width:20px;height:16px;line-height:16px;float:left}.ot-container .ot-player .q-icon{vertical-align:baseline!important}.ot-container .ot-time{width:calc(100% - 20px);position:relative}.ot-container .ot-time.ot-time-full{left:10px}.ot-container .ot-time .ot-date{min-width:16px;max-width:16px;height:16px;line-height:16px;font-size:16px;text-align:center;vertical-align:middle;background-color:#555;border-radius:8px;position:relative;cursor:default;-webkit-transition:background-color .5s ease;transition:background-color .5s ease}.ot-container .ot-time .ot-date.ot-with-modifications{cursor:pointer;background-color:#888}.ot-container .ot-time .ot-date.ot-date-fill,.ot-container .ot-time .ot-date.ot-date-loaded{background-color:#1ab}.ot-container .ot-time .ot-date.ot-date-start+.ot-date-text{left:16px}.ot-container .ot-time .ot-date.ot-date-end+.ot-date-text{right:16px}.ot-container .ot-time .ot-date .ot-time-origin{vertical-align:baseline;-webkit-transition:background-color .5s ease;transition:background-color .5s ease}.ot-container .ot-time .ot-date .ot-time-origin.ot-time-origin-loaded{color:#e4fdff}.ot-container .ot-time .ot-date-text{white-space:nowrap;font-size:8px;position:absolute;top:-4px;color:#888;font-weight:400;letter-spacing:1px;padding:0;-ms-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;-moz-user-select:-moz-none;-webkit-user-select:none}.ot-container .ot-time .ot-timeline-container .ot-timeline{height:6px;width:calc(100% + 4px);background-color:#555;position:relative;top:5px;margin:0 -2px;padding:0 2px;-webkit-transition:background-color .5s ease;transition:background-color .5s ease}.ot-container .ot-time .ot-timeline-container .ot-timeline.ot-with-modifications{cursor:pointer;background-color:#888}.ot-container .ot-time .ot-timeline-container .ot-timeline .ot-modification-container{z-index:10000;width:32px;height:6px;position:absolute;top:7px}.ot-container .ot-time .ot-timeline-container .ot-timeline .ot-modification-container .ot-modification{height:100%;width:1px;margin-left:1px;border-left:1px solid #555;border-right:1px solid #aaa}.ot-container .ot-time .ot-timeline-container .ot-timeline .ot-actual-time{width:2px;height:6px;background-color:#1ab;position:absolute;margin-right:4px;top:0;z-index:10001}.ot-container .ot-time .ot-timeline-container .ot-timeline .ot-loaded-time{height:6px;left:-2px;background-color:#1ab;position:relative;top:0}.ot-container.ot-active-timeline .ot-time .ot-date-start{border-top-right-radius:0;border-bottom-right-radius:0;cursor:pointer}.ot-container.ot-active-timeline .ot-time .ot-date-end{border-top-left-radius:0;border-bottom-left-radius:0;cursor:pointer}.ot-container.ot-active-timeline .ot-time .ot-timeline{height:16px;width:100%;top:0;margin:0}.ot-container.ot-active-timeline .ot-time .ot-timeline .ot-timeline-viewer{height:10px;background-color:#666;border-radius:2px;width:calc(100% - 2px);position:absolute;top:3px;z-index:9000}.ot-container.ot-active-timeline .ot-time .ot-timeline .ot-loaded-time{height:16px}.ot-container.ot-active-timeline .ot-time .ot-timeline .ot-actual-time{height:10px;top:3px}.ot-date-tooltip{width:100px}.ot-date-tooltip .ot-date-tooltip-content{text-align:center}.ot-speed-container{border-radius:6px;margin-left:-6px}.ot-speed-container .ot-speed-selector{padding:5px 0;background-color:rgba(35,35,35,.8);color:#eee}.ot-speed-container .ot-speed-selector .ot-speed{min-height:20px;font-size:small;padding:5px}.ot-speed-container .ot-speed-selector .ot-speed.ot-speed-disabled{color:#1ab;font-weight:800}.ot-speed-container .ot-speed-selector .ot-speed:hover{background-color:#333;color:#ffc300;cursor:pointer}.ot-change-speed-tooltip{text-align:center}#klab-log-pane{max-height:calc(var(--main-control-max-height) - 124px)}#klab-log-pane.lm-component{max-height:100%}#klab-log-pane #log-container{margin:10px 0}#klab-log-pane .q-item.log-item{font-size:10px}#klab-log-pane .q-item.log-no-items{font-size:12px;color:#ccc;text-shadow:1px 0 0 #777}.log-item .q-item-side{min-width:auto}.q-list-dense>.q-item{padding-left:10px}.klp-separator{width:100%;text-align:center;border-top:1px solid #555;border-bottom:1px solid #777;line-height:0;margin:10px 0}.klp-separator>span{padding:0 10px;background-color:#717070}.klp-level-selector{border-bottom:1px dotted #ccc}.klp-level-selector ul{margin:10px 0;padding-left:10px;list-style:none}.klp-level-selector ul li{display:inline-block;padding-right:10px;opacity:.5}.klp-level-selector ul li.klp-selected{opacity:1}.klp-level-selector ul li .klp-chip{padding:2px 8px;cursor:pointer}.klab-mdi-next-scale{color:#ffc300;opacity:.6}.klab-mdi-next-scale:hover{opacity:1}.sb-scales *{cursor:pointer}.sb-next-scale{background-color:rgba(255,195,0,.7)}.sb-tooltip{text-align:center;font-size:.7em;color:#fff;background-color:#616161;padding:2px 0}.kvs-popover-container{background-color:#616161;border-color:#616161}.kvs-popover{background-color:transparent}.kvs-container .klab-button.klab-action .klab-button-notification{right:26px;top:0}.kvs-container .klab-button:not(.disabled) .kvs-button{color:#1ab}.mc-container .q-card>.mc-q-card-title{border-radius:30px;cursor:move;-webkit-transition:background-color .8s;transition:background-color .8s}.mc-container .q-card{width:512px;-webkit-transition:width .5s;transition:width .5s}.mc-container .q-card.with-context{width:482px;background-color:rgba(35,35,35,.8);border-radius:5px}.mc-container .q-card.with-context .mc-q-card-title{overflow:hidden;margin:15px}.mc-container .q-card.mc-large-mode-1{width:640px}.mc-container .q-card.mc-large-mode-2{width:768px}.mc-container .q-card.mc-large-mode-3{width:896px}.mc-container .q-card.mc-large-mode-4{width:1024px}.mc-container .q-card.mc-large-mode-5{width:1152px}.mc-container .q-card.mc-large-mode-6{width:1280px}.mc-container .q-card-title{position:relative}.mc-container .spinner-lonely-div{position:absolute;width:44px;height:44px;border:2px solid;border-radius:40px}.mc-container .q-card-title{line-height:inherit}.mc-container #mc-text-div{text-shadow:0 0 1px #555}.mc-container .q-card-main{overflow:auto;line-height:inherit;background-color:hsla(0,0%,46.7%,.85);padding:0}.mc-container .kmc-bottom-actions.q-card-actions{padding:0 4px 4px 6px}.mc-container .kmc-bottom-actions.q-card-actions .klab-button{font-size:18px;padding:4px}.mc-container .klab-main-actions{position:relative}.mc-container .klab-button-notification{top:4px;right:4px;width:10px;height:10px}.mc-container .context-actions{padding:0;margin:0;position:relative}.mc-container .mc-separator{width:2px;height:60%;position:absolute;top:20%;border-left:1px solid #444;border-right:1px solid #666}.mc-container .mc-separator.mab-separator{right:45px}.mc-container .mc-tab.active{background-color:hsla(0,0%,46.7%,.85)}.mc-container .component-fade-enter-active,.mc-container .component-fade-leave-active{-webkit-transition:opacity .3s ease;transition:opacity .3s ease}.mc-container .component-fade-enter,.mc-container .component-fade-leave-to{opacity:0}.mc-container .mc-docking{position:fixed;left:0;top:0;background-color:rgba(35,35,35,.1);border:1px solid hsla(0,0%,52.9%,.5);-webkit-animation-duration:.2s;animation-duration:.2s}.mc-container .kbc-container{position:absolute;top:63px;left:0;width:100%;text-align:center}.mc-container #kt-out-container{height:100%;overflow:hidden;max-height:calc(var(--main-control-max-height) - 144px)}.mc-container #kt-out-container.kpt-loading{max-height:calc(var(--main-control-max-height) - 114px)}.mc-container #kt-out-container.with-splitter{max-height:calc(var(--main-control-max-height) - 164px)}.mc-container .klab-button{font-size:22px;margin:0;padding:2px 7px 5px;border-top-left-radius:4px;border-top-right-radius:4px}.mc-container .klab-destructive-actions .klab-button{position:absolute;right:6px;padding-right:0}.mc-container .sb-scales{position:absolute;right:42px}.mc-container .sb-scales .klab-button{padding-right:2px}.mc-container .context-actions .sr-locked,.mc-container .context-actions .sr-scaletype{font-size:9px}.mc-container .context-actions .sr-locked.sr-icon,.mc-container .context-actions .sr-scaletype.sr-icon{font-size:14px}.mc-container .context-actions .sr-description{font-size:9px}.mc-container .context-actions .sr-spacescale{font-size:9px;height:16px;width:16px;border-radius:8px;padding:3px 0 0;margin:0 2px}.mc-container .mc-timeline{width:calc(100% - 200px);position:absolute;left:100px;bottom:8px}.mc-container .klab-bottom-right-actions{position:absolute;right:6px}.mc-container .klab-bottom-right-actions .klab-button.klab-action{border-radius:4px;margin:3px 0 0;padding:2px 5px 3px!important}.mc-container .klab-bottom-right-actions .klab-button.klab-action:hover:not(.disabled){background-color:hsla(0,0%,52.9%,.2)}.mc-kv-popover{border-radius:6px;border:none}.mc-kv-popover .mc-kv-container{background-color:#616161;border-radius:2px!important}.md-draw-controls{position:absolute;top:30px;left:calc(50vw - 100px);background-color:hsla(0,0%,100%,.8);border-radius:10px}.md-draw-controls .md-title{color:#fff;background-color:#1ab;width:100%;padding:5px;font-size:16px;text-align:center;border-top-left-radius:10px;border-top-right-radius:10px}.md-draw-controls .md-controls .md-control{font-size:30px;font-weight:700;width:calc(33% - 24px);padding:5px;margin:10px 12px;height:40px;border-radius:10px;cursor:pointer}.md-draw-controls .md-controls .md-ok{color:#19a019}.md-draw-controls .md-controls .md-ok:hover{background-color:#19a019;color:#fff}.md-draw-controls .md-controls .md-cancel{color:#db2828}.md-draw-controls .md-controls .md-cancel:hover{background-color:#db2828;color:#fff}.md-draw-controls .md-controls .md-erase.disabled{cursor:default}.md-draw-controls .md-controls .md-erase:not(.disabled){color:#ffc300}.md-draw-controls .md-controls .md-erase:not(.disabled):hover{background-color:#ffc300;color:#fff}.md-draw-controls .md-selector .q-btn-group{border-bottom-left-radius:10px;border-bottom-right-radius:10px}.md-draw-controls .md-selector button{width:50px}.md-draw-controls .md-selector button:first-child{border-bottom-left-radius:10px}.md-draw-controls .md-selector button:nth-child(4){border-bottom-right-radius:10px}.layer-switcher{position:absolute;top:3.5em;right:.5em;text-align:left}.layer-switcher .panel{border:4px solid #eee;background-color:#fff;display:none;max-height:inherit;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;overflow-y:auto}.layer-switcher button{float:right;z-index:1;width:38px;height:38px;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAACE1BMVEX///8A//8AgICA//8AVVVAQID///8rVVVJtttgv98nTmJ2xNgkW1ttyNsmWWZmzNZYxM4gWGgeU2JmzNNr0N1Rwc0eU2VXxdEhV2JqytQeVmMhVmNoydUfVGUgVGQfVGQfVmVqy9hqy9dWw9AfVWRpydVry9YhVmMgVGNUw9BrytchVWRexdGw294gVWQgVmUhVWPd4N6HoaZsy9cfVmQgVGRrytZsy9cgVWQgVWMgVWRsy9YfVWNsy9YgVWVty9YgVWVry9UgVWRsy9Zsy9UfVWRsy9YgVWVty9YgVWRty9Vsy9aM09sgVWRTws/AzM0gVWRtzNYgVWRuy9Zsy9cgVWRGcHxty9bb5ORbxdEgVWRty9bn6OZTws9mydRfxtLX3Nva5eRix9NFcXxOd4JPeINQeIMiVmVUws9Vws9Vw9BXw9BYxNBaxNBbxNBcxdJexdElWWgmWmhjyNRlx9IqXGtoipNpytVqytVryNNrytZsjZUuX210k5t1y9R2zNR3y9V4lp57zth9zdaAnKOGoaeK0NiNpquV09mesrag1tuitbmj1tuj19uktrqr2d2svcCu2d2xwMO63N+7x8nA3uDC3uDFz9DK4eHL4eLN4eIyYnDX5OM5Z3Tb397e4uDf4uHf5uXi5ePi5+Xj5+Xk5+Xm5+Xm6OY6aHXQ19fT4+NfhI1Ww89gx9Nhx9Nsy9ZWw9Dpj2abAAAAWnRSTlMAAQICAwQEBgcIDQ0ODhQZGiAiIyYpKywvNTs+QklPUlNUWWJjaGt0dnd+hIWFh4mNjZCSm6CpsbW2t7nDzNDT1dje5efr7PHy9PT29/j4+Pn5+vr8/f39/f6DPtKwAAABTklEQVR4Xr3QVWPbMBSAUTVFZmZmhhSXMjNvkhwqMzMzMzPDeD+xASvObKePPa+ffHVl8PlsnE0+qPpBuQjVJjno6pZpSKXYl7/bZyFaQxhf98hHDKEppwdWIW1frFnrxSOWHFfWesSEWC6R/P4zOFrix3TzDFLlXRTR8c0fEEJ1/itpo7SVO9Jdr1DVxZ0USyjZsEY5vZfiiAC0UoTGOrm9PZLuRl8X+Dq1HQtoFbJZbv61i+Poblh/97TC7n0neCcK0ETNUrz1/xPHf+DNAW9Ac6t8O8WH3Vp98f5lCaYKAOFZMLyHL4Y0fe319idMNgMMp+zWVSybUed/+/h7I4wRAG1W6XDy4XmjR9HnzvDRZXUAYDFOhC1S/Hh+fIXxen+eO+AKqbs+wAo30zDTDvDxKoJN88sjUzDFAvBzEUGFsnADoIvAJzoh2BZ8sner+Ke/vwECuQAAAABJRU5ErkJggg==");background-repeat:no-repeat;background-position:2px;background-color:#fff;color:#000;border:none}.layer-switcher button:focus,.layer-switcher button:hover{background-color:#fff}.layer-switcher.shown{overflow-y:hidden}.layer-switcher.shown.ol-control,.layer-switcher.shown.ol-control:hover{background-color:transparent}.layer-switcher.shown .panel{display:block}.layer-switcher.shown button{display:none}.layer-switcher.shown.layer-switcher-activation-mode-click>button{display:block;background-image:unset;right:2px;position:absolute;background-color:#eee;margin:0 1px}.layer-switcher.shown button:focus,.layer-switcher.shown button:hover{background-color:#fafafa}.layer-switcher ul{list-style:none;margin:1.6em .4em;padding-left:0}.layer-switcher ul ul{padding-left:1.2em;margin:.1em 0 0}.layer-switcher li.group+li.group{margin-top:.4em}.layer-switcher li.group>label{font-weight:700}.layer-switcher.layer-switcher-group-select-style-none li.group>label{padding-left:1.2em}.layer-switcher li{position:relative;margin-top:.3em}.layer-switcher li input{position:absolute;left:1.2em;height:1em;width:1em;font-size:1em}.layer-switcher li label{padding-left:2.7em;padding-right:1.2em;display:inline-block;margin-top:1px}.layer-switcher label.disabled{opacity:.4}.layer-switcher input{margin:0}.layer-switcher.touch ::-webkit-scrollbar{width:4px}.layer-switcher.touch ::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);border-radius:10px}.layer-switcher.touch ::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.5)}li.layer-switcher-base-group>label{padding-left:1.2em}.layer-switcher .group button{position:absolute;left:0;display:inline-block;vertical-align:top;float:none;font-size:1em;width:1em;height:1em;margin:0;background-position:center 2px;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAW0lEQVR4nGNgGAWMyBwXFxcGBgaGeii3EU0tXHzPnj1wQRYsihqQ+I0ExDEMQAYNONgoAN0AmMkNaDSyQSheY8JiaCMOGzE04zIAmyFYNTMw4A+DRhzsUUBtAADw4BCeIZkGdwAAAABJRU5ErkJggg==");-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}.layer-switcher .group.layer-switcher-close button{transform:rotate(-90deg);-webkit-transform:rotate(-90deg)}.layer-switcher .group.layer-switcher-fold.layer-switcher-close>ul{overflow:hidden;height:0}.layer-switcher.shown.layer-switcher-activation-mode-click{padding-left:34px}.layer-switcher.shown.layer-switcher-activation-mode-click>button{left:0;border-right:0}.layer-switcher{top:5em}.layer-switcher button{background-position:2px 3px;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTkuOTk2IiB3aWR0aD0iMjAiPjxnIGZpbGw9IiNmZmYiPjxwYXRoIGQ9Ik0xOS4zMSAzLjgzNUwxMS41My4yODljLS44NDMtLjM4NS0yLjIyMy0uMzg1LTMuMDY2IDBMLjY5IDMuODM1Yy0uOTE3LjQxNi0uOTE3IDEuMDk5IDAgMS41MTVsNy43MDYgMy41MTVjLjg4LjQgMi4zMjguNCAzLjIwOCAwTDE5LjMxIDUuMzVjLjkxNi0uNDE2LjkxNi0xLjA5OSAwLTEuNTE1ek04LjM5NiAxNi4yMDdMMy4yIDEzLjgzN2EuODQ1Ljg0NSAwIDAwLS42OTMgMGwtMS44MTcuODI4Yy0uOTE3LjQxNy0uOTE3IDEuMSAwIDEuNTE2bDcuNzA2IDMuNTE0Yy44OC40MDEgMi4zMjguNDAxIDMuMjA4IDBsNy43MDYtMy41MTRjLjkxNi0uNDE3LjkxNi0xLjA5OSAwLTEuNTE2bC0xLjgxNy0uODI4YS44NDUuODQ1IDAgMDAtLjY5MyAwbC01LjE5NiAyLjM3Yy0uODguNC0yLjMyOC40LTMuMjA4IDB6Ii8+PHBhdGggZD0iTTE5LjMxIDkuMjVsLTEuNjUtLjc1YS44MzMuODMzIDAgMDAtLjY4OCAwbC01LjYyMyAyLjU0N2MtLjc5Ny4yNy0xLjkwNi4yNy0yLjcwMyAwTDMuMDIzIDguNWEuODMzLjgzMyAwIDAwLS42ODggMGwtMS42NS43NWMtLjkxNy40MTctLjkxNyAxLjA5OSAwIDEuNTE1TDguMzkgMTQuMjhjLjg4LjQwMSAyLjMyNy40MDEgMy4yMDcgMGw3LjcwNy0zLjUxNWMuOTIxLS40MTYuOTIxLTEuMDk4LjAwNS0xLjUxNXoiLz48L2c+PC9zdmc+")}.layer-switcher .panel{padding:0 1em 0 0;margin:0;border:1px solid #999;border-radius:4px;background-color:hsla(0,0%,46.7%,.65);color:#fff}.map-selection-marker{font-size:28px;color:#fff;mix-blend-mode:exclusion}.gl-msg-content{border-radius:20px;padding:20px;background-color:hsla(0,0%,100%,.7)}.gl-msg-content .gl-btn-container{text-align:right;padding:.2em}.gl-msg-content .gl-btn-container .q-btn{margin-left:.5em}.gl-msg-content h5{margin:.2em 0 .5em;font-weight:700}.gl-msg-content em{color:#1ab;font-style:normal;font-weight:700}.mv-exploring{cursor:crosshair!important}.ol-popup{position:absolute;background-color:hsla(0,0%,100%,.9);padding:20px 15px;border-radius:10px;bottom:25px;left:-48px;min-height:80px}.ol-popup:after,.ol-popup:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.ol-popup:after{border-top-color:hsla(0,0%,100%,.9);border-width:10px;left:48px;margin-left:-10px}.ol-popup .ol-popup-closer{position:absolute;top:2px;right:8px}.ol-popup .ol-popup-content h3{margin:0 0 .2em;line-height:1.1em;font-size:1.1em;color:#1ab;white-space:nowrap;font-weight:300}.ol-popup .ol-popup-content p{margin:0;color:rgba(50,50,50,.9);white-space:nowrap;font-weight:400}.ol-popup .ol-popup-content .mv-popup-value{font-size:1.6em;padding:10px 0}.ol-popup .ol-popup-content .mv-popup-coord{font-size:.8em;padding-top:5px;color:#7c7c7c}.ol-popup .ol-popup-content .mv-popup-separator{height:1px;border-top:1px solid hsla(0,0%,48.6%,.3);margin:0 auto}.ol-mouse-position{right:50px!important;top:14px;margin:1px;padding:4px 8px;color:#fff;font-size:.9em;text-align:center;background-color:rgba(0,60,136,.5);border:4px solid hsla(0,0%,100%,.7)}#mv-extent-map{width:200px;height:200px;position:absolute;bottom:0;right:0;border:1px solid var(--app-main-color)}#mv-extent-map.mv-extent-map-hide{display:none}.mv-remove-proposed-context{position:absolute;bottom:10px;left:10px;opacity:.3;background-color:#3187ca;color:#fff!important}.mv-remove-proposed-context:hover{opacity:1}canvas{position:absolute;top:0;left:0}.net{height:100%;margin:0}.node{stroke:rgba(18,120,98,.7);stroke-width:3px;-webkit-transition:fill .5s ease;transition:fill .5s ease;fill:#dcfaf3}.node.selected{stroke:#caa455}.node.pinned{stroke:rgba(190,56,93,.6)}.link{stroke:rgba(18,120,98,.3)}.link,.node{stroke-linecap:round}.link:hover,.node:hover{stroke:#be385d;stroke-width:5px}.link.selected{stroke:rgba(202,164,85,.6)}.curve{fill:none}.link-label,.node-label{fill:#127862}.link-label{-webkit-transform:translateY(-.5em);transform:translateY(-.5em);text-anchor:middle}.gv-container{background-color:#e0e0e0;overflow:hidden}.gv-container .q-spinner{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px)}.uv-container{background-color:#e7ffdb;overflow:hidden}.uv-container h4{text-align:center}.uv-container .q-spinner{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px)}[data-v-216658d8]:root{--main-control-max-height:90vh;--q-tree-no-child-min-height:32px;--app-main-color:#005c81;--app-highlight-main-color:#0077a7;--app-rgb-main-color:0,92,129;--app-background-color:#fafafa;--app-darken-background-color:#ededed;--app-darklight-background-color:#ededed;--app-lighten-background-color:#fafafa;--app-highlight-background-color:#fbfbfb;--app-rgb-background-color:250,250,250;--app-text-color:#005c81;--app-control-text-color:#005c81;--app-link-color:#73937e;--app-link-visited-color:#73937e;--app-highlight-text-color:#0077a7;--app-title-color:#005c81;--app-alt-color:#00a4a1;--app-alt-background:#dedede;--app-rgb-text-color:0,92,129;--app-waiting-color:#f2c037;--app-positive-color:#19a019;--app-negative-color:#db2828;--app-font-family:"Roboto","-apple-system","Helvetica Neue",Helvetica,Arial,sans-serif;--app-font-size:1em;--app-title-size:26px;--app-subtitle-size:16px;--app-small-size:0.9em;--app-modal-title-size:22px;--app-modal-subtitle-size:12px;--app-line-height:1em;--app-small-mp:8px;--app-smaller-mp:calc(var(--app-small-mp)/2);--app-large-mp:16px;--body-min-width:640px;--body-min-height:480px}.thumb-view[data-v-216658d8]{width:200px;height:200px;margin:5px;border:1px solid #333;-webkit-box-shadow:#5c6bc0;box-shadow:#5c6bc0;bottom:0;z-index:9998;overflow:hidden}.thumb-view:hover>.thumb-viewer-title[data-v-216658d8]{opacity:1}.thumb-viewer-title[data-v-216658d8]{opacity:0;background-color:rgba(17,170,187,.85);color:#e0e0e0;text-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12);font-size:.9em;padding:0;-webkit-transition:opacity 1s;transition:opacity 1s;z-index:9999}.thumb-viewer-label[data-v-216658d8]{width:140px;display:inline-block;overflow:hidden;white-space:nowrap;vertical-align:middle;text-overflow:ellipsis}.thumb-viewer-label.thumb-closable[data-v-216658d8]{width:100px}.thumb-viewer-button[data-v-216658d8]{margin-top:5px;margin-left:0;margin-right:4px}.thumb-viewer-button>button[data-v-216658d8]{font-size:6px}.thumb-close[data-v-216658d8]{margin-left:5px}.dh-container{background-color:rgba(35,35,35,.8)}.dh-container .dh-spinner{width:28px;margin-left:16px;margin-right:16px}.dh-container .dh-tabs .q-tabs-head{background-color:transparent;padding:0!important}.dh-container .dh-tabs .q-tabs-head .q-tab{padding:10px 16px}.dh-container .dh-tabs .q-tabs-head .q-tab.active{color:#1ab!important}.dh-container .dh-tabs .q-tabs-head .q-tab .q-dot{background-color:#1ab;right:-3px;top:-1px}.dh-container .dh-actions{text-align:right;padding-right:12px}.dh-container .dh-actions .dh-button{padding:8px}.kd-is-app .q-layout-header{-webkit-box-shadow:none;box-shadow:none;border-bottom:1px solid var(--app-darken-background-color)}.kd-is-app .dh-container{background-color:var(--app-darken-background-color)}.kd-is-app .dh-actions .dh-button{color:var(--app-main-color)}.kd-is-app .dh-tabs .q-tabs-head{background-color:transparent;padding:0!important}.kd-is-app .dh-tabs .q-tabs-head .q-tab{padding:13px 16px;text-shadow:none}.kd-is-app .dh-tabs .q-tabs-head .q-tab.active{color:var(--app-main-color)!important}.kd-is-app .dh-tabs .q-tabs-head .q-tab .q-dot{background-color:var(--app-main-color)}.kd-is-app .dh-tabs .q-tabs-bar{color:var(--app-main-color);border-bottom-width:4px}.q-layout-drawer,.q-layout-header{-webkit-box-shadow:none!important;box-shadow:none!important;border-bottom:1px solid var(--app-main-color)}.dt-container{padding:16px 0;font-size:smaller!important}.dt-container .dt-tree-empty{margin:16px;color:#fff}.kd-is-app .klab-left{background-color:var(--app-darken-background-color)}.kd-is-app .klab-left .dt-tree-empty,.kd-is-app .klab-left .q-tree .q-tree-node,.kd-is-app .klab-left .text-white{color:var(--app-main-color)!important}.tabulator{position:relative;background-color:#fff;overflow:hidden;font-size:14px;text-align:left;-webkit-transform:translatez(0);transform:translatez(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableHolder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}.tabulator .tabulator-header{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;border-bottom:1px solid #999;background-color:#fff;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-col{display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;border-right:1px solid #ddd;background-color:#fff;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #999;background:#e6e6e6;pointer-events:none}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-menu-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-menu-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-menu-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:-ms-flexbox;display:-webkit-box;display:flex;border-top:1px solid #ddd;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col:first-child .tabulator-col-resize-handle.prev{display:none}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover{cursor:pointer;background-color:#e6e6e6}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=asc] .tabulator-col-content .tabulator-col-sorter{color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=asc] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=desc] .tabulator-col-content .tabulator-col-sorter{color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=desc] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{-ms-writing-mode:tb-rl;-webkit-writing-mode:vertical-rl;writing-mode:vertical-rl;text-orientation:mixed;display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{display:inline-block;position:absolute;z-index:10}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #ddd}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #ddd}.tabulator .tabulator-header .tabulator-calcs-holder{-webkit-box-sizing:border-box;box-sizing:border-box;min-width:600%;background:#f2f2f2!important;border-top:1px solid #ddd;border-bottom:1px solid #999;overflow:hidden}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:#f2f2f2!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{min-width:600%}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableHolder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableHolder:focus{outline:none}.tabulator .tabulator-tableHolder .tabulator-placeholder{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;width:100%}.tabulator .tabulator-tableHolder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%;min-width:100%}.tabulator .tabulator-tableHolder .tabulator-placeholder span{display:inline-block;margin:0 auto;padding:10px;color:#000;font-weight:700;font-size:20px}.tabulator .tabulator-tableHolder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#f2f2f2!important}.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #ddd}.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #ddd}.tabulator .tabulator-col-resize-handle{position:absolute;right:0;top:0;bottom:0;width:5px}.tabulator .tabulator-col-resize-handle.prev{left:0;right:auto}.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}.tabulator .tabulator-footer{padding:5px 10px;border-top:1px solid #999;background-color:#fff;text-align:right;color:#555;font-weight:700;white-space:nowrap;-ms-user-select:none;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-calcs-holder{-webkit-box-sizing:border-box;box-sizing:border-box;width:calc(100% + 20px);margin:-5px -10px 5px;text-align:left;background:#f2f2f2!important;border-bottom:1px solid #fff;border-top:1px solid #ddd;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{background:#f2f2f2!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer .tabulator-paginator{color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #aaa;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #aaa;border-radius:3px;background:hsla(0,0%,100%,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#d00}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}.tabulator .tabulator-loader{position:absolute;display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-loader .tabulator-loader-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-loader .tabulator-loader-msg.tabulator-loading{border:4px solid #333;color:#000}.tabulator .tabulator-loader .tabulator-loader-msg.tabulator-error{border:4px solid #d00;color:#590000}.tabulator-row{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;min-height:22px;border-bottom:1px solid #ddd}.tabulator-row,.tabulator-row:nth-child(2n){background-color:#fff}.tabulator-row.tabulator-selectable:hover{background-color:#bbb;cursor:pointer}.tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #ddd;border-bottom:1px solid #ddd;pointer-events:none!important;z-index:15}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}.tabulator-row .tabulator-frozen{display:inline-block;position:absolute;background-color:inherit;z-index:10}.tabulator-row .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #ddd}.tabulator-row .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #ddd}.tabulator-row .tabulator-responsive-collapse{-webkit-box-sizing:border-box;box-sizing:border-box;padding:5px;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:14px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;padding:4px;border-right:1px solid #ddd;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabulator-row .tabulator-cell:last-of-type{border-right:none}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1d68cd;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #d00}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell:first-child .tabulator-col-resize-handle.prev{display:none}.tabulator-row .tabulator-cell.tabulator-row-handle{display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #ddd;border-bottom:2px solid #ddd}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center;-ms-flex-align:center;-webkit-box-align:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open,.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #ddd;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#fafafa;font-weight:700;min-width:100%}.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:rgba(0,0,0,.1)}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#666}.tabulator-menu{position:absolute;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff;border:1px solid #ddd;-webkit-box-shadow:0 0 5px 0 rgba(0,0,0,.2);box-shadow:0 0 5px 0 rgba(0,0,0,.2);font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-menu .tabulator-menu-item{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;padding:5px 10px;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#fff}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:"";border-color:#ddd;border-style:solid;border-width:1px 1px 0 0;vertical-align:top;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #ddd}.tabulator-edit-select-list{position:absolute;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;max-height:200px;background:#fff;border:1px solid #ddd;font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-edit-select-list .tabulator-edit-select-list-item{padding:4px;color:#333}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff;background:#1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid hsla(0,0%,100%,.5)}.tabulator-edit-select-list .tabulator-edit-select-list-item.focused{outline:1px solid #1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{cursor:pointer;color:#fff;background:#1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-notice{padding:4px;color:#333;text-align:center}.tabulator-edit-select-list .tabulator-edit-select-list-group{border-bottom:1px solid #ddd;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #ddd;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:0;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow{left:8px;right:auto}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #ddd}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:0;margin-left:5px;border-bottom-left-radius:0;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #ddd}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:0;margin-left:5px}.tabulator.tabulator-rtl .tabulator-col-resize-handle{position:absolute;left:0;right:auto}.tabulator.tabulator-rtl .tabulator-col-resize-handle.prev{right:0;left:auto}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-print-table-group{-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #ddd;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#fafafa;font-weight:700;min-width:100%}.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:rgba(0,0,0,.1)}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#666}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #ddd;border-bottom:2px solid #ddd}.tabulator-print-table .tabulator-data-tree-control{display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center;-ms-flex-align:center;-webkit-box-align:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.ft-wrapper{margin-top:8px;width:100%;margin-bottom:40px}.ft-container{position:relative}.ft-container .ft-time{width:100%;position:relative}.ft-container .ft-time .ft-date-container{width:4px;height:14px;line-height:14px;background-color:#1ab;cursor:default}.ft-container .ft-time-origin-container{width:28px;height:14px;line-height:14px;color:#1ab;text-align:center;cursor:pointer}.ft-container .ft-time-origin-container .ft-time-origin{vertical-align:baseline;color:#1ab}.ft-container .ft-time-origin-container .ft-time-origin.ft-time-origin-active{color:#0277bd}.ft-container .ft-timeline-container .ft-timeline{height:14px;width:100%;top:0;margin:0;position:relative;padding:0;cursor:pointer}.ft-container .ft-timeline-container .ft-timeline .ft-timeline-viewer{height:1px;background-color:#1ab;width:100%;position:absolute;top:6.5px;z-index:9000}.ft-container .ft-timeline-container .ft-timeline .ft-slice-container{z-index:10000;width:4px;height:14px;position:absolute}.ft-container .ft-timeline-container .ft-timeline .ft-slice-container .ft-slice{height:100%;width:100%;background-color:#1ab}.ft-container .ft-timeline-container .ft-timeline .ft-slice-container .ft-slice-caption{font-size:.65em;color:#1ab;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.ft-container .ft-timeline-container .ft-timeline .ft-actual-time{height:14px;font-size:22px;color:#1ab;position:absolute;top:-12px;left:-15px;z-index:10001}.kd-is-app .ft-container .ft-time .ft-date-container{background-color:var(--app-main-color)}.kd-is-app .ft-container .ft-time-origin-container,.kd-is-app .ft-container .ft-time-origin-container .ft-time-origin{color:var(--app-main-color)}.kd-is-app .ft-container .ft-time-origin-container .ft-time-origin.ft-time-origin-active{color:var(--app-link-color)}.kd-is-app .ft-container .ft-timeline-container .ft-timeline{background-color:var(--app-background-color)}.kd-is-app .ft-container .ft-timeline-container .ft-timeline .ft-slice-container .ft-slice,.kd-is-app .ft-container .ft-timeline-container .ft-timeline .ft-timeline-viewer{background-color:var(--app-main-color)}.kd-is-app .ft-container .ft-timeline-container .ft-timeline .ft-actual-time,.kd-is-app .ft-container .ft-timeline-container .ft-timeline .ft-slice-container .ft-slice-caption{color:var(--app-main-color)}.ft-date-tooltip{width:150px}.ft-date-tooltip .ft-date-tooltip-content{text-align:center}.dv-empty-documentation{position:absolute;width:100%;height:80px;text-aling:center;top:calc((100% - 80px)/2);padding:0;text-align:center;font-size:60px;font-weight:700;color:#1ab}.dv-documentation-wrapper{position:absolute;left:0;width:100%;height:100%;overflow:auto;border:none}.dv-documentation .dv-content{padding:1em 2em}.dv-documentation .dv-content h1,.dv-documentation .dv-content h2,.dv-documentation .dv-content h3,.dv-documentation .dv-content h4,.dv-documentation .dv-content h5,.dv-documentation .dv-content h6{font-weight:700;color:#777;margin:0;padding:.6em 0}.dv-documentation .dv-content [id]{-webkit-transition:.3s ease;transition:.3s ease;border-radius:4px}.dv-documentation .dv-content [id].dv-selected{-webkit-animation:blinker 1.5s;animation:blinker 1.5s}.dv-documentation .dv-table-container .dv-table-title{font-weight:700;color:#777;font-size:larger;padding:16px 0}.dv-documentation .dv-table-container .dv-table-bottom{margin:8px 0 0}.dv-documentation .dv-figure-container{padding:16px;margin:16px 0;border:1px solid #1ab;max-width:960px}.dv-documentation .dv-figure-container .dv-figure-caption-wrapper{padding-bottom:8px}.dv-documentation .dv-figure-container .dv-figure-caption{color:#1ab;font-style:italic}.dv-documentation .dv-figure-container .dv-figure-timestring{color:#1ab;font-size:.8em;text-align:right}.dv-documentation .dv-figure-wrapper .dv-figure-image{text-align:center;overflow:hidden;max-width:640px}.dv-documentation .dv-figure-wrapper .dv-figure-image img{width:100%;max-width:640px}.dv-documentation .dv-figure-wrapper .dv-col-fill,.dv-documentation .dv-figure-wrapper .dv-figure-legend{padding-left:16px;width:320px;max-width:320px}.dv-documentation .dv-figure-wrapper .dv-figure-wait{max-width:640px;min-height:320px;height:auto;border:1px solid #eee;text-align:center}.dv-documentation .dv-figure-wrapper .dv-figure-wait .q-spinner{color:#9e9e9e}.dv-documentation .dv-figure-wrapper .hv-details-nodata,.dv-documentation .dv-figure-wrapper .hv-histogram-nodata{display:none}.dv-documentation .dv-figure-wrapper .hv-categories{margin-left:8px}.dv-documentation .dv-figure-wrapper .hv-categories .hv-category{overflow:hidden;color:#1ab}.dv-documentation .dv-citation,.dv-documentation .dv-paragraph,.dv-documentation .dv-reference{color:var(--app-main-color)}.dv-documentation .dv-citation a,.dv-documentation .dv-paragraph a,.dv-documentation .dv-reference a{display:inline-block;text-decoration:none;color:var(--app-main-color)}.dv-documentation .dv-citation a:visited,.dv-documentation .dv-paragraph a:visited,.dv-documentation .dv-reference a:visited{color:var(--app-main-color)}.dv-documentation .dv-citation a:after,.dv-documentation .dv-paragraph a:after,.dv-documentation .dv-reference a:after{content:"";display:block;width:0;border-bottom-width:1px;border-bottom-style:solid;-webkit-transition:width .3s;transition:width .3s}.dv-documentation .dv-citation a:not(.disabled):hover:after,.dv-documentation .dv-paragraph a:not(.disabled):hover:after,.dv-documentation .dv-reference a:not(.disabled):hover:after{width:100%}.dv-documentation .dv-citation a.disabled,.dv-documentation .dv-paragraph a.disabled,.dv-documentation .dv-reference a.disabled{cursor:default!important}.dv-documentation .dv-model-container,.dv-documentation .dv-resource-container{margin:8px 0;padding:8px 16px;color:#1ab;font-weight:400}.dv-documentation .dv-resource-container{border:1px solid #1ab;border-radius:10px!important;margin:16px 0}.dv-documentation .dv-resource-container.dv-selected{border-width:4px!important}.dv-documentation .dv-resource-container .dv-resource-title-container{background-color:var(--app-darklight-background-color);padding:8px;margin:8px 0 16px;border-radius:2px}.dv-documentation .dv-resource-container .dv-resource-title-container .dv-resource-title{font-size:var(--app-title-size);font-weight:300}.dv-documentation .dv-resource-container .dv-resource-title-container .dv-resource-originator{font-size:var(--app-subtitle-size);font-weight:300}.dv-documentation .dv-resource-container .dv-resource-title-container .dv-resource-keywords{padding:8px 8px 0 0}.dv-documentation .dv-resource-container .dv-resource-title-container .dv-resource-keywords .dv-resource-keyword,.dv-documentation .dv-resource-container .dv-resource-title-container .dv-resource-keywords .dv-resource-keyword-separator,.dv-documentation .dv-resource-container .dv-resource-title-container .dv-resource-keywords .dv-resource-keyword-wrapper{display:inline-block;font-size:var(--app-small-size);color:var(--app-link-color)}.dv-documentation .dv-resource-container .dv-resource-description{font-size:smaller}.dv-documentation .dv-resource-map{width:360px}.dv-documentation .dv-resource-map .dv-resource-authors{font-size:var(--app-small-size);padding-bottom:5px}.dv-documentation .dv-resource-map .dv-resource-authors .dv-resource-author,.dv-documentation .dv-resource-map .dv-resource-authors .dv-resource-author-separator,.dv-documentation .dv-resource-map .dv-resource-authors .dv-resource-author-wrapper{display:inline-block}.dv-documentation .dv-resource-map .dv-resource-authors .dv-resource-author-separator{padding-right:8px}.dv-documentation .dv-resource-map .dv-resource-references{font-size:calc(var(--app-small-size) - 2px)}.dv-documentation .dv-resource-urls{margin:16px 0 0;font-size:var(--app-small-size)}.dv-documentation .klab-inline-link{font-size:var(--app-small-size);vertical-align:super}.dv-documentation .dv-button{padding:8px}.kd-is-app{background-image:none!important}.kd-is-app .kd-container{background-color:var(--app-darken-background-color)}.kd-is-app .dv-documentation-wrapper{border-top-left-radius:8px}.kd-is-app .dv-empty-documentation{color:var(--app-text-color)}.kd-is-app .dv-documentation,.kd-is-app .dv-documentation .dv-content{background-color:var(--app-background-color)}.kd-is-app .dv-documentation .dv-content h1,.kd-is-app .dv-documentation .dv-content h2,.kd-is-app .dv-documentation .dv-content h3,.kd-is-app .dv-documentation .dv-content h4,.kd-is-app .dv-documentation .dv-content h5,.kd-is-app .dv-documentation .dv-content h6{color:var(--app-text-color)}.kd-is-app .dv-documentation .dv-table-container .dv-table-title{color:var(--app-main-color)}.kd-is-app .dv-documentation .dv-figure-container .dv-figure-caption{color:var(--app-text-color)}.kd-is-app .dv-documentation .dv-figure-container .dv-figure-timestring,.kd-is-app .dv-documentation .dv-figure-container .dv-figure-wait .q-spinner{color:var(--app-main-color)}.kd-is-app .dv-documentation .dv-figure-container .hv-categories .hv-category,.kd-is-app .dv-documentation .dv-figure-container .hv-data-details,.kd-is-app .dv-documentation .dv-figure-container .hv-data-value,.kd-is-app .dv-documentation .dv-figure-container .hv-tooltip{color:var(--app-text-color)}.kd-is-app .dv-documentation .dv-model-container,.kd-is-app .dv-documentation .dv-resource-container{color:var(--app-main-color)}.kd-is-app .dv-documentation .dv-resource-container{border-color:var(--app-main-color)}.kd-is-app .dv-documentation .dv-model-container{font-family:monospace}.kd-is-app .dv-documentation .dv-model-container .dv-selected{font-size:larger}.kd-is-app .dv-documentation .dv-model-container .dv-model-space{display:inline-block;width:2em}.kd-is-app .dv-documentation .dv-reference{margin:8px 0;padding:8px 0}.kd-is-app .dv-documentation .dv-reference.dv-selected{color:var(--app-text-color)}.kd-is-app .dv-documentation .dv-other-container{display:none}.kd-is-app .dv-documentation .klab-link{color:var(--app-link-color);font-weight:500!important}.kd-is-app .dv-documentation .klab-link:visited{color:var(--app-link-visited-color)}.kd-is-app .dv-documentation .dv-button{color:var(--app-main-color)}@media print{.kd-modal .modal-content .dv-figure-wrapper,.kd-modal .modal-content .dv-resource-container,.kd-modal .modal-content .dv-table-container{-webkit-column-break-inside:avoid;-moz-column-break-inside:avoid;break-inside:avoid}.kd-modal .modal-content .dv-figure-container{border:none}.kd-modal .modal-content .dv-figure-container .dv-figure-caption,.kd-modal .modal-content .dv-figure-container .dv-figure-timestring{color:#000}.kd-modal .modal-content .hv-category{color:#000!important}.kd-modal .modal-content .ft-container .ft-time .ft-date-container{background-color:#fff}.kd-modal .modal-content .ft-container .ft-time-origin-container,.kd-modal .modal-content .ft-container .ft-time-origin-container .ft-time-origin,.kd-modal .modal-content .ft-container .ft-time-origin-container .ft-time-origin.ft-time-origin-active{color:#000}.kd-modal .modal-content .ft-container .ft-timeline-container .ft-timeline{background-color:#fff}.kd-modal .modal-content .ft-container .ft-timeline-container .ft-timeline .ft-slice-container .ft-slice,.kd-modal .modal-content .ft-container .ft-timeline-container .ft-timeline .ft-timeline-viewer{background-color:#000}.kd-modal .modal-content .dv-model-container,.kd-modal .modal-content .dv-resource-container,.kd-modal .modal-content .ft-container .ft-timeline-container .ft-timeline .ft-actual-time,.kd-modal .modal-content .ft-container .ft-timeline-container .ft-timeline .ft-slice-container .ft-slice-caption{color:#000}.kd-modal .modal-content .dv-resource-container{border:1px solid #000}.kd-modal .modal-content .dv-resource-container .dv-resource-title-container{background-color:#fff}.kd-modal .modal-content .dv-resource-container .dv-resource-title-container .dv-resource-keywords .dv-resource-keyword,.kd-modal .modal-content .dv-resource-container .dv-resource-title-container .dv-resource-keywords .dv-resource-keyword-separator,.kd-modal .modal-content .dv-resource-container .dv-resource-title-container .dv-resource-keywords .dv-resource-keyword-wrapper,.kd-modal .modal-content .dv-resource-container .dv-resource-urls .klab-link{color:#000}}@-webkit-keyframes blinker{40%{opacity:1}60%{opacity:.2}80%{opacity:1}}@keyframes blinker{40%{opacity:1}60%{opacity:.2}80%{opacity:1}}.kexplorer-container.kd-is-app{background-color:var(--app-background-color)}.kd-modal .modal-content{border-radius:20px;padding:20px 0;background-color:#fff;overflow:hidden;width:1024px;min-height:80vh}.kd-modal .dv-documentation-wrapper .dv-content{padding-top:0}.kd-modal .dv-print-hide{position:absolute;top:5px;right:20px}@media print{body{min-width:100%}#q-app{display:none}.kd-modal.fullscreen{position:static}.kd-modal .modal-content{min-width:100%;max-width:100%;min-height:100%;max-height:100%;-webkit-box-shadow:none;box-shadow:none;width:100%!important;border-radius:0!important}.dv-documentation-wrapper p,.dv-documentation-wrapper table td{word-break:break-word}.dv-documentation-wrapper{display:block!important;position:relative!important;overflow:visible!important;overflow-y:visible!important;width:100%!important;height:100%!important;margin:0!important;left:0!important;border:none!important}.modal-backdrop{background:transparent!important}}.dip-container{color:#fff;padding-top:30px;width:100%}.dip-container .dip-content{margin-bottom:40px}.dip-container .dip-close{width:100%;text-align:right;position:absolute;left:0;top:0;color:#fff}.dip-container .simplebar-scrollbar:before{background:#888}.dip-container article{padding:0 10px}.dip-container article hr{height:1px;border:none;border-top:1px solid rgba(24,24,24,.5);border-bottom:1px solid #444}.dip-container article h1{color:#1ab;font-size:1.4em;margin:0 0 10px;font-weight:700;word-break:break-all}.dip-container article .dfe-fixed{color:hsla(0,0%,100%,.6);font-size:.7em}.dip-container article .dfe-fixed p{margin:0 0 .6em}.dip-container article .dfe-content{font-size:.8em}.dip-container article .dfe-content table{padding:10px 0}.dip-container article .dfe-content table th{color:#ffc300;text-align:left;border-bottom:1px solid;margin:0}.dip-container article .dfe-content table tr:nth-child(2n){background-color:hsla(0,0%,59.6%,.1)}.dip-container article .dfe-content mark{background-color:transparent;color:#ffc300;font-weight:700}.dip-container article .dfe-content div{margin:.2em 0 .8em;padding:5px;border-radius:5px;background-color:hsla(0,0%,59.6%,.4);word-break:break-all}.dip-container article .dfe-content div p{margin-bottom:.5em}.kd-is-app .dip-container{color:var(--app-text-color)}.kd-is-app .dip-close{color:var(--app-main-color)}.kd-is-app .simplebar-scrollbar:before{background:var(--app-main-color)}.kd-is-app article hr{border-top:none;border-bottom:1px solid var(--app-main-color)}.kd-is-app article h1{color:var(--app-title-color)}.kd-is-app article .dfe-fixed{color:var(--app-lighten-main-color)}.kd-is-app article .dfe-content table th{color:var(--app-title-color)}.kd-is-app article .dfe-content table tr:nth-child(2n){background-color:var(--app-darken-background-color,.1)}.kd-is-app article .dfe-content mark{color:var(--app-title-color)}.kd-is-app article .dfe-content div{background-color:var(--app-darken-background-color,.4)}.kd-is-app article .dfe-content div p{margin-bottom:.5em}.dfv-container{width:100%}.dfv-container.dfv-with-info{width:calc(100% - 320px)}.dfv-container.dfv-with-info #sprotty{right:320px}.dfv-container .dfv-graph-info{position:absolute;top:0;left:0;width:100%;height:40px;background-color:#e0e0e0;border-bottom:1px solid hsla(0,0%,52.9%,.2)}.dfv-container .dfv-graph-info .dfv-graph-type{padding:10px;font-weight:500;min-width:100px;width:50%;float:left;color:var(--app-title-color)}.dfv-container .dfv-graph-info .dfv-graph-selector{text-align:right;min-width:100px;width:50%;right:0;float:left}.dfv-container .dfv-graph-info .dfv-graph-selected{cursor:default;background-color:var(--app-main-color);color:#fff}.dfv-container #sprotty{position:absolute;background-color:#e0e0e0;top:40px;left:0;right:0;bottom:0}.dfv-container #sprotty svg{width:100%;height:calc(100% - 5px);cursor:default}.dfv-container #sprotty svg:focus{outline-style:none}.dfv-container #sprotty svg .elknode{stroke:#b0bec5;fill:#eceff1;stroke-width:1}.dfv-container #sprotty svg .elkport{stroke:#78909c;stroke-width:1;fill:#78909c}.dfv-container #sprotty svg .elkedge{fill:none;stroke:#546e7a;stroke-width:1}.dfv-container #sprotty svg .elkedge.arrow{fill:#37474f}.dfv-container #sprotty svg .elklabel{stroke-width:0;stroke:#000;fill:#000;font-family:Roboto;font-size:12px;dominant-baseline:middle}.dfv-container #sprotty svg .elkjunction{stroke:none;fill:#37474f}.dfv-container #sprotty svg .selected>rect{stroke-width:3px}.dfv-container #sprotty svg .elk-actuator,.dfv-container #sprotty svg .elk-instantiator,.dfv-container #sprotty svg .elk-resolver,.dfv-container #sprotty svg .elk-resources,.dfv-container #sprotty svg .elk-table,.dfv-container #sprotty svg .mouseover{stroke-width:2px}.dfv-container #sprotty svg .waiting.elk-resource{fill:#e8f5e9;stroke:#c8e6c9}.dfv-container #sprotty svg .waiting.elk-actuator,.dfv-container #sprotty svg .waiting.elk-resolver{fill:#cfd8dc;stroke:#b0bec5}.dfv-container #sprotty svg .waiting.elk-instantiator,.dfv-container #sprotty svg .waiting.elk-table{fill:#e0e0e0;stroke:#bdbdbd}.dfv-container #sprotty svg .waiting.elk-resource_entity{fill:#80cbc4;stroke:blue-$grey-4}.dfv-container #sprotty svg .waiting.elk-semantic_entity{fill:#b2dfdb;stroke:#80cbc4}.dfv-container #sprotty svg .waiting.elk-literal_entity{fill:#80cbc4;stroke:#4db6ac}.dfv-container #sprotty svg .waiting.elk-model_activity{fill:#4db6ac;stroke:#26a69a}.dfv-container #sprotty svg .waiting.elk-task_activity{fill:#e0f2f1;stroke:#b2dfdb}.dfv-container #sprotty svg .waiting.elk-dataflow_plan{fill:#b2dfdb;stroke:#80cbc4}.dfv-container #sprotty svg .waiting.elk-klab_agent{fill:#80cbc4;stroke:#4db6ac}.dfv-container #sprotty svg .waiting.elk-user_agent,.dfv-container #sprotty svg .waiting.elk-view_entity{fill:#4db6ac;stroke:#26a69a}.dfv-container #sprotty svg .processed.elk-resource{fill:#c8e6c9;stroke:#a5d6a7}.dfv-container #sprotty svg .processed.elk-actuator,.dfv-container #sprotty svg .processed.elk-resolver{fill:#b0bec5;stroke:#78909c}.dfv-container #sprotty svg .processed.elk-instantiator,.dfv-container #sprotty svg .processed.elk-table{fill:#bdbdbd;stroke:#9e9e9e}.dfv-container #sprotty svg .processing.elk-resource{fill:#a5d6a7;stroke:#81c784}.dfv-container #sprotty svg .processing.elk-actuator,.dfv-container #sprotty svg .processing.elk-resolver{fill:#78909c;stroke:#455a64}.dfv-container #sprotty svg .processing.elk-instantiator,.dfv-container #sprotty svg .processing.elk-table{fill:#9e9e9e;stroke:#757575}.dfv-info-container{position:absolute;background-color:rgba(35,35,35,.9);overflow:hidden;height:100%!important;width:320px;left:calc(100% - 320px);right:0;bottom:0;top:0;z-index:1001}.kd-is-app #dfv-container #sprotty{background-color:var(--app-darken-background-color);padding-left:16px}.kd-is-app .dfv-info-container{background-color:rgba(var(--app-rgb-background-color),.9)}.irm-container{padding:20px;width:60vw;overflow:hidden;position:relative}.irm-container h3,.irm-container h4,.irm-container h5,.irm-container p{margin:0;padding:0;color:#1ab}.irm-container h3,.irm-container p{margin-bottom:10px}.irm-container h3,.irm-container h4,.irm-container h5{line-height:1.4em}.irm-container h3{font-size:1.4em}.irm-container h4{font-size:1.2em}.irm-container h5{font-size:1em}.irm-container h4+p,.irm-container h5+p{color:#333;font-size:.8em;font-style:italic}.irm-container h5+p{padding-bottom:10px}.irm-container .q-tabs:not(.irm-tabs-hidden) .q-tabs-head,.irm-container h5+p{border-bottom:1px solid #1ab}.irm-container .q-tab:not(.irm-tabs-hidden){border-top-left-radius:5px;border-top-right-radius:5px;background-color:#1ab}.irm-container .q-tabs-position-top>.q-tabs-head .q-tabs-bar{border-bottom-width:10px;color:hsla(0,0%,100%,.3)}.irm-container .irm-fields-container{max-height:50vh;overflow:hidden;border:1px dotted #1ab;margin:10px 0}.irm-container .irm-fields-container .irm-fields-wrapper{padding:10px;overflow-x:hidden}.irm-container .irm-fields-container label{font-style:italic}.irm-container .irm-group{margin-bottom:30px}.irm-container .irm-buttons{position:absolute;bottom:0;right:0;margin:0 30px 10px 0}.irm-container .irm-buttons .q-btn{margin-left:10px}.scd-inactive-multiplier .q-input-target{color:#979797}#dmc-container.full-height{height:calc(100% - 86px)!important}#dmc-container #kt-out-container{height:100%;position:relative}#dmc-container #dmc-tree{-ms-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;-moz-user-select:-moz-none;-webkit-user-select:none;background-color:hsla(0,0%,46.7%,.65);overflow:hidden}#dmc-container #dmc-tree #klab-tree-pane{height:100%}#dmc-container #dmc-tree #oi-container{height:calc(100% - 24px);max-height:calc(100% - 24px)}#dmc-container #dmc-tree #oi-container #oi-metadata-map-wrapper{height:calc(100% - 24px)}#dmc-container #dmc-tree #oi-container #oi-metadata-map-wrapper.k-with-histogram{height:calc(100% - 200px)}#dmc-container.dmc-dragging{cursor:move!important}#dmc-container .kbc-container{margin:2px;padding:0;height:10px}#dmc-container .q-card-main.dmc-loading{background:-webkit-gradient(linear,left top,right top,from(#333),to(#999));background:linear-gradient(90deg,#333,#999);background-size:200% 100%;-webkit-animation:loading-gradient 4s linear infinite;animation:loading-gradient 4s linear infinite}#dmc-container .q-card-main.dmc-loading .ktp-loading{background:transparent;-webkit-animation:none;animation:none}#dmc-container details{background-color:#777;border-top:1px solid #333}#dmc-container details #ktp-main-tree-arrow{background-color:#333}#dmc-container details[open]{border-bottom:1px solid #333}#dmc-container .dmc-timeline .ot-container{padding:9px 0}#lm-container{width:100%;overflow:hidden}#lm-container #spinner-leftmenu-container{padding-top:10px;padding-bottom:20px}#lm-container #spinner-leftmenu-div{width:44px;height:44px;margin-top:10px;margin-left:auto;margin-right:auto;background-color:#fff;border-radius:40px;border:2px solid}#lm-container #lm-actions,#lm-container #lm-content{float:left;border-right:1px solid hsla(0,0%,52.9%,.2)}#lm-container #lm-actions.klab-lm-panel,#lm-container #lm-content.klab-lm-panel{background-color:rgba(35,35,35,.5)}#lm-container .lm-separator{width:90%;left:5%;height:2px;border-top:1px solid rgba(24,24,24,.5);border-bottom:1px solid #444;margin:0 auto}#lm-container .klab-button{display:block;font-size:30px;width:42px;height:42px;line-height:42px;vertical-align:middle;padding:0 5px;margin:15px auto}#lm-container .klab-main-actions .klab-button:hover{color:#1ab!important}#lm-container .klab-main-actions .klab-button:active{color:#fff}#lm-container .klab-button-notification{width:10px;height:10px;top:5px;right:5px}#lm-container .sb-scales{margin:0}#lm-container .sb-scales .lm-separator{width:60%;border-top-style:dashed;border-bottom-style:dashed}#lm-container #lm-bottom-menu{width:100%;position:fixed;bottom:0;left:0}.ol-box{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:2px;border:2px solid #00f}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:rgba(0,60,136,.3);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;text-align:center;margin:1px;will-change:contents,width}.ol-overlay-container{will-change:left,right,top,bottom}.ol-unsupported{display:none}.ol-unselectable,.ol-viewport{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:grab}.ol-control{position:absolute;background-color:hsla(0,0%,100%,.4);border-radius:4px;padding:2px}.ol-control:hover{background-color:hsla(0,0%,100%,.6)}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;-webkit-transition:opacity .25s linear,visibility 0s linear;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;-webkit-transition:opacity .25s linear,visibility 0s linear .25s;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}@media print{.ol-control{display:none}}.ol-control button{display:block;margin:1px;padding:0;color:#fff;font-size:1.14em;font-weight:700;text-decoration:none;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:rgba(0,60,136,.5);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;font-size:1.2em;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:focus,.ol-control button:hover{text-decoration:none;background-color:rgba(0,60,136,.7)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em)}.ol-attribution ul{margin:0;padding:0 .5em;font-size:.7rem;line-height:1.375em;color:#000;text-shadow:0 0 2px #fff}.ol-attribution li{display:inline;list-style:none;line-height:inherit}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button,.ol-attribution ul{display:inline-block}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:hsla(0,0%,100%,.8)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0;height:1.1em;line-height:1em}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:inline-block}.ol-overviewmap .ol-overviewmap-map{border:1px solid #7b98bc;height:150px;margin:2px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:1px;left:2px;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:hsla(0,0%,100%,.8)}.ol-overviewmap-box{border:2px dotted rgba(0,60,136,.7)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.kexplorer-container{background-color:#263238;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHUlEQVQIW2NgY2OzYUACYL6+vn4UsgAynwwBEB8ARuIGpsZxGOoAAAAASUVORK5CYII=)}.klab-spinner{display:inline;vertical-align:middle;background-color:#fff;border-radius:40px;padding:3px;margin:0}.kexplorer-undocking{position:fixed;left:0;top:0;background-color:rgba(35,35,35,.3);border:4px solid hsla(0,0%,52.9%,.6);-webkit-animation-duration:.2s;animation-duration:.2s;cursor:move}.klab-left{position:absolute;background-color:rgba(35,35,35,.8)}.klab-large-mode.no-scroll{overflow:visible!important}.kapp-container .kcv-alert .modal-backdrop{background-color:transparent}.kapp-container .q-input-target{color:var(--app-text-color);background-color:var(--app-background-color);line-height:var(--app-line-height);height:auto}.kapp-container .q-btn{min-height:var(--app-line-height)}.kapp-container .q-no-input-spinner{-moz-appearance:textfield!important}.kapp-container .q-no-input-spinner::-webkit-inner-spin-button,.kapp-container .q-no-input-spinner::-webkit-outer-spin-button{-webkit-appearance:auto}.kapp-container .q-if:after,.kapp-container .q-if:before{border-bottom-style:none}.kapp-container .q-if .q-if-inner{min-height:unset}.kapp-container .q-if-baseline{line-height:var(--app-line-height)}.kapp-container .q-field-bottom,.kapp-container .q-field-icon,.kapp-container .q-field-label,.kapp-container .q-if,.kapp-container .q-if-addon,.kapp-container .q-if-control,.kapp-container .q-if-label,.kapp-container .q-if:before{-webkit-transition:none;transition:none}.kcv-main-container+.kcv-group{padding-bottom:1px}.kcv-main-container>.kcv-group{height:100%!important;border-bottom:1px solid var(--app-main-color)}.kcv-main-container>.kcv-group>.kcv-group-container>.kcv-group-content>.kcv-group>.kcv-group-content{padding-bottom:0!important}.kcv-main-container>.kcv-group .kcv-group-container{height:100%!important}.kcv-main-container>.kcv-group .kcv-group-container .kcv-group-content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:center;align-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%!important}.kcv-main-container>.kcv-group .kcv-group-container .kcv-group-content .kcv-group:not(.kcv-wrapper)>.kcv-group-content{padding-bottom:var(--app-smaller-mp);-ms-flex-pack:distribute;justify-content:space-around}.kcv-main-container>.kcv-group .kcv-group-container .kcv-group-content .kcv-group:not(.kcv-wrapper)>.kcv-group-content .kcv-group{padding:calc(var(--app-smaller-mp)/4) 0}.kcv-main-container>.kcv-group .kcv-group-container .kcv-group-content .kcv-group:not(.kcv-wrapper)>.kcv-group-content .kcv-pushbutton{margin:var(--app-large-mp) 0}.kcv-main-container>.kcv-group .kcv-group-container .kcv-group-content .kcv-group-legend{color:var(--app-title-color);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2em;vertical-align:center;font-weight:300;font-size:1.2em}.kcv-main-container>.kcv-group .kcv-group-bottom{position:fixed;bottom:0;z-index:1000;background-color:var(--app-background-color);border-top:1px solid var(--app-main-color)}.kcv-collapsible .kcv-collapsible-header{background-color:var(--app-background-color);color:var(--app-title-color);border-bottom:1px solid var(--app-darken-background-color)}.kcv-collapsible .kcv-collapsible-header .q-item-side-left{min-width:0}.kcv-collapsible .kcv-collapsible-header .q-item-side-left .q-icon{font-size:1.2em;width:1.2em}.kcv-collapsible .kcv-collapsible-header .q-item-label{font-size:var(--app-font-size)}.kcv-collapsible .kcv-collapsible-header .q-item-side{color:var(--app-title-color)}.kcv-collapsible .kcv-collapsible-header .q-item-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.kcv-collapsible .kcv-collapsible-header .q-item-icon.rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.kcv-collapsible .q-item{min-height:unset;padding:var(--app-small-mp)}.kcv-collapsible .q-collapsible-sub-item{padding:0}.kcv-collapsible .q-collapsible-sub-item>.kcv-group{border-top:1px solid var(--app-main-color);border-bottom:1px solid var(--app-main-color)}.kcv-tree-container{padding:var(--app-small-mp) 0;position:relative;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.kcv-tree-container .kcv-tree-legend{color:var(--app-title-color);padding:var(--app-small-mp);margin:0 var(--app-small-mp);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kcv-hr-separator{width:100%;color:var(--app-main-color);height:1px}.kcv-separator{padding:var(--app-large-mp) var(--app-small-mp);position:relative;border-bottom:1px solid var(--app-main-color);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;line-height:1.2em}.kcv-separator .kcv-separator-icon{margin-right:var(--app-small-mp);font-size:1.2em;width:1.2em}.kcv-separator .kcv-separator-title{font-weight:300;font-size:1.2em;-webkit-box-flex:10;-ms-flex-positive:10;flex-grow:10}.kcv-separator .kcv-separator-right{font-size:1.3em;width:1.2em;-ms-flex-item-align:start;align-self:flex-start;cursor:pointer}.kcv-label{font-weight:400;color:var(--app-main-color);vertical-align:middle;line-height:calc(var(--app-line-height) + 4px);-ms-flex-item-align:center;align-self:center;padding:var(--app-smaller-mp) var(--app-small-mp)}.kcv-label.kcv-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.kcv-label.kcv-with-icon{min-width:calc(1rem + var(--app-small-mp)*2)}.kcv-label .kcv-label-icon{margin-right:var(--app-small-mp)}.kcv-label.kcv-title{color:var(--app-alt-color);font-weight:700;cursor:default;margin-top:var(--app-smaller-mp)}.kcv-label.kcv-clickable{cursor:pointer}.kcv-text{margin:var(--app-large-mp) var(--app-small-mp);text-align:justify;position:relative;color:var(--app-text-color)}.kcv-text .kcv-internal-text{overflow:hidden}.kcv-text .kcv-internal-text p{padding:0 var(--app-small-mp);margin-bottom:var(--app-large-mp)}.kcv-text .kcv-internal-text strong{color:var(--app-title-color)}.kcv-text .kcv-collapse-button{width:100%;position:absolute;bottom:0;left:0;text-align:center;vertical-align:middle;line-height:20px;opacity:0;-webkit-transition:opacity .3s;transition:opacity .3s;cursor:pointer;background-color:rgba(var(--app-rgb-main-color),.1);border-bottom-left-radius:4px;border-bottom-right-radius:4px}.kcv-text:hover .kcv-collapse-button{opacity:1}.kcv-text.kcv-collapse{margin-bottom:1em}.kcv-text.kcv-collapsed{padding-top:0;height:20px!important;overflow:hidden;padding-bottom:14px}.kcv-text.kcv-collapsed .kcv-internal-text{display:none}.kcv-text.kcv-collapsed .kcv-collapse-button{opacity:1;border-radius:4px}.kcv-form-element{margin:0 var(--app-small-mp)}.kcv-form-element:not(.kcv-roundbutton){border-radius:6px}.kcv-text-input{min-height:var(--app-line-height);vertical-align:middle;border:1px solid var(--app-main-color);background-color:var(--app-background-color);padding:var(--app-smaller-mp) var(--app-small-mp)}.kcv-text-input.kcv-search{margin-top:var(--app-smaller-mp)}.kcv-combo{padding:2px 10px;background-color:var(--app-background-color);border-radius:6px;border:1px solid var(--app-main-color)}.kcv-combo-option{color:var(--app-main-color);min-height:unset;padding:var(--app-small-mp) var(--app-large-mp)}.kcv-pushbutton{font-size:var(--app-font-size);margin:0 var(--app-small-mp)}.kcv-pushbutton .q-icon{color:var(--button-icon-color)}.kcv-reset-button,.kcv-roundbutton{margin:0 var(--app-smaller-mp)}.kcv-checkbutton{display:block;padding:var(--app-smaller-mp) var(--app-small-mp)}.kcv-checkbutton:not(.kcv-check-only){width:100%}.kcv-checkbutton.kcv-check-computing span,.kcv-checkbutton.kcv-check-waiting span{font-style:italic}.kcv-checkbutton.kcv-check-computing .q-icon:before,.kcv-checkbutton.kcv-check-waiting .q-icon:before{font-size:calc(1em + 1px);-webkit-animation:q-spin 2s linear infinite;animation:q-spin 2s linear infinite}.kcv-label-toggle{color:var(--app-darken-background-color);text-shadow:-1px -1px 0 var(--app-main-color)}.kcv-error-tooltip{background-color:var(--app-negative-color)}.kcv-browser{border-radius:8px}.kcv-style-dark .kcv-reset-button{color:#fa7575!important}@-webkit-keyframes flash-button{50%{background-color:var(--flash-color)}}@keyframes flash-button{50%{background-color:var(--flash-color)}}body .klab-main-app{position:relative}body .km-modal-window{background-color:var(--app-background-color)}body .km-modal-window iframe{background-color:#fff}body .kapp-footer-container,body .kapp-header-container,body .kapp-left-inner-container,body .kapp-main-container:not(.is-kexplorer),body .kapp-right-inner-container{color:var(--app-text-color);font-family:var(--app-font-family);font-size:var(--app-font-size);line-height:var(--app-line-height);background-color:var(--app-background-color);padding:0;margin:0}body .kapp-right-inner-container{position:absolute!important}body .kapp-right-inner-container .kapp-right-wrapper{overflow:hidden}body .kapp-left-inner-container{position:absolute!important}body .kapp-left-inner-container .kapp-left-wrapper{overflow:hidden}.kapp-main.q-layout{border:0;padding:0;margin:0}.kapp-main .simplebar-scrollbar:before{background-color:var(--app-main-color)}.kapp-header{background-color:var(--app-background-color);padding:0;margin:0;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;height:calc(40px + var(--app-title-size) + var(--app-subtitle-size));min-height:calc(40px + var(--app-title-size) + var(--app-subtitle-size))}.kapp-header .kapp-logo-container{-ms-flex-item-align:center;align-self:center;margin:0 10px}.kapp-header .kapp-logo-container img{max-width:80px;max-height:80px}.kapp-header .kapp-title-container{color:var(--app-title-color);-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:center;align-self:center;padding-left:10px}.kapp-header .kapp-title-container .kapp-title{height:var(--app-title-size);line-height:var(--app-title-size);font-weight:500;font-size:var(--app-title-size);margin-bottom:6px}.kapp-header .kapp-title-container .kapp-version{display:inline-block;font-weight:300;font-size:var(--app-subtitle-size);margin-left:16px;position:relative;bottom:3px;padding:0 4px;opacity:.5;border:1px solid var(--app-main-color)}.kapp-header .kapp-title-container .kapp-subtitle{height:var(--app-subtitle-size);line-height:var(--app-subtitle-size);font-size:var(--app-subtitle-size);font-weight:300}.kapp-header .kapp-header-menu-container{position:absolute;right:0;padding:10px 16px}.kapp-header .kapp-header-menu-container .kapp-header-menu-item{margin:0 0 0 16px;color:var(--app-title-color);cursor:pointer}.kapp-header .kapp-actions-container .klab-main-actions{margin:0 1px 0 0;min-width:178px}.kapp-header .kapp-actions-container .klab-main-actions .klab-button{width:60px;height:45px;font-size:26px;margin:0 -1px 0 0;text-align:center;padding:10px 0;border-top-left-radius:4px!important;border-top-right-radius:4px!important;border:1px solid var(--app-main-color);border-bottom:0;text-shadow:0 1px 2px var(--app-lighten-background-color);color:var(--app-main-color)!important;position:relative;bottom:-1px}.kapp-header .kapp-actions-container .klab-main-actions .klab-button.active{background-color:var(--app-darken-background-color)}.kapp-header .kapp-actions-container .klab-main-actions .klab-button:hover:not(.active){background-color:var(--app-darken-background-color);border-bottom:1px solid var(--app-main-color)}.kapp-header .kapp-actions-container .klab-main-actions .klab-button-notification{width:11px;height:11px;border-radius:10px;top:5px;right:11px;background-color:var(--app-main-color)!important;border:1px solid var(--app-background-color)}.kcv-dir-vertical{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%!important}.klab-close-app{position:absolute;z-index:100000}.klab-close-app.klab-close-app-on-left,.klab-close-app.klab-close-app-on-panel{height:32px;width:32px;opacity:.2}.klab-close-app.klab-close-app-on-left .q-icon,.klab-close-app.klab-close-app-on-panel .q-icon{font-size:16px}.klab-close-app.klab-close-app-on-left:hover,.klab-close-app.klab-close-app-on-panel:hover{height:50px;width:50px;opacity:1}.klab-close-app.klab-close-app-on-left:hover .q-icon,.klab-close-app.klab-close-app-on-panel:hover .q-icon{font-size:22px}.klab-close-app.klab-close-app-on-left:hover{-webkit-transform:translate(-22px);transform:translate(-22px)}.klab-close-app.klab-close-app-on-panel{background-color:var(--app-main-color);color:var(--app-background-color)}.klab-link .klab-external-link{color:var(--app-text-color);font-weight:700;display:inline;margin:0 0 0 3px}.kapp-loading{background-color:var(--app-background-color);padding:16px;text-align:center;min-width:60px;border-radius:20px}.kapp-loading div{margin-top:15px;color:var(--app-main-color)}.km-main-container .km-title{background-color:var(--app-background-color)!important;color:var(--app-main-color)!important}.km-main-container .km-title .q-toolbar-title{font-size:var(--app-modal-title-size)}.km-main-container .km-title .km-subtitle{font-size:var(--app-modal-subtitle-size)}.km-main-container .km-content{overflow:hidden;border-radius:8px;border:1px solid var(--app-main-color);margin:16px 16px 0;padding:8px;background-color:var(--app-background-color)}.km-main-container .km-content .kcv-main-container>.kcv-group{border:none}.km-main-container .km-buttons{margin:8px 16px}.km-main-container .km-buttons .klab-button{font-size:16px;background-color:var(--app-main-color);color:var(--app-background-color)!important}.ks-stack-container{position:relative;height:calc(100% - 30px);margin:30px 20px 0}.ks-stack-container .ks-layer{position:absolute;top:0;left:0;bottom:90px;right:0;opacity:0;-webkit-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out;overflow:hidden}.ks-stack-container .ks-layer.ks-top-layer{z-index:999!important;opacity:1}.ks-stack-container li{padding-bottom:10px}.ks-stack-container .ks-layer-caption{position:absolute;padding:12px;width:auto;height:auto;color:#616161;max-height:100%;overflow:auto}.ks-stack-container .ks-layer-caption .ks-caption-title{font-size:24px;letter-spacing:normal;margin:0;text-align:center}.ks-stack-container .ks-layer-caption .ks-caption-text{font-size:16px}.ks-stack-container .ks-layer-image{position:absolute;overflow:hidden}.ks-stack-container .ks-layer-image img{width:auto;height:auto}.ks-stack-container .ks-middle{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ks-stack-container .ks-middle.ks-center{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ks-stack-container .ks-center{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.ks-stack-container .ks-center:not(.ks-layer-image){width:100%}.ks-stack-container .ks-top{top:0}.ks-stack-container .ks-bottom{bottom:0}.ks-stack-container .ks-left{left:0}.ks-stack-container .ks-right{right:0}.ks-stack-container .ks-navigation{width:100%;text-align:center;position:absolute;bottom:50px;right:0;z-index:10000;vertical-align:middle;-webkit-transition:opacity .3s;transition:opacity .3s;height:40px;border-bottom:1px solid #eee}.ks-stack-container .ks-navigation.ks-navigation-transparent{opacity:.6}.ks-stack-container .ks-navigation:hover{opacity:1}@media (min-width:1600px){.ks-stack-container .ks-caption-title{font-size:32px!important;margin:0 0 1em!important}.ks-stack-container .ks-caption-text{font-size:18px!important}}.klab-modal-container .klab-modal-inner .kp-no-presentation{font-weight:700;position:relative}.klab-modal-container .klab-modal-inner .kp-no-presentation .kp-refresh-btn{position:relative}.klab-modal-container .klab-modal-inner .kp-no-presentation .klab-small{font-size:smaller}.klab-modal-container .kp-help-titlebar{position:absolute;width:100%;height:25px;padding:8px 0 0 20px;z-index:100000}.klab-modal-container .kp-help-titlebar .kp-link{font-size:11px;color:#616161;cursor:pointer;float:left;padding:0 10px 0 0}.klab-modal-container .kp-help-titlebar .kp-link:hover:not(.kp-link-current){text-decoration:underline;color:#1ab}.klab-modal-container .kp-help-titlebar .kp-link-current{cursor:default;text-decoration:underline}.klab-modal-container .kp-carousel .kp-slide{padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.klab-modal-container .kp-carousel .kp-main-content{-webkit-box-flex:1;-ms-flex:auto;flex:auto}.klab-modal-container .kp-carousel .kp-main-content .kp-main-image{text-align:center;background-repeat:no-repeat;background-size:contain;background-position:50%;height:calc(100% - 40px)}.klab-modal-container .kp-main-title,.klab-modal-container .kp-nav-tooltip{position:absolute;bottom:0;vertical-align:middle;font-size:20px;line-height:50px;height:50px;text-align:center;width:80%;margin-left:10%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.klab-modal-container .kp-nav-tooltip{-webkit-transition:opacity .3s;transition:opacity .3s;opacity:0}.klab-modal-container .kp-nav-tooltip.visible{opacity:1}.klab-modal-container .kp-navigation{position:absolute;bottom:0;padding:10px 10px 10px 15px;vertical-align:middle}.klab-modal-container .kp-navigation .kp-navnumber-container{padding-left:3px;position:relative;float:left}.klab-modal-container .kp-navigation .kp-navnumber-container:hover .kp-nav-current,.klab-modal-container .kp-navigation .kp-navnumber-container:hover .kp-nav-number{opacity:1;background-color:rgba(97,97,97,.7)}.klab-modal-container .kp-navigation .kp-nav-number{height:30px;width:30px;line-height:30px;vertical-align:middle;color:#fff;text-align:center;padding:0;cursor:pointer;border-radius:20px;background-color:rgba(97,97,97,.4);opacity:.7;z-index:10000}.klab-modal-container .kp-navigation .kp-nav-number.kp-nav-current,.klab-modal-container .kp-navigation .kp-nav-number:hover{opacity:1;background-color:rgba(97,97,97,.7)}.klab-modal-container .internal-link{cursor:pointer}.klab-modal-container .internal-link:hover{color:#ffc300}.klab-modal-container .kp-icon-close-popover,.klab-modal-container .kp-icon-refresh-size{position:absolute;top:1px;right:2px;width:22px;height:22px;z-index:200000}.klab-modal-container .kp-icon-close-popover .q-focus-helper,.klab-modal-container .kp-icon-refresh-size .q-focus-helper{opacity:0}.klab-modal-container .kp-icon-close-popover:hover .mdi-close-circle-outline:before,.klab-modal-container .kp-icon-refresh-size:hover .mdi-close-circle-outline:before{content:"\F0159"}.klab-modal-container .kp-icon-refresh-size{right:24px}.klab-modal-container .kp-icon-refresh-size:hover{color:#1ab!important}.klab-modal-container .kp-checkbox{position:absolute;right:20px;bottom:10px;font-size:10px}.kn-modal-container .modal-content{max-width:640px!important}.kn-title{font-size:var(--app-title-size);color:var(--app-title-color)}.kn-content{font-size:var(--app-text-size)}.kn-checkbox,.kn-content{color:var(--app-text-color)}.kn-checkbox{position:absolute;left:20px;bottom:16px;font-size:10px}[data-simplebar]{position:relative;z-index:0;overflow:hidden!important;max-height:inherit;-webkit-overflow-scrolling:touch}[data-simplebar=init]{display:-webkit-box;display:-ms-flexbox;display:flex}[data-simplebar] .simplebar-content,[data-simplebar] .simplebar-scroll-content{overflow:hidden}[data-simplebar=init] .simplebar-content,[data-simplebar=init] .simplebar-scroll-content{overflow:scroll}.simplebar-scroll-content{overflow-x:hidden!important;min-width:100%!important;max-height:inherit!important;-webkit-box-sizing:content-box!important;box-sizing:content-box!important}.simplebar-content{overflow-y:hidden!important;-webkit-box-sizing:border-box!important;box-sizing:border-box!important;min-height:100%!important}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;width:11px;pointer-events:none}.simplebar-scrollbar{position:absolute;right:2px;width:7px;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:0;right:0;opacity:0;-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.simplebar-track .simplebar-scrollbar.visible:before{opacity:.5;-webkit-transition:opacity 0 linear;transition:opacity 0 linear}.simplebar-track.vertical{top:0}.simplebar-track.vertical .simplebar-scrollbar:before{top:2px;bottom:2px}.simplebar-track.horizontal{left:0;width:auto;height:11px}.simplebar-track.horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px}.horizontal.simplebar-track .simplebar-scrollbar{right:auto;left:0;top:2px;height:7px;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track{right:auto;left:0}[data-simplebar-direction=rtl] .simplebar-track.horizontal{right:0}:root{--main-control-max-height:90vh;--q-tree-no-child-min-height:32px;--app-main-color:#005c81;--app-highlight-main-color:#0077a7;--app-rgb-main-color:0,92,129;--app-background-color:#fafafa;--app-darken-background-color:#ededed;--app-darklight-background-color:#ededed;--app-lighten-background-color:#fafafa;--app-highlight-background-color:#fbfbfb;--app-rgb-background-color:250,250,250;--app-text-color:#005c81;--app-control-text-color:#005c81;--app-link-color:#73937e;--app-link-visited-color:#73937e;--app-highlight-text-color:#0077a7;--app-title-color:#005c81;--app-alt-color:#00a4a1;--app-alt-background:#dedede;--app-rgb-text-color:0,92,129;--app-waiting-color:#f2c037;--app-positive-color:#19a019;--app-negative-color:#db2828;--app-font-family:"Roboto","-apple-system","Helvetica Neue",Helvetica,Arial,sans-serif;--app-font-size:1em;--app-title-size:26px;--app-subtitle-size:16px;--app-small-size:0.9em;--app-modal-title-size:22px;--app-modal-subtitle-size:12px;--app-line-height:1em;--app-small-mp:8px;--app-smaller-mp:calc(var(--app-small-mp)/2);--app-large-mp:16px;--body-min-width:640px;--body-min-height:480px}.klab-wait-app{min-width:50px}.klab-wait-app .klab-wait-app-container{text-align:center;width:100%;font-weight:300;font-size:1.5em;padding:20px}.klab-wait-app .klab-wait-app-container p{margin-bottom:0}.klab-wait-app .klab-wait-app-container strong{color:#1ab}.klab-wait-app .klab-wait-app-container .q-spinner{margin-bottom:16px}.klab-wait-app .klab-wait-app-container .klab-app-error,.klab-wait-app .klab-wait-app-container .klab-app-error strong{color:#ff6464}.klab-wait-app .klab-wait-app-container a.klab-app-refresh{display:block;color:#1ab;padding:8px 0 0;text-decoration:none}.klab-wait-app .klab-wait-app-container a.klab-app-refresh:after{content:"\F0450";display:inline-block;font-family:Material Design Icons;margin:2px 0 0 8px;vertical-align:bottom;-webkit-transition:.6s;transition:.6s}.klab-wait-app .klab-wait-app-container a.klab-app-refresh:hover:after{-webkit-transform:rotate(1turn);transform:rotate(1turn)} \ No newline at end of file diff --git a/klab.engine/src/main/resources/static/ui/css/74fd8965.7c485e34.css b/klab.engine/src/main/resources/static/ui/css/74fd8965.7c485e34.css deleted file mode 100644 index bb9516200..000000000 --- a/klab.engine/src/main/resources/static/ui/css/74fd8965.7c485e34.css +++ /dev/null @@ -1 +0,0 @@ -[data-v-b602390c]:root{--main-control-max-height:90vh;--q-tree-no-child-min-height:32px;--app-main-color:#005c81;--app-highlight-main-color:#0077a7;--app-rgb-main-color:0,92,129;--app-background-color:#fafafa;--app-darken-background-color:#ededed;--app-darklight-background-color:#ededed;--app-lighten-background-color:#fafafa;--app-highlight-background-color:#fbfbfb;--app-rgb-background-color:250,250,250;--app-text-color:#005c81;--app-control-text-color:#005c81;--app-link-color:#73937e;--app-link-visited-color:#73937e;--app-highlight-text-color:#0077a7;--app-title-color:#005c81;--app-alt-color:#00a4a1;--app-alt-background:#dedede;--app-rgb-text-color:0,92,129;--app-waiting-color:#f2c037;--app-positive-color:#19a019;--app-negative-color:#db2828;--app-font-family:"Roboto","-apple-system","Helvetica Neue",Helvetica,Arial,sans-serif;--app-font-size:1em;--app-title-size:26px;--app-subtitle-size:16px;--app-small-size:0.9em;--app-modal-title-size:22px;--app-modal-subtitle-size:12px;--app-line-height:1em;--app-small-mp:8px;--app-smaller-mp:calc(var(--app-small-mp)/2);--app-large-mp:16px;--body-min-width:640px;--body-min-height:480px}.spinner-circle[data-v-b602390c]{fill:#da1f26;-webkit-transform:rotate(6deg);transform:rotate(6deg)}.spinner-circle.moving[data-v-b602390c]{-webkit-animation:spin-data-v-b602390c 2s cubic-bezier(.445,.05,.55,.95) infinite;animation:spin-data-v-b602390c 2s cubic-bezier(.445,.05,.55,.95) infinite;-webkit-animation-delay:.4s;animation-delay:.4s}@-webkit-keyframes spin-data-v-b602390c{0%{-webkit-transform:rotate(6deg);transform:rotate(6deg)}80%{-webkit-transform:rotate(366deg);transform:rotate(366deg)}to{-webkit-transform:rotate(366deg);transform:rotate(366deg)}}@keyframes spin-data-v-b602390c{0%{-webkit-transform:rotate(6deg);transform:rotate(6deg)}80%{-webkit-transform:rotate(366deg);transform:rotate(366deg)}to{-webkit-transform:rotate(366deg);transform:rotate(366deg)}}#modal-connection-status.fullscreen{z-index:10000}#modal-connection-status .modal-borders{border-radius:40px}#modal-connection-status #modal-spinner{margin-right:10px;margin-left:1px}#modal-connection-status .modal-klab-content>span{display:inline-block;line-height:100%;vertical-align:middle;margin-right:15px}#modal-connection-status .modal-content{min-width:200px}.klab-settings-container{background-color:var(--app-background-color)!important}.klab-settings-container .klab-settings-button{position:fixed;bottom:28px;right:26px;opacity:.2}.klab-settings-container .klab-settings-button:hover{opacity:1}.klab-settings-container .klab-settings-button:hover .q-btn-fab{height:56px;width:56px}.klab-settings-container .klab-settings-button:hover .q-btn-fab .q-icon{font-size:28px}.klab-settings-container .klab-settings-button.klab-df-info-open{right:346px}.klab-settings-container .klab-settings-button .q-btn-fab{height:42px;width:42px}.klab-settings-container .klab-settings-button .q-btn-fab .q-icon{font-size:21px}.klab-settings-container .klab-settings-button .q-btn-fab-mini{height:24px;width:24px}.klab-settings-container .klab-settings-button .q-btn-fab-mini .q-icon{font-size:12px}.klab-settings-container .klab-settings-button.klab-fab-open{opacity:1}.klab-settings-container .klab-settings-button.klab-fab-open .q-btn-fab{height:56px;width:56px}.klab-settings-container .klab-settings-button.klab-fab-open .q-btn-fab .q-icon{font-size:28px}.klab-settings-container .klab-settings-button.klab-fab-open .q-btn-fab-mini{height:48px;width:48px}.klab-settings-container .klab-settings-button.klab-fab-open .q-btn-fab-mini .q-icon{font-size:24px}.klab-settings-container .q-fab-up{bottom:100%;padding-bottom:10%}.ks-container{background-color:var(--app-background-color);padding:15px 20px;border-radius:5px;width:500px}.ks-container .ks-title{font-size:1.3em;color:var(--app-title-color);font-weight:400;margin-bottom:10px}.ks-container .ks-title .ks-title-text{display:inline-block}.ks-container .ks-title .ks-reload-button{display:inline-block;padding-left:10px;opacity:.3}.ks-container .ks-title .ks-reload-button:hover{opacity:1}.ks-container .ks-debug,.ks-container .ks-term{position:absolute;top:8px}.ks-container .ks-debug{right:46px}.ks-container .ks-term{right:16px}.ks-container .kud-owner{border:1px solid var(--app-main-color);border-radius:5px;padding:20px}.ks-container .kud-owner .kud-label{display:inline-block;width:100px;line-height:2.5em;vertical-align:middle;color:var(--app-title-color)}.ks-container .kud-owner .kud-value{display:inline-block;line-height:30px;vertical-align:middle;color:var(--app-text-color)}.ks-container .kud-owner .kud-value.kud-group{padding-right:10px}.ks-container .kal-apps .kal-app{margin-bottom:16px}.ks-container .kal-apps .kal-app .kal-app-description{display:-webkit-box;display:-ms-flexbox;display:flex;padding:8px 16px;border-radius:6px 16px 6px 16px;border:1px solid transparent;border-color:var(--app-lighten75-main-color)}.ks-container .kal-apps .kal-app .kal-app-description:not(.kal-active){cursor:pointer}.ks-container .kal-apps .kal-app .kal-app-description.kal-active{border-color:var(--app-darken-main-color)}.ks-container .kal-apps .kal-app .kal-app-description:hover{background-color:var(--app-lighten75-main-color)}.ks-container .kal-apps .kal-app .kal-app-description .kal-logo{-ms-flex-item-align:start;align-self:start;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50px;height:50px;margin:0 16px 0 0}.ks-container .kal-apps .kal-app .kal-app-description .kal-logo img{display:block;max-width:50px;max-height:50px;vertical-align:middle}.ks-container .kal-apps .kal-app .kal-app-description .kal-info{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.ks-container .kal-apps .kal-app .kal-app-description .kal-info .kal-name{color:var(--app-title-color);font-weight:400}.ks-container .kal-apps .kal-app .kal-app-description .kal-info .kal-description{color:var(--app-text-color);font-size:80%}.ks-container .kal-apps .kal-locales span{display:inline-block;padding-left:2px}.ks-container .kal-apps .kal-locales span.flag-icon{font-size:90%}.ks-container .kal-apps .kal-locales .kal-lang-selector{height:32px;font-size:90%;padding:0 4px;border-radius:4px}.ks-container .kal-apps .kal-locales .kal-lang-selector .q-input-target{color:var(--app-main-color)}.kud-group-detail,.kud-group-id{text-align:center}.kud-group-detail{font-style:italic}.kud-no-group-icon{background-color:var(--app-title-color);text-align:center;color:var(--app-background-color);padding:2px 0 0;cursor:default;border-radius:15px}.kud-img-logo,.kud-no-group-icon{width:30px;height:30px;line-height:30px}.kud-img-logo{display:inline-block;vertical-align:middle}.klab-setting-tooltip{background-color:var(--app-main-color)}.kal-locale-options{color:var(--app-main-color);font-size:90%}.kal-locale-options .q-item-side{color:var(--app-main-color);min-width:0}.xterm{position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm{cursor:text}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:.5}.xterm-underline{text-decoration:underline}.xterm-strikethrough{text-decoration:line-through}.kterm-container{z-index:4999}.kterm-container .kterm-header{border-top-right-radius:8px;border-top-left-radius:8px;height:30px;border-top:1px solid hsla(0,0%,100%,.5);border-left:1px solid hsla(0,0%,100%,.5);border-right:1px solid hsla(0,0%,100%,.5);cursor:move;opacity:.9;z-index:5001}.kterm-container .kterm-header .kterm-button{position:absolute}.kterm-container .kterm-header .kterm-close{top:0;right:0}.kterm-container .kterm-header .kterm-minimize{top:0;right:30px}.kterm-container .kterm-header .kterm-drag{top:0;right:60px}.kterm-container .kterm-header .kterm-delete-history{top:0;right:90px}.kterm-container.kterm-minimized{width:90px;position:absolute;bottom:25px;left:25px;top:unset}.kterm-container.kterm-minimized .kterm-header{border-bottom-left-radius:10px;border-bottom-right-radius:10px;border:none}.kterm-container.kterm-focused{z-index:5000}.kterm-container .kterm-terminal{border:1px solid hsla(0,0%,100%,.5)}.kterm-tooltip{background-color:var(--app-main-color)!important}.kaa-container{background-color:hsla(0,0%,99.2%,.8);padding:15px;border-radius:5px}.kaa-container .kaa-content{border:1px solid var(--app-main-color);border-radius:5px;padding:20px;color:var(--app-title-color)}.kaa-container .kaa-button{margin:10px 0 0;width:100%;text-align:right}.kaa-container .kaa-button .q-btn{margin-left:10px}.klab-destructive-actions .klab-button{color:#ff6464!important}#ks-container{overflow-x:hidden;overflow-y:hidden;white-space:nowrap}#ks-container #ks-internal-container{float:left}.ks-tokens{display:inline-block;margin-right:-3px;padding:0 3px}.ks-tokens-accepted{font-weight:600}.ks-tokens.selected{outline:none}.bg-semantic-elements{border-radius:4px;border-style:solid;border-width:2px}.q-tooltip{max-width:512px}.q-popover{max-width:512px!important;border-radius:10px}#ks-autocomplete{scrollbar-color:#e5e5e5 transparent;scrollbar-width:thin}#ks-autocomplete .q-item.text-faded{color:#333}#ks-autocomplete .q-item.ka-separator{padding:8px 16px 5px;min-height:0;font-size:.8em;border-bottom:1px solid #e0e0e0}#ks-autocomplete .q-item.ka-separator.q-select-highlight{background-color:transparent}#ks-autocomplete .q-item:not(.text-faded):active{background:hsla(0,0%,74.1%,.5)}#ks-autocomplete::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}#ks-autocomplete::-webkit-scrollbar{width:6px;background-color:transparent}#ks-autocomplete::-webkit-scrollbar-thumb{border-radius:10px;width:5px;background-color:#e5e5e5}.ks-tokens-fuzzy{width:100%}.ks-tokens-klab{width:256px}#ks-search-input{background-color:transparent}.ks-search-focused{padding:0;border-radius:4px;background-color:#e4fdff}.ks-search-focused,.ks-search-focused.ks-fuzzy{-webkit-transition:background-color .8s;transition:background-color .8s}.ks-search-focused.ks-fuzzy{background-color:#e7ffdb}#ks-autocomplete .q-item-side.q-item-section.q-item-side-left{-ms-flex-item-align:start;align-self:start}#ks-autocomplete .q-item-sublabel{font-size:80%}#ks-autocomplete .text-faded .q-item-section{font-size:1rem}.kl-model-desc-container{width:400px;background-color:#fff;color:#616161;border:1px solid #e0e0e0;padding:10px}.kl-model-desc-container .kl-model-desc-title{float:left;padding:5px 0;font-size:larger;margin-bottom:5px}.kl-model-desc-container .kl-model-desc-state{float:right;display:inline-block;padding:4px;border-radius:4px;color:#fff}.kl-model-desc-container .kl-model-desc-content{padding:10px 0;clear:both;border-top:1px solid #e0e0e0}.st-container.marquee.hover-active:hover .st-text{-webkit-animation:klab-marquee linear infinite alternate;animation:klab-marquee linear infinite alternate}.st-container.marquee.hover-active:hover .st-edges{opacity:inherit}.st-container.marquee.hover-active:not(:hover) .st-text{left:0!important;width:100%;text-overflow:ellipsis}.st-container.marquee:not(.hover-active) .st-text{-webkit-animation:klab-marquee linear infinite alternate;animation:klab-marquee linear infinite alternate}.st-container.marquee:not(.hover-active) .st-edges{opacity:inherit}.st-container.marquee:not(.hover-active):hover .st-text{-webkit-animation-play-state:paused;animation-play-state:paused}.st-container.marquee:not(.hover-active):hover:not(.active) .st-accentuate{color:rgba(0,0,0,.8);cursor:default}.st-container.marquee .st-text{position:relative;display:inline-block;overflow:hidden}.st-placeholder{color:#777;opacity:.6}.st-edges{left:-5px;right:0;top:0;bottom:0;position:absolute;height:100%;opacity:0;-webkit-mask-image:-webkit-gradient(linear,left top,right top,from(#000),to(transparent)),-webkit-gradient(linear,right top,left top,from(#000),to(transparent));-webkit-mask-image:linear-gradient(90deg,#000,transparent),linear-gradient(270deg,#000,transparent);mask-image:-webkit-gradient(linear,left top,right top,from(#000),to(transparent)),-webkit-gradient(linear,right top,left top,from(#000),to(transparent));mask-image:linear-gradient(90deg,#000,transparent),linear-gradient(270deg,#000,transparent);-webkit-mask-size:5% 100%;mask-size:5% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:left center,right center;mask-position:left center,right center;-webkit-transition:background-color .8s,opacity .8s;transition:background-color .8s,opacity .8s}@-webkit-keyframes klab-marquee{0%{left:0}}@keyframes klab-marquee{0%{left:0}}.sr-container{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.sr-container.sr-light{color:#333;text-shadow:0 0 1px #ccc}.sr-container.sr-light .sr-spacescale{background-color:#333;color:#ccc}.sr-container.sr-dark{color:#ccc;text-shadow:0 0 1px #333}.sr-container.sr-dark .sr-spacescale{background-color:#ccc;color:#333}.sr-container .sr-editables{display:inline}.sr-container .sr-editables .klab-item{text-align:center}.sr-container .sr-no-scalereference .sr-scaletype,.sr-container .sr-scalereference .sr-scaletype{width:30px}.sr-container .sr-no-scalereference .sr-scaletype span,.sr-container .sr-scalereference .sr-scaletype span{display:block;height:24px;line-height:24px}.sr-container .sr-no-scalereference .sr-locked,.sr-container .sr-scalereference .sr-locked{width:30px}.sr-container .sr-no-scalereference .sr-locked,.sr-container .sr-no-scalereference .sr-scaletype,.sr-container .sr-scalereference .sr-locked,.sr-container .sr-scalereference .sr-scaletype{text-align:center;font-size:12px}.sr-container .sr-no-scalereference .sr-locked.sr-icon,.sr-container .sr-no-scalereference .sr-scaletype.sr-icon,.sr-container .sr-scalereference .sr-locked.sr-icon,.sr-container .sr-scalereference .sr-scaletype.sr-icon{font-size:20px}.sr-container .sr-no-scalereference .sr-description,.sr-container .sr-scalereference .sr-description{font-size:12px;width:calc(100% - 60px)}.sr-container .sr-no-scalereference .sr-spacescale,.sr-container .sr-scalereference .sr-spacescale{font-size:10px;height:20px;line-height:20px;width:20px;border-radius:10px;text-align:center;padding:0;display:inline-block;margin:0 5px}.sr-container .sr-no-scalereference.sr-full .sr-description,.sr-container .sr-scalereference.sr-full .sr-description{width:calc(100% - 90px)}.sr-container.sr-vertical{margin:5px 0}.sr-container.sr-vertical .klab-item{float:left;width:100%;margin:5px 0}.sr-container.sr-vertical .sr-spacescale{width:20px;margin-left:calc(50% - 10px)}.modal-scroll{overflow:hidden;max-height:600px}.mdi-lock-outline{color:#1ab}.sr-tooltip{text-align:center;padding:4px 0}.sr-tooltip.sr-time-tooltip{color:#ffc300}.mcm-icon-close-popover{position:absolute;right:4px;top:6px}.mcm-menubutton{top:6px;right:5px}.mcm-contextbutton{right:-5px}.mcm-container{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:180px}.mcm-container.mcm-context-label{width:250px}#btn-reset-context{width:15px;height:15px}#mc-eraserforcontext{padding:0 0 0 3px}.mcm-actual-context{color:#999}.q-icon.mcm-contextbutton{position:absolute;top:7px;right:5px}.mcm-context-label .klab-menuitem{width:calc(100% - 20px)}.mcm-copy-icon{padding:0 10px 0 5px;color:#eee}.mcm-copy-icon:hover{cursor:pointer;color:#212121}.klab-version{font-size:10px;width:100%;text-align:right;color:#9e9e9e}#ksb-container{width:100%;-webkit-transition:background-color .8s;transition:background-color .8s;line-height:inherit}#ksb-container.ksb-docked{-webkit-transition:width .5s;transition:width .5s}#ksb-container.ksb-docked #ksb-search-container{position:relative;padding:16px 10px;height:52px;-webkit-transition:background-color .8s;transition:background-color .8s}#ksb-container.ksb-docked #ksb-search-container .ksb-context-text{width:90%;position:relative}#ksb-container.ksb-docked #ksb-search-container .ksb-status-texts{width:90%;position:relative;bottom:2px}#ksb-container.ksb-docked #ksb-search-container .mcm-menubutton{top:11px}#ksb-container:not(.ksb-docked){border-radius:30px;cursor:move}#ksb-container:not(.ksb-docked) #ks-container,#ksb-container:not(.ksb-docked) .ksb-context-text{width:85%;position:absolute;left:45px;margin-top:8px}#ksb-container:not(.ksb-docked) .ksb-status-texts{width:85%;position:absolute;bottom:-4px;left:45px;margin:0 auto}#ksb-container #ksb-spinner{float:left;border:none;width:40px;height:40px}#ksb-container #ksb-undock{text-align:right;height:32px}#ksb-container #ksb-undock #ksb-undock-icon{padding:6px 10px;text-align:center;display:inline-block;cursor:pointer;-webkit-transition:.1s;transition:.1s;color:#999}#ksb-container #ksb-undock #ksb-undock-icon:hover{color:#1ab;-webkit-transform:translate(5px) rotate(33deg);transform:translate(5px) rotate(33deg)}#ksb-container .ksb-context-text,#ksb-container .ksb-status-texts{white-space:nowrap;overflow:hidden}#ksb-container .ksb-status-texts{font-size:11px;color:rgba(0,0,0,.4);height:15px}#ksb-container .mdi-lock-outline{position:absolute;right:35px;top:12px}.kbc-container{position:relative;height:20px;font-size:10px;padding:2px 5px}.kbc-container span{color:#eee}.kbc-container span:not(:last-child){cursor:pointer;color:#1ab}.kbc-container span:not(:last-child):hover{color:#ffc300}.kbc-container span:not(:last-child):after{content:" / ";color:#eee}.vue-splitter{height:inherit;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.vue-splitter .splitter-pane{height:inherit;overflow:hidden;padding:0}.vue-splitter .left-pane{white-space:nowrap}.vue-splitter .right-pane{word-wrap:break-word}.splitter-actions{width:2em;height:2em}#splitter-close{position:absolute;right:0}.splitter-controllers{background-color:#000;text-align:center;height:20px}.kt-drag-enter{background-color:#555}.kt-tree-container .klab-no-nodes{padding:5px 0;margin:0;text-align:center;font-style:italic}.kt-tree-container .q-tree>.q-tree-node{padding:0}.kt-tree-container .q-tree-node-collapsible{overflow-x:hidden}.kt-tree-container .q-tree-children{margin-bottom:4px}.kt-tree-container .q-tree-node-selected{background-color:rgba(0,0,0,.15)}.kt-tree-container .q-tree-node{padding:0 0 3px 15px}.kt-tree-container .q-tree-node.q-tree-node-child{min-height:var(--q-tree-no-child-min-height)}.kt-tree-container .q-tree-node-header{margin-top:0}.kt-tree-container .q-tree-node-header:before{width:25px;left:-28px}.kt-tree-container .q-tree-node-header:hover .node-substituible{display:none}.kt-tree-container .q-tree-node-header:hover .kt-download,.kt-tree-container .q-tree-node-header:hover .kt-upload{display:block}.kt-tree-container .q-tree-node-header:hover .kt-download:hover,.kt-tree-container .q-tree-node-header:hover .kt-upload:hover{background-color:#fff;border:none;color:#666}.kt-tree-container .q-tree-node-header.disabled{opacity:1!important}.kt-tree-container .q-chip.node-chip{position:absolute;right:10px;height:20px;min-width:20px;top:4px;text-align:center}.kt-tree-container .q-chip.node-chip .q-chip-main{padding-right:2px}.kt-tree-container .kt-download,.kt-tree-container .kt-upload{position:absolute;top:4px;display:none;z-index:9999;color:#eee;border:2px solid #eee;width:20px;height:20px}.kt-tree-container .kt-download{right:10px}.kt-tree-container .kt-upload{right:34px}.kt-tree-container .node-emphasized{color:#fff;font-weight:700;-webkit-animation:flash 2s linear;animation:flash 2s linear}.kt-tree-container .node-element{text-shadow:none;cursor:pointer}.kt-tree-container .node-selected{-webkit-text-decoration:underline #ffc300 dotted;text-decoration:underline #ffc300 dotted;color:#ffc300}.kt-tree-container .mdi-buddhism{padding-left:1px;margin-right:2px!important}.kt-tree-container .node-updatable{font-style:italic}.kt-tree-container .node-disabled{opacity:.6!important}.kt-tree-container .node-no-tick{margin-right:5px}.kt-tree-container .node-on-top{color:#ffc300}.kt-tree-container .node-icon{display:inline;padding-left:5px}.kt-tree-container .node-icon-time{position:relative;right:-5px}.kt-tree-container .node-icon-time.node-loading-layer{opacity:0}.kt-tree-container .node-icon-time.node-loading-layer.animate-spin{opacity:1}.kt-tree-container .kt-q-tooltip{background-color:#333}.kt-tree-container .q-tree-node-link{cursor:default}.kt-tree-container .q-tree-node-link .q-tree-arrow{cursor:pointer}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent{padding-left:1px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-header{padding-left:0}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-header:before{width:12px;left:-14px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-header>i{margin-right:2px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-collapsible .q-tree-children{padding-left:20px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-collapsible .q-tree-children .q-tree-node-child .q-tree-node-header{padding-left:4px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-collapsible .q-tree-children .q-tree-node-child .q-tree-node-header:before{width:25px;left:-28px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-collapsible .q-tree-children .q-tree-node-child .q-tree-node-header:after{left:-17px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-collapsible .q-tree-children .q-tree-node-parent .q-tree-node-collapsible{padding-left:1px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-collapsible .q-tree-children .q-tree-node-parent .q-tree-node-collapsible:before{width:25px;left:-28px}.kt-tree-container .q-tree>.q-tree-node.q-tree-node-parent>.q-tree-node-collapsible .q-tree-node-parent .q-tree-node-collapsible .q-tree-children .q-tree-node-parent .q-tree-node-collapsible:after{left:-17px}@-webkit-keyframes flash{0%{opacity:1}25%{opacity:.5}50%{opacity:1}75%{opacity:.5}to{opacity:1}}@keyframes flash{0%{opacity:1}25%{opacity:.5}50%{opacity:1}75%{opacity:.5}to{opacity:1}}@-webkit-keyframes loading-gradient{0%{background-position:0 0}50%{background-position:100% 0}to{background-position:0 0}}@keyframes loading-gradient{0%{background-position:0 0}50%{background-position:100% 0}to{background-position:0 0}}.hv-histogram-container.hv-histogram-horizontal{height:160px;width:100%}.hv-histogram-container.hv-histogram-vertical{height:100%}.hv-histogram,.hv-histogram-nodata{height:calc(100% - 30px);position:relative}.hv-histogram-nodata.k-with-colormap,.hv-histogram.k-with-colormap{height:calc(100% - 60px)}.hv-histogram-nodata{color:#fff;text-align:center;background-color:hsla(0,0%,46.7%,.65);padding-top:20%}.hv-histogram-col{float:left;height:100%;position:relative}.hv-histogram-col:hover{background:hsla(0,0%,46.7%,.65)}.hv-histogram-val{background:#000;width:100%;position:absolute;bottom:0;border-right:1px solid hsla(0,0%,46.7%,.85);border-left:1px solid hsla(0,0%,46.7%,.85)}.hv-histogram-val:hover{background:rgba(0,0,0,.7)}.hv-colormap-horizontal{height:30px;position:relative}.hv-colormap-horizontal .hv-colormap-col{float:left;height:100%;min-width:1px}.hv-colormap-vertical{width:30px;min-width:30px;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hv-colormap-vertical .hv-colormap-col{display:block;width:100%;min-height:1px}.hv-colormap-container-vertical{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.hv-colormap-container-vertical .hv-colormap-legend{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hv-colormap-container-vertical .hv-categories{overflow:hidden}.hv-colormap-col{background-color:#fff}.hv-details-vertical{float:left}.hv-data-details{color:#fff;text-align:center;font-size:small;padding:2px 0;display:inline-block;overflow:hidden;white-space:nowrap;vertical-align:middle;height:30px;line-height:30px;text-overflow:ellipsis}.hv-histogram-max,.hv-histogram-min{width:50px}.hv-categories{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;margin-left:16px}.hv-categories .hv-category{text-overflow:ellipsis;white-space:nowrap;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-size:12px}.hv-zero-category{font-style:italic;opacity:.5}.hv-data-nodetail,.hv-data-value{width:calc(100% - 100px);border-left:1px solid #696969;border-right:1px solid #696969}.hv-data-value,.hv-tooltip{color:#ffc300;-webkit-transition:none;transition:none;font-style:normal}.hv-tooltip{background-color:#444}#oi-container{height:calc(var(--main-control-max-height) - 164px);max-height:calc(var(--main-control-max-height) - 164px)}#oi-metadata-map-wrapper{height:calc(100% - 40px)}#oi-metadata-map-wrapper.k-with-histogram{height:calc(100% - 200px)}#oi-metadata-map-wrapper #oi-scroll-metadata-container{padding-top:5px}.oi-text{color:#ffc300;text-shadow:0 0 1px #666;padding:0 0 0 5px}.oi-metadata-name{padding-bottom:2px}.oi-metadata-value{color:#fff;margin:0 5px 5px;background-color:#666;-webkit-box-shadow:inset 0 0 0 1px #666;box-shadow:inset 0 0 0 1px #666;padding:2px 0 2px 5px}#oi-scroll-container{height:100%}#oi-scroll-container.with-mapinfo{height:50%}#oi-controls{height:40px;width:100%;border-bottom:1px dotted #333}#oi-controls .oi-control{float:left}#oi-controls #oi-name{width:50%;display:table;overflow:hidden;height:40px}#oi-controls #oi-name span{display:table-cell;vertical-align:middle;padding-top:2px}#oi-controls #oi-visualize{text-align:center;width:40px;line-height:40px}#oi-controls #oi-slider{width:calc(50% - 40px)}#oi-controls #oi-slider .q-slider{padding:0 10px 0 5px;height:40px}#oi-mapinfo-container{height:50%;width:100%;padding:5px;position:relative}#oi-mapinfo-map{height:100%;width:100%}.oi-pixel-indicator{position:absolute;background-color:#fff;mix-blend-mode:difference}#oi-pixel-h{left:50%;top:5px;height:calc(100% - 10px);width:1px}#oi-pixel-v{top:50%;left:5px;height:1px;width:calc(100% - 10px)}.ktp-loading{background:-webkit-gradient(linear,left top,right top,from(#333),to(#999));background:linear-gradient(90deg,#333,#999);background-size:200% 100%;-webkit-animation:loading-gradient 4s linear infinite;animation:loading-gradient 4s linear infinite}.q-tree .text-white{text-shadow:1px 0 0 #aaa}#kt-user-tree{padding-top:15px;padding-bottom:10px}.kt-separator{width:96%;left:4%;height:2px;border-top:1px solid hsla(0,0%,48.6%,.8);border-bottom:1px solid #7c7c7c;margin:0 4%}#klab-tree-pane{-ms-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;-moz-user-select:-moz-none;-webkit-user-select:none}#klab-tree-pane details{padding:6px 0 10px 10px;background-color:#7d7d7d;border-top:1px solid #555}#klab-tree-pane details:not([open]){padding:0;margin-bottom:15px}#klab-tree-pane details:not([open]) #ktp-main-tree-arrow{top:-12px}#klab-tree-pane details[open] #ktp-main-tree-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}#klab-tree-pane details .mdi-dots-horizontal:before{padding-top:2px}#klab-tree-pane details summary{height:0;outline:none;position:relative;cursor:pointer;display:block}#klab-tree-pane details summary::-webkit-details-marker{color:transparent}#klab-tree-pane details #ktp-main-tree-arrow{position:absolute;width:22px;height:22px;right:9px;top:-18px;color:#fff;background-color:#555;border-radius:12px;-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}#klab-tree-pane details>div{margin:5px 0 0 -10px}.ktp-no-tree{height:30px}.otv-now{font-size:11px;line-height:24px;vertical-align:middle;text-align:center;color:#fff;width:150px;height:24px}.otv-now.otv-docked{float:left;color:#fff;line-height:34px}.otv-now:not(.otv-docked){position:absolute;bottom:0;left:0;background-color:hsla(0,0%,46.7%,.65);border-top:1px solid #000;border-right:1px solid #000;border-top-right-radius:4px}.otv-now.otv-running{color:#ffc300}.otv-now.otv-novisible{opacity:0}.otv-now .fade-enter-active,.otv-now .fade-leave-active{-webkit-transition:opacity 1s;transition:opacity 1s}.otv-now .fade-enter,.otv-now .fade-leave-to{opacity:0}.ot-wrapper{width:100%}.ot-wrapper.ot-no-timestamp .ot-container.ot-docked{width:calc(100% - 5px)}.ot-wrapper:not(.ot-no-timestamp) .ot-container.ot-docked{width:280px;float:left}.ot-container{position:relative}.ot-container .ot-player{width:20px;height:16px;line-height:16px;float:left}.ot-container .ot-player .q-icon{vertical-align:baseline!important}.ot-container .ot-time{width:calc(100% - 20px);position:relative}.ot-container .ot-time.ot-time-full{left:10px}.ot-container .ot-time .ot-date{min-width:16px;max-width:16px;height:16px;line-height:16px;font-size:16px;text-align:center;vertical-align:middle;background-color:#555;border-radius:8px;position:relative;cursor:default;-webkit-transition:background-color .5s ease;transition:background-color .5s ease}.ot-container .ot-time .ot-date.ot-with-modifications{cursor:pointer;background-color:#888}.ot-container .ot-time .ot-date.ot-date-fill,.ot-container .ot-time .ot-date.ot-date-loaded{background-color:#1ab}.ot-container .ot-time .ot-date.ot-date-start+.ot-date-text{left:16px}.ot-container .ot-time .ot-date.ot-date-end+.ot-date-text{right:16px}.ot-container .ot-time .ot-date .ot-time-origin{vertical-align:baseline;-webkit-transition:background-color .5s ease;transition:background-color .5s ease}.ot-container .ot-time .ot-date .ot-time-origin.ot-time-origin-loaded{color:#e4fdff}.ot-container .ot-time .ot-date-text{white-space:nowrap;font-size:8px;position:absolute;top:-4px;color:#888;font-weight:400;letter-spacing:1px;padding:0;-ms-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;-moz-user-select:-moz-none;-webkit-user-select:none}.ot-container .ot-time .ot-timeline-container .ot-timeline{height:6px;width:calc(100% + 4px);background-color:#555;position:relative;top:5px;margin:0 -2px;padding:0 2px;-webkit-transition:background-color .5s ease;transition:background-color .5s ease}.ot-container .ot-time .ot-timeline-container .ot-timeline.ot-with-modifications{cursor:pointer;background-color:#888}.ot-container .ot-time .ot-timeline-container .ot-timeline .ot-modification-container{z-index:10000;width:32px;height:6px;position:absolute;top:7px}.ot-container .ot-time .ot-timeline-container .ot-timeline .ot-modification-container .ot-modification{height:100%;width:1px;margin-left:1px;border-left:1px solid #555;border-right:1px solid #aaa}.ot-container .ot-time .ot-timeline-container .ot-timeline .ot-actual-time{width:2px;height:6px;background-color:#1ab;position:absolute;margin-right:4px;top:0;z-index:10001}.ot-container .ot-time .ot-timeline-container .ot-timeline .ot-loaded-time{height:6px;left:-2px;background-color:#1ab;position:relative;top:0}.ot-container.ot-active-timeline .ot-time .ot-date-start{border-top-right-radius:0;border-bottom-right-radius:0;cursor:pointer}.ot-container.ot-active-timeline .ot-time .ot-date-end{border-top-left-radius:0;border-bottom-left-radius:0;cursor:pointer}.ot-container.ot-active-timeline .ot-time .ot-timeline{height:16px;width:100%;top:0;margin:0}.ot-container.ot-active-timeline .ot-time .ot-timeline .ot-timeline-viewer{height:10px;background-color:#666;border-radius:2px;width:calc(100% - 2px);position:absolute;top:3px;z-index:9000}.ot-container.ot-active-timeline .ot-time .ot-timeline .ot-loaded-time{height:16px}.ot-container.ot-active-timeline .ot-time .ot-timeline .ot-actual-time{height:10px;top:3px}.ot-date-tooltip{width:100px}.ot-date-tooltip .ot-date-tooltip-content{text-align:center}.ot-speed-container{border-radius:6px;margin-left:-6px}.ot-speed-container .ot-speed-selector{padding:5px 0;background-color:rgba(35,35,35,.8);color:#eee}.ot-speed-container .ot-speed-selector .ot-speed{min-height:20px;font-size:small;padding:5px}.ot-speed-container .ot-speed-selector .ot-speed.ot-speed-disabled{color:#1ab;font-weight:800}.ot-speed-container .ot-speed-selector .ot-speed:hover{background-color:#333;color:#ffc300;cursor:pointer}.ot-change-speed-tooltip{text-align:center}#klab-log-pane{max-height:calc(var(--main-control-max-height) - 124px)}#klab-log-pane.lm-component{max-height:100%}#klab-log-pane #log-container{margin:10px 0}#klab-log-pane .q-item.log-item{font-size:10px}#klab-log-pane .q-item.log-no-items{font-size:12px;color:#ccc;text-shadow:1px 0 0 #777}.log-item .q-item-side{min-width:auto}.q-list-dense>.q-item{padding-left:10px}.klp-separator{width:100%;text-align:center;border-top:1px solid #555;border-bottom:1px solid #777;line-height:0;margin:10px 0}.klp-separator>span{padding:0 10px;background-color:#717070}.klp-level-selector{border-bottom:1px dotted #ccc}.klp-level-selector ul{margin:10px 0;padding-left:10px;list-style:none}.klp-level-selector ul li{display:inline-block;padding-right:10px;opacity:.5}.klp-level-selector ul li.klp-selected{opacity:1}.klp-level-selector ul li .klp-chip{padding:2px 8px;cursor:pointer}.klab-mdi-next-scale{color:#ffc300;opacity:.6}.klab-mdi-next-scale:hover{opacity:1}.sb-scales *{cursor:pointer}.sb-next-scale{background-color:rgba(255,195,0,.7)}.sb-tooltip{text-align:center;font-size:.7em;color:#fff;background-color:#616161;padding:2px 0}.kvs-popover-container{background-color:#616161;border-color:#616161}.kvs-popover{background-color:transparent}.kvs-container .klab-button.klab-action .klab-button-notification{right:26px;top:0}.kvs-container .klab-button:not(.disabled) .kvs-button{color:#1ab}.mc-container .q-card>.mc-q-card-title{border-radius:30px;cursor:move;-webkit-transition:background-color .8s;transition:background-color .8s}.mc-container .q-card{width:512px;-webkit-transition:width .5s;transition:width .5s}.mc-container .q-card.with-context{width:482px;background-color:rgba(35,35,35,.8);border-radius:5px}.mc-container .q-card.with-context .mc-q-card-title{overflow:hidden;margin:15px}.mc-container .q-card.mc-large-mode-1{width:640px}.mc-container .q-card.mc-large-mode-2{width:768px}.mc-container .q-card.mc-large-mode-3{width:896px}.mc-container .q-card.mc-large-mode-4{width:1024px}.mc-container .q-card.mc-large-mode-5{width:1152px}.mc-container .q-card.mc-large-mode-6{width:1280px}.mc-container .q-card-title{position:relative}.mc-container .spinner-lonely-div{position:absolute;width:44px;height:44px;border:2px solid;border-radius:40px}.mc-container .q-card-title{line-height:inherit}.mc-container #mc-text-div{text-shadow:0 0 1px #555}.mc-container .q-card-main{overflow:auto;line-height:inherit;background-color:hsla(0,0%,46.7%,.85);padding:0}.mc-container .kmc-bottom-actions.q-card-actions{padding:0 4px 4px 6px}.mc-container .kmc-bottom-actions.q-card-actions .klab-button{font-size:18px;padding:4px}.mc-container .klab-main-actions{position:relative}.mc-container .klab-button-notification{top:4px;right:4px;width:10px;height:10px}.mc-container .context-actions{padding:0;margin:0;position:relative}.mc-container .mc-separator{width:2px;height:60%;position:absolute;top:20%;border-left:1px solid #444;border-right:1px solid #666}.mc-container .mc-separator.mab-separator{right:45px}.mc-container .mc-tab.active{background-color:hsla(0,0%,46.7%,.85)}.mc-container .component-fade-enter-active,.mc-container .component-fade-leave-active{-webkit-transition:opacity .3s ease;transition:opacity .3s ease}.mc-container .component-fade-enter,.mc-container .component-fade-leave-to{opacity:0}.mc-container .mc-docking{position:fixed;left:0;top:0;background-color:rgba(35,35,35,.1);border:1px solid hsla(0,0%,52.9%,.5);-webkit-animation-duration:.2s;animation-duration:.2s}.mc-container .kbc-container{position:absolute;top:63px;left:0;width:100%;text-align:center}.mc-container #kt-out-container{height:100%;overflow:hidden;max-height:calc(var(--main-control-max-height) - 144px)}.mc-container #kt-out-container.kpt-loading{max-height:calc(var(--main-control-max-height) - 114px)}.mc-container #kt-out-container.with-splitter{max-height:calc(var(--main-control-max-height) - 164px)}.mc-container .klab-button{font-size:22px;margin:0;padding:2px 7px 5px;border-top-left-radius:4px;border-top-right-radius:4px}.mc-container .klab-destructive-actions .klab-button{position:absolute;right:6px;padding-right:0}.mc-container .sb-scales{position:absolute;right:42px}.mc-container .sb-scales .klab-button{padding-right:2px}.mc-container .context-actions .sr-locked,.mc-container .context-actions .sr-scaletype{font-size:9px}.mc-container .context-actions .sr-locked.sr-icon,.mc-container .context-actions .sr-scaletype.sr-icon{font-size:14px}.mc-container .context-actions .sr-description{font-size:9px}.mc-container .context-actions .sr-spacescale{font-size:9px;height:16px;width:16px;border-radius:8px;padding:3px 0 0;margin:0 2px}.mc-container .mc-timeline{width:calc(100% - 200px);position:absolute;left:100px;bottom:8px}.mc-container .klab-bottom-right-actions{position:absolute;right:6px}.mc-container .klab-bottom-right-actions .klab-button.klab-action{border-radius:4px;margin:3px 0 0;padding:2px 5px 3px!important}.mc-container .klab-bottom-right-actions .klab-button.klab-action:hover:not(.disabled){background-color:hsla(0,0%,52.9%,.2)}.mc-kv-popover{border-radius:6px;border:none}.mc-kv-popover .mc-kv-container{background-color:#616161;border-radius:2px!important}.md-draw-controls{position:absolute;top:30px;left:calc(50vw - 100px);background-color:hsla(0,0%,100%,.8);border-radius:10px}.md-draw-controls .md-title{color:#fff;background-color:#1ab;width:100%;padding:5px;font-size:16px;text-align:center;border-top-left-radius:10px;border-top-right-radius:10px}.md-draw-controls .md-controls .md-control{font-size:30px;font-weight:700;width:calc(33% - 24px);padding:5px;margin:10px 12px;height:40px;border-radius:10px;cursor:pointer}.md-draw-controls .md-controls .md-ok{color:#19a019}.md-draw-controls .md-controls .md-ok:hover{background-color:#19a019;color:#fff}.md-draw-controls .md-controls .md-cancel{color:#db2828}.md-draw-controls .md-controls .md-cancel:hover{background-color:#db2828;color:#fff}.md-draw-controls .md-controls .md-erase.disabled{cursor:default}.md-draw-controls .md-controls .md-erase:not(.disabled){color:#ffc300}.md-draw-controls .md-controls .md-erase:not(.disabled):hover{background-color:#ffc300;color:#fff}.md-draw-controls .md-selector .q-btn-group{border-bottom-left-radius:10px;border-bottom-right-radius:10px}.md-draw-controls .md-selector button{width:50px}.md-draw-controls .md-selector button:first-child{border-bottom-left-radius:10px}.md-draw-controls .md-selector button:nth-child(4){border-bottom-right-radius:10px}.layer-switcher{position:absolute;top:3.5em;right:.5em;text-align:left}.layer-switcher .panel{border:4px solid #eee;background-color:#fff;display:none;max-height:inherit;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;overflow-y:auto}.layer-switcher button{float:right;z-index:1;width:38px;height:38px;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAACE1BMVEX///8A//8AgICA//8AVVVAQID///8rVVVJtttgv98nTmJ2xNgkW1ttyNsmWWZmzNZYxM4gWGgeU2JmzNNr0N1Rwc0eU2VXxdEhV2JqytQeVmMhVmNoydUfVGUgVGQfVGQfVmVqy9hqy9dWw9AfVWRpydVry9YhVmMgVGNUw9BrytchVWRexdGw294gVWQgVmUhVWPd4N6HoaZsy9cfVmQgVGRrytZsy9cgVWQgVWMgVWRsy9YfVWNsy9YgVWVty9YgVWVry9UgVWRsy9Zsy9UfVWRsy9YgVWVty9YgVWRty9Vsy9aM09sgVWRTws/AzM0gVWRtzNYgVWRuy9Zsy9cgVWRGcHxty9bb5ORbxdEgVWRty9bn6OZTws9mydRfxtLX3Nva5eRix9NFcXxOd4JPeINQeIMiVmVUws9Vws9Vw9BXw9BYxNBaxNBbxNBcxdJexdElWWgmWmhjyNRlx9IqXGtoipNpytVqytVryNNrytZsjZUuX210k5t1y9R2zNR3y9V4lp57zth9zdaAnKOGoaeK0NiNpquV09mesrag1tuitbmj1tuj19uktrqr2d2svcCu2d2xwMO63N+7x8nA3uDC3uDFz9DK4eHL4eLN4eIyYnDX5OM5Z3Tb397e4uDf4uHf5uXi5ePi5+Xj5+Xk5+Xm5+Xm6OY6aHXQ19fT4+NfhI1Ww89gx9Nhx9Nsy9ZWw9Dpj2abAAAAWnRSTlMAAQICAwQEBgcIDQ0ODhQZGiAiIyYpKywvNTs+QklPUlNUWWJjaGt0dnd+hIWFh4mNjZCSm6CpsbW2t7nDzNDT1dje5efr7PHy9PT29/j4+Pn5+vr8/f39/f6DPtKwAAABTklEQVR4Xr3QVWPbMBSAUTVFZmZmhhSXMjNvkhwqMzMzMzPDeD+xASvObKePPa+ffHVl8PlsnE0+qPpBuQjVJjno6pZpSKXYl7/bZyFaQxhf98hHDKEppwdWIW1frFnrxSOWHFfWesSEWC6R/P4zOFrix3TzDFLlXRTR8c0fEEJ1/itpo7SVO9Jdr1DVxZ0USyjZsEY5vZfiiAC0UoTGOrm9PZLuRl8X+Dq1HQtoFbJZbv61i+Poblh/97TC7n0neCcK0ETNUrz1/xPHf+DNAW9Ac6t8O8WH3Vp98f5lCaYKAOFZMLyHL4Y0fe319idMNgMMp+zWVSybUed/+/h7I4wRAG1W6XDy4XmjR9HnzvDRZXUAYDFOhC1S/Hh+fIXxen+eO+AKqbs+wAo30zDTDvDxKoJN88sjUzDFAvBzEUGFsnADoIvAJzoh2BZ8sner+Ke/vwECuQAAAABJRU5ErkJggg==");background-repeat:no-repeat;background-position:2px;background-color:#fff;color:#000;border:none}.layer-switcher button:focus,.layer-switcher button:hover{background-color:#fff}.layer-switcher.shown{overflow-y:hidden}.layer-switcher.shown.ol-control,.layer-switcher.shown.ol-control:hover{background-color:transparent}.layer-switcher.shown .panel{display:block}.layer-switcher.shown button{display:none}.layer-switcher.shown.layer-switcher-activation-mode-click>button{display:block;background-image:unset;right:2px;position:absolute;background-color:#eee;margin:0 1px}.layer-switcher.shown button:focus,.layer-switcher.shown button:hover{background-color:#fafafa}.layer-switcher ul{list-style:none;margin:1.6em .4em;padding-left:0}.layer-switcher ul ul{padding-left:1.2em;margin:.1em 0 0}.layer-switcher li.group+li.group{margin-top:.4em}.layer-switcher li.group>label{font-weight:700}.layer-switcher.layer-switcher-group-select-style-none li.group>label{padding-left:1.2em}.layer-switcher li{position:relative;margin-top:.3em}.layer-switcher li input{position:absolute;left:1.2em;height:1em;width:1em;font-size:1em}.layer-switcher li label{padding-left:2.7em;padding-right:1.2em;display:inline-block;margin-top:1px}.layer-switcher label.disabled{opacity:.4}.layer-switcher input{margin:0}.layer-switcher.touch ::-webkit-scrollbar{width:4px}.layer-switcher.touch ::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);border-radius:10px}.layer-switcher.touch ::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.5)}li.layer-switcher-base-group>label{padding-left:1.2em}.layer-switcher .group button{position:absolute;left:0;display:inline-block;vertical-align:top;float:none;font-size:1em;width:1em;height:1em;margin:0;background-position:center 2px;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAW0lEQVR4nGNgGAWMyBwXFxcGBgaGeii3EU0tXHzPnj1wQRYsihqQ+I0ExDEMQAYNONgoAN0AmMkNaDSyQSheY8JiaCMOGzE04zIAmyFYNTMw4A+DRhzsUUBtAADw4BCeIZkGdwAAAABJRU5ErkJggg==");-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}.layer-switcher .group.layer-switcher-close button{transform:rotate(-90deg);-webkit-transform:rotate(-90deg)}.layer-switcher .group.layer-switcher-fold.layer-switcher-close>ul{overflow:hidden;height:0}.layer-switcher.shown.layer-switcher-activation-mode-click{padding-left:34px}.layer-switcher.shown.layer-switcher-activation-mode-click>button{left:0;border-right:0}.layer-switcher{top:5em}.layer-switcher button{background-position:2px 3px;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTkuOTk2IiB3aWR0aD0iMjAiPjxnIGZpbGw9IiNmZmYiPjxwYXRoIGQ9Ik0xOS4zMSAzLjgzNUwxMS41My4yODljLS44NDMtLjM4NS0yLjIyMy0uMzg1LTMuMDY2IDBMLjY5IDMuODM1Yy0uOTE3LjQxNi0uOTE3IDEuMDk5IDAgMS41MTVsNy43MDYgMy41MTVjLjg4LjQgMi4zMjguNCAzLjIwOCAwTDE5LjMxIDUuMzVjLjkxNi0uNDE2LjkxNi0xLjA5OSAwLTEuNTE1ek04LjM5NiAxNi4yMDdMMy4yIDEzLjgzN2EuODQ1Ljg0NSAwIDAwLS42OTMgMGwtMS44MTcuODI4Yy0uOTE3LjQxNy0uOTE3IDEuMSAwIDEuNTE2bDcuNzA2IDMuNTE0Yy44OC40MDEgMi4zMjguNDAxIDMuMjA4IDBsNy43MDYtMy41MTRjLjkxNi0uNDE3LjkxNi0xLjA5OSAwLTEuNTE2bC0xLjgxNy0uODI4YS44NDUuODQ1IDAgMDAtLjY5MyAwbC01LjE5NiAyLjM3Yy0uODguNC0yLjMyOC40LTMuMjA4IDB6Ii8+PHBhdGggZD0iTTE5LjMxIDkuMjVsLTEuNjUtLjc1YS44MzMuODMzIDAgMDAtLjY4OCAwbC01LjYyMyAyLjU0N2MtLjc5Ny4yNy0xLjkwNi4yNy0yLjcwMyAwTDMuMDIzIDguNWEuODMzLjgzMyAwIDAwLS42ODggMGwtMS42NS43NWMtLjkxNy40MTctLjkxNyAxLjA5OSAwIDEuNTE1TDguMzkgMTQuMjhjLjg4LjQwMSAyLjMyNy40MDEgMy4yMDcgMGw3LjcwNy0zLjUxNWMuOTIxLS40MTYuOTIxLTEuMDk4LjAwNS0xLjUxNXoiLz48L2c+PC9zdmc+")}.layer-switcher .panel{padding:0 1em 0 0;margin:0;border:1px solid #999;border-radius:4px;background-color:hsla(0,0%,46.7%,.65);color:#fff}.map-selection-marker{font-size:28px;color:#fff;mix-blend-mode:exclusion}.gl-msg-content{border-radius:20px;padding:20px;background-color:hsla(0,0%,100%,.7)}.gl-msg-content .gl-btn-container{text-align:right;padding:.2em}.gl-msg-content .gl-btn-container .q-btn{margin-left:.5em}.gl-msg-content h5{margin:.2em 0 .5em;font-weight:700}.gl-msg-content em{color:#1ab;font-style:normal;font-weight:700}.mv-exploring{cursor:crosshair!important}.ol-popup{position:absolute;background-color:hsla(0,0%,100%,.9);padding:20px 15px;border-radius:10px;bottom:25px;left:-48px;min-height:80px}.ol-popup:after,.ol-popup:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.ol-popup:after{border-top-color:hsla(0,0%,100%,.9);border-width:10px;left:48px;margin-left:-10px}.ol-popup .ol-popup-closer{position:absolute;top:2px;right:8px}.ol-popup .ol-popup-content h3{margin:0 0 .2em;line-height:1.1em;font-size:1.1em;color:#1ab;white-space:nowrap;font-weight:300}.ol-popup .ol-popup-content p{margin:0;color:rgba(50,50,50,.9);white-space:nowrap;font-weight:400}.ol-popup .ol-popup-content .mv-popup-value{font-size:1.6em;padding:10px 0}.ol-popup .ol-popup-content .mv-popup-coord{font-size:.8em;padding-top:5px;color:#7c7c7c}.ol-popup .ol-popup-content .mv-popup-separator{height:1px;border-top:1px solid hsla(0,0%,48.6%,.3);margin:0 auto}.ol-mouse-position{right:50px!important;top:14px;margin:1px;padding:4px 8px;color:#fff;font-size:.9em;text-align:center;background-color:rgba(0,60,136,.5);border:4px solid hsla(0,0%,100%,.7)}#mv-extent-map{width:200px;height:200px;position:absolute;bottom:0;right:0;border:1px solid var(--app-main-color)}#mv-extent-map.mv-extent-map-hide{display:none}.mv-remove-proposed-context{position:absolute;bottom:10px;left:10px;opacity:.3;background-color:#3187ca;color:#fff!important}.mv-remove-proposed-context:hover{opacity:1}canvas{position:absolute;top:0;left:0}.net{height:100%;margin:0}.node{stroke:rgba(18,120,98,.7);stroke-width:3px;-webkit-transition:fill .5s ease;transition:fill .5s ease;fill:#dcfaf3}.node.selected{stroke:#caa455}.node.pinned{stroke:rgba(190,56,93,.6)}.link{stroke:rgba(18,120,98,.3)}.link,.node{stroke-linecap:round}.link:hover,.node:hover{stroke:#be385d;stroke-width:5px}.link.selected{stroke:rgba(202,164,85,.6)}.curve{fill:none}.link-label,.node-label{fill:#127862}.link-label{-webkit-transform:translateY(-.5em);transform:translateY(-.5em);text-anchor:middle}.gv-container{background-color:#e0e0e0;overflow:hidden}.gv-container .q-spinner{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px)}.uv-container{background-color:#e7ffdb;overflow:hidden}.uv-container h4{text-align:center}.uv-container .q-spinner{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px)}[data-v-216658d8]:root{--main-control-max-height:90vh;--q-tree-no-child-min-height:32px;--app-main-color:#005c81;--app-highlight-main-color:#0077a7;--app-rgb-main-color:0,92,129;--app-background-color:#fafafa;--app-darken-background-color:#ededed;--app-darklight-background-color:#ededed;--app-lighten-background-color:#fafafa;--app-highlight-background-color:#fbfbfb;--app-rgb-background-color:250,250,250;--app-text-color:#005c81;--app-control-text-color:#005c81;--app-link-color:#73937e;--app-link-visited-color:#73937e;--app-highlight-text-color:#0077a7;--app-title-color:#005c81;--app-alt-color:#00a4a1;--app-alt-background:#dedede;--app-rgb-text-color:0,92,129;--app-waiting-color:#f2c037;--app-positive-color:#19a019;--app-negative-color:#db2828;--app-font-family:"Roboto","-apple-system","Helvetica Neue",Helvetica,Arial,sans-serif;--app-font-size:1em;--app-title-size:26px;--app-subtitle-size:16px;--app-small-size:0.9em;--app-modal-title-size:22px;--app-modal-subtitle-size:12px;--app-line-height:1em;--app-small-mp:8px;--app-smaller-mp:calc(var(--app-small-mp)/2);--app-large-mp:16px;--body-min-width:640px;--body-min-height:480px}.thumb-view[data-v-216658d8]{width:200px;height:200px;margin:5px;border:1px solid #333;-webkit-box-shadow:#5c6bc0;box-shadow:#5c6bc0;bottom:0;z-index:9998;overflow:hidden}.thumb-view:hover>.thumb-viewer-title[data-v-216658d8]{opacity:1}.thumb-viewer-title[data-v-216658d8]{opacity:0;background-color:rgba(17,170,187,.85);color:#e0e0e0;text-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12);font-size:.9em;padding:0;-webkit-transition:opacity 1s;transition:opacity 1s;z-index:9999}.thumb-viewer-label[data-v-216658d8]{width:140px;display:inline-block;overflow:hidden;white-space:nowrap;vertical-align:middle;text-overflow:ellipsis}.thumb-viewer-label.thumb-closable[data-v-216658d8]{width:100px}.thumb-viewer-button[data-v-216658d8]{margin-top:5px;margin-left:0;margin-right:4px}.thumb-viewer-button>button[data-v-216658d8]{font-size:6px}.thumb-close[data-v-216658d8]{margin-left:5px}.dh-container{background-color:rgba(35,35,35,.8)}.dh-container .dh-spinner{width:28px;margin-left:16px;margin-right:16px}.dh-container .dh-tabs .q-tabs-head{background-color:transparent;padding:0!important}.dh-container .dh-tabs .q-tabs-head .q-tab{padding:10px 16px}.dh-container .dh-tabs .q-tabs-head .q-tab.active{color:#1ab!important}.dh-container .dh-tabs .q-tabs-head .q-tab .q-dot{background-color:#1ab;right:-3px;top:-1px}.dh-container .dh-actions{text-align:right;padding-right:12px}.dh-container .dh-actions .dh-button{padding:8px}.kd-is-app .q-layout-header{-webkit-box-shadow:none;box-shadow:none;border-bottom:1px solid var(--app-darken-background-color)}.kd-is-app .dh-container{background-color:var(--app-darken-background-color)}.kd-is-app .dh-actions .dh-button{color:var(--app-main-color)}.kd-is-app .dh-tabs .q-tabs-head{background-color:transparent;padding:0!important}.kd-is-app .dh-tabs .q-tabs-head .q-tab{padding:13px 16px;text-shadow:none}.kd-is-app .dh-tabs .q-tabs-head .q-tab.active{color:var(--app-main-color)!important}.kd-is-app .dh-tabs .q-tabs-head .q-tab .q-dot{background-color:var(--app-main-color)}.kd-is-app .dh-tabs .q-tabs-bar{color:var(--app-main-color);border-bottom-width:4px}.q-layout-drawer,.q-layout-header{-webkit-box-shadow:none!important;box-shadow:none!important;border-bottom:1px solid var(--app-main-color)}.dt-container{padding:16px 0;font-size:smaller!important}.dt-container .dt-tree-empty{margin:16px;color:#fff}.kd-is-app .klab-left{background-color:var(--app-darken-background-color)}.kd-is-app .klab-left .dt-tree-empty,.kd-is-app .klab-left .q-tree .q-tree-node,.kd-is-app .klab-left .text-white{color:var(--app-main-color)!important}.tabulator{position:relative;background-color:#fff;overflow:hidden;font-size:14px;text-align:left;-webkit-transform:translatez(0);transform:translatez(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableHolder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}.tabulator .tabulator-header{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;border-bottom:1px solid #999;background-color:#fff;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-col{display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;border-right:1px solid #ddd;background-color:#fff;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #999;background:#e6e6e6;pointer-events:none}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-menu-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-menu-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-menu-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:-ms-flexbox;display:-webkit-box;display:flex;border-top:1px solid #ddd;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col:first-child .tabulator-col-resize-handle.prev{display:none}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover{cursor:pointer;background-color:#e6e6e6}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=asc] .tabulator-col-content .tabulator-col-sorter{color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=asc] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=desc] .tabulator-col-content .tabulator-col-sorter{color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=desc] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{-ms-writing-mode:tb-rl;-webkit-writing-mode:vertical-rl;writing-mode:vertical-rl;text-orientation:mixed;display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{display:inline-block;position:absolute;z-index:10}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #ddd}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #ddd}.tabulator .tabulator-header .tabulator-calcs-holder{-webkit-box-sizing:border-box;box-sizing:border-box;min-width:600%;background:#f2f2f2!important;border-top:1px solid #ddd;border-bottom:1px solid #999;overflow:hidden}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:#f2f2f2!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{min-width:600%}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableHolder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableHolder:focus{outline:none}.tabulator .tabulator-tableHolder .tabulator-placeholder{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;width:100%}.tabulator .tabulator-tableHolder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%;min-width:100%}.tabulator .tabulator-tableHolder .tabulator-placeholder span{display:inline-block;margin:0 auto;padding:10px;color:#000;font-weight:700;font-size:20px}.tabulator .tabulator-tableHolder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#f2f2f2!important}.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #ddd}.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #ddd}.tabulator .tabulator-col-resize-handle{position:absolute;right:0;top:0;bottom:0;width:5px}.tabulator .tabulator-col-resize-handle.prev{left:0;right:auto}.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}.tabulator .tabulator-footer{padding:5px 10px;border-top:1px solid #999;background-color:#fff;text-align:right;color:#555;font-weight:700;white-space:nowrap;-ms-user-select:none;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-calcs-holder{-webkit-box-sizing:border-box;box-sizing:border-box;width:calc(100% + 20px);margin:-5px -10px 5px;text-align:left;background:#f2f2f2!important;border-bottom:1px solid #fff;border-top:1px solid #ddd;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{background:#f2f2f2!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer .tabulator-paginator{color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #aaa;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #aaa;border-radius:3px;background:hsla(0,0%,100%,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#d00}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}.tabulator .tabulator-loader{position:absolute;display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-loader .tabulator-loader-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-loader .tabulator-loader-msg.tabulator-loading{border:4px solid #333;color:#000}.tabulator .tabulator-loader .tabulator-loader-msg.tabulator-error{border:4px solid #d00;color:#590000}.tabulator-row{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;min-height:22px;border-bottom:1px solid #ddd}.tabulator-row,.tabulator-row:nth-child(2n){background-color:#fff}.tabulator-row.tabulator-selectable:hover{background-color:#bbb;cursor:pointer}.tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #ddd;border-bottom:1px solid #ddd;pointer-events:none!important;z-index:15}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}.tabulator-row .tabulator-frozen{display:inline-block;position:absolute;background-color:inherit;z-index:10}.tabulator-row .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #ddd}.tabulator-row .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #ddd}.tabulator-row .tabulator-responsive-collapse{-webkit-box-sizing:border-box;box-sizing:border-box;padding:5px;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:14px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;padding:4px;border-right:1px solid #ddd;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabulator-row .tabulator-cell:last-of-type{border-right:none}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1d68cd;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #d00}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell:first-child .tabulator-col-resize-handle.prev{display:none}.tabulator-row .tabulator-cell.tabulator-row-handle{display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #ddd;border-bottom:2px solid #ddd}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center;-ms-flex-align:center;-webkit-box-align:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open,.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #ddd;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#fafafa;font-weight:700;min-width:100%}.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:rgba(0,0,0,.1)}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#666}.tabulator-menu{position:absolute;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff;border:1px solid #ddd;-webkit-box-shadow:0 0 5px 0 rgba(0,0,0,.2);box-shadow:0 0 5px 0 rgba(0,0,0,.2);font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-menu .tabulator-menu-item{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;padding:5px 10px;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#fff}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:"";border-color:#ddd;border-style:solid;border-width:1px 1px 0 0;vertical-align:top;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #ddd}.tabulator-edit-select-list{position:absolute;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;max-height:200px;background:#fff;border:1px solid #ddd;font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-edit-select-list .tabulator-edit-select-list-item{padding:4px;color:#333}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff;background:#1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid hsla(0,0%,100%,.5)}.tabulator-edit-select-list .tabulator-edit-select-list-item.focused{outline:1px solid #1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{cursor:pointer;color:#fff;background:#1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-notice{padding:4px;color:#333;text-align:center}.tabulator-edit-select-list .tabulator-edit-select-list-group{border-bottom:1px solid #ddd;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #ddd;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:0;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow{left:8px;right:auto}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #ddd}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:0;margin-left:5px;border-bottom-left-radius:0;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #ddd}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:0;margin-left:5px}.tabulator.tabulator-rtl .tabulator-col-resize-handle{position:absolute;left:0;right:auto}.tabulator.tabulator-rtl .tabulator-col-resize-handle.prev{right:0;left:auto}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-print-table-group{-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #ddd;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#fafafa;font-weight:700;min-width:100%}.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:rgba(0,0,0,.1)}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#666}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #ddd;border-bottom:2px solid #ddd}.tabulator-print-table .tabulator-data-tree-control{display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center;-ms-flex-align:center;-webkit-box-align:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.ft-wrapper{margin-top:8px;width:100%;margin-bottom:40px}.ft-container{position:relative}.ft-container .ft-time{width:100%;position:relative}.ft-container .ft-time .ft-date-container{width:4px;height:14px;line-height:14px;background-color:#1ab;cursor:default}.ft-container .ft-time-origin-container{width:28px;height:14px;line-height:14px;color:#1ab;text-align:center;cursor:pointer}.ft-container .ft-time-origin-container .ft-time-origin{vertical-align:baseline;color:#1ab}.ft-container .ft-time-origin-container .ft-time-origin.ft-time-origin-active{color:#0277bd}.ft-container .ft-timeline-container .ft-timeline{height:14px;width:100%;top:0;margin:0;position:relative;padding:0;cursor:pointer}.ft-container .ft-timeline-container .ft-timeline .ft-timeline-viewer{height:1px;background-color:#1ab;width:100%;position:absolute;top:6.5px;z-index:9000}.ft-container .ft-timeline-container .ft-timeline .ft-slice-container{z-index:10000;width:4px;height:14px;position:absolute}.ft-container .ft-timeline-container .ft-timeline .ft-slice-container .ft-slice{height:100%;width:100%;background-color:#1ab}.ft-container .ft-timeline-container .ft-timeline .ft-slice-container .ft-slice-caption{font-size:.65em;color:#1ab;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.ft-container .ft-timeline-container .ft-timeline .ft-actual-time{height:14px;font-size:22px;color:#1ab;position:absolute;top:-12px;left:-15px;z-index:10001}.kd-is-app .ft-container .ft-time .ft-date-container{background-color:var(--app-main-color)}.kd-is-app .ft-container .ft-time-origin-container,.kd-is-app .ft-container .ft-time-origin-container .ft-time-origin{color:var(--app-main-color)}.kd-is-app .ft-container .ft-time-origin-container .ft-time-origin.ft-time-origin-active{color:var(--app-link-color)}.kd-is-app .ft-container .ft-timeline-container .ft-timeline{background-color:var(--app-background-color)}.kd-is-app .ft-container .ft-timeline-container .ft-timeline .ft-slice-container .ft-slice,.kd-is-app .ft-container .ft-timeline-container .ft-timeline .ft-timeline-viewer{background-color:var(--app-main-color)}.kd-is-app .ft-container .ft-timeline-container .ft-timeline .ft-actual-time,.kd-is-app .ft-container .ft-timeline-container .ft-timeline .ft-slice-container .ft-slice-caption{color:var(--app-main-color)}.ft-date-tooltip{width:150px}.ft-date-tooltip .ft-date-tooltip-content{text-align:center}.dv-empty-documentation{position:absolute;width:100%;height:80px;text-aling:center;top:calc((100% - 80px)/2);padding:0;text-align:center;font-size:60px;font-weight:700;color:#1ab}.dv-documentation-wrapper{position:absolute;left:0;width:100%;height:100%;overflow:auto;border:none}.dv-documentation .dv-content{padding:1em 2em}.dv-documentation .dv-content h1,.dv-documentation .dv-content h2,.dv-documentation .dv-content h3,.dv-documentation .dv-content h4,.dv-documentation .dv-content h5,.dv-documentation .dv-content h6{font-weight:700;color:#777;margin:0;padding:.6em 0}.dv-documentation .dv-content [id]{-webkit-transition:.3s ease;transition:.3s ease;border-radius:4px}.dv-documentation .dv-content [id].dv-selected{-webkit-animation:blinker 1.5s;animation:blinker 1.5s}.dv-documentation .dv-table-container .dv-table-title{font-weight:700;color:#777;font-size:larger;padding:16px 0}.dv-documentation .dv-table-container .dv-table-bottom{margin:8px 0 0}.dv-documentation .dv-figure-container{padding:16px;margin:16px 0;border:1px solid #1ab;max-width:960px}.dv-documentation .dv-figure-container .dv-figure-caption-wrapper{padding-bottom:8px}.dv-documentation .dv-figure-container .dv-figure-caption{color:#1ab;font-style:italic}.dv-documentation .dv-figure-container .dv-figure-timestring{color:#1ab;font-size:.8em;text-align:right}.dv-documentation .dv-figure-wrapper .dv-figure-image{text-align:center;overflow:hidden;max-width:640px}.dv-documentation .dv-figure-wrapper .dv-figure-image img{width:100%;max-width:640px}.dv-documentation .dv-figure-wrapper .dv-col-fill,.dv-documentation .dv-figure-wrapper .dv-figure-legend{padding-left:16px;width:320px;max-width:320px}.dv-documentation .dv-figure-wrapper .dv-figure-wait{max-width:640px;min-height:320px;height:auto;border:1px solid #eee;text-align:center}.dv-documentation .dv-figure-wrapper .dv-figure-wait .q-spinner{color:#9e9e9e}.dv-documentation .dv-figure-wrapper .hv-details-nodata,.dv-documentation .dv-figure-wrapper .hv-histogram-nodata{display:none}.dv-documentation .dv-figure-wrapper .hv-categories{margin-left:8px}.dv-documentation .dv-figure-wrapper .hv-categories .hv-category{overflow:hidden;color:#1ab}.dv-documentation .dv-citation,.dv-documentation .dv-paragraph,.dv-documentation .dv-reference{color:var(--app-main-color)}.dv-documentation .dv-citation a,.dv-documentation .dv-paragraph a,.dv-documentation .dv-reference a{display:inline-block;text-decoration:none;color:var(--app-main-color)}.dv-documentation .dv-citation a:visited,.dv-documentation .dv-paragraph a:visited,.dv-documentation .dv-reference a:visited{color:var(--app-main-color)}.dv-documentation .dv-citation a:after,.dv-documentation .dv-paragraph a:after,.dv-documentation .dv-reference a:after{content:"";display:block;width:0;border-bottom-width:1px;border-bottom-style:solid;-webkit-transition:width .3s;transition:width .3s}.dv-documentation .dv-citation a:not(.disabled):hover:after,.dv-documentation .dv-paragraph a:not(.disabled):hover:after,.dv-documentation .dv-reference a:not(.disabled):hover:after{width:100%}.dv-documentation .dv-citation a.disabled,.dv-documentation .dv-paragraph a.disabled,.dv-documentation .dv-reference a.disabled{cursor:default!important}.dv-documentation .dv-model-container,.dv-documentation .dv-resource-container{margin:8px 0;padding:8px 16px;color:#1ab;font-weight:400}.dv-documentation .dv-resource-container{border:1px solid #1ab;border-radius:10px!important;margin:16px 0}.dv-documentation .dv-resource-container.dv-selected{border-width:4px!important}.dv-documentation .dv-resource-container .dv-resource-title-container{background-color:var(--app-darklight-background-color);padding:8px;margin:8px 0 16px;border-radius:2px}.dv-documentation .dv-resource-container .dv-resource-title-container .dv-resource-title{font-size:var(--app-title-size);font-weight:300}.dv-documentation .dv-resource-container .dv-resource-title-container .dv-resource-originator{font-size:var(--app-subtitle-size);font-weight:300}.dv-documentation .dv-resource-container .dv-resource-title-container .dv-resource-keywords{padding:8px 8px 0 0}.dv-documentation .dv-resource-container .dv-resource-title-container .dv-resource-keywords .dv-resource-keyword,.dv-documentation .dv-resource-container .dv-resource-title-container .dv-resource-keywords .dv-resource-keyword-separator,.dv-documentation .dv-resource-container .dv-resource-title-container .dv-resource-keywords .dv-resource-keyword-wrapper{display:inline-block;font-size:var(--app-small-size);color:var(--app-link-color)}.dv-documentation .dv-resource-container .dv-resource-description{font-size:smaller}.dv-documentation .dv-resource-map{width:360px}.dv-documentation .dv-resource-map .dv-resource-authors{font-size:var(--app-small-size);padding-bottom:5px}.dv-documentation .dv-resource-map .dv-resource-authors .dv-resource-author,.dv-documentation .dv-resource-map .dv-resource-authors .dv-resource-author-separator,.dv-documentation .dv-resource-map .dv-resource-authors .dv-resource-author-wrapper{display:inline-block}.dv-documentation .dv-resource-map .dv-resource-authors .dv-resource-author-separator{padding-right:8px}.dv-documentation .dv-resource-map .dv-resource-references{font-size:calc(var(--app-small-size) - 2px)}.dv-documentation .dv-resource-urls{margin:16px 0 0;font-size:var(--app-small-size)}.dv-documentation .klab-inline-link{font-size:var(--app-small-size);vertical-align:super}.dv-documentation .dv-button{padding:8px}.kd-is-app{background-image:none!important}.kd-is-app .kd-container{background-color:var(--app-darken-background-color)}.kd-is-app .dv-documentation-wrapper{border-top-left-radius:8px}.kd-is-app .dv-empty-documentation{color:var(--app-text-color)}.kd-is-app .dv-documentation,.kd-is-app .dv-documentation .dv-content{background-color:var(--app-background-color)}.kd-is-app .dv-documentation .dv-content h1,.kd-is-app .dv-documentation .dv-content h2,.kd-is-app .dv-documentation .dv-content h3,.kd-is-app .dv-documentation .dv-content h4,.kd-is-app .dv-documentation .dv-content h5,.kd-is-app .dv-documentation .dv-content h6{color:var(--app-text-color)}.kd-is-app .dv-documentation .dv-table-container .dv-table-title{color:var(--app-main-color)}.kd-is-app .dv-documentation .dv-figure-container .dv-figure-caption{color:var(--app-text-color)}.kd-is-app .dv-documentation .dv-figure-container .dv-figure-timestring,.kd-is-app .dv-documentation .dv-figure-container .dv-figure-wait .q-spinner{color:var(--app-main-color)}.kd-is-app .dv-documentation .dv-figure-container .hv-categories .hv-category,.kd-is-app .dv-documentation .dv-figure-container .hv-data-details,.kd-is-app .dv-documentation .dv-figure-container .hv-data-value,.kd-is-app .dv-documentation .dv-figure-container .hv-tooltip{color:var(--app-text-color)}.kd-is-app .dv-documentation .dv-model-container,.kd-is-app .dv-documentation .dv-resource-container{color:var(--app-main-color)}.kd-is-app .dv-documentation .dv-resource-container{border-color:var(--app-main-color)}.kd-is-app .dv-documentation .dv-model-container{font-family:monospace}.kd-is-app .dv-documentation .dv-model-container .dv-selected{font-size:larger}.kd-is-app .dv-documentation .dv-model-container .dv-model-space{display:inline-block;width:2em}.kd-is-app .dv-documentation .dv-reference{margin:8px 0;padding:8px 0}.kd-is-app .dv-documentation .dv-reference.dv-selected{color:var(--app-text-color)}.kd-is-app .dv-documentation .dv-other-container{display:none}.kd-is-app .dv-documentation .klab-link{color:var(--app-link-color);font-weight:500!important}.kd-is-app .dv-documentation .klab-link:visited{color:var(--app-link-visited-color)}.kd-is-app .dv-documentation .dv-button{color:var(--app-main-color)}@media print{.kd-modal .modal-content .dv-figure-wrapper,.kd-modal .modal-content .dv-resource-container,.kd-modal .modal-content .dv-table-container{-webkit-column-break-inside:avoid;-moz-column-break-inside:avoid;break-inside:avoid}.kd-modal .modal-content .dv-figure-container{border:none}.kd-modal .modal-content .dv-figure-container .dv-figure-caption,.kd-modal .modal-content .dv-figure-container .dv-figure-timestring{color:#000}.kd-modal .modal-content .hv-category{color:#000!important}.kd-modal .modal-content .ft-container .ft-time .ft-date-container{background-color:#fff}.kd-modal .modal-content .ft-container .ft-time-origin-container,.kd-modal .modal-content .ft-container .ft-time-origin-container .ft-time-origin,.kd-modal .modal-content .ft-container .ft-time-origin-container .ft-time-origin.ft-time-origin-active{color:#000}.kd-modal .modal-content .ft-container .ft-timeline-container .ft-timeline{background-color:#fff}.kd-modal .modal-content .ft-container .ft-timeline-container .ft-timeline .ft-slice-container .ft-slice,.kd-modal .modal-content .ft-container .ft-timeline-container .ft-timeline .ft-timeline-viewer{background-color:#000}.kd-modal .modal-content .dv-model-container,.kd-modal .modal-content .dv-resource-container,.kd-modal .modal-content .ft-container .ft-timeline-container .ft-timeline .ft-actual-time,.kd-modal .modal-content .ft-container .ft-timeline-container .ft-timeline .ft-slice-container .ft-slice-caption{color:#000}.kd-modal .modal-content .dv-resource-container{border:1px solid #000}.kd-modal .modal-content .dv-resource-container .dv-resource-title-container{background-color:#fff}.kd-modal .modal-content .dv-resource-container .dv-resource-title-container .dv-resource-keywords .dv-resource-keyword,.kd-modal .modal-content .dv-resource-container .dv-resource-title-container .dv-resource-keywords .dv-resource-keyword-separator,.kd-modal .modal-content .dv-resource-container .dv-resource-title-container .dv-resource-keywords .dv-resource-keyword-wrapper,.kd-modal .modal-content .dv-resource-container .dv-resource-urls .klab-link{color:#000}}@-webkit-keyframes blinker{40%{opacity:1}60%{opacity:.2}80%{opacity:1}}@keyframes blinker{40%{opacity:1}60%{opacity:.2}80%{opacity:1}}.kexplorer-container.kd-is-app{background-color:var(--app-background-color)}.kd-modal .modal-content{border-radius:20px;padding:20px 0;background-color:#fff;overflow:hidden;width:1024px;min-height:80vh}.kd-modal .dv-documentation-wrapper .dv-content{padding-top:0}.kd-modal .dv-print-hide{position:absolute;top:5px;right:20px}@media print{body{min-width:100%}#q-app{display:none}.kd-modal.fullscreen{position:static}.kd-modal .modal-content{min-width:100%;max-width:100%;min-height:100%;max-height:100%;-webkit-box-shadow:none;box-shadow:none;width:100%!important;border-radius:0!important}.dv-documentation-wrapper p,.dv-documentation-wrapper table td{word-break:break-word}.dv-documentation-wrapper{display:block!important;position:relative!important;overflow:visible!important;overflow-y:visible!important;width:100%!important;height:100%!important;margin:0!important;left:0!important;border:none!important}.modal-backdrop{background:transparent!important}}.dip-container{color:#fff;padding-top:30px;width:100%}.dip-container .dip-content{margin-bottom:40px}.dip-container .dip-close{width:100%;text-align:right;position:absolute;left:0;top:0;color:#fff}.dip-container .simplebar-scrollbar:before{background:#888}.dip-container article{padding:0 10px}.dip-container article hr{height:1px;border:none;border-top:1px solid rgba(24,24,24,.5);border-bottom:1px solid #444}.dip-container article h1{color:#1ab;font-size:1.4em;margin:0 0 10px;font-weight:700;word-break:break-all}.dip-container article .dfe-fixed{color:hsla(0,0%,100%,.6);font-size:.7em}.dip-container article .dfe-fixed p{margin:0 0 .6em}.dip-container article .dfe-content{font-size:.8em}.dip-container article .dfe-content table{padding:10px 0}.dip-container article .dfe-content table th{color:#ffc300;text-align:left;border-bottom:1px solid;margin:0}.dip-container article .dfe-content table tr:nth-child(2n){background-color:hsla(0,0%,59.6%,.1)}.dip-container article .dfe-content mark{background-color:transparent;color:#ffc300;font-weight:700}.dip-container article .dfe-content div{margin:.2em 0 .8em;padding:5px;border-radius:5px;background-color:hsla(0,0%,59.6%,.4);word-break:break-all}.dip-container article .dfe-content div p{margin-bottom:.5em}.kd-is-app .dip-container{color:var(--app-text-color)}.kd-is-app .dip-close{color:var(--app-main-color)}.kd-is-app .simplebar-scrollbar:before{background:var(--app-main-color)}.kd-is-app article hr{border-top:none;border-bottom:1px solid var(--app-main-color)}.kd-is-app article h1{color:var(--app-title-color)}.kd-is-app article .dfe-fixed{color:var(--app-lighten-main-color)}.kd-is-app article .dfe-content table th{color:var(--app-title-color)}.kd-is-app article .dfe-content table tr:nth-child(2n){background-color:var(--app-darken-background-color,.1)}.kd-is-app article .dfe-content mark{color:var(--app-title-color)}.kd-is-app article .dfe-content div{background-color:var(--app-darken-background-color,.4)}.kd-is-app article .dfe-content div p{margin-bottom:.5em}.dfv-container{width:100%}.dfv-container.dfv-with-info{width:calc(100% - 320px)}.dfv-container.dfv-with-info #sprotty{right:320px}.dfv-container .dfv-graph-info{position:absolute;top:0;left:0;width:100%;height:40px;background-color:#e0e0e0;border-bottom:1px solid hsla(0,0%,52.9%,.2)}.dfv-container .dfv-graph-info .dfv-graph-type{padding:10px;font-weight:500;min-width:100px;width:50%;float:left;color:var(--app-title-color)}.dfv-container .dfv-graph-info .dfv-graph-selector{text-align:right;min-width:100px;width:50%;right:0;float:left}.dfv-container .dfv-graph-info .dfv-graph-selected{cursor:default;background-color:var(--app-main-color);color:#fff}.dfv-container #sprotty{position:absolute;background-color:#e0e0e0;top:40px;left:0;right:0;bottom:0}.dfv-container #sprotty svg{width:100%;height:calc(100% - 5px);cursor:default}.dfv-container #sprotty svg:focus{outline-style:none}.dfv-container #sprotty svg .elknode{stroke:#b0bec5;fill:#eceff1;stroke-width:1}.dfv-container #sprotty svg .elkport{stroke:#78909c;stroke-width:1;fill:#78909c}.dfv-container #sprotty svg .elkedge{fill:none;stroke:#546e7a;stroke-width:1}.dfv-container #sprotty svg .elkedge.arrow{fill:#37474f}.dfv-container #sprotty svg .elklabel{stroke-width:0;stroke:#000;fill:#000;font-family:Roboto;font-size:12px;dominant-baseline:middle}.dfv-container #sprotty svg .elkjunction{stroke:none;fill:#37474f}.dfv-container #sprotty svg .selected>rect{stroke-width:3px}.dfv-container #sprotty svg .elk-actuator,.dfv-container #sprotty svg .elk-instantiator,.dfv-container #sprotty svg .elk-resolver,.dfv-container #sprotty svg .elk-resources,.dfv-container #sprotty svg .elk-table,.dfv-container #sprotty svg .mouseover{stroke-width:2px}.dfv-container #sprotty svg .waiting.elk-resource{fill:#e8f5e9;stroke:#c8e6c9}.dfv-container #sprotty svg .waiting.elk-actuator,.dfv-container #sprotty svg .waiting.elk-resolver{fill:#cfd8dc;stroke:#b0bec5}.dfv-container #sprotty svg .waiting.elk-instantiator,.dfv-container #sprotty svg .waiting.elk-table{fill:#e0e0e0;stroke:#bdbdbd}.dfv-container #sprotty svg .waiting.elk-resource_entity{fill:#80cbc4;stroke:blue-$grey-4}.dfv-container #sprotty svg .waiting.elk-semantic_entity{fill:#b2dfdb;stroke:#80cbc4}.dfv-container #sprotty svg .waiting.elk-literal_entity{fill:#80cbc4;stroke:#4db6ac}.dfv-container #sprotty svg .waiting.elk-model_activity{fill:#4db6ac;stroke:#26a69a}.dfv-container #sprotty svg .waiting.elk-task_activity{fill:#e0f2f1;stroke:#b2dfdb}.dfv-container #sprotty svg .waiting.elk-dataflow_plan{fill:#b2dfdb;stroke:#80cbc4}.dfv-container #sprotty svg .waiting.elk-klab_agent{fill:#80cbc4;stroke:#4db6ac}.dfv-container #sprotty svg .waiting.elk-user_agent,.dfv-container #sprotty svg .waiting.elk-view_entity{fill:#4db6ac;stroke:#26a69a}.dfv-container #sprotty svg .processed.elk-resource{fill:#c8e6c9;stroke:#a5d6a7}.dfv-container #sprotty svg .processed.elk-actuator,.dfv-container #sprotty svg .processed.elk-resolver{fill:#b0bec5;stroke:#78909c}.dfv-container #sprotty svg .processed.elk-instantiator,.dfv-container #sprotty svg .processed.elk-table{fill:#bdbdbd;stroke:#9e9e9e}.dfv-container #sprotty svg .processing.elk-resource{fill:#a5d6a7;stroke:#81c784}.dfv-container #sprotty svg .processing.elk-actuator,.dfv-container #sprotty svg .processing.elk-resolver{fill:#78909c;stroke:#455a64}.dfv-container #sprotty svg .processing.elk-instantiator,.dfv-container #sprotty svg .processing.elk-table{fill:#9e9e9e;stroke:#757575}.dfv-info-container{position:absolute;background-color:rgba(35,35,35,.9);overflow:hidden;height:100%!important;width:320px;left:calc(100% - 320px);right:0;bottom:0;top:0;z-index:1001}.kd-is-app #dfv-container #sprotty{background-color:var(--app-darken-background-color);padding-left:16px}.kd-is-app .dfv-info-container{background-color:rgba(var(--app-rgb-background-color),.9)}.irm-container{padding:20px;width:60vw;overflow:hidden;position:relative}.irm-container h3,.irm-container h4,.irm-container h5,.irm-container p{margin:0;padding:0;color:#1ab}.irm-container h3,.irm-container p{margin-bottom:10px}.irm-container h3,.irm-container h4,.irm-container h5{line-height:1.4em}.irm-container h3{font-size:1.4em}.irm-container h4{font-size:1.2em}.irm-container h5{font-size:1em}.irm-container h4+p,.irm-container h5+p{color:#333;font-size:.8em;font-style:italic}.irm-container h5+p{padding-bottom:10px}.irm-container .q-tabs:not(.irm-tabs-hidden) .q-tabs-head,.irm-container h5+p{border-bottom:1px solid #1ab}.irm-container .q-tab:not(.irm-tabs-hidden){border-top-left-radius:5px;border-top-right-radius:5px;background-color:#1ab}.irm-container .q-tabs-position-top>.q-tabs-head .q-tabs-bar{border-bottom-width:10px;color:hsla(0,0%,100%,.3)}.irm-container .irm-fields-container{max-height:50vh;overflow:hidden;border:1px dotted #1ab;margin:10px 0}.irm-container .irm-fields-container .irm-fields-wrapper{padding:10px;overflow-x:hidden}.irm-container .irm-fields-container label{font-style:italic}.irm-container .irm-group{margin-bottom:30px}.irm-container .irm-buttons{position:absolute;bottom:0;right:0;margin:0 30px 10px 0}.irm-container .irm-buttons .q-btn{margin-left:10px}.scd-inactive-multiplier .q-input-target{color:#979797}#dmc-container.full-height{height:calc(100% - 86px)!important}#dmc-container #kt-out-container{height:100%;position:relative}#dmc-container #dmc-tree{-ms-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;-moz-user-select:-moz-none;-webkit-user-select:none;background-color:hsla(0,0%,46.7%,.65);overflow:hidden}#dmc-container #dmc-tree #klab-tree-pane{height:100%}#dmc-container #dmc-tree #oi-container{height:calc(100% - 24px);max-height:calc(100% - 24px)}#dmc-container #dmc-tree #oi-container #oi-metadata-map-wrapper{height:calc(100% - 24px)}#dmc-container #dmc-tree #oi-container #oi-metadata-map-wrapper.k-with-histogram{height:calc(100% - 200px)}#dmc-container.dmc-dragging{cursor:move!important}#dmc-container .kbc-container{margin:2px;padding:0;height:10px}#dmc-container .q-card-main.dmc-loading{background:-webkit-gradient(linear,left top,right top,from(#333),to(#999));background:linear-gradient(90deg,#333,#999);background-size:200% 100%;-webkit-animation:loading-gradient 4s linear infinite;animation:loading-gradient 4s linear infinite}#dmc-container .q-card-main.dmc-loading .ktp-loading{background:transparent;-webkit-animation:none;animation:none}#dmc-container details{background-color:#777;border-top:1px solid #333}#dmc-container details #ktp-main-tree-arrow{background-color:#333}#dmc-container details[open]{border-bottom:1px solid #333}#dmc-container .dmc-timeline .ot-container{padding:9px 0}#lm-container{width:100%;overflow:hidden}#lm-container #spinner-leftmenu-container{padding-top:10px;padding-bottom:20px}#lm-container #spinner-leftmenu-div{width:44px;height:44px;margin-top:10px;margin-left:auto;margin-right:auto;background-color:#fff;border-radius:40px;border:2px solid}#lm-container #lm-actions,#lm-container #lm-content{float:left;border-right:1px solid hsla(0,0%,52.9%,.2)}#lm-container #lm-actions.klab-lm-panel,#lm-container #lm-content.klab-lm-panel{background-color:rgba(35,35,35,.5)}#lm-container .lm-separator{width:90%;left:5%;height:2px;border-top:1px solid rgba(24,24,24,.5);border-bottom:1px solid #444;margin:0 auto}#lm-container .klab-button{display:block;font-size:30px;width:42px;height:42px;line-height:42px;vertical-align:middle;padding:0 5px;margin:15px auto}#lm-container .klab-main-actions .klab-button:hover{color:#1ab!important}#lm-container .klab-main-actions .klab-button:active{color:#fff}#lm-container .klab-button-notification{width:10px;height:10px;top:5px;right:5px}#lm-container .sb-scales{margin:0}#lm-container .sb-scales .lm-separator{width:60%;border-top-style:dashed;border-bottom-style:dashed}#lm-container #lm-bottom-menu{width:100%;position:fixed;bottom:0;left:0}.ol-box{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:2px;border:2px solid #00f}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:rgba(0,60,136,.3);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;text-align:center;margin:1px;will-change:contents,width}.ol-overlay-container{will-change:left,right,top,bottom}.ol-unsupported{display:none}.ol-unselectable,.ol-viewport{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:grab}.ol-control{position:absolute;background-color:hsla(0,0%,100%,.4);border-radius:4px;padding:2px}.ol-control:hover{background-color:hsla(0,0%,100%,.6)}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;-webkit-transition:opacity .25s linear,visibility 0s linear;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;-webkit-transition:opacity .25s linear,visibility 0s linear .25s;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}@media print{.ol-control{display:none}}.ol-control button{display:block;margin:1px;padding:0;color:#fff;font-size:1.14em;font-weight:700;text-decoration:none;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:rgba(0,60,136,.5);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;font-size:1.2em;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:focus,.ol-control button:hover{text-decoration:none;background-color:rgba(0,60,136,.7)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em)}.ol-attribution ul{margin:0;padding:0 .5em;font-size:.7rem;line-height:1.375em;color:#000;text-shadow:0 0 2px #fff}.ol-attribution li{display:inline;list-style:none;line-height:inherit}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button,.ol-attribution ul{display:inline-block}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:hsla(0,0%,100%,.8)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0;height:1.1em;line-height:1em}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:inline-block}.ol-overviewmap .ol-overviewmap-map{border:1px solid #7b98bc;height:150px;margin:2px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:1px;left:2px;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:hsla(0,0%,100%,.8)}.ol-overviewmap-box{border:2px dotted rgba(0,60,136,.7)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.kexplorer-container{background-color:#263238;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHUlEQVQIW2NgY2OzYUACYL6+vn4UsgAynwwBEB8ARuIGpsZxGOoAAAAASUVORK5CYII=)}.klab-spinner{display:inline;vertical-align:middle;background-color:#fff;border-radius:40px;padding:3px;margin:0}.kexplorer-undocking{position:fixed;left:0;top:0;background-color:rgba(35,35,35,.3);border:4px solid hsla(0,0%,52.9%,.6);-webkit-animation-duration:.2s;animation-duration:.2s;cursor:move}.klab-left{position:absolute;background-color:rgba(35,35,35,.8)}.klab-large-mode.no-scroll{overflow:visible!important}.kapp-container .kcv-alert .modal-backdrop{background-color:transparent}.kapp-container .q-input-target{color:var(--app-text-color);background-color:var(--app-background-color);line-height:var(--app-line-height);height:auto}.kapp-container .q-btn{min-height:var(--app-line-height)}.kapp-container .q-no-input-spinner{-moz-appearance:textfield!important}.kapp-container .q-no-input-spinner::-webkit-inner-spin-button,.kapp-container .q-no-input-spinner::-webkit-outer-spin-button{-webkit-appearance:auto}.kapp-container .q-if:after,.kapp-container .q-if:before{border-bottom-style:none}.kapp-container .q-if .q-if-inner{min-height:unset}.kapp-container .q-if-baseline{line-height:var(--app-line-height)}.kapp-container .q-field-bottom,.kapp-container .q-field-icon,.kapp-container .q-field-label,.kapp-container .q-if,.kapp-container .q-if-addon,.kapp-container .q-if-control,.kapp-container .q-if-label,.kapp-container .q-if:before{-webkit-transition:none;transition:none}.kcv-main-container+.kcv-group{padding-bottom:1px}.kcv-main-container>.kcv-group{height:100%!important;border-bottom:1px solid var(--app-main-color)}.kcv-main-container>.kcv-group>.kcv-group-container>.kcv-group-content>.kcv-group>.kcv-group-content{padding-bottom:0!important}.kcv-main-container>.kcv-group .kcv-group-container{height:100%!important}.kcv-main-container>.kcv-group .kcv-group-container .kcv-group-content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:center;align-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%!important}.kcv-main-container>.kcv-group .kcv-group-container .kcv-group-content .kcv-group:not(.kcv-wrapper)>.kcv-group-content{padding-bottom:var(--app-smaller-mp);-ms-flex-pack:distribute;justify-content:space-around}.kcv-main-container>.kcv-group .kcv-group-container .kcv-group-content .kcv-group:not(.kcv-wrapper)>.kcv-group-content .kcv-group{padding:calc(var(--app-smaller-mp)/4) 0}.kcv-main-container>.kcv-group .kcv-group-container .kcv-group-content .kcv-group:not(.kcv-wrapper)>.kcv-group-content .kcv-pushbutton{margin:var(--app-large-mp) 0}.kcv-main-container>.kcv-group .kcv-group-container .kcv-group-content .kcv-group-legend{color:var(--app-title-color);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2em;vertical-align:center;font-weight:300;font-size:1.2em}.kcv-main-container>.kcv-group .kcv-group-bottom{position:fixed;bottom:0;z-index:1000;background-color:var(--app-background-color);border-top:1px solid var(--app-main-color)}.kcv-collapsible .kcv-collapsible-header{background-color:var(--app-background-color);color:var(--app-title-color);border-bottom:1px solid var(--app-darken-background-color)}.kcv-collapsible .kcv-collapsible-header .q-item-side-left{min-width:0}.kcv-collapsible .kcv-collapsible-header .q-item-side-left .q-icon{font-size:1.2em;width:1.2em}.kcv-collapsible .kcv-collapsible-header .q-item-label{font-size:var(--app-font-size)}.kcv-collapsible .kcv-collapsible-header .q-item-side{color:var(--app-title-color)}.kcv-collapsible .kcv-collapsible-header .q-item-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.kcv-collapsible .kcv-collapsible-header .q-item-icon.rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.kcv-collapsible .q-item{min-height:unset;padding:var(--app-small-mp)}.kcv-collapsible .q-collapsible-sub-item{padding:0}.kcv-collapsible .q-collapsible-sub-item>.kcv-group{border-top:1px solid var(--app-main-color);border-bottom:1px solid var(--app-main-color)}.kcv-tree-container{padding:var(--app-small-mp) 0;position:relative;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.kcv-tree-container .kcv-tree-legend{color:var(--app-title-color);padding:var(--app-small-mp);margin:0 var(--app-small-mp);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kcv-hr-separator{width:100%;color:var(--app-main-color);height:1px}.kcv-separator{padding:var(--app-large-mp) var(--app-small-mp);position:relative;border-bottom:1px solid var(--app-main-color);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;line-height:1.2em}.kcv-separator .kcv-separator-icon{margin-right:var(--app-small-mp);font-size:1.2em;width:1.2em}.kcv-separator .kcv-separator-title{font-weight:300;font-size:1.2em;-webkit-box-flex:10;-ms-flex-positive:10;flex-grow:10}.kcv-separator .kcv-separator-right{font-size:1.3em;width:1.2em;-ms-flex-item-align:start;align-self:flex-start;cursor:pointer}.kcv-label{font-weight:400;color:var(--app-main-color);vertical-align:middle;line-height:calc(var(--app-line-height) + 4px);-ms-flex-item-align:center;align-self:center;padding:var(--app-smaller-mp) var(--app-small-mp)}.kcv-label.kcv-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.kcv-label.kcv-with-icon{min-width:calc(1rem + var(--app-small-mp)*2)}.kcv-label .kcv-label-icon{margin-right:var(--app-small-mp)}.kcv-label.kcv-title{color:var(--app-alt-color);font-weight:700;cursor:default;margin-top:var(--app-smaller-mp)}.kcv-label.kcv-clickable{cursor:pointer}.kcv-text{margin:var(--app-large-mp) var(--app-small-mp);text-align:justify;position:relative;color:var(--app-text-color)}.kcv-text .kcv-internal-text{overflow:hidden}.kcv-text .kcv-internal-text p{padding:0 var(--app-small-mp);margin-bottom:var(--app-large-mp)}.kcv-text .kcv-internal-text strong{color:var(--app-title-color)}.kcv-text .kcv-collapse-button{width:100%;position:absolute;bottom:0;left:0;text-align:center;vertical-align:middle;line-height:20px;opacity:0;-webkit-transition:opacity .3s;transition:opacity .3s;cursor:pointer;background-color:rgba(var(--app-rgb-main-color),.1);border-bottom-left-radius:4px;border-bottom-right-radius:4px}.kcv-text:hover .kcv-collapse-button{opacity:1}.kcv-text.kcv-collapse{margin-bottom:1em}.kcv-text.kcv-collapsed{padding-top:0;height:20px!important;overflow:hidden;padding-bottom:14px}.kcv-text.kcv-collapsed .kcv-internal-text{display:none}.kcv-text.kcv-collapsed .kcv-collapse-button{opacity:1;border-radius:4px}.kcv-form-element{margin:0 var(--app-small-mp)}.kcv-form-element:not(.kcv-roundbutton){border-radius:6px}.kcv-text-input{min-height:var(--app-line-height);vertical-align:middle;border:1px solid var(--app-main-color);background-color:var(--app-background-color);padding:var(--app-smaller-mp) var(--app-small-mp)}.kcv-text-input.kcv-search{margin-top:var(--app-smaller-mp)}.kcv-combo{padding:2px 10px;background-color:var(--app-background-color);border-radius:6px;border:1px solid var(--app-main-color)}.kcv-combo-option{color:var(--app-main-color);min-height:unset;padding:var(--app-small-mp) var(--app-large-mp)}.kcv-pushbutton{font-size:var(--app-font-size);margin:0 var(--app-small-mp)}.kcv-pushbutton .q-icon{color:var(--button-icon-color)}.kcv-reset-button,.kcv-roundbutton{margin:0 var(--app-smaller-mp)}.kcv-checkbutton{display:block;padding:var(--app-smaller-mp) var(--app-small-mp)}.kcv-checkbutton:not(.kcv-check-only){width:100%}.kcv-checkbutton.kcv-check-computing span,.kcv-checkbutton.kcv-check-waiting span{font-style:italic}.kcv-checkbutton.kcv-check-computing .q-icon:before,.kcv-checkbutton.kcv-check-waiting .q-icon:before{font-size:calc(1em + 1px);-webkit-animation:q-spin 2s linear infinite;animation:q-spin 2s linear infinite}.kcv-label-toggle{color:var(--app-darken-background-color);text-shadow:-1px -1px 0 var(--app-main-color)}.kcv-error-tooltip{background-color:var(--app-negative-color)}.kcv-browser{border-radius:8px}.kcv-style-dark .kcv-reset-button{color:#fa7575!important}@-webkit-keyframes flash-button{50%{background-color:var(--flash-color)}}@keyframes flash-button{50%{background-color:var(--flash-color)}}body .klab-main-app{position:relative}body .km-modal-window{background-color:var(--app-background-color)}body .km-modal-window iframe{background-color:#fff}body .kapp-footer-container,body .kapp-header-container,body .kapp-left-inner-container,body .kapp-main-container:not(.is-kexplorer),body .kapp-right-inner-container{color:var(--app-text-color);font-family:var(--app-font-family);font-size:var(--app-font-size);line-height:var(--app-line-height);background-color:var(--app-background-color);padding:0;margin:0}body .kapp-right-inner-container{position:absolute!important}body .kapp-right-inner-container .kapp-right-wrapper{overflow:hidden}body .kapp-left-inner-container{position:absolute!important}body .kapp-left-inner-container .kapp-left-wrapper{overflow:hidden}.kapp-main.q-layout{border:0;padding:0;margin:0}.kapp-main .simplebar-scrollbar:before{background-color:var(--app-main-color)}.kapp-header{background-color:var(--app-background-color);padding:0;margin:0;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;height:calc(40px + var(--app-title-size) + var(--app-subtitle-size));min-height:calc(40px + var(--app-title-size) + var(--app-subtitle-size))}.kapp-header .kapp-logo-container{-ms-flex-item-align:center;align-self:center;margin:0 10px}.kapp-header .kapp-logo-container img{max-width:80px;max-height:80px}.kapp-header .kapp-title-container{color:var(--app-title-color);-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:center;align-self:center;padding-left:10px}.kapp-header .kapp-title-container .kapp-title{height:var(--app-title-size);line-height:var(--app-title-size);font-weight:500;font-size:var(--app-title-size);margin-bottom:6px}.kapp-header .kapp-title-container .kapp-version{display:inline-block;font-weight:300;font-size:var(--app-subtitle-size);margin-left:16px;position:relative;bottom:3px;padding:0 4px;opacity:.5;border:1px solid var(--app-main-color)}.kapp-header .kapp-title-container .kapp-subtitle{height:var(--app-subtitle-size);line-height:var(--app-subtitle-size);font-size:var(--app-subtitle-size);font-weight:300}.kapp-header .kapp-header-menu-container{position:absolute;right:0;padding:10px 16px}.kapp-header .kapp-header-menu-container .kapp-header-menu-item{margin:0 0 0 16px;color:var(--app-title-color);cursor:pointer}.kapp-header .kapp-actions-container .klab-main-actions{margin:0 1px 0 0;min-width:178px}.kapp-header .kapp-actions-container .klab-main-actions .klab-button{width:60px;height:45px;font-size:26px;margin:0 -1px 0 0;text-align:center;padding:10px 0;border-top-left-radius:4px!important;border-top-right-radius:4px!important;border:1px solid var(--app-main-color);border-bottom:0;text-shadow:0 1px 2px var(--app-lighten-background-color);color:var(--app-main-color)!important;position:relative;bottom:-1px}.kapp-header .kapp-actions-container .klab-main-actions .klab-button.active{background-color:var(--app-darken-background-color)}.kapp-header .kapp-actions-container .klab-main-actions .klab-button:hover:not(.active){background-color:var(--app-darken-background-color);border-bottom:1px solid var(--app-main-color)}.kapp-header .kapp-actions-container .klab-main-actions .klab-button-notification{width:11px;height:11px;border-radius:10px;top:5px;right:11px;background-color:var(--app-main-color)!important;border:1px solid var(--app-background-color)}.kcv-dir-vertical{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%!important}.klab-close-app{position:absolute;z-index:100000}.klab-close-app.klab-close-app-on-left,.klab-close-app.klab-close-app-on-panel{height:32px;width:32px;opacity:.2}.klab-close-app.klab-close-app-on-left .q-icon,.klab-close-app.klab-close-app-on-panel .q-icon{font-size:16px}.klab-close-app.klab-close-app-on-left:hover,.klab-close-app.klab-close-app-on-panel:hover{height:50px;width:50px;opacity:1}.klab-close-app.klab-close-app-on-left:hover .q-icon,.klab-close-app.klab-close-app-on-panel:hover .q-icon{font-size:22px}.klab-close-app.klab-close-app-on-left:hover{-webkit-transform:translate(-22px);transform:translate(-22px)}.klab-close-app.klab-close-app-on-panel{background-color:var(--app-main-color);color:var(--app-background-color)}.klab-link .klab-external-link{color:var(--app-text-color);font-weight:700;display:inline;margin:0 0 0 3px}.kapp-loading{background-color:var(--app-background-color);padding:16px;text-align:center;min-width:60px;border-radius:20px}.kapp-loading div{margin-top:15px;color:var(--app-main-color)}.km-main-container .km-title{background-color:var(--app-background-color)!important;color:var(--app-main-color)!important}.km-main-container .km-title .q-toolbar-title{font-size:var(--app-modal-title-size)}.km-main-container .km-title .km-subtitle{font-size:var(--app-modal-subtitle-size)}.km-main-container .km-content{overflow:hidden;border-radius:8px;border:1px solid var(--app-main-color);margin:16px 16px 0;padding:8px;background-color:var(--app-background-color)}.km-main-container .km-content .kcv-main-container>.kcv-group{border:none}.km-main-container .km-buttons{margin:8px 16px}.km-main-container .km-buttons .klab-button{font-size:16px;background-color:var(--app-main-color);color:var(--app-background-color)!important}.ks-stack-container{position:relative;height:calc(100% - 30px);margin:30px 20px 0}.ks-stack-container .ks-layer{position:absolute;top:0;left:0;bottom:90px;right:0;opacity:0;-webkit-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out;overflow:hidden}.ks-stack-container .ks-layer.ks-top-layer{z-index:999!important;opacity:1}.ks-stack-container li{padding-bottom:10px}.ks-stack-container .ks-layer-caption{position:absolute;padding:12px;width:auto;height:auto;color:#616161;max-height:100%;overflow:auto}.ks-stack-container .ks-layer-caption .ks-caption-title{font-size:24px;letter-spacing:normal;margin:0;text-align:center}.ks-stack-container .ks-layer-caption .ks-caption-text{font-size:16px}.ks-stack-container .ks-layer-image{position:absolute;overflow:hidden}.ks-stack-container .ks-layer-image img{width:auto;height:auto}.ks-stack-container .ks-middle{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ks-stack-container .ks-middle.ks-center{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ks-stack-container .ks-center{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.ks-stack-container .ks-center:not(.ks-layer-image){width:100%}.ks-stack-container .ks-top{top:0}.ks-stack-container .ks-bottom{bottom:0}.ks-stack-container .ks-left{left:0}.ks-stack-container .ks-right{right:0}.ks-stack-container .ks-navigation{width:100%;text-align:center;position:absolute;bottom:50px;right:0;z-index:10000;vertical-align:middle;-webkit-transition:opacity .3s;transition:opacity .3s;height:40px;border-bottom:1px solid #eee}.ks-stack-container .ks-navigation.ks-navigation-transparent{opacity:.6}.ks-stack-container .ks-navigation:hover{opacity:1}@media (min-width:1600px){.ks-stack-container .ks-caption-title{font-size:32px!important;margin:0 0 1em!important}.ks-stack-container .ks-caption-text{font-size:18px!important}}.klab-modal-container .klab-modal-inner .kp-no-presentation{font-weight:700;position:relative}.klab-modal-container .klab-modal-inner .kp-no-presentation .kp-refresh-btn{position:relative}.klab-modal-container .klab-modal-inner .kp-no-presentation .klab-small{font-size:smaller}.klab-modal-container .kp-help-titlebar{position:absolute;width:100%;height:25px;padding:8px 0 0 20px;z-index:100000}.klab-modal-container .kp-help-titlebar .kp-link{font-size:11px;color:#616161;cursor:pointer;float:left;padding:0 10px 0 0}.klab-modal-container .kp-help-titlebar .kp-link:hover:not(.kp-link-current){text-decoration:underline;color:#1ab}.klab-modal-container .kp-help-titlebar .kp-link-current{cursor:default;text-decoration:underline}.klab-modal-container .kp-carousel .kp-slide{padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.klab-modal-container .kp-carousel .kp-main-content{-webkit-box-flex:1;-ms-flex:auto;flex:auto}.klab-modal-container .kp-carousel .kp-main-content .kp-main-image{text-align:center;background-repeat:no-repeat;background-size:contain;background-position:50%;height:calc(100% - 40px)}.klab-modal-container .kp-main-title,.klab-modal-container .kp-nav-tooltip{position:absolute;bottom:0;vertical-align:middle;font-size:20px;line-height:50px;height:50px;text-align:center;width:80%;margin-left:10%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.klab-modal-container .kp-nav-tooltip{-webkit-transition:opacity .3s;transition:opacity .3s;opacity:0}.klab-modal-container .kp-nav-tooltip.visible{opacity:1}.klab-modal-container .kp-navigation{position:absolute;bottom:0;padding:10px 10px 10px 15px;vertical-align:middle}.klab-modal-container .kp-navigation .kp-navnumber-container{padding-left:3px;position:relative;float:left}.klab-modal-container .kp-navigation .kp-navnumber-container:hover .kp-nav-current,.klab-modal-container .kp-navigation .kp-navnumber-container:hover .kp-nav-number{opacity:1;background-color:rgba(97,97,97,.7)}.klab-modal-container .kp-navigation .kp-nav-number{height:30px;width:30px;line-height:30px;vertical-align:middle;color:#fff;text-align:center;padding:0;cursor:pointer;border-radius:20px;background-color:rgba(97,97,97,.4);opacity:.7;z-index:10000}.klab-modal-container .kp-navigation .kp-nav-number.kp-nav-current,.klab-modal-container .kp-navigation .kp-nav-number:hover{opacity:1;background-color:rgba(97,97,97,.7)}.klab-modal-container .internal-link{cursor:pointer}.klab-modal-container .internal-link:hover{color:#ffc300}.klab-modal-container .kp-icon-close-popover,.klab-modal-container .kp-icon-refresh-size{position:absolute;top:1px;right:2px;width:22px;height:22px;z-index:200000}.klab-modal-container .kp-icon-close-popover .q-focus-helper,.klab-modal-container .kp-icon-refresh-size .q-focus-helper{opacity:0}.klab-modal-container .kp-icon-close-popover:hover .mdi-close-circle-outline:before,.klab-modal-container .kp-icon-refresh-size:hover .mdi-close-circle-outline:before{content:"\F0159"}.klab-modal-container .kp-icon-refresh-size{right:24px}.klab-modal-container .kp-icon-refresh-size:hover{color:#1ab!important}.klab-modal-container .kp-checkbox{position:absolute;right:20px;bottom:10px;font-size:10px}.kn-modal-container .modal-content{max-width:640px!important}.kn-title{font-size:var(--app-title-size);color:var(--app-title-color)}.kn-content{font-size:var(--app-text-size)}.kn-checkbox,.kn-content{color:var(--app-text-color)}.kn-checkbox{position:absolute;left:20px;bottom:16px;font-size:10px}[data-simplebar]{position:relative;z-index:0;overflow:hidden!important;max-height:inherit;-webkit-overflow-scrolling:touch}[data-simplebar=init]{display:-webkit-box;display:-ms-flexbox;display:flex}[data-simplebar] .simplebar-content,[data-simplebar] .simplebar-scroll-content{overflow:hidden}[data-simplebar=init] .simplebar-content,[data-simplebar=init] .simplebar-scroll-content{overflow:scroll}.simplebar-scroll-content{overflow-x:hidden!important;min-width:100%!important;max-height:inherit!important;-webkit-box-sizing:content-box!important;box-sizing:content-box!important}.simplebar-content{overflow-y:hidden!important;-webkit-box-sizing:border-box!important;box-sizing:border-box!important;min-height:100%!important}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;width:11px;pointer-events:none}.simplebar-scrollbar{position:absolute;right:2px;width:7px;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:0;right:0;opacity:0;-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.simplebar-track .simplebar-scrollbar.visible:before{opacity:.5;-webkit-transition:opacity 0 linear;transition:opacity 0 linear}.simplebar-track.vertical{top:0}.simplebar-track.vertical .simplebar-scrollbar:before{top:2px;bottom:2px}.simplebar-track.horizontal{left:0;width:auto;height:11px}.simplebar-track.horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px}.horizontal.simplebar-track .simplebar-scrollbar{right:auto;left:0;top:2px;height:7px;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track{right:auto;left:0}[data-simplebar-direction=rtl] .simplebar-track.horizontal{right:0}:root{--main-control-max-height:90vh;--q-tree-no-child-min-height:32px;--app-main-color:#005c81;--app-highlight-main-color:#0077a7;--app-rgb-main-color:0,92,129;--app-background-color:#fafafa;--app-darken-background-color:#ededed;--app-darklight-background-color:#ededed;--app-lighten-background-color:#fafafa;--app-highlight-background-color:#fbfbfb;--app-rgb-background-color:250,250,250;--app-text-color:#005c81;--app-control-text-color:#005c81;--app-link-color:#73937e;--app-link-visited-color:#73937e;--app-highlight-text-color:#0077a7;--app-title-color:#005c81;--app-alt-color:#00a4a1;--app-alt-background:#dedede;--app-rgb-text-color:0,92,129;--app-waiting-color:#f2c037;--app-positive-color:#19a019;--app-negative-color:#db2828;--app-font-family:"Roboto","-apple-system","Helvetica Neue",Helvetica,Arial,sans-serif;--app-font-size:1em;--app-title-size:26px;--app-subtitle-size:16px;--app-small-size:0.9em;--app-modal-title-size:22px;--app-modal-subtitle-size:12px;--app-line-height:1em;--app-small-mp:8px;--app-smaller-mp:calc(var(--app-small-mp)/2);--app-large-mp:16px;--body-min-width:640px;--body-min-height:480px}.klab-wait-app{min-width:50px}.klab-wait-app .klab-wait-app-container{text-align:center;width:100%;font-weight:300;font-size:1.5em;padding:20px}.klab-wait-app .klab-wait-app-container p{margin-bottom:0}.klab-wait-app .klab-wait-app-container strong{color:#1ab}.klab-wait-app .klab-wait-app-container .q-spinner{margin-bottom:16px}.klab-wait-app .klab-wait-app-container .klab-app-error,.klab-wait-app .klab-wait-app-container .klab-app-error strong{color:#ff6464}.klab-wait-app .klab-wait-app-container a.klab-app-refresh{display:block;color:#1ab;padding:8px 0 0;text-decoration:none}.klab-wait-app .klab-wait-app-container a.klab-app-refresh:after{content:"\F0450";display:inline-block;font-family:Material Design Icons;margin:2px 0 0 8px;vertical-align:bottom;-webkit-transition:.6s;transition:.6s}.klab-wait-app .klab-wait-app-container a.klab-app-refresh:hover:after{-webkit-transform:rotate(1turn);transform:rotate(1turn)} \ No newline at end of file diff --git a/klab.engine/src/main/resources/static/ui/index.html b/klab.engine/src/main/resources/static/ui/index.html index 1252fa4e9..c53a36b7a 100644 --- a/klab.engine/src/main/resources/static/ui/index.html +++ b/klab.engine/src/main/resources/static/ui/index.html @@ -1,3 +1,3 @@ -k.Explorer
\ No newline at end of file + }
\ No newline at end of file diff --git a/klab.engine/src/main/resources/static/ui/js/2feab1c0.42aea104.js b/klab.engine/src/main/resources/static/ui/js/2feab1c0.42aea104.js new file mode 100644 index 000000000..3e42bd226 --- /dev/null +++ b/klab.engine/src/main/resources/static/ui/js/2feab1c0.42aea104.js @@ -0,0 +1,304 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["2feab1c0"],{"00b4":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},i=e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return i})},"0184":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],i=e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}});return i})},"019a":function(e,t,n){},"01bc":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],o=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,r=e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return r})},"01f4":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return t})},"0300":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3"),o=function(){function e(){this._map=new Map}return e.prototype.getMap=function(){return this._map},e.prototype.add=function(e,t){if(null===e||void 0===e)throw new Error(i.NULL_ARGUMENT);if(null===t||void 0===t)throw new Error(i.NULL_ARGUMENT);var n=this._map.get(e);void 0!==n?(n.push(t),this._map.set(e,n)):this._map.set(e,[t])},e.prototype.get=function(e){if(null===e||void 0===e)throw new Error(i.NULL_ARGUMENT);var t=this._map.get(e);if(void 0!==t)return t;throw new Error(i.KEY_NOT_FOUND)},e.prototype.remove=function(e){if(null===e||void 0===e)throw new Error(i.NULL_ARGUMENT);if(!this._map.delete(e))throw new Error(i.KEY_NOT_FOUND)},e.prototype.removeByCondition=function(e){var t=this;this._map.forEach(function(n,i){var o=n.filter(function(t){return!e(t)});o.length>0?t._map.set(i,o):t._map.delete(i)})},e.prototype.hasKey=function(e){if(null===e||void 0===e)throw new Error(i.NULL_ARGUMENT);return this._map.has(e)},e.prototype.clone=function(){var t=new e;return this._map.forEach(function(e,n){e.forEach(function(e){return t.add(n,e.clone())})}),t},e.prototype.traverse=function(e){this._map.forEach(function(t,n){e(n,t)})},e}();t.Lookup=o},"0312":function(e,t){var n=!("undefined"===typeof window||!window.document||!window.document.createElement);e.exports=n},"0351":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"],i=e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return i})},"0483":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("b485"),a=new i.ContainerModule(function(e){e(o.TYPES.MouseListener).to(r.OpenMouseListener)});t.default=a},"04c2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("4741"),a=new i.ContainerModule(function(e){e(o.TYPES.IButtonHandler).toConstructor(r.ExpandButtonHandler)});t.default=a},"0505":function(e,t,n){},"064a":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("393a"),c=n("e1c6"),l=n("6923"),u=n("3864"),d=n("dd02"),h=n("7b39"),p=n("302f"),f=n("3623"),m=function(e){function t(t){var n=e.call(this)||this;return n.registerDefaults(),t.forEach(function(e){return n.register(e.type,e.factory())}),n}return i(t,e),t.prototype.registerDefaults=function(){this.register(p.EMPTY_ROOT.type,new _)},t.prototype.missing=function(e){return new b},t=o([c.injectable(),a(0,c.multiInject(l.TYPES.ViewRegistration)),a(0,c.optional()),r("design:paramtypes",[Array])],t),t}(u.InstanceRegistry);function g(e,t,n,i,o){f.registerModelElement(e,t,n,o),v(e,t,i)}function v(e,t,n){if("function"===typeof n){if(!h.isInjectable(n))throw new Error("Views should be @injectable: "+n.name);e.isBound(n)||e.bind(n).toSelf()}e.bind(l.TYPES.ViewRegistration).toDynamicValue(function(e){return{type:t,factory:function(){return e.container.get(n)}}})}t.ViewRegistry=m,t.configureModelElement=g,t.configureView=v;var _=function(){function e(){}return e.prototype.render=function(e,t){return s.svg("svg",{"class-sprotty-empty":!0})},e=o([c.injectable()],e),e}();t.EmptyView=_;var b=function(){function e(){}return e.prototype.render=function(e,t){var n=e.position||d.ORIGIN_POINT;return s.svg("text",{"class-sprotty-missing":!0,x:n.x,y:n.y},"?",e.id,"?")},e=o([c.injectable()],e),e}();t.MissingView=b},"0831":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".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:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return t})},"0867":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq",t}function i(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret",t}function o(e,t,n,i){var o=r(e);switch(n){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}function r(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),o=e%10,r="";return n>0&&(r+=t[n]+"vatlh"),i>0&&(r+=(""!==r?" ":"")+t[i]+"maH"),o>0&&(r+=(""!==r?" ":"")+t[o]),""===r?"pagh":r}var a=e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:n,past:i,s:"puS lup",ss:o,m:"wa’ tup",mm:o,h:"wa’ rep",hh:o,d:"wa’ jaj",dd:o,M:"wa’ jar",MM:o,y:"wa’ DIS",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a})},"08cf":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},"0960":function(e,t,n){e.exports=n("b19a")},"0a28":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t"+e+""}),n},t.prototype.renderIcon=function(e,t){e.innerHTML+=''},t.prototype.filterActions=function(e,t){return f.toArray(t.filter(function(t){var n=t.label.toLowerCase(),i=e.split(" ");return i.every(function(e){return-1!==n.indexOf(e.toLowerCase())})}))},t.prototype.customizeSuggestionContainer=function(e,t,n){this.containerElement&&this.containerElement.appendChild(e)},t.prototype.hide=function(){e.prototype.hide.call(this),this.autoCompleteResult&&this.autoCompleteResult.destroy()},t.prototype.executeAction=function(e){var t=this;this.actionDispatcherProvider().then(function(t){return t.dispatchAll(w(e))}).catch(function(e){return t.logger.error(t,"No action dispatcher available to execute command palette action",e)})},t.ID="command-palette",t.isInvokePaletteKey=function(e){return m.matchesKeystroke(e,"Space","ctrl")},o([s.inject(l.TYPES.IActionDispatcherProvider),r("design:type",Function)],t.prototype,"actionDispatcherProvider",void 0),o([s.inject(l.TYPES.ICommandPaletteActionProviderRegistry),r("design:type",_.CommandPaletteActionProviderRegistry)],t.prototype,"actionProviderRegistry",void 0),o([s.inject(l.TYPES.ViewerOptions),r("design:type",Object)],t.prototype,"viewerOptions",void 0),o([s.inject(l.TYPES.DOMHelper),r("design:type",h.DOMHelper)],t.prototype,"domHelper",void 0),o([s.inject(b.MousePositionTracker),r("design:type",b.MousePositionTracker)],t.prototype,"mousePositionTracker",void 0),t=n=o([s.injectable()],t),t}(u.AbstractUIExtension);function w(e){return c.isLabeledAction(e)?e.actions:c.isAction(e)?[e]:[]}function L(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}t.CommandPalette=M;var S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.keyDown=function(e,t){if(m.matchesKeystroke(t,"Escape"))return[new d.SetUIExtensionVisibilityAction(M.ID,!1,[])];if(M.isInvokePaletteKey(t)){var n=f.toArray(e.index.all().filter(function(e){return v.isSelectable(e)&&e.selected}).map(function(e){return e.id}));return[new d.SetUIExtensionVisibilityAction(M.ID,!0,n)]}return[]},t}(p.KeyListener);t.CommandPaletteKeyListener=S},"0ba7":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],n=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],i=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],o=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],r=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],a=e.defineLocale("gd",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:i,weekdaysShort:o,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return a})},"0bd8":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),a=n("6923"),s=function(){function e(){}return e.prototype.decorate=function(e,t){return e},e.prototype.postUpdate=function(){var e=document.getElementById(this.options.popupDiv);if(null!==e&&"undefined"!==typeof window){var t=e.getBoundingClientRect();window.innerHeight=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var n=e%10,i=e>=100?100:null;return e+(t[e]||t[n]||t[i])},week:{dow:1,doy:7}});return n})},"0d7a":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),a=n("6923"),s=function(){function e(){}return e.prototype.getPrefix=function(){var e=void 0!==this.viewerOptions&&void 0!==this.viewerOptions.baseDiv?this.viewerOptions.baseDiv+"_":"";return e},e.prototype.createUniqueDOMElementId=function(e){return this.getPrefix()+e.id},e.prototype.findSModelIdByDOMElement=function(e){return e.id.replace(this.getPrefix(),"")},i([r.inject(a.TYPES.ViewerOptions),o("design:type",Object)],e.prototype,"viewerOptions",void 0),e=i([r.injectable()],e),e}();t.DOMHelper=s},"0e44":function(e,t,n){"use strict";var i=n("7615"),o=n.n(i);o.a},"0e6e":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},i=e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}});return i})},"0efb":function(e,t,n){var i,o,r;//! moment-timezone.js +//! version : 0.5.34 +//! Copyright (c) JS Foundation and other contributors +//! license : MIT +//! github.com/moment/moment-timezone +//! moment-timezone.js +//! version : 0.5.34 +//! Copyright (c) JS Foundation and other contributors +//! license : MIT +//! github.com/moment/moment-timezone +(function(a,s){"use strict";e.exports?e.exports=s(n("f333")):(o=[n("f333")],i=s,r="function"===typeof i?i.apply(t,o):i,void 0===r||(e.exports=r))})(0,function(e){"use strict";void 0===e.version&&e.default&&(e=e.default);var t,n="0.5.34",i={},o={},r={},a={},s={};e&&"string"===typeof e.version||Y("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var c=e.version.split("."),l=+c[0],u=+c[1];function d(e){return e>96?e-87:e>64?e-29:e-48}function h(e){var t,n=0,i=e.split("."),o=i[0],r=i[1]||"",a=1,s=0,c=1;for(45===e.charCodeAt(0)&&(n=1,c=-1),n;n3){var t=a[T(e)];if(t)return t;Y("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(e){}var n,i,o,r=w(),s=r.length,c=C(r),l=[];for(i=0;i0?l[0].zone.name:void 0}function A(e){return t&&!e||(t=E()),t}function T(e){return(e||"").toLowerCase().replace(/\//g,"_")}function O(e){var t,n,o,r;for("string"===typeof e&&(e=[e]),t=0;t= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),v.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t,n=+e,i=this.untils;for(t=0;ti&&H.moveInvalidForward&&(t=i),r0&&(this._z=null),e.apply(this,arguments)}}e.tz=H,e.defaultZone=null,e.updateOffset=function(t,n){var i,o=e.defaultZone;if(void 0===t._z&&(o&&j(t)&&!t._isUTC&&(t._d=e.utc(t._a)._d,t.utc().add(o.parse(t),"minutes")),t._z=o),t._z)if(i=t._z.utcOffset(t),Math.abs(i)<16&&(i/=60),void 0!==t.utcOffset){var r=t._z;t.utcOffset(-i,n),t._z=r}else t.zone(i,n)},W.tz=function(t,n){if(t){if("string"!==typeof t)throw new Error("Time zone name must be a string, got "+t+" ["+typeof t+"]");return this._z=k(t),this._z?e.updateOffset(this,n):Y("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},W.zoneName=q(W.zoneName),W.zoneAbbr=q(W.zoneAbbr),W.utc=F(W.utc),W.local=F(W.local),W.utcOffset=X(W.utcOffset),e.tz.setDefault=function(t){return(l<2||2===l&&u<9)&&Y("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?k(t):null,e};var U=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(U)?(U.push("_z"),U.push("_a")):U&&(U._z=null),e})},"0f4c":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("c146"),r=function(e){function t(t,n,i,o){void 0===o&&(o=!1);var r=e.call(this,i)||this;return r.model=t,r.elementResizes=n,r.reverse=o,r}return i(t,e),t.prototype.tween=function(e){var t=this;return this.elementResizes.forEach(function(n){var i=n.element,o=t.reverse?{width:(1-e)*n.toDimension.width+e*n.fromDimension.width,height:(1-e)*n.toDimension.height+e*n.fromDimension.height}:{width:(1-e)*n.fromDimension.width+e*n.toDimension.width,height:(1-e)*n.fromDimension.height+e*n.toDimension.height};i.bounds={x:i.bounds.x,y:i.bounds.y,width:o.width,height:o.height}}),this.model},t}(o.Animation);t.ResizeAnimation=r},"0faf":function(e,t,n){"use strict";var i=n("5870"),o=n.n(i);o.a},"0fb6":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),a=n("6923"),s=n("9175"),c=n("302f"),l=n("538c"),u=n("3f0a"),d=n("c20e"),h=n("510b"),p=function(){function e(){this.postponedActions=[],this.requests=new Map}return e.prototype.initialize=function(){var e=this;return this.initialized||(this.initialized=this.actionHandlerRegistryProvider().then(function(t){e.actionHandlerRegistry=t,e.handleAction(new u.SetModelAction(c.EMPTY_ROOT))})),this.initialized},e.prototype.dispatch=function(e){var t=this;return this.initialize().then(function(){return void 0!==t.blockUntil?t.handleBlocked(e,t.blockUntil):t.diagramLocker.isAllowed(e)?t.handleAction(e):void 0})},e.prototype.dispatchAll=function(e){var t=this;return Promise.all(e.map(function(e){return t.dispatch(e)}))},e.prototype.request=function(e){if(!e.requestId)return Promise.reject(new Error("Request without requestId"));var t=new s.Deferred;return this.requests.set(e.requestId,t),this.dispatch(e),t.promise},e.prototype.handleAction=function(e){if(e.kind===d.UndoAction.KIND)return this.commandStack.undo().then(function(){});if(e.kind===d.RedoAction.KIND)return this.commandStack.redo().then(function(){});if(h.isResponseAction(e)){var t=this.requests.get(e.responseId);if(void 0!==t){if(this.requests.delete(e.responseId),e.kind===h.RejectAction.KIND){var n=e;t.reject(new Error(n.message)),this.logger.warn(this,"Request with id "+e.responseId+" failed.",n.message,n.detail)}else t.resolve(e);return Promise.resolve()}this.logger.log(this,"No matching request for response",e)}var i=this.actionHandlerRegistry.get(e.kind);if(0===i.length){this.logger.warn(this,"Missing handler for action",e);var o=new Error("Missing handler for action '"+e.kind+"'");if(h.isRequestAction(e)){t=this.requests.get(e.requestId);void 0!==t&&(this.requests.delete(e.requestId),t.reject(o))}return Promise.reject(o)}this.logger.log(this,"Handle",e);for(var r=[],a=0,s=i;a=20?"ste":"de")},week:{dow:1,doy:4}});return i})},"0fd9":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e801"),o=n("e34e"),r=n("cf81"),a=function(){function e(e){this._binding=e,this._bindingWhenSyntax=new r.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new o.BindingOnSyntax(this._binding),this._bindingInSyntax=new i.BindingInSyntax(e)}return e.prototype.inRequestScope=function(){return this._bindingInSyntax.inRequestScope()},e.prototype.inSingletonScope=function(){return this._bindingInSyntax.inSingletonScope()},e.prototype.inTransientScope=function(){return this._bindingInSyntax.inTransientScope()},e.prototype.when=function(e){return this._bindingWhenSyntax.when(e)},e.prototype.whenTargetNamed=function(e){return this._bindingWhenSyntax.whenTargetNamed(e)},e.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},e.prototype.whenTargetTagged=function(e,t){return this._bindingWhenSyntax.whenTargetTagged(e,t)},e.prototype.whenInjectedInto=function(e){return this._bindingWhenSyntax.whenInjectedInto(e)},e.prototype.whenParentNamed=function(e){return this._bindingWhenSyntax.whenParentNamed(e)},e.prototype.whenParentTagged=function(e,t){return this._bindingWhenSyntax.whenParentTagged(e,t)},e.prototype.whenAnyAncestorIs=function(e){return this._bindingWhenSyntax.whenAnyAncestorIs(e)},e.prototype.whenNoAncestorIs=function(e){return this._bindingWhenSyntax.whenNoAncestorIs(e)},e.prototype.whenAnyAncestorNamed=function(e){return this._bindingWhenSyntax.whenAnyAncestorNamed(e)},e.prototype.whenAnyAncestorTagged=function(e,t){return this._bindingWhenSyntax.whenAnyAncestorTagged(e,t)},e.prototype.whenNoAncestorNamed=function(e){return this._bindingWhenSyntax.whenNoAncestorNamed(e)},e.prototype.whenNoAncestorTagged=function(e,t){return this._bindingWhenSyntax.whenNoAncestorTagged(e,t)},e.prototype.whenAnyAncestorMatches=function(e){return this._bindingWhenSyntax.whenAnyAncestorMatches(e)},e.prototype.whenNoAncestorMatches=function(e){return this._bindingWhenSyntax.whenNoAncestorMatches(e)},e.prototype.onActivation=function(e){return this._bindingOnSyntax.onActivation(e)},e}();t.BindingInWhenOnSyntax=a},1107:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},i=e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return i})},1254:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__awaiter||function(e,t,n,i){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):o(e.value).then(a,s)}c((i=i.apply(e,t||[])).next())})},s=this&&this.__generator||function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return c([e,t])}}function c(r){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,i&&(o=2&r[0]?i["return"]:r[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"يېرىم كېچە":i<900?"سەھەر":i<1130?"چۈشتىن بۇرۇن":i<1230?"چۈش":i<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}});return t})},"135d":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var o=t.words[i];return 1===i.length?n?o[0]:o[1]:e+" "+t.correctGrammaticalCase(e,o)}},n=e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},1390:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},n=e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var n=e%10,i=e>=100?100:null;return e+(t[e]||t[n]||t[i])},week:{dow:1,doy:7}});return n})},"13a5":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}});return t})},1417:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),s=n("6923"),c=n("3a92"),l=n("e45b"),u=function(){function e(e){void 0===e&&(e=[]),this.keyListeners=e}return e.prototype.register=function(e){this.keyListeners.push(e)},e.prototype.deregister=function(e){var t=this.keyListeners.indexOf(e);t>=0&&this.keyListeners.splice(t,1)},e.prototype.handleEvent=function(e,t,n){var i=this.keyListeners.map(function(i){return i[e].apply(i,[t,n])}).reduce(function(e,t){return e.concat(t)});i.length>0&&(n.preventDefault(),this.actionDispatcher.dispatchAll(i))},e.prototype.keyDown=function(e,t){this.handleEvent("keyDown",e,t)},e.prototype.keyUp=function(e,t){this.handleEvent("keyUp",e,t)},e.prototype.focus=function(){},e.prototype.decorate=function(e,t){return t instanceof c.SModelRoot&&(l.on(e,"focus",this.focus.bind(this),t),l.on(e,"keydown",this.keyDown.bind(this),t),l.on(e,"keyup",this.keyUp.bind(this),t)),e},e.prototype.postUpdate=function(){},i([a.inject(s.TYPES.IActionDispatcher),o("design:type",Object)],e.prototype,"actionDispatcher",void 0),e=i([a.injectable(),r(0,a.multiInject(s.TYPES.KeyListener)),r(0,a.optional()),o("design:paramtypes",[Array])],e),e}();t.KeyTool=u;var d=function(){function e(){}return e.prototype.keyDown=function(e,t){return[]},e.prototype.keyUp=function(e,t){return[]},e=i([a.injectable()],e),e}();t.KeyListener=d},1468:function(e,t){var n=1e3,i=60*n,o=60*i,r=24*o,a=365.25*r;function s(e){if(e=String(e),!(e.length>100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var s=parseFloat(t[1]),c=(t[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return s*a;case"days":case"day":case"d":return s*r;case"hours":case"hour":case"hrs":case"hr":case"h":return s*o;case"minutes":case"minute":case"mins":case"min":case"m":return s*i;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}function c(e){return e>=r?Math.round(e/r)+"d":e>=o?Math.round(e/o)+"h":e>=i?Math.round(e/i)+"m":e>=n?Math.round(e/n)+"s":e+"ms"}function l(e){return u(e,r,"day")||u(e,o,"hour")||u(e,i,"minute")||u(e,n,"second")||e+" ms"}function u(e,t,n){if(!(e0)return s(e);if("number"===n&&!1===isNaN(e))return t.long?l(e):c(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"14f3":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},i=e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});return i})},"155f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={Request:"Request",Singleton:"Singleton",Transient:"Transient"};t.BindingScopeEnum=i;var o={ConstantValue:"ConstantValue",Constructor:"Constructor",DynamicValue:"DynamicValue",Factory:"Factory",Function:"Function",Instance:"Instance",Invalid:"Invalid",Provider:"Provider"};t.BindingTypeEnum=o;var r={ClassProperty:"ClassProperty",ConstructorArgument:"ConstructorArgument",Variable:"Variable"};t.TargetTypeEnum=r},1590:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(t){this.toolIds=t,this.kind=e.KIND}return e.KIND="enable-tools",e}();t.EnableToolsAction=i;var o=function(){function e(){this.kind=e.KIND}return e.KIND="enable-default-tools",e}();t.EnableDefaultToolsAction=o},"15f6":function(e,t,n){},"160b":function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),s=n("6923"),c=n("302f"),l=n("3a92"),u=n("538c"),d=n("9757"),h=function(){function e(){this.undoStack=[],this.redoStack=[],this.offStack=[]}return e.prototype.initialize=function(){this.currentPromise=Promise.resolve({main:{model:this.modelFactory.createRoot(c.EMPTY_ROOT),modelChanged:!1},hidden:{model:this.modelFactory.createRoot(c.EMPTY_ROOT),modelChanged:!1},popup:{model:this.modelFactory.createRoot(c.EMPTY_ROOT),modelChanged:!1}})},Object.defineProperty(e.prototype,"currentModel",{get:function(){return this.currentPromise.then(function(e){return e.main.model})},enumerable:!0,configurable:!0}),e.prototype.executeAll=function(e){var t=this;return e.forEach(function(e){t.logger.log(t,"Executing",e),t.handleCommand(e,e.execute,t.mergeOrPush)}),this.thenUpdate()},e.prototype.execute=function(e){return this.logger.log(this,"Executing",e),this.handleCommand(e,e.execute,this.mergeOrPush),this.thenUpdate()},e.prototype.undo=function(){var e=this;this.undoOffStackSystemCommands(),this.undoPreceedingSystemCommands();var t=this.undoStack[this.undoStack.length-1];return void 0===t||this.isBlockUndo(t)||(this.undoStack.pop(),this.logger.log(this,"Undoing",t),this.handleCommand(t,t.undo,function(t,n){e.redoStack.push(t)})),this.thenUpdate()},e.prototype.redo=function(){var e=this;this.undoOffStackSystemCommands();var t=this.redoStack.pop();return void 0!==t&&(this.logger.log(this,"Redoing",t),this.handleCommand(t,t.redo,function(t,n){e.pushToUndoStack(t)})),this.redoFollowingSystemCommands(),this.thenUpdate()},e.prototype.handleCommand=function(e,t,n){var i=this;this.currentPromise=this.currentPromise.then(function(o){return new Promise(function(r){var a;a=e instanceof d.HiddenCommand?"hidden":e instanceof d.PopupCommand?"popup":"main";var s,c=i.createContext(o.main.model);try{s=t.call(e,c)}catch(e){i.logger.error(i,"Failed to execute command:",e),s=o[a].model}var u=p(o);s instanceof Promise?s.then(function(t){"main"===a&&n.call(i,e,c),u[a]={model:t,modelChanged:!0},r(u)}):s instanceof l.SModelRoot?("main"===a&&n.call(i,e,c),u[a]={model:s,modelChanged:!0},r(u)):("main"===a&&n.call(i,e,c),u[a]={model:s.model,modelChanged:o[a].modelChanged||s.modelChanged,cause:s.cause},r(u))})})},e.prototype.pushToUndoStack=function(e){this.undoStack.push(e),this.options.undoHistoryLimit>=0&&this.undoStack.length>this.options.undoHistoryLimit&&this.undoStack.splice(0,this.undoStack.length-this.options.undoHistoryLimit)},e.prototype.thenUpdate=function(){var e=this;return this.currentPromise=this.currentPromise.then(function(t){var n=p(t);return t.hidden.modelChanged&&(e.updateHidden(t.hidden.model,t.hidden.cause),n.hidden.modelChanged=!1,n.hidden.cause=void 0),t.main.modelChanged&&(e.update(t.main.model,t.main.cause),n.main.modelChanged=!1,n.main.cause=void 0),t.popup.modelChanged&&(e.updatePopup(t.popup.model,t.popup.cause),n.popup.modelChanged=!1,n.popup.cause=void 0),n}),this.currentModel},e.prototype.update=function(e,t){void 0===this.modelViewer&&(this.modelViewer=this.viewerProvider.modelViewer),this.modelViewer.update(e,t)},e.prototype.updateHidden=function(e,t){void 0===this.hiddenModelViewer&&(this.hiddenModelViewer=this.viewerProvider.hiddenModelViewer),this.hiddenModelViewer.update(e,t)},e.prototype.updatePopup=function(e,t){void 0===this.popupModelViewer&&(this.popupModelViewer=this.viewerProvider.popupModelViewer),this.popupModelViewer.update(e,t)},e.prototype.mergeOrPush=function(e,t){var n=this;if(this.isBlockUndo(e))return this.undoStack=[],this.redoStack=[],this.offStack=[],void this.pushToUndoStack(e);if(this.isPushToOffStack(e)&&this.redoStack.length>0){if(this.offStack.length>0){var i=this.offStack[this.offStack.length-1];if(i instanceof d.MergeableCommand&&i.merge(e,t))return}this.offStack.push(e)}else if(this.isPushToUndoStack(e)){if(this.offStack.forEach(function(e){return n.undoStack.push(e)}),this.offStack=[],this.redoStack=[],this.undoStack.length>0){i=this.undoStack[this.undoStack.length-1];if(i instanceof d.MergeableCommand&&i.merge(e,t))return}this.pushToUndoStack(e)}},e.prototype.undoOffStackSystemCommands=function(){var e=this.offStack.pop();while(void 0!==e)this.logger.log(this,"Undoing off-stack",e),this.handleCommand(e,e.undo,function(){}),e=this.offStack.pop()},e.prototype.undoPreceedingSystemCommands=function(){var e=this,t=this.undoStack[this.undoStack.length-1];while(void 0!==t&&this.isPushToOffStack(t))this.undoStack.pop(),this.logger.log(this,"Undoing",t),this.handleCommand(t,t.undo,function(t,n){e.redoStack.push(t)}),t=this.undoStack[this.undoStack.length-1]},e.prototype.redoFollowingSystemCommands=function(){var e=this,t=this.redoStack[this.redoStack.length-1];while(void 0!==t&&this.isPushToOffStack(t))this.redoStack.pop(),this.logger.log(this,"Redoing ",t),this.handleCommand(t,t.redo,function(t,n){e.pushToUndoStack(t)}),t=this.redoStack[this.redoStack.length-1]},e.prototype.createContext=function(e){return{root:e,modelChanged:this,modelFactory:this.modelFactory,duration:this.options.defaultDuration,logger:this.logger,syncer:this.syncer}},e.prototype.isPushToOffStack=function(e){return e instanceof d.SystemCommand},e.prototype.isPushToUndoStack=function(e){return!(e instanceof d.HiddenCommand)},e.prototype.isBlockUndo=function(e){return e instanceof d.ResetCommand},o([a.inject(s.TYPES.IModelFactory),r("design:type",Object)],e.prototype,"modelFactory",void 0),o([a.inject(s.TYPES.IViewerProvider),r("design:type",Object)],e.prototype,"viewerProvider",void 0),o([a.inject(s.TYPES.ILogger),r("design:type",Object)],e.prototype,"logger",void 0),o([a.inject(s.TYPES.AnimationFrameSyncer),r("design:type",u.AnimationFrameSyncer)],e.prototype,"syncer",void 0),o([a.inject(s.TYPES.CommandStackOptions),r("design:type",Object)],e.prototype,"options",void 0),o([a.postConstruct(),r("design:type",Function),r("design:paramtypes",[]),r("design:returntype",void 0)],e.prototype,"initialize",null),e=o([a.injectable()],e),e}();function p(e){return{main:i({},e.main),hidden:i({},e.hidden),popup:i({},e.popup)}}t.CommandStack=h},1644:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,i){var o={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===i?n?"хвіліна":"хвіліну":"h"===i?n?"гадзіна":"гадзіну":e+" "+t(o[i],+e)}var i=e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!==2&&e%10!==3||e%100===12||e%100===13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}});return i})},"168d":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("3864"),c=n("d8f5"),l=n("e1c6"),u=n("6923"),d=function(e){function t(t){var n=e.call(this)||this;return t.forEach(function(e){return n.register(e.kind,e)}),n}return i(t,e),Object.defineProperty(t.prototype,"defaultKind",{get:function(){return c.PolylineEdgeRouter.KIND},enumerable:!0,configurable:!0}),t.prototype.get=function(t){return e.prototype.get.call(this,t||this.defaultKind)},t=o([l.injectable(),a(0,l.multiInject(u.TYPES.IEdgeRouter)),r("design:paramtypes",[Array])],t),t}(s.InstanceRegistry);t.EdgeRouterRegistry=d},1732:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,r=e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"});return r})},1738:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});return t})},1760:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});return t})},1817:function(e,t,n){"use strict";var i=n("c23f"),o=n.n(i);o.a},1848:function(e,t,n){"use strict";var i=n("98ab"),o=n.n(i);o.a},1890:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n,i){var o={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return i?o[n][0]:o[n][1]}var n=e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}});return n})},1963:function(e,t,n){},1978:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("9757"),c=n("3a92"),l=n("6923"),u=n("e1c6");function d(e){return e instanceof c.SChildElement&&e.hasFeature(t.deletableFeature)}t.deletableFeature=Symbol("deletableFeature"),t.isDeletable=d;var h=function(){function e(t){this.elementIds=t,this.kind=e.KIND}return e.KIND="delete",e}();t.DeleteElementAction=h;var p=function(){function e(){}return e}();t.ResolvedDelete=p;var f=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n.resolvedDeletes=[],n}return i(t,e),t.prototype.execute=function(e){for(var t=e.root.index,n=0,i=this.action.elementIds;n=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n("393a"),r=n("9964"),a=n("3623"),s=n("e1c6"),c=function(){function e(){}return e.prototype.render=function(e,t){var n=a.findParentByFeature(e,r.isExpandable),i=void 0!==n&&n.expanded?"M 1,5 L 8,12 L 15,5 Z":"M 1,8 L 8,15 L 8,1 Z";return o.svg("g",{"class-sprotty-button":"{true}","class-enabled":"{button.enabled}"},o.svg("rect",{x:0,y:0,width:16,height:16,opacity:0}),o.svg("path",{d:i}))},e=i([s.injectable()],e),e}();t.ExpandButtonView=c},"19f2":function(e,t,n){"use strict";var i=n("8ac3"),o=n.n(i);o.a},"19fc":function(e,t,n){"use strict";(function(e){n("7f7f"),n("6762"),n("2fdb"),n("6b54"),n("a481");var i=n("448a"),o=n.n(i),r=(n("f559"),n("7514"),n("3156")),a=n.n(r),s=(n("ac6a"),n("cadf"),n("f400"),n("e325")),c=n("1ad9"),l=n.n(c),u=(n("c862"),n("e00b")),d=n("2f62"),h=n("7cca"),p=n("b12a"),f=n("be3b"),m=n("7173");t["a"]={name:"DocumentationViewer",props:{forPrinting:{type:Boolean,default:!1}},components:{FigureTimeline:m["a"],HistogramViewer:u["a"]},data:function(){return{content:[],tables:[],images:[],loadingImages:[],figures:[],rawDocumentation:[],DOCUMENTATION_TYPES:h["l"],links:new Map,tableCounter:0,referenceCounter:0,viewport:null,needUpdates:!1,visible:!1,waitHeight:320}},computed:a()({},Object(d["c"])("data",["documentationTrees","documentationContent"]),Object(d["c"])("view",["documentationView","documentationSelected","documentationCache","tableFontSize"]),{tree:function(){var e=this;return this.documentationTrees.find(function(t){return t.view===e.documentationView}).tree}}),methods:a()({},Object(d["b"])("view",["setDocumentation"]),{getId:function(e){return this.forPrinting?"".concat(e,"-fp"):e},getFormatter:function(e,t){var n=t.numberFormat;switch(n||(n="%f"),e){case h["I"].TEXT:case h["I"].VALUE:case h["I"].BOOLEAN:return"plaintext";case h["I"].NUMBER:return function(e){return e.getValue()&&""!==e.getValue()?l()(n,e.getValue()):""};default:return"plaintext"}},formatColumns:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.numberFormat,o=function e(n,o){var r="".concat(o||"").concat(n.id);return a()({title:n.title,field:r,headerVertical:n.headerVertical,frozen:n.frozen},n.sorter&&{sorter:n.sorter},n.hozAlign&&{hozAlign:n.hozAlign},n.formatter&&{formatter:n.formatter},!n.formatter&&n.type&&{formatter:t.getFormatter(n.type,{numberFormat:n.numberFormat||i})},n.columns&&n.columns.length>0&&{columns:n.columns.map(function(t){return e(t,r)})})};return e.map(function(e){return a()({},o(e))})},selectElement:function(e){var t;t=e.startsWith(".")?document.querySelector(e):document.getElementById(this.getId(e)),t&&(t.scrollIntoView({behavior:"smooth"}),t.classList.add("dv-selected"))},getModelCode:function(e){return e?e.replaceAll("\n","
").replaceAll(" ",''):""},fontSizeChangeListener:function(e){"table"===e&&(this.tables.length>0&&this.tables.forEach(function(e){e.instance&&e.instance.redraw(!0)}),this.forPrinting&&(this.visible=!0,this.build()))},getLinkedText:function(e){var t=this;if(e){var n=[];return o()(e.matchAll(/LINK\/(?[^/]*)\/(?[^/]*)\//g)).forEach(function(e){var i,o=t.documentationContent.get(e[2]);o&&(o.type===h["l"].REFERENCE?i="[".concat(o.id,"]"):o.type===h["l"].TABLE&&(i="<".concat(o.id).concat(++t.tableCounter,">")),o.index=++t.referenceCounter,n.push({what:e[0],with:'').concat(o.index,"")}),t.links.set(e[2],o))}),n.length>0&&n.forEach(function(t){e=e.replace(t.what,t.with)}),e}return e},getImage:function(t,n){var i=this,o=document.getElementById("resimg-".concat(this.getId(t)));if(o)if(this.documentationCache.has(t)){var r=this.documentationCache.get(t);null!==r?o.src=this.documentationCache.get(t):o.style.display="none"}else f["a"].get("".concat("").concat("/modeler").concat(n),{responseType:"arraybuffer"}).then(function(n){var r=n.data;r&&r.byteLength>0?(o.src="data:image/png;base64,".concat(e.from(r,"binary").toString("base64")),i.documentationCache.set(t,o.src)):(o.style.display="none",i.documentationCache.set(t,null))})},getFigure:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=document.getElementById("figimg-".concat(this.documentationView,"-").concat(this.getId(e)));if(o){var r=this.documentationContent.get(e),s="".concat(t.observationId,"/").concat(n);if(r.figure.timeString=i,""!==o.src&&(this.waitHeight=o.clientHeight),this.documentationCache.has(s))o.src=this.documentationCache.get(s).src,r.figure.colormap=this.documentationCache.get(s).colormap;else if(!this.loadingImages.includes(e)){this.loadingImages.push(e),o.src="";var c=this;f["a"].get("".concat("").concat("/modeler").concat(t.baseUrl),{params:a()({format:h["q"].TYPE_RASTER,viewport:c.viewport},-1!==n&&{locator:"T1(1){time=".concat(n,"}")}),responseType:"blob"}).then(function(i){var l=c.loadingImages.indexOf(e);if(-1!==l&&c.loadingImages.splice(c.loadingImages.indexOf(e),1),i){var u=new FileReader,d={src:null,colormap:null};u.readAsDataURL(i.data),u.onload=function(){o.src=u.result,d.src=u.result},f["a"].get("".concat("").concat("/modeler").concat(t.baseUrl),{params:a()({format:h["q"].TYPE_COLORMAP},-1!==n&&{locator:"T1(1){time=".concat(n,"}")})}).then(function(e){e&&e.data&&(r.figure.colormap=Object(p["i"])(e.data),d.colormap=r.figure.colormap),c.documentationCache.set(s,d)}).catch(function(e){console.error(e),c.documentationCache.set(s,d)})}}).catch(function(t){var n=c.loadingImages.indexOf(e);-1!==n&&c.loadingImages.splice(c.loadingImages.indexOf(e),1),console.error(t)})}}},tableCopy:function(e){var t=this.tables.find(function(t){return t.id===e});t?t.instance.copyToClipboard("all"):console.warn("table not found")},tableDownload:function(e){var t=this.tables.find(function(t){return t.id===e});t?t.instance.download("xlsx","".concat(t.name,".xlsx")):console.warn("table not found")},updateThings:function(){var e=this;if(this.visible&&this.needUpdates){console.debug("Update things");var t=this;this.$nextTick(function(){e.tables.forEach(function(e){var n=document.querySelector("#".concat(t.getId(e.id),"-table"));n&&(e.instance=new s["a"]("#".concat(t.getId(e.id),"-table"),e.tabulator))}),e.images.forEach(function(t){e.getImage(t.id,t.url)}),e.figures.forEach(function(t){e.getFigure(t.id,t.instance,t.time,t.timeString)}),e.needUpdates=!1})}},clearCache:function(){this.documentationCache.clear(),this.needUpdates=!0},changeTime:function(e,t){var n=this.figures.find(function(e){return e.id===t});n&&(n.time=e.time,this.getFigure(n.id,n.instance,n.time,e.timeString))},build:function(){var e=this;this.rawDocumentation.splice(0,this.rawDocumentation.length),this.content.splice(0,this.content.length),this.tables.splice(0,this.tables.length),this.images.splice(0,this.images.length),this.figures.splice(0,this.figures.length),this.tree.forEach(function(t){Object(p["g"])(t,"children").forEach(function(t){e.rawDocumentation.push(t)})});var t=document.querySelectorAll(".dv-figure-".concat(this.forPrinting?"print":"display"));t.forEach(function(e){e.setAttribute("src","")}),this.needUpdates=!0;var n=this;this.rawDocumentation.forEach(function(e){var t=n.documentationContent.get(e.id);switch(t.bodyText&&(t.bodyText=n.getLinkedText(t.bodyText)),n.content.push(t),e.type){case h["l"].PARAGRAPH:break;case h["l"].RESOURCE:n.images.push({id:e.id,url:t.resource.spaceDescriptionUrl});break;case h["l"].SECTION:break;case h["l"].TABLE:n.tables.push({id:t.id,name:t.bodyText.replaceAll(" ","_").toLowerCase(),tabulator:{clipboard:"copy",printAsHtml:!0,data:t.table.rows,columns:n.formatColumns(t.table.columns,a()({},t.table.numberFormat&&{numberFormat:t.table.numberFormat})),clipboardCopied:function(){n.$q.notify({message:n.$t("messages.tableCopied"),type:"info",icon:"mdi-information",timeout:1e3})}}});break;case h["l"].FIGURE:n.$set(t.figure,"colormap",null),n.$set(t.figure,"timeString",""),n.figures.push({id:t.id,instance:t.figure,time:-1,timeString:""});break;default:break}}),this.updateThings()}}),watch:{tree:function(){this.build()},documentationSelected:function(e){Array.prototype.forEach.call(document.getElementsByClassName("dv-selected"),function(e){e.classList.remove("dv-selected")}),null!==e&&this.selectElement(e)}},mounted:function(){this.viewport=Math.min(document.body.clientWidth,640),this.$eventBus.$on(h["h"].FONT_SIZE_CHANGE,this.fontSizeChangeListener),this.forPrinting||(null!==this.documentationSelected&&this.selectElement(this.documentationSelected),this.$eventBus.$on(h["h"].REFRESH_DOCUMENTATION,this.clearCache))},activated:function(){this.visible=!0,this.updateThings()},deactivated:function(){this.visible=!1},updated:function(){var e=this;this.forPrinting||(null!==this.documentationSelected&&this.selectElement(this.documentationSelected),this.links.size>0&&(this.links.forEach(function(t,n){document.querySelectorAll(".link-".concat(n)).forEach(function(n){n.onclick=function(){e.setDocumentation({id:t.id,view:h["m"][t.type]})}})}),this.links.clear(),this.tableCounter=0,this.referenceCounter=0))},beforeDestroy:function(){this.forPrinting||this.$eventBus.$off(h["h"].REFRESH_DOCUMENTATION,this.clearCache),this.$eventBus.$off(h["h"].FONT_SIZE_CHANGE,this.fontSizeChangeListener)}}}).call(this,n("b639").Buffer)},"1abc":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,i){var o={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===i?n?"минута":"минуту":e+" "+t(o[i],+e)}var i=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],o=e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:n,m:n,mm:n,h:"час",hh:n,d:"день",dd:n,w:"неделя",ww:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}});return o})},"1ad9":function(e,t,n){var i=n("3022"),o=function(e,t,n,i){var o,r,a=[],s=0;while(o=t.exec(e)){if(r=e.slice(s,t.lastIndex-o[0].length),r.length&&a.push(r),n){var c=n.apply(i,o.slice(1).concat(a.length));"undefined"!=typeof c&&("%"===c.specifier?a.push("%"):a.push(c))}s=t.lastIndex}return r=e.slice(s),r.length&&a.push(r),a},r=function(e){this._mapped=!1,this._format=e,this._tokens=o(e,this._re,this._parseDelim,this)};r.prototype._re=/\%(?:\(([\w_.]+)\)|([1-9]\d*)\$)?([0 +\-\#]*)(\*|\d+)?(?:(\.)(\*|\d+)?)?[hlL]?([\%bscdeEfFgGioOuxX])/g,r.prototype._parseDelim=function(e,t,n,i,o,r,a){return e&&(this._mapped=!0),{mapping:e,intmapping:t,flags:n,_minWidth:i,period:o,_precision:r,specifier:a}},r.prototype._specifiers={b:{base:2,isInt:!0},o:{base:8,isInt:!0},x:{base:16,isInt:!0},X:{extend:["x"],toUpper:!0},d:{base:10,isInt:!0},i:{extend:["d"]},u:{extend:["d"],isUnsigned:!0},c:{setArg:function(e){if(!isNaN(e.arg)){var t=parseInt(e.arg);if(t<0||t>127)throw new Error("invalid character code passed to %c in printf");e.arg=isNaN(t)?""+t:String.fromCharCode(t)}}},s:{setMaxWidth:function(e){e.maxWidth="."==e.period?e.precision:-1}},e:{isDouble:!0,doubleNotation:"e"},E:{extend:["e"],toUpper:!0},f:{isDouble:!0,doubleNotation:"f"},F:{extend:["f"]},g:{isDouble:!0,doubleNotation:"g"},G:{extend:["g"],toUpper:!0},O:{isObject:!0}},r.prototype.format=function(e){if(this._mapped&&"object"!=typeof e)throw new Error("format requires a mapping");for(var t,n="",i=0,o=0;o=arguments.length)throw new Error("got "+arguments.length+" printf arguments, insufficient for '"+this._format+"'");t.arg=arguments[i++]}if(!t.compiled){t.compiled=!0,t.sign="",t.zeroPad=!1,t.rightJustify=!1,t.alternative=!1;for(var l={},u=t.flags.length;u--;){var d=t.flags.charAt(u);switch(l[d]=!0,d){case" ":t.sign=" ";break;case"+":t.sign="+";break;case"0":t.zeroPad=!l["-"];break;case"-":t.rightJustify=!0,t.zeroPad=!1;break;case"#":t.alternative=!0;break;default:throw Error("bad formatting flag '"+t.flags.charAt(u)+"'")}}t.minWidth=t._minWidth?parseInt(t._minWidth):0,t.maxWidth=-1,t.toUpper=!1,t.isUnsigned=!1,t.isInt=!1,t.isDouble=!1,t.isObject=!1,t.precision=1,"."==t.period&&(t._precision?t.precision=parseInt(t._precision):t.precision=0);var h=this._specifiers[t.specifier];if("undefined"==typeof h)throw new Error("unexpected specifier '"+t.specifier+"'");if(h.extend){var p=this._specifiers[h.extend];for(var f in p)h[f]=p[f];delete h.extend}for(var m in h)t[m]=h[m]}if("function"==typeof t.setArg&&t.setArg(t),"function"==typeof t.setMaxWidth&&t.setMaxWidth(t),"*"==t._minWidth){if(this._mapped)throw new Error("* width not supported in mapped formats");if(t.minWidth=parseInt(arguments[i++]),isNaN(t.minWidth))throw new Error("the argument for * width at position "+i+" is not a number in "+this._format);t.minWidth<0&&(t.rightJustify=!0,t.minWidth=-t.minWidth)}if("*"==t._precision&&"."==t.period){if(this._mapped)throw new Error("* precision not supported in mapped formats");if(t.precision=parseInt(arguments[i++]),isNaN(t.precision))throw Error("the argument for * precision at position "+i+" is not a number in "+this._format);t.precision<0&&(t.precision=1,t.period="")}t.isInt?("."==t.period&&(t.zeroPad=!1),this.formatInt(t)):t.isDouble?("."!=t.period&&(t.precision=6),this.formatDouble(t)):t.isObject&&this.formatObject(t),this.fitField(t),n+=""+t.arg}return n},r.prototype._zeros10="0000000000",r.prototype._spaces10=" ",r.prototype.formatInt=function(e){var t=parseInt(e.arg);if(!isFinite(t)){if("number"!=typeof e.arg)throw new Error("format argument '"+e.arg+"' not an integer; parseInt returned "+t);t=0}t<0&&(e.isUnsigned||10!=e.base)&&(t=4294967295+t+1),t<0?(e.arg=(-t).toString(e.base),this.zeroPad(e),e.arg="-"+e.arg):(e.arg=t.toString(e.base),t||e.precision?this.zeroPad(e):e.arg="",e.sign&&(e.arg=e.sign+e.arg)),16==e.base&&(e.alternative&&(e.arg="0x"+e.arg),e.arg=e.toUpper?e.arg.toUpperCase():e.arg.toLowerCase()),8==e.base&&e.alternative&&"0"!=e.arg.charAt(0)&&(e.arg="0"+e.arg)},r.prototype.formatDouble=function(e){var t=parseFloat(e.arg);if(!isFinite(t)){if("number"!=typeof e.arg)throw new Error("format argument '"+e.arg+"' not a float; parseFloat returned "+t);t=0}switch(e.doubleNotation){case"e":e.arg=t.toExponential(e.precision);break;case"f":e.arg=t.toFixed(e.precision);break;case"g":Math.abs(t)<1e-4?e.arg=t.toExponential(e.precision>0?e.precision-1:e.precision):e.arg=t.toPrecision(e.precision),e.alternative||(e.arg=e.arg.replace(/(\..*[^0])0*e/,"$1e"),e.arg=e.arg.replace(/\.0*e/,"e").replace(/\.0$/,""));break;default:throw new Error("unexpected double notation '"+e.doubleNotation+"'")}e.arg=e.arg.replace(/e\+(\d)$/,"e+0$1").replace(/e\-(\d)$/,"e-0$1"),e.alternative&&(e.arg=e.arg.replace(/^(\d+)$/,"$1."),e.arg=e.arg.replace(/^(\d+)e/,"$1.e")),t>=0&&e.sign&&(e.arg=e.sign+e.arg),e.arg=e.toUpper?e.arg.toUpperCase():e.arg.toLowerCase()},r.prototype.formatObject=function(e){var t="."===e.period?e.precision:null;e.arg=i.inspect(e.arg,{showHidden:!e.alternative,depth:t,colors:e.sign,compact:!0})},r.prototype.zeroPad=function(e,t){t=2==arguments.length?t:e.precision;var n=!1;"string"!=typeof e.arg&&(e.arg=""+e.arg),"-"===e.arg.substr(0,1)&&(n=!0,e.arg=e.arg.substr(1));var i=t-10;while(e.arg.length=0&&e.arg.length>e.maxWidth&&(e.arg=e.arg.substring(0,e.maxWidth)),e.zeroPad?this.zeroPad(e,e.minWidth):this.spacePad(e)},r.prototype.spacePad=function(e,t){t=2==arguments.length?t:e.minWidth,"string"!=typeof e.arg&&(e.arg=""+e.arg);var n=t-10;while(e.arg.length1&&e<5&&1!==~~(e/10)}function a(e,t,n,i){var o=e+" ";switch(n){case"s":return t||i?"pár sekund":"pár sekundami";case"ss":return t||i?o+(r(e)?"sekundy":"sekund"):o+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?o+(r(e)?"minuty":"minut"):o+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?o+(r(e)?"hodiny":"hodin"):o+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?o+(r(e)?"dny":"dní"):o+"dny";case"M":return t||i?"měsíc":"měsícem";case"MM":return t||i?o+(r(e)?"měsíce":"měsíců"):o+"měsíci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?o+(r(e)?"roky":"let"):o+"lety"}}var s=e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s})},"1c4c":function(e,t,n){"use strict";var i=n("9b43"),o=n("5ca1"),r=n("4bf8"),a=n("1fa8"),s=n("33a4"),c=n("9def"),l=n("f1ae"),u=n("27ee");o(o.S+o.F*!n("5cc5")(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,d,h=r(e),p="function"==typeof this?this:Array,f=arguments.length,m=f>1?arguments[1]:void 0,g=void 0!==m,v=0,_=u(h);if(g&&(m=i(m,f>2?arguments[2]:void 0,2)),void 0==_||p==Array&&s(_))for(t=c(h.length),n=new p(t);t>v;v++)l(n,v,g?m(h[v],v):h[v]);else for(d=_.call(h),n=new p;!(o=d.next()).done;v++)l(n,v,g?a(d,m,[o.value,v],!0):o.value);return n.length=v,n}})},"1cc1":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),s=n("6923"),c=n("1978"),l=n("4c18"),u=function(){function e(e){void 0===e&&(e=[]),this.menuProviders=e}return e.prototype.getItems=function(e,t){var n=this.menuProviders.map(function(n){return n.getItems(e,t)});return Promise.all(n).then(this.flattenAndRestructure)},e.prototype.flattenAndRestructure=function(e){for(var t=e.reduce(function(e,t){return void 0!==t?e.concat(t):e},[]),n=t.filter(function(e){return e.parentId}),i=function(e){if(e.parentId){for(var n=e.parentId.split("."),i=void 0,o=t,r=function(e){i=o.find(function(t){return e===t.id}),i&&i.children&&(o=i.children)},a=0,s=n;a0}}])},e=i([a.injectable()],e),e}();t.DeleteContextMenuItemProvider=d},"1cd9":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),c=n("9757"),l=n("4c18"),u=n("510b"),d=n("3a92"),h=n("1417"),p=n("b669"),f=n("7faf"),m=n("5d19"),g=n("5eb6"),v=n("e4f0"),_=n("6923"),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.keyDown=function(e,t){return p.matchesKeystroke(t,"KeyE","ctrlCmd","shift")?[new y]:[]},t=o([s.injectable()],t),t}(h.KeyListener);t.ExportSvgKeyListener=b;var y=function(){function e(t){void 0===t&&(t=""),this.requestId=t,this.kind=e.KIND}return e.create=function(){return new e(u.generateRequestId())},e.KIND="requestExportSvg",e}();t.RequestExportSvgAction=y;var M=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){if(f.isExportable(e.root)){var t=e.modelFactory.createRoot(e.root);if(f.isExportable(t))return g.isViewport(t)&&(t.zoom=1,t.scroll={x:0,y:0}),t.index.all().forEach(function(e){l.isSelectable(e)&&e.selected&&(e.selected=!1),v.isHoverable(e)&&e.hoverFeedback&&(e.hoverFeedback=!1)}),{model:t,modelChanged:!0,cause:this.action}}return{model:e.root,modelChanged:!1}},t.KIND=y.KIND,t=o([a(0,s.inject(_.TYPES.Action)),r("design:paramtypes",[y])],t),t}(c.HiddenCommand);t.ExportSvgCommand=M;var w=function(){function e(){}return e.prototype.decorate=function(e,t){return t instanceof d.SModelRoot&&(this.root=t),e},e.prototype.postUpdate=function(e){this.root&&void 0!==e&&e.kind===y.KIND&&this.svgExporter.export(this.root,e)},o([s.inject(_.TYPES.SvgExporter),r("design:type",m.SvgExporter)],e.prototype,"svgExporter",void 0),e=o([s.injectable()],e),e}();t.ExportSvgPostprocessor=w},"1d05":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}});return t})},"1d05e":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?":e":1===t?":a":2===t?":a":":e";return e+n},week:{dow:1,doy:4}});return t})},"1d39":function(e,t,n){"use strict";var i=n("1963"),o=n.n(i);o.a},"1d53":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},n=e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var n=e%10,i=e>=100?100:null;return e+(t[e]||t[n]||t[i])},week:{dow:1,doy:7}});return n})},"1db1":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_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|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t})},"1dd3":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return t})},"1e19":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("ed4f"),a=n("c444"),s=n("cf98"),c=n("fe37"),l=n("842c"),u=new i.ContainerModule(function(e,t,n){l.configureCommand({bind:e,isBound:n},r.CenterCommand),l.configureCommand({bind:e,isBound:n},r.FitToScreenCommand),l.configureCommand({bind:e,isBound:n},a.SetViewportCommand),l.configureCommand({bind:e,isBound:n},a.GetViewportCommand),e(o.TYPES.KeyListener).to(r.CenterKeyboardListener),e(o.TYPES.MouseListener).to(s.ScrollMouseListener),e(o.TYPES.MouseListener).to(c.ZoomMouseListener)});t.default=u},"1e31":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("9d6c"),a=new i.ContainerModule(function(e){e(r.EdgeLayoutPostprocessor).toSelf().inSingletonScope(),e(o.TYPES.IVNodePostprocessor).toService(r.EdgeLayoutPostprocessor),e(o.TYPES.HiddenVNodePostprocessor).toService(r.EdgeLayoutPostprocessor)});t.default=a},"1e94":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){}return e.of=function(t,n){var i=new e;return i.bindings=t,i.middleware=n,i},e}();t.ContainerSnapshot=i},"1ee0":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=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<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",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 年"}});return t})},"1f0f":function(e,t,n){},"1f66":function(e,t,n){},"1f89":function(e,t,n){"use strict";function i(e){return e.hasFeature(t.openFeature)}Object.defineProperty(t,"__esModule",{value:!0}),t.openFeature=Symbol("openFeature"),t.isOpenable=i},"1fac":function(e,t,n){"use strict";var i=n("e5a7"),o=n.n(i);o.a},2:function(e,t){},2085:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},2174:function(e,t,n){var i={"./af":"e0ea","./af.js":"e0ea","./ar":"31db","./ar-dz":"4648","./ar-dz.js":"4648","./ar-kw":"1760","./ar-kw.js":"1760","./ar-ly":"7121","./ar-ly.js":"7121","./ar-ma":"be99","./ar-ma.js":"be99","./ar-sa":"510c","./ar-sa.js":"510c","./ar-tn":"c9f0","./ar-tn.js":"c9f0","./ar.js":"31db","./az":"2e49","./az.js":"2e49","./be":"1644","./be.js":"1644","./bg":"f593","./bg.js":"f593","./bm":"e3cd","./bm.js":"e3cd","./bn":"14f3","./bn-bd":"39d7","./bn-bd.js":"39d7","./bn.js":"14f3","./bo":"00b4","./bo.js":"00b4","./br":"8965","./br.js":"8965","./bs":"d6b8","./bs.js":"d6b8","./ca":"f87b","./ca.js":"f87b","./cs":"1be6","./cs.js":"1be6","./cv":"13a5","./cv.js":"13a5","./cy":"a3fd","./cy.js":"a3fd","./da":"45a0","./da.js":"45a0","./de":"8b74","./de-at":"ab78","./de-at.js":"ab78","./de-ch":"a74d","./de-ch.js":"a74d","./de.js":"8b74","./dv":"0184","./dv.js":"0184","./el":"4eb7","./el.js":"4eb7","./en-au":"2e91","./en-au.js":"2e91","./en-ca":"cfbe","./en-ca.js":"cfbe","./en-gb":"ace8","./en-gb.js":"ace8","./en-ie":"dc23b","./en-ie.js":"dc23b","./en-il":"4de1","./en-il.js":"4de1","./en-in":"e5be","./en-in.js":"e5be","./en-nz":"e989","./en-nz.js":"e989","./en-sg":"12b4","./en-sg.js":"12b4","./eo":"01f4","./eo.js":"01f4","./es":"f257","./es-do":"cf7c","./es-do.js":"cf7c","./es-mx":"1732","./es-mx.js":"1732","./es-us":"fd0e","./es-us.js":"fd0e","./es.js":"f257","./et":"2f03","./et.js":"2f03","./eu":"6ca9","./eu.js":"6ca9","./fa":"6c8d","./fa.js":"6c8d","./fi":"895a","./fi.js":"895a","./fil":"33bc","./fil.js":"33bc","./fo":"3447","./fo.js":"3447","./fr":"7e69","./fr-ca":"1d05","./fr-ca.js":"1d05","./fr-ch":"293b","./fr-ch.js":"293b","./fr.js":"7e69","./fy":"0fba","./fy.js":"0fba","./ga":"5608","./ga.js":"5608","./gd":"0ba7","./gd.js":"0ba7","./gl":"f486","./gl.js":"f486","./gom-deva":"669e","./gom-deva.js":"669e","./gom-latn":"1890","./gom-latn.js":"1890","./gu":"8e55","./gu.js":"8e55","./he":"90a9","./he.js":"90a9","./hi":"fd5f","./hi.js":"fd5f","./hr":"7335","./hr.js":"7335","./hu":"db32","./hu.js":"db32","./hy-am":"7c45","./hy-am.js":"7c45","./id":"55a0","./id.js":"55a0","./is":"c9c0","./is.js":"c9c0","./it":"347e","./it-ch":"7e47","./it-ch.js":"7e47","./it.js":"347e","./ja":"5caf","./ja.js":"5caf","./jv":"0831","./jv.js":"0831","./ka":"f30e","./ka.js":"f30e","./kk":"1390","./kk.js":"1390","./km":"d0af","./km.js":"d0af","./kn":"9f67","./kn.js":"9f67","./ko":"d662","./ko.js":"d662","./ku":"5fd7","./ku.js":"5fd7","./ky":"1d53","./ky.js":"1d53","./lb":"c3ea","./lb.js":"c3ea","./lo":"3751","./lo.js":"3751","./lt":"9d38","./lt.js":"9d38","./lv":"81a6","./lv.js":"81a6","./me":"d0b3","./me.js":"d0b3","./mi":"7349","./mi.js":"7349","./mk":"83e0","./mk.js":"83e0","./ml":"1738","./ml.js":"1738","./mn":"b933","./mn.js":"b933","./mr":"f00a","./mr.js":"f00a","./ms":"f119","./ms-my":"1db1","./ms-my.js":"1db1","./ms.js":"f119","./mt":"e6b6","./mt.js":"e6b6","./my":"22cf","./my.js":"22cf","./nb":"ebf0","./nb.js":"ebf0","./ne":"46dd","./ne.js":"46dd","./nl":"01bc","./nl-be":"4630e","./nl-be.js":"4630e","./nl.js":"01bc","./nn":"ff3f","./nn.js":"ff3f","./oc-lnc":"746a","./oc-lnc.js":"746a","./pa-in":"1107","./pa-in.js":"1107","./pl":"7bba","./pl.js":"7bba","./pt":"650c","./pt-br":"4b54","./pt-br.js":"4b54","./pt.js":"650c","./ro":"6ef9","./ro.js":"6ef9","./ru":"1abc","./ru.js":"1abc","./sd":"0351","./sd.js":"0351","./se":"e7ce","./se.js":"e7ce","./si":"bb82","./si.js":"bb82","./sk":"d631","./sk.js":"d631","./sl":"8bc9","./sl.js":"8bc9","./sq":"08cf","./sq.js":"08cf","./sr":"c2c0","./sr-cyrl":"135d","./sr-cyrl.js":"135d","./sr.js":"c2c0","./ss":"cac6","./ss.js":"cac6","./sv":"1d05e","./sv.js":"1d05e","./sw":"224a","./sw.js":"224a","./ta":"0e6e","./ta.js":"0e6e","./te":"b175","./te.js":"b175","./tet":"2085","./tet.js":"2085","./tg":"0cc6","./tg.js":"0cc6","./th":"1dd3","./th.js":"1dd3","./tk":"665c","./tk.js":"665c","./tl-ph":"267e","./tl-ph.js":"267e","./tlh":"0867","./tlh.js":"0867","./tr":"fcb5","./tr.js":"fcb5","./tzl":"d7e6","./tzl.js":"d7e6","./tzm":"2c4e","./tzm-latn":"6af6","./tzm-latn.js":"6af6","./tzm.js":"2c4e","./ug-cn":"1303","./ug-cn.js":"1303","./uk":"efed","./uk.js":"efed","./ur":"e027","./ur.js":"e027","./uz":"8dfa","./uz-latn":"6b2f","./uz-latn.js":"6b2f","./uz.js":"8dfa","./vi":"519e","./vi.js":"519e","./x-pseudo":"370c","./x-pseudo.js":"370c","./yo":"51c8","./yo.js":"51c8","./zh-cn":"51ef","./zh-cn.js":"51ef","./zh-hk":"647c","./zh-hk.js":"647c","./zh-mo":"2b9d","./zh-mo.js":"2b9d","./zh-tw":"1ee0","./zh-tw.js":"1ee0"};function o(e){var t=r(e);return n(t)}function r(e){var t=i[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}o.keys=function(){return Object.keys(i)},o.resolve=r,e.exports=o,o.id="2174"},"218d":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var r=n("393a"),a=n("47b7"),s=n("8e97"),c=n("dd02"),l=n("e1c6"),u=function(){function e(){}return e.prototype.render=function(e,t){var n="scale("+e.zoom+") translate("+-e.scroll.x+","+-e.scroll.y+")";return r.svg("svg",null,r.svg("g",{transform:n},t.renderChildren(e)))},e=o([l.injectable()],e),e}();t.SvgViewportView=u;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(e,t){if(this.isVisible(e,t)){var n=this.getRadius(e);return r.svg("g",null,r.svg("circle",{"class-sprotty-node":e instanceof a.SNode,"class-sprotty-port":e instanceof a.SPort,"class-mouseover":e.hoverFeedback,"class-selected":e.selected,r:n,cx:n,cy:n}),t.renderChildren(e))}},t.prototype.getRadius=function(e){var t=Math.min(e.size.width,e.size.height);return t>0?t/2:0},t=o([l.injectable()],t),t}(s.ShapeView);t.CircularNodeView=d;var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(e,t){if(this.isVisible(e,t))return r.svg("g",null,r.svg("rect",{"class-sprotty-node":e instanceof a.SNode,"class-sprotty-port":e instanceof a.SPort,"class-mouseover":e.hoverFeedback,"class-selected":e.selected,x:"0",y:"0",width:Math.max(e.size.width,0),height:Math.max(e.size.height,0)}),t.renderChildren(e))},t=o([l.injectable()],t),t}(s.ShapeView);t.RectangularNodeView=h;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(e,t){if(this.isVisible(e,t)){var n=new c.Diamond({height:Math.max(e.size.height,0),width:Math.max(e.size.width,0),x:0,y:0}),i=f(n.topPoint)+" "+f(n.rightPoint)+" "+f(n.bottomPoint)+" "+f(n.leftPoint);return r.svg("g",null,r.svg("polygon",{"class-sprotty-node":e instanceof a.SNode,"class-sprotty-port":e instanceof a.SPort,"class-mouseover":e.hoverFeedback,"class-selected":e.selected,points:i}),t.renderChildren(e))}},t=o([l.injectable()],t),t}(s.ShapeView);function f(e){return e.x+","+e.y}t.DiamondNodeView=p;var m=function(){function e(){}return e.prototype.render=function(e,t){return r.svg("g",null)},e=o([l.injectable()],e),e}();t.EmptyGroupView=m},2196:function(e,t,n){},"21a6":function(e,t,n){(function(n){var i,o,r;(function(n,a){o=[],i=a,r="function"===typeof i?i.apply(t,o):i,void 0===r||(e.exports=r)})(0,function(){"use strict";function t(e,t){return"undefined"==typeof t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function i(e,t,n){var i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){s(i.response,t,n)},i.onerror=function(){console.error("could not download file")},i.send()}function o(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function r(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,s=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype?function(e,t,n){var s=a.URL||a.webkitURL,c=document.createElement("a");t=t||e.name||"download",c.download=t,c.rel="noopener","string"==typeof e?(c.href=e,c.origin===location.origin?r(c):o(c.href)?i(e,t,n):r(c,c.target="_blank")):(c.href=s.createObjectURL(e),setTimeout(function(){s.revokeObjectURL(c.href)},4e4),setTimeout(function(){r(c)},0))}:"msSaveOrOpenBlob"in navigator?function(e,n,a){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,a),n);else if(o(e))i(e,n,a);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout(function(){r(s)})}}:function(e,t,n,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return i(e,t,n);var r="application/octet-stream"===e.type,s=/constructor/i.test(a.HTMLElement)||a.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||r&&s)&&"object"==typeof FileReader){var l=new FileReader;l.onloadend=function(){var e=l.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},l.readAsDataURL(e)}else{var u=a.URL||a.webkitURL,d=u.createObjectURL(e);o?o.location=d:location.href=d,o=null,setTimeout(function(){u.revokeObjectURL(d)},4e4)}});a.saveAs=s.saveAs=s,e.exports=s})}).call(this,n("c8ba"))},"224a":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});return t})},"22cf":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},i=e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}});return i})},"232d":function(e,t,n){},"23a0":function(e,t,n){"use strict";var i=n("79d7"),o=n.n(i);o.a},2590:function(e,t,n){"use strict";var i=n("1288"),o=n.n(i);o.a},"267e":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t})},"26ad":function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),s=n("3f0a"),c=n("6923"),l=n("5d19"),u=n("3a92"),d=function(){function e(){}return e.prototype.initialize=function(e){e.register(s.RequestModelAction.KIND,this),e.register(l.ExportSvgAction.KIND,this)},o([a.inject(c.TYPES.IActionDispatcher),r("design:type",Object)],e.prototype,"actionDispatcher",void 0),o([a.inject(c.TYPES.ViewerOptions),r("design:type",Object)],e.prototype,"viewerOptions",void 0),e=o([a.injectable()],e),e}();t.ModelSource=d;var h=function(){function e(){}return e.prototype.apply=function(e,t){var n=new u.SModelIndex;n.add(e);for(var i=0,o=t.bounds;i=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("393a"),s=n("dd7b"),c=n("6af2"),l=n("ff70"),u=n("9016"),d=n("6907"),h=n("f923"),p=n("e1c6"),f=n("6923"),m=n("fba3"),g=n("33b2"),v=n("e45b"),_=n("8d53"),b=n("302f"),y=function(){function e(e,t,n){this.viewRegistry=e,this.targetKind=t,this.postprocessors=n}return e.prototype.decorate=function(e,t){return _.isThunk(e)?e:this.postprocessors.reduce(function(e,n){return n.decorate(e,t)},e)},e.prototype.renderElement=function(e,t){var n=this.viewRegistry.get(e.type),i=n.render(e,this,t);return i?this.decorate(i,e):void 0},e.prototype.renderChildren=function(e,t){var n=this;return e.children.map(function(e){return n.renderElement(e,t)}).filter(function(e){return void 0!==e})},e.prototype.postUpdate=function(e){this.postprocessors.forEach(function(t){return t.postUpdate(e)})},e}();t.ModelRenderer=y;var M=function(){function e(){this.patcher=s.init(this.createModules())}return e.prototype.createModules=function(){return[c.propsModule,l.attributesModule,h.classModule,u.styleModule,d.eventListenersModule]},e=i([p.injectable(),o("design:paramtypes",[])],e),e}();t.PatcherProvider=M;var w=function(){function e(e,t,n){var i=this;this.onWindowResize=function(e){var t=document.getElementById(i.options.baseDiv);if(null!==t){var n=i.getBoundsInPage(t);i.actiondispatcher.dispatch(new g.InitializeCanvasBoundsAction(n))}},this.renderer=e("main",n),this.patcher=t.patcher}return e.prototype.update=function(e,t){var n=this;this.logger.log(this,"rendering",e);var i=a.html("div",{id:this.options.baseDiv},this.renderer.renderElement(e));if(void 0!==this.lastVDOM){var o=this.hasFocus();v.copyClassesFromVNode(this.lastVDOM,i),this.lastVDOM=this.patcher.call(this,this.lastVDOM,i),this.restoreFocus(o)}else if("undefined"!==typeof document){var r=document.getElementById(this.options.baseDiv);null!==r?("undefined"!==typeof window&&window.addEventListener("resize",function(){n.onWindowResize(i)}),v.copyClassesFromElement(r,i),v.setClass(i,this.options.baseClass,!0),this.lastVDOM=this.patcher.call(this,r,i)):this.logger.error(this,"element not in DOM:",this.options.baseDiv)}this.renderer.postUpdate(t)},e.prototype.hasFocus=function(){if("undefined"!==typeof document&&document.activeElement&&this.lastVDOM.children&&this.lastVDOM.children.length>0){var e=this.lastVDOM.children[0];if("object"===typeof e){var t=e.elm;return document.activeElement===t}}return!1},e.prototype.restoreFocus=function(e){if(e&&this.lastVDOM.children&&this.lastVDOM.children.length>0){var t=this.lastVDOM.children[0];if("object"===typeof t){var n=t.elm;n&&"function"===typeof n.focus&&n.focus()}}},e.prototype.getBoundsInPage=function(e){var t=e.getBoundingClientRect(),n=m.getWindowScroll();return{x:t.left+n.x,y:t.top+n.y,width:t.width,height:t.height}},i([p.inject(f.TYPES.ViewerOptions),o("design:type",Object)],e.prototype,"options",void 0),i([p.inject(f.TYPES.ILogger),o("design:type",Object)],e.prototype,"logger",void 0),i([p.inject(f.TYPES.IActionDispatcher),o("design:type",Object)],e.prototype,"actiondispatcher",void 0),e=i([p.injectable(),r(0,p.inject(f.TYPES.ModelRendererFactory)),r(1,p.inject(f.TYPES.PatcherProvider)),r(2,p.multiInject(f.TYPES.IVNodePostprocessor)),r(2,p.optional()),o("design:paramtypes",[Function,M,Array])],e),e}();t.ModelViewer=w;var L=function(){function e(e,t,n){this.hiddenRenderer=e("hidden",n),this.patcher=t.patcher}return e.prototype.update=function(e,t){var n;if(this.logger.log(this,"rendering hidden"),e.type===b.EMPTY_ROOT.type)n=a.html("div",{id:this.options.hiddenDiv});else{var i=this.hiddenRenderer.renderElement(e);i&&v.setAttr(i,"opacity",0),n=a.html("div",{id:this.options.hiddenDiv},i)}if(void 0!==this.lastHiddenVDOM)v.copyClassesFromVNode(this.lastHiddenVDOM,n),this.lastHiddenVDOM=this.patcher.call(this,this.lastHiddenVDOM,n);else{var o=document.getElementById(this.options.hiddenDiv);null===o?(o=document.createElement("div"),document.body.appendChild(o)):v.copyClassesFromElement(o,n),v.setClass(n,this.options.baseClass,!0),v.setClass(n,this.options.hiddenClass,!0),this.lastHiddenVDOM=this.patcher.call(this,o,n)}this.hiddenRenderer.postUpdate(t)},i([p.inject(f.TYPES.ViewerOptions),o("design:type",Object)],e.prototype,"options",void 0),i([p.inject(f.TYPES.ILogger),o("design:type",Object)],e.prototype,"logger",void 0),e=i([p.injectable(),r(0,p.inject(f.TYPES.ModelRendererFactory)),r(1,p.inject(f.TYPES.PatcherProvider)),r(2,p.multiInject(f.TYPES.HiddenVNodePostprocessor)),r(2,p.optional()),o("design:paramtypes",[Function,M,Array])],e),e}();t.HiddenModelViewer=L;var S=function(){function e(e,t,n){this.modelRendererFactory=e,this.popupRenderer=this.modelRendererFactory("popup",n),this.patcher=t.patcher}return e.prototype.update=function(e,t){this.logger.log(this,"rendering popup",e);var n,i=e.type===b.EMPTY_ROOT.type;if(i)n=a.html("div",{id:this.options.popupDiv});else{var o=e.canvasBounds,r={top:o.y+"px",left:o.x+"px"};n=a.html("div",{id:this.options.popupDiv,style:r},this.popupRenderer.renderElement(e))}if(void 0!==this.lastPopupVDOM)v.copyClassesFromVNode(this.lastPopupVDOM,n),v.setClass(n,this.options.popupClosedClass,i),this.lastPopupVDOM=this.patcher.call(this,this.lastPopupVDOM,n);else if("undefined"!==typeof document){var s=document.getElementById(this.options.popupDiv);null===s?(s=document.createElement("div"),document.body.appendChild(s)):v.copyClassesFromElement(s,n),v.setClass(n,this.options.popupClass,!0),v.setClass(n,this.options.popupClosedClass,i),this.lastPopupVDOM=this.patcher.call(this,s,n)}this.popupRenderer.postUpdate(t)},i([p.inject(f.TYPES.ViewerOptions),o("design:type",Object)],e.prototype,"options",void 0),i([p.inject(f.TYPES.ILogger),o("design:type",Object)],e.prototype,"logger",void 0),e=i([p.injectable(),r(0,p.inject(f.TYPES.ModelRendererFactory)),r(1,p.inject(f.TYPES.PatcherProvider)),r(2,p.multiInject(f.TYPES.PopupVNodePostprocessor)),r(2,p.optional()),o("design:paramtypes",[Function,M,Array])],e),e}();t.PopupModelViewer=S},"2b54":function(e,t,n){"use strict";var i=n("e7ed"),o=n.n(i);o.a},"2b9d":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=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<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",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 年"}});return t})},"2c4e":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}});return t})},"2c63":function(e,t,n){e.exports=n("dc14")},"2cac":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e34e"),o=n("cf81"),r=function(){function e(e){this._binding=e,this._bindingWhenSyntax=new o.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new i.BindingOnSyntax(this._binding)}return e.prototype.when=function(e){return this._bindingWhenSyntax.when(e)},e.prototype.whenTargetNamed=function(e){return this._bindingWhenSyntax.whenTargetNamed(e)},e.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},e.prototype.whenTargetTagged=function(e,t){return this._bindingWhenSyntax.whenTargetTagged(e,t)},e.prototype.whenInjectedInto=function(e){return this._bindingWhenSyntax.whenInjectedInto(e)},e.prototype.whenParentNamed=function(e){return this._bindingWhenSyntax.whenParentNamed(e)},e.prototype.whenParentTagged=function(e,t){return this._bindingWhenSyntax.whenParentTagged(e,t)},e.prototype.whenAnyAncestorIs=function(e){return this._bindingWhenSyntax.whenAnyAncestorIs(e)},e.prototype.whenNoAncestorIs=function(e){return this._bindingWhenSyntax.whenNoAncestorIs(e)},e.prototype.whenAnyAncestorNamed=function(e){return this._bindingWhenSyntax.whenAnyAncestorNamed(e)},e.prototype.whenAnyAncestorTagged=function(e,t){return this._bindingWhenSyntax.whenAnyAncestorTagged(e,t)},e.prototype.whenNoAncestorNamed=function(e){return this._bindingWhenSyntax.whenNoAncestorNamed(e)},e.prototype.whenNoAncestorTagged=function(e,t){return this._bindingWhenSyntax.whenNoAncestorTagged(e,t)},e.prototype.whenAnyAncestorMatches=function(e){return this._bindingWhenSyntax.whenAnyAncestorMatches(e)},e.prototype.whenNoAncestorMatches=function(e){return this._bindingWhenSyntax.whenNoAncestorMatches(e)},e.prototype.onActivation=function(e){return this._bindingOnSyntax.onActivation(e)},e}();t.BindingWhenOnSyntax=r},"2cee":function(e,t,n){"use strict";n("6762"),n("2fdb");t["a"]={data:function(){return{ellipsed:[]}},methods:{tooltipIt:function(e,t){e.target.offsetWidth=100?100:null;return e+(t[n]||t[i]||t[o])},week:{dow:1,doy:7}});return n})},"2e91":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:4}});return t})},"2eed":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("81aa"),o=n("6b35");function r(e,t,n){if(e.ns="http://www.w3.org/2000/svg","foreignObject"!==n&&void 0!==t)for(var i=0;i=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),s=n("6923"),c=n("9757"),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.execute=function(e){var t=this.retrieveResult(e);return this.actionDispatcher.dispatch(t),{model:e.root,modelChanged:!1}},t.prototype.undo=function(e){return{model:e.root,modelChanged:!1}},t.prototype.redo=function(e){return{model:e.root,modelChanged:!1}},o([a.inject(s.TYPES.IActionDispatcher),r("design:type",Object)],t.prototype,"actionDispatcher",void 0),t=o([a.injectable()],t),t}(c.SystemCommand);t.ModelRequestCommand=l},3:function(e,t){},3022:function(e,t,n){(function(e){var i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},i=0;i=r)return e;switch(e){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch(e){return"[Circular]"}default:return e}}),c=i[n];n=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),_(n)?i.showHidden=n:n&&t._extend(i,n),S(i.showHidden)&&(i.showHidden=!1),S(i.depth)&&(i.depth=2),S(i.colors)&&(i.colors=!1),S(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=c),d(i,e,i.depth)}function c(e,t){var n=s.styles[t];return n?"["+s.colors[n][0]+"m"+e+"["+s.colors[n][1]+"m":e}function l(e,t){return e}function u(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function d(e,n,i){if(e.customInspect&&n&&O(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(i,e);return w(o)||(o=d(e,o,i)),o}var r=h(e,n);if(r)return r;var a=Object.keys(n),s=u(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),T(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(n);if(0===a.length){if(O(n)){var c=n.name?": "+n.name:"";return e.stylize("[Function"+c+"]","special")}if(C(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(A(n))return e.stylize(Date.prototype.toString.call(n),"date");if(T(n))return p(n)}var l,_="",b=!1,y=["{","}"];if(v(n)&&(b=!0,y=["[","]"]),O(n)){var M=n.name?": "+n.name:"";_=" [Function"+M+"]"}return C(n)&&(_=" "+RegExp.prototype.toString.call(n)),A(n)&&(_=" "+Date.prototype.toUTCString.call(n)),T(n)&&(_=" "+p(n)),0!==a.length||b&&0!=n.length?i<0?C(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=b?f(e,n,i,s,a):a.map(function(t){return m(e,n,i,s,t,b)}),e.seen.pop(),g(l,_,y)):y[0]+_+y[1]}function h(e,t){if(S(t))return e.stylize("undefined","undefined");if(w(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return M(t)?e.stylize(""+t,"number"):_(t)?e.stylize(""+t,"boolean"):b(t)?e.stylize("null","null"):void 0}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,i,o){for(var r=[],a=0,s=t.length;a-1&&(s=r?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n"))):s=e.stylize("[Circular]","special")),S(a)){if(r&&o.match(/^\d+$/))return s;a=JSON.stringify(""+o),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function g(e,t,n){var i=e.reduce(function(e,t){return 0,t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function v(e){return Array.isArray(e)}function _(e){return"boolean"===typeof e}function b(e){return null===e}function y(e){return null==e}function M(e){return"number"===typeof e}function w(e){return"string"===typeof e}function L(e){return"symbol"===typeof e}function S(e){return void 0===e}function C(e){return E(e)&&"[object RegExp]"===x(e)}function E(e){return"object"===typeof e&&null!==e}function A(e){return E(e)&&"[object Date]"===x(e)}function T(e){return E(e)&&("[object Error]"===x(e)||e instanceof Error)}function O(e){return"function"===typeof e}function k(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function x(e){return Object.prototype.toString.call(e)}function D(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(S(r)&&(r=Object({NODE_ENV:"production",CLIENT:!0,SERVER:!1,DEV:!1,PROD:!0,THEME:"mat",MODE:"spa",WS_BASE_URL:"",STOMP_CLIENT_DEBUG:!1,KEXPLORER_DEBUG:!1,ROUTER_BASE:"/modeler/ui",WEB_BASE_URL:"https://integratedmodelling.org",PACKAGE_VERSION:"0.22.0",PACKAGE_BUILD:"",ENGINE_URL:"/modeler",ENGINE_SHARED:"/modeler/shared/",ENGINE_LOGIN:"/modeler",API:"/modeler/api/v2",WS_URL:"/modeler/message",WS_SUBSCRIBE:"/message",WS_MESSAGE_DESTINATION:"/klab/message",REST_UPLOAD_MAX_SIZE:"1024MB",SEARCH_TIMEOUT_MS:"4000",VUE_ROUTER_MODE:"hash",VUE_ROUTER_BASE:"",APP_URL:"undefined"}).NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(r)){var i=e.pid;a[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,i,e)}}else a[n]=function(){};return a[n]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=v,t.isBoolean=_,t.isNull=b,t.isNullOrUndefined=y,t.isNumber=M,t.isString=w,t.isSymbol=L,t.isUndefined=S,t.isRegExp=C,t.isObject=E,t.isDate=A,t.isError=T,t.isFunction=O,t.isPrimitive=k,t.isBuffer=n("d60a");var R=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function z(){var e=new Date,t=[D(e.getHours()),D(e.getMinutes()),D(e.getSeconds())].join(":");return[e.getDate(),R[e.getMonth()],t].join(" ")}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",z(),t.format.apply(t,arguments))},t.inherits=n("28a0"),t._extend=function(e,t){if(!t||!E(t))return e;var n=Object.keys(t),i=n.length;while(i--)e[n[i]]=t[n[i]];return e};var N="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function I(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}function B(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],i=0;i=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),c=n("6923"),l=n("3864"),u=n("3a92"),d=function(){function e(){}return e.prototype.createElement=function(e,t){var n;if(this.registry.hasKey(e.type)){var i=this.registry.get(e.type,void 0);if(!(i instanceof u.SChildElement))throw new Error("Element with type "+e.type+" was expected to be an SChildElement.");n=i}else n=new u.SChildElement;return this.initializeChild(n,e,t)},e.prototype.createRoot=function(e){var t;if(this.registry.hasKey(e.type)){var n=this.registry.get(e.type,void 0);if(!(n instanceof u.SModelRoot))throw new Error("Element with type "+e.type+" was expected to be an SModelRoot.");t=n}else t=new u.SModelRoot;return this.initializeRoot(t,e)},e.prototype.createSchema=function(e){var t=this,n={};for(var i in e)if(!this.isReserved(e,i)){var o=e[i];"function"!==typeof o&&(n[i]=o)}return e instanceof u.SParentElement&&(n["children"]=e.children.map(function(e){return t.createSchema(e)})),n},e.prototype.initializeElement=function(e,t){for(var n in t)if(!this.isReserved(e,n)){var i=t[n];"function"!==typeof i&&(e[n]=i)}return e},e.prototype.isReserved=function(e,t){if(["children","parent","index"].indexOf(t)>=0)return!0;var n=e;do{var i=Object.getOwnPropertyDescriptor(n,t);if(void 0!==i)return void 0!==i.get;n=Object.getPrototypeOf(n)}while(n);return!1},e.prototype.initializeParent=function(e,t){var n=this;return this.initializeElement(e,t),u.isParent(t)&&(e.children=t.children.map(function(t){return n.createElement(t,e)})),e},e.prototype.initializeChild=function(e,t,n){return this.initializeParent(e,t),void 0!==n&&(e.parent=n),e},e.prototype.initializeRoot=function(e,t){return this.initializeParent(e,t),e.index.add(e),e},o([s.inject(c.TYPES.SModelRegistry),r("design:type",h)],e.prototype,"registry",void 0),e=o([s.injectable()],e),e}();t.SModelFactory=d,t.EMPTY_ROOT=Object.freeze({type:"NONE",id:"EMPTY"});var h=function(e){function t(t){var n=e.call(this)||this;return t.forEach(function(e){var t=n.getDefaultFeatures(e.constr);if(!t&&e.features&&e.features.enable&&(t=[]),t){var i=p(t,e.features);n.register(e.type,function(){var t=new e.constr;return t.features=i,t})}else n.register(e.type,function(){return new e.constr})}),n}return i(t,e),t.prototype.getDefaultFeatures=function(e){var t=e;do{var n=t.DEFAULT_FEATURES;if(n)return n;t=Object.getPrototypeOf(t)}while(t)},t=o([s.injectable(),a(0,s.multiInject(c.TYPES.SModelElementRegistration)),a(0,s.optional()),r("design:paramtypes",[Array])],t),t}(l.FactoryRegistry);function p(e,t){var n=new Set(e);if(t&&t.enable)for(var i=0,o=t.enable;i= than the number of constructor arguments of its base class."},t.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT="Invalid Container constructor argument. Container options must be an object.",t.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE="Invalid Container option. Default scope must be a string ('singleton' or 'transient').",t.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE="Invalid Container option. Auto bind injectable must be a boolean",t.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK="Invalid Container option. Skip base check must be a boolean",t.MULTIPLE_POST_CONSTRUCT_METHODS="Cannot apply @postConstruct decorator multiple times in the same class",t.POST_CONSTRUCT_ERROR=function(){for(var e=[],t=0;t=3&&e%100<=10?3:e%100>=11?4:5},o={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,n,r,a){var s=i(t),c=o[e][i(t)];return 2===s&&(c=c[n?0:1]),c.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return s})},"320b":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),s=n("6923"),c=n("3864"),l=n("dd02"),u=n("66f9"),d=n("da84"),h=n("4b75"),p=n("ac2a"),f=function(e){function t(){var t=e.call(this)||this;return t.register(d.VBoxLayouter.KIND,new d.VBoxLayouter),t.register(h.HBoxLayouter.KIND,new h.HBoxLayouter),t.register(p.StackLayouter.KIND,new p.StackLayouter),t}return i(t,e),t}(c.InstanceRegistry);t.LayoutRegistry=f;var m=function(){function e(){}return e.prototype.layout=function(e){new g(e,this.layoutRegistry,this.logger).layout()},o([a.inject(s.TYPES.LayoutRegistry),r("design:type",f)],e.prototype,"layoutRegistry",void 0),o([a.inject(s.TYPES.ILogger),r("design:type",Object)],e.prototype,"logger",void 0),e=o([a.injectable()],e),e}();t.Layouter=m;var g=function(){function e(e,t,n){var i=this;this.element2boundsData=e,this.layoutRegistry=t,this.log=n,this.toBeLayouted=[],e.forEach(function(e,t){u.isLayoutContainer(t)&&i.toBeLayouted.push(t)})}return e.prototype.getBoundsData=function(e){var t=this.element2boundsData.get(e),n=e.bounds;return u.isLayoutContainer(e)&&this.toBeLayouted.indexOf(e)>=0&&(n=this.doLayout(e)),t||(t={bounds:n,boundsChanged:!1,alignmentChanged:!1},this.element2boundsData.set(e,t)),t},e.prototype.layout=function(){while(this.toBeLayouted.length>0){var e=this.toBeLayouted[0];this.doLayout(e)}},e.prototype.doLayout=function(e){var t=this.toBeLayouted.indexOf(e);t>=0&&this.toBeLayouted.splice(t,1);var n=this.layoutRegistry.get(e.layout);n&&n.layout(e,this);var i=this.element2boundsData.get(e);return void 0!==i&&void 0!==i.bounds?i.bounds:(this.log.error(e,"Layout failed"),l.EMPTY_BOUNDS)},e}();t.StatefulLayouter=g},"33b2":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),c=n("6923"),l=n("dd02"),u=n("3a92"),d=n("9757"),h=n("fba3"),p=function(){function e(){}return e.prototype.decorate=function(e,t){return t instanceof u.SModelRoot&&!l.isValidDimension(t.canvasBounds)&&(this.rootAndVnode=[t,e]),e},e.prototype.postUpdate=function(){if(void 0!==this.rootAndVnode){var e=this.rootAndVnode[1].elm,t=this.rootAndVnode[0].canvasBounds;if(void 0!==e){var n=this.getBoundsInPage(e);l.almostEquals(n.x,t.x)&&l.almostEquals(n.y,t.y)&&l.almostEquals(n.width,t.width)&&l.almostEquals(n.height,t.width)||this.actionDispatcher.dispatch(new f(n))}this.rootAndVnode=void 0}},e.prototype.getBoundsInPage=function(e){var t=e.getBoundingClientRect(),n=h.getWindowScroll();return{x:t.left+n.x,y:t.top+n.y,width:t.width,height:t.height}},o([s.inject(c.TYPES.IActionDispatcher),r("design:type",Object)],e.prototype,"actionDispatcher",void 0),e=o([s.injectable()],e),e}();t.CanvasBoundsInitializer=p;var f=function(){function e(t){this.newCanvasBounds=t,this.kind=e.KIND}return e.KIND="initializeCanvasBounds",e}();t.InitializeCanvasBoundsAction=f;var m=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){return this.newCanvasBounds=this.action.newCanvasBounds,e.root.canvasBounds=this.newCanvasBounds,e.root},t.prototype.undo=function(e){return e.root},t.prototype.redo=function(e){return e.root},t.KIND=f.KIND,t=o([s.injectable(),a(0,s.inject(c.TYPES.Action)),r("design:paramtypes",[f])],t),t}(d.SystemCommand);t.InitializeCanvasBoundsCommand=m},"33bc":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t})},3447:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},"347e":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t})},"34eb":function(e,t,n){(function(i){function o(){return!("undefined"===typeof window||!window.process||"renderer"!==window.process.type)||("undefined"!==typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!==typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function r(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),n){var i="color: "+this.color;e.splice(1,0,i,"color: inherit");var o=0,r=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(r=o))}),e.splice(r,0,i)}}function a(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}function c(){var e;try{e=t.storage.debug}catch(e){}return!e&&"undefined"!==typeof i&&"env"in i&&(e=Object({NODE_ENV:"production",CLIENT:!0,SERVER:!1,DEV:!1,PROD:!0,THEME:"mat",MODE:"spa",WS_BASE_URL:"",STOMP_CLIENT_DEBUG:!1,KEXPLORER_DEBUG:!1,ROUTER_BASE:"/modeler/ui",WEB_BASE_URL:"https://integratedmodelling.org",PACKAGE_VERSION:"0.22.0",PACKAGE_BUILD:"",ENGINE_URL:"/modeler",ENGINE_SHARED:"/modeler/shared/",ENGINE_LOGIN:"/modeler",API:"/modeler/api/v2",WS_URL:"/modeler/message",WS_SUBSCRIBE:"/message",WS_MESSAGE_DESTINATION:"/klab/message",REST_UPLOAD_MAX_SIZE:"1024MB",SEARCH_TIMEOUT_MS:"4000",VUE_ROUTER_MODE:"hash",VUE_ROUTER_BASE:"",APP_URL:"undefined"}).DEBUG),e}function l(){try{return window.localStorage}catch(e){}}t=e.exports=n("96fe"),t.log=a,t.formatArgs=r,t.save=s,t.load=c,t.useColors=o,t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:l(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(c())}).call(this,n("4362"))},3585:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("3a92"),r=n("dd02"),a=n("66f9"),s=n("1978"),c=n("4c18"),l=n("e4f0"),u=n("a0af"),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.routingPoints=[],t}return i(t,e),Object.defineProperty(t.prototype,"source",{get:function(){return this.index.getById(this.sourceId)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"target",{get:function(){return this.index.getById(this.targetId)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bounds",{get:function(){return this.routingPoints.reduce(function(e,t){return r.combine(e,{x:t.x,y:t.y,width:0,height:0})},r.EMPTY_BOUNDS)},enumerable:!0,configurable:!0}),t}(o.SChildElement);function h(e){return e.hasFeature(t.connectableFeature)&&e.canConnect}function p(e,t){void 0===t&&(t=e.routingPoints);var n=f(t),i=e;while(i instanceof o.SChildElement){var r=i.parent;n=r.localToParent(n),i=r}return n}function f(e){for(var t={x:NaN,y:NaN,width:0,height:0},n=0,i=e;nt.x+t.width&&(t.width=o.x-t.x),o.yt.y+t.height&&(t.height=o.y-t.y))}return t}t.SRoutableElement=d,t.connectableFeature=Symbol("connectableFeature"),t.isConnectable=h,t.getAbsoluteRouteBounds=p,t.getRouteBounds=f;var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.strokeWidth=0,t}return i(t,e),Object.defineProperty(t.prototype,"incomingEdges",{get:function(){return this.index.getIncomingEdges(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outgoingEdges",{get:function(){return this.index.getOutgoingEdges(this)},enumerable:!0,configurable:!0}),t.prototype.canConnect=function(e,t){return!0},t}(a.SShapeElement);t.SConnectableElement=m;var g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.editMode=!1,t.hoverFeedback=!1,t.selected=!1,t}return i(t,e),t.prototype.hasFeature=function(e){return-1!==t.DEFAULT_FEATURES.indexOf(e)},t.DEFAULT_FEATURES=[c.selectFeature,u.moveFeature,l.hoverFeedbackFeature],t}(o.SChildElement);t.SRoutingHandle=g;var v=function(e){function t(){var t=e.call(this)||this;return t.type="dangling-anchor",t.size={width:0,height:0},t}return i(t,e),t.DEFAULT_FEATURES=[s.deletableFeature],t}(m);t.SDanglingAnchor=v,t.edgeInProgressID="edge-in-progress",t.edgeInProgressTargetHandleID=t.edgeInProgressID+"-target-anchor"},"359b":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n("393a"),r=n("e45b"),a=n("e1c6"),s=function(){function e(){}return e.prototype.render=function(e,t){for(var n=o.html("div",null,t.renderChildren(e)),i=0,a=e.classes;i=0?e.type.substring(0,t):e.type}function s(e){if(!e.type)return"";var t=e.type.indexOf(":");return t>=0?e.type.substring(t+1):e.type}function c(e,t){if(e.id===t)return e;if(void 0!==e.children)for(var n=0,i=e.children;n=0;r--)e=i[r].parentToLocal(e)}return e}function h(e,t,n){var i=d(e,t,n),o=d({x:e.x+e.width,y:e.y+e.height},t,n);return{x:i.x,y:i.y,width:o.x-i.x,height:o.y-i.y}}t.registerModelElement=r,t.getBasicType=a,t.getSubType=s,t.findElement=c,t.findParent=l,t.findParentByFeature=u,t.translatePoint=d,t.translateBounds=h},3672:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("842c"),a=n("be02"),s=n("064a"),c=n("3585"),l=n("218d"),u=n("1978"),d=n("cd26"),h=n("1254"),p=n("a5f4"),f=n("61d8");t.edgeEditModule=new i.ContainerModule(function(e,t,n){var i={bind:e,isBound:n};r.configureCommand(i,p.SwitchEditModeCommand),r.configureCommand(i,f.ReconnectCommand),r.configureCommand(i,u.DeleteElementCommand),s.configureModelElement(i,"dangling-anchor",c.SDanglingAnchor,l.EmptyGroupView)}),t.labelEditModule=new i.ContainerModule(function(e,t,n){e(o.TYPES.MouseListener).to(d.EditLabelMouseListener),e(o.TYPES.KeyListener).to(d.EditLabelKeyListener),r.configureCommand({bind:e,isBound:n},d.ApplyLabelEditCommand)}),t.labelEditUiModule=new i.ContainerModule(function(e,t,n){var i={bind:e,isBound:n};a.configureActionHandler(i,d.EditLabelAction.KIND,h.EditLabelActionHandler),e(h.EditLabelUI).toSelf().inSingletonScope(),e(o.TYPES.IUIExtension).toService(h.EditLabelUI)})},"36e4":function(e,t,n){},"370c":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},3751:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},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 ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}});return t})},"37a9":function(e,t,n){"use strict";var i=n("ddfc"),o=n.n(i);o.a},3864:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n("e1c6"),r=function(){function e(){this.elements=new Map}return e.prototype.register=function(e,t){if(void 0===e)throw new Error("Key is undefined");if(this.hasKey(e))throw new Error("Key is already registered: "+e);this.elements.set(e,t)},e.prototype.deregister=function(e){if(void 0===e)throw new Error("Key is undefined");this.elements.delete(e)},e.prototype.hasKey=function(e){return this.elements.has(e)},e.prototype.get=function(e,t){var n=this.elements.get(e);return n?new n(t):this.missing(e,t)},e.prototype.missing=function(e,t){throw new Error("Unknown registry key: "+e)},e=i([o.injectable()],e),e}();t.ProviderRegistry=r;var a=function(){function e(){this.elements=new Map}return e.prototype.register=function(e,t){if(void 0===e)throw new Error("Key is undefined");if(this.hasKey(e))throw new Error("Key is already registered: "+e);this.elements.set(e,t)},e.prototype.deregister=function(e){if(void 0===e)throw new Error("Key is undefined");this.elements.delete(e)},e.prototype.hasKey=function(e){return this.elements.has(e)},e.prototype.get=function(e,t){var n=this.elements.get(e);return n?n(t):this.missing(e,t)},e.prototype.missing=function(e,t){throw new Error("Unknown registry key: "+e)},e=i([o.injectable()],e),e}();t.FactoryRegistry=a;var s=function(){function e(){this.elements=new Map}return e.prototype.register=function(e,t){if(void 0===e)throw new Error("Key is undefined");if(this.hasKey(e))throw new Error("Key is already registered: "+e);this.elements.set(e,t)},e.prototype.deregister=function(e){if(void 0===e)throw new Error("Key is undefined");this.elements.delete(e)},e.prototype.hasKey=function(e){return this.elements.has(e)},e.prototype.get=function(e){var t=this.elements.get(e);return t||this.missing(e)},e.prototype.missing=function(e){throw new Error("Unknown registry key: "+e)},e=i([o.injectable()],e),e}();t.InstanceRegistry=s;var c=function(){function e(){this.elements=new Map}return e.prototype.register=function(e,t){if(void 0===e)throw new Error("Key is undefined");var n=this.elements.get(e);void 0!==n?n.push(t):this.elements.set(e,[t])},e.prototype.deregisterAll=function(e){if(void 0===e)throw new Error("Key is undefined");this.elements.delete(e)},e.prototype.get=function(e){var t=this.elements.get(e);return void 0!==t?t:[]},e=i([o.injectable()],e),e}();t.MultiInstanceRegistry=c},"38e8":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("66f9"),r=n("7d36"),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.enabled=!0,t}return i(t,e),t.DEFAULT_FEATURES=[o.boundsFeature,o.layoutableChildFeature,r.fadeFeature],t}(o.SShapeElement);t.SButton=a},"393a":function(e,t,n){"use strict";var i="http://www.w3.org/2000/svg",o=["hook","on","style","class","props","attrs","dataset"],r=Array.prototype.slice;function a(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||null===e||void 0===e}function s(e,t,n,i){for(var o={ns:t},r=0,a=i.length;r0?u(c.slice(0,l),c.slice(l+1),e[c]):o[c]||u(n,c,e[c])}return o;function u(e,t,n){var i=o[e]||(o[e]={});i[t]=n}}function c(e,t,n,i,o,r){if(o.selector&&(i+=o.selector),o.classNames){var c=o.classNames;i=i+"."+(Array.isArray(c)?c.join("."):c.replace(/\s+/g,"."))}return{sel:i,data:s(o,e,t,n),children:r.map(function(e){return a(e)?{text:e}:e}),key:o.key}}function l(e,t,n,i,o,r){var a;if("function"===typeof i)a=i(o,r);else if(i&&"function"===typeof i.view)a=i.view(o,r);else{if(!i||"function"!==typeof i.render)throw"JSX tag must be either a string, a function or an object with 'view' or 'render' methods";a=i.render(o,r)}return a.key=o.key,a}function u(e,t,n){for(var i=t,o=e.length;i3||!Array.isArray(s))&&(s=r.call(arguments,2)),h(e,t||"props",n||o,i,a,s)}}e.exports={html:p(void 0),svg:p(i,"attrs"),JSX:p}},"39d7":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},i=e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t?e:"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t?e+12:"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});return i})},"3a7c":function(e,t,n){(function(e){function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function i(e){return"boolean"===typeof e}function o(e){return null===e}function r(e){return null==e}function a(e){return"number"===typeof e}function s(e){return"string"===typeof e}function c(e){return"symbol"===typeof e}function l(e){return void 0===e}function u(e){return"[object RegExp]"===g(e)}function d(e){return"object"===typeof e&&null!==e}function h(e){return"[object Date]"===g(e)}function p(e){return"[object Error]"===g(e)||e instanceof Error}function f(e){return"function"===typeof e}function m(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function g(e){return Object.prototype.toString.call(e)}t.isArray=n,t.isBoolean=i,t.isNull=o,t.isNullOrUndefined=r,t.isNumber=a,t.isString=s,t.isSymbol=c,t.isUndefined=l,t.isRegExp=u,t.isObject=d,t.isDate=h,t.isError=p,t.isFunction=f,t.isPrimitive=m,t.isBuffer=e.isBuffer}).call(this,n("b639").Buffer)},"3a92":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("dd02"),r=n("e629"),a=function(){function e(){}return Object.defineProperty(e.prototype,"root",{get:function(){var e=this;while(e){if(e instanceof u)return e;e=e instanceof l?e.parent:void 0}throw new Error("Element has no root")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"index",{get:function(){return this.root.index},enumerable:!0,configurable:!0}),e.prototype.hasFeature=function(e){return void 0!==this.features&&this.features.has(e)},e}();function s(e){var t=e.children;return void 0!==t&&t.constructor===Array}t.SModelElement=a,t.isParent=s;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.children=[],t}return i(t,e),t.prototype.add=function(e,t){var n=this.children;if(void 0===t)n.push(e);else{if(t<0||t>this.children.length)throw new Error("Child index "+t+" out of bounds (0.."+n.length+")");n.splice(t,0,e)}e.parent=this,this.index.add(e)},t.prototype.remove=function(e){var t=this.children,n=t.indexOf(e);if(n<0)throw new Error("No such child "+e.id);t.splice(n,1),delete e.parent,this.index.remove(e)},t.prototype.removeAll=function(e){var t=this,n=this.children;if(void 0!==e){for(var i=n.length-1;i>=0;i--)if(e(n[i])){var o=n.splice(i,1)[0];delete o.parent,this.index.remove(o)}}else n.forEach(function(e){delete e.parent,t.index.remove(e)}),n.splice(0,n.length)},t.prototype.move=function(e,t){var n=this.children,i=n.indexOf(e);if(-1===i)throw new Error("No such child "+e.id);if(t<0||t>n.length-1)throw new Error("Child index "+t+" out of bounds (0.."+n.length+")");n.splice(i,1),n.splice(t,0,e)},t.prototype.localToParent=function(e){return o.isBounds(e)?e:{x:e.x,y:e.y,width:-1,height:-1}},t.prototype.parentToLocal=function(e){return o.isBounds(e)?e:{x:e.x,y:e.y,width:-1,height:-1}},t}(a);t.SParentElement=c;var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(c);t.SChildElement=l;var u=function(e){function t(t){void 0===t&&(t=new p);var n=e.call(this)||this;return n.canvasBounds=o.EMPTY_BOUNDS,Object.defineProperty(n,"index",{value:t,writable:!1}),n}return i(t,e),t}(c);t.SModelRoot=u;var d="0123456789abcdefghijklmnopqrstuvwxyz";function h(e){void 0===e&&(e=8);for(var t="",n=0;n=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),c=n("6923"),l=n("3a92"),u=n("9757"),d=n("3585"),h=function(){function e(t){this.elementIDs=t,this.kind=e.KIND}return e.KIND="bringToFront",e}();t.BringToFrontAction=h;var p=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n.selected=[],n}return i(t,e),t.prototype.execute=function(e){var t=this,n=e.root;return this.action.elementIDs.forEach(function(e){var i=n.index.getById(e);i instanceof d.SRoutableElement&&(i.source&&t.addToSelection(i.source),i.target&&t.addToSelection(i.target)),i instanceof l.SChildElement&&t.addToSelection(i),t.includeConnectedEdges(i)}),this.redo(e)},t.prototype.includeConnectedEdges=function(e){var t=this;if(e instanceof d.SConnectableElement&&(e.incomingEdges.forEach(function(e){return t.addToSelection(e)}),e.outgoingEdges.forEach(function(e){return t.addToSelection(e)})),e instanceof l.SParentElement)for(var n=0,i=e.children;n=0;t--){var n=this.selected[t],i=n.element;i.parent.move(i,n.index)}return e.root},t.prototype.redo=function(e){for(var t=0;t=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),c=n("510b"),l=n("3a92"),u=n("6923"),d=n("0d7a"),h=n("e45b"),p=function(){function e(e){void 0===e&&(e=[]),this.mouseListeners=e}return e.prototype.register=function(e){this.mouseListeners.push(e)},e.prototype.deregister=function(e){var t=this.mouseListeners.indexOf(e);t>=0&&this.mouseListeners.splice(t,1)},e.prototype.getTargetElement=function(e,t){var n=t.target,i=e.index;while(n){if(n.id){var o=i.getById(this.domHelper.findSModelIdByDOMElement(n));if(void 0!==o)return o}n=n.parentNode}},e.prototype.handleEvent=function(e,t,n){var i=this;this.focusOnMouseEvent(e,t);var o=this.getTargetElement(t,n);if(o){var r=this.mouseListeners.map(function(t){return t[e].apply(t,[o,n])}).reduce(function(e,t){return e.concat(t)});if(r.length>0){n.preventDefault();for(var a=0,s=r;a=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},s=this&&this.__awaiter||function(e,t,n,i){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):o(e.value).then(a,s)}c((i=i.apply(e,t||[])).next())})},c=this&&this.__generator||function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return c([e,t])}}function c(r){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,i&&(o=2&r[0]?i["return"]:r[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),c=n("510b"),l=n("9757"),u=n("6923"),d=n("33b2"),h=function(){function e(t,n){void 0===n&&(n=""),this.options=t,this.requestId=n,this.kind=e.KIND}return e.create=function(t){return new e(t,c.generateRequestId())},e.KIND="requestModel",e}();t.RequestModelAction=h;var p=function(){function e(t,n){void 0===n&&(n=""),this.newRoot=t,this.responseId=n,this.kind=e.KIND}return e.KIND="setModel",e}();t.SetModelAction=p;var f=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){return this.oldRoot=e.modelFactory.createRoot(e.root),this.newRoot=e.modelFactory.createRoot(this.action.newRoot),this.newRoot},t.prototype.undo=function(e){return this.oldRoot},t.prototype.redo=function(e){return this.newRoot},Object.defineProperty(t.prototype,"blockUntil",{get:function(){return function(e){return e.kind===d.InitializeCanvasBoundsCommand.KIND}},enumerable:!0,configurable:!0}),t.KIND=p.KIND,t=o([s.injectable(),a(0,s.inject(u.TYPES.Action)),r("design:paramtypes",[p])],t),t}(l.ResetCommand);t.SetModelCommand=f},4047:function(e,t){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},"429b":function(e,t,n){e.exports=n("faa1").EventEmitter},"42be":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),c=n("9757"),l=n("6923"),u=n("26ad"),d=function(){function e(){this.kind=h.KIND}return e}();t.CommitModelAction=d;var h=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){return this.newModel=e.modelFactory.createSchema(e.root),this.doCommit(this.newModel,e.root,!0)},t.prototype.doCommit=function(e,t,n){var i=this,o=this.modelSource.commitModel(e);return o instanceof Promise?o.then(function(e){return n&&(i.originalModel=e),t}):(n&&(this.originalModel=o),t)},t.prototype.undo=function(e){return this.doCommit(this.originalModel,e.root,!1)},t.prototype.redo=function(e){return this.doCommit(this.newModel,e.root,!1)},t.KIND="commitModel",o([s.inject(l.TYPES.ModelSource),r("design:type",u.ModelSource)],t.prototype,"modelSource",void 0),t=o([s.injectable(),a(0,s.inject(l.TYPES.Action)),r("design:paramtypes",[d])],t),t}(c.SystemCommand);t.CommitModelCommand=h},"42d6":function(e,t,n){"use strict";function i(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n("510b")),i(n("0fb6")),i(n("be02")),i(n("c661")),i(n("538c")),i(n("c146")),i(n("987d")),i(n("9757")),i(n("842c")),i(n("5e9c")),i(n("160b")),i(n("33b2")),i(n("3f0a")),i(n("302f")),i(n("3623")),i(n("3a92")),i(n("ddee")),i(n("1590")),i(n("6176")),i(n("4c95c")),i(n("1417")),i(n("3b4c")),i(n("8d53")),i(n("064a")),i(n("8794")),i(n("65d1")),i(n("29fa")),i(n("a190")),i(n("e45b")),i(n("6923"));var o=n("8122");t.defaultModule=o.default,i(n("42f7")),i(n("61bf")),i(n("320b")),i(n("66f9")),i(n("da84")),i(n("4b75")),i(n("ac2a")),i(n("8e97")),i(n("70d9")),i(n("38e8")),i(n("a406")),i(n("0a28")),i(n("80b5")),i(n("1cc1")),i(n("3c83")),i(n("1e31")),i(n("9d6c")),i(n("779b")),i(n("ac57")),i(n("ea38")),i(n("3672")),i(n("1978")),i(n("cd26")),i(n("1254")),i(n("a5f4")),i(n("cc26")),i(n("61d8")),i(n("4741")),i(n("9964")),i(n("19b5")),i(n("1cd9")),i(n("7faf")),i(n("5d19")),i(n("e7fa")),i(n("7d36")),i(n("f4cb")),i(n("e4f0")),i(n("7f73")),i(n("755f")),i(n("e576")),i(n("a0af")),i(n("559d")),i(n("af44")),i(n("e1cb")),i(n("b485")),i(n("1f89")),i(n("869e")),i(n("b7b8")),i(n("9a1f")),i(n("46cc")),i(n("3585")),i(n("ab71")),i(n("d8f5")),i(n("168d")),i(n("8d9d")),i(n("4c18")),i(n("bcbd")),i(n("c20e")),i(n("d084")),i(n("cf61")),i(n("ed4f")),i(n("5eb6")),i(n("cf98")),i(n("3b62")),i(n("c444")),i(n("fe37")),i(n("3ada"));var r=n("5530");t.graphModule=r.default;var a=n("72dd");t.boundsModule=a.default;var s=n("54f8");t.buttonModule=s.default;var c=n("d14a");t.commandPaletteModule=c.default;var l=n("5884");t.contextMenuModule=l.default;var u=n("7bae3");t.decorationModule=u.default;var d=n("1e31");t.edgeLayoutModule=d.default;var h=n("04c2");t.expandModule=h.default;var p=n("9f8d");t.exportModule=p.default;var f=n("9811");t.fadeModule=f.default;var m=n("c95e");t.hoverModule=m.default;var g=n("520d");t.moveModule=g.default;var v=n("0483");t.openModule=v.default;var _=n("b7ca");t.routingModule=_.default;var b=n("c4e6");t.selectModule=b.default;var y=n("3b74");t.undoRedoModule=y.default;var M=n("cc3e");t.updateModule=M.default;var w=n("1e19");t.viewportModule=w.default;var L=n("6f35");t.zorderModule=L.default,i(n("dfc0")),i(n("47b7")),i(n("6bb9")),i(n("44c1")),i(n("9ad4")),i(n("359b")),i(n("87fa")),i(n("218d")),i(n("42be")),i(n("945d")),i(n("cb6e")),i(n("85ed")),i(n("26ad")),i(n("484b"));var S=n("8e65");t.modelSourceModule=S.default,i(n("fba3")),i(n("0be1")),i(n("dd02")),i(n("7b39")),i(n("9e2e")),i(n("3864"))},"42f7":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var c=n("e1c6"),l=n("510b"),u=n("9757"),d=n("6923"),h=n("66f9"),p=function(){function e(t){this.bounds=t,this.kind=e.KIND}return e.KIND="setBounds",e}();t.SetBoundsAction=p;var f=function(){function e(t,n){void 0===n&&(n=""),this.newRoot=t,this.requestId=n,this.kind=e.KIND}return e.create=function(t){return new e(t,l.generateRequestId())},e.KIND="requestBounds",e}();t.RequestBoundsAction=f;var m=function(){function e(t,n,i,o){void 0===o&&(o=""),this.bounds=t,this.revision=n,this.alignments=i,this.responseId=o,this.kind=e.KIND}return e.KIND="computedBounds",e}();t.ComputedBoundsAction=m;var g=function(){function e(){this.kind=e.KIND}return e.KIND="layout",e}();t.LayoutAction=g;var v=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n.bounds=[],n}return i(t,e),t.prototype.execute=function(e){var t=this;return this.action.bounds.forEach(function(n){var i=e.root.index.getById(n.elementId);i&&h.isBoundsAware(i)&&t.bounds.push({element:i,oldBounds:i.bounds,newPosition:n.newPosition,newSize:n.newSize})}),this.redo(e)},t.prototype.undo=function(e){return this.bounds.forEach(function(e){return e.element.bounds=e.oldBounds}),e.root},t.prototype.redo=function(e){return this.bounds.forEach(function(e){e.newPosition?e.element.bounds=o(o({},e.newPosition),e.newSize):e.element.bounds=o({x:e.element.bounds.x,y:e.element.bounds.y},e.newSize)}),e.root},t.KIND=p.KIND,t=r([c.injectable(),s(0,c.inject(d.TYPES.Action)),a("design:paramtypes",[p])],t),t}(u.SystemCommand);t.SetBoundsCommand=v;var _=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){return{model:e.modelFactory.createRoot(this.action.newRoot),modelChanged:!0,cause:this.action}},Object.defineProperty(t.prototype,"blockUntil",{get:function(){return function(e){return e.kind===m.KIND}},enumerable:!0,configurable:!0}),t.KIND=f.KIND,t=r([c.injectable(),s(0,c.inject(d.TYPES.Action)),a("design:paramtypes",[f])],t),t}(u.HiddenCommand);t.RequestBoundsCommand=_},"44c1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("8122"),o=n("8e65"),r=n("72dd"),a=n("54f8"),s=n("d14a"),c=n("5884"),l=n("7bae3"),u=n("1e31"),d=n("3672"),h=n("04c2"),p=n("9f8d"),f=n("9811"),m=n("c95e"),g=n("520d"),v=n("0483"),_=n("b7ca"),b=n("c4e6"),y=n("3b74"),M=n("cc3e"),w=n("1e19"),L=n("6f35");function S(e,t){var n=[i.default,o.default,r.default,a.default,s.default,c.default,l.default,d.edgeEditModule,u.default,h.default,p.default,f.default,m.default,d.labelEditModule,d.labelEditUiModule,g.default,v.default,_.default,b.default,y.default,M.default,w.default,L.default];if(t&&t.exclude)for(var S=0,C=t.exclude;S=0&&n.splice(A,1)}e.load.apply(e,n)}t.loadDefaultModules=S},"451f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("c5f4"),o=n("1979"),r=function(e,t){var n=e.parentRequest;return null!==n&&(!!t(n)||r(n,t))};t.traverseAncerstors=r;var a=function(e){return function(t){var n=function(n){return null!==n&&null!==n.target&&n.target.matchesTag(e)(t)};return n.metaData=new o.Metadata(e,t),n}};t.taggedConstraint=a;var s=a(i.NAMED_TAG);t.namedConstraint=s;var c=function(e){return function(t){var n=null;if(null!==t){if(n=t.bindings[0],"string"===typeof e){var i=n.serviceIdentifier;return i===e}var o=t.bindings[0].implementationType;return e===o}return!1}};t.typeConstraint=c},"45a0":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},"4630e":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],o=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,r=e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return r})},4648:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(i,o,r,a){var s=t(i),c=n[e][t(i)];return 2===s&&(c=c[o?0:1]),c.replace(/%d/i,i)}},o=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],r=e.defineLocale("ar-dz",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}});return r})},4681:function(e,t,n){"use strict";var i=n("966d");function o(e,t){var n=this,o=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return o||r?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||i.nextTick(a,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(i.nextTick(a,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)}),this)}function r(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function a(e,t){e.emit("error",t)}e.exports={destroy:o,undestroy:r}},"46cc":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0){var i=e.routingPoints.slice();if(this.cleanupRoutingPoints(e,i,!1,!0),i.length>0)return i.map(function(e,t){return o({kind:"linear",pointIndex:t},e)})}var r=this.getOptions(e),a=this.calculateDefaultCorners(e,t,n,r);return a.map(function(e){return o({kind:"linear"},e)})},t.prototype.createRoutingHandles=function(e){var t=this.route(e);if(this.commitRoute(e,t),t.length>0){this.addHandle(e,"source","routing-point",-2);for(var n=0;n0&&Math.abs(n-e[t-1].x)=0&&t0&&Math.abs(n-e[t-1].y)=0&&t=0;--c){if(!a.includes(r.bounds,t[c]))break;t.splice(c,1),n&&this.removeHandle(e,c)}if(t.length>=2){var l=this.getOptions(e);for(c=t.length-2;c>=0;--c)a.manhattanDistance(t[c],t[c+1])t?--e.pointIndex:e.pointIndex===t&&n.push(e))}),n.forEach(function(t){return e.remove(t)})},t.prototype.addAdditionalCorner=function(e,t,n,i,o){if(0!==t.length){var r,l="source"===n.kind?t[0]:t[t.length-1],u="source"===n.kind?0:t.length,d=u-("source"===n.kind?1:0);if(t.length>1)r=0===u?a.almostEquals(t[0].x,t[1].x):a.almostEquals(t[t.length-1].x,t[t.length-2].x);else{var h=i.getNearestSide(l);r=h===s.Side.TOP||h===s.Side.BOTTOM}if(r){if(l.yn.get(s.Side.BOTTOM).y){var p={x:n.get(s.Side.TOP).x,y:l.y};t.splice(u,0,p),o&&(e.children.forEach(function(e){e instanceof c.SRoutingHandle&&e.pointIndex>=d&&++e.pointIndex}),this.addHandle(e,"manhattan-50%","volatile-routing-point",d))}}else if(l.xn.get(s.Side.RIGHT).x){p={x:l.x,y:n.get(s.Side.LEFT).y};t.splice(u,0,p),o&&(e.children.forEach(function(e){e instanceof c.SRoutingHandle&&e.pointIndex>=d&&++e.pointIndex}),this.addHandle(e,"manhattan-50%","volatile-routing-point",d))}}},t.prototype.manhattanify=function(e,t){for(var n=1;n0)return r;var a=this.getBestConnectionAnchors(t,n,i,o),c=a.source,l=a.target,u=[],d=n.get(c),h=i.get(l);switch(c){case s.Side.RIGHT:switch(l){case s.Side.BOTTOM:u.push({x:h.x,y:d.y});break;case s.Side.TOP:u.push({x:h.x,y:d.y});break;case s.Side.RIGHT:u.push({x:Math.max(d.x,h.x)+1.5*o.standardDistance,y:d.y}),u.push({x:Math.max(d.x,h.x)+1.5*o.standardDistance,y:h.y});break;case s.Side.LEFT:h.y!==d.y&&(u.push({x:(d.x+h.x)/2,y:d.y}),u.push({x:(d.x+h.x)/2,y:h.y}));break}break;case s.Side.LEFT:switch(l){case s.Side.BOTTOM:u.push({x:h.x,y:d.y});break;case s.Side.TOP:u.push({x:h.x,y:d.y});break;default:h=i.get(s.Side.RIGHT),h.y!==d.y&&(u.push({x:(d.x+h.x)/2,y:d.y}),u.push({x:(d.x+h.x)/2,y:h.y}));break}break;case s.Side.TOP:switch(l){case s.Side.RIGHT:h.x-d.x>0?(u.push({x:d.x,y:d.y-o.standardDistance}),u.push({x:h.x+1.5*o.standardDistance,y:d.y-o.standardDistance}),u.push({x:h.x+1.5*o.standardDistance,y:h.y})):u.push({x:d.x,y:h.y});break;case s.Side.LEFT:h.x-d.x<0?(u.push({x:d.x,y:d.y-o.standardDistance}),u.push({x:h.x-1.5*o.standardDistance,y:d.y-o.standardDistance}),u.push({x:h.x-1.5*o.standardDistance,y:h.y})):u.push({x:d.x,y:h.y});break;case s.Side.TOP:u.push({x:d.x,y:Math.min(d.y,h.y)-1.5*o.standardDistance}),u.push({x:h.x,y:Math.min(d.y,h.y)-1.5*o.standardDistance});break;case s.Side.BOTTOM:h.x!==d.x&&(u.push({x:d.x,y:(d.y+h.y)/2}),u.push({x:h.x,y:(d.y+h.y)/2}));break}break;case s.Side.BOTTOM:switch(l){case s.Side.RIGHT:h.x-d.x>0?(u.push({x:d.x,y:d.y+o.standardDistance}),u.push({x:h.x+1.5*o.standardDistance,y:d.y+o.standardDistance}),u.push({x:h.x+1.5*o.standardDistance,y:h.y})):u.push({x:d.x,y:h.y});break;case s.Side.LEFT:h.x-d.x<0?(u.push({x:d.x,y:d.y+o.standardDistance}),u.push({x:h.x-1.5*o.standardDistance,y:d.y+o.standardDistance}),u.push({x:h.x-1.5*o.standardDistance,y:h.y})):u.push({x:d.x,y:h.y});break;default:h=i.get(s.Side.TOP),h.x!==d.x&&(u.push({x:d.x,y:(d.y+h.y)/2}),u.push({x:h.x,y:(d.y+h.y)/2}));break}break}return u},t.prototype.getBestConnectionAnchors=function(e,t,n,i){var o=t.get(s.Side.RIGHT),r=n.get(s.Side.LEFT);if(r.x-o.x>i.standardDistance)return{source:s.Side.RIGHT,target:s.Side.LEFT};if(o=t.get(s.Side.LEFT),r=n.get(s.Side.RIGHT),o.x-r.x>i.standardDistance)return{source:s.Side.LEFT,target:s.Side.RIGHT};if(o=t.get(s.Side.TOP),r=n.get(s.Side.BOTTOM),o.y-r.y>i.standardDistance)return{source:s.Side.TOP,target:s.Side.BOTTOM};if(o=t.get(s.Side.BOTTOM),r=n.get(s.Side.TOP),r.y-o.y>i.standardDistance)return{source:s.Side.BOTTOM,target:s.Side.TOP};if(o=t.get(s.Side.RIGHT),r=n.get(s.Side.TOP),r.x-o.x>.5*i.standardDistance&&r.y-o.y>i.standardDistance)return{source:s.Side.RIGHT,target:s.Side.TOP};if(r=n.get(s.Side.BOTTOM),r.x-o.x>.5*i.standardDistance&&o.y-r.y>i.standardDistance)return{source:s.Side.RIGHT,target:s.Side.BOTTOM};if(o=t.get(s.Side.LEFT),r=n.get(s.Side.BOTTOM),o.x-r.x>.5*i.standardDistance&&o.y-r.y>i.standardDistance)return{source:s.Side.LEFT,target:s.Side.BOTTOM};if(r=n.get(s.Side.TOP),o.x-r.x>.5*i.standardDistance&&r.y-o.y>i.standardDistance)return{source:s.Side.LEFT,target:s.Side.TOP};if(o=t.get(s.Side.TOP),r=n.get(s.Side.RIGHT),o.y-r.y>.5*i.standardDistance&&o.x-r.x>i.standardDistance)return{source:s.Side.TOP,target:s.Side.RIGHT};if(r=n.get(s.Side.LEFT),o.y-r.y>.5*i.standardDistance&&r.x-o.x>i.standardDistance)return{source:s.Side.TOP,target:s.Side.LEFT};if(o=t.get(s.Side.BOTTOM),r=n.get(s.Side.RIGHT),r.y-o.y>.5*i.standardDistance&&o.x-r.x>i.standardDistance)return{source:s.Side.BOTTOM,target:s.Side.RIGHT};if(r=n.get(s.Side.LEFT),r.y-o.y>.5*i.standardDistance&&r.x-o.x>i.standardDistance)return{source:s.Side.BOTTOM,target:s.Side.LEFT};if(o=t.get(s.Side.TOP),r=n.get(s.Side.TOP),!a.includes(n.bounds,o)&&!a.includes(t.bounds,r))if(o.y-r.y<0){if(Math.abs(o.x-r.x)>(t.bounds.width+i.standardDistance)/2)return{source:s.Side.TOP,target:s.Side.TOP}}else if(Math.abs(o.x-r.x)>n.bounds.width/2)return{source:s.Side.TOP,target:s.Side.TOP};if(o=t.get(s.Side.RIGHT),r=n.get(s.Side.RIGHT),!a.includes(n.bounds,o)&&!a.includes(t.bounds,r))if(o.x-r.x>0){if(Math.abs(o.y-r.y)>(t.bounds.height+i.standardDistance)/2)return{source:s.Side.RIGHT,target:s.Side.RIGHT}}else if(Math.abs(o.y-r.y)>n.bounds.height/2)return{source:s.Side.RIGHT,target:s.Side.RIGHT};return o=t.get(s.Side.TOP),r=n.get(s.Side.RIGHT),a.includes(n.bounds,o)||a.includes(t.bounds,r)?(r=n.get(s.Side.LEFT),a.includes(n.bounds,o)||a.includes(t.bounds,r)?(o=t.get(s.Side.BOTTOM),r=n.get(s.Side.RIGHT),a.includes(n.bounds,o)||a.includes(t.bounds,r)?(r=n.get(s.Side.LEFT),a.includes(n.bounds,o)||a.includes(t.bounds,r)?{source:s.Side.RIGHT,target:s.Side.BOTTOM}:{source:s.Side.BOTTOM,target:s.Side.LEFT}):{source:s.Side.BOTTOM,target:s.Side.RIGHT}):{source:s.Side.TOP,target:s.Side.LEFT}):{source:s.Side.TOP,target:s.Side.RIGHT}},t.KIND="manhattan",t}(s.LinearEdgeRouter);t.ManhattanEdgeRouter=l},"46dd":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},i=e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});return i})},4741:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n("3623"),r=n("9964"),a=n("e1c6"),s=function(){function e(t,n){this.expandIds=t,this.collapseIds=n,this.kind=e.KIND}return e.KIND="collapseExpand",e}();t.CollapseExpandAction=s;var c=function(){function e(t){void 0===t&&(t=!0),this.expand=t,this.kind=e.KIND}return e.KIND="collapseExpandAll",e}();t.CollapseExpandAllAction=c;var l=function(){function e(){}return e.prototype.buttonPressed=function(e){var t=o.findParentByFeature(e,r.isExpandable);return void 0!==t?[new s(t.expanded?[]:[t.id],t.expanded?[t.id]:[])]:[]},e.TYPE="button:expand",e=i([a.injectable()],e),e}();t.ExpandButtonHandler=l},"47b7":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("3a92"),r=n("66f9"),a=n("779b"),s=n("1978"),c=n("cc26"),l=n("7d36"),u=n("e4f0"),d=n("a0af"),h=n("3585"),p=n("4c18"),f=n("3b62"),m=n("dd02"),g=n("e629"),v=function(e){function t(t){return void 0===t&&(t=new L),e.call(this,t)||this}return i(t,e),t}(f.ViewportRootElement);t.SGraph=v;var _=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selected=!1,t.hoverFeedback=!1,t.opacity=1,t}return i(t,e),t.prototype.canConnect=function(e,t){return void 0===this.children.find(function(e){return e instanceof b})},t.DEFAULT_FEATURES=[h.connectableFeature,s.deletableFeature,p.selectFeature,r.boundsFeature,d.moveFeature,r.layoutContainerFeature,l.fadeFeature,u.hoverFeedbackFeature,u.popupFeature],t}(h.SConnectableElement);t.SNode=_;var b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selected=!1,t.hoverFeedback=!1,t.opacity=1,t}return i(t,e),t.DEFAULT_FEATURES=[h.connectableFeature,p.selectFeature,r.boundsFeature,l.fadeFeature,u.hoverFeedbackFeature],t}(h.SConnectableElement);t.SPort=b;var y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selected=!1,t.hoverFeedback=!1,t.opacity=1,t}return i(t,e),t.DEFAULT_FEATURES=[c.editFeature,s.deletableFeature,p.selectFeature,l.fadeFeature,u.hoverFeedbackFeature],t}(h.SRoutableElement);t.SEdge=y;var M=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selected=!1,t.alignment=m.ORIGIN_POINT,t.opacity=1,t}return i(t,e),t.DEFAULT_FEATURES=[r.boundsFeature,r.alignFeature,r.layoutableChildFeature,a.edgeLayoutFeature,l.fadeFeature],t}(r.SShapeElement);t.SLabel=M;var w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.opacity=1,t}return i(t,e),t.DEFAULT_FEATURES=[r.boundsFeature,r.layoutContainerFeature,r.layoutableChildFeature,l.fadeFeature],t}(r.SShapeElement);t.SCompartment=w;var L=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.outgoing=new Map,t.incoming=new Map,t}return i(t,e),t.prototype.add=function(t){if(e.prototype.add.call(this,t),t instanceof y){if(t.sourceId){var n=this.outgoing.get(t.sourceId);void 0===n?this.outgoing.set(t.sourceId,[t]):n.push(t)}if(t.targetId){var i=this.incoming.get(t.targetId);void 0===i?this.incoming.set(t.targetId,[t]):i.push(t)}}},t.prototype.remove=function(t){if(e.prototype.remove.call(this,t),t instanceof y){var n=this.outgoing.get(t.sourceId);if(void 0!==n){var i=n.indexOf(t);i>=0&&(1===n.length?this.outgoing.delete(t.sourceId):n.splice(i,1))}var o=this.incoming.get(t.targetId);if(void 0!==o){i=o.indexOf(t);i>=0&&(1===o.length?this.incoming.delete(t.targetId):o.splice(i,1))}}},t.prototype.getAttachedElements=function(e){var t=this;return new g.FluentIterableImpl(function(){return{outgoing:t.outgoing.get(e.id),incoming:t.incoming.get(e.id),nextOutgoingIndex:0,nextIncomingIndex:0}},function(e){var t=e.nextOutgoingIndex;if(void 0!==e.outgoing&&t=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),a=n("945d"),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.listen=function(e){var t=this;e.addEventListener("message",function(e){t.messageReceived(e.data)}),e.addEventListener("error",function(e){t.logger.error(t,"error event received",e)}),this.webSocket=e},t.prototype.disconnect=function(){this.webSocket&&(this.webSocket.close(),this.webSocket=void 0)},t.prototype.sendMessage=function(e){if(!this.webSocket)throw new Error("WebSocket is not connected");this.webSocket.send(JSON.stringify(e))},t=o([r.injectable()],t),t}(a.DiagramServer);t.WebSocketDiagramServer=s},"48f9":function(e,t,n){},"4a4f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3"),o=n("c5f4"),r=n("1979");function a(){return function(e,t,n){var a=new r.Metadata(o.POST_CONSTRUCT,t);if(Reflect.hasOwnMetadata(o.POST_CONSTRUCT,e.constructor))throw new Error(i.MULTIPLE_POST_CONSTRUCT_METHODS);Reflect.defineMetadata(o.POST_CONSTRUCT,a,e.constructor)}}t.postConstruct=a},"4b0d":function(e,t,n){"use strict";var i=n("2196"),o=n.n(i);o.a},"4b54":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"});return t})},"4b75":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,n){var i=this._calendarEl[e],o=n&&n.hours();return t(i)&&(i=i.apply(n)),i.replace("{}",o%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});return n})},"50fb":function(e,t,n){var i,o,r;/*! scrollbarWidth.js v0.1.3 | felixexter | MIT | https://github.com/felixexter/scrollbarWidth */ /*! scrollbarWidth.js v0.1.3 | felixexter | MIT | https://github.com/felixexter/scrollbarWidth */ +(function(n,a){o=[],i=a,r="function"===typeof i?i.apply(t,o):i,void 0===r||(e.exports=r)})(0,function(){"use strict";function e(){if("undefined"===typeof document)return 0;var e,t=document.body,n=document.createElement("div"),i=n.style;return i.position="absolute",i.top=i.left="-9999px",i.width=i.height="100px",i.overflow="scroll",t.appendChild(n),e=n.offsetWidth-n.clientWidth,t.removeChild(n),e}return e})},"510b":function(e,t,n){"use strict";function i(e){return void 0!==e&&e.hasOwnProperty("kind")&&"string"===typeof e["kind"]}function o(e){return i(e)&&e.hasOwnProperty("requestId")&&"string"===typeof e["requestId"]}Object.defineProperty(t,"__esModule",{value:!0}),t.isAction=i,t.isRequestAction=o;var r=1;function a(){return(r++).toString()}function s(e){return i(e)&&e.hasOwnProperty("responseId")&&"string"===typeof e["responseId"]&&""!==e["responseId"]}t.generateRequestId=a,t.isResponseAction=s;var c=function(){function e(t,n,i){this.message=t,this.responseId=n,this.detail=i,this.kind=e.KIND}return e.KIND="rejectRequest",e}();t.RejectAction=c;var l=function(){function e(e,t,n){this.label=e,this.actions=t,this.icon=n}return e}();function u(e){return void 0!==e&&void 0!==e.label&&void 0!==e.actions}t.LabeledAction=l,t.isLabeledAction=u},"510c":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}});return i})},"519e":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t})},"51c8":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}});return t})},"51ef":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},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 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return t})},"520d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("559d"),a=n("842c"),s=new i.ContainerModule(function(e,t,n){e(o.TYPES.MouseListener).to(r.MoveMouseListener),a.configureCommand({bind:e,isBound:n},r.MoveCommand),e(r.LocationPostprocessor).toSelf().inSingletonScope(),e(o.TYPES.IVNodePostprocessor).toService(r.LocationPostprocessor),e(o.TYPES.HiddenVNodePostprocessor).toService(r.LocationPostprocessor)});t.default=s},"538c":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n("e1c6"),r=function(){function e(){this.tasks=[],this.endTasks=[],this.triggered=!1}return e.prototype.isAvailable=function(){return"function"===typeof requestAnimationFrame},e.prototype.onNextFrame=function(e){this.tasks.push(e),this.trigger()},e.prototype.onEndOfNextFrame=function(e){this.endTasks.push(e),this.trigger()},e.prototype.trigger=function(){var e=this;this.triggered||(this.triggered=!0,this.isAvailable()?requestAnimationFrame(function(t){return e.run(t)}):setTimeout(function(t){return e.run(t)}))},e.prototype.run=function(e){var t=this.tasks,n=this.endTasks;this.triggered=!1,this.tasks=[],this.endTasks=[],t.forEach(function(t){return t.call(void 0,e)}),n.forEach(function(t){return t.call(void 0,e)})},e=i([o.injectable()],e),e}();t.AnimationFrameSyncer=r},"54f8":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("70d9"),r=new i.ContainerModule(function(e){e(o.ButtonHandlerRegistry).toSelf().inSingletonScope()});t.default=r},5530:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("dfc0"),a=new i.ContainerModule(function(e,t,n,i){i(o.TYPES.IModelFactory).to(r.SGraphFactory).inSingletonScope()});t.default=a},"559d":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var c=n("e1c6"),l=n("c146"),u=n("9757"),d=n("3a92"),h=n("3623"),p=n("6923"),f=n("3b4c"),m=n("e45b"),g=n("47b7"),v=n("42be"),_=n("dd02"),b=n("66f9"),y=n("ea38"),M=n("1978"),w=n("a5f4"),L=n("61d8"),S=n("3585"),C=n("168d"),E=n("779b"),A=n("4c18"),T=n("bcbd"),O=n("5eb6"),k=n("a0af"),x=function(){function e(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=!1),this.moves=e,this.animate=t,this.finished=n,this.kind=D.KIND}return e}();t.MoveAction=x;var D=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n.resolvedMoves=new Map,n.edgeMementi=[],n}var n;return i(t,e),n=t,t.prototype.execute=function(e){var t=this,n=e.root.index,i=new Map,o=new Map;return this.action.moves.forEach(function(e){var r=n.getById(e.elementId);if(r instanceof S.SRoutingHandle&&t.edgeRouterRegistry){var a=r.parent;if(a instanceof S.SRoutableElement){var s=t.resolveHandleMove(r,a,e);if(s){var c=i.get(a);c||(c=[],i.set(a,c)),c.push(s)}}}else if(r&&k.isLocateable(r)){var l=t.resolveElementMove(r,e);l&&(t.resolvedMoves.set(l.element.id,l),t.edgeRouterRegistry&&n.getAttachedElements(r).forEach(function(e){if(e instanceof S.SRoutableElement){var t=o.get(e),n=_.subtract(l.toPosition,l.fromPosition),i=t?_.linear(t,n,.5):n;o.set(e,i)}}))}}),this.doMove(i,o),this.action.animate?(this.undoMove(),new l.CompoundAnimation(e.root,e,[new R(e.root,this.resolvedMoves,e,!1),new z(e.root,this.edgeMementi,e,!1)]).start()):e.root},t.prototype.resolveHandleMove=function(e,t,n){var i=n.fromPosition;if(!i){var o=this.edgeRouterRegistry.get(t.routerKind);i=o.getHandlePosition(t,o.route(t),e)}if(i)return{handle:e,fromPosition:i,toPosition:n.toPosition}},t.prototype.resolveElementMove=function(e,t){var n=t.fromPosition||{x:e.position.x,y:e.position.y};return{element:e,fromPosition:n,toPosition:t.toPosition}},t.prototype.doMove=function(e,t){var n=this;this.resolvedMoves.forEach(function(e){e.element.position=e.toPosition}),e.forEach(function(e,t){var i=n.edgeRouterRegistry.get(t.routerKind),o=i.takeSnapshot(t);i.applyHandleMoves(t,e);var r=i.takeSnapshot(t);n.edgeMementi.push({edge:t,before:o,after:r})}),t.forEach(function(t,i){if(!e.get(i)){var o=n.edgeRouterRegistry.get(i.routerKind),r=o.takeSnapshot(i);if(i.source&&i.target&&n.resolvedMoves.get(i.source.id)&&n.resolvedMoves.get(i.target.id))i.routingPoints=i.routingPoints.map(function(e){return _.add(e,t)});else{var a=A.isSelectable(i)&&i.selected;o.cleanupRoutingPoints(i,i.routingPoints,a,n.action.finished)}var s=o.takeSnapshot(i);n.edgeMementi.push({edge:i,before:r,after:s})}})},t.prototype.undoMove=function(){var e=this;this.resolvedMoves.forEach(function(e){e.element.position=e.fromPosition}),this.edgeMementi.forEach(function(t){var n=e.edgeRouterRegistry.get(t.edge.routerKind);n.applySnapshot(t.edge,t.before)})},t.prototype.undo=function(e){return new l.CompoundAnimation(e.root,e,[new R(e.root,this.resolvedMoves,e,!0),new z(e.root,this.edgeMementi,e,!0)]).start()},t.prototype.redo=function(e){return new l.CompoundAnimation(e.root,e,[new R(e.root,this.resolvedMoves,e,!1),new z(e.root,this.edgeMementi,e,!1)]).start()},t.prototype.merge=function(e,t){var i=this;if(!this.action.animate&&e instanceof n)return e.resolvedMoves.forEach(function(e,t){var n=i.resolvedMoves.get(t);n?n.toPosition=e.toPosition:i.resolvedMoves.set(t,e)}),e.edgeMementi.forEach(function(e){var t=i.edgeMementi.find(function(t){return t.edge.id===e.edge.id});t?t.after=e.after:i.edgeMementi.push(e)}),!0;if(e instanceof L.ReconnectCommand){var o=e.memento;if(o){var r=this.edgeMementi.find(function(e){return e.edge.id===o.edge.id});r?r.after=o.after:this.edgeMementi.push(o)}return!0}return!1},t.KIND="move",r([c.inject(C.EdgeRouterRegistry),c.optional(),a("design:type",C.EdgeRouterRegistry)],t.prototype,"edgeRouterRegistry",void 0),t=n=r([c.injectable(),s(0,c.inject(p.TYPES.Action)),a("design:paramtypes",[x])],t),t}(u.MergeableCommand);t.MoveCommand=D;var R=function(e){function t(t,n,i,o){void 0===o&&(o=!1);var r=e.call(this,i)||this;return r.model=t,r.elementMoves=n,r.reverse=o,r}return i(t,e),t.prototype.tween=function(e){var t=this;return this.elementMoves.forEach(function(n){t.reverse?n.element.position={x:(1-e)*n.toPosition.x+e*n.fromPosition.x,y:(1-e)*n.toPosition.y+e*n.fromPosition.y}:n.element.position={x:(1-e)*n.fromPosition.x+e*n.toPosition.x,y:(1-e)*n.fromPosition.y+e*n.toPosition.y}}),this.model},t}(l.Animation);t.MoveAnimation=R;var z=function(e){function t(t,n,i,o){void 0===o&&(o=!1);var r=e.call(this,i)||this;return r.model=t,r.reverse=o,r.expanded=[],n.forEach(function(e){var t=r.reverse?e.after:e.before,n=r.reverse?e.before:e.after,i=t.routedPoints,o=n.routedPoints,a=Math.max(i.length,o.length);r.expanded.push({startExpandedRoute:r.growToSize(i,a),endExpandedRoute:r.growToSize(o,a),memento:e})}),r}return i(t,e),t.prototype.midPoint=function(e){var t=e.edge,n=e.edge.source,i=e.edge.target;return _.linear(h.translatePoint(_.center(n.bounds),n.parent,t.parent),h.translatePoint(_.center(i.bounds),i.parent,t.parent),.5)},t.prototype.start=function(){return this.expanded.forEach(function(e){e.memento.edge.removeAll(function(e){return e instanceof S.SRoutingHandle})}),e.prototype.start.call(this)},t.prototype.tween=function(e){var t=this;return 1===e?this.expanded.forEach(function(e){var n=e.memento;t.reverse?n.before.router.applySnapshot(n.edge,n.before):n.after.router.applySnapshot(n.edge,n.after)}):this.expanded.forEach(function(t){for(var n=[],i=1;i(a+l)*o)++l;a+=l;for(var u=0;u0?new x(o,!1,n):void 0}},t.prototype.snap=function(e,t,n){return n&&this.snapper?this.snapper.snap(e,t):e},t.prototype.getHandlePosition=function(e){if(this.edgeRouterRegistry){var t=e.parent;if(!(t instanceof S.SRoutableElement))return;var n=this.edgeRouterRegistry.get(t.routerKind),i=n.route(t);return n.getHandlePosition(t,i,e)}},t.prototype.mouseEnter=function(e,t){return e instanceof d.SModelRoot&&0===t.buttons&&this.mouseUp(e,t),[]},t.prototype.mouseUp=function(e,t){var n=this,i=[],o=!1;if(this.startDragPosition){var r=this.getElementMoves(e,t,!0);r&&i.push(r),e.root.index.all().forEach(function(t){if(t instanceof S.SRoutingHandle){var r=t.parent;if(r instanceof S.SRoutableElement&&t.danglingAnchor){var a=n.getHandlePosition(t);if(a){var s=h.translatePoint(a,t.parent,t.root),c=b.findChildrenAtPosition(e.root,s).find(function(e){return S.isConnectable(e)&&e.canConnect(r,t.kind)});c&&n.hasDragged&&(i.push(new L.ReconnectAction(t.parent.id,"source"===t.kind?c.id:r.sourceId,"target"===t.kind?c.id:r.targetId)),o=!0)}}t.editMode&&i.push(new w.SwitchEditModeAction([],[t.id]))}})}if(!o){var a=e.root.index.getById(S.edgeInProgressID);if(a instanceof d.SChildElement){var s=[];s.push(S.edgeInProgressID),a.children.forEach(function(e){e instanceof S.SRoutingHandle&&e.danglingAnchor&&s.push(e.danglingAnchor.id)}),i.push(new M.DeleteElementAction(s))}}return this.hasDragged&&i.push(new v.CommitModelAction),this.hasDragged=!1,this.startDragPosition=void 0,this.elementId2startPos.clear(),i},t.prototype.decorate=function(e,t){return e},r([c.inject(C.EdgeRouterRegistry),c.optional(),a("design:type",C.EdgeRouterRegistry)],t.prototype,"edgeRouterRegistry",void 0),r([c.inject(p.TYPES.ISnapper),c.optional(),a("design:type",Object)],t.prototype,"snapper",void 0),t}(f.MouseListener);t.MoveMouseListener=P;var N=function(){function e(){}return e.prototype.decorate=function(e,t){if(E.isEdgeLayoutable(t)&&t.parent instanceof g.SEdge)return e;var n="";if(k.isLocateable(t)&&t instanceof d.SChildElement&&void 0!==t.parent){var i=t.position;0===i.x&&0===i.y||(n="translate("+i.x+", "+i.y+")")}if(b.isAlignable(t)){var o=t.alignment;0===o.x&&0===o.y||(n.length>0&&(n+=" "),n+="translate("+o.x+", "+o.y+")")}return n.length>0&&m.setAttr(e,"transform",n),e},e.prototype.postUpdate=function(){},e=r([c.injectable()],e),e}();t.LocationPostprocessor=N},"55a0":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=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}});return t})},5608:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],n=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],i=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],o=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],r=["Do","Lu","Má","Cé","Dé","A","Sa"],a=e.defineLocale("ga",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:i,weekdaysShort:o,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return a})},5823:function(e,t,n){"use strict";var i=n("e8de"),o=n.n(i);o.a},5870:function(e,t,n){},5884:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("1cc1"),r=n("3c83"),a=n("6923"),s=new i.ContainerModule(function(e){e(a.TYPES.IContextMenuServiceProvider).toProvider(function(e){return function(){return new Promise(function(t,n){e.container.isBound(a.TYPES.IContextMenuService)?t(e.container.get(a.TYPES.IContextMenuService)):n()})}}),e(a.TYPES.MouseListener).to(r.ContextMenuMouseListener),e(a.TYPES.IContextMenuProviderRegistry).to(o.ContextMenuProviderRegistry)});t.default=s},"5b35":function(e,t,n){"use strict";var i=n("b878"),o=n.n(i);o.a},"5bc0":function(e,t,n){},"5bcd":function(e,t,n){},"5caf":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":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年"}});return t})},"5d08":function(e,t,n){"use strict";var i=n("d675"),o=n.n(i);o.a},"5d19":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var r=n("66f9"),a=n("0fb6"),s=n("6923"),c=n("dd02"),l=n("e1c6"),u=function(){function e(t,n){void 0===n&&(n=""),this.svg=t,this.responseId=n,this.kind=e.KIND}return e.KIND="exportSvg",e}();t.ExportSvgAction=u;var d=function(){function e(){}return e.prototype.export=function(e,t){if("undefined"!==typeof document){var n=document.getElementById(this.options.hiddenDiv);if(null!==n&&n.firstElementChild&&"svg"===n.firstElementChild.tagName){var i=n.firstElementChild,o=this.createSvg(i,e);this.actionDispatcher.dispatch(new u(o,t?t.requestId:""))}}},e.prototype.createSvg=function(e,t){var n=new XMLSerializer,i=n.serializeToString(e),o=document.createElement("iframe");if(document.body.appendChild(o),!o.contentWindow)throw new Error("IFrame has no contentWindow");var r=o.contentWindow.document;r.open(),r.write(i),r.close();var a=r.getElementById(e.id);a.removeAttribute("opacity"),this.copyStyles(e,a,["width","height","opacity"]),a.setAttribute("version","1.1");var s=this.getBounds(t);a.setAttribute("viewBox",s.x+" "+s.y+" "+s.width+" "+s.height);var c=n.serializeToString(a);return document.body.removeChild(o),c},e.prototype.copyStyles=function(e,t,n){for(var i=getComputedStyle(e),o=getComputedStyle(t),r="",a=0;a=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})})},"5e1a":function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n("a8f0").Buffer,r=n(3);function a(e,t,n){e.copy(t,n)}e.exports=function(){function e(){i(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";var t=this.head,n=""+t.data;while(t=t.next)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return o.alloc(0);if(1===this.length)return this.head.data;var t=o.allocUnsafe(e>>>0),n=this.head,i=0;while(n)a(n.data,t,i),i+=n.data.length,n=n.next;return t},e}(),r&&r.inspect&&r.inspect.custom&&(e.exports.prototype[r.inspect.custom]=function(){var e=r.inspect({length:this.length});return this.constructor.name+" "+e})},"5e9c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("6923");function o(e,t){var n=e.get(i.TYPES.CommandStackOptions);for(var o in t)t.hasOwnProperty(o)&&(n[o]=t[o]);return n}t.overrideCommandStackOptions=o},"5eb6":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("3a92");function o(e){return e instanceof i.SModelRoot&&e.hasFeature(t.viewportFeature)&&"zoom"in e&&"scroll"in e}t.viewportFeature=Symbol("viewportFeature"),t.isViewport=o},"5fd7":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],o=e.defineLocale("ku",{months:i,monthsShort:i,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,n){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return o})},6176:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},s=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),a=n("dd02"),s=n("3a92"),c=n("6923"),l=n("42f7"),u=n("320b"),d=n("66f9"),h=function(){function e(){}return e}();t.BoundsData=h;var p=function(){function e(){this.element2boundsData=new Map}return e.prototype.decorate=function(e,t){return(d.isSizeable(t)||d.isLayoutContainer(t))&&this.element2boundsData.set(t,{vnode:e,bounds:t.bounds,boundsChanged:!1,alignmentChanged:!1}),t instanceof s.SModelRoot&&(this.root=t),e},e.prototype.postUpdate=function(e){if(void 0!==e&&e.kind===l.RequestBoundsAction.KIND){var t=e;this.getBoundsFromDOM(),this.layouter.layout(this.element2boundsData);var n=[],i=[];this.element2boundsData.forEach(function(e,t){if(e.boundsChanged&&void 0!==e.bounds){var o={elementId:t.id,newSize:{width:e.bounds.width,height:e.bounds.height}};t instanceof s.SChildElement&&d.isLayoutContainer(t.parent)&&(o.newPosition={x:e.bounds.x,y:e.bounds.y}),n.push(o)}e.alignmentChanged&&void 0!==e.alignment&&i.push({elementId:t.id,newAlignment:e.alignment})});var o=void 0!==this.root?this.root.revision:void 0;this.actionDispatcher.dispatch(new l.ComputedBoundsAction(n,o,i,t.requestId)),this.element2boundsData.clear()}},e.prototype.getBoundsFromDOM=function(){var e=this;this.element2boundsData.forEach(function(t,n){if(t.bounds&&d.isSizeable(n)){var i=t.vnode;if(i&&i.elm){var o=e.getBounds(i.elm,n);!d.isAlignable(n)||a.almostEquals(o.x,0)&&a.almostEquals(o.y,0)||(t.alignment={x:-o.x,y:-o.y},t.alignmentChanged=!0);var r={x:n.bounds.x,y:n.bounds.y,width:o.width,height:o.height};a.almostEquals(r.x,n.bounds.x)&&a.almostEquals(r.y,n.bounds.y)&&a.almostEquals(r.width,n.bounds.width)&&a.almostEquals(r.height,n.bounds.height)||(t.bounds=r,t.boundsChanged=!0)}}})},e.prototype.getBounds=function(e,t){if("function"!==typeof e.getBBox)return this.logger.error(this,"Not an SVG element:",e),a.EMPTY_BOUNDS;var n=e.getBBox();return{x:n.x,y:n.y,width:n.width,height:n.height}},i([r.inject(c.TYPES.ILogger),o("design:type",Object)],e.prototype,"logger",void 0),i([r.inject(c.TYPES.IActionDispatcher),o("design:type",Object)],e.prototype,"actionDispatcher",void 0),i([r.inject(c.TYPES.Layouter),o("design:type",u.Layouter)],e.prototype,"layouter",void 0),e=i([r.injectable()],e),e}();t.HiddenBoundsUpdater=p},"61d8":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),c=n("9757"),l=n("6923"),u=n("3585"),d=n("168d"),h=function(){function e(t,n,i){this.routableId=t,this.newSourceId=n,this.newTargetId=i,this.kind=e.KIND}return e.KIND="reconnect",e}();t.ReconnectAction=h;var p=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){return this.doExecute(e),e.root},t.prototype.doExecute=function(e){var t=e.root.index,n=t.getById(this.action.routableId);if(n instanceof u.SRoutableElement){var i=this.edgeRouterRegistry.get(n.routerKind),o=i.takeSnapshot(n);i.applyReconnect(n,this.action.newSourceId,this.action.newTargetId);var r=i.takeSnapshot(n);this.memento={edge:n,before:o,after:r}}},t.prototype.undo=function(e){if(this.memento){var t=this.edgeRouterRegistry.get(this.memento.edge.routerKind);t.applySnapshot(this.memento.edge,this.memento.before)}return e.root},t.prototype.redo=function(e){if(this.memento){var t=this.edgeRouterRegistry.get(this.memento.edge.routerKind);t.applySnapshot(this.memento.edge,this.memento.after)}return e.root},t.KIND=h.KIND,o([s.inject(d.EdgeRouterRegistry),r("design:type",d.EdgeRouterRegistry)],t.prototype,"edgeRouterRegistry",void 0),t=o([s.injectable(),a(0,s.inject(l.TYPES.Action)),r("design:paramtypes",[h])],t),t}(c.Command);t.ReconnectCommand=p},6208:function(e,t,n){"use strict";var i=n("6cea"),o=n.n(i);o.a},"624f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3"),o=n("c5f4"),r=n("1979"),a=n("66d7"),s=function(){function e(e){this._cb=e}return e.prototype.unwrap=function(){return this._cb()},e}();function c(e){return function(t,n,s){if(void 0===e)throw new Error(i.UNDEFINED_INJECT_ANNOTATION(t.name));var c=new r.Metadata(o.INJECT_TAG,e);"number"===typeof s?a.tagParameter(t,n,s,c):a.tagProperty(t,n,c)}}t.LazyServiceIdentifer=s,t.inject=c},6283:function(e,t,n){"use strict";var i=n("5bcd"),o=n.n(i);o.a},6420:function(e,t,n){"use strict";var i=n("1f0f"),o=n.n(i);o.a},"647c":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=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 年"}});return t})},"650c":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t})},6592:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTextVNode=a,t.transformName=s,t.unescapeEntities=u;var i=n("81aa"),o=r(i);function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(0,o.default)(void 0,void 0,void 0,u(e,t))}function s(e){e=e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()});var t=e.charAt(0).toLowerCase();return""+t+e.substring(1)}var c=new RegExp("&[a-z0-9#]+;","gi"),l=null;function u(e,t){return l||(l=t.createElement("div")),e.replace(c,function(e){return l.innerHTML=e,l.textContent})}},"65d1":function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=100?100:null;return e+(t[i]||t[o]||t[r])}},week:{dow:1,doy:7}});return n})},"669e":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n,i){var o={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return i?o[n][0]:o[n][1]}var n=e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}});return n})},"66a6":function(e,t,n){},"66d7":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3"),o=n("c5f4");function r(e,t,n,i){var r=o.TAGGED;s(r,e,t,i,n)}function a(e,t,n){var i=o.TAGGED_PROP;s(i,e.constructor,t,n)}function s(e,t,n,o,r){var a={},s="number"===typeof r,c=void 0!==r&&s?r.toString():n;if(s&&void 0!==n)throw new Error(i.INVALID_DECORATOR_OPERATION);Reflect.hasOwnMetadata(e,t)&&(a=Reflect.getMetadata(e,t));var l=a[c];if(Array.isArray(l))for(var u=0,d=l;u=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),s=n("393a"),c=n("3623"),l=n("e45b"),u=n("8e97"),d=n("779b"),h=n("3585"),p=n("168d"),f=n("8d9d"),m=function(){function e(){}return e.prototype.render=function(e,t){var n="scale("+e.zoom+") translate("+-e.scroll.x+","+-e.scroll.y+")";return s.svg("svg",{"class-sprotty-graph":!0},s.svg("g",{transform:n},t.renderChildren(e)))},e=o([a.injectable()],e),e}();t.SGraphView=m;var g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(e,t){var n=this.edgeRouterRegistry.get(e.routerKind),i=n.route(e);if(0===i.length)return this.renderDanglingEdge("Cannot compute route",e,t);if(!this.isVisible(e,i,t)){if(0===e.children.length)return;return s.svg("g",null,t.renderChildren(e,{route:i}))}return s.svg("g",{"class-sprotty-edge":!0,"class-mouseover":e.hoverFeedback},this.renderLine(e,i,t),this.renderAdditionals(e,i,t),t.renderChildren(e,{route:i}))},t.prototype.renderLine=function(e,t,n){for(var i=t[0],o="M "+i.x+","+i.y,r=1;r0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,i=l.some(function(e){return!!~n.indexOf(e)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,i=Object.keys(t);n0},e}(),T="undefined"!==typeof WeakMap?new WeakMap:new n,O=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),i=new A(t,n,this);T.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach(function(e){O.prototype[e]=function(){var t;return(t=T.get(this))[e].apply(t,arguments)}});var k=function(){return"undefined"!==typeof o.ResizeObserver?o.ResizeObserver:O}();t["a"]=k}).call(this,n("c8ba"))},"6ef9":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n){var i={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},o=" ";return(e%100>=20||e>=100&&e%100===0)&&(o=" de "),e+o+i[n]}var n=e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}});return n})},"6f35":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("842c"),r=n("3ada"),a=new i.ContainerModule(function(e,t,n){o.configureCommand({bind:e,isBound:n},r.BringToFrontCommand)});t.default=a},"70d9":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("3864"),c=n("e1c6"),l=n("6923"),u=function(e){function t(t){var n=e.call(this)||this;return t.forEach(function(e){return n.register(e.TYPE,new e)}),n}return i(t,e),t=o([c.injectable(),a(0,c.multiInject(l.TYPES.IButtonHandler)),a(0,c.optional()),r("design:paramtypes",[Array])],t),t}(s.InstanceRegistry);t.ButtonHandlerRegistry=u},7121:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,o,r,a){var s=n(t),c=i[e][n(t)];return 2===s&&(c=c[o?0:1]),c.replace(/%d/i,t)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],a=e.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return a})},7122:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3"),o=n("155f"),r=n("c5f4");function a(e,t,n){var i=t.filter(function(e){return null!==e.target&&e.target.type===o.TargetTypeEnum.ClassProperty}),r=i.map(n);return i.forEach(function(t,n){var i="";i=t.target.name.value();var o=r[n];e[i]=o}),e}function s(e,t){return new(e.bind.apply(e,[void 0].concat(t)))}function c(e,t){if(Reflect.hasMetadata(r.POST_CONSTRUCT,e)){var n=Reflect.getMetadata(r.POST_CONSTRUCT,e);try{t[n.value]()}catch(t){throw new Error(i.POST_CONSTRUCT_ERROR(e.name,t.message))}}}function l(e,t,n){var i=null;if(t.length>0){var r=t.filter(function(e){return null!==e.target&&e.target.type===o.TargetTypeEnum.ConstructorArgument}),l=r.map(n);i=s(e,l),i=a(i,t,n)}else i=new e;return c(e,i),i}t.resolveInstance=l},"715d":function(e,t,n){"use strict";var i=n("1f66"),o=n.n(i);o.a},7173:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ft-wrapper",class:{"ft-no-timestamp":0===e.slices.length||-1===e.timestamp}},[n("div",{staticClass:"ft-container"},[n("div",{staticClass:"ft-time row"},[n("div",{staticClass:"ft-time-origin-container",on:{click:function(t){e.onClick(t,function(){e.changeTimestamp(-1)})}}},[n("q-icon",{staticClass:"ft-time-origin",class:{"ft-time-origin-active":-1===e.timestamp},attrs:{name:"mdi-clock-start"}}),0!==e.slices.length?n("q-tooltip",{attrs:{offset:[0,8],self:"top middle",anchor:"bottom middle"},domProps:{innerHTML:e._s(e.slices.length>0?e.slices[0][1]:e.$t("label.timeOrigin"))}}):e._e()],1),n("div",{ref:"ft-timeline-"+e.observationId,staticClass:"ft-timeline-container col",class:{"ot-timeline-with-time":-1!==e.timestamp}},[n("div",{ref:"ft-timeline",staticClass:"ft-timeline",class:{"ft-with-slices":0!==e.slices.length},on:{mousemove:e.moveOnTimeline,click:function(t){e.changeTimestamp(e.getDateFromPosition(t))}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.slices.length>0,expression:"slices.length > 0"}],staticClass:"ft-timeline-viewer"}),e.slices.length<=1?n("div",{staticClass:"ft-slice-container",style:{left:e.calculatePosition(e.start)+"px"}},[n("div",{staticClass:"ft-slice"}),n("div",{staticClass:"ft-slice-caption"},[e._v(e._s(e.getLabel(e.start)))])]):e._e(),e._l(e.slices,function(t,i){return-1!==t[0]?n("div",{key:i,staticClass:"ft-slice-container",style:{left:e.calculatePosition(t[0])+"px"}},[n("div",{staticClass:"ft-slice"}),n("div",{staticClass:"ft-slice-caption"},[e._v(e._s(e.getLabel(t[0])))])]):e._e()}),n("div",{staticClass:"ft-slice-container",style:{left:"calc("+e.calculatePosition(e.end)+"px - 2px)"}},[n("div",{staticClass:"ft-slice"}),n("div",{staticClass:"ft-slice-caption"},[e._v(e._s(e.getLabel(e.end)))])]),-1!==e.timestamp?n("div",{staticClass:"ft-actual-time",style:{left:"calc("+e.calculatePosition(e.timestamp)+"px - 11px + "+(e.timestamp===e.end?"0":"1")+"px)"}},[n("q-icon",{attrs:{name:"mdi-menu-down-outline"}})],1):e._e(),0!==e.slices.length?n("q-tooltip",{staticClass:"ft-date-tooltip",attrs:{offset:[0,15],self:"top middle",anchor:"bottom middle",delay:300},domProps:{innerHTML:e._s(e.timelineDate)}}):e._e()],2)])])]),n("q-resize-observable",{on:{resize:e.updateWidth}})],1)},o=[];i._withStripped=!0;n("ac6a");var r=n("278c"),a=n.n(r),s=(n("28a5"),n("c5f6"),n("c1df")),c=n.n(s),l=n("b8c1"),u={name:"FigureTimeline",mixins:[l["a"]],props:{observationId:{type:String,required:!0},start:{type:Number,required:!0},end:{type:Number,required:!0},rawSlices:{type:Array,default:function(){return[]}},startingTime:{type:Number,default:-1}},computed:{slices:function(){return this.rawSlices.map(function(e){var t=e.split(",");return[+t[0],t[1]]})}},data:function(){return{timestamp:this.startingTime,timelineDate:null,timelineWidth:0,timelineLeft:0}},methods:{formatDate:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return null===e?"":(t||(e=c()(e).format("L")),'
'.concat(e,"
"))},updateWidth:function(){var e=this.$refs["ft-timeline-".concat(this.observationId)];e?(this.timelineWidth=e.clientWidth,this.timelineLeft=e.getBoundingClientRect().left):(this.timelineWidth=0,this.timelineLeft=0)},calculatePosition:function(e){if(0===this.timelineWidth)return 0;if(-1===e)return 0;var t=Math.floor((e-this.start)*this.timelineWidth/(this.end-this.start));return t},moveOnTimeline:function(e){var t=this.getSlice(this.getDateFromPosition(e)),n=a()(t,2);this.timelineDate=n[1]},getDateFromPosition:function(e){if(0===this.timelineWidth)return 0;var t=e.clientX-this.timelineLeft,n=Math.floor(this.start+t*(this.end-this.start)/this.timelineWidth);return n>this.end?n=this.end:nthis.end)return[this.end,this.formatDate(this.end)];var t=[this.start,this.formatDate(this.start)];return this.slices.length>0&&this.slices.forEach(function(n){n[0]<=e&&(t=n)}),t},changeTimestamp:function(e){if(0!==this.slices.length){e>this.end?this.timestamp=this.end:this.timestamp=e;var t=this.getSlice(e),n=a()(t,2);this.timelineDate=n[1],this.$emit("timestampchange",{time:t[0],timeString:-1===e?t[1]:c()(e).format("L")})}},getLabel:function(e){return c()(e).format("L")}},mounted:function(){this.updateWidth()}},d=u,h=(n("0faf"),n("2877")),p=Object(h["a"])(d,i,o,!1,null,null,null);p.options.__file="FigureTimeline.vue";t["a"]=p.exports},"719e":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3"),o=n("c5f4");function r(){return function(e){if(Reflect.hasOwnMetadata(o.PARAM_TYPES,e))throw new Error(i.DUPLICATED_INJECTABLE_DECORATOR);var t=Reflect.getMetadata(o.DESIGN_PARAM_TYPES,e)||[];return Reflect.defineMetadata(o.PARAM_TYPES,t,e),e}}t.injectable=r},"71d9":function(e,t,n){},"72dd":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("42f7"),a=n("61bf"),s=n("320b"),c=n("842c"),l=new i.ContainerModule(function(e,t,n){c.configureCommand({bind:e,isBound:n},r.SetBoundsCommand),c.configureCommand({bind:e,isBound:n},r.RequestBoundsCommand),e(a.HiddenBoundsUpdater).toSelf().inSingletonScope(),e(o.TYPES.HiddenVNodePostprocessor).toService(a.HiddenBoundsUpdater),e(o.TYPES.Layouter).to(s.Layouter).inSingletonScope(),e(o.TYPES.LayoutRegistry).to(s.LayoutRegistry).inSingletonScope()});t.default=l},7335:function(e,t,n){(function(e,t){t(n("f333"))})(0,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}}var n=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}});return n})},7349:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t})},7364:function(e,t,n){},"746a":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t})},7521:function(e,t,n){"use strict";var i=n("48f9"),o=n.n(i);o.a},"755f":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n("393a"),r=n("e45b"),a=n("e1c6"),s=function(){function e(){}return e.prototype.render=function(e,t){var n=16/1792,i="scale("+n+", "+n+")",a=this.getMaxSeverity(e),s=o.svg("g",{"class-sprotty-issue":!0},o.svg("g",{transform:i},o.svg("path",{d:this.getPath(a)})));return r.setClass(s,"sprotty-"+a,!0),s},e.prototype.getMaxSeverity=function(e){for(var t="info",n=0,i=e.issues.map(function(e){return e.severity});n1?n("div",{staticClass:"kal-locales row reverse"},[n("q-select",{staticClass:"kal-lang-selector",attrs:{options:t.localeOptions,color:"app-main-color","hide-underline":""},model:{value:t.selectedLocale,callback:function(n){e.$set(t,"selectedLocale",n)},expression:"app.selectedLocale"}})],1):e._e()])})],2)])],1)],1)],1)])},A=[];E._withStripped=!0;n("a481"),n("7514"),n("20d6"),n("ac6a"),n("cadf"),n("456d"),n("7f7f");var T=n("be3b"),O=n("d247"),k={ab:{name:"Abkhaz",nativeName:"аҧсуа"},aa:{name:"Afar",nativeName:"Afaraf"},af:{name:"Afrikaans",nativeName:"Afrikaans"},ak:{name:"Akan",nativeName:"Akan"},sq:{name:"Albanian",nativeName:"Shqip"},am:{name:"Amharic",nativeName:"አማርኛ"},ar:{name:"Arabic",nativeName:"العربية"},an:{name:"Aragonese",nativeName:"Aragonés"},hy:{name:"Armenian",nativeName:"Հայերեն"},as:{name:"Assamese",nativeName:"অসমীয়া"},av:{name:"Avaric",nativeName:"авар мацӀ"},ae:{name:"Avestan",nativeName:"avesta"},ay:{name:"Aymara",nativeName:"aymar aru"},az:{name:"Azerbaijani",nativeName:"azərbaycan dili"},bm:{name:"Bambara",nativeName:"bamanankan"},ba:{name:"Bashkir",nativeName:"башҡорт теле"},eu:{name:"Basque",nativeName:"euskara"},be:{name:"Belarusian",nativeName:"Беларуская"},bn:{name:"Bengali",nativeName:"বাংলা"},bh:{name:"Bihari",nativeName:"भोजपुरी"},bi:{name:"Bislama",nativeName:"Bislama"},bs:{name:"Bosnian",nativeName:"bosanski jezik"},br:{name:"Breton",nativeName:"brezhoneg"},bg:{name:"Bulgarian",nativeName:"български език"},my:{name:"Burmese",nativeName:"ဗမာစာ"},ca:{name:"Catalan; Valencian",nativeName:"Català"},ch:{name:"Chamorro",nativeName:"Chamoru"},ce:{name:"Chechen",nativeName:"нохчийн мотт"},ny:{name:"Chichewa; Chewa; Nyanja",nativeName:"chiCheŵa"},zh:{name:"Chinese",nativeName:"中文 (Zhōngwén)"},cv:{name:"Chuvash",nativeName:"чӑваш чӗлхи"},kw:{name:"Cornish",nativeName:"Kernewek"},co:{name:"Corsican",nativeName:"corsu"},cr:{name:"Cree",nativeName:"ᓀᐦᐃᔭᐍᐏᐣ"},hr:{name:"Croatian",nativeName:"hrvatski"},cs:{name:"Czech",nativeName:"česky"},da:{name:"Danish",nativeName:"dansk"},dv:{name:"Divehi; Dhivehi; Maldivian;",nativeName:"ދިވެހި"},nl:{name:"Dutch",nativeName:"Nederlands"},en:{name:"English",nativeName:"English",flag:"gb"},eo:{name:"Esperanto",nativeName:"Esperanto"},et:{name:"Estonian",nativeName:"eesti"},ee:{name:"Ewe",nativeName:"Eʋegbe"},fo:{name:"Faroese",nativeName:"føroyskt"},fj:{name:"Fijian",nativeName:"vosa Vakaviti"},fi:{name:"Finnish",nativeName:"suomi"},fr:{name:"French",nativeName:"français"},ff:{name:"Fula; Fulah; Pulaar; Pular",nativeName:"Fulfulde"},gl:{name:"Galician",nativeName:"Galego"},ka:{name:"Georgian",nativeName:"ქართული"},de:{name:"German",nativeName:"Deutsch"},el:{name:"Greek",nativeName:"Ελληνικά"},gn:{name:"Guaraní",nativeName:"Avañeẽ"},gu:{name:"Gujarati",nativeName:"ગુજરાતી"},ht:{name:"Haitian; Haitian Creole",nativeName:"Kreyòl ayisyen"},ha:{name:"Hausa",nativeName:"Hausa"},he:{name:"Hebrew (modern)",nativeName:"עברית"},hz:{name:"Herero",nativeName:"Otjiherero"},hi:{name:"Hindi",nativeName:"हिन्दी"},ho:{name:"Hiri Motu",nativeName:"Hiri Motu"},hu:{name:"Hungarian",nativeName:"Magyar"},ia:{name:"Interlingua",nativeName:"Interlingua"},id:{name:"Indonesian",nativeName:"Bahasa Indonesia"},ie:{name:"Interlingue",nativeName:"Originally called Occidental; then Interlingue after WWII"},ga:{name:"Irish",nativeName:"Gaeilge"},ig:{name:"Igbo",nativeName:"Asụsụ Igbo"},ik:{name:"Inupiaq",nativeName:"Iñupiaq"},io:{name:"Ido",nativeName:"Ido"},is:{name:"Icelandic",nativeName:"Íslenska"},it:{name:"Italian",nativeName:"Italiano"},iu:{name:"Inuktitut",nativeName:"ᐃᓄᒃᑎᑐᑦ"},ja:{name:"Japanese",nativeName:"日本語 (にほんご/にっぽんご)"},jv:{name:"Javanese",nativeName:"basa Jawa"},kl:{name:"Kalaallisut",nativeName:"kalaallisut"},kn:{name:"Kannada",nativeName:"ಕನ್ನಡ"},kr:{name:"Kanuri",nativeName:"Kanuri"},ks:{name:"Kashmiri",nativeName:"कश्मीरी"},kk:{name:"Kazakh",nativeName:"Қазақ тілі"},km:{name:"Khmer",nativeName:"ភាសាខ្មែរ"},ki:{name:"Kikuyu",nativeName:"Gĩkũyũ"},rw:{name:"Kinyarwanda",nativeName:"Ikinyarwanda"},ky:{name:"Kirghiz",nativeName:"кыргыз тили"},kv:{name:"Komi",nativeName:"коми кыв"},kg:{name:"Kongo",nativeName:"KiKongo"},ko:{name:"Korean",nativeName:"한국어 (韓國語)"},ku:{name:"Kurdish",nativeName:"Kurdî"},kj:{name:"Kwanyama",nativeName:"Kuanyama"},la:{name:"Latin",nativeName:"latine"},lb:{name:"Luxembourgish",nativeName:"Lëtzebuergesch"},lg:{name:"Luganda",nativeName:"Luganda"},li:{name:"Limburgish",nativeName:"Limburgs"},ln:{name:"Lingala",nativeName:"Lingála"},lo:{name:"Lao",nativeName:"ພາສາລາວ"},lt:{name:"Lithuanian",nativeName:"lietuvių kalba"},lu:{name:"Luba-Katanga",nativeName:""},lv:{name:"Latvian",nativeName:"latviešu valoda"},gv:{name:"Manx",nativeName:"Gaelg"},mk:{name:"Macedonian",nativeName:"македонски јазик"},mg:{name:"Malagasy",nativeName:"Malagasy fiteny"},ms:{name:"Malay",nativeName:"bahasa Melayu"},ml:{name:"Malayalam",nativeName:"മലയാളം"},mt:{name:"Maltese",nativeName:"Malti"},mi:{name:"Māori",nativeName:"te reo Māori"},mr:{name:"Marathi (Marāṭhī)",nativeName:"मराठी"},mh:{name:"Marshallese",nativeName:"Kajin M̧ajeļ"},mn:{name:"Mongolian",nativeName:"монгол"},na:{name:"Nauru",nativeName:"Ekakairũ Naoero"},nv:{name:"Navajo",nativeName:"Diné bizaad"},nb:{name:"Norwegian Bokmål",nativeName:"Norsk bokmål"},nd:{name:"North Ndebele",nativeName:"isiNdebele"},ne:{name:"Nepali",nativeName:"नेपाली"},ng:{name:"Ndonga",nativeName:"Owambo"},nn:{name:"Norwegian Nynorsk",nativeName:"Norsk nynorsk"},no:{name:"Norwegian",nativeName:"Norsk"},ii:{name:"Nuosu",nativeName:"ꆈꌠ꒿ Nuosuhxop"},nr:{name:"South Ndebele",nativeName:"isiNdebele"},oc:{name:"Occitan",nativeName:"Occitan"},oj:{name:"Ojibwe",nativeName:"ᐊᓂᔑᓈᐯᒧᐎᓐ"},cu:{name:"Old Church Slavonic",nativeName:"ѩзыкъ словѣньскъ"},om:{name:"Oromo",nativeName:"Afaan Oromoo"},or:{name:"Oriya",nativeName:"ଓଡ଼ିଆ"},os:{name:"Ossetian",nativeName:"ирон æвзаг"},pa:{name:"Panjabi",nativeName:"ਪੰਜਾਬੀ"},pi:{name:"Pāli",nativeName:"पाऴि"},fa:{name:"Persian",nativeName:"فارسی"},pl:{name:"Polish",nativeName:"polski"},ps:{name:"Pashto",nativeName:"پښتو"},pt:{name:"Portuguese",nativeName:"Português"},qu:{name:"Quechua",nativeName:"Runa Simi"},rm:{name:"Romansh",nativeName:"rumantsch grischun"},rn:{name:"Kirundi",nativeName:"kiRundi"},ro:{name:"Romanian",nativeName:"română"},ru:{name:"Russian",nativeName:"русский"},sa:{name:"Sanskrit (Saṁskṛta)",nativeName:"संस्कृतम्"},sc:{name:"Sardinian",nativeName:"sardu"},sd:{name:"Sindhi",nativeName:"सिन्धी"},se:{name:"Northern Sami",nativeName:"Davvisámegiella"},sm:{name:"Samoan",nativeName:"gagana faa Samoa"},sg:{name:"Sango",nativeName:"yângâ tî sängö"},sr:{name:"Serbian",nativeName:"српски језик"},gd:{name:"Scottish Gaelic; Gaelic",nativeName:"Gàidhlig"},sn:{name:"Shona",nativeName:"chiShona"},si:{name:"Sinhala",nativeName:"සිංහල"},sk:{name:"Slovak",nativeName:"slovenčina"},sl:{name:"Slovene",nativeName:"slovenščina"},so:{name:"Somali",nativeName:"Soomaaliga"},st:{name:"Southern Sotho",nativeName:"Sesotho"},es:{name:"Spanish; Castilian",nativeName:"español"},su:{name:"Sundanese",nativeName:"Basa Sunda"},sw:{name:"Swahili",nativeName:"Kiswahili"},ss:{name:"Swati",nativeName:"SiSwati"},sv:{name:"Swedish",nativeName:"svenska"},ta:{name:"Tamil",nativeName:"தமிழ்"},te:{name:"Telugu",nativeName:"తెలుగు"},tg:{name:"Tajik",nativeName:"тоҷикӣ"},th:{name:"Thai",nativeName:"ไทย"},ti:{name:"Tigrinya",nativeName:"ትግርኛ"},bo:{name:"Tibetan Standard",nativeName:"བོད་ཡིག"},tk:{name:"Turkmen",nativeName:"Türkmen"},tl:{name:"Tagalog",nativeName:"Wikang Tagalog"},tn:{name:"Tswana",nativeName:"Setswana"},to:{name:"Tonga (Tonga Islands)",nativeName:"faka Tonga"},tr:{name:"Turkish",nativeName:"Türkçe"},ts:{name:"Tsonga",nativeName:"Xitsonga"},tt:{name:"Tatar",nativeName:"татарча"},tw:{name:"Twi",nativeName:"Twi"},ty:{name:"Tahitian",nativeName:"Reo Tahiti"},ug:{name:"Uighur",nativeName:"Uyƣurqə"},uk:{name:"Ukrainian",nativeName:"українська"},ur:{name:"Urdu",nativeName:"اردو"},uz:{name:"Uzbek",nativeName:"zbek"},ve:{name:"Venda",nativeName:"Tshivenḓa"},vi:{name:"Vietnamese",nativeName:"Tiếng Việt"},vo:{name:"Volapük",nativeName:"Volapük"},wa:{name:"Walloon",nativeName:"Walon"},cy:{name:"Welsh",nativeName:"Cymraeg"},wo:{name:"Wolof",nativeName:"Wollof"},fy:{name:"Western Frisian",nativeName:"Frysk"},xh:{name:"Xhosa",nativeName:"isiXhosa"},yi:{name:"Yiddish",nativeName:"ייִדיש"},yo:{name:"Yoruba",nativeName:"Yorùbá"},za:{name:"Zhuang",nativeName:"Saɯ cueŋƅ"}},x={name:"KlabSettings",data:function(){return{models:{userDetails:!1,appsList:!1},popupsOver:{userDetails:!1,appsList:!1},fabVisible:!1,closeTimeout:null,modalTimeout:null,appsList:[],localeOptions:[],test:"es",TERMINAL_TYPES:c["K"],ISO_LOCALE:k}},computed:a()({},Object(s["c"])("data",["sessionReference","isLocal"]),Object(s["c"])("view",["isApp","klabApp","hasShowSettings","layout","dataflowInfoOpen","mainViewerName"]),{hasDataflowInfo:function(){return this.dataflowInfoOpen&&this.mainViewerName===c["M"].DATAFLOW_VIEWER.name},modalsAreFocused:function(){var e=this;return Object.keys(this.popupsOver).some(function(t){return e.popupsOver[t]})||this.selectOpen},owner:function(){return this.sessionReference&&this.sessionReference.owner?this.sessionReference.owner:{unknown:this.$t("label.unknownUser")}},isDeveloper:function(){return this.owner&&this.owner.groups&&-1!==this.owner.groups.findIndex(function(e){return"DEVELOPERS"===e.id})}}),methods:a()({},Object(s["b"])("data",["loadSessionReference","addTerminal"]),Object(s["b"])("view",["setLayout","setShowSettings"]),{getLocalizedString:function(e,t){if(e.selectedLocale){var n=e.localizations.find(function(t){return t.isoCode===e.selectedLocale});if(n)return"label"===t?n.localizedLabel:n.localizedDescription;if("description"===t)return this.$t("label.noLayoutDescription");if(e.name)return e.name;this.$t("label.noLayoutLabel")}return""},loadApplications:function(){var e=this;if(this.appsList.splice(0),this.sessionReference&&this.sessionReference.publicApps){var t=this.sessionReference.publicApps.filter(function(e){return"WEB"===e.platform||"ANY"===e.platform});t.forEach(function(t){t.logo?(t.logoSrc="".concat("").concat(O["c"].REST_GET_PROJECT_RESOURCE,"/").concat(t.projectId,"/").concat(t.logo.replace("/",":")),e.appsList.push(t)):(t.logoSrc=c["b"].DEFAULT_LOGO,e.appsList.push(t)),e.$set(t,"selectedLocale",t.localizations[0].isoCode),t.localeOptions=t.localizations.map(function(e){return{label:e.languageDescription,value:e.isoCode,icon:"mdi-earth",className:"kal-locale-options"}})})}},runApp:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.selectedLocale,i="".concat(e.name,".").concat(n);this.layout&&this.layout.name===i||(e.selectedLocale=n,this.sendStompMessage(l["a"].RUN_APPLICATION({applicationId:i},this.$store.state.data.session).body),this.$nextTick(function(){t.models.appsList=!1,t.fabVisible=!1}))},exitApp:function(){this.layout&&this.setLayout(null)},logout:function(){var e=this,t="".concat("").concat("/modeler").concat(this.isApp?"?app=".concat(this.klabApp):"");null!==this.token?T["a"].post("".concat("").concat(O["c"].REST_API_LOGOUT),{}).then(function(n){var i=n.status;205===i?window.location=t:(e.$q.notify({message:e.$t("messages.errorLoggingOut"),type:"negative",icon:"mdi-alert-circle",timeout:2e3}),console.error("Strange status: ".concat(i)))}).catch(function(t){e.$q.notify({message:e.$t("messages.errorLoggingOut"),type:"negative",icon:"mdi-alert-circle",timeout:2e3}),t.response&&403===t.response.status&&console.error("Probably bad token"),console.error("Error logging out: ".concat(t))}):window.location=t},mouseActionEnter:function(e){var t=this;clearTimeout(this.modalTimeout),this.modalTimeout=null,this.$nextTick(function(){t.models[e]=!0,Object.keys(t.models).forEach(function(n){n!==e&&(t.models[n]=!1)})})},mouseFabClick:function(e){var t=this;this.fabVisible?(e.stopPropagation(),e.preventDefault(),setTimeout(function(){window.addEventListener("click",t.closeAll)},300)):(this.closeTimeout&&(clearTimeout(this.closeTimeout),this.closeTimeout=null),this.modalsAreFocused||this.closeAll(e,500))},closeAll:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.closeTimeout=setTimeout(function(){Object.keys(e.models).forEach(function(t){e.models[t]=!1}),e.$refs["klab-settings"].hide(),window.removeEventListener("click",e.closeAll)},t)},openTerminal:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.closeAll(),setTimeout(function(){e.addTerminal(a()({},t&&{type:t}))},200)}}),watch:{sessionReference:function(){this.loadApplications()}},created:function(){this.loadApplications()}},D=x,R=(n("e2d7"),Object(b["a"])(D,E,A,!1,null,null,null));R.options.__file="KlabSettings.vue";var z=R.exports,P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"draggable",rawName:"v-draggable",value:e.draggableConfig,expression:"draggableConfig"}],staticClass:"kterm-container",class:{"kterm-minimized":!e.terminal.active,"kterm-focused":e.hasFocus},attrs:{id:"kterm-container-"+e.terminal.id}},[n("div",{staticClass:"kterm-header",style:{"background-color":e.background},attrs:{id:"kterm-handle-"+e.terminal.id},on:{mousedown:function(t){e.instance.focus()}}},[n("q-btn",{staticClass:"kterm-button kterm-delete-history",attrs:{icon:"mdi-delete-clock-outline",disable:0===e.terminalCommands.length,flat:"",color:"white",dense:""},on:{click:e.deleteHistory}},[n("q-tooltip",{staticClass:"kterm-tooltip",attrs:{anchor:"top middle",self:"bottom middle",offset:[0,8],delay:1e3}},[e._v(e._s(e.$t("label.terminalDeleteHistory")))])],1),n("q-btn",{staticClass:"kterm-button kterm-drag",attrs:{icon:"mdi-resize",flat:"",color:"white",dense:""},on:{click:function(t){e.selectSize=!0}}},[n("q-tooltip",{staticClass:"kterm-tooltip",attrs:{anchor:"top middle",self:"bottom middle",offset:[0,8],delay:1e3}},[e._v(e._s(e.$t("label.terminalResizeWindow")))])],1),e.terminal.active?n("q-btn",{staticClass:"kterm-button kterm-minimize",attrs:{icon:"mdi-window-minimize",flat:"",color:"white",dense:""},on:{click:e.minimize}},[n("q-tooltip",{staticClass:"kterm-tooltip",attrs:{anchor:"top middle",self:"bottom middle",offset:[0,8],delay:1e3}},[e._v(e._s(e.$t("label.terminalMinimize")))])],1):n("q-btn",{staticClass:"kterm-button kterm-minimize",attrs:{icon:"mdi-window-maximize",flat:"",color:"white",dense:""},on:{click:e.maximize}},[n("q-tooltip",{staticClass:"kterm-tooltip",attrs:{anchor:"top middle",self:"bottom middle",offset:[0,8],delay:1e3}},[e._v(e._s(e.$t("label.terminalMaxmize")))])],1),n("q-btn",{staticClass:"kterm-button kterm-close",attrs:{icon:"mdi-close-circle",flat:"",color:"white",dense:""},on:{click:e.closeTerminal}},[n("q-tooltip",{staticClass:"kterm-tooltip",attrs:{anchor:"top middle",self:"bottom middle",offset:[0,8],delay:1e3}},[e._v(e._s(e.$t("label.terminalClose")))])],1)],1),n("div",{directives:[{name:"show",rawName:"v-show",value:e.terminal.active,expression:"terminal.active"}],staticClass:"kterm-terminal",attrs:{id:"kterm-"+e.terminal.id}}),n("q-dialog",{attrs:{color:"mc-main"},on:{ok:e.onOk},scopedSlots:e._u([{key:"buttons",fn:function(t){return[n("q-btn",{attrs:{color:"mc-main",outline:"",label:e.$t("label.appCancel")},on:{click:t.cancel}}),n("q-btn",{attrs:{color:"mc-main",label:e.$t("label.appOK")},on:{click:function(n){e.sizeSelected(t.ok,!1)}}}),n("q-btn",{attrs:{color:"mc-main",outline:"",label:e.$t("label.appSetDefault")},on:{click:function(n){e.sizeSelected(t.ok,!0)}}})]}}]),model:{value:e.selectSize,callback:function(t){e.selectSize=t},expression:"selectSize"}},[n("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.$t("label.titleSelectTerminalSize")))]),n("div",{attrs:{slot:"body"},slot:"body"},[n("q-option-group",{attrs:{type:"radio",color:"mc-main",options:e.TERMINAL_SIZE_OPTIONS.map(function(e){return{label:e.label,value:e.value}})},model:{value:e.selectedSize,callback:function(t){e.selectedSize=t},expression:"selectedSize"}})],1)])],1)},N=[];P._withStripped=!0;var I,B=n("448a"),j=n.n(B),Y=(n("96cf"),n("c973")),H=n.n(Y),W=n("fcf3");n("f751");function q(e){return e&&(e.$el||e)}function F(e,t,n,i,o){void 0===o&&(o={});var r={left:n,top:i},a=e.height,s=e.width,c=i,l=i+a,u=n,d=n+s,h=o.top||0,p=o.bottom||0,f=o.left||0,m=o.right||0,g=t.top+h,v=t.bottom-p,_=t.left+f,b=t.right-m;return cv&&(r.top=v-a),u<_?r.left=_:d>b&&(r.left=b-s),r}(function(e){e[e["Start"]=1]="Start",e[e["End"]=2]="End",e[e["Move"]=3]="Move"})(I||(I={}));var X={bind:function(e,t,n,i){X.update(e,t,n,i)},update:function(e,t,n,i){if(!t.value||!t.value.stopDragging){var o=t.value&&t.value.handle&&q(t.value.handle)||e;t&&t.value&&t.value.resetInitialPos&&(p(),g()),o.getAttribute("draggable")||(e.removeEventListener("touchstart",e.listener),e.removeEventListener("mousedown",e.listener),o.addEventListener("mousedown",c),o.addEventListener("touchstart",c,{passive:!1}),o.setAttribute("draggable","true"),e.listener=c,p(),g())}function r(){if(t.value)return t.value.boundingRect||t.value.boundingElement&&t.value.boundingElement.getBoundingClientRect()}function a(){if(!f()){var t=v();t.currentDragPosition&&(e.style.position="fixed",e.style.left=t.currentDragPosition.left+"px",e.style.top=t.currentDragPosition.top+"px")}}function s(e){return e.clientX=e.touches[0].clientX,e.clientY=e.touches[0].clientY,e}function c(e){if(window.TouchEvent&&e instanceof TouchEvent){if(e.targetTouches.length1||(t.value.fingers=2),m({initialPosition:s,startDragPosition:s,currentDragPosition:s,initialPos:d(e)}),a()}function f(){return t&&t.value&&t.value.noMove}function m(e){var t=v(),n=Object.assign({},t,e);o.setAttribute("draggable-state",JSON.stringify(n))}function g(e,n){var i=v(),o={x:0,y:0};i.currentDragPosition&&i.startDragPosition&&(o.x=i.currentDragPosition.left-i.startDragPosition.left,o.y=i.currentDragPosition.top-i.startDragPosition.top);var r=i.currentDragPosition&&Object.assign({},i.currentDragPosition);n===I.End?t.value&&t.value.onDragEnd&&i&&t.value.onDragEnd(o,r,e):n===I.Start?t.value&&t.value.onDragStart&&i&&t.value.onDragStart(o,r,e):t.value&&t.value.onPositionChange&&i&&t.value.onPositionChange(o,r,e)}function v(){return JSON.parse(o.getAttribute("draggable-state"))||{}}}},U=n("741d"),V=n("abcf"),G=(n("abb2"),V["b"].height),K={name:"KlabTerminal",props:{terminal:{type:Object,required:!0},size:{type:String,validator:function(e){return-1!==c["J"].findIndex(function(t){return t.value===e})}},bgcolor:{type:String,default:""}},directives:{Draggable:X},data:function(){var e=this;return{instance:void 0,zIndex:1e3,draggableConfig:{handle:void 0,onDragEnd:function(){e.instance.focus()}},draggableElement:void 0,commandCounter:0,command:[],hasFocus:!1,selectedSize:null,selectSize:!1,commandsIndex:-1,TERMINAL_SIZE_OPTIONS:c["J"]}},computed:a()({background:function(){return""!==this.bgcolor?this.bgcolor:this.terminal.type===c["K"].DEBUGGER?"#002f74":"#2e0047"}},Object(s["c"])("data",["terminalCommands"])),methods:a()({},Object(s["b"])("data",["removeTerminal","addTerminalCommand","clearTerminalCommands"]),{minimize:function(){this.terminal.active=!1,this.changeDraggablePosition({top:window.innerHeight-55,left:25})},maximize:function(){var e=this;this.changeDraggablePosition(this.draggableConfig.initialPosition),this.terminal.active=!0,this.$nextTick(function(){e.instance.focus()})},closeTerminal:function(){this.sendStompMessage(l["a"].CONSOLE_CLOSED({consoleId:this.terminal.id,consoleType:this.terminal.type},this.$store.state.data.session).body),this.instance=null,this.removeTerminal(this.terminal.id)},changeDraggablePosition:function(e){this.draggableElement.style.left="".concat(e.left,"px"),this.draggableElement.style.top="".concat(e.top,"px");var t=JSON.parse(this.draggableConfig.handle.getAttribute("draggable-state"));t.startDragPosition=e,t.currentDragPosition=e,this.draggableConfig.handle.setAttribute("draggable-state",JSON.stringify(t))},commandResponseListener:function(e){e&&e.payload&&e.consoleId===this.terminal.id&&(this.instance.write("\b \b\b \b".concat(e.payload.replaceAll("\n","\r\n"))),this.instance.prompt())},onFocusListener:function(e){this.hasFocus=this.terminal.id===e},sizeSelected:function(){var e=H()(regeneratorRuntime.mark(function e(t,n){var i,o=this;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:i=c["J"].find(function(e){return e.value===o.selectedSize}),this.instance.resize(i.cols,i.rows),n&&U["a"].set(c["P"].COOKIE_TERMINAL_SIZE,this.selectedSize,{expires:30,path:"/",secure:!0});case 5:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}(),onOk:function(){},deleteHistory:function(){this.clearTerminalCommands()}}),created:function(){this.sendStompMessage(l["a"].CONSOLE_CREATED({consoleId:this.terminal.id,consoleType:this.terminal.type},this.$store.state.data.session).body)},mounted:function(){var e,t=this;e=this.size?this.size:U["a"].has(c["P"].COOKIE_TERMINAL_SIZE)?U["a"].get(c["P"].COOKIE_TERMINAL_SIZE):c["J"][0].value;var n=c["J"].find(function(t){return t.value===e});this.selectedSize=n.value,this.instance=new W["Terminal"]({cols:n.cols,rows:n.rows,cursorBlink:!0,bellStyle:"both",theme:{background:this.background}}),this.instance.prompt=function(){t.instance.write("\r\n$ ")},this.instance.open(document.getElementById("kterm-".concat(this.terminal.id))),this.instance.writeln("".concat(this.$t("messages.terminalHello",{type:this.terminal.type})," / ").concat(this.terminal.id)),this.instance.prompt(),this.instance.onData(function(e){var n=function(){for(var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=0;i0){var o=t.command.join("");t.sendStompMessage(l["a"].COMMAND_REQUEST({consoleId:t.terminal.id,consoleType:t.terminal.type,commandId:"".concat(t.terminal.id,"-").concat(++t.commandCounter),payload:o},t.$store.state.data.session).body),t.addTerminalCommand(o)}t.command.splice(0,t.command.length),t.commandsIndex=-1,t.instance.prompt();break;case"":i>2&&t.instance.write("\b \b"),t.command.length>0&&t.command.pop();break;case"":t.terminalCommands.length>0&&t.commandsIndex0&&t.commandsIndex>0?n(t.terminalCommands[--t.commandsIndex]):(n(),t.commandsIndex=-1);break;case"":break;case"":break;default:t.command.push(e),t.instance.write(e)}}),this.instance.textarea.addEventListener("focus",function(){t.$eventBus.$emit(c["h"].TERMINAL_FOCUSED,t.terminal.id)}),this.draggableConfig.handle=document.getElementById("kterm-handle-".concat(this.terminal.id)),this.draggableElement=document.getElementById("kterm-container-".concat(this.terminal.id)),this.draggableConfig.initialPosition={top:window.innerHeight-G(this.draggableElement)-25,left:25},this.instance.focus(),this.$eventBus.$on(c["h"].TERMINAL_FOCUSED,this.onFocusListener),this.$eventBus.$on(c["h"].COMMAND_RESPONSE,this.commandResponseListener)},beforeDestroy:function(){null!==this.instance&&this.closeTerminal(),this.$eventBus.$off(c["h"].TERMINAL_FOCUSED,this.onFocusListener),this.$eventBus.$off(c["h"].COMMAND_RESPONSE,this.commandResponseListener)}},$=K,J=(n("23a0"),Object(b["a"])($,P,N,!1,null,null,null));J.options.__file="KlabTerminal.vue";var Z=J.exports,Q=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.activeDialog?n("q-modal",{attrs:{"content-classes":"kaa-container"},model:{value:e.hasActiveDialogs,callback:function(t){e.hasActiveDialogs=t},expression:"hasActiveDialogs"}},[n("div",{staticClass:"kaa-content",domProps:{innerHTML:e._s(e.activeDialog.content)}}),n("div",{staticClass:"kaa-button"},[n("q-btn",{attrs:{color:"app-title-color",label:e.$t("label.appOK")},on:{click:function(t){e.dialogAction(e.activeDialog,!0)}}}),e.activeDialog.type===e.APPS_COMPONENTS.CONFIRM?n("q-btn",{attrs:{color:"app-title-color",label:e.$t("label.appCancel")},on:{click:function(t){e.dialogAction(e.activeDialog,!1)}}}):e._e()],1)]):e._e()},ee=[];Q._withStripped=!0;var te={name:"AppDialogViewer",data:function(){return{activeDialog:null,APPS_COMPONENTS:c["a"]}},computed:a()({},Object(s["c"])("view",["layout","activeDialogs"]),{hasActiveDialogs:{get:function(){return this.activeDialogs.length>0},set:function(){}}}),methods:{setActiveDialog:function(){var e=this;this.activeDialogs.length>0?this.activeDialog=this.activeDialogs[this.activeDialogs.length-1]:this.$nextTick(function(){e.activeDialog=null})},dialogAction:function(e,t){this.activeDialog.dismiss=!0,e.type===c["a"].CONFIRM&&this.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:a()({},e,{components:[]}),booleanValue:t})}},watch:{activeDialogs:function(){this.setActiveDialog()}},mounted:function(){this.setActiveDialog()}},ne=te,ie=(n("715d"),Object(b["a"])(ne,Q,ee,!1,null,null,null));ie.options.__file="AppDialogsViewer.vue";var oe=ie.exports,re=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-layout",{staticClass:"kapp-layout-container",class:{"kapp-main":e.isRootLayout},style:e.modalDimensions,attrs:{view:"hhh lpr fFf",id:"kapp-"+e.idSuffix}},[!e.isModal&&e.hasHeader?n("q-layout-header",{staticClass:"kapp-header-container kapp-container print-hide",class:{"kapp-main":e.isRootLayout},attrs:{id:"kapp-"+e.idSuffix+"-header"}},[e.layout.header?n("klab-app-viewer",{staticClass:"kapp-header",attrs:{component:e.layout.header,direction:"horizontal"}}):n("div",{staticClass:"kapp-header row"},[n("div",{staticClass:"kapp-logo-container"},[n("img",{ref:"kapp-logo",staticClass:"kapp-logo",attrs:{id:"kapp-"+e.idSuffix+"-logo",src:e.logoImage}})]),n("div",{staticClass:"kapp-title-container"},[e.layout.label?n("div",{staticClass:"kapp-title"},[e._v(e._s(e.layout.label)),e.layout.versionString?n("span",{staticClass:"kapp-version"},[e._v(e._s(e.layout.versionString))]):e._e()]):e._e(),e.layout.description?n("div",{staticClass:"kapp-subtitle"},[e._v(e._s(e.layout.description))]):e._e()]),e.layout.menu&&e.layout.menu.length>0?n("div",{staticClass:"kapp-header-menu-container"},e._l(e.layout.menu,function(t){return n("div",{key:t.id,staticClass:"kapp-header-menu-item klab-link",on:{click:function(n){e.clickOnMenu(t.id,t.url)}}},[e._v(e._s(t.text)),t.url?n("span",{staticClass:"klab-external-link"},[e._v("🡥")]):e._e()])})):e._e(),n("div",{staticClass:"kapp-actions-container row items-end justify-end"},[n("main-actions-buttons",{staticClass:"col items-end",attrs:{"is-header":!0}})],1)])],1):e._e(),e.showLeftPanel?n("q-layout-drawer",{staticClass:"kapp-left-container kapp-container print-hide",class:{"kapp-main":e.isRootLayout},attrs:{side:"left","content-class":"kapp-left-inner-container",width:e.leftPanelWidth},model:{value:e.showLeftPanel,callback:function(t){e.showLeftPanel=t},expression:"showLeftPanel"}},[e.leftPanel?[n("klab-app-viewer",{staticClass:"kapp-left-wrapper",attrs:{id:"kapp-"+e.idSuffix+"-left-0",component:e.layout.leftPanels[0],direction:"vertical"}})]:e._e()],2):e._e(),e.showRightPanel?n("q-layout-drawer",{staticClass:"kapp-right-container kapp-container print-hide",class:{"kapp-main":e.isRootLayout},attrs:{side:"right","content-class":"kapp-right-inner-container",width:e.rightPanelWidth},model:{value:e.showRightPanel,callback:function(t){e.showRightPanel=t},expression:"showRightPanel"}},[e.rightPanel?[n("klab-app-viewer",{staticClass:"kapp-right-wrapper",attrs:{id:"kapp-"+e.idSuffix+"-right-0",component:e.layout.rightPanels[0],direction:"vertical"}})]:e._e()],2):e._e(),n("q-page-container",[e.layout&&0!==e.layout.panels.length?[n("klab-app-viewer",{staticClass:"kapp-main-container kapp-container print-hide",attrs:{id:"kapp-"+e.idSuffix+"-main-0",mainPanelStyle:e.mainPanelStyle,component:e.layout.panels[0]}})]:n("k-explorer",{staticClass:"kapp-main-container is-kexplorer",attrs:{id:"kapp-"+e.idSuffix+"-main",mainPanelStyle:e.mainPanelStyle}})],2),n("q-resize-observable",{on:{resize:function(t){e.updateLayout()}}}),n("q-modal",{staticClass:"kapp-modal",attrs:{"no-esc-dismiss":"","no-backdrop-dismiss":"","content-classes":["absolute-center","kapp-loading"]},model:{value:e.blockApp,callback:function(t){e.blockApp=t},expression:"blockApp"}},[n("q-spinner",{attrs:{color:"app-main-color",size:"3em"}})],1)],1)},ae=[];re._withStripped=!0;n("6762"),n("2fdb"),n("4917"),n("5df3"),n("1c4c");var se=n("50fb"),ce=n.n(se),le=n("84a2"),ue=n.n(le),de=n("6dd8"),he=n("0312"),pe=n.n(he);function fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"y";if(this.isEnabled[i]||this.options.forceVisible){"x"===i?(e=this.scrollbarX,t=this.contentSizeX,n=this.trackXSize):(e=this.scrollbarY,t=this.contentSizeY,n=this.trackYSize);var o=n/t;this.handleSize[i]=Math.max(~~(o*n),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(this.handleSize[i]=Math.min(this.handleSize[i],this.options.scrollbarMaxSize)),"x"===i?e.style.width="".concat(this.handleSize[i],"px"):e.style.height="".concat(this.handleSize[i],"px")}}},{key:"positionScrollbar",value:function(){var e,t,n,i,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y";"x"===o?(e=this.scrollbarX,t=this.contentEl[this.scrollOffsetAttr[o]],n=this.contentSizeX,i=this.trackXSize):(e=this.scrollbarY,t=this.scrollContentEl[this.scrollOffsetAttr[o]],n=this.contentSizeY,i=this.trackYSize);var r=t/(n-i),a=~~((i-this.handleSize[o])*r);(this.isEnabled[o]||this.options.forceVisible)&&(e.style.transform="x"===o?"translate3d(".concat(a,"px, 0, 0)"):"translate3d(0, ".concat(a,"px, 0)"))}},{key:"toggleTrackVisibility",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y",t="y"===e?this.trackY:this.trackX,n="y"===e?this.scrollbarY:this.scrollbarX;this.isEnabled[e]||this.options.forceVisible?t.style.visibility="visible":t.style.visibility="hidden",this.options.forceVisible&&(this.isEnabled[e]?n.style.visibility="visible":n.style.visibility="hidden")}},{key:"hideNativeScrollbar",value:function(){this.scrollbarWidth=ce()(),this.scrollContentEl.style[this.isRtl?"paddingLeft":"paddingRight"]="".concat(this.scrollbarWidth||this.offsetSize,"px"),this.scrollContentEl.style.marginBottom="-".concat(2*this.scrollbarWidth||this.offsetSize,"px"),this.contentEl.style.paddingBottom="".concat(this.scrollbarWidth||this.offsetSize,"px"),0!==this.scrollbarWidth&&(this.contentEl.style[this.isRtl?"marginLeft":"marginRight"]="-".concat(this.scrollbarWidth,"px"))}},{key:"showScrollbar",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y";this.isVisible[t]||(e="x"===t?this.scrollbarX:this.scrollbarY,this.isEnabled[t]&&(e.classList.add("visible"),this.isVisible[t]=!0),this.options.autoHide&&(window.clearInterval(this.flashTimeout),this.flashTimeout=window.setInterval(this.hideScrollbars,this.options.timeout)))}},{key:"onDrag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y";e.preventDefault();var n="y"===t?this.scrollbarY:this.scrollbarX,i="y"===t?e.pageY:e.pageX;this.dragOffset[t]=i-n.getBoundingClientRect()[this.offsetAttr[t]],this.currentAxis=t,document.addEventListener("mousemove",this.drag),document.addEventListener("mouseup",this.onEndDrag)}},{key:"getScrollElement",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y";return"y"===e?this.scrollContentEl:this.contentEl}},{key:"getContentElement",value:function(){return this.contentEl}},{key:"removeListeners",value:function(){this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),this.scrollContentEl.removeEventListener("scroll",this.onScrollY),this.contentEl.removeEventListener("scroll",this.onScrollX),this.mutationObserver.disconnect(),this.resizeObserver.disconnect()}},{key:"unMount",value:function(){this.removeListeners(),this.el.SimpleBar=null}},{key:"isChildNode",value:function(e){return null!==e&&(e===this.el||this.isChildNode(e.parentNode))}},{key:"isWithinBounds",value:function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height}}],[{key:"initHtmlApi",value:function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!==typeof MutationObserver&&(this.globalObserver=new MutationObserver(function(t){t.forEach(function(t){Array.from(t.addedNodes).forEach(function(t){1===t.nodeType&&(t.hasAttribute("data-simplebar")?!t.SimpleBar&&new e(t,e.getElOptions(t)):Array.from(t.querySelectorAll("[data-simplebar]")).forEach(function(t){!t.SimpleBar&&new e(t,e.getElOptions(t))}))}),Array.from(t.removedNodes).forEach(function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?e.SimpleBar&&e.SimpleBar.unMount():Array.from(e.querySelectorAll("[data-simplebar]")).forEach(function(e){e.SimpleBar&&e.SimpleBar.unMount()}))})})}),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))}},{key:"getElOptions",value:function(e){var t=Array.from(e.attributes).reduce(function(e,t){var n=t.name.match(/data-simplebar-(.+)/);if(n){var i=n[1].replace(/\W+(.)/g,function(e,t){return t.toUpperCase()});switch(t.value){case"true":e[i]=!0;break;case"false":e[i]=!1;break;case void 0:e[i]=!0;break;default:e[i]=t.value}}return e},{});return t}},{key:"removeObserver",value:function(){this.globalObserver.disconnect()}},{key:"initDOMLoadedElements",value:function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.from(document.querySelectorAll("[data-simplebar]")).forEach(function(t){t.SimpleBar||new e(t,e.getElOptions(t))})}},{key:"defaultOptions",get:function(){return{autoHide:!0,forceVisible:!1,classNames:{content:"simplebar-content",scrollContent:"simplebar-scroll-content",scrollbar:"simplebar-scrollbar",track:"simplebar-track"},scrollbarMinSize:25,scrollbarMaxSize:0,direction:"ltr",timeout:1e3}}}]),e}();pe.a&&ve.initHtmlApi();var _e=ve,be=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-layout",{staticClass:"kexplorer-main-container print-hide",style:{width:e.mainPanelStyle.width+"px",height:e.mainPanelStyle.height+"px"},attrs:{view:"hHh lpr fFf",container:""}},[n("q-layout-drawer",{attrs:{side:"left",overlay:!1,breakpoint:0,width:e.leftMenuState===e.LEFTMENU_CONSTANTS.LEFTMENU_MAXIMIZED?e.LEFTMENU_CONSTANTS.LEFTMENU_MAXSIZE:e.LEFTMENU_CONSTANTS.LEFTMENU_MINSIZE,"content-class":["klab-left","no-scroll",e.largeMode?"klab-large-mode":""]},model:{value:e.leftMenuVisible,callback:function(t){e.leftMenuVisible=t},expression:"leftMenuVisible"}},[n("klab-left-menu")],1),n("q-page-container",[n("q-page",{staticClass:"column"},[n("div",{staticClass:"col row full-height kexplorer-container",class:{"kd-is-app":null!==e.layout}},[n("keep-alive",[n(e.mainViewer.name,{tag:"component",attrs:{"container-style":{width:e.mainPanelStyle.width-e.leftMenuWidth,height:e.mainPanelStyle.height}}})],1),n("q-resize-observable",{on:{resize:e.setChildrenToAskFor}})],1),n("div",{staticClass:"col-1 row"},[e.logVisible?n("klab-log"):e._e()],1),n("transition",{attrs:{name:"component-fade",mode:"out-in"}},[e.mainViewer.mainControl?n("klab-main-control",{directives:[{name:"show",rawName:"v-show",value:e.isTreeVisible,expression:"isTreeVisible"}]}):e._e()],1),n("transition",{attrs:{appear:"","enter-active-class":"animated zoomIn","leave-active-class":"animated zoomOut"}},[e.askForUndocking&&!e.mainViewer.mainControl?n("div",{staticClass:"kexplorer-undocking full-height full-width"}):e._e()]),e.isMainControlDocked?e._e():n("observation-time"),n("input-request-modal"),n("scale-change-dialog")],1)],1)],1)},ye=[];be._withStripped=!0;var Me=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:!e.isDrawMode,expression:"!isDrawMode"}],ref:"main-control-container",staticClass:"mc-container print-hide small"},[n("transition",{attrs:{appear:"","enter-active-class":"animated fadeInLeft","leave-active-class":"animated fadeOutLeft"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isHidden,expression:"isHidden"}],staticClass:"spinner-lonely-div klab-spinner-div",style:{left:e.defaultLeft+"px",top:e.defaultTop+"px","border-color":e.hasTasks()?e.spinnerColor.color:"rgba(0,0,0,0)"}},[n("klab-spinner",{staticClass:"spinner-lonely",attrs:{"store-controlled":!0,size:40,ball:22,wrapperId:"spinner-lonely-div"},nativeOn:{dblclick:function(t){return e.show(t)},touchstart:function(t){e.handleTouch(t,null,e.show)}}})],1)]),n("transition",{attrs:{appear:"","enter-active-class":"animated fadeInLeft","leave-active-class":"animated fadeOutLeft"}},[n("q-card",{directives:[{name:"draggable",rawName:"v-draggable",value:e.dragMCConfig,expression:"dragMCConfig"},{name:"show",rawName:"v-show",value:!e.isHidden,expression:"!isHidden"}],staticClass:"mc-q-card no-box-shadow absolute lot-of-flow",class:[e.hasContext?"with-context":"bg-transparent without-context","mc-large-mode-"+e.largeMode],style:e.qCardStyle,attrs:{draggable:"false",flat:!0},nativeOn:{contextmenu:function(e){e.preventDefault()}}},[n("q-card-title",{ref:"mc-draggable",staticClass:"mc-q-card-title q-pa-xs",class:[e.fuzzyMode?"klab-fuzzy":"",e.searchIsFocused?"klab-search-focused":""],style:{"background-color":e.getBGColor(e.hasContext?"1.0":e.searchIsFocused?".8":".2")},attrs:{ondragstart:"return false;"},nativeOn:{mousedown:function(t){e.moved=!1},mousemove:function(t){e.moved=!0},mouseup:function(t){return e.focusSearch(t)}}},[n("klab-search-bar",{ref:"klab-search-bar"}),n("klab-breadcrumbs",{attrs:{slot:"subtitle"},slot:"subtitle"})],1),n("q-card-actions",{directives:[{name:"show",rawName:"v-show",value:e.hasContext&&!e.isHidden&&!e.hasHeader&&null===e.layout,expression:"hasContext && !isHidden && !hasHeader && layout === null"}],staticClass:"context-actions no-margin"},[n("div",{staticClass:"mc-tabs"},[n("div",{staticClass:"klab-button mc-tab",class:["tab-button",{active:"klab-log-pane"===e.selectedTab}],on:{click:function(t){e.selectedTab="klab-log-pane"}}},[n("q-icon",{attrs:{name:"mdi-console"}},[n("q-tooltip",{attrs:{offset:[0,8],self:"top middle",anchor:"bottom middle"}},[e._v(e._s(e.$t("tooltips.showLogPane")))])],1)],1),n("div",{staticClass:"klab-button mc-tab",class:["tab-button",{active:"klab-tree-pane"===e.selectedTab}],on:{click:function(t){e.selectedTab="klab-tree-pane"}}},[n("q-icon",{attrs:{name:"mdi-folder-image"}},[n("q-tooltip",{attrs:{offset:[0,8],self:"top middle",anchor:"bottom middle"}},[e._v(e._s(e.$t("tooltips.treePane")))])],1)],1)]),n("main-actions-buttons",{attrs:{orientation:"horizontal","separator-class":"mc-separator"}}),n("scale-buttons",{attrs:{docked:!1}}),n("div",{staticClass:"mc-separator",staticStyle:{right:"35px"}}),n("stop-actions-buttons")],1),n("q-card-main",{directives:[{name:"show",rawName:"v-show",value:e.hasContext&&!e.isHidden,expression:"hasContext && !isHidden"}],staticClass:"no-margin relative-position",attrs:{draggable:"false"}},[n("keep-alive",[n("transition",{attrs:{name:"component-fade",mode:"out-in"}},[n(e.selectedTab,{tag:"component"})],1)],1)],1),n("q-card-actions",{directives:[{name:"show",rawName:"v-show",value:e.hasContext&&!e.isHidden,expression:"hasContext && !isHidden"}],staticClass:"kmc-bottom-actions"},[n("div",{staticClass:"klab-button klab-action"},[n("q-icon",{attrs:{name:"mdi-terrain"}}),n("q-tooltip",{attrs:{offset:[0,8],self:"top middle",anchor:"bottom middle"}},[e._v(e._s(e.$t("tooltips.scenarios")))])],1),n("div",{staticClass:"klab-button klab-action"},[n("q-icon",{attrs:{name:"mdi-human-male-female"}}),n("q-tooltip",{attrs:{offset:[0,8],self:"top middle",anchor:"bottom middle"}},[e._v(e._s(e.$t("tooltips.observers")))])],1),e.contextHasTime?n("observations-timeline",{staticClass:"mc-timeline"}):e._e()],1)],1)],1),n("transition",{attrs:{appear:"","enter-active-class":"animated zoomIn","leave-active-class":"animated zoomOut"}},[e.askForDocking?n("div",{staticClass:"mc-docking full-height",style:{width:e.leftMenuMaximized}}):e._e()])],1)},we=[];Me._withStripped=!0;var Le=n("1fe0"),Se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"klab-actions",class:e.orientation},[n("div",{staticClass:"klab-main-actions"},["horizontal"!==e.orientation||e.isHeader?n("div",{staticClass:"klab-button klab-action",class:[{active:e.mainViewerName===e.VIEWERS.DATA_VIEWER.name}],on:{click:function(t){e.mainViewerName!==e.VIEWERS.DATA_VIEWER.name&&e.click(e.isMainControlDocked?e.VIEWERS.DOCKED_DATA_VIEWER:e.VIEWERS.DATA_VIEWER)}}},[n("q-icon",{attrs:{name:"mdi-folder-image"}},[n("q-tooltip",{attrs:{delay:600,offset:[0,8],self:e.tooltipAnchor("top"),anchor:e.tooltipAnchor("bottom")}},[e._v(e._s(e.$t("tooltips.dataViewer")))])],1)],1):e._e(),n("div",{staticClass:"klab-button klab-action",class:[{active:e.mainViewerName===e.VIEWERS.DOCUMENTATION_VIEWER.name,disabled:e.mainViewerName!==e.VIEWERS.DOCUMENTATION_VIEWER.name&&(!e.hasContext||!e.hasObservations)}],on:{click:function(t){e.mainViewerName!==e.VIEWERS.DOCUMENTATION_VIEWER.name&&e.hasContext&&e.hasObservations&&e.click(e.VIEWERS.DOCUMENTATION_VIEWER)}}},[n("q-icon",{attrs:{name:"mdi-text-box-multiple-outline"}},[e.reloadViews.length>0?n("span",{staticClass:"klab-button-notification"}):e._e(),n("q-tooltip",{attrs:{delay:600,offset:[0,8],self:e.tooltipAnchor("top"),anchor:e.tooltipAnchor("bottom")}},[e._v(e._s(e.hasObservations?e.$t("tooltips.documentationViewer"):e.$t("tooltips.noDocumentation")))])],1)],1),n("div",{staticClass:"klab-button klab-action",class:[{active:e.mainViewerName===e.VIEWERS.DATAFLOW_VIEWER.name,disabled:e.mainViewerName!==e.VIEWERS.DATAFLOW_VIEWER.name&&!e.hasContext}],on:{click:function(t){e.mainViewerName!==e.VIEWERS.DATAFLOW_VIEWER.name&&e.hasContext&&e.click(e.VIEWERS.DATAFLOW_VIEWER)}}},[n("q-icon",{attrs:{name:"mdi-sitemap"}},[e.mainViewerName!==e.VIEWERS.DATAFLOW_VIEWER.name&&e.hasContext&&e.flowchartsUpdatable?n("span",{staticClass:"klab-button-notification"}):e._e(),n("q-tooltip",{attrs:{delay:600,offset:[0,8],self:e.tooltipAnchor("top"),anchor:e.tooltipAnchor("bottom")}},[e._v(e._s(e.flowchartsUpdatable?e.$t("tooltips.dataflowViewer"):e.$t("tooltips.noDataflow")))])],1)],1)])])},Ce=[];Se._withStripped=!0;var Ee={name:"MainActionsButtons",props:{orientation:{type:String,default:"horizontal"},separatorClass:{type:String,default:""},isHeader:{type:Boolean,default:!1}},data:function(){return{}},computed:a()({},Object(s["c"])("data",["hasObservations","flowchartsUpdatable","hasContext"]),Object(s["c"])("view",["spinnerColor","mainViewerName","statusTextsString","statusTextsLength","isMainControlDocked","reloadViews"])),methods:a()({},Object(s["b"])("view",["setMainViewer"]),{tooltipAnchor:function(e){return"".concat(e," ").concat("horizontal"===this.orientation?"middle":"left")},click:function(e){var t=this;this.setMainViewer(e),this.$nextTick(function(){t.$eventBus.$emit(c["h"].MAP_SIZE_CHANGED,{type:"changelayout"})})}}),created:function(){this.VIEWERS=c["M"]}},Ae=Ee,Te=(n("6208"),Object(b["a"])(Ae,Se,Ce,!1,null,null,null));Te.options.__file="MainActionsButtons.vue";var Oe=Te.exports,ke=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"klab-destructive-actions"},[e.hasContext&&!e.hasTasks(e.contextId)?n("div",{staticClass:"klab-button klab-reset-context",on:{click:e.resetContext}},[n("q-icon",{attrs:{name:"mdi-close-circle-outline"}},[n("q-tooltip",{attrs:{delay:600,offset:[0,8],self:e.tooltipAnchor("top"),anchor:e.tooltipAnchor("bottom")}},[e._v(e._s(e.$t("tooltips.resetContext")))])],1)],1):e._e(),e.hasContext&&e.hasTasks(e.contextId)?n("div",{staticClass:"klab-button klab-interrupt-task",on:{click:e.interruptTask}},[n("q-icon",{attrs:{name:"mdi-stop-circle-outline"}},[n("q-tooltip",{attrs:{delay:600,offset:[0,8],self:e.tooltipAnchor("top"),anchor:e.tooltipAnchor("bottom")}},[e._v(e._s(e.$t("tooltips.interruptTask",{taskDescription:e.lastActiveTaskText})))])],1)],1):e._e()])},xe=[];ke._withStripped=!0;var De={computed:a()({},Object(s["c"])("data",["hasContext","contextId","session"])),methods:a()({},Object(s["b"])("data",["loadContext","setWaitinForReset"]),Object(s["b"])("view",["setSpinner"]),{loadOrReloadContext:function(e,t){null!==e&&this.setSpinner(a()({},c["H"].SPINNER_LOADING,{owner:e})),this.hasContext?(this.sendStompMessage(l["a"].RESET_CONTEXT(this.$store.state.data.session).body),null!==e?this.setWaitinForReset(e):"function"===typeof t&&this.callbackIfNothing()):this.loadContext(e)}})},Re={name:"StopActionsButtons",mixins:[De],data:function(){return{}},computed:a()({},Object(s["c"])("data",["hasContext","contextId","previousContext"]),Object(s["c"])("stomp",["hasTasks","lastActiveTask"]),{lastActiveTaskText:function(){var e=null===this.lastActiveTask(this.contextId)?"":this.lastActiveTask(this.contextId).description;return e.includes(c["p"].UNKNOWN_SEARCH_OBSERVATION)?e.replace(c["p"].UNKNOWN_SEARCH_OBSERVATION,this.$t("messages.unknownSearchObservation")):e}}),methods:{tooltipAnchor:function(e){return"".concat(e," ").concat("horizontal"===this.orientation?"middle":"left")},resetContext:function(){this.sendStompMessage(l["a"].RESET_CONTEXT(this.$store.state.data.session).body)},interruptTask:function(){var e=this.lastActiveTask(this.contextId);null!==e&&e.alive&&this.sendStompMessage(l["a"].TASK_INTERRUPTED({taskId:e.id},this.$store.state.data.session).body)}}},ze=Re,Pe=(n("c31b"),Object(b["a"])(ze,ke,xe,!1,null,null,null));Pe.options.__file="StopActionsButtons.vue";var Ne=Pe.exports,Ie=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:[e.hasContext?"with-context":"without-context",e.isDocked?"ksb-docked":""],style:{width:e.isDocked&&e.searchIsFocused&&e.largeMode?e.getLargeModeWidth():"100%"},attrs:{id:"ksb-container"}},[e.isDocked?e._e():n("div",{staticClass:"klab-spinner-div",attrs:{id:"ksb-spinner"}},[n("klab-spinner",{style:{"box-shadow":e.searchIsFocused?"0px 0px 3px "+e.getBGColor(".4"):"none"},attrs:{"store-controlled":!0,color:e.spinnerColor.hex,size:40,ball:22,wrapperId:"ksb-spinner",id:"spinner-searchbar"},nativeOn:{dblclick:function(t){return e.emitSpinnerDoubleclick(t)},touchstart:function(t){t.stopPropagation(),e.handleTouch(t,e.showSuggestions,e.emitSpinnerDoubleclick)}}})],1),n("div",{class:[e.fuzzyMode?"klab-fuzzy":"",e.searchIsFocused?"klab-search-focused":""],style:{"background-color":e.isDocked?e.getBGColor(e.hasContext?"1.0":e.searchIsFocused?".8":e.isDocked?"1.0":".2"):"rgba(0,0,0,0)"},attrs:{id:"ksb-search-container"}},[e.searchIsActive?n("klab-search",{ref:"klab-search",staticClass:"klab-search",on:{"busy-search":e.busySearch}}):n("div",{staticClass:"ksb-context-text text-white"},[n("scrolling-text",{ref:"st-context-text",attrs:{"with-edge":!0,"hover-active":!0,"initial-text":null===e.mainContextLabel?e.$t("label.noContextPlaceholder"):e.mainContextLabel,"placeholder-style":!e.hasContext}})],1),n("div",{ref:"ksb-status-texts",staticClass:"ksb-status-texts"},[n("scrolling-text",{ref:"st-status-text",attrs:{"with-edge":!0,edgeOpacity:e.hasContext?1:e.searchIsFocused?.8:.2,hoverActive:!1,initialText:e.statusTextsString,accentuate:!0}})],1),e.isScaleLocked["space"]&&!e.hasContext?n("q-icon",{attrs:{name:"mdi-lock-outline"}},[n("q-tooltip",{attrs:{anchor:"bottom middle",self:"top middle",offset:[10,5],delay:500}},[e._v(e._s(e.$t("label.scaleLocked",{type:e.$t("label.spaceScale")})))])],1):e._e(),n("main-control-menu")],1)])},Be=[];Ie._withStripped=!0;var je=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"ks-container",attrs:{id:"ks-container"}},[n("div",{staticStyle:{position:"relative"},attrs:{id:"ks-internal-container"}},[e._l(e.acceptedTokens,function(t,i){return n("div",{key:t.index,ref:"token-"+t.index,refInFor:!0,class:["ks-tokens-accepted","ks-tokens","bg-semantic-elements",t.selected?"selected":"","text-"+t.leftColor],style:{"border-color":t.selected?t.rgb:"transparent"},attrs:{tabindex:i},on:{focus:function(n){e.onTokenFocus(t,n)},blur:function(n){e.onTokenFocus(t,n)},keydown:e.onKeyPressedOnToken,touchstart:function(t){e.handleTouch(t,null,e.deleteLastToken)}}},[e._v(e._s(t.value)+"\n "),n("q-tooltip",{attrs:{delay:500,offset:[0,15],self:"top left",anchor:"bottom left"}},[t.sublabel.length>0?n("span",[e._v(e._s(t.sublabel))]):n("span",[e._v(e._s(e.$t("label.noTokenDescription")))])])],1)}),n("div",{staticClass:"ks-tokens",class:[e.fuzzyMode?"ks-tokens-fuzzy":"ks-tokens-klab"]},[n("q-input",{ref:"ks-search-input",class:[e.fuzzyMode?"ks-fuzzy":"",e.searchIsFocused?"ks-search-focused":""],attrs:{autofocus:!0,placeholder:e.fuzzyMode?e.$t("label.fuzzySearchPlaceholder"):e.$t("label.searchPlaceholder"),size:"20",id:"ks-search-input",tabindex:e.acceptedTokens.length,"hide-underline":!0},on:{focus:function(t){e.onInputFocus(!0)},blur:function(t){e.onInputFocus(!1)},keydown:e.onKeyPressedOnSearchInput,keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,"Escape"))return null;e.searchEnd({})}},nativeOn:{contextmenu:function(e){e.preventDefault()},touchstart:function(t){e.handleTouch(t,null,e.searchInKLab)}},model:{value:e.actualToken,callback:function(t){e.actualToken=t},expression:"actualToken"}},[n("klab-autocomplete",{ref:"ks-autocomplete",class:[e.notChrome()?"not-chrome":""],attrs:{debounce:400,"min-characters":e.minimumCharForAutocomplete,"max-results":50,id:"ks-autocomplete"},on:{search:e.autocompleteSearch,selected:e.selected,show:e.onAutocompleteShow,hide:e.onAutocompleteHide}})],1)],1)],2)])},Ye=[];je._withStripped=!0;n("386d");var He=n("278c"),We=n.n(He),qe=n("2b0e"),Fe=n("b0b2"),Xe=n("b12a"),Ue=n("7ea0"),Ve=n("b5b8"),Ge=n("1180"),Ke=n("68c2"),$e=n("506f"),Je=n("b8d9"),Ze=n("52b5"),Qe=n("03d8"),et={name:"QItemSide",props:{right:Boolean,icon:String,letter:{type:String,validator:function(e){return 1===e.length}},inverted:Boolean,avatar:String,image:String,stamp:String,color:String,textColor:String,tooltip:{type:Object,default:null}},computed:{type:function(){var e=this;return["icon","image","avatar","letter","stamp"].find(function(t){return e[t]})},classes:function(){var e=["q-item-side-".concat(this.right?"right":"left")];return!this.color||this.icon||this.letter||e.push("text-".concat(this.color)),e},typeClasses:function(){var e=["q-item-".concat(this.type)];return this.color&&(this.inverted&&(this.icon||this.letter)?e.push("bg-".concat(this.color)):this.textColor||e.push("text-".concat(this.color))),this.textColor&&e.push("text-".concat(this.textColor)),this.inverted&&(this.icon||this.letter)&&(e.push("q-item-inverted"),e.push("flex"),e.push("flex-center")),e},imagePath:function(){return this.image||this.avatar}},render:function(e){var t;return this.type&&(this.icon?(t=e(Ze["a"],{class:this.inverted?null:this.typeClasses,props:{name:this.icon,tooltip:this.tooltip}}),this.inverted&&(t=e("div",{class:this.typeClasses},[t]))):t=this.imagePath?e("img",{class:this.typeClasses,attrs:{src:this.imagePath}}):e("div",{class:this.typeClasses},[this.stamp||this.letter])),e("div",{staticClass:"q-item-side q-item-section",class:this.classes},[null!==this.tooltip?e(Qe["a"],{ref:"tooltip",class:"kl-model-desc-container",props:{offset:[25,0],anchor:"top right",self:"top left"}},[e("div",{class:["kl-model-desc","kl-model-desc-title"]},this.tooltip.title),e("div",{class:["kl-model-desc","kl-model-desc-state","bg-state-".concat(this.tooltip.state)]},this.tooltip.state),e("div",{class:["kl-model-desc","kl-model-desc-content"]},this.tooltip.content)]):null,t,this.$slots.default])}};function tt(e,t,n,i,o,r){var a={props:{right:r.right}};if(i&&o)e.push(t(n,a,i));else{var s=!1;for(var c in r)if(r.hasOwnProperty(c)&&(s=r[c],void 0!==s&&!0!==s)){e.push(t(n,{props:r}));break}i&&e.push(t(n,a,i))}}var nt={name:"QItemWrapper",props:{cfg:{type:Object,default:function(){return{}}},slotReplace:Boolean},render:function(e){var t=this.cfg,n=this.slotReplace,i=[];return tt(i,e,et,this.$slots.left,n,{icon:t.icon,color:t.leftColor,avatar:t.avatar,letter:t.letter,image:t.image,inverted:t.leftInverted,textColor:t.leftTextColor,tooltip:t.leftTooltip}),tt(i,e,Je["a"],this.$slots.main,n,{label:t.label,sublabel:t.sublabel,labelLines:t.labelLines,sublabelLines:t.sublabelLines,inset:t.inset}),tt(i,e,et,this.$slots.right,n,{right:!0,icon:t.rightIcon,color:t.rightColor,avatar:t.rightAvatar,letter:t.rightLetter,image:t.rightImage,stamp:t.stamp,inverted:t.rightInverted,textColor:t.rightTextColor,tooltip:t.rightTooltip}),i.push(this.$slots.default),e($e["a"],{attrs:this.$attrs,on:this.$listeners,props:t},i)}},it=V["b"].width,ot={name:"KlabQAutocomplete",extends:Ue["a"],methods:{trigger:function(e){var t=this;if(this.__input&&this.__input.isEditable()&&this.__input.hasFocus()&&this.isWorking()){var n=[null,void 0].includes(this.__input.val)?"":String(this.__input.val),i=n.length,o=Object(Ke["a"])(),r=this.$refs.popover;if(this.searchId=o,i0)return this.searchId="",this.__clearSearch(),void this.hide();if(this.width=it(this.inputEl)+"px",this.staticData)return this.searchId="",this.results=this.filter(n,this.staticData),this.results.length?void this.__showResults():void r.hide();this.$emit("search",n,function(e){if(t.isWorking()&&t.searchId===o){if(t.__clearSearch(),Array.isArray(e)&&e.length>0)return t.results=e,void t.__showResults();t.hide()}})}}},render:function(e){var t=this,n=this.__input.isDark();return e(Ve["a"],{ref:"popover",class:n?"bg-dark":null,props:{fit:!0,keepOnScreen:!0,anchorClick:!1,maxHeight:this.maxHeight,noFocus:!0,noRefocus:!0},on:{show:function(){t.__input.selectionOpen=!0,t.$emit("show")},hide:function(){t.__input.selectionOpen=!1,t.$emit("hide")}},nativeOn:{mousedown:function(e){e.preventDefault()}}},[e(Ge["a"],{props:{dark:n,noBorder:!0,separator:this.separator},style:this.computedWidth},this.computedResults.map(function(n,i){return e(nt,{key:n.id||i,class:{"q-select-highlight":t.keyboardIndex===i,"cursor-pointer":!n.disable,"text-faded":n.disable,"ka-separator":n.separator},props:{cfg:n},nativeOn:{mousedown:function(e){!n.disable&&(t.keyboardIndex=i),e.preventDefault()},click:function(){!n.disable&&t.setValue(n)}}})}))])}},rt={data:function(){return{doubleTouchTimeout:null}},methods:{handleTouch:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:300;window.TouchEvent&&e instanceof TouchEvent&&(1===e.targetTouches.length?null===this.doubleTouchTimeout?this.doubleTouchTimeout=setTimeout(function(){t.doubleTouchTimeout=null,null!==n&&n(e)},r):(clearTimeout(this.doubleTouchTimeout),this.doubleTouchTimeout=null,null!==i&&i()):null!==o&&o(e))}}},at="=(<)>",st={name:"KlabSearch",components:{KlabAutocomplete:ot},mixins:[rt],props:{maxResults:{type:Number,default:-1}},data:function(){return{searchContextId:null,searchRequestId:0,doneFunc:null,result:null,acceptedTokens:[],actualToken:"",actualSearchString:"",noSearch:!1,searchDiv:null,searchDivInitialSize:void 0,searchDivInternal:void 0,searchInput:null,autocompleteEl:null,scrolled:0,suggestionShowed:!1,searchTimeout:null,searchHistoryIndex:-1,autocompleteSB:null,freeText:!1,parenthesisDepth:0,last:!1,minimumCharForAutocomplete:2}},computed:a()({},Object(s["c"])("data",["searchResult","contextId","isCrossingIDL"]),Object(s["c"])("view",["spinner","searchIsFocused","searchLostChar","searchInApp","searchHistory","fuzzyMode","largeMode","isDocked","engineEventsCount"]),{inputSearchColor:{get:function(){return this.searchInput?this.searchInput.$refs.input.style.color:"black"},set:function(e){this.searchInput.$refs.input&&(this.searchInput.$refs.input.style.color=e)}}}),methods:a()({},Object(s["b"])("data",["setContextCustomLabel"]),Object(s["b"])("view",["searchStop","setSpinner","searchFocus","resetSearchLostChar","storePreviousSearch","setFuzzyMode","setLargeMode"]),{notChrome:function(){return-1===navigator.userAgent.indexOf("Chrome")},onTokenFocus:function(e,t){e.selected="focus"===t.type},onInputFocus:function(e){this.searchFocus({focused:e}),this.actualToken=this.actualSearchString},onAutocompleteShow:function(){this.suggestionShowed=!0},onAutocompleteHide:function(){this.suggestionShowed=!1,this.actualToken!==this.actualSearchString&&(this.noSearch=!0,this.resetSearchInput())},onKeyPressedOnToken:function(e){var t=this;if(37===e.keyCode||39===e.keyCode){e.preventDefault();var n=this.acceptedTokens.findIndex(function(e){return e.selected}),i=null,o=!1;if(37===e.keyCode&&n>0?i="token-".concat(this.acceptedTokens[n-1].index):39===e.keyCode&&n=a&&(n=a)}else{var s=o?r.$el:r,c=(o?s.offsetLeft:r.offsetLeft)+i+s.offsetWidth,l=t.searchDiv.offsetWidth+t.searchDiv.scrollLeft;l<=c&&(n=t.searchDiv.scrollLeft+(c-l)-i)}null!==n&&qe["a"].nextTick(function(){t.searchDiv.scrollLeft=n})})}}},onKeyPressedOnSearchInput:function(e){var t=this;if(this.noSearch=!1,this.last)return e.preventDefault(),void this.$q.notify({message:this.$t("messages.lastTermAlertText"),type:"warning",icon:"mdi-alert",timeout:2e3});switch(e.keyCode){case 8:if(""===this.actualToken&&0!==this.acceptedTokens.length){var n=this.acceptedTokens.pop();this.searchHistoryIndex=-1,e.preventDefault(),this.sendStompMessage(l["a"].SEARCH_MATCH({contextId:this.searchContextId,matchIndex:n.matchIndex,matchId:n.id,added:!1},this.$store.state.data.session).body),this.freeText=this.acceptedTokens.length>0&&this.acceptedTokens[this.acceptedTokens.length-1].nextTokenClass!==c["v"].NEXT_TOKENS.TOKEN,this.$nextTick(function(){t.checkLargeMode(!1)})}else""!==this.actualSearchString?(e.preventDefault(),this.actualSearchString=this.actualSearchString.slice(0,-1),""===this.actualSearchString&&this.setFuzzyMode(!1)):""===this.actualSearchString&&""!==this.actualToken&&(this.actualToken="",e.preventDefault());break;case 9:this.suggestionShowed&&-1!==this.autocompleteEl.keyboardIndex?(this.autocompleteEl.setValue(this.autocompleteEl.results[this.autocompleteEl.keyboardIndex]),this.searchHistoryIndex=-1):this.freeText&&this.acceptText(),e.preventDefault();break;case 13:this.freeText||this.fuzzyMode?this.acceptText():this.searchInKLab(e);break;case 27:this.suggestionShowed?this.autocompleteEl.hide():this.searchEnd({noStore:!0}),e.preventDefault();break;case 32:if(e.preventDefault(),this.fuzzyMode)this.searchHistoryIndex=-1,this.actualSearchString+=e.key;else if(this.freeText)this.acceptFreeText();else if(this.suggestionShowed){var i=-1===this.autocompleteEl.keyboardIndex?0:this.autocompleteEl.keyboardIndex,o=this.autocompleteEl.results[i];o.separator||(this.autocompleteEl.setValue(o),this.searchHistoryIndex=-1)}else this.askForSuggestion()||this.$q.notify({message:this.$t("messages.noSpaceAllowedInSearch"),type:"warning",icon:"mdi-alert",timeout:1500});break;case 37:if(!this.suggestionShowed&&0===this.searchInput.$refs.input.selectionStart&&this.acceptedTokens.length>0){var r=this.acceptedTokens[this.acceptedTokens.length-1];qe["a"].nextTick(function(){t.$refs["token-".concat(r.index)][0].focus()}),e.preventDefault()}break;case 38:this.suggestionShowed||this.searchHistoryEvent(1,e);break;case 40:this.suggestionShowed||this.searchHistoryEvent(-1,e);break;default:this.isAcceptedKey(e.key)?")"===e.key&&0===this.parenthesisDepth?e.preventDefault():(e.preventDefault(),0===this.acceptedTokens.length&&0===this.searchInput.$refs.input.selectionStart&&Object(Fe["h"])(e.key)&&this.setFuzzyMode(!0),this.searchHistoryIndex=-1,this.actualSearchString+=e.key,-1!==at.indexOf(e.key)&&this.askForSuggestion(e.key.trim())):39!==e.keyCode&&e.preventDefault();break}},acceptText:function(){var e=this,t=this.actualToken.trim();""===t?this.$q.notify({message:this.$t("messages.emptyFreeTextSearch"),type:"warning",icon:"mdi-alert",timeout:1e3}):this.search(this.actualToken,function(t){t&&t.length>0?e.selected(t[0],!1):e.$q.notify({message:e.$t("messages.noSearchResults"),type:"info",icon:"mdi-information",timeout:1e3})})},selected:function(e,t){var n=this;if(t)this.inputSearchColor=e.rgb;else{if(this.acceptedTokens.push(e),this.actualSearchString="",this.sendStompMessage(l["a"].SEARCH_MATCH({contextId:this.searchContextId,matchIndex:e.matchIndex,matchId:e.id,added:!0},this.$store.state.data.session).body),this.fuzzyMode)return void this.$nextTick(function(){n.searchEnd({})});this.freeText=e.nextTokenClass!==c["v"].NEXT_TOKENS.TOKEN,this.$nextTick(function(){n.checkLargeMode(!0)})}},checkLargeMode:function(){var e=this;this.$nextTick(function(){var t;if(e.isDocked)t=e.searchDivInitialSize-e.searchDivInternal.clientWidth,t<0&&0===e.largeMode?e.setLargeMode(1):t>=0&&e.largeMode>0&&e.setLargeMode(0);else if(t=e.searchDiv.clientWidth-e.searchDivInternal.clientWidth,t>=0){var n=Math.floor(t/c["g"].SEARCHBAR_INCREMENT);n>0&&e.largeMode>0&&(n>e.largeMode?e.setLargeMode(0):e.setLargeMode(e.largeMode-n))}else{var i=Math.ceil(Math.abs(t)/c["g"].SEARCHBAR_INCREMENT);e.setLargeMode(e.largeMode+i)}})},autocompleteSearch:function(e,t){this.freeText?t([]):this.search(e,t)},search:function(e,t){var n=this;if(this.noSearch)return this.noSearch=!1,void t([]);this.searchRequestId+=1,this.sendStompMessage(l["a"].SEARCH_REQUEST({requestId:this.searchRequestId,contextId:this.searchContextId,maxResults:this.maxResults,cancelSearch:!1,defaultResults:""===e,searchMode:this.fuzzyMode?c["E"].FREETEXT:c["E"].SEMANTIC,queryString:this.actualSearchString},this.$store.state.data.session).body),this.setSpinner(a()({},c["H"].SPINNER_LOADING,{owner:this.$options.name})),this.doneFunc=t,this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){n.setSpinner(a()({},c["H"].SPINNER_ERROR,{owner:n.$options.name,errorMessage:n.$t("errors.searchTimeout"),time:n.fuzzyMode?5:2,then:a()({},c["H"].SPINNER_STOPPED)})),n.doneFunc([])},"4000")},searchInKLab:function(){if(!this.suggestionShowed&&!this.fuzzyMode)if(this.parenthesisDepth>0)this.$q.notify({message:this.$t("messages.parenthesisAlertText"),type:"warning",icon:"mdi-alert",timeout:2e3});else if(this.isCrossingIDL)this.$q.dialog({title:this.$t("label.IDLAlertTitle"),message:this.$t("messages.IDLAlertText"),color:"mc-red"}).catch(function(){});else{if(this.acceptedTokens.length>0){if(this.engineEventsCount>0)return this.$emit("busy-search"),void this.$q.notify({message:this.$t("messages.resourcesValidating"),type:"warning",icon:"mdi-alert",timeout:2e3});var e=this.acceptedTokens.map(function(e){return e.id}).join(" ");this.sendStompMessage(l["a"].OBSERVATION_REQUEST({urn:e,contextId:this.contextId,searchContextId:null},this.$store.state.data.session).body);var t=this.acceptedTokens.map(function(e){return e.label}).join(" ");this.setContextCustomLabel(this.$t("messages.waitingObservationInit",{observation:t})),this.$q.notify({message:this.$t("label.askForObservation",{urn:t}),type:"info",icon:"mdi-information",timeout:2e3})}else console.info("Nothing to search for");this.searchEnd({})}},searchEnd:function(e){var t=e.noStore,n=void 0!==t&&t,i=e.noDelete,o=void 0!==i&&i;if(!this.suggestionShowed){if(this.acceptedTokens.length>0){if(o)return;n||this.storePreviousSearch({acceptedTokens:this.acceptedTokens.slice(0),searchContextId:this.searchContextId,searchRequestId:this.searchRequestId})}this.searchContextId=null,this.searchRequestId=0,this.doneFunc=null,this.result=null,this.acceptedTokens=[],this.searchHistoryIndex=-1,this.actualSearchString="",this.scrolled=0,this.noSearch=!1,this.freeText=!1,this.setFuzzyMode(!1),this.setLargeMode(0),this.parenthesisDepth=0,this.last=!1,this.searchStop()}},resetSearchInput:function(){var e=this;this.$nextTick(function(){e.actualToken=e.actualSearchString,e.inputSearchColor="black"})},searchHistoryEvent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(""===this.actualToken&&this.searchHistory.length>0&&(0===this.acceptedTokens.length||this.searchHistoryIndex>=0)&&this.searchHistory.length>0&&(e>0||this.searchHistoryIndex>0)&&this.searchHistoryIndex+e0&&void 0!==arguments[0]?arguments[0]:"";return(""!==t||0===this.acceptedTokens.length)&&0===this.searchInput.$refs.input.selectionStart&&(this.search(t,function(n){e.autocompleteEl.__clearSearch(),Array.isArray(n)&&n.length>0?(e.autocompleteEl.results=n,qe["a"].nextTick(function(){e.autocompleteEl.__showResults(),""!==t&&(e.autocompleteEl.keyboardIndex=0)})):e.autocompleteEl.hide()}),!0)},deleteLastToken:function(){if(0!==this.acceptedTokens.length){var e=this.acceptedTokens.pop();this.searchHistoryIndex=-1,this.sendStompMessage(l["a"].SEARCH_MATCH({contextId:this.searchContextId,matchIndex:e.matchIndex,matchId:e.id,added:!1},this.$store.state.data.session).body)}},charReceived:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];"ArrowUp"===e?this.searchHistoryEvent(1):"ArrowDown"===e?this.searchHistoryEvent(-1):" "===e?this.askForSuggestion():(Object(Fe["h"])(e)&&this.setFuzzyMode(!0),this.actualSearchString=t?this.actualSearchString+e:e,-1!==at.indexOf(e)&&this.askForSuggestion(e))}}),watch:{actualSearchString:function(){this.resetSearchInput()},searchResult:function(e){var t=this;if(!this.searchInApp){this.searchTimeout&&(clearTimeout(this.searchTimeout),this.searchTimeout=null);var n=e.requestId,i=e.contextId;if(null===this.searchContextId)this.searchContextId=i;else if(i!==this.searchContextId)return void console.warn("Something strange was happened: differents search context ids:\n\n actual: ".concat(this.searchContextId," / received: ").concat(i));if(this.searchRequestId===n){var o;null!==this.result&&this.result.requestId===n&&(o=e.matches).push.apply(o,j()(this.result.matches)),this.result=e;var r=this.result,s=r.matches,l=r.error,u=r.errorMessage,d=r.parenthesisDepth,h=r.last;if(this.parenthesisDepth=d,this.last=h,l)this.setSpinner(a()({},c["H"].SPINNER_ERROR,{owner:this.$options.name,errorMessage:u}));else{var p=[];s.forEach(function(e){var n=c["v"][e.matchType];if("undefined"!==typeof n){var i=n;if(null!==e.mainSemanticType){var o=c["F"][e.mainSemanticType];"undefined"!==typeof o&&(i=o)}if("SEPARATOR"===e.matchType)p.push({value:e.name,label:e.name,labelLines:1,rgb:i.rgb,selected:!1,disable:!0,separator:!0});else{var r=e.state?e.state:null,s=null!==r?Object(Xe["m"])(e.state):null;p.push(a()({value:e.name,label:e.name,labelLines:1,sublabel:e.description,sublabelLines:4,letter:i.symbol,leftInverted:!0,leftColor:i.color,rgb:i.rgb,id:e.id,index:t.acceptedTokens.length+1,matchIndex:e.index,selected:!1,disable:e.state&&"FORTHCOMING"===e.state,separator:!1,nextTokenClass:e.nextTokenClass},null!==s&&{rightIcon:s.icon,rightTextColor:"state-".concat(s.tooltip),rightTooltip:{state:s.tooltip,title:e.name,content:e.extendedDescription||e.description}}))}}else console.warn("Unknown type: ".concat(e.matchType))}),this.fuzzyMode||0!==p.length||this.$q.notify({message:this.$t("messages.noSearchResults"),type:"info",icon:"mdi-information",timeout:1e3}),this.setSpinner(a()({},c["H"].SPINNER_STOPPED,{owner:this.$options.name})),qe["a"].nextTick(function(){t.doneFunc(p),t.autocompleteEl.keyboardIndex=0})}}else console.warn("Result discarded for bad request id: actual: ".concat(this.searchRequestId," / received: ").concat(n,"\n"))}},acceptedTokens:function(){var e=this;qe["a"].nextTick(function(){var t=e.searchDiv.scrollWidth;e.scrolled!==t&&(e.searchDiv.scrollLeft=t,e.scrolled=t)})},searchIsFocused:function(e){e?(this.searchInput.focus(),this.acceptedTokens.forEach(function(e){e.selected=!1})):this.searchInput.blur()},searchLostChar:function(e){null!==e&&""!==e&&(this.charReceived(e,!0),this.resetSearchLostChar())}},beforeMount:function(){this.setFuzzyMode(!1)},mounted:function(){var e=this;this.searchDiv=this.$refs["ks-container"],this.searchDivInternal=document.getElementById("ks-internal-container"),this.searchInput=this.$refs["ks-search-input"],this.autocompleteEl=this.$refs["ks-autocomplete"],null!==this.searchLostChar&&""!==this.searchLostChar?this.charReceived(this.searchLostChar,!1):this.actualSearchString="",this.inputSearchColor="black",this.setLargeMode(0),this.$nextTick(function(){e.searchDivInitialSize=e.searchDiv.clientWidth})},updated:function(){var e=document.querySelectorAll("#ks-autocomplete .q-item-side-right");e.forEach(function(e){e.setAttribute("title","lalala")})},beforeDestroy:function(){this.searchTimeout&&(clearTimeout(this.searchTimeout),this.searchTimeout=null)}},ct=st,lt=(n("aff7"),Object(b["a"])(ct,je,Ye,!1,null,null,null));lt.options.__file="KlabSearch.vue";var ut=lt.exports,dt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"st-container",class:{marquee:e.needMarquee<0,"hover-active":e.hoverActive}},[n("div",{ref:"st-text",staticClass:"st-text",class:{"st-accentuate":e.accentuate,"st-placeholder":e.placeholderStyle},style:{left:(e.needMarquee<0?e.needMarquee:0)+"px","animation-duration":e.animationDuration+"s"}},[e._v("\n "+e._s(e.text)+"\n ")]),e.withEdge?n("div",{staticClass:"st-edges",style:{"background-color":e.getBGColor(e.spinnerColor,e.edgeOpacity)}}):e._e()])},ht=[];dt._withStripped=!0;var pt={name:"ScrollingText",props:{hoverActive:{type:Boolean,default:!1},initialText:{type:String,default:""},duration:{type:Number,default:10},accentuate:{type:Boolean,default:!1},edgeOpacity:{type:Number,default:1},withEdge:{type:Boolean,default:!0},placeholderStyle:{type:Boolean,default:!1}},data:function(){return{needMarquee:0,animationDuration:this.duration,text:this.initialText,edgeBgGradient:""}},computed:a()({},Object(s["c"])("view",["spinnerColor"])),methods:{isNeededMarquee:function(){var e=this.$refs["st-text"];return"undefined"===typeof e?0:e.offsetWidth-e.scrollWidth},changeText:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.needMarquee=0,e!==this.text&&(this.text=null===e?"":e,this.$nextTick(function(){null!==n&&(t.animationDuration=n),t.needMarquee=t.isNeededMarquee(t.ref)}))},getBGColor:function(e,t){return"rgba(".concat(e.rgb.r,",").concat(e.rgb.g,",").concat(e.rgb.b,", ").concat(t,")")},getEdgeGradient:function(){return"linear-gradient(to right,\n ".concat(this.getBGColor(this.spinnerColor,1)," 0,\n ").concat(this.getBGColor(this.spinnerColor,0)," 5%,\n ").concat(this.getBGColor(this.spinnerColor,0)," 95%,\n ").concat(this.getBGColor(this.spinnerColor,1)," 100%)")}},watch:{spinnerColor:function(){this.edgeBgGradient=this.getEdgeGradient()}},mounted:function(){var e=this;this.$nextTick(function(){e.needMarquee=e.isNeededMarquee(e.ref)}),this.edgeBgGradient=this.getEdgeGradient()}},ft=pt,mt=(n("2590"),Object(b["a"])(ft,dt,ht,!1,null,null,null));mt.options.__file="ScrollingText.vue";var gt=mt.exports,vt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-btn",{staticClass:"mcm-menubutton absolute-top-right",attrs:{icon:e.interactiveMode?"mdi-play":"mdi-chevron-right",color:e.interactiveMode?"mc-main-light":"black",size:"sm",round:"",flat:""}},[e.isVisible?n("q-popover",{ref:"mcm-main-popover",attrs:{anchor:"top right",self:"top left",persistent:!1,"max-height":"95vh"}},[n("q-btn",{staticClass:"mcm-icon-close-popover",attrs:{icon:"mdi-close",color:"grey-8",size:"xs",flat:"",round:""},on:{click:e.closeMenuPopups}}),n("q-list",{attrs:{dense:""}},[n("q-list-header",{staticStyle:{padding:"0 16px 0 16px","min-height":"0"}},[e._v("\n "+e._s(e.$t("label.mcMenuContext"))+"\n "),e.hasContext?n("q-icon",{staticClass:"mcm-copy-icon",attrs:{name:"mdi-content-copy"},nativeOn:{click:function(t){e.copyContextES(t,e.contextEncodedShape)}}},[n("q-tooltip",{attrs:{delay:1e3,anchor:"center right",self:"center left",offset:[10,10]}},[e._v("\n "+e._s(e.$t("tooltips.copyEncodedShapeToClipboard"))+"\n ")])],1):e._e()],1),n("q-item-separator"),e.hasContext?n("q-item",[n("div",{staticClass:"mcm-container"},[n("div",{staticClass:"klab-menuitem klab-clickable",on:{click:function(t){e.closeAndCall(null)}}},[n("div",{staticClass:"klab-item mdi mdi-star-four-points-outline klab-icon"}),n("div",{staticClass:"klab-item klab-text klab-only-text"},[e._v(e._s(e.$t("label.newContext")))])])])]):e._e(),n("q-item",[n("div",{staticClass:"mcm-container"},[n("div",{staticClass:"klab-menuitem klab-clickable",class:{"klab-not-available":0===e.contextsHistory.length},on:{click:e.toggleContextsHistory}},[n("div",{staticClass:"klab-item mdi mdi-history klab-icon"}),n("div",{staticClass:"klab-item klab-text klab-only-text"},[e._v(e._s(e.$t("label.previousContexts")))]),n("div",[n("q-icon",{staticClass:"mcm-contextbutton",attrs:{name:"mdi-chevron-right",color:"black",size:"sm"}}),n("q-popover",{ref:"mcm-contexts-popover",attrs:{anchor:"top right",self:"top left",offset:[18,28]}},[n("q-list",{attrs:{dense:""}},e._l(e.contextsHistory,function(t){return n("q-item",{key:t.id},[n("q-item-main",[n("div",{staticClass:"mcm-container mcm-context-label"},[n("div",{staticClass:"klab-menuitem",class:[t.id===e.contextId?"klab-no-clickable":"klab-clickable"],on:{click:function(n){e.closeAndCall(t.id)}}},[n("div",{staticClass:"klab-item klab-large-text",class:{"mcm-actual-context":t.id===e.contextId},style:{"font-style":e.contextTaskIsAlive(t.id)?"italic":"normal"},on:{mouseover:function(n){e.tooltipIt(n,t.id)}}},[e._v("\n "+e._s(e.formatContextTime(t))+": "+e._s(t.label)+"\n "),n("q-tooltip",{directives:[{name:"show",rawName:"v-show",value:e.needTooltip(t.id),expression:"needTooltip(context.id)"}],attrs:{anchor:"center right",self:"center left",offset:[10,10]}},[e._v("\n "+e._s(t.label)+"\n ")])],1)]),n("q-icon",{staticClass:"absolute-right mcm-copy-icon",attrs:{name:"mdi-content-copy"},nativeOn:{click:function(n){e.copyContextES(n,t.spatialProjection+" "+t.encodedShape)}}},[n("q-tooltip",{attrs:{delay:1e3,anchor:"center right",self:"center left",offset:[10,10]}},[e._v("\n "+e._s(e.$t("tooltips.copyEncodedShapeToClipboard"))+"\n ")])],1)],1)])],1)}))],1)],1)])])]),e.hasContext?e._e():[n("q-item",[n("q-item-main",[n("div",{staticClass:"mcm-container"},[n("div",{staticClass:"klab-menuitem klab-clickable",class:[e.isDrawMode?"klab-select":""],on:{click:function(t){e.startDraw()}}},[n("div",{staticClass:"klab-item mdi mdi-vector-polygon klab-icon"}),n("div",{staticClass:"klab-item klab-text klab-only-text"},[e._v(e._s(e.$t("label.drawCustomContext")))])])])])],1),n("q-list-header",{staticStyle:{padding:"8px 16px 0 16px","min-height":"0"}},[e._v(e._s(e.$t("label.mcMenuScale")))]),n("q-item-separator"),n("q-item",[n("q-item-main",[n("scale-reference",{attrs:{width:"180px",light:!0,scaleType:"space",editable:!0,full:!0}})],1)],1),n("q-item",[n("q-item-main",[n("scale-reference",{attrs:{width:"180px",light:!0,scaleType:"time",editable:!0,full:!0}})],1)],1)],n("q-list-header",{staticStyle:{padding:"8px 16px 0 16px","min-height":"0"}},[e._v(e._s(e.$t("label.mcMenuOption")))]),n("q-item-separator"),n("q-item",[n("div",{staticClass:"mcm-container"},[n("div",{staticClass:"klab-menuitem"},[n("div",{staticClass:"klab-item"},[e._v(e._s(e.$t("label.interactiveMode")))])]),n("q-item-side",{attrs:{right:""}},[n("q-toggle",{attrs:{color:"mc-main"},model:{value:e.interactiveModeModel,callback:function(t){e.interactiveModeModel=t},expression:"interactiveModeModel"}})],1)],1)]),n("q-item",[n("div",{staticClass:"mcm-container"},[n("div",{staticClass:"klab-menuitem"},[n("div",{staticClass:"klab-item"},[e._v(e._s(e.$t("label.viewCoordinates")))])]),n("q-item-side",{attrs:{right:""}},[n("q-toggle",{attrs:{color:"mc-main"},model:{value:e.coordinates,callback:function(t){e.coordinates=t},expression:"coordinates"}})],1)],1)]),e.hasContext?e._e():[n("q-list-header",{staticStyle:{padding:"8px 16px 0 16px","min-height":"0"}},[e._v(e._s(e.$t("label.mcMenuSettings")))]),n("q-item-separator"),n("q-item",[n("div",{staticClass:"mcm-container"},[n("div",{staticClass:"klab-menuitem"},[n("div",{staticClass:"klab-item"},[e._v(e._s(e.$t("label.optionSaveLocation")))])]),n("q-item-side",{attrs:{right:""}},[n("q-toggle",{attrs:{color:"mc-main"},model:{value:e.saveLocationVar,callback:function(t){e.saveLocationVar=t},expression:"saveLocationVar"}})],1)],1)]),n("q-item",[n("div",{staticClass:"mcm-container"},[n("div",{staticClass:"klab-menuitem"},[n("div",{staticClass:"klab-item"},[e._v(e._s(e.$t("label.saveDockedStatus")))])]),n("q-item-side",{attrs:{right:""}},[n("q-toggle",{attrs:{color:"mc-main"},model:{value:e.saveDockedStatusVar,callback:function(t){e.saveDockedStatusVar=t},expression:"saveDockedStatusVar"}})],1)],1)])],n("q-list-header",{staticStyle:{padding:"8px 16px 0 16px","min-height":"0"}},[e._v(e._s(e.$t("label.mcMenuHelp")))]),n("q-item-separator"),n("q-item",[n("div",{staticClass:"mcm-container"},[n("div",{staticClass:"klab-menuitem klab-clickable",on:{click:e.askTutorial}},[n("div",{staticClass:"klab-item klab-font klab-im-logo klab-icon"}),n("div",{staticClass:"klab-item klab-text klab-only-text"},[e._v(e._s(e.$t("label.showHelp")))])])])]),n("q-item-separator"),n("q-item",[n("div",{staticClass:"klab-version"},[e._v("Version: "+e._s(e.$store.state.data.packageVersion)+"/ Build "+e._s(e.$store.state.data.packageBuild))])])],2)],1):e._e()],1)},_t=[];vt._withStripped=!0;var bt=n("c1df"),yt=n.n(bt),Mt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sr-container",class:[e.light?"sr-light":"sr-dark","vertical"===e.orientation?"sr-vertical":""],style:{width:e.width},on:{click:function(t){e.scaleEditing=e.editable}}},[e.hasScale?n("div",{staticClass:"sr-scalereference klab-menuitem",class:{"sr-full":e.full,"klab-clickable":e.editable}},[e.full?n("div",{staticClass:"sr-locked klab-item mdi sr-icon",class:[e.isScaleLocked[e.scaleType]?"mdi-lock-outline":"mdi-lock-open-outline"],on:{click:function(t){t.preventDefault(),e.lockScale(t)}}},[n("q-tooltip",{attrs:{anchor:"bottom middle",self:"top middle",offset:[0,5]}},[e._v(e._s(e.isScaleLocked[e.scaleType]?e.$t("label.clickToUnlock"):e.$t("label.clickToLock")))])],1):e._e(),n("div",{staticClass:"sr-editables",style:{cursor:e.editable?"pointer":"default"}},[n("div",{staticClass:"sr-scaletype klab-item",class:["mdi "+e.type+" sr-icon"]}),n("div",{staticClass:"sr-description klab-item"},[e._v(e._s(e.description))]),n("div",{staticClass:"sr-spacescale klab-item"},[e._v(e._s(e.scale))]),e.editable?n("q-tooltip",{attrs:{anchor:"bottom middle",self:"top middle",offset:[0,5]}},[e.scaleType===e.SCALE_TYPE.ST_TIME&&""!==e.timeLimits?n("div",{staticClass:"sr-tooltip sr-time-tooltip",domProps:{innerHTML:e._s(e.timeLimits)}}):e._e(),n("div",{staticClass:"sr-tooltip"},[e._v(e._s(e.$t("label.clickToEditScale")))])]):e._e()],1)]):n("div",{staticClass:"sr-no-scalereference"},[n("p",[e._v(e._s(e.$t("label.noScaleReference")))])])])},wt=[];Mt._withStripped=!0;var Lt={name:"ScaleReference",props:{scaleType:{type:String,validator:function(e){return-1!==[c["B"].ST_SPACE,c["B"].ST_TIME].indexOf(e)},default:c["B"].ST_SPACE},useNext:{type:Boolean,default:!1},width:{type:String,default:"150px"},light:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},full:{type:Boolean,default:!1},orientation:{type:String,default:"horizontal"}},data:function(){return{SCALE_TYPE:c["B"]}},computed:a()({},Object(s["c"])("data",["scaleReference","isScaleLocked","nextScale"]),{scaleObj:function(){return this.useNext?this.nextScale:this.scaleReference},resolution:function(){return this.scaleType===c["B"].ST_SPACE?this.scaleObj.spaceResolutionConverted:this.scaleObj.timeUnit},unit:function(){return this.scaleType===c["B"].ST_SPACE?this.scaleObj.spaceUnit:this.scaleObj.timeUnit},type:function(){return this.scaleType===c["B"].ST_SPACE?"mdi-grid":"mdi-clock-outline"},description:function(){return this.scaleType===c["B"].ST_SPACE?this.scaleObj.spaceResolutionDescription:null===this.scaleObj.timeUnit?"YEAR":this.scaleObj.timeUnit},scale:function(){var e=this;return this.scaleType===c["B"].ST_SPACE?this.scaleObj.spaceScale:this.unit?c["C"].find(function(t){return t.value===e.unit}).index:this.scaleObj.timeScale},hasScale:function(){return this.useNext?null!==this.nextScale:null!==this.scaleReference},timeLimits:function(){return 0===this.scaleObj.start&&0===this.scaleObj.end?"":"".concat(yt()(this.scaleObj.start).format("L HH:mm:ss"),"
").concat(yt()(this.scaleObj.end).format("L HH:mm:ss"))},scaleEditing:{get:function(){return this.$store.getters["view/isScaleEditing"]},set:function(e){this.$store.dispatch("view/setScaleEditing",{active:e,type:this.scaleType})}}}),methods:a()({},Object(s["b"])("data",["setScaleLocked"]),{lockScale:function(e){e.stopPropagation();var t=!this.isScaleLocked[this.scaleType];this.sendStompMessage(l["a"].SETTING_CHANGE_REQUEST({setting:this.scaleType===c["B"].ST_SPACE?c["G"].LOCK_SPACE:c["G"].LOCK_TIME,value:t},this.$store.state.data.session).body),this.setScaleLocked({scaleType:this.scaleType,scaleLocked:t}),t||this.$eventBus.$emit(c["h"].SEND_REGION_OF_INTEREST)}})},St=Lt,Ct=(n("cf611"),Object(b["a"])(St,Mt,wt,!1,null,null,null));Ct.options.__file="ScaleReference.vue";var Et=Ct.exports,At=n("2cee"),Tt=n("1442"),Ot={name:"MainControlMenu",mixins:[At["a"],De],components:{ScaleReference:Et},data:function(){return{}},computed:a()({},Object(s["c"])("data",["contextsHistory","hasContext","contextId","contextReloaded","contextEncodedShape","interactiveMode","session"]),Object(s["d"])("stomp",["subscriptions"]),Object(s["c"])("stomp",["lastActiveTask","contextTaskIsAlive"]),Object(s["c"])("view",["searchIsActive","isDrawMode","isScaleEditing","isMainControlDocked","viewCoordinates"]),Object(s["d"])("view",["saveLocation","saveDockedStatus"]),{saveLocationVar:{get:function(){return this.saveLocation},set:function(e){this.changeSaveLocation(e)}},saveDockedStatusVar:{get:function(){return this.saveDockedStatus},set:function(e){this.changeSaveDockedStatus(e)}},interactiveModeModel:{get:function(){return this.interactiveMode},set:function(e){this.setInteractiveMode(e)}},coordinates:{get:function(){return this.viewCoordinates},set:function(e){this.setViewCoordinates(e)}},isVisible:function(){return!this.isDrawMode&&!this.isScaleEditing}}),methods:a()({},Object(s["b"])("data",["setInteractiveMode"]),Object(s["b"])("view",["setDrawMode","setViewCoordinates"]),{startDraw:function(){this.setDrawMode(!this.isDrawMode)},toggleContextsHistory:function(){this.contextsHistory.length>0&&this.$refs["mcm-contexts-popover"].toggle()},closeAndCall:function(){var e=H()(regeneratorRuntime.mark(function e(t){return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(this.contextId!==t){e.next=2;break}return e.abrupt("return");case 2:this.closeMenuPopups(),this.clearTooltip(),this.loadOrReloadContext(t,this.closeMenuPopups());case 5:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),formatContextTime:function(e){var t=e.lastUpdate;if(0===t&&(t=e.creationTime),t&&null!==t){var n=yt()(t),i=0===yt()().diff(n,"days");return i?n.format("HH:mm:ss"):n.format("YYYY/mm/dd HH:mm:ss")}return""},changeSaveLocation:function(e){this.$store.commit("view/SET_SAVE_LOCATION",e,{root:!0}),U["a"].set(c["P"].COOKIE_SAVELOCATION,e,{expires:30,path:"/",secure:!0}),e||(U["a"].set(c["P"].COOKIE_SAVELOCATION,e,{expires:30,path:"/",secure:!0}),U["a"].set(c["P"].COOKIE_MAPDEFAULT,{center:Tt["b"].center,zoom:Tt["b"].zoom},{expires:30,path:"/",secure:!0}))},changeSaveDockedStatus:function(e){this.$store.commit("view/SET_SAVE_DOCKED_STATUS",e,{root:!0}),e?U["a"].set(c["P"].COOKIE_DOCKED_STATUS,this.isMainControlDocked,{expires:30,path:"/",secure:!0}):U["a"].remove(c["P"].COOKIE_DOCKED_STATUS)},copyContextES:function(e,t){e.stopPropagation(),Object(Fe["b"])(t),this.$q.notify({message:Object(Fe["a"])(this.$t("messages.customCopyToClipboard",{what:this.$t("label.context")})),type:"info",icon:"mdi-information",timeout:500})},closeMenuPopups:function(){this.$refs["mcm-main-popover"]&&this.$refs["mcm-main-popover"].hide(),this.$refs["mcm-contexts-popover"]&&this.$refs["mcm-contexts-popover"].hide()},sendInteractiveModeState:function(e){this.sendStompMessage(l["a"].SETTING_CHANGE_REQUEST({setting:c["G"].INTERACTIVE_MODE,value:e},this.session).body)},viewerClickListener:function(){this.isDrawMode||this.closeMenuPopups()},askTutorial:function(){this.$eventBus.$emit(c["h"].NEED_HELP),this.closeMenuPopups()}}),watch:{hasContext:function(){this.closeMenuPopups()},searchIsActive:function(e){e&&this.closeMenuPopups()},interactiveModeModel:function(e){this.sendInteractiveModeState(e)}},mounted:function(){this.$eventBus.$on(c["h"].VIEWER_CLICK,this.viewerClickListener)},beforeDestroy:function(){this.$eventBus.$off(c["h"].VIEWER_CLICK,this.viewerClickListener)}},kt=Ot,xt=(n("6774"),Object(b["a"])(kt,vt,_t,!1,null,null,null));xt.options.__file="MainControlMenu.vue";var Dt=xt.exports,Rt={name:"KlabSearchBar",components:{KlabSpinner:M,KlabSearch:ut,ScrollingText:gt,MainControlMenu:Dt},mixins:[rt],data:function(){return{searchAsked:!1,busyInformed:!1,searchAskedInterval:null}},computed:a()({},Object(s["c"])("data",["hasContext","contextLabel","contextCustomLabel","isScaleLocked"]),Object(s["c"])("view",["spinnerColor","searchIsActive","searchIsFocused","hasMainControl","statusTextsString","statusTextsLength","fuzzyMode","largeMode","isDocked","engineEventsCount"]),{isDocked:function(){return!this.hasMainControl},mainContextLabel:function(){return this.contextLabel?this.contextLabel:this.contextCustomLabel}}),methods:a()({},Object(s["b"])("view",["setMainViewer","searchStart","searchFocus","searchStop","setSpinner"]),{getLargeModeWidth:function(){return"".concat((window.innerWidth||document.body.clientWidth)-c["u"].LEFTMENU_MINSIZE,"px")},getBGColor:function(e){return"rgba(".concat(this.spinnerColor.rgb.r,",").concat(this.spinnerColor.rgb.g,",").concat(this.spinnerColor.rgb.b,", ").concat(e,")")},showSuggestions:function(e){1===e.targetTouches.length&&(e.preventDefault(),this.searchIsActive?this.searchIsFocused?this.$refs["klab-search"].searchEnd({noDelete:!1}):this.searchFocus({char:" ",focused:!0}):this.searchStart(" "))},emitSpinnerDoubleclick:function(){this.$eventBus.$emit(c["h"].SPINNER_DOUBLE_CLICK)},askForSuggestionsListener:function(e){this.showSuggestions(e)},busySearch:function(){this.searchAsked=!0,this.updateBusy()},updateBusy:function(){var e=this;null!==this.searchAskedInterval&&(clearTimeout(this.searchAskedInterval),this.searchAskedInterval=null),this.searchAsked&&(0===this.engineEventsCount?this.searchAskedInterval=setTimeout(function(){e.searchAsked=!1,e.busyInformed=!1,e.setSpinner(a()({},c["H"].SPINNER_STOPPED,{owner:"BusySearch"}))},600):this.busyInformed||(this.setSpinner(a()({},c["H"].SPINNER_LOADING,{owner:"BusySearch"})),this.busyInformed=!0))}}),watch:{statusTextsString:function(e){e.includes(c["p"].UNKNOWN_SEARCH_OBSERVATION)&&(e=e.replace(c["p"].UNKNOWN_SEARCH_OBSERVATION,this.$t("messages.unknownSearchObservation"))),this.$refs["st-status-text"].changeText(e,5*this.statusTextsLength)},mainContextLabel:function(e){this.$refs["st-context-text"]&&this.$refs["st-context-text"].changeText(e)},hasContext:function(e){e&&this.setSpinner(a()({},c["H"].SPINNER_STOPPED,{owner:"KlabSearch"}))},engineEventsCount:function(){this.updateBusy()}},mounted:function(){this.$eventBus.$on(c["h"].ASK_FOR_SUGGESTIONS,this.askForSuggestionsListener),this.updateBusy()},beforeDestroy:function(){this.$eventBus.$off(c["h"].ASK_FOR_SUGGESTIONS,this.askForSuggestionsListener)}},zt=Rt,Pt=(n("19f2"),Object(b["a"])(zt,Ie,Be,!1,null,null,null));Pt.options.__file="KlabSearchBar.vue";var Nt=Pt.exports,It=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.contextsCount>1?n("div",{staticClass:"kbc-container"},e._l(e.contextsLabels,function(t,i){return n("span",{key:t.id,on:{click:function(n){e.load(t.contextId,i)}}},[e._v(e._s(t.label))])})):e._e()},Bt=[];It._withStripped=!0;var jt={name:"KlabBreadcrumbs",mixins:[De],computed:a()({},Object(s["c"])("data",["contextsLabels","contextsCount","contextById"])),methods:a()({},Object(s["b"])("data",["loadContext"]),{load:function(e,t){if(t!==this.contextsCount-1){var n,i=this.$store.state.data.observations.find(function(t){return t.id===e});n=i||this.contextById(e),this.sendStompMessage(l["a"].CONTEXTUALIZATION_REQUEST(a()({contextId:n.id},n.contextId&&{parentContext:n.contextId}),this.$store.state.data.session).body),this.loadContext(e)}}})},Yt=jt,Ht=(n("6c8f"),Object(b["a"])(Yt,It,Bt,!1,null,null,null));Ht.options.__file="KlabBreadcrumbs.vue";var Wt=Ht.exports,qt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"klab-tree-pane"}},[n("klab-splitter",{attrs:{margin:0,hidden:e.hasObservationInfo?"":"right"},on:{"close-info":e.onCloseInfo}},[n("div",{staticClass:"full-height",attrs:{slot:"left-pane",id:"ktp-left"},slot:"left-pane"},[e.hasTree?n("div",{ref:"kt-out-container",class:{"ktp-loading":e.taskOfContextIsAlive,"with-splitter":e.hasObservationInfo},attrs:{id:"kt-out-container"}},[n("q-resize-observable",{on:{resize:e.outContainerResized}}),[n("klab-tree",{ref:"kt-user-tree",style:{"max-height":!!e.userTreeMaxHeight&&e.userTreeMaxHeight+"px"},attrs:{id:"kt-user-tree",tree:e.userTree,"is-user":!0},on:{resized:e.recalculateTreeHeight}})],n("details",{directives:[{name:"show",rawName:"v-show",value:e.mainTreeHasNodes(),expression:"mainTreeHasNodes()"}],attrs:{id:"kt-tree-details",open:e.taskOfContextIsAlive||e.mainTreeHasNodes(!0)||e.detailsOpen}},[n("summary",[n("q-icon",{attrs:{name:"mdi-dots-horizontal",id:"ktp-main-tree-arrow"}},[n("q-tooltip",{attrs:{offset:[0,0],self:"top left",anchor:"bottom right"}},[e._v(e._s(e.detailsOpen?e.$t("tooltips.displayMainTree"):e.$t("tooltips.hideMainTree")))])],1)],1),n("klab-tree",{ref:"kt-tree",style:{"max-height":!!e.treeHeight&&e.treeHeight+"px"},attrs:{id:"kt-tree",tree:e.tree,"is-user":!1},on:{resized:e.recalculateTreeHeight}})],1)],2):e.hasContext?n("div",{staticClass:"q-ma-md text-center text-white ktp-no-tree"},[e._v("\n "+e._s(e.$t("label.noObservation"))+"\n ")]):n("div",{staticClass:"q-ma-md text-center text-white ktp-no-tree"},[e._v("\n "+e._s(e.$t("label.noContext"))+"\n ")])]),n("div",{staticClass:"full-height",attrs:{slot:"right-pane",id:"ktp-right"},slot:"right-pane"},[e.hasObservationInfo?n("observation-info",{on:{shownode:function(t){e.informTree(t)}}}):e._e()],1)])],1)},Ft=[];qt._withStripped=!0;n("5df2");var Xt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"splitter-container full-height"},[!e.hidden&&e.controllers?n("div",{staticClass:"splitter-controllers"},[e.onlyOpenClose?e._e():[n("q-btn",{staticClass:"no-padding splitter-actions",style:{color:e.controlsColor},attrs:{flat:"",round:"",size:"sm",id:"splitter-to-left",icon:"mdi-arrow-left"},nativeOn:{click:function(t){e.percent=0}}}),n("q-btn",{staticClass:"no-padding splitter-actions rotate-90",style:{color:e.controlsColor},attrs:{flat:"",round:"",size:"sm",id:"splitter-to-middle",icon:"mdi-format-align-middle"},nativeOn:{click:function(t){e.percent=50}}}),n("q-btn",{staticClass:"no-padding splitter-actions",style:{color:e.controlsColor},attrs:{flat:"",round:"",size:"sm",id:"splitter-to-right",icon:"mdi-arrow-right"},nativeOn:{click:function(t){e.percent=100}}})],n("q-btn",{staticClass:"no-padding splitter-actions",style:{color:e.controlsColor},attrs:{flat:"",round:"",size:"sm",id:"splitter-close",icon:"mdi-close"},nativeOn:{click:function(t){e.$emit("close-info")}}})],2):e._e(),n("div",e._g({staticClass:"vue-splitter",style:{cursor:e.cursor,flexDirection:e.flexDirection}},e.onlyOpenClose?{}:{mouseup:e.onUp,mousemove:e.onMouseMove,touchmove:e.onMove,touchend:e.onUp}),[n("div",{staticClass:"left-pane splitter-pane",style:e.leftPaneStyle},[e._t("left-pane")],2),e.hidden?e._e():[e.onlyOpenClose?e._e():n("div",e._g({staticClass:"splitter",class:{active:e.active},style:e.splitterStyle},e.onlyOpenClose?{}:{mousedown:e.onDown,touchstart:e.onDown})),n("div",{staticClass:"right-pane splitter-pane",style:e.rightPaneStyle},[e._t("right-pane")],2)]],2)])},Ut=[];Xt._withStripped=!0;var Vt={props:{margin:{type:Number,default:10},horizontal:{type:Boolean,default:!1},hidden:{type:String,default:""},splitterColor:{type:String,default:"rgba(0, 0, 0, 0.2)"},controlsColor:{type:String,default:"rgba(192, 192, 192)"},splitterSize:{type:Number,default:3},controllers:{type:Boolean,default:!0},onlyOpenClose:{type:Boolean,default:!0}},data:function(){return{active:!1,percent:"left"===this.hidden?0:"right"===this.hidden?100:this.onlyOpenClose?0:50,hasMoved:!1}},computed:{flexDirection:function(){return this.horizontal?"column":"row"},splitterStyle:function(){return this.horizontal?{height:"".concat(this.splitterSize,"px"),cursor:"ns-resize","background-color":this.splitterColor}:{width:"".concat(this.splitterSize,"px"),cursor:"ew-resize","background-color":this.splitterColor}},leftPaneStyle:function(){return this.horizontal?{height:"".concat(this.percent,"%")}:{width:"".concat(this.percent,"%")}},rightPaneStyle:function(){return this.horizontal?{height:"".concat(100-this.percent,"%")}:{width:"".concat(100-this.percent,"%")}},cursor:function(){return this.active?this.horizontal?"ns-resize":"ew-resize":""}},methods:{onDown:function(){this.active=!0,this.hasMoved=!1},onUp:function(){this.active=!1},onMove:function(e){var t=0,n=e.currentTarget,i=0;if(this.active){if(this.horizontal){while(n)t+=n.offsetTop,n=n.offsetParent;i=Math.floor((e.pageY-t)/e.currentTarget.offsetHeight*1e4)/100}else{while(n)t+=n.offsetLeft,n=n.offsetParent;i=Math.floor((e.pageX-t)/e.currentTarget.offsetWidth*1e4)/100}i>this.margin&&i<100-this.margin&&(this.percent=i),this.$emit("splitterresize"),this.hasMoved=!0}},onMouseMove:function(e){0!==e.buttons&&0!==e.which||(this.active=!1),this.onMove(e)}},watch:{hidden:function(){this.percent="left"===this.hidden?0:"right"===this.hidden?100:this.onlyOpenClose?0:50}}},Gt=Vt,Kt=(n("1848"),Object(b["a"])(Gt,Xt,Ut,!1,null,null,null));Kt.options.__file="KlabSplitter.vue";var $t=Kt.exports,Jt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"kt-container relative-position klab-menu-component",class:{"kt-drag-enter":e.dragEnter>0&&!e.dragStart},on:{dragenter:e.onDragEnter,dragover:e.onDragOver,dragleave:e.onDragLeave,drop:e.onDrop}},[n("div",{staticClass:"kt-tree-container simplebar-vertical-only",on:{contextmenu:e.rightClickHandler}},[n("klab-q-tree",{ref:"klab-tree",attrs:{nodes:e.tree,"node-key":"id",ticked:e.ticked,selected:e.selected,expanded:e.expanded,"tick-strategy":"strict","text-color":"white","control-color":"white",color:"white",dark:!0,noNodesLabel:e.$t("label.noNodes"),"double-click-function":e.doubleClick,filter:e.isUser?"user":"tree",filterMethod:e.filterUser,noFilteredResultLabel:e.isUser?e.taskOfContextIsAlive?e.$t("messages.treeNoResultUserWaiting"):e.$t("messages.treeNoResultUser"):e.$t("messages.treeNoResultNoUser")},on:{"update:ticked":function(t){e.ticked=t},"update:selected":function(t){e.selected=t},"update:expanded":function(t){e.expanded=t},click:function(t){e.$refs["observations-context"].close()}},scopedSlots:e._u([{key:"header-default",fn:function(t){return n("div",{class:{"node-disabled":t.node.disabled&&!t.node.noTick}},[n("span",{directives:[{name:"ripple",rawName:"v-ripple",value:t.node.main,expression:"prop.node.main"}],staticClass:"node-element",class:[t.node.main?"node-emphasized":"",e.hasObservationInfo&&e.observationInfo.id===t.node.id?"node-selected":"",null!==e.cleanTopLayerId&&e.cleanTopLayerId===t.node.id?"node-on-top":"",e.checkObservationsOnTop(t.node.id)?"node-on-top":"",e.isUser?"node-user-element":"node-tree-element",t.node.needUpdate?"node-updatable":""],attrs:{draggable:t.node.parentId===e.contextId,id:"node-"+t.node.id},on:{dragstart:function(n){e.onDragStart(n,t.node.id)},dragend:e.onDragEnd}},[t.node.observationType===e.OBSERVATION_CONSTANTS.TYPE_PROCESS?n("q-icon",{staticClass:"node-no-tick",attrs:{name:"mdi-buddhism",size:"17px"}}):t.node.noTick?n("q-icon",{attrs:{name:"mdi-checkbox-blank-circle"}}):e._e(),e._v("\n "+e._s(t.node.label)+"\n "),t.node.dynamic?n("q-icon",{staticClass:"node-icon-time",class:{"animate-spin":t.node.loading},attrs:{name:"mdi-clock-outline",color:"mc-green"}}):n("q-icon",{staticClass:"node-icon-time node-loading-layer",class:{"animate-spin":t.node.loading},attrs:{name:"mdi-loading"}}),n("q-tooltip",{staticClass:"kt-q-tooltip",attrs:{delay:300,offset:[0,8],self:"bottom left",anchor:"top left"}},[e._v(e._s(e.clearObservable(t.node.observable)))])],1),t.node.childrenCount>0||t.node.children.length>0?[n("q-chip",{staticClass:"node-chip",class:{"node-substituible":!t.node.empty&&!t.node.noTick},attrs:{color:"white",small:"",dense:"","text-color":"grey-7"}},[e._v(e._s(t.node.childrenCount?t.node.childrenCount:t.node.children.length))])]:e._e(),t.node.empty||t.node.noTick?e._e():n("q-btn",{staticClass:"kt-upload",attrs:{round:"",flat:"",size:"sm",icon:"mdi-arrow-up",disable:""}},[n("q-tooltip",{staticClass:"kt-q-tooltip",attrs:{delay:300,offset:[0,8],self:"bottom left",anchor:"top left"}},[e._v(e._s(e.$t("tooltips.uploadData")))])],1),t.node.empty||t.node.noTick?e._e():n("q-btn",{staticClass:"kt-download",attrs:{round:"",flat:"",size:"sm",icon:"mdi-arrow-down"},nativeOn:{click:function(n){e.askForOutputFormat(n,t.node.id,t.node.exportFormats)}}}),"undefined"!==typeof t.node.idx?[n("q-chip",{staticClass:"node-chip transparent",style:{right:t.node.childrenCount>0?e.calculateRightPosition([t.node.childrenCount],"25px"):t.node.children.length>0?e.calculateRightPosition([t.node.children.length],"25px"):""},attrs:{small:"",dense:"","text-color":"grey-9"}},[e._v("\n "+e._s(e.$t("label.itemCounter",{loaded:t.node.idx+1,total:t.node.siblingsCount}))+"\n ")])]:e._e()],2)}},{key:"header-folder",fn:function(t){return n("div",{class:{"node-disabled":t.node.disabled&&!t.node.noTick}},[n("span",{directives:[{name:"ripple",rawName:"v-ripple",value:t.node.main,expression:"prop.node.main"}],staticClass:"node-element",class:[t.node.main?"node-emphasized":""],attrs:{draggable:t.node.parentId===e.contextId,id:"node-"+t.node.id},on:{dragstart:function(n){e.onDragStart(n,t.node.id)},dragend:e.onDragEnd}},[e._v(e._s(t.node.label))]),n("q-btn",{staticClass:"kt-upload",attrs:{round:"",flat:"",size:"sm",icon:"mdi-arrow-up"}}),n("q-btn",{staticClass:"kt-download",attrs:{round:"",flat:"",size:"sm",icon:"mdi-arrow-down"},nativeOn:{click:function(n){e.askForOutputFormat(n,t.node.id,t.node.exportFormats,!0)}}}),"undefined"!==typeof t.node.idx?[n("q-chip",{staticClass:"node-chip transparent",style:{right:t.node.childrenCount>0?e.calculateRightPosition([t.node.childrenCount],"25px"):t.node.children.length>0?e.calculateRightPosition([t.node.children.length],"25px"):""},attrs:{small:"",dense:"","text-color":"grey-9"}},[e._v("\n "+e._s(e.$t("label.itemCounter",{loaded:t.node.idx+1,total:t.node.siblingsCount}))+"\n ")])]:e._e(),n("q-chip",{staticClass:"node-chip",class:{"node-substituible":!t.node.empty&&!t.node.noTick},attrs:{color:"white",small:"",dense:"","text-color":"grey-7"}},[e._v(e._s(t.node.childrenCount?t.node.childrenCount:t.node.children.length))])],2)}},{key:"header-stub",fn:function(t){return n("div",{staticClass:"node-stub"},[n("span",{staticClass:"node-element node-stub"},[n("q-icon",{staticClass:"node-no-tick",attrs:{name:"mdi-checkbox-blank-circle"}}),e._v(e._s(e.$t("messages.loadingChildren"))+"\n ")],1)])}}])},[e._v("\n >\n ")])],1),n("observation-context-menu",{attrs:{"observation-id":e.contextMenuObservationId},on:{hide:function(t){e.contextMenuObservationId=null}}}),n("q-resize-observable",{on:{resize:function(t){e.$emit("resized")}}})],1)},Zt=[];Jt._withStripped=!0;n("f559"),n("6b54"),n("b54a");var Qt=n("e4f9"),en=n("bffd"),tn=n("b70a"),nn=n("525b"),on={name:"KlabQTree",extends:Qt["a"],props:{doubleClickTimeout:{type:Number,default:300},doubleClickFunction:{type:Function,default:null},noFilteredResultLabel:{type:String,default:null},checkClick:{type:Boolean,default:!0}},data:function(){return{lazy:{},innerTicked:this.ticked||[],innerExpanded:this.expanded||[],timeouts:[]}},methods:{__blur:function(){document.activeElement&&document.activeElement.blur()},__getNode:function(e,t){var n=this,i=t[this.nodeKey],o=this.meta[i],r=t.header&&this.$scopedSlots["header-".concat(t.header)]||this.$scopedSlots["default-header"],a=o.isParent?this.__getChildren(e,t.children):[],s=a.length>0||o.lazy&&"loaded"!==o.lazy,c=t.body&&this.$scopedSlots["body-".concat(t.body)]||this.$scopedSlots["default-body"],l=r||c?this.__getSlotScope(t,o,i):null;return c&&(c=e("div",{staticClass:"q-tree-node-body relative-position"},[e("div",{class:this.contentClass},[c(l)])])),e("div",{key:i,staticClass:"q-tree-node",class:{"q-tree-node-parent":s,"q-tree-node-child":!s}},[e("div",{staticClass:"q-tree-node-header relative-position row no-wrap items-center",class:{"q-tree-node-link":o.link,"q-tree-node-selected":o.selected,disabled:o.disabled},on:{click:function(e){n.checkClick?e&&e.srcElement&&-1!==e.srcElement.className.indexOf("node-element")&&n.__onClick(t,o):n.__onClick(t,o)}}},["loading"===o.lazy?e(tn["a"],{staticClass:"q-tree-node-header-media q-mr-xs",props:{color:this.computedControlColor}}):s?e(Ze["a"],{staticClass:"q-tree-arrow q-mr-xs transition-generic",class:{"q-tree-arrow-rotate":o.expanded},props:{name:this.computedIcon},nativeOn:{click:function(e){n.__onExpandClick(t,o,e)}}}):null,e("span",{staticClass:"row no-wrap items-center",class:this.contentClass},[o.hasTicking&&!o.noTick?e(nn["a"],{staticClass:"q-mr-xs",props:{value:o.indeterminate?null:o.ticked,color:this.computedControlColor,dark:this.dark,keepColor:!0,disable:!o.tickable},on:{input:function(e){n.__onTickedClick(t,o,e)}}}):null,r?r(l):[this.__getNodeMedia(e,t),e("span",t[this.labelKey])]])]),s?e(en["a"],{props:{duration:this.duration}},[e("div",{directives:[{name:"show",value:o.expanded}],staticClass:"q-tree-node-collapsible",class:"text-".concat(this.color)},[c,e("div",{staticClass:"q-tree-children",class:{disabled:o.disabled}},a)])]):c])},__onClick:function(e,t){var n=this;null===this.doubleClickFunction?this.__onClickDefault(e,t):"undefined"===typeof this.timeouts["id".concat(e.id)]||null===this.timeouts["id".concat(e.id)]?this.timeouts["id".concat(e.id)]=setTimeout(function(){n.timeouts["id".concat(e.id)]=null,n.__onClickDefault(e,t)},this.doubleClickTimeout):(clearTimeout(this.timeouts["id".concat(e.id)]),this.timeouts["id".concat(e.id)]=null,this.doubleClickFunction(e,t))},__onClickDefault:function(e,t){this.__blur(),this.hasSelection?t.selectable&&this.$emit("update:selected",t.key!==this.selected?t.key:null):this.__onExpandClick(e,t),"function"===typeof e.handler&&e.handler(e)}},render:function(e){var t=this.__getChildren(e,this.nodes),n=this.classes.indexOf("klab-no-nodes");return 0===t.length&&-1===n?this.classes.push("klab-no-nodes"):0!==t.length&&-1!==n&&this.classes.splice(n,1),e("div",{staticClass:"q-tree",class:this.classes},0===t.length?this.filter?this.noFilteredResultLabel:this.noNodesLabel||this.$t("messages.treeNoNodes"):t)}},rn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-context-menu",{directives:[{name:"show",rawName:"v-show",value:e.enableContextMenu,expression:"enableContextMenu"}],ref:"observations-context",on:{hide:e.hide}},[n("q-list",{staticStyle:{"min-width":"150px"},attrs:{dense:"","no-border":""}},[e._l(e.itemActions,function(t,i){return t.enabled?[t.separator&&0!==i?n("q-item-separator",{key:t.actionId}):e._e(),!t.separator&&t.enabled?n("q-item",{key:t.actionId,attrs:{link:""},nativeOn:{click:function(n){e.askForAction(t.actionId)}}},[n("q-item-main",{attrs:{label:t.actionLabel}})],1):e._e(),t.separator||t.enabled?e._e():n("q-item",{key:t.actionId,attrs:{disabled:""}},[n("q-item-main",{attrs:{label:t.actionLabel}})],1)]:e._e()})],2)],1)},an=[];rn._withStripped=!0;var sn={name:"ObservationContextMenu",props:{observationId:{type:String,default:null}},data:function(){return{enableContextMenu:!1,itemActions:[],itemObservation:null}},methods:a()({},Object(s["b"])("data",["setContext","loadContext","setContextMenuObservationId"]),{initContextMenu:function(){var e=this,t=this.$store.state.data.observations.find(function(t){return t.id===e.observationId});t?(this.resetContextMenu(!1),t&&t.actions&&t.actions.length>1?(this.itemActions=t.actions.slice(),this.itemObservation=t):this.resetContextMenu(),t.observationType!==c["y"].TYPE_STATE&&t.observationType!==c["y"].TYPE_GROUP&&(this.itemActions.push(c["z"].SEPARATOR_ITEM),this.itemActions.push(c["z"].RECONTEXTUALIZATION_ITEM),this.itemObservation=t),this.itemActions&&this.itemActions.length>0?this.enableContextMenu=this.itemActions&&this.itemActions.length>0:this.enableContextMenu=!1):this.resetContextMenu()},resetContextMenu:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.itemActions=[],this.itemObservation=null,e&&(this.enableContextMenu=!1)},hide:function(e){this.resetContextMenu(),this.$emit("hide",e)},askForAction:function(e){if(null!==this.itemObservation)switch(console.debug("Will ask for ".concat(e," of observation ").concat(this.itemObservation.id)),e){case"Recontextualization":this.sendStompMessage(l["a"].CONTEXTUALIZATION_REQUEST({contextId:this.itemObservation.id,parentContext:this.itemObservation.contextId},this.$store.state.data.session).body),this.loadContext(this.itemObservation.id);break;case"AddToCache":console.log("Ask for Add to cache, no action for now");break;default:break}this.enableContextMenu=!1}}),watch:{observationId:function(){null!==this.observationId?this.initContextMenu():this.resetContextMenu()}},mounted:function(){null!==this.observationId&&this.initContextMenu()}},cn=sn,ln=(n("ad0b"),Object(b["a"])(cn,rn,an,!1,null,null,null));ln.options.__file="ObservationContextMenu.vue";var un=ln.exports,dn=null,hn={name:"klabTree",components:{KlabQTree:on,ObservationContextMenu:un},props:{isUser:{type:Boolean,required:!0},tree:{type:Array,required:!0}},data:function(){return{ticked:[],selected:null,expanded:[],itemObservationId:null,askingForChildren:!1,scrollElement:null,showPopover:null,dragStart:!1,dragEnter:0,watchedObservation:[],contextMenuObservationId:null,OBSERVATION_CONSTANTS:c["y"]}},computed:a()({},Object(s["c"])("data",["treeNode","lasts","contextReloaded","contextId","observations","timeEventsOfObservation","timestamp","observationsIdOnTop"]),Object(s["c"])("stomp",["tasks","taskOfContextIsAlive"]),Object(s["c"])("view",["observationInfo","hasObservationInfo","topLayerId"]),Object(s["d"])("view",["treeSelected","treeTicked","treeExpanded","showNotified"]),{cleanTopLayerId:function(){return this.topLayerId?this.topLayerId.substr(0,this.topLayerId.indexOf("T")):null}}),methods:a()({checkObservationsOnTop:function(e){return this.observationsIdOnTop.length>0&&this.observationsIdOnTop.includes(e)},copyToClipboard:Fe["b"]},Object(s["b"])("data",["setVisibility","selectNode","askForChildren","addChildrenToTree","setContext","changeTreeOfNode","setTimestamp"]),Object(s["b"])("view",["setSpinner","setMainDataViewer"]),{filterUser:function(e,t){return e.userNode?"user"===t:"tree"===t},rightClickHandler:function(e){e.preventDefault();var t=null;if(e.target.className.includes("node-element"))t=e.target;else{var n=e.target.getElementsByClassName("node-element");if(1===n.length){var i=We()(n,1);t=i[0]}}this.contextMenuObservationId=null!==t?t.id.substring(5):null},clearObservable:function(e){return 0===e.indexOf("(")&&e.lastIndexOf(")")===e.length-1?e.substring(1,e.length-1):e},askForOutputFormat:function(e,t,n){var i=this;null!==n&&n.length>0?(e.stopPropagation(),this.$q.dialog({title:this.$t("label.titleOutputFormat"),message:this.$t("label.askForOuputFormat"),options:{type:"radio",model:n[0].value,items:n},cancel:!0,preventClose:!1,color:"info"}).then(function(e){i.askDownload(t,e,n)}).catch(function(){})):this.$q.notify({message:"No available formats",type:"warning",icon:"mdi-alert",timeout:200})},askDownload:function(e,t,n,i){if("undefined"===typeof i){var o="";if(-1!==this.timestamp){var r=new Date(this.timestamp);o="_".concat(r.getFullYear()).concat(r.getMonth()<9?"0":"").concat(r.getMonth()+1).concat(r.getDate()<10?"0":"").concat(r.getDate(),"_").concat(r.getHours()<10?"0":"").concat(r.getHours()).concat(r.getMinutes()<10?"0":"").concat(r.getMinutes()).concat(r.getSeconds()<10?"0":"").concat(r.getSeconds())}i="".concat(e).concat(o)}var a=n.find(function(e){return e.value===t});Object(Xe["b"])(e,"RAW",i,a,this.timestamp)},changeNodeState:function(e){var t=e.nodeId,n=e.state;"undefined"!==typeof this.$refs["klab-tree"]&&this.$refs["klab-tree"].setTicked([t],n)},doubleClick:function(){var e=H()(regeneratorRuntime.mark(function e(t,n){var i,o;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(!t.isContainer){e.next=4;break}null!==t.viewerIdx&&this.setMainDataViewer({viewerIdx:t.viewerIdx,visible:t.visible}),e.next=14;break;case 4:if(t.observationType!==c["y"].TYPE_STATE){e.next=8;break}this.fitMap(t,n),e.next=14;break;case 8:if(i=this.observations.find(function(e){return e.id===t.id}),!i||null===i){e.next=14;break}return e.next=12,Object(Xe["j"])(i);case 12:o=e.sent,this.fitMap(t,n,o);case 14:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}(),fitMap:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.$eventBus.$emit(c["h"].NEED_FIT_MAP,{geometry:n}),e&&t&&t.ticked&&this.setVisibility({node:e,visible:!0})},updateFolderListener:function(e){if(e&&e.folderId){var t=Object(Xe["f"])(this.tree,e.folderId);t&&null!==t&&(e.visible?this.$refs["klab-tree"].setTicked(t.children.map(function(e){return e.id}),!0):this.$refs["klab-tree"].setTicked(this.ticked.filter(function(e){return-1===t.children.findIndex(function(t){return t.id===e})}),!1))}},selectElementListener:function(e){var t=this,n=e.id,i=e.selected;this.$nextTick(function(){var e=Object(Xe["f"])(t.tree,n);e&&(t.setVisibility({node:e,visible:i}),i?t.ticked.push(n):t.ticked.splice(t.ticked.findIndex(function(e){return e===n}),1))})},treeSizeChangeListener:function(){var e=this;this.isUser||(null!=dn&&(clearTimeout(this.scrollToTimeout),dn=null),this.$nextTick(function(){dn=setTimeout(function(){e.scrollElement.scrollTop=e.scrollElement.scrollHeight},1e3)}))},calculateRightPosition:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.reduce(function(e,t){return e+t.toString().length},0),i=""!==t?" + ".concat(t):"";return"calc(".concat(n,"ch").concat(i,")")},onDragStart:function(e,t){e.dataTransfer.setData("id",t),this.dragStart=!0},onDragEnd:function(){this.dragStart=!1},onDragEnter:function(e){e.preventDefault(),this.dragStart||(this.dragEnter+=1)},onDragLeave:function(e){e.preventDefault(),this.dragStart||(this.dragEnter-=1)},onDragOver:function(e){e.preventDefault()},onDrop:function(e){if(e.preventDefault(),this.dragEnter>0){var t=e.dataTransfer.getData("id");t&&""!==t?this.changeTreeOfNode({id:t,isUserTree:this.isUser}):console.warn("Strange dropped node ".concat(e.dataTransfer.getData("id")))}else console.debug("Self dropped");this.dragStart=!1,this.dragEnter=0}}),watch:{tree:function(){this.treeSizeChangeListener()},treeSelected:function(e){e!==this.selected&&(this.selected=e)},expanded:function(e,t){if(this.$store.state.view.treeExpanded=e,t.length!==e.length){if(t.length>e.length){var n=t.filter(function(t){return e.indexOf(t)<0})[0],i=Object(Xe["f"])(this.tree,n);return this.sendStompMessage(l["a"].WATCH_REQUEST({active:!1,observationId:n,rootContextId:i.rootContextId},this.$store.state.data.session).body),this.watchedObservation.splice(this.watchedObservation.findIndex(function(e){return e.observationId===n}),1),void console.info("Stop watching observation ".concat(n," with rootContextId ").concat(i.rootContextId))}var o=e[e.length-1],r=Object(Xe["f"])(this.tree,o);r&&(this.sendStompMessage(l["a"].WATCH_REQUEST({active:!0,observationId:o,rootContextId:r.rootContextId},this.$store.state.data.session).body),this.watchedObservation.push({observationId:o,rootContextId:r.rootContextId}),console.info("Start watching observation ".concat(o," with rootContextId ").concat(r.rootContextId)),r.children.length>0&&r.children[0].id.startsWith("STUB")&&(r.children.splice(0,1),r.children.length0?(this.addChildrenToTree({parent:r}),this.$eventBus.$emit(c["h"].UPDATE_FOLDER,{folderId:r.id,visible:"undefined"!==typeof r.ticked&&r.ticked})):0===r.children.length&&this.askForChildren({parentId:r.id,offset:0,count:this.childrenToAskFor,total:r.childrenCount,visible:"undefined"!==typeof r.ticked&&(!!r.isContainer&&r.ticked)})))}},selected:function(e){null!==e?0===e.indexOf("ff_")?this.selected=null:this.selectNode(e):this.selectNode(null)},ticked:function(e,t){var n=this;if(this.$store.state.view.treeTicked=e,t.length!==e.length)if(t.length>e.length){var i=t.filter(function(t){return e.indexOf(t)<0})[0];if(i.startsWith("STUB"))return;var o=Object(Xe["f"])(this.tree,i);o&&(this.setVisibility({node:o,visible:!1}),o.isContainer&&(this.ticked=this.ticked.filter(function(e){return-1===o.children.findIndex(function(t){return t.id===e})})))}else{var r=e[e.length-1];if(r.startsWith("STUB"))return;var a=Object(Xe["f"])(this.tree,r);if(null!==a)if(a.isContainer){var s=function(){var e;n.setVisibility({node:a,visible:!0}),(e=n.ticked).push.apply(e,j()(a.children.filter(function(e){return e.parentArtifactId===a.id}).map(function(e){return e.id})))};this.askingForChildren||(a.childrenLoaded We are asking for tree now, this call is not need so exit");if(0===e.lasts.length)return t.preventDefault(),void console.debug("KlabTree -> There aren't incompleted folders, exit");var n=e.scrollElement.getBoundingClientRect(),i=n.bottom;e.lasts.forEach(function(t){var n=document.getElementById("node-".concat(t.observationId));if(null!==n){var o=n.getBoundingClientRect();if(0!==o.bottom&&o.bottom Asked for them"),e.$eventBus.$emit(c["h"].UPDATE_FOLDER,{folderId:t.folderId,visible:"undefined"!==typeof r.ticked&&r.ticked})})}}})}),this.$eventBus.$on(c["h"].UPDATE_FOLDER,this.updateFolderListener),this.$eventBus.$on(c["h"].SELECT_ELEMENT,this.selectElementListener),this.selected=this.treeSelected,this.ticked=this.treeTicked,this.expanded=this.treeExpanded},beforeDestroy:function(){var e=this;this.$eventBus.$off(c["h"].UPDATE_FOLDER,this.updateFolderListener),this.$eventBus.$off(c["h"].SELECT_ELEMENT,this.selectElementListener),this.watchedObservation.length>0&&this.watchedObservation.forEach(function(t){e.sendStompMessage(l["a"].WATCH_REQUEST({active:!1,observationId:t.observationId,rootContextId:t.rootContextId},e.$store.state.data.session).body),console.info("Stop watching observation ".concat(t.observationId," with rootContextId ").concat(t.rootContextId))})}},pn=hn,fn=(n("5b35"),Object(b["a"])(pn,Jt,Zt,!1,null,null,null));fn.options.__file="KlabTree.vue";var mn=fn.exports,gn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"relative-position klab-menu-component",attrs:{id:"oi-container"}},[n("div",{attrs:{id:"oi-controls"}},[n("div",{staticClass:"oi-control oi-text",attrs:{id:"oi-visualize"}},[n("q-checkbox",{attrs:{"keep-color":!0,color:"mc-yellow",readonly:1===e.observationInfo.valueCount||e.observationInfo.empty,disabled:1===e.observationInfo.valueCount||e.observationInfo.empty},nativeOn:{click:function(t){return e.showNode(t)}},model:{value:e.layerShow,callback:function(t){e.layerShow=t},expression:"layerShow"}})],1),n("div",{staticClass:"oi-control oi-text",attrs:{id:"oi-name"}},[n("span",[e._v(e._s(e.observationInfo.label))])]),e.hasSlider?n("div",{staticClass:"oi-control",attrs:{id:"oi-slider"}},[n("q-slider",{attrs:{min:0,max:1,step:.1,decimals:1,color:"mc-yellow",label:!1},model:{value:e.observationInfo.layerOpacity,callback:function(t){e.$set(e.observationInfo,"layerOpacity",t)},expression:"observationInfo.layerOpacity"}})],1):e._e()]),n("div",{class:e.getContainerClasses(),attrs:{id:"oi-metadata-map-wrapper"}},[n("div",{class:[this.exploreMode?"with-mapinfo":""],attrs:{id:"oi-scroll-container"}},[n("div",{attrs:{id:"oi-scroll-metadata-container"}},e._l(e.observationInfo.metadata,function(t,i){return n("div",{key:i,attrs:{id:"oi-metadata"}},[n("div",{staticClass:"oi-metadata-name oi-text"},[e._v(e._s(i))]),n("div",{staticClass:"oi-metadata-value",on:{dblclick:function(n){e.copyToClipboard(t)}}},[e._v(e._s(t))])])}))]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.hasMapInfo,expression:"hasMapInfo"}],attrs:{id:"oi-mapinfo-container"},on:{mouseenter:function(t){e.setInfoShowed({index:0,categories:[],values:[e.mapSelection.value]})},mouseleave:function(t){e.setInfoShowed(null)}}},[n("div",{attrs:{id:"oi-mapinfo-map"}}),n("div",{staticClass:"oi-pixel-indicator",attrs:{id:"oi-pixel-h"}}),n("div",{staticClass:"oi-pixel-indicator",attrs:{id:"oi-pixel-v"}})])]),n("histogram-viewer",{attrs:{dataSummary:e.observationInfo.dataSummary,colormap:e.observationInfo.colormap}})],1)},vn=[];gn._withStripped=!0;var _n=n("e00b"),bn=n("5eee"),yn=n("a2c7"),Mn={name:"ObservationInfo",components:{HistogramViewer:_n["a"]},mixins:[At["a"]],data:function(){return{scrollBar:void 0,layerShow:!1,infoShowed:{index:-1,categories:[],values:[]},infoMap:null}},computed:a()({},Object(s["c"])("view",["observationInfo","mapSelection","exploreMode","viewer"]),{hasSlider:function(){return this.observationInfo.visible&&null!==this.observationInfo.viewerIdx&&this.viewer(this.observationInfo.viewerIdx).type.component===c["N"].VIEW_MAP.component},hasMapInfo:function(){return this.exploreMode&&null!==this.mapSelection.pixelSelected&&this.mapSelection.layerSelected.get("id").startsWith("cl_".concat(this.observationInfo.id))}}),methods:{copyToClipboard:function(e){Object(Fe["b"])(e),this.$q.notify({message:this.$t("messages.copiedToClipboard"),type:"info",icon:"mdi-information",timeout:1e3})},getContainerClasses:function(){var e=[];return null!==this.observationInfo.dataSummary&&e.push("k-with-histogram"),e},showNode:function(){this.$emit(c["h"].SHOW_NODE,{nodeId:this.observationInfo.id,state:this.layerShow})},viewerClosedListener:function(e){var t=e.idx;t===this.observationInfo.viewerIdx&&(this.layerShow=!1)},setInfoShowed:function(e){this.$eventBus.$emit(c["h"].SHOW_DATA_INFO,e)}},watch:{mapSelection:function(){var e=this;if(null!==this.mapSelection.layerSelected){var t=this.infoMap.getLayers().getArray();null!==this.mapSelection.pixelSelected?(t.length>1&&this.infoMap.removeLayer(t[1]),this.infoMap.addLayer(this.mapSelection.layerSelected),this.infoMap.getView().setCenter(this.mapSelection.pixelSelected),this.infoMap.getView().setZoom(14),this.$nextTick(function(){e.infoMap.updateSize()}),this.$eventBus.$emit(c["h"].SHOW_DATA_INFO,{index:0,categories:[],values:[this.mapSelection.value]})):t.length>1&&this.infoMap.removeLayer(t[1])}}},mounted:function(){this.scrollBar=new _e(document.getElementById("oi-scroll-container")),this.infoMap=new bn["a"]({view:new yn["a"]({center:[0,0],zoom:12}),target:"oi-mapinfo-map",layers:[Tt["c"].EMPTY_LAYER],controls:[],interactions:[]}),this.layerShow=this.observationInfo.visible,this.$eventBus.$on(c["h"].VIEWER_CLOSED,this.viewerClosedListener)},beforeDestroy:function(){this.$eventBus.$on(c["h"].VIEWER_CLOSED,this.viewerClosedListener)}},wn=Mn,Ln=(n("db0a"),Object(b["a"])(wn,gn,vn,!1,null,null,null));Ln.options.__file="ObservationInfo.vue";var Sn=Ln.exports,Cn=V["b"].height,En={name:"klabTreeContainer",components:{KlabSplitter:$t,KlabTree:mn,ObservationInfo:Sn},data:function(){return{outContainerHeight:void 0,userTreeMaxHeight:void 0,userTreeHeight:void 0,treeHeight:void 0,detailsOpen:!1}},computed:a()({},Object(s["c"])("data",["tree","userTree","treeNode","hasTree","mainTreeHasNodes","hasContext"]),Object(s["c"])("stomp",["taskOfContextIsAlive"]),Object(s["c"])("view",["hasObservationInfo","isDocked"])),methods:a()({},Object(s["b"])("view",["setObservationInfo"]),{onCloseInfo:function(){this.setObservationInfo(null),this.$eventBus.$emit(c["h"].OBSERVATION_INFO_CLOSED)},informTree:function(e){var t=e.nodeId,n=e.state,i=this.treeNode(t);i&&(this.$refs["kt-tree"]&&this.$refs["kt-tree"].changeNodeState({nodeId:t,state:n}),i.userNode&&this.$refs["kt-user-tree"]&&this.$refs["kt-user-tree"].changeNodeState({nodeId:t,state:n}))},showNodeListener:function(e){this.informTree(e)},outContainerResized:function(){this.isDocked?this.outContainerHeight=Cn(document.getElementById("dmc-tree"))+24:this.$refs["kt-out-container"]&&(this.outContainerHeight=Number.parseFloat(window.getComputedStyle(this.$refs["kt-out-container"],null).getPropertyValue("max-height"))),this.recalculateTreeHeight()},recalculateTreeHeight:function(){var e=this;this.$nextTick(function(){e.userTreeMaxHeight=e.mainTreeHasNodes()?e.outContainerHeight/2:e.outContainerHeight;var t=document.getElementById("kt-user-tree");t&&e.outContainerHeight&&(e.userTreeHeight=Cn(t),e.treeHeight=e.outContainerHeight-e.userTreeHeight)})},initTree:function(){var e=this;this.hasTree&&this.$nextTick(function(){e.outContainerResized(),document.getElementById("kt-tree-details").addEventListener("toggle",function(t){e.detailsOpen=t.srcElement.open,e.recalculateTreeHeight()})})}}),watch:{userTree:function(){this.recalculateTreeHeight()},tree:function(){this.recalculateTreeHeight()},hasTree:function(){this.initTree()},taskOfContextIsAlive:function(){this.detailsOpen=this.taskOfContextIsAlive}},mounted:function(){this.$eventBus.$on(c["h"].SHOW_NODE,this.showNodeListener),window.addEventListener("resize",this.outContainerResized),this.initTree()},beforeDestroy:function(){this.$eventBus.$off(c["h"].SHOW_NODE,this.showNodeListener),window.removeEventListener("resize",this.outContainerResized)}},An=En,Tn=(n("a663"),Object(b["a"])(An,qt,Ft,!1,null,null,null));Tn.options.__file="KlabTreePane.vue";var On=Tn.exports,kn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ot-wrapper",class:{"ot-no-timestamp":0===e.timeEvents.length||-1===e.timestamp}},[n("div",{staticClass:"ot-container",class:{"ot-active-timeline":e.isVisible,"ot-docked":e.isMainControlDocked}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isVisible,expression:"isVisible"}],staticClass:"ot-player"},[n("q-icon",{class:{"cursor-pointer":e.timestamp0},on:{click:function(t){if(t.target!==t.currentTarget)return null;e.onClick(t,function(){e.changeTimestamp(e.scaleReference.start)})},dblclick:function(t){e.onDblClick(t,function(){e.changeTimestamp(-1)})}}},[-1===e.timestamp?n("q-icon",{staticClass:"ot-time-origin",class:{"ot-time-origin-loaded":e.timeEvents.length},attrs:{name:"mdi-circle-medium",color:"mc-main"}}):e._e(),0!==e.timeEvents.length?n("q-tooltip",{attrs:{offset:[0,8],self:"top middle",anchor:"bottom middle"},domProps:{innerHTML:e._s(e.formatDate(e.scaleReference.start))}}):e._e()],1),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.isVisible,expression:"!isVisible"}],staticClass:"ot-date-text"},[e._v(e._s(e.startDate))])]),n("div",{ref:"ot-timeline-container",staticClass:"ot-timeline-container col",class:{"ot-timeline-with-time":-1!==e.timestamp}},[n("div",{ref:"ot-timeline",staticClass:"ot-timeline",class:{"ot-with-modifications":0!==e.timeEvents.length&&e.isVisible},on:{mousemove:e.moveOnTimeline,mouseenter:function(t){e.timelineActivated=!0},mouseleave:function(t){e.timelineActivated=!1},click:function(t){e.changeTimestamp(e.getDateFromPosition(t))}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isVisible,expression:"isVisible"}],staticClass:"ot-timeline-viewer"}),e._l(e.visibleEvents,function(t){return n("div",{key:t.id+"-"+t.timestamp,staticClass:"ot-modification-container",style:{left:"calc("+e.calculatePosition(t.timestamp)+"px - 1px)"}},[n("div",{staticClass:"ot-modification"})])}),n("div",{staticClass:"ot-loaded-time",style:{width:e.engineTimestamp>0?"calc("+e.calculatePosition(e.engineTimestamp)+"px + 4px)":0}}),-1!==e.timestamp?n("div",{staticClass:"ot-actual-time",style:{left:"calc("+e.calculatePosition(e.visibleTimestamp)+"px + "+(e.timestamp===e.scaleReference.end?"0":"1")+"px)"}}):e._e(),0!==e.timeEvents.length?n("q-tooltip",{staticClass:"ot-date-tooltip",attrs:{offset:[0,15],self:"top middle",anchor:"bottom middle",delay:300},domProps:{innerHTML:e._s(e.timelineDate)}}):e._e()],2)]),n("div",{staticClass:"ot-date-container"},[n("div",{staticClass:"ot-date ot-date-end col",class:{"ot-with-modifications":0!==e.timeEvents.length&&e.isVisible,"ot-date-loaded":e.engineTimestamp===e.scaleReference.end},on:{click:function(t){if(t.target!==t.currentTarget)return null;e.changeTimestamp(e.scaleReference.end)}}},[0!==e.timeEvents.length?n("q-tooltip",{attrs:{offset:[0,8],self:"top middle",anchor:"bottom middle"},domProps:{innerHTML:e._s(e.formatDate(e.scaleReference.end))}}):e._e()],1),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.isVisible,expression:"!isVisible"}],staticClass:"ot-date-text"},[e._v(e._s(e.endDate))])])])]),e.isMainControlDocked?n("observation-time"):e._e()],1)},xn=[];kn._withStripped=!0;var Dn=n("b8c1"),Rn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.timeEvents.length>0?n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"otv-now",class:{"otv-novisible":-1===e.timestamp,"otv-docked":e.isMainControlDocked,"otv-running":e.isTimeRunning},domProps:{innerHTML:e._s(e.formattedTimestamp)}})]):e._e()},zn=[];Rn._withStripped=!0;var Pn={name:"ObservationTime",data:function(){return{formattedTimestamp:void 0}},computed:a()({},Object(s["c"])("data",["timestamp","timeEvents"]),Object(s["c"])("view",["isMainControlDocked","isTimeRunning"])),methods:{formatTimestamp:function(){if(-1===this.timestamp)this.formattedTimestamp=this.$t("label.noTimeSet");else{var e=yt()(this.timestamp);this.formattedTimestamp="".concat(e.format("L")," ").concat(e.format("HH:mm:ss:SSS"))}}},watch:{timestamp:function(){this.formatTimestamp()}},created:function(){this.formatTimestamp()}},Nn=Pn,In=(n("8622"),Object(b["a"])(Nn,Rn,zn,!1,null,null,null));In.options.__file="ObservationTime.vue";var Bn=In.exports,jn={name:"ObservationsTimeline",components:{ObservationTime:Bn},mixins:[Dn["a"]],data:function(){var e=this;return{timelineActivated:!1,moveOnTimelineFunction:Object(Le["a"])(function(t){e.timelineActivated&&(e.timelineDate=e.formatDate(e.getDateFromPosition(t)))},300),timelineDate:null,timelineContainer:void 0,timelineLeft:void 0,visibleTimestamp:-1,playTimer:null,interval:void 0,speedMultiplier:1,selectSpeed:!1,pressTimer:null,longPress:!1}},computed:a()({},Object(s["c"])("data",["scaleReference","schedulingResolution","timeEvents","timestamp","modificationsTask","hasContext","visibleEvents","engineTimestamp"]),Object(s["c"])("stomp",["tasks"]),Object(s["c"])("view",["isMainControlDocked"]),{startDate:function(){return null!==this.scaleReference?this.formatDate(this.scaleReference.start,!0):""},endDate:function(){return null!==this.scaleReference?this.formatDate(this.scaleReference.end,!0):""},isVisible:function(){return this.visibleEvents.length>0}}),methods:a()({},Object(s["b"])("data",["setTimestamp","setModificationsTask"]),Object(s["b"])("view",["setTimeRunning"]),{formatDate:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null===e)return"";var i=yt()(e);return t?i.format("DD MMM YYYY"):'
'.concat(i.format("L")).concat(n?" - ":"
").concat(i.format("HH:mm:ss:SSS"),"
")},calculatePosition:function(e){if(this.timelineContainer||(this.timelineContainer=this.$refs["ot-timeline-container"]),!this.timelineContainer)return 0;var t=Math.floor((e-this.scaleReference.start)*this.timelineContainer.clientWidth/(this.scaleReference.end-this.scaleReference.start));return t},moveOnTimeline:function(e){this.moveOnTimelineFunction(e)},getDateFromPosition:function(e){if(this.timelineContainer||(this.timelineContainer=this.$refs["ot-timeline-container"]),!this.timelineContainer)return 0;var t=this.timelineContainer.clientWidth,n=e.clientX-this.timelineContainer.getBoundingClientRect().left,i=this.scaleReference.start+n*(this.scaleReference.end-this.scaleReference.start)/t;return i>this.scaleReference.end?i=this.scaleReference.end:ithis.scaleReference.end?(this.visibleTimestamp=this.scaleReference.end,this.setTimestamp(this.scaleReference.end)):(this.visibleTimestamp=e,this.setTimestamp(e)))},stop:function(){clearInterval(this.playTimer),this.playTimer=null},run:function(){var e=this;if(null!==this.playTimer)this.stop();else{this.interval||this.calculateInterval(),-1===this.timestamp&&this.changeTimestamp(this.scaleReference.start);var t={start:this.timestamp,stop:this.timestamp+this.interval.buffer};this.playTimer=setInterval(function(){e.changeTimestamp(Math.floor(e.timestamp+e.interval.step)),e.$nextTick(function(){e.timestamp>=e.scaleReference.end?e.stop():e.timestamp>t.stop-e.interval.step&&e.timestamp<=e.scaleReference.end&&(t={start:e.timestamp,stop:e.timestamp+e.interval.buffer},e.$eventBus.$emit(c["h"].NEED_LAYER_BUFFER,t))})},this.interval.interval),this.$eventBus.$emit(c["h"].NEED_LAYER_BUFFER,t)}},calculateInterval:function(){if(this.scaleReference&&this.schedulingResolution){var e=1,t=this.calculatePosition(this.scaleReference.start+this.schedulingResolution);t>1&&(e=t);var n=(this.schedulingResolution||c["L"].DEFAULT_STEP)/e,i=(this.scaleReference.end-this.scaleReference.start)/n,o=Math.max(document.body.clientHeight,document.body.clientWidth),r=(this.scaleReference.end-this.scaleReference.start)/4,a=o/e;a*ic["L"].MAX_PLAY_TIME&&(a=c["L"].MAX_PLAY_TIME/i),a/=this.speedMultiplier,this.interval={step:n,steps:i,interval:a,buffer:r,multiplier:this.speedMultiplier},console.info("Step: ".concat(this.interval.step,"; Steps: ").concat(this.interval.steps,"; Interval: ").concat(this.interval.interval,"; Buffer: ").concat(this.interval.buffer))}},startPress:function(){var e=this;this.longPress=!1,this.pressTimer?(clearInterval(this.pressTimer),this.pressTimer=null):this.pressTimer=setTimeout(function(){e.selectSpeed=!0,e.longPress=!0},600)},stopPress:function(){clearInterval(this.pressTimer),this.pressTimer=null,!this.longPress&&this.timestamp0&&this.modificationsTask){var n=e.find(function(e){return e.id===t.modificationsTask.id});n&&!n.alive&&this.setModificationsTask(null)}},visibleEvents:function(){0===this.visibleEvents.length&&null!==this.playTimer&&this.stop()},timestamp:function(e,t){!this.isMainControlDocked||-1!==e&&-1!==t||(this.timelineContainer=void 0)},playTimer:function(){this.setTimeRunning(null!==this.playTimer)}},mounted:function(){this.timelineDate=this.startTime,this.visibleTimestamp=this.timestamp,yt.a.locale(window.navigator.userLanguage||window.navigator.language),this.$eventBus.$on(c["h"].NEW_SCHEDULING,this.calculateInterval)},beforeDestroy:function(){this.$eventBus.$off(c["h"].NEW_SCHEDULING,this.calculateInterval)},destroyed:function(){this.stop()}},Yn=jn,Hn=(n("31da"),Object(b["a"])(Yn,kn,xn,!1,null,null,null));Hn.options.__file="ObservationsTimeline.vue";var Wn,qn=Hn.exports,Fn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"klab-menu-component kp-container",attrs:{id:"klab-log-pane"}},[n("div",{staticClass:"klp-level-selector"},[n("ul",e._l(e.LOG_ICONS,function(t,i,o){return n("li",{key:o,class:{"klp-selected":e.hasLevel(i)}},[n("q-btn",{staticClass:"klp-chip",attrs:{dense:"",size:"sm",icon:t.icon,color:t.color},on:{click:function(t){e.toggleLevel(i)}}},[n("q-tooltip",{attrs:{delay:600,offset:[0,5]}},[e._v(e._s(e.$t(t.i18nlabel)))])],1)],1)}))]),n("q-list",{staticClass:"no-padding no-border",attrs:{dense:"",dark:"",id:"log-container"}},[0!==e.logs.length?e._l(e.logs,function(t,i){return n("q-item",{key:i,staticClass:"log-item q-pa-xs"},[e.isSeparator(t)?[n("q-item-main",{staticClass:"klp-separator"},[n("span",[e._v(e._s(e.$t("label.contextReset")))])])]:[n("q-item-side",[n("q-item-tile",{staticStyle:{"font-size":"18px"},attrs:{icon:e.logColorAndIcon(t).icon,color:e.logColorAndIcon(t).color}})],1),n("q-item-main",[n("q-item-tile",[e._v(e._s(e.logText(t)))])],1)]],2)}):[n("q-item",{staticClass:"log-item log-no-items q-pa-xs"},[n("q-item-side",[n("q-item-tile",{staticStyle:{"font-size":"18px"},attrs:{icon:0===e.levels.length?"mdi-alert-outline":"mdi-information-outline"}})],1),n("q-item-main",[n("q-item-tile",[e._v(e._s(0===e.levels.length?e.$t("messages.noLevelSelected"):e.$t("messages.noLogItems")))])],1)],1)]],2)],1)},Xn=[];Fn._withStripped=!0;var Un=(Wn={},p()(Wn,O["a"].TYPE_ERROR,{i18nlabel:"label.levelError",icon:"mdi-close-circle",color:"negative"}),p()(Wn,O["a"].TYPE_WARNING,{i18nlabel:"label.levelWarning",icon:"mdi-alert",color:"warning"}),p()(Wn,O["a"].TYPE_INFO,{i18nlabel:"label.levelInfo",icon:"mdi-information",color:"info"}),p()(Wn,O["a"].TYPE_DEBUG,{i18nlabel:"label.levelDebug",icon:"mdi-console-line",color:"grey-6"}),p()(Wn,O["a"].TYPE_ENGINEEVENT,{i18nlabel:"label.levelEngineEvent",icon:"mdi-cog-outline",color:"secondary"}),Wn),Vn={name:"KLabLogPane",data:function(){return{scrollBar:null,log:null,LOG_ICONS:Un}},computed:a()({},Object(s["c"])("view",["klabLogReversedAndFiltered","levels"]),{logs:function(){return 0===this.levels.length?[]:this.klabLogReversedAndFiltered(5===this.levels.length?[]:this.levels)}}),methods:a()({},Object(s["b"])("view",["setLevels","toggleLevel"]),{logText:function(e){if(e&&e.payload){if(e.type===O["a"].TYPE_ENGINEEVENT){var t=e.time;return e.payload.timestamp&&(t=yt()(e.payload.timestamp)),"".concat(t.format("HH:mm:ss"),": ").concat(this.$t("engineEventLabels.evt".concat(e.payload.type))," ").concat(e.payload.started?"started":"stopped")}return"".concat(e.time?e.time.format("HH:mm:ss"):this.$t("messages.noTime"),": ").concat(e.payload)}return this.$t("label.klabNoMessage")},logColorAndIcon:function(e){var t=Un[e.type];return t?Un[e.type]:(console.warn("Log type: ".concat(e.type),e),Un.Error)},isSeparator:function(e){return e&&e.payload&&e.payload.separator},hasLevel:function(e){return-1!==this.levels.indexOf(e)}}),mounted:function(){this.scrollBar=new _e(document.getElementById("klab-log-pane"))}},Gn=Vn,Kn=(n("f58f"),Object(b["a"])(Gn,Fn,Xn,!1,null,null,null));Kn.options.__file="KlabLogPane.vue";var $n=Kn.exports,Jn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sb-scales"},[e.hasNextScale()?n("div",{staticClass:"klab-button klab-action klab-mdi-next-scale"},[n("q-icon",{attrs:{name:"mdi-refresh",color:"mc-yellow"},nativeOn:{click:function(t){return e.rescaleContext(t)}}},[n("q-tooltip",{attrs:{delay:600,anchor:e.anchorType,self:e.selfType,offset:e.offsets}},[e._v(e._s(e.$t("tooltips.refreshScale")))])],1)],1):e._e(),n("div",{staticClass:"klab-button klab-action",class:[{active:e.showSpaceScalePopup}],on:{mouseover:function(t){e.toggleScalePopup("space",!0)},mouseleave:function(t){e.toggleScalePopup("space",!1)},click:function(t){e.scaleEditing={active:!0,type:e.SCALE_TYPE.ST_SPACE}}}},[n("q-icon",{class:{"klab-mdi-next-scale":e.hasNextScale(e.SCALE_TYPE.ST_SPACE)},attrs:{name:"mdi-earth"}},[n("q-popover",{attrs:{"anchor-click":!1,anchor:e.anchorType,self:e.selfType,offset:e.offsets},model:{value:e.showSpaceScalePopup,callback:function(t){e.showSpaceScalePopup=t},expression:"showSpaceScalePopup"}},[n("div",{staticClass:"mc-scalereference",attrs:{id:"mc-spacereference"}},[n("scale-reference",{attrs:{width:e.spaceWidth?e.spaceWidth:e.scaleWidth,"scale-type":"space",light:!0,editable:!1}}),e.hasNextScale(e.SCALE_TYPE.ST_SPACE)?n("scale-reference",{staticClass:"sb-next-scale",attrs:{width:e.spaceWidth?e.spaceWidth:e.scaleWidth,"scale-type":"space","use-next":!0,light:!0,editable:!1}}):e._e(),n("div",{staticClass:"sb-tooltip"},[e._v(e._s(e.$t("tooltips.clickToEdit",{type:e.SCALE_TYPE.ST_SPACE})))])],1)])],1)],1),n("div",{staticClass:"klab-button klab-action",class:[{active:e.showTimeScalePopup}],on:{mouseover:function(t){e.toggleScalePopup("time",!0)},mouseleave:function(t){e.toggleScalePopup("time",!1)},click:function(t){e.scaleEditing={active:!0,type:e.SCALE_TYPE.ST_TIME}}}},[n("q-icon",{class:{"klab-mdi-next-scale":e.hasNextScale(e.SCALE_TYPE.ST_TIME)},attrs:{name:"mdi-clock"}},[n("q-popover",{attrs:{"anchor-click":!1,anchor:e.anchorType,self:e.selfType,offset:e.offsets},model:{value:e.showTimeScalePopup,callback:function(t){e.showTimeScalePopup=t},expression:"showTimeScalePopup"}},[n("div",{staticClass:"mc-scalereference",attrs:{id:"mc-timereference"}},[n("scale-reference",{attrs:{width:e.timeWidth?e.timeWidth:e.scaleWidth,"scale-type":"time",light:!0,editable:!1}}),e.hasNextScale(e.SCALE_TYPE.ST_TIME)?n("scale-reference",{staticClass:"sb-next-scale",attrs:{width:"timeWidth ? timeWidth : scaleWidth","scale-type":"time",light:!0,editable:!1,"use-next":!0}}):e._e(),n("div",{staticClass:"sb-tooltip"},[e._v(e._s(e.$t("tooltips.clickToEdit",{type:e.SCALE_TYPE.ST_TIME})))])],1)])],1)],1)])},Zn=[];Jn._withStripped=!0;var Qn={name:"ScaleButtons",components:{ScaleReference:Et},props:{docked:{type:Boolean,required:!0},offset:{type:Number,default:8},scaleWidth:{type:String,default:"140px"},timeWidth:{type:String,default:void 0},spaceWidth:{type:String,default:void 0}},data:function(){return{showSpaceScalePopup:!1,showTimeScalePopup:!1,anchorType:this.docked?"center right":"bottom left",selfType:this.docked?"center left":"top left",offsets:this.docked?[this.offset,0]:[0,this.offset],SCALE_TYPE:c["B"]}},computed:a()({},Object(s["c"])("data",["nextScale","hasNextScale","scaleReference","contextId"]),{scaleEditing:{get:function(){return this.$store.getters["view/isScaleEditing"]},set:function(e){var t=e.active,n=e.type;this.$store.dispatch("view/setScaleEditing",{active:t,type:n})}}}),methods:{toggleScalePopup:function(e,t){"space"===e?(this.showSpaceScalePopup=t,this.showTimeScalePopup=!1):"time"===e&&(this.showSpaceScalePopup=!1,this.showTimeScalePopup=t)},rescaleContext:function(){this.hasNextScale()&&this.sendStompMessage(l["a"].SCALE_REFERENCE(a()({scaleReference:this.scaleReference,contextId:this.contextId},this.hasNextScale(c["B"].ST_SPACE)&&{spaceResolution:this.nextScale.spaceResolutionConverted,spaceUnit:this.nextScale.spaceUnit},this.hasNextScale(c["B"].ST_TIME)&&{timeResolutionMultiplier:this.nextScale.timeResolutionMultiplier,timeUnit:this.nextScale.timeUnit,start:this.nextScale.start,end:this.nextScale.end}),this.$store.state.data.session).body)},noTimeScaleChange:function(){this.$q.notify({message:this.$t("messages.availableInFuture"),type:"info",icon:"mdi-information",timeout:1e3})}}},ei=Qn,ti=(n("1817"),Object(b["a"])(ei,Jn,Zn,!1,null,null,null));ti.options.__file="ScaleButtons.vue";var ni=ti.exports,ii=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"kvs-container"},[n("div",{staticClass:"klab-button klab-action",class:{disabled:0===e.knowledgeViews.length}},[n("div",{staticClass:"kvs-button mdi mdi-text-box-multiple float-left"}),e.docked?e._e():n("q-icon",{staticClass:"float-left klab-item",staticStyle:{padding:"3px 0 0 8px"},attrs:{name:"mdi-chevron-down"}},[e.hasNew?n("span",{staticClass:"klab-button-notification"}):e._e()]),n("q-tooltip",{attrs:{offset:[8,0],self:e.selfTooltipType,anchor:e.anchorTooltipType,delay:600}},[e._v(e._s(0===e.knowledgeViews.length?e.$t("tooltips.noKnowledgeViews"):e.$t("tooltips.knowledgeViews")))])],1),n("q-popover",{staticClass:"kvs-popover",attrs:{disable:0===e.knowledgeViews.length,anchor:e.anchorType,self:e.selfType,offset:e.offsets},model:{value:e.kvListOpen,callback:function(t){e.kvListOpen=t},expression:"kvListOpen"}},[n("div",{staticClass:"kvs-popover-container"},[n("q-list",{staticClass:"kvs-list",attrs:{link:"","no-border":"",dense:"",dark:""}},e._l(e.knowledgeViews,function(t){return n("q-item",{key:t.viewId,nativeOn:{click:function(n){e.selectKnowledgeView(t.viewId)}}},[n("q-item-side",{attrs:{icon:e.KNOWLEDGE_VIEWS.find(function(e){return e.viewClass===t.viewClass}).icon}}),n("q-item-main",[n("div",[e._v(e._s(t.label))])]),n("q-tooltip",{ref:"kv-tooltip-"+t.viewId,refInFor:!0,attrs:{offset:[8,0],self:"center left",anchor:"center right"}},[e._v(e._s(t.title))])],1)}))],1)])],1)},oi=[];ii._withStripped=!0;var ri={name:"KnoledgeViewsSelector",props:{docked:{type:Boolean,required:!0},offset:{type:Number,default:0}},data:function(){return{anchorTooltipType:this.docked?"bottom left":"center right",selfTooltipType:this.docked?"top left":"center left",offsetTooltip:this.docked?[0,this.offset]:[this.offset,0],anchorType:this.docked?"center right":"bottom left",selfType:this.docked?"center left":"top left",offsets:this.docked?[this.offset,0]:[0,this.offset],kvListOpen:!1,hasNew:!1,KNOWLEDGE_VIEWS:c["t"]}},computed:a()({},Object(s["c"])("data",["knowledgeViews"]),{knowledgeViewsLength:function(){return this.knowledgeViews.length}}),methods:a()({},Object(s["b"])("data",["showKnowledgeView"]),{selectKnowledgeView:function(e){var t=this;this.showKnowledgeView(e),this.$nextTick(function(){t.kvListOpen=!1;var n=t.$refs["kv-tooltip-".concat(e)];n&&n.length>0&&n[0].hide()})}}),watch:{knowledgeViewsLength:function(e,t){e>t&&(this.hasNew=!0)},kvListOpen:function(){this.kvListOpen&&this.hasNew&&(this.hasNew=!1)}}},ai=ri,si=(n("0e44"),Object(b["a"])(ai,ii,oi,!1,null,null,null));si.options.__file="KnowledgeViewsSelector.vue";var ci=si.exports,li=V["b"].width,ui=V["b"].height,di={top:25,left:15},hi={name:"klabMainControl",components:{KlabSpinner:M,KlabSearchBar:Nt,KlabBreadcrumbs:Wt,KlabTreePane:On,KlabLogPane:$n,ScrollingText:gt,ScaleButtons:ni,MainActionsButtons:Oe,StopActionsButtons:Ne,ObservationsTimeline:qn,KnowledgeViewsSelector:ci},directives:{Draggable:X},mixins:[rt],data:function(){var e=this;return{isHidden:!1,dragMCConfig:{handle:void 0,resetInitialPos:!1,onPositionChange:Object(Le["a"])(function(t,n,i){e.onDebouncedPositionChanged(i)},100),onDragStart:function(){e.dragging=!0},onDragEnd:this.checkWhereWasDragged,fingers:2},correctedPosition:{top:0,left:0},defaultLeft:di.left,defaultTop:di.top,centeredLeft:di.left,dragging:!1,wasMoved:!1,askForDocking:!1,leftMenuMaximized:"".concat(c["u"].LEFTMENU_MAXSIZE,"px"),boundingElement:void 0,selectedTab:"klab-tree-pane",draggableElement:void 0,draggableElementWidth:0,kvListOpen:!1,KNOWLEDGE_VIEWS:c["t"]}},computed:a()({},Object(s["c"])("data",["hasContext","contextHasTime","knowledgeViews"]),Object(s["c"])("stomp",["hasTasks"]),Object(s["c"])("view",["spinnerColor","searchIsFocused","searchIsActive","isDrawMode","fuzzyMode","largeMode","windowSide","layout","hasHeader"]),{qCardStyle:function(){return{top:"".concat(this.defaultTop+this.correctedPosition.top,"px"),left:"".concat(this.centeredLeft+this.correctedPosition.left,"px"),"margin-top":"-".concat(this.correctedPosition.top,"px"),"margin-left":"-".concat(this.correctedPosition.left,"px")}}}),methods:a()({},Object(s["b"])("view",["setMainViewer","setLargeMode","searchStart","searchFocus","setWindowSide","setObservationInfo"]),{callStartType:function(e){this.searchIsFocused?e.evt.stopPropagation():this.$refs["klab-search-bar"].startType(e)},onDebouncedPositionChanged:function(e){this.askForDocking=!!(this.hasContext&&this.dragging&&null===this.layout&&e&&e.x<=30+this.correctedPosition.left)},hide:function(){this.dragMCConfig.resetInitialPos=!1,this.isHidden=!0},show:function(){this.dragMCConfig.resetInitialPos=!1,this.isHidden=!1},getRightLeft:function(){var e=li(this.boundingElement);return e-this.draggableElement.offsetWidth-di.left+this.correctedPosition.left},getCenteredLeft:function(){var e;if("undefined"===typeof this.draggableElement||this.hasContext)e=this.defaultLeft;else{var t=this.draggableElementWidth,n=li(this.boundingElement);e=(n-t)/2}return e+this.correctedPosition.left},changeDraggablePosition:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&(e.top+=this.correctedPosition.top,e.left+=this.correctedPosition.left),this.draggableElement.style.left="".concat(e.left,"px"),this.draggableElement.style.top="".concat(e.top,"px");var n=JSON.parse(this.dragMCConfig.handle.getAttribute("draggable-state"));n.startDragPosition=e,n.currentDragPosition=e;var i=document.querySelector(".mc-q-card-title");i?i.setAttribute("draggable-state",JSON.stringify(n)):this.dragMCConfig.handle.setAttribute("draggable-state",JSON.stringify(n))},checkWhereWasDragged:function(){if(this.dragging=!1,this.askForDocking)return this.askForDocking=!1,this.setMainViewer(c["M"].DOCKED_DATA_VIEWER),void this.setObservationInfo(null);this.draggableElement.offsetTop<0&&this.changeDraggablePosition({top:0,left:Math.max(this.draggableElement.offsetLeft,0)}),this.draggableElement.offsetLeft+this.draggableElement.offsetWidth<=0&&this.changeDraggablePosition({top:Math.max(this.draggableElement.offsetTop,0),left:0}),this.draggableElement.offsetLeft>=li(this.boundingElement)&&this.changeDraggablePosition({top:Math.max(this.draggableElement.offsetTop,0),left:Math.max(li(this.boundingElement)-this.draggableElement.offsetWidth,0)}),this.draggableElement.offsetTop>=ui(this.boundingElement)&&this.changeDraggablePosition({top:Math.max(ui(this.boundingElement)-this.draggableElement.offsetHeight,0),left:Math.max(this.draggableElement.offsetLeft,0)})},getBGColor:function(e){return"rgba(".concat(this.spinnerColor.rgb.r,",").concat(this.spinnerColor.rgb.g,",").concat(this.spinnerColor.rgb.b,", ").concat(e,")")},mapSizeChangedListener:function(e){var t=this;if(e&&"changelayout"===e.type)return e.align&&this.setWindowSide(e.align),this.updateCorrectedPosition(),void this.$nextTick(function(){t.changeDraggablePosition({left:t.hasContext?"left"===t.windowSide?t.defaultLeft:t.getRightLeft():t.getCenteredLeft(),top:t.defaultTop},!1)});this.dragMCConfig.initialPosition={left:this.centeredLeft,top:this.defaultTop},this.checkWhereWasDragged()},spinnerDoubleClickListener:function(){this.hide()},updateCorrectedPosition:function(){var e=document.querySelector(".kapp-header-container"),t=document.querySelector(".kapp-left-container aside"),n=e?ui(e):0,i=t?li(t):0;this.correctedPosition={top:n,left:i},this.defaultTop=di.top+n,this.defaultLeft=di.left+i,this.centeredLeft=this.getCenteredLeft()},updateDraggable:function(){this.updateCorrectedPosition(),this.draggableElement=document.querySelector(".kexplorer-main-container .mc-q-card"),this.draggableElementWidth=li(this.draggableElement),this.dragMCConfig.handle=document.querySelector(".kexplorer-main-container .mc-q-card-title"),this.boundingElement=document.querySelector(".kexplorer-container"),this.centeredLeft=this.getCenteredLeft(),this.dragMCConfig.initialPosition={left:this.centeredLeft,top:this.defaultTop}},focusSearch:function(e){this.moved||e&&e.target.classList&&(e.target.classList.contains("mcm-button")||e.target.classList.contains("q-icon")||e.target.classList.contains("q-btn")||e.target.classList.contains("q-btn-inner"))||(this.searchIsActive?this.searchIsFocused||this.searchFocus({focused:!0}):this.searchStart(""))}}),watch:{hasContext:function(){var e=this;this.setLargeMode(0),this.$nextTick(function(){e.changeDraggablePosition({top:e.defaultTop,left:e.hasContext?"left"===e.windowSide?e.defaultLeft:e.getRightLeft():e.getCenteredLeft()},!1)})},largeMode:function(){var e=this;this.hasContext||this.$nextTick(function(){var t=c["g"].SEARCHBAR_INCREMENT*e.largeMode/2;if(t>=0){var n=parseFloat(e.draggableElement.style.left),i=n-e.getCenteredLeft();i%(c["g"].SEARCHBAR_INCREMENT/2)===0&&e.changeDraggablePosition({top:parseFloat(e.draggableElement.style.top),left:e.getCenteredLeft()-t},!1)}})}},created:function(){this.defaultTop=di.top,this.defaultLeft=di.left,this.VIEWERS=c["M"]},mounted:function(){this.updateDraggable(),this.$eventBus.$on(c["h"].SPINNER_DOUBLE_CLICK,this.spinnerDoubleClickListener),this.$eventBus.$on(c["h"].MAP_SIZE_CHANGED,this.mapSizeChangedListener)},beforeDestroy:function(){this.$eventBus.$off(c["h"].SPINNER_DOUBLE_CLICK,this.spinnerDoubleClickListener),this.$eventBus.$off(c["h"].MAP_SIZE_CHANGED,this.mapSizeChangedListener)}},pi=hi,fi=(n("96fa"),Object(b["a"])(pi,Me,we,!1,null,null,null));fi.options.__file="KlabMainControl.vue";var mi=fi.exports,gi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"no-padding relative-position full-width"},e._l(e.dataViewers,function(t){return n("div",{key:t.idx,class:["no-padding",t.main?"absolute-top full-height full-width":"absolute thumb-view"],style:e.viewerStyle(t),attrs:{id:"dv-viewer-"+t.idx}},[t.main?e._e():n("div",{staticClass:"thumb-viewer-title absolute-top"},[n("div",{staticClass:"relative-position"},[n("div",{staticClass:"thumb-viewer-label float-left q-ma-sm",class:[t.type.hideable?"thumb-closable":""]},[e._v("\n "+e._s(e.capitalize(t.label))+"\n ")]),n("div",{staticClass:"float-right q-ma-xs thumb-viewer-button"},[n("q-btn",{staticClass:"shadow-1",attrs:{round:"",color:"mc-main",size:"xs",icon:"mdi-chevron-up"},on:{click:function(n){e.setMain(t.idx)}}}),t.type.hideable?n("q-btn",{staticClass:"shadow-1 thumb-close",attrs:{round:"",color:"black",size:"xs",icon:"mdi-close"},on:{click:function(n){e.closeViewer(t)}}}):e._e()],1)])]),n(t.type.component,{tag:"component",attrs:{idx:t.idx}})],1)}))},vi=[];gi._withStripped=!0;var _i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"upload-files",rawName:"v-upload-files",value:e.uploadConfig,expression:"uploadConfig"}],staticClass:"fit no-padding map-viewer"},[n("div",{ref:"map"+e.idx,staticClass:"fit",class:{"mv-exploring":e.exploreMode||null!==e.topLayer},attrs:{id:"map"+e.idx}}),n("q-icon",{staticClass:"map-selection-marker",attrs:{name:e.mapSelection.locked?"mdi-image-filter-center-focus":"mdi-crop-free",id:"msm-"+e.idx}}),n("q-resize-observable",{on:{resize:e.handleResize}}),e.isDrawMode?n("map-drawer",{attrs:{map:e.map},on:{drawend:e.sendSpatialLocation}}):e._e(),n("q-modal",{attrs:{"no-esc-dismiss":"","no-backdrop-dismiss":"","content-classes":["gl-msg-content"]},model:{value:e.waitingGeolocation,callback:function(t){e.waitingGeolocation=t},expression:"waitingGeolocation"}},[n("div",{staticClass:"bg-opaque-white"},[n("div",{staticClass:"q-pa-xs"},[n("h5",[e._v(e._s(e.$t("messages.geolocationWaitingTitle")))]),n("p",{domProps:{innerHTML:e._s(e.$t("messages.geolocationWaitingText"))}}),n("p",{directives:[{name:"show",rawName:"v-show",value:null!==e.geolocationIncidence,expression:"geolocationIncidence !== null"}],staticClass:"gl-incidence"},[e._v(e._s(e.geolocationIncidence))]),n("div",{staticClass:"gl-btn-container"},[n("q-btn",{directives:[{name:"show",rawName:"v-show",value:null!==e.geolocationIncidence,expression:"geolocationIncidence !== null"}],attrs:{label:e.$t("label.appRetry"),color:"primary"},on:{click:e.retryGeolocation}}),n("q-btn",{attrs:{label:e.$t("label.appCancel"),color:"mc-main"},on:{click:function(t){e.stopGeolocation(!0)}}})],1)])])]),n("q-modal",{attrs:{"no-route-dismiss":!0,"no-esc-dismiss":!0,"no-backdrop-dismiss":!0},model:{value:e.progressBarVisible,callback:function(t){e.progressBarVisible=t},expression:"progressBarVisible"}},[n("q-progress",{attrs:{percentage:e.uploadProgress,color:"mc-main",stripe:!0,animate:!0,height:"1em"}})],1),n("div",{ref:"mv-popup",staticClass:"ol-popup",attrs:{id:"mv-popup"}},[n("q-btn",{staticClass:"ol-popup-closer",attrs:{icon:"mdi-close",color:"grey-8",size:"xs",flat:"",round:""},on:{click:e.closePopup}}),n("div",{staticClass:"ol-popup-content",attrs:{id:"mv-popup-content"},domProps:{innerHTML:e._s(e.popupContent)}})],1),n("observation-context-menu",{attrs:{"observation-id":e.contextMenuObservationId},on:{hide:function(t){e.contextMenuObservationId=null}}}),n("div",{staticClass:"mv-extent-map",class:{"mv-extent-map-hide":!e.hasExtentMap},attrs:{id:"mv-extent-map"}}),e.hasContext||null===e.proposedContext?e._e():n("q-btn",{staticClass:"mv-remove-proposed-context",style:null!==e.proposedContextCenter?e.proposedContextCenter:{},attrs:{icon:"mdi-close",size:"lg",round:""},nativeOn:{click:function(t){e.sendSpatialLocation(null)}}})],1)},bi=[];_i._withStripped=!0;var yi="".concat("").concat(O["c"].REST_UPLOAD),Mi="1024MB",wi=Mi.substr(Mi.length-2),Li="KB"===wi?1:"MB"===wi?2:"GB"===wi?3:"PB"===wi?4:0,Si=parseInt(Mi.substring(0,Mi.length-2),10)*Math.pow(1024,Li);function Ci(){var e=document.createElement("div");return("draggable"in e||"ondragstart"in e&&"ondrop"in e)&&"FormData"in window&&"FileReader"in window}var Ei=qe["a"].directive("upload",{inserted:function(e,t){if(Ci()){var n=t.value&&t.value.onUploadProgress&&"function"===typeof t.value.onUploadProgress?t.value.onUploadProgress:function(){},i=t.value&&t.value.onUploadEnd&&"function"===typeof t.value.onUploadEnd?t.value.onUploadEnd:function(){console.debug("Upload complete")},o=t.value&&t.value.onUploadError&&"function"===typeof t.value.onUploadError?t.value.onUploadError:function(e){console.error(JSON.stringify(e,null,4))};["drag","dragstart","dragend","dragover","dragenter","dragleave","drop"].forEach(function(t){e.addEventListener(t,function(e){e.preventDefault(),e.stopPropagation()},!1)}),e.addEventListener("drop",function(e){var r=e.dataTransfer.files;if(null!==r&&0!==r.length){for(var a=new FormData,s=[],c=0;cSi?o("File is too large, max sixe is ".concat(Mi)):(a.append("files[]",r[c]),s.push(r[c].name));"undefined"!==typeof t.value.refId&&null!==t.value.refId&&a.append("refId",t.value.refId||null),T["a"].post(yi,a,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(e){n(parseInt(Math.round(100*e.loaded/e.total),10))}}).then(function(){i(null!==r&&s.length>0?s.join(", "):null)}).catch(function(e){o(e,null!==r&&s.length>0?s.join(", "):null)})}})}}}),Ai=n("256f"),Ti=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"draggable",rawName:"v-draggable",value:e.dragDCConfig,expression:"dragDCConfig"}],staticClass:"md-draw-controls"},[n("div",{staticClass:"md-title"},[e._v("Draw mode")]),n("div",{staticClass:"md-controls"},[n("q-icon",{staticClass:"md-control md-ok",attrs:{name:"mdi-check-circle-outline"},nativeOn:{click:function(t){e.drawOk()}}}),n("q-icon",{staticClass:"md-control md-erase",class:[e.hasCustomContextFeatures?"":"disabled"],attrs:{name:"mdi-delete-variant"},nativeOn:{click:function(t){e.hasCustomContextFeatures&&e.drawErase()}}}),n("q-icon",{staticClass:"md-control md-cancel",attrs:{name:"mdi-close-circle-outline"},nativeOn:{click:function(t){e.drawCancel()}}})],1),n("div",{directives:[{name:"show",rawName:"v-show",value:e.selectors,expression:"selectors"}],staticClass:"md-selector"},[n("q-btn-toggle",{attrs:{"toggle-color":"mc-main",size:"md",options:[{tabindex:1,icon:"mdi-vector-point",value:"Point",disable:!0},{tabindex:2,icon:"mdi-vector-line",value:"LineString",disable:!0},{tabindex:3,icon:"mdi-vector-polygon",value:"Polygon"},{tabindex:4,icon:"mdi-vector-circle-variant",value:"Circle"}]},model:{value:e.drawType,callback:function(t){e.drawType=t},expression:"drawType"}})],1)])},Oi=[];Ti._withStripped=!0;var ki=n("a27f"),xi=n("3e6b"),Di=n("5831"),Ri=n("6c77"),zi=n("83a6"),Pi=n("8682"),Ni=n("ce2c"),Ii=n("ac29"),Bi=n("c807"),ji=n("4cdf"),Yi=n("f822"),Hi=n("5bc3"),Wi={name:"MapDrawer",props:{map:{type:Object,required:!0},selectors:{type:Boolean,required:!1,default:!0},fillColor:{type:String,required:!1,default:"rgba(17, 170, 187, 0.3)"},strokeColor:{type:String,required:!1,default:"rgb(17, 170, 187)"},strokeWidth:{type:Number,required:!1,default:2},pointRadius:{type:Number,required:!1,default:5}},data:function(){return{drawerLayer:void 0,drawer:void 0,drawerModify:void 0,dragDCConfig:{resetInitialPos:!0},drawType:"Polygon"}},computed:{hasCustomContextFeatures:function(){return this.drawerLayer&&this.drawerLayer.getSource().getFeatures().length>0}},methods:a()({},Object(s["b"])("view",["setDrawMode"]),{drawOk:function(){var e=this.drawerLayer.getSource().getFeatures().filter(function(e){return null!==e.getGeometry()}),t=e.length,n=[];if(0!==t){for(var i=null,o=0;o0&&e.pop(),this.drawerLayer.getSource().clear(!0),this.drawerLayer.getSource().addFeatures(e)},drawCancel:function(){this.$emit("drawcancel"),this.drawerLayer.getSource().clear(),this.setDrawMode(!1)},setDrawer:function(){var e=this;this.drawer=new Ii["a"]({source:this.drawerLayer.getSource(),type:this.drawType}),this.drawer.on("drawend",function(t){var n=Object(Fe["j"])(t.feature.getGeometry());Object(Fe["i"])(n)||(e.$q.notify({message:e.$t("messages.invalidGeometry"),type:"negative",icon:"mdi-alert-circle",timeout:1e3}),t.feature.setGeometry(null))}),this.map.addInteraction(this.drawer)}}),watch:{drawType:function(){this.map.removeInteraction(this.drawer),this.setDrawer()}},directives:{Draggable:ki["Draggable"]},mounted:function(){var e=new Di["a"];this.drawerModify=new Bi["a"]({source:e}),this.drawerLayer=new xi["a"]({id:"DrawerLayer",source:e,visible:!0,style:new Ri["c"]({fill:new zi["a"]({color:this.fillColor}),stroke:new Pi["a"]({color:this.strokeColor,width:this.strokeWidth}),image:new Ni["a"]({radius:this.pointRadius,fill:new zi["a"]({color:this.strokeColor})})})}),this.dragDCConfig.boundingElement=document.getElementById(this.map.get("target")),this.map.addLayer(this.drawerLayer),this.map.addInteraction(this.drawerModify),this.setDrawer()},beforeDestroy:function(){this.map.removeInteraction(this.drawer),this.map.removeInteraction(this.drawerModify),this.drawerLayer.getSource().clear(!0)}},qi=Wi,Fi=(n("37a9"),Object(b["a"])(qi,Ti,Oi,!1,null,null,null));Fi.options.__file="MapDrawer.vue";var Xi=Fi.exports,Ui=n("e300"),Vi=n("9c78"),Gi=n("c810"),Ki=n("592d"),$i=n("e269"),Ji={BOTTOM_LEFT:"bottom-left",BOTTOM_CENTER:"bottom-center",BOTTOM_RIGHT:"bottom-right",CENTER_LEFT:"center-left",CENTER_CENTER:"center-center",CENTER_RIGHT:"center-right",TOP_LEFT:"top-left",TOP_CENTER:"top-center",TOP_RIGHT:"top-right"},Zi=n("cd7e"),Qi=n("0999"),eo=n("1e8d"),to=n("0af5"),no={ELEMENT:"element",MAP:"map",OFFSET:"offset",POSITION:"position",POSITIONING:"positioning"},io=function(e){function t(t){e.call(this),this.options=t,this.id=t.id,this.insertFirst=void 0===t.insertFirst||t.insertFirst,this.stopEvent=void 0===t.stopEvent||t.stopEvent,this.element=document.createElement("div"),this.element.className=void 0!==t.className?t.className:"ol-overlay-container "+Zi["d"],this.element.style.position="absolute",this.autoPan=void 0!==t.autoPan&&t.autoPan,this.autoPanAnimation=t.autoPanAnimation||{},this.autoPanMargin=void 0!==t.autoPanMargin?t.autoPanMargin:20,this.rendered={bottom_:"",left_:"",right_:"",top_:"",visible:!0},this.mapPostrenderListenerKey=null,Object(eo["a"])(this,Object($i["b"])(no.ELEMENT),this.handleElementChanged,this),Object(eo["a"])(this,Object($i["b"])(no.MAP),this.handleMapChanged,this),Object(eo["a"])(this,Object($i["b"])(no.OFFSET),this.handleOffsetChanged,this),Object(eo["a"])(this,Object($i["b"])(no.POSITION),this.handlePositionChanged,this),Object(eo["a"])(this,Object($i["b"])(no.POSITIONING),this.handlePositioningChanged,this),void 0!==t.element&&this.setElement(t.element),this.setOffset(void 0!==t.offset?t.offset:[0,0]),this.setPositioning(void 0!==t.positioning?t.positioning:Ji.TOP_LEFT),void 0!==t.position&&this.setPosition(t.position)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.getElement=function(){return this.get(no.ELEMENT)},t.prototype.getId=function(){return this.id},t.prototype.getMap=function(){return this.get(no.MAP)},t.prototype.getOffset=function(){return this.get(no.OFFSET)},t.prototype.getPosition=function(){return this.get(no.POSITION)},t.prototype.getPositioning=function(){return this.get(no.POSITIONING)},t.prototype.handleElementChanged=function(){Object(Qi["d"])(this.element);var e=this.getElement();e&&this.element.appendChild(e)},t.prototype.handleMapChanged=function(){this.mapPostrenderListenerKey&&(Object(Qi["e"])(this.element),Object(eo["e"])(this.mapPostrenderListenerKey),this.mapPostrenderListenerKey=null);var e=this.getMap();if(e){this.mapPostrenderListenerKey=Object(eo["a"])(e,Ki["a"].POSTRENDER,this.render,this),this.updatePixelPosition();var t=this.stopEvent?e.getOverlayContainerStopEvent():e.getOverlayContainer();this.insertFirst?t.insertBefore(this.element,t.childNodes[0]||null):t.appendChild(this.element)}},t.prototype.render=function(){this.updatePixelPosition()},t.prototype.handleOffsetChanged=function(){this.updatePixelPosition()},t.prototype.handlePositionChanged=function(){this.updatePixelPosition(),this.get(no.POSITION)&&this.autoPan&&this.panIntoView()},t.prototype.handlePositioningChanged=function(){this.updatePixelPosition()},t.prototype.setElement=function(e){this.set(no.ELEMENT,e)},t.prototype.setMap=function(e){this.set(no.MAP,e)},t.prototype.setOffset=function(e){this.set(no.OFFSET,e)},t.prototype.setPosition=function(e){this.set(no.POSITION,e)},t.prototype.panIntoView=function(){var e=this.getMap();if(e&&e.getTargetElement()){var t=this.getRect(e.getTargetElement(),e.getSize()),n=this.getElement(),i=this.getRect(n,[Object(Qi["c"])(n),Object(Qi["b"])(n)]),o=this.autoPanMargin;if(!Object(to["g"])(t,i)){var r=i[0]-t[0],a=t[2]-i[2],s=i[1]-t[1],c=t[3]-i[3],l=[0,0];if(r<0?l[0]=r-o:a<0&&(l[0]=Math.abs(a)+o),s<0?l[1]=s-o:c<0&&(l[1]=Math.abs(c)+o),0!==l[0]||0!==l[1]){var u=e.getView().getCenter(),d=e.getPixelFromCoordinate(u),h=[d[0]+l[0],d[1]+l[1]];e.getView().animate({center:e.getCoordinateFromPixel(h),duration:this.autoPanAnimation.duration,easing:this.autoPanAnimation.easing})}}}},t.prototype.getRect=function(e,t){var n=e.getBoundingClientRect(),i=n.left+window.pageXOffset,o=n.top+window.pageYOffset;return[i,o,i+t[0],o+t[1]]},t.prototype.setPositioning=function(e){this.set(no.POSITIONING,e)},t.prototype.setVisible=function(e){this.rendered.visible!==e&&(this.element.style.display=e?"":"none",this.rendered.visible=e)},t.prototype.updatePixelPosition=function(){var e=this.getMap(),t=this.getPosition();if(e&&e.isRendered()&&t){var n=e.getPixelFromCoordinate(t),i=e.getSize();this.updateRenderedPosition(n,i)}else this.setVisible(!1)},t.prototype.updateRenderedPosition=function(e,t){var n=this.element.style,i=this.getOffset(),o=this.getPositioning();this.setVisible(!0);var r=i[0],a=i[1];if(o==Ji.BOTTOM_RIGHT||o==Ji.CENTER_RIGHT||o==Ji.TOP_RIGHT){""!==this.rendered.left_&&(this.rendered.left_=n.left="");var s=Math.round(t[0]-e[0]-r)+"px";this.rendered.right_!=s&&(this.rendered.right_=n.right=s)}else{""!==this.rendered.right_&&(this.rendered.right_=n.right=""),o!=Ji.BOTTOM_CENTER&&o!=Ji.CENTER_CENTER&&o!=Ji.TOP_CENTER||(r-=this.element.offsetWidth/2);var c=Math.round(e[0]+r)+"px";this.rendered.left_!=c&&(this.rendered.left_=n.left=c)}if(o==Ji.BOTTOM_LEFT||o==Ji.BOTTOM_CENTER||o==Ji.BOTTOM_RIGHT){""!==this.rendered.top_&&(this.rendered.top_=n.top="");var l=Math.round(t[1]-e[1]-a)+"px";this.rendered.bottom_!=l&&(this.rendered.bottom_=n.bottom=l)}else{""!==this.rendered.bottom_&&(this.rendered.bottom_=n.bottom=""),o!=Ji.CENTER_LEFT&&o!=Ji.CENTER_CENTER&&o!=Ji.CENTER_RIGHT||(a-=this.element.offsetHeight/2);var u=Math.round(e[1]+a)+"px";this.rendered.top_!=u&&(this.rendered.top_=n.top=u)}},t.prototype.getOptions=function(){return this.options},t}($i["a"]),oo=io,ro=n("b2da"),ao=n.n(ro),so=n("64d9"),co=n("f403"),lo=n("01d4"),uo=n("3900"),ho="projection",po="coordinateFormat",fo=function(e){function t(t){var n=t||{},i=document.createElement("div");i.className=void 0!==n.className?n.className:"ol-mouse-position",e.call(this,{element:i,render:n.render||mo,target:n.target}),Object(eo["a"])(this,Object($i["b"])(ho),this.handleProjectionChanged_,this),n.coordinateFormat&&this.setCoordinateFormat(n.coordinateFormat),n.projection&&this.setProjection(n.projection),this.undefinedHTML_=void 0!==n.undefinedHTML?n.undefinedHTML:" ",this.renderOnMouseOut_=!!this.undefinedHTML_,this.renderedHTML_=i.innerHTML,this.mapProjection_=null,this.transform_=null,this.lastMouseMovePixel_=null}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.handleProjectionChanged_=function(){this.transform_=null},t.prototype.getCoordinateFormat=function(){return this.get(po)},t.prototype.getProjection=function(){return this.get(ho)},t.prototype.handleMouseMove=function(e){var t=this.getMap();this.lastMouseMovePixel_=t.getEventPixel(e),this.updateHTML_(this.lastMouseMovePixel_)},t.prototype.handleMouseOut=function(e){this.updateHTML_(null),this.lastMouseMovePixel_=null},t.prototype.setMap=function(t){if(e.prototype.setMap.call(this,t),t){var n=t.getViewport();this.listenerKeys.push(Object(eo["a"])(n,lo["a"].MOUSEMOVE,this.handleMouseMove,this),Object(eo["a"])(n,lo["a"].TOUCHSTART,this.handleMouseMove,this)),this.renderOnMouseOut_&&this.listenerKeys.push(Object(eo["a"])(n,lo["a"].MOUSEOUT,this.handleMouseOut,this),Object(eo["a"])(n,lo["a"].TOUCHEND,this.handleMouseOut,this))}},t.prototype.setCoordinateFormat=function(e){this.set(po,e)},t.prototype.setProjection=function(e){this.set(ho,Object(Ai["g"])(e))},t.prototype.updateHTML_=function(e){var t=this.undefinedHTML_;if(e&&this.mapProjection_){if(!this.transform_){var n=this.getProjection();this.transform_=n?Object(Ai["j"])(this.mapProjection_,n):Ai["k"]}var i=this.getMap(),o=i.getCoordinateFromPixel(e);if(o){this.transform_(o,o);var r=this.getCoordinateFormat();t=r?r(o):o.toString()}}this.renderedHTML_&&t===this.renderedHTML_||(this.element.innerHTML=t,this.renderedHTML_=t)},t}(uo["default"]);function mo(e){var t=e.frameState;t?this.mapProjection_!=t.viewState.projection&&(this.mapProjection_=t.viewState.projection,this.transform_=null):this.mapProjection_=null}var go=fo,vo=n("a568"),_o=(n("c58e"),{name:"MapViewer",components:{MapDrawer:Xi,ObservationContextMenu:un},props:{idx:{type:Number,required:!0}},directives:{UploadFiles:Ei},data:function(){var e=this;return{center:this.$mapDefaults.center,zoom:this.$mapDefaults.zoom,map:null,extentMap:null,hasExtentMap:!1,view:null,movedWithContext:!1,noNewRegion:!1,layers:new Ui["a"],zIndexCounter:0,baseLayers:null,layerSwitcher:null,visibleBaseLayer:null,mapSelectionMarker:void 0,wktInstance:new so["a"],geolocationId:null,geolocationIncidence:null,popupContent:"",popupOverlay:void 0,contextLayer:null,proposedContextLayer:null,proposedContextCenter:null,uploadConfig:{refId:null,onUploadProgress:function(t){e.uploadProgress=t},onUploadEnd:function(t){e.$q.notify({message:e.$t("messages.uploadComplete",{fileName:t}),type:"info",icon:"mdi-information",timeout:1e3}),e.uploadProgress=null},onUploadError:function(t,n){e.$q.notify({message:"".concat(e.$t("errors.uploadError",{fileName:n}),"\n").concat(t.response.data.message),type:"negative",icon:"mdi-alert-circle",timeout:1e3}),e.uploadProgress=null}},uploadProgress:null,storedZoom:null,clicksOnMap:0,bufferingLayers:!1,lastModificationLoaded:null,previousTopLayer:null,lockedObservations:[],contextMenuObservationId:null,coordinatesControl:void 0}},computed:a()({observations:function(){return this.$store.getters["data/observationsOfViewer"](this.idx)},lockedObservationsIds:function(){return this.lockedObservations.map(function(e){return e.id})}},Object(s["c"])("data",["proposedContext","hasContext","contextId","contextLabel","session","timestamp","scaleReference","timeEvents","timeEventsOfObservation"]),Object(s["c"])("view",["contextGeometry","observationInfo","exploreMode","mapSelection","isDrawMode","topLayer","mainViewer","viewCoordinates"]),Object(s["d"])("view",["saveLocation"]),{hasCustomContextFeatures:function(){return this.drawerLayer&&this.drawerLayer.getSource().getFeatures().length>0},progressBarVisible:function(){return null!==this.uploadProgress},waitingGeolocation:{get:function(){return this.$store.state.view.waitingGeolocation},set:function(e){this.$store.state.view.waitingGeolocation=e}}}),methods:a()({},Object(s["b"])("data",["setCrossingIDL","putObservationOnTop"]),Object(s["b"])("view",["addToKexplorerLog","setSpinner","setMapSelection","setDrawMode","setTopLayer","setShowSettings"]),{handleResize:function(){null!==this.map&&(this.map.updateSize(),this.$eventBus.$emit(c["h"].MAP_SIZE_CHANGED))},onMoveEnd:function(){this.hasContext?this.movedWithContext=!0:this.isDrawMode||this.noNewRegion?this.noNewRegion=!1:this.sendRegionOfInterest()},sendRegionOfInterest:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.waitingGeolocation){var e=null,t=Object(Ai["l"])(this.view.getCenter(),Tt["d"].PROJ_EPSG_3857,Tt["d"].PROJ_EPSG_4326);Math.abs(t[0])>180&&(t[0]%=180,this.view.animate({center:Object(Ai["l"])(t,Tt["d"].PROJ_EPSG_4326,Tt["d"].PROJ_EPSG_3857),duration:500}));try{var n=Object(Ai["m"])(this.map.getView().calculateExtent(this.map.getSize()),"EPSG:3857","EPSG:4326");if(n[0]<-180||n[1]<-90||n[2]>180||n[3]>90)return void this.setCrossingIDL(!0);this.setCrossingIDL(!1),e=l["a"].REGION_OF_INTEREST(n,this.session)}catch(e){console.error(e),this.addToKexplorerLog({type:c["w"].TYPE_ERROR,payload:{message:e.message,attach:e}})}e&&e.body&&(this.sendStompMessage(e.body),this.saveLocation&&U["a"].set(c["P"].COOKIE_MAPDEFAULT,{center:this.view.getCenter(),zoom:this.view.getZoom()},{expires:30,path:"/",secure:!0}))}},findExistingLayerById:function(e){if(this.layers&&null!==this.layers){var t=this.layers.getArray();return t.filter(function(t){return null===t.get("id")?null===e:t.get("id").startsWith(e)})}return[]},findModificationTimestamp:function(e,t){if(-1!==t){var n=null===e?this.timeEvents:this.timeEventsOfObservation(e);return n.length>0?n.reduce(function(e,n){var i=t-n.timestamp;return i<=0?e:-1===e||i0)){e.next=7;break}if(c="".concat(n.id,"T").concat(o),l=s.find(function(e){return e.get("id")===c}),!l){e.next=7;break}return e.abrupt("return",{founds:s,layer:l});case 7:return e.prev=7,console.debug("Creating layer: ".concat(n.label," with timestamp ").concat(o)),e.next=11,Object(Xe["k"])(n,{projection:this.proj,timestamp:o,realTimestamp:a?o:this.timestamp});case 11:return u=e.sent,s&&s.length>0?u.setZIndex(n.zIndex):(this.zIndexCounter+=2,n.zIndex=this.zIndexCounter+n.zIndexOffset,u.setZIndex(n.zIndex)),this.layers.push(u),s.push(u),e.abrupt("return",{founds:s,layer:u});case 18:return e.prev=18,e.t0=e["catch"](7),console.error(e.t0.message),this.$q.notify({message:e.t0.message,type:"negative",icon:"mdi-alert-circle",timeout:3e3}),e.abrupt("return",null);case 23:case"end":return e.stop()}},e,this,[[7,18]])}));return function(t){return e.apply(this,arguments)}}(),bufferLayerImages:function(e){var t=this;e.stop>=this.scaleReference.end&&(e.stop=this.scaleReference.end-1),console.debug("Ask preload from ".concat(e.start," to ").concat(e.stop));var n=this.timeEvents.filter(function(t){return t.timestamp>e.start&&t.timestamp<=e.stop}),i=n.length;if(i>0){var o=function e(o){var r=t.observations.find(function(e){return e.id===n[o].id});r&&t.findLayerById({observation:r,timestamp:n[o].timestamp,isBuffer:!0}).then(function(t){var n=t.layer,r=n.getSource().image_;r&&0===r.state?(r.load(),n.getSource().on("imageloadend",function(t){t.image;++o125&&(this.hasExtentMap=!0,this.$nextTick(function(){e.extentMap.addLayer(e.proposedContextLayer),e.extentMap.getView().fit(e.proposedContext,{padding:[10,10,10,10],constrainResolution:!1})}))}},drawContext:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null!==t&&(this.layers.clear(),this.lockedObservations=[],this.previousTopLayer=null,null!==this.contextLayer?(this.map.removeLayer(this.contextLayer),this.contextLayer=null):this.baseLayers.removeMask()),null===this.contextGeometry)return console.debug("No context, send region of interest"),void this.sendRegionOfInterest();this.contextGeometry instanceof Array?(this.contextLayer=new xi["a"]({id:this.contextId,source:new Di["a"]({features:[new ji["a"]({geometry:new co["a"](this.contextGeometry),name:this.contextLabel,id:this.contextId})]}),style:Object(Fe["d"])(Tt["e"].POINT_CONTEXT_SVG_PARAM,this.contextLabel)}),this.map.addLayer(this.contextLayer),this.view.setCenter(this.contextGeometry)):(this.baseLayers.setMask(this.contextGeometry),this.view.fit(this.contextGeometry,{padding:[10,10,10,10],constrainResolution:!1}))},drawObservations:function(){var e=H()(regeneratorRuntime.mark(function e(){var t,n,i=this;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:this.observations&&this.observations.length>0&&(this.lockedObservations=this.lockedObservations.filter(function(e){return e.visible}),t=this.observations.find(function(e){return e.top&&Object(Xe["n"])(e)}),t&&(this.previousTopLayer&&this.previousTopLayer.visible?t.id!==this.previousTopLayer.id&&(this.lockedObservations=this.lockedObservations.filter(function(e){return e.id!==t.id}),this.lockedObservations.push(this.previousTopLayer),this.previousTopLayer=t):this.previousTopLayer=t),n="undefined"!==typeof this.observations.find(function(e){return e.visible&&e.loading}),this.observations.forEach(function(e){if(!e.isContainer){var t=i.findModificationTimestamp(e.id,i.timestamp);i.findLayerById({observation:e,timestamp:t}).then(function(o){if(null!==o){var r=o.founds,a=o.layer;a.setOpacity(e.layerOpacity),a.setVisible(e.visible);var s=e.zIndex;if(e.top?s=e.zIndexOffset+Tt["d"].ZINDEX_TOP:i.lockedObservationsIds.length>0&&i.lockedObservationsIds.includes(e.id)&&(s=Math.max(a.get("zIndex")-10,1)),n||(a.setZIndex(s),e.visible&&e.top&&Object(Xe["n"])(e)&&(null===i.topLayer||i.topLayer.id!=="".concat(e.id,"T").concat(t))?i.setTopLayer({id:"".concat(e.id,"T").concat(t),desc:e.label}):e.visible&&e.top||null===i.topLayer||i.topLayer.id!=="".concat(e.id,"T").concat(t)||i.setTopLayer(null)),r.length>0)if(e.visible){if(-1===t||-1!==e.tsImages.indexOf("T".concat(t))){var c=[];r.forEach(function(n,i){n.get("id")==="".concat(e.id,"T").concat(t)?n.setVisible(!0):n.getVisible()&&c.push(i)}),c.length>0&&c.forEach(function(e){i.$nextTick(function(){r[e].setVisible(!1)})})}}else r.forEach(function(e){e.setVisible(!1)});else console.debug("No multiple layer for observation ".concat(e.id,", refreshing")),a.setVisible(e.visible)}})}}),null===this.topLayer&&this.closePopup());case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),sendSpatialLocation:function(e){if(e){var t=this.wktInstance.writeFeaturesText(e,{dataProjection:"EPSG:4326",featureProjection:"EPSG:3857"});this.sendStompMessage(l["a"].SPATIAL_LOCATION({wktShape:t},this.session).body),this.setCrossingIDL(!1)}else this.sendStompMessage(l["a"].SPATIAL_LOCATION({wktShape:""},this.session).body)},doGeolocation:function(){var e=this;null!==this.geolocationId&&navigator.geolocation.clearWatch(this.geolocationId),this.geolocationId=navigator.geolocation.watchPosition(function(t){e.center=Object(Ai["l"])([t.coords.longitude,t.coords.latitude],Tt["d"].PROJ_EPSG_4326,Tt["d"].PROJ_EPSG_3857),e.stopGeolocation()},function(t){switch(t.code){case t.PERMISSION_DENIED:e.geolocationIncidence=e.$t("messages.geolocationErrorPermissionDenied");break;case t.POSITION_UNAVAILABLE:e.geolocationIncidence=e.$t("messages.geolocationErrorPermissionDenied");break;case t.TIMEOUT:e.geolocationIncidence=e.$t("messages.geolocationErrorPermissionDenied");break;default:e.geolocationIncidence=e.$t("messages.geolocationErrorPermissionDenied");break}},{enableHighAccuracy:!0,maximumAge:3e4,timeout:6e4})},retryGeolocation:function(){this.geolocationIncidence=null,this.doGeolocation()},stopGeolocation:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];navigator.geolocation.clearWatch(this.geolocationId),this.$nextTick(function(){e.waitingGeolocation=!1,t&&e.sendRegionOfInterest()})},closePopup:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];!e&&this.mapSelection.locked||(this.setMapSelection(c["g"].EMPTY_MAP_SELECTION),this.popupOverlay.setPosition(void 0))},setMapInfoPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.event,n=void 0===t?null:t,i=e.locked,o=void 0!==i&&i,r=e.layer,s=void 0===r?null:r;if(this.exploreMode||null!==this.topLayer){var l,u;if(null!==n?(l=n.coordinate,o&&(n.preventDefault(),n.stopPropagation())):(o=this.mapSelection.locked,l=this.mapSelection.pixelSelected),null===s){u=this.exploreMode?"".concat(this.observationInfo.id,"T").concat(this.findModificationTimestamp(this.observationInfo.id,this.timestamp)):this.topLayer.id;var d=this.findExistingLayerById(u),h=We()(d,1);s=h[0]}else u=s.get("id");var p=new Gi["a"]({id:"cl_".concat(u),source:s.getSource()});this.setMapSelection(a()({pixelSelected:l,timestamp:this.timestamp,layerSelected:p},!this.exploreMode&&{observationId:this.getObservationIdFromLayerId(u)},{locked:o}))}else this.$eventBus.$emit(c["h"].VIEWER_CLICK,n)},needFitMapListener:function(e){var t=this,n=e.mainIdx,i=void 0===n?null:n,o=e.geometry,r=void 0===o?null:o,a=e.withPadding,s=void 0===a||a;null===r&&this.mainViewer.name===c["M"].DATA_VIEWER.name&&this.contextGeometry&&null!==this.contextGeometry&&(r=this.contextGeometry),null!==r?(null!==i&&this.idx===i||(this.storedZoom=this.view.getZoom()),setTimeout(function(){r instanceof Array&&2===r.length?t.view.setCenter(r):t.view.fit(r,{padding:s?[10,10,10,10]:[0,0,0,0],constrainResolution:!1,callback:function(){t.movedWithContext=!1}})},200)):null!==this.storedZoom&&(this.view.setZoom(this.storedZoom),this.storedZoom=null)},observationInfoClosedListener:function(){this.mapSelection.locked||this.closePopup()},sendRegionOfInterestListener:function(){this.sendRegionOfInterest()},findTopLayerFromClick:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[],i=[];return this.map.forEachLayerAtPixel(e.pixel,function(e){i[e.getType()]&&i[e.getType()]>e.get("zIndex")||(i[e.getType()]=e.get("zIndex"),n.push({layer:e,type:e.getType()}))},{layerFilter:function(e){return"TILE"!==e.getType()&&(!t||"VECTOR"!==e.getType())}}),n},getObservationIdFromLayerId:function(e){return e&&""!==e?e.substr(0,e.indexOf("T")):e},copyCoordinates:function(e){var t=this.coordinatesControl.element.innerText,n=document.createElement("textarea");n.value=t,n.style.top="0",n.style.left="0",n.style.position="fixed",document.body.appendChild(n),n.focus(),n.select();try{document.execCommand("copy");this.$q.notify({message:this.$t("messages.copiedToClipboard"),type:"info",icon:"mdi-information",timeout:1e3})}catch(e){console.error("Oops, unable to copy",e)}document.body.removeChild(n)},setCoordinatesControl:function(){var e=document.querySelector(".ol-mouse-position");this.viewCoordinates?this.map.addControl(this.coordinatesControl):e&&this.map.removeControl(this.coordinatesControl),U["a"].set(c["P"].COOKIE_VIEW_COORDINATES,this.viewCoordinates,{expires:365,path:"/",secure:!0})}}),watch:{contextGeometry:function(e,t){this.drawContext(e,t),null!==e||this.movedWithContext||this.needFitMapListener({geometry:t,withPadding:!1}),this.movedWithContext=!1},observations:{handler:function(){var e=this;this.$nextTick(function(){return e.drawObservations()})},deep:!0},timestamp:function(e){var t=this.findModificationTimestamp(null,e);t!==this.lastModificationLoaded&&(this.lastModificationLoaded=t,this.drawObservations())},center:function(){this.view.setCenter(this.center)},mapSelection:function(e){if("undefined"!==typeof e&&null!==e&&null!==e.pixelSelected){if(this.mapSelectionMarker.setPosition(e.pixelSelected),null!==this.topLayer){var t=Object(Ai["l"])(e.pixelSelected,"EPSG:3857","EPSG:4326");this.popupContent="

".concat(this.topLayer.desc,'

\n
\n

').concat(e.value,'

\n
\n

').concat(t[1].toFixed(6),", ").concat(t[0].toFixed(6),"

"),this.popupOverlay.setPosition(e.pixelSelected)}}else this.closePopup(),this.mapSelectionMarker.setPosition(void 0)},hasContext:function(e){this.uploadConfig.refId=this.contextId,e?this.setDrawMode(!1):(this.sendRegionOfInterest(),this.popupOverlay.setPosition(void 0))},proposedContext:function(e){var t=this;this.drawProposedContext(),this.$nextTick(function(){t.setSpinner(a()({},c["H"].SPINNER_STOPPED,{owner:"KlabSearch"}))})},topLayer:function(e){null!==e&&this.mapSelection.locked?this.setMapInfoPoint():this.closePopup()},hasExtentMap:function(){var e=this;this.hasExtentMap&&this.$nextTick(function(){e.extentMap.updateSize()}),this.setShowSettings(!this.hasExtentMap)},viewCoordinates:function(){this.setCoordinatesControl()}},created:function(){this.waitingGeolocation="geolocation"in navigator&&!U["a"].has(c["P"].COOKIE_MAPDEFAULT)},mounted:function(){var e=this;this.baseLayers=Tt["a"],this.baseLayers.layers.forEach(function(t){t.get("name")===e.$baseLayer&&(t.setVisible(!0),e.visibleBaseLayer=t);var n=t;n.on("propertychange",function(t){e.visibleBaseLayer=n,"propertychange"===t.type&&"visible"===t.key&&t.target.get(t.key)&&U["a"].set(c["P"].COOKIE_BASELAYER,n.get("name"),{expires:30,path:"/",secure:!0})})});var t=Tt["c"].MAPBOX_GOT;t.setVisible(!0);var n=new Vi["default"]({title:"BaseLayers",layers:this.baseLayers.layers});this.map=new bn["a"]({view:new yn["a"]({center:this.center,zoom:this.zoom}),layers:n,target:"map".concat(this.idx),loadTilesWhileAnimating:!0,loadTilesWhileInteracting:!0}),this.map.on("moveend",this.onMoveEnd),this.map.on("click",function(i){if(e.viewCoordinates&&i.originalEvent.ctrlKey&&!i.originalEvent.altKey)e.copyCoordinates(i);else{if(e.isDrawMode)return i.preventDefault(),void i.stopPropagation();if(i.originalEvent.ctrlKey&&i.originalEvent.altKey&&i.originalEvent.shiftKey){var o=n.getLayersArray().slice(-1)[0];o&&"mapbox_got"===o.get("name")?(n.getLayers().pop(),e.baseLayers.layers.forEach(function(t){t.get("name")===e.$baseLayer&&(t.setVisible(!0),e.visibleBaseLayer=t)})):(n.getLayers().push(t),e.$q.notify({message:e.$t("messages.youHaveGOT"),type:"info",icon:"mdi-information",timeout:1500}))}e.clicksOnMap+=1,setTimeout(H()(regeneratorRuntime.mark(function t(){var n;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:1===e.clicksOnMap&&(n=e.findTopLayerFromClick(i,!1),n.length>0&&n.forEach(function(t){var o=t.layer.get("id");"VECTOR"===t.type?(e.putObservationOnTop(e.getObservationIdFromLayerId(o)),1===n.length&&e.closePopup()):e.topLayer&&o===e.topLayer.id?e.setMapInfoPoint({event:i}):(e.putObservationOnTop(e.getObservationIdFromLayerId(o)),e.setMapInfoPoint({event:i,layer:t.layer}))}),e.clicksOnMap=0);case 1:case"end":return t.stop()}},t)})),300)}}),this.map.on("dblclick",function(t){if(e.isDrawMode)return t.preventDefault(),void t.stopPropagation();var n=e.findTopLayerFromClick(t);if(1===n.length){var i=n[0].layer.get("id");e.topLayer&&i===e.topLayer.id?e.setMapInfoPoint({event:t,locked:!0}):(e.putObservationOnTop(e.getObservationIdFromLayerId(i)),e.setMapInfoPoint({event:t,locked:!0,layer:n[0].layer})),e.clicksOnMap=0}else console.warn("Multiple layer but must be one")}),this.map.on("contextmenu",function(t){var n=e.findTopLayerFromClick(t,!1);n.length>0&&(e.contextMenuObservationId=e.getObservationIdFromLayerId(n[0].layer.get("id")),t.preventDefault())}),this.view=this.map.getView(),this.proj=this.view.getProjection(),this.map.addLayer(new Vi["default"]({layers:this.layers})),this.layerSwitcher=new ao.a,this.map.addControl(this.layerSwitcher),this.mapSelectionMarker=new oo({element:document.getElementById("msm-".concat(this.idx)),positioning:"center-center"}),this.map.addOverlay(this.mapSelectionMarker),this.popupOverlay=new oo({element:document.getElementById("mv-popup"),autoPan:!0,autoPanAnimation:{duration:250}}),this.map.addOverlay(this.popupOverlay),this.extentMap=new bn["a"]({view:new yn["a"]({center:[0,0],zoom:12}),target:"mv-extent-map",layers:[Tt["c"].OSM_LAYER],controls:[]}),this.coordinatesControl=new go({coordinateFormat:Object(vo["c"])(6),projection:Tt["d"].PROJ_EPSG_4326,undefinedHTML:"..."}),this.setCoordinatesControl(),this.drawContext(),this.drawObservations(),this.drawProposedContext(),this.waitingGeolocation&&this.doGeolocation(),this.setShowSettings(!this.hasExtentMap),this.$eventBus.$on(c["h"].NEED_FIT_MAP,this.needFitMapListener),this.$eventBus.$on(c["h"].OBSERVATION_INFO_CLOSED,this.observationInfoClosedListener),this.$eventBus.$on(c["h"].SEND_REGION_OF_INTEREST,this.sendRegionOfInterestListener),this.$eventBus.$on(c["h"].NEED_LAYER_BUFFER,this.bufferLayerImages)},beforeDestroy:function(){this.$eventBus.$off(c["h"].NEED_FIT_MAP,this.needFitMapListener),this.$eventBus.$off(c["h"].OBSERVATION_INFO_CLOSED,this.observationInfoClosedListener),this.$eventBus.$off(c["h"].SEND_REGION_OF_INTEREST,this.sendRegionOfInterestListener),this.$eventBus.$off(c["h"].NEED_LAYER_BUFFER,this.bufferLayerImages)}}),bo=_o,yo=(n("c612"),Object(b["a"])(bo,_i,bi,!1,null,null,null));yo.options.__file="MapViewer.vue";var Mo=yo.exports,wo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fit gv-container",on:{wheel:e.changeForce}},[0===e.nodes.length?n("q-spinner",{attrs:{color:"mc-main",size:40}}):e._e(),n("q-resize-observable",{on:{resize:e.resize}}),n("d3-network",{ref:"gv-graph-"+e.idx,attrs:{"net-nodes":e.nodes,"net-links":e.links,options:e.options}})],1)},Lo=[];wo._withStripped=!0;var So=n("a5b7"),Co=n.n(So),Eo={name:"GraphViewer",components:{D3Network:Co.a},props:{idx:{type:Number,required:!0}},data:function(){var e=Object.assign({},c["Q"]);return e},computed:{observation:function(){var e=this.$store.getters["data/observationsOfViewer"](this.idx);return e.length>0?e[0]:null}},methods:{loadGraph:function(){var e=this,t="".concat("").concat(O["c"].REST_SESSION_VIEW,"data/").concat(this.observation.id);Object(Xe["h"])("gr_".concat(this.observation.id),t,{params:{format:"NETWORK",outputFormat:"json"}},function(t,n){if(t&&"undefined"!==typeof t.data){var i=t.data,o=i.nodes,r=i.edges;e.nodes=o.map(function(e){return{id:e.id,name:e.label,nodeSym:"~assets/klab-spinner.svg"}}),e.links=r.map(function(e){return{id:e.id,name:e.label,sid:e.source,tid:e.target}}),e.resize()}n()})},resize:function(){var e={w:this.$el.clientWidth,h:this.$el.clientHeight};this.updateOptions("size",e)},changeForce:function(e){if(e.preventDefault(),e&&e.deltaY){var t=this.options.force;if(e.deltaY<0&&t<5e3)t+=50;else{if(!(e.deltaY>0&&t>50))return;t-=50}this.updateOptions("force",t)}},updateOptions:function(e,t){this.options=a()({},this.options,p()({},e,t))},reset:function(){this.selected={},this.linksSelected={},this.nodes=[],this.links=[],this.$set(this.$data,"options",c["Q"].options)},viewerClosedListener:function(e){var t=e.idx;t===this.idx&&this.$eventBus.$emit(c["h"].SHOW_NODE,{nodeId:this.observation.id,state:!1})}},watch:{observation:function(e){null!==e&&0===this.nodes.length?this.loadGraph():null===e&&this.reset()}},mounted:function(){this.options.size.w=this.$el.clientWidth,this.options.size.h=this.$el.clientHeight,this.$eventBus.$on(c["h"].VIEWER_CLOSED,this.viewerClosedListener)},beforeDestroy:function(){this.$eventBus.$off(c["h"].VIEWER_CLOSED,this.viewerClosedListener)}},Ao=Eo,To=(n("6420"),n("9198"),Object(b["a"])(Ao,wo,Lo,!1,null,null,null));To.options.__file="GraphViewer.vue";var Oo=To.exports,ko=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},xo=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fit uv-container"},[n("h4",[e._v("Under construction")])])}];ko._withStripped=!0;var Do={name:"UnknownViewer",props:{idx:{type:Number,required:!0}}},Ro=Do,zo=(n("1fac"),Object(b["a"])(Ro,ko,xo,!1,null,null,null));zo.options.__file="UnknownViewer.vue";var Po=zo.exports,No=[],Io={components:{MapViewer:Mo,GraphViewer:Oo,UnknownViewer:Po},computed:a()({},Object(s["c"])("view",["dataViewers","mainDataViewerIdx","dataViewers"])),methods:a()({},Object(s["b"])("view",["setMainDataViewer"]),{setMain:function(e){this.setMainDataViewer({viewerIdx:e}),this.$eventBus.$emit(c["h"].VIEWER_SELECTED,{idx:e})},closeViewer:function(e){this.setMainDataViewer({viewerIdx:e.idx,viewerType:e.type,visible:!1}),this.$eventBus.$emit(c["h"].VIEWER_CLOSED,{idx:e.idx})},viewerStyle:function(e){return e.main?"":e.type.hideable&&!e.visible?"display: none":(No.push(e),0===No.length?"left: 0":"left: ".concat(200*(No.length-1)+10*(No.length-1),"px"))},capitalize:function(e){return Object(Fe["a"])(e)}}),watch:{mainDataViewerIdx:function(){No=[]},dataViewers:{handler:function(e){var t=this,n=e.length>0?e.find(function(e){return e.main}):null;this.$nextTick(function(){t.$eventBus.$emit(c["h"].NEED_FIT_MAP,a()({},null!==n&&"undefined"!==typeof n&&{idx:n.idx}))})},deep:!0}},beforeUpdate:function(){No=[]},mounted:function(){No=[]}},Bo=Io,jo=(n("f164"),Object(b["a"])(Bo,gi,vi,!1,null,"216658d8",null));jo.options.__file="DataViewer.vue";var Yo=jo.exports,Ho=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-layout",{staticClass:"kd-main-container print-hide",style:{width:e.containerStyle.width+"px",height:e.containerStyle.height+"px"},attrs:{view:"hHh Lpr fFf",container:""}},[n("q-layout-header",[n("documentation-header")],1),n("q-layout-drawer",{attrs:{side:"left",breakpoint:0,"content-class":["klab-left","no-scroll"],width:e.LEFTMENU_CONSTANTS.LEFTMENU_DOCUMENTATION_SIZE,overlay:!1},model:{value:e.leftMenu,callback:function(t){e.leftMenu=t},expression:"leftMenu"}},[n("documentation-tree")],1),n("q-page-container",[n("q-page",{staticClass:"column"},[n("div",{staticClass:"col row full-height kd-container"},[n("documentation-viewer")],1)])],1),n("q-modal",{staticClass:"kd-modal",attrs:{"no-backdrop-dismiss":"","no-esc-dismiss":""},on:{show:e.launchPrint},model:{value:e.print,callback:function(t){e.print=t},expression:"print"}},[n("documentation-viewer",{attrs:{"for-printing":!0}}),n("q-btn",{staticClass:"dv-print-hide print-hide",attrs:{icon:"mdi-close",round:"",flat:"",size:"sm",color:"mc-main"},on:{click:function(t){e.print=!1}}})],1)],1)},Wo=[];Ho._withStripped=!0;var qo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dh-container full-width row items-center"},[n("div",{staticClass:"dh-tabs col justify-start"},[n("q-tabs",{attrs:{color:"mc-main","underline-color":"mc-main"},model:{value:e.selectedTab,callback:function(t){e.selectedTab=t},expression:"selectedTab"}},[n("q-tab",{staticClass:"klab-tab",attrs:{slot:"title",name:e.DOCUMENTATION_VIEWS.REPORT,icon:"mdi-text-box-outline",alert:-1!==e.reloadViews.indexOf(e.DOCUMENTATION_VIEWS.REPORT)},slot:"title"}),n("q-tab",{staticClass:"klab-tab",attrs:{slot:"title",name:e.DOCUMENTATION_VIEWS.TABLES,icon:"mdi-table",alert:-1!==e.reloadViews.indexOf(e.DOCUMENTATION_VIEWS.TABLES)},slot:"title"}),n("q-tab",{staticClass:"klab-tab",attrs:{slot:"title",name:e.DOCUMENTATION_VIEWS.FIGURES,icon:"mdi-image",alert:-1!==e.reloadViews.indexOf(e.DOCUMENTATION_VIEWS.FIGURES)},slot:"title"}),n("q-tab",{staticClass:"klab-tab",attrs:{slot:"title",name:e.DOCUMENTATION_VIEWS.RESOURCES,icon:"mdi-database-outline",alert:-1!==e.reloadViews.indexOf(e.DOCUMENTATION_VIEWS.RESOURCES)},slot:"title"})],1)],1),n("div",{staticClass:"dh-actions justify-end"},[n("q-btn",{staticClass:"dh-button",attrs:{icon:"mdi-refresh",flat:"",color:"mc-main"},on:{click:e.forceReload}},[n("q-tooltip",{attrs:{offset:[0,8],self:"bottom middle",anchor:"top middle",delay:1e3}},[e._v(e._s(e.$t("label.appReload")))])],1),n("q-btn",{staticClass:"dh-button",attrs:{icon:"mdi-printer",flat:"",color:"mc-main"},on:{click:e.print}},[n("q-tooltip",{attrs:{offset:[0,8],self:"bottom middle",anchor:"top middle",delay:1e3}},[e._v(e._s(e.$t("label.appPrint")))])],1),e.selectedTab===e.DOCUMENTATION_VIEWS.TABLES?[n("q-btn",{staticClass:"dh-button",attrs:{disable:e.tableFontSize-1<8,flat:"",icon:"mdi-format-font-size-decrease",color:"mc-main"},on:{click:function(t){e.tableFontSizeChange(-1)}}}),n("q-btn",{staticClass:"dh-button",attrs:{disable:e.tableFontSize+1>50,flat:"",icon:"mdi-format-font-size-increase",color:"mc-main"},on:{click:function(t){e.tableFontSizeChange(1)}}})]:e._e()],2),e.hasSpinner?n("div",{staticClass:"dh-spinner col-1 justify-end"},[n("transition",{attrs:{appear:"","enter-active-class":"animated fadeIn","leave-active-class":"animated fadeOut"}},[n("div",{staticClass:"klab-spinner-div item-center",attrs:{id:"kd-spinner"}},[n("klab-spinner",{attrs:{id:"spinner-documentation","store-controlled":!0,size:30,ball:22,wrapperId:"kd-spinner"}})],1)])],1):e._e()])},Fo=[];qo._withStripped=!0;var Xo={name:"DocumentationHeader",components:{KlabSpinner:M},data:function(){return{DOCUMENTATION_VIEWS:c["n"]}},computed:a()({},Object(s["c"])("stomp",["hasTasks"]),Object(s["c"])("view",["leftMenuState","hasHeader","reloadViews","tableFontSize"]),{hasSpinner:function(){return!(this.leftMenuState!==c["u"].LEFTMENU_HIDDEN&&!this.hasHeader)},selectedTab:{get:function(){return this.$store.getters["view/documentationView"]},set:function(e){this.$store.dispatch("view/setDocumentationView",e,{root:!0}),this.setDocumentationSelected(null)}}}),methods:a()({},Object(s["b"])("view",["setTableFontSize","setDocumentationSelected"]),{tableFontSizeChange:function(e){this.setTableFontSize(this.tableFontSize+e),this.$eventBus.$emit(c["h"].FONT_SIZE_CHANGE,"table")},forceReload:function(){this.$eventBus.$emit(c["h"].REFRESH_DOCUMENTATION,{force:!0})},print:function(){this.$eventBus.$emit(c["h"].PRINT_DOCUMENTATION)}})},Uo=Xo,Vo=(n("d18c"),Object(b["a"])(Uo,qo,Fo,!1,null,null,null));Vo.options.__file="DocumentationHeader.vue";var Go=Vo.exports,Ko=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dt-container relative-position klab-menu-component"},[n("div",{staticClass:"dt-doc-container simplebar-vertical-only"},[n("div",{directives:[{name:"show",rawName:"v-show",value:0===e.tree.length,expression:"tree.length === 0"}],staticClass:"dt-tree-empty"},[e._v(e._s(e.$t("label.noDocumentation")))]),n("klab-q-tree",{attrs:{nodes:e.tree,"node-key":"id","check-click":!1,selected:e.selected,expanded:e.expanded,ticked:e.ticked,"text-color":"white","control-color":"white",color:"white",dark:!0,"no-nodes-label":e.$t("label.noNodes"),"no-results-label":e.$t("label.noNodes"),filter:e.documentationView,"filter-method":e.filter},on:{"update:selected":function(t){e.selected=t},"update:expanded":function(t){e.expanded=t},"update:ticked":function(t){e.ticked=t}}})],1),n("q-resize-observable",{on:{resize:function(t){e.$emit("resized")}}})],1)},$o=[];Ko._withStripped=!0;var Jo={name:"DocumentationTree",components:{KlabQTree:on},data:function(){return{expanded:[],selected:null,ticked:[],DOCUMENTATION_VIEWS:c["n"]}},computed:a()({},Object(s["c"])("data",["documentationTrees"]),Object(s["c"])("view",["documentationView","documentationSelected"]),{tree:function(){var e=this,t=this.documentationTrees.find(function(t){return t.view===e.documentationView}).tree||[];return t}}),methods:a()({},Object(s["b"])("view",["setDocumentationSelected"]),{filter:function(e,t){return t!==c["n"].REPORT||e.type!==c["l"].PARAGRAPH&&e.type!==c["l"].CITATION}}),watch:{selected:function(e){this.setDocumentationSelected(e)},documentationSelected:function(){this.selected=this.documentationSelected}},mounted:function(){this.selected=this.documentationSelected}},Zo=Jo,Qo=(n("5823"),Object(b["a"])(Zo,Ko,$o,!1,null,null,null));Qo.options.__file="DocumentationTree.vue";var er=Qo.exports,tr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dv-documentation"},[n("div",{staticClass:"dv-documentation-wrapper"},[0===e.content.length?[n("div",{staticClass:"dv-empty-documentation"},[e._v(e._s(e.$t("messages.noDocumentation")))])]:[n("div",{staticClass:"dv-content"},e._l(e.content,function(t){return n("div",{key:t.id,staticClass:"dv-item"},[t.type===e.DOCUMENTATION_TYPES.SECTION?[n("h1",{attrs:{id:e.getId(t.id)}},[e._v(e._s(t.idx)+" "+e._s(t.title))]),t.subtitle?n("h4",[e._v(e._s(t.subtitle))]):e._e()]:t.type===e.DOCUMENTATION_TYPES.PARAGRAPH?n("div",{staticClass:"dv-paragraph",domProps:{innerHTML:e._s(t.bodyText)}}):t.type===e.DOCUMENTATION_TYPES.REFERENCE?n("div",{staticClass:"dv-reference",attrs:{id:e.getId(t.id)},domProps:{innerHTML:e._s(t.bodyText)},on:{click:function(n){e.selectElement(".link-"+t.id)}}}):t.type===e.DOCUMENTATION_TYPES.CITATION?n("span",{staticClass:"dv-citation"},[n("a",{attrs:{href:"#",title:t.bodyText}},[e._v(e._s(t.bodyText))])]):t.type===e.DOCUMENTATION_TYPES.TABLE?n("div",{staticClass:"dv-table-container"},[n("div",{staticClass:"dv-table-title",attrs:{id:e.getId(t.id)}},[e._v(e._s(e.$t("label.reportTable")+" "+t.idx+". "+t.title))]),n("div",{staticClass:"dv-table",style:{"font-size":e.tableFontSize+"px"},attrs:{id:e.getId(t.id)+"-table"}}),n("div",{staticClass:"dv-table-bottom text-right print-hide"},[n("q-btn",{staticClass:"dv-button",attrs:{flat:"",color:"mc-main",icon:"mdi-content-copy"},on:{click:function(n){e.tableCopy(t.id)}}},[n("q-tooltip",{attrs:{anchor:"bottom middle",self:"top middle",offset:[0,5]}},[e._v(e._s(e.$t("label.tableCopy")))])],1),n("q-btn",{staticClass:"dv-button",attrs:{flat:"",color:"mc-main",icon:"mdi-download"},on:{click:function(n){e.tableDownload(t.id)}}},[n("q-tooltip",{attrs:{anchor:"bottom middle",self:"top middle",offset:[0,5]}},[e._v(e._s(e.$t("label.tableDownloadAsXSLX")))])],1)],1)]):t.type===e.DOCUMENTATION_TYPES.FIGURE?n("div",{staticClass:"dv-figure-container",attrs:{id:e.getId(t.id)}},[n("div",{staticClass:"dv-figure-wrapper col"},[n("div",{staticClass:"content-center row"},[n("div",{staticClass:"dv-figure-content col"},[n("div",{staticClass:"dv-figure-caption-wrapper row items-end"},[n("div",{staticClass:"dv-figure-caption col"},[e._v(e._s(e.$t("label.reportFigure")+" "+t.idx+(""!==t.figure.caption?". "+t.figure.caption:"")))]),t.figure.timeString&&""!==t.figure.timeString?n("div",{staticClass:"dv-figure-timestring col"},[e._v(e._s(t.figure.timeString))]):e._e()])]),n("div",{staticClass:"dv-col-fill col"})]),n("div",{staticClass:"row content-center"},[n("div",{staticClass:"dv-figure-content col"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.loadingImages.includes(t.id),expression:"loadingImages.includes(doc.id)"}],staticClass:"dv-figure-wait row items-center",style:{height:e.waitHeight+"px"}},[n("q-spinner",{staticClass:"col",attrs:{size:"3em"}})],1),n("div",{staticClass:"dv-figure-image col",class:"dv-figure-"+e.documentationView.toLowerCase()},[n("img",{staticClass:"dv-figure-img",class:[e.forPrinting?"dv-figure-print":"dv-figure-display"],attrs:{src:"",id:"figimg-"+e.documentationView+"-"+e.getId(t.id),alt:t.figure.caption}})])]),n("div",{staticClass:"dv-figure-legend col"},[n("histogram-viewer",{staticClass:"dv-figure-colormap",attrs:{dataSummary:t.figure.dataSummary,colormap:t.figure.colormap,id:e.getId(t.observationId),direction:"vertical",tooltips:!1,legend:!0}})],1)]),n("div",{staticClass:"row content-center"},[n("div",{staticClass:"dv-figure-content col"},[n("div",{staticClass:"dv-figure-time col"},[n("figure-timeline",{attrs:{start:t.figure.startTime,end:t.figure.endTime,"raw-slices":t.figure.timeSlices,observationId:t.figure.observationId},on:{timestampchange:function(n){e.changeTime(n,t.id)}}})],1)]),n("div",{staticClass:"dv-col-fill col"})])])]):t.type===e.DOCUMENTATION_TYPES.MODEL?n("div",{staticClass:"dv-model-container"},[n("div",{staticClass:"dv-model-code",attrs:{id:e.getId(t.id)},domProps:{innerHTML:e._s(e.getModelCode(t.bodyText))}})]):t.type===e.DOCUMENTATION_TYPES.RESOURCE?n("div",{staticClass:"dv-resource-container",attrs:{id:e.getId(t.id)}},[n("div",{staticClass:"dv-resource-title-container"},[n("div",{staticClass:"dv-resource-title"},[e._v(e._s(t.title))]),n("div",{staticClass:"dv-resource-originator"},[e._v(e._s(t.resource.originatorDescription))]),t.resource.keywords.length>0?n("div",{staticClass:"dv-resource-keywords text-right"},e._l(t.resource.keywords,function(i,o){return n("div",{key:o,staticClass:"dv-resource-keyword"},[n("span",{staticClass:"dv-resource-keyword"},[e._v(e._s(i))]),o0?n("div",{staticClass:"dv-resource-authors"},e._l(t.resource.authors,function(i,o){return n("div",{key:o,staticClass:"dv-resource-author-wrapper"},[n("span",{staticClass:"dv-resource-author"},[e._v(e._s(i))]),o0&&void 0!==arguments[0]?arguments[0]:{},t=e.view,n=void 0===t?null:t,i=e.force,o=void 0!==i&&i;null===n&&(n=this.documentationView),(-1!==this.reloadViews.indexOf(n)||o)&&this.loadDocumentation(n)},printDocumentation:function(){this.print=!0},closePrint:function(){this.print=!1},launchPrint:function(){this.$eventBus.$emit(c["h"].FONT_SIZE_CHANGE,"table"),setTimeout(function(){window.print()},600)}}),watch:{documentationView:function(){var e=this;this.$nextTick(function(){e.load()})},reloadViews:function(){var e=this;this.$nextTick(function(){e.load()})}},activated:function(){this.load()},mounted:function(){this.$eventBus.$on(c["h"].REFRESH_DOCUMENTATION,this.load),this.$eventBus.$on(c["h"].PRINT_DOCUMENTATION,this.printDocumentation),window.addEventListener("afterprint",this.closePrint)},beforeDestroy:function(){this.$eventBus.$off(c["h"].REFRESH_DOCUMENTATION,this.load),this.$eventBus.$off(c["h"].PRINT_DOCUMENTATION,this.printDocumentation),window.removeEventListener("afterprint",this.closePrint)}},cr=sr,lr=(n("7bbc"),Object(b["a"])(cr,Ho,Wo,!1,null,null,null));lr.options.__file="KlabDocumentation.vue";var ur=lr.exports,dr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dfv-wrapper",class:"dfv-"+e.flowchartSelected},[n("div",{staticClass:"fit no-padding with-background dfv-container",class:{"dfv-with-info":e.dataflowInfoOpen}},[n("div",{staticClass:"dfv-graph-info"},[n("div",{staticClass:"dfv-graph-type"},[n("span",[e._v(e._s(e.flowchart(e.flowchartSelected)?e.flowchart(e.flowchartSelected).label:"Nothing"))])]),n("div",{staticClass:"dfv-graph-selector"},[n("q-btn",{staticClass:"dfv-button",class:e.flowchartSelected===e.CONSTANTS.GRAPH_DATAFLOW?"dfv-graph-selected":"",attrs:{disable:!(e.flowchart(e.CONSTANTS.GRAPH_DATAFLOW).flowchart||e.flowchart(e.CONSTANTS.GRAPH_DATAFLOW).updatable),icon:"mdi-sitemap",flat:"",color:"app-main-color"},on:{click:function(t){e.flowchartSelected!==e.CONSTANTS.GRAPH_DATAFLOW&&e.setFlowchartSelected(e.CONSTANTS.GRAPH_DATAFLOW)}}},[n("q-tooltip",{attrs:{offset:[0,8],self:"bottom middle",anchor:"top middle",delay:500}},[e._v(e._s(e.flowchart(e.CONSTANTS.GRAPH_DATAFLOW).label))])],1),n("q-btn",{class:e.flowchartSelected===e.CONSTANTS.GRAPH_PROVENANCE_SIMPLIFIED?"dfv-graph-selected":"",attrs:{disable:!(e.flowchart(e.CONSTANTS.GRAPH_PROVENANCE_SIMPLIFIED).flowchart||e.flowchart(e.CONSTANTS.GRAPH_PROVENANCE_SIMPLIFIED).updatable),icon:"mdi-graph-outline",flat:"",color:"app-main-color"},on:{click:function(t){e.flowchartSelected!==e.CONSTANTS.GRAPH_PROVENANCE_SIMPLIFIED&&e.setFlowchartSelected(e.CONSTANTS.GRAPH_PROVENANCE_SIMPLIFIED)}}},[n("q-tooltip",{attrs:{offset:[0,8],self:"bottom middle",anchor:"top middle",delay:500}},[e._v(e._s(e.flowchart(e.CONSTANTS.GRAPH_PROVENANCE_SIMPLIFIED).label))])],1)],1)]),n("div",[n("div",{attrs:{id:"sprotty"}}),n("q-resize-observable",{attrs:{debounce:300},on:{resize:e.resize}})],1)]),e.dataflowInfoOpen?n("div",{staticClass:"dfv-info-container"},[n("dataflow-info",{attrs:{width:"infoWidth"}})],1):e._e()])},hr=[];dr._withStripped=!0;n("98db");var pr=n("970b"),fr=n.n(pr),mr=n("5bc30"),gr=n.n(mr),vr=n("8449"),_r=n("42d6"),br=n("e1c6"),yr=0,Mr=200,wr=!1,Lr=function(){function e(){fr()(this,e)}return gr()(e,[{key:"handle",value:function(e){switch(e.kind){case _r["SelectCommand"].KIND:wr=!1,yr=setTimeout(function(){wr||vr["b"].$emit(c["h"].GRAPH_NODE_SELECTED,e),wr=!1},Mr);break;case _r["SetViewportCommand"].KIND:clearTimeout(yr),wr=!0;break;default:console.warn("Unknow action: ".concat(e.kind));break}}},{key:"initialize",value:function(e){e.register(_r["SelectCommand"].KIND,this),e.register(_r["SetViewportCommand"].KIND,this)}}]),e}();function Sr(e){return void 0!==e.source&&void 0!==e.target}function Cr(e){return void 0!==e.sources&&void 0!==e.targets}br.decorate(br.injectable(),Lr);var Er=function(){function e(){this.nodeIds=new Set,this.edgeIds=new Set,this.portIds=new Set,this.labelIds=new Set,this.sectionIds=new Set,this.isRestored=!1}return e.prototype.transform=function(e){var t,n,i=this,o={type:"graph",id:e.id||"root",children:[]};if(e.restored&&(this.isRestored=!0),e.children){var r=e.children.map(function(e){return i.transformElkNode(e)});(t=o.children).push.apply(t,r)}if(e.edges){var a=e.edges.map(function(e){return i.transformElkEdge(e)});(n=o.children).push.apply(n,a)}return o},e.prototype.transformElkNode=function(e){var t,n,i,o,r=this;this.checkAndRememberId(e,this.nodeIds);var a={type:"node",id:e.id,nodeType:e.id.split(".")[0],position:this.pos(e),size:this.size(e),status:this.isRestored?"processed":"waiting",children:[]};if(e.children){var s=e.children.map(function(e){return r.transformElkNode(e)});(t=a.children).push.apply(t,s)}if(e.ports){var c=e.ports.map(function(e){return r.transformElkPort(e)});(n=a.children).push.apply(n,c)}if(e.labels){var l=e.labels.map(function(e){return r.transformElkLabel(e)});(i=a.children).push.apply(i,l)}if(e.edges){var u=e.edges.map(function(e){return r.transformElkEdge(e)});(o=a.children).push.apply(o,u)}return a},e.prototype.transformElkPort=function(e){this.checkAndRememberId(e,this.portIds);var t={type:"port",id:e.id,position:this.pos(e),size:this.size(e),children:[]};return t},e.prototype.transformElkLabel=function(e){return this.checkAndRememberId(e,this.labelIds),{type:"label",id:e.id,text:e.text,position:this.pos(e),size:this.size(e)}},e.prototype.transformElkEdge=function(e){var t,n,i=this;this.checkAndRememberId(e,this.edgeIds);var o={type:"edge",id:e.id,sourceId:"",targetId:"",routingPoints:[],children:[]};if(Sr(e)?(o.sourceId=e.source,o.targetId=e.target,e.sourcePoint&&o.routingPoints.push(e.sourcePoint),e.bendPoints&&(t=o.routingPoints).push.apply(t,e.bendPoints),e.targetPoint&&o.routingPoints.push(e.targetPoint)):Cr(e)&&(o.sourceId=e.sources[0],o.targetId=e.targets[0],e.sections&&e.sections.forEach(function(e){var t;i.checkAndRememberId(e,i.sectionIds),o.routingPoints.push(e.startPoint),e.bendPoints&&(t=o.routingPoints).push.apply(t,e.bendPoints),o.routingPoints.push(e.endPoint)})),e.junctionPoints&&e.junctionPoints.forEach(function(t,n){var i={type:"junction",id:e.id+"_j"+n,position:t};o.children.push(i)}),e.labels){var r=e.labels.map(function(e){return i.transformElkLabel(e)});(n=o.children).push.apply(n,r)}return o},e.prototype.pos=function(e){return{x:e.x||0,y:e.y||0}},e.prototype.size=function(e){return{width:e.width||0,height:e.height||0}},e.prototype.checkAndRememberId=function(e,t){if(void 0===e.id||null===e.id)throw Error("An element is missing an id: "+e);if(t.has(e.id))throw Error("Duplicate id: "+e.id+".");t.add(e.id)},e}(),Ar=n("e1c6"),Tr=n("393a"),Or=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),kr=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},xr={createElement:Tr["svg"]},Dr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Or(t,e),t.prototype.render=function(e,t){var n="elknode "+(e.hoverFeedback?"mouseover ":"")+(e.selected?"selected ":"")+e.status+" elk-"+e.nodeType;return xr.createElement("g",null,xr.createElement("rect",{classNames:n,x:"0",y:"0",width:e.bounds.width,height:e.bounds.height}),t.renderChildren(e))},t}(_r["RectangularNodeView"]),Rr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Or(t,e),t.prototype.render=function(e,t){return xr.createElement("g",null,xr.createElement("rect",{"class-elkport":!0,"class-mouseover":e.hoverFeedback,"class-selected":e.selected,x:"0",y:"0",width:e.bounds.width,height:e.bounds.height}),t.renderChildren(e))},t}(_r["RectangularNodeView"]),zr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Or(t,e),t.prototype.renderLine=function(e,t,n){for(var i=t[0],o="M "+i.x+","+i.y,r=1;r=o||t.mouseModel&&t.mouseModel>=o,exselected:t.mouseModel&&t.model>=o&&t.mouseModel0&&void 0!==arguments[0]?arguments[0]:null;this.sendStompMessage(l["a"].DATAFLOW_NODE_RATING({nodeId:this.dataflowInfo.elementId,contextId:this.contextId,rating:this.dataflowInfo.rating,comment:e},this.session).body)},commentOk:function(){this.changeDataflowRating(this.commentContent),this.$q.notify({message:this.$t("messages.thankComment"),type:"info",icon:"mdi-information",timeout:1e3})},closePanel:function(){this.setDataflowInfoOpen(!1)}}),watch:{commentOpen:function(e){this.setModalMode(e)}}},Zr=Jr,Qr=(n("75c1"),Object(b["a"])(Zr,Xr,Ur,!1,null,null,null));Qr.options.__file="DataflowInfoPane.vue";var ea=Qr.exports,ta={name:"DataflowViewer",components:{DataflowInfo:ea},data:function(){return{modelSource:null,actionDispatcher:null,interval:null,processing:!1,visible:!1,needsUpdate:!0,CONSTANTS:c["g"]}},computed:a()({},Object(s["c"])("data",["flowchart","flowcharts","dataflowInfo","dataflowStatuses","contextId","session","context"]),Object(s["c"])("view",["leftMenuState","flowchartSelected","dataflowInfoOpen"])),methods:a()({},Object(s["b"])("data",["loadFlowchart"]),Object(s["b"])("view",["setFlowchartSelected","setDataflowInfoOpen"]),{doGraph:function(){var e=this,t=this.flowchart(this.flowchartSelected);if(t){if(this.processing)return void setTimeout(this.doGraph(),100);t.updatable?this.loadFlowchart(this.flowchartSelected).then(function(){var n=JSON.parse(JSON.stringify(t.flowchart));e.processing=!0,t.graph=(new Er).transform(n),e.setModel(t),e.centerGraph(),e.processing=!1}).catch(function(e){console.error(e)}):null===t.graph||t.visible||(this.setModel(t),this.centerGraph())}},setModel:function(e){this.modelSource.setModel(e.graph),this.flowcharts.forEach(function(e){e.visible=!1}),e.visible=!0},centerGraph:function(){this.flowchartSelected===c["g"].GRAPH_DATAFLOW?this.actionDispatcher.dispatch(new _r["FitToScreenAction"]([],40)):this.actionDispatcher.dispatch(new _r["CenterAction"]([],40))},updateStatuses:function(){if(this.visible){if(0!==this.dataflowStatuses.length){for(var e=this.dataflowStatuses.length,t=0;t=0;n-=1)this.sendStompMessage(l["a"].DATAFLOW_NODE_DETAILS({nodeId:e.selectedElementsIDs[n],contextId:this.context.id},this.session).body)}},closePanel:function(){this.setDataflowInfoOpen(!1)},resize:function(){var e=this;this.$nextTick(function(){var t=document.getElementById("sprotty");if(null!==t){var n=t.getBoundingClientRect();e.actionDispatcher.dispatch(new _r["InitializeCanvasBoundsAction"]({x:n.left,y:n.top,width:n.width,height:n.height})),e.centerGraph()}})}}),watch:{flowchartSelected:function(){this.visible&&this.doGraph()},flowcharts:{handler:function(){this.visible&&this.doGraph()},deep:!0},dataflowStatuses:{handler:function(){this.flowchartSelected===c["g"].GRAPH_DATAFLOW&&null!==this.flowchart(this.flowchartSelected)&&this.updateStatuses()},deep:!0},dataflowInfo:function(e,t){null===e?this.setDataflowInfoOpen(!1):null===t?this.setDataflowInfoOpen(!0):e.elementId===t.elementId&&this.dataflowInfoOpen?this.setDataflowInfoOpen(!1):this.setDataflowInfoOpen(!0)},dataflowInfoOpen:function(){this.resize()}},mounted:function(){var e=Fr({needsClientLayout:!1,needsServerLayout:!0},"info");e.bind(_r["TYPES"].IActionHandlerInitializer).to(Lr),this.modelSource=e.get(_r["TYPES"].ModelSource),this.actionDispatcher=e.get(_r["TYPES"].IActionDispatcher),this.$eventBus.$on(c["h"].GRAPH_NODE_SELECTED,this.graphNodeSelectedListener)},activated:function(){this.visible=!0,this.doGraph(),this.flowchartSelected===c["g"].GRAPH_DATAFLOW&&this.needsUpdate&&(this.updateStatuses(),this.needsUpdate=!1)},deactivated:function(){this.visible=!1},beforeDestroy:function(){this.$eventBus.$off(c["h"].GRAPH_NODE_SELECTED,this.graphNodeSelectedListener)}},na=ta,ia=(n("7890"),Object(b["a"])(na,dr,hr,!1,null,null,null));ia.options.__file="DataflowViewer.vue";var oa=ia.exports,ra=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-modal",{ref:"irm-modal-container",attrs:{"no-esc-dismiss":!0,"no-backdrop-dismiss":!0,"content-classes":["irm-container"]},on:{hide:e.cleanInputRequest},model:{value:e.opened,callback:function(t){e.opened=t},expression:"opened"}},[n("q-tabs",{class:{"irm-tabs-hidden":e.inputRequests.length<=1},attrs:{swipeable:"",animated:"",color:"white"},model:{value:e.selectedRequest,callback:function(t){e.selectedRequest=t},expression:"selectedRequest"}},[e._l(e.inputRequests,function(t){return n("q-tab",{key:t.messageId,class:{"irm-tabs-hidden":e.inputRequests.length<=1},attrs:{slot:"title",name:"request-"+t.messageId},slot:"title"})}),e._l(e.inputRequests,function(t){return n("q-tab-pane",{key:t.messageId,attrs:{name:"request-"+t.messageId}},[n("div",{staticClass:"irm-group"},[n("div",{staticClass:"irm-global-description"},[n("h4",[e._v(e._s(null!==t.sectionTitle?t.sectionTitle:e.$t("label.noInputSectionTitle")))]),n("p",[e._v(e._s(t.description))])]),n("div",{staticClass:"irm-fields-container",attrs:{"data-simplebar":""}},[n("div",{staticClass:"irm-fields-wrapper"},e._l(t.fields,function(i){return n("div",{key:e.getFieldId(i,t.messageId),staticClass:"irm-field"},[e.checkSectionTitle(i.sectionTitle)?n("div",{staticClass:"irm-section-description"},[n("h5",[e._v(e._s(i.sectionTitle))]),n("p",[e._v(e._s(i.sectionDescription))])]):e._e(),n("q-field",{attrs:{label:null!==i.label?i.label:i.id,helper:i.description}},[n(e.capitalizeFirstLetter(i.type)+"InputRequest",{tag:"component",attrs:{name:e.getFieldId(i,t.messageId),initialValue:i.initialValue,values:i.values,range:i.range,numericPrecision:i.numericPrecision,regexp:i.regexp},on:{change:function(n){e.updateForm(e.getFieldId(i,t.messageId),n)}}})],1)],1)}))]),n("div",{staticClass:"irm-buttons"},[n("q-btn",{attrs:{color:"primary",label:e.$t("label.cancelInputRequest")},on:{click:function(n){e.cancelRequest(t)}}}),n("q-btn",{attrs:{color:"mc-main",disable:e.formDataIsEmpty,label:e.$t("label.resetInputRequest")},on:{click:function(n){e.send(t.messageId,!0)}}}),n("q-btn",{attrs:{color:"mc-main",label:e.$t("label.submitInputRequest")},on:{click:function(n){e.send(t.messageId,!1)}}})],1)])])})],2)],1)},aa=[];ra._withStripped=!0;var sa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-input",{attrs:{color:"mc-main",type:"text",placeholder:e.initialValue,name:e.name,error:e.hasError,clearable:!0,"clear-value":e.initialValue},on:{input:e.emitInput},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})},ca=[];sa._withStripped=!0;var la={name:"TextField",props:{initialValue:{type:String,required:!0},name:{type:String,required:!0}},data:function(){return{value:""}},computed:{hasError:function(){return this.value,!1}},methods:{emitInput:function(e){this.$emit("change",e)}}},ua=la,da=(n("9d14"),Object(b["a"])(ua,sa,ca,!1,null,null,null));da.options.__file="TextField.vue";var ha=da.exports,pa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-input",{attrs:{color:"mc-main",type:"number",placeholder:e.initialValue,name:e.name,error:e.hasError,clearable:!0,"clear-value":e.initialValue},on:{input:e.emitInput},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})},fa=[];pa._withStripped=!0;var ma={name:"NumberField",props:{initialValue:{type:String,required:!0},name:{type:String,required:!0},numericPrecision:{type:Number,default:5},range:{type:String}},data:function(){return{value:""}},computed:{hasError:function(){return this.range,!1}},methods:{emitInput:function(e){var t=this;this.fitValue(),this.$nextTick(function(){t.$emit("change",e)})},fitValue:function(){0!==this.numericPrecision&&(this.value=this.value.toFixed(this.numericPrecision))}}},ga=ma,va=(n("d6e2"),Object(b["a"])(ga,pa,fa,!1,null,null,null));va.options.__file="NumberField.vue";var _a=va.exports,ba=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-checkbox",{attrs:{color:"mc-main",name:e.name},on:{input:e.emitInput},model:{value:e.checked,callback:function(t){e.checked=t},expression:"checked"}})},ya=[];ba._withStripped=!0;var Ma={name:"BooleanField",props:{initialValue:{type:String,required:!0},name:{type:String,required:!0}},data:function(){return{checked:"true"===this.initialValue}},methods:{emitInput:function(e){var t=this;this.$nextTick(function(){t.$emit("change",e)})}}},wa=Ma,La=(n("bb33"),Object(b["a"])(wa,ba,ya,!1,null,null,null));La.options.__file="BooleanField.vue";var Sa=La.exports,Ca={name:"InputRequestModal",components:{TextInputRequest:ha,NumberInputRequest:_a,BooleanInputRequest:Sa},sectionTitle:void 0,data:function(){return{formData:{},simpleBars:[],selectedRequest:null}},computed:a()({},Object(s["c"])("data",["session"]),Object(s["c"])("view",["hasInputRequests","inputRequests"]),{opened:{set:function(){},get:function(){return this.hasInputRequests}},formDataIsEmpty:function(){return 0===Object.keys(this.formData).length}}),methods:a()({},Object(s["b"])("view",["removeInputRequest"]),{send:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.inputRequests.find(function(t){return t.messageId===e});if("undefined"!==typeof i){var o=i.fields.reduce(function(e,o){if(n)e[t.getFieldId(o)]=o.initialValue;else{var r=t.formData[t.getFieldId(o,i.messageId)];e[t.getFieldId(o)]="undefined"===typeof r||null===r||""===r?o.initialValue:r.toString()}return e},{});this.sendStompMessage(l["a"].USER_INPUT_RESPONSE({messageId:i.messageId,requestId:i.requestId,values:o},this.session).body),this.removeInputRequest(i.messageId)}},cancelRequest:function(e){this.sendStompMessage(l["a"].USER_INPUT_RESPONSE({messageId:e.messageId,requestId:e.requestId,cancelRun:!0,values:{}},this.session).body),this.removeInputRequest(e.messageId)},updateForm:function(e,t){null===t?this.$delete(this.formData,e):this.$set(this.formData,e,t)},capitalizeFirstLetter:function(e){return Object(Fe["a"])(e)},getFieldId:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return null===t?"".concat(e.functionId,"/").concat(e.id):"".concat(t,"-").concat(e.functionId,"/").concat(e.id)},checkSectionTitle:function(e){return this.$options.sectionTitle!==e&&(this.$options.sectionTitle=e,!0)},cleanInputRequest:function(){this.formData={},this.removeInputRequest(null)}}),watch:{inputRequests:function(){this.inputRequests.length>0&&(this.selectedRequest="request-".concat(this.inputRequests[0].messageId))}}},Ea=Ca,Aa=(n("2b54"),Object(b["a"])(Ea,ra,aa,!1,null,null,null));Aa.options.__file="InputRequestModal.vue";var Ta=Aa.exports,Oa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return null!==e.scaleReference?n("q-dialog",{attrs:{title:e.$t("label.titleChangeScale",{type:e.scaleEditingType===e.SCALE_TYPE.ST_SPACE?e.$t("label.labelSpatial"):e.$t("label.labelTemporal")}),color:"info",cancel:!0,ok:!1},on:{show:e.initValues},scopedSlots:e._u([{key:"buttons",fn:function(t){return[n("q-btn",{attrs:{color:"mc-main",outline:"",label:e.$t("label.appCancel")},on:{click:t.cancel}}),n("q-btn",{attrs:{color:"mc-main",label:e.$t("label.appOK")},on:{click:function(n){e.choose(t.ok)}}})]}}]),model:{value:e.scaleEditing,callback:function(t){e.scaleEditing=t},expression:"scaleEditing"}},[n("div",{attrs:{slot:"body"},slot:"body"},[e.scaleEditingType===e.SCALE_TYPE.ST_SPACE?[n("q-input",{attrs:{type:"number",min:"0",color:"info",autofocus:"",after:[{icon:"warning",error:!0,condition:e.resolutionError}],"stack-label":e.resolutionError?e.$t("messages.changeScaleResolutionError"):e.$t("label.resolutionLabel")},model:{value:e.resolution,callback:function(t){e.resolution=t},expression:"resolution"}})]:e._e(),n("q-select",{attrs:{"float-label":e.$t("label.unitLabel"),color:"info",options:e.typedUnits(e.scaleEditingType)},on:{input:function(t){e.scaleEditingType===e.SCALE_TYPE.ST_TIME&&e.setStartDate()}},model:{value:e.unit,callback:function(t){e.unit=t},expression:"unit"}}),e.scaleEditingType===e.SCALE_TYPE.ST_TIME?[n("div",{staticClass:"row"},[e.unit===e.SCALE_VALUES.DECADE?n("q-input",{staticClass:"col col-4",attrs:{"float-label":e.$t("label.unitDecade"),type:"number",min:"0",max:"90",step:10,color:"mc-main",autofocus:""},on:{input:function(t){e.setStartDate()}},model:{value:e.unitInputs.decade,callback:function(t){e.$set(e.unitInputs,"decade",t)},expression:"unitInputs.decade"}}):e._e(),e.unit===e.SCALE_VALUES.CENTURY||e.unit===e.SCALE_VALUES.DECADE?n("q-input",{class:["col",e.unit===e.SCALE_VALUES.CENTURY?"col-8":"col-4"],attrs:{"float-label":e.$t("label.unitCentury"),type:"number",min:"1",step:1,color:"mc-main",autofocus:""},on:{input:function(t){e.setStartDate()}},model:{value:e.unitInputs.century,callback:function(t){e.$set(e.unitInputs,"century",t)},expression:"unitInputs.century"}}):e._e(),e.unit===e.SCALE_VALUES.MONTH?n("q-select",{staticClass:"col col-4",attrs:{"float-label":e.$t("label.unitMonth"),type:"number",min:"0",color:"mc-main",options:e.monthOptions,autofocus:""},on:{input:function(t){e.setStartDate()}},model:{value:e.unitInputs.month,callback:function(t){e.$set(e.unitInputs,"month",t)},expression:"unitInputs.month"}}):e._e(),e.unit===e.SCALE_VALUES.WEEK?n("q-input",{staticClass:"col col-4",attrs:{"float-label":e.$t("label.unitWeek"),type:"number",min:"1",max:"53",step:1,color:"mc-main",autofocus:""},on:{input:function(t){e.setStartDate(t)}},model:{value:e.unitInputs.week,callback:function(t){e.$set(e.unitInputs,"week",t)},expression:"unitInputs.week"}}):e._e(),e.unit===e.SCALE_VALUES.YEAR||e.unit===e.SCALE_VALUES.MONTH||e.unit===e.SCALE_VALUES.WEEK?n("q-input",{class:{col:e.unit===e.SCALE_VALUES.YEAR,"col-8":e.unit===e.SCALE_VALUES.YEAR,"col-4":e.unit===e.SCALE_VALUES.MONTH||e.unit===e.SCALE_VALUES.WEEK},attrs:{"float-label":e.$t("label.unitYear"),type:"number",min:"0",step:1,color:"mc-main",autofocus:""},on:{input:function(t){e.setStartDate()}},model:{value:e.unitInputs.year,callback:function(t){e.$set(e.unitInputs,"year",t)},expression:"unitInputs.year"}}):e._e(),e.unit===e.SCALE_VALUES.CENTURY||e.unit===e.SCALE_VALUES.DECADE||e.unit===e.SCALE_VALUES.YEAR||e.unit===e.SCALE_VALUES.MONTH||e.unit===e.SCALE_VALUES.WEEK?n("q-input",{staticClass:"col col-4",class:{"scd-inactive-multiplier":e.timeEndModified},attrs:{"float-label":e.$t("label.timeResolutionMultiplier"),type:"number",min:"1",step:1,color:"mc-main"},model:{value:e.timeResolutionMultiplier,callback:function(t){e.timeResolutionMultiplier=t},expression:"timeResolutionMultiplier"}},[e.timeEndModified?n("q-tooltip",{attrs:{offset:[0,15],self:"top middle",anchor:"bottom middle"}},[e._v(e._s(e.$t("messages.timeEndModified")))]):e._e()],1):e._e()],1),n("q-datetime",{attrs:{color:"mc-main","float-label":e.$t("label.labelTimeStart"),format:e.getFormat(),type:e.unit===e.SCALE_VALUES.HOUR||e.unit===e.SCALE_VALUES.MINUTE||e.unit===e.SCALE_VALUES.SECOND?"datetime":"date",minimal:"",format24h:"","default-view":e.unit===e.SCALE_VALUES.CENTURY||e.unit===e.SCALE_VALUES.DECADE||e.unit===e.SCALE_VALUES.YEAR?"year":"day"},on:{focus:function(t){e.manualInputChange=!0},blur:function(t){e.manualInputChange=!1},input:function(t){e.manualInputChange&&e.initUnitInputs()&&e.calculateEnd()}},model:{value:e.timeStart,callback:function(t){e.timeStart=t},expression:"timeStart"}}),n("q-datetime",{attrs:{color:"mc-main","float-label":e.$t("label.labelTimeEnd"),format:e.getFormat(),type:e.unit===e.SCALE_VALUES.HOUR||e.unit===e.SCALE_VALUES.MINUTE||e.unit===e.SCALE_VALUES.SECOND?"datetime":"date",minimal:"",format24h:"",after:[{icon:"warning",error:!0,condition:e.resolutionError}],"default-view":e.unit===e.SCALE_VALUES.CENTURY||e.unit===e.SCALE_VALUES.DECADE||e.unit===e.SCALE_VALUES.YEAR?"year":"day"},on:{input:e.checkEnd},model:{value:e.timeEnd,callback:function(t){e.timeEnd=t},expression:"timeEnd"}})]:e._e()],2)]):e._e()},ka=[];Oa._withStripped=!0;var xa=n("7f45"),Da=n.n(xa),Ra={name:"ScaleChangeDialog",data:function(){return{resolution:null,timeResolutionMultiplier:1,timeStart:null,timeEnd:null,timeEndMod:!1,unit:null,units:c["C"],resolutionError:!1,SCALE_TYPE:c["B"],SCALE_VALUES:c["D"],unitInputs:{century:null,year:null,month:null,week:null},monthOptions:[],timeEndModified:!1,manualInputChange:!1}},computed:a()({},Object(s["c"])("data",["scaleReference","nextScale","hasContext"]),Object(s["c"])("view",["scaleEditingType"]),{scaleEditing:{get:function(){return this.$store.getters["view/isScaleEditing"]},set:function(e){this.$store.dispatch("view/setScaleEditing",{active:e,type:this.scaleEditingType})}},typedUnits:function(){var e=this;return function(t){return e.units.filter(function(e){return e.type===t&&e.selectable}).map(function(t){return a()({},t,{label:e.$t("label.".concat(t.i18nlabel))})})}}}),methods:a()({},Object(s["b"])("data",["updateScaleReference","setNextScale"]),{choose:function(e){if(this.scaleEditingType===c["B"].ST_SPACE&&(""===this.resolution||this.resolution<=0))this.resolutionError=!0;else if(this.scaleEditingType!==c["B"].ST_TIME||this.checkEnd){if(e(),this.resolutionError=!1,this.scaleEditingType===c["B"].ST_SPACE&&(null===this.nextScale&&this.resolution===this.scaleReference.spaceResolutionConverted&&this.unit===this.scaleReference.spaceUnit||null!==this.nextScale&&this.resolution===this.nextScale.spaceResolutionConverted&&this.unit===this.nextScale.spaceUnit)||this.scaleEditingType===c["B"].ST_TIME&&(null===this.nextScale&&this.timeResolutionMultiplier===this.scaleReference.timeResolutionMultiplier&&this.unit===this.scaleReference.timeUnit&&this.timeStart===this.scaleReference.start&&this.timeEnd===this.scaleReference.end||null!==this.nextScale&&this.timeResolutionMultiplier===this.nextScale.timeResolutionMultiplier&&this.unit===this.nextScale.timeUnit&&this.timeStart===this.nextScale.start&&this.timeEnd===this.nextScale.end))return;var t=new Date(this.timeStart.getTime()),n=new Date(this.timeEnd.getTime());[c["D"].MILLENNIUM,c["D"].CENTURY,c["D"].DECADE,c["D"].YEAR,c["D"].MONTH,c["D"].WEEK,c["D"].DAY].includes(this.unit)&&(t.setUTCHours(0,0,0,0),n.setUTCHours(0,0,0,0)),this.hasContext||this.sendStompMessage(l["a"].SCALE_REFERENCE(a()({scaleReference:this.scaleReference},this.scaleEditingType===c["B"].ST_SPACE&&{spaceResolution:this.resolution,spaceUnit:this.unit},this.scaleEditingType===c["B"].ST_TIME&&{timeResolutionMultiplier:this.timeResolutionMultiplier,timeUnit:this.unit,start:t.getTime(),end:n.getTime()}),this.$store.state.data.session).body),this.updateScaleReference(a()({type:this.scaleEditingType,unit:this.unit},this.scaleEditingType===c["B"].ST_SPACE&&{spaceResolution:this.resolution,spaceResolutionConverted:this.resolution},this.scaleEditingType===c["B"].ST_TIME&&{timeResolutionMultiplier:this.timeResolutionMultiplier,start:t.getTime(),end:n.getTime()},{next:this.hasContext})),this.$q.notify({message:this.$t(this.hasContext?"messages.updateNextScale":"messages.updateScale",{type:this.scaleEditingType.charAt(0).toUpperCase()+this.scaleEditingType.slice(1)}),type:"info",icon:"mdi-information",timeout:2e3})}else this.resolutionError=!0},setStartDate:function(e){var t=new Date;switch(this.unit){case c["D"].CENTURY:t.setUTCDate(1),t.setUTCMonth(0),t.setUTCFullYear(100*(this.unitInputs.century-1));break;case c["D"].DECADE:this.unitInputs.decade=this.unitInputs.decade-this.unitInputs.decade%10,t.setUTCDate(1),t.setUTCMonth(0),t.setUTCFullYear(100*(this.unitInputs.century-1)+this.unitInputs.decade);break;case c["D"].YEAR:t.setUTCFullYear(this.unitInputs.year,0,1);break;case c["D"].MONTH:t.setUTCDate(1),t.setUTCMonth(this.unitInputs.month),t.setUTCFullYear(this.unitInputs.year);break;case c["D"].WEEK:if(e>53)return void(this.unitInputs.week=Da()(this.timeStart).week());t.setUTCMonth(0),t.setUTCDate(1+7*(this.unitInputs.week-1)),t.setUTCFullYear(this.unitInputs.year);break;default:return}this.timeStart=t,this.initUnitInputs(),this.calculateEnd()},calculateEnd:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=c["C"].find(function(t){return t.value===e.unit});this.timeEnd=Da()(this.timeStart).add(this.timeResolutionMultiplier*n.momentMultiplier-(1!==n.momentMultiplier?1:0),n.momentShorthand).toDate(),this.$nextTick(function(){e.timeEndModified=t})},checkEnd:function(){this.timeEnd<=this.timeStart?this.$q.notify({message:this.$t("messages.timeEndBeforeTimeStart"),type:"info",icon:"mdi-information",timeout:2e3}):this.calculateEnd(!0)},getFormat:function(){switch(this.unit){case c["D"].MILLENNIUM:case c["D"].CENTURY:case c["D"].DECADE:case c["D"].YEAR:case c["D"].MONTH:case c["D"].WEEK:case c["D"].DAY:return"DD/MM/YYYY";case c["D"].HOUR:return"DD/MM/YYYY HH:mm";case c["D"].MINUTE:case c["D"].SECOND:return"DD/MM/YYYY HH:mm:ss";case c["D"].MILLISECOND:return"DD/MM/YYYY HH:mm:ss:SSS";default:return"DD/MM/YYYY HH:mm:ss"}},formatDate:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"dddd, MMMM Do YYYY, h:mm:ss a";return e&&null!==e?Da()(e).format(t):""},initValues:function(){var e=null!==this.nextScale?this.nextScale:null!==this.scaleReference?this.scaleReference:null;null!==e&&(this.resolution=e.spaceResolutionConverted,this.unit=this.scaleEditingType===c["B"].ST_SPACE?e.spaceUnit:null!==e.timeUnit?e.timeUnit:c["D"].YEAR,this.timeResolutionMultiplier=0!==e.timeResolutionMultiplier?e.timeResolutionMultiplier:1,this.timeStart=0!==e.start?new Date(e.start):new Date,this.calculateEnd()),this.initUnitInputs()},initUnitInputs:function(){var e=this.timeStart?Da()(this.timeStart):Da()();this.unitInputs.century=Math.floor(e.year()/100)+1,this.unitInputs.decade=10*Math.floor(e.year()/10)-100*Math.floor(e.year()/100),this.unitInputs.year=e.year(),this.unitInputs.month=e.month(),this.unitInputs.week=e.week()}}),watch:{timeResolutionMultiplier:function(e,t){e<1?this.timeResolutionMultiplier=t:this.calculateEnd()}},created:function(){for(var e=0;e<12;e++)this.monthOptions.push({label:this.$t("label.months.m".concat(e)),value:e})}},za=Ra,Pa=(n("c998"),Object(b["a"])(za,Oa,ka,!1,null,null,null));Pa.options.__file="ScaleChangeDialog.vue";var Na=Pa.exports,Ia=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"full-height",attrs:{id:"lm-container"}},[n("div",{staticClass:"full-height klab-lm-panel",style:{width:e.LEFTMENU_VISIBILITY.LEFTMENU_MINSIZE+"px"},attrs:{id:"lm-actions"}},[n("div",{attrs:{id:"spinner-leftmenu-container"}},[n("div",{style:{"border-color":e.hasTasks()?e.spinnerColor.color:"white"},attrs:{id:"spinner-leftmenu-div"}},[n("klab-spinner",{attrs:{id:"spinner-leftmenu","store-controlled":!0,size:40,ball:22,wrapperId:"spinner-leftmenu-div"},nativeOn:{touchstart:function(t){e.handleTouch(t,e.askForSuggestion)}}})],1)]),e.hasContext?[n("div",{staticClass:"lm-separator"}),n("main-actions-buttons",{attrs:{orientation:"vertical","separator-class":"lm-separator"}}),n("div",{staticClass:"lm-separator"})]:e._e(),n("div",{staticClass:"klab-button klab-action",class:[{active:e.logShowed}],on:{click:e.logAction}},[n("q-icon",{attrs:{name:"mdi-console"}},[n("q-tooltip",{attrs:{delay:600,offset:[0,8],self:"top left",anchor:"bottom left"}},[e._v(e._s(e.logShowed?e.$t("tooltips.hideLogPane"):e.$t("tooltips.showLogPane")))])],1)],1),n("div",{staticClass:"lm-separator"}),n("div",{style:{width:e.LEFTMENU_VISIBILITY.LEFTMENU_MINSIZE+"px"},attrs:{id:"lm-bottom-menu"}},[n("div",{staticClass:"lm-separator"}),n("scale-buttons",{attrs:{docked:!0}}),n("div",{staticClass:"lm-separator"}),n("div",{staticClass:"lm-bottom-buttons"},[n("stop-actions-buttons")],1)],1)],2),e.maximized?n("div",{staticClass:"full-height klab-lm-panel",style:{width:e.LEFTMENU_VISIBILITY.LEFTMENU_MAXSIZE-e.LEFTMENU_VISIBILITY.LEFTMENU_MINSIZE+"px"},attrs:{id:"lm-content"}},[n("div",{staticClass:"full-height",attrs:{id:"lm-content-container"}},[n("keep-alive",[n("transition",{attrs:{name:"component-fade",mode:"out-in"}},[n(e.leftMenuContent,{tag:"component",staticClass:"lm-component"})],1)],1)],1)]):e._e()])},Ba=[];Ia._withStripped=!0;var ja=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"full-height",class:{"dmc-dragging":e.dragging,"dmc-large-mode":e.searchIsFocused&&e.largeMode>0},attrs:{id:"dmc-container"}},[n("klab-breadcrumbs"),n("klab-search-bar",{directives:[{name:"draggable",rawName:"v-draggable",value:e.dragMCConfig,expression:"dragMCConfig"}],ref:"klab-search-bar-docked"}),e.isTreeVisible?n("div",{staticClass:"q-card-main full-height",class:{"dmc-dragging":e.dragging,"dmc-loading":e.taskOfContextIsAlive},attrs:{id:"dmc-tree"}},[n("klab-tree-pane")],1):e._e(),e.contextHasTime?n("observations-timeline",{staticClass:"dmc-timeline"}):e._e()],1)},Ya=[];ja._withStripped=!0;var Ha=V["b"].width,Wa={name:"KlabDockedMainControl",components:{KlabSearchBar:Nt,KlabBreadcrumbs:Wt,ObservationsTimeline:qn,KlabTreePane:On},directives:{Draggable:X},data:function(){var e=this;return{dragMCConfig:{onPositionChange:Object(Le["a"])(function(t,n){e.onDebouncedPositionChanged(n)},100),onDragStart:function(){e.dragging=!0},onDragEnd:this.checkUndock,fingers:2,noMove:!0},askForUndocking:!1,draggableElementWidth:0,dragging:!1}},computed:a()({},Object(s["c"])("data",["contextHasTime"]),Object(s["c"])("view",["largeMode","isTreeVisible"]),Object(s["c"])("stomp",["taskOfContextIsAlive"])),methods:a()({},Object(s["b"])("view",["searchIsFocused","setMainViewer"]),{onDebouncedPositionChanged:function(e){this.dragging&&(e&&e.left>this.undockLimit?this.askForUndocking=!0:this.askForUndocking=!1,this.$eventBus.$emit(c["h"].ASK_FOR_UNDOCK,this.askForUndocking))},checkUndock:function(){var e=this;this.$nextTick(function(){e.askForUndocking&&(e.askForUndocking=!1,e.setMainViewer(c["M"].DATA_VIEWER)),e.$eventBus.$emit(c["h"].ASK_FOR_UNDOCK,!1),e.dragging=!1})}}),mounted:function(){this.undockLimit=Ha(document.getElementById("dmc-container"))/3}},qa=Wa,Fa=(n("c7c3"),Object(b["a"])(qa,ja,Ya,!1,null,null,null));Fa.options.__file="KlabDockedMainControl.vue";var Xa=Fa.exports,Ua={name:"KlabLeftMenu",components:{KlabSpinner:M,MainActionsButtons:Oe,StopActionsButtons:Ne,DockedMainControl:Xa,DocumentationTree:er,KlabLogPane:$n,ScaleButtons:ni,KnowledgeViewsSelector:ci},mixins:[rt],data:function(){return{}},computed:a()({},Object(s["c"])("data",["hasContext"]),Object(s["c"])("stomp",["hasTasks"]),Object(s["c"])("view",["spinnerColor","mainViewer","leftMenuContent","leftMenuState"]),{logShowed:function(){return this.leftMenuContent===c["u"].LOG_COMPONENT},maximized:function(){return this.leftMenuState===c["u"].LEFTMENU_MAXIMIZED&&this.leftMenuContent}}),methods:a()({},Object(s["b"])("view",["setLeftMenuState","setLeftMenuContent"]),{logAction:function(){this.logShowed?(this.setLeftMenuContent(this.mainViewer.leftMenuContent),this.setLeftMenuState(this.mainViewer.leftMenuState)):(this.setLeftMenuContent(c["u"].LOG_COMPONENT),this.setLeftMenuState(c["u"].LEFTMENU_MAXIMIZED))},askForSuggestion:function(e){this.$eventBus.$emit(c["h"].ASK_FOR_SUGGESTIONS,e)}}),created:function(){this.LEFTMENU_VISIBILITY=c["u"]}},Va=Ua,Ga=(n("6283"),Object(b["a"])(Va,Ia,Ba,!1,null,null,null));Ga.options.__file="KlabLeftMenu.vue";var Ka=Ga.exports,$a=(n("5bc0"),{name:"KExplorer",components:{KlabMainControl:mi,DataViewer:Yo,KlabDocumentation:ur,DataflowViewer:oa,InputRequestModal:Ta,ScaleChangeDialog:Na,ObservationTime:Bn,KlabLeftMenu:Ka},props:{mainPanelStyle:{type:Object,default:function(){return{}}}},data:function(){return{askForUndocking:!1,LEFTMENU_CONSTANTS:c["u"]}},computed:a()({},Object(s["c"])("data",["session","hasActiveTerminal"]),Object(s["c"])("stomp",["connectionDown"]),Object(s["c"])("view",["searchIsActive","searchIsFocused","searchInApp","mainViewerName","mainViewer","isTreeVisible","isInModalMode","spinnerErrorMessage","isMainControlDocked","admitSearch","isHelpShown","mainViewer","leftMenuState","largeMode","hasHeader","layout"]),{waitingGeolocation:{get:function(){return this.$store.state.view.waitingGeolocation},set:function(e){this.$store.state.view.waitingGeolocation=e}},logVisible:function(){return this.$logVisibility===c["P"].PARAMS_LOG_VISIBLE},leftMenuVisible:{get:function(){return this.leftMenuState!==c["u"].LEFTMENU_HIDDEN&&!this.hasHeader},set:function(e){this.setLeftMenuState(e)}},leftMenuWidth:function(){return(this.leftMenuState===c["u"].LEFTMENU_MAXIMIZED?c["u"].LEFTMENU_MAXSIZE:this.leftMenuState===c["u"].LEFTMENU_MINIMIZED?c["u"].LEFTMENU_MINSIZE:0)-(this.hasHeader?c["u"].LEFTMENU_MINSIZE:0)}}),methods:a()({},Object(s["b"])("view",["searchStart","searchStop","searchFocus","setMainViewer","setLeftMenuState"]),{setChildrenToAskFor:function(){var e=Math.floor(window.innerHeight*parseInt(getComputedStyle(document.documentElement).getPropertyValue("--main-control-max-height"),10)/100),t=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--q-tree-no-child-min-height"),10),n=Math.floor(e/t);console.info("Set max children to ".concat(n)),this.$store.state.data.childrenToAskFor=n},askForUndockListener:function(e){this.askForUndocking=e},keydownListener:function(e){if(!(this.connectionDown||this.isInModalMode||!this.admitSearch||this.isHelpShown||this.searchInApp||this.hasActiveTerminal))return 27===e.keyCode&&this.searchIsActive?(this.searchStop(),void e.preventDefault()):void((38===e.keyCode||40===e.keyCode||32===e.keyCode||this.isAcceptedKey(e.key))&&(this.searchIsActive?this.searchIsFocused||(this.searchFocus({char:e.key,focused:!0}),e.preventDefault()):(this.searchStart(e.key),e.preventDefault())))},showDocumentation:function(){this.setMainViewer(c["M"].DOCUMENTATION_VIEWER)}}),watch:{spinnerErrorMessage:function(e,t){null!==e&&e!==t&&(console.error(this.spinnerErrorMessage),this.$q.notify({message:this.spinnerErrorMessage,type:"negative",icon:"mdi-alert-circle",timeout:1e3}))},leftMenuVisible:function(){var e=this;this.$nextTick(function(){e.$eventBus.$emit(c["h"].NEED_FIT_MAP,{})})}},created:function(){"undefined"===typeof this.mainViewer&&this.setMainViewer(c["M"].DATA_VIEWER)},mounted:function(){window.addEventListener("keydown",this.keydownListener),this.setChildrenToAskFor(),this.$eventBus.$on(c["h"].ASK_FOR_UNDOCK,this.askForUndockListener),this.$eventBus.$on(c["h"].SHOW_DOCUMENTATION,this.showDocumentation),this.sendStompMessage(l["a"].SETTING_CHANGE_REQUEST({setting:c["G"].INTERACTIVE_MODE,value:!1},this.session).body),this.sendStompMessage(l["a"].SETTING_CHANGE_REQUEST({setting:c["G"].LOCK_SPACE,value:!1},this.session).body),this.sendStompMessage(l["a"].SETTING_CHANGE_REQUEST({setting:c["G"].LOCK_TIME,value:!1},this.session).body)},beforeDestroy:function(){window.removeEventListener("keydown",this.keydownListener),this.$eventBus.$off(c["h"].ASK_FOR_UNDOCK,this.askForUndockListener),this.$eventBus.$off(c["h"].SHOW_DOCUMENTATION,this.showDocumentation)}}),Ja=$a,Za=(n("f913"),Object(b["a"])(Ja,be,ye,!1,null,null,null));Za.options.__file="KExplorer.vue";var Qa=Za.exports,es=n("0388"),ts=n("7d43"),ns=n("9541"),is=n("768b"),os=n("fb40"),rs=n("bd60"),as="q:collapsible:close",ss={name:"QCollapsible",mixins:[os["a"],rs["a"],{props:rs["b"]}],modelToggle:{history:!1},props:{disable:Boolean,popup:Boolean,indent:Boolean,group:String,iconToggle:Boolean,collapseIcon:String,opened:Boolean,duration:Number,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},computed:{classes:function(){return{"q-collapsible-opened":this.showing,"q-collapsible-closed":!this.showing,"q-collapsible-popup-opened":this.popup&&this.showing,"q-collapsible-popup-closed":this.popup&&!this.showing,"q-collapsible-cursor-pointer":!this.separateToggle,"q-item-dark":this.dark,"q-item-separator":this.separator,"q-item-inset-separator":this.insetSeparator,disabled:this.disable}},separateToggle:function(){return this.iconToggle||void 0!==this.to}},watch:{showing:function(e){e&&this.group&&this.$root.$emit(as,this)}},methods:{__toggleItem:function(){this.separateToggle||this.toggle()},__toggleIcon:function(e){this.separateToggle&&(e&&Object(Vr["g"])(e),this.toggle())},__eventHandler:function(e){this.group&&this!==e&&e.group===this.group&&this.hide()},__getToggleSide:function(e,t){return[e(ns["a"],{slot:t?"right":void 0,staticClass:"cursor-pointer transition-generic relative-position q-collapsible-toggle-icon",class:{"rotate-180":this.showing,invisible:this.disable},nativeOn:{click:this.__toggleIcon},props:{icon:this.collapseIcon||this.$q.icon.collapsible.icon}})]},__getItemProps:function(e){return{props:e?{cfg:this.$props}:this.$props,style:this.headerStyle,class:this.headerClass,nativeOn:{click:this.__toggleItem}}}},created:function(){this.$root.$on(as,this.__eventHandler),(this.opened||this.value)&&this.show()},beforeDestroy:function(){this.$root.$off(as,this.__eventHandler)},render:function(e){return e(this.tag,{staticClass:"q-collapsible q-item-division relative-position",class:this.classes},[e("div",{staticClass:"q-collapsible-inner"},[this.$slots.header?e($e["a"],this.__getItemProps(),[this.$slots.header,e(ts["a"],{props:{right:!0},staticClass:"relative-position"},this.__getToggleSide(e))]):e(is["a"],this.__getItemProps(!0),this.__getToggleSide(e,!0)),e(en["a"],{props:{duration:this.duration}},[e("div",{directives:[{name:"show",value:this.showing}]},[e("div",{staticClass:"q-collapsible-sub-item relative-position",class:{indent:this.indent}},this.$slots.default)])])])])}},cs=n("dd1f"),ls=n("5d8b"),us=n("5931"),ds=n("482e"),hs={LAYOUT:function(e){return qe["a"].component("KAppLayout",{render:function(t){return t(Ts,{props:{layout:e}})}})},ALERT:function(e){return qe["a"].component("KAppAlert",{render:function(t){return t(es["a"],{props:{value:!0,title:e.title,message:e.content},class:{"kcv-alert":!0}})}})},MAIN:function(e){return qe["a"].component("KAppMain",{render:function(t){return t("div",a()({class:["kcv-main-container","kcv-dir-".concat(e.direction),"kcv-style-".concat(this.$store.getters["view/appStyle"])],attrs:{id:"".concat(e.applicationId,"-").concat(e.id),ref:"main-container"},style:a()({},e.style,e.mainPanelStyle)},e.name&&{ref:e.name}),this.$slots.default)}})},PANEL:function(e){return qe["a"].component("KAppPanel",{render:function(t){return t("div",a()({class:["kcv-panel-container","kcv-dir-".concat(e.direction)],attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},style:Object(c["k"])(e)},e.name&&{ref:e.name}),this.$slots.default)}})},GROUP:function(e){return qe["a"].component("KAppGroup",{data:function(){return{}},render:function(t){return t("div",{staticClass:"kcv-group",class:{"text-app-alt-color":e.attributes.altfg,"bg-app-alt-background":e.attributes.altbg,"kcv-wrapper":1===e.components.length,"kcv-group-bottom":e.attributes.bottom},attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},style:e.attributes.hfill?{width:"100%"}:{}},e.attributes.shelf||e.attributes.parentId?[t("div",a()({class:"kcv-group-content",style:Object(c["k"])(e)},e.attributes.scroll&&{attrs:{"data-simplebar":"data-simplebar"}}),this.$slots.default)]:[t("div",{staticClass:"kcv-group-container",class:{"kcv-group-no-label":!e.name}},[e.name?t("div",{class:"kcv-group-legend"},e.name):null,t("div",a()({class:"kcv-group-content",style:Object(c["k"])(e)},e.attributes.scroll&&{attrs:{"data-simplebar":"data-simplebar"}}),this.$slots.default)])])}})},SHELF:function(e){return e.attributes.opened?"true"===e.attributes.opened&&(e.attributes.opened=!0):e.attributes.opened=!1,qe["a"].component("KAppShelf",{data:function(){return{opened:e.attributes.opened}},render:function(t){var n=this;return t(ss,{class:"kcv-collapsible",props:a()({opened:n.opened,headerClass:"kcv-collapsible-header",collapseIcon:"mdi-dots-vertical",separator:!1},!e.attributes.parentAttributes.multiple&&{group:e.attributes.parentId},{label:e.name},e.attributes.iconname&&{icon:"mdi-".concat(e.attributes.iconname)}),on:{hide:function(){e.attributes.opened=!1},show:function(){e.attributes.opened=!0}}},this.$slots.default)}})},SEPARATOR:function(e){return qe["a"].component("KAppSeparator",{render:function(t){var n=this;return e.attributes.empty?t("hr",{class:"kcv-hr-separator",attrs:{id:"".concat(e.applicationId,"-").concat(e.id)}}):t("div",{class:"kcv-separator",attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},style:Object(c["k"])(e)},[e.attributes.iconname?t(Ze["a"],{class:"kcv-separator-icon",props:{name:"mdi-".concat(e.attributes.iconname),color:"app-main-color"}}):null,e.title?t("div",{class:"kcv-separator-title"},e.title):null,e.attributes.iconbutton?t(Ze["a"],{class:"kcv-separator-right",props:{name:"mdi-".concat(e.attributes.iconbutton),color:"app-main-color"},nativeOn:{click:function(){n.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:a()({},e,{components:[]}),booleanValue:!0})}}}):null,e.attributes.info?t(Ze["a"],{class:"kcv-separator-right",props:{name:"mdi-information-outline",color:"app-main-color"},nativeOn:{mouseover:function(){n.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:a()({},e,{components:[]}),booleanValue:!0})},mouseleave:function(){n.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:a()({},e,{components:[]}),booleanValue:!1})}}}):null])}})},TREE:function(e){var t=[];if(e.tree){var n=e.tree;e.tree.status||(e.tree.status={ticked:[],expanded:[],selected:{}});var i=function i(o){var r=n.values[o],a=Object(Xe["f"])(t,"".concat(e.id,"-").concat(r.id,"-").concat(o));if(!a){a={id:"".concat(e.id,"-").concat(r.id,"-").concat(o),label:r.label,type:r.type,observable:r.id,children:[]};var s=n.links.find(function(e){return e.first===o}).second;if(s===n.rootId)t.push(a);else{var c=i(s);c.children.push(a)}}return a};n.links.forEach(function(e){i(e.first)})}return qe["a"].component("KAppTree",{data:function(){return{ticked:e.tree.status.ticked,expanded:e.tree.status.expanded,selected:e.tree.status.selected}},render:function(n){var i=this;return n("div",{class:"kcv-tree-container",style:Object(c["k"])(e)},[e.name?n("div",{class:"kcv-tree-legend"},e.name):null,n(Qt["a"],{class:"kcv-tree",attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},props:{nodes:t,nodeKey:"id",tickStrategy:e.attributes.check?"leaf":"none",ticked:i.ticked,selected:i.selected,expanded:i.expanded,color:"app-main-color",controlColor:"app-main-color",textColor:"app-main-color",dense:!0},on:{"update:ticked":function(t){i.ticked=t,e.tree.status.ticked=t,i.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:a()({},e,{components:[]}),listValue:t})},"update:selected":function(t){i.selected=t,e.tree.status.selected=t},"update:expanded":function(t){i.expanded=t,e.tree.status.expanded=t}}})])}})},LABEL:function(e){return e.attributes.width||(e.attributes.width=c["b"].LABEL_MIN_WIDTH),qe["a"].component("KAppText",{data:function(){return{editable:!1,doneFunc:null,result:null,value:null,searchRequestId:0,searchContextId:null,searchTimeout:null,selected:null}},computed:{searchResult:function(){return this.$store.getters["data/searchResult"]},isSearch:function(){return"search"===e.attributes.tag&&this.editable}},methods:{search:function(e,t){var n=this;this.searchRequestId+=1,this.sendStompMessage(l["a"].SEARCH_REQUEST({requestId:this.searchRequestId,contextId:this.searchContextId,maxResults:-1,cancelSearch:!1,defaultResults:""===e,searchMode:c["E"].FREETEXT,queryString:e},this.$store.state.data.session).body),this.doneFunc=t,this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){n.$q.notify({message:n.$t("errors.searchTimeout"),type:"warning",icon:"mdi-alert",timeout:2e3}),n.doneFunc&&n.doneFunc([])},"4000")},autocompleteSelected:function(e){e&&(this.selected=e)},sendSelected:function(){this.sendStompMessage(l["a"].SEARCH_MATCH({contextId:this.searchContextId,matchIndex:this.selected.matchIndex,matchId:this.selected.id,added:!0},this.$store.state.data.session).body)},init:function(){this.doneFunc=null,this.result=null,this.value=null,this.searchRequestId=0,this.searchContextId=null,this.searchTimeout=null,this.selected=null}},watch:{searchResult:function(e){var t=this;if(this.isSearch){this.searchTimeout&&(clearTimeout(this.searchTimeout),this.searchTimeout=null);var n=e.requestId,i=e.contextId;if(null===this.searchContextId)this.searchContextId=i;else if(i!==this.searchContextId)return;if(this.searchRequestId===n){var o;null!==this.result&&this.result.requestId===n&&(o=e.matches).push.apply(o,j()(this.result.matches)),this.result=e;var r=this.result,a=r.matches,s=r.error,l=r.errorMessage;if(s)this.$q.notify({message:l,type:"error",icon:"mdi-alert",timeout:2e3});else{var u=[];a.forEach(function(e){var t=c["v"][e.matchType];if("undefined"!==typeof t){var n=t;if(null!==e.mainSemanticType){var i=c["F"][e.mainSemanticType];"undefined"!==typeof i&&(n=i)}u.push({value:e.name,label:e.name,labelLines:1,sublabel:e.description,sublabelLines:4,letter:n.symbol,leftInverted:!0,leftColor:n.color,rgb:n.rgb,id:e.id,matchIndex:e.index,selected:!1,disable:e.state&&"FORTHCOMING"===e.state,separator:!1})}else console.warn("Unknown type: ".concat(e.matchType))}),0===u.length&&this.$q.notify({message:this.$t("messages.noSearchResults"),type:"info",icon:"mdi-information",timeout:1e3}),qe["a"].nextTick(function(){t.doneFunc(u)})}}else console.warn("Result discarded for bad request id: actual: ".concat(this.searchRequestId," / received: ").concat(n,"\n"))}}},render:function(t){var n=this,i=this;return this.isSearch?t(ls["a"],{class:["kcv-text-input","kcv-form-element","kcv-search"],style:Object(c["k"])(e),attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},props:{value:i.value,color:"app-main-color",hideUnderline:!0,dense:!0,type:i.type,autofocus:!0},on:{keydown:function(e){27===e.keyCode&&(n.editable=!1,n.doneFunc&&(n.doneFunc(),n.doneFunc=null),n.$store.dispatch("view/searchInApp",!1),e.stopPropagation(),i.init()),13===e.keyCode&&n.selected&&(n.$store.dispatch("view/searchInApp",!1),n.editable=!1,i.sendSelected(),i.init())},input:function(e){i.value=e},blur:function(){n.$store.dispatch("view/searchInApp",!1),n.editable=!1},focus:function(){n.$store.dispatch("view/searchInApp",!0)}}},[t(Ue["a"],{props:{debounce:400,"min-characters":4},on:{search:function(e,t){i.search(e,t)},selected:function(e,t){i.autocompleteSelected(e,t)}}},"Cacca")]):t("div",a()({staticClass:"kcv-label",class:{"kcv-title":e.attributes.tag&&("title"===e.attributes.tag||"search"===e.attributes.tag),"kcv-clickable":"true"!==e.attributes.disabled&&"search"===e.attributes.tag,"kcv-ellipsis":e.attributes.ellipsis,"kcv-with-icon":e.attributes.iconname},attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},style:Object(c["k"])(e)},"true"!==e.attributes.disabled&&"search"===e.attributes.tag&&{on:{click:function(){n.editable=!0,n.$store.dispatch("view/searchInApp",!0)}}}),[e.attributes.iconname?t(Ze["a"],{class:["kcv-label-icon",e.attributes.toggle?"kcv-label-toggle":""],props:{name:"mdi-".concat(e.attributes.iconname),color:"app-main-color"}}):null,e.content,e.attributes.tooltip?t(Qe["a"],{props:{anchor:"bottom left",self:"top left",offset:[-10,0]}},"true"===e.attributes.tooltip?e.content:e.attributes.tooltip):null])}})},TEXT_INPUT:function(e){return qe["a"].component("KAppTextInput",{data:function(){return{component:e,value:e.content,type:"number"}},render:function(t){var n=this;return t(ls["a"],{class:["kcv-text-input","kcv-form-element"],style:Object(c["k"])(e),attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},props:{value:n.value,color:"app-main-color",hideUnderline:!0,dense:!0,type:n.type,disable:"true"===e.attributes.disabled},on:{keydown:function(e){e.stopPropagation()},input:function(t){n.value=t,e.content=t,n.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:a()({},e,{components:[]}),stringValue:t})}}})}})},COMBO:function(e){return qe["a"].component("KAppCombo",{data:function(){return{component:e,value:e.attributes.selected?e.choices.find(function(t){return t.first===e.attributes.selected}).first:e.choices[0].first}},render:function(t){var n=this;return t(us["a"],{class:["kcv-combo","kcv-form-element"],style:Object(c["k"])(e),attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},props:{value:n.value,options:e.choices.map(function(e){return{label:e.first,value:e.second,className:"kcv-combo-option"}}),color:"app-text-color",popupCover:!1,dense:!0,disable:"true"===e.attributes.disabled,dark:"dark"===this.$store.getters["view/appStyle"]},on:{change:function(t){n.value=t,e.attributes.selected=n.value,n.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:a()({},e,{components:[]}),stringValue:t})}}})}})},PUSH_BUTTON:function(e){return qe["a"].component("KAppPushButton",{data:function(){return{state:null}},watch:{state:function(){var t=this;e.attributes.timeout&&setTimeout(function(){delete e.attributes.error,delete e.attributes.waiting,delete e.attributes.done,t.state=null},e.attributes.timeout)}},render:function(t){var n=this,i=e.attributes.iconname&&!e.name;this.state=e.attributes.waiting?"waiting":e.attributes.computing?"computing":e.attributes.error?"error":e.attributes.done?"done":null;var o=e.attributes.waiting?"app-background-color":e.attributes.computing?"app-alt-color":e.attributes.error?"app-negative-color":e.attributes.done?"app-positive-color":"app-background-color";return t("div",{},[t(ds["a"],{class:[i?"kcv-roundbutton":"kcv-pushbutton","kcv-form-element","breset"===e.attributes.tag?"kcv-reset-button":""],style:a()({},Object(c["k"])(e),e.attributes.timeout&&{"--button-icon-color":"app-background-color","--flash-color":e.attributes.error?"var(--app-negative-color)":e.attributes.done?"var(--app-positive-color)":"var(--app-main-color)",animation:"flash-button ".concat(e.attributes.timeout,"ms")}||{"--button-icon-color":"var(--".concat(o,")")}),attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},props:a()({},e.name&&{label:e.name,"text-color":"app-control-text-color"},{color:e.attributes.color?e.attributes.color:"app-main-color"},i&&{round:!0,dense:!0,flat:!0},{noCaps:!0,disable:"true"===e.attributes.disabled},"error"===this.state&&{icon:"mdi-alert-circle"}||"done"===this.state&&{icon:"mdi-check-circle"}||e.attributes.iconname&&{icon:"mdi-".concat(e.attributes.iconname)},"waiting"===this.state&&{loading:!0}),on:{click:function(){n.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:a()({},e,{components:[]})})}}}),e.attributes.tooltip?t(Qe["a"],{props:{anchor:"bottom left",self:"top left",offset:[-10,0],delay:600}},"true"===e.attributes.tooltip?e.content:e.attributes.tooltip):null])}})},CHECK_BUTTON:function(e){return qe["a"].component("KAppCheckButton",{data:function(){return{value:!!e.attributes.checked,component:e}},render:function(t){var n=this,i=e.attributes.waiting?"waiting":e.attributes.computing?"computing":e.attributes.error?"error":e.attributes.done?"done":null,o=e.attributes.error?"app-negative-color":e.attributes.done?"app-positive-color":"app-main-color";return t("div",{class:["kcv-checkbutton","kcv-form-element","text-".concat(o),"kcv-check-".concat(i),""===e.name?"kcv-check-only":"kcv-check-with-label"],style:Object(c["k"])(e)},[t(nn["a"],{props:a()({value:n.value,color:o,keepColor:!0,label:e.name,disable:"true"===e.attributes.disabled},e.attributes.waiting&&{"checked-icon":"mdi-loading","unchecked-icon":"mdi-loading",readonly:!0},e.attributes.computing&&{"checked-icon":"mdi-cog-outline","unchecked-icon":"mdi-cog-outline",readonly:!0}),attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},on:{input:function(t){n.value=t,e.attributes.checked=t,n.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:a()({},e,{components:[]}),booleanValue:t})}}}),e.attributes.error&&"true"!==e.attributes.error?t(Qe["a"],{class:"kcv-error-tooltip",props:{anchor:"bottom left",self:"top left",offset:[-10,0]}},e.attributes.error):null])}})},RADIO_BUTTON:function(e){return qe["a"].component("KAppRadioButton",{data:function(){return{value:null,component:e}},render:function(t){var n=this;return t("div",{class:["kcv-checkbutton","kcv-form-element"],style:Object(c["k"])(e)},[t(cs["a"],{props:{val:!1,value:!1,color:"app-main-color",label:e.name},attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},on:{input:function(t){n.value=t,n.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:a()({},e,{components:[]}),booleanValue:t})}}})])}})},TEXT:function(e){return qe["a"].component("KAppText",{data:function(){return{collapsed:!1}},render:function(t){var n=this;return t("div",{staticClass:"kcv-text",class:{"kcv-collapse":e.attributes.collapse,"kcv-collapsed":n.collapsed},attrs:{"data-simplebar":"data-simplebar"},style:Object(c["k"])(e)},[t("div",{staticClass:"kcv-internal-text",attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},domProps:{innerHTML:e.content}}),e.attributes.collapse?t("div",{staticClass:"kcv-collapse-button",on:{click:function(){n.collapsed=!n.collapsed}}},[t(Ze["a"],{staticClass:"kcv-collapse-icon",props:{name:n.collapsed?"mdi-arrow-down":"mdi-arrow-up",color:"app-main-color",size:"sm"}})]):null])}})},BROWSER:function(e){return qe["a"].component("KBrowswer",{mounted:function(){},render:function(t){var n=e.content.startsWith("http")?e.content:"".concat("").concat("/modeler").concat(e.content);return t("iframe",{class:"kcv-browser",attrs:{id:"".concat(e.applicationId,"-").concat(e.id),width:e.attributes.width||"100%",height:e.attributes.height||"100%",frameBorder:"0",src:n},style:a()({},Object(c["k"])(e),{position:"absolute",top:0,bottom:0,left:0,right:0})})}})},UNKNOWN:function(e){return qe["a"].component("KAppUnknown",{render:function(t){return t("div",{class:"kcv-unknown",attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},style:Object(c["k"])(e)},e.type)}})}};function ps(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e)return[];if(e.type===c["a"].VIEW)return t(hs.LAYOUT);var i,o=null;switch(e.attributes.parentAttributes&&e.attributes.parentAttributes.shelf&&(o=hs.SHELF(e)),e.type){case null:var r=n.mainPanelStyle,s=void 0===r?{}:r,l=n.direction,u=void 0===l?"vertical":l;i=hs.MAIN(a()({},e,{mainPanelStyle:s,direction:u}));break;case c["a"].PANEL:i=hs.PANEL(e);break;case c["a"].SEPARATOR:i=hs.SEPARATOR(e);break;case c["a"].LABEL:i=hs.LABEL(e);break;case c["a"].TEXT_INPUT:i=hs.TEXT_INPUT(e);break;case c["a"].PUSH_BUTTON:i=hs.PUSH_BUTTON(e);break;case c["a"].CHECK_BUTTON:i=hs.CHECK_BUTTON(e);break;case c["a"].RADIO_BUTTON:i=hs.RADIO_BUTTON(e);break;case c["a"].TREE:i=hs.TREE(e);break;case c["a"].GROUP:i=hs.GROUP(e),e.components&&e.components.length>0&&e.components.forEach(function(t){t.attributes.parentId=e.id,t.attributes.parentAttributes=e.attributes});break;case c["a"].TEXT:i=hs.TEXT(e);break;case c["a"].COMBO:i=hs.COMBO(e);break;case c["a"].BROWSER:i=hs.BROWSER(e);break;default:i=hs.UNKNOWN(e)}var d=[];return e.components&&e.components.length>0&&e.components.forEach(function(e){d.push(ps(e,t))}),o?t(o,{},[t(i,{},d)]):t(i,{},d)}var fs,ms,gs=V["b"].height,vs={name:"KlabAppViewer",props:{component:{type:Object,required:!0},props:{type:Object,default:null},direction:{type:String,validator:function(e){return["horizontal","vertical"].includes(e)},default:"vertical"},mainPanelStyle:{type:Object,default:function(){return{}}}},data:function(){return{mainContainerHeight:void 0}},computed:{},methods:{calculateMinHeight:function(){this.$nextTick(function(){for(var e=document.querySelectorAll(".kcv-group-bottom"),t=0,n=0;n0},set:function(){}},showRightPanel:{get:function(){return this.layout&&this.layout.rightPanels.length>0},set:function(){}},leftPanelWidth:function(){return this.layout&&this.layout.leftPanels&&this.layout.leftPanels.length>0&&this.layout.leftPanels[0].attributes.width?parseInt(this.layout.leftPanels[0].attributes.width,10):512},rightPanelWidth:function(){return this.layout&&this.layout.rightPanels&&this.layout.rightPanels.length>0&&this.layout.rightPanels[0].attributes.width?parseInt(this.layout.rightPanels[0].attributes.width,10):512},mainPanelStyle:function(){return{width:this.header.width-this.leftPanel.width-this.rightPanel.width,height:this.leftPanel.height}},idSuffix:function(){return null!==this.layout?this.layout.applicationId:"default"},modalDimensions:function(){return this.isModal?{width:this.modalWidth,height:this.modalHeight,"min-height":this.modalHeight}:{}}}),methods:{setLogoImage:function(){this.layout&&this.layout.logo?this.logoImage="".concat("").concat(O["c"].REST_GET_PROJECT_RESOURCE,"/").concat(this.layout.projectId,"/").concat(this.layout.logo.replace("/",":")):this.logoImage=c["b"].DEFAULT_LOGO},setStyle:function(){var e=this,t=null;if(null===this.layout)t=c["j"].default;else{if(t=a()({},this.layout.style&&c["j"][this.layout.style]?c["j"][this.layout.style]:c["j"].default),this.layout.styleSpecs)try{var n=JSON.parse(this.layout.styleSpecs);t=a()({},t,n)}catch(e){console.error("Error parsing style specs",e)}var i=(this.layout.leftPanels.length>0&&this.layout.leftPanels[0].attributes.width?parseInt(this.layout.leftPanels[0].attributes.width,10):0)+(this.layout.rightPanels.length>0&&this.layout.rightPanels[0].attributes.width?parseInt(this.layout.rightPanels[0].attributes.width,10):0);0!==i&&document.documentElement.style.setProperty("--body-min-width","calc(640px + ".concat(i,"px)"))}null!==t&&Object.keys(t).forEach(function(n){var i=t[n];if("density"===n)switch(n="line-height",t.density){case"default":i=1;break;case"confortable":i=1.5;break;case"compact":i=.5;break;default:i=1}if(document.documentElement.style.setProperty("--app-".concat(n),i),n.includes("color"))try{var o=Object(Fe["e"])(i);if(o&&o.rgb){var r=e.layout&&"dark"===e.layout.style?-1:1;document.documentElement.style.setProperty("--app-rgb-".concat(n),"".concat(o.rgb.r,",").concat(o.rgb.g,",").concat(o.rgb.b)),document.documentElement.style.setProperty("--app-highlight-".concat(n),Ms("rgb(".concat(o.rgb.r,",").concat(o.rgb.g,",").concat(o.rgb.b,")"),-15*r)),document.documentElement.style.setProperty("--app-darklight-".concat(n),Ms("rgb(".concat(o.rgb.r,",").concat(o.rgb.g,",").concat(o.rgb.b,")"),-5*r)),document.documentElement.style.setProperty("--app-darken-".concat(n),Ms("rgb(".concat(o.rgb.r,",").concat(o.rgb.g,",").concat(o.rgb.b,")"),-20*r)),document.documentElement.style.setProperty("--app-lighten-".concat(n),Ms("rgb(".concat(o.rgb.r,",").concat(o.rgb.g,",").concat(o.rgb.b,")"),20*r)),document.documentElement.style.setProperty("--app-lighten90-".concat(n),Ms("rgb(".concat(o.rgb.r,",").concat(o.rgb.g,",").concat(o.rgb.b,")"),90*r)),document.documentElement.style.setProperty("--app-lighten75-".concat(n),Ms("rgb(".concat(o.rgb.r,",").concat(o.rgb.g,",").concat(o.rgb.b,")"),75*r))}}catch(e){console.warn("Error trying to parse a color from the layout style: ".concat(n,": ").concat(i))}}),this.$nextTick(function(){var e=document.querySelector(".kapp-left-inner-container");e&&new _e(e);var t=document.querySelector(".kapp-right-inner-container");t&&new _e(t)})},updateLayout:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.setLogoImage();var n=document.querySelector(".kapp-main.kapp-header-container");this.header.height=n?Ls(n):0,this.header.width=window.innerWidth,this.leftPanel.height=window.innerHeight-this.header.height;var i=document.querySelector(".kapp-main.kapp-left-container aside");this.leftPanel.width=i?ws(i):0,this.rightPanel.height=window.innerHeight-this.header.height;var o=document.querySelector(".kapp-main.kapp-right-container aside");this.rightPanel.width=o?ws(o):0,this.$nextTick(function(){e.$eventBus.$emit(c["h"].MAP_SIZE_CHANGED,{type:"changelayout",align:e.layout&&e.layout.leftPanels.length>0?"right":"left"})}),this.setStyle(),t&&this.$eventBus.$emit(c["h"].SHOW_NOTIFICATIONS,{apps:null!==this.layout?[this.layout.name]:[],groups:this.sessionReference&&this.sessionReference.owner&&this.sessionReference.owner.groups?this.sessionReference.owner.groups.map(function(e){return e.id}):[]})},downloadListener:function(e){var t=e.url,n=e.parameters;this.$axios.get("".concat("").concat("/modeler").concat(t),{params:{format:"RAW"},responseType:"blob"}).then(function(e){var t=document.createElement("a");t.href=URL.createObjectURL(e.data),t.setAttribute("download",n.filename||"output_".concat((new Date).getTime())),document.body.appendChild(t),t.click(),t.remove(),setTimeout(function(){return URL.revokeObjectURL(t.href)},5e3)}).catch(function(e){console.error(e)})},clickOnMenu:function(e,t){if(t&&window.open(t),this.layout){var n=this.layout,i=n.applicationId,o=n.identity;this.sendStompMessage(l["a"].MENU_ACTION({identity:o,applicationId:i,menuId:e},this.$store.state.data.session).body)}},resetContextListener:function(){var e=this;null!==this.resetTimeout&&(clearTimeout(this.resetTimeout),this.resetTimeout=null),this.blockApp=!0,this.resetTimeout=setTimeout(function(){e.blockApp=!1,e.resetTimeout=null},1e3)},viewActionListener:function(){null!==this.resetTimeout&&this.resetContextListener()},updateListeners:function(){null!==this.layout?this.isRootLayout&&(this.$eventBus.$on(c["h"].RESET_CONTEXT,this.resetContextListener),this.$eventBus.$on(c["h"].VIEW_ACTION,this.viewActionListener),this.$eventBus.$on(c["h"].COMPONENT_ACTION,this.componentClickedListener)):(this.$eventBus.$off(c["h"].RESET_CONTEXT,this.resetContextListener),this.$eventBus.$off(c["h"].VIEW_ACTION,this.viewActionListener),this.$eventBus.$off(c["h"].COMPONENT_ACTION,this.componentClickedListener))},componentClickedListener:function(e){delete e.component.attributes.parentAttributes,delete e.component.attributes.parentId,this.sendStompMessage(l["a"].VIEW_ACTION(a()({},Ss,e),this.$store.state.data.session).body)}},watch:{layout:function(e,t){var n=this,i=null!==e&&(null===t||e.applicationId!==t.applicationId);if((null===e||!this.isApp&&i)&&(this.$nextTick(function(){n.updateLayout(!0)}),null!==t&&null!==t.name)){this.sendStompMessage(l["a"].RUN_APPLICATION({applicationId:t.name,stop:!0},this.$store.state.data.session).body);var o=localStorage.getItem(c["P"].LOCAL_STORAGE_APP_ID);o&&o===t.name&&localStorage.removeItem(c["P"].LOCAL_STORAGE_APP_ID)}null===t&&this.updateListeners()}},created:function(){},mounted:function(){this.updateLayout(!0),this.updateListeners(),this.$eventBus.$on(c["h"].DOWNLOAD_URL,this.downloadListener)},beforeDestroy:function(){this.$eventBus.$off(c["h"].DOWNLOAD_URL,this.downloadListener),this.$eventBus.$off(c["h"].RESET_CONTEXT,this.resetContextListener),this.$eventBus.$off(c["h"].VIEW_ACTION,this.viewActionListener)}},Es=Cs,As=(n("4b0d"),Object(b["a"])(Es,re,ae,!1,null,null,null));As.options.__file="KlabLayout.vue";var Ts=As.exports,Os=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-modal",{attrs:{"content-classes":"km-main-container","no-esc-dismiss":"","no-backdrop-dismiss":""},model:{value:e.open,callback:function(t){e.open=t},expression:"open"}},[n("q-modal-layout",{staticClass:"km-modal-window"},[e.modal.label?n("q-toolbar",{staticClass:"km-title",attrs:{slot:"header"},slot:"header"},[n("q-toolbar-title",[e._v(e._s(e.modal.label))]),e.modal.subtitle?n("span",{staticClass:"km-subtitle",attrs:{slot:"subtitle"},slot:"subtitle"},[e._v(e._s(e.modal.subtitle))]):e._e()],1):e._e(),n("klab-layout",{staticClass:"km-content",attrs:{layout:e.modal,isModal:!0,"modal-width":e.width,"modal-height":e.height}}),n("div",{staticClass:"km-buttons justify-end row"},[n("q-btn",{staticClass:"klab-button",attrs:{label:e.$t("label.appClose")},on:{click:e.close}})],1)],1)],1)},ks=[];Os._withStripped=!0;var xs={name:"KlabModalWindow",props:{modal:{type:Object,required:!0}},components:{KlabLayout:Ts},data:function(){return{instance:void 0}},computed:{open:{get:function(){return null!==this.modal},set:function(e){e||this.close()}},width:function(){return this.modal&&("".concat(this.modal.panels[0].attributes.width,"px")||!1)},height:function(){return this.modal&&("".concat(this.modal.panels[0].attributes.height,"px")||!1)}},methods:a()({},Object(s["b"])("view",["setModalWindow"]),{close:function(){this.setModalWindow(null)}})},Ds=xs,Rs=(n("a4c5"),Object(b["a"])(Ds,Os,ks,!1,null,null,null));Rs.options.__file="KlabModalWindow.vue";var zs=Rs.exports,Ps=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.showHelp,expression:"showHelp"}],staticClass:"modal fullscreen",attrs:{id:"modal-show-help"}},[n("div",{staticClass:"modal-backdrop absolute-full"}),n("div",{ref:"kp-help-container",staticClass:"klab-modal-container",style:{width:e.modalSize.width+"px",height:e.modalSize.height+"px",transform:"translate(-50%, -50%) scale("+e.scale+", "+e.scale+") !important"}},[n("div",{ref:"kp-help-inner",staticClass:"klab-modal-inner"},[n("div",{staticClass:"klab-modal-content full-height"},[n("div",{staticClass:"kp-help-titlebar"},e._l(e.presentations,function(t,i){return n("div",{key:"kp-pres-"+i,staticClass:"kp-link",class:{"kp-link-current":i===e.activeSectionIndex},attrs:{id:"kp-pres-"+i},on:{click:function(t){i!==e.activeSectionIndex&&e.loadPresentation(i)}}},[n("span",[e._v(e._s(t.linkTitle))])])})),e.presentationBlocked?e._e():n("q-carousel",{ref:"kp-carousel",staticClass:"kp-carousel full-height",attrs:{color:"white","no-swipe":""},on:{"slide-trigger":e.initStack}},e._l(e.activePresentation,function(t,i){return n("q-carousel-slide",{key:"kp-slide-"+i,staticClass:"kp-slide full-height"},[n("div",{staticClass:"kp-main-content"},[t.stack.layers&&t.stack.layers.length>0?n("klab-stack",{ref:"kp-stack",refInFor:!0,attrs:{presentation:e.presentations[e.activeSectionIndex],"owner-index":i,maxOwnerIndex:e.activePresentation.length,stack:t.stack,"on-top":e.currentSlide===i},on:{stackend:e.stackEnd}}):n("div",[e._v("No slides")]),t.title?n("div",{staticClass:"kp-main-title",domProps:{innerHTML:e._s(t.title)}}):e._e()],1)])}))],1),n("div",{staticClass:"kp-nav-tooltip",class:{visible:""!==e.tooltipTitle},domProps:{innerHTML:e._s(e.tooltipTitle)}}),n("div",{staticClass:"kp-navigation"},[n("div",{staticClass:"kp-nav-container"},e._l(e.activePresentation,function(t,i){return n("div",{key:"kp-nav-"+i,staticClass:"kp-navnumber-container",on:{click:function(t){e.goTo(i,0)},mouseover:function(n){e.showTitle(t.title)},mouseleave:function(t){e.showTitle("")}}},[n("div",{staticClass:"kp-nav-number",class:{"kp-nav-current":e.currentSlide===i}},[e._v(e._s(i+1))])])}))]),n("div",{staticClass:"kp-btn-container"},[n("q-checkbox",{staticClass:"kp-checkbox",attrs:{"keep-color":!0,color:"grey-8",label:e.$t("label.rememberDecision"),"left-label":!0},model:{value:e.remember,callback:function(t){e.remember=t},expression:"remember"}})],1),n("q-btn",{directives:[{name:"show",rawName:"v-show",value:1!==e.scale,expression:"scale !== 1"}],staticClass:"kp-icon-refresh-size",attrs:{icon:"mdi-refresh",color:"mc-main",size:"md",title:e.$t("label.refreshSize"),round:"",flat:""},on:{click:e.refreshSize}}),n("q-btn",{staticClass:"kp-icon-close-popover",attrs:{icon:"mdi-close-circle-outline",color:"grey-8",size:"md",title:e.$t("label.appClose"),round:"",flat:""},on:{click:e.hideHelp}})],1),e.waitForPresentation||e.presentationBlocked?n("div",{staticClass:"kp-help-inner",class:{"modal-backdrop":!e.presentationBlocked&&e.waitForPresentation}},[e.presentationBlocked?n("div",{staticClass:" kp-no-presentation"},[n("div",{staticClass:"fixed-center text-center"},[n("div",{staticClass:"kp-np-content",domProps:{innerHTML:e._s(e.$t("messages.presentationBlocked"))}}),n("q-btn",{attrs:{flat:"","no-caps":"",icon:"mdi-refresh",label:e.$t("label.appRetry")},on:{click:e.initPresentation}})],1)]):e.waitForPresentation?n("q-spinner",{staticClass:"fixed-center",attrs:{color:"mc-yellow",size:40}}):e._e()],1):e._e()])])},Ns=[];Ps._withStripped=!0;n("55dd"),n("28a5");var Is=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.layers.length>0?n("div",{ref:"ks-stack-container",staticClass:"ks-stack-container"},[e._l(e.layers,function(t,i){return n("div",{key:"ks-layer-"+i,ref:"ks-layer",refInFor:!0,staticClass:"ks-layer",class:{"ks-top-layer":e.selectedLayer===i,"ks-hide-layer":e.selectedLayer!==i},style:{"z-index":e.selectedLayer===i?9999:e.layers.length-i},attrs:{id:"ks-layer-"+e.ownerIndex+"-"+i}},[t.image?n("div",{staticClass:"ks-layer-image",class:e.elementClasses(t.image),style:e.elementStyle(t.image)},[n("img",{style:{width:t.image.width||"auto",height:t.image.height||"auto","max-width":e.imgMaxSize.width,"max-height":e.imgMaxSize.height},attrs:{src:e.getImage(t),alt:t.image.alt||t.title||t.text,title:t.image.alt||t.title||t.text,id:"ks-image-"+e.ownerIndex+"-"+i}})]):e._e(),t.title||t.text?n("div",{staticClass:"ks-layer-caption",class:e.elementClasses(t.textDiv),style:e.elementStyle(t.textDiv)},[t.title?n("div",{staticClass:"ks-caption-title",domProps:{innerHTML:e._s(e.rewriteImageUrl(t.title))}}):e._e(),t.text?n("div",{staticClass:"ks-caption-text",style:{"text-align":t.textAlign||"left"},domProps:{innerHTML:e._s(e.rewriteImageUrl(t.text))}}):e._e()]):e._e()])}),n("div",{staticClass:"ks-navigation",class:{"ks-navigation-transparent":null!==e.animation}},[n("q-btn",{attrs:{id:"ks-prev",disable:!e.hasPrevious,"text-color":"grey-8",icon:"mdi-chevron-left",round:"",flat:"",dense:"",title:e.$t("label.appPrevious")},on:{click:e.previous}}),n("q-btn",{attrs:{id:"ks-play-stop",disable:!e.hasNext,"text-color":"grey-8",icon:null===e.animation?"mdi-play":"mdi-pause",round:"",flat:"",dense:"",title:null===e.animation?e.$t("label.appPlay"):e.$t("label.appPause")},on:{click:function(t){null===e.animation?e.playStack():e.stopStack()}}}),n("q-btn",{attrs:{id:"ks-replay",disable:!e.isGif,"text-color":"grey-8",icon:"mdi-reload",round:"",flat:"",dense:"",title:e.$t("label.appReplay")},on:{click:function(t){e.refreshLayer(e.layers[e.selectedLayer])}}}),n("q-btn",{attrs:{id:"ks-next",disable:!e.hasNext,"text-color":"grey-8",icon:"mdi-chevron-right",round:"",flat:"",dense:"",title:e.$t("label.appNext")},on:{click:e.next}})],1)],2):e._e()},Bs=[];Is._withStripped=!0;n("aef6");var js={name:"KlabStack",props:{presentation:{type:Object,required:!0},ownerIndex:{type:Number,required:!0},maxOwnerIndex:{type:Number,required:!0},stack:{type:Object,required:!0},onTop:{type:Boolean,default:!1}},data:function(){return{selectedLayer:0,animation:null,layers:this.stack.layers,animated:"undefined"!==typeof this.stack.animated&&this.stack.animated,autostart:"undefined"!==typeof this.stack.autostart?this.stack.autostart:0===this.ownerIndex,duration:this.stack.duration||5e3,infinite:"undefined"!==typeof this.stack.infinite&&this.stack.infinite,initialSize:{},scale:1,imgMaxSize:{width:"auto",height:"auto"}}},computed:{hasPrevious:function(){return this.selectedLayer>0||this.ownerIndex>0||this.infinite},hasNext:function(){return this.selectedLayer0?this.goTo(this.selectedLayer-1):this.infinite?this.goTo(this.layers.length-1):this.$emit("stackend",{index:this.ownerIndex,direction:-1})},reloadGif:function(e){var t=document.getElementById("ks-image-".concat(this.ownerIndex,"-").concat(this.selectedLayer));t&&(t.src=this.getImage(e))},setAnimation:function(e){if(this.hasNext){var t=this;null!==this.animation&&(clearTimeout(this.animation),this.animation=null),this.animation=setTimeout(function(){t.next()},e)}},getImage:function(e){return e.image?"".concat(this.baseUrl,"/").concat(e.image.url,"?t=").concat(Math.random()):""},rewriteImageUrl:function(e){return e&&e.length>0&&-1!==e.indexOf("0?t0&&this.goTo(t-1,"last")},refreshSize:function(){this.initialSize=void 0,this.onResize()},onResize:function(){var e=this;setTimeout(function(){if("undefined"===typeof e.initialSize){var t=window.innerWidth,n=window.innerHeight;e.initialSize={width:t,height:n}}if(e.scale=Math.min(window.innerWidth/e.initialSize.width,window.innerHeight/e.initialSize.height),1===e.scale){var i=window.innerWidth*c["r"].DEFAULT_WIDTH_PERCENTAGE/100,o=i/c["r"].DEFAULT_PROPORTIONS.width*c["r"].DEFAULT_PROPORTIONS.height,r=window.innerHeight*c["r"].DEFAULT_HEIGHT_PERCENTAGE/100,a=r/c["r"].DEFAULT_PROPORTIONS.height*c["r"].DEFAULT_PROPORTIONS.width;i0){var r=0;o.forEach(function(n,i){r+=1,Fs()("".concat(e.helpBaseUrl,"/index.php?sec=").concat(n.id),{param:"callback"},function(o,a){o?console.error(o.message):t.presentations.push({id:n.id,baseFolder:n.baseFolder,linkTitle:n.name,linkDescription:n.description,slides:a,index:i}),r-=1,0===r&&(e.presentationsLoading=!1,e.presentations.sort(function(e,t){return e.index-t.index}))})})}}})}catch(e){console.error("Error loading presentation: ".concat(e.message)),this.presentationsLoading=!1,this.presentationBlocked=e}}}),watch:{showHelp:function(e){this.$store.state.view.helpShown=e,e&&!this.presentationsLoading&&this.loadPresentation(0)},presentationsLoading:function(e){!e&&this.showHelp&&this.loadPresentation(0)},remember:function(e){e?U["a"].set(c["P"].COOKIE_HELP_ON_START,!1,{expires:30,path:"/",secure:!0}):U["a"].remove(c["P"].COOKIE_HELP_ON_START)}},created:function(){this.initPresentation()},mounted:function(){this.needHelp=this.isLocal&&!U["a"].has(c["P"].COOKIE_HELP_ON_START),this.remember=!this.needHelp,this.$eventBus.$on(c["h"].NEED_HELP,this.helpNeededEvent),window.addEventListener("resize",this.onResize)},beforeDestroy:function(){this.$eventBus.$off(c["h"].NEED_HELP,this.helpNeededEvent),window.removeEventListener("resize",this.onResize)}},Us=Xs,Vs=(n("edad"),Object(b["a"])(Us,Ps,Ns,!1,null,null,null));Vs.options.__file="KlabPresentation.vue";var Gs=Vs.exports,Ks=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-dialog",{staticClass:"kn-modal-container",attrs:{"prevent-close":""},scopedSlots:e._u([{key:"buttons",fn:function(t){return[n("q-checkbox",{staticClass:"kn-checkbox",attrs:{"keep-color":!0,color:"app-main-color",label:e.$t("label.rememberDecision")},model:{value:e.remember,callback:function(t){e.remember=t},expression:"remember"}}),n("q-btn",{attrs:{color:"app-main-color",label:e.$t("label.appAccept")},on:{click:e.onOk}})]}}]),model:{value:e.showNotifications,callback:function(t){e.showNotifications=t},expression:"showNotifications"}},[n("div",{staticClass:"kn-title",attrs:{slot:"title"},domProps:{innerHTML:e._s(e.actualNotification.title)},slot:"title"}),n("div",{staticClass:"kn-content",attrs:{slot:"message"},domProps:{innerHTML:e._s(e.actualNotification.content)},slot:"message"})])},$s=[];Ks._withStripped=!0;var Js={name:"KlabNotifications",data:function(){return{notifications:[],actualNotificationIndex:-1,remember:!1,cooked:[]}},computed:a()({},Object(s["c"])("stomp",["connectionUp"]),Object(s["c"])("view",["isInModalMode"]),{showNotifications:{get:function(){return-1!==this.actualNotificationIndex&&!this.actualNotificationIndex.read},set:function(){}},actualNotification:function(){return-1===this.actualNotificationIndex?{id:-1,title:"",content:""}:this.notifications[this.actualNotificationIndex]}}),methods:a()({},Object(s["b"])("view",["setModalMode"]),{onOk:function(){var e=this,t=this.notifications[this.actualNotificationIndex];t.read=!0,this.remember&&(this.cooked.findIndex(function(e){return e===t.id})&&this.cooked.push(t.id),U["a"].set(c["P"].COOKIE_NOTIFICATIONS,this.cooked,{expires:365,path:"/",secure:!0}),this.remember=!1),this.$nextTick(function(){do{e.actualNotificationIndex+=1}while(e.actualNotificationIndex0&&void 0!==arguments[0]?arguments[0]:{};this.notificationsLoading=!0,U["a"].has(c["P"].COOKIE_NOTIFICATIONS)&&(this.cooked=U["a"].get(c["P"].COOKIE_NOTIFICATIONS)),this.notifications.splice(0,this.notifications.length);try{var n="";if(t){var i=t.groups,o=t.apps;n=j()(i.map(function(e){return"groups[]=".concat(e)})).concat(j()(o.map(function(e){return"apps[]=".concat(e)}))).join("&")}var r=this;Fs()("".concat(c["d"].NOTIFICATIONS_URL).concat(""!==n?"?".concat(n):""),{param:"callback",timeout:5e3},function(t,n){t?console.error("Error loading notifications: ".concat(t.message)):n.length>0?n.forEach(function(e,t){var n=-1!==r.cooked.findIndex(function(t){return t==="".concat(e.id)});r.notifications.push(a()({},e,{read:n})),-1!==r.actualNotificationIndex||n||(r.actualNotificationIndex=t)}):console.debug("No notification"),e.presentationsLoading=!1})}catch(e){console.error("Error loading notifications: ".concat(e.message)),this.presentationsLoading=!1}}}),mounted:function(){this.$eventBus.$on(c["h"].SHOW_NOTIFICATIONS,this.initNotifications)},beforeDestroy:function(){this.$eventBus.$off(c["h"].SHOW_NOTIFICATIONS,this.initNotifications)}},Zs=Js,Qs=(n("e0d9"),Object(b["a"])(Zs,Ks,$s,!1,null,null,null));Qs.options.__file="KlabNotifications.vue";var ec=Qs.exports,tc=(n("8195"),{name:"LayoutDefault",components:{KlabLayout:Ts,KlabModalWindow:zs,ConnectionStatus:C,KlabSettings:z,KlabTerminal:Z,AppDialogs:oe,KlabPresentation:Gs,KlabNotifications:ec},data:function(){return{errorLoading:!1,waitApp:!1}},computed:a()({},Object(s["c"])("data",["hasContext","terminals","isDeveloper"]),Object(s["c"])("stomp",["connectionDown"]),Object(s["c"])("view",["layout","isApp","klabApp","modalWindow"]),{wait:{get:function(){return this.waitApp||this.errorLoading},set:function(){}}}),methods:{reload:function(){document.location.reload()}},created:function(){},mounted:function(){var e=this;this.sendStompMessage(l["a"].RESET_CONTEXT(this.$store.state.data.session).body);var t=localStorage.getItem(c["P"].LOCAL_STORAGE_APP_ID);t&&(this.sendStompMessage(l["a"].RUN_APPLICATION({applicationId:t,stop:!0},this.$store.state.data.session).body),localStorage.removeItem(c["P"].LOCAL_STORAGE_APP_ID)),this.isApp&&this.sendStompMessage(l["a"].RUN_APPLICATION({applicationId:this.$store.state.view.klabApp},this.$store.state.data.session).body),this.isApp&&null===this.layout&&(this.waitApp=!0,setTimeout(function(){e.isApp&&null===e.layout&&(e.errorLoading=!0)},15e3)),window.addEventListener("beforeunload",function(t){e.hasContext&&!e.isDeveloper&&(t.preventDefault(),t.returnValue=e.$t("messages.confirmExitPage"))})},watch:{layout:function(e){this.waitApp&&e&&(this.waitApp=!1),this.errorLoading&&e&&(this.errorLoading=!1)}}}),nc=tc,ic=(n("7521"),Object(b["a"])(nc,i,o,!1,null,null,null));ic.options.__file="default.vue";t["default"]=ic.exports},"7bae":function(e,t,n){},"7bae3":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("064a"),o=n("e1c6"),r=n("7f73"),a=n("755f"),s=n("6923"),c=n("e576"),l=new o.ContainerModule(function(e,t,n){i.configureModelElement({bind:e,isBound:n},"marker",r.SIssueMarker,a.IssueMarkerView),e(c.DecorationPlacer).toSelf().inSingletonScope(),e(s.TYPES.IVNodePostprocessor).toService(c.DecorationPlacer)});t.default=l},"7bba":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function o(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function r(e,t,n){var i=e+" ";switch(n){case"ss":return i+(o(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return i+(o(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return i+(o(e)?"godziny":"godzin");case"ww":return i+(o(e)?"tygodnie":"tygodni");case"MM":return i+(o(e)?"miesiące":"miesięcy");case"yy":return i+(o(e)?"lata":"lat")}}var a=e.defineLocale("pl",{months:function(e,i){return e?/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:r,M:"miesiąc",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a})},"7bbc":function(e,t,n){"use strict";var i=n("fcf8"),o=n.n(i);o.a},"7c45":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}});return t})},"7d36":function(e,t,n){"use strict";function i(e){return e.hasFeature(t.fadeFeature)&&void 0!==e["opacity"]}Object.defineProperty(t,"__esModule",{value:!0}),t.fadeFeature=Symbol("fadeFeature"),t.isFadeable=i},"7d72":function(e,t,n){"use strict";var i=n("8707").Buffer,o=i.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(e){if(!e)return"utf8";var t;while(1)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function a(e){var t=r(e);if("string"!==typeof t&&(i.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}function s(e){var t;switch(this.encoding=a(e),this.encoding){case"utf16le":this.text=f,this.end=m,t=4;break;case"utf8":this.fillLast=d,t=4;break;case"base64":this.text=g,this.end=v,t=3;break;default:return this.write=_,void(this.end=b)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(t)}function c(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function l(e,t,n){var i=t.length-1;if(i=0?(o>0&&(e.lastNeed=o-1),o):--i=0?(o>0&&(e.lastNeed=o-2),o):--i=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0))}function u(e,t,n){if(128!==(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"�"}}function d(e){var t=this.lastTotal-this.lastNeed,n=u(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function h(e,t){var n=l(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var i=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function f(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function m(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function g(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function v(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function _(e){return e.toString(this.encoding)}function b(e){return e&&e.length?this.write(e):""}t.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(t=this.fillLast(e),void 0===t)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n0,d=u?l.length:n.length,f=h(i,t,a,c,d),m=p(e,n),g=f.concat(m);return g}function d(e,t,n,a,s){var l=s[e.toString()]||[],u=m(l),d=!0!==u.unmanaged,h=a[e],p=u.inject||u.multiInject;if(h=p||h,h instanceof i.LazyServiceIdentifer&&(h=h.unwrap()),d){var f=h===Object,g=h===Function,v=void 0===h,_=f||g||v;if(!t&&_){var b=o.MISSING_INJECT_ANNOTATION+" argument "+e+" in class "+n+".";throw new Error(b)}var y=new c.Target(r.TargetTypeEnum.ConstructorArgument,u.targetName,h);return y.metadata=l,y}return null}function h(e,t,n,i,o){for(var r=[],a=0;a0?l:f(e,n)}return 0}function m(e){var t={};return e.forEach(function(e){t[e.key.toString()]=e.value}),{inject:t[a.INJECT_TAG],multiInject:t[a.MULTI_INJECT_TAG],targetName:t[a.NAME_TAG],unmanaged:t[a.UNMANAGED_TAG]}}t.getDependencies=l,t.getBaseClassDependencyCount=f},"7e47":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t})},"7e69":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,i=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,o=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],r=e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return r})},"7f45":function(e,t,n){var i=e.exports=n("0efb");i.tz.load(n("6cd2"))},"7f73":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("e4f0"),r=n("66f9");function a(e){return e.hasFeature(t.decorationFeature)}t.decorationFeature=Symbol("decorationFeature"),t.isDecoration=a;var s=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i(n,e),n.DEFAULT_FEATURES=[t.decorationFeature,r.boundsFeature,o.hoverFeedbackFeature,o.popupFeature],n}(r.SShapeElement);t.SDecoration=s;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(s);t.SIssueMarker=c;var l=function(){function e(){}return e}();t.SIssue=l},"7faf":function(e,t,n){"use strict";function i(e){return e.hasFeature(t.exportFeature)}Object.defineProperty(t,"__esModule",{value:!0}),t.exportFeature=Symbol("exportFeature"),t.isExportable=i},"80b5":function(e,t,n){"use strict";function i(e){return e instanceof HTMLElement?{x:e.offsetLeft,y:e.offsetTop}:e}Object.defineProperty(t,"__esModule",{value:!0}),t.toAnchor=i},8122:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("33b2"),a=n("9e2e"),s=n("0fb6"),c=n("be02"),l=n("160b"),u=n("302f"),d=n("538c"),h=n("29fa"),p=n("65d1"),f=n("3b4c"),m=n("1417"),g=n("a190"),v=n("064a"),_=n("8794"),b=n("0d7a"),y=n("b093"),M=n("842c"),w=n("cd10"),L=n("ddee"),S=n("1590"),C=n("3f0a"),E=n("6176"),A=n("c661"),T=new i.ContainerModule(function(e,t,n){e(o.TYPES.ILogger).to(a.NullLogger).inSingletonScope(),e(o.TYPES.LogLevel).toConstantValue(a.LogLevel.warn),e(o.TYPES.SModelRegistry).to(u.SModelRegistry).inSingletonScope(),e(c.ActionHandlerRegistry).toSelf().inSingletonScope(),e(o.TYPES.ActionHandlerRegistryProvider).toProvider(function(e){return function(){return new Promise(function(t){t(e.container.get(c.ActionHandlerRegistry))})}}),e(o.TYPES.ViewRegistry).to(v.ViewRegistry).inSingletonScope(),e(o.TYPES.IModelFactory).to(u.SModelFactory).inSingletonScope(),e(o.TYPES.IActionDispatcher).to(s.ActionDispatcher).inSingletonScope(),e(o.TYPES.IActionDispatcherProvider).toProvider(function(e){return function(){return new Promise(function(t){t(e.container.get(o.TYPES.IActionDispatcher))})}}),e(o.TYPES.IDiagramLocker).to(A.DefaultDiagramLocker).inSingletonScope(),e(o.TYPES.IActionHandlerInitializer).to(M.CommandActionHandlerInitializer),e(o.TYPES.ICommandStack).to(l.CommandStack).inSingletonScope(),e(o.TYPES.ICommandStackProvider).toProvider(function(e){return function(){return new Promise(function(t){t(e.container.get(o.TYPES.ICommandStack))})}}),e(o.TYPES.CommandStackOptions).toConstantValue({defaultDuration:250,undoHistoryLimit:50}),e(h.ModelViewer).toSelf().inSingletonScope(),e(h.HiddenModelViewer).toSelf().inSingletonScope(),e(h.PopupModelViewer).toSelf().inSingletonScope(),e(o.TYPES.ModelViewer).toDynamicValue(function(e){var t=e.container.createChild();return t.bind(o.TYPES.IViewer).toService(h.ModelViewer),t.bind(_.ViewerCache).toSelf(),t.get(_.ViewerCache)}).inSingletonScope(),e(o.TYPES.PopupModelViewer).toDynamicValue(function(e){var t=e.container.createChild();return t.bind(o.TYPES.IViewer).toService(h.PopupModelViewer),t.bind(_.ViewerCache).toSelf(),t.get(_.ViewerCache)}).inSingletonScope(),e(o.TYPES.HiddenModelViewer).toService(h.HiddenModelViewer),e(o.TYPES.IViewerProvider).toDynamicValue(function(e){return{get modelViewer(){return e.container.get(o.TYPES.ModelViewer)},get hiddenModelViewer(){return e.container.get(o.TYPES.HiddenModelViewer)},get popupModelViewer(){return e.container.get(o.TYPES.PopupModelViewer)}}}),e(o.TYPES.ViewerOptions).toConstantValue(p.defaultViewerOptions()),e(o.TYPES.PatcherProvider).to(h.PatcherProvider).inSingletonScope(),e(o.TYPES.DOMHelper).to(b.DOMHelper).inSingletonScope(),e(o.TYPES.ModelRendererFactory).toFactory(function(e){return function(t,n){var i=e.container.get(o.TYPES.ViewRegistry);return new h.ModelRenderer(i,t,n)}}),e(y.IdPostprocessor).toSelf().inSingletonScope(),e(o.TYPES.IVNodePostprocessor).toService(y.IdPostprocessor),e(o.TYPES.HiddenVNodePostprocessor).toService(y.IdPostprocessor),e(w.CssClassPostprocessor).toSelf().inSingletonScope(),e(o.TYPES.IVNodePostprocessor).toService(w.CssClassPostprocessor),e(o.TYPES.HiddenVNodePostprocessor).toService(w.CssClassPostprocessor),e(f.MouseTool).toSelf().inSingletonScope(),e(o.TYPES.IVNodePostprocessor).toService(f.MouseTool),e(m.KeyTool).toSelf().inSingletonScope(),e(o.TYPES.IVNodePostprocessor).toService(m.KeyTool),e(g.FocusFixPostprocessor).toSelf().inSingletonScope(),e(o.TYPES.IVNodePostprocessor).toService(g.FocusFixPostprocessor),e(o.TYPES.PopupVNodePostprocessor).toService(y.IdPostprocessor),e(f.PopupMouseTool).toSelf().inSingletonScope(),e(o.TYPES.PopupVNodePostprocessor).toService(f.PopupMouseTool),e(o.TYPES.AnimationFrameSyncer).to(d.AnimationFrameSyncer).inSingletonScope();var i={bind:e,isBound:n};M.configureCommand(i,r.InitializeCanvasBoundsCommand),e(r.CanvasBoundsInitializer).toSelf().inSingletonScope(),e(o.TYPES.IVNodePostprocessor).toService(r.CanvasBoundsInitializer),M.configureCommand(i,C.SetModelCommand),e(o.TYPES.IToolManager).to(L.ToolManager).inSingletonScope(),e(o.TYPES.KeyListener).to(L.DefaultToolsEnablingKeyListener),e(L.ToolManagerActionHandler).toSelf().inSingletonScope(),c.configureActionHandler(i,S.EnableDefaultToolsAction.KIND,L.ToolManagerActionHandler),c.configureActionHandler(i,S.EnableToolsAction.KIND,L.ToolManagerActionHandler),e(o.TYPES.UIExtensionRegistry).to(E.UIExtensionRegistry).inSingletonScope(),M.configureCommand(i,E.SetUIExtensionVisibilityCommand),e(f.MousePositionTracker).toSelf().inSingletonScope(),e(o.TYPES.MouseListener).toService(f.MousePositionTracker)});t.default=T},8195:function(e,t,n){},"81a6":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10===1&&t%100!==11?e[2]:e[3]:t%10===1&&t%100!==11?e[0]:e[1]}function i(e,i,o){return e+" "+n(t[o],e,i)}function o(e,i,o){return n(t[o],e,i)}function r(e,t){return t?"dažas sekundes":"dažām sekundēm"}var a=e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:r,ss:i,m:o,mm:i,h:o,hh:i,d:o,dd:i,M:o,MM:i,y:o,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a})},"81aa":function(e,t,n){"use strict";function i(e,t,n,i,o){var r=void 0===t?void 0:t.key;return{sel:e,data:t,children:n,text:i,elm:o,key:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.vnode=i,t.default=i},8336:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3"),o=n("155f"),r=n("0fd9"),a=n("2cac"),s=function(){function e(e){this._binding=e}return e.prototype.to=function(e){return this._binding.type=o.BindingTypeEnum.Instance,this._binding.implementationType=e,new r.BindingInWhenOnSyntax(this._binding)},e.prototype.toSelf=function(){if("function"!==typeof this._binding.serviceIdentifier)throw new Error(""+i.INVALID_TO_SELF_VALUE);var e=this._binding.serviceIdentifier;return this.to(e)},e.prototype.toConstantValue=function(e){return this._binding.type=o.BindingTypeEnum.ConstantValue,this._binding.cache=e,this._binding.dynamicValue=null,this._binding.implementationType=null,new a.BindingWhenOnSyntax(this._binding)},e.prototype.toDynamicValue=function(e){return this._binding.type=o.BindingTypeEnum.DynamicValue,this._binding.cache=null,this._binding.dynamicValue=e,this._binding.implementationType=null,new r.BindingInWhenOnSyntax(this._binding)},e.prototype.toConstructor=function(e){return this._binding.type=o.BindingTypeEnum.Constructor,this._binding.implementationType=e,new a.BindingWhenOnSyntax(this._binding)},e.prototype.toFactory=function(e){return this._binding.type=o.BindingTypeEnum.Factory,this._binding.factory=e,new a.BindingWhenOnSyntax(this._binding)},e.prototype.toFunction=function(e){if("function"!==typeof e)throw new Error(i.INVALID_FUNCTION_BINDING);var t=this.toConstantValue(e);return this._binding.type=o.BindingTypeEnum.Function,t},e.prototype.toAutoFactory=function(e){return this._binding.type=o.BindingTypeEnum.Factory,this._binding.factory=function(t){var n=function(){return t.container.get(e)};return n},new a.BindingWhenOnSyntax(this._binding)},e.prototype.toProvider=function(e){return this._binding.type=o.BindingTypeEnum.Provider,this._binding.provider=e,new a.BindingWhenOnSyntax(this._binding)},e.prototype.toService=function(e){this.toDynamicValue(function(t){return t.container.get(e)})},e}();t.BindingToSyntax=s},"83e0":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t})},"842c":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),s=n("7b39"),c=n("6923"),l=function(){function e(e){this.commandRegistration=e}return e.prototype.handle=function(e){return this.commandRegistration.factory(e)},e}();t.CommandActionHandler=l;var u=function(){function e(e){this.registrations=e}return e.prototype.initialize=function(e){this.registrations.forEach(function(t){return e.register(t.kind,new l(t))})},e=i([a.injectable(),r(0,a.multiInject(c.TYPES.CommandRegistration)),r(0,a.optional()),o("design:paramtypes",[Array])],e),e}();function d(e,t){if(!s.isInjectable(t))throw new Error("Commands should be @injectable: "+t.name);e.isBound(t)||e.bind(t).toSelf(),e.bind(c.TYPES.CommandRegistration).toDynamicValue(function(e){return{kind:t.KIND,factory:function(n){var i=new a.Container;return i.parent=e.container,i.bind(c.TYPES.Action).toConstantValue(n),i.get(t)}}})}t.CommandActionHandlerInitializer=u,t.configureCommand=d},"84a2":function(e,t,n){(function(t){var n="Expected a function",i=NaN,o="[object Symbol]",r=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,h=u||d||Function("return this")(),p=Object.prototype,f=p.toString,m=Math.max,g=Math.min,v=function(){return h.Date.now()};function _(e,t,i){var o,r,a,s,c,l,u=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new TypeError(n);function f(t){var n=o,i=r;return o=r=void 0,u=t,s=e.apply(i,n),s}function _(e){return u=e,c=setTimeout(w,t),d?f(e):s}function b(e){var n=e-l,i=e-u,o=t-n;return h?g(o,a-i):o}function M(e){var n=e-l,i=e-u;return void 0===l||n>=t||n<0||h&&i>=a}function w(){var e=v();if(M(e))return S(e);c=setTimeout(w,b(e))}function S(e){return c=void 0,p&&o?f(e):(o=r=void 0,s)}function C(){void 0!==c&&clearTimeout(c),u=0,o=l=r=c=void 0}function E(){return void 0===c?s:S(v())}function A(){var e=v(),n=M(e);if(o=arguments,r=this,l=e,n){if(void 0===c)return _(l);if(h)return c=setTimeout(w,t),f(l)}return void 0===c&&(c=setTimeout(w,t)),s}return t=L(t)||0,y(i)&&(d=!!i.leading,h="maxWait"in i,a=h?m(L(i.maxWait)||0,t):a,p="trailing"in i?!!i.trailing:p),A.cancel=C,A.flush=E,A}function b(e,t,i){var o=!0,r=!0;if("function"!=typeof e)throw new TypeError(n);return y(i)&&(o="leading"in i?!!i.leading:o,r="trailing"in i?!!i.trailing:r),_(e,t,{leading:o,maxWait:t,trailing:r})}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function M(e){return!!e&&"object"==typeof e}function w(e){return"symbol"==typeof e||M(e)&&f.call(e)==o}function L(e){if("number"==typeof e)return e;if(w(e))return i;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):a.test(e)?i:+e}e.exports=b}).call(this,n("c8ba"))},"84b1":function(e,t,n){(function(t,n){e.exports=n()})(0,function(){"use strict";function e(e){var t,n,i=document,o=i.createElement("div"),r=o.style,a=navigator.userAgent,s=-1!==a.indexOf("Firefox")&&-1!==a.indexOf("Mobile"),c=e.debounceWaitMs||0,l=e.preventSubmit||!1,u=s?"input":"keyup",d=[],h="",p=2,f=e.showOnFocus,m=0;if(void 0!==e.minLength&&(p=e.minLength),!e.input)throw new Error("input undefined");var g=e.input;function v(){var e=o.parentNode;e&&e.removeChild(o)}function _(){n&&window.clearTimeout(n)}function b(){o.parentNode||i.body.appendChild(o)}function y(){return!!o.parentNode}function M(){m++,d=[],h="",t=void 0,v()}function w(){if(y()){r.height="auto",r.width=g.offsetWidth+"px";var t=g.getBoundingClientRect(),n=t.top+g.offsetHeight,i=window.innerHeight-n;i<0&&(i=0),r.top=n+"px",r.bottom="",r.left=t.left+"px",r.maxHeight=i+"px",e.customize&&e.customize(g,t,o,i)}}function L(){while(o.firstChild)o.removeChild(o.firstChild);var n=function(e,t){var n=i.createElement("div");return n.textContent=e.label||"",n};e.render&&(n=e.render);var r=function(e,t){var n=i.createElement("div");return n.textContent=e,n};e.renderGroup&&(r=e.renderGroup);var a=i.createDocumentFragment(),s="#9?$";if(d.forEach(function(i){if(i.group&&i.group!==s){s=i.group;var o=r(i.group,h);o&&(o.className+=" group",a.appendChild(o))}var c=n(i,h);c&&(c.addEventListener("click",function(t){e.onSelect(i,g),M(),t.preventDefault(),t.stopPropagation()}),i===t&&(c.className+=" selected"),a.appendChild(c))}),o.appendChild(a),d.length<1){if(!e.emptyMsg)return void M();var c=i.createElement("div");c.className="empty",c.textContent=e.emptyMsg,o.appendChild(c)}b(),w(),T()}function S(){y()&&L()}function C(){S()}function E(e){e.target!==o?S():e.preventDefault()}function A(e){for(var t=e.which||e.keyCode||0,n=[38,13,27,39,37,16,17,18,20,91,9],i=0,o=n;i0){var t=e[0],n=t.previousElementSibling;if(n&&-1!==n.className.indexOf("group")&&!n.previousElementSibling&&(t=n),t.offsetTopr&&(o.scrollTop+=i-r)}}}function O(){if(d.length<1)t=void 0;else if(t===d[0])t=d[d.length-1];else for(var e=d.length-1;e>0;e--)if(t===d[e]||1===e){t=d[e-1];break}}function k(){if(d.length<1&&(t=void 0),t&&t!==d[d.length-1]){for(var e=0;e=p||1===i?(_(),n=window.setTimeout(function(){e.fetch(r,function(e){m===o&&e&&(d=e,h=r,t=d.length>0?d[0]:void 0,L())},0)},0===i?c:0)):M()}function z(){setTimeout(function(){i.activeElement!==g&&M()},200)}function P(){g.removeEventListener("focus",D),g.removeEventListener("keydown",x),g.removeEventListener(u,A),g.removeEventListener("blur",z),window.removeEventListener("resize",C),i.removeEventListener("scroll",E,!0),_(),M(),m++}return o.className="autocomplete "+(e.className||""),r.position="fixed",o.addEventListener("mousedown",function(e){e.stopPropagation(),e.preventDefault()}),g.addEventListener("keydown",x),g.addEventListener(u,A),g.addEventListener("blur",z),g.addEventListener("focus",D),window.addEventListener("resize",C),i.addEventListener("scroll",E,!0),{destroy:P}}return e})},"84fd":function(e,t,n){},"85ed":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t=s.LogLevel.error&&this.forward(e,t,s.LogLevel.error,n)},e.prototype.warn=function(e,t){for(var n=[],i=2;i=s.LogLevel.warn&&this.forward(e,t,s.LogLevel.warn,n)},e.prototype.info=function(e,t){for(var n=[],i=2;i=s.LogLevel.info&&this.forward(e,t,s.LogLevel.info,n)},e.prototype.log=function(e,t){for(var n=[],i=2;i=s.LogLevel.log)try{var o="object"===typeof e?e.constructor.name:String(e);console.log.apply(e,r([o+": "+t],n))}catch(e){}},e.prototype.forward=function(e,t,n,i){var o=new Date,r=new l(s.LogLevel[n],o.toLocaleTimeString(),"object"===typeof e?e.constructor.name:String(e),t,i.map(function(e){return JSON.stringify(e)}));this.modelSourceProvider().then(function(n){try{n.handle(r)}catch(n){try{console.log.apply(e,[t,r,n])}catch(e){}}})},i([a.inject(c.TYPES.ModelSourceProvider),o("design:type",Function)],e.prototype,"modelSourceProvider",void 0),i([a.inject(c.TYPES.LogLevel),o("design:type",Number)],e.prototype,"logLevel",void 0),e=i([a.injectable()],e),e}();t.ForwardingLogger=u},"861d":function(e,t,n){var i=/(?:|<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>)/g,o=n("c4ec"),r=Object.create?Object.create(null):{};function a(e,t,n,i,o){var r=t.indexOf("<",i),a=t.slice(i,-1===r?void 0:r);/^\s*$/.test(a)&&(a=" "),(!o&&r>-1&&n+e.length>=0||" "!==a)&&e.push({type:"text",content:a})}e.exports=function(e,t){t||(t={}),t.components||(t.components=r);var n,s=[],c=-1,l=[],u={},d=!1;return e.replace(i,function(i,r){if(d){if(i!=="")return;d=!1}var h,p="/"!==i.charAt(1),f=0===i.indexOf("\x3c!--"),m=r+i.length,g=e.charAt(m);p&&!f&&(c++,n=o(i),"tag"===n.type&&t.components[n.name]&&(n.type="component",d=!0),n.voidElement||d||!g||"<"===g||a(n.children,e,c,m,t.ignoreWhitespace),u[n.tagName]=n,0===c&&s.push(n),h=l[c-1],h&&h.children.push(n),l[c]=n),(f||!p||n.voidElement)&&(f||c--,!d&&"<"!==g&&g&&(h=-1===c?s:l[c].children,a(h,e,c,m,t.ignoreWhitespace)))}),!s.length&&e.length&&a(s,e,0,0,t.ignoreWhitespace),s}},8622:function(e,t,n){"use strict";var i=n("bc63"),o=n.n(i);o.a},"869e":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),c=n("6923"),l=n("3864");t.DIAMOND_ANCHOR_KIND="diamond",t.ELLIPTIC_ANCHOR_KIND="elliptic",t.RECTANGULAR_ANCHOR_KIND="rectangular";var u=function(e){function n(t){var n=e.call(this)||this;return t.forEach(function(e){return n.register(e.kind,e)}),n}return i(n,e),Object.defineProperty(n.prototype,"defaultAnchorKind",{get:function(){return t.RECTANGULAR_ANCHOR_KIND},enumerable:!0,configurable:!0}),n.prototype.get=function(t,n){return e.prototype.get.call(this,t+":"+(n||this.defaultAnchorKind))},n=o([s.injectable(),a(0,s.multiInject(c.TYPES.IAnchorComputer)),r("design:paramtypes",[Array])],n),n}(l.InstanceRegistry);t.AnchorComputerRegistry=u},8707:function(e,t,n){var i=n("b639"),o=i.Buffer;function r(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=i:(r(i,t),t.Buffer=a),a.prototype=Object.create(o.prototype),r(o,a),a.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var i=o(e);return void 0!==t?"string"===typeof n?i.fill(t,n):i.fill(t):i.fill(0),i},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}},8794:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),a=n("6923"),s=n("538c"),c=function(){function e(){}return e.prototype.update=function(e,t){if(void 0!==t)this.delegate.update(e,t),this.cachedModel=void 0;else{var n=void 0===this.cachedModel;this.cachedModel=e,n&&this.scheduleUpdate()}},e.prototype.scheduleUpdate=function(){var e=this;this.syncer.onEndOfNextFrame(function(){e.cachedModel&&(e.delegate.update(e.cachedModel),e.cachedModel=void 0)})},i([r.inject(a.TYPES.IViewer),o("design:type",Object)],e.prototype,"delegate",void 0),i([r.inject(a.TYPES.AnimationFrameSyncer),o("design:type",s.AnimationFrameSyncer)],e.prototype,"syncer",void 0),e=i([r.injectable()],e),e}();t.ViewerCache=c},"87b3":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("7685"),o=n("30e3"),r=n("155f"),a=n("c5f4"),s=n("a8af"),c=n("ba33"),l=n("a32f"),u=n("1979"),d=n("c8c0"),h=n("7dba"),p=n("c622"),f=n("757d");function m(e){return e._bindingDictionary}function g(e,t,n,i,o,r){var s=e?a.MULTI_INJECT_TAG:a.INJECT_TAG,c=new u.Metadata(s,n),l=new f.Target(t,i,n,c);if(void 0!==o){var d=new u.Metadata(o,r);l.metadata.push(d)}return l}function v(e,t,n,o,r){var a=y(n.container,r.serviceIdentifier),s=[];return a.length===i.BindingCount.NoBindingsAvailable&&n.container.options.autoBindInjectable&&"function"===typeof r.serviceIdentifier&&e.getConstructorMetadata(r.serviceIdentifier).compilerGeneratedMetadata&&(n.container.bind(r.serviceIdentifier).toSelf(),a=y(n.container,r.serviceIdentifier)),s=t?a:a.filter(function(e){var t=new p.Request(e.serviceIdentifier,n,o,e,r);return e.constraint(t)}),_(r.serviceIdentifier,s,r,n.container),s}function _(e,t,n,r){switch(t.length){case i.BindingCount.NoBindingsAvailable:if(n.isOptional())return t;var a=c.getServiceIdentifierAsString(e),s=o.NOT_REGISTERED;throw s+=c.listMetadataForTarget(a,n),s+=c.listRegisteredBindingsForServiceIdentifier(r,a,y),new Error(s);case i.BindingCount.OnlyOneBindingAvailable:if(!n.isArray())return t;case i.BindingCount.MultipleBindingsAvailable:default:if(n.isArray())return t;a=c.getServiceIdentifierAsString(e),s=o.AMBIGUOUS_MATCH+" "+a;throw s+=c.listRegisteredBindingsForServiceIdentifier(r,a,y),new Error(s)}}function b(e,t,n,i,a,s){var c,l;if(null===a){c=v(e,t,i,null,s),l=new p.Request(n,i,null,c,s);var u=new d.Plan(i,l);i.addPlan(u)}else c=v(e,t,i,a,s),l=a.addChildRequest(s.serviceIdentifier,c,s);c.forEach(function(t){var n=null;if(s.isArray())n=l.addChildRequest(t.serviceIdentifier,t,s);else{if(t.cache)return;n=l}if(t.type===r.BindingTypeEnum.Instance&&null!==t.implementationType){var a=h.getDependencies(e,t.implementationType);if(!i.container.options.skipBaseClassChecks){var c=h.getBaseClassDependencyCount(e,t.implementationType);if(a.length9?i(e%10):e}function o(e,t){return 2===t?r(e):e}function r(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var a=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],s=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,c=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,l=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,u=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],d=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],h=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i],p=e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:h,fullWeekdaysParse:u,shortWeekdaysParse:d,minWeekdaysParse:h,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:c,monthsShortStrictRegex:l,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}});return p})},"8ac3":function(e,t,n){},"8b1b":function(e,t,n){},"8b74":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n,i){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?o[n][0]:o[n][1]}var n=e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n})},"8bc9":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n,i){var o=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"ss":return o+=1===e?t?"sekundo":"sekundi":2===e?t||i?"sekundi":"sekundah":e<5?t||i?"sekunde":"sekundah":"sekund",o;case"m":return t?"ena minuta":"eno minuto";case"mm":return o+=1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami",o;case"h":return t?"ena ura":"eno uro";case"hh":return o+=1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami",o;case"d":return t||i?"en dan":"enim dnem";case"dd":return o+=1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi",o;case"M":return t||i?"en mesec":"enim mesecem";case"MM":return o+=1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci",o;case"y":return t||i?"eno leto":"enim letom";case"yy":return o+=1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti",o}}var n=e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},"8c88":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("c5f4"),o=n("1979"),r=n("66d7");function a(e){return function(t,n,a){var s=new o.Metadata(i.MULTI_INJECT_TAG,e);"number"===typeof a?r.tagParameter(t,n,a,s):r.tagProperty(t,n,s)}}t.multiInject=a},"8d53":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n("dd7b"),r=n("e1c6"),a=function(){function e(){}return e.prototype.render=function(e,t){var n=this;return o.h(this.selector(e),{key:e.id,hook:{init:this.init.bind(this),prepatch:this.prepatch.bind(this)},fn:function(){return n.renderAndDecorate(e,t)},args:this.watchedArgs(e),thunk:!0})},e.prototype.renderAndDecorate=function(e,t){var n=this.doRender(e,t);return t.decorate(n,e),n},e.prototype.copyToThunk=function(e,t){t.elm=e.elm,e.data.fn=t.data.fn,e.data.args=t.data.args,t.data=e.data,t.children=e.children,t.text=e.text,t.elm=e.elm},e.prototype.init=function(e){var t=e.data,n=t.fn.apply(void 0,t.args);this.copyToThunk(n,e)},e.prototype.prepatch=function(e,t){var n=e.data,i=t.data;this.equals(n.args,i.args)?this.copyToThunk(e,t):this.copyToThunk(i.fn.apply(void 0,i.args),t)},e.prototype.equals=function(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(var n=0;n=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n("e1c6"),r=n("3585"),a=function(){function e(){}return e.prototype.isVisible=function(e,t,n){if("hidden"===n.targetKind)return!0;if(0===t.length)return!0;var i=r.getAbsoluteRouteBounds(e,t),o=e.root.canvasBounds;return i.x<=o.width&&i.x+i.width>=0&&i.y<=o.height&&i.y+i.height>=0},e=i([o.injectable()],e),e}();t.RoutableView=a},"8dfa":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});return t})},"8e08":function(e,t,n){},"8e55":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"},i=e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}});return i})},"8e65":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("842c"),r=n("6923"),a=n("42be"),s=n("26ad"),c=new i.ContainerModule(function(e,t,n){e(r.TYPES.ModelSourceProvider).toProvider(function(e){return function(){return new Promise(function(t){t(e.container.get(r.TYPES.ModelSource))})}}),o.configureCommand({bind:e,isBound:n},a.CommitModelCommand),e(r.TYPES.IActionHandlerInitializer).toService(r.TYPES.ModelSource),e(s.ComputedBoundsApplicator).toSelf().inSingletonScope()});t.default=c},"8e97":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n("e1c6"),r=n("dd02"),a=n("66f9"),s=function(){function e(){}return e.prototype.isVisible=function(e,t){if("hidden"===t.targetKind)return!0;if(!r.isValidDimension(e.bounds))return!0;var n=a.getAbsoluteBounds(e),i=e.root.canvasBounds;return n.x<=i.width&&n.x+n.width>=0&&n.y<=i.height&&n.y+n.height>=0},e=i([o.injectable()],e),e}();t.ShapeView=s},"8ef3":function(e,t,n){},9016:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="undefined"!==typeof window&&window.requestAnimationFrame.bind(window)||setTimeout,o=function(e){i(function(){i(e)})},r=!1;function a(e,t,n){o(function(){e[t]=n})}function s(e,t){var n,i,o=t.elm,r=e.data.style,s=t.data.style;if((r||s)&&r!==s){r=r||{},s=s||{};var c="delayed"in r;for(i in r)s[i]||("-"===i[0]&&"-"===i[1]?o.style.removeProperty(i):o.style[i]="");for(i in s)if(n=s[i],"delayed"===i&&s.delayed)for(var l in s.delayed)n=s.delayed[l],c&&n===r.delayed[l]||a(o.style,l,n);else"remove"!==i&&n!==r[i]&&("-"===i[0]&&"-"===i[1]?o.style.setProperty(i,n):o.style[i]=n)}}function c(e){var t,n,i=e.elm,o=e.data.style;if(o&&(t=o.destroy))for(n in t)i.style[n]=t[n]}function l(e,t){var n=e.data.style;if(n&&n.remove){r||(getComputedStyle(document.body).transform,r=!0);var i,o,a=e.elm,s=0,c=n.remove,l=0,u=[];for(i in c)u.push(i),a.style[i]=c[i];o=getComputedStyle(a);for(var d=o["transition-property"].split(", ");s=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var s=n("21a6"),c=n("e1c6"),l=n("3f0a"),u=n("6923"),d=n("42f7"),h=n("4741"),p=n("5d19"),f=n("f4cb"),m=n("b485"),g=n("cf61"),v=n("26ad");function _(e){return void 0!==e&&e.hasOwnProperty("action")}t.isActionMessage=_;var b=function(){function e(){this.kind=e.KIND}return e.KIND="serverStatus",e}();t.ServerStatusAction=b;var y="__receivedFromServer",M=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.currentRoot={type:"NONE",id:"ROOT"},t}return i(t,e),t.prototype.initialize=function(t){e.prototype.initialize.call(this,t),t.register(d.ComputedBoundsAction.KIND,this),t.register(d.RequestBoundsCommand.KIND,this),t.register(f.RequestPopupModelAction.KIND,this),t.register(h.CollapseExpandAction.KIND,this),t.register(h.CollapseExpandAllAction.KIND,this),t.register(m.OpenAction.KIND,this),t.register(b.KIND,this),this.clientId||(this.clientId=this.viewerOptions.baseDiv)},t.prototype.handle=function(e){var t=this.handleLocally(e);t&&this.forwardToServer(e)},t.prototype.forwardToServer=function(e){var t={clientId:this.clientId,action:e};this.logger.log(this,"sending",t),this.sendMessage(t)},t.prototype.messageReceived=function(e){var t=this,n="string"===typeof e?JSON.parse(e):e;_(n)&&n.action?n.clientId&&n.clientId!==this.clientId||(n.action[y]=!0,this.logger.log(this,"receiving",n),this.actionDispatcher.dispatch(n.action).then(function(){t.storeNewModel(n.action)})):this.logger.error(this,"received data is not an action message",n)},t.prototype.handleLocally=function(e){switch(this.storeNewModel(e),e.kind){case d.ComputedBoundsAction.KIND:return this.handleComputedBounds(e);case l.RequestModelAction.KIND:return this.handleRequestModel(e);case d.RequestBoundsCommand.KIND:return!1;case p.ExportSvgAction.KIND:return this.handleExportSvgAction(e);case b.KIND:return this.handleServerStateAction(e)}return!e[y]},t.prototype.storeNewModel=function(e){if(e.kind===l.SetModelCommand.KIND||e.kind===g.UpdateModelCommand.KIND||e.kind===d.RequestBoundsCommand.KIND){var t=e.newRoot;t&&(this.currentRoot=t,e.kind!==l.SetModelCommand.KIND&&e.kind!==g.UpdateModelCommand.KIND||(this.lastSubmittedModelType=t.type))}},t.prototype.handleRequestModel=function(e){var t=o({needsClientLayout:this.viewerOptions.needsClientLayout,needsServerLayout:this.viewerOptions.needsServerLayout},e.options),n=o(o({},e),{options:t});return this.forwardToServer(n),!1},t.prototype.handleComputedBounds=function(e){if(this.viewerOptions.needsServerLayout)return!0;var t=this.currentRoot;return this.computedBoundsApplicator.apply(t,e),t.type===this.lastSubmittedModelType?this.actionDispatcher.dispatch(new g.UpdateModelAction(t)):this.actionDispatcher.dispatch(new l.SetModelAction(t)),this.lastSubmittedModelType=t.type,!1},t.prototype.handleExportSvgAction=function(e){var t=new Blob([e.svg],{type:"text/plain;charset=utf-8"});return s.saveAs(t,"diagram.svg"),!1},t.prototype.handleServerStateAction=function(e){return!1},t.prototype.commitModel=function(e){var t=this.currentRoot;return this.currentRoot=e,t},r([c.inject(u.TYPES.ILogger),a("design:type",Object)],t.prototype,"logger",void 0),r([c.inject(v.ComputedBoundsApplicator),a("design:type",v.ComputedBoundsApplicator)],t.prototype,"computedBoundsApplicator",void 0),t=r([c.injectable()],t),t}(v.ModelSource);t.DiagramServer=M},"966d":function(e,t,n){"use strict";(function(t){function n(e,n,i,o){if("function"!==typeof e)throw new TypeError('"callback" argument must be a function');var r,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,n)});case 3:return t.nextTick(function(){e.call(null,n,i)});case 4:return t.nextTick(function(){e.call(null,n,i,o)});default:r=new Array(s-1),a=0;while(a=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),a=function(){function e(){}return e=o([r.injectable()],e),e}();t.Command=a;var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.merge=function(e,t){return!1},t=o([r.injectable()],t),t}(a);t.MergeableCommand=s;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.undo=function(e){return e.logger.error(this,"Cannot undo a hidden command"),e.root},t.prototype.redo=function(e){return e.logger.error(this,"Cannot redo a hidden command"),e.root},t=o([r.injectable()],t),t}(a);t.HiddenCommand=c;var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t=o([r.injectable()],t),t}(a);t.PopupCommand=l;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t=o([r.injectable()],t),t}(a);t.SystemCommand=u;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t=o([r.injectable()],t),t}(a);t.ResetCommand=d},9811:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("e7fa"),a=new i.ContainerModule(function(e){e(o.TYPES.IVNodePostprocessor).to(r.ElementFader).inSingletonScope()});t.default=a},"987d":function(e,t,n){"use strict";function i(e){return e<.5?e*e*2:1-(1-e)*(1-e)*2}Object.defineProperty(t,"__esModule",{value:!0}),t.easeInOut=i},"98ab":function(e,t,n){},"98db":function(e,t,n){(function(e,t){ +/*! ***************************************************************************** +Copyright (C) Microsoft. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ +var n;(function(n){(function(e){var i="object"===typeof t?t:"object"===typeof self?self:"object"===typeof this?this:Function("return this;")(),o=r(n);function r(e,t){return function(n,i){"function"!==typeof e[n]&&Object.defineProperty(e,n,{configurable:!0,writable:!0,value:i}),t&&t(n,i)}}"undefined"===typeof i.Reflect?i.Reflect=n:o=r(i.Reflect,o),e(o)})(function(t){var n=Object.prototype.hasOwnProperty,i="function"===typeof Symbol,o=i&&"undefined"!==typeof Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",r=i&&"undefined"!==typeof Symbol.iterator?Symbol.iterator:"@@iterator",a="function"===typeof Object.create,s={__proto__:[]}instanceof Array,c=!a&&!s,l={create:a?function(){return re(Object.create(null))}:s?function(){return re({__proto__:null})}:function(){return re({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},u=Object.getPrototypeOf(Function),d="object"===typeof e&&Object({NODE_ENV:"production",CLIENT:!0,SERVER:!1,DEV:!1,PROD:!0,THEME:"mat",MODE:"spa",WS_BASE_URL:"",STOMP_CLIENT_DEBUG:!1,KEXPLORER_DEBUG:!1,ROUTER_BASE:"/modeler/ui",WEB_BASE_URL:"https://integratedmodelling.org",PACKAGE_VERSION:"0.22.0",PACKAGE_BUILD:"",ENGINE_URL:"/modeler",ENGINE_SHARED:"/modeler/shared/",ENGINE_LOGIN:"/modeler",API:"/modeler/api/v2",WS_URL:"/modeler/message",WS_SUBSCRIBE:"/message",WS_MESSAGE_DESTINATION:"/klab/message",REST_UPLOAD_MAX_SIZE:"1024MB",SEARCH_TIMEOUT_MS:"4000",VUE_ROUTER_MODE:"hash",VUE_ROUTER_BASE:"",APP_URL:"undefined"})&&"true"===Object({NODE_ENV:"production",CLIENT:!0,SERVER:!1,DEV:!1,PROD:!0,THEME:"mat",MODE:"spa",WS_BASE_URL:"",STOMP_CLIENT_DEBUG:!1,KEXPLORER_DEBUG:!1,ROUTER_BASE:"/modeler/ui",WEB_BASE_URL:"https://integratedmodelling.org",PACKAGE_VERSION:"0.22.0",PACKAGE_BUILD:"",ENGINE_URL:"/modeler",ENGINE_SHARED:"/modeler/shared/",ENGINE_LOGIN:"/modeler",API:"/modeler/api/v2",WS_URL:"/modeler/message",WS_SUBSCRIBE:"/message",WS_MESSAGE_DESTINATION:"/klab/message",REST_UPLOAD_MAX_SIZE:"1024MB",SEARCH_TIMEOUT_MS:"4000",VUE_ROUTER_MODE:"hash",VUE_ROUTER_BASE:"",APP_URL:"undefined"})["REFLECT_METADATA_USE_MAP_POLYFILL"],h=d||"function"!==typeof Map||"function"!==typeof Map.prototype.entries?ne():Map,p=d||"function"!==typeof Set||"function"!==typeof Set.prototype.entries?ie():Set,f=d||"function"!==typeof WeakMap?oe():WeakMap,m=new f;function g(e,t,n,i){if(I(n)){if(!U(e))throw new TypeError;if(!G(t))throw new TypeError;return E(e,t)}if(!U(e))throw new TypeError;if(!Y(t))throw new TypeError;if(!Y(i)&&!I(i)&&!B(i))throw new TypeError;return B(i)&&(i=void 0),n=X(n),A(e,t,n,i)}function v(e,t){function n(n,i){if(!Y(n))throw new TypeError;if(!I(i)&&!K(i))throw new TypeError;R(e,t,n,i)}return n}function _(e,t,n,i){if(!Y(n))throw new TypeError;return I(i)||(i=X(i)),R(e,t,n,i)}function b(e,t,n){if(!Y(t))throw new TypeError;return I(n)||(n=X(n)),O(e,t,n)}function y(e,t,n){if(!Y(t))throw new TypeError;return I(n)||(n=X(n)),k(e,t,n)}function M(e,t,n){if(!Y(t))throw new TypeError;return I(n)||(n=X(n)),x(e,t,n)}function w(e,t,n){if(!Y(t))throw new TypeError;return I(n)||(n=X(n)),D(e,t,n)}function L(e,t){if(!Y(e))throw new TypeError;return I(t)||(t=X(t)),z(e,t)}function S(e,t){if(!Y(e))throw new TypeError;return I(t)||(t=X(t)),P(e,t)}function C(e,t,n){if(!Y(t))throw new TypeError;I(n)||(n=X(n));var i=T(t,n,!1);if(I(i))return!1;if(!i.delete(e))return!1;if(i.size>0)return!0;var o=m.get(t);return o.delete(n),o.size>0||(m.delete(t),!0)}function E(e,t){for(var n=e.length-1;n>=0;--n){var i=e[n],o=i(t);if(!I(o)&&!B(o)){if(!G(o))throw new TypeError;t=o}}return t}function A(e,t,n,i){for(var o=e.length-1;o>=0;--o){var r=e[o],a=r(t,n,i);if(!I(a)&&!B(a)){if(!Y(a))throw new TypeError;i=a}}return i}function T(e,t,n){var i=m.get(e);if(I(i)){if(!n)return;i=new h,m.set(e,i)}var o=i.get(t);if(I(o)){if(!n)return;o=new h,i.set(t,o)}return o}function O(e,t,n){var i=k(e,t,n);if(i)return!0;var o=te(t);return!B(o)&&O(e,o,n)}function k(e,t,n){var i=T(t,n,!1);return!I(i)&&q(i.has(e))}function x(e,t,n){var i=k(e,t,n);if(i)return D(e,t,n);var o=te(t);return B(o)?void 0:x(e,o,n)}function D(e,t,n){var i=T(t,n,!1);if(!I(i))return i.get(e)}function R(e,t,n,i){var o=T(n,i,!0);o.set(e,t)}function z(e,t){var n=P(e,t),i=te(e);if(null===i)return n;var o=z(i,t);if(o.length<=0)return n;if(n.length<=0)return o;for(var r=new p,a=[],s=0,c=n;s=0&&e=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var i=this._keys.length,o=n+1;o=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n("dd02"),r=n("869e"),a=n("46cc"),s=n("e1c6"),c=function(){function e(){}var t;return t=e,Object.defineProperty(e.prototype,"kind",{get:function(){return t.KIND},enumerable:!0,configurable:!0}),e.prototype.getAnchor=function(e,t,n){var i=e.bounds;if(i.width<=0||i.height<=0)return i;var r={x:i.x-n,y:i.y-n,width:i.width+2*n,height:i.height+2*n};return t.x>=r.x&&r.x+r.width>=t.x?t.y=r.y&&r.y+r.height>=t.y?t.x=r.x&&t.x<=r.x+r.width?r.x+.5*r.width>=t.x?(c=new o.PointToPointLine(t,{x:t.x,y:a.y}),s=t.y=r.y&&t.y<=r.y+r.height&&(r.y+.5*r.height>=t.y?(c=new o.PointToPointLine(t,{x:a.x,y:t.y}),s=t.x=r.x&&r.x+r.width>=t.x){c+=s.x;var u=.5*r.height*Math.sqrt(1-s.x*s.x/(.25*r.width*r.width));s.y<0?l-=u:l+=u}else if(t.y>=r.y&&r.y+r.height>=t.y){l+=s.y;var d=.5*r.width*Math.sqrt(1-s.y*s.y/(.25*r.height*r.height));s.x<0?c-=d:c+=d}return{x:c,y:l}},e.KIND=a.ManhattanEdgeRouter.KIND+":"+r.ELLIPTIC_ANCHOR_KIND,e=t=i([s.injectable()],e),e}();t.ManhattanEllipticAnchor=u},"9ad4":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),a=n("393a"),s=n("ee16"),c=n("e45b"),l=n("8e97"),u=n("87fa"),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(e,t){if(!(e instanceof u.ShapedPreRenderedElement)||this.isVisible(e,t)){var n=s.default(e.code);return this.correctNamespace(n),n}},t.prototype.correctNamespace=function(e){"svg"!==e.sel&&"g"!==e.sel||c.setNamespace(e,"http://www.w3.org/2000/svg")},t=o([r.injectable()],t),t}(l.ShapeView);t.PreRenderedView=d;var h=function(){function e(){}return e.prototype.render=function(e,t){var n=s.default(e.code),i=a.svg("g",null,a.svg("foreignObject",{requiredFeatures:"http://www.w3.org/TR/SVG11/feature#Extensibility",height:e.bounds.height,width:e.bounds.width,x:0,y:0},n),t.renderChildren(e));return c.setAttr(i,"class",e.type),c.setNamespace(n,e.namespace),i},e=o([r.injectable()],e),e}();t.ForeignObjectView=h},"9bc6":function(e,t,n){"use strict";var i=n("232d"),o=n.n(i);o.a},"9d14":function(e,t,n){"use strict";var i=n("a5de"),o=n.n(i);o.a},"9d38":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,i){return t?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"}function i(e,t,n,i){return t?r(n)[0]:i?r(n)[1]:r(n)[2]}function o(e){return e%10===0||e>10&&e<20}function r(e){return t[e].split("_")}function a(e,t,n,a){var s=e+" ";return 1===e?s+i(e,t,n[0],a):t?s+(o(e)?r(n)[1]:r(n)[0]):a?s+r(n)[1]:s+(o(e)?r(n)[1]:r(n)[2])}var s=e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:n,ss:a,m:i,mm:a,h:i,hh:a,d:i,dd:a,M:i,MM:a,y:i,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});return s})},"9d6c":function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),s=n("3a92"),c=n("e45b"),l=n("47b7"),u=n("dd02"),d=n("66f9"),h=n("779b"),p=n("168d"),f=function(){function e(){}return e.prototype.decorate=function(e,t){if(h.isEdgeLayoutable(t)&&t.parent instanceof l.SEdge&&t.bounds!==u.EMPTY_BOUNDS){var n=this.getEdgePlacement(t),i=t.parent,o=Math.min(1,Math.max(0,n.position)),r=this.edgeRouterRegistry.get(i.routerKind),a=r.pointAt(i,o),s=r.derivativeAt(i,o),d="";if(a&&s){d+="translate("+a.x+", "+a.y+")";var p=u.toDegrees(Math.atan2(s.y,s.x));if(n.rotate){var f=p;Math.abs(p)>90&&(p<0?f+=180:p>0&&(f-=180)),d+=" rotate("+f+")";var m=this.getRotatedAlignment(t,n,f!==p);d+=" translate("+m.x+", "+m.y+")"}else{m=this.getAlignment(t,n,p);d+=" translate("+m.x+", "+m.y+")"}c.setAttr(e,"transform",d)}}return e},e.prototype.getRotatedAlignment=function(e,t,n){var i=d.isAlignable(e)?e.alignment.x:0,o=d.isAlignable(e)?e.alignment.y:0,r=e.bounds;if("on"===t.side)return{x:i-.5*r.height,y:o-.5*r.height};if(n)switch(t.position<.3333333?i-=r.width+t.offset:t.position<.6666666?i-=.5*r.width:i+=t.offset,t.side){case"left":case"bottom":o-=t.offset+r.height;break;case"right":case"top":o+=t.offset}else switch(t.position<.3333333?i+=t.offset:t.position<.6666666?i-=.5*r.width:i-=r.width+t.offset,t.side){case"right":case"bottom":o+=-t.offset-r.height;break;case"left":case"top":o+=t.offset}return{x:i,y:o}},e.prototype.getEdgePlacement=function(e){var t=e,n=[];while(void 0!==t){var o=t.edgePlacement;if(void 0!==o&&n.push(o),!(t instanceof s.SChildElement))break;t=t.parent}return n.reverse().reduce(function(e,t){return i(i({},e),t)},h.DEFAULT_EDGE_PLACEMENT)},e.prototype.getAlignment=function(e,t,n){var i=e.bounds,o=d.isAlignable(e)?e.alignment.x-i.width:0,r=d.isAlignable(e)?e.alignment.y-i.height:0;if("on"===t.side)return{x:o+.5*i.height,y:r+.5*i.height};var a=this.getQuadrant(n),s={x:t.offset,y:r+.5*i.height},c={x:t.offset,y:r+i.height+t.offset},l={x:-i.width-t.offset,y:r+i.height+t.offset},h={x:-i.width-t.offset,y:r+.5*i.height},p={x:-i.width-t.offset,y:r-t.offset},f={x:t.offset,y:r-t.offset};switch(t.side){case"left":switch(a.orientation){case"west":return u.linear(c,l,a.position);case"north":return u.linear(l,p,a.position);case"east":return u.linear(p,f,a.position);case"south":return u.linear(f,c,a.position)}break;case"right":switch(a.orientation){case"west":return u.linear(p,f,a.position);case"north":return u.linear(f,c,a.position);case"east":return u.linear(c,l,a.position);case"south":return u.linear(l,p,a.position)}break;case"top":switch(a.orientation){case"west":return u.linear(p,f,a.position);case"north":return this.linearFlip(f,s,h,p,a.position);case"east":return u.linear(p,f,a.position);case"south":return this.linearFlip(f,s,h,p,a.position)}break;case"bottom":switch(a.orientation){case"west":return u.linear(c,l,a.position);case"north":return this.linearFlip(l,h,s,c,a.position);case"east":return u.linear(c,l,a.position);case"south":return this.linearFlip(l,h,s,c,a.position)}break}return{x:0,y:0}},e.prototype.getQuadrant=function(e){return Math.abs(e)>135?{orientation:"west",position:(e>0?e-135:e+225)/90}:e<-45?{orientation:"north",position:(e+135)/90}:e<45?{orientation:"east",position:(e+45)/90}:{orientation:"south",position:(e-45)/90}},e.prototype.linearFlip=function(e,t,n,i,o){return o<.5?u.linear(e,t,2*o):u.linear(n,i,2*o-1)},e.prototype.postUpdate=function(){},o([a.inject(p.EdgeRouterRegistry),r("design:type",p.EdgeRouterRegistry)],e.prototype,"edgeRouterRegistry",void 0),e=o([a.injectable()],e),e}();t.EdgeLayoutPostprocessor=f},"9e2e":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t=a.error)try{console.error.apply(e,this.consoleArguments(e,t,n))}catch(e){}},e.prototype.warn=function(e,t){for(var n=[],i=2;i=a.warn)try{console.warn.apply(e,this.consoleArguments(e,t,n))}catch(e){}},e.prototype.info=function(e,t){for(var n=[],i=2;i=a.info)try{console.info.apply(e,this.consoleArguments(e,t,n))}catch(e){}},e.prototype.log=function(e,t){for(var n=[],i=2;i=a.log)try{console.log.apply(e,this.consoleArguments(e,t,n))}catch(e){}},e.prototype.consoleArguments=function(e,t,n){var i;i="object"===typeof e?e.constructor.name:e;var o=new Date;return r([o.toLocaleTimeString()+" "+this.viewOptions.baseDiv+" "+i+": "+t],n)},i([s.inject(c.TYPES.LogLevel),o("design:type",Number)],e.prototype,"logLevel",void 0),i([s.inject(c.TYPES.ViewerOptions),o("design:type",Object)],e.prototype,"viewOptions",void 0),e=i([s.injectable()],e),e}();t.ConsoleLogger=u},"9f62":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("c5f4"),o=n("1979"),r=n("66d7");function a(){return function(e,t,n){var a=new o.Metadata(i.UNMANAGED_TAG,!0);r.tagParameter(e,t,n,a)}}t.unmanaged=a},"9f67":function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},i=e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}});return i})},"9f8d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("1cd9"),a=n("5d19"),s=n("842c"),c=new i.ContainerModule(function(e,t,n){e(o.TYPES.KeyListener).to(r.ExportSvgKeyListener).inSingletonScope(),e(o.TYPES.HiddenVNodePostprocessor).to(r.ExportSvgPostprocessor).inSingletonScope(),s.configureCommand({bind:e,isBound:n},r.ExportSvgCommand),e(o.TYPES.SvgExporter).to(a.SvgExporter).inSingletonScope()});t.default=c},a0af:function(e,t,n){"use strict";function i(e){return void 0!==e["position"]}function o(e){return e.hasFeature(t.moveFeature)&&i(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.moveFeature=Symbol("moveFeature"),t.isLocateable=i,t.isMoveable=o},a16f:function(e,t,n){},a190:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n("e1c6"),r=n("e45b"),a=function(){function e(){}return e.prototype.decorate=function(e,t){return e.sel&&e.sel.startsWith("svg")&&r.setAttr(e,"tabindex",0),e},e.prototype.postUpdate=function(){},e=i([o.injectable()],e),e}();t.FocusFixPostprocessor=a},a1a5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("c5f4"),o=n("1979"),r=n("66d7");function a(e){return function(t,n,a){var s=new o.Metadata(i.NAME_TAG,e);r.tagParameter(t,n,a,s)}}t.targetName=a},a27f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("bcc9");t.Draggable=i.Draggable},a2e1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("dd02"),o=n("3a92"),r=n("66f9"),a=function(){function e(){}return e.prototype.layout=function(e,t){var n=t.getBoundsData(e),i=this.getLayoutOptions(e),o=this.getChildrenSize(e,i,t),r=i.paddingFactor*(i.resizeContainer?o.width:Math.max(0,this.getFixedContainerBounds(e,i,t).width)-i.paddingLeft-i.paddingRight),a=i.paddingFactor*(i.resizeContainer?o.height:Math.max(0,this.getFixedContainerBounds(e,i,t).height)-i.paddingTop-i.paddingBottom);if(r>0&&a>0){var s=this.layoutChildren(e,t,i,r,a);n.bounds=this.getFinalContainerBounds(e,s,i,r,a),n.boundsChanged=!0}},e.prototype.getFinalContainerBounds=function(e,t,n,i,o){return{x:e.bounds.x,y:e.bounds.y,width:Math.max(n.minWidth,i+n.paddingLeft+n.paddingRight),height:Math.max(n.minHeight,o+n.paddingTop+n.paddingBottom)}},e.prototype.getFixedContainerBounds=function(e,t,n){var a=e;while(1){if(r.isBoundsAware(a)){var s=a.bounds;if(r.isLayoutContainer(a)&&t.resizeContainer&&n.log.error(a,"Resizable container found while detecting fixed bounds"),i.isValidDimension(s))return s}if(!(a instanceof o.SChildElement))return n.log.error(a,"Cannot detect fixed bounds"),i.EMPTY_BOUNDS;a=a.parent}},e.prototype.layoutChildren=function(e,t,n,o,a){var s=this,c={x:n.paddingLeft+.5*(o-o/n.paddingFactor),y:n.paddingTop+.5*(a-a/n.paddingFactor)};return e.children.forEach(function(e){if(r.isLayoutableChild(e)){var l=t.getBoundsData(e),u=l.bounds,d=s.getChildLayoutOptions(e,n);void 0!==u&&i.isValidDimension(u)&&(c=s.layoutChild(e,l,u,d,n,c,o,a))}}),c},e.prototype.getDx=function(e,t,n){switch(e){case"left":return 0;case"center":return.5*(n-t.width);case"right":return n-t.width}},e.prototype.getDy=function(e,t,n){switch(e){case"top":return 0;case"center":return.5*(n-t.height);case"bottom":return n-t.height}},e.prototype.getChildLayoutOptions=function(e,t){var n=e.layoutOptions;return void 0===n?t:this.spread(t,n)},e.prototype.getLayoutOptions=function(e){var t=this,n=e,i=[];while(void 0!==n){var r=n.layoutOptions;if(void 0!==r&&i.push(r),!(n instanceof o.SChildElement))break;n=n.parent}return i.reverse().reduce(function(e,n){return t.spread(e,n)},this.getDefaultLayoutOptions())},e}();t.AbstractLayout=a},a32f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("77d3"),o=function(){function e(e){this.id=i.id(),this.container=e}return e.prototype.addPlan=function(e){this.plan=e},e.prototype.setCurrentRequest=function(e){this.currentRequest=e},e}();t.Context=o},a3fd:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,n="",i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=i[t]),e+n},week:{dow:1,doy:4}});return t})},a406:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),s=n("510b"),c=n("6923"),l=n("e629"),u=n("e1cb"),d=n("bcbd"),h=n("ed4f"),p=function(){function e(e){void 0===e&&(e=[]),this.actionProviders=e}return e.prototype.getActions=function(e,t,n,i){var o=this.actionProviders.map(function(o){return o.getActions(e,t,n,i)});return Promise.all(o).then(function(e){return e.reduce(function(e,t){return void 0!==t?e.concat(t):e})})},e=i([a.injectable(),r(0,a.multiInject(c.TYPES.ICommandPaletteActionProvider)),r(0,a.optional()),o("design:paramtypes",[Array])],e),e}();t.CommandPaletteActionProviderRegistry=p;var f=function(){function e(e){this.logger=e}return e.prototype.getActions=function(e,t,n,i){return void 0!==i&&i%2===0?Promise.resolve(this.createSelectActions(e)):Promise.resolve([new s.LabeledAction("Select all",[new d.SelectAllAction])])},e.prototype.createSelectActions=function(e){var t=l.toArray(e.index.all().filter(function(e){return u.isNameable(e)}));return t.map(function(e){return new s.LabeledAction("Reveal "+u.name(e),[new d.SelectAction([e.id]),new h.CenterAction([e.id])],"fa-eye")})},e=i([a.injectable(),r(0,a.inject(c.TYPES.ILogger)),o("design:paramtypes",[Object])],e),e}();t.RevealNamedElementActionProvider=f},a4c5:function(e,t,n){"use strict";var i=n("7364"),o=n.n(i);o.a},a5b7:function(e,t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"014b":function(e,t,n){"use strict";var i=n("e53d"),o=n("07e3"),r=n("8e60"),a=n("63b6"),s=n("9138"),c=n("ebfd").KEY,l=n("294c"),u=n("dbdb"),d=n("45f2"),h=n("62a0"),p=n("5168"),f=n("ccb9"),m=n("6718"),g=n("47ee"),v=n("9003"),_=n("e4ae"),b=n("f772"),y=n("36c3"),M=n("1bc3"),w=n("aebd"),L=n("a159"),S=n("0395"),C=n("bf0b"),E=n("d9f6"),A=n("c3a1"),T=C.f,O=E.f,k=S.f,x=i.Symbol,D=i.JSON,R=D&&D.stringify,z="prototype",P=p("_hidden"),N=p("toPrimitive"),I={}.propertyIsEnumerable,B=u("symbol-registry"),j=u("symbols"),Y=u("op-symbols"),H=Object[z],W="function"==typeof x,q=i.QObject,F=!q||!q[z]||!q[z].findChild,X=r&&l(function(){return 7!=L(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(e,t,n){var i=T(H,t);i&&delete H[t],O(e,t,n),i&&e!==H&&O(H,t,i)}:O,U=function(e){var t=j[e]=L(x[z]);return t._k=e,t},V=W&&"symbol"==typeof x.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof x},G=function(e,t,n){return e===H&&G(Y,t,n),_(e),t=M(t,!0),_(n),o(j,t)?(n.enumerable?(o(e,P)&&e[P][t]&&(e[P][t]=!1),n=L(n,{enumerable:w(0,!1)})):(o(e,P)||O(e,P,w(1,{})),e[P][t]=!0),X(e,t,n)):O(e,t,n)},K=function(e,t){_(e);var n,i=g(t=y(t)),o=0,r=i.length;while(r>o)G(e,n=i[o++],t[n]);return e},$=function(e,t){return void 0===t?L(e):K(L(e),t)},J=function(e){var t=I.call(this,e=M(e,!0));return!(this===H&&o(j,e)&&!o(Y,e))&&(!(t||!o(this,e)||!o(j,e)||o(this,P)&&this[P][e])||t)},Z=function(e,t){if(e=y(e),t=M(t,!0),e!==H||!o(j,t)||o(Y,t)){var n=T(e,t);return!n||!o(j,t)||o(e,P)&&e[P][t]||(n.enumerable=!0),n}},Q=function(e){var t,n=k(y(e)),i=[],r=0;while(n.length>r)o(j,t=n[r++])||t==P||t==c||i.push(t);return i},ee=function(e){var t,n=e===H,i=k(n?Y:y(e)),r=[],a=0;while(i.length>a)!o(j,t=i[a++])||n&&!o(H,t)||r.push(j[t]);return r};W||(x=function(){if(this instanceof x)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===H&&t.call(Y,n),o(this,P)&&o(this[P],e)&&(this[P][e]=!1),X(this,e,w(1,n))};return r&&F&&X(H,e,{configurable:!0,set:t}),U(e)},s(x[z],"toString",function(){return this._k}),C.f=Z,E.f=G,n("6abf").f=S.f=Q,n("355d").f=J,n("9aa9").f=ee,r&&!n("b8e3")&&s(H,"propertyIsEnumerable",J,!0),f.f=function(e){return U(p(e))}),a(a.G+a.W+a.F*!W,{Symbol:x});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var ie=A(p.store),oe=0;ie.length>oe;)m(ie[oe++]);a(a.S+a.F*!W,"Symbol",{for:function(e){return o(B,e+="")?B[e]:B[e]=x(e)},keyFor:function(e){if(!V(e))throw TypeError(e+" is not a symbol!");for(var t in B)if(B[t]===e)return t},useSetter:function(){F=!0},useSimple:function(){F=!1}}),a(a.S+a.F*!W,"Object",{create:$,defineProperty:G,defineProperties:K,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:ee}),D&&a(a.S+a.F*(!W||l(function(){var e=x();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))})),"JSON",{stringify:function(e){var t,n,i=[e],o=1;while(arguments.length>o)i.push(arguments[o++]);if(n=t=i[1],(b(t)||void 0!==e)&&!V(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!V(t))return t}),i[1]=t,R.apply(D,i)}}),x[z][N]||n("35e8")(x[z],N,x[z].valueOf),d(x,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},"01f9":function(e,t,n){"use strict";var i=n("2d00"),o=n("5ca1"),r=n("2aba"),a=n("32e9"),s=n("84f2"),c=n("41a0"),l=n("7f20"),u=n("38fd"),d=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),p="@@iterator",f="keys",m="values",g=function(){return this};e.exports=function(e,t,n,v,_,b,y){c(n,t,v);var M,w,L,S=function(e){if(!h&&e in T)return T[e];switch(e){case f:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},C=t+" Iterator",E=_==m,A=!1,T=e.prototype,O=T[d]||T[p]||_&&T[_],k=O||S(_),x=_?E?S("entries"):k:void 0,D="Array"==t&&T.entries||O;if(D&&(L=u(D.call(new e)),L!==Object.prototype&&L.next&&(l(L,C,!0),i||"function"==typeof L[d]||a(L,d,g))),E&&O&&O.name!==m&&(A=!0,k=function(){return O.call(this)}),i&&!y||!h&&!A&&T[d]||a(T,d,k),s[t]=k,s[C]=g,_)if(M={values:E?k:S(m),keys:b?k:S(f),entries:x},y)for(w in M)w in T||r(T,w,M[w]);else o(o.P+o.F*(h||A),t,M);return M}},"0395":function(e,t,n){var i=n("36c3"),o=n("6abf").f,r={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==r.call(e)?s(e):o(i(e))}},"07e3":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"09fa":function(e,t,n){var i=n("4588"),o=n("9def");e.exports=function(e){if(void 0===e)return 0;var t=i(e),n=o(t);if(t!==n)throw RangeError("Wrong length!");return n}},"0a49":function(e,t,n){var i=n("9b43"),o=n("626a"),r=n("4bf8"),a=n("9def"),s=n("cd1c");e.exports=function(e,t){var n=1==e,c=2==e,l=3==e,u=4==e,d=6==e,h=5==e||d,p=t||s;return function(t,s,f){for(var m,g,v=r(t),_=o(v),b=i(s,f,3),y=a(_.length),M=0,w=n?p(t,y):c?p(t,0):void 0;y>M;M++)if((h||M in _)&&(m=_[M],g=b(m,M,v),e))if(n)w[M]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return M;case 2:w.push(m)}else if(u)return!1;return d?-1:l||u?u:w}}},"0bfb":function(e,t,n){"use strict";var i=n("cb7c");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var i=n("ce10"),o=n("e11e");e.exports=Object.keys||function(e){return i(e,o)}},"0f88":function(e,t,n){var i,o=n("7726"),r=n("32e9"),a=n("ca5a"),s=a("typed_array"),c=a("view"),l=!(!o.ArrayBuffer||!o.DataView),u=l,d=0,h=9,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(dl)r.call(a,n=s[l++])&&u.push(e?[n,a[n]]:a[n]);return u}}},1495:function(e,t,n){var i=n("86cc"),o=n("cb7c"),r=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){o(e);var n,a=r(t),s=a.length,c=0;while(s>c)i.f(e,n=a[c++],t[n]);return e}},1654:function(e,t,n){"use strict";var i=n("71c1")(!0);n("30f1")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})})},1691:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"1af6":function(e,t,n){var i=n("63b6");i(i.S,"Array",{isArray:n("9003")})},"1bc3":function(e,t,n){var i=n("f772");e.exports=function(e,t){if(!i(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!i(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(e,t,n){var i=n("f772"),o=n("e53d").document,r=i(o)&&i(o.createElement);e.exports=function(e){return r?o.createElement(e):{}}},"20fd":function(e,t,n){"use strict";var i=n("d9f6"),o=n("aebd");e.exports=function(e,t,n){t in e?i.f(e,t,o(0,n)):e[t]=n}},"214f":function(e,t,n){"use strict";var i=n("32e9"),o=n("2aba"),r=n("79e5"),a=n("be13"),s=n("2b4c");e.exports=function(e,t,n){var c=s(e),l=n(a,c,""[e]),u=l[0],d=l[1];r(function(){var t={};return t[c]=function(){return 7},7!=""[e](t)})&&(o(String.prototype,e,u),i(RegExp.prototype,c,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}))}},"230e":function(e,t,n){var i=n("d3f4"),o=n("7726").document,r=i(o)&&i(o.createElement);e.exports=function(e){return r?o.createElement(e):{}}},"23c6":function(e,t,n){var i=n("2d95"),o=n("2b4c")("toStringTag"),r="Arguments"==i(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:r?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},"241e":function(e,t,n){var i=n("25eb");e.exports=function(e){return Object(i(e))}},"25eb":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"27ee":function(e,t,n){var i=n("23c6"),o=n("2b4c")("iterator"),r=n("84f2");e.exports=n("8378").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||r[i(e)]}},"28a5":function(e,t,n){n("214f")("split",2,function(e,t,i){"use strict";var o=n("aae3"),r=i,a=[].push,s="split",c="length",l="lastIndex";if("c"=="abbc"[s](/(b)*/)[1]||4!="test"[s](/(?:)/,-1)[c]||2!="ab"[s](/(?:ab)*/)[c]||4!="."[s](/(.?)(.?)/)[c]||"."[s](/()()/)[c]>1||""[s](/.?/)[c]){var u=void 0===/()??/.exec("")[1];i=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!o(e))return r.call(n,e,t);var i,s,d,h,p,f=[],m=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,v=void 0===t?4294967295:t>>>0,_=new RegExp(e.source,m+"g");u||(i=new RegExp("^"+_.source+"$(?!\\s)",m));while(s=_.exec(n)){if(d=s.index+s[0][c],d>g&&(f.push(n.slice(g,s.index)),!u&&s[c]>1&&s[0].replace(i,function(){for(p=1;p1&&s.index=v))break;_[l]===s.index&&_[l]++}return g===n[c]?!h&&_.test("")||f.push(""):f.push(n.slice(g)),f[c]>v?f.slice(0,v):f}}else"0"[s](void 0,0)[c]&&(i=function(e,t){return void 0===e&&0===t?[]:r.call(this,e,t)});return[function(n,o){var r=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,r,o):i.call(String(r),n,o)},i]})},"294c":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"2aba":function(e,t,n){var i=n("7726"),o=n("32e9"),r=n("69a8"),a=n("ca5a")("src"),s="toString",c=Function[s],l=(""+c).split(s);n("8378").inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(r(n,"name")||o(n,"name",t)),e[t]!==n&&(c&&(r(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[a]||c.call(this)})},"2aeb":function(e,t,n){var i=n("cb7c"),o=n("1495"),r=n("e11e"),a=n("613b")("IE_PROTO"),s=function(){},c="prototype",l=function(){var e,t=n("230e")("iframe"),i=r.length,o="<",a=">";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),l=e.F;while(i--)delete l[c][r[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[c]=i(e),n=new s,s[c]=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},"2b4c":function(e,t,n){var i=n("5537")("wks"),o=n("ca5a"),r=n("7726").Symbol,a="function"==typeof r,s=e.exports=function(e){return i[e]||(i[e]=a&&r[e]||(a?r:o)("Symbol."+e))};s.store=i},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"30f1":function(e,t,n){"use strict";var i=n("b8e3"),o=n("63b6"),r=n("9138"),a=n("35e8"),s=n("481b"),c=n("8f60"),l=n("45f2"),u=n("53e2"),d=n("5168")("iterator"),h=!([].keys&&"next"in[].keys()),p="@@iterator",f="keys",m="values",g=function(){return this};e.exports=function(e,t,n,v,_,b,y){c(n,t,v);var M,w,L,S=function(e){if(!h&&e in T)return T[e];switch(e){case f:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},C=t+" Iterator",E=_==m,A=!1,T=e.prototype,O=T[d]||T[p]||_&&T[_],k=O||S(_),x=_?E?S("entries"):k:void 0,D="Array"==t&&T.entries||O;if(D&&(L=u(D.call(new e)),L!==Object.prototype&&L.next&&(l(L,C,!0),i||"function"==typeof L[d]||a(L,d,g))),E&&O&&O.name!==m&&(A=!0,k=function(){return O.call(this)}),i&&!y||!h&&!A&&T[d]||a(T,d,k),s[t]=k,s[C]=g,_)if(M={values:E?k:S(m),keys:b?k:S(f),entries:x},y)for(w in M)w in T||r(T,w,M[w]);else o(o.P+o.F*(h||A),t,M);return M}},"32e9":function(e,t,n){var i=n("86cc"),o=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"32fc":function(e,t,n){var i=n("e53d").document;e.exports=i&&i.documentElement},"335c":function(e,t,n){var i=n("6b4c");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},"33a4":function(e,t,n){var i=n("84f2"),o=n("2b4c")("iterator"),r=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||r[o]===e)}},"33cb":function(e,t,n){},"34ef":function(e,t,n){n("ec30")("Uint8",1,function(e){return function(t,n,i){return e(this,t,n,i)}})},"355d":function(e,t){t.f={}.propertyIsEnumerable},"35e8":function(e,t,n){var i=n("d9f6"),o=n("aebd");e.exports=n("8e60")?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"36bd":function(e,t,n){"use strict";var i=n("4bf8"),o=n("77f1"),r=n("9def");e.exports=function(e){var t=i(this),n=r(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,l=void 0===c?n:o(c,n);while(l>s)t[s++]=e;return t}},"36c3":function(e,t,n){var i=n("335c"),o=n("25eb");e.exports=function(e){return i(o(e))}},3702:function(e,t,n){var i=n("481b"),o=n("5168")("iterator"),r=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||r[o]===e)}},3846:function(e,t,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"386b":function(e,t,n){var i=n("5ca1"),o=n("79e5"),r=n("be13"),a=/"/g,s=function(e,t,n,i){var o=String(r(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(i).replace(a,""")+'"'),s+">"+o+""};e.exports=function(e,t){var n={};n[e]=t(s),i(i.P+i.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},"38fd":function(e,t,n){var i=n("69a8"),o=n("4bf8"),r=n("613b")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),i(e,r)?e[r]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"3a38":function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"3d11":function(e,t,n){"use strict";var i=n("33cb"),o=n.n(i);o.a},"40c3":function(e,t,n){var i=n("6b4c"),o=n("5168")("toStringTag"),r="Arguments"==i(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:r?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},"41a0":function(e,t,n){"use strict";var i=n("2aeb"),o=n("4630"),r=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(a,{next:o(1,n)}),r(e,t+" Iterator")}},4588:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"45f2":function(e,t,n){var i=n("d9f6").f,o=n("07e3"),r=n("5168")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,r)&&i(e,r,{configurable:!0,value:t})}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"469f":function(e,t,n){n("6c1c"),n("1654"),e.exports=n("7d7b")},"47ee":function(e,t,n){var i=n("c3a1"),o=n("9aa9"),r=n("355d");e.exports=function(e){var t=i(e),n=o.f;if(n){var a,s=n(e),c=r.f,l=0;while(s.length>l)c.call(e,a=s[l++])&&t.push(a)}return t}},"481b":function(e,t){e.exports={}},"4bf8":function(e,t,n){var i=n("be13");e.exports=function(e){return Object(i(e))}},"4ee1":function(e,t,n){var i=n("5168")("iterator"),o=!1;try{var r=[7][i]();r["return"]=function(){o=!0},Array.from(r,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r=[7],a=r[i]();a.next=function(){return{done:n=!0}},r[i]=function(){return a},e(r)}catch(e){}return n}},"50ed":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},5168:function(e,t,n){var i=n("dbdb")("wks"),o=n("62a0"),r=n("e53d").Symbol,a="function"==typeof r,s=e.exports=function(e){return i[e]||(i[e]=a&&r[e]||(a?r:o)("Symbol."+e))};s.store=i},5176:function(e,t,n){e.exports=n("51b6")},"51b6":function(e,t,n){n("a3c3"),e.exports=n("584a").Object.assign},"52a7":function(e,t){t.f={}.propertyIsEnumerable},"53e2":function(e,t,n){var i=n("07e3"),o=n("241e"),r=n("5559")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),i(e,r)?e[r]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"549b":function(e,t,n){"use strict";var i=n("d864"),o=n("63b6"),r=n("241e"),a=n("b0dc"),s=n("3702"),c=n("b447"),l=n("20fd"),u=n("7cd6");o(o.S+o.F*!n("4ee1")(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,d,h=r(e),p="function"==typeof this?this:Array,f=arguments.length,m=f>1?arguments[1]:void 0,g=void 0!==m,v=0,_=u(h);if(g&&(m=i(m,f>2?arguments[2]:void 0,2)),void 0==_||p==Array&&s(_))for(t=c(h.length),n=new p(t);t>v;v++)l(n,v,g?m(h[v],v):h[v]);else for(d=_.call(h),n=new p;!(o=d.next()).done;v++)l(n,v,g?a(d,m,[o.value,v],!0):o.value);return n.length=v,n}})},"54a1":function(e,t,n){n("6c1c"),n("1654"),e.exports=n("95d5")},5537:function(e,t,n){var i=n("8378"),o=n("7726"),r="__core-js_shared__",a=o[r]||(o[r]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},5559:function(e,t,n){var i=n("dbdb")("keys"),o=n("62a0");e.exports=function(e){return i[e]||(i[e]=o(e))}},"584a":function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},"59a0":function(e,t,n){"use strict";var i=n("9257"),o=n.n(i);o.a},"5b4e":function(e,t,n){var i=n("36c3"),o=n("b447"),r=n("0fc9");e.exports=function(e){return function(t,n,a){var s,c=i(t),l=o(c.length),u=r(a,l);if(e&&n!=n){while(l>u)if(s=c[u++],s!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}},"5ca1":function(e,t,n){var i=n("7726"),o=n("8378"),r=n("32e9"),a=n("2aba"),s=n("9b43"),c="prototype",l=function(e,t,n){var u,d,h,p,f=e&l.F,m=e&l.G,g=e&l.S,v=e&l.P,_=e&l.B,b=m?i:g?i[t]||(i[t]={}):(i[t]||{})[c],y=m?o:o[t]||(o[t]={}),M=y[c]||(y[c]={});for(u in m&&(n=t),n)d=!f&&b&&void 0!==b[u],h=(d?b:n)[u],p=_&&d?s(h,i):v&&"function"==typeof h?s(Function.call,h):h,b&&a(b,u,h,e&l.U),y[u]!=h&&r(y,u,p),v&&M[u]!=h&&(M[u]=h)};i.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"5cc5":function(e,t,n){var i=n("2b4c")("iterator"),o=!1;try{var r=[7][i]();r["return"]=function(){o=!0},Array.from(r,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r=[7],a=r[i]();a.next=function(){return{done:n=!0}},r[i]=function(){return a},e(r)}catch(e){}return n}},"5d58":function(e,t,n){e.exports=n("d8d6")},"5d6b":function(e,t,n){var i=n("e53d").parseInt,o=n("a1ce").trim,r=n("e692"),a=/^[-+]?0[xX]/;e.exports=8!==i(r+"08")||22!==i(r+"0x16")?function(e,t){var n=o(String(e),3);return i(n,t>>>0||(a.test(n)?16:10))}:i},"5d73":function(e,t,n){e.exports=n("469f")},"613b":function(e,t,n){var i=n("5537")("keys"),o=n("ca5a");e.exports=function(e){return i[e]||(i[e]=o(e))}},"626a":function(e,t,n){var i=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},"62a0":function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},"63b6":function(e,t,n){var i=n("e53d"),o=n("584a"),r=n("d864"),a=n("35e8"),s=n("07e3"),c="prototype",l=function(e,t,n){var u,d,h,p=e&l.F,f=e&l.G,m=e&l.S,g=e&l.P,v=e&l.B,_=e&l.W,b=f?o:o[t]||(o[t]={}),y=b[c],M=f?i:m?i[t]:(i[t]||{})[c];for(u in f&&(n=t),n)d=!p&&M&&void 0!==M[u],d&&s(b,u)||(h=d?M[u]:n[u],b[u]=f&&"function"!=typeof M[u]?n[u]:v&&d?r(h,i):_&&M[u]==h?function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t[c]=e[c],t}(h):g&&"function"==typeof h?r(Function.call,h):h,g&&((b.virtual||(b.virtual={}))[u]=h,e&l.R&&y&&!y[u]&&a(y,u,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},6718:function(e,t,n){var i=n("e53d"),o=n("584a"),r=n("b8e3"),a=n("ccb9"),s=n("d9f6").f;e.exports=function(e){var t=o.Symbol||(o.Symbol=r?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},"67bb":function(e,t,n){e.exports=n("f921")},6821:function(e,t,n){var i=n("626a"),o=n("be13");e.exports=function(e){return i(o(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"69d3":function(e,t,n){n("6718")("asyncIterator")},"6a99":function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!i(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"6abf":function(e,t,n){var i=n("e6f3"),o=n("1691").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},"6b4c":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"6b54":function(e,t,n){"use strict";n("3846");var i=n("cb7c"),o=n("0bfb"),r=n("9e1e"),a="toString",s=/./[a],c=function(e){n("2aba")(RegExp.prototype,a,e,!0)};n("79e5")(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?c(function(){var e=i(this);return"/".concat(e.source,"/","flags"in e?e.flags:!r&&e instanceof RegExp?o.call(e):void 0)}):s.name!=a&&c(function(){return s.call(this)})},"6c1c":function(e,t,n){n("c367");for(var i=n("e53d"),o=n("35e8"),r=n("481b"),a=n("5168")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c=l?e?"":void 0:(r=s.charCodeAt(c),r<55296||r>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):r:e?s.slice(c,c+2):a-56320+(r-55296<<10)+65536)}}},7445:function(e,t,n){var i=n("63b6"),o=n("5d6b");i(i.G+i.F*(parseInt!=o),{parseInt:o})},"765d":function(e,t,n){n("6718")("observable")},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"774e":function(e,t,n){e.exports=n("d2d5")},"77f1":function(e,t,n){var i=n("4588"),o=Math.max,r=Math.min;e.exports=function(e,t){return e=i(e),e<0?o(e+t,0):r(e,t)}},"794b":function(e,t,n){e.exports=!n("8e60")&&!n("294c")(function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a})},"79aa":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"7a56":function(e,t,n){"use strict";var i=n("7726"),o=n("86cc"),r=n("9e1e"),a=n("2b4c")("species");e.exports=function(e){var t=i[e];r&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},"7cd6":function(e,t,n){var i=n("40c3"),o=n("5168")("iterator"),r=n("481b");e.exports=n("584a").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||r[i(e)]}},"7d6d":function(e,t,n){var i=n("63b6"),o=n("13c8")(!1);i(i.S,"Object",{values:function(e){return o(e)}})},"7d7b":function(e,t,n){var i=n("e4ae"),o=n("7cd6");e.exports=n("584a").getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return i(t.call(e))}},"7e90":function(e,t,n){var i=n("d9f6"),o=n("e4ae"),r=n("c3a1");e.exports=n("8e60")?Object.defineProperties:function(e,t){o(e);var n,a=r(t),s=a.length,c=0;while(s>c)i.f(e,n=a[c++],t[n]);return e}},"7f20":function(e,t,n){var i=n("86cc").f,o=n("69a8"),r=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,r)&&i(e,r,{configurable:!0,value:t})}},"7f7f":function(e,t,n){var i=n("86cc").f,o=Function.prototype,r=/^\s*function ([^ (]*)/,a="name";a in o||n("9e1e")&&i(o,a,{configurable:!0,get:function(){try{return(""+this).match(r)[1]}catch(e){return""}}})},8378:function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},8436:function(e,t){e.exports=function(){}},"84f2":function(e,t){e.exports={}},"86cc":function(e,t,n){var i=n("cb7c"),o=n("c69a"),r=n("6a99"),a=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(i(e),t=r(t,!0),i(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"8e60":function(e,t,n){e.exports=!n("294c")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"8f60":function(e,t,n){"use strict";var i=n("a159"),o=n("aebd"),r=n("45f2"),a={};n("35e8")(a,n("5168")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(a,{next:o(1,n)}),r(e,t+" Iterator")}},9003:function(e,t,n){var i=n("6b4c");e.exports=Array.isArray||function(e){return"Array"==i(e)}},9093:function(e,t,n){var i=n("ce10"),o=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},9138:function(e,t,n){e.exports=n("35e8")},9257:function(e,t,n){},9306:function(e,t,n){"use strict";var i=n("c3a1"),o=n("9aa9"),r=n("355d"),a=n("241e"),s=n("335c"),c=Object.assign;e.exports=!c||n("294c")(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=i})?function(e,t){var n=a(e),c=arguments.length,l=1,u=o.f,d=r.f;while(c>l){var h,p=s(arguments[l++]),f=u?i(p).concat(u(p)):i(p),m=f.length,g=0;while(m>g)d.call(p,h=f[g++])&&(n[h]=p[h])}return n}:c},"95d5":function(e,t,n){var i=n("40c3"),o=n("5168")("iterator"),r=n("481b");e.exports=n("584a").isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||r.hasOwnProperty(i(t))}},"9aa9":function(e,t){t.f=Object.getOwnPropertySymbols},"9b43":function(e,t,n){var i=n("d8e8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,o){return e.call(t,n,i,o)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),o=Array.prototype;void 0==o[i]&&n("32e9")(o,i,{}),e.exports=function(e){o[i][e]=!0}},"9def":function(e,t,n){var i=n("4588"),o=Math.min;e.exports=function(e){return e>0?o(i(e),9007199254740991):0}},"9e1c":function(e,t,n){n("7d6d"),e.exports=n("584a").Object.values},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a159:function(e,t,n){var i=n("e4ae"),o=n("7e90"),r=n("1691"),a=n("5559")("IE_PROTO"),s=function(){},c="prototype",l=function(){var e,t=n("1ec9")("iframe"),i=r.length,o="<",a=">";t.style.display="none",n("32fc").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),l=e.F;while(i--)delete l[c][r[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[c]=i(e),n=new s,s[c]=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},a1ce:function(e,t,n){var i=n("63b6"),o=n("25eb"),r=n("294c"),a=n("e692"),s="["+a+"]",c="​…",l=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(e,t,n){var o={},s=r(function(){return!!a[e]()||c[e]()!=c}),l=o[e]=s?t(h):a[e];n&&(o[n]=l),i(i.P+i.F*s,"String",o)},h=d.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(u,"")),e};e.exports=d},a3c3:function(e,t,n){var i=n("63b6");i(i.S+i.F,"Object",{assign:n("9306")})},a481:function(e,t,n){n("214f")("replace",2,function(e,t,n){return[function(i,o){"use strict";var r=e(this),a=void 0==i?void 0:i[t];return void 0!==a?a.call(i,r,o):n.call(String(r),i,o)},n]})},a745:function(e,t,n){e.exports=n("f410")},aae3:function(e,t,n){var i=n("d3f4"),o=n("2d95"),r=n("2b4c")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[r])?!!t:"RegExp"==o(e))}},ac6a:function(e,t,n){for(var i=n("cadf"),o=n("0d58"),r=n("2aba"),a=n("7726"),s=n("32e9"),c=n("84f2"),l=n("2b4c"),u=l("iterator"),d=l("toStringTag"),h=c.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=o(p),m=0;m0?o(i(e),9007199254740991):0}},b54a:function(e,t,n){"use strict";n("386b")("link",function(e){return function(t){return e(this,"a","href",t)}})},b8e3:function(e,t){e.exports=!0},b9e9:function(e,t,n){n("7445"),e.exports=n("584a").parseInt},ba92:function(e,t,n){"use strict";var i=n("4bf8"),o=n("77f1"),r=n("9def");e.exports=[].copyWithin||function(e,t){var n=i(this),a=r(n.length),s=o(e,a),c=o(t,a),l=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===l?a:o(l,a))-c,a-s),d=1;c0)c in n?n[s]=n[c]:delete n[s],s+=d,c+=d;return n}},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},bf0b:function(e,t,n){var i=n("355d"),o=n("aebd"),r=n("36c3"),a=n("1bc3"),s=n("07e3"),c=n("794b"),l=Object.getOwnPropertyDescriptor;t.f=n("8e60")?l:function(e,t){if(e=r(e),t=a(t,!0),c)try{return l(e,t)}catch(e){}if(s(e,t))return o(!i.f.call(e,t),e[t])}},c207:function(e,t){},c366:function(e,t,n){var i=n("6821"),o=n("9def"),r=n("77f1");e.exports=function(e){return function(t,n,a){var s,c=i(t),l=o(c.length),u=r(a,l);if(e&&n!=n){while(l>u)if(s=c[u++],s!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}},c367:function(e,t,n){"use strict";var i=n("8436"),o=n("50ed"),r=n("481b"),a=n("36c3");e.exports=n("30f1")(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},c3a1:function(e,t,n){var i=n("e6f3"),o=n("1691");e.exports=Object.keys||function(e){return i(e,o)}},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},c8bb:function(e,t,n){e.exports=n("54a1")},ca5a:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},cadf:function(e,t,n){"use strict";var i=n("9c6c"),o=n("d53b"),r=n("84f2"),a=n("6821");e.exports=n("01f9")(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},cb7c:function(e,t,n){var i=n("d3f4");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},ccb9:function(e,t,n){t.f=n("5168")},cd1c:function(e,t,n){var i=n("e853");e.exports=function(e,t){return new(i(e))(t)}},ce10:function(e,t,n){var i=n("69a8"),o=n("6821"),r=n("c366")(!1),a=n("613b")("IE_PROTO");e.exports=function(e,t){var n,s=o(e),c=0,l=[];for(n in s)n!=a&&i(s,n)&&l.push(n);while(t.length>c)i(s,n=t[c++])&&(~r(l,n)||l.push(n));return l}},d2d5:function(e,t,n){n("1654"),n("549b"),e.exports=n("584a").Array.from},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d864:function(e,t,n){var i=n("79aa");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,o){return e.call(t,n,i,o)}}return function(){return e.apply(t,arguments)}}},d8d6:function(e,t,n){n("1654"),n("6c1c"),e.exports=n("ccb9").f("iterator")},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},d9f6:function(e,t,n){var i=n("e4ae"),o=n("794b"),r=n("1bc3"),a=Object.defineProperty;t.f=n("8e60")?Object.defineProperty:function(e,t,n){if(i(e),t=r(t,!0),i(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},db0c:function(e,t,n){e.exports=n("9e1c")},dbdb:function(e,t,n){var i=n("584a"),o=n("e53d"),r="__core-js_shared__",a=o[r]||(o[r]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("b8e3")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},dcbc:function(e,t,n){var i=n("2aba");e.exports=function(e,t,n){for(var o in t)i(e,o,t[o],n);return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e4ae:function(e,t,n){var i=n("f772");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},e53d:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e692:function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},e6f3:function(e,t,n){var i=n("07e3"),o=n("36c3"),r=n("5b4e")(!1),a=n("5559")("IE_PROTO");e.exports=function(e,t){var n,s=o(e),c=0,l=[];for(n in s)n!=a&&i(s,n)&&l.push(n);while(t.length>c)i(s,n=t[c++])&&(~r(l,n)||l.push(n));return l}},e814:function(e,t,n){e.exports=n("b9e9")},e853:function(e,t,n){var i=n("d3f4"),o=n("1169"),r=n("2b4c")("species");e.exports=function(e){var t;return o(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!o(t.prototype)||(t=void 0),i(t)&&(t=t[r],null===t&&(t=void 0))),void 0===t?Array:t}},ebd6:function(e,t,n){var i=n("cb7c"),o=n("d8e8"),r=n("2b4c")("species");e.exports=function(e,t){var n,a=i(e).constructor;return void 0===a||void 0==(n=i(a)[r])?t:o(n)}},ebfd:function(e,t,n){var i=n("62a0")("meta"),o=n("f772"),r=n("07e3"),a=n("d9f6").f,s=0,c=Object.isExtensible||function(){return!0},l=!n("294c")(function(){return c(Object.preventExtensions({}))}),u=function(e){a(e,i,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!r(e,i)){if(!c(e))return"F";if(!t)return"E";u(e)}return e[i].i},h=function(e,t){if(!r(e,i)){if(!c(e))return!0;if(!t)return!1;u(e)}return e[i].w},p=function(e){return l&&f.NEED&&c(e)&&!r(e,i)&&u(e),e},f=e.exports={KEY:i,NEED:!1,fastKey:d,getWeak:h,onFreeze:p}},ec30:function(e,t,n){"use strict";if(n("9e1e")){var i=n("2d00"),o=n("7726"),r=n("79e5"),a=n("5ca1"),s=n("0f88"),c=n("ed0b"),l=n("9b43"),u=n("f605"),d=n("4630"),h=n("32e9"),p=n("dcbc"),f=n("4588"),m=n("9def"),g=n("09fa"),v=n("77f1"),_=n("6a99"),b=n("69a8"),y=n("23c6"),M=n("d3f4"),w=n("4bf8"),L=n("33a4"),S=n("2aeb"),C=n("38fd"),E=n("9093").f,A=n("27ee"),T=n("ca5a"),O=n("2b4c"),k=n("0a49"),x=n("c366"),D=n("ebd6"),R=n("cadf"),z=n("84f2"),P=n("5cc5"),N=n("7a56"),I=n("36bd"),B=n("ba92"),j=n("86cc"),Y=n("11e9"),H=j.f,W=Y.f,q=o.RangeError,F=o.TypeError,X=o.Uint8Array,U="ArrayBuffer",V="Shared"+U,G="BYTES_PER_ELEMENT",K="prototype",$=Array[K],J=c.ArrayBuffer,Z=c.DataView,Q=k(0),ee=k(2),te=k(3),ne=k(4),ie=k(5),oe=k(6),re=x(!0),ae=x(!1),se=R.values,ce=R.keys,le=R.entries,ue=$.lastIndexOf,de=$.reduce,he=$.reduceRight,pe=$.join,fe=$.sort,me=$.slice,ge=$.toString,ve=$.toLocaleString,_e=O("iterator"),be=O("toStringTag"),ye=T("typed_constructor"),Me=T("def_constructor"),we=s.CONSTR,Le=s.TYPED,Se=s.VIEW,Ce="Wrong length!",Ee=k(1,function(e,t){return xe(D(e,e[Me]),t)}),Ae=r(function(){return 1===new X(new Uint16Array([1]).buffer)[0]}),Te=!!X&&!!X[K].set&&r(function(){new X(1).set({})}),Oe=function(e,t){var n=f(e);if(n<0||n%t)throw q("Wrong offset!");return n},ke=function(e){if(M(e)&&Le in e)return e;throw F(e+" is not a typed array!")},xe=function(e,t){if(!(M(e)&&ye in e))throw F("It is not a typed array constructor!");return new e(t)},De=function(e,t){return Re(D(e,e[Me]),t)},Re=function(e,t){var n=0,i=t.length,o=xe(e,i);while(i>n)o[n]=t[n++];return o},ze=function(e,t,n){H(e,t,{get:function(){return this._d[n]}})},Pe=function(e){var t,n,i,o,r,a,s=w(e),c=arguments.length,u=c>1?arguments[1]:void 0,d=void 0!==u,h=A(s);if(void 0!=h&&!L(h)){for(a=h.call(s),i=[],t=0;!(r=a.next()).done;t++)i.push(r.value);s=i}for(d&&c>2&&(u=l(u,arguments[2],2)),t=0,n=m(s.length),o=xe(this,n);n>t;t++)o[t]=d?u(s[t],t):s[t];return o},Ne=function(){var e=0,t=arguments.length,n=xe(this,t);while(t>e)n[e]=arguments[e++];return n},Ie=!!X&&r(function(){ve.call(new X(1))}),Be=function(){return ve.apply(Ie?me.call(ke(this)):ke(this),arguments)},je={copyWithin:function(e,t){return B.call(ke(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return ne(ke(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return I.apply(ke(this),arguments)},filter:function(e){return De(this,ee(ke(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return ie(ke(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return oe(ke(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Q(ke(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ae(ke(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return re(ke(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return pe.apply(ke(this),arguments)},lastIndexOf:function(e){return ue.apply(ke(this),arguments)},map:function(e){return Ee(ke(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return de.apply(ke(this),arguments)},reduceRight:function(e){return he.apply(ke(this),arguments)},reverse:function(){var e,t=this,n=ke(t).length,i=Math.floor(n/2),o=0;while(o1?arguments[1]:void 0)},sort:function(e){return fe.call(ke(this),e)},subarray:function(e,t){var n=ke(this),i=n.length,o=v(e,i);return new(D(n,n[Me]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,m((void 0===t?i:v(t,i))-o))}},Ye=function(e,t){return De(this,me.call(ke(this),e,t))},He=function(e){ke(this);var t=Oe(arguments[1],1),n=this.length,i=w(e),o=m(i.length),r=0;if(o+t>n)throw q(Ce);while(r255?255:255&i),o.v[p](n*t+o.o,i,Ae)},O=function(e,t){H(e,t,{get:function(){return A(this,t)},set:function(e){return T(this,t,e)},enumerable:!0})};b?(f=n(function(e,n,i,o){u(e,f,l,"_d");var r,a,s,c,d=0,p=0;if(M(n)){if(!(n instanceof J||(c=y(n))==U||c==V))return Le in n?Re(f,n):Pe.call(f,n);r=n,p=Oe(i,t);var v=n.byteLength;if(void 0===o){if(v%t)throw q(Ce);if(a=v-p,a<0)throw q(Ce)}else if(a=m(o)*t,a+p>v)throw q(Ce);s=a/t}else s=g(n),a=s*t,r=new J(a);h(e,"_d",{b:r,o:p,l:a,e:s,v:new Z(r)});while(d>1,u=23===t?k(2,-24)-k(2,-77):0,d=0,h=e<0||0===e&&1/e<0?1:0;for(e=O(e),e!=e||e===A?(o=e!=e?1:0,i=c):(i=x(D(e)/R),e*(r=k(2,-i))<1&&(i--,r*=2),e+=i+l>=1?u/r:u*k(2,1-l),e*r>=2&&(i++,r/=2),i+l>=c?(o=0,i=c):i+l>=1?(o=(e*r-1)*k(2,t),i+=l):(o=e*k(2,l-1)*k(2,t),i=0));t>=8;a[d++]=255&o,o/=256,t-=8);for(i=i<0;a[d++]=255&i,i/=256,s-=8);return a[--d]|=128*h,a}function H(e,t,n){var i,o=8*n-t-1,r=(1<>1,s=o-7,c=n-1,l=e[c--],u=127&l;for(l>>=7;s>0;u=256*u+e[c],c--,s-=8);for(i=u&(1<<-s)-1,u>>=-s,s+=t;s>0;i=256*i+e[c],c--,s-=8);if(0===u)u=1-a;else{if(u===r)return i?NaN:l?-A:A;i+=k(2,t),u-=a}return(l?-1:1)*i*k(2,u-t)}function W(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function q(e){return[255&e]}function F(e){return[255&e,e>>8&255]}function X(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function U(e){return Y(e,52,8)}function V(e){return Y(e,23,4)}function G(e,t,n){m(e[y],t,{get:function(){return this[n]}})}function K(e,t,n,i){var o=+n,r=p(o);if(r+t>e[B])throw E(w);var a=e[I]._b,s=r+e[j],c=a.slice(s,s+t);return i?c:c.reverse()}function $(e,t,n,i,o,r){var a=+n,s=p(a);if(s+t>e[B])throw E(w);for(var c=e[I]._b,l=s+e[j],u=i(+o),d=0;dee;)(J=Q[ee++])in L||s(L,J,T[J]);r||(Z.constructor=L)}var te=new S(new L(2)),ne=S[y].setInt8;te.setInt8(0,2147483648),te.setInt8(1,2147483649),!te.getInt8(0)&&te.getInt8(1)||c(S[y],{setInt8:function(e,t){ne.call(this,e,t<<24>>24)},setUint8:function(e,t){ne.call(this,e,t<<24>>24)}},!0)}else L=function(e){u(this,L,_);var t=p(e);this._b=g.call(new Array(t),0),this[B]=t},S=function(e,t,n){u(this,S,b),u(e,L,b);var i=e[B],o=d(t);if(o<0||o>i)throw E("Wrong offset!");if(n=void 0===n?i-o:h(n),o+n>i)throw E(M);this[I]=e,this[j]=o,this[B]=n},o&&(G(L,P,"_l"),G(S,z,"_b"),G(S,P,"_l"),G(S,N,"_o")),c(S[y],{getInt8:function(e){return K(this,1,e)[0]<<24>>24},getUint8:function(e){return K(this,1,e)[0]},getInt16:function(e){var t=K(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=K(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return W(K(this,4,e,arguments[1]))},getUint32:function(e){return W(K(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return H(K(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return H(K(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){$(this,1,e,q,t)},setUint8:function(e,t){$(this,1,e,q,t)},setInt16:function(e,t){$(this,2,e,F,t,arguments[2])},setUint16:function(e,t){$(this,2,e,F,t,arguments[2])},setInt32:function(e,t){$(this,4,e,X,t,arguments[2])},setUint32:function(e,t){$(this,4,e,X,t,arguments[2])},setFloat32:function(e,t){$(this,4,e,V,t,arguments[2])},setFloat64:function(e,t){$(this,8,e,U,t,arguments[2])}});v(L,_),v(S,b),s(S[y],a.VIEW,!0),t[_]=L,t[b]=S},f410:function(e,t,n){n("1af6"),e.exports=n("584a").Array.isArray},f605:function(e,t){e.exports=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e}},f772:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},f921:function(e,t,n){n("014b"),n("c207"),n("69d3"),n("765d"),e.exports=n("584a").Symbol},fab2:function(e,t,n){var i=n("7726").document;e.exports=i&&i.documentElement},fb15:function(e,t,n){"use strict";n.r(t);var i,o={};(n.r(o),n.d(o,"forceCenter",function(){return v}),n.d(o,"forceCollide",function(){return F}),n.d(o,"forceLink",function(){return ee}),n.d(o,"forceManyBody",function(){return Re}),n.d(o,"forceRadial",function(){return ze}),n.d(o,"forceSimulation",function(){return De}),n.d(o,"forceX",function(){return Pe}),n.d(o,"forceY",function(){return Ne}),"undefined"!==typeof window)&&((i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));n("7f7f");var r=n("a745"),a=n.n(r);function s(e){if(a()(e)){for(var t=0,n=new Array(e.length);t=(r=(m+v)/2))?m=r:v=r,(u=n>=(a=(g+_)/2))?g=a:_=a,o=p,!(p=p[d=u<<1|l]))return o[d]=f,e;if(s=+e._x.call(null,p.data),c=+e._y.call(null,p.data),t===s&&n===c)return f.next=p,o?o[d]=f:e._root=f,e;do{o=o?o[d]=new Array(4):e._root=new Array(4),(l=t>=(r=(m+v)/2))?m=r:v=r,(u=n>=(a=(g+_)/2))?g=a:_=a}while((d=u<<1|l)===(h=(c>=a)<<1|s>=r));return o[h]=p,o[d]=f,e}function w(e){var t,n,i,o,r=e.length,a=new Array(r),s=new Array(r),c=1/0,l=1/0,u=-1/0,d=-1/0;for(n=0;nu&&(u=i),od&&(d=o));for(ue||e>o||i>t||t>r))return this;var a,s,c=o-n,l=this._root;switch(s=(t<(i+r)/2)<<1|e<(n+o)/2){case 0:do{a=new Array(4),a[s]=l,l=a}while(c*=2,o=n+c,r=i+c,e>o||t>r);break;case 1:do{a=new Array(4),a[s]=l,l=a}while(c*=2,n=o-c,r=i+c,n>e||t>r);break;case 2:do{a=new Array(4),a[s]=l,l=a}while(c*=2,o=n+c,i=r-c,e>o||i>t);break;case 3:do{a=new Array(4),a[s]=l,l=a}while(c*=2,n=o-c,i=r-c,n>e||i>t);break}this._root&&this._root.length&&(this._root=l)}return this._x0=n,this._y0=i,this._x1=o,this._y1=r,this},S=function(){var e=[];return this.visit(function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)}),e},C=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},E=function(e,t,n,i,o){this.node=e,this.x0=t,this.y0=n,this.x1=i,this.y1=o},A=function(e,t,n){var i,o,r,a,s,c,l,u=this._x0,d=this._y0,h=this._x1,p=this._y1,f=[],m=this._root;m&&f.push(new E(m,u,d,h,p)),null==n?n=1/0:(u=e-n,d=t-n,h=e+n,p=t+n,n*=n);while(c=f.pop())if(!(!(m=c.node)||(o=c.x0)>h||(r=c.y0)>p||(a=c.x1)=v)<<1|e>=g)&&(c=f[f.length-1],f[f.length-1]=f[f.length-1-l],f[f.length-1-l]=c)}else{var _=e-+this._x.call(null,m.data),b=t-+this._y.call(null,m.data),y=_*_+b*b;if(y=(s=(f+g)/2))?f=s:g=s,(u=a>=(c=(m+v)/2))?m=c:v=c,t=p,!(p=p[d=u<<1|l]))return this;if(!p.length)break;(t[d+1&3]||t[d+2&3]||t[d+3&3])&&(n=t,h=d)}while(p.data!==e)if(i=p,!(p=p.next))return this;return(o=p.next)&&delete p.next,i?(o?i.next=o:delete i.next,this):t?(o?t[d]=o:delete t[d],(p=t[0]||t[1]||t[2]||t[3])&&p===(t[3]||t[2]||t[1]||t[0])&&!p.length&&(n?n[h]=p:this._root=p),this):(this._root=o,this)};function O(e){for(var t=0,n=e.length;tc+p||ol+p||rs.index){var f=c-a.x-a.vx,m=l-a.y-a.vy,g=f*f+m*m;ge.r&&(e.r=e[t].r)}function s(){if(t){var i,o,r=t.length;for(n=new Array(r),i=0;i=0&&(n=e.slice(i+1),e=e.slice(0,i)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:n}})}function re(e,t){for(var n,i=0,o=e.length;i0)for(var n,i,o=new Array(n),r=0;r=0&&t._call.call(null,e),t=t._next;--ue}function Se(){me=(fe=ve.now())+ge,ue=de=0;try{Le()}finally{ue=0,Ee(),me=0}}function Ce(){var e=ve.now(),t=e-fe;t>pe&&(ge-=t,fe=e)}function Ee(){var e,t,n=se,i=1/0;while(n)n._call?(i>n._time&&(i=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:se=t);ce=e,Ae(i)}function Ae(e){if(!ue){de&&(de=clearTimeout(de));var t=e-me;t>24?(e<1/0&&(de=setTimeout(Se,e-ve.now()-ge)),he&&(he=clearInterval(he))):(he||(fe=ve.now(),he=setInterval(Ce,pe)),ue=1,_e(Se))}}Me.prototype=we.prototype={constructor:Me,restart:function(e,t,n){if("function"!==typeof e)throw new TypeError("callback is not a function");n=(null==n?be():+n)+(null==t?0:+t),this._next||ce===this||(ce?ce._next=this:se=this,ce=this),this._call=e,this._time=n,Ae()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ae())}};function Te(e){return e.x}function Oe(e){return e.y}var ke=10,xe=Math.PI*(3-Math.sqrt(5)),De=function(e){var t,n=1,i=.001,o=1-Math.pow(i,1/300),r=0,a=.6,s=G(),c=we(u),l=le("tick","end");function u(){d(),l.call("tick",t),n1?(null==n?s.remove(e):s.set(e,p(n)),t):s.get(e)},find:function(t,n,i){var o,r,a,s,c,l=0,u=e.length;for(null==i?i=1/0:i*=i,l=0;l1?(l.on(e,n),t):l.on(e)}}},Re=function(){var e,t,n,i,o=_(-30),r=1,a=1/0,s=.81;function c(i){var o,r=e.length,a=B(e,Te,Oe).visitAfter(u);for(n=i,o=0;o=a)){(e.data!==t||e.next)&&(0===u&&(u=b(),p+=u*u),0===d&&(d=b(),p+=d*d),p=0;n--){var i=e.attributes[n];i&&(t[i.name]=i.value)}var o=e.innerHTML;if(o)return{attrs:t,data:o}}return null},svgElFromString:function(e){var t=this.toDom(e);if(this.isSvgData(t))return t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t},svgDataToUrl:function(e,t){if("object"===Ue(t))for(var n in t){var i=t[n]?t[n]:"";e.setAttribute(n,i)}var o=this.export(e);return o?this.svgToUrl(this.serialize(o)):null},isSvgData:function(e){return!!e.firstChild&&"svg"===e.firstChild.parentNode.nodeName},svgToUrl:function(e){var t=new Blob([e],{type:"image/svg+xml"}),n=URL.createObjectURL(t);return n}},Ze={name:"svg-renderer",props:["size","nodes","noNodes","selected","linksSelected","links","nodeSize","padding","fontSize","strLinks","linkWidth","nodeLabels","linkLabels","labelOffset","nodeSym"],computed:{nodeSvg:function(){return this.nodeSym?Je.toObject(this.nodeSym):null}},methods:{getNodeSize:function(e,t){var n=e._size||this.nodeSize;return t&&(n=e["_"+t]||n),n},svgIcon:function(e){return e.svgObj||this.nodeSvg},emit:function(e,t){this.$emit("action",e,t)},svgScreenShot:function(e,t,n,i){var o=Je.export(this.$refs.svg,i);if(t)e(null,Je.save(o));else{n||(n=this.searchBackground());var r=Je.makeCanvas(this.size.w,this.size.h,n);Je.svgToImg(o,r,function(t,n){t?e(t):e(null,n)})}},linkClass:function(e){var t=["link"];return this.linksSelected.hasOwnProperty(e)&&t.push("selected"),this.strLinks||t.push("curve"),t},linkPath:function(e){var t={M:[0|e.source.x,0|e.source.y],X:[0|e.target.x,0|e.target.y]};return this.strLinks?"M "+t.M.join(" ")+" L"+t.X.join(" "):(t.Q=[e.source.x,e.target.y],"M "+t.M+" Q "+t.Q.join(" ")+" "+t.X)},nodeStyle:function(e){return e._color?"fill: "+e._color:""},linkStyle:function(e){var t={};return e._color&&(t.stroke=e._color),t},nodeClass:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e._cssClass?e._cssClass:[];return a()(n)||(n=[n]),n.push("node"),t.forEach(function(e){return n.push(e)}),this.selected[e.id]&&n.push("selected"),(e.fx||e.fy)&&n.push("pinned"),n},searchBackground:function(){var e=this;while(e.$parent){var t=window.getComputedStyle(e.$el),n=t.getPropertyValue("background-color"),i=n.replace(/[^\d,]/g,"").split(","),o=i.reduce(function(e,t){return Ye()(e)+Ye()(t)},0);if(o>0)return n;e=e.$parent}return"white"},spriteSymbol:function(){var e=this.nodeSym;if(e)return Je.toSymbol(e)},linkAttrs:function(e){var t=e._svgAttrs||{};return t["stroke-width"]=t["stroke-width"]||this.linkWidth,t}}},Qe=Ze;function et(e,t,n,i,o,r,a,s){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}var tt,nt,it=et(Qe,Ie,Be,!1,null,null,null),ot=it.exports,rt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("canvas",{directives:[{name:"render-canvas",rawName:"v-render-canvas",value:{links:e.links,nodes:e.nodes},expression:"{links, nodes}"}],ref:"canvas",style:e.canvasStyle,attrs:{id:"canvas",width:e.size.w,height:e.size.h},on:{mouseup:function(t){return t.preventDefault(),e.canvasClick(t)},mousedown:function(t){return t.preventDefault(),e.canvasClick(t)},touchstart:function(t){return t.preventDefault(),e.canvasClick(t)},"&touchend":function(t){return e.canvasClick(t)}}})},at=[],st=(n("b54a"),n("6c7b"),{background:{_cssClass:"net-svg",fillStyle:"white"},node:{_cssClass:"node",fillStyle:"green",strokeStyle:"orange",lineWidth:2},link:{_cssClass:"link",strokeStyle:"blue",lineWidth:1},labels:{_cssClass:"node-label",_svgElement:"text",fillStyle:"black",fontFamily:"Arial"},nodeSelected:{_cssClass:"node selected",fillStyle:"red",strokeStyle:"orange",lineWidth:2},linkSelected:{_cssClass:"link selected",strokeStyle:"green",lineWidth:2},nodePinned:{_cssClass:"node pinned",fillStyle:"green",strokeStyle:"red"},nodeSelectedPinned:{_cssClass:"node selected pinned",fillStyle:"green",strokeStyle:"red"}}),ct=(n("6b54"),{randomId:function(){return Math.random().toString(36).substring(7)},fillStyle:function(e,t){var n=null,i="picker-"+this.randomId(),o=this.canvasPicker(e,i);t.appendChild(o);var r={fillStyle:"fill",strokeStyle:"stroke",lineWidth:"stroke-width",fontFamily:"font-family"};return e=this.mapStyle(i,r,e,n),t.removeChild(o),e},mapStyle:function(e,t,n,i,o){var r=window.getComputedStyle(document.getElementById(e),i);for(var a in o=o||["lineWidth"],t){var s=r.getPropertyValue(t[a]);o.indexOf(a)>-1&&(s=Ye()(s,10)),s&&(n[a]=s)}return n},canvasPicker:function(e,t){var n=e._svgAttrs||{},i=e._svgElement||"circle";if(!e._svgAttrs)switch(i){case"text":n={x:10,y:10,fontSize:20};break;case"circle":n={cx:10,cy:10,r:10};break}return n.class=e._cssClass,n.id=t,this.svgCreate(i,n)},compColor:function(e){var t=document.createElement("div");t.style.backgroundColor=e,document.body.appendChild(t);var n=window.getComputedStyle(t,null).getPropertyValue("background-color");return document.body.removeChild(t),n},svgCreate:function(e,t){var n=document.createElementNS("http://www.w3.org/2000/svg",e);for(var i in t)n.setAttributeNS(null,i,t[i]);return n},create:function(e,t,n){n=n||"body";var i=document.createElement(e),o=t||"";return o+=this.randomId(),i.setAttribute("id",o),document[n].appendChild(i),i}}),lt={name:"canvas-renderer",props:["size","offset","padding","nodes","selected","linksSelected","links","nodeSize","fontSize","strLinks","linkWidth","nodeLabels","labelOffset","canvasStyles","nodeSym","noNodes"],data:function(){return{hitCanvas:null,shapes:{},drag:null,stylesReady:!1,CssStyles:!0,styles:st,sprites:{}}},computed:{nodeSvg:function(){return this.nodeSym},canvasStyle:function(){var e=this.padding.x+"px",t=this.padding.y+"px";return{left:e,top:t}}},directives:{renderCanvas:function(e,t,n){var i=t.value.nodes,o=t.value.links;n.context.draw(i,o,e)}},created:function(){if(this.canvasStyles)for(var e in this.canvasStyles)this.styles[e]=this.canvasStyles[e]},mounted:function(){var e=this;this.$nextTick(function(){e.hitCanvas.width=e.size.w,e.hitCanvas.height=e.size.h})},watch:{nodeSize:function(){this.resetSprites()},canvasStyles:function(){this.resetSprites()}},methods:{canvasScreenShot:function(e,t){var n=this.$refs.canvas,i=document.createElement("canvas");i.width=n.width,i.height=n.height;var o=this.styles.background;t&&(o=this.getCssColor(t));var r=i.getContext("2d");r=this.setCtx(r,o),r.fillRect(0,0,i.width,i.height),r.drawImage(n,0,0);var a=i.toDataURL("image/png");a?e(null,a):e(new Error("error generating canvas image"))},emit:function(e,t){this.$emit("action",e,t)},canvasInit:function(){var e=document.createElement("canvas");e.width=this.size.w,e.height=this.size.h,e.top=this.offset.y,e.left=this.offset.x,e.id="hit-canvas",this.hitCanvas=e,this.resetSprites()},resetSprites:function(){this.sprites={};for(var e=["node","nodeSelected","nodePinned","nodeSelectedPinned"],t=0;t0&&e.y>0&&e.x0&&(i.data[r]=255,i.data[r-3]=t.r,i.data[r-2]=t.g,i.data[r-1]=t.b);return n.putImageData(i,0,0),e},newColorIndex:function(){while(1){var e=this.randomColor();if(!this.shapes[e.rgb])return e}},randomColor:function(){var e=Math.round(255*Math.random()),t=Math.round(255*Math.random()),n=Math.round(255*Math.random());return{r:e,g:t,b:n,rgb:"rgb(".concat(e,",").concat(t,",").concat(n,")")}},setCtx:function(e,t){for(var n in t)e[n]=t[n];return e},cloneCanvas:function(e){var t=document.createElement("canvas"),n=t.getContext("2d");return t.width=e.width,t.height=e.height,n.drawImage(e,0,0),t},Sprite:function(e,t){return this.sprites[e]||(this.sprites[e]=t()),this.sprites[e]},getCssStyles:function(){var e=ct.create("svg","css-picker");for(var t in this.styles){var n=this.styles[t]||{};n=ct.fillStyle(n,e)}document.body.removeChild(e),this.stylesReady=!0},loadNodeStyle:function(e){var t="node",n=this.selected[e.id];if(n&&(t="nodeSelected"),e.pinned&&(t="nodePinned"),n&&e.pinned&&(t="nodeSelectedPinned"),e._cssClass){var i=t+"-"+e._cssClass;if(!this.styles[i]){var o=g()({},this.styles[t]||{});o._cssClass=o._cssClass||"",o._cssClass+=" "+e._cssClass,this.updateStyle(i,o)}t=i}var r=g()({},this.styles[t]||this.updateStyle(t));return e._color&&(r.fillStyle=e._color,r._cssStyle="fill:"+e._color),e._cssClass&&(r._cssClass+=" "+e._cssClass),r},updateStyle:function(e,t){t=t||this.styles[e]||{};var n=ct.create("svg","css-picker");return t=ct.fillStyle(t,n),this.styles[e]=t,document.body.removeChild(n),t},getCssColor:function(e){var t=ct.create("div","color-picker"),n=t.id;t.setAttribute("style","background-color:"+e);var i=ct.mapStyle(n,{fillStyle:"background-color"},[]);return document.body.removeChild(t),i},labelStyle:function(e){var t=this.styles.labels,n=e._labelClass;if(n){var i="labels-"+n,o=this.styles[i];o||(o=g()({},t),o._cssClass+=" "+n,o=this.updateStyle(i,o)),t=o}return t}}},ut=lt,dt=(n("3d11"),et(ut,rt,at,!1,null,null,null)),ht=dt.exports,pt=(n("34ef"),{save:function(e,t){var n=this;e&&(e=this.dataURIToBlob(e,function(e){var i=URL.createObjectURL(e);n.download(i,t)}))},dataURIToBlob:function(e,t){for(var n=atob(e.split(",")[1]),i=n.length,o=new Uint8Array(i),r=0;r=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),c=n("9757"),l=n("3a92"),u=n("6923"),d=n("3585"),h=n("168d"),p=n("cc26"),f=function(){function e(t,n){void 0===t&&(t=[]),void 0===n&&(n=[]),this.elementsToActivate=t,this.elementsToDeactivate=n,this.kind=e.KIND}return e.KIND="switchEditMode",e}();t.SwitchEditModeAction=f;var m=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n.elementsToActivate=[],n.elementsToDeactivate=[],n.handlesToRemove=[],n}return i(t,e),t.prototype.execute=function(e){var t=this,n=e.root.index;return this.action.elementsToActivate.forEach(function(e){var i=n.getById(e);void 0!==i&&t.elementsToActivate.push(i)}),this.action.elementsToDeactivate.forEach(function(e){var i=n.getById(e);if(void 0!==i&&t.elementsToDeactivate.push(i),i instanceof d.SRoutingHandle&&i.parent instanceof d.SRoutableElement){var o=i.parent;t.shouldRemoveHandle(i,o)&&(t.handlesToRemove.push({handle:i,parent:o}),t.elementsToDeactivate.push(o),t.elementsToActivate.push(o))}}),this.doExecute(e)},t.prototype.doExecute=function(e){var t=this;return this.handlesToRemove.forEach(function(e){e.point=e.parent.routingPoints.splice(e.handle.pointIndex,1)[0]}),this.elementsToDeactivate.forEach(function(e){e instanceof d.SRoutableElement?e.removeAll(function(e){return e instanceof d.SRoutingHandle}):e instanceof d.SRoutingHandle&&(e.editMode=!1,e.danglingAnchor&&e.parent instanceof d.SRoutableElement&&e.danglingAnchor.original&&(e.parent.source===e.danglingAnchor?e.parent.sourceId=e.danglingAnchor.original.id:e.parent.target===e.danglingAnchor&&(e.parent.targetId=e.danglingAnchor.original.id),e.danglingAnchor.parent.remove(e.danglingAnchor),e.danglingAnchor=void 0))}),this.elementsToActivate.forEach(function(e){if(p.canEditRouting(e)&&e instanceof l.SParentElement){var n=t.edgeRouterRegistry.get(e.routerKind);n.createRoutingHandles(e)}else e instanceof d.SRoutingHandle&&(e.editMode=!0)}),e.root},t.prototype.shouldRemoveHandle=function(e,t){if("junction"===e.kind){var n=this.edgeRouterRegistry.get(t.routerKind),i=n.route(t);return void 0===i.find(function(t){return t.pointIndex===e.pointIndex})}return!1},t.prototype.undo=function(e){var t=this;return this.handlesToRemove.forEach(function(e){void 0!==e.point&&e.parent.routingPoints.splice(e.handle.pointIndex,0,e.point)}),this.elementsToActivate.forEach(function(e){e instanceof d.SRoutableElement?e.removeAll(function(e){return e instanceof d.SRoutingHandle}):e instanceof d.SRoutingHandle&&(e.editMode=!1)}),this.elementsToDeactivate.forEach(function(e){if(p.canEditRouting(e)){var n=t.edgeRouterRegistry.get(e.routerKind);n.createRoutingHandles(e)}else e instanceof d.SRoutingHandle&&(e.editMode=!0)}),e.root},t.prototype.redo=function(e){return this.doExecute(e)},t.KIND=f.KIND,o([s.inject(h.EdgeRouterRegistry),r("design:type",h.EdgeRouterRegistry)],t.prototype,"edgeRouterRegistry",void 0),t=o([s.injectable(),a(0,s.inject(u.TYPES.Action)),r("design:paramtypes",[f])],t),t}(c.Command);t.SwitchEditModeCommand=m},a663:function(e,t,n){"use strict";var i=n("84fd"),o=n.n(i);o.a},a74d:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n,i){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?o[n][0]:o[n][1]}var n=e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n})},a8af:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3");function o(e){return e instanceof RangeError||e.message===i.STACK_OVERFLOW}t.isStackOverflowExeption=o},a8f0:function(e,t,n){var i=n("b639"),o=i.Buffer;function r(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=i:(r(i,t),t.Buffer=a),r(o,a),a.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var i=o(e);return void 0!==t?"string"===typeof n?i.fill(t,n):i.fill(t):i.fill(0),i},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}},ab71:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n("869e"),r=n("dd02"),a=n("e1c6"),s=n("d8f5"),c=function(){function e(){}return Object.defineProperty(e.prototype,"kind",{get:function(){return s.PolylineEdgeRouter.KIND+":"+o.ELLIPTIC_ANCHOR_KIND},enumerable:!0,configurable:!0}),e.prototype.getAnchor=function(e,t,n){void 0===n&&(n=0);var i=e.bounds,o=r.center(i),a=o.x-t.x,s=o.y-t.y,c=Math.sqrt(a*a+s*s),l=a/c||0,u=s/c||0;return{x:o.x-l*(.5*i.width+n),y:o.y-u*(.5*i.height+n)}},e=i([a.injectable()],e),e}();t.EllipseAnchor=c;var l=function(){function e(){}return Object.defineProperty(e.prototype,"kind",{get:function(){return s.PolylineEdgeRouter.KIND+":"+o.RECTANGULAR_ANCHOR_KIND},enumerable:!0,configurable:!0}),e.prototype.getAnchor=function(e,t,n){void 0===n&&(n=0);var i=e.bounds,o=r.center(i),a=new u(o,t);if(!r.almostEquals(o.y,t.y)){var s=this.getXIntersection(i.y,o,t);s>=i.x&&s<=i.x+i.width&&a.addCandidate(s,i.y-n);var c=this.getXIntersection(i.y+i.height,o,t);c>=i.x&&c<=i.x+i.width&&a.addCandidate(c,i.y+i.height+n)}if(!r.almostEquals(o.x,t.x)){var l=this.getYIntersection(i.x,o,t);l>=i.y&&l<=i.y+i.height&&a.addCandidate(i.x-n,l);var d=this.getYIntersection(i.x+i.width,o,t);d>=i.y&&d<=i.y+i.height&&a.addCandidate(i.x+i.width+n,d)}return a.best},e.prototype.getXIntersection=function(e,t,n){var i=(e-t.y)/(n.y-t.y);return(n.x-t.x)*i+t.x},e.prototype.getYIntersection=function(e,t,n){var i=(e-t.x)/(n.x-t.x);return(n.y-t.y)*i+t.y},e=i([a.injectable()],e),e}();t.RectangleAnchor=l;var u=function(){function e(e,t){this.centerPoint=e,this.refPoint=t,this.currentDist=-1}return e.prototype.addCandidate=function(e,t){var n=this.refPoint.x-e,i=this.refPoint.y-t,o=n*n+i*i;(this.currentDist<0||o=this.dragVertexDelay_?(this.downPx_=t.pixel,this.shouldHandle_=!this.freehand_,n=!0):this.lastDragTime_=void 0,this.shouldHandle_&&void 0!==this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0)}return this.freehand_&&t.type===r["a"].POINTERDRAG&&null!==this.sketchFeature_?(this.addToDrawing_(t),o=!1):this.freehand_&&t.type===r["a"].POINTERDOWN?o=!1:n?(o=t.type===r["a"].POINTERMOVE,o&&this.freehand_?o=this.handlePointerMove_(t):(t.pointerEvent.pointerType==b["b"]||t.type===r["a"].POINTERDRAG&&void 0===this.downTimeout_)&&this.handlePointerMove_(t)):t.type===r["a"].DBLCLICK&&(o=!1),e.prototype.handleEvent.call(this,t)&&o},t.prototype.handleDownEvent=function(e){return this.shouldHandle_=!this.freehand_,this.freehand_?(this.downPx_=e.pixel,this.finishCoordinate_||this.startDrawing_(e),!0):!!this.condition_(e)&&(this.lastDragTime_=Date.now(),this.downTimeout_=setTimeout(function(){this.handlePointerMove_(new a["a"](r["a"].POINTERMOVE,e.map,e.pointerEvent,!1,e.frameState))}.bind(this),this.dragVertexDelay_),this.downPx_=e.pixel,!0)},t.prototype.handleUpEvent=function(e){var t=!0;this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0),this.handlePointerMove_(e);var n=this.mode_===A.CIRCLE;return this.shouldHandle_?(this.finishCoordinate_?this.freehand_||n?this.finishDrawing():this.atFinish_(e)?this.finishCondition_(e)&&this.finishDrawing():this.addToDrawing_(e):(this.startDrawing_(e),this.mode_===A.POINT&&this.finishDrawing()),t=!1):this.freehand_&&(this.finishCoordinate_=null,this.abortDrawing_()),!t&&this.stopClick_&&e.stopPropagation(),t},t.prototype.handlePointerMove_=function(e){if(this.downPx_&&(!this.freehand_&&this.shouldHandle_||this.freehand_&&!this.shouldHandle_)){var t=this.downPx_,n=e.pixel,i=t[0]-n[0],o=t[1]-n[1],r=i*i+o*o;if(this.shouldHandle_=this.freehand_?r>this.squaredClickTolerance_:r<=this.squaredClickTolerance_,!this.shouldHandle_)return!0}return this.finishCoordinate_?this.modifyDrawing_(e):this.createOrUpdateSketchPoint_(e),!0},t.prototype.atFinish_=function(e){var t=!1;if(this.sketchFeature_){var n=!1,i=[this.finishCoordinate_];if(this.mode_===A.LINE_STRING)n=this.sketchCoords_.length>this.minPoints_;else if(this.mode_===A.POLYGON){var o=this.sketchCoords_;n=o[0].length>this.minPoints_,i=[o[0][0],o[0][o[0].length-2]]}if(n)for(var r=e.map,a=0,s=i.length;a=this.maxPoints_&&(this.freehand_?n.pop():t=!0),n.push(i.slice()),this.geometryFunction_(n,o)):this.mode_===A.POLYGON&&(n=this.sketchCoords_[0],n.length>=this.maxPoints_&&(this.freehand_?n.pop():t=!0),n.push(i.slice()),t&&(this.finishCoordinate_=n[0]),this.geometryFunction_(this.sketchCoords_,o)),this.updateSketchFeatures_(),t&&this.finishDrawing()},t.prototype.removeLastPoint=function(){if(this.sketchFeature_){var e,t,n=this.sketchFeature_.getGeometry();this.mode_===A.LINE_STRING?(e=this.sketchCoords_,e.splice(-2,1),this.geometryFunction_(e,n),e.length>=2&&(this.finishCoordinate_=e[e.length-2].slice())):this.mode_===A.POLYGON&&(e=this.sketchCoords_[0],e.splice(-2,1),t=this.sketchLine_.getGeometry(),t.setCoordinates(e),this.geometryFunction_(this.sketchCoords_,n)),0===e.length&&(this.finishCoordinate_=null),this.updateSketchFeatures_()}},t.prototype.finishDrawing=function(){var e=this.abortDrawing_();if(e){var t=this.sketchCoords_,n=e.getGeometry();this.mode_===A.LINE_STRING?(t.pop(),this.geometryFunction_(t,n)):this.mode_===A.POLYGON&&(t[0].pop(),this.geometryFunction_(t,n),t=n.getCoordinates()),this.type_===f["a"].MULTI_POINT?e.setGeometry(new v["a"]([t])):this.type_===f["a"].MULTI_LINE_STRING?e.setGeometry(new g["a"]([t])):this.type_===f["a"].MULTI_POLYGON&&e.setGeometry(new _["a"]([t])),this.dispatchEvent(new O(T.DRAWEND,e)),this.features_&&this.features_.push(e),this.source_&&this.source_.addFeature(e)}},t.prototype.abortDrawing_=function(){this.finishCoordinate_=null;var e=this.sketchFeature_;return e&&(this.sketchFeature_=null,this.sketchPoint_=null,this.sketchLine_=null,this.overlay_.getSource().clear(!0)),e},t.prototype.extend=function(e){var t=e.getGeometry(),n=t;this.sketchFeature_=e,this.sketchCoords_=n.getCoordinates();var i=this.sketchCoords_[this.sketchCoords_.length-1];this.finishCoordinate_=i.slice(),this.sketchCoords_.push(i.slice()),this.updateSketchFeatures_(),this.dispatchEvent(new O(T.DRAWSTART,this.sketchFeature_))},t.prototype.updateSketchFeatures_=function(){var e=[];this.sketchFeature_&&e.push(this.sketchFeature_),this.sketchLine_&&e.push(this.sketchLine_),this.sketchPoint_&&e.push(this.sketchPoint_);var t=this.overlay_.getSource();t.clear(!0),t.addFeatures(e)},t.prototype.updateState_=function(){var e=this.getMap(),t=this.getActive();e&&t||this.abortDrawing_(),this.overlay_.setMap(t?e:null)},t}(w["b"]);function x(){var e=Object(E["b"])();return function(t,n){return e[t.getGeometry().getType()]}}function D(e){var t;return e===f["a"].POINT||e===f["a"].MULTI_POINT?t=A.POINT:e===f["a"].LINE_STRING||e===f["a"].MULTI_LINE_STRING?t=A.LINE_STRING:e===f["a"].POLYGON||e===f["a"].MULTI_POLYGON?t=A.POLYGON:e===f["a"].CIRCLE&&(t=A.CIRCLE),t}t["a"]=k},ac2a:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("9757"),c=n("3a92"),l=n("e1c6"),u=n("6923"),d=function(){function e(t,n){this.containerId=t,this.elementSchema=n,this.kind=e.KIND}return e.KIND="createElement",e}();t.CreateElementAction=d;var h=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){var t=e.root.index.getById(this.action.containerId);return t instanceof c.SParentElement&&(this.container=t,this.newElement=e.modelFactory.createElement(this.action.elementSchema),this.container.add(this.newElement)),e.root},t.prototype.undo=function(e){return this.container.remove(this.newElement),e.root},t.prototype.redo=function(e){return this.container.add(this.newElement),e.root},t.KIND=d.KIND,t=o([l.injectable(),a(0,l.inject(u.TYPES.Action)),r("design:paramtypes",[d])],t),t}(s.Command);t.CreateElementCommand=h},ac8e:function(e,t,n){},ace8:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},ad0b:function(e,t,n){"use strict";var i=n("d988"),o=n.n(i);o.a},ad71:function(e,t,n){"use strict";(function(t,i){var o=n("966d");e.exports=w;var r,a=n("e3db");w.ReadableState=M;n("faa1").EventEmitter;var s=function(e,t){return e.listeners(t).length},c=n("429b"),l=n("a8f0").Buffer,u=t.Uint8Array||function(){};function d(e){return l.from(e)}function h(e){return l.isBuffer(e)||e instanceof u}var p=Object.create(n("3a7c"));p.inherits=n("3fb5");var f=n(2),m=void 0;m=f&&f.debuglog?f.debuglog("stream"):function(){};var g,v=n("5e1a"),_=n("4681");p.inherits(w,c);var b=["error","close","destroy","pause","resume"];function y(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function M(e,t){r=r||n("b19a"),e=e||{};var i=t instanceof r;this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,a=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:i&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(g||(g=n("7d72").StringDecoder),this.decoder=new g(e.encoding),this.encoding=e.encoding)}function w(e){if(r=r||n("b19a"),!(this instanceof w))return new w(e);this._readableState=new M(e,this),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function L(e,t,n,i,o){var r,a=e._readableState;null===t?(a.reading=!1,k(e,a)):(o||(r=C(a,t)),r?e.emit("error",r):a.objectMode||t&&t.length>0?("string"===typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=d(t)),i?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):S(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?S(e,a,t,!1):R(e,a)):S(e,a,t,!1))):i||(a.reading=!1));return E(a)}function S(e,t,n,i){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&x(e)),R(e,t)}function C(e,t){var n;return h(t)||"string"===typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function E(e){return!e.ended&&(e.needReadable||e.length=A?e=A:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function O(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=T(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function k(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,x(e)}}function x(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(m("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?o.nextTick(D,e):D(e))}function D(e){m("emit readable"),e.emit("readable"),j(e)}function R(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(z,e,t))}function z(e,t){var n=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=H(e,t.buffer,t.decoder),n);var n}function H(e,t,n){var i;return er.length?r.length:e;if(a===r.length?o+=r:o+=r.slice(0,e),e-=a,0===e){a===r.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=r.slice(a));break}++i}return t.length-=i,o}function q(e,t){var n=l.allocUnsafe(e),i=t.head,o=1;i.data.copy(n),e-=i.data.length;while(i=i.next){var r=i.data,a=e>r.length?r.length:e;if(r.copy(n,n.length-e,0,a),e-=a,0===e){a===r.length?(++o,i.next?t.head=i.next:t.head=t.tail=null):(t.head=i,i.data=r.slice(a));break}++o}return t.length-=o,n}function F(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,o.nextTick(X,t,e))}function X(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function U(e,t){for(var n=0,i=e.length;n=t.highWaterMark||t.ended))return m("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?F(this):x(this),null;if(e=O(e,t),0===e&&t.ended)return 0===t.length&&F(this),null;var i,o=t.needReadable;return m("need readable",o),(0===t.length||t.length-e0?Y(e,t):null,null===i?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&F(this)),null!==i&&this.emit("data",i),i},w.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},w.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e);break}r.pipesCount+=1,m("pipe count=%d opts=%j",r.pipesCount,t);var a=(!t||!1!==t.end)&&e!==i.stdout&&e!==i.stderr,c=a?u:M;function l(e,t){m("onunpipe"),e===n&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,p())}function u(){m("onend"),e.end()}r.endEmitted?o.nextTick(c):n.once("end",c),e.on("unpipe",l);var d=P(n);e.on("drain",d);var h=!1;function p(){m("cleanup"),e.removeListener("close",_),e.removeListener("finish",b),e.removeListener("drain",d),e.removeListener("error",v),e.removeListener("unpipe",l),n.removeListener("end",u),n.removeListener("end",M),n.removeListener("data",g),h=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||d()}var f=!1;function g(t){m("ondata"),f=!1;var i=e.write(t);!1!==i||f||((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==U(r.pipes,e))&&!h&&(m("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,f=!0),n.pause())}function v(t){m("onerror",t),M(),e.removeListener("error",v),0===s(e,"error")&&e.emit("error",t)}function _(){e.removeListener("finish",b),M()}function b(){m("onfinish"),e.removeListener("close",_),M()}function M(){m("unpipe"),n.unpipe(e)}return n.on("data",g),y(e,"error",v),e.once("close",_),e.once("finish",b),e.emit("pipe",n),r.flowing||(m("pipe resume"),n.resume()),e},w.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var i=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var r=0;r=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n("e1c6"),r=n("66f9"),a=function(){function e(){}return Object.defineProperty(e.prototype,"gridX",{get:function(){return 10},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gridY",{get:function(){return 10},enumerable:!0,configurable:!0}),e.prototype.snap=function(e,t){return t&&r.isBoundsAware(t)?{x:Math.round((e.x+.5*t.bounds.width)/this.gridX)*this.gridX-.5*t.bounds.width,y:Math.round((e.y+.5*t.bounds.height)/this.gridY)*this.gridY-.5*t.bounds.height}:{x:Math.round(e.x/this.gridX)*this.gridX,y:Math.round(e.y/this.gridY)*this.gridY}},e=i([o.injectable()],e),e}();t.CenterGridSnapper=a},aff7:function(e,t,n){"use strict";var i=n("7bae"),o=n.n(i);o.a},b093:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),a=n("6923"),s=n("0d7a"),c=n("e45b"),l=function(){function e(){}return e.prototype.decorate=function(e,t){var n=c.getAttrs(e);return void 0!==n.id&&this.logger.warn(e,"Overriding id of vnode ("+n.id+"). Make sure not to set it manually in view."),n.id=this.domHelper.createUniqueDOMElementId(t),e.key||(e.key=t.id),e},e.prototype.postUpdate=function(){},i([r.inject(a.TYPES.ILogger),o("design:type",Object)],e.prototype,"logger",void 0),i([r.inject(a.TYPES.DOMHelper),o("design:type",s.DOMHelper)],e.prototype,"domHelper",void 0),e=i([r.injectable()],e),e}();t.IdPostprocessor=l},b175:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return t})},b19a:function(e,t,n){"use strict";var i=n("966d"),o=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var r=Object.create(n("3a7c"));r.inherits=n("3fb5");var a=n("ad71"),s=n("dc14");r.inherits(d,a);for(var c=o(s.prototype),l=0;lt.getMaxResolution()||v=0?e:"children"}}]),l}(e);return window["ol"]&&window["ol"]["control"]&&(window["ol"]["control"]["LayerSwitcher"]=l),l})},b485:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("3b4c"),r=n("3623"),a=n("1f89"),s=function(){function e(t){this.elementId=t,this.kind=e.KIND}return e.KIND="open",e}();t.OpenAction=s;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.doubleClick=function(e,t){var n=r.findParentByFeature(e,a.isOpenable);return void 0!==n?[new s(n.id)]:[]},t}(o.MouseListener);t.OpenMouseListener=c},b669:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("fba3");function o(e,t){for(var n=[],o=2;o=0)return!1;if(e.metaKey!==n.findIndex(function(e){return"meta"===e||"ctrlCmd"===e})>=0)return!1}else{if(e.ctrlKey!==n.findIndex(function(e){return"ctrl"===e||"ctrlCmd"===e})>=0)return!1;if(e.metaKey!==n.findIndex(function(e){return"meta"===e})>=0)return!1}return e.altKey===n.findIndex(function(e){return"alt"===e})>=0&&e.shiftKey===n.findIndex(function(e){return"shift"===e})>=0}function r(e){if(e.keyCode){var t=a[e.keyCode];if(void 0!==t)return t}return e.code}t.matchesKeystroke=o,t.getActualCode=r;var a=new Array(256);(function(){function e(e,t){void 0===a[t]&&(a[t]=e)}e("Pause",3),e("Backspace",8),e("Tab",9),e("Enter",13),e("ShiftLeft",16),e("ShiftRight",16),e("ControlLeft",17),e("ControlRight",17),e("AltLeft",18),e("AltRight",18),e("CapsLock",20),e("Escape",27),e("Space",32),e("PageUp",33),e("PageDown",34),e("End",35),e("Home",36),e("ArrowLeft",37),e("ArrowUp",38),e("ArrowRight",39),e("ArrowDown",40),e("Insert",45),e("Delete",46),e("Digit1",49),e("Digit2",50),e("Digit3",51),e("Digit4",52),e("Digit5",53),e("Digit6",54),e("Digit7",55),e("Digit8",56),e("Digit9",57),e("Digit0",48),e("KeyA",65),e("KeyB",66),e("KeyC",67),e("KeyD",68),e("KeyE",69),e("KeyF",70),e("KeyG",71),e("KeyH",72),e("KeyI",73),e("KeyJ",74),e("KeyK",75),e("KeyL",76),e("KeyM",77),e("KeyN",78),e("KeyO",79),e("KeyP",80),e("KeyQ",81),e("KeyR",82),e("KeyS",83),e("KeyT",84),e("KeyU",85),e("KeyV",86),e("KeyW",87),e("KeyX",88),e("KeyY",89),e("KeyZ",90),e("OSLeft",91),e("MetaLeft",91),e("OSRight",92),e("MetaRight",92),e("ContextMenu",93),e("Numpad0",96),e("Numpad1",97),e("Numpad2",98),e("Numpad3",99),e("Numpad4",100),e("Numpad5",101),e("Numpad6",102),e("Numpad7",103),e("Numpad8",104),e("Numpad9",105),e("NumpadMultiply",106),e("NumpadAdd",107),e("NumpadSeparator",108),e("NumpadSubtract",109),e("NumpadDecimal",110),e("NumpadDivide",111),e("F1",112),e("F2",113),e("F3",114),e("F4",115),e("F5",116),e("F6",117),e("F7",118),e("F8",119),e("F9",120),e("F10",121),e("F11",122),e("F12",123),e("F13",124),e("F14",125),e("F15",126),e("F16",127),e("F17",128),e("F18",129),e("F19",130),e("F20",131),e("F21",132),e("F22",133),e("F23",134),e("F24",135),e("NumLock",144),e("ScrollLock",145),e("Semicolon",186),e("Equal",187),e("Comma",188),e("Minus",189),e("Period",190),e("Slash",191),e("Backquote",192),e("IntlRo",193),e("BracketLeft",219),e("Backslash",220),e("BracketRight",221),e("Quote",222),e("IntlYen",255)})()},b7b8:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t1)){var n=this.route(e);if(!(n.length<2)){for(var i=[],o=0,r=0;r1e-8&&c>=s){var u=Math.max(0,s-a)/i[r];return{segmentStart:n[r],segmentEnd:n[r+1],lambda:u}}a=c}return{segmentEnd:n.pop(),segmentStart:n.pop(),lambda:1}}}},e.prototype.addHandle=function(e,t,n,i){var o=new u.SRoutingHandle;return o.kind=t,o.pointIndex=i,o.type=n,"target"===t&&e.id===u.edgeInProgressID&&(o.id=u.edgeInProgressTargetHandleID),e.add(o),o},e.prototype.getHandlePosition=function(e,t,n){switch(n.kind){case"source":return e.source instanceof u.SDanglingAnchor?e.source.position:t[0];case"target":return e.target instanceof u.SDanglingAnchor?e.target.position:t[t.length-1];default:var i=this.getInnerHandlePosition(e,t,n);if(void 0!==i)return i;if(n.pointIndex>=0&&n.pointIndexr(i))&&(i=c),l>n&&(void 0===o||l0&&this.applyInnerHandleMoves(e,n),this.cleanupRoutingPoints(e,e.routingPoints,!0,!0)},e.prototype.cleanupRoutingPoints=function(e,t,n,i){var o=new p(e.source,e.parent,"source"),r=new p(e.target,e.parent,"target");this.resetRoutingPointsOnReconnect(e,t,n,o,r)},e.prototype.resetRoutingPointsOnReconnect=function(e,t,n,i,o){if(0===t.length||e.source instanceof u.SDanglingAnchor||e.target instanceof u.SDanglingAnchor){var a=this.getOptions(e),s=this.calculateDefaultCorners(e,i,o,a);if(t.splice.apply(t,r([0,t.length],s)),n){var c=-2;e.children.forEach(function(n){n instanceof u.SRoutingHandle&&("target"===n.kind?n.pointIndex=t.length:"line"===n.kind&&n.pointIndex>=t.length?e.remove(n):c=Math.max(n.pointIndex,c))});for(var l=c;l-1&&(e.routingPoints=[],this.cleanupRoutingPoints(e,e.routingPoints,!0,!0)))},e.prototype.takeSnapshot=function(e){return{routingPoints:e.routingPoints.slice(),routingHandles:e.children.filter(function(e){return e instanceof u.SRoutingHandle}).map(function(e){return e}),routedPoints:this.route(e),router:this,source:e.source,target:e.target}},e.prototype.applySnapshot=function(e,t){e.routingPoints=t.routingPoints,e.removeAll(function(e){return e instanceof u.SRoutingHandle}),e.routerKind=t.router.kind,t.routingHandles.forEach(function(t){return e.add(t)}),t.source&&(e.sourceId=t.source.id),t.target&&(e.targetId=t.target.id),e.root.index.remove(e),e.root.index.add(e)},e.prototype.calculateDefaultCorners=function(e,t,n,i){var o=this.getSelfEdgeIndex(e);if(o>=0){var r=i.standardDistance,s=i.selfEdgeOffset*Math.min(t.bounds.width,t.bounds.height);switch(o%4){case 0:return[{x:t.get(a.RIGHT).x+r,y:t.get(a.RIGHT).y+s},{x:t.get(a.RIGHT).x+r,y:t.get(a.BOTTOM).y+r},{x:t.get(a.BOTTOM).x+s,y:t.get(a.BOTTOM).y+r}];case 1:return[{x:t.get(a.BOTTOM).x-s,y:t.get(a.BOTTOM).y+r},{x:t.get(a.LEFT).x-r,y:t.get(a.BOTTOM).y+r},{x:t.get(a.LEFT).x-r,y:t.get(a.LEFT).y+s}];case 2:return[{x:t.get(a.LEFT).x-r,y:t.get(a.LEFT).y-s},{x:t.get(a.LEFT).x-r,y:t.get(a.TOP).y-r},{x:t.get(a.TOP).x-s,y:t.get(a.TOP).y-r}];case 3:return[{x:t.get(a.TOP).x+s,y:t.get(a.TOP).y-r},{x:t.get(a.RIGHT).x+r,y:t.get(a.TOP).y-r},{x:t.get(a.RIGHT).x+r,y:t.get(a.RIGHT).y-s}]}}return[]},e.prototype.getSelfEdgeIndex=function(e){return e.source&&e.source===e.target?e.source.outgoingEdges.filter(function(t){return t.target===e.source}).indexOf(e):-1},i([s.inject(d.AnchorComputerRegistry),o("design:type",d.AnchorComputerRegistry)],e.prototype,"anchorRegistry",void 0),e=i([s.injectable()],e),e}();t.LinearEdgeRouter=f},b7ca:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("46cc"),a=n("d8f5"),s=n("9a1f"),c=n("ab71"),l=n("869e"),u=n("168d"),d=new i.ContainerModule(function(e){e(u.EdgeRouterRegistry).toSelf().inSingletonScope(),e(l.AnchorComputerRegistry).toSelf().inSingletonScope(),e(r.ManhattanEdgeRouter).toSelf().inSingletonScope(),e(o.TYPES.IEdgeRouter).toService(r.ManhattanEdgeRouter),e(o.TYPES.IAnchorComputer).to(s.ManhattanEllipticAnchor).inSingletonScope(),e(o.TYPES.IAnchorComputer).to(s.ManhattanRectangularAnchor).inSingletonScope(),e(o.TYPES.IAnchorComputer).to(s.ManhattanDiamondAnchor).inSingletonScope(),e(a.PolylineEdgeRouter).toSelf().inSingletonScope(),e(o.TYPES.IEdgeRouter).toService(a.PolylineEdgeRouter),e(o.TYPES.IAnchorComputer).to(c.EllipseAnchor),e(o.TYPES.IAnchorComputer).to(c.RectangleAnchor),e(o.TYPES.IAnchorComputer).to(c.DiamondAnchor)});t.default=d},b7d1:function(e,t,n){(function(t){function n(e,t){if(i("noDeprecation"))return e;var n=!1;function o(){if(!n){if(i("throwDeprecation"))throw new Error(t);i("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}return o}function i(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=n}).call(this,n("c8ba"))},b878:function(e,t,n){},b8c1:function(e,t,n){"use strict";t["a"]={data:function(){return{timer:null,prevent:!1,delay:200}},methods:{onClick:function(e,t){var n=this;this.timer=setTimeout(function(){n.prevent||t(e),n.prevent=!1},this.delay)},onDblClick:function(e,t){clearTimeout(this.timer),this.prevent=!0,t(e)}}}},b933:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n,i){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}var n=e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}});return n})},b967:function(e,t,n){"use strict";var i=n("0505"),o=n.n(i);o.a},ba33:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3");function o(e){if("function"===typeof e){var t=e;return t.name}if("symbol"===typeof e)return e.toString();t=e;return t}function r(e,t,n){var i="",o=n(e,t);return 0!==o.length&&(i="\nRegistered bindings:",o.forEach(function(e){var t="Object";null!==e.implementationType&&(t=u(e.implementationType)),i=i+"\n "+t,e.constraint.metaData&&(i=i+" - "+e.constraint.metaData)})),i}function a(e,t){return null!==e.parentRequest&&(e.parentRequest.serviceIdentifier===t||a(e.parentRequest,t))}function s(e){function t(e,n){void 0===n&&(n=[]);var i=o(e.serviceIdentifier);return n.push(i),null!==e.parentRequest?t(e.parentRequest,n):n}var n=t(e);return n.reverse().join(" --\x3e ")}function c(e){e.childRequests.forEach(function(e){if(a(e,e.serviceIdentifier)){var t=s(e);throw new Error(i.CIRCULAR_DEPENDENCY+" "+t)}c(e)})}function l(e,t){if(t.isTagged()||t.isNamed()){var n="",i=t.getNamedTag(),o=t.getCustomTags();return null!==i&&(n+=i.toString()+"\n"),null!==o&&o.forEach(function(e){n+=e.toString()+"\n"})," "+e+"\n "+e+" - "+n}return" "+e}function u(e){if(e.name)return e.name;var t=e.toString(),n=t.match(/^function\s*([^\s(]+)/);return n?n[1]:"Anonymous function: "+t}t.getServiceIdentifierAsString=o,t.listRegisteredBindingsForServiceIdentifier=r,t.circularDependencyToException=c,t.listMetadataForTarget=l,t.getFunctionName=u},ba8b:function(e,t,n){},bab1:function(e,t,n){},bafd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.context||document;if(!e)return null;var i=[],r=u((0,o.default)(e),i,n),a=void 0;return a=r?1===r.length?r[0]:r:d({type:"text",content:e},i,n),t.hooks&&t.hooks.create&&i.forEach(function(e){t.hooks.create(e)}),a};var i=n("861d"),o=c(i),r=n("2eed"),a=c(r),s=n("6592");function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t,n){return e instanceof Array&&e.length>0?e.map(function(e){return d(e,t,n)}):void 0}function d(e,t,n){var i=void 0;return i="text"===e.type?(0,s.createTextVNode)(e.content,n):(0,a.default)(e.name,h(e,n),u(e.children,t,n)),t.push(i),i}function h(e,t){var n={};if(!e.attrs)return n;var i=Object.keys(e.attrs).reduce(function(n,i){if("style"!==i&&"class"!==i){var o=(0,s.unescapeEntities)(e.attrs[i],t);n?n[i]=o:n=l({},i,o)}return n},null);i&&(n.attrs=i);var o=p(e);o&&(n.style=o);var r=f(e);return r&&(n.class=r),n}function p(e){try{return e.attrs.style.split(";").reduce(function(e,t){var n=t.split(":"),i=(0,s.transformName)(n[0].trim());if(i){var o=n[1].replace("!important","").trim();e?e[i]=o:e=l({},i,o)}return e},null)}catch(e){return null}}function f(e){try{return e.attrs.class.split(" ").reduce(function(e,t){return t=t.trim(),t&&(e?e[t]=!0:e=l({},t,!0)),e},null)}catch(e){return null}}},bb33:function(e,t,n){"use strict";var i=n("bee8"),o=n.n(i);o.a},bb59:function(e,t,n){},bb82:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}});return t})},bc63:function(e,t,n){},bcbd:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),c=n("510b"),l=n("9757"),u=n("2f3a"),d=n("3a92"),h=n("3623"),p=n("6923"),f=n("1417"),m=n("3b4c"),g=n("e45b"),v=n("fba3"),_=n("e629"),b=n("b669"),y=n("70d9"),M=n("38e8"),w=n("a5f4"),L=n("3585"),S=n("3585"),C=n("3ada"),E=n("4c18"),A=function(){function e(t,n){void 0===t&&(t=[]),void 0===n&&(n=[]),this.selectedElementsIDs=t,this.deselectedElementsIDs=n,this.kind=e.KIND}return e.KIND="elementSelected",e}();t.SelectAction=A;var T=function(){function e(t){void 0===t&&(t=!0),this.select=t,this.kind=e.KIND}return e.KIND="allSelected",e}();t.SelectAllAction=T;var O=function(){function e(t){void 0===t&&(t=""),this.requestId=t,this.kind=e.KIND}return e.create=function(){return new e(c.generateRequestId())},e.KIND="getSelection",e}();t.GetSelectionAction=O;var k=function(){function e(t,n){void 0===t&&(t=[]),this.selectedElementsIDs=t,this.responseId=n,this.kind=e.KIND}return e.KIND="selectionResult",e}();t.SelectionResult=k;var x=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n.selected=[],n.deselected=[],n}return i(t,e),t.prototype.execute=function(e){var t=this,n=e.root;return this.action.selectedElementsIDs.forEach(function(e){var i=n.index.getById(e);i instanceof d.SChildElement&&E.isSelectable(i)&&t.selected.push(i)}),this.action.deselectedElementsIDs.forEach(function(e){var i=n.index.getById(e);i instanceof d.SChildElement&&E.isSelectable(i)&&t.deselected.push(i)}),this.redo(e)},t.prototype.undo=function(e){for(var t=0,n=this.selected;t0&&n.push(new w.SwitchEditModeAction([],a))}else{n.push(new A([],r.map(function(e){return e.id})));a=r.filter(function(e){return e instanceof S.SRoutableElement}).map(function(e){return e.id});a.length>0&&n.push(new w.SwitchEditModeAction([],a))}}}return n},t.prototype.mouseMove=function(e,t){return this.hasDragged=!0,[]},t.prototype.mouseUp=function(e,t){if(0===t.button&&!this.hasDragged){var n=h.findParentByFeature(e,E.isSelectable);if(void 0!==n&&this.wasSelected)return[new A([n.id],[])]}return this.hasDragged=!1,[]},t.prototype.decorate=function(e,t){var n=h.findParentByFeature(t,E.isSelectable);return void 0!==n&&g.setClass(e,"selected",n.selected),e},o([s.inject(y.ButtonHandlerRegistry),s.optional(),r("design:type",y.ButtonHandlerRegistry)],t.prototype,"buttonHandlerRegistry",void 0),t}(m.MouseListener);t.SelectMouseListener=R;var z=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n.previousSelection={},n}return i(t,e),t.prototype.retrieveResult=function(e){var t=e.root.index.all().filter(function(e){return E.isSelectable(e)&&e.selected}).map(function(e){return e.id});return new k(_.toArray(t),this.action.requestId)},t.KIND=O.KIND,t=o([s.injectable(),a(0,s.inject(p.TYPES.Action)),r("design:paramtypes",[O])],t),t}(u.ModelRequestCommand);t.GetSelectionCommand=z;var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.keyDown=function(e,t){return b.matchesKeystroke(t,"KeyA","ctrlCmd")?[new T]:[]},t}(f.KeyListener);t.SelectKeyboardListener=P},bcc9:function(e,t,n){"use strict";var i,o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;nv&&(r.top=v-a),u<_?r.left=_:d>b&&(r.left=b-s),r}Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e["Start"]=1]="Start",e[e["End"]=2]="End",e[e["Move"]=3]="Move"}(i||(i={})),t.Draggable={bind:function(e,n,i,o){t.Draggable.update(e,n,i,o)},update:function(e,t,n,s){if(!t.value||!t.value.stopDragging){var c=t.value&&t.value.handle&&r(t.value.handle)||e;t&&t.value&&t.value.resetInitialPos&&(g(),_()),c.getAttribute("draggable")||(e.removeEventListener("mousedown",e["listener"]),c.addEventListener("mousedown",p),e.removeEventListener("touchstart",e["listener"]),c.addEventListener("touchstart",p,{passive:!1}),c.setAttribute("draggable","true"),e["listener"]=p,g(),_())}function l(n){n.preventDefault();var i=t.value&&t.value.stopDragging;if(!i){var o=b();o.startDragPosition&&o.initialMousePos||(g(n),o=b());var r=f(n),s=r.left-o.initialMousePos.left,c=r.top-o.initialMousePos.top,l={left:o.startDragPosition.left+s,top:o.startDragPosition.top+c},h=u(),p=e.getBoundingClientRect();h&&p&&(l=a(p,h,l.left,l.top,t.value.boundingRectMargin)),v({currentDragPosition:l}),d(),_(n)}}function u(){if(t.value)return t.value.boundingRect||t.value.boundingElement&&t.value.boundingElement.getBoundingClientRect()}function d(){var t=b();t.currentDragPosition&&(e.style.touchAction="none",e.style.position="fixed",e.style.left=t.currentDragPosition.left+"px",e.style.top=t.currentDragPosition.top+"px")}function h(e){e.preventDefault(),document.removeEventListener("mousemove",l),document.removeEventListener("mouseup",h),document.removeEventListener("touchmove",l),document.removeEventListener("touchend",h);var t=m();v({initialMousePos:void 0,startDragPosition:t,currentDragPosition:t}),_(e,i.End)}function p(e){v({initialMousePos:f(e)}),_(e,i.Start),document.addEventListener("mousemove",l),document.addEventListener("mouseup",h),document.addEventListener("touchmove",l),document.addEventListener("touchend",h)}function f(e){if(e instanceof MouseEvent)return{left:e.clientX,top:e.clientY};if(e instanceof TouchEvent){var t=e.changedTouches[e.changedTouches.length-1];return{left:t.clientX,top:t.clientY}}}function m(){var t=e.getBoundingClientRect();if(t.height&&t.width)return{left:t.left,top:t.top}}function g(e){var n=b(),i=t&&t.value&&t.value.initialPosition,o=n.initialPosition,r=m(),a=i||o||r;v({initialPosition:a,startDragPosition:a,currentDragPosition:a,initialMousePos:f(e)}),d()}function v(e){var t=b(),n=o(o({},t),e);c.setAttribute("draggable-state",JSON.stringify(n))}function _(e,n){var r=b(),a={x:0,y:0};r.currentDragPosition&&r.startDragPosition&&(a.x=r.currentDragPosition.left-r.startDragPosition.left,a.y=r.currentDragPosition.top-r.startDragPosition.top);var s=r.currentDragPosition&&o({},r.currentDragPosition);n===i.End?t.value&&t.value.onDragEnd&&r&&t.value.onDragEnd(a,s,e):n===i.Start?t.value&&t.value.onDragStart&&r&&t.value.onDragStart(a,s,e):t.value&&t.value.onPositionChange&&r&&t.value.onPositionChange(a,s,e)}function b(){return JSON.parse(c.getAttribute("draggable-state"))||{}}}}},be02:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),c=n("6923"),l=n("3864"),u=n("7b39"),d=function(e){function t(t,n){var i=e.call(this)||this;return t.forEach(function(e){return i.register(e.actionKind,e.factory())}),n.forEach(function(e){return i.initializeActionHandler(e)}),i}return i(t,e),t.prototype.initializeActionHandler=function(e){e.initialize(this)},t=o([s.injectable(),a(0,s.multiInject(c.TYPES.ActionHandlerRegistration)),a(0,s.optional()),a(1,s.multiInject(c.TYPES.IActionHandlerInitializer)),a(1,s.optional()),r("design:paramtypes",[Array,Array])],t),t}(l.MultiInstanceRegistry);function h(e,t,n){if("function"===typeof n){if(!u.isInjectable(n))throw new Error("Action handlers should be @injectable: "+n.name);e.isBound(n)||e.bind(n).toSelf()}e.bind(c.TYPES.ActionHandlerRegistration).toDynamicValue(function(e){return{actionKind:t,factory:function(){return e.container.get(n)}}})}t.ActionHandlerRegistry=d,t.configureActionHandler=h},be99:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t})},bee8:function(e,t,n){},c146:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("987d"),r=function(){function e(e,t){void 0===t&&(t=o.easeInOut),this.context=e,this.ease=t}return e.prototype.start=function(){var e=this;return new Promise(function(t,n){var i=void 0,o=0,r=function(n){var a;o++,void 0===i?(i=n,a=0):a=n-i;var s=Math.min(1,a/e.context.duration),c=e.tween(e.ease(s),e.context);e.context.modelChanged.update(c),1===s?(e.context.logger.log(e,1e3*o/e.context.duration+" fps"),t(c)):e.context.syncer.onNextFrame(r)};if(e.context.syncer.isAvailable())e.context.syncer.onNextFrame(r);else{var a=e.tween(1,e.context);t(a)}})},e}();t.Animation=r;var a=function(e){function t(t,n,i,r){void 0===i&&(i=[]),void 0===r&&(r=o.easeInOut);var a=e.call(this,n,r)||this;return a.model=t,a.context=n,a.components=i,a.ease=r,a}return i(t,e),t.prototype.include=function(e){return this.components.push(e),this},t.prototype.tween=function(e,t){for(var n=0,i=this.components;n=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var o=t.words[i];return 1===i.length?n?o[0]:o[1]:e+" "+t.correctGrammaticalCase(e,o)}},n=e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},c31b:function(e,t,n){"use strict";var i=n("66a6"),o=n.n(i);o.a},c3ea:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n,i){var o={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?o[n][0]:o[n][1]}function n(e){var t=e.substr(0,e.indexOf(" "));return o(t)?"a "+e:"an "+e}function i(e){var t=e.substr(0,e.indexOf(" "));return o(t)?"viru "+e:"virun "+e}function o(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,n=e/10;return o(0===t?n:t)}if(e<1e4){while(e>=10)e/=10;return o(e)}return e/=1e3,o(e)}var r=e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:i,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r})},c444:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("dd02"),c=n("510b"),l=n("9757"),u=n("c146"),d=n("5eb6"),h=n("e1c6"),p=n("6923"),f=n("2f3a"),m=function(){function e(t,n,i){this.elementId=t,this.newViewport=n,this.animate=i,this.kind=e.KIND}return e.KIND="viewport",e}();t.SetViewportAction=m;var g=function(){function e(t){void 0===t&&(t=""),this.requestId=t,this.kind=e.KIND}return e.create=function(){return new e(c.generateRequestId())},e.KIND="getViewport",e}();t.GetViewportAction=g;var v=function(){function e(t,n,i){this.viewport=t,this.canvasBounds=n,this.responseId=i,this.kind=e.KIND}return e.KIND="viewportResult",e}();t.ViewportResult=v;var _=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n.newViewport=t.newViewport,n}var n;return i(t,e),n=t,t.prototype.execute=function(e){var t=e.root,n=t.index.getById(this.action.elementId);if(n&&d.isViewport(n)){if(this.element=n,this.oldViewport={scroll:this.element.scroll,zoom:this.element.zoom},this.action.animate)return new y(this.element,this.oldViewport,this.newViewport,e).start();this.element.scroll=this.newViewport.scroll,this.element.zoom=this.newViewport.zoom}return t},t.prototype.undo=function(e){return new y(this.element,this.newViewport,this.oldViewport,e).start()},t.prototype.redo=function(e){return new y(this.element,this.oldViewport,this.newViewport,e).start()},t.prototype.merge=function(e,t){return!this.action.animate&&e instanceof n&&this.element===e.element&&(this.newViewport=e.newViewport,!0)},t.KIND=m.KIND,t=n=o([h.injectable(),a(0,h.inject(p.TYPES.Action)),r("design:paramtypes",[m])],t),t}(l.MergeableCommand);t.SetViewportCommand=_;var b=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.retrieveResult=function(e){var t,n=e.root;return t=d.isViewport(n)?{scroll:n.scroll,zoom:n.zoom}:{scroll:s.ORIGIN_POINT,zoom:1},new v(t,n.canvasBounds,this.action.requestId)},t.KIND=g.KIND,t=o([a(0,h.inject(p.TYPES.Action)),r("design:paramtypes",[g])],t),t}(f.ModelRequestCommand);t.GetViewportCommand=b;var y=function(e){function t(t,n,i,o){var r=e.call(this,o)||this;return r.element=t,r.oldViewport=n,r.newViewport=i,r.context=o,r.zoomFactor=Math.log(i.zoom/n.zoom),r}return i(t,e),t.prototype.tween=function(e,t){return this.element.scroll={x:(1-e)*this.oldViewport.scroll.x+e*this.newViewport.scroll.x,y:(1-e)*this.oldViewport.scroll.y+e*this.newViewport.scroll.y},this.element.zoom=this.oldViewport.zoom*Math.exp(e*this.zoomFactor),t.root},t}(u.Animation);t.ViewportAnimation=y},c4e6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("bcbd"),a=n("842c"),s=new i.ContainerModule(function(e,t,n){a.configureCommand({bind:e,isBound:n},r.SelectCommand),a.configureCommand({bind:e,isBound:n},r.SelectAllCommand),a.configureCommand({bind:e,isBound:n},r.GetSelectionCommand),e(o.TYPES.KeyListener).to(r.SelectKeyboardListener),e(o.TYPES.MouseListener).to(r.SelectMouseListener)});t.default=s},c4ec:function(e,t,n){var i=/([\w-]+)|=|(['"])([.\s\S]*?)\2/g,o=n("4047");e.exports=function(e){var t,n=0,r=!0,a={type:"tag",name:"",voidElement:!1,attrs:{},children:[]};return e.replace(i,function(i){if("="===i)return r=!0,void n++;r?0===n?((o[i]||"/"===e.charAt(e.length-2))&&(a.voidElement=!0),a.name=i):(a.attrs[t]=i.replace(/^['"]|['"]$/g,""),t=void 0):(t&&(a.attrs[t]=t),t=i),n++,r=!1}),a}},c51d:function(e,t,n){},c58e:function(e,t,n){},c5f4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NAMED_TAG="named",t.NAME_TAG="name",t.UNMANAGED_TAG="unmanaged",t.OPTIONAL_TAG="optional",t.INJECT_TAG="inject",t.MULTI_INJECT_TAG="multi_inject",t.TAGGED="inversify:tagged",t.TAGGED_PROP="inversify:tagged_props",t.PARAM_TYPES="inversify:paramtypes",t.DESIGN_PARAM_TYPES="design:paramtypes",t.POST_CONSTRUCT="post_construct"},c612:function(e,t,n){"use strict";var i=n("8b1b"),o=n.n(i);o.a},c622:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("77d3"),o=function(){function e(e,t,n,o,r){this.id=i.id(),this.serviceIdentifier=e,this.parentContext=t,this.parentRequest=n,this.target=r,this.childRequests=[],this.bindings=Array.isArray(o)?o:[o],this.requestScope=null===n?new Map:null}return e.prototype.addChildRequest=function(t,n,i){var o=new e(t,this.parentContext,this,n,i);return this.childRequests.push(o),o},e}();t.Request=o},c661:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n("e1c6"),r=function(){function e(){}return e.prototype.isAllowed=function(e){return!0},e=i([o.injectable()],e),e}();t.DefaultDiagramLocker=r},c7c3:function(e,t,n){"use strict";var i=n("3e33"),o=n.n(i);o.a},c807:function(e,t,n){"use strict";var i=n("1300"),o=n("e300"),r=n("183a"),a=n("4cdf"),s=n("0b2d"),c=n("9f5e"),l=n("a568"),u=n("1e8d"),d=n("cef7"),h=n("01d4"),p=n("06f8"),f=n("0af5"),m=n("f623"),g=n("f403"),v=n("4105"),_=n("3e6b"),b=n("5831"),y=n("a43f"),M=n("4a7d"),w=n("6c77"),L=0,S=1,C={MODIFYSTART:"modifystart",MODIFYEND:"modifyend"},E=function(e){function t(t,n,i){e.call(this,t),this.features=n,this.mapBrowserEvent=i}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(d["a"]),A=function(e){function t(t){var n;if(e.call(this,t),this.condition_=t.condition?t.condition:p["h"],this.defaultDeleteCondition_=function(e){return Object(p["a"])(e)&&Object(p["j"])(e)},this.deleteCondition_=t.deleteCondition?t.deleteCondition:this.defaultDeleteCondition_,this.insertVertexCondition_=t.insertVertexCondition?t.insertVertexCondition:p["c"],this.vertexFeature_=null,this.vertexSegments_=null,this.lastPixel_=[0,0],this.ignoreNextSingleClick_=!1,this.modified_=!1,this.rBush_=new M["a"],this.pixelTolerance_=void 0!==t.pixelTolerance?t.pixelTolerance:10,this.snappedToVertex_=!1,this.changingFeature_=!1,this.dragSegments_=[],this.overlay_=new _["a"]({source:new b["a"]({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.style?t.style:x(),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.SEGMENT_WRITERS_={Point:this.writePointGeometry_,LineString:this.writeLineStringGeometry_,LinearRing:this.writeLineStringGeometry_,Polygon:this.writePolygonGeometry_,MultiPoint:this.writeMultiPointGeometry_,MultiLineString:this.writeMultiLineStringGeometry_,MultiPolygon:this.writeMultiPolygonGeometry_,Circle:this.writeCircleGeometry_,GeometryCollection:this.writeGeometryCollectionGeometry_},this.source_=null,t.source?(this.source_=t.source,n=new o["a"](this.source_.getFeatures()),Object(u["a"])(this.source_,y["a"].ADDFEATURE,this.handleSourceAdd_,this),Object(u["a"])(this.source_,y["a"].REMOVEFEATURE,this.handleSourceRemove_,this)):n=t.features,!n)throw new Error("The modify interaction requires features or a source");this.features_=n,this.features_.forEach(this.addFeature_.bind(this)),Object(u["a"])(this.features_,r["a"].ADD,this.handleFeatureAdd_,this),Object(u["a"])(this.features_,r["a"].REMOVE,this.handleFeatureRemove_,this),this.lastPointerEvent_=null}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.addFeature_=function(e){var t=e.getGeometry();t&&t.getType()in this.SEGMENT_WRITERS_&&this.SEGMENT_WRITERS_[t.getType()].call(this,e,t);var n=this.getMap();n&&n.isRendered()&&this.getActive()&&this.handlePointerAtPixel_(this.lastPixel_,n),Object(u["a"])(e,h["a"].CHANGE,this.handleFeatureChange_,this)},t.prototype.willModifyFeatures_=function(e){this.modified_||(this.modified_=!0,this.dispatchEvent(new E(C.MODIFYSTART,this.features_,e)))},t.prototype.removeFeature_=function(e){this.removeFeatureSegmentData_(e),this.vertexFeature_&&0===this.features_.getLength()&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),Object(u["c"])(e,h["a"].CHANGE,this.handleFeatureChange_,this)},t.prototype.removeFeatureSegmentData_=function(e){var t=this.rBush_,n=[];t.forEach(function(t){e===t.feature&&n.push(t)});for(var i=n.length-1;i>=0;--i)t.remove(n[i])},t.prototype.setActive=function(t){this.vertexFeature_&&!t&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),e.prototype.setActive.call(this,t)},t.prototype.setMap=function(t){this.overlay_.setMap(t),e.prototype.setMap.call(this,t)},t.prototype.getOverlay=function(){return this.overlay_},t.prototype.handleSourceAdd_=function(e){e.feature&&this.features_.push(e.feature)},t.prototype.handleSourceRemove_=function(e){e.feature&&this.features_.remove(e.feature)},t.prototype.handleFeatureAdd_=function(e){this.addFeature_(e.element)},t.prototype.handleFeatureChange_=function(e){if(!this.changingFeature_){var t=e.target;this.removeFeature_(t),this.addFeature_(t)}},t.prototype.handleFeatureRemove_=function(e){var t=e.element;this.removeFeature_(t)},t.prototype.writePointGeometry_=function(e,t){var n=t.getCoordinates(),i={feature:e,geometry:t,segment:[n,n]};this.rBush_.insert(t.getExtent(),i)},t.prototype.writeMultiPointGeometry_=function(e,t){for(var n=t.getCoordinates(),i=0,o=n.length;i=0;--y)this.insertVertex_.apply(this,o[y])}return!!this.vertexFeature_},t.prototype.handleUpEvent=function(e){for(var t=this.dragSegments_.length-1;t>=0;--t){var n=this.dragSegments_[t][0],i=n.geometry;if(i.getType()===m["a"].CIRCLE){var o=i.getCenter(),r=n.featureSegments[0],a=n.featureSegments[1];r.segment[0]=r.segment[1]=o,a.segment[0]=a.segment[1]=o,this.rBush_.update(Object(f["m"])(o),r),this.rBush_.update(i.getExtent(),a)}else this.rBush_.update(Object(f["b"])(n.segment),n)}return this.modified_&&(this.dispatchEvent(new E(C.MODIFYEND,this.features_,e)),this.modified_=!1),!1},t.prototype.handlePointerMove_=function(e){this.lastPixel_=e.pixel,this.handlePointerAtPixel_(e.pixel,e.map)},t.prototype.handlePointerAtPixel_=function(e,t){var n=t.getCoordinateFromPixel(e),o=function(e,t){return O(n,e)-O(n,t)},r=Object(f["c"])(Object(f["m"])(n),t.getView().getResolution()*this.pixelTolerance_),a=this.rBush_,s=a.getInExtent(r);if(s.length>0){s.sort(o);var c=s[0],u=c.segment,d=k(n,c),h=t.getPixelFromCoordinate(d),p=Object(l["d"])(e,h);if(p<=this.pixelTolerance_){var g={};if(c.geometry.getType()===m["a"].CIRCLE&&c.index===S)this.snappedToVertex_=!0,this.createOrUpdateVertexFeature_(d);else{var v=t.getPixelFromCoordinate(u[0]),_=t.getPixelFromCoordinate(u[1]),b=Object(l["h"])(h,v),y=Object(l["h"])(h,_);p=Math.sqrt(Math.min(b,y)),this.snappedToVertex_=p<=this.pixelTolerance_,this.snappedToVertex_&&(d=b>y?u[1]:u[0]),this.createOrUpdateVertexFeature_(d);for(var M=1,w=s.length;M=0;--r)n=h[r],u=n[0],d=Object(i["c"])(u.feature),u.depth&&(d+="-"+u.depth.join("-")),d in p||(p[d]={}),0===n[1]?(p[d].right=u,p[d].index=u.index):1==n[1]&&(p[d].left=u,p[d].index=u.index+1);for(d in p){switch(l=p[d].right,s=p[d].left,a=p[d].index,c=a-1,u=void 0!==s?s:l,c<0&&(c=0),o=u.geometry,t=o.getCoordinates(),e=t,g=!1,o.getType()){case m["a"].MULTI_LINE_STRING:t[u.depth[0]].length>2&&(t[u.depth[0]].splice(a,1),g=!0);break;case m["a"].LINE_STRING:t.length>2&&(t.splice(a,1),g=!0);break;case m["a"].MULTI_POLYGON:e=e[u.depth[1]];case m["a"].POLYGON:e=e[u.depth[0]],e.length>4&&(a==e.length-1&&(a=0),e.splice(a,1),g=!0,0===a&&(e.pop(),e.push(e[0]),c=e.length-1));break;default:}if(g){this.setGeometryCoordinates_(o,t);var v=[];if(void 0!==s&&(this.rBush_.remove(s),v.push(s.segment[0])),void 0!==l&&(this.rBush_.remove(l),v.push(l.segment[1])),void 0!==s&&void 0!==l){var _={depth:u.depth,feature:u.feature,geometry:u.geometry,index:c,segment:v};this.rBush_.insert(Object(f["b"])(_.segment),_)}this.updateSegmentIndices_(o,a,u.depth,-1),this.vertexFeature_&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),h.length=0}}return g},t.prototype.setGeometryCoordinates_=function(e,t){this.changingFeature_=!0,e.setCoordinates(t),this.changingFeature_=!1},t.prototype.updateSegmentIndices_=function(e,t,n,i){this.rBush_.forEachInExtent(e.getExtent(),function(o){o.geometry===e&&(void 0===n||void 0===o.depth||Object(c["b"])(o.depth,n))&&o.index>t&&(o.index+=i)})},t}(v["b"]);function T(e,t){return e.index-t.index}function O(e,t){var n=t.geometry;if(n.getType()===m["a"].CIRCLE){var i=n;if(t.index===S){var o=Object(l["h"])(i.getCenter(),e),r=Math.sqrt(o)-i.getRadius();return r*r}}return Object(l["i"])(e,t.segment)}function k(e,t){var n=t.geometry;return n.getType()===m["a"].CIRCLE&&t.index===S?n.getClosestPoint(e):Object(l["b"])(e,t.segment)}function x(){var e=Object(w["b"])();return function(t,n){return e[m["a"].POINT]}}t["a"]=A},c862:function(e,t,n){},c8c0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){this.parentContext=e,this.rootRequest=t}return e}();t.Plan=i},c95e:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("f4cb"),a=n("0bd8"),s=n("842c"),c=n("be02"),l=n("ed4f"),u=n("c444"),d=n("559d"),h=new i.ContainerModule(function(e,t,n){e(o.TYPES.PopupVNodePostprocessor).to(a.PopupPositionUpdater).inSingletonScope(),e(o.TYPES.MouseListener).to(r.HoverMouseListener),e(o.TYPES.PopupMouseListener).to(r.PopupHoverMouseListener),e(o.TYPES.KeyListener).to(r.HoverKeyListener),e(o.TYPES.HoverState).toConstantValue({mouseOverTimer:void 0,mouseOutTimer:void 0,popupOpen:!1,previousPopupElement:void 0}),e(r.ClosePopupActionHandler).toSelf().inSingletonScope();var i={bind:e,isBound:n};s.configureCommand(i,r.HoverFeedbackCommand),s.configureCommand(i,r.SetPopupModelCommand),c.configureActionHandler(i,r.SetPopupModelCommand.KIND,r.ClosePopupActionHandler),c.configureActionHandler(i,l.FitToScreenCommand.KIND,r.ClosePopupActionHandler),c.configureActionHandler(i,l.CenterCommand.KIND,r.ClosePopupActionHandler),c.configureActionHandler(i,u.SetViewportCommand.KIND,r.ClosePopupActionHandler),c.configureActionHandler(i,d.MoveCommand.KIND,r.ClosePopupActionHandler)});t.default=h},c998:function(e,t,n){"use strict";var i=n("a16f"),o=n.n(i);o.a},c9c0:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +function t(e){return e%100===11||e%10!==1}function n(e,n,i,o){var r=e+" ";switch(i){case"s":return n||o?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?r+(n||o?"sekúndur":"sekúndum"):r+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?r+(n||o?"mínútur":"mínútum"):n?r+"mínúta":r+"mínútu";case"hh":return t(e)?r+(n||o?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return n?"dagur":o?"dag":"degi";case"dd":return t(e)?n?r+"dagar":r+(o?"daga":"dögum"):n?r+"dagur":r+(o?"dag":"degi");case"M":return n?"mánuður":o?"mánuð":"mánuði";case"MM":return t(e)?n?r+"mánuðir":r+(o?"mánuði":"mánuðum"):n?r+"mánuður":r+(o?"mánuð":"mánuði");case"y":return n||o?"ár":"ári";case"yy":return t(e)?r+(n||o?"ár":"árum"):r+(n||o?"ár":"ári")}}var i=e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return i})},c9f0:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t})},cac6:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return t})},cb6e:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__awaiter||function(e,t,n,i){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):o(e.value).then(a,s)}c((i=i.apply(e,t||[])).next())})},s=this&&this.__generator||function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return c([e,t])}}function c(r){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,i&&(o=2&r[0]?i["return"]:r[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=0})]}})})},t.prototype.getViewport=function(){return a(this,void 0,void 0,function(){var e;return s(this,function(t){switch(t.label){case 0:return[4,this.actionDispatcher.request(g.GetViewportAction.create())];case 1:return e=t.sent(),[2,{scroll:e.viewport.scroll,zoom:e.viewport.zoom,canvasBounds:e.canvasBounds}]}})})},t.prototype.submitModel=function(e,t,n){return a(this,void 0,void 0,function(){var i,o;return s(this,function(r){switch(r.label){case 0:return this.viewerOptions.needsClientLayout?[4,this.actionDispatcher.request(m.RequestBoundsAction.create(e))]:[3,3];case 1:return i=r.sent(),o=this.computedBoundsApplicator.apply(this.currentRoot,i),[4,this.doSubmitModel(e,!0,n,o)];case 2:return r.sent(),[3,5];case 3:return[4,this.doSubmitModel(e,t,n)];case 4:r.sent(),r.label=5;case 5:return[2]}})})},t.prototype.doSubmitModel=function(e,t,n,i){return a(this,void 0,void 0,function(){var o,r,a,c,l;return s(this,function(s){switch(s.label){case 0:if(void 0===this.layoutEngine)return[3,6];s.label=1;case 1:return s.trys.push([1,5,,6]),o=this.layoutEngine.layout(e,i),o instanceof Promise?[4,o]:[3,3];case 2:return e=s.sent(),[3,4];case 3:void 0!==o&&(e=o),s.label=4;case 4:return[3,6];case 5:return r=s.sent(),this.logger.error(this,r.toString(),r.stack),[3,6];case 6:return a=this.lastSubmittedModelType,this.lastSubmittedModelType=e.type,n&&n.kind===d.RequestModelAction.KIND&&n.requestId?(c=n,[4,this.actionDispatcher.dispatch(new d.SetModelAction(e,c.requestId))]):[3,8];case 7:return s.sent(),[3,12];case 8:return t&&e.type===a?(l=Array.isArray(t)?t:e,[4,this.actionDispatcher.dispatch(new y.UpdateModelAction(l,!0,n))]):[3,10];case 9:return s.sent(),[3,12];case 10:return[4,this.actionDispatcher.dispatch(new d.SetModelAction(e))];case 11:s.sent(),s.label=12;case 12:return[2]}})})},t.prototype.applyMatches=function(e){var t=this.currentRoot;return b.applyMatches(t,e),this.submitModel(t,e)},t.prototype.addElements=function(e){for(var t=[],n=0,i=e;n=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n("e45b"),r=n("e1c6"),a=n("3623"),s=function(){function e(){}return e.prototype.decorate=function(e,t){if(t.cssClasses)for(var n=0,i=t.cssClasses;n=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),c=n("510b"),l=n("9757"),u=n("6923"),d=n("3b4c"),h=n("1417"),p=n("b669"),f=n("4c18"),m=n("e629"),g=n("cc26"),v=function(){function e(t){this.labelId=t,this.kind=e.KIND}return e.KIND="EditLabel",e}();function _(e){return c.isAction(e)&&e.kind===v.KIND&&"labelId"in e}t.EditLabelAction=v,t.isEditLabelAction=_;var b=function(){function e(t,n){this.labelId=t,this.text=n,this.kind=e.KIND}return e.KIND="applyLabelEdit",e}();t.ApplyLabelEditAction=b;var y=function(){function e(){}return e}();t.ResolvedLabelEdit=y;var M=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){var t=e.root.index,n=t.getById(this.action.labelId);return n&&g.isEditableLabel(n)&&(this.resolvedLabelEdit={label:n,oldLabel:n.text,newLabel:this.action.text},n.text=this.action.text),e.root},t.prototype.undo=function(e){return this.resolvedLabelEdit&&(this.resolvedLabelEdit.label.text=this.resolvedLabelEdit.oldLabel),e.root},t.prototype.redo=function(e){return this.resolvedLabelEdit&&(this.resolvedLabelEdit.label.text=this.resolvedLabelEdit.newLabel),e.root},t.KIND=b.KIND,t=o([a(0,s.inject(u.TYPES.Action)),r("design:paramtypes",[b])],t),t}(l.Command);t.ApplyLabelEditCommand=M;var w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.doubleClick=function(e,t){var n=S(e);return n?[new v(n.id)]:[]},t}(d.MouseListener);t.EditLabelMouseListener=w;var L=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.keyDown=function(e,t){if(p.matchesKeystroke(t,"F2")){var n=m.toArray(e.index.all().filter(function(e){return f.isSelectable(e)&&e.selected})).map(S).filter(function(e){return void 0!==e});if(1===n.length)return[new v(n[0].id)]}return[]},t}(h.KeyListener);function S(e){return g.isEditableLabel(e)?e:g.isWithEditableLabel(e)&&e.editableLabel?e.editableLabel:void 0}t.EditLabelKeyListener=L,t.getEditableLabel=S},ce70:function(e,t,n){},cf13:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){this.str=e}return e.prototype.startsWith=function(e){return 0===this.str.indexOf(e)},e.prototype.endsWith=function(e){var t="",n=e.split("").reverse().join("");return t=this.str.split("").reverse().join(""),this.startsWith.call({str:t},n)},e.prototype.contains=function(e){return-1!==this.str.indexOf(e)},e.prototype.equals=function(e){return this.str===e},e.prototype.value=function(){return this.str},e}();t.QueryableString=i},cf61:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),c=n("dd02"),l=n("c146"),u=n("9757"),d=n("e7fa"),h=n("3a92"),p=n("559d"),f=n("7d36"),m=n("a0af"),g=n("66f9"),v=n("3b62"),_=n("4c18"),b=n("d084"),y=n("0f4c"),M=n("6923"),w=n("5eb6"),L=n("168d"),S=n("3585"),C=function(){function e(t,n,i){void 0===n&&(n=!0),this.animate=n,this.cause=i,this.kind=e.KIND,void 0!==t.id?this.newRoot=t:this.matches=t}return e.KIND="updateModel",e}();t.UpdateModelAction=C;var E=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){var t;return void 0!==this.action.newRoot?t=e.modelFactory.createRoot(this.action.newRoot):(t=e.modelFactory.createRoot(e.root),void 0!==this.action.matches&&this.applyMatches(t,this.action.matches,e)),this.oldRoot=e.root,this.newRoot=t,this.performUpdate(this.oldRoot,this.newRoot,e)},t.prototype.performUpdate=function(e,t,n){if(void 0!==this.action.animate&&!this.action.animate||e.id!==t.id)return e.type===t.type&&c.isValidDimension(e.canvasBounds)&&(t.canvasBounds=e.canvasBounds),w.isViewport(e)&&w.isViewport(t)&&(t.zoom=e.zoom,t.scroll=e.scroll),t;var i=void 0;if(void 0===this.action.matches){var o=new b.ModelMatcher;i=o.match(e,t)}else i=this.convertToMatchResult(this.action.matches,e,t);var r=this.computeAnimation(t,i,n);return r instanceof l.Animation?r.start():r},t.prototype.applyMatches=function(e,t,n){for(var i=e.index,o=0,r=t;o=2?new l.CompoundAnimation(e,n,r):1===r.length?r[0]:e},t.prototype.updateElement=function(e,t,n){if(m.isLocateable(e)&&m.isLocateable(t)){var i=e.position,o=t.position;c.almostEquals(i.x,o.x)&&c.almostEquals(i.y,o.y)||(void 0===n.moves&&(n.moves=[]),n.moves.push({element:t,fromPosition:i,toPosition:o}),t.position=i)}g.isSizeable(e)&&g.isSizeable(t)&&(c.isValidDimension(t.bounds)?c.almostEquals(e.bounds.width,t.bounds.width)&&c.almostEquals(e.bounds.height,t.bounds.height)||(void 0===n.resizes&&(n.resizes=[]),n.resizes.push({element:t,fromDimension:{width:e.bounds.width,height:e.bounds.height},toDimension:{width:t.bounds.width,height:t.bounds.height}})):t.bounds={x:t.bounds.x,y:t.bounds.y,width:e.bounds.width,height:e.bounds.height}),e instanceof S.SRoutableElement&&t instanceof S.SRoutableElement&&this.edgeRouterRegistry&&(void 0===n.edgeMementi&&(n.edgeMementi=[]),n.edgeMementi.push({edge:t,before:this.takeSnapshot(e),after:this.takeSnapshot(t)})),_.isSelectable(e)&&_.isSelectable(t)&&(t.selected=e.selected),e instanceof h.SModelRoot&&t instanceof h.SModelRoot&&(t.canvasBounds=e.canvasBounds),e instanceof v.ViewportRootElement&&t instanceof v.ViewportRootElement&&(t.scroll=e.scroll,t.zoom=e.zoom)},t.prototype.takeSnapshot=function(e){var t=this.edgeRouterRegistry.get(e.routerKind);return t.takeSnapshot(e)},t.prototype.createAnimations=function(e,t,n){var i=[];if(e.fades.length>0&&i.push(new d.FadeAnimation(t,e.fades,n,!0)),void 0!==e.moves&&e.moves.length>0){for(var o=new Map,r=0,a=e.moves;r0){for(var c=new Map,l=0,u=e.resizes;l0&&i.push(new p.MorphEdgesAnimation(t,e.edgeMementi,n,!1)),i},t.prototype.undo=function(e){return this.performUpdate(this.newRoot,this.oldRoot,e)},t.prototype.redo=function(e){return this.performUpdate(this.oldRoot,this.newRoot,e)},t.KIND=C.KIND,o([s.inject(L.EdgeRouterRegistry),s.optional(),r("design:type",L.EdgeRouterRegistry)],t.prototype,"edgeRouterRegistry",void 0),t=o([s.injectable(),a(0,s.inject(M.TYPES.Action)),r("design:paramtypes",[C])],t),t}(u.Command);t.UpdateModelCommand=E},cf611:function(e,t,n){"use strict";var i=n("8e08"),o=n.n(i);o.a},cf7c:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,r=e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return r})},cf81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e34e"),o=n("451f"),r=function(){function e(e){this._binding=e}return e.prototype.when=function(e){return this._binding.constraint=e,new i.BindingOnSyntax(this._binding)},e.prototype.whenTargetNamed=function(e){return this._binding.constraint=o.namedConstraint(e),new i.BindingOnSyntax(this._binding)},e.prototype.whenTargetIsDefault=function(){return this._binding.constraint=function(e){var t=null!==e.target&&!e.target.isNamed()&&!e.target.isTagged();return t},new i.BindingOnSyntax(this._binding)},e.prototype.whenTargetTagged=function(e,t){return this._binding.constraint=o.taggedConstraint(e)(t),new i.BindingOnSyntax(this._binding)},e.prototype.whenInjectedInto=function(e){return this._binding.constraint=function(t){return o.typeConstraint(e)(t.parentRequest)},new i.BindingOnSyntax(this._binding)},e.prototype.whenParentNamed=function(e){return this._binding.constraint=function(t){return o.namedConstraint(e)(t.parentRequest)},new i.BindingOnSyntax(this._binding)},e.prototype.whenParentTagged=function(e,t){return this._binding.constraint=function(n){return o.taggedConstraint(e)(t)(n.parentRequest)},new i.BindingOnSyntax(this._binding)},e.prototype.whenAnyAncestorIs=function(e){return this._binding.constraint=function(t){return o.traverseAncerstors(t,o.typeConstraint(e))},new i.BindingOnSyntax(this._binding)},e.prototype.whenNoAncestorIs=function(e){return this._binding.constraint=function(t){return!o.traverseAncerstors(t,o.typeConstraint(e))},new i.BindingOnSyntax(this._binding)},e.prototype.whenAnyAncestorNamed=function(e){return this._binding.constraint=function(t){return o.traverseAncerstors(t,o.namedConstraint(e))},new i.BindingOnSyntax(this._binding)},e.prototype.whenNoAncestorNamed=function(e){return this._binding.constraint=function(t){return!o.traverseAncerstors(t,o.namedConstraint(e))},new i.BindingOnSyntax(this._binding)},e.prototype.whenAnyAncestorTagged=function(e,t){return this._binding.constraint=function(n){return o.traverseAncerstors(n,o.taggedConstraint(e)(t))},new i.BindingOnSyntax(this._binding)},e.prototype.whenNoAncestorTagged=function(e,t){return this._binding.constraint=function(n){return!o.traverseAncerstors(n,o.taggedConstraint(e)(t))},new i.BindingOnSyntax(this._binding)},e.prototype.whenAnyAncestorMatches=function(e){return this._binding.constraint=function(t){return o.traverseAncerstors(t,e)},new i.BindingOnSyntax(this._binding)},e.prototype.whenNoAncestorMatches=function(e){return this._binding.constraint=function(t){return!o.traverseAncerstors(t,e)},new i.BindingOnSyntax(this._binding)},e}();t.BindingWhenSyntax=r},cf98:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("3a92"),r=n("3b4c"),a=n("3623"),s=n("c444"),c=n("5eb6"),l=n("a0af"),u=n("3585");function d(e){return"scroll"in e}t.isScrollable=d;var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.mouseDown=function(e,t){var n=a.findParentByFeature(e,l.isMoveable);if(void 0===n&&!(e instanceof u.SRoutingHandle)){var i=a.findParentByFeature(e,c.isViewport);this.lastScrollPosition=i?{x:t.pageX,y:t.pageY}:void 0}return[]},t.prototype.mouseMove=function(e,t){if(0===t.buttons)this.mouseUp(e,t);else if(this.lastScrollPosition){var n=a.findParentByFeature(e,c.isViewport);if(n){var i=(t.pageX-this.lastScrollPosition.x)/n.zoom,o=(t.pageY-this.lastScrollPosition.y)/n.zoom,r={scroll:{x:n.scroll.x-i,y:n.scroll.y-o},zoom:n.zoom};return this.lastScrollPosition={x:t.pageX,y:t.pageY},[new s.SetViewportAction(n.id,r,!1)]}}return[]},t.prototype.mouseEnter=function(e,t){return e instanceof o.SModelRoot&&0===t.buttons&&this.mouseUp(e,t),[]},t.prototype.mouseUp=function(e,t){return this.lastScrollPosition=void 0,[]},t}(r.MouseListener);t.ScrollMouseListener=h},cfbe:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}});return t})},d084:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("3a92");function o(e,t){for(var n in e)e.hasOwnProperty(n)&&t(n,e[n])}t.forEachMatch=o;var r=function(){function e(){}return e.prototype.match=function(e,t){var n={};return this.matchLeft(e,n),this.matchRight(t,n),n},e.prototype.matchLeft=function(e,t,n){var o=t[e.id];if(void 0!==o?(o.left=e,o.leftParentId=n):(o={left:e,leftParentId:n},t[e.id]=o),i.isParent(e))for(var r=0,a=e.children;r=0&&(void 0!==a.right&&a.leftParentId===a.rightParentId?(c.children.splice(l,1,a.right),s=!0):c.children.splice(l,1)),n.remove(a.left)}}if(!s&&void 0!==a.right&&void 0!==a.rightParentId){var u=n.getById(a.rightParentId);void 0!==u&&(void 0===u.children&&(u.children=[]),u.children.push(a.right))}}}t.ModelMatcher=r,t.applyMatches=a},d0af:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"},i=e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}});return i})},d0b3:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var o=t.words[i];return 1===i.length?n?o[0]:o[1]:e+" "+t.correctGrammaticalCase(e,o)}},n=e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".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:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra 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če u] LT",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},d14a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("a406"),a=n("0a28"),s=new i.ContainerModule(function(e){e(a.CommandPalette).toSelf().inSingletonScope(),e(o.TYPES.IUIExtension).toService(a.CommandPalette),e(o.TYPES.KeyListener).to(a.CommandPaletteKeyListener),e(r.CommandPaletteActionProviderRegistry).toSelf().inSingletonScope(),e(o.TYPES.ICommandPaletteActionProviderRegistry).toService(r.CommandPaletteActionProviderRegistry)});t.default=s},d17b:function(e,t,n){e.exports=n("e372").Transform},d18c:function(e,t,n){"use strict";var i=n("943d"),o=n.n(i);o.a},d204:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("1979"),o=n("66d7");function r(e,t){return function(n,r,a){var s=new i.Metadata(e,t);"number"===typeof a?o.tagParameter(n,r,a,s):o.tagProperty(n,r,s)}}t.tagged=r},d485:function(e,t,n){e.exports=r;var i=n("faa1").EventEmitter,o=n("3fb5");function r(){i.call(this)}o(r,i),r.Readable=n("e372"),r.Writable=n("2c63"),r.Duplex=n("0960"),r.Transform=n("d17b"),r.PassThrough=n("c2ae"),r.Stream=r,r.prototype.pipe=function(e,t){var n=this;function o(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function r(){n.readable&&n.resume&&n.resume()}n.on("data",o),e.on("drain",r),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",c));var a=!1;function s(){a||(a=!0,e.end())}function c(){a||(a=!0,"function"===typeof e.destroy&&e.destroy())}function l(e){if(u(),0===i.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",o),e.removeListener("drain",r),n.removeListener("end",s),n.removeListener("close",c),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",l),e.on("error",l),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},d60a:function(e,t){e.exports=function(e){return e&&"object"===typeof e&&"function"===typeof e.copy&&"function"===typeof e.fill&&"function"===typeof e.readUInt8}},d631:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function i(e){return e>1&&e<5}function o(e,t,n,o){var r=e+" ";switch(n){case"s":return t||o?"pár sekúnd":"pár sekundami";case"ss":return t||o?r+(i(e)?"sekundy":"sekúnd"):r+"sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?r+(i(e)?"minúty":"minút"):r+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?r+(i(e)?"hodiny":"hodín"):r+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?r+(i(e)?"dni":"dní"):r+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?r+(i(e)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?r+(i(e)?"roky":"rokov"):r+"rokmi"}}var r=e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r})},d662:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},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}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}});return t})},d675:function(e,t,n){},d6b8:function(e,t,n){(function(e,t){t(n("f333"))})(0,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}}var n=e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".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:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. 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:case 3:return"[prošlu] dddd [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}});return n})},d6e2:function(e,t,n){"use strict";var i=n("bab1"),o=n.n(i);o.a},d741:function(e,t,n){},d752:function(e,t,n){var i=n("7726").parseFloat,o=n("aa77").trim;e.exports=1/i(n("fdef")+"-0")!==-1/0?function(e){var t=o(String(e),3),n=i(t);return 0===n&&"-"==t.charAt(0)?-0:n}:i},d7e6:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function n(e,t,n,i){var o={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return i?o[n][0]:t?o[n][0]:o[n][1]}return t})},d8f5:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),s=n("dd02"),c=n("3585"),l=n("869e"),u=n("b7b8"),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n;return i(t,e),n=t,Object.defineProperty(t.prototype,"kind",{get:function(){return n.KIND},enumerable:!0,configurable:!0}),t.prototype.getOptions=function(e){return{minimalPointDistance:2,removeAngleThreshold:.1,standardDistance:20,selfEdgeOffset:.25}},t.prototype.route=function(e){var t,n,i=e.source,o=e.target;if(void 0===i||void 0===o)return[];var r=this.getOptions(e),a=e.routingPoints.length>0?e.routingPoints:[];this.cleanupRoutingPoints(e,a,!1,!1);var c=void 0!==a?a.length:0;if(0===c){var l=s.center(o.bounds);t=this.getTranslatedAnchor(i,l,o.parent,e,e.sourceAnchorCorrection);var u=s.center(i.bounds);n=this.getTranslatedAnchor(o,u,i.parent,e,e.targetAnchorCorrection)}else{var d=a[0];t=this.getTranslatedAnchor(i,d,e.parent,e,e.sourceAnchorCorrection);var h=a[c-1];n=this.getTranslatedAnchor(o,h,e.parent,e,e.targetAnchorCorrection)}var p=[];p.push({kind:"source",x:t.x,y:t.y});for(var f=0;f0&&f=r.minimalPointDistance+(e.sourceAnchorCorrection||0)||f===c-1&&s.maxDistance(m,n)>=r.minimalPointDistance+(e.targetAnchorCorrection||0))&&p.push({kind:"linear",x:m.x,y:m.y,pointIndex:f})}return p.push({kind:"target",x:n.x,y:n.y}),this.filterEditModeHandles(p,e,r)},t.prototype.filterEditModeHandles=function(e,t,n){if(0===t.children.length)return e;var i=0,o=function(){var o=e[i];if(void 0!==o.pointIndex){var r=t.children.find(function(e){return e instanceof c.SRoutingHandle&&"junction"===e.kind&&e.pointIndex===o.pointIndex});if(void 0!==r&&r.editMode&&i>0&&ir)&&e.pointIndex++}),n.addHandle(e,"line","volatile-routing-point",r),n.addHandle(e,"line","volatile-routing-point",r+1),r++),r>=0&&r-1?setImmediate:o.nextTick;b.WritableState=_;var c=Object.create(n("3a7c"));c.inherits=n("3fb5");var l={deprecate:n("b7d1")},u=n("429b"),d=n("a8f0").Buffer,h=i.Uint8Array||function(){};function p(e){return d.from(e)}function f(e){return d.isBuffer(e)||e instanceof h}var m,g=n("4681");function v(){}function _(e,t){a=a||n("b19a"),e=e||{};var i=t instanceof a;this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var o=e.highWaterMark,s=e.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:i&&(s||0===s)?s:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var l=!1===e.decodeStrings;this.decodeStrings=!l,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){A(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function b(e){if(a=a||n("b19a"),!m.call(b,this)&&!(this instanceof a))return new b(e);this._writableState=new _(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),u.call(this)}function y(e,t){var n=new Error("write after end");e.emit("error",n),o.nextTick(t,n)}function M(e,t,n,i){var r=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"===typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o.nextTick(i,a),r=!1),r}function w(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=d.from(t,n)),t}function L(e,t,n,i,o,r){if(!n){var a=w(t,i,o);i!==a&&(n=!0,o="buffer",i=a)}var s=t.objectMode?1:i.length;t.length+=s;var c=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(e,t,n){var i=this._writableState;"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||i.finished||P(this,i,n)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),b.prototype.destroy=g.destroy,b.prototype._undestroy=g.undestroy,b.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n("4362"),n("c8ba"))},dc23b:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},dd02:function(e,t,n){"use strict";function i(e,t){return{x:e.x+t.x,y:e.y+t.y}}function o(e,t){return{x:e.x-t.x,y:e.y-t.y}}function r(e){return e.width>=0&&e.height>=0}function a(e){return"x"in e&&"y"in e&&"width"in e&&"height"in e}function s(e,n){if(!r(e))return r(n)?n:t.EMPTY_BOUNDS;if(!r(n))return e;var i=Math.min(e.x,n.x),o=Math.min(e.y,n.y),a=Math.max(e.x+(e.width>=0?e.width:0),n.x+(n.width>=0?n.width:0)),s=Math.max(e.y+(e.height>=0?e.height:0),n.y+(n.height>=0?n.height:0));return{x:i,y:o,width:a-i,height:s-o}}function c(e,t){return{x:e.x+t.x,y:e.y+t.y,width:e.width,height:e.height}}function l(e){return{x:e.x+(e.width>=0?.5*e.width:0),y:e.y+(e.height>=0?.5*e.height:0)}}function u(e,t){var n={x:e.x>t.x?t.x:e.x,y:e.y>t.y?t.y:e.y,width:Math.abs(t.x-e.x),height:Math.abs(t.y-e.y)};return l(n)}function d(e,t){return t.x>=e.x&&t.x<=e.x+e.width&&t.y>=e.y&&t.y<=e.y+e.height}function h(e,t){var n=t.x-e.x,i=t.y-e.y;return Math.sqrt(n*n+i*i)}function p(e,t){return Math.abs(t.x-e.x)+Math.abs(t.y-e.y)}function f(e,t){return Math.max(Math.abs(t.x-e.x),Math.abs(t.y-e.y))}function m(e){return Math.atan2(e.y,e.x)}function g(e,t){var n=Math.sqrt((e.x*e.x+e.y*e.y)*(t.x*t.x+t.y*t.y));if(isNaN(n)||0===n)return NaN;var i=e.x*t.x+e.y*t.y;return Math.acos(i/n)}function v(e,t,n){var r=o(t,e),a=_(r),s={x:a.x*n,y:a.y*n};return i(e,s)}function _(e){var n=b(e);return 0===n||1===n?t.ORIGIN_POINT:{x:e.x/n,y:e.y/n}}function b(e){return Math.sqrt(Math.pow(e.x,2)+Math.pow(e.y,2))}function y(e){return 180*e/Math.PI}function M(e){return e*Math.PI/180}function w(e,t){return Math.abs(e-t)<.001}function L(e,t,n){return{x:(1-n)*e.x+n*t.x,y:(1-n)*e.y+n*t.y}}Object.defineProperty(t,"__esModule",{value:!0}),t.ORIGIN_POINT=Object.freeze({x:0,y:0}),t.add=i,t.subtract=o,t.EMPTY_DIMENSION=Object.freeze({width:-1,height:-1}),t.isValidDimension=r,t.EMPTY_BOUNDS=Object.freeze({x:0,y:0,width:-1,height:-1}),t.isBounds=a,t.combine=s,t.translate=c,t.center=l,t.centerOfLine=u,t.includes=d,function(e){e[e["left"]=0]="left",e[e["right"]=1]="right",e[e["up"]=2]="up",e[e["down"]=3]="down"}(t.Direction||(t.Direction={})),t.euclideanDistance=h,t.manhattanDistance=p,t.maxDistance=f,t.angleOfPoint=m,t.angleBetweenPoints=g,t.shiftTowards=v,t.normalize=_,t.magnitude=b,t.toDegrees=y,t.toRadians=M,t.almostEquals=w,t.linear=L;var S=function(){function e(e){this.bounds=e}return Object.defineProperty(e.prototype,"topPoint",{get:function(){return{x:this.bounds.x+this.bounds.width/2,y:this.bounds.y}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rightPoint",{get:function(){return{x:this.bounds.x+this.bounds.width,y:this.bounds.y+this.bounds.height/2}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomPoint",{get:function(){return{x:this.bounds.x+this.bounds.width/2,y:this.bounds.y+this.bounds.height}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftPoint",{get:function(){return{x:this.bounds.x,y:this.bounds.y+this.bounds.height/2}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topRightSideLine",{get:function(){return new C(this.topPoint,this.rightPoint)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topLeftSideLine",{get:function(){return new C(this.topPoint,this.leftPoint)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomRightSideLine",{get:function(){return new C(this.bottomPoint,this.rightPoint)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomLeftSideLine",{get:function(){return new C(this.bottomPoint,this.leftPoint)},enumerable:!0,configurable:!0}),e.prototype.closestSideLine=function(e){var t=l(this.bounds);return e.x>t.x?e.y>t.y?this.bottomRightSideLine:this.topRightSideLine:e.y>t.y?this.bottomLeftSideLine:this.topLeftSideLine},e}();t.Diamond=S;var C=function(){function e(e,t){this.p1=e,this.p2=t}return Object.defineProperty(e.prototype,"a",{get:function(){return this.p1.y-this.p2.y},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"b",{get:function(){return this.p2.x-this.p1.x},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"c",{get:function(){return this.p2.x*this.p1.y-this.p1.x*this.p2.y},enumerable:!0,configurable:!0}),e}();function E(e,t){return{x:(e.c*t.b-t.c*e.b)/(e.a*t.b-t.a*e.b),y:(e.a*t.c-t.a*e.c)/(e.a*t.b-t.a*e.b)}}t.PointToPointLine=C,t.intersection=E},dd7b:function(e,t,n){"use strict";function i(e,t,n,i,o){var r=void 0===t?void 0:t.key;return{sel:e,data:t,children:n,text:i,elm:o,key:r}}n.r(t);var o=i,r=Array.isArray;function a(e){return"string"===typeof e||"number"===typeof e}function s(e){return document.createElement(e)}function c(e,t){return document.createElementNS(e,t)}function l(e){return document.createTextNode(e)}function u(e){return document.createComment(e)}function d(e,t,n){e.insertBefore(t,n)}function h(e,t){e.removeChild(t)}function p(e,t){e.appendChild(t)}function f(e){return e.parentNode}function m(e){return e.nextSibling}function g(e){return e.tagName}function v(e,t){e.textContent=t}function _(e){return e.textContent}function b(e){return 1===e.nodeType}function y(e){return 3===e.nodeType}function M(e){return 8===e.nodeType}var w={createElement:s,createElementNS:c,createTextNode:l,createComment:u,insertBefore:d,removeChild:h,appendChild:p,parentNode:f,nextSibling:m,tagName:g,setTextContent:v,getTextContent:_,isElement:b,isText:y,isComment:M},L=w;function S(e,t,n){if(e.ns="http://www.w3.org/2000/svg","foreignObject"!==n&&void 0!==t)for(var i=0;i0?u:l.length,f=d>0?d:l.length,m=-1!==u||-1!==d?l.slice(0,Math.min(p,f)):l,g=e.elm=x(i)&&x(n=i.ns)?c.createElementNS(n,m):c.createElement(m);for(p0&&g.setAttribute("class",l.slice(f+1).replace(/\./g," ")),n=0;nd?(s=null==n[_+1]?null:n[_+1].elm,p(e,s,n,u,_,i)):m(e,t,l,d))}function v(e,t,n){var i,o;x(i=t.data)&&x(o=i.hook)&&x(i=o.prepatch)&&i(e,t);var r=t.elm=e.elm,a=e.children,l=t.children;if(e!==t){if(void 0!==t.data){for(i=0;i=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),s=n("6923"),c=n("1590"),l=n("1417"),u=n("b669"),d=function(){function e(){this.tools=[],this.defaultTools=[],this.actives=[]}return Object.defineProperty(e.prototype,"managedTools",{get:function(){return this.defaultTools.concat(this.tools)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeTools",{get:function(){return this.actives},enumerable:!0,configurable:!0}),e.prototype.disableActiveTools=function(){this.actives.forEach(function(e){return e.disable()}),this.actives.splice(0,this.actives.length)},e.prototype.enableDefaultTools=function(){this.enable(this.defaultTools.map(function(e){return e.id}))},e.prototype.enable=function(e){var t=this;this.disableActiveTools();var n=e.map(function(e){return t.tool(e)});n.forEach(function(e){void 0!==e&&(e.enable(),t.actives.push(e))})},e.prototype.tool=function(e){return this.managedTools.find(function(t){return t.id===e})},e.prototype.registerDefaultTools=function(){for(var e=[],t=0;t=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),a=n("302f"),s=n("3a92"),c=n("3623"),l=n("47b7"),u=n("38e8"),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.defaultGraphFeatures=a.createFeatureSet(l.SGraph.DEFAULT_FEATURES),t.defaultNodeFeatures=a.createFeatureSet(l.SNode.DEFAULT_FEATURES),t.defaultPortFeatures=a.createFeatureSet(l.SPort.DEFAULT_FEATURES),t.defaultEdgeFeatures=a.createFeatureSet(l.SEdge.DEFAULT_FEATURES),t.defaultLabelFeatures=a.createFeatureSet(l.SLabel.DEFAULT_FEATURES),t.defaultCompartmentFeatures=a.createFeatureSet(l.SCompartment.DEFAULT_FEATURES),t.defaultButtonFeatures=a.createFeatureSet(u.SButton.DEFAULT_FEATURES),t}return i(t,e),t.prototype.createElement=function(e,t){var n;if(this.registry.hasKey(e.type)){var i=this.registry.get(e.type,void 0);if(!(i instanceof s.SChildElement))throw new Error("Element with type "+e.type+" was expected to be an SChildElement.");n=i}else this.isNodeSchema(e)?(n=new l.SNode,n.features=this.defaultNodeFeatures):this.isPortSchema(e)?(n=new l.SPort,n.features=this.defaultPortFeatures):this.isEdgeSchema(e)?(n=new l.SEdge,n.features=this.defaultEdgeFeatures):this.isLabelSchema(e)?(n=new l.SLabel,n.features=this.defaultLabelFeatures):this.isCompartmentSchema(e)?(n=new l.SCompartment,n.features=this.defaultCompartmentFeatures):this.isButtonSchema(e)?(n=new u.SButton,n.features=this.defaultButtonFeatures):n=new s.SChildElement;return this.initializeChild(n,e,t)},t.prototype.createRoot=function(e){var t;if(this.registry.hasKey(e.type)){var n=this.registry.get(e.type,void 0);if(!(n instanceof s.SModelRoot))throw new Error("Element with type "+e.type+" was expected to be an SModelRoot.");t=n}else this.isGraphSchema(e)?(t=new l.SGraph,t.features=this.defaultGraphFeatures):t=new s.SModelRoot;return this.initializeRoot(t,e)},t.prototype.isGraphSchema=function(e){return"graph"===c.getBasicType(e)},t.prototype.isNodeSchema=function(e){return"node"===c.getBasicType(e)},t.prototype.isPortSchema=function(e){return"port"===c.getBasicType(e)},t.prototype.isEdgeSchema=function(e){return"edge"===c.getBasicType(e)},t.prototype.isLabelSchema=function(e){return"label"===c.getBasicType(e)},t.prototype.isCompartmentSchema=function(e){return"comp"===c.getBasicType(e)},t.prototype.isButtonSchema=function(e){return"button"===c.getBasicType(e)},t=o([r.injectable()],t),t}(a.SModelFactory);t.SGraphFactory=d},e00b:function(e,t,n){"use strict";var i=function(){var e,t,n=this,i=n.$createElement,o=n._self._c||i;return null!==n.dataSummary?o("div",{staticClass:"hv-histogram-container",class:"hv-histogram-"+n.direction,style:(e={},e["min-"+n.colormapStyle]=Math.max(4*n.dataSummary.histogram.length,256)+"px",e),on:{mouseleave:function(e){n.tooltips&&n.setInfoShowed(null)}}},[n.isHorizontal?[n.hasHistogram?o("div",{staticClass:"hv-histogram",class:[null!==n.colormap?"k-with-colormap":""]},n._l(n.dataSummary.histogram,function(e,t){return o("div",{key:t,staticClass:"hv-histogram-col",style:{width:n.histogramWidth+"%"},on:{mouseover:function(e){n.infoShowed={index:t,categories:n.dataSummary.categories,values:n.dataSummary.histogram}}}},[o("q-tooltip",{attrs:{offset:[0,10],delay:500}},[n._v(n._s(n.infoShowed.values[n.infoShowed.index]))]),o("div",{staticClass:"hv-histogram-val",style:{height:n.getHistogramDataHeight(e)+"%"}})],1)})):o("div",{staticClass:"hv-histogram-nodata"},[n._v(n._s(n.$t("label.noHistogramData")))])]:n._e(),n.dataSummary.categories.length>0?o("div",{staticClass:"hv-colormap-container",class:["hv-colormap-container-"+n.direction]},[null!==n.colormap?o("div",{staticClass:"hv-colormap",class:["hv-colormap-"+n.direction],style:(t={},t["min-"+n.colormapStyle]=Math.min(n.colormap.colors.length,256)+"px",t)},n._l(n.colormap.colors,function(e,t){var i;return o("div",{key:t,staticClass:"hv-colormap-col",style:(i={},i[n.colormapStyle]=n.colormapWidth+"%",i["background-color"]=e,i),on:{mouseover:function(e){n.tooltips&&(n.infoShowed={index:t,categories:[],values:n.colormap.labels})}}})})):n._e(),n.legend&&n.dataSummary.categories.length>0?o("div",{staticClass:"hv-legend hv-categories full-height"},[n._l(n.dataSummary.categories,function(e,t){return o("div",{key:t,staticClass:"hv-category",style:{"line-height":n.calculateFontSize()+"px","font-size":n.calculateFontSize()+"px"}},[n.dataSummary.categorized?o("span",{class:{"hv-zero-category":0===n.dataSummary.histogram[t]}},[n._v(n._s(e))]):o("span",[n._v(n._s(e.split(" ")[0]))])])}),n.dataSummary.categorized?n._e():o("div",{staticClass:"hv-category"},[n._v(n._s(n.histogramMax))])],2):n._e()]):n._e(),n.tooltips?o("div",{staticClass:"hv-data-details-container",class:{"hv-details-nodata":!n.hasHistogram&&null==n.colormap}},[o("div",{staticClass:"hv-histogram-min hv-data-details",on:{mouseover:function(e){n.tooltipIt(e,"q-hmin"+n.id+"-"+n.infoShowed.index)}}},[n._v(n._s(n.histogramMin)+"\n "),o("q-tooltip",{directives:[{name:"show",rawName:"v-show",value:n.needTooltip("q-hmin"+n.id+"-"+n.infoShowed.index),expression:"needTooltip(`q-hmin${id}-${infoShowed.index}`)"}],staticClass:"hv-tooltip"},[n._v(n._s(n.histogramMin))])],1),-1===n.infoShowed.index?[o("div",{staticClass:"hv-data-nodetail hv-data-details"},[n._v(n._s(n.$t("label.noInfoValues")))])]:[o("div",{staticClass:"hv-data-value hv-data-details",on:{mouseover:function(e){n.tooltipIt(e,"q-hdata"+n.id+"-"+n.infoShowed.index)}}},[n._v("\n "+n._s(n.infoShowedText)+"\n "),o("q-tooltip",{directives:[{name:"show",rawName:"v-show",value:n.needTooltip("q-hdata"+n.id+"-"+n.infoShowed.index),expression:"needTooltip(`q-hdata${id}-${infoShowed.index}`)"}],staticClass:"hv-tooltip",attrs:{anchor:"center right",self:"center left",offset:[10,10]}},[n._v("\n "+n._s(n.infoShowedText)+"\n ")])],1)],o("div",{staticClass:"hv-histogram-max hv-data-details",on:{mouseover:function(e){n.tooltipIt(e,"q-hmax"+n.id+"-"+n.infoShowed.index)}}},[n._v(n._s(n.histogramMax)+"\n "),o("q-tooltip",{directives:[{name:"show",rawName:"v-show",value:n.needTooltip("q-hmax"+n.id+"-"+n.infoShowed.index),expression:"needTooltip(`q-hmax${id}-${infoShowed.index}`)"}],staticClass:"hv-tooltip"},[n._v(n._s(n.histogramMax))])],1)],2):n._e()],2):n._e()},o=[];i._withStripped=!0;var r=n("3156"),a=n.n(r),s=(n("ac6a"),n("cadf"),n("2cee")),c=n("7cca"),l=n("abcf"),u=l["b"].height,d={name:"HistogramViewer",props:{dataSummary:{type:Object,required:!0},colormap:Object,id:{type:String,default:""},direction:{type:String,default:"horizontal",validator:function(e){return-1!==["horizontal","vertical"].indexOf(e)}},tooltips:{type:Boolean,default:!0},legend:{type:Boolean,default:!1}},mixins:[s["a"]],data:function(){return{infoShowed:{index:-1,categories:[],values:[]}}},computed:{hasHistogram:function(){return this.dataSummary.histogram.length>0},isHorizontal:function(){return"horizontal"===this.direction},maxHistogramValue:function(){return Math.max.apply(null,this.dataSummary.histogram)},histogramWidth:function(){return 100/this.dataSummary.histogram.length},histogramMin:function(){return"NaN"===this.dataSummary.minValue||this.dataSummary.categorized?"":Math.round(100*this.dataSummary.minValue)/100},histogramMax:function(){return"NaN"===this.dataSummary.maxValue||this.dataSummary.categorized?"":Math.round(100*this.dataSummary.maxValue)/100},colormapWidth:function(){return 100/this.colormap.colors.length},infoShowedText:function(){var e;return this.infoShowed.categories.length>0&&(e=this.infoShowed.categories[this.infoShowed.index],"undefined"!==typeof e&&null!==e&&""!==e)?e:this.infoShowed.values.length>0&&(e=this.infoShowed.values[this.infoShowed.index],"undefined"!==typeof e&&null!==e&&""!==e)?e:""},colormapStyle:function(){return"horizontal"===this.direction?"width":"height"},categoryHeight:function(){return console.warn(100/this.dataSummary.categories.length+(this.dataSummary.categorized?0:2)),100/(this.dataSummary.categories.length+(this.dataSummary.categorized?0:2))}},methods:{getHistogramDataHeight:function(e){return 100*e/this.maxHistogramValue},setInfoShowed:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.infoShowed=null===e?{index:-1,categories:[],values:[]}:a()({},e)},calculateFontSize:function(){var e=document.querySelector(".hv-categories");if(e){var t=u(e);return Math.min(Math.max(t/this.dataSummary.categories.length,6),12)}return 12}},mounted:function(){this.$eventBus.$on(c["h"].SHOW_DATA_INFO,this.setInfoShowed)},beforeDestroy:function(){this.$eventBus.$off(c["h"].SHOW_DATA_INFO,this.setInfoShowed)}},h=d,p=(n("4c12"),n("2877")),f=Object(p["a"])(h,i,o,!1,null,null,null);f.options.__file="HistogramViewer.vue";t["a"]=f.exports},e027:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],i=e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return i})},e0d9:function(e,t,n){"use strict";var i=n("ce70"),o=n.n(i);o.a},e0ea:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return t})},e1c6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("c5f4");t.METADATA_KEY=i;var o=n("f457");t.Container=o.Container;var r=n("155f");t.BindingScopeEnum=r.BindingScopeEnum,t.BindingTypeEnum=r.BindingTypeEnum,t.TargetTypeEnum=r.TargetTypeEnum;var a=n("771c");t.AsyncContainerModule=a.AsyncContainerModule,t.ContainerModule=a.ContainerModule;var s=n("719e");t.injectable=s.injectable;var c=n("d204");t.tagged=c.tagged;var l=n("6730");t.named=l.named;var u=n("624f");t.inject=u.inject,t.LazyServiceIdentifer=u.LazyServiceIdentifer;var d=n("8d8c");t.optional=d.optional;var h=n("9f62");t.unmanaged=h.unmanaged;var p=n("8c88");t.multiInject=p.multiInject;var f=n("a1a5");t.targetName=f.targetName;var m=n("4a4f");t.postConstruct=m.postConstruct;var g=n("c278");t.MetadataReader=g.MetadataReader;var v=n("77d3");t.id=v.id;var _=n("66d7");t.decorate=_.decorate;var b=n("451f");t.traverseAncerstors=b.traverseAncerstors,t.taggedConstraint=b.taggedConstraint,t.namedConstraint=b.namedConstraint,t.typeConstraint=b.typeConstraint;var y=n("ba33");t.getServiceIdentifierAsString=y.getServiceIdentifierAsString;var M=n("efc5");t.multiBindToService=M.multiBindToService},e1cb:function(e,t,n){"use strict";function i(e){return e.hasFeature(t.nameFeature)}function o(e){return i(e)?e.name:void 0}Object.defineProperty(t,"__esModule",{value:!0}),t.nameFeature=Symbol("nameableFeature"),t.isNameable=i,t.name=o},e2d7:function(e,t,n){"use strict";var i=n("8ef3"),o=n.n(i);o.a},e325:function(t,n,o){"use strict";var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!==typeof e)throw new TypeError("predicate must be a function");var i=arguments[1],o=0;while(o>>0;if("function"!==typeof e)throw new TypeError("predicate must be a function");var i=arguments[1],o=0;while(o>>0;if(0===i)return!1;var o=0|t,r=Math.max(o>=0?o:i-Math.abs(o),0);function a(e,t){return e===t||"number"===typeof e&&"number"===typeof t&&isNaN(e)&&isNaN(t)}while(rn?(t=e-n,this.element.style.marginLeft=-t+"px"):this.element.style.marginLeft=0,this.scrollLeft=e,this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.scrollHorizontal()},a.prototype.generateColumnsFromRowData=function(e){var t,n,i=[],o=this.table.options.autoColumnsDefinitions;if(e&&e.length){for(var a in t=e[0],t){var s={field:a,title:a},c=t[a];switch("undefined"===typeof c?"undefined":r(c)){case"undefined":n="string";break;case"boolean":n="boolean";break;case"object":n=Array.isArray(c)?"array":"string";break;default:n=isNaN(c)||""===c?c.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?"alphanum":"string":"number";break}s.sorter=n,i.push(s)}if(o)switch("undefined"===typeof o?"undefined":r(o)){case"function":this.table.options.columns=o.call(this.table,i);break;case"object":Array.isArray(o)?i.forEach(function(e){var t=o.find(function(t){return t.field===e.field});t&&Object.assign(e,t)}):i.forEach(function(e){o[e.field]&&Object.assign(e,o[e.field])}),this.table.options.columns=i;break}else this.table.options.columns=i;this.setColumns(this.table.options.columns)}},a.prototype.setColumns=function(e,t){var n=this;while(n.headersElement.firstChild)n.headersElement.removeChild(n.headersElement.firstChild);n.columns=[],n.columnsByIndex=[],n.columnsByField={},n.table.modExists("frozenColumns")&&n.table.modules.frozenColumns.reset(),e.forEach(function(e,t){n._addColumn(e)}),n._reIndexColumns(),n.table.options.responsiveLayout&&n.table.modExists("responsiveLayout",!0)&&n.table.modules.responsiveLayout.initialize(),this.table.options.virtualDomHoz&&this.table.vdomHoz.reinitialize(!1,!0),n.redraw(!0)},a.prototype._addColumn=function(e,t,n){var i=new c(e,this),o=i.getElement(),r=n?this.findColumnIndex(n):n;if(n&&r>-1){var a=this.columns.indexOf(n.getTopColumn()),s=n.getElement();t?(this.columns.splice(a,0,i),s.parentNode.insertBefore(o,s)):(this.columns.splice(a+1,0,i),s.parentNode.insertBefore(o,s.nextSibling))}else t?(this.columns.unshift(i),this.headersElement.insertBefore(i.getElement(),this.headersElement.firstChild)):(this.columns.push(i),this.headersElement.appendChild(i.getElement())),i.columnRendered();return i},a.prototype.registerColumnField=function(e){e.definition.field&&(this.columnsByField[e.definition.field]=e)},a.prototype.registerColumnPosition=function(e){this.columnsByIndex.push(e)},a.prototype._reIndexColumns=function(){this.columnsByIndex=[],this.columns.forEach(function(e){e.reRegisterPosition()})},a.prototype._verticalAlignHeaders=function(){var e=this,t=0;e.columns.forEach(function(e){var n;e.clearVerticalAlign(),n=e.getHeight(),n>t&&(t=n)}),e.columns.forEach(function(n){n.verticalAlign(e.table.options.columnHeaderVertAlign,t)}),e.rowManager.adjustTableSize()},a.prototype.findColumn=function(e){var t=this;if("object"!=("undefined"===typeof e?"undefined":r(e)))return this.columnsByField[e]||!1;if(e instanceof c)return e;if(e instanceof s)return e._getSelf()||!1;if("undefined"!==typeof HTMLElement&&e instanceof HTMLElement){var n=t.columns.find(function(t){return t.element===e});return n||!1}return!1},a.prototype.getColumnByField=function(e){return this.columnsByField[e]},a.prototype.getColumnsByFieldRoot=function(e){var t=this,n=[];return Object.keys(this.columnsByField).forEach(function(i){var o=i.split(".")[0];o===e&&n.push(t.columnsByField[i])}),n},a.prototype.getColumnByIndex=function(e){return this.columnsByIndex[e]},a.prototype.getFirstVisibileColumn=function(e){e=this.columnsByIndex.findIndex(function(e){return e.visible});return e>-1&&this.columnsByIndex[e]},a.prototype.getColumns=function(){return this.columns},a.prototype.findColumnIndex=function(e){return this.columnsByIndex.findIndex(function(t){return e===t})},a.prototype.getRealColumns=function(){return this.columnsByIndex},a.prototype.traverse=function(e){var t=this;t.columnsByIndex.forEach(function(t,n){e(t,n)})},a.prototype.getDefinitions=function(e){var t=this,n=[];return t.columnsByIndex.forEach(function(t){(!e||e&&t.visible)&&n.push(t.getDefinition())}),n},a.prototype.getDefinitionTree=function(){var e=this,t=[];return e.columns.forEach(function(e){t.push(e.getDefinition(!0))}),t},a.prototype.getComponents=function(e){var t=this,n=[],i=e?t.columns:t.columnsByIndex;return i.forEach(function(e){n.push(e.getComponent())}),n},a.prototype.getWidth=function(){var e=0;return this.columnsByIndex.forEach(function(t){t.visible&&(e+=t.getWidth())}),e},a.prototype.moveColumn=function(e,t,n){this.moveColumnActual(e,t,n),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.initialize(),this.table.modExists("columnCalcs")&&this.table.modules.columnCalcs.recalc(this.table.rowManager.activeRows),t.element.parentNode.insertBefore(e.element,t.element),n&&t.element.parentNode.insertBefore(t.element,e.element),this._verticalAlignHeaders(),this.table.rowManager.reinitialize()},a.prototype.moveColumnActual=function(e,t,n){e.parent.isGroup?this._moveColumnInArray(e.parent.columns,e,t,n):this._moveColumnInArray(this.columns,e,t,n),this._moveColumnInArray(this.columnsByIndex,e,t,n,!0),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.initialize(),this.table.options.virtualDomHoz&&this.table.vdomHoz.reinitialize(!0),this.table.options.columnMoved&&this.table.options.columnMoved.call(this.table,e.getComponent(),this.table.columnManager.getComponents()),this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.columns&&this.table.modules.persistence.save("columns")},a.prototype._moveColumnInArray=function(e,t,n,i,o){var r,a=this,s=e.indexOf(t),c=[];s>-1&&(e.splice(s,1),r=e.indexOf(n),r>-1?i&&(r+=1):r=s,e.splice(r,0,t),o&&(this.table.options.dataTree&&this.table.modExists("dataTree",!0)&&this.table.rowManager.rows.forEach(function(e){c=c.concat(a.table.modules.dataTree.getTreeChildren(e,!1,!0))}),c=c.concat(this.table.rowManager.rows),c.forEach(function(e){if(e.cells.length){var t=e.cells.splice(s,1)[0];e.cells.splice(r,0,t)}})))},a.prototype.scrollToColumn=function(e,t,n){var i=this,o=0,r=0,a=0,s=e.getElement();return new Promise(function(c,l){if("undefined"===typeof t&&(t=i.table.options.scrollToColumnPosition),"undefined"===typeof n&&(n=i.table.options.scrollToColumnIfVisible),e.visible){switch(t){case"middle":case"center":a=-i.element.clientWidth/2;break;case"right":a=s.clientWidth-i.headersElement.clientWidth;break}if(!n&&(r=s.offsetLeft,r>0&&r+s.offsetWidthe.rowManager.element.clientHeight&&(t-=e.rowManager.element.offsetWidth-e.rowManager.element.clientWidth),this.columnsByIndex.forEach(function(i){var o,r,a;i.visible&&(o=i.definition.width||0,r="undefined"==typeof i.minWidth?e.table.options.columnMinWidth:parseInt(i.minWidth),a="string"==typeof o?o.indexOf("%")>-1?t/100*parseInt(o):parseInt(o):o,n+=a>r?a:r)}),n},a.prototype.addColumn=function(e,t,n){var i=this;return new Promise(function(o,r){var a=i._addColumn(e,t,n);i._reIndexColumns(),i.table.options.responsiveLayout&&i.table.modExists("responsiveLayout",!0)&&i.table.modules.responsiveLayout.initialize(),i.table.modExists("columnCalcs")&&i.table.modules.columnCalcs.recalc(i.table.rowManager.activeRows),i.redraw(!0),"fitColumns"!=i.table.modules.layout.getMode()&&a.reinitializeWidth(),i._verticalAlignHeaders(),i.table.rowManager.reinitialize(),i.table.options.virtualDomHoz&&i.table.vdomHoz.reinitialize(),o(a)})},a.prototype.deregisterColumn=function(e){var t,n=e.getField();n&&delete this.columnsByField[n],t=this.columnsByIndex.indexOf(e),t>-1&&this.columnsByIndex.splice(t,1),t=this.columns.indexOf(e),t>-1&&this.columns.splice(t,1),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.initialize(),this._verticalAlignHeaders(),this.redraw()},a.prototype.redraw=function(e){e&&(g.prototype.helpers.elVisible(this.element)&&this._verticalAlignHeaders(),this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),["fitColumns","fitDataStretch"].indexOf(this.table.modules.layout.getMode())>-1?this.table.modules.layout.layout():e?this.table.modules.layout.layout():this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout(),this.table.modExists("columnCalcs")&&this.table.modules.columnCalcs.recalc(this.table.rowManager.activeRows),e&&(this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.columns&&this.table.modules.persistence.save("columns"),this.table.modExists("columnCalcs")&&this.table.modules.columnCalcs.redraw()),this.table.footerManager.redraw()};var s=function(e){this._column=e,this.type="ColumnComponent"};s.prototype.getElement=function(){return this._column.getElement()},s.prototype.getDefinition=function(){return this._column.getDefinition()},s.prototype.getField=function(){return this._column.getField()},s.prototype.getCells=function(){var e=[];return this._column.cells.forEach(function(t){e.push(t.getComponent())}),e},s.prototype.getVisibility=function(){return console.warn("getVisibility function is deprecated, you should now use the isVisible function"),this._column.visible},s.prototype.isVisible=function(){return this._column.visible},s.prototype.show=function(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()},s.prototype.hide=function(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()},s.prototype.toggle=function(){this._column.visible?this.hide():this.show()},s.prototype.delete=function(){return this._column.delete()},s.prototype.getSubColumns=function(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(t){e.push(t.getComponent())}),e},s.prototype.getParentColumn=function(){return this._column.parent instanceof c&&this._column.parent.getComponent()},s.prototype._getSelf=function(){return this._column},s.prototype.scrollTo=function(){return this._column.table.columnManager.scrollToColumn(this._column)},s.prototype.getTable=function(){return this._column.table},s.prototype.headerFilterFocus=function(){this._column.table.modExists("filter",!0)&&this._column.table.modules.filter.setHeaderFilterFocus(this._column)},s.prototype.reloadHeaderFilter=function(){this._column.table.modExists("filter",!0)&&this._column.table.modules.filter.reloadHeaderFilter(this._column)},s.prototype.getHeaderFilterValue=function(){if(this._column.table.modExists("filter",!0))return this._column.table.modules.filter.getHeaderFilterValue(this._column)},s.prototype.setHeaderFilterValue=function(e){this._column.table.modExists("filter",!0)&&this._column.table.modules.filter.setHeaderFilterValue(this._column,e)},s.prototype.move=function(e,t){var n=this._column.table.columnManager.findColumn(e);n?this._column.table.columnManager.moveColumn(this._column,n,t):console.warn("Move Error - No matching column found:",n)},s.prototype.getNextColumn=function(){var e=this._column.nextColumn();return!!e&&e.getComponent()},s.prototype.getPrevColumn=function(){var e=this._column.prevColumn();return!!e&&e.getComponent()},s.prototype.updateDefinition=function(e){return this._column.updateDefinition(e)},s.prototype.getWidth=function(){return this._column.getWidth()},s.prototype.setWidth=function(e){var t;return t=!0===e?this._column.reinitializeWidth(!0):this._column.setWidth(e),this._column.table.options.virtualDomHoz&&this._column.table.vdomHoz.reinitialize(!0),t},s.prototype.validate=function(){return this._column.validate()};var c=function e(t,n){var i=this;this.table=n.table,this.definition=t,this.parent=n,this.type="column",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.tooltip=!1,this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleFormatterRendered=!1,this.setField(this.definition.field),this.table.options.invalidOptionWarnings&&this.checkDefinition(),this.modules={},this.cellEvents={cellClick:!1,cellDblClick:!1,cellContext:!1,cellTap:!1,cellDblTap:!1,cellTapHold:!1,cellMouseEnter:!1,cellMouseLeave:!1,cellMouseOver:!1,cellMouseOut:!1,cellMouseMove:!1},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this._mapDepricatedFunctionality(),t.columns?(this.isGroup=!0,t.columns.forEach(function(t,n){var o=new e(t,i);i.attachColumn(o)}),i.checkColumnVisibility()):n.registerColumnField(this),t.rowHandle&&!1!==this.table.options.movableRows&&this.table.modExists("moveRow")&&this.table.modules.moveRow.setHandle(!0),this._buildHeader(),this.bindModuleColumns()};c.prototype.createElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),e},c.prototype.createGroupElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e},c.prototype.checkDefinition=function(){var e=this;Object.keys(this.definition).forEach(function(t){-1===e.defaultOptionList.indexOf(t)&&console.warn("Invalid column definition option in '"+(e.field||e.definition.title)+"' column:",t)})},c.prototype.setField=function(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData},c.prototype.registerColumnPosition=function(e){this.parent.registerColumnPosition(e)},c.prototype.registerColumnField=function(e){this.parent.registerColumnField(e)},c.prototype.reRegisterPosition=function(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)},c.prototype._mapDepricatedFunctionality=function(){"undefined"!==typeof this.definition.hideInHtml&&(this.definition.htmlOutput=!this.definition.hideInHtml,console.warn("hideInHtml column definition property is deprecated, you should now use htmlOutput")),"undefined"!==typeof this.definition.align&&(this.definition.hozAlign=this.definition.align,console.warn("align column definition property is deprecated, you should now use hozAlign")),"undefined"!==typeof this.definition.downloadTitle&&(this.definition.titleDownload=this.definition.downloadTitle,console.warn("downloadTitle definition property is deprecated, you should now use titleDownload"))},c.prototype.setTooltip=function(){var e=this,t=e.definition,n=t.headerTooltip||!1===t.tooltip?t.headerTooltip:e.table.options.tooltipsHeader;n?!0===n?t.field?e.table.modules.localize.bind("columns|"+t.field,function(n){e.element.setAttribute("title",n||t.title)}):e.element.setAttribute("title",t.title):("function"==typeof n&&(n=n(e.getComponent()),!1===n&&(n="")),e.element.setAttribute("title",n)):e.element.setAttribute("title","")},c.prototype._buildHeader=function(){var e=this,t=e.definition;while(e.element.firstChild)e.element.removeChild(e.element.firstChild);t.headerVertical&&(e.element.classList.add("tabulator-col-vertical"),"flip"===t.headerVertical&&e.element.classList.add("tabulator-col-vertical-flip")),e.contentElement=e._bindEvents(),e.contentElement=e._buildColumnHeaderContent(),e.element.appendChild(e.contentElement),e.isGroup?e._buildGroupHeader():e._buildColumnHeader(),e.setTooltip(),e.table.options.resizableColumns&&e.table.modExists("resizeColumns")&&e.table.modules.resizeColumns.initializeColumn("header",e,e.element),t.headerFilter&&e.table.modExists("filter")&&e.table.modExists("edit")&&("undefined"!==typeof t.headerFilterPlaceholder&&t.field&&e.table.modules.localize.setHeaderFilterColumnPlaceholder(t.field,t.headerFilterPlaceholder),e.table.modules.filter.initializeColumn(e)),e.table.modExists("frozenColumns")&&e.table.modules.frozenColumns.initializeColumn(e),e.table.options.movableColumns&&!e.isGroup&&e.table.modExists("moveColumn")&&e.table.modules.moveColumn.initializeColumn(e),(t.topCalc||t.bottomCalc)&&e.table.modExists("columnCalcs")&&e.table.modules.columnCalcs.initializeColumn(e),e.table.modExists("persistence")&&e.table.modules.persistence.config.columns&&e.table.modules.persistence.initializeColumn(e),e.element.addEventListener("mouseenter",function(t){e.setTooltip()})},c.prototype._bindEvents=function(){var e,t,n,i=this,o=i.definition;"function"==typeof o.headerClick&&i.element.addEventListener("click",function(e){o.headerClick(e,i.getComponent())}),"function"==typeof o.headerDblClick&&i.element.addEventListener("dblclick",function(e){o.headerDblClick(e,i.getComponent())}),"function"==typeof o.headerContext&&i.element.addEventListener("contextmenu",function(e){o.headerContext(e,i.getComponent())}),"function"==typeof o.headerTap&&(n=!1,i.element.addEventListener("touchstart",function(e){n=!0},{passive:!0}),i.element.addEventListener("touchend",function(e){n&&o.headerTap(e,i.getComponent()),n=!1})),"function"==typeof o.headerDblTap&&(e=null,i.element.addEventListener("touchend",function(t){e?(clearTimeout(e),e=null,o.headerDblTap(t,i.getComponent())):e=setTimeout(function(){clearTimeout(e),e=null},300)})),"function"==typeof o.headerTapHold&&(t=null,i.element.addEventListener("touchstart",function(e){clearTimeout(t),t=setTimeout(function(){clearTimeout(t),t=null,n=!1,o.headerTapHold(e,i.getComponent())},1e3)},{passive:!0}),i.element.addEventListener("touchend",function(e){clearTimeout(t),t=null})),"function"==typeof o.cellClick&&(i.cellEvents.cellClick=o.cellClick),"function"==typeof o.cellDblClick&&(i.cellEvents.cellDblClick=o.cellDblClick),"function"==typeof o.cellContext&&(i.cellEvents.cellContext=o.cellContext),"function"==typeof o.cellMouseEnter&&(i.cellEvents.cellMouseEnter=o.cellMouseEnter),"function"==typeof o.cellMouseLeave&&(i.cellEvents.cellMouseLeave=o.cellMouseLeave),"function"==typeof o.cellMouseOver&&(i.cellEvents.cellMouseOver=o.cellMouseOver),"function"==typeof o.cellMouseOut&&(i.cellEvents.cellMouseOut=o.cellMouseOut),"function"==typeof o.cellMouseMove&&(i.cellEvents.cellMouseMove=o.cellMouseMove),"function"==typeof o.cellTap&&(i.cellEvents.cellTap=o.cellTap),"function"==typeof o.cellDblTap&&(i.cellEvents.cellDblTap=o.cellDblTap),"function"==typeof o.cellTapHold&&(i.cellEvents.cellTapHold=o.cellTapHold),"function"==typeof o.cellEdited&&(i.cellEvents.cellEdited=o.cellEdited),"function"==typeof o.cellEditing&&(i.cellEvents.cellEditing=o.cellEditing),"function"==typeof o.cellEditCancelled&&(i.cellEvents.cellEditCancelled=o.cellEditCancelled)},c.prototype._buildColumnHeader=function(){var e=this,t=this.definition,n=this.table;if(n.modExists("sort")&&n.modules.sort.initializeColumn(this,this.titleHolderElement),(t.headerContextMenu||t.headerClickMenu||t.headerMenu)&&n.modExists("menu")&&n.modules.menu.initializeColumnHeader(this),n.modExists("format")&&n.modules.format.initializeColumn(this),"undefined"!=typeof t.editor&&n.modExists("edit")&&n.modules.edit.initializeColumn(this),"undefined"!=typeof t.validator&&n.modExists("validate")&&n.modules.validate.initializeColumn(this),n.modExists("mutator")&&n.modules.mutator.initializeColumn(this),n.modExists("accessor")&&n.modules.accessor.initializeColumn(this),r(n.options.responsiveLayout)&&n.modExists("responsiveLayout")&&n.modules.responsiveLayout.initializeColumn(this),"undefined"!=typeof t.visible&&(t.visible?this.show(!0):this.hide(!0)),t.cssClass){var i=t.cssClass.split(" ");i.forEach(function(t){e.element.classList.add(t)})}t.field&&this.element.setAttribute("tabulator-field",t.field),this.setMinWidth("undefined"==typeof t.minWidth?this.table.options.columnMinWidth:parseInt(t.minWidth)),(t.maxWidth||this.table.options.columnMaxWidth)&&!1!==t.maxWidth&&this.setMaxWidth("undefined"==typeof t.maxWidth?this.table.options.columnMaxWidth:parseInt(t.maxWidth)),this.reinitializeWidth(),this.tooltip=this.definition.tooltip||!1===this.definition.tooltip?this.definition.tooltip:this.table.options.tooltips,this.hozAlign="undefined"==typeof this.definition.hozAlign?this.table.options.cellHozAlign:this.definition.hozAlign,this.vertAlign="undefined"==typeof this.definition.vertAlign?this.table.options.cellVertAlign:this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign||this.table.options.headerHozAlign},c.prototype._buildColumnHeaderContent=function(){this.definition,this.table;var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e},c.prototype._buildColumnHeaderTitle=function(){var e=this,t=e.definition,n=e.table,i=document.createElement("div");if(i.classList.add("tabulator-col-title"),t.editableTitle){var o=document.createElement("input");o.classList.add("tabulator-title-editor"),o.addEventListener("click",function(e){e.stopPropagation(),o.focus()}),o.addEventListener("change",function(){t.title=o.value,n.options.columnTitleChanged.call(e.table,e.getComponent())}),i.appendChild(o),t.field?n.modules.localize.bind("columns|"+t.field,function(e){o.value=e||t.title||" "}):o.value=t.title||" "}else t.field?n.modules.localize.bind("columns|"+t.field,function(n){e._formatColumnHeaderTitle(i,n||t.title||" ")}):e._formatColumnHeaderTitle(i,t.title||" ");return i},c.prototype._formatColumnHeaderTitle=function(e,t){var n,i,o,a,s,c=this;if(this.definition.titleFormatter&&this.table.modExists("format"))switch(n=this.table.modules.format.getFormatter(this.definition.titleFormatter),s=function(e){c.titleFormatterRendered=e},a={getValue:function(){return t},getElement:function(){return e}},o=this.definition.titleFormatterParams||{},o="function"===typeof o?o():o,i=n.call(this.table.modules.format,a,o,s),"undefined"===typeof i?"undefined":r(i)){case"object":i instanceof Node?e.appendChild(i):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",i));break;case"undefined":case"null":e.innerHTML="";break;default:e.innerHTML=i}else e.innerHTML=t},c.prototype._buildGroupHeader=function(){var e=this;if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var t=this.definition.cssClass.split(" ");t.forEach(function(t){e.element.classList.add(t)})}(this.definition.headerContextMenu||this.definition.headerMenu)&&this.table.modExists("menu")&&this.table.modules.menu.initializeColumnHeader(this),this.titleElement.style.textAlign=this.definition.headerHozAlign||this.table.options.headerHozAlign,this.element.appendChild(this.groupElement)},c.prototype._getFlatData=function(e){return e[this.field]},c.prototype._getNestedData=function(e){for(var t,n=e,i=this.fieldStructure,o=i.length,r=0;r-1&&this.columns.splice(t,1),this.columns.length||this.delete()},c.prototype.setWidth=function(e){this.widthFixed=!0,this.setWidthActual(e)},c.prototype.setWidthActual=function(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(e){e.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()},c.prototype.checkCellHeights=function(){var e=[];this.cells.forEach(function(t){t.row.heightInitialized&&(null!==t.row.getElement().offsetParent?(e.push(t.row),t.row.clearCellHeight()):t.row.heightInitialized=!1)}),e.forEach(function(e){e.calcHeight()}),e.forEach(function(e){e.setCellHeight()})},c.prototype.getWidth=function(){var e=0;return this.isGroup?this.columns.forEach(function(t){t.visible&&(e+=t.getWidth())}):e=this.width,e},c.prototype.getHeight=function(){return this.element.offsetHeight},c.prototype.setMinWidth=function(e){this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(e){e.setMinWidth()})},c.prototype.setMaxWidth=function(e){this.maxWidth=e,this.maxWidthStyled=e?e+"px":"",this.element.style.maxWidth=this.maxWidthStyled,this.cells.forEach(function(e){e.setMaxWidth()})},c.prototype.delete=function(){var e=this;return new Promise(function(t,n){e.isGroup&&e.columns.forEach(function(e){e.delete()}),e.table.modExists("edit")&&e.table.modules.edit.currentCell.column===e&&e.table.modules.edit.cancelEdit();for(var i=e.cells.length,o=0;o-1&&this._nextVisibleColumn(e+1)},c.prototype._nextVisibleColumn=function(e){var t=this.table.columnManager.getColumnByIndex(e);return!t||t.visible?t:this._nextVisibleColumn(e+1)},c.prototype.prevColumn=function(){var e=this.table.columnManager.findColumnIndex(this);return e>-1&&this._prevVisibleColumn(e-1)},c.prototype._prevVisibleColumn=function(e){var t=this.table.columnManager.getColumnByIndex(e);return!t||t.visible?t:this._prevVisibleColumn(e-1)},c.prototype.reinitializeWidth=function(e){this.widthFixed=!1,"undefined"===typeof this.definition.width||e||this.setWidth(this.definition.width),this.table.modExists("filter")&&this.table.modules.filter.hideHeaderFilterElements(),this.fitToData(),this.table.modExists("filter")&&this.table.modules.filter.showHeaderFilterElements()},c.prototype.fitToData=function(){var e=this;this.widthFixed||(this.element.style.width="",e.cells.forEach(function(e){e.clearWidth()}));var t=this.element.offsetWidth;e.width&&this.widthFixed||(e.cells.forEach(function(e){var n=e.getWidth();n>t&&(t=n)}),t&&e.setWidthActual(t+1))},c.prototype.updateDefinition=function(e){var t=this;return new Promise(function(n,i){var o;t.isGroup?(console.warn("Column Update Error - The updateDefinition function is only available on ungrouped columns"),i("Column Update Error - The updateDefinition function is only available on columns, not column groups")):t.parent.isGroup?(console.warn("Column Update Error - The updateDefinition function is only available on ungrouped columns"),i("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(o=Object.assign({},t.getDefinition()),o=Object.assign(o,e),t.table.columnManager.addColumn(o,!1,t).then(function(e){o.field==t.field&&(t.field=!1),t.delete().then(function(){n(e.getComponent())}).catch(function(e){i(e)})}).catch(function(e){i(e)}))})},c.prototype.deleteCell=function(e){var t=this.cells.indexOf(e);t>-1&&this.cells.splice(t,1)},c.prototype.defaultOptionList=["title","field","columns","visible","align","hozAlign","vertAlign","width","minWidth","maxWidth","widthGrow","widthShrink","resizable","frozen","responsive","tooltip","cssClass","rowHandle","hideInHtml","print","htmlOutput","sorter","sorterParams","formatter","formatterParams","variableHeight","editable","editor","editorParams","validator","mutator","mutatorParams","mutatorData","mutatorDataParams","mutatorEdit","mutatorEditParams","mutatorClipboard","mutatorClipboardParams","accessor","accessorParams","accessorData","accessorDataParams","accessorDownload","accessorDownloadParams","accessorClipboard","accessorClipboardParams","accessorPrint","accessorPrintParams","accessorHtmlOutput","accessorHtmlOutputParams","clipboard","download","downloadTitle","topCalc","topCalcParams","topCalcFormatter","topCalcFormatterParams","bottomCalc","bottomCalcParams","bottomCalcFormatter","bottomCalcFormatterParams","cellClick","cellDblClick","cellContext","cellTap","cellDblTap","cellTapHold","cellMouseEnter","cellMouseLeave","cellMouseOver","cellMouseOut","cellMouseMove","cellEditing","cellEdited","cellEditCancelled","headerSort","headerSortStartingDir","headerSortTristate","headerClick","headerDblClick","headerContext","headerTap","headerDblTap","headerTapHold","headerTooltip","headerVertical","headerHozAlign","editableTitle","titleFormatter","titleFormatterParams","headerFilter","headerFilterPlaceholder","headerFilterParams","headerFilterEmptyCheck","headerFilterFunc","headerFilterFuncParams","headerFilterLiveFilter","print","headerContextMenu","headerMenu","contextMenu","clickMenu","formatterPrint","formatterPrintParams","formatterClipboard","formatterClipboardParams","formatterHtmlOutput","formatterHtmlOutputParams","titlePrint","titleClipboard","titleHtmlOutput","titleDownload"],c.prototype.getComponent=function(){return this.component||(this.component=new s(this)),this.component};var l=function(e){this.table=e,this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.heightFixer=this.createTableElement(),this.columnManager=null,this.height=0,this.firstRender=!1,this.renderMode="virtual",this.fixedHeight=!1,this.rows=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[],this.rowNumColumn=!1,this.redrawBlock=!1,this.redrawBlockRestoreConfig=!1,this.redrawBlockRederInPosition=!1};l.prototype.createHolderElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-tableHolder"),e.setAttribute("tabindex",0),e},l.prototype.createTableElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-table"),e},l.prototype.getElement=function(){return this.element},l.prototype.getTableElement=function(){return this.tableElement},l.prototype.getRowPosition=function(e,t){return t?this.activeRows.indexOf(e):this.rows.indexOf(e)},l.prototype.setColumnManager=function(e){this.columnManager=e},l.prototype.initialize=function(){var e=this;e.setRenderMode(),e.element.appendChild(e.tableElement),e.firstRender=!0,e.element.addEventListener("scroll",function(){var t=e.element.scrollLeft;e.scrollLeft!=t&&(e.columnManager.scrollHorizontal(t),e.table.options.groupBy&&e.table.modules.groupRows.scrollHeaders(t),e.table.modExists("columnCalcs")&&e.table.modules.columnCalcs.scrollHorizontal(t),e.table.options.scrollHorizontal(t)),e.scrollLeft=t}),"virtual"===this.renderMode&&e.element.addEventListener("scroll",function(){var t=e.element.scrollTop,n=e.scrollTop>t;e.scrollTop!=t?(e.scrollTop=t,e.scrollVertical(n),"scroll"==e.table.options.ajaxProgressiveLoad&&e.table.modules.ajax.nextPage(e.element.scrollHeight-e.element.clientHeight-t),e.table.options.scrollVertical(t)):e.scrollTop=t})},l.prototype.findRow=function(e){var t=this;if("object"!=("undefined"===typeof e?"undefined":r(e))){if("undefined"==typeof e||null===e)return!1;var n=t.rows.find(function(n){return n.data[t.table.options.index]==e});return n||!1}if(e instanceof h)return e;if(e instanceof d)return e._getSelf()||!1;if("undefined"!==typeof HTMLElement&&e instanceof HTMLElement){var i=t.rows.find(function(t){return t.getElement()===e});return i||!1}return!1},l.prototype.getRowFromDataObject=function(e){var t=this.rows.find(function(t){return t.data===e});return t||!1},l.prototype.getRowFromPosition=function(e,t){return t?this.activeRows[e]:this.rows[e]},l.prototype.scrollToRow=function(e,t,n){var i,o=this,r=this.getDisplayRows().indexOf(e),a=e.getElement(),s=0;return new Promise(function(e,c){if(r>-1){if("undefined"===typeof t&&(t=o.table.options.scrollToRowPosition),"undefined"===typeof n&&(n=o.table.options.scrollToRowIfVisible),"nearest"===t)switch(o.renderMode){case"classic":i=g.prototype.helpers.elOffset(a).top,t=Math.abs(o.element.scrollTop-i)>Math.abs(o.element.scrollTop+o.element.clientHeight-i)?"bottom":"top";break;case"virtual":t=Math.abs(o.vDomTop-r)>Math.abs(o.vDomBottom-r)?"bottom":"top";break}if(!n&&g.prototype.helpers.elVisible(a)&&(s=g.prototype.helpers.elOffset(a).top-g.prototype.helpers.elOffset(o.element).top,s>0&&s-1&&this.activeRows.splice(i,1),n>-1&&this.rows.splice(n,1),this.setActiveRows(this.activeRows),this.displayRowIterator(function(t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}),t||this.reRenderInPosition(),this.regenerateRowNumbers(),this.table.options.rowDeleted.call(this.table,e.getComponent()),this.table.options.dataChanged&&this.table.options.dataChanged.call(this.table,this.getData()),this.table.options.groupBy&&this.table.modExists("groupRows")?this.table.modules.groupRows.updateGroupRows(!0):this.table.options.pagination&&this.table.modExists("page")?this.refreshActiveData(!1,!1,!0):this.table.options.pagination&&this.table.modExists("page")&&this.refreshActiveData("page")},l.prototype.addRow=function(e,t,n,i){var o=this.addRowActual(e,t,n,i);return this.table.options.history&&this.table.modExists("history")&&this.table.modules.history.action("rowAdd",o,{data:e,pos:t,index:n}),o},l.prototype.addRows=function(e,t,n){var i=this,o=this,r=[];return new Promise(function(a,s){t=i.findAddRowPos(t),Array.isArray(e)||(e=[e]),e.length-1,("undefined"==typeof n&&t||"undefined"!==typeof n&&!t)&&e.reverse(),e.forEach(function(e,i){var a=o.addRow(e,t,n,!0);r.push(a)}),i.table.options.groupBy&&i.table.modExists("groupRows")?i.table.modules.groupRows.updateGroupRows(!0):i.table.options.pagination&&i.table.modExists("page")?i.refreshActiveData(!1,!1,!0):i.reRenderInPosition(),i.table.modExists("columnCalcs")&&i.table.modules.columnCalcs.recalc(i.table.rowManager.activeRows),i.regenerateRowNumbers(),a(r)})},l.prototype.findAddRowPos=function(e){return"undefined"===typeof e&&(e=this.table.options.addRowPos),"pos"===e&&(e=!0),"bottom"===e&&(e=!1),e},l.prototype.addRowActual=function(e,t,n,i){var o,r,a=e instanceof h?e:new h(e||{},this),s=this.findAddRowPos(t),c=-1;if(!n&&this.table.options.pagination&&"page"==this.table.options.paginationAddRow&&(r=this.getDisplayRows(),s?r.length?n=r[0]:this.activeRows.length&&(n=this.activeRows[this.activeRows.length-1],s=!1):r.length&&(n=r[r.length-1],s=!(r.length1&&(!n||n&&-1==l.indexOf(n)?s?l[0]!==a&&(n=l[0],this._moveRowInArray(a.getGroup().rows,a,n,!s)):l[l.length-1]!==a&&(n=l[l.length-1],this._moveRowInArray(a.getGroup().rows,a,n,!s)):this._moveRowInArray(a.getGroup().rows,a,n,!s))}return n&&(c=this.rows.indexOf(n)),n&&c>-1?(o=this.activeRows.indexOf(n),this.displayRowIterator(function(e){var t=e.indexOf(n);t>-1&&e.splice(s?t:t+1,0,a)}),o>-1&&this.activeRows.splice(s?o:o+1,0,a),this.rows.splice(s?c:c+1,0,a)):s?(this.displayRowIterator(function(e){e.unshift(a)}),this.activeRows.unshift(a),this.rows.unshift(a)):(this.displayRowIterator(function(e){e.push(a)}),this.activeRows.push(a),this.rows.push(a)),this.setActiveRows(this.activeRows),this.table.options.rowAdded.call(this.table,a.getComponent()),this.table.options.dataChanged&&this.table.options.dataChanged.call(this.table,this.getData()),i||this.reRenderInPosition(),a},l.prototype.moveRow=function(e,t,n){this.table.options.history&&this.table.modExists("history")&&this.table.modules.history.action("rowMove",e,{posFrom:this.getRowPosition(e),posTo:this.getRowPosition(t),to:t,after:n}),this.moveRowActual(e,t,n),this.regenerateRowNumbers(),this.table.options.rowMoved.call(this.table,e.getComponent())},l.prototype.moveRowActual=function(e,t,n){var i=this;if(this._moveRowInArray(this.rows,e,t,n),this._moveRowInArray(this.activeRows,e,t,n),this.displayRowIterator(function(o){i._moveRowInArray(o,e,t,n)}),this.table.options.groupBy&&this.table.modExists("groupRows")){!n&&t instanceof N&&(t=this.table.rowManager.prevDisplayRow(e)||t);var o=t.getGroup(),r=e.getGroup();o===r?this._moveRowInArray(o.rows,e,t,n):(r&&r.removeRow(e),o.insertRow(e,t,n))}},l.prototype._moveRowInArray=function(e,t,n,i){var o,r,a,s;if(t!==n&&(o=e.indexOf(t),o>-1&&(e.splice(o,1),r=e.indexOf(n),r>-1?i?e.splice(r+1,0,t):e.splice(r,0,t):e.splice(o,0,t)),e===this.getDisplayRows())){a=oo?r:o+1;for(var c=a;c<=s;c++)e[c]&&this.styleRow(e[c],c)}},l.prototype.clearData=function(){this.setData([])},l.prototype.getRowIndex=function(e){return this.findRowIndex(e,this.rows)},l.prototype.getDisplayRowIndex=function(e){var t=this.getDisplayRows().indexOf(e);return t>-1&&t},l.prototype.nextDisplayRow=function(e,t){var n=this.getDisplayRowIndex(e),i=!1;return!1!==n&&n-1))&&n},l.prototype.getData=function(e,t){var n=[],i=this.getRows(e);return i.forEach(function(e){"row"==e.type&&n.push(e.getData(t||"data"))}),n},l.prototype.getComponents=function(e){var t=[],n=this.getRows(e);return n.forEach(function(e){t.push(e.getComponent())}),t},l.prototype.getDataCount=function(e){var t=this.getRows(e);return t.length},l.prototype._genRemoteRequest=function(){var e=this,t=this.table,n=t.options,i={};if(t.modExists("page")){if(n.ajaxSorting){var o=this.table.modules.sort.getSort();o.forEach(function(e){delete e.column}),i[this.table.modules.page.paginationDataSentNames.sorters]=o}if(n.ajaxFiltering){var r=this.table.modules.filter.getFilters(!0,!0);i[this.table.modules.page.paginationDataSentNames.filters]=r}this.table.modules.ajax.setParams(i,!0)}t.modules.ajax.sendRequest().then(function(t){e._setDataActual(t,!0)}).catch(function(e){})},l.prototype.filterRefresh=function(){var e=this.table,t=e.options,n=this.scrollLeft;t.ajaxFiltering?"remote"==t.pagination&&e.modExists("page")?(e.modules.page.reset(!0),e.modules.page.setPage(1).then(function(){}).catch(function(){})):t.ajaxProgressiveLoad?e.modules.ajax.loadData().then(function(){}).catch(function(){}):this._genRemoteRequest():this.refreshActiveData("filter"),this.scrollHorizontal(n)},l.prototype.sorterRefresh=function(e){var t=this.table,n=this.table.options,i=this.scrollLeft;n.ajaxSorting?("remote"==n.pagination||n.progressiveLoad)&&t.modExists("page")?(t.modules.page.reset(!0),t.modules.page.setPage(1).then(function(){}).catch(function(){})):n.ajaxProgressiveLoad?t.modules.ajax.loadData().then(function(){}).catch(function(){}):this._genRemoteRequest():this.refreshActiveData(e?"filter":"sort"),this.scrollHorizontal(i)},l.prototype.scrollHorizontal=function(e){this.scrollLeft=e,this.element.scrollLeft=e,this.table.options.groupBy&&this.table.modules.groupRows.scrollHeaders(e),this.table.modExists("columnCalcs")&&this.table.modules.columnCalcs.scrollHorizontal(e)},l.prototype.refreshActiveData=function(e,t,n){var i,o=this,r=this.table,a=["all","filter","sort","display","freeze","group","tree","page"];if(this.redrawBlock)(!this.redrawBlockRestoreConfig||a.indexOf(e)=0))break;r=s}else if(t-a[s].getElement().offsetTop>=0)o=s;else{if(i=!0,!(n-a[s].getElement().offsetTop>=0))break;r=s}}else o=this.vDomTop,r=this.vDomBottom;return a.slice(o,r+1)},l.prototype.displayRowIterator=function(e){this.displayRows.forEach(e),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length},l.prototype.getRows=function(e){var t;switch(e){case"active":t=this.activeRows;break;case"display":t=this.table.rowManager.getDisplayRows();break;case"visible":t=this.getVisibleRows(!0);break;case"selected":t=this.table.modules.selectRow.selectedRows;break;default:t=this.rows}return t},l.prototype.reRenderInPosition=function(e){if("virtual"==this.getRenderMode())if(this.redrawBlock)e?e():this.redrawBlockRederInPosition=!0;else{for(var t=this.element.scrollTop,n=!1,i=!1,o=this.scrollLeft,r=this.getDisplayRows(),a=this.vDomTop;a<=this.vDomBottom;a++)if(r[a]){var s=t-r[a].getElement().offsetTop;if(!(!1===i||Math.abs(s)this.vDomWindowBuffer&&(this.vDomWindowBuffer=2*m),"group"!==f.type&&(u=!1),i.vDomBottom++,l++}e?(i.vDomTopPad=t?i.vDomRowHeight*this.vDomTop+n:i.scrollTop-c,i.vDomBottomPad=i.vDomBottom==i.displayRowsCount-1?0:Math.max(i.vDomScrollHeight-i.vDomTopPad-s-c,0)):(this.vDomTopPad=0,i.vDomRowHeight=Math.floor((s+c)/l),i.vDomBottomPad=i.vDomRowHeight*(i.displayRowsCount-i.vDomBottom-1),i.vDomScrollHeight=c+s+i.vDomBottomPad-i.height),o.style.paddingTop=i.vDomTopPad+"px",o.style.paddingBottom=i.vDomBottomPad+"px",t&&(this.scrollTop=i.vDomTopPad+c+n-(this.element.scrollWidth>this.element.clientWidth?this.element.offsetHeight-this.element.clientHeight:0)),this.scrollTop=Math.min(this.scrollTop,this.element.scrollHeight-this.height),this.element.scrollWidth>this.element.offsetWidth&&t&&(this.scrollTop+=this.element.offsetHeight-this.element.clientHeight),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,r.scrollTop=this.scrollTop,o.style.minWidth=u?i.table.columnManager.getWidth()+"px":"",i.table.options.groupBy&&"fitDataFill"!=i.table.modules.layout.getMode()&&i.displayRowsCount==i.table.modules.groupRows.countGroups()&&(i.tableElement.style.minWidth=i.table.columnManager.getWidth())}else this.renderEmptyScroll();this.fixedHeight||this.adjustTableSize()},l.prototype.scrollVertical=function(e){var t=this.scrollTop-this.vDomScrollPosTop,n=this.scrollTop-this.vDomScrollPosBottom,i=2*this.vDomWindowBuffer;if(-t>i||n>i){var o=this.scrollLeft;this._virtualRenderFill(Math.floor(this.element.scrollTop/this.element.scrollHeight*this.displayRowsCount)),this.scrollHorizontal(o)}else e?(t<0&&this._addTopRow(-t),n<0&&(this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer?this._removeBottomRow(-n):this.vDomScrollPosBottom=this.scrollTop)):(t>=0&&(this.scrollTop>this.vDomWindowBuffer?this._removeTopRow(t):this.vDomScrollPosTop=this.scrollTop),n>=0&&this._addBottomRow(n))},l.prototype._addTopRow=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.tableElement,i=this.getDisplayRows();if(this.vDomTop){var o=this.vDomTop-1,r=i[o],a=r.getHeight()||this.vDomRowHeight;e>=a&&(this.styleRow(r,o),n.insertBefore(r.getElement(),n.firstChild),r.initialized&&r.heightInitialized||(this.vDomTopNewRows.push(r),r.heightInitialized||r.clearCellHeight()),r.initialize(),this.vDomTopPad-=a,this.vDomTopPad<0&&(this.vDomTopPad=o*this.vDomRowHeight),o||(this.vDomTopPad=0),n.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop-=a,this.vDomTop--),e=-(this.scrollTop-this.vDomScrollPosTop),r.getHeight()>this.vDomWindowBuffer&&(this.vDomWindowBuffer=2*r.getHeight()),t=(i[this.vDomTop-1].getHeight()||this.vDomRowHeight)?this._addTopRow(e,t+1):this._quickNormalizeRowHeight(this.vDomTopNewRows)}},l.prototype._removeTopRow=function(e){var t=this.tableElement,n=this.getDisplayRows()[this.vDomTop],i=n.getHeight()||this.vDomRowHeight;if(e>=i){var o=n.getElement();o.parentNode.removeChild(o),this.vDomTopPad+=i,t.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop+=this.vDomTop?i:i+this.vDomWindowBuffer,this.vDomTop++,e=this.scrollTop-this.vDomScrollPosTop,this._removeTopRow(e)}},l.prototype._addBottomRow=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.tableElement,i=this.getDisplayRows();if(this.vDomBottom=a&&(this.styleRow(r,o),n.appendChild(r.getElement()),r.initialized&&r.heightInitialized||(this.vDomBottomNewRows.push(r),r.heightInitialized||r.clearCellHeight()),r.initialize(),this.vDomBottomPad-=a,(this.vDomBottomPad<0||o==this.displayRowsCount-1)&&(this.vDomBottomPad=0),n.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom+=a,this.vDomBottom++),e=this.scrollTop-this.vDomScrollPosBottom,r.getHeight()>this.vDomWindowBuffer&&(this.vDomWindowBuffer=2*r.getHeight()),t=(i[this.vDomBottom+1].getHeight()||this.vDomRowHeight)?this._addBottomRow(e,t+1):this._quickNormalizeRowHeight(this.vDomBottomNewRows)}},l.prototype._removeBottomRow=function(e){var t=this.tableElement,n=this.getDisplayRows()[this.vDomBottom],i=n.getHeight()||this.vDomRowHeight;if(e>=i){var o=n.getElement();o.parentNode&&o.parentNode.removeChild(o),this.vDomBottomPad+=i,this.vDomBottomPad<0&&(this.vDomBottomPad=0),t.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom-=i,this.vDomBottom--,e=-(this.scrollTop-this.vDomScrollPosBottom),this._removeBottomRow(e)}},l.prototype._quickNormalizeRowHeight=function(e){e.forEach(function(e){e.calcHeight()}),e.forEach(function(e){e.setCellHeight()}),e.length=0},l.prototype.normalizeHeight=function(){this.activeRows.forEach(function(e){e.normalizeHeight()})},l.prototype.adjustTableSize=function(){var e,t=this.element.clientHeight;if("virtual"===this.renderMode){var n=Math.floor(this.columnManager.getElement().getBoundingClientRect().height+(this.table.footerManager&&this.table.footerManager.active&&!this.table.footerManager.external?this.table.footerManager.getElement().getBoundingClientRect().height:0));this.fixedHeight?(this.element.style.minHeight="calc(100% - "+n+"px)",this.element.style.height="calc(100% - "+n+"px)",this.element.style.maxHeight="calc(100% - "+n+"px)"):(this.element.style.height="",this.element.style.height=this.table.element.clientHeight-n+"px",this.element.scrollTop=this.scrollTop),this.height=this.element.clientHeight,this.vDomWindowBuffer=this.table.options.virtualDomBuffer||this.height,this.fixedHeight||t==this.element.clientHeight||(e=this.table.modExists("resizeTable"),(e&&!this.table.modules.resizeTable.autoResize||!e)&&this.redraw())}},l.prototype.reinitialize=function(){this.rows.forEach(function(e){e.reinitialize(!0)})},l.prototype.blockRedraw=function(){this.redrawBlock=!0,this.redrawBlockRestoreConfig=!1},l.prototype.restoreRedraw=function(){this.redrawBlock=!1,this.redrawBlockRestoreConfig?(this.refreshActiveData(this.redrawBlockRestoreConfig.stage,this.redrawBlockRestoreConfig.skipStage,this.redrawBlockRestoreConfig.renderInPosition),this.redrawBlockRestoreConfig=!1):this.redrawBlockRederInPosition&&this.reRenderInPosition(),this.redrawBlockRederInPosition=!1},l.prototype.redraw=function(e){var t=this.scrollLeft;this.adjustTableSize(),this.table.tableWidth=this.table.element.clientWidth,e?this.renderTable():("classic"==this.renderMode?this.table.options.groupBy?this.refreshActiveData("group",!1,!1):this._simpleRender():(this.reRenderInPosition(),this.scrollHorizontal(t)),this.displayRowsCount||this.table.options.placeholder&&this.getElement().appendChild(this.table.options.placeholder))},l.prototype.resetScroll=function(){if(this.element.scrollLeft=0,this.element.scrollTop=0,"ie"===this.table.browser){var e=document.createEvent("Event");e.initEvent("scroll",!1,!0),this.element.dispatchEvent(e)}else this.element.dispatchEvent(new Event("scroll"))};var u=function(e){this.table=e,this.element=this.table.rowManager.tableElement,this.holderEl=this.table.rowManager.element,this.leftCol=0,this.rightCol=0,this.scrollLeft=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0,this.fitDataColAvg=0,this.window=200,this.initialized=!1,this.columns=[],this.compatabilityCheck()&&this.initialize()};u.prototype.compatabilityCheck=function(){var e=this.table.options,t=!1,n=!0;return"fitDataTable"==e.layout&&(console.warn("Horizontal Vitrual DOM is not compatible with fitDataTable layout mode"),n=!1),e.responsiveLayout&&(console.warn("Horizontal Vitrual DOM is not compatible with responsive columns"),n=!1),this.table.rtl&&(console.warn("Horizontal Vitrual DOM is not currently compatible with RTL text direction"),n=!1),e.columns&&(t=e.columns.find(function(e){return e.frozen}),t&&(console.warn("Horizontal Vitrual DOM is not compatible with frozen columns"),n=!1)),n||(e.virtualDomHoz=!1),n},u.prototype.initialize=function(){var e=this;this.holderEl.addEventListener("scroll",function(){var t=e.holderEl.scrollLeft;e.scrollLeft!=t&&(e.scrollLeft=t,e.scroll(t-(e.vDomScrollPosLeft+e.window)))})},u.prototype.deinitialize=function(){this.initialized=!1},u.prototype.clear=function(){this.columns=[],this.leftCol=-1,this.rightCol=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0},u.prototype.dataChange=function(){var e,t,n,i=!1,o=0,r=0;if("fitData"===this.table.options.layout){if(this.table.columnManager.columnsByIndex.forEach(function(e){!e.definition.width&&e.visible&&(i=!0)}),i&&i&&this.table.rowManager.getDisplayRows().length&&(this.vDomScrollPosRight=this.scrollLeft+this.holderEl.clientWidth+this.window,this.table.options.groupBy?(e=this.table.modules.groupRows.getGroups(!1)[0],t=e.getRows(!1)[0]):t=this.table.rowManager.getDisplayRows()[0],t)){n=t.getElement(),t.generateCells(),this.element.appendChild(n);for(r=0;rthis.vDomScrollPosRight)break}for(n.parentNode.removeChild(n),this.fitDataColAvg=Math.floor(o/(r+1)),r;rn.vDomScrollPosLeft&&o.8*this.holderEl.clientWidth?this.reinitialize():e>0?(this.addColRight(),this.removeColLeft()):(this.addColLeft(),this.removeColRight())},u.prototype.colPositionAdjust=function(e,t,n){for(var i=e;i=this.columns.length-1?this.vDomPadRight=0:this.vDomPadRight-=i.getWidth(),this.element.style.paddingRight=this.vDomPadRight+"px",this.addColRight())},u.prototype.addColLeft=function(){var e=this.columns[this.leftCol-1];if(e&&e.modules.vdomHoz.rightPos>=this.vDomScrollPosLeft){var t=this.table.rowManager.getVisibleRows();t.forEach(function(t){if("group"!==t.type){var n=t.getCell(e);t.getElement().prepend(n.getElement()),n.cellRendered()}}),this.leftCol?this.vDomPadLeft-=e.getWidth():this.vDomPadLeft=0,this.element.style.paddingLeft=this.vDomPadLeft+"px",this.leftCol--,this.addColLeft()}},u.prototype.removeColRight=function(e){var t;e=this.columns[this.rightCol];e&&e.modules.vdomHoz.leftPos>this.vDomScrollPosRight&&(t=this.table.rowManager.getVisibleRows(),e.modules.vdomHoz.visible=!1,t.forEach(function(t){if("group"!==t.type){var n=t.getCell(e);t.getElement().removeChild(n.getElement())}}),this.vDomPadRight+=e.getWidth(),this.element.style.paddingRight=this.vDomPadRight+"px",this.rightCol--,this.removeColRight())},u.prototype.removeColLeft=function(){var e,t=this.columns[this.leftCol];t&&t.modules.vdomHoz.rightPos-1}return!1},d.prototype.treeCollapse=function(){this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.collapseRow(this._row)},d.prototype.treeExpand=function(){this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.expandRow(this._row)},d.prototype.treeToggle=function(){this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.toggleRow(this._row)},d.prototype.getTreeParent=function(){return!!this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.getTreeParent(this._row)},d.prototype.getTreeChildren=function(){return!!this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.getTreeChildren(this._row,!0)},d.prototype.addTreeChild=function(e,t,n){return!!this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.addTreeChildRow(this._row,e,t,n)},d.prototype.reformat=function(){return this._row.reinitialize()},d.prototype.getGroup=function(){return this._row.getGroup().getComponent()},d.prototype.getTable=function(){return this._row.table},d.prototype.getNextRow=function(){var e=this._row.nextRow();return e?e.getComponent():e},d.prototype.getPrevRow=function(){var e=this._row.prevRow();return e?e.getComponent():e};var h=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"row";this.table=t.table,this.parent=t,this.data={},this.type=n,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.component=null,this.created=!1,this.setData(e)};h.prototype.create=function(){this.created||(this.created=!0,this.generateElement())},h.prototype.createElement=function(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e},h.prototype.getElement=function(){return this.create(),this.element},h.prototype.detachElement=function(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)},h.prototype.generateElement=function(){var e,t,n,i=this;this.createElement(),!1!==i.table.options.selectable&&i.table.modExists("selectRow")&&i.table.modules.selectRow.initializeRow(this),!1!==i.table.options.movableRows&&i.table.modExists("moveRow")&&i.table.modules.moveRow.initializeRow(this),!1!==i.table.options.dataTree&&i.table.modExists("dataTree")&&i.table.modules.dataTree.initializeRow(this),"collapse"===i.table.options.responsiveLayout&&i.table.modExists("responsiveLayout")&&i.table.modules.responsiveLayout.initializeRow(this),(i.table.options.rowContextMenu||i.table.options.rowClickMenu)&&this.table.modExists("menu")&&i.table.modules.menu.initializeRow(this),i.table.options.rowClick&&i.element.addEventListener("click",function(e){i.table.options.rowClick(e,i.getComponent())}),i.table.options.rowDblClick&&i.element.addEventListener("dblclick",function(e){i.table.options.rowDblClick(e,i.getComponent())}),i.table.options.rowContext&&i.element.addEventListener("contextmenu",function(e){i.table.options.rowContext(e,i.getComponent())}),i.table.options.rowMouseEnter&&i.element.addEventListener("mouseenter",function(e){i.table.options.rowMouseEnter(e,i.getComponent())}),i.table.options.rowMouseLeave&&i.element.addEventListener("mouseleave",function(e){i.table.options.rowMouseLeave(e,i.getComponent())}),i.table.options.rowMouseOver&&i.element.addEventListener("mouseover",function(e){i.table.options.rowMouseOver(e,i.getComponent())}),i.table.options.rowMouseOut&&i.element.addEventListener("mouseout",function(e){i.table.options.rowMouseOut(e,i.getComponent())}),i.table.options.rowMouseMove&&i.element.addEventListener("mousemove",function(e){i.table.options.rowMouseMove(e,i.getComponent())}),i.table.options.rowTap&&(n=!1,i.element.addEventListener("touchstart",function(e){n=!0},{passive:!0}),i.element.addEventListener("touchend",function(e){n&&i.table.options.rowTap(e,i.getComponent()),n=!1})),i.table.options.rowDblTap&&(e=null,i.element.addEventListener("touchend",function(t){e?(clearTimeout(e),e=null,i.table.options.rowDblTap(t,i.getComponent())):e=setTimeout(function(){clearTimeout(e),e=null},300)})),i.table.options.rowTapHold&&(t=null,i.element.addEventListener("touchstart",function(e){clearTimeout(t),t=setTimeout(function(){clearTimeout(t),t=null,n=!1,i.table.options.rowTapHold(e,i.getComponent())},1e3)},{passive:!0}),i.element.addEventListener("touchend",function(e){clearTimeout(t),t=null}))},h.prototype.generateCells=function(){this.cells=this.table.columnManager.generateCells(this)},h.prototype.initialize=function(e){var t=this;if(this.create(),!this.initialized||e){this.deleteCells();while(this.element.firstChild)this.element.removeChild(this.element.firstChild);this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layoutRow(this),this.generateCells(),this.table.options.virtualDomHoz&&this.table.vdomHoz.initialized?this.table.vdomHoz.initializeRow(this):this.cells.forEach(function(e){t.element.appendChild(e.getElement()),e.cellRendered()}),e&&this.normalizeHeight(),this.table.options.dataTree&&this.table.modExists("dataTree")&&this.table.modules.dataTree.layoutRow(this),"collapse"===this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout")&&this.table.modules.responsiveLayout.layoutRow(this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.table.options.resizableRows&&this.table.modExists("resizeRows")&&this.table.modules.resizeRows.initializeRow(this),this.initialized=!0}else this.table.options.virtualDomHoz&&this.table.vdomHoz.reinitializeRow(this)},h.prototype.reinitializeHeight=function(){this.heightInitialized=!1,this.element&&null!==this.element.offsetParent&&this.normalizeHeight(!0)},h.prototype.reinitialize=function(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&null!==this.element.offsetParent&&this.initialize(!0),this.table.options.dataTree&&this.table.modExists("dataTree",!0)&&this.table.modules.dataTree.getTreeChildren(this,!1,!0).forEach(function(e){e.reinitialize(!0)})},h.prototype.calcHeight=function(e){var t=0,n=this.table.options.resizableRows?this.element.clientHeight:0;this.cells.forEach(function(e){var n=e.getHeight();n>t&&(t=n)}),this.height=e?Math.max(t,n):this.manualHeight?this.height:Math.max(t,n),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight},h.prototype.setCellHeight=function(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0},h.prototype.clearCellHeight=function(){this.cells.forEach(function(e){e.clearHeight()})},h.prototype.normalizeHeight=function(e){e&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()},h.prototype.setHeight=function(e,t){(this.height!=e||t)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)},h.prototype.getHeight=function(){return this.outerHeight},h.prototype.getWidth=function(){return this.element.offsetWidth},h.prototype.deleteCell=function(e){var t=this.cells.indexOf(e);t>-1&&this.cells.splice(t,1)},h.prototype.setData=function(e){this.table.modExists("mutator")&&(e=this.table.modules.mutator.transformRow(e,"data")),this.data=e,this.table.options.reactiveData&&this.table.modExists("reactiveData",!0)&&this.table.modules.reactiveData.watchRow(this)},h.prototype.updateData=function(e){var t,n=this,i=this.element&&g.prototype.helpers.elVisible(this.element),o={};return new Promise(function(r,a){for(var s in"string"===typeof e&&(e=JSON.parse(e)),n.table.options.reactiveData&&n.table.modExists("reactiveData",!0)&&n.table.modules.reactiveData.block(),n.table.modExists("mutator")?(o=Object.assign(o,n.data),o=Object.assign(o,e),t=n.table.modules.mutator.transformRow(o,"data",e)):t=e,t)n.data[s]=t[s];for(var s in n.table.options.reactiveData&&n.table.modExists("reactiveData",!0)&&n.table.modules.reactiveData.unblock(),e){var c=n.table.columnManager.getColumnsByFieldRoot(s);c.forEach(function(e){var o=n.getCell(e.getField());if(o){var r=e.getFieldValue(t);o.getValue()!=r&&(o.setValueProcessData(r),i&&o.cellRendered())}})}n.table.options.groupUpdateOnCellEdit&&n.table.options.groupBy&&n.table.modExists("groupRows")&&n.table.modules.groupRows.reassignRowToGroup(n.row),i?(n.normalizeHeight(!0),n.table.options.rowFormatter&&n.table.options.rowFormatter(n.getComponent())):(n.initialized=!1,n.height=0,n.heightStyled=""),!1!==n.table.options.dataTree&&n.table.modExists("dataTree")&&n.table.modules.dataTree.redrawNeeded(e)&&(n.table.modules.dataTree.initializeRow(n),i&&(n.table.modules.dataTree.layoutRow(n),n.table.rowManager.refreshActiveData("tree",!1,!0))),n.table.options.rowUpdated.call(n.table,n.getComponent()),n.table.options.dataChanged&&n.table.options.dataChanged.call(n.table,n.table.rowManager.getData()),r()})},h.prototype.getData=function(e){return e&&this.table.modExists("accessor")?this.table.modules.accessor.transformRow(this,e):this.data},h.prototype.getCell=function(e){var t=!1;return e=this.table.columnManager.findColumn(e),t=this.cells.find(function(t){return t.column===e}),t},h.prototype.getCellIndex=function(e){return this.cells.findIndex(function(t){return t===e})},h.prototype.findNextEditableCell=function(e){var t=!1;if(e0)for(var n=e-1;n>=0;n--){var i=this.cells[n],o=!0;if(i.column.modules.edit&&g.prototype.helpers.elVisible(i.getElement())&&("function"==typeof i.column.modules.edit.check&&(o=i.column.modules.edit.check(i.getComponent())),o)){t=i;break}}return t},h.prototype.getCells=function(){return this.cells},h.prototype.nextRow=function(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1},h.prototype.prevRow=function(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1},h.prototype.moveToRow=function(e,t){var n=this.table.rowManager.findRow(e);n?(this.table.rowManager.moveRowActual(this,n,!t),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)},h.prototype.validate=function(){var e=[];return this.cells.forEach(function(t){t.validate()||e.push(t.getComponent())}),!e.length||e},h.prototype.delete=function(){var e=this;return new Promise(function(t,n){var i,o;e.table.options.history&&e.table.modExists("history")&&(e.table.options.groupBy&&e.table.modExists("groupRows")?(o=e.getGroup().rows,i=o.indexOf(e),i&&(i=o[i-1])):(i=e.table.rowManager.getRowIndex(e),i&&(i=e.table.rowManager.rows[i-1])),e.table.modules.history.action("rowDelete",e,{data:e.getData(),pos:!i,index:i})),e.deleteActual(),t()})},h.prototype.deleteActual=function(e){this.table.rowManager.getRowIndex(this);this.detatchModules(),this.table.options.reactiveData&&this.table.modExists("reactiveData",!0),this.modules.group&&this.modules.group.removeRow(this),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.table.options.dataTree&&this.table.modExists("dataTree",!0)&&this.table.modules.dataTree.rowDelete(this),this.table.modExists("columnCalcs")&&(this.table.options.groupBy&&this.table.modExists("groupRows")?this.table.modules.columnCalcs.recalcRowGroup(this):this.table.modules.columnCalcs.recalc(this.table.rowManager.activeRows))},h.prototype.detatchModules=function(){this.table.modExists("selectRow")&&this.table.modules.selectRow._deselectRow(this,!0),this.table.modExists("edit")&&this.table.modules.edit.currentCell.row===this&&this.table.modules.edit.cancelEdit(),this.table.modExists("frozenRows")&&this.table.modules.frozenRows.detachRow(this)},h.prototype.deleteCells=function(){for(var e=this.cells.length,t=0;t",footerElement:!1,index:"id",textDirection:"auto",keybindings:[],tabEndNewRow:!1,invalidOptionWarnings:!0,clipboard:!1,clipboardCopyStyled:!0,clipboardCopyConfig:!1,clipboardCopyFormatter:!1,clipboardCopyRowRange:"active",clipboardPasteParser:"table",clipboardPasteAction:"insert",clipboardCopied:function(){},clipboardPasted:function(){},clipboardPasteError:function(){},downloadDataFormatter:!1,downloadReady:function(e,t){return t},downloadComplete:!1,downloadConfig:{},downloadRowRange:"active",dataTree:!1,dataTreeFilter:!0,dataTreeSort:!0,dataTreeElementColumn:!1,dataTreeBranchElement:!0,dataTreeChildIndent:9,dataTreeChildField:"_children",dataTreeCollapseElement:!1,dataTreeExpandElement:!1,dataTreeStartExpanded:!1,dataTreeRowExpanded:function(){},dataTreeRowCollapsed:function(){},dataTreeChildColumnCalcs:!1,dataTreeSelectPropagate:!1,printAsHtml:!1,printFormatter:!1,printHeader:!1,printFooter:!1,printCopyStyle:!0,printStyled:!0,printVisibleRows:!0,printRowRange:"visible",printConfig:{},addRowPos:"bottom",selectable:"highlight",selectableRangeMode:"drag",selectableRollingSelection:!0,selectablePersistence:!0,selectableCheck:function(e,t){return!0},headerFilterLiveFilterDelay:300,headerFilterPlaceholder:!1,headerVisible:!0,history:!1,locale:!1,langs:{},virtualDom:!0,virtualDomBuffer:0,virtualDomHoz:!1,persistentLayout:!1,persistentSort:!1,persistentFilter:!1,persistenceID:"",persistenceMode:!0,persistenceReaderFunc:!1,persistenceWriterFunc:!1,persistence:!1,responsiveLayout:!1,responsiveLayoutCollapseStartOpen:!0,responsiveLayoutCollapseUseFormatters:!0,responsiveLayoutCollapseFormatter:!1,pagination:!1,paginationSize:!1,paginationInitialPage:1,paginationButtonCount:5,paginationSizeSelector:!1,paginationElement:!1,paginationDataSent:{},paginationDataReceived:{},paginationAddRow:"page",ajaxURL:!1,ajaxURLGenerator:!1,ajaxParams:{},ajaxConfig:"get",ajaxContentType:"form",ajaxRequestFunc:!1,ajaxLoader:!0,ajaxLoaderLoading:!1,ajaxLoaderError:!1,ajaxFiltering:!1,ajaxSorting:!1,ajaxProgressiveLoad:!1,ajaxProgressiveLoadDelay:0,ajaxProgressiveLoadScrollMargin:0,groupBy:!1,groupStartOpen:!0,groupValues:!1,groupUpdateOnCellEdit:!1,groupHeader:!1,groupHeaderPrint:null,groupHeaderClipboard:null,groupHeaderHtmlOutput:null,groupHeaderDownload:null,htmlOutputConfig:!1,movableColumns:!1,movableRows:!1,movableRowsConnectedTables:!1,movableRowsConnectedElements:!1,movableRowsSender:!1,movableRowsReceiver:"insert",movableRowsSendingStart:function(){},movableRowsSent:function(){},movableRowsSentFailed:function(){},movableRowsSendingStop:function(){},movableRowsReceivingStart:function(){},movableRowsReceived:function(){},movableRowsReceivedFailed:function(){},movableRowsReceivingStop:function(){},movableRowsElementDrop:function(){},scrollToRowPosition:"top",scrollToRowIfVisible:!0,scrollToColumnPosition:"left",scrollToColumnIfVisible:!0,rowFormatter:!1,rowFormatterPrint:null,rowFormatterClipboard:null,rowFormatterHtmlOutput:null,placeholder:!1,tableBuilding:function(){},tableBuilt:function(){},renderStarted:function(){},renderComplete:function(){},rowClick:!1,rowDblClick:!1,rowContext:!1,rowTap:!1,rowDblTap:!1,rowTapHold:!1,rowMouseEnter:!1,rowMouseLeave:!1,rowMouseOver:!1,rowMouseOut:!1,rowMouseMove:!1,rowContextMenu:!1,rowClickMenu:!1,rowAdded:function(){},rowDeleted:function(){},rowMoved:function(){},rowUpdated:function(){},rowSelectionChanged:function(){},rowSelected:function(){},rowDeselected:function(){},rowResized:function(){},cellClick:!1,cellDblClick:!1,cellContext:!1,cellTap:!1,cellDblTap:!1,cellTapHold:!1,cellMouseEnter:!1,cellMouseLeave:!1,cellMouseOver:!1,cellMouseOut:!1,cellMouseMove:!1,cellEditing:function(){},cellEdited:function(){},cellEditCancelled:function(){},columnMoved:!1,columnResized:function(){},columnTitleChanged:function(){},columnVisibilityChanged:function(){},htmlImporting:function(){},htmlImported:function(){},dataLoading:function(){},dataLoaded:function(){},dataEdited:!1,dataChanged:!1,ajaxRequesting:function(){},ajaxResponse:!1,ajaxError:function(){},dataFiltering:!1,dataFiltered:!1,dataSorting:function(){},dataSorted:function(){},groupToggleElement:"arrow",groupClosedShowCalcs:!1,dataGrouping:function(){},dataGrouped:!1,groupVisibilityChanged:function(){},groupClick:!1,groupDblClick:!1,groupContext:!1,groupContextMenu:!1,groupClickMenu:!1,groupTap:!1,groupDblTap:!1,groupTapHold:!1,columnCalcs:!0,pageLoaded:function(){},localized:function(){},validationMode:"blocking",validationFailed:function(){},historyUndo:function(){},historyRedo:function(){},scrollHorizontal:function(){},scrollVertical:function(){}},g.prototype.initializeOptions=function(e){if(!1!==e.invalidOptionWarnings)for(var t in e)"undefined"===typeof this.defaultOptions[t]&&console.warn("Invalid table constructor option:",t);for(var t in this.defaultOptions)t in e?this.options[t]=e[t]:Array.isArray(this.defaultOptions[t])?this.options[t]=Object.assign([],this.defaultOptions[t]):"object"===r(this.defaultOptions[t])&&null!==this.defaultOptions[t]?this.options[t]=Object.assign({},this.defaultOptions[t]):this.options[t]=this.defaultOptions[t]},g.prototype.initializeElement=function(e){return"undefined"!==typeof HTMLElement&&e instanceof HTMLElement?(this.element=e,!0):"string"===typeof e?(this.element=document.querySelector(e),!!this.element||(console.error("Tabulator Creation Error - no element found matching selector: ",e),!1)):(console.error("Tabulator Creation Error - Invalid element provided:",e),!1)},g.prototype.rtlCheck=function(){var e=window.getComputedStyle(this.element);switch(this.options.textDirection){case"auto":if("rtl"!==e.direction)break;case"rtl":this.element.classList.add("tabulator-rtl"),this.rtl=!0;break;case"ltr":this.element.classList.add("tabulator-ltr");default:this.rtl=!1}},g.prototype._mapDepricatedFunctionality=function(){(this.options.persistentLayout||this.options.persistentSort||this.options.persistentFilter)&&(this.options.persistence||(this.options.persistence={})),this.options.dataEdited&&(console.warn("DEPRECATION WARNING - dataEdited option has been deprecated, please use the dataChanged option instead"),this.options.dataChanged=this.options.dataEdited),this.options.downloadDataFormatter&&console.warn("DEPRECATION WARNING - downloadDataFormatter option has been deprecated"),"undefined"!==typeof this.options.clipboardCopyHeader&&(this.options.columnHeaders=this.options.clipboardCopyHeader,console.warn("DEPRECATION WARNING - clipboardCopyHeader option has been deprecated, please use the columnHeaders property on the clipboardCopyConfig option")),!0!==this.options.printVisibleRows&&(console.warn("printVisibleRows option is deprecated, you should now use the printRowRange option"),this.options.persistence.printRowRange="active"),!0!==this.options.printCopyStyle&&(console.warn("printCopyStyle option is deprecated, you should now use the printStyled option"),this.options.persistence.printStyled=this.options.printCopyStyle),this.options.persistentLayout&&(console.warn("persistentLayout option is deprecated, you should now use the persistence option"),!0!==this.options.persistence&&"undefined"===typeof this.options.persistence.columns&&(this.options.persistence.columns=!0)),this.options.persistentSort&&(console.warn("persistentSort option is deprecated, you should now use the persistence option"),!0!==this.options.persistence&&"undefined"===typeof this.options.persistence.sort&&(this.options.persistence.sort=!0)),this.options.persistentFilter&&(console.warn("persistentFilter option is deprecated, you should now use the persistence option"),!0!==this.options.persistence&&"undefined"===typeof this.options.persistence.filter&&(this.options.persistence.filter=!0)),this.options.columnVertAlign&&(console.warn("columnVertAlign option is deprecated, you should now use the columnHeaderVertAlign option"),this.options.columnHeaderVertAlign=this.options.columnVertAlign)},g.prototype._clearSelection=function(){this.element.classList.add("tabulator-block-select"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove("tabulator-block-select")},g.prototype._create=function(){this._clearObjectPointers(),this._mapDepricatedFunctionality(),this.bindModules(),this.rtlCheck(),"TABLE"===this.element.tagName&&this.modExists("htmlTableImport",!0)&&this.modules.htmlTableImport.parseTable(),this.columnManager=new a(this),this.rowManager=new l(this),this.footerManager=new m(this),this.columnManager.setRowManager(this.rowManager),this.rowManager.setColumnManager(this.columnManager),this.options.virtualDomHoz&&(this.vdomHoz=new u(this)),this._buildElement(),this._loadInitialData()},g.prototype._clearObjectPointers=function(){this.options.columns=this.options.columns.slice(0),this.options.reactiveData||(this.options.data=this.options.data.slice(0))},g.prototype._buildElement=function(){var e=this,t=this.element,n=this.modules,i=this.options;i.tableBuilding.call(this),t.classList.add("tabulator"),t.setAttribute("role","grid");while(t.firstChild)t.removeChild(t.firstChild);for(var o in i.height&&(i.height=isNaN(i.height)?i.height:i.height+"px",t.style.height=i.height),!1!==i.minHeight&&(i.minHeight=isNaN(i.minHeight)?i.minHeight:i.minHeight+"px",t.style.minHeight=i.minHeight),!1!==i.maxHeight&&(i.maxHeight=isNaN(i.maxHeight)?i.maxHeight:i.maxHeight+"px",t.style.maxHeight=i.maxHeight),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser(),this.modExists("layout",!0)&&n.layout.initialize(i.layout),n.localize.initialize(),!1!==i.headerFilterPlaceholder&&n.localize.setHeaderFilterPlaceholder(i.headerFilterPlaceholder),i.langs)n.localize.installLang(o,i.langs[o]);if(n.localize.setLocale(i.locale),"string"==typeof i.placeholder){var r=document.createElement("div");r.classList.add("tabulator-placeholder");var a=document.createElement("span");a.innerHTML=i.placeholder,r.appendChild(a),i.placeholder=r}if(t.appendChild(this.columnManager.getElement()),t.appendChild(this.rowManager.getElement()),i.footerElement&&this.footerManager.activate(),i.persistence&&this.modExists("persistence",!0)&&n.persistence.initialize(),i.movableRows&&this.modExists("moveRow")&&n.moveRow.initialize(),i.autoColumns&&this.options.data&&this.columnManager.generateColumnsFromRowData(this.options.data),this.modExists("columnCalcs")&&n.columnCalcs.initialize(),this.columnManager.setColumns(i.columns),i.dataTree&&this.modExists("dataTree",!0)&&n.dataTree.initialize(),this.modExists("frozenRows")&&this.modules.frozenRows.initialize(),(i.persistence&&this.modExists("persistence",!0)&&n.persistence.config.sort||i.initialSort)&&this.modExists("sort",!0)){var s=[];i.persistence&&this.modExists("persistence",!0)&&n.persistence.config.sort?(s=n.persistence.load("sort"),!1===s&&i.initialSort&&(s=i.initialSort)):i.initialSort&&(s=i.initialSort),n.sort.setSort(s)}if((i.persistence&&this.modExists("persistence",!0)&&n.persistence.config.filter||i.initialFilter)&&this.modExists("filter",!0)){var c=[];i.persistence&&this.modExists("persistence",!0)&&n.persistence.config.filter?(c=n.persistence.load("filter"),!1===c&&i.initialFilter&&(c=i.initialFilter)):i.initialFilter&&(c=i.initialFilter),n.filter.setFilter(c)}i.initialHeaderFilter&&this.modExists("filter",!0)&&i.initialHeaderFilter.forEach(function(t){var i=e.columnManager.findColumn(t.field);if(!i)return console.warn("Column Filter Error - No matching column found:",t.field),!1;n.filter.setHeaderFilterValue(i,t.value)}),this.modExists("ajax")&&n.ajax.initialize(),i.pagination&&this.modExists("page",!0)&&n.page.initialize(),i.groupBy&&this.modExists("groupRows",!0)&&n.groupRows.initialize(),this.modExists("keybindings")&&n.keybindings.initialize(),this.modExists("selectRow")&&n.selectRow.clearSelectionData(!0),i.autoResize&&this.modExists("resizeTable")&&n.resizeTable.initialize(),this.modExists("clipboard")&&n.clipboard.initialize(),i.printAsHtml&&this.modExists("print")&&n.print.initialize(),i.tableBuilt.call(this)},g.prototype._loadInitialData=function(){var e=this;if(e.options.pagination&&e.modExists("page"))if(e.modules.page.reset(!0,!0),"local"==e.options.pagination){if(e.options.data.length)e.rowManager.setData(e.options.data,!1,!0);else{if((e.options.ajaxURL||e.options.ajaxURLGenerator)&&e.modExists("ajax"))return void e.modules.ajax.loadData(!1,!0).then(function(){}).catch(function(){e.options.paginationInitialPage&&e.modules.page.setPage(e.options.paginationInitialPage)});e.rowManager.setData(e.options.data,!1,!0)}e.options.paginationInitialPage&&e.modules.page.setPage(e.options.paginationInitialPage)}else e.options.ajaxURL?e.modules.page.setPage(e.options.paginationInitialPage).then(function(){}).catch(function(){}):e.rowManager.setData([],!1,!0);else e.options.data.length?e.rowManager.setData(e.options.data):(e.options.ajaxURL||e.options.ajaxURLGenerator)&&e.modExists("ajax")?e.modules.ajax.loadData(!1,!0).then(function(){}).catch(function(){}):e.rowManager.setData(e.options.data,!1,!0)},g.prototype.destroy=function(){var e=this.element;g.prototype.comms.deregister(this),this.options.reactiveData&&this.modExists("reactiveData",!0)&&this.modules.reactiveData.unwatchData(),this.rowManager.rows.forEach(function(e){e.wipe()}),this.rowManager.rows=[],this.rowManager.activeRows=[],this.rowManager.displayRows=[],this.options.autoResize&&this.modExists("resizeTable")&&this.modules.resizeTable.clearBindings(),this.modExists("keybindings")&&this.modules.keybindings.clearBindings();while(e.firstChild)e.removeChild(e.firstChild);e.classList.remove("tabulator")},g.prototype._detectBrowser=function(){var e=navigator.userAgent||navigator.vendor||window.opera;e.indexOf("Trident")>-1?(this.browser="ie",this.browserSlow=!0):e.indexOf("Edge")>-1?(this.browser="edge",this.browserSlow=!0):e.indexOf("Firefox")>-1?(this.browser="firefox",this.browserSlow=!1):(this.browser="other",this.browserSlow=!1),this.browserMobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4))},g.prototype.blockRedraw=function(){return this.rowManager.blockRedraw()},g.prototype.restoreRedraw=function(){return this.rowManager.restoreRedraw()},g.prototype.setDataFromLocalFile=function(e){var t=this;return new Promise(function(n,i){var o=document.createElement("input");o.type="file",o.accept=e||".json,application/json",o.addEventListener("change",function(e){var r,a=o.files[0],s=new FileReader;s.readAsText(a),s.onload=function(e){try{r=JSON.parse(s.result)}catch(e){return console.warn("File Load Error - File contents is invalid JSON",e),void i(e)}t.setData(r).then(function(e){n(e)}).catch(function(e){n(e)})},s.onerror=function(e){console.warn("File Load Error - Unable to read file"),i()}}),o.click()})},g.prototype.setData=function(e,t,n){return this.modExists("ajax")&&this.modules.ajax.blockActiveRequest(),this._setData(e,t,n,!1,!0)},g.prototype._setData=function(e,t,n,i,o){var r=this;return"string"!==typeof e?e?r.rowManager.setData(e,i,o):r.modExists("ajax")&&(r.modules.ajax.getUrl||r.options.ajaxURLGenerator)?"remote"==r.options.pagination&&r.modExists("page",!0)?(r.modules.page.reset(!0,!0),r.modules.page.setPage(1)):r.modules.ajax.loadData(i,o):r.rowManager.setData([],i,o):0==e.indexOf("{")||0==e.indexOf("[")?r.rowManager.setData(JSON.parse(e),i,o):r.modExists("ajax",!0)?(t&&r.modules.ajax.setParams(t),n&&r.modules.ajax.setConfig(n),r.modules.ajax.setUrl(e),"remote"==r.options.pagination&&r.modExists("page",!0)?(r.modules.page.reset(!0,!0),r.modules.page.setPage(1)):r.modules.ajax.loadData(i,o)):void 0},g.prototype.clearData=function(){this.modExists("ajax")&&this.modules.ajax.blockActiveRequest(),this.rowManager.clearData()},g.prototype.getData=function(e){return!0===e&&(console.warn("passing a boolean to the getData function is deprecated, you should now pass the string 'active'"),e="active"),this.rowManager.getData(e)},g.prototype.getDataCount=function(e){return!0===e&&(console.warn("passing a boolean to the getDataCount function is deprecated, you should now pass the string 'active'"),e="active"),this.rowManager.getDataCount(e)},g.prototype.searchRows=function(e,t,n){if(this.modExists("filter",!0))return this.modules.filter.search("rows",e,t,n)},g.prototype.searchData=function(e,t,n){if(this.modExists("filter",!0))return this.modules.filter.search("data",e,t,n)},g.prototype.getHtml=function(e,t,n){if(this.modExists("export",!0))return this.modules.export.getHtml(e,t,n)},g.prototype.print=function(e,t,n){if(this.modExists("print",!0))return this.modules.print.printFullscreen(e,t,n)},g.prototype.getAjaxUrl=function(){if(this.modExists("ajax",!0))return this.modules.ajax.getUrl()},g.prototype.replaceData=function(e,t,n){return this.modExists("ajax")&&this.modules.ajax.blockActiveRequest(),this._setData(e,t,n,!0)},g.prototype.updateData=function(e){var t=this,n=this,i=0;return new Promise(function(o,r){t.modExists("ajax")&&t.modules.ajax.blockActiveRequest(),"string"===typeof e&&(e=JSON.parse(e)),e?e.forEach(function(e){var t=n.rowManager.findRow(e[n.options.index]);t&&(i++,t.updateData(e).then(function(){i--,i||o()}))}):(console.warn("Update Error - No data provided"),r("Update Error - No data provided"))})},g.prototype.addData=function(e,t,n){var i=this;return new Promise(function(o,r){i.modExists("ajax")&&i.modules.ajax.blockActiveRequest(),"string"===typeof e&&(e=JSON.parse(e)),e?i.rowManager.addRows(e,t,n).then(function(e){var t=[];e.forEach(function(e){t.push(e.getComponent())}),o(t)}):(console.warn("Update Error - No data provided"),r("Update Error - No data provided"))})},g.prototype.updateOrAddData=function(e){var t=this,n=this,i=[],o=0;return new Promise(function(r,a){t.modExists("ajax")&&t.modules.ajax.blockActiveRequest(),"string"===typeof e&&(e=JSON.parse(e)),e?e.forEach(function(e){var t=n.rowManager.findRow(e[n.options.index]);o++,t?t.updateData(e).then(function(){o--,i.push(t.getComponent()),o||r(i)}):n.rowManager.addRows(e).then(function(e){o--,i.push(e[0].getComponent()),o||r(i)})}):(console.warn("Update Error - No data provided"),a("Update Error - No data provided"))})},g.prototype.getRow=function(e){var t=this.rowManager.findRow(e);return t?t.getComponent():(console.warn("Find Error - No matching row found:",e),!1)},g.prototype.getRowFromPosition=function(e,t){var n=this.rowManager.getRowFromPosition(e,t);return n?n.getComponent():(console.warn("Find Error - No matching row found:",e),!1)},g.prototype.deleteRow=function(e){var t=this;return new Promise(function(n,i){var o=t,r=0,a=0,s=[];function c(){r++,r==e.length&&a&&(o.rowManager.reRenderInPosition(),n())}Array.isArray(e)||(e=[e]),e.forEach(function(e){var n=t.rowManager.findRow(e,!0);n?s.push(n):(console.warn("Delete Error - No matching row found:",e),i("Delete Error - No matching row found"),c())}),s.sort(function(e,n){return t.rowManager.rows.indexOf(e)>t.rowManager.rows.indexOf(n)?1:-1}),s.forEach(function(e){e.delete().then(function(){a++,c()}).catch(function(e){c(),i(e)})})})},g.prototype.addRow=function(e,t,n){var i=this;return new Promise(function(o,r){"string"===typeof e&&(e=JSON.parse(e)),i.rowManager.addRows(e,t,n).then(function(e){i.modExists("columnCalcs")&&i.modules.columnCalcs.recalc(i.rowManager.activeRows),o(e[0].getComponent())})})},g.prototype.updateOrAddRow=function(e,t){var n=this;return new Promise(function(i,o){var r=n.rowManager.findRow(e);"string"===typeof t&&(t=JSON.parse(t)),r?r.updateData(t).then(function(){n.modExists("columnCalcs")&&n.modules.columnCalcs.recalc(n.rowManager.activeRows),i(r.getComponent())}).catch(function(e){o(e)}):r=n.rowManager.addRows(t).then(function(e){n.modExists("columnCalcs")&&n.modules.columnCalcs.recalc(n.rowManager.activeRows),i(e[0].getComponent())}).catch(function(e){o(e)})})},g.prototype.updateRow=function(e,t){var n=this;return new Promise(function(i,o){var r=n.rowManager.findRow(e);"string"===typeof t&&(t=JSON.parse(t)),r?r.updateData(t).then(function(){i(r.getComponent())}).catch(function(e){o(e)}):(console.warn("Update Error - No matching row found:",e),o("Update Error - No matching row found"))})},g.prototype.scrollToRow=function(e,t,n){var i=this;return new Promise(function(o,r){var a=i.rowManager.findRow(e);a?i.rowManager.scrollToRow(a,t,n).then(function(){o()}).catch(function(e){r(e)}):(console.warn("Scroll Error - No matching row found:",e),r("Scroll Error - No matching row found"))})},g.prototype.moveRow=function(e,t,n){var i=this.rowManager.findRow(e);i?i.moveToRow(t,n):console.warn("Move Error - No matching row found:",e)},g.prototype.getRows=function(e){return!0===e&&(console.warn("passing a boolean to the getRows function is deprecated, you should now pass the string 'active'"),e="active"),this.rowManager.getComponents(e)},g.prototype.getRowPosition=function(e,t){var n=this.rowManager.findRow(e);return n?this.rowManager.getRowPosition(n,t):(console.warn("Position Error - No matching row found:",e),!1)},g.prototype.copyToClipboard=function(e){this.modExists("clipboard",!0)&&this.modules.clipboard.copy(e)},g.prototype.setColumns=function(e){this.columnManager.setColumns(e)},g.prototype.getColumns=function(e){return this.columnManager.getComponents(e)},g.prototype.getColumn=function(e){var t=this.columnManager.findColumn(e);return t?t.getComponent():(console.warn("Find Error - No matching column found:",e),!1)},g.prototype.getColumnDefinitions=function(){return this.columnManager.getDefinitionTree()},g.prototype.getColumnLayout=function(){if(this.modExists("persistence",!0))return this.modules.persistence.parseColumns(this.columnManager.getColumns())},g.prototype.setColumnLayout=function(e){return!!this.modExists("persistence",!0)&&(this.columnManager.setColumns(this.modules.persistence.mergeDefinition(this.options.columns,e)),!0)},g.prototype.showColumn=function(e){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Show Error - No matching column found:",e),!1;t.show(),this.options.responsiveLayout&&this.modExists("responsiveLayout",!0)&&this.modules.responsiveLayout.update()},g.prototype.hideColumn=function(e){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Hide Error - No matching column found:",e),!1;t.hide(),this.options.responsiveLayout&&this.modExists("responsiveLayout",!0)&&this.modules.responsiveLayout.update()},g.prototype.toggleColumn=function(e){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1;t.visible?t.hide():t.show()},g.prototype.addColumn=function(e,t,n){var i=this;return new Promise(function(o,r){var a=i.columnManager.findColumn(n);i.columnManager.addColumn(e,t,a).then(function(e){o(e.getComponent())}).catch(function(e){r(e)})})},g.prototype.deleteColumn=function(e){var t=this;return new Promise(function(n,i){var o=t.columnManager.findColumn(e);o?o.delete().then(function(){n()}).catch(function(e){i(e)}):(console.warn("Column Delete Error - No matching column found:",e),i())})},g.prototype.updateColumnDefinition=function(e,t){var n=this;return new Promise(function(i,o){var r=n.columnManager.findColumn(e);r?r.updateDefinition(t).then(function(e){i(e)}).catch(function(e){o(e)}):(console.warn("Column Update Error - No matching column found:",e),o())})},g.prototype.moveColumn=function(e,t,n){var i=this.columnManager.findColumn(e),o=this.columnManager.findColumn(t);i?o?this.columnManager.moveColumn(i,o,n):console.warn("Move Error - No matching column found:",o):console.warn("Move Error - No matching column found:",e)},g.prototype.scrollToColumn=function(e,t,n){var i=this;return new Promise(function(o,r){var a=i.columnManager.findColumn(e);a?i.columnManager.scrollToColumn(a,t,n).then(function(){o()}).catch(function(e){r(e)}):(console.warn("Scroll Error - No matching column found:",e),r("Scroll Error - No matching column found"))})},g.prototype.setLocale=function(e){this.modules.localize.setLocale(e)},g.prototype.getLocale=function(){return this.modules.localize.getLocale()},g.prototype.getLang=function(e){return this.modules.localize.getLang(e)},g.prototype.redraw=function(e){this.columnManager.redraw(e),this.rowManager.redraw(e)},g.prototype.setHeight=function(e){"classic"!==this.rowManager.renderMode?(this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.setRenderMode(),this.rowManager.redraw()):console.warn("setHeight function is not available in classic render mode")},g.prototype.setSort=function(e,t){this.modExists("sort",!0)&&(this.modules.sort.setSort(e,t),this.rowManager.sorterRefresh())},g.prototype.getSorters=function(){if(this.modExists("sort",!0))return this.modules.sort.getSort()},g.prototype.clearSort=function(){this.modExists("sort",!0)&&(this.modules.sort.clear(),this.rowManager.sorterRefresh())},g.prototype.setFilter=function(e,t,n,i){this.modExists("filter",!0)&&(this.modules.filter.setFilter(e,t,n,i),this.rowManager.filterRefresh())},g.prototype.refreshFilter=function(){this.modExists("filter",!0)&&this.rowManager.filterRefresh()},g.prototype.addFilter=function(e,t,n,i){this.modExists("filter",!0)&&(this.modules.filter.addFilter(e,t,n,i),this.rowManager.filterRefresh())},g.prototype.getFilters=function(e){if(this.modExists("filter",!0))return this.modules.filter.getFilters(e)},g.prototype.setHeaderFilterFocus=function(e){if(this.modExists("filter",!0)){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Filter Focus Error - No matching column found:",e),!1;this.modules.filter.setHeaderFilterFocus(t)}},g.prototype.getHeaderFilterValue=function(e){if(this.modExists("filter",!0)){var t=this.columnManager.findColumn(e);if(t)return this.modules.filter.getHeaderFilterValue(t);console.warn("Column Filter Error - No matching column found:",e)}},g.prototype.setHeaderFilterValue=function(e,t){if(this.modExists("filter",!0)){var n=this.columnManager.findColumn(e);if(!n)return console.warn("Column Filter Error - No matching column found:",e),!1;this.modules.filter.setHeaderFilterValue(n,t)}},g.prototype.getHeaderFilters=function(){if(this.modExists("filter",!0))return this.modules.filter.getHeaderFilters()},g.prototype.removeFilter=function(e,t,n){this.modExists("filter",!0)&&(this.modules.filter.removeFilter(e,t,n),this.rowManager.filterRefresh())},g.prototype.clearFilter=function(e){this.modExists("filter",!0)&&(this.modules.filter.clearFilter(e),this.rowManager.filterRefresh())},g.prototype.clearHeaderFilter=function(){this.modExists("filter",!0)&&(this.modules.filter.clearHeaderFilter(),this.rowManager.filterRefresh())},g.prototype.selectRow=function(e){this.modExists("selectRow",!0)&&(!0===e&&(console.warn("passing a boolean to the selectRowselectRow function is deprecated, you should now pass the string 'active'"),e="active"),this.modules.selectRow.selectRows(e))},g.prototype.deselectRow=function(e){this.modExists("selectRow",!0)&&this.modules.selectRow.deselectRows(e)},g.prototype.toggleSelectRow=function(e){this.modExists("selectRow",!0)&&this.modules.selectRow.toggleRow(e)},g.prototype.getSelectedRows=function(){if(this.modExists("selectRow",!0))return this.modules.selectRow.getSelectedRows()},g.prototype.getSelectedData=function(){if(this.modExists("selectRow",!0))return this.modules.selectRow.getSelectedData()},g.prototype.getInvalidCells=function(){if(this.modExists("validate",!0))return this.modules.validate.getInvalidCells()},g.prototype.clearCellValidation=function(e){var t=this;this.modExists("validate",!0)&&(e||(e=this.modules.validate.getInvalidCells()),Array.isArray(e)||(e=[e]),e.forEach(function(e){t.modules.validate.clearValidation(e._getSelf())}))},g.prototype.validate=function(e){var t=[];return this.rowManager.rows.forEach(function(e){var n=e.validate();!0!==n&&(t=t.concat(n))}),!t.length||t},g.prototype.setMaxPage=function(e){if(!this.options.pagination||!this.modExists("page"))return!1;this.modules.page.setMaxPage(e)},g.prototype.setPage=function(e){return this.options.pagination&&this.modExists("page")?this.modules.page.setPage(e):new Promise(function(e,t){t()})},g.prototype.setPageToRow=function(e){var t=this;return new Promise(function(n,i){t.options.pagination&&t.modExists("page")?(e=t.rowManager.findRow(e),e?t.modules.page.setPageToRow(e).then(function(){n()}).catch(function(){i()}):i()):i()})},g.prototype.setPageSize=function(e){if(!this.options.pagination||!this.modExists("page"))return!1;this.modules.page.setPageSize(e),this.modules.page.setPage(1).then(function(){}).catch(function(){})},g.prototype.getPageSize=function(){if(this.options.pagination&&this.modExists("page",!0))return this.modules.page.getPageSize()},g.prototype.previousPage=function(){if(!this.options.pagination||!this.modExists("page"))return!1;this.modules.page.previousPage()},g.prototype.nextPage=function(){if(!this.options.pagination||!this.modExists("page"))return!1;this.modules.page.nextPage()},g.prototype.getPage=function(){return!(!this.options.pagination||!this.modExists("page"))&&this.modules.page.getPage()},g.prototype.getPageMax=function(){return!(!this.options.pagination||!this.modExists("page"))&&this.modules.page.getPageMax()},g.prototype.setGroupBy=function(e){if(!this.modExists("groupRows",!0))return!1;this.options.groupBy=e,this.modules.groupRows.initialize(),this.rowManager.refreshActiveData("display"),this.options.persistence&&this.modExists("persistence",!0)&&this.modules.persistence.config.group&&this.modules.persistence.save("group")},g.prototype.setGroupValues=function(e){if(!this.modExists("groupRows",!0))return!1;this.options.groupValues=e,this.modules.groupRows.initialize(),this.rowManager.refreshActiveData("display"),this.options.persistence&&this.modExists("persistence",!0)&&this.modules.persistence.config.group&&this.modules.persistence.save("group")},g.prototype.setGroupStartOpen=function(e){if(!this.modExists("groupRows",!0))return!1;this.options.groupStartOpen=e,this.modules.groupRows.initialize(),this.options.groupBy?(this.rowManager.refreshActiveData("group"),this.options.persistence&&this.modExists("persistence",!0)&&this.modules.persistence.config.group&&this.modules.persistence.save("group")):console.warn("Grouping Update - cant refresh view, no groups have been set")},g.prototype.setGroupHeader=function(e){if(!this.modExists("groupRows",!0))return!1;this.options.groupHeader=e,this.modules.groupRows.initialize(),this.options.groupBy?(this.rowManager.refreshActiveData("group"),this.options.persistence&&this.modExists("persistence",!0)&&this.modules.persistence.config.group&&this.modules.persistence.save("group")):console.warn("Grouping Update - cant refresh view, no groups have been set")},g.prototype.getGroups=function(e){return!!this.modExists("groupRows",!0)&&this.modules.groupRows.getGroups(!0)},g.prototype.getGroupedData=function(){if(this.modExists("groupRows",!0))return this.options.groupBy?this.modules.groupRows.getGroupedData():this.getData()},g.prototype.getEditedCells=function(){if(this.modExists("edit",!0))return this.modules.edit.getEditedCells()},g.prototype.clearCellEdited=function(e){var t=this;this.modExists("edit",!0)&&(e||(e=this.modules.edit.getEditedCells()),Array.isArray(e)||(e=[e]),e.forEach(function(e){t.modules.edit.clearEdited(e._getSelf())}))},g.prototype.getCalcResults=function(){return!!this.modExists("columnCalcs",!0)&&this.modules.columnCalcs.getResults()},g.prototype.recalc=function(){this.modExists("columnCalcs",!0)&&this.modules.columnCalcs.recalcAll(this.rowManager.activeRows)},g.prototype.navigatePrev=function(){var e=!1;return!(!this.modExists("edit",!0)||(e=this.modules.edit.currentCell,!e))&&e.nav().prev()},g.prototype.navigateNext=function(){var e=!1;return!(!this.modExists("edit",!0)||(e=this.modules.edit.currentCell,!e))&&e.nav().next()},g.prototype.navigateLeft=function(){var t=!1;return!(!this.modExists("edit",!0)||(t=this.modules.edit.currentCell,!t))&&(e.preventDefault(),t.nav().left())},g.prototype.navigateRight=function(){var t=!1;return!(!this.modExists("edit",!0)||(t=this.modules.edit.currentCell,!t))&&(e.preventDefault(),t.nav().right())},g.prototype.navigateUp=function(){var t=!1;return!(!this.modExists("edit",!0)||(t=this.modules.edit.currentCell,!t))&&(e.preventDefault(),t.nav().up())},g.prototype.navigateDown=function(){var t=!1;return!(!this.modExists("edit",!0)||(t=this.modules.edit.currentCell,!t))&&(e.preventDefault(),t.nav().down())},g.prototype.undo=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.undo()},g.prototype.redo=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.redo()},g.prototype.getHistoryUndoSize=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.getHistoryUndoSize()},g.prototype.getHistoryRedoSize=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.getHistoryRedoSize()},g.prototype.clearHistory=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.clear()},g.prototype.download=function(e,t,n,i){this.modExists("download",!0)&&this.modules.download.download(e,t,n,i)},g.prototype.downloadToTab=function(e,t,n,i){this.modExists("download",!0)&&this.modules.download.download(e,t,n,i,!0)},g.prototype.tableComms=function(e,t,n,i){this.modules.comms.receive(e,t,n,i)},g.prototype.moduleBindings={},g.prototype.extendModule=function(e,t,n){if(g.prototype.moduleBindings[e]){var i=g.prototype.moduleBindings[e].prototype[t];if(i)if("object"==("undefined"===typeof n?"undefined":r(n)))for(var o in n)i[o]=n[o];else console.warn("Module Error - Invalid value type, it must be an object");else console.warn("Module Error - property does not exist:",t)}else console.warn("Module Error - module does not exist:",e)},g.prototype.registerModule=function(e,t){g.prototype.moduleBindings[e]=t},g.prototype.bindModules=function(){for(var e in this.modules={},g.prototype.moduleBindings)this.modules[e]=new g.prototype.moduleBindings[e](this)},g.prototype.modExists=function(e,t){return!!this.modules[e]||(t&&console.error("Tabulator Module Not Installed: "+e),!1)},g.prototype.helpers={elVisible:function(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)},elOffset:function(e){var t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset-document.documentElement.clientTop,left:t.left+window.pageXOffset-document.documentElement.clientLeft}},deepClone:function(e){var t=Object.assign(Array.isArray(e)?[]:{},e);for(var n in e)null!=e[n]&&"object"===r(e[n])&&(e[n]instanceof Date?t[n]=new Date(e[n]):t[n]=this.deepClone(e[n]));return t}},g.prototype.comms={tables:[],register:function(e){g.prototype.comms.tables.push(e)},deregister:function(e){var t=g.prototype.comms.tables.indexOf(e);t>-1&&g.prototype.comms.tables.splice(t,1)},lookupTable:function(e,t){var n,i,o=[];if("string"===typeof e){if(n=document.querySelectorAll(e),n.length)for(var r=0;r0?r.setWidth(o):r.reinitializeWidth()):this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()},fitColumns:function(e){var t=this,n=t.table.element.clientWidth,i=0,o=0,r=0,a=0,s=[],c=[],l=0,u=0,d=0;function h(e){var t;return t="string"==typeof e?e.indexOf("%")>-1?n/100*parseInt(e):parseInt(e):e,t}function p(e,t,n,i){var o=[],a=0,s=0,c=0,l=r,u=0,d=0,f=[];function m(e){return n*(e.column.definition.widthGrow||1)}function g(e){return h(e.width)-n*(e.column.definition.widthShrink||0)}return e.forEach(function(e,r){var a=i?g(e):m(e);e.column.minWidth>=a?o.push(e):e.column.maxWidth&&e.column.maxWidththis.table.rowManager.element.clientHeight&&(n-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),e.forEach(function(e){var t,n,o;e.visible&&(t=e.definition.width,n=parseInt(e.minWidth),t?(o=h(t),i+=o>n?o:n,e.definition.widthShrink&&(c.push({column:e,width:o>n?o:n}),l+=e.definition.widthShrink)):(s.push({column:e,width:0}),r+=e.definition.widthGrow||1))}),o=n-i,a=Math.floor(o/r);d=p(s,o,a,!1);s.length&&d>0&&(s[s.length-1].width+=+d),s.forEach(function(e){o-=e.width}),u=Math.abs(d)+o,u>0&&l&&(d=p(c,u,Math.floor(u/l),!0)),c.length&&(c[c.length-1].width-=d),s.forEach(function(e){e.column.setWidth(e.width)}),c.forEach(function(e){e.column.setWidth(e.width)})}},g.prototype.registerModule("layout",v);var _=function(e){this.table=e,this.locale="default",this.lang=!1,this.bindings={},this.langList={}};_.prototype.initialize=function(){this.langList=g.prototype.helpers.deepClone(this.langs)},_.prototype.setHeaderFilterPlaceholder=function(e){this.langList.default.headerFilters.default=e},_.prototype.setHeaderFilterColumnPlaceholder=function(e,t){this.langList.default.headerFilters.columns[e]=t,this.lang&&!this.lang.headerFilters.columns[e]&&(this.lang.headerFilters.columns[e]=t)},_.prototype.installLang=function(e,t){this.langList[e]?this._setLangProp(this.langList[e],t):this.langList[e]=t},_.prototype._setLangProp=function(e,t){for(var n in t)e[n]&&"object"==r(e[n])?this._setLangProp(e[n],t[n]):e[n]=t[n]},_.prototype.setLocale=function(e){var t=this;function n(e,t){for(var i in e)"object"==r(e[i])?(t[i]||(t[i]={}),n(e[i],t[i])):t[i]=e[i]}if(e=e||"default",!0===e&&navigator.language&&(e=navigator.language.toLowerCase()),e&&!t.langList[e]){var i=e.split("-")[0];t.langList[i]?(console.warn("Localization Error - Exact matching locale not found, using closest match: ",e,i),e=i):(console.warn("Localization Error - Matching locale not found, using default: ",e),e="default")}t.locale=e,t.lang=g.prototype.helpers.deepClone(t.langList.default||{}),"default"!=e&&n(t.langList[e],t.lang),t.table.options.localized.call(t.table,t.locale,t.lang),t._executeBindings()},_.prototype.getLocale=function(e){return self.locale},_.prototype.getLang=function(e){return e?this.langList[e]:this.lang},_.prototype.getText=function(e,t){e=t?e+"|"+t:e;var n=e.split("|"),i=this._getLangElement(n,this.locale);return i||""},_.prototype._getLangElement=function(e,t){var n=this,i=n.lang;return e.forEach(function(e){var t;i&&(t=i[e],i="undefined"!=typeof t&&t)}),i},_.prototype.bind=function(e,t){this.bindings[e]||(this.bindings[e]=[]),this.bindings[e].push(t),t(this.getText(e),this.lang)},_.prototype._executeBindings=function(){var e=this,t=function(t){e.bindings[t].forEach(function(n){n(e.getText(t),e.lang)})};for(var n in e.bindings)t(n)},_.prototype.langs={default:{groups:{item:"item",items:"items"},columns:{},ajax:{loading:"Loading",error:"Error"},pagination:{page_size:"Page Size",page_title:"Show Page",first:"First",first_title:"First Page",last:"Last",last_title:"Last Page",prev:"Prev",prev_title:"Prev Page",next:"Next",next_title:"Next Page",all:"All"},headerFilters:{default:"filter column...",columns:{}}}},g.prototype.registerModule("localize",_);var b=function(e){this.table=e};b.prototype.getConnections=function(e){var t,n=this,i=[];return t=g.prototype.comms.lookupTable(e),t.forEach(function(e){n.table!==e&&i.push(e)}),i},b.prototype.send=function(e,t,n,i){var o=this,r=this.getConnections(e);r.forEach(function(e){e.tableComms(o.table.element,t,n,i)}),!r.length&&e&&console.warn("Table Connection Error - No tables matching selector found",e)},b.prototype.receive=function(e,t,n,i){if(this.table.modExists(t))return this.table.modules[t].commsReceived(e,n,i);console.warn("Inter-table Comms Error - no such module:",t)},g.prototype.registerModule("comms",b);var y=function(e){this.table=e,this.allowedTypes=["","data","download","clipboard","print","htmlOutput"]};y.prototype.initializeColumn=function(e){var t=this,n=!1,i={};this.allowedTypes.forEach(function(o){var r,a="accessor"+(o.charAt(0).toUpperCase()+o.slice(1));e.definition[a]&&(r=t.lookupAccessor(e.definition[a]),r&&(n=!0,i[a]={accessor:r,params:e.definition[a+"Params"]||{}}))}),n&&(e.modules.accessor=i)},y.prototype.lookupAccessor=function(e){var t=!1;switch("undefined"===typeof e?"undefined":r(e)){case"string":this.accessors[e]?t=this.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":t=e;break}return t},y.prototype.transformRow=function(e,t){var n="accessor"+(t.charAt(0).toUpperCase()+t.slice(1)),i=e.getComponent(),o=g.prototype.helpers.deepClone(e.data||{});return this.table.columnManager.traverse(function(e){var r,a,s,c;e.modules.accessor&&(a=e.modules.accessor[n]||e.modules.accessor.accessor||!1,a&&(r=e.getFieldValue(o),"undefined"!=r&&(c=e.getComponent(),s="function"===typeof a.params?a.params(r,o,t,c,i):a.params,e.setFieldValue(o,a.accessor(r,o,t,s,c,i)))))}),o},y.prototype.accessors={},g.prototype.registerModule("accessor",y);var M=function(e){this.table=e,this.config=!1,this.url="",this.urlGenerator=!1,this.params=!1,this.loaderElement=this.createLoaderElement(),this.msgElement=this.createMsgElement(),this.loadingElement=!1,this.errorElement=!1,this.loaderPromise=!1,this.progressiveLoad=!1,this.loading=!1,this.requestOrder=0};M.prototype.initialize=function(){var e;this.loaderElement.appendChild(this.msgElement),this.table.options.ajaxLoaderLoading&&("string"==typeof this.table.options.ajaxLoaderLoading?(e=document.createElement("template"),e.innerHTML=this.table.options.ajaxLoaderLoading.trim(),this.loadingElement=e.content.firstChild):this.loadingElement=this.table.options.ajaxLoaderLoading),this.loaderPromise=this.table.options.ajaxRequestFunc||this.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||this.defaultURLGenerator,this.table.options.ajaxLoaderError&&("string"==typeof this.table.options.ajaxLoaderError?(e=document.createElement("template"),e.innerHTML=this.table.options.ajaxLoaderError.trim(),this.errorElement=e.content.firstChild):this.errorElement=this.table.options.ajaxLoaderError),this.table.options.ajaxParams&&this.setParams(this.table.options.ajaxParams),this.table.options.ajaxConfig&&this.setConfig(this.table.options.ajaxConfig),this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.table.options.ajaxProgressiveLoad&&(this.table.options.pagination?(this.progressiveLoad=!1,console.error("Progressive Load Error - Pagination and progressive load cannot be used at the same time")):this.table.modExists("page")?(this.progressiveLoad=this.table.options.ajaxProgressiveLoad,this.table.modules.page.initializeProgressive(this.progressiveLoad)):console.error("Pagination plugin is required for progressive ajax loading"))},M.prototype.createLoaderElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-loader"),e},M.prototype.createMsgElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-loader-msg"),e.setAttribute("role","alert"),e},M.prototype.setParams=function(e,t){if(t)for(var n in this.params=this.params||{},e)this.params[n]=e[n];else this.params=e},M.prototype.getParams=function(){return this.params||{}},M.prototype.setConfig=function(e){if(this._loadDefaultConfig(),"string"==typeof e)this.config.method=e;else for(var t in e)this.config[t]=e[t]},M.prototype._loadDefaultConfig=function(e){var t=this;if(!t.config||e)for(var n in t.config={},t.defaultConfig)t.config[n]=t.defaultConfig[n]},M.prototype.setUrl=function(e){this.url=e},M.prototype.getUrl=function(){return this.url},M.prototype.loadData=function(e,t){return this.progressiveLoad?this._loadDataProgressive():this._loadDataStandard(e,t)},M.prototype.nextPage=function(e){var t;this.loading||(t=this.table.options.ajaxProgressiveLoadScrollMargin||2*this.table.rowManager.getElement().clientHeight,ei||null===i)&&(i=e)}),null!==i?!1!==o?i.toFixed(o):i:""},min:function(e,t,n){var i=null,o="undefined"!==typeof n.precision&&n.precision;return e.forEach(function(e){e=Number(e),(e"),n.dataTreeExpandElement?"string"===typeof n.dataTreeExpandElement?(e=document.createElement("div"),e.innerHTML=n.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=n.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="
"),r(n.dataTreeStartExpanded)){case"boolean":this.startOpen=function(e,t){return n.dataTreeStartExpanded};break;case"function":this.startOpen=n.dataTreeStartExpanded;break;default:this.startOpen=function(e,t){return n.dataTreeStartExpanded[t]};break}},C.prototype.initializeRow=function(e){var t=e.getData()[this.field],n=Array.isArray(t),i=n||!n&&"object"===("undefined"===typeof t?"undefined":r(t))&&null!==t;!i&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!i&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:!!i&&(e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0)),controlEl:!(!e.modules.dataTree||!i)&&e.modules.dataTree.controlEl,branchEl:!(!e.modules.dataTree||!i)&&e.modules.dataTree.branchEl,parent:!!e.modules.dataTree&&e.modules.dataTree.parent,children:i}},C.prototype.layoutRow=function(e){var t=this.elementField?e.getCell(this.elementField):e.getCells()[0],n=t.getElement(),i=e.modules.dataTree;i.branchEl&&(i.branchEl.parentNode&&i.branchEl.parentNode.removeChild(i.branchEl),i.branchEl=!1),i.controlEl&&(i.controlEl.parentNode&&i.controlEl.parentNode.removeChild(i.controlEl),i.controlEl=!1),this.generateControlElement(e,n),e.getElement().classList.add("tabulator-tree-level-"+i.index),i.index&&(this.branchEl?(i.branchEl=this.branchEl.cloneNode(!0),n.insertBefore(i.branchEl,n.firstChild),this.table.rtl?i.branchEl.style.marginRight=(i.branchEl.offsetWidth+i.branchEl.style.marginLeft)*(i.index-1)+i.index*this.indent+"px":i.branchEl.style.marginLeft=(i.branchEl.offsetWidth+i.branchEl.style.marginRight)*(i.index-1)+i.index*this.indent+"px"):this.table.rtl?n.style.paddingRight=parseInt(window.getComputedStyle(n,null).getPropertyValue("padding-right"))+i.index*this.indent+"px":n.style.paddingLeft=parseInt(window.getComputedStyle(n,null).getPropertyValue("padding-left"))+i.index*this.indent+"px")},C.prototype.generateControlElement=function(e,t){var n=this,i=e.modules.dataTree,o=(t=t||e.getCells()[0].getElement(),i.controlEl);!1!==i.children&&(i.open?(i.controlEl=this.collapseEl.cloneNode(!0),i.controlEl.addEventListener("click",function(t){t.stopPropagation(),n.collapseRow(e)})):(i.controlEl=this.expandEl.cloneNode(!0),i.controlEl.addEventListener("click",function(t){t.stopPropagation(),n.expandRow(e)})),i.controlEl.addEventListener("mousedown",function(e){e.stopPropagation()}),o&&o.parentNode===t?o.parentNode.replaceChild(i.controlEl,o):t.insertBefore(i.controlEl,t.firstChild))},C.prototype.setDisplayIndex=function(e){this.displayIndex=e},C.prototype.getDisplayIndex=function(){return this.displayIndex},C.prototype.getRows=function(e){var t=this,n=[];return e.forEach(function(e,i){var o,r;n.push(e),e instanceof h&&(e.create(),o=e.modules.dataTree.children,o.index||!1===o.children||(r=t.getChildren(e),r.forEach(function(e){e.create(),n.push(e)})))}),n},C.prototype.getChildren=function(e,t){var n=this,i=e.modules.dataTree,o=[],r=[];return!1!==i.children&&(i.open||t)&&(Array.isArray(i.children)||(i.children=this.generateChildren(e)),o=this.table.modExists("filter")&&this.table.options.dataTreeFilter?this.table.modules.filter.filter(i.children):i.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(o),o.forEach(function(e){r.push(e);var t=n.getChildren(e);t.forEach(function(e){r.push(e)})})),r},C.prototype.generateChildren=function(e){var t=this,n=[],i=e.getData()[this.field];return Array.isArray(i)||(i=[i]),i.forEach(function(i){var o=new h(i||{},t.table.rowManager);o.create(),o.modules.dataTree.index=e.modules.dataTree.index+1,o.modules.dataTree.parent=e,o.modules.dataTree.children&&(o.modules.dataTree.open=t.startOpen(o.getComponent(),o.modules.dataTree.index)),n.push(o)}),n},C.prototype.expandRow=function(e,t){var n=e.modules.dataTree;!1!==n.children&&(n.open=!0,e.reinitialize(),this.table.rowManager.refreshActiveData("tree",!1,!0),this.table.options.dataTreeRowExpanded(e.getComponent(),e.modules.dataTree.index))},C.prototype.collapseRow=function(e){var t=e.modules.dataTree;!1!==t.children&&(t.open=!1,e.reinitialize(),this.table.rowManager.refreshActiveData("tree",!1,!0),this.table.options.dataTreeRowCollapsed(e.getComponent(),e.modules.dataTree.index))},C.prototype.toggleRow=function(e){var t=e.modules.dataTree;!1!==t.children&&(t.open?this.collapseRow(e):this.expandRow(e))},C.prototype.getTreeParent=function(e){return!!e.modules.dataTree.parent&&e.modules.dataTree.parent.getComponent()},C.prototype.getFilteredTreeChildren=function(e){var t,n=e.modules.dataTree,i=[];return n.children&&(Array.isArray(n.children)||(n.children=this.generateChildren(e)),t=this.table.modExists("filter")&&this.table.options.dataTreeFilter?this.table.modules.filter.filter(n.children):n.children,t.forEach(function(e){e instanceof h&&i.push(e)})),i},C.prototype.rowDelete=function(e){var t,n=e.modules.dataTree.parent;n&&(t=this.findChildIndex(e,n),!1!==t&&n.data[this.field].splice(t,1),n.data[this.field].length||delete n.data[this.field],this.initializeRow(n),this.layoutRow(n)),this.table.rowManager.refreshActiveData("tree",!1,!0)},C.prototype.addTreeChildRow=function(e,t,n,i){var o=!1;"string"===typeof t&&(t=JSON.parse(t)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),"undefined"!==typeof i&&(o=this.findChildIndex(i,e),!1!==o&&e.data[this.field].splice(n?o:o+1,0,t)),!1===o&&(n?e.data[this.field].unshift(t):e.data[this.field].push(t)),this.initializeRow(e),this.layoutRow(e),this.table.rowManager.refreshActiveData("tree",!1,!0)},C.prototype.findChildIndex=function(e,t){var n=this,i=!1;return"object"==("undefined"===typeof e?"undefined":r(e))?e instanceof h?i=e.data:e instanceof d?i=e._getSelf().data:"undefined"!==typeof HTMLElement&&e instanceof HTMLElement&&t.modules.dataTree&&(i=t.modules.dataTree.children.find(function(t){return t instanceof h&&t.element===e}),i&&(i=i.data)):i="undefined"!=typeof e&&null!==e&&t.data[this.field].find(function(t){return t.data[n.table.options.index]==e}),i&&(Array.isArray(t.data[this.field])&&(i=t.data[this.field].indexOf(i)),-1==i&&(i=!1)),i},C.prototype.getTreeChildren=function(e,t,n){var i=this,o=e.modules.dataTree,r=[];return o.children&&(Array.isArray(o.children)||(o.children=this.generateChildren(e)),o.children.forEach(function(e){e instanceof h&&(r.push(t?e.getComponent():e),n&&(r=r.concat(i.getTreeChildren(e,t,n))))})),r},C.prototype.checkForRestyle=function(e){e.row.cells.indexOf(e)||e.row.reinitialize()},C.prototype.getChildField=function(){return this.field},C.prototype.redrawNeeded=function(e){return!!this.field&&"undefined"!==typeof e[this.field]||!!this.elementField&&"undefined"!==typeof e[this.elementField]},g.prototype.registerModule("dataTree",C);var E=function(e){this.table=e};E.prototype.download=function(e,t,n,i,o){var r=this,a=!1;function s(n,i){o?!0===o?r.triggerDownload(n,i,e,t,!0):o(n):r.triggerDownload(n,i,e,t)}if("function"==typeof e?a=e:r.downloaders[e]?a=r.downloaders[e]:console.warn("Download Error - No such download type found: ",e),a){var c=this.generateExportList(i);a.call(this.table,c,n||{},s)}},E.prototype.generateExportList=function(e){var t=this.table.modules.export.generateExportList(this.table.options.downloadConfig,!1,e||this.table.options.downloadRowRange,"download"),n=this.table.options.groupHeaderDownload;return n&&!Array.isArray(n)&&(n=[n]),t.forEach(function(e){var t;"group"===e.type&&(t=e.columns[0],n&&n[e.indent]&&(t.value=n[e.indent](t.value,e.component._group.getRowCount(),e.component._group.getData(),e.component)))}),t},E.prototype.triggerDownload=function(e,t,n,i,o){var r=document.createElement("a"),a=new Blob([e],{type:t});i=i||"Tabulator."+("function"===typeof n?"txt":n);a=this.table.options.downloadReady.call(this.table,e,a),a&&(o?window.open(window.URL.createObjectURL(a)):navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(a,i):(r.setAttribute("href",window.URL.createObjectURL(a)),r.setAttribute("download",i),r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r)),this.table.options.downloadComplete&&this.table.options.downloadComplete())},E.prototype.commsReceived=function(e,t,n){switch(t){case"intercept":this.download(n.type,"",n.options,n.active,n.intercept);break}},E.prototype.downloaders={csv:function(e,t,n){var i=t&&t.delimiter?t.delimiter:",",o=[],a=[];e.forEach(function(e){var t=[];switch(e.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":e.columns.forEach(function(e,t){e&&1===e.depth&&(a[t]="undefined"==typeof e.value||null===e.value?"":'"'+String(e.value).split('"').join('""')+'"')});break;case"row":e.columns.forEach(function(e){if(e){switch(r(e.value)){case"object":e.value=JSON.stringify(e.value);break;case"undefined":case"null":e.value="";break}t.push('"'+String(e.value).split('"').join('""')+'"')}}),o.push(t.join(i));break}}),a.length&&o.unshift(a.join(i)),o=o.join("\n"),t.bom&&(o="\ufeff"+o),n(o,"text/csv")},json:function(e,t,n){var i=[];e.forEach(function(e){var t={};switch(e.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":e.columns.forEach(function(e){e&&(t[e.component.getField()]=e.value)}),i.push(t);break}}),i=JSON.stringify(i,null,"\t"),n(i,"application/json")},pdf:function(e,t,n){var i=[],o=[],a={},s=t.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},c=t.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},l=t.jsPDF||{},u=t&&t.title?t.title:"";function d(e,t){var n=[];return e.columns.forEach(function(e){var i;if(e){switch(r(e.value)){case"object":e.value=JSON.stringify(e.value);break;case"undefined":case"null":e.value="";break}i={content:e.value,colSpan:e.width,rowSpan:e.height},t&&(i.styles=t),n.push(i)}else n.push("")}),n}l.orientation||(l.orientation=t.orientation||"landscape"),l.unit||(l.unit="pt"),e.forEach(function(e){switch(e.type){case"header":i.push(d(e));break;case"group":o.push(d(e,s));break;case"calc":o.push(d(e,c));break;case"row":o.push(d(e));break}});var h=new jsPDF(l);t&&t.autoTable&&(a="function"===typeof t.autoTable?t.autoTable(h)||{}:t.autoTable),u&&(a.addPageContent=function(e){h.text(u,40,30)}),a.head=i,a.body=o,h.autoTable(a),t&&t.documentProcessing&&t.documentProcessing(h),n(h.output("arraybuffer"),"application/pdf")},xlsx:function(e,t,n){var i,o=this,a=t.sheetName||"Sheet1",s=XLSX.utils.book_new();function c(){var t=[],n=[],i={},o={s:{c:0,r:0},e:{c:e[0]?e[0].columns.reduce(function(e,t){return e+(t&&t.width?t.width:1)},0):0,r:e.length}};return e.forEach(function(e,i){var o=[];e.columns.forEach(function(e,t){e?(o.push(e.value instanceof Date||"object"!==r(e.value)?e.value:JSON.stringify(e.value)),(e.width>1||e.height>-1)&&n.push({s:{r:i,c:t},e:{r:i+e.height-1,c:t+e.width-1}})):o.push("")}),t.push(o)}),XLSX.utils.sheet_add_aoa(i,t),i["!ref"]=XLSX.utils.encode_range(o),n.length&&(i["!merges"]=n),i}if(s.SheetNames=[],s.Sheets={},t.sheetOnly)n(c());else{if(t.sheets)for(var l in t.sheets)!0===t.sheets[l]?(s.SheetNames.push(l),s.Sheets[l]=c()):(s.SheetNames.push(l),this.modules.comms.send(t.sheets[l],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:o.active,intercept:function(e){s.Sheets[l]=e}}));else s.SheetNames.push(a),s.Sheets[a]=c();t.documentProcessing&&(s=t.documentProcessing(s)),i=XLSX.write(s,{bookType:"xlsx",bookSST:!0,type:"binary"}),n(u(i),"application/octet-stream")}function u(e){for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),i=0;i!=e.length;++i)n[i]=255&e.charCodeAt(i);return t}},html:function(e,t,n){this.modExists("export",!0)&&n(this.modules.export.genereateHTMLTable(e),"text/html")}},g.prototype.registerModule("download",E);var A=function(e){this.table=e,this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1,this.editedCells=[]};A.prototype.initializeColumn=function(e){var t=this,n={editor:!1,blocked:!1,check:e.definition.editable,params:e.definition.editorParams||{}};switch(r(e.definition.editor)){case"string":"tick"===e.definition.editor&&(e.definition.editor="tickCross",console.warn("DEPRECATION WARNING - the tick editor has been deprecated, please use the tickCross editor")),t.editors[e.definition.editor]?n.editor=t.editors[e.definition.editor]:console.warn("Editor Error - No such editor found: ",e.definition.editor);break;case"function":n.editor=e.definition.editor;break;case"boolean":!0===e.definition.editor&&("function"!==typeof e.definition.formatter?("tick"===e.definition.formatter&&(e.definition.formatter="tickCross",console.warn("DEPRECATION WARNING - the tick editor has been deprecated, please use the tickCross editor")),t.editors[e.definition.formatter]?n.editor=t.editors[e.definition.formatter]:n.editor=t.editors["input"]):console.warn("Editor Error - Cannot auto lookup editor for a custom formatter: ",e.definition.formatter));break}n.editor&&(e.modules.edit=n)},A.prototype.getCurrentCell=function(){return!!this.currentCell&&this.currentCell.getComponent()},A.prototype.clearEditor=function(e){var t,n=this.currentCell;if(this.invalidEdit=!1,n){this.currentCell=!1,t=n.getElement(),e?n.validate():t.classList.remove("tabulator-validation-fail"),t.classList.remove("tabulator-editing");while(t.firstChild)t.removeChild(t.firstChild);n.row.getElement().classList.remove("tabulator-row-editing")}},A.prototype.cancelEdit=function(){if(this.currentCell){var e=this.currentCell,t=this.currentCell.getComponent();this.clearEditor(!0),e.setValueActual(e.getValue()),e.cellRendered(),("textarea"==e.column.definition.editor||e.column.definition.variableHeight)&&e.row.normalizeHeight(!0),e.column.cellEvents.cellEditCancelled&&e.column.cellEvents.cellEditCancelled.call(this.table,t),this.table.options.cellEditCancelled.call(this.table,t)}},A.prototype.bindEditor=function(e){var t=this,n=e.getElement(!0);n.setAttribute("tabindex",0),n.addEventListener("click",function(e){n.classList.contains("tabulator-editing")||n.focus({preventScroll:!0})}),n.addEventListener("mousedown",function(e){2===e.button?e.preventDefault():t.mouseClick=!0}),n.addEventListener("focus",function(n){t.recursionBlock||t.edit(e,n,!1)})},A.prototype.focusCellNoEvent=function(e,t){this.recursionBlock=!0,t&&"ie"===this.table.browser||e.getElement().focus({preventScroll:!0}),this.recursionBlock=!1},A.prototype.editCell=function(e,t){this.focusCellNoEvent(e),this.edit(e,!1,t)},A.prototype.focusScrollAdjust=function(e){if("virtual"==this.table.rowManager.getRenderMode()){var t=this.table.rowManager.element.scrollTop,n=this.table.rowManager.element.clientHeight+this.table.rowManager.element.scrollTop,i=e.row.getElement();i.offsetTop;i.offsetTopn&&(this.table.rowManager.element.scrollTop+=i.offsetTop+i.offsetHeight-n);var o=this.table.rowManager.element.scrollLeft,r=this.table.rowManager.element.clientWidth+this.table.rowManager.element.scrollLeft,a=e.getElement();a.offsetLeft;this.table.modExists("frozenColumns")&&(o+=parseInt(this.table.modules.frozenColumns.leftMargin),r-=parseInt(this.table.modules.frozenColumns.rightMargin)),this.table.options.virtualDomHoz&&(o-=parseInt(this.table.vdomHoz.vDomPadLeft),r-=parseInt(this.table.vdomHoz.vDomPadLeft)),a.offsetLeftr&&(this.table.rowManager.element.scrollLeft+=a.offsetLeft+a.offsetWidth-r)}},A.prototype.edit=function(e,t,n){var i,o,a,s=this,c=!0,l=function(){},u=e.getElement();if(!this.currentCell){if(e.column.modules.edit.blocked)return this.mouseClick=!1,u.blur(),!1;switch(t&&t.stopPropagation(),r(e.column.modules.edit.check)){case"function":c=e.column.modules.edit.check(e.getComponent());break;case"boolean":c=e.column.modules.edit.check;break}if(c||n){if(s.cancelEdit(),s.currentCell=e,this.focusScrollAdjust(e),o=e.getComponent(),this.mouseClick&&(this.mouseClick=!1,e.column.cellEvents.cellClick&&e.column.cellEvents.cellClick.call(this.table,t,o)),e.column.cellEvents.cellEditing&&e.column.cellEvents.cellEditing.call(this.table,o),s.table.options.cellEditing.call(this.table,o),a="function"===typeof e.column.modules.edit.params?e.column.modules.edit.params(o):e.column.modules.edit.params,i=e.column.modules.edit.editor.call(s,o,m,p,f,a),!1===i)return u.blur(),!1;if(!(i instanceof Node))return console.warn("Edit Error - Editor should return an instance of Node, the editor returned:",i),u.blur(),!1;u.classList.add("tabulator-editing"),e.row.getElement().classList.add("tabulator-row-editing");while(u.firstChild)u.removeChild(u.firstChild);u.appendChild(i),l();for(var d=u.children,h=0;h46){if(a>=n.length)return t.preventDefault(),t.stopPropagation(),!1,!1;switch(n[a]){case i:if(s.toUpperCase()==s.toLowerCase())return t.preventDefault(),t.stopPropagation(),!1,!1;break;case o:if(isNaN(s))return t.preventDefault(),t.stopPropagation(),!1,!1;break;case r:break;default:if(s!==n[a])return t.preventDefault(),t.stopPropagation(),!1,!1}!0}}),e.addEventListener("keyup",function(n){n.keyCode>46&&t.maskAutoFill&&a(e.value.length)}),e.placeholder||(e.placeholder=n),t.maskAutoFill&&a(e.value.length)},A.prototype.getEditedCells=function(){var e=[];return this.editedCells.forEach(function(t){e.push(t.getComponent())}),e},A.prototype.clearEdited=function(e){var t;e.modules.edit&&e.modules.edit.edited&&(e.modules.edit.edited=!1,e.modules.validate&&(e.modules.validate.invalid=!1)),t=this.editedCells.indexOf(e),t>-1&&this.editedCells.splice(t,1)},A.prototype.editors={input:function(e,t,n,i,o){var a=e.getValue(),s=document.createElement("input");if(s.setAttribute("type",o.search?"search":"text"),s.style.padding="4px",s.style.width="100%",s.style.boxSizing="border-box",o.elementAttributes&&"object"==r(o.elementAttributes))for(var c in o.elementAttributes)"+"==c.charAt(0)?(c=c.slice(1),s.setAttribute(c,s.getAttribute(c)+o.elementAttributes["+"+c])):s.setAttribute(c,o.elementAttributes[c]);function l(e){(null===a||"undefined"===typeof a)&&""!==s.value||s.value!==a?n(s.value)&&(a=s.value):i()}return s.value="undefined"!==typeof a?a:"",t(function(){s.focus({preventScroll:!0}),s.style.height="100%"}),s.addEventListener("change",l),s.addEventListener("blur",l),s.addEventListener("keydown",function(e){switch(e.keyCode){case 13:l(e);break;case 27:i();break;case 35:case 36:e.stopPropagation();break}}),o.mask&&this.table.modules.edit.maskInput(s,o),s},textarea:function(e,t,n,i,o){var a=e.getValue(),s=o.verticalNavigation||"hybrid",c=String(null!==a&&"undefined"!==typeof a?a:""),l=((c.match(/(?:\r\n|\r|\n)/g)||[]).length,document.createElement("textarea")),u=0;if(l.style.display="block",l.style.padding="2px",l.style.height="100%",l.style.width="100%",l.style.boxSizing="border-box",l.style.whiteSpace="pre-wrap",l.style.resize="none",o.elementAttributes&&"object"==r(o.elementAttributes))for(var d in o.elementAttributes)"+"==d.charAt(0)?(d=d.slice(1),l.setAttribute(d,l.getAttribute(d)+o.elementAttributes["+"+d])):l.setAttribute(d,o.elementAttributes[d]);function h(t){(null===a||"undefined"===typeof a)&&""!==l.value||l.value!==a?(n(l.value)&&(a=l.value),setTimeout(function(){e.getRow().normalizeHeight()},300)):i()}return l.value=c,t(function(){l.focus({preventScroll:!0}),l.style.height="100%",l.scrollHeight,l.style.height=l.scrollHeight+"px",e.getRow().normalizeHeight()}),l.addEventListener("change",h),l.addEventListener("blur",h),l.addEventListener("keyup",function(){l.style.height="";var t=l.scrollHeight;l.style.height=t+"px",t!=u&&(u=t,e.getRow().normalizeHeight())}),l.addEventListener("keydown",function(e){switch(e.keyCode){case 27:i();break;case 38:("editor"==s||"hybrid"==s&&l.selectionStart)&&(e.stopImmediatePropagation(),e.stopPropagation());break;case 40:("editor"==s||"hybrid"==s&&l.selectionStart!==l.value.length)&&(e.stopImmediatePropagation(),e.stopPropagation());break;case 35:case 36:e.stopPropagation();break}}),o.mask&&this.table.modules.edit.maskInput(l,o),l},number:function(e,t,n,i,o){var a=e.getValue(),s=o.verticalNavigation||"editor",c=document.createElement("input");if(c.setAttribute("type","number"),"undefined"!=typeof o.max&&c.setAttribute("max",o.max),"undefined"!=typeof o.min&&c.setAttribute("min",o.min),"undefined"!=typeof o.step&&c.setAttribute("step",o.step),c.style.padding="4px",c.style.width="100%",c.style.boxSizing="border-box",o.elementAttributes&&"object"==r(o.elementAttributes))for(var l in o.elementAttributes)"+"==l.charAt(0)?(l=l.slice(1),c.setAttribute(l,c.getAttribute(l)+o.elementAttributes["+"+l])):c.setAttribute(l,o.elementAttributes[l]);c.value=a;var u=function(e){d()};function d(){var e=c.value;isNaN(e)||""===e||(e=Number(e)),e!==a?n(e)&&(a=e):i()}return t(function(){c.removeEventListener("blur",u),c.focus({preventScroll:!0}),c.style.height="100%",c.addEventListener("blur",u)}),c.addEventListener("keydown",function(e){switch(e.keyCode){case 13:d();break;case 27:i();break;case 38:case 40:"editor"==s&&(e.stopImmediatePropagation(),e.stopPropagation());break;case 35:case 36:e.stopPropagation();break}}),o.mask&&this.table.modules.edit.maskInput(c,o),c},range:function(e,t,n,i,o){var a=e.getValue(),s=document.createElement("input");if(s.setAttribute("type","range"),"undefined"!=typeof o.max&&s.setAttribute("max",o.max),"undefined"!=typeof o.min&&s.setAttribute("min",o.min),"undefined"!=typeof o.step&&s.setAttribute("step",o.step),s.style.padding="4px",s.style.width="100%",s.style.boxSizing="border-box",o.elementAttributes&&"object"==r(o.elementAttributes))for(var c in o.elementAttributes)"+"==c.charAt(0)?(c=c.slice(1),s.setAttribute(c,s.getAttribute(c)+o.elementAttributes["+"+c])):s.setAttribute(c,o.elementAttributes[c]);function l(){var e=s.value;isNaN(e)||""===e||(e=Number(e)),e!=a?n(e)&&(a=e):i()}return s.value=a,t(function(){s.focus({preventScroll:!0}),s.style.height="100%"}),s.addEventListener("blur",function(e){l()}),s.addEventListener("keydown",function(e){switch(e.keyCode){case 13:l();break;case 27:i();break}}),s},select:function(e,t,n,i,o){var a=this,s=this,c=e.getElement(),l=e.getValue(),u=o.verticalNavigation||"editor",d="undefined"!==typeof l||null===l?Array.isArray(l)?l:[l]:"undefined"!==typeof o.defaultValue?o.defaultValue:[],h=document.createElement("input"),p=document.createElement("div"),f=o.multiselect,m=[],v={},_=[],b=[],y=!0,M=!1,w="",L=null;function S(t){var n,i={},o=s.table.getData();return n=t?s.table.columnManager.getColumnByField(t):e.getColumn()._getSelf(),n?o.forEach(function(e){var t=n.getFieldValue(e);null!==t&&"undefined"!==typeof t&&""!==t&&(i[t]=!0)}):console.warn("unable to find matching column to create select lookup list:",t),Object.keys(i)}function C(t,n){var i=[],a=[];function s(e){e={label:e.label,value:e.value,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1};return n.indexOf(e.value)>-1&&T(e),i.push(e),a.push(e),e}if("function"==typeof t&&(t=t(e)),Array.isArray(t))t.forEach(function(e){var t;"object"===("undefined"===typeof e?"undefined":r(e))?e.options?(t={label:e.label,group:!0,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1},a.push(t),e.options.forEach(function(e){s(e)})):s(e):(t={label:e,value:e,element:!1},n.indexOf(t.value)>-1&&T(t),i.push(t),a.push(t))});else for(var c in t){var l={label:t[c],value:c,element:!1};n.indexOf(l.value)>-1&&T(l),i.push(l),a.push(l)}o.sortValuesList&&(i.sort(function(e,t){return e.labelt.label?1:0}),a.sort(function(e,t){return e.labelt.label?1:0}),"asc"!==o.sortValuesList&&(i.reverse(),a.reverse())),m=i,_=a,E()}function E(){while(p.firstChild)p.removeChild(p.firstChild);_.forEach(function(t){var n=t.element;if(!n){if(n=document.createElement("div"),t.label=o.listItemFormatter?o.listItemFormatter(t.value,t.label,e,n,t.itemParams):t.label,t.group?(n.classList.add("tabulator-edit-select-list-group"),n.tabIndex=0,n.innerHTML=""===t.label?" ":t.label):(n.classList.add("tabulator-edit-select-list-item"),n.tabIndex=0,n.innerHTML=""===t.label?" ":t.label,n.addEventListener("click",function(){M=!0,setTimeout(function(){M=!1},10),f?(k(t),h.focus()):x(t)}),b.indexOf(t)>-1&&n.classList.add("active")),t.elementAttributes&&"object"==r(t.elementAttributes))for(var i in t.elementAttributes)"+"==i.charAt(0)?(i=i.slice(1),n.setAttribute(i,h.getAttribute(i)+t.elementAttributes["+"+i])):n.setAttribute(i,t.elementAttributes[i]);n.addEventListener("mousedown",function(){y=!1,setTimeout(function(){y=!0},10)}),t.element=n}p.appendChild(n)})}function A(e,t){!f&&v&&v.element&&v.element.classList.remove("active"),v&&v.element&&v.element.classList.remove("focused"),v=e,e.element&&(e.element.classList.add("focused"),t&&e.element.classList.add("active")),e&&e.element&&e.element.scrollIntoView&&e.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}function T(e){var t=b.indexOf(e);-1==t&&(b.push(e),A(e,!0)),R()}function O(e){var t=b[e];e>-1&&(b.splice(e,1),t.element&&t.element.classList.remove("active"))}function k(e){e||(e=v);var t=b.indexOf(e);t>-1?O(t):(!0!==f&&b.length>=f&&O(0),T(e)),R()}function x(e){I(),e||(e=v),e&&(h.value=e.label,n(e.value)),d=[e.value]}function D(e){e||I();var t=[];b.forEach(function(e){t.push(e.value)}),d=t,n(t)}function R(){var e=[];b.forEach(function(t){e.push(t.label)}),h.value=e.join(", "),!1===s.currentCell&&D(!0)}function z(){for(var e=b.length,t=0;t0&&A(m[t-1],!f));break;case 40:t=m.indexOf(v),("editor"==u||"hybrid"==u&&t=38&&e.keyCode<=90&&j(e.keyCode)}}),h.addEventListener("blur",function(e){y&&(f?D():P())}),h.addEventListener("focus",function(e){M||N()}),p=document.createElement("div"),p.classList.add("tabulator-edit-select-list"),t(function(){h.style.height="100%",h.focus({preventScroll:!0})}),setTimeout(function(){a.table.rowManager.element.addEventListener("scroll",P)},10),h},autocomplete:function(e,t,n,i,o){var a=this,s=this,c=e.getElement(),l=e.getValue(),u=o.verticalNavigation||"editor",d="undefined"!==typeof l||null===l?l:"undefined"!==typeof o.defaultValue?o.defaultValue:"",h=document.createElement("input"),p=document.createElement("div"),f=[],m=!1,v=!0,_=!1;if(h.setAttribute("type","search"),h.style.padding="4px",h.style.width="100%",h.style.boxSizing="border-box",o.elementAttributes&&"object"==r(o.elementAttributes))for(var b in o.elementAttributes)"+"==b.charAt(0)?(b=b.slice(1),h.setAttribute(b,h.getAttribute(b)+o.elementAttributes["+"+b])):h.setAttribute(b,o.elementAttributes[b]);function y(){!0===o.values?_=M():"string"===typeof o.values&&(_=M(o.values))}function M(t){var n,i={},r=s.table.getData();return n=t?s.table.columnManager.getColumnByField(t):e.getColumn()._getSelf(),n?(r.forEach(function(e){var t=n.getFieldValue(e);null!==t&&"undefined"!==typeof t&&""!==t&&(i[t]=!0)}),i=o.sortValuesList?"asc"==o.sortValuesList?Object.keys(i).sort():Object.keys(i).sort().reverse():Object.keys(i)):console.warn("unable to find matching column to create autocomplete lookup list:",t),i}function w(e,t){var n,i,r=[];n=_||(o.values||[]),o.searchFunc?(r=o.searchFunc(e,n),r instanceof Promise?(L("undefined"!==typeof o.searchingPlaceholder?o.searchingPlaceholder:"Searching..."),r.then(function(e){E(S(e),t)}).catch(function(e){console.err("error in autocomplete search promise:",e)})):E(S(r),t)):(i=S(n),""===e?o.showListOnEmpty&&(r=i):i.forEach(function(t){null===t.value&&"undefined"===typeof t.value||(String(t.value).toLowerCase().indexOf(String(e).toLowerCase())>-1||String(t.title).toLowerCase().indexOf(String(e).toLowerCase())>-1)&&r.push(t)}),E(r,t))}function L(e){var t=document.createElement("div");C(),!1!==e&&(t.classList.add("tabulator-edit-select-list-notice"),t.tabIndex=0,e instanceof Node?t.appendChild(e):t.innerHTML=e,p.appendChild(t))}function S(e){var t=[];if(Array.isArray(e))e.forEach(function(e){var n={};"object"===("undefined"===typeof e?"undefined":r(e))?(n.title=o.listItemFormatter?o.listItemFormatter(e.value,e.label):e.label,n.value=e.value):(n.title=o.listItemFormatter?o.listItemFormatter(e,e):e,n.value=e),t.push(n)});else for(var n in e){var i={title:o.listItemFormatter?o.listItemFormatter(n,e[n]):e[n],value:n};t.push(i)}return t}function C(){while(p.firstChild)p.removeChild(p.firstChild)}function E(e,t){e.length?A(e,t):o.emptyPlaceholder&&L(o.emptyPlaceholder)}function A(e,t){var n=!1;C(),f=e,f.forEach(function(e){var i=e.element;i||(i=document.createElement("div"),i.classList.add("tabulator-edit-select-list-item"),i.tabIndex=0,i.innerHTML=e.title,i.addEventListener("click",function(t){k(e),T()}),i.addEventListener("mousedown",function(e){v=!1,setTimeout(function(){v=!0},10)}),e.element=i,t&&e.value==l&&(h.value=e.title,e.element.classList.add("active"),n=!0),e===m&&(e.element.classList.add("active"),n=!0)),p.appendChild(i)}),n||k(!1)}function T(){x(),m?l!==m.value?(l=m.value,h.value=m.title,n(m.value)):i():o.freetext?(l=h.value,n(h.value)):o.allowEmpty&&""===h.value?(l=h.value,n(h.value)):i()}function O(){if(!p.parentNode){console.log("show",d);while(p.firstChild)p.removeChild(p.firstChild);var e=g.prototype.helpers.elOffset(c);p.style.minWidth=c.offsetWidth+"px",p.style.top=e.top+c.offsetHeight+"px",p.style.left=e.left+"px",document.body.appendChild(p)}}function k(e,t){m&&m.element&&m.element.classList.remove("active"),m=e,e&&e.element&&e.element.classList.add("active"),e&&e.element&&e.element.scrollIntoView&&e.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}function x(){p.parentNode&&p.parentNode.removeChild(p),R()}function D(){x(),i()}function R(){s.table.rowManager.element.removeEventListener("scroll",D)}return p.classList.add("tabulator-edit-select-list"),p.addEventListener("mousedown",function(e){v=!1,setTimeout(function(){v=!0},10)}),h.addEventListener("keydown",function(e){var t;switch(e.keyCode){case 38:t=f.indexOf(m),("editor"==u||"hybrid"==u&&t)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),k(t>0&&f[t-1]));break;case 40:t=f.indexOf(m),("editor"==u||"hybrid"==u&&t'):("ie"==a.table.browser?t.setAttribute("class","tabulator-star-inactive"):t.classList.replace("tabulator-star-active","tabulator-star-inactive"),t.innerHTML='')})}function m(e){var t=document.createElement("span"),i=p.cloneNode(!0);d.push(i),t.addEventListener("mouseenter",function(t){t.stopPropagation(),t.stopImmediatePropagation(),f(e)}),t.addEventListener("mousemove",function(e){e.stopPropagation(),e.stopImmediatePropagation()}),t.addEventListener("click",function(t){t.stopPropagation(),t.stopImmediatePropagation(),n(e),s.blur()}),t.appendChild(i),h.appendChild(t)}function g(e){c=e,f(e)}if(s.style.whiteSpace="nowrap",s.style.overflow="hidden",s.style.textOverflow="ellipsis",h.style.verticalAlign="middle",h.style.display="inline-block",h.style.padding="4px",p.setAttribute("width",u),p.setAttribute("height",u),p.setAttribute("viewBox","0 0 512 512"),p.setAttribute("xml:space","preserve"),p.style.padding="0 1px",o.elementAttributes&&"object"==r(o.elementAttributes))for(var v in o.elementAttributes)"+"==v.charAt(0)?(v=v.slice(1),h.setAttribute(v,h.getAttribute(v)+o.elementAttributes["+"+v])):h.setAttribute(v,o.elementAttributes[v]);for(var _=1;_<=l;_++)m(_);return c=Math.min(parseInt(c),l),f(c),h.addEventListener("mousemove",function(e){f(0)}),h.addEventListener("click",function(e){n(0)}),s.addEventListener("blur",function(e){i()}),s.addEventListener("keydown",function(e){switch(e.keyCode){case 39:g(c+1);break;case 37:g(c-1);break;case 13:n(c);break;case 27:i();break}}),h},progress:function(e,t,n,i,o){var a,s,c=e.getElement(),l="undefined"===typeof o.max?c.getElementsByTagName("div")[0].getAttribute("max")||100:o.max,u="undefined"===typeof o.min?c.getElementsByTagName("div")[0].getAttribute("min")||0:o.min,d=(l-u)/100,h=e.getValue()||0,p=document.createElement("div"),f=document.createElement("div");function m(){var e=window.getComputedStyle(c,null),t=d*Math.round(f.offsetWidth/((c.clientWidth-parseInt(e.getPropertyValue("padding-left"))-parseInt(e.getPropertyValue("padding-right")))/100))+u;n(t),c.setAttribute("aria-valuenow",t),c.setAttribute("aria-label",h)}if(p.style.position="absolute",p.style.right="0",p.style.top="0",p.style.bottom="0",p.style.width="5px",p.classList.add("tabulator-progress-handle"),f.style.display="inline-block",f.style.position="relative",f.style.height="100%",f.style.backgroundColor="#488CE9",f.style.maxWidth="100%",f.style.minWidth="0%",o.elementAttributes&&"object"==r(o.elementAttributes))for(var g in o.elementAttributes)"+"==g.charAt(0)?(g=g.slice(1),f.setAttribute(g,f.getAttribute(g)+o.elementAttributes["+"+g])):f.setAttribute(g,o.elementAttributes[g]);return c.style.padding="4px 4px",h=Math.min(parseFloat(h),l),h=Math.max(parseFloat(h),u),h=Math.round((h-u)/d),f.style.width=h+"%",c.setAttribute("aria-valuemin",u),c.setAttribute("aria-valuemax",l),f.appendChild(p),p.addEventListener("mousedown",function(e){a=e.screenX,s=f.offsetWidth}),p.addEventListener("mouseover",function(){p.style.cursor="ew-resize"}),c.addEventListener("mousemove",function(e){a&&(f.style.width=s+e.screenX-a+"px")}),c.addEventListener("mouseup",function(e){a&&(e.stopPropagation(),e.stopImmediatePropagation(),a=!1,s=!1,m())}),c.addEventListener("keydown",function(e){switch(e.keyCode){case 39:e.preventDefault(),f.style.width=f.clientWidth+c.clientWidth/100+"px";break;case 37:e.preventDefault(),f.style.width=f.clientWidth-c.clientWidth/100+"px";break;case 9:case 13:m();break;case 27:i();break}}),c.addEventListener("blur",function(){i()}),f},tickCross:function(e,t,n,i,o){var a=e.getValue(),s=document.createElement("input"),c=o.tristate,l="undefined"===typeof o.indeterminateValue?null:o.indeterminateValue,u=!1;if(s.setAttribute("type","checkbox"),s.style.marginTop="5px",s.style.boxSizing="border-box",o.elementAttributes&&"object"==r(o.elementAttributes))for(var d in o.elementAttributes)"+"==d.charAt(0)?(d=d.slice(1),s.setAttribute(d,s.getAttribute(d)+o.elementAttributes["+"+d])):s.setAttribute(d,o.elementAttributes[d]);function h(e){return c?e?u?l:s.checked:s.checked&&!u?(s.checked=!1,s.indeterminate=!0,u=!0,l):(u=!1,s.checked):s.checked}return s.value=a,!c||"undefined"!==typeof a&&a!==l&&""!==a||(u=!0,s.indeterminate=!0),"firefox"!=this.table.browser&&t(function(){s.focus({preventScroll:!0})}),s.checked=!0===a||"true"===a||"True"===a||1===a,t(function(){s.focus()}),s.addEventListener("change",function(e){n(h())}),s.addEventListener("blur",function(e){n(h(!0))}),s.addEventListener("keydown",function(e){13==e.keyCode&&n(h()),27==e.keyCode&&i()}),s}},g.prototype.registerModule("edit",A);var T=function(e,t,n,i){this.type=e,this.columns=t,this.component=n||!1,this.indent=i||0},O=function(e,t,n,i,o){this.value=e,this.component=t||!1,this.width=n,this.height=i,this.depth=o},k=function(e){this.table=e,this.config={},this.cloneTableStyle=!0,this.colVisProp=""};k.prototype.generateExportList=function(e,t,n,i){this.cloneTableStyle=t,this.config=e||{},this.colVisProp=i;var o=!1!==this.config.columnHeaders?this.headersToExportRows(this.generateColumnGroupHeaders()):[],r=this.bodyToExportRows(this.rowLookup(n));return o.concat(r)},k.prototype.genereateTable=function(e,t,n,i){var o=this.generateExportList(e,t,n,i);return this.genereateTableElement(o)},k.prototype.rowLookup=function(e){var t=this,n=[];if("function"==typeof e)e.call(this.table).forEach(function(e){e=t.table.rowManager.findRow(e),e&&n.push(e)});else switch(e){case!0:case"visible":n=this.table.rowManager.getVisibleRows(!0);break;case"all":n=this.table.rowManager.rows;break;case"selected":n=this.table.modules.selectRow.selectedRows;break;case"active":default:n=this.table.options.pagination?this.table.rowManager.getDisplayRows(this.table.rowManager.displayRows.length-2):this.table.rowManager.getDisplayRows()}return Object.assign([],n)},k.prototype.generateColumnGroupHeaders=function(){var e=this,t=[],n=!1!==this.config.columnGroups?this.table.columnManager.columns:this.table.columnManager.columnsByIndex;return n.forEach(function(n){var i=e.processColumnGroup(n);i&&t.push(i)}),t},k.prototype.processColumnGroup=function(e){var t=this,n=e.columns,i=0,o=e.definition["title"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))]||e.definition.title,r={title:o,column:e,depth:1};if(n.length){if(r.subGroups=[],r.width=0,n.forEach(function(e){var n=t.processColumnGroup(e);n&&(r.width+=n.width,r.subGroups.push(n),n.depth>i&&(i=n.depth))}),r.depth+=i,!r.width)return!1}else{if(!this.columnVisCheck(e))return!1;r.width=1}return r},k.prototype.columnVisCheck=function(e){return!1!==e.definition[this.colVisProp]&&(e.visible||!e.visible&&e.definition[this.colVisProp])},k.prototype.headersToExportRows=function(e){var t=[],n=0,i=[];function o(e,i){var r=n-i;if("undefined"===typeof t[i]&&(t[i]=[]),e.height=e.subGroups?1:r-e.depth+1,t[i].push(e),e.height>1)for(var a=1;a1)for(var s=1;sn&&(n=e.depth)}),e.forEach(function(e){o(e,0)}),t.forEach(function(e){var t=[];e.forEach(function(e){e?t.push(new O(e.title,e.column.getComponent(),e.width,e.height,e.depth)):t.push(null)}),i.push(new T("header",t))}),i},k.prototype.bodyToExportRows=function(e){var t=this,n=[],i=[];return this.table.columnManager.columnsByIndex.forEach(function(e){t.columnVisCheck(e)&&n.push(e.getComponent())}),!1!==this.config.columnCalcs&&this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&e.unshift(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&e.push(this.table.modules.columnCalcs.botRow)),e=e.filter(function(e){switch(e.type){case"group":return!1!==t.config.rowGroups;case"calc":return!1!==t.config.columnCalcs;case"row":return!(t.table.options.dataTree&&!1===t.config.dataTree&&e.modules.dataTree.parent)}return!0}),e.forEach(function(e,o){var r=e.getData(t.colVisProp),a=[],s=0;switch(e.type){case"group":s=e.level,a.push(new O(e.key,e.getComponent(),n.length,1));break;case"calc":case"row":n.forEach(function(e){a.push(new O(e._column.getFieldValue(r),e,1,1))}),t.table.options.dataTree&&!1!==t.config.dataTree&&(s=e.modules.dataTree.index);break}i.push(new T(e.type,a,e.getComponent(),s))}),i},k.prototype.genereateTableElement=function(e){var t=this,n=document.createElement("table"),i=document.createElement("thead"),o=document.createElement("tbody"),r=this.lookupTableStyles(),a=this.table.options["rowFormatter"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],s={};return s.rowFormatter=null!==a?a:this.table.options.rowFormatter,this.table.options.dataTree&&!1!==this.config.dataTree&&this.table.modExists("columnCalcs")&&(s.treeElementField=this.table.modules.dataTree.elementField),s.groupHeader=this.table.options["groupHeader"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],s.groupHeader&&!Array.isArray(s.groupHeader)&&(s.groupHeader=[s.groupHeader]),n.classList.add("tabulator-print-table"),this.mapElementStyles(this.table.columnManager.getHeadersElement(),i,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),e.length>1e3&&console.warn("It may take a long time to render an HTML table with more than 1000 rows"),e.forEach(function(e,n){switch(e.type){case"header":i.appendChild(t.genereateHeaderElement(e,s,r));break;case"group":o.appendChild(t.genereateGroupElement(e,s,r));break;case"calc":o.appendChild(t.genereateCalcElement(e,s,r));break;case"row":var a=t.genereateRowElement(e,s,r);t.mapElementStyles(n%2&&r.evenRow?r.evenRow:r.oddRow,a,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),o.appendChild(a);break}}),i.innerHTML&&n.appendChild(i),n.appendChild(o),this.mapElementStyles(this.table.element,n,["border-top","border-left","border-right","border-bottom"]),n},k.prototype.lookupTableStyles=function(){var e={};return this.cloneTableStyle&&window.getComputedStyle&&(e.oddRow=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),e.evenRow=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),e.calcRow=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),e.firstRow=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),e.firstGroup=this.table.element.getElementsByClassName("tabulator-group")[0],e.firstRow&&(e.styleCells=e.firstRow.getElementsByClassName("tabulator-cell"),e.firstCell=e.styleCells[0],e.lastCell=e.styleCells[e.styleCells.length-1])),e},k.prototype.genereateHeaderElement=function(e,t,n){var i=this,o=document.createElement("tr");return e.columns.forEach(function(e){if(e){var t=document.createElement("th"),n=e.component._column.definition.cssClass?e.component._column.definition.cssClass.split(" "):[];t.colSpan=e.width,t.rowSpan=e.height,t.innerHTML=e.value,i.cloneTableStyle&&(t.style.boxSizing="border-box"),n.forEach(function(e){t.classList.add(e)}),i.mapElementStyles(e.component.getElement(),t,["text-align","border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),i.mapElementStyles(e.component._column.contentElement,t,["padding-top","padding-left","padding-right","padding-bottom"]),e.component._column.visible?i.mapElementStyles(e.component.getElement(),t,["width"]):e.component._column.definition.width&&(t.style.width=e.component._column.definition.width+"px"),e.component._column.parent&&i.mapElementStyles(e.component._column.parent.groupElement,t,["border-top"]),o.appendChild(t)}}),o},k.prototype.genereateGroupElement=function(e,t,n){var i=document.createElement("tr"),o=document.createElement("td"),r=e.columns[0];return i.classList.add("tabulator-print-table-row"),t.groupHeader&&t.groupHeader[e.indent]?r.value=t.groupHeader[e.indent](r.value,e.component._group.getRowCount(),e.component._group.getData(),e.component):!1===t.groupHeader?r.value=r.value:r.value=e.component._group.generator(r.value,e.component._group.getRowCount(),e.component._group.getData(),e.component),o.colSpan=r.width,o.innerHTML=r.value,i.classList.add("tabulator-print-table-group"),i.classList.add("tabulator-group-level-"+e.indent),r.component.isVisible()&&i.classList.add("tabulator-group-visible"),this.mapElementStyles(n.firstGroup,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),this.mapElementStyles(n.firstGroup,o,["padding-top","padding-left","padding-right","padding-bottom"]),i.appendChild(o),i},k.prototype.genereateCalcElement=function(e,t,n){var i=this.genereateRowElement(e,t,n);return i.classList.add("tabulator-print-table-calcs"),this.mapElementStyles(n.calcRow,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),i},k.prototype.genereateRowElement=function(e,t,n){var o=this,a=document.createElement("tr");return a.classList.add("tabulator-print-table-row"),e.columns.forEach(function(s){if(s){var c=document.createElement("td"),l=s.component._column,u=s.value,d={modules:{},getValue:function(){return u},getField:function(){return l.definition.field},getElement:function(){return c},getColumn:function(){return l.getComponent()},getData:function(){return e.component.getData()},getRow:function(){return e.component},getComponent:function(){return d},column:l},h=l.definition.cssClass?l.definition.cssClass.split(" "):[];if(h.forEach(function(e){c.classList.add(e)}),o.table.modExists("format")&&!1!==o.config.formatCells)u=o.table.modules.format.formatExportValue(d,o.colVisProp);else switch("undefined"===typeof u?"undefined":r(u)){case"object":u=JSON.stringify(u);break;case"undefined":case"null":u="";break;default:u=u}u instanceof Node?c.appendChild(u):c.innerHTML=u,n.firstCell&&(o.mapElementStyles(n.firstCell,c,["padding-top","padding-left","padding-right","padding-bottom","border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size"]),l.definition.align&&(c.style.textAlign=l.definition.align)),o.table.options.dataTree&&!1!==o.config.dataTree&&(t.treeElementField&&t.treeElementField==l.field||!t.treeElementField&&0==i)&&(e.component._row.modules.dataTree.controlEl&&c.insertBefore(e.component._row.modules.dataTree.controlEl.cloneNode(!0),c.firstChild),e.component._row.modules.dataTree.branchEl&&c.insertBefore(e.component._row.modules.dataTree.branchEl.cloneNode(!0),c.firstChild)),a.appendChild(c),d.modules.format&&d.modules.format.renderedCallback&&d.modules.format.renderedCallback(),t.rowFormatter&&!1!==o.config.formatCells&&t.rowFormatter(e.component)}}),a},k.prototype.genereateHTMLTable=function(e){var t=document.createElement("div");return t.appendChild(this.genereateTableElement(e)),t.innerHTML},k.prototype.getHtml=function(e,t,n,i){var o=this.generateExportList(n||this.table.options.htmlOutputConfig,t,e,i||"htmlOutput");return this.genereateHTMLTable(o)},k.prototype.mapElementStyles=function(e,t,n){if(this.cloneTableStyle&&e&&t){var i={"background-color":"backgroundColor",color:"fontColor",width:"width","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","text-align":"textAlign","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom","padding-top":"paddingTop","padding-left":"paddingLeft","padding-right":"paddingRight","padding-bottom":"paddingBottom"};if(window.getComputedStyle){var o=window.getComputedStyle(e);n.forEach(function(e){t.style[i[e]]=o.getPropertyValue(e)})}}},g.prototype.registerModule("export",k);var x=function(e){this.table=e,this.filterList=[],this.headerFilters={},this.headerFilterColumns=[],this.prevHeaderFilterChangeCheck="",this.prevHeaderFilterChangeCheck="{}",this.changed=!1};x.prototype.initializeColumn=function(e,t){var n,i=this,o=e.getField();function a(t){var a,s="input"==e.modules.filter.tagType&&"text"==e.modules.filter.attrType||"textarea"==e.modules.filter.tagType?"partial":"match",c="",l="";if("undefined"===typeof e.modules.filter.prevSuccess||e.modules.filter.prevSuccess!==t){if(e.modules.filter.prevSuccess=t,e.modules.filter.emptyFunc(t))delete i.headerFilters[o];else{switch(e.modules.filter.value=t,r(e.definition.headerFilterFunc)){case"string":i.filters[e.definition.headerFilterFunc]?(c=e.definition.headerFilterFunc,a=function(n){var o=e.definition.headerFilterFuncParams||{},r=e.getFieldValue(n);return o="function"===typeof o?o(t,r,n):o,i.filters[e.definition.headerFilterFunc](t,r,n,o)}):console.warn("Header Filter Error - Matching filter function not found: ",e.definition.headerFilterFunc);break;case"function":a=function(n){var i=e.definition.headerFilterFuncParams||{},o=e.getFieldValue(n);return i="function"===typeof i?i(t,o,n):i,e.definition.headerFilterFunc(t,o,n,i)},c=a;break}if(!a)switch(s){case"partial":a=function(n){var i=e.getFieldValue(n);return"undefined"!==typeof i&&null!==i&&String(i).toLowerCase().indexOf(String(t).toLowerCase())>-1},c="like";break;default:a=function(n){return e.getFieldValue(n)==t},c="="}i.headerFilters[o]={value:t,func:a,type:c,params:n||{}}}l=JSON.stringify(i.headerFilters),i.prevHeaderFilterChangeCheck!==l&&(i.prevHeaderFilterChangeCheck=l,i.changed=!0,i.table.rowManager.filterRefresh())}return!0}e.modules.filter={success:a,attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(e)},x.prototype.generateHeaderFilterElement=function(e,t,n){var i,o,a,s,c,l,u,d=this,h=this,p=e.modules.filter.success,f=e.getField();function m(){}if(e.modules.filter.headerElement&&e.modules.filter.headerElement.parentNode&&e.contentElement.removeChild(e.modules.filter.headerElement.parentNode),f){switch(e.modules.filter.emptyFunc=e.definition.headerFilterEmptyCheck||function(e){return!e&&"0"!==e&&0!==e},i=document.createElement("div"),i.classList.add("tabulator-header-filter"),r(e.definition.headerFilter)){case"string":h.table.modules.edit.editors[e.definition.headerFilter]?(o=h.table.modules.edit.editors[e.definition.headerFilter],"tick"!==e.definition.headerFilter&&"tickCross"!==e.definition.headerFilter||e.definition.headerFilterEmptyCheck||(e.modules.filter.emptyFunc=function(e){return!0!==e&&!1!==e})):console.warn("Filter Error - Cannot build header filter, No such editor found: ",e.definition.editor);break;case"function":o=e.definition.headerFilter;break;case"boolean":e.modules.edit&&e.modules.edit.editor?o=e.modules.edit.editor:e.definition.formatter&&h.table.modules.edit.editors[e.definition.formatter]?(o=h.table.modules.edit.editors[e.definition.formatter],"tick"!==e.definition.formatter&&"tickCross"!==e.definition.formatter||e.definition.headerFilterEmptyCheck||(e.modules.filter.emptyFunc=function(e){return!0!==e&&!1!==e})):o=h.table.modules.edit.editors["input"];break}if(o){if(s={getValue:function(){return"undefined"!==typeof t?t:""},getField:function(){return e.definition.field},getElement:function(){return i},getColumn:function(){return e.getComponent()},getRow:function(){return{normalizeHeight:function(){}}}},u=e.definition.headerFilterParams||{},u="function"===typeof u?u.call(h.table):u,a=o.call(this.table.modules.edit,s,function(){},p,m,u),!a)return void console.warn("Filter Error - Cannot add filter to "+f+" column, editor returned a value of false");if(!(a instanceof Node))return void console.warn("Filter Error - Cannot add filter to "+f+" column, editor should return an instance of Node, the editor returned:",a);f?h.table.modules.localize.bind("headerFilters|columns|"+e.definition.field,function(e){a.setAttribute("placeholder","undefined"!==typeof e&&e?e:h.table.modules.localize.getText("headerFilters|default"))}):h.table.modules.localize.bind("headerFilters|default",function(e){a.setAttribute("placeholder","undefined"!==typeof h.column.definition.headerFilterPlaceholder&&h.column.definition.headerFilterPlaceholder?h.column.definition.headerFilterPlaceholder:e)}),a.addEventListener("click",function(e){e.stopPropagation(),a.focus()}),a.addEventListener("focus",function(e){var t=d.table.columnManager.element.scrollLeft;t!==d.table.rowManager.element.scrollLeft&&(d.table.rowManager.scrollHorizontal(t),d.table.columnManager.scrollHorizontal(t))}),c=!1,l=function(e){c&&clearTimeout(c),c=setTimeout(function(){p(a.value)},h.table.options.headerFilterLiveFilterDelay)},e.modules.filter.headerElement=a,e.modules.filter.attrType=a.hasAttribute("type")?a.getAttribute("type").toLowerCase():"",e.modules.filter.tagType=a.tagName.toLowerCase(),!1!==e.definition.headerFilterLiveFilter&&("autocomplete"!==e.definition.headerFilter&&"tickCross"!==e.definition.headerFilter&&("autocomplete"!==e.definition.editor&&"tickCross"!==e.definition.editor||!0!==e.definition.headerFilter)&&(a.addEventListener("keyup",l),a.addEventListener("search",l),"number"==e.modules.filter.attrType&&a.addEventListener("change",function(e){p(a.value)}),"text"==e.modules.filter.attrType&&"ie"!==this.table.browser&&a.setAttribute("type","search")),"input"!=e.modules.filter.tagType&&"select"!=e.modules.filter.tagType&&"textarea"!=e.modules.filter.tagType||a.addEventListener("mousedown",function(e){e.stopPropagation()})),i.appendChild(a),e.contentElement.appendChild(i),n||h.headerFilterColumns.push(e)}}else console.warn("Filter Error - Cannot add header filter, column has no field set:",e.definition.title)},x.prototype.hideHeaderFilterElements=function(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="none")})},x.prototype.showHeaderFilterElements=function(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="")})},x.prototype.setHeaderFilterFocus=function(e){e.modules.filter&&e.modules.filter.headerElement?e.modules.filter.headerElement.focus():console.warn("Column Filter Focus Error - No header filter set on column:",e.getField())},x.prototype.getHeaderFilterValue=function(e){if(e.modules.filter&&e.modules.filter.headerElement)return e.modules.filter.headerElement.value;console.warn("Column Filter Error - No header filter set on column:",e.getField())},x.prototype.setHeaderFilterValue=function(e,t){e&&(e.modules.filter&&e.modules.filter.headerElement?(this.generateHeaderFilterElement(e,t,!0),e.modules.filter.success(t)):console.warn("Column Filter Error - No header filter set on column:",e.getField()))},x.prototype.reloadHeaderFilter=function(e){e&&(e.modules.filter&&e.modules.filter.headerElement?this.generateHeaderFilterElement(e,e.modules.filter.value,!0):console.warn("Column Filter Error - No header filter set on column:",e.getField()))},x.prototype.hasChanged=function(){var e=this.changed;return this.changed=!1,e},x.prototype.setFilter=function(e,t,n,i){var o=this;o.filterList=[],Array.isArray(e)||(e=[{field:e,type:t,value:n,params:i}]),o.addFilter(e)},x.prototype.addFilter=function(e,t,n,i){var o=this;Array.isArray(e)||(e=[{field:e,type:t,value:n,params:i}]),e.forEach(function(e){e=o.findFilter(e),e&&(o.filterList.push(e),o.changed=!0)}),this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.filter&&this.table.modules.persistence.save("filter")},x.prototype.findFilter=function(e){var t,n=this;if(Array.isArray(e))return this.findSubFilters(e);var i=!1;return"function"==typeof e.field?i=function(t){return e.field(t,e.type||{})}:n.filters[e.type]?(t=n.table.columnManager.getColumnByField(e.field),i=t?function(i){return n.filters[e.type](e.value,t.getFieldValue(i),i,e.params||{})}:function(t){return n.filters[e.type](e.value,t[e.field],t,e.params||{})}):console.warn("Filter Error - No such filter type found, ignoring: ",e.type),e.func=i,!!e.func&&e},x.prototype.findSubFilters=function(e){var t=this,n=[];return e.forEach(function(e){e=t.findFilter(e),e&&n.push(e)}),!!n.length&&n},x.prototype.getFilters=function(e,t){var n=[];return e&&(n=this.getHeaderFilters()),t&&n.forEach(function(e){"function"==typeof e.type&&(e.type="function")}),n=n.concat(this.filtersToArray(this.filterList,t)),n},x.prototype.filtersToArray=function(e,t){var n=this,i=[];return e.forEach(function(e){var o;Array.isArray(e)?i.push(n.filtersToArray(e,t)):(o={field:e.field,type:e.type,value:e.value},t&&"function"==typeof o.type&&(o.type="function"),i.push(o))}),i},x.prototype.getHeaderFilters=function(){var e=[];for(var t in this.headerFilters)e.push({field:t,type:this.headerFilters[t].type,value:this.headerFilters[t].value});return e},x.prototype.removeFilter=function(e,t,n){var i=this;Array.isArray(e)||(e=[{field:e,type:t,value:n}]),e.forEach(function(e){var t=-1;t="object"==r(e.field)?i.filterList.findIndex(function(t){return e===t}):i.filterList.findIndex(function(t){return e.field===t.field&&e.type===t.type&&e.value===t.value}),t>-1?(i.filterList.splice(t,1),i.changed=!0):console.warn("Filter Error - No matching filter type found, ignoring: ",e.type)}),this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.filter&&this.table.modules.persistence.save("filter")},x.prototype.clearFilter=function(e){this.filterList=[],e&&this.clearHeaderFilter(),this.changed=!0,this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.filter&&this.table.modules.persistence.save("filter")},x.prototype.clearHeaderFilter=function(){var e=this;this.headerFilters={},e.prevHeaderFilterChangeCheck="{}",this.headerFilterColumns.forEach(function(t){"undefined"!==typeof t.modules.filter.value&&delete t.modules.filter.value,t.modules.filter.prevSuccess=void 0,e.reloadHeaderFilter(t)}),this.changed=!0},x.prototype.search=function(e,t,n,i){var o=this,r=[],a=[];return Array.isArray(t)||(t=[{field:t,type:n,value:i}]),t.forEach(function(e){e=o.findFilter(e),e&&a.push(e)}),this.table.rowManager.rows.forEach(function(t){var n=!0;a.forEach(function(e){o.filterRecurse(e,t.getData())||(n=!1)}),n&&r.push("data"===e?t.getData("data"):t.getComponent())}),r},x.prototype.filter=function(e,t){var n=this,i=[],o=[];return n.table.options.dataFiltering&&n.table.options.dataFiltering.call(n.table,n.getFilters()),n.table.options.ajaxFiltering||!n.filterList.length&&!Object.keys(n.headerFilters).length?i=e.slice(0):e.forEach(function(e){n.filterRow(e)&&i.push(e)}),n.table.options.dataFiltered&&(i.forEach(function(e){o.push(e.getComponent())}),n.table.options.dataFiltered.call(n.table,n.getFilters(),o)),i},x.prototype.filterRow=function(e,t){var n=this,i=!0,o=e.getData();for(var r in n.filterList.forEach(function(e){n.filterRecurse(e,o)||(i=!1)}),n.headerFilters)n.headerFilters[r].func(o)||(i=!1);return i},x.prototype.filterRecurse=function(e,t){var n=this,i=!1;return Array.isArray(e)?e.forEach(function(e){n.filterRecurse(e,t)&&(i=!0)}):i=e.func(t),i},x.prototype.filters={"=":function(e,t,n,i){return t==e},"<":function(e,t,n,i){return t":function(e,t,n,i){return t>e},">=":function(e,t,n,i){return t>=e},"!=":function(e,t,n,i){return t!=e},regex:function(e,t,n,i){return"string"==typeof e&&(e=new RegExp(e)),e.test(t)},like:function(e,t,n,i){return null===e||"undefined"===typeof e?t===e:"undefined"!==typeof t&&null!==t&&String(t).toLowerCase().indexOf(e.toLowerCase())>-1},keywords:function(e,t,n,i){var o=e.toLowerCase().split("undefined"===typeof i.separator?" ":i.separator),r=String(null===t||"undefined"===typeof t?"":t).toLowerCase(),a=[];return o.forEach(function(e){r.includes(e)&&a.push(!0)}),i.matchAll?a.length===o.length:!!a.length},starts:function(e,t,n,i){return null===e||"undefined"===typeof e?t===e:"undefined"!==typeof t&&null!==t&&String(t).toLowerCase().startsWith(e.toLowerCase())},ends:function(e,t,n,i){return null===e||"undefined"===typeof e?t===e:"undefined"!==typeof t&&null!==t&&String(t).toLowerCase().endsWith(e.toLowerCase())},in:function(e,t,n,i){return Array.isArray(e)?!e.length||e.indexOf(t)>-1:(console.warn("Filter Error - filter value is not an array:",e),!1)}},g.prototype.registerModule("filter",x);var D=function(e){this.table=e};D.prototype.initializeColumn=function(e){e.modules.format=this.lookupFormatter(e,""),"undefined"!==typeof e.definition.formatterPrint&&(e.modules.format.print=this.lookupFormatter(e,"Print")),"undefined"!==typeof e.definition.formatterClipboard&&(e.modules.format.clipboard=this.lookupFormatter(e,"Clipboard")),"undefined"!==typeof e.definition.formatterHtmlOutput&&(e.modules.format.htmlOutput=this.lookupFormatter(e,"HtmlOutput"))},D.prototype.lookupFormatter=function(e,t){var n={params:e.definition["formatter"+t+"Params"]||{}},i=e.definition["formatter"+t];switch("undefined"===typeof i?"undefined":r(i)){case"string":"tick"===i&&(i="tickCross","undefined"==typeof n.params.crossElement&&(n.params.crossElement=!1),console.warn("DEPRECATION WARNING - the tick formatter has been deprecated, please use the tickCross formatter with the crossElement param set to false")),this.formatters[i]?n.formatter=this.formatters[i]:(console.warn("Formatter Error - No such formatter found: ",i),n.formatter=this.formatters.plaintext);break;case"function":n.formatter=i;break;default:n.formatter=this.formatters.plaintext;break}return n},D.prototype.cellRendered=function(e){e.modules.format&&e.modules.format.renderedCallback&&!e.modules.format.rendered&&(e.modules.format.renderedCallback(),e.modules.format.rendered=!0)},D.prototype.formatValue=function(e){var t=e.getComponent(),n="function"===typeof e.column.modules.format.params?e.column.modules.format.params(t):e.column.modules.format.params;function i(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1}return e.column.modules.format.formatter.call(this,t,n,i)},D.prototype.formatExportValue=function(e,t){var n,i=e.column.modules.format[t];if(i){var o=function(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1};return n="function"===typeof i.params?i.params(component):i.params,i.formatter.call(this,e.getComponent(),n,o)}return this.formatValue(e)},D.prototype.sanitizeHTML=function(e){if(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=\/]/g,function(e){return t[e]})}return e},D.prototype.emptyToSpace=function(e){return null===e||"undefined"===typeof e||""===e?" ":e},D.prototype.getFormatter=function(e){switch("undefined"===typeof e?"undefined":r(e)){case"string":this.formatters[e]?e=this.formatters[e]:(console.warn("Formatter Error - No such formatter found: ",e),e=this.formatters.plaintext);break;case"function":e=e;break;default:e=this.formatters.plaintext;break}return e},D.prototype.formatters={plaintext:function(e,t,n){return this.emptyToSpace(this.sanitizeHTML(e.getValue()))},html:function(e,t,n){return e.getValue()},textarea:function(e,t,n){return e.getElement().style.whiteSpace="pre-wrap",this.emptyToSpace(this.sanitizeHTML(e.getValue()))},money:function(e,t,n){var i,o,r,a,s=parseFloat(e.getValue()),c=t.decimal||".",l=t.thousand||",",u=t.symbol||"",d=!!t.symbolAfter,h="undefined"!==typeof t.precision?t.precision:2;if(isNaN(s))return this.emptyToSpace(this.sanitizeHTML(e.getValue()));i=!1!==h?s.toFixed(h):s,i=String(i).split("."),o=i[0],r=i.length>1?c+i[1]:"",a=/(\d+)(\d{3})/;while(a.test(o))o=o.replace(a,"$1"+l+"$2");return d?o+r+u:u+o+r},link:function(e,t,n){var i,o=e.getValue(),a=t.urlPrefix||"",s=t.download,c=o,l=document.createElement("a");if(t.labelField&&(i=e.getData(),c=i[t.labelField]),t.label)switch(r(t.label)){case"string":c=t.label;break;case"function":c=t.label(e);break}if(c){if(t.urlField&&(i=e.getData(),o=i[t.urlField]),t.url)switch(r(t.url)){case"string":o=t.url;break;case"function":o=t.url(e);break}return l.setAttribute("href",a+o),t.target&&l.setAttribute("target",t.target),t.download&&(s="function"==typeof s?s(e):!0===s?"":s,l.setAttribute("download",s)),l.innerHTML=this.emptyToSpace(this.sanitizeHTML(c)),l}return" "},image:function(e,t,n){var i=document.createElement("img"),o=e.getValue();switch(t.urlPrefix&&(o=t.urlPrefix+e.getValue()),t.urlSuffix&&(o+=t.urlSuffix),i.setAttribute("src",o),r(t.height)){case"number":i.style.height=t.height+"px";break;case"string":i.style.height=t.height;break}switch(r(t.width)){case"number":i.style.width=t.width+"px";break;case"string":i.style.width=t.width;break}return i.addEventListener("load",function(){e.getRow().normalizeHeight()}),i},tickCross:function(e,t,n){var i=e.getValue(),o=e.getElement(),r=t.allowEmpty,a=t.allowTruthy,s="undefined"!==typeof t.tickElement?t.tickElement:'',c="undefined"!==typeof t.crossElement?t.crossElement:'';return a&&i||!0===i||"true"===i||"True"===i||1===i||"1"===i?(o.setAttribute("aria-checked",!0),s||""):!r||"null"!==i&&""!==i&&null!==i&&"undefined"!==typeof i?(o.setAttribute("aria-checked",!1),c||""):(o.setAttribute("aria-checked","mixed"),"")},datetime:function(e,t,n){var i=t.inputFormat||"YYYY-MM-DD hh:mm:ss",o=t.outputFormat||"DD/MM/YYYY hh:mm:ss",r="undefined"!==typeof t.invalidPlaceholder?t.invalidPlaceholder:"",a=e.getValue(),s=moment(a,i);return s.isValid()?t.timezone?s.tz(t.timezone).format(o):s.format(o):!0===r?a:"function"===typeof r?r(a):r},datetimediff:function(e,t,n){var i=t.inputFormat||"YYYY-MM-DD hh:mm:ss",o="undefined"!==typeof t.invalidPlaceholder?t.invalidPlaceholder:"",r="undefined"!==typeof t.suffix&&t.suffix,a="undefined"!==typeof t.unit?t.unit:void 0,s="undefined"!==typeof t.humanize&&t.humanize,c="undefined"!==typeof t.date?t.date:moment(),l=e.getValue(),u=moment(l,i);return u.isValid()?s?moment.duration(u.diff(c)).humanize(r):u.diff(c,a)+(r?" "+r:""):!0===o?l:"function"===typeof o?o(l):o},lookup:function(e,t,n){var i=e.getValue();return"undefined"===typeof t[i]?(console.warn("Missing display value for "+i),i):t[i]},star:function(e,t,n){var i=e.getValue(),o=e.getElement(),r=t&&t.stars?t.stars:5,a=document.createElement("span"),s=document.createElementNS("http://www.w3.org/2000/svg","svg"),c='',l='';a.style.verticalAlign="middle",s.setAttribute("width","14"),s.setAttribute("height","14"),s.setAttribute("viewBox","0 0 512 512"),s.setAttribute("xml:space","preserve"),s.style.padding="0 1px",i=i&&!isNaN(i)?parseInt(i):0,i=Math.max(0,Math.min(i,r));for(var u=1;u<=r;u++){var d=s.cloneNode(!0);d.innerHTML=u<=i?c:l,a.appendChild(d)}return o.style.whiteSpace="nowrap",o.style.overflow="hidden",o.style.textOverflow="ellipsis",o.setAttribute("aria-label",i),a},traffic:function(e,t,n){var i,o,a=this.sanitizeHTML(e.getValue())||0,s=document.createElement("span"),c=t&&t.max?t.max:100,l=t&&t.min?t.min:0,u=t&&"undefined"!==typeof t.color?t.color:["red","orange","green"],d="#666666";if(!isNaN(a)&&"undefined"!==typeof e.getValue()){switch(s.classList.add("tabulator-traffic-light"),o=parseFloat(a)<=c?parseFloat(a):c,o=parseFloat(o)>=l?parseFloat(o):l,i=(c-l)/100,o=Math.round((o-l)/i),"undefined"===typeof u?"undefined":r(u)){case"string":d=u;break;case"function":d=u(a);break;case"object":if(Array.isArray(u)){var h=100/u.length,p=Math.floor(o/h);p=Math.min(p,u.length-1),p=Math.max(p,0),d=u[p];break}}return s.style.backgroundColor=d,s}},progress:function(e,t,n){var i,o,a,s,c,l=this.sanitizeHTML(e.getValue())||0,u=e.getElement(),d=t&&t.max?t.max:100,h=t&&t.min?t.min:0,f=t&&t.legendAlign?t.legendAlign:"center";switch(o=parseFloat(l)<=d?parseFloat(l):d,o=parseFloat(o)>=h?parseFloat(o):h,i=(d-h)/100,o=Math.round((o-h)/i),r(t.color)){case"string":a=t.color;break;case"function":a=t.color(l);break;case"object":if(Array.isArray(t.color)){var m=100/t.color.length,g=Math.floor(o/m);g=Math.min(g,t.color.length-1),g=Math.max(g,0),a=t.color[g];break}default:a="#2DC214"}switch(r(t.legend)){case"string":s=t.legend;break;case"function":s=t.legend(l);break;case"boolean":s=l;break;default:s=!1}switch(r(t.legendColor)){case"string":c=t.legendColor;break;case"function":c=t.legendColor(l);break;case"object":if(Array.isArray(t.legendColor)){m=100/t.legendColor.length,g=Math.floor(o/m);g=Math.min(g,t.legendColor.length-1),g=Math.max(g,0),c=t.legendColor[g]}break;default:c="#000"}u.style.minWidth="30px",u.style.position="relative",u.setAttribute("aria-label",o);var v=document.createElement("div");if(v.style.display="inline-block",v.style.position="relative",v.style.width=o+"%",v.style.backgroundColor=a,v.style.height="100%",v.setAttribute("data-max",d),v.setAttribute("data-min",h),s){var _=document.createElement("div");_.style.position="absolute",_.style.top="4px",_.style.left=0,_.style.textAlign=f,_.style.width="100%",_.style.color=c,_.innerHTML=s}return n(function(){if(!(e instanceof p)){var t=document.createElement("div");t.style.position="absolute",t.style.top="4px",t.style.bottom="4px",t.style.left="4px",t.style.right="4px",u.appendChild(t),u=t}u.appendChild(v),s&&u.appendChild(_)}),""},color:function(e,t,n){return e.getElement().style.backgroundColor=this.sanitizeHTML(e.getValue()),""},buttonTick:function(e,t,n){return''},buttonCross:function(e,t,n){return''},rownum:function(e,t,n){return this.table.rowManager.activeRows.indexOf(e.getRow()._getSelf())+1},handle:function(e,t,n){return e.getElement().classList.add("tabulator-row-handle"),"
"},responsiveCollapse:function(e,t,n){var i=document.createElement("div"),o=e.getRow()._row.modules.responsiveLayout;function r(e){var t=o.element;o.open=e,t&&(o.open?(i.classList.add("open"),t.style.display=""):(i.classList.remove("open"),t.style.display="none"))}return i.classList.add("tabulator-responsive-collapse-toggle"),i.innerHTML="+-",e.getElement().classList.add("tabulator-row-handle"),i.addEventListener("click",function(e){e.stopImmediatePropagation(),r(!o.open)}),r(o.open),i},rowSelection:function(e,t,n){var i=this,o=document.createElement("input");if(o.type="checkbox",this.table.modExists("selectRow",!0))if(o.addEventListener("click",function(e){e.stopPropagation()}),"function"==typeof e.getRow){var r=e.getRow();r instanceof d?(o.addEventListener("change",function(e){r.toggleSelect()}),o.checked=r.isSelected&&r.isSelected(),this.table.modules.selectRow.registerRowSelectCheckbox(r,o)):o=""}else o.addEventListener("change",function(e){i.table.modules.selectRow.selectedRows.length?i.table.deselectRow():i.table.selectRow(t.rowRange)}),this.table.modules.selectRow.registerHeaderSelectCheckbox(o);return o}},g.prototype.registerModule("format",D);var R=function(e){this.table=e,this.leftColumns=[],this.rightColumns=[],this.leftMargin=0,this.rightMargin=0,this.rightPadding=0,this.initializationMode="left",this.active=!1,this.scrollEndTimer=!1};R.prototype.reset=function(){this.initializationMode="left",this.leftColumns=[],this.rightColumns=[],this.leftMargin=0,this.rightMargin=0,this.rightMargin=0,this.active=!1,this.table.columnManager.headersElement.style.marginLeft=0,this.table.columnManager.element.style.paddingRight=0},R.prototype.initializeColumn=function(e){var t={margin:0,edge:!1};e.isGroup||(this.frozenCheck(e)?(t.position=this.initializationMode,"left"==this.initializationMode?this.leftColumns.push(e):this.rightColumns.unshift(e),this.active=!0,e.modules.frozen=t):this.initializationMode="right")},R.prototype.frozenCheck=function(e){return e.parent.isGroup&&e.definition.frozen&&console.warn("Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"),e.parent.isGroup?this.frozenCheck(e.parent):e.definition.frozen},R.prototype.scrollHorizontal=function(){var e,t=this;this.active&&(clearTimeout(this.scrollEndTimer),this.scrollEndTimer=setTimeout(function(){t.layout()},100),e=this.table.rowManager.getVisibleRows(),this.calcMargins(),this.layoutColumnPosition(),this.layoutCalcRows(),e.forEach(function(e){"row"===e.type&&t.layoutRow(e)}),this.table.rowManager.tableElement.style.marginRight=this.rightMargin)},R.prototype.calcMargins=function(){this.leftMargin=this._calcSpace(this.leftColumns,this.leftColumns.length)+"px",this.table.columnManager.headersElement.style.marginLeft=this.leftMargin,this.rightMargin=this._calcSpace(this.rightColumns,this.rightColumns.length)+"px",this.table.columnManager.element.style.paddingRight=this.rightMargin,this.rightPadding=this.table.rowManager.element.clientWidth+this.table.columnManager.scrollLeft},R.prototype.layoutCalcRows=function(){this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow))},R.prototype.layoutColumnPosition=function(e){var t=this,n=[];this.leftColumns.forEach(function(i,o){if(i.modules.frozen.margin=t._calcSpace(t.leftColumns,o)+t.table.columnManager.scrollLeft+"px",o==t.leftColumns.length-1?i.modules.frozen.edge=!0:i.modules.frozen.edge=!1,i.parent.isGroup){var r=t.getColGroupParentElement(i);n.includes(r)||(t.layoutElement(r,i),n.push(r)),i.modules.frozen.edge&&r.classList.add("tabulator-frozen-"+i.modules.frozen.position)}else t.layoutElement(i.getElement(),i);e&&i.cells.forEach(function(e){t.layoutElement(e.getElement(!0),i)})}),this.rightColumns.forEach(function(n,i){n.modules.frozen.margin=t.rightPadding-t._calcSpace(t.rightColumns,i+1)+"px",i==t.rightColumns.length-1?n.modules.frozen.edge=!0:n.modules.frozen.edge=!1,n.parent.isGroup?t.layoutElement(t.getColGroupParentElement(n),n):t.layoutElement(n.getElement(),n),e&&n.cells.forEach(function(e){t.layoutElement(e.getElement(!0),n)})})},R.prototype.getColGroupParentElement=function(e){return e.parent.isGroup?this.getColGroupParentElement(e.parent):e.getElement()},R.prototype.layout=function(){var e=this;e.active&&(this.calcMargins(),e.table.rowManager.getDisplayRows().forEach(function(t){"row"===t.type&&e.layoutRow(t)}),this.layoutCalcRows(),this.layoutColumnPosition(!0),this.table.rowManager.tableElement.style.marginRight=this.rightMargin)},R.prototype.layoutRow=function(e){var t=this,n=e.getElement();n.style.paddingLeft=this.leftMargin,this.leftColumns.forEach(function(n){var i=e.getCell(n);i&&t.layoutElement(i.getElement(!0),n)}),this.rightColumns.forEach(function(n){var i=e.getCell(n);i&&t.layoutElement(i.getElement(!0),n)})},R.prototype.layoutElement=function(e,t){t.modules.frozen&&(e.style.position="absolute",e.style.left=t.modules.frozen.margin,e.classList.add("tabulator-frozen"),t.modules.frozen.edge&&e.classList.add("tabulator-frozen-"+t.modules.frozen.position))},R.prototype._calcSpace=function(e,t){for(var n=0,i=0;i-1&&t.splice(n,1)}),t},z.prototype.freezeRow=function(e){e.modules.frozen?console.warn("Freeze Error - Row is already frozen"):(e.modules.frozen=!0,this.topElement.appendChild(e.getElement()),e.initialize(),e.normalizeHeight(),this.table.rowManager.adjustTableSize(),this.rows.push(e),this.table.rowManager.refreshActiveData("display"),this.styleRows())},z.prototype.unfreezeRow=function(e){this.rows.indexOf(e);e.modules.frozen?(e.modules.frozen=!1,this.detachRow(e),this.table.rowManager.adjustTableSize(),this.table.rowManager.refreshActiveData("display"),this.rows.length&&this.styleRows()):console.warn("Freeze Error - Row is already unfrozen")},z.prototype.detachRow=function(e){var t=this.rows.indexOf(e);if(t>-1){var n=e.getElement();n.parentNode.removeChild(n),this.rows.splice(t,1)}},z.prototype.styleRows=function(e){var t=this;this.rows.forEach(function(e,n){t.table.rowManager.styleRow(e,n)})},g.prototype.registerModule("frozenRows",z);var P=function(e){this._group=e,this.type="GroupComponent"};P.prototype.getKey=function(){return this._group.key},P.prototype.getField=function(){return this._group.field},P.prototype.getElement=function(){return this._group.element},P.prototype.getRows=function(){return this._group.getRows(!0)},P.prototype.getSubGroups=function(){return this._group.getSubGroups(!0)},P.prototype.getParentGroup=function(){return!!this._group.parent&&this._group.parent.getComponent()},P.prototype.getVisibility=function(){return console.warn("getVisibility function is deprecated, you should now use the isVisible function"),this._group.visible},P.prototype.isVisible=function(){return this._group.visible},P.prototype.show=function(){this._group.show()},P.prototype.hide=function(){this._group.hide()},P.prototype.toggle=function(){this._group.toggleVisibility()},P.prototype._getSelf=function(){return this._group},P.prototype.getTable=function(){return this._group.groupManager.table};var N=function(e,t,n,i,o,r,a){this.groupManager=e,this.parent=t,this.key=i,this.level=n,this.field=o,this.hasSubGroups=n-1?n?this.rows.splice(o+1,0,e):this.rows.splice(o,0,e):n?this.rows.push(e):this.rows.unshift(e),e.modules.group=this,this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&"table"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)},N.prototype.scrollHeader=function(e){this.arrowElement.style.marginLeft=e,this.groupList.forEach(function(t){t.scrollHeader(e)})},N.prototype.getRowIndex=function(e){},N.prototype.conformRowData=function(e){return this.field?e[this.field]=this.key:console.warn("Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"),this.parent&&(e=this.parent.conformRowData(e)),e},N.prototype.removeRow=function(e){var t=this.rows.indexOf(e),n=e.getElement();t>-1&&this.rows.splice(t,1),this.groupManager.table.options.groupValues||this.rows.length?(n.parentNode&&n.parentNode.removeChild(n),this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&"table"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)):(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0))},N.prototype.removeGroup=function(e){var t,n=e.level+"_"+e.key;this.groups[n]&&(delete this.groups[n],t=this.groupList.indexOf(e),t>-1&&this.groupList.splice(t,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))},N.prototype.getHeadersAndRows=function(e){var t=[];return t.push(this),this._visSet(),this.visible?this.groupList.length?this.groupList.forEach(function(n){t=t.concat(n.getHeadersAndRows(e))}):(!e&&"table"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),t.push(this.calcs.top)),t=t.concat(this.rows),!e&&"table"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),t.push(this.calcs.bottom))):this.groupList.length||"table"==this.groupManager.table.options.columnCalcs||this.groupManager.table.modExists("columnCalcs")&&(!e&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),t.push(this.calcs.top))),!e&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),t.push(this.calcs.bottom)))),t},N.prototype.getData=function(e,t){var n=[];return this._visSet(),(!e||e&&this.visible)&&this.rows.forEach(function(e){n.push(e.getData(t||"data"))}),n},N.prototype.getRowCount=function(){var e=0;return this.groupList.length?this.groupList.forEach(function(t){e+=t.getRowCount()}):e=this.rows.length,e},N.prototype.toggleVisibility=function(){this.visible?this.hide():this.show()},N.prototype.hide=function(){this.visible=!1,"classic"!=this.groupManager.table.rowManager.getRenderMode()||this.groupManager.table.options.pagination?this.groupManager.updateGroupRows(!0):(this.element.classList.remove("tabulator-group-visible"),this.groupList.length?this.groupList.forEach(function(e){var t=e.getHeadersAndRows();t.forEach(function(e){e.detachElement()})}):this.rows.forEach(function(e){var t=e.getElement();t.parentNode.removeChild(t)}),this.groupManager.table.rowManager.setDisplayRows(this.groupManager.updateGroupRows(),this.groupManager.getDisplayIndex()),this.groupManager.table.rowManager.checkClassicModeGroupHeaderWidth()),this.groupManager.table.options.groupVisibilityChanged.call(this.table,this.getComponent(),!1)},N.prototype.show=function(){var e=this;if(e.visible=!0,"classic"!=this.groupManager.table.rowManager.getRenderMode()||this.groupManager.table.options.pagination)this.groupManager.updateGroupRows(!0);else{this.element.classList.add("tabulator-group-visible");var t=e.getElement();this.groupList.length?this.groupList.forEach(function(e){var n=e.getHeadersAndRows();n.forEach(function(e){var n=e.getElement();t.parentNode.insertBefore(n,t.nextSibling),e.initialize(),t=n})}):e.rows.forEach(function(e){var n=e.getElement();t.parentNode.insertBefore(n,t.nextSibling),e.initialize(),t=n}),this.groupManager.table.rowManager.setDisplayRows(this.groupManager.updateGroupRows(),this.groupManager.getDisplayIndex()),this.groupManager.table.rowManager.checkClassicModeGroupHeaderWidth()}this.groupManager.table.options.groupVisibilityChanged.call(this.table,this.getComponent(),!0)},N.prototype._visSet=function(){var e=[];"function"==typeof this.visible&&(this.rows.forEach(function(t){e.push(t.getData())}),this.visible=this.visible(this.key,this.getRowCount(),e,this.getComponent()))},N.prototype.getRowGroup=function(e){var t=!1;return this.groupList.length?this.groupList.forEach(function(n){var i=n.getRowGroup(e);i&&(t=i)}):this.rows.find(function(t){return t===e})&&(t=this),t},N.prototype.getSubGroups=function(e){var t=[];return this.groupList.forEach(function(n){t.push(e?n.getComponent():n)}),t},N.prototype.getRows=function(e){var t=[];return this.rows.forEach(function(n){t.push(e?n.getComponent():n)}),t},N.prototype.generateGroupHeaderContents=function(){var e=[];this.rows.forEach(function(t){e.push(t.getData())}),this.elementContents=this.generator(this.key,this.getRowCount(),e,this.getComponent());while(this.element.firstChild)this.element.removeChild(this.element.firstChild);"string"===typeof this.elementContents?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)},N.prototype.getPath=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.unshift(this.key),this.parent&&this.parent.getPath(e),e},N.prototype.getElement=function(){this.addBindingsd=!1,this._visSet(),this.visible?this.element.classList.add("tabulator-group-visible"):this.element.classList.remove("tabulator-group-visible");for(var e=0;ei.length&&console.warn("Error creating group headers, groupHeader array is shorter than groupBy array"),e.headerGenerator=[function(){return""}],this.startOpen=[function(){return!1}],e.table.modules.localize.bind("groups|item",function(t,n){e.headerGenerator[0]=function(e,i,o){return("undefined"===typeof e?"":e)+"("+i+" "+(1===i?t:n.groups.items)+")"}}),this.groupIDLookups=[],Array.isArray(t)||t)this.table.modExists("columnCalcs")&&"table"!=this.table.options.columnCalcs&&"both"!=this.table.options.columnCalcs&&this.table.modules.columnCalcs.removeCalcs();else if(this.table.modExists("columnCalcs")&&"group"!=this.table.options.columnCalcs){var o=this.table.columnManager.getRealColumns();o.forEach(function(t){t.definition.topCalc&&e.table.modules.columnCalcs.initializeTopRow(),t.definition.bottomCalc&&e.table.modules.columnCalcs.initializeBottomRow()})}Array.isArray(t)||(t=[t]),t.forEach(function(t,n){var i,o;"function"==typeof t?i=t:(o=e.table.columnManager.getColumnByField(t),i=o?function(e){return o.getFieldValue(e)}:function(e){return e[t]}),e.groupIDLookups.push({field:"function"!==typeof t&&t,func:i,values:!!e.allowedValues&&e.allowedValues[n]})}),n&&(Array.isArray(n)||(n=[n]),n.forEach(function(e){e="function"==typeof e?e:function(){return!0}}),e.startOpen=n),i&&(e.headerGenerator=Array.isArray(i)?i:[i]),this.initialized=!0},I.prototype.setDisplayIndex=function(e){this.displayIndex=e},I.prototype.getDisplayIndex=function(){return this.displayIndex},I.prototype.getRows=function(e){return this.groupIDLookups.length?(this.table.options.dataGrouping.call(this.table),this.generateGroups(e),this.table.options.dataGrouped&&this.table.options.dataGrouped.call(this.table,this.getGroups(!0)),this.updateGroupRows()):e.slice(0)},I.prototype.getGroups=function(e){var t=[];return this.groupList.forEach(function(n){t.push(e?n.getComponent():n)}),t},I.prototype.getChildGroups=function(e){var t=this,n=[];return e||(e=this),e.groupList.forEach(function(e){e.groupList.length?n=n.concat(t.getChildGroups(e)):n.push(e)}),n},I.prototype.wipe=function(){this.groupList.forEach(function(e){e.wipe()})},I.prototype.pullGroupListData=function(e){var t=this,n=[];return e.forEach(function(e){var i={level:0,rowCount:0,headerContent:""},o=[];e.hasSubGroups?(o=t.pullGroupListData(e.groupList),i.level=e.level,i.rowCount=o.length-e.groupList.length,i.headerContent=e.generator(e.key,i.rowCount,e.rows,e),n.push(i),n=n.concat(o)):(i.level=e.level,i.headerContent=e.generator(e.key,e.rows.length,e.rows,e),i.rowCount=e.getRows().length,n.push(i),e.getRows().forEach(function(e){n.push(e.getData("data"))}))}),n},I.prototype.getGroupedData=function(){return this.pullGroupListData(this.groupList)},I.prototype.getRowGroup=function(e){var t=!1;return this.groupList.forEach(function(n){var i=n.getRowGroup(e);i&&(t=i)}),t},I.prototype.countGroups=function(){return this.groupList.length},I.prototype.generateGroups=function(e){var t=this,n=t.groups;t.groups={},t.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach(function(e){t.createGroup(e,0,n)}),e.forEach(function(e){t.assignRowToExistingGroup(e,n)})):e.forEach(function(e){t.assignRowToGroup(e,n)})},I.prototype.createGroup=function(e,t,n){var i,o=t+"_"+e;n=n||[],i=new N(this,!1,t,e,this.groupIDLookups[0].field,this.headerGenerator[0],n[o]),this.groups[o]=i,this.groupList.push(i)},I.prototype.assignRowToExistingGroup=function(e,t){var n=this.groupIDLookups[0].func(e.getData()),i="0_"+n;this.groups[i]&&this.groups[i].addRow(e)},I.prototype.assignRowToGroup=function(e,t){var n=this.groupIDLookups[0].func(e.getData()),i=!this.groups["0_"+n];return i&&this.createGroup(n,0,t),this.groups["0_"+n].addRow(e),!i},I.prototype.reassignRowToGroup=function(e){var t=e.getGroup(),n=t.getPath(),i=this.getExpectedPath(e),o=!0;o=n.length==i.length&&n.every(function(e,t){return e===i[t]});o||(t.removeRow(e),this.assignRowToGroup(e,self.groups),this.table.rowManager.refreshActiveData("group",!1,!0))},I.prototype.getExpectedPath=function(e){var t=[],n=e.getData();return this.groupIDLookups.forEach(function(e){t.push(e.func(n))}),t},I.prototype.updateGroupRows=function(e){var t=this,n=[];if(t.groupList.forEach(function(e){n=n.concat(e.getHeadersAndRows())}),e){var i=t.table.rowManager.setDisplayRows(n,this.getDisplayIndex());!0!==i&&this.setDisplayIndex(i),t.table.rowManager.refreshActiveData("group",!0,!0)}return n},I.prototype.scrollHeaders=function(e){this.table.options.virtualDomHoz&&(e-=this.table.vdomHoz.vDomPadLeft),e+="px",this.groupList.forEach(function(t){t.scrollHeader(e)})},I.prototype.removeGroup=function(e){var t,n=e.level+"_"+e.key;this.groups[n]&&(delete this.groups[n],t=this.groupList.indexOf(e),t>-1&&this.groupList.splice(t,1))},g.prototype.registerModule("groupRows",I);var B=function(e){this.table=e,this.history=[],this.index=-1};B.prototype.clear=function(){this.history=[],this.index=-1},B.prototype.action=function(e,t,n){this.history=this.history.slice(0,this.index+1),this.history.push({type:e,component:t,data:n}),this.index++},B.prototype.getHistoryUndoSize=function(){return this.index+1},B.prototype.getHistoryRedoSize=function(){return this.history.length-(this.index+1)},B.prototype.clearComponentHistory=function(e){var t=this.history.findIndex(function(t){return t.component===e});t>-1&&(this.history.splice(t,1),t<=this.index&&this.index--,this.clearComponentHistory(e))},B.prototype.undo=function(){if(this.index>-1){var e=this.history[this.index];return this.undoers[e.type].call(this,e),this.index--,this.table.options.historyUndo.call(this.table,e.type,e.component.getComponent(),e.data),!0}return console.warn("History Undo Error - No more history to undo"),!1},B.prototype.redo=function(){if(this.history.length-1>this.index){this.index++;var e=this.history[this.index];return this.redoers[e.type].call(this,e),this.table.options.historyRedo.call(this.table,e.type,e.component.getComponent(),e.data),!0}return console.warn("History Redo Error - No more history to redo"),!1},B.prototype.undoers={cellEdit:function(e){e.component.setValueProcessData(e.data.oldValue)},rowAdd:function(e){e.component.deleteActual()},rowDelete:function(e){var t=this.table.rowManager.addRowActual(e.data.data,e.data.pos,e.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(e.component,t)},rowMove:function(e){this.table.rowManager.moveRowActual(e.component,this.table.rowManager.rows[e.data.posFrom],!e.data.after),this.table.rowManager.redraw()}},B.prototype.redoers={cellEdit:function(e){e.component.setValueProcessData(e.data.newValue)},rowAdd:function(e){var t=this.table.rowManager.addRowActual(e.data.data,e.data.pos,e.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(e.component,t)},rowDelete:function(e){e.component.deleteActual()},rowMove:function(e){this.table.rowManager.moveRowActual(e.component,this.table.rowManager.rows[e.data.posTo],e.data.after),this.table.rowManager.redraw()}},B.prototype._rebindRow=function(e,t){this.history.forEach(function(n){if(n.component instanceof h)n.component===e&&(n.component=t);else if(n.component instanceof f&&n.component.row===e){var i=n.component.column.getField();i&&(n.component=t.getCell(i))}})},g.prototype.registerModule("history",B);var j=function(e){this.table=e,this.fieldIndex=[],this.hasIndex=!1};j.prototype.parseTable=function(){var e=this,t=e.table.element,n=e.table.options,i=(n.columns,t.getElementsByTagName("th")),o=t.getElementsByTagName("tbody")[0],a=[];e.hasIndex=!1,e.table.options.htmlImporting.call(this.table),o=o?o.getElementsByTagName("tr"):[],e._extractOptions(t,n),i.length?e._extractHeaders(i,o):e._generateBlankHeaders(i,o);for(var s=0;s-1&&e.pressedKeys.splice(o,1)}},this.table.element.addEventListener("keydown",this.keyupBinding),this.table.element.addEventListener("keyup",this.keydownBinding)},Y.prototype.clearBindings=function(){this.keyupBinding&&this.table.element.removeEventListener("keydown",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener("keyup",this.keydownBinding)},Y.prototype.checkBinding=function(e,t){var n=this,i=!0;return e.ctrlKey==t.ctrl&&e.shiftKey==t.shift&&e.metaKey==t.meta&&(t.keys.forEach(function(e){var t=n.pressedKeys.indexOf(e);-1==t&&(i=!1)}),i&&t.action.call(n,e),!0)},Y.prototype.bindings={navPrev:"shift + 9",navNext:9,navUp:38,navDown:40,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:"ctrl + 90",redo:"ctrl + 89",copyToClipboard:"ctrl + 67"},Y.prototype.actions={keyBlock:function(e){e.stopPropagation(),e.preventDefault()},scrollPageUp:function(e){var t=this.table.rowManager,n=t.scrollTop-t.height;t.element.scrollHeight;e.preventDefault(),t.displayRowsCount&&(n>=0?t.element.scrollTop=n:t.scrollToRow(t.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(e){var t=this.table.rowManager,n=t.scrollTop+t.height,i=t.element.scrollHeight;e.preventDefault(),t.displayRowsCount&&(n<=i?t.element.scrollTop=n:t.scrollToRow(t.getDisplayRows()[t.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(e){var t=this.table.rowManager;e.preventDefault(),t.displayRowsCount&&t.scrollToRow(t.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(e){var t=this.table.rowManager;e.preventDefault(),t.displayRowsCount&&t.scrollToRow(t.getDisplayRows()[t.displayRowsCount-1]),this.table.element.focus()},navPrev:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell,t&&(e.preventDefault(),t.nav().prev()))},navNext:function(e){var t,n=!1,i=this.table.options.tabEndNewRow;this.table.modExists("edit")&&(n=this.table.modules.edit.currentCell,n&&(e.preventDefault(),t=n.nav(),t.next()||i&&(n.getElement().firstChild.blur(),i=!0===i?this.table.addRow({}):"function"==typeof i?this.table.addRow(i(n.row.getComponent())):this.table.addRow(Object.assign({},i)),i.then(function(){setTimeout(function(){t.next()})}))))},navLeft:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell,t&&(e.preventDefault(),t.nav().left()))},navRight:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell,t&&(e.preventDefault(),t.nav().right()))},navUp:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell,t&&(e.preventDefault(),t.nav().up()))},navDown:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell,t&&(e.preventDefault(),t.nav().down()))},undo:function(e){var t=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell,t||(e.preventDefault(),this.table.modules.history.undo()))},redo:function(e){var t=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell,t||(e.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(e){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}},g.prototype.registerModule("keybindings",Y);var H=function(e){this.table=e,this.menuElements=[],this.blurEvent=this.hideMenu.bind(this),this.escEvent=this.escMenu.bind(this),this.nestedMenuBlock=!1,this.positionReversedX=!1};H.prototype.initializeColumnHeader=function(e){var t,n=this;e.definition.headerContextMenu&&(e.getElement().addEventListener("contextmenu",this.LoadMenuEvent.bind(this,e,e.definition.headerContextMenu)),this.tapHold(e,e.definition.headerContextMenu)),e.definition.headerMenu&&(t=document.createElement("span"),t.classList.add("tabulator-header-menu-button"),t.innerHTML="⋮",t.addEventListener("click",function(t){t.stopPropagation(),t.preventDefault(),n.LoadMenuEvent(e,e.definition.headerMenu,t)}),e.titleElement.insertBefore(t,e.titleElement.firstChild))},H.prototype.LoadMenuEvent=function(e,t,n){t="function"==typeof t?t.call(this.table,e.getComponent(),n):t,this.loadMenu(n,e,t)},H.prototype.tapHold=function(e,t){var n=this,i=e.getElement(),o=null,r=!1;i.addEventListener("touchstart",function(i){clearTimeout(o),r=!1,o=setTimeout(function(){clearTimeout(o),o=null,r=!0,n.LoadMenuEvent(e,t,i)},1e3)},{passive:!0}),i.addEventListener("touchend",function(e){clearTimeout(o),o=null,r&&e.preventDefault()})},H.prototype.initializeCell=function(e){e.column.definition.contextMenu&&(e.getElement(!0).addEventListener("contextmenu",this.LoadMenuEvent.bind(this,e,e.column.definition.contextMenu)),this.tapHold(e,e.column.definition.contextMenu)),e.column.definition.clickMenu&&e.getElement(!0).addEventListener("click",this.LoadMenuEvent.bind(this,e,e.column.definition.clickMenu))},H.prototype.initializeRow=function(e){this.table.options.rowContextMenu&&(e.getElement().addEventListener("contextmenu",this.LoadMenuEvent.bind(this,e,this.table.options.rowContextMenu)),this.tapHold(e,this.table.options.rowContextMenu)),this.table.options.rowClickMenu&&e.getElement().addEventListener("click",this.LoadMenuEvent.bind(this,e,this.table.options.rowClickMenu))},H.prototype.initializeGroup=function(e){this.table.options.groupContextMenu&&(e.getElement().addEventListener("contextmenu",this.LoadMenuEvent.bind(this,e,this.table.options.groupContextMenu)),this.tapHold(e,this.table.options.groupContextMenu)),this.table.options.groupClickMenu&&e.getElement().addEventListener("click",this.LoadMenuEvent.bind(this,e,this.table.options.groupClickMenu))},H.prototype.loadMenu=function(e,t,n,i){var o=this,r=!(e instanceof MouseEvent),a=document.createElement("div");if(a.classList.add("tabulator-menu"),r||e.preventDefault(),n&&n.length){if(!i){if(this.nestedMenuBlock){if(this.isOpen())return}else this.nestedMenuBlock=setTimeout(function(){o.nestedMenuBlock=!1},100);this.hideMenu(),this.menuElements=[]}n.forEach(function(e){var n=document.createElement("div"),i=e.label,r=e.disabled;e.separator?n.classList.add("tabulator-menu-separator"):(n.classList.add("tabulator-menu-item"),"function"==typeof i&&(i=i.call(o.table,t.getComponent())),i instanceof Node?n.appendChild(i):n.innerHTML=i,"function"==typeof r&&(r=r.call(o.table,t.getComponent())),r?(n.classList.add("tabulator-menu-item-disabled"),n.addEventListener("click",function(e){e.stopPropagation()})):e.menu&&e.menu.length?n.addEventListener("click",function(i){i.stopPropagation(),o.hideOldSubMenus(a),o.loadMenu(i,t,e.menu,n)}):e.action&&n.addEventListener("click",function(n){e.action(n,t.getComponent())}),e.menu&&e.menu.length&&n.classList.add("tabulator-menu-item-submenu")),a.appendChild(n)}),a.addEventListener("click",function(e){o.hideMenu()}),this.menuElements.push(a),this.positionMenu(a,i,r,e)}},H.prototype.hideOldSubMenus=function(e){var t=this.menuElements.indexOf(e);if(t>-1)for(var n=this.menuElements.length-1;n>t;n--){var i=this.menuElements[n];i.parentNode&&i.parentNode.removeChild(i),this.menuElements.pop()}},H.prototype.positionMenu=function(e,t,n,i){var o,r,a,s=this,c=Math.max(document.body.offsetHeight,window.innerHeight);t?(a=g.prototype.helpers.elOffset(t),o=a.left+t.offsetWidth,r=a.top-1):(o=n?i.touches[0].pageX:i.pageX,r=n?i.touches[0].pageY:i.pageY,this.positionReversedX=!1),e.style.top=r+"px",e.style.left=o+"px",setTimeout(function(){s.table.rowManager.element.addEventListener("scroll",s.blurEvent),document.body.addEventListener("click",s.blurEvent),document.body.addEventListener("contextmenu",s.blurEvent),window.addEventListener("resize",s.blurEvent),document.body.addEventListener("keydown",s.escEvent)},100),document.body.appendChild(e),r+e.offsetHeight>=c&&(e.style.top="",e.style.bottom=t?c-a.top-t.offsetHeight-1+"px":c-r+"px"),(o+e.offsetWidth>=document.body.offsetWidth||this.positionReversedX)&&(e.style.left="",e.style.right=t?document.documentElement.offsetWidth-a.left+"px":document.documentElement.offsetWidth-o+"px",this.positionReversedX=!0)},H.prototype.isOpen=function(){return!!this.menuElements.length},H.prototype.escMenu=function(e){27==e.keyCode&&this.hideMenu()},H.prototype.hideMenu=function(){this.menuElements.forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)}),document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent)},H.prototype.menus={},g.prototype.registerModule("menu",H);var W=function(e){this.table=e,this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this)};W.prototype.createPlaceholderElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.classList.add("tabulator-col-placeholder"),e},W.prototype.initializeColumn=function(e){var t,n=this,i={};e.modules.frozen||(t=e.getElement(),i.mousemove=function(i){e.parent===n.moving.parent&&((n.touchMove?i.touches[0].pageX:i.pageX)-g.prototype.helpers.elOffset(t).left+n.table.columnManager.element.scrollLeft>e.getWidth()/2?n.toCol===e&&n.toColAfter||(t.parentNode.insertBefore(n.placeholderElement,t.nextSibling),n.moveColumn(e,!0)):(n.toCol!==e||n.toColAfter)&&(t.parentNode.insertBefore(n.placeholderElement,t),n.moveColumn(e,!1)))}.bind(n),t.addEventListener("mousedown",function(t){n.touchMove=!1,1===t.which&&(n.checkTimeout=setTimeout(function(){n.startMove(t,e)},n.checkPeriod))}),t.addEventListener("mouseup",function(e){1===e.which&&n.checkTimeout&&clearTimeout(n.checkTimeout)}),n.bindTouchEvents(e)),e.modules.moveColumn=i},W.prototype.bindTouchEvents=function(e){var t,n,i,o,r,a,s=this,c=e.getElement(),l=!1;c.addEventListener("touchstart",function(c){s.checkTimeout=setTimeout(function(){s.touchMove=!0,e,t=e.nextColumn(),i=t?t.getWidth()/2:0,n=e.prevColumn(),o=n?n.getWidth()/2:0,r=0,a=0,l=!1,s.startMove(c,e)},s.checkPeriod)},{passive:!0}),c.addEventListener("touchmove",function(c){var u,d;s.moving&&(s.moveHover(c),l||(l=c.touches[0].pageX),u=c.touches[0].pageX-l,u>0?t&&u-r>i&&(d=t,d!==e&&(l=c.touches[0].pageX,d.getElement().parentNode.insertBefore(s.placeholderElement,d.getElement().nextSibling),s.moveColumn(d,!0))):n&&-u-a>o&&(d=n,d!==e&&(l=c.touches[0].pageX,d.getElement().parentNode.insertBefore(s.placeholderElement,d.getElement()),s.moveColumn(d,!1))),d&&(d,t=d.nextColumn(),r=i,i=t?t.getWidth()/2:0,n=d.prevColumn(),a=o,o=n?n.getWidth()/2:0))},{passive:!0}),c.addEventListener("touchend",function(e){s.checkTimeout&&clearTimeout(s.checkTimeout),s.moving&&s.endMove(e)})},W.prototype.startMove=function(e,t){var n=t.getElement();this.moving=t,this.startX=(this.touchMove?e.touches[0].pageX:e.pageX)-g.prototype.helpers.elOffset(n).left,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=t.getWidth()+"px",this.placeholderElement.style.height=t.getHeight()+"px",n.parentNode.insertBefore(this.placeholderElement,n),n.parentNode.removeChild(n),this.hoverElement=n.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.table.columnManager.getElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.bottom="0",this.touchMove||(this._bindMouseMove(),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove)),this.moveHover(e)},W.prototype._bindMouseMove=function(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveColumn.mousemove)})},W.prototype._unbindMouseMove=function(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveColumn.mousemove)})},W.prototype.moveColumn=function(e,t){var n=this.moving.getCells();this.toCol=e,this.toColAfter=t,t?e.getCells().forEach(function(e,t){var i=e.getElement(!0);i.parentNode.insertBefore(n[t].getElement(),i.nextSibling)}):e.getCells().forEach(function(e,t){var i=e.getElement(!0);i.parentNode.insertBefore(n[t].getElement(),i)})},W.prototype.endMove=function(e){(1===e.which||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toCol&&this.table.columnManager.moveColumnActual(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove)))},W.prototype.moveHover=function(e){var t,n=this,i=n.table.columnManager.getElement(),o=i.scrollLeft,r=(n.touchMove?e.touches[0].pageX:e.pageX)-g.prototype.helpers.elOffset(i).left+o;n.hoverElement.style.left=r-n.startX+"px",r-oe.getHeight()/2){if(t.toRow!==e||!t.toRowAfter){var i=e.getElement();i.parentNode.insertBefore(t.placeholderElement,i.nextSibling),t.moveRow(e,!0)}}else if(t.toRow!==e||t.toRowAfter){i=e.getElement();i.previousSibling&&(i.parentNode.insertBefore(t.placeholderElement,i),t.moveRow(e,!1))}}.bind(t),e.modules.moveRow=n},q.prototype.initializeRow=function(e){var t,n=this,i={};i.mouseup=function(t){n.tableRowDrop(t,e)}.bind(n),i.mousemove=function(t){var i=e.getElement();t.pageY-g.prototype.helpers.elOffset(i).top+n.table.rowManager.element.scrollTop>e.getHeight()/2?n.toRow===e&&n.toRowAfter||(i.parentNode.insertBefore(n.placeholderElement,i.nextSibling),n.moveRow(e,!0)):(n.toRow!==e||n.toRowAfter)&&(i.parentNode.insertBefore(n.placeholderElement,i),n.moveRow(e,!1))}.bind(n),this.hasHandle||(t=e.getElement(),t.addEventListener("mousedown",function(t){1===t.which&&(n.checkTimeout=setTimeout(function(){n.startMove(t,e)},n.checkPeriod))}),t.addEventListener("mouseup",function(e){1===e.which&&n.checkTimeout&&clearTimeout(n.checkTimeout)}),this.bindTouchEvents(e,e.getElement())),e.modules.moveRow=i},q.prototype.initializeCell=function(e){var t=this,n=e.getElement(!0);n.addEventListener("mousedown",function(n){1===n.which&&(t.checkTimeout=setTimeout(function(){t.startMove(n,e.row)},t.checkPeriod))}),n.addEventListener("mouseup",function(e){1===e.which&&t.checkTimeout&&clearTimeout(t.checkTimeout)}),this.bindTouchEvents(e.row,n)},q.prototype.bindTouchEvents=function(e,t){var n,i,o,r,a,s,c=this,l=!1;t.addEventListener("touchstart",function(t){c.checkTimeout=setTimeout(function(){c.touchMove=!0,e,n=e.nextRow(),o=n?n.getHeight()/2:0,i=e.prevRow(),r=i?i.getHeight()/2:0,a=0,s=0,l=!1,c.startMove(t,e)},c.checkPeriod)},{passive:!0}),this.moving,this.toRow,this.toRowAfter,t.addEventListener("touchmove",function(t){var u,d;c.moving&&(t.preventDefault(),c.moveHover(t),l||(l=t.touches[0].pageY),u=t.touches[0].pageY-l,u>0?n&&u-a>o&&(d=n,d!==e&&(l=t.touches[0].pageY,d.getElement().parentNode.insertBefore(c.placeholderElement,d.getElement().nextSibling),c.moveRow(d,!0))):i&&-u-s>r&&(d=i,d!==e&&(l=t.touches[0].pageY,d.getElement().parentNode.insertBefore(c.placeholderElement,d.getElement()),c.moveRow(d,!1))),d&&(d,n=d.nextRow(),a=o,o=n?n.getHeight()/2:0,i=d.prevRow(),s=r,r=i?i.getHeight()/2:0))}),t.addEventListener("touchend",function(e){c.checkTimeout&&clearTimeout(c.checkTimeout),c.moving&&(c.endMove(e),c.touchMove=!1)})},q.prototype._bindMouseMove=function(){var e=this;e.table.rowManager.getDisplayRows().forEach(function(e){"row"!==e.type&&"group"!==e.type||!e.modules.moveRow.mousemove||e.getElement().addEventListener("mousemove",e.modules.moveRow.mousemove)})},q.prototype._unbindMouseMove=function(){var e=this;e.table.rowManager.getDisplayRows().forEach(function(e){"row"!==e.type&&"group"!==e.type||!e.modules.moveRow.mousemove||e.getElement().removeEventListener("mousemove",e.modules.moveRow.mousemove)})},q.prototype.startMove=function(e,t){var n=t.getElement();this.setStartPosition(e,t),this.moving=t,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=t.getWidth()+"px",this.placeholderElement.style.height=t.getHeight()+"px",this.connection?(this.table.element.classList.add("tabulator-movingrow-sending"),this.connectToTables(t)):(n.parentNode.insertBefore(this.placeholderElement,n),n.parentNode.removeChild(n)),this.hoverElement=n.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this.hoverElement.style.width=this.table.element.clientWidth+"px",this.hoverElement.style.whiteSpace="nowrap",this.hoverElement.style.overflow="hidden",this.hoverElement.style.pointerEvents="none"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this._bindMouseMove()),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove),this.moveHover(e)},q.prototype.setStartPosition=function(e,t){var n,i,o=this.touchMove?e.touches[0].pageX:e.pageX,r=this.touchMove?e.touches[0].pageY:e.pageY;n=t.getElement(),this.connection?(i=n.getBoundingClientRect(),this.startX=i.left-o+window.pageXOffset,this.startY=i.top-r+window.pageYOffset):this.startY=r-n.getBoundingClientRect().top},q.prototype.endMove=function(e){e&&1!==e.which&&!this.touchMove||(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toRow&&this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove),this.connection&&(this.table.element.classList.remove("tabulator-movingrow-sending"),this.disconnectFromTables()))},q.prototype.moveRow=function(e,t){this.toRow=e,this.toRowAfter=t},q.prototype.moveHover=function(e){this.connection?this.moveHoverConnections.call(this,e):this.moveHoverTable.call(this,e)},q.prototype.moveHoverTable=function(e){var t=this.table.rowManager.getElement(),n=t.scrollTop,i=(this.touchMove?e.touches[0].pageY:e.pageY)-t.getBoundingClientRect().top+n;this.hoverElement.style.top=i-this.startY+"px"},q.prototype.moveHoverConnections=function(e){this.hoverElement.style.left=this.startX+(this.touchMove?e.touches[0].pageX:e.pageX)+"px",this.hoverElement.style.top=this.startY+(this.touchMove?e.touches[0].pageY:e.pageY)+"px"},q.prototype.elementRowDrop=function(e,t,n){this.table.options.movableRowsElementDrop&&this.table.options.movableRowsElementDrop(e,t,!!n&&n.getComponent())},q.prototype.connectToTables=function(e){var t,n=this;this.connectionSelectorsTables&&(t=this.table.modules.comms.getConnections(this.connectionSelectorsTables),this.table.options.movableRowsSendingStart.call(this.table,t),this.table.modules.comms.send(this.connectionSelectorsTables,"moveRow","connect",{row:e})),this.connectionSelectorsElements&&(this.connectionElements=[],Array.isArray(this.connectionSelectorsElements)||(this.connectionSelectorsElements=[this.connectionSelectorsElements]),this.connectionSelectorsElements.forEach(function(e){"string"===typeof e?n.connectionElements=n.connectionElements.concat(Array.prototype.slice.call(document.querySelectorAll(e))):n.connectionElements.push(e)}),this.connectionElements.forEach(function(e){var t=function(t){n.elementRowDrop(t,e,n.moving)};e.addEventListener("mouseup",t),e.tabulatorElementDropEvent=t,e.classList.add("tabulator-movingrow-receiving")}))},q.prototype.disconnectFromTables=function(){var e;this.connectionSelectorsTables&&(e=this.table.modules.comms.getConnections(this.connectionSelectorsTables),this.table.options.movableRowsSendingStop.call(this.table,e),this.table.modules.comms.send(this.connectionSelectorsTables,"moveRow","disconnect")),this.connectionElements.forEach(function(e){e.classList.remove("tabulator-movingrow-receiving"),e.removeEventListener("mouseup",e.tabulatorElementDropEvent),delete e.tabulatorElementDropEvent})},q.prototype.connect=function(e,t){var n=this;return this.connectedTable?(console.warn("Move Row Error - Table cannot accept connection, already connected to table:",this.connectedTable),!1):(this.connectedTable=e,this.connectedRow=t,this.table.element.classList.add("tabulator-movingrow-receiving"),n.table.rowManager.getDisplayRows().forEach(function(e){"row"===e.type&&e.modules.moveRow&&e.modules.moveRow.mouseup&&e.getElement().addEventListener("mouseup",e.modules.moveRow.mouseup)}),n.tableRowDropEvent=n.tableRowDrop.bind(n),n.table.element.addEventListener("mouseup",n.tableRowDropEvent),this.table.options.movableRowsReceivingStart.call(this.table,t,e),!0)},q.prototype.disconnect=function(e){var t=this;e===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove("tabulator-movingrow-receiving"),t.table.rowManager.getDisplayRows().forEach(function(e){"row"===e.type&&e.modules.moveRow&&e.modules.moveRow.mouseup&&e.getElement().removeEventListener("mouseup",e.modules.moveRow.mouseup)}),t.table.element.removeEventListener("mouseup",t.tableRowDropEvent),this.table.options.movableRowsReceivingStop.call(this.table,e)):console.warn("Move Row Error - trying to disconnect from non connected table")},q.prototype.dropComplete=function(e,t,n){var i=!1;if(n){switch(r(this.table.options.movableRowsSender)){case"string":i=this.senders[this.table.options.movableRowsSender];break;case"function":i=this.table.options.movableRowsSender;break}i?i.call(this,this.moving.getComponent(),t?t.getComponent():void 0,e):this.table.options.movableRowsSender&&console.warn("Mover Row Error - no matching sender found:",this.table.options.movableRowsSender),this.table.options.movableRowsSent.call(this.table,this.moving.getComponent(),t?t.getComponent():void 0,e)}else this.table.options.movableRowsSentFailed.call(this.table,this.moving.getComponent(),t?t.getComponent():void 0,e);this.endMove()},q.prototype.tableRowDrop=function(e,t){var n=!1,i=!1;switch(e.stopImmediatePropagation(),r(this.table.options.movableRowsReceiver)){case"string":n=this.receivers[this.table.options.movableRowsReceiver];break;case"function":n=this.table.options.movableRowsReceiver;break}n?i=n.call(this,this.connectedRow.getComponent(),t?t.getComponent():void 0,this.connectedTable):console.warn("Mover Row Error - no matching receiver found:",this.table.options.movableRowsReceiver),i?this.table.options.movableRowsReceived.call(this.table,this.connectedRow.getComponent(),t?t.getComponent():void 0,this.connectedTable):this.table.options.movableRowsReceivedFailed.call(this.table,this.connectedRow.getComponent(),t?t.getComponent():void 0,this.connectedTable),this.table.modules.comms.send(this.connectedTable,"moveRow","dropcomplete",{row:t,success:i})},q.prototype.receivers={insert:function(e,t,n){return this.table.addRow(e.getData(),void 0,t),!0},add:function(e,t,n){return this.table.addRow(e.getData()),!0},update:function(e,t,n){return!!t&&(t.update(e.getData()),!0)},replace:function(e,t,n){return!!t&&(this.table.addRow(e.getData(),void 0,t),t.delete(),!0)}},q.prototype.senders={delete:function(e,t,n){e.delete()}},q.prototype.commsReceived=function(e,t,n){switch(t){case"connect":return this.connect(e,n.row);case"disconnect":return this.disconnect(e);case"dropcomplete":return this.dropComplete(e,n.row,n.success)}},g.prototype.registerModule("moveRow",q);var F=function(e){this.table=e,this.allowedTypes=["","data","edit","clipboard"],this.enabled=!0};F.prototype.initializeColumn=function(e){var t=this,n=!1,i={};this.allowedTypes.forEach(function(o){var r,a="mutator"+(o.charAt(0).toUpperCase()+o.slice(1));e.definition[a]&&(r=t.lookupMutator(e.definition[a]),r&&(n=!0,i[a]={mutator:r,params:e.definition[a+"Params"]||{}}))}),n&&(e.modules.mutate=i)},F.prototype.lookupMutator=function(e){var t=!1;switch("undefined"===typeof e?"undefined":r(e)){case"string":this.mutators[e]?t=this.mutators[e]:console.warn("Mutator Error - No such mutator found, ignoring: ",e);break;case"function":t=e;break}return t},F.prototype.transformRow=function(e,t,n){var i,o=this,r="mutator"+(t.charAt(0).toUpperCase()+t.slice(1));return this.enabled&&o.table.columnManager.traverse(function(o){var a,s,c;o.modules.mutate&&(a=o.modules.mutate[r]||o.modules.mutate.mutator||!1,a&&(i=o.getFieldValue("undefined"!==typeof n?n:e),"data"!=t&&"undefined"===typeof i||(c=o.getComponent(),s="function"===typeof a.params?a.params(i,e,t,c):a.params,o.setFieldValue(e,a.mutator(i,e,t,s,c)))))}),e},F.prototype.transformCell=function(e,t){var n=e.column.modules.mutate.mutatorEdit||e.column.modules.mutate.mutator||!1,i={};return n?(i=Object.assign(i,e.row.getData()),e.column.setFieldValue(i,t),n.mutator(t,i,"edit",n.params,e.getComponent())):t},F.prototype.enable=function(){this.enabled=!0},F.prototype.disable=function(){this.enabled=!1},F.prototype.mutators={},g.prototype.registerModule("mutator",F);var X=function(e){this.table=e,this.mode="local",this.progressiveLoad=!1,this.size=0,this.page=1,this.count=5,this.max=1,this.displayIndex=0,this.initialLoad=!0,this.pageSizes=[],this.dataReceivedNames={},this.dataSentNames={},this.createElements()};X.prototype.createElements=function(){var e;this.element=document.createElement("span"),this.element.classList.add("tabulator-paginator"),this.pagesElement=document.createElement("span"),this.pagesElement.classList.add("tabulator-pages"),e=document.createElement("button"),e.classList.add("tabulator-page"),e.setAttribute("type","button"),e.setAttribute("role","button"),e.setAttribute("aria-label",""),e.setAttribute("title",""),this.firstBut=e.cloneNode(!0),this.firstBut.setAttribute("data-page","first"),this.prevBut=e.cloneNode(!0),this.prevBut.setAttribute("data-page","prev"),this.nextBut=e.cloneNode(!0),this.nextBut.setAttribute("data-page","next"),this.lastBut=e.cloneNode(!0),this.lastBut.setAttribute("data-page","last"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement("select"),this.pageSizeSelect.classList.add("tabulator-page-size"))},X.prototype.generatePageSizeSelectList=function(){var e=this,t=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))t=this.table.options.paginationSizeSelector,this.pageSizes=t,-1==this.pageSizes.indexOf(this.size)&&t.unshift(this.size);else if(-1==this.pageSizes.indexOf(this.size)){t=[];for(var n=1;n<5;n++)t.push(this.size*n);this.pageSizes=t}else t=this.pageSizes;while(this.pageSizeSelect.firstChild)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);t.forEach(function(t){var n=document.createElement("option");n.value=t,!0===t?e.table.modules.localize.bind("pagination|all",function(e){n.innerHTML=e}):n.innerHTML=t,e.pageSizeSelect.appendChild(n)}),this.pageSizeSelect.value=this.size}},X.prototype.initialize=function(e){var t,n,i,o=this;this.dataSentNames=Object.assign({},this.paginationDataSentNames),this.dataSentNames=Object.assign(this.dataSentNames,this.table.options.paginationDataSent),this.dataReceivedNames=Object.assign({},this.paginationDataReceivedNames),this.dataReceivedNames=Object.assign(this.dataReceivedNames,this.table.options.paginationDataReceived),o.table.modules.localize.bind("pagination|first",function(e){o.firstBut.innerHTML=e}),o.table.modules.localize.bind("pagination|first_title",function(e){o.firstBut.setAttribute("aria-label",e),o.firstBut.setAttribute("title",e)}),o.table.modules.localize.bind("pagination|prev",function(e){o.prevBut.innerHTML=e}),o.table.modules.localize.bind("pagination|prev_title",function(e){o.prevBut.setAttribute("aria-label",e),o.prevBut.setAttribute("title",e)}),o.table.modules.localize.bind("pagination|next",function(e){o.nextBut.innerHTML=e}),o.table.modules.localize.bind("pagination|next_title",function(e){o.nextBut.setAttribute("aria-label",e),o.nextBut.setAttribute("title",e)}),o.table.modules.localize.bind("pagination|last",function(e){o.lastBut.innerHTML=e}),o.table.modules.localize.bind("pagination|last_title",function(e){o.lastBut.setAttribute("aria-label",e),o.lastBut.setAttribute("title",e)}),o.firstBut.addEventListener("click",function(){o.setPage(1).then(function(){}).catch(function(){})}),o.prevBut.addEventListener("click",function(){o.previousPage().then(function(){}).catch(function(){})}),o.nextBut.addEventListener("click",function(){o.nextPage().then(function(){}).catch(function(){})}),o.lastBut.addEventListener("click",function(){o.setPage(o.max).then(function(){}).catch(function(){})}),o.table.options.paginationElement&&(o.element=o.table.options.paginationElement),this.pageSizeSelect&&(t=document.createElement("label"),o.table.modules.localize.bind("pagination|page_size",function(e){o.pageSizeSelect.setAttribute("aria-label",e),o.pageSizeSelect.setAttribute("title",e),t.innerHTML=e}),o.element.appendChild(t),o.element.appendChild(o.pageSizeSelect),o.pageSizeSelect.addEventListener("change",function(e){o.setPageSize("true"==o.pageSizeSelect.value||o.pageSizeSelect.value),o.setPage(1).then(function(){}).catch(function(){})})),o.element.appendChild(o.firstBut),o.element.appendChild(o.prevBut),o.element.appendChild(o.pagesElement),o.element.appendChild(o.nextBut),o.element.appendChild(o.lastBut),o.table.options.paginationElement||e||o.table.footerManager.append(o.element,o),o.mode=o.table.options.pagination,o.table.options.paginationSize?o.size=o.table.options.paginationSize:(n=document.createElement("div"),n.classList.add("tabulator-row"),n.style.visibility=e,i=document.createElement("div"),i.classList.add("tabulator-cell"),i.innerHTML="Page Row Test",n.appendChild(i),o.table.rowManager.getTableElement().appendChild(n),o.size=Math.floor(o.table.rowManager.getElement().clientHeight/n.offsetHeight),o.table.rowManager.getTableElement().removeChild(n)),o.count=o.table.options.paginationButtonCount,o.generatePageSizeSelectList()},X.prototype.initializeProgressive=function(e){this.initialize(!0),this.mode="progressive_"+e,this.progressiveLoad=!0},X.prototype.setDisplayIndex=function(e){this.displayIndex=e},X.prototype.getDisplayIndex=function(){return this.displayIndex},X.prototype.setMaxRows=function(e){this.max=e?!0===this.size?1:Math.ceil(e/this.size):1,this.page>this.max&&(this.page=this.max)},X.prototype.reset=function(e,t){return("local"==this.mode||e)&&(this.page=1),t&&(this.initialLoad=!0),!0},X.prototype.setMaxPage=function(e){e=parseInt(e),this.max=e||1,this.page>this.max&&(this.page=this.max,this.trigger())},X.prototype.setPage=function(e){var t=this,n=this;switch(e){case"first":return this.setPage(1);case"prev":return this.previousPage();case"next":return this.nextPage();case"last":return this.setPage(this.max)}return new Promise(function(i,o){e=parseInt(e),e>0&&e<=t.max||"local"!==t.mode?(t.page=e,t.trigger().then(function(){i()}).catch(function(){o()}),n.table.options.persistence&&n.table.modExists("persistence",!0)&&n.table.modules.persistence.config.page&&n.table.modules.persistence.save("page")):(console.warn("Pagination Error - Requested page is out of range of 1 - "+t.max+":",e),o())})},X.prototype.setPageToRow=function(e){var t=this;return new Promise(function(n,i){var o=t.table.rowManager.getDisplayRows(t.displayIndex-1),r=o.indexOf(e);if(r>-1){var a=!0===t.size?1:Math.ceil((r+1)/t.size);t.setPage(a).then(function(){n()}).catch(function(){i()})}else console.warn("Pagination Error - Requested row is not visible"),i()})},X.prototype.setPageSize=function(e){!0!==e&&(e=parseInt(e)),e>0&&(this.size=e),this.pageSizeSelect&&this.generatePageSizeSelectList(),this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.page&&this.table.modules.persistence.save("page")},X.prototype._setPageButtons=function(){var e=this,t=Math.floor((this.count-1)/2),n=Math.ceil((this.count-1)/2),i=this.max-this.page+t+10&&r<=e.max&&e.pagesElement.appendChild(e._generatePageButton(r));this.footerRedraw()},X.prototype._generatePageButton=function(e){var t=this,n=document.createElement("button");return n.classList.add("tabulator-page"),e==t.page&&n.classList.add("active"),n.setAttribute("type","button"),n.setAttribute("role","button"),t.table.modules.localize.bind("pagination|page_title",function(t){n.setAttribute("aria-label",t+" "+e),n.setAttribute("title",t+" "+e)}),n.setAttribute("data-page",e),n.textContent=e,n.addEventListener("click",function(n){t.setPage(e).then(function(){}).catch(function(){})}),n},X.prototype.previousPage=function(){var e=this;return new Promise(function(t,n){e.page>1?(e.page--,e.trigger().then(function(){t()}).catch(function(){n()}),e.table.options.persistence&&e.table.modExists("persistence",!0)&&e.table.modules.persistence.config.page&&e.table.modules.persistence.save("page")):(console.warn("Pagination Error - Previous page would be less than page 1:",0),n())})},X.prototype.nextPage=function(){var e=this;return new Promise(function(t,n){e.pageo?i.splice(o,0,e):i.push(e))}),i},U.prototype._findColumn=function(e,t){var n=t.columns?"group":t.field?"field":"object";return e.find(function(e){switch(n){case"group":return e.title===t.title&&e.columns.length===t.columns.length;case"field":return e.field===t.field;case"object":return e===t}})},U.prototype.save=function(e){var t={};switch(e){case"columns":t=this.parseColumns(this.table.columnManager.getColumns());break;case"filter":t=this.table.modules.filter.getFilters();break;case"sort":t=this.validateSorters(this.table.modules.sort.getSort());break;case"group":t=this.getGroupConfig();break;case"page":t=this.getPageConfig();break}this.writeFunc&&this.writeFunc(this.id,e,t)},U.prototype.validateSorters=function(e){return e.forEach(function(e){e.column=e.field,delete e.field}),e},U.prototype.getGroupConfig=function(){var e={};return this.config.group&&((!0===this.config.group||this.config.group.groupBy)&&(e.groupBy=this.table.options.groupBy),(!0===this.config.group||this.config.group.groupStartOpen)&&(e.groupStartOpen=this.table.options.groupStartOpen),(!0===this.config.group||this.config.group.groupHeader)&&(e.groupHeader=this.table.options.groupHeader)),e},U.prototype.getPageConfig=function(){var e={};return this.config.page&&((!0===this.config.page||this.config.page.size)&&(e.paginationSize=this.table.modules.page.getPageSize()),(!0===this.config.page||this.config.page.page)&&(e.paginationInitialPage=this.table.modules.page.getPage())),e},U.prototype.parseColumns=function(e){var t=this,n=[],i=["headerContextMenu","headerMenu","contextMenu","clickMenu"];return e.forEach(function(e){var o,r={},a=e.getDefinition();e.isGroup?(r.title=a.title,r.columns=t.parseColumns(e.getColumns())):(r.field=e.getField(),!0===t.config.columns||void 0==t.config.columns?(o=Object.keys(a),o.push("width")):o=t.config.columns,o.forEach(function(t){switch(t){case"width":r.width=e.getWidth();break;case"visible":r.visible=e.visible;break;default:"function"!==typeof a[t]&&-1===i.indexOf(t)&&(r[t]=a[t])}})),n.push(r)}),n},U.prototype.readers={local:function(e,t){var n=localStorage.getItem(e+"-"+t);return!!n&&JSON.parse(n)},cookie:function(e,t){var n,i,o=document.cookie,r=e+"-"+t,a=o.indexOf(r+"=");return a>-1&&(o=o.substr(a),n=o.indexOf(";"),n>-1&&(o=o.substr(0,n)),i=o.replace(r+"=","")),!!i&&JSON.parse(i)}},U.prototype.writers={local:function(e,t,n){localStorage.setItem(e+"-"+t,JSON.stringify(n))},cookie:function(e,t,n){var i=new Date;i.setDate(i.getDate()+1e4),document.cookie=e+"-"+t+"="+JSON.stringify(n)+"; expires="+i.toUTCString()}},g.prototype.registerModule("persistence",U);var V=function(e){this.table=e,this.element=!1,this.manualBlock=!1};V.prototype.initialize=function(){window.addEventListener("beforeprint",this.replaceTable.bind(this)),window.addEventListener("afterprint",this.cleanup.bind(this))},V.prototype.replaceTable=function(){this.manualBlock||(this.element=document.createElement("div"),this.element.classList.add("tabulator-print-table"),this.element.appendChild(this.table.modules.export.genereateTable(this.table.options.printConfig,this.table.options.printStyled,this.table.options.printRowRange,"print")),this.table.element.style.display="none",this.table.element.parentNode.insertBefore(this.element,this.table.element))},V.prototype.cleanup=function(){document.body.classList.remove("tabulator-print-fullscreen-hide"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display="")},V.prototype.printFullscreen=function(e,t,n){var i,o,r=window.scrollX,a=window.scrollY,s=document.createElement("div"),c=document.createElement("div"),l=this.table.modules.export.genereateTable("undefined"!=typeof n?n:this.table.options.printConfig,"undefined"!=typeof t?t:this.table.options.printStyled,e,"print");this.manualBlock=!0,this.element=document.createElement("div"),this.element.classList.add("tabulator-print-fullscreen"),this.table.options.printHeader&&(s.classList.add("tabulator-print-header"),i="function"==typeof this.table.options.printHeader?this.table.options.printHeader.call(this.table):this.table.options.printHeader,"string"==typeof i?s.innerHTML=i:s.appendChild(i),this.element.appendChild(s)),this.element.appendChild(l),this.table.options.printFooter&&(c.classList.add("tabulator-print-footer"),o="function"==typeof this.table.options.printFooter?this.table.options.printFooter.call(this.table):this.table.options.printFooter,"string"==typeof o?c.innerHTML=o:c.appendChild(o),this.element.appendChild(c)),document.body.classList.add("tabulator-print-fullscreen-hide"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,l),window.print(),this.cleanup(),window.scrollTo(r,a),this.manualBlock=!1},g.prototype.registerModule("print",V);var G=function(e){this.table=e,this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0};G.prototype.watchData=function(e){var t,n=this;this.currentVersion++,t=this.currentVersion,n.unwatchData(),n.data=e,n.origFuncs.push=e.push,Object.defineProperty(n.data,"push",{enumerable:!1,configurable:!0,value:function(){var i=Array.from(arguments);return n.blocked||t!==n.currentVersion||i.forEach(function(e){n.table.rowManager.addRowActual(e,!1)}),n.origFuncs.push.apply(e,arguments)}}),n.origFuncs.unshift=e.unshift,Object.defineProperty(n.data,"unshift",{enumerable:!1,configurable:!0,value:function(){var i=Array.from(arguments);return n.blocked||t!==n.currentVersion||i.forEach(function(e){n.table.rowManager.addRowActual(e,!0)}),n.origFuncs.unshift.apply(e,arguments)}}),n.origFuncs.shift=e.shift,Object.defineProperty(n.data,"shift",{enumerable:!1,configurable:!0,value:function(){var i;return n.blocked||t!==n.currentVersion||n.data.length&&(i=n.table.rowManager.getRowFromDataObject(n.data[0]),i&&i.deleteActual()),n.origFuncs.shift.call(e)}}),n.origFuncs.pop=e.pop,Object.defineProperty(n.data,"pop",{enumerable:!1,configurable:!0,value:function(){var i;return n.blocked||t!==n.currentVersion||n.data.length&&(i=n.table.rowManager.getRowFromDataObject(n.data[n.data.length-1]),i&&i.deleteActual()),n.origFuncs.pop.call(e)}}),n.origFuncs.splice=e.splice,Object.defineProperty(n.data,"splice",{enumerable:!1,configurable:!0,value:function(){var i,o=Array.from(arguments),r=o[0]<0?e.length+o[0]:o[0],a=o[1],s=!!o[2]&&o.slice(2);if(!n.blocked&&t===n.currentVersion){if(s&&(i=!!e[r]&&n.table.rowManager.getRowFromDataObject(e[r]),i?s.forEach(function(e){n.table.rowManager.addRowActual(e,!0,i,!0)}):(s=s.slice().reverse(),s.forEach(function(e){n.table.rowManager.addRowActual(e,!0,!1,!0)}))),0!==a){var c=e.slice(r,"undefined"===typeof o[1]?o[1]:r+a);c.forEach(function(e,t){var i=n.table.rowManager.getRowFromDataObject(e);i&&i.deleteActual(t!==c.length-1)})}(s||0!==a)&&n.table.rowManager.reRenderInPosition()}return n.origFuncs.splice.apply(e,arguments)}})},G.prototype.unwatchData=function(){if(!1!==this.data)for(var e in this.origFuncs)Object.defineProperty(this.data,e,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})},G.prototype.watchRow=function(e){var t=e.getData();for(var n in this.blocked=!0,t)this.watchKey(e,t,n);this.table.options.dataTree&&this.watchTreeChildren(e),this.blocked=!1},G.prototype.watchTreeChildren=function(e){var t=this,n=e.getData()[this.table.options.dataTreeChildField],i={};function o(){t.table.modules.dataTree.initializeRow(e),t.table.modules.dataTree.layoutRow(e),t.table.rowManager.refreshActiveData("tree",!1,!0)}n&&(i.push=n.push,Object.defineProperty(n,"push",{enumerable:!1,configurable:!0,value:function(){var e=i.push.apply(n,arguments);return o(),e}}),i.unshift=n.unshift,Object.defineProperty(n,"unshift",{enumerable:!1,configurable:!0,value:function(){var e=i.unshift.apply(n,arguments);return o(),e}}),i.shift=n.shift,Object.defineProperty(n,"shift",{enumerable:!1,configurable:!0,value:function(){var e=i.shift.call(n);return o(),e}}),i.pop=n.pop,Object.defineProperty(n,"pop",{enumerable:!1,configurable:!0,value:function(){var e=i.pop.call(n);return o(),e}}),i.splice=n.splice,Object.defineProperty(n,"splice",{enumerable:!1,configurable:!0,value:function(){var e=i.splice.apply(n,arguments);return o(),e}}))},G.prototype.watchKey=function(e,t,n){var i=this,o=Object.getOwnPropertyDescriptor(t,n),r=t[n],a=this.currentVersion;Object.defineProperty(t,n,{set:function(t){if(r=t,!i.blocked&&a===i.currentVersion){var s={};s[n]=t,e.updateData(s)}o.set&&o.set(t)},get:function(){return o.get&&o.get(),r}})},G.prototype.unwatchRow=function(e){var t=e.getData();for(var n in t)Object.defineProperty(t,n,{value:t[n]})},G.prototype.block=function(){this.blocked=!0},G.prototype.unblock=function(){this.blocked=!1},g.prototype.registerModule("reactiveData",G);var K=function(e){this.table=e,this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.handle=null,this.prevHandle=null};K.prototype.initializeColumn=function(e,t,n){var i=this,o=!1,r=this.table.options.resizableColumns;if("header"===e&&(o="textarea"==t.definition.formatter||t.definition.variableHeight,t.modules.resize={variableHeight:o}),!0===r||r==e){var a=document.createElement("div");a.className="tabulator-col-resize-handle";var s=document.createElement("div");s.className="tabulator-col-resize-handle prev",a.addEventListener("click",function(e){e.stopPropagation()});var c=function(e){var n=t.getLastColumn();n&&i._checkResizability(n)&&(i.startColumn=t,i._mouseDown(e,n,a))};a.addEventListener("mousedown",c),a.addEventListener("touchstart",c,{passive:!0}),a.addEventListener("dblclick",function(e){var n=t.getLastColumn();n&&i._checkResizability(n)&&(e.stopPropagation(),n.reinitializeWidth(!0))}),s.addEventListener("click",function(e){e.stopPropagation()});var l=function(e){var n,o,r;n=t.getFirstColumn(),n&&(o=i.table.columnManager.findColumnIndex(n),r=o>0&&i.table.columnManager.getColumnByIndex(o-1),r&&i._checkResizability(r)&&(i.startColumn=t,i._mouseDown(e,r,s)))};s.addEventListener("mousedown",l),s.addEventListener("touchstart",l,{passive:!0}),s.addEventListener("dblclick",function(e){var n,o,r;n=t.getFirstColumn(),n&&(o=i.table.columnManager.findColumnIndex(n),r=o>0&&i.table.columnManager.getColumnByIndex(o-1),r&&i._checkResizability(r)&&(e.stopPropagation(),r.reinitializeWidth(!0)))}),n.appendChild(a),n.appendChild(s)}},K.prototype._checkResizability=function(e){return"undefined"!=typeof e.definition.resizable?e.definition.resizable:this.table.options.resizableColumns},K.prototype._mouseDown=function(e,t,n){var i=this;function o(e){i.table.rtl?t.setWidth(i.startWidth-(("undefined"===typeof e.screenX?e.touches[0].screenX:e.screenX)-i.startX)):t.setWidth(i.startWidth+(("undefined"===typeof e.screenX?e.touches[0].screenX:e.screenX)-i.startX)),i.table.options.virtualDomHoz&&i.table.vdomHoz.reinitialize(!0),!i.table.browserSlow&&t.modules.resize&&t.modules.resize.variableHeight&&t.checkCellHeights()}function r(e){i.startColumn.modules.edit&&(i.startColumn.modules.edit.blocked=!1),i.table.browserSlow&&t.modules.resize&&t.modules.resize.variableHeight&&t.checkCellHeights(),document.body.removeEventListener("mouseup",r),document.body.removeEventListener("mousemove",o),n.removeEventListener("touchmove",o),n.removeEventListener("touchend",r),i.table.element.classList.remove("tabulator-block-select"),i.table.options.persistence&&i.table.modExists("persistence",!0)&&i.table.modules.persistence.config.columns&&i.table.modules.persistence.save("columns"),i.table.options.columnResized.call(i.table,t.getComponent())}i.table.element.classList.add("tabulator-block-select"),e.stopPropagation(),i.startColumn.modules.edit&&(i.startColumn.modules.edit.blocked=!0),i.startX="undefined"===typeof e.screenX?e.touches[0].screenX:e.screenX,i.startWidth=t.getWidth(),document.body.addEventListener("mousemove",o),document.body.addEventListener("mouseup",r),n.addEventListener("touchmove",o,{passive:!0}),n.addEventListener("touchend",r)},g.prototype.registerModule("resizeColumns",K);var $=function(e){this.table=e,this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null};$.prototype.initializeRow=function(e){var t=this,n=e.getElement(),i=document.createElement("div");i.className="tabulator-row-resize-handle";var o=document.createElement("div");o.className="tabulator-row-resize-handle prev",i.addEventListener("click",function(e){e.stopPropagation()});var r=function(n){t.startRow=e,t._mouseDown(n,e,i)};i.addEventListener("mousedown",r),i.addEventListener("touchstart",r,{passive:!0}),o.addEventListener("click",function(e){e.stopPropagation()});var a=function(n){var i=t.table.rowManager.prevDisplayRow(e);i&&(t.startRow=i,t._mouseDown(n,i,o))};o.addEventListener("mousedown",a),o.addEventListener("touchstart",a,{passive:!0}),n.appendChild(i),n.appendChild(o)},$.prototype._mouseDown=function(e,t,n){var i=this;function o(e){t.setHeight(i.startHeight+(("undefined"===typeof e.screenY?e.touches[0].screenY:e.screenY)-i.startY))}function r(e){document.body.removeEventListener("mouseup",o),document.body.removeEventListener("mousemove",o),n.removeEventListener("touchmove",o),n.removeEventListener("touchend",r),i.table.element.classList.remove("tabulator-block-select"),i.table.options.rowResized.call(this.table,t.getComponent())}i.table.element.classList.add("tabulator-block-select"),e.stopPropagation(),i.startY="undefined"===typeof e.screenY?e.touches[0].screenY:e.screenY,i.startHeight=t.getHeight(),document.body.addEventListener("mousemove",o),document.body.addEventListener("mouseup",r),n.addEventListener("touchmove",o,{passive:!0}),n.addEventListener("touchend",r)},g.prototype.registerModule("resizeRows",$);var J=function(e){this.table=e,this.binding=!1,this.observer=!1,this.containerObserver=!1,this.tableHeight=0,this.tableWidth=0,this.containerHeight=0,this.containerWidth=0,this.autoResize=!1};J.prototype.initialize=function(e){var t,n=this,i=this.table;this.tableHeight=i.element.clientHeight,this.tableWidth=i.element.clientWidth,i.element.parentNode&&(this.containerHeight=i.element.parentNode.clientHeight,this.containerWidth=i.element.parentNode.clientWidth),"undefined"!==typeof ResizeObserver&&"virtual"===i.rowManager.getRenderMode()?(this.autoResize=!0,this.observer=new ResizeObserver(function(e){if(!i.browserMobile||i.browserMobile&&!i.modules.edit.currentCell){var t=Math.floor(e[0].contentRect.height),o=Math.floor(e[0].contentRect.width);n.tableHeight==t&&n.tableWidth==o||(n.tableHeight=t,n.tableWidth=o,i.element.parentNode&&(n.containerHeight=i.element.parentNode.clientHeight,n.containerWidth=i.element.parentNode.clientWidth),i.options.virtualDomHoz&&i.vdomHoz.reinitialize(!0),i.redraw())}}),this.observer.observe(i.element),t=window.getComputedStyle(i.element),this.table.element.parentNode&&!this.table.rowManager.fixedHeight&&(t.getPropertyValue("max-height")||t.getPropertyValue("min-height"))&&(this.containerObserver=new ResizeObserver(function(e){if(!i.browserMobile||i.browserMobile&&!i.modules.edit.currentCell){var t=Math.floor(e[0].contentRect.height),o=Math.floor(e[0].contentRect.width);n.containerHeight==t&&n.containerWidth==o||(n.containerHeight=t,n.containerWidth=o,n.tableHeight=i.element.clientHeight,n.tableWidth=i.element.clientWidth),i.options.virtualDomHoz&&i.vdomHoz.reinitialize(!0),i.redraw()}}),this.containerObserver.observe(this.table.element.parentNode))):(this.binding=function(){(!i.browserMobile||i.browserMobile&&!i.modules.edit.currentCell)&&(i.options.virtualDomHoz&&i.vdomHoz.reinitialize(!0),i.redraw())},window.addEventListener("resize",this.binding))},J.prototype.clearBindings=function(e){this.binding&&window.removeEventListener("resize",this.binding),this.observer&&this.observer.unobserve(this.table.element),this.containerObserver&&this.containerObserver.unobserve(this.table.element.parentNode)},g.prototype.registerModule("resizeTable",J);var Z=function(e){this.table=e,this.columns=[],this.hiddenColumns=[],this.mode="",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0,this.collapseHandleColumn=!1};Z.prototype.initialize=function(){var e=this,t=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach(function(n,i){n.modules.responsive&&n.modules.responsive.order&&n.modules.responsive.visible&&(n.modules.responsive.index=i,t.push(n),n.visible||"collapse"!==e.mode||e.hiddenColumns.push(n))}),t=t.reverse(),t=t.sort(function(e,t){var n=t.modules.responsive.order-e.modules.responsive.order;return n||t.modules.responsive.index-e.modules.responsive.index}),this.columns=t,"collapse"===this.mode&&this.generateCollapsedContent();var n=this.table.columnManager.columnsByIndex,i=Array.isArray(n),o=0;for(n=i?n:n[Symbol.iterator]();;){var r;if(i){if(o>=n.length)break;r=n[o++]}else{if(o=n.next(),o.done)break;r=o.value}var a=r;if("responsiveCollapse"==a.definition.formatter){this.collapseHandleColumn=a;break}}this.collapseHandleColumn&&(this.hiddenColumns.length?this.collapseHandleColumn.show():this.collapseHandleColumn.hide())},Z.prototype.initializeColumn=function(e){var t=e.getDefinition();e.modules.responsive={order:"undefined"===typeof t.responsive?1:t.responsive,visible:!1!==t.visible}},Z.prototype.initializeRow=function(e){var t;"calc"!==e.type&&(t=document.createElement("div"),t.classList.add("tabulator-responsive-collapse"),e.modules.responsiveLayout={element:t,open:this.collapseStartOpen},this.collapseStartOpen||(t.style.display="none"))},Z.prototype.layoutRow=function(e){var t=e.getElement();e.modules.responsiveLayout&&(t.appendChild(e.modules.responsiveLayout.element),this.generateCollapsedRowContent(e))},Z.prototype.updateColumnVisibility=function(e,t){e.modules.responsive&&(e.modules.responsive.visible=t,this.initialize())},Z.prototype.hideColumn=function(e){var t=this.hiddenColumns.length;e.hide(!1,!0),"collapse"===this.mode&&(this.hiddenColumns.unshift(e),this.generateCollapsedContent(),this.collapseHandleColumn&&!t&&this.collapseHandleColumn.show())},Z.prototype.showColumn=function(e){var t;e.show(!1,!0),e.setWidth(e.getWidth()),"collapse"===this.mode&&(t=this.hiddenColumns.indexOf(e),t>-1&&this.hiddenColumns.splice(t,1),this.generateCollapsedContent(),this.collapseHandleColumn&&!this.hiddenColumns.length&&this.collapseHandleColumn.hide())},Z.prototype.update=function(){var e=this,t=!0;while(t){var n="fitColumns"==e.table.modules.layout.getMode()?e.table.columnManager.getFlexBaseWidth():e.table.columnManager.getWidth(),i=(e.table.options.headerVisible?e.table.columnManager.element.clientWidth:e.table.element.clientWidth)-n;if(i<0){var o=e.columns[e.index];o?(e.hideColumn(o),e.index++):t=!1}else{var r=e.columns[e.index-1];r&&i>0&&i>=r.getWidth()?(e.showColumn(r),e.index--):t=!1}e.table.rowManager.activeRowsCount||e.table.rowManager.renderEmptyScroll()}},Z.prototype.generateCollapsedContent=function(){var e=this,t=this.table.rowManager.getDisplayRows();t.forEach(function(t){e.generateCollapsedRowContent(t)})},Z.prototype.generateCollapsedRowContent=function(e){var t,n;if(e.modules.responsiveLayout){t=e.modules.responsiveLayout.element;while(t.firstChild)t.removeChild(t.firstChild);n=this.collapseFormatter(this.generateCollapsedRowData(e)),n&&t.appendChild(n)}},Z.prototype.generateCollapsedRowData=function(e){var t,n=this,i=e.getData(),o=[];return this.hiddenColumns.forEach(function(r){var a=r.getFieldValue(i);r.definition.title&&r.field&&(r.modules.format&&n.table.options.responsiveLayoutCollapseUseFormatters?(t={value:!1,data:{},getValue:function(){return a},getData:function(){return i},getElement:function(){return document.createElement("div")},getRow:function(){return e.getComponent()},getColumn:function(){return r.getComponent()}},o.push({field:r.field,title:r.definition.title,value:r.modules.format.formatter.call(n.table.modules.format,t,r.modules.format.params)})):o.push({field:r.field,title:r.definition.title,value:a}))}),o},Z.prototype.formatCollapsedData=function(e){var t=document.createElement("table");return e.forEach(function(e){var n,i=document.createElement("tr"),o=document.createElement("td"),r=document.createElement("td"),a=document.createElement("strong");o.appendChild(a),this.table.modules.localize.bind("columns|"+e.field,function(t){a.innerText=t||e.title}),e.value instanceof Node?(n=document.createElement("div"),n.appendChild(e.value),r.appendChild(n)):r.innerHTML=e.value,i.appendChild(o),i.appendChild(r),t.appendChild(i)},this),Object.keys(e).length?t:""},g.prototype.registerModule("responsiveLayout",Z);var Q=function(e){this.table=e,this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],this.headerCheckboxElement=null};Q.prototype.clearSelectionData=function(e){this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],e||this._rowSelectionChanged()},Q.prototype.initializeRow=function(e){var t=this,n=e.getElement(),i=function e(){setTimeout(function(){t.selecting=!1},50),document.body.removeEventListener("mouseup",e)};e.modules.select={selected:!1},t.table.options.selectableCheck.call(this.table,e.getComponent())?(n.classList.add("tabulator-selectable"),n.classList.remove("tabulator-unselectable"),t.table.options.selectable&&"highlight"!=t.table.options.selectable&&("click"===t.table.options.selectableRangeMode?n.addEventListener("click",function(n){if(n.shiftKey){t.table._clearSelection(),t.lastClickedRow=t.lastClickedRow||e;var i=t.table.rowManager.getDisplayRowIndex(t.lastClickedRow),o=t.table.rowManager.getDisplayRowIndex(e),r=i<=o?i:o,a=i>=o?i:o,s=t.table.rowManager.getDisplayRows().slice(0),c=s.splice(r,a-r+1);n.ctrlKey||n.metaKey?(c.forEach(function(n){n!==t.lastClickedRow&&(!0===t.table.options.selectable||t.isRowSelected(e)?t.toggleRow(n):t.selectedRows.lengtht.table.options.selectable&&(c=c.slice(0,t.table.options.selectable)),t.selectRows(c)),t.table._clearSelection()}else n.ctrlKey||n.metaKey?(t.toggleRow(e),t.lastClickedRow=e):(t.deselectRows(void 0,!0),t.selectRows(e),t.lastClickedRow=e)}):(n.addEventListener("click",function(n){t.table.modExists("edit")&&t.table.modules.edit.getCurrentCell()||t.table._clearSelection(),t.selecting||t.toggleRow(e)}),n.addEventListener("mousedown",function(n){if(n.shiftKey)return t.table._clearSelection(),t.selecting=!0,t.selectPrev=[],document.body.addEventListener("mouseup",i),document.body.addEventListener("keyup",i),t.toggleRow(e),!1}),n.addEventListener("mouseenter",function(n){t.selecting&&(t.table._clearSelection(),t.toggleRow(e),t.selectPrev[1]==e&&t.toggleRow(t.selectPrev[0]))}),n.addEventListener("mouseout",function(n){t.selecting&&(t.table._clearSelection(),t.selectPrev.unshift(e))})))):(n.classList.add("tabulator-unselectable"),n.classList.remove("tabulator-selectable"))},Q.prototype.toggleRow=function(e){this.table.options.selectableCheck.call(this.table,e.getComponent())&&(e.modules.select&&e.modules.select.selected?this._deselectRow(e):this._selectRow(e))},Q.prototype.selectRows=function(e){var t,n=this;switch("undefined"===typeof e?"undefined":r(e)){case"undefined":this.table.rowManager.rows.forEach(function(e){n._selectRow(e,!0,!0)}),this._rowSelectionChanged();break;case"string":t=this.table.rowManager.findRow(e),t?this._selectRow(t,!0,!0):this.table.rowManager.getRows(e).forEach(function(e){n._selectRow(e,!0,!0)}),this._rowSelectionChanged();break;default:Array.isArray(e)?(e.forEach(function(e){n._selectRow(e,!0,!0)}),this._rowSelectionChanged()):this._selectRow(e,!1,!0);break}},Q.prototype._selectRow=function(e,t,n){if(!isNaN(this.table.options.selectable)&&!0!==this.table.options.selectable&&!n&&this.selectedRows.length>=this.table.options.selectable){if(!this.table.options.selectableRollingSelection)return!1;this._deselectRow(this.selectedRows[0])}var i=this.table.rowManager.findRow(e);i?-1==this.selectedRows.indexOf(i)&&(i.getElement().classList.add("tabulator-selected"),i.modules.select||(i.modules.select={}),i.modules.select.selected=!0,i.modules.select.checkboxEl&&(i.modules.select.checkboxEl.checked=!0),this.selectedRows.push(i),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(i,!0),t||this.table.options.rowSelected.call(this.table,i.getComponent()),this._rowSelectionChanged(t)):t||console.warn("Selection Error - No such row found, ignoring selection:"+e)},Q.prototype.isRowSelected=function(e){return-1!==this.selectedRows.indexOf(e)},Q.prototype.deselectRows=function(e,t){var n,i=this;if("undefined"==typeof e){n=i.selectedRows.length;for(var o=0;o-1&&(o.getElement().classList.remove("tabulator-selected"),o.modules.select||(o.modules.select={}),o.modules.select.selected=!1,o.modules.select.checkboxEl&&(o.modules.select.checkboxEl.checked=!1),i.selectedRows.splice(n,1),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(o,!1),t||i.table.options.rowDeselected.call(this.table,o.getComponent()),i._rowSelectionChanged(t))):t||console.warn("Deselection Error - No such row found, ignoring selection:"+e)},Q.prototype.getSelectedData=function(){var e=[];return this.selectedRows.forEach(function(t){e.push(t.getData())}),e},Q.prototype.getSelectedRows=function(){var e=[];return this.selectedRows.forEach(function(t){e.push(t.getComponent())}),e},Q.prototype._rowSelectionChanged=function(e){this.headerCheckboxElement&&(0===this.selectedRows.length?(this.headerCheckboxElement.checked=!1,this.headerCheckboxElement.indeterminate=!1):this.table.rowManager.rows.length===this.selectedRows.length?(this.headerCheckboxElement.checked=!0,this.headerCheckboxElement.indeterminate=!1):(this.headerCheckboxElement.indeterminate=!0,this.headerCheckboxElement.checked=!1)),e||this.table.options.rowSelectionChanged.call(this.table,this.getSelectedData(),this.getSelectedRows())},Q.prototype.registerRowSelectCheckbox=function(e,t){e._row.modules.select||(e._row.modules.select={}),e._row.modules.select.checkboxEl=t},Q.prototype.registerHeaderSelectCheckbox=function(e){this.headerCheckboxElement=e},Q.prototype.childRowSelection=function(e,t){var n=this.table.modules.dataTree.getChildren(e,!0);if(t){var i=n,o=Array.isArray(i),r=0;for(i=o?i:i[Symbol.iterator]();;){var a;if(o){if(r>=i.length)break;a=i[r++]}else{if(r=i.next(),r.done)break;a=r.value}var s=a;this._selectRow(s,!0)}}else{var c=n,l=Array.isArray(c),u=0;for(c=l?c:c[Symbol.iterator]();;){var d;if(l){if(u>=c.length)break;d=c[u++]}else{if(u=c.next(),u.done)break;d=u.value}var h=d;this._deselectRow(h,!0)}}},g.prototype.registerModule("selectRow",Q);var ee=function(e){this.table=e,this.sortList=[],this.changed=!1};ee.prototype.initializeColumn=function(e,t){var n,i,o=this,a=!1;switch(r(e.definition.sorter)){case"string":o.sorters[e.definition.sorter]?a=o.sorters[e.definition.sorter]:console.warn("Sort Error - No such sorter found: ",e.definition.sorter);break;case"function":a=e.definition.sorter;break}e.modules.sort={sorter:a,dir:"none",params:e.definition.sorterParams||{},startingDir:e.definition.headerSortStartingDir||"asc",tristate:"undefined"!==typeof e.definition.headerSortTristate?e.definition.headerSortTristate:this.table.options.headerSortTristate},("undefined"===typeof e.definition.headerSort?!1!==this.table.options.headerSort:!1!==e.definition.headerSort)&&(n=e.getElement(),n.classList.add("tabulator-sortable"),i=document.createElement("div"),i.classList.add("tabulator-col-sorter"),"object"==r(this.table.options.headerSortElement)?i.appendChild(this.table.options.headerSortElement):i.innerHTML=this.table.options.headerSortElement,t.appendChild(i),e.modules.sort.element=i,n.addEventListener("click",function(t){var n="",i=[],r=!1;if(e.modules.sort){if(e.modules.sort.tristate)n="none"==e.modules.sort.dir?e.modules.sort.startingDir:e.modules.sort.dir==e.modules.sort.startingDir?"asc"==e.modules.sort.dir?"desc":"asc":"none";else switch(e.modules.sort.dir){case"asc":n="desc";break;case"desc":n="asc";break;default:n=e.modules.sort.startingDir}o.table.options.columnHeaderSortMulti&&(t.shiftKey||t.ctrlKey)?(i=o.getSort(),r=i.findIndex(function(t){return t.field===e.getField()}),r>-1?(i[r].dir=n,r!=i.length-1&&(r=i.splice(r,1)[0],"none"!=n&&i.push(r))):"none"!=n&&i.push({column:e,dir:n}),o.setSort(i)):"none"==n?o.clear():o.setSort(e,n),o.table.rowManager.sorterRefresh(!o.sortList.length)}}))},ee.prototype.hasChanged=function(){var e=this.changed;return this.changed=!1,e},ee.prototype.getSort=function(){var e=this,t=[];return e.sortList.forEach(function(e){e.column&&t.push({column:e.column.getComponent(),field:e.column.getField(),dir:e.dir})}),t},ee.prototype.setSort=function(e,t){var n=this,i=[];Array.isArray(e)||(e=[{column:e,dir:t}]),e.forEach(function(e){var t;t=n.table.columnManager.findColumn(e.column),t?(e.column=t,i.push(e),n.changed=!0):console.warn("Sort Warning - Sort field does not exist and is being ignored: ",e.column)}),n.sortList=i,this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.sort&&this.table.modules.persistence.save("sort")},ee.prototype.clear=function(){this.setSort([])},ee.prototype.findSorter=function(e){var t,n,i=this.table.rowManager.activeRows[0],o="string";if(i&&(i=i.getData(),t=e.getField(),t))switch(n=e.getFieldValue(i),"undefined"===typeof n?"undefined":r(n)){case"undefined":o="string";break;case"boolean":o="boolean";break;default:isNaN(n)||""===n?n.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(o="alphanum"):o="number";break}return this.sorters[o]},ee.prototype.sort=function(e){var t=this,n=this.table.options.sortOrderReverse?t.sortList.slice().reverse():t.sortList,i=[],o=[];t.table.options.dataSorting&&t.table.options.dataSorting.call(t.table,t.getSort()),t.clearColumnHeaders(),t.table.options.ajaxSorting?n.forEach(function(e,n){t.setColumnHeader(e.column,e.dir)}):(n.forEach(function(e,n){var o=e.column.modules.sort;e.column&&o&&(o.sorter||(o.sorter=t.findSorter(e.column)),e.params="function"===typeof o.params?o.params(e.column.getComponent(),e.dir):o.params,i.push(e)),t.setColumnHeader(e.column,e.dir)}),i.length&&t._sortItems(e,i)),t.table.options.dataSorted&&(e.forEach(function(e){o.push(e.getComponent())}),t.table.options.dataSorted.call(t.table,t.getSort(),o))},ee.prototype.clearColumnHeaders=function(){this.table.columnManager.getRealColumns().forEach(function(e){e.modules.sort&&(e.modules.sort.dir="none",e.getElement().setAttribute("aria-sort","none"))})},ee.prototype.setColumnHeader=function(e,t){e.modules.sort.dir=t,e.getElement().setAttribute("aria-sort",t)},ee.prototype._sortItems=function(e,t){var n=this,i=t.length-1;e.sort(function(e,o){for(var r,a=i;a>=0;a--){var s=t[a];if(r=n._sortRow(e,o,s.column,s.dir,s.params),0!==r)break}return r})},ee.prototype._sortRow=function(e,t,n,i,o){var r,a,s="asc"==i?e:t,c="asc"==i?t:e;return e=n.getFieldValue(s.getData()),t=n.getFieldValue(c.getData()),e="undefined"!==typeof e?e:"",t="undefined"!==typeof t?t:"",r=s.getComponent(),a=c.getComponent(),n.modules.sort.sorter.call(this,e,t,r,a,n.getComponent(),i,o)},ee.prototype.sorters={number:function(e,t,n,i,o,r,a){var s=a.alignEmptyValues,c=a.decimalSeparator,l=a.thousandSeparator,u=0;if(e=String(e),t=String(t),l&&(e=e.split(l).join(""),t=t.split(l).join("")),c&&(e=e.split(c).join("."),t=t.split(c).join(".")),e=parseFloat(e),t=parseFloat(t),isNaN(e))u=isNaN(t)?0:-1;else{if(!isNaN(t))return e-t;u=1}return("top"===s&&"desc"===r||"bottom"===s&&"asc"===r)&&(u*=-1),u},string:function(e,t,n,i,o,a,s){var c,l=s.alignEmptyValues,u=0;if(e){if(t){switch(r(s.locale)){case"boolean":s.locale&&(c=this.table.modules.localize.getLocale());break;case"string":c=s.locale;break}return String(e).toLowerCase().localeCompare(String(t).toLowerCase(),c)}u=1}else u=t?-1:0;return("top"===l&&"desc"===a||"bottom"===l&&"asc"===a)&&(u*=-1),u},date:function(e,t,n,i,o,r,a){return a.format||(a.format="DD/MM/YYYY"),this.sorters.datetime.call(this,e,t,n,i,o,r,a)},time:function(e,t,n,i,o,r,a){return a.format||(a.format="HH:mm"),this.sorters.datetime.call(this,e,t,n,i,o,r,a)},datetime:function(e,t,n,i,o,r,a){var s=a.format||"DD/MM/YYYY HH:mm:ss",c=a.alignEmptyValues,l=0;if("undefined"!=typeof moment){if(e=moment(e,s),t=moment(t,s),e.isValid()){if(t.isValid())return e-t;l=1}else l=t.isValid()?-1:0;return("top"===c&&"desc"===r||"bottom"===c&&"asc"===r)&&(l*=-1),l}console.error("Sort Error - 'datetime' sorter is dependant on moment.js")},boolean:function(e,t,n,i,o,r,a){var s=!0===e||"true"===e||"True"===e||1===e?1:0,c=!0===t||"true"===t||"True"===t||1===t?1:0;return s-c},array:function(e,t,n,i,o,r,a){var s=0,c=0,l=a.type||"length",u=a.alignEmptyValues,d=0;function h(e){switch(l){case"length":return e.length;case"sum":return e.reduce(function(e,t){return e+t});case"max":return Math.max.apply(null,e);case"min":return Math.min.apply(null,e);case"avg":return e.reduce(function(e,t){return e+t})/e.length}}if(Array.isArray(e)){if(Array.isArray(t))return s=e?h(e):0,c=t?h(t):0,s-c;u=1}else u=Array.isArray(t)?-1:0;return("top"===u&&"desc"===r||"bottom"===u&&"asc"===r)&&(d*=-1),d},exists:function(e,t,n,i,o,r,a){var s="undefined"==typeof e?0:1,c="undefined"==typeof t?0:1;return s-c},alphanum:function(e,t,n,i,o,r,a){var s,c,l,u,d,h=0,p=/(\d+)|(\D+)/g,f=/\d/,m=a.alignEmptyValues,g=0;if(e||0===e){if(t||0===t){if(isFinite(e)&&isFinite(t))return e-t;if(s=String(e).toLowerCase(),c=String(t).toLowerCase(),s===c)return 0;if(!f.test(s)||!f.test(c))return s>c?1:-1;s=s.match(p),c=c.match(p),d=s.length>c.length?c.length:s.length;while(hu?1:-1;return s.length>c.length}g=1}else g=t||0===t?-1:0;return("top"===m&&"desc"===r||"bottom"===m&&"asc"===r)&&(g*=-1),g}},g.prototype.registerModule("sort",ee);var te=function(e){this.table=e,this.invalidCells=[]};te.prototype.initializeColumn=function(e){var t,n=this,i=[];e.definition.validator&&(Array.isArray(e.definition.validator)?e.definition.validator.forEach(function(e){t=n._extractValidator(e),t&&i.push(t)}):(t=this._extractValidator(e.definition.validator),t&&i.push(t)),e.modules.validate=!!i.length&&i)},te.prototype._extractValidator=function(e){var t,n,i;switch("undefined"===typeof e?"undefined":r(e)){case"string":return i=e.indexOf(":"),i>-1?(t=e.substring(0,i),n=e.substring(i+1)):t=e,this._buildValidator(t,n);case"function":return this._buildValidator(e);case"object":return this._buildValidator(e.type,e.parameters)}},te.prototype._buildValidator=function(e,t){var n="function"==typeof e?e:this.validators[e];return n?{type:"function"==typeof e?"function":e,func:n,params:t}:(console.warn("Validator Setup Error - No matching validator found:",e),!1)},te.prototype.validate=function(e,t,n){var i=this,o=[],r=this.invalidCells.indexOf(t);return e&&e.forEach(function(e){e.func.call(i,t.getComponent(),n,e.params)||o.push({type:e.type,parameters:e.params})}),o=!o.length||o,t.modules.validate||(t.modules.validate={}),!0===o?(t.modules.validate.invalid=!1,t.getElement().classList.remove("tabulator-validation-fail"),r>-1&&this.invalidCells.splice(r,1)):(t.modules.validate.invalid=!0,"manual"!==this.table.options.validationMode&&t.getElement().classList.add("tabulator-validation-fail"),-1==r&&this.invalidCells.push(t)),o},te.prototype.getInvalidCells=function(){var e=[];return this.invalidCells.forEach(function(t){e.push(t.getComponent())}),e},te.prototype.clearValidation=function(e){var t;e.modules.validate&&e.modules.validate.invalid&&(e.getElement().classList.remove("tabulator-validation-fail"),e.modules.validate.invalid=!1,t=this.invalidCells.indexOf(e),t>-1&&this.invalidCells.splice(t,1))},te.prototype.validators={integer:function(e,t,n){return""===t||null===t||"undefined"===typeof t||(t=Number(t),"number"===typeof t&&isFinite(t)&&Math.floor(t)===t)},float:function(e,t,n){return""===t||null===t||"undefined"===typeof t||(t=Number(t),"number"===typeof t&&isFinite(t)&&t%1!==0)},numeric:function(e,t,n){return""===t||null===t||"undefined"===typeof t||!isNaN(t)},string:function(e,t,n){return""===t||null===t||"undefined"===typeof t||isNaN(t)},max:function(e,t,n){return""===t||null===t||"undefined"===typeof t||parseFloat(t)<=n},min:function(e,t,n){return""===t||null===t||"undefined"===typeof t||parseFloat(t)>=n},starts:function(e,t,n){return""===t||null===t||"undefined"===typeof t||String(t).toLowerCase().startsWith(String(n).toLowerCase())},ends:function(e,t,n){return""===t||null===t||"undefined"===typeof t||String(t).toLowerCase().endsWith(String(n).toLowerCase())},minLength:function(e,t,n){return""===t||null===t||"undefined"===typeof t||String(t).length>=n},maxLength:function(e,t,n){return""===t||null===t||"undefined"===typeof t||String(t).length<=n},in:function(e,t,n){return""===t||null===t||"undefined"===typeof t||("string"==typeof n&&(n=n.split("|")),""===t||n.indexOf(t)>-1)},regex:function(e,t,n){if(""===t||null===t||"undefined"===typeof t)return!0;var i=new RegExp(n);return i.test(t)},unique:function(e,t,n){if(""===t||null===t||"undefined"===typeof t)return!0;var i=!0,o=e.getData(),r=e.getColumn()._getSelf();return this.table.rowManager.rows.forEach(function(e){var n=e.getData();n!==o&&t==r.getFieldValue(n)&&(i=!1)}),i},required:function(e,t,n){return""!==t&&null!==t&&"undefined"!==typeof t}},g.prototype.registerModule("validate",te),n["a"]=g},e34e:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("cf81"),o=function(){function e(e){this._binding=e}return e.prototype.onActivation=function(e){return this._binding.onActivation=e,new i.BindingWhenSyntax(this._binding)},e}();t.BindingOnSyntax=o},e372:function(e,t,n){t=e.exports=n("ad71"),t.Stream=t,t.Readable=t,t.Writable=n("dc14"),t.Duplex=n("b19a"),t.Transform=n("27bf"),t.PassThrough=n("780f")},e3cd:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});return t})},e445:function(e,t,n){},e45b:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),a=n("3a92"),s=n("7f73"),c=n("e45b"),l=n("dd02"),u=n("66f9"),d=n("3585"),h=n("168d"),p=function(){function e(){}return e.prototype.decorate=function(e,t){if(s.isDecoration(t)){var n=this.getPosition(t),i="translate("+n.x+", "+n.y+")";c.setAttr(e,"transform",i)}return e},e.prototype.getPosition=function(e){if(e instanceof a.SChildElement&&e.parent instanceof d.SRoutableElement){var t=this.edgeRouterRegistry.get(e.parent.routerKind),n=t.route(e.parent);if(n.length>1){var i=Math.floor(.5*(n.length-1)),o=u.isSizeable(e)?{x:-.5*e.bounds.width,y:-.5*e.bounds.width}:l.ORIGIN_POINT;return{x:.5*(n[i].x+n[i+1].x)+o.x,y:.5*(n[i].y+n[i+1].y)+o.y}}}return u.isSizeable(e)?{x:-.666*e.bounds.width,y:-.666*e.bounds.height}:l.ORIGIN_POINT},e.prototype.postUpdate=function(){},i([r.inject(h.EdgeRouterRegistry),o("design:type",h.EdgeRouterRegistry)],e.prototype,"edgeRouterRegistry",void 0),e=i([r.injectable()],e),e}();t.DecorationPlacer=p},e5a7:function(e,t,n){},e5be:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:6}});return t})},e629:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){this.startFn=e,this.nextFn=t}return e.prototype[Symbol.iterator]=function(){var e,t=this,n=(e={state:this.startFn(),next:function(){return t.nextFn(n.state)}},e[Symbol.iterator]=function(){return n},e);return n},e.prototype.filter=function(e){return r(this,e)},e.prototype.map=function(e){return a(this,e)},e.prototype.forEach=function(e){var t,n=this[Symbol.iterator](),i=0;do{t=n.next(),void 0!==t.value&&e(t.value,i),i++}while(!t.done)},e.prototype.indexOf=function(e){var t,n=this[Symbol.iterator](),i=0;do{if(t=n.next(),t.value===e)return i;i++}while(!t.done);return-1},e}();function o(e){if(e.constructor===Array)return e;var t=[];return e.forEach(function(e){return t.push(e)}),t}function r(e,t){return new i(function(){return s(e)},function(e){var n;do{n=e.next()}while(!n.done&&!t(n.value));return n})}function a(e,n){return new i(function(){return s(e)},function(e){var i=e.next(),o=i.done,r=i.value;return o?t.DONE_RESULT:{done:!1,value:n(r)}})}function s(e){var n=e[Symbol.iterator];if("function"===typeof n)return n.call(e);var i=e.length;return"number"===typeof i&&i>=0?new c(e):{next:function(){return t.DONE_RESULT}}}t.FluentIterableImpl=i,t.toArray=o,t.DONE_RESULT=Object.freeze({done:!0,value:void 0}),t.filterIterable=r,t.mapIterable=a;var c=function(){function e(e){this.array=e,this.index=0}return e.prototype.next=function(){return this.index=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),a=n("c146"),s=n("3a92"),c=n("e45b"),l=n("7d36"),u=function(e){function t(t,n,i,o){void 0===o&&(o=!1);var r=e.call(this,i)||this;return r.model=t,r.elementFades=n,r.removeAfterFadeOut=o,r}return i(t,e),t.prototype.tween=function(e,t){for(var n=0,i=this.elementFades;n=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("dd02"),c=n("b669"),l=n("3a92"),u=n("9757"),d=n("1417"),h=n("66f9"),p=n("4c18"),f=n("c444"),m=n("5eb6"),g=n("e1c6"),v=n("6923"),_=function(){function e(t,n,i){void 0===n&&(n=!0),void 0===i&&(i=!1),this.elementIds=t,this.animate=n,this.retainZoom=i,this.kind=e.KIND}return e.KIND="center",e}();t.CenterAction=_;var b=function(){function e(t,n,i,o){void 0===o&&(o=!0),this.elementIds=t,this.padding=n,this.maxZoom=i,this.animate=o,this.kind=e.KIND}return e.KIND="fit",e}();t.FitToScreenAction=b;var y=function(e){function t(t){var n=e.call(this)||this;return n.animate=t,n}return i(t,e),t.prototype.initialize=function(e){var t=this;if(m.isViewport(e)){this.oldViewport={scroll:e.scroll,zoom:e.zoom};var n=[];if(this.getElementIds().forEach(function(i){var o=e.index.getById(i);o&&h.isBoundsAware(o)&&n.push(t.boundsInViewport(o,o.bounds,e))}),0===n.length&&e.index.all().forEach(function(i){p.isSelectable(i)&&i.selected&&h.isBoundsAware(i)&&n.push(t.boundsInViewport(i,i.bounds,e))}),0===n.length&&e.index.all().forEach(function(i){h.isBoundsAware(i)&&n.push(t.boundsInViewport(i,i.bounds,e))}),0!==n.length){var i=n.reduce(function(e,t){return s.combine(e,t)});s.isValidDimension(i)&&(this.newViewport=this.getNewViewport(i,e))}}},t.prototype.boundsInViewport=function(e,t,n){return e instanceof l.SChildElement&&e.parent!==n?this.boundsInViewport(e.parent,e.parent.localToParent(t),n):t},t.prototype.execute=function(e){return this.initialize(e.root),this.redo(e)},t.prototype.undo=function(e){var t=e.root;if(m.isViewport(t)&&void 0!==this.newViewport&&!this.equal(this.newViewport,this.oldViewport)){if(this.animate)return new f.ViewportAnimation(t,this.newViewport,this.oldViewport,e).start();t.scroll=this.oldViewport.scroll,t.zoom=this.oldViewport.zoom}return t},t.prototype.redo=function(e){var t=e.root;if(m.isViewport(t)&&void 0!==this.newViewport&&!this.equal(this.newViewport,this.oldViewport)){if(this.animate)return new f.ViewportAnimation(t,this.oldViewport,this.newViewport,e).start();t.scroll=this.newViewport.scroll,t.zoom=this.newViewport.zoom}return t},t.prototype.equal=function(e,t){return e.zoom===t.zoom&&e.scroll.x===t.scroll.x&&e.scroll.y===t.scroll.y},t=o([g.injectable(),r("design:paramtypes",[Boolean])],t),t}(u.Command);t.BoundsAwareViewportCommand=y;var M=function(e){function t(t){var n=e.call(this,t.animate)||this;return n.action=t,n}return i(t,e),t.prototype.getElementIds=function(){return this.action.elementIds},t.prototype.getNewViewport=function(e,t){if(s.isValidDimension(t.canvasBounds)){var n=this.action.retainZoom&&m.isViewport(t)?t.zoom:1,i=s.center(e);return{scroll:{x:i.x-.5*t.canvasBounds.width/n,y:i.y-.5*t.canvasBounds.height/n},zoom:n}}},t.KIND=_.KIND,t=o([a(0,g.inject(v.TYPES.Action)),r("design:paramtypes",[_])],t),t}(y);t.CenterCommand=M;var w=function(e){function t(t){var n=e.call(this,t.animate)||this;return n.action=t,n}return i(t,e),t.prototype.getElementIds=function(){return this.action.elementIds},t.prototype.getNewViewport=function(e,t){if(s.isValidDimension(t.canvasBounds)){var n=s.center(e),i=void 0===this.action.padding?0:2*this.action.padding,o=Math.min(t.canvasBounds.width/(e.width+i),t.canvasBounds.height/(e.height+i));return void 0!==this.action.maxZoom&&(o=Math.min(o,this.action.maxZoom)),o===1/0&&(o=1),{scroll:{x:n.x-.5*t.canvasBounds.width/o,y:n.y-.5*t.canvasBounds.height/o},zoom:o}}},t.KIND=b.KIND,t=o([a(0,g.inject(v.TYPES.Action)),r("design:paramtypes",[b])],t),t}(y);t.FitToScreenCommand=w;var L=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.keyDown=function(e,t){return c.matchesKeystroke(t,"KeyC","ctrlCmd","shift")?[new _([])]:c.matchesKeystroke(t,"KeyF","ctrlCmd","shift")?[new b([])]:[]},t}(d.KeyListener);t.CenterKeyboardListener=L},edad:function(e,t,n){"use strict";var i=n("c51d"),o=n.n(i);o.a},ee16:function(e,t,n){e.exports=n("bafd")},efc5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.multiBindToService=function(e){return function(t){return function(){for(var n=[],i=0;i=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,i){var o={ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===i?n?"хвилина":"хвилину":"h"===i?n?"година":"годину":e+" "+t(o[i],+e)}function i(e,t){var n,i={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?i["nominative"].slice(1,7).concat(i["nominative"].slice(0,1)):e?(n=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative",i[n][e.day()]):i["nominative"]}function o(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var r=e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:i,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:o("[Сьогодні "),nextDay:o("[Завтра "),lastDay:o("[Вчора "),nextWeek:o("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return o("[Минулої] dddd [").call(this);case 1:case 2:case 4:return o("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:n,m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});return r})},f00a:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function i(e,t,n,i){var o="";if(t)switch(n){case"s":o="काही सेकंद";break;case"ss":o="%d सेकंद";break;case"m":o="एक मिनिट";break;case"mm":o="%d मिनिटे";break;case"h":o="एक तास";break;case"hh":o="%d तास";break;case"d":o="एक दिवस";break;case"dd":o="%d दिवस";break;case"M":o="एक महिना";break;case"MM":o="%d महिने";break;case"y":o="एक वर्ष";break;case"yy":o="%d वर्षे";break}else switch(n){case"s":o="काही सेकंदां";break;case"ss":o="%d सेकंदां";break;case"m":o="एका मिनिटा";break;case"mm":o="%d मिनिटां";break;case"h":o="एका तासा";break;case"hh":o="%d तासां";break;case"d":o="एका दिवसा";break;case"dd":o="%d दिवसां";break;case"M":o="एका महिन्या";break;case"MM":o="%d महिन्यां";break;case"y":o="एका वर्षा";break;case"yy":o="%d वर्षां";break}return o.replace(/%d/i,e)}var o=e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return o})},f119:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_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|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t})},f164:function(e,t,n){"use strict";var i=n("71d9"),o=n.n(i);o.a},f1ae:function(e,t,n){"use strict";var i=n("86cc"),o=n("4630");e.exports=function(e,t,n){t in e?i.f(e,t,o(0,n)):e[t]=n}},f257:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,r=e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"});return r})},f2e8:function(e,t,n){var i=n("34eb")("jsonp");e.exports=a;var o=0;function r(){}function a(e,t,n){"function"==typeof t&&(n=t,t={}),t||(t={});var a,s,c=t.prefix||"__jp",l=t.name||c+o++,u=t.param||"callback",d=null!=t.timeout?t.timeout:6e4,h=encodeURIComponent,p=document.getElementsByTagName("script")[0]||document.head;function f(){a.parentNode&&a.parentNode.removeChild(a),window[l]=r,s&&clearTimeout(s)}function m(){window[l]&&f()}return d&&(s=setTimeout(function(){f(),n&&n(new Error("Timeout"))},d)),window[l]=function(e){i("jsonp got",e),f(),n&&n(null,e)},e+=(~e.indexOf("?")?"&":"?")+u+"="+h(l),e=e.replace("?&","?"),i('jsonp req "%s"',e),a=document.createElement("script"),a.src=e,p.parentNode.insertBefore(a,p),m}},f30e:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"})},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20===0||e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});return t})},f333:function(e,t,n){(function(e){var t;//! moment.js +//! version : 2.29.1 +//! authors : Tim Wood, Iskren Chernev, Moment.js contributors +//! license : MIT +//! momentjs.com +(function(t,n){e.exports=n()})(0,function(){"use strict";var i,o;function r(){return i.apply(null,arguments)}function a(e){i=e}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function c(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(l(e,t))return!1;return!0}function d(e){return void 0===e}function h(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function p(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,i=[];for(n=0;n>>0;for(t=0;t0)for(n=0;n=0;return(r?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+i}var B=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,j=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Y={},H={};function W(e,t,n,i){var o=i;"string"===typeof i&&(o=function(){return this[i]()}),e&&(H[e]=o),t&&(H[t[0]]=function(){return I(o.apply(this,arguments),t[1],t[2])}),n&&(H[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function q(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function F(e){var t,n,i=e.match(B);for(t=0,n=i.length;t=0&&j.test(e))e=e.replace(j,i),j.lastIndex=0,n-=1;return e}var V={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function G(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(B).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])}var K="Invalid date";function $(){return this._invalidDate}var J="%d",Z=/\d{1,2}/;function Q(e){return this._ordinal.replace("%d",e)}var ee={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function te(e,t,n,i){var o=this._relativeTime[n];return x(o)?o(e,t,n,i):o.replace(/%d/i,e)}function ne(e,t){var n=this._relativeTime[e>0?"future":"past"];return x(n)?n(t):n.replace(/%s/i,t)}var ie={};function oe(e,t){var n=e.toLowerCase();ie[n]=ie[n+"s"]=ie[t]=e}function re(e){return"string"===typeof e?ie[e]||ie[e.toLowerCase()]:void 0}function ae(e){var t,n,i={};for(n in e)l(e,n)&&(t=re(n),t&&(i[t]=e[n]));return i}var se={};function ce(e,t){se[e]=t}function le(e){var t,n=[];for(t in e)l(e,t)&&n.push({unit:t,priority:se[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}function ue(e){return e%4===0&&e%100!==0||e%400===0}function de(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function he(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=de(t)),n}function pe(e,t){return function(n){return null!=n?(me(this,e,n),r.updateOffset(this,t),this):fe(this,e)}}function fe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=he(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),tt(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ge(e){return e=re(e),x(this[e])?this[e]():this}function ve(e,t){if("object"===typeof e){e=ae(e);var n,i=le(e);for(n=0;n68?1900:2e3)};var _t=pe("FullYear",!0);function bt(){return ue(this.year())}function yt(e,t,n,i,o,r,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,i,o,r,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,o,r,a),s}function Mt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function wt(e,t,n){var i=7+t-n,o=(7+Mt(e,0,i).getUTCDay()-t)%7;return-o+i-1}function Lt(e,t,n,i,o){var r,a,s=(7+n-i)%7,c=wt(e,i,o),l=1+7*(t-1)+s+c;return l<=0?(r=e-1,a=vt(r)+l):l>vt(e)?(r=e+1,a=l-vt(e)):(r=e,a=l),{year:r,dayOfYear:a}}function St(e,t,n){var i,o,r=wt(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?(o=e.year()-1,i=a+Ct(o,t,n)):a>Ct(e.year(),t,n)?(i=a-Ct(e.year(),t,n),o=e.year()+1):(o=e.year(),i=a),{week:i,year:o}}function Ct(e,t,n){var i=wt(e,t,n),o=wt(e+1,t,n);return(vt(e)-i+o)/7}function Et(e){return St(e,this._week.dow,this._week.doy).week}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),oe("week","w"),oe("isoWeek","W"),ce("week",5),ce("isoWeek",5),Ne("w",Se),Ne("ww",Se,ye),Ne("W",Se),Ne("WW",Se,ye),We(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=he(e)});var At={dow:0,doy:6};function Tt(){return this._week.dow}function Ot(){return this._week.doy}function kt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function xt(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Dt(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function Rt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function zt(e,t){return e.slice(t,7).concat(e.slice(0,t))}W("d",0,"do","day"),W("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),W("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),W("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),oe("day","d"),oe("weekday","e"),oe("isoWeekday","E"),ce("day",11),ce("weekday",11),ce("isoWeekday",11),Ne("d",Se),Ne("e",Se),Ne("E",Se),Ne("dd",function(e,t){return t.weekdaysMinRegex(e)}),Ne("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Ne("dddd",function(e,t){return t.weekdaysRegex(e)}),We(["dd","ddd","dddd"],function(e,t,n,i){var o=n._locale.weekdaysParse(e,i,n._strict);null!=o?t.d=o:_(n).invalidWeekday=e}),We(["d","e","E"],function(e,t,n,i){t[i]=he(e)});var Pt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Nt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),It="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Bt=Pe,jt=Pe,Yt=Pe;function Ht(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?zt(n,this._week.dow):e?n[e.day()]:n}function Wt(e){return!0===e?zt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function qt(e){return!0===e?zt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ft(e,t,n){var i,o,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=g([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?(o=Fe.call(this._weekdaysParse,a),-1!==o?o:null):"ddd"===t?(o=Fe.call(this._shortWeekdaysParse,a),-1!==o?o:null):(o=Fe.call(this._minWeekdaysParse,a),-1!==o?o:null):"dddd"===t?(o=Fe.call(this._weekdaysParse,a),-1!==o?o:(o=Fe.call(this._shortWeekdaysParse,a),-1!==o?o:(o=Fe.call(this._minWeekdaysParse,a),-1!==o?o:null))):"ddd"===t?(o=Fe.call(this._shortWeekdaysParse,a),-1!==o?o:(o=Fe.call(this._weekdaysParse,a),-1!==o?o:(o=Fe.call(this._minWeekdaysParse,a),-1!==o?o:null))):(o=Fe.call(this._minWeekdaysParse,a),-1!==o?o:(o=Fe.call(this._weekdaysParse,a),-1!==o?o:(o=Fe.call(this._shortWeekdaysParse,a),-1!==o?o:null)))}function Xt(e,t,n){var i,o,r;if(this._weekdaysParseExact)return Ft.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(o=g([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Dt(e,this.localeData()),this.add(e-t,"d")):t}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Gt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Rt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Kt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Bt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function $t(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=jt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Jt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function e(e,t){return t.length-e.length}var t,n,i,o,r,a=[],s=[],c=[],l=[];for(t=0;t<7;t++)n=g([2e3,1]).day(t),i=je(this.weekdaysMin(n,"")),o=je(this.weekdaysShort(n,"")),r=je(this.weekdays(n,"")),a.push(i),s.push(o),c.push(r),l.push(i),l.push(o),l.push(r);a.sort(e),s.sort(e),c.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qt(){return this.hours()%12||12}function en(){return this.hours()||24}function tn(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function nn(e,t){return t._meridiemParse}function on(e){return"p"===(e+"").toLowerCase().charAt(0)}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Qt),W("k",["kk",2],0,en),W("hmm",0,0,function(){return""+Qt.apply(this)+I(this.minutes(),2)}),W("hmmss",0,0,function(){return""+Qt.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+I(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)}),tn("a",!0),tn("A",!1),oe("hour","h"),ce("hour",13),Ne("a",nn),Ne("A",nn),Ne("H",Se),Ne("h",Se),Ne("k",Se),Ne("HH",Se,ye),Ne("hh",Se,ye),Ne("kk",Se,ye),Ne("hmm",Ce),Ne("hmmss",Ee),Ne("Hmm",Ce),Ne("Hmmss",Ee),He(["H","HH"],Ge),He(["k","kk"],function(e,t,n){var i=he(e);t[Ge]=24===i?0:i}),He(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),He(["h","hh"],function(e,t,n){t[Ge]=he(e),_(n).bigHour=!0}),He("hmm",function(e,t,n){var i=e.length-2;t[Ge]=he(e.substr(0,i)),t[Ke]=he(e.substr(i)),_(n).bigHour=!0}),He("hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;t[Ge]=he(e.substr(0,i)),t[Ke]=he(e.substr(i,2)),t[$e]=he(e.substr(o)),_(n).bigHour=!0}),He("Hmm",function(e,t,n){var i=e.length-2;t[Ge]=he(e.substr(0,i)),t[Ke]=he(e.substr(i))}),He("Hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;t[Ge]=he(e.substr(0,i)),t[Ke]=he(e.substr(i,2)),t[$e]=he(e.substr(o))});var rn=/[ap]\.?m?\.?/i,an=pe("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var cn,ln={calendar:P,longDateFormat:V,invalidDate:K,ordinal:J,dayOfMonthOrdinalParse:Z,relativeTime:ee,months:nt,monthsShort:it,week:At,weekdays:Pt,weekdaysMin:It,weekdaysShort:Nt,meridiemParse:rn},un={},dn={};function hn(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n0){if(i=mn(o.slice(0,t).join("-")),i)return i;if(n&&n.length>=t&&hn(o,n)>=t-1)break;t--}r++}return cn}function mn(i){var o=null;if(void 0===un[i]&&"undefined"!==typeof e&&e&&e.exports)try{o=cn._abbr,t,n("2174")("./"+i),gn(o)}catch(e){un[i]=null}return un[i]}function gn(e,t){var n;return e&&(n=d(t)?bn(e):vn(e,t),n?cn=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),cn._abbr}function vn(e,t){if(null!==t){var n,i=ln;if(t.abbr=e,null!=un[e])k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=un[e]._config;else if(null!=t.parentLocale)if(null!=un[t.parentLocale])i=un[t.parentLocale]._config;else{if(n=mn(t.parentLocale),null==n)return dn[t.parentLocale]||(dn[t.parentLocale]=[]),dn[t.parentLocale].push({name:e,config:t}),null;i=n._config}return un[e]=new z(R(i,t)),dn[e]&&dn[e].forEach(function(e){vn(e.name,e.config)}),gn(e),un[e]}return delete un[e],null}function _n(e,t){if(null!=t){var n,i,o=ln;null!=un[e]&&null!=un[e].parentLocale?un[e].set(R(un[e]._config,t)):(i=mn(e),null!=i&&(o=i._config),t=R(o,t),null==i&&(t.abbr=e),n=new z(t),n.parentLocale=un[e],un[e]=n),gn(e)}else null!=un[e]&&(null!=un[e].parentLocale?(un[e]=un[e].parentLocale,e===gn()&&gn(e)):null!=un[e]&&delete un[e]);return un[e]}function bn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return cn;if(!s(e)){if(t=mn(e),t)return t;e=[e]}return fn(e)}function yn(){return T(un)}function Mn(e){var t,n=e._a;return n&&-2===_(e).overflow&&(t=n[Ue]<0||n[Ue]>11?Ue:n[Ve]<1||n[Ve]>tt(n[Xe],n[Ue])?Ve:n[Ge]<0||n[Ge]>24||24===n[Ge]&&(0!==n[Ke]||0!==n[$e]||0!==n[Je])?Ge:n[Ke]<0||n[Ke]>59?Ke:n[$e]<0||n[$e]>59?$e:n[Je]<0||n[Je]>999?Je:-1,_(e)._overflowDayOfYear&&(tVe)&&(t=Ve),_(e)._overflowWeeks&&-1===t&&(t=Ze),_(e)._overflowWeekday&&-1===t&&(t=Qe),_(e).overflow=t),e}var wn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ln=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/Z|[+-]\d\d(?::?\d\d)?/,Cn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],En=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],An=/^\/?Date\((-?\d+)/i,Tn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,On={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function kn(e){var t,n,i,o,r,a,s=e._i,c=wn.exec(s)||Ln.exec(s);if(c){for(_(e).iso=!0,t=0,n=Cn.length;tvt(r)||0===e._dayOfYear)&&(_(e)._overflowDayOfYear=!0),n=Mt(r,0,e._dayOfYear),e._a[Ue]=n.getUTCMonth(),e._a[Ve]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=i[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ge]&&0===e._a[Ke]&&0===e._a[$e]&&0===e._a[Je]&&(e._nextDay=!0,e._a[Ge]=0),e._d=(e._useUTC?Mt:yt).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ge]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==o&&(_(e).weekdayMismatch=!0)}}function Hn(e){var t,n,i,o,r,a,s,c,l;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(r=1,a=4,n=Bn(t.GG,e._a[Xe],St($n(),1,4).year),i=Bn(t.W,1),o=Bn(t.E,1),(o<1||o>7)&&(c=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,l=St($n(),r,a),n=Bn(t.gg,e._a[Xe],l.year),i=Bn(t.w,l.week),null!=t.d?(o=t.d,(o<0||o>6)&&(c=!0)):null!=t.e?(o=t.e+r,(t.e<0||t.e>6)&&(c=!0)):o=r),i<1||i>Ct(n,r,a)?_(e)._overflowWeeks=!0:null!=c?_(e)._overflowWeekday=!0:(s=Lt(n,i,o,r,a),e._a[Xe]=s.year,e._dayOfYear=s.dayOfYear)}function Wn(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],_(e).empty=!0;var t,n,i,o,a,s,c=""+e._i,l=c.length,u=0;for(i=U(e._f,e._locale).match(B)||[],t=0;t0&&_(e).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),u+=n.length),H[o]?(n?_(e).empty=!1:_(e).unusedTokens.push(o),qe(o,n,e)):e._strict&&!n&&_(e).unusedTokens.push(o);_(e).charsLeftOver=l-u,c.length>0&&_(e).unusedInput.push(c),e._a[Ge]<=12&&!0===_(e).bigHour&&e._a[Ge]>0&&(_(e).bigHour=void 0),_(e).parsedDateParts=e._a.slice(0),_(e).meridiem=e._meridiem,e._a[Ge]=qn(e._locale,e._a[Ge],e._meridiem),s=_(e).era,null!==s&&(e._a[Xe]=e._locale.erasConvertYear(s,e._a[Xe])),Yn(e),Mn(e)}else Nn(e);else kn(e)}function qn(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(i=e.isPM(n),i&&t<12&&(t+=12),i||12!==t||(t=0),t):t}function Fn(e){var t,n,i,o,r,a,s=!1;if(0===e._f.length)return _(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;othis?this:e:y()});function Qn(e,t){var n,i;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return $n();for(n=t[0],i=1;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Li(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,t={};return L(t,this),t=Vn(t),t._a?(e=t._isUTC?g(t._a):$n(t._a),this._isDSTShifted=this.isValid()&&ui(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Si(){return!!this.isValid()&&!this._isUTC}function Ci(){return!!this.isValid()&&this._isUTC}function Ei(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}r.updateOffset=function(){};var Ai=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ti=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Oi(e,t){var n,i,o,r=e,a=null;return ci(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:h(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(a=Ai.exec(e))?(n="-"===a[1]?-1:1,r={y:0,d:he(a[Ve])*n,h:he(a[Ge])*n,m:he(a[Ke])*n,s:he(a[$e])*n,ms:he(li(1e3*a[Je]))*n}):(a=Ti.exec(e))?(n="-"===a[1]?-1:1,r={y:ki(a[2],n),M:ki(a[3],n),w:ki(a[4],n),d:ki(a[5],n),h:ki(a[6],n),m:ki(a[7],n),s:ki(a[8],n)}):null==r?r={}:"object"===typeof r&&("from"in r||"to"in r)&&(o=Di($n(r.from),$n(r.to)),r={},r.ms=o.milliseconds,r.M=o.months),i=new si(r),ci(e)&&l(e,"_locale")&&(i._locale=e._locale),ci(e)&&l(e,"_isValid")&&(i._isValid=e._isValid),i}function ki(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function xi(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Di(e,t){var n;return e.isValid()&&t.isValid()?(t=fi(t,e),e.isBefore(t)?n=xi(e,t):(n=xi(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ri(e,t){return function(n,i){var o,r;return null===i||isNaN(+i)||(k(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),o=Oi(n,i),zi(this,o,e),this}}function zi(e,t,n,i){var o=t._milliseconds,a=li(t._days),s=li(t._months);e.isValid()&&(i=null==i||i,s&&dt(e,fe(e,"Month")+s*n),a&&me(e,"Date",fe(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,a||s))}Oi.fn=si.prototype,Oi.invalid=ai;var Pi=Ri(1,"add"),Ni=Ri(-1,"subtract");function Ii(e){return"string"===typeof e||e instanceof String}function Bi(e){return C(e)||p(e)||Ii(e)||h(e)||Yi(e)||ji(e)||null===e||void 0===e}function ji(e){var t,n,i=c(e)&&!u(e),o=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;tn.valueOf():n.valueOf()9999?X(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",X(n,"Z")):X(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function to(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i,o="moment",r="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=r+'[")]',this.format(e+t+n+i)}function no(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=X(this,e);return this.localeData().postformat(t)}function io(e,t){return this.isValid()&&(C(e)&&e.isValid()||$n(e).isValid())?Oi({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oo(e){return this.from($n(),e)}function ro(e,t){return this.isValid()&&(C(e)&&e.isValid()||$n(e).isValid())?Oi({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ao(e){return this.to($n(),e)}function so(e){var t;return void 0===e?this._locale._abbr:(t=bn(e),null!=t&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var co=A("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function lo(){return this._locale}var uo=1e3,ho=60*uo,po=60*ho,fo=3506328*po;function mo(e,t){return(e%t+t)%t}function go(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fo:new Date(e,t,n).valueOf()}function vo(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fo:Date.UTC(e,t,n)}function _o(e){var t,n;if(e=re(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vo:go,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=mo(t+(this._isUTC?0:this.utcOffset()*ho),po);break;case"minute":t=this._d.valueOf(),t-=mo(t,ho);break;case"second":t=this._d.valueOf(),t-=mo(t,uo);break}return this._d.setTime(t),r.updateOffset(this,!0),this}function bo(e){var t,n;if(e=re(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vo:go,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=po-mo(t+(this._isUTC?0:this.utcOffset()*ho),po)-1;break;case"minute":t=this._d.valueOf(),t+=ho-mo(t,ho)-1;break;case"second":t=this._d.valueOf(),t+=uo-mo(t,uo)-1;break}return this._d.setTime(t),r.updateOffset(this,!0),this}function yo(){return this._d.valueOf()-6e4*(this._offset||0)}function Mo(){return Math.floor(this.valueOf()/1e3)}function wo(){return new Date(this.valueOf())}function Lo(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function So(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Co(){return this.isValid()?this.toISOString():null}function Eo(){return b(this)}function Ao(){return m({},_(this))}function To(){return _(this).overflow}function Oo(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function ko(e,t){var n,i,o,a=this._eras||bn("en")._eras;for(n=0,i=a.length;n=0)return c[i]}function Do(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Ro(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;er&&(t=r),Qo.call(this,e,t,n,i,o))}function Qo(e,t,n,i,o){var r=Lt(e,t,n,i,o),a=Mt(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function er(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}W("N",0,0,"eraAbbr"),W("NN",0,0,"eraAbbr"),W("NNN",0,0,"eraAbbr"),W("NNNN",0,0,"eraName"),W("NNNNN",0,0,"eraNarrow"),W("y",["y",1],"yo","eraYear"),W("y",["yy",2],0,"eraYear"),W("y",["yyy",3],0,"eraYear"),W("y",["yyyy",4],0,"eraYear"),Ne("N",Yo),Ne("NN",Yo),Ne("NNN",Yo),Ne("NNNN",Ho),Ne("NNNNN",Wo),He(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){var o=n._locale.erasParse(e,i,n._strict);o?_(n).era=o:_(n).invalidEra=e}),Ne("y",ke),Ne("yy",ke),Ne("yyy",ke),Ne("yyyy",ke),Ne("yo",qo),He(["y","yy","yyy","yyyy"],Xe),He(["yo"],function(e,t,n,i){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Xe]=n._locale.eraYearOrdinalParse(e,o):t[Xe]=parseInt(e,10)}),W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Xo("gggg","weekYear"),Xo("ggggg","weekYear"),Xo("GGGG","isoWeekYear"),Xo("GGGGG","isoWeekYear"),oe("weekYear","gg"),oe("isoWeekYear","GG"),ce("weekYear",1),ce("isoWeekYear",1),Ne("G",xe),Ne("g",xe),Ne("GG",Se,ye),Ne("gg",Se,ye),Ne("GGGG",Te,we),Ne("gggg",Te,we),Ne("GGGGG",Oe,Le),Ne("ggggg",Oe,Le),We(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=he(e)}),We(["gg","GG"],function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),oe("quarter","Q"),ce("quarter",7),Ne("Q",be),He("Q",function(e,t){t[Ue]=3*(he(e)-1)}),W("D",["DD",2],"Do","date"),oe("date","D"),ce("date",9),Ne("D",Se),Ne("DD",Se,ye),Ne("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),He(["D","DD"],Ve),He("Do",function(e,t){t[Ve]=he(e.match(Se)[0])});var tr=pe("Date",!0);function nr(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}W("DDD",["DDDD",3],"DDDo","dayOfYear"),oe("dayOfYear","DDD"),ce("dayOfYear",4),Ne("DDD",Ae),Ne("DDDD",Me),He(["DDD","DDDD"],function(e,t,n){n._dayOfYear=he(e)}),W("m",["mm",2],0,"minute"),oe("minute","m"),ce("minute",14),Ne("m",Se),Ne("mm",Se,ye),He(["m","mm"],Ke);var ir=pe("Minutes",!1);W("s",["ss",2],0,"second"),oe("second","s"),ce("second",15),Ne("s",Se),Ne("ss",Se,ye),He(["s","ss"],$e);var or,rr,ar=pe("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),oe("millisecond","ms"),ce("millisecond",16),Ne("S",Ae,be),Ne("SS",Ae,ye),Ne("SSS",Ae,Me),or="SSSS";or.length<=9;or+="S")Ne(or,ke);function sr(e,t){t[Je]=he(1e3*("0."+e))}for(or="S";or.length<=9;or+="S")He(or,sr);function cr(){return this._isUTC?"UTC":""}function lr(){return this._isUTC?"Coordinated Universal Time":""}rr=pe("Milliseconds",!1),W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var ur=S.prototype;function dr(e){return $n(1e3*e)}function hr(){return $n.apply(null,arguments).parseZone()}function pr(e){return e}ur.add=Pi,ur.calendar=qi,ur.clone=Fi,ur.diff=Ji,ur.endOf=bo,ur.format=no,ur.from=io,ur.fromNow=oo,ur.to=ro,ur.toNow=ao,ur.get=ge,ur.invalidAt=To,ur.isAfter=Xi,ur.isBefore=Ui,ur.isBetween=Vi,ur.isSame=Gi,ur.isSameOrAfter=Ki,ur.isSameOrBefore=$i,ur.isValid=Eo,ur.lang=co,ur.locale=so,ur.localeData=lo,ur.max=Zn,ur.min=Jn,ur.parsingFlags=Ao,ur.set=ve,ur.startOf=_o,ur.subtract=Ni,ur.toArray=Lo,ur.toObject=So,ur.toDate=wo,ur.toISOString=eo,ur.inspect=to,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ur[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ur.toJSON=Co,ur.toString=Qi,ur.unix=Mo,ur.valueOf=yo,ur.creationData=Oo,ur.eraName=Ro,ur.eraNarrow=zo,ur.eraAbbr=Po,ur.eraYear=No,ur.year=_t,ur.isLeapYear=bt,ur.weekYear=Uo,ur.isoWeekYear=Vo,ur.quarter=ur.quarters=er,ur.month=ht,ur.daysInMonth=pt,ur.week=ur.weeks=kt,ur.isoWeek=ur.isoWeeks=xt,ur.weeksInYear=$o,ur.weeksInWeekYear=Jo,ur.isoWeeksInYear=Go,ur.isoWeeksInISOWeekYear=Ko,ur.date=tr,ur.day=ur.days=Ut,ur.weekday=Vt,ur.isoWeekday=Gt,ur.dayOfYear=nr,ur.hour=ur.hours=an,ur.minute=ur.minutes=ir,ur.second=ur.seconds=ar,ur.millisecond=ur.milliseconds=rr,ur.utcOffset=gi,ur.utc=_i,ur.local=bi,ur.parseZone=yi,ur.hasAlignedHourOffset=Mi,ur.isDST=wi,ur.isLocal=Si,ur.isUtcOffset=Ci,ur.isUtc=Ei,ur.isUTC=Ei,ur.zoneAbbr=cr,ur.zoneName=lr,ur.dates=A("dates accessor is deprecated. Use date instead.",tr),ur.months=A("months accessor is deprecated. Use month instead",ht),ur.years=A("years accessor is deprecated. Use year instead",_t),ur.zone=A("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vi),ur.isDSTShifted=A("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Li);var fr=z.prototype;function mr(e,t,n,i){var o=bn(),r=g().set(i,t);return o[n](r,e)}function gr(e,t,n){if(h(e)&&(t=e,e=void 0),e=e||"",null!=t)return mr(e,t,n,"month");var i,o=[];for(i=0;i<12;i++)o[i]=mr(e,i,n,"month");return o}function vr(e,t,n,i){"boolean"===typeof e?(h(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,h(t)&&(n=t,t=void 0),t=t||"");var o,r=bn(),a=e?r._week.dow:0,s=[];if(null!=n)return mr(t,(n+a)%7,i,"day");for(o=0;o<7;o++)s[o]=mr(t,(o+a)%7,i,"day");return s}function _r(e,t){return gr(e,t,"months")}function br(e,t){return gr(e,t,"monthsShort")}function yr(e,t,n){return vr(e,t,n,"weekdays")}function Mr(e,t,n){return vr(e,t,n,"weekdaysShort")}function wr(e,t,n){return vr(e,t,n,"weekdaysMin")}fr.calendar=N,fr.longDateFormat=G,fr.invalidDate=$,fr.ordinal=Q,fr.preparse=pr,fr.postformat=pr,fr.relativeTime=te,fr.pastFuture=ne,fr.set=D,fr.eras=ko,fr.erasParse=xo,fr.erasConvertYear=Do,fr.erasAbbrRegex=Bo,fr.erasNameRegex=Io,fr.erasNarrowRegex=jo,fr.months=st,fr.monthsShort=ct,fr.monthsParse=ut,fr.monthsRegex=mt,fr.monthsShortRegex=ft,fr.week=Et,fr.firstDayOfYear=Ot,fr.firstDayOfWeek=Tt,fr.weekdays=Ht,fr.weekdaysMin=qt,fr.weekdaysShort=Wt,fr.weekdaysParse=Xt,fr.weekdaysRegex=Kt,fr.weekdaysShortRegex=$t,fr.weekdaysMinRegex=Jt,fr.isPM=on,fr.meridiem=sn,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===he(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),r.lang=A("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=A("moment.langData is deprecated. Use moment.localeData instead.",bn);var Lr=Math.abs;function Sr(){var e=this._data;return this._milliseconds=Lr(this._milliseconds),this._days=Lr(this._days),this._months=Lr(this._months),e.milliseconds=Lr(e.milliseconds),e.seconds=Lr(e.seconds),e.minutes=Lr(e.minutes),e.hours=Lr(e.hours),e.months=Lr(e.months),e.years=Lr(e.years),this}function Cr(e,t,n,i){var o=Oi(t,n);return e._milliseconds+=i*o._milliseconds,e._days+=i*o._days,e._months+=i*o._months,e._bubble()}function Er(e,t){return Cr(this,e,t,1)}function Ar(e,t){return Cr(this,e,t,-1)}function Tr(e){return e<0?Math.floor(e):Math.ceil(e)}function Or(){var e,t,n,i,o,r=this._milliseconds,a=this._days,s=this._months,c=this._data;return r>=0&&a>=0&&s>=0||r<=0&&a<=0&&s<=0||(r+=864e5*Tr(xr(s)+a),a=0,s=0),c.milliseconds=r%1e3,e=de(r/1e3),c.seconds=e%60,t=de(e/60),c.minutes=t%60,n=de(t/60),c.hours=n%24,a+=de(n/24),o=de(kr(a)),s+=o,a-=Tr(xr(o)),i=de(s/12),s%=12,c.days=a,c.months=s,c.years=i,this}function kr(e){return 4800*e/146097}function xr(e){return 146097*e/4800}function Dr(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if(e=re(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+kr(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(xr(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}}function Rr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*he(this._months/12):NaN}function zr(e){return function(){return this.as(e)}}var Pr=zr("ms"),Nr=zr("s"),Ir=zr("m"),Br=zr("h"),jr=zr("d"),Yr=zr("w"),Hr=zr("M"),Wr=zr("Q"),qr=zr("y");function Fr(){return Oi(this)}function Xr(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Ur(e){return function(){return this.isValid()?this._data[e]:NaN}}var Vr=Ur("milliseconds"),Gr=Ur("seconds"),Kr=Ur("minutes"),$r=Ur("hours"),Jr=Ur("days"),Zr=Ur("months"),Qr=Ur("years");function ea(){return de(this.days()/7)}var ta=Math.round,na={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ia(e,t,n,i,o){return o.relativeTime(t||1,!!n,e,i)}function oa(e,t,n,i){var o=Oi(e).abs(),r=ta(o.as("s")),a=ta(o.as("m")),s=ta(o.as("h")),c=ta(o.as("d")),l=ta(o.as("M")),u=ta(o.as("w")),d=ta(o.as("y")),h=r<=n.ss&&["s",r]||r0,h[4]=i,ia.apply(null,h)}function ra(e){return void 0===e?ta:"function"===typeof e&&(ta=e,!0)}function aa(e,t){return void 0!==na[e]&&(void 0===t?na[e]:(na[e]=t,"s"===e&&(na.ss=t-1),!0))}function sa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,o=!1,r=na;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(o=e),"object"===typeof t&&(r=Object.assign({},na,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),n=this.localeData(),i=oa(this,!o,r,n),o&&(i=n.pastFuture(+this,i)),n.postformat(i)}var ca=Math.abs;function la(e){return(e>0)-(e<0)||+e}function ua(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,o,r,a,s,c=ca(this._milliseconds)/1e3,l=ca(this._days),u=ca(this._months),d=this.asSeconds();return d?(e=de(c/60),t=de(e/60),c%=60,e%=60,n=de(u/12),u%=12,i=c?c.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",r=la(this._months)!==la(d)?"-":"",a=la(this._days)!==la(d)?"-":"",s=la(this._milliseconds)!==la(d)?"-":"",o+"P"+(n?r+n+"Y":"")+(u?r+u+"M":"")+(l?a+l+"D":"")+(t||e||c?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(c?s+i+"S":"")):"P0D"}var da=si.prototype;return da.isValid=ri,da.abs=Sr,da.add=Er,da.subtract=Ar,da.as=Dr,da.asMilliseconds=Pr,da.asSeconds=Nr,da.asMinutes=Ir,da.asHours=Br,da.asDays=jr,da.asWeeks=Yr,da.asMonths=Hr,da.asQuarters=Wr,da.asYears=qr,da.valueOf=Rr,da._bubble=Or,da.clone=Fr,da.get=Xr,da.milliseconds=Vr,da.seconds=Gr,da.minutes=Kr,da.hours=$r,da.days=Jr,da.weeks=ea,da.months=Zr,da.years=Qr,da.humanize=sa,da.toISOString=ua,da.toString=ua,da.toJSON=ua,da.locale=so,da.localeData=lo,da.toIsoString=A("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ua),da.lang=co,W("X",0,0,"unix"),W("x",0,0,"valueOf"),Ne("x",xe),Ne("X",ze),He("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),He("x",function(e,t,n){n._d=new Date(he(e))}), +//! moment.js +r.version="2.29.1",a($n),r.fn=ur,r.min=ei,r.max=ti,r.now=ni,r.utc=g,r.unix=dr,r.months=_r,r.isDate=p,r.locale=gn,r.invalid=y,r.duration=Oi,r.isMoment=C,r.weekdays=yr,r.parseZone=hr,r.localeData=bn,r.isDuration=ci,r.monthsShort=br,r.weekdaysMin=wr,r.defineLocale=vn,r.updateLocale=_n,r.locales=yn,r.weekdaysShort=Mr,r.normalizeUnits=re,r.relativeTimeRounding=ra,r.relativeTimeThreshold=aa,r.calendarFormat=Wi,r.prototype=ur,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r})}).call(this,n("62e4")(e))},f457:function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i["throw"](e))}catch(e){r(e)}}function c(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(a,s)}c((i=i.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return c([e,t])}}function c(r){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,i&&(o=i[2&r[0]?"return":r[0]?"throw":"next"])&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[0,o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),c=n("b669"),l=n("dd02"),u=n("6923"),d=n("3a92"),h=n("3b4c"),p=n("510b"),f=n("9757"),m=n("302f"),g=n("1417"),v=n("3623"),_=n("66f9"),b=n("e4f0"),y=function(){function e(t,n){this.mouseoverElement=t,this.mouseIsOver=n,this.kind=e.KIND}return e.KIND="hoverFeedback",e}();t.HoverFeedbackAction=y;var M=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){var t=e.root,n=t.index.getById(this.action.mouseoverElement);return n&&b.isHoverable(n)&&(n.hoverFeedback=this.action.mouseIsOver),this.redo(e)},t.prototype.undo=function(e){return e.root},t.prototype.redo=function(e){return e.root},t.KIND=y.KIND,t=o([s.injectable(),a(0,s.inject(u.TYPES.Action)),r("design:paramtypes",[y])],t),t}(f.SystemCommand);t.HoverFeedbackCommand=M;var w=function(){function e(t,n,i){void 0===i&&(i=""),this.elementId=t,this.bounds=n,this.requestId=i,this.kind=e.KIND}return e.create=function(t,n){return new e(t,n,p.generateRequestId())},e.KIND="requestPopupModel",e}();t.RequestPopupModelAction=w;var L=function(){function e(t,n){void 0===n&&(n=""),this.newRoot=t,this.responseId=n,this.kind=e.KIND}return e.KIND="setPopupModel",e}();t.SetPopupModelAction=L;var S=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){return this.oldRoot=e.root,this.newRoot=e.modelFactory.createRoot(this.action.newRoot),this.newRoot},t.prototype.undo=function(e){return this.oldRoot},t.prototype.redo=function(e){return this.newRoot},t.KIND=L.KIND,t=o([s.injectable(),a(0,s.inject(u.TYPES.Action)),r("design:paramtypes",[L])],t),t}(f.PopupCommand);t.SetPopupModelCommand=S;var C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.mouseDown=function(e,t){return this.mouseIsDown=!0,[]},t.prototype.mouseUp=function(e,t){return this.mouseIsDown=!1,[]},t.prototype.stopMouseOutTimer=function(){void 0!==this.state.mouseOutTimer&&(window.clearTimeout(this.state.mouseOutTimer),this.state.mouseOutTimer=void 0)},t.prototype.startMouseOutTimer=function(){var e=this;return this.stopMouseOutTimer(),new Promise(function(t){e.state.mouseOutTimer=window.setTimeout(function(){e.state.popupOpen=!1,e.state.previousPopupElement=void 0,t(new L({type:m.EMPTY_ROOT.type,id:m.EMPTY_ROOT.id}))},e.options.popupCloseDelay)})},t.prototype.stopMouseOverTimer=function(){void 0!==this.state.mouseOverTimer&&(window.clearTimeout(this.state.mouseOverTimer),this.state.mouseOverTimer=void 0)},o([s.inject(u.TYPES.ViewerOptions),r("design:type",Object)],t.prototype,"options",void 0),o([s.inject(u.TYPES.HoverState),r("design:type",Object)],t.prototype,"state",void 0),t}(h.MouseListener);t.AbstractHoverMouseListener=C;var E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.computePopupBounds=function(e,t){var n={x:-5,y:20},i=_.getAbsoluteBounds(e),o=e.root.canvasBounds,r=l.translate(i,o),a=r.x+r.width-t.x,s=r.y+r.height-t.y;s<=a&&this.allowSidePosition(e,"below",s)?n={x:-5,y:Math.round(s+5)}:a<=s&&this.allowSidePosition(e,"right",a)&&(n={x:Math.round(a+5),y:-5});var c=t.x+n.x,u=o.x+o.width;c>u&&(c=u);var d=t.y+n.y,h=o.y+o.height;return d>h&&(d=h),{x:c,y:d,width:-1,height:-1}},t.prototype.allowSidePosition=function(e,t,n){return!(e instanceof d.SModelRoot)&&n<=150},t.prototype.startMouseOverTimer=function(e,t){var n=this;return this.stopMouseOverTimer(),new Promise(function(i){n.state.mouseOverTimer=window.setTimeout(function(){var o=n.computePopupBounds(e,{x:t.pageX,y:t.pageY});i(new w(e.id,o)),n.state.popupOpen=!0,n.state.previousPopupElement=e},n.options.popupOpenDelay)})},t.prototype.mouseOver=function(e,t){var n=[];if(!this.mouseIsDown){var i=v.findParent(e,b.hasPopupFeature);this.state.popupOpen&&(void 0===i||void 0!==this.state.previousPopupElement&&this.state.previousPopupElement.id!==i.id)?n.push(this.startMouseOutTimer()):(this.stopMouseOverTimer(),this.stopMouseOutTimer()),void 0===i||void 0!==this.state.previousPopupElement&&this.state.previousPopupElement.id===i.id||n.push(this.startMouseOverTimer(i,t)),this.lastHoverFeedbackElementId&&(n.push(new y(this.lastHoverFeedbackElementId,!1)),this.lastHoverFeedbackElementId=void 0);var o=v.findParentByFeature(e,b.isHoverable);void 0!==o&&(n.push(new y(o.id,!0)),this.lastHoverFeedbackElementId=o.id)}return n},t.prototype.mouseOut=function(e,t){var n=[];if(!this.mouseIsDown){var i=document.elementFromPoint(t.x,t.y);if(!this.isSprottyPopup(i)){if(this.state.popupOpen){var o=v.findParent(e,b.hasPopupFeature);void 0!==this.state.previousPopupElement&&void 0!==o&&this.state.previousPopupElement.id===o.id&&n.push(this.startMouseOutTimer())}this.stopMouseOverTimer();var r=v.findParentByFeature(e,b.isHoverable);void 0!==r&&(n.push(new y(r.id,!1)),this.lastHoverFeedbackElementId=void 0)}}return n},t.prototype.isSprottyPopup=function(e){return!!e&&(e.id===this.options.popupDiv||!!e.parentElement&&this.isSprottyPopup(e.parentElement))},t.prototype.mouseMove=function(e,t){var n=[];if(!this.mouseIsDown){void 0!==this.state.previousPopupElement&&this.closeOnMouseMove(this.state.previousPopupElement,t)&&n.push(this.startMouseOutTimer());var i=v.findParent(e,b.hasPopupFeature);void 0===i||void 0!==this.state.previousPopupElement&&this.state.previousPopupElement.id===i.id||n.push(this.startMouseOverTimer(i,t))}return n},t.prototype.closeOnMouseMove=function(e,t){return e instanceof d.SModelRoot},o([s.inject(u.TYPES.ViewerOptions),r("design:type",Object)],t.prototype,"options",void 0),t=o([s.injectable()],t),t}(C);t.HoverMouseListener=E;var A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.mouseOut=function(e,t){return[this.startMouseOutTimer()]},t.prototype.mouseOver=function(e,t){return this.stopMouseOutTimer(),this.stopMouseOverTimer(),[]},t=o([s.injectable()],t),t}(C);t.PopupHoverMouseListener=A;var T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.keyDown=function(e,t){return c.matchesKeystroke(t,"Escape")?[new L({type:m.EMPTY_ROOT.type,id:m.EMPTY_ROOT.id})]:[]},t}(g.KeyListener);t.HoverKeyListener=T;var O=function(){function e(){this.popupOpen=!1}return e.prototype.handle=function(e){if(e.kind===S.KIND)this.popupOpen=e.newRoot.type!==m.EMPTY_ROOT.type;else if(this.popupOpen)return new L({id:m.EMPTY_ROOT.id,type:m.EMPTY_ROOT.type})},e=o([s.injectable()],e),e}();t.ClosePopupActionHandler=O},f58f:function(e,t,n){"use strict";var i=n("15f6"),o=n.n(i);o.a},f593:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t})},f87b:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t})},f913:function(e,t,n){"use strict";var i=n("0c4a"),o=n.n(i);o.a},f923:function(e,t,n){"use strict";function i(e,t){var n,i,o=t.elm,r=e.data.class,a=t.data.class;if((r||a)&&r!==a){for(i in r=r||{},a=a||{},r)a[i]||o.classList.remove(i);for(i in a)n=a[i],n!==r[i]&&o.classList[n?"add":"remove"](i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.classModule={create:i,update:i},t.default=t.classModule},faa1:function(e,t,n){"use strict";var i,o="object"===typeof Reflect?Reflect:null,r=o&&"function"===typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};function a(e){console&&console.warn&&console.warn(e)}i=o&&"function"===typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!==e};function c(){c.init.call(this)}e.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var l=10;function u(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function d(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function h(e,t,n,i){var o,r,s;if(u(n),r=e._events,void 0===r?(r=e._events=Object.create(null),e._eventsCount=0):(void 0!==r.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),r=e._events),s=r[t]),void 0===s)s=r[t]=n,++e._eventsCount;else if("function"===typeof s?s=r[t]=i?[n,s]:[s,n]:i?s.unshift(n):s.push(n),o=d(e),o>0&&s.length>o&&!s.warned){s.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=s.length,a(c)}return e}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=p.bind(i);return o.listener=n,i.wrapFn=o,o}function m(e,t,n){var i=e._events;if(void 0===i)return[];var o=i[t];return void 0===o?[]:"function"===typeof o?n?[o.listener||o]:[o]:n?b(o):v(o,o.length)}function g(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),i=0;i0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=o[e];if(void 0===c)return!1;if("function"===typeof c)r(c,this,t);else{var l=c.length,u=v(c,l);for(n=0;n=0;r--)if(n[r]===t||n[r].listener===t){a=n[r].listener,o=r;break}if(o<0)return this;0===o?n.shift():_(n,o),1===n.length&&(i[e]=n[0]),void 0!==i.removeListener&&this.emit("removeListener",e,a||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,i;if(n=this._events,void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,r=Object.keys(n);for(i=0;i=0;i--)this.removeListener(e,t[i]);return this},c.prototype.listeners=function(e){return m(this,e,!0)},c.prototype.rawListeners=function(e){return m(this,e,!1)},c.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},c.prototype.listenerCount=g,c.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},fba3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("dd02");function o(e){return r()?e.metaKey:e.ctrlKey}function r(){return-1!==window.navigator.userAgent.indexOf("Mac")}function a(e){if(e&&"undefined"!==typeof window&&window.location){var t="";return window.location.protocol&&(t+=window.location.protocol+"//"),window.location.host&&(t+=window.location.host),t.length>0&&!e.startsWith(t)}return!1}function s(){return"undefined"===typeof window?i.ORIGIN_POINT:{x:window.pageXOffset,y:window.pageYOffset}}t.isCtrlOrCmd=o,t.isMac=r,t.isCrossSite=a,t.getWindowScroll=s},fcb5:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},n=e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var i=e%10,o=e%100-i,r=e>=100?100:null;return e+(t[i]||t[o]||t[r])}},week:{dow:1,doy:7}});return n})},fcf3:function(e,t,n){!function(t,n){e.exports=n()}(self,function(){return(()=>{"use strict";var e={4567:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.AccessibilityManager=void 0;var r=n(9042),a=n(6114),s=n(9924),c=n(3656),l=n(844),u=n(5596),d=n(9631),h=function(e){function t(t,n){var i=e.call(this)||this;i._terminal=t,i._renderService=n,i._liveRegionLineCount=0,i._charsToConsume=[],i._charsToAnnounce="",i._accessibilityTreeRoot=document.createElement("div"),i._accessibilityTreeRoot.classList.add("xterm-accessibility"),i._accessibilityTreeRoot.tabIndex=0,i._rowContainer=document.createElement("div"),i._rowContainer.setAttribute("role","list"),i._rowContainer.classList.add("xterm-accessibility-tree"),i._rowElements=[];for(var o=0;oe;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var e=document.createElement("div");return e.setAttribute("role","listitem"),e.tabIndex=-1,this._refreshRowDimensions(e),e},t.prototype._onTab=function(e){for(var t=0;t0?this._charsToConsume.shift()!==e&&(this._charsToAnnounce+=e):this._charsToAnnounce+=e,"\n"===e&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=r.tooMuchOutput)),a.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){t._accessibilityTreeRoot.appendChild(t._liveRegion)},0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,a.isMac&&(0,d.removeElementFromParent)(this._liveRegion)},t.prototype._onKey=function(e){this._clearLiveRegion(),this._charsToConsume.push(e)},t.prototype._refreshRows=function(e,t){this._renderRowsDebouncer.refresh(e,t,this._terminal.rows)},t.prototype._renderRows=function(e,t){for(var n=this._terminal.buffer,i=n.lines.length.toString(),o=e;o<=t;o++){var r=n.translateBufferLineToString(n.ydisp+o,!0),a=(n.ydisp+o+1).toString(),s=this._rowElements[o];s&&(0===r.length?s.innerText=" ":s.textContent=r,s.setAttribute("aria-posinset",a),s.setAttribute("aria-setsize",i))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var e=0;e{function n(e){return e.replace(/\r?\n/g,"\r")}function i(e,t){return t?"[200~"+e+"[201~":e}function o(e,t,o){e=i(e=n(e),o.decPrivateModes.bracketedPasteMode),o.triggerDataEvent(e,!0),t.value=""}function r(e,t,n){var i=n.getBoundingClientRect(),o=e.clientX-i.left-10,r=e.clientY-i.top-10;t.style.width="20px",t.style.height="20px",t.style.left=o+"px",t.style.top=r+"px",t.style.zIndex="1000",t.focus()}Object.defineProperty(t,"__esModule",{value:!0}),t.rightClickHandler=t.moveTextAreaUnderMouseCursor=t.paste=t.handlePasteEvent=t.copyHandler=t.bracketTextForPaste=t.prepareTextForTerminal=void 0,t.prepareTextForTerminal=n,t.bracketTextForPaste=i,t.copyHandler=function(e,t){e.clipboardData&&e.clipboardData.setData("text/plain",t.selectionText),e.preventDefault()},t.handlePasteEvent=function(e,t,n){e.stopPropagation(),e.clipboardData&&o(e.clipboardData.getData("text/plain"),t,n)},t.paste=o,t.moveTextAreaUnderMouseCursor=r,t.rightClickHandler=function(e,t,n,i,o){r(e,t,n),o&&i.rightClickSelect(e),t.value=i.selectionText,t.select()}},7239:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorContrastCache=void 0;var n=function(){function e(){this._color={},this._rgba={}}return e.prototype.clear=function(){this._color={},this._rgba={}},e.prototype.setCss=function(e,t,n){this._rgba[e]||(this._rgba[e]={}),this._rgba[e][t]=n},e.prototype.getCss=function(e,t){return this._rgba[e]?this._rgba[e][t]:void 0},e.prototype.setColor=function(e,t,n){this._color[e]||(this._color[e]={}),this._color[e][t]=n},e.prototype.getColor=function(e,t){return this._color[e]?this._color[e][t]:void 0},e}();t.ColorContrastCache=n},5680:function(e,t,n){var i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.ColorManager=t.DEFAULT_ANSI_COLORS=void 0;var o=n(8055),r=n(7239),a=o.css.toColor("#ffffff"),s=o.css.toColor("#000000"),c=o.css.toColor("#ffffff"),l=o.css.toColor("#000000"),u={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};t.DEFAULT_ANSI_COLORS=Object.freeze(function(){for(var e=[o.css.toColor("#2e3436"),o.css.toColor("#cc0000"),o.css.toColor("#4e9a06"),o.css.toColor("#c4a000"),o.css.toColor("#3465a4"),o.css.toColor("#75507b"),o.css.toColor("#06989a"),o.css.toColor("#d3d7cf"),o.css.toColor("#555753"),o.css.toColor("#ef2929"),o.css.toColor("#8ae234"),o.css.toColor("#fce94f"),o.css.toColor("#729fcf"),o.css.toColor("#ad7fa8"),o.css.toColor("#34e2e2"),o.css.toColor("#eeeeec")],t=[0,95,135,175,215,255],n=0;n<216;n++){var i=t[n/36%6|0],r=t[n/6%6|0],a=t[n%6];e.push({css:o.channels.toCss(i,r,a),rgba:o.channels.toRgba(i,r,a)})}for(n=0;n<24;n++){var s=8+10*n;e.push({css:o.channels.toCss(s,s,s),rgba:o.channels.toRgba(s,s,s)})}return e}());var d=function(){function e(e,n){this.allowTransparency=n;var i=e.createElement("canvas");i.width=1,i.height=1;var d=i.getContext("2d");if(!d)throw new Error("Could not get rendering context");this._ctx=d,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new r.ColorContrastCache,this.colors={foreground:a,background:s,cursor:c,cursorAccent:l,selectionTransparent:u,selectionOpaque:o.color.blend(s,u),selectionForeground:void 0,ansi:t.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache},this._updateRestoreColors()}return e.prototype.onOptionsChange=function(e){"minimumContrastRatio"===e&&this._contrastCache.clear()},e.prototype.setTheme=function(e){void 0===e&&(e={}),this.colors.foreground=this._parseColor(e.foreground,a),this.colors.background=this._parseColor(e.background,s),this.colors.cursor=this._parseColor(e.cursor,c,!0),this.colors.cursorAccent=this._parseColor(e.cursorAccent,l,!0),this.colors.selectionTransparent=this._parseColor(e.selection,u,!0),this.colors.selectionOpaque=o.color.blend(this.colors.background,this.colors.selectionTransparent);var n={css:"",rgba:0};this.colors.selectionForeground=e.selectionForeground?this._parseColor(e.selectionForeground,n):void 0,this.colors.selectionForeground===n&&(this.colors.selectionForeground=void 0),o.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=o.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(e.black,t.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(e.red,t.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(e.green,t.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(e.yellow,t.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(e.blue,t.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(e.magenta,t.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(e.cyan,t.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(e.white,t.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(e.brightBlack,t.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(e.brightRed,t.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(e.brightGreen,t.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(e.brightYellow,t.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(e.brightBlue,t.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(e.brightMagenta,t.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(e.brightCyan,t.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(e.brightWhite,t.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear(),this._updateRestoreColors()},e.prototype.restoreColor=function(e){if(void 0!==e)switch(e){case 256:this.colors.foreground=this._restoreColors.foreground;break;case 257:this.colors.background=this._restoreColors.background;break;case 258:this.colors.cursor=this._restoreColors.cursor;break;default:this.colors.ansi[e]=this._restoreColors.ansi[e]}else for(var t=0;t=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.removeElementFromParent=void 0,t.removeElementFromParent=function(){for(var e,t,i,o=[],r=0;r{Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=void 0,t.addDisposableDomListener=function(e,t,n,i){e.addEventListener(t,n,i);var o=!1;return{dispose:function(){o||(o=!0,e.removeEventListener(t,n,i))}}}},3551:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseZone=t.Linkifier=void 0;var r=n(8460),a=n(2585),s=function(){function e(e,t,n){this._bufferService=e,this._logService=t,this._unicodeService=n,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new r.EventEmitter,this._onHideLinkUnderline=new r.EventEmitter,this._onLinkTooltip=new r.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(e.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),e.prototype.attachToDom=function(e,t){this._element=e,this._mouseZoneManager=t},e.prototype.linkifyRows=function(t,n){var i=this;this._mouseZoneManager&&(void 0===this._rowsToLinkify.start||void 0===this._rowsToLinkify.end?(this._rowsToLinkify.start=t,this._rowsToLinkify.end=n):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,t),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,n)),this._mouseZoneManager.clearAll(t,n),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return i._linkifyRows()},e._timeBeforeLatency))},e.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var e=this._bufferService.buffer;if(void 0!==this._rowsToLinkify.start&&void 0!==this._rowsToLinkify.end){var t=e.ydisp+this._rowsToLinkify.start;if(!(t>=e.lines.length)){for(var n=e.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,i=Math.ceil(2e3/this._bufferService.cols),o=this._bufferService.buffer.iterator(!1,t,n,i,i);o.hasNext();)for(var r=o.next(),a=0;a=0;t--)if(e.priority<=this._linkMatchers[t].priority)return void this._linkMatchers.splice(t+1,0,e);this._linkMatchers.splice(0,0,e)}else this._linkMatchers.push(e)},e.prototype.deregisterLinkMatcher=function(e){for(var t=0;t>9&511:void 0;n.validationCallback?n.validationCallback(s,function(e){o._rowsTimeoutId||e&&o._addLink(l[1],l[0]-o._bufferService.buffer.ydisp,s,n,h)}):c._addLink(l[1],l[0]-c._bufferService.buffer.ydisp,s,n,h)},c=this;null!==(i=r.exec(t))&&"break"!==s(););},e.prototype._addLink=function(e,t,n,i,o){var r=this;if(this._mouseZoneManager&&this._element){var a=this._unicodeService.getStringCellWidth(n),s=e%this._bufferService.cols,l=t+Math.floor(e/this._bufferService.cols),u=(s+a)%this._bufferService.cols,d=l+Math.floor((s+a)/this._bufferService.cols);0===u&&(u=this._bufferService.cols,d--),this._mouseZoneManager.add(new c(s+1,l+1,u+1,d+1,function(e){if(i.handler)return i.handler(e,n);var t=window.open();t?(t.opener=null,t.location.href=n):console.warn("Opening link blocked as opener could not be cleared")},function(){r._onShowLinkUnderline.fire(r._createLinkHoverEvent(s,l,u,d,o)),r._element.classList.add("xterm-cursor-pointer")},function(e){r._onLinkTooltip.fire(r._createLinkHoverEvent(s,l,u,d,o)),i.hoverTooltipCallback&&i.hoverTooltipCallback(e,n,{start:{x:s,y:l},end:{x:u,y:d}})},function(){r._onHideLinkUnderline.fire(r._createLinkHoverEvent(s,l,u,d,o)),r._element.classList.remove("xterm-cursor-pointer"),i.hoverLeaveCallback&&i.hoverLeaveCallback()},function(e){return!i.willLinkActivate||i.willLinkActivate(e,n)}))}},e.prototype._createLinkHoverEvent=function(e,t,n,i,o){return{x1:e,y1:t,x2:n,y2:i,cols:this._bufferService.cols,fg:o}},e._timeBeforeLatency=200,e=i([o(0,a.IBufferService),o(1,a.ILogService),o(2,a.IUnicodeService)],e)}();t.Linkifier=s;var c=function(e,t,n,i,o,r,a,s,c){this.x1=e,this.y1=t,this.x2=n,this.y2=i,this.clickCallback=o,this.hoverCallback=r,this.tooltipCallback=a,this.leaveCallback=s,this.willLinkActivate=c};t.MouseZone=c},6465:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},c=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.Linkifier2=void 0;var l=n(2585),u=n(8460),d=n(844),h=n(3656),p=function(e){function t(t){var n=e.call(this)||this;return n._bufferService=t,n._linkProviders=[],n._linkCacheDisposables=[],n._isMouseOut=!0,n._activeLine=-1,n._onShowLinkUnderline=n.register(new u.EventEmitter),n._onHideLinkUnderline=n.register(new u.EventEmitter),n.register((0,d.getDisposeArrayDisposable)(n._linkCacheDisposables)),n}return o(t,e),Object.defineProperty(t.prototype,"currentLink",{get:function(){return this._currentLink},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),t.prototype.registerLinkProvider=function(e){var t=this;return this._linkProviders.push(e),{dispose:function(){var n=t._linkProviders.indexOf(e);-1!==n&&t._linkProviders.splice(n,1)}}},t.prototype.attachToDom=function(e,t,n){var i=this;this._element=e,this._mouseService=t,this._renderService=n,this.register((0,h.addDisposableDomListener)(this._element,"mouseleave",function(){i._isMouseOut=!0,i._clearCurrentLink()})),this.register((0,h.addDisposableDomListener)(this._element,"mousemove",this._onMouseMove.bind(this))),this.register((0,h.addDisposableDomListener)(this._element,"mousedown",this._handleMouseDown.bind(this))),this.register((0,h.addDisposableDomListener)(this._element,"mouseup",this._handleMouseUp.bind(this)))},t.prototype._onMouseMove=function(e){if(this._lastMouseEvent=e,this._element&&this._mouseService){var t=this._positionFromMouseEvent(e,this._element,this._mouseService);if(t){this._isMouseOut=!1;for(var n=e.composedPath(),i=0;ie?this._bufferService.cols:a.link.range.end.x,l=s;l<=c;l++){if(n.has(l)){o.splice(r--,1);break}n.add(l)}}},t.prototype._checkLinkProviderResult=function(e,t,n){var i,o=this;if(!this._activeProviderReplies)return n;for(var r=this._activeProviderReplies.get(e),a=!1,s=0;s=e&&this._currentLink.link.range.end.y<=t)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,(0,d.disposeArray)(this._linkCacheDisposables))},t.prototype._handleNewLink=function(e){var t=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var n=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);n&&this._linkAtPosition(e.link,n)&&(this._currentLink=e,this._currentLink.state={decorations:{underline:void 0===e.link.decorations||e.link.decorations.underline,pointerCursor:void 0===e.link.decorations||e.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,e.link,this._lastMouseEvent),e.link.decorations={},Object.defineProperties(e.link.decorations,{pointerCursor:{get:function(){var e,n;return null===(n=null===(e=t._currentLink)||void 0===e?void 0:e.state)||void 0===n?void 0:n.decorations.pointerCursor},set:function(e){var n,i;(null===(n=t._currentLink)||void 0===n?void 0:n.state)&&t._currentLink.state.decorations.pointerCursor!==e&&(t._currentLink.state.decorations.pointerCursor=e,t._currentLink.state.isHovered&&(null===(i=t._element)||void 0===i||i.classList.toggle("xterm-cursor-pointer",e)))}},underline:{get:function(){var e,n;return null===(n=null===(e=t._currentLink)||void 0===e?void 0:e.state)||void 0===n?void 0:n.decorations.underline},set:function(n){var i,o,r;(null===(i=t._currentLink)||void 0===i?void 0:i.state)&&(null===(r=null===(o=t._currentLink)||void 0===o?void 0:o.state)||void 0===r?void 0:r.decorations.underline)!==n&&(t._currentLink.state.decorations.underline=n,t._currentLink.state.isHovered&&t._fireUnderlineEvent(e.link,n))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedViewportChange(function(e){var n=0===e.start?0:e.start+1+t._bufferService.buffer.ydisp;t._clearCurrentLink(n,e.end+1+t._bufferService.buffer.ydisp)})))}},t.prototype._linkHover=function(e,t,n){var i;(null===(i=this._currentLink)||void 0===i?void 0:i.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(t,!0),this._currentLink.state.decorations.pointerCursor&&e.classList.add("xterm-cursor-pointer")),t.hover&&t.hover(n,t.text)},t.prototype._fireUnderlineEvent=function(e,t){var n=e.range,i=this._bufferService.buffer.ydisp,o=this._createLinkUnderlineEvent(n.start.x-1,n.start.y-i-1,n.end.x,n.end.y-i-1,void 0);(t?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(o)},t.prototype._linkLeave=function(e,t,n){var i;(null===(i=this._currentLink)||void 0===i?void 0:i.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(t,!1),this._currentLink.state.decorations.pointerCursor&&e.classList.remove("xterm-cursor-pointer")),t.leave&&t.leave(n,t.text)},t.prototype._linkAtPosition=function(e,t){var n=e.range.start.y===e.range.end.y,i=e.range.start.yt.y;return(n&&e.range.start.x<=t.x&&e.range.end.x>=t.x||i&&e.range.end.x>=t.x||o&&e.range.start.x<=t.x||i&&o)&&e.range.start.y<=t.y&&e.range.end.y>=t.y},t.prototype._positionFromMouseEvent=function(e,t,n){var i=n.getCoords(e,t,this._bufferService.cols,this._bufferService.rows);if(i)return{x:i[0],y:i[1]+this._bufferService.buffer.ydisp}},t.prototype._createLinkUnderlineEvent=function(e,t,n,i,o){return{x1:e,y1:t,x2:n,y2:i,cols:this._bufferService.cols,fg:o}},r([a(0,l.IBufferService)],t)}(d.Disposable);t.Linkifier2=p},9042:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.tooMuchOutput=t.promptLabel=void 0,t.promptLabel="Terminal input",t.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},6954:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseZoneManager=void 0;var s=n(844),c=n(3656),l=n(4725),u=n(2585),d=function(e){function t(t,n,i,o,r,a){var s=e.call(this)||this;return s._element=t,s._screenElement=n,s._bufferService=i,s._mouseService=o,s._selectionService=r,s._optionsService=a,s._zones=[],s._areZonesActive=!1,s._lastHoverCoords=[void 0,void 0],s._initialSelectionLength=0,s.register((0,c.addDisposableDomListener)(s._element,"mousedown",function(e){return s._onMouseDown(e)})),s._mouseMoveListener=function(e){return s._onMouseMove(e)},s._mouseLeaveListener=function(e){return s._onMouseLeave(e)},s._clickListener=function(e){return s._onClick(e)},s}return o(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._deactivate()},t.prototype.add=function(e){this._zones.push(e),1===this._zones.length&&this._activate()},t.prototype.clearAll=function(e,t){if(0!==this._zones.length){e&&t||(e=0,t=this._bufferService.rows-1);for(var n=0;ne&&i.y1<=t+1||i.y2>e&&i.y2<=t+1||i.y1t+1)&&(this._currentZone&&this._currentZone===i&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(n--,1))}0===this._zones.length&&this._deactivate()}},t.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},t.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},t.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},t.prototype._onHover=function(e){var t=this,n=this._findZoneEventAt(e);n!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),n&&(this._currentZone=n,n.hoverCallback&&n.hoverCallback(e),this._tooltipTimeout=window.setTimeout(function(){return t._onTooltip(e)},this._optionsService.rawOptions.linkTooltipHoverDuration)))},t.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var t=this._findZoneEventAt(e);null==t||t.tooltipCallback(e)},t.prototype._onMouseDown=function(e){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var t=this._findZoneEventAt(e);(null==t?void 0:t.willLinkActivate(e))&&(e.preventDefault(),e.stopImmediatePropagation())}},t.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},t.prototype._onClick=function(e){var t=this._findZoneEventAt(e),n=this._getSelectionLength();t&&n===this._initialSelectionLength&&(t.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},t.prototype._findZoneEventAt=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(t)for(var n=t[0],i=t[1],o=0;o=r.x1&&n=r.x1||i===r.y2&&nr.y1&&i=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.RenderDebouncer=void 0;var i=function(){function e(e){this._renderCallback=e,this._refreshCallbacks=[]}return e.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.addRefreshCallback=function(e){var t=this;return this._refreshCallbacks.push(e),this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return t._innerRefresh()})),this._animationFrame},e.prototype.refresh=function(e,t,n){var i=this;this._rowCount=n,e=void 0!==e?e:0,t=void 0!==t?t:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,e):e,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,t):t,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return i._innerRefresh()}))},e.prototype._innerRefresh=function(){if(this._animationFrame=void 0,void 0!==this._rowStart&&void 0!==this._rowEnd&&void 0!==this._rowCount){var e=Math.max(this._rowStart,0),t=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(e,t),this._runRefreshCallbacks()}else this._runRefreshCallbacks()},e.prototype._runRefreshCallbacks=function(){var e,t;try{for(var i=n(this._refreshCallbacks),o=i.next();!o.done;o=i.next())(0,o.value)(0)}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}this._refreshCallbacks=[]},e}();t.RenderDebouncer=i},5596:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScreenDprMonitor=void 0;var r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._currentDevicePixelRatio=window.devicePixelRatio,t}return o(t,e),t.prototype.setListener=function(e){var t=this;this._listener&&this.clearListener(),this._listener=e,this._outerListener=function(){t._listener&&(t._listener(window.devicePixelRatio,t._currentDevicePixelRatio),t._updateDpr())},this._updateDpr()},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.clearListener()},t.prototype._updateDpr=function(){var e;this._outerListener&&(null===(e=this._resolutionMediaMatchList)||void 0===e||e.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},t.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},t}(n(844).Disposable);t.ScreenDprMonitor=r},3236:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},a=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},s=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o4)&&t.coreMouseService.triggerMouseEvent({col:o.x-33,row:o.y-33,button:n,action:i,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})}var o={mouseup:null,wheel:null,mousedrag:null,mousemove:null},r=function(t){return i(t),t.buttons||(e._document.removeEventListener("mouseup",o.mouseup),o.mousedrag&&e._document.removeEventListener("mousemove",o.mousedrag)),e.cancel(t)},a=function(t){return i(t),e.cancel(t,!0)},s=function(e){e.buttons&&i(e)},c=function(e){e.buttons||i(e)};this.register(this.coreMouseService.onProtocolChange(function(t){t?("debug"===e.optionsService.rawOptions.logLevel&&e._logService.debug("Binding to mouse events:",e.coreMouseService.explainEvents(t)),e.element.classList.add("enable-mouse-events"),e._selectionService.disable()):(e._logService.debug("Unbinding from mouse events."),e.element.classList.remove("enable-mouse-events"),e._selectionService.enable()),8&t?o.mousemove||(n.addEventListener("mousemove",c),o.mousemove=c):(n.removeEventListener("mousemove",o.mousemove),o.mousemove=null),16&t?o.wheel||(n.addEventListener("wheel",a,{passive:!1}),o.wheel=a):(n.removeEventListener("wheel",o.wheel),o.wheel=null),2&t?o.mouseup||(o.mouseup=r):(e._document.removeEventListener("mouseup",o.mouseup),o.mouseup=null),4&t?o.mousedrag||(o.mousedrag=s):(e._document.removeEventListener("mousemove",o.mousedrag),o.mousedrag=null)})),this.coreMouseService.activeProtocol=this.coreMouseService.activeProtocol,this.register((0,v.addDisposableDomListener)(n,"mousedown",function(t){if(t.preventDefault(),e.focus(),e.coreMouseService.areMouseEventsActive&&!e._selectionService.shouldForceSelection(t))return i(t),o.mouseup&&e._document.addEventListener("mouseup",o.mouseup),o.mousedrag&&e._document.addEventListener("mousemove",o.mousedrag),e.cancel(t)})),this.register((0,v.addDisposableDomListener)(n,"wheel",function(t){if(!o.wheel){if(!e.buffer.hasScrollback){var n=e.viewport.getLinesScrolled(t);if(0===n)return;for(var i=d.C0.ESC+(e.coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(t.deltaY<0?"A":"B"),r="",a=0;a=65&&e.key.charCodeAt(0)<=90)||(this._unprocessedDeadKey?(this._unprocessedDeadKey=!1,!0):(n.key!==d.C0.ETX&&n.key!==d.C0.CR||(this.textarea.value=""),this._onKey.fire({key:n.key,domEvent:e}),this._showCursor(),this.coreService.triggerDataEvent(n.key,!0),this.optionsService.rawOptions.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(e,!0))))},t.prototype._isThirdLevelShift=function(e,t){var n=e.isMac&&!this.options.macOptionIsMeta&&t.altKey&&!t.ctrlKey&&!t.metaKey||e.isWindows&&t.altKey&&t.ctrlKey&&!t.metaKey||e.isWindows&&t.getModifierState("AltGraph");return"keypress"===t.type?n:n&&(!t.keyCode||t.keyCode>47)},t.prototype._keyUp=function(e){this._keyDownSeen=!1,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e)||(function(e){return 16===e.keyCode||17===e.keyCode||18===e.keyCode}(e)||this.focus(),this.updateCursorStyle(e),this._keyPressHandled=!1)},t.prototype._keyPress=function(e){var t;if(this._keyPressHandled=!1,this._keyDownHandled)return!1;if(this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(this.cancel(e),e.charCode)t=e.charCode;else if(null===e.which||void 0===e.which)t=e.keyCode;else{if(0===e.which||0===e.charCode)return!1;t=e.which}return!(!t||(e.altKey||e.ctrlKey||e.metaKey)&&!this._isThirdLevelShift(this.browser,e)||(t=String.fromCharCode(t),this._onKey.fire({key:t,domEvent:e}),this._showCursor(),this.coreService.triggerDataEvent(t,!0),this._keyPressHandled=!0,this._unprocessedDeadKey=!1,0))},t.prototype._inputEvent=function(e){if(e.data&&"insertText"===e.inputType&&(!e.composed||!this._keyDownSeen)&&!this.optionsService.rawOptions.screenReaderMode){if(this._keyPressHandled)return!1;this._unprocessedDeadKey=!1;var t=e.data;return this.coreService.triggerDataEvent(t,!0),this.cancel(e),!0}return!1},t.prototype.bell=function(){var e;this._soundBell()&&(null===(e=this._soundService)||void 0===e||e.playBellSound()),this._onBell.fire()},t.prototype.resize=function(t,n){t!==this.cols||n!==this.rows?e.prototype.resize.call(this,t,n):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},t.prototype._afterResize=function(e,t){var n,i;null===(n=this._charSizeService)||void 0===n||n.measure(),null===(i=this.viewport)||void 0===i||i.syncScrollArea(!0)},t.prototype.clear=function(){if(0!==this.buffer.ybase||0!==this.buffer.y){this.buffer.clearAllMarkers(),this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var e=1;e{Object.defineProperty(t,"__esModule",{value:!0}),t.TimeBasedDebouncer=void 0;var n=function(){function e(e,t){void 0===t&&(t=1e3),this._renderCallback=e,this._debounceThresholdMS=t,this._lastRefreshMs=0,this._additionalRefreshRequested=!1}return e.prototype.dispose=function(){this._refreshTimeoutID&&clearTimeout(this._refreshTimeoutID)},e.prototype.refresh=function(e,t,n){var i=this;this._rowCount=n,e=void 0!==e?e:0,t=void 0!==t?t:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,e):e,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,t):t;var o=Date.now();if(o-this._lastRefreshMs>=this._debounceThresholdMS)this._lastRefreshMs=o,this._innerRefresh();else if(!this._additionalRefreshRequested){var r=o-this._lastRefreshMs,a=this._debounceThresholdMS-r;this._additionalRefreshRequested=!0,this._refreshTimeoutID=window.setTimeout(function(){i._lastRefreshMs=Date.now(),i._innerRefresh(),i._additionalRefreshRequested=!1,i._refreshTimeoutID=void 0},a)}},e.prototype._innerRefresh=function(){if(void 0!==this._rowStart&&void 0!==this._rowEnd&&void 0!==this._rowCount){var e=Math.max(this._rowStart,0),t=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(e,t)}},e}();t.TimeBasedDebouncer=n},1680:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Viewport=void 0;var s=n(844),c=n(3656),l=n(4725),u=n(2585),d=function(e){function t(t,n,i,o,r,a,s,l){var u=e.call(this)||this;return u._scrollLines=t,u._viewportElement=n,u._scrollArea=i,u._element=o,u._bufferService=r,u._optionsService=a,u._charSizeService=s,u._renderService=l,u.scrollBarWidth=0,u._currentRowHeight=0,u._currentScaledCellHeight=0,u._lastRecordedBufferLength=0,u._lastRecordedViewportHeight=0,u._lastRecordedBufferHeight=0,u._lastTouchY=0,u._lastScrollTop=0,u._wheelPartialScroll=0,u._refreshAnimationFrame=null,u._ignoreNextScrollEvent=!1,u.scrollBarWidth=u._viewportElement.offsetWidth-u._scrollArea.offsetWidth||15,u.register((0,c.addDisposableDomListener)(u._viewportElement,"scroll",u._onScroll.bind(u))),u._activeBuffer=u._bufferService.buffer,u.register(u._bufferService.buffers.onBufferActivate(function(e){return u._activeBuffer=e.activeBuffer})),u._renderDimensions=u._renderService.dimensions,u.register(u._renderService.onDimensionsChange(function(e){return u._renderDimensions=e})),setTimeout(function(){return u.syncScrollArea()},0),u}return o(t,e),t.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},t.prototype._refresh=function(e){var t=this;if(e)return this._innerRefresh(),void(null!==this._refreshAnimationFrame&&cancelAnimationFrame(this._refreshAnimationFrame));null===this._refreshAnimationFrame&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return t._innerRefresh()}))},t.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._currentScaledCellHeight=this._renderService.dimensions.scaledCellHeight,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var t=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==t&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=t),this._refreshAnimationFrame=null},t.prototype.syncScrollArea=function(e){if(void 0===e&&(e=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight&&this._lastScrollTop===this._activeBuffer.ydisp*this._currentRowHeight&&this._renderDimensions.scaledCellHeight===this._currentScaledCellHeight||this._refresh(e)},t.prototype._onScroll=function(e){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent){if(this._ignoreNextScrollEvent)return this._ignoreNextScrollEvent=!1,void this._scrollLines(0);var t=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(t)}},t.prototype._bubbleScroll=function(e,t){var n=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(t<0&&0!==this._viewportElement.scrollTop||t>0&&n0?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._bufferService.rows),t},t.prototype._applyScrollModifier=function(e,t){var n=this._optionsService.rawOptions.fastScrollModifier;return"alt"===n&&t.altKey||"ctrl"===n&&t.ctrlKey||"shift"===n&&t.shiftKey?e*this._optionsService.rawOptions.fastScrollSensitivity*this._optionsService.rawOptions.scrollSensitivity:e*this._optionsService.rawOptions.scrollSensitivity},t.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},t.prototype.onTouchMove=function(e){var t=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,0!==t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))},r([a(4,u.IBufferService),a(5,u.IOptionsService),a(6,l.ICharSizeService),a(7,l.IRenderService)],t)}(s.Disposable);t.Viewport=d},3107:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.BufferDecorationRenderer=void 0;var c=n(3656),l=n(4725),u=n(844),d=n(2585),h=function(e){function t(t,n,i,o){var r=e.call(this)||this;return r._screenElement=t,r._bufferService=n,r._decorationService=i,r._renderService=o,r._decorationElements=new Map,r._altBufferIsActive=!1,r._dimensionsChanged=!1,r._container=document.createElement("div"),r._container.classList.add("xterm-decoration-container"),r._screenElement.appendChild(r._container),r.register(r._renderService.onRenderedViewportChange(function(){return r._queueRefresh()})),r.register(r._renderService.onDimensionsChange(function(){r._dimensionsChanged=!0,r._queueRefresh()})),r.register((0,c.addDisposableDomListener)(window,"resize",function(){return r._queueRefresh()})),r.register(r._bufferService.buffers.onBufferActivate(function(){r._altBufferIsActive=r._bufferService.buffer===r._bufferService.buffers.alt})),r.register(r._decorationService.onDecorationRegistered(function(){return r._queueRefresh()})),r.register(r._decorationService.onDecorationRemoved(function(e){return r._removeDecoration(e)})),r}return o(t,e),t.prototype.dispose=function(){this._container.remove(),this._decorationElements.clear(),e.prototype.dispose.call(this)},t.prototype._queueRefresh=function(){var e=this;void 0===this._animationFrame&&(this._animationFrame=this._renderService.addRefreshCallback(function(){e.refreshDecorations(),e._animationFrame=void 0}))},t.prototype.refreshDecorations=function(){var e,t;try{for(var n=s(this._decorationService.decorations),i=n.next();!i.done;i=n.next()){var o=i.value;this._renderDecoration(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this._dimensionsChanged=!1},t.prototype._renderDecoration=function(e){this._refreshStyle(e),this._dimensionsChanged&&this._refreshXPosition(e)},t.prototype._createElement=function(e){var t,n=document.createElement("div");n.classList.add("xterm-decoration"),n.style.width=Math.round((e.options.width||1)*this._renderService.dimensions.actualCellWidth)+"px",n.style.height=(e.options.height||1)*this._renderService.dimensions.actualCellHeight+"px",n.style.top=(e.marker.line-this._bufferService.buffers.active.ydisp)*this._renderService.dimensions.actualCellHeight+"px",n.style.lineHeight=this._renderService.dimensions.actualCellHeight+"px";var i=null!==(t=e.options.x)&&void 0!==t?t:0;return i&&i>this._bufferService.cols&&(n.style.display="none"),this._refreshXPosition(e,n),n},t.prototype._refreshStyle=function(e){var t=this,n=e.marker.line-this._bufferService.buffers.active.ydisp;if(n<0||n>=this._bufferService.rows)e.element&&(e.element.style.display="none",e.onRenderEmitter.fire(e.element));else{var i=this._decorationElements.get(e);i||(e.onDispose(function(){return t._removeDecoration(e)}),i=this._createElement(e),e.element=i,this._decorationElements.set(e,i),this._container.appendChild(i)),i.style.top=n*this._renderService.dimensions.actualCellHeight+"px",i.style.display=this._altBufferIsActive?"none":"block",e.onRenderEmitter.fire(i)}},t.prototype._refreshXPosition=function(e,t){var n;if(void 0===t&&(t=e.element),t){var i=null!==(n=e.options.x)&&void 0!==n?n:0;"right"===(e.options.anchor||"left")?t.style.right=i?i*this._renderService.dimensions.actualCellWidth+"px":"":t.style.left=i?i*this._renderService.dimensions.actualCellWidth+"px":""}},t.prototype._removeDecoration=function(e){var t;null===(t=this._decorationElements.get(e))||void 0===t||t.remove(),this._decorationElements.delete(e)},r([a(1,d.IBufferService),a(2,d.IDecorationService),a(3,l.IRenderService)],t)}(u.Disposable);t.BufferDecorationRenderer=h},5871:function(e,t){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.ColorZoneStore=void 0;var i=function(){function e(){this._zones=[],this._zonePool=[],this._zonePoolIndex=0,this._linePadding={full:0,left:0,center:0,right:0}}return Object.defineProperty(e.prototype,"zones",{get:function(){return this._zonePool.length=Math.min(this._zonePool.length,this._zones.length),this._zones},enumerable:!1,configurable:!0}),e.prototype.clear=function(){this._zones.length=0,this._zonePoolIndex=0},e.prototype.addDecoration=function(e){var t,i;if(e.options.overviewRulerOptions){try{for(var o=n(this._zones),r=o.next();!r.done;r=o.next()){var a=r.value;if(a.color===e.options.overviewRulerOptions.color&&a.position===e.options.overviewRulerOptions.position){if(this._lineIntersectsZone(a,e.marker.line))return;if(this._lineAdjacentToZone(a,e.marker.line,e.options.overviewRulerOptions.position))return void this._addLineToZone(a,e.marker.line)}}}catch(e){t={error:e}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}if(this._zonePoolIndex=e.startBufferLine&&t<=e.endBufferLine},e.prototype._lineAdjacentToZone=function(e,t,n){return t>=e.startBufferLine-this._linePadding[n||"full"]&&t<=e.endBufferLine+this._linePadding[n||"full"]},e.prototype._addLineToZone=function(e,t){e.startBufferLine=Math.min(e.startBufferLine,t),e.endBufferLine=Math.max(e.endBufferLine,t)},e}();t.ColorZoneStore=i},5744:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.OverviewRulerRenderer=void 0;var c=n(5871),l=n(3656),u=n(4725),d=n(844),h=n(2585),p={full:0,left:0,center:0,right:0},f={full:0,left:0,center:0,right:0},m={full:0,left:0,center:0,right:0},g=function(e){function t(t,n,i,o,r,a){var s,l=e.call(this)||this;l._viewportElement=t,l._screenElement=n,l._bufferService=i,l._decorationService=o,l._renderService=r,l._optionsService=a,l._colorZoneStore=new c.ColorZoneStore,l._shouldUpdateDimensions=!0,l._shouldUpdateAnchor=!0,l._lastKnownBufferLength=0,l._canvas=document.createElement("canvas"),l._canvas.classList.add("xterm-decoration-overview-ruler"),l._refreshCanvasDimensions(),null===(s=l._viewportElement.parentElement)||void 0===s||s.insertBefore(l._canvas,l._viewportElement);var u=l._canvas.getContext("2d");if(!u)throw new Error("Ctx cannot be null");return l._ctx=u,l._registerDecorationListeners(),l._registerBufferChangeListeners(),l._registerDimensionChangeListeners(),l}return o(t,e),Object.defineProperty(t.prototype,"_width",{get:function(){return this._optionsService.options.overviewRulerWidth||0},enumerable:!1,configurable:!0}),t.prototype._registerDecorationListeners=function(){var e=this;this.register(this._decorationService.onDecorationRegistered(function(){return e._queueRefresh(void 0,!0)})),this.register(this._decorationService.onDecorationRemoved(function(){return e._queueRefresh(void 0,!0)}))},t.prototype._registerBufferChangeListeners=function(){var e=this;this.register(this._renderService.onRenderedViewportChange(function(){return e._queueRefresh()})),this.register(this._bufferService.buffers.onBufferActivate(function(){e._canvas.style.display=e._bufferService.buffer===e._bufferService.buffers.alt?"none":"block"})),this.register(this._bufferService.onScroll(function(){e._lastKnownBufferLength!==e._bufferService.buffers.normal.lines.length&&(e._refreshDrawHeightConstants(),e._refreshColorZonePadding())}))},t.prototype._registerDimensionChangeListeners=function(){var e=this;this.register(this._renderService.onRender(function(){e._containerHeight&&e._containerHeight===e._screenElement.clientHeight||(e._queueRefresh(!0),e._containerHeight=e._screenElement.clientHeight)})),this.register(this._optionsService.onOptionChange(function(t){"overviewRulerWidth"===t&&e._queueRefresh(!0)})),this.register((0,l.addDisposableDomListener)(window,"resize",function(){e._queueRefresh(!0)})),this._queueRefresh(!0)},t.prototype.dispose=function(){var t;null===(t=this._canvas)||void 0===t||t.remove(),e.prototype.dispose.call(this)},t.prototype._refreshDrawConstants=function(){var e=Math.floor(this._canvas.width/3),t=Math.ceil(this._canvas.width/3);f.full=this._canvas.width,f.left=e,f.center=t,f.right=e,this._refreshDrawHeightConstants(),m.full=0,m.left=0,m.center=f.left,m.right=f.left+f.center},t.prototype._refreshDrawHeightConstants=function(){p.full=Math.round(2*window.devicePixelRatio);var e=this._canvas.height/this._bufferService.buffer.lines.length,t=Math.round(Math.max(Math.min(e,12),6)*window.devicePixelRatio);p.left=t,p.center=t,p.right=t},t.prototype._refreshColorZonePadding=function(){this._colorZoneStore.setPadding({full:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*p.full),left:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*p.left),center:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*p.center),right:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*p.right)}),this._lastKnownBufferLength=this._bufferService.buffers.normal.lines.length},t.prototype._refreshCanvasDimensions=function(){this._canvas.style.width=this._width+"px",this._canvas.width=Math.round(this._width*window.devicePixelRatio),this._canvas.style.height=this._screenElement.clientHeight+"px",this._canvas.height=Math.round(this._screenElement.clientHeight*window.devicePixelRatio),this._refreshDrawConstants(),this._refreshColorZonePadding()},t.prototype._refreshDecorations=function(){var e,t,n,i,o,r;this._shouldUpdateDimensions&&this._refreshCanvasDimensions(),this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height),this._colorZoneStore.clear();try{for(var a=s(this._decorationService.decorations),c=a.next();!c.done;c=a.next()){var l=c.value;this._colorZoneStore.addDecoration(l)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}this._ctx.lineWidth=1;var u=this._colorZoneStore.zones;try{for(var d=s(u),h=d.next();!h.done;h=d.next())"full"!==(m=h.value).position&&this._renderColorZone(m)}catch(e){n={error:e}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}try{for(var p=s(u),f=p.next();!f.done;f=p.next()){var m;"full"===(m=f.value).position&&this._renderColorZone(m)}}catch(e){o={error:e}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(o)throw o.error}}this._shouldUpdateDimensions=!1,this._shouldUpdateAnchor=!1},t.prototype._renderColorZone=function(e){this._ctx.fillStyle=e.color,this._ctx.fillRect(m[e.position||"full"],Math.round((this._canvas.height-1)*(e.startBufferLine/this._bufferService.buffers.active.lines.length)-p[e.position||"full"]/2),f[e.position||"full"],Math.round((this._canvas.height-1)*((e.endBufferLine-e.startBufferLine)/this._bufferService.buffers.active.lines.length)+p[e.position||"full"]))},t.prototype._queueRefresh=function(e,t){var n=this;this._shouldUpdateDimensions=e||this._shouldUpdateDimensions,this._shouldUpdateAnchor=t||this._shouldUpdateAnchor,void 0===this._animationFrame&&(this._animationFrame=window.requestAnimationFrame(function(){n._refreshDecorations(),n._animationFrame=void 0}))},r([a(2,h.IBufferService),a(3,h.IDecorationService),a(4,u.IRenderService),a(5,h.IOptionsService)],t)}(d.Disposable);t.OverviewRulerRenderer=g},2950:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionHelper=void 0;var r=n(4725),a=n(2585),s=function(){function e(e,t,n,i,o,r){this._textarea=e,this._compositionView=t,this._bufferService=n,this._optionsService=i,this._coreService=o,this._renderService=r,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0},this._dataAlreadySent=""}return Object.defineProperty(e.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),e.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._dataAlreadySent="",this._compositionView.classList.add("active")},e.prototype.compositionupdate=function(e){var t=this;this._compositionView.textContent=e.data,this.updateCompositionElements(),setTimeout(function(){t._compositionPosition.end=t._textarea.value.length},0)},e.prototype.compositionend=function(){this._finalizeComposition(!0)},e.prototype.keydown=function(e){if(this._isComposing||this._isSendingComposition){if(229===e.keyCode)return!1;if(16===e.keyCode||17===e.keyCode||18===e.keyCode)return!1;this._finalizeComposition(!1)}return 229!==e.keyCode||(this._handleAnyTextareaChanges(),!1)},e.prototype._finalizeComposition=function(e){var t=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,e){var n={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){var e;t._isSendingComposition&&(t._isSendingComposition=!1,n.start+=t._dataAlreadySent.length,(e=t._isComposing?t._textarea.value.substring(n.start,n.end):t._textarea.value.substring(n.start)).length>0&&t._coreService.triggerDataEvent(e,!0))},0)}else{this._isSendingComposition=!1;var i=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(i,!0)}},e.prototype._handleAnyTextareaChanges=function(){var e=this,t=this._textarea.value;setTimeout(function(){if(!e._isComposing){var n=e._textarea.value.replace(t,"");n.length>0&&(e._dataAlreadySent=n,e._coreService.triggerDataEvent(n,!0))}},0)},e.prototype.updateCompositionElements=function(e){var t=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var n=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),i=this._renderService.dimensions.actualCellHeight,o=this._bufferService.buffer.y*this._renderService.dimensions.actualCellHeight,r=n*this._renderService.dimensions.actualCellWidth;this._compositionView.style.left=r+"px",this._compositionView.style.top=o+"px",this._compositionView.style.height=i+"px",this._compositionView.style.lineHeight=i+"px",this._compositionView.style.fontFamily=this._optionsService.rawOptions.fontFamily,this._compositionView.style.fontSize=this._optionsService.rawOptions.fontSize+"px";var a=this._compositionView.getBoundingClientRect();this._textarea.style.left=r+"px",this._textarea.style.top=o+"px",this._textarea.style.width=Math.max(a.width,1)+"px",this._textarea.style.height=Math.max(a.height,1)+"px",this._textarea.style.lineHeight=a.height+"px"}e||setTimeout(function(){return t.updateCompositionElements(!0)},0)}},i([o(2,a.IBufferService),o(3,a.IOptionsService),o(4,a.ICoreService),o(5,r.IRenderService)],e)}();t.CompositionHelper=s},9806:(e,t)=>{function n(e,t,n){var i=n.getBoundingClientRect(),o=e.getComputedStyle(n),r=parseInt(o.getPropertyValue("padding-left")),a=parseInt(o.getPropertyValue("padding-top"));return[t.clientX-i.left-r,t.clientY-i.top-a]}Object.defineProperty(t,"__esModule",{value:!0}),t.getRawByteCoords=t.getCoords=t.getCoordsRelativeToElement=void 0,t.getCoordsRelativeToElement=n,t.getCoords=function(e,t,i,o,r,a,s,c,l){if(a){var u=n(e,t,i);if(u)return u[0]=Math.ceil((u[0]+(l?s/2:0))/s),u[1]=Math.ceil(u[1]/c),u[0]=Math.min(Math.max(u[0],1),o+(l?1:0)),u[1]=Math.min(Math.max(u[1],1),r),u}},t.getRawByteCoords=function(e){if(e)return{x:e[0]+32,y:e[1]+32}}},9504:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.moveToCellSequence=void 0;var i=n(2584);function o(e,t,n,i){var o=e-r(n,e),s=t-r(n,t),u=Math.abs(o-s)-function(e,t,n){for(var i=0,o=e-r(n,e),s=t-r(n,t),c=0;c=0&&tt?"A":"B"}function s(e,t,n,i,o,r){for(var a=e,s=t,c="";a!==n||s!==i;)a+=o?1:-1,o&&a>r.cols-1?(c+=r.buffer.translateBufferLineToString(s,!1,e,a),a=0,e=0,s++):!o&&a<0&&(c+=r.buffer.translateBufferLineToString(s,!1,0,e+1),e=a=r.cols-1,s--);return c+r.buffer.translateBufferLineToString(s,!1,e,a)}function c(e,t){var n=t?"O":"[";return i.C0.ESC+n+e}function l(e,t){e=Math.floor(e);for(var n="",i=0;i0?i-r(a,i):t;var h=i,p=function(e,t,n,i,a,s){var c;return c=o(n,i,a,s).length>0?i-r(a,i):t,e=n&&ce?"D":"C",l(Math.abs(u-e),c(a,i));a=d>t?"D":"C";var h=Math.abs(d-t);return l(function(e,t){return t.cols-e}(d>t?e:u,n)+(h-1)*n.cols+1+((d>t?u:e)-1),c(a,i))}},4389:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.Terminal=void 0;var r=n(3236),a=n(9042),s=n(7975),c=n(7090),l=n(5741),u=n(8285),d=["cols","rows"],h=function(){function e(e){var t=this;this._core=new r.Terminal(e),this._addonManager=new l.AddonManager,this._publicOptions=i({},this._core.options);var n=function(e){return t._core.options[e]},o=function(e,n){t._checkReadonlyOptions(e),t._core.options[e]=n};for(var a in this._core.options){var s={get:n.bind(this,a),set:o.bind(this,a)};Object.defineProperty(this._publicOptions,a,s)}}return e.prototype._checkReadonlyOptions=function(e){if(d.includes(e))throw new Error('Option "'+e+'" can only be set in the constructor')},e.prototype._checkProposedApi=function(){if(!this._core.optionsService.rawOptions.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(e.prototype,"onBell",{get:function(){return this._core.onBell},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onWriteParsed",{get:function(){return this._core.onWriteParsed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new s.ParserApi(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unicode",{get:function(){return this._checkProposedApi(),new c.UnicodeApi(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"buffer",{get:function(){return this._checkProposedApi(),this._buffer||(this._buffer=new u.BufferNamespaceApi(this._core)),this._buffer},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"modes",{get:function(){var e=this._core.coreService.decPrivateModes,t="none";switch(this._core.coreMouseService.activeProtocol){case"X10":t="x10";break;case"VT200":t="vt200";break;case"DRAG":t="drag";break;case"ANY":t="any"}return{applicationCursorKeysMode:e.applicationCursorKeys,applicationKeypadMode:e.applicationKeypad,bracketedPasteMode:e.bracketedPasteMode,insertMode:this._core.coreService.modes.insertMode,mouseTrackingMode:t,originMode:e.origin,reverseWraparoundMode:e.reverseWraparound,sendFocusMode:e.sendFocus,wraparoundMode:e.wraparound}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this._publicOptions},set:function(e){for(var t in e)this._publicOptions[t]=e[t]},enumerable:!1,configurable:!0}),e.prototype.blur=function(){this._core.blur()},e.prototype.focus=function(){this._core.focus()},e.prototype.resize=function(e,t){this._verifyIntegers(e,t),this._core.resize(e,t)},e.prototype.open=function(e){this._core.open(e)},e.prototype.attachCustomKeyEventHandler=function(e){this._core.attachCustomKeyEventHandler(e)},e.prototype.registerLinkMatcher=function(e,t,n){return this._checkProposedApi(),this._core.registerLinkMatcher(e,t,n)},e.prototype.deregisterLinkMatcher=function(e){this._checkProposedApi(),this._core.deregisterLinkMatcher(e)},e.prototype.registerLinkProvider=function(e){return this._checkProposedApi(),this._core.registerLinkProvider(e)},e.prototype.registerCharacterJoiner=function(e){return this._checkProposedApi(),this._core.registerCharacterJoiner(e)},e.prototype.deregisterCharacterJoiner=function(e){this._checkProposedApi(),this._core.deregisterCharacterJoiner(e)},e.prototype.registerMarker=function(e){return void 0===e&&(e=0),this._checkProposedApi(),this._verifyIntegers(e),this._core.addMarker(e)},e.prototype.registerDecoration=function(e){var t,n,i;return this._checkProposedApi(),this._verifyPositiveIntegers(null!==(t=e.x)&&void 0!==t?t:0,null!==(n=e.width)&&void 0!==n?n:0,null!==(i=e.height)&&void 0!==i?i:0),this._core.registerDecoration(e)},e.prototype.addMarker=function(e){return this.registerMarker(e)},e.prototype.hasSelection=function(){return this._core.hasSelection()},e.prototype.select=function(e,t,n){this._verifyIntegers(e,t,n),this._core.select(e,t,n)},e.prototype.getSelection=function(){return this._core.getSelection()},e.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},e.prototype.clearSelection=function(){this._core.clearSelection()},e.prototype.selectAll=function(){this._core.selectAll()},e.prototype.selectLines=function(e,t){this._verifyIntegers(e,t),this._core.selectLines(e,t)},e.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},e.prototype.scrollLines=function(e){this._verifyIntegers(e),this._core.scrollLines(e)},e.prototype.scrollPages=function(e){this._verifyIntegers(e),this._core.scrollPages(e)},e.prototype.scrollToTop=function(){this._core.scrollToTop()},e.prototype.scrollToBottom=function(){this._core.scrollToBottom()},e.prototype.scrollToLine=function(e){this._verifyIntegers(e),this._core.scrollToLine(e)},e.prototype.clear=function(){this._core.clear()},e.prototype.write=function(e,t){this._core.write(e,t)},e.prototype.writeUtf8=function(e,t){this._core.write(e,t)},e.prototype.writeln=function(e,t){this._core.write(e),this._core.write("\r\n",t)},e.prototype.paste=function(e){this._core.paste(e)},e.prototype.getOption=function(e){return this._core.optionsService.getOption(e)},e.prototype.setOption=function(e,t){this._checkReadonlyOptions(e),this._core.optionsService.setOption(e,t)},e.prototype.refresh=function(e,t){this._verifyIntegers(e,t),this._core.refresh(e,t)},e.prototype.reset=function(){this._core.reset()},e.prototype.clearTextureAtlas=function(){this._core.clearTextureAtlas()},e.prototype.loadAddon=function(e){return this._addonManager.loadAddon(this,e)},Object.defineProperty(e,"strings",{get:function(){return a},enumerable:!1,configurable:!0}),e.prototype._verifyIntegers=function(){for(var e,t,n=[],i=0;i=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseRenderLayer=void 0;var o=n(643),r=n(8803),a=n(1420),s=n(3734),c=n(1752),l=n(8055),u=n(9631),d=n(8978),h=function(){function e(e,t,n,i,o,r,a,s,c){this._container=e,this._alpha=i,this._colors=o,this._rendererId=r,this._bufferService=a,this._optionsService=s,this._decorationService=c,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._columnSelectMode=!1,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+t+"-layer"),this._canvas.style.zIndex=n.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return e.prototype.dispose=function(){var e;(0,u.removeElementFromParent)(this._canvas),null===(e=this._charAtlas)||void 0===e||e.dispose()},e.prototype._initCanvas=function(){this._ctx=(0,c.throwIfFalsy)(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},e.prototype.onOptionsChanged=function(){},e.prototype.onBlur=function(){},e.prototype.onFocus=function(){},e.prototype.onCursorMove=function(){},e.prototype.onGridChanged=function(e,t){},e.prototype.onSelectionChanged=function(e,t,n){void 0===n&&(n=!1),this._selectionStart=e,this._selectionEnd=t,this._columnSelectMode=n},e.prototype.setColors=function(e){this._refreshCharAtlas(e)},e.prototype._setTransparency=function(e){if(e!==this._alpha){var t=this._canvas;this._alpha=e,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,t),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},e.prototype._refreshCharAtlas=function(e){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=(0,a.acquireCharAtlas)(this._optionsService.rawOptions,this._rendererId,e,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},e.prototype.resize=function(e){this._scaledCellWidth=e.scaledCellWidth,this._scaledCellHeight=e.scaledCellHeight,this._scaledCharWidth=e.scaledCharWidth,this._scaledCharHeight=e.scaledCharHeight,this._scaledCharLeft=e.scaledCharLeft,this._scaledCharTop=e.scaledCharTop,this._canvas.width=e.scaledCanvasWidth,this._canvas.height=e.scaledCanvasHeight,this._canvas.style.width=e.canvasWidth+"px",this._canvas.style.height=e.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},e.prototype.clearTextureAtlas=function(){var e;null===(e=this._charAtlas)||void 0===e||e.clear()},e.prototype._fillCells=function(e,t,n,i){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,i*this._scaledCellHeight)},e.prototype._fillMiddleLineAtCells=function(e,t,n){void 0===n&&(n=1);var i=Math.ceil(.5*this._scaledCellHeight);this._ctx.fillRect(e*this._scaledCellWidth,(t+1)*this._scaledCellHeight-i-window.devicePixelRatio,n*this._scaledCellWidth,window.devicePixelRatio)},e.prototype._fillBottomLineAtCells=function(e,t,n){void 0===n&&(n=1),this._ctx.fillRect(e*this._scaledCellWidth,(t+1)*this._scaledCellHeight-window.devicePixelRatio-1,n*this._scaledCellWidth,window.devicePixelRatio)},e.prototype._fillLeftLineAtCell=function(e,t,n){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,window.devicePixelRatio*n,this._scaledCellHeight)},e.prototype._strokeRectAtCell=function(e,t,n,i){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(e*this._scaledCellWidth+window.devicePixelRatio/2,t*this._scaledCellHeight+window.devicePixelRatio/2,n*this._scaledCellWidth-window.devicePixelRatio,i*this._scaledCellHeight-window.devicePixelRatio)},e.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},e.prototype._clearCells=function(e,t,n,i){this._alpha?this._ctx.clearRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,i*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,i*this._scaledCellHeight))},e.prototype._fillCharTrueColor=function(e,t,n){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline=r.TEXT_BASELINE,this._clipRow(n);var i=!1;!1!==this._optionsService.rawOptions.customGlyphs&&(i=(0,d.tryDrawCustomChar)(this._ctx,e.getChars(),t*this._scaledCellWidth,n*this._scaledCellHeight,this._scaledCellWidth,this._scaledCellHeight)),i||this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight)},e.prototype._drawChars=function(e,t,n){var a,s,c,l=this._getContrastColor(e,t,n);if(l||e.isFgRGB()||e.isBgRGB())this._drawUncachedChars(e,t,n,l);else{var u,d;e.isInverse()?(u=e.isBgDefault()?r.INVERTED_DEFAULT_COLOR:e.getBgColor(),d=e.isFgDefault()?r.INVERTED_DEFAULT_COLOR:e.getFgColor()):(d=e.isBgDefault()?o.DEFAULT_COLOR:e.getBgColor(),u=e.isFgDefault()?o.DEFAULT_COLOR:e.getFgColor()),u+=this._optionsService.rawOptions.drawBoldTextInBrightColors&&e.isBold()&&u<8?8:0,this._currentGlyphIdentifier.chars=e.getChars()||o.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=e.getCode()||o.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=d,this._currentGlyphIdentifier.fg=u,this._currentGlyphIdentifier.bold=!!e.isBold(),this._currentGlyphIdentifier.dim=!!e.isDim(),this._currentGlyphIdentifier.italic=!!e.isItalic();var h=!1;try{for(var p=i(this._decorationService.getDecorationsAtCell(t,n)),f=p.next();!f.done;f=p.next()){var m=f.value;if(m.backgroundColorRGB||m.foregroundColorRGB){h=!0;break}}}catch(e){a={error:e}}finally{try{f&&!f.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}!h&&(null===(c=this._charAtlas)||void 0===c?void 0:c.draw(this._ctx,this._currentGlyphIdentifier,t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop))||this._drawUncachedChars(e,t,n)}},e.prototype._drawUncachedChars=function(e,t,n,i){if(this._ctx.save(),this._ctx.font=this._getFont(!!e.isBold(),!!e.isItalic()),this._ctx.textBaseline=r.TEXT_BASELINE,e.isInverse())if(i)this._ctx.fillStyle=i.css;else if(e.isBgDefault())this._ctx.fillStyle=l.color.opaque(this._colors.background).css;else if(e.isBgRGB())this._ctx.fillStyle="rgb("+s.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var o=e.getBgColor();this._optionsService.rawOptions.drawBoldTextInBrightColors&&e.isBold()&&o<8&&(o+=8),this._ctx.fillStyle=this._colors.ansi[o].css}else if(i)this._ctx.fillStyle=i.css;else if(e.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(e.isFgRGB())this._ctx.fillStyle="rgb("+s.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var a=e.getFgColor();this._optionsService.rawOptions.drawBoldTextInBrightColors&&e.isBold()&&a<8&&(a+=8),this._ctx.fillStyle=this._colors.ansi[a].css}this._clipRow(n),e.isDim()&&(this._ctx.globalAlpha=r.DIM_OPACITY);var c=!1;!1!==this._optionsService.rawOptions.customGlyphs&&(c=(0,d.tryDrawCustomChar)(this._ctx,e.getChars(),t*this._scaledCellWidth,n*this._scaledCellHeight,this._scaledCellWidth,this._scaledCellHeight)),c||this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight),this._ctx.restore()},e.prototype._clipRow=function(e){this._ctx.beginPath(),this._ctx.rect(0,e*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},e.prototype._getFont=function(e,t){return(t?"italic":"")+" "+(e?this._optionsService.rawOptions.fontWeightBold:this._optionsService.rawOptions.fontWeight)+" "+this._optionsService.rawOptions.fontSize*window.devicePixelRatio+"px "+this._optionsService.rawOptions.fontFamily},e.prototype._getContrastColor=function(e,t,n){var o,r,a,s,u=!1;try{for(var d=i(this._decorationService.getDecorationsAtCell(t,n)),h=d.next();!h.done;h=d.next()){var p=h.value;"top"!==p.options.layer&&u||(p.backgroundColorRGB&&(a=p.backgroundColorRGB.rgba),p.foregroundColorRGB&&(s=p.foregroundColorRGB.rgba),u="top"===p.options.layer)}}catch(e){o={error:e}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(o)throw o.error}}if(u||this._colors.selectionForeground&&this._isCellInSelection(t,n)&&(s=this._colors.selectionForeground.rgba),a||s||1!==this._optionsService.rawOptions.minimumContrastRatio&&!(0,c.excludeFromContrastRatioDemands)(e.getCode())){if(!a&&!s){var f=this._colors.contrastCache.getColor(e.bg,e.fg);if(void 0!==f)return f||void 0}var m=e.getFgColor(),g=e.getFgColorMode(),v=e.getBgColor(),_=e.getBgColorMode(),b=!!e.isInverse(),y=!!e.isInverse();if(b){var M=m;m=v,v=M;var w=g;g=_,_=w}var L=this._resolveBackgroundRgba(void 0!==a?50331648:_,null!=a?a:v,b),S=this._resolveForegroundRgba(g,m,b,y),C=l.rgba.ensureContrastRatio(null!=a?a:L,null!=s?s:S,this._optionsService.rawOptions.minimumContrastRatio);if(!C){if(!s)return void this._colors.contrastCache.setColor(e.bg,e.fg,null);C=s}var E={css:l.channels.toCss(C>>24&255,C>>16&255,C>>8&255),rgba:C};return a||s||this._colors.contrastCache.setColor(e.bg,e.fg,E),E}},e.prototype._resolveBackgroundRgba=function(e,t,n){switch(e){case 16777216:case 33554432:return this._colors.ansi[t].rgba;case 50331648:return t<<8;default:return n?this._colors.foreground.rgba:this._colors.background.rgba}},e.prototype._resolveForegroundRgba=function(e,t,n,i){switch(e){case 16777216:case 33554432:return this._optionsService.rawOptions.drawBoldTextInBrightColors&&i&&t<8&&(t+=8),this._colors.ansi[t].rgba;case 50331648:return t<<8;default:return n?this._colors.background.rgba:this._colors.foreground.rgba}},e.prototype._isCellInSelection=function(e,t){var n=this._selectionStart,i=this._selectionEnd;return!(!n||!i)&&(this._columnSelectMode?e>=n[0]&&t>=n[1]&&en[1]&&t=n[0]&&e=n[0])},e}();t.BaseRenderLayer=h},2512:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CursorRenderLayer=void 0;var s=n(1546),c=n(511),l=n(2585),u=n(4725),d=600,h=function(e){function t(t,n,i,o,r,a,s,l,u,d){var h=e.call(this,t,"cursor",n,!0,i,o,a,s,d)||this;return h._onRequestRedraw=r,h._coreService=l,h._coreBrowserService=u,h._cell=new c.CellData,h._state={x:0,y:0,isFocused:!1,style:"",width:0},h._cursorRenderers={bar:h._renderBarCursor.bind(h),block:h._renderBlockCursor.bind(h),underline:h._renderUnderlineCursor.bind(h)},h}return o(t,e),t.prototype.dispose=function(){this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0),e.prototype.dispose.call(this)},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},t.prototype.reset=function(){var e;this._clearCursor(),null===(e=this._cursorBlinkStateManager)||void 0===e||e.restartBlinkAnimation(),this.onOptionsChanged()},t.prototype.onBlur=function(){var e;null===(e=this._cursorBlinkStateManager)||void 0===e||e.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onFocus=function(){var e;null===(e=this._cursorBlinkStateManager)||void 0===e||e.resume(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onOptionsChanged=function(){var e,t=this;this._optionsService.rawOptions.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new p(this._coreBrowserService.isFocused,function(){t._render(!0)})):(null===(e=this._cursorBlinkStateManager)||void 0===e||e.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onCursorMove=function(){var e;null===(e=this._cursorBlinkStateManager)||void 0===e||e.restartBlinkAnimation()},t.prototype.onGridChanged=function(e,t){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype._render=function(e){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var t=this._bufferService.buffer.ybase+this._bufferService.buffer.y,n=t-this._bufferService.buffer.ydisp;if(n<0||n>=this._bufferService.rows)this._clearCursor();else{var i=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(t).loadCell(i,this._cell),void 0!==this._cell.content){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var o=this._optionsService.rawOptions.cursorStyle;return o&&"block"!==o?this._cursorRenderers[o](i,n,this._cell):this._renderBlurCursor(i,n,this._cell),this._ctx.restore(),this._state.x=i,this._state.y=n,this._state.isFocused=!1,this._state.style=o,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===i&&this._state.y===n&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.rawOptions.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.rawOptions.cursorStyle||"block"](i,n,this._cell),this._ctx.restore(),this._state.x=i,this._state.y=n,this._state.isFocused=!1,this._state.style=this._optionsService.rawOptions.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},t.prototype._clearCursor=function(){this._state&&(window.devicePixelRatio<1?this._clearAll():this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},t.prototype._renderBarCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(e,t,this._optionsService.rawOptions.cursorWidth),this._ctx.restore()},t.prototype._renderBlockCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(e,t,n.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(n,e,t),this._ctx.restore()},t.prototype._renderUnderlineCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(e,t),this._ctx.restore()},t.prototype._renderBlurCursor=function(e,t,n){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(e,t,n.getWidth(),1),this._ctx.restore()},r([a(5,l.IBufferService),a(6,l.IOptionsService),a(7,l.ICoreService),a(8,u.ICoreBrowserService),a(9,l.IDecorationService)],t)}(s.BaseRenderLayer);t.CursorRenderLayer=h;var p=function(){function e(e,t){this._renderCallback=t,this.isCursorVisible=!0,e&&this._restartInterval()}return Object.defineProperty(e.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.restartBlinkAnimation=function(){var e=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){e._renderCallback(),e._animationFrame=void 0})))},e.prototype._restartInterval=function(e){var t=this;void 0===e&&(e=d),this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout=window.setTimeout(function(){if(t._animationTimeRestarted){var e=d-(Date.now()-t._animationTimeRestarted);if(t._animationTimeRestarted=void 0,e>0)return void t._restartInterval(e)}t.isCursorVisible=!1,t._animationFrame=window.requestAnimationFrame(function(){t._renderCallback(),t._animationFrame=void 0}),t._blinkInterval=window.setInterval(function(){if(t._animationTimeRestarted){var e=d-(Date.now()-t._animationTimeRestarted);return t._animationTimeRestarted=void 0,void t._restartInterval(e)}t.isCursorVisible=!t.isCursorVisible,t._animationFrame=window.requestAnimationFrame(function(){t._renderCallback(),t._animationFrame=void 0})},d)},e)},e.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},e}()},8978:function(e,t,n){var i,o,r,a,s,c,l,u,d,h,p,f,m,g,v,_,b,y,M,w,L,S,C,E,A,T,O,k,x,D,R,z,P,N,I,B,j,Y,H,W,q,F,X,U,V,G,K,$,J,Z,Q,ee,te,ne,ie,oe,re,ae,se,ce,le,ue,de,he,pe,fe,me,ge,ve,_e,be,ye,Me,we,Le,Se,Ce,Ee,Ae,Te,Oe,ke,xe,De,Re,ze,Pe,Ne,Ie,Be,je,Ye,He,We,qe,Fe,Xe,Ue,Ve,Ge,Ke,$e,Je,Ze,Qe,et,tt,nt,it,ot,rt,at,st,ct,lt,ut,dt,ht,pt,ft,mt,gt,vt,_t,bt,yt,Mt,wt,Lt=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},St=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.tryDrawCustomChar=t.powerlineDefinitions=t.boxDrawingDefinitions=t.blockElementDefinitions=void 0;var Ct=n(1752);t.blockElementDefinitions={"▀":[{x:0,y:0,w:8,h:4}],"▁":[{x:0,y:7,w:8,h:1}],"▂":[{x:0,y:6,w:8,h:2}],"▃":[{x:0,y:5,w:8,h:3}],"▄":[{x:0,y:4,w:8,h:4}],"▅":[{x:0,y:3,w:8,h:5}],"▆":[{x:0,y:2,w:8,h:6}],"▇":[{x:0,y:1,w:8,h:7}],"█":[{x:0,y:0,w:8,h:8}],"▉":[{x:0,y:0,w:7,h:8}],"▊":[{x:0,y:0,w:6,h:8}],"▋":[{x:0,y:0,w:5,h:8}],"▌":[{x:0,y:0,w:4,h:8}],"▍":[{x:0,y:0,w:3,h:8}],"▎":[{x:0,y:0,w:2,h:8}],"▏":[{x:0,y:0,w:1,h:8}],"▐":[{x:4,y:0,w:4,h:8}],"▔":[{x:0,y:0,w:9,h:1}],"▕":[{x:7,y:0,w:1,h:8}],"▖":[{x:0,y:4,w:4,h:4}],"▗":[{x:4,y:4,w:4,h:4}],"▘":[{x:0,y:0,w:4,h:4}],"▙":[{x:0,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"▚":[{x:0,y:0,w:4,h:4},{x:4,y:4,w:4,h:4}],"▛":[{x:0,y:0,w:4,h:8},{x:0,y:0,w:4,h:8}],"▜":[{x:0,y:0,w:8,h:4},{x:4,y:0,w:4,h:8}],"▝":[{x:4,y:0,w:4,h:4}],"▞":[{x:4,y:0,w:4,h:4},{x:0,y:4,w:4,h:4}],"▟":[{x:4,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"🭰":[{x:1,y:0,w:1,h:8}],"🭱":[{x:2,y:0,w:1,h:8}],"🭲":[{x:3,y:0,w:1,h:8}],"🭳":[{x:4,y:0,w:1,h:8}],"🭴":[{x:5,y:0,w:1,h:8}],"🭵":[{x:6,y:0,w:1,h:8}],"🭶":[{x:0,y:1,w:8,h:1}],"🭷":[{x:0,y:2,w:8,h:1}],"🭸":[{x:0,y:3,w:8,h:1}],"🭹":[{x:0,y:4,w:8,h:1}],"🭺":[{x:0,y:5,w:8,h:1}],"🭻":[{x:0,y:6,w:8,h:1}],"🭼":[{x:0,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"🭽":[{x:0,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"🭾":[{x:7,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"🭿":[{x:7,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"🮀":[{x:0,y:0,w:8,h:1},{x:0,y:7,w:8,h:1}],"🮁":[{x:0,y:0,w:8,h:1},{x:0,y:2,w:8,h:1},{x:0,y:4,w:8,h:1},{x:0,y:7,w:8,h:1}],"🮂":[{x:0,y:0,w:8,h:2}],"🮃":[{x:0,y:0,w:8,h:3}],"🮄":[{x:0,y:0,w:8,h:5}],"🮅":[{x:0,y:0,w:8,h:6}],"🮆":[{x:0,y:0,w:8,h:7}],"🮇":[{x:6,y:0,w:2,h:8}],"🮈":[{x:5,y:0,w:3,h:8}],"🮉":[{x:3,y:0,w:5,h:8}],"🮊":[{x:2,y:0,w:6,h:8}],"🮋":[{x:1,y:0,w:7,h:8}],"🮕":[{x:0,y:0,w:2,h:2},{x:4,y:0,w:2,h:2},{x:2,y:2,w:2,h:2},{x:6,y:2,w:2,h:2},{x:0,y:4,w:2,h:2},{x:4,y:4,w:2,h:2},{x:2,y:6,w:2,h:2},{x:6,y:6,w:2,h:2}],"🮖":[{x:2,y:0,w:2,h:2},{x:6,y:0,w:2,h:2},{x:0,y:2,w:2,h:2},{x:4,y:2,w:2,h:2},{x:2,y:4,w:2,h:2},{x:6,y:4,w:2,h:2},{x:0,y:6,w:2,h:2},{x:4,y:6,w:2,h:2}],"🮗":[{x:0,y:2,w:8,h:2},{x:0,y:6,w:8,h:2}]};var Et={"░":[[1,0,0,0],[0,0,0,0],[0,0,1,0],[0,0,0,0]],"▒":[[1,0],[0,0],[0,1],[0,0]],"▓":[[0,1],[1,1],[1,0],[1,1]]};t.boxDrawingDefinitions={"─":(i={},i[1]="M0,.5 L1,.5",i),"━":(o={},o[3]="M0,.5 L1,.5",o),"│":(r={},r[1]="M.5,0 L.5,1",r),"┃":(a={},a[3]="M.5,0 L.5,1",a),"┌":(s={},s[1]="M0.5,1 L.5,.5 L1,.5",s),"┏":(c={},c[3]="M0.5,1 L.5,.5 L1,.5",c),"┐":(l={},l[1]="M0,.5 L.5,.5 L.5,1",l),"┓":(u={},u[3]="M0,.5 L.5,.5 L.5,1",u),"└":(d={},d[1]="M.5,0 L.5,.5 L1,.5",d),"┗":(h={},h[3]="M.5,0 L.5,.5 L1,.5",h),"┘":(p={},p[1]="M.5,0 L.5,.5 L0,.5",p),"┛":(f={},f[3]="M.5,0 L.5,.5 L0,.5",f),"├":(m={},m[1]="M.5,0 L.5,1 M.5,.5 L1,.5",m),"┣":(g={},g[3]="M.5,0 L.5,1 M.5,.5 L1,.5",g),"┤":(v={},v[1]="M.5,0 L.5,1 M.5,.5 L0,.5",v),"┫":(_={},_[3]="M.5,0 L.5,1 M.5,.5 L0,.5",_),"┬":(b={},b[1]="M0,.5 L1,.5 M.5,.5 L.5,1",b),"┳":(y={},y[3]="M0,.5 L1,.5 M.5,.5 L.5,1",y),"┴":(M={},M[1]="M0,.5 L1,.5 M.5,.5 L.5,0",M),"┻":(w={},w[3]="M0,.5 L1,.5 M.5,.5 L.5,0",w),"┼":(L={},L[1]="M0,.5 L1,.5 M.5,0 L.5,1",L),"╋":(S={},S[3]="M0,.5 L1,.5 M.5,0 L.5,1",S),"╴":(C={},C[1]="M.5,.5 L0,.5",C),"╸":(E={},E[3]="M.5,.5 L0,.5",E),"╵":(A={},A[1]="M.5,.5 L.5,0",A),"╹":(T={},T[3]="M.5,.5 L.5,0",T),"╶":(O={},O[1]="M.5,.5 L1,.5",O),"╺":(k={},k[3]="M.5,.5 L1,.5",k),"╷":(x={},x[1]="M.5,.5 L.5,1",x),"╻":(D={},D[3]="M.5,.5 L.5,1",D),"═":(R={},R[1]=function(e,t){return"M0,"+(.5-t)+" L1,"+(.5-t)+" M0,"+(.5+t)+" L1,"+(.5+t)},R),"║":(z={},z[1]=function(e,t){return"M"+(.5-e)+",0 L"+(.5-e)+",1 M"+(.5+e)+",0 L"+(.5+e)+",1"},z),"╒":(P={},P[1]=function(e,t){return"M.5,1 L.5,"+(.5-t)+" L1,"+(.5-t)+" M.5,"+(.5+t)+" L1,"+(.5+t)},P),"╓":(N={},N[1]=function(e,t){return"M"+(.5-e)+",1 L"+(.5-e)+",.5 L1,.5 M"+(.5+e)+",.5 L"+(.5+e)+",1"},N),"╔":(I={},I[1]=function(e,t){return"M1,"+(.5-t)+" L"+(.5-e)+","+(.5-t)+" L"+(.5-e)+",1 M1,"+(.5+t)+" L"+(.5+e)+","+(.5+t)+" L"+(.5+e)+",1"},I),"╕":(B={},B[1]=function(e,t){return"M0,"+(.5-t)+" L.5,"+(.5-t)+" L.5,1 M0,"+(.5+t)+" L.5,"+(.5+t)},B),"╖":(j={},j[1]=function(e,t){return"M"+(.5+e)+",1 L"+(.5+e)+",.5 L0,.5 M"+(.5-e)+",.5 L"+(.5-e)+",1"},j),"╗":(Y={},Y[1]=function(e,t){return"M0,"+(.5+t)+" L"+(.5-e)+","+(.5+t)+" L"+(.5-e)+",1 M0,"+(.5-t)+" L"+(.5+e)+","+(.5-t)+" L"+(.5+e)+",1"},Y),"╘":(H={},H[1]=function(e,t){return"M.5,0 L.5,"+(.5+t)+" L1,"+(.5+t)+" M.5,"+(.5-t)+" L1,"+(.5-t)},H),"╙":(W={},W[1]=function(e,t){return"M1,.5 L"+(.5-e)+",.5 L"+(.5-e)+",0 M"+(.5+e)+",.5 L"+(.5+e)+",0"},W),"╚":(q={},q[1]=function(e,t){return"M1,"+(.5-t)+" L"+(.5+e)+","+(.5-t)+" L"+(.5+e)+",0 M1,"+(.5+t)+" L"+(.5-e)+","+(.5+t)+" L"+(.5-e)+",0"},q),"╛":(F={},F[1]=function(e,t){return"M0,"+(.5+t)+" L.5,"+(.5+t)+" L.5,0 M0,"+(.5-t)+" L.5,"+(.5-t)},F),"╜":(X={},X[1]=function(e,t){return"M0,.5 L"+(.5+e)+",.5 L"+(.5+e)+",0 M"+(.5-e)+",.5 L"+(.5-e)+",0"},X),"╝":(U={},U[1]=function(e,t){return"M0,"+(.5-t)+" L"+(.5-e)+","+(.5-t)+" L"+(.5-e)+",0 M0,"+(.5+t)+" L"+(.5+e)+","+(.5+t)+" L"+(.5+e)+",0"},U),"╞":(V={},V[1]=function(e,t){return"M.5,0 L.5,1 M.5,"+(.5-t)+" L1,"+(.5-t)+" M.5,"+(.5+t)+" L1,"+(.5+t)},V),"╟":(G={},G[1]=function(e,t){return"M"+(.5-e)+",0 L"+(.5-e)+",1 M"+(.5+e)+",0 L"+(.5+e)+",1 M"+(.5+e)+",.5 L1,.5"},G),"╠":(K={},K[1]=function(e,t){return"M"+(.5-e)+",0 L"+(.5-e)+",1 M1,"+(.5+t)+" L"+(.5+e)+","+(.5+t)+" L"+(.5+e)+",1 M1,"+(.5-t)+" L"+(.5+e)+","+(.5-t)+" L"+(.5+e)+",0"},K),"╡":($={},$[1]=function(e,t){return"M.5,0 L.5,1 M0,"+(.5-t)+" L.5,"+(.5-t)+" M0,"+(.5+t)+" L.5,"+(.5+t)},$),"╢":(J={},J[1]=function(e,t){return"M0,.5 L"+(.5-e)+",.5 M"+(.5-e)+",0 L"+(.5-e)+",1 M"+(.5+e)+",0 L"+(.5+e)+",1"},J),"╣":(Z={},Z[1]=function(e,t){return"M"+(.5+e)+",0 L"+(.5+e)+",1 M0,"+(.5+t)+" L"+(.5-e)+","+(.5+t)+" L"+(.5-e)+",1 M0,"+(.5-t)+" L"+(.5-e)+","+(.5-t)+" L"+(.5-e)+",0"},Z),"╤":(Q={},Q[1]=function(e,t){return"M0,"+(.5-t)+" L1,"+(.5-t)+" M0,"+(.5+t)+" L1,"+(.5+t)+" M.5,"+(.5+t)+" L.5,1"},Q),"╥":(ee={},ee[1]=function(e,t){return"M0,.5 L1,.5 M"+(.5-e)+",.5 L"+(.5-e)+",1 M"+(.5+e)+",.5 L"+(.5+e)+",1"},ee),"╦":(te={},te[1]=function(e,t){return"M0,"+(.5-t)+" L1,"+(.5-t)+" M0,"+(.5+t)+" L"+(.5-e)+","+(.5+t)+" L"+(.5-e)+",1 M1,"+(.5+t)+" L"+(.5+e)+","+(.5+t)+" L"+(.5+e)+",1"},te),"╧":(ne={},ne[1]=function(e,t){return"M.5,0 L.5,"+(.5-t)+" M0,"+(.5-t)+" L1,"+(.5-t)+" M0,"+(.5+t)+" L1,"+(.5+t)},ne),"╨":(ie={},ie[1]=function(e,t){return"M0,.5 L1,.5 M"+(.5-e)+",.5 L"+(.5-e)+",0 M"+(.5+e)+",.5 L"+(.5+e)+",0"},ie),"╩":(oe={},oe[1]=function(e,t){return"M0,"+(.5+t)+" L1,"+(.5+t)+" M0,"+(.5-t)+" L"+(.5-e)+","+(.5-t)+" L"+(.5-e)+",0 M1,"+(.5-t)+" L"+(.5+e)+","+(.5-t)+" L"+(.5+e)+",0"},oe),"╪":(re={},re[1]=function(e,t){return"M.5,0 L.5,1 M0,"+(.5-t)+" L1,"+(.5-t)+" M0,"+(.5+t)+" L1,"+(.5+t)},re),"╫":(ae={},ae[1]=function(e,t){return"M0,.5 L1,.5 M"+(.5-e)+",0 L"+(.5-e)+",1 M"+(.5+e)+",0 L"+(.5+e)+",1"},ae),"╬":(se={},se[1]=function(e,t){return"M0,"+(.5+t)+" L"+(.5-e)+","+(.5+t)+" L"+(.5-e)+",1 M1,"+(.5+t)+" L"+(.5+e)+","+(.5+t)+" L"+(.5+e)+",1 M0,"+(.5-t)+" L"+(.5-e)+","+(.5-t)+" L"+(.5-e)+",0 M1,"+(.5-t)+" L"+(.5+e)+","+(.5-t)+" L"+(.5+e)+",0"},se),"╱":(ce={},ce[1]="M1,0 L0,1",ce),"╲":(le={},le[1]="M0,0 L1,1",le),"╳":(ue={},ue[1]="M1,0 L0,1 M0,0 L1,1",ue),"╼":(de={},de[1]="M.5,.5 L0,.5",de[3]="M.5,.5 L1,.5",de),"╽":(he={},he[1]="M.5,.5 L.5,0",he[3]="M.5,.5 L.5,1",he),"╾":(pe={},pe[1]="M.5,.5 L1,.5",pe[3]="M.5,.5 L0,.5",pe),"╿":(fe={},fe[1]="M.5,.5 L.5,1",fe[3]="M.5,.5 L.5,0",fe),"┍":(me={},me[1]="M.5,.5 L.5,1",me[3]="M.5,.5 L1,.5",me),"┎":(ge={},ge[1]="M.5,.5 L1,.5",ge[3]="M.5,.5 L.5,1",ge),"┑":(ve={},ve[1]="M.5,.5 L.5,1",ve[3]="M.5,.5 L0,.5",ve),"┒":(_e={},_e[1]="M.5,.5 L0,.5",_e[3]="M.5,.5 L.5,1",_e),"┕":(be={},be[1]="M.5,.5 L.5,0",be[3]="M.5,.5 L1,.5",be),"┖":(ye={},ye[1]="M.5,.5 L1,.5",ye[3]="M.5,.5 L.5,0",ye),"┙":(Me={},Me[1]="M.5,.5 L.5,0",Me[3]="M.5,.5 L0,.5",Me),"┚":(we={},we[1]="M.5,.5 L0,.5",we[3]="M.5,.5 L.5,0",we),"┝":(Le={},Le[1]="M.5,0 L.5,1",Le[3]="M.5,.5 L1,.5",Le),"┞":(Se={},Se[1]="M0.5,1 L.5,.5 L1,.5",Se[3]="M.5,.5 L.5,0",Se),"┟":(Ce={},Ce[1]="M.5,0 L.5,.5 L1,.5",Ce[3]="M.5,.5 L.5,1",Ce),"┠":(Ee={},Ee[1]="M.5,.5 L1,.5",Ee[3]="M.5,0 L.5,1",Ee),"┡":(Ae={},Ae[1]="M.5,.5 L.5,1",Ae[3]="M.5,0 L.5,.5 L1,.5",Ae),"┢":(Te={},Te[1]="M.5,.5 L.5,0",Te[3]="M0.5,1 L.5,.5 L1,.5",Te),"┥":(Oe={},Oe[1]="M.5,0 L.5,1",Oe[3]="M.5,.5 L0,.5",Oe),"┦":(ke={},ke[1]="M0,.5 L.5,.5 L.5,1",ke[3]="M.5,.5 L.5,0",ke),"┧":(xe={},xe[1]="M.5,0 L.5,.5 L0,.5",xe[3]="M.5,.5 L.5,1",xe),"┨":(De={},De[1]="M.5,.5 L0,.5",De[3]="M.5,0 L.5,1",De),"┩":(Re={},Re[1]="M.5,.5 L.5,1",Re[3]="M.5,0 L.5,.5 L0,.5",Re),"┪":(ze={},ze[1]="M.5,.5 L.5,0",ze[3]="M0,.5 L.5,.5 L.5,1",ze),"┭":(Pe={},Pe[1]="M0.5,1 L.5,.5 L1,.5",Pe[3]="M.5,.5 L0,.5",Pe),"┮":(Ne={},Ne[1]="M0,.5 L.5,.5 L.5,1",Ne[3]="M.5,.5 L1,.5",Ne),"┯":(Ie={},Ie[1]="M.5,.5 L.5,1",Ie[3]="M0,.5 L1,.5",Ie),"┰":(Be={},Be[1]="M0,.5 L1,.5",Be[3]="M.5,.5 L.5,1",Be),"┱":(je={},je[1]="M.5,.5 L1,.5",je[3]="M0,.5 L.5,.5 L.5,1",je),"┲":(Ye={},Ye[1]="M.5,.5 L0,.5",Ye[3]="M0.5,1 L.5,.5 L1,.5",Ye),"┵":(He={},He[1]="M.5,0 L.5,.5 L1,.5",He[3]="M.5,.5 L0,.5",He),"┶":(We={},We[1]="M.5,0 L.5,.5 L0,.5",We[3]="M.5,.5 L1,.5",We),"┷":(qe={},qe[1]="M.5,.5 L.5,0",qe[3]="M0,.5 L1,.5",qe),"┸":(Fe={},Fe[1]="M0,.5 L1,.5",Fe[3]="M.5,.5 L.5,0",Fe),"┹":(Xe={},Xe[1]="M.5,.5 L1,.5",Xe[3]="M.5,0 L.5,.5 L0,.5",Xe),"┺":(Ue={},Ue[1]="M.5,.5 L0,.5",Ue[3]="M.5,0 L.5,.5 L1,.5",Ue),"┽":(Ve={},Ve[1]="M.5,0 L.5,1 M.5,.5 L1,.5",Ve[3]="M.5,.5 L0,.5",Ve),"┾":(Ge={},Ge[1]="M.5,0 L.5,1 M.5,.5 L0,.5",Ge[3]="M.5,.5 L1,.5",Ge),"┿":(Ke={},Ke[1]="M.5,0 L.5,1",Ke[3]="M0,.5 L1,.5",Ke),"╀":($e={},$e[1]="M0,.5 L1,.5 M.5,.5 L.5,1",$e[3]="M.5,.5 L.5,0",$e),"╁":(Je={},Je[1]="M.5,.5 L.5,0 M0,.5 L1,.5",Je[3]="M.5,.5 L.5,1",Je),"╂":(Ze={},Ze[1]="M0,.5 L1,.5",Ze[3]="M.5,0 L.5,1",Ze),"╃":(Qe={},Qe[1]="M0.5,1 L.5,.5 L1,.5",Qe[3]="M.5,0 L.5,.5 L0,.5",Qe),"╄":(et={},et[1]="M0,.5 L.5,.5 L.5,1",et[3]="M.5,0 L.5,.5 L1,.5",et),"╅":(tt={},tt[1]="M.5,0 L.5,.5 L1,.5",tt[3]="M0,.5 L.5,.5 L.5,1",tt),"╆":(nt={},nt[1]="M.5,0 L.5,.5 L0,.5",nt[3]="M0.5,1 L.5,.5 L1,.5",nt),"╇":(it={},it[1]="M.5,.5 L.5,1",it[3]="M.5,.5 L.5,0 M0,.5 L1,.5",it),"╈":(ot={},ot[1]="M.5,.5 L.5,0",ot[3]="M0,.5 L1,.5 M.5,.5 L.5,1",ot),"╉":(rt={},rt[1]="M.5,.5 L1,.5",rt[3]="M.5,0 L.5,1 M.5,.5 L0,.5",rt),"╊":(at={},at[1]="M.5,.5 L0,.5",at[3]="M.5,0 L.5,1 M.5,.5 L1,.5",at),"╌":(st={},st[1]="M.1,.5 L.4,.5 M.6,.5 L.9,.5",st),"╍":(ct={},ct[3]="M.1,.5 L.4,.5 M.6,.5 L.9,.5",ct),"┄":(lt={},lt[1]="M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5",lt),"┅":(ut={},ut[3]="M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5",ut),"┈":(dt={},dt[1]="M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5",dt),"┉":(ht={},ht[3]="M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5",ht),"╎":(pt={},pt[1]="M.5,.1 L.5,.4 M.5,.6 L.5,.9",pt),"╏":(ft={},ft[3]="M.5,.1 L.5,.4 M.5,.6 L.5,.9",ft),"┆":(mt={},mt[1]="M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333",mt),"┇":(gt={},gt[3]="M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333",gt),"┊":(vt={},vt[1]="M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95",vt),"┋":(_t={},_t[3]="M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95",_t),"╭":(bt={},bt[1]="C.5,1,.5,.5,1,.5",bt),"╮":(yt={},yt[1]="C.5,1,.5,.5,0,.5",yt),"╯":(Mt={},Mt[1]="C.5,0,.5,.5,0,.5",Mt),"╰":(wt={},wt[1]="C.5,0,.5,.5,1,.5",wt)},t.powerlineDefinitions={"":{d:"M0,0 L1,.5 L0,1",type:0},"":{d:"M0,0 L1,.5 L0,1",type:1,horizontalPadding:.5},"":{d:"M1,0 L0,.5 L1,1",type:0},"":{d:"M1,0 L0,.5 L1,1",type:1,horizontalPadding:.5}},t.tryDrawCustomChar=function(e,n,i,o,r,a){var s=t.blockElementDefinitions[n];if(s)return function(e,t,n,i,o,r){for(var a=0;a7&&parseInt(c.slice(7,9),16)||1;else{if(!c.startsWith("rgba"))throw new Error('Unexpected fillStyle color format "'+c+'" when drawing pattern glyph');m=(a=Lt(c.substring(5,c.length-1).split(",").map(function(e){return parseFloat(e)}),4))[0],g=a[1],v=a[2],_=a[3]}for(var b=0;b{Object.defineProperty(t,"__esModule",{value:!0}),t.GridCache=void 0;var n=function(){function e(){this.cache=[]}return e.prototype.resize=function(e,t){for(var n=0;n=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.LinkRenderLayer=void 0;var s=n(1546),c=n(8803),l=n(2040),u=n(2585),d=function(e){function t(t,n,i,o,r,a,s,c,l){var u=e.call(this,t,"link",n,!0,i,o,s,c,l)||this;return r.onShowLinkUnderline(function(e){return u._onShowLinkUnderline(e)}),r.onHideLinkUnderline(function(e){return u._onHideLinkUnderline(e)}),a.onShowLinkUnderline(function(e){return u._onShowLinkUnderline(e)}),a.onHideLinkUnderline(function(e){return u._onHideLinkUnderline(e)}),u}return o(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state=void 0},t.prototype.reset=function(){this._clearCurrentLink()},t.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var e=this._state.y2-this._state.y1-1;e>0&&this._clearCells(0,this._state.y1+1,this._state.cols,e),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},t.prototype._onShowLinkUnderline=function(e){if(e.fg===c.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:e.fg&&(0,l.is256Color)(e.fg)?this._ctx.fillStyle=this._colors.ansi[e.fg].css:this._ctx.fillStyle=this._colors.foreground.css,e.y1===e.y2)this._fillBottomLineAtCells(e.x1,e.y1,e.x2-e.x1);else{this._fillBottomLineAtCells(e.x1,e.y1,e.cols-e.x1);for(var t=e.y1+1;t=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.Renderer=void 0;var c=n(9596),l=n(4149),u=n(2512),d=n(5098),h=n(844),p=n(4725),f=n(2585),m=n(1420),g=n(8460),v=1,_=function(e){function t(t,n,i,o,r,a,s,h){var p=e.call(this)||this;p._colors=t,p._screenElement=n,p._bufferService=a,p._charSizeService=s,p._optionsService=h,p._id=v++,p._onRequestRedraw=new g.EventEmitter;var f=p._optionsService.rawOptions.allowTransparency;return p._renderLayers=[r.createInstance(c.TextRenderLayer,p._screenElement,0,p._colors,f,p._id),r.createInstance(l.SelectionRenderLayer,p._screenElement,1,p._colors,p._id),r.createInstance(d.LinkRenderLayer,p._screenElement,2,p._colors,p._id,i,o),r.createInstance(u.CursorRenderLayer,p._screenElement,3,p._colors,p._id,p._onRequestRedraw)],p.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},p._devicePixelRatio=window.devicePixelRatio,p._updateDimensions(),p.onOptionsChanged(),p}return o(t,e),Object.defineProperty(t.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){var t,n;try{for(var i=s(this._renderLayers),o=i.next();!o.done;o=i.next())o.value.dispose()}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}e.prototype.dispose.call(this),(0,m.removeTerminalFromCache)(this._id)},t.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},t.prototype.setColors=function(e){var t,n;this._colors=e;try{for(var i=s(this._renderLayers),o=i.next();!o.done;o=i.next()){var r=o.value;r.setColors(this._colors),r.reset()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}},t.prototype.onResize=function(e,t){var n,i;this._updateDimensions();try{for(var o=s(this._renderLayers),r=o.next();!r.done;r=o.next())r.value.resize(this.dimensions)}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},t.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},t.prototype.onBlur=function(){this._runOperation(function(e){return e.onBlur()})},t.prototype.onFocus=function(){this._runOperation(function(e){return e.onFocus()})},t.prototype.onSelectionChanged=function(e,t,n){void 0===n&&(n=!1),this._runOperation(function(i){return i.onSelectionChanged(e,t,n)}),this._colors.selectionForeground&&this._onRequestRedraw.fire({start:0,end:this._bufferService.rows-1})},t.prototype.onCursorMove=function(){this._runOperation(function(e){return e.onCursorMove()})},t.prototype.onOptionsChanged=function(){this._runOperation(function(e){return e.onOptionsChanged()})},t.prototype.clear=function(){this._runOperation(function(e){return e.reset()})},t.prototype._runOperation=function(e){var t,n;try{for(var i=s(this._renderLayers),o=i.next();!o.done;o=i.next())e(o.value)}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}},t.prototype.renderRows=function(e,t){var n,i;try{for(var o=s(this._renderLayers),r=o.next();!r.done;r=o.next())r.value.onGridChanged(e,t)}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},t.prototype.clearTextureAtlas=function(){var e,t;try{for(var n=s(this._renderLayers),i=n.next();!i.done;i=n.next())i.value.clearTextureAtlas()}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.rawOptions.lineHeight),this.dimensions.scaledCharTop=1===this._optionsService.rawOptions.lineHeight?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.rawOptions.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.rawOptions.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},r([a(4,f.IInstantiationService),a(5,f.IBufferService),a(6,p.ICharSizeService),a(7,f.IOptionsService)],t)}(h.Disposable);t.Renderer=_},1752:(e,t)=>{function n(e){return 57508<=e&&e<=57558}Object.defineProperty(t,"__esModule",{value:!0}),t.excludeFromContrastRatioDemands=t.isPowerlineGlyph=t.throwIfFalsy=void 0,t.throwIfFalsy=function(e){if(!e)throw new Error("value must not be falsy");return e},t.isPowerlineGlyph=n,t.excludeFromContrastRatioDemands=function(e){return n(e)||function(e){return 9472<=e&&e<=9631}(e)}},4149:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionRenderLayer=void 0;var s=n(1546),c=n(2585),l=function(e){function t(t,n,i,o,r,a,s){var c=e.call(this,t,"selection",n,!0,i,o,r,a,s)||this;return c._clearState(),c}return o(t,e),t.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._clearState()},t.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},t.prototype.onSelectionChanged=function(t,n,i){if(e.prototype.onSelectionChanged.call(this,t,n,i),this._didStateChange(t,n,i,this._bufferService.buffer.ydisp))if(this._clearAll(),t&&n){var o=t[1]-this._bufferService.buffer.ydisp,r=n[1]-this._bufferService.buffer.ydisp,a=Math.max(o,0),s=Math.min(r,this._bufferService.rows-1);if(a>=this._bufferService.rows||s<0)this._state.ydisp=this._bufferService.buffer.ydisp;else{if(this._ctx.fillStyle=this._colors.selectionTransparent.css,i){var c=t[0],l=n[0]-c,u=s-a+1;this._fillCells(c,a,l,u)}else{c=o===a?t[0]:0;var d=a===r?n[0]:this._bufferService.cols;this._fillCells(c,a,d-c,1);var h=Math.max(s-a-1,0);if(this._fillCells(0,a+1,this._bufferService.cols,h),a!==s){var p=r===s?n[0]:this._bufferService.cols;this._fillCells(0,s,p,1)}}this._state.start=[t[0],t[1]],this._state.end=[n[0],n[1]],this._state.columnSelectMode=i,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},t.prototype._didStateChange=function(e,t,n,i){return!this._areCoordinatesEqual(e,this._state.start)||!this._areCoordinatesEqual(t,this._state.end)||n!==this._state.columnSelectMode||i!==this._state.ydisp},t.prototype._areCoordinatesEqual=function(e,t){return!(!e||!t)&&e[0]===t[0]&&e[1]===t[1]},r([a(4,c.IBufferService),a(5,c.IOptionsService),a(6,c.IDecorationService)],t)}(s.BaseRenderLayer);t.SelectionRenderLayer=l},9596:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.TextRenderLayer=void 0;var c=n(3700),l=n(1546),u=n(3734),d=n(643),h=n(511),p=n(2585),f=n(4725),m=n(4269),g=function(e){function t(t,n,i,o,r,a,s,l,u){var d=e.call(this,t,"text",n,o,i,r,a,s,u)||this;return d._characterJoinerService=l,d._characterWidth=0,d._characterFont="",d._characterOverlapCache={},d._workCell=new h.CellData,d._state=new c.GridCache,d}return o(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t);var n=this._getFont(!1,!1);this._characterWidth===t.scaledCharWidth&&this._characterFont===n||(this._characterWidth=t.scaledCharWidth,this._characterFont=n,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},t.prototype.reset=function(){this._state.clear(),this._clearAll()},t.prototype._forEachCell=function(e,t,n){for(var i=e;i<=t;i++)for(var o=i+this._bufferService.buffer.ydisp,r=this._bufferService.buffer.lines.get(o),a=this._characterJoinerService.getJoinedCharacters(o),s=0;s0&&s===a[0][0]){l=!0;var h=a.shift();c=new m.JoinedCellData(this._workCell,r.translateToString(!0,h[0],h[1]),h[1]-h[0]),u=h[1]-1}!l&&this._isOverlapping(c)&&uthis._characterWidth;return this._ctx.restore(),this._characterOverlapCache[t]=n,n},r([a(5,p.IBufferService),a(6,p.IOptionsService),a(7,f.ICharacterJoinerService),a(8,p.IDecorationService)],t)}(l.BaseRenderLayer);t.TextRenderLayer=g},9616:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseCharAtlas=void 0;var n=function(){function e(){this._didWarmUp=!1}return e.prototype.dispose=function(){},e.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},e.prototype._doWarmUp=function(){},e.prototype.clear=function(){},e.prototype.beginFrame=function(){},e}();t.BaseCharAtlas=n},1420:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.removeTerminalFromCache=t.acquireCharAtlas=void 0;var i=n(2040),o=n(1906),r=[];t.acquireCharAtlas=function(e,t,n,a,s){for(var c=(0,i.generateConfig)(a,s,e,n),l=0;l=0){if((0,i.configEquals)(d.config,c))return d.atlas;1===d.ownedBy.length?(d.atlas.dispose(),r.splice(l,1)):d.ownedBy.splice(u,1);break}}for(l=0;l{Object.defineProperty(t,"__esModule",{value:!0}),t.is256Color=t.configEquals=t.generateConfig=void 0;var i=n(643);t.generateConfig=function(e,t,n,i){var o={foreground:i.foreground,background:i.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:i.ansi.slice()};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:e,scaledCharHeight:t,fontFamily:n.fontFamily,fontSize:n.fontSize,fontWeight:n.fontWeight,fontWeightBold:n.fontWeightBold,allowTransparency:n.allowTransparency,colors:o}},t.configEquals=function(e,t){for(var n=0;n{Object.defineProperty(t,"__esModule",{value:!0}),t.CHAR_ATLAS_CELL_SPACING=t.TEXT_BASELINE=t.DIM_OPACITY=t.INVERTED_DEFAULT_COLOR=void 0;var i=n(6114);t.INVERTED_DEFAULT_COLOR=257,t.DIM_OPACITY=.5,t.TEXT_BASELINE=i.isFirefox||i.isLegacyEdge?"bottom":"ideographic",t.CHAR_ATLAS_CELL_SPACING=1},1906:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.NoneCharAtlas=t.DynamicCharAtlas=t.getGlyphCacheKey=void 0;var r=n(8803),a=n(9616),s=n(5680),c=n(7001),l=n(6114),u=n(1752),d=n(8055),h=1024,p=1024,f={css:"rgba(0, 0, 0, 0)",rgba:0};function m(e){return e.code<<21|e.bg<<12|e.fg<<3|(e.bold?0:4)+(e.dim?0:2)+(e.italic?0:1)}t.getGlyphCacheKey=m;var g=function(e){function t(t,n){var i=e.call(this)||this;i._config=n,i._drawToCacheCount=0,i._glyphsWaitingOnBitmap=[],i._bitmapCommitTimeout=null,i._bitmap=null,i._cacheCanvas=t.createElement("canvas"),i._cacheCanvas.width=h,i._cacheCanvas.height=p,i._cacheCtx=(0,u.throwIfFalsy)(i._cacheCanvas.getContext("2d",{alpha:!0}));var o=t.createElement("canvas");o.width=i._config.scaledCharWidth,o.height=i._config.scaledCharHeight,i._tmpCtx=(0,u.throwIfFalsy)(o.getContext("2d",{alpha:i._config.allowTransparency})),i._width=Math.floor(h/i._config.scaledCharWidth),i._height=Math.floor(p/i._config.scaledCharHeight);var r=i._width*i._height;return i._cacheMap=new c.LRUMap(r),i._cacheMap.prealloc(r),i}return o(t,e),t.prototype.dispose=function(){null!==this._bitmapCommitTimeout&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},t.prototype.beginFrame=function(){this._drawToCacheCount=0},t.prototype.clear=function(){if(this._cacheMap.size>0){var e=this._width*this._height;this._cacheMap=new c.LRUMap(e),this._cacheMap.prealloc(e)}this._cacheCtx.clearRect(0,0,h,p),this._tmpCtx.clearRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight)},t.prototype.draw=function(e,t,n,i){if(32===t.code)return!0;if(!this._canCache(t))return!1;var o=m(t),r=this._cacheMap.get(o);if(null!=r)return this._drawFromCache(e,r,n,i),!0;if(this._drawToCacheCount<100){var a;a=this._cacheMap.size>>24,o=t.rgba>>>16&255,r=t.rgba>>>8&255,a=0;a{Object.defineProperty(t,"__esModule",{value:!0}),t.LRUMap=void 0;var n=function(){function e(e){this.capacity=e,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return e.prototype._unlinkNode=function(e){var t=e.prev,n=e.next;e===this._head&&(this._head=n),e===this._tail&&(this._tail=t),null!==t&&(t.next=n),null!==n&&(n.prev=t)},e.prototype._appendNode=function(e){var t=this._tail;null!==t&&(t.next=e),e.prev=t,e.next=null,this._tail=e,null===this._head&&(this._head=e)},e.prototype.prealloc=function(e){for(var t=this._nodePool,n=0;n=this.capacity)n=this._head,this._unlinkNode(n),delete this._map[n.key],n.key=e,n.value=t,this._map[e]=n;else{var i=this._nodePool;i.length>0?((n=i.pop()).key=e,n.value=t):n={prev:null,next:null,key:e,value:t},this._map[e]=n,this.size++}this._appendNode(n)},e}();t.LRUMap=n},1296:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.DomRenderer=void 0;var c=n(3787),l=n(8803),u=n(844),d=n(4725),h=n(2585),p=n(8460),f=n(8055),m=n(9631),g="xterm-dom-renderer-owner-",v="xterm-fg-",_="xterm-bg-",b="xterm-focus",y=1,M=function(e){function t(t,n,i,o,r,a,s,l,u,d){var h=e.call(this)||this;return h._colors=t,h._element=n,h._screenElement=i,h._viewportElement=o,h._linkifier=r,h._linkifier2=a,h._charSizeService=l,h._optionsService=u,h._bufferService=d,h._terminalClass=y++,h._rowElements=[],h._rowContainer=document.createElement("div"),h._rowContainer.classList.add("xterm-rows"),h._rowContainer.style.lineHeight="normal",h._rowContainer.setAttribute("aria-hidden","true"),h._refreshRowElements(h._bufferService.cols,h._bufferService.rows),h._selectionContainer=document.createElement("div"),h._selectionContainer.classList.add("xterm-selection"),h._selectionContainer.setAttribute("aria-hidden","true"),h.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},h._updateDimensions(),h._injectCss(),h._rowFactory=s.createInstance(c.DomRendererRowFactory,document,h._colors),h._element.classList.add(g+h._terminalClass),h._screenElement.appendChild(h._rowContainer),h._screenElement.appendChild(h._selectionContainer),h.register(h._linkifier.onShowLinkUnderline(function(e){return h._onLinkHover(e)})),h.register(h._linkifier.onHideLinkUnderline(function(e){return h._onLinkLeave(e)})),h.register(h._linkifier2.onShowLinkUnderline(function(e){return h._onLinkHover(e)})),h.register(h._linkifier2.onHideLinkUnderline(function(e){return h._onLinkLeave(e)})),h}return o(t,e),Object.defineProperty(t.prototype,"onRequestRedraw",{get:function(){return(new p.EventEmitter).event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this._element.classList.remove(g+this._terminalClass),(0,m.removeElementFromParent)(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),e.prototype.dispose.call(this)},t.prototype._updateDimensions=function(){var e,t;this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.rawOptions.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.rawOptions.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;try{for(var n=s(this._rowElements),i=n.next();!i.done;i=n.next()){var o=i.value;o.style.width=this.dimensions.canvasWidth+"px",o.style.height=this.dimensions.actualCellHeight+"px",o.style.lineHeight=this.dimensions.actualCellHeight+"px",o.style.overflow="hidden"}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var r=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.textContent=r,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},t.prototype.setColors=function(e){this._colors=e,this._injectCss()},t.prototype._injectCss=function(){var e=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var t=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.rawOptions.fontFamily+"; font-size: "+this._optionsService.rawOptions.fontSize+"px;}";t+=this._terminalSelector+" span:not(."+c.BOLD_CLASS+") { font-weight: "+this._optionsService.rawOptions.fontWeight+";}"+this._terminalSelector+" span."+c.BOLD_CLASS+" { font-weight: "+this._optionsService.rawOptions.fontWeightBold+";}"+this._terminalSelector+" span."+c.ITALIC_CLASS+" { font-style: italic;}",t+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",t+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",t+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+c.CURSOR_CLASS+"."+c.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+c.CURSOR_CLASS+"."+c.CURSOR_BLINK_CLASS+":not(."+c.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+c.CURSOR_CLASS+"."+c.CURSOR_BLINK_CLASS+"."+c.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+c.CURSOR_CLASS+"."+c.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+c.CURSOR_CLASS+"."+c.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.rawOptions.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+c.CURSOR_CLASS+"."+c.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",t+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionOpaque.css+";}",this._colors.ansi.forEach(function(n,i){t+=e._terminalSelector+" ."+v+i+" { color: "+n.css+"; }"+e._terminalSelector+" ."+_+i+" { background-color: "+n.css+"; }"}),t+=this._terminalSelector+" ."+v+l.INVERTED_DEFAULT_COLOR+" { color: "+f.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" ."+_+l.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.textContent=t},t.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},t.prototype._refreshRowElements=function(e,t){for(var n=this._rowElements.length;n<=t;n++){var i=document.createElement("div");this._rowContainer.appendChild(i),this._rowElements.push(i)}for(;this._rowElements.length>t;)this._rowContainer.removeChild(this._rowElements.pop())},t.prototype.onResize=function(e,t){this._refreshRowElements(e,t),this._updateDimensions()},t.prototype.onCharSizeChanged=function(){this._updateDimensions()},t.prototype.onBlur=function(){this._rowContainer.classList.remove(b)},t.prototype.onFocus=function(){this._rowContainer.classList.add(b)},t.prototype.onSelectionChanged=function(e,t,n){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(this._rowFactory.onSelectionChanged(e,t,n),this.renderRows(0,this._bufferService.rows-1),e&&t){var i=e[1]-this._bufferService.buffer.ydisp,o=t[1]-this._bufferService.buffer.ydisp,r=Math.max(i,0),a=Math.min(o,this._bufferService.rows-1);if(!(r>=this._bufferService.rows||a<0)){var s=document.createDocumentFragment();if(n){var c=e[0]>t[0];s.appendChild(this._createSelectionElement(r,c?t[0]:e[0],c?e[0]:t[0],a-r+1))}else{var l=i===r?e[0]:0,u=r===o?t[0]:this._bufferService.cols;s.appendChild(this._createSelectionElement(r,l,u));var d=a-r-1;if(s.appendChild(this._createSelectionElement(r+1,0,this._bufferService.cols,d)),r!==a){var h=o===a?t[0]:this._bufferService.cols;s.appendChild(this._createSelectionElement(a,0,h))}}this._selectionContainer.appendChild(s)}}},t.prototype._createSelectionElement=function(e,t,n,i){void 0===i&&(i=1);var o=document.createElement("div");return o.style.height=i*this.dimensions.actualCellHeight+"px",o.style.top=e*this.dimensions.actualCellHeight+"px",o.style.left=t*this.dimensions.actualCellWidth+"px",o.style.width=this.dimensions.actualCellWidth*(n-t)+"px",o},t.prototype.onCursorMove=function(){},t.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},t.prototype.clear=function(){var e,t;try{for(var n=s(this._rowElements),i=n.next();!i.done;i=n.next())i.value.innerText=""}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.renderRows=function(e,t){for(var n=this._bufferService.buffer.ybase+this._bufferService.buffer.y,i=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),o=this._optionsService.rawOptions.cursorBlink,r=e;r<=t;r++){var a=this._rowElements[r];a.innerText="";var s=r+this._bufferService.buffer.ydisp,c=this._bufferService.buffer.lines.get(s),l=this._optionsService.rawOptions.cursorStyle;a.appendChild(this._rowFactory.createRow(c,s,s===n,l,i,o,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(t.prototype,"_terminalSelector",{get:function(){return"."+g+this._terminalClass},enumerable:!1,configurable:!0}),t.prototype._onLinkHover=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!0)},t.prototype._onLinkLeave=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!1)},t.prototype._setCellUnderline=function(e,t,n,i,o,r){for(;e!==t||n!==i;){var a=this._rowElements[n];if(!a)return;var s=a.children[e];s&&(s.style.textDecoration=r?"underline":"none"),++e>=o&&(e=0,n++)}},r([a(6,h.IInstantiationService),a(7,d.ICharSizeService),a(8,h.IOptionsService),a(9,h.IBufferService)],t)}(u.Disposable);t.DomRenderer=M},3787:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.DomRendererRowFactory=t.CURSOR_STYLE_UNDERLINE_CLASS=t.CURSOR_STYLE_BAR_CLASS=t.CURSOR_STYLE_BLOCK_CLASS=t.CURSOR_BLINK_CLASS=t.CURSOR_CLASS=t.STRIKETHROUGH_CLASS=t.UNDERLINE_CLASS=t.ITALIC_CLASS=t.DIM_CLASS=t.BOLD_CLASS=void 0;var a=n(8803),s=n(643),c=n(511),l=n(2585),u=n(8055),d=n(4725),h=n(4269),p=n(1752);t.BOLD_CLASS="xterm-bold",t.DIM_CLASS="xterm-dim",t.ITALIC_CLASS="xterm-italic",t.UNDERLINE_CLASS="xterm-underline",t.STRIKETHROUGH_CLASS="xterm-strikethrough",t.CURSOR_CLASS="xterm-cursor",t.CURSOR_BLINK_CLASS="xterm-cursor-blink",t.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",t.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",t.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var f=function(){function e(e,t,n,i,o,r){this._document=e,this._colors=t,this._characterJoinerService=n,this._optionsService=i,this._coreService=o,this._decorationService=r,this._workCell=new c.CellData,this._columnSelectMode=!1}return e.prototype.setColors=function(e){this._colors=e},e.prototype.onSelectionChanged=function(e,t,n){this._selectionStart=e,this._selectionEnd=t,this._columnSelectMode=n},e.prototype.createRow=function(e,n,i,o,c,l,d,p){for(var f,g,v=this._document.createDocumentFragment(),_=this._characterJoinerService.getJoinedCharacters(n),b=0,y=Math.min(e.length,p)-1;y>=0;y--)if(e.loadCell(y,this._workCell).getCode()!==s.NULL_CELL_CODE||i&&y===c){b=y+1;break}for(y=0;y0&&y===_[0][0]){w=!0;var C=_.shift();S=new h.JoinedCellData(this._workCell,e.translateToString(!0,C[0],C[1]),C[1]-C[0]),L=C[1]-1,M=S.getWidth()}var E=this._document.createElement("span");if(M>1&&(E.style.width=d*M+"px"),w&&(E.style.display="inline",c>=y&&c<=L&&(c=y)),!this._coreService.isCursorHidden&&i&&y===c)switch(E.classList.add(t.CURSOR_CLASS),l&&E.classList.add(t.CURSOR_BLINK_CLASS),o){case"bar":E.classList.add(t.CURSOR_STYLE_BAR_CLASS);break;case"underline":E.classList.add(t.CURSOR_STYLE_UNDERLINE_CLASS);break;default:E.classList.add(t.CURSOR_STYLE_BLOCK_CLASS)}S.isBold()&&E.classList.add(t.BOLD_CLASS),S.isItalic()&&E.classList.add(t.ITALIC_CLASS),S.isDim()&&E.classList.add(t.DIM_CLASS),S.isUnderline()&&E.classList.add(t.UNDERLINE_CLASS),S.isInvisible()?E.textContent=s.WHITESPACE_CELL_CHAR:E.textContent=S.getChars()||s.WHITESPACE_CELL_CHAR,S.isStrikethrough()&&E.classList.add(t.STRIKETHROUGH_CLASS);var A=S.getFgColor(),T=S.getFgColorMode(),O=S.getBgColor(),k=S.getBgColorMode(),x=!!S.isInverse();if(x){var D=A;A=O,O=D;var R=T;T=k,k=R}var z=void 0,P=void 0,N=!1;try{for(var I=(f=void 0,r(this._decorationService.getDecorationsAtCell(y,n))),B=I.next();!B.done;B=I.next()){var j=B.value;"top"!==j.options.layer&&N||(j.backgroundColorRGB&&(k=50331648,O=j.backgroundColorRGB.rgba>>8&16777215,z=j.backgroundColorRGB),j.foregroundColorRGB&&(T=50331648,A=j.foregroundColorRGB.rgba>>8&16777215,P=j.foregroundColorRGB),N="top"===j.options.layer)}}catch(e){f={error:e}}finally{try{B&&!B.done&&(g=I.return)&&g.call(I)}finally{if(f)throw f.error}}var Y=this._isCellInSelection(y,n);N||this._colors.selectionForeground&&Y&&(T=50331648,A=this._colors.selectionForeground.rgba>>8&16777215,P=this._colors.selectionForeground),Y&&(z=this._colors.selectionOpaque,N=!0),N&&E.classList.add("xterm-decoration-top");var H=void 0;switch(k){case 16777216:case 33554432:H=this._colors.ansi[O],E.classList.add("xterm-bg-"+O);break;case 50331648:H=u.rgba.toColor(O>>16,O>>8&255,255&O),this._addStyle(E,"background-color:#"+m((O>>>0).toString(16),"0",6));break;default:x?(H=this._colors.foreground,E.classList.add("xterm-bg-"+a.INVERTED_DEFAULT_COLOR)):H=this._colors.background}switch(T){case 16777216:case 33554432:S.isBold()&&A<8&&this._optionsService.rawOptions.drawBoldTextInBrightColors&&(A+=8),this._applyMinimumContrast(E,H,this._colors.ansi[A],S,z,void 0)||E.classList.add("xterm-fg-"+A);break;case 50331648:var W=u.rgba.toColor(A>>16&255,A>>8&255,255&A);this._applyMinimumContrast(E,H,W,S,z,P)||this._addStyle(E,"color:#"+m(A.toString(16),"0",6));break;default:this._applyMinimumContrast(E,H,this._colors.foreground,S,z,void 0)||x&&E.classList.add("xterm-fg-"+a.INVERTED_DEFAULT_COLOR)}v.appendChild(E),y=L}}return v},e.prototype._applyMinimumContrast=function(e,t,n,i,o,r){if(1===this._optionsService.rawOptions.minimumContrastRatio||(0,p.excludeFromContrastRatioDemands)(i.getCode()))return!1;var a=void 0;return o||r||(a=this._colors.contrastCache.getColor(t.rgba,n.rgba)),void 0===a&&(a=u.color.ensureContrastRatio(o||t,r||n,this._optionsService.rawOptions.minimumContrastRatio),this._colors.contrastCache.setColor((o||t).rgba,(r||n).rgba,null!=a?a:null)),!!a&&(this._addStyle(e,"color:"+a.css),!0)},e.prototype._addStyle=function(e,t){e.setAttribute("style",""+(e.getAttribute("style")||"")+t+";")},e.prototype._isCellInSelection=function(e,t){var n=this._selectionStart,i=this._selectionEnd;return!(!n||!i)&&(this._columnSelectMode?n[0]<=i[0]?e>=n[0]&&t>=n[1]&&e=n[1]&&e>=i[0]&&t<=i[1]:t>n[1]&&t=n[0]&&e=n[0])},i([o(2,d.ICharacterJoinerService),o(3,l.IOptionsService),o(4,l.ICoreService),o(5,l.IDecorationService)],e)}();function m(e,t,n){for(;e.length{Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionModel=void 0;var n=function(){function e(e){this._bufferService=e,this.isSelectAllActive=!1,this.selectionStartLength=0}return e.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(e.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"finalSelectionEnd",{get:function(){return this.isSelectAllActive?[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1]:this.selectionStart?!this.selectionEnd||this.areSelectionValuesReversed()?(e=this.selectionStart[0]+this.selectionStartLength)>this._bufferService.cols?e%this._bufferService.cols==0?[this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)-1]:[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[e,this.selectionStart[1]]:this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?(e=this.selectionStart[0]+this.selectionStartLength)>this._bufferService.cols?[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[Math.max(e,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd:void 0;var e},enumerable:!1,configurable:!0}),e.prototype.areSelectionValuesReversed=function(){var e=this.selectionStart,t=this.selectionEnd;return!(!e||!t)&&(e[1]>t[1]||e[1]===t[1]&&e[0]>t[0])},e.prototype.onTrim=function(e){return this.selectionStart&&(this.selectionStart[1]-=e),this.selectionEnd&&(this.selectionEnd[1]-=e),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},e}();t.SelectionModel=n},428:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CharSizeService=void 0;var r=n(2585),a=n(8460),s=function(){function e(e,t,n){this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=new a.EventEmitter,this._measureStrategy=new c(e,t,this._optionsService)}return Object.defineProperty(e.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),e.prototype.measure=function(){var e=this._measureStrategy.measure();e.width===this.width&&e.height===this.height||(this.width=e.width,this.height=e.height,this._onCharSizeChange.fire())},i([o(2,r.IOptionsService)],e)}();t.CharSizeService=s;var c=function(){function e(e,t,n){this._document=e,this._parentElement=t,this._optionsService=n,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return e.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.rawOptions.fontFamily,this._measureElement.style.fontSize=this._optionsService.rawOptions.fontSize+"px";var e=this._measureElement.getBoundingClientRect();return 0!==e.width&&0!==e.height&&(this._result.width=e.width,this._result.height=Math.ceil(e.height)),this._result},e}()},4269:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CharacterJoinerService=t.JoinedCellData=void 0;var s=n(3734),c=n(643),l=n(511),u=n(2585),d=function(e){function t(t,n,i){var o=e.call(this)||this;return o.content=0,o.combinedData="",o.fg=t.fg,o.bg=t.bg,o.combinedData=n,o._width=i,o}return o(t,e),t.prototype.isCombined=function(){return 2097152},t.prototype.getWidth=function(){return this._width},t.prototype.getChars=function(){return this.combinedData},t.prototype.getCode=function(){return 2097151},t.prototype.setFromCharData=function(e){throw new Error("not implemented")},t.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},t}(s.AttributeData);t.JoinedCellData=d;var h=function(){function e(e){this._bufferService=e,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new l.CellData}return e.prototype.register=function(e){var t={id:this._nextCharacterJoinerId++,handler:e};return this._characterJoiners.push(t),t.id},e.prototype.deregister=function(e){for(var t=0;t1)for(var d=this._getJoinedRanges(i,a,r,t,o),h=0;h1)for(d=this._getJoinedRanges(i,a,r,t,o),h=0;h{Object.defineProperty(t,"__esModule",{value:!0}),t.CoreBrowserService=void 0;var n=function(){function e(e){this._textarea=e}return Object.defineProperty(e.prototype,"isFocused",{get:function(){return(this._textarea.getRootNode?this._textarea.getRootNode():document).activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),e}();t.CoreBrowserService=n},8934:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseService=void 0;var r=n(4725),a=n(9806),s=function(){function e(e,t){this._renderService=e,this._charSizeService=t}return e.prototype.getCoords=function(e,t,n,i,o){return(0,a.getCoords)(window,e,t,n,i,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,o)},e.prototype.getRawByteCoords=function(e,t,n,i){var o=this.getCoords(e,t,n,i);return(0,a.getRawByteCoords)(o)},i([o(0,r.IRenderService),o(1,r.ICharSizeService)],e)}();t.MouseService=s},3230:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenderService=void 0;var s=n(6193),c=n(8460),l=n(844),u=n(5596),d=n(3656),h=n(2585),p=n(4725),f=function(e){function t(t,n,i,o,r,a,l){var h=e.call(this)||this;if(h._renderer=t,h._rowCount=n,h._charSizeService=r,h._isPaused=!1,h._needsFullRefresh=!1,h._isNextRenderRedrawOnly=!0,h._needsSelectionRefresh=!1,h._canvasWidth=0,h._canvasHeight=0,h._selectionState={start:void 0,end:void 0,columnSelectMode:!1},h._onDimensionsChange=new c.EventEmitter,h._onRenderedViewportChange=new c.EventEmitter,h._onRender=new c.EventEmitter,h._onRefreshRequest=new c.EventEmitter,h.register({dispose:function(){return h._renderer.dispose()}}),h._renderDebouncer=new s.RenderDebouncer(function(e,t){return h._renderRows(e,t)}),h.register(h._renderDebouncer),h._screenDprMonitor=new u.ScreenDprMonitor,h._screenDprMonitor.setListener(function(){return h.onDevicePixelRatioChange()}),h.register(h._screenDprMonitor),h.register(l.onResize(function(){return h._fullRefresh()})),h.register(l.buffers.onBufferActivate(function(){var e;return null===(e=h._renderer)||void 0===e?void 0:e.clear()})),h.register(o.onOptionChange(function(){return h._handleOptionsChanged()})),h.register(h._charSizeService.onCharSizeChange(function(){return h.onCharSizeChanged()})),h.register(a.onDecorationRegistered(function(){return h._fullRefresh()})),h.register(a.onDecorationRemoved(function(){return h._fullRefresh()})),h._renderer.onRequestRedraw(function(e){return h.refreshRows(e.start,e.end,!0)}),h.register((0,d.addDisposableDomListener)(window,"resize",function(){return h.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var p=new IntersectionObserver(function(e){return h._onIntersectionChange(e[e.length-1])},{threshold:0});p.observe(i),h.register({dispose:function(){return p.disconnect()}})}return h}return o(t,e),Object.defineProperty(t.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRenderedViewportChange",{get:function(){return this._onRenderedViewportChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),t.prototype._onIntersectionChange=function(e){this._isPaused=void 0===e.isIntersecting?0===e.intersectionRatio:!e.isIntersecting,this._isPaused||this._charSizeService.hasValidSize||this._charSizeService.measure(),!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},t.prototype.refreshRows=function(e,t,n){void 0===n&&(n=!1),this._isPaused?this._needsFullRefresh=!0:(n||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(e,t,this._rowCount))},t.prototype._renderRows=function(e,t){this._renderer.renderRows(e,t),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRenderedViewportChange.fire({start:e,end:t}),this._onRender.fire({start:e,end:t}),this._isNextRenderRedrawOnly=!0},t.prototype.resize=function(e,t){this._rowCount=t,this._fireOnCanvasResize()},t.prototype._handleOptionsChanged=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},t.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.setRenderer=function(e){var t=this;this._renderer.dispose(),this._renderer=e,this._renderer.onRequestRedraw(function(e){return t.refreshRows(e.start,e.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},t.prototype.addRefreshCallback=function(e){return this._renderDebouncer.addRefreshCallback(e)},t.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},t.prototype.clearTextureAtlas=function(){var e,t;null===(t=null===(e=this._renderer)||void 0===e?void 0:e.clearTextureAtlas)||void 0===t||t.call(e),this._fullRefresh()},t.prototype.setColors=function(e){this._renderer.setColors(e),this._fullRefresh()},t.prototype.onDevicePixelRatioChange=function(){this._charSizeService.measure(),this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},t.prototype.onResize=function(e,t){this._renderer.onResize(e,t),this._fullRefresh()},t.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},t.prototype.onBlur=function(){this._renderer.onBlur()},t.prototype.onFocus=function(){this._renderer.onFocus()},t.prototype.onSelectionChanged=function(e,t,n){this._selectionState.start=e,this._selectionState.end=t,this._selectionState.columnSelectMode=n,this._renderer.onSelectionChanged(e,t,n)},t.prototype.onCursorMove=function(){this._renderer.onCursorMove()},t.prototype.clear=function(){this._renderer.clear()},r([a(3,h.IOptionsService),a(4,p.ICharSizeService),a(5,h.IDecorationService),a(6,h.IBufferService)],t)}(l.Disposable);t.RenderService=f},9312:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionService=void 0;var s=n(6114),c=n(456),l=n(511),u=n(8460),d=n(4725),h=n(2585),p=n(9806),f=n(9504),m=n(844),g=n(4841),v=String.fromCharCode(160),_=new RegExp(v,"g"),b=function(e){function t(t,n,i,o,r,a,s,d){var h=e.call(this)||this;return h._element=t,h._screenElement=n,h._linkifier=i,h._bufferService=o,h._coreService=r,h._mouseService=a,h._optionsService=s,h._renderService=d,h._dragScrollAmount=0,h._enabled=!0,h._workCell=new l.CellData,h._mouseDownTimeStamp=0,h._oldHasSelection=!1,h._oldSelectionStart=void 0,h._oldSelectionEnd=void 0,h._onLinuxMouseSelection=h.register(new u.EventEmitter),h._onRedrawRequest=h.register(new u.EventEmitter),h._onSelectionChange=h.register(new u.EventEmitter),h._onRequestScrollLines=h.register(new u.EventEmitter),h._mouseMoveListener=function(e){return h._onMouseMove(e)},h._mouseUpListener=function(e){return h._onMouseUp(e)},h._coreService.onUserInput(function(){h.hasSelection&&h.clearSelection()}),h._trimListener=h._bufferService.buffer.lines.onTrim(function(e){return h._onTrim(e)}),h.register(h._bufferService.buffers.onBufferActivate(function(e){return h._onBufferActivate(e)})),h.enable(),h._model=new c.SelectionModel(h._bufferService),h._activeSelectionMode=0,h}return o(t,e),Object.defineProperty(t.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this._removeMouseDownListeners()},t.prototype.reset=function(){this.clearSelection()},t.prototype.disable=function(){this.clearSelection(),this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasSelection",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;return!(!e||!t||e[0]===t[0]&&e[1]===t[1])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionText",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;if(!e||!t)return"";var n=this._bufferService.buffer,i=[];if(3===this._activeSelectionMode){if(e[0]===t[0])return"";for(var o=e[0]t[1]&&e[1]=t[0]&&e[0]=t[0]},t.prototype._selectWordAtCursor=function(e,t){var n,i,o=null===(i=null===(n=this._linkifier.currentLink)||void 0===n?void 0:n.link)||void 0===i?void 0:i.range;if(o)return this._model.selectionStart=[o.start.x-1,o.start.y-1],this._model.selectionStartLength=(0,g.getRangeLength)(o,this._bufferService.cols),this._model.selectionEnd=void 0,!0;var r=this._getMouseBufferCoords(e);return!!r&&(this._selectWordAt(r,t),this._model.selectionEnd=void 0,!0)},t.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},t.prototype.selectLines=function(e,t){this._model.clearSelection(),e=Math.max(e,0),t=Math.min(t,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,e],this._model.selectionEnd=[this._bufferService.cols,t],this.refresh(),this._onSelectionChange.fire()},t.prototype._onTrim=function(e){this._model.onTrim(e)&&this.refresh()},t.prototype._getMouseBufferCoords=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(t)return t[0]--,t[1]--,t[1]+=this._bufferService.buffer.ydisp,t},t.prototype._getMouseEventScrollAmount=function(e){var t=(0,p.getCoordsRelativeToElement)(window,e,this._screenElement)[1],n=this._renderService.dimensions.canvasHeight;return t>=0&&t<=n?0:(t>n&&(t-=n),t=Math.min(Math.max(t,-50),50),(t/=50)/Math.abs(t)+Math.round(14*t))},t.prototype.shouldForceSelection=function(e){return s.isMac?e.altKey&&this._optionsService.rawOptions.macOptionClickForcesSelection:e.shiftKey},t.prototype.onMouseDown=function(e){if(this._mouseDownTimeStamp=e.timeStamp,(2!==e.button||!this.hasSelection)&&0===e.button){if(!this._enabled){if(!this.shouldForceSelection(e))return;e.stopPropagation()}e.preventDefault(),this._dragScrollAmount=0,this._enabled&&e.shiftKey?this._onIncrementalClick(e):1===e.detail?this._onSingleClick(e):2===e.detail?this._onDoubleClick(e):3===e.detail&&this._onTripleClick(e),this._addMouseDownListeners(),this.refresh(!0)}},t.prototype._addMouseDownListeners=function(){var e=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return e._dragScroll()},50)},t.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},t.prototype._onIncrementalClick=function(e){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(e))},t.prototype._onSingleClick=function(e){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(e)?3:0,this._model.selectionStart=this._getMouseBufferCoords(e),this._model.selectionStart){this._model.selectionEnd=void 0;var t=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);t&&t.length!==this._model.selectionStart[0]&&0===t.hasWidth(this._model.selectionStart[0])&&this._model.selectionStart[0]++}},t.prototype._onDoubleClick=function(e){this._selectWordAtCursor(e,!0)&&(this._activeSelectionMode=1)},t.prototype._onTripleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=2,this._selectLineAt(t[1]))},t.prototype.shouldColumnSelect=function(e){return e.altKey&&!(s.isMac&&this._optionsService.rawOptions.macOptionClickForcesSelection)},t.prototype._onMouseMove=function(e){if(e.stopImmediatePropagation(),this._model.selectionStart){var t=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(e),this._model.selectionEnd){2===this._activeSelectionMode?this._model.selectionEnd[1]0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var n=this._bufferService.buffer;if(this._model.selectionEnd[1]0?(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(e.ydisp+this._bufferService.rows,e.lines.length-1)):(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=e.ydisp),this.refresh()}},t.prototype._onMouseUp=function(e){var t=e.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&t<500&&e.altKey&&this._optionsService.getOption("altClickMovesCursor")){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var n=this._mouseService.getCoords(e,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(n&&void 0!==n[0]&&void 0!==n[1]){var i=(0,f.moveToCellSequence)(n[0]-1,n[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(i,!0)}}}else this._fireEventIfSelectionChanged()},t.prototype._fireEventIfSelectionChanged=function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd,n=!(!e||!t||e[0]===t[0]&&e[1]===t[1]);n?e&&t&&(this._oldSelectionStart&&this._oldSelectionEnd&&e[0]===this._oldSelectionStart[0]&&e[1]===this._oldSelectionStart[1]&&t[0]===this._oldSelectionEnd[0]&&t[1]===this._oldSelectionEnd[1]||this._fireOnSelectionChange(e,t,n)):this._oldHasSelection&&this._fireOnSelectionChange(e,t,n)},t.prototype._fireOnSelectionChange=function(e,t,n){this._oldSelectionStart=e,this._oldSelectionEnd=t,this._oldHasSelection=n,this._onSelectionChange.fire()},t.prototype._onBufferActivate=function(e){var t=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=e.activeBuffer.lines.onTrim(function(e){return t._onTrim(e)})},t.prototype._convertViewportColToCharacterIndex=function(e,t){for(var n=t[0],i=0;t[0]>=i;i++){var o=e.loadCell(i,this._workCell).getChars().length;0===this._workCell.getWidth()?n--:o>1&&t[0]!==i&&(n+=o-1)}return n},t.prototype.setSelection=function(e,t,n){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[e,t],this._model.selectionStartLength=n,this.refresh(),this._fireEventIfSelectionChanged()},t.prototype.rightClickSelect=function(e){this._isClickInSelection(e)||(this._selectWordAtCursor(e,!1)&&this.refresh(!0),this._fireEventIfSelectionChanged())},t.prototype._getWordAt=function(e,t,n,i){if(void 0===n&&(n=!0),void 0===i&&(i=!0),!(e[0]>=this._bufferService.cols)){var o=this._bufferService.buffer,r=o.lines.get(e[1]);if(r){var a=o.translateBufferLineToString(e[1],!1),s=this._convertViewportColToCharacterIndex(r,e),c=s,l=e[0]-s,u=0,d=0,h=0,p=0;if(" "===a.charAt(s)){for(;s>0&&" "===a.charAt(s-1);)s--;for(;c1&&(p+=g-1,c+=g-1);f>0&&s>0&&!this._isCharWordSeparator(r.loadCell(f-1,this._workCell));){r.loadCell(f-1,this._workCell);var v=this._workCell.getChars().length;0===this._workCell.getWidth()?(u++,f--):v>1&&(h+=v-1,s-=v-1),s--,f--}for(;m1&&(p+=_-1,c+=_-1),c++,m++}}c++;var b=s+l-u+h,y=Math.min(this._bufferService.cols,c-s+u+d-h-p);if(t||""!==a.slice(s,c).trim()){if(n&&0===b&&32!==r.getCodePoint(0)){var M=o.lines.get(e[1]-1);if(M&&r.isWrapped&&32!==M.getCodePoint(this._bufferService.cols-1)){var w=this._getWordAt([this._bufferService.cols-1,e[1]-1],!1,!0,!1);if(w){var L=this._bufferService.cols-w.start;b-=L,y+=L}}}if(i&&b+y===this._bufferService.cols&&32!==r.getCodePoint(this._bufferService.cols-1)){var S=o.lines.get(e[1]+1);if((null==S?void 0:S.isWrapped)&&32!==S.getCodePoint(0)){var C=this._getWordAt([0,e[1]+1],!1,!1,!0);C&&(y+=C.length)}}return{start:b,length:y}}}}},t.prototype._selectWordAt=function(e,t){var n=this._getWordAt(e,t);if(n){for(;n.start<0;)n.start+=this._bufferService.cols,e[1]--;this._model.selectionStart=[n.start,e[1]],this._model.selectionStartLength=n.length}},t.prototype._selectToWordAt=function(e){var t=this._getWordAt(e,!0);if(t){for(var n=e[1];t.start<0;)t.start+=this._bufferService.cols,n--;if(!this._model.areSelectionValuesReversed())for(;t.start+t.length>this._bufferService.cols;)t.length-=this._bufferService.cols,n++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?t.start:t.start+t.length,n]}},t.prototype._isCharWordSeparator=function(e){return 0!==e.getWidth()&&this._optionsService.rawOptions.wordSeparator.indexOf(e.getChars())>=0},t.prototype._selectLineAt=function(e){var t=this._bufferService.buffer.getWrappedRangeForLine(e),n={start:{x:0,y:t.first},end:{x:this._bufferService.cols-1,y:t.last}};this._model.selectionStart=[0,t.first],this._model.selectionEnd=void 0,this._model.selectionStartLength=(0,g.getRangeLength)(n,this._bufferService.cols)},r([a(3,h.IBufferService),a(4,h.ICoreService),a(5,d.IMouseService),a(6,h.IOptionsService),a(7,d.IRenderService)],t)}(m.Disposable);t.SelectionService=b},4725:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ICharacterJoinerService=t.ISoundService=t.ISelectionService=t.IRenderService=t.IMouseService=t.ICoreBrowserService=t.ICharSizeService=void 0;var i=n(8343);t.ICharSizeService=(0,i.createDecorator)("CharSizeService"),t.ICoreBrowserService=(0,i.createDecorator)("CoreBrowserService"),t.IMouseService=(0,i.createDecorator)("MouseService"),t.IRenderService=(0,i.createDecorator)("RenderService"),t.ISelectionService=(0,i.createDecorator)("SelectionService"),t.ISoundService=(0,i.createDecorator)("SoundService"),t.ICharacterJoinerService=(0,i.createDecorator)("CharacterJoinerService")},357:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.SoundService=void 0;var r=n(2585),a=function(){function e(e){this._optionsService=e}return Object.defineProperty(e,"audioContext",{get:function(){if(!e._audioContext){var t=window.AudioContext||window.webkitAudioContext;if(!t)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;e._audioContext=new t}return e._audioContext},enumerable:!1,configurable:!0}),e.prototype.playBellSound=function(){var t=e.audioContext;if(t){var n=t.createBufferSource();t.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.rawOptions.bellSound)),function(e){n.buffer=e,n.connect(t.destination),n.start(0)})}},e.prototype._base64ToArrayBuffer=function(e){for(var t=window.atob(e),n=t.length,i=new Uint8Array(n),o=0;o{Object.defineProperty(t,"__esModule",{value:!0}),t.CircularList=void 0;var i=n(8460),o=function(){function e(e){this._maxLength=e,this.onDeleteEmitter=new i.EventEmitter,this.onInsertEmitter=new i.EventEmitter,this.onTrimEmitter=new i.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(e.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxLength",{get:function(){return this._maxLength},set:function(e){if(this._maxLength!==e){for(var t=new Array(e),n=0;nthis._length)for(var t=this._length;t=e;o--)this._array[this._getCyclicIndex(o+n.length)]=this._array[this._getCyclicIndex(o)];for(o=0;othis._maxLength){var r=this._length+n.length-this._maxLength;this._startIndex+=r,this._length=this._maxLength,this.onTrimEmitter.fire(r)}else this._length+=n.length},e.prototype.trimStart=function(e){e>this._length&&(e=this._length),this._startIndex+=e,this._length-=e,this.onTrimEmitter.fire(e)},e.prototype.shiftElements=function(e,t,n){if(!(t<=0)){if(e<0||e>=this._length)throw new Error("start argument out of range");if(e+n<0)throw new Error("Cannot shift elements in list beyond index 0");if(n>0){for(var i=t-1;i>=0;i--)this.set(e+i+n,this.get(e+i));var o=e+t+n-this._length;if(o>0)for(this._length+=o;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(i=0;i{Object.defineProperty(t,"__esModule",{value:!0}),t.clone=void 0,t.clone=function e(t,n){if(void 0===n&&(n=5),"object"!=typeof t)return t;var i=Array.isArray(t)?[]:{};for(var o in t)i[o]=n<=1?t[o]:t[o]&&e(t[o],n-1);return i}},8055:function(e,t){var n,i,o,r,a=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};function s(e){var t=e.toString(16);return t.length<2?"0"+t:t}function c(e,t){return e>>0}}(n=t.channels||(t.channels={})),(i=t.color||(t.color={})).blend=function(e,t){var i=(255&t.rgba)/255;if(1===i)return{css:t.css,rgba:t.rgba};var o=t.rgba>>24&255,r=t.rgba>>16&255,a=t.rgba>>8&255,s=e.rgba>>24&255,c=e.rgba>>16&255,l=e.rgba>>8&255,u=s+Math.round((o-s)*i),d=c+Math.round((r-c)*i),h=l+Math.round((a-l)*i);return{css:n.toCss(u,d,h),rgba:n.toRgba(u,d,h)}},i.isOpaque=function(e){return 255==(255&e.rgba)},i.ensureContrastRatio=function(e,t,n){var i=r.ensureContrastRatio(e.rgba,t.rgba,n);if(i)return r.toColor(i>>24&255,i>>16&255,i>>8&255)},i.opaque=function(e){var t=(255|e.rgba)>>>0,i=a(r.toChannels(t),3),o=i[0],s=i[1],c=i[2];return{css:n.toCss(o,s,c),rgba:t}},i.opacity=function(e,t){var i=Math.round(255*t),o=a(r.toChannels(e.rgba),3),s=o[0],c=o[1],l=o[2];return{css:n.toCss(s,c,l,i),rgba:n.toRgba(s,c,l,i)}},i.toColorRGB=function(e){return[e.rgba>>24&255,e.rgba>>16&255,e.rgba>>8&255]},(t.css||(t.css={})).toColor=function(e){if(e.match(/#[0-9a-f]{3,8}/i))switch(e.length){case 4:var t=parseInt(e.slice(1,2).repeat(2),16),n=parseInt(e.slice(2,3).repeat(2),16),i=parseInt(e.slice(3,4).repeat(2),16);return r.toColor(t,n,i);case 5:t=parseInt(e.slice(1,2).repeat(2),16),n=parseInt(e.slice(2,3).repeat(2),16),i=parseInt(e.slice(3,4).repeat(2),16);var o=parseInt(e.slice(4,5).repeat(2),16);return r.toColor(t,n,i,o);case 7:return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0};case 9:return{css:e,rgba:parseInt(e.slice(1),16)>>>0}}var a=e.match(/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(0|1|\d?\.(\d+))\s*)?\)/);if(a)return t=parseInt(a[1]),n=parseInt(a[2]),i=parseInt(a[3]),o=Math.round(255*(void 0===a[5]?1:parseFloat(a[5]))),r.toColor(t,n,i,o);throw new Error("css.toColor: Unsupported css format")},function(e){function t(e,t,n){var i=e/255,o=t/255,r=n/255;return.2126*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.7152*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))}e.relativeLuminance=function(e){return t(e>>16&255,e>>8&255,255&e)},e.relativeLuminance2=t}(o=t.rgb||(t.rgb={})),function(e){function t(e,t,n){for(var i=e>>24&255,r=e>>16&255,a=e>>8&255,s=t>>24&255,l=t>>16&255,u=t>>8&255,d=c(o.relativeLuminance2(s,l,u),o.relativeLuminance2(i,r,a));d0||l>0||u>0);)s-=Math.max(0,Math.ceil(.1*s)),l-=Math.max(0,Math.ceil(.1*l)),u-=Math.max(0,Math.ceil(.1*u)),d=c(o.relativeLuminance2(s,l,u),o.relativeLuminance2(i,r,a));return(s<<24|l<<16|u<<8|255)>>>0}function i(e,t,n){for(var i=e>>24&255,r=e>>16&255,a=e>>8&255,s=t>>24&255,l=t>>16&255,u=t>>8&255,d=c(o.relativeLuminance2(s,l,u),o.relativeLuminance2(i,r,a));d>>0}e.ensureContrastRatio=function(e,n,r){var a=o.relativeLuminance(e>>8),s=o.relativeLuminance(n>>8);if(c(a,s)>8));if(uc(a,o.relativeLuminance(d>>8))?l:d}return l}var h=i(e,n,r),p=c(a,o.relativeLuminance(h>>8));return pc(a,o.relativeLuminance(d>>8))?h:d):h}},e.reduceLuminance=t,e.increaseLuminance=i,e.toChannels=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]},e.toColor=function(e,t,i,o){return{css:n.toCss(e,t,i,o),rgba:n.toRgba(e,t,i,o)}}}(r=t.rgba||(t.rgba={})),t.toPaddedHex=s,t.contrastRatio=c},8969:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreTerminal=void 0;var a=n(844),s=n(2585),c=n(4348),l=n(7866),u=n(744),d=n(7302),h=n(6975),p=n(8460),f=n(1753),m=n(3730),g=n(1480),v=n(7994),_=n(9282),b=n(5435),y=n(5981),M=!1,w=function(e){function t(t){var n=e.call(this)||this;return n._onBinary=new p.EventEmitter,n._onData=new p.EventEmitter,n._onLineFeed=new p.EventEmitter,n._onResize=new p.EventEmitter,n._onScroll=new p.EventEmitter,n._onWriteParsed=new p.EventEmitter,n._instantiationService=new c.InstantiationService,n.optionsService=new d.OptionsService(t),n._instantiationService.setService(s.IOptionsService,n.optionsService),n._bufferService=n.register(n._instantiationService.createInstance(u.BufferService)),n._instantiationService.setService(s.IBufferService,n._bufferService),n._logService=n._instantiationService.createInstance(l.LogService),n._instantiationService.setService(s.ILogService,n._logService),n.coreService=n.register(n._instantiationService.createInstance(h.CoreService,function(){return n.scrollToBottom()})),n._instantiationService.setService(s.ICoreService,n.coreService),n.coreMouseService=n._instantiationService.createInstance(f.CoreMouseService),n._instantiationService.setService(s.ICoreMouseService,n.coreMouseService),n._dirtyRowService=n._instantiationService.createInstance(m.DirtyRowService),n._instantiationService.setService(s.IDirtyRowService,n._dirtyRowService),n.unicodeService=n._instantiationService.createInstance(g.UnicodeService),n._instantiationService.setService(s.IUnicodeService,n.unicodeService),n._charsetService=n._instantiationService.createInstance(v.CharsetService),n._instantiationService.setService(s.ICharsetService,n._charsetService),n._inputHandler=new b.InputHandler(n._bufferService,n._charsetService,n.coreService,n._dirtyRowService,n._logService,n.optionsService,n.coreMouseService,n.unicodeService),n.register((0,p.forwardEvent)(n._inputHandler.onLineFeed,n._onLineFeed)),n.register(n._inputHandler),n.register((0,p.forwardEvent)(n._bufferService.onResize,n._onResize)),n.register((0,p.forwardEvent)(n.coreService.onData,n._onData)),n.register((0,p.forwardEvent)(n.coreService.onBinary,n._onBinary)),n.register(n.optionsService.onOptionChange(function(e){return n._updateOptions(e)})),n.register(n._bufferService.onScroll(function(e){n._onScroll.fire({position:n._bufferService.buffer.ydisp,source:0}),n._dirtyRowService.markRangeDirty(n._bufferService.buffer.scrollTop,n._bufferService.buffer.scrollBottom)})),n.register(n._inputHandler.onScroll(function(e){n._onScroll.fire({position:n._bufferService.buffer.ydisp,source:0}),n._dirtyRowService.markRangeDirty(n._bufferService.buffer.scrollTop,n._bufferService.buffer.scrollBottom)})),n._writeBuffer=new y.WriteBuffer(function(e,t){return n._inputHandler.parse(e,t)}),n.register((0,p.forwardEvent)(n._writeBuffer.onWriteParsed,n._onWriteParsed)),n}return o(t,e),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onWriteParsed",{get:function(){return this._onWriteParsed.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){var e=this;return this._onScrollApi||(this._onScrollApi=new p.EventEmitter,this.register(this._onScroll.event(function(t){var n;null===(n=e._onScrollApi)||void 0===n||n.fire(t.position)}))),this._onScrollApi.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return this.optionsService.options},set:function(e){for(var t in e)this.optionsService.options[t]=e[t]},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){var t;this._isDisposed||(e.prototype.dispose.call(this),null===(t=this._windowsMode)||void 0===t||t.dispose(),this._windowsMode=void 0)},t.prototype.write=function(e,t){this._writeBuffer.write(e,t)},t.prototype.writeSync=function(e,t){this._logService.logLevel<=s.LogLevelEnum.WARN&&!M&&(this._logService.warn("writeSync is unreliable and will be removed soon."),M=!0),this._writeBuffer.writeSync(e,t)},t.prototype.resize=function(e,t){isNaN(e)||isNaN(t)||(e=Math.max(e,u.MINIMUM_COLS),t=Math.max(t,u.MINIMUM_ROWS),this._bufferService.resize(e,t))},t.prototype.scroll=function(e,t){void 0===t&&(t=!1),this._bufferService.scroll(e,t)},t.prototype.scrollLines=function(e,t,n){this._bufferService.scrollLines(e,t,n)},t.prototype.scrollPages=function(e){this._bufferService.scrollPages(e)},t.prototype.scrollToTop=function(){this._bufferService.scrollToTop()},t.prototype.scrollToBottom=function(){this._bufferService.scrollToBottom()},t.prototype.scrollToLine=function(e){this._bufferService.scrollToLine(e)},t.prototype.registerEscHandler=function(e,t){return this._inputHandler.registerEscHandler(e,t)},t.prototype.registerDcsHandler=function(e,t){return this._inputHandler.registerDcsHandler(e,t)},t.prototype.registerCsiHandler=function(e,t){return this._inputHandler.registerCsiHandler(e,t)},t.prototype.registerOscHandler=function(e,t){return this._inputHandler.registerOscHandler(e,t)},t.prototype._setup=function(){this.optionsService.rawOptions.windowsMode&&this._enableWindowsMode()},t.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this.coreService.reset(),this.coreMouseService.reset()},t.prototype._updateOptions=function(e){var t;switch(e){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.rawOptions.windowsMode?this._enableWindowsMode():(null===(t=this._windowsMode)||void 0===t||t.dispose(),this._windowsMode=void 0)}},t.prototype._enableWindowsMode=function(){var e=this;if(!this._windowsMode){var t=[];t.push(this.onLineFeed(_.updateWindowsModeWrappedState.bind(null,this._bufferService))),t.push(this.registerCsiHandler({final:"H"},function(){return(0,_.updateWindowsModeWrappedState)(e._bufferService),!1})),this._windowsMode={dispose:function(){var e,n;try{for(var i=r(t),o=i.next();!o.done;o=i.next())o.value.dispose()}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}}}},t}(a.Disposable);t.CoreTerminal=w},8460:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.forwardEvent=t.EventEmitter=void 0;var n=function(){function e(){this._listeners=[],this._disposed=!1}return Object.defineProperty(e.prototype,"event",{get:function(){var e=this;return this._event||(this._event=function(t){return e._listeners.push(t),{dispose:function(){if(!e._disposed)for(var n=0;n24)return t.setWinLines||!1;switch(e){case 1:return!!t.restoreWin;case 2:return!!t.minimizeWin;case 3:return!!t.setWinPosition;case 4:return!!t.setWinSizePixels;case 5:return!!t.raiseWin;case 6:return!!t.lowerWin;case 7:return!!t.refreshWin;case 8:return!!t.setWinSizeChars;case 9:return!!t.maximizeWin;case 10:return!!t.fullscreenWin;case 11:return!!t.getWinState;case 13:return!!t.getWinPosition;case 14:return!!t.getWinSizePixels;case 15:return!!t.getScreenSizePixels;case 16:return!!t.getCellSizePixels;case 18:return!!t.getWinSizeChars;case 19:return!!t.getScreenSizeChars;case 20:return!!t.getIconTitle;case 21:return!!t.getWinTitle;case 22:return!!t.pushTitle;case 23:return!!t.popTitle;case 24:return!!t.setWinLines}return!1}!function(e){e[e.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",e[e.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(r=t.WindowsOptionsReportType||(t.WindowsOptionsReportType={}));var S=function(){function e(e,t,n,i){this._bufferService=e,this._coreService=t,this._logService=n,this._optionsService=i,this._data=new Uint32Array(0)}return e.prototype.hook=function(e){this._data=new Uint32Array(0)},e.prototype.put=function(e,t,n){this._data=(0,u.concat)(this._data,e.subarray(t,n))},e.prototype.unhook=function(e){if(!e)return this._data=new Uint32Array(0),!0;var t=(0,d.utf32ToString)(this._data);switch(this._data=new Uint32Array(0),t){case'"q':this._coreService.triggerDataEvent(a.C0.ESC+'P1$r0"q'+a.C0.ESC+"\\");break;case'"p':this._coreService.triggerDataEvent(a.C0.ESC+'P1$r61;1"p'+a.C0.ESC+"\\");break;case"r":var n=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";this._coreService.triggerDataEvent(a.C0.ESC+"P1$r"+n+a.C0.ESC+"\\");break;case"m":this._coreService.triggerDataEvent(a.C0.ESC+"P1$r0m"+a.C0.ESC+"\\");break;case" q":var i={block:2,underline:4,bar:6}[this._optionsService.rawOptions.cursorStyle];i-=this._optionsService.rawOptions.cursorBlink?1:0,this._coreService.triggerDataEvent(a.C0.ESC+"P1$r"+i+" q"+a.C0.ESC+"\\");break;default:this._logService.debug("Unknown DCS $q %s",t),this._coreService.triggerDataEvent(a.C0.ESC+"P0$r"+a.C0.ESC+"\\")}return!0},e}(),C=function(e){function t(t,n,i,o,r,l,u,f,g){void 0===g&&(g=new c.EscapeSequenceParser);var v=e.call(this)||this;v._bufferService=t,v._charsetService=n,v._coreService=i,v._dirtyRowService=o,v._logService=r,v._optionsService=l,v._coreMouseService=u,v._unicodeService=f,v._parser=g,v._parseBuffer=new Uint32Array(4096),v._stringDecoder=new d.StringToUtf32,v._utf8Decoder=new d.Utf8ToUtf32,v._workCell=new m.CellData,v._windowTitle="",v._iconName="",v._windowTitleStack=[],v._iconNameStack=[],v._curAttrData=h.DEFAULT_ATTR_DATA.clone(),v._eraseAttrDataInternal=h.DEFAULT_ATTR_DATA.clone(),v._onRequestBell=new p.EventEmitter,v._onRequestRefreshRows=new p.EventEmitter,v._onRequestReset=new p.EventEmitter,v._onRequestSendFocus=new p.EventEmitter,v._onRequestSyncScrollBar=new p.EventEmitter,v._onRequestWindowsOptionsReport=new p.EventEmitter,v._onA11yChar=new p.EventEmitter,v._onA11yTab=new p.EventEmitter,v._onCursorMove=new p.EventEmitter,v._onLineFeed=new p.EventEmitter,v._onScroll=new p.EventEmitter,v._onTitleChange=new p.EventEmitter,v._onColor=new p.EventEmitter,v._parseStack={paused:!1,cursorStartX:0,cursorStartY:0,decodedLength:0,position:0},v._specialColors=[256,257,258],v.register(v._parser),v._activeBuffer=v._bufferService.buffer,v.register(v._bufferService.buffers.onBufferActivate(function(e){return v._activeBuffer=e.activeBuffer})),v._parser.setCsiHandlerFallback(function(e,t){v._logService.debug("Unknown CSI code: ",{identifier:v._parser.identToString(e),params:t.toArray()})}),v._parser.setEscHandlerFallback(function(e){v._logService.debug("Unknown ESC code: ",{identifier:v._parser.identToString(e)})}),v._parser.setExecuteHandlerFallback(function(e){v._logService.debug("Unknown EXECUTE code: ",{code:e})}),v._parser.setOscHandlerFallback(function(e,t,n){v._logService.debug("Unknown OSC code: ",{identifier:e,action:t,data:n})}),v._parser.setDcsHandlerFallback(function(e,t,n){"HOOK"===t&&(n=n.toArray()),v._logService.debug("Unknown DCS code: ",{identifier:v._parser.identToString(e),action:t,payload:n})}),v._parser.setPrintHandler(function(e,t,n){return v.print(e,t,n)}),v._parser.registerCsiHandler({final:"@"},function(e){return v.insertChars(e)}),v._parser.registerCsiHandler({intermediates:" ",final:"@"},function(e){return v.scrollLeft(e)}),v._parser.registerCsiHandler({final:"A"},function(e){return v.cursorUp(e)}),v._parser.registerCsiHandler({intermediates:" ",final:"A"},function(e){return v.scrollRight(e)}),v._parser.registerCsiHandler({final:"B"},function(e){return v.cursorDown(e)}),v._parser.registerCsiHandler({final:"C"},function(e){return v.cursorForward(e)}),v._parser.registerCsiHandler({final:"D"},function(e){return v.cursorBackward(e)}),v._parser.registerCsiHandler({final:"E"},function(e){return v.cursorNextLine(e)}),v._parser.registerCsiHandler({final:"F"},function(e){return v.cursorPrecedingLine(e)}),v._parser.registerCsiHandler({final:"G"},function(e){return v.cursorCharAbsolute(e)}),v._parser.registerCsiHandler({final:"H"},function(e){return v.cursorPosition(e)}),v._parser.registerCsiHandler({final:"I"},function(e){return v.cursorForwardTab(e)}),v._parser.registerCsiHandler({final:"J"},function(e){return v.eraseInDisplay(e)}),v._parser.registerCsiHandler({prefix:"?",final:"J"},function(e){return v.eraseInDisplay(e)}),v._parser.registerCsiHandler({final:"K"},function(e){return v.eraseInLine(e)}),v._parser.registerCsiHandler({prefix:"?",final:"K"},function(e){return v.eraseInLine(e)}),v._parser.registerCsiHandler({final:"L"},function(e){return v.insertLines(e)}),v._parser.registerCsiHandler({final:"M"},function(e){return v.deleteLines(e)}),v._parser.registerCsiHandler({final:"P"},function(e){return v.deleteChars(e)}),v._parser.registerCsiHandler({final:"S"},function(e){return v.scrollUp(e)}),v._parser.registerCsiHandler({final:"T"},function(e){return v.scrollDown(e)}),v._parser.registerCsiHandler({final:"X"},function(e){return v.eraseChars(e)}),v._parser.registerCsiHandler({final:"Z"},function(e){return v.cursorBackwardTab(e)}),v._parser.registerCsiHandler({final:"`"},function(e){return v.charPosAbsolute(e)}),v._parser.registerCsiHandler({final:"a"},function(e){return v.hPositionRelative(e)}),v._parser.registerCsiHandler({final:"b"},function(e){return v.repeatPrecedingCharacter(e)}),v._parser.registerCsiHandler({final:"c"},function(e){return v.sendDeviceAttributesPrimary(e)}),v._parser.registerCsiHandler({prefix:">",final:"c"},function(e){return v.sendDeviceAttributesSecondary(e)}),v._parser.registerCsiHandler({final:"d"},function(e){return v.linePosAbsolute(e)}),v._parser.registerCsiHandler({final:"e"},function(e){return v.vPositionRelative(e)}),v._parser.registerCsiHandler({final:"f"},function(e){return v.hVPosition(e)}),v._parser.registerCsiHandler({final:"g"},function(e){return v.tabClear(e)}),v._parser.registerCsiHandler({final:"h"},function(e){return v.setMode(e)}),v._parser.registerCsiHandler({prefix:"?",final:"h"},function(e){return v.setModePrivate(e)}),v._parser.registerCsiHandler({final:"l"},function(e){return v.resetMode(e)}),v._parser.registerCsiHandler({prefix:"?",final:"l"},function(e){return v.resetModePrivate(e)}),v._parser.registerCsiHandler({final:"m"},function(e){return v.charAttributes(e)}),v._parser.registerCsiHandler({final:"n"},function(e){return v.deviceStatus(e)}),v._parser.registerCsiHandler({prefix:"?",final:"n"},function(e){return v.deviceStatusPrivate(e)}),v._parser.registerCsiHandler({intermediates:"!",final:"p"},function(e){return v.softReset(e)}),v._parser.registerCsiHandler({intermediates:" ",final:"q"},function(e){return v.setCursorStyle(e)}),v._parser.registerCsiHandler({final:"r"},function(e){return v.setScrollRegion(e)}),v._parser.registerCsiHandler({final:"s"},function(e){return v.saveCursor(e)}),v._parser.registerCsiHandler({final:"t"},function(e){return v.windowOptions(e)}),v._parser.registerCsiHandler({final:"u"},function(e){return v.restoreCursor(e)}),v._parser.registerCsiHandler({intermediates:"'",final:"}"},function(e){return v.insertColumns(e)}),v._parser.registerCsiHandler({intermediates:"'",final:"~"},function(e){return v.deleteColumns(e)}),v._parser.setExecuteHandler(a.C0.BEL,function(){return v.bell()}),v._parser.setExecuteHandler(a.C0.LF,function(){return v.lineFeed()}),v._parser.setExecuteHandler(a.C0.VT,function(){return v.lineFeed()}),v._parser.setExecuteHandler(a.C0.FF,function(){return v.lineFeed()}),v._parser.setExecuteHandler(a.C0.CR,function(){return v.carriageReturn()}),v._parser.setExecuteHandler(a.C0.BS,function(){return v.backspace()}),v._parser.setExecuteHandler(a.C0.HT,function(){return v.tab()}),v._parser.setExecuteHandler(a.C0.SO,function(){return v.shiftOut()}),v._parser.setExecuteHandler(a.C0.SI,function(){return v.shiftIn()}),v._parser.setExecuteHandler(a.C1.IND,function(){return v.index()}),v._parser.setExecuteHandler(a.C1.NEL,function(){return v.nextLine()}),v._parser.setExecuteHandler(a.C1.HTS,function(){return v.tabSet()}),v._parser.registerOscHandler(0,new _.OscHandler(function(e){return v.setTitle(e),v.setIconName(e),!0})),v._parser.registerOscHandler(1,new _.OscHandler(function(e){return v.setIconName(e)})),v._parser.registerOscHandler(2,new _.OscHandler(function(e){return v.setTitle(e)})),v._parser.registerOscHandler(4,new _.OscHandler(function(e){return v.setOrReportIndexedColor(e)})),v._parser.registerOscHandler(10,new _.OscHandler(function(e){return v.setOrReportFgColor(e)})),v._parser.registerOscHandler(11,new _.OscHandler(function(e){return v.setOrReportBgColor(e)})),v._parser.registerOscHandler(12,new _.OscHandler(function(e){return v.setOrReportCursorColor(e)})),v._parser.registerOscHandler(104,new _.OscHandler(function(e){return v.restoreIndexedColor(e)})),v._parser.registerOscHandler(110,new _.OscHandler(function(e){return v.restoreFgColor(e)})),v._parser.registerOscHandler(111,new _.OscHandler(function(e){return v.restoreBgColor(e)})),v._parser.registerOscHandler(112,new _.OscHandler(function(e){return v.restoreCursorColor(e)})),v._parser.registerEscHandler({final:"7"},function(){return v.saveCursor()}),v._parser.registerEscHandler({final:"8"},function(){return v.restoreCursor()}),v._parser.registerEscHandler({final:"D"},function(){return v.index()}),v._parser.registerEscHandler({final:"E"},function(){return v.nextLine()}),v._parser.registerEscHandler({final:"H"},function(){return v.tabSet()}),v._parser.registerEscHandler({final:"M"},function(){return v.reverseIndex()}),v._parser.registerEscHandler({final:"="},function(){return v.keypadApplicationMode()}),v._parser.registerEscHandler({final:">"},function(){return v.keypadNumericMode()}),v._parser.registerEscHandler({final:"c"},function(){return v.fullReset()}),v._parser.registerEscHandler({final:"n"},function(){return v.setgLevel(2)}),v._parser.registerEscHandler({final:"o"},function(){return v.setgLevel(3)}),v._parser.registerEscHandler({final:"|"},function(){return v.setgLevel(3)}),v._parser.registerEscHandler({final:"}"},function(){return v.setgLevel(2)}),v._parser.registerEscHandler({final:"~"},function(){return v.setgLevel(1)}),v._parser.registerEscHandler({intermediates:"%",final:"@"},function(){return v.selectDefaultCharset()}),v._parser.registerEscHandler({intermediates:"%",final:"G"},function(){return v.selectDefaultCharset()});var b=function(e){y._parser.registerEscHandler({intermediates:"(",final:e},function(){return v.selectCharset("("+e)}),y._parser.registerEscHandler({intermediates:")",final:e},function(){return v.selectCharset(")"+e)}),y._parser.registerEscHandler({intermediates:"*",final:e},function(){return v.selectCharset("*"+e)}),y._parser.registerEscHandler({intermediates:"+",final:e},function(){return v.selectCharset("+"+e)}),y._parser.registerEscHandler({intermediates:"-",final:e},function(){return v.selectCharset("-"+e)}),y._parser.registerEscHandler({intermediates:".",final:e},function(){return v.selectCharset("."+e)}),y._parser.registerEscHandler({intermediates:"/",final:e},function(){return v.selectCharset("/"+e)})},y=this;for(var M in s.CHARSETS)b(M);return v._parser.registerEscHandler({intermediates:"#",final:"8"},function(){return v.screenAlignmentPattern()}),v._parser.setErrorHandler(function(e){return v._logService.error("Parsing error: ",e),e}),v._parser.registerDcsHandler({intermediates:"$",final:"q"},new S(v._bufferService,v._coreService,v._logService,v._optionsService)),v}return o(t,e),Object.defineProperty(t.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestSendFocus",{get:function(){return this._onRequestSendFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onColor",{get:function(){return this._onColor.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._preserveStack=function(e,t,n,i){this._parseStack.paused=!0,this._parseStack.cursorStartX=e,this._parseStack.cursorStartY=t,this._parseStack.decodedLength=n,this._parseStack.position=i},t.prototype._logSlowResolvingAsync=function(e){this._logService.logLevel<=v.LogLevelEnum.WARN&&Promise.race([e,new Promise(function(e,t){return setTimeout(function(){return t("#SLOW_TIMEOUT")},5e3)})]).catch(function(e){if("#SLOW_TIMEOUT"!==e)throw e;console.warn("async parser handler taking longer than 5000 ms")})},t.prototype.parse=function(e,t){var n,i=this._activeBuffer.x,o=this._activeBuffer.y,r=0,a=this._parseStack.paused;if(a){if(n=this._parser.parse(this._parseBuffer,this._parseStack.decodedLength,t))return this._logSlowResolvingAsync(n),n;i=this._parseStack.cursorStartX,o=this._parseStack.cursorStartY,this._parseStack.paused=!1,e.length>w&&(r=this._parseStack.position+w)}if(this._logService.logLevel<=v.LogLevelEnum.DEBUG&&this._logService.debug("parsing data"+("string"==typeof e?' "'+e+'"':' "'+Array.prototype.map.call(e,function(e){return String.fromCharCode(e)}).join("")+'"'),"string"==typeof e?e.split("").map(function(e){return e.charCodeAt(0)}):e),this._parseBuffer.lengthw)for(var s=r;s0&&2===h.getWidth(this._activeBuffer.x-1)&&h.setCellFromCodePoint(this._activeBuffer.x-1,0,1,u.fg,u.bg,u.extended);for(var p=t;p=s)if(c){for(;this._activeBuffer.x=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!0),h=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y)}else if(this._activeBuffer.x=s-1,2===o)continue;if(l&&(h.insertCells(this._activeBuffer.x,o,this._activeBuffer.getNullCell(u),u),2===h.getWidth(s-1)&&h.setCellFromCodePoint(s-1,f.NULL_CELL_CODE,f.NULL_CELL_WIDTH,u.fg,u.bg,u.extended)),h.setCellFromCodePoint(this._activeBuffer.x++,i,o,u.fg,u.bg,u.extended),o>0)for(;--o;)h.setCellFromCodePoint(this._activeBuffer.x++,0,0,u.fg,u.bg,u.extended)}else h.getWidth(this._activeBuffer.x-1)?h.addCodepointToCell(this._activeBuffer.x-1,i):h.addCodepointToCell(this._activeBuffer.x-2,i)}n-t>0&&(h.loadCell(this._activeBuffer.x-1,this._workCell),2===this._workCell.getWidth()||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),this._activeBuffer.x0&&0===h.getWidth(this._activeBuffer.x)&&!h.hasContent(this._activeBuffer.x)&&h.setCellFromCodePoint(this._activeBuffer.x,0,1,u.fg,u.bg,u.extended),this._dirtyRowService.markDirty(this._activeBuffer.y)},t.prototype.registerCsiHandler=function(e,t){var n=this;return"t"!==e.final||e.prefix||e.intermediates?this._parser.registerCsiHandler(e,t):this._parser.registerCsiHandler(e,function(e){return!L(e.params[0],n._optionsService.rawOptions.windowOptions)||t(e)})},t.prototype.registerDcsHandler=function(e,t){return this._parser.registerDcsHandler(e,new b.DcsHandler(t))},t.prototype.registerEscHandler=function(e,t){return this._parser.registerEscHandler(e,t)},t.prototype.registerOscHandler=function(e,t){return this._parser.registerOscHandler(e,new _.OscHandler(t))},t.prototype.bell=function(){return this._onRequestBell.fire(),!0},t.prototype.lineFeed=function(){return this._dirtyRowService.markDirty(this._activeBuffer.y),this._optionsService.rawOptions.convertEol&&(this._activeBuffer.x=0),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.x>=this._bufferService.cols&&this._activeBuffer.x--,this._dirtyRowService.markDirty(this._activeBuffer.y),this._onLineFeed.fire(),!0},t.prototype.carriageReturn=function(){return this._activeBuffer.x=0,!0},t.prototype.backspace=function(){var e;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),this._activeBuffer.x>0&&this._activeBuffer.x--,!0;if(this._restrictCursor(this._bufferService.cols),this._activeBuffer.x>0)this._activeBuffer.x--;else if(0===this._activeBuffer.x&&this._activeBuffer.y>this._activeBuffer.scrollTop&&this._activeBuffer.y<=this._activeBuffer.scrollBottom&&(null===(e=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y))||void 0===e?void 0:e.isWrapped)){this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!1,this._activeBuffer.y--,this._activeBuffer.x=this._bufferService.cols-1;var t=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);t.hasWidth(this._activeBuffer.x)&&!t.hasContent(this._activeBuffer.x)&&this._activeBuffer.x--}return this._restrictCursor(),!0},t.prototype.tab=function(){if(this._activeBuffer.x>=this._bufferService.cols)return!0;var e=this._activeBuffer.x;return this._activeBuffer.x=this._activeBuffer.nextStop(),this._optionsService.rawOptions.screenReaderMode&&this._onA11yTab.fire(this._activeBuffer.x-e),!0},t.prototype.shiftOut=function(){return this._charsetService.setgLevel(1),!0},t.prototype.shiftIn=function(){return this._charsetService.setgLevel(0),!0},t.prototype._restrictCursor=function(e){void 0===e&&(e=this._bufferService.cols-1),this._activeBuffer.x=Math.min(e,Math.max(0,this._activeBuffer.x)),this._activeBuffer.y=this._coreService.decPrivateModes.origin?Math.min(this._activeBuffer.scrollBottom,Math.max(this._activeBuffer.scrollTop,this._activeBuffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._activeBuffer.y)),this._dirtyRowService.markDirty(this._activeBuffer.y)},t.prototype._setCursor=function(e,t){this._dirtyRowService.markDirty(this._activeBuffer.y),this._coreService.decPrivateModes.origin?(this._activeBuffer.x=e,this._activeBuffer.y=this._activeBuffer.scrollTop+t):(this._activeBuffer.x=e,this._activeBuffer.y=t),this._restrictCursor(),this._dirtyRowService.markDirty(this._activeBuffer.y)},t.prototype._moveCursor=function(e,t){this._restrictCursor(),this._setCursor(this._activeBuffer.x+e,this._activeBuffer.y+t)},t.prototype.cursorUp=function(e){var t=this._activeBuffer.y-this._activeBuffer.scrollTop;return t>=0?this._moveCursor(0,-Math.min(t,e.params[0]||1)):this._moveCursor(0,-(e.params[0]||1)),!0},t.prototype.cursorDown=function(e){var t=this._activeBuffer.scrollBottom-this._activeBuffer.y;return t>=0?this._moveCursor(0,Math.min(t,e.params[0]||1)):this._moveCursor(0,e.params[0]||1),!0},t.prototype.cursorForward=function(e){return this._moveCursor(e.params[0]||1,0),!0},t.prototype.cursorBackward=function(e){return this._moveCursor(-(e.params[0]||1),0),!0},t.prototype.cursorNextLine=function(e){return this.cursorDown(e),this._activeBuffer.x=0,!0},t.prototype.cursorPrecedingLine=function(e){return this.cursorUp(e),this._activeBuffer.x=0,!0},t.prototype.cursorCharAbsolute=function(e){return this._setCursor((e.params[0]||1)-1,this._activeBuffer.y),!0},t.prototype.cursorPosition=function(e){return this._setCursor(e.length>=2?(e.params[1]||1)-1:0,(e.params[0]||1)-1),!0},t.prototype.charPosAbsolute=function(e){return this._setCursor((e.params[0]||1)-1,this._activeBuffer.y),!0},t.prototype.hPositionRelative=function(e){return this._moveCursor(e.params[0]||1,0),!0},t.prototype.linePosAbsolute=function(e){return this._setCursor(this._activeBuffer.x,(e.params[0]||1)-1),!0},t.prototype.vPositionRelative=function(e){return this._moveCursor(0,e.params[0]||1),!0},t.prototype.hVPosition=function(e){return this.cursorPosition(e),!0},t.prototype.tabClear=function(e){var t=e.params[0];return 0===t?delete this._activeBuffer.tabs[this._activeBuffer.x]:3===t&&(this._activeBuffer.tabs={}),!0},t.prototype.cursorForwardTab=function(e){if(this._activeBuffer.x>=this._bufferService.cols)return!0;for(var t=e.params[0]||1;t--;)this._activeBuffer.x=this._activeBuffer.nextStop();return!0},t.prototype.cursorBackwardTab=function(e){if(this._activeBuffer.x>=this._bufferService.cols)return!0;for(var t=e.params[0]||1;t--;)this._activeBuffer.x=this._activeBuffer.prevStop();return!0},t.prototype._eraseInBufferLine=function(e,t,n,i){void 0===i&&(i=!1);var o=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);o.replaceCells(t,n,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),i&&(o.isWrapped=!1)},t.prototype._resetBufferLine=function(e){var t=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);t.fill(this._activeBuffer.getNullCell(this._eraseAttrData())),this._bufferService.buffer.clearMarkers(this._activeBuffer.ybase+e),t.isWrapped=!1},t.prototype.eraseInDisplay=function(e){var t;switch(this._restrictCursor(this._bufferService.cols),e.params[0]){case 0:for(t=this._activeBuffer.y,this._dirtyRowService.markDirty(t),this._eraseInBufferLine(t++,this._activeBuffer.x,this._bufferService.cols,0===this._activeBuffer.x);t=this._bufferService.cols&&(this._activeBuffer.lines.get(t+1).isWrapped=!1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 2:for(t=this._bufferService.rows,this._dirtyRowService.markDirty(t-1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 3:var n=this._activeBuffer.lines.length-this._bufferService.rows;n>0&&(this._activeBuffer.lines.trimStart(n),this._activeBuffer.ybase=Math.max(this._activeBuffer.ybase-n,0),this._activeBuffer.ydisp=Math.max(this._activeBuffer.ydisp-n,0),this._onScroll.fire(0))}return!0},t.prototype.eraseInLine=function(e){switch(this._restrictCursor(this._bufferService.cols),e.params[0]){case 0:this._eraseInBufferLine(this._activeBuffer.y,this._activeBuffer.x,this._bufferService.cols,0===this._activeBuffer.x);break;case 1:this._eraseInBufferLine(this._activeBuffer.y,0,this._activeBuffer.x+1,!1);break;case 2:this._eraseInBufferLine(this._activeBuffer.y,0,this._bufferService.cols,!0)}return this._dirtyRowService.markDirty(this._activeBuffer.y),!0},t.prototype.insertLines=function(e){this._restrictCursor();var t=e.params[0]||1;if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.y0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(a.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(a.C0.ESC+"[?6c")),!0},t.prototype.sendDeviceAttributesSecondary=function(e){return e.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(a.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(a.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(e.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(a.C0.ESC+"[>83;40003;0c")),!0},t.prototype._is=function(e){return 0===(this._optionsService.rawOptions.termName+"").indexOf(e)},t.prototype.setMode=function(e){for(var t=0;t=2||2===i[1]&&r+o>=5)break;i[1]&&(o=1)}while(++r+t5)&&(e=1),t.extended.underlineStyle=e,t.fg|=268435456,0===e&&(t.fg&=-268435457),t.updateExtended()},t.prototype.charAttributes=function(e){if(1===e.length&&0===e.params[0])return this._curAttrData.fg=h.DEFAULT_ATTR_DATA.fg,this._curAttrData.bg=h.DEFAULT_ATTR_DATA.bg,!0;for(var t,n=e.length,i=this._curAttrData,o=0;o=30&&t<=37?(i.fg&=-50331904,i.fg|=16777216|t-30):t>=40&&t<=47?(i.bg&=-50331904,i.bg|=16777216|t-40):t>=90&&t<=97?(i.fg&=-50331904,i.fg|=16777224|t-90):t>=100&&t<=107?(i.bg&=-50331904,i.bg|=16777224|t-100):0===t?(i.fg=h.DEFAULT_ATTR_DATA.fg,i.bg=h.DEFAULT_ATTR_DATA.bg):1===t?i.fg|=134217728:3===t?i.bg|=67108864:4===t?(i.fg|=268435456,this._processUnderline(e.hasSubParams(o)?e.getSubParams(o)[0]:1,i)):5===t?i.fg|=536870912:7===t?i.fg|=67108864:8===t?i.fg|=1073741824:9===t?i.fg|=2147483648:2===t?i.bg|=134217728:21===t?this._processUnderline(2,i):22===t?(i.fg&=-134217729,i.bg&=-134217729):23===t?i.bg&=-67108865:24===t?i.fg&=-268435457:25===t?i.fg&=-536870913:27===t?i.fg&=-67108865:28===t?i.fg&=-1073741825:29===t?i.fg&=2147483647:39===t?(i.fg&=-67108864,i.fg|=16777215&h.DEFAULT_ATTR_DATA.fg):49===t?(i.bg&=-67108864,i.bg|=16777215&h.DEFAULT_ATTR_DATA.bg):38===t||48===t||58===t?o+=this._extractColor(e,o,i):59===t?(i.extended=i.extended.clone(),i.extended.underlineColor=-1,i.updateExtended()):100===t?(i.fg&=-67108864,i.fg|=16777215&h.DEFAULT_ATTR_DATA.fg,i.bg&=-67108864,i.bg|=16777215&h.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",t);return!0},t.prototype.deviceStatus=function(e){switch(e.params[0]){case 5:this._coreService.triggerDataEvent(a.C0.ESC+"[0n");break;case 6:var t=this._activeBuffer.y+1,n=this._activeBuffer.x+1;this._coreService.triggerDataEvent(a.C0.ESC+"["+t+";"+n+"R")}return!0},t.prototype.deviceStatusPrivate=function(e){if(6===e.params[0]){var t=this._activeBuffer.y+1,n=this._activeBuffer.x+1;this._coreService.triggerDataEvent(a.C0.ESC+"[?"+t+";"+n+"R")}return!0},t.prototype.softReset=function(e){return this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._activeBuffer.scrollTop=0,this._activeBuffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=h.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._activeBuffer.savedX=0,this._activeBuffer.savedY=this._activeBuffer.ybase,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1,!0},t.prototype.setCursorStyle=function(e){var t=e.params[0]||1;switch(t){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var n=t%2==1;return this._optionsService.options.cursorBlink=n,!0},t.prototype.setScrollRegion=function(e){var t,n=e.params[0]||1;return(e.length<2||(t=e.params[1])>this._bufferService.rows||0===t)&&(t=this._bufferService.rows),t>n&&(this._activeBuffer.scrollTop=n-1,this._activeBuffer.scrollBottom=t-1,this._setCursor(0,0)),!0},t.prototype.windowOptions=function(e){if(!L(e.params[0],this._optionsService.rawOptions.windowOptions))return!0;var t=e.length>1?e.params[1]:0;switch(e.params[0]){case 14:2!==t&&this._onRequestWindowsOptionsReport.fire(r.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(r.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(a.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:0!==t&&2!==t||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),0!==t&&1!==t||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:0!==t&&2!==t||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),0!==t&&1!==t||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}return!0},t.prototype.saveCursor=function(e){return this._activeBuffer.savedX=this._activeBuffer.x,this._activeBuffer.savedY=this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,!0},t.prototype.restoreCursor=function(e){return this._activeBuffer.x=this._activeBuffer.savedX||0,this._activeBuffer.y=Math.max(this._activeBuffer.savedY-this._activeBuffer.ybase,0),this._curAttrData.fg=this._activeBuffer.savedCurAttrData.fg,this._curAttrData.bg=this._activeBuffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._activeBuffer.savedCharset&&(this._charsetService.charset=this._activeBuffer.savedCharset),this._restrictCursor(),!0},t.prototype.setTitle=function(e){return this._windowTitle=e,this._onTitleChange.fire(e),!0},t.prototype.setIconName=function(e){return this._iconName=e,!0},t.prototype.setOrReportIndexedColor=function(e){for(var t=[],n=e.split(";");n.length>1;){var i=n.shift(),o=n.shift();if(/^\d+$/.exec(i)){var r=parseInt(i);if(0<=r&&r<256)if("?"===o)t.push({type:0,index:r});else{var a=(0,y.parseColor)(o);a&&t.push({type:1,index:r,color:a})}}}return t.length&&this._onColor.fire(t),!0},t.prototype._setOrReportSpecialColor=function(e,t){for(var n=e.split(";"),i=0;i=this._specialColors.length);++i,++t)if("?"===n[i])this._onColor.fire([{type:0,index:this._specialColors[t]}]);else{var o=(0,y.parseColor)(n[i]);o&&this._onColor.fire([{type:1,index:this._specialColors[t],color:o}])}return!0},t.prototype.setOrReportFgColor=function(e){return this._setOrReportSpecialColor(e,0)},t.prototype.setOrReportBgColor=function(e){return this._setOrReportSpecialColor(e,1)},t.prototype.setOrReportCursorColor=function(e){return this._setOrReportSpecialColor(e,2)},t.prototype.restoreIndexedColor=function(e){if(!e)return this._onColor.fire([{type:2}]),!0;for(var t=[],n=e.split(";"),i=0;i=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._restrictCursor(),!0},t.prototype.tabSet=function(){return this._activeBuffer.tabs[this._activeBuffer.x]=!0,!0},t.prototype.reverseIndex=function(){if(this._restrictCursor(),this._activeBuffer.y===this._activeBuffer.scrollTop){var e=this._activeBuffer.scrollBottom-this._activeBuffer.scrollTop;this._activeBuffer.lines.shiftElements(this._activeBuffer.ybase+this._activeBuffer.y,e,1),this._activeBuffer.lines.set(this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom)}else this._activeBuffer.y--,this._restrictCursor();return!0},t.prototype.fullReset=function(){return this._parser.reset(),this._onRequestReset.fire(),!0},t.prototype.reset=function(){this._curAttrData=h.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=h.DEFAULT_ATTR_DATA.clone()},t.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},t.prototype.setgLevel=function(e){return this._charsetService.setgLevel(e),!0},t.prototype.screenAlignmentPattern=function(){var e=new m.CellData;e.content=1<<22|"E".charCodeAt(0),e.fg=this._curAttrData.fg,e.bg=this._curAttrData.bg,this._setCursor(0,0);for(var t=0;t=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.getDisposeArrayDisposable=t.disposeArray=t.Disposable=void 0;var i=function(){function e(){this._disposables=[],this._isDisposed=!1}return e.prototype.dispose=function(){var e,t;this._isDisposed=!0;try{for(var i=n(this._disposables),o=i.next();!o.done;o=i.next())o.value.dispose()}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}this._disposables.length=0},e.prototype.register=function(e){return this._disposables.push(e),e},e.prototype.unregister=function(e){var t=this._disposables.indexOf(e);-1!==t&&this._disposables.splice(t,1)},e}();function o(e){var t,i;try{for(var o=n(e),r=o.next();!r.done;r=o.next())r.value.dispose()}catch(e){t={error:e}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}e.length=0}t.Disposable=i,t.disposeArray=o,t.getDisposeArrayDisposable=function(e){return{dispose:function(){return o(e)}}}},6114:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isLinux=t.isWindows=t.isIphone=t.isIpad=t.isMac=t.isSafari=t.isLegacyEdge=t.isFirefox=void 0;var n="undefined"==typeof navigator,i=n?"node":navigator.userAgent,o=n?"node":navigator.platform;t.isFirefox=i.includes("Firefox"),t.isLegacyEdge=i.includes("Edge"),t.isSafari=/^((?!chrome|android).)*safari/i.test(i),t.isMac=["Macintosh","MacIntel","MacPPC","Mac68K"].includes(o),t.isIpad="iPad"===o,t.isIphone="iPhone"===o,t.isWindows=["Windows","Win16","Win32","WinCE"].includes(o),t.isLinux=o.indexOf("Linux")>=0},6106:function(e,t){var n=this&&this.__generator||function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=this._array.length)return[2];if(this._getKey(this._array[t])!==e)return[2];n.label=1;case 1:return[4,this._array[t]];case 2:n.sent(),n.label=3;case 3:if(++te)return this._search(e,t,i-1);if(this._getKey(this._array[i])0&&this._getKey(this._array[i-1])===e;)i--;return i},e}();t.SortedList=i},8273:(e,t)=>{function n(e,t,n,i){if(void 0===n&&(n=0),void 0===i&&(i=e.length),n>=e.length)return e;n=(e.length+n)%e.length,i=i>=e.length?e.length:(e.length+i)%e.length;for(var o=n;o{Object.defineProperty(t,"__esModule",{value:!0}),t.updateWindowsModeWrappedState=void 0;var i=n(643);t.updateWindowsModeWrappedState=function(e){var t=e.buffer.lines.get(e.buffer.ybase+e.buffer.y-1),n=null==t?void 0:t.get(e.cols-1),o=e.buffer.lines.get(e.buffer.ybase+e.buffer.y);o&&n&&(o.isWrapped=n[i.CHAR_DATA_CODE_INDEX]!==i.NULL_CELL_CODE&&n[i.CHAR_DATA_CODE_INDEX]!==i.WHITESPACE_CELL_CODE)}},3734:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedAttrs=t.AttributeData=void 0;var n=function(){function e(){this.fg=0,this.bg=0,this.extended=new i}return e.toColorRGB=function(e){return[e>>>16&255,e>>>8&255,255&e]},e.fromColorRGB=function(e){return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},e.prototype.clone=function(){var t=new e;return t.fg=this.fg,t.bg=this.bg,t.extended=this.extended.clone(),t},e.prototype.isInverse=function(){return 67108864&this.fg},e.prototype.isBold=function(){return 134217728&this.fg},e.prototype.isUnderline=function(){return 268435456&this.fg},e.prototype.isBlink=function(){return 536870912&this.fg},e.prototype.isInvisible=function(){return 1073741824&this.fg},e.prototype.isItalic=function(){return 67108864&this.bg},e.prototype.isDim=function(){return 134217728&this.bg},e.prototype.isStrikethrough=function(){return 2147483648&this.fg},e.prototype.getFgColorMode=function(){return 50331648&this.fg},e.prototype.getBgColorMode=function(){return 50331648&this.bg},e.prototype.isFgRGB=function(){return 50331648==(50331648&this.fg)},e.prototype.isBgRGB=function(){return 50331648==(50331648&this.bg)},e.prototype.isFgPalette=function(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)},e.prototype.isBgPalette=function(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)},e.prototype.isFgDefault=function(){return 0==(50331648&this.fg)},e.prototype.isBgDefault=function(){return 0==(50331648&this.bg)},e.prototype.isAttributeDefault=function(){return 0===this.fg&&0===this.bg},e.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},e.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},e.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},e.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},e.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},e.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},e.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648==(50331648&this.extended.underlineColor):this.isFgRGB()},e.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?16777216==(50331648&this.extended.underlineColor)||33554432==(50331648&this.extended.underlineColor):this.isFgPalette()},e.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?0==(50331648&this.extended.underlineColor):this.isFgDefault()},e.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},e}();t.AttributeData=n;var i=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=-1),this.underlineStyle=e,this.underlineColor=t}return e.prototype.clone=function(){return new e(this.underlineStyle,this.underlineColor)},e.prototype.isEmpty=function(){return 0===this.underlineStyle},e}();t.ExtendedAttrs=i},9092:function(e,t,n){var i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;othis._rows},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isCursorInViewport",{get:function(){var e=this.ybase+this.y-this.ydisp;return e>=0&&et.MAX_BUFFER_SIZE?t.MAX_BUFFER_SIZE:n},e.prototype.fillViewportRows=function(e){if(0===this.lines.length){void 0===e&&(e=a.DEFAULT_ATTR_DATA);for(var t=this._rows;t--;)this.lines.push(this.getBlankLine(e))}},e.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new r.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},e.prototype.resize=function(e,t){var n=this.getNullCell(a.DEFAULT_ATTR_DATA),i=this._getCorrectBufferLength(t);if(i>this.lines.maxLength&&(this.lines.maxLength=i),this.lines.length>0){if(this._cols0&&this.lines.length<=this.ybase+this.y+r+1?(this.ybase--,r++,this.ydisp>0&&this.ydisp--):this.lines.push(new a.BufferLine(e,n)));else for(s=this._rows;s>t;s--)this.lines.length>t+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(i0&&(this.lines.trimStart(c),this.ybase=Math.max(this.ybase-c,0),this.ydisp=Math.max(this.ydisp-c,0),this.savedY=Math.max(this.savedY-c,0)),this.lines.maxLength=i}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,t-1),r&&(this.y+=r),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=t-1,this._isReflowEnabled&&(this._reflow(e,t),this._cols>e))for(o=0;othis._cols?this._reflowLarger(e,t):this._reflowSmaller(e,t))},e.prototype._reflowLarger=function(e,t){var n=(0,l.reflowLargerGetLinesToRemove)(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(a.DEFAULT_ATTR_DATA));if(n.length>0){var i=(0,l.reflowLargerCreateNewLayout)(this.lines,n);(0,l.reflowLargerApplyNewLayout)(this.lines,i.layout),this._reflowLargerAdjustViewport(e,t,i.countRemoved)}},e.prototype._reflowLargerAdjustViewport=function(e,t,n){for(var i=this.getNullCell(a.DEFAULT_ATTR_DATA),o=n;o-- >0;)0===this.ybase?(this.y>0&&this.y--,this.lines.length=0;c--){var u=this.lines.get(c);if(!(!u||!u.isWrapped&&u.getTrimmedLength()<=e)){for(var d=[u];u.isWrapped&&c>0;)u=this.lines.get(--c),d.unshift(u);var h=this.ybase+this.y;if(!(h>=c&&h0&&(r.push({start:c+d.length+s,newLines:v}),s+=v.length),d.push.apply(d,o([],i(v),!1));var y=m.length-1,M=m[y];0===M&&(M=m[--y]);for(var w=d.length-g-1,L=f;w>=0;){var S=Math.min(L,M);if(void 0===d[y])break;if(d[y].copyCellsFrom(d[w],L-S,M-S,S,!0),0==(M-=S)&&(M=m[--y]),0==(L-=S)){w--;var C=Math.max(w,0);L=(0,l.getWrappedLineTrimmedLength)(d,C,this._cols)}}for(_=0;_0;)0===this.ybase?this.y0){var A=[],T=[];for(_=0;_=0;_--)if(D&&D.start>k+R){for(var z=D.newLines.length-1;z>=0;z--)this.lines.set(_--,D.newLines[z]);_++,A.push({index:k+1,amount:D.newLines.length}),R+=D.newLines.length,D=r[++x]}else this.lines.set(_,T[k--]);var P=0;for(_=A.length-1;_>=0;_--)A[_].index+=P,this.lines.onInsertEmitter.fire(A[_]),P+=A[_].amount;var N=Math.max(0,O+s-this.lines.maxLength);N>0&&this.lines.onTrimEmitter.fire(N)}},e.prototype.stringIndexToBufferIndex=function(e,t,n){for(void 0===n&&(n=!1);t;){var i=this.lines.get(e);if(!i)return[-1,-1];for(var o=n?i.getTrimmedLength():i.length,r=0;r0&&this.lines.get(t).isWrapped;)t--;for(;n+10;);return e>=this._cols?this._cols-1:e<0?0:e},e.prototype.nextStop=function(e){for(null==e&&(e=this.x);!this.tabs[++e]&&e=this._cols?this._cols-1:e<0?0:e},e.prototype.clearMarkers=function(e){this._isClearing=!0;for(var t=0;t=e.index&&(n.line+=e.amount)})),n.register(this.lines.onDelete(function(e){n.line>=e.index&&n.linee.index&&(n.line-=e.amount)})),n.register(n.onDispose(function(){return t._removeMarker(n)})),n},e.prototype._removeMarker=function(e){this._isClearing||this.markers.splice(this.markers.indexOf(e),1)},e.prototype.iterator=function(e,t,n,i,o){return new f(this,e,t,n,i,o)},e}();t.Buffer=p;var f=function(){function e(e,t,n,i,o,r){void 0===n&&(n=0),void 0===i&&(i=e.lines.length),void 0===o&&(o=0),void 0===r&&(r=0),this._buffer=e,this._trimRight=t,this._startIndex=n,this._endIndex=i,this._startOverscan=o,this._endOverscan=r,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return e.prototype.hasNext=function(){return this._currentthis._endIndex+this._endOverscan&&(e.last=this._endIndex+this._endOverscan),e.first=Math.max(e.first,0),e.last=Math.min(e.last,this._buffer.lines.length);for(var t="",n=e.first;n<=e.last;++n)t+=this._buffer.translateBufferLineToString(n,this._trimRight);return this._current=e.last+1,{range:e,content:t}},e}();t.BufferStringIterator=f},8437:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferLine=t.DEFAULT_ATTR_DATA=void 0;var i=n(482),o=n(643),r=n(511),a=n(3734);t.DEFAULT_ATTR_DATA=Object.freeze(new a.AttributeData);var s=function(){function e(e,t,n){void 0===n&&(n=!1),this.isWrapped=n,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*e);for(var i=t||r.CellData.fromCharData([0,o.NULL_CELL_CHAR,o.NULL_CELL_WIDTH,o.NULL_CELL_CODE]),a=0;a>22,2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):n]},e.prototype.set=function(e,t){this._data[3*e+1]=t[o.CHAR_DATA_ATTR_INDEX],t[o.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[e]=t[1],this._data[3*e+0]=2097152|e|t[o.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*e+0]=t[o.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|t[o.CHAR_DATA_WIDTH_INDEX]<<22},e.prototype.getWidth=function(e){return this._data[3*e+0]>>22},e.prototype.hasWidth=function(e){return 12582912&this._data[3*e+0]},e.prototype.getFg=function(e){return this._data[3*e+1]},e.prototype.getBg=function(e){return this._data[3*e+2]},e.prototype.hasContent=function(e){return 4194303&this._data[3*e+0]},e.prototype.getCodePoint=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):2097151&t},e.prototype.isCombined=function(e){return 2097152&this._data[3*e+0]},e.prototype.getString=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e]:2097151&t?(0,i.stringFromCodePoint)(2097151&t):""},e.prototype.loadCell=function(e,t){var n=3*e;return t.content=this._data[n+0],t.fg=this._data[n+1],t.bg=this._data[n+2],2097152&t.content&&(t.combinedData=this._combined[e]),268435456&t.bg&&(t.extended=this._extendedAttrs[e]),t},e.prototype.setCell=function(e,t){2097152&t.content&&(this._combined[e]=t.combinedData),268435456&t.bg&&(this._extendedAttrs[e]=t.extended),this._data[3*e+0]=t.content,this._data[3*e+1]=t.fg,this._data[3*e+2]=t.bg},e.prototype.setCellFromCodePoint=function(e,t,n,i,o,r){268435456&o&&(this._extendedAttrs[e]=r),this._data[3*e+0]=t|n<<22,this._data[3*e+1]=i,this._data[3*e+2]=o},e.prototype.addCodepointToCell=function(e,t){var n=this._data[3*e+0];2097152&n?this._combined[e]+=(0,i.stringFromCodePoint)(t):(2097151&n?(this._combined[e]=(0,i.stringFromCodePoint)(2097151&n)+(0,i.stringFromCodePoint)(t),n&=-2097152,n|=2097152):n=t|1<<22,this._data[3*e+0]=n)},e.prototype.insertCells=function(e,t,n,i){if((e%=this.length)&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null==i?void 0:i.fg)||0,(null==i?void 0:i.bg)||0,(null==i?void 0:i.extended)||new a.ExtendedAttrs),t=0;--s)this.setCell(e+t+s,this.loadCell(e+s,o));for(s=0;sthis.length){var n=new Uint32Array(3*e);this.length&&(3*e=e&&delete this._combined[r]}}else this._data=new Uint32Array(0),this._combined={};this.length=e}},e.prototype.fill=function(e){this._combined={},this._extendedAttrs={};for(var t=0;t=0;--e)if(4194303&this._data[3*e+0])return e+(this._data[3*e+0]>>22);return 0},e.prototype.copyCellsFrom=function(e,t,n,i,o){var r=e._data;if(o)for(var a=i-1;a>=0;a--)for(var s=0;s<3;s++)this._data[3*(n+a)+s]=r[3*(t+a)+s];else for(a=0;a=t&&(this._combined[l-t+n]=e._combined[l])}},e.prototype.translateToString=function(e,t,n){void 0===e&&(e=!1),void 0===t&&(t=0),void 0===n&&(n=this.length),e&&(n=Math.min(n,this.getTrimmedLength()));for(var r="";t>22||1}return r},e}();t.BufferLine=s},4841:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getRangeLength=void 0,t.getRangeLength=function(e,t){if(e.start.y>e.end.y)throw new Error("Buffer range end ("+e.end.x+", "+e.end.y+") cannot be before start ("+e.start.x+", "+e.start.y+")");return t*(e.end.y-e.start.y)+(e.end.x-e.start.x+1)}},4634:(e,t)=>{function n(e,t,n){if(t===e.length-1)return e[t].getTrimmedLength();var i=!e[t].hasContent(n-1)&&1===e[t].getWidth(n-1),o=2===e[t+1].getWidth(0);return i&&o?n-1:n}Object.defineProperty(t,"__esModule",{value:!0}),t.getWrappedLineTrimmedLength=t.reflowSmallerGetNewLineLengths=t.reflowLargerApplyNewLayout=t.reflowLargerCreateNewLayout=t.reflowLargerGetLinesToRemove=void 0,t.reflowLargerGetLinesToRemove=function(e,t,i,o,r){for(var a=[],s=0;s=s&&o0&&(y>d||0===u[y].getTrimmedLength());y--)b++;b>0&&(a.push(s+u.length-b),a.push(b)),s+=u.length-1}}}return a},t.reflowLargerCreateNewLayout=function(e,t){for(var n=[],i=0,o=t[i],r=0,a=0;al&&(a-=l,s++);var u=2===e[s].getWidth(a-1);u&&a--;var d=u?i-1:i;o.push(d),c+=d}return o},t.getWrappedLineTrimmedLength=n},5295:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.BufferSet=void 0;var r=n(9092),a=n(8460),s=function(e){function t(t,n){var i=e.call(this)||this;return i._optionsService=t,i._bufferService=n,i._onBufferActivate=i.register(new a.EventEmitter),i.reset(),i}return o(t,e),Object.defineProperty(t.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),t.prototype.reset=function(){this._normal=new r.Buffer(!0,this._optionsService,this._bufferService),this._normal.fillViewportRows(),this._alt=new r.Buffer(!1,this._optionsService,this._bufferService),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}),this.setupTabStops()},Object.defineProperty(t.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),t.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},t.prototype.activateAltBuffer=function(e){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(e),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},t.prototype.resize=function(e,t){this._normal.resize(e,t),this._alt.resize(e,t)},t.prototype.setupTabStops=function(e){this._normal.setupTabStops(e),this._alt.setupTabStops(e)},t}(n(844).Disposable);t.BufferSet=s},511:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CellData=void 0;var r=n(482),a=n(643),s=n(3734),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.content=0,t.fg=0,t.bg=0,t.extended=new s.ExtendedAttrs,t.combinedData="",t}return o(t,e),t.fromCharData=function(e){var n=new t;return n.setFromCharData(e),n},t.prototype.isCombined=function(){return 2097152&this.content},t.prototype.getWidth=function(){return this.content>>22},t.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?(0,r.stringFromCodePoint)(2097151&this.content):""},t.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},t.prototype.setFromCharData=function(e){this.fg=e[a.CHAR_DATA_ATTR_INDEX],this.bg=0;var t=!1;if(e[a.CHAR_DATA_CHAR_INDEX].length>2)t=!0;else if(2===e[a.CHAR_DATA_CHAR_INDEX].length){var n=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=n&&n<=56319){var i=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=i&&i<=57343?this.content=1024*(n-55296)+i-56320+65536|e[a.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[a.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=e[a.CHAR_DATA_CHAR_INDEX],this.content=2097152|e[a.CHAR_DATA_WIDTH_INDEX]<<22)},t.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},t}(s.AttributeData);t.CellData=c},643:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WHITESPACE_CELL_CODE=t.WHITESPACE_CELL_WIDTH=t.WHITESPACE_CELL_CHAR=t.NULL_CELL_CODE=t.NULL_CELL_WIDTH=t.NULL_CELL_CHAR=t.CHAR_DATA_CODE_INDEX=t.CHAR_DATA_WIDTH_INDEX=t.CHAR_DATA_CHAR_INDEX=t.CHAR_DATA_ATTR_INDEX=t.DEFAULT_ATTR=t.DEFAULT_COLOR=void 0,t.DEFAULT_COLOR=256,t.DEFAULT_ATTR=256|t.DEFAULT_COLOR<<9,t.CHAR_DATA_ATTR_INDEX=0,t.CHAR_DATA_CHAR_INDEX=1,t.CHAR_DATA_WIDTH_INDEX=2,t.CHAR_DATA_CODE_INDEX=3,t.NULL_CELL_CHAR="",t.NULL_CELL_WIDTH=1,t.NULL_CELL_CODE=0,t.WHITESPACE_CELL_CHAR=" ",t.WHITESPACE_CELL_WIDTH=1,t.WHITESPACE_CELL_CODE=32},4863:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Marker=void 0;var r=n(8460),a=function(e){function t(n){var i=e.call(this)||this;return i.line=n,i._id=t._nextId++,i.isDisposed=!1,i._onDispose=new r.EventEmitter,i}return o(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire(),e.prototype.dispose.call(this))},t._nextId=1,t}(n(844).Disposable);t.Marker=a},7116:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_CHARSET=t.CHARSETS=void 0,t.CHARSETS={},t.DEFAULT_CHARSET=t.CHARSETS.B,t.CHARSETS[0]={"`":"◆",a:"▒",b:"␉",c:"␌",d:"␍",e:"␊",f:"°",g:"±",h:"␤",i:"␋",j:"┘",k:"┐",l:"┌",m:"└",n:"┼",o:"⎺",p:"⎻",q:"─",r:"⎼",s:"⎽",t:"├",u:"┤",v:"┴",w:"┬",x:"│",y:"≤",z:"≥","{":"π","|":"≠","}":"£","~":"·"},t.CHARSETS.A={"#":"£"},t.CHARSETS.B=void 0,t.CHARSETS[4]={"#":"£","@":"¾","[":"ij","\\":"½","]":"|","{":"¨","|":"f","}":"¼","~":"´"},t.CHARSETS.C=t.CHARSETS[5]={"[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"},t.CHARSETS.R={"#":"£","@":"à","[":"°","\\":"ç","]":"§","{":"é","|":"ù","}":"è","~":"¨"},t.CHARSETS.Q={"@":"à","[":"â","\\":"ç","]":"ê","^":"î","`":"ô","{":"é","|":"ù","}":"è","~":"û"},t.CHARSETS.K={"@":"§","[":"Ä","\\":"Ö","]":"Ü","{":"ä","|":"ö","}":"ü","~":"ß"},t.CHARSETS.Y={"#":"£","@":"§","[":"°","\\":"ç","]":"é","`":"ù","{":"à","|":"ò","}":"è","~":"ì"},t.CHARSETS.E=t.CHARSETS[6]={"@":"Ä","[":"Æ","\\":"Ø","]":"Å","^":"Ü","`":"ä","{":"æ","|":"ø","}":"å","~":"ü"},t.CHARSETS.Z={"#":"£","@":"§","[":"¡","\\":"Ñ","]":"¿","{":"°","|":"ñ","}":"ç"},t.CHARSETS.H=t.CHARSETS[7]={"@":"É","[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"},t.CHARSETS["="]={"#":"ù","@":"à","[":"é","\\":"ç","]":"ê","^":"î",_:"è","`":"ô","{":"ä","|":"ö","}":"ü","~":"û"}},2584:(e,t)=>{var n,i;Object.defineProperty(t,"__esModule",{value:!0}),t.C1_ESCAPED=t.C1=t.C0=void 0,function(e){e.NUL="\0",e.SOH="",e.STX="",e.ETX="",e.EOT="",e.ENQ="",e.ACK="",e.BEL="",e.BS="\b",e.HT="\t",e.LF="\n",e.VT="\v",e.FF="\f",e.CR="\r",e.SO="",e.SI="",e.DLE="",e.DC1="",e.DC2="",e.DC3="",e.DC4="",e.NAK="",e.SYN="",e.ETB="",e.CAN="",e.EM="",e.SUB="",e.ESC="",e.FS="",e.GS="",e.RS="",e.US="",e.SP=" ",e.DEL=""}(n=t.C0||(t.C0={})),(i=t.C1||(t.C1={})).PAD="€",i.HOP="",i.BPH="‚",i.NBH="ƒ",i.IND="„",i.NEL="…",i.SSA="†",i.ESA="‡",i.HTS="ˆ",i.HTJ="‰",i.VTS="Š",i.PLD="‹",i.PLU="Œ",i.RI="",i.SS2="Ž",i.SS3="",i.DCS="",i.PU1="‘",i.PU2="’",i.STS="“",i.CCH="”",i.MW="•",i.SPA="–",i.EPA="—",i.SOS="˜",i.SGCI="™",i.SCI="š",i.CSI="›",i.ST="œ",i.OSC="",i.PM="ž",i.APC="Ÿ",(t.C1_ESCAPED||(t.C1_ESCAPED={})).ST=n.ESC+"\\"},7399:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.evaluateKeyboardEvent=void 0;var i=n(2584),o={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};t.evaluateKeyboardEvent=function(e,t,n,r){var a={type:0,cancel:!1,key:void 0},s=(e.shiftKey?1:0)|(e.altKey?2:0)|(e.ctrlKey?4:0)|(e.metaKey?8:0);switch(e.keyCode){case 0:"UIKeyInputUpArrow"===e.key?a.key=t?i.C0.ESC+"OA":i.C0.ESC+"[A":"UIKeyInputLeftArrow"===e.key?a.key=t?i.C0.ESC+"OD":i.C0.ESC+"[D":"UIKeyInputRightArrow"===e.key?a.key=t?i.C0.ESC+"OC":i.C0.ESC+"[C":"UIKeyInputDownArrow"===e.key&&(a.key=t?i.C0.ESC+"OB":i.C0.ESC+"[B");break;case 8:if(e.shiftKey){a.key=i.C0.BS;break}if(e.altKey){a.key=i.C0.ESC+i.C0.DEL;break}a.key=i.C0.DEL;break;case 9:if(e.shiftKey){a.key=i.C0.ESC+"[Z";break}a.key=i.C0.HT,a.cancel=!0;break;case 13:a.key=e.altKey?i.C0.ESC+i.C0.CR:i.C0.CR,a.cancel=!0;break;case 27:a.key=i.C0.ESC,e.altKey&&(a.key=i.C0.ESC+i.C0.ESC),a.cancel=!0;break;case 37:if(e.metaKey)break;s?(a.key=i.C0.ESC+"[1;"+(s+1)+"D",a.key===i.C0.ESC+"[1;3D"&&(a.key=i.C0.ESC+(n?"b":"[1;5D"))):a.key=t?i.C0.ESC+"OD":i.C0.ESC+"[D";break;case 39:if(e.metaKey)break;s?(a.key=i.C0.ESC+"[1;"+(s+1)+"C",a.key===i.C0.ESC+"[1;3C"&&(a.key=i.C0.ESC+(n?"f":"[1;5C"))):a.key=t?i.C0.ESC+"OC":i.C0.ESC+"[C";break;case 38:if(e.metaKey)break;s?(a.key=i.C0.ESC+"[1;"+(s+1)+"A",n||a.key!==i.C0.ESC+"[1;3A"||(a.key=i.C0.ESC+"[1;5A")):a.key=t?i.C0.ESC+"OA":i.C0.ESC+"[A";break;case 40:if(e.metaKey)break;s?(a.key=i.C0.ESC+"[1;"+(s+1)+"B",n||a.key!==i.C0.ESC+"[1;3B"||(a.key=i.C0.ESC+"[1;5B")):a.key=t?i.C0.ESC+"OB":i.C0.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(a.key=i.C0.ESC+"[2~");break;case 46:a.key=s?i.C0.ESC+"[3;"+(s+1)+"~":i.C0.ESC+"[3~";break;case 36:a.key=s?i.C0.ESC+"[1;"+(s+1)+"H":t?i.C0.ESC+"OH":i.C0.ESC+"[H";break;case 35:a.key=s?i.C0.ESC+"[1;"+(s+1)+"F":t?i.C0.ESC+"OF":i.C0.ESC+"[F";break;case 33:e.shiftKey?a.type=2:e.ctrlKey?a.key=i.C0.ESC+"[5;"+(s+1)+"~":a.key=i.C0.ESC+"[5~";break;case 34:e.shiftKey?a.type=3:e.ctrlKey?a.key=i.C0.ESC+"[6;"+(s+1)+"~":a.key=i.C0.ESC+"[6~";break;case 112:a.key=s?i.C0.ESC+"[1;"+(s+1)+"P":i.C0.ESC+"OP";break;case 113:a.key=s?i.C0.ESC+"[1;"+(s+1)+"Q":i.C0.ESC+"OQ";break;case 114:a.key=s?i.C0.ESC+"[1;"+(s+1)+"R":i.C0.ESC+"OR";break;case 115:a.key=s?i.C0.ESC+"[1;"+(s+1)+"S":i.C0.ESC+"OS";break;case 116:a.key=s?i.C0.ESC+"[15;"+(s+1)+"~":i.C0.ESC+"[15~";break;case 117:a.key=s?i.C0.ESC+"[17;"+(s+1)+"~":i.C0.ESC+"[17~";break;case 118:a.key=s?i.C0.ESC+"[18;"+(s+1)+"~":i.C0.ESC+"[18~";break;case 119:a.key=s?i.C0.ESC+"[19;"+(s+1)+"~":i.C0.ESC+"[19~";break;case 120:a.key=s?i.C0.ESC+"[20;"+(s+1)+"~":i.C0.ESC+"[20~";break;case 121:a.key=s?i.C0.ESC+"[21;"+(s+1)+"~":i.C0.ESC+"[21~";break;case 122:a.key=s?i.C0.ESC+"[23;"+(s+1)+"~":i.C0.ESC+"[23~";break;case 123:a.key=s?i.C0.ESC+"[24;"+(s+1)+"~":i.C0.ESC+"[24~";break;default:if(!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)if(n&&!r||!e.altKey||e.metaKey)!n||e.altKey||e.ctrlKey||e.shiftKey||!e.metaKey?e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&e.keyCode>=48&&1===e.key.length?a.key=e.key:e.key&&e.ctrlKey&&("_"===e.key&&(a.key=i.C0.US),"@"===e.key&&(a.key=i.C0.NUL)):65===e.keyCode&&(a.type=1);else{var c=o[e.keyCode],l=null==c?void 0:c[e.shiftKey?1:0];if(l)a.key=i.C0.ESC+l;else if(e.keyCode>=65&&e.keyCode<=90){var u=e.ctrlKey?e.keyCode-64:e.keyCode+32,d=String.fromCharCode(u);e.shiftKey&&(d=d.toUpperCase()),a.key=i.C0.ESC+d}else"Dead"===e.key&&e.code.startsWith("Key")&&(d=e.code.slice(3,4),e.shiftKey||(d=d.toLowerCase()),a.key=i.C0.ESC+d,a.cancel=!0)}else e.keyCode>=65&&e.keyCode<=90?a.key=String.fromCharCode(e.keyCode-64):32===e.keyCode?a.key=i.C0.NUL:e.keyCode>=51&&e.keyCode<=55?a.key=String.fromCharCode(e.keyCode-51+27):56===e.keyCode?a.key=i.C0.DEL:219===e.keyCode?a.key=i.C0.ESC:220===e.keyCode?a.key=i.C0.FS:221===e.keyCode&&(a.key=i.C0.GS)}return a}},482:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Utf8ToUtf32=t.StringToUtf32=t.utf32ToString=t.stringFromCodePoint=void 0,t.stringFromCodePoint=function(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},t.utf32ToString=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var i="",o=t;o65535?(r-=65536,i+=String.fromCharCode(55296+(r>>10))+String.fromCharCode(r%1024+56320)):i+=String.fromCharCode(r)}return i};var n=function(){function e(){this._interim=0}return e.prototype.clear=function(){this._interim=0},e.prototype.decode=function(e,t){var n=e.length;if(!n)return 0;var i=0,o=0;this._interim&&(56320<=(s=e.charCodeAt(o++))&&s<=57343?t[i++]=1024*(this._interim-55296)+s-56320+65536:(t[i++]=this._interim,t[i++]=s),this._interim=0);for(var r=o;r=n)return this._interim=a,i;var s;56320<=(s=e.charCodeAt(r))&&s<=57343?t[i++]=1024*(a-55296)+s-56320+65536:(t[i++]=a,t[i++]=s)}else 65279!==a&&(t[i++]=a)}return i},e}();t.StringToUtf32=n;var i=function(){function e(){this.interim=new Uint8Array(3)}return e.prototype.clear=function(){this.interim.fill(0)},e.prototype.decode=function(e,t){var n=e.length;if(!n)return 0;var i,o,r,a,s=0,c=0,l=0;if(this.interim[0]){var u=!1,d=this.interim[0];d&=192==(224&d)?31:224==(240&d)?15:7;for(var h=0,p=void 0;(p=63&this.interim[++h])&&h<4;)d<<=6,d|=p;for(var f=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,m=f-h;l=n)return 0;if(128!=(192&(p=e[l++]))){l--,u=!0;break}this.interim[h++]=p,d<<=6,d|=63&p}u||(2===f?d<128?l--:t[s++]=d:3===f?d<2048||d>=55296&&d<=57343||65279===d||(t[s++]=d):d<65536||d>1114111||(t[s++]=d)),this.interim.fill(0)}for(var g=n-4,v=l;v=n)return this.interim[0]=i,s;if(128!=(192&(o=e[v++]))){v--;continue}if((c=(31&i)<<6|63&o)<128){v--;continue}t[s++]=c}else if(224==(240&i)){if(v>=n)return this.interim[0]=i,s;if(128!=(192&(o=e[v++]))){v--;continue}if(v>=n)return this.interim[0]=i,this.interim[1]=o,s;if(128!=(192&(r=e[v++]))){v--;continue}if((c=(15&i)<<12|(63&o)<<6|63&r)<2048||c>=55296&&c<=57343||65279===c)continue;t[s++]=c}else if(240==(248&i)){if(v>=n)return this.interim[0]=i,s;if(128!=(192&(o=e[v++]))){v--;continue}if(v>=n)return this.interim[0]=i,this.interim[1]=o,s;if(128!=(192&(r=e[v++]))){v--;continue}if(v>=n)return this.interim[0]=i,this.interim[1]=o,this.interim[2]=r,s;if(128!=(192&(a=e[v++]))){v--;continue}if((c=(7&i)<<18|(63&o)<<12|(63&r)<<6|63&a)<65536||c>1114111)continue;t[s++]=c}}return s},e}();t.Utf8ToUtf32=i},225:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeV6=void 0;var i,o=n(8273),r=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],a=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],s=function(){function e(){if(this.version="6",!i){i=new Uint8Array(65536),(0,o.fill)(i,1),i[0]=0,(0,o.fill)(i,0,1,32),(0,o.fill)(i,0,127,160),(0,o.fill)(i,2,4352,4448),i[9001]=2,i[9002]=2,(0,o.fill)(i,2,11904,42192),i[12351]=1,(0,o.fill)(i,2,44032,55204),(0,o.fill)(i,2,63744,64256),(0,o.fill)(i,2,65040,65050),(0,o.fill)(i,2,65072,65136),(0,o.fill)(i,2,65280,65377),(0,o.fill)(i,2,65504,65511);for(var e=0;et[o][1])return!1;for(;o>=i;)if(e>t[n=i+o>>1][1])i=n+1;else{if(!(e=131072&&e<=196605||e>=196608&&e<=262141?2:1},e}();t.UnicodeV6=s},5981:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WriteBuffer=void 0;var i=n(8460),o="undefined"==typeof queueMicrotask?function(e){Promise.resolve().then(e)}:queueMicrotask,r=function(){function e(e){this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0,this._isSyncWriting=!1,this._syncCalls=0,this._onWriteParsed=new i.EventEmitter}return Object.defineProperty(e.prototype,"onWriteParsed",{get:function(){return this._onWriteParsed.event},enumerable:!1,configurable:!0}),e.prototype.writeSync=function(e,t){if(void 0!==t&&this._syncCalls>t)this._syncCalls=0;else if(this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(void 0),this._syncCalls++,!this._isSyncWriting){var n;for(this._isSyncWriting=!0;n=this._writeBuffer.shift();){this._action(n);var i=this._callbacks.shift();i&&i()}this._pendingData=0,this._bufferOffset=2147483647,this._isSyncWriting=!1,this._syncCalls=0}},e.prototype.write=function(e,t){var n=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return n._innerWrite()})),this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(t)},e.prototype._innerWrite=function(e,t){var n=this;void 0===e&&(e=0),void 0===t&&(t=!0);for(var i=e||Date.now();this._writeBuffer.length>this._bufferOffset;){var r=this._writeBuffer[this._bufferOffset],a=this._action(r,t);if(a)return void a.catch(function(e){return o(function(){throw e}),Promise.resolve(!1)}).then(function(e){return Date.now()-i>=12?setTimeout(function(){return n._innerWrite(0,e)}):n._innerWrite(i,e)});var s=this._callbacks[this._bufferOffset];if(s&&s(),this._bufferOffset++,this._pendingData-=r.length,Date.now()-i>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return n._innerWrite()})):(this._writeBuffer.length=0,this._callbacks.length=0,this._pendingData=0,this._bufferOffset=0),this._onWriteParsed.fire()},e}();t.WriteBuffer=r},5941:function(e,t){var n=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.toRgbString=t.parseColor=void 0;var i=/^([\da-f])\/([\da-f])\/([\da-f])$|^([\da-f]{2})\/([\da-f]{2})\/([\da-f]{2})$|^([\da-f]{3})\/([\da-f]{3})\/([\da-f]{3})$|^([\da-f]{4})\/([\da-f]{4})\/([\da-f]{4})$/,o=/^[\da-f]+$/;function r(e,t){var n=e.toString(16),i=n.length<2?"0"+n:n;switch(t){case 4:return n[0];case 8:return i;case 12:return(i+i).slice(0,3);default:return i+i}}t.parseColor=function(e){if(e){var t=e.toLowerCase();if(0===t.indexOf("rgb:")){t=t.slice(4);var n=i.exec(t);if(n){var r=n[1]?15:n[4]?255:n[7]?4095:65535;return[Math.round(parseInt(n[1]||n[4]||n[7]||n[10],16)/r*255),Math.round(parseInt(n[2]||n[5]||n[8]||n[11],16)/r*255),Math.round(parseInt(n[3]||n[6]||n[9]||n[12],16)/r*255)]}}else if(0===t.indexOf("#")&&(t=t.slice(1),o.exec(t)&&[3,6,9,12].includes(t.length))){for(var a=t.length/3,s=[0,0,0],c=0;c<3;++c){var l=parseInt(t.slice(a*c,a*c+a),16);s[c]=1===a?l<<4:2===a?l:3===a?l>>4:l>>8}return s}}},t.toRgbString=function(e,t){void 0===t&&(t=16);var i=n(e,3),o=i[0],a=i[1],s=i[2];return"rgb:"+r(o,t)+"/"+r(a,t)+"/"+r(s,t)}},5770:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PAYLOAD_LIMIT=void 0,t.PAYLOAD_LIMIT=1e7},6351:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DcsHandler=t.DcsParser=void 0;var i=n(482),o=n(8742),r=n(5770),a=[],s=function(){function e(){this._handlers=Object.create(null),this._active=a,this._ident=0,this._handlerFb=function(){},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}return e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){},this._active=a},e.prototype.registerHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var n=this._handlers[e];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.reset=function(){if(this._active.length)for(var e=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;e>=0;--e)this._active[e].unhook(!1);this._stack.paused=!1,this._active=a,this._ident=0},e.prototype.hook=function(e,t){if(this.reset(),this._ident=e,this._active=this._handlers[e]||a,this._active.length)for(var n=this._active.length-1;n>=0;n--)this._active[n].hook(t);else this._handlerFb(this._ident,"HOOK",t)},e.prototype.put=function(e,t,n){if(this._active.length)for(var o=this._active.length-1;o>=0;o--)this._active[o].put(e,t,n);else this._handlerFb(this._ident,"PUT",(0,i.utf32ToString)(e,t,n))},e.prototype.unhook=function(e,t){if(void 0===t&&(t=!0),this._active.length){var n=!1,i=this._active.length-1,o=!1;if(this._stack.paused&&(i=this._stack.loopPosition-1,n=t,o=this._stack.fallThrough,this._stack.paused=!1),!o&&!1===n){for(;i>=0&&!0!==(n=this._active[i].unhook(e));i--)if(n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=i,this._stack.fallThrough=!1,n;i--}for(;i>=0;i--)if((n=this._active[i].unhook(!1))instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=i,this._stack.fallThrough=!0,n}else this._handlerFb(this._ident,"UNHOOK",e);this._active=a,this._ident=0},e}();t.DcsParser=s;var c=new o.Params;c.addParam(0);var l=function(){function e(e){this._handler=e,this._data="",this._params=c,this._hitLimit=!1}return e.prototype.hook=function(e){this._params=e.length>1||e.params[0]?e.clone():c,this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,n){this._hitLimit||(this._data+=(0,i.utf32ToString)(e,t,n),this._data.length>r.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.unhook=function(e){var t=this,n=!1;if(this._hitLimit)n=!1;else if(e&&(n=this._handler(this._data,this._params))instanceof Promise)return n.then(function(e){return t._params=c,t._data="",t._hitLimit=!1,e});return this._params=c,this._data="",this._hitLimit=!1,n},e}();t.DcsHandler=l},2015:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.EscapeSequenceParser=t.VT500_TRANSITION_TABLE=t.TransitionTable=void 0;var r=n(844),a=n(8273),s=n(8742),c=n(6242),l=n(6351),u=function(){function e(e){this.table=new Uint8Array(e)}return e.prototype.setDefault=function(e,t){(0,a.fill)(this.table,e<<4|t)},e.prototype.add=function(e,t,n,i){this.table[t<<8|e]=n<<4|i},e.prototype.addMany=function(e,t,n,i){for(var o=0;o1)throw new Error("only one byte as prefix supported");if((n=e.prefix.charCodeAt(0))&&60>n||n>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var i=0;io||o>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");n<<=8,n|=o}}if(1!==e.final.length)throw new Error("final must be a single byte");var r=e.final.charCodeAt(0);if(t[0]>r||r>t[1])throw new Error("final must be in range "+t[0]+" .. "+t[1]);return(n<<=8)|r},n.prototype.identToString=function(e){for(var t=[];e;)t.push(String.fromCharCode(255&e)),e>>=8;return t.reverse().join("")},n.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},n.prototype.setPrintHandler=function(e){this._printHandler=e},n.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},n.prototype.registerEscHandler=function(e,t){var n=this._identifier(e,[48,126]);void 0===this._escHandlers[n]&&(this._escHandlers[n]=[]);var i=this._escHandlers[n];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},n.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},n.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},n.prototype.setExecuteHandler=function(e,t){this._executeHandlers[e.charCodeAt(0)]=t},n.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},n.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},n.prototype.registerCsiHandler=function(e,t){var n=this._identifier(e);void 0===this._csiHandlers[n]&&(this._csiHandlers[n]=[]);var i=this._csiHandlers[n];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},n.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},n.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},n.prototype.registerDcsHandler=function(e,t){return this._dcsParser.registerHandler(this._identifier(e),t)},n.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},n.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},n.prototype.registerOscHandler=function(e,t){return this._oscParser.registerHandler(e,t)},n.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},n.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},n.prototype.setErrorHandler=function(e){this._errorHandler=e},n.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},n.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0,0!==this._parseStack.state&&(this._parseStack.state=2,this._parseStack.handlers=[])},n.prototype._preserveStack=function(e,t,n,i,o){this._parseStack.state=e,this._parseStack.handlers=t,this._parseStack.handlerPos=n,this._parseStack.transition=i,this._parseStack.chunkPos=o},n.prototype.parse=function(e,t,n){var i,o=0,r=0,a=0;if(this._parseStack.state)if(2===this._parseStack.state)this._parseStack.state=0,a=this._parseStack.chunkPos+1;else{if(void 0===n||1===this._parseStack.state)throw this._parseStack.state=1,new Error("improper continuation due to previous async handler, giving up parsing");var s=this._parseStack.handlers,c=this._parseStack.handlerPos-1;switch(this._parseStack.state){case 3:if(!1===n&&c>-1)for(;c>=0&&!0!==(i=s[c](this._params));c--)if(i instanceof Promise)return this._parseStack.handlerPos=c,i;this._parseStack.handlers=[];break;case 4:if(!1===n&&c>-1)for(;c>=0&&!0!==(i=s[c]());c--)if(i instanceof Promise)return this._parseStack.handlerPos=c,i;this._parseStack.handlers=[];break;case 6:if(o=e[this._parseStack.chunkPos],i=this._dcsParser.unhook(24!==o&&26!==o,n))return i;27===o&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0;break;case 5:if(o=e[this._parseStack.chunkPos],i=this._oscParser.end(24!==o&&26!==o,n))return i;27===o&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0}this._parseStack.state=0,a=this._parseStack.chunkPos+1,this.precedingCodepoint=0,this.currentState=15&this._parseStack.transition}for(var l=a;l>4){case 2:for(var u=l+1;;++u){if(u>=t||(o=e[u])<32||o>126&&o=t||(o=e[u])<32||o>126&&o=t||(o=e[u])<32||o>126&&o=t||(o=e[u])<32||o>126&&o=0&&!0!==(i=s[h](this._params));h--)if(i instanceof Promise)return this._preserveStack(3,s,h,r,l),i;h<0&&this._csiHandlerFb(this._collect<<8|o,this._params),this.precedingCodepoint=0;break;case 8:do{switch(o){case 59:this._params.addParam(0);break;case 58:this._params.addSubParam(-1);break;default:this._params.addDigit(o-48)}}while(++l47&&o<60);l--;break;case 9:this._collect<<=8,this._collect|=o;break;case 10:for(var p=this._escHandlers[this._collect<<8|o],f=p?p.length-1:-1;f>=0&&!0!==(i=p[f]());f--)if(i instanceof Promise)return this._preserveStack(4,p,f,r,l),i;f<0&&this._escHandlerFb(this._collect<<8|o),this.precedingCodepoint=0;break;case 11:this._params.reset(),this._params.addParam(0),this._collect=0;break;case 12:this._dcsParser.hook(this._collect<<8|o,this._params);break;case 13:for(var m=l+1;;++m)if(m>=t||24===(o=e[m])||26===o||27===o||o>127&&o=t||(o=e[g])<32||o>127&&o{Object.defineProperty(t,"__esModule",{value:!0}),t.OscHandler=t.OscParser=void 0;var i=n(5770),o=n(482),r=[],a=function(){function e(){this._state=0,this._active=r,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}return e.prototype.registerHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var n=this._handlers[e];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){},this._active=r},e.prototype.reset=function(){if(2===this._state)for(var e=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;e>=0;--e)this._active[e].end(!1);this._stack.paused=!1,this._active=r,this._id=-1,this._state=0},e.prototype._start=function(){if(this._active=this._handlers[this._id]||r,this._active.length)for(var e=this._active.length-1;e>=0;e--)this._active[e].start();else this._handlerFb(this._id,"START")},e.prototype._put=function(e,t,n){if(this._active.length)for(var i=this._active.length-1;i>=0;i--)this._active[i].put(e,t,n);else this._handlerFb(this._id,"PUT",(0,o.utf32ToString)(e,t,n))},e.prototype.start=function(){this.reset(),this._state=1},e.prototype.put=function(e,t,n){if(3!==this._state){if(1===this._state)for(;t0&&this._put(e,t,n)}},e.prototype.end=function(e,t){if(void 0===t&&(t=!0),0!==this._state){if(3!==this._state)if(1===this._state&&this._start(),this._active.length){var n=!1,i=this._active.length-1,o=!1;if(this._stack.paused&&(i=this._stack.loopPosition-1,n=t,o=this._stack.fallThrough,this._stack.paused=!1),!o&&!1===n){for(;i>=0&&!0!==(n=this._active[i].end(e));i--)if(n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=i,this._stack.fallThrough=!1,n;i--}for(;i>=0;i--)if((n=this._active[i].end(!1))instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=i,this._stack.fallThrough=!0,n}else this._handlerFb(this._id,"END",e);this._active=r,this._id=-1,this._state=0}},e}();t.OscParser=a;var s=function(){function e(e){this._handler=e,this._data="",this._hitLimit=!1}return e.prototype.start=function(){this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,n){this._hitLimit||(this._data+=(0,o.utf32ToString)(e,t,n),this._data.length>i.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.end=function(e){var t=this,n=!1;if(this._hitLimit)n=!1;else if(e&&(n=this._handler(this._data))instanceof Promise)return n.then(function(e){return t._data="",t._hitLimit=!1,e});return this._data="",this._hitLimit=!1,n},e}();t.OscHandler=s},8742:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Params=void 0;var n=2147483647,i=function(){function e(e,t){if(void 0===e&&(e=32),void 0===t&&(t=32),this.maxLength=e,this.maxSubParamsLength=t,t>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(t),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return e.fromArray=function(t){var n=new e;if(!t.length)return n;for(var i=Array.isArray(t[0])?1:0;i>8,i=255&this._subParamsIdx[t];i-n>0&&e.push(Array.prototype.slice.call(this._subParams,n,i))}return e},e.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},e.prototype.addParam=function(e){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=e>n?n:e}},e.prototype.addSubParam=function(e){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=e>n?n:e,this._subParamsIdx[this.length-1]++}},e.prototype.hasSubParams=function(e){return(255&this._subParamsIdx[e])-(this._subParamsIdx[e]>>8)>0},e.prototype.getSubParams=function(e){var t=this._subParamsIdx[e]>>8,n=255&this._subParamsIdx[e];return n-t>0?this._subParams.subarray(t,n):null},e.prototype.getSubParamsAll=function(){for(var e={},t=0;t>8,i=255&this._subParamsIdx[t];i-n>0&&(e[t]=this._subParams.slice(n,i))}return e},e.prototype.addDigit=function(e){var t;if(!(this._rejectDigits||!(t=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var i=this._digitIsSub?this._subParams:this.params,o=i[t-1];i[t-1]=~o?Math.min(10*o+e,n):e}},e}();t.Params=i},5741:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AddonManager=void 0;var n=function(){function e(){this._addons=[]}return e.prototype.dispose=function(){for(var e=this._addons.length-1;e>=0;e--)this._addons[e].instance.dispose()},e.prototype.loadAddon=function(e,t){var n=this,i={instance:t,dispose:t.dispose,isDisposed:!1};this._addons.push(i),t.dispose=function(){return n._wrappedAddonDispose(i)},t.activate(e)},e.prototype._wrappedAddonDispose=function(e){if(!e.isDisposed){for(var t=-1,n=0;n{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferApiView=void 0;var i=n(3785),o=n(511),r=function(){function e(e,t){this._buffer=e,this.type=t}return e.prototype.init=function(e){return this._buffer=e,this},Object.defineProperty(e.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),e.prototype.getLine=function(e){var t=this._buffer.lines.get(e);if(t)return new i.BufferLineApiView(t)},e.prototype.getNullCell=function(){return new o.CellData},e}();t.BufferApiView=r},3785:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferLineApiView=void 0;var i=n(511),o=function(){function e(e){this._line=e}return Object.defineProperty(e.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),e.prototype.getCell=function(e,t){if(!(e<0||e>=this._line.length))return t?(this._line.loadCell(e,t),t):this._line.loadCell(e,new i.CellData)},e.prototype.translateToString=function(e,t,n){return this._line.translateToString(e,t,n)},e}();t.BufferLineApiView=o},8285:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferNamespaceApi=void 0;var i=n(8771),o=n(8460),r=function(){function e(e){var t=this;this._core=e,this._onBufferChange=new o.EventEmitter,this._normal=new i.BufferApiView(this._core.buffers.normal,"normal"),this._alternate=new i.BufferApiView(this._core.buffers.alt,"alternate"),this._core.buffers.onBufferActivate(function(){return t._onBufferChange.fire(t.active)})}return Object.defineProperty(e.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){if(this._core.buffers.active===this._core.buffers.normal)return this.normal;if(this._core.buffers.active===this._core.buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"normal",{get:function(){return this._normal.init(this._core.buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alternate",{get:function(){return this._alternate.init(this._core.buffers.alt)},enumerable:!1,configurable:!0}),e}();t.BufferNamespaceApi=r},7975:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ParserApi=void 0;var n=function(){function e(e){this._core=e}return e.prototype.registerCsiHandler=function(e,t){return this._core.registerCsiHandler(e,function(e){return t(e.toArray())})},e.prototype.addCsiHandler=function(e,t){return this.registerCsiHandler(e,t)},e.prototype.registerDcsHandler=function(e,t){return this._core.registerDcsHandler(e,function(e,n){return t(e,n.toArray())})},e.prototype.addDcsHandler=function(e,t){return this.registerDcsHandler(e,t)},e.prototype.registerEscHandler=function(e,t){return this._core.registerEscHandler(e,t)},e.prototype.addEscHandler=function(e,t){return this.registerEscHandler(e,t)},e.prototype.registerOscHandler=function(e,t){return this._core.registerOscHandler(e,t)},e.prototype.addOscHandler=function(e,t){return this.registerOscHandler(e,t)},e}();t.ParserApi=n},7090:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeApi=void 0;var n=function(){function e(e){this._core=e}return e.prototype.register=function(e){this._core.unicodeService.register(e)},Object.defineProperty(e.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(e){this._core.unicodeService.activeVersion=e},enumerable:!1,configurable:!0}),e}();t.UnicodeApi=n},744:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.BufferService=t.MINIMUM_ROWS=t.MINIMUM_COLS=void 0;var s=n(2585),c=n(5295),l=n(8460),u=n(844);t.MINIMUM_COLS=2,t.MINIMUM_ROWS=1;var d=function(e){function n(n){var i=e.call(this)||this;return i._optionsService=n,i.isUserScrolling=!1,i._onResize=new l.EventEmitter,i._onScroll=new l.EventEmitter,i.cols=Math.max(n.rawOptions.cols||0,t.MINIMUM_COLS),i.rows=Math.max(n.rawOptions.rows||0,t.MINIMUM_ROWS),i.buffers=new c.BufferSet(n,i),i}return o(n,e),Object.defineProperty(n.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),n.prototype.dispose=function(){e.prototype.dispose.call(this),this.buffers.dispose()},n.prototype.resize=function(e,t){this.cols=e,this.rows=t,this.buffers.resize(e,t),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:e,rows:t})},n.prototype.reset=function(){this.buffers.reset(),this.isUserScrolling=!1},n.prototype.scroll=function(e,t){void 0===t&&(t=!1);var n,i=this.buffer;(n=this._cachedBlankLine)&&n.length===this.cols&&n.getFg(0)===e.fg&&n.getBg(0)===e.bg||(n=i.getBlankLine(e,t),this._cachedBlankLine=n),n.isWrapped=t;var o=i.ybase+i.scrollTop,r=i.ybase+i.scrollBottom;if(0===i.scrollTop){var a=i.lines.isFull;r===i.lines.length-1?a?i.lines.recycle().copyFrom(n):i.lines.push(n.clone()):i.lines.splice(r+1,0,n.clone()),a?this.isUserScrolling&&(i.ydisp=Math.max(i.ydisp-1,0)):(i.ybase++,this.isUserScrolling||i.ydisp++)}else{var s=r-o+1;i.lines.shiftElements(o+1,s-1,-1),i.lines.set(r,n.clone())}this.isUserScrolling||(i.ydisp=i.ybase),this._onScroll.fire(i.ydisp)},n.prototype.scrollLines=function(e,t,n){var i=this.buffer;if(e<0){if(0===i.ydisp)return;this.isUserScrolling=!0}else e+i.ydisp>=i.ybase&&(this.isUserScrolling=!1);var o=i.ydisp;i.ydisp=Math.max(Math.min(i.ydisp+e,i.ybase),0),o!==i.ydisp&&(t||this._onScroll.fire(i.ydisp))},n.prototype.scrollPages=function(e){this.scrollLines(e*(this.rows-1))},n.prototype.scrollToTop=function(){this.scrollLines(-this.buffer.ydisp)},n.prototype.scrollToBottom=function(){this.scrollLines(this.buffer.ybase-this.buffer.ydisp)},n.prototype.scrollToLine=function(e){var t=e-this.buffer.ydisp;0!==t&&this.scrollLines(t)},r([a(0,s.IOptionsService)],n)}(u.Disposable);t.BufferService=d},7994:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CharsetService=void 0;var n=function(){function e(){this.glevel=0,this._charsets=[]}return e.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},e.prototype.setgLevel=function(e){this.glevel=e,this.charset=this._charsets[e]},e.prototype.setgCharset=function(e,t){this._charsets[e]=t,this.glevel===e&&(this.charset=t)},e}();t.CharsetService=n},1753:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreMouseService=void 0;var a=n(2585),s=n(8460),c={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(e){return 4!==e.button&&1===e.action&&(e.ctrl=!1,e.alt=!1,e.shift=!1,!0)}},VT200:{events:19,restrict:function(e){return 32!==e.action}},DRAG:{events:23,restrict:function(e){return 32!==e.action||3!==e.button}},ANY:{events:31,restrict:function(e){return!0}}};function l(e,t){var n=(e.ctrl?16:0)|(e.shift?4:0)|(e.alt?8:0);return 4===e.button?(n|=64,n|=e.action):(n|=3&e.button,4&e.button&&(n|=64),8&e.button&&(n|=128),32===e.action?n|=32:0!==e.action||t||(n|=3)),n}var u=String.fromCharCode,d={DEFAULT:function(e){var t=[l(e,!1)+32,e.col+32,e.row+32];return t[0]>255||t[1]>255||t[2]>255?"":""+u(t[0])+u(t[1])+u(t[2])},SGR:function(e){var t=0===e.action&&4!==e.button?"m":"M";return"[<"+l(e,!0)+";"+e.col+";"+e.row+t}},h=function(){function e(e,t){var n,i,o,a;this._bufferService=e,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new s.EventEmitter,this._lastEvent=null;try{for(var l=r(Object.keys(c)),u=l.next();!u.done;u=l.next()){var h=u.value;this.addProtocol(h,c[h])}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}try{for(var p=r(Object.keys(d)),f=p.next();!f.done;f=p.next()){var m=f.value;this.addEncoding(m,d[m])}}catch(e){o={error:e}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}this.reset()}return e.prototype.addProtocol=function(e,t){this._protocols[e]=t},e.prototype.addEncoding=function(e,t){this._encodings[e]=t},Object.defineProperty(e.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(e){if(!this._protocols[e])throw new Error('unknown protocol "'+e+'"');this._activeProtocol=e,this._onProtocolChange.fire(this._protocols[e].events)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"areMouseEventsActive",{get:function(){return 0!==this._protocols[this._activeProtocol].events},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(e){if(!this._encodings[e])throw new Error('unknown encoding "'+e+'"');this._activeEncoding=e},enumerable:!1,configurable:!0}),e.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(e.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),e.prototype.triggerMouseEvent=function(e){if(e.col<0||e.col>=this._bufferService.cols||e.row<0||e.row>=this._bufferService.rows)return!1;if(4===e.button&&32===e.action)return!1;if(3===e.button&&32!==e.action)return!1;if(4!==e.button&&(2===e.action||3===e.action))return!1;if(e.col++,e.row++,32===e.action&&this._lastEvent&&this._compareEvents(this._lastEvent,e))return!1;if(!this._protocols[this._activeProtocol].restrict(e))return!1;var t=this._encodings[this._activeEncoding](e);return t&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=e,!0},e.prototype.explainEvents=function(e){return{down:!!(1&e),up:!!(2&e),drag:!!(4&e),move:!!(8&e),wheel:!!(16&e)}},e.prototype._compareEvents=function(e,t){return e.col===t.col&&e.row===t.row&&e.button===t.button&&e.action===t.action&&e.ctrl===t.ctrl&&e.alt===t.alt&&e.shift===t.shift},i([o(0,a.IBufferService),o(1,a.ICoreService)],e)}();t.CoreMouseService=h},6975:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreService=void 0;var s=n(2585),c=n(8460),l=n(1439),u=n(844),d=Object.freeze({insertMode:!1}),h=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),p=function(e){function t(t,n,i,o){var r=e.call(this)||this;return r._bufferService=n,r._logService=i,r._optionsService=o,r.isCursorInitialized=!1,r.isCursorHidden=!1,r._onData=r.register(new c.EventEmitter),r._onUserInput=r.register(new c.EventEmitter),r._onBinary=r.register(new c.EventEmitter),r._scrollToBottom=t,r.register({dispose:function(){return r._scrollToBottom=void 0}}),r.modes=(0,l.clone)(d),r.decPrivateModes=(0,l.clone)(h),r}return o(t,e),Object.defineProperty(t.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),t.prototype.reset=function(){this.modes=(0,l.clone)(d),this.decPrivateModes=(0,l.clone)(h)},t.prototype.triggerDataEvent=function(e,t){if(void 0===t&&(t=!1),!this._optionsService.rawOptions.disableStdin){var n=this._bufferService.buffer;n.ybase!==n.ydisp&&this._scrollToBottom(),t&&this._onUserInput.fire(),this._logService.debug('sending data "'+e+'"',function(){return e.split("").map(function(e){return e.charCodeAt(0)})}),this._onData.fire(e)}},t.prototype.triggerBinaryEvent=function(e){this._optionsService.rawOptions.disableStdin||(this._logService.debug('sending binary "'+e+'"',function(){return e.split("").map(function(e){return e.charCodeAt(0)})}),this._onBinary.fire(e))},r([a(1,s.IBufferService),a(2,s.ILogService),a(3,s.IOptionsService)],t)}(u.Disposable);t.CoreService=p},9074:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__generator||function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.DecorationService=void 0;var s=n(8055),c=n(8460),l=n(844),u=n(6106),d=function(e){function t(){var t=e.call(this)||this;return t._decorations=new u.SortedList(function(e){return e.marker.line}),t._onDecorationRegistered=t.register(new c.EventEmitter),t._onDecorationRemoved=t.register(new c.EventEmitter),t}return o(t,e),Object.defineProperty(t.prototype,"onDecorationRegistered",{get:function(){return this._onDecorationRegistered.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onDecorationRemoved",{get:function(){return this._onDecorationRemoved.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"decorations",{get:function(){return this._decorations.values()},enumerable:!1,configurable:!0}),t.prototype.registerDecoration=function(e){var t=this;if(!e.marker.isDisposed){var n=new h(e);if(n){var i=n.marker.onDispose(function(){return n.dispose()});n.onDispose(function(){n&&(t._decorations.delete(n)&&t._onDecorationRemoved.fire(n),i.dispose())}),this._decorations.insert(n),this._onDecorationRegistered.fire(n)}return n}},t.prototype.reset=function(){var e,t;try{for(var n=a(this._decorations.values()),i=n.next();!i.done;i=n.next())i.value.dispose()}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this._decorations.clear()},t.prototype.getDecorationsAtLine=function(e){return r(this,function(t){return[2,this._decorations.getKeyIterator(e)]})},t.prototype.getDecorationsAtCell=function(e,t,n){var i,o,s,c,l,u,d,h,p,f,m;return r(this,function(r){switch(r.label){case 0:i=0,o=0,r.label=1;case 1:r.trys.push([1,6,7,8]),s=a(this._decorations.getKeyIterator(t)),c=s.next(),r.label=2;case 2:return c.done?[3,5]:(l=c.value,i=null!==(p=l.options.x)&&void 0!==p?p:0,o=i+(null!==(f=l.options.width)&&void 0!==f?f:1),!(e>=i&&e=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DirtyRowService=void 0;var r=n(2585),a=function(){function e(e){this._bufferService=e,this.clearRange()}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),e.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},e.prototype.markDirty=function(e){ethis._end&&(this._end=e)},e.prototype.markRangeDirty=function(e,t){if(e>t){var n=e;e=t,t=n}ethis._end&&(this._end=t)},e.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},i([o(0,r.IBufferService)],e)}();t.DirtyRowService=a},4348:function(e,t,n){var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o0?l[0].index:a.length;if(a.length!==m)throw new Error("[createInstance] First service dependency of "+e.name+" at position "+(m+1)+" conflicts with "+a.length+" static arguments");return new(e.bind.apply(e,r([void 0],o(r(r([],o(a),!1),o(u),!1)),!1)))},e}();t.InstantiationService=l},7866:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o{function n(e,t,n){t.di$target===t?t.di$dependencies.push({id:e,index:n}):(t.di$dependencies=[{id:e,index:n}],t.di$target=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.createDecorator=t.getServiceDependencies=t.serviceRegistry=void 0,t.serviceRegistry=new Map,t.getServiceDependencies=function(e){return e.di$dependencies||[]},t.createDecorator=function(e){if(t.serviceRegistry.has(e))return t.serviceRegistry.get(e);var i=function(e,t,o){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");n(i,e,o)};return i.toString=function(){return e},t.serviceRegistry.set(e,i),i}},2585:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IDecorationService=t.IUnicodeService=t.IOptionsService=t.ILogService=t.LogLevelEnum=t.IInstantiationService=t.IDirtyRowService=t.ICharsetService=t.ICoreService=t.ICoreMouseService=t.IBufferService=void 0;var i,o=n(8343);t.IBufferService=(0,o.createDecorator)("BufferService"),t.ICoreMouseService=(0,o.createDecorator)("CoreMouseService"),t.ICoreService=(0,o.createDecorator)("CoreService"),t.ICharsetService=(0,o.createDecorator)("CharsetService"),t.IDirtyRowService=(0,o.createDecorator)("DirtyRowService"),t.IInstantiationService=(0,o.createDecorator)("InstantiationService"),(i=t.LogLevelEnum||(t.LogLevelEnum={}))[i.DEBUG=0]="DEBUG",i[i.INFO=1]="INFO",i[i.WARN=2]="WARN",i[i.ERROR=3]="ERROR",i[i.OFF=4]="OFF",t.ILogService=(0,o.createDecorator)("LogService"),t.IOptionsService=(0,o.createDecorator)("OptionsService"),t.IUnicodeService=(0,o.createDecorator)("UnicodeService"),t.IDecorationService=(0,o.createDecorator)("DecorationService")},1480:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeService=void 0;var i=n(8460),o=n(225),r=function(){function e(){this._providers=Object.create(null),this._active="",this._onChange=new i.EventEmitter;var e=new o.UnicodeV6;this.register(e),this._active=e.version,this._activeProvider=e}return Object.defineProperty(e.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._active},set:function(e){if(!this._providers[e])throw new Error('unknown Unicode version "'+e+'"');this._active=e,this._activeProvider=this._providers[e],this._onChange.fire(e)},enumerable:!1,configurable:!0}),e.prototype.register=function(e){this._providers[e.version]=e},e.prototype.wcwidth=function(e){return this._activeProvider.wcwidth(e)},e.prototype.getStringCellWidth=function(e){for(var t=0,n=e.length,i=0;i=n)return t+this.wcwidth(o);var r=e.charCodeAt(i);56320<=r&&r<=57343?o=1024*(o-55296)+r-56320+65536:t+=this.wcwidth(r)}t+=this.wcwidth(o)}return t},e}();t.UnicodeService=r}},t={};return function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i].call(r.exports,r,r.exports,n),r.exports}(4389)})()})},fcf8:function(e,t,n){},fd0e:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,r=e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}});return r})},fd0f:function(e,t,n){},fd5f:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},i=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],o=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],r=e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:i,longMonthsParse:i,shortMonthsParse:o,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}});return r})},fe37:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("fba3"),r=n("3b4c"),a=n("3623"),s=n("c444"),c=n("5eb6");function l(e){return"zoom"in e}function u(e){var t=1,n=a.findParentByFeature(e,c.isViewport);return n&&(t=n.zoom),t}t.isZoomable=l,t.getZoom=u;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.wheel=function(e,t){var n=a.findParentByFeature(e,c.isViewport);if(n){var i=this.getZoomFactor(t),o=this.getViewportOffset(e.root,t),r=1/(i*n.zoom)-1/n.zoom,l={scroll:{x:n.scroll.x-r*o.x,y:n.scroll.y-r*o.y},zoom:n.zoom*i};return[new s.SetViewportAction(n.id,l,!1)]}return[]},t.prototype.getViewportOffset=function(e,t){var n=e.canvasBounds,i=o.getWindowScroll();return{x:t.clientX+i.x-n.x,y:t.clientY+i.y-n.y}},t.prototype.getZoomFactor=function(e){return e.deltaMode===e.DOM_DELTA_PAGE?Math.exp(.5*-e.deltaY):e.deltaMode===e.DOM_DELTA_LINE?Math.exp(.05*-e.deltaY):Math.exp(.005*-e.deltaY)},t}(r.MouseListener);t.ZoomMouseListener=d},ff3f:function(e,t,n){(function(e,t){t(n("f333"))})(0,function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},ff70:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="http://www.w3.org/1999/xlink",o="http://www.w3.org/XML/1998/namespace",r=58,a=120;function s(e,t){var n,s=t.elm,c=e.data.attrs,l=t.data.attrs;if((c||l)&&c!==l){for(n in c=c||{},l=l||{},l){var u=l[n],d=c[n];d!==u&&(!0===u?s.setAttribute(n,""):!1===u?s.removeAttribute(n):n.charCodeAt(0)!==a?s.setAttribute(n,u):n.charCodeAt(3)===r?s.setAttributeNS(o,n,u):n.charCodeAt(5)===r?s.setAttributeNS(i,n,u):s.setAttribute(n,u))}for(n in c)n in l||s.removeAttribute(n)}}t.attributesModule={create:s,update:s},t.default=t.attributesModule}}]); \ No newline at end of file diff --git a/klab.engine/src/main/resources/static/ui/js/74fd8965.2c37b5ae.js b/klab.engine/src/main/resources/static/ui/js/74fd8965.2c37b5ae.js deleted file mode 100644 index 3d4b3d579..000000000 --- a/klab.engine/src/main/resources/static/ui/js/74fd8965.2c37b5ae.js +++ /dev/null @@ -1,27 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["74fd8965"],{"019a":function(e,t,n){},"0300":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3"),o=function(){function e(){this._map=new Map}return e.prototype.getMap=function(){return this._map},e.prototype.add=function(e,t){if(null===e||void 0===e)throw new Error(i.NULL_ARGUMENT);if(null===t||void 0===t)throw new Error(i.NULL_ARGUMENT);var n=this._map.get(e);void 0!==n?(n.push(t),this._map.set(e,n)):this._map.set(e,[t])},e.prototype.get=function(e){if(null===e||void 0===e)throw new Error(i.NULL_ARGUMENT);var t=this._map.get(e);if(void 0!==t)return t;throw new Error(i.KEY_NOT_FOUND)},e.prototype.remove=function(e){if(null===e||void 0===e)throw new Error(i.NULL_ARGUMENT);if(!this._map.delete(e))throw new Error(i.KEY_NOT_FOUND)},e.prototype.removeByCondition=function(e){var t=this;this._map.forEach(function(n,i){var o=n.filter(function(t){return!e(t)});o.length>0?t._map.set(i,o):t._map.delete(i)})},e.prototype.hasKey=function(e){if(null===e||void 0===e)throw new Error(i.NULL_ARGUMENT);return this._map.has(e)},e.prototype.clone=function(){var t=new e;return this._map.forEach(function(e,n){e.forEach(function(e){return t.add(n,e.clone())})}),t},e.prototype.traverse=function(e){this._map.forEach(function(t,n){e(n,t)})},e}();t.Lookup=o},"0312":function(e,t){var n=!("undefined"===typeof window||!window.document||!window.document.createElement);e.exports=n},"0483":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("b485"),s=new i.ContainerModule(function(e){e(o.TYPES.MouseListener).to(r.OpenMouseListener)});t.default=s},"04c2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("4741"),s=new i.ContainerModule(function(e){e(o.TYPES.IButtonHandler).toConstructor(r.ExpandButtonHandler)});t.default=s},"0505":function(e,t,n){},"064a":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("393a"),c=n("e1c6"),l=n("6923"),u=n("3864"),d=n("dd02"),h=n("7b39"),p=n("302f"),f=n("3623"),m=function(e){function t(t){var n=e.call(this)||this;return n.registerDefaults(),t.forEach(function(e){return n.register(e.type,e.factory())}),n}return i(t,e),t.prototype.registerDefaults=function(){this.register(p.EMPTY_ROOT.type,new b)},t.prototype.missing=function(e){return new y},t=o([c.injectable(),s(0,c.multiInject(l.TYPES.ViewRegistration)),s(0,c.optional()),r("design:paramtypes",[Array])],t),t}(u.InstanceRegistry);function g(e,t,n,i,o){f.registerModelElement(e,t,n,o),v(e,t,i)}function v(e,t,n){if("function"===typeof n){if(!h.isInjectable(n))throw new Error("Views should be @injectable: "+n.name);e.isBound(n)||e.bind(n).toSelf()}e.bind(l.TYPES.ViewRegistration).toDynamicValue(function(e){return{type:t,factory:function(){return e.container.get(n)}}})}t.ViewRegistry=m,t.configureModelElement=g,t.configureView=v;var b=function(){function e(){}return e.prototype.render=function(e,t){return a.svg("svg",{"class-sprotty-empty":!0})},e=o([c.injectable()],e),e}();t.EmptyView=b;var y=function(){function e(){}return e.prototype.render=function(e,t){var n=e.position||d.ORIGIN_POINT;return a.svg("text",{"class-sprotty-missing":!0,x:n.x,y:n.y},"?",e.id,"?")},e=o([c.injectable()],e),e}();t.MissingView=y},"0960":function(e,t,n){e.exports=n("b19a")},"0a28":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t"+e+""}),n},t.prototype.renderIcon=function(e,t){e.innerHTML+=''},t.prototype.filterActions=function(e,t){return f.toArray(t.filter(function(t){var n=t.label.toLowerCase(),i=e.split(" ");return i.every(function(e){return-1!==n.indexOf(e.toLowerCase())})}))},t.prototype.customizeSuggestionContainer=function(e,t,n){this.containerElement&&this.containerElement.appendChild(e)},t.prototype.hide=function(){e.prototype.hide.call(this),this.autoCompleteResult&&this.autoCompleteResult.destroy()},t.prototype.executeAction=function(e){var t=this;this.actionDispatcherProvider().then(function(t){return t.dispatchAll(w(e))}).catch(function(e){return t.logger.error(t,"No action dispatcher available to execute command palette action",e)})},t.ID="command-palette",t.isInvokePaletteKey=function(e){return m.matchesKeystroke(e,"Space","ctrl")},o([a.inject(l.TYPES.IActionDispatcherProvider),r("design:type",Function)],t.prototype,"actionDispatcherProvider",void 0),o([a.inject(l.TYPES.ICommandPaletteActionProviderRegistry),r("design:type",b.CommandPaletteActionProviderRegistry)],t.prototype,"actionProviderRegistry",void 0),o([a.inject(l.TYPES.ViewerOptions),r("design:type",Object)],t.prototype,"viewerOptions",void 0),o([a.inject(l.TYPES.DOMHelper),r("design:type",h.DOMHelper)],t.prototype,"domHelper",void 0),o([a.inject(y.MousePositionTracker),r("design:type",y.MousePositionTracker)],t.prototype,"mousePositionTracker",void 0),t=n=o([a.injectable()],t),t}(u.AbstractUIExtension);function w(e){return c.isLabeledAction(e)?e.actions:c.isAction(e)?[e]:[]}function C(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}t.CommandPalette=M;var S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.keyDown=function(e,t){if(m.matchesKeystroke(t,"Escape"))return[new d.SetUIExtensionVisibilityAction(M.ID,!1,[])];if(M.isInvokePaletteKey(t)){var n=f.toArray(e.index.all().filter(function(e){return v.isSelectable(e)&&e.selected}).map(function(e){return e.id}));return[new d.SetUIExtensionVisibilityAction(M.ID,!0,n)]}return[]},t}(p.KeyListener);t.CommandPaletteKeyListener=S},"0bd8":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),s=n("6923"),a=function(){function e(){}return e.prototype.decorate=function(e,t){return e},e.prototype.postUpdate=function(){var e=document.getElementById(this.options.popupDiv);if(null!==e&&"undefined"!==typeof window){var t=e.getBoundingClientRect();window.innerHeight=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),s=n("6923"),a=function(){function e(){}return e.prototype.getPrefix=function(){var e=void 0!==this.viewerOptions&&void 0!==this.viewerOptions.baseDiv?this.viewerOptions.baseDiv+"_":"";return e},e.prototype.createUniqueDOMElementId=function(e){return this.getPrefix()+e.id},e.prototype.findSModelIdByDOMElement=function(e){return e.id.replace(this.getPrefix(),"")},i([r.inject(s.TYPES.ViewerOptions),o("design:type",Object)],e.prototype,"viewerOptions",void 0),e=i([r.injectable()],e),e}();t.DOMHelper=a},"0e44":function(e,t,n){"use strict";var i=n("7615"),o=n.n(i);o.a},"0efb":function(e,t,n){var i,o,r;//! moment-timezone.js -//! version : 0.5.34 -//! Copyright (c) JS Foundation and other contributors -//! license : MIT -//! github.com/moment/moment-timezone -//! moment-timezone.js -//! version : 0.5.34 -//! Copyright (c) JS Foundation and other contributors -//! license : MIT -//! github.com/moment/moment-timezone -(function(s,a){"use strict";e.exports?e.exports=a(n("c1df")):(o=[n("c1df")],i=a,r="function"===typeof i?i.apply(t,o):i,void 0===r||(e.exports=r))})(0,function(e){"use strict";void 0===e.version&&e.default&&(e=e.default);var t,n="0.5.34",i={},o={},r={},s={},a={};e&&"string"===typeof e.version||j("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var c=e.version.split("."),l=+c[0],u=+c[1];function d(e){return e>96?e-87:e>64?e-29:e-48}function h(e){var t,n=0,i=e.split("."),o=i[0],r=i[1]||"",s=1,a=0,c=1;for(45===e.charCodeAt(0)&&(n=1,c=-1),n;n3){var t=s[L(e)];if(t)return t;j("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(e){}var n,i,o,r=w(),a=r.length,c=A(r),l=[];for(i=0;i0?l[0].zone.name:void 0}function O(e){return t&&!e||(t=E()),t}function L(e){return(e||"").toLowerCase().replace(/\//g,"_")}function T(e){var t,n,o,r;for("string"===typeof e&&(e=[e]),t=0;t= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),v.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t,n=+e,i=this.untils;for(t=0;ti&&W.moveInvalidForward&&(t=i),r0&&(this._z=null),e.apply(this,arguments)}}e.tz=W,e.defaultZone=null,e.updateOffset=function(t,n){var i,o=e.defaultZone;if(void 0===t._z&&(o&&q(t)&&!t._isUTC&&(t._d=e.utc(t._a)._d,t.utc().add(o.parse(t),"minutes")),t._z=o),t._z)if(i=t._z.utcOffset(t),Math.abs(i)<16&&(i/=60),void 0!==t.utcOffset){var r=t._z;t.utcOffset(-i,n),t._z=r}else t.zone(i,n)},F.tz=function(t,n){if(t){if("string"!==typeof t)throw new Error("Time zone name must be a string, got "+t+" ["+typeof t+"]");return this._z=x(t),this._z?e.updateOffset(this,n):j("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},F.zoneName=H(F.zoneName),F.zoneAbbr=H(F.zoneAbbr),F.utc=X(F.utc),F.local=X(F.local),F.utcOffset=U(F.utcOffset),e.tz.setDefault=function(t){return(l<2||2===l&&u<9)&&j("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?x(t):null,e};var V=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(V)?(V.push("_z"),V.push("_a")):V&&(V._z=null),e})},"0f4c":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("c146"),r=function(e){function t(t,n,i,o){void 0===o&&(o=!1);var r=e.call(this,i)||this;return r.model=t,r.elementResizes=n,r.reverse=o,r}return i(t,e),t.prototype.tween=function(e){var t=this;return this.elementResizes.forEach(function(n){var i=n.element,o=t.reverse?{width:(1-e)*n.toDimension.width+e*n.fromDimension.width,height:(1-e)*n.toDimension.height+e*n.fromDimension.height}:{width:(1-e)*n.fromDimension.width+e*n.toDimension.width,height:(1-e)*n.fromDimension.height+e*n.toDimension.height};i.bounds={x:i.bounds.x,y:i.bounds.y,width:o.width,height:o.height}}),this.model},t}(o.Animation);t.ResizeAnimation=r},"0faf":function(e,t,n){"use strict";var i=n("5870"),o=n.n(i);o.a},"0fb6":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),s=n("6923"),a=n("9175"),c=n("302f"),l=n("538c"),u=n("3f0a"),d=n("c20e"),h=n("510b"),p=function(){function e(){this.postponedActions=[],this.requests=new Map}return e.prototype.initialize=function(){var e=this;return this.initialized||(this.initialized=this.actionHandlerRegistryProvider().then(function(t){e.actionHandlerRegistry=t,e.handleAction(new u.SetModelAction(c.EMPTY_ROOT))})),this.initialized},e.prototype.dispatch=function(e){var t=this;return this.initialize().then(function(){return void 0!==t.blockUntil?t.handleBlocked(e,t.blockUntil):t.diagramLocker.isAllowed(e)?t.handleAction(e):void 0})},e.prototype.dispatchAll=function(e){var t=this;return Promise.all(e.map(function(e){return t.dispatch(e)}))},e.prototype.request=function(e){if(!e.requestId)return Promise.reject(new Error("Request without requestId"));var t=new a.Deferred;return this.requests.set(e.requestId,t),this.dispatch(e),t.promise},e.prototype.handleAction=function(e){if(e.kind===d.UndoAction.KIND)return this.commandStack.undo().then(function(){});if(e.kind===d.RedoAction.KIND)return this.commandStack.redo().then(function(){});if(h.isResponseAction(e)){var t=this.requests.get(e.responseId);if(void 0!==t){if(this.requests.delete(e.responseId),e.kind===h.RejectAction.KIND){var n=e;t.reject(new Error(n.message)),this.logger.warn(this,"Request with id "+e.responseId+" failed.",n.message,n.detail)}else t.resolve(e);return Promise.resolve()}this.logger.log(this,"No matching request for response",e)}var i=this.actionHandlerRegistry.get(e.kind);if(0===i.length){this.logger.warn(this,"Missing handler for action",e);var o=new Error("Missing handler for action '"+e.kind+"'");if(h.isRequestAction(e)){t=this.requests.get(e.requestId);void 0!==t&&(this.requests.delete(e.requestId),t.reject(o))}return Promise.reject(o)}this.logger.log(this,"Handle",e);for(var r=[],s=0,a=i;s=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__awaiter||function(e,t,n,i){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,r){function s(e){try{c(i.next(e))}catch(e){r(e)}}function a(e){try{c(i["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):o(e.value).then(s,a)}c((i=i.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(e){return function(t){return c([e,t])}}function c(r){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(o=2&r[0]?i["return"]:r[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(o=s.trys,!(o=o.length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),a=n("6923"),c=n("3a92"),l=n("e45b"),u=function(){function e(e){void 0===e&&(e=[]),this.keyListeners=e}return e.prototype.register=function(e){this.keyListeners.push(e)},e.prototype.deregister=function(e){var t=this.keyListeners.indexOf(e);t>=0&&this.keyListeners.splice(t,1)},e.prototype.handleEvent=function(e,t,n){var i=this.keyListeners.map(function(i){return i[e].apply(i,[t,n])}).reduce(function(e,t){return e.concat(t)});i.length>0&&(n.preventDefault(),this.actionDispatcher.dispatchAll(i))},e.prototype.keyDown=function(e,t){this.handleEvent("keyDown",e,t)},e.prototype.keyUp=function(e,t){this.handleEvent("keyUp",e,t)},e.prototype.focus=function(){},e.prototype.decorate=function(e,t){return t instanceof c.SModelRoot&&(l.on(e,"focus",this.focus.bind(this),t),l.on(e,"keydown",this.keyDown.bind(this),t),l.on(e,"keyup",this.keyUp.bind(this),t)),e},e.prototype.postUpdate=function(){},i([s.inject(a.TYPES.IActionDispatcher),o("design:type",Object)],e.prototype,"actionDispatcher",void 0),e=i([s.injectable(),r(0,s.multiInject(a.TYPES.KeyListener)),r(0,s.optional()),o("design:paramtypes",[Array])],e),e}();t.KeyTool=u;var d=function(){function e(){}return e.prototype.keyDown=function(e,t){return[]},e.prototype.keyUp=function(e,t){return[]},e=i([s.injectable()],e),e}();t.KeyListener=d},1468:function(e,t){var n=1e3,i=60*n,o=60*i,r=24*o,s=365.25*r;function a(e){if(e=String(e),!(e.length>100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var a=parseFloat(t[1]),c=(t[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return a*s;case"days":case"day":case"d":return a*r;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*i;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}function c(e){return e>=r?Math.round(e/r)+"d":e>=o?Math.round(e/o)+"h":e>=i?Math.round(e/i)+"m":e>=n?Math.round(e/n)+"s":e+"ms"}function l(e){return u(e,r,"day")||u(e,o,"hour")||u(e,i,"minute")||u(e,n,"second")||e+" ms"}function u(e,t,n){if(!(e0)return a(e);if("number"===n&&!1===isNaN(e))return t.long?l(e):c(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"155f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={Request:"Request",Singleton:"Singleton",Transient:"Transient"};t.BindingScopeEnum=i;var o={ConstantValue:"ConstantValue",Constructor:"Constructor",DynamicValue:"DynamicValue",Factory:"Factory",Function:"Function",Instance:"Instance",Invalid:"Invalid",Provider:"Provider"};t.BindingTypeEnum=o;var r={ClassProperty:"ClassProperty",ConstructorArgument:"ConstructorArgument",Variable:"Variable"};t.TargetTypeEnum=r},1590:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(t){this.toolIds=t,this.kind=e.KIND}return e.KIND="enable-tools",e}();t.EnableToolsAction=i;var o=function(){function e(){this.kind=e.KIND}return e.KIND="enable-default-tools",e}();t.EnableDefaultToolsAction=o},"15f6":function(e,t,n){},"160b":function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),a=n("6923"),c=n("302f"),l=n("3a92"),u=n("538c"),d=n("9757"),h=function(){function e(){this.undoStack=[],this.redoStack=[],this.offStack=[]}return e.prototype.initialize=function(){this.currentPromise=Promise.resolve({main:{model:this.modelFactory.createRoot(c.EMPTY_ROOT),modelChanged:!1},hidden:{model:this.modelFactory.createRoot(c.EMPTY_ROOT),modelChanged:!1},popup:{model:this.modelFactory.createRoot(c.EMPTY_ROOT),modelChanged:!1}})},Object.defineProperty(e.prototype,"currentModel",{get:function(){return this.currentPromise.then(function(e){return e.main.model})},enumerable:!0,configurable:!0}),e.prototype.executeAll=function(e){var t=this;return e.forEach(function(e){t.logger.log(t,"Executing",e),t.handleCommand(e,e.execute,t.mergeOrPush)}),this.thenUpdate()},e.prototype.execute=function(e){return this.logger.log(this,"Executing",e),this.handleCommand(e,e.execute,this.mergeOrPush),this.thenUpdate()},e.prototype.undo=function(){var e=this;this.undoOffStackSystemCommands(),this.undoPreceedingSystemCommands();var t=this.undoStack[this.undoStack.length-1];return void 0===t||this.isBlockUndo(t)||(this.undoStack.pop(),this.logger.log(this,"Undoing",t),this.handleCommand(t,t.undo,function(t,n){e.redoStack.push(t)})),this.thenUpdate()},e.prototype.redo=function(){var e=this;this.undoOffStackSystemCommands();var t=this.redoStack.pop();return void 0!==t&&(this.logger.log(this,"Redoing",t),this.handleCommand(t,t.redo,function(t,n){e.pushToUndoStack(t)})),this.redoFollowingSystemCommands(),this.thenUpdate()},e.prototype.handleCommand=function(e,t,n){var i=this;this.currentPromise=this.currentPromise.then(function(o){return new Promise(function(r){var s;s=e instanceof d.HiddenCommand?"hidden":e instanceof d.PopupCommand?"popup":"main";var a,c=i.createContext(o.main.model);try{a=t.call(e,c)}catch(e){i.logger.error(i,"Failed to execute command:",e),a=o[s].model}var u=p(o);a instanceof Promise?a.then(function(t){"main"===s&&n.call(i,e,c),u[s]={model:t,modelChanged:!0},r(u)}):a instanceof l.SModelRoot?("main"===s&&n.call(i,e,c),u[s]={model:a,modelChanged:!0},r(u)):("main"===s&&n.call(i,e,c),u[s]={model:a.model,modelChanged:o[s].modelChanged||a.modelChanged,cause:a.cause},r(u))})})},e.prototype.pushToUndoStack=function(e){this.undoStack.push(e),this.options.undoHistoryLimit>=0&&this.undoStack.length>this.options.undoHistoryLimit&&this.undoStack.splice(0,this.undoStack.length-this.options.undoHistoryLimit)},e.prototype.thenUpdate=function(){var e=this;return this.currentPromise=this.currentPromise.then(function(t){var n=p(t);return t.hidden.modelChanged&&(e.updateHidden(t.hidden.model,t.hidden.cause),n.hidden.modelChanged=!1,n.hidden.cause=void 0),t.main.modelChanged&&(e.update(t.main.model,t.main.cause),n.main.modelChanged=!1,n.main.cause=void 0),t.popup.modelChanged&&(e.updatePopup(t.popup.model,t.popup.cause),n.popup.modelChanged=!1,n.popup.cause=void 0),n}),this.currentModel},e.prototype.update=function(e,t){void 0===this.modelViewer&&(this.modelViewer=this.viewerProvider.modelViewer),this.modelViewer.update(e,t)},e.prototype.updateHidden=function(e,t){void 0===this.hiddenModelViewer&&(this.hiddenModelViewer=this.viewerProvider.hiddenModelViewer),this.hiddenModelViewer.update(e,t)},e.prototype.updatePopup=function(e,t){void 0===this.popupModelViewer&&(this.popupModelViewer=this.viewerProvider.popupModelViewer),this.popupModelViewer.update(e,t)},e.prototype.mergeOrPush=function(e,t){var n=this;if(this.isBlockUndo(e))return this.undoStack=[],this.redoStack=[],this.offStack=[],void this.pushToUndoStack(e);if(this.isPushToOffStack(e)&&this.redoStack.length>0){if(this.offStack.length>0){var i=this.offStack[this.offStack.length-1];if(i instanceof d.MergeableCommand&&i.merge(e,t))return}this.offStack.push(e)}else if(this.isPushToUndoStack(e)){if(this.offStack.forEach(function(e){return n.undoStack.push(e)}),this.offStack=[],this.redoStack=[],this.undoStack.length>0){i=this.undoStack[this.undoStack.length-1];if(i instanceof d.MergeableCommand&&i.merge(e,t))return}this.pushToUndoStack(e)}},e.prototype.undoOffStackSystemCommands=function(){var e=this.offStack.pop();while(void 0!==e)this.logger.log(this,"Undoing off-stack",e),this.handleCommand(e,e.undo,function(){}),e=this.offStack.pop()},e.prototype.undoPreceedingSystemCommands=function(){var e=this,t=this.undoStack[this.undoStack.length-1];while(void 0!==t&&this.isPushToOffStack(t))this.undoStack.pop(),this.logger.log(this,"Undoing",t),this.handleCommand(t,t.undo,function(t,n){e.redoStack.push(t)}),t=this.undoStack[this.undoStack.length-1]},e.prototype.redoFollowingSystemCommands=function(){var e=this,t=this.redoStack[this.redoStack.length-1];while(void 0!==t&&this.isPushToOffStack(t))this.redoStack.pop(),this.logger.log(this,"Redoing ",t),this.handleCommand(t,t.redo,function(t,n){e.pushToUndoStack(t)}),t=this.redoStack[this.redoStack.length-1]},e.prototype.createContext=function(e){return{root:e,modelChanged:this,modelFactory:this.modelFactory,duration:this.options.defaultDuration,logger:this.logger,syncer:this.syncer}},e.prototype.isPushToOffStack=function(e){return e instanceof d.SystemCommand},e.prototype.isPushToUndoStack=function(e){return!(e instanceof d.HiddenCommand)},e.prototype.isBlockUndo=function(e){return e instanceof d.ResetCommand},o([s.inject(a.TYPES.IModelFactory),r("design:type",Object)],e.prototype,"modelFactory",void 0),o([s.inject(a.TYPES.IViewerProvider),r("design:type",Object)],e.prototype,"viewerProvider",void 0),o([s.inject(a.TYPES.ILogger),r("design:type",Object)],e.prototype,"logger",void 0),o([s.inject(a.TYPES.AnimationFrameSyncer),r("design:type",u.AnimationFrameSyncer)],e.prototype,"syncer",void 0),o([s.inject(a.TYPES.CommandStackOptions),r("design:type",Object)],e.prototype,"options",void 0),o([s.postConstruct(),r("design:type",Function),r("design:paramtypes",[]),r("design:returntype",void 0)],e.prototype,"initialize",null),e=o([s.injectable()],e),e}();function p(e){return{main:i({},e.main),hidden:i({},e.hidden),popup:i({},e.popup)}}t.CommandStack=h},"168d":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("3864"),c=n("d8f5"),l=n("e1c6"),u=n("6923"),d=function(e){function t(t){var n=e.call(this)||this;return t.forEach(function(e){return n.register(e.kind,e)}),n}return i(t,e),Object.defineProperty(t.prototype,"defaultKind",{get:function(){return c.PolylineEdgeRouter.KIND},enumerable:!0,configurable:!0}),t.prototype.get=function(t){return e.prototype.get.call(this,t||this.defaultKind)},t=o([l.injectable(),s(0,l.multiInject(u.TYPES.IEdgeRouter)),r("design:paramtypes",[Array])],t),t}(a.InstanceRegistry);t.EdgeRouterRegistry=d},1817:function(e,t,n){"use strict";var i=n("c23f"),o=n.n(i);o.a},1848:function(e,t,n){"use strict";var i=n("98ab"),o=n.n(i);o.a},1963:function(e,t,n){},1978:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("9757"),c=n("3a92"),l=n("6923"),u=n("e1c6");function d(e){return e instanceof c.SChildElement&&e.hasFeature(t.deletableFeature)}t.deletableFeature=Symbol("deletableFeature"),t.isDeletable=d;var h=function(){function e(t){this.elementIds=t,this.kind=e.KIND}return e.KIND="delete",e}();t.DeleteElementAction=h;var p=function(){function e(){}return e}();t.ResolvedDelete=p;var f=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n.resolvedDeletes=[],n}return i(t,e),t.prototype.execute=function(e){for(var t=e.root.index,n=0,i=this.action.elementIds;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var o=n("393a"),r=n("9964"),s=n("3623"),a=n("e1c6"),c=function(){function e(){}return e.prototype.render=function(e,t){var n=s.findParentByFeature(e,r.isExpandable),i=void 0!==n&&n.expanded?"M 1,5 L 8,12 L 15,5 Z":"M 1,8 L 8,15 L 8,1 Z";return o.svg("g",{"class-sprotty-button":"{true}","class-enabled":"{button.enabled}"},o.svg("rect",{x:0,y:0,width:16,height:16,opacity:0}),o.svg("path",{d:i}))},e=i([a.injectable()],e),e}();t.ExpandButtonView=c},"19f2":function(e,t,n){"use strict";var i=n("8ac3"),o=n.n(i);o.a},"19fc":function(e,t,n){"use strict";(function(e){n("7f7f"),n("6762"),n("2fdb"),n("6b54"),n("a481");var i=n("448a"),o=n.n(i),r=(n("f559"),n("7514"),n("3156")),s=n.n(r),a=(n("ac6a"),n("cadf"),n("f400"),n("e325")),c=n("1ad9"),l=n.n(c),u=(n("c862"),n("e00b")),d=n("2f62"),h=n("7cca"),p=n("b12a"),f=n("be3b"),m=n("7173");t["a"]={name:"DocumentationViewer",props:{forPrinting:{type:Boolean,default:!1}},components:{FigureTimeline:m["a"],HistogramViewer:u["a"]},data:function(){return{content:[],tables:[],images:[],loadingImages:[],figures:[],rawDocumentation:[],DOCUMENTATION_TYPES:h["l"],links:new Map,tableCounter:0,referenceCounter:0,viewport:null,needUpdates:!1,visible:!1,waitHeight:320}},computed:s()({},Object(d["c"])("data",["documentationTrees","documentationContent"]),Object(d["c"])("view",["documentationView","documentationSelected","documentationCache","tableFontSize"]),{tree:function(){var e=this;return this.documentationTrees.find(function(t){return t.view===e.documentationView}).tree}}),methods:s()({},Object(d["b"])("view",["setDocumentation"]),{getId:function(e){return this.forPrinting?"".concat(e,"-fp"):e},getFormatter:function(e,t){var n=t.numberFormat;switch(n||(n="%f"),e){case h["I"].TEXT:case h["I"].VALUE:case h["I"].BOOLEAN:return"plaintext";case h["I"].NUMBER:return function(e){return e.getValue()&&""!==e.getValue()?l()(n,e.getValue()):""};default:return"plaintext"}},formatColumns:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.numberFormat,o=function e(n,o){var r="".concat(o||"").concat(n.id);return s()({title:n.title,field:r,headerVertical:n.headerVertical,frozen:n.frozen},n.sorter&&{sorter:n.sorter},n.hozAlign&&{hozAlign:n.hozAlign},n.formatter&&{formatter:n.formatter},!n.formatter&&n.type&&{formatter:t.getFormatter(n.type,{numberFormat:n.numberFormat||i})},n.columns&&n.columns.length>0&&{columns:n.columns.map(function(t){return e(t,r)})})};return e.map(function(e){return s()({},o(e))})},selectElement:function(e){var t;t=e.startsWith(".")?document.querySelector(e):document.getElementById(this.getId(e)),t&&(t.scrollIntoView({behavior:"smooth"}),t.classList.add("dv-selected"))},getModelCode:function(e){return e?e.replaceAll("\n","
").replaceAll(" ",''):""},fontSizeChangeListener:function(e){"table"===e&&(this.tables.length>0&&this.tables.forEach(function(e){e.instance&&e.instance.redraw(!0)}),this.forPrinting&&(this.visible=!0,this.build()))},getLinkedText:function(e){var t=this;if(e){var n=[];return o()(e.matchAll(/LINK\/(?[^/]*)\/(?[^/]*)\//g)).forEach(function(e){var i,o=t.documentationContent.get(e[2]);o&&(o.type===h["l"].REFERENCE?i="[".concat(o.id,"]"):o.type===h["l"].TABLE&&(i="<".concat(o.id).concat(++t.tableCounter,">")),o.index=++t.referenceCounter,n.push({what:e[0],with:'').concat(o.index,"")}),t.links.set(e[2],o))}),n.length>0&&n.forEach(function(t){e=e.replace(t.what,t.with)}),e}return e},getImage:function(t,n){var i=this,o=document.getElementById("resimg-".concat(this.getId(t)));if(o)if(this.documentationCache.has(t)){var r=this.documentationCache.get(t);null!==r?o.src=this.documentationCache.get(t):o.style.display="none"}else f["a"].get("".concat("").concat("/modeler").concat(n),{responseType:"arraybuffer"}).then(function(n){var r=n.data;r&&r.byteLength>0?(o.src="data:image/png;base64,".concat(e.from(r,"binary").toString("base64")),i.documentationCache.set(t,o.src)):(o.style.display="none",i.documentationCache.set(t,null))})},getFigure:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=document.getElementById("figimg-".concat(this.documentationView,"-").concat(this.getId(e)));if(o){var r=this.documentationContent.get(e),a="".concat(t.observationId,"/").concat(n);if(r.figure.timeString=i,""!==o.src&&(this.waitHeight=o.clientHeight),this.documentationCache.has(a))o.src=this.documentationCache.get(a).src,r.figure.colormap=this.documentationCache.get(a).colormap;else if(!this.loadingImages.includes(e)){this.loadingImages.push(e),o.src="";var c=this;f["a"].get("".concat("").concat("/modeler").concat(t.baseUrl),{params:s()({format:h["q"].TYPE_RASTER,viewport:c.viewport},-1!==n&&{locator:"T1(1){time=".concat(n,"}")}),responseType:"blob"}).then(function(i){var l=c.loadingImages.indexOf(e);if(-1!==l&&c.loadingImages.splice(c.loadingImages.indexOf(e),1),i){var u=new FileReader,d={src:null,colormap:null};u.readAsDataURL(i.data),u.onload=function(){o.src=u.result,d.src=u.result},f["a"].get("".concat("").concat("/modeler").concat(t.baseUrl),{params:s()({format:h["q"].TYPE_COLORMAP},-1!==n&&{locator:"T1(1){time=".concat(n,"}")})}).then(function(e){e&&e.data&&(r.figure.colormap=Object(p["i"])(e.data),d.colormap=r.figure.colormap),c.documentationCache.set(a,d)}).catch(function(e){console.error(e),c.documentationCache.set(a,d)})}}).catch(function(t){var n=c.loadingImages.indexOf(e);-1!==n&&c.loadingImages.splice(c.loadingImages.indexOf(e),1),console.error(t)})}}},tableCopy:function(e){var t=this.tables.find(function(t){return t.id===e});t?t.instance.copyToClipboard("all"):console.warn("table not found")},tableDownload:function(e){var t=this.tables.find(function(t){return t.id===e});t?t.instance.download("xlsx","".concat(t.name,".xlsx")):console.warn("table not found")},updateThings:function(){var e=this;if(this.visible&&this.needUpdates){console.debug("Update things");var t=this;this.$nextTick(function(){e.tables.forEach(function(e){var n=document.querySelector("#".concat(t.getId(e.id),"-table"));n&&(e.instance=new a["a"]("#".concat(t.getId(e.id),"-table"),e.tabulator))}),e.images.forEach(function(t){e.getImage(t.id,t.url)}),e.figures.forEach(function(t){e.getFigure(t.id,t.instance,t.time,t.timeString)}),e.needUpdates=!1})}},clearCache:function(){this.documentationCache.clear(),this.needUpdates=!0},changeTime:function(e,t){var n=this.figures.find(function(e){return e.id===t});n&&(n.time=e.time,this.getFigure(n.id,n.instance,n.time,e.timeString))},build:function(){var e=this;this.rawDocumentation.splice(0,this.rawDocumentation.length),this.content.splice(0,this.content.length),this.tables.splice(0,this.tables.length),this.images.splice(0,this.images.length),this.figures.splice(0,this.figures.length),this.tree.forEach(function(t){Object(p["g"])(t,"children").forEach(function(t){e.rawDocumentation.push(t)})});var t=document.querySelectorAll(".dv-figure-".concat(this.forPrinting?"print":"display"));t.forEach(function(e){e.setAttribute("src","")}),this.needUpdates=!0;var n=this;this.rawDocumentation.forEach(function(e){var t=n.documentationContent.get(e.id);switch(t.bodyText&&(t.bodyText=n.getLinkedText(t.bodyText)),n.content.push(t),e.type){case h["l"].PARAGRAPH:break;case h["l"].RESOURCE:n.images.push({id:e.id,url:t.resource.spaceDescriptionUrl});break;case h["l"].SECTION:break;case h["l"].TABLE:n.tables.push({id:t.id,name:t.bodyText.replaceAll(" ","_").toLowerCase(),tabulator:{clipboard:"copy",printAsHtml:!0,data:t.table.rows,columns:n.formatColumns(t.table.columns,s()({},t.table.numberFormat&&{numberFormat:t.table.numberFormat})),clipboardCopied:function(){n.$q.notify({message:n.$t("messages.tableCopied"),type:"info",icon:"mdi-information",timeout:1e3})}}});break;case h["l"].FIGURE:n.$set(t.figure,"colormap",null),n.$set(t.figure,"timeString",""),n.figures.push({id:t.id,instance:t.figure,time:-1,timeString:""});break;default:break}}),this.updateThings()}}),watch:{tree:function(){this.build()},documentationSelected:function(e){Array.prototype.forEach.call(document.getElementsByClassName("dv-selected"),function(e){e.classList.remove("dv-selected")}),null!==e&&this.selectElement(e)}},mounted:function(){this.viewport=Math.min(document.body.clientWidth,640),this.$eventBus.$on(h["h"].FONT_SIZE_CHANGE,this.fontSizeChangeListener),this.forPrinting||(null!==this.documentationSelected&&this.selectElement(this.documentationSelected),this.$eventBus.$on(h["h"].REFRESH_DOCUMENTATION,this.clearCache))},activated:function(){this.visible=!0,this.updateThings()},deactivated:function(){this.visible=!1},updated:function(){var e=this;this.forPrinting||(null!==this.documentationSelected&&this.selectElement(this.documentationSelected),this.links.size>0&&(this.links.forEach(function(t,n){document.querySelectorAll(".link-".concat(n)).forEach(function(n){n.onclick=function(){e.setDocumentation({id:t.id,view:h["m"][t.type]})}})}),this.links.clear(),this.tableCounter=0,this.referenceCounter=0))},beforeDestroy:function(){this.forPrinting||this.$eventBus.$off(h["h"].REFRESH_DOCUMENTATION,this.clearCache),this.$eventBus.$off(h["h"].FONT_SIZE_CHANGE,this.fontSizeChangeListener)}}}).call(this,n("b639").Buffer)},"1ad9":function(e,t,n){var i=n("3022"),o=function(e,t,n,i){var o,r,s=[],a=0;while(o=t.exec(e)){if(r=e.slice(a,t.lastIndex-o[0].length),r.length&&s.push(r),n){var c=n.apply(i,o.slice(1).concat(s.length));"undefined"!=typeof c&&("%"===c.specifier?s.push("%"):s.push(c))}a=t.lastIndex}return r=e.slice(a),r.length&&s.push(r),s},r=function(e){this._mapped=!1,this._format=e,this._tokens=o(e,this._re,this._parseDelim,this)};r.prototype._re=/\%(?:\(([\w_.]+)\)|([1-9]\d*)\$)?([0 +\-\#]*)(\*|\d+)?(?:(\.)(\*|\d+)?)?[hlL]?([\%bscdeEfFgGioOuxX])/g,r.prototype._parseDelim=function(e,t,n,i,o,r,s){return e&&(this._mapped=!0),{mapping:e,intmapping:t,flags:n,_minWidth:i,period:o,_precision:r,specifier:s}},r.prototype._specifiers={b:{base:2,isInt:!0},o:{base:8,isInt:!0},x:{base:16,isInt:!0},X:{extend:["x"],toUpper:!0},d:{base:10,isInt:!0},i:{extend:["d"]},u:{extend:["d"],isUnsigned:!0},c:{setArg:function(e){if(!isNaN(e.arg)){var t=parseInt(e.arg);if(t<0||t>127)throw new Error("invalid character code passed to %c in printf");e.arg=isNaN(t)?""+t:String.fromCharCode(t)}}},s:{setMaxWidth:function(e){e.maxWidth="."==e.period?e.precision:-1}},e:{isDouble:!0,doubleNotation:"e"},E:{extend:["e"],toUpper:!0},f:{isDouble:!0,doubleNotation:"f"},F:{extend:["f"]},g:{isDouble:!0,doubleNotation:"g"},G:{extend:["g"],toUpper:!0},O:{isObject:!0}},r.prototype.format=function(e){if(this._mapped&&"object"!=typeof e)throw new Error("format requires a mapping");for(var t,n="",i=0,o=0;o=arguments.length)throw new Error("got "+arguments.length+" printf arguments, insufficient for '"+this._format+"'");t.arg=arguments[i++]}if(!t.compiled){t.compiled=!0,t.sign="",t.zeroPad=!1,t.rightJustify=!1,t.alternative=!1;for(var l={},u=t.flags.length;u--;){var d=t.flags.charAt(u);switch(l[d]=!0,d){case" ":t.sign=" ";break;case"+":t.sign="+";break;case"0":t.zeroPad=!l["-"];break;case"-":t.rightJustify=!0,t.zeroPad=!1;break;case"#":t.alternative=!0;break;default:throw Error("bad formatting flag '"+t.flags.charAt(u)+"'")}}t.minWidth=t._minWidth?parseInt(t._minWidth):0,t.maxWidth=-1,t.toUpper=!1,t.isUnsigned=!1,t.isInt=!1,t.isDouble=!1,t.isObject=!1,t.precision=1,"."==t.period&&(t._precision?t.precision=parseInt(t._precision):t.precision=0);var h=this._specifiers[t.specifier];if("undefined"==typeof h)throw new Error("unexpected specifier '"+t.specifier+"'");if(h.extend){var p=this._specifiers[h.extend];for(var f in p)h[f]=p[f];delete h.extend}for(var m in h)t[m]=h[m]}if("function"==typeof t.setArg&&t.setArg(t),"function"==typeof t.setMaxWidth&&t.setMaxWidth(t),"*"==t._minWidth){if(this._mapped)throw new Error("* width not supported in mapped formats");if(t.minWidth=parseInt(arguments[i++]),isNaN(t.minWidth))throw new Error("the argument for * width at position "+i+" is not a number in "+this._format);t.minWidth<0&&(t.rightJustify=!0,t.minWidth=-t.minWidth)}if("*"==t._precision&&"."==t.period){if(this._mapped)throw new Error("* precision not supported in mapped formats");if(t.precision=parseInt(arguments[i++]),isNaN(t.precision))throw Error("the argument for * precision at position "+i+" is not a number in "+this._format);t.precision<0&&(t.precision=1,t.period="")}t.isInt?("."==t.period&&(t.zeroPad=!1),this.formatInt(t)):t.isDouble?("."!=t.period&&(t.precision=6),this.formatDouble(t)):t.isObject&&this.formatObject(t),this.fitField(t),n+=""+t.arg}return n},r.prototype._zeros10="0000000000",r.prototype._spaces10=" ",r.prototype.formatInt=function(e){var t=parseInt(e.arg);if(!isFinite(t)){if("number"!=typeof e.arg)throw new Error("format argument '"+e.arg+"' not an integer; parseInt returned "+t);t=0}t<0&&(e.isUnsigned||10!=e.base)&&(t=4294967295+t+1),t<0?(e.arg=(-t).toString(e.base),this.zeroPad(e),e.arg="-"+e.arg):(e.arg=t.toString(e.base),t||e.precision?this.zeroPad(e):e.arg="",e.sign&&(e.arg=e.sign+e.arg)),16==e.base&&(e.alternative&&(e.arg="0x"+e.arg),e.arg=e.toUpper?e.arg.toUpperCase():e.arg.toLowerCase()),8==e.base&&e.alternative&&"0"!=e.arg.charAt(0)&&(e.arg="0"+e.arg)},r.prototype.formatDouble=function(e){var t=parseFloat(e.arg);if(!isFinite(t)){if("number"!=typeof e.arg)throw new Error("format argument '"+e.arg+"' not a float; parseFloat returned "+t);t=0}switch(e.doubleNotation){case"e":e.arg=t.toExponential(e.precision);break;case"f":e.arg=t.toFixed(e.precision);break;case"g":Math.abs(t)<1e-4?e.arg=t.toExponential(e.precision>0?e.precision-1:e.precision):e.arg=t.toPrecision(e.precision),e.alternative||(e.arg=e.arg.replace(/(\..*[^0])0*e/,"$1e"),e.arg=e.arg.replace(/\.0*e/,"e").replace(/\.0$/,""));break;default:throw new Error("unexpected double notation '"+e.doubleNotation+"'")}e.arg=e.arg.replace(/e\+(\d)$/,"e+0$1").replace(/e\-(\d)$/,"e-0$1"),e.alternative&&(e.arg=e.arg.replace(/^(\d+)$/,"$1."),e.arg=e.arg.replace(/^(\d+)e/,"$1.e")),t>=0&&e.sign&&(e.arg=e.sign+e.arg),e.arg=e.toUpper?e.arg.toUpperCase():e.arg.toLowerCase()},r.prototype.formatObject=function(e){var t="."===e.period?e.precision:null;e.arg=i.inspect(e.arg,{showHidden:!e.alternative,depth:t,colors:e.sign,compact:!0})},r.prototype.zeroPad=function(e,t){t=2==arguments.length?t:e.precision;var n=!1;"string"!=typeof e.arg&&(e.arg=""+e.arg),"-"===e.arg.substr(0,1)&&(n=!0,e.arg=e.arg.substr(1));var i=t-10;while(e.arg.length=0&&e.arg.length>e.maxWidth&&(e.arg=e.arg.substring(0,e.maxWidth)),e.zeroPad?this.zeroPad(e,e.minWidth):this.spacePad(e)},r.prototype.spacePad=function(e,t){t=2==arguments.length?t:e.minWidth,"string"!=typeof e.arg&&(e.arg=""+e.arg);var n=t-10;while(e.arg.length1?arguments[1]:void 0,g=void 0!==m,v=0,b=u(h);if(g&&(m=i(m,f>2?arguments[2]:void 0,2)),void 0==b||p==Array&&a(b))for(t=c(h.length),n=new p(t);t>v;v++)l(n,v,g?m(h[v],v):h[v]);else for(d=b.call(h),n=new p;!(o=d.next()).done;v++)l(n,v,g?s(d,m,[o.value,v],!0):o.value);return n.length=v,n}})},"1cc1":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),a=n("6923"),c=n("1978"),l=n("4c18"),u=function(){function e(e){void 0===e&&(e=[]),this.menuProviders=e}return e.prototype.getItems=function(e,t){var n=this.menuProviders.map(function(n){return n.getItems(e,t)});return Promise.all(n).then(this.flattenAndRestructure)},e.prototype.flattenAndRestructure=function(e){for(var t=e.reduce(function(e,t){return void 0!==t?e.concat(t):e},[]),n=t.filter(function(e){return e.parentId}),i=function(e){if(e.parentId){for(var n=e.parentId.split("."),i=void 0,o=t,r=function(e){i=o.find(function(t){return e===t.id}),i&&i.children&&(o=i.children)},s=0,a=n;s0}}])},e=i([s.injectable()],e),e}();t.DeleteContextMenuItemProvider=d},"1cd9":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),c=n("9757"),l=n("4c18"),u=n("510b"),d=n("3a92"),h=n("1417"),p=n("b669"),f=n("7faf"),m=n("5d19"),g=n("5eb6"),v=n("e4f0"),b=n("6923"),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.keyDown=function(e,t){return p.matchesKeystroke(t,"KeyE","ctrlCmd","shift")?[new _]:[]},t=o([a.injectable()],t),t}(h.KeyListener);t.ExportSvgKeyListener=y;var _=function(){function e(t){void 0===t&&(t=""),this.requestId=t,this.kind=e.KIND}return e.create=function(){return new e(u.generateRequestId())},e.KIND="requestExportSvg",e}();t.RequestExportSvgAction=_;var M=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){if(f.isExportable(e.root)){var t=e.modelFactory.createRoot(e.root);if(f.isExportable(t))return g.isViewport(t)&&(t.zoom=1,t.scroll={x:0,y:0}),t.index.all().forEach(function(e){l.isSelectable(e)&&e.selected&&(e.selected=!1),v.isHoverable(e)&&e.hoverFeedback&&(e.hoverFeedback=!1)}),{model:t,modelChanged:!0,cause:this.action}}return{model:e.root,modelChanged:!1}},t.KIND=_.KIND,t=o([s(0,a.inject(b.TYPES.Action)),r("design:paramtypes",[_])],t),t}(c.HiddenCommand);t.ExportSvgCommand=M;var w=function(){function e(){}return e.prototype.decorate=function(e,t){return t instanceof d.SModelRoot&&(this.root=t),e},e.prototype.postUpdate=function(e){this.root&&void 0!==e&&e.kind===_.KIND&&this.svgExporter.export(this.root,e)},o([a.inject(b.TYPES.SvgExporter),r("design:type",m.SvgExporter)],e.prototype,"svgExporter",void 0),e=o([a.injectable()],e),e}();t.ExportSvgPostprocessor=w},"1d39":function(e,t,n){"use strict";var i=n("1963"),o=n.n(i);o.a},"1e19":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("ed4f"),s=n("c444"),a=n("cf98"),c=n("fe37"),l=n("842c"),u=new i.ContainerModule(function(e,t,n){l.configureCommand({bind:e,isBound:n},r.CenterCommand),l.configureCommand({bind:e,isBound:n},r.FitToScreenCommand),l.configureCommand({bind:e,isBound:n},s.SetViewportCommand),l.configureCommand({bind:e,isBound:n},s.GetViewportCommand),e(o.TYPES.KeyListener).to(r.CenterKeyboardListener),e(o.TYPES.MouseListener).to(a.ScrollMouseListener),e(o.TYPES.MouseListener).to(c.ZoomMouseListener)});t.default=u},"1e31":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("9d6c"),s=new i.ContainerModule(function(e){e(r.EdgeLayoutPostprocessor).toSelf().inSingletonScope(),e(o.TYPES.IVNodePostprocessor).toService(r.EdgeLayoutPostprocessor),e(o.TYPES.HiddenVNodePostprocessor).toService(r.EdgeLayoutPostprocessor)});t.default=s},"1e94":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){}return e.of=function(t,n){var i=new e;return i.bindings=t,i.middleware=n,i},e}();t.ContainerSnapshot=i},"1f0f":function(e,t,n){},"1f66":function(e,t,n){},"1f89":function(e,t,n){"use strict";function i(e){return e.hasFeature(t.openFeature)}Object.defineProperty(t,"__esModule",{value:!0}),t.openFeature=Symbol("openFeature"),t.isOpenable=i},"1fac":function(e,t,n){"use strict";var i=n("e5a7"),o=n.n(i);o.a},2:function(e,t){},"218d":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var r=n("393a"),s=n("47b7"),a=n("8e97"),c=n("dd02"),l=n("e1c6"),u=function(){function e(){}return e.prototype.render=function(e,t){var n="scale("+e.zoom+") translate("+-e.scroll.x+","+-e.scroll.y+")";return r.svg("svg",null,r.svg("g",{transform:n},t.renderChildren(e)))},e=o([l.injectable()],e),e}();t.SvgViewportView=u;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(e,t){if(this.isVisible(e,t)){var n=this.getRadius(e);return r.svg("g",null,r.svg("circle",{"class-sprotty-node":e instanceof s.SNode,"class-sprotty-port":e instanceof s.SPort,"class-mouseover":e.hoverFeedback,"class-selected":e.selected,r:n,cx:n,cy:n}),t.renderChildren(e))}},t.prototype.getRadius=function(e){var t=Math.min(e.size.width,e.size.height);return t>0?t/2:0},t=o([l.injectable()],t),t}(a.ShapeView);t.CircularNodeView=d;var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(e,t){if(this.isVisible(e,t))return r.svg("g",null,r.svg("rect",{"class-sprotty-node":e instanceof s.SNode,"class-sprotty-port":e instanceof s.SPort,"class-mouseover":e.hoverFeedback,"class-selected":e.selected,x:"0",y:"0",width:Math.max(e.size.width,0),height:Math.max(e.size.height,0)}),t.renderChildren(e))},t=o([l.injectable()],t),t}(a.ShapeView);t.RectangularNodeView=h;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(e,t){if(this.isVisible(e,t)){var n=new c.Diamond({height:Math.max(e.size.height,0),width:Math.max(e.size.width,0),x:0,y:0}),i=f(n.topPoint)+" "+f(n.rightPoint)+" "+f(n.bottomPoint)+" "+f(n.leftPoint);return r.svg("g",null,r.svg("polygon",{"class-sprotty-node":e instanceof s.SNode,"class-sprotty-port":e instanceof s.SPort,"class-mouseover":e.hoverFeedback,"class-selected":e.selected,points:i}),t.renderChildren(e))}},t=o([l.injectable()],t),t}(a.ShapeView);function f(e){return e.x+","+e.y}t.DiamondNodeView=p;var m=function(){function e(){}return e.prototype.render=function(e,t){return r.svg("g",null)},e=o([l.injectable()],e),e}();t.EmptyGroupView=m},2196:function(e,t,n){},"21a6":function(e,t,n){(function(n){var i,o,r;(function(n,s){o=[],i=s,r="function"===typeof i?i.apply(t,o):i,void 0===r||(e.exports=r)})(0,function(){"use strict";function t(e,t){return"undefined"==typeof t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function i(e,t,n){var i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){a(i.response,t,n)},i.onerror=function(){console.error("could not download file")},i.send()}function o(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function r(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var s="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,a=s.saveAs||("object"!=typeof window||window!==s?function(){}:"download"in HTMLAnchorElement.prototype?function(e,t,n){var a=s.URL||s.webkitURL,c=document.createElement("a");t=t||e.name||"download",c.download=t,c.rel="noopener","string"==typeof e?(c.href=e,c.origin===location.origin?r(c):o(c.href)?i(e,t,n):r(c,c.target="_blank")):(c.href=a.createObjectURL(e),setTimeout(function(){a.revokeObjectURL(c.href)},4e4),setTimeout(function(){r(c)},0))}:"msSaveOrOpenBlob"in navigator?function(e,n,s){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,s),n);else if(o(e))i(e,n,s);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout(function(){r(a)})}}:function(e,t,n,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return i(e,t,n);var r="application/octet-stream"===e.type,a=/constructor/i.test(s.HTMLElement)||s.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||r&&a)&&"object"==typeof FileReader){var l=new FileReader;l.onloadend=function(){var e=l.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},l.readAsDataURL(e)}else{var u=s.URL||s.webkitURL,d=u.createObjectURL(e);o?o.location=d:location.href=d,o=null,setTimeout(function(){u.revokeObjectURL(d)},4e4)}});s.saveAs=a.saveAs=a,e.exports=a})}).call(this,n("c8ba"))},"232d":function(e,t,n){},"23a0":function(e,t,n){"use strict";var i=n("79d7"),o=n.n(i);o.a},2590:function(e,t,n){"use strict";var i=n("1288"),o=n.n(i);o.a},"26ad":function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),a=n("3f0a"),c=n("6923"),l=n("5d19"),u=n("3a92"),d=function(){function e(){}return e.prototype.initialize=function(e){e.register(a.RequestModelAction.KIND,this),e.register(l.ExportSvgAction.KIND,this)},o([s.inject(c.TYPES.IActionDispatcher),r("design:type",Object)],e.prototype,"actionDispatcher",void 0),o([s.inject(c.TYPES.ViewerOptions),r("design:type",Object)],e.prototype,"viewerOptions",void 0),e=o([s.injectable()],e),e}();t.ModelSource=d;var h=function(){function e(){}return e.prototype.apply=function(e,t){var n=new u.SModelIndex;n.add(e);for(var i=0,o=t.bounds;i=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("393a"),a=n("dd7b"),c=n("6af2"),l=n("ff70"),u=n("9016"),d=n("6907"),h=n("f923"),p=n("e1c6"),f=n("6923"),m=n("fba3"),g=n("33b2"),v=n("e45b"),b=n("8d53"),y=n("302f"),_=function(){function e(e,t,n){this.viewRegistry=e,this.targetKind=t,this.postprocessors=n}return e.prototype.decorate=function(e,t){return b.isThunk(e)?e:this.postprocessors.reduce(function(e,n){return n.decorate(e,t)},e)},e.prototype.renderElement=function(e,t){var n=this.viewRegistry.get(e.type),i=n.render(e,this,t);return i?this.decorate(i,e):void 0},e.prototype.renderChildren=function(e,t){var n=this;return e.children.map(function(e){return n.renderElement(e,t)}).filter(function(e){return void 0!==e})},e.prototype.postUpdate=function(e){this.postprocessors.forEach(function(t){return t.postUpdate(e)})},e}();t.ModelRenderer=_;var M=function(){function e(){this.patcher=a.init(this.createModules())}return e.prototype.createModules=function(){return[c.propsModule,l.attributesModule,h.classModule,u.styleModule,d.eventListenersModule]},e=i([p.injectable(),o("design:paramtypes",[])],e),e}();t.PatcherProvider=M;var w=function(){function e(e,t,n){var i=this;this.onWindowResize=function(e){var t=document.getElementById(i.options.baseDiv);if(null!==t){var n=i.getBoundsInPage(t);i.actiondispatcher.dispatch(new g.InitializeCanvasBoundsAction(n))}},this.renderer=e("main",n),this.patcher=t.patcher}return e.prototype.update=function(e,t){var n=this;this.logger.log(this,"rendering",e);var i=s.html("div",{id:this.options.baseDiv},this.renderer.renderElement(e));if(void 0!==this.lastVDOM){var o=this.hasFocus();v.copyClassesFromVNode(this.lastVDOM,i),this.lastVDOM=this.patcher.call(this,this.lastVDOM,i),this.restoreFocus(o)}else if("undefined"!==typeof document){var r=document.getElementById(this.options.baseDiv);null!==r?("undefined"!==typeof window&&window.addEventListener("resize",function(){n.onWindowResize(i)}),v.copyClassesFromElement(r,i),v.setClass(i,this.options.baseClass,!0),this.lastVDOM=this.patcher.call(this,r,i)):this.logger.error(this,"element not in DOM:",this.options.baseDiv)}this.renderer.postUpdate(t)},e.prototype.hasFocus=function(){if("undefined"!==typeof document&&document.activeElement&&this.lastVDOM.children&&this.lastVDOM.children.length>0){var e=this.lastVDOM.children[0];if("object"===typeof e){var t=e.elm;return document.activeElement===t}}return!1},e.prototype.restoreFocus=function(e){if(e&&this.lastVDOM.children&&this.lastVDOM.children.length>0){var t=this.lastVDOM.children[0];if("object"===typeof t){var n=t.elm;n&&"function"===typeof n.focus&&n.focus()}}},e.prototype.getBoundsInPage=function(e){var t=e.getBoundingClientRect(),n=m.getWindowScroll();return{x:t.left+n.x,y:t.top+n.y,width:t.width,height:t.height}},i([p.inject(f.TYPES.ViewerOptions),o("design:type",Object)],e.prototype,"options",void 0),i([p.inject(f.TYPES.ILogger),o("design:type",Object)],e.prototype,"logger",void 0),i([p.inject(f.TYPES.IActionDispatcher),o("design:type",Object)],e.prototype,"actiondispatcher",void 0),e=i([p.injectable(),r(0,p.inject(f.TYPES.ModelRendererFactory)),r(1,p.inject(f.TYPES.PatcherProvider)),r(2,p.multiInject(f.TYPES.IVNodePostprocessor)),r(2,p.optional()),o("design:paramtypes",[Function,M,Array])],e),e}();t.ModelViewer=w;var C=function(){function e(e,t,n){this.hiddenRenderer=e("hidden",n),this.patcher=t.patcher}return e.prototype.update=function(e,t){var n;if(this.logger.log(this,"rendering hidden"),e.type===y.EMPTY_ROOT.type)n=s.html("div",{id:this.options.hiddenDiv});else{var i=this.hiddenRenderer.renderElement(e);i&&v.setAttr(i,"opacity",0),n=s.html("div",{id:this.options.hiddenDiv},i)}if(void 0!==this.lastHiddenVDOM)v.copyClassesFromVNode(this.lastHiddenVDOM,n),this.lastHiddenVDOM=this.patcher.call(this,this.lastHiddenVDOM,n);else{var o=document.getElementById(this.options.hiddenDiv);null===o?(o=document.createElement("div"),document.body.appendChild(o)):v.copyClassesFromElement(o,n),v.setClass(n,this.options.baseClass,!0),v.setClass(n,this.options.hiddenClass,!0),this.lastHiddenVDOM=this.patcher.call(this,o,n)}this.hiddenRenderer.postUpdate(t)},i([p.inject(f.TYPES.ViewerOptions),o("design:type",Object)],e.prototype,"options",void 0),i([p.inject(f.TYPES.ILogger),o("design:type",Object)],e.prototype,"logger",void 0),e=i([p.injectable(),r(0,p.inject(f.TYPES.ModelRendererFactory)),r(1,p.inject(f.TYPES.PatcherProvider)),r(2,p.multiInject(f.TYPES.HiddenVNodePostprocessor)),r(2,p.optional()),o("design:paramtypes",[Function,M,Array])],e),e}();t.HiddenModelViewer=C;var S=function(){function e(e,t,n){this.modelRendererFactory=e,this.popupRenderer=this.modelRendererFactory("popup",n),this.patcher=t.patcher}return e.prototype.update=function(e,t){this.logger.log(this,"rendering popup",e);var n,i=e.type===y.EMPTY_ROOT.type;if(i)n=s.html("div",{id:this.options.popupDiv});else{var o=e.canvasBounds,r={top:o.y+"px",left:o.x+"px"};n=s.html("div",{id:this.options.popupDiv,style:r},this.popupRenderer.renderElement(e))}if(void 0!==this.lastPopupVDOM)v.copyClassesFromVNode(this.lastPopupVDOM,n),v.setClass(n,this.options.popupClosedClass,i),this.lastPopupVDOM=this.patcher.call(this,this.lastPopupVDOM,n);else if("undefined"!==typeof document){var a=document.getElementById(this.options.popupDiv);null===a?(a=document.createElement("div"),document.body.appendChild(a)):v.copyClassesFromElement(a,n),v.setClass(n,this.options.popupClass,!0),v.setClass(n,this.options.popupClosedClass,i),this.lastPopupVDOM=this.patcher.call(this,a,n)}this.popupRenderer.postUpdate(t)},i([p.inject(f.TYPES.ViewerOptions),o("design:type",Object)],e.prototype,"options",void 0),i([p.inject(f.TYPES.ILogger),o("design:type",Object)],e.prototype,"logger",void 0),e=i([p.injectable(),r(0,p.inject(f.TYPES.ModelRendererFactory)),r(1,p.inject(f.TYPES.PatcherProvider)),r(2,p.multiInject(f.TYPES.PopupVNodePostprocessor)),r(2,p.optional()),o("design:paramtypes",[Function,M,Array])],e),e}();t.PopupModelViewer=S},"2b54":function(e,t,n){"use strict";var i=n("e7ed"),o=n.n(i);o.a},"2c63":function(e,t,n){e.exports=n("dc14")},"2cac":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e34e"),o=n("cf81"),r=function(){function e(e){this._binding=e,this._bindingWhenSyntax=new o.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new i.BindingOnSyntax(this._binding)}return e.prototype.when=function(e){return this._bindingWhenSyntax.when(e)},e.prototype.whenTargetNamed=function(e){return this._bindingWhenSyntax.whenTargetNamed(e)},e.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},e.prototype.whenTargetTagged=function(e,t){return this._bindingWhenSyntax.whenTargetTagged(e,t)},e.prototype.whenInjectedInto=function(e){return this._bindingWhenSyntax.whenInjectedInto(e)},e.prototype.whenParentNamed=function(e){return this._bindingWhenSyntax.whenParentNamed(e)},e.prototype.whenParentTagged=function(e,t){return this._bindingWhenSyntax.whenParentTagged(e,t)},e.prototype.whenAnyAncestorIs=function(e){return this._bindingWhenSyntax.whenAnyAncestorIs(e)},e.prototype.whenNoAncestorIs=function(e){return this._bindingWhenSyntax.whenNoAncestorIs(e)},e.prototype.whenAnyAncestorNamed=function(e){return this._bindingWhenSyntax.whenAnyAncestorNamed(e)},e.prototype.whenAnyAncestorTagged=function(e,t){return this._bindingWhenSyntax.whenAnyAncestorTagged(e,t)},e.prototype.whenNoAncestorNamed=function(e){return this._bindingWhenSyntax.whenNoAncestorNamed(e)},e.prototype.whenNoAncestorTagged=function(e,t){return this._bindingWhenSyntax.whenNoAncestorTagged(e,t)},e.prototype.whenAnyAncestorMatches=function(e){return this._bindingWhenSyntax.whenAnyAncestorMatches(e)},e.prototype.whenNoAncestorMatches=function(e){return this._bindingWhenSyntax.whenNoAncestorMatches(e)},e.prototype.onActivation=function(e){return this._bindingOnSyntax.onActivation(e)},e}();t.BindingWhenOnSyntax=r},"2cee":function(e,t,n){"use strict";n("6762"),n("2fdb");t["a"]={data:function(){return{ellipsed:[]}},methods:{tooltipIt:function(e,t){e.target.offsetWidth=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),a=n("6923"),c=n("9757"),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.execute=function(e){var t=this.retrieveResult(e);return this.actionDispatcher.dispatch(t),{model:e.root,modelChanged:!1}},t.prototype.undo=function(e){return{model:e.root,modelChanged:!1}},t.prototype.redo=function(e){return{model:e.root,modelChanged:!1}},o([s.inject(a.TYPES.IActionDispatcher),r("design:type",Object)],t.prototype,"actionDispatcher",void 0),t=o([s.injectable()],t),t}(c.SystemCommand);t.ModelRequestCommand=l},3:function(e,t){},3022:function(e,t,n){(function(e){var i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},i=0;i=r)return e;switch(e){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch(e){return"[Circular]"}default:return e}}),c=i[n];n=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),b(n)?i.showHidden=n:n&&t._extend(i,n),S(i.showHidden)&&(i.showHidden=!1),S(i.depth)&&(i.depth=2),S(i.colors)&&(i.colors=!1),S(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=c),d(i,e,i.depth)}function c(e,t){var n=a.styles[t];return n?"["+a.colors[n][0]+"m"+e+"["+a.colors[n][1]+"m":e}function l(e,t){return e}function u(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function d(e,n,i){if(e.customInspect&&n&&T(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(i,e);return w(o)||(o=d(e,o,i)),o}var r=h(e,n);if(r)return r;var s=Object.keys(n),a=u(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(n)),L(n)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return p(n);if(0===s.length){if(T(n)){var c=n.name?": "+n.name:"";return e.stylize("[Function"+c+"]","special")}if(A(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(O(n))return e.stylize(Date.prototype.toString.call(n),"date");if(L(n))return p(n)}var l,b="",y=!1,_=["{","}"];if(v(n)&&(y=!0,_=["[","]"]),T(n)){var M=n.name?": "+n.name:"";b=" [Function"+M+"]"}return A(n)&&(b=" "+RegExp.prototype.toString.call(n)),O(n)&&(b=" "+Date.prototype.toUTCString.call(n)),L(n)&&(b=" "+p(n)),0!==s.length||y&&0!=n.length?i<0?A(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=y?f(e,n,i,a,s):s.map(function(t){return m(e,n,i,a,t,y)}),e.seen.pop(),g(l,b,_)):_[0]+b+_[1]}function h(e,t){if(S(t))return e.stylize("undefined","undefined");if(w(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return M(t)?e.stylize(""+t,"number"):b(t)?e.stylize(""+t,"boolean"):y(t)?e.stylize("null","null"):void 0}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,i,o){for(var r=[],s=0,a=t.length;s-1&&(a=r?a.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n"))):a=e.stylize("[Circular]","special")),S(s)){if(r&&o.match(/^\d+$/))return a;s=JSON.stringify(""+o),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function g(e,t,n){var i=e.reduce(function(e,t){return 0,t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function v(e){return Array.isArray(e)}function b(e){return"boolean"===typeof e}function y(e){return null===e}function _(e){return null==e}function M(e){return"number"===typeof e}function w(e){return"string"===typeof e}function C(e){return"symbol"===typeof e}function S(e){return void 0===e}function A(e){return E(e)&&"[object RegExp]"===R(e)}function E(e){return"object"===typeof e&&null!==e}function O(e){return E(e)&&"[object Date]"===R(e)}function L(e){return E(e)&&("[object Error]"===R(e)||e instanceof Error)}function T(e){return"function"===typeof e}function x(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function R(e){return Object.prototype.toString.call(e)}function k(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(S(r)&&(r=Object({NODE_ENV:"production",CLIENT:!0,SERVER:!1,DEV:!1,PROD:!0,THEME:"mat",MODE:"spa",WS_BASE_URL:"",STOMP_CLIENT_DEBUG:!1,KEXPLORER_DEBUG:!1,ROUTER_BASE:"/modeler/ui",WEB_BASE_URL:"https://integratedmodelling.org",PACKAGE_VERSION:"0.22.0",PACKAGE_BUILD:"",ENGINE_URL:"/modeler",ENGINE_SHARED:"/modeler/shared/",ENGINE_LOGIN:"/modeler",API:"/modeler/api/v2",WS_URL:"/modeler/message",WS_SUBSCRIBE:"/message",WS_MESSAGE_DESTINATION:"/klab/message",REST_UPLOAD_MAX_SIZE:"1024MB",SEARCH_TIMEOUT_MS:"4000",VUE_ROUTER_MODE:"hash",VUE_ROUTER_BASE:"",APP_URL:"undefined"}).NODE_DEBUG||""),n=n.toUpperCase(),!s[n])if(new RegExp("\\b"+n+"\\b","i").test(r)){var i=e.pid;s[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,i,e)}}else s[n]=function(){};return s[n]},t.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=v,t.isBoolean=b,t.isNull=y,t.isNullOrUndefined=_,t.isNumber=M,t.isString=w,t.isSymbol=C,t.isUndefined=S,t.isRegExp=A,t.isObject=E,t.isDate=O,t.isError=L,t.isFunction=T,t.isPrimitive=x,t.isBuffer=n("d60a");var z=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(){var e=new Date,t=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":");return[e.getDate(),z[e.getMonth()],t].join(" ")}function N(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",P(),t.format.apply(t,arguments))},t.inherits=n("28a0"),t._extend=function(e,t){if(!t||!E(t))return e;var n=Object.keys(t),i=n.length;while(i--)e[n[i]]=t[n[i]];return e};var I="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function D(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}function B(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],i=0;i=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),c=n("6923"),l=n("3864"),u=n("3a92"),d=function(){function e(){}return e.prototype.createElement=function(e,t){var n;if(this.registry.hasKey(e.type)){var i=this.registry.get(e.type,void 0);if(!(i instanceof u.SChildElement))throw new Error("Element with type "+e.type+" was expected to be an SChildElement.");n=i}else n=new u.SChildElement;return this.initializeChild(n,e,t)},e.prototype.createRoot=function(e){var t;if(this.registry.hasKey(e.type)){var n=this.registry.get(e.type,void 0);if(!(n instanceof u.SModelRoot))throw new Error("Element with type "+e.type+" was expected to be an SModelRoot.");t=n}else t=new u.SModelRoot;return this.initializeRoot(t,e)},e.prototype.createSchema=function(e){var t=this,n={};for(var i in e)if(!this.isReserved(e,i)){var o=e[i];"function"!==typeof o&&(n[i]=o)}return e instanceof u.SParentElement&&(n["children"]=e.children.map(function(e){return t.createSchema(e)})),n},e.prototype.initializeElement=function(e,t){for(var n in t)if(!this.isReserved(e,n)){var i=t[n];"function"!==typeof i&&(e[n]=i)}return e},e.prototype.isReserved=function(e,t){if(["children","parent","index"].indexOf(t)>=0)return!0;var n=e;do{var i=Object.getOwnPropertyDescriptor(n,t);if(void 0!==i)return void 0!==i.get;n=Object.getPrototypeOf(n)}while(n);return!1},e.prototype.initializeParent=function(e,t){var n=this;return this.initializeElement(e,t),u.isParent(t)&&(e.children=t.children.map(function(t){return n.createElement(t,e)})),e},e.prototype.initializeChild=function(e,t,n){return this.initializeParent(e,t),void 0!==n&&(e.parent=n),e},e.prototype.initializeRoot=function(e,t){return this.initializeParent(e,t),e.index.add(e),e},o([a.inject(c.TYPES.SModelRegistry),r("design:type",h)],e.prototype,"registry",void 0),e=o([a.injectable()],e),e}();t.SModelFactory=d,t.EMPTY_ROOT=Object.freeze({type:"NONE",id:"EMPTY"});var h=function(e){function t(t){var n=e.call(this)||this;return t.forEach(function(e){var t=n.getDefaultFeatures(e.constr);if(!t&&e.features&&e.features.enable&&(t=[]),t){var i=p(t,e.features);n.register(e.type,function(){var t=new e.constr;return t.features=i,t})}else n.register(e.type,function(){return new e.constr})}),n}return i(t,e),t.prototype.getDefaultFeatures=function(e){var t=e;do{var n=t.DEFAULT_FEATURES;if(n)return n;t=Object.getPrototypeOf(t)}while(t)},t=o([a.injectable(),s(0,a.multiInject(c.TYPES.SModelElementRegistration)),s(0,a.optional()),r("design:paramtypes",[Array])],t),t}(l.FactoryRegistry);function p(e,t){var n=new Set(e);if(t&&t.enable)for(var i=0,o=t.enable;i= than the number of constructor arguments of its base class."},t.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT="Invalid Container constructor argument. Container options must be an object.",t.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE="Invalid Container option. Default scope must be a string ('singleton' or 'transient').",t.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE="Invalid Container option. Auto bind injectable must be a boolean",t.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK="Invalid Container option. Skip base check must be a boolean",t.MULTIPLE_POST_CONSTRUCT_METHODS="Cannot apply @postConstruct decorator multiple times in the same class",t.POST_CONSTRUCT_ERROR=function(){for(var e=[],t=0;t=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),a=n("6923"),c=n("3864"),l=n("dd02"),u=n("66f9"),d=n("da84"),h=n("4b75"),p=n("ac2a"),f=function(e){function t(){var t=e.call(this)||this;return t.register(d.VBoxLayouter.KIND,new d.VBoxLayouter),t.register(h.HBoxLayouter.KIND,new h.HBoxLayouter),t.register(p.StackLayouter.KIND,new p.StackLayouter),t}return i(t,e),t}(c.InstanceRegistry);t.LayoutRegistry=f;var m=function(){function e(){}return e.prototype.layout=function(e){new g(e,this.layoutRegistry,this.logger).layout()},o([s.inject(a.TYPES.LayoutRegistry),r("design:type",f)],e.prototype,"layoutRegistry",void 0),o([s.inject(a.TYPES.ILogger),r("design:type",Object)],e.prototype,"logger",void 0),e=o([s.injectable()],e),e}();t.Layouter=m;var g=function(){function e(e,t,n){var i=this;this.element2boundsData=e,this.layoutRegistry=t,this.log=n,this.toBeLayouted=[],e.forEach(function(e,t){u.isLayoutContainer(t)&&i.toBeLayouted.push(t)})}return e.prototype.getBoundsData=function(e){var t=this.element2boundsData.get(e),n=e.bounds;return u.isLayoutContainer(e)&&this.toBeLayouted.indexOf(e)>=0&&(n=this.doLayout(e)),t||(t={bounds:n,boundsChanged:!1,alignmentChanged:!1},this.element2boundsData.set(e,t)),t},e.prototype.layout=function(){while(this.toBeLayouted.length>0){var e=this.toBeLayouted[0];this.doLayout(e)}},e.prototype.doLayout=function(e){var t=this.toBeLayouted.indexOf(e);t>=0&&this.toBeLayouted.splice(t,1);var n=this.layoutRegistry.get(e.layout);n&&n.layout(e,this);var i=this.element2boundsData.get(e);return void 0!==i&&void 0!==i.bounds?i.bounds:(this.log.error(e,"Layout failed"),l.EMPTY_BOUNDS)},e}();t.StatefulLayouter=g},"33b2":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),c=n("6923"),l=n("dd02"),u=n("3a92"),d=n("9757"),h=n("fba3"),p=function(){function e(){}return e.prototype.decorate=function(e,t){return t instanceof u.SModelRoot&&!l.isValidDimension(t.canvasBounds)&&(this.rootAndVnode=[t,e]),e},e.prototype.postUpdate=function(){if(void 0!==this.rootAndVnode){var e=this.rootAndVnode[1].elm,t=this.rootAndVnode[0].canvasBounds;if(void 0!==e){var n=this.getBoundsInPage(e);l.almostEquals(n.x,t.x)&&l.almostEquals(n.y,t.y)&&l.almostEquals(n.width,t.width)&&l.almostEquals(n.height,t.width)||this.actionDispatcher.dispatch(new f(n))}this.rootAndVnode=void 0}},e.prototype.getBoundsInPage=function(e){var t=e.getBoundingClientRect(),n=h.getWindowScroll();return{x:t.left+n.x,y:t.top+n.y,width:t.width,height:t.height}},o([a.inject(c.TYPES.IActionDispatcher),r("design:type",Object)],e.prototype,"actionDispatcher",void 0),e=o([a.injectable()],e),e}();t.CanvasBoundsInitializer=p;var f=function(){function e(t){this.newCanvasBounds=t,this.kind=e.KIND}return e.KIND="initializeCanvasBounds",e}();t.InitializeCanvasBoundsAction=f;var m=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){return this.newCanvasBounds=this.action.newCanvasBounds,e.root.canvasBounds=this.newCanvasBounds,e.root},t.prototype.undo=function(e){return e.root},t.prototype.redo=function(e){return e.root},t.KIND=f.KIND,t=o([a.injectable(),s(0,a.inject(c.TYPES.Action)),r("design:paramtypes",[f])],t),t}(d.SystemCommand);t.InitializeCanvasBoundsCommand=m},"34eb":function(e,t,n){(function(i){function o(){return!("undefined"===typeof window||!window.process||"renderer"!==window.process.type)||("undefined"!==typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!==typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function r(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),n){var i="color: "+this.color;e.splice(1,0,i,"color: inherit");var o=0,r=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(r=o))}),e.splice(r,0,i)}}function s(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function a(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}function c(){var e;try{e=t.storage.debug}catch(e){}return!e&&"undefined"!==typeof i&&"env"in i&&(e=Object({NODE_ENV:"production",CLIENT:!0,SERVER:!1,DEV:!1,PROD:!0,THEME:"mat",MODE:"spa",WS_BASE_URL:"",STOMP_CLIENT_DEBUG:!1,KEXPLORER_DEBUG:!1,ROUTER_BASE:"/modeler/ui",WEB_BASE_URL:"https://integratedmodelling.org",PACKAGE_VERSION:"0.22.0",PACKAGE_BUILD:"",ENGINE_URL:"/modeler",ENGINE_SHARED:"/modeler/shared/",ENGINE_LOGIN:"/modeler",API:"/modeler/api/v2",WS_URL:"/modeler/message",WS_SUBSCRIBE:"/message",WS_MESSAGE_DESTINATION:"/klab/message",REST_UPLOAD_MAX_SIZE:"1024MB",SEARCH_TIMEOUT_MS:"4000",VUE_ROUTER_MODE:"hash",VUE_ROUTER_BASE:"",APP_URL:"undefined"}).DEBUG),e}function l(){try{return window.localStorage}catch(e){}}t=e.exports=n("96fe"),t.log=s,t.formatArgs=r,t.save=a,t.load=c,t.useColors=o,t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:l(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(c())}).call(this,n("4362"))},3585:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("3a92"),r=n("dd02"),s=n("66f9"),a=n("1978"),c=n("4c18"),l=n("e4f0"),u=n("a0af"),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.routingPoints=[],t}return i(t,e),Object.defineProperty(t.prototype,"source",{get:function(){return this.index.getById(this.sourceId)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"target",{get:function(){return this.index.getById(this.targetId)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bounds",{get:function(){return this.routingPoints.reduce(function(e,t){return r.combine(e,{x:t.x,y:t.y,width:0,height:0})},r.EMPTY_BOUNDS)},enumerable:!0,configurable:!0}),t}(o.SChildElement);function h(e){return e.hasFeature(t.connectableFeature)&&e.canConnect}function p(e,t){void 0===t&&(t=e.routingPoints);var n=f(t),i=e;while(i instanceof o.SChildElement){var r=i.parent;n=r.localToParent(n),i=r}return n}function f(e){for(var t={x:NaN,y:NaN,width:0,height:0},n=0,i=e;nt.x+t.width&&(t.width=o.x-t.x),o.yt.y+t.height&&(t.height=o.y-t.y))}return t}t.SRoutableElement=d,t.connectableFeature=Symbol("connectableFeature"),t.isConnectable=h,t.getAbsoluteRouteBounds=p,t.getRouteBounds=f;var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.strokeWidth=0,t}return i(t,e),Object.defineProperty(t.prototype,"incomingEdges",{get:function(){return this.index.getIncomingEdges(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outgoingEdges",{get:function(){return this.index.getOutgoingEdges(this)},enumerable:!0,configurable:!0}),t.prototype.canConnect=function(e,t){return!0},t}(s.SShapeElement);t.SConnectableElement=m;var g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.editMode=!1,t.hoverFeedback=!1,t.selected=!1,t}return i(t,e),t.prototype.hasFeature=function(e){return-1!==t.DEFAULT_FEATURES.indexOf(e)},t.DEFAULT_FEATURES=[c.selectFeature,u.moveFeature,l.hoverFeedbackFeature],t}(o.SChildElement);t.SRoutingHandle=g;var v=function(e){function t(){var t=e.call(this)||this;return t.type="dangling-anchor",t.size={width:0,height:0},t}return i(t,e),t.DEFAULT_FEATURES=[a.deletableFeature],t}(m);t.SDanglingAnchor=v,t.edgeInProgressID="edge-in-progress",t.edgeInProgressTargetHandleID=t.edgeInProgressID+"-target-anchor"},"359b":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var o=n("393a"),r=n("e45b"),s=n("e1c6"),a=function(){function e(){}return e.prototype.render=function(e,t){for(var n=o.html("div",null,t.renderChildren(e)),i=0,s=e.classes;i=0?e.type.substring(0,t):e.type}function a(e){if(!e.type)return"";var t=e.type.indexOf(":");return t>=0?e.type.substring(t+1):e.type}function c(e,t){if(e.id===t)return e;if(void 0!==e.children)for(var n=0,i=e.children;n=0;r--)e=i[r].parentToLocal(e)}return e}function h(e,t,n){var i=d(e,t,n),o=d({x:e.x+e.width,y:e.y+e.height},t,n);return{x:i.x,y:i.y,width:o.x-i.x,height:o.y-i.y}}t.registerModelElement=r,t.getBasicType=s,t.getSubType=a,t.findElement=c,t.findParent=l,t.findParentByFeature=u,t.translatePoint=d,t.translateBounds=h},3672:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("842c"),s=n("be02"),a=n("064a"),c=n("3585"),l=n("218d"),u=n("1978"),d=n("cd26"),h=n("1254"),p=n("a5f4"),f=n("61d8");t.edgeEditModule=new i.ContainerModule(function(e,t,n){var i={bind:e,isBound:n};r.configureCommand(i,p.SwitchEditModeCommand),r.configureCommand(i,f.ReconnectCommand),r.configureCommand(i,u.DeleteElementCommand),a.configureModelElement(i,"dangling-anchor",c.SDanglingAnchor,l.EmptyGroupView)}),t.labelEditModule=new i.ContainerModule(function(e,t,n){e(o.TYPES.MouseListener).to(d.EditLabelMouseListener),e(o.TYPES.KeyListener).to(d.EditLabelKeyListener),r.configureCommand({bind:e,isBound:n},d.ApplyLabelEditCommand)}),t.labelEditUiModule=new i.ContainerModule(function(e,t,n){var i={bind:e,isBound:n};s.configureActionHandler(i,d.EditLabelAction.KIND,h.EditLabelActionHandler),e(h.EditLabelUI).toSelf().inSingletonScope(),e(o.TYPES.IUIExtension).toService(h.EditLabelUI)})},"36e4":function(e,t,n){},"37a9":function(e,t,n){"use strict";var i=n("ddfc"),o=n.n(i);o.a},3864:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var o=n("e1c6"),r=function(){function e(){this.elements=new Map}return e.prototype.register=function(e,t){if(void 0===e)throw new Error("Key is undefined");if(this.hasKey(e))throw new Error("Key is already registered: "+e);this.elements.set(e,t)},e.prototype.deregister=function(e){if(void 0===e)throw new Error("Key is undefined");this.elements.delete(e)},e.prototype.hasKey=function(e){return this.elements.has(e)},e.prototype.get=function(e,t){var n=this.elements.get(e);return n?new n(t):this.missing(e,t)},e.prototype.missing=function(e,t){throw new Error("Unknown registry key: "+e)},e=i([o.injectable()],e),e}();t.ProviderRegistry=r;var s=function(){function e(){this.elements=new Map}return e.prototype.register=function(e,t){if(void 0===e)throw new Error("Key is undefined");if(this.hasKey(e))throw new Error("Key is already registered: "+e);this.elements.set(e,t)},e.prototype.deregister=function(e){if(void 0===e)throw new Error("Key is undefined");this.elements.delete(e)},e.prototype.hasKey=function(e){return this.elements.has(e)},e.prototype.get=function(e,t){var n=this.elements.get(e);return n?n(t):this.missing(e,t)},e.prototype.missing=function(e,t){throw new Error("Unknown registry key: "+e)},e=i([o.injectable()],e),e}();t.FactoryRegistry=s;var a=function(){function e(){this.elements=new Map}return e.prototype.register=function(e,t){if(void 0===e)throw new Error("Key is undefined");if(this.hasKey(e))throw new Error("Key is already registered: "+e);this.elements.set(e,t)},e.prototype.deregister=function(e){if(void 0===e)throw new Error("Key is undefined");this.elements.delete(e)},e.prototype.hasKey=function(e){return this.elements.has(e)},e.prototype.get=function(e){var t=this.elements.get(e);return t||this.missing(e)},e.prototype.missing=function(e){throw new Error("Unknown registry key: "+e)},e=i([o.injectable()],e),e}();t.InstanceRegistry=a;var c=function(){function e(){this.elements=new Map}return e.prototype.register=function(e,t){if(void 0===e)throw new Error("Key is undefined");var n=this.elements.get(e);void 0!==n?n.push(t):this.elements.set(e,[t])},e.prototype.deregisterAll=function(e){if(void 0===e)throw new Error("Key is undefined");this.elements.delete(e)},e.prototype.get=function(e){var t=this.elements.get(e);return void 0!==t?t:[]},e=i([o.injectable()],e),e}();t.MultiInstanceRegistry=c},"38e8":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("66f9"),r=n("7d36"),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.enabled=!0,t}return i(t,e),t.DEFAULT_FEATURES=[o.boundsFeature,o.layoutableChildFeature,r.fadeFeature],t}(o.SShapeElement);t.SButton=s},"393a":function(e,t,n){"use strict";var i="http://www.w3.org/2000/svg",o=["hook","on","style","class","props","attrs","dataset"],r=Array.prototype.slice;function s(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||null===e||void 0===e}function a(e,t,n,i){for(var o={ns:t},r=0,s=i.length;r0?u(c.slice(0,l),c.slice(l+1),e[c]):o[c]||u(n,c,e[c])}return o;function u(e,t,n){var i=o[e]||(o[e]={});i[t]=n}}function c(e,t,n,i,o,r){if(o.selector&&(i+=o.selector),o.classNames){var c=o.classNames;i=i+"."+(Array.isArray(c)?c.join("."):c.replace(/\s+/g,"."))}return{sel:i,data:a(o,e,t,n),children:r.map(function(e){return s(e)?{text:e}:e}),key:o.key}}function l(e,t,n,i,o,r){var s;if("function"===typeof i)s=i(o,r);else if(i&&"function"===typeof i.view)s=i.view(o,r);else{if(!i||"function"!==typeof i.render)throw"JSX tag must be either a string, a function or an object with 'view' or 'render' methods";s=i.render(o,r)}return s.key=o.key,s}function u(e,t,n){for(var i=t,o=e.length;i3||!Array.isArray(a))&&(a=r.call(arguments,2)),h(e,t||"props",n||o,i,s,a)}}e.exports={html:p(void 0),svg:p(i,"attrs"),JSX:p}},"3a7c":function(e,t,n){(function(e){function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function i(e){return"boolean"===typeof e}function o(e){return null===e}function r(e){return null==e}function s(e){return"number"===typeof e}function a(e){return"string"===typeof e}function c(e){return"symbol"===typeof e}function l(e){return void 0===e}function u(e){return"[object RegExp]"===g(e)}function d(e){return"object"===typeof e&&null!==e}function h(e){return"[object Date]"===g(e)}function p(e){return"[object Error]"===g(e)||e instanceof Error}function f(e){return"function"===typeof e}function m(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function g(e){return Object.prototype.toString.call(e)}t.isArray=n,t.isBoolean=i,t.isNull=o,t.isNullOrUndefined=r,t.isNumber=s,t.isString=a,t.isSymbol=c,t.isUndefined=l,t.isRegExp=u,t.isObject=d,t.isDate=h,t.isError=p,t.isFunction=f,t.isPrimitive=m,t.isBuffer=e.isBuffer}).call(this,n("b639").Buffer)},"3a92":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("dd02"),r=n("e629"),s=function(){function e(){}return Object.defineProperty(e.prototype,"root",{get:function(){var e=this;while(e){if(e instanceof u)return e;e=e instanceof l?e.parent:void 0}throw new Error("Element has no root")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"index",{get:function(){return this.root.index},enumerable:!0,configurable:!0}),e.prototype.hasFeature=function(e){return void 0!==this.features&&this.features.has(e)},e}();function a(e){var t=e.children;return void 0!==t&&t.constructor===Array}t.SModelElement=s,t.isParent=a;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.children=[],t}return i(t,e),t.prototype.add=function(e,t){var n=this.children;if(void 0===t)n.push(e);else{if(t<0||t>this.children.length)throw new Error("Child index "+t+" out of bounds (0.."+n.length+")");n.splice(t,0,e)}e.parent=this,this.index.add(e)},t.prototype.remove=function(e){var t=this.children,n=t.indexOf(e);if(n<0)throw new Error("No such child "+e.id);t.splice(n,1),delete e.parent,this.index.remove(e)},t.prototype.removeAll=function(e){var t=this,n=this.children;if(void 0!==e){for(var i=n.length-1;i>=0;i--)if(e(n[i])){var o=n.splice(i,1)[0];delete o.parent,this.index.remove(o)}}else n.forEach(function(e){delete e.parent,t.index.remove(e)}),n.splice(0,n.length)},t.prototype.move=function(e,t){var n=this.children,i=n.indexOf(e);if(-1===i)throw new Error("No such child "+e.id);if(t<0||t>n.length-1)throw new Error("Child index "+t+" out of bounds (0.."+n.length+")");n.splice(i,1),n.splice(t,0,e)},t.prototype.localToParent=function(e){return o.isBounds(e)?e:{x:e.x,y:e.y,width:-1,height:-1}},t.prototype.parentToLocal=function(e){return o.isBounds(e)?e:{x:e.x,y:e.y,width:-1,height:-1}},t}(s);t.SParentElement=c;var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(c);t.SChildElement=l;var u=function(e){function t(t){void 0===t&&(t=new p);var n=e.call(this)||this;return n.canvasBounds=o.EMPTY_BOUNDS,Object.defineProperty(n,"index",{value:t,writable:!1}),n}return i(t,e),t}(c);t.SModelRoot=u;var d="0123456789abcdefghijklmnopqrstuvwxyz";function h(e){void 0===e&&(e=8);for(var t="",n=0;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),c=n("6923"),l=n("3a92"),u=n("9757"),d=n("3585"),h=function(){function e(t){this.elementIDs=t,this.kind=e.KIND}return e.KIND="bringToFront",e}();t.BringToFrontAction=h;var p=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n.selected=[],n}return i(t,e),t.prototype.execute=function(e){var t=this,n=e.root;return this.action.elementIDs.forEach(function(e){var i=n.index.getById(e);i instanceof d.SRoutableElement&&(i.source&&t.addToSelection(i.source),i.target&&t.addToSelection(i.target)),i instanceof l.SChildElement&&t.addToSelection(i),t.includeConnectedEdges(i)}),this.redo(e)},t.prototype.includeConnectedEdges=function(e){var t=this;if(e instanceof d.SConnectableElement&&(e.incomingEdges.forEach(function(e){return t.addToSelection(e)}),e.outgoingEdges.forEach(function(e){return t.addToSelection(e)})),e instanceof l.SParentElement)for(var n=0,i=e.children;n=0;t--){var n=this.selected[t],i=n.element;i.parent.move(i,n.index)}return e.root},t.prototype.redo=function(e){for(var t=0;t=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),c=n("510b"),l=n("3a92"),u=n("6923"),d=n("0d7a"),h=n("e45b"),p=function(){function e(e){void 0===e&&(e=[]),this.mouseListeners=e}return e.prototype.register=function(e){this.mouseListeners.push(e)},e.prototype.deregister=function(e){var t=this.mouseListeners.indexOf(e);t>=0&&this.mouseListeners.splice(t,1)},e.prototype.getTargetElement=function(e,t){var n=t.target,i=e.index;while(n){if(n.id){var o=i.getById(this.domHelper.findSModelIdByDOMElement(n));if(void 0!==o)return o}n=n.parentNode}},e.prototype.handleEvent=function(e,t,n){var i=this;this.focusOnMouseEvent(e,t);var o=this.getTargetElement(t,n);if(o){var r=this.mouseListeners.map(function(t){return t[e].apply(t,[o,n])}).reduce(function(e,t){return e.concat(t)});if(r.length>0){n.preventDefault();for(var s=0,a=r;s=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},a=this&&this.__awaiter||function(e,t,n,i){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,r){function s(e){try{c(i.next(e))}catch(e){r(e)}}function a(e){try{c(i["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):o(e.value).then(s,a)}c((i=i.apply(e,t||[])).next())})},c=this&&this.__generator||function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(e){return function(t){return c([e,t])}}function c(r){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(o=2&r[0]?i["return"]:r[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(o=s.trys,!(o=o.length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),c=n("510b"),l=n("9757"),u=n("6923"),d=n("33b2"),h=function(){function e(t,n){void 0===n&&(n=""),this.options=t,this.requestId=n,this.kind=e.KIND}return e.create=function(t){return new e(t,c.generateRequestId())},e.KIND="requestModel",e}();t.RequestModelAction=h;var p=function(){function e(t,n){void 0===n&&(n=""),this.newRoot=t,this.responseId=n,this.kind=e.KIND}return e.KIND="setModel",e}();t.SetModelAction=p;var f=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){return this.oldRoot=e.modelFactory.createRoot(e.root),this.newRoot=e.modelFactory.createRoot(this.action.newRoot),this.newRoot},t.prototype.undo=function(e){return this.oldRoot},t.prototype.redo=function(e){return this.newRoot},Object.defineProperty(t.prototype,"blockUntil",{get:function(){return function(e){return e.kind===d.InitializeCanvasBoundsCommand.KIND}},enumerable:!0,configurable:!0}),t.KIND=p.KIND,t=o([a.injectable(),s(0,a.inject(u.TYPES.Action)),r("design:paramtypes",[p])],t),t}(l.ResetCommand);t.SetModelCommand=f},4047:function(e,t){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},"429b":function(e,t,n){e.exports=n("faa1").EventEmitter},"42be":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),c=n("9757"),l=n("6923"),u=n("26ad"),d=function(){function e(){this.kind=h.KIND}return e}();t.CommitModelAction=d;var h=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){return this.newModel=e.modelFactory.createSchema(e.root),this.doCommit(this.newModel,e.root,!0)},t.prototype.doCommit=function(e,t,n){var i=this,o=this.modelSource.commitModel(e);return o instanceof Promise?o.then(function(e){return n&&(i.originalModel=e),t}):(n&&(this.originalModel=o),t)},t.prototype.undo=function(e){return this.doCommit(this.originalModel,e.root,!1)},t.prototype.redo=function(e){return this.doCommit(this.newModel,e.root,!1)},t.KIND="commitModel",o([a.inject(l.TYPES.ModelSource),r("design:type",u.ModelSource)],t.prototype,"modelSource",void 0),t=o([a.injectable(),s(0,a.inject(l.TYPES.Action)),r("design:paramtypes",[d])],t),t}(c.SystemCommand);t.CommitModelCommand=h},"42d6":function(e,t,n){"use strict";function i(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n("510b")),i(n("0fb6")),i(n("be02")),i(n("c661")),i(n("538c")),i(n("c146")),i(n("987d")),i(n("9757")),i(n("842c")),i(n("5e9c")),i(n("160b")),i(n("33b2")),i(n("3f0a")),i(n("302f")),i(n("3623")),i(n("3a92")),i(n("ddee")),i(n("1590")),i(n("6176")),i(n("4c95c")),i(n("1417")),i(n("3b4c")),i(n("8d53")),i(n("064a")),i(n("8794")),i(n("65d1")),i(n("29fa")),i(n("a190")),i(n("e45b")),i(n("6923"));var o=n("8122");t.defaultModule=o.default,i(n("42f7")),i(n("61bf")),i(n("320b")),i(n("66f9")),i(n("da84")),i(n("4b75")),i(n("ac2a")),i(n("8e97")),i(n("70d9")),i(n("38e8")),i(n("a406")),i(n("0a28")),i(n("80b5")),i(n("1cc1")),i(n("3c83")),i(n("1e31")),i(n("9d6c")),i(n("779b")),i(n("ac57")),i(n("ea38")),i(n("3672")),i(n("1978")),i(n("cd26")),i(n("1254")),i(n("a5f4")),i(n("cc26")),i(n("61d8")),i(n("4741")),i(n("9964")),i(n("19b5")),i(n("1cd9")),i(n("7faf")),i(n("5d19")),i(n("e7fa")),i(n("7d36")),i(n("f4cb")),i(n("e4f0")),i(n("7f73")),i(n("755f")),i(n("e576")),i(n("a0af")),i(n("559d")),i(n("af44")),i(n("e1cb")),i(n("b485")),i(n("1f89")),i(n("869e")),i(n("b7b8")),i(n("9a1f")),i(n("46cc")),i(n("3585")),i(n("ab71")),i(n("d8f5")),i(n("168d")),i(n("8d9d")),i(n("4c18")),i(n("bcbd")),i(n("c20e")),i(n("d084")),i(n("cf61")),i(n("ed4f")),i(n("5eb6")),i(n("cf98")),i(n("3b62")),i(n("c444")),i(n("fe37")),i(n("3ada"));var r=n("5530");t.graphModule=r.default;var s=n("72dd");t.boundsModule=s.default;var a=n("54f8");t.buttonModule=a.default;var c=n("d14a");t.commandPaletteModule=c.default;var l=n("5884");t.contextMenuModule=l.default;var u=n("7bae3");t.decorationModule=u.default;var d=n("1e31");t.edgeLayoutModule=d.default;var h=n("04c2");t.expandModule=h.default;var p=n("9f8d");t.exportModule=p.default;var f=n("9811");t.fadeModule=f.default;var m=n("c95e");t.hoverModule=m.default;var g=n("520d");t.moveModule=g.default;var v=n("0483");t.openModule=v.default;var b=n("b7ca");t.routingModule=b.default;var y=n("c4e6");t.selectModule=y.default;var _=n("3b74");t.undoRedoModule=_.default;var M=n("cc3e");t.updateModule=M.default;var w=n("1e19");t.viewportModule=w.default;var C=n("6f35");t.zorderModule=C.default,i(n("dfc0")),i(n("47b7")),i(n("6bb9")),i(n("44c1")),i(n("9ad4")),i(n("359b")),i(n("87fa")),i(n("218d")),i(n("42be")),i(n("945d")),i(n("cb6e")),i(n("85ed")),i(n("26ad")),i(n("484b"));var S=n("8e65");t.modelSourceModule=S.default,i(n("fba3")),i(n("0be1")),i(n("dd02")),i(n("7b39")),i(n("9e2e")),i(n("3864"))},"42f7":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var c=n("e1c6"),l=n("510b"),u=n("9757"),d=n("6923"),h=n("66f9"),p=function(){function e(t){this.bounds=t,this.kind=e.KIND}return e.KIND="setBounds",e}();t.SetBoundsAction=p;var f=function(){function e(t,n){void 0===n&&(n=""),this.newRoot=t,this.requestId=n,this.kind=e.KIND}return e.create=function(t){return new e(t,l.generateRequestId())},e.KIND="requestBounds",e}();t.RequestBoundsAction=f;var m=function(){function e(t,n,i,o){void 0===o&&(o=""),this.bounds=t,this.revision=n,this.alignments=i,this.responseId=o,this.kind=e.KIND}return e.KIND="computedBounds",e}();t.ComputedBoundsAction=m;var g=function(){function e(){this.kind=e.KIND}return e.KIND="layout",e}();t.LayoutAction=g;var v=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n.bounds=[],n}return i(t,e),t.prototype.execute=function(e){var t=this;return this.action.bounds.forEach(function(n){var i=e.root.index.getById(n.elementId);i&&h.isBoundsAware(i)&&t.bounds.push({element:i,oldBounds:i.bounds,newPosition:n.newPosition,newSize:n.newSize})}),this.redo(e)},t.prototype.undo=function(e){return this.bounds.forEach(function(e){return e.element.bounds=e.oldBounds}),e.root},t.prototype.redo=function(e){return this.bounds.forEach(function(e){e.newPosition?e.element.bounds=o(o({},e.newPosition),e.newSize):e.element.bounds=o({x:e.element.bounds.x,y:e.element.bounds.y},e.newSize)}),e.root},t.KIND=p.KIND,t=r([c.injectable(),a(0,c.inject(d.TYPES.Action)),s("design:paramtypes",[p])],t),t}(u.SystemCommand);t.SetBoundsCommand=v;var b=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){return{model:e.modelFactory.createRoot(this.action.newRoot),modelChanged:!0,cause:this.action}},Object.defineProperty(t.prototype,"blockUntil",{get:function(){return function(e){return e.kind===m.KIND}},enumerable:!0,configurable:!0}),t.KIND=f.KIND,t=r([c.injectable(),a(0,c.inject(d.TYPES.Action)),s("design:paramtypes",[f])],t),t}(u.HiddenCommand);t.RequestBoundsCommand=b},"44c1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("8122"),o=n("8e65"),r=n("72dd"),s=n("54f8"),a=n("d14a"),c=n("5884"),l=n("7bae3"),u=n("1e31"),d=n("3672"),h=n("04c2"),p=n("9f8d"),f=n("9811"),m=n("c95e"),g=n("520d"),v=n("0483"),b=n("b7ca"),y=n("c4e6"),_=n("3b74"),M=n("cc3e"),w=n("1e19"),C=n("6f35");function S(e,t){var n=[i.default,o.default,r.default,s.default,a.default,c.default,l.default,d.edgeEditModule,u.default,h.default,p.default,f.default,m.default,d.labelEditModule,d.labelEditUiModule,g.default,v.default,b.default,y.default,_.default,M.default,w.default,C.default];if(t&&t.exclude)for(var S=0,A=t.exclude;S=0&&n.splice(O,1)}e.load.apply(e,n)}t.loadDefaultModules=S},"451f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("c5f4"),o=n("1979"),r=function(e,t){var n=e.parentRequest;return null!==n&&(!!t(n)||r(n,t))};t.traverseAncerstors=r;var s=function(e){return function(t){var n=function(n){return null!==n&&null!==n.target&&n.target.matchesTag(e)(t)};return n.metaData=new o.Metadata(e,t),n}};t.taggedConstraint=s;var a=s(i.NAMED_TAG);t.namedConstraint=a;var c=function(e){return function(t){var n=null;if(null!==t){if(n=t.bindings[0],"string"===typeof e){var i=n.serviceIdentifier;return i===e}var o=t.bindings[0].implementationType;return e===o}return!1}};t.typeConstraint=c},4681:function(e,t,n){"use strict";var i=n("966d");function o(e,t){var n=this,o=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return o||r?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||i.nextTick(s,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(i.nextTick(s,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)}),this)}function r(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function s(e,t){e.emit("error",t)}e.exports={destroy:o,undestroy:r}},"46cc":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0){var i=e.routingPoints.slice();if(this.cleanupRoutingPoints(e,i,!1,!0),i.length>0)return i.map(function(e,t){return o({kind:"linear",pointIndex:t},e)})}var r=this.getOptions(e),s=this.calculateDefaultCorners(e,t,n,r);return s.map(function(e){return o({kind:"linear"},e)})},t.prototype.createRoutingHandles=function(e){var t=this.route(e);if(this.commitRoute(e,t),t.length>0){this.addHandle(e,"source","routing-point",-2);for(var n=0;n0&&Math.abs(n-e[t-1].x)=0&&t0&&Math.abs(n-e[t-1].y)=0&&t=0;--c){if(!s.includes(r.bounds,t[c]))break;t.splice(c,1),n&&this.removeHandle(e,c)}if(t.length>=2){var l=this.getOptions(e);for(c=t.length-2;c>=0;--c)s.manhattanDistance(t[c],t[c+1])t?--e.pointIndex:e.pointIndex===t&&n.push(e))}),n.forEach(function(t){return e.remove(t)})},t.prototype.addAdditionalCorner=function(e,t,n,i,o){if(0!==t.length){var r,l="source"===n.kind?t[0]:t[t.length-1],u="source"===n.kind?0:t.length,d=u-("source"===n.kind?1:0);if(t.length>1)r=0===u?s.almostEquals(t[0].x,t[1].x):s.almostEquals(t[t.length-1].x,t[t.length-2].x);else{var h=i.getNearestSide(l);r=h===a.Side.TOP||h===a.Side.BOTTOM}if(r){if(l.yn.get(a.Side.BOTTOM).y){var p={x:n.get(a.Side.TOP).x,y:l.y};t.splice(u,0,p),o&&(e.children.forEach(function(e){e instanceof c.SRoutingHandle&&e.pointIndex>=d&&++e.pointIndex}),this.addHandle(e,"manhattan-50%","volatile-routing-point",d))}}else if(l.xn.get(a.Side.RIGHT).x){p={x:l.x,y:n.get(a.Side.LEFT).y};t.splice(u,0,p),o&&(e.children.forEach(function(e){e instanceof c.SRoutingHandle&&e.pointIndex>=d&&++e.pointIndex}),this.addHandle(e,"manhattan-50%","volatile-routing-point",d))}}},t.prototype.manhattanify=function(e,t){for(var n=1;n0)return r;var s=this.getBestConnectionAnchors(t,n,i,o),c=s.source,l=s.target,u=[],d=n.get(c),h=i.get(l);switch(c){case a.Side.RIGHT:switch(l){case a.Side.BOTTOM:u.push({x:h.x,y:d.y});break;case a.Side.TOP:u.push({x:h.x,y:d.y});break;case a.Side.RIGHT:u.push({x:Math.max(d.x,h.x)+1.5*o.standardDistance,y:d.y}),u.push({x:Math.max(d.x,h.x)+1.5*o.standardDistance,y:h.y});break;case a.Side.LEFT:h.y!==d.y&&(u.push({x:(d.x+h.x)/2,y:d.y}),u.push({x:(d.x+h.x)/2,y:h.y}));break}break;case a.Side.LEFT:switch(l){case a.Side.BOTTOM:u.push({x:h.x,y:d.y});break;case a.Side.TOP:u.push({x:h.x,y:d.y});break;default:h=i.get(a.Side.RIGHT),h.y!==d.y&&(u.push({x:(d.x+h.x)/2,y:d.y}),u.push({x:(d.x+h.x)/2,y:h.y}));break}break;case a.Side.TOP:switch(l){case a.Side.RIGHT:h.x-d.x>0?(u.push({x:d.x,y:d.y-o.standardDistance}),u.push({x:h.x+1.5*o.standardDistance,y:d.y-o.standardDistance}),u.push({x:h.x+1.5*o.standardDistance,y:h.y})):u.push({x:d.x,y:h.y});break;case a.Side.LEFT:h.x-d.x<0?(u.push({x:d.x,y:d.y-o.standardDistance}),u.push({x:h.x-1.5*o.standardDistance,y:d.y-o.standardDistance}),u.push({x:h.x-1.5*o.standardDistance,y:h.y})):u.push({x:d.x,y:h.y});break;case a.Side.TOP:u.push({x:d.x,y:Math.min(d.y,h.y)-1.5*o.standardDistance}),u.push({x:h.x,y:Math.min(d.y,h.y)-1.5*o.standardDistance});break;case a.Side.BOTTOM:h.x!==d.x&&(u.push({x:d.x,y:(d.y+h.y)/2}),u.push({x:h.x,y:(d.y+h.y)/2}));break}break;case a.Side.BOTTOM:switch(l){case a.Side.RIGHT:h.x-d.x>0?(u.push({x:d.x,y:d.y+o.standardDistance}),u.push({x:h.x+1.5*o.standardDistance,y:d.y+o.standardDistance}),u.push({x:h.x+1.5*o.standardDistance,y:h.y})):u.push({x:d.x,y:h.y});break;case a.Side.LEFT:h.x-d.x<0?(u.push({x:d.x,y:d.y+o.standardDistance}),u.push({x:h.x-1.5*o.standardDistance,y:d.y+o.standardDistance}),u.push({x:h.x-1.5*o.standardDistance,y:h.y})):u.push({x:d.x,y:h.y});break;default:h=i.get(a.Side.TOP),h.x!==d.x&&(u.push({x:d.x,y:(d.y+h.y)/2}),u.push({x:h.x,y:(d.y+h.y)/2}));break}break}return u},t.prototype.getBestConnectionAnchors=function(e,t,n,i){var o=t.get(a.Side.RIGHT),r=n.get(a.Side.LEFT);if(r.x-o.x>i.standardDistance)return{source:a.Side.RIGHT,target:a.Side.LEFT};if(o=t.get(a.Side.LEFT),r=n.get(a.Side.RIGHT),o.x-r.x>i.standardDistance)return{source:a.Side.LEFT,target:a.Side.RIGHT};if(o=t.get(a.Side.TOP),r=n.get(a.Side.BOTTOM),o.y-r.y>i.standardDistance)return{source:a.Side.TOP,target:a.Side.BOTTOM};if(o=t.get(a.Side.BOTTOM),r=n.get(a.Side.TOP),r.y-o.y>i.standardDistance)return{source:a.Side.BOTTOM,target:a.Side.TOP};if(o=t.get(a.Side.RIGHT),r=n.get(a.Side.TOP),r.x-o.x>.5*i.standardDistance&&r.y-o.y>i.standardDistance)return{source:a.Side.RIGHT,target:a.Side.TOP};if(r=n.get(a.Side.BOTTOM),r.x-o.x>.5*i.standardDistance&&o.y-r.y>i.standardDistance)return{source:a.Side.RIGHT,target:a.Side.BOTTOM};if(o=t.get(a.Side.LEFT),r=n.get(a.Side.BOTTOM),o.x-r.x>.5*i.standardDistance&&o.y-r.y>i.standardDistance)return{source:a.Side.LEFT,target:a.Side.BOTTOM};if(r=n.get(a.Side.TOP),o.x-r.x>.5*i.standardDistance&&r.y-o.y>i.standardDistance)return{source:a.Side.LEFT,target:a.Side.TOP};if(o=t.get(a.Side.TOP),r=n.get(a.Side.RIGHT),o.y-r.y>.5*i.standardDistance&&o.x-r.x>i.standardDistance)return{source:a.Side.TOP,target:a.Side.RIGHT};if(r=n.get(a.Side.LEFT),o.y-r.y>.5*i.standardDistance&&r.x-o.x>i.standardDistance)return{source:a.Side.TOP,target:a.Side.LEFT};if(o=t.get(a.Side.BOTTOM),r=n.get(a.Side.RIGHT),r.y-o.y>.5*i.standardDistance&&o.x-r.x>i.standardDistance)return{source:a.Side.BOTTOM,target:a.Side.RIGHT};if(r=n.get(a.Side.LEFT),r.y-o.y>.5*i.standardDistance&&r.x-o.x>i.standardDistance)return{source:a.Side.BOTTOM,target:a.Side.LEFT};if(o=t.get(a.Side.TOP),r=n.get(a.Side.TOP),!s.includes(n.bounds,o)&&!s.includes(t.bounds,r))if(o.y-r.y<0){if(Math.abs(o.x-r.x)>(t.bounds.width+i.standardDistance)/2)return{source:a.Side.TOP,target:a.Side.TOP}}else if(Math.abs(o.x-r.x)>n.bounds.width/2)return{source:a.Side.TOP,target:a.Side.TOP};if(o=t.get(a.Side.RIGHT),r=n.get(a.Side.RIGHT),!s.includes(n.bounds,o)&&!s.includes(t.bounds,r))if(o.x-r.x>0){if(Math.abs(o.y-r.y)>(t.bounds.height+i.standardDistance)/2)return{source:a.Side.RIGHT,target:a.Side.RIGHT}}else if(Math.abs(o.y-r.y)>n.bounds.height/2)return{source:a.Side.RIGHT,target:a.Side.RIGHT};return o=t.get(a.Side.TOP),r=n.get(a.Side.RIGHT),s.includes(n.bounds,o)||s.includes(t.bounds,r)?(r=n.get(a.Side.LEFT),s.includes(n.bounds,o)||s.includes(t.bounds,r)?(o=t.get(a.Side.BOTTOM),r=n.get(a.Side.RIGHT),s.includes(n.bounds,o)||s.includes(t.bounds,r)?(r=n.get(a.Side.LEFT),s.includes(n.bounds,o)||s.includes(t.bounds,r)?{source:a.Side.RIGHT,target:a.Side.BOTTOM}:{source:a.Side.BOTTOM,target:a.Side.LEFT}):{source:a.Side.BOTTOM,target:a.Side.RIGHT}):{source:a.Side.TOP,target:a.Side.LEFT}):{source:a.Side.TOP,target:a.Side.RIGHT}},t.KIND="manhattan",t}(a.LinearEdgeRouter);t.ManhattanEdgeRouter=l},4741:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var o=n("3623"),r=n("9964"),s=n("e1c6"),a=function(){function e(t,n){this.expandIds=t,this.collapseIds=n,this.kind=e.KIND}return e.KIND="collapseExpand",e}();t.CollapseExpandAction=a;var c=function(){function e(t){void 0===t&&(t=!0),this.expand=t,this.kind=e.KIND}return e.KIND="collapseExpandAll",e}();t.CollapseExpandAllAction=c;var l=function(){function e(){}return e.prototype.buttonPressed=function(e){var t=o.findParentByFeature(e,r.isExpandable);return void 0!==t?[new a(t.expanded?[]:[t.id],t.expanded?[t.id]:[])]:[]},e.TYPE="button:expand",e=i([s.injectable()],e),e}();t.ExpandButtonHandler=l},"47b7":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("3a92"),r=n("66f9"),s=n("779b"),a=n("1978"),c=n("cc26"),l=n("7d36"),u=n("e4f0"),d=n("a0af"),h=n("3585"),p=n("4c18"),f=n("3b62"),m=n("dd02"),g=n("e629"),v=function(e){function t(t){return void 0===t&&(t=new C),e.call(this,t)||this}return i(t,e),t}(f.ViewportRootElement);t.SGraph=v;var b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selected=!1,t.hoverFeedback=!1,t.opacity=1,t}return i(t,e),t.prototype.canConnect=function(e,t){return void 0===this.children.find(function(e){return e instanceof y})},t.DEFAULT_FEATURES=[h.connectableFeature,a.deletableFeature,p.selectFeature,r.boundsFeature,d.moveFeature,r.layoutContainerFeature,l.fadeFeature,u.hoverFeedbackFeature,u.popupFeature],t}(h.SConnectableElement);t.SNode=b;var y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selected=!1,t.hoverFeedback=!1,t.opacity=1,t}return i(t,e),t.DEFAULT_FEATURES=[h.connectableFeature,p.selectFeature,r.boundsFeature,l.fadeFeature,u.hoverFeedbackFeature],t}(h.SConnectableElement);t.SPort=y;var _=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selected=!1,t.hoverFeedback=!1,t.opacity=1,t}return i(t,e),t.DEFAULT_FEATURES=[c.editFeature,a.deletableFeature,p.selectFeature,l.fadeFeature,u.hoverFeedbackFeature],t}(h.SRoutableElement);t.SEdge=_;var M=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selected=!1,t.alignment=m.ORIGIN_POINT,t.opacity=1,t}return i(t,e),t.DEFAULT_FEATURES=[r.boundsFeature,r.alignFeature,r.layoutableChildFeature,s.edgeLayoutFeature,l.fadeFeature],t}(r.SShapeElement);t.SLabel=M;var w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.opacity=1,t}return i(t,e),t.DEFAULT_FEATURES=[r.boundsFeature,r.layoutContainerFeature,r.layoutableChildFeature,l.fadeFeature],t}(r.SShapeElement);t.SCompartment=w;var C=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.outgoing=new Map,t.incoming=new Map,t}return i(t,e),t.prototype.add=function(t){if(e.prototype.add.call(this,t),t instanceof _){if(t.sourceId){var n=this.outgoing.get(t.sourceId);void 0===n?this.outgoing.set(t.sourceId,[t]):n.push(t)}if(t.targetId){var i=this.incoming.get(t.targetId);void 0===i?this.incoming.set(t.targetId,[t]):i.push(t)}}},t.prototype.remove=function(t){if(e.prototype.remove.call(this,t),t instanceof _){var n=this.outgoing.get(t.sourceId);if(void 0!==n){var i=n.indexOf(t);i>=0&&(1===n.length?this.outgoing.delete(t.sourceId):n.splice(i,1))}var o=this.incoming.get(t.targetId);if(void 0!==o){i=o.indexOf(t);i>=0&&(1===o.length?this.incoming.delete(t.targetId):o.splice(i,1))}}},t.prototype.getAttachedElements=function(e){var t=this;return new g.FluentIterableImpl(function(){return{outgoing:t.outgoing.get(e.id),incoming:t.incoming.get(e.id),nextOutgoingIndex:0,nextIncomingIndex:0}},function(e){var t=e.nextOutgoingIndex;if(void 0!==e.outgoing&&t=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),s=n("945d"),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.listen=function(e){var t=this;e.addEventListener("message",function(e){t.messageReceived(e.data)}),e.addEventListener("error",function(e){t.logger.error(t,"error event received",e)}),this.webSocket=e},t.prototype.disconnect=function(){this.webSocket&&(this.webSocket.close(),this.webSocket=void 0)},t.prototype.sendMessage=function(e){if(!this.webSocket)throw new Error("WebSocket is not connected");this.webSocket.send(JSON.stringify(e))},t=o([r.injectable()],t),t}(s.DiagramServer);t.WebSocketDiagramServer=a},"48f9":function(e,t,n){},"4a4f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3"),o=n("c5f4"),r=n("1979");function s(){return function(e,t,n){var s=new r.Metadata(o.POST_CONSTRUCT,t);if(Reflect.hasOwnMetadata(o.POST_CONSTRUCT,e.constructor))throw new Error(i.MULTIPLE_POST_CONSTRUCT_METHODS);Reflect.defineMetadata(o.POST_CONSTRUCT,s,e.constructor)}}t.postConstruct=s},"4b0d":function(e,t,n){"use strict";var i=n("2196"),o=n.n(i);o.a},"4b75":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var o=n("e1c6"),r=function(){function e(){this.tasks=[],this.endTasks=[],this.triggered=!1}return e.prototype.isAvailable=function(){return"function"===typeof requestAnimationFrame},e.prototype.onNextFrame=function(e){this.tasks.push(e),this.trigger()},e.prototype.onEndOfNextFrame=function(e){this.endTasks.push(e),this.trigger()},e.prototype.trigger=function(){var e=this;this.triggered||(this.triggered=!0,this.isAvailable()?requestAnimationFrame(function(t){return e.run(t)}):setTimeout(function(t){return e.run(t)}))},e.prototype.run=function(e){var t=this.tasks,n=this.endTasks;this.triggered=!1,this.tasks=[],this.endTasks=[],t.forEach(function(t){return t.call(void 0,e)}),n.forEach(function(t){return t.call(void 0,e)})},e=i([o.injectable()],e),e}();t.AnimationFrameSyncer=r},"54f8":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("70d9"),r=new i.ContainerModule(function(e){e(o.ButtonHandlerRegistry).toSelf().inSingletonScope()});t.default=r},5530:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("dfc0"),s=new i.ContainerModule(function(e,t,n,i){i(o.TYPES.IModelFactory).to(r.SGraphFactory).inSingletonScope()});t.default=s},"559d":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var c=n("e1c6"),l=n("c146"),u=n("9757"),d=n("3a92"),h=n("3623"),p=n("6923"),f=n("3b4c"),m=n("e45b"),g=n("47b7"),v=n("42be"),b=n("dd02"),y=n("66f9"),_=n("ea38"),M=n("1978"),w=n("a5f4"),C=n("61d8"),S=n("3585"),A=n("168d"),E=n("779b"),O=n("4c18"),L=n("bcbd"),T=n("5eb6"),x=n("a0af"),R=function(){function e(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=!1),this.moves=e,this.animate=t,this.finished=n,this.kind=k.KIND}return e}();t.MoveAction=R;var k=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n.resolvedMoves=new Map,n.edgeMementi=[],n}var n;return i(t,e),n=t,t.prototype.execute=function(e){var t=this,n=e.root.index,i=new Map,o=new Map;return this.action.moves.forEach(function(e){var r=n.getById(e.elementId);if(r instanceof S.SRoutingHandle&&t.edgeRouterRegistry){var s=r.parent;if(s instanceof S.SRoutableElement){var a=t.resolveHandleMove(r,s,e);if(a){var c=i.get(s);c||(c=[],i.set(s,c)),c.push(a)}}}else if(r&&x.isLocateable(r)){var l=t.resolveElementMove(r,e);l&&(t.resolvedMoves.set(l.element.id,l),t.edgeRouterRegistry&&n.getAttachedElements(r).forEach(function(e){if(e instanceof S.SRoutableElement){var t=o.get(e),n=b.subtract(l.toPosition,l.fromPosition),i=t?b.linear(t,n,.5):n;o.set(e,i)}}))}}),this.doMove(i,o),this.action.animate?(this.undoMove(),new l.CompoundAnimation(e.root,e,[new z(e.root,this.resolvedMoves,e,!1),new P(e.root,this.edgeMementi,e,!1)]).start()):e.root},t.prototype.resolveHandleMove=function(e,t,n){var i=n.fromPosition;if(!i){var o=this.edgeRouterRegistry.get(t.routerKind);i=o.getHandlePosition(t,o.route(t),e)}if(i)return{handle:e,fromPosition:i,toPosition:n.toPosition}},t.prototype.resolveElementMove=function(e,t){var n=t.fromPosition||{x:e.position.x,y:e.position.y};return{element:e,fromPosition:n,toPosition:t.toPosition}},t.prototype.doMove=function(e,t){var n=this;this.resolvedMoves.forEach(function(e){e.element.position=e.toPosition}),e.forEach(function(e,t){var i=n.edgeRouterRegistry.get(t.routerKind),o=i.takeSnapshot(t);i.applyHandleMoves(t,e);var r=i.takeSnapshot(t);n.edgeMementi.push({edge:t,before:o,after:r})}),t.forEach(function(t,i){if(!e.get(i)){var o=n.edgeRouterRegistry.get(i.routerKind),r=o.takeSnapshot(i);if(i.source&&i.target&&n.resolvedMoves.get(i.source.id)&&n.resolvedMoves.get(i.target.id))i.routingPoints=i.routingPoints.map(function(e){return b.add(e,t)});else{var s=O.isSelectable(i)&&i.selected;o.cleanupRoutingPoints(i,i.routingPoints,s,n.action.finished)}var a=o.takeSnapshot(i);n.edgeMementi.push({edge:i,before:r,after:a})}})},t.prototype.undoMove=function(){var e=this;this.resolvedMoves.forEach(function(e){e.element.position=e.fromPosition}),this.edgeMementi.forEach(function(t){var n=e.edgeRouterRegistry.get(t.edge.routerKind);n.applySnapshot(t.edge,t.before)})},t.prototype.undo=function(e){return new l.CompoundAnimation(e.root,e,[new z(e.root,this.resolvedMoves,e,!0),new P(e.root,this.edgeMementi,e,!0)]).start()},t.prototype.redo=function(e){return new l.CompoundAnimation(e.root,e,[new z(e.root,this.resolvedMoves,e,!1),new P(e.root,this.edgeMementi,e,!1)]).start()},t.prototype.merge=function(e,t){var i=this;if(!this.action.animate&&e instanceof n)return e.resolvedMoves.forEach(function(e,t){var n=i.resolvedMoves.get(t);n?n.toPosition=e.toPosition:i.resolvedMoves.set(t,e)}),e.edgeMementi.forEach(function(e){var t=i.edgeMementi.find(function(t){return t.edge.id===e.edge.id});t?t.after=e.after:i.edgeMementi.push(e)}),!0;if(e instanceof C.ReconnectCommand){var o=e.memento;if(o){var r=this.edgeMementi.find(function(e){return e.edge.id===o.edge.id});r?r.after=o.after:this.edgeMementi.push(o)}return!0}return!1},t.KIND="move",r([c.inject(A.EdgeRouterRegistry),c.optional(),s("design:type",A.EdgeRouterRegistry)],t.prototype,"edgeRouterRegistry",void 0),t=n=r([c.injectable(),a(0,c.inject(p.TYPES.Action)),s("design:paramtypes",[R])],t),t}(u.MergeableCommand);t.MoveCommand=k;var z=function(e){function t(t,n,i,o){void 0===o&&(o=!1);var r=e.call(this,i)||this;return r.model=t,r.elementMoves=n,r.reverse=o,r}return i(t,e),t.prototype.tween=function(e){var t=this;return this.elementMoves.forEach(function(n){t.reverse?n.element.position={x:(1-e)*n.toPosition.x+e*n.fromPosition.x,y:(1-e)*n.toPosition.y+e*n.fromPosition.y}:n.element.position={x:(1-e)*n.fromPosition.x+e*n.toPosition.x,y:(1-e)*n.fromPosition.y+e*n.toPosition.y}}),this.model},t}(l.Animation);t.MoveAnimation=z;var P=function(e){function t(t,n,i,o){void 0===o&&(o=!1);var r=e.call(this,i)||this;return r.model=t,r.reverse=o,r.expanded=[],n.forEach(function(e){var t=r.reverse?e.after:e.before,n=r.reverse?e.before:e.after,i=t.routedPoints,o=n.routedPoints,s=Math.max(i.length,o.length);r.expanded.push({startExpandedRoute:r.growToSize(i,s),endExpandedRoute:r.growToSize(o,s),memento:e})}),r}return i(t,e),t.prototype.midPoint=function(e){var t=e.edge,n=e.edge.source,i=e.edge.target;return b.linear(h.translatePoint(b.center(n.bounds),n.parent,t.parent),h.translatePoint(b.center(i.bounds),i.parent,t.parent),.5)},t.prototype.start=function(){return this.expanded.forEach(function(e){e.memento.edge.removeAll(function(e){return e instanceof S.SRoutingHandle})}),e.prototype.start.call(this)},t.prototype.tween=function(e){var t=this;return 1===e?this.expanded.forEach(function(e){var n=e.memento;t.reverse?n.before.router.applySnapshot(n.edge,n.before):n.after.router.applySnapshot(n.edge,n.after)}):this.expanded.forEach(function(t){for(var n=[],i=1;i(s+l)*o)++l;s+=l;for(var u=0;u0?new R(o,!1,n):void 0}},t.prototype.snap=function(e,t,n){return n&&this.snapper?this.snapper.snap(e,t):e},t.prototype.getHandlePosition=function(e){if(this.edgeRouterRegistry){var t=e.parent;if(!(t instanceof S.SRoutableElement))return;var n=this.edgeRouterRegistry.get(t.routerKind),i=n.route(t);return n.getHandlePosition(t,i,e)}},t.prototype.mouseEnter=function(e,t){return e instanceof d.SModelRoot&&0===t.buttons&&this.mouseUp(e,t),[]},t.prototype.mouseUp=function(e,t){var n=this,i=[],o=!1;if(this.startDragPosition){var r=this.getElementMoves(e,t,!0);r&&i.push(r),e.root.index.all().forEach(function(t){if(t instanceof S.SRoutingHandle){var r=t.parent;if(r instanceof S.SRoutableElement&&t.danglingAnchor){var s=n.getHandlePosition(t);if(s){var a=h.translatePoint(s,t.parent,t.root),c=y.findChildrenAtPosition(e.root,a).find(function(e){return S.isConnectable(e)&&e.canConnect(r,t.kind)});c&&n.hasDragged&&(i.push(new C.ReconnectAction(t.parent.id,"source"===t.kind?c.id:r.sourceId,"target"===t.kind?c.id:r.targetId)),o=!0)}}t.editMode&&i.push(new w.SwitchEditModeAction([],[t.id]))}})}if(!o){var s=e.root.index.getById(S.edgeInProgressID);if(s instanceof d.SChildElement){var a=[];a.push(S.edgeInProgressID),s.children.forEach(function(e){e instanceof S.SRoutingHandle&&e.danglingAnchor&&a.push(e.danglingAnchor.id)}),i.push(new M.DeleteElementAction(a))}}return this.hasDragged&&i.push(new v.CommitModelAction),this.hasDragged=!1,this.startDragPosition=void 0,this.elementId2startPos.clear(),i},t.prototype.decorate=function(e,t){return e},r([c.inject(A.EdgeRouterRegistry),c.optional(),s("design:type",A.EdgeRouterRegistry)],t.prototype,"edgeRouterRegistry",void 0),r([c.inject(p.TYPES.ISnapper),c.optional(),s("design:type",Object)],t.prototype,"snapper",void 0),t}(f.MouseListener);t.MoveMouseListener=N;var I=function(){function e(){}return e.prototype.decorate=function(e,t){if(E.isEdgeLayoutable(t)&&t.parent instanceof g.SEdge)return e;var n="";if(x.isLocateable(t)&&t instanceof d.SChildElement&&void 0!==t.parent){var i=t.position;0===i.x&&0===i.y||(n="translate("+i.x+", "+i.y+")")}if(y.isAlignable(t)){var o=t.alignment;0===o.x&&0===o.y||(n.length>0&&(n+=" "),n+="translate("+o.x+", "+o.y+")")}return n.length>0&&m.setAttr(e,"transform",n),e},e.prototype.postUpdate=function(){},e=r([c.injectable()],e),e}();t.LocationPostprocessor=I},5823:function(e,t,n){"use strict";var i=n("e8de"),o=n.n(i);o.a},5870:function(e,t,n){},5884:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("1cc1"),r=n("3c83"),s=n("6923"),a=new i.ContainerModule(function(e){e(s.TYPES.IContextMenuServiceProvider).toProvider(function(e){return function(){return new Promise(function(t,n){e.container.isBound(s.TYPES.IContextMenuService)?t(e.container.get(s.TYPES.IContextMenuService)):n()})}}),e(s.TYPES.MouseListener).to(r.ContextMenuMouseListener),e(s.TYPES.IContextMenuProviderRegistry).to(o.ContextMenuProviderRegistry)});t.default=a},"5b35":function(e,t,n){"use strict";var i=n("b878"),o=n.n(i);o.a},"5bc0":function(e,t,n){},"5bcd":function(e,t,n){},"5d08":function(e,t,n){"use strict";var i=n("d675"),o=n.n(i);o.a},"5d19":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var r=n("66f9"),s=n("0fb6"),a=n("6923"),c=n("dd02"),l=n("e1c6"),u=function(){function e(t,n){void 0===n&&(n=""),this.svg=t,this.responseId=n,this.kind=e.KIND}return e.KIND="exportSvg",e}();t.ExportSvgAction=u;var d=function(){function e(){}return e.prototype.export=function(e,t){if("undefined"!==typeof document){var n=document.getElementById(this.options.hiddenDiv);if(null!==n&&n.firstElementChild&&"svg"===n.firstElementChild.tagName){var i=n.firstElementChild,o=this.createSvg(i,e);this.actionDispatcher.dispatch(new u(o,t?t.requestId:""))}}},e.prototype.createSvg=function(e,t){var n=new XMLSerializer,i=n.serializeToString(e),o=document.createElement("iframe");if(document.body.appendChild(o),!o.contentWindow)throw new Error("IFrame has no contentWindow");var r=o.contentWindow.document;r.open(),r.write(i),r.close();var s=r.getElementById(e.id);s.removeAttribute("opacity"),this.copyStyles(e,s,["width","height","opacity"]),s.setAttribute("version","1.1");var a=this.getBounds(t);s.setAttribute("viewBox",a.x+" "+a.y+" "+a.width+" "+a.height);var c=n.serializeToString(s);return document.body.removeChild(o),c},e.prototype.copyStyles=function(e,t,n){for(var i=getComputedStyle(e),o=getComputedStyle(t),r="",s=0;s=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})})},"5e1a":function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n("a8f0").Buffer,r=n(3);function s(e,t,n){e.copy(t,n)}e.exports=function(){function e(){i(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";var t=this.head,n=""+t.data;while(t=t.next)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return o.alloc(0);if(1===this.length)return this.head.data;var t=o.allocUnsafe(e>>>0),n=this.head,i=0;while(n)s(n.data,t,i),i+=n.data.length,n=n.next;return t},e}(),r&&r.inspect&&r.inspect.custom&&(e.exports.prototype[r.inspect.custom]=function(){var e=r.inspect({length:this.length});return this.constructor.name+" "+e})},"5e9c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("6923");function o(e,t){var n=e.get(i.TYPES.CommandStackOptions);for(var o in t)t.hasOwnProperty(o)&&(n[o]=t[o]);return n}t.overrideCommandStackOptions=o},"5eb6":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("3a92");function o(e){return e instanceof i.SModelRoot&&e.hasFeature(t.viewportFeature)&&"zoom"in e&&"scroll"in e}t.viewportFeature=Symbol("viewportFeature"),t.isViewport=o},6176:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},a=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),s=n("dd02"),a=n("3a92"),c=n("6923"),l=n("42f7"),u=n("320b"),d=n("66f9"),h=function(){function e(){}return e}();t.BoundsData=h;var p=function(){function e(){this.element2boundsData=new Map}return e.prototype.decorate=function(e,t){return(d.isSizeable(t)||d.isLayoutContainer(t))&&this.element2boundsData.set(t,{vnode:e,bounds:t.bounds,boundsChanged:!1,alignmentChanged:!1}),t instanceof a.SModelRoot&&(this.root=t),e},e.prototype.postUpdate=function(e){if(void 0!==e&&e.kind===l.RequestBoundsAction.KIND){var t=e;this.getBoundsFromDOM(),this.layouter.layout(this.element2boundsData);var n=[],i=[];this.element2boundsData.forEach(function(e,t){if(e.boundsChanged&&void 0!==e.bounds){var o={elementId:t.id,newSize:{width:e.bounds.width,height:e.bounds.height}};t instanceof a.SChildElement&&d.isLayoutContainer(t.parent)&&(o.newPosition={x:e.bounds.x,y:e.bounds.y}),n.push(o)}e.alignmentChanged&&void 0!==e.alignment&&i.push({elementId:t.id,newAlignment:e.alignment})});var o=void 0!==this.root?this.root.revision:void 0;this.actionDispatcher.dispatch(new l.ComputedBoundsAction(n,o,i,t.requestId)),this.element2boundsData.clear()}},e.prototype.getBoundsFromDOM=function(){var e=this;this.element2boundsData.forEach(function(t,n){if(t.bounds&&d.isSizeable(n)){var i=t.vnode;if(i&&i.elm){var o=e.getBounds(i.elm,n);!d.isAlignable(n)||s.almostEquals(o.x,0)&&s.almostEquals(o.y,0)||(t.alignment={x:-o.x,y:-o.y},t.alignmentChanged=!0);var r={x:n.bounds.x,y:n.bounds.y,width:o.width,height:o.height};s.almostEquals(r.x,n.bounds.x)&&s.almostEquals(r.y,n.bounds.y)&&s.almostEquals(r.width,n.bounds.width)&&s.almostEquals(r.height,n.bounds.height)||(t.bounds=r,t.boundsChanged=!0)}}})},e.prototype.getBounds=function(e,t){if("function"!==typeof e.getBBox)return this.logger.error(this,"Not an SVG element:",e),s.EMPTY_BOUNDS;var n=e.getBBox();return{x:n.x,y:n.y,width:n.width,height:n.height}},i([r.inject(c.TYPES.ILogger),o("design:type",Object)],e.prototype,"logger",void 0),i([r.inject(c.TYPES.IActionDispatcher),o("design:type",Object)],e.prototype,"actionDispatcher",void 0),i([r.inject(c.TYPES.Layouter),o("design:type",u.Layouter)],e.prototype,"layouter",void 0),e=i([r.injectable()],e),e}();t.HiddenBoundsUpdater=p},"61d8":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),c=n("9757"),l=n("6923"),u=n("3585"),d=n("168d"),h=function(){function e(t,n,i){this.routableId=t,this.newSourceId=n,this.newTargetId=i,this.kind=e.KIND}return e.KIND="reconnect",e}();t.ReconnectAction=h;var p=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){return this.doExecute(e),e.root},t.prototype.doExecute=function(e){var t=e.root.index,n=t.getById(this.action.routableId);if(n instanceof u.SRoutableElement){var i=this.edgeRouterRegistry.get(n.routerKind),o=i.takeSnapshot(n);i.applyReconnect(n,this.action.newSourceId,this.action.newTargetId);var r=i.takeSnapshot(n);this.memento={edge:n,before:o,after:r}}},t.prototype.undo=function(e){if(this.memento){var t=this.edgeRouterRegistry.get(this.memento.edge.routerKind);t.applySnapshot(this.memento.edge,this.memento.before)}return e.root},t.prototype.redo=function(e){if(this.memento){var t=this.edgeRouterRegistry.get(this.memento.edge.routerKind);t.applySnapshot(this.memento.edge,this.memento.after)}return e.root},t.KIND=h.KIND,o([a.inject(d.EdgeRouterRegistry),r("design:type",d.EdgeRouterRegistry)],t.prototype,"edgeRouterRegistry",void 0),t=o([a.injectable(),s(0,a.inject(l.TYPES.Action)),r("design:paramtypes",[h])],t),t}(c.Command);t.ReconnectCommand=p},6208:function(e,t,n){"use strict";var i=n("6cea"),o=n.n(i);o.a},"624f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3"),o=n("c5f4"),r=n("1979"),s=n("66d7"),a=function(){function e(e){this._cb=e}return e.prototype.unwrap=function(){return this._cb()},e}();function c(e){return function(t,n,a){if(void 0===e)throw new Error(i.UNDEFINED_INJECT_ANNOTATION(t.name));var c=new r.Metadata(o.INJECT_TAG,e);"number"===typeof a?s.tagParameter(t,n,a,c):s.tagProperty(t,n,c)}}t.LazyServiceIdentifer=a,t.inject=c},6283:function(e,t,n){"use strict";var i=n("5bcd"),o=n.n(i);o.a},6420:function(e,t,n){"use strict";var i=n("1f0f"),o=n.n(i);o.a},6592:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTextVNode=s,t.transformName=a,t.unescapeEntities=u;var i=n("81aa"),o=r(i);function r(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(0,o.default)(void 0,void 0,void 0,u(e,t))}function a(e){e=e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()});var t=e.charAt(0).toLowerCase();return""+t+e.substring(1)}var c=new RegExp("&[a-z0-9#]+;","gi"),l=null;function u(e,t){return l||(l=t.createElement("div")),e.replace(c,function(e){return l.innerHTML=e,l.textContent})}},"65d1":function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),a=n("393a"),c=n("3623"),l=n("e45b"),u=n("8e97"),d=n("779b"),h=n("3585"),p=n("168d"),f=n("8d9d"),m=function(){function e(){}return e.prototype.render=function(e,t){var n="scale("+e.zoom+") translate("+-e.scroll.x+","+-e.scroll.y+")";return a.svg("svg",{"class-sprotty-graph":!0},a.svg("g",{transform:n},t.renderChildren(e)))},e=o([s.injectable()],e),e}();t.SGraphView=m;var g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(e,t){var n=this.edgeRouterRegistry.get(e.routerKind),i=n.route(e);if(0===i.length)return this.renderDanglingEdge("Cannot compute route",e,t);if(!this.isVisible(e,i,t)){if(0===e.children.length)return;return a.svg("g",null,t.renderChildren(e,{route:i}))}return a.svg("g",{"class-sprotty-edge":!0,"class-mouseover":e.hoverFeedback},this.renderLine(e,i,t),this.renderAdditionals(e,i,t),t.renderChildren(e,{route:i}))},t.prototype.renderLine=function(e,t,n){for(var i=t[0],o="M "+i.x+","+i.y,r=1;r0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,i=l.some(function(e){return!!~n.indexOf(e)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,i=Object.keys(t);n0},e}(),L="undefined"!==typeof WeakMap?new WeakMap:new n,T=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),i=new O(t,n,this);L.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach(function(e){T.prototype[e]=function(){var t;return(t=L.get(this))[e].apply(t,arguments)}});var x=function(){return"undefined"!==typeof o.ResizeObserver?o.ResizeObserver:T}();t["a"]=x}).call(this,n("c8ba"))},"6f35":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("842c"),r=n("3ada"),s=new i.ContainerModule(function(e,t,n){o.configureCommand({bind:e,isBound:n},r.BringToFrontCommand)});t.default=s},"70d9":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("3864"),c=n("e1c6"),l=n("6923"),u=function(e){function t(t){var n=e.call(this)||this;return t.forEach(function(e){return n.register(e.TYPE,new e)}),n}return i(t,e),t=o([c.injectable(),s(0,c.multiInject(l.TYPES.IButtonHandler)),s(0,c.optional()),r("design:paramtypes",[Array])],t),t}(a.InstanceRegistry);t.ButtonHandlerRegistry=u},7122:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3"),o=n("155f"),r=n("c5f4");function s(e,t,n){var i=t.filter(function(e){return null!==e.target&&e.target.type===o.TargetTypeEnum.ClassProperty}),r=i.map(n);return i.forEach(function(t,n){var i="";i=t.target.name.value();var o=r[n];e[i]=o}),e}function a(e,t){return new(e.bind.apply(e,[void 0].concat(t)))}function c(e,t){if(Reflect.hasMetadata(r.POST_CONSTRUCT,e)){var n=Reflect.getMetadata(r.POST_CONSTRUCT,e);try{t[n.value]()}catch(t){throw new Error(i.POST_CONSTRUCT_ERROR(e.name,t.message))}}}function l(e,t,n){var i=null;if(t.length>0){var r=t.filter(function(e){return null!==e.target&&e.target.type===o.TargetTypeEnum.ConstructorArgument}),l=r.map(n);i=a(e,l),i=s(i,t,n)}else i=new e;return c(e,i),i}t.resolveInstance=l},"715d":function(e,t,n){"use strict";var i=n("1f66"),o=n.n(i);o.a},7173:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ft-wrapper",class:{"ft-no-timestamp":0===e.slices.length||-1===e.timestamp}},[n("div",{staticClass:"ft-container"},[n("div",{staticClass:"ft-time row"},[n("div",{staticClass:"ft-time-origin-container",on:{click:function(t){e.onClick(t,function(){e.changeTimestamp(-1)})}}},[n("q-icon",{staticClass:"ft-time-origin",class:{"ft-time-origin-active":-1===e.timestamp},attrs:{name:"mdi-clock-start"}}),0!==e.slices.length?n("q-tooltip",{attrs:{offset:[0,8],self:"top middle",anchor:"bottom middle"},domProps:{innerHTML:e._s(e.slices.length>0?e.slices[0][1]:e.$t("label.timeOrigin"))}}):e._e()],1),n("div",{ref:"ft-timeline-"+e.observationId,staticClass:"ft-timeline-container col",class:{"ot-timeline-with-time":-1!==e.timestamp}},[n("div",{ref:"ft-timeline",staticClass:"ft-timeline",class:{"ft-with-slices":0!==e.slices.length},on:{mousemove:e.moveOnTimeline,click:function(t){e.changeTimestamp(e.getDateFromPosition(t))}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.slices.length>0,expression:"slices.length > 0"}],staticClass:"ft-timeline-viewer"}),e.slices.length<=1?n("div",{staticClass:"ft-slice-container",style:{left:e.calculatePosition(e.start)+"px"}},[n("div",{staticClass:"ft-slice"}),n("div",{staticClass:"ft-slice-caption"},[e._v(e._s(e.getLabel(e.start)))])]):e._e(),e._l(e.slices,function(t,i){return-1!==t[0]?n("div",{key:i,staticClass:"ft-slice-container",style:{left:e.calculatePosition(t[0])+"px"}},[n("div",{staticClass:"ft-slice"}),n("div",{staticClass:"ft-slice-caption"},[e._v(e._s(e.getLabel(t[0])))])]):e._e()}),n("div",{staticClass:"ft-slice-container",style:{left:"calc("+e.calculatePosition(e.end)+"px - 2px)"}},[n("div",{staticClass:"ft-slice"}),n("div",{staticClass:"ft-slice-caption"},[e._v(e._s(e.getLabel(e.end)))])]),-1!==e.timestamp?n("div",{staticClass:"ft-actual-time",style:{left:"calc("+e.calculatePosition(e.timestamp)+"px - 11px + "+(e.timestamp===e.end?"0":"1")+"px)"}},[n("q-icon",{attrs:{name:"mdi-menu-down-outline"}})],1):e._e(),0!==e.slices.length?n("q-tooltip",{staticClass:"ft-date-tooltip",attrs:{offset:[0,15],self:"top middle",anchor:"bottom middle",delay:300},domProps:{innerHTML:e._s(e.timelineDate)}}):e._e()],2)])])]),n("q-resize-observable",{on:{resize:e.updateWidth}})],1)},o=[];i._withStripped=!0;n("ac6a");var r=n("278c"),s=n.n(r),a=(n("28a5"),n("c5f6"),n("c1df")),c=n.n(a),l=n("b8c1"),u={name:"FigureTimeline",mixins:[l["a"]],props:{observationId:{type:String,required:!0},start:{type:Number,required:!0},end:{type:Number,required:!0},rawSlices:{type:Array,default:function(){return[]}},startingTime:{type:Number,default:-1}},computed:{slices:function(){return this.rawSlices.map(function(e){var t=e.split(",");return[+t[0],t[1]]})}},data:function(){return{timestamp:this.startingTime,timelineDate:null,timelineWidth:0,timelineLeft:0}},methods:{formatDate:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return null===e?"":(t||(e=c()(e).format("L")),'
'.concat(e,"
"))},updateWidth:function(){var e=this.$refs["ft-timeline-".concat(this.observationId)];e?(this.timelineWidth=e.clientWidth,this.timelineLeft=e.getBoundingClientRect().left):(this.timelineWidth=0,this.timelineLeft=0)},calculatePosition:function(e){if(0===this.timelineWidth)return 0;if(-1===e)return 0;var t=Math.floor((e-this.start)*this.timelineWidth/(this.end-this.start));return t},moveOnTimeline:function(e){var t=this.getSlice(this.getDateFromPosition(e)),n=s()(t,2);this.timelineDate=n[1]},getDateFromPosition:function(e){if(0===this.timelineWidth)return 0;var t=e.clientX-this.timelineLeft,n=Math.floor(this.start+t*(this.end-this.start)/this.timelineWidth);return n>this.end?n=this.end:nthis.end)return[this.end,this.formatDate(this.end)];var t=[this.start,this.formatDate(this.start)];return this.slices.length>0&&this.slices.forEach(function(n){n[0]<=e&&(t=n)}),t},changeTimestamp:function(e){if(0!==this.slices.length){e>this.end?this.timestamp=this.end:this.timestamp=e;var t=this.getSlice(e),n=s()(t,2);this.timelineDate=n[1],this.$emit("timestampchange",{time:t[0],timeString:-1===e?t[1]:c()(e).format("L")})}},getLabel:function(e){return c()(e).format("L")}},mounted:function(){this.updateWidth()}},d=u,h=(n("0faf"),n("2877")),p=Object(h["a"])(d,i,o,!1,null,null,null);p.options.__file="FigureTimeline.vue";t["a"]=p.exports},"719e":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3"),o=n("c5f4");function r(){return function(e){if(Reflect.hasOwnMetadata(o.PARAM_TYPES,e))throw new Error(i.DUPLICATED_INJECTABLE_DECORATOR);var t=Reflect.getMetadata(o.DESIGN_PARAM_TYPES,e)||[];return Reflect.defineMetadata(o.PARAM_TYPES,t,e),e}}t.injectable=r},"71d9":function(e,t,n){},"72dd":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("42f7"),s=n("61bf"),a=n("320b"),c=n("842c"),l=new i.ContainerModule(function(e,t,n){c.configureCommand({bind:e,isBound:n},r.SetBoundsCommand),c.configureCommand({bind:e,isBound:n},r.RequestBoundsCommand),e(s.HiddenBoundsUpdater).toSelf().inSingletonScope(),e(o.TYPES.HiddenVNodePostprocessor).toService(s.HiddenBoundsUpdater),e(o.TYPES.Layouter).to(a.Layouter).inSingletonScope(),e(o.TYPES.LayoutRegistry).to(a.LayoutRegistry).inSingletonScope()});t.default=l},7364:function(e,t,n){},7521:function(e,t,n){"use strict";var i=n("48f9"),o=n.n(i);o.a},"755f":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var o=n("393a"),r=n("e45b"),s=n("e1c6"),a=function(){function e(){}return e.prototype.render=function(e,t){var n=16/1792,i="scale("+n+", "+n+")",s=this.getMaxSeverity(e),a=o.svg("g",{"class-sprotty-issue":!0},o.svg("g",{transform:i},o.svg("path",{d:this.getPath(s)})));return r.setClass(a,"sprotty-"+s,!0),a},e.prototype.getMaxSeverity=function(e){for(var t="info",n=0,i=e.issues.map(function(e){return e.severity});n1?n("div",{staticClass:"kal-locales row reverse"},[n("q-select",{staticClass:"kal-lang-selector",attrs:{options:t.localeOptions,color:"app-main-color","hide-underline":""},model:{value:t.selectedLocale,callback:function(n){e.$set(t,"selectedLocale",n)},expression:"app.selectedLocale"}})],1):e._e()])})],2)])],1)],1)],1)])},O=[];E._withStripped=!0;n("a481"),n("7514"),n("20d6"),n("ac6a"),n("cadf"),n("456d"),n("7f7f");var L=n("be3b"),T=n("d247"),x={ab:{name:"Abkhaz",nativeName:"аҧсуа"},aa:{name:"Afar",nativeName:"Afaraf"},af:{name:"Afrikaans",nativeName:"Afrikaans"},ak:{name:"Akan",nativeName:"Akan"},sq:{name:"Albanian",nativeName:"Shqip"},am:{name:"Amharic",nativeName:"አማርኛ"},ar:{name:"Arabic",nativeName:"العربية"},an:{name:"Aragonese",nativeName:"Aragonés"},hy:{name:"Armenian",nativeName:"Հայերեն"},as:{name:"Assamese",nativeName:"অসমীয়া"},av:{name:"Avaric",nativeName:"авар мацӀ"},ae:{name:"Avestan",nativeName:"avesta"},ay:{name:"Aymara",nativeName:"aymar aru"},az:{name:"Azerbaijani",nativeName:"azərbaycan dili"},bm:{name:"Bambara",nativeName:"bamanankan"},ba:{name:"Bashkir",nativeName:"башҡорт теле"},eu:{name:"Basque",nativeName:"euskara"},be:{name:"Belarusian",nativeName:"Беларуская"},bn:{name:"Bengali",nativeName:"বাংলা"},bh:{name:"Bihari",nativeName:"भोजपुरी"},bi:{name:"Bislama",nativeName:"Bislama"},bs:{name:"Bosnian",nativeName:"bosanski jezik"},br:{name:"Breton",nativeName:"brezhoneg"},bg:{name:"Bulgarian",nativeName:"български език"},my:{name:"Burmese",nativeName:"ဗမာစာ"},ca:{name:"Catalan; Valencian",nativeName:"Català"},ch:{name:"Chamorro",nativeName:"Chamoru"},ce:{name:"Chechen",nativeName:"нохчийн мотт"},ny:{name:"Chichewa; Chewa; Nyanja",nativeName:"chiCheŵa"},zh:{name:"Chinese",nativeName:"中文 (Zhōngwén)"},cv:{name:"Chuvash",nativeName:"чӑваш чӗлхи"},kw:{name:"Cornish",nativeName:"Kernewek"},co:{name:"Corsican",nativeName:"corsu"},cr:{name:"Cree",nativeName:"ᓀᐦᐃᔭᐍᐏᐣ"},hr:{name:"Croatian",nativeName:"hrvatski"},cs:{name:"Czech",nativeName:"česky"},da:{name:"Danish",nativeName:"dansk"},dv:{name:"Divehi; Dhivehi; Maldivian;",nativeName:"ދިވެހި"},nl:{name:"Dutch",nativeName:"Nederlands"},en:{name:"English",nativeName:"English",flag:"gb"},eo:{name:"Esperanto",nativeName:"Esperanto"},et:{name:"Estonian",nativeName:"eesti"},ee:{name:"Ewe",nativeName:"Eʋegbe"},fo:{name:"Faroese",nativeName:"føroyskt"},fj:{name:"Fijian",nativeName:"vosa Vakaviti"},fi:{name:"Finnish",nativeName:"suomi"},fr:{name:"French",nativeName:"français"},ff:{name:"Fula; Fulah; Pulaar; Pular",nativeName:"Fulfulde"},gl:{name:"Galician",nativeName:"Galego"},ka:{name:"Georgian",nativeName:"ქართული"},de:{name:"German",nativeName:"Deutsch"},el:{name:"Greek",nativeName:"Ελληνικά"},gn:{name:"Guaraní",nativeName:"Avañeẽ"},gu:{name:"Gujarati",nativeName:"ગુજરાતી"},ht:{name:"Haitian; Haitian Creole",nativeName:"Kreyòl ayisyen"},ha:{name:"Hausa",nativeName:"Hausa"},he:{name:"Hebrew (modern)",nativeName:"עברית"},hz:{name:"Herero",nativeName:"Otjiherero"},hi:{name:"Hindi",nativeName:"हिन्दी"},ho:{name:"Hiri Motu",nativeName:"Hiri Motu"},hu:{name:"Hungarian",nativeName:"Magyar"},ia:{name:"Interlingua",nativeName:"Interlingua"},id:{name:"Indonesian",nativeName:"Bahasa Indonesia"},ie:{name:"Interlingue",nativeName:"Originally called Occidental; then Interlingue after WWII"},ga:{name:"Irish",nativeName:"Gaeilge"},ig:{name:"Igbo",nativeName:"Asụsụ Igbo"},ik:{name:"Inupiaq",nativeName:"Iñupiaq"},io:{name:"Ido",nativeName:"Ido"},is:{name:"Icelandic",nativeName:"Íslenska"},it:{name:"Italian",nativeName:"Italiano"},iu:{name:"Inuktitut",nativeName:"ᐃᓄᒃᑎᑐᑦ"},ja:{name:"Japanese",nativeName:"日本語 (にほんご/にっぽんご)"},jv:{name:"Javanese",nativeName:"basa Jawa"},kl:{name:"Kalaallisut",nativeName:"kalaallisut"},kn:{name:"Kannada",nativeName:"ಕನ್ನಡ"},kr:{name:"Kanuri",nativeName:"Kanuri"},ks:{name:"Kashmiri",nativeName:"कश्मीरी"},kk:{name:"Kazakh",nativeName:"Қазақ тілі"},km:{name:"Khmer",nativeName:"ភាសាខ្មែរ"},ki:{name:"Kikuyu",nativeName:"Gĩkũyũ"},rw:{name:"Kinyarwanda",nativeName:"Ikinyarwanda"},ky:{name:"Kirghiz",nativeName:"кыргыз тили"},kv:{name:"Komi",nativeName:"коми кыв"},kg:{name:"Kongo",nativeName:"KiKongo"},ko:{name:"Korean",nativeName:"한국어 (韓國語)"},ku:{name:"Kurdish",nativeName:"Kurdî"},kj:{name:"Kwanyama",nativeName:"Kuanyama"},la:{name:"Latin",nativeName:"latine"},lb:{name:"Luxembourgish",nativeName:"Lëtzebuergesch"},lg:{name:"Luganda",nativeName:"Luganda"},li:{name:"Limburgish",nativeName:"Limburgs"},ln:{name:"Lingala",nativeName:"Lingála"},lo:{name:"Lao",nativeName:"ພາສາລາວ"},lt:{name:"Lithuanian",nativeName:"lietuvių kalba"},lu:{name:"Luba-Katanga",nativeName:""},lv:{name:"Latvian",nativeName:"latviešu valoda"},gv:{name:"Manx",nativeName:"Gaelg"},mk:{name:"Macedonian",nativeName:"македонски јазик"},mg:{name:"Malagasy",nativeName:"Malagasy fiteny"},ms:{name:"Malay",nativeName:"bahasa Melayu"},ml:{name:"Malayalam",nativeName:"മലയാളം"},mt:{name:"Maltese",nativeName:"Malti"},mi:{name:"Māori",nativeName:"te reo Māori"},mr:{name:"Marathi (Marāṭhī)",nativeName:"मराठी"},mh:{name:"Marshallese",nativeName:"Kajin M̧ajeļ"},mn:{name:"Mongolian",nativeName:"монгол"},na:{name:"Nauru",nativeName:"Ekakairũ Naoero"},nv:{name:"Navajo",nativeName:"Diné bizaad"},nb:{name:"Norwegian Bokmål",nativeName:"Norsk bokmål"},nd:{name:"North Ndebele",nativeName:"isiNdebele"},ne:{name:"Nepali",nativeName:"नेपाली"},ng:{name:"Ndonga",nativeName:"Owambo"},nn:{name:"Norwegian Nynorsk",nativeName:"Norsk nynorsk"},no:{name:"Norwegian",nativeName:"Norsk"},ii:{name:"Nuosu",nativeName:"ꆈꌠ꒿ Nuosuhxop"},nr:{name:"South Ndebele",nativeName:"isiNdebele"},oc:{name:"Occitan",nativeName:"Occitan"},oj:{name:"Ojibwe",nativeName:"ᐊᓂᔑᓈᐯᒧᐎᓐ"},cu:{name:"Old Church Slavonic",nativeName:"ѩзыкъ словѣньскъ"},om:{name:"Oromo",nativeName:"Afaan Oromoo"},or:{name:"Oriya",nativeName:"ଓଡ଼ିଆ"},os:{name:"Ossetian",nativeName:"ирон æвзаг"},pa:{name:"Panjabi",nativeName:"ਪੰਜਾਬੀ"},pi:{name:"Pāli",nativeName:"पाऴि"},fa:{name:"Persian",nativeName:"فارسی"},pl:{name:"Polish",nativeName:"polski"},ps:{name:"Pashto",nativeName:"پښتو"},pt:{name:"Portuguese",nativeName:"Português"},qu:{name:"Quechua",nativeName:"Runa Simi"},rm:{name:"Romansh",nativeName:"rumantsch grischun"},rn:{name:"Kirundi",nativeName:"kiRundi"},ro:{name:"Romanian",nativeName:"română"},ru:{name:"Russian",nativeName:"русский"},sa:{name:"Sanskrit (Saṁskṛta)",nativeName:"संस्कृतम्"},sc:{name:"Sardinian",nativeName:"sardu"},sd:{name:"Sindhi",nativeName:"सिन्धी"},se:{name:"Northern Sami",nativeName:"Davvisámegiella"},sm:{name:"Samoan",nativeName:"gagana faa Samoa"},sg:{name:"Sango",nativeName:"yângâ tî sängö"},sr:{name:"Serbian",nativeName:"српски језик"},gd:{name:"Scottish Gaelic; Gaelic",nativeName:"Gàidhlig"},sn:{name:"Shona",nativeName:"chiShona"},si:{name:"Sinhala",nativeName:"සිංහල"},sk:{name:"Slovak",nativeName:"slovenčina"},sl:{name:"Slovene",nativeName:"slovenščina"},so:{name:"Somali",nativeName:"Soomaaliga"},st:{name:"Southern Sotho",nativeName:"Sesotho"},es:{name:"Spanish; Castilian",nativeName:"español"},su:{name:"Sundanese",nativeName:"Basa Sunda"},sw:{name:"Swahili",nativeName:"Kiswahili"},ss:{name:"Swati",nativeName:"SiSwati"},sv:{name:"Swedish",nativeName:"svenska"},ta:{name:"Tamil",nativeName:"தமிழ்"},te:{name:"Telugu",nativeName:"తెలుగు"},tg:{name:"Tajik",nativeName:"тоҷикӣ"},th:{name:"Thai",nativeName:"ไทย"},ti:{name:"Tigrinya",nativeName:"ትግርኛ"},bo:{name:"Tibetan Standard",nativeName:"བོད་ཡིག"},tk:{name:"Turkmen",nativeName:"Türkmen"},tl:{name:"Tagalog",nativeName:"Wikang Tagalog"},tn:{name:"Tswana",nativeName:"Setswana"},to:{name:"Tonga (Tonga Islands)",nativeName:"faka Tonga"},tr:{name:"Turkish",nativeName:"Türkçe"},ts:{name:"Tsonga",nativeName:"Xitsonga"},tt:{name:"Tatar",nativeName:"татарча"},tw:{name:"Twi",nativeName:"Twi"},ty:{name:"Tahitian",nativeName:"Reo Tahiti"},ug:{name:"Uighur",nativeName:"Uyƣurqə"},uk:{name:"Ukrainian",nativeName:"українська"},ur:{name:"Urdu",nativeName:"اردو"},uz:{name:"Uzbek",nativeName:"zbek"},ve:{name:"Venda",nativeName:"Tshivenḓa"},vi:{name:"Vietnamese",nativeName:"Tiếng Việt"},vo:{name:"Volapük",nativeName:"Volapük"},wa:{name:"Walloon",nativeName:"Walon"},cy:{name:"Welsh",nativeName:"Cymraeg"},wo:{name:"Wolof",nativeName:"Wollof"},fy:{name:"Western Frisian",nativeName:"Frysk"},xh:{name:"Xhosa",nativeName:"isiXhosa"},yi:{name:"Yiddish",nativeName:"ייִדיש"},yo:{name:"Yoruba",nativeName:"Yorùbá"},za:{name:"Zhuang",nativeName:"Saɯ cueŋƅ"}},R={name:"KlabSettings",data:function(){return{models:{userDetails:!1,appsList:!1},popupsOver:{userDetails:!1,appsList:!1},fabVisible:!1,closeTimeout:null,modalTimeout:null,appsList:[],localeOptions:[],test:"es",TERMINAL_TYPES:c["K"],ISO_LOCALE:x}},computed:s()({},Object(a["c"])("data",["sessionReference","isLocal"]),Object(a["c"])("view",["isApp","klabApp","hasShowSettings","layout","dataflowInfoOpen","mainViewerName"]),{hasDataflowInfo:function(){return this.dataflowInfoOpen&&this.mainViewerName===c["M"].DATAFLOW_VIEWER.name},modalsAreFocused:function(){var e=this;return Object.keys(this.popupsOver).some(function(t){return e.popupsOver[t]})||this.selectOpen},owner:function(){return this.sessionReference&&this.sessionReference.owner?this.sessionReference.owner:{unknown:this.$t("label.unknownUser")}},isDeveloper:function(){return this.owner&&this.owner.groups&&-1!==this.owner.groups.findIndex(function(e){return"DEVELOPERS"===e.id})}}),methods:s()({},Object(a["b"])("data",["loadSessionReference","addTerminal"]),Object(a["b"])("view",["setLayout","setShowSettings"]),{getLocalizedString:function(e,t){if(e.selectedLocale){var n=e.localizations.find(function(t){return t.isoCode===e.selectedLocale});if(n)return"label"===t?n.localizedLabel:n.localizedDescription;if("description"===t)return this.$t("label.noLayoutDescription");if(e.name)return e.name;this.$t("label.noLayoutLabel")}return""},loadApplications:function(){var e=this;if(this.appsList.splice(0),this.sessionReference&&this.sessionReference.publicApps){var t=this.sessionReference.publicApps.filter(function(e){return"WEB"===e.platform||"ANY"===e.platform});t.forEach(function(t){t.logo?(t.logoSrc="".concat("").concat(T["c"].REST_GET_PROJECT_RESOURCE,"/").concat(t.projectId,"/").concat(t.logo.replace("/",":")),e.appsList.push(t)):(t.logoSrc=c["b"].DEFAULT_LOGO,e.appsList.push(t)),e.$set(t,"selectedLocale",t.localizations[0].isoCode),t.localeOptions=t.localizations.map(function(e){return{label:e.languageDescription,value:e.isoCode,icon:"mdi-earth",className:"kal-locale-options"}})})}},runApp:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.selectedLocale,i="".concat(e.name,".").concat(n);this.layout&&this.layout.name===i||(e.selectedLocale=n,this.sendStompMessage(l["a"].RUN_APPLICATION({applicationId:i},this.$store.state.data.session).body),this.$nextTick(function(){t.models.appsList=!1,t.fabVisible=!1}))},exitApp:function(){this.layout&&this.setLayout(null)},logout:function(){var e=this,t="".concat("").concat("/modeler").concat(this.isApp?"?app=".concat(this.klabApp):"");null!==this.token?L["a"].post("".concat("").concat(T["c"].REST_API_LOGOUT),{}).then(function(n){var i=n.status;205===i?window.location=t:(e.$q.notify({message:e.$t("messages.errorLoggingOut"),type:"negative",icon:"mdi-alert-circle",timeout:2e3}),console.error("Strange status: ".concat(i)))}).catch(function(t){e.$q.notify({message:e.$t("messages.errorLoggingOut"),type:"negative",icon:"mdi-alert-circle",timeout:2e3}),t.response&&403===t.response.status&&console.error("Probably bad token"),console.error("Error logging out: ".concat(t))}):window.location=t},mouseActionEnter:function(e){var t=this;clearTimeout(this.modalTimeout),this.modalTimeout=null,this.$nextTick(function(){t.models[e]=!0,Object.keys(t.models).forEach(function(n){n!==e&&(t.models[n]=!1)})})},mouseFabClick:function(e){var t=this;this.fabVisible?(e.stopPropagation(),e.preventDefault(),setTimeout(function(){window.addEventListener("click",t.closeAll)},300)):(this.closeTimeout&&(clearTimeout(this.closeTimeout),this.closeTimeout=null),this.modalsAreFocused||this.closeAll(e,500))},closeAll:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.closeTimeout=setTimeout(function(){Object.keys(e.models).forEach(function(t){e.models[t]=!1}),e.$refs["klab-settings"].hide(),window.removeEventListener("click",e.closeAll)},t)},openTerminal:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.closeAll(),setTimeout(function(){e.addTerminal(s()({},t&&{type:t}))},200)}}),watch:{sessionReference:function(){this.loadApplications()}},created:function(){this.loadApplications()}},k=R,z=(n("e2d7"),Object(y["a"])(k,E,O,!1,null,null,null));z.options.__file="KlabSettings.vue";var P=z.exports,N=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"draggable",rawName:"v-draggable",value:e.draggableConfig,expression:"draggableConfig"}],staticClass:"kterm-container",class:{"kterm-minimized":!e.terminal.active,"kterm-focused":e.hasFocus},attrs:{id:"kterm-container-"+e.terminal.id}},[n("div",{staticClass:"kterm-header",style:{"background-color":e.background},attrs:{id:"kterm-handle-"+e.terminal.id},on:{mousedown:function(t){e.instance.focus()}}},[n("q-btn",{staticClass:"kterm-button kterm-delete-history",attrs:{icon:"mdi-delete-clock-outline",disable:0===e.terminalCommands.length,flat:"",color:"white",dense:""},on:{click:e.deleteHistory}},[n("q-tooltip",{staticClass:"kterm-tooltip",attrs:{anchor:"top middle",self:"bottom middle",offset:[0,8],delay:1e3}},[e._v(e._s(e.$t("label.terminalDeleteHistory")))])],1),n("q-btn",{staticClass:"kterm-button kterm-drag",attrs:{icon:"mdi-resize",flat:"",color:"white",dense:""},on:{click:function(t){e.selectSize=!0}}},[n("q-tooltip",{staticClass:"kterm-tooltip",attrs:{anchor:"top middle",self:"bottom middle",offset:[0,8],delay:1e3}},[e._v(e._s(e.$t("label.terminalResizeWindow")))])],1),e.terminal.active?n("q-btn",{staticClass:"kterm-button kterm-minimize",attrs:{icon:"mdi-window-minimize",flat:"",color:"white",dense:""},on:{click:e.minimize}},[n("q-tooltip",{staticClass:"kterm-tooltip",attrs:{anchor:"top middle",self:"bottom middle",offset:[0,8],delay:1e3}},[e._v(e._s(e.$t("label.terminalMinimize")))])],1):n("q-btn",{staticClass:"kterm-button kterm-minimize",attrs:{icon:"mdi-window-maximize",flat:"",color:"white",dense:""},on:{click:e.maximize}},[n("q-tooltip",{staticClass:"kterm-tooltip",attrs:{anchor:"top middle",self:"bottom middle",offset:[0,8],delay:1e3}},[e._v(e._s(e.$t("label.terminalMaxmize")))])],1),n("q-btn",{staticClass:"kterm-button kterm-close",attrs:{icon:"mdi-close-circle",flat:"",color:"white",dense:""},on:{click:e.closeTerminal}},[n("q-tooltip",{staticClass:"kterm-tooltip",attrs:{anchor:"top middle",self:"bottom middle",offset:[0,8],delay:1e3}},[e._v(e._s(e.$t("label.terminalClose")))])],1)],1),n("div",{directives:[{name:"show",rawName:"v-show",value:e.terminal.active,expression:"terminal.active"}],staticClass:"kterm-terminal",attrs:{id:"kterm-"+e.terminal.id}}),n("q-dialog",{attrs:{color:"mc-main"},on:{ok:e.onOk},scopedSlots:e._u([{key:"buttons",fn:function(t){return[n("q-btn",{attrs:{color:"mc-main",outline:"",label:e.$t("label.appCancel")},on:{click:t.cancel}}),n("q-btn",{attrs:{color:"mc-main",label:e.$t("label.appOK")},on:{click:function(n){e.sizeSelected(t.ok,!1)}}}),n("q-btn",{attrs:{color:"mc-main",outline:"",label:e.$t("label.appSetDefault")},on:{click:function(n){e.sizeSelected(t.ok,!0)}}})]}}]),model:{value:e.selectSize,callback:function(t){e.selectSize=t},expression:"selectSize"}},[n("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.$t("label.titleSelectTerminalSize")))]),n("div",{attrs:{slot:"body"},slot:"body"},[n("q-option-group",{attrs:{type:"radio",color:"mc-main",options:e.TERMINAL_SIZE_OPTIONS.map(function(e){return{label:e.label,value:e.value}})},model:{value:e.selectedSize,callback:function(t){e.selectedSize=t},expression:"selectedSize"}})],1)])],1)},I=[];N._withStripped=!0;var D,B=n("448a"),q=n.n(B),j=(n("96cf"),n("c973")),W=n.n(j),F=n("fcf3");n("f751");function H(e){return e&&(e.$el||e)}function X(e,t,n,i,o){void 0===o&&(o={});var r={left:n,top:i},s=e.height,a=e.width,c=i,l=i+s,u=n,d=n+a,h=o.top||0,p=o.bottom||0,f=o.left||0,m=o.right||0,g=t.top+h,v=t.bottom-p,b=t.left+f,y=t.right-m;return cv&&(r.top=v-s),uy&&(r.left=y-a),r}(function(e){e[e["Start"]=1]="Start",e[e["End"]=2]="End",e[e["Move"]=3]="Move"})(D||(D={}));var U={bind:function(e,t,n,i){U.update(e,t,n,i)},update:function(e,t,n,i){if(!t.value||!t.value.stopDragging){var o=t.value&&t.value.handle&&H(t.value.handle)||e;t&&t.value&&t.value.resetInitialPos&&(p(),g()),o.getAttribute("draggable")||(e.removeEventListener("touchstart",e.listener),e.removeEventListener("mousedown",e.listener),o.addEventListener("mousedown",c),o.addEventListener("touchstart",c,{passive:!1}),o.setAttribute("draggable","true"),e.listener=c,p(),g())}function r(){if(t.value)return t.value.boundingRect||t.value.boundingElement&&t.value.boundingElement.getBoundingClientRect()}function s(){if(!f()){var t=v();t.currentDragPosition&&(e.style.position="fixed",e.style.left=t.currentDragPosition.left+"px",e.style.top=t.currentDragPosition.top+"px")}}function a(e){return e.clientX=e.touches[0].clientX,e.clientY=e.touches[0].clientY,e}function c(e){if(window.TouchEvent&&e instanceof TouchEvent){if(e.targetTouches.length1||(t.value.fingers=2),m({initialPosition:a,startDragPosition:a,currentDragPosition:a,initialPos:d(e)}),s()}function f(){return t&&t.value&&t.value.noMove}function m(e){var t=v(),n=Object.assign({},t,e);o.setAttribute("draggable-state",JSON.stringify(n))}function g(e,n){var i=v(),o={x:0,y:0};i.currentDragPosition&&i.startDragPosition&&(o.x=i.currentDragPosition.left-i.startDragPosition.left,o.y=i.currentDragPosition.top-i.startDragPosition.top);var r=i.currentDragPosition&&Object.assign({},i.currentDragPosition);n===D.End?t.value&&t.value.onDragEnd&&i&&t.value.onDragEnd(o,r,e):n===D.Start?t.value&&t.value.onDragStart&&i&&t.value.onDragStart(o,r,e):t.value&&t.value.onPositionChange&&i&&t.value.onPositionChange(o,r,e)}function v(){return JSON.parse(o.getAttribute("draggable-state"))||{}}}},V=n("741d"),G=n("abcf"),K=(n("abb2"),G["b"].height),$={name:"KlabTerminal",props:{terminal:{type:Object,required:!0},size:{type:String,validator:function(e){return-1!==c["J"].findIndex(function(t){return t.value===e})}},bgcolor:{type:String,default:""}},directives:{Draggable:U},data:function(){var e=this;return{instance:void 0,zIndex:1e3,draggableConfig:{handle:void 0,onDragEnd:function(){e.instance.focus()}},draggableElement:void 0,commandCounter:0,command:[],hasFocus:!1,selectedSize:null,selectSize:!1,commandsIndex:-1,TERMINAL_SIZE_OPTIONS:c["J"]}},computed:s()({background:function(){return""!==this.bgcolor?this.bgcolor:this.terminal.type===c["K"].DEBUGGER?"#002f74":"#2e0047"}},Object(a["c"])("data",["terminalCommands"])),methods:s()({},Object(a["b"])("data",["removeTerminal","addTerminalCommand","clearTerminalCommands"]),{minimize:function(){this.terminal.active=!1,this.changeDraggablePosition({top:window.innerHeight-55,left:25})},maximize:function(){var e=this;this.changeDraggablePosition(this.draggableConfig.initialPosition),this.terminal.active=!0,this.$nextTick(function(){e.instance.focus()})},closeTerminal:function(){this.sendStompMessage(l["a"].CONSOLE_CLOSED({consoleId:this.terminal.id,consoleType:this.terminal.type},this.$store.state.data.session).body),this.instance=null,this.removeTerminal(this.terminal.id)},changeDraggablePosition:function(e){this.draggableElement.style.left="".concat(e.left,"px"),this.draggableElement.style.top="".concat(e.top,"px");var t=JSON.parse(this.draggableConfig.handle.getAttribute("draggable-state"));t.startDragPosition=e,t.currentDragPosition=e,this.draggableConfig.handle.setAttribute("draggable-state",JSON.stringify(t))},commandResponseListener:function(e){e&&e.payload&&e.consoleId===this.terminal.id&&(this.instance.write("\b \b\b \b".concat(e.payload.replaceAll("\n","\r\n"))),this.instance.prompt())},onFocusListener:function(e){this.hasFocus=this.terminal.id===e},sizeSelected:function(){var e=W()(regeneratorRuntime.mark(function e(t,n){var i,o=this;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:i=c["J"].find(function(e){return e.value===o.selectedSize}),this.instance.resize(i.cols,i.rows),n&&V["a"].set(c["P"].COOKIE_TERMINAL_SIZE,this.selectedSize,{expires:30,path:"/",secure:!0});case 5:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}(),onOk:function(){},deleteHistory:function(){this.clearTerminalCommands()}}),created:function(){this.sendStompMessage(l["a"].CONSOLE_CREATED({consoleId:this.terminal.id,consoleType:this.terminal.type},this.$store.state.data.session).body)},mounted:function(){var e,t=this;e=this.size?this.size:V["a"].has(c["P"].COOKIE_TERMINAL_SIZE)?V["a"].get(c["P"].COOKIE_TERMINAL_SIZE):c["J"][0].value;var n=c["J"].find(function(t){return t.value===e});this.selectedSize=n.value,this.instance=new F["Terminal"]({cols:n.cols,rows:n.rows,cursorBlink:!0,bellStyle:"both",theme:{background:this.background}}),this.instance.prompt=function(){t.instance.write("\r\n$ ")},this.instance.open(document.getElementById("kterm-".concat(this.terminal.id))),this.instance.writeln("".concat(this.$t("messages.terminalHello",{type:this.terminal.type})," / ").concat(this.terminal.id)),this.instance.prompt(),this.instance.onData(function(e){var n=function(){for(var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=0;i0){var o=t.command.join("");t.sendStompMessage(l["a"].COMMAND_REQUEST({consoleId:t.terminal.id,consoleType:t.terminal.type,commandId:"".concat(t.terminal.id,"-").concat(++t.commandCounter),payload:o},t.$store.state.data.session).body),t.addTerminalCommand(o)}t.command.splice(0,t.command.length),t.commandsIndex=-1,t.instance.prompt();break;case"":i>2&&t.instance.write("\b \b"),t.command.length>0&&t.command.pop();break;case"":t.terminalCommands.length>0&&t.commandsIndex0&&t.commandsIndex>0?n(t.terminalCommands[--t.commandsIndex]):(n(),t.commandsIndex=-1);break;case"":break;case"":break;default:t.command.push(e),t.instance.write(e)}}),this.instance.textarea.addEventListener("focus",function(){t.$eventBus.$emit(c["h"].TERMINAL_FOCUSED,t.terminal.id)}),this.draggableConfig.handle=document.getElementById("kterm-handle-".concat(this.terminal.id)),this.draggableElement=document.getElementById("kterm-container-".concat(this.terminal.id)),this.draggableConfig.initialPosition={top:window.innerHeight-K(this.draggableElement)-25,left:25},this.instance.focus(),this.$eventBus.$on(c["h"].TERMINAL_FOCUSED,this.onFocusListener),this.$eventBus.$on(c["h"].COMMAND_RESPONSE,this.commandResponseListener)},beforeDestroy:function(){null!==this.instance&&this.closeTerminal(),this.$eventBus.$off(c["h"].TERMINAL_FOCUSED,this.onFocusListener),this.$eventBus.$off(c["h"].COMMAND_RESPONSE,this.commandResponseListener)}},Y=$,J=(n("23a0"),Object(y["a"])(Y,N,I,!1,null,null,null));J.options.__file="KlabTerminal.vue";var Q=J.exports,Z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.activeDialog?n("q-modal",{attrs:{"content-classes":"kaa-container"},model:{value:e.hasActiveDialogs,callback:function(t){e.hasActiveDialogs=t},expression:"hasActiveDialogs"}},[n("div",{staticClass:"kaa-content",domProps:{innerHTML:e._s(e.activeDialog.content)}}),n("div",{staticClass:"kaa-button"},[n("q-btn",{attrs:{color:"app-title-color",label:e.$t("label.appOK")},on:{click:function(t){e.dialogAction(e.activeDialog,!0)}}}),e.activeDialog.type===e.APPS_COMPONENTS.CONFIRM?n("q-btn",{attrs:{color:"app-title-color",label:e.$t("label.appCancel")},on:{click:function(t){e.dialogAction(e.activeDialog,!1)}}}):e._e()],1)]):e._e()},ee=[];Z._withStripped=!0;var te={name:"AppDialogViewer",data:function(){return{activeDialog:null,APPS_COMPONENTS:c["a"]}},computed:s()({},Object(a["c"])("view",["layout","activeDialogs"]),{hasActiveDialogs:{get:function(){return this.activeDialogs.length>0},set:function(){}}}),methods:{setActiveDialog:function(){var e=this;this.activeDialogs.length>0?this.activeDialog=this.activeDialogs[this.activeDialogs.length-1]:this.$nextTick(function(){e.activeDialog=null})},dialogAction:function(e,t){this.activeDialog.dismiss=!0,e.type===c["a"].CONFIRM&&this.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:s()({},e,{components:[]}),booleanValue:t})}},watch:{activeDialogs:function(){this.setActiveDialog()}},mounted:function(){this.setActiveDialog()}},ne=te,ie=(n("715d"),Object(y["a"])(ne,Z,ee,!1,null,null,null));ie.options.__file="AppDialogsViewer.vue";var oe=ie.exports,re=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-layout",{staticClass:"kapp-layout-container",class:{"kapp-main":e.isRootLayout},style:e.modalDimensions,attrs:{view:"hhh lpr fFf",id:"kapp-"+e.idSuffix}},[!e.isModal&&e.hasHeader?n("q-layout-header",{staticClass:"kapp-header-container kapp-container print-hide",class:{"kapp-main":e.isRootLayout},attrs:{id:"kapp-"+e.idSuffix+"-header"}},[e.layout.header?n("klab-app-viewer",{staticClass:"kapp-header",attrs:{component:e.layout.header,direction:"horizontal"}}):n("div",{staticClass:"kapp-header row"},[n("div",{staticClass:"kapp-logo-container"},[n("img",{ref:"kapp-logo",staticClass:"kapp-logo",attrs:{id:"kapp-"+e.idSuffix+"-logo",src:e.logoImage}})]),n("div",{staticClass:"kapp-title-container"},[e.layout.label?n("div",{staticClass:"kapp-title"},[e._v(e._s(e.layout.label)),e.layout.versionString?n("span",{staticClass:"kapp-version"},[e._v(e._s(e.layout.versionString))]):e._e()]):e._e(),e.layout.description?n("div",{staticClass:"kapp-subtitle"},[e._v(e._s(e.layout.description))]):e._e()]),e.layout.menu&&e.layout.menu.length>0?n("div",{staticClass:"kapp-header-menu-container"},e._l(e.layout.menu,function(t){return n("div",{key:t.id,staticClass:"kapp-header-menu-item klab-link",on:{click:function(n){e.clickOnMenu(t.id,t.url)}}},[e._v(e._s(t.text)),t.url?n("span",{staticClass:"klab-external-link"},[e._v("🡥")]):e._e()])})):e._e(),n("div",{staticClass:"kapp-actions-container row items-end justify-end"},[n("main-actions-buttons",{staticClass:"col items-end",attrs:{"is-header":!0}})],1)])],1):e._e(),e.showLeftPanel?n("q-layout-drawer",{staticClass:"kapp-left-container kapp-container print-hide",class:{"kapp-main":e.isRootLayout},attrs:{side:"left","content-class":"kapp-left-inner-container",width:e.leftPanelWidth},model:{value:e.showLeftPanel,callback:function(t){e.showLeftPanel=t},expression:"showLeftPanel"}},[e.leftPanel?[n("klab-app-viewer",{staticClass:"kapp-left-wrapper",attrs:{id:"kapp-"+e.idSuffix+"-left-0",component:e.layout.leftPanels[0],direction:"vertical"}})]:e._e()],2):e._e(),e.showRightPanel?n("q-layout-drawer",{staticClass:"kapp-right-container kapp-container print-hide",class:{"kapp-main":e.isRootLayout},attrs:{side:"right","content-class":"kapp-right-inner-container",width:e.rightPanelWidth},model:{value:e.showRightPanel,callback:function(t){e.showRightPanel=t},expression:"showRightPanel"}},[e.rightPanel?[n("klab-app-viewer",{staticClass:"kapp-right-wrapper",attrs:{id:"kapp-"+e.idSuffix+"-right-0",component:e.layout.rightPanels[0],direction:"vertical"}})]:e._e()],2):e._e(),n("q-page-container",[e.layout&&0!==e.layout.panels.length?[n("klab-app-viewer",{staticClass:"kapp-main-container kapp-container print-hide",attrs:{id:"kapp-"+e.idSuffix+"-main-0",mainPanelStyle:e.mainPanelStyle,component:e.layout.panels[0]}})]:n("k-explorer",{staticClass:"kapp-main-container is-kexplorer",attrs:{id:"kapp-"+e.idSuffix+"-main",mainPanelStyle:e.mainPanelStyle}})],2),n("q-resize-observable",{on:{resize:function(t){e.updateLayout()}}}),n("q-modal",{staticClass:"kapp-modal",attrs:{"no-esc-dismiss":"","no-backdrop-dismiss":"","content-classes":["absolute-center","kapp-loading"]},model:{value:e.blockApp,callback:function(t){e.blockApp=t},expression:"blockApp"}},[n("q-spinner",{attrs:{color:"app-main-color",size:"3em"}})],1)],1)},se=[];re._withStripped=!0;n("6762"),n("2fdb"),n("4917"),n("5df3"),n("1c4c");var ae=n("50fb"),ce=n.n(ae),le=n("84a2"),ue=n.n(le),de=n("6dd8"),he=n("0312"),pe=n.n(he);function fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"y";if(this.isEnabled[i]||this.options.forceVisible){"x"===i?(e=this.scrollbarX,t=this.contentSizeX,n=this.trackXSize):(e=this.scrollbarY,t=this.contentSizeY,n=this.trackYSize);var o=n/t;this.handleSize[i]=Math.max(~~(o*n),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(this.handleSize[i]=Math.min(this.handleSize[i],this.options.scrollbarMaxSize)),"x"===i?e.style.width="".concat(this.handleSize[i],"px"):e.style.height="".concat(this.handleSize[i],"px")}}},{key:"positionScrollbar",value:function(){var e,t,n,i,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y";"x"===o?(e=this.scrollbarX,t=this.contentEl[this.scrollOffsetAttr[o]],n=this.contentSizeX,i=this.trackXSize):(e=this.scrollbarY,t=this.scrollContentEl[this.scrollOffsetAttr[o]],n=this.contentSizeY,i=this.trackYSize);var r=t/(n-i),s=~~((i-this.handleSize[o])*r);(this.isEnabled[o]||this.options.forceVisible)&&(e.style.transform="x"===o?"translate3d(".concat(s,"px, 0, 0)"):"translate3d(0, ".concat(s,"px, 0)"))}},{key:"toggleTrackVisibility",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y",t="y"===e?this.trackY:this.trackX,n="y"===e?this.scrollbarY:this.scrollbarX;this.isEnabled[e]||this.options.forceVisible?t.style.visibility="visible":t.style.visibility="hidden",this.options.forceVisible&&(this.isEnabled[e]?n.style.visibility="visible":n.style.visibility="hidden")}},{key:"hideNativeScrollbar",value:function(){this.scrollbarWidth=ce()(),this.scrollContentEl.style[this.isRtl?"paddingLeft":"paddingRight"]="".concat(this.scrollbarWidth||this.offsetSize,"px"),this.scrollContentEl.style.marginBottom="-".concat(2*this.scrollbarWidth||this.offsetSize,"px"),this.contentEl.style.paddingBottom="".concat(this.scrollbarWidth||this.offsetSize,"px"),0!==this.scrollbarWidth&&(this.contentEl.style[this.isRtl?"marginLeft":"marginRight"]="-".concat(this.scrollbarWidth,"px"))}},{key:"showScrollbar",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y";this.isVisible[t]||(e="x"===t?this.scrollbarX:this.scrollbarY,this.isEnabled[t]&&(e.classList.add("visible"),this.isVisible[t]=!0),this.options.autoHide&&(window.clearInterval(this.flashTimeout),this.flashTimeout=window.setInterval(this.hideScrollbars,this.options.timeout)))}},{key:"onDrag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y";e.preventDefault();var n="y"===t?this.scrollbarY:this.scrollbarX,i="y"===t?e.pageY:e.pageX;this.dragOffset[t]=i-n.getBoundingClientRect()[this.offsetAttr[t]],this.currentAxis=t,document.addEventListener("mousemove",this.drag),document.addEventListener("mouseup",this.onEndDrag)}},{key:"getScrollElement",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y";return"y"===e?this.scrollContentEl:this.contentEl}},{key:"getContentElement",value:function(){return this.contentEl}},{key:"removeListeners",value:function(){this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),this.scrollContentEl.removeEventListener("scroll",this.onScrollY),this.contentEl.removeEventListener("scroll",this.onScrollX),this.mutationObserver.disconnect(),this.resizeObserver.disconnect()}},{key:"unMount",value:function(){this.removeListeners(),this.el.SimpleBar=null}},{key:"isChildNode",value:function(e){return null!==e&&(e===this.el||this.isChildNode(e.parentNode))}},{key:"isWithinBounds",value:function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height}}],[{key:"initHtmlApi",value:function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!==typeof MutationObserver&&(this.globalObserver=new MutationObserver(function(t){t.forEach(function(t){Array.from(t.addedNodes).forEach(function(t){1===t.nodeType&&(t.hasAttribute("data-simplebar")?!t.SimpleBar&&new e(t,e.getElOptions(t)):Array.from(t.querySelectorAll("[data-simplebar]")).forEach(function(t){!t.SimpleBar&&new e(t,e.getElOptions(t))}))}),Array.from(t.removedNodes).forEach(function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?e.SimpleBar&&e.SimpleBar.unMount():Array.from(e.querySelectorAll("[data-simplebar]")).forEach(function(e){e.SimpleBar&&e.SimpleBar.unMount()}))})})}),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))}},{key:"getElOptions",value:function(e){var t=Array.from(e.attributes).reduce(function(e,t){var n=t.name.match(/data-simplebar-(.+)/);if(n){var i=n[1].replace(/\W+(.)/g,function(e,t){return t.toUpperCase()});switch(t.value){case"true":e[i]=!0;break;case"false":e[i]=!1;break;case void 0:e[i]=!0;break;default:e[i]=t.value}}return e},{});return t}},{key:"removeObserver",value:function(){this.globalObserver.disconnect()}},{key:"initDOMLoadedElements",value:function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.from(document.querySelectorAll("[data-simplebar]")).forEach(function(t){t.SimpleBar||new e(t,e.getElOptions(t))})}},{key:"defaultOptions",get:function(){return{autoHide:!0,forceVisible:!1,classNames:{content:"simplebar-content",scrollContent:"simplebar-scroll-content",scrollbar:"simplebar-scrollbar",track:"simplebar-track"},scrollbarMinSize:25,scrollbarMaxSize:0,direction:"ltr",timeout:1e3}}}]),e}();pe.a&&ve.initHtmlApi();var be=ve,ye=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-layout",{staticClass:"kexplorer-main-container print-hide",style:{width:e.mainPanelStyle.width+"px",height:e.mainPanelStyle.height+"px"},attrs:{view:"hHh lpr fFf",container:""}},[n("q-layout-drawer",{attrs:{side:"left",overlay:!1,breakpoint:0,width:e.leftMenuState===e.LEFTMENU_CONSTANTS.LEFTMENU_MAXIMIZED?e.LEFTMENU_CONSTANTS.LEFTMENU_MAXSIZE:e.LEFTMENU_CONSTANTS.LEFTMENU_MINSIZE,"content-class":["klab-left","no-scroll",e.largeMode?"klab-large-mode":""]},model:{value:e.leftMenuVisible,callback:function(t){e.leftMenuVisible=t},expression:"leftMenuVisible"}},[n("klab-left-menu")],1),n("q-page-container",[n("q-page",{staticClass:"column"},[n("div",{staticClass:"col row full-height kexplorer-container",class:{"kd-is-app":null!==e.layout}},[n("keep-alive",[n(e.mainViewer.name,{tag:"component",attrs:{"container-style":{width:e.mainPanelStyle.width-e.leftMenuWidth,height:e.mainPanelStyle.height}}})],1),n("q-resize-observable",{on:{resize:e.setChildrenToAskFor}})],1),n("div",{staticClass:"col-1 row"},[e.logVisible?n("klab-log"):e._e()],1),n("transition",{attrs:{name:"component-fade",mode:"out-in"}},[e.mainViewer.mainControl?n("klab-main-control",{directives:[{name:"show",rawName:"v-show",value:e.isTreeVisible,expression:"isTreeVisible"}]}):e._e()],1),n("transition",{attrs:{appear:"","enter-active-class":"animated zoomIn","leave-active-class":"animated zoomOut"}},[e.askForUndocking&&!e.mainViewer.mainControl?n("div",{staticClass:"kexplorer-undocking full-height full-width"}):e._e()]),e.isMainControlDocked?e._e():n("observation-time"),n("input-request-modal"),n("scale-change-dialog")],1)],1)],1)},_e=[];ye._withStripped=!0;var Me=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:!e.isDrawMode,expression:"!isDrawMode"}],ref:"main-control-container",staticClass:"mc-container print-hide small"},[n("transition",{attrs:{appear:"","enter-active-class":"animated fadeInLeft","leave-active-class":"animated fadeOutLeft"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isHidden,expression:"isHidden"}],staticClass:"spinner-lonely-div klab-spinner-div",style:{left:e.defaultLeft+"px",top:e.defaultTop+"px","border-color":e.hasTasks()?e.spinnerColor.color:"rgba(0,0,0,0)"}},[n("klab-spinner",{staticClass:"spinner-lonely",attrs:{"store-controlled":!0,size:40,ball:22,wrapperId:"spinner-lonely-div"},nativeOn:{dblclick:function(t){return e.show(t)},touchstart:function(t){e.handleTouch(t,null,e.show)}}})],1)]),n("transition",{attrs:{appear:"","enter-active-class":"animated fadeInLeft","leave-active-class":"animated fadeOutLeft"}},[n("q-card",{directives:[{name:"draggable",rawName:"v-draggable",value:e.dragMCConfig,expression:"dragMCConfig"},{name:"show",rawName:"v-show",value:!e.isHidden,expression:"!isHidden"}],staticClass:"mc-q-card no-box-shadow absolute lot-of-flow",class:[e.hasContext?"with-context":"bg-transparent without-context","mc-large-mode-"+e.largeMode],style:e.qCardStyle,attrs:{draggable:"false",flat:!0},nativeOn:{contextmenu:function(e){e.preventDefault()}}},[n("q-card-title",{ref:"mc-draggable",staticClass:"mc-q-card-title q-pa-xs",class:[e.fuzzyMode?"klab-fuzzy":"",e.searchIsFocused?"klab-search-focused":""],style:{"background-color":e.getBGColor(e.hasContext?"1.0":e.searchIsFocused?".8":".2")},attrs:{ondragstart:"return false;"},nativeOn:{mousedown:function(t){e.moved=!1},mousemove:function(t){e.moved=!0},mouseup:function(t){return e.focusSearch(t)}}},[n("klab-search-bar",{ref:"klab-search-bar"}),n("klab-breadcrumbs",{attrs:{slot:"subtitle"},slot:"subtitle"})],1),n("q-card-actions",{directives:[{name:"show",rawName:"v-show",value:e.hasContext&&!e.isHidden&&!e.hasHeader&&null===e.layout,expression:"hasContext && !isHidden && !hasHeader && layout === null"}],staticClass:"context-actions no-margin"},[n("div",{staticClass:"mc-tabs"},[n("div",{staticClass:"klab-button mc-tab",class:["tab-button",{active:"klab-log-pane"===e.selectedTab}],on:{click:function(t){e.selectedTab="klab-log-pane"}}},[n("q-icon",{attrs:{name:"mdi-console"}},[n("q-tooltip",{attrs:{offset:[0,8],self:"top middle",anchor:"bottom middle"}},[e._v(e._s(e.$t("tooltips.showLogPane")))])],1)],1),n("div",{staticClass:"klab-button mc-tab",class:["tab-button",{active:"klab-tree-pane"===e.selectedTab}],on:{click:function(t){e.selectedTab="klab-tree-pane"}}},[n("q-icon",{attrs:{name:"mdi-folder-image"}},[n("q-tooltip",{attrs:{offset:[0,8],self:"top middle",anchor:"bottom middle"}},[e._v(e._s(e.$t("tooltips.treePane")))])],1)],1)]),n("main-actions-buttons",{attrs:{orientation:"horizontal","separator-class":"mc-separator"}}),n("scale-buttons",{attrs:{docked:!1}}),n("div",{staticClass:"mc-separator",staticStyle:{right:"35px"}}),n("stop-actions-buttons")],1),n("q-card-main",{directives:[{name:"show",rawName:"v-show",value:e.hasContext&&!e.isHidden,expression:"hasContext && !isHidden"}],staticClass:"no-margin relative-position",attrs:{draggable:"false"}},[n("keep-alive",[n("transition",{attrs:{name:"component-fade",mode:"out-in"}},[n(e.selectedTab,{tag:"component"})],1)],1)],1),n("q-card-actions",{directives:[{name:"show",rawName:"v-show",value:e.hasContext&&!e.isHidden,expression:"hasContext && !isHidden"}],staticClass:"kmc-bottom-actions"},[n("div",{staticClass:"klab-button klab-action"},[n("q-icon",{attrs:{name:"mdi-terrain"}}),n("q-tooltip",{attrs:{offset:[0,8],self:"top middle",anchor:"bottom middle"}},[e._v(e._s(e.$t("tooltips.scenarios")))])],1),n("div",{staticClass:"klab-button klab-action"},[n("q-icon",{attrs:{name:"mdi-human-male-female"}}),n("q-tooltip",{attrs:{offset:[0,8],self:"top middle",anchor:"bottom middle"}},[e._v(e._s(e.$t("tooltips.observers")))])],1),e.contextHasTime?n("observations-timeline",{staticClass:"mc-timeline"}):e._e()],1)],1)],1),n("transition",{attrs:{appear:"","enter-active-class":"animated zoomIn","leave-active-class":"animated zoomOut"}},[e.askForDocking?n("div",{staticClass:"mc-docking full-height",style:{width:e.leftMenuMaximized}}):e._e()])],1)},we=[];Me._withStripped=!0;var Ce=n("1fe0"),Se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"klab-actions",class:e.orientation},[n("div",{staticClass:"klab-main-actions"},["horizontal"!==e.orientation||e.isHeader?n("div",{staticClass:"klab-button klab-action",class:[{active:e.mainViewerName===e.VIEWERS.DATA_VIEWER.name}],on:{click:function(t){e.mainViewerName!==e.VIEWERS.DATA_VIEWER.name&&e.click(e.isMainControlDocked?e.VIEWERS.DOCKED_DATA_VIEWER:e.VIEWERS.DATA_VIEWER)}}},[n("q-icon",{attrs:{name:"mdi-folder-image"}},[n("q-tooltip",{attrs:{delay:600,offset:[0,8],self:e.tooltipAnchor("top"),anchor:e.tooltipAnchor("bottom")}},[e._v(e._s(e.$t("tooltips.dataViewer")))])],1)],1):e._e(),n("div",{staticClass:"klab-button klab-action",class:[{active:e.mainViewerName===e.VIEWERS.DOCUMENTATION_VIEWER.name,disabled:e.mainViewerName!==e.VIEWERS.DOCUMENTATION_VIEWER.name&&(!e.hasContext||!e.hasObservations)}],on:{click:function(t){e.mainViewerName!==e.VIEWERS.DOCUMENTATION_VIEWER.name&&e.hasContext&&e.hasObservations&&e.click(e.VIEWERS.DOCUMENTATION_VIEWER)}}},[n("q-icon",{attrs:{name:"mdi-text-box-multiple-outline"}},[e.reloadViews.length>0?n("span",{staticClass:"klab-button-notification"}):e._e(),n("q-tooltip",{attrs:{delay:600,offset:[0,8],self:e.tooltipAnchor("top"),anchor:e.tooltipAnchor("bottom")}},[e._v(e._s(e.hasObservations?e.$t("tooltips.documentationViewer"):e.$t("tooltips.noDocumentation")))])],1)],1),n("div",{staticClass:"klab-button klab-action",class:[{active:e.mainViewerName===e.VIEWERS.DATAFLOW_VIEWER.name,disabled:e.mainViewerName!==e.VIEWERS.DATAFLOW_VIEWER.name&&!e.hasContext}],on:{click:function(t){e.mainViewerName!==e.VIEWERS.DATAFLOW_VIEWER.name&&e.hasContext&&e.click(e.VIEWERS.DATAFLOW_VIEWER)}}},[n("q-icon",{attrs:{name:"mdi-sitemap"}},[e.mainViewerName!==e.VIEWERS.DATAFLOW_VIEWER.name&&e.hasContext&&e.flowchartsUpdatable?n("span",{staticClass:"klab-button-notification"}):e._e(),n("q-tooltip",{attrs:{delay:600,offset:[0,8],self:e.tooltipAnchor("top"),anchor:e.tooltipAnchor("bottom")}},[e._v(e._s(e.flowchartsUpdatable?e.$t("tooltips.dataflowViewer"):e.$t("tooltips.noDataflow")))])],1)],1)])])},Ae=[];Se._withStripped=!0;var Ee={name:"MainActionsButtons",props:{orientation:{type:String,default:"horizontal"},separatorClass:{type:String,default:""},isHeader:{type:Boolean,default:!1}},data:function(){return{}},computed:s()({},Object(a["c"])("data",["hasObservations","flowchartsUpdatable","hasContext"]),Object(a["c"])("view",["spinnerColor","mainViewerName","statusTextsString","statusTextsLength","isMainControlDocked","reloadViews"])),methods:s()({},Object(a["b"])("view",["setMainViewer"]),{tooltipAnchor:function(e){return"".concat(e," ").concat("horizontal"===this.orientation?"middle":"left")},click:function(e){var t=this;this.setMainViewer(e),this.$nextTick(function(){t.$eventBus.$emit(c["h"].MAP_SIZE_CHANGED,{type:"changelayout"})})}}),created:function(){this.VIEWERS=c["M"]}},Oe=Ee,Le=(n("6208"),Object(y["a"])(Oe,Se,Ae,!1,null,null,null));Le.options.__file="MainActionsButtons.vue";var Te=Le.exports,xe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"klab-destructive-actions"},[e.hasContext&&!e.hasTasks(e.contextId)?n("div",{staticClass:"klab-button klab-reset-context",on:{click:e.resetContext}},[n("q-icon",{attrs:{name:"mdi-close-circle-outline"}},[n("q-tooltip",{attrs:{delay:600,offset:[0,8],self:e.tooltipAnchor("top"),anchor:e.tooltipAnchor("bottom")}},[e._v(e._s(e.$t("tooltips.resetContext")))])],1)],1):e._e(),e.hasContext&&e.hasTasks(e.contextId)?n("div",{staticClass:"klab-button klab-interrupt-task",on:{click:e.interruptTask}},[n("q-icon",{attrs:{name:"mdi-stop-circle-outline"}},[n("q-tooltip",{attrs:{delay:600,offset:[0,8],self:e.tooltipAnchor("top"),anchor:e.tooltipAnchor("bottom")}},[e._v(e._s(e.$t("tooltips.interruptTask",{taskDescription:e.lastActiveTaskText})))])],1)],1):e._e()])},Re=[];xe._withStripped=!0;var ke={computed:s()({},Object(a["c"])("data",["hasContext","contextId","session"])),methods:s()({},Object(a["b"])("data",["loadContext","setWaitinForReset"]),Object(a["b"])("view",["setSpinner"]),{loadOrReloadContext:function(e,t){null!==e&&this.setSpinner(s()({},c["H"].SPINNER_LOADING,{owner:e})),this.hasContext?(this.sendStompMessage(l["a"].RESET_CONTEXT(this.$store.state.data.session).body),null!==e?this.setWaitinForReset(e):"function"===typeof t&&this.callbackIfNothing()):this.loadContext(e)}})},ze={name:"StopActionsButtons",mixins:[ke],data:function(){return{}},computed:s()({},Object(a["c"])("data",["hasContext","contextId","previousContext"]),Object(a["c"])("stomp",["hasTasks","lastActiveTask"]),{lastActiveTaskText:function(){var e=null===this.lastActiveTask(this.contextId)?"":this.lastActiveTask(this.contextId).description;return e.includes(c["p"].UNKNOWN_SEARCH_OBSERVATION)?e.replace(c["p"].UNKNOWN_SEARCH_OBSERVATION,this.$t("messages.unknownSearchObservation")):e}}),methods:{tooltipAnchor:function(e){return"".concat(e," ").concat("horizontal"===this.orientation?"middle":"left")},resetContext:function(){this.sendStompMessage(l["a"].RESET_CONTEXT(this.$store.state.data.session).body)},interruptTask:function(){var e=this.lastActiveTask(this.contextId);null!==e&&e.alive&&this.sendStompMessage(l["a"].TASK_INTERRUPTED({taskId:e.id},this.$store.state.data.session).body)}}},Pe=ze,Ne=(n("c31b"),Object(y["a"])(Pe,xe,Re,!1,null,null,null));Ne.options.__file="StopActionsButtons.vue";var Ie=Ne.exports,De=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:[e.hasContext?"with-context":"without-context",e.isDocked?"ksb-docked":""],style:{width:e.isDocked&&e.searchIsFocused&&e.largeMode?e.getLargeModeWidth():"100%"},attrs:{id:"ksb-container"}},[e.isDocked?e._e():n("div",{staticClass:"klab-spinner-div",attrs:{id:"ksb-spinner"}},[n("klab-spinner",{style:{"box-shadow":e.searchIsFocused?"0px 0px 3px "+e.getBGColor(".4"):"none"},attrs:{"store-controlled":!0,color:e.spinnerColor.hex,size:40,ball:22,wrapperId:"ksb-spinner",id:"spinner-searchbar"},nativeOn:{dblclick:function(t){return e.emitSpinnerDoubleclick(t)},touchstart:function(t){t.stopPropagation(),e.handleTouch(t,e.showSuggestions,e.emitSpinnerDoubleclick)}}})],1),n("div",{class:[e.fuzzyMode?"klab-fuzzy":"",e.searchIsFocused?"klab-search-focused":""],style:{"background-color":e.isDocked?e.getBGColor(e.hasContext?"1.0":e.searchIsFocused?".8":e.isDocked?"1.0":".2"):"rgba(0,0,0,0)"},attrs:{id:"ksb-search-container"}},[e.searchIsActive?n("klab-search",{ref:"klab-search",staticClass:"klab-search",on:{"busy-search":e.busySearch}}):n("div",{staticClass:"ksb-context-text text-white"},[n("scrolling-text",{ref:"st-context-text",attrs:{"with-edge":!0,"hover-active":!0,"initial-text":null===e.mainContextLabel?e.$t("label.noContextPlaceholder"):e.mainContextLabel,"placeholder-style":!e.hasContext}})],1),n("div",{ref:"ksb-status-texts",staticClass:"ksb-status-texts"},[n("scrolling-text",{ref:"st-status-text",attrs:{"with-edge":!0,edgeOpacity:e.hasContext?1:e.searchIsFocused?.8:.2,hoverActive:!1,initialText:e.statusTextsString,accentuate:!0}})],1),e.isScaleLocked["space"]&&!e.hasContext?n("q-icon",{attrs:{name:"mdi-lock-outline"}},[n("q-tooltip",{attrs:{anchor:"bottom middle",self:"top middle",offset:[10,5],delay:500}},[e._v(e._s(e.$t("label.scaleLocked",{type:e.$t("label.spaceScale")})))])],1):e._e(),n("main-control-menu")],1)])},Be=[];De._withStripped=!0;var qe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"ks-container",attrs:{id:"ks-container"}},[n("div",{staticStyle:{position:"relative"},attrs:{id:"ks-internal-container"}},[e._l(e.acceptedTokens,function(t,i){return n("div",{key:t.index,ref:"token-"+t.index,refInFor:!0,class:["ks-tokens-accepted","ks-tokens","bg-semantic-elements",t.selected?"selected":"","text-"+t.leftColor],style:{"border-color":t.selected?t.rgb:"transparent"},attrs:{tabindex:i},on:{focus:function(n){e.onTokenFocus(t,n)},blur:function(n){e.onTokenFocus(t,n)},keydown:e.onKeyPressedOnToken,touchstart:function(t){e.handleTouch(t,null,e.deleteLastToken)}}},[e._v(e._s(t.value)+"\n "),n("q-tooltip",{attrs:{delay:500,offset:[0,15],self:"top left",anchor:"bottom left"}},[t.sublabel.length>0?n("span",[e._v(e._s(t.sublabel))]):n("span",[e._v(e._s(e.$t("label.noTokenDescription")))])])],1)}),n("div",{staticClass:"ks-tokens",class:[e.fuzzyMode?"ks-tokens-fuzzy":"ks-tokens-klab"]},[n("q-input",{ref:"ks-search-input",class:[e.fuzzyMode?"ks-fuzzy":"",e.searchIsFocused?"ks-search-focused":""],attrs:{autofocus:!0,placeholder:e.fuzzyMode?e.$t("label.fuzzySearchPlaceholder"):e.$t("label.searchPlaceholder"),size:"20",id:"ks-search-input",tabindex:e.acceptedTokens.length,"hide-underline":!0},on:{focus:function(t){e.onInputFocus(!0)},blur:function(t){e.onInputFocus(!1)},keydown:e.onKeyPressedOnSearchInput,keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,"Escape"))return null;e.searchEnd({})}},nativeOn:{contextmenu:function(e){e.preventDefault()},touchstart:function(t){e.handleTouch(t,null,e.searchInKLab)}},model:{value:e.actualToken,callback:function(t){e.actualToken=t},expression:"actualToken"}},[n("klab-autocomplete",{ref:"ks-autocomplete",class:[e.notChrome()?"not-chrome":""],attrs:{debounce:400,"min-characters":e.minimumCharForAutocomplete,"max-results":50,id:"ks-autocomplete"},on:{search:e.autocompleteSearch,selected:e.selected,show:e.onAutocompleteShow,hide:e.onAutocompleteHide}})],1)],1)],2)])},je=[];qe._withStripped=!0;n("386d");var We=n("278c"),Fe=n.n(We),He=n("2b0e"),Xe=n("b0b2"),Ue=n("b12a"),Ve=n("7ea0"),Ge=n("b5b8"),Ke=n("1180"),$e=n("68c2"),Ye=n("506f"),Je=n("b8d9"),Qe=n("52b5"),Ze=n("03d8"),et={name:"QItemSide",props:{right:Boolean,icon:String,letter:{type:String,validator:function(e){return 1===e.length}},inverted:Boolean,avatar:String,image:String,stamp:String,color:String,textColor:String,tooltip:{type:Object,default:null}},computed:{type:function(){var e=this;return["icon","image","avatar","letter","stamp"].find(function(t){return e[t]})},classes:function(){var e=["q-item-side-".concat(this.right?"right":"left")];return!this.color||this.icon||this.letter||e.push("text-".concat(this.color)),e},typeClasses:function(){var e=["q-item-".concat(this.type)];return this.color&&(this.inverted&&(this.icon||this.letter)?e.push("bg-".concat(this.color)):this.textColor||e.push("text-".concat(this.color))),this.textColor&&e.push("text-".concat(this.textColor)),this.inverted&&(this.icon||this.letter)&&(e.push("q-item-inverted"),e.push("flex"),e.push("flex-center")),e},imagePath:function(){return this.image||this.avatar}},render:function(e){var t;return this.type&&(this.icon?(t=e(Qe["a"],{class:this.inverted?null:this.typeClasses,props:{name:this.icon,tooltip:this.tooltip}}),this.inverted&&(t=e("div",{class:this.typeClasses},[t]))):t=this.imagePath?e("img",{class:this.typeClasses,attrs:{src:this.imagePath}}):e("div",{class:this.typeClasses},[this.stamp||this.letter])),e("div",{staticClass:"q-item-side q-item-section",class:this.classes},[null!==this.tooltip?e(Ze["a"],{ref:"tooltip",class:"kl-model-desc-container",props:{offset:[25,0],anchor:"top right",self:"top left"}},[e("div",{class:["kl-model-desc","kl-model-desc-title"]},this.tooltip.title),e("div",{class:["kl-model-desc","kl-model-desc-state","bg-state-".concat(this.tooltip.state)]},this.tooltip.state),e("div",{class:["kl-model-desc","kl-model-desc-content"]},this.tooltip.content)]):null,t,this.$slots.default])}};function tt(e,t,n,i,o,r){var s={props:{right:r.right}};if(i&&o)e.push(t(n,s,i));else{var a=!1;for(var c in r)if(r.hasOwnProperty(c)&&(a=r[c],void 0!==a&&!0!==a)){e.push(t(n,{props:r}));break}i&&e.push(t(n,s,i))}}var nt={name:"QItemWrapper",props:{cfg:{type:Object,default:function(){return{}}},slotReplace:Boolean},render:function(e){var t=this.cfg,n=this.slotReplace,i=[];return tt(i,e,et,this.$slots.left,n,{icon:t.icon,color:t.leftColor,avatar:t.avatar,letter:t.letter,image:t.image,inverted:t.leftInverted,textColor:t.leftTextColor,tooltip:t.leftTooltip}),tt(i,e,Je["a"],this.$slots.main,n,{label:t.label,sublabel:t.sublabel,labelLines:t.labelLines,sublabelLines:t.sublabelLines,inset:t.inset}),tt(i,e,et,this.$slots.right,n,{right:!0,icon:t.rightIcon,color:t.rightColor,avatar:t.rightAvatar,letter:t.rightLetter,image:t.rightImage,stamp:t.stamp,inverted:t.rightInverted,textColor:t.rightTextColor,tooltip:t.rightTooltip}),i.push(this.$slots.default),e(Ye["a"],{attrs:this.$attrs,on:this.$listeners,props:t},i)}},it=G["b"].width,ot={name:"KlabQAutocomplete",extends:Ve["a"],methods:{trigger:function(e){var t=this;if(this.__input&&this.__input.isEditable()&&this.__input.hasFocus()&&this.isWorking()){var n=[null,void 0].includes(this.__input.val)?"":String(this.__input.val),i=n.length,o=Object($e["a"])(),r=this.$refs.popover;if(this.searchId=o,i0)return this.searchId="",this.__clearSearch(),void this.hide();if(this.width=it(this.inputEl)+"px",this.staticData)return this.searchId="",this.results=this.filter(n,this.staticData),this.results.length?void this.__showResults():void r.hide();this.$emit("search",n,function(e){if(t.isWorking()&&t.searchId===o){if(t.__clearSearch(),Array.isArray(e)&&e.length>0)return t.results=e,void t.__showResults();t.hide()}})}}},render:function(e){var t=this,n=this.__input.isDark();return e(Ge["a"],{ref:"popover",class:n?"bg-dark":null,props:{fit:!0,keepOnScreen:!0,anchorClick:!1,maxHeight:this.maxHeight,noFocus:!0,noRefocus:!0},on:{show:function(){t.__input.selectionOpen=!0,t.$emit("show")},hide:function(){t.__input.selectionOpen=!1,t.$emit("hide")}},nativeOn:{mousedown:function(e){e.preventDefault()}}},[e(Ke["a"],{props:{dark:n,noBorder:!0,separator:this.separator},style:this.computedWidth},this.computedResults.map(function(n,i){return e(nt,{key:n.id||i,class:{"q-select-highlight":t.keyboardIndex===i,"cursor-pointer":!n.disable,"text-faded":n.disable,"ka-separator":n.separator},props:{cfg:n},nativeOn:{mousedown:function(e){!n.disable&&(t.keyboardIndex=i),e.preventDefault()},click:function(){!n.disable&&t.setValue(n)}}})}))])}},rt={data:function(){return{doubleTouchTimeout:null}},methods:{handleTouch:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:300;window.TouchEvent&&e instanceof TouchEvent&&(1===e.targetTouches.length?null===this.doubleTouchTimeout?this.doubleTouchTimeout=setTimeout(function(){t.doubleTouchTimeout=null,null!==n&&n(e)},r):(clearTimeout(this.doubleTouchTimeout),this.doubleTouchTimeout=null,null!==i&&i()):null!==o&&o(e))}}},st="=(<)>",at={name:"KlabSearch",components:{KlabAutocomplete:ot},mixins:[rt],props:{maxResults:{type:Number,default:-1}},data:function(){return{searchContextId:null,searchRequestId:0,doneFunc:null,result:null,acceptedTokens:[],actualToken:"",actualSearchString:"",noSearch:!1,searchDiv:null,searchDivInitialSize:void 0,searchDivInternal:void 0,searchInput:null,autocompleteEl:null,scrolled:0,suggestionShowed:!1,searchTimeout:null,searchHistoryIndex:-1,autocompleteSB:null,freeText:!1,parenthesisDepth:0,last:!1,minimumCharForAutocomplete:2}},computed:s()({},Object(a["c"])("data",["searchResult","contextId","isCrossingIDL"]),Object(a["c"])("view",["spinner","searchIsFocused","searchLostChar","searchInApp","searchHistory","fuzzyMode","largeMode","isDocked","engineEventsCount"]),{inputSearchColor:{get:function(){return this.searchInput?this.searchInput.$refs.input.style.color:"black"},set:function(e){this.searchInput.$refs.input&&(this.searchInput.$refs.input.style.color=e)}}}),methods:s()({},Object(a["b"])("data",["setContextCustomLabel"]),Object(a["b"])("view",["searchStop","setSpinner","searchFocus","resetSearchLostChar","storePreviousSearch","setFuzzyMode","setLargeMode"]),{notChrome:function(){return-1===navigator.userAgent.indexOf("Chrome")},onTokenFocus:function(e,t){e.selected="focus"===t.type},onInputFocus:function(e){this.searchFocus({focused:e}),this.actualToken=this.actualSearchString},onAutocompleteShow:function(){this.suggestionShowed=!0},onAutocompleteHide:function(){this.suggestionShowed=!1,this.actualToken!==this.actualSearchString&&(this.noSearch=!0,this.resetSearchInput())},onKeyPressedOnToken:function(e){var t=this;if(37===e.keyCode||39===e.keyCode){e.preventDefault();var n=this.acceptedTokens.findIndex(function(e){return e.selected}),i=null,o=!1;if(37===e.keyCode&&n>0?i="token-".concat(this.acceptedTokens[n-1].index):39===e.keyCode&&n=s&&(n=s)}else{var a=o?r.$el:r,c=(o?a.offsetLeft:r.offsetLeft)+i+a.offsetWidth,l=t.searchDiv.offsetWidth+t.searchDiv.scrollLeft;l<=c&&(n=t.searchDiv.scrollLeft+(c-l)-i)}null!==n&&He["a"].nextTick(function(){t.searchDiv.scrollLeft=n})})}}},onKeyPressedOnSearchInput:function(e){var t=this;if(this.noSearch=!1,this.last)return e.preventDefault(),void this.$q.notify({message:this.$t("messages.lastTermAlertText"),type:"warning",icon:"mdi-alert",timeout:2e3});switch(e.keyCode){case 8:if(""===this.actualToken&&0!==this.acceptedTokens.length){var n=this.acceptedTokens.pop();this.searchHistoryIndex=-1,e.preventDefault(),this.sendStompMessage(l["a"].SEARCH_MATCH({contextId:this.searchContextId,matchIndex:n.matchIndex,matchId:n.id,added:!1},this.$store.state.data.session).body),this.freeText=this.acceptedTokens.length>0&&this.acceptedTokens[this.acceptedTokens.length-1].nextTokenClass!==c["v"].NEXT_TOKENS.TOKEN,this.$nextTick(function(){t.checkLargeMode(!1)})}else""!==this.actualSearchString?(e.preventDefault(),this.actualSearchString=this.actualSearchString.slice(0,-1),""===this.actualSearchString&&this.setFuzzyMode(!1)):""===this.actualSearchString&&""!==this.actualToken&&(this.actualToken="",e.preventDefault());break;case 9:this.suggestionShowed&&-1!==this.autocompleteEl.keyboardIndex?(this.autocompleteEl.setValue(this.autocompleteEl.results[this.autocompleteEl.keyboardIndex]),this.searchHistoryIndex=-1):this.freeText&&this.acceptText(),e.preventDefault();break;case 13:this.freeText||this.fuzzyMode?this.acceptText():this.searchInKLab(e);break;case 27:this.suggestionShowed?this.autocompleteEl.hide():this.searchEnd({noStore:!0}),e.preventDefault();break;case 32:if(e.preventDefault(),this.fuzzyMode)this.searchHistoryIndex=-1,this.actualSearchString+=e.key;else if(this.freeText)this.acceptFreeText();else if(this.suggestionShowed){var i=-1===this.autocompleteEl.keyboardIndex?0:this.autocompleteEl.keyboardIndex,o=this.autocompleteEl.results[i];o.separator||(this.autocompleteEl.setValue(o),this.searchHistoryIndex=-1)}else this.askForSuggestion()||this.$q.notify({message:this.$t("messages.noSpaceAllowedInSearch"),type:"warning",icon:"mdi-alert",timeout:1500});break;case 37:if(!this.suggestionShowed&&0===this.searchInput.$refs.input.selectionStart&&this.acceptedTokens.length>0){var r=this.acceptedTokens[this.acceptedTokens.length-1];He["a"].nextTick(function(){t.$refs["token-".concat(r.index)][0].focus()}),e.preventDefault()}break;case 38:this.suggestionShowed||this.searchHistoryEvent(1,e);break;case 40:this.suggestionShowed||this.searchHistoryEvent(-1,e);break;default:this.isAcceptedKey(e.key)?")"===e.key&&0===this.parenthesisDepth?e.preventDefault():(e.preventDefault(),0===this.acceptedTokens.length&&0===this.searchInput.$refs.input.selectionStart&&Object(Xe["h"])(e.key)&&this.setFuzzyMode(!0),this.searchHistoryIndex=-1,this.actualSearchString+=e.key,-1!==st.indexOf(e.key)&&this.askForSuggestion(e.key.trim())):39!==e.keyCode&&e.preventDefault();break}},acceptText:function(){var e=this,t=this.actualToken.trim();""===t?this.$q.notify({message:this.$t("messages.emptyFreeTextSearch"),type:"warning",icon:"mdi-alert",timeout:1e3}):this.search(this.actualToken,function(t){t&&t.length>0?e.selected(t[0],!1):e.$q.notify({message:e.$t("messages.noSearchResults"),type:"info",icon:"mdi-information",timeout:1e3})})},selected:function(e,t){var n=this;if(t)this.inputSearchColor=e.rgb;else{if(this.acceptedTokens.push(e),this.actualSearchString="",this.sendStompMessage(l["a"].SEARCH_MATCH({contextId:this.searchContextId,matchIndex:e.matchIndex,matchId:e.id,added:!0},this.$store.state.data.session).body),this.fuzzyMode)return void this.$nextTick(function(){n.searchEnd({})});this.freeText=e.nextTokenClass!==c["v"].NEXT_TOKENS.TOKEN,this.$nextTick(function(){n.checkLargeMode(!0)})}},checkLargeMode:function(){var e=this;this.$nextTick(function(){var t;if(e.isDocked)t=e.searchDivInitialSize-e.searchDivInternal.clientWidth,t<0&&0===e.largeMode?e.setLargeMode(1):t>=0&&e.largeMode>0&&e.setLargeMode(0);else if(t=e.searchDiv.clientWidth-e.searchDivInternal.clientWidth,t>=0){var n=Math.floor(t/c["g"].SEARCHBAR_INCREMENT);n>0&&e.largeMode>0&&(n>e.largeMode?e.setLargeMode(0):e.setLargeMode(e.largeMode-n))}else{var i=Math.ceil(Math.abs(t)/c["g"].SEARCHBAR_INCREMENT);e.setLargeMode(e.largeMode+i)}})},autocompleteSearch:function(e,t){this.freeText?t([]):this.search(e,t)},search:function(e,t){var n=this;if(this.noSearch)return this.noSearch=!1,void t([]);this.searchRequestId+=1,this.sendStompMessage(l["a"].SEARCH_REQUEST({requestId:this.searchRequestId,contextId:this.searchContextId,maxResults:this.maxResults,cancelSearch:!1,defaultResults:""===e,searchMode:this.fuzzyMode?c["E"].FREETEXT:c["E"].SEMANTIC,queryString:this.actualSearchString},this.$store.state.data.session).body),this.setSpinner(s()({},c["H"].SPINNER_LOADING,{owner:this.$options.name})),this.doneFunc=t,this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){n.setSpinner(s()({},c["H"].SPINNER_ERROR,{owner:n.$options.name,errorMessage:n.$t("errors.searchTimeout"),time:n.fuzzyMode?5:2,then:s()({},c["H"].SPINNER_STOPPED)})),n.doneFunc([])},"4000")},searchInKLab:function(){if(!this.suggestionShowed&&!this.fuzzyMode)if(this.parenthesisDepth>0)this.$q.notify({message:this.$t("messages.parenthesisAlertText"),type:"warning",icon:"mdi-alert",timeout:2e3});else if(this.isCrossingIDL)this.$q.dialog({title:this.$t("label.IDLAlertTitle"),message:this.$t("messages.IDLAlertText"),color:"mc-red"}).catch(function(){});else{if(this.acceptedTokens.length>0){if(this.engineEventsCount>0)return this.$emit("busy-search"),void this.$q.notify({message:this.$t("messages.resourcesValidating"),type:"warning",icon:"mdi-alert",timeout:2e3});var e=this.acceptedTokens.map(function(e){return e.id}).join(" ");this.sendStompMessage(l["a"].OBSERVATION_REQUEST({urn:e,contextId:this.contextId,searchContextId:null},this.$store.state.data.session).body);var t=this.acceptedTokens.map(function(e){return e.label}).join(" ");this.setContextCustomLabel(this.$t("messages.waitingObservationInit",{observation:t})),this.$q.notify({message:this.$t("label.askForObservation",{urn:t}),type:"info",icon:"mdi-information",timeout:2e3})}else console.info("Nothing to search for");this.searchEnd({})}},searchEnd:function(e){var t=e.noStore,n=void 0!==t&&t,i=e.noDelete,o=void 0!==i&&i;if(!this.suggestionShowed){if(this.acceptedTokens.length>0){if(o)return;n||this.storePreviousSearch({acceptedTokens:this.acceptedTokens.slice(0),searchContextId:this.searchContextId,searchRequestId:this.searchRequestId})}this.searchContextId=null,this.searchRequestId=0,this.doneFunc=null,this.result=null,this.acceptedTokens=[],this.searchHistoryIndex=-1,this.actualSearchString="",this.scrolled=0,this.noSearch=!1,this.freeText=!1,this.setFuzzyMode(!1),this.setLargeMode(0),this.parenthesisDepth=0,this.last=!1,this.searchStop()}},resetSearchInput:function(){var e=this;this.$nextTick(function(){e.actualToken=e.actualSearchString,e.inputSearchColor="black"})},searchHistoryEvent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(""===this.actualToken&&this.searchHistory.length>0&&(0===this.acceptedTokens.length||this.searchHistoryIndex>=0)&&this.searchHistory.length>0&&(e>0||this.searchHistoryIndex>0)&&this.searchHistoryIndex+e0&&void 0!==arguments[0]?arguments[0]:"";return(""!==t||0===this.acceptedTokens.length)&&0===this.searchInput.$refs.input.selectionStart&&(this.search(t,function(n){e.autocompleteEl.__clearSearch(),Array.isArray(n)&&n.length>0?(e.autocompleteEl.results=n,He["a"].nextTick(function(){e.autocompleteEl.__showResults(),""!==t&&(e.autocompleteEl.keyboardIndex=0)})):e.autocompleteEl.hide()}),!0)},deleteLastToken:function(){if(0!==this.acceptedTokens.length){var e=this.acceptedTokens.pop();this.searchHistoryIndex=-1,this.sendStompMessage(l["a"].SEARCH_MATCH({contextId:this.searchContextId,matchIndex:e.matchIndex,matchId:e.id,added:!1},this.$store.state.data.session).body)}},charReceived:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];"ArrowUp"===e?this.searchHistoryEvent(1):"ArrowDown"===e?this.searchHistoryEvent(-1):" "===e?this.askForSuggestion():(Object(Xe["h"])(e)&&this.setFuzzyMode(!0),this.actualSearchString=t?this.actualSearchString+e:e,-1!==st.indexOf(e)&&this.askForSuggestion(e))}}),watch:{actualSearchString:function(){this.resetSearchInput()},searchResult:function(e){var t=this;if(!this.searchInApp){this.searchTimeout&&(clearTimeout(this.searchTimeout),this.searchTimeout=null);var n=e.requestId,i=e.contextId;if(null===this.searchContextId)this.searchContextId=i;else if(i!==this.searchContextId)return void console.warn("Something strange was happened: differents search context ids:\n\n actual: ".concat(this.searchContextId," / received: ").concat(i));if(this.searchRequestId===n){var o;null!==this.result&&this.result.requestId===n&&(o=e.matches).push.apply(o,q()(this.result.matches)),this.result=e;var r=this.result,a=r.matches,l=r.error,u=r.errorMessage,d=r.parenthesisDepth,h=r.last;if(this.parenthesisDepth=d,this.last=h,l)this.setSpinner(s()({},c["H"].SPINNER_ERROR,{owner:this.$options.name,errorMessage:u}));else{var p=[];a.forEach(function(e){var n=c["v"][e.matchType];if("undefined"!==typeof n){var i=n;if(null!==e.mainSemanticType){var o=c["F"][e.mainSemanticType];"undefined"!==typeof o&&(i=o)}if("SEPARATOR"===e.matchType)p.push({value:e.name,label:e.name,labelLines:1,rgb:i.rgb,selected:!1,disable:!0,separator:!0});else{var r=e.state?e.state:null,a=null!==r?Object(Ue["m"])(e.state):null;p.push(s()({value:e.name,label:e.name,labelLines:1,sublabel:e.description,sublabelLines:4,letter:i.symbol,leftInverted:!0,leftColor:i.color,rgb:i.rgb,id:e.id,index:t.acceptedTokens.length+1,matchIndex:e.index,selected:!1,disable:e.state&&"FORTHCOMING"===e.state,separator:!1,nextTokenClass:e.nextTokenClass},null!==a&&{rightIcon:a.icon,rightTextColor:"state-".concat(a.tooltip),rightTooltip:{state:a.tooltip,title:e.name,content:e.extendedDescription||e.description}}))}}else console.warn("Unknown type: ".concat(e.matchType))}),this.fuzzyMode||0!==p.length||this.$q.notify({message:this.$t("messages.noSearchResults"),type:"info",icon:"mdi-information",timeout:1e3}),this.setSpinner(s()({},c["H"].SPINNER_STOPPED,{owner:this.$options.name})),He["a"].nextTick(function(){t.doneFunc(p),t.autocompleteEl.keyboardIndex=0})}}else console.warn("Result discarded for bad request id: actual: ".concat(this.searchRequestId," / received: ").concat(n,"\n"))}},acceptedTokens:function(){var e=this;He["a"].nextTick(function(){var t=e.searchDiv.scrollWidth;e.scrolled!==t&&(e.searchDiv.scrollLeft=t,e.scrolled=t)})},searchIsFocused:function(e){e?(this.searchInput.focus(),this.acceptedTokens.forEach(function(e){e.selected=!1})):this.searchInput.blur()},searchLostChar:function(e){null!==e&&""!==e&&(this.charReceived(e,!0),this.resetSearchLostChar())}},beforeMount:function(){this.setFuzzyMode(!1)},mounted:function(){var e=this;this.searchDiv=this.$refs["ks-container"],this.searchDivInternal=document.getElementById("ks-internal-container"),this.searchInput=this.$refs["ks-search-input"],this.autocompleteEl=this.$refs["ks-autocomplete"],null!==this.searchLostChar&&""!==this.searchLostChar?this.charReceived(this.searchLostChar,!1):this.actualSearchString="",this.inputSearchColor="black",this.setLargeMode(0),this.$nextTick(function(){e.searchDivInitialSize=e.searchDiv.clientWidth})},updated:function(){var e=document.querySelectorAll("#ks-autocomplete .q-item-side-right");e.forEach(function(e){e.setAttribute("title","lalala")})},beforeDestroy:function(){this.searchTimeout&&(clearTimeout(this.searchTimeout),this.searchTimeout=null)}},ct=at,lt=(n("aff7"),Object(y["a"])(ct,qe,je,!1,null,null,null));lt.options.__file="KlabSearch.vue";var ut=lt.exports,dt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"st-container",class:{marquee:e.needMarquee<0,"hover-active":e.hoverActive}},[n("div",{ref:"st-text",staticClass:"st-text",class:{"st-accentuate":e.accentuate,"st-placeholder":e.placeholderStyle},style:{left:(e.needMarquee<0?e.needMarquee:0)+"px","animation-duration":e.animationDuration+"s"}},[e._v("\n "+e._s(e.text)+"\n ")]),e.withEdge?n("div",{staticClass:"st-edges",style:{"background-color":e.getBGColor(e.spinnerColor,e.edgeOpacity)}}):e._e()])},ht=[];dt._withStripped=!0;var pt={name:"ScrollingText",props:{hoverActive:{type:Boolean,default:!1},initialText:{type:String,default:""},duration:{type:Number,default:10},accentuate:{type:Boolean,default:!1},edgeOpacity:{type:Number,default:1},withEdge:{type:Boolean,default:!0},placeholderStyle:{type:Boolean,default:!1}},data:function(){return{needMarquee:0,animationDuration:this.duration,text:this.initialText,edgeBgGradient:""}},computed:s()({},Object(a["c"])("view",["spinnerColor"])),methods:{isNeededMarquee:function(){var e=this.$refs["st-text"];return"undefined"===typeof e?0:e.offsetWidth-e.scrollWidth},changeText:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.needMarquee=0,e!==this.text&&(this.text=null===e?"":e,this.$nextTick(function(){null!==n&&(t.animationDuration=n),t.needMarquee=t.isNeededMarquee(t.ref)}))},getBGColor:function(e,t){return"rgba(".concat(e.rgb.r,",").concat(e.rgb.g,",").concat(e.rgb.b,", ").concat(t,")")},getEdgeGradient:function(){return"linear-gradient(to right,\n ".concat(this.getBGColor(this.spinnerColor,1)," 0,\n ").concat(this.getBGColor(this.spinnerColor,0)," 5%,\n ").concat(this.getBGColor(this.spinnerColor,0)," 95%,\n ").concat(this.getBGColor(this.spinnerColor,1)," 100%)")}},watch:{spinnerColor:function(){this.edgeBgGradient=this.getEdgeGradient()}},mounted:function(){var e=this;this.$nextTick(function(){e.needMarquee=e.isNeededMarquee(e.ref)}),this.edgeBgGradient=this.getEdgeGradient()}},ft=pt,mt=(n("2590"),Object(y["a"])(ft,dt,ht,!1,null,null,null));mt.options.__file="ScrollingText.vue";var gt=mt.exports,vt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-btn",{staticClass:"mcm-menubutton absolute-top-right",attrs:{icon:e.interactiveMode?"mdi-play":"mdi-chevron-right",color:e.interactiveMode?"mc-main-light":"black",size:"sm",round:"",flat:""}},[e.isVisible?n("q-popover",{ref:"mcm-main-popover",attrs:{anchor:"top right",self:"top left",persistent:!1,"max-height":"95vh"}},[n("q-btn",{staticClass:"mcm-icon-close-popover",attrs:{icon:"mdi-close",color:"grey-8",size:"xs",flat:"",round:""},on:{click:e.closeMenuPopups}}),n("q-list",{attrs:{dense:""}},[n("q-list-header",{staticStyle:{padding:"0 16px 0 16px","min-height":"0"}},[e._v("\n "+e._s(e.$t("label.mcMenuContext"))+"\n "),e.hasContext?n("q-icon",{staticClass:"mcm-copy-icon",attrs:{name:"mdi-content-copy"},nativeOn:{click:function(t){e.copyContextES(t,e.contextEncodedShape)}}},[n("q-tooltip",{attrs:{delay:1e3,anchor:"center right",self:"center left",offset:[10,10]}},[e._v("\n "+e._s(e.$t("tooltips.copyEncodedShapeToClipboard"))+"\n ")])],1):e._e()],1),n("q-item-separator"),e.hasContext?n("q-item",[n("div",{staticClass:"mcm-container"},[n("div",{staticClass:"klab-menuitem klab-clickable",on:{click:function(t){e.closeAndCall(null)}}},[n("div",{staticClass:"klab-item mdi mdi-star-four-points-outline klab-icon"}),n("div",{staticClass:"klab-item klab-text klab-only-text"},[e._v(e._s(e.$t("label.newContext")))])])])]):e._e(),n("q-item",[n("div",{staticClass:"mcm-container"},[n("div",{staticClass:"klab-menuitem klab-clickable",class:{"klab-not-available":0===e.contextsHistory.length},on:{click:e.toggleContextsHistory}},[n("div",{staticClass:"klab-item mdi mdi-history klab-icon"}),n("div",{staticClass:"klab-item klab-text klab-only-text"},[e._v(e._s(e.$t("label.previousContexts")))]),n("div",[n("q-icon",{staticClass:"mcm-contextbutton",attrs:{name:"mdi-chevron-right",color:"black",size:"sm"}}),n("q-popover",{ref:"mcm-contexts-popover",attrs:{anchor:"top right",self:"top left",offset:[18,28]}},[n("q-list",{attrs:{dense:""}},e._l(e.contextsHistory,function(t){return n("q-item",{key:t.id},[n("q-item-main",[n("div",{staticClass:"mcm-container mcm-context-label"},[n("div",{staticClass:"klab-menuitem",class:[t.id===e.contextId?"klab-no-clickable":"klab-clickable"],on:{click:function(n){e.closeAndCall(t.id)}}},[n("div",{staticClass:"klab-item klab-large-text",class:{"mcm-actual-context":t.id===e.contextId},style:{"font-style":e.contextTaskIsAlive(t.id)?"italic":"normal"},on:{mouseover:function(n){e.tooltipIt(n,t.id)}}},[e._v("\n "+e._s(e.formatContextTime(t))+": "+e._s(t.label)+"\n "),n("q-tooltip",{directives:[{name:"show",rawName:"v-show",value:e.needTooltip(t.id),expression:"needTooltip(context.id)"}],attrs:{anchor:"center right",self:"center left",offset:[10,10]}},[e._v("\n "+e._s(t.label)+"\n ")])],1)]),n("q-icon",{staticClass:"absolute-right mcm-copy-icon",attrs:{name:"mdi-content-copy"},nativeOn:{click:function(n){e.copyContextES(n,t.spatialProjection+" "+t.encodedShape)}}},[n("q-tooltip",{attrs:{delay:1e3,anchor:"center right",self:"center left",offset:[10,10]}},[e._v("\n "+e._s(e.$t("tooltips.copyEncodedShapeToClipboard"))+"\n ")])],1)],1)])],1)}))],1)],1)])])]),e.hasContext?e._e():[n("q-item",[n("q-item-main",[n("div",{staticClass:"mcm-container"},[n("div",{staticClass:"klab-menuitem klab-clickable",class:[e.isDrawMode?"klab-select":""],on:{click:function(t){e.startDraw()}}},[n("div",{staticClass:"klab-item mdi mdi-vector-polygon klab-icon"}),n("div",{staticClass:"klab-item klab-text klab-only-text"},[e._v(e._s(e.$t("label.drawCustomContext")))])])])])],1),n("q-list-header",{staticStyle:{padding:"8px 16px 0 16px","min-height":"0"}},[e._v(e._s(e.$t("label.mcMenuScale")))]),n("q-item-separator"),n("q-item",[n("q-item-main",[n("scale-reference",{attrs:{width:"180px",light:!0,scaleType:"space",editable:!0,full:!0}})],1)],1),n("q-item",[n("q-item-main",[n("scale-reference",{attrs:{width:"180px",light:!0,scaleType:"time",editable:!0,full:!0}})],1)],1)],n("q-list-header",{staticStyle:{padding:"8px 16px 0 16px","min-height":"0"}},[e._v(e._s(e.$t("label.mcMenuOption")))]),n("q-item-separator"),n("q-item",[n("div",{staticClass:"mcm-container"},[n("div",{staticClass:"klab-menuitem"},[n("div",{staticClass:"klab-item"},[e._v(e._s(e.$t("label.interactiveMode")))])]),n("q-item-side",{attrs:{right:""}},[n("q-toggle",{attrs:{color:"mc-main"},model:{value:e.interactiveModeModel,callback:function(t){e.interactiveModeModel=t},expression:"interactiveModeModel"}})],1)],1)]),n("q-item",[n("div",{staticClass:"mcm-container"},[n("div",{staticClass:"klab-menuitem"},[n("div",{staticClass:"klab-item"},[e._v(e._s(e.$t("label.viewCoordinates")))])]),n("q-item-side",{attrs:{right:""}},[n("q-toggle",{attrs:{color:"mc-main"},model:{value:e.coordinates,callback:function(t){e.coordinates=t},expression:"coordinates"}})],1)],1)]),e.hasContext?e._e():[n("q-list-header",{staticStyle:{padding:"8px 16px 0 16px","min-height":"0"}},[e._v(e._s(e.$t("label.mcMenuSettings")))]),n("q-item-separator"),n("q-item",[n("div",{staticClass:"mcm-container"},[n("div",{staticClass:"klab-menuitem"},[n("div",{staticClass:"klab-item"},[e._v(e._s(e.$t("label.optionSaveLocation")))])]),n("q-item-side",{attrs:{right:""}},[n("q-toggle",{attrs:{color:"mc-main"},model:{value:e.saveLocationVar,callback:function(t){e.saveLocationVar=t},expression:"saveLocationVar"}})],1)],1)]),n("q-item",[n("div",{staticClass:"mcm-container"},[n("div",{staticClass:"klab-menuitem"},[n("div",{staticClass:"klab-item"},[e._v(e._s(e.$t("label.saveDockedStatus")))])]),n("q-item-side",{attrs:{right:""}},[n("q-toggle",{attrs:{color:"mc-main"},model:{value:e.saveDockedStatusVar,callback:function(t){e.saveDockedStatusVar=t},expression:"saveDockedStatusVar"}})],1)],1)])],n("q-list-header",{staticStyle:{padding:"8px 16px 0 16px","min-height":"0"}},[e._v(e._s(e.$t("label.mcMenuHelp")))]),n("q-item-separator"),n("q-item",[n("div",{staticClass:"mcm-container"},[n("div",{staticClass:"klab-menuitem klab-clickable",on:{click:e.askTutorial}},[n("div",{staticClass:"klab-item klab-font klab-im-logo klab-icon"}),n("div",{staticClass:"klab-item klab-text klab-only-text"},[e._v(e._s(e.$t("label.showHelp")))])])])]),n("q-item-separator"),n("q-item",[n("div",{staticClass:"klab-version"},[e._v("Version: "+e._s(e.$store.state.data.packageVersion)+"/ Build "+e._s(e.$store.state.data.packageBuild))])])],2)],1):e._e()],1)},bt=[];vt._withStripped=!0;var yt=n("c1df"),_t=n.n(yt),Mt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sr-container",class:[e.light?"sr-light":"sr-dark","vertical"===e.orientation?"sr-vertical":""],style:{width:e.width},on:{click:function(t){e.scaleEditing=e.editable}}},[e.hasScale?n("div",{staticClass:"sr-scalereference klab-menuitem",class:{"sr-full":e.full,"klab-clickable":e.editable}},[e.full?n("div",{staticClass:"sr-locked klab-item mdi sr-icon",class:[e.isScaleLocked[e.scaleType]?"mdi-lock-outline":"mdi-lock-open-outline"],on:{click:function(t){t.preventDefault(),e.lockScale(t)}}},[n("q-tooltip",{attrs:{anchor:"bottom middle",self:"top middle",offset:[0,5]}},[e._v(e._s(e.isScaleLocked[e.scaleType]?e.$t("label.clickToUnlock"):e.$t("label.clickToLock")))])],1):e._e(),n("div",{staticClass:"sr-editables",style:{cursor:e.editable?"pointer":"default"}},[n("div",{staticClass:"sr-scaletype klab-item",class:["mdi "+e.type+" sr-icon"]}),n("div",{staticClass:"sr-description klab-item"},[e._v(e._s(e.description))]),n("div",{staticClass:"sr-spacescale klab-item"},[e._v(e._s(e.scale))]),e.editable?n("q-tooltip",{attrs:{anchor:"bottom middle",self:"top middle",offset:[0,5]}},[e.scaleType===e.SCALE_TYPE.ST_TIME&&""!==e.timeLimits?n("div",{staticClass:"sr-tooltip sr-time-tooltip",domProps:{innerHTML:e._s(e.timeLimits)}}):e._e(),n("div",{staticClass:"sr-tooltip"},[e._v(e._s(e.$t("label.clickToEditScale")))])]):e._e()],1)]):n("div",{staticClass:"sr-no-scalereference"},[n("p",[e._v(e._s(e.$t("label.noScaleReference")))])])])},wt=[];Mt._withStripped=!0;var Ct={name:"ScaleReference",props:{scaleType:{type:String,validator:function(e){return-1!==[c["B"].ST_SPACE,c["B"].ST_TIME].indexOf(e)},default:c["B"].ST_SPACE},useNext:{type:Boolean,default:!1},width:{type:String,default:"150px"},light:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},full:{type:Boolean,default:!1},orientation:{type:String,default:"horizontal"}},data:function(){return{SCALE_TYPE:c["B"]}},computed:s()({},Object(a["c"])("data",["scaleReference","isScaleLocked","nextScale"]),{scaleObj:function(){return this.useNext?this.nextScale:this.scaleReference},resolution:function(){return this.scaleType===c["B"].ST_SPACE?this.scaleObj.spaceResolutionConverted:this.scaleObj.timeUnit},unit:function(){return this.scaleType===c["B"].ST_SPACE?this.scaleObj.spaceUnit:this.scaleObj.timeUnit},type:function(){return this.scaleType===c["B"].ST_SPACE?"mdi-grid":"mdi-clock-outline"},description:function(){return this.scaleType===c["B"].ST_SPACE?this.scaleObj.spaceResolutionDescription:null===this.scaleObj.timeUnit?"YEAR":this.scaleObj.timeUnit},scale:function(){var e=this;return this.scaleType===c["B"].ST_SPACE?this.scaleObj.spaceScale:this.unit?c["C"].find(function(t){return t.value===e.unit}).index:this.scaleObj.timeScale},hasScale:function(){return this.useNext?null!==this.nextScale:null!==this.scaleReference},timeLimits:function(){return 0===this.scaleObj.start&&0===this.scaleObj.end?"":"".concat(_t()(this.scaleObj.start).format("L HH:mm:ss"),"
").concat(_t()(this.scaleObj.end).format("L HH:mm:ss"))},scaleEditing:{get:function(){return this.$store.getters["view/isScaleEditing"]},set:function(e){this.$store.dispatch("view/setScaleEditing",{active:e,type:this.scaleType})}}}),methods:s()({},Object(a["b"])("data",["setScaleLocked"]),{lockScale:function(e){e.stopPropagation();var t=!this.isScaleLocked[this.scaleType];this.sendStompMessage(l["a"].SETTING_CHANGE_REQUEST({setting:this.scaleType===c["B"].ST_SPACE?c["G"].LOCK_SPACE:c["G"].LOCK_TIME,value:t},this.$store.state.data.session).body),this.setScaleLocked({scaleType:this.scaleType,scaleLocked:t}),t||this.$eventBus.$emit(c["h"].SEND_REGION_OF_INTEREST)}})},St=Ct,At=(n("cf611"),Object(y["a"])(St,Mt,wt,!1,null,null,null));At.options.__file="ScaleReference.vue";var Et=At.exports,Ot=n("2cee"),Lt=n("1442"),Tt={name:"MainControlMenu",mixins:[Ot["a"],ke],components:{ScaleReference:Et},data:function(){return{}},computed:s()({},Object(a["c"])("data",["contextsHistory","hasContext","contextId","contextReloaded","contextEncodedShape","interactiveMode","session"]),Object(a["d"])("stomp",["subscriptions"]),Object(a["c"])("stomp",["lastActiveTask","contextTaskIsAlive"]),Object(a["c"])("view",["searchIsActive","isDrawMode","isScaleEditing","isMainControlDocked","viewCoordinates"]),Object(a["d"])("view",["saveLocation","saveDockedStatus"]),{saveLocationVar:{get:function(){return this.saveLocation},set:function(e){this.changeSaveLocation(e)}},saveDockedStatusVar:{get:function(){return this.saveDockedStatus},set:function(e){this.changeSaveDockedStatus(e)}},interactiveModeModel:{get:function(){return this.interactiveMode},set:function(e){this.setInteractiveMode(e)}},coordinates:{get:function(){return this.viewCoordinates},set:function(e){this.setViewCoordinates(e)}},isVisible:function(){return!this.isDrawMode&&!this.isScaleEditing}}),methods:s()({},Object(a["b"])("data",["setInteractiveMode"]),Object(a["b"])("view",["setDrawMode","setViewCoordinates"]),{startDraw:function(){this.setDrawMode(!this.isDrawMode)},toggleContextsHistory:function(){this.contextsHistory.length>0&&this.$refs["mcm-contexts-popover"].toggle()},closeAndCall:function(){var e=W()(regeneratorRuntime.mark(function e(t){return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(this.contextId!==t){e.next=2;break}return e.abrupt("return");case 2:this.closeMenuPopups(),this.clearTooltip(),this.loadOrReloadContext(t,this.closeMenuPopups());case 5:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),formatContextTime:function(e){var t=e.lastUpdate;if(0===t&&(t=e.creationTime),t&&null!==t){var n=_t()(t),i=0===_t()().diff(n,"days");return i?n.format("HH:mm:ss"):n.format("YYYY/mm/dd HH:mm:ss")}return""},changeSaveLocation:function(e){this.$store.commit("view/SET_SAVE_LOCATION",e,{root:!0}),V["a"].set(c["P"].COOKIE_SAVELOCATION,e,{expires:30,path:"/",secure:!0}),e||(V["a"].set(c["P"].COOKIE_SAVELOCATION,e,{expires:30,path:"/",secure:!0}),V["a"].set(c["P"].COOKIE_MAPDEFAULT,{center:Lt["b"].center,zoom:Lt["b"].zoom},{expires:30,path:"/",secure:!0}))},changeSaveDockedStatus:function(e){this.$store.commit("view/SET_SAVE_DOCKED_STATUS",e,{root:!0}),e?V["a"].set(c["P"].COOKIE_DOCKED_STATUS,this.isMainControlDocked,{expires:30,path:"/",secure:!0}):V["a"].remove(c["P"].COOKIE_DOCKED_STATUS)},copyContextES:function(e,t){e.stopPropagation(),Object(Xe["b"])(t),this.$q.notify({message:Object(Xe["a"])(this.$t("messages.customCopyToClipboard",{what:this.$t("label.context")})),type:"info",icon:"mdi-information",timeout:500})},closeMenuPopups:function(){this.$refs["mcm-main-popover"]&&this.$refs["mcm-main-popover"].hide(),this.$refs["mcm-contexts-popover"]&&this.$refs["mcm-contexts-popover"].hide()},sendInteractiveModeState:function(e){this.sendStompMessage(l["a"].SETTING_CHANGE_REQUEST({setting:c["G"].INTERACTIVE_MODE,value:e},this.session).body)},viewerClickListener:function(){this.isDrawMode||this.closeMenuPopups()},askTutorial:function(){this.$eventBus.$emit(c["h"].NEED_HELP),this.closeMenuPopups()}}),watch:{hasContext:function(){this.closeMenuPopups()},searchIsActive:function(e){e&&this.closeMenuPopups()},interactiveModeModel:function(e){this.sendInteractiveModeState(e)}},mounted:function(){this.$eventBus.$on(c["h"].VIEWER_CLICK,this.viewerClickListener)},beforeDestroy:function(){this.$eventBus.$off(c["h"].VIEWER_CLICK,this.viewerClickListener)}},xt=Tt,Rt=(n("6774"),Object(y["a"])(xt,vt,bt,!1,null,null,null));Rt.options.__file="MainControlMenu.vue";var kt=Rt.exports,zt={name:"KlabSearchBar",components:{KlabSpinner:M,KlabSearch:ut,ScrollingText:gt,MainControlMenu:kt},mixins:[rt],data:function(){return{searchAsked:!1,busyInformed:!1,searchAskedInterval:null}},computed:s()({},Object(a["c"])("data",["hasContext","contextLabel","contextCustomLabel","isScaleLocked"]),Object(a["c"])("view",["spinnerColor","searchIsActive","searchIsFocused","hasMainControl","statusTextsString","statusTextsLength","fuzzyMode","largeMode","isDocked","engineEventsCount"]),{isDocked:function(){return!this.hasMainControl},mainContextLabel:function(){return this.contextLabel?this.contextLabel:this.contextCustomLabel}}),methods:s()({},Object(a["b"])("view",["setMainViewer","searchStart","searchFocus","searchStop","setSpinner"]),{getLargeModeWidth:function(){return"".concat((window.innerWidth||document.body.clientWidth)-c["u"].LEFTMENU_MINSIZE,"px")},getBGColor:function(e){return"rgba(".concat(this.spinnerColor.rgb.r,",").concat(this.spinnerColor.rgb.g,",").concat(this.spinnerColor.rgb.b,", ").concat(e,")")},showSuggestions:function(e){1===e.targetTouches.length&&(e.preventDefault(),this.searchIsActive?this.searchIsFocused?this.$refs["klab-search"].searchEnd({noDelete:!1}):this.searchFocus({char:" ",focused:!0}):this.searchStart(" "))},emitSpinnerDoubleclick:function(){this.$eventBus.$emit(c["h"].SPINNER_DOUBLE_CLICK)},askForSuggestionsListener:function(e){this.showSuggestions(e)},busySearch:function(){this.searchAsked=!0,this.updateBusy()},updateBusy:function(){var e=this;null!==this.searchAskedInterval&&(clearTimeout(this.searchAskedInterval),this.searchAskedInterval=null),this.searchAsked&&(0===this.engineEventsCount?this.searchAskedInterval=setTimeout(function(){e.searchAsked=!1,e.busyInformed=!1,e.setSpinner(s()({},c["H"].SPINNER_STOPPED,{owner:"BusySearch"}))},600):this.busyInformed||(this.setSpinner(s()({},c["H"].SPINNER_LOADING,{owner:"BusySearch"})),this.busyInformed=!0))}}),watch:{statusTextsString:function(e){e.includes(c["p"].UNKNOWN_SEARCH_OBSERVATION)&&(e=e.replace(c["p"].UNKNOWN_SEARCH_OBSERVATION,this.$t("messages.unknownSearchObservation"))),this.$refs["st-status-text"].changeText(e,5*this.statusTextsLength)},mainContextLabel:function(e){this.$refs["st-context-text"]&&this.$refs["st-context-text"].changeText(e)},hasContext:function(e){e&&this.setSpinner(s()({},c["H"].SPINNER_STOPPED,{owner:"KlabSearch"}))},engineEventsCount:function(){this.updateBusy()}},mounted:function(){this.$eventBus.$on(c["h"].ASK_FOR_SUGGESTIONS,this.askForSuggestionsListener),this.updateBusy()},beforeDestroy:function(){this.$eventBus.$off(c["h"].ASK_FOR_SUGGESTIONS,this.askForSuggestionsListener)}},Pt=zt,Nt=(n("19f2"),Object(y["a"])(Pt,De,Be,!1,null,null,null));Nt.options.__file="KlabSearchBar.vue";var It=Nt.exports,Dt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.contextsCount>1?n("div",{staticClass:"kbc-container"},e._l(e.contextsLabels,function(t,i){return n("span",{key:t.id,on:{click:function(n){e.load(t.contextId,i)}}},[e._v(e._s(t.label))])})):e._e()},Bt=[];Dt._withStripped=!0;var qt={name:"KlabBreadcrumbs",mixins:[ke],computed:s()({},Object(a["c"])("data",["contextsLabels","contextsCount","contextById"])),methods:s()({},Object(a["b"])("data",["loadContext"]),{load:function(e,t){if(t!==this.contextsCount-1){var n,i=this.$store.state.data.observations.find(function(t){return t.id===e});n=i||this.contextById(e),this.sendStompMessage(l["a"].CONTEXTUALIZATION_REQUEST(s()({contextId:n.id},n.contextId&&{parentContext:n.contextId}),this.$store.state.data.session).body),this.loadContext(e)}}})},jt=qt,Wt=(n("6c8f"),Object(y["a"])(jt,Dt,Bt,!1,null,null,null));Wt.options.__file="KlabBreadcrumbs.vue";var Ft=Wt.exports,Ht=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"klab-tree-pane"}},[n("klab-splitter",{attrs:{margin:0,hidden:e.hasObservationInfo?"":"right"},on:{"close-info":e.onCloseInfo}},[n("div",{staticClass:"full-height",attrs:{slot:"left-pane",id:"ktp-left"},slot:"left-pane"},[e.hasTree?n("div",{ref:"kt-out-container",class:{"ktp-loading":e.taskOfContextIsAlive,"with-splitter":e.hasObservationInfo},attrs:{id:"kt-out-container"}},[n("q-resize-observable",{on:{resize:e.outContainerResized}}),[n("klab-tree",{ref:"kt-user-tree",style:{"max-height":!!e.userTreeMaxHeight&&e.userTreeMaxHeight+"px"},attrs:{id:"kt-user-tree",tree:e.userTree,"is-user":!0},on:{resized:e.recalculateTreeHeight}})],n("details",{directives:[{name:"show",rawName:"v-show",value:e.mainTreeHasNodes(),expression:"mainTreeHasNodes()"}],attrs:{id:"kt-tree-details",open:e.taskOfContextIsAlive||e.mainTreeHasNodes(!0)||e.detailsOpen}},[n("summary",[n("q-icon",{attrs:{name:"mdi-dots-horizontal",id:"ktp-main-tree-arrow"}},[n("q-tooltip",{attrs:{offset:[0,0],self:"top left",anchor:"bottom right"}},[e._v(e._s(e.detailsOpen?e.$t("tooltips.displayMainTree"):e.$t("tooltips.hideMainTree")))])],1)],1),n("klab-tree",{ref:"kt-tree",style:{"max-height":!!e.treeHeight&&e.treeHeight+"px"},attrs:{id:"kt-tree",tree:e.tree,"is-user":!1},on:{resized:e.recalculateTreeHeight}})],1)],2):e.hasContext?n("div",{staticClass:"q-ma-md text-center text-white ktp-no-tree"},[e._v("\n "+e._s(e.$t("label.noObservation"))+"\n ")]):n("div",{staticClass:"q-ma-md text-center text-white ktp-no-tree"},[e._v("\n "+e._s(e.$t("label.noContext"))+"\n ")])]),n("div",{staticClass:"full-height",attrs:{slot:"right-pane",id:"ktp-right"},slot:"right-pane"},[e.hasObservationInfo?n("observation-info",{on:{shownode:function(t){e.informTree(t)}}}):e._e()],1)])],1)},Xt=[];Ht._withStripped=!0;n("5df2");var Ut=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"splitter-container full-height"},[!e.hidden&&e.controllers?n("div",{staticClass:"splitter-controllers"},[e.onlyOpenClose?e._e():[n("q-btn",{staticClass:"no-padding splitter-actions",style:{color:e.controlsColor},attrs:{flat:"",round:"",size:"sm",id:"splitter-to-left",icon:"mdi-arrow-left"},nativeOn:{click:function(t){e.percent=0}}}),n("q-btn",{staticClass:"no-padding splitter-actions rotate-90",style:{color:e.controlsColor},attrs:{flat:"",round:"",size:"sm",id:"splitter-to-middle",icon:"mdi-format-align-middle"},nativeOn:{click:function(t){e.percent=50}}}),n("q-btn",{staticClass:"no-padding splitter-actions",style:{color:e.controlsColor},attrs:{flat:"",round:"",size:"sm",id:"splitter-to-right",icon:"mdi-arrow-right"},nativeOn:{click:function(t){e.percent=100}}})],n("q-btn",{staticClass:"no-padding splitter-actions",style:{color:e.controlsColor},attrs:{flat:"",round:"",size:"sm",id:"splitter-close",icon:"mdi-close"},nativeOn:{click:function(t){e.$emit("close-info")}}})],2):e._e(),n("div",e._g({staticClass:"vue-splitter",style:{cursor:e.cursor,flexDirection:e.flexDirection}},e.onlyOpenClose?{}:{mouseup:e.onUp,mousemove:e.onMouseMove,touchmove:e.onMove,touchend:e.onUp}),[n("div",{staticClass:"left-pane splitter-pane",style:e.leftPaneStyle},[e._t("left-pane")],2),e.hidden?e._e():[e.onlyOpenClose?e._e():n("div",e._g({staticClass:"splitter",class:{active:e.active},style:e.splitterStyle},e.onlyOpenClose?{}:{mousedown:e.onDown,touchstart:e.onDown})),n("div",{staticClass:"right-pane splitter-pane",style:e.rightPaneStyle},[e._t("right-pane")],2)]],2)])},Vt=[];Ut._withStripped=!0;var Gt={props:{margin:{type:Number,default:10},horizontal:{type:Boolean,default:!1},hidden:{type:String,default:""},splitterColor:{type:String,default:"rgba(0, 0, 0, 0.2)"},controlsColor:{type:String,default:"rgba(192, 192, 192)"},splitterSize:{type:Number,default:3},controllers:{type:Boolean,default:!0},onlyOpenClose:{type:Boolean,default:!0}},data:function(){return{active:!1,percent:"left"===this.hidden?0:"right"===this.hidden?100:this.onlyOpenClose?0:50,hasMoved:!1}},computed:{flexDirection:function(){return this.horizontal?"column":"row"},splitterStyle:function(){return this.horizontal?{height:"".concat(this.splitterSize,"px"),cursor:"ns-resize","background-color":this.splitterColor}:{width:"".concat(this.splitterSize,"px"),cursor:"ew-resize","background-color":this.splitterColor}},leftPaneStyle:function(){return this.horizontal?{height:"".concat(this.percent,"%")}:{width:"".concat(this.percent,"%")}},rightPaneStyle:function(){return this.horizontal?{height:"".concat(100-this.percent,"%")}:{width:"".concat(100-this.percent,"%")}},cursor:function(){return this.active?this.horizontal?"ns-resize":"ew-resize":""}},methods:{onDown:function(){this.active=!0,this.hasMoved=!1},onUp:function(){this.active=!1},onMove:function(e){var t=0,n=e.currentTarget,i=0;if(this.active){if(this.horizontal){while(n)t+=n.offsetTop,n=n.offsetParent;i=Math.floor((e.pageY-t)/e.currentTarget.offsetHeight*1e4)/100}else{while(n)t+=n.offsetLeft,n=n.offsetParent;i=Math.floor((e.pageX-t)/e.currentTarget.offsetWidth*1e4)/100}i>this.margin&&i<100-this.margin&&(this.percent=i),this.$emit("splitterresize"),this.hasMoved=!0}},onMouseMove:function(e){0!==e.buttons&&0!==e.which||(this.active=!1),this.onMove(e)}},watch:{hidden:function(){this.percent="left"===this.hidden?0:"right"===this.hidden?100:this.onlyOpenClose?0:50}}},Kt=Gt,$t=(n("1848"),Object(y["a"])(Kt,Ut,Vt,!1,null,null,null));$t.options.__file="KlabSplitter.vue";var Yt=$t.exports,Jt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"kt-container relative-position klab-menu-component",class:{"kt-drag-enter":e.dragEnter>0&&!e.dragStart},on:{dragenter:e.onDragEnter,dragover:e.onDragOver,dragleave:e.onDragLeave,drop:e.onDrop}},[n("div",{staticClass:"kt-tree-container simplebar-vertical-only",on:{contextmenu:e.rightClickHandler}},[n("klab-q-tree",{ref:"klab-tree",attrs:{nodes:e.tree,"node-key":"id",ticked:e.ticked,selected:e.selected,expanded:e.expanded,"tick-strategy":"strict","text-color":"white","control-color":"white",color:"white",dark:!0,noNodesLabel:e.$t("label.noNodes"),"double-click-function":e.doubleClick,filter:e.isUser?"user":"tree",filterMethod:e.filterUser,noFilteredResultLabel:e.isUser?e.taskOfContextIsAlive?e.$t("messages.treeNoResultUserWaiting"):e.$t("messages.treeNoResultUser"):e.$t("messages.treeNoResultNoUser")},on:{"update:ticked":function(t){e.ticked=t},"update:selected":function(t){e.selected=t},"update:expanded":function(t){e.expanded=t},click:function(t){e.$refs["observations-context"].close()}},scopedSlots:e._u([{key:"header-default",fn:function(t){return n("div",{class:{"node-disabled":t.node.disabled&&!t.node.noTick}},[n("span",{directives:[{name:"ripple",rawName:"v-ripple",value:t.node.main,expression:"prop.node.main"}],staticClass:"node-element",class:[t.node.main?"node-emphasized":"",e.hasObservationInfo&&e.observationInfo.id===t.node.id?"node-selected":"",null!==e.cleanTopLayerId&&e.cleanTopLayerId===t.node.id?"node-on-top":"",e.checkObservationsOnTop(t.node.id)?"node-on-top":"",e.isUser?"node-user-element":"node-tree-element",t.node.needUpdate?"node-updatable":""],attrs:{draggable:t.node.parentId===e.contextId,id:"node-"+t.node.id},on:{dragstart:function(n){e.onDragStart(n,t.node.id)},dragend:e.onDragEnd}},[t.node.observationType===e.OBSERVATION_CONSTANTS.TYPE_PROCESS?n("q-icon",{staticClass:"node-no-tick",attrs:{name:"mdi-buddhism",size:"17px"}}):t.node.noTick?n("q-icon",{attrs:{name:"mdi-checkbox-blank-circle"}}):e._e(),e._v("\n "+e._s(t.node.label)+"\n "),t.node.dynamic?n("q-icon",{staticClass:"node-icon-time",class:{"animate-spin":t.node.loading},attrs:{name:"mdi-clock-outline",color:"mc-green"}}):n("q-icon",{staticClass:"node-icon-time node-loading-layer",class:{"animate-spin":t.node.loading},attrs:{name:"mdi-loading"}}),n("q-tooltip",{staticClass:"kt-q-tooltip",attrs:{delay:300,offset:[0,8],self:"bottom left",anchor:"top left"}},[e._v(e._s(e.clearObservable(t.node.observable)))])],1),t.node.childrenCount>0||t.node.children.length>0?[n("q-chip",{staticClass:"node-chip",class:{"node-substituible":!t.node.empty&&!t.node.noTick},attrs:{color:"white",small:"",dense:"","text-color":"grey-7"}},[e._v(e._s(t.node.childrenCount?t.node.childrenCount:t.node.children.length))])]:e._e(),t.node.empty||t.node.noTick?e._e():n("q-btn",{staticClass:"kt-upload",attrs:{round:"",flat:"",size:"sm",icon:"mdi-arrow-up",disable:""}},[n("q-tooltip",{staticClass:"kt-q-tooltip",attrs:{delay:300,offset:[0,8],self:"bottom left",anchor:"top left"}},[e._v(e._s(e.$t("tooltips.uploadData")))])],1),t.node.empty||t.node.noTick?e._e():n("q-btn",{staticClass:"kt-download",attrs:{round:"",flat:"",size:"sm",icon:"mdi-arrow-down"},nativeOn:{click:function(n){e.askForOutputFormat(n,t.node.id,t.node.exportFormats)}}}),"undefined"!==typeof t.node.idx?[n("q-chip",{staticClass:"node-chip transparent",style:{right:t.node.childrenCount>0?e.calculateRightPosition([t.node.childrenCount],"25px"):t.node.children.length>0?e.calculateRightPosition([t.node.children.length],"25px"):""},attrs:{small:"",dense:"","text-color":"grey-9"}},[e._v("\n "+e._s(e.$t("label.itemCounter",{loaded:t.node.idx+1,total:t.node.siblingsCount}))+"\n ")])]:e._e()],2)}},{key:"header-folder",fn:function(t){return n("div",{class:{"node-disabled":t.node.disabled&&!t.node.noTick}},[n("span",{directives:[{name:"ripple",rawName:"v-ripple",value:t.node.main,expression:"prop.node.main"}],staticClass:"node-element",class:[t.node.main?"node-emphasized":""],attrs:{draggable:t.node.parentId===e.contextId,id:"node-"+t.node.id},on:{dragstart:function(n){e.onDragStart(n,t.node.id)},dragend:e.onDragEnd}},[e._v(e._s(t.node.label))]),n("q-btn",{staticClass:"kt-upload",attrs:{round:"",flat:"",size:"sm",icon:"mdi-arrow-up"}}),n("q-btn",{staticClass:"kt-download",attrs:{round:"",flat:"",size:"sm",icon:"mdi-arrow-down"},nativeOn:{click:function(n){e.askForOutputFormat(n,t.node.id,t.node.exportFormats,!0)}}}),"undefined"!==typeof t.node.idx?[n("q-chip",{staticClass:"node-chip transparent",style:{right:t.node.childrenCount>0?e.calculateRightPosition([t.node.childrenCount],"25px"):t.node.children.length>0?e.calculateRightPosition([t.node.children.length],"25px"):""},attrs:{small:"",dense:"","text-color":"grey-9"}},[e._v("\n "+e._s(e.$t("label.itemCounter",{loaded:t.node.idx+1,total:t.node.siblingsCount}))+"\n ")])]:e._e(),n("q-chip",{staticClass:"node-chip",class:{"node-substituible":!t.node.empty&&!t.node.noTick},attrs:{color:"white",small:"",dense:"","text-color":"grey-7"}},[e._v(e._s(t.node.childrenCount?t.node.childrenCount:t.node.children.length))])],2)}},{key:"header-stub",fn:function(t){return n("div",{staticClass:"node-stub"},[n("span",{staticClass:"node-element node-stub"},[n("q-icon",{staticClass:"node-no-tick",attrs:{name:"mdi-checkbox-blank-circle"}}),e._v(e._s(e.$t("messages.loadingChildren"))+"\n ")],1)])}}])},[e._v("\n >\n ")])],1),n("observation-context-menu",{attrs:{"observation-id":e.contextMenuObservationId},on:{hide:function(t){e.contextMenuObservationId=null}}}),n("q-resize-observable",{on:{resize:function(t){e.$emit("resized")}}})],1)},Qt=[];Jt._withStripped=!0;n("f559"),n("6b54"),n("b54a");var Zt=n("e4f9"),en=n("bffd"),tn=n("b70a"),nn=n("525b"),on={name:"KlabQTree",extends:Zt["a"],props:{doubleClickTimeout:{type:Number,default:300},doubleClickFunction:{type:Function,default:null},noFilteredResultLabel:{type:String,default:null},checkClick:{type:Boolean,default:!0}},data:function(){return{lazy:{},innerTicked:this.ticked||[],innerExpanded:this.expanded||[],timeouts:[]}},methods:{__blur:function(){document.activeElement&&document.activeElement.blur()},__getNode:function(e,t){var n=this,i=t[this.nodeKey],o=this.meta[i],r=t.header&&this.$scopedSlots["header-".concat(t.header)]||this.$scopedSlots["default-header"],s=o.isParent?this.__getChildren(e,t.children):[],a=s.length>0||o.lazy&&"loaded"!==o.lazy,c=t.body&&this.$scopedSlots["body-".concat(t.body)]||this.$scopedSlots["default-body"],l=r||c?this.__getSlotScope(t,o,i):null;return c&&(c=e("div",{staticClass:"q-tree-node-body relative-position"},[e("div",{class:this.contentClass},[c(l)])])),e("div",{key:i,staticClass:"q-tree-node",class:{"q-tree-node-parent":a,"q-tree-node-child":!a}},[e("div",{staticClass:"q-tree-node-header relative-position row no-wrap items-center",class:{"q-tree-node-link":o.link,"q-tree-node-selected":o.selected,disabled:o.disabled},on:{click:function(e){n.checkClick?e&&e.srcElement&&-1!==e.srcElement.className.indexOf("node-element")&&n.__onClick(t,o):n.__onClick(t,o)}}},["loading"===o.lazy?e(tn["a"],{staticClass:"q-tree-node-header-media q-mr-xs",props:{color:this.computedControlColor}}):a?e(Qe["a"],{staticClass:"q-tree-arrow q-mr-xs transition-generic",class:{"q-tree-arrow-rotate":o.expanded},props:{name:this.computedIcon},nativeOn:{click:function(e){n.__onExpandClick(t,o,e)}}}):null,e("span",{staticClass:"row no-wrap items-center",class:this.contentClass},[o.hasTicking&&!o.noTick?e(nn["a"],{staticClass:"q-mr-xs",props:{value:o.indeterminate?null:o.ticked,color:this.computedControlColor,dark:this.dark,keepColor:!0,disable:!o.tickable},on:{input:function(e){n.__onTickedClick(t,o,e)}}}):null,r?r(l):[this.__getNodeMedia(e,t),e("span",t[this.labelKey])]])]),a?e(en["a"],{props:{duration:this.duration}},[e("div",{directives:[{name:"show",value:o.expanded}],staticClass:"q-tree-node-collapsible",class:"text-".concat(this.color)},[c,e("div",{staticClass:"q-tree-children",class:{disabled:o.disabled}},s)])]):c])},__onClick:function(e,t){var n=this;null===this.doubleClickFunction?this.__onClickDefault(e,t):"undefined"===typeof this.timeouts["id".concat(e.id)]||null===this.timeouts["id".concat(e.id)]?this.timeouts["id".concat(e.id)]=setTimeout(function(){n.timeouts["id".concat(e.id)]=null,n.__onClickDefault(e,t)},this.doubleClickTimeout):(clearTimeout(this.timeouts["id".concat(e.id)]),this.timeouts["id".concat(e.id)]=null,this.doubleClickFunction(e,t))},__onClickDefault:function(e,t){this.__blur(),this.hasSelection?t.selectable&&this.$emit("update:selected",t.key!==this.selected?t.key:null):this.__onExpandClick(e,t),"function"===typeof e.handler&&e.handler(e)}},render:function(e){var t=this.__getChildren(e,this.nodes),n=this.classes.indexOf("klab-no-nodes");return 0===t.length&&-1===n?this.classes.push("klab-no-nodes"):0!==t.length&&-1!==n&&this.classes.splice(n,1),e("div",{staticClass:"q-tree",class:this.classes},0===t.length?this.filter?this.noFilteredResultLabel:this.noNodesLabel||this.$t("messages.treeNoNodes"):t)}},rn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-context-menu",{directives:[{name:"show",rawName:"v-show",value:e.enableContextMenu,expression:"enableContextMenu"}],ref:"observations-context",on:{hide:e.hide}},[n("q-list",{staticStyle:{"min-width":"150px"},attrs:{dense:"","no-border":""}},[e._l(e.itemActions,function(t,i){return t.enabled?[t.separator&&0!==i?n("q-item-separator",{key:t.actionId}):e._e(),!t.separator&&t.enabled?n("q-item",{key:t.actionId,attrs:{link:""},nativeOn:{click:function(n){e.askForAction(t.actionId)}}},[n("q-item-main",{attrs:{label:t.actionLabel}})],1):e._e(),t.separator||t.enabled?e._e():n("q-item",{key:t.actionId,attrs:{disabled:""}},[n("q-item-main",{attrs:{label:t.actionLabel}})],1)]:e._e()})],2)],1)},sn=[];rn._withStripped=!0;var an={name:"ObservationContextMenu",props:{observationId:{type:String,default:null}},data:function(){return{enableContextMenu:!1,itemActions:[],itemObservation:null}},methods:s()({},Object(a["b"])("data",["setContext","loadContext","setContextMenuObservationId"]),{initContextMenu:function(){var e=this,t=this.$store.state.data.observations.find(function(t){return t.id===e.observationId});t?(this.resetContextMenu(!1),t&&t.actions&&t.actions.length>1?(this.itemActions=t.actions.slice(),this.itemObservation=t):this.resetContextMenu(),t.observationType!==c["y"].TYPE_STATE&&t.observationType!==c["y"].TYPE_GROUP&&(this.itemActions.push(c["z"].SEPARATOR_ITEM),this.itemActions.push(c["z"].RECONTEXTUALIZATION_ITEM),this.itemObservation=t),this.itemActions&&this.itemActions.length>0?this.enableContextMenu=this.itemActions&&this.itemActions.length>0:this.enableContextMenu=!1):this.resetContextMenu()},resetContextMenu:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.itemActions=[],this.itemObservation=null,e&&(this.enableContextMenu=!1)},hide:function(e){this.resetContextMenu(),this.$emit("hide",e)},askForAction:function(e){if(null!==this.itemObservation)switch(console.debug("Will ask for ".concat(e," of observation ").concat(this.itemObservation.id)),e){case"Recontextualization":this.sendStompMessage(l["a"].CONTEXTUALIZATION_REQUEST({contextId:this.itemObservation.id,parentContext:this.itemObservation.contextId},this.$store.state.data.session).body),this.loadContext(this.itemObservation.id);break;case"AddToCache":console.log("Ask for Add to cache, no action for now");break;default:break}this.enableContextMenu=!1}}),watch:{observationId:function(){null!==this.observationId?this.initContextMenu():this.resetContextMenu()}},mounted:function(){null!==this.observationId&&this.initContextMenu()}},cn=an,ln=(n("ad0b"),Object(y["a"])(cn,rn,sn,!1,null,null,null));ln.options.__file="ObservationContextMenu.vue";var un=ln.exports,dn=null,hn={name:"klabTree",components:{KlabQTree:on,ObservationContextMenu:un},props:{isUser:{type:Boolean,required:!0},tree:{type:Array,required:!0}},data:function(){return{ticked:[],selected:null,expanded:[],itemObservationId:null,askingForChildren:!1,scrollElement:null,showPopover:null,dragStart:!1,dragEnter:0,watchedObservation:[],contextMenuObservationId:null,OBSERVATION_CONSTANTS:c["y"]}},computed:s()({},Object(a["c"])("data",["treeNode","lasts","contextReloaded","contextId","observations","timeEventsOfObservation","timestamp","observationsIdOnTop"]),Object(a["c"])("stomp",["tasks","taskOfContextIsAlive"]),Object(a["c"])("view",["observationInfo","hasObservationInfo","topLayerId"]),Object(a["d"])("view",["treeSelected","treeTicked","treeExpanded","showNotified"]),{cleanTopLayerId:function(){return this.topLayerId?this.topLayerId.substr(0,this.topLayerId.indexOf("T")):null}}),methods:s()({checkObservationsOnTop:function(e){return this.observationsIdOnTop.length>0&&this.observationsIdOnTop.includes(e)},copyToClipboard:Xe["b"]},Object(a["b"])("data",["setVisibility","selectNode","askForChildren","addChildrenToTree","setContext","changeTreeOfNode","setTimestamp"]),Object(a["b"])("view",["setSpinner","setMainDataViewer"]),{filterUser:function(e,t){return e.userNode?"user"===t:"tree"===t},rightClickHandler:function(e){e.preventDefault();var t=null;if(e.target.className.includes("node-element"))t=e.target;else{var n=e.target.getElementsByClassName("node-element");if(1===n.length){var i=Fe()(n,1);t=i[0]}}this.contextMenuObservationId=null!==t?t.id.substring(5):null},clearObservable:function(e){return 0===e.indexOf("(")&&e.lastIndexOf(")")===e.length-1?e.substring(1,e.length-1):e},askForOutputFormat:function(e,t,n){var i=this;null!==n&&n.length>0?(e.stopPropagation(),this.$q.dialog({title:this.$t("label.titleOutputFormat"),message:this.$t("label.askForOuputFormat"),options:{type:"radio",model:n[0].value,items:n},cancel:!0,preventClose:!1,color:"info"}).then(function(e){i.askDownload(t,e,n)}).catch(function(){})):this.$q.notify({message:"No available formats",type:"warning",icon:"mdi-alert",timeout:200})},askDownload:function(e,t,n,i){if("undefined"===typeof i){var o="";if(-1!==this.timestamp){var r=new Date(this.timestamp);o="_".concat(r.getFullYear()).concat(r.getMonth()<9?"0":"").concat(r.getMonth()+1).concat(r.getDate()<10?"0":"").concat(r.getDate(),"_").concat(r.getHours()<10?"0":"").concat(r.getHours()).concat(r.getMinutes()<10?"0":"").concat(r.getMinutes()).concat(r.getSeconds()<10?"0":"").concat(r.getSeconds())}i="".concat(e).concat(o)}var s=n.find(function(e){return e.value===t});Object(Ue["b"])(e,"RAW",i,s,this.timestamp)},changeNodeState:function(e){var t=e.nodeId,n=e.state;"undefined"!==typeof this.$refs["klab-tree"]&&this.$refs["klab-tree"].setTicked([t],n)},doubleClick:function(){var e=W()(regeneratorRuntime.mark(function e(t,n){var i,o;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(!t.isContainer){e.next=4;break}null!==t.viewerIdx&&this.setMainDataViewer({viewerIdx:t.viewerIdx,visible:t.visible}),e.next=14;break;case 4:if(t.observationType!==c["y"].TYPE_STATE){e.next=8;break}this.fitMap(t,n),e.next=14;break;case 8:if(i=this.observations.find(function(e){return e.id===t.id}),!i||null===i){e.next=14;break}return e.next=12,Object(Ue["j"])(i);case 12:o=e.sent,this.fitMap(t,n,o);case 14:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}(),fitMap:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.$eventBus.$emit(c["h"].NEED_FIT_MAP,{geometry:n}),e&&t&&t.ticked&&this.setVisibility({node:e,visible:!0})},updateFolderListener:function(e){if(e&&e.folderId){var t=Object(Ue["f"])(this.tree,e.folderId);t&&null!==t&&(e.visible?this.$refs["klab-tree"].setTicked(t.children.map(function(e){return e.id}),!0):this.$refs["klab-tree"].setTicked(this.ticked.filter(function(e){return-1===t.children.findIndex(function(t){return t.id===e})}),!1))}},selectElementListener:function(e){var t=this,n=e.id,i=e.selected;this.$nextTick(function(){var e=Object(Ue["f"])(t.tree,n);e&&(t.setVisibility({node:e,visible:i}),i?t.ticked.push(n):t.ticked.splice(t.ticked.findIndex(function(e){return e===n}),1))})},treeSizeChangeListener:function(){var e=this;this.isUser||(null!=dn&&(clearTimeout(this.scrollToTimeout),dn=null),this.$nextTick(function(){dn=setTimeout(function(){e.scrollElement.scrollTop=e.scrollElement.scrollHeight},1e3)}))},calculateRightPosition:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.reduce(function(e,t){return e+t.toString().length},0),i=""!==t?" + ".concat(t):"";return"calc(".concat(n,"ch").concat(i,")")},onDragStart:function(e,t){e.dataTransfer.setData("id",t),this.dragStart=!0},onDragEnd:function(){this.dragStart=!1},onDragEnter:function(e){e.preventDefault(),this.dragStart||(this.dragEnter+=1)},onDragLeave:function(e){e.preventDefault(),this.dragStart||(this.dragEnter-=1)},onDragOver:function(e){e.preventDefault()},onDrop:function(e){if(e.preventDefault(),this.dragEnter>0){var t=e.dataTransfer.getData("id");t&&""!==t?this.changeTreeOfNode({id:t,isUserTree:this.isUser}):console.warn("Strange dropped node ".concat(e.dataTransfer.getData("id")))}else console.debug("Self dropped");this.dragStart=!1,this.dragEnter=0}}),watch:{tree:function(){this.treeSizeChangeListener()},treeSelected:function(e){e!==this.selected&&(this.selected=e)},expanded:function(e,t){if(this.$store.state.view.treeExpanded=e,t.length!==e.length){if(t.length>e.length){var n=t.filter(function(t){return e.indexOf(t)<0})[0],i=Object(Ue["f"])(this.tree,n);return this.sendStompMessage(l["a"].WATCH_REQUEST({active:!1,observationId:n,rootContextId:i.rootContextId},this.$store.state.data.session).body),this.watchedObservation.splice(this.watchedObservation.findIndex(function(e){return e.observationId===n}),1),void console.info("Stop watching observation ".concat(n," with rootContextId ").concat(i.rootContextId))}var o=e[e.length-1],r=Object(Ue["f"])(this.tree,o);r&&(this.sendStompMessage(l["a"].WATCH_REQUEST({active:!0,observationId:o,rootContextId:r.rootContextId},this.$store.state.data.session).body),this.watchedObservation.push({observationId:o,rootContextId:r.rootContextId}),console.info("Start watching observation ".concat(o," with rootContextId ").concat(r.rootContextId)),r.children.length>0&&r.children[0].id.startsWith("STUB")&&(r.children.splice(0,1),r.children.length0?(this.addChildrenToTree({parent:r}),this.$eventBus.$emit(c["h"].UPDATE_FOLDER,{folderId:r.id,visible:"undefined"!==typeof r.ticked&&r.ticked})):0===r.children.length&&this.askForChildren({parentId:r.id,offset:0,count:this.childrenToAskFor,total:r.childrenCount,visible:"undefined"!==typeof r.ticked&&(!!r.isContainer&&r.ticked)})))}},selected:function(e){null!==e?0===e.indexOf("ff_")?this.selected=null:this.selectNode(e):this.selectNode(null)},ticked:function(e,t){var n=this;if(this.$store.state.view.treeTicked=e,t.length!==e.length)if(t.length>e.length){var i=t.filter(function(t){return e.indexOf(t)<0})[0];if(i.startsWith("STUB"))return;var o=Object(Ue["f"])(this.tree,i);o&&(this.setVisibility({node:o,visible:!1}),o.isContainer&&(this.ticked=this.ticked.filter(function(e){return-1===o.children.findIndex(function(t){return t.id===e})})))}else{var r=e[e.length-1];if(r.startsWith("STUB"))return;var s=Object(Ue["f"])(this.tree,r);if(null!==s)if(s.isContainer){var a=function(){var e;n.setVisibility({node:s,visible:!0}),(e=n.ticked).push.apply(e,q()(s.children.filter(function(e){return e.parentArtifactId===s.id}).map(function(e){return e.id})))};this.askingForChildren||(s.childrenLoaded We are asking for tree now, this call is not need so exit");if(0===e.lasts.length)return t.preventDefault(),void console.debug("KlabTree -> There aren't incompleted folders, exit");var n=e.scrollElement.getBoundingClientRect(),i=n.bottom;e.lasts.forEach(function(t){var n=document.getElementById("node-".concat(t.observationId));if(null!==n){var o=n.getBoundingClientRect();if(0!==o.bottom&&o.bottom Asked for them"),e.$eventBus.$emit(c["h"].UPDATE_FOLDER,{folderId:t.folderId,visible:"undefined"!==typeof r.ticked&&r.ticked})})}}})}),this.$eventBus.$on(c["h"].UPDATE_FOLDER,this.updateFolderListener),this.$eventBus.$on(c["h"].SELECT_ELEMENT,this.selectElementListener),this.selected=this.treeSelected,this.ticked=this.treeTicked,this.expanded=this.treeExpanded},beforeDestroy:function(){var e=this;this.$eventBus.$off(c["h"].UPDATE_FOLDER,this.updateFolderListener),this.$eventBus.$off(c["h"].SELECT_ELEMENT,this.selectElementListener),this.watchedObservation.length>0&&this.watchedObservation.forEach(function(t){e.sendStompMessage(l["a"].WATCH_REQUEST({active:!1,observationId:t.observationId,rootContextId:t.rootContextId},e.$store.state.data.session).body),console.info("Stop watching observation ".concat(t.observationId," with rootContextId ").concat(t.rootContextId))})}},pn=hn,fn=(n("5b35"),Object(y["a"])(pn,Jt,Qt,!1,null,null,null));fn.options.__file="KlabTree.vue";var mn=fn.exports,gn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"relative-position klab-menu-component",attrs:{id:"oi-container"}},[n("div",{attrs:{id:"oi-controls"}},[n("div",{staticClass:"oi-control oi-text",attrs:{id:"oi-visualize"}},[n("q-checkbox",{attrs:{"keep-color":!0,color:"mc-yellow",readonly:1===e.observationInfo.valueCount||e.observationInfo.empty,disabled:1===e.observationInfo.valueCount||e.observationInfo.empty},nativeOn:{click:function(t){return e.showNode(t)}},model:{value:e.layerShow,callback:function(t){e.layerShow=t},expression:"layerShow"}})],1),n("div",{staticClass:"oi-control oi-text",attrs:{id:"oi-name"}},[n("span",[e._v(e._s(e.observationInfo.label))])]),e.hasSlider?n("div",{staticClass:"oi-control",attrs:{id:"oi-slider"}},[n("q-slider",{attrs:{min:0,max:1,step:.1,decimals:1,color:"mc-yellow",label:!1},model:{value:e.observationInfo.layerOpacity,callback:function(t){e.$set(e.observationInfo,"layerOpacity",t)},expression:"observationInfo.layerOpacity"}})],1):e._e()]),n("div",{class:e.getContainerClasses(),attrs:{id:"oi-metadata-map-wrapper"}},[n("div",{class:[this.exploreMode?"with-mapinfo":""],attrs:{id:"oi-scroll-container"}},[n("div",{attrs:{id:"oi-scroll-metadata-container"}},e._l(e.observationInfo.metadata,function(t,i){return n("div",{key:i,attrs:{id:"oi-metadata"}},[n("div",{staticClass:"oi-metadata-name oi-text"},[e._v(e._s(i))]),n("div",{staticClass:"oi-metadata-value",on:{dblclick:function(n){e.copyToClipboard(t)}}},[e._v(e._s(t))])])}))]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.hasMapInfo,expression:"hasMapInfo"}],attrs:{id:"oi-mapinfo-container"},on:{mouseenter:function(t){e.setInfoShowed({index:0,categories:[],values:[e.mapSelection.value]})},mouseleave:function(t){e.setInfoShowed(null)}}},[n("div",{attrs:{id:"oi-mapinfo-map"}}),n("div",{staticClass:"oi-pixel-indicator",attrs:{id:"oi-pixel-h"}}),n("div",{staticClass:"oi-pixel-indicator",attrs:{id:"oi-pixel-v"}})])]),n("histogram-viewer",{attrs:{dataSummary:e.observationInfo.dataSummary,colormap:e.observationInfo.colormap}})],1)},vn=[];gn._withStripped=!0;var bn=n("e00b"),yn=n("5eee"),_n=n("a2c7"),Mn={name:"ObservationInfo",components:{HistogramViewer:bn["a"]},mixins:[Ot["a"]],data:function(){return{scrollBar:void 0,layerShow:!1,infoShowed:{index:-1,categories:[],values:[]},infoMap:null}},computed:s()({},Object(a["c"])("view",["observationInfo","mapSelection","exploreMode","viewer"]),{hasSlider:function(){return this.observationInfo.visible&&null!==this.observationInfo.viewerIdx&&this.viewer(this.observationInfo.viewerIdx).type.component===c["N"].VIEW_MAP.component},hasMapInfo:function(){return this.exploreMode&&null!==this.mapSelection.pixelSelected&&this.mapSelection.layerSelected.get("id").startsWith("cl_".concat(this.observationInfo.id))}}),methods:{copyToClipboard:function(e){Object(Xe["b"])(e),this.$q.notify({message:this.$t("messages.copiedToClipboard"),type:"info",icon:"mdi-information",timeout:1e3})},getContainerClasses:function(){var e=[];return null!==this.observationInfo.dataSummary&&e.push("k-with-histogram"),e},showNode:function(){this.$emit(c["h"].SHOW_NODE,{nodeId:this.observationInfo.id,state:this.layerShow})},viewerClosedListener:function(e){var t=e.idx;t===this.observationInfo.viewerIdx&&(this.layerShow=!1)},setInfoShowed:function(e){this.$eventBus.$emit(c["h"].SHOW_DATA_INFO,e)}},watch:{mapSelection:function(){var e=this;if(null!==this.mapSelection.layerSelected){var t=this.infoMap.getLayers().getArray();null!==this.mapSelection.pixelSelected?(t.length>1&&this.infoMap.removeLayer(t[1]),this.infoMap.addLayer(this.mapSelection.layerSelected),this.infoMap.getView().setCenter(this.mapSelection.pixelSelected),this.infoMap.getView().setZoom(14),this.$nextTick(function(){e.infoMap.updateSize()}),this.$eventBus.$emit(c["h"].SHOW_DATA_INFO,{index:0,categories:[],values:[this.mapSelection.value]})):t.length>1&&this.infoMap.removeLayer(t[1])}}},mounted:function(){this.scrollBar=new be(document.getElementById("oi-scroll-container")),this.infoMap=new yn["a"]({view:new _n["a"]({center:[0,0],zoom:12}),target:"oi-mapinfo-map",layers:[Lt["c"].EMPTY_LAYER],controls:[],interactions:[]}),this.layerShow=this.observationInfo.visible,this.$eventBus.$on(c["h"].VIEWER_CLOSED,this.viewerClosedListener)},beforeDestroy:function(){this.$eventBus.$on(c["h"].VIEWER_CLOSED,this.viewerClosedListener)}},wn=Mn,Cn=(n("db0a"),Object(y["a"])(wn,gn,vn,!1,null,null,null));Cn.options.__file="ObservationInfo.vue";var Sn=Cn.exports,An=G["b"].height,En={name:"klabTreeContainer",components:{KlabSplitter:Yt,KlabTree:mn,ObservationInfo:Sn},data:function(){return{outContainerHeight:void 0,userTreeMaxHeight:void 0,userTreeHeight:void 0,treeHeight:void 0,detailsOpen:!1}},computed:s()({},Object(a["c"])("data",["tree","userTree","treeNode","hasTree","mainTreeHasNodes","hasContext"]),Object(a["c"])("stomp",["taskOfContextIsAlive"]),Object(a["c"])("view",["hasObservationInfo","isDocked"])),methods:s()({},Object(a["b"])("view",["setObservationInfo"]),{onCloseInfo:function(){this.setObservationInfo(null),this.$eventBus.$emit(c["h"].OBSERVATION_INFO_CLOSED)},informTree:function(e){var t=e.nodeId,n=e.state,i=this.treeNode(t);i&&(this.$refs["kt-tree"]&&this.$refs["kt-tree"].changeNodeState({nodeId:t,state:n}),i.userNode&&this.$refs["kt-user-tree"]&&this.$refs["kt-user-tree"].changeNodeState({nodeId:t,state:n}))},showNodeListener:function(e){this.informTree(e)},outContainerResized:function(){this.isDocked?this.outContainerHeight=An(document.getElementById("dmc-tree"))+24:this.$refs["kt-out-container"]&&(this.outContainerHeight=Number.parseFloat(window.getComputedStyle(this.$refs["kt-out-container"],null).getPropertyValue("max-height"))),this.recalculateTreeHeight()},recalculateTreeHeight:function(){var e=this;this.$nextTick(function(){e.userTreeMaxHeight=e.mainTreeHasNodes()?e.outContainerHeight/2:e.outContainerHeight;var t=document.getElementById("kt-user-tree");t&&e.outContainerHeight&&(e.userTreeHeight=An(t),e.treeHeight=e.outContainerHeight-e.userTreeHeight)})},initTree:function(){var e=this;this.hasTree&&this.$nextTick(function(){e.outContainerResized(),document.getElementById("kt-tree-details").addEventListener("toggle",function(t){e.detailsOpen=t.srcElement.open,e.recalculateTreeHeight()})})}}),watch:{userTree:function(){this.recalculateTreeHeight()},tree:function(){this.recalculateTreeHeight()},hasTree:function(){this.initTree()},taskOfContextIsAlive:function(){this.detailsOpen=this.taskOfContextIsAlive}},mounted:function(){this.$eventBus.$on(c["h"].SHOW_NODE,this.showNodeListener),window.addEventListener("resize",this.outContainerResized),this.initTree()},beforeDestroy:function(){this.$eventBus.$off(c["h"].SHOW_NODE,this.showNodeListener),window.removeEventListener("resize",this.outContainerResized)}},On=En,Ln=(n("a663"),Object(y["a"])(On,Ht,Xt,!1,null,null,null));Ln.options.__file="KlabTreePane.vue";var Tn=Ln.exports,xn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ot-wrapper",class:{"ot-no-timestamp":0===e.timeEvents.length||-1===e.timestamp}},[n("div",{staticClass:"ot-container",class:{"ot-active-timeline":e.isVisible,"ot-docked":e.isMainControlDocked}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isVisible,expression:"isVisible"}],staticClass:"ot-player"},[n("q-icon",{class:{"cursor-pointer":e.timestamp0},on:{click:function(t){if(t.target!==t.currentTarget)return null;e.onClick(t,function(){e.changeTimestamp(e.scaleReference.start)})},dblclick:function(t){e.onDblClick(t,function(){e.changeTimestamp(-1)})}}},[-1===e.timestamp?n("q-icon",{staticClass:"ot-time-origin",class:{"ot-time-origin-loaded":e.timeEvents.length},attrs:{name:"mdi-circle-medium",color:"mc-main"}}):e._e(),0!==e.timeEvents.length?n("q-tooltip",{attrs:{offset:[0,8],self:"top middle",anchor:"bottom middle"},domProps:{innerHTML:e._s(e.formatDate(e.scaleReference.start))}}):e._e()],1),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.isVisible,expression:"!isVisible"}],staticClass:"ot-date-text"},[e._v(e._s(e.startDate))])]),n("div",{ref:"ot-timeline-container",staticClass:"ot-timeline-container col",class:{"ot-timeline-with-time":-1!==e.timestamp}},[n("div",{ref:"ot-timeline",staticClass:"ot-timeline",class:{"ot-with-modifications":0!==e.timeEvents.length&&e.isVisible},on:{mousemove:e.moveOnTimeline,mouseenter:function(t){e.timelineActivated=!0},mouseleave:function(t){e.timelineActivated=!1},click:function(t){e.changeTimestamp(e.getDateFromPosition(t))}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isVisible,expression:"isVisible"}],staticClass:"ot-timeline-viewer"}),e._l(e.visibleEvents,function(t){return n("div",{key:t.id+"-"+t.timestamp,staticClass:"ot-modification-container",style:{left:"calc("+e.calculatePosition(t.timestamp)+"px - 1px)"}},[n("div",{staticClass:"ot-modification"})])}),n("div",{staticClass:"ot-loaded-time",style:{width:e.engineTimestamp>0?"calc("+e.calculatePosition(e.engineTimestamp)+"px + 4px)":0}}),-1!==e.timestamp?n("div",{staticClass:"ot-actual-time",style:{left:"calc("+e.calculatePosition(e.visibleTimestamp)+"px + "+(e.timestamp===e.scaleReference.end?"0":"1")+"px)"}}):e._e(),0!==e.timeEvents.length?n("q-tooltip",{staticClass:"ot-date-tooltip",attrs:{offset:[0,15],self:"top middle",anchor:"bottom middle",delay:300},domProps:{innerHTML:e._s(e.timelineDate)}}):e._e()],2)]),n("div",{staticClass:"ot-date-container"},[n("div",{staticClass:"ot-date ot-date-end col",class:{"ot-with-modifications":0!==e.timeEvents.length&&e.isVisible,"ot-date-loaded":e.engineTimestamp===e.scaleReference.end},on:{click:function(t){if(t.target!==t.currentTarget)return null;e.changeTimestamp(e.scaleReference.end)}}},[0!==e.timeEvents.length?n("q-tooltip",{attrs:{offset:[0,8],self:"top middle",anchor:"bottom middle"},domProps:{innerHTML:e._s(e.formatDate(e.scaleReference.end))}}):e._e()],1),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.isVisible,expression:"!isVisible"}],staticClass:"ot-date-text"},[e._v(e._s(e.endDate))])])])]),e.isMainControlDocked?n("observation-time"):e._e()],1)},Rn=[];xn._withStripped=!0;var kn=n("b8c1"),zn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.timeEvents.length>0?n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"otv-now",class:{"otv-novisible":-1===e.timestamp,"otv-docked":e.isMainControlDocked,"otv-running":e.isTimeRunning},domProps:{innerHTML:e._s(e.formattedTimestamp)}})]):e._e()},Pn=[];zn._withStripped=!0;var Nn={name:"ObservationTime",data:function(){return{formattedTimestamp:void 0}},computed:s()({},Object(a["c"])("data",["timestamp","timeEvents"]),Object(a["c"])("view",["isMainControlDocked","isTimeRunning"])),methods:{formatTimestamp:function(){if(-1===this.timestamp)this.formattedTimestamp=this.$t("label.noTimeSet");else{var e=_t()(this.timestamp);this.formattedTimestamp="".concat(e.format("L")," ").concat(e.format("HH:mm:ss:SSS"))}}},watch:{timestamp:function(){this.formatTimestamp()}},created:function(){this.formatTimestamp()}},In=Nn,Dn=(n("8622"),Object(y["a"])(In,zn,Pn,!1,null,null,null));Dn.options.__file="ObservationTime.vue";var Bn=Dn.exports,qn={name:"ObservationsTimeline",components:{ObservationTime:Bn},mixins:[kn["a"]],data:function(){var e=this;return{timelineActivated:!1,moveOnTimelineFunction:Object(Ce["a"])(function(t){e.timelineActivated&&(e.timelineDate=e.formatDate(e.getDateFromPosition(t)))},300),timelineDate:null,timelineContainer:void 0,timelineLeft:void 0,visibleTimestamp:-1,playTimer:null,interval:void 0,speedMultiplier:1,selectSpeed:!1,pressTimer:null,longPress:!1}},computed:s()({},Object(a["c"])("data",["scaleReference","schedulingResolution","timeEvents","timestamp","modificationsTask","hasContext","visibleEvents","engineTimestamp"]),Object(a["c"])("stomp",["tasks"]),Object(a["c"])("view",["isMainControlDocked"]),{startDate:function(){return null!==this.scaleReference?this.formatDate(this.scaleReference.start,!0):""},endDate:function(){return null!==this.scaleReference?this.formatDate(this.scaleReference.end,!0):""},isVisible:function(){return this.visibleEvents.length>0}}),methods:s()({},Object(a["b"])("data",["setTimestamp","setModificationsTask"]),Object(a["b"])("view",["setTimeRunning"]),{formatDate:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null===e)return"";var i=_t()(e);return t?i.format("DD MMM YYYY"):'
'.concat(i.format("L")).concat(n?" - ":"
").concat(i.format("HH:mm:ss:SSS"),"
")},calculatePosition:function(e){if(this.timelineContainer||(this.timelineContainer=this.$refs["ot-timeline-container"]),!this.timelineContainer)return 0;var t=Math.floor((e-this.scaleReference.start)*this.timelineContainer.clientWidth/(this.scaleReference.end-this.scaleReference.start));return t},moveOnTimeline:function(e){this.moveOnTimelineFunction(e)},getDateFromPosition:function(e){if(this.timelineContainer||(this.timelineContainer=this.$refs["ot-timeline-container"]),!this.timelineContainer)return 0;var t=this.timelineContainer.clientWidth,n=e.clientX-this.timelineContainer.getBoundingClientRect().left,i=this.scaleReference.start+n*(this.scaleReference.end-this.scaleReference.start)/t;return i>this.scaleReference.end?i=this.scaleReference.end:ithis.scaleReference.end?(this.visibleTimestamp=this.scaleReference.end,this.setTimestamp(this.scaleReference.end)):(this.visibleTimestamp=e,this.setTimestamp(e)))},stop:function(){clearInterval(this.playTimer),this.playTimer=null},run:function(){var e=this;if(null!==this.playTimer)this.stop();else{this.interval||this.calculateInterval(),-1===this.timestamp&&this.changeTimestamp(this.scaleReference.start);var t={start:this.timestamp,stop:this.timestamp+this.interval.buffer};this.playTimer=setInterval(function(){e.changeTimestamp(Math.floor(e.timestamp+e.interval.step)),e.$nextTick(function(){e.timestamp>=e.scaleReference.end?e.stop():e.timestamp>t.stop-e.interval.step&&e.timestamp<=e.scaleReference.end&&(t={start:e.timestamp,stop:e.timestamp+e.interval.buffer},e.$eventBus.$emit(c["h"].NEED_LAYER_BUFFER,t))})},this.interval.interval),this.$eventBus.$emit(c["h"].NEED_LAYER_BUFFER,t)}},calculateInterval:function(){if(this.scaleReference&&this.schedulingResolution){var e=1,t=this.calculatePosition(this.scaleReference.start+this.schedulingResolution);t>1&&(e=t);var n=(this.schedulingResolution||c["L"].DEFAULT_STEP)/e,i=(this.scaleReference.end-this.scaleReference.start)/n,o=Math.max(document.body.clientHeight,document.body.clientWidth),r=(this.scaleReference.end-this.scaleReference.start)/4,s=o/e;s*ic["L"].MAX_PLAY_TIME&&(s=c["L"].MAX_PLAY_TIME/i),s/=this.speedMultiplier,this.interval={step:n,steps:i,interval:s,buffer:r,multiplier:this.speedMultiplier},console.info("Step: ".concat(this.interval.step,"; Steps: ").concat(this.interval.steps,"; Interval: ").concat(this.interval.interval,"; Buffer: ").concat(this.interval.buffer))}},startPress:function(){var e=this;this.longPress=!1,this.pressTimer?(clearInterval(this.pressTimer),this.pressTimer=null):this.pressTimer=setTimeout(function(){e.selectSpeed=!0,e.longPress=!0},600)},stopPress:function(){clearInterval(this.pressTimer),this.pressTimer=null,!this.longPress&&this.timestamp0&&this.modificationsTask){var n=e.find(function(e){return e.id===t.modificationsTask.id});n&&!n.alive&&this.setModificationsTask(null)}},visibleEvents:function(){0===this.visibleEvents.length&&null!==this.playTimer&&this.stop()},timestamp:function(e,t){!this.isMainControlDocked||-1!==e&&-1!==t||(this.timelineContainer=void 0)},playTimer:function(){this.setTimeRunning(null!==this.playTimer)}},mounted:function(){this.timelineDate=this.startTime,this.visibleTimestamp=this.timestamp,_t.a.locale(window.navigator.userLanguage||window.navigator.language),this.$eventBus.$on(c["h"].NEW_SCHEDULING,this.calculateInterval)},beforeDestroy:function(){this.$eventBus.$off(c["h"].NEW_SCHEDULING,this.calculateInterval)},destroyed:function(){this.stop()}},jn=qn,Wn=(n("31da"),Object(y["a"])(jn,xn,Rn,!1,null,null,null));Wn.options.__file="ObservationsTimeline.vue";var Fn,Hn=Wn.exports,Xn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"klab-menu-component kp-container",attrs:{id:"klab-log-pane"}},[n("div",{staticClass:"klp-level-selector"},[n("ul",e._l(e.LOG_ICONS,function(t,i,o){return n("li",{key:o,class:{"klp-selected":e.hasLevel(i)}},[n("q-btn",{staticClass:"klp-chip",attrs:{dense:"",size:"sm",icon:t.icon,color:t.color},on:{click:function(t){e.toggleLevel(i)}}},[n("q-tooltip",{attrs:{delay:600,offset:[0,5]}},[e._v(e._s(e.$t(t.i18nlabel)))])],1)],1)}))]),n("q-list",{staticClass:"no-padding no-border",attrs:{dense:"",dark:"",id:"log-container"}},[0!==e.logs.length?e._l(e.logs,function(t,i){return n("q-item",{key:i,staticClass:"log-item q-pa-xs"},[e.isSeparator(t)?[n("q-item-main",{staticClass:"klp-separator"},[n("span",[e._v(e._s(e.$t("label.contextReset")))])])]:[n("q-item-side",[n("q-item-tile",{staticStyle:{"font-size":"18px"},attrs:{icon:e.logColorAndIcon(t).icon,color:e.logColorAndIcon(t).color}})],1),n("q-item-main",[n("q-item-tile",[e._v(e._s(e.logText(t)))])],1)]],2)}):[n("q-item",{staticClass:"log-item log-no-items q-pa-xs"},[n("q-item-side",[n("q-item-tile",{staticStyle:{"font-size":"18px"},attrs:{icon:0===e.levels.length?"mdi-alert-outline":"mdi-information-outline"}})],1),n("q-item-main",[n("q-item-tile",[e._v(e._s(0===e.levels.length?e.$t("messages.noLevelSelected"):e.$t("messages.noLogItems")))])],1)],1)]],2)],1)},Un=[];Xn._withStripped=!0;var Vn=(Fn={},p()(Fn,T["a"].TYPE_ERROR,{i18nlabel:"label.levelError",icon:"mdi-close-circle",color:"negative"}),p()(Fn,T["a"].TYPE_WARNING,{i18nlabel:"label.levelWarning",icon:"mdi-alert",color:"warning"}),p()(Fn,T["a"].TYPE_INFO,{i18nlabel:"label.levelInfo",icon:"mdi-information",color:"info"}),p()(Fn,T["a"].TYPE_DEBUG,{i18nlabel:"label.levelDebug",icon:"mdi-console-line",color:"grey-6"}),p()(Fn,T["a"].TYPE_ENGINEEVENT,{i18nlabel:"label.levelEngineEvent",icon:"mdi-cog-outline",color:"secondary"}),Fn),Gn={name:"KLabLogPane",data:function(){return{scrollBar:null,log:null,LOG_ICONS:Vn}},computed:s()({},Object(a["c"])("view",["klabLogReversedAndFiltered","levels"]),{logs:function(){return 0===this.levels.length?[]:this.klabLogReversedAndFiltered(5===this.levels.length?[]:this.levels)}}),methods:s()({},Object(a["b"])("view",["setLevels","toggleLevel"]),{logText:function(e){if(e&&e.payload){if(e.type===T["a"].TYPE_ENGINEEVENT){var t=e.time;return e.payload.timestamp&&(t=_t()(e.payload.timestamp)),"".concat(t.format("HH:mm:ss"),": ").concat(this.$t("engineEventLabels.evt".concat(e.payload.type))," ").concat(e.payload.started?"started":"stopped")}return"".concat(e.time?e.time.format("HH:mm:ss"):this.$t("messages.noTime"),": ").concat(e.payload)}return this.$t("label.klabNoMessage")},logColorAndIcon:function(e){var t=Vn[e.type];return t?Vn[e.type]:(console.warn("Log type: ".concat(e.type),e),Vn.Error)},isSeparator:function(e){return e&&e.payload&&e.payload.separator},hasLevel:function(e){return-1!==this.levels.indexOf(e)}}),mounted:function(){this.scrollBar=new be(document.getElementById("klab-log-pane"))}},Kn=Gn,$n=(n("f58f"),Object(y["a"])(Kn,Xn,Un,!1,null,null,null));$n.options.__file="KlabLogPane.vue";var Yn=$n.exports,Jn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sb-scales"},[e.hasNextScale()?n("div",{staticClass:"klab-button klab-action klab-mdi-next-scale"},[n("q-icon",{attrs:{name:"mdi-refresh",color:"mc-yellow"},nativeOn:{click:function(t){return e.rescaleContext(t)}}},[n("q-tooltip",{attrs:{delay:600,anchor:e.anchorType,self:e.selfType,offset:e.offsets}},[e._v(e._s(e.$t("tooltips.refreshScale")))])],1)],1):e._e(),n("div",{staticClass:"klab-button klab-action",class:[{active:e.showSpaceScalePopup}],on:{mouseover:function(t){e.toggleScalePopup("space",!0)},mouseleave:function(t){e.toggleScalePopup("space",!1)},click:function(t){e.scaleEditing={active:!0,type:e.SCALE_TYPE.ST_SPACE}}}},[n("q-icon",{class:{"klab-mdi-next-scale":e.hasNextScale(e.SCALE_TYPE.ST_SPACE)},attrs:{name:"mdi-earth"}},[n("q-popover",{attrs:{"anchor-click":!1,anchor:e.anchorType,self:e.selfType,offset:e.offsets},model:{value:e.showSpaceScalePopup,callback:function(t){e.showSpaceScalePopup=t},expression:"showSpaceScalePopup"}},[n("div",{staticClass:"mc-scalereference",attrs:{id:"mc-spacereference"}},[n("scale-reference",{attrs:{width:e.spaceWidth?e.spaceWidth:e.scaleWidth,"scale-type":"space",light:!0,editable:!1}}),e.hasNextScale(e.SCALE_TYPE.ST_SPACE)?n("scale-reference",{staticClass:"sb-next-scale",attrs:{width:e.spaceWidth?e.spaceWidth:e.scaleWidth,"scale-type":"space","use-next":!0,light:!0,editable:!1}}):e._e(),n("div",{staticClass:"sb-tooltip"},[e._v(e._s(e.$t("tooltips.clickToEdit",{type:e.SCALE_TYPE.ST_SPACE})))])],1)])],1)],1),n("div",{staticClass:"klab-button klab-action",class:[{active:e.showTimeScalePopup}],on:{mouseover:function(t){e.toggleScalePopup("time",!0)},mouseleave:function(t){e.toggleScalePopup("time",!1)},click:function(t){e.scaleEditing={active:!0,type:e.SCALE_TYPE.ST_TIME}}}},[n("q-icon",{class:{"klab-mdi-next-scale":e.hasNextScale(e.SCALE_TYPE.ST_TIME)},attrs:{name:"mdi-clock"}},[n("q-popover",{attrs:{"anchor-click":!1,anchor:e.anchorType,self:e.selfType,offset:e.offsets},model:{value:e.showTimeScalePopup,callback:function(t){e.showTimeScalePopup=t},expression:"showTimeScalePopup"}},[n("div",{staticClass:"mc-scalereference",attrs:{id:"mc-timereference"}},[n("scale-reference",{attrs:{width:e.timeWidth?e.timeWidth:e.scaleWidth,"scale-type":"time",light:!0,editable:!1}}),e.hasNextScale(e.SCALE_TYPE.ST_TIME)?n("scale-reference",{staticClass:"sb-next-scale",attrs:{width:"timeWidth ? timeWidth : scaleWidth","scale-type":"time",light:!0,editable:!1,"use-next":!0}}):e._e(),n("div",{staticClass:"sb-tooltip"},[e._v(e._s(e.$t("tooltips.clickToEdit",{type:e.SCALE_TYPE.ST_TIME})))])],1)])],1)],1)])},Qn=[];Jn._withStripped=!0;var Zn={name:"ScaleButtons",components:{ScaleReference:Et},props:{docked:{type:Boolean,required:!0},offset:{type:Number,default:8},scaleWidth:{type:String,default:"140px"},timeWidth:{type:String,default:void 0},spaceWidth:{type:String,default:void 0}},data:function(){return{showSpaceScalePopup:!1,showTimeScalePopup:!1,anchorType:this.docked?"center right":"bottom left",selfType:this.docked?"center left":"top left",offsets:this.docked?[this.offset,0]:[0,this.offset],SCALE_TYPE:c["B"]}},computed:s()({},Object(a["c"])("data",["nextScale","hasNextScale","scaleReference","contextId"]),{scaleEditing:{get:function(){return this.$store.getters["view/isScaleEditing"]},set:function(e){var t=e.active,n=e.type;this.$store.dispatch("view/setScaleEditing",{active:t,type:n})}}}),methods:{toggleScalePopup:function(e,t){"space"===e?(this.showSpaceScalePopup=t,this.showTimeScalePopup=!1):"time"===e&&(this.showSpaceScalePopup=!1,this.showTimeScalePopup=t)},rescaleContext:function(){this.hasNextScale()&&this.sendStompMessage(l["a"].SCALE_REFERENCE(s()({scaleReference:this.scaleReference,contextId:this.contextId},this.hasNextScale(c["B"].ST_SPACE)&&{spaceResolution:this.nextScale.spaceResolutionConverted,spaceUnit:this.nextScale.spaceUnit},this.hasNextScale(c["B"].ST_TIME)&&{timeResolutionMultiplier:this.nextScale.timeResolutionMultiplier,timeUnit:this.nextScale.timeUnit,start:this.nextScale.start,end:this.nextScale.end}),this.$store.state.data.session).body)},noTimeScaleChange:function(){this.$q.notify({message:this.$t("messages.availableInFuture"),type:"info",icon:"mdi-information",timeout:1e3})}}},ei=Zn,ti=(n("1817"),Object(y["a"])(ei,Jn,Qn,!1,null,null,null));ti.options.__file="ScaleButtons.vue";var ni=ti.exports,ii=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"kvs-container"},[n("div",{staticClass:"klab-button klab-action",class:{disabled:0===e.knowledgeViews.length}},[n("div",{staticClass:"kvs-button mdi mdi-text-box-multiple float-left"}),e.docked?e._e():n("q-icon",{staticClass:"float-left klab-item",staticStyle:{padding:"3px 0 0 8px"},attrs:{name:"mdi-chevron-down"}},[e.hasNew?n("span",{staticClass:"klab-button-notification"}):e._e()]),n("q-tooltip",{attrs:{offset:[8,0],self:e.selfTooltipType,anchor:e.anchorTooltipType,delay:600}},[e._v(e._s(0===e.knowledgeViews.length?e.$t("tooltips.noKnowledgeViews"):e.$t("tooltips.knowledgeViews")))])],1),n("q-popover",{staticClass:"kvs-popover",attrs:{disable:0===e.knowledgeViews.length,anchor:e.anchorType,self:e.selfType,offset:e.offsets},model:{value:e.kvListOpen,callback:function(t){e.kvListOpen=t},expression:"kvListOpen"}},[n("div",{staticClass:"kvs-popover-container"},[n("q-list",{staticClass:"kvs-list",attrs:{link:"","no-border":"",dense:"",dark:""}},e._l(e.knowledgeViews,function(t){return n("q-item",{key:t.viewId,nativeOn:{click:function(n){e.selectKnowledgeView(t.viewId)}}},[n("q-item-side",{attrs:{icon:e.KNOWLEDGE_VIEWS.find(function(e){return e.viewClass===t.viewClass}).icon}}),n("q-item-main",[n("div",[e._v(e._s(t.label))])]),n("q-tooltip",{ref:"kv-tooltip-"+t.viewId,refInFor:!0,attrs:{offset:[8,0],self:"center left",anchor:"center right"}},[e._v(e._s(t.title))])],1)}))],1)])],1)},oi=[];ii._withStripped=!0;var ri={name:"KnoledgeViewsSelector",props:{docked:{type:Boolean,required:!0},offset:{type:Number,default:0}},data:function(){return{anchorTooltipType:this.docked?"bottom left":"center right",selfTooltipType:this.docked?"top left":"center left",offsetTooltip:this.docked?[0,this.offset]:[this.offset,0],anchorType:this.docked?"center right":"bottom left",selfType:this.docked?"center left":"top left",offsets:this.docked?[this.offset,0]:[0,this.offset],kvListOpen:!1,hasNew:!1,KNOWLEDGE_VIEWS:c["t"]}},computed:s()({},Object(a["c"])("data",["knowledgeViews"]),{knowledgeViewsLength:function(){return this.knowledgeViews.length}}),methods:s()({},Object(a["b"])("data",["showKnowledgeView"]),{selectKnowledgeView:function(e){var t=this;this.showKnowledgeView(e),this.$nextTick(function(){t.kvListOpen=!1;var n=t.$refs["kv-tooltip-".concat(e)];n&&n.length>0&&n[0].hide()})}}),watch:{knowledgeViewsLength:function(e,t){e>t&&(this.hasNew=!0)},kvListOpen:function(){this.kvListOpen&&this.hasNew&&(this.hasNew=!1)}}},si=ri,ai=(n("0e44"),Object(y["a"])(si,ii,oi,!1,null,null,null));ai.options.__file="KnowledgeViewsSelector.vue";var ci=ai.exports,li=G["b"].width,ui=G["b"].height,di={top:25,left:15},hi={name:"klabMainControl",components:{KlabSpinner:M,KlabSearchBar:It,KlabBreadcrumbs:Ft,KlabTreePane:Tn,KlabLogPane:Yn,ScrollingText:gt,ScaleButtons:ni,MainActionsButtons:Te,StopActionsButtons:Ie,ObservationsTimeline:Hn,KnowledgeViewsSelector:ci},directives:{Draggable:U},mixins:[rt],data:function(){var e=this;return{isHidden:!1,dragMCConfig:{handle:void 0,resetInitialPos:!1,onPositionChange:Object(Ce["a"])(function(t,n,i){e.onDebouncedPositionChanged(i)},100),onDragStart:function(){e.dragging=!0},onDragEnd:this.checkWhereWasDragged,fingers:2},correctedPosition:{top:0,left:0},defaultLeft:di.left,defaultTop:di.top,centeredLeft:di.left,dragging:!1,wasMoved:!1,askForDocking:!1,leftMenuMaximized:"".concat(c["u"].LEFTMENU_MAXSIZE,"px"),boundingElement:void 0,selectedTab:"klab-tree-pane",draggableElement:void 0,draggableElementWidth:0,kvListOpen:!1,KNOWLEDGE_VIEWS:c["t"]}},computed:s()({},Object(a["c"])("data",["hasContext","contextHasTime","knowledgeViews"]),Object(a["c"])("stomp",["hasTasks"]),Object(a["c"])("view",["spinnerColor","searchIsFocused","searchIsActive","isDrawMode","fuzzyMode","largeMode","windowSide","layout","hasHeader"]),{qCardStyle:function(){return{top:"".concat(this.defaultTop+this.correctedPosition.top,"px"),left:"".concat(this.centeredLeft+this.correctedPosition.left,"px"),"margin-top":"-".concat(this.correctedPosition.top,"px"),"margin-left":"-".concat(this.correctedPosition.left,"px")}}}),methods:s()({},Object(a["b"])("view",["setMainViewer","setLargeMode","searchStart","searchFocus","setWindowSide","setObservationInfo"]),{callStartType:function(e){this.searchIsFocused?e.evt.stopPropagation():this.$refs["klab-search-bar"].startType(e)},onDebouncedPositionChanged:function(e){this.askForDocking=!!(this.hasContext&&this.dragging&&null===this.layout&&e&&e.x<=30+this.correctedPosition.left)},hide:function(){this.dragMCConfig.resetInitialPos=!1,this.isHidden=!0},show:function(){this.dragMCConfig.resetInitialPos=!1,this.isHidden=!1},getRightLeft:function(){var e=li(this.boundingElement);return e-this.draggableElement.offsetWidth-di.left+this.correctedPosition.left},getCenteredLeft:function(){var e;if("undefined"===typeof this.draggableElement||this.hasContext)e=this.defaultLeft;else{var t=this.draggableElementWidth,n=li(this.boundingElement);e=(n-t)/2}return e+this.correctedPosition.left},changeDraggablePosition:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&(e.top+=this.correctedPosition.top,e.left+=this.correctedPosition.left),this.draggableElement.style.left="".concat(e.left,"px"),this.draggableElement.style.top="".concat(e.top,"px");var n=JSON.parse(this.dragMCConfig.handle.getAttribute("draggable-state"));n.startDragPosition=e,n.currentDragPosition=e;var i=document.querySelector(".mc-q-card-title");i?i.setAttribute("draggable-state",JSON.stringify(n)):this.dragMCConfig.handle.setAttribute("draggable-state",JSON.stringify(n))},checkWhereWasDragged:function(){if(this.dragging=!1,this.askForDocking)return this.askForDocking=!1,this.setMainViewer(c["M"].DOCKED_DATA_VIEWER),void this.setObservationInfo(null);this.draggableElement.offsetTop<0&&this.changeDraggablePosition({top:0,left:Math.max(this.draggableElement.offsetLeft,0)}),this.draggableElement.offsetLeft+this.draggableElement.offsetWidth<=0&&this.changeDraggablePosition({top:Math.max(this.draggableElement.offsetTop,0),left:0}),this.draggableElement.offsetLeft>=li(this.boundingElement)&&this.changeDraggablePosition({top:Math.max(this.draggableElement.offsetTop,0),left:Math.max(li(this.boundingElement)-this.draggableElement.offsetWidth,0)}),this.draggableElement.offsetTop>=ui(this.boundingElement)&&this.changeDraggablePosition({top:Math.max(ui(this.boundingElement)-this.draggableElement.offsetHeight,0),left:Math.max(this.draggableElement.offsetLeft,0)})},getBGColor:function(e){return"rgba(".concat(this.spinnerColor.rgb.r,",").concat(this.spinnerColor.rgb.g,",").concat(this.spinnerColor.rgb.b,", ").concat(e,")")},mapSizeChangedListener:function(e){var t=this;if(e&&"changelayout"===e.type)return e.align&&this.setWindowSide(e.align),this.updateCorrectedPosition(),void this.$nextTick(function(){t.changeDraggablePosition({left:t.hasContext?"left"===t.windowSide?t.defaultLeft:t.getRightLeft():t.getCenteredLeft(),top:t.defaultTop},!1)});this.dragMCConfig.initialPosition={left:this.centeredLeft,top:this.defaultTop},this.checkWhereWasDragged()},spinnerDoubleClickListener:function(){this.hide()},updateCorrectedPosition:function(){var e=document.querySelector(".kapp-header-container"),t=document.querySelector(".kapp-left-container aside"),n=e?ui(e):0,i=t?li(t):0;this.correctedPosition={top:n,left:i},this.defaultTop=di.top+n,this.defaultLeft=di.left+i,this.centeredLeft=this.getCenteredLeft()},updateDraggable:function(){this.updateCorrectedPosition(),this.draggableElement=document.querySelector(".kexplorer-main-container .mc-q-card"),this.draggableElementWidth=li(this.draggableElement),this.dragMCConfig.handle=document.querySelector(".kexplorer-main-container .mc-q-card-title"),this.boundingElement=document.querySelector(".kexplorer-container"),this.centeredLeft=this.getCenteredLeft(),this.dragMCConfig.initialPosition={left:this.centeredLeft,top:this.defaultTop}},focusSearch:function(e){this.moved||e&&e.target.classList&&(e.target.classList.contains("mcm-button")||e.target.classList.contains("q-icon")||e.target.classList.contains("q-btn")||e.target.classList.contains("q-btn-inner"))||(this.searchIsActive?this.searchIsFocused||this.searchFocus({focused:!0}):this.searchStart(""))}}),watch:{hasContext:function(){var e=this;this.setLargeMode(0),this.$nextTick(function(){e.changeDraggablePosition({top:e.defaultTop,left:e.hasContext?"left"===e.windowSide?e.defaultLeft:e.getRightLeft():e.getCenteredLeft()},!1)})},largeMode:function(){var e=this;this.hasContext||this.$nextTick(function(){var t=c["g"].SEARCHBAR_INCREMENT*e.largeMode/2;if(t>=0){var n=parseFloat(e.draggableElement.style.left),i=n-e.getCenteredLeft();i%(c["g"].SEARCHBAR_INCREMENT/2)===0&&e.changeDraggablePosition({top:parseFloat(e.draggableElement.style.top),left:e.getCenteredLeft()-t},!1)}})}},created:function(){this.defaultTop=di.top,this.defaultLeft=di.left,this.VIEWERS=c["M"]},mounted:function(){this.updateDraggable(),this.$eventBus.$on(c["h"].SPINNER_DOUBLE_CLICK,this.spinnerDoubleClickListener),this.$eventBus.$on(c["h"].MAP_SIZE_CHANGED,this.mapSizeChangedListener)},beforeDestroy:function(){this.$eventBus.$off(c["h"].SPINNER_DOUBLE_CLICK,this.spinnerDoubleClickListener),this.$eventBus.$off(c["h"].MAP_SIZE_CHANGED,this.mapSizeChangedListener)}},pi=hi,fi=(n("96fa"),Object(y["a"])(pi,Me,we,!1,null,null,null));fi.options.__file="KlabMainControl.vue";var mi=fi.exports,gi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"no-padding relative-position full-width"},e._l(e.dataViewers,function(t){return n("div",{key:t.idx,class:["no-padding",t.main?"absolute-top full-height full-width":"absolute thumb-view"],style:e.viewerStyle(t),attrs:{id:"dv-viewer-"+t.idx}},[t.main?e._e():n("div",{staticClass:"thumb-viewer-title absolute-top"},[n("div",{staticClass:"relative-position"},[n("div",{staticClass:"thumb-viewer-label float-left q-ma-sm",class:[t.type.hideable?"thumb-closable":""]},[e._v("\n "+e._s(e.capitalize(t.label))+"\n ")]),n("div",{staticClass:"float-right q-ma-xs thumb-viewer-button"},[n("q-btn",{staticClass:"shadow-1",attrs:{round:"",color:"mc-main",size:"xs",icon:"mdi-chevron-up"},on:{click:function(n){e.setMain(t.idx)}}}),t.type.hideable?n("q-btn",{staticClass:"shadow-1 thumb-close",attrs:{round:"",color:"black",size:"xs",icon:"mdi-close"},on:{click:function(n){e.closeViewer(t)}}}):e._e()],1)])]),n(t.type.component,{tag:"component",attrs:{idx:t.idx}})],1)}))},vi=[];gi._withStripped=!0;var bi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"upload-files",rawName:"v-upload-files",value:e.uploadConfig,expression:"uploadConfig"}],staticClass:"fit no-padding map-viewer"},[n("div",{ref:"map"+e.idx,staticClass:"fit",class:{"mv-exploring":e.exploreMode||null!==e.topLayer},attrs:{id:"map"+e.idx}}),n("q-icon",{staticClass:"map-selection-marker",attrs:{name:e.mapSelection.locked?"mdi-image-filter-center-focus":"mdi-crop-free",id:"msm-"+e.idx}}),n("q-resize-observable",{on:{resize:e.handleResize}}),e.isDrawMode?n("map-drawer",{attrs:{map:e.map},on:{drawend:e.sendSpatialLocation}}):e._e(),n("q-modal",{attrs:{"no-esc-dismiss":"","no-backdrop-dismiss":"","content-classes":["gl-msg-content"]},model:{value:e.waitingGeolocation,callback:function(t){e.waitingGeolocation=t},expression:"waitingGeolocation"}},[n("div",{staticClass:"bg-opaque-white"},[n("div",{staticClass:"q-pa-xs"},[n("h5",[e._v(e._s(e.$t("messages.geolocationWaitingTitle")))]),n("p",{domProps:{innerHTML:e._s(e.$t("messages.geolocationWaitingText"))}}),n("p",{directives:[{name:"show",rawName:"v-show",value:null!==e.geolocationIncidence,expression:"geolocationIncidence !== null"}],staticClass:"gl-incidence"},[e._v(e._s(e.geolocationIncidence))]),n("div",{staticClass:"gl-btn-container"},[n("q-btn",{directives:[{name:"show",rawName:"v-show",value:null!==e.geolocationIncidence,expression:"geolocationIncidence !== null"}],attrs:{label:e.$t("label.appRetry"),color:"primary"},on:{click:e.retryGeolocation}}),n("q-btn",{attrs:{label:e.$t("label.appCancel"),color:"mc-main"},on:{click:function(t){e.stopGeolocation(!0)}}})],1)])])]),n("q-modal",{attrs:{"no-route-dismiss":!0,"no-esc-dismiss":!0,"no-backdrop-dismiss":!0},model:{value:e.progressBarVisible,callback:function(t){e.progressBarVisible=t},expression:"progressBarVisible"}},[n("q-progress",{attrs:{percentage:e.uploadProgress,color:"mc-main",stripe:!0,animate:!0,height:"1em"}})],1),n("div",{ref:"mv-popup",staticClass:"ol-popup",attrs:{id:"mv-popup"}},[n("q-btn",{staticClass:"ol-popup-closer",attrs:{icon:"mdi-close",color:"grey-8",size:"xs",flat:"",round:""},on:{click:e.closePopup}}),n("div",{staticClass:"ol-popup-content",attrs:{id:"mv-popup-content"},domProps:{innerHTML:e._s(e.popupContent)}})],1),n("observation-context-menu",{attrs:{"observation-id":e.contextMenuObservationId},on:{hide:function(t){e.contextMenuObservationId=null}}}),n("div",{staticClass:"mv-extent-map",class:{"mv-extent-map-hide":!e.hasExtentMap},attrs:{id:"mv-extent-map"}}),e.hasContext||null===e.proposedContext?e._e():n("q-btn",{staticClass:"mv-remove-proposed-context",style:null!==e.proposedContextCenter?e.proposedContextCenter:{},attrs:{icon:"mdi-close",size:"lg",round:""},nativeOn:{click:function(t){e.sendSpatialLocation(null)}}})],1)},yi=[];bi._withStripped=!0;var _i="".concat("").concat(T["c"].REST_UPLOAD),Mi="1024MB",wi=Mi.substr(Mi.length-2),Ci="KB"===wi?1:"MB"===wi?2:"GB"===wi?3:"PB"===wi?4:0,Si=parseInt(Mi.substring(0,Mi.length-2),10)*Math.pow(1024,Ci);function Ai(){var e=document.createElement("div");return("draggable"in e||"ondragstart"in e&&"ondrop"in e)&&"FormData"in window&&"FileReader"in window}var Ei=He["a"].directive("upload",{inserted:function(e,t){if(Ai()){var n=t.value&&t.value.onUploadProgress&&"function"===typeof t.value.onUploadProgress?t.value.onUploadProgress:function(){},i=t.value&&t.value.onUploadEnd&&"function"===typeof t.value.onUploadEnd?t.value.onUploadEnd:function(){console.debug("Upload complete")},o=t.value&&t.value.onUploadError&&"function"===typeof t.value.onUploadError?t.value.onUploadError:function(e){console.error(JSON.stringify(e,null,4))};["drag","dragstart","dragend","dragover","dragenter","dragleave","drop"].forEach(function(t){e.addEventListener(t,function(e){e.preventDefault(),e.stopPropagation()},!1)}),e.addEventListener("drop",function(e){var r=e.dataTransfer.files;if(null!==r&&0!==r.length){for(var s=new FormData,a=[],c=0;cSi?o("File is too large, max sixe is ".concat(Mi)):(s.append("files[]",r[c]),a.push(r[c].name));"undefined"!==typeof t.value.refId&&null!==t.value.refId&&s.append("refId",t.value.refId||null),L["a"].post(_i,s,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(e){n(parseInt(Math.round(100*e.loaded/e.total),10))}}).then(function(){i(null!==r&&a.length>0?a.join(", "):null)}).catch(function(e){o(e,null!==r&&a.length>0?a.join(", "):null)})}})}}}),Oi=n("256f"),Li=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"draggable",rawName:"v-draggable",value:e.dragDCConfig,expression:"dragDCConfig"}],staticClass:"md-draw-controls"},[n("div",{staticClass:"md-title"},[e._v("Draw mode")]),n("div",{staticClass:"md-controls"},[n("q-icon",{staticClass:"md-control md-ok",attrs:{name:"mdi-check-circle-outline"},nativeOn:{click:function(t){e.drawOk()}}}),n("q-icon",{staticClass:"md-control md-erase",class:[e.hasCustomContextFeatures?"":"disabled"],attrs:{name:"mdi-delete-variant"},nativeOn:{click:function(t){e.hasCustomContextFeatures&&e.drawErase()}}}),n("q-icon",{staticClass:"md-control md-cancel",attrs:{name:"mdi-close-circle-outline"},nativeOn:{click:function(t){e.drawCancel()}}})],1),n("div",{directives:[{name:"show",rawName:"v-show",value:e.selectors,expression:"selectors"}],staticClass:"md-selector"},[n("q-btn-toggle",{attrs:{"toggle-color":"mc-main",size:"md",options:[{tabindex:1,icon:"mdi-vector-point",value:"Point",disable:!0},{tabindex:2,icon:"mdi-vector-line",value:"LineString",disable:!0},{tabindex:3,icon:"mdi-vector-polygon",value:"Polygon"},{tabindex:4,icon:"mdi-vector-circle-variant",value:"Circle"}]},model:{value:e.drawType,callback:function(t){e.drawType=t},expression:"drawType"}})],1)])},Ti=[];Li._withStripped=!0;var xi=n("a27f"),Ri=n("3e6b"),ki=n("5831"),zi=n("6c77"),Pi=n("83a6"),Ni=n("8682"),Ii=n("ce2c"),Di=n("ac29"),Bi=n("c807"),qi=n("4cdf"),ji=n("f822"),Wi=n("5bc3"),Fi={name:"MapDrawer",props:{map:{type:Object,required:!0},selectors:{type:Boolean,required:!1,default:!0},fillColor:{type:String,required:!1,default:"rgba(17, 170, 187, 0.3)"},strokeColor:{type:String,required:!1,default:"rgb(17, 170, 187)"},strokeWidth:{type:Number,required:!1,default:2},pointRadius:{type:Number,required:!1,default:5}},data:function(){return{drawerLayer:void 0,drawer:void 0,drawerModify:void 0,dragDCConfig:{resetInitialPos:!0},drawType:"Polygon"}},computed:{hasCustomContextFeatures:function(){return this.drawerLayer&&this.drawerLayer.getSource().getFeatures().length>0}},methods:s()({},Object(a["b"])("view",["setDrawMode"]),{drawOk:function(){var e=this.drawerLayer.getSource().getFeatures().filter(function(e){return null!==e.getGeometry()}),t=e.length,n=[];if(0!==t){for(var i=null,o=0;o0&&e.pop(),this.drawerLayer.getSource().clear(!0),this.drawerLayer.getSource().addFeatures(e)},drawCancel:function(){this.$emit("drawcancel"),this.drawerLayer.getSource().clear(),this.setDrawMode(!1)},setDrawer:function(){var e=this;this.drawer=new Di["a"]({source:this.drawerLayer.getSource(),type:this.drawType}),this.drawer.on("drawend",function(t){var n=Object(Xe["j"])(t.feature.getGeometry());Object(Xe["i"])(n)||(e.$q.notify({message:e.$t("messages.invalidGeometry"),type:"negative",icon:"mdi-alert-circle",timeout:1e3}),t.feature.setGeometry(null))}),this.map.addInteraction(this.drawer)}}),watch:{drawType:function(){this.map.removeInteraction(this.drawer),this.setDrawer()}},directives:{Draggable:xi["Draggable"]},mounted:function(){var e=new ki["a"];this.drawerModify=new Bi["a"]({source:e}),this.drawerLayer=new Ri["a"]({id:"DrawerLayer",source:e,visible:!0,style:new zi["c"]({fill:new Pi["a"]({color:this.fillColor}),stroke:new Ni["a"]({color:this.strokeColor,width:this.strokeWidth}),image:new Ii["a"]({radius:this.pointRadius,fill:new Pi["a"]({color:this.strokeColor})})})}),this.dragDCConfig.boundingElement=document.getElementById(this.map.get("target")),this.map.addLayer(this.drawerLayer),this.map.addInteraction(this.drawerModify),this.setDrawer()},beforeDestroy:function(){this.map.removeInteraction(this.drawer),this.map.removeInteraction(this.drawerModify),this.drawerLayer.getSource().clear(!0)}},Hi=Fi,Xi=(n("37a9"),Object(y["a"])(Hi,Li,Ti,!1,null,null,null));Xi.options.__file="MapDrawer.vue";var Ui=Xi.exports,Vi=n("e300"),Gi=n("9c78"),Ki=n("c810"),$i=n("592d"),Yi=n("e269"),Ji={BOTTOM_LEFT:"bottom-left",BOTTOM_CENTER:"bottom-center",BOTTOM_RIGHT:"bottom-right",CENTER_LEFT:"center-left",CENTER_CENTER:"center-center",CENTER_RIGHT:"center-right",TOP_LEFT:"top-left",TOP_CENTER:"top-center",TOP_RIGHT:"top-right"},Qi=n("cd7e"),Zi=n("0999"),eo=n("1e8d"),to=n("0af5"),no={ELEMENT:"element",MAP:"map",OFFSET:"offset",POSITION:"position",POSITIONING:"positioning"},io=function(e){function t(t){e.call(this),this.options=t,this.id=t.id,this.insertFirst=void 0===t.insertFirst||t.insertFirst,this.stopEvent=void 0===t.stopEvent||t.stopEvent,this.element=document.createElement("div"),this.element.className=void 0!==t.className?t.className:"ol-overlay-container "+Qi["d"],this.element.style.position="absolute",this.autoPan=void 0!==t.autoPan&&t.autoPan,this.autoPanAnimation=t.autoPanAnimation||{},this.autoPanMargin=void 0!==t.autoPanMargin?t.autoPanMargin:20,this.rendered={bottom_:"",left_:"",right_:"",top_:"",visible:!0},this.mapPostrenderListenerKey=null,Object(eo["a"])(this,Object(Yi["b"])(no.ELEMENT),this.handleElementChanged,this),Object(eo["a"])(this,Object(Yi["b"])(no.MAP),this.handleMapChanged,this),Object(eo["a"])(this,Object(Yi["b"])(no.OFFSET),this.handleOffsetChanged,this),Object(eo["a"])(this,Object(Yi["b"])(no.POSITION),this.handlePositionChanged,this),Object(eo["a"])(this,Object(Yi["b"])(no.POSITIONING),this.handlePositioningChanged,this),void 0!==t.element&&this.setElement(t.element),this.setOffset(void 0!==t.offset?t.offset:[0,0]),this.setPositioning(void 0!==t.positioning?t.positioning:Ji.TOP_LEFT),void 0!==t.position&&this.setPosition(t.position)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.getElement=function(){return this.get(no.ELEMENT)},t.prototype.getId=function(){return this.id},t.prototype.getMap=function(){return this.get(no.MAP)},t.prototype.getOffset=function(){return this.get(no.OFFSET)},t.prototype.getPosition=function(){return this.get(no.POSITION)},t.prototype.getPositioning=function(){return this.get(no.POSITIONING)},t.prototype.handleElementChanged=function(){Object(Zi["d"])(this.element);var e=this.getElement();e&&this.element.appendChild(e)},t.prototype.handleMapChanged=function(){this.mapPostrenderListenerKey&&(Object(Zi["e"])(this.element),Object(eo["e"])(this.mapPostrenderListenerKey),this.mapPostrenderListenerKey=null);var e=this.getMap();if(e){this.mapPostrenderListenerKey=Object(eo["a"])(e,$i["a"].POSTRENDER,this.render,this),this.updatePixelPosition();var t=this.stopEvent?e.getOverlayContainerStopEvent():e.getOverlayContainer();this.insertFirst?t.insertBefore(this.element,t.childNodes[0]||null):t.appendChild(this.element)}},t.prototype.render=function(){this.updatePixelPosition()},t.prototype.handleOffsetChanged=function(){this.updatePixelPosition()},t.prototype.handlePositionChanged=function(){this.updatePixelPosition(),this.get(no.POSITION)&&this.autoPan&&this.panIntoView()},t.prototype.handlePositioningChanged=function(){this.updatePixelPosition()},t.prototype.setElement=function(e){this.set(no.ELEMENT,e)},t.prototype.setMap=function(e){this.set(no.MAP,e)},t.prototype.setOffset=function(e){this.set(no.OFFSET,e)},t.prototype.setPosition=function(e){this.set(no.POSITION,e)},t.prototype.panIntoView=function(){var e=this.getMap();if(e&&e.getTargetElement()){var t=this.getRect(e.getTargetElement(),e.getSize()),n=this.getElement(),i=this.getRect(n,[Object(Zi["c"])(n),Object(Zi["b"])(n)]),o=this.autoPanMargin;if(!Object(to["g"])(t,i)){var r=i[0]-t[0],s=t[2]-i[2],a=i[1]-t[1],c=t[3]-i[3],l=[0,0];if(r<0?l[0]=r-o:s<0&&(l[0]=Math.abs(s)+o),a<0?l[1]=a-o:c<0&&(l[1]=Math.abs(c)+o),0!==l[0]||0!==l[1]){var u=e.getView().getCenter(),d=e.getPixelFromCoordinate(u),h=[d[0]+l[0],d[1]+l[1]];e.getView().animate({center:e.getCoordinateFromPixel(h),duration:this.autoPanAnimation.duration,easing:this.autoPanAnimation.easing})}}}},t.prototype.getRect=function(e,t){var n=e.getBoundingClientRect(),i=n.left+window.pageXOffset,o=n.top+window.pageYOffset;return[i,o,i+t[0],o+t[1]]},t.prototype.setPositioning=function(e){this.set(no.POSITIONING,e)},t.prototype.setVisible=function(e){this.rendered.visible!==e&&(this.element.style.display=e?"":"none",this.rendered.visible=e)},t.prototype.updatePixelPosition=function(){var e=this.getMap(),t=this.getPosition();if(e&&e.isRendered()&&t){var n=e.getPixelFromCoordinate(t),i=e.getSize();this.updateRenderedPosition(n,i)}else this.setVisible(!1)},t.prototype.updateRenderedPosition=function(e,t){var n=this.element.style,i=this.getOffset(),o=this.getPositioning();this.setVisible(!0);var r=i[0],s=i[1];if(o==Ji.BOTTOM_RIGHT||o==Ji.CENTER_RIGHT||o==Ji.TOP_RIGHT){""!==this.rendered.left_&&(this.rendered.left_=n.left="");var a=Math.round(t[0]-e[0]-r)+"px";this.rendered.right_!=a&&(this.rendered.right_=n.right=a)}else{""!==this.rendered.right_&&(this.rendered.right_=n.right=""),o!=Ji.BOTTOM_CENTER&&o!=Ji.CENTER_CENTER&&o!=Ji.TOP_CENTER||(r-=this.element.offsetWidth/2);var c=Math.round(e[0]+r)+"px";this.rendered.left_!=c&&(this.rendered.left_=n.left=c)}if(o==Ji.BOTTOM_LEFT||o==Ji.BOTTOM_CENTER||o==Ji.BOTTOM_RIGHT){""!==this.rendered.top_&&(this.rendered.top_=n.top="");var l=Math.round(t[1]-e[1]-s)+"px";this.rendered.bottom_!=l&&(this.rendered.bottom_=n.bottom=l)}else{""!==this.rendered.bottom_&&(this.rendered.bottom_=n.bottom=""),o!=Ji.CENTER_LEFT&&o!=Ji.CENTER_CENTER&&o!=Ji.CENTER_RIGHT||(s-=this.element.offsetHeight/2);var u=Math.round(e[1]+s)+"px";this.rendered.top_!=u&&(this.rendered.top_=n.top=u)}},t.prototype.getOptions=function(){return this.options},t}(Yi["a"]),oo=io,ro=n("b2da"),so=n.n(ro),ao=n("64d9"),co=n("f403"),lo=n("01d4"),uo=n("3900"),ho="projection",po="coordinateFormat",fo=function(e){function t(t){var n=t||{},i=document.createElement("div");i.className=void 0!==n.className?n.className:"ol-mouse-position",e.call(this,{element:i,render:n.render||mo,target:n.target}),Object(eo["a"])(this,Object(Yi["b"])(ho),this.handleProjectionChanged_,this),n.coordinateFormat&&this.setCoordinateFormat(n.coordinateFormat),n.projection&&this.setProjection(n.projection),this.undefinedHTML_=void 0!==n.undefinedHTML?n.undefinedHTML:" ",this.renderOnMouseOut_=!!this.undefinedHTML_,this.renderedHTML_=i.innerHTML,this.mapProjection_=null,this.transform_=null,this.lastMouseMovePixel_=null}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.handleProjectionChanged_=function(){this.transform_=null},t.prototype.getCoordinateFormat=function(){return this.get(po)},t.prototype.getProjection=function(){return this.get(ho)},t.prototype.handleMouseMove=function(e){var t=this.getMap();this.lastMouseMovePixel_=t.getEventPixel(e),this.updateHTML_(this.lastMouseMovePixel_)},t.prototype.handleMouseOut=function(e){this.updateHTML_(null),this.lastMouseMovePixel_=null},t.prototype.setMap=function(t){if(e.prototype.setMap.call(this,t),t){var n=t.getViewport();this.listenerKeys.push(Object(eo["a"])(n,lo["a"].MOUSEMOVE,this.handleMouseMove,this),Object(eo["a"])(n,lo["a"].TOUCHSTART,this.handleMouseMove,this)),this.renderOnMouseOut_&&this.listenerKeys.push(Object(eo["a"])(n,lo["a"].MOUSEOUT,this.handleMouseOut,this),Object(eo["a"])(n,lo["a"].TOUCHEND,this.handleMouseOut,this))}},t.prototype.setCoordinateFormat=function(e){this.set(po,e)},t.prototype.setProjection=function(e){this.set(ho,Object(Oi["g"])(e))},t.prototype.updateHTML_=function(e){var t=this.undefinedHTML_;if(e&&this.mapProjection_){if(!this.transform_){var n=this.getProjection();this.transform_=n?Object(Oi["j"])(this.mapProjection_,n):Oi["k"]}var i=this.getMap(),o=i.getCoordinateFromPixel(e);if(o){this.transform_(o,o);var r=this.getCoordinateFormat();t=r?r(o):o.toString()}}this.renderedHTML_&&t===this.renderedHTML_||(this.element.innerHTML=t,this.renderedHTML_=t)},t}(uo["default"]);function mo(e){var t=e.frameState;t?this.mapProjection_!=t.viewState.projection&&(this.mapProjection_=t.viewState.projection,this.transform_=null):this.mapProjection_=null}var go=fo,vo=n("a568"),bo=(n("c58e"),{name:"MapViewer",components:{MapDrawer:Ui,ObservationContextMenu:un},props:{idx:{type:Number,required:!0}},directives:{UploadFiles:Ei},data:function(){var e=this;return{center:this.$mapDefaults.center,zoom:this.$mapDefaults.zoom,map:null,extentMap:null,hasExtentMap:!1,view:null,movedWithContext:!1,noNewRegion:!1,layers:new Vi["a"],zIndexCounter:0,baseLayers:null,layerSwitcher:null,visibleBaseLayer:null,mapSelectionMarker:void 0,wktInstance:new ao["a"],geolocationId:null,geolocationIncidence:null,popupContent:"",popupOverlay:void 0,contextLayer:null,proposedContextLayer:null,proposedContextCenter:null,uploadConfig:{refId:null,onUploadProgress:function(t){e.uploadProgress=t},onUploadEnd:function(t){e.$q.notify({message:e.$t("messages.uploadComplete",{fileName:t}),type:"info",icon:"mdi-information",timeout:1e3}),e.uploadProgress=null},onUploadError:function(t,n){e.$q.notify({message:"".concat(e.$t("errors.uploadError",{fileName:n}),"\n").concat(t.response.data.message),type:"negative",icon:"mdi-alert-circle",timeout:1e3}),e.uploadProgress=null}},uploadProgress:null,storedZoom:null,clicksOnMap:0,bufferingLayers:!1,lastModificationLoaded:null,previousTopLayer:null,lockedObservations:[],contextMenuObservationId:null,coordinatesControl:void 0}},computed:s()({observations:function(){return this.$store.getters["data/observationsOfViewer"](this.idx)},lockedObservationsIds:function(){return this.lockedObservations.map(function(e){return e.id})}},Object(a["c"])("data",["proposedContext","hasContext","contextId","contextLabel","session","timestamp","scaleReference","timeEvents","timeEventsOfObservation"]),Object(a["c"])("view",["contextGeometry","observationInfo","exploreMode","mapSelection","isDrawMode","topLayer","mainViewer","viewCoordinates"]),Object(a["d"])("view",["saveLocation"]),{hasCustomContextFeatures:function(){return this.drawerLayer&&this.drawerLayer.getSource().getFeatures().length>0},progressBarVisible:function(){return null!==this.uploadProgress},waitingGeolocation:{get:function(){return this.$store.state.view.waitingGeolocation},set:function(e){this.$store.state.view.waitingGeolocation=e}}}),methods:s()({},Object(a["b"])("data",["setCrossingIDL","putObservationOnTop"]),Object(a["b"])("view",["addToKexplorerLog","setSpinner","setMapSelection","setDrawMode","setTopLayer","setShowSettings"]),{handleResize:function(){null!==this.map&&(this.map.updateSize(),this.$eventBus.$emit(c["h"].MAP_SIZE_CHANGED))},onMoveEnd:function(){this.hasContext?this.movedWithContext=!0:this.isDrawMode||this.noNewRegion?this.noNewRegion=!1:this.sendRegionOfInterest()},sendRegionOfInterest:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.waitingGeolocation){var e=null,t=Object(Oi["l"])(this.view.getCenter(),Lt["d"].PROJ_EPSG_3857,Lt["d"].PROJ_EPSG_4326);Math.abs(t[0])>180&&(t[0]%=180,this.view.animate({center:Object(Oi["l"])(t,Lt["d"].PROJ_EPSG_4326,Lt["d"].PROJ_EPSG_3857),duration:500}));try{var n=Object(Oi["m"])(this.map.getView().calculateExtent(this.map.getSize()),"EPSG:3857","EPSG:4326");if(n[0]<-180||n[1]<-90||n[2]>180||n[3]>90)return void this.setCrossingIDL(!0);this.setCrossingIDL(!1),e=l["a"].REGION_OF_INTEREST(n,this.session)}catch(e){console.error(e),this.addToKexplorerLog({type:c["w"].TYPE_ERROR,payload:{message:e.message,attach:e}})}e&&e.body&&(this.sendStompMessage(e.body),this.saveLocation&&V["a"].set(c["P"].COOKIE_MAPDEFAULT,{center:this.view.getCenter(),zoom:this.view.getZoom()},{expires:30,path:"/",secure:!0}))}},findExistingLayerById:function(e){if(this.layers&&null!==this.layers){var t=this.layers.getArray();return t.filter(function(t){return null===t.get("id")?null===e:t.get("id").startsWith(e)})}return[]},findModificationTimestamp:function(e,t){if(-1!==t){var n=null===e?this.timeEvents:this.timeEventsOfObservation(e);return n.length>0?n.reduce(function(e,n){var i=t-n.timestamp;return i<=0?e:-1===e||i0)){e.next=7;break}if(c="".concat(n.id,"T").concat(o),l=a.find(function(e){return e.get("id")===c}),!l){e.next=7;break}return e.abrupt("return",{founds:a,layer:l});case 7:return e.prev=7,console.debug("Creating layer: ".concat(n.label," with timestamp ").concat(o)),e.next=11,Object(Ue["k"])(n,{projection:this.proj,timestamp:o,realTimestamp:s?o:this.timestamp});case 11:return u=e.sent,a&&a.length>0?u.setZIndex(n.zIndex):(this.zIndexCounter+=2,n.zIndex=this.zIndexCounter+n.zIndexOffset,u.setZIndex(n.zIndex)),this.layers.push(u),a.push(u),e.abrupt("return",{founds:a,layer:u});case 18:return e.prev=18,e.t0=e["catch"](7),console.error(e.t0.message),this.$q.notify({message:e.t0.message,type:"negative",icon:"mdi-alert-circle",timeout:3e3}),e.abrupt("return",null);case 23:case"end":return e.stop()}},e,this,[[7,18]])}));return function(t){return e.apply(this,arguments)}}(),bufferLayerImages:function(e){var t=this;e.stop>=this.scaleReference.end&&(e.stop=this.scaleReference.end-1),console.debug("Ask preload from ".concat(e.start," to ").concat(e.stop));var n=this.timeEvents.filter(function(t){return t.timestamp>e.start&&t.timestamp<=e.stop}),i=n.length;if(i>0){var o=function e(o){var r=t.observations.find(function(e){return e.id===n[o].id});r&&t.findLayerById({observation:r,timestamp:n[o].timestamp,isBuffer:!0}).then(function(t){var n=t.layer,r=n.getSource().image_;r&&0===r.state?(r.load(),n.getSource().on("imageloadend",function(t){t.image;++o125&&(this.hasExtentMap=!0,this.$nextTick(function(){e.extentMap.addLayer(e.proposedContextLayer),e.extentMap.getView().fit(e.proposedContext,{padding:[10,10,10,10],constrainResolution:!1})}))}},drawContext:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null!==t&&(this.layers.clear(),this.lockedObservations=[],this.previousTopLayer=null,null!==this.contextLayer?(this.map.removeLayer(this.contextLayer),this.contextLayer=null):this.baseLayers.removeMask()),null===this.contextGeometry)return console.debug("No context, send region of interest"),void this.sendRegionOfInterest();this.contextGeometry instanceof Array?(this.contextLayer=new Ri["a"]({id:this.contextId,source:new ki["a"]({features:[new qi["a"]({geometry:new co["a"](this.contextGeometry),name:this.contextLabel,id:this.contextId})]}),style:Object(Xe["d"])(Lt["e"].POINT_CONTEXT_SVG_PARAM,this.contextLabel)}),this.map.addLayer(this.contextLayer),this.view.setCenter(this.contextGeometry)):(this.baseLayers.setMask(this.contextGeometry),this.view.fit(this.contextGeometry,{padding:[10,10,10,10],constrainResolution:!1}))},drawObservations:function(){var e=W()(regeneratorRuntime.mark(function e(){var t,n,i=this;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:this.observations&&this.observations.length>0&&(this.lockedObservations=this.lockedObservations.filter(function(e){return e.visible}),t=this.observations.find(function(e){return e.top&&Object(Ue["n"])(e)}),t&&(this.previousTopLayer&&this.previousTopLayer.visible?t.id!==this.previousTopLayer.id&&(this.lockedObservations=this.lockedObservations.filter(function(e){return e.id!==t.id}),this.lockedObservations.push(this.previousTopLayer),this.previousTopLayer=t):this.previousTopLayer=t),n="undefined"!==typeof this.observations.find(function(e){return e.visible&&e.loading}),this.observations.forEach(function(e){if(!e.isContainer){var t=i.findModificationTimestamp(e.id,i.timestamp);i.findLayerById({observation:e,timestamp:t}).then(function(o){if(null!==o){var r=o.founds,s=o.layer;s.setOpacity(e.layerOpacity),s.setVisible(e.visible);var a=e.zIndex;if(e.top?a=e.zIndexOffset+Lt["d"].ZINDEX_TOP:i.lockedObservationsIds.length>0&&i.lockedObservationsIds.includes(e.id)&&(a=Math.max(s.get("zIndex")-10,1)),n||(s.setZIndex(a),e.visible&&e.top&&Object(Ue["n"])(e)&&(null===i.topLayer||i.topLayer.id!=="".concat(e.id,"T").concat(t))?i.setTopLayer({id:"".concat(e.id,"T").concat(t),desc:e.label}):e.visible&&e.top||null===i.topLayer||i.topLayer.id!=="".concat(e.id,"T").concat(t)||i.setTopLayer(null)),r.length>0)if(e.visible){if(-1===t||-1!==e.tsImages.indexOf("T".concat(t))){var c=[];r.forEach(function(n,i){n.get("id")==="".concat(e.id,"T").concat(t)?n.setVisible(!0):n.getVisible()&&c.push(i)}),c.length>0&&c.forEach(function(e){i.$nextTick(function(){r[e].setVisible(!1)})})}}else r.forEach(function(e){e.setVisible(!1)});else console.debug("No multiple layer for observation ".concat(e.id,", refreshing")),s.setVisible(e.visible)}})}}),null===this.topLayer&&this.closePopup());case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),sendSpatialLocation:function(e){if(e){var t=this.wktInstance.writeFeaturesText(e,{dataProjection:"EPSG:4326",featureProjection:"EPSG:3857"});this.sendStompMessage(l["a"].SPATIAL_LOCATION({wktShape:t},this.session).body),this.setCrossingIDL(!1)}else this.sendStompMessage(l["a"].SPATIAL_LOCATION({wktShape:""},this.session).body)},doGeolocation:function(){var e=this;null!==this.geolocationId&&navigator.geolocation.clearWatch(this.geolocationId),this.geolocationId=navigator.geolocation.watchPosition(function(t){e.center=Object(Oi["l"])([t.coords.longitude,t.coords.latitude],Lt["d"].PROJ_EPSG_4326,Lt["d"].PROJ_EPSG_3857),e.stopGeolocation()},function(t){switch(t.code){case t.PERMISSION_DENIED:e.geolocationIncidence=e.$t("messages.geolocationErrorPermissionDenied");break;case t.POSITION_UNAVAILABLE:e.geolocationIncidence=e.$t("messages.geolocationErrorPermissionDenied");break;case t.TIMEOUT:e.geolocationIncidence=e.$t("messages.geolocationErrorPermissionDenied");break;default:e.geolocationIncidence=e.$t("messages.geolocationErrorPermissionDenied");break}},{enableHighAccuracy:!0,maximumAge:3e4,timeout:6e4})},retryGeolocation:function(){this.geolocationIncidence=null,this.doGeolocation()},stopGeolocation:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];navigator.geolocation.clearWatch(this.geolocationId),this.$nextTick(function(){e.waitingGeolocation=!1,t&&e.sendRegionOfInterest()})},closePopup:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];!e&&this.mapSelection.locked||(this.setMapSelection(c["g"].EMPTY_MAP_SELECTION),this.popupOverlay.setPosition(void 0))},setMapInfoPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.event,n=void 0===t?null:t,i=e.locked,o=void 0!==i&&i,r=e.layer,a=void 0===r?null:r;if(this.exploreMode||null!==this.topLayer){var l,u;if(null!==n?(l=n.coordinate,o&&(n.preventDefault(),n.stopPropagation())):(o=this.mapSelection.locked,l=this.mapSelection.pixelSelected),null===a){u=this.exploreMode?"".concat(this.observationInfo.id,"T").concat(this.findModificationTimestamp(this.observationInfo.id,this.timestamp)):this.topLayer.id;var d=this.findExistingLayerById(u),h=Fe()(d,1);a=h[0]}else u=a.get("id");var p=new Ki["a"]({id:"cl_".concat(u),source:a.getSource()});this.setMapSelection(s()({pixelSelected:l,timestamp:this.timestamp,layerSelected:p},!this.exploreMode&&{observationId:this.getObservationIdFromLayerId(u)},{locked:o}))}else this.$eventBus.$emit(c["h"].VIEWER_CLICK,n)},needFitMapListener:function(e){var t=this,n=e.mainIdx,i=void 0===n?null:n,o=e.geometry,r=void 0===o?null:o,s=e.withPadding,a=void 0===s||s;null===r&&this.mainViewer.name===c["M"].DATA_VIEWER.name&&this.contextGeometry&&null!==this.contextGeometry&&(r=this.contextGeometry),null!==r?(null!==i&&this.idx===i||(this.storedZoom=this.view.getZoom()),setTimeout(function(){r instanceof Array&&2===r.length?t.view.setCenter(r):t.view.fit(r,{padding:a?[10,10,10,10]:[0,0,0,0],constrainResolution:!1,callback:function(){t.movedWithContext=!1}})},200)):null!==this.storedZoom&&(this.view.setZoom(this.storedZoom),this.storedZoom=null)},observationInfoClosedListener:function(){this.mapSelection.locked||this.closePopup()},sendRegionOfInterestListener:function(){this.sendRegionOfInterest()},findTopLayerFromClick:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[],i=[];return this.map.forEachLayerAtPixel(e.pixel,function(e){i[e.getType()]&&i[e.getType()]>e.get("zIndex")||(i[e.getType()]=e.get("zIndex"),n.push({layer:e,type:e.getType()}))},{layerFilter:function(e){return"TILE"!==e.getType()&&(!t||"VECTOR"!==e.getType())}}),n},getObservationIdFromLayerId:function(e){return e&&""!==e?e.substr(0,e.indexOf("T")):e},copyCoordinates:function(e){var t=this.coordinatesControl.element.innerText,n=document.createElement("textarea");n.value=t,n.style.top="0",n.style.left="0",n.style.position="fixed",document.body.appendChild(n),n.focus(),n.select();try{document.execCommand("copy");this.$q.notify({message:this.$t("messages.copiedToClipboard"),type:"info",icon:"mdi-information",timeout:1e3})}catch(e){console.error("Oops, unable to copy",e)}document.body.removeChild(n)},setCoordinatesControl:function(){var e=document.querySelector(".ol-mouse-position");this.viewCoordinates?this.map.addControl(this.coordinatesControl):e&&this.map.removeControl(this.coordinatesControl),V["a"].set(c["P"].COOKIE_VIEW_COORDINATES,this.viewCoordinates,{expires:365,path:"/",secure:!0})}}),watch:{contextGeometry:function(e,t){this.drawContext(e,t),null!==e||this.movedWithContext||this.needFitMapListener({geometry:t,withPadding:!1}),this.movedWithContext=!1},observations:{handler:function(){var e=this;this.$nextTick(function(){return e.drawObservations()})},deep:!0},timestamp:function(e){var t=this.findModificationTimestamp(null,e);t!==this.lastModificationLoaded&&(this.lastModificationLoaded=t,this.drawObservations())},center:function(){this.view.setCenter(this.center)},mapSelection:function(e){if("undefined"!==typeof e&&null!==e&&null!==e.pixelSelected){if(this.mapSelectionMarker.setPosition(e.pixelSelected),null!==this.topLayer){var t=Object(Oi["l"])(e.pixelSelected,"EPSG:3857","EPSG:4326");this.popupContent="

".concat(this.topLayer.desc,'

\n
\n

').concat(e.value,'

\n
\n

').concat(t[1].toFixed(6),", ").concat(t[0].toFixed(6),"

"),this.popupOverlay.setPosition(e.pixelSelected)}}else this.closePopup(),this.mapSelectionMarker.setPosition(void 0)},hasContext:function(e){this.uploadConfig.refId=this.contextId,e?this.setDrawMode(!1):(this.sendRegionOfInterest(),this.popupOverlay.setPosition(void 0))},proposedContext:function(e){var t=this;this.drawProposedContext(),this.$nextTick(function(){t.setSpinner(s()({},c["H"].SPINNER_STOPPED,{owner:"KlabSearch"}))})},topLayer:function(e){null!==e&&this.mapSelection.locked?this.setMapInfoPoint():this.closePopup()},hasExtentMap:function(){var e=this;this.hasExtentMap&&this.$nextTick(function(){e.extentMap.updateSize()}),this.setShowSettings(!this.hasExtentMap)},viewCoordinates:function(){this.setCoordinatesControl()}},created:function(){this.waitingGeolocation="geolocation"in navigator&&!V["a"].has(c["P"].COOKIE_MAPDEFAULT)},mounted:function(){var e=this;this.baseLayers=Lt["a"],this.baseLayers.layers.forEach(function(t){t.get("name")===e.$baseLayer&&(t.setVisible(!0),e.visibleBaseLayer=t);var n=t;n.on("propertychange",function(t){e.visibleBaseLayer=n,"propertychange"===t.type&&"visible"===t.key&&t.target.get(t.key)&&V["a"].set(c["P"].COOKIE_BASELAYER,n.get("name"),{expires:30,path:"/",secure:!0})})});var t=Lt["c"].MAPBOX_GOT;t.setVisible(!0);var n=new Gi["default"]({title:"BaseLayers",layers:this.baseLayers.layers});this.map=new yn["a"]({view:new _n["a"]({center:this.center,zoom:this.zoom}),layers:n,target:"map".concat(this.idx),loadTilesWhileAnimating:!0,loadTilesWhileInteracting:!0}),this.map.on("moveend",this.onMoveEnd),this.map.on("click",function(i){if(e.viewCoordinates&&i.originalEvent.ctrlKey&&!i.originalEvent.altKey)e.copyCoordinates(i);else{if(e.isDrawMode)return i.preventDefault(),void i.stopPropagation();if(i.originalEvent.ctrlKey&&i.originalEvent.altKey&&i.originalEvent.shiftKey){var o=n.getLayersArray().slice(-1)[0];o&&"mapbox_got"===o.get("name")?(n.getLayers().pop(),e.baseLayers.layers.forEach(function(t){t.get("name")===e.$baseLayer&&(t.setVisible(!0),e.visibleBaseLayer=t)})):(n.getLayers().push(t),e.$q.notify({message:e.$t("messages.youHaveGOT"),type:"info",icon:"mdi-information",timeout:1500}))}e.clicksOnMap+=1,setTimeout(W()(regeneratorRuntime.mark(function t(){var n;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:1===e.clicksOnMap&&(n=e.findTopLayerFromClick(i,!1),n.length>0&&n.forEach(function(t){var o=t.layer.get("id");"VECTOR"===t.type?(e.putObservationOnTop(e.getObservationIdFromLayerId(o)),1===n.length&&e.closePopup()):e.topLayer&&o===e.topLayer.id?e.setMapInfoPoint({event:i}):(e.putObservationOnTop(e.getObservationIdFromLayerId(o)),e.setMapInfoPoint({event:i,layer:t.layer}))}),e.clicksOnMap=0);case 1:case"end":return t.stop()}},t)})),300)}}),this.map.on("dblclick",function(t){if(e.isDrawMode)return t.preventDefault(),void t.stopPropagation();var n=e.findTopLayerFromClick(t);if(1===n.length){var i=n[0].layer.get("id");e.topLayer&&i===e.topLayer.id?e.setMapInfoPoint({event:t,locked:!0}):(e.putObservationOnTop(e.getObservationIdFromLayerId(i)),e.setMapInfoPoint({event:t,locked:!0,layer:n[0].layer})),e.clicksOnMap=0}else console.warn("Multiple layer but must be one")}),this.map.on("contextmenu",function(t){var n=e.findTopLayerFromClick(t,!1);n.length>0&&(e.contextMenuObservationId=e.getObservationIdFromLayerId(n[0].layer.get("id")),t.preventDefault())}),this.view=this.map.getView(),this.proj=this.view.getProjection(),this.map.addLayer(new Gi["default"]({layers:this.layers})),this.layerSwitcher=new so.a,this.map.addControl(this.layerSwitcher),this.mapSelectionMarker=new oo({element:document.getElementById("msm-".concat(this.idx)),positioning:"center-center"}),this.map.addOverlay(this.mapSelectionMarker),this.popupOverlay=new oo({element:document.getElementById("mv-popup"),autoPan:!0,autoPanAnimation:{duration:250}}),this.map.addOverlay(this.popupOverlay),this.extentMap=new yn["a"]({view:new _n["a"]({center:[0,0],zoom:12}),target:"mv-extent-map",layers:[Lt["c"].OSM_LAYER],controls:[]}),this.coordinatesControl=new go({coordinateFormat:Object(vo["c"])(6),projection:Lt["d"].PROJ_EPSG_4326,undefinedHTML:"..."}),this.setCoordinatesControl(),this.drawContext(),this.drawObservations(),this.drawProposedContext(),this.waitingGeolocation&&this.doGeolocation(),this.setShowSettings(!this.hasExtentMap),this.$eventBus.$on(c["h"].NEED_FIT_MAP,this.needFitMapListener),this.$eventBus.$on(c["h"].OBSERVATION_INFO_CLOSED,this.observationInfoClosedListener),this.$eventBus.$on(c["h"].SEND_REGION_OF_INTEREST,this.sendRegionOfInterestListener),this.$eventBus.$on(c["h"].NEED_LAYER_BUFFER,this.bufferLayerImages)},beforeDestroy:function(){this.$eventBus.$off(c["h"].NEED_FIT_MAP,this.needFitMapListener),this.$eventBus.$off(c["h"].OBSERVATION_INFO_CLOSED,this.observationInfoClosedListener),this.$eventBus.$off(c["h"].SEND_REGION_OF_INTEREST,this.sendRegionOfInterestListener),this.$eventBus.$off(c["h"].NEED_LAYER_BUFFER,this.bufferLayerImages)}}),yo=bo,_o=(n("c612"),Object(y["a"])(yo,bi,yi,!1,null,null,null));_o.options.__file="MapViewer.vue";var Mo=_o.exports,wo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fit gv-container",on:{wheel:e.changeForce}},[0===e.nodes.length?n("q-spinner",{attrs:{color:"mc-main",size:40}}):e._e(),n("q-resize-observable",{on:{resize:e.resize}}),n("d3-network",{ref:"gv-graph-"+e.idx,attrs:{"net-nodes":e.nodes,"net-links":e.links,options:e.options}})],1)},Co=[];wo._withStripped=!0;var So=n("a5b7"),Ao=n.n(So),Eo={name:"GraphViewer",components:{D3Network:Ao.a},props:{idx:{type:Number,required:!0}},data:function(){var e=Object.assign({},c["Q"]);return e},computed:{observation:function(){var e=this.$store.getters["data/observationsOfViewer"](this.idx);return e.length>0?e[0]:null}},methods:{loadGraph:function(){var e=this,t="".concat("").concat(T["c"].REST_SESSION_VIEW,"data/").concat(this.observation.id);Object(Ue["h"])("gr_".concat(this.observation.id),t,{params:{format:"NETWORK",outputFormat:"json"}},function(t,n){if(t&&"undefined"!==typeof t.data){var i=t.data,o=i.nodes,r=i.edges;e.nodes=o.map(function(e){return{id:e.id,name:e.label,nodeSym:"~assets/klab-spinner.svg"}}),e.links=r.map(function(e){return{id:e.id,name:e.label,sid:e.source,tid:e.target}}),e.resize()}n()})},resize:function(){var e={w:this.$el.clientWidth,h:this.$el.clientHeight};this.updateOptions("size",e)},changeForce:function(e){if(e.preventDefault(),e&&e.deltaY){var t=this.options.force;if(e.deltaY<0&&t<5e3)t+=50;else{if(!(e.deltaY>0&&t>50))return;t-=50}this.updateOptions("force",t)}},updateOptions:function(e,t){this.options=s()({},this.options,p()({},e,t))},reset:function(){this.selected={},this.linksSelected={},this.nodes=[],this.links=[],this.$set(this.$data,"options",c["Q"].options)},viewerClosedListener:function(e){var t=e.idx;t===this.idx&&this.$eventBus.$emit(c["h"].SHOW_NODE,{nodeId:this.observation.id,state:!1})}},watch:{observation:function(e){null!==e&&0===this.nodes.length?this.loadGraph():null===e&&this.reset()}},mounted:function(){this.options.size.w=this.$el.clientWidth,this.options.size.h=this.$el.clientHeight,this.$eventBus.$on(c["h"].VIEWER_CLOSED,this.viewerClosedListener)},beforeDestroy:function(){this.$eventBus.$off(c["h"].VIEWER_CLOSED,this.viewerClosedListener)}},Oo=Eo,Lo=(n("6420"),n("9198"),Object(y["a"])(Oo,wo,Co,!1,null,null,null));Lo.options.__file="GraphViewer.vue";var To=Lo.exports,xo=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},Ro=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fit uv-container"},[n("h4",[e._v("Under construction")])])}];xo._withStripped=!0;var ko={name:"UnknownViewer",props:{idx:{type:Number,required:!0}}},zo=ko,Po=(n("1fac"),Object(y["a"])(zo,xo,Ro,!1,null,null,null));Po.options.__file="UnknownViewer.vue";var No=Po.exports,Io=[],Do={components:{MapViewer:Mo,GraphViewer:To,UnknownViewer:No},computed:s()({},Object(a["c"])("view",["dataViewers","mainDataViewerIdx","dataViewers"])),methods:s()({},Object(a["b"])("view",["setMainDataViewer"]),{setMain:function(e){this.setMainDataViewer({viewerIdx:e}),this.$eventBus.$emit(c["h"].VIEWER_SELECTED,{idx:e})},closeViewer:function(e){this.setMainDataViewer({viewerIdx:e.idx,viewerType:e.type,visible:!1}),this.$eventBus.$emit(c["h"].VIEWER_CLOSED,{idx:e.idx})},viewerStyle:function(e){return e.main?"":e.type.hideable&&!e.visible?"display: none":(Io.push(e),0===Io.length?"left: 0":"left: ".concat(200*(Io.length-1)+10*(Io.length-1),"px"))},capitalize:function(e){return Object(Xe["a"])(e)}}),watch:{mainDataViewerIdx:function(){Io=[]},dataViewers:{handler:function(e){var t=this,n=e.length>0?e.find(function(e){return e.main}):null;this.$nextTick(function(){t.$eventBus.$emit(c["h"].NEED_FIT_MAP,s()({},null!==n&&"undefined"!==typeof n&&{idx:n.idx}))})},deep:!0}},beforeUpdate:function(){Io=[]},mounted:function(){Io=[]}},Bo=Do,qo=(n("f164"),Object(y["a"])(Bo,gi,vi,!1,null,"216658d8",null));qo.options.__file="DataViewer.vue";var jo=qo.exports,Wo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-layout",{staticClass:"kd-main-container print-hide",style:{width:e.containerStyle.width+"px",height:e.containerStyle.height+"px"},attrs:{view:"hHh Lpr fFf",container:""}},[n("q-layout-header",[n("documentation-header")],1),n("q-layout-drawer",{attrs:{side:"left",breakpoint:0,"content-class":["klab-left","no-scroll"],width:e.LEFTMENU_CONSTANTS.LEFTMENU_DOCUMENTATION_SIZE,overlay:!1},model:{value:e.leftMenu,callback:function(t){e.leftMenu=t},expression:"leftMenu"}},[n("documentation-tree")],1),n("q-page-container",[n("q-page",{staticClass:"column"},[n("div",{staticClass:"col row full-height kd-container"},[n("documentation-viewer")],1)])],1),n("q-modal",{staticClass:"kd-modal",attrs:{"no-backdrop-dismiss":"","no-esc-dismiss":""},on:{show:e.launchPrint},model:{value:e.print,callback:function(t){e.print=t},expression:"print"}},[n("documentation-viewer",{attrs:{"for-printing":!0}}),n("q-btn",{staticClass:"dv-print-hide print-hide",attrs:{icon:"mdi-close",round:"",flat:"",size:"sm",color:"mc-main"},on:{click:function(t){e.print=!1}}})],1)],1)},Fo=[];Wo._withStripped=!0;var Ho=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dh-container full-width row items-center"},[n("div",{staticClass:"dh-tabs col justify-start"},[n("q-tabs",{attrs:{color:"mc-main","underline-color":"mc-main"},model:{value:e.selectedTab,callback:function(t){e.selectedTab=t},expression:"selectedTab"}},[n("q-tab",{staticClass:"klab-tab",attrs:{slot:"title",name:e.DOCUMENTATION_VIEWS.REPORT,icon:"mdi-text-box-outline",alert:-1!==e.reloadViews.indexOf(e.DOCUMENTATION_VIEWS.REPORT)},slot:"title"}),n("q-tab",{staticClass:"klab-tab",attrs:{slot:"title",name:e.DOCUMENTATION_VIEWS.TABLES,icon:"mdi-table",alert:-1!==e.reloadViews.indexOf(e.DOCUMENTATION_VIEWS.TABLES)},slot:"title"}),n("q-tab",{staticClass:"klab-tab",attrs:{slot:"title",name:e.DOCUMENTATION_VIEWS.FIGURES,icon:"mdi-image",alert:-1!==e.reloadViews.indexOf(e.DOCUMENTATION_VIEWS.FIGURES)},slot:"title"}),n("q-tab",{staticClass:"klab-tab",attrs:{slot:"title",name:e.DOCUMENTATION_VIEWS.RESOURCES,icon:"mdi-database-outline",alert:-1!==e.reloadViews.indexOf(e.DOCUMENTATION_VIEWS.RESOURCES)},slot:"title"})],1)],1),n("div",{staticClass:"dh-actions justify-end"},[n("q-btn",{staticClass:"dh-button",attrs:{icon:"mdi-refresh",flat:"",color:"mc-main"},on:{click:e.forceReload}},[n("q-tooltip",{attrs:{offset:[0,8],self:"bottom middle",anchor:"top middle",delay:1e3}},[e._v(e._s(e.$t("label.appReload")))])],1),n("q-btn",{staticClass:"dh-button",attrs:{icon:"mdi-printer",flat:"",color:"mc-main"},on:{click:e.print}},[n("q-tooltip",{attrs:{offset:[0,8],self:"bottom middle",anchor:"top middle",delay:1e3}},[e._v(e._s(e.$t("label.appPrint")))])],1),e.selectedTab===e.DOCUMENTATION_VIEWS.TABLES?[n("q-btn",{staticClass:"dh-button",attrs:{disable:e.tableFontSize-1<8,flat:"",icon:"mdi-format-font-size-decrease",color:"mc-main"},on:{click:function(t){e.tableFontSizeChange(-1)}}}),n("q-btn",{staticClass:"dh-button",attrs:{disable:e.tableFontSize+1>50,flat:"",icon:"mdi-format-font-size-increase",color:"mc-main"},on:{click:function(t){e.tableFontSizeChange(1)}}})]:e._e()],2),e.hasSpinner?n("div",{staticClass:"dh-spinner col-1 justify-end"},[n("transition",{attrs:{appear:"","enter-active-class":"animated fadeIn","leave-active-class":"animated fadeOut"}},[n("div",{staticClass:"klab-spinner-div item-center",attrs:{id:"kd-spinner"}},[n("klab-spinner",{attrs:{id:"spinner-documentation","store-controlled":!0,size:30,ball:22,wrapperId:"kd-spinner"}})],1)])],1):e._e()])},Xo=[];Ho._withStripped=!0;var Uo={name:"DocumentationHeader",components:{KlabSpinner:M},data:function(){return{DOCUMENTATION_VIEWS:c["n"]}},computed:s()({},Object(a["c"])("stomp",["hasTasks"]),Object(a["c"])("view",["leftMenuState","hasHeader","reloadViews","tableFontSize"]),{hasSpinner:function(){return!(this.leftMenuState!==c["u"].LEFTMENU_HIDDEN&&!this.hasHeader)},selectedTab:{get:function(){return this.$store.getters["view/documentationView"]},set:function(e){this.$store.dispatch("view/setDocumentationView",e,{root:!0}),this.setDocumentationSelected(null)}}}),methods:s()({},Object(a["b"])("view",["setTableFontSize","setDocumentationSelected"]),{tableFontSizeChange:function(e){this.setTableFontSize(this.tableFontSize+e),this.$eventBus.$emit(c["h"].FONT_SIZE_CHANGE,"table")},forceReload:function(){this.$eventBus.$emit(c["h"].REFRESH_DOCUMENTATION,{force:!0})},print:function(){this.$eventBus.$emit(c["h"].PRINT_DOCUMENTATION)}})},Vo=Uo,Go=(n("d18c"),Object(y["a"])(Vo,Ho,Xo,!1,null,null,null));Go.options.__file="DocumentationHeader.vue";var Ko=Go.exports,$o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dt-container relative-position klab-menu-component"},[n("div",{staticClass:"dt-doc-container simplebar-vertical-only"},[n("div",{directives:[{name:"show",rawName:"v-show",value:0===e.tree.length,expression:"tree.length === 0"}],staticClass:"dt-tree-empty"},[e._v(e._s(e.$t("label.noDocumentation")))]),n("klab-q-tree",{attrs:{nodes:e.tree,"node-key":"id","check-click":!1,selected:e.selected,expanded:e.expanded,ticked:e.ticked,"text-color":"white","control-color":"white",color:"white",dark:!0,"no-nodes-label":e.$t("label.noNodes"),"no-results-label":e.$t("label.noNodes"),filter:e.documentationView,"filter-method":e.filter},on:{"update:selected":function(t){e.selected=t},"update:expanded":function(t){e.expanded=t},"update:ticked":function(t){e.ticked=t}}})],1),n("q-resize-observable",{on:{resize:function(t){e.$emit("resized")}}})],1)},Yo=[];$o._withStripped=!0;var Jo={name:"DocumentationTree",components:{KlabQTree:on},data:function(){return{expanded:[],selected:null,ticked:[],DOCUMENTATION_VIEWS:c["n"]}},computed:s()({},Object(a["c"])("data",["documentationTrees"]),Object(a["c"])("view",["documentationView","documentationSelected"]),{tree:function(){var e=this,t=this.documentationTrees.find(function(t){return t.view===e.documentationView}).tree||[];return t}}),methods:s()({},Object(a["b"])("view",["setDocumentationSelected"]),{filter:function(e,t){return t!==c["n"].REPORT||e.type!==c["l"].PARAGRAPH&&e.type!==c["l"].CITATION}}),watch:{selected:function(e){this.setDocumentationSelected(e)},documentationSelected:function(){this.selected=this.documentationSelected}},mounted:function(){this.selected=this.documentationSelected}},Qo=Jo,Zo=(n("5823"),Object(y["a"])(Qo,$o,Yo,!1,null,null,null));Zo.options.__file="DocumentationTree.vue";var er=Zo.exports,tr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dv-documentation"},[n("div",{staticClass:"dv-documentation-wrapper"},[0===e.content.length?[n("div",{staticClass:"dv-empty-documentation"},[e._v(e._s(e.$t("messages.noDocumentation")))])]:[n("div",{staticClass:"dv-content"},e._l(e.content,function(t){return n("div",{key:t.id,staticClass:"dv-item"},[t.type===e.DOCUMENTATION_TYPES.SECTION?[n("h1",{attrs:{id:e.getId(t.id)}},[e._v(e._s(t.idx)+" "+e._s(t.title))]),t.subtitle?n("h4",[e._v(e._s(t.subtitle))]):e._e()]:t.type===e.DOCUMENTATION_TYPES.PARAGRAPH?n("div",{staticClass:"dv-paragraph",domProps:{innerHTML:e._s(t.bodyText)}}):t.type===e.DOCUMENTATION_TYPES.REFERENCE?n("div",{staticClass:"dv-reference",attrs:{id:e.getId(t.id)},domProps:{innerHTML:e._s(t.bodyText)},on:{click:function(n){e.selectElement(".link-"+t.id)}}}):t.type===e.DOCUMENTATION_TYPES.CITATION?n("span",{staticClass:"dv-citation"},[n("a",{attrs:{href:"#",title:t.bodyText}},[e._v(e._s(t.bodyText))])]):t.type===e.DOCUMENTATION_TYPES.TABLE?n("div",{staticClass:"dv-table-container"},[n("div",{staticClass:"dv-table-title",attrs:{id:e.getId(t.id)}},[e._v(e._s(e.$t("label.reportTable")+" "+t.idx+". "+t.title))]),n("div",{staticClass:"dv-table",style:{"font-size":e.tableFontSize+"px"},attrs:{id:e.getId(t.id)+"-table"}}),n("div",{staticClass:"dv-table-bottom text-right print-hide"},[n("q-btn",{staticClass:"dv-button",attrs:{flat:"",color:"mc-main",icon:"mdi-content-copy"},on:{click:function(n){e.tableCopy(t.id)}}},[n("q-tooltip",{attrs:{anchor:"bottom middle",self:"top middle",offset:[0,5]}},[e._v(e._s(e.$t("label.tableCopy")))])],1),n("q-btn",{staticClass:"dv-button",attrs:{flat:"",color:"mc-main",icon:"mdi-download"},on:{click:function(n){e.tableDownload(t.id)}}},[n("q-tooltip",{attrs:{anchor:"bottom middle",self:"top middle",offset:[0,5]}},[e._v(e._s(e.$t("label.tableDownloadAsXSLX")))])],1)],1)]):t.type===e.DOCUMENTATION_TYPES.FIGURE?n("div",{staticClass:"dv-figure-container",attrs:{id:e.getId(t.id)}},[n("div",{staticClass:"dv-figure-wrapper col"},[n("div",{staticClass:"content-center row"},[n("div",{staticClass:"dv-figure-content col"},[n("div",{staticClass:"dv-figure-caption-wrapper row items-end"},[n("div",{staticClass:"dv-figure-caption col"},[e._v(e._s(e.$t("label.reportFigure")+" "+t.idx+(""!==t.figure.caption?". "+t.figure.caption:"")))]),t.figure.timeString&&""!==t.figure.timeString?n("div",{staticClass:"dv-figure-timestring col"},[e._v(e._s(t.figure.timeString))]):e._e()])]),n("div",{staticClass:"dv-col-fill col"})]),n("div",{staticClass:"row content-center"},[n("div",{staticClass:"dv-figure-content col"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.loadingImages.includes(t.id),expression:"loadingImages.includes(doc.id)"}],staticClass:"dv-figure-wait row items-center",style:{height:e.waitHeight+"px"}},[n("q-spinner",{staticClass:"col",attrs:{size:"3em"}})],1),n("div",{staticClass:"dv-figure-image col",class:"dv-figure-"+e.documentationView.toLowerCase()},[n("img",{staticClass:"dv-figure-img",class:[e.forPrinting?"dv-figure-print":"dv-figure-display"],attrs:{src:"",id:"figimg-"+e.documentationView+"-"+e.getId(t.id),alt:t.figure.caption}})])]),n("div",{staticClass:"dv-figure-legend col"},[n("histogram-viewer",{staticClass:"dv-figure-colormap",attrs:{dataSummary:t.figure.dataSummary,colormap:t.figure.colormap,id:e.getId(t.observationId),direction:"vertical",tooltips:!1,legend:!0}})],1)]),n("div",{staticClass:"row content-center"},[n("div",{staticClass:"dv-figure-content col"},[n("div",{staticClass:"dv-figure-time col"},[n("figure-timeline",{attrs:{start:t.figure.startTime,end:t.figure.endTime,"raw-slices":t.figure.timeSlices,observationId:t.figure.observationId},on:{timestampchange:function(n){e.changeTime(n,t.id)}}})],1)]),n("div",{staticClass:"dv-col-fill col"})])])]):t.type===e.DOCUMENTATION_TYPES.MODEL?n("div",{staticClass:"dv-model-container"},[n("div",{staticClass:"dv-model-code",attrs:{id:e.getId(t.id)},domProps:{innerHTML:e._s(e.getModelCode(t.bodyText))}})]):t.type===e.DOCUMENTATION_TYPES.RESOURCE?n("div",{staticClass:"dv-resource-container",attrs:{id:e.getId(t.id)}},[n("div",{staticClass:"dv-resource-title-container"},[n("div",{staticClass:"dv-resource-title"},[e._v(e._s(t.title))]),n("div",{staticClass:"dv-resource-originator"},[e._v(e._s(t.resource.originatorDescription))]),t.resource.keywords.length>0?n("div",{staticClass:"dv-resource-keywords text-right"},e._l(t.resource.keywords,function(i,o){return n("div",{key:o,staticClass:"dv-resource-keyword"},[n("span",{staticClass:"dv-resource-keyword"},[e._v(e._s(i))]),o0?n("div",{staticClass:"dv-resource-authors"},e._l(t.resource.authors,function(i,o){return n("div",{key:o,staticClass:"dv-resource-author-wrapper"},[n("span",{staticClass:"dv-resource-author"},[e._v(e._s(i))]),o0&&void 0!==arguments[0]?arguments[0]:{},t=e.view,n=void 0===t?null:t,i=e.force,o=void 0!==i&&i;null===n&&(n=this.documentationView),(-1!==this.reloadViews.indexOf(n)||o)&&this.loadDocumentation(n)},printDocumentation:function(){this.print=!0},closePrint:function(){this.print=!1},launchPrint:function(){this.$eventBus.$emit(c["h"].FONT_SIZE_CHANGE,"table"),setTimeout(function(){window.print()},600)}}),watch:{documentationView:function(){var e=this;this.$nextTick(function(){e.load()})},reloadViews:function(){var e=this;this.$nextTick(function(){e.load()})}},activated:function(){this.load()},mounted:function(){this.$eventBus.$on(c["h"].REFRESH_DOCUMENTATION,this.load),this.$eventBus.$on(c["h"].PRINT_DOCUMENTATION,this.printDocumentation),window.addEventListener("afterprint",this.closePrint)},beforeDestroy:function(){this.$eventBus.$off(c["h"].REFRESH_DOCUMENTATION,this.load),this.$eventBus.$off(c["h"].PRINT_DOCUMENTATION,this.printDocumentation),window.removeEventListener("afterprint",this.closePrint)}},cr=ar,lr=(n("7bbc"),Object(y["a"])(cr,Wo,Fo,!1,null,null,null));lr.options.__file="KlabDocumentation.vue";var ur=lr.exports,dr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dfv-wrapper",class:"dfv-"+e.flowchartSelected},[n("div",{staticClass:"fit no-padding with-background dfv-container",class:{"dfv-with-info":e.dataflowInfoOpen}},[n("div",{staticClass:"dfv-graph-info"},[n("div",{staticClass:"dfv-graph-type"},[n("span",[e._v(e._s(e.flowchart(e.flowchartSelected)?e.flowchart(e.flowchartSelected).label:"Nothing"))])]),n("div",{staticClass:"dfv-graph-selector"},[n("q-btn",{staticClass:"dfv-button",class:e.flowchartSelected===e.CONSTANTS.GRAPH_DATAFLOW?"dfv-graph-selected":"",attrs:{disable:!(e.flowchart(e.CONSTANTS.GRAPH_DATAFLOW).flowchart||e.flowchart(e.CONSTANTS.GRAPH_DATAFLOW).updatable),icon:"mdi-sitemap",flat:"",color:"app-main-color"},on:{click:function(t){e.flowchartSelected!==e.CONSTANTS.GRAPH_DATAFLOW&&e.setFlowchartSelected(e.CONSTANTS.GRAPH_DATAFLOW)}}},[n("q-tooltip",{attrs:{offset:[0,8],self:"bottom middle",anchor:"top middle",delay:500}},[e._v(e._s(e.flowchart(e.CONSTANTS.GRAPH_DATAFLOW).label))])],1),n("q-btn",{class:e.flowchartSelected===e.CONSTANTS.GRAPH_PROVENANCE_SIMPLIFIED?"dfv-graph-selected":"",attrs:{disable:!(e.flowchart(e.CONSTANTS.GRAPH_PROVENANCE_SIMPLIFIED).flowchart||e.flowchart(e.CONSTANTS.GRAPH_PROVENANCE_SIMPLIFIED).updatable),icon:"mdi-graph-outline",flat:"",color:"app-main-color"},on:{click:function(t){e.flowchartSelected!==e.CONSTANTS.GRAPH_PROVENANCE_SIMPLIFIED&&e.setFlowchartSelected(e.CONSTANTS.GRAPH_PROVENANCE_SIMPLIFIED)}}},[n("q-tooltip",{attrs:{offset:[0,8],self:"bottom middle",anchor:"top middle",delay:500}},[e._v(e._s(e.flowchart(e.CONSTANTS.GRAPH_PROVENANCE_SIMPLIFIED).label))])],1)],1)]),n("div",[n("div",{attrs:{id:"sprotty"}}),n("q-resize-observable",{attrs:{debounce:300},on:{resize:e.resize}})],1)]),e.dataflowInfoOpen?n("div",{staticClass:"dfv-info-container"},[n("dataflow-info",{attrs:{width:"infoWidth"}})],1):e._e()])},hr=[];dr._withStripped=!0;n("98db");var pr=n("970b"),fr=n.n(pr),mr=n("5bc30"),gr=n.n(mr),vr=n("8449"),br=n("42d6"),yr=n("e1c6"),_r=0,Mr=200,wr=!1,Cr=function(){function e(){fr()(this,e)}return gr()(e,[{key:"handle",value:function(e){switch(e.kind){case br["SelectCommand"].KIND:wr=!1,_r=setTimeout(function(){wr||vr["b"].$emit(c["h"].GRAPH_NODE_SELECTED,e),wr=!1},Mr);break;case br["SetViewportCommand"].KIND:clearTimeout(_r),wr=!0;break;default:console.warn("Unknow action: ".concat(e.kind));break}}},{key:"initialize",value:function(e){e.register(br["SelectCommand"].KIND,this),e.register(br["SetViewportCommand"].KIND,this)}}]),e}();function Sr(e){return void 0!==e.source&&void 0!==e.target}function Ar(e){return void 0!==e.sources&&void 0!==e.targets}yr.decorate(yr.injectable(),Cr);var Er=function(){function e(){this.nodeIds=new Set,this.edgeIds=new Set,this.portIds=new Set,this.labelIds=new Set,this.sectionIds=new Set,this.isRestored=!1}return e.prototype.transform=function(e){var t,n,i=this,o={type:"graph",id:e.id||"root",children:[]};if(e.restored&&(this.isRestored=!0),e.children){var r=e.children.map(function(e){return i.transformElkNode(e)});(t=o.children).push.apply(t,r)}if(e.edges){var s=e.edges.map(function(e){return i.transformElkEdge(e)});(n=o.children).push.apply(n,s)}return o},e.prototype.transformElkNode=function(e){var t,n,i,o,r=this;this.checkAndRememberId(e,this.nodeIds);var s={type:"node",id:e.id,nodeType:e.id.split(".")[0],position:this.pos(e),size:this.size(e),status:this.isRestored?"processed":"waiting",children:[]};if(e.children){var a=e.children.map(function(e){return r.transformElkNode(e)});(t=s.children).push.apply(t,a)}if(e.ports){var c=e.ports.map(function(e){return r.transformElkPort(e)});(n=s.children).push.apply(n,c)}if(e.labels){var l=e.labels.map(function(e){return r.transformElkLabel(e)});(i=s.children).push.apply(i,l)}if(e.edges){var u=e.edges.map(function(e){return r.transformElkEdge(e)});(o=s.children).push.apply(o,u)}return s},e.prototype.transformElkPort=function(e){this.checkAndRememberId(e,this.portIds);var t={type:"port",id:e.id,position:this.pos(e),size:this.size(e),children:[]};return t},e.prototype.transformElkLabel=function(e){return this.checkAndRememberId(e,this.labelIds),{type:"label",id:e.id,text:e.text,position:this.pos(e),size:this.size(e)}},e.prototype.transformElkEdge=function(e){var t,n,i=this;this.checkAndRememberId(e,this.edgeIds);var o={type:"edge",id:e.id,sourceId:"",targetId:"",routingPoints:[],children:[]};if(Sr(e)?(o.sourceId=e.source,o.targetId=e.target,e.sourcePoint&&o.routingPoints.push(e.sourcePoint),e.bendPoints&&(t=o.routingPoints).push.apply(t,e.bendPoints),e.targetPoint&&o.routingPoints.push(e.targetPoint)):Ar(e)&&(o.sourceId=e.sources[0],o.targetId=e.targets[0],e.sections&&e.sections.forEach(function(e){var t;i.checkAndRememberId(e,i.sectionIds),o.routingPoints.push(e.startPoint),e.bendPoints&&(t=o.routingPoints).push.apply(t,e.bendPoints),o.routingPoints.push(e.endPoint)})),e.junctionPoints&&e.junctionPoints.forEach(function(t,n){var i={type:"junction",id:e.id+"_j"+n,position:t};o.children.push(i)}),e.labels){var r=e.labels.map(function(e){return i.transformElkLabel(e)});(n=o.children).push.apply(n,r)}return o},e.prototype.pos=function(e){return{x:e.x||0,y:e.y||0}},e.prototype.size=function(e){return{width:e.width||0,height:e.height||0}},e.prototype.checkAndRememberId=function(e,t){if(void 0===e.id||null===e.id)throw Error("An element is missing an id: "+e);if(t.has(e.id))throw Error("Duplicate id: "+e.id+".");t.add(e.id)},e}(),Or=n("e1c6"),Lr=n("393a"),Tr=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),xr=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Rr={createElement:Lr["svg"]},kr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Tr(t,e),t.prototype.render=function(e,t){var n="elknode "+(e.hoverFeedback?"mouseover ":"")+(e.selected?"selected ":"")+e.status+" elk-"+e.nodeType;return Rr.createElement("g",null,Rr.createElement("rect",{classNames:n,x:"0",y:"0",width:e.bounds.width,height:e.bounds.height}),t.renderChildren(e))},t}(br["RectangularNodeView"]),zr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Tr(t,e),t.prototype.render=function(e,t){return Rr.createElement("g",null,Rr.createElement("rect",{"class-elkport":!0,"class-mouseover":e.hoverFeedback,"class-selected":e.selected,x:"0",y:"0",width:e.bounds.width,height:e.bounds.height}),t.renderChildren(e))},t}(br["RectangularNodeView"]),Pr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Tr(t,e),t.prototype.renderLine=function(e,t,n){for(var i=t[0],o="M "+i.x+","+i.y,r=1;r=o||t.mouseModel&&t.mouseModel>=o,exselected:t.mouseModel&&t.model>=o&&t.mouseModel0&&void 0!==arguments[0]?arguments[0]:null;this.sendStompMessage(l["a"].DATAFLOW_NODE_RATING({nodeId:this.dataflowInfo.elementId,contextId:this.contextId,rating:this.dataflowInfo.rating,comment:e},this.session).body)},commentOk:function(){this.changeDataflowRating(this.commentContent),this.$q.notify({message:this.$t("messages.thankComment"),type:"info",icon:"mdi-information",timeout:1e3})},closePanel:function(){this.setDataflowInfoOpen(!1)}}),watch:{commentOpen:function(e){this.setModalMode(e)}}},Qr=Jr,Zr=(n("75c1"),Object(y["a"])(Qr,Ur,Vr,!1,null,null,null));Zr.options.__file="DataflowInfoPane.vue";var es=Zr.exports,ts={name:"DataflowViewer",components:{DataflowInfo:es},data:function(){return{modelSource:null,actionDispatcher:null,interval:null,processing:!1,visible:!1,needsUpdate:!0,CONSTANTS:c["g"]}},computed:s()({},Object(a["c"])("data",["flowchart","flowcharts","dataflowInfo","dataflowStatuses","contextId","session","context"]),Object(a["c"])("view",["leftMenuState","flowchartSelected","dataflowInfoOpen"])),methods:s()({},Object(a["b"])("data",["loadFlowchart"]),Object(a["b"])("view",["setFlowchartSelected","setDataflowInfoOpen"]),{doGraph:function(){var e=this,t=this.flowchart(this.flowchartSelected);if(t){if(this.processing)return void setTimeout(this.doGraph(),100);t.updatable?this.loadFlowchart(this.flowchartSelected).then(function(){var n=JSON.parse(JSON.stringify(t.flowchart));e.processing=!0,t.graph=(new Er).transform(n),e.setModel(t),e.centerGraph(),e.processing=!1}).catch(function(e){console.error(e)}):null===t.graph||t.visible||(this.setModel(t),this.centerGraph())}},setModel:function(e){this.modelSource.setModel(e.graph),this.flowcharts.forEach(function(e){e.visible=!1}),e.visible=!0},centerGraph:function(){this.flowchartSelected===c["g"].GRAPH_DATAFLOW?this.actionDispatcher.dispatch(new br["FitToScreenAction"]([],40)):this.actionDispatcher.dispatch(new br["CenterAction"]([],40))},updateStatuses:function(){if(this.visible){if(0!==this.dataflowStatuses.length){for(var e=this.dataflowStatuses.length,t=0;t=0;n-=1)this.sendStompMessage(l["a"].DATAFLOW_NODE_DETAILS({nodeId:e.selectedElementsIDs[n],contextId:this.context.id},this.session).body)}},closePanel:function(){this.setDataflowInfoOpen(!1)},resize:function(){var e=this;this.$nextTick(function(){var t=document.getElementById("sprotty");if(null!==t){var n=t.getBoundingClientRect();e.actionDispatcher.dispatch(new br["InitializeCanvasBoundsAction"]({x:n.left,y:n.top,width:n.width,height:n.height})),e.centerGraph()}})}}),watch:{flowchartSelected:function(){this.visible&&this.doGraph()},flowcharts:{handler:function(){this.visible&&this.doGraph()},deep:!0},dataflowStatuses:{handler:function(){this.flowchartSelected===c["g"].GRAPH_DATAFLOW&&null!==this.flowchart(this.flowchartSelected)&&this.updateStatuses()},deep:!0},dataflowInfo:function(e,t){null===e?this.setDataflowInfoOpen(!1):null===t?this.setDataflowInfoOpen(!0):e.elementId===t.elementId&&this.dataflowInfoOpen?this.setDataflowInfoOpen(!1):this.setDataflowInfoOpen(!0)},dataflowInfoOpen:function(){this.resize()}},mounted:function(){var e=Xr({needsClientLayout:!1,needsServerLayout:!0},"info");e.bind(br["TYPES"].IActionHandlerInitializer).to(Cr),this.modelSource=e.get(br["TYPES"].ModelSource),this.actionDispatcher=e.get(br["TYPES"].IActionDispatcher),this.$eventBus.$on(c["h"].GRAPH_NODE_SELECTED,this.graphNodeSelectedListener)},activated:function(){this.visible=!0,this.doGraph(),this.flowchartSelected===c["g"].GRAPH_DATAFLOW&&this.needsUpdate&&(this.updateStatuses(),this.needsUpdate=!1)},deactivated:function(){this.visible=!1},beforeDestroy:function(){this.$eventBus.$off(c["h"].GRAPH_NODE_SELECTED,this.graphNodeSelectedListener)}},ns=ts,is=(n("7890"),Object(y["a"])(ns,dr,hr,!1,null,null,null));is.options.__file="DataflowViewer.vue";var os=is.exports,rs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-modal",{ref:"irm-modal-container",attrs:{"no-esc-dismiss":!0,"no-backdrop-dismiss":!0,"content-classes":["irm-container"]},on:{hide:e.cleanInputRequest},model:{value:e.opened,callback:function(t){e.opened=t},expression:"opened"}},[n("q-tabs",{class:{"irm-tabs-hidden":e.inputRequests.length<=1},attrs:{swipeable:"",animated:"",color:"white"},model:{value:e.selectedRequest,callback:function(t){e.selectedRequest=t},expression:"selectedRequest"}},[e._l(e.inputRequests,function(t){return n("q-tab",{key:t.messageId,class:{"irm-tabs-hidden":e.inputRequests.length<=1},attrs:{slot:"title",name:"request-"+t.messageId},slot:"title"})}),e._l(e.inputRequests,function(t){return n("q-tab-pane",{key:t.messageId,attrs:{name:"request-"+t.messageId}},[n("div",{staticClass:"irm-group"},[n("div",{staticClass:"irm-global-description"},[n("h4",[e._v(e._s(null!==t.sectionTitle?t.sectionTitle:e.$t("label.noInputSectionTitle")))]),n("p",[e._v(e._s(t.description))])]),n("div",{staticClass:"irm-fields-container",attrs:{"data-simplebar":""}},[n("div",{staticClass:"irm-fields-wrapper"},e._l(t.fields,function(i){return n("div",{key:e.getFieldId(i,t.messageId),staticClass:"irm-field"},[e.checkSectionTitle(i.sectionTitle)?n("div",{staticClass:"irm-section-description"},[n("h5",[e._v(e._s(i.sectionTitle))]),n("p",[e._v(e._s(i.sectionDescription))])]):e._e(),n("q-field",{attrs:{label:null!==i.label?i.label:i.id,helper:i.description}},[n(e.capitalizeFirstLetter(i.type)+"InputRequest",{tag:"component",attrs:{name:e.getFieldId(i,t.messageId),initialValue:i.initialValue,values:i.values,range:i.range,numericPrecision:i.numericPrecision,regexp:i.regexp},on:{change:function(n){e.updateForm(e.getFieldId(i,t.messageId),n)}}})],1)],1)}))]),n("div",{staticClass:"irm-buttons"},[n("q-btn",{attrs:{color:"primary",label:e.$t("label.cancelInputRequest")},on:{click:function(n){e.cancelRequest(t)}}}),n("q-btn",{attrs:{color:"mc-main",disable:e.formDataIsEmpty,label:e.$t("label.resetInputRequest")},on:{click:function(n){e.send(t.messageId,!0)}}}),n("q-btn",{attrs:{color:"mc-main",label:e.$t("label.submitInputRequest")},on:{click:function(n){e.send(t.messageId,!1)}}})],1)])])})],2)],1)},ss=[];rs._withStripped=!0;var as=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-input",{attrs:{color:"mc-main",type:"text",placeholder:e.initialValue,name:e.name,error:e.hasError,clearable:!0,"clear-value":e.initialValue},on:{input:e.emitInput},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})},cs=[];as._withStripped=!0;var ls={name:"TextField",props:{initialValue:{type:String,required:!0},name:{type:String,required:!0}},data:function(){return{value:""}},computed:{hasError:function(){return this.value,!1}},methods:{emitInput:function(e){this.$emit("change",e)}}},us=ls,ds=(n("9d14"),Object(y["a"])(us,as,cs,!1,null,null,null));ds.options.__file="TextField.vue";var hs=ds.exports,ps=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-input",{attrs:{color:"mc-main",type:"number",placeholder:e.initialValue,name:e.name,error:e.hasError,clearable:!0,"clear-value":e.initialValue},on:{input:e.emitInput},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})},fs=[];ps._withStripped=!0;var ms={name:"NumberField",props:{initialValue:{type:String,required:!0},name:{type:String,required:!0},numericPrecision:{type:Number,default:5},range:{type:String}},data:function(){return{value:""}},computed:{hasError:function(){return this.range,!1}},methods:{emitInput:function(e){var t=this;this.fitValue(),this.$nextTick(function(){t.$emit("change",e)})},fitValue:function(){0!==this.numericPrecision&&(this.value=this.value.toFixed(this.numericPrecision))}}},gs=ms,vs=(n("d6e2"),Object(y["a"])(gs,ps,fs,!1,null,null,null));vs.options.__file="NumberField.vue";var bs=vs.exports,ys=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-checkbox",{attrs:{color:"mc-main",name:e.name},on:{input:e.emitInput},model:{value:e.checked,callback:function(t){e.checked=t},expression:"checked"}})},_s=[];ys._withStripped=!0;var Ms={name:"BooleanField",props:{initialValue:{type:String,required:!0},name:{type:String,required:!0}},data:function(){return{checked:"true"===this.initialValue}},methods:{emitInput:function(e){var t=this;this.$nextTick(function(){t.$emit("change",e)})}}},ws=Ms,Cs=(n("bb33"),Object(y["a"])(ws,ys,_s,!1,null,null,null));Cs.options.__file="BooleanField.vue";var Ss=Cs.exports,As={name:"InputRequestModal",components:{TextInputRequest:hs,NumberInputRequest:bs,BooleanInputRequest:Ss},sectionTitle:void 0,data:function(){return{formData:{},simpleBars:[],selectedRequest:null}},computed:s()({},Object(a["c"])("data",["session"]),Object(a["c"])("view",["hasInputRequests","inputRequests"]),{opened:{set:function(){},get:function(){return this.hasInputRequests}},formDataIsEmpty:function(){return 0===Object.keys(this.formData).length}}),methods:s()({},Object(a["b"])("view",["removeInputRequest"]),{send:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.inputRequests.find(function(t){return t.messageId===e});if("undefined"!==typeof i){var o=i.fields.reduce(function(e,o){if(n)e[t.getFieldId(o)]=o.initialValue;else{var r=t.formData[t.getFieldId(o,i.messageId)];e[t.getFieldId(o)]="undefined"===typeof r||null===r||""===r?o.initialValue:r.toString()}return e},{});this.sendStompMessage(l["a"].USER_INPUT_RESPONSE({messageId:i.messageId,requestId:i.requestId,values:o},this.session).body),this.removeInputRequest(i.messageId)}},cancelRequest:function(e){this.sendStompMessage(l["a"].USER_INPUT_RESPONSE({messageId:e.messageId,requestId:e.requestId,cancelRun:!0,values:{}},this.session).body),this.removeInputRequest(e.messageId)},updateForm:function(e,t){null===t?this.$delete(this.formData,e):this.$set(this.formData,e,t)},capitalizeFirstLetter:function(e){return Object(Xe["a"])(e)},getFieldId:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return null===t?"".concat(e.functionId,"/").concat(e.id):"".concat(t,"-").concat(e.functionId,"/").concat(e.id)},checkSectionTitle:function(e){return this.$options.sectionTitle!==e&&(this.$options.sectionTitle=e,!0)},cleanInputRequest:function(){this.formData={},this.removeInputRequest(null)}}),watch:{inputRequests:function(){this.inputRequests.length>0&&(this.selectedRequest="request-".concat(this.inputRequests[0].messageId))}}},Es=As,Os=(n("2b54"),Object(y["a"])(Es,rs,ss,!1,null,null,null));Os.options.__file="InputRequestModal.vue";var Ls=Os.exports,Ts=function(){var e=this,t=e.$createElement,n=e._self._c||t;return null!==e.scaleReference?n("q-dialog",{attrs:{title:e.$t("label.titleChangeScale",{type:e.scaleEditingType===e.SCALE_TYPE.ST_SPACE?e.$t("label.labelSpatial"):e.$t("label.labelTemporal")}),color:"info",cancel:!0,ok:!1},on:{show:e.initValues},scopedSlots:e._u([{key:"buttons",fn:function(t){return[n("q-btn",{attrs:{color:"mc-main",outline:"",label:e.$t("label.appCancel")},on:{click:t.cancel}}),n("q-btn",{attrs:{color:"mc-main",label:e.$t("label.appOK")},on:{click:function(n){e.choose(t.ok)}}})]}}]),model:{value:e.scaleEditing,callback:function(t){e.scaleEditing=t},expression:"scaleEditing"}},[n("div",{attrs:{slot:"body"},slot:"body"},[e.scaleEditingType===e.SCALE_TYPE.ST_SPACE?[n("q-input",{attrs:{type:"number",min:"0",color:"info",autofocus:"",after:[{icon:"warning",error:!0,condition:e.resolutionError}],"stack-label":e.resolutionError?e.$t("messages.changeScaleResolutionError"):e.$t("label.resolutionLabel")},model:{value:e.resolution,callback:function(t){e.resolution=t},expression:"resolution"}})]:e._e(),n("q-select",{attrs:{"float-label":e.$t("label.unitLabel"),color:"info",options:e.typedUnits(e.scaleEditingType)},on:{input:function(t){e.scaleEditingType===e.SCALE_TYPE.ST_TIME&&e.setStartDate()}},model:{value:e.unit,callback:function(t){e.unit=t},expression:"unit"}}),e.scaleEditingType===e.SCALE_TYPE.ST_TIME?[n("div",{staticClass:"row"},[e.unit===e.SCALE_VALUES.DECADE?n("q-input",{staticClass:"col col-4",attrs:{"float-label":e.$t("label.unitDecade"),type:"number",min:"0",max:"90",step:10,color:"mc-main",autofocus:""},on:{input:function(t){e.setStartDate()}},model:{value:e.unitInputs.decade,callback:function(t){e.$set(e.unitInputs,"decade",t)},expression:"unitInputs.decade"}}):e._e(),e.unit===e.SCALE_VALUES.CENTURY||e.unit===e.SCALE_VALUES.DECADE?n("q-input",{class:["col",e.unit===e.SCALE_VALUES.CENTURY?"col-8":"col-4"],attrs:{"float-label":e.$t("label.unitCentury"),type:"number",min:"1",step:1,color:"mc-main",autofocus:""},on:{input:function(t){e.setStartDate()}},model:{value:e.unitInputs.century,callback:function(t){e.$set(e.unitInputs,"century",t)},expression:"unitInputs.century"}}):e._e(),e.unit===e.SCALE_VALUES.MONTH?n("q-select",{staticClass:"col col-4",attrs:{"float-label":e.$t("label.unitMonth"),type:"number",min:"0",color:"mc-main",options:e.monthOptions,autofocus:""},on:{input:function(t){e.setStartDate()}},model:{value:e.unitInputs.month,callback:function(t){e.$set(e.unitInputs,"month",t)},expression:"unitInputs.month"}}):e._e(),e.unit===e.SCALE_VALUES.WEEK?n("q-input",{staticClass:"col col-4",attrs:{"float-label":e.$t("label.unitWeek"),type:"number",min:"1",max:"53",step:1,color:"mc-main",autofocus:""},on:{input:function(t){e.setStartDate(t)}},model:{value:e.unitInputs.week,callback:function(t){e.$set(e.unitInputs,"week",t)},expression:"unitInputs.week"}}):e._e(),e.unit===e.SCALE_VALUES.YEAR||e.unit===e.SCALE_VALUES.MONTH||e.unit===e.SCALE_VALUES.WEEK?n("q-input",{class:{col:e.unit===e.SCALE_VALUES.YEAR,"col-8":e.unit===e.SCALE_VALUES.YEAR,"col-4":e.unit===e.SCALE_VALUES.MONTH||e.unit===e.SCALE_VALUES.WEEK},attrs:{"float-label":e.$t("label.unitYear"),type:"number",min:"0",step:1,color:"mc-main",autofocus:""},on:{input:function(t){e.setStartDate()}},model:{value:e.unitInputs.year,callback:function(t){e.$set(e.unitInputs,"year",t)},expression:"unitInputs.year"}}):e._e(),e.unit===e.SCALE_VALUES.CENTURY||e.unit===e.SCALE_VALUES.DECADE||e.unit===e.SCALE_VALUES.YEAR||e.unit===e.SCALE_VALUES.MONTH||e.unit===e.SCALE_VALUES.WEEK?n("q-input",{staticClass:"col col-4",class:{"scd-inactive-multiplier":e.timeEndModified},attrs:{"float-label":e.$t("label.timeResolutionMultiplier"),type:"number",min:"1",step:1,color:"mc-main"},model:{value:e.timeResolutionMultiplier,callback:function(t){e.timeResolutionMultiplier=t},expression:"timeResolutionMultiplier"}},[e.timeEndModified?n("q-tooltip",{attrs:{offset:[0,15],self:"top middle",anchor:"bottom middle"}},[e._v(e._s(e.$t("messages.timeEndModified")))]):e._e()],1):e._e()],1),n("q-datetime",{attrs:{color:"mc-main","float-label":e.$t("label.labelTimeStart"),format:e.getFormat(),type:e.unit===e.SCALE_VALUES.HOUR||e.unit===e.SCALE_VALUES.MINUTE||e.unit===e.SCALE_VALUES.SECOND?"datetime":"date",minimal:"",format24h:"","default-view":e.unit===e.SCALE_VALUES.CENTURY||e.unit===e.SCALE_VALUES.DECADE||e.unit===e.SCALE_VALUES.YEAR?"year":"day"},on:{focus:function(t){e.manualInputChange=!0},blur:function(t){e.manualInputChange=!1},input:function(t){e.manualInputChange&&e.initUnitInputs()&&e.calculateEnd()}},model:{value:e.timeStart,callback:function(t){e.timeStart=t},expression:"timeStart"}}),n("q-datetime",{attrs:{color:"mc-main","float-label":e.$t("label.labelTimeEnd"),format:e.getFormat(),type:e.unit===e.SCALE_VALUES.HOUR||e.unit===e.SCALE_VALUES.MINUTE||e.unit===e.SCALE_VALUES.SECOND?"datetime":"date",minimal:"",format24h:"",after:[{icon:"warning",error:!0,condition:e.resolutionError}],"default-view":e.unit===e.SCALE_VALUES.CENTURY||e.unit===e.SCALE_VALUES.DECADE||e.unit===e.SCALE_VALUES.YEAR?"year":"day"},on:{input:e.checkEnd},model:{value:e.timeEnd,callback:function(t){e.timeEnd=t},expression:"timeEnd"}})]:e._e()],2)]):e._e()},xs=[];Ts._withStripped=!0;var Rs=n("7f45"),ks=n.n(Rs),zs={name:"ScaleChangeDialog",data:function(){return{resolution:null,timeResolutionMultiplier:1,timeStart:null,timeEnd:null,timeEndMod:!1,unit:null,units:c["C"],resolutionError:!1,SCALE_TYPE:c["B"],SCALE_VALUES:c["D"],unitInputs:{century:null,year:null,month:null,week:null},monthOptions:[],timeEndModified:!1,manualInputChange:!1}},computed:s()({},Object(a["c"])("data",["scaleReference","nextScale","hasContext"]),Object(a["c"])("view",["scaleEditingType"]),{scaleEditing:{get:function(){return this.$store.getters["view/isScaleEditing"]},set:function(e){this.$store.dispatch("view/setScaleEditing",{active:e,type:this.scaleEditingType})}},typedUnits:function(){var e=this;return function(t){return e.units.filter(function(e){return e.type===t&&e.selectable}).map(function(t){return s()({},t,{label:e.$t("label.".concat(t.i18nlabel))})})}}}),methods:s()({},Object(a["b"])("data",["updateScaleReference","setNextScale"]),{choose:function(e){if(this.scaleEditingType===c["B"].ST_SPACE&&(""===this.resolution||this.resolution<=0))this.resolutionError=!0;else if(this.scaleEditingType!==c["B"].ST_TIME||this.checkEnd){if(e(),this.resolutionError=!1,this.scaleEditingType===c["B"].ST_SPACE&&(null===this.nextScale&&this.resolution===this.scaleReference.spaceResolutionConverted&&this.unit===this.scaleReference.spaceUnit||null!==this.nextScale&&this.resolution===this.nextScale.spaceResolutionConverted&&this.unit===this.nextScale.spaceUnit)||this.scaleEditingType===c["B"].ST_TIME&&(null===this.nextScale&&this.timeResolutionMultiplier===this.scaleReference.timeResolutionMultiplier&&this.unit===this.scaleReference.timeUnit&&this.timeStart===this.scaleReference.start&&this.timeEnd===this.scaleReference.end||null!==this.nextScale&&this.timeResolutionMultiplier===this.nextScale.timeResolutionMultiplier&&this.unit===this.nextScale.timeUnit&&this.timeStart===this.nextScale.start&&this.timeEnd===this.nextScale.end))return;var t=new Date(this.timeStart.getTime()),n=new Date(this.timeEnd.getTime());[c["D"].MILLENNIUM,c["D"].CENTURY,c["D"].DECADE,c["D"].YEAR,c["D"].MONTH,c["D"].WEEK,c["D"].DAY].includes(this.unit)&&(t.setUTCHours(0,0,0,0),n.setUTCHours(0,0,0,0)),this.hasContext||this.sendStompMessage(l["a"].SCALE_REFERENCE(s()({scaleReference:this.scaleReference},this.scaleEditingType===c["B"].ST_SPACE&&{spaceResolution:this.resolution,spaceUnit:this.unit},this.scaleEditingType===c["B"].ST_TIME&&{timeResolutionMultiplier:this.timeResolutionMultiplier,timeUnit:this.unit,start:t.getTime(),end:n.getTime()}),this.$store.state.data.session).body),this.updateScaleReference(s()({type:this.scaleEditingType,unit:this.unit},this.scaleEditingType===c["B"].ST_SPACE&&{spaceResolution:this.resolution,spaceResolutionConverted:this.resolution},this.scaleEditingType===c["B"].ST_TIME&&{timeResolutionMultiplier:this.timeResolutionMultiplier,start:t.getTime(),end:n.getTime()},{next:this.hasContext})),this.$q.notify({message:this.$t(this.hasContext?"messages.updateNextScale":"messages.updateScale",{type:this.scaleEditingType.charAt(0).toUpperCase()+this.scaleEditingType.slice(1)}),type:"info",icon:"mdi-information",timeout:2e3})}else this.resolutionError=!0},setStartDate:function(e){var t=new Date;switch(this.unit){case c["D"].CENTURY:t.setUTCDate(1),t.setUTCMonth(0),t.setUTCFullYear(100*(this.unitInputs.century-1));break;case c["D"].DECADE:this.unitInputs.decade=this.unitInputs.decade-this.unitInputs.decade%10,t.setUTCDate(1),t.setUTCMonth(0),t.setUTCFullYear(100*(this.unitInputs.century-1)+this.unitInputs.decade);break;case c["D"].YEAR:t.setUTCFullYear(this.unitInputs.year,0,1);break;case c["D"].MONTH:t.setUTCDate(1),t.setUTCMonth(this.unitInputs.month),t.setUTCFullYear(this.unitInputs.year);break;case c["D"].WEEK:if(e>53)return void(this.unitInputs.week=ks()(this.timeStart).week());t.setUTCMonth(0),t.setUTCDate(1+7*(this.unitInputs.week-1)),t.setUTCFullYear(this.unitInputs.year);break;default:return}this.timeStart=t,this.initUnitInputs(),this.calculateEnd()},calculateEnd:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=c["C"].find(function(t){return t.value===e.unit});this.timeEnd=ks()(this.timeStart).add(this.timeResolutionMultiplier*n.momentMultiplier-(1!==n.momentMultiplier?1:0),n.momentShorthand).toDate(),this.$nextTick(function(){e.timeEndModified=t})},checkEnd:function(){this.timeEnd<=this.timeStart?this.$q.notify({message:this.$t("messages.timeEndBeforeTimeStart"),type:"info",icon:"mdi-information",timeout:2e3}):this.calculateEnd(!0)},getFormat:function(){switch(this.unit){case c["D"].MILLENNIUM:case c["D"].CENTURY:case c["D"].DECADE:case c["D"].YEAR:case c["D"].MONTH:case c["D"].WEEK:case c["D"].DAY:return"DD/MM/YYYY";case c["D"].HOUR:return"DD/MM/YYYY HH:mm";case c["D"].MINUTE:case c["D"].SECOND:return"DD/MM/YYYY HH:mm:ss";case c["D"].MILLISECOND:return"DD/MM/YYYY HH:mm:ss:SSS";default:return"DD/MM/YYYY HH:mm:ss"}},formatDate:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"dddd, MMMM Do YYYY, h:mm:ss a";return e&&null!==e?ks()(e).format(t):""},initValues:function(){var e=null!==this.nextScale?this.nextScale:null!==this.scaleReference?this.scaleReference:null;null!==e&&(this.resolution=e.spaceResolutionConverted,this.unit=this.scaleEditingType===c["B"].ST_SPACE?e.spaceUnit:null!==e.timeUnit?e.timeUnit:c["D"].YEAR,this.timeResolutionMultiplier=0!==e.timeResolutionMultiplier?e.timeResolutionMultiplier:1,this.timeStart=0!==e.start?new Date(e.start):new Date,this.calculateEnd()),this.initUnitInputs()},initUnitInputs:function(){var e=this.timeStart?ks()(this.timeStart):ks()();this.unitInputs.century=Math.floor(e.year()/100)+1,this.unitInputs.decade=10*Math.floor(e.year()/10)-100*Math.floor(e.year()/100),this.unitInputs.year=e.year(),this.unitInputs.month=e.month(),this.unitInputs.week=e.week()}}),watch:{timeResolutionMultiplier:function(e,t){e<1?this.timeResolutionMultiplier=t:this.calculateEnd()}},created:function(){for(var e=0;e<12;e++)this.monthOptions.push({label:this.$t("label.months.m".concat(e)),value:e})}},Ps=zs,Ns=(n("c998"),Object(y["a"])(Ps,Ts,xs,!1,null,null,null));Ns.options.__file="ScaleChangeDialog.vue";var Is=Ns.exports,Ds=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"full-height",attrs:{id:"lm-container"}},[n("div",{staticClass:"full-height klab-lm-panel",style:{width:e.LEFTMENU_VISIBILITY.LEFTMENU_MINSIZE+"px"},attrs:{id:"lm-actions"}},[n("div",{attrs:{id:"spinner-leftmenu-container"}},[n("div",{style:{"border-color":e.hasTasks()?e.spinnerColor.color:"white"},attrs:{id:"spinner-leftmenu-div"}},[n("klab-spinner",{attrs:{id:"spinner-leftmenu","store-controlled":!0,size:40,ball:22,wrapperId:"spinner-leftmenu-div"},nativeOn:{touchstart:function(t){e.handleTouch(t,e.askForSuggestion)}}})],1)]),e.hasContext?[n("div",{staticClass:"lm-separator"}),n("main-actions-buttons",{attrs:{orientation:"vertical","separator-class":"lm-separator"}}),n("div",{staticClass:"lm-separator"})]:e._e(),n("div",{staticClass:"klab-button klab-action",class:[{active:e.logShowed}],on:{click:e.logAction}},[n("q-icon",{attrs:{name:"mdi-console"}},[n("q-tooltip",{attrs:{delay:600,offset:[0,8],self:"top left",anchor:"bottom left"}},[e._v(e._s(e.logShowed?e.$t("tooltips.hideLogPane"):e.$t("tooltips.showLogPane")))])],1)],1),n("div",{staticClass:"lm-separator"}),n("div",{style:{width:e.LEFTMENU_VISIBILITY.LEFTMENU_MINSIZE+"px"},attrs:{id:"lm-bottom-menu"}},[n("div",{staticClass:"lm-separator"}),n("scale-buttons",{attrs:{docked:!0}}),n("div",{staticClass:"lm-separator"}),n("div",{staticClass:"lm-bottom-buttons"},[n("stop-actions-buttons")],1)],1)],2),e.maximized?n("div",{staticClass:"full-height klab-lm-panel",style:{width:e.LEFTMENU_VISIBILITY.LEFTMENU_MAXSIZE-e.LEFTMENU_VISIBILITY.LEFTMENU_MINSIZE+"px"},attrs:{id:"lm-content"}},[n("div",{staticClass:"full-height",attrs:{id:"lm-content-container"}},[n("keep-alive",[n("transition",{attrs:{name:"component-fade",mode:"out-in"}},[n(e.leftMenuContent,{tag:"component",staticClass:"lm-component"})],1)],1)],1)]):e._e()])},Bs=[];Ds._withStripped=!0;var qs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"full-height",class:{"dmc-dragging":e.dragging,"dmc-large-mode":e.searchIsFocused&&e.largeMode>0},attrs:{id:"dmc-container"}},[n("klab-breadcrumbs"),n("klab-search-bar",{directives:[{name:"draggable",rawName:"v-draggable",value:e.dragMCConfig,expression:"dragMCConfig"}],ref:"klab-search-bar-docked"}),e.isTreeVisible?n("div",{staticClass:"q-card-main full-height",class:{"dmc-dragging":e.dragging,"dmc-loading":e.taskOfContextIsAlive},attrs:{id:"dmc-tree"}},[n("klab-tree-pane")],1):e._e(),e.contextHasTime?n("observations-timeline",{staticClass:"dmc-timeline"}):e._e()],1)},js=[];qs._withStripped=!0;var Ws=G["b"].width,Fs={name:"KlabDockedMainControl",components:{KlabSearchBar:It,KlabBreadcrumbs:Ft,ObservationsTimeline:Hn,KlabTreePane:Tn},directives:{Draggable:U},data:function(){var e=this;return{dragMCConfig:{onPositionChange:Object(Ce["a"])(function(t,n){e.onDebouncedPositionChanged(n)},100),onDragStart:function(){e.dragging=!0},onDragEnd:this.checkUndock,fingers:2,noMove:!0},askForUndocking:!1,draggableElementWidth:0,dragging:!1}},computed:s()({},Object(a["c"])("data",["contextHasTime"]),Object(a["c"])("view",["largeMode","isTreeVisible"]),Object(a["c"])("stomp",["taskOfContextIsAlive"])),methods:s()({},Object(a["b"])("view",["searchIsFocused","setMainViewer"]),{onDebouncedPositionChanged:function(e){this.dragging&&(e&&e.left>this.undockLimit?this.askForUndocking=!0:this.askForUndocking=!1,this.$eventBus.$emit(c["h"].ASK_FOR_UNDOCK,this.askForUndocking))},checkUndock:function(){var e=this;this.$nextTick(function(){e.askForUndocking&&(e.askForUndocking=!1,e.setMainViewer(c["M"].DATA_VIEWER)),e.$eventBus.$emit(c["h"].ASK_FOR_UNDOCK,!1),e.dragging=!1})}}),mounted:function(){this.undockLimit=Ws(document.getElementById("dmc-container"))/3}},Hs=Fs,Xs=(n("c7c3"),Object(y["a"])(Hs,qs,js,!1,null,null,null));Xs.options.__file="KlabDockedMainControl.vue";var Us=Xs.exports,Vs={name:"KlabLeftMenu",components:{KlabSpinner:M,MainActionsButtons:Te,StopActionsButtons:Ie,DockedMainControl:Us,DocumentationTree:er,KlabLogPane:Yn,ScaleButtons:ni,KnowledgeViewsSelector:ci},mixins:[rt],data:function(){return{}},computed:s()({},Object(a["c"])("data",["hasContext"]),Object(a["c"])("stomp",["hasTasks"]),Object(a["c"])("view",["spinnerColor","mainViewer","leftMenuContent","leftMenuState"]),{logShowed:function(){return this.leftMenuContent===c["u"].LOG_COMPONENT},maximized:function(){return this.leftMenuState===c["u"].LEFTMENU_MAXIMIZED&&this.leftMenuContent}}),methods:s()({},Object(a["b"])("view",["setLeftMenuState","setLeftMenuContent"]),{logAction:function(){this.logShowed?(this.setLeftMenuContent(this.mainViewer.leftMenuContent),this.setLeftMenuState(this.mainViewer.leftMenuState)):(this.setLeftMenuContent(c["u"].LOG_COMPONENT),this.setLeftMenuState(c["u"].LEFTMENU_MAXIMIZED))},askForSuggestion:function(e){this.$eventBus.$emit(c["h"].ASK_FOR_SUGGESTIONS,e)}}),created:function(){this.LEFTMENU_VISIBILITY=c["u"]}},Gs=Vs,Ks=(n("6283"),Object(y["a"])(Gs,Ds,Bs,!1,null,null,null));Ks.options.__file="KlabLeftMenu.vue";var $s=Ks.exports,Ys=(n("5bc0"),{name:"KExplorer",components:{KlabMainControl:mi,DataViewer:jo,KlabDocumentation:ur,DataflowViewer:os,InputRequestModal:Ls,ScaleChangeDialog:Is,ObservationTime:Bn,KlabLeftMenu:$s},props:{mainPanelStyle:{type:Object,default:function(){return{}}}},data:function(){return{askForUndocking:!1,LEFTMENU_CONSTANTS:c["u"]}},computed:s()({},Object(a["c"])("data",["session","hasActiveTerminal"]),Object(a["c"])("stomp",["connectionDown"]),Object(a["c"])("view",["searchIsActive","searchIsFocused","searchInApp","mainViewerName","mainViewer","isTreeVisible","isInModalMode","spinnerErrorMessage","isMainControlDocked","admitSearch","isHelpShown","mainViewer","leftMenuState","largeMode","hasHeader","layout"]),{waitingGeolocation:{get:function(){return this.$store.state.view.waitingGeolocation},set:function(e){this.$store.state.view.waitingGeolocation=e}},logVisible:function(){return this.$logVisibility===c["P"].PARAMS_LOG_VISIBLE},leftMenuVisible:{get:function(){return this.leftMenuState!==c["u"].LEFTMENU_HIDDEN&&!this.hasHeader},set:function(e){this.setLeftMenuState(e)}},leftMenuWidth:function(){return(this.leftMenuState===c["u"].LEFTMENU_MAXIMIZED?c["u"].LEFTMENU_MAXSIZE:this.leftMenuState===c["u"].LEFTMENU_MINIMIZED?c["u"].LEFTMENU_MINSIZE:0)-(this.hasHeader?c["u"].LEFTMENU_MINSIZE:0)}}),methods:s()({},Object(a["b"])("view",["searchStart","searchStop","searchFocus","setMainViewer","setLeftMenuState"]),{setChildrenToAskFor:function(){var e=Math.floor(window.innerHeight*parseInt(getComputedStyle(document.documentElement).getPropertyValue("--main-control-max-height"),10)/100),t=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--q-tree-no-child-min-height"),10),n=Math.floor(e/t);console.info("Set max children to ".concat(n)),this.$store.state.data.childrenToAskFor=n},askForUndockListener:function(e){this.askForUndocking=e},keydownListener:function(e){if(!(this.connectionDown||this.isInModalMode||!this.admitSearch||this.isHelpShown||this.searchInApp||this.hasActiveTerminal))return 27===e.keyCode&&this.searchIsActive?(this.searchStop(),void e.preventDefault()):void((38===e.keyCode||40===e.keyCode||32===e.keyCode||this.isAcceptedKey(e.key))&&(this.searchIsActive?this.searchIsFocused||(this.searchFocus({char:e.key,focused:!0}),e.preventDefault()):(this.searchStart(e.key),e.preventDefault())))},showDocumentation:function(){this.setMainViewer(c["M"].DOCUMENTATION_VIEWER)}}),watch:{spinnerErrorMessage:function(e,t){null!==e&&e!==t&&(console.error(this.spinnerErrorMessage),this.$q.notify({message:this.spinnerErrorMessage,type:"negative",icon:"mdi-alert-circle",timeout:1e3}))},leftMenuVisible:function(){var e=this;this.$nextTick(function(){e.$eventBus.$emit(c["h"].NEED_FIT_MAP,{})})}},created:function(){"undefined"===typeof this.mainViewer&&this.setMainViewer(c["M"].DATA_VIEWER)},mounted:function(){window.addEventListener("keydown",this.keydownListener),this.setChildrenToAskFor(),this.$eventBus.$on(c["h"].ASK_FOR_UNDOCK,this.askForUndockListener),this.$eventBus.$on(c["h"].SHOW_DOCUMENTATION,this.showDocumentation),this.sendStompMessage(l["a"].SETTING_CHANGE_REQUEST({setting:c["G"].INTERACTIVE_MODE,value:!1},this.session).body),this.sendStompMessage(l["a"].SETTING_CHANGE_REQUEST({setting:c["G"].LOCK_SPACE,value:!1},this.session).body),this.sendStompMessage(l["a"].SETTING_CHANGE_REQUEST({setting:c["G"].LOCK_TIME,value:!1},this.session).body)},beforeDestroy:function(){window.removeEventListener("keydown",this.keydownListener),this.$eventBus.$off(c["h"].ASK_FOR_UNDOCK,this.askForUndockListener),this.$eventBus.$off(c["h"].SHOW_DOCUMENTATION,this.showDocumentation)}}),Js=Ys,Qs=(n("f913"),Object(y["a"])(Js,ye,_e,!1,null,null,null));Qs.options.__file="KExplorer.vue";var Zs=Qs.exports,ea=n("0388"),ta=n("7d43"),na=n("9541"),ia=n("768b"),oa=n("fb40"),ra=n("bd60"),sa="q:collapsible:close",aa={name:"QCollapsible",mixins:[oa["a"],ra["a"],{props:ra["b"]}],modelToggle:{history:!1},props:{disable:Boolean,popup:Boolean,indent:Boolean,group:String,iconToggle:Boolean,collapseIcon:String,opened:Boolean,duration:Number,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},computed:{classes:function(){return{"q-collapsible-opened":this.showing,"q-collapsible-closed":!this.showing,"q-collapsible-popup-opened":this.popup&&this.showing,"q-collapsible-popup-closed":this.popup&&!this.showing,"q-collapsible-cursor-pointer":!this.separateToggle,"q-item-dark":this.dark,"q-item-separator":this.separator,"q-item-inset-separator":this.insetSeparator,disabled:this.disable}},separateToggle:function(){return this.iconToggle||void 0!==this.to}},watch:{showing:function(e){e&&this.group&&this.$root.$emit(sa,this)}},methods:{__toggleItem:function(){this.separateToggle||this.toggle()},__toggleIcon:function(e){this.separateToggle&&(e&&Object(Gr["g"])(e),this.toggle())},__eventHandler:function(e){this.group&&this!==e&&e.group===this.group&&this.hide()},__getToggleSide:function(e,t){return[e(na["a"],{slot:t?"right":void 0,staticClass:"cursor-pointer transition-generic relative-position q-collapsible-toggle-icon",class:{"rotate-180":this.showing,invisible:this.disable},nativeOn:{click:this.__toggleIcon},props:{icon:this.collapseIcon||this.$q.icon.collapsible.icon}})]},__getItemProps:function(e){return{props:e?{cfg:this.$props}:this.$props,style:this.headerStyle,class:this.headerClass,nativeOn:{click:this.__toggleItem}}}},created:function(){this.$root.$on(sa,this.__eventHandler),(this.opened||this.value)&&this.show()},beforeDestroy:function(){this.$root.$off(sa,this.__eventHandler)},render:function(e){return e(this.tag,{staticClass:"q-collapsible q-item-division relative-position",class:this.classes},[e("div",{staticClass:"q-collapsible-inner"},[this.$slots.header?e(Ye["a"],this.__getItemProps(),[this.$slots.header,e(ta["a"],{props:{right:!0},staticClass:"relative-position"},this.__getToggleSide(e))]):e(ia["a"],this.__getItemProps(!0),this.__getToggleSide(e,!0)),e(en["a"],{props:{duration:this.duration}},[e("div",{directives:[{name:"show",value:this.showing}]},[e("div",{staticClass:"q-collapsible-sub-item relative-position",class:{indent:this.indent}},this.$slots.default)])])])])}},ca=n("dd1f"),la=n("5d8b"),ua=n("5931"),da=n("482e"),ha={LAYOUT:function(e){return He["a"].component("KAppLayout",{render:function(t){return t(La,{props:{layout:e}})}})},ALERT:function(e){return He["a"].component("KAppAlert",{render:function(t){return t(ea["a"],{props:{value:!0,title:e.title,message:e.content},class:{"kcv-alert":!0}})}})},MAIN:function(e){return He["a"].component("KAppMain",{render:function(t){return t("div",s()({class:["kcv-main-container","kcv-dir-".concat(e.direction),"kcv-style-".concat(this.$store.getters["view/appStyle"])],attrs:{id:"".concat(e.applicationId,"-").concat(e.id),ref:"main-container"},style:s()({},e.style,e.mainPanelStyle)},e.name&&{ref:e.name}),this.$slots.default)}})},PANEL:function(e){return He["a"].component("KAppPanel",{render:function(t){return t("div",s()({class:["kcv-panel-container","kcv-dir-".concat(e.direction)],attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},style:Object(c["k"])(e)},e.name&&{ref:e.name}),this.$slots.default)}})},GROUP:function(e){return He["a"].component("KAppGroup",{data:function(){return{}},render:function(t){return t("div",{staticClass:"kcv-group",class:{"text-app-alt-color":e.attributes.altfg,"bg-app-alt-background":e.attributes.altbg,"kcv-wrapper":1===e.components.length,"kcv-group-bottom":e.attributes.bottom},attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},style:e.attributes.hfill?{width:"100%"}:{}},e.attributes.shelf||e.attributes.parentId?[t("div",s()({class:"kcv-group-content",style:Object(c["k"])(e)},e.attributes.scroll&&{attrs:{"data-simplebar":"data-simplebar"}}),this.$slots.default)]:[t("div",{staticClass:"kcv-group-container",class:{"kcv-group-no-label":!e.name}},[e.name?t("div",{class:"kcv-group-legend"},e.name):null,t("div",s()({class:"kcv-group-content",style:Object(c["k"])(e)},e.attributes.scroll&&{attrs:{"data-simplebar":"data-simplebar"}}),this.$slots.default)])])}})},SHELF:function(e){return e.attributes.opened?"true"===e.attributes.opened&&(e.attributes.opened=!0):e.attributes.opened=!1,He["a"].component("KAppShelf",{data:function(){return{opened:e.attributes.opened}},render:function(t){var n=this;return t(aa,{class:"kcv-collapsible",props:s()({opened:n.opened,headerClass:"kcv-collapsible-header",collapseIcon:"mdi-dots-vertical",separator:!1},!e.attributes.parentAttributes.multiple&&{group:e.attributes.parentId},{label:e.name},e.attributes.iconname&&{icon:"mdi-".concat(e.attributes.iconname)}),on:{hide:function(){e.attributes.opened=!1},show:function(){e.attributes.opened=!0}}},this.$slots.default)}})},SEPARATOR:function(e){return He["a"].component("KAppSeparator",{render:function(t){var n=this;return e.attributes.empty?t("hr",{class:"kcv-hr-separator",attrs:{id:"".concat(e.applicationId,"-").concat(e.id)}}):t("div",{class:"kcv-separator",attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},style:Object(c["k"])(e)},[e.attributes.iconname?t(Qe["a"],{class:"kcv-separator-icon",props:{name:"mdi-".concat(e.attributes.iconname),color:"app-main-color"}}):null,e.title?t("div",{class:"kcv-separator-title"},e.title):null,e.attributes.iconbutton?t(Qe["a"],{class:"kcv-separator-right",props:{name:"mdi-".concat(e.attributes.iconbutton),color:"app-main-color"},nativeOn:{click:function(){n.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:s()({},e,{components:[]}),booleanValue:!0})}}}):null,e.attributes.info?t(Qe["a"],{class:"kcv-separator-right",props:{name:"mdi-information-outline",color:"app-main-color"},nativeOn:{mouseover:function(){n.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:s()({},e,{components:[]}),booleanValue:!0})},mouseleave:function(){n.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:s()({},e,{components:[]}),booleanValue:!1})}}}):null])}})},TREE:function(e){var t=[];if(e.tree){var n=e.tree;e.tree.status||(e.tree.status={ticked:[],expanded:[],selected:{}});var i=function i(o){var r=n.values[o],s=Object(Ue["f"])(t,"".concat(e.id,"-").concat(r.id,"-").concat(o));if(!s){s={id:"".concat(e.id,"-").concat(r.id,"-").concat(o),label:r.label,type:r.type,observable:r.id,children:[]};var a=n.links.find(function(e){return e.first===o}).second;if(a===n.rootId)t.push(s);else{var c=i(a);c.children.push(s)}}return s};n.links.forEach(function(e){i(e.first)})}return He["a"].component("KAppTree",{data:function(){return{ticked:e.tree.status.ticked,expanded:e.tree.status.expanded,selected:e.tree.status.selected}},render:function(n){var i=this;return n("div",{class:"kcv-tree-container",style:Object(c["k"])(e)},[e.name?n("div",{class:"kcv-tree-legend"},e.name):null,n(Zt["a"],{class:"kcv-tree",attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},props:{nodes:t,nodeKey:"id",tickStrategy:e.attributes.check?"leaf":"none",ticked:i.ticked,selected:i.selected,expanded:i.expanded,color:"app-main-color",controlColor:"app-main-color",textColor:"app-main-color",dense:!0},on:{"update:ticked":function(t){i.ticked=t,e.tree.status.ticked=t,i.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:s()({},e,{components:[]}),listValue:t})},"update:selected":function(t){i.selected=t,e.tree.status.selected=t},"update:expanded":function(t){i.expanded=t,e.tree.status.expanded=t}}})])}})},LABEL:function(e){return e.attributes.width||(e.attributes.width=c["b"].LABEL_MIN_WIDTH),He["a"].component("KAppText",{data:function(){return{editable:!1,doneFunc:null,result:null,value:null,searchRequestId:0,searchContextId:null,searchTimeout:null,selected:null}},computed:{searchResult:function(){return this.$store.getters["data/searchResult"]},isSearch:function(){return"search"===e.attributes.tag&&this.editable}},methods:{search:function(e,t){var n=this;this.searchRequestId+=1,this.sendStompMessage(l["a"].SEARCH_REQUEST({requestId:this.searchRequestId,contextId:this.searchContextId,maxResults:-1,cancelSearch:!1,defaultResults:""===e,searchMode:c["E"].FREETEXT,queryString:e},this.$store.state.data.session).body),this.doneFunc=t,this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){n.$q.notify({message:n.$t("errors.searchTimeout"),type:"warning",icon:"mdi-alert",timeout:2e3}),n.doneFunc&&n.doneFunc([])},"4000")},autocompleteSelected:function(e){e&&(this.selected=e)},sendSelected:function(){this.sendStompMessage(l["a"].SEARCH_MATCH({contextId:this.searchContextId,matchIndex:this.selected.matchIndex,matchId:this.selected.id,added:!0},this.$store.state.data.session).body)},init:function(){this.doneFunc=null,this.result=null,this.value=null,this.searchRequestId=0,this.searchContextId=null,this.searchTimeout=null,this.selected=null}},watch:{searchResult:function(e){var t=this;if(this.isSearch){this.searchTimeout&&(clearTimeout(this.searchTimeout),this.searchTimeout=null);var n=e.requestId,i=e.contextId;if(null===this.searchContextId)this.searchContextId=i;else if(i!==this.searchContextId)return;if(this.searchRequestId===n){var o;null!==this.result&&this.result.requestId===n&&(o=e.matches).push.apply(o,q()(this.result.matches)),this.result=e;var r=this.result,s=r.matches,a=r.error,l=r.errorMessage;if(a)this.$q.notify({message:l,type:"error",icon:"mdi-alert",timeout:2e3});else{var u=[];s.forEach(function(e){var t=c["v"][e.matchType];if("undefined"!==typeof t){var n=t;if(null!==e.mainSemanticType){var i=c["F"][e.mainSemanticType];"undefined"!==typeof i&&(n=i)}u.push({value:e.name,label:e.name,labelLines:1,sublabel:e.description,sublabelLines:4,letter:n.symbol,leftInverted:!0,leftColor:n.color,rgb:n.rgb,id:e.id,matchIndex:e.index,selected:!1,disable:e.state&&"FORTHCOMING"===e.state,separator:!1})}else console.warn("Unknown type: ".concat(e.matchType))}),0===u.length&&this.$q.notify({message:this.$t("messages.noSearchResults"),type:"info",icon:"mdi-information",timeout:1e3}),He["a"].nextTick(function(){t.doneFunc(u)})}}else console.warn("Result discarded for bad request id: actual: ".concat(this.searchRequestId," / received: ").concat(n,"\n"))}}},render:function(t){var n=this,i=this;return this.isSearch?t(la["a"],{class:["kcv-text-input","kcv-form-element","kcv-search"],style:Object(c["k"])(e),attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},props:{value:i.value,color:"app-main-color",hideUnderline:!0,dense:!0,type:i.type,autofocus:!0},on:{keydown:function(e){27===e.keyCode&&(n.editable=!1,n.doneFunc&&(n.doneFunc(),n.doneFunc=null),n.$store.dispatch("view/searchInApp",!1),e.stopPropagation(),i.init()),13===e.keyCode&&n.selected&&(n.$store.dispatch("view/searchInApp",!1),n.editable=!1,i.sendSelected(),i.init())},input:function(e){i.value=e},blur:function(){n.$store.dispatch("view/searchInApp",!1),n.editable=!1},focus:function(){n.$store.dispatch("view/searchInApp",!0)}}},[t(Ve["a"],{props:{debounce:400,"min-characters":4},on:{search:function(e,t){i.search(e,t)},selected:function(e,t){i.autocompleteSelected(e,t)}}},"Cacca")]):t("div",s()({staticClass:"kcv-label",class:{"kcv-title":e.attributes.tag&&("title"===e.attributes.tag||"search"===e.attributes.tag),"kcv-clickable":"true"!==e.attributes.disabled&&"search"===e.attributes.tag,"kcv-ellipsis":e.attributes.ellipsis,"kcv-with-icon":e.attributes.iconname},attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},style:Object(c["k"])(e)},"true"!==e.attributes.disabled&&"search"===e.attributes.tag&&{on:{click:function(){n.editable=!0,n.$store.dispatch("view/searchInApp",!0)}}}),[e.attributes.iconname?t(Qe["a"],{class:["kcv-label-icon",e.attributes.toggle?"kcv-label-toggle":""],props:{name:"mdi-".concat(e.attributes.iconname),color:"app-main-color"}}):null,e.content,e.attributes.tooltip?t(Ze["a"],{props:{anchor:"bottom left",self:"top left",offset:[-10,0]}},"true"===e.attributes.tooltip?e.content:e.attributes.tooltip):null])}})},TEXT_INPUT:function(e){return He["a"].component("KAppTextInput",{data:function(){return{component:e,value:e.content,type:"number"}},render:function(t){var n=this;return t(la["a"],{class:["kcv-text-input","kcv-form-element"],style:Object(c["k"])(e),attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},props:{value:n.value,color:"app-main-color",hideUnderline:!0,dense:!0,type:n.type,disable:"true"===e.attributes.disabled},on:{keydown:function(e){e.stopPropagation()},input:function(t){n.value=t,e.content=t,n.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:s()({},e,{components:[]}),stringValue:t})}}})}})},COMBO:function(e){return He["a"].component("KAppCombo",{data:function(){return{component:e,value:e.attributes.selected?e.choices.find(function(t){return t.first===e.attributes.selected}).first:e.choices[0].first}},render:function(t){var n=this;return t(ua["a"],{class:["kcv-combo","kcv-form-element"],style:Object(c["k"])(e),attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},props:{value:n.value,options:e.choices.map(function(e){return{label:e.first,value:e.second,className:"kcv-combo-option"}}),color:"app-text-color",popupCover:!1,dense:!0,disable:"true"===e.attributes.disabled,dark:"dark"===this.$store.getters["view/appStyle"]},on:{change:function(t){n.value=t,e.attributes.selected=n.value,n.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:s()({},e,{components:[]}),stringValue:t})}}})}})},PUSH_BUTTON:function(e){return He["a"].component("KAppPushButton",{data:function(){return{state:null}},watch:{state:function(){var t=this;e.attributes.timeout&&setTimeout(function(){delete e.attributes.error,delete e.attributes.waiting,delete e.attributes.done,t.state=null},e.attributes.timeout)}},render:function(t){var n=this,i=e.attributes.iconname&&!e.name;this.state=e.attributes.waiting?"waiting":e.attributes.computing?"computing":e.attributes.error?"error":e.attributes.done?"done":null;var o=e.attributes.waiting?"app-background-color":e.attributes.computing?"app-alt-color":e.attributes.error?"app-negative-color":e.attributes.done?"app-positive-color":"app-background-color";return t("div",{},[t(da["a"],{class:[i?"kcv-roundbutton":"kcv-pushbutton","kcv-form-element","breset"===e.attributes.tag?"kcv-reset-button":""],style:s()({},Object(c["k"])(e),e.attributes.timeout&&{"--button-icon-color":"app-background-color","--flash-color":e.attributes.error?"var(--app-negative-color)":e.attributes.done?"var(--app-positive-color)":"var(--app-main-color)",animation:"flash-button ".concat(e.attributes.timeout,"ms")}||{"--button-icon-color":"var(--".concat(o,")")}),attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},props:s()({},e.name&&{label:e.name,"text-color":"app-control-text-color"},{color:e.attributes.color?e.attributes.color:"app-main-color"},i&&{round:!0,dense:!0,flat:!0},{noCaps:!0,disable:"true"===e.attributes.disabled},"error"===this.state&&{icon:"mdi-alert-circle"}||"done"===this.state&&{icon:"mdi-check-circle"}||e.attributes.iconname&&{icon:"mdi-".concat(e.attributes.iconname)},"waiting"===this.state&&{loading:!0}),on:{click:function(){n.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:s()({},e,{components:[]})})}}}),e.attributes.tooltip?t(Ze["a"],{props:{anchor:"bottom left",self:"top left",offset:[-10,0],delay:600}},"true"===e.attributes.tooltip?e.content:e.attributes.tooltip):null])}})},CHECK_BUTTON:function(e){return He["a"].component("KAppCheckButton",{data:function(){return{value:!!e.attributes.checked,component:e}},render:function(t){var n=this,i=e.attributes.waiting?"waiting":e.attributes.computing?"computing":e.attributes.error?"error":e.attributes.done?"done":null,o=e.attributes.error?"app-negative-color":e.attributes.done?"app-positive-color":"app-main-color";return t("div",{class:["kcv-checkbutton","kcv-form-element","text-".concat(o),"kcv-check-".concat(i),""===e.name?"kcv-check-only":"kcv-check-with-label"],style:Object(c["k"])(e)},[t(nn["a"],{props:s()({value:n.value,color:o,keepColor:!0,label:e.name,disable:"true"===e.attributes.disabled},e.attributes.waiting&&{"checked-icon":"mdi-loading","unchecked-icon":"mdi-loading",readonly:!0},e.attributes.computing&&{"checked-icon":"mdi-cog-outline","unchecked-icon":"mdi-cog-outline",readonly:!0}),attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},on:{input:function(t){n.value=t,e.attributes.checked=t,n.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:s()({},e,{components:[]}),booleanValue:t})}}}),e.attributes.error&&"true"!==e.attributes.error?t(Ze["a"],{class:"kcv-error-tooltip",props:{anchor:"bottom left",self:"top left",offset:[-10,0]}},e.attributes.error):null])}})},RADIO_BUTTON:function(e){return He["a"].component("KAppRadioButton",{data:function(){return{value:null,component:e}},render:function(t){var n=this;return t("div",{class:["kcv-checkbutton","kcv-form-element"],style:Object(c["k"])(e)},[t(ca["a"],{props:{val:!1,value:!1,color:"app-main-color",label:e.name},attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},on:{input:function(t){n.value=t,n.$eventBus.$emit(c["h"].COMPONENT_ACTION,{operation:c["c"].USER_ACTION,component:s()({},e,{components:[]}),booleanValue:t})}}})])}})},TEXT:function(e){return He["a"].component("KAppText",{data:function(){return{collapsed:!1}},render:function(t){var n=this;return t("div",{staticClass:"kcv-text",class:{"kcv-collapse":e.attributes.collapse,"kcv-collapsed":n.collapsed},attrs:{"data-simplebar":"data-simplebar"},style:Object(c["k"])(e)},[t("div",{staticClass:"kcv-internal-text",attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},domProps:{innerHTML:e.content}}),e.attributes.collapse?t("div",{staticClass:"kcv-collapse-button",on:{click:function(){n.collapsed=!n.collapsed}}},[t(Qe["a"],{staticClass:"kcv-collapse-icon",props:{name:n.collapsed?"mdi-arrow-down":"mdi-arrow-up",color:"app-main-color",size:"sm"}})]):null])}})},BROWSER:function(e){return He["a"].component("KBrowswer",{mounted:function(){},render:function(t){var n=e.content.startsWith("http")?e.content:"".concat("").concat("/modeler").concat(e.content);return t("iframe",{class:"kcv-browser",attrs:{id:"".concat(e.applicationId,"-").concat(e.id),width:e.attributes.width||"100%",height:e.attributes.height||"100%",frameBorder:"0",src:n},style:s()({},Object(c["k"])(e),{position:"absolute",top:0,bottom:0,left:0,right:0})})}})},UNKNOWN:function(e){return He["a"].component("KAppUnknown",{render:function(t){return t("div",{class:"kcv-unknown",attrs:{id:"".concat(e.applicationId,"-").concat(e.id)},style:Object(c["k"])(e)},e.type)}})}};function pa(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e)return[];if(e.type===c["a"].VIEW)return t(ha.LAYOUT);var i,o=null;switch(e.attributes.parentAttributes&&e.attributes.parentAttributes.shelf&&(o=ha.SHELF(e)),e.type){case null:var r=n.mainPanelStyle,a=void 0===r?{}:r,l=n.direction,u=void 0===l?"vertical":l;i=ha.MAIN(s()({},e,{mainPanelStyle:a,direction:u}));break;case c["a"].PANEL:i=ha.PANEL(e);break;case c["a"].SEPARATOR:i=ha.SEPARATOR(e);break;case c["a"].LABEL:i=ha.LABEL(e);break;case c["a"].TEXT_INPUT:i=ha.TEXT_INPUT(e);break;case c["a"].PUSH_BUTTON:i=ha.PUSH_BUTTON(e);break;case c["a"].CHECK_BUTTON:i=ha.CHECK_BUTTON(e);break;case c["a"].RADIO_BUTTON:i=ha.RADIO_BUTTON(e);break;case c["a"].TREE:i=ha.TREE(e);break;case c["a"].GROUP:i=ha.GROUP(e),e.components&&e.components.length>0&&e.components.forEach(function(t){t.attributes.parentId=e.id,t.attributes.parentAttributes=e.attributes});break;case c["a"].TEXT:i=ha.TEXT(e);break;case c["a"].COMBO:i=ha.COMBO(e);break;case c["a"].BROWSER:i=ha.BROWSER(e);break;default:i=ha.UNKNOWN(e)}var d=[];return e.components&&e.components.length>0&&e.components.forEach(function(e){d.push(pa(e,t))}),o?t(o,{},[t(i,{},d)]):t(i,{},d)}var fa,ma,ga=G["b"].height,va={name:"KlabAppViewer",props:{component:{type:Object,required:!0},props:{type:Object,default:null},direction:{type:String,validator:function(e){return["horizontal","vertical"].includes(e)},default:"vertical"},mainPanelStyle:{type:Object,default:function(){return{}}}},data:function(){return{mainContainerHeight:void 0}},computed:{},methods:{calculateMinHeight:function(){this.$nextTick(function(){for(var e=document.querySelectorAll(".kcv-group-bottom"),t=0,n=0;n0},set:function(){}},showRightPanel:{get:function(){return this.layout&&this.layout.rightPanels.length>0},set:function(){}},leftPanelWidth:function(){return this.layout&&this.layout.leftPanels&&this.layout.leftPanels.length>0&&this.layout.leftPanels[0].attributes.width?parseInt(this.layout.leftPanels[0].attributes.width,10):512},rightPanelWidth:function(){return this.layout&&this.layout.rightPanels&&this.layout.rightPanels.length>0&&this.layout.rightPanels[0].attributes.width?parseInt(this.layout.rightPanels[0].attributes.width,10):512},mainPanelStyle:function(){return{width:this.header.width-this.leftPanel.width-this.rightPanel.width,height:this.leftPanel.height}},idSuffix:function(){return null!==this.layout?this.layout.applicationId:"default"},modalDimensions:function(){return this.isModal?{width:this.modalWidth,height:this.modalHeight,"min-height":this.modalHeight}:{}}}),methods:{setLogoImage:function(){this.layout&&this.layout.logo?this.logoImage="".concat("").concat(T["c"].REST_GET_PROJECT_RESOURCE,"/").concat(this.layout.projectId,"/").concat(this.layout.logo.replace("/",":")):this.logoImage=c["b"].DEFAULT_LOGO},setStyle:function(){var e=this,t=null;if(null===this.layout)t=c["j"].default;else{if(t=s()({},this.layout.style&&c["j"][this.layout.style]?c["j"][this.layout.style]:c["j"].default),this.layout.styleSpecs)try{var n=JSON.parse(this.layout.styleSpecs);t=s()({},t,n)}catch(e){console.error("Error parsing style specs",e)}var i=(this.layout.leftPanels.length>0&&this.layout.leftPanels[0].attributes.width?parseInt(this.layout.leftPanels[0].attributes.width,10):0)+(this.layout.rightPanels.length>0&&this.layout.rightPanels[0].attributes.width?parseInt(this.layout.rightPanels[0].attributes.width,10):0);0!==i&&document.documentElement.style.setProperty("--body-min-width","calc(640px + ".concat(i,"px)"))}null!==t&&Object.keys(t).forEach(function(n){var i=t[n];if("density"===n)switch(n="line-height",t.density){case"default":i=1;break;case"confortable":i=1.5;break;case"compact":i=.5;break;default:i=1}if(document.documentElement.style.setProperty("--app-".concat(n),i),n.includes("color"))try{var o=Object(Xe["e"])(i);if(o&&o.rgb){var r=e.layout&&"dark"===e.layout.style?-1:1;document.documentElement.style.setProperty("--app-rgb-".concat(n),"".concat(o.rgb.r,",").concat(o.rgb.g,",").concat(o.rgb.b)),document.documentElement.style.setProperty("--app-highlight-".concat(n),Ma("rgb(".concat(o.rgb.r,",").concat(o.rgb.g,",").concat(o.rgb.b,")"),-15*r)),document.documentElement.style.setProperty("--app-darklight-".concat(n),Ma("rgb(".concat(o.rgb.r,",").concat(o.rgb.g,",").concat(o.rgb.b,")"),-5*r)),document.documentElement.style.setProperty("--app-darken-".concat(n),Ma("rgb(".concat(o.rgb.r,",").concat(o.rgb.g,",").concat(o.rgb.b,")"),-20*r)),document.documentElement.style.setProperty("--app-lighten-".concat(n),Ma("rgb(".concat(o.rgb.r,",").concat(o.rgb.g,",").concat(o.rgb.b,")"),20*r)),document.documentElement.style.setProperty("--app-lighten90-".concat(n),Ma("rgb(".concat(o.rgb.r,",").concat(o.rgb.g,",").concat(o.rgb.b,")"),90*r)),document.documentElement.style.setProperty("--app-lighten75-".concat(n),Ma("rgb(".concat(o.rgb.r,",").concat(o.rgb.g,",").concat(o.rgb.b,")"),75*r))}}catch(e){console.warn("Error trying to parse a color from the layout style: ".concat(n,": ").concat(i))}}),this.$nextTick(function(){var e=document.querySelector(".kapp-left-inner-container");e&&new be(e);var t=document.querySelector(".kapp-right-inner-container");t&&new be(t)})},updateLayout:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.setLogoImage();var n=document.querySelector(".kapp-main.kapp-header-container");this.header.height=n?Ca(n):0,this.header.width=window.innerWidth,this.leftPanel.height=window.innerHeight-this.header.height;var i=document.querySelector(".kapp-main.kapp-left-container aside");this.leftPanel.width=i?wa(i):0,this.rightPanel.height=window.innerHeight-this.header.height;var o=document.querySelector(".kapp-main.kapp-right-container aside");this.rightPanel.width=o?wa(o):0,this.$nextTick(function(){e.$eventBus.$emit(c["h"].MAP_SIZE_CHANGED,{type:"changelayout",align:e.layout&&e.layout.leftPanels.length>0?"right":"left"})}),this.setStyle(),t&&this.$eventBus.$emit(c["h"].SHOW_NOTIFICATIONS,{apps:null!==this.layout?[this.layout.name]:[],groups:this.sessionReference&&this.sessionReference.owner&&this.sessionReference.owner.groups?this.sessionReference.owner.groups.map(function(e){return e.id}):[]})},downloadListener:function(e){var t=e.url,n=e.parameters;this.$axios.get("".concat("").concat("/modeler").concat(t),{params:{format:"RAW"},responseType:"blob"}).then(function(e){var t=document.createElement("a");t.href=URL.createObjectURL(e.data),t.setAttribute("download",n.filename||"output_".concat((new Date).getTime())),document.body.appendChild(t),t.click(),t.remove(),setTimeout(function(){return URL.revokeObjectURL(t.href)},5e3)}).catch(function(e){console.error(e)})},clickOnMenu:function(e,t){if(t&&window.open(t),this.layout){var n=this.layout,i=n.applicationId,o=n.identity;this.sendStompMessage(l["a"].MENU_ACTION({identity:o,applicationId:i,menuId:e},this.$store.state.data.session).body)}},resetContextListener:function(){var e=this;null!==this.resetTimeout&&(clearTimeout(this.resetTimeout),this.resetTimeout=null),this.blockApp=!0,this.resetTimeout=setTimeout(function(){e.blockApp=!1,e.resetTimeout=null},1e3)},viewActionListener:function(){null!==this.resetTimeout&&this.resetContextListener()},updateListeners:function(){null!==this.layout?this.isRootLayout&&(this.$eventBus.$on(c["h"].RESET_CONTEXT,this.resetContextListener),this.$eventBus.$on(c["h"].VIEW_ACTION,this.viewActionListener),this.$eventBus.$on(c["h"].COMPONENT_ACTION,this.componentClickedListener)):(this.$eventBus.$off(c["h"].RESET_CONTEXT,this.resetContextListener),this.$eventBus.$off(c["h"].VIEW_ACTION,this.viewActionListener),this.$eventBus.$off(c["h"].COMPONENT_ACTION,this.componentClickedListener))},componentClickedListener:function(e){delete e.component.attributes.parentAttributes,delete e.component.attributes.parentId,this.sendStompMessage(l["a"].VIEW_ACTION(s()({},Sa,e),this.$store.state.data.session).body)}},watch:{layout:function(e,t){var n=this,i=null!==e&&(null===t||e.applicationId!==t.applicationId);if((null===e||!this.isApp&&i)&&(this.$nextTick(function(){n.updateLayout(!0)}),null!==t&&null!==t.name)){this.sendStompMessage(l["a"].RUN_APPLICATION({applicationId:t.name,stop:!0},this.$store.state.data.session).body);var o=localStorage.getItem(c["P"].LOCAL_STORAGE_APP_ID);o&&o===t.name&&localStorage.removeItem(c["P"].LOCAL_STORAGE_APP_ID)}null===t&&this.updateListeners()}},created:function(){},mounted:function(){this.updateLayout(!0),this.updateListeners(),this.$eventBus.$on(c["h"].DOWNLOAD_URL,this.downloadListener)},beforeDestroy:function(){this.$eventBus.$off(c["h"].DOWNLOAD_URL,this.downloadListener),this.$eventBus.$off(c["h"].RESET_CONTEXT,this.resetContextListener),this.$eventBus.$off(c["h"].VIEW_ACTION,this.viewActionListener)}},Ea=Aa,Oa=(n("4b0d"),Object(y["a"])(Ea,re,se,!1,null,null,null));Oa.options.__file="KlabLayout.vue";var La=Oa.exports,Ta=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-modal",{attrs:{"content-classes":"km-main-container","no-esc-dismiss":"","no-backdrop-dismiss":""},model:{value:e.open,callback:function(t){e.open=t},expression:"open"}},[n("q-modal-layout",{staticClass:"km-modal-window"},[e.modal.label?n("q-toolbar",{staticClass:"km-title",attrs:{slot:"header"},slot:"header"},[n("q-toolbar-title",[e._v(e._s(e.modal.label))]),e.modal.subtitle?n("span",{staticClass:"km-subtitle",attrs:{slot:"subtitle"},slot:"subtitle"},[e._v(e._s(e.modal.subtitle))]):e._e()],1):e._e(),n("klab-layout",{staticClass:"km-content",attrs:{layout:e.modal,isModal:!0,"modal-width":e.width,"modal-height":e.height}}),n("div",{staticClass:"km-buttons justify-end row"},[n("q-btn",{staticClass:"klab-button",attrs:{label:e.$t("label.appClose")},on:{click:e.close}})],1)],1)],1)},xa=[];Ta._withStripped=!0;var Ra={name:"KlabModalWindow",props:{modal:{type:Object,required:!0}},components:{KlabLayout:La},data:function(){return{instance:void 0}},computed:{open:{get:function(){return null!==this.modal},set:function(e){e||this.close()}},width:function(){return this.modal&&("".concat(this.modal.panels[0].attributes.width,"px")||!1)},height:function(){return this.modal&&("".concat(this.modal.panels[0].attributes.height,"px")||!1)}},methods:s()({},Object(a["b"])("view",["setModalWindow"]),{close:function(){this.setModalWindow(null)}})},ka=Ra,za=(n("a4c5"),Object(y["a"])(ka,Ta,xa,!1,null,null,null));za.options.__file="KlabModalWindow.vue";var Pa=za.exports,Na=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.showHelp,expression:"showHelp"}],staticClass:"modal fullscreen",attrs:{id:"modal-show-help"}},[n("div",{staticClass:"modal-backdrop absolute-full"}),n("div",{ref:"kp-help-container",staticClass:"klab-modal-container",style:{width:e.modalSize.width+"px",height:e.modalSize.height+"px",transform:"translate(-50%, -50%) scale("+e.scale+", "+e.scale+") !important"}},[n("div",{ref:"kp-help-inner",staticClass:"klab-modal-inner"},[n("div",{staticClass:"klab-modal-content full-height"},[n("div",{staticClass:"kp-help-titlebar"},e._l(e.presentations,function(t,i){return n("div",{key:"kp-pres-"+i,staticClass:"kp-link",class:{"kp-link-current":i===e.activeSectionIndex},attrs:{id:"kp-pres-"+i},on:{click:function(t){i!==e.activeSectionIndex&&e.loadPresentation(i)}}},[n("span",[e._v(e._s(t.linkTitle))])])})),e.presentationBlocked?e._e():n("q-carousel",{ref:"kp-carousel",staticClass:"kp-carousel full-height",attrs:{color:"white","no-swipe":""},on:{"slide-trigger":e.initStack}},e._l(e.activePresentation,function(t,i){return n("q-carousel-slide",{key:"kp-slide-"+i,staticClass:"kp-slide full-height"},[n("div",{staticClass:"kp-main-content"},[t.stack.layers&&t.stack.layers.length>0?n("klab-stack",{ref:"kp-stack",refInFor:!0,attrs:{presentation:e.presentations[e.activeSectionIndex],"owner-index":i,maxOwnerIndex:e.activePresentation.length,stack:t.stack,"on-top":e.currentSlide===i},on:{stackend:e.stackEnd}}):n("div",[e._v("No slides")]),t.title?n("div",{staticClass:"kp-main-title",domProps:{innerHTML:e._s(t.title)}}):e._e()],1)])}))],1),n("div",{staticClass:"kp-nav-tooltip",class:{visible:""!==e.tooltipTitle},domProps:{innerHTML:e._s(e.tooltipTitle)}}),n("div",{staticClass:"kp-navigation"},[n("div",{staticClass:"kp-nav-container"},e._l(e.activePresentation,function(t,i){return n("div",{key:"kp-nav-"+i,staticClass:"kp-navnumber-container",on:{click:function(t){e.goTo(i,0)},mouseover:function(n){e.showTitle(t.title)},mouseleave:function(t){e.showTitle("")}}},[n("div",{staticClass:"kp-nav-number",class:{"kp-nav-current":e.currentSlide===i}},[e._v(e._s(i+1))])])}))]),n("div",{staticClass:"kp-btn-container"},[n("q-checkbox",{staticClass:"kp-checkbox",attrs:{"keep-color":!0,color:"grey-8",label:e.$t("label.rememberDecision"),"left-label":!0},model:{value:e.remember,callback:function(t){e.remember=t},expression:"remember"}})],1),n("q-btn",{directives:[{name:"show",rawName:"v-show",value:1!==e.scale,expression:"scale !== 1"}],staticClass:"kp-icon-refresh-size",attrs:{icon:"mdi-refresh",color:"mc-main",size:"md",title:e.$t("label.refreshSize"),round:"",flat:""},on:{click:e.refreshSize}}),n("q-btn",{staticClass:"kp-icon-close-popover",attrs:{icon:"mdi-close-circle-outline",color:"grey-8",size:"md",title:e.$t("label.appClose"),round:"",flat:""},on:{click:e.hideHelp}})],1),e.waitForPresentation||e.presentationBlocked?n("div",{staticClass:"kp-help-inner",class:{"modal-backdrop":!e.presentationBlocked&&e.waitForPresentation}},[e.presentationBlocked?n("div",{staticClass:" kp-no-presentation"},[n("div",{staticClass:"fixed-center text-center"},[n("div",{staticClass:"kp-np-content",domProps:{innerHTML:e._s(e.$t("messages.presentationBlocked"))}}),n("q-btn",{attrs:{flat:"","no-caps":"",icon:"mdi-refresh",label:e.$t("label.appRetry")},on:{click:e.initPresentation}})],1)]):e.waitForPresentation?n("q-spinner",{staticClass:"fixed-center",attrs:{color:"mc-yellow",size:40}}):e._e()],1):e._e()])])},Ia=[];Na._withStripped=!0;n("55dd"),n("28a5");var Da=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.layers.length>0?n("div",{ref:"ks-stack-container",staticClass:"ks-stack-container"},[e._l(e.layers,function(t,i){return n("div",{key:"ks-layer-"+i,ref:"ks-layer",refInFor:!0,staticClass:"ks-layer",class:{"ks-top-layer":e.selectedLayer===i,"ks-hide-layer":e.selectedLayer!==i},style:{"z-index":e.selectedLayer===i?9999:e.layers.length-i},attrs:{id:"ks-layer-"+e.ownerIndex+"-"+i}},[t.image?n("div",{staticClass:"ks-layer-image",class:e.elementClasses(t.image),style:e.elementStyle(t.image)},[n("img",{style:{width:t.image.width||"auto",height:t.image.height||"auto","max-width":e.imgMaxSize.width,"max-height":e.imgMaxSize.height},attrs:{src:e.getImage(t),alt:t.image.alt||t.title||t.text,title:t.image.alt||t.title||t.text,id:"ks-image-"+e.ownerIndex+"-"+i}})]):e._e(),t.title||t.text?n("div",{staticClass:"ks-layer-caption",class:e.elementClasses(t.textDiv),style:e.elementStyle(t.textDiv)},[t.title?n("div",{staticClass:"ks-caption-title",domProps:{innerHTML:e._s(e.rewriteImageUrl(t.title))}}):e._e(),t.text?n("div",{staticClass:"ks-caption-text",style:{"text-align":t.textAlign||"left"},domProps:{innerHTML:e._s(e.rewriteImageUrl(t.text))}}):e._e()]):e._e()])}),n("div",{staticClass:"ks-navigation",class:{"ks-navigation-transparent":null!==e.animation}},[n("q-btn",{attrs:{id:"ks-prev",disable:!e.hasPrevious,"text-color":"grey-8",icon:"mdi-chevron-left",round:"",flat:"",dense:"",title:e.$t("label.appPrevious")},on:{click:e.previous}}),n("q-btn",{attrs:{id:"ks-play-stop",disable:!e.hasNext,"text-color":"grey-8",icon:null===e.animation?"mdi-play":"mdi-pause",round:"",flat:"",dense:"",title:null===e.animation?e.$t("label.appPlay"):e.$t("label.appPause")},on:{click:function(t){null===e.animation?e.playStack():e.stopStack()}}}),n("q-btn",{attrs:{id:"ks-replay",disable:!e.isGif,"text-color":"grey-8",icon:"mdi-reload",round:"",flat:"",dense:"",title:e.$t("label.appReplay")},on:{click:function(t){e.refreshLayer(e.layers[e.selectedLayer])}}}),n("q-btn",{attrs:{id:"ks-next",disable:!e.hasNext,"text-color":"grey-8",icon:"mdi-chevron-right",round:"",flat:"",dense:"",title:e.$t("label.appNext")},on:{click:e.next}})],1)],2):e._e()},Ba=[];Da._withStripped=!0;n("aef6");var qa={name:"KlabStack",props:{presentation:{type:Object,required:!0},ownerIndex:{type:Number,required:!0},maxOwnerIndex:{type:Number,required:!0},stack:{type:Object,required:!0},onTop:{type:Boolean,default:!1}},data:function(){return{selectedLayer:0,animation:null,layers:this.stack.layers,animated:"undefined"!==typeof this.stack.animated&&this.stack.animated,autostart:"undefined"!==typeof this.stack.autostart?this.stack.autostart:0===this.ownerIndex,duration:this.stack.duration||5e3,infinite:"undefined"!==typeof this.stack.infinite&&this.stack.infinite,initialSize:{},scale:1,imgMaxSize:{width:"auto",height:"auto"}}},computed:{hasPrevious:function(){return this.selectedLayer>0||this.ownerIndex>0||this.infinite},hasNext:function(){return this.selectedLayer0?this.goTo(this.selectedLayer-1):this.infinite?this.goTo(this.layers.length-1):this.$emit("stackend",{index:this.ownerIndex,direction:-1})},reloadGif:function(e){var t=document.getElementById("ks-image-".concat(this.ownerIndex,"-").concat(this.selectedLayer));t&&(t.src=this.getImage(e))},setAnimation:function(e){if(this.hasNext){var t=this;null!==this.animation&&(clearTimeout(this.animation),this.animation=null),this.animation=setTimeout(function(){t.next()},e)}},getImage:function(e){return e.image?"".concat(this.baseUrl,"/").concat(e.image.url,"?t=").concat(Math.random()):""},rewriteImageUrl:function(e){return e&&e.length>0&&-1!==e.indexOf("0?t0&&this.goTo(t-1,"last")},refreshSize:function(){this.initialSize=void 0,this.onResize()},onResize:function(){var e=this;setTimeout(function(){if("undefined"===typeof e.initialSize){var t=window.innerWidth,n=window.innerHeight;e.initialSize={width:t,height:n}}if(e.scale=Math.min(window.innerWidth/e.initialSize.width,window.innerHeight/e.initialSize.height),1===e.scale){var i=window.innerWidth*c["r"].DEFAULT_WIDTH_PERCENTAGE/100,o=i/c["r"].DEFAULT_PROPORTIONS.width*c["r"].DEFAULT_PROPORTIONS.height,r=window.innerHeight*c["r"].DEFAULT_HEIGHT_PERCENTAGE/100,s=r/c["r"].DEFAULT_PROPORTIONS.height*c["r"].DEFAULT_PROPORTIONS.width;i0){var r=0;o.forEach(function(n,i){r+=1,Xa()("".concat(e.helpBaseUrl,"/index.php?sec=").concat(n.id),{param:"callback"},function(o,s){o?console.error(o.message):t.presentations.push({id:n.id,baseFolder:n.baseFolder,linkTitle:n.name,linkDescription:n.description,slides:s,index:i}),r-=1,0===r&&(e.presentationsLoading=!1,e.presentations.sort(function(e,t){return e.index-t.index}))})})}}})}catch(e){console.error("Error loading presentation: ".concat(e.message)),this.presentationsLoading=!1,this.presentationBlocked=e}}}),watch:{showHelp:function(e){this.$store.state.view.helpShown=e,e&&!this.presentationsLoading&&this.loadPresentation(0)},presentationsLoading:function(e){!e&&this.showHelp&&this.loadPresentation(0)},remember:function(e){e?V["a"].set(c["P"].COOKIE_HELP_ON_START,!1,{expires:30,path:"/",secure:!0}):V["a"].remove(c["P"].COOKIE_HELP_ON_START)}},created:function(){this.initPresentation()},mounted:function(){this.needHelp=this.isLocal&&!V["a"].has(c["P"].COOKIE_HELP_ON_START),this.remember=!this.needHelp,this.$eventBus.$on(c["h"].NEED_HELP,this.helpNeededEvent),window.addEventListener("resize",this.onResize)},beforeDestroy:function(){this.$eventBus.$off(c["h"].NEED_HELP,this.helpNeededEvent),window.removeEventListener("resize",this.onResize)}},Va=Ua,Ga=(n("edad"),Object(y["a"])(Va,Na,Ia,!1,null,null,null));Ga.options.__file="KlabPresentation.vue";var Ka=Ga.exports,$a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-dialog",{staticClass:"kn-modal-container",attrs:{"prevent-close":""},scopedSlots:e._u([{key:"buttons",fn:function(t){return[n("q-checkbox",{staticClass:"kn-checkbox",attrs:{"keep-color":!0,color:"app-main-color",label:e.$t("label.rememberDecision")},model:{value:e.remember,callback:function(t){e.remember=t},expression:"remember"}}),n("q-btn",{attrs:{color:"app-main-color",label:e.$t("label.appAccept")},on:{click:e.onOk}})]}}]),model:{value:e.showNotifications,callback:function(t){e.showNotifications=t},expression:"showNotifications"}},[n("div",{staticClass:"kn-title",attrs:{slot:"title"},domProps:{innerHTML:e._s(e.actualNotification.title)},slot:"title"}),n("div",{staticClass:"kn-content",attrs:{slot:"message"},domProps:{innerHTML:e._s(e.actualNotification.content)},slot:"message"})])},Ya=[];$a._withStripped=!0;var Ja={name:"KlabNotifications",data:function(){return{notifications:[],actualNotificationIndex:-1,remember:!1,cooked:[]}},computed:s()({},Object(a["c"])("stomp",["connectionUp"]),Object(a["c"])("view",["isInModalMode"]),{showNotifications:{get:function(){return-1!==this.actualNotificationIndex&&!this.actualNotificationIndex.read},set:function(){}},actualNotification:function(){return-1===this.actualNotificationIndex?{id:-1,title:"",content:""}:this.notifications[this.actualNotificationIndex]}}),methods:s()({},Object(a["b"])("view",["setModalMode"]),{onOk:function(){var e=this,t=this.notifications[this.actualNotificationIndex];t.read=!0,this.remember&&(this.cooked.findIndex(function(e){return e===t.id})&&this.cooked.push(t.id),V["a"].set(c["P"].COOKIE_NOTIFICATIONS,this.cooked,{expires:365,path:"/",secure:!0}),this.remember=!1),this.$nextTick(function(){do{e.actualNotificationIndex+=1}while(e.actualNotificationIndex0&&void 0!==arguments[0]?arguments[0]:{};this.notificationsLoading=!0,V["a"].has(c["P"].COOKIE_NOTIFICATIONS)&&(this.cooked=V["a"].get(c["P"].COOKIE_NOTIFICATIONS)),this.notifications.splice(0,this.notifications.length);try{var n="";if(t){var i=t.groups,o=t.apps;n=q()(i.map(function(e){return"groups[]=".concat(e)})).concat(q()(o.map(function(e){return"apps[]=".concat(e)}))).join("&")}var r=this;Xa()("".concat(c["d"].NOTIFICATIONS_URL).concat(""!==n?"?".concat(n):""),{param:"callback",timeout:5e3},function(t,n){t?console.error("Error loading notifications: ".concat(t.message)):n.length>0?n.forEach(function(e,t){var n=-1!==r.cooked.findIndex(function(t){return t==="".concat(e.id)});r.notifications.push(s()({},e,{read:n})),-1!==r.actualNotificationIndex||n||(r.actualNotificationIndex=t)}):console.debug("No notification"),e.presentationsLoading=!1})}catch(e){console.error("Error loading notifications: ".concat(e.message)),this.presentationsLoading=!1}}}),mounted:function(){this.$eventBus.$on(c["h"].SHOW_NOTIFICATIONS,this.initNotifications)},beforeDestroy:function(){this.$eventBus.$off(c["h"].SHOW_NOTIFICATIONS,this.initNotifications)}},Qa=Ja,Za=(n("e0d9"),Object(y["a"])(Qa,$a,Ya,!1,null,null,null));Za.options.__file="KlabNotifications.vue";var ec=Za.exports,tc=(n("8195"),{name:"LayoutDefault",components:{KlabLayout:La,KlabModalWindow:Pa,ConnectionStatus:A,KlabSettings:P,KlabTerminal:Q,AppDialogs:oe,KlabPresentation:Ka,KlabNotifications:ec},data:function(){return{errorLoading:!1,waitApp:!1}},computed:s()({},Object(a["c"])("data",["hasContext","terminals","isDeveloper"]),Object(a["c"])("stomp",["connectionDown"]),Object(a["c"])("view",["layout","isApp","klabApp","modalWindow"]),{wait:{get:function(){return this.waitApp||this.errorLoading},set:function(){}}}),methods:{reload:function(){document.location.reload()}},created:function(){},mounted:function(){var e=this;this.sendStompMessage(l["a"].RESET_CONTEXT(this.$store.state.data.session).body);var t=localStorage.getItem(c["P"].LOCAL_STORAGE_APP_ID);t&&(this.sendStompMessage(l["a"].RUN_APPLICATION({applicationId:t,stop:!0},this.$store.state.data.session).body),localStorage.removeItem(c["P"].LOCAL_STORAGE_APP_ID)),this.isApp&&this.sendStompMessage(l["a"].RUN_APPLICATION({applicationId:this.$store.state.view.klabApp},this.$store.state.data.session).body),this.isApp&&null===this.layout&&(this.waitApp=!0,setTimeout(function(){e.isApp&&null===e.layout&&(e.errorLoading=!0)},15e3)),window.addEventListener("beforeunload",function(t){e.hasContext&&!e.isDeveloper&&(t.preventDefault(),t.returnValue=e.$t("messages.confirmExitPage"))})},watch:{layout:function(e){this.waitApp&&e&&(this.waitApp=!1),this.errorLoading&&e&&(this.errorLoading=!1)}}}),nc=tc,ic=(n("7521"),Object(y["a"])(nc,i,o,!1,null,null,null));ic.options.__file="default.vue";t["default"]=ic.exports},"7bae":function(e,t,n){},"7bae3":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("064a"),o=n("e1c6"),r=n("7f73"),s=n("755f"),a=n("6923"),c=n("e576"),l=new o.ContainerModule(function(e,t,n){i.configureModelElement({bind:e,isBound:n},"marker",r.SIssueMarker,s.IssueMarkerView),e(c.DecorationPlacer).toSelf().inSingletonScope(),e(a.TYPES.IVNodePostprocessor).toService(c.DecorationPlacer)});t.default=l},"7bbc":function(e,t,n){"use strict";var i=n("fcf8"),o=n.n(i);o.a},"7d36":function(e,t,n){"use strict";function i(e){return e.hasFeature(t.fadeFeature)&&void 0!==e["opacity"]}Object.defineProperty(t,"__esModule",{value:!0}),t.fadeFeature=Symbol("fadeFeature"),t.isFadeable=i},"7d72":function(e,t,n){"use strict";var i=n("8707").Buffer,o=i.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(e){if(!e)return"utf8";var t;while(1)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function s(e){var t=r(e);if("string"!==typeof t&&(i.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}function a(e){var t;switch(this.encoding=s(e),this.encoding){case"utf16le":this.text=f,this.end=m,t=4;break;case"utf8":this.fillLast=d,t=4;break;case"base64":this.text=g,this.end=v,t=3;break;default:return this.write=b,void(this.end=y)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(t)}function c(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function l(e,t,n){var i=t.length-1;if(i=0?(o>0&&(e.lastNeed=o-1),o):--i=0?(o>0&&(e.lastNeed=o-2),o):--i=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0))}function u(e,t,n){if(128!==(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"�"}}function d(e){var t=this.lastTotal-this.lastNeed,n=u(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function h(e,t){var n=l(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var i=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function f(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function m(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function g(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function v(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function b(e){return e.toString(this.encoding)}function y(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(t=this.fillLast(e),void 0===t)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n0,d=u?l.length:n.length,f=h(i,t,s,c,d),m=p(e,n),g=f.concat(m);return g}function d(e,t,n,s,a){var l=a[e.toString()]||[],u=m(l),d=!0!==u.unmanaged,h=s[e],p=u.inject||u.multiInject;if(h=p||h,h instanceof i.LazyServiceIdentifer&&(h=h.unwrap()),d){var f=h===Object,g=h===Function,v=void 0===h,b=f||g||v;if(!t&&b){var y=o.MISSING_INJECT_ANNOTATION+" argument "+e+" in class "+n+".";throw new Error(y)}var _=new c.Target(r.TargetTypeEnum.ConstructorArgument,u.targetName,h);return _.metadata=l,_}return null}function h(e,t,n,i,o){for(var r=[],s=0;s0?l:f(e,n)}return 0}function m(e){var t={};return e.forEach(function(e){t[e.key.toString()]=e.value}),{inject:t[s.INJECT_TAG],multiInject:t[s.MULTI_INJECT_TAG],targetName:t[s.NAME_TAG],unmanaged:t[s.UNMANAGED_TAG]}}t.getDependencies=l,t.getBaseClassDependencyCount=f},"7f45":function(e,t,n){var i=e.exports=n("0efb");i.tz.load(n("6cd2"))},"7f73":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("e4f0"),r=n("66f9");function s(e){return e.hasFeature(t.decorationFeature)}t.decorationFeature=Symbol("decorationFeature"),t.isDecoration=s;var a=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i(n,e),n.DEFAULT_FEATURES=[t.decorationFeature,r.boundsFeature,o.hoverFeedbackFeature,o.popupFeature],n}(r.SShapeElement);t.SDecoration=a;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(a);t.SIssueMarker=c;var l=function(){function e(){}return e}();t.SIssue=l},"7faf":function(e,t,n){"use strict";function i(e){return e.hasFeature(t.exportFeature)}Object.defineProperty(t,"__esModule",{value:!0}),t.exportFeature=Symbol("exportFeature"),t.isExportable=i},"80b5":function(e,t,n){"use strict";function i(e){return e instanceof HTMLElement?{x:e.offsetLeft,y:e.offsetTop}:e}Object.defineProperty(t,"__esModule",{value:!0}),t.toAnchor=i},8122:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("33b2"),s=n("9e2e"),a=n("0fb6"),c=n("be02"),l=n("160b"),u=n("302f"),d=n("538c"),h=n("29fa"),p=n("65d1"),f=n("3b4c"),m=n("1417"),g=n("a190"),v=n("064a"),b=n("8794"),y=n("0d7a"),_=n("b093"),M=n("842c"),w=n("cd10"),C=n("ddee"),S=n("1590"),A=n("3f0a"),E=n("6176"),O=n("c661"),L=new i.ContainerModule(function(e,t,n){e(o.TYPES.ILogger).to(s.NullLogger).inSingletonScope(),e(o.TYPES.LogLevel).toConstantValue(s.LogLevel.warn),e(o.TYPES.SModelRegistry).to(u.SModelRegistry).inSingletonScope(),e(c.ActionHandlerRegistry).toSelf().inSingletonScope(),e(o.TYPES.ActionHandlerRegistryProvider).toProvider(function(e){return function(){return new Promise(function(t){t(e.container.get(c.ActionHandlerRegistry))})}}),e(o.TYPES.ViewRegistry).to(v.ViewRegistry).inSingletonScope(),e(o.TYPES.IModelFactory).to(u.SModelFactory).inSingletonScope(),e(o.TYPES.IActionDispatcher).to(a.ActionDispatcher).inSingletonScope(),e(o.TYPES.IActionDispatcherProvider).toProvider(function(e){return function(){return new Promise(function(t){t(e.container.get(o.TYPES.IActionDispatcher))})}}),e(o.TYPES.IDiagramLocker).to(O.DefaultDiagramLocker).inSingletonScope(),e(o.TYPES.IActionHandlerInitializer).to(M.CommandActionHandlerInitializer),e(o.TYPES.ICommandStack).to(l.CommandStack).inSingletonScope(),e(o.TYPES.ICommandStackProvider).toProvider(function(e){return function(){return new Promise(function(t){t(e.container.get(o.TYPES.ICommandStack))})}}),e(o.TYPES.CommandStackOptions).toConstantValue({defaultDuration:250,undoHistoryLimit:50}),e(h.ModelViewer).toSelf().inSingletonScope(),e(h.HiddenModelViewer).toSelf().inSingletonScope(),e(h.PopupModelViewer).toSelf().inSingletonScope(),e(o.TYPES.ModelViewer).toDynamicValue(function(e){var t=e.container.createChild();return t.bind(o.TYPES.IViewer).toService(h.ModelViewer),t.bind(b.ViewerCache).toSelf(),t.get(b.ViewerCache)}).inSingletonScope(),e(o.TYPES.PopupModelViewer).toDynamicValue(function(e){var t=e.container.createChild();return t.bind(o.TYPES.IViewer).toService(h.PopupModelViewer),t.bind(b.ViewerCache).toSelf(),t.get(b.ViewerCache)}).inSingletonScope(),e(o.TYPES.HiddenModelViewer).toService(h.HiddenModelViewer),e(o.TYPES.IViewerProvider).toDynamicValue(function(e){return{get modelViewer(){return e.container.get(o.TYPES.ModelViewer)},get hiddenModelViewer(){return e.container.get(o.TYPES.HiddenModelViewer)},get popupModelViewer(){return e.container.get(o.TYPES.PopupModelViewer)}}}),e(o.TYPES.ViewerOptions).toConstantValue(p.defaultViewerOptions()),e(o.TYPES.PatcherProvider).to(h.PatcherProvider).inSingletonScope(),e(o.TYPES.DOMHelper).to(y.DOMHelper).inSingletonScope(),e(o.TYPES.ModelRendererFactory).toFactory(function(e){return function(t,n){var i=e.container.get(o.TYPES.ViewRegistry);return new h.ModelRenderer(i,t,n)}}),e(_.IdPostprocessor).toSelf().inSingletonScope(),e(o.TYPES.IVNodePostprocessor).toService(_.IdPostprocessor),e(o.TYPES.HiddenVNodePostprocessor).toService(_.IdPostprocessor),e(w.CssClassPostprocessor).toSelf().inSingletonScope(),e(o.TYPES.IVNodePostprocessor).toService(w.CssClassPostprocessor),e(o.TYPES.HiddenVNodePostprocessor).toService(w.CssClassPostprocessor),e(f.MouseTool).toSelf().inSingletonScope(),e(o.TYPES.IVNodePostprocessor).toService(f.MouseTool),e(m.KeyTool).toSelf().inSingletonScope(),e(o.TYPES.IVNodePostprocessor).toService(m.KeyTool),e(g.FocusFixPostprocessor).toSelf().inSingletonScope(),e(o.TYPES.IVNodePostprocessor).toService(g.FocusFixPostprocessor),e(o.TYPES.PopupVNodePostprocessor).toService(_.IdPostprocessor),e(f.PopupMouseTool).toSelf().inSingletonScope(),e(o.TYPES.PopupVNodePostprocessor).toService(f.PopupMouseTool),e(o.TYPES.AnimationFrameSyncer).to(d.AnimationFrameSyncer).inSingletonScope();var i={bind:e,isBound:n};M.configureCommand(i,r.InitializeCanvasBoundsCommand),e(r.CanvasBoundsInitializer).toSelf().inSingletonScope(),e(o.TYPES.IVNodePostprocessor).toService(r.CanvasBoundsInitializer),M.configureCommand(i,A.SetModelCommand),e(o.TYPES.IToolManager).to(C.ToolManager).inSingletonScope(),e(o.TYPES.KeyListener).to(C.DefaultToolsEnablingKeyListener),e(C.ToolManagerActionHandler).toSelf().inSingletonScope(),c.configureActionHandler(i,S.EnableDefaultToolsAction.KIND,C.ToolManagerActionHandler),c.configureActionHandler(i,S.EnableToolsAction.KIND,C.ToolManagerActionHandler),e(o.TYPES.UIExtensionRegistry).to(E.UIExtensionRegistry).inSingletonScope(),M.configureCommand(i,E.SetUIExtensionVisibilityCommand),e(f.MousePositionTracker).toSelf().inSingletonScope(),e(o.TYPES.MouseListener).toService(f.MousePositionTracker)});t.default=L},8195:function(e,t,n){},"81aa":function(e,t,n){"use strict";function i(e,t,n,i,o){var r=void 0===t?void 0:t.key;return{sel:e,data:t,children:n,text:i,elm:o,key:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.vnode=i,t.default=i},8336:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3"),o=n("155f"),r=n("0fd9"),s=n("2cac"),a=function(){function e(e){this._binding=e}return e.prototype.to=function(e){return this._binding.type=o.BindingTypeEnum.Instance,this._binding.implementationType=e,new r.BindingInWhenOnSyntax(this._binding)},e.prototype.toSelf=function(){if("function"!==typeof this._binding.serviceIdentifier)throw new Error(""+i.INVALID_TO_SELF_VALUE);var e=this._binding.serviceIdentifier;return this.to(e)},e.prototype.toConstantValue=function(e){return this._binding.type=o.BindingTypeEnum.ConstantValue,this._binding.cache=e,this._binding.dynamicValue=null,this._binding.implementationType=null,new s.BindingWhenOnSyntax(this._binding)},e.prototype.toDynamicValue=function(e){return this._binding.type=o.BindingTypeEnum.DynamicValue,this._binding.cache=null,this._binding.dynamicValue=e,this._binding.implementationType=null,new r.BindingInWhenOnSyntax(this._binding)},e.prototype.toConstructor=function(e){return this._binding.type=o.BindingTypeEnum.Constructor,this._binding.implementationType=e,new s.BindingWhenOnSyntax(this._binding)},e.prototype.toFactory=function(e){return this._binding.type=o.BindingTypeEnum.Factory,this._binding.factory=e,new s.BindingWhenOnSyntax(this._binding)},e.prototype.toFunction=function(e){if("function"!==typeof e)throw new Error(i.INVALID_FUNCTION_BINDING);var t=this.toConstantValue(e);return this._binding.type=o.BindingTypeEnum.Function,t},e.prototype.toAutoFactory=function(e){return this._binding.type=o.BindingTypeEnum.Factory,this._binding.factory=function(t){var n=function(){return t.container.get(e)};return n},new s.BindingWhenOnSyntax(this._binding)},e.prototype.toProvider=function(e){return this._binding.type=o.BindingTypeEnum.Provider,this._binding.provider=e,new s.BindingWhenOnSyntax(this._binding)},e.prototype.toService=function(e){this.toDynamicValue(function(t){return t.container.get(e)})},e}();t.BindingToSyntax=a},"842c":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),a=n("7b39"),c=n("6923"),l=function(){function e(e){this.commandRegistration=e}return e.prototype.handle=function(e){return this.commandRegistration.factory(e)},e}();t.CommandActionHandler=l;var u=function(){function e(e){this.registrations=e}return e.prototype.initialize=function(e){this.registrations.forEach(function(t){return e.register(t.kind,new l(t))})},e=i([s.injectable(),r(0,s.multiInject(c.TYPES.CommandRegistration)),r(0,s.optional()),o("design:paramtypes",[Array])],e),e}();function d(e,t){if(!a.isInjectable(t))throw new Error("Commands should be @injectable: "+t.name);e.isBound(t)||e.bind(t).toSelf(),e.bind(c.TYPES.CommandRegistration).toDynamicValue(function(e){return{kind:t.KIND,factory:function(n){var i=new s.Container;return i.parent=e.container,i.bind(c.TYPES.Action).toConstantValue(n),i.get(t)}}})}t.CommandActionHandlerInitializer=u,t.configureCommand=d},"84a2":function(e,t,n){(function(t){var n="Expected a function",i=NaN,o="[object Symbol]",r=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,h=u||d||Function("return this")(),p=Object.prototype,f=p.toString,m=Math.max,g=Math.min,v=function(){return h.Date.now()};function b(e,t,i){var o,r,s,a,c,l,u=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new TypeError(n);function f(t){var n=o,i=r;return o=r=void 0,u=t,a=e.apply(i,n),a}function b(e){return u=e,c=setTimeout(w,t),d?f(e):a}function y(e){var n=e-l,i=e-u,o=t-n;return h?g(o,s-i):o}function M(e){var n=e-l,i=e-u;return void 0===l||n>=t||n<0||h&&i>=s}function w(){var e=v();if(M(e))return S(e);c=setTimeout(w,y(e))}function S(e){return c=void 0,p&&o?f(e):(o=r=void 0,a)}function A(){void 0!==c&&clearTimeout(c),u=0,o=l=r=c=void 0}function E(){return void 0===c?a:S(v())}function O(){var e=v(),n=M(e);if(o=arguments,r=this,l=e,n){if(void 0===c)return b(l);if(h)return c=setTimeout(w,t),f(l)}return void 0===c&&(c=setTimeout(w,t)),a}return t=C(t)||0,_(i)&&(d=!!i.leading,h="maxWait"in i,s=h?m(C(i.maxWait)||0,t):s,p="trailing"in i?!!i.trailing:p),O.cancel=A,O.flush=E,O}function y(e,t,i){var o=!0,r=!0;if("function"!=typeof e)throw new TypeError(n);return _(i)&&(o="leading"in i?!!i.leading:o,r="trailing"in i?!!i.trailing:r),b(e,t,{leading:o,maxWait:t,trailing:r})}function _(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function M(e){return!!e&&"object"==typeof e}function w(e){return"symbol"==typeof e||M(e)&&f.call(e)==o}function C(e){if("number"==typeof e)return e;if(w(e))return i;if(_(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=_(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=a.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):s.test(e)?i:+e}e.exports=y}).call(this,n("c8ba"))},"84b1":function(e,t,n){(function(t,n){e.exports=n()})(0,function(){"use strict";function e(e){var t,n,i=document,o=i.createElement("div"),r=o.style,s=navigator.userAgent,a=-1!==s.indexOf("Firefox")&&-1!==s.indexOf("Mobile"),c=e.debounceWaitMs||0,l=e.preventSubmit||!1,u=a?"input":"keyup",d=[],h="",p=2,f=e.showOnFocus,m=0;if(void 0!==e.minLength&&(p=e.minLength),!e.input)throw new Error("input undefined");var g=e.input;function v(){var e=o.parentNode;e&&e.removeChild(o)}function b(){n&&window.clearTimeout(n)}function y(){o.parentNode||i.body.appendChild(o)}function _(){return!!o.parentNode}function M(){m++,d=[],h="",t=void 0,v()}function w(){if(_()){r.height="auto",r.width=g.offsetWidth+"px";var t=g.getBoundingClientRect(),n=t.top+g.offsetHeight,i=window.innerHeight-n;i<0&&(i=0),r.top=n+"px",r.bottom="",r.left=t.left+"px",r.maxHeight=i+"px",e.customize&&e.customize(g,t,o,i)}}function C(){while(o.firstChild)o.removeChild(o.firstChild);var n=function(e,t){var n=i.createElement("div");return n.textContent=e.label||"",n};e.render&&(n=e.render);var r=function(e,t){var n=i.createElement("div");return n.textContent=e,n};e.renderGroup&&(r=e.renderGroup);var s=i.createDocumentFragment(),a="#9?$";if(d.forEach(function(i){if(i.group&&i.group!==a){a=i.group;var o=r(i.group,h);o&&(o.className+=" group",s.appendChild(o))}var c=n(i,h);c&&(c.addEventListener("click",function(t){e.onSelect(i,g),M(),t.preventDefault(),t.stopPropagation()}),i===t&&(c.className+=" selected"),s.appendChild(c))}),o.appendChild(s),d.length<1){if(!e.emptyMsg)return void M();var c=i.createElement("div");c.className="empty",c.textContent=e.emptyMsg,o.appendChild(c)}y(),w(),L()}function S(){_()&&C()}function A(){S()}function E(e){e.target!==o?S():e.preventDefault()}function O(e){for(var t=e.which||e.keyCode||0,n=[38,13,27,39,37,16,17,18,20,91,9],i=0,o=n;i0){var t=e[0],n=t.previousElementSibling;if(n&&-1!==n.className.indexOf("group")&&!n.previousElementSibling&&(t=n),t.offsetTopr&&(o.scrollTop+=i-r)}}}function T(){if(d.length<1)t=void 0;else if(t===d[0])t=d[d.length-1];else for(var e=d.length-1;e>0;e--)if(t===d[e]||1===e){t=d[e-1];break}}function x(){if(d.length<1&&(t=void 0),t&&t!==d[d.length-1]){for(var e=0;e=p||1===i?(b(),n=window.setTimeout(function(){e.fetch(r,function(e){m===o&&e&&(d=e,h=r,t=d.length>0?d[0]:void 0,C())},0)},0===i?c:0)):M()}function P(){setTimeout(function(){i.activeElement!==g&&M()},200)}function N(){g.removeEventListener("focus",k),g.removeEventListener("keydown",R),g.removeEventListener(u,O),g.removeEventListener("blur",P),window.removeEventListener("resize",A),i.removeEventListener("scroll",E,!0),b(),M(),m++}return o.className="autocomplete "+(e.className||""),r.position="fixed",o.addEventListener("mousedown",function(e){e.stopPropagation(),e.preventDefault()}),g.addEventListener("keydown",R),g.addEventListener(u,O),g.addEventListener("blur",P),g.addEventListener("focus",k),window.addEventListener("resize",A),i.addEventListener("scroll",E,!0),{destroy:N}}return e})},"84fd":function(e,t,n){},"85ed":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t=a.LogLevel.error&&this.forward(e,t,a.LogLevel.error,n)},e.prototype.warn=function(e,t){for(var n=[],i=2;i=a.LogLevel.warn&&this.forward(e,t,a.LogLevel.warn,n)},e.prototype.info=function(e,t){for(var n=[],i=2;i=a.LogLevel.info&&this.forward(e,t,a.LogLevel.info,n)},e.prototype.log=function(e,t){for(var n=[],i=2;i=a.LogLevel.log)try{var o="object"===typeof e?e.constructor.name:String(e);console.log.apply(e,r([o+": "+t],n))}catch(e){}},e.prototype.forward=function(e,t,n,i){var o=new Date,r=new l(a.LogLevel[n],o.toLocaleTimeString(),"object"===typeof e?e.constructor.name:String(e),t,i.map(function(e){return JSON.stringify(e)}));this.modelSourceProvider().then(function(n){try{n.handle(r)}catch(n){try{console.log.apply(e,[t,r,n])}catch(e){}}})},i([s.inject(c.TYPES.ModelSourceProvider),o("design:type",Function)],e.prototype,"modelSourceProvider",void 0),i([s.inject(c.TYPES.LogLevel),o("design:type",Number)],e.prototype,"logLevel",void 0),e=i([s.injectable()],e),e}();t.ForwardingLogger=u},"861d":function(e,t,n){var i=/(?:|<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>)/g,o=n("c4ec"),r=Object.create?Object.create(null):{};function s(e,t,n,i,o){var r=t.indexOf("<",i),s=t.slice(i,-1===r?void 0:r);/^\s*$/.test(s)&&(s=" "),(!o&&r>-1&&n+e.length>=0||" "!==s)&&e.push({type:"text",content:s})}e.exports=function(e,t){t||(t={}),t.components||(t.components=r);var n,a=[],c=-1,l=[],u={},d=!1;return e.replace(i,function(i,r){if(d){if(i!=="")return;d=!1}var h,p="/"!==i.charAt(1),f=0===i.indexOf("\x3c!--"),m=r+i.length,g=e.charAt(m);p&&!f&&(c++,n=o(i),"tag"===n.type&&t.components[n.name]&&(n.type="component",d=!0),n.voidElement||d||!g||"<"===g||s(n.children,e,c,m,t.ignoreWhitespace),u[n.tagName]=n,0===c&&a.push(n),h=l[c-1],h&&h.children.push(n),l[c]=n),(f||!p||n.voidElement)&&(f||c--,!d&&"<"!==g&&g&&(h=-1===c?a:l[c].children,s(h,e,c,m,t.ignoreWhitespace)))}),!a.length&&e.length&&s(a,e,0,0,t.ignoreWhitespace),a}},8622:function(e,t,n){"use strict";var i=n("bc63"),o=n.n(i);o.a},"869e":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),c=n("6923"),l=n("3864");t.DIAMOND_ANCHOR_KIND="diamond",t.ELLIPTIC_ANCHOR_KIND="elliptic",t.RECTANGULAR_ANCHOR_KIND="rectangular";var u=function(e){function n(t){var n=e.call(this)||this;return t.forEach(function(e){return n.register(e.kind,e)}),n}return i(n,e),Object.defineProperty(n.prototype,"defaultAnchorKind",{get:function(){return t.RECTANGULAR_ANCHOR_KIND},enumerable:!0,configurable:!0}),n.prototype.get=function(t,n){return e.prototype.get.call(this,t+":"+(n||this.defaultAnchorKind))},n=o([a.injectable(),s(0,a.multiInject(c.TYPES.IAnchorComputer)),r("design:paramtypes",[Array])],n),n}(l.InstanceRegistry);t.AnchorComputerRegistry=u},8707:function(e,t,n){var i=n("b639"),o=i.Buffer;function r(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=i:(r(i,t),t.Buffer=s),s.prototype=Object.create(o.prototype),r(o,s),s.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},s.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var i=o(e);return void 0!==t?"string"===typeof n?i.fill(t,n):i.fill(t):i.fill(0),i},s.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return o(e)},s.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}},8794:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),s=n("6923"),a=n("538c"),c=function(){function e(){}return e.prototype.update=function(e,t){if(void 0!==t)this.delegate.update(e,t),this.cachedModel=void 0;else{var n=void 0===this.cachedModel;this.cachedModel=e,n&&this.scheduleUpdate()}},e.prototype.scheduleUpdate=function(){var e=this;this.syncer.onEndOfNextFrame(function(){e.cachedModel&&(e.delegate.update(e.cachedModel),e.cachedModel=void 0)})},i([r.inject(s.TYPES.IViewer),o("design:type",Object)],e.prototype,"delegate",void 0),i([r.inject(s.TYPES.AnimationFrameSyncer),o("design:type",a.AnimationFrameSyncer)],e.prototype,"syncer",void 0),e=i([r.injectable()],e),e}();t.ViewerCache=c},"87b3":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("7685"),o=n("30e3"),r=n("155f"),s=n("c5f4"),a=n("a8af"),c=n("ba33"),l=n("a32f"),u=n("1979"),d=n("c8c0"),h=n("7dba"),p=n("c622"),f=n("757d");function m(e){return e._bindingDictionary}function g(e,t,n,i,o,r){var a=e?s.MULTI_INJECT_TAG:s.INJECT_TAG,c=new u.Metadata(a,n),l=new f.Target(t,i,n,c);if(void 0!==o){var d=new u.Metadata(o,r);l.metadata.push(d)}return l}function v(e,t,n,o,r){var s=_(n.container,r.serviceIdentifier),a=[];return s.length===i.BindingCount.NoBindingsAvailable&&n.container.options.autoBindInjectable&&"function"===typeof r.serviceIdentifier&&e.getConstructorMetadata(r.serviceIdentifier).compilerGeneratedMetadata&&(n.container.bind(r.serviceIdentifier).toSelf(),s=_(n.container,r.serviceIdentifier)),a=t?s:s.filter(function(e){var t=new p.Request(e.serviceIdentifier,n,o,e,r);return e.constraint(t)}),b(r.serviceIdentifier,a,r,n.container),a}function b(e,t,n,r){switch(t.length){case i.BindingCount.NoBindingsAvailable:if(n.isOptional())return t;var s=c.getServiceIdentifierAsString(e),a=o.NOT_REGISTERED;throw a+=c.listMetadataForTarget(s,n),a+=c.listRegisteredBindingsForServiceIdentifier(r,s,_),new Error(a);case i.BindingCount.OnlyOneBindingAvailable:if(!n.isArray())return t;case i.BindingCount.MultipleBindingsAvailable:default:if(n.isArray())return t;s=c.getServiceIdentifierAsString(e),a=o.AMBIGUOUS_MATCH+" "+s;throw a+=c.listRegisteredBindingsForServiceIdentifier(r,s,_),new Error(a)}}function y(e,t,n,i,s,a){var c,l;if(null===s){c=v(e,t,i,null,a),l=new p.Request(n,i,null,c,a);var u=new d.Plan(i,l);i.addPlan(u)}else c=v(e,t,i,s,a),l=s.addChildRequest(a.serviceIdentifier,c,a);c.forEach(function(t){var n=null;if(a.isArray())n=l.addChildRequest(t.serviceIdentifier,t,a);else{if(t.cache)return;n=l}if(t.type===r.BindingTypeEnum.Instance&&null!==t.implementationType){var s=h.getDependencies(e,t.implementationType);if(!i.container.options.skipBaseClassChecks){var c=h.getBaseClassDependencyCount(e,t.implementationType);if(s.length=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var o=n("dd7b"),r=n("e1c6"),s=function(){function e(){}return e.prototype.render=function(e,t){var n=this;return o.h(this.selector(e),{key:e.id,hook:{init:this.init.bind(this),prepatch:this.prepatch.bind(this)},fn:function(){return n.renderAndDecorate(e,t)},args:this.watchedArgs(e),thunk:!0})},e.prototype.renderAndDecorate=function(e,t){var n=this.doRender(e,t);return t.decorate(n,e),n},e.prototype.copyToThunk=function(e,t){t.elm=e.elm,e.data.fn=t.data.fn,e.data.args=t.data.args,t.data=e.data,t.children=e.children,t.text=e.text,t.elm=e.elm},e.prototype.init=function(e){var t=e.data,n=t.fn.apply(void 0,t.args);this.copyToThunk(n,e)},e.prototype.prepatch=function(e,t){var n=e.data,i=t.data;this.equals(n.args,i.args)?this.copyToThunk(e,t):this.copyToThunk(i.fn.apply(void 0,i.args),t)},e.prototype.equals=function(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(var n=0;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var o=n("e1c6"),r=n("3585"),s=function(){function e(){}return e.prototype.isVisible=function(e,t,n){if("hidden"===n.targetKind)return!0;if(0===t.length)return!0;var i=r.getAbsoluteRouteBounds(e,t),o=e.root.canvasBounds;return i.x<=o.width&&i.x+i.width>=0&&i.y<=o.height&&i.y+i.height>=0},e=i([o.injectable()],e),e}();t.RoutableView=s},"8e08":function(e,t,n){},"8e65":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("842c"),r=n("6923"),s=n("42be"),a=n("26ad"),c=new i.ContainerModule(function(e,t,n){e(r.TYPES.ModelSourceProvider).toProvider(function(e){return function(){return new Promise(function(t){t(e.container.get(r.TYPES.ModelSource))})}}),o.configureCommand({bind:e,isBound:n},s.CommitModelCommand),e(r.TYPES.IActionHandlerInitializer).toService(r.TYPES.ModelSource),e(a.ComputedBoundsApplicator).toSelf().inSingletonScope()});t.default=c},"8e97":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var o=n("e1c6"),r=n("dd02"),s=n("66f9"),a=function(){function e(){}return e.prototype.isVisible=function(e,t){if("hidden"===t.targetKind)return!0;if(!r.isValidDimension(e.bounds))return!0;var n=s.getAbsoluteBounds(e),i=e.root.canvasBounds;return n.x<=i.width&&n.x+n.width>=0&&n.y<=i.height&&n.y+n.height>=0},e=i([o.injectable()],e),e}();t.ShapeView=a},"8ef3":function(e,t,n){},9016:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="undefined"!==typeof window&&window.requestAnimationFrame.bind(window)||setTimeout,o=function(e){i(function(){i(e)})},r=!1;function s(e,t,n){o(function(){e[t]=n})}function a(e,t){var n,i,o=t.elm,r=e.data.style,a=t.data.style;if((r||a)&&r!==a){r=r||{},a=a||{};var c="delayed"in r;for(i in r)a[i]||("-"===i[0]&&"-"===i[1]?o.style.removeProperty(i):o.style[i]="");for(i in a)if(n=a[i],"delayed"===i&&a.delayed)for(var l in a.delayed)n=a.delayed[l],c&&n===r.delayed[l]||s(o.style,l,n);else"remove"!==i&&n!==r[i]&&("-"===i[0]&&"-"===i[1]?o.style.setProperty(i,n):o.style[i]=n)}}function c(e){var t,n,i=e.elm,o=e.data.style;if(o&&(t=o.destroy))for(n in t)i.style[n]=t[n]}function l(e,t){var n=e.data.style;if(n&&n.remove){r||(getComputedStyle(document.body).transform,r=!0);var i,o,s=e.elm,a=0,c=n.remove,l=0,u=[];for(i in c)u.push(i),s.style[i]=c[i];o=getComputedStyle(s);for(var d=o["transition-property"].split(", ");a=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var a=n("21a6"),c=n("e1c6"),l=n("3f0a"),u=n("6923"),d=n("42f7"),h=n("4741"),p=n("5d19"),f=n("f4cb"),m=n("b485"),g=n("cf61"),v=n("26ad");function b(e){return void 0!==e&&e.hasOwnProperty("action")}t.isActionMessage=b;var y=function(){function e(){this.kind=e.KIND}return e.KIND="serverStatus",e}();t.ServerStatusAction=y;var _="__receivedFromServer",M=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.currentRoot={type:"NONE",id:"ROOT"},t}return i(t,e),t.prototype.initialize=function(t){e.prototype.initialize.call(this,t),t.register(d.ComputedBoundsAction.KIND,this),t.register(d.RequestBoundsCommand.KIND,this),t.register(f.RequestPopupModelAction.KIND,this),t.register(h.CollapseExpandAction.KIND,this),t.register(h.CollapseExpandAllAction.KIND,this),t.register(m.OpenAction.KIND,this),t.register(y.KIND,this),this.clientId||(this.clientId=this.viewerOptions.baseDiv)},t.prototype.handle=function(e){var t=this.handleLocally(e);t&&this.forwardToServer(e)},t.prototype.forwardToServer=function(e){var t={clientId:this.clientId,action:e};this.logger.log(this,"sending",t),this.sendMessage(t)},t.prototype.messageReceived=function(e){var t=this,n="string"===typeof e?JSON.parse(e):e;b(n)&&n.action?n.clientId&&n.clientId!==this.clientId||(n.action[_]=!0,this.logger.log(this,"receiving",n),this.actionDispatcher.dispatch(n.action).then(function(){t.storeNewModel(n.action)})):this.logger.error(this,"received data is not an action message",n)},t.prototype.handleLocally=function(e){switch(this.storeNewModel(e),e.kind){case d.ComputedBoundsAction.KIND:return this.handleComputedBounds(e);case l.RequestModelAction.KIND:return this.handleRequestModel(e);case d.RequestBoundsCommand.KIND:return!1;case p.ExportSvgAction.KIND:return this.handleExportSvgAction(e);case y.KIND:return this.handleServerStateAction(e)}return!e[_]},t.prototype.storeNewModel=function(e){if(e.kind===l.SetModelCommand.KIND||e.kind===g.UpdateModelCommand.KIND||e.kind===d.RequestBoundsCommand.KIND){var t=e.newRoot;t&&(this.currentRoot=t,e.kind!==l.SetModelCommand.KIND&&e.kind!==g.UpdateModelCommand.KIND||(this.lastSubmittedModelType=t.type))}},t.prototype.handleRequestModel=function(e){var t=o({needsClientLayout:this.viewerOptions.needsClientLayout,needsServerLayout:this.viewerOptions.needsServerLayout},e.options),n=o(o({},e),{options:t});return this.forwardToServer(n),!1},t.prototype.handleComputedBounds=function(e){if(this.viewerOptions.needsServerLayout)return!0;var t=this.currentRoot;return this.computedBoundsApplicator.apply(t,e),t.type===this.lastSubmittedModelType?this.actionDispatcher.dispatch(new g.UpdateModelAction(t)):this.actionDispatcher.dispatch(new l.SetModelAction(t)),this.lastSubmittedModelType=t.type,!1},t.prototype.handleExportSvgAction=function(e){var t=new Blob([e.svg],{type:"text/plain;charset=utf-8"});return a.saveAs(t,"diagram.svg"),!1},t.prototype.handleServerStateAction=function(e){return!1},t.prototype.commitModel=function(e){var t=this.currentRoot;return this.currentRoot=e,t},r([c.inject(u.TYPES.ILogger),s("design:type",Object)],t.prototype,"logger",void 0),r([c.inject(v.ComputedBoundsApplicator),s("design:type",v.ComputedBoundsApplicator)],t.prototype,"computedBoundsApplicator",void 0),t=r([c.injectable()],t),t}(v.ModelSource);t.DiagramServer=M},"966d":function(e,t,n){"use strict";(function(t){function n(e,n,i,o){if("function"!==typeof e)throw new TypeError('"callback" argument must be a function');var r,s,a=arguments.length;switch(a){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,n)});case 3:return t.nextTick(function(){e.call(null,n,i)});case 4:return t.nextTick(function(){e.call(null,n,i,o)});default:r=new Array(a-1),s=0;while(s=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),s=function(){function e(){}return e=o([r.injectable()],e),e}();t.Command=s;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.merge=function(e,t){return!1},t=o([r.injectable()],t),t}(s);t.MergeableCommand=a;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.undo=function(e){return e.logger.error(this,"Cannot undo a hidden command"),e.root},t.prototype.redo=function(e){return e.logger.error(this,"Cannot redo a hidden command"),e.root},t=o([r.injectable()],t),t}(s);t.HiddenCommand=c;var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t=o([r.injectable()],t),t}(s);t.PopupCommand=l;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t=o([r.injectable()],t),t}(s);t.SystemCommand=u;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t=o([r.injectable()],t),t}(s);t.ResetCommand=d},9811:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("e7fa"),s=new i.ContainerModule(function(e){e(o.TYPES.IVNodePostprocessor).to(r.ElementFader).inSingletonScope()});t.default=s},"987d":function(e,t,n){"use strict";function i(e){return e<.5?e*e*2:1-(1-e)*(1-e)*2}Object.defineProperty(t,"__esModule",{value:!0}),t.easeInOut=i},"98ab":function(e,t,n){},"98db":function(e,t,n){(function(e,t){ -/*! ***************************************************************************** -Copyright (C) Microsoft. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ -var n;(function(n){(function(e){var i="object"===typeof t?t:"object"===typeof self?self:"object"===typeof this?this:Function("return this;")(),o=r(n);function r(e,t){return function(n,i){"function"!==typeof e[n]&&Object.defineProperty(e,n,{configurable:!0,writable:!0,value:i}),t&&t(n,i)}}"undefined"===typeof i.Reflect?i.Reflect=n:o=r(i.Reflect,o),e(o)})(function(t){var n=Object.prototype.hasOwnProperty,i="function"===typeof Symbol,o=i&&"undefined"!==typeof Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",r=i&&"undefined"!==typeof Symbol.iterator?Symbol.iterator:"@@iterator",s="function"===typeof Object.create,a={__proto__:[]}instanceof Array,c=!s&&!a,l={create:s?function(){return re(Object.create(null))}:a?function(){return re({__proto__:null})}:function(){return re({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},u=Object.getPrototypeOf(Function),d="object"===typeof e&&Object({NODE_ENV:"production",CLIENT:!0,SERVER:!1,DEV:!1,PROD:!0,THEME:"mat",MODE:"spa",WS_BASE_URL:"",STOMP_CLIENT_DEBUG:!1,KEXPLORER_DEBUG:!1,ROUTER_BASE:"/modeler/ui",WEB_BASE_URL:"https://integratedmodelling.org",PACKAGE_VERSION:"0.22.0",PACKAGE_BUILD:"",ENGINE_URL:"/modeler",ENGINE_SHARED:"/modeler/shared/",ENGINE_LOGIN:"/modeler",API:"/modeler/api/v2",WS_URL:"/modeler/message",WS_SUBSCRIBE:"/message",WS_MESSAGE_DESTINATION:"/klab/message",REST_UPLOAD_MAX_SIZE:"1024MB",SEARCH_TIMEOUT_MS:"4000",VUE_ROUTER_MODE:"hash",VUE_ROUTER_BASE:"",APP_URL:"undefined"})&&"true"===Object({NODE_ENV:"production",CLIENT:!0,SERVER:!1,DEV:!1,PROD:!0,THEME:"mat",MODE:"spa",WS_BASE_URL:"",STOMP_CLIENT_DEBUG:!1,KEXPLORER_DEBUG:!1,ROUTER_BASE:"/modeler/ui",WEB_BASE_URL:"https://integratedmodelling.org",PACKAGE_VERSION:"0.22.0",PACKAGE_BUILD:"",ENGINE_URL:"/modeler",ENGINE_SHARED:"/modeler/shared/",ENGINE_LOGIN:"/modeler",API:"/modeler/api/v2",WS_URL:"/modeler/message",WS_SUBSCRIBE:"/message",WS_MESSAGE_DESTINATION:"/klab/message",REST_UPLOAD_MAX_SIZE:"1024MB",SEARCH_TIMEOUT_MS:"4000",VUE_ROUTER_MODE:"hash",VUE_ROUTER_BASE:"",APP_URL:"undefined"})["REFLECT_METADATA_USE_MAP_POLYFILL"],h=d||"function"!==typeof Map||"function"!==typeof Map.prototype.entries?ne():Map,p=d||"function"!==typeof Set||"function"!==typeof Set.prototype.entries?ie():Set,f=d||"function"!==typeof WeakMap?oe():WeakMap,m=new f;function g(e,t,n,i){if(D(n)){if(!V(e))throw new TypeError;if(!K(t))throw new TypeError;return E(e,t)}if(!V(e))throw new TypeError;if(!j(t))throw new TypeError;if(!j(i)&&!D(i)&&!B(i))throw new TypeError;return B(i)&&(i=void 0),n=U(n),O(e,t,n,i)}function v(e,t){function n(n,i){if(!j(n))throw new TypeError;if(!D(i)&&!$(i))throw new TypeError;z(e,t,n,i)}return n}function b(e,t,n,i){if(!j(n))throw new TypeError;return D(i)||(i=U(i)),z(e,t,n,i)}function y(e,t,n){if(!j(t))throw new TypeError;return D(n)||(n=U(n)),T(e,t,n)}function _(e,t,n){if(!j(t))throw new TypeError;return D(n)||(n=U(n)),x(e,t,n)}function M(e,t,n){if(!j(t))throw new TypeError;return D(n)||(n=U(n)),R(e,t,n)}function w(e,t,n){if(!j(t))throw new TypeError;return D(n)||(n=U(n)),k(e,t,n)}function C(e,t){if(!j(e))throw new TypeError;return D(t)||(t=U(t)),P(e,t)}function S(e,t){if(!j(e))throw new TypeError;return D(t)||(t=U(t)),N(e,t)}function A(e,t,n){if(!j(t))throw new TypeError;D(n)||(n=U(n));var i=L(t,n,!1);if(D(i))return!1;if(!i.delete(e))return!1;if(i.size>0)return!0;var o=m.get(t);return o.delete(n),o.size>0||(m.delete(t),!0)}function E(e,t){for(var n=e.length-1;n>=0;--n){var i=e[n],o=i(t);if(!D(o)&&!B(o)){if(!K(o))throw new TypeError;t=o}}return t}function O(e,t,n,i){for(var o=e.length-1;o>=0;--o){var r=e[o],s=r(t,n,i);if(!D(s)&&!B(s)){if(!j(s))throw new TypeError;i=s}}return i}function L(e,t,n){var i=m.get(e);if(D(i)){if(!n)return;i=new h,m.set(e,i)}var o=i.get(t);if(D(o)){if(!n)return;o=new h,i.set(t,o)}return o}function T(e,t,n){var i=x(e,t,n);if(i)return!0;var o=te(t);return!B(o)&&T(e,o,n)}function x(e,t,n){var i=L(t,n,!1);return!D(i)&&H(i.has(e))}function R(e,t,n){var i=x(e,t,n);if(i)return k(e,t,n);var o=te(t);return B(o)?void 0:R(e,o,n)}function k(e,t,n){var i=L(t,n,!1);if(!D(i))return i.get(e)}function z(e,t,n,i){var o=L(n,i,!0);o.set(e,t)}function P(e,t){var n=N(e,t),i=te(e);if(null===i)return n;var o=P(i,t);if(o.length<=0)return n;if(n.length<=0)return o;for(var r=new p,s=[],a=0,c=n;a=0&&e=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var i=this._keys.length,o=n+1;o=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var o=n("dd02"),r=n("869e"),s=n("46cc"),a=n("e1c6"),c=function(){function e(){}var t;return t=e,Object.defineProperty(e.prototype,"kind",{get:function(){return t.KIND},enumerable:!0,configurable:!0}),e.prototype.getAnchor=function(e,t,n){var i=e.bounds;if(i.width<=0||i.height<=0)return i;var r={x:i.x-n,y:i.y-n,width:i.width+2*n,height:i.height+2*n};return t.x>=r.x&&r.x+r.width>=t.x?t.y=r.y&&r.y+r.height>=t.y?t.x=r.x&&t.x<=r.x+r.width?r.x+.5*r.width>=t.x?(c=new o.PointToPointLine(t,{x:t.x,y:s.y}),a=t.y=r.y&&t.y<=r.y+r.height&&(r.y+.5*r.height>=t.y?(c=new o.PointToPointLine(t,{x:s.x,y:t.y}),a=t.x=r.x&&r.x+r.width>=t.x){c+=a.x;var u=.5*r.height*Math.sqrt(1-a.x*a.x/(.25*r.width*r.width));a.y<0?l-=u:l+=u}else if(t.y>=r.y&&r.y+r.height>=t.y){l+=a.y;var d=.5*r.width*Math.sqrt(1-a.y*a.y/(.25*r.height*r.height));a.x<0?c-=d:c+=d}return{x:c,y:l}},e.KIND=s.ManhattanEdgeRouter.KIND+":"+r.ELLIPTIC_ANCHOR_KIND,e=t=i([a.injectable()],e),e}();t.ManhattanEllipticAnchor=u},"9ad4":function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),s=n("393a"),a=n("ee16"),c=n("e45b"),l=n("8e97"),u=n("87fa"),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(e,t){if(!(e instanceof u.ShapedPreRenderedElement)||this.isVisible(e,t)){var n=a.default(e.code);return this.correctNamespace(n),n}},t.prototype.correctNamespace=function(e){"svg"!==e.sel&&"g"!==e.sel||c.setNamespace(e,"http://www.w3.org/2000/svg")},t=o([r.injectable()],t),t}(l.ShapeView);t.PreRenderedView=d;var h=function(){function e(){}return e.prototype.render=function(e,t){var n=a.default(e.code),i=s.svg("g",null,s.svg("foreignObject",{requiredFeatures:"http://www.w3.org/TR/SVG11/feature#Extensibility",height:e.bounds.height,width:e.bounds.width,x:0,y:0},n),t.renderChildren(e));return c.setAttr(i,"class",e.type),c.setNamespace(n,e.namespace),i},e=o([r.injectable()],e),e}();t.ForeignObjectView=h},"9bc6":function(e,t,n){"use strict";var i=n("232d"),o=n.n(i);o.a},"9d14":function(e,t,n){"use strict";var i=n("a5de"),o=n.n(i);o.a},"9d6c":function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),a=n("3a92"),c=n("e45b"),l=n("47b7"),u=n("dd02"),d=n("66f9"),h=n("779b"),p=n("168d"),f=function(){function e(){}return e.prototype.decorate=function(e,t){if(h.isEdgeLayoutable(t)&&t.parent instanceof l.SEdge&&t.bounds!==u.EMPTY_BOUNDS){var n=this.getEdgePlacement(t),i=t.parent,o=Math.min(1,Math.max(0,n.position)),r=this.edgeRouterRegistry.get(i.routerKind),s=r.pointAt(i,o),a=r.derivativeAt(i,o),d="";if(s&&a){d+="translate("+s.x+", "+s.y+")";var p=u.toDegrees(Math.atan2(a.y,a.x));if(n.rotate){var f=p;Math.abs(p)>90&&(p<0?f+=180:p>0&&(f-=180)),d+=" rotate("+f+")";var m=this.getRotatedAlignment(t,n,f!==p);d+=" translate("+m.x+", "+m.y+")"}else{m=this.getAlignment(t,n,p);d+=" translate("+m.x+", "+m.y+")"}c.setAttr(e,"transform",d)}}return e},e.prototype.getRotatedAlignment=function(e,t,n){var i=d.isAlignable(e)?e.alignment.x:0,o=d.isAlignable(e)?e.alignment.y:0,r=e.bounds;if("on"===t.side)return{x:i-.5*r.height,y:o-.5*r.height};if(n)switch(t.position<.3333333?i-=r.width+t.offset:t.position<.6666666?i-=.5*r.width:i+=t.offset,t.side){case"left":case"bottom":o-=t.offset+r.height;break;case"right":case"top":o+=t.offset}else switch(t.position<.3333333?i+=t.offset:t.position<.6666666?i-=.5*r.width:i-=r.width+t.offset,t.side){case"right":case"bottom":o+=-t.offset-r.height;break;case"left":case"top":o+=t.offset}return{x:i,y:o}},e.prototype.getEdgePlacement=function(e){var t=e,n=[];while(void 0!==t){var o=t.edgePlacement;if(void 0!==o&&n.push(o),!(t instanceof a.SChildElement))break;t=t.parent}return n.reverse().reduce(function(e,t){return i(i({},e),t)},h.DEFAULT_EDGE_PLACEMENT)},e.prototype.getAlignment=function(e,t,n){var i=e.bounds,o=d.isAlignable(e)?e.alignment.x-i.width:0,r=d.isAlignable(e)?e.alignment.y-i.height:0;if("on"===t.side)return{x:o+.5*i.height,y:r+.5*i.height};var s=this.getQuadrant(n),a={x:t.offset,y:r+.5*i.height},c={x:t.offset,y:r+i.height+t.offset},l={x:-i.width-t.offset,y:r+i.height+t.offset},h={x:-i.width-t.offset,y:r+.5*i.height},p={x:-i.width-t.offset,y:r-t.offset},f={x:t.offset,y:r-t.offset};switch(t.side){case"left":switch(s.orientation){case"west":return u.linear(c,l,s.position);case"north":return u.linear(l,p,s.position);case"east":return u.linear(p,f,s.position);case"south":return u.linear(f,c,s.position)}break;case"right":switch(s.orientation){case"west":return u.linear(p,f,s.position);case"north":return u.linear(f,c,s.position);case"east":return u.linear(c,l,s.position);case"south":return u.linear(l,p,s.position)}break;case"top":switch(s.orientation){case"west":return u.linear(p,f,s.position);case"north":return this.linearFlip(f,a,h,p,s.position);case"east":return u.linear(p,f,s.position);case"south":return this.linearFlip(f,a,h,p,s.position)}break;case"bottom":switch(s.orientation){case"west":return u.linear(c,l,s.position);case"north":return this.linearFlip(l,h,a,c,s.position);case"east":return u.linear(c,l,s.position);case"south":return this.linearFlip(l,h,a,c,s.position)}break}return{x:0,y:0}},e.prototype.getQuadrant=function(e){return Math.abs(e)>135?{orientation:"west",position:(e>0?e-135:e+225)/90}:e<-45?{orientation:"north",position:(e+135)/90}:e<45?{orientation:"east",position:(e+45)/90}:{orientation:"south",position:(e-45)/90}},e.prototype.linearFlip=function(e,t,n,i,o){return o<.5?u.linear(e,t,2*o):u.linear(n,i,2*o-1)},e.prototype.postUpdate=function(){},o([s.inject(p.EdgeRouterRegistry),r("design:type",p.EdgeRouterRegistry)],e.prototype,"edgeRouterRegistry",void 0),e=o([s.injectable()],e),e}();t.EdgeLayoutPostprocessor=f},"9e2e":function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t=s.error)try{console.error.apply(e,this.consoleArguments(e,t,n))}catch(e){}},e.prototype.warn=function(e,t){for(var n=[],i=2;i=s.warn)try{console.warn.apply(e,this.consoleArguments(e,t,n))}catch(e){}},e.prototype.info=function(e,t){for(var n=[],i=2;i=s.info)try{console.info.apply(e,this.consoleArguments(e,t,n))}catch(e){}},e.prototype.log=function(e,t){for(var n=[],i=2;i=s.log)try{console.log.apply(e,this.consoleArguments(e,t,n))}catch(e){}},e.prototype.consoleArguments=function(e,t,n){var i;i="object"===typeof e?e.constructor.name:e;var o=new Date;return r([o.toLocaleTimeString()+" "+this.viewOptions.baseDiv+" "+i+": "+t],n)},i([a.inject(c.TYPES.LogLevel),o("design:type",Number)],e.prototype,"logLevel",void 0),i([a.inject(c.TYPES.ViewerOptions),o("design:type",Object)],e.prototype,"viewOptions",void 0),e=i([a.injectable()],e),e}();t.ConsoleLogger=u},"9f62":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("c5f4"),o=n("1979"),r=n("66d7");function s(){return function(e,t,n){var s=new o.Metadata(i.UNMANAGED_TAG,!0);r.tagParameter(e,t,n,s)}}t.unmanaged=s},"9f8d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("1cd9"),s=n("5d19"),a=n("842c"),c=new i.ContainerModule(function(e,t,n){e(o.TYPES.KeyListener).to(r.ExportSvgKeyListener).inSingletonScope(),e(o.TYPES.HiddenVNodePostprocessor).to(r.ExportSvgPostprocessor).inSingletonScope(),a.configureCommand({bind:e,isBound:n},r.ExportSvgCommand),e(o.TYPES.SvgExporter).to(s.SvgExporter).inSingletonScope()});t.default=c},a0af:function(e,t,n){"use strict";function i(e){return void 0!==e["position"]}function o(e){return e.hasFeature(t.moveFeature)&&i(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.moveFeature=Symbol("moveFeature"),t.isLocateable=i,t.isMoveable=o},a16f:function(e,t,n){},a190:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var o=n("e1c6"),r=n("e45b"),s=function(){function e(){}return e.prototype.decorate=function(e,t){return e.sel&&e.sel.startsWith("svg")&&r.setAttr(e,"tabindex",0),e},e.prototype.postUpdate=function(){},e=i([o.injectable()],e),e}();t.FocusFixPostprocessor=s},a1a5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("c5f4"),o=n("1979"),r=n("66d7");function s(e){return function(t,n,s){var a=new o.Metadata(i.NAME_TAG,e);r.tagParameter(t,n,s,a)}}t.targetName=s},a27f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("bcc9");t.Draggable=i.Draggable},a2e1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("dd02"),o=n("3a92"),r=n("66f9"),s=function(){function e(){}return e.prototype.layout=function(e,t){var n=t.getBoundsData(e),i=this.getLayoutOptions(e),o=this.getChildrenSize(e,i,t),r=i.paddingFactor*(i.resizeContainer?o.width:Math.max(0,this.getFixedContainerBounds(e,i,t).width)-i.paddingLeft-i.paddingRight),s=i.paddingFactor*(i.resizeContainer?o.height:Math.max(0,this.getFixedContainerBounds(e,i,t).height)-i.paddingTop-i.paddingBottom);if(r>0&&s>0){var a=this.layoutChildren(e,t,i,r,s);n.bounds=this.getFinalContainerBounds(e,a,i,r,s),n.boundsChanged=!0}},e.prototype.getFinalContainerBounds=function(e,t,n,i,o){return{x:e.bounds.x,y:e.bounds.y,width:Math.max(n.minWidth,i+n.paddingLeft+n.paddingRight),height:Math.max(n.minHeight,o+n.paddingTop+n.paddingBottom)}},e.prototype.getFixedContainerBounds=function(e,t,n){var s=e;while(1){if(r.isBoundsAware(s)){var a=s.bounds;if(r.isLayoutContainer(s)&&t.resizeContainer&&n.log.error(s,"Resizable container found while detecting fixed bounds"),i.isValidDimension(a))return a}if(!(s instanceof o.SChildElement))return n.log.error(s,"Cannot detect fixed bounds"),i.EMPTY_BOUNDS;s=s.parent}},e.prototype.layoutChildren=function(e,t,n,o,s){var a=this,c={x:n.paddingLeft+.5*(o-o/n.paddingFactor),y:n.paddingTop+.5*(s-s/n.paddingFactor)};return e.children.forEach(function(e){if(r.isLayoutableChild(e)){var l=t.getBoundsData(e),u=l.bounds,d=a.getChildLayoutOptions(e,n);void 0!==u&&i.isValidDimension(u)&&(c=a.layoutChild(e,l,u,d,n,c,o,s))}}),c},e.prototype.getDx=function(e,t,n){switch(e){case"left":return 0;case"center":return.5*(n-t.width);case"right":return n-t.width}},e.prototype.getDy=function(e,t,n){switch(e){case"top":return 0;case"center":return.5*(n-t.height);case"bottom":return n-t.height}},e.prototype.getChildLayoutOptions=function(e,t){var n=e.layoutOptions;return void 0===n?t:this.spread(t,n)},e.prototype.getLayoutOptions=function(e){var t=this,n=e,i=[];while(void 0!==n){var r=n.layoutOptions;if(void 0!==r&&i.push(r),!(n instanceof o.SChildElement))break;n=n.parent}return i.reverse().reduce(function(e,n){return t.spread(e,n)},this.getDefaultLayoutOptions())},e}();t.AbstractLayout=s},a32f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("77d3"),o=function(){function e(e){this.id=i.id(),this.container=e}return e.prototype.addPlan=function(e){this.plan=e},e.prototype.setCurrentRequest=function(e){this.currentRequest=e},e}();t.Context=o},a406:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),a=n("510b"),c=n("6923"),l=n("e629"),u=n("e1cb"),d=n("bcbd"),h=n("ed4f"),p=function(){function e(e){void 0===e&&(e=[]),this.actionProviders=e}return e.prototype.getActions=function(e,t,n,i){var o=this.actionProviders.map(function(o){return o.getActions(e,t,n,i)});return Promise.all(o).then(function(e){return e.reduce(function(e,t){return void 0!==t?e.concat(t):e})})},e=i([s.injectable(),r(0,s.multiInject(c.TYPES.ICommandPaletteActionProvider)),r(0,s.optional()),o("design:paramtypes",[Array])],e),e}();t.CommandPaletteActionProviderRegistry=p;var f=function(){function e(e){this.logger=e}return e.prototype.getActions=function(e,t,n,i){return void 0!==i&&i%2===0?Promise.resolve(this.createSelectActions(e)):Promise.resolve([new a.LabeledAction("Select all",[new d.SelectAllAction])])},e.prototype.createSelectActions=function(e){var t=l.toArray(e.index.all().filter(function(e){return u.isNameable(e)}));return t.map(function(e){return new a.LabeledAction("Reveal "+u.name(e),[new d.SelectAction([e.id]),new h.CenterAction([e.id])],"fa-eye")})},e=i([s.injectable(),r(0,s.inject(c.TYPES.ILogger)),o("design:paramtypes",[Object])],e),e}();t.RevealNamedElementActionProvider=f},a4c5:function(e,t,n){"use strict";var i=n("7364"),o=n.n(i);o.a},a5b7:function(e,t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"014b":function(e,t,n){"use strict";var i=n("e53d"),o=n("07e3"),r=n("8e60"),s=n("63b6"),a=n("9138"),c=n("ebfd").KEY,l=n("294c"),u=n("dbdb"),d=n("45f2"),h=n("62a0"),p=n("5168"),f=n("ccb9"),m=n("6718"),g=n("47ee"),v=n("9003"),b=n("e4ae"),y=n("f772"),_=n("36c3"),M=n("1bc3"),w=n("aebd"),C=n("a159"),S=n("0395"),A=n("bf0b"),E=n("d9f6"),O=n("c3a1"),L=A.f,T=E.f,x=S.f,R=i.Symbol,k=i.JSON,z=k&&k.stringify,P="prototype",N=p("_hidden"),I=p("toPrimitive"),D={}.propertyIsEnumerable,B=u("symbol-registry"),q=u("symbols"),j=u("op-symbols"),W=Object[P],F="function"==typeof R,H=i.QObject,X=!H||!H[P]||!H[P].findChild,U=r&&l(function(){return 7!=C(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,n){var i=L(W,t);i&&delete W[t],T(e,t,n),i&&e!==W&&T(W,t,i)}:T,V=function(e){var t=q[e]=C(R[P]);return t._k=e,t},G=F&&"symbol"==typeof R.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof R},K=function(e,t,n){return e===W&&K(j,t,n),b(e),t=M(t,!0),b(n),o(q,t)?(n.enumerable?(o(e,N)&&e[N][t]&&(e[N][t]=!1),n=C(n,{enumerable:w(0,!1)})):(o(e,N)||T(e,N,w(1,{})),e[N][t]=!0),U(e,t,n)):T(e,t,n)},$=function(e,t){b(e);var n,i=g(t=_(t)),o=0,r=i.length;while(r>o)K(e,n=i[o++],t[n]);return e},Y=function(e,t){return void 0===t?C(e):$(C(e),t)},J=function(e){var t=D.call(this,e=M(e,!0));return!(this===W&&o(q,e)&&!o(j,e))&&(!(t||!o(this,e)||!o(q,e)||o(this,N)&&this[N][e])||t)},Q=function(e,t){if(e=_(e),t=M(t,!0),e!==W||!o(q,t)||o(j,t)){var n=L(e,t);return!n||!o(q,t)||o(e,N)&&e[N][t]||(n.enumerable=!0),n}},Z=function(e){var t,n=x(_(e)),i=[],r=0;while(n.length>r)o(q,t=n[r++])||t==N||t==c||i.push(t);return i},ee=function(e){var t,n=e===W,i=x(n?j:_(e)),r=[],s=0;while(i.length>s)!o(q,t=i[s++])||n&&!o(W,t)||r.push(q[t]);return r};F||(R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===W&&t.call(j,n),o(this,N)&&o(this[N],e)&&(this[N][e]=!1),U(this,e,w(1,n))};return r&&X&&U(W,e,{configurable:!0,set:t}),V(e)},a(R[P],"toString",function(){return this._k}),A.f=Q,E.f=K,n("6abf").f=S.f=Z,n("355d").f=J,n("9aa9").f=ee,r&&!n("b8e3")&&a(W,"propertyIsEnumerable",J,!0),f.f=function(e){return V(p(e))}),s(s.G+s.W+s.F*!F,{Symbol:R});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var ie=O(p.store),oe=0;ie.length>oe;)m(ie[oe++]);s(s.S+s.F*!F,"Symbol",{for:function(e){return o(B,e+="")?B[e]:B[e]=R(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in B)if(B[t]===e)return t},useSetter:function(){X=!0},useSimple:function(){X=!1}}),s(s.S+s.F*!F,"Object",{create:Y,defineProperty:K,defineProperties:$,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:ee}),k&&s(s.S+s.F*(!F||l(function(){var e=R();return"[null]"!=z([e])||"{}"!=z({a:e})||"{}"!=z(Object(e))})),"JSON",{stringify:function(e){var t,n,i=[e],o=1;while(arguments.length>o)i.push(arguments[o++]);if(n=t=i[1],(y(t)||void 0!==e)&&!G(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),i[1]=t,z.apply(k,i)}}),R[P][I]||n("35e8")(R[P],I,R[P].valueOf),d(R,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},"01f9":function(e,t,n){"use strict";var i=n("2d00"),o=n("5ca1"),r=n("2aba"),s=n("32e9"),a=n("84f2"),c=n("41a0"),l=n("7f20"),u=n("38fd"),d=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),p="@@iterator",f="keys",m="values",g=function(){return this};e.exports=function(e,t,n,v,b,y,_){c(n,t,v);var M,w,C,S=function(e){if(!h&&e in L)return L[e];switch(e){case f:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},A=t+" Iterator",E=b==m,O=!1,L=e.prototype,T=L[d]||L[p]||b&&L[b],x=T||S(b),R=b?E?S("entries"):x:void 0,k="Array"==t&&L.entries||T;if(k&&(C=u(k.call(new e)),C!==Object.prototype&&C.next&&(l(C,A,!0),i||"function"==typeof C[d]||s(C,d,g))),E&&T&&T.name!==m&&(O=!0,x=function(){return T.call(this)}),i&&!_||!h&&!O&&L[d]||s(L,d,x),a[t]=x,a[A]=g,b)if(M={values:E?x:S(m),keys:y?x:S(f),entries:R},_)for(w in M)w in L||r(L,w,M[w]);else o(o.P+o.F*(h||O),t,M);return M}},"0395":function(e,t,n){var i=n("36c3"),o=n("6abf").f,r={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return o(e)}catch(e){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==r.call(e)?a(e):o(i(e))}},"07e3":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"09fa":function(e,t,n){var i=n("4588"),o=n("9def");e.exports=function(e){if(void 0===e)return 0;var t=i(e),n=o(t);if(t!==n)throw RangeError("Wrong length!");return n}},"0a49":function(e,t,n){var i=n("9b43"),o=n("626a"),r=n("4bf8"),s=n("9def"),a=n("cd1c");e.exports=function(e,t){var n=1==e,c=2==e,l=3==e,u=4==e,d=6==e,h=5==e||d,p=t||a;return function(t,a,f){for(var m,g,v=r(t),b=o(v),y=i(a,f,3),_=s(b.length),M=0,w=n?p(t,_):c?p(t,0):void 0;_>M;M++)if((h||M in b)&&(m=b[M],g=y(m,M,v),e))if(n)w[M]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return M;case 2:w.push(m)}else if(u)return!1;return d?-1:l||u?u:w}}},"0bfb":function(e,t,n){"use strict";var i=n("cb7c");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var i=n("ce10"),o=n("e11e");e.exports=Object.keys||function(e){return i(e,o)}},"0f88":function(e,t,n){var i,o=n("7726"),r=n("32e9"),s=n("ca5a"),a=s("typed_array"),c=s("view"),l=!(!o.ArrayBuffer||!o.DataView),u=l,d=0,h=9,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(dl)r.call(s,n=a[l++])&&u.push(e?[n,s[n]]:s[n]);return u}}},1495:function(e,t,n){var i=n("86cc"),o=n("cb7c"),r=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){o(e);var n,s=r(t),a=s.length,c=0;while(a>c)i.f(e,n=s[c++],t[n]);return e}},1654:function(e,t,n){"use strict";var i=n("71c1")(!0);n("30f1")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})})},1691:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"1af6":function(e,t,n){var i=n("63b6");i(i.S,"Array",{isArray:n("9003")})},"1bc3":function(e,t,n){var i=n("f772");e.exports=function(e,t){if(!i(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!i(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(e,t,n){var i=n("f772"),o=n("e53d").document,r=i(o)&&i(o.createElement);e.exports=function(e){return r?o.createElement(e):{}}},"20fd":function(e,t,n){"use strict";var i=n("d9f6"),o=n("aebd");e.exports=function(e,t,n){t in e?i.f(e,t,o(0,n)):e[t]=n}},"214f":function(e,t,n){"use strict";var i=n("32e9"),o=n("2aba"),r=n("79e5"),s=n("be13"),a=n("2b4c");e.exports=function(e,t,n){var c=a(e),l=n(s,c,""[e]),u=l[0],d=l[1];r(function(){var t={};return t[c]=function(){return 7},7!=""[e](t)})&&(o(String.prototype,e,u),i(RegExp.prototype,c,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}))}},"230e":function(e,t,n){var i=n("d3f4"),o=n("7726").document,r=i(o)&&i(o.createElement);e.exports=function(e){return r?o.createElement(e):{}}},"23c6":function(e,t,n){var i=n("2d95"),o=n("2b4c")("toStringTag"),r="Arguments"==i(function(){return arguments}()),s=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=s(t=Object(e),o))?n:r?i(t):"Object"==(a=i(t))&&"function"==typeof t.callee?"Arguments":a}},"241e":function(e,t,n){var i=n("25eb");e.exports=function(e){return Object(i(e))}},"25eb":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"27ee":function(e,t,n){var i=n("23c6"),o=n("2b4c")("iterator"),r=n("84f2");e.exports=n("8378").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||r[i(e)]}},"28a5":function(e,t,n){n("214f")("split",2,function(e,t,i){"use strict";var o=n("aae3"),r=i,s=[].push,a="split",c="length",l="lastIndex";if("c"=="abbc"[a](/(b)*/)[1]||4!="test"[a](/(?:)/,-1)[c]||2!="ab"[a](/(?:ab)*/)[c]||4!="."[a](/(.?)(.?)/)[c]||"."[a](/()()/)[c]>1||""[a](/.?/)[c]){var u=void 0===/()??/.exec("")[1];i=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!o(e))return r.call(n,e,t);var i,a,d,h,p,f=[],m=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,v=void 0===t?4294967295:t>>>0,b=new RegExp(e.source,m+"g");u||(i=new RegExp("^"+b.source+"$(?!\\s)",m));while(a=b.exec(n)){if(d=a.index+a[0][c],d>g&&(f.push(n.slice(g,a.index)),!u&&a[c]>1&&a[0].replace(i,function(){for(p=1;p1&&a.index=v))break;b[l]===a.index&&b[l]++}return g===n[c]?!h&&b.test("")||f.push(""):f.push(n.slice(g)),f[c]>v?f.slice(0,v):f}}else"0"[a](void 0,0)[c]&&(i=function(e,t){return void 0===e&&0===t?[]:r.call(this,e,t)});return[function(n,o){var r=e(this),s=void 0==n?void 0:n[t];return void 0!==s?s.call(n,r,o):i.call(String(r),n,o)},i]})},"294c":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"2aba":function(e,t,n){var i=n("7726"),o=n("32e9"),r=n("69a8"),s=n("ca5a")("src"),a="toString",c=Function[a],l=(""+c).split(a);n("8378").inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,n,a){var c="function"==typeof n;c&&(r(n,"name")||o(n,"name",t)),e[t]!==n&&(c&&(r(n,s)||o(n,s,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:a?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,a,function(){return"function"==typeof this&&this[s]||c.call(this)})},"2aeb":function(e,t,n){var i=n("cb7c"),o=n("1495"),r=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},c="prototype",l=function(){var e,t=n("230e")("iframe"),i=r.length,o="<",s=">";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+s+"document.F=Object"+o+"/script"+s),e.close(),l=e.F;while(i--)delete l[c][r[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(a[c]=i(e),n=new a,a[c]=null,n[s]=e):n=l(),void 0===t?n:o(n,t)}},"2b4c":function(e,t,n){var i=n("5537")("wks"),o=n("ca5a"),r=n("7726").Symbol,s="function"==typeof r,a=e.exports=function(e){return i[e]||(i[e]=s&&r[e]||(s?r:o)("Symbol."+e))};a.store=i},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"30f1":function(e,t,n){"use strict";var i=n("b8e3"),o=n("63b6"),r=n("9138"),s=n("35e8"),a=n("481b"),c=n("8f60"),l=n("45f2"),u=n("53e2"),d=n("5168")("iterator"),h=!([].keys&&"next"in[].keys()),p="@@iterator",f="keys",m="values",g=function(){return this};e.exports=function(e,t,n,v,b,y,_){c(n,t,v);var M,w,C,S=function(e){if(!h&&e in L)return L[e];switch(e){case f:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},A=t+" Iterator",E=b==m,O=!1,L=e.prototype,T=L[d]||L[p]||b&&L[b],x=T||S(b),R=b?E?S("entries"):x:void 0,k="Array"==t&&L.entries||T;if(k&&(C=u(k.call(new e)),C!==Object.prototype&&C.next&&(l(C,A,!0),i||"function"==typeof C[d]||s(C,d,g))),E&&T&&T.name!==m&&(O=!0,x=function(){return T.call(this)}),i&&!_||!h&&!O&&L[d]||s(L,d,x),a[t]=x,a[A]=g,b)if(M={values:E?x:S(m),keys:y?x:S(f),entries:R},_)for(w in M)w in L||r(L,w,M[w]);else o(o.P+o.F*(h||O),t,M);return M}},"32e9":function(e,t,n){var i=n("86cc"),o=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"32fc":function(e,t,n){var i=n("e53d").document;e.exports=i&&i.documentElement},"335c":function(e,t,n){var i=n("6b4c");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},"33a4":function(e,t,n){var i=n("84f2"),o=n("2b4c")("iterator"),r=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||r[o]===e)}},"33cb":function(e,t,n){},"34ef":function(e,t,n){n("ec30")("Uint8",1,function(e){return function(t,n,i){return e(this,t,n,i)}})},"355d":function(e,t){t.f={}.propertyIsEnumerable},"35e8":function(e,t,n){var i=n("d9f6"),o=n("aebd");e.exports=n("8e60")?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"36bd":function(e,t,n){"use strict";var i=n("4bf8"),o=n("77f1"),r=n("9def");e.exports=function(e){var t=i(this),n=r(t.length),s=arguments.length,a=o(s>1?arguments[1]:void 0,n),c=s>2?arguments[2]:void 0,l=void 0===c?n:o(c,n);while(l>a)t[a++]=e;return t}},"36c3":function(e,t,n){var i=n("335c"),o=n("25eb");e.exports=function(e){return i(o(e))}},3702:function(e,t,n){var i=n("481b"),o=n("5168")("iterator"),r=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||r[o]===e)}},3846:function(e,t,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"386b":function(e,t,n){var i=n("5ca1"),o=n("79e5"),r=n("be13"),s=/"/g,a=function(e,t,n,i){var o=String(r(e)),a="<"+t;return""!==n&&(a+=" "+n+'="'+String(i).replace(s,""")+'"'),a+">"+o+""};e.exports=function(e,t){var n={};n[e]=t(a),i(i.P+i.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},"38fd":function(e,t,n){var i=n("69a8"),o=n("4bf8"),r=n("613b")("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),i(e,r)?e[r]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},"3a38":function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"3d11":function(e,t,n){"use strict";var i=n("33cb"),o=n.n(i);o.a},"40c3":function(e,t,n){var i=n("6b4c"),o=n("5168")("toStringTag"),r="Arguments"==i(function(){return arguments}()),s=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=s(t=Object(e),o))?n:r?i(t):"Object"==(a=i(t))&&"function"==typeof t.callee?"Arguments":a}},"41a0":function(e,t,n){"use strict";var i=n("2aeb"),o=n("4630"),r=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(s,{next:o(1,n)}),r(e,t+" Iterator")}},4588:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"45f2":function(e,t,n){var i=n("d9f6").f,o=n("07e3"),r=n("5168")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,r)&&i(e,r,{configurable:!0,value:t})}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"469f":function(e,t,n){n("6c1c"),n("1654"),e.exports=n("7d7b")},"47ee":function(e,t,n){var i=n("c3a1"),o=n("9aa9"),r=n("355d");e.exports=function(e){var t=i(e),n=o.f;if(n){var s,a=n(e),c=r.f,l=0;while(a.length>l)c.call(e,s=a[l++])&&t.push(s)}return t}},"481b":function(e,t){e.exports={}},"4bf8":function(e,t,n){var i=n("be13");e.exports=function(e){return Object(i(e))}},"4ee1":function(e,t,n){var i=n("5168")("iterator"),o=!1;try{var r=[7][i]();r["return"]=function(){o=!0},Array.from(r,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r=[7],s=r[i]();s.next=function(){return{done:n=!0}},r[i]=function(){return s},e(r)}catch(e){}return n}},"50ed":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},5168:function(e,t,n){var i=n("dbdb")("wks"),o=n("62a0"),r=n("e53d").Symbol,s="function"==typeof r,a=e.exports=function(e){return i[e]||(i[e]=s&&r[e]||(s?r:o)("Symbol."+e))};a.store=i},5176:function(e,t,n){e.exports=n("51b6")},"51b6":function(e,t,n){n("a3c3"),e.exports=n("584a").Object.assign},"52a7":function(e,t){t.f={}.propertyIsEnumerable},"53e2":function(e,t,n){var i=n("07e3"),o=n("241e"),r=n("5559")("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),i(e,r)?e[r]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},"549b":function(e,t,n){"use strict";var i=n("d864"),o=n("63b6"),r=n("241e"),s=n("b0dc"),a=n("3702"),c=n("b447"),l=n("20fd"),u=n("7cd6");o(o.S+o.F*!n("4ee1")(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,d,h=r(e),p="function"==typeof this?this:Array,f=arguments.length,m=f>1?arguments[1]:void 0,g=void 0!==m,v=0,b=u(h);if(g&&(m=i(m,f>2?arguments[2]:void 0,2)),void 0==b||p==Array&&a(b))for(t=c(h.length),n=new p(t);t>v;v++)l(n,v,g?m(h[v],v):h[v]);else for(d=b.call(h),n=new p;!(o=d.next()).done;v++)l(n,v,g?s(d,m,[o.value,v],!0):o.value);return n.length=v,n}})},"54a1":function(e,t,n){n("6c1c"),n("1654"),e.exports=n("95d5")},5537:function(e,t,n){var i=n("8378"),o=n("7726"),r="__core-js_shared__",s=o[r]||(o[r]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},5559:function(e,t,n){var i=n("dbdb")("keys"),o=n("62a0");e.exports=function(e){return i[e]||(i[e]=o(e))}},"584a":function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},"59a0":function(e,t,n){"use strict";var i=n("9257"),o=n.n(i);o.a},"5b4e":function(e,t,n){var i=n("36c3"),o=n("b447"),r=n("0fc9");e.exports=function(e){return function(t,n,s){var a,c=i(t),l=o(c.length),u=r(s,l);if(e&&n!=n){while(l>u)if(a=c[u++],a!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}},"5ca1":function(e,t,n){var i=n("7726"),o=n("8378"),r=n("32e9"),s=n("2aba"),a=n("9b43"),c="prototype",l=function(e,t,n){var u,d,h,p,f=e&l.F,m=e&l.G,g=e&l.S,v=e&l.P,b=e&l.B,y=m?i:g?i[t]||(i[t]={}):(i[t]||{})[c],_=m?o:o[t]||(o[t]={}),M=_[c]||(_[c]={});for(u in m&&(n=t),n)d=!f&&y&&void 0!==y[u],h=(d?y:n)[u],p=b&&d?a(h,i):v&&"function"==typeof h?a(Function.call,h):h,y&&s(y,u,h,e&l.U),_[u]!=h&&r(_,u,p),v&&M[u]!=h&&(M[u]=h)};i.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"5cc5":function(e,t,n){var i=n("2b4c")("iterator"),o=!1;try{var r=[7][i]();r["return"]=function(){o=!0},Array.from(r,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r=[7],s=r[i]();s.next=function(){return{done:n=!0}},r[i]=function(){return s},e(r)}catch(e){}return n}},"5d58":function(e,t,n){e.exports=n("d8d6")},"5d6b":function(e,t,n){var i=n("e53d").parseInt,o=n("a1ce").trim,r=n("e692"),s=/^[-+]?0[xX]/;e.exports=8!==i(r+"08")||22!==i(r+"0x16")?function(e,t){var n=o(String(e),3);return i(n,t>>>0||(s.test(n)?16:10))}:i},"5d73":function(e,t,n){e.exports=n("469f")},"613b":function(e,t,n){var i=n("5537")("keys"),o=n("ca5a");e.exports=function(e){return i[e]||(i[e]=o(e))}},"626a":function(e,t,n){var i=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},"62a0":function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},"63b6":function(e,t,n){var i=n("e53d"),o=n("584a"),r=n("d864"),s=n("35e8"),a=n("07e3"),c="prototype",l=function(e,t,n){var u,d,h,p=e&l.F,f=e&l.G,m=e&l.S,g=e&l.P,v=e&l.B,b=e&l.W,y=f?o:o[t]||(o[t]={}),_=y[c],M=f?i:m?i[t]:(i[t]||{})[c];for(u in f&&(n=t),n)d=!p&&M&&void 0!==M[u],d&&a(y,u)||(h=d?M[u]:n[u],y[u]=f&&"function"!=typeof M[u]?n[u]:v&&d?r(h,i):b&&M[u]==h?function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t[c]=e[c],t}(h):g&&"function"==typeof h?r(Function.call,h):h,g&&((y.virtual||(y.virtual={}))[u]=h,e&l.R&&_&&!_[u]&&s(_,u,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},6718:function(e,t,n){var i=n("e53d"),o=n("584a"),r=n("b8e3"),s=n("ccb9"),a=n("d9f6").f;e.exports=function(e){var t=o.Symbol||(o.Symbol=r?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||a(t,e,{value:s.f(e)})}},"67bb":function(e,t,n){e.exports=n("f921")},6821:function(e,t,n){var i=n("626a"),o=n("be13");e.exports=function(e){return i(o(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"69d3":function(e,t,n){n("6718")("asyncIterator")},"6a99":function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!i(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"6abf":function(e,t,n){var i=n("e6f3"),o=n("1691").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},"6b4c":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"6b54":function(e,t,n){"use strict";n("3846");var i=n("cb7c"),o=n("0bfb"),r=n("9e1e"),s="toString",a=/./[s],c=function(e){n("2aba")(RegExp.prototype,s,e,!0)};n("79e5")(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?c(function(){var e=i(this);return"/".concat(e.source,"/","flags"in e?e.flags:!r&&e instanceof RegExp?o.call(e):void 0)}):a.name!=s&&c(function(){return a.call(this)})},"6c1c":function(e,t,n){n("c367");for(var i=n("e53d"),o=n("35e8"),r=n("481b"),s=n("5168")("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c=l?e?"":void 0:(r=a.charCodeAt(c),r<55296||r>56319||c+1===l||(s=a.charCodeAt(c+1))<56320||s>57343?e?a.charAt(c):r:e?a.slice(c,c+2):s-56320+(r-55296<<10)+65536)}}},7445:function(e,t,n){var i=n("63b6"),o=n("5d6b");i(i.G+i.F*(parseInt!=o),{parseInt:o})},"765d":function(e,t,n){n("6718")("observable")},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"774e":function(e,t,n){e.exports=n("d2d5")},"77f1":function(e,t,n){var i=n("4588"),o=Math.max,r=Math.min;e.exports=function(e,t){return e=i(e),e<0?o(e+t,0):r(e,t)}},"794b":function(e,t,n){e.exports=!n("8e60")&&!n("294c")(function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a})},"79aa":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"7a56":function(e,t,n){"use strict";var i=n("7726"),o=n("86cc"),r=n("9e1e"),s=n("2b4c")("species");e.exports=function(e){var t=i[e];r&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},"7cd6":function(e,t,n){var i=n("40c3"),o=n("5168")("iterator"),r=n("481b");e.exports=n("584a").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||r[i(e)]}},"7d6d":function(e,t,n){var i=n("63b6"),o=n("13c8")(!1);i(i.S,"Object",{values:function(e){return o(e)}})},"7d7b":function(e,t,n){var i=n("e4ae"),o=n("7cd6");e.exports=n("584a").getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return i(t.call(e))}},"7e90":function(e,t,n){var i=n("d9f6"),o=n("e4ae"),r=n("c3a1");e.exports=n("8e60")?Object.defineProperties:function(e,t){o(e);var n,s=r(t),a=s.length,c=0;while(a>c)i.f(e,n=s[c++],t[n]);return e}},"7f20":function(e,t,n){var i=n("86cc").f,o=n("69a8"),r=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,r)&&i(e,r,{configurable:!0,value:t})}},"7f7f":function(e,t,n){var i=n("86cc").f,o=Function.prototype,r=/^\s*function ([^ (]*)/,s="name";s in o||n("9e1e")&&i(o,s,{configurable:!0,get:function(){try{return(""+this).match(r)[1]}catch(e){return""}}})},8378:function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},8436:function(e,t){e.exports=function(){}},"84f2":function(e,t){e.exports={}},"86cc":function(e,t,n){var i=n("cb7c"),o=n("c69a"),r=n("6a99"),s=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(i(e),t=r(t,!0),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"8e60":function(e,t,n){e.exports=!n("294c")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"8f60":function(e,t,n){"use strict";var i=n("a159"),o=n("aebd"),r=n("45f2"),s={};n("35e8")(s,n("5168")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(s,{next:o(1,n)}),r(e,t+" Iterator")}},9003:function(e,t,n){var i=n("6b4c");e.exports=Array.isArray||function(e){return"Array"==i(e)}},9093:function(e,t,n){var i=n("ce10"),o=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},9138:function(e,t,n){e.exports=n("35e8")},9257:function(e,t,n){},9306:function(e,t,n){"use strict";var i=n("c3a1"),o=n("9aa9"),r=n("355d"),s=n("241e"),a=n("335c"),c=Object.assign;e.exports=!c||n("294c")(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=i})?function(e,t){var n=s(e),c=arguments.length,l=1,u=o.f,d=r.f;while(c>l){var h,p=a(arguments[l++]),f=u?i(p).concat(u(p)):i(p),m=f.length,g=0;while(m>g)d.call(p,h=f[g++])&&(n[h]=p[h])}return n}:c},"95d5":function(e,t,n){var i=n("40c3"),o=n("5168")("iterator"),r=n("481b");e.exports=n("584a").isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||r.hasOwnProperty(i(t))}},"9aa9":function(e,t){t.f=Object.getOwnPropertySymbols},"9b43":function(e,t,n){var i=n("d8e8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,o){return e.call(t,n,i,o)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),o=Array.prototype;void 0==o[i]&&n("32e9")(o,i,{}),e.exports=function(e){o[i][e]=!0}},"9def":function(e,t,n){var i=n("4588"),o=Math.min;e.exports=function(e){return e>0?o(i(e),9007199254740991):0}},"9e1c":function(e,t,n){n("7d6d"),e.exports=n("584a").Object.values},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a159:function(e,t,n){var i=n("e4ae"),o=n("7e90"),r=n("1691"),s=n("5559")("IE_PROTO"),a=function(){},c="prototype",l=function(){var e,t=n("1ec9")("iframe"),i=r.length,o="<",s=">";t.style.display="none",n("32fc").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+s+"document.F=Object"+o+"/script"+s),e.close(),l=e.F;while(i--)delete l[c][r[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(a[c]=i(e),n=new a,a[c]=null,n[s]=e):n=l(),void 0===t?n:o(n,t)}},a1ce:function(e,t,n){var i=n("63b6"),o=n("25eb"),r=n("294c"),s=n("e692"),a="["+s+"]",c="​…",l=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),d=function(e,t,n){var o={},a=r(function(){return!!s[e]()||c[e]()!=c}),l=o[e]=a?t(h):s[e];n&&(o[n]=l),i(i.P+i.F*a,"String",o)},h=d.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(u,"")),e};e.exports=d},a3c3:function(e,t,n){var i=n("63b6");i(i.S+i.F,"Object",{assign:n("9306")})},a481:function(e,t,n){n("214f")("replace",2,function(e,t,n){return[function(i,o){"use strict";var r=e(this),s=void 0==i?void 0:i[t];return void 0!==s?s.call(i,r,o):n.call(String(r),i,o)},n]})},a745:function(e,t,n){e.exports=n("f410")},aae3:function(e,t,n){var i=n("d3f4"),o=n("2d95"),r=n("2b4c")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[r])?!!t:"RegExp"==o(e))}},ac6a:function(e,t,n){for(var i=n("cadf"),o=n("0d58"),r=n("2aba"),s=n("7726"),a=n("32e9"),c=n("84f2"),l=n("2b4c"),u=l("iterator"),d=l("toStringTag"),h=c.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=o(p),m=0;m0?o(i(e),9007199254740991):0}},b54a:function(e,t,n){"use strict";n("386b")("link",function(e){return function(t){return e(this,"a","href",t)}})},b8e3:function(e,t){e.exports=!0},b9e9:function(e,t,n){n("7445"),e.exports=n("584a").parseInt},ba92:function(e,t,n){"use strict";var i=n("4bf8"),o=n("77f1"),r=n("9def");e.exports=[].copyWithin||function(e,t){var n=i(this),s=r(n.length),a=o(e,s),c=o(t,s),l=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===l?s:o(l,s))-c,s-a),d=1;c0)c in n?n[a]=n[c]:delete n[a],a+=d,c+=d;return n}},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},bf0b:function(e,t,n){var i=n("355d"),o=n("aebd"),r=n("36c3"),s=n("1bc3"),a=n("07e3"),c=n("794b"),l=Object.getOwnPropertyDescriptor;t.f=n("8e60")?l:function(e,t){if(e=r(e),t=s(t,!0),c)try{return l(e,t)}catch(e){}if(a(e,t))return o(!i.f.call(e,t),e[t])}},c207:function(e,t){},c366:function(e,t,n){var i=n("6821"),o=n("9def"),r=n("77f1");e.exports=function(e){return function(t,n,s){var a,c=i(t),l=o(c.length),u=r(s,l);if(e&&n!=n){while(l>u)if(a=c[u++],a!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}},c367:function(e,t,n){"use strict";var i=n("8436"),o=n("50ed"),r=n("481b"),s=n("36c3");e.exports=n("30f1")(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},c3a1:function(e,t,n){var i=n("e6f3"),o=n("1691");e.exports=Object.keys||function(e){return i(e,o)}},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},c8bb:function(e,t,n){e.exports=n("54a1")},ca5a:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},cadf:function(e,t,n){"use strict";var i=n("9c6c"),o=n("d53b"),r=n("84f2"),s=n("6821");e.exports=n("01f9")(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},cb7c:function(e,t,n){var i=n("d3f4");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},ccb9:function(e,t,n){t.f=n("5168")},cd1c:function(e,t,n){var i=n("e853");e.exports=function(e,t){return new(i(e))(t)}},ce10:function(e,t,n){var i=n("69a8"),o=n("6821"),r=n("c366")(!1),s=n("613b")("IE_PROTO");e.exports=function(e,t){var n,a=o(e),c=0,l=[];for(n in a)n!=s&&i(a,n)&&l.push(n);while(t.length>c)i(a,n=t[c++])&&(~r(l,n)||l.push(n));return l}},d2d5:function(e,t,n){n("1654"),n("549b"),e.exports=n("584a").Array.from},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d864:function(e,t,n){var i=n("79aa");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,o){return e.call(t,n,i,o)}}return function(){return e.apply(t,arguments)}}},d8d6:function(e,t,n){n("1654"),n("6c1c"),e.exports=n("ccb9").f("iterator")},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},d9f6:function(e,t,n){var i=n("e4ae"),o=n("794b"),r=n("1bc3"),s=Object.defineProperty;t.f=n("8e60")?Object.defineProperty:function(e,t,n){if(i(e),t=r(t,!0),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},db0c:function(e,t,n){e.exports=n("9e1c")},dbdb:function(e,t,n){var i=n("584a"),o=n("e53d"),r="__core-js_shared__",s=o[r]||(o[r]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("b8e3")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},dcbc:function(e,t,n){var i=n("2aba");e.exports=function(e,t,n){for(var o in t)i(e,o,t[o],n);return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e4ae:function(e,t,n){var i=n("f772");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},e53d:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e692:function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},e6f3:function(e,t,n){var i=n("07e3"),o=n("36c3"),r=n("5b4e")(!1),s=n("5559")("IE_PROTO");e.exports=function(e,t){var n,a=o(e),c=0,l=[];for(n in a)n!=s&&i(a,n)&&l.push(n);while(t.length>c)i(a,n=t[c++])&&(~r(l,n)||l.push(n));return l}},e814:function(e,t,n){e.exports=n("b9e9")},e853:function(e,t,n){var i=n("d3f4"),o=n("1169"),r=n("2b4c")("species");e.exports=function(e){var t;return o(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!o(t.prototype)||(t=void 0),i(t)&&(t=t[r],null===t&&(t=void 0))),void 0===t?Array:t}},ebd6:function(e,t,n){var i=n("cb7c"),o=n("d8e8"),r=n("2b4c")("species");e.exports=function(e,t){var n,s=i(e).constructor;return void 0===s||void 0==(n=i(s)[r])?t:o(n)}},ebfd:function(e,t,n){var i=n("62a0")("meta"),o=n("f772"),r=n("07e3"),s=n("d9f6").f,a=0,c=Object.isExtensible||function(){return!0},l=!n("294c")(function(){return c(Object.preventExtensions({}))}),u=function(e){s(e,i,{value:{i:"O"+ ++a,w:{}}})},d=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!r(e,i)){if(!c(e))return"F";if(!t)return"E";u(e)}return e[i].i},h=function(e,t){if(!r(e,i)){if(!c(e))return!0;if(!t)return!1;u(e)}return e[i].w},p=function(e){return l&&f.NEED&&c(e)&&!r(e,i)&&u(e),e},f=e.exports={KEY:i,NEED:!1,fastKey:d,getWeak:h,onFreeze:p}},ec30:function(e,t,n){"use strict";if(n("9e1e")){var i=n("2d00"),o=n("7726"),r=n("79e5"),s=n("5ca1"),a=n("0f88"),c=n("ed0b"),l=n("9b43"),u=n("f605"),d=n("4630"),h=n("32e9"),p=n("dcbc"),f=n("4588"),m=n("9def"),g=n("09fa"),v=n("77f1"),b=n("6a99"),y=n("69a8"),_=n("23c6"),M=n("d3f4"),w=n("4bf8"),C=n("33a4"),S=n("2aeb"),A=n("38fd"),E=n("9093").f,O=n("27ee"),L=n("ca5a"),T=n("2b4c"),x=n("0a49"),R=n("c366"),k=n("ebd6"),z=n("cadf"),P=n("84f2"),N=n("5cc5"),I=n("7a56"),D=n("36bd"),B=n("ba92"),q=n("86cc"),j=n("11e9"),W=q.f,F=j.f,H=o.RangeError,X=o.TypeError,U=o.Uint8Array,V="ArrayBuffer",G="Shared"+V,K="BYTES_PER_ELEMENT",$="prototype",Y=Array[$],J=c.ArrayBuffer,Q=c.DataView,Z=x(0),ee=x(2),te=x(3),ne=x(4),ie=x(5),oe=x(6),re=R(!0),se=R(!1),ae=z.values,ce=z.keys,le=z.entries,ue=Y.lastIndexOf,de=Y.reduce,he=Y.reduceRight,pe=Y.join,fe=Y.sort,me=Y.slice,ge=Y.toString,ve=Y.toLocaleString,be=T("iterator"),ye=T("toStringTag"),_e=L("typed_constructor"),Me=L("def_constructor"),we=a.CONSTR,Ce=a.TYPED,Se=a.VIEW,Ae="Wrong length!",Ee=x(1,function(e,t){return Re(k(e,e[Me]),t)}),Oe=r(function(){return 1===new U(new Uint16Array([1]).buffer)[0]}),Le=!!U&&!!U[$].set&&r(function(){new U(1).set({})}),Te=function(e,t){var n=f(e);if(n<0||n%t)throw H("Wrong offset!");return n},xe=function(e){if(M(e)&&Ce in e)return e;throw X(e+" is not a typed array!")},Re=function(e,t){if(!(M(e)&&_e in e))throw X("It is not a typed array constructor!");return new e(t)},ke=function(e,t){return ze(k(e,e[Me]),t)},ze=function(e,t){var n=0,i=t.length,o=Re(e,i);while(i>n)o[n]=t[n++];return o},Pe=function(e,t,n){W(e,t,{get:function(){return this._d[n]}})},Ne=function(e){var t,n,i,o,r,s,a=w(e),c=arguments.length,u=c>1?arguments[1]:void 0,d=void 0!==u,h=O(a);if(void 0!=h&&!C(h)){for(s=h.call(a),i=[],t=0;!(r=s.next()).done;t++)i.push(r.value);a=i}for(d&&c>2&&(u=l(u,arguments[2],2)),t=0,n=m(a.length),o=Re(this,n);n>t;t++)o[t]=d?u(a[t],t):a[t];return o},Ie=function(){var e=0,t=arguments.length,n=Re(this,t);while(t>e)n[e]=arguments[e++];return n},De=!!U&&r(function(){ve.call(new U(1))}),Be=function(){return ve.apply(De?me.call(xe(this)):xe(this),arguments)},qe={copyWithin:function(e,t){return B.call(xe(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return ne(xe(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return D.apply(xe(this),arguments)},filter:function(e){return ke(this,ee(xe(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return ie(xe(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return oe(xe(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Z(xe(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return se(xe(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return re(xe(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return pe.apply(xe(this),arguments)},lastIndexOf:function(e){return ue.apply(xe(this),arguments)},map:function(e){return Ee(xe(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return de.apply(xe(this),arguments)},reduceRight:function(e){return he.apply(xe(this),arguments)},reverse:function(){var e,t=this,n=xe(t).length,i=Math.floor(n/2),o=0;while(o1?arguments[1]:void 0)},sort:function(e){return fe.call(xe(this),e)},subarray:function(e,t){var n=xe(this),i=n.length,o=v(e,i);return new(k(n,n[Me]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,m((void 0===t?i:v(t,i))-o))}},je=function(e,t){return ke(this,me.call(xe(this),e,t))},We=function(e){xe(this);var t=Te(arguments[1],1),n=this.length,i=w(e),o=m(i.length),r=0;if(o+t>n)throw H(Ae);while(r255?255:255&i),o.v[p](n*t+o.o,i,Oe)},T=function(e,t){W(e,t,{get:function(){return O(this,t)},set:function(e){return L(this,t,e)},enumerable:!0})};y?(f=n(function(e,n,i,o){u(e,f,l,"_d");var r,s,a,c,d=0,p=0;if(M(n)){if(!(n instanceof J||(c=_(n))==V||c==G))return Ce in n?ze(f,n):Ne.call(f,n);r=n,p=Te(i,t);var v=n.byteLength;if(void 0===o){if(v%t)throw H(Ae);if(s=v-p,s<0)throw H(Ae)}else if(s=m(o)*t,s+p>v)throw H(Ae);a=s/t}else a=g(n),s=a*t,r=new J(s);h(e,"_d",{b:r,o:p,l:s,e:a,v:new Q(r)});while(d>1,u=23===t?x(2,-24)-x(2,-77):0,d=0,h=e<0||0===e&&1/e<0?1:0;for(e=T(e),e!=e||e===O?(o=e!=e?1:0,i=c):(i=R(k(e)/z),e*(r=x(2,-i))<1&&(i--,r*=2),e+=i+l>=1?u/r:u*x(2,1-l),e*r>=2&&(i++,r/=2),i+l>=c?(o=0,i=c):i+l>=1?(o=(e*r-1)*x(2,t),i+=l):(o=e*x(2,l-1)*x(2,t),i=0));t>=8;s[d++]=255&o,o/=256,t-=8);for(i=i<0;s[d++]=255&i,i/=256,a-=8);return s[--d]|=128*h,s}function W(e,t,n){var i,o=8*n-t-1,r=(1<>1,a=o-7,c=n-1,l=e[c--],u=127&l;for(l>>=7;a>0;u=256*u+e[c],c--,a-=8);for(i=u&(1<<-a)-1,u>>=-a,a+=t;a>0;i=256*i+e[c],c--,a-=8);if(0===u)u=1-s;else{if(u===r)return i?NaN:l?-O:O;i+=x(2,t),u-=s}return(l?-1:1)*i*x(2,u-t)}function F(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function H(e){return[255&e]}function X(e){return[255&e,e>>8&255]}function U(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function V(e){return j(e,52,8)}function G(e){return j(e,23,4)}function K(e,t,n){m(e[_],t,{get:function(){return this[n]}})}function $(e,t,n,i){var o=+n,r=p(o);if(r+t>e[B])throw E(w);var s=e[D]._b,a=r+e[q],c=s.slice(a,a+t);return i?c:c.reverse()}function Y(e,t,n,i,o,r){var s=+n,a=p(s);if(a+t>e[B])throw E(w);for(var c=e[D]._b,l=a+e[q],u=i(+o),d=0;dee;)(J=Z[ee++])in C||a(C,J,L[J]);r||(Q.constructor=C)}var te=new S(new C(2)),ne=S[_].setInt8;te.setInt8(0,2147483648),te.setInt8(1,2147483649),!te.getInt8(0)&&te.getInt8(1)||c(S[_],{setInt8:function(e,t){ne.call(this,e,t<<24>>24)},setUint8:function(e,t){ne.call(this,e,t<<24>>24)}},!0)}else C=function(e){u(this,C,b);var t=p(e);this._b=g.call(new Array(t),0),this[B]=t},S=function(e,t,n){u(this,S,y),u(e,C,y);var i=e[B],o=d(t);if(o<0||o>i)throw E("Wrong offset!");if(n=void 0===n?i-o:h(n),o+n>i)throw E(M);this[D]=e,this[q]=o,this[B]=n},o&&(K(C,N,"_l"),K(S,P,"_b"),K(S,N,"_l"),K(S,I,"_o")),c(S[_],{getInt8:function(e){return $(this,1,e)[0]<<24>>24},getUint8:function(e){return $(this,1,e)[0]},getInt16:function(e){var t=$(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=$(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return F($(this,4,e,arguments[1]))},getUint32:function(e){return F($(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return W($(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return W($(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){Y(this,1,e,H,t)},setUint8:function(e,t){Y(this,1,e,H,t)},setInt16:function(e,t){Y(this,2,e,X,t,arguments[2])},setUint16:function(e,t){Y(this,2,e,X,t,arguments[2])},setInt32:function(e,t){Y(this,4,e,U,t,arguments[2])},setUint32:function(e,t){Y(this,4,e,U,t,arguments[2])},setFloat32:function(e,t){Y(this,4,e,G,t,arguments[2])},setFloat64:function(e,t){Y(this,8,e,V,t,arguments[2])}});v(C,b),v(S,y),a(S[_],s.VIEW,!0),t[b]=C,t[y]=S},f410:function(e,t,n){n("1af6"),e.exports=n("584a").Array.isArray},f605:function(e,t){e.exports=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e}},f772:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},f921:function(e,t,n){n("014b"),n("c207"),n("69d3"),n("765d"),e.exports=n("584a").Symbol},fab2:function(e,t,n){var i=n("7726").document;e.exports=i&&i.documentElement},fb15:function(e,t,n){"use strict";n.r(t);var i,o={};(n.r(o),n.d(o,"forceCenter",function(){return v}),n.d(o,"forceCollide",function(){return X}),n.d(o,"forceLink",function(){return ee}),n.d(o,"forceManyBody",function(){return ze}),n.d(o,"forceRadial",function(){return Pe}),n.d(o,"forceSimulation",function(){return ke}),n.d(o,"forceX",function(){return Ne}),n.d(o,"forceY",function(){return Ie}),"undefined"!==typeof window)&&((i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));n("7f7f");var r=n("a745"),s=n.n(r);function a(e){if(s()(e)){for(var t=0,n=new Array(e.length);t=(r=(m+v)/2))?m=r:v=r,(u=n>=(s=(g+b)/2))?g=s:b=s,o=p,!(p=p[d=u<<1|l]))return o[d]=f,e;if(a=+e._x.call(null,p.data),c=+e._y.call(null,p.data),t===a&&n===c)return f.next=p,o?o[d]=f:e._root=f,e;do{o=o?o[d]=new Array(4):e._root=new Array(4),(l=t>=(r=(m+v)/2))?m=r:v=r,(u=n>=(s=(g+b)/2))?g=s:b=s}while((d=u<<1|l)===(h=(c>=s)<<1|a>=r));return o[h]=p,o[d]=f,e}function w(e){var t,n,i,o,r=e.length,s=new Array(r),a=new Array(r),c=1/0,l=1/0,u=-1/0,d=-1/0;for(n=0;nu&&(u=i),od&&(d=o));for(ue||e>o||i>t||t>r))return this;var s,a,c=o-n,l=this._root;switch(a=(t<(i+r)/2)<<1|e<(n+o)/2){case 0:do{s=new Array(4),s[a]=l,l=s}while(c*=2,o=n+c,r=i+c,e>o||t>r);break;case 1:do{s=new Array(4),s[a]=l,l=s}while(c*=2,n=o-c,r=i+c,n>e||t>r);break;case 2:do{s=new Array(4),s[a]=l,l=s}while(c*=2,o=n+c,i=r-c,e>o||i>t);break;case 3:do{s=new Array(4),s[a]=l,l=s}while(c*=2,n=o-c,i=r-c,n>e||i>t);break}this._root&&this._root.length&&(this._root=l)}return this._x0=n,this._y0=i,this._x1=o,this._y1=r,this},S=function(){var e=[];return this.visit(function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)}),e},A=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},E=function(e,t,n,i,o){this.node=e,this.x0=t,this.y0=n,this.x1=i,this.y1=o},O=function(e,t,n){var i,o,r,s,a,c,l,u=this._x0,d=this._y0,h=this._x1,p=this._y1,f=[],m=this._root;m&&f.push(new E(m,u,d,h,p)),null==n?n=1/0:(u=e-n,d=t-n,h=e+n,p=t+n,n*=n);while(c=f.pop())if(!(!(m=c.node)||(o=c.x0)>h||(r=c.y0)>p||(s=c.x1)=v)<<1|e>=g)&&(c=f[f.length-1],f[f.length-1]=f[f.length-1-l],f[f.length-1-l]=c)}else{var b=e-+this._x.call(null,m.data),y=t-+this._y.call(null,m.data),_=b*b+y*y;if(_=(a=(f+g)/2))?f=a:g=a,(u=s>=(c=(m+v)/2))?m=c:v=c,t=p,!(p=p[d=u<<1|l]))return this;if(!p.length)break;(t[d+1&3]||t[d+2&3]||t[d+3&3])&&(n=t,h=d)}while(p.data!==e)if(i=p,!(p=p.next))return this;return(o=p.next)&&delete p.next,i?(o?i.next=o:delete i.next,this):t?(o?t[d]=o:delete t[d],(p=t[0]||t[1]||t[2]||t[3])&&p===(t[3]||t[2]||t[1]||t[0])&&!p.length&&(n?n[h]=p:this._root=p),this):(this._root=o,this)};function T(e){for(var t=0,n=e.length;tc+p||ol+p||ra.index){var f=c-s.x-s.vx,m=l-s.y-s.vy,g=f*f+m*m;ge.r&&(e.r=e[t].r)}function a(){if(t){var i,o,r=t.length;for(n=new Array(r),i=0;i=0&&(n=e.slice(i+1),e=e.slice(0,i)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:n}})}function re(e,t){for(var n,i=0,o=e.length;i0)for(var n,i,o=new Array(n),r=0;r=0&&t._call.call(null,e),t=t._next;--ue}function Se(){me=(fe=ve.now())+ge,ue=de=0;try{Ce()}finally{ue=0,Ee(),me=0}}function Ae(){var e=ve.now(),t=e-fe;t>pe&&(ge-=t,fe=e)}function Ee(){var e,t,n=ae,i=1/0;while(n)n._call?(i>n._time&&(i=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:ae=t);ce=e,Oe(i)}function Oe(e){if(!ue){de&&(de=clearTimeout(de));var t=e-me;t>24?(e<1/0&&(de=setTimeout(Se,e-ve.now()-ge)),he&&(he=clearInterval(he))):(he||(fe=ve.now(),he=setInterval(Ae,pe)),ue=1,be(Se))}}Me.prototype=we.prototype={constructor:Me,restart:function(e,t,n){if("function"!==typeof e)throw new TypeError("callback is not a function");n=(null==n?ye():+n)+(null==t?0:+t),this._next||ce===this||(ce?ce._next=this:ae=this,ce=this),this._call=e,this._time=n,Oe()},stop:function(){this._call&&(this._call=null,this._time=1/0,Oe())}};function Le(e){return e.x}function Te(e){return e.y}var xe=10,Re=Math.PI*(3-Math.sqrt(5)),ke=function(e){var t,n=1,i=.001,o=1-Math.pow(i,1/300),r=0,s=.6,a=K(),c=we(u),l=le("tick","end");function u(){d(),l.call("tick",t),n1?(null==n?a.remove(e):a.set(e,p(n)),t):a.get(e)},find:function(t,n,i){var o,r,s,a,c,l=0,u=e.length;for(null==i?i=1/0:i*=i,l=0;l1?(l.on(e,n),t):l.on(e)}}},ze=function(){var e,t,n,i,o=b(-30),r=1,s=1/0,a=.81;function c(i){var o,r=e.length,s=B(e,Le,Te).visitAfter(u);for(n=i,o=0;o=s)){(e.data!==t||e.next)&&(0===u&&(u=y(),p+=u*u),0===d&&(d=y(),p+=d*d),p=0;n--){var i=e.attributes[n];i&&(t[i.name]=i.value)}var o=e.innerHTML;if(o)return{attrs:t,data:o}}return null},svgElFromString:function(e){var t=this.toDom(e);if(this.isSvgData(t))return t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t},svgDataToUrl:function(e,t){if("object"===Ve(t))for(var n in t){var i=t[n]?t[n]:"";e.setAttribute(n,i)}var o=this.export(e);return o?this.svgToUrl(this.serialize(o)):null},isSvgData:function(e){return!!e.firstChild&&"svg"===e.firstChild.parentNode.nodeName},svgToUrl:function(e){var t=new Blob([e],{type:"image/svg+xml"}),n=URL.createObjectURL(t);return n}},Qe={name:"svg-renderer",props:["size","nodes","noNodes","selected","linksSelected","links","nodeSize","padding","fontSize","strLinks","linkWidth","nodeLabels","linkLabels","labelOffset","nodeSym"],computed:{nodeSvg:function(){return this.nodeSym?Je.toObject(this.nodeSym):null}},methods:{getNodeSize:function(e,t){var n=e._size||this.nodeSize;return t&&(n=e["_"+t]||n),n},svgIcon:function(e){return e.svgObj||this.nodeSvg},emit:function(e,t){this.$emit("action",e,t)},svgScreenShot:function(e,t,n,i){var o=Je.export(this.$refs.svg,i);if(t)e(null,Je.save(o));else{n||(n=this.searchBackground());var r=Je.makeCanvas(this.size.w,this.size.h,n);Je.svgToImg(o,r,function(t,n){t?e(t):e(null,n)})}},linkClass:function(e){var t=["link"];return this.linksSelected.hasOwnProperty(e)&&t.push("selected"),this.strLinks||t.push("curve"),t},linkPath:function(e){var t={M:[0|e.source.x,0|e.source.y],X:[0|e.target.x,0|e.target.y]};return this.strLinks?"M "+t.M.join(" ")+" L"+t.X.join(" "):(t.Q=[e.source.x,e.target.y],"M "+t.M+" Q "+t.Q.join(" ")+" "+t.X)},nodeStyle:function(e){return e._color?"fill: "+e._color:""},linkStyle:function(e){var t={};return e._color&&(t.stroke=e._color),t},nodeClass:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e._cssClass?e._cssClass:[];return s()(n)||(n=[n]),n.push("node"),t.forEach(function(e){return n.push(e)}),this.selected[e.id]&&n.push("selected"),(e.fx||e.fy)&&n.push("pinned"),n},searchBackground:function(){var e=this;while(e.$parent){var t=window.getComputedStyle(e.$el),n=t.getPropertyValue("background-color"),i=n.replace(/[^\d,]/g,"").split(","),o=i.reduce(function(e,t){return je()(e)+je()(t)},0);if(o>0)return n;e=e.$parent}return"white"},spriteSymbol:function(){var e=this.nodeSym;if(e)return Je.toSymbol(e)},linkAttrs:function(e){var t=e._svgAttrs||{};return t["stroke-width"]=t["stroke-width"]||this.linkWidth,t}}},Ze=Qe;function et(e,t,n,i,o,r,s,a){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),s?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=c):o&&(c=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}var tt,nt,it=et(Ze,De,Be,!1,null,null,null),ot=it.exports,rt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("canvas",{directives:[{name:"render-canvas",rawName:"v-render-canvas",value:{links:e.links,nodes:e.nodes},expression:"{links, nodes}"}],ref:"canvas",style:e.canvasStyle,attrs:{id:"canvas",width:e.size.w,height:e.size.h},on:{mouseup:function(t){return t.preventDefault(),e.canvasClick(t)},mousedown:function(t){return t.preventDefault(),e.canvasClick(t)},touchstart:function(t){return t.preventDefault(),e.canvasClick(t)},"&touchend":function(t){return e.canvasClick(t)}}})},st=[],at=(n("b54a"),n("6c7b"),{background:{_cssClass:"net-svg",fillStyle:"white"},node:{_cssClass:"node",fillStyle:"green",strokeStyle:"orange",lineWidth:2},link:{_cssClass:"link",strokeStyle:"blue",lineWidth:1},labels:{_cssClass:"node-label",_svgElement:"text",fillStyle:"black",fontFamily:"Arial"},nodeSelected:{_cssClass:"node selected",fillStyle:"red",strokeStyle:"orange",lineWidth:2},linkSelected:{_cssClass:"link selected",strokeStyle:"green",lineWidth:2},nodePinned:{_cssClass:"node pinned",fillStyle:"green",strokeStyle:"red"},nodeSelectedPinned:{_cssClass:"node selected pinned",fillStyle:"green",strokeStyle:"red"}}),ct=(n("6b54"),{randomId:function(){return Math.random().toString(36).substring(7)},fillStyle:function(e,t){var n=null,i="picker-"+this.randomId(),o=this.canvasPicker(e,i);t.appendChild(o);var r={fillStyle:"fill",strokeStyle:"stroke",lineWidth:"stroke-width",fontFamily:"font-family"};return e=this.mapStyle(i,r,e,n),t.removeChild(o),e},mapStyle:function(e,t,n,i,o){var r=window.getComputedStyle(document.getElementById(e),i);for(var s in o=o||["lineWidth"],t){var a=r.getPropertyValue(t[s]);o.indexOf(s)>-1&&(a=je()(a,10)),a&&(n[s]=a)}return n},canvasPicker:function(e,t){var n=e._svgAttrs||{},i=e._svgElement||"circle";if(!e._svgAttrs)switch(i){case"text":n={x:10,y:10,fontSize:20};break;case"circle":n={cx:10,cy:10,r:10};break}return n.class=e._cssClass,n.id=t,this.svgCreate(i,n)},compColor:function(e){var t=document.createElement("div");t.style.backgroundColor=e,document.body.appendChild(t);var n=window.getComputedStyle(t,null).getPropertyValue("background-color");return document.body.removeChild(t),n},svgCreate:function(e,t){var n=document.createElementNS("http://www.w3.org/2000/svg",e);for(var i in t)n.setAttributeNS(null,i,t[i]);return n},create:function(e,t,n){n=n||"body";var i=document.createElement(e),o=t||"";return o+=this.randomId(),i.setAttribute("id",o),document[n].appendChild(i),i}}),lt={name:"canvas-renderer",props:["size","offset","padding","nodes","selected","linksSelected","links","nodeSize","fontSize","strLinks","linkWidth","nodeLabels","labelOffset","canvasStyles","nodeSym","noNodes"],data:function(){return{hitCanvas:null,shapes:{},drag:null,stylesReady:!1,CssStyles:!0,styles:at,sprites:{}}},computed:{nodeSvg:function(){return this.nodeSym},canvasStyle:function(){var e=this.padding.x+"px",t=this.padding.y+"px";return{left:e,top:t}}},directives:{renderCanvas:function(e,t,n){var i=t.value.nodes,o=t.value.links;n.context.draw(i,o,e)}},created:function(){if(this.canvasStyles)for(var e in this.canvasStyles)this.styles[e]=this.canvasStyles[e]},mounted:function(){var e=this;this.$nextTick(function(){e.hitCanvas.width=e.size.w,e.hitCanvas.height=e.size.h})},watch:{nodeSize:function(){this.resetSprites()},canvasStyles:function(){this.resetSprites()}},methods:{canvasScreenShot:function(e,t){var n=this.$refs.canvas,i=document.createElement("canvas");i.width=n.width,i.height=n.height;var o=this.styles.background;t&&(o=this.getCssColor(t));var r=i.getContext("2d");r=this.setCtx(r,o),r.fillRect(0,0,i.width,i.height),r.drawImage(n,0,0);var s=i.toDataURL("image/png");s?e(null,s):e(new Error("error generating canvas image"))},emit:function(e,t){this.$emit("action",e,t)},canvasInit:function(){var e=document.createElement("canvas");e.width=this.size.w,e.height=this.size.h,e.top=this.offset.y,e.left=this.offset.x,e.id="hit-canvas",this.hitCanvas=e,this.resetSprites()},resetSprites:function(){this.sprites={};for(var e=["node","nodeSelected","nodePinned","nodeSelectedPinned"],t=0;t0&&e.y>0&&e.x0&&(i.data[r]=255,i.data[r-3]=t.r,i.data[r-2]=t.g,i.data[r-1]=t.b);return n.putImageData(i,0,0),e},newColorIndex:function(){while(1){var e=this.randomColor();if(!this.shapes[e.rgb])return e}},randomColor:function(){var e=Math.round(255*Math.random()),t=Math.round(255*Math.random()),n=Math.round(255*Math.random());return{r:e,g:t,b:n,rgb:"rgb(".concat(e,",").concat(t,",").concat(n,")")}},setCtx:function(e,t){for(var n in t)e[n]=t[n];return e},cloneCanvas:function(e){var t=document.createElement("canvas"),n=t.getContext("2d");return t.width=e.width,t.height=e.height,n.drawImage(e,0,0),t},Sprite:function(e,t){return this.sprites[e]||(this.sprites[e]=t()),this.sprites[e]},getCssStyles:function(){var e=ct.create("svg","css-picker");for(var t in this.styles){var n=this.styles[t]||{};n=ct.fillStyle(n,e)}document.body.removeChild(e),this.stylesReady=!0},loadNodeStyle:function(e){var t="node",n=this.selected[e.id];if(n&&(t="nodeSelected"),e.pinned&&(t="nodePinned"),n&&e.pinned&&(t="nodeSelectedPinned"),e._cssClass){var i=t+"-"+e._cssClass;if(!this.styles[i]){var o=g()({},this.styles[t]||{});o._cssClass=o._cssClass||"",o._cssClass+=" "+e._cssClass,this.updateStyle(i,o)}t=i}var r=g()({},this.styles[t]||this.updateStyle(t));return e._color&&(r.fillStyle=e._color,r._cssStyle="fill:"+e._color),e._cssClass&&(r._cssClass+=" "+e._cssClass),r},updateStyle:function(e,t){t=t||this.styles[e]||{};var n=ct.create("svg","css-picker");return t=ct.fillStyle(t,n),this.styles[e]=t,document.body.removeChild(n),t},getCssColor:function(e){var t=ct.create("div","color-picker"),n=t.id;t.setAttribute("style","background-color:"+e);var i=ct.mapStyle(n,{fillStyle:"background-color"},[]);return document.body.removeChild(t),i},labelStyle:function(e){var t=this.styles.labels,n=e._labelClass;if(n){var i="labels-"+n,o=this.styles[i];o||(o=g()({},t),o._cssClass+=" "+n,o=this.updateStyle(i,o)),t=o}return t}}},ut=lt,dt=(n("3d11"),et(ut,rt,st,!1,null,null,null)),ht=dt.exports,pt=(n("34ef"),{save:function(e,t){var n=this;e&&(e=this.dataURIToBlob(e,function(e){var i=URL.createObjectURL(e);n.download(i,t)}))},dataURIToBlob:function(e,t){for(var n=atob(e.split(",")[1]),i=n.length,o=new Uint8Array(i),r=0;r=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),c=n("9757"),l=n("3a92"),u=n("6923"),d=n("3585"),h=n("168d"),p=n("cc26"),f=function(){function e(t,n){void 0===t&&(t=[]),void 0===n&&(n=[]),this.elementsToActivate=t,this.elementsToDeactivate=n,this.kind=e.KIND}return e.KIND="switchEditMode",e}();t.SwitchEditModeAction=f;var m=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n.elementsToActivate=[],n.elementsToDeactivate=[],n.handlesToRemove=[],n}return i(t,e),t.prototype.execute=function(e){var t=this,n=e.root.index;return this.action.elementsToActivate.forEach(function(e){var i=n.getById(e);void 0!==i&&t.elementsToActivate.push(i)}),this.action.elementsToDeactivate.forEach(function(e){var i=n.getById(e);if(void 0!==i&&t.elementsToDeactivate.push(i),i instanceof d.SRoutingHandle&&i.parent instanceof d.SRoutableElement){var o=i.parent;t.shouldRemoveHandle(i,o)&&(t.handlesToRemove.push({handle:i,parent:o}),t.elementsToDeactivate.push(o),t.elementsToActivate.push(o))}}),this.doExecute(e)},t.prototype.doExecute=function(e){var t=this;return this.handlesToRemove.forEach(function(e){e.point=e.parent.routingPoints.splice(e.handle.pointIndex,1)[0]}),this.elementsToDeactivate.forEach(function(e){e instanceof d.SRoutableElement?e.removeAll(function(e){return e instanceof d.SRoutingHandle}):e instanceof d.SRoutingHandle&&(e.editMode=!1,e.danglingAnchor&&e.parent instanceof d.SRoutableElement&&e.danglingAnchor.original&&(e.parent.source===e.danglingAnchor?e.parent.sourceId=e.danglingAnchor.original.id:e.parent.target===e.danglingAnchor&&(e.parent.targetId=e.danglingAnchor.original.id),e.danglingAnchor.parent.remove(e.danglingAnchor),e.danglingAnchor=void 0))}),this.elementsToActivate.forEach(function(e){if(p.canEditRouting(e)&&e instanceof l.SParentElement){var n=t.edgeRouterRegistry.get(e.routerKind);n.createRoutingHandles(e)}else e instanceof d.SRoutingHandle&&(e.editMode=!0)}),e.root},t.prototype.shouldRemoveHandle=function(e,t){if("junction"===e.kind){var n=this.edgeRouterRegistry.get(t.routerKind),i=n.route(t);return void 0===i.find(function(t){return t.pointIndex===e.pointIndex})}return!1},t.prototype.undo=function(e){var t=this;return this.handlesToRemove.forEach(function(e){void 0!==e.point&&e.parent.routingPoints.splice(e.handle.pointIndex,0,e.point)}),this.elementsToActivate.forEach(function(e){e instanceof d.SRoutableElement?e.removeAll(function(e){return e instanceof d.SRoutingHandle}):e instanceof d.SRoutingHandle&&(e.editMode=!1)}),this.elementsToDeactivate.forEach(function(e){if(p.canEditRouting(e)){var n=t.edgeRouterRegistry.get(e.routerKind);n.createRoutingHandles(e)}else e instanceof d.SRoutingHandle&&(e.editMode=!0)}),e.root},t.prototype.redo=function(e){return this.doExecute(e)},t.KIND=f.KIND,o([a.inject(h.EdgeRouterRegistry),r("design:type",h.EdgeRouterRegistry)],t.prototype,"edgeRouterRegistry",void 0),t=o([a.injectable(),s(0,a.inject(u.TYPES.Action)),r("design:paramtypes",[f])],t),t}(c.Command);t.SwitchEditModeCommand=m},a663:function(e,t,n){"use strict";var i=n("84fd"),o=n.n(i);o.a},a8af:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3");function o(e){return e instanceof RangeError||e.message===i.STACK_OVERFLOW}t.isStackOverflowExeption=o},a8f0:function(e,t,n){var i=n("b639"),o=i.Buffer;function r(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=i:(r(i,t),t.Buffer=s),r(o,s),s.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},s.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var i=o(e);return void 0!==t?"string"===typeof n?i.fill(t,n):i.fill(t):i.fill(0),i},s.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return o(e)},s.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}},ab71:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var o=n("869e"),r=n("dd02"),s=n("e1c6"),a=n("d8f5"),c=function(){function e(){}return Object.defineProperty(e.prototype,"kind",{get:function(){return a.PolylineEdgeRouter.KIND+":"+o.ELLIPTIC_ANCHOR_KIND},enumerable:!0,configurable:!0}),e.prototype.getAnchor=function(e,t,n){void 0===n&&(n=0);var i=e.bounds,o=r.center(i),s=o.x-t.x,a=o.y-t.y,c=Math.sqrt(s*s+a*a),l=s/c||0,u=a/c||0;return{x:o.x-l*(.5*i.width+n),y:o.y-u*(.5*i.height+n)}},e=i([s.injectable()],e),e}();t.EllipseAnchor=c;var l=function(){function e(){}return Object.defineProperty(e.prototype,"kind",{get:function(){return a.PolylineEdgeRouter.KIND+":"+o.RECTANGULAR_ANCHOR_KIND},enumerable:!0,configurable:!0}),e.prototype.getAnchor=function(e,t,n){void 0===n&&(n=0);var i=e.bounds,o=r.center(i),s=new u(o,t);if(!r.almostEquals(o.y,t.y)){var a=this.getXIntersection(i.y,o,t);a>=i.x&&a<=i.x+i.width&&s.addCandidate(a,i.y-n);var c=this.getXIntersection(i.y+i.height,o,t);c>=i.x&&c<=i.x+i.width&&s.addCandidate(c,i.y+i.height+n)}if(!r.almostEquals(o.x,t.x)){var l=this.getYIntersection(i.x,o,t);l>=i.y&&l<=i.y+i.height&&s.addCandidate(i.x-n,l);var d=this.getYIntersection(i.x+i.width,o,t);d>=i.y&&d<=i.y+i.height&&s.addCandidate(i.x+i.width+n,d)}return s.best},e.prototype.getXIntersection=function(e,t,n){var i=(e-t.y)/(n.y-t.y);return(n.x-t.x)*i+t.x},e.prototype.getYIntersection=function(e,t,n){var i=(e-t.x)/(n.x-t.x);return(n.y-t.y)*i+t.y},e=i([s.injectable()],e),e}();t.RectangleAnchor=l;var u=function(){function e(e,t){this.centerPoint=e,this.refPoint=t,this.currentDist=-1}return e.prototype.addCandidate=function(e,t){var n=this.refPoint.x-e,i=this.refPoint.y-t,o=n*n+i*i;(this.currentDist<0||o=this.dragVertexDelay_?(this.downPx_=t.pixel,this.shouldHandle_=!this.freehand_,n=!0):this.lastDragTime_=void 0,this.shouldHandle_&&void 0!==this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0)}return this.freehand_&&t.type===r["a"].POINTERDRAG&&null!==this.sketchFeature_?(this.addToDrawing_(t),o=!1):this.freehand_&&t.type===r["a"].POINTERDOWN?o=!1:n?(o=t.type===r["a"].POINTERMOVE,o&&this.freehand_?o=this.handlePointerMove_(t):(t.pointerEvent.pointerType==y["b"]||t.type===r["a"].POINTERDRAG&&void 0===this.downTimeout_)&&this.handlePointerMove_(t)):t.type===r["a"].DBLCLICK&&(o=!1),e.prototype.handleEvent.call(this,t)&&o},t.prototype.handleDownEvent=function(e){return this.shouldHandle_=!this.freehand_,this.freehand_?(this.downPx_=e.pixel,this.finishCoordinate_||this.startDrawing_(e),!0):!!this.condition_(e)&&(this.lastDragTime_=Date.now(),this.downTimeout_=setTimeout(function(){this.handlePointerMove_(new s["a"](r["a"].POINTERMOVE,e.map,e.pointerEvent,!1,e.frameState))}.bind(this),this.dragVertexDelay_),this.downPx_=e.pixel,!0)},t.prototype.handleUpEvent=function(e){var t=!0;this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0),this.handlePointerMove_(e);var n=this.mode_===O.CIRCLE;return this.shouldHandle_?(this.finishCoordinate_?this.freehand_||n?this.finishDrawing():this.atFinish_(e)?this.finishCondition_(e)&&this.finishDrawing():this.addToDrawing_(e):(this.startDrawing_(e),this.mode_===O.POINT&&this.finishDrawing()),t=!1):this.freehand_&&(this.finishCoordinate_=null,this.abortDrawing_()),!t&&this.stopClick_&&e.stopPropagation(),t},t.prototype.handlePointerMove_=function(e){if(this.downPx_&&(!this.freehand_&&this.shouldHandle_||this.freehand_&&!this.shouldHandle_)){var t=this.downPx_,n=e.pixel,i=t[0]-n[0],o=t[1]-n[1],r=i*i+o*o;if(this.shouldHandle_=this.freehand_?r>this.squaredClickTolerance_:r<=this.squaredClickTolerance_,!this.shouldHandle_)return!0}return this.finishCoordinate_?this.modifyDrawing_(e):this.createOrUpdateSketchPoint_(e),!0},t.prototype.atFinish_=function(e){var t=!1;if(this.sketchFeature_){var n=!1,i=[this.finishCoordinate_];if(this.mode_===O.LINE_STRING)n=this.sketchCoords_.length>this.minPoints_;else if(this.mode_===O.POLYGON){var o=this.sketchCoords_;n=o[0].length>this.minPoints_,i=[o[0][0],o[0][o[0].length-2]]}if(n)for(var r=e.map,s=0,a=i.length;s=this.maxPoints_&&(this.freehand_?n.pop():t=!0),n.push(i.slice()),this.geometryFunction_(n,o)):this.mode_===O.POLYGON&&(n=this.sketchCoords_[0],n.length>=this.maxPoints_&&(this.freehand_?n.pop():t=!0),n.push(i.slice()),t&&(this.finishCoordinate_=n[0]),this.geometryFunction_(this.sketchCoords_,o)),this.updateSketchFeatures_(),t&&this.finishDrawing()},t.prototype.removeLastPoint=function(){if(this.sketchFeature_){var e,t,n=this.sketchFeature_.getGeometry();this.mode_===O.LINE_STRING?(e=this.sketchCoords_,e.splice(-2,1),this.geometryFunction_(e,n),e.length>=2&&(this.finishCoordinate_=e[e.length-2].slice())):this.mode_===O.POLYGON&&(e=this.sketchCoords_[0],e.splice(-2,1),t=this.sketchLine_.getGeometry(),t.setCoordinates(e),this.geometryFunction_(this.sketchCoords_,n)),0===e.length&&(this.finishCoordinate_=null),this.updateSketchFeatures_()}},t.prototype.finishDrawing=function(){var e=this.abortDrawing_();if(e){var t=this.sketchCoords_,n=e.getGeometry();this.mode_===O.LINE_STRING?(t.pop(),this.geometryFunction_(t,n)):this.mode_===O.POLYGON&&(t[0].pop(),this.geometryFunction_(t,n),t=n.getCoordinates()),this.type_===f["a"].MULTI_POINT?e.setGeometry(new v["a"]([t])):this.type_===f["a"].MULTI_LINE_STRING?e.setGeometry(new g["a"]([t])):this.type_===f["a"].MULTI_POLYGON&&e.setGeometry(new b["a"]([t])),this.dispatchEvent(new T(L.DRAWEND,e)),this.features_&&this.features_.push(e),this.source_&&this.source_.addFeature(e)}},t.prototype.abortDrawing_=function(){this.finishCoordinate_=null;var e=this.sketchFeature_;return e&&(this.sketchFeature_=null,this.sketchPoint_=null,this.sketchLine_=null,this.overlay_.getSource().clear(!0)),e},t.prototype.extend=function(e){var t=e.getGeometry(),n=t;this.sketchFeature_=e,this.sketchCoords_=n.getCoordinates();var i=this.sketchCoords_[this.sketchCoords_.length-1];this.finishCoordinate_=i.slice(),this.sketchCoords_.push(i.slice()),this.updateSketchFeatures_(),this.dispatchEvent(new T(L.DRAWSTART,this.sketchFeature_))},t.prototype.updateSketchFeatures_=function(){var e=[];this.sketchFeature_&&e.push(this.sketchFeature_),this.sketchLine_&&e.push(this.sketchLine_),this.sketchPoint_&&e.push(this.sketchPoint_);var t=this.overlay_.getSource();t.clear(!0),t.addFeatures(e)},t.prototype.updateState_=function(){var e=this.getMap(),t=this.getActive();e&&t||this.abortDrawing_(),this.overlay_.setMap(t?e:null)},t}(w["b"]);function R(){var e=Object(E["b"])();return function(t,n){return e[t.getGeometry().getType()]}}function k(e){var t;return e===f["a"].POINT||e===f["a"].MULTI_POINT?t=O.POINT:e===f["a"].LINE_STRING||e===f["a"].MULTI_LINE_STRING?t=O.LINE_STRING:e===f["a"].POLYGON||e===f["a"].MULTI_POLYGON?t=O.POLYGON:e===f["a"].CIRCLE&&(t=O.CIRCLE),t}t["a"]=x},ac2a:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("9757"),c=n("3a92"),l=n("e1c6"),u=n("6923"),d=function(){function e(t,n){this.containerId=t,this.elementSchema=n,this.kind=e.KIND}return e.KIND="createElement",e}();t.CreateElementAction=d;var h=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){var t=e.root.index.getById(this.action.containerId);return t instanceof c.SParentElement&&(this.container=t,this.newElement=e.modelFactory.createElement(this.action.elementSchema),this.container.add(this.newElement)),e.root},t.prototype.undo=function(e){return this.container.remove(this.newElement),e.root},t.prototype.redo=function(e){return this.container.add(this.newElement),e.root},t.KIND=d.KIND,t=o([l.injectable(),s(0,l.inject(u.TYPES.Action)),r("design:paramtypes",[d])],t),t}(a.Command);t.CreateElementCommand=h},ac8e:function(e,t,n){},ad0b:function(e,t,n){"use strict";var i=n("d988"),o=n.n(i);o.a},ad71:function(e,t,n){"use strict";(function(t,i){var o=n("966d");e.exports=w;var r,s=n("e3db");w.ReadableState=M;n("faa1").EventEmitter;var a=function(e,t){return e.listeners(t).length},c=n("429b"),l=n("a8f0").Buffer,u=t.Uint8Array||function(){};function d(e){return l.from(e)}function h(e){return l.isBuffer(e)||e instanceof u}var p=Object.create(n("3a7c"));p.inherits=n("3fb5");var f=n(2),m=void 0;m=f&&f.debuglog?f.debuglog("stream"):function(){};var g,v=n("5e1a"),b=n("4681");p.inherits(w,c);var y=["error","close","destroy","pause","resume"];function _(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?s(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function M(e,t){r=r||n("b19a"),e=e||{};var i=t instanceof r;this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,s=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:i&&(s||0===s)?s:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(g||(g=n("7d72").StringDecoder),this.decoder=new g(e.encoding),this.encoding=e.encoding)}function w(e){if(r=r||n("b19a"),!(this instanceof w))return new w(e);this._readableState=new M(e,this),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function C(e,t,n,i,o){var r,s=e._readableState;null===t?(s.reading=!1,x(e,s)):(o||(r=A(s,t)),r?e.emit("error",r):s.objectMode||t&&t.length>0?("string"===typeof t||s.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=d(t)),i?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):S(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?S(e,s,t,!1):z(e,s)):S(e,s,t,!1))):i||(s.reading=!1));return E(s)}function S(e,t,n,i){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&R(e)),z(e,t)}function A(e,t){var n;return h(t)||"string"===typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function E(e){return!e.ended&&(e.needReadable||e.length=O?e=O:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function T(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=L(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,R(e)}}function R(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(m("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?o.nextTick(k,e):k(e))}function k(e){m("emit readable"),e.emit("readable"),q(e)}function z(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(P,e,t))}function P(e,t){var n=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=W(e,t.buffer,t.decoder),n);var n}function W(e,t,n){var i;return er.length?r.length:e;if(s===r.length?o+=r:o+=r.slice(0,e),e-=s,0===e){s===r.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=r.slice(s));break}++i}return t.length-=i,o}function H(e,t){var n=l.allocUnsafe(e),i=t.head,o=1;i.data.copy(n),e-=i.data.length;while(i=i.next){var r=i.data,s=e>r.length?r.length:e;if(r.copy(n,n.length-e,0,s),e-=s,0===e){s===r.length?(++o,i.next?t.head=i.next:t.head=t.tail=null):(t.head=i,i.data=r.slice(s));break}++o}return t.length-=o,n}function X(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,o.nextTick(U,t,e))}function U(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function V(e,t){for(var n=0,i=e.length;n=t.highWaterMark||t.ended))return m("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?X(this):R(this),null;if(e=T(e,t),0===e&&t.ended)return 0===t.length&&X(this),null;var i,o=t.needReadable;return m("need readable",o),(0===t.length||t.length-e0?j(e,t):null,null===i?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&X(this)),null!==i&&this.emit("data",i),i},w.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},w.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e);break}r.pipesCount+=1,m("pipe count=%d opts=%j",r.pipesCount,t);var s=(!t||!1!==t.end)&&e!==i.stdout&&e!==i.stderr,c=s?u:M;function l(e,t){m("onunpipe"),e===n&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,p())}function u(){m("onend"),e.end()}r.endEmitted?o.nextTick(c):n.once("end",c),e.on("unpipe",l);var d=N(n);e.on("drain",d);var h=!1;function p(){m("cleanup"),e.removeListener("close",b),e.removeListener("finish",y),e.removeListener("drain",d),e.removeListener("error",v),e.removeListener("unpipe",l),n.removeListener("end",u),n.removeListener("end",M),n.removeListener("data",g),h=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||d()}var f=!1;function g(t){m("ondata"),f=!1;var i=e.write(t);!1!==i||f||((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==V(r.pipes,e))&&!h&&(m("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,f=!0),n.pause())}function v(t){m("onerror",t),M(),e.removeListener("error",v),0===a(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",y),M()}function y(){m("onfinish"),e.removeListener("close",b),M()}function M(){m("unpipe"),n.unpipe(e)}return n.on("data",g),_(e,"error",v),e.once("close",b),e.once("finish",y),e.emit("pipe",n),r.flowing||(m("pipe resume"),n.resume()),e},w.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var i=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var r=0;r=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var o=n("e1c6"),r=n("66f9"),s=function(){function e(){}return Object.defineProperty(e.prototype,"gridX",{get:function(){return 10},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gridY",{get:function(){return 10},enumerable:!0,configurable:!0}),e.prototype.snap=function(e,t){return t&&r.isBoundsAware(t)?{x:Math.round((e.x+.5*t.bounds.width)/this.gridX)*this.gridX-.5*t.bounds.width,y:Math.round((e.y+.5*t.bounds.height)/this.gridY)*this.gridY-.5*t.bounds.height}:{x:Math.round(e.x/this.gridX)*this.gridX,y:Math.round(e.y/this.gridY)*this.gridY}},e=i([o.injectable()],e),e}();t.CenterGridSnapper=s},aff7:function(e,t,n){"use strict";var i=n("7bae"),o=n.n(i);o.a},b093:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),s=n("6923"),a=n("0d7a"),c=n("e45b"),l=function(){function e(){}return e.prototype.decorate=function(e,t){var n=c.getAttrs(e);return void 0!==n.id&&this.logger.warn(e,"Overriding id of vnode ("+n.id+"). Make sure not to set it manually in view."),n.id=this.domHelper.createUniqueDOMElementId(t),e.key||(e.key=t.id),e},e.prototype.postUpdate=function(){},i([r.inject(s.TYPES.ILogger),o("design:type",Object)],e.prototype,"logger",void 0),i([r.inject(s.TYPES.DOMHelper),o("design:type",a.DOMHelper)],e.prototype,"domHelper",void 0),e=i([r.injectable()],e),e}();t.IdPostprocessor=l},b19a:function(e,t,n){"use strict";var i=n("966d"),o=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var r=Object.create(n("3a7c"));r.inherits=n("3fb5");var s=n("ad71"),a=n("dc14");r.inherits(d,s);for(var c=o(a.prototype),l=0;lt.getMaxResolution()||v=0?e:"children"}}]),l}(e);return window["ol"]&&window["ol"]["control"]&&(window["ol"]["control"]["LayerSwitcher"]=l),l})},b485:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("3b4c"),r=n("3623"),s=n("1f89"),a=function(){function e(t){this.elementId=t,this.kind=e.KIND}return e.KIND="open",e}();t.OpenAction=a;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.doubleClick=function(e,t){var n=r.findParentByFeature(e,s.isOpenable);return void 0!==n?[new a(n.id)]:[]},t}(o.MouseListener);t.OpenMouseListener=c},b669:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("fba3");function o(e,t){for(var n=[],o=2;o=0)return!1;if(e.metaKey!==n.findIndex(function(e){return"meta"===e||"ctrlCmd"===e})>=0)return!1}else{if(e.ctrlKey!==n.findIndex(function(e){return"ctrl"===e||"ctrlCmd"===e})>=0)return!1;if(e.metaKey!==n.findIndex(function(e){return"meta"===e})>=0)return!1}return e.altKey===n.findIndex(function(e){return"alt"===e})>=0&&e.shiftKey===n.findIndex(function(e){return"shift"===e})>=0}function r(e){if(e.keyCode){var t=s[e.keyCode];if(void 0!==t)return t}return e.code}t.matchesKeystroke=o,t.getActualCode=r;var s=new Array(256);(function(){function e(e,t){void 0===s[t]&&(s[t]=e)}e("Pause",3),e("Backspace",8),e("Tab",9),e("Enter",13),e("ShiftLeft",16),e("ShiftRight",16),e("ControlLeft",17),e("ControlRight",17),e("AltLeft",18),e("AltRight",18),e("CapsLock",20),e("Escape",27),e("Space",32),e("PageUp",33),e("PageDown",34),e("End",35),e("Home",36),e("ArrowLeft",37),e("ArrowUp",38),e("ArrowRight",39),e("ArrowDown",40),e("Insert",45),e("Delete",46),e("Digit1",49),e("Digit2",50),e("Digit3",51),e("Digit4",52),e("Digit5",53),e("Digit6",54),e("Digit7",55),e("Digit8",56),e("Digit9",57),e("Digit0",48),e("KeyA",65),e("KeyB",66),e("KeyC",67),e("KeyD",68),e("KeyE",69),e("KeyF",70),e("KeyG",71),e("KeyH",72),e("KeyI",73),e("KeyJ",74),e("KeyK",75),e("KeyL",76),e("KeyM",77),e("KeyN",78),e("KeyO",79),e("KeyP",80),e("KeyQ",81),e("KeyR",82),e("KeyS",83),e("KeyT",84),e("KeyU",85),e("KeyV",86),e("KeyW",87),e("KeyX",88),e("KeyY",89),e("KeyZ",90),e("OSLeft",91),e("MetaLeft",91),e("OSRight",92),e("MetaRight",92),e("ContextMenu",93),e("Numpad0",96),e("Numpad1",97),e("Numpad2",98),e("Numpad3",99),e("Numpad4",100),e("Numpad5",101),e("Numpad6",102),e("Numpad7",103),e("Numpad8",104),e("Numpad9",105),e("NumpadMultiply",106),e("NumpadAdd",107),e("NumpadSeparator",108),e("NumpadSubtract",109),e("NumpadDecimal",110),e("NumpadDivide",111),e("F1",112),e("F2",113),e("F3",114),e("F4",115),e("F5",116),e("F6",117),e("F7",118),e("F8",119),e("F9",120),e("F10",121),e("F11",122),e("F12",123),e("F13",124),e("F14",125),e("F15",126),e("F16",127),e("F17",128),e("F18",129),e("F19",130),e("F20",131),e("F21",132),e("F22",133),e("F23",134),e("F24",135),e("NumLock",144),e("ScrollLock",145),e("Semicolon",186),e("Equal",187),e("Comma",188),e("Minus",189),e("Period",190),e("Slash",191),e("Backquote",192),e("IntlRo",193),e("BracketLeft",219),e("Backslash",220),e("BracketRight",221),e("Quote",222),e("IntlYen",255)})()},b7b8:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t1)){var n=this.route(e);if(!(n.length<2)){for(var i=[],o=0,r=0;r1e-8&&c>=a){var u=Math.max(0,a-s)/i[r];return{segmentStart:n[r],segmentEnd:n[r+1],lambda:u}}s=c}return{segmentEnd:n.pop(),segmentStart:n.pop(),lambda:1}}}},e.prototype.addHandle=function(e,t,n,i){var o=new u.SRoutingHandle;return o.kind=t,o.pointIndex=i,o.type=n,"target"===t&&e.id===u.edgeInProgressID&&(o.id=u.edgeInProgressTargetHandleID),e.add(o),o},e.prototype.getHandlePosition=function(e,t,n){switch(n.kind){case"source":return e.source instanceof u.SDanglingAnchor?e.source.position:t[0];case"target":return e.target instanceof u.SDanglingAnchor?e.target.position:t[t.length-1];default:var i=this.getInnerHandlePosition(e,t,n);if(void 0!==i)return i;if(n.pointIndex>=0&&n.pointIndexr(i))&&(i=c),l>n&&(void 0===o||l0&&this.applyInnerHandleMoves(e,n),this.cleanupRoutingPoints(e,e.routingPoints,!0,!0)},e.prototype.cleanupRoutingPoints=function(e,t,n,i){var o=new p(e.source,e.parent,"source"),r=new p(e.target,e.parent,"target");this.resetRoutingPointsOnReconnect(e,t,n,o,r)},e.prototype.resetRoutingPointsOnReconnect=function(e,t,n,i,o){if(0===t.length||e.source instanceof u.SDanglingAnchor||e.target instanceof u.SDanglingAnchor){var s=this.getOptions(e),a=this.calculateDefaultCorners(e,i,o,s);if(t.splice.apply(t,r([0,t.length],a)),n){var c=-2;e.children.forEach(function(n){n instanceof u.SRoutingHandle&&("target"===n.kind?n.pointIndex=t.length:"line"===n.kind&&n.pointIndex>=t.length?e.remove(n):c=Math.max(n.pointIndex,c))});for(var l=c;l-1&&(e.routingPoints=[],this.cleanupRoutingPoints(e,e.routingPoints,!0,!0)))},e.prototype.takeSnapshot=function(e){return{routingPoints:e.routingPoints.slice(),routingHandles:e.children.filter(function(e){return e instanceof u.SRoutingHandle}).map(function(e){return e}),routedPoints:this.route(e),router:this,source:e.source,target:e.target}},e.prototype.applySnapshot=function(e,t){e.routingPoints=t.routingPoints,e.removeAll(function(e){return e instanceof u.SRoutingHandle}),e.routerKind=t.router.kind,t.routingHandles.forEach(function(t){return e.add(t)}),t.source&&(e.sourceId=t.source.id),t.target&&(e.targetId=t.target.id),e.root.index.remove(e),e.root.index.add(e)},e.prototype.calculateDefaultCorners=function(e,t,n,i){var o=this.getSelfEdgeIndex(e);if(o>=0){var r=i.standardDistance,a=i.selfEdgeOffset*Math.min(t.bounds.width,t.bounds.height);switch(o%4){case 0:return[{x:t.get(s.RIGHT).x+r,y:t.get(s.RIGHT).y+a},{x:t.get(s.RIGHT).x+r,y:t.get(s.BOTTOM).y+r},{x:t.get(s.BOTTOM).x+a,y:t.get(s.BOTTOM).y+r}];case 1:return[{x:t.get(s.BOTTOM).x-a,y:t.get(s.BOTTOM).y+r},{x:t.get(s.LEFT).x-r,y:t.get(s.BOTTOM).y+r},{x:t.get(s.LEFT).x-r,y:t.get(s.LEFT).y+a}];case 2:return[{x:t.get(s.LEFT).x-r,y:t.get(s.LEFT).y-a},{x:t.get(s.LEFT).x-r,y:t.get(s.TOP).y-r},{x:t.get(s.TOP).x-a,y:t.get(s.TOP).y-r}];case 3:return[{x:t.get(s.TOP).x+a,y:t.get(s.TOP).y-r},{x:t.get(s.RIGHT).x+r,y:t.get(s.TOP).y-r},{x:t.get(s.RIGHT).x+r,y:t.get(s.RIGHT).y-a}]}}return[]},e.prototype.getSelfEdgeIndex=function(e){return e.source&&e.source===e.target?e.source.outgoingEdges.filter(function(t){return t.target===e.source}).indexOf(e):-1},i([a.inject(d.AnchorComputerRegistry),o("design:type",d.AnchorComputerRegistry)],e.prototype,"anchorRegistry",void 0),e=i([a.injectable()],e),e}();t.LinearEdgeRouter=f},b7ca:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("46cc"),s=n("d8f5"),a=n("9a1f"),c=n("ab71"),l=n("869e"),u=n("168d"),d=new i.ContainerModule(function(e){e(u.EdgeRouterRegistry).toSelf().inSingletonScope(),e(l.AnchorComputerRegistry).toSelf().inSingletonScope(),e(r.ManhattanEdgeRouter).toSelf().inSingletonScope(),e(o.TYPES.IEdgeRouter).toService(r.ManhattanEdgeRouter),e(o.TYPES.IAnchorComputer).to(a.ManhattanEllipticAnchor).inSingletonScope(),e(o.TYPES.IAnchorComputer).to(a.ManhattanRectangularAnchor).inSingletonScope(),e(o.TYPES.IAnchorComputer).to(a.ManhattanDiamondAnchor).inSingletonScope(),e(s.PolylineEdgeRouter).toSelf().inSingletonScope(),e(o.TYPES.IEdgeRouter).toService(s.PolylineEdgeRouter),e(o.TYPES.IAnchorComputer).to(c.EllipseAnchor),e(o.TYPES.IAnchorComputer).to(c.RectangleAnchor),e(o.TYPES.IAnchorComputer).to(c.DiamondAnchor)});t.default=d},b7d1:function(e,t,n){(function(t){function n(e,t){if(i("noDeprecation"))return e;var n=!1;function o(){if(!n){if(i("throwDeprecation"))throw new Error(t);i("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}return o}function i(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=n}).call(this,n("c8ba"))},b878:function(e,t,n){},b8c1:function(e,t,n){"use strict";t["a"]={data:function(){return{timer:null,prevent:!1,delay:200}},methods:{onClick:function(e,t){var n=this;this.timer=setTimeout(function(){n.prevent||t(e),n.prevent=!1},this.delay)},onDblClick:function(e,t){clearTimeout(this.timer),this.prevent=!0,t(e)}}}},b967:function(e,t,n){"use strict";var i=n("0505"),o=n.n(i);o.a},ba33:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("30e3");function o(e){if("function"===typeof e){var t=e;return t.name}if("symbol"===typeof e)return e.toString();t=e;return t}function r(e,t,n){var i="",o=n(e,t);return 0!==o.length&&(i="\nRegistered bindings:",o.forEach(function(e){var t="Object";null!==e.implementationType&&(t=u(e.implementationType)),i=i+"\n "+t,e.constraint.metaData&&(i=i+" - "+e.constraint.metaData)})),i}function s(e,t){return null!==e.parentRequest&&(e.parentRequest.serviceIdentifier===t||s(e.parentRequest,t))}function a(e){function t(e,n){void 0===n&&(n=[]);var i=o(e.serviceIdentifier);return n.push(i),null!==e.parentRequest?t(e.parentRequest,n):n}var n=t(e);return n.reverse().join(" --\x3e ")}function c(e){e.childRequests.forEach(function(e){if(s(e,e.serviceIdentifier)){var t=a(e);throw new Error(i.CIRCULAR_DEPENDENCY+" "+t)}c(e)})}function l(e,t){if(t.isTagged()||t.isNamed()){var n="",i=t.getNamedTag(),o=t.getCustomTags();return null!==i&&(n+=i.toString()+"\n"),null!==o&&o.forEach(function(e){n+=e.toString()+"\n"})," "+e+"\n "+e+" - "+n}return" "+e}function u(e){if(e.name)return e.name;var t=e.toString(),n=t.match(/^function\s*([^\s(]+)/);return n?n[1]:"Anonymous function: "+t}t.getServiceIdentifierAsString=o,t.listRegisteredBindingsForServiceIdentifier=r,t.circularDependencyToException=c,t.listMetadataForTarget=l,t.getFunctionName=u},ba8b:function(e,t,n){},bab1:function(e,t,n){},bafd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.context||document;if(!e)return null;var i=[],r=u((0,o.default)(e),i,n),s=void 0;return s=r?1===r.length?r[0]:r:d({type:"text",content:e},i,n),t.hooks&&t.hooks.create&&i.forEach(function(e){t.hooks.create(e)}),s};var i=n("861d"),o=c(i),r=n("2eed"),s=c(r),a=n("6592");function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t,n){return e instanceof Array&&e.length>0?e.map(function(e){return d(e,t,n)}):void 0}function d(e,t,n){var i=void 0;return i="text"===e.type?(0,a.createTextVNode)(e.content,n):(0,s.default)(e.name,h(e,n),u(e.children,t,n)),t.push(i),i}function h(e,t){var n={};if(!e.attrs)return n;var i=Object.keys(e.attrs).reduce(function(n,i){if("style"!==i&&"class"!==i){var o=(0,a.unescapeEntities)(e.attrs[i],t);n?n[i]=o:n=l({},i,o)}return n},null);i&&(n.attrs=i);var o=p(e);o&&(n.style=o);var r=f(e);return r&&(n.class=r),n}function p(e){try{return e.attrs.style.split(";").reduce(function(e,t){var n=t.split(":"),i=(0,a.transformName)(n[0].trim());if(i){var o=n[1].replace("!important","").trim();e?e[i]=o:e=l({},i,o)}return e},null)}catch(e){return null}}function f(e){try{return e.attrs.class.split(" ").reduce(function(e,t){return t=t.trim(),t&&(e?e[t]=!0:e=l({},t,!0)),e},null)}catch(e){return null}}},bb33:function(e,t,n){"use strict";var i=n("bee8"),o=n.n(i);o.a},bb59:function(e,t,n){},bc63:function(e,t,n){},bcbd:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),c=n("510b"),l=n("9757"),u=n("2f3a"),d=n("3a92"),h=n("3623"),p=n("6923"),f=n("1417"),m=n("3b4c"),g=n("e45b"),v=n("fba3"),b=n("e629"),y=n("b669"),_=n("70d9"),M=n("38e8"),w=n("a5f4"),C=n("3585"),S=n("3585"),A=n("3ada"),E=n("4c18"),O=function(){function e(t,n){void 0===t&&(t=[]),void 0===n&&(n=[]),this.selectedElementsIDs=t,this.deselectedElementsIDs=n,this.kind=e.KIND}return e.KIND="elementSelected",e}();t.SelectAction=O;var L=function(){function e(t){void 0===t&&(t=!0),this.select=t,this.kind=e.KIND}return e.KIND="allSelected",e}();t.SelectAllAction=L;var T=function(){function e(t){void 0===t&&(t=""),this.requestId=t,this.kind=e.KIND}return e.create=function(){return new e(c.generateRequestId())},e.KIND="getSelection",e}();t.GetSelectionAction=T;var x=function(){function e(t,n){void 0===t&&(t=[]),this.selectedElementsIDs=t,this.responseId=n,this.kind=e.KIND}return e.KIND="selectionResult",e}();t.SelectionResult=x;var R=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n.selected=[],n.deselected=[],n}return i(t,e),t.prototype.execute=function(e){var t=this,n=e.root;return this.action.selectedElementsIDs.forEach(function(e){var i=n.index.getById(e);i instanceof d.SChildElement&&E.isSelectable(i)&&t.selected.push(i)}),this.action.deselectedElementsIDs.forEach(function(e){var i=n.index.getById(e);i instanceof d.SChildElement&&E.isSelectable(i)&&t.deselected.push(i)}),this.redo(e)},t.prototype.undo=function(e){for(var t=0,n=this.selected;t0&&n.push(new w.SwitchEditModeAction([],s))}else{n.push(new O([],r.map(function(e){return e.id})));s=r.filter(function(e){return e instanceof S.SRoutableElement}).map(function(e){return e.id});s.length>0&&n.push(new w.SwitchEditModeAction([],s))}}}return n},t.prototype.mouseMove=function(e,t){return this.hasDragged=!0,[]},t.prototype.mouseUp=function(e,t){if(0===t.button&&!this.hasDragged){var n=h.findParentByFeature(e,E.isSelectable);if(void 0!==n&&this.wasSelected)return[new O([n.id],[])]}return this.hasDragged=!1,[]},t.prototype.decorate=function(e,t){var n=h.findParentByFeature(t,E.isSelectable);return void 0!==n&&g.setClass(e,"selected",n.selected),e},o([a.inject(_.ButtonHandlerRegistry),a.optional(),r("design:type",_.ButtonHandlerRegistry)],t.prototype,"buttonHandlerRegistry",void 0),t}(m.MouseListener);t.SelectMouseListener=z;var P=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n.previousSelection={},n}return i(t,e),t.prototype.retrieveResult=function(e){var t=e.root.index.all().filter(function(e){return E.isSelectable(e)&&e.selected}).map(function(e){return e.id});return new x(b.toArray(t),this.action.requestId)},t.KIND=T.KIND,t=o([a.injectable(),s(0,a.inject(p.TYPES.Action)),r("design:paramtypes",[T])],t),t}(u.ModelRequestCommand);t.GetSelectionCommand=P;var N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.keyDown=function(e,t){return y.matchesKeystroke(t,"KeyA","ctrlCmd")?[new L]:[]},t}(f.KeyListener);t.SelectKeyboardListener=N},bcc9:function(e,t,n){"use strict";var i,o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;nv&&(r.top=v-s),uy&&(r.left=y-a),r}Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e["Start"]=1]="Start",e[e["End"]=2]="End",e[e["Move"]=3]="Move"}(i||(i={})),t.Draggable={bind:function(e,n,i,o){t.Draggable.update(e,n,i,o)},update:function(e,t,n,a){if(!t.value||!t.value.stopDragging){var c=t.value&&t.value.handle&&r(t.value.handle)||e;t&&t.value&&t.value.resetInitialPos&&(g(),b()),c.getAttribute("draggable")||(e.removeEventListener("mousedown",e["listener"]),c.addEventListener("mousedown",p),e.removeEventListener("touchstart",e["listener"]),c.addEventListener("touchstart",p,{passive:!1}),c.setAttribute("draggable","true"),e["listener"]=p,g(),b())}function l(n){n.preventDefault();var i=t.value&&t.value.stopDragging;if(!i){var o=y();o.startDragPosition&&o.initialMousePos||(g(n),o=y());var r=f(n),a=r.left-o.initialMousePos.left,c=r.top-o.initialMousePos.top,l={left:o.startDragPosition.left+a,top:o.startDragPosition.top+c},h=u(),p=e.getBoundingClientRect();h&&p&&(l=s(p,h,l.left,l.top,t.value.boundingRectMargin)),v({currentDragPosition:l}),d(),b(n)}}function u(){if(t.value)return t.value.boundingRect||t.value.boundingElement&&t.value.boundingElement.getBoundingClientRect()}function d(){var t=y();t.currentDragPosition&&(e.style.touchAction="none",e.style.position="fixed",e.style.left=t.currentDragPosition.left+"px",e.style.top=t.currentDragPosition.top+"px")}function h(e){e.preventDefault(),document.removeEventListener("mousemove",l),document.removeEventListener("mouseup",h),document.removeEventListener("touchmove",l),document.removeEventListener("touchend",h);var t=m();v({initialMousePos:void 0,startDragPosition:t,currentDragPosition:t}),b(e,i.End)}function p(e){v({initialMousePos:f(e)}),b(e,i.Start),document.addEventListener("mousemove",l),document.addEventListener("mouseup",h),document.addEventListener("touchmove",l),document.addEventListener("touchend",h)}function f(e){if(e instanceof MouseEvent)return{left:e.clientX,top:e.clientY};if(e instanceof TouchEvent){var t=e.changedTouches[e.changedTouches.length-1];return{left:t.clientX,top:t.clientY}}}function m(){var t=e.getBoundingClientRect();if(t.height&&t.width)return{left:t.left,top:t.top}}function g(e){var n=y(),i=t&&t.value&&t.value.initialPosition,o=n.initialPosition,r=m(),s=i||o||r;v({initialPosition:s,startDragPosition:s,currentDragPosition:s,initialMousePos:f(e)}),d()}function v(e){var t=y(),n=o(o({},t),e);c.setAttribute("draggable-state",JSON.stringify(n))}function b(e,n){var r=y(),s={x:0,y:0};r.currentDragPosition&&r.startDragPosition&&(s.x=r.currentDragPosition.left-r.startDragPosition.left,s.y=r.currentDragPosition.top-r.startDragPosition.top);var a=r.currentDragPosition&&o({},r.currentDragPosition);n===i.End?t.value&&t.value.onDragEnd&&r&&t.value.onDragEnd(s,a,e):n===i.Start?t.value&&t.value.onDragStart&&r&&t.value.onDragStart(s,a,e):t.value&&t.value.onPositionChange&&r&&t.value.onPositionChange(s,a,e)}function y(){return JSON.parse(c.getAttribute("draggable-state"))||{}}}}},be02:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),c=n("6923"),l=n("3864"),u=n("7b39"),d=function(e){function t(t,n){var i=e.call(this)||this;return t.forEach(function(e){return i.register(e.actionKind,e.factory())}),n.forEach(function(e){return i.initializeActionHandler(e)}),i}return i(t,e),t.prototype.initializeActionHandler=function(e){e.initialize(this)},t=o([a.injectable(),s(0,a.multiInject(c.TYPES.ActionHandlerRegistration)),s(0,a.optional()),s(1,a.multiInject(c.TYPES.IActionHandlerInitializer)),s(1,a.optional()),r("design:paramtypes",[Array,Array])],t),t}(l.MultiInstanceRegistry);function h(e,t,n){if("function"===typeof n){if(!u.isInjectable(n))throw new Error("Action handlers should be @injectable: "+n.name);e.isBound(n)||e.bind(n).toSelf()}e.bind(c.TYPES.ActionHandlerRegistration).toDynamicValue(function(e){return{actionKind:t,factory:function(){return e.container.get(n)}}})}t.ActionHandlerRegistry=d,t.configureActionHandler=h},bee8:function(e,t,n){},c146:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("987d"),r=function(){function e(e,t){void 0===t&&(t=o.easeInOut),this.context=e,this.ease=t}return e.prototype.start=function(){var e=this;return new Promise(function(t,n){var i=void 0,o=0,r=function(n){var s;o++,void 0===i?(i=n,s=0):s=n-i;var a=Math.min(1,s/e.context.duration),c=e.tween(e.ease(a),e.context);e.context.modelChanged.update(c),1===a?(e.context.logger.log(e,1e3*o/e.context.duration+" fps"),t(c)):e.context.syncer.onNextFrame(r)};if(e.context.syncer.isAvailable())e.context.syncer.onNextFrame(r);else{var s=e.tween(1,e.context);t(s)}})},e}();t.Animation=r;var s=function(e){function t(t,n,i,r){void 0===i&&(i=[]),void 0===r&&(r=o.easeInOut);var s=e.call(this,n,r)||this;return s.model=t,s.context=n,s.components=i,s.ease=r,s}return i(t,e),t.prototype.include=function(e){return this.components.push(e),this},t.prototype.tween=function(e,t){for(var n=0,i=this.components;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("dd02"),c=n("510b"),l=n("9757"),u=n("c146"),d=n("5eb6"),h=n("e1c6"),p=n("6923"),f=n("2f3a"),m=function(){function e(t,n,i){this.elementId=t,this.newViewport=n,this.animate=i,this.kind=e.KIND}return e.KIND="viewport",e}();t.SetViewportAction=m;var g=function(){function e(t){void 0===t&&(t=""),this.requestId=t,this.kind=e.KIND}return e.create=function(){return new e(c.generateRequestId())},e.KIND="getViewport",e}();t.GetViewportAction=g;var v=function(){function e(t,n,i){this.viewport=t,this.canvasBounds=n,this.responseId=i,this.kind=e.KIND}return e.KIND="viewportResult",e}();t.ViewportResult=v;var b=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n.newViewport=t.newViewport,n}var n;return i(t,e),n=t,t.prototype.execute=function(e){var t=e.root,n=t.index.getById(this.action.elementId);if(n&&d.isViewport(n)){if(this.element=n,this.oldViewport={scroll:this.element.scroll,zoom:this.element.zoom},this.action.animate)return new _(this.element,this.oldViewport,this.newViewport,e).start();this.element.scroll=this.newViewport.scroll,this.element.zoom=this.newViewport.zoom}return t},t.prototype.undo=function(e){return new _(this.element,this.newViewport,this.oldViewport,e).start()},t.prototype.redo=function(e){return new _(this.element,this.oldViewport,this.newViewport,e).start()},t.prototype.merge=function(e,t){return!this.action.animate&&e instanceof n&&this.element===e.element&&(this.newViewport=e.newViewport,!0)},t.KIND=m.KIND,t=n=o([h.injectable(),s(0,h.inject(p.TYPES.Action)),r("design:paramtypes",[m])],t),t}(l.MergeableCommand);t.SetViewportCommand=b;var y=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.retrieveResult=function(e){var t,n=e.root;return t=d.isViewport(n)?{scroll:n.scroll,zoom:n.zoom}:{scroll:a.ORIGIN_POINT,zoom:1},new v(t,n.canvasBounds,this.action.requestId)},t.KIND=g.KIND,t=o([s(0,h.inject(p.TYPES.Action)),r("design:paramtypes",[g])],t),t}(f.ModelRequestCommand);t.GetViewportCommand=y;var _=function(e){function t(t,n,i,o){var r=e.call(this,o)||this;return r.element=t,r.oldViewport=n,r.newViewport=i,r.context=o,r.zoomFactor=Math.log(i.zoom/n.zoom),r}return i(t,e),t.prototype.tween=function(e,t){return this.element.scroll={x:(1-e)*this.oldViewport.scroll.x+e*this.newViewport.scroll.x,y:(1-e)*this.oldViewport.scroll.y+e*this.newViewport.scroll.y},this.element.zoom=this.oldViewport.zoom*Math.exp(e*this.zoomFactor),t.root},t}(u.Animation);t.ViewportAnimation=_},c4e6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("bcbd"),s=n("842c"),a=new i.ContainerModule(function(e,t,n){s.configureCommand({bind:e,isBound:n},r.SelectCommand),s.configureCommand({bind:e,isBound:n},r.SelectAllCommand),s.configureCommand({bind:e,isBound:n},r.GetSelectionCommand),e(o.TYPES.KeyListener).to(r.SelectKeyboardListener),e(o.TYPES.MouseListener).to(r.SelectMouseListener)});t.default=a},c4ec:function(e,t,n){var i=/([\w-]+)|=|(['"])([.\s\S]*?)\2/g,o=n("4047");e.exports=function(e){var t,n=0,r=!0,s={type:"tag",name:"",voidElement:!1,attrs:{},children:[]};return e.replace(i,function(i){if("="===i)return r=!0,void n++;r?0===n?((o[i]||"/"===e.charAt(e.length-2))&&(s.voidElement=!0),s.name=i):(s.attrs[t]=i.replace(/^['"]|['"]$/g,""),t=void 0):(t&&(s.attrs[t]=t),t=i),n++,r=!1}),s}},c51d:function(e,t,n){},c58e:function(e,t,n){},c5f4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NAMED_TAG="named",t.NAME_TAG="name",t.UNMANAGED_TAG="unmanaged",t.OPTIONAL_TAG="optional",t.INJECT_TAG="inject",t.MULTI_INJECT_TAG="multi_inject",t.TAGGED="inversify:tagged",t.TAGGED_PROP="inversify:tagged_props",t.PARAM_TYPES="inversify:paramtypes",t.DESIGN_PARAM_TYPES="design:paramtypes",t.POST_CONSTRUCT="post_construct"},c612:function(e,t,n){"use strict";var i=n("8b1b"),o=n.n(i);o.a},c622:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("77d3"),o=function(){function e(e,t,n,o,r){this.id=i.id(),this.serviceIdentifier=e,this.parentContext=t,this.parentRequest=n,this.target=r,this.childRequests=[],this.bindings=Array.isArray(o)?o:[o],this.requestScope=null===n?new Map:null}return e.prototype.addChildRequest=function(t,n,i){var o=new e(t,this.parentContext,this,n,i);return this.childRequests.push(o),o},e}();t.Request=o},c661:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var o=n("e1c6"),r=function(){function e(){}return e.prototype.isAllowed=function(e){return!0},e=i([o.injectable()],e),e}();t.DefaultDiagramLocker=r},c7c3:function(e,t,n){"use strict";var i=n("3e33"),o=n.n(i);o.a},c807:function(e,t,n){"use strict";var i=n("1300"),o=n("e300"),r=n("183a"),s=n("4cdf"),a=n("0b2d"),c=n("9f5e"),l=n("a568"),u=n("1e8d"),d=n("cef7"),h=n("01d4"),p=n("06f8"),f=n("0af5"),m=n("f623"),g=n("f403"),v=n("4105"),b=n("3e6b"),y=n("5831"),_=n("a43f"),M=n("4a7d"),w=n("6c77"),C=0,S=1,A={MODIFYSTART:"modifystart",MODIFYEND:"modifyend"},E=function(e){function t(t,n,i){e.call(this,t),this.features=n,this.mapBrowserEvent=i}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(d["a"]),O=function(e){function t(t){var n;if(e.call(this,t),this.condition_=t.condition?t.condition:p["h"],this.defaultDeleteCondition_=function(e){return Object(p["a"])(e)&&Object(p["j"])(e)},this.deleteCondition_=t.deleteCondition?t.deleteCondition:this.defaultDeleteCondition_,this.insertVertexCondition_=t.insertVertexCondition?t.insertVertexCondition:p["c"],this.vertexFeature_=null,this.vertexSegments_=null,this.lastPixel_=[0,0],this.ignoreNextSingleClick_=!1,this.modified_=!1,this.rBush_=new M["a"],this.pixelTolerance_=void 0!==t.pixelTolerance?t.pixelTolerance:10,this.snappedToVertex_=!1,this.changingFeature_=!1,this.dragSegments_=[],this.overlay_=new b["a"]({source:new y["a"]({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.style?t.style:R(),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.SEGMENT_WRITERS_={Point:this.writePointGeometry_,LineString:this.writeLineStringGeometry_,LinearRing:this.writeLineStringGeometry_,Polygon:this.writePolygonGeometry_,MultiPoint:this.writeMultiPointGeometry_,MultiLineString:this.writeMultiLineStringGeometry_,MultiPolygon:this.writeMultiPolygonGeometry_,Circle:this.writeCircleGeometry_,GeometryCollection:this.writeGeometryCollectionGeometry_},this.source_=null,t.source?(this.source_=t.source,n=new o["a"](this.source_.getFeatures()),Object(u["a"])(this.source_,_["a"].ADDFEATURE,this.handleSourceAdd_,this),Object(u["a"])(this.source_,_["a"].REMOVEFEATURE,this.handleSourceRemove_,this)):n=t.features,!n)throw new Error("The modify interaction requires features or a source");this.features_=n,this.features_.forEach(this.addFeature_.bind(this)),Object(u["a"])(this.features_,r["a"].ADD,this.handleFeatureAdd_,this),Object(u["a"])(this.features_,r["a"].REMOVE,this.handleFeatureRemove_,this),this.lastPointerEvent_=null}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.addFeature_=function(e){var t=e.getGeometry();t&&t.getType()in this.SEGMENT_WRITERS_&&this.SEGMENT_WRITERS_[t.getType()].call(this,e,t);var n=this.getMap();n&&n.isRendered()&&this.getActive()&&this.handlePointerAtPixel_(this.lastPixel_,n),Object(u["a"])(e,h["a"].CHANGE,this.handleFeatureChange_,this)},t.prototype.willModifyFeatures_=function(e){this.modified_||(this.modified_=!0,this.dispatchEvent(new E(A.MODIFYSTART,this.features_,e)))},t.prototype.removeFeature_=function(e){this.removeFeatureSegmentData_(e),this.vertexFeature_&&0===this.features_.getLength()&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),Object(u["c"])(e,h["a"].CHANGE,this.handleFeatureChange_,this)},t.prototype.removeFeatureSegmentData_=function(e){var t=this.rBush_,n=[];t.forEach(function(t){e===t.feature&&n.push(t)});for(var i=n.length-1;i>=0;--i)t.remove(n[i])},t.prototype.setActive=function(t){this.vertexFeature_&&!t&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),e.prototype.setActive.call(this,t)},t.prototype.setMap=function(t){this.overlay_.setMap(t),e.prototype.setMap.call(this,t)},t.prototype.getOverlay=function(){return this.overlay_},t.prototype.handleSourceAdd_=function(e){e.feature&&this.features_.push(e.feature)},t.prototype.handleSourceRemove_=function(e){e.feature&&this.features_.remove(e.feature)},t.prototype.handleFeatureAdd_=function(e){this.addFeature_(e.element)},t.prototype.handleFeatureChange_=function(e){if(!this.changingFeature_){var t=e.target;this.removeFeature_(t),this.addFeature_(t)}},t.prototype.handleFeatureRemove_=function(e){var t=e.element;this.removeFeature_(t)},t.prototype.writePointGeometry_=function(e,t){var n=t.getCoordinates(),i={feature:e,geometry:t,segment:[n,n]};this.rBush_.insert(t.getExtent(),i)},t.prototype.writeMultiPointGeometry_=function(e,t){for(var n=t.getCoordinates(),i=0,o=n.length;i=0;--_)this.insertVertex_.apply(this,o[_])}return!!this.vertexFeature_},t.prototype.handleUpEvent=function(e){for(var t=this.dragSegments_.length-1;t>=0;--t){var n=this.dragSegments_[t][0],i=n.geometry;if(i.getType()===m["a"].CIRCLE){var o=i.getCenter(),r=n.featureSegments[0],s=n.featureSegments[1];r.segment[0]=r.segment[1]=o,s.segment[0]=s.segment[1]=o,this.rBush_.update(Object(f["m"])(o),r),this.rBush_.update(i.getExtent(),s)}else this.rBush_.update(Object(f["b"])(n.segment),n)}return this.modified_&&(this.dispatchEvent(new E(A.MODIFYEND,this.features_,e)),this.modified_=!1),!1},t.prototype.handlePointerMove_=function(e){this.lastPixel_=e.pixel,this.handlePointerAtPixel_(e.pixel,e.map)},t.prototype.handlePointerAtPixel_=function(e,t){var n=t.getCoordinateFromPixel(e),o=function(e,t){return T(n,e)-T(n,t)},r=Object(f["c"])(Object(f["m"])(n),t.getView().getResolution()*this.pixelTolerance_),s=this.rBush_,a=s.getInExtent(r);if(a.length>0){a.sort(o);var c=a[0],u=c.segment,d=x(n,c),h=t.getPixelFromCoordinate(d),p=Object(l["d"])(e,h);if(p<=this.pixelTolerance_){var g={};if(c.geometry.getType()===m["a"].CIRCLE&&c.index===S)this.snappedToVertex_=!0,this.createOrUpdateVertexFeature_(d);else{var v=t.getPixelFromCoordinate(u[0]),b=t.getPixelFromCoordinate(u[1]),y=Object(l["h"])(h,v),_=Object(l["h"])(h,b);p=Math.sqrt(Math.min(y,_)),this.snappedToVertex_=p<=this.pixelTolerance_,this.snappedToVertex_&&(d=y>_?u[1]:u[0]),this.createOrUpdateVertexFeature_(d);for(var M=1,w=a.length;M=0;--r)n=h[r],u=n[0],d=Object(i["c"])(u.feature),u.depth&&(d+="-"+u.depth.join("-")),d in p||(p[d]={}),0===n[1]?(p[d].right=u,p[d].index=u.index):1==n[1]&&(p[d].left=u,p[d].index=u.index+1);for(d in p){switch(l=p[d].right,a=p[d].left,s=p[d].index,c=s-1,u=void 0!==a?a:l,c<0&&(c=0),o=u.geometry,t=o.getCoordinates(),e=t,g=!1,o.getType()){case m["a"].MULTI_LINE_STRING:t[u.depth[0]].length>2&&(t[u.depth[0]].splice(s,1),g=!0);break;case m["a"].LINE_STRING:t.length>2&&(t.splice(s,1),g=!0);break;case m["a"].MULTI_POLYGON:e=e[u.depth[1]];case m["a"].POLYGON:e=e[u.depth[0]],e.length>4&&(s==e.length-1&&(s=0),e.splice(s,1),g=!0,0===s&&(e.pop(),e.push(e[0]),c=e.length-1));break;default:}if(g){this.setGeometryCoordinates_(o,t);var v=[];if(void 0!==a&&(this.rBush_.remove(a),v.push(a.segment[0])),void 0!==l&&(this.rBush_.remove(l),v.push(l.segment[1])),void 0!==a&&void 0!==l){var b={depth:u.depth,feature:u.feature,geometry:u.geometry,index:c,segment:v};this.rBush_.insert(Object(f["b"])(b.segment),b)}this.updateSegmentIndices_(o,s,u.depth,-1),this.vertexFeature_&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),h.length=0}}return g},t.prototype.setGeometryCoordinates_=function(e,t){this.changingFeature_=!0,e.setCoordinates(t),this.changingFeature_=!1},t.prototype.updateSegmentIndices_=function(e,t,n,i){this.rBush_.forEachInExtent(e.getExtent(),function(o){o.geometry===e&&(void 0===n||void 0===o.depth||Object(c["b"])(o.depth,n))&&o.index>t&&(o.index+=i)})},t}(v["b"]);function L(e,t){return e.index-t.index}function T(e,t){var n=t.geometry;if(n.getType()===m["a"].CIRCLE){var i=n;if(t.index===S){var o=Object(l["h"])(i.getCenter(),e),r=Math.sqrt(o)-i.getRadius();return r*r}}return Object(l["i"])(e,t.segment)}function x(e,t){var n=t.geometry;return n.getType()===m["a"].CIRCLE&&t.index===S?n.getClosestPoint(e):Object(l["b"])(e,t.segment)}function R(){var e=Object(w["b"])();return function(t,n){return e[m["a"].POINT]}}t["a"]=O},c862:function(e,t,n){},c8c0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){this.parentContext=e,this.rootRequest=t}return e}();t.Plan=i},c95e:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("f4cb"),s=n("0bd8"),a=n("842c"),c=n("be02"),l=n("ed4f"),u=n("c444"),d=n("559d"),h=new i.ContainerModule(function(e,t,n){e(o.TYPES.PopupVNodePostprocessor).to(s.PopupPositionUpdater).inSingletonScope(),e(o.TYPES.MouseListener).to(r.HoverMouseListener),e(o.TYPES.PopupMouseListener).to(r.PopupHoverMouseListener),e(o.TYPES.KeyListener).to(r.HoverKeyListener),e(o.TYPES.HoverState).toConstantValue({mouseOverTimer:void 0,mouseOutTimer:void 0,popupOpen:!1,previousPopupElement:void 0}),e(r.ClosePopupActionHandler).toSelf().inSingletonScope();var i={bind:e,isBound:n};a.configureCommand(i,r.HoverFeedbackCommand),a.configureCommand(i,r.SetPopupModelCommand),c.configureActionHandler(i,r.SetPopupModelCommand.KIND,r.ClosePopupActionHandler),c.configureActionHandler(i,l.FitToScreenCommand.KIND,r.ClosePopupActionHandler),c.configureActionHandler(i,l.CenterCommand.KIND,r.ClosePopupActionHandler),c.configureActionHandler(i,u.SetViewportCommand.KIND,r.ClosePopupActionHandler),c.configureActionHandler(i,d.MoveCommand.KIND,r.ClosePopupActionHandler)});t.default=h},c998:function(e,t,n){"use strict";var i=n("a16f"),o=n.n(i);o.a},cb6e:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__awaiter||function(e,t,n,i){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,r){function s(e){try{c(i.next(e))}catch(e){r(e)}}function a(e){try{c(i["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):o(e.value).then(s,a)}c((i=i.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(e){return function(t){return c([e,t])}}function c(r){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(o=2&r[0]?i["return"]:r[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(o=s.trys,!(o=o.length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=0})]}})})},t.prototype.getViewport=function(){return s(this,void 0,void 0,function(){var e;return a(this,function(t){switch(t.label){case 0:return[4,this.actionDispatcher.request(g.GetViewportAction.create())];case 1:return e=t.sent(),[2,{scroll:e.viewport.scroll,zoom:e.viewport.zoom,canvasBounds:e.canvasBounds}]}})})},t.prototype.submitModel=function(e,t,n){return s(this,void 0,void 0,function(){var i,o;return a(this,function(r){switch(r.label){case 0:return this.viewerOptions.needsClientLayout?[4,this.actionDispatcher.request(m.RequestBoundsAction.create(e))]:[3,3];case 1:return i=r.sent(),o=this.computedBoundsApplicator.apply(this.currentRoot,i),[4,this.doSubmitModel(e,!0,n,o)];case 2:return r.sent(),[3,5];case 3:return[4,this.doSubmitModel(e,t,n)];case 4:r.sent(),r.label=5;case 5:return[2]}})})},t.prototype.doSubmitModel=function(e,t,n,i){return s(this,void 0,void 0,function(){var o,r,s,c,l;return a(this,function(a){switch(a.label){case 0:if(void 0===this.layoutEngine)return[3,6];a.label=1;case 1:return a.trys.push([1,5,,6]),o=this.layoutEngine.layout(e,i),o instanceof Promise?[4,o]:[3,3];case 2:return e=a.sent(),[3,4];case 3:void 0!==o&&(e=o),a.label=4;case 4:return[3,6];case 5:return r=a.sent(),this.logger.error(this,r.toString(),r.stack),[3,6];case 6:return s=this.lastSubmittedModelType,this.lastSubmittedModelType=e.type,n&&n.kind===d.RequestModelAction.KIND&&n.requestId?(c=n,[4,this.actionDispatcher.dispatch(new d.SetModelAction(e,c.requestId))]):[3,8];case 7:return a.sent(),[3,12];case 8:return t&&e.type===s?(l=Array.isArray(t)?t:e,[4,this.actionDispatcher.dispatch(new _.UpdateModelAction(l,!0,n))]):[3,10];case 9:return a.sent(),[3,12];case 10:return[4,this.actionDispatcher.dispatch(new d.SetModelAction(e))];case 11:a.sent(),a.label=12;case 12:return[2]}})})},t.prototype.applyMatches=function(e){var t=this.currentRoot;return y.applyMatches(t,e),this.submitModel(t,e)},t.prototype.addElements=function(e){for(var t=[],n=0,i=e;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var o=n("e45b"),r=n("e1c6"),s=n("3623"),a=function(){function e(){}return e.prototype.decorate=function(e,t){if(t.cssClasses)for(var n=0,i=t.cssClasses;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),c=n("510b"),l=n("9757"),u=n("6923"),d=n("3b4c"),h=n("1417"),p=n("b669"),f=n("4c18"),m=n("e629"),g=n("cc26"),v=function(){function e(t){this.labelId=t,this.kind=e.KIND}return e.KIND="EditLabel",e}();function b(e){return c.isAction(e)&&e.kind===v.KIND&&"labelId"in e}t.EditLabelAction=v,t.isEditLabelAction=b;var y=function(){function e(t,n){this.labelId=t,this.text=n,this.kind=e.KIND}return e.KIND="applyLabelEdit",e}();t.ApplyLabelEditAction=y;var _=function(){function e(){}return e}();t.ResolvedLabelEdit=_;var M=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){var t=e.root.index,n=t.getById(this.action.labelId);return n&&g.isEditableLabel(n)&&(this.resolvedLabelEdit={label:n,oldLabel:n.text,newLabel:this.action.text},n.text=this.action.text),e.root},t.prototype.undo=function(e){return this.resolvedLabelEdit&&(this.resolvedLabelEdit.label.text=this.resolvedLabelEdit.oldLabel),e.root},t.prototype.redo=function(e){return this.resolvedLabelEdit&&(this.resolvedLabelEdit.label.text=this.resolvedLabelEdit.newLabel),e.root},t.KIND=y.KIND,t=o([s(0,a.inject(u.TYPES.Action)),r("design:paramtypes",[y])],t),t}(l.Command);t.ApplyLabelEditCommand=M;var w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.doubleClick=function(e,t){var n=S(e);return n?[new v(n.id)]:[]},t}(d.MouseListener);t.EditLabelMouseListener=w;var C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.keyDown=function(e,t){if(p.matchesKeystroke(t,"F2")){var n=m.toArray(e.index.all().filter(function(e){return f.isSelectable(e)&&e.selected})).map(S).filter(function(e){return void 0!==e});if(1===n.length)return[new v(n[0].id)]}return[]},t}(h.KeyListener);function S(e){return g.isEditableLabel(e)?e:g.isWithEditableLabel(e)&&e.editableLabel?e.editableLabel:void 0}t.EditLabelKeyListener=C,t.getEditableLabel=S},ce70:function(e,t,n){},cf13:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){this.str=e}return e.prototype.startsWith=function(e){return 0===this.str.indexOf(e)},e.prototype.endsWith=function(e){var t="",n=e.split("").reverse().join("");return t=this.str.split("").reverse().join(""),this.startsWith.call({str:t},n)},e.prototype.contains=function(e){return-1!==this.str.indexOf(e)},e.prototype.equals=function(e){return this.str===e},e.prototype.value=function(){return this.str},e}();t.QueryableString=i},cf61:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),c=n("dd02"),l=n("c146"),u=n("9757"),d=n("e7fa"),h=n("3a92"),p=n("559d"),f=n("7d36"),m=n("a0af"),g=n("66f9"),v=n("3b62"),b=n("4c18"),y=n("d084"),_=n("0f4c"),M=n("6923"),w=n("5eb6"),C=n("168d"),S=n("3585"),A=function(){function e(t,n,i){void 0===n&&(n=!0),this.animate=n,this.cause=i,this.kind=e.KIND,void 0!==t.id?this.newRoot=t:this.matches=t}return e.KIND="updateModel",e}();t.UpdateModelAction=A;var E=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){var t;return void 0!==this.action.newRoot?t=e.modelFactory.createRoot(this.action.newRoot):(t=e.modelFactory.createRoot(e.root),void 0!==this.action.matches&&this.applyMatches(t,this.action.matches,e)),this.oldRoot=e.root,this.newRoot=t,this.performUpdate(this.oldRoot,this.newRoot,e)},t.prototype.performUpdate=function(e,t,n){if(void 0!==this.action.animate&&!this.action.animate||e.id!==t.id)return e.type===t.type&&c.isValidDimension(e.canvasBounds)&&(t.canvasBounds=e.canvasBounds),w.isViewport(e)&&w.isViewport(t)&&(t.zoom=e.zoom,t.scroll=e.scroll),t;var i=void 0;if(void 0===this.action.matches){var o=new y.ModelMatcher;i=o.match(e,t)}else i=this.convertToMatchResult(this.action.matches,e,t);var r=this.computeAnimation(t,i,n);return r instanceof l.Animation?r.start():r},t.prototype.applyMatches=function(e,t,n){for(var i=e.index,o=0,r=t;o=2?new l.CompoundAnimation(e,n,r):1===r.length?r[0]:e},t.prototype.updateElement=function(e,t,n){if(m.isLocateable(e)&&m.isLocateable(t)){var i=e.position,o=t.position;c.almostEquals(i.x,o.x)&&c.almostEquals(i.y,o.y)||(void 0===n.moves&&(n.moves=[]),n.moves.push({element:t,fromPosition:i,toPosition:o}),t.position=i)}g.isSizeable(e)&&g.isSizeable(t)&&(c.isValidDimension(t.bounds)?c.almostEquals(e.bounds.width,t.bounds.width)&&c.almostEquals(e.bounds.height,t.bounds.height)||(void 0===n.resizes&&(n.resizes=[]),n.resizes.push({element:t,fromDimension:{width:e.bounds.width,height:e.bounds.height},toDimension:{width:t.bounds.width,height:t.bounds.height}})):t.bounds={x:t.bounds.x,y:t.bounds.y,width:e.bounds.width,height:e.bounds.height}),e instanceof S.SRoutableElement&&t instanceof S.SRoutableElement&&this.edgeRouterRegistry&&(void 0===n.edgeMementi&&(n.edgeMementi=[]),n.edgeMementi.push({edge:t,before:this.takeSnapshot(e),after:this.takeSnapshot(t)})),b.isSelectable(e)&&b.isSelectable(t)&&(t.selected=e.selected),e instanceof h.SModelRoot&&t instanceof h.SModelRoot&&(t.canvasBounds=e.canvasBounds),e instanceof v.ViewportRootElement&&t instanceof v.ViewportRootElement&&(t.scroll=e.scroll,t.zoom=e.zoom)},t.prototype.takeSnapshot=function(e){var t=this.edgeRouterRegistry.get(e.routerKind);return t.takeSnapshot(e)},t.prototype.createAnimations=function(e,t,n){var i=[];if(e.fades.length>0&&i.push(new d.FadeAnimation(t,e.fades,n,!0)),void 0!==e.moves&&e.moves.length>0){for(var o=new Map,r=0,s=e.moves;r0){for(var c=new Map,l=0,u=e.resizes;l0&&i.push(new p.MorphEdgesAnimation(t,e.edgeMementi,n,!1)),i},t.prototype.undo=function(e){return this.performUpdate(this.newRoot,this.oldRoot,e)},t.prototype.redo=function(e){return this.performUpdate(this.oldRoot,this.newRoot,e)},t.KIND=A.KIND,o([a.inject(C.EdgeRouterRegistry),a.optional(),r("design:type",C.EdgeRouterRegistry)],t.prototype,"edgeRouterRegistry",void 0),t=o([a.injectable(),s(0,a.inject(M.TYPES.Action)),r("design:paramtypes",[A])],t),t}(u.Command);t.UpdateModelCommand=E},cf611:function(e,t,n){"use strict";var i=n("8e08"),o=n.n(i);o.a},cf81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e34e"),o=n("451f"),r=function(){function e(e){this._binding=e}return e.prototype.when=function(e){return this._binding.constraint=e,new i.BindingOnSyntax(this._binding)},e.prototype.whenTargetNamed=function(e){return this._binding.constraint=o.namedConstraint(e),new i.BindingOnSyntax(this._binding)},e.prototype.whenTargetIsDefault=function(){return this._binding.constraint=function(e){var t=null!==e.target&&!e.target.isNamed()&&!e.target.isTagged();return t},new i.BindingOnSyntax(this._binding)},e.prototype.whenTargetTagged=function(e,t){return this._binding.constraint=o.taggedConstraint(e)(t),new i.BindingOnSyntax(this._binding)},e.prototype.whenInjectedInto=function(e){return this._binding.constraint=function(t){return o.typeConstraint(e)(t.parentRequest)},new i.BindingOnSyntax(this._binding)},e.prototype.whenParentNamed=function(e){return this._binding.constraint=function(t){return o.namedConstraint(e)(t.parentRequest)},new i.BindingOnSyntax(this._binding)},e.prototype.whenParentTagged=function(e,t){return this._binding.constraint=function(n){return o.taggedConstraint(e)(t)(n.parentRequest)},new i.BindingOnSyntax(this._binding)},e.prototype.whenAnyAncestorIs=function(e){return this._binding.constraint=function(t){return o.traverseAncerstors(t,o.typeConstraint(e))},new i.BindingOnSyntax(this._binding)},e.prototype.whenNoAncestorIs=function(e){return this._binding.constraint=function(t){return!o.traverseAncerstors(t,o.typeConstraint(e))},new i.BindingOnSyntax(this._binding)},e.prototype.whenAnyAncestorNamed=function(e){return this._binding.constraint=function(t){return o.traverseAncerstors(t,o.namedConstraint(e))},new i.BindingOnSyntax(this._binding)},e.prototype.whenNoAncestorNamed=function(e){return this._binding.constraint=function(t){return!o.traverseAncerstors(t,o.namedConstraint(e))},new i.BindingOnSyntax(this._binding)},e.prototype.whenAnyAncestorTagged=function(e,t){return this._binding.constraint=function(n){return o.traverseAncerstors(n,o.taggedConstraint(e)(t))},new i.BindingOnSyntax(this._binding)},e.prototype.whenNoAncestorTagged=function(e,t){return this._binding.constraint=function(n){return!o.traverseAncerstors(n,o.taggedConstraint(e)(t))},new i.BindingOnSyntax(this._binding)},e.prototype.whenAnyAncestorMatches=function(e){return this._binding.constraint=function(t){return o.traverseAncerstors(t,e)},new i.BindingOnSyntax(this._binding)},e.prototype.whenNoAncestorMatches=function(e){return this._binding.constraint=function(t){return!o.traverseAncerstors(t,e)},new i.BindingOnSyntax(this._binding)},e}();t.BindingWhenSyntax=r},cf98:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("3a92"),r=n("3b4c"),s=n("3623"),a=n("c444"),c=n("5eb6"),l=n("a0af"),u=n("3585");function d(e){return"scroll"in e}t.isScrollable=d;var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.mouseDown=function(e,t){var n=s.findParentByFeature(e,l.isMoveable);if(void 0===n&&!(e instanceof u.SRoutingHandle)){var i=s.findParentByFeature(e,c.isViewport);this.lastScrollPosition=i?{x:t.pageX,y:t.pageY}:void 0}return[]},t.prototype.mouseMove=function(e,t){if(0===t.buttons)this.mouseUp(e,t);else if(this.lastScrollPosition){var n=s.findParentByFeature(e,c.isViewport);if(n){var i=(t.pageX-this.lastScrollPosition.x)/n.zoom,o=(t.pageY-this.lastScrollPosition.y)/n.zoom,r={scroll:{x:n.scroll.x-i,y:n.scroll.y-o},zoom:n.zoom};return this.lastScrollPosition={x:t.pageX,y:t.pageY},[new a.SetViewportAction(n.id,r,!1)]}}return[]},t.prototype.mouseEnter=function(e,t){return e instanceof o.SModelRoot&&0===t.buttons&&this.mouseUp(e,t),[]},t.prototype.mouseUp=function(e,t){return this.lastScrollPosition=void 0,[]},t}(r.MouseListener);t.ScrollMouseListener=h},d084:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("3a92");function o(e,t){for(var n in e)e.hasOwnProperty(n)&&t(n,e[n])}t.forEachMatch=o;var r=function(){function e(){}return e.prototype.match=function(e,t){var n={};return this.matchLeft(e,n),this.matchRight(t,n),n},e.prototype.matchLeft=function(e,t,n){var o=t[e.id];if(void 0!==o?(o.left=e,o.leftParentId=n):(o={left:e,leftParentId:n},t[e.id]=o),i.isParent(e))for(var r=0,s=e.children;r=0&&(void 0!==s.right&&s.leftParentId===s.rightParentId?(c.children.splice(l,1,s.right),a=!0):c.children.splice(l,1)),n.remove(s.left)}}if(!a&&void 0!==s.right&&void 0!==s.rightParentId){var u=n.getById(s.rightParentId);void 0!==u&&(void 0===u.children&&(u.children=[]),u.children.push(s.right))}}}t.ModelMatcher=r,t.applyMatches=s},d14a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("e1c6"),o=n("6923"),r=n("a406"),s=n("0a28"),a=new i.ContainerModule(function(e){e(s.CommandPalette).toSelf().inSingletonScope(),e(o.TYPES.IUIExtension).toService(s.CommandPalette),e(o.TYPES.KeyListener).to(s.CommandPaletteKeyListener),e(r.CommandPaletteActionProviderRegistry).toSelf().inSingletonScope(),e(o.TYPES.ICommandPaletteActionProviderRegistry).toService(r.CommandPaletteActionProviderRegistry)});t.default=a},d17b:function(e,t,n){e.exports=n("e372").Transform},d18c:function(e,t,n){"use strict";var i=n("943d"),o=n.n(i);o.a},d204:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("1979"),o=n("66d7");function r(e,t){return function(n,r,s){var a=new i.Metadata(e,t);"number"===typeof s?o.tagParameter(n,r,s,a):o.tagProperty(n,r,a)}}t.tagged=r},d485:function(e,t,n){e.exports=r;var i=n("faa1").EventEmitter,o=n("3fb5");function r(){i.call(this)}o(r,i),r.Readable=n("e372"),r.Writable=n("2c63"),r.Duplex=n("0960"),r.Transform=n("d17b"),r.PassThrough=n("c2ae"),r.Stream=r,r.prototype.pipe=function(e,t){var n=this;function o(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function r(){n.readable&&n.resume&&n.resume()}n.on("data",o),e.on("drain",r),e._isStdio||t&&!1===t.end||(n.on("end",a),n.on("close",c));var s=!1;function a(){s||(s=!0,e.end())}function c(){s||(s=!0,"function"===typeof e.destroy&&e.destroy())}function l(e){if(u(),0===i.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",o),e.removeListener("drain",r),n.removeListener("end",a),n.removeListener("close",c),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",l),e.on("error",l),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},d60a:function(e,t){e.exports=function(e){return e&&"object"===typeof e&&"function"===typeof e.copy&&"function"===typeof e.fill&&"function"===typeof e.readUInt8}},d675:function(e,t,n){},d6e2:function(e,t,n){"use strict";var i=n("bab1"),o=n.n(i);o.a},d741:function(e,t,n){},d752:function(e,t,n){var i=n("7726").parseFloat,o=n("aa77").trim;e.exports=1/i(n("fdef")+"-0")!==-1/0?function(e){var t=o(String(e),3),n=i(t);return 0===n&&"-"==t.charAt(0)?-0:n}:i},d8f5:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),a=n("dd02"),c=n("3585"),l=n("869e"),u=n("b7b8"),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n;return i(t,e),n=t,Object.defineProperty(t.prototype,"kind",{get:function(){return n.KIND},enumerable:!0,configurable:!0}),t.prototype.getOptions=function(e){return{minimalPointDistance:2,removeAngleThreshold:.1,standardDistance:20,selfEdgeOffset:.25}},t.prototype.route=function(e){var t,n,i=e.source,o=e.target;if(void 0===i||void 0===o)return[];var r=this.getOptions(e),s=e.routingPoints.length>0?e.routingPoints:[];this.cleanupRoutingPoints(e,s,!1,!1);var c=void 0!==s?s.length:0;if(0===c){var l=a.center(o.bounds);t=this.getTranslatedAnchor(i,l,o.parent,e,e.sourceAnchorCorrection);var u=a.center(i.bounds);n=this.getTranslatedAnchor(o,u,i.parent,e,e.targetAnchorCorrection)}else{var d=s[0];t=this.getTranslatedAnchor(i,d,e.parent,e,e.sourceAnchorCorrection);var h=s[c-1];n=this.getTranslatedAnchor(o,h,e.parent,e,e.targetAnchorCorrection)}var p=[];p.push({kind:"source",x:t.x,y:t.y});for(var f=0;f0&&f=r.minimalPointDistance+(e.sourceAnchorCorrection||0)||f===c-1&&a.maxDistance(m,n)>=r.minimalPointDistance+(e.targetAnchorCorrection||0))&&p.push({kind:"linear",x:m.x,y:m.y,pointIndex:f})}return p.push({kind:"target",x:n.x,y:n.y}),this.filterEditModeHandles(p,e,r)},t.prototype.filterEditModeHandles=function(e,t,n){if(0===t.children.length)return e;var i=0,o=function(){var o=e[i];if(void 0!==o.pointIndex){var r=t.children.find(function(e){return e instanceof c.SRoutingHandle&&"junction"===e.kind&&e.pointIndex===o.pointIndex});if(void 0!==r&&r.editMode&&i>0&&ir)&&e.pointIndex++}),n.addHandle(e,"line","volatile-routing-point",r),n.addHandle(e,"line","volatile-routing-point",r+1),r++),r>=0&&r-1?setImmediate:o.nextTick;y.WritableState=b;var c=Object.create(n("3a7c"));c.inherits=n("3fb5");var l={deprecate:n("b7d1")},u=n("429b"),d=n("a8f0").Buffer,h=i.Uint8Array||function(){};function p(e){return d.from(e)}function f(e){return d.isBuffer(e)||e instanceof h}var m,g=n("4681");function v(){}function b(e,t){s=s||n("b19a"),e=e||{};var i=t instanceof s;this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var o=e.highWaterMark,a=e.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:i&&(a||0===a)?a:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var l=!1===e.decodeStrings;this.decodeStrings=!l,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){O(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function y(e){if(s=s||n("b19a"),!m.call(y,this)&&!(this instanceof s))return new y(e);this._writableState=new b(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),u.call(this)}function _(e,t){var n=new Error("write after end");e.emit("error",n),o.nextTick(t,n)}function M(e,t,n,i){var r=!0,s=!1;return null===n?s=new TypeError("May not write null values to stream"):"string"===typeof n||void 0===n||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),o.nextTick(i,s),r=!1),r}function w(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=d.from(t,n)),t}function C(e,t,n,i,o,r){if(!n){var s=w(t,i,o);i!==s&&(n=!0,o="buffer",i=s)}var a=t.objectMode?1:i.length;t.length+=a;var c=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,n){var i=this._writableState;"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||i.finished||N(this,i,n)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=g.destroy,y.prototype._undestroy=g.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n("4362"),n("c8ba"))},dd02:function(e,t,n){"use strict";function i(e,t){return{x:e.x+t.x,y:e.y+t.y}}function o(e,t){return{x:e.x-t.x,y:e.y-t.y}}function r(e){return e.width>=0&&e.height>=0}function s(e){return"x"in e&&"y"in e&&"width"in e&&"height"in e}function a(e,n){if(!r(e))return r(n)?n:t.EMPTY_BOUNDS;if(!r(n))return e;var i=Math.min(e.x,n.x),o=Math.min(e.y,n.y),s=Math.max(e.x+(e.width>=0?e.width:0),n.x+(n.width>=0?n.width:0)),a=Math.max(e.y+(e.height>=0?e.height:0),n.y+(n.height>=0?n.height:0));return{x:i,y:o,width:s-i,height:a-o}}function c(e,t){return{x:e.x+t.x,y:e.y+t.y,width:e.width,height:e.height}}function l(e){return{x:e.x+(e.width>=0?.5*e.width:0),y:e.y+(e.height>=0?.5*e.height:0)}}function u(e,t){var n={x:e.x>t.x?t.x:e.x,y:e.y>t.y?t.y:e.y,width:Math.abs(t.x-e.x),height:Math.abs(t.y-e.y)};return l(n)}function d(e,t){return t.x>=e.x&&t.x<=e.x+e.width&&t.y>=e.y&&t.y<=e.y+e.height}function h(e,t){var n=t.x-e.x,i=t.y-e.y;return Math.sqrt(n*n+i*i)}function p(e,t){return Math.abs(t.x-e.x)+Math.abs(t.y-e.y)}function f(e,t){return Math.max(Math.abs(t.x-e.x),Math.abs(t.y-e.y))}function m(e){return Math.atan2(e.y,e.x)}function g(e,t){var n=Math.sqrt((e.x*e.x+e.y*e.y)*(t.x*t.x+t.y*t.y));if(isNaN(n)||0===n)return NaN;var i=e.x*t.x+e.y*t.y;return Math.acos(i/n)}function v(e,t,n){var r=o(t,e),s=b(r),a={x:s.x*n,y:s.y*n};return i(e,a)}function b(e){var n=y(e);return 0===n||1===n?t.ORIGIN_POINT:{x:e.x/n,y:e.y/n}}function y(e){return Math.sqrt(Math.pow(e.x,2)+Math.pow(e.y,2))}function _(e){return 180*e/Math.PI}function M(e){return e*Math.PI/180}function w(e,t){return Math.abs(e-t)<.001}function C(e,t,n){return{x:(1-n)*e.x+n*t.x,y:(1-n)*e.y+n*t.y}}Object.defineProperty(t,"__esModule",{value:!0}),t.ORIGIN_POINT=Object.freeze({x:0,y:0}),t.add=i,t.subtract=o,t.EMPTY_DIMENSION=Object.freeze({width:-1,height:-1}),t.isValidDimension=r,t.EMPTY_BOUNDS=Object.freeze({x:0,y:0,width:-1,height:-1}),t.isBounds=s,t.combine=a,t.translate=c,t.center=l,t.centerOfLine=u,t.includes=d,function(e){e[e["left"]=0]="left",e[e["right"]=1]="right",e[e["up"]=2]="up",e[e["down"]=3]="down"}(t.Direction||(t.Direction={})),t.euclideanDistance=h,t.manhattanDistance=p,t.maxDistance=f,t.angleOfPoint=m,t.angleBetweenPoints=g,t.shiftTowards=v,t.normalize=b,t.magnitude=y,t.toDegrees=_,t.toRadians=M,t.almostEquals=w,t.linear=C;var S=function(){function e(e){this.bounds=e}return Object.defineProperty(e.prototype,"topPoint",{get:function(){return{x:this.bounds.x+this.bounds.width/2,y:this.bounds.y}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rightPoint",{get:function(){return{x:this.bounds.x+this.bounds.width,y:this.bounds.y+this.bounds.height/2}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomPoint",{get:function(){return{x:this.bounds.x+this.bounds.width/2,y:this.bounds.y+this.bounds.height}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftPoint",{get:function(){return{x:this.bounds.x,y:this.bounds.y+this.bounds.height/2}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topRightSideLine",{get:function(){return new A(this.topPoint,this.rightPoint)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topLeftSideLine",{get:function(){return new A(this.topPoint,this.leftPoint)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomRightSideLine",{get:function(){return new A(this.bottomPoint,this.rightPoint)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomLeftSideLine",{get:function(){return new A(this.bottomPoint,this.leftPoint)},enumerable:!0,configurable:!0}),e.prototype.closestSideLine=function(e){var t=l(this.bounds);return e.x>t.x?e.y>t.y?this.bottomRightSideLine:this.topRightSideLine:e.y>t.y?this.bottomLeftSideLine:this.topLeftSideLine},e}();t.Diamond=S;var A=function(){function e(e,t){this.p1=e,this.p2=t}return Object.defineProperty(e.prototype,"a",{get:function(){return this.p1.y-this.p2.y},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"b",{get:function(){return this.p2.x-this.p1.x},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"c",{get:function(){return this.p2.x*this.p1.y-this.p1.x*this.p2.y},enumerable:!0,configurable:!0}),e}();function E(e,t){return{x:(e.c*t.b-t.c*e.b)/(e.a*t.b-t.a*e.b),y:(e.a*t.c-t.a*e.c)/(e.a*t.b-t.a*e.b)}}t.PointToPointLine=A,t.intersection=E},dd7b:function(e,t,n){"use strict";function i(e,t,n,i,o){var r=void 0===t?void 0:t.key;return{sel:e,data:t,children:n,text:i,elm:o,key:r}}n.r(t);var o=i,r=Array.isArray;function s(e){return"string"===typeof e||"number"===typeof e}function a(e){return document.createElement(e)}function c(e,t){return document.createElementNS(e,t)}function l(e){return document.createTextNode(e)}function u(e){return document.createComment(e)}function d(e,t,n){e.insertBefore(t,n)}function h(e,t){e.removeChild(t)}function p(e,t){e.appendChild(t)}function f(e){return e.parentNode}function m(e){return e.nextSibling}function g(e){return e.tagName}function v(e,t){e.textContent=t}function b(e){return e.textContent}function y(e){return 1===e.nodeType}function _(e){return 3===e.nodeType}function M(e){return 8===e.nodeType}var w={createElement:a,createElementNS:c,createTextNode:l,createComment:u,insertBefore:d,removeChild:h,appendChild:p,parentNode:f,nextSibling:m,tagName:g,setTextContent:v,getTextContent:b,isElement:y,isText:_,isComment:M},C=w;function S(e,t,n){if(e.ns="http://www.w3.org/2000/svg","foreignObject"!==n&&void 0!==t)for(var i=0;i0?u:l.length,f=d>0?d:l.length,m=-1!==u||-1!==d?l.slice(0,Math.min(p,f)):l,g=e.elm=R(i)&&R(n=i.ns)?c.createElementNS(n,m):c.createElement(m);for(p0&&g.setAttribute("class",l.slice(f+1).replace(/\./g," ")),n=0;nd?(a=null==n[b+1]?null:n[b+1].elm,p(e,a,n,u,b,i)):m(e,t,l,d))}function v(e,t,n){var i,o;R(i=t.data)&&R(o=i.hook)&&R(i=o.prepatch)&&i(e,t);var r=t.elm=e.elm,s=e.children,l=t.children;if(e!==t){if(void 0!==t.data){for(i=0;i=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var s=n("e1c6"),a=n("6923"),c=n("1590"),l=n("1417"),u=n("b669"),d=function(){function e(){this.tools=[],this.defaultTools=[],this.actives=[]}return Object.defineProperty(e.prototype,"managedTools",{get:function(){return this.defaultTools.concat(this.tools)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeTools",{get:function(){return this.actives},enumerable:!0,configurable:!0}),e.prototype.disableActiveTools=function(){this.actives.forEach(function(e){return e.disable()}),this.actives.splice(0,this.actives.length)},e.prototype.enableDefaultTools=function(){this.enable(this.defaultTools.map(function(e){return e.id}))},e.prototype.enable=function(e){var t=this;this.disableActiveTools();var n=e.map(function(e){return t.tool(e)});n.forEach(function(e){void 0!==e&&(e.enable(),t.actives.push(e))})},e.prototype.tool=function(e){return this.managedTools.find(function(t){return t.id===e})},e.prototype.registerDefaultTools=function(){for(var e=[],t=0;t=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),s=n("302f"),a=n("3a92"),c=n("3623"),l=n("47b7"),u=n("38e8"),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.defaultGraphFeatures=s.createFeatureSet(l.SGraph.DEFAULT_FEATURES),t.defaultNodeFeatures=s.createFeatureSet(l.SNode.DEFAULT_FEATURES),t.defaultPortFeatures=s.createFeatureSet(l.SPort.DEFAULT_FEATURES),t.defaultEdgeFeatures=s.createFeatureSet(l.SEdge.DEFAULT_FEATURES),t.defaultLabelFeatures=s.createFeatureSet(l.SLabel.DEFAULT_FEATURES),t.defaultCompartmentFeatures=s.createFeatureSet(l.SCompartment.DEFAULT_FEATURES),t.defaultButtonFeatures=s.createFeatureSet(u.SButton.DEFAULT_FEATURES),t}return i(t,e),t.prototype.createElement=function(e,t){var n;if(this.registry.hasKey(e.type)){var i=this.registry.get(e.type,void 0);if(!(i instanceof a.SChildElement))throw new Error("Element with type "+e.type+" was expected to be an SChildElement.");n=i}else this.isNodeSchema(e)?(n=new l.SNode,n.features=this.defaultNodeFeatures):this.isPortSchema(e)?(n=new l.SPort,n.features=this.defaultPortFeatures):this.isEdgeSchema(e)?(n=new l.SEdge,n.features=this.defaultEdgeFeatures):this.isLabelSchema(e)?(n=new l.SLabel,n.features=this.defaultLabelFeatures):this.isCompartmentSchema(e)?(n=new l.SCompartment,n.features=this.defaultCompartmentFeatures):this.isButtonSchema(e)?(n=new u.SButton,n.features=this.defaultButtonFeatures):n=new a.SChildElement;return this.initializeChild(n,e,t)},t.prototype.createRoot=function(e){var t;if(this.registry.hasKey(e.type)){var n=this.registry.get(e.type,void 0);if(!(n instanceof a.SModelRoot))throw new Error("Element with type "+e.type+" was expected to be an SModelRoot.");t=n}else this.isGraphSchema(e)?(t=new l.SGraph,t.features=this.defaultGraphFeatures):t=new a.SModelRoot;return this.initializeRoot(t,e)},t.prototype.isGraphSchema=function(e){return"graph"===c.getBasicType(e)},t.prototype.isNodeSchema=function(e){return"node"===c.getBasicType(e)},t.prototype.isPortSchema=function(e){return"port"===c.getBasicType(e)},t.prototype.isEdgeSchema=function(e){return"edge"===c.getBasicType(e)},t.prototype.isLabelSchema=function(e){return"label"===c.getBasicType(e)},t.prototype.isCompartmentSchema=function(e){return"comp"===c.getBasicType(e)},t.prototype.isButtonSchema=function(e){return"button"===c.getBasicType(e)},t=o([r.injectable()],t),t}(s.SModelFactory);t.SGraphFactory=d},e00b:function(e,t,n){"use strict";var i=function(){var e,t,n=this,i=n.$createElement,o=n._self._c||i;return null!==n.dataSummary?o("div",{staticClass:"hv-histogram-container",class:"hv-histogram-"+n.direction,style:(e={},e["min-"+n.colormapStyle]=Math.max(4*n.dataSummary.histogram.length,256)+"px",e),on:{mouseleave:function(e){n.tooltips&&n.setInfoShowed(null)}}},[n.isHorizontal?[n.hasHistogram?o("div",{staticClass:"hv-histogram",class:[null!==n.colormap?"k-with-colormap":""]},n._l(n.dataSummary.histogram,function(e,t){return o("div",{key:t,staticClass:"hv-histogram-col",style:{width:n.histogramWidth+"%"},on:{mouseover:function(e){n.infoShowed={index:t,categories:n.dataSummary.categories,values:n.dataSummary.histogram}}}},[o("q-tooltip",{attrs:{offset:[0,10],delay:500}},[n._v(n._s(n.infoShowed.values[n.infoShowed.index]))]),o("div",{staticClass:"hv-histogram-val",style:{height:n.getHistogramDataHeight(e)+"%"}})],1)})):o("div",{staticClass:"hv-histogram-nodata"},[n._v(n._s(n.$t("label.noHistogramData")))])]:n._e(),n.dataSummary.categories.length>0?o("div",{staticClass:"hv-colormap-container",class:["hv-colormap-container-"+n.direction]},[null!==n.colormap?o("div",{staticClass:"hv-colormap",class:["hv-colormap-"+n.direction],style:(t={},t["min-"+n.colormapStyle]=Math.min(n.colormap.colors.length,256)+"px",t)},n._l(n.colormap.colors,function(e,t){var i;return o("div",{key:t,staticClass:"hv-colormap-col",style:(i={},i[n.colormapStyle]=n.colormapWidth+"%",i["background-color"]=e,i),on:{mouseover:function(e){n.tooltips&&(n.infoShowed={index:t,categories:[],values:n.colormap.labels})}}})})):n._e(),n.legend&&n.dataSummary.categories.length>0?o("div",{staticClass:"hv-legend hv-categories full-height"},[n._l(n.dataSummary.categories,function(e,t){return o("div",{key:t,staticClass:"hv-category",style:{"line-height":n.calculateFontSize()+"px","font-size":n.calculateFontSize()+"px"}},[n.dataSummary.categorized?o("span",{class:{"hv-zero-category":0===n.dataSummary.histogram[t]}},[n._v(n._s(e))]):o("span",[n._v(n._s(e.split(" ")[0]))])])}),n.dataSummary.categorized?n._e():o("div",{staticClass:"hv-category"},[n._v(n._s(n.histogramMax))])],2):n._e()]):n._e(),n.tooltips?o("div",{staticClass:"hv-data-details-container",class:{"hv-details-nodata":!n.hasHistogram&&null==n.colormap}},[o("div",{staticClass:"hv-histogram-min hv-data-details",on:{mouseover:function(e){n.tooltipIt(e,"q-hmin"+n.id+"-"+n.infoShowed.index)}}},[n._v(n._s(n.histogramMin)+"\n "),o("q-tooltip",{directives:[{name:"show",rawName:"v-show",value:n.needTooltip("q-hmin"+n.id+"-"+n.infoShowed.index),expression:"needTooltip(`q-hmin${id}-${infoShowed.index}`)"}],staticClass:"hv-tooltip"},[n._v(n._s(n.histogramMin))])],1),-1===n.infoShowed.index?[o("div",{staticClass:"hv-data-nodetail hv-data-details"},[n._v(n._s(n.$t("label.noInfoValues")))])]:[o("div",{staticClass:"hv-data-value hv-data-details",on:{mouseover:function(e){n.tooltipIt(e,"q-hdata"+n.id+"-"+n.infoShowed.index)}}},[n._v("\n "+n._s(n.infoShowedText)+"\n "),o("q-tooltip",{directives:[{name:"show",rawName:"v-show",value:n.needTooltip("q-hdata"+n.id+"-"+n.infoShowed.index),expression:"needTooltip(`q-hdata${id}-${infoShowed.index}`)"}],staticClass:"hv-tooltip",attrs:{anchor:"center right",self:"center left",offset:[10,10]}},[n._v("\n "+n._s(n.infoShowedText)+"\n ")])],1)],o("div",{staticClass:"hv-histogram-max hv-data-details",on:{mouseover:function(e){n.tooltipIt(e,"q-hmax"+n.id+"-"+n.infoShowed.index)}}},[n._v(n._s(n.histogramMax)+"\n "),o("q-tooltip",{directives:[{name:"show",rawName:"v-show",value:n.needTooltip("q-hmax"+n.id+"-"+n.infoShowed.index),expression:"needTooltip(`q-hmax${id}-${infoShowed.index}`)"}],staticClass:"hv-tooltip"},[n._v(n._s(n.histogramMax))])],1)],2):n._e()],2):n._e()},o=[];i._withStripped=!0;var r=n("3156"),s=n.n(r),a=(n("ac6a"),n("cadf"),n("2cee")),c=n("7cca"),l=n("abcf"),u=l["b"].height,d={name:"HistogramViewer",props:{dataSummary:{type:Object,required:!0},colormap:Object,id:{type:String,default:""},direction:{type:String,default:"horizontal",validator:function(e){return-1!==["horizontal","vertical"].indexOf(e)}},tooltips:{type:Boolean,default:!0},legend:{type:Boolean,default:!1}},mixins:[a["a"]],data:function(){return{infoShowed:{index:-1,categories:[],values:[]}}},computed:{hasHistogram:function(){return this.dataSummary.histogram.length>0},isHorizontal:function(){return"horizontal"===this.direction},maxHistogramValue:function(){return Math.max.apply(null,this.dataSummary.histogram)},histogramWidth:function(){return 100/this.dataSummary.histogram.length},histogramMin:function(){return"NaN"===this.dataSummary.minValue||this.dataSummary.categorized?"":Math.round(100*this.dataSummary.minValue)/100},histogramMax:function(){return"NaN"===this.dataSummary.maxValue||this.dataSummary.categorized?"":Math.round(100*this.dataSummary.maxValue)/100},colormapWidth:function(){return 100/this.colormap.colors.length},infoShowedText:function(){var e;return this.infoShowed.categories.length>0&&(e=this.infoShowed.categories[this.infoShowed.index],"undefined"!==typeof e&&null!==e&&""!==e)?e:this.infoShowed.values.length>0&&(e=this.infoShowed.values[this.infoShowed.index],"undefined"!==typeof e&&null!==e&&""!==e)?e:""},colormapStyle:function(){return"horizontal"===this.direction?"width":"height"},categoryHeight:function(){return console.warn(100/this.dataSummary.categories.length+(this.dataSummary.categorized?0:2)),100/(this.dataSummary.categories.length+(this.dataSummary.categorized?0:2))}},methods:{getHistogramDataHeight:function(e){return 100*e/this.maxHistogramValue},setInfoShowed:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.infoShowed=null===e?{index:-1,categories:[],values:[]}:s()({},e)},calculateFontSize:function(){var e=document.querySelector(".hv-categories");if(e){var t=u(e);return Math.min(Math.max(t/this.dataSummary.categories.length,6),12)}return 12}},mounted:function(){this.$eventBus.$on(c["h"].SHOW_DATA_INFO,this.setInfoShowed)},beforeDestroy:function(){this.$eventBus.$off(c["h"].SHOW_DATA_INFO,this.setInfoShowed)}},h=d,p=(n("4c12"),n("2877")),f=Object(p["a"])(h,i,o,!1,null,null,null);f.options.__file="HistogramViewer.vue";t["a"]=f.exports},e0d9:function(e,t,n){"use strict";var i=n("ce70"),o=n.n(i);o.a},e1c6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("c5f4");t.METADATA_KEY=i;var o=n("f457");t.Container=o.Container;var r=n("155f");t.BindingScopeEnum=r.BindingScopeEnum,t.BindingTypeEnum=r.BindingTypeEnum,t.TargetTypeEnum=r.TargetTypeEnum;var s=n("771c");t.AsyncContainerModule=s.AsyncContainerModule,t.ContainerModule=s.ContainerModule;var a=n("719e");t.injectable=a.injectable;var c=n("d204");t.tagged=c.tagged;var l=n("6730");t.named=l.named;var u=n("624f");t.inject=u.inject,t.LazyServiceIdentifer=u.LazyServiceIdentifer;var d=n("8d8c");t.optional=d.optional;var h=n("9f62");t.unmanaged=h.unmanaged;var p=n("8c88");t.multiInject=p.multiInject;var f=n("a1a5");t.targetName=f.targetName;var m=n("4a4f");t.postConstruct=m.postConstruct;var g=n("c278");t.MetadataReader=g.MetadataReader;var v=n("77d3");t.id=v.id;var b=n("66d7");t.decorate=b.decorate;var y=n("451f");t.traverseAncerstors=y.traverseAncerstors,t.taggedConstraint=y.taggedConstraint,t.namedConstraint=y.namedConstraint,t.typeConstraint=y.typeConstraint;var _=n("ba33");t.getServiceIdentifierAsString=_.getServiceIdentifierAsString;var M=n("efc5");t.multiBindToService=M.multiBindToService},e1cb:function(e,t,n){"use strict";function i(e){return e.hasFeature(t.nameFeature)}function o(e){return i(e)?e.name:void 0}Object.defineProperty(t,"__esModule",{value:!0}),t.nameFeature=Symbol("nameableFeature"),t.isNameable=i,t.name=o},e2d7:function(e,t,n){"use strict";var i=n("8ef3"),o=n.n(i);o.a},e325:function(t,n,o){"use strict";var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!==typeof e)throw new TypeError("predicate must be a function");var i=arguments[1],o=0;while(o>>0;if("function"!==typeof e)throw new TypeError("predicate must be a function");var i=arguments[1],o=0;while(o>>0;if(0===i)return!1;var o=0|t,r=Math.max(o>=0?o:i-Math.abs(o),0);function s(e,t){return e===t||"number"===typeof e&&"number"===typeof t&&isNaN(e)&&isNaN(t)}while(rn?(t=e-n,this.element.style.marginLeft=-t+"px"):this.element.style.marginLeft=0,this.scrollLeft=e,this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.scrollHorizontal()},s.prototype.generateColumnsFromRowData=function(e){var t,n,i=[],o=this.table.options.autoColumnsDefinitions;if(e&&e.length){for(var s in t=e[0],t){var a={field:s,title:s},c=t[s];switch("undefined"===typeof c?"undefined":r(c)){case"undefined":n="string";break;case"boolean":n="boolean";break;case"object":n=Array.isArray(c)?"array":"string";break;default:n=isNaN(c)||""===c?c.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?"alphanum":"string":"number";break}a.sorter=n,i.push(a)}if(o)switch("undefined"===typeof o?"undefined":r(o)){case"function":this.table.options.columns=o.call(this.table,i);break;case"object":Array.isArray(o)?i.forEach(function(e){var t=o.find(function(t){return t.field===e.field});t&&Object.assign(e,t)}):i.forEach(function(e){o[e.field]&&Object.assign(e,o[e.field])}),this.table.options.columns=i;break}else this.table.options.columns=i;this.setColumns(this.table.options.columns)}},s.prototype.setColumns=function(e,t){var n=this;while(n.headersElement.firstChild)n.headersElement.removeChild(n.headersElement.firstChild);n.columns=[],n.columnsByIndex=[],n.columnsByField={},n.table.modExists("frozenColumns")&&n.table.modules.frozenColumns.reset(),e.forEach(function(e,t){n._addColumn(e)}),n._reIndexColumns(),n.table.options.responsiveLayout&&n.table.modExists("responsiveLayout",!0)&&n.table.modules.responsiveLayout.initialize(),this.table.options.virtualDomHoz&&this.table.vdomHoz.reinitialize(!1,!0),n.redraw(!0)},s.prototype._addColumn=function(e,t,n){var i=new c(e,this),o=i.getElement(),r=n?this.findColumnIndex(n):n;if(n&&r>-1){var s=this.columns.indexOf(n.getTopColumn()),a=n.getElement();t?(this.columns.splice(s,0,i),a.parentNode.insertBefore(o,a)):(this.columns.splice(s+1,0,i),a.parentNode.insertBefore(o,a.nextSibling))}else t?(this.columns.unshift(i),this.headersElement.insertBefore(i.getElement(),this.headersElement.firstChild)):(this.columns.push(i),this.headersElement.appendChild(i.getElement())),i.columnRendered();return i},s.prototype.registerColumnField=function(e){e.definition.field&&(this.columnsByField[e.definition.field]=e)},s.prototype.registerColumnPosition=function(e){this.columnsByIndex.push(e)},s.prototype._reIndexColumns=function(){this.columnsByIndex=[],this.columns.forEach(function(e){e.reRegisterPosition()})},s.prototype._verticalAlignHeaders=function(){var e=this,t=0;e.columns.forEach(function(e){var n;e.clearVerticalAlign(),n=e.getHeight(),n>t&&(t=n)}),e.columns.forEach(function(n){n.verticalAlign(e.table.options.columnHeaderVertAlign,t)}),e.rowManager.adjustTableSize()},s.prototype.findColumn=function(e){var t=this;if("object"!=("undefined"===typeof e?"undefined":r(e)))return this.columnsByField[e]||!1;if(e instanceof c)return e;if(e instanceof a)return e._getSelf()||!1;if("undefined"!==typeof HTMLElement&&e instanceof HTMLElement){var n=t.columns.find(function(t){return t.element===e});return n||!1}return!1},s.prototype.getColumnByField=function(e){return this.columnsByField[e]},s.prototype.getColumnsByFieldRoot=function(e){var t=this,n=[];return Object.keys(this.columnsByField).forEach(function(i){var o=i.split(".")[0];o===e&&n.push(t.columnsByField[i])}),n},s.prototype.getColumnByIndex=function(e){return this.columnsByIndex[e]},s.prototype.getFirstVisibileColumn=function(e){e=this.columnsByIndex.findIndex(function(e){return e.visible});return e>-1&&this.columnsByIndex[e]},s.prototype.getColumns=function(){return this.columns},s.prototype.findColumnIndex=function(e){return this.columnsByIndex.findIndex(function(t){return e===t})},s.prototype.getRealColumns=function(){return this.columnsByIndex},s.prototype.traverse=function(e){var t=this;t.columnsByIndex.forEach(function(t,n){e(t,n)})},s.prototype.getDefinitions=function(e){var t=this,n=[];return t.columnsByIndex.forEach(function(t){(!e||e&&t.visible)&&n.push(t.getDefinition())}),n},s.prototype.getDefinitionTree=function(){var e=this,t=[];return e.columns.forEach(function(e){t.push(e.getDefinition(!0))}),t},s.prototype.getComponents=function(e){var t=this,n=[],i=e?t.columns:t.columnsByIndex;return i.forEach(function(e){n.push(e.getComponent())}),n},s.prototype.getWidth=function(){var e=0;return this.columnsByIndex.forEach(function(t){t.visible&&(e+=t.getWidth())}),e},s.prototype.moveColumn=function(e,t,n){this.moveColumnActual(e,t,n),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.initialize(),this.table.modExists("columnCalcs")&&this.table.modules.columnCalcs.recalc(this.table.rowManager.activeRows),t.element.parentNode.insertBefore(e.element,t.element),n&&t.element.parentNode.insertBefore(t.element,e.element),this._verticalAlignHeaders(),this.table.rowManager.reinitialize()},s.prototype.moveColumnActual=function(e,t,n){e.parent.isGroup?this._moveColumnInArray(e.parent.columns,e,t,n):this._moveColumnInArray(this.columns,e,t,n),this._moveColumnInArray(this.columnsByIndex,e,t,n,!0),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.initialize(),this.table.options.virtualDomHoz&&this.table.vdomHoz.reinitialize(!0),this.table.options.columnMoved&&this.table.options.columnMoved.call(this.table,e.getComponent(),this.table.columnManager.getComponents()),this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.columns&&this.table.modules.persistence.save("columns")},s.prototype._moveColumnInArray=function(e,t,n,i,o){var r,s=this,a=e.indexOf(t),c=[];a>-1&&(e.splice(a,1),r=e.indexOf(n),r>-1?i&&(r+=1):r=a,e.splice(r,0,t),o&&(this.table.options.dataTree&&this.table.modExists("dataTree",!0)&&this.table.rowManager.rows.forEach(function(e){c=c.concat(s.table.modules.dataTree.getTreeChildren(e,!1,!0))}),c=c.concat(this.table.rowManager.rows),c.forEach(function(e){if(e.cells.length){var t=e.cells.splice(a,1)[0];e.cells.splice(r,0,t)}})))},s.prototype.scrollToColumn=function(e,t,n){var i=this,o=0,r=0,s=0,a=e.getElement();return new Promise(function(c,l){if("undefined"===typeof t&&(t=i.table.options.scrollToColumnPosition),"undefined"===typeof n&&(n=i.table.options.scrollToColumnIfVisible),e.visible){switch(t){case"middle":case"center":s=-i.element.clientWidth/2;break;case"right":s=a.clientWidth-i.headersElement.clientWidth;break}if(!n&&(r=a.offsetLeft,r>0&&r+a.offsetWidthe.rowManager.element.clientHeight&&(t-=e.rowManager.element.offsetWidth-e.rowManager.element.clientWidth),this.columnsByIndex.forEach(function(i){var o,r,s;i.visible&&(o=i.definition.width||0,r="undefined"==typeof i.minWidth?e.table.options.columnMinWidth:parseInt(i.minWidth),s="string"==typeof o?o.indexOf("%")>-1?t/100*parseInt(o):parseInt(o):o,n+=s>r?s:r)}),n},s.prototype.addColumn=function(e,t,n){var i=this;return new Promise(function(o,r){var s=i._addColumn(e,t,n);i._reIndexColumns(),i.table.options.responsiveLayout&&i.table.modExists("responsiveLayout",!0)&&i.table.modules.responsiveLayout.initialize(),i.table.modExists("columnCalcs")&&i.table.modules.columnCalcs.recalc(i.table.rowManager.activeRows),i.redraw(!0),"fitColumns"!=i.table.modules.layout.getMode()&&s.reinitializeWidth(),i._verticalAlignHeaders(),i.table.rowManager.reinitialize(),i.table.options.virtualDomHoz&&i.table.vdomHoz.reinitialize(),o(s)})},s.prototype.deregisterColumn=function(e){var t,n=e.getField();n&&delete this.columnsByField[n],t=this.columnsByIndex.indexOf(e),t>-1&&this.columnsByIndex.splice(t,1),t=this.columns.indexOf(e),t>-1&&this.columns.splice(t,1),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.initialize(),this._verticalAlignHeaders(),this.redraw()},s.prototype.redraw=function(e){e&&(g.prototype.helpers.elVisible(this.element)&&this._verticalAlignHeaders(),this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),["fitColumns","fitDataStretch"].indexOf(this.table.modules.layout.getMode())>-1?this.table.modules.layout.layout():e?this.table.modules.layout.layout():this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout(),this.table.modExists("columnCalcs")&&this.table.modules.columnCalcs.recalc(this.table.rowManager.activeRows),e&&(this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.columns&&this.table.modules.persistence.save("columns"),this.table.modExists("columnCalcs")&&this.table.modules.columnCalcs.redraw()),this.table.footerManager.redraw()};var a=function(e){this._column=e,this.type="ColumnComponent"};a.prototype.getElement=function(){return this._column.getElement()},a.prototype.getDefinition=function(){return this._column.getDefinition()},a.prototype.getField=function(){return this._column.getField()},a.prototype.getCells=function(){var e=[];return this._column.cells.forEach(function(t){e.push(t.getComponent())}),e},a.prototype.getVisibility=function(){return console.warn("getVisibility function is deprecated, you should now use the isVisible function"),this._column.visible},a.prototype.isVisible=function(){return this._column.visible},a.prototype.show=function(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()},a.prototype.hide=function(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()},a.prototype.toggle=function(){this._column.visible?this.hide():this.show()},a.prototype.delete=function(){return this._column.delete()},a.prototype.getSubColumns=function(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(t){e.push(t.getComponent())}),e},a.prototype.getParentColumn=function(){return this._column.parent instanceof c&&this._column.parent.getComponent()},a.prototype._getSelf=function(){return this._column},a.prototype.scrollTo=function(){return this._column.table.columnManager.scrollToColumn(this._column)},a.prototype.getTable=function(){return this._column.table},a.prototype.headerFilterFocus=function(){this._column.table.modExists("filter",!0)&&this._column.table.modules.filter.setHeaderFilterFocus(this._column)},a.prototype.reloadHeaderFilter=function(){this._column.table.modExists("filter",!0)&&this._column.table.modules.filter.reloadHeaderFilter(this._column)},a.prototype.getHeaderFilterValue=function(){if(this._column.table.modExists("filter",!0))return this._column.table.modules.filter.getHeaderFilterValue(this._column)},a.prototype.setHeaderFilterValue=function(e){this._column.table.modExists("filter",!0)&&this._column.table.modules.filter.setHeaderFilterValue(this._column,e)},a.prototype.move=function(e,t){var n=this._column.table.columnManager.findColumn(e);n?this._column.table.columnManager.moveColumn(this._column,n,t):console.warn("Move Error - No matching column found:",n)},a.prototype.getNextColumn=function(){var e=this._column.nextColumn();return!!e&&e.getComponent()},a.prototype.getPrevColumn=function(){var e=this._column.prevColumn();return!!e&&e.getComponent()},a.prototype.updateDefinition=function(e){return this._column.updateDefinition(e)},a.prototype.getWidth=function(){return this._column.getWidth()},a.prototype.setWidth=function(e){var t;return t=!0===e?this._column.reinitializeWidth(!0):this._column.setWidth(e),this._column.table.options.virtualDomHoz&&this._column.table.vdomHoz.reinitialize(!0),t},a.prototype.validate=function(){return this._column.validate()};var c=function e(t,n){var i=this;this.table=n.table,this.definition=t,this.parent=n,this.type="column",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.tooltip=!1,this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleFormatterRendered=!1,this.setField(this.definition.field),this.table.options.invalidOptionWarnings&&this.checkDefinition(),this.modules={},this.cellEvents={cellClick:!1,cellDblClick:!1,cellContext:!1,cellTap:!1,cellDblTap:!1,cellTapHold:!1,cellMouseEnter:!1,cellMouseLeave:!1,cellMouseOver:!1,cellMouseOut:!1,cellMouseMove:!1},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this._mapDepricatedFunctionality(),t.columns?(this.isGroup=!0,t.columns.forEach(function(t,n){var o=new e(t,i);i.attachColumn(o)}),i.checkColumnVisibility()):n.registerColumnField(this),t.rowHandle&&!1!==this.table.options.movableRows&&this.table.modExists("moveRow")&&this.table.modules.moveRow.setHandle(!0),this._buildHeader(),this.bindModuleColumns()};c.prototype.createElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),e},c.prototype.createGroupElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e},c.prototype.checkDefinition=function(){var e=this;Object.keys(this.definition).forEach(function(t){-1===e.defaultOptionList.indexOf(t)&&console.warn("Invalid column definition option in '"+(e.field||e.definition.title)+"' column:",t)})},c.prototype.setField=function(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData},c.prototype.registerColumnPosition=function(e){this.parent.registerColumnPosition(e)},c.prototype.registerColumnField=function(e){this.parent.registerColumnField(e)},c.prototype.reRegisterPosition=function(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)},c.prototype._mapDepricatedFunctionality=function(){"undefined"!==typeof this.definition.hideInHtml&&(this.definition.htmlOutput=!this.definition.hideInHtml,console.warn("hideInHtml column definition property is deprecated, you should now use htmlOutput")),"undefined"!==typeof this.definition.align&&(this.definition.hozAlign=this.definition.align,console.warn("align column definition property is deprecated, you should now use hozAlign")),"undefined"!==typeof this.definition.downloadTitle&&(this.definition.titleDownload=this.definition.downloadTitle,console.warn("downloadTitle definition property is deprecated, you should now use titleDownload"))},c.prototype.setTooltip=function(){var e=this,t=e.definition,n=t.headerTooltip||!1===t.tooltip?t.headerTooltip:e.table.options.tooltipsHeader;n?!0===n?t.field?e.table.modules.localize.bind("columns|"+t.field,function(n){e.element.setAttribute("title",n||t.title)}):e.element.setAttribute("title",t.title):("function"==typeof n&&(n=n(e.getComponent()),!1===n&&(n="")),e.element.setAttribute("title",n)):e.element.setAttribute("title","")},c.prototype._buildHeader=function(){var e=this,t=e.definition;while(e.element.firstChild)e.element.removeChild(e.element.firstChild);t.headerVertical&&(e.element.classList.add("tabulator-col-vertical"),"flip"===t.headerVertical&&e.element.classList.add("tabulator-col-vertical-flip")),e.contentElement=e._bindEvents(),e.contentElement=e._buildColumnHeaderContent(),e.element.appendChild(e.contentElement),e.isGroup?e._buildGroupHeader():e._buildColumnHeader(),e.setTooltip(),e.table.options.resizableColumns&&e.table.modExists("resizeColumns")&&e.table.modules.resizeColumns.initializeColumn("header",e,e.element),t.headerFilter&&e.table.modExists("filter")&&e.table.modExists("edit")&&("undefined"!==typeof t.headerFilterPlaceholder&&t.field&&e.table.modules.localize.setHeaderFilterColumnPlaceholder(t.field,t.headerFilterPlaceholder),e.table.modules.filter.initializeColumn(e)),e.table.modExists("frozenColumns")&&e.table.modules.frozenColumns.initializeColumn(e),e.table.options.movableColumns&&!e.isGroup&&e.table.modExists("moveColumn")&&e.table.modules.moveColumn.initializeColumn(e),(t.topCalc||t.bottomCalc)&&e.table.modExists("columnCalcs")&&e.table.modules.columnCalcs.initializeColumn(e),e.table.modExists("persistence")&&e.table.modules.persistence.config.columns&&e.table.modules.persistence.initializeColumn(e),e.element.addEventListener("mouseenter",function(t){e.setTooltip()})},c.prototype._bindEvents=function(){var e,t,n,i=this,o=i.definition;"function"==typeof o.headerClick&&i.element.addEventListener("click",function(e){o.headerClick(e,i.getComponent())}),"function"==typeof o.headerDblClick&&i.element.addEventListener("dblclick",function(e){o.headerDblClick(e,i.getComponent())}),"function"==typeof o.headerContext&&i.element.addEventListener("contextmenu",function(e){o.headerContext(e,i.getComponent())}),"function"==typeof o.headerTap&&(n=!1,i.element.addEventListener("touchstart",function(e){n=!0},{passive:!0}),i.element.addEventListener("touchend",function(e){n&&o.headerTap(e,i.getComponent()),n=!1})),"function"==typeof o.headerDblTap&&(e=null,i.element.addEventListener("touchend",function(t){e?(clearTimeout(e),e=null,o.headerDblTap(t,i.getComponent())):e=setTimeout(function(){clearTimeout(e),e=null},300)})),"function"==typeof o.headerTapHold&&(t=null,i.element.addEventListener("touchstart",function(e){clearTimeout(t),t=setTimeout(function(){clearTimeout(t),t=null,n=!1,o.headerTapHold(e,i.getComponent())},1e3)},{passive:!0}),i.element.addEventListener("touchend",function(e){clearTimeout(t),t=null})),"function"==typeof o.cellClick&&(i.cellEvents.cellClick=o.cellClick),"function"==typeof o.cellDblClick&&(i.cellEvents.cellDblClick=o.cellDblClick),"function"==typeof o.cellContext&&(i.cellEvents.cellContext=o.cellContext),"function"==typeof o.cellMouseEnter&&(i.cellEvents.cellMouseEnter=o.cellMouseEnter),"function"==typeof o.cellMouseLeave&&(i.cellEvents.cellMouseLeave=o.cellMouseLeave),"function"==typeof o.cellMouseOver&&(i.cellEvents.cellMouseOver=o.cellMouseOver),"function"==typeof o.cellMouseOut&&(i.cellEvents.cellMouseOut=o.cellMouseOut),"function"==typeof o.cellMouseMove&&(i.cellEvents.cellMouseMove=o.cellMouseMove),"function"==typeof o.cellTap&&(i.cellEvents.cellTap=o.cellTap),"function"==typeof o.cellDblTap&&(i.cellEvents.cellDblTap=o.cellDblTap),"function"==typeof o.cellTapHold&&(i.cellEvents.cellTapHold=o.cellTapHold),"function"==typeof o.cellEdited&&(i.cellEvents.cellEdited=o.cellEdited),"function"==typeof o.cellEditing&&(i.cellEvents.cellEditing=o.cellEditing),"function"==typeof o.cellEditCancelled&&(i.cellEvents.cellEditCancelled=o.cellEditCancelled)},c.prototype._buildColumnHeader=function(){var e=this,t=this.definition,n=this.table;if(n.modExists("sort")&&n.modules.sort.initializeColumn(this,this.titleHolderElement),(t.headerContextMenu||t.headerClickMenu||t.headerMenu)&&n.modExists("menu")&&n.modules.menu.initializeColumnHeader(this),n.modExists("format")&&n.modules.format.initializeColumn(this),"undefined"!=typeof t.editor&&n.modExists("edit")&&n.modules.edit.initializeColumn(this),"undefined"!=typeof t.validator&&n.modExists("validate")&&n.modules.validate.initializeColumn(this),n.modExists("mutator")&&n.modules.mutator.initializeColumn(this),n.modExists("accessor")&&n.modules.accessor.initializeColumn(this),r(n.options.responsiveLayout)&&n.modExists("responsiveLayout")&&n.modules.responsiveLayout.initializeColumn(this),"undefined"!=typeof t.visible&&(t.visible?this.show(!0):this.hide(!0)),t.cssClass){var i=t.cssClass.split(" ");i.forEach(function(t){e.element.classList.add(t)})}t.field&&this.element.setAttribute("tabulator-field",t.field),this.setMinWidth("undefined"==typeof t.minWidth?this.table.options.columnMinWidth:parseInt(t.minWidth)),(t.maxWidth||this.table.options.columnMaxWidth)&&!1!==t.maxWidth&&this.setMaxWidth("undefined"==typeof t.maxWidth?this.table.options.columnMaxWidth:parseInt(t.maxWidth)),this.reinitializeWidth(),this.tooltip=this.definition.tooltip||!1===this.definition.tooltip?this.definition.tooltip:this.table.options.tooltips,this.hozAlign="undefined"==typeof this.definition.hozAlign?this.table.options.cellHozAlign:this.definition.hozAlign,this.vertAlign="undefined"==typeof this.definition.vertAlign?this.table.options.cellVertAlign:this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign||this.table.options.headerHozAlign},c.prototype._buildColumnHeaderContent=function(){this.definition,this.table;var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e},c.prototype._buildColumnHeaderTitle=function(){var e=this,t=e.definition,n=e.table,i=document.createElement("div");if(i.classList.add("tabulator-col-title"),t.editableTitle){var o=document.createElement("input");o.classList.add("tabulator-title-editor"),o.addEventListener("click",function(e){e.stopPropagation(),o.focus()}),o.addEventListener("change",function(){t.title=o.value,n.options.columnTitleChanged.call(e.table,e.getComponent())}),i.appendChild(o),t.field?n.modules.localize.bind("columns|"+t.field,function(e){o.value=e||t.title||" "}):o.value=t.title||" "}else t.field?n.modules.localize.bind("columns|"+t.field,function(n){e._formatColumnHeaderTitle(i,n||t.title||" ")}):e._formatColumnHeaderTitle(i,t.title||" ");return i},c.prototype._formatColumnHeaderTitle=function(e,t){var n,i,o,s,a,c=this;if(this.definition.titleFormatter&&this.table.modExists("format"))switch(n=this.table.modules.format.getFormatter(this.definition.titleFormatter),a=function(e){c.titleFormatterRendered=e},s={getValue:function(){return t},getElement:function(){return e}},o=this.definition.titleFormatterParams||{},o="function"===typeof o?o():o,i=n.call(this.table.modules.format,s,o,a),"undefined"===typeof i?"undefined":r(i)){case"object":i instanceof Node?e.appendChild(i):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",i));break;case"undefined":case"null":e.innerHTML="";break;default:e.innerHTML=i}else e.innerHTML=t},c.prototype._buildGroupHeader=function(){var e=this;if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var t=this.definition.cssClass.split(" ");t.forEach(function(t){e.element.classList.add(t)})}(this.definition.headerContextMenu||this.definition.headerMenu)&&this.table.modExists("menu")&&this.table.modules.menu.initializeColumnHeader(this),this.titleElement.style.textAlign=this.definition.headerHozAlign||this.table.options.headerHozAlign,this.element.appendChild(this.groupElement)},c.prototype._getFlatData=function(e){return e[this.field]},c.prototype._getNestedData=function(e){for(var t,n=e,i=this.fieldStructure,o=i.length,r=0;r-1&&this.columns.splice(t,1),this.columns.length||this.delete()},c.prototype.setWidth=function(e){this.widthFixed=!0,this.setWidthActual(e)},c.prototype.setWidthActual=function(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(e){e.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()},c.prototype.checkCellHeights=function(){var e=[];this.cells.forEach(function(t){t.row.heightInitialized&&(null!==t.row.getElement().offsetParent?(e.push(t.row),t.row.clearCellHeight()):t.row.heightInitialized=!1)}),e.forEach(function(e){e.calcHeight()}),e.forEach(function(e){e.setCellHeight()})},c.prototype.getWidth=function(){var e=0;return this.isGroup?this.columns.forEach(function(t){t.visible&&(e+=t.getWidth())}):e=this.width,e},c.prototype.getHeight=function(){return this.element.offsetHeight},c.prototype.setMinWidth=function(e){this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(e){e.setMinWidth()})},c.prototype.setMaxWidth=function(e){this.maxWidth=e,this.maxWidthStyled=e?e+"px":"",this.element.style.maxWidth=this.maxWidthStyled,this.cells.forEach(function(e){e.setMaxWidth()})},c.prototype.delete=function(){var e=this;return new Promise(function(t,n){e.isGroup&&e.columns.forEach(function(e){e.delete()}),e.table.modExists("edit")&&e.table.modules.edit.currentCell.column===e&&e.table.modules.edit.cancelEdit();for(var i=e.cells.length,o=0;o-1&&this._nextVisibleColumn(e+1)},c.prototype._nextVisibleColumn=function(e){var t=this.table.columnManager.getColumnByIndex(e);return!t||t.visible?t:this._nextVisibleColumn(e+1)},c.prototype.prevColumn=function(){var e=this.table.columnManager.findColumnIndex(this);return e>-1&&this._prevVisibleColumn(e-1)},c.prototype._prevVisibleColumn=function(e){var t=this.table.columnManager.getColumnByIndex(e);return!t||t.visible?t:this._prevVisibleColumn(e-1)},c.prototype.reinitializeWidth=function(e){this.widthFixed=!1,"undefined"===typeof this.definition.width||e||this.setWidth(this.definition.width),this.table.modExists("filter")&&this.table.modules.filter.hideHeaderFilterElements(),this.fitToData(),this.table.modExists("filter")&&this.table.modules.filter.showHeaderFilterElements()},c.prototype.fitToData=function(){var e=this;this.widthFixed||(this.element.style.width="",e.cells.forEach(function(e){e.clearWidth()}));var t=this.element.offsetWidth;e.width&&this.widthFixed||(e.cells.forEach(function(e){var n=e.getWidth();n>t&&(t=n)}),t&&e.setWidthActual(t+1))},c.prototype.updateDefinition=function(e){var t=this;return new Promise(function(n,i){var o;t.isGroup?(console.warn("Column Update Error - The updateDefinition function is only available on ungrouped columns"),i("Column Update Error - The updateDefinition function is only available on columns, not column groups")):t.parent.isGroup?(console.warn("Column Update Error - The updateDefinition function is only available on ungrouped columns"),i("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(o=Object.assign({},t.getDefinition()),o=Object.assign(o,e),t.table.columnManager.addColumn(o,!1,t).then(function(e){o.field==t.field&&(t.field=!1),t.delete().then(function(){n(e.getComponent())}).catch(function(e){i(e)})}).catch(function(e){i(e)}))})},c.prototype.deleteCell=function(e){var t=this.cells.indexOf(e);t>-1&&this.cells.splice(t,1)},c.prototype.defaultOptionList=["title","field","columns","visible","align","hozAlign","vertAlign","width","minWidth","maxWidth","widthGrow","widthShrink","resizable","frozen","responsive","tooltip","cssClass","rowHandle","hideInHtml","print","htmlOutput","sorter","sorterParams","formatter","formatterParams","variableHeight","editable","editor","editorParams","validator","mutator","mutatorParams","mutatorData","mutatorDataParams","mutatorEdit","mutatorEditParams","mutatorClipboard","mutatorClipboardParams","accessor","accessorParams","accessorData","accessorDataParams","accessorDownload","accessorDownloadParams","accessorClipboard","accessorClipboardParams","accessorPrint","accessorPrintParams","accessorHtmlOutput","accessorHtmlOutputParams","clipboard","download","downloadTitle","topCalc","topCalcParams","topCalcFormatter","topCalcFormatterParams","bottomCalc","bottomCalcParams","bottomCalcFormatter","bottomCalcFormatterParams","cellClick","cellDblClick","cellContext","cellTap","cellDblTap","cellTapHold","cellMouseEnter","cellMouseLeave","cellMouseOver","cellMouseOut","cellMouseMove","cellEditing","cellEdited","cellEditCancelled","headerSort","headerSortStartingDir","headerSortTristate","headerClick","headerDblClick","headerContext","headerTap","headerDblTap","headerTapHold","headerTooltip","headerVertical","headerHozAlign","editableTitle","titleFormatter","titleFormatterParams","headerFilter","headerFilterPlaceholder","headerFilterParams","headerFilterEmptyCheck","headerFilterFunc","headerFilterFuncParams","headerFilterLiveFilter","print","headerContextMenu","headerMenu","contextMenu","clickMenu","formatterPrint","formatterPrintParams","formatterClipboard","formatterClipboardParams","formatterHtmlOutput","formatterHtmlOutputParams","titlePrint","titleClipboard","titleHtmlOutput","titleDownload"],c.prototype.getComponent=function(){return this.component||(this.component=new a(this)),this.component};var l=function(e){this.table=e,this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.heightFixer=this.createTableElement(),this.columnManager=null,this.height=0,this.firstRender=!1,this.renderMode="virtual",this.fixedHeight=!1,this.rows=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[],this.rowNumColumn=!1,this.redrawBlock=!1,this.redrawBlockRestoreConfig=!1,this.redrawBlockRederInPosition=!1};l.prototype.createHolderElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-tableHolder"),e.setAttribute("tabindex",0),e},l.prototype.createTableElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-table"),e},l.prototype.getElement=function(){return this.element},l.prototype.getTableElement=function(){return this.tableElement},l.prototype.getRowPosition=function(e,t){return t?this.activeRows.indexOf(e):this.rows.indexOf(e)},l.prototype.setColumnManager=function(e){this.columnManager=e},l.prototype.initialize=function(){var e=this;e.setRenderMode(),e.element.appendChild(e.tableElement),e.firstRender=!0,e.element.addEventListener("scroll",function(){var t=e.element.scrollLeft;e.scrollLeft!=t&&(e.columnManager.scrollHorizontal(t),e.table.options.groupBy&&e.table.modules.groupRows.scrollHeaders(t),e.table.modExists("columnCalcs")&&e.table.modules.columnCalcs.scrollHorizontal(t),e.table.options.scrollHorizontal(t)),e.scrollLeft=t}),"virtual"===this.renderMode&&e.element.addEventListener("scroll",function(){var t=e.element.scrollTop,n=e.scrollTop>t;e.scrollTop!=t?(e.scrollTop=t,e.scrollVertical(n),"scroll"==e.table.options.ajaxProgressiveLoad&&e.table.modules.ajax.nextPage(e.element.scrollHeight-e.element.clientHeight-t),e.table.options.scrollVertical(t)):e.scrollTop=t})},l.prototype.findRow=function(e){var t=this;if("object"!=("undefined"===typeof e?"undefined":r(e))){if("undefined"==typeof e||null===e)return!1;var n=t.rows.find(function(n){return n.data[t.table.options.index]==e});return n||!1}if(e instanceof h)return e;if(e instanceof d)return e._getSelf()||!1;if("undefined"!==typeof HTMLElement&&e instanceof HTMLElement){var i=t.rows.find(function(t){return t.getElement()===e});return i||!1}return!1},l.prototype.getRowFromDataObject=function(e){var t=this.rows.find(function(t){return t.data===e});return t||!1},l.prototype.getRowFromPosition=function(e,t){return t?this.activeRows[e]:this.rows[e]},l.prototype.scrollToRow=function(e,t,n){var i,o=this,r=this.getDisplayRows().indexOf(e),s=e.getElement(),a=0;return new Promise(function(e,c){if(r>-1){if("undefined"===typeof t&&(t=o.table.options.scrollToRowPosition),"undefined"===typeof n&&(n=o.table.options.scrollToRowIfVisible),"nearest"===t)switch(o.renderMode){case"classic":i=g.prototype.helpers.elOffset(s).top,t=Math.abs(o.element.scrollTop-i)>Math.abs(o.element.scrollTop+o.element.clientHeight-i)?"bottom":"top";break;case"virtual":t=Math.abs(o.vDomTop-r)>Math.abs(o.vDomBottom-r)?"bottom":"top";break}if(!n&&g.prototype.helpers.elVisible(s)&&(a=g.prototype.helpers.elOffset(s).top-g.prototype.helpers.elOffset(o.element).top,a>0&&a-1&&this.activeRows.splice(i,1),n>-1&&this.rows.splice(n,1),this.setActiveRows(this.activeRows),this.displayRowIterator(function(t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}),t||this.reRenderInPosition(),this.regenerateRowNumbers(),this.table.options.rowDeleted.call(this.table,e.getComponent()),this.table.options.dataChanged&&this.table.options.dataChanged.call(this.table,this.getData()),this.table.options.groupBy&&this.table.modExists("groupRows")?this.table.modules.groupRows.updateGroupRows(!0):this.table.options.pagination&&this.table.modExists("page")?this.refreshActiveData(!1,!1,!0):this.table.options.pagination&&this.table.modExists("page")&&this.refreshActiveData("page")},l.prototype.addRow=function(e,t,n,i){var o=this.addRowActual(e,t,n,i);return this.table.options.history&&this.table.modExists("history")&&this.table.modules.history.action("rowAdd",o,{data:e,pos:t,index:n}),o},l.prototype.addRows=function(e,t,n){var i=this,o=this,r=[];return new Promise(function(s,a){t=i.findAddRowPos(t),Array.isArray(e)||(e=[e]),e.length-1,("undefined"==typeof n&&t||"undefined"!==typeof n&&!t)&&e.reverse(),e.forEach(function(e,i){var s=o.addRow(e,t,n,!0);r.push(s)}),i.table.options.groupBy&&i.table.modExists("groupRows")?i.table.modules.groupRows.updateGroupRows(!0):i.table.options.pagination&&i.table.modExists("page")?i.refreshActiveData(!1,!1,!0):i.reRenderInPosition(),i.table.modExists("columnCalcs")&&i.table.modules.columnCalcs.recalc(i.table.rowManager.activeRows),i.regenerateRowNumbers(),s(r)})},l.prototype.findAddRowPos=function(e){return"undefined"===typeof e&&(e=this.table.options.addRowPos),"pos"===e&&(e=!0),"bottom"===e&&(e=!1),e},l.prototype.addRowActual=function(e,t,n,i){var o,r,s=e instanceof h?e:new h(e||{},this),a=this.findAddRowPos(t),c=-1;if(!n&&this.table.options.pagination&&"page"==this.table.options.paginationAddRow&&(r=this.getDisplayRows(),a?r.length?n=r[0]:this.activeRows.length&&(n=this.activeRows[this.activeRows.length-1],a=!1):r.length&&(n=r[r.length-1],a=!(r.length1&&(!n||n&&-1==l.indexOf(n)?a?l[0]!==s&&(n=l[0],this._moveRowInArray(s.getGroup().rows,s,n,!a)):l[l.length-1]!==s&&(n=l[l.length-1],this._moveRowInArray(s.getGroup().rows,s,n,!a)):this._moveRowInArray(s.getGroup().rows,s,n,!a))}return n&&(c=this.rows.indexOf(n)),n&&c>-1?(o=this.activeRows.indexOf(n),this.displayRowIterator(function(e){var t=e.indexOf(n);t>-1&&e.splice(a?t:t+1,0,s)}),o>-1&&this.activeRows.splice(a?o:o+1,0,s),this.rows.splice(a?c:c+1,0,s)):a?(this.displayRowIterator(function(e){e.unshift(s)}),this.activeRows.unshift(s),this.rows.unshift(s)):(this.displayRowIterator(function(e){e.push(s)}),this.activeRows.push(s),this.rows.push(s)),this.setActiveRows(this.activeRows),this.table.options.rowAdded.call(this.table,s.getComponent()),this.table.options.dataChanged&&this.table.options.dataChanged.call(this.table,this.getData()),i||this.reRenderInPosition(),s},l.prototype.moveRow=function(e,t,n){this.table.options.history&&this.table.modExists("history")&&this.table.modules.history.action("rowMove",e,{posFrom:this.getRowPosition(e),posTo:this.getRowPosition(t),to:t,after:n}),this.moveRowActual(e,t,n),this.regenerateRowNumbers(),this.table.options.rowMoved.call(this.table,e.getComponent())},l.prototype.moveRowActual=function(e,t,n){var i=this;if(this._moveRowInArray(this.rows,e,t,n),this._moveRowInArray(this.activeRows,e,t,n),this.displayRowIterator(function(o){i._moveRowInArray(o,e,t,n)}),this.table.options.groupBy&&this.table.modExists("groupRows")){!n&&t instanceof I&&(t=this.table.rowManager.prevDisplayRow(e)||t);var o=t.getGroup(),r=e.getGroup();o===r?this._moveRowInArray(o.rows,e,t,n):(r&&r.removeRow(e),o.insertRow(e,t,n))}},l.prototype._moveRowInArray=function(e,t,n,i){var o,r,s,a;if(t!==n&&(o=e.indexOf(t),o>-1&&(e.splice(o,1),r=e.indexOf(n),r>-1?i?e.splice(r+1,0,t):e.splice(r,0,t):e.splice(o,0,t)),e===this.getDisplayRows())){s=oo?r:o+1;for(var c=s;c<=a;c++)e[c]&&this.styleRow(e[c],c)}},l.prototype.clearData=function(){this.setData([])},l.prototype.getRowIndex=function(e){return this.findRowIndex(e,this.rows)},l.prototype.getDisplayRowIndex=function(e){var t=this.getDisplayRows().indexOf(e);return t>-1&&t},l.prototype.nextDisplayRow=function(e,t){var n=this.getDisplayRowIndex(e),i=!1;return!1!==n&&n-1))&&n},l.prototype.getData=function(e,t){var n=[],i=this.getRows(e);return i.forEach(function(e){"row"==e.type&&n.push(e.getData(t||"data"))}),n},l.prototype.getComponents=function(e){var t=[],n=this.getRows(e);return n.forEach(function(e){t.push(e.getComponent())}),t},l.prototype.getDataCount=function(e){var t=this.getRows(e);return t.length},l.prototype._genRemoteRequest=function(){var e=this,t=this.table,n=t.options,i={};if(t.modExists("page")){if(n.ajaxSorting){var o=this.table.modules.sort.getSort();o.forEach(function(e){delete e.column}),i[this.table.modules.page.paginationDataSentNames.sorters]=o}if(n.ajaxFiltering){var r=this.table.modules.filter.getFilters(!0,!0);i[this.table.modules.page.paginationDataSentNames.filters]=r}this.table.modules.ajax.setParams(i,!0)}t.modules.ajax.sendRequest().then(function(t){e._setDataActual(t,!0)}).catch(function(e){})},l.prototype.filterRefresh=function(){var e=this.table,t=e.options,n=this.scrollLeft;t.ajaxFiltering?"remote"==t.pagination&&e.modExists("page")?(e.modules.page.reset(!0),e.modules.page.setPage(1).then(function(){}).catch(function(){})):t.ajaxProgressiveLoad?e.modules.ajax.loadData().then(function(){}).catch(function(){}):this._genRemoteRequest():this.refreshActiveData("filter"),this.scrollHorizontal(n)},l.prototype.sorterRefresh=function(e){var t=this.table,n=this.table.options,i=this.scrollLeft;n.ajaxSorting?("remote"==n.pagination||n.progressiveLoad)&&t.modExists("page")?(t.modules.page.reset(!0),t.modules.page.setPage(1).then(function(){}).catch(function(){})):n.ajaxProgressiveLoad?t.modules.ajax.loadData().then(function(){}).catch(function(){}):this._genRemoteRequest():this.refreshActiveData(e?"filter":"sort"),this.scrollHorizontal(i)},l.prototype.scrollHorizontal=function(e){this.scrollLeft=e,this.element.scrollLeft=e,this.table.options.groupBy&&this.table.modules.groupRows.scrollHeaders(e),this.table.modExists("columnCalcs")&&this.table.modules.columnCalcs.scrollHorizontal(e)},l.prototype.refreshActiveData=function(e,t,n){var i,o=this,r=this.table,s=["all","filter","sort","display","freeze","group","tree","page"];if(this.redrawBlock)(!this.redrawBlockRestoreConfig||s.indexOf(e)=0))break;r=a}else if(t-s[a].getElement().offsetTop>=0)o=a;else{if(i=!0,!(n-s[a].getElement().offsetTop>=0))break;r=a}}else o=this.vDomTop,r=this.vDomBottom;return s.slice(o,r+1)},l.prototype.displayRowIterator=function(e){this.displayRows.forEach(e),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length},l.prototype.getRows=function(e){var t;switch(e){case"active":t=this.activeRows;break;case"display":t=this.table.rowManager.getDisplayRows();break;case"visible":t=this.getVisibleRows(!0);break;case"selected":t=this.table.modules.selectRow.selectedRows;break;default:t=this.rows}return t},l.prototype.reRenderInPosition=function(e){if("virtual"==this.getRenderMode())if(this.redrawBlock)e?e():this.redrawBlockRederInPosition=!0;else{for(var t=this.element.scrollTop,n=!1,i=!1,o=this.scrollLeft,r=this.getDisplayRows(),s=this.vDomTop;s<=this.vDomBottom;s++)if(r[s]){var a=t-r[s].getElement().offsetTop;if(!(!1===i||Math.abs(a)this.vDomWindowBuffer&&(this.vDomWindowBuffer=2*m),"group"!==f.type&&(u=!1),i.vDomBottom++,l++}e?(i.vDomTopPad=t?i.vDomRowHeight*this.vDomTop+n:i.scrollTop-c,i.vDomBottomPad=i.vDomBottom==i.displayRowsCount-1?0:Math.max(i.vDomScrollHeight-i.vDomTopPad-a-c,0)):(this.vDomTopPad=0,i.vDomRowHeight=Math.floor((a+c)/l),i.vDomBottomPad=i.vDomRowHeight*(i.displayRowsCount-i.vDomBottom-1),i.vDomScrollHeight=c+a+i.vDomBottomPad-i.height),o.style.paddingTop=i.vDomTopPad+"px",o.style.paddingBottom=i.vDomBottomPad+"px",t&&(this.scrollTop=i.vDomTopPad+c+n-(this.element.scrollWidth>this.element.clientWidth?this.element.offsetHeight-this.element.clientHeight:0)),this.scrollTop=Math.min(this.scrollTop,this.element.scrollHeight-this.height),this.element.scrollWidth>this.element.offsetWidth&&t&&(this.scrollTop+=this.element.offsetHeight-this.element.clientHeight),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,r.scrollTop=this.scrollTop,o.style.minWidth=u?i.table.columnManager.getWidth()+"px":"",i.table.options.groupBy&&"fitDataFill"!=i.table.modules.layout.getMode()&&i.displayRowsCount==i.table.modules.groupRows.countGroups()&&(i.tableElement.style.minWidth=i.table.columnManager.getWidth())}else this.renderEmptyScroll();this.fixedHeight||this.adjustTableSize()},l.prototype.scrollVertical=function(e){var t=this.scrollTop-this.vDomScrollPosTop,n=this.scrollTop-this.vDomScrollPosBottom,i=2*this.vDomWindowBuffer;if(-t>i||n>i){var o=this.scrollLeft;this._virtualRenderFill(Math.floor(this.element.scrollTop/this.element.scrollHeight*this.displayRowsCount)),this.scrollHorizontal(o)}else e?(t<0&&this._addTopRow(-t),n<0&&(this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer?this._removeBottomRow(-n):this.vDomScrollPosBottom=this.scrollTop)):(t>=0&&(this.scrollTop>this.vDomWindowBuffer?this._removeTopRow(t):this.vDomScrollPosTop=this.scrollTop),n>=0&&this._addBottomRow(n))},l.prototype._addTopRow=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.tableElement,i=this.getDisplayRows();if(this.vDomTop){var o=this.vDomTop-1,r=i[o],s=r.getHeight()||this.vDomRowHeight;e>=s&&(this.styleRow(r,o),n.insertBefore(r.getElement(),n.firstChild),r.initialized&&r.heightInitialized||(this.vDomTopNewRows.push(r),r.heightInitialized||r.clearCellHeight()),r.initialize(),this.vDomTopPad-=s,this.vDomTopPad<0&&(this.vDomTopPad=o*this.vDomRowHeight),o||(this.vDomTopPad=0),n.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop-=s,this.vDomTop--),e=-(this.scrollTop-this.vDomScrollPosTop),r.getHeight()>this.vDomWindowBuffer&&(this.vDomWindowBuffer=2*r.getHeight()),t=(i[this.vDomTop-1].getHeight()||this.vDomRowHeight)?this._addTopRow(e,t+1):this._quickNormalizeRowHeight(this.vDomTopNewRows)}},l.prototype._removeTopRow=function(e){var t=this.tableElement,n=this.getDisplayRows()[this.vDomTop],i=n.getHeight()||this.vDomRowHeight;if(e>=i){var o=n.getElement();o.parentNode.removeChild(o),this.vDomTopPad+=i,t.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop+=this.vDomTop?i:i+this.vDomWindowBuffer,this.vDomTop++,e=this.scrollTop-this.vDomScrollPosTop,this._removeTopRow(e)}},l.prototype._addBottomRow=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.tableElement,i=this.getDisplayRows();if(this.vDomBottom=s&&(this.styleRow(r,o),n.appendChild(r.getElement()),r.initialized&&r.heightInitialized||(this.vDomBottomNewRows.push(r),r.heightInitialized||r.clearCellHeight()),r.initialize(),this.vDomBottomPad-=s,(this.vDomBottomPad<0||o==this.displayRowsCount-1)&&(this.vDomBottomPad=0),n.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom+=s,this.vDomBottom++),e=this.scrollTop-this.vDomScrollPosBottom,r.getHeight()>this.vDomWindowBuffer&&(this.vDomWindowBuffer=2*r.getHeight()),t=(i[this.vDomBottom+1].getHeight()||this.vDomRowHeight)?this._addBottomRow(e,t+1):this._quickNormalizeRowHeight(this.vDomBottomNewRows)}},l.prototype._removeBottomRow=function(e){var t=this.tableElement,n=this.getDisplayRows()[this.vDomBottom],i=n.getHeight()||this.vDomRowHeight;if(e>=i){var o=n.getElement();o.parentNode&&o.parentNode.removeChild(o),this.vDomBottomPad+=i,this.vDomBottomPad<0&&(this.vDomBottomPad=0),t.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom-=i,this.vDomBottom--,e=-(this.scrollTop-this.vDomScrollPosBottom),this._removeBottomRow(e)}},l.prototype._quickNormalizeRowHeight=function(e){e.forEach(function(e){e.calcHeight()}),e.forEach(function(e){e.setCellHeight()}),e.length=0},l.prototype.normalizeHeight=function(){this.activeRows.forEach(function(e){e.normalizeHeight()})},l.prototype.adjustTableSize=function(){var e,t=this.element.clientHeight;if("virtual"===this.renderMode){var n=Math.floor(this.columnManager.getElement().getBoundingClientRect().height+(this.table.footerManager&&this.table.footerManager.active&&!this.table.footerManager.external?this.table.footerManager.getElement().getBoundingClientRect().height:0));this.fixedHeight?(this.element.style.minHeight="calc(100% - "+n+"px)",this.element.style.height="calc(100% - "+n+"px)",this.element.style.maxHeight="calc(100% - "+n+"px)"):(this.element.style.height="",this.element.style.height=this.table.element.clientHeight-n+"px",this.element.scrollTop=this.scrollTop),this.height=this.element.clientHeight,this.vDomWindowBuffer=this.table.options.virtualDomBuffer||this.height,this.fixedHeight||t==this.element.clientHeight||(e=this.table.modExists("resizeTable"),(e&&!this.table.modules.resizeTable.autoResize||!e)&&this.redraw())}},l.prototype.reinitialize=function(){this.rows.forEach(function(e){e.reinitialize(!0)})},l.prototype.blockRedraw=function(){this.redrawBlock=!0,this.redrawBlockRestoreConfig=!1},l.prototype.restoreRedraw=function(){this.redrawBlock=!1,this.redrawBlockRestoreConfig?(this.refreshActiveData(this.redrawBlockRestoreConfig.stage,this.redrawBlockRestoreConfig.skipStage,this.redrawBlockRestoreConfig.renderInPosition),this.redrawBlockRestoreConfig=!1):this.redrawBlockRederInPosition&&this.reRenderInPosition(),this.redrawBlockRederInPosition=!1},l.prototype.redraw=function(e){var t=this.scrollLeft;this.adjustTableSize(),this.table.tableWidth=this.table.element.clientWidth,e?this.renderTable():("classic"==this.renderMode?this.table.options.groupBy?this.refreshActiveData("group",!1,!1):this._simpleRender():(this.reRenderInPosition(),this.scrollHorizontal(t)),this.displayRowsCount||this.table.options.placeholder&&this.getElement().appendChild(this.table.options.placeholder))},l.prototype.resetScroll=function(){if(this.element.scrollLeft=0,this.element.scrollTop=0,"ie"===this.table.browser){var e=document.createEvent("Event");e.initEvent("scroll",!1,!0),this.element.dispatchEvent(e)}else this.element.dispatchEvent(new Event("scroll"))};var u=function(e){this.table=e,this.element=this.table.rowManager.tableElement,this.holderEl=this.table.rowManager.element,this.leftCol=0,this.rightCol=0,this.scrollLeft=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0,this.fitDataColAvg=0,this.window=200,this.initialized=!1,this.columns=[],this.compatabilityCheck()&&this.initialize()};u.prototype.compatabilityCheck=function(){var e=this.table.options,t=!1,n=!0;return"fitDataTable"==e.layout&&(console.warn("Horizontal Vitrual DOM is not compatible with fitDataTable layout mode"),n=!1),e.responsiveLayout&&(console.warn("Horizontal Vitrual DOM is not compatible with responsive columns"),n=!1),this.table.rtl&&(console.warn("Horizontal Vitrual DOM is not currently compatible with RTL text direction"),n=!1),e.columns&&(t=e.columns.find(function(e){return e.frozen}),t&&(console.warn("Horizontal Vitrual DOM is not compatible with frozen columns"),n=!1)),n||(e.virtualDomHoz=!1),n},u.prototype.initialize=function(){var e=this;this.holderEl.addEventListener("scroll",function(){var t=e.holderEl.scrollLeft;e.scrollLeft!=t&&(e.scrollLeft=t,e.scroll(t-(e.vDomScrollPosLeft+e.window)))})},u.prototype.deinitialize=function(){this.initialized=!1},u.prototype.clear=function(){this.columns=[],this.leftCol=-1,this.rightCol=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0},u.prototype.dataChange=function(){var e,t,n,i=!1,o=0,r=0;if("fitData"===this.table.options.layout){if(this.table.columnManager.columnsByIndex.forEach(function(e){!e.definition.width&&e.visible&&(i=!0)}),i&&i&&this.table.rowManager.getDisplayRows().length&&(this.vDomScrollPosRight=this.scrollLeft+this.holderEl.clientWidth+this.window,this.table.options.groupBy?(e=this.table.modules.groupRows.getGroups(!1)[0],t=e.getRows(!1)[0]):t=this.table.rowManager.getDisplayRows()[0],t)){n=t.getElement(),t.generateCells(),this.element.appendChild(n);for(r=0;rthis.vDomScrollPosRight)break}for(n.parentNode.removeChild(n),this.fitDataColAvg=Math.floor(o/(r+1)),r;rn.vDomScrollPosLeft&&o.8*this.holderEl.clientWidth?this.reinitialize():e>0?(this.addColRight(),this.removeColLeft()):(this.addColLeft(),this.removeColRight())},u.prototype.colPositionAdjust=function(e,t,n){for(var i=e;i=this.columns.length-1?this.vDomPadRight=0:this.vDomPadRight-=i.getWidth(),this.element.style.paddingRight=this.vDomPadRight+"px",this.addColRight())},u.prototype.addColLeft=function(){var e=this.columns[this.leftCol-1];if(e&&e.modules.vdomHoz.rightPos>=this.vDomScrollPosLeft){var t=this.table.rowManager.getVisibleRows();t.forEach(function(t){if("group"!==t.type){var n=t.getCell(e);t.getElement().prepend(n.getElement()),n.cellRendered()}}),this.leftCol?this.vDomPadLeft-=e.getWidth():this.vDomPadLeft=0,this.element.style.paddingLeft=this.vDomPadLeft+"px",this.leftCol--,this.addColLeft()}},u.prototype.removeColRight=function(e){var t;e=this.columns[this.rightCol];e&&e.modules.vdomHoz.leftPos>this.vDomScrollPosRight&&(t=this.table.rowManager.getVisibleRows(),e.modules.vdomHoz.visible=!1,t.forEach(function(t){if("group"!==t.type){var n=t.getCell(e);t.getElement().removeChild(n.getElement())}}),this.vDomPadRight+=e.getWidth(),this.element.style.paddingRight=this.vDomPadRight+"px",this.rightCol--,this.removeColRight())},u.prototype.removeColLeft=function(){var e,t=this.columns[this.leftCol];t&&t.modules.vdomHoz.rightPos-1}return!1},d.prototype.treeCollapse=function(){this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.collapseRow(this._row)},d.prototype.treeExpand=function(){this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.expandRow(this._row)},d.prototype.treeToggle=function(){this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.toggleRow(this._row)},d.prototype.getTreeParent=function(){return!!this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.getTreeParent(this._row)},d.prototype.getTreeChildren=function(){return!!this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.getTreeChildren(this._row,!0)},d.prototype.addTreeChild=function(e,t,n){return!!this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.addTreeChildRow(this._row,e,t,n)},d.prototype.reformat=function(){return this._row.reinitialize()},d.prototype.getGroup=function(){return this._row.getGroup().getComponent()},d.prototype.getTable=function(){return this._row.table},d.prototype.getNextRow=function(){var e=this._row.nextRow();return e?e.getComponent():e},d.prototype.getPrevRow=function(){var e=this._row.prevRow();return e?e.getComponent():e};var h=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"row";this.table=t.table,this.parent=t,this.data={},this.type=n,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.component=null,this.created=!1,this.setData(e)};h.prototype.create=function(){this.created||(this.created=!0,this.generateElement())},h.prototype.createElement=function(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e},h.prototype.getElement=function(){return this.create(),this.element},h.prototype.detachElement=function(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)},h.prototype.generateElement=function(){var e,t,n,i=this;this.createElement(),!1!==i.table.options.selectable&&i.table.modExists("selectRow")&&i.table.modules.selectRow.initializeRow(this),!1!==i.table.options.movableRows&&i.table.modExists("moveRow")&&i.table.modules.moveRow.initializeRow(this),!1!==i.table.options.dataTree&&i.table.modExists("dataTree")&&i.table.modules.dataTree.initializeRow(this),"collapse"===i.table.options.responsiveLayout&&i.table.modExists("responsiveLayout")&&i.table.modules.responsiveLayout.initializeRow(this),(i.table.options.rowContextMenu||i.table.options.rowClickMenu)&&this.table.modExists("menu")&&i.table.modules.menu.initializeRow(this),i.table.options.rowClick&&i.element.addEventListener("click",function(e){i.table.options.rowClick(e,i.getComponent())}),i.table.options.rowDblClick&&i.element.addEventListener("dblclick",function(e){i.table.options.rowDblClick(e,i.getComponent())}),i.table.options.rowContext&&i.element.addEventListener("contextmenu",function(e){i.table.options.rowContext(e,i.getComponent())}),i.table.options.rowMouseEnter&&i.element.addEventListener("mouseenter",function(e){i.table.options.rowMouseEnter(e,i.getComponent())}),i.table.options.rowMouseLeave&&i.element.addEventListener("mouseleave",function(e){i.table.options.rowMouseLeave(e,i.getComponent())}),i.table.options.rowMouseOver&&i.element.addEventListener("mouseover",function(e){i.table.options.rowMouseOver(e,i.getComponent())}),i.table.options.rowMouseOut&&i.element.addEventListener("mouseout",function(e){i.table.options.rowMouseOut(e,i.getComponent())}),i.table.options.rowMouseMove&&i.element.addEventListener("mousemove",function(e){i.table.options.rowMouseMove(e,i.getComponent())}),i.table.options.rowTap&&(n=!1,i.element.addEventListener("touchstart",function(e){n=!0},{passive:!0}),i.element.addEventListener("touchend",function(e){n&&i.table.options.rowTap(e,i.getComponent()),n=!1})),i.table.options.rowDblTap&&(e=null,i.element.addEventListener("touchend",function(t){e?(clearTimeout(e),e=null,i.table.options.rowDblTap(t,i.getComponent())):e=setTimeout(function(){clearTimeout(e),e=null},300)})),i.table.options.rowTapHold&&(t=null,i.element.addEventListener("touchstart",function(e){clearTimeout(t),t=setTimeout(function(){clearTimeout(t),t=null,n=!1,i.table.options.rowTapHold(e,i.getComponent())},1e3)},{passive:!0}),i.element.addEventListener("touchend",function(e){clearTimeout(t),t=null}))},h.prototype.generateCells=function(){this.cells=this.table.columnManager.generateCells(this)},h.prototype.initialize=function(e){var t=this;if(this.create(),!this.initialized||e){this.deleteCells();while(this.element.firstChild)this.element.removeChild(this.element.firstChild);this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layoutRow(this),this.generateCells(),this.table.options.virtualDomHoz&&this.table.vdomHoz.initialized?this.table.vdomHoz.initializeRow(this):this.cells.forEach(function(e){t.element.appendChild(e.getElement()),e.cellRendered()}),e&&this.normalizeHeight(),this.table.options.dataTree&&this.table.modExists("dataTree")&&this.table.modules.dataTree.layoutRow(this),"collapse"===this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout")&&this.table.modules.responsiveLayout.layoutRow(this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.table.options.resizableRows&&this.table.modExists("resizeRows")&&this.table.modules.resizeRows.initializeRow(this),this.initialized=!0}else this.table.options.virtualDomHoz&&this.table.vdomHoz.reinitializeRow(this)},h.prototype.reinitializeHeight=function(){this.heightInitialized=!1,this.element&&null!==this.element.offsetParent&&this.normalizeHeight(!0)},h.prototype.reinitialize=function(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&null!==this.element.offsetParent&&this.initialize(!0),this.table.options.dataTree&&this.table.modExists("dataTree",!0)&&this.table.modules.dataTree.getTreeChildren(this,!1,!0).forEach(function(e){e.reinitialize(!0)})},h.prototype.calcHeight=function(e){var t=0,n=this.table.options.resizableRows?this.element.clientHeight:0;this.cells.forEach(function(e){var n=e.getHeight();n>t&&(t=n)}),this.height=e?Math.max(t,n):this.manualHeight?this.height:Math.max(t,n),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight},h.prototype.setCellHeight=function(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0},h.prototype.clearCellHeight=function(){this.cells.forEach(function(e){e.clearHeight()})},h.prototype.normalizeHeight=function(e){e&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()},h.prototype.setHeight=function(e,t){(this.height!=e||t)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)},h.prototype.getHeight=function(){return this.outerHeight},h.prototype.getWidth=function(){return this.element.offsetWidth},h.prototype.deleteCell=function(e){var t=this.cells.indexOf(e);t>-1&&this.cells.splice(t,1)},h.prototype.setData=function(e){this.table.modExists("mutator")&&(e=this.table.modules.mutator.transformRow(e,"data")),this.data=e,this.table.options.reactiveData&&this.table.modExists("reactiveData",!0)&&this.table.modules.reactiveData.watchRow(this)},h.prototype.updateData=function(e){var t,n=this,i=this.element&&g.prototype.helpers.elVisible(this.element),o={};return new Promise(function(r,s){for(var a in"string"===typeof e&&(e=JSON.parse(e)),n.table.options.reactiveData&&n.table.modExists("reactiveData",!0)&&n.table.modules.reactiveData.block(),n.table.modExists("mutator")?(o=Object.assign(o,n.data),o=Object.assign(o,e),t=n.table.modules.mutator.transformRow(o,"data",e)):t=e,t)n.data[a]=t[a];for(var a in n.table.options.reactiveData&&n.table.modExists("reactiveData",!0)&&n.table.modules.reactiveData.unblock(),e){var c=n.table.columnManager.getColumnsByFieldRoot(a);c.forEach(function(e){var o=n.getCell(e.getField());if(o){var r=e.getFieldValue(t);o.getValue()!=r&&(o.setValueProcessData(r),i&&o.cellRendered())}})}n.table.options.groupUpdateOnCellEdit&&n.table.options.groupBy&&n.table.modExists("groupRows")&&n.table.modules.groupRows.reassignRowToGroup(n.row),i?(n.normalizeHeight(!0),n.table.options.rowFormatter&&n.table.options.rowFormatter(n.getComponent())):(n.initialized=!1,n.height=0,n.heightStyled=""),!1!==n.table.options.dataTree&&n.table.modExists("dataTree")&&n.table.modules.dataTree.redrawNeeded(e)&&(n.table.modules.dataTree.initializeRow(n),i&&(n.table.modules.dataTree.layoutRow(n),n.table.rowManager.refreshActiveData("tree",!1,!0))),n.table.options.rowUpdated.call(n.table,n.getComponent()),n.table.options.dataChanged&&n.table.options.dataChanged.call(n.table,n.table.rowManager.getData()),r()})},h.prototype.getData=function(e){return e&&this.table.modExists("accessor")?this.table.modules.accessor.transformRow(this,e):this.data},h.prototype.getCell=function(e){var t=!1;return e=this.table.columnManager.findColumn(e),t=this.cells.find(function(t){return t.column===e}),t},h.prototype.getCellIndex=function(e){return this.cells.findIndex(function(t){return t===e})},h.prototype.findNextEditableCell=function(e){var t=!1;if(e0)for(var n=e-1;n>=0;n--){var i=this.cells[n],o=!0;if(i.column.modules.edit&&g.prototype.helpers.elVisible(i.getElement())&&("function"==typeof i.column.modules.edit.check&&(o=i.column.modules.edit.check(i.getComponent())),o)){t=i;break}}return t},h.prototype.getCells=function(){return this.cells},h.prototype.nextRow=function(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1},h.prototype.prevRow=function(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1},h.prototype.moveToRow=function(e,t){var n=this.table.rowManager.findRow(e);n?(this.table.rowManager.moveRowActual(this,n,!t),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)},h.prototype.validate=function(){var e=[];return this.cells.forEach(function(t){t.validate()||e.push(t.getComponent())}),!e.length||e},h.prototype.delete=function(){var e=this;return new Promise(function(t,n){var i,o;e.table.options.history&&e.table.modExists("history")&&(e.table.options.groupBy&&e.table.modExists("groupRows")?(o=e.getGroup().rows,i=o.indexOf(e),i&&(i=o[i-1])):(i=e.table.rowManager.getRowIndex(e),i&&(i=e.table.rowManager.rows[i-1])),e.table.modules.history.action("rowDelete",e,{data:e.getData(),pos:!i,index:i})),e.deleteActual(),t()})},h.prototype.deleteActual=function(e){this.table.rowManager.getRowIndex(this);this.detatchModules(),this.table.options.reactiveData&&this.table.modExists("reactiveData",!0),this.modules.group&&this.modules.group.removeRow(this),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.table.options.dataTree&&this.table.modExists("dataTree",!0)&&this.table.modules.dataTree.rowDelete(this),this.table.modExists("columnCalcs")&&(this.table.options.groupBy&&this.table.modExists("groupRows")?this.table.modules.columnCalcs.recalcRowGroup(this):this.table.modules.columnCalcs.recalc(this.table.rowManager.activeRows))},h.prototype.detatchModules=function(){this.table.modExists("selectRow")&&this.table.modules.selectRow._deselectRow(this,!0),this.table.modExists("edit")&&this.table.modules.edit.currentCell.row===this&&this.table.modules.edit.cancelEdit(),this.table.modExists("frozenRows")&&this.table.modules.frozenRows.detachRow(this)},h.prototype.deleteCells=function(){for(var e=this.cells.length,t=0;t",footerElement:!1,index:"id",textDirection:"auto",keybindings:[],tabEndNewRow:!1,invalidOptionWarnings:!0,clipboard:!1,clipboardCopyStyled:!0,clipboardCopyConfig:!1,clipboardCopyFormatter:!1,clipboardCopyRowRange:"active",clipboardPasteParser:"table",clipboardPasteAction:"insert",clipboardCopied:function(){},clipboardPasted:function(){},clipboardPasteError:function(){},downloadDataFormatter:!1,downloadReady:function(e,t){return t},downloadComplete:!1,downloadConfig:{},downloadRowRange:"active",dataTree:!1,dataTreeFilter:!0,dataTreeSort:!0,dataTreeElementColumn:!1,dataTreeBranchElement:!0,dataTreeChildIndent:9,dataTreeChildField:"_children",dataTreeCollapseElement:!1,dataTreeExpandElement:!1,dataTreeStartExpanded:!1,dataTreeRowExpanded:function(){},dataTreeRowCollapsed:function(){},dataTreeChildColumnCalcs:!1,dataTreeSelectPropagate:!1,printAsHtml:!1,printFormatter:!1,printHeader:!1,printFooter:!1,printCopyStyle:!0,printStyled:!0,printVisibleRows:!0,printRowRange:"visible",printConfig:{},addRowPos:"bottom",selectable:"highlight",selectableRangeMode:"drag",selectableRollingSelection:!0,selectablePersistence:!0,selectableCheck:function(e,t){return!0},headerFilterLiveFilterDelay:300,headerFilterPlaceholder:!1,headerVisible:!0,history:!1,locale:!1,langs:{},virtualDom:!0,virtualDomBuffer:0,virtualDomHoz:!1,persistentLayout:!1,persistentSort:!1,persistentFilter:!1,persistenceID:"",persistenceMode:!0,persistenceReaderFunc:!1,persistenceWriterFunc:!1,persistence:!1,responsiveLayout:!1,responsiveLayoutCollapseStartOpen:!0,responsiveLayoutCollapseUseFormatters:!0,responsiveLayoutCollapseFormatter:!1,pagination:!1,paginationSize:!1,paginationInitialPage:1,paginationButtonCount:5,paginationSizeSelector:!1,paginationElement:!1,paginationDataSent:{},paginationDataReceived:{},paginationAddRow:"page",ajaxURL:!1,ajaxURLGenerator:!1,ajaxParams:{},ajaxConfig:"get",ajaxContentType:"form",ajaxRequestFunc:!1,ajaxLoader:!0,ajaxLoaderLoading:!1,ajaxLoaderError:!1,ajaxFiltering:!1,ajaxSorting:!1,ajaxProgressiveLoad:!1,ajaxProgressiveLoadDelay:0,ajaxProgressiveLoadScrollMargin:0,groupBy:!1,groupStartOpen:!0,groupValues:!1,groupUpdateOnCellEdit:!1,groupHeader:!1,groupHeaderPrint:null,groupHeaderClipboard:null,groupHeaderHtmlOutput:null,groupHeaderDownload:null,htmlOutputConfig:!1,movableColumns:!1,movableRows:!1,movableRowsConnectedTables:!1,movableRowsConnectedElements:!1,movableRowsSender:!1,movableRowsReceiver:"insert",movableRowsSendingStart:function(){},movableRowsSent:function(){},movableRowsSentFailed:function(){},movableRowsSendingStop:function(){},movableRowsReceivingStart:function(){},movableRowsReceived:function(){},movableRowsReceivedFailed:function(){},movableRowsReceivingStop:function(){},movableRowsElementDrop:function(){},scrollToRowPosition:"top",scrollToRowIfVisible:!0,scrollToColumnPosition:"left",scrollToColumnIfVisible:!0,rowFormatter:!1,rowFormatterPrint:null,rowFormatterClipboard:null,rowFormatterHtmlOutput:null,placeholder:!1,tableBuilding:function(){},tableBuilt:function(){},renderStarted:function(){},renderComplete:function(){},rowClick:!1,rowDblClick:!1,rowContext:!1,rowTap:!1,rowDblTap:!1,rowTapHold:!1,rowMouseEnter:!1,rowMouseLeave:!1,rowMouseOver:!1,rowMouseOut:!1,rowMouseMove:!1,rowContextMenu:!1,rowClickMenu:!1,rowAdded:function(){},rowDeleted:function(){},rowMoved:function(){},rowUpdated:function(){},rowSelectionChanged:function(){},rowSelected:function(){},rowDeselected:function(){},rowResized:function(){},cellClick:!1,cellDblClick:!1,cellContext:!1,cellTap:!1,cellDblTap:!1,cellTapHold:!1,cellMouseEnter:!1,cellMouseLeave:!1,cellMouseOver:!1,cellMouseOut:!1,cellMouseMove:!1,cellEditing:function(){},cellEdited:function(){},cellEditCancelled:function(){},columnMoved:!1,columnResized:function(){},columnTitleChanged:function(){},columnVisibilityChanged:function(){},htmlImporting:function(){},htmlImported:function(){},dataLoading:function(){},dataLoaded:function(){},dataEdited:!1,dataChanged:!1,ajaxRequesting:function(){},ajaxResponse:!1,ajaxError:function(){},dataFiltering:!1,dataFiltered:!1,dataSorting:function(){},dataSorted:function(){},groupToggleElement:"arrow",groupClosedShowCalcs:!1,dataGrouping:function(){},dataGrouped:!1,groupVisibilityChanged:function(){},groupClick:!1,groupDblClick:!1,groupContext:!1,groupContextMenu:!1,groupClickMenu:!1,groupTap:!1,groupDblTap:!1,groupTapHold:!1,columnCalcs:!0,pageLoaded:function(){},localized:function(){},validationMode:"blocking",validationFailed:function(){},historyUndo:function(){},historyRedo:function(){},scrollHorizontal:function(){},scrollVertical:function(){}},g.prototype.initializeOptions=function(e){if(!1!==e.invalidOptionWarnings)for(var t in e)"undefined"===typeof this.defaultOptions[t]&&console.warn("Invalid table constructor option:",t);for(var t in this.defaultOptions)t in e?this.options[t]=e[t]:Array.isArray(this.defaultOptions[t])?this.options[t]=Object.assign([],this.defaultOptions[t]):"object"===r(this.defaultOptions[t])&&null!==this.defaultOptions[t]?this.options[t]=Object.assign({},this.defaultOptions[t]):this.options[t]=this.defaultOptions[t]},g.prototype.initializeElement=function(e){return"undefined"!==typeof HTMLElement&&e instanceof HTMLElement?(this.element=e,!0):"string"===typeof e?(this.element=document.querySelector(e),!!this.element||(console.error("Tabulator Creation Error - no element found matching selector: ",e),!1)):(console.error("Tabulator Creation Error - Invalid element provided:",e),!1)},g.prototype.rtlCheck=function(){var e=window.getComputedStyle(this.element);switch(this.options.textDirection){case"auto":if("rtl"!==e.direction)break;case"rtl":this.element.classList.add("tabulator-rtl"),this.rtl=!0;break;case"ltr":this.element.classList.add("tabulator-ltr");default:this.rtl=!1}},g.prototype._mapDepricatedFunctionality=function(){(this.options.persistentLayout||this.options.persistentSort||this.options.persistentFilter)&&(this.options.persistence||(this.options.persistence={})),this.options.dataEdited&&(console.warn("DEPRECATION WARNING - dataEdited option has been deprecated, please use the dataChanged option instead"),this.options.dataChanged=this.options.dataEdited),this.options.downloadDataFormatter&&console.warn("DEPRECATION WARNING - downloadDataFormatter option has been deprecated"),"undefined"!==typeof this.options.clipboardCopyHeader&&(this.options.columnHeaders=this.options.clipboardCopyHeader,console.warn("DEPRECATION WARNING - clipboardCopyHeader option has been deprecated, please use the columnHeaders property on the clipboardCopyConfig option")),!0!==this.options.printVisibleRows&&(console.warn("printVisibleRows option is deprecated, you should now use the printRowRange option"),this.options.persistence.printRowRange="active"),!0!==this.options.printCopyStyle&&(console.warn("printCopyStyle option is deprecated, you should now use the printStyled option"),this.options.persistence.printStyled=this.options.printCopyStyle),this.options.persistentLayout&&(console.warn("persistentLayout option is deprecated, you should now use the persistence option"),!0!==this.options.persistence&&"undefined"===typeof this.options.persistence.columns&&(this.options.persistence.columns=!0)),this.options.persistentSort&&(console.warn("persistentSort option is deprecated, you should now use the persistence option"),!0!==this.options.persistence&&"undefined"===typeof this.options.persistence.sort&&(this.options.persistence.sort=!0)),this.options.persistentFilter&&(console.warn("persistentFilter option is deprecated, you should now use the persistence option"),!0!==this.options.persistence&&"undefined"===typeof this.options.persistence.filter&&(this.options.persistence.filter=!0)),this.options.columnVertAlign&&(console.warn("columnVertAlign option is deprecated, you should now use the columnHeaderVertAlign option"),this.options.columnHeaderVertAlign=this.options.columnVertAlign)},g.prototype._clearSelection=function(){this.element.classList.add("tabulator-block-select"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove("tabulator-block-select")},g.prototype._create=function(){this._clearObjectPointers(),this._mapDepricatedFunctionality(),this.bindModules(),this.rtlCheck(),"TABLE"===this.element.tagName&&this.modExists("htmlTableImport",!0)&&this.modules.htmlTableImport.parseTable(),this.columnManager=new s(this),this.rowManager=new l(this),this.footerManager=new m(this),this.columnManager.setRowManager(this.rowManager),this.rowManager.setColumnManager(this.columnManager),this.options.virtualDomHoz&&(this.vdomHoz=new u(this)),this._buildElement(),this._loadInitialData()},g.prototype._clearObjectPointers=function(){this.options.columns=this.options.columns.slice(0),this.options.reactiveData||(this.options.data=this.options.data.slice(0))},g.prototype._buildElement=function(){var e=this,t=this.element,n=this.modules,i=this.options;i.tableBuilding.call(this),t.classList.add("tabulator"),t.setAttribute("role","grid");while(t.firstChild)t.removeChild(t.firstChild);for(var o in i.height&&(i.height=isNaN(i.height)?i.height:i.height+"px",t.style.height=i.height),!1!==i.minHeight&&(i.minHeight=isNaN(i.minHeight)?i.minHeight:i.minHeight+"px",t.style.minHeight=i.minHeight),!1!==i.maxHeight&&(i.maxHeight=isNaN(i.maxHeight)?i.maxHeight:i.maxHeight+"px",t.style.maxHeight=i.maxHeight),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser(),this.modExists("layout",!0)&&n.layout.initialize(i.layout),n.localize.initialize(),!1!==i.headerFilterPlaceholder&&n.localize.setHeaderFilterPlaceholder(i.headerFilterPlaceholder),i.langs)n.localize.installLang(o,i.langs[o]);if(n.localize.setLocale(i.locale),"string"==typeof i.placeholder){var r=document.createElement("div");r.classList.add("tabulator-placeholder");var s=document.createElement("span");s.innerHTML=i.placeholder,r.appendChild(s),i.placeholder=r}if(t.appendChild(this.columnManager.getElement()),t.appendChild(this.rowManager.getElement()),i.footerElement&&this.footerManager.activate(),i.persistence&&this.modExists("persistence",!0)&&n.persistence.initialize(),i.movableRows&&this.modExists("moveRow")&&n.moveRow.initialize(),i.autoColumns&&this.options.data&&this.columnManager.generateColumnsFromRowData(this.options.data),this.modExists("columnCalcs")&&n.columnCalcs.initialize(),this.columnManager.setColumns(i.columns),i.dataTree&&this.modExists("dataTree",!0)&&n.dataTree.initialize(),this.modExists("frozenRows")&&this.modules.frozenRows.initialize(),(i.persistence&&this.modExists("persistence",!0)&&n.persistence.config.sort||i.initialSort)&&this.modExists("sort",!0)){var a=[];i.persistence&&this.modExists("persistence",!0)&&n.persistence.config.sort?(a=n.persistence.load("sort"),!1===a&&i.initialSort&&(a=i.initialSort)):i.initialSort&&(a=i.initialSort),n.sort.setSort(a)}if((i.persistence&&this.modExists("persistence",!0)&&n.persistence.config.filter||i.initialFilter)&&this.modExists("filter",!0)){var c=[];i.persistence&&this.modExists("persistence",!0)&&n.persistence.config.filter?(c=n.persistence.load("filter"),!1===c&&i.initialFilter&&(c=i.initialFilter)):i.initialFilter&&(c=i.initialFilter),n.filter.setFilter(c)}i.initialHeaderFilter&&this.modExists("filter",!0)&&i.initialHeaderFilter.forEach(function(t){var i=e.columnManager.findColumn(t.field);if(!i)return console.warn("Column Filter Error - No matching column found:",t.field),!1;n.filter.setHeaderFilterValue(i,t.value)}),this.modExists("ajax")&&n.ajax.initialize(),i.pagination&&this.modExists("page",!0)&&n.page.initialize(),i.groupBy&&this.modExists("groupRows",!0)&&n.groupRows.initialize(),this.modExists("keybindings")&&n.keybindings.initialize(),this.modExists("selectRow")&&n.selectRow.clearSelectionData(!0),i.autoResize&&this.modExists("resizeTable")&&n.resizeTable.initialize(),this.modExists("clipboard")&&n.clipboard.initialize(),i.printAsHtml&&this.modExists("print")&&n.print.initialize(),i.tableBuilt.call(this)},g.prototype._loadInitialData=function(){var e=this;if(e.options.pagination&&e.modExists("page"))if(e.modules.page.reset(!0,!0),"local"==e.options.pagination){if(e.options.data.length)e.rowManager.setData(e.options.data,!1,!0);else{if((e.options.ajaxURL||e.options.ajaxURLGenerator)&&e.modExists("ajax"))return void e.modules.ajax.loadData(!1,!0).then(function(){}).catch(function(){e.options.paginationInitialPage&&e.modules.page.setPage(e.options.paginationInitialPage)});e.rowManager.setData(e.options.data,!1,!0)}e.options.paginationInitialPage&&e.modules.page.setPage(e.options.paginationInitialPage)}else e.options.ajaxURL?e.modules.page.setPage(e.options.paginationInitialPage).then(function(){}).catch(function(){}):e.rowManager.setData([],!1,!0);else e.options.data.length?e.rowManager.setData(e.options.data):(e.options.ajaxURL||e.options.ajaxURLGenerator)&&e.modExists("ajax")?e.modules.ajax.loadData(!1,!0).then(function(){}).catch(function(){}):e.rowManager.setData(e.options.data,!1,!0)},g.prototype.destroy=function(){var e=this.element;g.prototype.comms.deregister(this),this.options.reactiveData&&this.modExists("reactiveData",!0)&&this.modules.reactiveData.unwatchData(),this.rowManager.rows.forEach(function(e){e.wipe()}),this.rowManager.rows=[],this.rowManager.activeRows=[],this.rowManager.displayRows=[],this.options.autoResize&&this.modExists("resizeTable")&&this.modules.resizeTable.clearBindings(),this.modExists("keybindings")&&this.modules.keybindings.clearBindings();while(e.firstChild)e.removeChild(e.firstChild);e.classList.remove("tabulator")},g.prototype._detectBrowser=function(){var e=navigator.userAgent||navigator.vendor||window.opera;e.indexOf("Trident")>-1?(this.browser="ie",this.browserSlow=!0):e.indexOf("Edge")>-1?(this.browser="edge",this.browserSlow=!0):e.indexOf("Firefox")>-1?(this.browser="firefox",this.browserSlow=!1):(this.browser="other",this.browserSlow=!1),this.browserMobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4))},g.prototype.blockRedraw=function(){return this.rowManager.blockRedraw()},g.prototype.restoreRedraw=function(){return this.rowManager.restoreRedraw()},g.prototype.setDataFromLocalFile=function(e){var t=this;return new Promise(function(n,i){var o=document.createElement("input");o.type="file",o.accept=e||".json,application/json",o.addEventListener("change",function(e){var r,s=o.files[0],a=new FileReader;a.readAsText(s),a.onload=function(e){try{r=JSON.parse(a.result)}catch(e){return console.warn("File Load Error - File contents is invalid JSON",e),void i(e)}t.setData(r).then(function(e){n(e)}).catch(function(e){n(e)})},a.onerror=function(e){console.warn("File Load Error - Unable to read file"),i()}}),o.click()})},g.prototype.setData=function(e,t,n){return this.modExists("ajax")&&this.modules.ajax.blockActiveRequest(),this._setData(e,t,n,!1,!0)},g.prototype._setData=function(e,t,n,i,o){var r=this;return"string"!==typeof e?e?r.rowManager.setData(e,i,o):r.modExists("ajax")&&(r.modules.ajax.getUrl||r.options.ajaxURLGenerator)?"remote"==r.options.pagination&&r.modExists("page",!0)?(r.modules.page.reset(!0,!0),r.modules.page.setPage(1)):r.modules.ajax.loadData(i,o):r.rowManager.setData([],i,o):0==e.indexOf("{")||0==e.indexOf("[")?r.rowManager.setData(JSON.parse(e),i,o):r.modExists("ajax",!0)?(t&&r.modules.ajax.setParams(t),n&&r.modules.ajax.setConfig(n),r.modules.ajax.setUrl(e),"remote"==r.options.pagination&&r.modExists("page",!0)?(r.modules.page.reset(!0,!0),r.modules.page.setPage(1)):r.modules.ajax.loadData(i,o)):void 0},g.prototype.clearData=function(){this.modExists("ajax")&&this.modules.ajax.blockActiveRequest(),this.rowManager.clearData()},g.prototype.getData=function(e){return!0===e&&(console.warn("passing a boolean to the getData function is deprecated, you should now pass the string 'active'"),e="active"),this.rowManager.getData(e)},g.prototype.getDataCount=function(e){return!0===e&&(console.warn("passing a boolean to the getDataCount function is deprecated, you should now pass the string 'active'"),e="active"),this.rowManager.getDataCount(e)},g.prototype.searchRows=function(e,t,n){if(this.modExists("filter",!0))return this.modules.filter.search("rows",e,t,n)},g.prototype.searchData=function(e,t,n){if(this.modExists("filter",!0))return this.modules.filter.search("data",e,t,n)},g.prototype.getHtml=function(e,t,n){if(this.modExists("export",!0))return this.modules.export.getHtml(e,t,n)},g.prototype.print=function(e,t,n){if(this.modExists("print",!0))return this.modules.print.printFullscreen(e,t,n)},g.prototype.getAjaxUrl=function(){if(this.modExists("ajax",!0))return this.modules.ajax.getUrl()},g.prototype.replaceData=function(e,t,n){return this.modExists("ajax")&&this.modules.ajax.blockActiveRequest(),this._setData(e,t,n,!0)},g.prototype.updateData=function(e){var t=this,n=this,i=0;return new Promise(function(o,r){t.modExists("ajax")&&t.modules.ajax.blockActiveRequest(),"string"===typeof e&&(e=JSON.parse(e)),e?e.forEach(function(e){var t=n.rowManager.findRow(e[n.options.index]);t&&(i++,t.updateData(e).then(function(){i--,i||o()}))}):(console.warn("Update Error - No data provided"),r("Update Error - No data provided"))})},g.prototype.addData=function(e,t,n){var i=this;return new Promise(function(o,r){i.modExists("ajax")&&i.modules.ajax.blockActiveRequest(),"string"===typeof e&&(e=JSON.parse(e)),e?i.rowManager.addRows(e,t,n).then(function(e){var t=[];e.forEach(function(e){t.push(e.getComponent())}),o(t)}):(console.warn("Update Error - No data provided"),r("Update Error - No data provided"))})},g.prototype.updateOrAddData=function(e){var t=this,n=this,i=[],o=0;return new Promise(function(r,s){t.modExists("ajax")&&t.modules.ajax.blockActiveRequest(),"string"===typeof e&&(e=JSON.parse(e)),e?e.forEach(function(e){var t=n.rowManager.findRow(e[n.options.index]);o++,t?t.updateData(e).then(function(){o--,i.push(t.getComponent()),o||r(i)}):n.rowManager.addRows(e).then(function(e){o--,i.push(e[0].getComponent()),o||r(i)})}):(console.warn("Update Error - No data provided"),s("Update Error - No data provided"))})},g.prototype.getRow=function(e){var t=this.rowManager.findRow(e);return t?t.getComponent():(console.warn("Find Error - No matching row found:",e),!1)},g.prototype.getRowFromPosition=function(e,t){var n=this.rowManager.getRowFromPosition(e,t);return n?n.getComponent():(console.warn("Find Error - No matching row found:",e),!1)},g.prototype.deleteRow=function(e){var t=this;return new Promise(function(n,i){var o=t,r=0,s=0,a=[];function c(){r++,r==e.length&&s&&(o.rowManager.reRenderInPosition(),n())}Array.isArray(e)||(e=[e]),e.forEach(function(e){var n=t.rowManager.findRow(e,!0);n?a.push(n):(console.warn("Delete Error - No matching row found:",e),i("Delete Error - No matching row found"),c())}),a.sort(function(e,n){return t.rowManager.rows.indexOf(e)>t.rowManager.rows.indexOf(n)?1:-1}),a.forEach(function(e){e.delete().then(function(){s++,c()}).catch(function(e){c(),i(e)})})})},g.prototype.addRow=function(e,t,n){var i=this;return new Promise(function(o,r){"string"===typeof e&&(e=JSON.parse(e)),i.rowManager.addRows(e,t,n).then(function(e){i.modExists("columnCalcs")&&i.modules.columnCalcs.recalc(i.rowManager.activeRows),o(e[0].getComponent())})})},g.prototype.updateOrAddRow=function(e,t){var n=this;return new Promise(function(i,o){var r=n.rowManager.findRow(e);"string"===typeof t&&(t=JSON.parse(t)),r?r.updateData(t).then(function(){n.modExists("columnCalcs")&&n.modules.columnCalcs.recalc(n.rowManager.activeRows),i(r.getComponent())}).catch(function(e){o(e)}):r=n.rowManager.addRows(t).then(function(e){n.modExists("columnCalcs")&&n.modules.columnCalcs.recalc(n.rowManager.activeRows),i(e[0].getComponent())}).catch(function(e){o(e)})})},g.prototype.updateRow=function(e,t){var n=this;return new Promise(function(i,o){var r=n.rowManager.findRow(e);"string"===typeof t&&(t=JSON.parse(t)),r?r.updateData(t).then(function(){i(r.getComponent())}).catch(function(e){o(e)}):(console.warn("Update Error - No matching row found:",e),o("Update Error - No matching row found"))})},g.prototype.scrollToRow=function(e,t,n){var i=this;return new Promise(function(o,r){var s=i.rowManager.findRow(e);s?i.rowManager.scrollToRow(s,t,n).then(function(){o()}).catch(function(e){r(e)}):(console.warn("Scroll Error - No matching row found:",e),r("Scroll Error - No matching row found"))})},g.prototype.moveRow=function(e,t,n){var i=this.rowManager.findRow(e);i?i.moveToRow(t,n):console.warn("Move Error - No matching row found:",e)},g.prototype.getRows=function(e){return!0===e&&(console.warn("passing a boolean to the getRows function is deprecated, you should now pass the string 'active'"),e="active"),this.rowManager.getComponents(e)},g.prototype.getRowPosition=function(e,t){var n=this.rowManager.findRow(e);return n?this.rowManager.getRowPosition(n,t):(console.warn("Position Error - No matching row found:",e),!1)},g.prototype.copyToClipboard=function(e){this.modExists("clipboard",!0)&&this.modules.clipboard.copy(e)},g.prototype.setColumns=function(e){this.columnManager.setColumns(e)},g.prototype.getColumns=function(e){return this.columnManager.getComponents(e)},g.prototype.getColumn=function(e){var t=this.columnManager.findColumn(e);return t?t.getComponent():(console.warn("Find Error - No matching column found:",e),!1)},g.prototype.getColumnDefinitions=function(){return this.columnManager.getDefinitionTree()},g.prototype.getColumnLayout=function(){if(this.modExists("persistence",!0))return this.modules.persistence.parseColumns(this.columnManager.getColumns())},g.prototype.setColumnLayout=function(e){return!!this.modExists("persistence",!0)&&(this.columnManager.setColumns(this.modules.persistence.mergeDefinition(this.options.columns,e)),!0)},g.prototype.showColumn=function(e){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Show Error - No matching column found:",e),!1;t.show(),this.options.responsiveLayout&&this.modExists("responsiveLayout",!0)&&this.modules.responsiveLayout.update()},g.prototype.hideColumn=function(e){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Hide Error - No matching column found:",e),!1;t.hide(),this.options.responsiveLayout&&this.modExists("responsiveLayout",!0)&&this.modules.responsiveLayout.update()},g.prototype.toggleColumn=function(e){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1;t.visible?t.hide():t.show()},g.prototype.addColumn=function(e,t,n){var i=this;return new Promise(function(o,r){var s=i.columnManager.findColumn(n);i.columnManager.addColumn(e,t,s).then(function(e){o(e.getComponent())}).catch(function(e){r(e)})})},g.prototype.deleteColumn=function(e){var t=this;return new Promise(function(n,i){var o=t.columnManager.findColumn(e);o?o.delete().then(function(){n()}).catch(function(e){i(e)}):(console.warn("Column Delete Error - No matching column found:",e),i())})},g.prototype.updateColumnDefinition=function(e,t){var n=this;return new Promise(function(i,o){var r=n.columnManager.findColumn(e);r?r.updateDefinition(t).then(function(e){i(e)}).catch(function(e){o(e)}):(console.warn("Column Update Error - No matching column found:",e),o())})},g.prototype.moveColumn=function(e,t,n){var i=this.columnManager.findColumn(e),o=this.columnManager.findColumn(t);i?o?this.columnManager.moveColumn(i,o,n):console.warn("Move Error - No matching column found:",o):console.warn("Move Error - No matching column found:",e)},g.prototype.scrollToColumn=function(e,t,n){var i=this;return new Promise(function(o,r){var s=i.columnManager.findColumn(e);s?i.columnManager.scrollToColumn(s,t,n).then(function(){o()}).catch(function(e){r(e)}):(console.warn("Scroll Error - No matching column found:",e),r("Scroll Error - No matching column found"))})},g.prototype.setLocale=function(e){this.modules.localize.setLocale(e)},g.prototype.getLocale=function(){return this.modules.localize.getLocale()},g.prototype.getLang=function(e){return this.modules.localize.getLang(e)},g.prototype.redraw=function(e){this.columnManager.redraw(e),this.rowManager.redraw(e)},g.prototype.setHeight=function(e){"classic"!==this.rowManager.renderMode?(this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.setRenderMode(),this.rowManager.redraw()):console.warn("setHeight function is not available in classic render mode")},g.prototype.setSort=function(e,t){this.modExists("sort",!0)&&(this.modules.sort.setSort(e,t),this.rowManager.sorterRefresh())},g.prototype.getSorters=function(){if(this.modExists("sort",!0))return this.modules.sort.getSort()},g.prototype.clearSort=function(){this.modExists("sort",!0)&&(this.modules.sort.clear(),this.rowManager.sorterRefresh())},g.prototype.setFilter=function(e,t,n,i){this.modExists("filter",!0)&&(this.modules.filter.setFilter(e,t,n,i),this.rowManager.filterRefresh())},g.prototype.refreshFilter=function(){this.modExists("filter",!0)&&this.rowManager.filterRefresh()},g.prototype.addFilter=function(e,t,n,i){this.modExists("filter",!0)&&(this.modules.filter.addFilter(e,t,n,i),this.rowManager.filterRefresh())},g.prototype.getFilters=function(e){if(this.modExists("filter",!0))return this.modules.filter.getFilters(e)},g.prototype.setHeaderFilterFocus=function(e){if(this.modExists("filter",!0)){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Filter Focus Error - No matching column found:",e),!1;this.modules.filter.setHeaderFilterFocus(t)}},g.prototype.getHeaderFilterValue=function(e){if(this.modExists("filter",!0)){var t=this.columnManager.findColumn(e);if(t)return this.modules.filter.getHeaderFilterValue(t);console.warn("Column Filter Error - No matching column found:",e)}},g.prototype.setHeaderFilterValue=function(e,t){if(this.modExists("filter",!0)){var n=this.columnManager.findColumn(e);if(!n)return console.warn("Column Filter Error - No matching column found:",e),!1;this.modules.filter.setHeaderFilterValue(n,t)}},g.prototype.getHeaderFilters=function(){if(this.modExists("filter",!0))return this.modules.filter.getHeaderFilters()},g.prototype.removeFilter=function(e,t,n){this.modExists("filter",!0)&&(this.modules.filter.removeFilter(e,t,n),this.rowManager.filterRefresh())},g.prototype.clearFilter=function(e){this.modExists("filter",!0)&&(this.modules.filter.clearFilter(e),this.rowManager.filterRefresh())},g.prototype.clearHeaderFilter=function(){this.modExists("filter",!0)&&(this.modules.filter.clearHeaderFilter(),this.rowManager.filterRefresh())},g.prototype.selectRow=function(e){this.modExists("selectRow",!0)&&(!0===e&&(console.warn("passing a boolean to the selectRowselectRow function is deprecated, you should now pass the string 'active'"),e="active"),this.modules.selectRow.selectRows(e))},g.prototype.deselectRow=function(e){this.modExists("selectRow",!0)&&this.modules.selectRow.deselectRows(e)},g.prototype.toggleSelectRow=function(e){this.modExists("selectRow",!0)&&this.modules.selectRow.toggleRow(e)},g.prototype.getSelectedRows=function(){if(this.modExists("selectRow",!0))return this.modules.selectRow.getSelectedRows()},g.prototype.getSelectedData=function(){if(this.modExists("selectRow",!0))return this.modules.selectRow.getSelectedData()},g.prototype.getInvalidCells=function(){if(this.modExists("validate",!0))return this.modules.validate.getInvalidCells()},g.prototype.clearCellValidation=function(e){var t=this;this.modExists("validate",!0)&&(e||(e=this.modules.validate.getInvalidCells()),Array.isArray(e)||(e=[e]),e.forEach(function(e){t.modules.validate.clearValidation(e._getSelf())}))},g.prototype.validate=function(e){var t=[];return this.rowManager.rows.forEach(function(e){var n=e.validate();!0!==n&&(t=t.concat(n))}),!t.length||t},g.prototype.setMaxPage=function(e){if(!this.options.pagination||!this.modExists("page"))return!1;this.modules.page.setMaxPage(e)},g.prototype.setPage=function(e){return this.options.pagination&&this.modExists("page")?this.modules.page.setPage(e):new Promise(function(e,t){t()})},g.prototype.setPageToRow=function(e){var t=this;return new Promise(function(n,i){t.options.pagination&&t.modExists("page")?(e=t.rowManager.findRow(e),e?t.modules.page.setPageToRow(e).then(function(){n()}).catch(function(){i()}):i()):i()})},g.prototype.setPageSize=function(e){if(!this.options.pagination||!this.modExists("page"))return!1;this.modules.page.setPageSize(e),this.modules.page.setPage(1).then(function(){}).catch(function(){})},g.prototype.getPageSize=function(){if(this.options.pagination&&this.modExists("page",!0))return this.modules.page.getPageSize()},g.prototype.previousPage=function(){if(!this.options.pagination||!this.modExists("page"))return!1;this.modules.page.previousPage()},g.prototype.nextPage=function(){if(!this.options.pagination||!this.modExists("page"))return!1;this.modules.page.nextPage()},g.prototype.getPage=function(){return!(!this.options.pagination||!this.modExists("page"))&&this.modules.page.getPage()},g.prototype.getPageMax=function(){return!(!this.options.pagination||!this.modExists("page"))&&this.modules.page.getPageMax()},g.prototype.setGroupBy=function(e){if(!this.modExists("groupRows",!0))return!1;this.options.groupBy=e,this.modules.groupRows.initialize(),this.rowManager.refreshActiveData("display"),this.options.persistence&&this.modExists("persistence",!0)&&this.modules.persistence.config.group&&this.modules.persistence.save("group")},g.prototype.setGroupValues=function(e){if(!this.modExists("groupRows",!0))return!1;this.options.groupValues=e,this.modules.groupRows.initialize(),this.rowManager.refreshActiveData("display"),this.options.persistence&&this.modExists("persistence",!0)&&this.modules.persistence.config.group&&this.modules.persistence.save("group")},g.prototype.setGroupStartOpen=function(e){if(!this.modExists("groupRows",!0))return!1;this.options.groupStartOpen=e,this.modules.groupRows.initialize(),this.options.groupBy?(this.rowManager.refreshActiveData("group"),this.options.persistence&&this.modExists("persistence",!0)&&this.modules.persistence.config.group&&this.modules.persistence.save("group")):console.warn("Grouping Update - cant refresh view, no groups have been set")},g.prototype.setGroupHeader=function(e){if(!this.modExists("groupRows",!0))return!1;this.options.groupHeader=e,this.modules.groupRows.initialize(),this.options.groupBy?(this.rowManager.refreshActiveData("group"),this.options.persistence&&this.modExists("persistence",!0)&&this.modules.persistence.config.group&&this.modules.persistence.save("group")):console.warn("Grouping Update - cant refresh view, no groups have been set")},g.prototype.getGroups=function(e){return!!this.modExists("groupRows",!0)&&this.modules.groupRows.getGroups(!0)},g.prototype.getGroupedData=function(){if(this.modExists("groupRows",!0))return this.options.groupBy?this.modules.groupRows.getGroupedData():this.getData()},g.prototype.getEditedCells=function(){if(this.modExists("edit",!0))return this.modules.edit.getEditedCells()},g.prototype.clearCellEdited=function(e){var t=this;this.modExists("edit",!0)&&(e||(e=this.modules.edit.getEditedCells()),Array.isArray(e)||(e=[e]),e.forEach(function(e){t.modules.edit.clearEdited(e._getSelf())}))},g.prototype.getCalcResults=function(){return!!this.modExists("columnCalcs",!0)&&this.modules.columnCalcs.getResults()},g.prototype.recalc=function(){this.modExists("columnCalcs",!0)&&this.modules.columnCalcs.recalcAll(this.rowManager.activeRows)},g.prototype.navigatePrev=function(){var e=!1;return!(!this.modExists("edit",!0)||(e=this.modules.edit.currentCell,!e))&&e.nav().prev()},g.prototype.navigateNext=function(){var e=!1;return!(!this.modExists("edit",!0)||(e=this.modules.edit.currentCell,!e))&&e.nav().next()},g.prototype.navigateLeft=function(){var t=!1;return!(!this.modExists("edit",!0)||(t=this.modules.edit.currentCell,!t))&&(e.preventDefault(),t.nav().left())},g.prototype.navigateRight=function(){var t=!1;return!(!this.modExists("edit",!0)||(t=this.modules.edit.currentCell,!t))&&(e.preventDefault(),t.nav().right())},g.prototype.navigateUp=function(){var t=!1;return!(!this.modExists("edit",!0)||(t=this.modules.edit.currentCell,!t))&&(e.preventDefault(),t.nav().up())},g.prototype.navigateDown=function(){var t=!1;return!(!this.modExists("edit",!0)||(t=this.modules.edit.currentCell,!t))&&(e.preventDefault(),t.nav().down())},g.prototype.undo=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.undo()},g.prototype.redo=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.redo()},g.prototype.getHistoryUndoSize=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.getHistoryUndoSize()},g.prototype.getHistoryRedoSize=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.getHistoryRedoSize()},g.prototype.clearHistory=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.clear()},g.prototype.download=function(e,t,n,i){this.modExists("download",!0)&&this.modules.download.download(e,t,n,i)},g.prototype.downloadToTab=function(e,t,n,i){this.modExists("download",!0)&&this.modules.download.download(e,t,n,i,!0)},g.prototype.tableComms=function(e,t,n,i){this.modules.comms.receive(e,t,n,i)},g.prototype.moduleBindings={},g.prototype.extendModule=function(e,t,n){if(g.prototype.moduleBindings[e]){var i=g.prototype.moduleBindings[e].prototype[t];if(i)if("object"==("undefined"===typeof n?"undefined":r(n)))for(var o in n)i[o]=n[o];else console.warn("Module Error - Invalid value type, it must be an object");else console.warn("Module Error - property does not exist:",t)}else console.warn("Module Error - module does not exist:",e)},g.prototype.registerModule=function(e,t){g.prototype.moduleBindings[e]=t},g.prototype.bindModules=function(){for(var e in this.modules={},g.prototype.moduleBindings)this.modules[e]=new g.prototype.moduleBindings[e](this)},g.prototype.modExists=function(e,t){return!!this.modules[e]||(t&&console.error("Tabulator Module Not Installed: "+e),!1)},g.prototype.helpers={elVisible:function(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)},elOffset:function(e){var t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset-document.documentElement.clientTop,left:t.left+window.pageXOffset-document.documentElement.clientLeft}},deepClone:function(e){var t=Object.assign(Array.isArray(e)?[]:{},e);for(var n in e)null!=e[n]&&"object"===r(e[n])&&(e[n]instanceof Date?t[n]=new Date(e[n]):t[n]=this.deepClone(e[n]));return t}},g.prototype.comms={tables:[],register:function(e){g.prototype.comms.tables.push(e)},deregister:function(e){var t=g.prototype.comms.tables.indexOf(e);t>-1&&g.prototype.comms.tables.splice(t,1)},lookupTable:function(e,t){var n,i,o=[];if("string"===typeof e){if(n=document.querySelectorAll(e),n.length)for(var r=0;r0?r.setWidth(o):r.reinitializeWidth()):this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()},fitColumns:function(e){var t=this,n=t.table.element.clientWidth,i=0,o=0,r=0,s=0,a=[],c=[],l=0,u=0,d=0;function h(e){var t;return t="string"==typeof e?e.indexOf("%")>-1?n/100*parseInt(e):parseInt(e):e,t}function p(e,t,n,i){var o=[],s=0,a=0,c=0,l=r,u=0,d=0,f=[];function m(e){return n*(e.column.definition.widthGrow||1)}function g(e){return h(e.width)-n*(e.column.definition.widthShrink||0)}return e.forEach(function(e,r){var s=i?g(e):m(e);e.column.minWidth>=s?o.push(e):e.column.maxWidth&&e.column.maxWidththis.table.rowManager.element.clientHeight&&(n-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),e.forEach(function(e){var t,n,o;e.visible&&(t=e.definition.width,n=parseInt(e.minWidth),t?(o=h(t),i+=o>n?o:n,e.definition.widthShrink&&(c.push({column:e,width:o>n?o:n}),l+=e.definition.widthShrink)):(a.push({column:e,width:0}),r+=e.definition.widthGrow||1))}),o=n-i,s=Math.floor(o/r);d=p(a,o,s,!1);a.length&&d>0&&(a[a.length-1].width+=+d),a.forEach(function(e){o-=e.width}),u=Math.abs(d)+o,u>0&&l&&(d=p(c,u,Math.floor(u/l),!0)),c.length&&(c[c.length-1].width-=d),a.forEach(function(e){e.column.setWidth(e.width)}),c.forEach(function(e){e.column.setWidth(e.width)})}},g.prototype.registerModule("layout",v);var b=function(e){this.table=e,this.locale="default",this.lang=!1,this.bindings={},this.langList={}};b.prototype.initialize=function(){this.langList=g.prototype.helpers.deepClone(this.langs)},b.prototype.setHeaderFilterPlaceholder=function(e){this.langList.default.headerFilters.default=e},b.prototype.setHeaderFilterColumnPlaceholder=function(e,t){this.langList.default.headerFilters.columns[e]=t,this.lang&&!this.lang.headerFilters.columns[e]&&(this.lang.headerFilters.columns[e]=t)},b.prototype.installLang=function(e,t){this.langList[e]?this._setLangProp(this.langList[e],t):this.langList[e]=t},b.prototype._setLangProp=function(e,t){for(var n in t)e[n]&&"object"==r(e[n])?this._setLangProp(e[n],t[n]):e[n]=t[n]},b.prototype.setLocale=function(e){var t=this;function n(e,t){for(var i in e)"object"==r(e[i])?(t[i]||(t[i]={}),n(e[i],t[i])):t[i]=e[i]}if(e=e||"default",!0===e&&navigator.language&&(e=navigator.language.toLowerCase()),e&&!t.langList[e]){var i=e.split("-")[0];t.langList[i]?(console.warn("Localization Error - Exact matching locale not found, using closest match: ",e,i),e=i):(console.warn("Localization Error - Matching locale not found, using default: ",e),e="default")}t.locale=e,t.lang=g.prototype.helpers.deepClone(t.langList.default||{}),"default"!=e&&n(t.langList[e],t.lang),t.table.options.localized.call(t.table,t.locale,t.lang),t._executeBindings()},b.prototype.getLocale=function(e){return self.locale},b.prototype.getLang=function(e){return e?this.langList[e]:this.lang},b.prototype.getText=function(e,t){e=t?e+"|"+t:e;var n=e.split("|"),i=this._getLangElement(n,this.locale);return i||""},b.prototype._getLangElement=function(e,t){var n=this,i=n.lang;return e.forEach(function(e){var t;i&&(t=i[e],i="undefined"!=typeof t&&t)}),i},b.prototype.bind=function(e,t){this.bindings[e]||(this.bindings[e]=[]),this.bindings[e].push(t),t(this.getText(e),this.lang)},b.prototype._executeBindings=function(){var e=this,t=function(t){e.bindings[t].forEach(function(n){n(e.getText(t),e.lang)})};for(var n in e.bindings)t(n)},b.prototype.langs={default:{groups:{item:"item",items:"items"},columns:{},ajax:{loading:"Loading",error:"Error"},pagination:{page_size:"Page Size",page_title:"Show Page",first:"First",first_title:"First Page",last:"Last",last_title:"Last Page",prev:"Prev",prev_title:"Prev Page",next:"Next",next_title:"Next Page",all:"All"},headerFilters:{default:"filter column...",columns:{}}}},g.prototype.registerModule("localize",b);var y=function(e){this.table=e};y.prototype.getConnections=function(e){var t,n=this,i=[];return t=g.prototype.comms.lookupTable(e),t.forEach(function(e){n.table!==e&&i.push(e)}),i},y.prototype.send=function(e,t,n,i){var o=this,r=this.getConnections(e);r.forEach(function(e){e.tableComms(o.table.element,t,n,i)}),!r.length&&e&&console.warn("Table Connection Error - No tables matching selector found",e)},y.prototype.receive=function(e,t,n,i){if(this.table.modExists(t))return this.table.modules[t].commsReceived(e,n,i);console.warn("Inter-table Comms Error - no such module:",t)},g.prototype.registerModule("comms",y);var _=function(e){this.table=e,this.allowedTypes=["","data","download","clipboard","print","htmlOutput"]};_.prototype.initializeColumn=function(e){var t=this,n=!1,i={};this.allowedTypes.forEach(function(o){var r,s="accessor"+(o.charAt(0).toUpperCase()+o.slice(1));e.definition[s]&&(r=t.lookupAccessor(e.definition[s]),r&&(n=!0,i[s]={accessor:r,params:e.definition[s+"Params"]||{}}))}),n&&(e.modules.accessor=i)},_.prototype.lookupAccessor=function(e){var t=!1;switch("undefined"===typeof e?"undefined":r(e)){case"string":this.accessors[e]?t=this.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":t=e;break}return t},_.prototype.transformRow=function(e,t){var n="accessor"+(t.charAt(0).toUpperCase()+t.slice(1)),i=e.getComponent(),o=g.prototype.helpers.deepClone(e.data||{});return this.table.columnManager.traverse(function(e){var r,s,a,c;e.modules.accessor&&(s=e.modules.accessor[n]||e.modules.accessor.accessor||!1,s&&(r=e.getFieldValue(o),"undefined"!=r&&(c=e.getComponent(),a="function"===typeof s.params?s.params(r,o,t,c,i):s.params,e.setFieldValue(o,s.accessor(r,o,t,a,c,i)))))}),o},_.prototype.accessors={},g.prototype.registerModule("accessor",_);var M=function(e){this.table=e,this.config=!1,this.url="",this.urlGenerator=!1,this.params=!1,this.loaderElement=this.createLoaderElement(),this.msgElement=this.createMsgElement(),this.loadingElement=!1,this.errorElement=!1,this.loaderPromise=!1,this.progressiveLoad=!1,this.loading=!1,this.requestOrder=0};M.prototype.initialize=function(){var e;this.loaderElement.appendChild(this.msgElement),this.table.options.ajaxLoaderLoading&&("string"==typeof this.table.options.ajaxLoaderLoading?(e=document.createElement("template"),e.innerHTML=this.table.options.ajaxLoaderLoading.trim(),this.loadingElement=e.content.firstChild):this.loadingElement=this.table.options.ajaxLoaderLoading),this.loaderPromise=this.table.options.ajaxRequestFunc||this.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||this.defaultURLGenerator,this.table.options.ajaxLoaderError&&("string"==typeof this.table.options.ajaxLoaderError?(e=document.createElement("template"),e.innerHTML=this.table.options.ajaxLoaderError.trim(),this.errorElement=e.content.firstChild):this.errorElement=this.table.options.ajaxLoaderError),this.table.options.ajaxParams&&this.setParams(this.table.options.ajaxParams),this.table.options.ajaxConfig&&this.setConfig(this.table.options.ajaxConfig),this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.table.options.ajaxProgressiveLoad&&(this.table.options.pagination?(this.progressiveLoad=!1,console.error("Progressive Load Error - Pagination and progressive load cannot be used at the same time")):this.table.modExists("page")?(this.progressiveLoad=this.table.options.ajaxProgressiveLoad,this.table.modules.page.initializeProgressive(this.progressiveLoad)):console.error("Pagination plugin is required for progressive ajax loading"))},M.prototype.createLoaderElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-loader"),e},M.prototype.createMsgElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-loader-msg"),e.setAttribute("role","alert"),e},M.prototype.setParams=function(e,t){if(t)for(var n in this.params=this.params||{},e)this.params[n]=e[n];else this.params=e},M.prototype.getParams=function(){return this.params||{}},M.prototype.setConfig=function(e){if(this._loadDefaultConfig(),"string"==typeof e)this.config.method=e;else for(var t in e)this.config[t]=e[t]},M.prototype._loadDefaultConfig=function(e){var t=this;if(!t.config||e)for(var n in t.config={},t.defaultConfig)t.config[n]=t.defaultConfig[n]},M.prototype.setUrl=function(e){this.url=e},M.prototype.getUrl=function(){return this.url},M.prototype.loadData=function(e,t){return this.progressiveLoad?this._loadDataProgressive():this._loadDataStandard(e,t)},M.prototype.nextPage=function(e){var t;this.loading||(t=this.table.options.ajaxProgressiveLoadScrollMargin||2*this.table.rowManager.getElement().clientHeight,ei||null===i)&&(i=e)}),null!==i?!1!==o?i.toFixed(o):i:""},min:function(e,t,n){var i=null,o="undefined"!==typeof n.precision&&n.precision;return e.forEach(function(e){e=Number(e),(e"),n.dataTreeExpandElement?"string"===typeof n.dataTreeExpandElement?(e=document.createElement("div"),e.innerHTML=n.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=n.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="
"),r(n.dataTreeStartExpanded)){case"boolean":this.startOpen=function(e,t){return n.dataTreeStartExpanded};break;case"function":this.startOpen=n.dataTreeStartExpanded;break;default:this.startOpen=function(e,t){return n.dataTreeStartExpanded[t]};break}},A.prototype.initializeRow=function(e){var t=e.getData()[this.field],n=Array.isArray(t),i=n||!n&&"object"===("undefined"===typeof t?"undefined":r(t))&&null!==t;!i&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!i&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:!!i&&(e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0)),controlEl:!(!e.modules.dataTree||!i)&&e.modules.dataTree.controlEl,branchEl:!(!e.modules.dataTree||!i)&&e.modules.dataTree.branchEl,parent:!!e.modules.dataTree&&e.modules.dataTree.parent,children:i}},A.prototype.layoutRow=function(e){var t=this.elementField?e.getCell(this.elementField):e.getCells()[0],n=t.getElement(),i=e.modules.dataTree;i.branchEl&&(i.branchEl.parentNode&&i.branchEl.parentNode.removeChild(i.branchEl),i.branchEl=!1),i.controlEl&&(i.controlEl.parentNode&&i.controlEl.parentNode.removeChild(i.controlEl),i.controlEl=!1),this.generateControlElement(e,n),e.getElement().classList.add("tabulator-tree-level-"+i.index),i.index&&(this.branchEl?(i.branchEl=this.branchEl.cloneNode(!0),n.insertBefore(i.branchEl,n.firstChild),this.table.rtl?i.branchEl.style.marginRight=(i.branchEl.offsetWidth+i.branchEl.style.marginLeft)*(i.index-1)+i.index*this.indent+"px":i.branchEl.style.marginLeft=(i.branchEl.offsetWidth+i.branchEl.style.marginRight)*(i.index-1)+i.index*this.indent+"px"):this.table.rtl?n.style.paddingRight=parseInt(window.getComputedStyle(n,null).getPropertyValue("padding-right"))+i.index*this.indent+"px":n.style.paddingLeft=parseInt(window.getComputedStyle(n,null).getPropertyValue("padding-left"))+i.index*this.indent+"px")},A.prototype.generateControlElement=function(e,t){var n=this,i=e.modules.dataTree,o=(t=t||e.getCells()[0].getElement(),i.controlEl);!1!==i.children&&(i.open?(i.controlEl=this.collapseEl.cloneNode(!0),i.controlEl.addEventListener("click",function(t){t.stopPropagation(),n.collapseRow(e)})):(i.controlEl=this.expandEl.cloneNode(!0),i.controlEl.addEventListener("click",function(t){t.stopPropagation(),n.expandRow(e)})),i.controlEl.addEventListener("mousedown",function(e){e.stopPropagation()}),o&&o.parentNode===t?o.parentNode.replaceChild(i.controlEl,o):t.insertBefore(i.controlEl,t.firstChild))},A.prototype.setDisplayIndex=function(e){this.displayIndex=e},A.prototype.getDisplayIndex=function(){return this.displayIndex},A.prototype.getRows=function(e){var t=this,n=[];return e.forEach(function(e,i){var o,r;n.push(e),e instanceof h&&(e.create(),o=e.modules.dataTree.children,o.index||!1===o.children||(r=t.getChildren(e),r.forEach(function(e){e.create(),n.push(e)})))}),n},A.prototype.getChildren=function(e,t){var n=this,i=e.modules.dataTree,o=[],r=[];return!1!==i.children&&(i.open||t)&&(Array.isArray(i.children)||(i.children=this.generateChildren(e)),o=this.table.modExists("filter")&&this.table.options.dataTreeFilter?this.table.modules.filter.filter(i.children):i.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(o),o.forEach(function(e){r.push(e);var t=n.getChildren(e);t.forEach(function(e){r.push(e)})})),r},A.prototype.generateChildren=function(e){var t=this,n=[],i=e.getData()[this.field];return Array.isArray(i)||(i=[i]),i.forEach(function(i){var o=new h(i||{},t.table.rowManager);o.create(),o.modules.dataTree.index=e.modules.dataTree.index+1,o.modules.dataTree.parent=e,o.modules.dataTree.children&&(o.modules.dataTree.open=t.startOpen(o.getComponent(),o.modules.dataTree.index)),n.push(o)}),n},A.prototype.expandRow=function(e,t){var n=e.modules.dataTree;!1!==n.children&&(n.open=!0,e.reinitialize(),this.table.rowManager.refreshActiveData("tree",!1,!0),this.table.options.dataTreeRowExpanded(e.getComponent(),e.modules.dataTree.index))},A.prototype.collapseRow=function(e){var t=e.modules.dataTree;!1!==t.children&&(t.open=!1,e.reinitialize(),this.table.rowManager.refreshActiveData("tree",!1,!0),this.table.options.dataTreeRowCollapsed(e.getComponent(),e.modules.dataTree.index))},A.prototype.toggleRow=function(e){var t=e.modules.dataTree;!1!==t.children&&(t.open?this.collapseRow(e):this.expandRow(e))},A.prototype.getTreeParent=function(e){return!!e.modules.dataTree.parent&&e.modules.dataTree.parent.getComponent()},A.prototype.getFilteredTreeChildren=function(e){var t,n=e.modules.dataTree,i=[];return n.children&&(Array.isArray(n.children)||(n.children=this.generateChildren(e)),t=this.table.modExists("filter")&&this.table.options.dataTreeFilter?this.table.modules.filter.filter(n.children):n.children,t.forEach(function(e){e instanceof h&&i.push(e)})),i},A.prototype.rowDelete=function(e){var t,n=e.modules.dataTree.parent;n&&(t=this.findChildIndex(e,n),!1!==t&&n.data[this.field].splice(t,1),n.data[this.field].length||delete n.data[this.field],this.initializeRow(n),this.layoutRow(n)),this.table.rowManager.refreshActiveData("tree",!1,!0)},A.prototype.addTreeChildRow=function(e,t,n,i){var o=!1;"string"===typeof t&&(t=JSON.parse(t)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),"undefined"!==typeof i&&(o=this.findChildIndex(i,e),!1!==o&&e.data[this.field].splice(n?o:o+1,0,t)),!1===o&&(n?e.data[this.field].unshift(t):e.data[this.field].push(t)),this.initializeRow(e),this.layoutRow(e),this.table.rowManager.refreshActiveData("tree",!1,!0)},A.prototype.findChildIndex=function(e,t){var n=this,i=!1;return"object"==("undefined"===typeof e?"undefined":r(e))?e instanceof h?i=e.data:e instanceof d?i=e._getSelf().data:"undefined"!==typeof HTMLElement&&e instanceof HTMLElement&&t.modules.dataTree&&(i=t.modules.dataTree.children.find(function(t){return t instanceof h&&t.element===e}),i&&(i=i.data)):i="undefined"!=typeof e&&null!==e&&t.data[this.field].find(function(t){return t.data[n.table.options.index]==e}),i&&(Array.isArray(t.data[this.field])&&(i=t.data[this.field].indexOf(i)),-1==i&&(i=!1)),i},A.prototype.getTreeChildren=function(e,t,n){var i=this,o=e.modules.dataTree,r=[];return o.children&&(Array.isArray(o.children)||(o.children=this.generateChildren(e)),o.children.forEach(function(e){e instanceof h&&(r.push(t?e.getComponent():e),n&&(r=r.concat(i.getTreeChildren(e,t,n))))})),r},A.prototype.checkForRestyle=function(e){e.row.cells.indexOf(e)||e.row.reinitialize()},A.prototype.getChildField=function(){return this.field},A.prototype.redrawNeeded=function(e){return!!this.field&&"undefined"!==typeof e[this.field]||!!this.elementField&&"undefined"!==typeof e[this.elementField]},g.prototype.registerModule("dataTree",A);var E=function(e){this.table=e};E.prototype.download=function(e,t,n,i,o){var r=this,s=!1;function a(n,i){o?!0===o?r.triggerDownload(n,i,e,t,!0):o(n):r.triggerDownload(n,i,e,t)}if("function"==typeof e?s=e:r.downloaders[e]?s=r.downloaders[e]:console.warn("Download Error - No such download type found: ",e),s){var c=this.generateExportList(i);s.call(this.table,c,n||{},a)}},E.prototype.generateExportList=function(e){var t=this.table.modules.export.generateExportList(this.table.options.downloadConfig,!1,e||this.table.options.downloadRowRange,"download"),n=this.table.options.groupHeaderDownload;return n&&!Array.isArray(n)&&(n=[n]),t.forEach(function(e){var t;"group"===e.type&&(t=e.columns[0],n&&n[e.indent]&&(t.value=n[e.indent](t.value,e.component._group.getRowCount(),e.component._group.getData(),e.component)))}),t},E.prototype.triggerDownload=function(e,t,n,i,o){var r=document.createElement("a"),s=new Blob([e],{type:t});i=i||"Tabulator."+("function"===typeof n?"txt":n);s=this.table.options.downloadReady.call(this.table,e,s),s&&(o?window.open(window.URL.createObjectURL(s)):navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(s,i):(r.setAttribute("href",window.URL.createObjectURL(s)),r.setAttribute("download",i),r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r)),this.table.options.downloadComplete&&this.table.options.downloadComplete())},E.prototype.commsReceived=function(e,t,n){switch(t){case"intercept":this.download(n.type,"",n.options,n.active,n.intercept);break}},E.prototype.downloaders={csv:function(e,t,n){var i=t&&t.delimiter?t.delimiter:",",o=[],s=[];e.forEach(function(e){var t=[];switch(e.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":e.columns.forEach(function(e,t){e&&1===e.depth&&(s[t]="undefined"==typeof e.value||null===e.value?"":'"'+String(e.value).split('"').join('""')+'"')});break;case"row":e.columns.forEach(function(e){if(e){switch(r(e.value)){case"object":e.value=JSON.stringify(e.value);break;case"undefined":case"null":e.value="";break}t.push('"'+String(e.value).split('"').join('""')+'"')}}),o.push(t.join(i));break}}),s.length&&o.unshift(s.join(i)),o=o.join("\n"),t.bom&&(o="\ufeff"+o),n(o,"text/csv")},json:function(e,t,n){var i=[];e.forEach(function(e){var t={};switch(e.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":e.columns.forEach(function(e){e&&(t[e.component.getField()]=e.value)}),i.push(t);break}}),i=JSON.stringify(i,null,"\t"),n(i,"application/json")},pdf:function(e,t,n){var i=[],o=[],s={},a=t.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},c=t.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},l=t.jsPDF||{},u=t&&t.title?t.title:"";function d(e,t){var n=[];return e.columns.forEach(function(e){var i;if(e){switch(r(e.value)){case"object":e.value=JSON.stringify(e.value);break;case"undefined":case"null":e.value="";break}i={content:e.value,colSpan:e.width,rowSpan:e.height},t&&(i.styles=t),n.push(i)}else n.push("")}),n}l.orientation||(l.orientation=t.orientation||"landscape"),l.unit||(l.unit="pt"),e.forEach(function(e){switch(e.type){case"header":i.push(d(e));break;case"group":o.push(d(e,a));break;case"calc":o.push(d(e,c));break;case"row":o.push(d(e));break}});var h=new jsPDF(l);t&&t.autoTable&&(s="function"===typeof t.autoTable?t.autoTable(h)||{}:t.autoTable),u&&(s.addPageContent=function(e){h.text(u,40,30)}),s.head=i,s.body=o,h.autoTable(s),t&&t.documentProcessing&&t.documentProcessing(h),n(h.output("arraybuffer"),"application/pdf")},xlsx:function(e,t,n){var i,o=this,s=t.sheetName||"Sheet1",a=XLSX.utils.book_new();function c(){var t=[],n=[],i={},o={s:{c:0,r:0},e:{c:e[0]?e[0].columns.reduce(function(e,t){return e+(t&&t.width?t.width:1)},0):0,r:e.length}};return e.forEach(function(e,i){var o=[];e.columns.forEach(function(e,t){e?(o.push(e.value instanceof Date||"object"!==r(e.value)?e.value:JSON.stringify(e.value)),(e.width>1||e.height>-1)&&n.push({s:{r:i,c:t},e:{r:i+e.height-1,c:t+e.width-1}})):o.push("")}),t.push(o)}),XLSX.utils.sheet_add_aoa(i,t),i["!ref"]=XLSX.utils.encode_range(o),n.length&&(i["!merges"]=n),i}if(a.SheetNames=[],a.Sheets={},t.sheetOnly)n(c());else{if(t.sheets)for(var l in t.sheets)!0===t.sheets[l]?(a.SheetNames.push(l),a.Sheets[l]=c()):(a.SheetNames.push(l),this.modules.comms.send(t.sheets[l],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:o.active,intercept:function(e){a.Sheets[l]=e}}));else a.SheetNames.push(s),a.Sheets[s]=c();t.documentProcessing&&(a=t.documentProcessing(a)),i=XLSX.write(a,{bookType:"xlsx",bookSST:!0,type:"binary"}),n(u(i),"application/octet-stream")}function u(e){for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),i=0;i!=e.length;++i)n[i]=255&e.charCodeAt(i);return t}},html:function(e,t,n){this.modExists("export",!0)&&n(this.modules.export.genereateHTMLTable(e),"text/html")}},g.prototype.registerModule("download",E);var O=function(e){this.table=e,this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1,this.editedCells=[]};O.prototype.initializeColumn=function(e){var t=this,n={editor:!1,blocked:!1,check:e.definition.editable,params:e.definition.editorParams||{}};switch(r(e.definition.editor)){case"string":"tick"===e.definition.editor&&(e.definition.editor="tickCross",console.warn("DEPRECATION WARNING - the tick editor has been deprecated, please use the tickCross editor")),t.editors[e.definition.editor]?n.editor=t.editors[e.definition.editor]:console.warn("Editor Error - No such editor found: ",e.definition.editor);break;case"function":n.editor=e.definition.editor;break;case"boolean":!0===e.definition.editor&&("function"!==typeof e.definition.formatter?("tick"===e.definition.formatter&&(e.definition.formatter="tickCross",console.warn("DEPRECATION WARNING - the tick editor has been deprecated, please use the tickCross editor")),t.editors[e.definition.formatter]?n.editor=t.editors[e.definition.formatter]:n.editor=t.editors["input"]):console.warn("Editor Error - Cannot auto lookup editor for a custom formatter: ",e.definition.formatter));break}n.editor&&(e.modules.edit=n)},O.prototype.getCurrentCell=function(){return!!this.currentCell&&this.currentCell.getComponent()},O.prototype.clearEditor=function(e){var t,n=this.currentCell;if(this.invalidEdit=!1,n){this.currentCell=!1,t=n.getElement(),e?n.validate():t.classList.remove("tabulator-validation-fail"),t.classList.remove("tabulator-editing");while(t.firstChild)t.removeChild(t.firstChild);n.row.getElement().classList.remove("tabulator-row-editing")}},O.prototype.cancelEdit=function(){if(this.currentCell){var e=this.currentCell,t=this.currentCell.getComponent();this.clearEditor(!0),e.setValueActual(e.getValue()),e.cellRendered(),("textarea"==e.column.definition.editor||e.column.definition.variableHeight)&&e.row.normalizeHeight(!0),e.column.cellEvents.cellEditCancelled&&e.column.cellEvents.cellEditCancelled.call(this.table,t),this.table.options.cellEditCancelled.call(this.table,t)}},O.prototype.bindEditor=function(e){var t=this,n=e.getElement(!0);n.setAttribute("tabindex",0),n.addEventListener("click",function(e){n.classList.contains("tabulator-editing")||n.focus({preventScroll:!0})}),n.addEventListener("mousedown",function(e){2===e.button?e.preventDefault():t.mouseClick=!0}),n.addEventListener("focus",function(n){t.recursionBlock||t.edit(e,n,!1)})},O.prototype.focusCellNoEvent=function(e,t){this.recursionBlock=!0,t&&"ie"===this.table.browser||e.getElement().focus({preventScroll:!0}),this.recursionBlock=!1},O.prototype.editCell=function(e,t){this.focusCellNoEvent(e),this.edit(e,!1,t)},O.prototype.focusScrollAdjust=function(e){if("virtual"==this.table.rowManager.getRenderMode()){var t=this.table.rowManager.element.scrollTop,n=this.table.rowManager.element.clientHeight+this.table.rowManager.element.scrollTop,i=e.row.getElement();i.offsetTop;i.offsetTopn&&(this.table.rowManager.element.scrollTop+=i.offsetTop+i.offsetHeight-n);var o=this.table.rowManager.element.scrollLeft,r=this.table.rowManager.element.clientWidth+this.table.rowManager.element.scrollLeft,s=e.getElement();s.offsetLeft;this.table.modExists("frozenColumns")&&(o+=parseInt(this.table.modules.frozenColumns.leftMargin),r-=parseInt(this.table.modules.frozenColumns.rightMargin)),this.table.options.virtualDomHoz&&(o-=parseInt(this.table.vdomHoz.vDomPadLeft),r-=parseInt(this.table.vdomHoz.vDomPadLeft)),s.offsetLeftr&&(this.table.rowManager.element.scrollLeft+=s.offsetLeft+s.offsetWidth-r)}},O.prototype.edit=function(e,t,n){var i,o,s,a=this,c=!0,l=function(){},u=e.getElement();if(!this.currentCell){if(e.column.modules.edit.blocked)return this.mouseClick=!1,u.blur(),!1;switch(t&&t.stopPropagation(),r(e.column.modules.edit.check)){case"function":c=e.column.modules.edit.check(e.getComponent());break;case"boolean":c=e.column.modules.edit.check;break}if(c||n){if(a.cancelEdit(),a.currentCell=e,this.focusScrollAdjust(e),o=e.getComponent(),this.mouseClick&&(this.mouseClick=!1,e.column.cellEvents.cellClick&&e.column.cellEvents.cellClick.call(this.table,t,o)),e.column.cellEvents.cellEditing&&e.column.cellEvents.cellEditing.call(this.table,o),a.table.options.cellEditing.call(this.table,o),s="function"===typeof e.column.modules.edit.params?e.column.modules.edit.params(o):e.column.modules.edit.params,i=e.column.modules.edit.editor.call(a,o,m,p,f,s),!1===i)return u.blur(),!1;if(!(i instanceof Node))return console.warn("Edit Error - Editor should return an instance of Node, the editor returned:",i),u.blur(),!1;u.classList.add("tabulator-editing"),e.row.getElement().classList.add("tabulator-row-editing");while(u.firstChild)u.removeChild(u.firstChild);u.appendChild(i),l();for(var d=u.children,h=0;h46){if(s>=n.length)return t.preventDefault(),t.stopPropagation(),!1,!1;switch(n[s]){case i:if(a.toUpperCase()==a.toLowerCase())return t.preventDefault(),t.stopPropagation(),!1,!1;break;case o:if(isNaN(a))return t.preventDefault(),t.stopPropagation(),!1,!1;break;case r:break;default:if(a!==n[s])return t.preventDefault(),t.stopPropagation(),!1,!1}!0}}),e.addEventListener("keyup",function(n){n.keyCode>46&&t.maskAutoFill&&s(e.value.length)}),e.placeholder||(e.placeholder=n),t.maskAutoFill&&s(e.value.length)},O.prototype.getEditedCells=function(){var e=[];return this.editedCells.forEach(function(t){e.push(t.getComponent())}),e},O.prototype.clearEdited=function(e){var t;e.modules.edit&&e.modules.edit.edited&&(e.modules.edit.edited=!1,e.modules.validate&&(e.modules.validate.invalid=!1)),t=this.editedCells.indexOf(e),t>-1&&this.editedCells.splice(t,1)},O.prototype.editors={input:function(e,t,n,i,o){var s=e.getValue(),a=document.createElement("input");if(a.setAttribute("type",o.search?"search":"text"),a.style.padding="4px",a.style.width="100%",a.style.boxSizing="border-box",o.elementAttributes&&"object"==r(o.elementAttributes))for(var c in o.elementAttributes)"+"==c.charAt(0)?(c=c.slice(1),a.setAttribute(c,a.getAttribute(c)+o.elementAttributes["+"+c])):a.setAttribute(c,o.elementAttributes[c]);function l(e){(null===s||"undefined"===typeof s)&&""!==a.value||a.value!==s?n(a.value)&&(s=a.value):i()}return a.value="undefined"!==typeof s?s:"",t(function(){a.focus({preventScroll:!0}),a.style.height="100%"}),a.addEventListener("change",l),a.addEventListener("blur",l),a.addEventListener("keydown",function(e){switch(e.keyCode){case 13:l(e);break;case 27:i();break;case 35:case 36:e.stopPropagation();break}}),o.mask&&this.table.modules.edit.maskInput(a,o),a},textarea:function(e,t,n,i,o){var s=e.getValue(),a=o.verticalNavigation||"hybrid",c=String(null!==s&&"undefined"!==typeof s?s:""),l=((c.match(/(?:\r\n|\r|\n)/g)||[]).length,document.createElement("textarea")),u=0;if(l.style.display="block",l.style.padding="2px",l.style.height="100%",l.style.width="100%",l.style.boxSizing="border-box",l.style.whiteSpace="pre-wrap",l.style.resize="none",o.elementAttributes&&"object"==r(o.elementAttributes))for(var d in o.elementAttributes)"+"==d.charAt(0)?(d=d.slice(1),l.setAttribute(d,l.getAttribute(d)+o.elementAttributes["+"+d])):l.setAttribute(d,o.elementAttributes[d]);function h(t){(null===s||"undefined"===typeof s)&&""!==l.value||l.value!==s?(n(l.value)&&(s=l.value),setTimeout(function(){e.getRow().normalizeHeight()},300)):i()}return l.value=c,t(function(){l.focus({preventScroll:!0}),l.style.height="100%",l.scrollHeight,l.style.height=l.scrollHeight+"px",e.getRow().normalizeHeight()}),l.addEventListener("change",h),l.addEventListener("blur",h),l.addEventListener("keyup",function(){l.style.height="";var t=l.scrollHeight;l.style.height=t+"px",t!=u&&(u=t,e.getRow().normalizeHeight())}),l.addEventListener("keydown",function(e){switch(e.keyCode){case 27:i();break;case 38:("editor"==a||"hybrid"==a&&l.selectionStart)&&(e.stopImmediatePropagation(),e.stopPropagation());break;case 40:("editor"==a||"hybrid"==a&&l.selectionStart!==l.value.length)&&(e.stopImmediatePropagation(),e.stopPropagation());break;case 35:case 36:e.stopPropagation();break}}),o.mask&&this.table.modules.edit.maskInput(l,o),l},number:function(e,t,n,i,o){var s=e.getValue(),a=o.verticalNavigation||"editor",c=document.createElement("input");if(c.setAttribute("type","number"),"undefined"!=typeof o.max&&c.setAttribute("max",o.max),"undefined"!=typeof o.min&&c.setAttribute("min",o.min),"undefined"!=typeof o.step&&c.setAttribute("step",o.step),c.style.padding="4px",c.style.width="100%",c.style.boxSizing="border-box",o.elementAttributes&&"object"==r(o.elementAttributes))for(var l in o.elementAttributes)"+"==l.charAt(0)?(l=l.slice(1),c.setAttribute(l,c.getAttribute(l)+o.elementAttributes["+"+l])):c.setAttribute(l,o.elementAttributes[l]);c.value=s;var u=function(e){d()};function d(){var e=c.value;isNaN(e)||""===e||(e=Number(e)),e!==s?n(e)&&(s=e):i()}return t(function(){c.removeEventListener("blur",u),c.focus({preventScroll:!0}),c.style.height="100%",c.addEventListener("blur",u)}),c.addEventListener("keydown",function(e){switch(e.keyCode){case 13:d();break;case 27:i();break;case 38:case 40:"editor"==a&&(e.stopImmediatePropagation(),e.stopPropagation());break;case 35:case 36:e.stopPropagation();break}}),o.mask&&this.table.modules.edit.maskInput(c,o),c},range:function(e,t,n,i,o){var s=e.getValue(),a=document.createElement("input");if(a.setAttribute("type","range"),"undefined"!=typeof o.max&&a.setAttribute("max",o.max),"undefined"!=typeof o.min&&a.setAttribute("min",o.min),"undefined"!=typeof o.step&&a.setAttribute("step",o.step),a.style.padding="4px",a.style.width="100%",a.style.boxSizing="border-box",o.elementAttributes&&"object"==r(o.elementAttributes))for(var c in o.elementAttributes)"+"==c.charAt(0)?(c=c.slice(1),a.setAttribute(c,a.getAttribute(c)+o.elementAttributes["+"+c])):a.setAttribute(c,o.elementAttributes[c]);function l(){var e=a.value;isNaN(e)||""===e||(e=Number(e)),e!=s?n(e)&&(s=e):i()}return a.value=s,t(function(){a.focus({preventScroll:!0}),a.style.height="100%"}),a.addEventListener("blur",function(e){l()}),a.addEventListener("keydown",function(e){switch(e.keyCode){case 13:l();break;case 27:i();break}}),a},select:function(e,t,n,i,o){var s=this,a=this,c=e.getElement(),l=e.getValue(),u=o.verticalNavigation||"editor",d="undefined"!==typeof l||null===l?Array.isArray(l)?l:[l]:"undefined"!==typeof o.defaultValue?o.defaultValue:[],h=document.createElement("input"),p=document.createElement("div"),f=o.multiselect,m=[],v={},b=[],y=[],_=!0,M=!1,w="",C=null;function S(t){var n,i={},o=a.table.getData();return n=t?a.table.columnManager.getColumnByField(t):e.getColumn()._getSelf(),n?o.forEach(function(e){var t=n.getFieldValue(e);null!==t&&"undefined"!==typeof t&&""!==t&&(i[t]=!0)}):console.warn("unable to find matching column to create select lookup list:",t),Object.keys(i)}function A(t,n){var i=[],s=[];function a(e){e={label:e.label,value:e.value,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1};return n.indexOf(e.value)>-1&&L(e),i.push(e),s.push(e),e}if("function"==typeof t&&(t=t(e)),Array.isArray(t))t.forEach(function(e){var t;"object"===("undefined"===typeof e?"undefined":r(e))?e.options?(t={label:e.label,group:!0,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1},s.push(t),e.options.forEach(function(e){a(e)})):a(e):(t={label:e,value:e,element:!1},n.indexOf(t.value)>-1&&L(t),i.push(t),s.push(t))});else for(var c in t){var l={label:t[c],value:c,element:!1};n.indexOf(l.value)>-1&&L(l),i.push(l),s.push(l)}o.sortValuesList&&(i.sort(function(e,t){return e.labelt.label?1:0}),s.sort(function(e,t){return e.labelt.label?1:0}),"asc"!==o.sortValuesList&&(i.reverse(),s.reverse())),m=i,b=s,E()}function E(){while(p.firstChild)p.removeChild(p.firstChild);b.forEach(function(t){var n=t.element;if(!n){if(n=document.createElement("div"),t.label=o.listItemFormatter?o.listItemFormatter(t.value,t.label,e,n,t.itemParams):t.label,t.group?(n.classList.add("tabulator-edit-select-list-group"),n.tabIndex=0,n.innerHTML=""===t.label?" ":t.label):(n.classList.add("tabulator-edit-select-list-item"),n.tabIndex=0,n.innerHTML=""===t.label?" ":t.label,n.addEventListener("click",function(){M=!0,setTimeout(function(){M=!1},10),f?(x(t),h.focus()):R(t)}),y.indexOf(t)>-1&&n.classList.add("active")),t.elementAttributes&&"object"==r(t.elementAttributes))for(var i in t.elementAttributes)"+"==i.charAt(0)?(i=i.slice(1),n.setAttribute(i,h.getAttribute(i)+t.elementAttributes["+"+i])):n.setAttribute(i,t.elementAttributes[i]);n.addEventListener("mousedown",function(){_=!1,setTimeout(function(){_=!0},10)}),t.element=n}p.appendChild(n)})}function O(e,t){!f&&v&&v.element&&v.element.classList.remove("active"),v&&v.element&&v.element.classList.remove("focused"),v=e,e.element&&(e.element.classList.add("focused"),t&&e.element.classList.add("active")),e&&e.element&&e.element.scrollIntoView&&e.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}function L(e){var t=y.indexOf(e);-1==t&&(y.push(e),O(e,!0)),z()}function T(e){var t=y[e];e>-1&&(y.splice(e,1),t.element&&t.element.classList.remove("active"))}function x(e){e||(e=v);var t=y.indexOf(e);t>-1?T(t):(!0!==f&&y.length>=f&&T(0),L(e)),z()}function R(e){D(),e||(e=v),e&&(h.value=e.label,n(e.value)),d=[e.value]}function k(e){e||D();var t=[];y.forEach(function(e){t.push(e.value)}),d=t,n(t)}function z(){var e=[];y.forEach(function(t){e.push(t.label)}),h.value=e.join(", "),!1===a.currentCell&&k(!0)}function P(){for(var e=y.length,t=0;t0&&O(m[t-1],!f));break;case 40:t=m.indexOf(v),("editor"==u||"hybrid"==u&&t=38&&e.keyCode<=90&&q(e.keyCode)}}),h.addEventListener("blur",function(e){_&&(f?k():N())}),h.addEventListener("focus",function(e){M||I()}),p=document.createElement("div"),p.classList.add("tabulator-edit-select-list"),t(function(){h.style.height="100%",h.focus({preventScroll:!0})}),setTimeout(function(){s.table.rowManager.element.addEventListener("scroll",N)},10),h},autocomplete:function(e,t,n,i,o){var s=this,a=this,c=e.getElement(),l=e.getValue(),u=o.verticalNavigation||"editor",d="undefined"!==typeof l||null===l?l:"undefined"!==typeof o.defaultValue?o.defaultValue:"",h=document.createElement("input"),p=document.createElement("div"),f=[],m=!1,v=!0,b=!1;if(h.setAttribute("type","search"),h.style.padding="4px",h.style.width="100%",h.style.boxSizing="border-box",o.elementAttributes&&"object"==r(o.elementAttributes))for(var y in o.elementAttributes)"+"==y.charAt(0)?(y=y.slice(1),h.setAttribute(y,h.getAttribute(y)+o.elementAttributes["+"+y])):h.setAttribute(y,o.elementAttributes[y]);function _(){!0===o.values?b=M():"string"===typeof o.values&&(b=M(o.values))}function M(t){var n,i={},r=a.table.getData();return n=t?a.table.columnManager.getColumnByField(t):e.getColumn()._getSelf(),n?(r.forEach(function(e){var t=n.getFieldValue(e);null!==t&&"undefined"!==typeof t&&""!==t&&(i[t]=!0)}),i=o.sortValuesList?"asc"==o.sortValuesList?Object.keys(i).sort():Object.keys(i).sort().reverse():Object.keys(i)):console.warn("unable to find matching column to create autocomplete lookup list:",t),i}function w(e,t){var n,i,r=[];n=b||(o.values||[]),o.searchFunc?(r=o.searchFunc(e,n),r instanceof Promise?(C("undefined"!==typeof o.searchingPlaceholder?o.searchingPlaceholder:"Searching..."),r.then(function(e){E(S(e),t)}).catch(function(e){console.err("error in autocomplete search promise:",e)})):E(S(r),t)):(i=S(n),""===e?o.showListOnEmpty&&(r=i):i.forEach(function(t){null===t.value&&"undefined"===typeof t.value||(String(t.value).toLowerCase().indexOf(String(e).toLowerCase())>-1||String(t.title).toLowerCase().indexOf(String(e).toLowerCase())>-1)&&r.push(t)}),E(r,t))}function C(e){var t=document.createElement("div");A(),!1!==e&&(t.classList.add("tabulator-edit-select-list-notice"),t.tabIndex=0,e instanceof Node?t.appendChild(e):t.innerHTML=e,p.appendChild(t))}function S(e){var t=[];if(Array.isArray(e))e.forEach(function(e){var n={};"object"===("undefined"===typeof e?"undefined":r(e))?(n.title=o.listItemFormatter?o.listItemFormatter(e.value,e.label):e.label,n.value=e.value):(n.title=o.listItemFormatter?o.listItemFormatter(e,e):e,n.value=e),t.push(n)});else for(var n in e){var i={title:o.listItemFormatter?o.listItemFormatter(n,e[n]):e[n],value:n};t.push(i)}return t}function A(){while(p.firstChild)p.removeChild(p.firstChild)}function E(e,t){e.length?O(e,t):o.emptyPlaceholder&&C(o.emptyPlaceholder)}function O(e,t){var n=!1;A(),f=e,f.forEach(function(e){var i=e.element;i||(i=document.createElement("div"),i.classList.add("tabulator-edit-select-list-item"),i.tabIndex=0,i.innerHTML=e.title,i.addEventListener("click",function(t){x(e),L()}),i.addEventListener("mousedown",function(e){v=!1,setTimeout(function(){v=!0},10)}),e.element=i,t&&e.value==l&&(h.value=e.title,e.element.classList.add("active"),n=!0),e===m&&(e.element.classList.add("active"),n=!0)),p.appendChild(i)}),n||x(!1)}function L(){R(),m?l!==m.value?(l=m.value,h.value=m.title,n(m.value)):i():o.freetext?(l=h.value,n(h.value)):o.allowEmpty&&""===h.value?(l=h.value,n(h.value)):i()}function T(){if(!p.parentNode){console.log("show",d);while(p.firstChild)p.removeChild(p.firstChild);var e=g.prototype.helpers.elOffset(c);p.style.minWidth=c.offsetWidth+"px",p.style.top=e.top+c.offsetHeight+"px",p.style.left=e.left+"px",document.body.appendChild(p)}}function x(e,t){m&&m.element&&m.element.classList.remove("active"),m=e,e&&e.element&&e.element.classList.add("active"),e&&e.element&&e.element.scrollIntoView&&e.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}function R(){p.parentNode&&p.parentNode.removeChild(p),z()}function k(){R(),i()}function z(){a.table.rowManager.element.removeEventListener("scroll",k)}return p.classList.add("tabulator-edit-select-list"),p.addEventListener("mousedown",function(e){v=!1,setTimeout(function(){v=!0},10)}),h.addEventListener("keydown",function(e){var t;switch(e.keyCode){case 38:t=f.indexOf(m),("editor"==u||"hybrid"==u&&t)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),x(t>0&&f[t-1]));break;case 40:t=f.indexOf(m),("editor"==u||"hybrid"==u&&t'):("ie"==s.table.browser?t.setAttribute("class","tabulator-star-inactive"):t.classList.replace("tabulator-star-active","tabulator-star-inactive"),t.innerHTML='')})}function m(e){var t=document.createElement("span"),i=p.cloneNode(!0);d.push(i),t.addEventListener("mouseenter",function(t){t.stopPropagation(),t.stopImmediatePropagation(),f(e)}),t.addEventListener("mousemove",function(e){e.stopPropagation(),e.stopImmediatePropagation()}),t.addEventListener("click",function(t){t.stopPropagation(),t.stopImmediatePropagation(),n(e),a.blur()}),t.appendChild(i),h.appendChild(t)}function g(e){c=e,f(e)}if(a.style.whiteSpace="nowrap",a.style.overflow="hidden",a.style.textOverflow="ellipsis",h.style.verticalAlign="middle",h.style.display="inline-block",h.style.padding="4px",p.setAttribute("width",u),p.setAttribute("height",u),p.setAttribute("viewBox","0 0 512 512"),p.setAttribute("xml:space","preserve"),p.style.padding="0 1px",o.elementAttributes&&"object"==r(o.elementAttributes))for(var v in o.elementAttributes)"+"==v.charAt(0)?(v=v.slice(1),h.setAttribute(v,h.getAttribute(v)+o.elementAttributes["+"+v])):h.setAttribute(v,o.elementAttributes[v]);for(var b=1;b<=l;b++)m(b);return c=Math.min(parseInt(c),l),f(c),h.addEventListener("mousemove",function(e){f(0)}),h.addEventListener("click",function(e){n(0)}),a.addEventListener("blur",function(e){i()}),a.addEventListener("keydown",function(e){switch(e.keyCode){case 39:g(c+1);break;case 37:g(c-1);break;case 13:n(c);break;case 27:i();break}}),h},progress:function(e,t,n,i,o){var s,a,c=e.getElement(),l="undefined"===typeof o.max?c.getElementsByTagName("div")[0].getAttribute("max")||100:o.max,u="undefined"===typeof o.min?c.getElementsByTagName("div")[0].getAttribute("min")||0:o.min,d=(l-u)/100,h=e.getValue()||0,p=document.createElement("div"),f=document.createElement("div");function m(){var e=window.getComputedStyle(c,null),t=d*Math.round(f.offsetWidth/((c.clientWidth-parseInt(e.getPropertyValue("padding-left"))-parseInt(e.getPropertyValue("padding-right")))/100))+u;n(t),c.setAttribute("aria-valuenow",t),c.setAttribute("aria-label",h)}if(p.style.position="absolute",p.style.right="0",p.style.top="0",p.style.bottom="0",p.style.width="5px",p.classList.add("tabulator-progress-handle"),f.style.display="inline-block",f.style.position="relative",f.style.height="100%",f.style.backgroundColor="#488CE9",f.style.maxWidth="100%",f.style.minWidth="0%",o.elementAttributes&&"object"==r(o.elementAttributes))for(var g in o.elementAttributes)"+"==g.charAt(0)?(g=g.slice(1),f.setAttribute(g,f.getAttribute(g)+o.elementAttributes["+"+g])):f.setAttribute(g,o.elementAttributes[g]);return c.style.padding="4px 4px",h=Math.min(parseFloat(h),l),h=Math.max(parseFloat(h),u),h=Math.round((h-u)/d),f.style.width=h+"%",c.setAttribute("aria-valuemin",u),c.setAttribute("aria-valuemax",l),f.appendChild(p),p.addEventListener("mousedown",function(e){s=e.screenX,a=f.offsetWidth}),p.addEventListener("mouseover",function(){p.style.cursor="ew-resize"}),c.addEventListener("mousemove",function(e){s&&(f.style.width=a+e.screenX-s+"px")}),c.addEventListener("mouseup",function(e){s&&(e.stopPropagation(),e.stopImmediatePropagation(),s=!1,a=!1,m())}),c.addEventListener("keydown",function(e){switch(e.keyCode){case 39:e.preventDefault(),f.style.width=f.clientWidth+c.clientWidth/100+"px";break;case 37:e.preventDefault(),f.style.width=f.clientWidth-c.clientWidth/100+"px";break;case 9:case 13:m();break;case 27:i();break}}),c.addEventListener("blur",function(){i()}),f},tickCross:function(e,t,n,i,o){var s=e.getValue(),a=document.createElement("input"),c=o.tristate,l="undefined"===typeof o.indeterminateValue?null:o.indeterminateValue,u=!1;if(a.setAttribute("type","checkbox"),a.style.marginTop="5px",a.style.boxSizing="border-box",o.elementAttributes&&"object"==r(o.elementAttributes))for(var d in o.elementAttributes)"+"==d.charAt(0)?(d=d.slice(1),a.setAttribute(d,a.getAttribute(d)+o.elementAttributes["+"+d])):a.setAttribute(d,o.elementAttributes[d]);function h(e){return c?e?u?l:a.checked:a.checked&&!u?(a.checked=!1,a.indeterminate=!0,u=!0,l):(u=!1,a.checked):a.checked}return a.value=s,!c||"undefined"!==typeof s&&s!==l&&""!==s||(u=!0,a.indeterminate=!0),"firefox"!=this.table.browser&&t(function(){a.focus({preventScroll:!0})}),a.checked=!0===s||"true"===s||"True"===s||1===s,t(function(){a.focus()}),a.addEventListener("change",function(e){n(h())}),a.addEventListener("blur",function(e){n(h(!0))}),a.addEventListener("keydown",function(e){13==e.keyCode&&n(h()),27==e.keyCode&&i()}),a}},g.prototype.registerModule("edit",O);var L=function(e,t,n,i){this.type=e,this.columns=t,this.component=n||!1,this.indent=i||0},T=function(e,t,n,i,o){this.value=e,this.component=t||!1,this.width=n,this.height=i,this.depth=o},x=function(e){this.table=e,this.config={},this.cloneTableStyle=!0,this.colVisProp=""};x.prototype.generateExportList=function(e,t,n,i){this.cloneTableStyle=t,this.config=e||{},this.colVisProp=i;var o=!1!==this.config.columnHeaders?this.headersToExportRows(this.generateColumnGroupHeaders()):[],r=this.bodyToExportRows(this.rowLookup(n));return o.concat(r)},x.prototype.genereateTable=function(e,t,n,i){var o=this.generateExportList(e,t,n,i);return this.genereateTableElement(o)},x.prototype.rowLookup=function(e){var t=this,n=[];if("function"==typeof e)e.call(this.table).forEach(function(e){e=t.table.rowManager.findRow(e),e&&n.push(e)});else switch(e){case!0:case"visible":n=this.table.rowManager.getVisibleRows(!0);break;case"all":n=this.table.rowManager.rows;break;case"selected":n=this.table.modules.selectRow.selectedRows;break;case"active":default:n=this.table.options.pagination?this.table.rowManager.getDisplayRows(this.table.rowManager.displayRows.length-2):this.table.rowManager.getDisplayRows()}return Object.assign([],n)},x.prototype.generateColumnGroupHeaders=function(){var e=this,t=[],n=!1!==this.config.columnGroups?this.table.columnManager.columns:this.table.columnManager.columnsByIndex;return n.forEach(function(n){var i=e.processColumnGroup(n);i&&t.push(i)}),t},x.prototype.processColumnGroup=function(e){var t=this,n=e.columns,i=0,o=e.definition["title"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))]||e.definition.title,r={title:o,column:e,depth:1};if(n.length){if(r.subGroups=[],r.width=0,n.forEach(function(e){var n=t.processColumnGroup(e);n&&(r.width+=n.width,r.subGroups.push(n),n.depth>i&&(i=n.depth))}),r.depth+=i,!r.width)return!1}else{if(!this.columnVisCheck(e))return!1;r.width=1}return r},x.prototype.columnVisCheck=function(e){return!1!==e.definition[this.colVisProp]&&(e.visible||!e.visible&&e.definition[this.colVisProp])},x.prototype.headersToExportRows=function(e){var t=[],n=0,i=[];function o(e,i){var r=n-i;if("undefined"===typeof t[i]&&(t[i]=[]),e.height=e.subGroups?1:r-e.depth+1,t[i].push(e),e.height>1)for(var s=1;s1)for(var a=1;an&&(n=e.depth)}),e.forEach(function(e){o(e,0)}),t.forEach(function(e){var t=[];e.forEach(function(e){e?t.push(new T(e.title,e.column.getComponent(),e.width,e.height,e.depth)):t.push(null)}),i.push(new L("header",t))}),i},x.prototype.bodyToExportRows=function(e){var t=this,n=[],i=[];return this.table.columnManager.columnsByIndex.forEach(function(e){t.columnVisCheck(e)&&n.push(e.getComponent())}),!1!==this.config.columnCalcs&&this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&e.unshift(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&e.push(this.table.modules.columnCalcs.botRow)),e=e.filter(function(e){switch(e.type){case"group":return!1!==t.config.rowGroups;case"calc":return!1!==t.config.columnCalcs;case"row":return!(t.table.options.dataTree&&!1===t.config.dataTree&&e.modules.dataTree.parent)}return!0}),e.forEach(function(e,o){var r=e.getData(t.colVisProp),s=[],a=0;switch(e.type){case"group":a=e.level,s.push(new T(e.key,e.getComponent(),n.length,1));break;case"calc":case"row":n.forEach(function(e){s.push(new T(e._column.getFieldValue(r),e,1,1))}),t.table.options.dataTree&&!1!==t.config.dataTree&&(a=e.modules.dataTree.index);break}i.push(new L(e.type,s,e.getComponent(),a))}),i},x.prototype.genereateTableElement=function(e){var t=this,n=document.createElement("table"),i=document.createElement("thead"),o=document.createElement("tbody"),r=this.lookupTableStyles(),s=this.table.options["rowFormatter"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],a={};return a.rowFormatter=null!==s?s:this.table.options.rowFormatter,this.table.options.dataTree&&!1!==this.config.dataTree&&this.table.modExists("columnCalcs")&&(a.treeElementField=this.table.modules.dataTree.elementField),a.groupHeader=this.table.options["groupHeader"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],a.groupHeader&&!Array.isArray(a.groupHeader)&&(a.groupHeader=[a.groupHeader]),n.classList.add("tabulator-print-table"),this.mapElementStyles(this.table.columnManager.getHeadersElement(),i,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),e.length>1e3&&console.warn("It may take a long time to render an HTML table with more than 1000 rows"),e.forEach(function(e,n){switch(e.type){case"header":i.appendChild(t.genereateHeaderElement(e,a,r));break;case"group":o.appendChild(t.genereateGroupElement(e,a,r));break;case"calc":o.appendChild(t.genereateCalcElement(e,a,r));break;case"row":var s=t.genereateRowElement(e,a,r);t.mapElementStyles(n%2&&r.evenRow?r.evenRow:r.oddRow,s,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),o.appendChild(s);break}}),i.innerHTML&&n.appendChild(i),n.appendChild(o),this.mapElementStyles(this.table.element,n,["border-top","border-left","border-right","border-bottom"]),n},x.prototype.lookupTableStyles=function(){var e={};return this.cloneTableStyle&&window.getComputedStyle&&(e.oddRow=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),e.evenRow=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),e.calcRow=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),e.firstRow=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),e.firstGroup=this.table.element.getElementsByClassName("tabulator-group")[0],e.firstRow&&(e.styleCells=e.firstRow.getElementsByClassName("tabulator-cell"),e.firstCell=e.styleCells[0],e.lastCell=e.styleCells[e.styleCells.length-1])),e},x.prototype.genereateHeaderElement=function(e,t,n){var i=this,o=document.createElement("tr");return e.columns.forEach(function(e){if(e){var t=document.createElement("th"),n=e.component._column.definition.cssClass?e.component._column.definition.cssClass.split(" "):[];t.colSpan=e.width,t.rowSpan=e.height,t.innerHTML=e.value,i.cloneTableStyle&&(t.style.boxSizing="border-box"),n.forEach(function(e){t.classList.add(e)}),i.mapElementStyles(e.component.getElement(),t,["text-align","border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),i.mapElementStyles(e.component._column.contentElement,t,["padding-top","padding-left","padding-right","padding-bottom"]),e.component._column.visible?i.mapElementStyles(e.component.getElement(),t,["width"]):e.component._column.definition.width&&(t.style.width=e.component._column.definition.width+"px"),e.component._column.parent&&i.mapElementStyles(e.component._column.parent.groupElement,t,["border-top"]),o.appendChild(t)}}),o},x.prototype.genereateGroupElement=function(e,t,n){var i=document.createElement("tr"),o=document.createElement("td"),r=e.columns[0];return i.classList.add("tabulator-print-table-row"),t.groupHeader&&t.groupHeader[e.indent]?r.value=t.groupHeader[e.indent](r.value,e.component._group.getRowCount(),e.component._group.getData(),e.component):!1===t.groupHeader?r.value=r.value:r.value=e.component._group.generator(r.value,e.component._group.getRowCount(),e.component._group.getData(),e.component),o.colSpan=r.width,o.innerHTML=r.value,i.classList.add("tabulator-print-table-group"),i.classList.add("tabulator-group-level-"+e.indent),r.component.isVisible()&&i.classList.add("tabulator-group-visible"),this.mapElementStyles(n.firstGroup,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),this.mapElementStyles(n.firstGroup,o,["padding-top","padding-left","padding-right","padding-bottom"]),i.appendChild(o),i},x.prototype.genereateCalcElement=function(e,t,n){var i=this.genereateRowElement(e,t,n);return i.classList.add("tabulator-print-table-calcs"),this.mapElementStyles(n.calcRow,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),i},x.prototype.genereateRowElement=function(e,t,n){var o=this,s=document.createElement("tr");return s.classList.add("tabulator-print-table-row"),e.columns.forEach(function(a){if(a){var c=document.createElement("td"),l=a.component._column,u=a.value,d={modules:{},getValue:function(){return u},getField:function(){return l.definition.field},getElement:function(){return c},getColumn:function(){return l.getComponent()},getData:function(){return e.component.getData()},getRow:function(){return e.component},getComponent:function(){return d},column:l},h=l.definition.cssClass?l.definition.cssClass.split(" "):[];if(h.forEach(function(e){c.classList.add(e)}),o.table.modExists("format")&&!1!==o.config.formatCells)u=o.table.modules.format.formatExportValue(d,o.colVisProp);else switch("undefined"===typeof u?"undefined":r(u)){case"object":u=JSON.stringify(u);break;case"undefined":case"null":u="";break;default:u=u}u instanceof Node?c.appendChild(u):c.innerHTML=u,n.firstCell&&(o.mapElementStyles(n.firstCell,c,["padding-top","padding-left","padding-right","padding-bottom","border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size"]),l.definition.align&&(c.style.textAlign=l.definition.align)),o.table.options.dataTree&&!1!==o.config.dataTree&&(t.treeElementField&&t.treeElementField==l.field||!t.treeElementField&&0==i)&&(e.component._row.modules.dataTree.controlEl&&c.insertBefore(e.component._row.modules.dataTree.controlEl.cloneNode(!0),c.firstChild),e.component._row.modules.dataTree.branchEl&&c.insertBefore(e.component._row.modules.dataTree.branchEl.cloneNode(!0),c.firstChild)),s.appendChild(c),d.modules.format&&d.modules.format.renderedCallback&&d.modules.format.renderedCallback(),t.rowFormatter&&!1!==o.config.formatCells&&t.rowFormatter(e.component)}}),s},x.prototype.genereateHTMLTable=function(e){var t=document.createElement("div");return t.appendChild(this.genereateTableElement(e)),t.innerHTML},x.prototype.getHtml=function(e,t,n,i){var o=this.generateExportList(n||this.table.options.htmlOutputConfig,t,e,i||"htmlOutput");return this.genereateHTMLTable(o)},x.prototype.mapElementStyles=function(e,t,n){if(this.cloneTableStyle&&e&&t){var i={"background-color":"backgroundColor",color:"fontColor",width:"width","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","text-align":"textAlign","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom","padding-top":"paddingTop","padding-left":"paddingLeft","padding-right":"paddingRight","padding-bottom":"paddingBottom"};if(window.getComputedStyle){var o=window.getComputedStyle(e);n.forEach(function(e){t.style[i[e]]=o.getPropertyValue(e)})}}},g.prototype.registerModule("export",x);var R=function(e){this.table=e,this.filterList=[],this.headerFilters={},this.headerFilterColumns=[],this.prevHeaderFilterChangeCheck="",this.prevHeaderFilterChangeCheck="{}",this.changed=!1};R.prototype.initializeColumn=function(e,t){var n,i=this,o=e.getField();function s(t){var s,a="input"==e.modules.filter.tagType&&"text"==e.modules.filter.attrType||"textarea"==e.modules.filter.tagType?"partial":"match",c="",l="";if("undefined"===typeof e.modules.filter.prevSuccess||e.modules.filter.prevSuccess!==t){if(e.modules.filter.prevSuccess=t,e.modules.filter.emptyFunc(t))delete i.headerFilters[o];else{switch(e.modules.filter.value=t,r(e.definition.headerFilterFunc)){case"string":i.filters[e.definition.headerFilterFunc]?(c=e.definition.headerFilterFunc,s=function(n){var o=e.definition.headerFilterFuncParams||{},r=e.getFieldValue(n);return o="function"===typeof o?o(t,r,n):o,i.filters[e.definition.headerFilterFunc](t,r,n,o)}):console.warn("Header Filter Error - Matching filter function not found: ",e.definition.headerFilterFunc);break;case"function":s=function(n){var i=e.definition.headerFilterFuncParams||{},o=e.getFieldValue(n);return i="function"===typeof i?i(t,o,n):i,e.definition.headerFilterFunc(t,o,n,i)},c=s;break}if(!s)switch(a){case"partial":s=function(n){var i=e.getFieldValue(n);return"undefined"!==typeof i&&null!==i&&String(i).toLowerCase().indexOf(String(t).toLowerCase())>-1},c="like";break;default:s=function(n){return e.getFieldValue(n)==t},c="="}i.headerFilters[o]={value:t,func:s,type:c,params:n||{}}}l=JSON.stringify(i.headerFilters),i.prevHeaderFilterChangeCheck!==l&&(i.prevHeaderFilterChangeCheck=l,i.changed=!0,i.table.rowManager.filterRefresh())}return!0}e.modules.filter={success:s,attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(e)},R.prototype.generateHeaderFilterElement=function(e,t,n){var i,o,s,a,c,l,u,d=this,h=this,p=e.modules.filter.success,f=e.getField();function m(){}if(e.modules.filter.headerElement&&e.modules.filter.headerElement.parentNode&&e.contentElement.removeChild(e.modules.filter.headerElement.parentNode),f){switch(e.modules.filter.emptyFunc=e.definition.headerFilterEmptyCheck||function(e){return!e&&"0"!==e&&0!==e},i=document.createElement("div"),i.classList.add("tabulator-header-filter"),r(e.definition.headerFilter)){case"string":h.table.modules.edit.editors[e.definition.headerFilter]?(o=h.table.modules.edit.editors[e.definition.headerFilter],"tick"!==e.definition.headerFilter&&"tickCross"!==e.definition.headerFilter||e.definition.headerFilterEmptyCheck||(e.modules.filter.emptyFunc=function(e){return!0!==e&&!1!==e})):console.warn("Filter Error - Cannot build header filter, No such editor found: ",e.definition.editor);break;case"function":o=e.definition.headerFilter;break;case"boolean":e.modules.edit&&e.modules.edit.editor?o=e.modules.edit.editor:e.definition.formatter&&h.table.modules.edit.editors[e.definition.formatter]?(o=h.table.modules.edit.editors[e.definition.formatter],"tick"!==e.definition.formatter&&"tickCross"!==e.definition.formatter||e.definition.headerFilterEmptyCheck||(e.modules.filter.emptyFunc=function(e){return!0!==e&&!1!==e})):o=h.table.modules.edit.editors["input"];break}if(o){if(a={getValue:function(){return"undefined"!==typeof t?t:""},getField:function(){return e.definition.field},getElement:function(){return i},getColumn:function(){return e.getComponent()},getRow:function(){return{normalizeHeight:function(){}}}},u=e.definition.headerFilterParams||{},u="function"===typeof u?u.call(h.table):u,s=o.call(this.table.modules.edit,a,function(){},p,m,u),!s)return void console.warn("Filter Error - Cannot add filter to "+f+" column, editor returned a value of false");if(!(s instanceof Node))return void console.warn("Filter Error - Cannot add filter to "+f+" column, editor should return an instance of Node, the editor returned:",s);f?h.table.modules.localize.bind("headerFilters|columns|"+e.definition.field,function(e){s.setAttribute("placeholder","undefined"!==typeof e&&e?e:h.table.modules.localize.getText("headerFilters|default"))}):h.table.modules.localize.bind("headerFilters|default",function(e){s.setAttribute("placeholder","undefined"!==typeof h.column.definition.headerFilterPlaceholder&&h.column.definition.headerFilterPlaceholder?h.column.definition.headerFilterPlaceholder:e)}),s.addEventListener("click",function(e){e.stopPropagation(),s.focus()}),s.addEventListener("focus",function(e){var t=d.table.columnManager.element.scrollLeft;t!==d.table.rowManager.element.scrollLeft&&(d.table.rowManager.scrollHorizontal(t),d.table.columnManager.scrollHorizontal(t))}),c=!1,l=function(e){c&&clearTimeout(c),c=setTimeout(function(){p(s.value)},h.table.options.headerFilterLiveFilterDelay)},e.modules.filter.headerElement=s,e.modules.filter.attrType=s.hasAttribute("type")?s.getAttribute("type").toLowerCase():"",e.modules.filter.tagType=s.tagName.toLowerCase(),!1!==e.definition.headerFilterLiveFilter&&("autocomplete"!==e.definition.headerFilter&&"tickCross"!==e.definition.headerFilter&&("autocomplete"!==e.definition.editor&&"tickCross"!==e.definition.editor||!0!==e.definition.headerFilter)&&(s.addEventListener("keyup",l),s.addEventListener("search",l),"number"==e.modules.filter.attrType&&s.addEventListener("change",function(e){p(s.value)}),"text"==e.modules.filter.attrType&&"ie"!==this.table.browser&&s.setAttribute("type","search")),"input"!=e.modules.filter.tagType&&"select"!=e.modules.filter.tagType&&"textarea"!=e.modules.filter.tagType||s.addEventListener("mousedown",function(e){e.stopPropagation()})),i.appendChild(s),e.contentElement.appendChild(i),n||h.headerFilterColumns.push(e)}}else console.warn("Filter Error - Cannot add header filter, column has no field set:",e.definition.title)},R.prototype.hideHeaderFilterElements=function(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="none")})},R.prototype.showHeaderFilterElements=function(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="")})},R.prototype.setHeaderFilterFocus=function(e){e.modules.filter&&e.modules.filter.headerElement?e.modules.filter.headerElement.focus():console.warn("Column Filter Focus Error - No header filter set on column:",e.getField())},R.prototype.getHeaderFilterValue=function(e){if(e.modules.filter&&e.modules.filter.headerElement)return e.modules.filter.headerElement.value;console.warn("Column Filter Error - No header filter set on column:",e.getField())},R.prototype.setHeaderFilterValue=function(e,t){e&&(e.modules.filter&&e.modules.filter.headerElement?(this.generateHeaderFilterElement(e,t,!0),e.modules.filter.success(t)):console.warn("Column Filter Error - No header filter set on column:",e.getField()))},R.prototype.reloadHeaderFilter=function(e){e&&(e.modules.filter&&e.modules.filter.headerElement?this.generateHeaderFilterElement(e,e.modules.filter.value,!0):console.warn("Column Filter Error - No header filter set on column:",e.getField()))},R.prototype.hasChanged=function(){var e=this.changed;return this.changed=!1,e},R.prototype.setFilter=function(e,t,n,i){var o=this;o.filterList=[],Array.isArray(e)||(e=[{field:e,type:t,value:n,params:i}]),o.addFilter(e)},R.prototype.addFilter=function(e,t,n,i){var o=this;Array.isArray(e)||(e=[{field:e,type:t,value:n,params:i}]),e.forEach(function(e){e=o.findFilter(e),e&&(o.filterList.push(e),o.changed=!0)}),this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.filter&&this.table.modules.persistence.save("filter")},R.prototype.findFilter=function(e){var t,n=this;if(Array.isArray(e))return this.findSubFilters(e);var i=!1;return"function"==typeof e.field?i=function(t){return e.field(t,e.type||{})}:n.filters[e.type]?(t=n.table.columnManager.getColumnByField(e.field),i=t?function(i){return n.filters[e.type](e.value,t.getFieldValue(i),i,e.params||{})}:function(t){return n.filters[e.type](e.value,t[e.field],t,e.params||{})}):console.warn("Filter Error - No such filter type found, ignoring: ",e.type),e.func=i,!!e.func&&e},R.prototype.findSubFilters=function(e){var t=this,n=[];return e.forEach(function(e){e=t.findFilter(e),e&&n.push(e)}),!!n.length&&n},R.prototype.getFilters=function(e,t){var n=[];return e&&(n=this.getHeaderFilters()),t&&n.forEach(function(e){"function"==typeof e.type&&(e.type="function")}),n=n.concat(this.filtersToArray(this.filterList,t)),n},R.prototype.filtersToArray=function(e,t){var n=this,i=[];return e.forEach(function(e){var o;Array.isArray(e)?i.push(n.filtersToArray(e,t)):(o={field:e.field,type:e.type,value:e.value},t&&"function"==typeof o.type&&(o.type="function"),i.push(o))}),i},R.prototype.getHeaderFilters=function(){var e=[];for(var t in this.headerFilters)e.push({field:t,type:this.headerFilters[t].type,value:this.headerFilters[t].value});return e},R.prototype.removeFilter=function(e,t,n){var i=this;Array.isArray(e)||(e=[{field:e,type:t,value:n}]),e.forEach(function(e){var t=-1;t="object"==r(e.field)?i.filterList.findIndex(function(t){return e===t}):i.filterList.findIndex(function(t){return e.field===t.field&&e.type===t.type&&e.value===t.value}),t>-1?(i.filterList.splice(t,1),i.changed=!0):console.warn("Filter Error - No matching filter type found, ignoring: ",e.type)}),this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.filter&&this.table.modules.persistence.save("filter")},R.prototype.clearFilter=function(e){this.filterList=[],e&&this.clearHeaderFilter(),this.changed=!0,this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.filter&&this.table.modules.persistence.save("filter")},R.prototype.clearHeaderFilter=function(){var e=this;this.headerFilters={},e.prevHeaderFilterChangeCheck="{}",this.headerFilterColumns.forEach(function(t){"undefined"!==typeof t.modules.filter.value&&delete t.modules.filter.value,t.modules.filter.prevSuccess=void 0,e.reloadHeaderFilter(t)}),this.changed=!0},R.prototype.search=function(e,t,n,i){var o=this,r=[],s=[];return Array.isArray(t)||(t=[{field:t,type:n,value:i}]),t.forEach(function(e){e=o.findFilter(e),e&&s.push(e)}),this.table.rowManager.rows.forEach(function(t){var n=!0;s.forEach(function(e){o.filterRecurse(e,t.getData())||(n=!1)}),n&&r.push("data"===e?t.getData("data"):t.getComponent())}),r},R.prototype.filter=function(e,t){var n=this,i=[],o=[];return n.table.options.dataFiltering&&n.table.options.dataFiltering.call(n.table,n.getFilters()),n.table.options.ajaxFiltering||!n.filterList.length&&!Object.keys(n.headerFilters).length?i=e.slice(0):e.forEach(function(e){n.filterRow(e)&&i.push(e)}),n.table.options.dataFiltered&&(i.forEach(function(e){o.push(e.getComponent())}),n.table.options.dataFiltered.call(n.table,n.getFilters(),o)),i},R.prototype.filterRow=function(e,t){var n=this,i=!0,o=e.getData();for(var r in n.filterList.forEach(function(e){n.filterRecurse(e,o)||(i=!1)}),n.headerFilters)n.headerFilters[r].func(o)||(i=!1);return i},R.prototype.filterRecurse=function(e,t){var n=this,i=!1;return Array.isArray(e)?e.forEach(function(e){n.filterRecurse(e,t)&&(i=!0)}):i=e.func(t),i},R.prototype.filters={"=":function(e,t,n,i){return t==e},"<":function(e,t,n,i){return t":function(e,t,n,i){return t>e},">=":function(e,t,n,i){return t>=e},"!=":function(e,t,n,i){return t!=e},regex:function(e,t,n,i){return"string"==typeof e&&(e=new RegExp(e)),e.test(t)},like:function(e,t,n,i){return null===e||"undefined"===typeof e?t===e:"undefined"!==typeof t&&null!==t&&String(t).toLowerCase().indexOf(e.toLowerCase())>-1},keywords:function(e,t,n,i){var o=e.toLowerCase().split("undefined"===typeof i.separator?" ":i.separator),r=String(null===t||"undefined"===typeof t?"":t).toLowerCase(),s=[];return o.forEach(function(e){r.includes(e)&&s.push(!0)}),i.matchAll?s.length===o.length:!!s.length},starts:function(e,t,n,i){return null===e||"undefined"===typeof e?t===e:"undefined"!==typeof t&&null!==t&&String(t).toLowerCase().startsWith(e.toLowerCase())},ends:function(e,t,n,i){return null===e||"undefined"===typeof e?t===e:"undefined"!==typeof t&&null!==t&&String(t).toLowerCase().endsWith(e.toLowerCase())},in:function(e,t,n,i){return Array.isArray(e)?!e.length||e.indexOf(t)>-1:(console.warn("Filter Error - filter value is not an array:",e),!1)}},g.prototype.registerModule("filter",R);var k=function(e){this.table=e};k.prototype.initializeColumn=function(e){e.modules.format=this.lookupFormatter(e,""),"undefined"!==typeof e.definition.formatterPrint&&(e.modules.format.print=this.lookupFormatter(e,"Print")),"undefined"!==typeof e.definition.formatterClipboard&&(e.modules.format.clipboard=this.lookupFormatter(e,"Clipboard")),"undefined"!==typeof e.definition.formatterHtmlOutput&&(e.modules.format.htmlOutput=this.lookupFormatter(e,"HtmlOutput"))},k.prototype.lookupFormatter=function(e,t){var n={params:e.definition["formatter"+t+"Params"]||{}},i=e.definition["formatter"+t];switch("undefined"===typeof i?"undefined":r(i)){case"string":"tick"===i&&(i="tickCross","undefined"==typeof n.params.crossElement&&(n.params.crossElement=!1),console.warn("DEPRECATION WARNING - the tick formatter has been deprecated, please use the tickCross formatter with the crossElement param set to false")),this.formatters[i]?n.formatter=this.formatters[i]:(console.warn("Formatter Error - No such formatter found: ",i),n.formatter=this.formatters.plaintext);break;case"function":n.formatter=i;break;default:n.formatter=this.formatters.plaintext;break}return n},k.prototype.cellRendered=function(e){e.modules.format&&e.modules.format.renderedCallback&&!e.modules.format.rendered&&(e.modules.format.renderedCallback(),e.modules.format.rendered=!0)},k.prototype.formatValue=function(e){var t=e.getComponent(),n="function"===typeof e.column.modules.format.params?e.column.modules.format.params(t):e.column.modules.format.params;function i(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1}return e.column.modules.format.formatter.call(this,t,n,i)},k.prototype.formatExportValue=function(e,t){var n,i=e.column.modules.format[t];if(i){var o=function(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1};return n="function"===typeof i.params?i.params(component):i.params,i.formatter.call(this,e.getComponent(),n,o)}return this.formatValue(e)},k.prototype.sanitizeHTML=function(e){if(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=\/]/g,function(e){return t[e]})}return e},k.prototype.emptyToSpace=function(e){return null===e||"undefined"===typeof e||""===e?" ":e},k.prototype.getFormatter=function(e){switch("undefined"===typeof e?"undefined":r(e)){case"string":this.formatters[e]?e=this.formatters[e]:(console.warn("Formatter Error - No such formatter found: ",e),e=this.formatters.plaintext);break;case"function":e=e;break;default:e=this.formatters.plaintext;break}return e},k.prototype.formatters={plaintext:function(e,t,n){return this.emptyToSpace(this.sanitizeHTML(e.getValue()))},html:function(e,t,n){return e.getValue()},textarea:function(e,t,n){return e.getElement().style.whiteSpace="pre-wrap",this.emptyToSpace(this.sanitizeHTML(e.getValue()))},money:function(e,t,n){var i,o,r,s,a=parseFloat(e.getValue()),c=t.decimal||".",l=t.thousand||",",u=t.symbol||"",d=!!t.symbolAfter,h="undefined"!==typeof t.precision?t.precision:2;if(isNaN(a))return this.emptyToSpace(this.sanitizeHTML(e.getValue()));i=!1!==h?a.toFixed(h):a,i=String(i).split("."),o=i[0],r=i.length>1?c+i[1]:"",s=/(\d+)(\d{3})/;while(s.test(o))o=o.replace(s,"$1"+l+"$2");return d?o+r+u:u+o+r},link:function(e,t,n){var i,o=e.getValue(),s=t.urlPrefix||"",a=t.download,c=o,l=document.createElement("a");if(t.labelField&&(i=e.getData(),c=i[t.labelField]),t.label)switch(r(t.label)){case"string":c=t.label;break;case"function":c=t.label(e);break}if(c){if(t.urlField&&(i=e.getData(),o=i[t.urlField]),t.url)switch(r(t.url)){case"string":o=t.url;break;case"function":o=t.url(e);break}return l.setAttribute("href",s+o),t.target&&l.setAttribute("target",t.target),t.download&&(a="function"==typeof a?a(e):!0===a?"":a,l.setAttribute("download",a)),l.innerHTML=this.emptyToSpace(this.sanitizeHTML(c)),l}return" "},image:function(e,t,n){var i=document.createElement("img"),o=e.getValue();switch(t.urlPrefix&&(o=t.urlPrefix+e.getValue()),t.urlSuffix&&(o+=t.urlSuffix),i.setAttribute("src",o),r(t.height)){case"number":i.style.height=t.height+"px";break;case"string":i.style.height=t.height;break}switch(r(t.width)){case"number":i.style.width=t.width+"px";break;case"string":i.style.width=t.width;break}return i.addEventListener("load",function(){e.getRow().normalizeHeight()}),i},tickCross:function(e,t,n){var i=e.getValue(),o=e.getElement(),r=t.allowEmpty,s=t.allowTruthy,a="undefined"!==typeof t.tickElement?t.tickElement:'',c="undefined"!==typeof t.crossElement?t.crossElement:'';return s&&i||!0===i||"true"===i||"True"===i||1===i||"1"===i?(o.setAttribute("aria-checked",!0),a||""):!r||"null"!==i&&""!==i&&null!==i&&"undefined"!==typeof i?(o.setAttribute("aria-checked",!1),c||""):(o.setAttribute("aria-checked","mixed"),"")},datetime:function(e,t,n){var i=t.inputFormat||"YYYY-MM-DD hh:mm:ss",o=t.outputFormat||"DD/MM/YYYY hh:mm:ss",r="undefined"!==typeof t.invalidPlaceholder?t.invalidPlaceholder:"",s=e.getValue(),a=moment(s,i);return a.isValid()?t.timezone?a.tz(t.timezone).format(o):a.format(o):!0===r?s:"function"===typeof r?r(s):r},datetimediff:function(e,t,n){var i=t.inputFormat||"YYYY-MM-DD hh:mm:ss",o="undefined"!==typeof t.invalidPlaceholder?t.invalidPlaceholder:"",r="undefined"!==typeof t.suffix&&t.suffix,s="undefined"!==typeof t.unit?t.unit:void 0,a="undefined"!==typeof t.humanize&&t.humanize,c="undefined"!==typeof t.date?t.date:moment(),l=e.getValue(),u=moment(l,i);return u.isValid()?a?moment.duration(u.diff(c)).humanize(r):u.diff(c,s)+(r?" "+r:""):!0===o?l:"function"===typeof o?o(l):o},lookup:function(e,t,n){var i=e.getValue();return"undefined"===typeof t[i]?(console.warn("Missing display value for "+i),i):t[i]},star:function(e,t,n){var i=e.getValue(),o=e.getElement(),r=t&&t.stars?t.stars:5,s=document.createElement("span"),a=document.createElementNS("http://www.w3.org/2000/svg","svg"),c='',l='';s.style.verticalAlign="middle",a.setAttribute("width","14"),a.setAttribute("height","14"),a.setAttribute("viewBox","0 0 512 512"),a.setAttribute("xml:space","preserve"),a.style.padding="0 1px",i=i&&!isNaN(i)?parseInt(i):0,i=Math.max(0,Math.min(i,r));for(var u=1;u<=r;u++){var d=a.cloneNode(!0);d.innerHTML=u<=i?c:l,s.appendChild(d)}return o.style.whiteSpace="nowrap",o.style.overflow="hidden",o.style.textOverflow="ellipsis",o.setAttribute("aria-label",i),s},traffic:function(e,t,n){var i,o,s=this.sanitizeHTML(e.getValue())||0,a=document.createElement("span"),c=t&&t.max?t.max:100,l=t&&t.min?t.min:0,u=t&&"undefined"!==typeof t.color?t.color:["red","orange","green"],d="#666666";if(!isNaN(s)&&"undefined"!==typeof e.getValue()){switch(a.classList.add("tabulator-traffic-light"),o=parseFloat(s)<=c?parseFloat(s):c,o=parseFloat(o)>=l?parseFloat(o):l,i=(c-l)/100,o=Math.round((o-l)/i),"undefined"===typeof u?"undefined":r(u)){case"string":d=u;break;case"function":d=u(s);break;case"object":if(Array.isArray(u)){var h=100/u.length,p=Math.floor(o/h);p=Math.min(p,u.length-1),p=Math.max(p,0),d=u[p];break}}return a.style.backgroundColor=d,a}},progress:function(e,t,n){var i,o,s,a,c,l=this.sanitizeHTML(e.getValue())||0,u=e.getElement(),d=t&&t.max?t.max:100,h=t&&t.min?t.min:0,f=t&&t.legendAlign?t.legendAlign:"center";switch(o=parseFloat(l)<=d?parseFloat(l):d,o=parseFloat(o)>=h?parseFloat(o):h,i=(d-h)/100,o=Math.round((o-h)/i),r(t.color)){case"string":s=t.color;break;case"function":s=t.color(l);break;case"object":if(Array.isArray(t.color)){var m=100/t.color.length,g=Math.floor(o/m);g=Math.min(g,t.color.length-1),g=Math.max(g,0),s=t.color[g];break}default:s="#2DC214"}switch(r(t.legend)){case"string":a=t.legend;break;case"function":a=t.legend(l);break;case"boolean":a=l;break;default:a=!1}switch(r(t.legendColor)){case"string":c=t.legendColor;break;case"function":c=t.legendColor(l);break;case"object":if(Array.isArray(t.legendColor)){m=100/t.legendColor.length,g=Math.floor(o/m);g=Math.min(g,t.legendColor.length-1),g=Math.max(g,0),c=t.legendColor[g]}break;default:c="#000"}u.style.minWidth="30px",u.style.position="relative",u.setAttribute("aria-label",o);var v=document.createElement("div");if(v.style.display="inline-block",v.style.position="relative",v.style.width=o+"%",v.style.backgroundColor=s,v.style.height="100%",v.setAttribute("data-max",d),v.setAttribute("data-min",h),a){var b=document.createElement("div");b.style.position="absolute",b.style.top="4px",b.style.left=0,b.style.textAlign=f,b.style.width="100%",b.style.color=c,b.innerHTML=a}return n(function(){if(!(e instanceof p)){var t=document.createElement("div");t.style.position="absolute",t.style.top="4px",t.style.bottom="4px",t.style.left="4px",t.style.right="4px",u.appendChild(t),u=t}u.appendChild(v),a&&u.appendChild(b)}),""},color:function(e,t,n){return e.getElement().style.backgroundColor=this.sanitizeHTML(e.getValue()),""},buttonTick:function(e,t,n){return''},buttonCross:function(e,t,n){return''},rownum:function(e,t,n){return this.table.rowManager.activeRows.indexOf(e.getRow()._getSelf())+1},handle:function(e,t,n){return e.getElement().classList.add("tabulator-row-handle"),"
"},responsiveCollapse:function(e,t,n){var i=document.createElement("div"),o=e.getRow()._row.modules.responsiveLayout;function r(e){var t=o.element;o.open=e,t&&(o.open?(i.classList.add("open"),t.style.display=""):(i.classList.remove("open"),t.style.display="none"))}return i.classList.add("tabulator-responsive-collapse-toggle"),i.innerHTML="+-",e.getElement().classList.add("tabulator-row-handle"),i.addEventListener("click",function(e){e.stopImmediatePropagation(),r(!o.open)}),r(o.open),i},rowSelection:function(e,t,n){var i=this,o=document.createElement("input");if(o.type="checkbox",this.table.modExists("selectRow",!0))if(o.addEventListener("click",function(e){e.stopPropagation()}),"function"==typeof e.getRow){var r=e.getRow();r instanceof d?(o.addEventListener("change",function(e){r.toggleSelect()}),o.checked=r.isSelected&&r.isSelected(),this.table.modules.selectRow.registerRowSelectCheckbox(r,o)):o=""}else o.addEventListener("change",function(e){i.table.modules.selectRow.selectedRows.length?i.table.deselectRow():i.table.selectRow(t.rowRange)}),this.table.modules.selectRow.registerHeaderSelectCheckbox(o);return o}},g.prototype.registerModule("format",k);var z=function(e){this.table=e,this.leftColumns=[],this.rightColumns=[],this.leftMargin=0,this.rightMargin=0,this.rightPadding=0,this.initializationMode="left",this.active=!1,this.scrollEndTimer=!1};z.prototype.reset=function(){this.initializationMode="left",this.leftColumns=[],this.rightColumns=[],this.leftMargin=0,this.rightMargin=0,this.rightMargin=0,this.active=!1,this.table.columnManager.headersElement.style.marginLeft=0,this.table.columnManager.element.style.paddingRight=0},z.prototype.initializeColumn=function(e){var t={margin:0,edge:!1};e.isGroup||(this.frozenCheck(e)?(t.position=this.initializationMode,"left"==this.initializationMode?this.leftColumns.push(e):this.rightColumns.unshift(e),this.active=!0,e.modules.frozen=t):this.initializationMode="right")},z.prototype.frozenCheck=function(e){return e.parent.isGroup&&e.definition.frozen&&console.warn("Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"),e.parent.isGroup?this.frozenCheck(e.parent):e.definition.frozen},z.prototype.scrollHorizontal=function(){var e,t=this;this.active&&(clearTimeout(this.scrollEndTimer),this.scrollEndTimer=setTimeout(function(){t.layout()},100),e=this.table.rowManager.getVisibleRows(),this.calcMargins(),this.layoutColumnPosition(),this.layoutCalcRows(),e.forEach(function(e){"row"===e.type&&t.layoutRow(e)}),this.table.rowManager.tableElement.style.marginRight=this.rightMargin)},z.prototype.calcMargins=function(){this.leftMargin=this._calcSpace(this.leftColumns,this.leftColumns.length)+"px",this.table.columnManager.headersElement.style.marginLeft=this.leftMargin,this.rightMargin=this._calcSpace(this.rightColumns,this.rightColumns.length)+"px",this.table.columnManager.element.style.paddingRight=this.rightMargin,this.rightPadding=this.table.rowManager.element.clientWidth+this.table.columnManager.scrollLeft},z.prototype.layoutCalcRows=function(){this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow))},z.prototype.layoutColumnPosition=function(e){var t=this,n=[];this.leftColumns.forEach(function(i,o){if(i.modules.frozen.margin=t._calcSpace(t.leftColumns,o)+t.table.columnManager.scrollLeft+"px",o==t.leftColumns.length-1?i.modules.frozen.edge=!0:i.modules.frozen.edge=!1,i.parent.isGroup){var r=t.getColGroupParentElement(i);n.includes(r)||(t.layoutElement(r,i),n.push(r)),i.modules.frozen.edge&&r.classList.add("tabulator-frozen-"+i.modules.frozen.position)}else t.layoutElement(i.getElement(),i);e&&i.cells.forEach(function(e){t.layoutElement(e.getElement(!0),i)})}),this.rightColumns.forEach(function(n,i){n.modules.frozen.margin=t.rightPadding-t._calcSpace(t.rightColumns,i+1)+"px",i==t.rightColumns.length-1?n.modules.frozen.edge=!0:n.modules.frozen.edge=!1,n.parent.isGroup?t.layoutElement(t.getColGroupParentElement(n),n):t.layoutElement(n.getElement(),n),e&&n.cells.forEach(function(e){t.layoutElement(e.getElement(!0),n)})})},z.prototype.getColGroupParentElement=function(e){return e.parent.isGroup?this.getColGroupParentElement(e.parent):e.getElement()},z.prototype.layout=function(){var e=this;e.active&&(this.calcMargins(),e.table.rowManager.getDisplayRows().forEach(function(t){"row"===t.type&&e.layoutRow(t)}),this.layoutCalcRows(),this.layoutColumnPosition(!0),this.table.rowManager.tableElement.style.marginRight=this.rightMargin)},z.prototype.layoutRow=function(e){var t=this,n=e.getElement();n.style.paddingLeft=this.leftMargin,this.leftColumns.forEach(function(n){var i=e.getCell(n);i&&t.layoutElement(i.getElement(!0),n)}),this.rightColumns.forEach(function(n){var i=e.getCell(n);i&&t.layoutElement(i.getElement(!0),n)})},z.prototype.layoutElement=function(e,t){t.modules.frozen&&(e.style.position="absolute",e.style.left=t.modules.frozen.margin,e.classList.add("tabulator-frozen"),t.modules.frozen.edge&&e.classList.add("tabulator-frozen-"+t.modules.frozen.position))},z.prototype._calcSpace=function(e,t){for(var n=0,i=0;i-1&&t.splice(n,1)}),t},P.prototype.freezeRow=function(e){e.modules.frozen?console.warn("Freeze Error - Row is already frozen"):(e.modules.frozen=!0,this.topElement.appendChild(e.getElement()),e.initialize(),e.normalizeHeight(),this.table.rowManager.adjustTableSize(),this.rows.push(e),this.table.rowManager.refreshActiveData("display"),this.styleRows())},P.prototype.unfreezeRow=function(e){this.rows.indexOf(e);e.modules.frozen?(e.modules.frozen=!1,this.detachRow(e),this.table.rowManager.adjustTableSize(),this.table.rowManager.refreshActiveData("display"),this.rows.length&&this.styleRows()):console.warn("Freeze Error - Row is already unfrozen")},P.prototype.detachRow=function(e){var t=this.rows.indexOf(e);if(t>-1){var n=e.getElement();n.parentNode.removeChild(n),this.rows.splice(t,1)}},P.prototype.styleRows=function(e){var t=this;this.rows.forEach(function(e,n){t.table.rowManager.styleRow(e,n)})},g.prototype.registerModule("frozenRows",P);var N=function(e){this._group=e,this.type="GroupComponent"};N.prototype.getKey=function(){return this._group.key},N.prototype.getField=function(){return this._group.field},N.prototype.getElement=function(){return this._group.element},N.prototype.getRows=function(){return this._group.getRows(!0)},N.prototype.getSubGroups=function(){return this._group.getSubGroups(!0)},N.prototype.getParentGroup=function(){return!!this._group.parent&&this._group.parent.getComponent()},N.prototype.getVisibility=function(){return console.warn("getVisibility function is deprecated, you should now use the isVisible function"),this._group.visible},N.prototype.isVisible=function(){return this._group.visible},N.prototype.show=function(){this._group.show()},N.prototype.hide=function(){this._group.hide()},N.prototype.toggle=function(){this._group.toggleVisibility()},N.prototype._getSelf=function(){return this._group},N.prototype.getTable=function(){return this._group.groupManager.table};var I=function(e,t,n,i,o,r,s){this.groupManager=e,this.parent=t,this.key=i,this.level=n,this.field=o,this.hasSubGroups=n-1?n?this.rows.splice(o+1,0,e):this.rows.splice(o,0,e):n?this.rows.push(e):this.rows.unshift(e),e.modules.group=this,this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&"table"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)},I.prototype.scrollHeader=function(e){this.arrowElement.style.marginLeft=e,this.groupList.forEach(function(t){t.scrollHeader(e)})},I.prototype.getRowIndex=function(e){},I.prototype.conformRowData=function(e){return this.field?e[this.field]=this.key:console.warn("Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"),this.parent&&(e=this.parent.conformRowData(e)),e},I.prototype.removeRow=function(e){var t=this.rows.indexOf(e),n=e.getElement();t>-1&&this.rows.splice(t,1),this.groupManager.table.options.groupValues||this.rows.length?(n.parentNode&&n.parentNode.removeChild(n),this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&"table"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)):(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0))},I.prototype.removeGroup=function(e){var t,n=e.level+"_"+e.key;this.groups[n]&&(delete this.groups[n],t=this.groupList.indexOf(e),t>-1&&this.groupList.splice(t,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))},I.prototype.getHeadersAndRows=function(e){var t=[];return t.push(this),this._visSet(),this.visible?this.groupList.length?this.groupList.forEach(function(n){t=t.concat(n.getHeadersAndRows(e))}):(!e&&"table"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),t.push(this.calcs.top)),t=t.concat(this.rows),!e&&"table"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),t.push(this.calcs.bottom))):this.groupList.length||"table"==this.groupManager.table.options.columnCalcs||this.groupManager.table.modExists("columnCalcs")&&(!e&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),t.push(this.calcs.top))),!e&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),t.push(this.calcs.bottom)))),t},I.prototype.getData=function(e,t){var n=[];return this._visSet(),(!e||e&&this.visible)&&this.rows.forEach(function(e){n.push(e.getData(t||"data"))}),n},I.prototype.getRowCount=function(){var e=0;return this.groupList.length?this.groupList.forEach(function(t){e+=t.getRowCount()}):e=this.rows.length,e},I.prototype.toggleVisibility=function(){this.visible?this.hide():this.show()},I.prototype.hide=function(){this.visible=!1,"classic"!=this.groupManager.table.rowManager.getRenderMode()||this.groupManager.table.options.pagination?this.groupManager.updateGroupRows(!0):(this.element.classList.remove("tabulator-group-visible"),this.groupList.length?this.groupList.forEach(function(e){var t=e.getHeadersAndRows();t.forEach(function(e){e.detachElement()})}):this.rows.forEach(function(e){var t=e.getElement();t.parentNode.removeChild(t)}),this.groupManager.table.rowManager.setDisplayRows(this.groupManager.updateGroupRows(),this.groupManager.getDisplayIndex()),this.groupManager.table.rowManager.checkClassicModeGroupHeaderWidth()),this.groupManager.table.options.groupVisibilityChanged.call(this.table,this.getComponent(),!1)},I.prototype.show=function(){var e=this;if(e.visible=!0,"classic"!=this.groupManager.table.rowManager.getRenderMode()||this.groupManager.table.options.pagination)this.groupManager.updateGroupRows(!0);else{this.element.classList.add("tabulator-group-visible");var t=e.getElement();this.groupList.length?this.groupList.forEach(function(e){var n=e.getHeadersAndRows();n.forEach(function(e){var n=e.getElement();t.parentNode.insertBefore(n,t.nextSibling),e.initialize(),t=n})}):e.rows.forEach(function(e){var n=e.getElement();t.parentNode.insertBefore(n,t.nextSibling),e.initialize(),t=n}),this.groupManager.table.rowManager.setDisplayRows(this.groupManager.updateGroupRows(),this.groupManager.getDisplayIndex()),this.groupManager.table.rowManager.checkClassicModeGroupHeaderWidth()}this.groupManager.table.options.groupVisibilityChanged.call(this.table,this.getComponent(),!0)},I.prototype._visSet=function(){var e=[];"function"==typeof this.visible&&(this.rows.forEach(function(t){e.push(t.getData())}),this.visible=this.visible(this.key,this.getRowCount(),e,this.getComponent()))},I.prototype.getRowGroup=function(e){var t=!1;return this.groupList.length?this.groupList.forEach(function(n){var i=n.getRowGroup(e);i&&(t=i)}):this.rows.find(function(t){return t===e})&&(t=this),t},I.prototype.getSubGroups=function(e){var t=[];return this.groupList.forEach(function(n){t.push(e?n.getComponent():n)}),t},I.prototype.getRows=function(e){var t=[];return this.rows.forEach(function(n){t.push(e?n.getComponent():n)}),t},I.prototype.generateGroupHeaderContents=function(){var e=[];this.rows.forEach(function(t){e.push(t.getData())}),this.elementContents=this.generator(this.key,this.getRowCount(),e,this.getComponent());while(this.element.firstChild)this.element.removeChild(this.element.firstChild);"string"===typeof this.elementContents?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)},I.prototype.getPath=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.unshift(this.key),this.parent&&this.parent.getPath(e),e},I.prototype.getElement=function(){this.addBindingsd=!1,this._visSet(),this.visible?this.element.classList.add("tabulator-group-visible"):this.element.classList.remove("tabulator-group-visible");for(var e=0;ei.length&&console.warn("Error creating group headers, groupHeader array is shorter than groupBy array"),e.headerGenerator=[function(){return""}],this.startOpen=[function(){return!1}],e.table.modules.localize.bind("groups|item",function(t,n){e.headerGenerator[0]=function(e,i,o){return("undefined"===typeof e?"":e)+"("+i+" "+(1===i?t:n.groups.items)+")"}}),this.groupIDLookups=[],Array.isArray(t)||t)this.table.modExists("columnCalcs")&&"table"!=this.table.options.columnCalcs&&"both"!=this.table.options.columnCalcs&&this.table.modules.columnCalcs.removeCalcs();else if(this.table.modExists("columnCalcs")&&"group"!=this.table.options.columnCalcs){var o=this.table.columnManager.getRealColumns();o.forEach(function(t){t.definition.topCalc&&e.table.modules.columnCalcs.initializeTopRow(),t.definition.bottomCalc&&e.table.modules.columnCalcs.initializeBottomRow()})}Array.isArray(t)||(t=[t]),t.forEach(function(t,n){var i,o;"function"==typeof t?i=t:(o=e.table.columnManager.getColumnByField(t),i=o?function(e){return o.getFieldValue(e)}:function(e){return e[t]}),e.groupIDLookups.push({field:"function"!==typeof t&&t,func:i,values:!!e.allowedValues&&e.allowedValues[n]})}),n&&(Array.isArray(n)||(n=[n]),n.forEach(function(e){e="function"==typeof e?e:function(){return!0}}),e.startOpen=n),i&&(e.headerGenerator=Array.isArray(i)?i:[i]),this.initialized=!0},D.prototype.setDisplayIndex=function(e){this.displayIndex=e},D.prototype.getDisplayIndex=function(){return this.displayIndex},D.prototype.getRows=function(e){return this.groupIDLookups.length?(this.table.options.dataGrouping.call(this.table),this.generateGroups(e),this.table.options.dataGrouped&&this.table.options.dataGrouped.call(this.table,this.getGroups(!0)),this.updateGroupRows()):e.slice(0)},D.prototype.getGroups=function(e){var t=[];return this.groupList.forEach(function(n){t.push(e?n.getComponent():n)}),t},D.prototype.getChildGroups=function(e){var t=this,n=[];return e||(e=this),e.groupList.forEach(function(e){e.groupList.length?n=n.concat(t.getChildGroups(e)):n.push(e)}),n},D.prototype.wipe=function(){this.groupList.forEach(function(e){e.wipe()})},D.prototype.pullGroupListData=function(e){var t=this,n=[];return e.forEach(function(e){var i={level:0,rowCount:0,headerContent:""},o=[];e.hasSubGroups?(o=t.pullGroupListData(e.groupList),i.level=e.level,i.rowCount=o.length-e.groupList.length,i.headerContent=e.generator(e.key,i.rowCount,e.rows,e),n.push(i),n=n.concat(o)):(i.level=e.level,i.headerContent=e.generator(e.key,e.rows.length,e.rows,e),i.rowCount=e.getRows().length,n.push(i),e.getRows().forEach(function(e){n.push(e.getData("data"))}))}),n},D.prototype.getGroupedData=function(){return this.pullGroupListData(this.groupList)},D.prototype.getRowGroup=function(e){var t=!1;return this.groupList.forEach(function(n){var i=n.getRowGroup(e);i&&(t=i)}),t},D.prototype.countGroups=function(){return this.groupList.length},D.prototype.generateGroups=function(e){var t=this,n=t.groups;t.groups={},t.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach(function(e){t.createGroup(e,0,n)}),e.forEach(function(e){t.assignRowToExistingGroup(e,n)})):e.forEach(function(e){t.assignRowToGroup(e,n)})},D.prototype.createGroup=function(e,t,n){var i,o=t+"_"+e;n=n||[],i=new I(this,!1,t,e,this.groupIDLookups[0].field,this.headerGenerator[0],n[o]),this.groups[o]=i,this.groupList.push(i)},D.prototype.assignRowToExistingGroup=function(e,t){var n=this.groupIDLookups[0].func(e.getData()),i="0_"+n;this.groups[i]&&this.groups[i].addRow(e)},D.prototype.assignRowToGroup=function(e,t){var n=this.groupIDLookups[0].func(e.getData()),i=!this.groups["0_"+n];return i&&this.createGroup(n,0,t),this.groups["0_"+n].addRow(e),!i},D.prototype.reassignRowToGroup=function(e){var t=e.getGroup(),n=t.getPath(),i=this.getExpectedPath(e),o=!0;o=n.length==i.length&&n.every(function(e,t){return e===i[t]});o||(t.removeRow(e),this.assignRowToGroup(e,self.groups),this.table.rowManager.refreshActiveData("group",!1,!0))},D.prototype.getExpectedPath=function(e){var t=[],n=e.getData();return this.groupIDLookups.forEach(function(e){t.push(e.func(n))}),t},D.prototype.updateGroupRows=function(e){var t=this,n=[];if(t.groupList.forEach(function(e){n=n.concat(e.getHeadersAndRows())}),e){var i=t.table.rowManager.setDisplayRows(n,this.getDisplayIndex());!0!==i&&this.setDisplayIndex(i),t.table.rowManager.refreshActiveData("group",!0,!0)}return n},D.prototype.scrollHeaders=function(e){this.table.options.virtualDomHoz&&(e-=this.table.vdomHoz.vDomPadLeft),e+="px",this.groupList.forEach(function(t){t.scrollHeader(e)})},D.prototype.removeGroup=function(e){var t,n=e.level+"_"+e.key;this.groups[n]&&(delete this.groups[n],t=this.groupList.indexOf(e),t>-1&&this.groupList.splice(t,1))},g.prototype.registerModule("groupRows",D);var B=function(e){this.table=e,this.history=[],this.index=-1};B.prototype.clear=function(){this.history=[],this.index=-1},B.prototype.action=function(e,t,n){this.history=this.history.slice(0,this.index+1),this.history.push({type:e,component:t,data:n}),this.index++},B.prototype.getHistoryUndoSize=function(){return this.index+1},B.prototype.getHistoryRedoSize=function(){return this.history.length-(this.index+1)},B.prototype.clearComponentHistory=function(e){var t=this.history.findIndex(function(t){return t.component===e});t>-1&&(this.history.splice(t,1),t<=this.index&&this.index--,this.clearComponentHistory(e))},B.prototype.undo=function(){if(this.index>-1){var e=this.history[this.index];return this.undoers[e.type].call(this,e),this.index--,this.table.options.historyUndo.call(this.table,e.type,e.component.getComponent(),e.data),!0}return console.warn("History Undo Error - No more history to undo"),!1},B.prototype.redo=function(){if(this.history.length-1>this.index){this.index++;var e=this.history[this.index];return this.redoers[e.type].call(this,e),this.table.options.historyRedo.call(this.table,e.type,e.component.getComponent(),e.data),!0}return console.warn("History Redo Error - No more history to redo"),!1},B.prototype.undoers={cellEdit:function(e){e.component.setValueProcessData(e.data.oldValue)},rowAdd:function(e){e.component.deleteActual()},rowDelete:function(e){var t=this.table.rowManager.addRowActual(e.data.data,e.data.pos,e.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(e.component,t)},rowMove:function(e){this.table.rowManager.moveRowActual(e.component,this.table.rowManager.rows[e.data.posFrom],!e.data.after),this.table.rowManager.redraw()}},B.prototype.redoers={cellEdit:function(e){e.component.setValueProcessData(e.data.newValue)},rowAdd:function(e){var t=this.table.rowManager.addRowActual(e.data.data,e.data.pos,e.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(e.component,t)},rowDelete:function(e){e.component.deleteActual()},rowMove:function(e){this.table.rowManager.moveRowActual(e.component,this.table.rowManager.rows[e.data.posTo],e.data.after),this.table.rowManager.redraw()}},B.prototype._rebindRow=function(e,t){this.history.forEach(function(n){if(n.component instanceof h)n.component===e&&(n.component=t);else if(n.component instanceof f&&n.component.row===e){var i=n.component.column.getField();i&&(n.component=t.getCell(i))}})},g.prototype.registerModule("history",B);var q=function(e){this.table=e,this.fieldIndex=[],this.hasIndex=!1};q.prototype.parseTable=function(){var e=this,t=e.table.element,n=e.table.options,i=(n.columns,t.getElementsByTagName("th")),o=t.getElementsByTagName("tbody")[0],s=[];e.hasIndex=!1,e.table.options.htmlImporting.call(this.table),o=o?o.getElementsByTagName("tr"):[],e._extractOptions(t,n),i.length?e._extractHeaders(i,o):e._generateBlankHeaders(i,o);for(var a=0;a-1&&e.pressedKeys.splice(o,1)}},this.table.element.addEventListener("keydown",this.keyupBinding),this.table.element.addEventListener("keyup",this.keydownBinding)},j.prototype.clearBindings=function(){this.keyupBinding&&this.table.element.removeEventListener("keydown",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener("keyup",this.keydownBinding)},j.prototype.checkBinding=function(e,t){var n=this,i=!0;return e.ctrlKey==t.ctrl&&e.shiftKey==t.shift&&e.metaKey==t.meta&&(t.keys.forEach(function(e){var t=n.pressedKeys.indexOf(e);-1==t&&(i=!1)}),i&&t.action.call(n,e),!0)},j.prototype.bindings={navPrev:"shift + 9",navNext:9,navUp:38,navDown:40,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:"ctrl + 90",redo:"ctrl + 89",copyToClipboard:"ctrl + 67"},j.prototype.actions={keyBlock:function(e){e.stopPropagation(),e.preventDefault()},scrollPageUp:function(e){var t=this.table.rowManager,n=t.scrollTop-t.height;t.element.scrollHeight;e.preventDefault(),t.displayRowsCount&&(n>=0?t.element.scrollTop=n:t.scrollToRow(t.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(e){var t=this.table.rowManager,n=t.scrollTop+t.height,i=t.element.scrollHeight;e.preventDefault(),t.displayRowsCount&&(n<=i?t.element.scrollTop=n:t.scrollToRow(t.getDisplayRows()[t.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(e){var t=this.table.rowManager;e.preventDefault(),t.displayRowsCount&&t.scrollToRow(t.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(e){var t=this.table.rowManager;e.preventDefault(),t.displayRowsCount&&t.scrollToRow(t.getDisplayRows()[t.displayRowsCount-1]),this.table.element.focus()},navPrev:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell,t&&(e.preventDefault(),t.nav().prev()))},navNext:function(e){var t,n=!1,i=this.table.options.tabEndNewRow;this.table.modExists("edit")&&(n=this.table.modules.edit.currentCell,n&&(e.preventDefault(),t=n.nav(),t.next()||i&&(n.getElement().firstChild.blur(),i=!0===i?this.table.addRow({}):"function"==typeof i?this.table.addRow(i(n.row.getComponent())):this.table.addRow(Object.assign({},i)),i.then(function(){setTimeout(function(){t.next()})}))))},navLeft:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell,t&&(e.preventDefault(),t.nav().left()))},navRight:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell,t&&(e.preventDefault(),t.nav().right()))},navUp:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell,t&&(e.preventDefault(),t.nav().up()))},navDown:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell,t&&(e.preventDefault(),t.nav().down()))},undo:function(e){var t=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell,t||(e.preventDefault(),this.table.modules.history.undo()))},redo:function(e){var t=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell,t||(e.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(e){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}},g.prototype.registerModule("keybindings",j);var W=function(e){this.table=e,this.menuElements=[],this.blurEvent=this.hideMenu.bind(this),this.escEvent=this.escMenu.bind(this),this.nestedMenuBlock=!1,this.positionReversedX=!1};W.prototype.initializeColumnHeader=function(e){var t,n=this;e.definition.headerContextMenu&&(e.getElement().addEventListener("contextmenu",this.LoadMenuEvent.bind(this,e,e.definition.headerContextMenu)),this.tapHold(e,e.definition.headerContextMenu)),e.definition.headerMenu&&(t=document.createElement("span"),t.classList.add("tabulator-header-menu-button"),t.innerHTML="⋮",t.addEventListener("click",function(t){t.stopPropagation(),t.preventDefault(),n.LoadMenuEvent(e,e.definition.headerMenu,t)}),e.titleElement.insertBefore(t,e.titleElement.firstChild))},W.prototype.LoadMenuEvent=function(e,t,n){t="function"==typeof t?t.call(this.table,e.getComponent(),n):t,this.loadMenu(n,e,t)},W.prototype.tapHold=function(e,t){var n=this,i=e.getElement(),o=null,r=!1;i.addEventListener("touchstart",function(i){clearTimeout(o),r=!1,o=setTimeout(function(){clearTimeout(o),o=null,r=!0,n.LoadMenuEvent(e,t,i)},1e3)},{passive:!0}),i.addEventListener("touchend",function(e){clearTimeout(o),o=null,r&&e.preventDefault()})},W.prototype.initializeCell=function(e){e.column.definition.contextMenu&&(e.getElement(!0).addEventListener("contextmenu",this.LoadMenuEvent.bind(this,e,e.column.definition.contextMenu)),this.tapHold(e,e.column.definition.contextMenu)),e.column.definition.clickMenu&&e.getElement(!0).addEventListener("click",this.LoadMenuEvent.bind(this,e,e.column.definition.clickMenu))},W.prototype.initializeRow=function(e){this.table.options.rowContextMenu&&(e.getElement().addEventListener("contextmenu",this.LoadMenuEvent.bind(this,e,this.table.options.rowContextMenu)),this.tapHold(e,this.table.options.rowContextMenu)),this.table.options.rowClickMenu&&e.getElement().addEventListener("click",this.LoadMenuEvent.bind(this,e,this.table.options.rowClickMenu))},W.prototype.initializeGroup=function(e){this.table.options.groupContextMenu&&(e.getElement().addEventListener("contextmenu",this.LoadMenuEvent.bind(this,e,this.table.options.groupContextMenu)),this.tapHold(e,this.table.options.groupContextMenu)),this.table.options.groupClickMenu&&e.getElement().addEventListener("click",this.LoadMenuEvent.bind(this,e,this.table.options.groupClickMenu))},W.prototype.loadMenu=function(e,t,n,i){var o=this,r=!(e instanceof MouseEvent),s=document.createElement("div");if(s.classList.add("tabulator-menu"),r||e.preventDefault(),n&&n.length){if(!i){if(this.nestedMenuBlock){if(this.isOpen())return}else this.nestedMenuBlock=setTimeout(function(){o.nestedMenuBlock=!1},100);this.hideMenu(),this.menuElements=[]}n.forEach(function(e){var n=document.createElement("div"),i=e.label,r=e.disabled;e.separator?n.classList.add("tabulator-menu-separator"):(n.classList.add("tabulator-menu-item"),"function"==typeof i&&(i=i.call(o.table,t.getComponent())),i instanceof Node?n.appendChild(i):n.innerHTML=i,"function"==typeof r&&(r=r.call(o.table,t.getComponent())),r?(n.classList.add("tabulator-menu-item-disabled"),n.addEventListener("click",function(e){e.stopPropagation()})):e.menu&&e.menu.length?n.addEventListener("click",function(i){i.stopPropagation(),o.hideOldSubMenus(s),o.loadMenu(i,t,e.menu,n)}):e.action&&n.addEventListener("click",function(n){e.action(n,t.getComponent())}),e.menu&&e.menu.length&&n.classList.add("tabulator-menu-item-submenu")),s.appendChild(n)}),s.addEventListener("click",function(e){o.hideMenu()}),this.menuElements.push(s),this.positionMenu(s,i,r,e)}},W.prototype.hideOldSubMenus=function(e){var t=this.menuElements.indexOf(e);if(t>-1)for(var n=this.menuElements.length-1;n>t;n--){var i=this.menuElements[n];i.parentNode&&i.parentNode.removeChild(i),this.menuElements.pop()}},W.prototype.positionMenu=function(e,t,n,i){var o,r,s,a=this,c=Math.max(document.body.offsetHeight,window.innerHeight);t?(s=g.prototype.helpers.elOffset(t),o=s.left+t.offsetWidth,r=s.top-1):(o=n?i.touches[0].pageX:i.pageX,r=n?i.touches[0].pageY:i.pageY,this.positionReversedX=!1),e.style.top=r+"px",e.style.left=o+"px",setTimeout(function(){a.table.rowManager.element.addEventListener("scroll",a.blurEvent),document.body.addEventListener("click",a.blurEvent),document.body.addEventListener("contextmenu",a.blurEvent),window.addEventListener("resize",a.blurEvent),document.body.addEventListener("keydown",a.escEvent)},100),document.body.appendChild(e),r+e.offsetHeight>=c&&(e.style.top="",e.style.bottom=t?c-s.top-t.offsetHeight-1+"px":c-r+"px"),(o+e.offsetWidth>=document.body.offsetWidth||this.positionReversedX)&&(e.style.left="",e.style.right=t?document.documentElement.offsetWidth-s.left+"px":document.documentElement.offsetWidth-o+"px",this.positionReversedX=!0)},W.prototype.isOpen=function(){return!!this.menuElements.length},W.prototype.escMenu=function(e){27==e.keyCode&&this.hideMenu()},W.prototype.hideMenu=function(){this.menuElements.forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)}),document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent)},W.prototype.menus={},g.prototype.registerModule("menu",W);var F=function(e){this.table=e,this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this)};F.prototype.createPlaceholderElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.classList.add("tabulator-col-placeholder"),e},F.prototype.initializeColumn=function(e){var t,n=this,i={};e.modules.frozen||(t=e.getElement(),i.mousemove=function(i){e.parent===n.moving.parent&&((n.touchMove?i.touches[0].pageX:i.pageX)-g.prototype.helpers.elOffset(t).left+n.table.columnManager.element.scrollLeft>e.getWidth()/2?n.toCol===e&&n.toColAfter||(t.parentNode.insertBefore(n.placeholderElement,t.nextSibling),n.moveColumn(e,!0)):(n.toCol!==e||n.toColAfter)&&(t.parentNode.insertBefore(n.placeholderElement,t),n.moveColumn(e,!1)))}.bind(n),t.addEventListener("mousedown",function(t){n.touchMove=!1,1===t.which&&(n.checkTimeout=setTimeout(function(){n.startMove(t,e)},n.checkPeriod))}),t.addEventListener("mouseup",function(e){1===e.which&&n.checkTimeout&&clearTimeout(n.checkTimeout)}),n.bindTouchEvents(e)),e.modules.moveColumn=i},F.prototype.bindTouchEvents=function(e){var t,n,i,o,r,s,a=this,c=e.getElement(),l=!1;c.addEventListener("touchstart",function(c){a.checkTimeout=setTimeout(function(){a.touchMove=!0,e,t=e.nextColumn(),i=t?t.getWidth()/2:0,n=e.prevColumn(),o=n?n.getWidth()/2:0,r=0,s=0,l=!1,a.startMove(c,e)},a.checkPeriod)},{passive:!0}),c.addEventListener("touchmove",function(c){var u,d;a.moving&&(a.moveHover(c),l||(l=c.touches[0].pageX),u=c.touches[0].pageX-l,u>0?t&&u-r>i&&(d=t,d!==e&&(l=c.touches[0].pageX,d.getElement().parentNode.insertBefore(a.placeholderElement,d.getElement().nextSibling),a.moveColumn(d,!0))):n&&-u-s>o&&(d=n,d!==e&&(l=c.touches[0].pageX,d.getElement().parentNode.insertBefore(a.placeholderElement,d.getElement()),a.moveColumn(d,!1))),d&&(d,t=d.nextColumn(),r=i,i=t?t.getWidth()/2:0,n=d.prevColumn(),s=o,o=n?n.getWidth()/2:0))},{passive:!0}),c.addEventListener("touchend",function(e){a.checkTimeout&&clearTimeout(a.checkTimeout),a.moving&&a.endMove(e)})},F.prototype.startMove=function(e,t){var n=t.getElement();this.moving=t,this.startX=(this.touchMove?e.touches[0].pageX:e.pageX)-g.prototype.helpers.elOffset(n).left,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=t.getWidth()+"px",this.placeholderElement.style.height=t.getHeight()+"px",n.parentNode.insertBefore(this.placeholderElement,n),n.parentNode.removeChild(n),this.hoverElement=n.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.table.columnManager.getElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.bottom="0",this.touchMove||(this._bindMouseMove(),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove)),this.moveHover(e)},F.prototype._bindMouseMove=function(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveColumn.mousemove)})},F.prototype._unbindMouseMove=function(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveColumn.mousemove)})},F.prototype.moveColumn=function(e,t){var n=this.moving.getCells();this.toCol=e,this.toColAfter=t,t?e.getCells().forEach(function(e,t){var i=e.getElement(!0);i.parentNode.insertBefore(n[t].getElement(),i.nextSibling)}):e.getCells().forEach(function(e,t){var i=e.getElement(!0);i.parentNode.insertBefore(n[t].getElement(),i)})},F.prototype.endMove=function(e){(1===e.which||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toCol&&this.table.columnManager.moveColumnActual(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove)))},F.prototype.moveHover=function(e){var t,n=this,i=n.table.columnManager.getElement(),o=i.scrollLeft,r=(n.touchMove?e.touches[0].pageX:e.pageX)-g.prototype.helpers.elOffset(i).left+o;n.hoverElement.style.left=r-n.startX+"px",r-oe.getHeight()/2){if(t.toRow!==e||!t.toRowAfter){var i=e.getElement();i.parentNode.insertBefore(t.placeholderElement,i.nextSibling),t.moveRow(e,!0)}}else if(t.toRow!==e||t.toRowAfter){i=e.getElement();i.previousSibling&&(i.parentNode.insertBefore(t.placeholderElement,i),t.moveRow(e,!1))}}.bind(t),e.modules.moveRow=n},H.prototype.initializeRow=function(e){var t,n=this,i={};i.mouseup=function(t){n.tableRowDrop(t,e)}.bind(n),i.mousemove=function(t){var i=e.getElement();t.pageY-g.prototype.helpers.elOffset(i).top+n.table.rowManager.element.scrollTop>e.getHeight()/2?n.toRow===e&&n.toRowAfter||(i.parentNode.insertBefore(n.placeholderElement,i.nextSibling),n.moveRow(e,!0)):(n.toRow!==e||n.toRowAfter)&&(i.parentNode.insertBefore(n.placeholderElement,i),n.moveRow(e,!1))}.bind(n),this.hasHandle||(t=e.getElement(),t.addEventListener("mousedown",function(t){1===t.which&&(n.checkTimeout=setTimeout(function(){n.startMove(t,e)},n.checkPeriod))}),t.addEventListener("mouseup",function(e){1===e.which&&n.checkTimeout&&clearTimeout(n.checkTimeout)}),this.bindTouchEvents(e,e.getElement())),e.modules.moveRow=i},H.prototype.initializeCell=function(e){var t=this,n=e.getElement(!0);n.addEventListener("mousedown",function(n){1===n.which&&(t.checkTimeout=setTimeout(function(){t.startMove(n,e.row)},t.checkPeriod))}),n.addEventListener("mouseup",function(e){1===e.which&&t.checkTimeout&&clearTimeout(t.checkTimeout)}),this.bindTouchEvents(e.row,n)},H.prototype.bindTouchEvents=function(e,t){var n,i,o,r,s,a,c=this,l=!1;t.addEventListener("touchstart",function(t){c.checkTimeout=setTimeout(function(){c.touchMove=!0,e,n=e.nextRow(),o=n?n.getHeight()/2:0,i=e.prevRow(),r=i?i.getHeight()/2:0,s=0,a=0,l=!1,c.startMove(t,e)},c.checkPeriod)},{passive:!0}),this.moving,this.toRow,this.toRowAfter,t.addEventListener("touchmove",function(t){var u,d;c.moving&&(t.preventDefault(),c.moveHover(t),l||(l=t.touches[0].pageY),u=t.touches[0].pageY-l,u>0?n&&u-s>o&&(d=n,d!==e&&(l=t.touches[0].pageY,d.getElement().parentNode.insertBefore(c.placeholderElement,d.getElement().nextSibling),c.moveRow(d,!0))):i&&-u-a>r&&(d=i,d!==e&&(l=t.touches[0].pageY,d.getElement().parentNode.insertBefore(c.placeholderElement,d.getElement()),c.moveRow(d,!1))),d&&(d,n=d.nextRow(),s=o,o=n?n.getHeight()/2:0,i=d.prevRow(),a=r,r=i?i.getHeight()/2:0))}),t.addEventListener("touchend",function(e){c.checkTimeout&&clearTimeout(c.checkTimeout),c.moving&&(c.endMove(e),c.touchMove=!1)})},H.prototype._bindMouseMove=function(){var e=this;e.table.rowManager.getDisplayRows().forEach(function(e){"row"!==e.type&&"group"!==e.type||!e.modules.moveRow.mousemove||e.getElement().addEventListener("mousemove",e.modules.moveRow.mousemove)})},H.prototype._unbindMouseMove=function(){var e=this;e.table.rowManager.getDisplayRows().forEach(function(e){"row"!==e.type&&"group"!==e.type||!e.modules.moveRow.mousemove||e.getElement().removeEventListener("mousemove",e.modules.moveRow.mousemove)})},H.prototype.startMove=function(e,t){var n=t.getElement();this.setStartPosition(e,t),this.moving=t,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=t.getWidth()+"px",this.placeholderElement.style.height=t.getHeight()+"px",this.connection?(this.table.element.classList.add("tabulator-movingrow-sending"),this.connectToTables(t)):(n.parentNode.insertBefore(this.placeholderElement,n),n.parentNode.removeChild(n)),this.hoverElement=n.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this.hoverElement.style.width=this.table.element.clientWidth+"px",this.hoverElement.style.whiteSpace="nowrap",this.hoverElement.style.overflow="hidden",this.hoverElement.style.pointerEvents="none"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this._bindMouseMove()),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove),this.moveHover(e)},H.prototype.setStartPosition=function(e,t){var n,i,o=this.touchMove?e.touches[0].pageX:e.pageX,r=this.touchMove?e.touches[0].pageY:e.pageY;n=t.getElement(),this.connection?(i=n.getBoundingClientRect(),this.startX=i.left-o+window.pageXOffset,this.startY=i.top-r+window.pageYOffset):this.startY=r-n.getBoundingClientRect().top},H.prototype.endMove=function(e){e&&1!==e.which&&!this.touchMove||(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toRow&&this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove),this.connection&&(this.table.element.classList.remove("tabulator-movingrow-sending"),this.disconnectFromTables()))},H.prototype.moveRow=function(e,t){this.toRow=e,this.toRowAfter=t},H.prototype.moveHover=function(e){this.connection?this.moveHoverConnections.call(this,e):this.moveHoverTable.call(this,e)},H.prototype.moveHoverTable=function(e){var t=this.table.rowManager.getElement(),n=t.scrollTop,i=(this.touchMove?e.touches[0].pageY:e.pageY)-t.getBoundingClientRect().top+n;this.hoverElement.style.top=i-this.startY+"px"},H.prototype.moveHoverConnections=function(e){this.hoverElement.style.left=this.startX+(this.touchMove?e.touches[0].pageX:e.pageX)+"px",this.hoverElement.style.top=this.startY+(this.touchMove?e.touches[0].pageY:e.pageY)+"px"},H.prototype.elementRowDrop=function(e,t,n){this.table.options.movableRowsElementDrop&&this.table.options.movableRowsElementDrop(e,t,!!n&&n.getComponent())},H.prototype.connectToTables=function(e){var t,n=this;this.connectionSelectorsTables&&(t=this.table.modules.comms.getConnections(this.connectionSelectorsTables),this.table.options.movableRowsSendingStart.call(this.table,t),this.table.modules.comms.send(this.connectionSelectorsTables,"moveRow","connect",{row:e})),this.connectionSelectorsElements&&(this.connectionElements=[],Array.isArray(this.connectionSelectorsElements)||(this.connectionSelectorsElements=[this.connectionSelectorsElements]),this.connectionSelectorsElements.forEach(function(e){"string"===typeof e?n.connectionElements=n.connectionElements.concat(Array.prototype.slice.call(document.querySelectorAll(e))):n.connectionElements.push(e)}),this.connectionElements.forEach(function(e){var t=function(t){n.elementRowDrop(t,e,n.moving)};e.addEventListener("mouseup",t),e.tabulatorElementDropEvent=t,e.classList.add("tabulator-movingrow-receiving")}))},H.prototype.disconnectFromTables=function(){var e;this.connectionSelectorsTables&&(e=this.table.modules.comms.getConnections(this.connectionSelectorsTables),this.table.options.movableRowsSendingStop.call(this.table,e),this.table.modules.comms.send(this.connectionSelectorsTables,"moveRow","disconnect")),this.connectionElements.forEach(function(e){e.classList.remove("tabulator-movingrow-receiving"),e.removeEventListener("mouseup",e.tabulatorElementDropEvent),delete e.tabulatorElementDropEvent})},H.prototype.connect=function(e,t){var n=this;return this.connectedTable?(console.warn("Move Row Error - Table cannot accept connection, already connected to table:",this.connectedTable),!1):(this.connectedTable=e,this.connectedRow=t,this.table.element.classList.add("tabulator-movingrow-receiving"),n.table.rowManager.getDisplayRows().forEach(function(e){"row"===e.type&&e.modules.moveRow&&e.modules.moveRow.mouseup&&e.getElement().addEventListener("mouseup",e.modules.moveRow.mouseup)}),n.tableRowDropEvent=n.tableRowDrop.bind(n),n.table.element.addEventListener("mouseup",n.tableRowDropEvent),this.table.options.movableRowsReceivingStart.call(this.table,t,e),!0)},H.prototype.disconnect=function(e){var t=this;e===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove("tabulator-movingrow-receiving"),t.table.rowManager.getDisplayRows().forEach(function(e){"row"===e.type&&e.modules.moveRow&&e.modules.moveRow.mouseup&&e.getElement().removeEventListener("mouseup",e.modules.moveRow.mouseup)}),t.table.element.removeEventListener("mouseup",t.tableRowDropEvent),this.table.options.movableRowsReceivingStop.call(this.table,e)):console.warn("Move Row Error - trying to disconnect from non connected table")},H.prototype.dropComplete=function(e,t,n){var i=!1;if(n){switch(r(this.table.options.movableRowsSender)){case"string":i=this.senders[this.table.options.movableRowsSender];break;case"function":i=this.table.options.movableRowsSender;break}i?i.call(this,this.moving.getComponent(),t?t.getComponent():void 0,e):this.table.options.movableRowsSender&&console.warn("Mover Row Error - no matching sender found:",this.table.options.movableRowsSender),this.table.options.movableRowsSent.call(this.table,this.moving.getComponent(),t?t.getComponent():void 0,e)}else this.table.options.movableRowsSentFailed.call(this.table,this.moving.getComponent(),t?t.getComponent():void 0,e);this.endMove()},H.prototype.tableRowDrop=function(e,t){var n=!1,i=!1;switch(e.stopImmediatePropagation(),r(this.table.options.movableRowsReceiver)){case"string":n=this.receivers[this.table.options.movableRowsReceiver];break;case"function":n=this.table.options.movableRowsReceiver;break}n?i=n.call(this,this.connectedRow.getComponent(),t?t.getComponent():void 0,this.connectedTable):console.warn("Mover Row Error - no matching receiver found:",this.table.options.movableRowsReceiver),i?this.table.options.movableRowsReceived.call(this.table,this.connectedRow.getComponent(),t?t.getComponent():void 0,this.connectedTable):this.table.options.movableRowsReceivedFailed.call(this.table,this.connectedRow.getComponent(),t?t.getComponent():void 0,this.connectedTable),this.table.modules.comms.send(this.connectedTable,"moveRow","dropcomplete",{row:t,success:i})},H.prototype.receivers={insert:function(e,t,n){return this.table.addRow(e.getData(),void 0,t),!0},add:function(e,t,n){return this.table.addRow(e.getData()),!0},update:function(e,t,n){return!!t&&(t.update(e.getData()),!0)},replace:function(e,t,n){return!!t&&(this.table.addRow(e.getData(),void 0,t),t.delete(),!0)}},H.prototype.senders={delete:function(e,t,n){e.delete()}},H.prototype.commsReceived=function(e,t,n){switch(t){case"connect":return this.connect(e,n.row);case"disconnect":return this.disconnect(e);case"dropcomplete":return this.dropComplete(e,n.row,n.success)}},g.prototype.registerModule("moveRow",H);var X=function(e){this.table=e,this.allowedTypes=["","data","edit","clipboard"],this.enabled=!0};X.prototype.initializeColumn=function(e){var t=this,n=!1,i={};this.allowedTypes.forEach(function(o){var r,s="mutator"+(o.charAt(0).toUpperCase()+o.slice(1));e.definition[s]&&(r=t.lookupMutator(e.definition[s]),r&&(n=!0,i[s]={mutator:r,params:e.definition[s+"Params"]||{}}))}),n&&(e.modules.mutate=i)},X.prototype.lookupMutator=function(e){var t=!1;switch("undefined"===typeof e?"undefined":r(e)){case"string":this.mutators[e]?t=this.mutators[e]:console.warn("Mutator Error - No such mutator found, ignoring: ",e);break;case"function":t=e;break}return t},X.prototype.transformRow=function(e,t,n){var i,o=this,r="mutator"+(t.charAt(0).toUpperCase()+t.slice(1));return this.enabled&&o.table.columnManager.traverse(function(o){var s,a,c;o.modules.mutate&&(s=o.modules.mutate[r]||o.modules.mutate.mutator||!1,s&&(i=o.getFieldValue("undefined"!==typeof n?n:e),"data"!=t&&"undefined"===typeof i||(c=o.getComponent(),a="function"===typeof s.params?s.params(i,e,t,c):s.params,o.setFieldValue(e,s.mutator(i,e,t,a,c)))))}),e},X.prototype.transformCell=function(e,t){var n=e.column.modules.mutate.mutatorEdit||e.column.modules.mutate.mutator||!1,i={};return n?(i=Object.assign(i,e.row.getData()),e.column.setFieldValue(i,t),n.mutator(t,i,"edit",n.params,e.getComponent())):t},X.prototype.enable=function(){this.enabled=!0},X.prototype.disable=function(){this.enabled=!1},X.prototype.mutators={},g.prototype.registerModule("mutator",X);var U=function(e){this.table=e,this.mode="local",this.progressiveLoad=!1,this.size=0,this.page=1,this.count=5,this.max=1,this.displayIndex=0,this.initialLoad=!0,this.pageSizes=[],this.dataReceivedNames={},this.dataSentNames={},this.createElements()};U.prototype.createElements=function(){var e;this.element=document.createElement("span"),this.element.classList.add("tabulator-paginator"),this.pagesElement=document.createElement("span"),this.pagesElement.classList.add("tabulator-pages"),e=document.createElement("button"),e.classList.add("tabulator-page"),e.setAttribute("type","button"),e.setAttribute("role","button"),e.setAttribute("aria-label",""),e.setAttribute("title",""),this.firstBut=e.cloneNode(!0),this.firstBut.setAttribute("data-page","first"),this.prevBut=e.cloneNode(!0),this.prevBut.setAttribute("data-page","prev"),this.nextBut=e.cloneNode(!0),this.nextBut.setAttribute("data-page","next"),this.lastBut=e.cloneNode(!0),this.lastBut.setAttribute("data-page","last"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement("select"),this.pageSizeSelect.classList.add("tabulator-page-size"))},U.prototype.generatePageSizeSelectList=function(){var e=this,t=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))t=this.table.options.paginationSizeSelector,this.pageSizes=t,-1==this.pageSizes.indexOf(this.size)&&t.unshift(this.size);else if(-1==this.pageSizes.indexOf(this.size)){t=[];for(var n=1;n<5;n++)t.push(this.size*n);this.pageSizes=t}else t=this.pageSizes;while(this.pageSizeSelect.firstChild)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);t.forEach(function(t){var n=document.createElement("option");n.value=t,!0===t?e.table.modules.localize.bind("pagination|all",function(e){n.innerHTML=e}):n.innerHTML=t,e.pageSizeSelect.appendChild(n)}),this.pageSizeSelect.value=this.size}},U.prototype.initialize=function(e){var t,n,i,o=this;this.dataSentNames=Object.assign({},this.paginationDataSentNames),this.dataSentNames=Object.assign(this.dataSentNames,this.table.options.paginationDataSent),this.dataReceivedNames=Object.assign({},this.paginationDataReceivedNames),this.dataReceivedNames=Object.assign(this.dataReceivedNames,this.table.options.paginationDataReceived),o.table.modules.localize.bind("pagination|first",function(e){o.firstBut.innerHTML=e}),o.table.modules.localize.bind("pagination|first_title",function(e){o.firstBut.setAttribute("aria-label",e),o.firstBut.setAttribute("title",e)}),o.table.modules.localize.bind("pagination|prev",function(e){o.prevBut.innerHTML=e}),o.table.modules.localize.bind("pagination|prev_title",function(e){o.prevBut.setAttribute("aria-label",e),o.prevBut.setAttribute("title",e)}),o.table.modules.localize.bind("pagination|next",function(e){o.nextBut.innerHTML=e}),o.table.modules.localize.bind("pagination|next_title",function(e){o.nextBut.setAttribute("aria-label",e),o.nextBut.setAttribute("title",e)}),o.table.modules.localize.bind("pagination|last",function(e){o.lastBut.innerHTML=e}),o.table.modules.localize.bind("pagination|last_title",function(e){o.lastBut.setAttribute("aria-label",e),o.lastBut.setAttribute("title",e)}),o.firstBut.addEventListener("click",function(){o.setPage(1).then(function(){}).catch(function(){})}),o.prevBut.addEventListener("click",function(){o.previousPage().then(function(){}).catch(function(){})}),o.nextBut.addEventListener("click",function(){o.nextPage().then(function(){}).catch(function(){})}),o.lastBut.addEventListener("click",function(){o.setPage(o.max).then(function(){}).catch(function(){})}),o.table.options.paginationElement&&(o.element=o.table.options.paginationElement),this.pageSizeSelect&&(t=document.createElement("label"),o.table.modules.localize.bind("pagination|page_size",function(e){o.pageSizeSelect.setAttribute("aria-label",e),o.pageSizeSelect.setAttribute("title",e),t.innerHTML=e}),o.element.appendChild(t),o.element.appendChild(o.pageSizeSelect),o.pageSizeSelect.addEventListener("change",function(e){o.setPageSize("true"==o.pageSizeSelect.value||o.pageSizeSelect.value),o.setPage(1).then(function(){}).catch(function(){})})),o.element.appendChild(o.firstBut),o.element.appendChild(o.prevBut),o.element.appendChild(o.pagesElement),o.element.appendChild(o.nextBut),o.element.appendChild(o.lastBut),o.table.options.paginationElement||e||o.table.footerManager.append(o.element,o),o.mode=o.table.options.pagination,o.table.options.paginationSize?o.size=o.table.options.paginationSize:(n=document.createElement("div"),n.classList.add("tabulator-row"),n.style.visibility=e,i=document.createElement("div"),i.classList.add("tabulator-cell"),i.innerHTML="Page Row Test",n.appendChild(i),o.table.rowManager.getTableElement().appendChild(n),o.size=Math.floor(o.table.rowManager.getElement().clientHeight/n.offsetHeight),o.table.rowManager.getTableElement().removeChild(n)),o.count=o.table.options.paginationButtonCount,o.generatePageSizeSelectList()},U.prototype.initializeProgressive=function(e){this.initialize(!0),this.mode="progressive_"+e,this.progressiveLoad=!0},U.prototype.setDisplayIndex=function(e){this.displayIndex=e},U.prototype.getDisplayIndex=function(){return this.displayIndex},U.prototype.setMaxRows=function(e){this.max=e?!0===this.size?1:Math.ceil(e/this.size):1,this.page>this.max&&(this.page=this.max)},U.prototype.reset=function(e,t){return("local"==this.mode||e)&&(this.page=1),t&&(this.initialLoad=!0),!0},U.prototype.setMaxPage=function(e){e=parseInt(e),this.max=e||1,this.page>this.max&&(this.page=this.max,this.trigger())},U.prototype.setPage=function(e){var t=this,n=this;switch(e){case"first":return this.setPage(1);case"prev":return this.previousPage();case"next":return this.nextPage();case"last":return this.setPage(this.max)}return new Promise(function(i,o){e=parseInt(e),e>0&&e<=t.max||"local"!==t.mode?(t.page=e,t.trigger().then(function(){i()}).catch(function(){o()}),n.table.options.persistence&&n.table.modExists("persistence",!0)&&n.table.modules.persistence.config.page&&n.table.modules.persistence.save("page")):(console.warn("Pagination Error - Requested page is out of range of 1 - "+t.max+":",e),o())})},U.prototype.setPageToRow=function(e){var t=this;return new Promise(function(n,i){var o=t.table.rowManager.getDisplayRows(t.displayIndex-1),r=o.indexOf(e);if(r>-1){var s=!0===t.size?1:Math.ceil((r+1)/t.size);t.setPage(s).then(function(){n()}).catch(function(){i()})}else console.warn("Pagination Error - Requested row is not visible"),i()})},U.prototype.setPageSize=function(e){!0!==e&&(e=parseInt(e)),e>0&&(this.size=e),this.pageSizeSelect&&this.generatePageSizeSelectList(),this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.page&&this.table.modules.persistence.save("page")},U.prototype._setPageButtons=function(){var e=this,t=Math.floor((this.count-1)/2),n=Math.ceil((this.count-1)/2),i=this.max-this.page+t+10&&r<=e.max&&e.pagesElement.appendChild(e._generatePageButton(r));this.footerRedraw()},U.prototype._generatePageButton=function(e){var t=this,n=document.createElement("button");return n.classList.add("tabulator-page"),e==t.page&&n.classList.add("active"),n.setAttribute("type","button"),n.setAttribute("role","button"),t.table.modules.localize.bind("pagination|page_title",function(t){n.setAttribute("aria-label",t+" "+e),n.setAttribute("title",t+" "+e)}),n.setAttribute("data-page",e),n.textContent=e,n.addEventListener("click",function(n){t.setPage(e).then(function(){}).catch(function(){})}),n},U.prototype.previousPage=function(){var e=this;return new Promise(function(t,n){e.page>1?(e.page--,e.trigger().then(function(){t()}).catch(function(){n()}),e.table.options.persistence&&e.table.modExists("persistence",!0)&&e.table.modules.persistence.config.page&&e.table.modules.persistence.save("page")):(console.warn("Pagination Error - Previous page would be less than page 1:",0),n())})},U.prototype.nextPage=function(){var e=this;return new Promise(function(t,n){e.pageo?i.splice(o,0,e):i.push(e))}),i},V.prototype._findColumn=function(e,t){var n=t.columns?"group":t.field?"field":"object";return e.find(function(e){switch(n){case"group":return e.title===t.title&&e.columns.length===t.columns.length;case"field":return e.field===t.field;case"object":return e===t}})},V.prototype.save=function(e){var t={};switch(e){case"columns":t=this.parseColumns(this.table.columnManager.getColumns());break;case"filter":t=this.table.modules.filter.getFilters();break;case"sort":t=this.validateSorters(this.table.modules.sort.getSort());break;case"group":t=this.getGroupConfig();break;case"page":t=this.getPageConfig();break}this.writeFunc&&this.writeFunc(this.id,e,t)},V.prototype.validateSorters=function(e){return e.forEach(function(e){e.column=e.field,delete e.field}),e},V.prototype.getGroupConfig=function(){var e={};return this.config.group&&((!0===this.config.group||this.config.group.groupBy)&&(e.groupBy=this.table.options.groupBy),(!0===this.config.group||this.config.group.groupStartOpen)&&(e.groupStartOpen=this.table.options.groupStartOpen),(!0===this.config.group||this.config.group.groupHeader)&&(e.groupHeader=this.table.options.groupHeader)),e},V.prototype.getPageConfig=function(){var e={};return this.config.page&&((!0===this.config.page||this.config.page.size)&&(e.paginationSize=this.table.modules.page.getPageSize()),(!0===this.config.page||this.config.page.page)&&(e.paginationInitialPage=this.table.modules.page.getPage())),e},V.prototype.parseColumns=function(e){var t=this,n=[],i=["headerContextMenu","headerMenu","contextMenu","clickMenu"];return e.forEach(function(e){var o,r={},s=e.getDefinition();e.isGroup?(r.title=s.title,r.columns=t.parseColumns(e.getColumns())):(r.field=e.getField(),!0===t.config.columns||void 0==t.config.columns?(o=Object.keys(s),o.push("width")):o=t.config.columns,o.forEach(function(t){switch(t){case"width":r.width=e.getWidth();break;case"visible":r.visible=e.visible;break;default:"function"!==typeof s[t]&&-1===i.indexOf(t)&&(r[t]=s[t])}})),n.push(r)}),n},V.prototype.readers={local:function(e,t){var n=localStorage.getItem(e+"-"+t);return!!n&&JSON.parse(n)},cookie:function(e,t){var n,i,o=document.cookie,r=e+"-"+t,s=o.indexOf(r+"=");return s>-1&&(o=o.substr(s),n=o.indexOf(";"),n>-1&&(o=o.substr(0,n)),i=o.replace(r+"=","")),!!i&&JSON.parse(i)}},V.prototype.writers={local:function(e,t,n){localStorage.setItem(e+"-"+t,JSON.stringify(n))},cookie:function(e,t,n){var i=new Date;i.setDate(i.getDate()+1e4),document.cookie=e+"-"+t+"="+JSON.stringify(n)+"; expires="+i.toUTCString()}},g.prototype.registerModule("persistence",V);var G=function(e){this.table=e,this.element=!1,this.manualBlock=!1};G.prototype.initialize=function(){window.addEventListener("beforeprint",this.replaceTable.bind(this)),window.addEventListener("afterprint",this.cleanup.bind(this))},G.prototype.replaceTable=function(){this.manualBlock||(this.element=document.createElement("div"),this.element.classList.add("tabulator-print-table"),this.element.appendChild(this.table.modules.export.genereateTable(this.table.options.printConfig,this.table.options.printStyled,this.table.options.printRowRange,"print")),this.table.element.style.display="none",this.table.element.parentNode.insertBefore(this.element,this.table.element))},G.prototype.cleanup=function(){document.body.classList.remove("tabulator-print-fullscreen-hide"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display="")},G.prototype.printFullscreen=function(e,t,n){var i,o,r=window.scrollX,s=window.scrollY,a=document.createElement("div"),c=document.createElement("div"),l=this.table.modules.export.genereateTable("undefined"!=typeof n?n:this.table.options.printConfig,"undefined"!=typeof t?t:this.table.options.printStyled,e,"print");this.manualBlock=!0,this.element=document.createElement("div"),this.element.classList.add("tabulator-print-fullscreen"),this.table.options.printHeader&&(a.classList.add("tabulator-print-header"),i="function"==typeof this.table.options.printHeader?this.table.options.printHeader.call(this.table):this.table.options.printHeader,"string"==typeof i?a.innerHTML=i:a.appendChild(i),this.element.appendChild(a)),this.element.appendChild(l),this.table.options.printFooter&&(c.classList.add("tabulator-print-footer"),o="function"==typeof this.table.options.printFooter?this.table.options.printFooter.call(this.table):this.table.options.printFooter,"string"==typeof o?c.innerHTML=o:c.appendChild(o),this.element.appendChild(c)),document.body.classList.add("tabulator-print-fullscreen-hide"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,l),window.print(),this.cleanup(),window.scrollTo(r,s),this.manualBlock=!1},g.prototype.registerModule("print",G);var K=function(e){this.table=e,this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0};K.prototype.watchData=function(e){var t,n=this;this.currentVersion++,t=this.currentVersion,n.unwatchData(),n.data=e,n.origFuncs.push=e.push,Object.defineProperty(n.data,"push",{enumerable:!1,configurable:!0,value:function(){var i=Array.from(arguments);return n.blocked||t!==n.currentVersion||i.forEach(function(e){n.table.rowManager.addRowActual(e,!1)}),n.origFuncs.push.apply(e,arguments)}}),n.origFuncs.unshift=e.unshift,Object.defineProperty(n.data,"unshift",{enumerable:!1,configurable:!0,value:function(){var i=Array.from(arguments);return n.blocked||t!==n.currentVersion||i.forEach(function(e){n.table.rowManager.addRowActual(e,!0)}),n.origFuncs.unshift.apply(e,arguments)}}),n.origFuncs.shift=e.shift,Object.defineProperty(n.data,"shift",{enumerable:!1,configurable:!0,value:function(){var i;return n.blocked||t!==n.currentVersion||n.data.length&&(i=n.table.rowManager.getRowFromDataObject(n.data[0]),i&&i.deleteActual()),n.origFuncs.shift.call(e)}}),n.origFuncs.pop=e.pop,Object.defineProperty(n.data,"pop",{enumerable:!1,configurable:!0,value:function(){var i;return n.blocked||t!==n.currentVersion||n.data.length&&(i=n.table.rowManager.getRowFromDataObject(n.data[n.data.length-1]),i&&i.deleteActual()),n.origFuncs.pop.call(e)}}),n.origFuncs.splice=e.splice,Object.defineProperty(n.data,"splice",{enumerable:!1,configurable:!0,value:function(){var i,o=Array.from(arguments),r=o[0]<0?e.length+o[0]:o[0],s=o[1],a=!!o[2]&&o.slice(2);if(!n.blocked&&t===n.currentVersion){if(a&&(i=!!e[r]&&n.table.rowManager.getRowFromDataObject(e[r]),i?a.forEach(function(e){n.table.rowManager.addRowActual(e,!0,i,!0)}):(a=a.slice().reverse(),a.forEach(function(e){n.table.rowManager.addRowActual(e,!0,!1,!0)}))),0!==s){var c=e.slice(r,"undefined"===typeof o[1]?o[1]:r+s);c.forEach(function(e,t){var i=n.table.rowManager.getRowFromDataObject(e);i&&i.deleteActual(t!==c.length-1)})}(a||0!==s)&&n.table.rowManager.reRenderInPosition()}return n.origFuncs.splice.apply(e,arguments)}})},K.prototype.unwatchData=function(){if(!1!==this.data)for(var e in this.origFuncs)Object.defineProperty(this.data,e,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})},K.prototype.watchRow=function(e){var t=e.getData();for(var n in this.blocked=!0,t)this.watchKey(e,t,n);this.table.options.dataTree&&this.watchTreeChildren(e),this.blocked=!1},K.prototype.watchTreeChildren=function(e){var t=this,n=e.getData()[this.table.options.dataTreeChildField],i={};function o(){t.table.modules.dataTree.initializeRow(e),t.table.modules.dataTree.layoutRow(e),t.table.rowManager.refreshActiveData("tree",!1,!0)}n&&(i.push=n.push,Object.defineProperty(n,"push",{enumerable:!1,configurable:!0,value:function(){var e=i.push.apply(n,arguments);return o(),e}}),i.unshift=n.unshift,Object.defineProperty(n,"unshift",{enumerable:!1,configurable:!0,value:function(){var e=i.unshift.apply(n,arguments);return o(),e}}),i.shift=n.shift,Object.defineProperty(n,"shift",{enumerable:!1,configurable:!0,value:function(){var e=i.shift.call(n);return o(),e}}),i.pop=n.pop,Object.defineProperty(n,"pop",{enumerable:!1,configurable:!0,value:function(){var e=i.pop.call(n);return o(),e}}),i.splice=n.splice,Object.defineProperty(n,"splice",{enumerable:!1,configurable:!0,value:function(){var e=i.splice.apply(n,arguments);return o(),e}}))},K.prototype.watchKey=function(e,t,n){var i=this,o=Object.getOwnPropertyDescriptor(t,n),r=t[n],s=this.currentVersion;Object.defineProperty(t,n,{set:function(t){if(r=t,!i.blocked&&s===i.currentVersion){var a={};a[n]=t,e.updateData(a)}o.set&&o.set(t)},get:function(){return o.get&&o.get(),r}})},K.prototype.unwatchRow=function(e){var t=e.getData();for(var n in t)Object.defineProperty(t,n,{value:t[n]})},K.prototype.block=function(){this.blocked=!0},K.prototype.unblock=function(){this.blocked=!1},g.prototype.registerModule("reactiveData",K);var $=function(e){this.table=e,this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.handle=null,this.prevHandle=null};$.prototype.initializeColumn=function(e,t,n){var i=this,o=!1,r=this.table.options.resizableColumns;if("header"===e&&(o="textarea"==t.definition.formatter||t.definition.variableHeight,t.modules.resize={variableHeight:o}),!0===r||r==e){var s=document.createElement("div");s.className="tabulator-col-resize-handle";var a=document.createElement("div");a.className="tabulator-col-resize-handle prev",s.addEventListener("click",function(e){e.stopPropagation()});var c=function(e){var n=t.getLastColumn();n&&i._checkResizability(n)&&(i.startColumn=t,i._mouseDown(e,n,s))};s.addEventListener("mousedown",c),s.addEventListener("touchstart",c,{passive:!0}),s.addEventListener("dblclick",function(e){var n=t.getLastColumn();n&&i._checkResizability(n)&&(e.stopPropagation(),n.reinitializeWidth(!0))}),a.addEventListener("click",function(e){e.stopPropagation()});var l=function(e){var n,o,r;n=t.getFirstColumn(),n&&(o=i.table.columnManager.findColumnIndex(n),r=o>0&&i.table.columnManager.getColumnByIndex(o-1),r&&i._checkResizability(r)&&(i.startColumn=t,i._mouseDown(e,r,a)))};a.addEventListener("mousedown",l),a.addEventListener("touchstart",l,{passive:!0}),a.addEventListener("dblclick",function(e){var n,o,r;n=t.getFirstColumn(),n&&(o=i.table.columnManager.findColumnIndex(n),r=o>0&&i.table.columnManager.getColumnByIndex(o-1),r&&i._checkResizability(r)&&(e.stopPropagation(),r.reinitializeWidth(!0)))}),n.appendChild(s),n.appendChild(a)}},$.prototype._checkResizability=function(e){return"undefined"!=typeof e.definition.resizable?e.definition.resizable:this.table.options.resizableColumns},$.prototype._mouseDown=function(e,t,n){var i=this;function o(e){i.table.rtl?t.setWidth(i.startWidth-(("undefined"===typeof e.screenX?e.touches[0].screenX:e.screenX)-i.startX)):t.setWidth(i.startWidth+(("undefined"===typeof e.screenX?e.touches[0].screenX:e.screenX)-i.startX)),i.table.options.virtualDomHoz&&i.table.vdomHoz.reinitialize(!0),!i.table.browserSlow&&t.modules.resize&&t.modules.resize.variableHeight&&t.checkCellHeights()}function r(e){i.startColumn.modules.edit&&(i.startColumn.modules.edit.blocked=!1),i.table.browserSlow&&t.modules.resize&&t.modules.resize.variableHeight&&t.checkCellHeights(),document.body.removeEventListener("mouseup",r),document.body.removeEventListener("mousemove",o),n.removeEventListener("touchmove",o),n.removeEventListener("touchend",r),i.table.element.classList.remove("tabulator-block-select"),i.table.options.persistence&&i.table.modExists("persistence",!0)&&i.table.modules.persistence.config.columns&&i.table.modules.persistence.save("columns"),i.table.options.columnResized.call(i.table,t.getComponent())}i.table.element.classList.add("tabulator-block-select"),e.stopPropagation(),i.startColumn.modules.edit&&(i.startColumn.modules.edit.blocked=!0),i.startX="undefined"===typeof e.screenX?e.touches[0].screenX:e.screenX,i.startWidth=t.getWidth(),document.body.addEventListener("mousemove",o),document.body.addEventListener("mouseup",r),n.addEventListener("touchmove",o,{passive:!0}),n.addEventListener("touchend",r)},g.prototype.registerModule("resizeColumns",$);var Y=function(e){this.table=e,this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null};Y.prototype.initializeRow=function(e){var t=this,n=e.getElement(),i=document.createElement("div");i.className="tabulator-row-resize-handle";var o=document.createElement("div");o.className="tabulator-row-resize-handle prev",i.addEventListener("click",function(e){e.stopPropagation()});var r=function(n){t.startRow=e,t._mouseDown(n,e,i)};i.addEventListener("mousedown",r),i.addEventListener("touchstart",r,{passive:!0}),o.addEventListener("click",function(e){e.stopPropagation()});var s=function(n){var i=t.table.rowManager.prevDisplayRow(e);i&&(t.startRow=i,t._mouseDown(n,i,o))};o.addEventListener("mousedown",s),o.addEventListener("touchstart",s,{passive:!0}),n.appendChild(i),n.appendChild(o)},Y.prototype._mouseDown=function(e,t,n){var i=this;function o(e){t.setHeight(i.startHeight+(("undefined"===typeof e.screenY?e.touches[0].screenY:e.screenY)-i.startY))}function r(e){document.body.removeEventListener("mouseup",o),document.body.removeEventListener("mousemove",o),n.removeEventListener("touchmove",o),n.removeEventListener("touchend",r),i.table.element.classList.remove("tabulator-block-select"),i.table.options.rowResized.call(this.table,t.getComponent())}i.table.element.classList.add("tabulator-block-select"),e.stopPropagation(),i.startY="undefined"===typeof e.screenY?e.touches[0].screenY:e.screenY,i.startHeight=t.getHeight(),document.body.addEventListener("mousemove",o),document.body.addEventListener("mouseup",r),n.addEventListener("touchmove",o,{passive:!0}),n.addEventListener("touchend",r)},g.prototype.registerModule("resizeRows",Y);var J=function(e){this.table=e,this.binding=!1,this.observer=!1,this.containerObserver=!1,this.tableHeight=0,this.tableWidth=0,this.containerHeight=0,this.containerWidth=0,this.autoResize=!1};J.prototype.initialize=function(e){var t,n=this,i=this.table;this.tableHeight=i.element.clientHeight,this.tableWidth=i.element.clientWidth,i.element.parentNode&&(this.containerHeight=i.element.parentNode.clientHeight,this.containerWidth=i.element.parentNode.clientWidth),"undefined"!==typeof ResizeObserver&&"virtual"===i.rowManager.getRenderMode()?(this.autoResize=!0,this.observer=new ResizeObserver(function(e){if(!i.browserMobile||i.browserMobile&&!i.modules.edit.currentCell){var t=Math.floor(e[0].contentRect.height),o=Math.floor(e[0].contentRect.width);n.tableHeight==t&&n.tableWidth==o||(n.tableHeight=t,n.tableWidth=o,i.element.parentNode&&(n.containerHeight=i.element.parentNode.clientHeight,n.containerWidth=i.element.parentNode.clientWidth),i.options.virtualDomHoz&&i.vdomHoz.reinitialize(!0),i.redraw())}}),this.observer.observe(i.element),t=window.getComputedStyle(i.element),this.table.element.parentNode&&!this.table.rowManager.fixedHeight&&(t.getPropertyValue("max-height")||t.getPropertyValue("min-height"))&&(this.containerObserver=new ResizeObserver(function(e){if(!i.browserMobile||i.browserMobile&&!i.modules.edit.currentCell){var t=Math.floor(e[0].contentRect.height),o=Math.floor(e[0].contentRect.width);n.containerHeight==t&&n.containerWidth==o||(n.containerHeight=t,n.containerWidth=o,n.tableHeight=i.element.clientHeight,n.tableWidth=i.element.clientWidth),i.options.virtualDomHoz&&i.vdomHoz.reinitialize(!0),i.redraw()}}),this.containerObserver.observe(this.table.element.parentNode))):(this.binding=function(){(!i.browserMobile||i.browserMobile&&!i.modules.edit.currentCell)&&(i.options.virtualDomHoz&&i.vdomHoz.reinitialize(!0),i.redraw())},window.addEventListener("resize",this.binding))},J.prototype.clearBindings=function(e){this.binding&&window.removeEventListener("resize",this.binding),this.observer&&this.observer.unobserve(this.table.element),this.containerObserver&&this.containerObserver.unobserve(this.table.element.parentNode)},g.prototype.registerModule("resizeTable",J);var Q=function(e){this.table=e,this.columns=[],this.hiddenColumns=[],this.mode="",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0,this.collapseHandleColumn=!1};Q.prototype.initialize=function(){var e=this,t=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach(function(n,i){n.modules.responsive&&n.modules.responsive.order&&n.modules.responsive.visible&&(n.modules.responsive.index=i,t.push(n),n.visible||"collapse"!==e.mode||e.hiddenColumns.push(n))}),t=t.reverse(),t=t.sort(function(e,t){var n=t.modules.responsive.order-e.modules.responsive.order;return n||t.modules.responsive.index-e.modules.responsive.index}),this.columns=t,"collapse"===this.mode&&this.generateCollapsedContent();var n=this.table.columnManager.columnsByIndex,i=Array.isArray(n),o=0;for(n=i?n:n[Symbol.iterator]();;){var r;if(i){if(o>=n.length)break;r=n[o++]}else{if(o=n.next(),o.done)break;r=o.value}var s=r;if("responsiveCollapse"==s.definition.formatter){this.collapseHandleColumn=s;break}}this.collapseHandleColumn&&(this.hiddenColumns.length?this.collapseHandleColumn.show():this.collapseHandleColumn.hide())},Q.prototype.initializeColumn=function(e){var t=e.getDefinition();e.modules.responsive={order:"undefined"===typeof t.responsive?1:t.responsive,visible:!1!==t.visible}},Q.prototype.initializeRow=function(e){var t;"calc"!==e.type&&(t=document.createElement("div"),t.classList.add("tabulator-responsive-collapse"),e.modules.responsiveLayout={element:t,open:this.collapseStartOpen},this.collapseStartOpen||(t.style.display="none"))},Q.prototype.layoutRow=function(e){var t=e.getElement();e.modules.responsiveLayout&&(t.appendChild(e.modules.responsiveLayout.element),this.generateCollapsedRowContent(e))},Q.prototype.updateColumnVisibility=function(e,t){e.modules.responsive&&(e.modules.responsive.visible=t,this.initialize())},Q.prototype.hideColumn=function(e){var t=this.hiddenColumns.length;e.hide(!1,!0),"collapse"===this.mode&&(this.hiddenColumns.unshift(e),this.generateCollapsedContent(),this.collapseHandleColumn&&!t&&this.collapseHandleColumn.show())},Q.prototype.showColumn=function(e){var t;e.show(!1,!0),e.setWidth(e.getWidth()),"collapse"===this.mode&&(t=this.hiddenColumns.indexOf(e),t>-1&&this.hiddenColumns.splice(t,1),this.generateCollapsedContent(),this.collapseHandleColumn&&!this.hiddenColumns.length&&this.collapseHandleColumn.hide())},Q.prototype.update=function(){var e=this,t=!0;while(t){var n="fitColumns"==e.table.modules.layout.getMode()?e.table.columnManager.getFlexBaseWidth():e.table.columnManager.getWidth(),i=(e.table.options.headerVisible?e.table.columnManager.element.clientWidth:e.table.element.clientWidth)-n;if(i<0){var o=e.columns[e.index];o?(e.hideColumn(o),e.index++):t=!1}else{var r=e.columns[e.index-1];r&&i>0&&i>=r.getWidth()?(e.showColumn(r),e.index--):t=!1}e.table.rowManager.activeRowsCount||e.table.rowManager.renderEmptyScroll()}},Q.prototype.generateCollapsedContent=function(){var e=this,t=this.table.rowManager.getDisplayRows();t.forEach(function(t){e.generateCollapsedRowContent(t)})},Q.prototype.generateCollapsedRowContent=function(e){var t,n;if(e.modules.responsiveLayout){t=e.modules.responsiveLayout.element;while(t.firstChild)t.removeChild(t.firstChild);n=this.collapseFormatter(this.generateCollapsedRowData(e)),n&&t.appendChild(n)}},Q.prototype.generateCollapsedRowData=function(e){var t,n=this,i=e.getData(),o=[];return this.hiddenColumns.forEach(function(r){var s=r.getFieldValue(i);r.definition.title&&r.field&&(r.modules.format&&n.table.options.responsiveLayoutCollapseUseFormatters?(t={value:!1,data:{},getValue:function(){return s},getData:function(){return i},getElement:function(){return document.createElement("div")},getRow:function(){return e.getComponent()},getColumn:function(){return r.getComponent()}},o.push({field:r.field,title:r.definition.title,value:r.modules.format.formatter.call(n.table.modules.format,t,r.modules.format.params)})):o.push({field:r.field,title:r.definition.title,value:s}))}),o},Q.prototype.formatCollapsedData=function(e){var t=document.createElement("table");return e.forEach(function(e){var n,i=document.createElement("tr"),o=document.createElement("td"),r=document.createElement("td"),s=document.createElement("strong");o.appendChild(s),this.table.modules.localize.bind("columns|"+e.field,function(t){s.innerText=t||e.title}),e.value instanceof Node?(n=document.createElement("div"),n.appendChild(e.value),r.appendChild(n)):r.innerHTML=e.value,i.appendChild(o),i.appendChild(r),t.appendChild(i)},this),Object.keys(e).length?t:""},g.prototype.registerModule("responsiveLayout",Q);var Z=function(e){this.table=e,this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],this.headerCheckboxElement=null};Z.prototype.clearSelectionData=function(e){this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],e||this._rowSelectionChanged()},Z.prototype.initializeRow=function(e){var t=this,n=e.getElement(),i=function e(){setTimeout(function(){t.selecting=!1},50),document.body.removeEventListener("mouseup",e)};e.modules.select={selected:!1},t.table.options.selectableCheck.call(this.table,e.getComponent())?(n.classList.add("tabulator-selectable"),n.classList.remove("tabulator-unselectable"),t.table.options.selectable&&"highlight"!=t.table.options.selectable&&("click"===t.table.options.selectableRangeMode?n.addEventListener("click",function(n){if(n.shiftKey){t.table._clearSelection(),t.lastClickedRow=t.lastClickedRow||e;var i=t.table.rowManager.getDisplayRowIndex(t.lastClickedRow),o=t.table.rowManager.getDisplayRowIndex(e),r=i<=o?i:o,s=i>=o?i:o,a=t.table.rowManager.getDisplayRows().slice(0),c=a.splice(r,s-r+1);n.ctrlKey||n.metaKey?(c.forEach(function(n){n!==t.lastClickedRow&&(!0===t.table.options.selectable||t.isRowSelected(e)?t.toggleRow(n):t.selectedRows.lengtht.table.options.selectable&&(c=c.slice(0,t.table.options.selectable)),t.selectRows(c)),t.table._clearSelection()}else n.ctrlKey||n.metaKey?(t.toggleRow(e),t.lastClickedRow=e):(t.deselectRows(void 0,!0),t.selectRows(e),t.lastClickedRow=e)}):(n.addEventListener("click",function(n){t.table.modExists("edit")&&t.table.modules.edit.getCurrentCell()||t.table._clearSelection(),t.selecting||t.toggleRow(e)}),n.addEventListener("mousedown",function(n){if(n.shiftKey)return t.table._clearSelection(),t.selecting=!0,t.selectPrev=[],document.body.addEventListener("mouseup",i),document.body.addEventListener("keyup",i),t.toggleRow(e),!1}),n.addEventListener("mouseenter",function(n){t.selecting&&(t.table._clearSelection(),t.toggleRow(e),t.selectPrev[1]==e&&t.toggleRow(t.selectPrev[0]))}),n.addEventListener("mouseout",function(n){t.selecting&&(t.table._clearSelection(),t.selectPrev.unshift(e))})))):(n.classList.add("tabulator-unselectable"),n.classList.remove("tabulator-selectable"))},Z.prototype.toggleRow=function(e){this.table.options.selectableCheck.call(this.table,e.getComponent())&&(e.modules.select&&e.modules.select.selected?this._deselectRow(e):this._selectRow(e))},Z.prototype.selectRows=function(e){var t,n=this;switch("undefined"===typeof e?"undefined":r(e)){case"undefined":this.table.rowManager.rows.forEach(function(e){n._selectRow(e,!0,!0)}),this._rowSelectionChanged();break;case"string":t=this.table.rowManager.findRow(e),t?this._selectRow(t,!0,!0):this.table.rowManager.getRows(e).forEach(function(e){n._selectRow(e,!0,!0)}),this._rowSelectionChanged();break;default:Array.isArray(e)?(e.forEach(function(e){n._selectRow(e,!0,!0)}),this._rowSelectionChanged()):this._selectRow(e,!1,!0);break}},Z.prototype._selectRow=function(e,t,n){if(!isNaN(this.table.options.selectable)&&!0!==this.table.options.selectable&&!n&&this.selectedRows.length>=this.table.options.selectable){if(!this.table.options.selectableRollingSelection)return!1;this._deselectRow(this.selectedRows[0])}var i=this.table.rowManager.findRow(e);i?-1==this.selectedRows.indexOf(i)&&(i.getElement().classList.add("tabulator-selected"),i.modules.select||(i.modules.select={}),i.modules.select.selected=!0,i.modules.select.checkboxEl&&(i.modules.select.checkboxEl.checked=!0),this.selectedRows.push(i),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(i,!0),t||this.table.options.rowSelected.call(this.table,i.getComponent()),this._rowSelectionChanged(t)):t||console.warn("Selection Error - No such row found, ignoring selection:"+e)},Z.prototype.isRowSelected=function(e){return-1!==this.selectedRows.indexOf(e)},Z.prototype.deselectRows=function(e,t){var n,i=this;if("undefined"==typeof e){n=i.selectedRows.length;for(var o=0;o-1&&(o.getElement().classList.remove("tabulator-selected"),o.modules.select||(o.modules.select={}),o.modules.select.selected=!1,o.modules.select.checkboxEl&&(o.modules.select.checkboxEl.checked=!1),i.selectedRows.splice(n,1),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(o,!1),t||i.table.options.rowDeselected.call(this.table,o.getComponent()),i._rowSelectionChanged(t))):t||console.warn("Deselection Error - No such row found, ignoring selection:"+e)},Z.prototype.getSelectedData=function(){var e=[];return this.selectedRows.forEach(function(t){e.push(t.getData())}),e},Z.prototype.getSelectedRows=function(){var e=[];return this.selectedRows.forEach(function(t){e.push(t.getComponent())}),e},Z.prototype._rowSelectionChanged=function(e){this.headerCheckboxElement&&(0===this.selectedRows.length?(this.headerCheckboxElement.checked=!1,this.headerCheckboxElement.indeterminate=!1):this.table.rowManager.rows.length===this.selectedRows.length?(this.headerCheckboxElement.checked=!0,this.headerCheckboxElement.indeterminate=!1):(this.headerCheckboxElement.indeterminate=!0,this.headerCheckboxElement.checked=!1)),e||this.table.options.rowSelectionChanged.call(this.table,this.getSelectedData(),this.getSelectedRows())},Z.prototype.registerRowSelectCheckbox=function(e,t){e._row.modules.select||(e._row.modules.select={}),e._row.modules.select.checkboxEl=t},Z.prototype.registerHeaderSelectCheckbox=function(e){this.headerCheckboxElement=e},Z.prototype.childRowSelection=function(e,t){var n=this.table.modules.dataTree.getChildren(e,!0);if(t){var i=n,o=Array.isArray(i),r=0;for(i=o?i:i[Symbol.iterator]();;){var s;if(o){if(r>=i.length)break;s=i[r++]}else{if(r=i.next(),r.done)break;s=r.value}var a=s;this._selectRow(a,!0)}}else{var c=n,l=Array.isArray(c),u=0;for(c=l?c:c[Symbol.iterator]();;){var d;if(l){if(u>=c.length)break;d=c[u++]}else{if(u=c.next(),u.done)break;d=u.value}var h=d;this._deselectRow(h,!0)}}},g.prototype.registerModule("selectRow",Z);var ee=function(e){this.table=e,this.sortList=[],this.changed=!1};ee.prototype.initializeColumn=function(e,t){var n,i,o=this,s=!1;switch(r(e.definition.sorter)){case"string":o.sorters[e.definition.sorter]?s=o.sorters[e.definition.sorter]:console.warn("Sort Error - No such sorter found: ",e.definition.sorter);break;case"function":s=e.definition.sorter;break}e.modules.sort={sorter:s,dir:"none",params:e.definition.sorterParams||{},startingDir:e.definition.headerSortStartingDir||"asc",tristate:"undefined"!==typeof e.definition.headerSortTristate?e.definition.headerSortTristate:this.table.options.headerSortTristate},("undefined"===typeof e.definition.headerSort?!1!==this.table.options.headerSort:!1!==e.definition.headerSort)&&(n=e.getElement(),n.classList.add("tabulator-sortable"),i=document.createElement("div"),i.classList.add("tabulator-col-sorter"),"object"==r(this.table.options.headerSortElement)?i.appendChild(this.table.options.headerSortElement):i.innerHTML=this.table.options.headerSortElement,t.appendChild(i),e.modules.sort.element=i,n.addEventListener("click",function(t){var n="",i=[],r=!1;if(e.modules.sort){if(e.modules.sort.tristate)n="none"==e.modules.sort.dir?e.modules.sort.startingDir:e.modules.sort.dir==e.modules.sort.startingDir?"asc"==e.modules.sort.dir?"desc":"asc":"none";else switch(e.modules.sort.dir){case"asc":n="desc";break;case"desc":n="asc";break;default:n=e.modules.sort.startingDir}o.table.options.columnHeaderSortMulti&&(t.shiftKey||t.ctrlKey)?(i=o.getSort(),r=i.findIndex(function(t){return t.field===e.getField()}),r>-1?(i[r].dir=n,r!=i.length-1&&(r=i.splice(r,1)[0],"none"!=n&&i.push(r))):"none"!=n&&i.push({column:e,dir:n}),o.setSort(i)):"none"==n?o.clear():o.setSort(e,n),o.table.rowManager.sorterRefresh(!o.sortList.length)}}))},ee.prototype.hasChanged=function(){var e=this.changed;return this.changed=!1,e},ee.prototype.getSort=function(){var e=this,t=[];return e.sortList.forEach(function(e){e.column&&t.push({column:e.column.getComponent(),field:e.column.getField(),dir:e.dir})}),t},ee.prototype.setSort=function(e,t){var n=this,i=[];Array.isArray(e)||(e=[{column:e,dir:t}]),e.forEach(function(e){var t;t=n.table.columnManager.findColumn(e.column),t?(e.column=t,i.push(e),n.changed=!0):console.warn("Sort Warning - Sort field does not exist and is being ignored: ",e.column)}),n.sortList=i,this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.sort&&this.table.modules.persistence.save("sort")},ee.prototype.clear=function(){this.setSort([])},ee.prototype.findSorter=function(e){var t,n,i=this.table.rowManager.activeRows[0],o="string";if(i&&(i=i.getData(),t=e.getField(),t))switch(n=e.getFieldValue(i),"undefined"===typeof n?"undefined":r(n)){case"undefined":o="string";break;case"boolean":o="boolean";break;default:isNaN(n)||""===n?n.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(o="alphanum"):o="number";break}return this.sorters[o]},ee.prototype.sort=function(e){var t=this,n=this.table.options.sortOrderReverse?t.sortList.slice().reverse():t.sortList,i=[],o=[];t.table.options.dataSorting&&t.table.options.dataSorting.call(t.table,t.getSort()),t.clearColumnHeaders(),t.table.options.ajaxSorting?n.forEach(function(e,n){t.setColumnHeader(e.column,e.dir)}):(n.forEach(function(e,n){var o=e.column.modules.sort;e.column&&o&&(o.sorter||(o.sorter=t.findSorter(e.column)),e.params="function"===typeof o.params?o.params(e.column.getComponent(),e.dir):o.params,i.push(e)),t.setColumnHeader(e.column,e.dir)}),i.length&&t._sortItems(e,i)),t.table.options.dataSorted&&(e.forEach(function(e){o.push(e.getComponent())}),t.table.options.dataSorted.call(t.table,t.getSort(),o))},ee.prototype.clearColumnHeaders=function(){this.table.columnManager.getRealColumns().forEach(function(e){e.modules.sort&&(e.modules.sort.dir="none",e.getElement().setAttribute("aria-sort","none"))})},ee.prototype.setColumnHeader=function(e,t){e.modules.sort.dir=t,e.getElement().setAttribute("aria-sort",t)},ee.prototype._sortItems=function(e,t){var n=this,i=t.length-1;e.sort(function(e,o){for(var r,s=i;s>=0;s--){var a=t[s];if(r=n._sortRow(e,o,a.column,a.dir,a.params),0!==r)break}return r})},ee.prototype._sortRow=function(e,t,n,i,o){var r,s,a="asc"==i?e:t,c="asc"==i?t:e;return e=n.getFieldValue(a.getData()),t=n.getFieldValue(c.getData()),e="undefined"!==typeof e?e:"",t="undefined"!==typeof t?t:"",r=a.getComponent(),s=c.getComponent(),n.modules.sort.sorter.call(this,e,t,r,s,n.getComponent(),i,o)},ee.prototype.sorters={number:function(e,t,n,i,o,r,s){var a=s.alignEmptyValues,c=s.decimalSeparator,l=s.thousandSeparator,u=0;if(e=String(e),t=String(t),l&&(e=e.split(l).join(""),t=t.split(l).join("")),c&&(e=e.split(c).join("."),t=t.split(c).join(".")),e=parseFloat(e),t=parseFloat(t),isNaN(e))u=isNaN(t)?0:-1;else{if(!isNaN(t))return e-t;u=1}return("top"===a&&"desc"===r||"bottom"===a&&"asc"===r)&&(u*=-1),u},string:function(e,t,n,i,o,s,a){var c,l=a.alignEmptyValues,u=0;if(e){if(t){switch(r(a.locale)){case"boolean":a.locale&&(c=this.table.modules.localize.getLocale());break;case"string":c=a.locale;break}return String(e).toLowerCase().localeCompare(String(t).toLowerCase(),c)}u=1}else u=t?-1:0;return("top"===l&&"desc"===s||"bottom"===l&&"asc"===s)&&(u*=-1),u},date:function(e,t,n,i,o,r,s){return s.format||(s.format="DD/MM/YYYY"),this.sorters.datetime.call(this,e,t,n,i,o,r,s)},time:function(e,t,n,i,o,r,s){return s.format||(s.format="HH:mm"),this.sorters.datetime.call(this,e,t,n,i,o,r,s)},datetime:function(e,t,n,i,o,r,s){var a=s.format||"DD/MM/YYYY HH:mm:ss",c=s.alignEmptyValues,l=0;if("undefined"!=typeof moment){if(e=moment(e,a),t=moment(t,a),e.isValid()){if(t.isValid())return e-t;l=1}else l=t.isValid()?-1:0;return("top"===c&&"desc"===r||"bottom"===c&&"asc"===r)&&(l*=-1),l}console.error("Sort Error - 'datetime' sorter is dependant on moment.js")},boolean:function(e,t,n,i,o,r,s){var a=!0===e||"true"===e||"True"===e||1===e?1:0,c=!0===t||"true"===t||"True"===t||1===t?1:0;return a-c},array:function(e,t,n,i,o,r,s){var a=0,c=0,l=s.type||"length",u=s.alignEmptyValues,d=0;function h(e){switch(l){case"length":return e.length;case"sum":return e.reduce(function(e,t){return e+t});case"max":return Math.max.apply(null,e);case"min":return Math.min.apply(null,e);case"avg":return e.reduce(function(e,t){return e+t})/e.length}}if(Array.isArray(e)){if(Array.isArray(t))return a=e?h(e):0,c=t?h(t):0,a-c;u=1}else u=Array.isArray(t)?-1:0;return("top"===u&&"desc"===r||"bottom"===u&&"asc"===r)&&(d*=-1),d},exists:function(e,t,n,i,o,r,s){var a="undefined"==typeof e?0:1,c="undefined"==typeof t?0:1;return a-c},alphanum:function(e,t,n,i,o,r,s){var a,c,l,u,d,h=0,p=/(\d+)|(\D+)/g,f=/\d/,m=s.alignEmptyValues,g=0;if(e||0===e){if(t||0===t){if(isFinite(e)&&isFinite(t))return e-t;if(a=String(e).toLowerCase(),c=String(t).toLowerCase(),a===c)return 0;if(!f.test(a)||!f.test(c))return a>c?1:-1;a=a.match(p),c=c.match(p),d=a.length>c.length?c.length:a.length;while(hu?1:-1;return a.length>c.length}g=1}else g=t||0===t?-1:0;return("top"===m&&"desc"===r||"bottom"===m&&"asc"===r)&&(g*=-1),g}},g.prototype.registerModule("sort",ee);var te=function(e){this.table=e,this.invalidCells=[]};te.prototype.initializeColumn=function(e){var t,n=this,i=[];e.definition.validator&&(Array.isArray(e.definition.validator)?e.definition.validator.forEach(function(e){t=n._extractValidator(e),t&&i.push(t)}):(t=this._extractValidator(e.definition.validator),t&&i.push(t)),e.modules.validate=!!i.length&&i)},te.prototype._extractValidator=function(e){var t,n,i;switch("undefined"===typeof e?"undefined":r(e)){case"string":return i=e.indexOf(":"),i>-1?(t=e.substring(0,i),n=e.substring(i+1)):t=e,this._buildValidator(t,n);case"function":return this._buildValidator(e);case"object":return this._buildValidator(e.type,e.parameters)}},te.prototype._buildValidator=function(e,t){var n="function"==typeof e?e:this.validators[e];return n?{type:"function"==typeof e?"function":e,func:n,params:t}:(console.warn("Validator Setup Error - No matching validator found:",e),!1)},te.prototype.validate=function(e,t,n){var i=this,o=[],r=this.invalidCells.indexOf(t);return e&&e.forEach(function(e){e.func.call(i,t.getComponent(),n,e.params)||o.push({type:e.type,parameters:e.params})}),o=!o.length||o,t.modules.validate||(t.modules.validate={}),!0===o?(t.modules.validate.invalid=!1,t.getElement().classList.remove("tabulator-validation-fail"),r>-1&&this.invalidCells.splice(r,1)):(t.modules.validate.invalid=!0,"manual"!==this.table.options.validationMode&&t.getElement().classList.add("tabulator-validation-fail"),-1==r&&this.invalidCells.push(t)),o},te.prototype.getInvalidCells=function(){var e=[];return this.invalidCells.forEach(function(t){e.push(t.getComponent())}),e},te.prototype.clearValidation=function(e){var t;e.modules.validate&&e.modules.validate.invalid&&(e.getElement().classList.remove("tabulator-validation-fail"),e.modules.validate.invalid=!1,t=this.invalidCells.indexOf(e),t>-1&&this.invalidCells.splice(t,1))},te.prototype.validators={integer:function(e,t,n){return""===t||null===t||"undefined"===typeof t||(t=Number(t),"number"===typeof t&&isFinite(t)&&Math.floor(t)===t)},float:function(e,t,n){return""===t||null===t||"undefined"===typeof t||(t=Number(t),"number"===typeof t&&isFinite(t)&&t%1!==0)},numeric:function(e,t,n){return""===t||null===t||"undefined"===typeof t||!isNaN(t)},string:function(e,t,n){return""===t||null===t||"undefined"===typeof t||isNaN(t)},max:function(e,t,n){return""===t||null===t||"undefined"===typeof t||parseFloat(t)<=n},min:function(e,t,n){return""===t||null===t||"undefined"===typeof t||parseFloat(t)>=n},starts:function(e,t,n){return""===t||null===t||"undefined"===typeof t||String(t).toLowerCase().startsWith(String(n).toLowerCase())},ends:function(e,t,n){return""===t||null===t||"undefined"===typeof t||String(t).toLowerCase().endsWith(String(n).toLowerCase())},minLength:function(e,t,n){return""===t||null===t||"undefined"===typeof t||String(t).length>=n},maxLength:function(e,t,n){return""===t||null===t||"undefined"===typeof t||String(t).length<=n},in:function(e,t,n){return""===t||null===t||"undefined"===typeof t||("string"==typeof n&&(n=n.split("|")),""===t||n.indexOf(t)>-1)},regex:function(e,t,n){if(""===t||null===t||"undefined"===typeof t)return!0;var i=new RegExp(n);return i.test(t)},unique:function(e,t,n){if(""===t||null===t||"undefined"===typeof t)return!0;var i=!0,o=e.getData(),r=e.getColumn()._getSelf();return this.table.rowManager.rows.forEach(function(e){var n=e.getData();n!==o&&t==r.getFieldValue(n)&&(i=!1)}),i},required:function(e,t,n){return""!==t&&null!==t&&"undefined"!==typeof t}},g.prototype.registerModule("validate",te),n["a"]=g},e34e:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("cf81"),o=function(){function e(e){this._binding=e}return e.prototype.onActivation=function(e){return this._binding.onActivation=e,new i.BindingWhenSyntax(this._binding)},e}();t.BindingOnSyntax=o},e372:function(e,t,n){t=e.exports=n("ad71"),t.Stream=t,t.Readable=t,t.Writable=n("dc14"),t.Duplex=n("b19a"),t.Transform=n("27bf"),t.PassThrough=n("780f")},e445:function(e,t,n){},e45b:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),s=n("3a92"),a=n("7f73"),c=n("e45b"),l=n("dd02"),u=n("66f9"),d=n("3585"),h=n("168d"),p=function(){function e(){}return e.prototype.decorate=function(e,t){if(a.isDecoration(t)){var n=this.getPosition(t),i="translate("+n.x+", "+n.y+")";c.setAttr(e,"transform",i)}return e},e.prototype.getPosition=function(e){if(e instanceof s.SChildElement&&e.parent instanceof d.SRoutableElement){var t=this.edgeRouterRegistry.get(e.parent.routerKind),n=t.route(e.parent);if(n.length>1){var i=Math.floor(.5*(n.length-1)),o=u.isSizeable(e)?{x:-.5*e.bounds.width,y:-.5*e.bounds.width}:l.ORIGIN_POINT;return{x:.5*(n[i].x+n[i+1].x)+o.x,y:.5*(n[i].y+n[i+1].y)+o.y}}}return u.isSizeable(e)?{x:-.666*e.bounds.width,y:-.666*e.bounds.height}:l.ORIGIN_POINT},e.prototype.postUpdate=function(){},i([r.inject(h.EdgeRouterRegistry),o("design:type",h.EdgeRouterRegistry)],e.prototype,"edgeRouterRegistry",void 0),e=i([r.injectable()],e),e}();t.DecorationPlacer=p},e5a7:function(e,t,n){},e629:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){this.startFn=e,this.nextFn=t}return e.prototype[Symbol.iterator]=function(){var e,t=this,n=(e={state:this.startFn(),next:function(){return t.nextFn(n.state)}},e[Symbol.iterator]=function(){return n},e);return n},e.prototype.filter=function(e){return r(this,e)},e.prototype.map=function(e){return s(this,e)},e.prototype.forEach=function(e){var t,n=this[Symbol.iterator](),i=0;do{t=n.next(),void 0!==t.value&&e(t.value,i),i++}while(!t.done)},e.prototype.indexOf=function(e){var t,n=this[Symbol.iterator](),i=0;do{if(t=n.next(),t.value===e)return i;i++}while(!t.done);return-1},e}();function o(e){if(e.constructor===Array)return e;var t=[];return e.forEach(function(e){return t.push(e)}),t}function r(e,t){return new i(function(){return a(e)},function(e){var n;do{n=e.next()}while(!n.done&&!t(n.value));return n})}function s(e,n){return new i(function(){return a(e)},function(e){var i=e.next(),o=i.done,r=i.value;return o?t.DONE_RESULT:{done:!1,value:n(r)}})}function a(e){var n=e[Symbol.iterator];if("function"===typeof n)return n.call(e);var i=e.length;return"number"===typeof i&&i>=0?new c(e):{next:function(){return t.DONE_RESULT}}}t.FluentIterableImpl=i,t.toArray=o,t.DONE_RESULT=Object.freeze({done:!0,value:void 0}),t.filterIterable=r,t.mapIterable=s;var c=function(){function e(e){this.array=e,this.index=0}return e.prototype.next=function(){return this.index=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};Object.defineProperty(t,"__esModule",{value:!0});var r=n("e1c6"),s=n("c146"),a=n("3a92"),c=n("e45b"),l=n("7d36"),u=function(e){function t(t,n,i,o){void 0===o&&(o=!1);var r=e.call(this,i)||this;return r.model=t,r.elementFades=n,r.removeAfterFadeOut=o,r}return i(t,e),t.prototype.tween=function(e,t){for(var n=0,i=this.elementFades;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("dd02"),c=n("b669"),l=n("3a92"),u=n("9757"),d=n("1417"),h=n("66f9"),p=n("4c18"),f=n("c444"),m=n("5eb6"),g=n("e1c6"),v=n("6923"),b=function(){function e(t,n,i){void 0===n&&(n=!0),void 0===i&&(i=!1),this.elementIds=t,this.animate=n,this.retainZoom=i,this.kind=e.KIND}return e.KIND="center",e}();t.CenterAction=b;var y=function(){function e(t,n,i,o){void 0===o&&(o=!0),this.elementIds=t,this.padding=n,this.maxZoom=i,this.animate=o,this.kind=e.KIND}return e.KIND="fit",e}();t.FitToScreenAction=y;var _=function(e){function t(t){var n=e.call(this)||this;return n.animate=t,n}return i(t,e),t.prototype.initialize=function(e){var t=this;if(m.isViewport(e)){this.oldViewport={scroll:e.scroll,zoom:e.zoom};var n=[];if(this.getElementIds().forEach(function(i){var o=e.index.getById(i);o&&h.isBoundsAware(o)&&n.push(t.boundsInViewport(o,o.bounds,e))}),0===n.length&&e.index.all().forEach(function(i){p.isSelectable(i)&&i.selected&&h.isBoundsAware(i)&&n.push(t.boundsInViewport(i,i.bounds,e))}),0===n.length&&e.index.all().forEach(function(i){h.isBoundsAware(i)&&n.push(t.boundsInViewport(i,i.bounds,e))}),0!==n.length){var i=n.reduce(function(e,t){return a.combine(e,t)});a.isValidDimension(i)&&(this.newViewport=this.getNewViewport(i,e))}}},t.prototype.boundsInViewport=function(e,t,n){return e instanceof l.SChildElement&&e.parent!==n?this.boundsInViewport(e.parent,e.parent.localToParent(t),n):t},t.prototype.execute=function(e){return this.initialize(e.root),this.redo(e)},t.prototype.undo=function(e){var t=e.root;if(m.isViewport(t)&&void 0!==this.newViewport&&!this.equal(this.newViewport,this.oldViewport)){if(this.animate)return new f.ViewportAnimation(t,this.newViewport,this.oldViewport,e).start();t.scroll=this.oldViewport.scroll,t.zoom=this.oldViewport.zoom}return t},t.prototype.redo=function(e){var t=e.root;if(m.isViewport(t)&&void 0!==this.newViewport&&!this.equal(this.newViewport,this.oldViewport)){if(this.animate)return new f.ViewportAnimation(t,this.oldViewport,this.newViewport,e).start();t.scroll=this.newViewport.scroll,t.zoom=this.newViewport.zoom}return t},t.prototype.equal=function(e,t){return e.zoom===t.zoom&&e.scroll.x===t.scroll.x&&e.scroll.y===t.scroll.y},t=o([g.injectable(),r("design:paramtypes",[Boolean])],t),t}(u.Command);t.BoundsAwareViewportCommand=_;var M=function(e){function t(t){var n=e.call(this,t.animate)||this;return n.action=t,n}return i(t,e),t.prototype.getElementIds=function(){return this.action.elementIds},t.prototype.getNewViewport=function(e,t){if(a.isValidDimension(t.canvasBounds)){var n=this.action.retainZoom&&m.isViewport(t)?t.zoom:1,i=a.center(e);return{scroll:{x:i.x-.5*t.canvasBounds.width/n,y:i.y-.5*t.canvasBounds.height/n},zoom:n}}},t.KIND=b.KIND,t=o([s(0,g.inject(v.TYPES.Action)),r("design:paramtypes",[b])],t),t}(_);t.CenterCommand=M;var w=function(e){function t(t){var n=e.call(this,t.animate)||this;return n.action=t,n}return i(t,e),t.prototype.getElementIds=function(){return this.action.elementIds},t.prototype.getNewViewport=function(e,t){if(a.isValidDimension(t.canvasBounds)){var n=a.center(e),i=void 0===this.action.padding?0:2*this.action.padding,o=Math.min(t.canvasBounds.width/(e.width+i),t.canvasBounds.height/(e.height+i));return void 0!==this.action.maxZoom&&(o=Math.min(o,this.action.maxZoom)),o===1/0&&(o=1),{scroll:{x:n.x-.5*t.canvasBounds.width/o,y:n.y-.5*t.canvasBounds.height/o},zoom:o}}},t.KIND=y.KIND,t=o([s(0,g.inject(v.TYPES.Action)),r("design:paramtypes",[y])],t),t}(_);t.FitToScreenCommand=w;var C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.keyDown=function(e,t){return c.matchesKeystroke(t,"KeyC","ctrlCmd","shift")?[new b([])]:c.matchesKeystroke(t,"KeyF","ctrlCmd","shift")?[new y([])]:[]},t}(d.KeyListener);t.CenterKeyboardListener=C},edad:function(e,t,n){"use strict";var i=n("c51d"),o=n.n(i);o.a},ee16:function(e,t,n){e.exports=n("bafd")},efc5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.multiBindToService=function(e){return function(t){return function(){for(var n=[],i=0;i0&&o[o.length-1])&&(6===r[0]||2===r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("e1c6"),c=n("b669"),l=n("dd02"),u=n("6923"),d=n("3a92"),h=n("3b4c"),p=n("510b"),f=n("9757"),m=n("302f"),g=n("1417"),v=n("3623"),b=n("66f9"),y=n("e4f0"),_=function(){function e(t,n){this.mouseoverElement=t,this.mouseIsOver=n,this.kind=e.KIND}return e.KIND="hoverFeedback",e}();t.HoverFeedbackAction=_;var M=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){var t=e.root,n=t.index.getById(this.action.mouseoverElement);return n&&y.isHoverable(n)&&(n.hoverFeedback=this.action.mouseIsOver),this.redo(e)},t.prototype.undo=function(e){return e.root},t.prototype.redo=function(e){return e.root},t.KIND=_.KIND,t=o([a.injectable(),s(0,a.inject(u.TYPES.Action)),r("design:paramtypes",[_])],t),t}(f.SystemCommand);t.HoverFeedbackCommand=M;var w=function(){function e(t,n,i){void 0===i&&(i=""),this.elementId=t,this.bounds=n,this.requestId=i,this.kind=e.KIND}return e.create=function(t,n){return new e(t,n,p.generateRequestId())},e.KIND="requestPopupModel",e}();t.RequestPopupModelAction=w;var C=function(){function e(t,n){void 0===n&&(n=""),this.newRoot=t,this.responseId=n,this.kind=e.KIND}return e.KIND="setPopupModel",e}();t.SetPopupModelAction=C;var S=function(e){function t(t){var n=e.call(this)||this;return n.action=t,n}return i(t,e),t.prototype.execute=function(e){return this.oldRoot=e.root,this.newRoot=e.modelFactory.createRoot(this.action.newRoot),this.newRoot},t.prototype.undo=function(e){return this.oldRoot},t.prototype.redo=function(e){return this.newRoot},t.KIND=C.KIND,t=o([a.injectable(),s(0,a.inject(u.TYPES.Action)),r("design:paramtypes",[C])],t),t}(f.PopupCommand);t.SetPopupModelCommand=S;var A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.mouseDown=function(e,t){return this.mouseIsDown=!0,[]},t.prototype.mouseUp=function(e,t){return this.mouseIsDown=!1,[]},t.prototype.stopMouseOutTimer=function(){void 0!==this.state.mouseOutTimer&&(window.clearTimeout(this.state.mouseOutTimer),this.state.mouseOutTimer=void 0)},t.prototype.startMouseOutTimer=function(){var e=this;return this.stopMouseOutTimer(),new Promise(function(t){e.state.mouseOutTimer=window.setTimeout(function(){e.state.popupOpen=!1,e.state.previousPopupElement=void 0,t(new C({type:m.EMPTY_ROOT.type,id:m.EMPTY_ROOT.id}))},e.options.popupCloseDelay)})},t.prototype.stopMouseOverTimer=function(){void 0!==this.state.mouseOverTimer&&(window.clearTimeout(this.state.mouseOverTimer),this.state.mouseOverTimer=void 0)},o([a.inject(u.TYPES.ViewerOptions),r("design:type",Object)],t.prototype,"options",void 0),o([a.inject(u.TYPES.HoverState),r("design:type",Object)],t.prototype,"state",void 0),t}(h.MouseListener);t.AbstractHoverMouseListener=A;var E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.computePopupBounds=function(e,t){var n={x:-5,y:20},i=b.getAbsoluteBounds(e),o=e.root.canvasBounds,r=l.translate(i,o),s=r.x+r.width-t.x,a=r.y+r.height-t.y;a<=s&&this.allowSidePosition(e,"below",a)?n={x:-5,y:Math.round(a+5)}:s<=a&&this.allowSidePosition(e,"right",s)&&(n={x:Math.round(s+5),y:-5});var c=t.x+n.x,u=o.x+o.width;c>u&&(c=u);var d=t.y+n.y,h=o.y+o.height;return d>h&&(d=h),{x:c,y:d,width:-1,height:-1}},t.prototype.allowSidePosition=function(e,t,n){return!(e instanceof d.SModelRoot)&&n<=150},t.prototype.startMouseOverTimer=function(e,t){var n=this;return this.stopMouseOverTimer(),new Promise(function(i){n.state.mouseOverTimer=window.setTimeout(function(){var o=n.computePopupBounds(e,{x:t.pageX,y:t.pageY});i(new w(e.id,o)),n.state.popupOpen=!0,n.state.previousPopupElement=e},n.options.popupOpenDelay)})},t.prototype.mouseOver=function(e,t){var n=[];if(!this.mouseIsDown){var i=v.findParent(e,y.hasPopupFeature);this.state.popupOpen&&(void 0===i||void 0!==this.state.previousPopupElement&&this.state.previousPopupElement.id!==i.id)?n.push(this.startMouseOutTimer()):(this.stopMouseOverTimer(),this.stopMouseOutTimer()),void 0===i||void 0!==this.state.previousPopupElement&&this.state.previousPopupElement.id===i.id||n.push(this.startMouseOverTimer(i,t)),this.lastHoverFeedbackElementId&&(n.push(new _(this.lastHoverFeedbackElementId,!1)),this.lastHoverFeedbackElementId=void 0);var o=v.findParentByFeature(e,y.isHoverable);void 0!==o&&(n.push(new _(o.id,!0)),this.lastHoverFeedbackElementId=o.id)}return n},t.prototype.mouseOut=function(e,t){var n=[];if(!this.mouseIsDown){var i=document.elementFromPoint(t.x,t.y);if(!this.isSprottyPopup(i)){if(this.state.popupOpen){var o=v.findParent(e,y.hasPopupFeature);void 0!==this.state.previousPopupElement&&void 0!==o&&this.state.previousPopupElement.id===o.id&&n.push(this.startMouseOutTimer())}this.stopMouseOverTimer();var r=v.findParentByFeature(e,y.isHoverable);void 0!==r&&(n.push(new _(r.id,!1)),this.lastHoverFeedbackElementId=void 0)}}return n},t.prototype.isSprottyPopup=function(e){return!!e&&(e.id===this.options.popupDiv||!!e.parentElement&&this.isSprottyPopup(e.parentElement))},t.prototype.mouseMove=function(e,t){var n=[];if(!this.mouseIsDown){void 0!==this.state.previousPopupElement&&this.closeOnMouseMove(this.state.previousPopupElement,t)&&n.push(this.startMouseOutTimer());var i=v.findParent(e,y.hasPopupFeature);void 0===i||void 0!==this.state.previousPopupElement&&this.state.previousPopupElement.id===i.id||n.push(this.startMouseOverTimer(i,t))}return n},t.prototype.closeOnMouseMove=function(e,t){return e instanceof d.SModelRoot},o([a.inject(u.TYPES.ViewerOptions),r("design:type",Object)],t.prototype,"options",void 0),t=o([a.injectable()],t),t}(A);t.HoverMouseListener=E;var O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.mouseOut=function(e,t){return[this.startMouseOutTimer()]},t.prototype.mouseOver=function(e,t){return this.stopMouseOutTimer(),this.stopMouseOverTimer(),[]},t=o([a.injectable()],t),t}(A);t.PopupHoverMouseListener=O;var L=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.keyDown=function(e,t){return c.matchesKeystroke(t,"Escape")?[new C({type:m.EMPTY_ROOT.type,id:m.EMPTY_ROOT.id})]:[]},t}(g.KeyListener);t.HoverKeyListener=L;var T=function(){function e(){this.popupOpen=!1}return e.prototype.handle=function(e){if(e.kind===S.KIND)this.popupOpen=e.newRoot.type!==m.EMPTY_ROOT.type;else if(this.popupOpen)return new C({id:m.EMPTY_ROOT.id,type:m.EMPTY_ROOT.type})},e=o([a.injectable()],e),e}();t.ClosePopupActionHandler=T},f58f:function(e,t,n){"use strict";var i=n("15f6"),o=n.n(i);o.a},f913:function(e,t,n){"use strict";var i=n("0c4a"),o=n.n(i);o.a},f923:function(e,t,n){"use strict";function i(e,t){var n,i,o=t.elm,r=e.data.class,s=t.data.class;if((r||s)&&r!==s){for(i in r=r||{},s=s||{},r)s[i]||o.classList.remove(i);for(i in s)n=s[i],n!==r[i]&&o.classList[n?"add":"remove"](i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.classModule={create:i,update:i},t.default=t.classModule},faa1:function(e,t,n){"use strict";var i,o="object"===typeof Reflect?Reflect:null,r=o&&"function"===typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};function s(e){console&&console.warn&&console.warn(e)}i=o&&"function"===typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!==e};function c(){c.init.call(this)}e.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var l=10;function u(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function d(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function h(e,t,n,i){var o,r,a;if(u(n),r=e._events,void 0===r?(r=e._events=Object.create(null),e._eventsCount=0):(void 0!==r.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),r=e._events),a=r[t]),void 0===a)a=r[t]=n,++e._eventsCount;else if("function"===typeof a?a=r[t]=i?[n,a]:[a,n]:i?a.unshift(n):a.push(n),o=d(e),o>0&&a.length>o&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,s(c)}return e}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=p.bind(i);return o.listener=n,i.wrapFn=o,o}function m(e,t,n){var i=e._events;if(void 0===i)return[];var o=i[t];return void 0===o?[]:"function"===typeof o?n?[o.listener||o]:[o]:n?y(o):v(o,o.length)}function g(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),i=0;i0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var c=o[e];if(void 0===c)return!1;if("function"===typeof c)r(c,this,t);else{var l=c.length,u=v(c,l);for(n=0;n=0;r--)if(n[r]===t||n[r].listener===t){s=n[r].listener,o=r;break}if(o<0)return this;0===o?n.shift():b(n,o),1===n.length&&(i[e]=n[0]),void 0!==i.removeListener&&this.emit("removeListener",e,s||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,i;if(n=this._events,void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,r=Object.keys(n);for(i=0;i=0;i--)this.removeListener(e,t[i]);return this},c.prototype.listeners=function(e){return m(this,e,!0)},c.prototype.rawListeners=function(e){return m(this,e,!1)},c.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},c.prototype.listenerCount=g,c.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},fba3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("dd02");function o(e){return r()?e.metaKey:e.ctrlKey}function r(){return-1!==window.navigator.userAgent.indexOf("Mac")}function s(e){if(e&&"undefined"!==typeof window&&window.location){var t="";return window.location.protocol&&(t+=window.location.protocol+"//"),window.location.host&&(t+=window.location.host),t.length>0&&!e.startsWith(t)}return!1}function a(){return"undefined"===typeof window?i.ORIGIN_POINT:{x:window.pageXOffset,y:window.pageYOffset}}t.isCtrlOrCmd=o,t.isMac=r,t.isCrossSite=s,t.getWindowScroll=a},fcf3:function(e,t,n){!function(t,n){e.exports=n()}(self,function(){return(()=>{"use strict";var e={4567:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.AccessibilityManager=void 0;var r=n(9042),s=n(6114),a=n(9924),c=n(3656),l=n(844),u=n(5596),d=n(9631),h=function(e){function t(t,n){var i=e.call(this)||this;i._terminal=t,i._renderService=n,i._liveRegionLineCount=0,i._charsToConsume=[],i._charsToAnnounce="",i._accessibilityTreeRoot=document.createElement("div"),i._accessibilityTreeRoot.setAttribute("role","document"),i._accessibilityTreeRoot.classList.add("xterm-accessibility"),i._accessibilityTreeRoot.tabIndex=0,i._rowContainer=document.createElement("div"),i._rowContainer.setAttribute("role","list"),i._rowContainer.classList.add("xterm-accessibility-tree"),i._rowElements=[];for(var o=0;oe;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var e=document.createElement("div");return e.setAttribute("role","listitem"),e.tabIndex=-1,this._refreshRowDimensions(e),e},t.prototype._onTab=function(e){for(var t=0;t0?this._charsToConsume.shift()!==e&&(this._charsToAnnounce+=e):this._charsToAnnounce+=e,"\n"===e&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=r.tooMuchOutput)),s.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){t._accessibilityTreeRoot.appendChild(t._liveRegion)},0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,s.isMac&&(0,d.removeElementFromParent)(this._liveRegion)},t.prototype._onKey=function(e){this._clearLiveRegion(),this._charsToConsume.push(e)},t.prototype._refreshRows=function(e,t){this._renderRowsDebouncer.refresh(e,t,this._terminal.rows)},t.prototype._renderRows=function(e,t){for(var n=this._terminal.buffer,i=n.lines.length.toString(),o=e;o<=t;o++){var r=n.translateBufferLineToString(n.ydisp+o,!0),s=(n.ydisp+o+1).toString(),a=this._rowElements[o];a&&(0===r.length?a.innerText=" ":a.textContent=r,a.setAttribute("aria-posinset",s),a.setAttribute("aria-setsize",i))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var e=0;e{function n(e){return e.replace(/\r?\n/g,"\r")}function i(e,t){return t?"[200~"+e+"[201~":e}function o(e,t,o){e=i(e=n(e),o.decPrivateModes.bracketedPasteMode),o.triggerDataEvent(e,!0),t.value=""}function r(e,t,n){var i=n.getBoundingClientRect(),o=e.clientX-i.left-10,r=e.clientY-i.top-10;t.style.width="20px",t.style.height="20px",t.style.left=o+"px",t.style.top=r+"px",t.style.zIndex="1000",t.focus()}Object.defineProperty(t,"__esModule",{value:!0}),t.rightClickHandler=t.moveTextAreaUnderMouseCursor=t.paste=t.handlePasteEvent=t.copyHandler=t.bracketTextForPaste=t.prepareTextForTerminal=void 0,t.prepareTextForTerminal=n,t.bracketTextForPaste=i,t.copyHandler=function(e,t){e.clipboardData&&e.clipboardData.setData("text/plain",t.selectionText),e.preventDefault()},t.handlePasteEvent=function(e,t,n){e.stopPropagation(),e.clipboardData&&o(e.clipboardData.getData("text/plain"),t,n)},t.paste=o,t.moveTextAreaUnderMouseCursor=r,t.rightClickHandler=function(e,t,n,i,o){r(e,t,n),o&&i.rightClickSelect(e),t.value=i.selectionText,t.select()}},4774:(e,t)=>{var n,i,o,r;function s(e){var t=e.toString(16);return t.length<2?"0"+t:t}function a(e,t){return e>>0}}(n=t.channels||(t.channels={})),(i=t.color||(t.color={})).blend=function(e,t){var i=(255&t.rgba)/255;if(1===i)return{css:t.css,rgba:t.rgba};var o=t.rgba>>24&255,r=t.rgba>>16&255,s=t.rgba>>8&255,a=e.rgba>>24&255,c=e.rgba>>16&255,l=e.rgba>>8&255,u=a+Math.round((o-a)*i),d=c+Math.round((r-c)*i),h=l+Math.round((s-l)*i);return{css:n.toCss(u,d,h),rgba:n.toRgba(u,d,h)}},i.isOpaque=function(e){return 255==(255&e.rgba)},i.ensureContrastRatio=function(e,t,n){var i=r.ensureContrastRatio(e.rgba,t.rgba,n);if(i)return r.toColor(i>>24&255,i>>16&255,i>>8&255)},i.opaque=function(e){var t=(255|e.rgba)>>>0,i=r.toChannels(t),o=i[0],s=i[1],a=i[2];return{css:n.toCss(o,s,a),rgba:t}},i.opacity=function(e,t){var i=Math.round(255*t),o=r.toChannels(e.rgba),s=o[0],a=o[1],c=o[2];return{css:n.toCss(s,a,c,i),rgba:n.toRgba(s,a,c,i)}},i.toColorRGB=function(e){return[e.rgba>>24&255,e.rgba>>16&255,e.rgba>>8&255]},(t.css||(t.css={})).toColor=function(e){switch(e.length){case 7:return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0};case 9:return{css:e,rgba:parseInt(e.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(e){function t(e,t,n){var i=e/255,o=t/255,r=n/255;return.2126*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.7152*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))}e.relativeLuminance=function(e){return t(e>>16&255,e>>8&255,255&e)},e.relativeLuminance2=t}(o=t.rgb||(t.rgb={})),function(e){function t(e,t,n){for(var i=e>>24&255,r=e>>16&255,s=e>>8&255,c=t>>24&255,l=t>>16&255,u=t>>8&255,d=a(o.relativeLuminance2(c,u,l),o.relativeLuminance2(i,r,s));d0||l>0||u>0);)c-=Math.max(0,Math.ceil(.1*c)),l-=Math.max(0,Math.ceil(.1*l)),u-=Math.max(0,Math.ceil(.1*u)),d=a(o.relativeLuminance2(c,u,l),o.relativeLuminance2(i,r,s));return(c<<24|l<<16|u<<8|255)>>>0}function i(e,t,n){for(var i=e>>24&255,r=e>>16&255,s=e>>8&255,c=t>>24&255,l=t>>16&255,u=t>>8&255,d=a(o.relativeLuminance2(c,u,l),o.relativeLuminance2(i,r,s));d>>0}e.ensureContrastRatio=function(e,n,r){var s=o.relativeLuminance(e>>8),c=o.relativeLuminance(n>>8);if(a(s,c)>24&255,e>>16&255,e>>8&255,255&e]},e.toColor=function(e,t,i){return{css:n.toCss(e,t,i),rgba:n.toRgba(e,t,i)}}}(r=t.rgba||(t.rgba={})),t.toPaddedHex=s,t.contrastRatio=a},7239:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorContrastCache=void 0;var n=function(){function e(){this._color={},this._rgba={}}return e.prototype.clear=function(){this._color={},this._rgba={}},e.prototype.setCss=function(e,t,n){this._rgba[e]||(this._rgba[e]={}),this._rgba[e][t]=n},e.prototype.getCss=function(e,t){return this._rgba[e]?this._rgba[e][t]:void 0},e.prototype.setColor=function(e,t,n){this._color[e]||(this._color[e]={}),this._color[e][t]=n},e.prototype.getColor=function(e,t){return this._color[e]?this._color[e][t]:void 0},e}();t.ColorContrastCache=n},5680:function(e,t,n){var i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o{Object.defineProperty(t,"__esModule",{value:!0}),t.removeElementFromParent=void 0,t.removeElementFromParent=function(){for(var e,t=[],n=0;n{Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=void 0,t.addDisposableDomListener=function(e,t,n,i){e.addEventListener(t,n,i);var o=!1;return{dispose:function(){o||(o=!0,e.removeEventListener(t,n,i))}}}},3551:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseZone=t.Linkifier=void 0;var r=n(8460),s=n(2585),a=function(){function e(e,t,n){this._bufferService=e,this._logService=t,this._unicodeService=n,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new r.EventEmitter,this._onHideLinkUnderline=new r.EventEmitter,this._onLinkTooltip=new r.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(e.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),e.prototype.attachToDom=function(e,t){this._element=e,this._mouseZoneManager=t},e.prototype.linkifyRows=function(t,n){var i=this;this._mouseZoneManager&&(void 0===this._rowsToLinkify.start||void 0===this._rowsToLinkify.end?(this._rowsToLinkify.start=t,this._rowsToLinkify.end=n):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,t),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,n)),this._mouseZoneManager.clearAll(t,n),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return i._linkifyRows()},e._timeBeforeLatency))},e.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var e=this._bufferService.buffer;if(void 0!==this._rowsToLinkify.start&&void 0!==this._rowsToLinkify.end){var t=e.ydisp+this._rowsToLinkify.start;if(!(t>=e.lines.length)){for(var n=e.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,i=Math.ceil(2e3/this._bufferService.cols),o=this._bufferService.buffer.iterator(!1,t,n,i,i);o.hasNext();)for(var r=o.next(),s=0;s=0;t--)if(e.priority<=this._linkMatchers[t].priority)return void this._linkMatchers.splice(t+1,0,e);this._linkMatchers.splice(0,0,e)}else this._linkMatchers.push(e)},e.prototype.deregisterLinkMatcher=function(e){for(var t=0;t>9&511:void 0;n.validationCallback?n.validationCallback(a,function(e){o._rowsTimeoutId||e&&o._addLink(l[1],l[0]-o._bufferService.buffer.ydisp,a,n,h)}):c._addLink(l[1],l[0]-c._bufferService.buffer.ydisp,a,n,h)},c=this;null!==(i=r.exec(t))&&"break"!==a(););},e.prototype._addLink=function(e,t,n,i,o){var r=this;if(this._mouseZoneManager&&this._element){var s=this._unicodeService.getStringCellWidth(n),a=e%this._bufferService.cols,l=t+Math.floor(e/this._bufferService.cols),u=(a+s)%this._bufferService.cols,d=l+Math.floor((a+s)/this._bufferService.cols);0===u&&(u=this._bufferService.cols,d--),this._mouseZoneManager.add(new c(a+1,l+1,u+1,d+1,function(e){if(i.handler)return i.handler(e,n);var t=window.open();t?(t.opener=null,t.location.href=n):console.warn("Opening link blocked as opener could not be cleared")},function(){r._onShowLinkUnderline.fire(r._createLinkHoverEvent(a,l,u,d,o)),r._element.classList.add("xterm-cursor-pointer")},function(e){r._onLinkTooltip.fire(r._createLinkHoverEvent(a,l,u,d,o)),i.hoverTooltipCallback&&i.hoverTooltipCallback(e,n,{start:{x:a,y:l},end:{x:u,y:d}})},function(){r._onHideLinkUnderline.fire(r._createLinkHoverEvent(a,l,u,d,o)),r._element.classList.remove("xterm-cursor-pointer"),i.hoverLeaveCallback&&i.hoverLeaveCallback()},function(e){return!i.willLinkActivate||i.willLinkActivate(e,n)}))}},e.prototype._createLinkHoverEvent=function(e,t,n,i,o){return{x1:e,y1:t,x2:n,y2:i,cols:this._bufferService.cols,fg:o}},e._timeBeforeLatency=200,e=i([o(0,s.IBufferService),o(1,s.ILogService),o(2,s.IUnicodeService)],e)}();t.Linkifier=a;var c=function(e,t,n,i,o,r,s,a,c){this.x1=e,this.y1=t,this.x2=n,this.y2=i,this.clickCallback=o,this.hoverCallback=r,this.tooltipCallback=s,this.leaveCallback=a,this.willLinkActivate=c};t.MouseZone=c},6465:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Linkifier2=void 0;var a=n(2585),c=n(8460),l=n(844),u=n(3656),d=function(e){function t(t){var n=e.call(this)||this;return n._bufferService=t,n._linkProviders=[],n._linkCacheDisposables=[],n._isMouseOut=!0,n._activeLine=-1,n._onShowLinkUnderline=n.register(new c.EventEmitter),n._onHideLinkUnderline=n.register(new c.EventEmitter),n.register((0,l.getDisposeArrayDisposable)(n._linkCacheDisposables)),n}return o(t,e),Object.defineProperty(t.prototype,"currentLink",{get:function(){return this._currentLink},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),t.prototype.registerLinkProvider=function(e){var t=this;return this._linkProviders.push(e),{dispose:function(){var n=t._linkProviders.indexOf(e);-1!==n&&t._linkProviders.splice(n,1)}}},t.prototype.attachToDom=function(e,t,n){var i=this;this._element=e,this._mouseService=t,this._renderService=n,this.register((0,u.addDisposableDomListener)(this._element,"mouseleave",function(){i._isMouseOut=!0,i._clearCurrentLink()})),this.register((0,u.addDisposableDomListener)(this._element,"mousemove",this._onMouseMove.bind(this))),this.register((0,u.addDisposableDomListener)(this._element,"click",this._onClick.bind(this)))},t.prototype._onMouseMove=function(e){if(this._lastMouseEvent=e,this._element&&this._mouseService){var t=this._positionFromMouseEvent(e,this._element,this._mouseService);if(t){this._isMouseOut=!1;for(var n=e.composedPath(),i=0;ie?this._bufferService.cols:s.link.range.end.x,l=a;l<=c;l++){if(n.has(l)){o.splice(r--,1);break}n.add(l)}}},t.prototype._checkLinkProviderResult=function(e,t,n){var i,o=this;if(!this._activeProviderReplies)return n;for(var r=this._activeProviderReplies.get(e),s=!1,a=0;a=e&&this._currentLink.link.range.end.y<=t)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,(0,l.disposeArray)(this._linkCacheDisposables))},t.prototype._handleNewLink=function(e){var t=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var n=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);n&&this._linkAtPosition(e.link,n)&&(this._currentLink=e,this._currentLink.state={decorations:{underline:void 0===e.link.decorations||e.link.decorations.underline,pointerCursor:void 0===e.link.decorations||e.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,e.link,this._lastMouseEvent),e.link.decorations={},Object.defineProperties(e.link.decorations,{pointerCursor:{get:function(){var e,n;return null===(n=null===(e=t._currentLink)||void 0===e?void 0:e.state)||void 0===n?void 0:n.decorations.pointerCursor},set:function(e){var n,i;(null===(n=t._currentLink)||void 0===n?void 0:n.state)&&t._currentLink.state.decorations.pointerCursor!==e&&(t._currentLink.state.decorations.pointerCursor=e,t._currentLink.state.isHovered&&(null===(i=t._element)||void 0===i||i.classList.toggle("xterm-cursor-pointer",e)))}},underline:{get:function(){var e,n;return null===(n=null===(e=t._currentLink)||void 0===e?void 0:e.state)||void 0===n?void 0:n.decorations.underline},set:function(n){var i,o,r;(null===(i=t._currentLink)||void 0===i?void 0:i.state)&&(null===(r=null===(o=t._currentLink)||void 0===o?void 0:o.state)||void 0===r?void 0:r.decorations.underline)!==n&&(t._currentLink.state.decorations.underline=n,t._currentLink.state.isHovered&&t._fireUnderlineEvent(e.link,n))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(e){var n=0===e.start?0:e.start+1+t._bufferService.buffer.ydisp;t._clearCurrentLink(n,e.end+1+t._bufferService.buffer.ydisp)})))}},t.prototype._linkHover=function(e,t,n){var i;(null===(i=this._currentLink)||void 0===i?void 0:i.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(t,!0),this._currentLink.state.decorations.pointerCursor&&e.classList.add("xterm-cursor-pointer")),t.hover&&t.hover(n,t.text)},t.prototype._fireUnderlineEvent=function(e,t){var n=e.range,i=this._bufferService.buffer.ydisp,o=this._createLinkUnderlineEvent(n.start.x-1,n.start.y-i-1,n.end.x,n.end.y-i-1,void 0);(t?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(o)},t.prototype._linkLeave=function(e,t,n){var i;(null===(i=this._currentLink)||void 0===i?void 0:i.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(t,!1),this._currentLink.state.decorations.pointerCursor&&e.classList.remove("xterm-cursor-pointer")),t.leave&&t.leave(n,t.text)},t.prototype._linkAtPosition=function(e,t){var n=e.range.start.y===e.range.end.y,i=e.range.start.yt.y;return(n&&e.range.start.x<=t.x&&e.range.end.x>=t.x||i&&e.range.end.x>=t.x||o&&e.range.start.x<=t.x||i&&o)&&e.range.start.y<=t.y&&e.range.end.y>=t.y},t.prototype._positionFromMouseEvent=function(e,t,n){var i=n.getCoords(e,t,this._bufferService.cols,this._bufferService.rows);if(i)return{x:i[0],y:i[1]+this._bufferService.buffer.ydisp}},t.prototype._createLinkUnderlineEvent=function(e,t,n,i,o){return{x1:e,y1:t,x2:n,y2:i,cols:this._bufferService.cols,fg:o}},r([s(0,a.IBufferService)],t)}(l.Disposable);t.Linkifier2=d},9042:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.tooMuchOutput=t.promptLabel=void 0,t.promptLabel="Terminal input",t.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},6954:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseZoneManager=void 0;var a=n(844),c=n(3656),l=n(4725),u=n(2585),d=function(e){function t(t,n,i,o,r,s){var a=e.call(this)||this;return a._element=t,a._screenElement=n,a._bufferService=i,a._mouseService=o,a._selectionService=r,a._optionsService=s,a._zones=[],a._areZonesActive=!1,a._lastHoverCoords=[void 0,void 0],a._initialSelectionLength=0,a.register((0,c.addDisposableDomListener)(a._element,"mousedown",function(e){return a._onMouseDown(e)})),a._mouseMoveListener=function(e){return a._onMouseMove(e)},a._mouseLeaveListener=function(e){return a._onMouseLeave(e)},a._clickListener=function(e){return a._onClick(e)},a}return o(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._deactivate()},t.prototype.add=function(e){this._zones.push(e),1===this._zones.length&&this._activate()},t.prototype.clearAll=function(e,t){if(0!==this._zones.length){e&&t||(e=0,t=this._bufferService.rows-1);for(var n=0;ne&&i.y1<=t+1||i.y2>e&&i.y2<=t+1||i.y1t+1)&&(this._currentZone&&this._currentZone===i&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(n--,1))}0===this._zones.length&&this._deactivate()}},t.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},t.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},t.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},t.prototype._onHover=function(e){var t=this,n=this._findZoneEventAt(e);n!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),n&&(this._currentZone=n,n.hoverCallback&&n.hoverCallback(e),this._tooltipTimeout=window.setTimeout(function(){return t._onTooltip(e)},this._optionsService.rawOptions.linkTooltipHoverDuration)))},t.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var t=this._findZoneEventAt(e);null==t||t.tooltipCallback(e)},t.prototype._onMouseDown=function(e){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var t=this._findZoneEventAt(e);(null==t?void 0:t.willLinkActivate(e))&&(e.preventDefault(),e.stopImmediatePropagation())}},t.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},t.prototype._onClick=function(e){var t=this._findZoneEventAt(e),n=this._getSelectionLength();t&&n===this._initialSelectionLength&&(t.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},t.prototype._findZoneEventAt=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(t)for(var n=t[0],i=t[1],o=0;o=r.x1&&n=r.x1||i===r.y2&&nr.y1&&i{Object.defineProperty(t,"__esModule",{value:!0}),t.RenderDebouncer=void 0;var n=function(){function e(e){this._renderCallback=e}return e.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.refresh=function(e,t,n){var i=this;this._rowCount=n,e=void 0!==e?e:0,t=void 0!==t?t:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,e):e,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,t):t,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return i._innerRefresh()}))},e.prototype._innerRefresh=function(){if(void 0!==this._rowStart&&void 0!==this._rowEnd&&void 0!==this._rowCount){var e=Math.max(this._rowStart,0),t=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(e,t)}},e}();t.RenderDebouncer=n},5596:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScreenDprMonitor=void 0;var r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._currentDevicePixelRatio=window.devicePixelRatio,t}return o(t,e),t.prototype.setListener=function(e){var t=this;this._listener&&this.clearListener(),this._listener=e,this._outerListener=function(){t._listener&&(t._listener(window.devicePixelRatio,t._currentDevicePixelRatio),t._updateDpr())},this._updateDpr()},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.clearListener()},t.prototype._updateDpr=function(){var e;this._outerListener&&(null===(e=this._resolutionMediaMatchList)||void 0===e||e.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},t.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},t}(n(844).Disposable);t.ScreenDprMonitor=r},3236:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Terminal=void 0;var r=n(2950),s=n(1680),a=n(3614),c=n(2584),l=n(5435),u=n(3525),d=n(3551),h=n(9312),p=n(6114),f=n(3656),m=n(9042),g=n(357),v=n(6954),b=n(4567),y=n(1296),_=n(7399),M=n(8460),w=n(8437),C=n(5680),S=n(3230),A=n(4725),E=n(428),O=n(8934),L=n(6465),T=n(5114),x=n(8969),R=n(4774),k=n(4269),z=n(5941),P="undefined"!=typeof window?window.document:null,N=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.browser=p,n._keyDownHandled=!1,n._keyPressHandled=!1,n._unprocessedDeadKey=!1,n._onCursorMove=new M.EventEmitter,n._onKey=new M.EventEmitter,n._onRender=new M.EventEmitter,n._onSelectionChange=new M.EventEmitter,n._onTitleChange=new M.EventEmitter,n._onBell=new M.EventEmitter,n._onFocus=new M.EventEmitter,n._onBlur=new M.EventEmitter,n._onA11yCharEmitter=new M.EventEmitter,n._onA11yTabEmitter=new M.EventEmitter,n._setup(),n.linkifier=n._instantiationService.createInstance(d.Linkifier),n.linkifier2=n.register(n._instantiationService.createInstance(L.Linkifier2)),n.register(n._inputHandler.onRequestBell(function(){return n.bell()})),n.register(n._inputHandler.onRequestRefreshRows(function(e,t){return n.refresh(e,t)})),n.register(n._inputHandler.onRequestSendFocus(function(){return n._reportFocus()})),n.register(n._inputHandler.onRequestReset(function(){return n.reset()})),n.register(n._inputHandler.onRequestWindowsOptionsReport(function(e){return n._reportWindowsOptions(e)})),n.register(n._inputHandler.onColor(function(e){return n._handleColorEvent(e)})),n.register((0,M.forwardEvent)(n._inputHandler.onCursorMove,n._onCursorMove)),n.register((0,M.forwardEvent)(n._inputHandler.onTitleChange,n._onTitleChange)),n.register((0,M.forwardEvent)(n._inputHandler.onA11yChar,n._onA11yCharEmitter)),n.register((0,M.forwardEvent)(n._inputHandler.onA11yTab,n._onA11yTabEmitter)),n.register(n._bufferService.onResize(function(e){return n._afterResize(e.cols,e.rows)})),n}return o(t,e),Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBell",{get:function(){return this._onBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),t.prototype._handleColorEvent=function(e){var t,n;if(this._colorManager){for(var i=0,o=e;i4)&&t.coreMouseService.triggerMouseEvent({col:o.x-33,row:o.y-33,button:n,action:i,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})}var o={mouseup:null,wheel:null,mousedrag:null,mousemove:null},r=function(t){return i(t),t.buttons||(e._document.removeEventListener("mouseup",o.mouseup),o.mousedrag&&e._document.removeEventListener("mousemove",o.mousedrag)),e.cancel(t)},s=function(t){return i(t),e.cancel(t,!0)},a=function(e){e.buttons&&i(e)},l=function(e){e.buttons||i(e)};this.register(this.coreMouseService.onProtocolChange(function(t){t?("debug"===e.optionsService.rawOptions.logLevel&&e._logService.debug("Binding to mouse events:",e.coreMouseService.explainEvents(t)),e.element.classList.add("enable-mouse-events"),e._selectionService.disable()):(e._logService.debug("Unbinding from mouse events."),e.element.classList.remove("enable-mouse-events"),e._selectionService.enable()),8&t?o.mousemove||(n.addEventListener("mousemove",l),o.mousemove=l):(n.removeEventListener("mousemove",o.mousemove),o.mousemove=null),16&t?o.wheel||(n.addEventListener("wheel",s,{passive:!1}),o.wheel=s):(n.removeEventListener("wheel",o.wheel),o.wheel=null),2&t?o.mouseup||(o.mouseup=r):(e._document.removeEventListener("mouseup",o.mouseup),o.mouseup=null),4&t?o.mousedrag||(o.mousedrag=a):(e._document.removeEventListener("mousemove",o.mousedrag),o.mousedrag=null)})),this.coreMouseService.activeProtocol=this.coreMouseService.activeProtocol,this.register((0,f.addDisposableDomListener)(n,"mousedown",function(t){if(t.preventDefault(),e.focus(),e.coreMouseService.areMouseEventsActive&&!e._selectionService.shouldForceSelection(t))return i(t),o.mouseup&&e._document.addEventListener("mouseup",o.mouseup),o.mousedrag&&e._document.addEventListener("mousemove",o.mousedrag),e.cancel(t)})),this.register((0,f.addDisposableDomListener)(n,"wheel",function(t){if(!o.wheel){if(!e.buffer.hasScrollback){var n=e.viewport.getLinesScrolled(t);if(0===n)return;for(var i=c.C0.ESC+(e.coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(t.deltaY<0?"A":"B"),r="",s=0;s47)},t.prototype._keyUp=function(e){this._customKeyEventHandler&&!1===this._customKeyEventHandler(e)||(function(e){return 16===e.keyCode||17===e.keyCode||18===e.keyCode}(e)||this.focus(),this.updateCursorStyle(e),this._keyPressHandled=!1)},t.prototype._keyPress=function(e){var t;if(this._keyPressHandled=!1,this._keyDownHandled)return!1;if(this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(this.cancel(e),e.charCode)t=e.charCode;else if(null===e.which||void 0===e.which)t=e.keyCode;else{if(0===e.which||0===e.charCode)return!1;t=e.which}return!(!t||(e.altKey||e.ctrlKey||e.metaKey)&&!this._isThirdLevelShift(this.browser,e)||(t=String.fromCharCode(t),this._onKey.fire({key:t,domEvent:e}),this._showCursor(),this.coreService.triggerDataEvent(t,!0),this._keyPressHandled=!0,this._unprocessedDeadKey=!1,0))},t.prototype._inputEvent=function(e){if(e.data&&"insertText"===e.inputType&&!e.composed&&!this.optionsService.rawOptions.screenReaderMode){if(this._keyPressHandled)return!1;this._unprocessedDeadKey=!1;var t=e.data;return this.coreService.triggerDataEvent(t,!0),this.cancel(e),!0}return!1},t.prototype.bell=function(){var e;this._soundBell()&&(null===(e=this._soundService)||void 0===e||e.playBellSound()),this._onBell.fire()},t.prototype.resize=function(t,n){t!==this.cols||n!==this.rows?e.prototype.resize.call(this,t,n):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},t.prototype._afterResize=function(e,t){var n,i;null===(n=this._charSizeService)||void 0===n||n.measure(),null===(i=this.viewport)||void 0===i||i.syncScrollArea(!0)},t.prototype.clear=function(){if(0!==this.buffer.ybase||0!==this.buffer.y){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var e=1;e{Object.defineProperty(t,"__esModule",{value:!0}),t.TimeBasedDebouncer=void 0;var n=function(){function e(e,t){void 0===t&&(t=1e3),this._renderCallback=e,this._debounceThresholdMS=t,this._lastRefreshMs=0,this._additionalRefreshRequested=!1}return e.prototype.dispose=function(){this._refreshTimeoutID&&clearTimeout(this._refreshTimeoutID)},e.prototype.refresh=function(e,t,n){var i=this;this._rowCount=n,e=void 0!==e?e:0,t=void 0!==t?t:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,e):e,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,t):t;var o=Date.now();if(o-this._lastRefreshMs>=this._debounceThresholdMS)this._lastRefreshMs=o,this._innerRefresh();else if(!this._additionalRefreshRequested){var r=o-this._lastRefreshMs,s=this._debounceThresholdMS-r;this._additionalRefreshRequested=!0,this._refreshTimeoutID=window.setTimeout(function(){i._lastRefreshMs=Date.now(),i._innerRefresh(),i._additionalRefreshRequested=!1,i._refreshTimeoutID=void 0},s)}},e.prototype._innerRefresh=function(){if(void 0!==this._rowStart&&void 0!==this._rowEnd&&void 0!==this._rowCount){var e=Math.max(this._rowStart,0),t=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(e,t)}},e}();t.TimeBasedDebouncer=n},1680:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Viewport=void 0;var a=n(844),c=n(3656),l=n(4725),u=n(2585),d=function(e){function t(t,n,i,o,r,s,a,l){var u=e.call(this)||this;return u._scrollLines=t,u._viewportElement=n,u._scrollArea=i,u._element=o,u._bufferService=r,u._optionsService=s,u._charSizeService=a,u._renderService=l,u.scrollBarWidth=0,u._currentRowHeight=0,u._currentScaledCellHeight=0,u._lastRecordedBufferLength=0,u._lastRecordedViewportHeight=0,u._lastRecordedBufferHeight=0,u._lastTouchY=0,u._lastScrollTop=0,u._lastHadScrollBar=!1,u._wheelPartialScroll=0,u._refreshAnimationFrame=null,u._ignoreNextScrollEvent=!1,u.scrollBarWidth=u._viewportElement.offsetWidth-u._scrollArea.offsetWidth||15,u._lastHadScrollBar=!0,u.register((0,c.addDisposableDomListener)(u._viewportElement,"scroll",u._onScroll.bind(u))),u._activeBuffer=u._bufferService.buffer,u.register(u._bufferService.buffers.onBufferActivate(function(e){return u._activeBuffer=e.activeBuffer})),u._renderDimensions=u._renderService.dimensions,u.register(u._renderService.onDimensionsChange(function(e){return u._renderDimensions=e})),setTimeout(function(){return u.syncScrollArea()},0),u}return o(t,e),t.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},t.prototype._refresh=function(e){var t=this;if(e)return this._innerRefresh(),void(null!==this._refreshAnimationFrame&&cancelAnimationFrame(this._refreshAnimationFrame));null===this._refreshAnimationFrame&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return t._innerRefresh()}))},t.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._currentScaledCellHeight=this._renderService.dimensions.scaledCellHeight,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var t=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==t&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=t),0===this._optionsService.rawOptions.scrollback?this.scrollBarWidth=0:this.scrollBarWidth=this._viewportElement.offsetWidth-this._scrollArea.offsetWidth||15,this._lastHadScrollBar=this.scrollBarWidth>0;var n=window.getComputedStyle(this._element),i=parseInt(n.paddingLeft)+parseInt(n.paddingRight);this._viewportElement.style.width=(this._renderService.dimensions.actualCellWidth*this._bufferService.cols+this.scrollBarWidth+(this._lastHadScrollBar?i:0)).toString()+"px",this._refreshAnimationFrame=null},t.prototype.syncScrollArea=function(e){if(void 0===e&&(e=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight&&this._lastScrollTop===this._activeBuffer.ydisp*this._currentRowHeight&&this._renderDimensions.scaledCellHeight===this._currentScaledCellHeight?this._lastHadScrollBar!==this._optionsService.rawOptions.scrollback>0&&this._refresh(e):this._refresh(e)},t.prototype._onScroll=function(e){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent){if(this._ignoreNextScrollEvent)return this._ignoreNextScrollEvent=!1,void this._scrollLines(0);var t=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(t)}},t.prototype._bubbleScroll=function(e,t){var n=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(t<0&&0!==this._viewportElement.scrollTop||t>0&&n0?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._bufferService.rows),t},t.prototype._applyScrollModifier=function(e,t){var n=this._optionsService.rawOptions.fastScrollModifier;return"alt"===n&&t.altKey||"ctrl"===n&&t.ctrlKey||"shift"===n&&t.shiftKey?e*this._optionsService.rawOptions.fastScrollSensitivity*this._optionsService.rawOptions.scrollSensitivity:e*this._optionsService.rawOptions.scrollSensitivity},t.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},t.prototype.onTouchMove=function(e){var t=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,0!==t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))},r([s(4,u.IBufferService),s(5,u.IOptionsService),s(6,l.ICharSizeService),s(7,l.IRenderService)],t)}(a.Disposable);t.Viewport=d},2950:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionHelper=void 0;var r=n(4725),s=n(2585),a=function(){function e(e,t,n,i,o,r){this._textarea=e,this._compositionView=t,this._bufferService=n,this._optionsService=i,this._coreService=o,this._renderService=r,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0},this._dataAlreadySent=""}return Object.defineProperty(e.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),e.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._dataAlreadySent="",this._compositionView.classList.add("active")},e.prototype.compositionupdate=function(e){var t=this;this._compositionView.textContent=e.data,this.updateCompositionElements(),setTimeout(function(){t._compositionPosition.end=t._textarea.value.length},0)},e.prototype.compositionend=function(){this._finalizeComposition(!0)},e.prototype.keydown=function(e){if(this._isComposing||this._isSendingComposition){if(229===e.keyCode)return!1;if(16===e.keyCode||17===e.keyCode||18===e.keyCode)return!1;this._finalizeComposition(!1)}return 229!==e.keyCode||(this._handleAnyTextareaChanges(),!1)},e.prototype._finalizeComposition=function(e){var t=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,e){var n={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){var e;t._isSendingComposition&&(t._isSendingComposition=!1,n.start+=t._dataAlreadySent.length,(e=t._isComposing?t._textarea.value.substring(n.start,n.end):t._textarea.value.substring(n.start)).length>0&&t._coreService.triggerDataEvent(e,!0))},0)}else{this._isSendingComposition=!1;var i=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(i,!0)}},e.prototype._handleAnyTextareaChanges=function(){var e=this,t=this._textarea.value;setTimeout(function(){if(!e._isComposing){var n=e._textarea.value.replace(t,"");n.length>0&&(e._dataAlreadySent=n,e._coreService.triggerDataEvent(n,!0))}},0)},e.prototype.updateCompositionElements=function(e){var t=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var n=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),i=this._renderService.dimensions.actualCellHeight,o=this._bufferService.buffer.y*this._renderService.dimensions.actualCellHeight,r=n*this._renderService.dimensions.actualCellWidth;this._compositionView.style.left=r+"px",this._compositionView.style.top=o+"px",this._compositionView.style.height=i+"px",this._compositionView.style.lineHeight=i+"px",this._compositionView.style.fontFamily=this._optionsService.rawOptions.fontFamily,this._compositionView.style.fontSize=this._optionsService.rawOptions.fontSize+"px";var s=this._compositionView.getBoundingClientRect();this._textarea.style.left=r+"px",this._textarea.style.top=o+"px",this._textarea.style.width=Math.max(s.width,1)+"px",this._textarea.style.height=Math.max(s.height,1)+"px",this._textarea.style.lineHeight=s.height+"px"}e||setTimeout(function(){return t.updateCompositionElements(!0)},0)}},i([o(2,s.IBufferService),o(3,s.IOptionsService),o(4,s.ICoreService),o(5,r.IRenderService)],e)}();t.CompositionHelper=a},9806:(e,t)=>{function n(e,t){var n=t.getBoundingClientRect();return[e.clientX-n.left,e.clientY-n.top]}Object.defineProperty(t,"__esModule",{value:!0}),t.getRawByteCoords=t.getCoords=t.getCoordsRelativeToElement=void 0,t.getCoordsRelativeToElement=n,t.getCoords=function(e,t,i,o,r,s,a,c){if(r){var l=n(e,t);if(l)return l[0]=Math.ceil((l[0]+(c?s/2:0))/s),l[1]=Math.ceil(l[1]/a),l[0]=Math.min(Math.max(l[0],1),i+(c?1:0)),l[1]=Math.min(Math.max(l[1],1),o),l}},t.getRawByteCoords=function(e){if(e)return{x:e[0]+32,y:e[1]+32}}},9504:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.moveToCellSequence=void 0;var i=n(2584);function o(e,t,n,i){var o=e-r(n,e),a=t-r(n,t),u=Math.abs(o-a)-function(e,t,n){for(var i=0,o=e-r(n,e),a=t-r(n,t),c=0;c=0&&tt?"A":"B"}function a(e,t,n,i,o,r){for(var s=e,a=t,c="";s!==n||a!==i;)s+=o?1:-1,o&&s>r.cols-1?(c+=r.buffer.translateBufferLineToString(a,!1,e,s),s=0,e=0,a++):!o&&s<0&&(c+=r.buffer.translateBufferLineToString(a,!1,0,e+1),e=s=r.cols-1,a--);return c+r.buffer.translateBufferLineToString(a,!1,e,s)}function c(e,t){var n=t?"O":"[";return i.C0.ESC+n+e}function l(e,t){e=Math.floor(e);for(var n="",i=0;i0?i-r(s,i):t;var h=i,p=function(e,t,n,i,s,a){var c;return c=o(n,i,s,a).length>0?i-r(s,i):t,e=n&&ce?"D":"C",l(Math.abs(u-e),c(s,i));s=d>t?"D":"C";var h=Math.abs(d-t);return l(function(e,t){return t.cols-e}(d>t?e:u,n)+(h-1)*n.cols+1+((d>t?u:e)-1),c(s,i))}},4389:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseRenderLayer=void 0;var i=n(643),o=n(8803),r=n(1420),s=n(3734),a=n(1752),c=n(4774),l=n(9631),u=n(8978),d=function(){function e(e,t,n,i,o,r,s,a){this._container=e,this._alpha=i,this._colors=o,this._rendererId=r,this._bufferService=s,this._optionsService=a,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+t+"-layer"),this._canvas.style.zIndex=n.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return e.prototype.dispose=function(){var e;(0,l.removeElementFromParent)(this._canvas),null===(e=this._charAtlas)||void 0===e||e.dispose()},e.prototype._initCanvas=function(){this._ctx=(0,a.throwIfFalsy)(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},e.prototype.onOptionsChanged=function(){},e.prototype.onBlur=function(){},e.prototype.onFocus=function(){},e.prototype.onCursorMove=function(){},e.prototype.onGridChanged=function(e,t){},e.prototype.onSelectionChanged=function(e,t,n){void 0===n&&(n=!1)},e.prototype.setColors=function(e){this._refreshCharAtlas(e)},e.prototype._setTransparency=function(e){if(e!==this._alpha){var t=this._canvas;this._alpha=e,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,t),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},e.prototype._refreshCharAtlas=function(e){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=(0,r.acquireCharAtlas)(this._optionsService.rawOptions,this._rendererId,e,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},e.prototype.resize=function(e){this._scaledCellWidth=e.scaledCellWidth,this._scaledCellHeight=e.scaledCellHeight,this._scaledCharWidth=e.scaledCharWidth,this._scaledCharHeight=e.scaledCharHeight,this._scaledCharLeft=e.scaledCharLeft,this._scaledCharTop=e.scaledCharTop,this._canvas.width=e.scaledCanvasWidth,this._canvas.height=e.scaledCanvasHeight,this._canvas.style.width=e.canvasWidth+"px",this._canvas.style.height=e.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},e.prototype.clearTextureAtlas=function(){var e;null===(e=this._charAtlas)||void 0===e||e.clear()},e.prototype._fillCells=function(e,t,n,i){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,i*this._scaledCellHeight)},e.prototype._fillMiddleLineAtCells=function(e,t,n){void 0===n&&(n=1);var i=Math.ceil(.5*this._scaledCellHeight);this._ctx.fillRect(e*this._scaledCellWidth,(t+1)*this._scaledCellHeight-i-window.devicePixelRatio,n*this._scaledCellWidth,window.devicePixelRatio)},e.prototype._fillBottomLineAtCells=function(e,t,n){void 0===n&&(n=1),this._ctx.fillRect(e*this._scaledCellWidth,(t+1)*this._scaledCellHeight-window.devicePixelRatio-1,n*this._scaledCellWidth,window.devicePixelRatio)},e.prototype._fillLeftLineAtCell=function(e,t,n){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,window.devicePixelRatio*n,this._scaledCellHeight)},e.prototype._strokeRectAtCell=function(e,t,n,i){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(e*this._scaledCellWidth+window.devicePixelRatio/2,t*this._scaledCellHeight+window.devicePixelRatio/2,n*this._scaledCellWidth-window.devicePixelRatio,i*this._scaledCellHeight-window.devicePixelRatio)},e.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},e.prototype._clearCells=function(e,t,n,i){this._alpha?this._ctx.clearRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,i*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,i*this._scaledCellHeight))},e.prototype._fillCharTrueColor=function(e,t,n){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline=o.TEXT_BASELINE,this._clipRow(n);var i=!1;!1!==this._optionsService.rawOptions.customGlyphs&&(i=(0,u.tryDrawCustomChar)(this._ctx,e.getChars(),t*this._scaledCellWidth,n*this._scaledCellHeight,this._scaledCellWidth,this._scaledCellHeight)),i||this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight)},e.prototype._drawChars=function(e,t,n){var r,s,a,c=this._getContrastColor(e);c||e.isFgRGB()||e.isBgRGB()?this._drawUncachedChars(e,t,n,c):(e.isInverse()?(s=e.isBgDefault()?o.INVERTED_DEFAULT_COLOR:e.getBgColor(),a=e.isFgDefault()?o.INVERTED_DEFAULT_COLOR:e.getFgColor()):(a=e.isBgDefault()?i.DEFAULT_COLOR:e.getBgColor(),s=e.isFgDefault()?i.DEFAULT_COLOR:e.getFgColor()),s+=this._optionsService.rawOptions.drawBoldTextInBrightColors&&e.isBold()&&s<8?8:0,this._currentGlyphIdentifier.chars=e.getChars()||i.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=e.getCode()||i.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=a,this._currentGlyphIdentifier.fg=s,this._currentGlyphIdentifier.bold=!!e.isBold(),this._currentGlyphIdentifier.dim=!!e.isDim(),this._currentGlyphIdentifier.italic=!!e.isItalic(),(null===(r=this._charAtlas)||void 0===r?void 0:r.draw(this._ctx,this._currentGlyphIdentifier,t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop))||this._drawUncachedChars(e,t,n))},e.prototype._drawUncachedChars=function(e,t,n,i){if(this._ctx.save(),this._ctx.font=this._getFont(!!e.isBold(),!!e.isItalic()),this._ctx.textBaseline=o.TEXT_BASELINE,e.isInverse())if(i)this._ctx.fillStyle=i.css;else if(e.isBgDefault())this._ctx.fillStyle=c.color.opaque(this._colors.background).css;else if(e.isBgRGB())this._ctx.fillStyle="rgb("+s.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var r=e.getBgColor();this._optionsService.rawOptions.drawBoldTextInBrightColors&&e.isBold()&&r<8&&(r+=8),this._ctx.fillStyle=this._colors.ansi[r].css}else if(i)this._ctx.fillStyle=i.css;else if(e.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(e.isFgRGB())this._ctx.fillStyle="rgb("+s.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var a=e.getFgColor();this._optionsService.rawOptions.drawBoldTextInBrightColors&&e.isBold()&&a<8&&(a+=8),this._ctx.fillStyle=this._colors.ansi[a].css}this._clipRow(n),e.isDim()&&(this._ctx.globalAlpha=o.DIM_OPACITY);var l=!1;!1!==this._optionsService.rawOptions.customGlyphs&&(l=(0,u.tryDrawCustomChar)(this._ctx,e.getChars(),t*this._scaledCellWidth,n*this._scaledCellHeight,this._scaledCellWidth,this._scaledCellHeight)),l||this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight),this._ctx.restore()},e.prototype._clipRow=function(e){this._ctx.beginPath(),this._ctx.rect(0,e*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},e.prototype._getFont=function(e,t){return(t?"italic":"")+" "+(e?this._optionsService.rawOptions.fontWeightBold:this._optionsService.rawOptions.fontWeight)+" "+this._optionsService.rawOptions.fontSize*window.devicePixelRatio+"px "+this._optionsService.rawOptions.fontFamily},e.prototype._getContrastColor=function(e){if(1!==this._optionsService.rawOptions.minimumContrastRatio){var t=this._colors.contrastCache.getColor(e.bg,e.fg);if(void 0!==t)return t||void 0;var n=e.getFgColor(),i=e.getFgColorMode(),o=e.getBgColor(),r=e.getBgColorMode(),s=!!e.isInverse(),a=!!e.isInverse();if(s){var l=n;n=o,o=l;var u=i;i=r,r=u}var d=this._resolveBackgroundRgba(r,o,s),h=this._resolveForegroundRgba(i,n,s,a),p=c.rgba.ensureContrastRatio(d,h,this._optionsService.rawOptions.minimumContrastRatio);if(p){var f={css:c.channels.toCss(p>>24&255,p>>16&255,p>>8&255),rgba:p};return this._colors.contrastCache.setColor(e.bg,e.fg,f),f}this._colors.contrastCache.setColor(e.bg,e.fg,null)}},e.prototype._resolveBackgroundRgba=function(e,t,n){switch(e){case 16777216:case 33554432:return this._colors.ansi[t].rgba;case 50331648:return t<<8;default:return n?this._colors.foreground.rgba:this._colors.background.rgba}},e.prototype._resolveForegroundRgba=function(e,t,n,i){switch(e){case 16777216:case 33554432:return this._optionsService.rawOptions.drawBoldTextInBrightColors&&i&&t<8&&(t+=8),this._colors.ansi[t].rgba;case 50331648:return t<<8;default:return n?this._colors.background.rgba:this._colors.foreground.rgba}},e}();t.BaseRenderLayer=d},2512:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CursorRenderLayer=void 0;var a=n(1546),c=n(511),l=n(2585),u=n(4725),d=600,h=function(e){function t(t,n,i,o,r,s,a,l,u){var d=e.call(this,t,"cursor",n,!0,i,o,s,a)||this;return d._onRequestRedraw=r,d._coreService=l,d._coreBrowserService=u,d._cell=new c.CellData,d._state={x:0,y:0,isFocused:!1,style:"",width:0},d._cursorRenderers={bar:d._renderBarCursor.bind(d),block:d._renderBlockCursor.bind(d),underline:d._renderUnderlineCursor.bind(d)},d}return o(t,e),t.prototype.dispose=function(){this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0),e.prototype.dispose.call(this)},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},t.prototype.reset=function(){var e;this._clearCursor(),null===(e=this._cursorBlinkStateManager)||void 0===e||e.restartBlinkAnimation(),this.onOptionsChanged()},t.prototype.onBlur=function(){var e;null===(e=this._cursorBlinkStateManager)||void 0===e||e.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onFocus=function(){var e;null===(e=this._cursorBlinkStateManager)||void 0===e||e.resume(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onOptionsChanged=function(){var e,t=this;this._optionsService.rawOptions.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new p(this._coreBrowserService.isFocused,function(){t._render(!0)})):(null===(e=this._cursorBlinkStateManager)||void 0===e||e.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onCursorMove=function(){var e;null===(e=this._cursorBlinkStateManager)||void 0===e||e.restartBlinkAnimation()},t.prototype.onGridChanged=function(e,t){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype._render=function(e){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var t=this._bufferService.buffer.ybase+this._bufferService.buffer.y,n=t-this._bufferService.buffer.ydisp;if(n<0||n>=this._bufferService.rows)this._clearCursor();else{var i=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(t).loadCell(i,this._cell),void 0!==this._cell.content){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var o=this._optionsService.rawOptions.cursorStyle;return o&&"block"!==o?this._cursorRenderers[o](i,n,this._cell):this._renderBlurCursor(i,n,this._cell),this._ctx.restore(),this._state.x=i,this._state.y=n,this._state.isFocused=!1,this._state.style=o,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===i&&this._state.y===n&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.rawOptions.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.rawOptions.cursorStyle||"block"](i,n,this._cell),this._ctx.restore(),this._state.x=i,this._state.y=n,this._state.isFocused=!1,this._state.style=this._optionsService.rawOptions.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},t.prototype._clearCursor=function(){this._state&&(window.devicePixelRatio<1?this._clearAll():this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},t.prototype._renderBarCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(e,t,this._optionsService.rawOptions.cursorWidth),this._ctx.restore()},t.prototype._renderBlockCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(e,t,n.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(n,e,t),this._ctx.restore()},t.prototype._renderUnderlineCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(e,t),this._ctx.restore()},t.prototype._renderBlurCursor=function(e,t,n){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(e,t,n.getWidth(),1),this._ctx.restore()},r([s(5,l.IBufferService),s(6,l.IOptionsService),s(7,l.ICoreService),s(8,u.ICoreBrowserService)],t)}(a.BaseRenderLayer);t.CursorRenderLayer=h;var p=function(){function e(e,t){this._renderCallback=t,this.isCursorVisible=!0,e&&this._restartInterval()}return Object.defineProperty(e.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.restartBlinkAnimation=function(){var e=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){e._renderCallback(),e._animationFrame=void 0})))},e.prototype._restartInterval=function(e){var t=this;void 0===e&&(e=d),this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout=window.setTimeout(function(){if(t._animationTimeRestarted){var e=d-(Date.now()-t._animationTimeRestarted);if(t._animationTimeRestarted=void 0,e>0)return void t._restartInterval(e)}t.isCursorVisible=!1,t._animationFrame=window.requestAnimationFrame(function(){t._renderCallback(),t._animationFrame=void 0}),t._blinkInterval=window.setInterval(function(){if(t._animationTimeRestarted){var e=d-(Date.now()-t._animationTimeRestarted);return t._animationTimeRestarted=void 0,void t._restartInterval(e)}t.isCursorVisible=!t.isCursorVisible,t._animationFrame=window.requestAnimationFrame(function(){t._renderCallback(),t._animationFrame=void 0})},d)},e)},e.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},e}()},8978:(e,t,n)=>{var i,o,r,s,a,c,l,u,d,h,p,f,m,g,v,b,y,_,M,w,C,S,A,E,O,L,T,x,R,k,z,P,N,I,D,B,q,j,W,F,H,X,U,V,G,K,$,Y,J,Q,Z,ee,te,ne,ie,oe,re,se,ae,ce,le,ue,de,he,pe,fe,me,ge,ve,be,ye,_e,Me,we,Ce,Se,Ae,Ee,Oe,Le,Te,xe,Re,ke,ze,Pe,Ne,Ie,De,Be,qe,je,We,Fe,He,Xe,Ue,Ve,Ge,Ke,$e,Ye,Je,Qe,Ze,et,tt,nt,it,ot,rt,st,at,ct,lt,ut,dt,ht,pt,ft,mt,gt,vt,bt,yt,_t,Mt,wt;Object.defineProperty(t,"__esModule",{value:!0}),t.tryDrawCustomChar=t.boxDrawingDefinitions=t.blockElementDefinitions=void 0;var Ct=n(1752);t.blockElementDefinitions={"▀":[{x:0,y:0,w:8,h:4}],"▁":[{x:0,y:7,w:8,h:1}],"▂":[{x:0,y:6,w:8,h:2}],"▃":[{x:0,y:5,w:8,h:3}],"▄":[{x:0,y:4,w:8,h:4}],"▅":[{x:0,y:3,w:8,h:5}],"▆":[{x:0,y:2,w:8,h:6}],"▇":[{x:0,y:1,w:8,h:7}],"█":[{x:0,y:0,w:8,h:8}],"▉":[{x:0,y:0,w:7,h:8}],"▊":[{x:0,y:0,w:6,h:8}],"▋":[{x:0,y:0,w:5,h:8}],"▌":[{x:0,y:0,w:4,h:8}],"▍":[{x:0,y:0,w:3,h:8}],"▎":[{x:0,y:0,w:2,h:8}],"▏":[{x:0,y:0,w:1,h:8}],"▐":[{x:4,y:0,w:4,h:8}],"▔":[{x:0,y:0,w:9,h:1}],"▕":[{x:7,y:0,w:1,h:8}],"▖":[{x:0,y:4,w:4,h:4}],"▗":[{x:4,y:4,w:4,h:4}],"▘":[{x:0,y:0,w:4,h:4}],"▙":[{x:0,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"▚":[{x:0,y:0,w:4,h:4},{x:4,y:4,w:4,h:4}],"▛":[{x:0,y:0,w:4,h:8},{x:0,y:0,w:4,h:8}],"▜":[{x:0,y:0,w:8,h:4},{x:4,y:0,w:4,h:8}],"▝":[{x:4,y:0,w:4,h:4}],"▞":[{x:4,y:0,w:4,h:4},{x:0,y:4,w:4,h:4}],"▟":[{x:4,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"🭰":[{x:1,y:0,w:1,h:8}],"🭱":[{x:2,y:0,w:1,h:8}],"🭲":[{x:3,y:0,w:1,h:8}],"🭳":[{x:4,y:0,w:1,h:8}],"🭴":[{x:5,y:0,w:1,h:8}],"🭵":[{x:6,y:0,w:1,h:8}],"🭶":[{x:0,y:1,w:8,h:1}],"🭷":[{x:0,y:2,w:8,h:1}],"🭸":[{x:0,y:3,w:8,h:1}],"🭹":[{x:0,y:4,w:8,h:1}],"🭺":[{x:0,y:5,w:8,h:1}],"🭻":[{x:0,y:6,w:8,h:1}],"🭼":[{x:0,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"🭽":[{x:0,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"🭾":[{x:7,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"🭿":[{x:7,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"🮀":[{x:0,y:0,w:8,h:1},{x:0,y:7,w:8,h:1}],"🮁":[{x:0,y:0,w:8,h:1},{x:0,y:2,w:8,h:1},{x:0,y:4,w:8,h:1},{x:0,y:7,w:8,h:1}],"🮂":[{x:0,y:0,w:8,h:2}],"🮃":[{x:0,y:0,w:8,h:3}],"🮄":[{x:0,y:0,w:8,h:5}],"🮅":[{x:0,y:0,w:8,h:6}],"🮆":[{x:0,y:0,w:8,h:7}],"🮇":[{x:6,y:0,w:2,h:8}],"🮈":[{x:5,y:0,w:3,h:8}],"🮉":[{x:3,y:0,w:5,h:8}],"🮊":[{x:2,y:0,w:6,h:8}],"🮋":[{x:1,y:0,w:7,h:8}],"🮕":[{x:0,y:0,w:2,h:2},{x:4,y:0,w:2,h:2},{x:2,y:2,w:2,h:2},{x:6,y:2,w:2,h:2},{x:0,y:4,w:2,h:2},{x:4,y:4,w:2,h:2},{x:2,y:6,w:2,h:2},{x:6,y:6,w:2,h:2}],"🮖":[{x:2,y:0,w:2,h:2},{x:6,y:0,w:2,h:2},{x:0,y:2,w:2,h:2},{x:4,y:2,w:2,h:2},{x:2,y:4,w:2,h:2},{x:6,y:4,w:2,h:2},{x:0,y:6,w:2,h:2},{x:4,y:6,w:2,h:2}],"🮗":[{x:0,y:2,w:8,h:2},{x:0,y:6,w:8,h:2}]};var St={"░":[[1,0,0,0],[0,0,0,0],[0,0,1,0],[0,0,0,0]],"▒":[[1,0],[0,0],[0,1],[0,0]],"▓":[[0,1],[1,1],[1,0],[1,1]]};t.boxDrawingDefinitions={"─":(i={},i[1]="M0,.5 L1,.5",i),"━":(o={},o[3]="M0,.5 L1,.5",o),"│":(r={},r[1]="M.5,0 L.5,1",r),"┃":(s={},s[3]="M.5,0 L.5,1",s),"┌":(a={},a[1]="M0.5,1 L.5,.5 L1,.5",a),"┏":(c={},c[3]="M0.5,1 L.5,.5 L1,.5",c),"┐":(l={},l[1]="M0,.5 L.5,.5 L.5,1",l),"┓":(u={},u[3]="M0,.5 L.5,.5 L.5,1",u),"└":(d={},d[1]="M.5,0 L.5,.5 L1,.5",d),"┗":(h={},h[3]="M.5,0 L.5,.5 L1,.5",h),"┘":(p={},p[1]="M.5,0 L.5,.5 L0,.5",p),"┛":(f={},f[3]="M.5,0 L.5,.5 L0,.5",f),"├":(m={},m[1]="M.5,0 L.5,1 M.5,.5 L1,.5",m),"┣":(g={},g[3]="M.5,0 L.5,1 M.5,.5 L1,.5",g),"┤":(v={},v[1]="M.5,0 L.5,1 M.5,.5 L0,.5",v),"┫":(b={},b[3]="M.5,0 L.5,1 M.5,.5 L0,.5",b),"┬":(y={},y[1]="M0,.5 L1,.5 M.5,.5 L.5,1",y),"┳":(_={},_[3]="M0,.5 L1,.5 M.5,.5 L.5,1",_),"┴":(M={},M[1]="M0,.5 L1,.5 M.5,.5 L.5,0",M),"┻":(w={},w[3]="M0,.5 L1,.5 M.5,.5 L.5,0",w),"┼":(C={},C[1]="M0,.5 L1,.5 M.5,0 L.5,1",C),"╋":(S={},S[3]="M0,.5 L1,.5 M.5,0 L.5,1",S),"╴":(A={},A[1]="M.5,.5 L0,.5",A),"╸":(E={},E[3]="M.5,.5 L0,.5",E),"╵":(O={},O[1]="M.5,.5 L.5,0",O),"╹":(L={},L[3]="M.5,.5 L.5,0",L),"╶":(T={},T[1]="M.5,.5 L1,.5",T),"╺":(x={},x[3]="M.5,.5 L1,.5",x),"╷":(R={},R[1]="M.5,.5 L.5,1",R),"╻":(k={},k[3]="M.5,.5 L.5,1",k),"═":(z={},z[1]=function(e,t){return"M0,"+(.5-t)+" L1,"+(.5-t)+" M0,"+(.5+t)+" L1,"+(.5+t)},z),"║":(P={},P[1]=function(e,t){return"M"+(.5-e)+",0 L"+(.5-e)+",1 M"+(.5+e)+",0 L"+(.5+e)+",1"},P),"╒":(N={},N[1]=function(e,t){return"M.5,1 L.5,"+(.5-t)+" L1,"+(.5-t)+" M.5,"+(.5+t)+" L1,"+(.5+t)},N),"╓":(I={},I[1]=function(e,t){return"M"+(.5-e)+",1 L"+(.5-e)+",.5 L1,.5 M"+(.5+e)+",.5 L"+(.5+e)+",1"},I),"╔":(D={},D[1]=function(e,t){return"M1,"+(.5-t)+" L"+(.5-e)+","+(.5-t)+" L"+(.5-e)+",1 M1,"+(.5+t)+" L"+(.5+e)+","+(.5+t)+" L"+(.5+e)+",1"},D),"╕":(B={},B[1]=function(e,t){return"M0,"+(.5-t)+" L.5,"+(.5-t)+" L.5,1 M0,"+(.5+t)+" L.5,"+(.5+t)},B),"╖":(q={},q[1]=function(e,t){return"M"+(.5+e)+",1 L"+(.5+e)+",.5 L0,.5 M"+(.5-e)+",.5 L"+(.5-e)+",1"},q),"╗":(j={},j[1]=function(e,t){return"M0,"+(.5+t)+" L"+(.5-e)+","+(.5+t)+" L"+(.5-e)+",1 M0,"+(.5-t)+" L"+(.5+e)+","+(.5-t)+" L"+(.5+e)+",1"},j),"╘":(W={},W[1]=function(e,t){return"M.5,0 L.5,"+(.5+t)+" L1,"+(.5+t)+" M.5,"+(.5-t)+" L1,"+(.5-t)},W),"╙":(F={},F[1]=function(e,t){return"M1,.5 L"+(.5-e)+",.5 L"+(.5-e)+",0 M"+(.5+e)+",.5 L"+(.5+e)+",0"},F),"╚":(H={},H[1]=function(e,t){return"M1,"+(.5-t)+" L"+(.5+e)+","+(.5-t)+" L"+(.5+e)+",0 M1,"+(.5+t)+" L"+(.5-e)+","+(.5+t)+" L"+(.5-e)+",0"},H),"╛":(X={},X[1]=function(e,t){return"M0,"+(.5+t)+" L.5,"+(.5+t)+" L.5,0 M0,"+(.5-t)+" L.5,"+(.5-t)},X),"╜":(U={},U[1]=function(e,t){return"M0,.5 L"+(.5+e)+",.5 L"+(.5+e)+",0 M"+(.5-e)+",.5 L"+(.5-e)+",0"},U),"╝":(V={},V[1]=function(e,t){return"M0,"+(.5-t)+" L"+(.5-e)+","+(.5-t)+" L"+(.5-e)+",0 M0,"+(.5+t)+" L"+(.5+e)+","+(.5+t)+" L"+(.5+e)+",0"},V),"╞":(G={},G[1]=function(e,t){return"M.5,0 L.5,1 M.5,"+(.5-t)+" L1,"+(.5-t)+" M.5,"+(.5+t)+" L1,"+(.5+t)},G),"╟":(K={},K[1]=function(e,t){return"M"+(.5-e)+",0 L"+(.5-e)+",1 M"+(.5+e)+",0 L"+(.5+e)+",1 M"+(.5+e)+",.5 L1,.5"},K),"╠":($={},$[1]=function(e,t){return"M"+(.5-e)+",0 L"+(.5-e)+",1 M1,"+(.5+t)+" L"+(.5+e)+","+(.5+t)+" L"+(.5+e)+",1 M1,"+(.5-t)+" L"+(.5+e)+","+(.5-t)+" L"+(.5+e)+",0"},$),"╡":(Y={},Y[1]=function(e,t){return"M.5,0 L.5,1 M0,"+(.5-t)+" L.5,"+(.5-t)+" M0,"+(.5+t)+" L.5,"+(.5+t)},Y),"╢":(J={},J[1]=function(e,t){return"M0,.5 L"+(.5-e)+",.5 M"+(.5-e)+",0 L"+(.5-e)+",1 M"+(.5+e)+",0 L"+(.5+e)+",1"},J),"╣":(Q={},Q[1]=function(e,t){return"M"+(.5+e)+",0 L"+(.5+e)+",1 M0,"+(.5+t)+" L"+(.5-e)+","+(.5+t)+" L"+(.5-e)+",1 M0,"+(.5-t)+" L"+(.5-e)+","+(.5-t)+" L"+(.5-e)+",0"},Q),"╤":(Z={},Z[1]=function(e,t){return"M0,"+(.5-t)+" L1,"+(.5-t)+" M0,"+(.5+t)+" L1,"+(.5+t)+" M.5,"+(.5+t)+" L.5,1"},Z),"╥":(ee={},ee[1]=function(e,t){return"M0,.5 L1,.5 M"+(.5-e)+",.5 L"+(.5-e)+",1 M"+(.5+e)+",.5 L"+(.5+e)+",1"},ee),"╦":(te={},te[1]=function(e,t){return"M0,"+(.5-t)+" L1,"+(.5-t)+" M0,"+(.5+t)+" L"+(.5-e)+","+(.5+t)+" L"+(.5-e)+",1 M1,"+(.5+t)+" L"+(.5+e)+","+(.5+t)+" L"+(.5+e)+",1"},te),"╧":(ne={},ne[1]=function(e,t){return"M.5,0 L.5,"+(.5-t)+" M0,"+(.5-t)+" L1,"+(.5-t)+" M0,"+(.5+t)+" L1,"+(.5+t)},ne),"╨":(ie={},ie[1]=function(e,t){return"M0,.5 L1,.5 M"+(.5-e)+",.5 L"+(.5-e)+",0 M"+(.5+e)+",.5 L"+(.5+e)+",0"},ie),"╩":(oe={},oe[1]=function(e,t){return"M0,"+(.5+t)+" L1,"+(.5+t)+" M0,"+(.5-t)+" L"+(.5-e)+","+(.5-t)+" L"+(.5-e)+",0 M1,"+(.5-t)+" L"+(.5+e)+","+(.5-t)+" L"+(.5+e)+",0"},oe),"╪":(re={},re[1]=function(e,t){return"M.5,0 L.5,1 M0,"+(.5-t)+" L1,"+(.5-t)+" M0,"+(.5+t)+" L1,"+(.5+t)},re),"╫":(se={},se[1]=function(e,t){return"M0,.5 L1,.5 M"+(.5-e)+",0 L"+(.5-e)+",1 M"+(.5+e)+",0 L"+(.5+e)+",1"},se),"╬":(ae={},ae[1]=function(e,t){return"M0,"+(.5+t)+" L"+(.5-e)+","+(.5+t)+" L"+(.5-e)+",1 M1,"+(.5+t)+" L"+(.5+e)+","+(.5+t)+" L"+(.5+e)+",1 M0,"+(.5-t)+" L"+(.5-e)+","+(.5-t)+" L"+(.5-e)+",0 M1,"+(.5-t)+" L"+(.5+e)+","+(.5-t)+" L"+(.5+e)+",0"},ae),"╱":(ce={},ce[1]="M1,0 L0,1",ce),"╲":(le={},le[1]="M0,0 L1,1",le),"╳":(ue={},ue[1]="M1,0 L0,1 M0,0 L1,1",ue),"╼":(de={},de[1]="M.5,.5 L0,.5",de[3]="M.5,.5 L1,.5",de),"╽":(he={},he[1]="M.5,.5 L.5,0",he[3]="M.5,.5 L.5,1",he),"╾":(pe={},pe[1]="M.5,.5 L1,.5",pe[3]="M.5,.5 L0,.5",pe),"╿":(fe={},fe[1]="M.5,.5 L.5,1",fe[3]="M.5,.5 L.5,0",fe),"┍":(me={},me[1]="M.5,.5 L.5,1",me[3]="M.5,.5 L1,.5",me),"┎":(ge={},ge[1]="M.5,.5 L1,.5",ge[3]="M.5,.5 L.5,1",ge),"┑":(ve={},ve[1]="M.5,.5 L.5,1",ve[3]="M.5,.5 L0,.5",ve),"┒":(be={},be[1]="M.5,.5 L0,.5",be[3]="M.5,.5 L.5,1",be),"┕":(ye={},ye[1]="M.5,.5 L.5,0",ye[3]="M.5,.5 L1,.5",ye),"┖":(_e={},_e[1]="M.5,.5 L1,.5",_e[3]="M.5,.5 L.5,0",_e),"┙":(Me={},Me[1]="M.5,.5 L.5,0",Me[3]="M.5,.5 L0,.5",Me),"┚":(we={},we[1]="M.5,.5 L0,.5",we[3]="M.5,.5 L.5,0",we),"┝":(Ce={},Ce[1]="M.5,0 L.5,1",Ce[3]="M.5,.5 L1,.5",Ce),"┞":(Se={},Se[1]="M0.5,1 L.5,.5 L1,.5",Se[3]="M.5,.5 L.5,0",Se),"┟":(Ae={},Ae[1]="M.5,0 L.5,.5 L1,.5",Ae[3]="M.5,.5 L.5,1",Ae),"┠":(Ee={},Ee[1]="M.5,.5 L1,.5",Ee[3]="M.5,0 L.5,1",Ee),"┡":(Oe={},Oe[1]="M.5,.5 L.5,1",Oe[3]="M.5,0 L.5,.5 L1,.5",Oe),"┢":(Le={},Le[1]="M.5,.5 L.5,0",Le[3]="M0.5,1 L.5,.5 L1,.5",Le),"┥":(Te={},Te[1]="M.5,0 L.5,1",Te[3]="M.5,.5 L0,.5",Te),"┦":(xe={},xe[1]="M0,.5 L.5,.5 L.5,1",xe[3]="M.5,.5 L.5,0",xe),"┧":(Re={},Re[1]="M.5,0 L.5,.5 L0,.5",Re[3]="M.5,.5 L.5,1",Re),"┨":(ke={},ke[1]="M.5,.5 L0,.5",ke[3]="M.5,0 L.5,1",ke),"┩":(ze={},ze[1]="M.5,.5 L.5,1",ze[3]="M.5,0 L.5,.5 L0,.5",ze),"┪":(Pe={},Pe[1]="M.5,.5 L.5,0",Pe[3]="M0,.5 L.5,.5 L.5,1",Pe),"┭":(Ne={},Ne[1]="M0.5,1 L.5,.5 L1,.5",Ne[3]="M.5,.5 L0,.5",Ne),"┮":(Ie={},Ie[1]="M0,.5 L.5,.5 L.5,1",Ie[3]="M.5,.5 L1,.5",Ie),"┯":(De={},De[1]="M.5,.5 L.5,1",De[3]="M0,.5 L1,.5",De),"┰":(Be={},Be[1]="M0,.5 L1,.5",Be[3]="M.5,.5 L.5,1",Be),"┱":(qe={},qe[1]="M.5,.5 L1,.5",qe[3]="M0,.5 L.5,.5 L.5,1",qe),"┲":(je={},je[1]="M.5,.5 L0,.5",je[3]="M0.5,1 L.5,.5 L1,.5",je),"┵":(We={},We[1]="M.5,0 L.5,.5 L1,.5",We[3]="M.5,.5 L0,.5",We),"┶":(Fe={},Fe[1]="M.5,0 L.5,.5 L0,.5",Fe[3]="M.5,.5 L1,.5",Fe),"┷":(He={},He[1]="M.5,.5 L.5,0",He[3]="M0,.5 L1,.5",He),"┸":(Xe={},Xe[1]="M0,.5 L1,.5",Xe[3]="M.5,.5 L.5,0",Xe),"┹":(Ue={},Ue[1]="M.5,.5 L1,.5",Ue[3]="M.5,0 L.5,.5 L0,.5",Ue),"┺":(Ve={},Ve[1]="M.5,.5 L0,.5",Ve[3]="M.5,0 L.5,.5 L1,.5",Ve),"┽":(Ge={},Ge[1]="M.5,0 L.5,1 M.5,.5 L1,.5",Ge[3]="M.5,.5 L0,.5",Ge),"┾":(Ke={},Ke[1]="M.5,0 L.5,1 M.5,.5 L0,.5",Ke[3]="M.5,.5 L1,.5",Ke),"┿":($e={},$e[1]="M.5,0 L.5,1",$e[3]="M0,.5 L1,.5",$e),"╀":(Ye={},Ye[1]="M0,.5 L1,.5 M.5,.5 L.5,1",Ye[3]="M.5,.5 L.5,0",Ye),"╁":(Je={},Je[1]="M.5,.5 L.5,0 M0,.5 L1,.5",Je[3]="M.5,.5 L.5,1",Je),"╂":(Qe={},Qe[1]="M0,.5 L1,.5",Qe[3]="M.5,0 L.5,1",Qe),"╃":(Ze={},Ze[1]="M0.5,1 L.5,.5 L1,.5",Ze[3]="M.5,0 L.5,.5 L0,.5",Ze),"╄":(et={},et[1]="M0,.5 L.5,.5 L.5,1",et[3]="M.5,0 L.5,.5 L1,.5",et),"╅":(tt={},tt[1]="M.5,0 L.5,.5 L1,.5",tt[3]="M0,.5 L.5,.5 L.5,1",tt),"╆":(nt={},nt[1]="M.5,0 L.5,.5 L0,.5",nt[3]="M0.5,1 L.5,.5 L1,.5",nt),"╇":(it={},it[1]="M.5,.5 L.5,1",it[3]="M.5,.5 L.5,0 M0,.5 L1,.5",it),"╈":(ot={},ot[1]="M.5,.5 L.5,0",ot[3]="M0,.5 L1,.5 M.5,.5 L.5,1",ot),"╉":(rt={},rt[1]="M.5,.5 L1,.5",rt[3]="M.5,0 L.5,1 M.5,.5 L0,.5",rt),"╊":(st={},st[1]="M.5,.5 L0,.5",st[3]="M.5,0 L.5,1 M.5,.5 L1,.5",st),"╌":(at={},at[1]="M.1,.5 L.4,.5 M.6,.5 L.9,.5",at),"╍":(ct={},ct[3]="M.1,.5 L.4,.5 M.6,.5 L.9,.5",ct),"┄":(lt={},lt[1]="M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5",lt),"┅":(ut={},ut[3]="M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5",ut),"┈":(dt={},dt[1]="M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5",dt),"┉":(ht={},ht[3]="M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5",ht),"╎":(pt={},pt[1]="M.5,.1 L.5,.4 M.5,.6 L.5,.9",pt),"╏":(ft={},ft[3]="M.5,.1 L.5,.4 M.5,.6 L.5,.9",ft),"┆":(mt={},mt[1]="M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333",mt),"┇":(gt={},gt[3]="M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333",gt),"┊":(vt={},vt[1]="M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95",vt),"┋":(bt={},bt[3]="M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95",bt),"╭":(yt={},yt[1]="C.5,1,.5,.5,1,.5",yt),"╮":(_t={},_t[1]="C.5,1,.5,.5,0,.5",_t),"╯":(Mt={},Mt[1]="C.5,0,.5,.5,0,.5",Mt),"╰":(wt={},wt[1]="C.5,0,.5,.5,1,.5",wt)},t.tryDrawCustomChar=function(e,n,i,o,r,s){var a=t.blockElementDefinitions[n];if(a)return function(e,t,n,i,o,r){for(var s=0;s7&&parseInt(c.substr(7,2),16)||1;else{if(!c.startsWith("rgba"))throw new Error('Unexpected fillStyle color format "'+c+'" when drawing pattern glyph');m=(s=c.substring(5,c.length-1).split(",").map(function(e){return parseFloat(e)}))[0],g=s[1],v=s[2],b=s[3]}for(var y=0;y{Object.defineProperty(t,"__esModule",{value:!0}),t.GridCache=void 0;var n=function(){function e(){this.cache=[]}return e.prototype.resize=function(e,t){for(var n=0;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.LinkRenderLayer=void 0;var a=n(1546),c=n(8803),l=n(2040),u=n(2585),d=function(e){function t(t,n,i,o,r,s,a,c){var l=e.call(this,t,"link",n,!0,i,o,a,c)||this;return r.onShowLinkUnderline(function(e){return l._onShowLinkUnderline(e)}),r.onHideLinkUnderline(function(e){return l._onHideLinkUnderline(e)}),s.onShowLinkUnderline(function(e){return l._onShowLinkUnderline(e)}),s.onHideLinkUnderline(function(e){return l._onHideLinkUnderline(e)}),l}return o(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state=void 0},t.prototype.reset=function(){this._clearCurrentLink()},t.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var e=this._state.y2-this._state.y1-1;e>0&&this._clearCells(0,this._state.y1+1,this._state.cols,e),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},t.prototype._onShowLinkUnderline=function(e){if(e.fg===c.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:e.fg&&(0,l.is256Color)(e.fg)?this._ctx.fillStyle=this._colors.ansi[e.fg].css:this._ctx.fillStyle=this._colors.foreground.css,e.y1===e.y2)this._fillBottomLineAtCells(e.x1,e.y1,e.x2-e.x1);else{this._fillBottomLineAtCells(e.x1,e.y1,e.cols-e.x1);for(var t=e.y1+1;t=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Renderer=void 0;var a=n(9596),c=n(4149),l=n(2512),u=n(5098),d=n(844),h=n(4725),p=n(2585),f=n(1420),m=n(8460),g=1,v=function(e){function t(t,n,i,o,r,s,d,h){var p=e.call(this)||this;p._colors=t,p._screenElement=n,p._bufferService=s,p._charSizeService=d,p._optionsService=h,p._id=g++,p._onRequestRedraw=new m.EventEmitter;var f=p._optionsService.rawOptions.allowTransparency;return p._renderLayers=[r.createInstance(a.TextRenderLayer,p._screenElement,0,p._colors,f,p._id),r.createInstance(c.SelectionRenderLayer,p._screenElement,1,p._colors,p._id),r.createInstance(u.LinkRenderLayer,p._screenElement,2,p._colors,p._id,i,o),r.createInstance(l.CursorRenderLayer,p._screenElement,3,p._colors,p._id,p._onRequestRedraw)],p.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},p._devicePixelRatio=window.devicePixelRatio,p._updateDimensions(),p.onOptionsChanged(),p}return o(t,e),Object.defineProperty(t.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){for(var t=0,n=this._renderLayers;t{Object.defineProperty(t,"__esModule",{value:!0}),t.throwIfFalsy=void 0,t.throwIfFalsy=function(e){if(!e)throw new Error("value must not be falsy");return e}},4149:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionRenderLayer=void 0;var a=n(1546),c=n(2585),l=function(e){function t(t,n,i,o,r,s){var a=e.call(this,t,"selection",n,!0,i,o,r,s)||this;return a._clearState(),a}return o(t,e),t.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._clearState()},t.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},t.prototype.onSelectionChanged=function(e,t,n){if(this._didStateChange(e,t,n,this._bufferService.buffer.ydisp))if(this._clearAll(),e&&t){var i=e[1]-this._bufferService.buffer.ydisp,o=t[1]-this._bufferService.buffer.ydisp,r=Math.max(i,0),s=Math.min(o,this._bufferService.rows-1);if(r>=this._bufferService.rows||s<0)this._state.ydisp=this._bufferService.buffer.ydisp;else{if(this._ctx.fillStyle=this._colors.selectionTransparent.css,n){var a=e[0],c=t[0]-a,l=s-r+1;this._fillCells(a,r,c,l)}else{a=i===r?e[0]:0;var u=r===o?t[0]:this._bufferService.cols;this._fillCells(a,r,u-a,1);var d=Math.max(s-r-1,0);if(this._fillCells(0,r+1,this._bufferService.cols,d),r!==s){var h=o===s?t[0]:this._bufferService.cols;this._fillCells(0,s,h,1)}}this._state.start=[e[0],e[1]],this._state.end=[t[0],t[1]],this._state.columnSelectMode=n,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},t.prototype._didStateChange=function(e,t,n,i){return!this._areCoordinatesEqual(e,this._state.start)||!this._areCoordinatesEqual(t,this._state.end)||n!==this._state.columnSelectMode||i!==this._state.ydisp},t.prototype._areCoordinatesEqual=function(e,t){return!(!e||!t)&&e[0]===t[0]&&e[1]===t[1]},r([s(4,c.IBufferService),s(5,c.IOptionsService)],t)}(a.BaseRenderLayer);t.SelectionRenderLayer=l},9596:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextRenderLayer=void 0;var a=n(3700),c=n(1546),l=n(3734),u=n(643),d=n(511),h=n(2585),p=n(4725),f=n(4269),m=function(e){function t(t,n,i,o,r,s,c,l){var u=e.call(this,t,"text",n,o,i,r,s,c)||this;return u._characterJoinerService=l,u._characterWidth=0,u._characterFont="",u._characterOverlapCache={},u._workCell=new d.CellData,u._state=new a.GridCache,u}return o(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t);var n=this._getFont(!1,!1);this._characterWidth===t.scaledCharWidth&&this._characterFont===n||(this._characterWidth=t.scaledCharWidth,this._characterFont=n,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},t.prototype.reset=function(){this._state.clear(),this._clearAll()},t.prototype._forEachCell=function(e,t,n){for(var i=e;i<=t;i++)for(var o=i+this._bufferService.buffer.ydisp,r=this._bufferService.buffer.lines.get(o),s=this._characterJoinerService.getJoinedCharacters(o),a=0;a0&&a===s[0][0]){l=!0;var h=s.shift();c=new f.JoinedCellData(this._workCell,r.translateToString(!0,h[0],h[1]),h[1]-h[0]),d=h[1]-1}!l&&this._isOverlapping(c)&&dthis._characterWidth;return this._ctx.restore(),this._characterOverlapCache[t]=n,n},r([s(5,h.IBufferService),s(6,h.IOptionsService),s(7,p.ICharacterJoinerService)],t)}(c.BaseRenderLayer);t.TextRenderLayer=m},9616:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseCharAtlas=void 0;var n=function(){function e(){this._didWarmUp=!1}return e.prototype.dispose=function(){},e.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},e.prototype._doWarmUp=function(){},e.prototype.clear=function(){},e.prototype.beginFrame=function(){},e}();t.BaseCharAtlas=n},1420:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.removeTerminalFromCache=t.acquireCharAtlas=void 0;var i=n(2040),o=n(1906),r=[];t.acquireCharAtlas=function(e,t,n,s,a){for(var c=(0,i.generateConfig)(s,a,e,n),l=0;l=0){if((0,i.configEquals)(d.config,c))return d.atlas;1===d.ownedBy.length?(d.atlas.dispose(),r.splice(l,1)):d.ownedBy.splice(u,1);break}}for(l=0;l{Object.defineProperty(t,"__esModule",{value:!0}),t.CHAR_ATLAS_CELL_SPACING=t.TEXT_BASELINE=t.DIM_OPACITY=t.INVERTED_DEFAULT_COLOR=void 0;var i=n(6114);t.INVERTED_DEFAULT_COLOR=257,t.DIM_OPACITY=.5,t.TEXT_BASELINE=i.isFirefox||i.isLegacyEdge?"bottom":"ideographic",t.CHAR_ATLAS_CELL_SPACING=1},1906:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.NoneCharAtlas=t.DynamicCharAtlas=t.getGlyphCacheKey=void 0;var r=n(8803),s=n(9616),a=n(5680),c=n(7001),l=n(6114),u=n(1752),d=n(4774),h=1024,p=1024,f={css:"rgba(0, 0, 0, 0)",rgba:0};function m(e){return e.code<<21|e.bg<<12|e.fg<<3|(e.bold?0:4)+(e.dim?0:2)+(e.italic?0:1)}t.getGlyphCacheKey=m;var g=function(e){function t(t,n){var i=e.call(this)||this;i._config=n,i._drawToCacheCount=0,i._glyphsWaitingOnBitmap=[],i._bitmapCommitTimeout=null,i._bitmap=null,i._cacheCanvas=t.createElement("canvas"),i._cacheCanvas.width=h,i._cacheCanvas.height=p,i._cacheCtx=(0,u.throwIfFalsy)(i._cacheCanvas.getContext("2d",{alpha:!0}));var o=t.createElement("canvas");o.width=i._config.scaledCharWidth,o.height=i._config.scaledCharHeight,i._tmpCtx=(0,u.throwIfFalsy)(o.getContext("2d",{alpha:i._config.allowTransparency})),i._width=Math.floor(h/i._config.scaledCharWidth),i._height=Math.floor(p/i._config.scaledCharHeight);var r=i._width*i._height;return i._cacheMap=new c.LRUMap(r),i._cacheMap.prealloc(r),i}return o(t,e),t.prototype.dispose=function(){null!==this._bitmapCommitTimeout&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},t.prototype.beginFrame=function(){this._drawToCacheCount=0},t.prototype.clear=function(){if(this._cacheMap.size>0){var e=this._width*this._height;this._cacheMap=new c.LRUMap(e),this._cacheMap.prealloc(e)}this._cacheCtx.clearRect(0,0,h,p),this._tmpCtx.clearRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight)},t.prototype.draw=function(e,t,n,i){if(32===t.code)return!0;if(!this._canCache(t))return!1;var o=m(t),r=this._cacheMap.get(o);if(null!=r)return this._drawFromCache(e,r,n,i),!0;if(this._drawToCacheCount<100){var s;s=this._cacheMap.size>>24,o=t.rgba>>>16&255,r=t.rgba>>>8&255,s=0;s{Object.defineProperty(t,"__esModule",{value:!0}),t.LRUMap=void 0;var n=function(){function e(e){this.capacity=e,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return e.prototype._unlinkNode=function(e){var t=e.prev,n=e.next;e===this._head&&(this._head=n),e===this._tail&&(this._tail=t),null!==t&&(t.next=n),null!==n&&(n.prev=t)},e.prototype._appendNode=function(e){var t=this._tail;null!==t&&(t.next=e),e.prev=t,e.next=null,this._tail=e,null===this._head&&(this._head=e)},e.prototype.prealloc=function(e){for(var t=this._nodePool,n=0;n=this.capacity)n=this._head,this._unlinkNode(n),delete this._map[n.key],n.key=e,n.value=t,this._map[e]=n;else{var i=this._nodePool;i.length>0?((n=i.pop()).key=e,n.value=t):n={prev:null,next:null,key:e,value:t},this._map[e]=n,this.size++}this._appendNode(n)},e}();t.LRUMap=n},1296:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomRenderer=void 0;var a=n(3787),c=n(8803),l=n(844),u=n(4725),d=n(2585),h=n(8460),p=n(4774),f=n(9631),m="xterm-dom-renderer-owner-",g="xterm-fg-",v="xterm-bg-",b="xterm-focus",y=1,_=function(e){function t(t,n,i,o,r,s,c,l,u,d){var h=e.call(this)||this;return h._colors=t,h._element=n,h._screenElement=i,h._viewportElement=o,h._linkifier=r,h._linkifier2=s,h._charSizeService=l,h._optionsService=u,h._bufferService=d,h._terminalClass=y++,h._rowElements=[],h._rowContainer=document.createElement("div"),h._rowContainer.classList.add("xterm-rows"),h._rowContainer.style.lineHeight="normal",h._rowContainer.setAttribute("aria-hidden","true"),h._refreshRowElements(h._bufferService.cols,h._bufferService.rows),h._selectionContainer=document.createElement("div"),h._selectionContainer.classList.add("xterm-selection"),h._selectionContainer.setAttribute("aria-hidden","true"),h.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},h._updateDimensions(),h._injectCss(),h._rowFactory=c.createInstance(a.DomRendererRowFactory,document,h._colors),h._element.classList.add(m+h._terminalClass),h._screenElement.appendChild(h._rowContainer),h._screenElement.appendChild(h._selectionContainer),h._linkifier.onShowLinkUnderline(function(e){return h._onLinkHover(e)}),h._linkifier.onHideLinkUnderline(function(e){return h._onLinkLeave(e)}),h._linkifier2.onShowLinkUnderline(function(e){return h._onLinkHover(e)}),h._linkifier2.onHideLinkUnderline(function(e){return h._onLinkLeave(e)}),h}return o(t,e),Object.defineProperty(t.prototype,"onRequestRedraw",{get:function(){return(new h.EventEmitter).event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this._element.classList.remove(m+this._terminalClass),(0,f.removeElementFromParent)(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),e.prototype.dispose.call(this)},t.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.rawOptions.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.rawOptions.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var e=0,t=this._rowElements;et;)this._rowContainer.removeChild(this._rowElements.pop())},t.prototype.onResize=function(e,t){this._refreshRowElements(e,t),this._updateDimensions()},t.prototype.onCharSizeChanged=function(){this._updateDimensions()},t.prototype.onBlur=function(){this._rowContainer.classList.remove(b)},t.prototype.onFocus=function(){this._rowContainer.classList.add(b)},t.prototype.onSelectionChanged=function(e,t,n){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(e&&t){var i=e[1]-this._bufferService.buffer.ydisp,o=t[1]-this._bufferService.buffer.ydisp,r=Math.max(i,0),s=Math.min(o,this._bufferService.rows-1);if(!(r>=this._bufferService.rows||s<0)){var a=document.createDocumentFragment();if(n)a.appendChild(this._createSelectionElement(r,e[0],t[0],s-r+1));else{var c=i===r?e[0]:0,l=r===o?t[0]:this._bufferService.cols;a.appendChild(this._createSelectionElement(r,c,l));var u=s-r-1;if(a.appendChild(this._createSelectionElement(r+1,0,this._bufferService.cols,u)),r!==s){var d=o===s?t[0]:this._bufferService.cols;a.appendChild(this._createSelectionElement(s,0,d))}}this._selectionContainer.appendChild(a)}}},t.prototype._createSelectionElement=function(e,t,n,i){void 0===i&&(i=1);var o=document.createElement("div");return o.style.height=i*this.dimensions.actualCellHeight+"px",o.style.top=e*this.dimensions.actualCellHeight+"px",o.style.left=t*this.dimensions.actualCellWidth+"px",o.style.width=this.dimensions.actualCellWidth*(n-t)+"px",o},t.prototype.onCursorMove=function(){},t.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},t.prototype.clear=function(){for(var e=0,t=this._rowElements;e=o&&(e=0,n++)}},r([s(6,d.IInstantiationService),s(7,u.ICharSizeService),s(8,d.IOptionsService),s(9,d.IBufferService)],t)}(l.Disposable);t.DomRenderer=_},3787:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomRendererRowFactory=t.CURSOR_STYLE_UNDERLINE_CLASS=t.CURSOR_STYLE_BAR_CLASS=t.CURSOR_STYLE_BLOCK_CLASS=t.CURSOR_BLINK_CLASS=t.CURSOR_CLASS=t.STRIKETHROUGH_CLASS=t.UNDERLINE_CLASS=t.ITALIC_CLASS=t.DIM_CLASS=t.BOLD_CLASS=void 0;var r=n(8803),s=n(643),a=n(511),c=n(2585),l=n(4774),u=n(4725),d=n(4269);t.BOLD_CLASS="xterm-bold",t.DIM_CLASS="xterm-dim",t.ITALIC_CLASS="xterm-italic",t.UNDERLINE_CLASS="xterm-underline",t.STRIKETHROUGH_CLASS="xterm-strikethrough",t.CURSOR_CLASS="xterm-cursor",t.CURSOR_BLINK_CLASS="xterm-cursor-blink",t.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",t.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",t.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var h=function(){function e(e,t,n,i,o){this._document=e,this._colors=t,this._characterJoinerService=n,this._optionsService=i,this._coreService=o,this._workCell=new a.CellData}return e.prototype.setColors=function(e){this._colors=e},e.prototype.createRow=function(e,n,i,o,a,c,u,h){for(var f=this._document.createDocumentFragment(),m=this._characterJoinerService.getJoinedCharacters(n),g=0,v=Math.min(e.length,h)-1;v>=0;v--)if(e.loadCell(v,this._workCell).getCode()!==s.NULL_CELL_CODE||i&&v===a){g=v+1;break}for(v=0;v0&&v===m[0][0]){y=!0;var w=m.shift();M=new d.JoinedCellData(this._workCell,e.translateToString(!0,w[0],w[1]),w[1]-w[0]),_=w[1]-1,b=M.getWidth()}var C=this._document.createElement("span");if(b>1&&(C.style.width=u*b+"px"),y&&(C.style.display="inline",a>=v&&a<=_&&(a=v)),!this._coreService.isCursorHidden&&i&&v===a)switch(C.classList.add(t.CURSOR_CLASS),c&&C.classList.add(t.CURSOR_BLINK_CLASS),o){case"bar":C.classList.add(t.CURSOR_STYLE_BAR_CLASS);break;case"underline":C.classList.add(t.CURSOR_STYLE_UNDERLINE_CLASS);break;default:C.classList.add(t.CURSOR_STYLE_BLOCK_CLASS)}M.isBold()&&C.classList.add(t.BOLD_CLASS),M.isItalic()&&C.classList.add(t.ITALIC_CLASS),M.isDim()&&C.classList.add(t.DIM_CLASS),M.isUnderline()&&C.classList.add(t.UNDERLINE_CLASS),M.isInvisible()?C.textContent=s.WHITESPACE_CELL_CHAR:C.textContent=M.getChars()||s.WHITESPACE_CELL_CHAR,M.isStrikethrough()&&C.classList.add(t.STRIKETHROUGH_CLASS);var S=M.getFgColor(),A=M.getFgColorMode(),E=M.getBgColor(),O=M.getBgColorMode(),L=!!M.isInverse();if(L){var T=S;S=E,E=T;var x=A;A=O,O=x}switch(A){case 16777216:case 33554432:M.isBold()&&S<8&&this._optionsService.rawOptions.drawBoldTextInBrightColors&&(S+=8),this._applyMinimumContrast(C,this._colors.background,this._colors.ansi[S])||C.classList.add("xterm-fg-"+S);break;case 50331648:var R=l.rgba.toColor(S>>16&255,S>>8&255,255&S);this._applyMinimumContrast(C,this._colors.background,R)||this._addStyle(C,"color:#"+p(S.toString(16),"0",6));break;default:this._applyMinimumContrast(C,this._colors.background,this._colors.foreground)||L&&C.classList.add("xterm-fg-"+r.INVERTED_DEFAULT_COLOR)}switch(O){case 16777216:case 33554432:C.classList.add("xterm-bg-"+E);break;case 50331648:this._addStyle(C,"background-color:#"+p(E.toString(16),"0",6));break;default:L&&C.classList.add("xterm-bg-"+r.INVERTED_DEFAULT_COLOR)}f.appendChild(C),v=_}}return f},e.prototype._applyMinimumContrast=function(e,t,n){if(1===this._optionsService.rawOptions.minimumContrastRatio)return!1;var i=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return void 0===i&&(i=l.color.ensureContrastRatio(t,n,this._optionsService.rawOptions.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,null!=i?i:null)),!!i&&(this._addStyle(e,"color:"+i.css),!0)},e.prototype._addStyle=function(e,t){e.setAttribute("style",""+(e.getAttribute("style")||"")+t+";")},i([o(2,u.ICharacterJoinerService),o(3,c.IOptionsService),o(4,c.ICoreService)],e)}();function p(e,t,n){for(;e.length{Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionModel=void 0;var n=function(){function e(e){this._bufferService=e,this.isSelectAllActive=!1,this.selectionStartLength=0}return e.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(e.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var e=this.selectionStart[0]+this.selectionStartLength;return e>this._bufferService.cols?e%this._bufferService.cols==0?[this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)-1]:[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[e,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),e.prototype.areSelectionValuesReversed=function(){var e=this.selectionStart,t=this.selectionEnd;return!(!e||!t)&&(e[1]>t[1]||e[1]===t[1]&&e[0]>t[0])},e.prototype.onTrim=function(e){return this.selectionStart&&(this.selectionStart[1]-=e),this.selectionEnd&&(this.selectionEnd[1]-=e),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},e}();t.SelectionModel=n},428:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CharSizeService=void 0;var r=n(2585),s=n(8460),a=function(){function e(e,t,n){this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=new s.EventEmitter,this._measureStrategy=new c(e,t,this._optionsService)}return Object.defineProperty(e.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),e.prototype.measure=function(){var e=this._measureStrategy.measure();e.width===this.width&&e.height===this.height||(this.width=e.width,this.height=e.height,this._onCharSizeChange.fire())},i([o(2,r.IOptionsService)],e)}();t.CharSizeService=a;var c=function(){function e(e,t,n){this._document=e,this._parentElement=t,this._optionsService=n,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return e.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.rawOptions.fontFamily,this._measureElement.style.fontSize=this._optionsService.rawOptions.fontSize+"px";var e=this._measureElement.getBoundingClientRect();return 0!==e.width&&0!==e.height&&(this._result.width=e.width,this._result.height=Math.ceil(e.height)),this._result},e}()},4269:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CharacterJoinerService=t.JoinedCellData=void 0;var a=n(3734),c=n(643),l=n(511),u=n(2585),d=function(e){function t(t,n,i){var o=e.call(this)||this;return o.content=0,o.combinedData="",o.fg=t.fg,o.bg=t.bg,o.combinedData=n,o._width=i,o}return o(t,e),t.prototype.isCombined=function(){return 2097152},t.prototype.getWidth=function(){return this._width},t.prototype.getChars=function(){return this.combinedData},t.prototype.getCode=function(){return 2097151},t.prototype.setFromCharData=function(e){throw new Error("not implemented")},t.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},t}(a.AttributeData);t.JoinedCellData=d;var h=function(){function e(e){this._bufferService=e,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new l.CellData}return e.prototype.register=function(e){var t={id:this._nextCharacterJoinerId++,handler:e};return this._characterJoiners.push(t),t.id},e.prototype.deregister=function(e){for(var t=0;t1)for(var d=this._getJoinedRanges(i,s,r,t,o),h=0;h1)for(d=this._getJoinedRanges(i,s,r,t,o),h=0;h{Object.defineProperty(t,"__esModule",{value:!0}),t.CoreBrowserService=void 0;var n=function(){function e(e){this._textarea=e}return Object.defineProperty(e.prototype,"isFocused",{get:function(){return(this._textarea.getRootNode?this._textarea.getRootNode():document).activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),e}();t.CoreBrowserService=n},8934:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseService=void 0;var r=n(4725),s=n(9806),a=function(){function e(e,t){this._renderService=e,this._charSizeService=t}return e.prototype.getCoords=function(e,t,n,i,o){return(0,s.getCoords)(e,t,n,i,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,o)},e.prototype.getRawByteCoords=function(e,t,n,i){var o=this.getCoords(e,t,n,i);return(0,s.getRawByteCoords)(o)},i([o(0,r.IRenderService),o(1,r.ICharSizeService)],e)}();t.MouseService=a},3230:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenderService=void 0;var a=n(6193),c=n(8460),l=n(844),u=n(5596),d=n(3656),h=n(2585),p=n(4725),f=function(e){function t(t,n,i,o,r,s){var l=e.call(this)||this;if(l._renderer=t,l._rowCount=n,l._charSizeService=r,l._isPaused=!1,l._needsFullRefresh=!1,l._isNextRenderRedrawOnly=!0,l._needsSelectionRefresh=!1,l._canvasWidth=0,l._canvasHeight=0,l._selectionState={start:void 0,end:void 0,columnSelectMode:!1},l._onDimensionsChange=new c.EventEmitter,l._onRender=new c.EventEmitter,l._onRefreshRequest=new c.EventEmitter,l.register({dispose:function(){return l._renderer.dispose()}}),l._renderDebouncer=new a.RenderDebouncer(function(e,t){return l._renderRows(e,t)}),l.register(l._renderDebouncer),l._screenDprMonitor=new u.ScreenDprMonitor,l._screenDprMonitor.setListener(function(){return l.onDevicePixelRatioChange()}),l.register(l._screenDprMonitor),l.register(s.onResize(function(e){return l._fullRefresh()})),l.register(o.onOptionChange(function(){return l._renderer.onOptionsChanged()})),l.register(l._charSizeService.onCharSizeChange(function(){return l.onCharSizeChanged()})),l._renderer.onRequestRedraw(function(e){return l.refreshRows(e.start,e.end,!0)}),l.register((0,d.addDisposableDomListener)(window,"resize",function(){return l.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var h=new IntersectionObserver(function(e){return l._onIntersectionChange(e[e.length-1])},{threshold:0});h.observe(i),l.register({dispose:function(){return h.disconnect()}})}return l}return o(t,e),Object.defineProperty(t.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),t.prototype._onIntersectionChange=function(e){this._isPaused=void 0===e.isIntersecting?0===e.intersectionRatio:!e.isIntersecting,this._isPaused||this._charSizeService.hasValidSize||this._charSizeService.measure(),!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},t.prototype.refreshRows=function(e,t,n){void 0===n&&(n=!1),this._isPaused?this._needsFullRefresh=!0:(n||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(e,t,this._rowCount))},t.prototype._renderRows=function(e,t){this._renderer.renderRows(e,t),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:e,end:t}),this._isNextRenderRedrawOnly=!0},t.prototype.resize=function(e,t){this._rowCount=t,this._fireOnCanvasResize()},t.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},t.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.setRenderer=function(e){var t=this;this._renderer.dispose(),this._renderer=e,this._renderer.onRequestRedraw(function(e){return t.refreshRows(e.start,e.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},t.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},t.prototype.clearTextureAtlas=function(){var e,t;null===(t=null===(e=this._renderer)||void 0===e?void 0:e.clearTextureAtlas)||void 0===t||t.call(e),this._fullRefresh()},t.prototype.setColors=function(e){this._renderer.setColors(e),this._fullRefresh()},t.prototype.onDevicePixelRatioChange=function(){this._charSizeService.measure(),this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},t.prototype.onResize=function(e,t){this._renderer.onResize(e,t),this._fullRefresh()},t.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},t.prototype.onBlur=function(){this._renderer.onBlur()},t.prototype.onFocus=function(){this._renderer.onFocus()},t.prototype.onSelectionChanged=function(e,t,n){this._selectionState.start=e,this._selectionState.end=t,this._selectionState.columnSelectMode=n,this._renderer.onSelectionChanged(e,t,n)},t.prototype.onCursorMove=function(){this._renderer.onCursorMove()},t.prototype.clear=function(){this._renderer.clear()},r([s(3,h.IOptionsService),s(4,p.ICharSizeService),s(5,h.IBufferService)],t)}(l.Disposable);t.RenderService=f},9312:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionService=void 0;var a=n(6114),c=n(456),l=n(511),u=n(8460),d=n(4725),h=n(2585),p=n(9806),f=n(9504),m=n(844),g=n(4841),v=String.fromCharCode(160),b=new RegExp(v,"g"),y=function(e){function t(t,n,i,o,r,s,a,d){var h=e.call(this)||this;return h._element=t,h._screenElement=n,h._linkifier=i,h._bufferService=o,h._coreService=r,h._mouseService=s,h._optionsService=a,h._renderService=d,h._dragScrollAmount=0,h._enabled=!0,h._workCell=new l.CellData,h._mouseDownTimeStamp=0,h._oldHasSelection=!1,h._oldSelectionStart=void 0,h._oldSelectionEnd=void 0,h._onLinuxMouseSelection=h.register(new u.EventEmitter),h._onRedrawRequest=h.register(new u.EventEmitter),h._onSelectionChange=h.register(new u.EventEmitter),h._onRequestScrollLines=h.register(new u.EventEmitter),h._mouseMoveListener=function(e){return h._onMouseMove(e)},h._mouseUpListener=function(e){return h._onMouseUp(e)},h._coreService.onUserInput(function(){h.hasSelection&&h.clearSelection()}),h._trimListener=h._bufferService.buffer.lines.onTrim(function(e){return h._onTrim(e)}),h.register(h._bufferService.buffers.onBufferActivate(function(e){return h._onBufferActivate(e)})),h.enable(),h._model=new c.SelectionModel(h._bufferService),h._activeSelectionMode=0,h}return o(t,e),Object.defineProperty(t.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this._removeMouseDownListeners()},t.prototype.reset=function(){this.clearSelection()},t.prototype.disable=function(){this.clearSelection(),this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasSelection",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;return!(!e||!t||e[0]===t[0]&&e[1]===t[1])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionText",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;if(!e||!t)return"";var n=this._bufferService.buffer,i=[];if(3===this._activeSelectionMode){if(e[0]===t[0])return"";for(var o=e[1];o<=t[1];o++){var r=n.translateBufferLineToString(o,!0,e[0],t[0]);i.push(r)}}else{var s=e[1]===t[1]?t[0]:void 0;for(i.push(n.translateBufferLineToString(e[1],!0,e[0],s)),o=e[1]+1;o<=t[1]-1;o++){var c=n.lines.get(o);r=n.translateBufferLineToString(o,!0),(null==c?void 0:c.isWrapped)?i[i.length-1]+=r:i.push(r)}e[1]!==t[1]&&(c=n.lines.get(t[1]),r=n.translateBufferLineToString(t[1],!0,0,t[0]),c&&c.isWrapped?i[i.length-1]+=r:i.push(r))}return i.map(function(e){return e.replace(b," ")}).join(a.isWindows?"\r\n":"\n")},enumerable:!1,configurable:!0}),t.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},t.prototype.refresh=function(e){var t=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return t._refresh()})),a.isLinux&&e&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},t.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:3===this._activeSelectionMode})},t.prototype._isClickInSelection=function(e){var t=this._getMouseBufferCoords(e),n=this._model.finalSelectionStart,i=this._model.finalSelectionEnd;return!!(n&&i&&t)&&this._areCoordsInSelection(t,n,i)},t.prototype._areCoordsInSelection=function(e,t,n){return e[1]>t[1]&&e[1]=t[0]&&e[0]=t[0]},t.prototype._selectWordAtCursor=function(e,t){var n,i,o=null===(i=null===(n=this._linkifier.currentLink)||void 0===n?void 0:n.link)||void 0===i?void 0:i.range;if(o)return this._model.selectionStart=[o.start.x-1,o.start.y-1],this._model.selectionStartLength=(0,g.getRangeLength)(o,this._bufferService.cols),this._model.selectionEnd=void 0,!0;var r=this._getMouseBufferCoords(e);return!!r&&(this._selectWordAt(r,t),this._model.selectionEnd=void 0,!0)},t.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},t.prototype.selectLines=function(e,t){this._model.clearSelection(),e=Math.max(e,0),t=Math.min(t,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,e],this._model.selectionEnd=[this._bufferService.cols,t],this.refresh(),this._onSelectionChange.fire()},t.prototype._onTrim=function(e){this._model.onTrim(e)&&this.refresh()},t.prototype._getMouseBufferCoords=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(t)return t[0]--,t[1]--,t[1]+=this._bufferService.buffer.ydisp,t},t.prototype._getMouseEventScrollAmount=function(e){var t=(0,p.getCoordsRelativeToElement)(e,this._screenElement)[1],n=this._renderService.dimensions.canvasHeight;return t>=0&&t<=n?0:(t>n&&(t-=n),t=Math.min(Math.max(t,-50),50),(t/=50)/Math.abs(t)+Math.round(14*t))},t.prototype.shouldForceSelection=function(e){return a.isMac?e.altKey&&this._optionsService.rawOptions.macOptionClickForcesSelection:e.shiftKey},t.prototype.onMouseDown=function(e){if(this._mouseDownTimeStamp=e.timeStamp,(2!==e.button||!this.hasSelection)&&0===e.button){if(!this._enabled){if(!this.shouldForceSelection(e))return;e.stopPropagation()}e.preventDefault(),this._dragScrollAmount=0,this._enabled&&e.shiftKey?this._onIncrementalClick(e):1===e.detail?this._onSingleClick(e):2===e.detail?this._onDoubleClick(e):3===e.detail&&this._onTripleClick(e),this._addMouseDownListeners(),this.refresh(!0)}},t.prototype._addMouseDownListeners=function(){var e=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return e._dragScroll()},50)},t.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},t.prototype._onIncrementalClick=function(e){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(e))},t.prototype._onSingleClick=function(e){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(e)?3:0,this._model.selectionStart=this._getMouseBufferCoords(e),this._model.selectionStart){this._model.selectionEnd=void 0;var t=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);t&&t.length!==this._model.selectionStart[0]&&0===t.hasWidth(this._model.selectionStart[0])&&this._model.selectionStart[0]++}},t.prototype._onDoubleClick=function(e){this._selectWordAtCursor(e,!0)&&(this._activeSelectionMode=1)},t.prototype._onTripleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=2,this._selectLineAt(t[1]))},t.prototype.shouldColumnSelect=function(e){return e.altKey&&!(a.isMac&&this._optionsService.rawOptions.macOptionClickForcesSelection)},t.prototype._onMouseMove=function(e){if(e.stopImmediatePropagation(),this._model.selectionStart){var t=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(e),this._model.selectionEnd){2===this._activeSelectionMode?this._model.selectionEnd[1]0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var n=this._bufferService.buffer;if(this._model.selectionEnd[1]0?(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(e.ydisp+this._bufferService.rows,e.lines.length-1)):(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=e.ydisp),this.refresh()}},t.prototype._onMouseUp=function(e){var t=e.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&t<500&&e.altKey&&this._optionsService.getOption("altClickMovesCursor")){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var n=this._mouseService.getCoords(e,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(n&&void 0!==n[0]&&void 0!==n[1]){var i=(0,f.moveToCellSequence)(n[0]-1,n[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(i,!0)}}}else this._fireEventIfSelectionChanged()},t.prototype._fireEventIfSelectionChanged=function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd,n=!(!e||!t||e[0]===t[0]&&e[1]===t[1]);n?e&&t&&(this._oldSelectionStart&&this._oldSelectionEnd&&e[0]===this._oldSelectionStart[0]&&e[1]===this._oldSelectionStart[1]&&t[0]===this._oldSelectionEnd[0]&&t[1]===this._oldSelectionEnd[1]||this._fireOnSelectionChange(e,t,n)):this._oldHasSelection&&this._fireOnSelectionChange(e,t,n)},t.prototype._fireOnSelectionChange=function(e,t,n){this._oldSelectionStart=e,this._oldSelectionEnd=t,this._oldHasSelection=n,this._onSelectionChange.fire()},t.prototype._onBufferActivate=function(e){var t=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=e.activeBuffer.lines.onTrim(function(e){return t._onTrim(e)})},t.prototype._convertViewportColToCharacterIndex=function(e,t){for(var n=t[0],i=0;t[0]>=i;i++){var o=e.loadCell(i,this._workCell).getChars().length;0===this._workCell.getWidth()?n--:o>1&&t[0]!==i&&(n+=o-1)}return n},t.prototype.setSelection=function(e,t,n){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[e,t],this._model.selectionStartLength=n,this.refresh()},t.prototype.rightClickSelect=function(e){this._isClickInSelection(e)||(this._selectWordAtCursor(e,!1)&&this.refresh(!0),this._fireEventIfSelectionChanged())},t.prototype._getWordAt=function(e,t,n,i){if(void 0===n&&(n=!0),void 0===i&&(i=!0),!(e[0]>=this._bufferService.cols)){var o=this._bufferService.buffer,r=o.lines.get(e[1]);if(r){var s=o.translateBufferLineToString(e[1],!1),a=this._convertViewportColToCharacterIndex(r,e),c=a,l=e[0]-a,u=0,d=0,h=0,p=0;if(" "===s.charAt(a)){for(;a>0&&" "===s.charAt(a-1);)a--;for(;c1&&(p+=g-1,c+=g-1);f>0&&a>0&&!this._isCharWordSeparator(r.loadCell(f-1,this._workCell));){r.loadCell(f-1,this._workCell);var v=this._workCell.getChars().length;0===this._workCell.getWidth()?(u++,f--):v>1&&(h+=v-1,a-=v-1),a--,f--}for(;m1&&(p+=b-1,c+=b-1),c++,m++}}c++;var y=a+l-u+h,_=Math.min(this._bufferService.cols,c-a+u+d-h-p);if(t||""!==s.slice(a,c).trim()){if(n&&0===y&&32!==r.getCodePoint(0)){var M=o.lines.get(e[1]-1);if(M&&r.isWrapped&&32!==M.getCodePoint(this._bufferService.cols-1)){var w=this._getWordAt([this._bufferService.cols-1,e[1]-1],!1,!0,!1);if(w){var C=this._bufferService.cols-w.start;y-=C,_+=C}}}if(i&&y+_===this._bufferService.cols&&32!==r.getCodePoint(this._bufferService.cols-1)){var S=o.lines.get(e[1]+1);if((null==S?void 0:S.isWrapped)&&32!==S.getCodePoint(0)){var A=this._getWordAt([0,e[1]+1],!1,!1,!0);A&&(_+=A.length)}}return{start:y,length:_}}}}},t.prototype._selectWordAt=function(e,t){var n=this._getWordAt(e,t);if(n){for(;n.start<0;)n.start+=this._bufferService.cols,e[1]--;this._model.selectionStart=[n.start,e[1]],this._model.selectionStartLength=n.length}},t.prototype._selectToWordAt=function(e){var t=this._getWordAt(e,!0);if(t){for(var n=e[1];t.start<0;)t.start+=this._bufferService.cols,n--;if(!this._model.areSelectionValuesReversed())for(;t.start+t.length>this._bufferService.cols;)t.length-=this._bufferService.cols,n++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?t.start:t.start+t.length,n]}},t.prototype._isCharWordSeparator=function(e){return 0!==e.getWidth()&&this._optionsService.rawOptions.wordSeparator.indexOf(e.getChars())>=0},t.prototype._selectLineAt=function(e){var t=this._bufferService.buffer.getWrappedRangeForLine(e);this._model.selectionStart=[0,t.first],this._model.selectionEnd=[this._bufferService.cols,t.last],this._model.selectionStartLength=0},r([s(3,h.IBufferService),s(4,h.ICoreService),s(5,d.IMouseService),s(6,h.IOptionsService),s(7,d.IRenderService)],t)}(m.Disposable);t.SelectionService=y},4725:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ICharacterJoinerService=t.ISoundService=t.ISelectionService=t.IRenderService=t.IMouseService=t.ICoreBrowserService=t.ICharSizeService=void 0;var i=n(8343);t.ICharSizeService=(0,i.createDecorator)("CharSizeService"),t.ICoreBrowserService=(0,i.createDecorator)("CoreBrowserService"),t.IMouseService=(0,i.createDecorator)("MouseService"),t.IRenderService=(0,i.createDecorator)("RenderService"),t.ISelectionService=(0,i.createDecorator)("SelectionService"),t.ISoundService=(0,i.createDecorator)("SoundService"),t.ICharacterJoinerService=(0,i.createDecorator)("CharacterJoinerService")},357:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.SoundService=void 0;var r=n(2585),s=function(){function e(e){this._optionsService=e}return Object.defineProperty(e,"audioContext",{get:function(){if(!e._audioContext){var t=window.AudioContext||window.webkitAudioContext;if(!t)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;e._audioContext=new t}return e._audioContext},enumerable:!1,configurable:!0}),e.prototype.playBellSound=function(){var t=e.audioContext;if(t){var n=t.createBufferSource();t.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.rawOptions.bellSound)),function(e){n.buffer=e,n.connect(t.destination),n.start(0)})}},e.prototype._base64ToArrayBuffer=function(e){for(var t=window.atob(e),n=t.length,i=new Uint8Array(n),o=0;o{Object.defineProperty(t,"__esModule",{value:!0}),t.CircularList=void 0;var i=n(8460),o=function(){function e(e){this._maxLength=e,this.onDeleteEmitter=new i.EventEmitter,this.onInsertEmitter=new i.EventEmitter,this.onTrimEmitter=new i.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(e.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxLength",{get:function(){return this._maxLength},set:function(e){if(this._maxLength!==e){for(var t=new Array(e),n=0;nthis._length)for(var t=this._length;t=e;o--)this._array[this._getCyclicIndex(o+n.length)]=this._array[this._getCyclicIndex(o)];for(o=0;othis._maxLength){var r=this._length+n.length-this._maxLength;this._startIndex+=r,this._length=this._maxLength,this.onTrimEmitter.fire(r)}else this._length+=n.length},e.prototype.trimStart=function(e){e>this._length&&(e=this._length),this._startIndex+=e,this._length-=e,this.onTrimEmitter.fire(e)},e.prototype.shiftElements=function(e,t,n){if(!(t<=0)){if(e<0||e>=this._length)throw new Error("start argument out of range");if(e+n<0)throw new Error("Cannot shift elements in list beyond index 0");if(n>0){for(var i=t-1;i>=0;i--)this.set(e+i+n,this.get(e+i));var o=e+t+n-this._length;if(o>0)for(this._length+=o;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(i=0;i{Object.defineProperty(t,"__esModule",{value:!0}),t.clone=void 0,t.clone=function e(t,n){if(void 0===n&&(n=5),"object"!=typeof t)return t;var i=Array.isArray(t)?[]:{};for(var o in t)i[o]=n<=1?t[o]:t[o]&&e(t[o],n-1);return i}},8969:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CoreTerminal=void 0;var r=n(844),s=n(2585),a=n(4348),c=n(7866),l=n(744),u=n(7302),d=n(6975),h=n(8460),p=n(1753),f=n(3730),m=n(1480),g=n(7994),v=n(9282),b=n(5435),y=n(5981),_=!1,M=function(e){function t(t){var n=e.call(this)||this;return n._onBinary=new h.EventEmitter,n._onData=new h.EventEmitter,n._onLineFeed=new h.EventEmitter,n._onResize=new h.EventEmitter,n._onScroll=new h.EventEmitter,n._instantiationService=new a.InstantiationService,n.optionsService=new u.OptionsService(t),n._instantiationService.setService(s.IOptionsService,n.optionsService),n._bufferService=n.register(n._instantiationService.createInstance(l.BufferService)),n._instantiationService.setService(s.IBufferService,n._bufferService),n._logService=n._instantiationService.createInstance(c.LogService),n._instantiationService.setService(s.ILogService,n._logService),n.coreService=n.register(n._instantiationService.createInstance(d.CoreService,function(){return n.scrollToBottom()})),n._instantiationService.setService(s.ICoreService,n.coreService),n.coreMouseService=n._instantiationService.createInstance(p.CoreMouseService),n._instantiationService.setService(s.ICoreMouseService,n.coreMouseService),n._dirtyRowService=n._instantiationService.createInstance(f.DirtyRowService),n._instantiationService.setService(s.IDirtyRowService,n._dirtyRowService),n.unicodeService=n._instantiationService.createInstance(m.UnicodeService),n._instantiationService.setService(s.IUnicodeService,n.unicodeService),n._charsetService=n._instantiationService.createInstance(g.CharsetService),n._instantiationService.setService(s.ICharsetService,n._charsetService),n._inputHandler=new b.InputHandler(n._bufferService,n._charsetService,n.coreService,n._dirtyRowService,n._logService,n.optionsService,n.coreMouseService,n.unicodeService),n.register((0,h.forwardEvent)(n._inputHandler.onLineFeed,n._onLineFeed)),n.register(n._inputHandler),n.register((0,h.forwardEvent)(n._bufferService.onResize,n._onResize)),n.register((0,h.forwardEvent)(n.coreService.onData,n._onData)),n.register((0,h.forwardEvent)(n.coreService.onBinary,n._onBinary)),n.register(n.optionsService.onOptionChange(function(e){return n._updateOptions(e)})),n.register(n._bufferService.onScroll(function(e){n._onScroll.fire({position:n._bufferService.buffer.ydisp,source:0}),n._dirtyRowService.markRangeDirty(n._bufferService.buffer.scrollTop,n._bufferService.buffer.scrollBottom)})),n.register(n._inputHandler.onScroll(function(e){n._onScroll.fire({position:n._bufferService.buffer.ydisp,source:0}),n._dirtyRowService.markRangeDirty(n._bufferService.buffer.scrollTop,n._bufferService.buffer.scrollBottom)})),n._writeBuffer=new y.WriteBuffer(function(e,t){return n._inputHandler.parse(e,t)}),n}return o(t,e),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){var e=this;return this._onScrollApi||(this._onScrollApi=new h.EventEmitter,this.register(this._onScroll.event(function(t){var n;null===(n=e._onScrollApi)||void 0===n||n.fire(t.position)}))),this._onScrollApi.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return this.optionsService.options},set:function(e){for(var t in e)this.optionsService.options[t]=e[t]},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){var t;this._isDisposed||(e.prototype.dispose.call(this),null===(t=this._windowsMode)||void 0===t||t.dispose(),this._windowsMode=void 0)},t.prototype.write=function(e,t){this._writeBuffer.write(e,t)},t.prototype.writeSync=function(e,t){this._logService.logLevel<=s.LogLevelEnum.WARN&&!_&&(this._logService.warn("writeSync is unreliable and will be removed soon."),_=!0),this._writeBuffer.writeSync(e,t)},t.prototype.resize=function(e,t){isNaN(e)||isNaN(t)||(e=Math.max(e,l.MINIMUM_COLS),t=Math.max(t,l.MINIMUM_ROWS),this._bufferService.resize(e,t))},t.prototype.scroll=function(e,t){void 0===t&&(t=!1),this._bufferService.scroll(e,t)},t.prototype.scrollLines=function(e,t,n){this._bufferService.scrollLines(e,t,n)},t.prototype.scrollPages=function(e){this._bufferService.scrollPages(e)},t.prototype.scrollToTop=function(){this._bufferService.scrollToTop()},t.prototype.scrollToBottom=function(){this._bufferService.scrollToBottom()},t.prototype.scrollToLine=function(e){this._bufferService.scrollToLine(e)},t.prototype.registerEscHandler=function(e,t){return this._inputHandler.registerEscHandler(e,t)},t.prototype.registerDcsHandler=function(e,t){return this._inputHandler.registerDcsHandler(e,t)},t.prototype.registerCsiHandler=function(e,t){return this._inputHandler.registerCsiHandler(e,t)},t.prototype.registerOscHandler=function(e,t){return this._inputHandler.registerOscHandler(e,t)},t.prototype._setup=function(){this.optionsService.rawOptions.windowsMode&&this._enableWindowsMode()},t.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this.coreService.reset(),this.coreMouseService.reset()},t.prototype._updateOptions=function(e){var t;switch(e){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.rawOptions.windowsMode?this._enableWindowsMode():(null===(t=this._windowsMode)||void 0===t||t.dispose(),this._windowsMode=void 0)}},t.prototype._enableWindowsMode=function(){var e=this;if(!this._windowsMode){var t=[];t.push(this.onLineFeed(v.updateWindowsModeWrappedState.bind(null,this._bufferService))),t.push(this.registerCsiHandler({final:"H"},function(){return(0,v.updateWindowsModeWrappedState)(e._bufferService),!1})),this._windowsMode={dispose:function(){for(var e=0,n=t;e{Object.defineProperty(t,"__esModule",{value:!0}),t.forwardEvent=t.EventEmitter=void 0;var n=function(){function e(){this._listeners=[],this._disposed=!1}return Object.defineProperty(e.prototype,"event",{get:function(){var e=this;return this._event||(this._event=function(t){return e._listeners.push(t),{dispose:function(){if(!e._disposed)for(var n=0;n24)return t.setWinLines||!1;switch(e){case 1:return!!t.restoreWin;case 2:return!!t.minimizeWin;case 3:return!!t.setWinPosition;case 4:return!!t.setWinSizePixels;case 5:return!!t.raiseWin;case 6:return!!t.lowerWin;case 7:return!!t.refreshWin;case 8:return!!t.setWinSizeChars;case 9:return!!t.maximizeWin;case 10:return!!t.fullscreenWin;case 11:return!!t.getWinState;case 13:return!!t.getWinPosition;case 14:return!!t.getWinSizePixels;case 15:return!!t.getScreenSizePixels;case 16:return!!t.getCellSizePixels;case 18:return!!t.getWinSizeChars;case 19:return!!t.getScreenSizeChars;case 20:return!!t.getIconTitle;case 21:return!!t.getWinTitle;case 22:return!!t.pushTitle;case 23:return!!t.popTitle;case 24:return!!t.setWinLines}return!1}!function(e){e[e.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",e[e.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(r=t.WindowsOptionsReportType||(t.WindowsOptionsReportType={}));var S=function(){function e(e,t,n,i){this._bufferService=e,this._coreService=t,this._logService=n,this._optionsService=i,this._data=new Uint32Array(0)}return e.prototype.hook=function(e){this._data=new Uint32Array(0)},e.prototype.put=function(e,t,n){this._data=(0,u.concat)(this._data,e.subarray(t,n))},e.prototype.unhook=function(e){if(!e)return this._data=new Uint32Array(0),!0;var t=(0,d.utf32ToString)(this._data);switch(this._data=new Uint32Array(0),t){case'"q':this._coreService.triggerDataEvent(s.C0.ESC+'P1$r0"q'+s.C0.ESC+"\\");break;case'"p':this._coreService.triggerDataEvent(s.C0.ESC+'P1$r61;1"p'+s.C0.ESC+"\\");break;case"r":var n=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";this._coreService.triggerDataEvent(s.C0.ESC+"P1$r"+n+s.C0.ESC+"\\");break;case"m":this._coreService.triggerDataEvent(s.C0.ESC+"P1$r0m"+s.C0.ESC+"\\");break;case" q":var i={block:2,underline:4,bar:6}[this._optionsService.rawOptions.cursorStyle];i-=this._optionsService.rawOptions.cursorBlink?1:0,this._coreService.triggerDataEvent(s.C0.ESC+"P1$r"+i+" q"+s.C0.ESC+"\\");break;default:this._logService.debug("Unknown DCS $q %s",t),this._coreService.triggerDataEvent(s.C0.ESC+"P0$r"+s.C0.ESC+"\\")}return!0},e}(),A=function(e){function t(t,n,i,o,r,l,u,f,g){void 0===g&&(g=new c.EscapeSequenceParser);var v=e.call(this)||this;v._bufferService=t,v._charsetService=n,v._coreService=i,v._dirtyRowService=o,v._logService=r,v._optionsService=l,v._coreMouseService=u,v._unicodeService=f,v._parser=g,v._parseBuffer=new Uint32Array(4096),v._stringDecoder=new d.StringToUtf32,v._utf8Decoder=new d.Utf8ToUtf32,v._workCell=new m.CellData,v._windowTitle="",v._iconName="",v._windowTitleStack=[],v._iconNameStack=[],v._curAttrData=h.DEFAULT_ATTR_DATA.clone(),v._eraseAttrDataInternal=h.DEFAULT_ATTR_DATA.clone(),v._onRequestBell=new p.EventEmitter,v._onRequestRefreshRows=new p.EventEmitter,v._onRequestReset=new p.EventEmitter,v._onRequestSendFocus=new p.EventEmitter,v._onRequestSyncScrollBar=new p.EventEmitter,v._onRequestWindowsOptionsReport=new p.EventEmitter,v._onA11yChar=new p.EventEmitter,v._onA11yTab=new p.EventEmitter,v._onCursorMove=new p.EventEmitter,v._onLineFeed=new p.EventEmitter,v._onScroll=new p.EventEmitter,v._onTitleChange=new p.EventEmitter,v._onColor=new p.EventEmitter,v._parseStack={paused:!1,cursorStartX:0,cursorStartY:0,decodedLength:0,position:0},v._specialColors=[256,257,258],v.register(v._parser),v._activeBuffer=v._bufferService.buffer,v.register(v._bufferService.buffers.onBufferActivate(function(e){return v._activeBuffer=e.activeBuffer})),v._parser.setCsiHandlerFallback(function(e,t){v._logService.debug("Unknown CSI code: ",{identifier:v._parser.identToString(e),params:t.toArray()})}),v._parser.setEscHandlerFallback(function(e){v._logService.debug("Unknown ESC code: ",{identifier:v._parser.identToString(e)})}),v._parser.setExecuteHandlerFallback(function(e){v._logService.debug("Unknown EXECUTE code: ",{code:e})}),v._parser.setOscHandlerFallback(function(e,t,n){v._logService.debug("Unknown OSC code: ",{identifier:e,action:t,data:n})}),v._parser.setDcsHandlerFallback(function(e,t,n){"HOOK"===t&&(n=n.toArray()),v._logService.debug("Unknown DCS code: ",{identifier:v._parser.identToString(e),action:t,payload:n})}),v._parser.setPrintHandler(function(e,t,n){return v.print(e,t,n)}),v._parser.registerCsiHandler({final:"@"},function(e){return v.insertChars(e)}),v._parser.registerCsiHandler({intermediates:" ",final:"@"},function(e){return v.scrollLeft(e)}),v._parser.registerCsiHandler({final:"A"},function(e){return v.cursorUp(e)}),v._parser.registerCsiHandler({intermediates:" ",final:"A"},function(e){return v.scrollRight(e)}),v._parser.registerCsiHandler({final:"B"},function(e){return v.cursorDown(e)}),v._parser.registerCsiHandler({final:"C"},function(e){return v.cursorForward(e)}),v._parser.registerCsiHandler({final:"D"},function(e){return v.cursorBackward(e)}),v._parser.registerCsiHandler({final:"E"},function(e){return v.cursorNextLine(e)}),v._parser.registerCsiHandler({final:"F"},function(e){return v.cursorPrecedingLine(e)}),v._parser.registerCsiHandler({final:"G"},function(e){return v.cursorCharAbsolute(e)}),v._parser.registerCsiHandler({final:"H"},function(e){return v.cursorPosition(e)}),v._parser.registerCsiHandler({final:"I"},function(e){return v.cursorForwardTab(e)}),v._parser.registerCsiHandler({final:"J"},function(e){return v.eraseInDisplay(e)}),v._parser.registerCsiHandler({prefix:"?",final:"J"},function(e){return v.eraseInDisplay(e)}),v._parser.registerCsiHandler({final:"K"},function(e){return v.eraseInLine(e)}),v._parser.registerCsiHandler({prefix:"?",final:"K"},function(e){return v.eraseInLine(e)}),v._parser.registerCsiHandler({final:"L"},function(e){return v.insertLines(e)}),v._parser.registerCsiHandler({final:"M"},function(e){return v.deleteLines(e)}),v._parser.registerCsiHandler({final:"P"},function(e){return v.deleteChars(e)}),v._parser.registerCsiHandler({final:"S"},function(e){return v.scrollUp(e)}),v._parser.registerCsiHandler({final:"T"},function(e){return v.scrollDown(e)}),v._parser.registerCsiHandler({final:"X"},function(e){return v.eraseChars(e)}),v._parser.registerCsiHandler({final:"Z"},function(e){return v.cursorBackwardTab(e)}),v._parser.registerCsiHandler({final:"`"},function(e){return v.charPosAbsolute(e)}),v._parser.registerCsiHandler({final:"a"},function(e){return v.hPositionRelative(e)}),v._parser.registerCsiHandler({final:"b"},function(e){return v.repeatPrecedingCharacter(e)}),v._parser.registerCsiHandler({final:"c"},function(e){return v.sendDeviceAttributesPrimary(e)}),v._parser.registerCsiHandler({prefix:">",final:"c"},function(e){return v.sendDeviceAttributesSecondary(e)}),v._parser.registerCsiHandler({final:"d"},function(e){return v.linePosAbsolute(e)}),v._parser.registerCsiHandler({final:"e"},function(e){return v.vPositionRelative(e)}),v._parser.registerCsiHandler({final:"f"},function(e){return v.hVPosition(e)}),v._parser.registerCsiHandler({final:"g"},function(e){return v.tabClear(e)}),v._parser.registerCsiHandler({final:"h"},function(e){return v.setMode(e)}),v._parser.registerCsiHandler({prefix:"?",final:"h"},function(e){return v.setModePrivate(e)}),v._parser.registerCsiHandler({final:"l"},function(e){return v.resetMode(e)}),v._parser.registerCsiHandler({prefix:"?",final:"l"},function(e){return v.resetModePrivate(e)}),v._parser.registerCsiHandler({final:"m"},function(e){return v.charAttributes(e)}),v._parser.registerCsiHandler({final:"n"},function(e){return v.deviceStatus(e)}),v._parser.registerCsiHandler({prefix:"?",final:"n"},function(e){return v.deviceStatusPrivate(e)}),v._parser.registerCsiHandler({intermediates:"!",final:"p"},function(e){return v.softReset(e)}),v._parser.registerCsiHandler({intermediates:" ",final:"q"},function(e){return v.setCursorStyle(e)}),v._parser.registerCsiHandler({final:"r"},function(e){return v.setScrollRegion(e)}),v._parser.registerCsiHandler({final:"s"},function(e){return v.saveCursor(e)}),v._parser.registerCsiHandler({final:"t"},function(e){return v.windowOptions(e)}),v._parser.registerCsiHandler({final:"u"},function(e){return v.restoreCursor(e)}),v._parser.registerCsiHandler({intermediates:"'",final:"}"},function(e){return v.insertColumns(e)}),v._parser.registerCsiHandler({intermediates:"'",final:"~"},function(e){return v.deleteColumns(e)}),v._parser.setExecuteHandler(s.C0.BEL,function(){return v.bell()}),v._parser.setExecuteHandler(s.C0.LF,function(){return v.lineFeed()}),v._parser.setExecuteHandler(s.C0.VT,function(){return v.lineFeed()}),v._parser.setExecuteHandler(s.C0.FF,function(){return v.lineFeed()}),v._parser.setExecuteHandler(s.C0.CR,function(){return v.carriageReturn()}),v._parser.setExecuteHandler(s.C0.BS,function(){return v.backspace()}),v._parser.setExecuteHandler(s.C0.HT,function(){return v.tab()}),v._parser.setExecuteHandler(s.C0.SO,function(){return v.shiftOut()}),v._parser.setExecuteHandler(s.C0.SI,function(){return v.shiftIn()}),v._parser.setExecuteHandler(s.C1.IND,function(){return v.index()}),v._parser.setExecuteHandler(s.C1.NEL,function(){return v.nextLine()}),v._parser.setExecuteHandler(s.C1.HTS,function(){return v.tabSet()}),v._parser.registerOscHandler(0,new b.OscHandler(function(e){return v.setTitle(e),v.setIconName(e),!0})),v._parser.registerOscHandler(1,new b.OscHandler(function(e){return v.setIconName(e)})),v._parser.registerOscHandler(2,new b.OscHandler(function(e){return v.setTitle(e)})),v._parser.registerOscHandler(4,new b.OscHandler(function(e){return v.setOrReportIndexedColor(e)})),v._parser.registerOscHandler(10,new b.OscHandler(function(e){return v.setOrReportFgColor(e)})),v._parser.registerOscHandler(11,new b.OscHandler(function(e){return v.setOrReportBgColor(e)})),v._parser.registerOscHandler(12,new b.OscHandler(function(e){return v.setOrReportCursorColor(e)})),v._parser.registerOscHandler(104,new b.OscHandler(function(e){return v.restoreIndexedColor(e)})),v._parser.registerOscHandler(110,new b.OscHandler(function(e){return v.restoreFgColor(e)})),v._parser.registerOscHandler(111,new b.OscHandler(function(e){return v.restoreBgColor(e)})),v._parser.registerOscHandler(112,new b.OscHandler(function(e){return v.restoreCursorColor(e)})),v._parser.registerEscHandler({final:"7"},function(){return v.saveCursor()}),v._parser.registerEscHandler({final:"8"},function(){return v.restoreCursor()}),v._parser.registerEscHandler({final:"D"},function(){return v.index()}),v._parser.registerEscHandler({final:"E"},function(){return v.nextLine()}),v._parser.registerEscHandler({final:"H"},function(){return v.tabSet()}),v._parser.registerEscHandler({final:"M"},function(){return v.reverseIndex()}),v._parser.registerEscHandler({final:"="},function(){return v.keypadApplicationMode()}),v._parser.registerEscHandler({final:">"},function(){return v.keypadNumericMode()}),v._parser.registerEscHandler({final:"c"},function(){return v.fullReset()}),v._parser.registerEscHandler({final:"n"},function(){return v.setgLevel(2)}),v._parser.registerEscHandler({final:"o"},function(){return v.setgLevel(3)}),v._parser.registerEscHandler({final:"|"},function(){return v.setgLevel(3)}),v._parser.registerEscHandler({final:"}"},function(){return v.setgLevel(2)}),v._parser.registerEscHandler({final:"~"},function(){return v.setgLevel(1)}),v._parser.registerEscHandler({intermediates:"%",final:"@"},function(){return v.selectDefaultCharset()}),v._parser.registerEscHandler({intermediates:"%",final:"G"},function(){return v.selectDefaultCharset()});var y=function(e){_._parser.registerEscHandler({intermediates:"(",final:e},function(){return v.selectCharset("("+e)}),_._parser.registerEscHandler({intermediates:")",final:e},function(){return v.selectCharset(")"+e)}),_._parser.registerEscHandler({intermediates:"*",final:e},function(){return v.selectCharset("*"+e)}),_._parser.registerEscHandler({intermediates:"+",final:e},function(){return v.selectCharset("+"+e)}),_._parser.registerEscHandler({intermediates:"-",final:e},function(){return v.selectCharset("-"+e)}),_._parser.registerEscHandler({intermediates:".",final:e},function(){return v.selectCharset("."+e)}),_._parser.registerEscHandler({intermediates:"/",final:e},function(){return v.selectCharset("/"+e)})},_=this;for(var M in a.CHARSETS)y(M);return v._parser.registerEscHandler({intermediates:"#",final:"8"},function(){return v.screenAlignmentPattern()}),v._parser.setErrorHandler(function(e){return v._logService.error("Parsing error: ",e),e}),v._parser.registerDcsHandler({intermediates:"$",final:"q"},new S(v._bufferService,v._coreService,v._logService,v._optionsService)),v}return o(t,e),Object.defineProperty(t.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestSendFocus",{get:function(){return this._onRequestSendFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onColor",{get:function(){return this._onColor.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._preserveStack=function(e,t,n,i){this._parseStack.paused=!0,this._parseStack.cursorStartX=e,this._parseStack.cursorStartY=t,this._parseStack.decodedLength=n,this._parseStack.position=i},t.prototype._logSlowResolvingAsync=function(e){this._logService.logLevel<=v.LogLevelEnum.WARN&&Promise.race([e,new Promise(function(e,t){return setTimeout(function(){return t("#SLOW_TIMEOUT")},5e3)})]).catch(function(e){if("#SLOW_TIMEOUT"!==e)throw e;console.warn("async parser handler taking longer than 5000 ms")})},t.prototype.parse=function(e,t){var n,i=this._activeBuffer.x,o=this._activeBuffer.y,r=0,s=this._parseStack.paused;if(s){if(n=this._parser.parse(this._parseBuffer,this._parseStack.decodedLength,t))return this._logSlowResolvingAsync(n),n;i=this._parseStack.cursorStartX,o=this._parseStack.cursorStartY,this._parseStack.paused=!1,e.length>w&&(r=this._parseStack.position+w)}if(this._logService.logLevel<=v.LogLevelEnum.DEBUG&&this._logService.debug("parsing data"+("string"==typeof e?' "'+e+'"':""),"string"==typeof e?e.split("").map(function(e){return e.charCodeAt(0)}):e),this._parseBuffer.lengthw)for(var a=r;a0&&2===h.getWidth(this._activeBuffer.x-1)&&h.setCellFromCodePoint(this._activeBuffer.x-1,0,1,u.fg,u.bg,u.extended);for(var p=t;p=a)if(c){for(;this._activeBuffer.x=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!0),h=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y)}else if(this._activeBuffer.x=a-1,2===o)continue;if(l&&(h.insertCells(this._activeBuffer.x,o,this._activeBuffer.getNullCell(u),u),2===h.getWidth(a-1)&&h.setCellFromCodePoint(a-1,f.NULL_CELL_CODE,f.NULL_CELL_WIDTH,u.fg,u.bg,u.extended)),h.setCellFromCodePoint(this._activeBuffer.x++,i,o,u.fg,u.bg,u.extended),o>0)for(;--o;)h.setCellFromCodePoint(this._activeBuffer.x++,0,0,u.fg,u.bg,u.extended)}else h.getWidth(this._activeBuffer.x-1)?h.addCodepointToCell(this._activeBuffer.x-1,i):h.addCodepointToCell(this._activeBuffer.x-2,i)}n-t>0&&(h.loadCell(this._activeBuffer.x-1,this._workCell),2===this._workCell.getWidth()||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),this._activeBuffer.x0&&0===h.getWidth(this._activeBuffer.x)&&!h.hasContent(this._activeBuffer.x)&&h.setCellFromCodePoint(this._activeBuffer.x,0,1,u.fg,u.bg,u.extended),this._dirtyRowService.markDirty(this._activeBuffer.y)},t.prototype.registerCsiHandler=function(e,t){var n=this;return"t"!==e.final||e.prefix||e.intermediates?this._parser.registerCsiHandler(e,t):this._parser.registerCsiHandler(e,function(e){return!C(e.params[0],n._optionsService.rawOptions.windowOptions)||t(e)})},t.prototype.registerDcsHandler=function(e,t){return this._parser.registerDcsHandler(e,new y.DcsHandler(t))},t.prototype.registerEscHandler=function(e,t){return this._parser.registerEscHandler(e,t)},t.prototype.registerOscHandler=function(e,t){return this._parser.registerOscHandler(e,new b.OscHandler(t))},t.prototype.bell=function(){return this._onRequestBell.fire(),!0},t.prototype.lineFeed=function(){return this._dirtyRowService.markDirty(this._activeBuffer.y),this._optionsService.rawOptions.convertEol&&(this._activeBuffer.x=0),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.x>=this._bufferService.cols&&this._activeBuffer.x--,this._dirtyRowService.markDirty(this._activeBuffer.y),this._onLineFeed.fire(),!0},t.prototype.carriageReturn=function(){return this._activeBuffer.x=0,!0},t.prototype.backspace=function(){var e;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),this._activeBuffer.x>0&&this._activeBuffer.x--,!0;if(this._restrictCursor(this._bufferService.cols),this._activeBuffer.x>0)this._activeBuffer.x--;else if(0===this._activeBuffer.x&&this._activeBuffer.y>this._activeBuffer.scrollTop&&this._activeBuffer.y<=this._activeBuffer.scrollBottom&&(null===(e=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y))||void 0===e?void 0:e.isWrapped)){this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!1,this._activeBuffer.y--,this._activeBuffer.x=this._bufferService.cols-1;var t=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);t.hasWidth(this._activeBuffer.x)&&!t.hasContent(this._activeBuffer.x)&&this._activeBuffer.x--}return this._restrictCursor(),!0},t.prototype.tab=function(){if(this._activeBuffer.x>=this._bufferService.cols)return!0;var e=this._activeBuffer.x;return this._activeBuffer.x=this._activeBuffer.nextStop(),this._optionsService.rawOptions.screenReaderMode&&this._onA11yTab.fire(this._activeBuffer.x-e),!0},t.prototype.shiftOut=function(){return this._charsetService.setgLevel(1),!0},t.prototype.shiftIn=function(){return this._charsetService.setgLevel(0),!0},t.prototype._restrictCursor=function(e){void 0===e&&(e=this._bufferService.cols-1),this._activeBuffer.x=Math.min(e,Math.max(0,this._activeBuffer.x)),this._activeBuffer.y=this._coreService.decPrivateModes.origin?Math.min(this._activeBuffer.scrollBottom,Math.max(this._activeBuffer.scrollTop,this._activeBuffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._activeBuffer.y)),this._dirtyRowService.markDirty(this._activeBuffer.y)},t.prototype._setCursor=function(e,t){this._dirtyRowService.markDirty(this._activeBuffer.y),this._coreService.decPrivateModes.origin?(this._activeBuffer.x=e,this._activeBuffer.y=this._activeBuffer.scrollTop+t):(this._activeBuffer.x=e,this._activeBuffer.y=t),this._restrictCursor(),this._dirtyRowService.markDirty(this._activeBuffer.y)},t.prototype._moveCursor=function(e,t){this._restrictCursor(),this._setCursor(this._activeBuffer.x+e,this._activeBuffer.y+t)},t.prototype.cursorUp=function(e){var t=this._activeBuffer.y-this._activeBuffer.scrollTop;return t>=0?this._moveCursor(0,-Math.min(t,e.params[0]||1)):this._moveCursor(0,-(e.params[0]||1)),!0},t.prototype.cursorDown=function(e){var t=this._activeBuffer.scrollBottom-this._activeBuffer.y;return t>=0?this._moveCursor(0,Math.min(t,e.params[0]||1)):this._moveCursor(0,e.params[0]||1),!0},t.prototype.cursorForward=function(e){return this._moveCursor(e.params[0]||1,0),!0},t.prototype.cursorBackward=function(e){return this._moveCursor(-(e.params[0]||1),0),!0},t.prototype.cursorNextLine=function(e){return this.cursorDown(e),this._activeBuffer.x=0,!0},t.prototype.cursorPrecedingLine=function(e){return this.cursorUp(e),this._activeBuffer.x=0,!0},t.prototype.cursorCharAbsolute=function(e){return this._setCursor((e.params[0]||1)-1,this._activeBuffer.y),!0},t.prototype.cursorPosition=function(e){return this._setCursor(e.length>=2?(e.params[1]||1)-1:0,(e.params[0]||1)-1),!0},t.prototype.charPosAbsolute=function(e){return this._setCursor((e.params[0]||1)-1,this._activeBuffer.y),!0},t.prototype.hPositionRelative=function(e){return this._moveCursor(e.params[0]||1,0),!0},t.prototype.linePosAbsolute=function(e){return this._setCursor(this._activeBuffer.x,(e.params[0]||1)-1),!0},t.prototype.vPositionRelative=function(e){return this._moveCursor(0,e.params[0]||1),!0},t.prototype.hVPosition=function(e){return this.cursorPosition(e),!0},t.prototype.tabClear=function(e){var t=e.params[0];return 0===t?delete this._activeBuffer.tabs[this._activeBuffer.x]:3===t&&(this._activeBuffer.tabs={}),!0},t.prototype.cursorForwardTab=function(e){if(this._activeBuffer.x>=this._bufferService.cols)return!0;for(var t=e.params[0]||1;t--;)this._activeBuffer.x=this._activeBuffer.nextStop();return!0},t.prototype.cursorBackwardTab=function(e){if(this._activeBuffer.x>=this._bufferService.cols)return!0;for(var t=e.params[0]||1;t--;)this._activeBuffer.x=this._activeBuffer.prevStop();return!0},t.prototype._eraseInBufferLine=function(e,t,n,i){void 0===i&&(i=!1);var o=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);o.replaceCells(t,n,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),i&&(o.isWrapped=!1)},t.prototype._resetBufferLine=function(e){var t=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);t.fill(this._activeBuffer.getNullCell(this._eraseAttrData())),t.isWrapped=!1},t.prototype.eraseInDisplay=function(e){var t;switch(this._restrictCursor(this._bufferService.cols),e.params[0]){case 0:for(t=this._activeBuffer.y,this._dirtyRowService.markDirty(t),this._eraseInBufferLine(t++,this._activeBuffer.x,this._bufferService.cols,0===this._activeBuffer.x);t=this._bufferService.cols&&(this._activeBuffer.lines.get(t+1).isWrapped=!1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 2:for(t=this._bufferService.rows,this._dirtyRowService.markDirty(t-1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 3:var n=this._activeBuffer.lines.length-this._bufferService.rows;n>0&&(this._activeBuffer.lines.trimStart(n),this._activeBuffer.ybase=Math.max(this._activeBuffer.ybase-n,0),this._activeBuffer.ydisp=Math.max(this._activeBuffer.ydisp-n,0),this._onScroll.fire(0))}return!0},t.prototype.eraseInLine=function(e){switch(this._restrictCursor(this._bufferService.cols),e.params[0]){case 0:this._eraseInBufferLine(this._activeBuffer.y,this._activeBuffer.x,this._bufferService.cols,0===this._activeBuffer.x);break;case 1:this._eraseInBufferLine(this._activeBuffer.y,0,this._activeBuffer.x+1,!1);break;case 2:this._eraseInBufferLine(this._activeBuffer.y,0,this._bufferService.cols,!0)}return this._dirtyRowService.markDirty(this._activeBuffer.y),!0},t.prototype.insertLines=function(e){this._restrictCursor();var t=e.params[0]||1;if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.ythis._activeBuffer.scrollBottom||this._activeBuffer.y0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(s.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(s.C0.ESC+"[?6c")),!0},t.prototype.sendDeviceAttributesSecondary=function(e){return e.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(s.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(s.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(e.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(s.C0.ESC+"[>83;40003;0c")),!0},t.prototype._is=function(e){return 0===(this._optionsService.rawOptions.termName+"").indexOf(e)},t.prototype.setMode=function(e){for(var t=0;t=2||2===i[1]&&r+o>=5)break;i[1]&&(o=1)}while(++r+t5)&&(e=1),t.extended.underlineStyle=e,t.fg|=268435456,0===e&&(t.fg&=-268435457),t.updateExtended()},t.prototype.charAttributes=function(e){if(1===e.length&&0===e.params[0])return this._curAttrData.fg=h.DEFAULT_ATTR_DATA.fg,this._curAttrData.bg=h.DEFAULT_ATTR_DATA.bg,!0;for(var t,n=e.length,i=this._curAttrData,o=0;o=30&&t<=37?(i.fg&=-50331904,i.fg|=16777216|t-30):t>=40&&t<=47?(i.bg&=-50331904,i.bg|=16777216|t-40):t>=90&&t<=97?(i.fg&=-50331904,i.fg|=16777224|t-90):t>=100&&t<=107?(i.bg&=-50331904,i.bg|=16777224|t-100):0===t?(i.fg=h.DEFAULT_ATTR_DATA.fg,i.bg=h.DEFAULT_ATTR_DATA.bg):1===t?i.fg|=134217728:3===t?i.bg|=67108864:4===t?(i.fg|=268435456,this._processUnderline(e.hasSubParams(o)?e.getSubParams(o)[0]:1,i)):5===t?i.fg|=536870912:7===t?i.fg|=67108864:8===t?i.fg|=1073741824:9===t?i.fg|=2147483648:2===t?i.bg|=134217728:21===t?this._processUnderline(2,i):22===t?(i.fg&=-134217729,i.bg&=-134217729):23===t?i.bg&=-67108865:24===t?i.fg&=-268435457:25===t?i.fg&=-536870913:27===t?i.fg&=-67108865:28===t?i.fg&=-1073741825:29===t?i.fg&=2147483647:39===t?(i.fg&=-67108864,i.fg|=16777215&h.DEFAULT_ATTR_DATA.fg):49===t?(i.bg&=-67108864,i.bg|=16777215&h.DEFAULT_ATTR_DATA.bg):38===t||48===t||58===t?o+=this._extractColor(e,o,i):59===t?(i.extended=i.extended.clone(),i.extended.underlineColor=-1,i.updateExtended()):100===t?(i.fg&=-67108864,i.fg|=16777215&h.DEFAULT_ATTR_DATA.fg,i.bg&=-67108864,i.bg|=16777215&h.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",t);return!0},t.prototype.deviceStatus=function(e){switch(e.params[0]){case 5:this._coreService.triggerDataEvent(s.C0.ESC+"[0n");break;case 6:var t=this._activeBuffer.y+1,n=this._activeBuffer.x+1;this._coreService.triggerDataEvent(s.C0.ESC+"["+t+";"+n+"R")}return!0},t.prototype.deviceStatusPrivate=function(e){if(6===e.params[0]){var t=this._activeBuffer.y+1,n=this._activeBuffer.x+1;this._coreService.triggerDataEvent(s.C0.ESC+"[?"+t+";"+n+"R")}return!0},t.prototype.softReset=function(e){return this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._activeBuffer.scrollTop=0,this._activeBuffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=h.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._activeBuffer.savedX=0,this._activeBuffer.savedY=this._activeBuffer.ybase,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1,!0},t.prototype.setCursorStyle=function(e){var t=e.params[0]||1;switch(t){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var n=t%2==1;return this._optionsService.options.cursorBlink=n,!0},t.prototype.setScrollRegion=function(e){var t,n=e.params[0]||1;return(e.length<2||(t=e.params[1])>this._bufferService.rows||0===t)&&(t=this._bufferService.rows),t>n&&(this._activeBuffer.scrollTop=n-1,this._activeBuffer.scrollBottom=t-1,this._setCursor(0,0)),!0},t.prototype.windowOptions=function(e){if(!C(e.params[0],this._optionsService.rawOptions.windowOptions))return!0;var t=e.length>1?e.params[1]:0;switch(e.params[0]){case 14:2!==t&&this._onRequestWindowsOptionsReport.fire(r.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(r.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(s.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:0!==t&&2!==t||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),0!==t&&1!==t||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:0!==t&&2!==t||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),0!==t&&1!==t||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}return!0},t.prototype.saveCursor=function(e){return this._activeBuffer.savedX=this._activeBuffer.x,this._activeBuffer.savedY=this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,!0},t.prototype.restoreCursor=function(e){return this._activeBuffer.x=this._activeBuffer.savedX||0,this._activeBuffer.y=Math.max(this._activeBuffer.savedY-this._activeBuffer.ybase,0),this._curAttrData.fg=this._activeBuffer.savedCurAttrData.fg,this._curAttrData.bg=this._activeBuffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._activeBuffer.savedCharset&&(this._charsetService.charset=this._activeBuffer.savedCharset),this._restrictCursor(),!0},t.prototype.setTitle=function(e){return this._windowTitle=e,this._onTitleChange.fire(e),!0},t.prototype.setIconName=function(e){return this._iconName=e,!0},t.prototype.setOrReportIndexedColor=function(e){for(var t=[],n=e.split(";");n.length>1;){var i=n.shift(),o=n.shift();if(/^\d+$/.exec(i)){var r=parseInt(i);if(0<=r&&r<256)if("?"===o)t.push({type:0,index:r});else{var s=(0,_.parseColor)(o);s&&t.push({type:1,index:r,color:s})}}}return t.length&&this._onColor.fire(t),!0},t.prototype._setOrReportSpecialColor=function(e,t){for(var n=e.split(";"),i=0;i=this._specialColors.length);++i,++t)if("?"===n[i])this._onColor.fire([{type:0,index:this._specialColors[t]}]);else{var o=(0,_.parseColor)(n[i]);o&&this._onColor.fire([{type:1,index:this._specialColors[t],color:o}])}return!0},t.prototype.setOrReportFgColor=function(e){return this._setOrReportSpecialColor(e,0)},t.prototype.setOrReportBgColor=function(e){return this._setOrReportSpecialColor(e,1)},t.prototype.setOrReportCursorColor=function(e){return this._setOrReportSpecialColor(e,2)},t.prototype.restoreIndexedColor=function(e){if(!e)return this._onColor.fire([{type:2}]),!0;for(var t=[],n=e.split(";"),i=0;i=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._restrictCursor(),!0},t.prototype.tabSet=function(){return this._activeBuffer.tabs[this._activeBuffer.x]=!0,!0},t.prototype.reverseIndex=function(){if(this._restrictCursor(),this._activeBuffer.y===this._activeBuffer.scrollTop){var e=this._activeBuffer.scrollBottom-this._activeBuffer.scrollTop;this._activeBuffer.lines.shiftElements(this._activeBuffer.ybase+this._activeBuffer.y,e,1),this._activeBuffer.lines.set(this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom)}else this._activeBuffer.y--,this._restrictCursor();return!0},t.prototype.fullReset=function(){return this._parser.reset(),this._onRequestReset.fire(),!0},t.prototype.reset=function(){this._curAttrData=h.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=h.DEFAULT_ATTR_DATA.clone()},t.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},t.prototype.setgLevel=function(e){return this._charsetService.setgLevel(e),!0},t.prototype.screenAlignmentPattern=function(){var e=new m.CellData;e.content=1<<22|"E".charCodeAt(0),e.fg=this._curAttrData.fg,e.bg=this._curAttrData.bg,this._setCursor(0,0);for(var t=0;t{Object.defineProperty(t,"__esModule",{value:!0}),t.getDisposeArrayDisposable=t.disposeArray=t.Disposable=void 0;var n=function(){function e(){this._disposables=[],this._isDisposed=!1}return e.prototype.dispose=function(){this._isDisposed=!0;for(var e=0,t=this._disposables;e{Object.defineProperty(t,"__esModule",{value:!0}),t.isLinux=t.isWindows=t.isIphone=t.isIpad=t.isMac=t.isSafari=t.isLegacyEdge=t.isFirefox=void 0;var n="undefined"==typeof navigator,i=n?"node":navigator.userAgent,o=n?"node":navigator.platform;t.isFirefox=i.includes("Firefox"),t.isLegacyEdge=i.includes("Edge"),t.isSafari=/^((?!chrome|android).)*safari/i.test(i),t.isMac=["Macintosh","MacIntel","MacPPC","Mac68K"].includes(o),t.isIpad="iPad"===o,t.isIphone="iPhone"===o,t.isWindows=["Windows","Win16","Win32","WinCE"].includes(o),t.isLinux=o.indexOf("Linux")>=0},8273:(e,t)=>{function n(e,t,n,i){if(void 0===n&&(n=0),void 0===i&&(i=e.length),n>=e.length)return e;n=(e.length+n)%e.length,i=i>=e.length?e.length:(e.length+i)%e.length;for(var o=n;o{Object.defineProperty(t,"__esModule",{value:!0}),t.updateWindowsModeWrappedState=void 0;var i=n(643);t.updateWindowsModeWrappedState=function(e){var t=e.buffer.lines.get(e.buffer.ybase+e.buffer.y-1),n=null==t?void 0:t.get(e.cols-1),o=e.buffer.lines.get(e.buffer.ybase+e.buffer.y);o&&n&&(o.isWrapped=n[i.CHAR_DATA_CODE_INDEX]!==i.NULL_CELL_CODE&&n[i.CHAR_DATA_CODE_INDEX]!==i.WHITESPACE_CELL_CODE)}},3734:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedAttrs=t.AttributeData=void 0;var n=function(){function e(){this.fg=0,this.bg=0,this.extended=new i}return e.toColorRGB=function(e){return[e>>>16&255,e>>>8&255,255&e]},e.fromColorRGB=function(e){return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},e.prototype.clone=function(){var t=new e;return t.fg=this.fg,t.bg=this.bg,t.extended=this.extended.clone(),t},e.prototype.isInverse=function(){return 67108864&this.fg},e.prototype.isBold=function(){return 134217728&this.fg},e.prototype.isUnderline=function(){return 268435456&this.fg},e.prototype.isBlink=function(){return 536870912&this.fg},e.prototype.isInvisible=function(){return 1073741824&this.fg},e.prototype.isItalic=function(){return 67108864&this.bg},e.prototype.isDim=function(){return 134217728&this.bg},e.prototype.isStrikethrough=function(){return 2147483648&this.fg},e.prototype.getFgColorMode=function(){return 50331648&this.fg},e.prototype.getBgColorMode=function(){return 50331648&this.bg},e.prototype.isFgRGB=function(){return 50331648==(50331648&this.fg)},e.prototype.isBgRGB=function(){return 50331648==(50331648&this.bg)},e.prototype.isFgPalette=function(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)},e.prototype.isBgPalette=function(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)},e.prototype.isFgDefault=function(){return 0==(50331648&this.fg)},e.prototype.isBgDefault=function(){return 0==(50331648&this.bg)},e.prototype.isAttributeDefault=function(){return 0===this.fg&&0===this.bg},e.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},e.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},e.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},e.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},e.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},e.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},e.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648==(50331648&this.extended.underlineColor):this.isFgRGB()},e.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?16777216==(50331648&this.extended.underlineColor)||33554432==(50331648&this.extended.underlineColor):this.isFgPalette()},e.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?0==(50331648&this.extended.underlineColor):this.isFgDefault()},e.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},e}();t.AttributeData=n;var i=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=-1),this.underlineStyle=e,this.underlineColor=t}return e.prototype.clone=function(){return new e(this.underlineStyle,this.underlineColor)},e.prototype.isEmpty=function(){return 0===this.underlineStyle},e}();t.ExtendedAttrs=i},9092:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferStringIterator=t.Buffer=t.MAX_BUFFER_SIZE=void 0;var i=n(6349),o=n(8437),r=n(511),s=n(643),a=n(4634),c=n(4863),l=n(7116),u=n(3734);t.MAX_BUFFER_SIZE=4294967295;var d=function(){function e(e,t,n){this._hasScrollback=e,this._optionsService=t,this._bufferService=n,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=o.DEFAULT_ATTR_DATA.clone(),this.savedCharset=l.DEFAULT_CHARSET,this.markers=[],this._nullCell=r.CellData.fromCharData([0,s.NULL_CELL_CHAR,s.NULL_CELL_WIDTH,s.NULL_CELL_CODE]),this._whitespaceCell=r.CellData.fromCharData([0,s.WHITESPACE_CELL_CHAR,s.WHITESPACE_CELL_WIDTH,s.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new i.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return e.prototype.getNullCell=function(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg,this._nullCell.extended=e.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new u.ExtendedAttrs),this._nullCell},e.prototype.getWhitespaceCell=function(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg,this._whitespaceCell.extended=e.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new u.ExtendedAttrs),this._whitespaceCell},e.prototype.getBlankLine=function(e,t){return new o.BufferLine(this._bufferService.cols,this.getNullCell(e),t)},Object.defineProperty(e.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isCursorInViewport",{get:function(){var e=this.ybase+this.y-this.ydisp;return e>=0&&et.MAX_BUFFER_SIZE?t.MAX_BUFFER_SIZE:n},e.prototype.fillViewportRows=function(e){if(0===this.lines.length){void 0===e&&(e=o.DEFAULT_ATTR_DATA);for(var t=this._rows;t--;)this.lines.push(this.getBlankLine(e))}},e.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new i.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},e.prototype.resize=function(e,t){var n=this.getNullCell(o.DEFAULT_ATTR_DATA),i=this._getCorrectBufferLength(t);if(i>this.lines.maxLength&&(this.lines.maxLength=i),this.lines.length>0){if(this._cols0&&this.lines.length<=this.ybase+this.y+s+1?(this.ybase--,s++,this.ydisp>0&&this.ydisp--):this.lines.push(new o.BufferLine(e,n)));else for(a=this._rows;a>t;a--)this.lines.length>t+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(i0&&(this.lines.trimStart(c),this.ybase=Math.max(this.ybase-c,0),this.ydisp=Math.max(this.ydisp-c,0),this.savedY=Math.max(this.savedY-c,0)),this.lines.maxLength=i}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,t-1),s&&(this.y+=s),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=t-1,this._isReflowEnabled&&(this._reflow(e,t),this._cols>e))for(r=0;rthis._cols?this._reflowLarger(e,t):this._reflowSmaller(e,t))},e.prototype._reflowLarger=function(e,t){var n=(0,a.reflowLargerGetLinesToRemove)(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(o.DEFAULT_ATTR_DATA));if(n.length>0){var i=(0,a.reflowLargerCreateNewLayout)(this.lines,n);(0,a.reflowLargerApplyNewLayout)(this.lines,i.layout),this._reflowLargerAdjustViewport(e,t,i.countRemoved)}},e.prototype._reflowLargerAdjustViewport=function(e,t,n){for(var i=this.getNullCell(o.DEFAULT_ATTR_DATA),r=n;r-- >0;)0===this.ybase?(this.y>0&&this.y--,this.lines.length=0;s--){var c=this.lines.get(s);if(!(!c||!c.isWrapped&&c.getTrimmedLength()<=e)){for(var l=[c];c.isWrapped&&s>0;)c=this.lines.get(--s),l.unshift(c);var u=this.ybase+this.y;if(!(u>=s&&u0&&(i.push({start:s+l.length+r,newLines:m}),r+=m.length),l.push.apply(l,m);var b=p.length-1,y=p[b];0===y&&(y=p[--b]);for(var _=l.length-f-1,M=h;_>=0;){var w=Math.min(M,y);if(void 0===l[b])break;if(l[b].copyCellsFrom(l[_],M-w,y-w,w,!0),0==(y-=w)&&(y=p[--b]),0==(M-=w)){_--;var C=Math.max(_,0);M=(0,a.getWrappedLineTrimmedLength)(l,C,this._cols)}}for(g=0;g0;)0===this.ybase?this.y0){var A=[],E=[];for(g=0;g=0;g--)if(x&&x.start>L+R){for(var k=x.newLines.length-1;k>=0;k--)this.lines.set(g--,x.newLines[k]);g++,A.push({index:L+1,amount:x.newLines.length}),R+=x.newLines.length,x=i[++T]}else this.lines.set(g,E[L--]);var z=0;for(g=A.length-1;g>=0;g--)A[g].index+=z,this.lines.onInsertEmitter.fire(A[g]),z+=A[g].amount;var P=Math.max(0,O+r-this.lines.maxLength);P>0&&this.lines.onTrimEmitter.fire(P)}},e.prototype.stringIndexToBufferIndex=function(e,t,n){for(void 0===n&&(n=!1);t;){var i=this.lines.get(e);if(!i)return[-1,-1];for(var o=n?i.getTrimmedLength():i.length,r=0;r0&&this.lines.get(t).isWrapped;)t--;for(;n+10;);return e>=this._cols?this._cols-1:e<0?0:e},e.prototype.nextStop=function(e){for(null==e&&(e=this.x);!this.tabs[++e]&&e=this._cols?this._cols-1:e<0?0:e},e.prototype.addMarker=function(e){var t=this,n=new c.Marker(e);return this.markers.push(n),n.register(this.lines.onTrim(function(e){n.line-=e,n.line<0&&n.dispose()})),n.register(this.lines.onInsert(function(e){n.line>=e.index&&(n.line+=e.amount)})),n.register(this.lines.onDelete(function(e){n.line>=e.index&&n.linee.index&&(n.line-=e.amount)})),n.register(n.onDispose(function(){return t._removeMarker(n)})),n},e.prototype._removeMarker=function(e){this.markers.splice(this.markers.indexOf(e),1)},e.prototype.iterator=function(e,t,n,i,o){return new h(this,e,t,n,i,o)},e}();t.Buffer=d;var h=function(){function e(e,t,n,i,o,r){void 0===n&&(n=0),void 0===i&&(i=e.lines.length),void 0===o&&(o=0),void 0===r&&(r=0),this._buffer=e,this._trimRight=t,this._startIndex=n,this._endIndex=i,this._startOverscan=o,this._endOverscan=r,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return e.prototype.hasNext=function(){return this._currentthis._endIndex+this._endOverscan&&(e.last=this._endIndex+this._endOverscan),e.first=Math.max(e.first,0),e.last=Math.min(e.last,this._buffer.lines.length);for(var t="",n=e.first;n<=e.last;++n)t+=this._buffer.translateBufferLineToString(n,this._trimRight);return this._current=e.last+1,{range:e,content:t}},e}();t.BufferStringIterator=h},8437:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferLine=t.DEFAULT_ATTR_DATA=void 0;var i=n(482),o=n(643),r=n(511),s=n(3734);t.DEFAULT_ATTR_DATA=Object.freeze(new s.AttributeData);var a=function(){function e(e,t,n){void 0===n&&(n=!1),this.isWrapped=n,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*e);for(var i=t||r.CellData.fromCharData([0,o.NULL_CELL_CHAR,o.NULL_CELL_WIDTH,o.NULL_CELL_CODE]),s=0;s>22,2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):n]},e.prototype.set=function(e,t){this._data[3*e+1]=t[o.CHAR_DATA_ATTR_INDEX],t[o.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[e]=t[1],this._data[3*e+0]=2097152|e|t[o.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*e+0]=t[o.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|t[o.CHAR_DATA_WIDTH_INDEX]<<22},e.prototype.getWidth=function(e){return this._data[3*e+0]>>22},e.prototype.hasWidth=function(e){return 12582912&this._data[3*e+0]},e.prototype.getFg=function(e){return this._data[3*e+1]},e.prototype.getBg=function(e){return this._data[3*e+2]},e.prototype.hasContent=function(e){return 4194303&this._data[3*e+0]},e.prototype.getCodePoint=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):2097151&t},e.prototype.isCombined=function(e){return 2097152&this._data[3*e+0]},e.prototype.getString=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e]:2097151&t?(0,i.stringFromCodePoint)(2097151&t):""},e.prototype.loadCell=function(e,t){var n=3*e;return t.content=this._data[n+0],t.fg=this._data[n+1],t.bg=this._data[n+2],2097152&t.content&&(t.combinedData=this._combined[e]),268435456&t.bg&&(t.extended=this._extendedAttrs[e]),t},e.prototype.setCell=function(e,t){2097152&t.content&&(this._combined[e]=t.combinedData),268435456&t.bg&&(this._extendedAttrs[e]=t.extended),this._data[3*e+0]=t.content,this._data[3*e+1]=t.fg,this._data[3*e+2]=t.bg},e.prototype.setCellFromCodePoint=function(e,t,n,i,o,r){268435456&o&&(this._extendedAttrs[e]=r),this._data[3*e+0]=t|n<<22,this._data[3*e+1]=i,this._data[3*e+2]=o},e.prototype.addCodepointToCell=function(e,t){var n=this._data[3*e+0];2097152&n?this._combined[e]+=(0,i.stringFromCodePoint)(t):(2097151&n?(this._combined[e]=(0,i.stringFromCodePoint)(2097151&n)+(0,i.stringFromCodePoint)(t),n&=-2097152,n|=2097152):n=t|1<<22,this._data[3*e+0]=n)},e.prototype.insertCells=function(e,t,n,i){if((e%=this.length)&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null==i?void 0:i.fg)||0,(null==i?void 0:i.bg)||0,(null==i?void 0:i.extended)||new s.ExtendedAttrs),t=0;--a)this.setCell(e+t+a,this.loadCell(e+a,o));for(a=0;athis.length){var n=new Uint32Array(3*e);this.length&&(3*e=e&&delete this._combined[r]}}else this._data=new Uint32Array(0),this._combined={};this.length=e}},e.prototype.fill=function(e){this._combined={},this._extendedAttrs={};for(var t=0;t=0;--e)if(4194303&this._data[3*e+0])return e+(this._data[3*e+0]>>22);return 0},e.prototype.copyCellsFrom=function(e,t,n,i,o){var r=e._data;if(o)for(var s=i-1;s>=0;s--)for(var a=0;a<3;a++)this._data[3*(n+s)+a]=r[3*(t+s)+a];else for(s=0;s=t&&(this._combined[l-t+n]=e._combined[l])}},e.prototype.translateToString=function(e,t,n){void 0===e&&(e=!1),void 0===t&&(t=0),void 0===n&&(n=this.length),e&&(n=Math.min(n,this.getTrimmedLength()));for(var r="";t>22||1}return r},e}();t.BufferLine=a},4841:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getRangeLength=void 0,t.getRangeLength=function(e,t){if(e.start.y>e.end.y)throw new Error("Buffer range end ("+e.end.x+", "+e.end.y+") cannot be before start ("+e.start.x+", "+e.start.y+")");return t*(e.end.y-e.start.y)+(e.end.x-e.start.x+1)}},4634:(e,t)=>{function n(e,t,n){if(t===e.length-1)return e[t].getTrimmedLength();var i=!e[t].hasContent(n-1)&&1===e[t].getWidth(n-1),o=2===e[t+1].getWidth(0);return i&&o?n-1:n}Object.defineProperty(t,"__esModule",{value:!0}),t.getWrappedLineTrimmedLength=t.reflowSmallerGetNewLineLengths=t.reflowLargerApplyNewLayout=t.reflowLargerCreateNewLayout=t.reflowLargerGetLinesToRemove=void 0,t.reflowLargerGetLinesToRemove=function(e,t,i,o,r){for(var s=[],a=0;a=a&&o0&&(_>d||0===u[_].getTrimmedLength());_--)y++;y>0&&(s.push(a+u.length-y),s.push(y)),a+=u.length-1}}}return s},t.reflowLargerCreateNewLayout=function(e,t){for(var n=[],i=0,o=t[i],r=0,s=0;sl&&(s-=l,a++);var u=2===e[a].getWidth(s-1);u&&s--;var d=u?i-1:i;o.push(d),c+=d}return o},t.getWrappedLineTrimmedLength=n},5295:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.BufferSet=void 0;var r=n(9092),s=n(8460),a=function(e){function t(t,n){var i=e.call(this)||this;return i._optionsService=t,i._bufferService=n,i._onBufferActivate=i.register(new s.EventEmitter),i.reset(),i}return o(t,e),Object.defineProperty(t.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),t.prototype.reset=function(){this._normal=new r.Buffer(!0,this._optionsService,this._bufferService),this._normal.fillViewportRows(),this._alt=new r.Buffer(!1,this._optionsService,this._bufferService),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}),this.setupTabStops()},Object.defineProperty(t.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),t.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},t.prototype.activateAltBuffer=function(e){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(e),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},t.prototype.resize=function(e,t){this._normal.resize(e,t),this._alt.resize(e,t)},t.prototype.setupTabStops=function(e){this._normal.setupTabStops(e),this._alt.setupTabStops(e)},t}(n(844).Disposable);t.BufferSet=a},511:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CellData=void 0;var r=n(482),s=n(643),a=n(3734),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.content=0,t.fg=0,t.bg=0,t.extended=new a.ExtendedAttrs,t.combinedData="",t}return o(t,e),t.fromCharData=function(e){var n=new t;return n.setFromCharData(e),n},t.prototype.isCombined=function(){return 2097152&this.content},t.prototype.getWidth=function(){return this.content>>22},t.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?(0,r.stringFromCodePoint)(2097151&this.content):""},t.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},t.prototype.setFromCharData=function(e){this.fg=e[s.CHAR_DATA_ATTR_INDEX],this.bg=0;var t=!1;if(e[s.CHAR_DATA_CHAR_INDEX].length>2)t=!0;else if(2===e[s.CHAR_DATA_CHAR_INDEX].length){var n=e[s.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=n&&n<=56319){var i=e[s.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=i&&i<=57343?this.content=1024*(n-55296)+i-56320+65536|e[s.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=e[s.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[s.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=e[s.CHAR_DATA_CHAR_INDEX],this.content=2097152|e[s.CHAR_DATA_WIDTH_INDEX]<<22)},t.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},t}(a.AttributeData);t.CellData=c},643:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WHITESPACE_CELL_CODE=t.WHITESPACE_CELL_WIDTH=t.WHITESPACE_CELL_CHAR=t.NULL_CELL_CODE=t.NULL_CELL_WIDTH=t.NULL_CELL_CHAR=t.CHAR_DATA_CODE_INDEX=t.CHAR_DATA_WIDTH_INDEX=t.CHAR_DATA_CHAR_INDEX=t.CHAR_DATA_ATTR_INDEX=t.DEFAULT_ATTR=t.DEFAULT_COLOR=void 0,t.DEFAULT_COLOR=256,t.DEFAULT_ATTR=256|t.DEFAULT_COLOR<<9,t.CHAR_DATA_ATTR_INDEX=0,t.CHAR_DATA_CHAR_INDEX=1,t.CHAR_DATA_WIDTH_INDEX=2,t.CHAR_DATA_CODE_INDEX=3,t.NULL_CELL_CHAR="",t.NULL_CELL_WIDTH=1,t.NULL_CELL_CODE=0,t.WHITESPACE_CELL_CHAR=" ",t.WHITESPACE_CELL_WIDTH=1,t.WHITESPACE_CELL_CODE=32},4863:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Marker=void 0;var r=n(8460),s=function(e){function t(n){var i=e.call(this)||this;return i.line=n,i._id=t._nextId++,i.isDisposed=!1,i._onDispose=new r.EventEmitter,i}return o(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire(),e.prototype.dispose.call(this))},t._nextId=1,t}(n(844).Disposable);t.Marker=s},7116:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_CHARSET=t.CHARSETS=void 0,t.CHARSETS={},t.DEFAULT_CHARSET=t.CHARSETS.B,t.CHARSETS[0]={"`":"◆",a:"▒",b:"␉",c:"␌",d:"␍",e:"␊",f:"°",g:"±",h:"␤",i:"␋",j:"┘",k:"┐",l:"┌",m:"└",n:"┼",o:"⎺",p:"⎻",q:"─",r:"⎼",s:"⎽",t:"├",u:"┤",v:"┴",w:"┬",x:"│",y:"≤",z:"≥","{":"π","|":"≠","}":"£","~":"·"},t.CHARSETS.A={"#":"£"},t.CHARSETS.B=void 0,t.CHARSETS[4]={"#":"£","@":"¾","[":"ij","\\":"½","]":"|","{":"¨","|":"f","}":"¼","~":"´"},t.CHARSETS.C=t.CHARSETS[5]={"[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"},t.CHARSETS.R={"#":"£","@":"à","[":"°","\\":"ç","]":"§","{":"é","|":"ù","}":"è","~":"¨"},t.CHARSETS.Q={"@":"à","[":"â","\\":"ç","]":"ê","^":"î","`":"ô","{":"é","|":"ù","}":"è","~":"û"},t.CHARSETS.K={"@":"§","[":"Ä","\\":"Ö","]":"Ü","{":"ä","|":"ö","}":"ü","~":"ß"},t.CHARSETS.Y={"#":"£","@":"§","[":"°","\\":"ç","]":"é","`":"ù","{":"à","|":"ò","}":"è","~":"ì"},t.CHARSETS.E=t.CHARSETS[6]={"@":"Ä","[":"Æ","\\":"Ø","]":"Å","^":"Ü","`":"ä","{":"æ","|":"ø","}":"å","~":"ü"},t.CHARSETS.Z={"#":"£","@":"§","[":"¡","\\":"Ñ","]":"¿","{":"°","|":"ñ","}":"ç"},t.CHARSETS.H=t.CHARSETS[7]={"@":"É","[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"},t.CHARSETS["="]={"#":"ù","@":"à","[":"é","\\":"ç","]":"ê","^":"î",_:"è","`":"ô","{":"ä","|":"ö","}":"ü","~":"û"}},2584:(e,t)=>{var n,i;Object.defineProperty(t,"__esModule",{value:!0}),t.C1=t.C0=void 0,(i=t.C0||(t.C0={})).NUL="\0",i.SOH="",i.STX="",i.ETX="",i.EOT="",i.ENQ="",i.ACK="",i.BEL="",i.BS="\b",i.HT="\t",i.LF="\n",i.VT="\v",i.FF="\f",i.CR="\r",i.SO="",i.SI="",i.DLE="",i.DC1="",i.DC2="",i.DC3="",i.DC4="",i.NAK="",i.SYN="",i.ETB="",i.CAN="",i.EM="",i.SUB="",i.ESC="",i.FS="",i.GS="",i.RS="",i.US="",i.SP=" ",i.DEL="",(n=t.C1||(t.C1={})).PAD="€",n.HOP="",n.BPH="‚",n.NBH="ƒ",n.IND="„",n.NEL="…",n.SSA="†",n.ESA="‡",n.HTS="ˆ",n.HTJ="‰",n.VTS="Š",n.PLD="‹",n.PLU="Œ",n.RI="",n.SS2="Ž",n.SS3="",n.DCS="",n.PU1="‘",n.PU2="’",n.STS="“",n.CCH="”",n.MW="•",n.SPA="–",n.EPA="—",n.SOS="˜",n.SGCI="™",n.SCI="š",n.CSI="›",n.ST="œ",n.OSC="",n.PM="ž",n.APC="Ÿ"},7399:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.evaluateKeyboardEvent=void 0;var i=n(2584),o={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};t.evaluateKeyboardEvent=function(e,t,n,r){var s={type:0,cancel:!1,key:void 0},a=(e.shiftKey?1:0)|(e.altKey?2:0)|(e.ctrlKey?4:0)|(e.metaKey?8:0);switch(e.keyCode){case 0:"UIKeyInputUpArrow"===e.key?s.key=t?i.C0.ESC+"OA":i.C0.ESC+"[A":"UIKeyInputLeftArrow"===e.key?s.key=t?i.C0.ESC+"OD":i.C0.ESC+"[D":"UIKeyInputRightArrow"===e.key?s.key=t?i.C0.ESC+"OC":i.C0.ESC+"[C":"UIKeyInputDownArrow"===e.key&&(s.key=t?i.C0.ESC+"OB":i.C0.ESC+"[B");break;case 8:if(e.shiftKey){s.key=i.C0.BS;break}if(e.altKey){s.key=i.C0.ESC+i.C0.DEL;break}s.key=i.C0.DEL;break;case 9:if(e.shiftKey){s.key=i.C0.ESC+"[Z";break}s.key=i.C0.HT,s.cancel=!0;break;case 13:s.key=e.altKey?i.C0.ESC+i.C0.CR:i.C0.CR,s.cancel=!0;break;case 27:s.key=i.C0.ESC,e.altKey&&(s.key=i.C0.ESC+i.C0.ESC),s.cancel=!0;break;case 37:if(e.metaKey)break;a?(s.key=i.C0.ESC+"[1;"+(a+1)+"D",s.key===i.C0.ESC+"[1;3D"&&(s.key=i.C0.ESC+(n?"b":"[1;5D"))):s.key=t?i.C0.ESC+"OD":i.C0.ESC+"[D";break;case 39:if(e.metaKey)break;a?(s.key=i.C0.ESC+"[1;"+(a+1)+"C",s.key===i.C0.ESC+"[1;3C"&&(s.key=i.C0.ESC+(n?"f":"[1;5C"))):s.key=t?i.C0.ESC+"OC":i.C0.ESC+"[C";break;case 38:if(e.metaKey)break;a?(s.key=i.C0.ESC+"[1;"+(a+1)+"A",n||s.key!==i.C0.ESC+"[1;3A"||(s.key=i.C0.ESC+"[1;5A")):s.key=t?i.C0.ESC+"OA":i.C0.ESC+"[A";break;case 40:if(e.metaKey)break;a?(s.key=i.C0.ESC+"[1;"+(a+1)+"B",n||s.key!==i.C0.ESC+"[1;3B"||(s.key=i.C0.ESC+"[1;5B")):s.key=t?i.C0.ESC+"OB":i.C0.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(s.key=i.C0.ESC+"[2~");break;case 46:s.key=a?i.C0.ESC+"[3;"+(a+1)+"~":i.C0.ESC+"[3~";break;case 36:s.key=a?i.C0.ESC+"[1;"+(a+1)+"H":t?i.C0.ESC+"OH":i.C0.ESC+"[H";break;case 35:s.key=a?i.C0.ESC+"[1;"+(a+1)+"F":t?i.C0.ESC+"OF":i.C0.ESC+"[F";break;case 33:e.shiftKey?s.type=2:s.key=i.C0.ESC+"[5~";break;case 34:e.shiftKey?s.type=3:s.key=i.C0.ESC+"[6~";break;case 112:s.key=a?i.C0.ESC+"[1;"+(a+1)+"P":i.C0.ESC+"OP";break;case 113:s.key=a?i.C0.ESC+"[1;"+(a+1)+"Q":i.C0.ESC+"OQ";break;case 114:s.key=a?i.C0.ESC+"[1;"+(a+1)+"R":i.C0.ESC+"OR";break;case 115:s.key=a?i.C0.ESC+"[1;"+(a+1)+"S":i.C0.ESC+"OS";break;case 116:s.key=a?i.C0.ESC+"[15;"+(a+1)+"~":i.C0.ESC+"[15~";break;case 117:s.key=a?i.C0.ESC+"[17;"+(a+1)+"~":i.C0.ESC+"[17~";break;case 118:s.key=a?i.C0.ESC+"[18;"+(a+1)+"~":i.C0.ESC+"[18~";break;case 119:s.key=a?i.C0.ESC+"[19;"+(a+1)+"~":i.C0.ESC+"[19~";break;case 120:s.key=a?i.C0.ESC+"[20;"+(a+1)+"~":i.C0.ESC+"[20~";break;case 121:s.key=a?i.C0.ESC+"[21;"+(a+1)+"~":i.C0.ESC+"[21~";break;case 122:s.key=a?i.C0.ESC+"[23;"+(a+1)+"~":i.C0.ESC+"[23~";break;case 123:s.key=a?i.C0.ESC+"[24;"+(a+1)+"~":i.C0.ESC+"[24~";break;default:if(!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)if(n&&!r||!e.altKey||e.metaKey)!n||e.altKey||e.ctrlKey||e.shiftKey||!e.metaKey?e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&e.keyCode>=48&&1===e.key.length?s.key=e.key:e.key&&e.ctrlKey&&"_"===e.key&&(s.key=i.C0.US):65===e.keyCode&&(s.type=1);else{var c=o[e.keyCode],l=null==c?void 0:c[e.shiftKey?1:0];if(l)s.key=i.C0.ESC+l;else if(e.keyCode>=65&&e.keyCode<=90){var u=e.ctrlKey?e.keyCode-64:e.keyCode+32;s.key=i.C0.ESC+String.fromCharCode(u)}}else e.keyCode>=65&&e.keyCode<=90?s.key=String.fromCharCode(e.keyCode-64):32===e.keyCode?s.key=i.C0.NUL:e.keyCode>=51&&e.keyCode<=55?s.key=String.fromCharCode(e.keyCode-51+27):56===e.keyCode?s.key=i.C0.DEL:219===e.keyCode?s.key=i.C0.ESC:220===e.keyCode?s.key=i.C0.FS:221===e.keyCode&&(s.key=i.C0.GS)}return s}},482:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Utf8ToUtf32=t.StringToUtf32=t.utf32ToString=t.stringFromCodePoint=void 0,t.stringFromCodePoint=function(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},t.utf32ToString=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var i="",o=t;o65535?(r-=65536,i+=String.fromCharCode(55296+(r>>10))+String.fromCharCode(r%1024+56320)):i+=String.fromCharCode(r)}return i};var n=function(){function e(){this._interim=0}return e.prototype.clear=function(){this._interim=0},e.prototype.decode=function(e,t){var n=e.length;if(!n)return 0;var i=0,o=0;this._interim&&(56320<=(a=e.charCodeAt(o++))&&a<=57343?t[i++]=1024*(this._interim-55296)+a-56320+65536:(t[i++]=this._interim,t[i++]=a),this._interim=0);for(var r=o;r=n)return this._interim=s,i;var a;56320<=(a=e.charCodeAt(r))&&a<=57343?t[i++]=1024*(s-55296)+a-56320+65536:(t[i++]=s,t[i++]=a)}else 65279!==s&&(t[i++]=s)}return i},e}();t.StringToUtf32=n;var i=function(){function e(){this.interim=new Uint8Array(3)}return e.prototype.clear=function(){this.interim.fill(0)},e.prototype.decode=function(e,t){var n=e.length;if(!n)return 0;var i,o,r,s,a=0,c=0,l=0;if(this.interim[0]){var u=!1,d=this.interim[0];d&=192==(224&d)?31:224==(240&d)?15:7;for(var h=0,p=void 0;(p=63&this.interim[++h])&&h<4;)d<<=6,d|=p;for(var f=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,m=f-h;l=n)return 0;if(128!=(192&(p=e[l++]))){l--,u=!0;break}this.interim[h++]=p,d<<=6,d|=63&p}u||(2===f?d<128?l--:t[a++]=d:3===f?d<2048||d>=55296&&d<=57343||65279===d||(t[a++]=d):d<65536||d>1114111||(t[a++]=d)),this.interim.fill(0)}for(var g=n-4,v=l;v=n)return this.interim[0]=i,a;if(128!=(192&(o=e[v++]))){v--;continue}if((c=(31&i)<<6|63&o)<128){v--;continue}t[a++]=c}else if(224==(240&i)){if(v>=n)return this.interim[0]=i,a;if(128!=(192&(o=e[v++]))){v--;continue}if(v>=n)return this.interim[0]=i,this.interim[1]=o,a;if(128!=(192&(r=e[v++]))){v--;continue}if((c=(15&i)<<12|(63&o)<<6|63&r)<2048||c>=55296&&c<=57343||65279===c)continue;t[a++]=c}else if(240==(248&i)){if(v>=n)return this.interim[0]=i,a;if(128!=(192&(o=e[v++]))){v--;continue}if(v>=n)return this.interim[0]=i,this.interim[1]=o,a;if(128!=(192&(r=e[v++]))){v--;continue}if(v>=n)return this.interim[0]=i,this.interim[1]=o,this.interim[2]=r,a;if(128!=(192&(s=e[v++]))){v--;continue}if((c=(7&i)<<18|(63&o)<<12|(63&r)<<6|63&s)<65536||c>1114111)continue;t[a++]=c}}return a},e}();t.Utf8ToUtf32=i},225:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeV6=void 0;var i,o=n(8273),r=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],s=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],a=function(){function e(){if(this.version="6",!i){i=new Uint8Array(65536),(0,o.fill)(i,1),i[0]=0,(0,o.fill)(i,0,1,32),(0,o.fill)(i,0,127,160),(0,o.fill)(i,2,4352,4448),i[9001]=2,i[9002]=2,(0,o.fill)(i,2,11904,42192),i[12351]=1,(0,o.fill)(i,2,44032,55204),(0,o.fill)(i,2,63744,64256),(0,o.fill)(i,2,65040,65050),(0,o.fill)(i,2,65072,65136),(0,o.fill)(i,2,65280,65377),(0,o.fill)(i,2,65504,65511);for(var e=0;et[o][1])return!1;for(;o>=i;)if(e>t[n=i+o>>1][1])i=n+1;else{if(!(e=131072&&e<=196605||e>=196608&&e<=262141?2:1},e}();t.UnicodeV6=a},5981:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WriteBuffer=void 0;var n="undefined"==typeof queueMicrotask?function(e){Promise.resolve().then(e)}:queueMicrotask,i=function(){function e(e){this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0,this._isSyncWriting=!1,this._syncCalls=0}return e.prototype.writeSync=function(e,t){if(void 0!==t&&this._syncCalls>t)this._syncCalls=0;else if(this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(void 0),this._syncCalls++,!this._isSyncWriting){var n;for(this._isSyncWriting=!0;n=this._writeBuffer.shift();){this._action(n);var i=this._callbacks.shift();i&&i()}this._pendingData=0,this._bufferOffset=2147483647,this._isSyncWriting=!1,this._syncCalls=0}},e.prototype.write=function(e,t){var n=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return n._innerWrite()})),this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(t)},e.prototype._innerWrite=function(e,t){var i=this;void 0===e&&(e=0),void 0===t&&(t=!0);for(var o=e||Date.now();this._writeBuffer.length>this._bufferOffset;){var r=this._writeBuffer[this._bufferOffset],s=this._action(r,t);if(s)return void s.catch(function(e){return n(function(){throw e}),Promise.resolve(!1)}).then(function(e){return Date.now()-o>=12?setTimeout(function(){return i._innerWrite(0,e)}):i._innerWrite(o,e)});var a=this._callbacks[this._bufferOffset];if(a&&a(),this._bufferOffset++,this._pendingData-=r.length,Date.now()-o>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return i._innerWrite()})):(this._writeBuffer.length=0,this._callbacks.length=0,this._pendingData=0,this._bufferOffset=0)},e}();t.WriteBuffer=i},5941:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRgbString=t.parseColor=void 0;var n=/^([\da-f]{1})\/([\da-f]{1})\/([\da-f]{1})$|^([\da-f]{2})\/([\da-f]{2})\/([\da-f]{2})$|^([\da-f]{3})\/([\da-f]{3})\/([\da-f]{3})$|^([\da-f]{4})\/([\da-f]{4})\/([\da-f]{4})$/,i=/^[\da-f]+$/;function o(e,t){var n=e.toString(16),i=n.length<2?"0"+n:n;switch(t){case 4:return n[0];case 8:return i;case 12:return(i+i).slice(0,3);default:return i+i}}t.parseColor=function(e){if(e){var t=e.toLowerCase();if(0===t.indexOf("rgb:")){t=t.slice(4);var o=n.exec(t);if(o){var r=o[1]?15:o[4]?255:o[7]?4095:65535;return[Math.round(parseInt(o[1]||o[4]||o[7]||o[10],16)/r*255),Math.round(parseInt(o[2]||o[5]||o[8]||o[11],16)/r*255),Math.round(parseInt(o[3]||o[6]||o[9]||o[12],16)/r*255)]}}else if(0===t.indexOf("#")&&(t=t.slice(1),i.exec(t)&&[3,6,9,12].includes(t.length))){for(var s=t.length/3,a=[0,0,0],c=0;c<3;++c){var l=parseInt(t.slice(s*c,s*c+s),16);a[c]=1===s?l<<4:2===s?l:3===s?l>>4:l>>8}return a}}},t.toRgbString=function(e,t){void 0===t&&(t=16);var n=e[0],i=e[1],r=e[2];return"rgb:"+o(n,t)+"/"+o(i,t)+"/"+o(r,t)}},5770:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PAYLOAD_LIMIT=void 0,t.PAYLOAD_LIMIT=1e7},6351:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DcsHandler=t.DcsParser=void 0;var i=n(482),o=n(8742),r=n(5770),s=[],a=function(){function e(){this._handlers=Object.create(null),this._active=s,this._ident=0,this._handlerFb=function(){},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}return e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){},this._active=s},e.prototype.registerHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var n=this._handlers[e];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.reset=function(){if(this._active.length)for(var e=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;e>=0;--e)this._active[e].unhook(!1);this._stack.paused=!1,this._active=s,this._ident=0},e.prototype.hook=function(e,t){if(this.reset(),this._ident=e,this._active=this._handlers[e]||s,this._active.length)for(var n=this._active.length-1;n>=0;n--)this._active[n].hook(t);else this._handlerFb(this._ident,"HOOK",t)},e.prototype.put=function(e,t,n){if(this._active.length)for(var o=this._active.length-1;o>=0;o--)this._active[o].put(e,t,n);else this._handlerFb(this._ident,"PUT",(0,i.utf32ToString)(e,t,n))},e.prototype.unhook=function(e,t){if(void 0===t&&(t=!0),this._active.length){var n=!1,i=this._active.length-1,o=!1;if(this._stack.paused&&(i=this._stack.loopPosition-1,n=t,o=this._stack.fallThrough,this._stack.paused=!1),!o&&!1===n){for(;i>=0&&!0!==(n=this._active[i].unhook(e));i--)if(n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=i,this._stack.fallThrough=!1,n;i--}for(;i>=0;i--)if((n=this._active[i].unhook(!1))instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=i,this._stack.fallThrough=!0,n}else this._handlerFb(this._ident,"UNHOOK",e);this._active=s,this._ident=0},e}();t.DcsParser=a;var c=new o.Params;c.addParam(0);var l=function(){function e(e){this._handler=e,this._data="",this._params=c,this._hitLimit=!1}return e.prototype.hook=function(e){this._params=e.length>1||e.params[0]?e.clone():c,this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,n){this._hitLimit||(this._data+=(0,i.utf32ToString)(e,t,n),this._data.length>r.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.unhook=function(e){var t=this,n=!1;if(this._hitLimit)n=!1;else if(e&&(n=this._handler(this._data,this._params))instanceof Promise)return n.then(function(e){return t._params=c,t._data="",t._hitLimit=!1,e});return this._params=c,this._data="",this._hitLimit=!1,n},e}();t.DcsHandler=l},2015:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.EscapeSequenceParser=t.VT500_TRANSITION_TABLE=t.TransitionTable=void 0;var r=n(844),s=n(8273),a=n(8742),c=n(6242),l=n(6351),u=function(){function e(e){this.table=new Uint8Array(e)}return e.prototype.setDefault=function(e,t){(0,s.fill)(this.table,e<<4|t)},e.prototype.add=function(e,t,n,i){this.table[t<<8|e]=n<<4|i},e.prototype.addMany=function(e,t,n,i){for(var o=0;o1)throw new Error("only one byte as prefix supported");if((n=e.prefix.charCodeAt(0))&&60>n||n>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var i=0;io||o>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");n<<=8,n|=o}}if(1!==e.final.length)throw new Error("final must be a single byte");var r=e.final.charCodeAt(0);if(t[0]>r||r>t[1])throw new Error("final must be in range "+t[0]+" .. "+t[1]);return(n<<=8)|r},n.prototype.identToString=function(e){for(var t=[];e;)t.push(String.fromCharCode(255&e)),e>>=8;return t.reverse().join("")},n.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},n.prototype.setPrintHandler=function(e){this._printHandler=e},n.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},n.prototype.registerEscHandler=function(e,t){var n=this._identifier(e,[48,126]);void 0===this._escHandlers[n]&&(this._escHandlers[n]=[]);var i=this._escHandlers[n];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},n.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},n.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},n.prototype.setExecuteHandler=function(e,t){this._executeHandlers[e.charCodeAt(0)]=t},n.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},n.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},n.prototype.registerCsiHandler=function(e,t){var n=this._identifier(e);void 0===this._csiHandlers[n]&&(this._csiHandlers[n]=[]);var i=this._csiHandlers[n];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},n.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},n.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},n.prototype.registerDcsHandler=function(e,t){return this._dcsParser.registerHandler(this._identifier(e),t)},n.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},n.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},n.prototype.registerOscHandler=function(e,t){return this._oscParser.registerHandler(e,t)},n.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},n.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},n.prototype.setErrorHandler=function(e){this._errorHandler=e},n.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},n.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0,0!==this._parseStack.state&&(this._parseStack.state=2,this._parseStack.handlers=[])},n.prototype._preserveStack=function(e,t,n,i,o){this._parseStack.state=e,this._parseStack.handlers=t,this._parseStack.handlerPos=n,this._parseStack.transition=i,this._parseStack.chunkPos=o},n.prototype.parse=function(e,t,n){var i,o=0,r=0,s=0;if(this._parseStack.state)if(2===this._parseStack.state)this._parseStack.state=0,s=this._parseStack.chunkPos+1;else{if(void 0===n||1===this._parseStack.state)throw this._parseStack.state=1,new Error("improper continuation due to previous async handler, giving up parsing");var a=this._parseStack.handlers,c=this._parseStack.handlerPos-1;switch(this._parseStack.state){case 3:if(!1===n&&c>-1)for(;c>=0&&!0!==(i=a[c](this._params));c--)if(i instanceof Promise)return this._parseStack.handlerPos=c,i;this._parseStack.handlers=[];break;case 4:if(!1===n&&c>-1)for(;c>=0&&!0!==(i=a[c]());c--)if(i instanceof Promise)return this._parseStack.handlerPos=c,i;this._parseStack.handlers=[];break;case 6:if(o=e[this._parseStack.chunkPos],i=this._dcsParser.unhook(24!==o&&26!==o,n))return i;27===o&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0;break;case 5:if(o=e[this._parseStack.chunkPos],i=this._oscParser.end(24!==o&&26!==o,n))return i;27===o&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0}this._parseStack.state=0,s=this._parseStack.chunkPos+1,this.precedingCodepoint=0,this.currentState=15&this._parseStack.transition}for(var l=s;l>4){case 2:for(var u=l+1;;++u){if(u>=t||(o=e[u])<32||o>126&&o=t||(o=e[u])<32||o>126&&o=t||(o=e[u])<32||o>126&&o=t||(o=e[u])<32||o>126&&o=0&&!0!==(i=a[h](this._params));h--)if(i instanceof Promise)return this._preserveStack(3,a,h,r,l),i;h<0&&this._csiHandlerFb(this._collect<<8|o,this._params),this.precedingCodepoint=0;break;case 8:do{switch(o){case 59:this._params.addParam(0);break;case 58:this._params.addSubParam(-1);break;default:this._params.addDigit(o-48)}}while(++l47&&o<60);l--;break;case 9:this._collect<<=8,this._collect|=o;break;case 10:for(var p=this._escHandlers[this._collect<<8|o],f=p?p.length-1:-1;f>=0&&!0!==(i=p[f]());f--)if(i instanceof Promise)return this._preserveStack(4,p,f,r,l),i;f<0&&this._escHandlerFb(this._collect<<8|o),this.precedingCodepoint=0;break;case 11:this._params.reset(),this._params.addParam(0),this._collect=0;break;case 12:this._dcsParser.hook(this._collect<<8|o,this._params);break;case 13:for(var m=l+1;;++m)if(m>=t||24===(o=e[m])||26===o||27===o||o>127&&o=t||(o=e[g])<32||o>127&&o{Object.defineProperty(t,"__esModule",{value:!0}),t.OscHandler=t.OscParser=void 0;var i=n(5770),o=n(482),r=[],s=function(){function e(){this._state=0,this._active=r,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}return e.prototype.registerHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var n=this._handlers[e];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){},this._active=r},e.prototype.reset=function(){if(2===this._state)for(var e=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;e>=0;--e)this._active[e].end(!1);this._stack.paused=!1,this._active=r,this._id=-1,this._state=0},e.prototype._start=function(){if(this._active=this._handlers[this._id]||r,this._active.length)for(var e=this._active.length-1;e>=0;e--)this._active[e].start();else this._handlerFb(this._id,"START")},e.prototype._put=function(e,t,n){if(this._active.length)for(var i=this._active.length-1;i>=0;i--)this._active[i].put(e,t,n);else this._handlerFb(this._id,"PUT",(0,o.utf32ToString)(e,t,n))},e.prototype.start=function(){this.reset(),this._state=1},e.prototype.put=function(e,t,n){if(3!==this._state){if(1===this._state)for(;t0&&this._put(e,t,n)}},e.prototype.end=function(e,t){if(void 0===t&&(t=!0),0!==this._state){if(3!==this._state)if(1===this._state&&this._start(),this._active.length){var n=!1,i=this._active.length-1,o=!1;if(this._stack.paused&&(i=this._stack.loopPosition-1,n=t,o=this._stack.fallThrough,this._stack.paused=!1),!o&&!1===n){for(;i>=0&&!0!==(n=this._active[i].end(e));i--)if(n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=i,this._stack.fallThrough=!1,n;i--}for(;i>=0;i--)if((n=this._active[i].end(!1))instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=i,this._stack.fallThrough=!0,n}else this._handlerFb(this._id,"END",e);this._active=r,this._id=-1,this._state=0}},e}();t.OscParser=s;var a=function(){function e(e){this._handler=e,this._data="",this._hitLimit=!1}return e.prototype.start=function(){this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,n){this._hitLimit||(this._data+=(0,o.utf32ToString)(e,t,n),this._data.length>i.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.end=function(e){var t=this,n=!1;if(this._hitLimit)n=!1;else if(e&&(n=this._handler(this._data))instanceof Promise)return n.then(function(e){return t._data="",t._hitLimit=!1,e});return this._data="",this._hitLimit=!1,n},e}();t.OscHandler=a},8742:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Params=void 0;var n=2147483647,i=function(){function e(e,t){if(void 0===e&&(e=32),void 0===t&&(t=32),this.maxLength=e,this.maxSubParamsLength=t,t>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(t),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return e.fromArray=function(t){var n=new e;if(!t.length)return n;for(var i=Array.isArray(t[0])?1:0;i>8,i=255&this._subParamsIdx[t];i-n>0&&e.push(Array.prototype.slice.call(this._subParams,n,i))}return e},e.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},e.prototype.addParam=function(e){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=e>n?n:e}},e.prototype.addSubParam=function(e){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=e>n?n:e,this._subParamsIdx[this.length-1]++}},e.prototype.hasSubParams=function(e){return(255&this._subParamsIdx[e])-(this._subParamsIdx[e]>>8)>0},e.prototype.getSubParams=function(e){var t=this._subParamsIdx[e]>>8,n=255&this._subParamsIdx[e];return n-t>0?this._subParams.subarray(t,n):null},e.prototype.getSubParamsAll=function(){for(var e={},t=0;t>8,i=255&this._subParamsIdx[t];i-n>0&&(e[t]=this._subParams.slice(n,i))}return e},e.prototype.addDigit=function(e){var t;if(!(this._rejectDigits||!(t=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var i=this._digitIsSub?this._subParams:this.params,o=i[t-1];i[t-1]=~o?Math.min(10*o+e,n):e}},e}();t.Params=i},5741:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AddonManager=void 0;var n=function(){function e(){this._addons=[]}return e.prototype.dispose=function(){for(var e=this._addons.length-1;e>=0;e--)this._addons[e].instance.dispose()},e.prototype.loadAddon=function(e,t){var n=this,i={instance:t,dispose:t.dispose,isDisposed:!1};this._addons.push(i),t.dispose=function(){return n._wrappedAddonDispose(i)},t.activate(e)},e.prototype._wrappedAddonDispose=function(e){if(!e.isDisposed){for(var t=-1,n=0;n{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferApiView=void 0;var i=n(3785),o=n(511),r=function(){function e(e,t){this._buffer=e,this.type=t}return e.prototype.init=function(e){return this._buffer=e,this},Object.defineProperty(e.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),e.prototype.getLine=function(e){var t=this._buffer.lines.get(e);if(t)return new i.BufferLineApiView(t)},e.prototype.getNullCell=function(){return new o.CellData},e}();t.BufferApiView=r},3785:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferLineApiView=void 0;var i=n(511),o=function(){function e(e){this._line=e}return Object.defineProperty(e.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),e.prototype.getCell=function(e,t){if(!(e<0||e>=this._line.length))return t?(this._line.loadCell(e,t),t):this._line.loadCell(e,new i.CellData)},e.prototype.translateToString=function(e,t,n){return this._line.translateToString(e,t,n)},e}();t.BufferLineApiView=o},8285:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferNamespaceApi=void 0;var i=n(8771),o=n(8460),r=function(){function e(e){var t=this;this._core=e,this._onBufferChange=new o.EventEmitter,this._normal=new i.BufferApiView(this._core.buffers.normal,"normal"),this._alternate=new i.BufferApiView(this._core.buffers.alt,"alternate"),this._core.buffers.onBufferActivate(function(){return t._onBufferChange.fire(t.active)})}return Object.defineProperty(e.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){if(this._core.buffers.active===this._core.buffers.normal)return this.normal;if(this._core.buffers.active===this._core.buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"normal",{get:function(){return this._normal.init(this._core.buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alternate",{get:function(){return this._alternate.init(this._core.buffers.alt)},enumerable:!1,configurable:!0}),e}();t.BufferNamespaceApi=r},7975:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ParserApi=void 0;var n=function(){function e(e){this._core=e}return e.prototype.registerCsiHandler=function(e,t){return this._core.registerCsiHandler(e,function(e){return t(e.toArray())})},e.prototype.addCsiHandler=function(e,t){return this.registerCsiHandler(e,t)},e.prototype.registerDcsHandler=function(e,t){return this._core.registerDcsHandler(e,function(e,n){return t(e,n.toArray())})},e.prototype.addDcsHandler=function(e,t){return this.registerDcsHandler(e,t)},e.prototype.registerEscHandler=function(e,t){return this._core.registerEscHandler(e,t)},e.prototype.addEscHandler=function(e,t){return this.registerEscHandler(e,t)},e.prototype.registerOscHandler=function(e,t){return this._core.registerOscHandler(e,t)},e.prototype.addOscHandler=function(e,t){return this.registerOscHandler(e,t)},e}();t.ParserApi=n},7090:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeApi=void 0;var n=function(){function e(e){this._core=e}return e.prototype.register=function(e){this._core.unicodeService.register(e)},Object.defineProperty(e.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(e){this._core.unicodeService.activeVersion=e},enumerable:!1,configurable:!0}),e}();t.UnicodeApi=n},744:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.BufferService=t.MINIMUM_ROWS=t.MINIMUM_COLS=void 0;var a=n(2585),c=n(5295),l=n(8460),u=n(844);t.MINIMUM_COLS=2,t.MINIMUM_ROWS=1;var d=function(e){function n(n){var i=e.call(this)||this;return i._optionsService=n,i.isUserScrolling=!1,i._onResize=new l.EventEmitter,i._onScroll=new l.EventEmitter,i.cols=Math.max(n.rawOptions.cols||0,t.MINIMUM_COLS),i.rows=Math.max(n.rawOptions.rows||0,t.MINIMUM_ROWS),i.buffers=new c.BufferSet(n,i),i}return o(n,e),Object.defineProperty(n.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),n.prototype.dispose=function(){e.prototype.dispose.call(this),this.buffers.dispose()},n.prototype.resize=function(e,t){this.cols=e,this.rows=t,this.buffers.resize(e,t),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:e,rows:t})},n.prototype.reset=function(){this.buffers.reset(),this.isUserScrolling=!1},n.prototype.scroll=function(e,t){void 0===t&&(t=!1);var n,i=this.buffer;(n=this._cachedBlankLine)&&n.length===this.cols&&n.getFg(0)===e.fg&&n.getBg(0)===e.bg||(n=i.getBlankLine(e,t),this._cachedBlankLine=n),n.isWrapped=t;var o=i.ybase+i.scrollTop,r=i.ybase+i.scrollBottom;if(0===i.scrollTop){var s=i.lines.isFull;r===i.lines.length-1?s?i.lines.recycle().copyFrom(n):i.lines.push(n.clone()):i.lines.splice(r+1,0,n.clone()),s?this.isUserScrolling&&(i.ydisp=Math.max(i.ydisp-1,0)):(i.ybase++,this.isUserScrolling||i.ydisp++)}else{var a=r-o+1;i.lines.shiftElements(o+1,a-1,-1),i.lines.set(r,n.clone())}this.isUserScrolling||(i.ydisp=i.ybase),this._onScroll.fire(i.ydisp)},n.prototype.scrollLines=function(e,t,n){var i=this.buffer;if(e<0){if(0===i.ydisp)return;this.isUserScrolling=!0}else e+i.ydisp>=i.ybase&&(this.isUserScrolling=!1);var o=i.ydisp;i.ydisp=Math.max(Math.min(i.ydisp+e,i.ybase),0),o!==i.ydisp&&(t||this._onScroll.fire(i.ydisp))},n.prototype.scrollPages=function(e){this.scrollLines(e*(this.rows-1))},n.prototype.scrollToTop=function(){this.scrollLines(-this.buffer.ydisp)},n.prototype.scrollToBottom=function(){this.scrollLines(this.buffer.ybase-this.buffer.ydisp)},n.prototype.scrollToLine=function(e){var t=e-this.buffer.ydisp;0!==t&&this.scrollLines(t)},r([s(0,a.IOptionsService)],n)}(u.Disposable);t.BufferService=d},7994:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CharsetService=void 0;var n=function(){function e(){this.glevel=0,this._charsets=[]}return e.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},e.prototype.setgLevel=function(e){this.glevel=e,this.charset=this._charsets[e]},e.prototype.setgCharset=function(e,t){this._charsets[e]=t,this.glevel===e&&(this.charset=t)},e}();t.CharsetService=n},1753:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreMouseService=void 0;var r=n(2585),s=n(8460),a={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(e){return 4!==e.button&&1===e.action&&(e.ctrl=!1,e.alt=!1,e.shift=!1,!0)}},VT200:{events:19,restrict:function(e){return 32!==e.action}},DRAG:{events:23,restrict:function(e){return 32!==e.action||3!==e.button}},ANY:{events:31,restrict:function(e){return!0}}};function c(e,t){var n=(e.ctrl?16:0)|(e.shift?4:0)|(e.alt?8:0);return 4===e.button?(n|=64,n|=e.action):(n|=3&e.button,4&e.button&&(n|=64),8&e.button&&(n|=128),32===e.action?n|=32:0!==e.action||t||(n|=3)),n}var l=String.fromCharCode,u={DEFAULT:function(e){var t=[c(e,!1)+32,e.col+32,e.row+32];return t[0]>255||t[1]>255||t[2]>255?"":""+l(t[0])+l(t[1])+l(t[2])},SGR:function(e){var t=0===e.action&&4!==e.button?"m":"M";return"[<"+c(e,!0)+";"+e.col+";"+e.row+t}},d=function(){function e(e,t){this._bufferService=e,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new s.EventEmitter,this._lastEvent=null;for(var n=0,i=Object.keys(a);n=this._bufferService.cols||e.row<0||e.row>=this._bufferService.rows)return!1;if(4===e.button&&32===e.action)return!1;if(3===e.button&&32!==e.action)return!1;if(4!==e.button&&(2===e.action||3===e.action))return!1;if(e.col++,e.row++,32===e.action&&this._lastEvent&&this._compareEvents(this._lastEvent,e))return!1;if(!this._protocols[this._activeProtocol].restrict(e))return!1;var t=this._encodings[this._activeEncoding](e);return t&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=e,!0},e.prototype.explainEvents=function(e){return{down:!!(1&e),up:!!(2&e),drag:!!(4&e),move:!!(8&e),wheel:!!(16&e)}},e.prototype._compareEvents=function(e,t){return e.col===t.col&&e.row===t.row&&e.button===t.button&&e.action===t.action&&e.ctrl===t.ctrl&&e.alt===t.alt&&e.shift===t.shift},i([o(0,r.IBufferService),o(1,r.ICoreService)],e)}();t.CoreMouseService=d},6975:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreService=void 0;var a=n(2585),c=n(8460),l=n(1439),u=n(844),d=Object.freeze({insertMode:!1}),h=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),p=function(e){function t(t,n,i,o){var r=e.call(this)||this;return r._bufferService=n,r._logService=i,r._optionsService=o,r.isCursorInitialized=!1,r.isCursorHidden=!1,r._onData=r.register(new c.EventEmitter),r._onUserInput=r.register(new c.EventEmitter),r._onBinary=r.register(new c.EventEmitter),r._scrollToBottom=t,r.register({dispose:function(){return r._scrollToBottom=void 0}}),r.modes=(0,l.clone)(d),r.decPrivateModes=(0,l.clone)(h),r}return o(t,e),Object.defineProperty(t.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),t.prototype.reset=function(){this.modes=(0,l.clone)(d),this.decPrivateModes=(0,l.clone)(h)},t.prototype.triggerDataEvent=function(e,t){if(void 0===t&&(t=!1),!this._optionsService.rawOptions.disableStdin){var n=this._bufferService.buffer;n.ybase!==n.ydisp&&this._scrollToBottom(),t&&this._onUserInput.fire(),this._logService.debug('sending data "'+e+'"',function(){return e.split("").map(function(e){return e.charCodeAt(0)})}),this._onData.fire(e)}},t.prototype.triggerBinaryEvent=function(e){this._optionsService.rawOptions.disableStdin||(this._logService.debug('sending binary "'+e+'"',function(){return e.split("").map(function(e){return e.charCodeAt(0)})}),this._onBinary.fire(e))},r([s(1,a.IBufferService),s(2,a.ILogService),s(3,a.IOptionsService)],t)}(u.Disposable);t.CoreService=p},3730:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DirtyRowService=void 0;var r=n(2585),s=function(){function e(e){this._bufferService=e,this.clearRange()}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),e.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},e.prototype.markDirty=function(e){ethis._end&&(this._end=e)},e.prototype.markRangeDirty=function(e,t){if(e>t){var n=e;e=t,t=n}ethis._end&&(this._end=t)},e.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},i([o(0,r.IBufferService)],e)}();t.DirtyRowService=s},4348:function(e,t,n){var i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o0?o[0].index:t.length;if(t.length!==d)throw new Error("[createInstance] First service dependency of "+e.name+" at position "+(d+1)+" conflicts with "+t.length+" static arguments");return new(e.bind.apply(e,i([void 0],i(i([],t,!0),s,!0),!1)))},e}();t.InstantiationService=a},7866:function(e,t,n){var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o{function n(e,t,n){t.di$target===t?t.di$dependencies.push({id:e,index:n}):(t.di$dependencies=[{id:e,index:n}],t.di$target=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.createDecorator=t.getServiceDependencies=t.serviceRegistry=void 0,t.serviceRegistry=new Map,t.getServiceDependencies=function(e){return e.di$dependencies||[]},t.createDecorator=function(e){if(t.serviceRegistry.has(e))return t.serviceRegistry.get(e);var i=function(e,t,o){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");n(i,e,o)};return i.toString=function(){return e},t.serviceRegistry.set(e,i),i}},2585:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IUnicodeService=t.IOptionsService=t.ILogService=t.LogLevelEnum=t.IInstantiationService=t.IDirtyRowService=t.ICharsetService=t.ICoreService=t.ICoreMouseService=t.IBufferService=void 0;var i,o=n(8343);t.IBufferService=(0,o.createDecorator)("BufferService"),t.ICoreMouseService=(0,o.createDecorator)("CoreMouseService"),t.ICoreService=(0,o.createDecorator)("CoreService"),t.ICharsetService=(0,o.createDecorator)("CharsetService"),t.IDirtyRowService=(0,o.createDecorator)("DirtyRowService"),t.IInstantiationService=(0,o.createDecorator)("InstantiationService"),(i=t.LogLevelEnum||(t.LogLevelEnum={}))[i.DEBUG=0]="DEBUG",i[i.INFO=1]="INFO",i[i.WARN=2]="WARN",i[i.ERROR=3]="ERROR",i[i.OFF=4]="OFF",t.ILogService=(0,o.createDecorator)("LogService"),t.IOptionsService=(0,o.createDecorator)("OptionsService"),t.IUnicodeService=(0,o.createDecorator)("UnicodeService")},1480:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeService=void 0;var i=n(8460),o=n(225),r=function(){function e(){this._providers=Object.create(null),this._active="",this._onChange=new i.EventEmitter;var e=new o.UnicodeV6;this.register(e),this._active=e.version,this._activeProvider=e}return Object.defineProperty(e.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._active},set:function(e){if(!this._providers[e])throw new Error('unknown Unicode version "'+e+'"');this._active=e,this._activeProvider=this._providers[e],this._onChange.fire(e)},enumerable:!1,configurable:!0}),e.prototype.register=function(e){this._providers[e.version]=e},e.prototype.wcwidth=function(e){return this._activeProvider.wcwidth(e)},e.prototype.getStringCellWidth=function(e){for(var t=0,n=e.length,i=0;i=n)return t+this.wcwidth(o);var r=e.charCodeAt(i);56320<=r&&r<=57343?o=1024*(o-55296)+r-56320+65536:t+=this.wcwidth(r)}t+=this.wcwidth(o)}return t},e}();t.UnicodeService=r}},t={};return function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i].call(r.exports,r,r.exports,n),r.exports}(4389)})()})},fcf8:function(e,t,n){},fd0f:function(e,t,n){},fe37:function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n("fba3"),r=n("3b4c"),s=n("3623"),a=n("c444"),c=n("5eb6");function l(e){return"zoom"in e}function u(e){var t=1,n=s.findParentByFeature(e,c.isViewport);return n&&(t=n.zoom),t}t.isZoomable=l,t.getZoom=u;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.wheel=function(e,t){var n=s.findParentByFeature(e,c.isViewport);if(n){var i=this.getZoomFactor(t),o=this.getViewportOffset(e.root,t),r=1/(i*n.zoom)-1/n.zoom,l={scroll:{x:n.scroll.x-r*o.x,y:n.scroll.y-r*o.y},zoom:n.zoom*i};return[new a.SetViewportAction(n.id,l,!1)]}return[]},t.prototype.getViewportOffset=function(e,t){var n=e.canvasBounds,i=o.getWindowScroll();return{x:t.clientX+i.x-n.x,y:t.clientY+i.y-n.y}},t.prototype.getZoomFactor=function(e){return e.deltaMode===e.DOM_DELTA_PAGE?Math.exp(.5*-e.deltaY):e.deltaMode===e.DOM_DELTA_LINE?Math.exp(.05*-e.deltaY):Math.exp(.005*-e.deltaY)},t}(r.MouseListener);t.ZoomMouseListener=d},ff70:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="http://www.w3.org/1999/xlink",o="http://www.w3.org/XML/1998/namespace",r=58,s=120;function a(e,t){var n,a=t.elm,c=e.data.attrs,l=t.data.attrs;if((c||l)&&c!==l){for(n in c=c||{},l=l||{},l){var u=l[n],d=c[n];d!==u&&(!0===u?a.setAttribute(n,""):!1===u?a.removeAttribute(n):n.charCodeAt(0)!==s?a.setAttribute(n,u):n.charCodeAt(3)===r?a.setAttributeNS(o,n,u):n.charCodeAt(5)===r?a.setAttributeNS(i,n,u):a.setAttribute(n,u))}for(n in c)n in l||a.removeAttribute(n)}}t.attributesModule={create:a,update:a},t.default=t.attributesModule}}]); \ No newline at end of file diff --git a/klab.engine/src/main/resources/static/ui/js/app.e47a2ce6.js b/klab.engine/src/main/resources/static/ui/js/app.e47a2ce6.js new file mode 100644 index 000000000..e3b7b4938 --- /dev/null +++ b/klab.engine/src/main/resources/static/ui/js/app.e47a2ce6.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,t,n){e.exports=n("2f39")},"034f":function(e,t,n){"use strict";var o=n("fb1c"),a=n.n(o);a.a},1:function(e,t){},1442:function(e,t,n){"use strict";n.d(t,"d",function(){return A}),n.d(t,"f",function(){return I}),n.d(t,"e",function(){return v}),n.d(t,"c",function(){return N}),n.d(t,"b",function(){return h}),n.d(t,"a",function(){return R});n("ac6a"),n("7514"),n("48c0"),n("6c7b");var o=n("7cca"),a=n("480c"),i=n("5043"),r=n("d0e9"),c=n("2ef1"),s=n("6c77"),l=n("83a6"),u=n("8682"),d=n("8295"),E=n("6cbf"),f=n("bcf0"),T=n("4cdf"),p=n("ddaa"),S=n("8f3a"),m=n("256f"),O="pk.eyJ1Ijoiay1sYWIiLCJhIjoiY2prd2d2dWNxMHlvcDNxcDVsY3FncDBydiJ9.zMQE3gu-0qPpkLapVfVhnA",b='© Mapbox © OpenStreetMap Improve this map',A={BING_KEY:"",COORD_BC3:[-2.968226,43.332125],PROJ_EPSG_4326:Object(m["g"])("EPSG:4326"),PROJ_EPSG_3857:Object(m["g"])("EPSG:3857"),ZINDEX_TOP:1e4,ZINDEX_BASE:1e3,ZINDEX_MULTIPLIER_RASTER:0,ZINDEX_MULTIPLIER_POLYGONS:1,ZINDEX_MULTIPLIER_LINES:2,ZINDEX_MULTIPLIER_POINTS:3,DEFAULT_BASELAYER:"osm_layer"},_={MARKER_SVG:function(e){var t=e.fill,n=void 0===t?"yellow":t,o=e.stroke,a=void 0===o?"black":o,i=e.strokeWidth,r=void 0===i?"5":i;return'\n ')}},I={POINT_OBSERVATION_ICON:new E["a"]({anchor:[.5,1],src:"statics/maps/marker.png",opacity:.8,scale:.6}),POINT_OBSERVATION_SVG_ICON:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.3;return new E["a"]({opacity:1,src:"data:image/svg+xml;utf8,".concat(_.MARKER_SVG(e)),scale:t})},POINT_OBSERVATION_TEXT:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.offsetY,n=void 0===t?25:t,o=e.bold,a=void 0!==o&&o,i=e.size,r=void 0===i?"10px":i;return new d["a"]({textAlign:"center",textBaseline:"bottom",offsetY:n,font:"".concat(a?"bold":"normal"," ").concat(r," Roboto, sans-serif")})}},v={POLYGON_CONTEXT_STYLE:new s["c"]({fill:new l["a"]({color:"rgba(38, 166, 154, 0.2)"})}),POLYGON_PROPOSED_CONTEXT:new s["c"]({fill:new l["a"]({color:"rgba(255,255,255,0.5)"}),stroke:new f["a"]({width:8,pattern:"hatch",color:"#3187ca",offset:0,scale:.75,fill:new l["a"]({color:"#FFFFFF"}),size:2,spacing:5,angle:45})}),POLYGON_OBSERVATION_STYLE:new s["c"]({stroke:new u["a"]({color:"rgb(255, 102, 0)",width:2}),fill:new l["a"]({color:"rgba(255, 102, 0, 0.2)"})}),LNE_OBSERVATION_STYLE:new s["c"]({stroke:new u["a"]({color:"rgb(255, 102, 0)",width:2})}),POINT_OBSERVATION_SVG_PARAM:{fill:o["e"].MAIN_COLOR,stroke:"rgb(51,51,51)",strokeWidth:"4",scale:.3},POINT_CONTEXT_SVG_PARAM:{fill:"rgb(17, 170, 187)",stroke:"rgb(51,51,51)",strokeWidth:"5",scale:.5,offsetY:35,bold:!0,size:"14px"}},N={OSM_LAYER:new a["a"]({name:"osm_layer",title:"OpenStreetMap",type:"base",source:new r["a"]({attributions:'Map credits ©\n OSM\n contributors.'}),visible:!1}),CLEARMAP_TOPO_LAYER:new a["a"]({name:"clearmap_topo_layer",title:"UN Clear Map",type:"base",source:new i["a"]({url:"https://geoservices.un.org/arcgis/rest/services/ClearMap_WebTopo/MapServer/export"}),visible:!1}),CLEARMAP_PLAIN_LAYER:new a["a"]({name:"clearmap_plain_layer",title:"UN Clear Map Plain",type:"base",source:new i["a"]({url:"https://geoservices.un.org/arcgis/rest/services/ClearMap_WebPlain/MapServer/export"}),visible:!1}),CLEARMAP_DARK_LAYER:new a["a"]({name:"clearmap_dark_layer",title:"UN Clear Map Dark",type:"base",source:new i["a"]({url:"https://geoservices.un.org/arcgis/rest/services/ClearMap_WebDark/MapServer/export"}),visible:!1}),CLEARMAP_GRAY_LAYER:new a["a"]({name:"clearmap_gray_layer",title:"UN Clear Map Gray",type:"base",source:new i["a"]({url:"https://geoservices.un.org/arcgis/rest/services/ClearMap_WebGray/MapServer/export"}),visible:!1}),GOOGLE_HYBRID:new a["a"]({name:"google_hybrid",title:"Google Hybrid",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"http://mt{0-3}.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}",attribution:"© 2018 Google, Inc"}),visible:!1}),GOOGLE_STREET:new a["a"]({name:"google_street",title:"Google Street",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"http://mt{0-3}.google.com/vt/lyrs=m&x={x}&y={y}&z={z}",attribution:"© 2018 Google, Inc"}),visible:!1}),GOOGLE_TERRAIN:new a["a"]({name:"google_terrain",title:"Google Terrain",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"https://mt{0-3}.google.com/vt/lyrs=t&x={x}&y={y}&z={z}",attribution:"© 2018 Google, Inc"}),visible:!1}),MAPBOX_CALI_TERRAIN:new a["a"]({name:"mapbox_cali_terrain",title:"Mapbox Terrain",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"https://api.mapbox.com/styles/v1/k-lab/cjkwh1z9z06ok2rrn9unfpn2n/tiles/256/{z}/{x}/{y}?access_token=".concat(O),attribution:b}),visible:!1}),MAPBOX_MINIMO:new a["a"]({name:"mapbox_minimo",title:"Mapbox Minimo",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"https://api.mapbox.com/styles/v1/k-lab/cjm0l6i4g7ffj2sqk7xy5dv1m/tiles/256/{z}/{x}/{y}?access_token=".concat(O),attribution:b}),visible:!1}),MAPBOX_TERRAIN:new a["a"]({name:"mapbox_terrain",title:"Mapbox Terrain",type:"base",source:new c["a"]({crossOrigin:"anonymous",format:"pbf",url:"https://api.mapbox.com/styles/v1/k-lab/cl1dgarpr005f15ntep34yq88/tiles/256/{z}/{x}/{y}?access_token=".concat(O),attribution:b}),visible:!1}),MAPBOX_GOT:new a["a"]({name:"mapbox_got",title:"k.LAB Mapbox GOT",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"https://api.mapbox.com/styles/v1/k-lab/cjuihteg13toh1fmovvd6r80y/tiles/256/{z}/{x}/{y}?access_token=".concat(O),attribution:b}),visible:!1}),EMPTY_LAYER:new a["a"]({name:"empty_layer",title:"No background",type:"base",visible:!1})},h={controls:S["a"]({attribution:!1}).extend([]),target:"map",projection:A.PROJ_EPSG_4326,center:Object(m["l"])(A.COORD_BC3,A.PROJ_EPSG_4326,A.PROJ_EPSG_3857),zoom:13},R={layers:[N.EMPTY_LAYER,N.CLEARMAP_TOPO_LAYER,N.MAPBOX_MINIMO,N.MAPBOX_TERRAIN,N.OSM_LAYER],mask:null,hasMask:function(){return null!==this.mask},getBaseLayer:function(){return this.layers.find(function(e){return"base"===e.get("type")&&e.getVisible()})},setMask:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[38,38,38,.4];null!==this.mask&&this.removeMask(),this.mask=new p["a"]({feature:new T["a"]({geometry:e,name:"Context"}),inner:!1,active:!0,fill:new l["a"]({color:n})}),this.layers.forEach(function(e){e.addFilter(t.mask)})},removeMask:function(){var e=this;null!==this.mask&&this.layers.forEach(function(t){t.removeFilter(e.mask)}),this.mask=null}}},"17dc":function(e,t,n){"use strict";n.d(t,"a",function(){return f});n("ac6a"),n("cadf"),n("6b54"),n("c5f6");var o=n("3156"),a=n.n(o),i=n("278c"),r=n.n(i),c=n("2369"),s=n("c1df"),l=n.n(s),u=n("d247");function d(e,t,n,o,a){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,r=n!==u["b"].PAYLOAD_CLASS_EMPTY?c["b"].validateJsonSchema(o,n):o;return{validated:r,body:{messageClass:e,type:t,payloadClass:n,payload:o,identity:a,timestamp:l()().valueOf(),inResponseTo:i}}}var E={SPATIAL_EXTENT:function(e){var t=r()(e,4),n=t[0],o=t[1],a=t[2],i=t[3];return{south:o,west:n,north:i,east:a}}},f={REGION_OF_INTEREST:function(e,t){return d(u["b"].CLASS_USERCONTEXTCHANGE,u["b"].TYPE_REGIONOFINTEREST,u["b"].PAYLOAD_CLASS_SPATIALEXTENT,E.SPATIAL_EXTENT(e),t)},SEARCH_REQUEST:function(e,t){var n=e.queryString,o=e.searchMode,i=e.requestId,r=e.contextId,c=void 0===r?null:r,s=e.matchTypes,l=void 0===s?null:s,E=e.cancelSearch,f=void 0!==E&&E,T=e.defaultResults,p=void 0!==T&&T,S=e.maxResults;return d(u["b"].CLASS_SEARCH,u["b"].TYPE_SUBMITSEARCH,u["b"].PAYLOAD_CLASS_SEARCHREQUEST,a()({},null!==c&&{contextId:c},null!==l&&{matchTypes:l},{queryString:n,searchMode:o,requestId:i,cancelSearch:f,defaultResults:p,maxResults:S}),t)},SEARCH_MATCH:function(e,t){var n=e.contextId,o=e.matchId,a=e.matchIndex,i=e.added;return d(u["b"].CLASS_SEARCH,u["b"].TYPE_MATCHACTION,u["b"].PAYLOAD_CLASS_SEARCHMATCHACTION,{contextId:n,matchId:o,matchIndex:a,added:i},t)},OBSERVATION_REQUEST:function(e,t){var n=e.urn,o=e.contextId,i=e.searchContextId,r=void 0===i?null:i,c=e.estimate,s=void 0!==c&&c,l=e.estimatedCost,E=void 0===l?0:l;return d(u["b"].CLASS_OBSERVATIONLIFECYCLE,u["b"].TYPE_REQUESTOBSERVATION,u["b"].PAYLOAD_CLASS_OBSERVATIONREQUEST,a()({urn:n},null!==o&&{contextId:o},null!==r&&{searchContextId:r},{estimate:s,estimatedCost:E}),t)},RESET_CONTEXT:function(e){return d(u["b"].CLASS_USERCONTEXTCHANGE,u["b"].TYPE_RESETCONTEXT,u["b"].PAYLOAD_CLASS_EMPTY,"",e)},CONTEXTUALIZATION_REQUEST:function(e,t){var n=e.contextUrn,o=e.contextId,i=e.parentContext,r=e.contextQuery;return d(u["b"].CLASS_OBSERVATIONLIFECYCLE,u["b"].TYPE_RECONTEXTUALIZE,u["b"].PAYLOAD_CLASS_CONTEXTUALIZATIONREQUEST,a()({},"undefined"!==typeof n&&{contextUrn:n},"undefined"!==typeof o&&{contextId:o},"undefined"!==typeof i&&{parentContext:i},"undefined"!==typeof r&&{contextQuery:r}),t)},TASK_INTERRUPTED:function(e,t){var n=e.taskId,o=e.forceInterruption,a=void 0===o||o;return d(u["b"].CLASS_TASKLIFECYCLE,u["b"].TYPE_TASKINTERRUPTED,u["b"].PAYLOAD_CLASS_INTERRUPTTASK,{taskId:n,forceInterruption:a},t)},SCALE_REFERENCE:function(e,t){var n=e.scaleReference,o=e.spaceResolution,i=e.spaceUnit,r=e.timeResolutionMultiplier,c=e.timeUnit,s=e.start,l=e.end,E=e.timeResolutionDescription,f=void 0===E?"":E,T=e.contextId,p=void 0===T?"":T,S=e.shape,m=void 0===S?"":S,O=e.timeType,b=void 0===O?"":O,A=e.timeGeometry,_=void 0===A?"":A,I=e.spaceGeometry,v=void 0===I?"":I;return d(u["b"].CLASS_USERCONTEXTDEFINITION,u["b"].TYPE_SCALEDEFINED,u["b"].PAYLOAD_CLASS_SCALEREFERENCE,a()({},n,{name:"",contextId:p,shape:m,timeType:b,timeGeometry:_,spaceGeometry:v,timeResolutionDescription:null===f?"":f},"undefined"!==typeof o&&{spaceResolution:o},"undefined"!==typeof i&&{spaceUnit:i},"undefined"!==typeof r&&{timeResolutionMultiplier:r},"undefined"!==typeof c&&{timeUnit:c},"undefined"!==typeof s&&{start:s},"undefined"!==typeof l&&{end:l}),t)},SPATIAL_LOCATION:function(e,t){var n=e.wktShape,o=e.contextId,i=void 0===o?null:o;return d(u["b"].CLASS_USERCONTEXTCHANGE,u["b"].TYPE_FEATUREADDED,u["b"].PAYLOAD_CLASS_SPATIALLOCATION,a()({easting:Number.MIN_VALUE,northing:Number.MIN_VALUE,wktShape:n},null!==i&&{contextId:i}),t)},DATAFLOW_NODE_DETAILS:function(e,t){var n=e.nodeId,o=e.contextId;return d(u["b"].CLASS_TASKLIFECYCLE,u["b"].TYPE_DATAFLOWNODEDETAIL,u["b"].PAYLOAD_CLASS_DATAFLOWSTATE,{nodeId:n,monitorable:!1,rating:-1,progress:0,contextId:o},t)},DATAFLOW_NODE_RATING:function(e,t){var n=e.nodeId,o=e.contextId,i=e.rating,r=e.comment,c=void 0===r?null:r;return d(u["b"].CLASS_TASKLIFECYCLE,u["b"].TYPE_DATAFLOWNODERATING,u["b"].PAYLOAD_CLASS_DATAFLOWSTATE,a()({nodeId:n,monitorable:!1,progress:0,rating:i},null!==c&&{comment:c},{contextId:o}),t)},SETTING_CHANGE_REQUEST:function(e,t){var n=e.setting,o=e.value;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_CHANGESETTING,u["b"].PAYLOAD_CLASS_SETTINGCHANGEREQUEST,{setting:n,previousValue:(!o).toString(),newValue:o.toString()},t)},USER_INPUT_RESPONSE:function(e,t){var n=e.messageId,o=e.requestId,a=e.cancelRun,i=void 0!==a&&a,r=e.values,c=void 0===r?{}:r;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_USERINPUTPROVIDED,u["b"].PAYLOAD_CLASS_USERINPUTRESPONSE,{requestId:o,cancelRun:i,values:c},t,n)},WATCH_REQUEST:function(e,t){var n=e.active,o=e.eventType,i=e.observationId,r=e.rootContextId;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_WATCHOBSERVATION,u["b"].PAYLOAD_CLASS_WATCHREQUEST,a()({active:n,observationId:i,rootContextId:r},o&&{eventType:o}),t)},WATCH_ENGINE_EVENT:function(e,t){var n=e.active,o=e.eventType;return d(u["b"].CLASS_NOTIFICATION,u["b"].TYPE_ENGINEEVENT,u["b"].PAYLOAD_CLASS_WATCHREQUEST,{active:n,eventType:o},t)},VIEW_ACTION:function(e,t){var n=e.component,o=e.componentTag,a=void 0===o?null:o,i=e.applicationId,r=void 0===i?null:i,c=e.booleanValue,s=void 0===c?null:c,l=e.doubleValue,E=void 0===l?null:l,f=e.intValue,T=void 0===f?null:f,p=e.stringValue,S=void 0===p?null:p,m=e.listValue,O=void 0===m?[]:m,b=e.dateValue,A=void 0===b?null:b,_=e.data,I=void 0===_?null:_;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_VIEWACTION,u["b"].PAYLOAD_CLASS_VIEWACTION,{component:n,componentTag:a,applicationId:r,booleanValue:s,doubleValue:E,intValue:T,stringValue:S,listValue:O,dateValue:A,data:I},t)},MENU_ACTION:function(e,t){var n=e.identity,o=e.applicationId,a=e.menuId;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_VIEWACTION,u["b"].PAYLOAD_CLASS_MENUACTION,{identity:n,applicationId:o,menuId:a},t)},RUN_APPLICATION:function(e,t){var n=e.applicationId,o=e.test,a=void 0!==o&&o,i=e.stop,r=void 0!==i&&i;return d(u["b"].CLASS_RUN,u["b"].TYPE_RUNAPP,u["b"].PAYLOAD_CLASS_LOADAPPLICATIONREQUEST,{behavior:n,test:a,stop:r,parameters:{}},t)},CONSOLE_CREATED:function(e,t){var n=e.consoleId,o=e.consoleType;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_CONSOLECREATED,u["b"].PAYLOAD_CLASS_CONSOLENOTIFICATION,{consoleId:n,consoleType:o},t)},CONSOLE_CLOSED:function(e,t){var n=e.consoleId,o=e.consoleType;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_CONSOLECLOSED,u["b"].PAYLOAD_CLASS_CONSOLENOTIFICATION,{consoleId:n,consoleType:o},t)},COMMAND_REQUEST:function(e,t){var n=e.consoleId,o=e.consoleType,a=e.commandId,i=e.payload;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_COMMANDREQUEST,u["b"].PAYLOAD_CLASS_CONSOLENOTIFICATION,{consoleId:n,consoleType:o,commandId:a,payload:i},t)}}},"1e5d":function(e,t,n){},2369:function(e,t,n){"use strict";var o=n("278c"),a=n.n(o),i=(n("ffc1"),n("ac6a"),n("cadf"),n("456d"),n("7037")),r=n.n(i),c=n("970b"),s=n.n(c),l=n("5bc30"),u=n.n(l),d=n("be3b"),E=n("3b1b6"),f=n.n(E),T=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{draft:"draft-04"};if(s()(this,e),void 0===t||""===t)throw Error("URL is mandatory");this.djvEnv=new f.a({version:n.draft}),this.initialized=!1,this.url=t,this.initTimeout=null,console.debug("Load schema(s) on creation"),this.initTimeout=setTimeout(this.init(t),2e3)}return u()(e,[{key:"validateJsonSchema",value:function(e,t){if(!this.initialized)return console.info("djvEnv not ready"),!1;if(this.djvEnv.resolve(t)){var n=this.djvEnv.validate(t,e);if("undefined"===typeof n)return!0;if("$ref"===n.keyword)return!0;throw Error(n)}throw Error("Schema not found: ".concat(t))}},{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.url;this.initialized||d["a"].get(t,{}).then(function(n){var o=n.data;if("object"!==r()(o))throw Error("Error asking for JsonSchema(s): no data");if(0===Object.keys(o).length)throw Error("Schema on url ".concat(t," is empty, check it"));for(var i=Object.entries(o),c=0;c-1))&&(a.splice(o,1),this.listeners.set(e,a),!0)}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Fe()(this,e),!t)throw new Error("Connection url is needed");this.connectionUrl=t,this.connectionHeaders=n;var a=o.stompOptions,i=void 0===a?{debug:!1}:a,r=o.sockJSOptions,c=void 0===r?{}:r,s=o.reconnection,l=void 0!==s&&s,u=o.reconnectionAttempts,d=void 0===u?1/0:u,E=o.reconnectionDelay,f=void 0===E?2e3:E,T=o.debug,p=void 0!==T&&T,S=o.store,m=void 0===S?null:S,O=o.storeNS,b=void 0===O?"":O;this.reconnection=l,this.reconnectionAttempts=d,this.reconnectionDelay=f,this.hasDebug=p,this.reconnectTimeoutId=-1,this.reconnectionCount=0,"undefined"!==typeof m&&null!==m&&(this.store=m,this.storeNS=b),this.stompOptions=i,this.sockJSOptions=c,this.connect()}return We()(e,[{key:"debug",value:function(){var e;this.hasDebug&&(e=console).debug.apply(e,arguments)}},{key:"connect",value:function(){var e=this,t=je()(this.connectionUrl,{},this.sockJSOptions);t.protocol=this.stompOptions.protocol||"",this.StompClient=ze.a.over(t,this.stompOptions),this.StompClient.connect(this.connectionHeaders,function(t){e.doOnEvent("onconnect",t)},function(t){return setTimeout(function(){e.doOnEvent("onerror",t)},1e3)})}},{key:"isConnected",value:function(){return this.StompClient&&this.StompClient.connected}},{key:"reconnect",value:function(){var e=this;this.reconnectionCount<=this.reconnectionAttempts?(this.reconnectionCount+=1,clearTimeout(this.reconnectTimeoutId),this.reconnectTimeoutId=setTimeout(function(){e.doOnEvent("reconnect",e.reconnectionCount),e.connect()},this.reconnectionDelay)):this.store&&this.passToStore("stomp_onerror","Reconnection error")}},{key:"subscribe",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){t.doOnEvent("onmessage",e)};if(e){var a=this.StompClient.subscribe(e,o,n);if(a)return this.doOnEvent("onsubscribe",a),a}return null}},{key:"unsubscribe",value:function(e,t){this.StompClient.unsubscribe(e,t)}},{key:"send",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.isConnected()?(this.StompClient.send(e,JSON.stringify(t),n),this.doOnEvent("onsend",{headers:n,message:t}),!0):(this.doOnEvent("onerrorsend",{headers:n,message:t}),!1)}},{key:"doOnEvent",value:function(e,t){Ke.emit(e,t)||this.debug("No listener for ".concat(e)),this.store&&this.passToStore("stomp_".concat(e),t),this.reconnection&&"onoconnect"===e&&(this.reconnectionCount=0),this.reconnection&&"onerror"===e&&this.reconnect()}},{key:"passToStore",value:function(e,t){if(e.startsWith("stomp_")){var n="dispatch",o=[this.storeNS||"",e.toLowerCase()].filter(function(e){return!!e}).join("/"),a=t||null;t&&t.data&&(a=JSON.parse(t.data),a.mutation?o=[a.namespace||"",a.mutation].filter(function(e){return!!e}).join("/"):a.action&&(n="dispatch",o=[a.namespace||"",a.action].filter(function(e){return!!e}).join("/"))),this.store[n](o,a)}}},{key:"close",value:function(){this.StompClient&&(this.StompClient.disconnect(),this.doOnEvent("onclose")),this.reconnectTimeoutId&&clearTimeout(this.reconnectTimeoutId)}}]),e}(),Qe={install:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!t)throw new Error("[vue-stomp-client] cannot locate connection");var a=null;o.connectManually?(e.prototype.$connect=function(){a=new Xe(t,n,o),e.prototype.$stompClient=a.StompClient},e.prototype.$disconnect=function(){a&&a.reconnection&&(a.reconnection=!1),e.prototype.$stompClient&&(a.close(),delete e.prototype.$stompClient)}):(a=new Xe(t,n,o),e.prototype.$stompClient=a.StompClient),e.mixin({methods:{sendStompMessage:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.defaultMessageDestination;a.send(n,e,t)?console.debug("Message sent: ".concat(JSON.stringify(e,null,4))):console.debug("Message not sent, still no connected:\n".concat(JSON.stringify(e,null,4)))},subscribe:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.defaultSubscribeDestination;return a.subscribe("".concat(i,"/").concat(e),t,n)},unsubscribe:function(e){a.unsubscribe(e),console.debug("Unsubscribe the subscription with id ".concat(e))},reconnect:function(){a.StompClient&&!a.StompClient.connected&&(console.debug("Try to reconnect..."),a.reconnect())},disconnect:function(){a&&a.reconnection&&(a.reconnection=!1),a.close()}},created:function(){var e=this;if(this.$options.sockets){var t=this,n=this.$options.sockets;this.$options.sockets=new Proxy({},{set:function(e,n,o){return Ke.addListener(n,o,t),e[n]=o,!0},deleteProperty:function(e,n){return Ke.removeListener(n,t.$options.sockets[n],t),delete e.key,!0}}),n&&Object.keys(n).forEach(function(t){e.$options.sockets[t]=n[t]})}},beforeDestroy:function(){var e=this;if(this.$options.sockets){var t=this.$options.sockets;t&&Object.keys(t).forEach(function(t){console.debug("Remove listener ".concat(t)),Ke.removeListener(t,e.$options.sockets[t],e),delete e.$options.sockets[t]})}}})}},qe=function(e){var t=e.Vue,n=e.store,o=new URLSearchParams(window.location.search).get(Ie["P"].PARAMS_STOMP_DEBUG),a=!1;"true"===o&&(a=!0),t.use(Qe,"/modeler/message",{},{stompOptions:{debug:a,protocol:"v12.stomp"},store:n,storeNS:"stomp",reconnection:!0,reconnectionAttempts:5,debug:a,defaultMessageDestination:"/klab/message",defaultSubscribeDestination:"/message"})},Je=Me(),Ze=Je.app,$e=Je.store,et=Je.router;[ye["a"],xe["b"],ke["a"],Ue["a"],qe].forEach(function(e){e({app:Ze,router:et,store:$e,Vue:o["a"],ssrContext:null})}),new o["a"](Ze)},4360:function(e,t,n){"use strict";var o,a=n("2b0e"),i=n("2f62"),r=(n("ac6a"),n("cadf"),n("f400"),n("7cca")),c=n("d247"),s={kexplorerLog:[],statusTexts:[],klabLog:[],dataViewers:[],mainDataViewerIdx:0,lastViewerId:0,mainViewer:void 0,treeVisible:!0,leftMenuContent:null,leftMenuState:r["u"].LEFTMENU_HIDDEN,mainControlDocked:!1,contextGeometry:null,spinner:r["H"].SPINNER_STOPPED,spinnerOwners:[],searchActive:!1,searchFocus:!1,searchLostChar:"",searchHistory:[],searchInApp:!1,flowchartSelected:r["g"].GRAPH_DATAFLOW,dataflowInfoOpen:!1,observationInfo:null,mapSelection:r["g"].EMPTY_MAP_SELECTION,exploreMapMode:!1,treeSelected:null,treeTicked:[],treeExpanded:[],topLayer:null,scaleEditing:{active:!1,type:null},drawMode:!1,customContext:!1,saveLocation:!0,saveDockedStatus:!1,modalMode:!1,inputRequests:[],waitingGeolocation:!0,helpShown:!1,modalSize:r["r"].DEFAULT_MODAL_SIZE,fuzzyMode:!1,largeMode:0,helpBaseUrl:null,timeRunning:!1,layout:null,windowSide:"left",dialogs:[],modalWindow:null,engineEvents:[],klabApp:null,levels:[c["a"].TYPE_INFO,c["a"].TYPE_WARNING,c["a"].TYPE_ERROR],showSettings:!0,notificationsParams:null,reloadViews:[],documentationView:r["n"].REPORT,documentationSelected:null,documentationCache:new Map,tableFontSize:12,textFontSize:10,viewCoordinates:!0},l=(n("7514"),n("7f7f"),n("6762"),n("2fdb"),n("448a")),u=n.n(l),d=n("b12a"),E=n("b0b2"),f={kexplorerLog:function(e){return e.kexplorerLog},lastKexplorerLog:function(e){return function(t){return Object(d["o"])(e.kexplorerLog,t)}},klabLog:function(e){return e.klabLog},lastKlabLog:function(e){return function(t){return Object(d["o"])(e.klabLog,t)}},klabLogReversedAndFiltered:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(0===e.klabLog.length)return[];var n=u()(e.klabLog).reverse();return 0===t.length?n:n.filter(function(e){return t.includes(e.type)})}},levels:function(e){return e.levels},statusTexts:function(e){return e.statusTexts},statusTextsLength:function(e){return e.statusTexts.length},statusTextsString:function(e){return e.statusTexts.length>0?e.statusTexts.map(function(e){return e.text}).join(" - "):""},mainViewer:function(e){return e.mainViewer},mainViewerName:function(e){return e.mainViewer?e.mainViewer.name:null},isTreeVisible:function(e){return e.treeVisible},leftMenuContent:function(e){return e.leftMenuContent},leftMenuState:function(e){return e.leftMenuState},isDocked:function(e){return e.leftMenuState!==r["u"].LEFTMENU_HIDDEN},hasMainControl:function(e){return e.mainViewer&&e.mainViewer.mainControl},isMainControlDocked:function(e){return e.mainControlDocked},admitSearch:function(e){return e.mainViewer&&e.mainViewer.hasSearch},contextGeometry:function(e){return e.contextGeometry},dataViewers:function(e){return e.dataViewers},mainDataViewer:function(e){return e.dataViewers.find(function(e){return e.main})},mainDataViewerIdx:function(e){return e.mainDataViewerIdx},lastViewerId:function(e){return e.lastViewerId},viewer:function(e){return function(t){return e.dataViewers.length>0?e.dataViewers.find(function(e){return e.idx===t}):null}},spinnerIsAnimated:function(e){return e.spinner.animated},spinner:function(e){return e.spinner},spinnerOwners:function(e){return e.spinnerOwners},spinnerColor:function(e){return"undefined"!==e.spinner&&null!==e.spinner?Object(E["e"])(e.spinner.color):null},spinnerErrorMessage:function(e){return"undefined"!==e.spinner&&null!==e.spinner?e.spinner.errorMessage:null},searchIsActive:function(e){return e.searchActive},searchIsFocused:function(e){return e.searchFocus},searchLostChar:function(e){return e.searchLostChar},searchHistory:function(e){return e.searchHistory},searchInApp:function(e){return e.searchInApp},flowchartSelected:function(e){return e.flowchartSelected},dataflowInfoOpen:function(e){return e.dataflowInfoOpen},observationInfo:function(e){return e.observationInfo},mapSelection:function(e){return e.mapSelection},hasObservationInfo:function(e){return null!==e.observationInfo},exploreMode:function(e){return!!(null!==e.observationInfo&&Object(d["n"])(e.observationInfo)&&e.observationInfo.dataSummary.histogram.length>0&&e.observationInfo.visible&&e.observationInfo.top)},isScaleEditing:function(e){return e.scaleEditing.active},scaleEditingType:function(e){return e.scaleEditing.type},isDrawMode:function(e){return e.drawMode},hasCustomContext:function(e){return e.customContext},topLayer:function(e){return e.topLayer},topLayerId:function(e){return null!==e.topLayer?e.topLayer.id:null},inputRequests:function(e){return e.inputRequests},hasInputRequests:function(e){return 0!==e.inputRequests.length},isInModalMode:function(e){return e.modalMode},isHelpShown:function(e){return e.helpShown},modalSize:function(e){return e.modalSize},fuzzyMode:function(e){return e.fuzzyMode},largeMode:function(e){return e.largeMode},isTimeRunning:function(e){return e.timeRunning},layout:function(e){return e.layout},appStyle:function(e){return e.layout.style||"default"},modalWindow:function(e){return e.modalWindow},hasHeader:function(e){return e.layout&&(e.layout.header||e.layout.logo||e.layout.label||e.layout.description)},windowSide:function(e){return e.windowSide},isApp:function(e){return null!==e.klabApp},klabApp:function(e){return e.klabApp},activeDialogs:function(e){return e.dialogs.filter(function(e){return!e.dismiss})},engineEvents:function(e){return e.engineEvents},engineEventsCount:function(e){return e.engineEvents.length},hasShowSettings:function(e){return e.showSettings},notificationsParams:function(e){return e.notificationsParams},reloadViews:function(e){return e.reloadViews},documentationView:function(e){return e.documentationView},documentationSelected:function(e){return e.documentationSelected},documentationCache:function(e){return e.documentationCache},tableFontSize:function(e){return e.tableFontSize},textFontSize:function(e){return e.textFontSize},viewCoordinates:function(e){return e.viewCoordinates}},T=(n("f751"),n("3156")),p=n.n(T),S=(n("20d6"),n("741d")),m={ADD_TO_KEXPLORER_LOG:function(e,t){Object(d["p"])(e.kexplorerLog,t)},ADD_TO_KLAB_LOG:function(e,t){Object(d["p"])(e.klabLog,t)},SET_LEVELS:function(e,t){t&&(e.levels=t)},TOGGLE_LEVEL:function(e,t){var n=e.levels.indexOf(t);-1===n?e.levels.push(t):e.levels.splice(n,1)},ADD_TO_STATUS_TEXTS:function(e,t){var n=t.id,o=t.text;e.statusTexts.push({id:n,text:o})},REMOVE_FROM_STATUS_TEXTS:function(e,t){var n=e.statusTexts.findIndex(function(e){return e.id===t});-1!==n&&e.statusTexts.splice(n,1)},SET_CONTEXT_LAYER:function(e,t){e.dataViewers.splice(0,e.dataViewers.length),e.lastViewerId=0,e.contextGeometry=t,e.treeExpanded=[],e.treeTicked=[],e.statusTexts=[],e.treeSelected=null,e.topLayer=null,e.reloadViews.splice(0,e.reloadViews.length),e.documentationSelected=null,e.modalWindow=null},SET_MAIN_VIEWER:function(e,t){e.mainViewer=t},SET_TREE_VISIBLE:function(e,t){e.treeVisible=t},SET_LEFTMENU_CONTENT:function(e,t){e.leftMenuContent=t},SET_LEFTMENU_STATE:function(e,t){e.leftMenuState=t},SET_MAIN_DATA_VIEWER:function(e,t){var n=t.viewerIdx,o=t.visible;if(o)e.dataViewers.forEach(function(t){t.idx===n?(t.main=!0,e.mainDataViewerIdx=n):t.main=!1,t.visible=!t.type.hideable||t.idx===n||t.visible});else{var a=!1;e.dataViewers.forEach(function(t){a||t.type.hideable&&!t.visible?(t.main=!1,t.type.hideable&&t.idx===n&&(t.visible=!1)):(t.main=!0,e.mainDataViewerIdx=t.idx,a=!0)})}},RESET_MAIN_DATA_VIEWER:function(e){e.dataViewer=[],e.mainDataViewerIdx=0},SET_SAVE_DOCKED_STATUS:function(e,t){e.saveDockedStatus=t},SET_MAIN_CONTROL_DOCKED:function(e,t){e.mainControlDocked=t,e.saveDockedStatus&&S["a"].set(r["P"].COOKIE_DOCKED_STATUS,t,{expires:30,path:"/",secure:!0})},ADD_VIEWER_ELEMENT:function(e,t){var n=t.main,o=t.type,a=t.label,i=t.visible,r=t.callback;0===e.lastViewerId?n=!0:!0===n&&e.dataViewers.forEach(function(e){e.main=!1}),e.lastViewerId+=1,e.dataViewers.push({idx:e.lastViewerId,main:n,type:o,label:a,visible:i,observations:[]}),"function"===typeof r&&r(e.lastViewerId)},SET_SPINNER_ANIMATED:function(e,t){e.spinner.animated=t},SET_SPINNER_COLOR:function(e,t){e.spinner.color=t},SET_SPINNER:function(e,t){var n=t.animated,o=t.color,a=t.errorMessage,i=void 0===a?null:a;e.spinner={animated:n,color:o,errorMessage:i}},ADD_TO_SPINNER_OWNERS:function(e,t){var n=e.spinnerOwners.indexOf(t);-1===n&&e.spinnerOwners.push(t)},REMOVE_FROM_SPINNER_OWNERS:function(e,t){var n=e.spinnerOwners.indexOf(t);-1!==n&&e.spinnerOwners.splice(n,1)},SEARCH_ACTIVE:function(e,t){var n=t.active,o=t.char,a=void 0===o?"":o;e.searchActive!==n&&(e.searchLostChar=a,e.searchActive=n)},SEARCH_FOCUS:function(e,t){var n=t.focused,o=t.char,a=void 0===o?"":o;e.searchFocus!==n&&(e.searchLostChar=a,e.searchFocus=n)},SEARCH_INAPP:function(e,t){e.searchInApp=t},RESET_SEARCH_LOST_CHAR:function(e){e.searchLostChar=""},RESET_SEARCH:function(e){e.searchActive=!1,e.searchFocus=!1,e.searchLostChar=""},STORE_SEARCH:function(e,t){e.searchHistory.unshift(t)},SET_FLOWCHART_SELECTED:function(e,t){e.flowchartSelected=t},SET_DATAFLOW_INFO_OPEN:function(e,t){e.dataflowInfoOpen=t},SET_OBSERVATION_INFO:function(e,t){null===t?(e.treeSelected=null,e.mapSelection.locked||(e.mapSelection=r["g"].EMPTY_MAP_SELECTION),e.observationInfo=null):null!==e.observationInfo&&t.id===e.observationInfo.id||(e.observationInfo=t,e.mapSelection.locked||(e.mapSelection=r["g"].EMPTY_MAP_SELECTION),e.treeSelected=t.id)},SET_MAP_SELECTION:function(e,t){var n=t.pixelSelected,o=t.layerSelected,a=t.value,i=void 0===a?null:a,c=t.locked,s=void 0!==c&&c;e.mapSelection=null===t||null===n?r["g"].EMPTY_MAP_SELECTION:{pixelSelected:n,layerSelected:o,value:i,locked:s}},SET_SCALE_EDITING:function(e,t){var n=t.active,o=t.type;e.scaleEditing={active:n,type:o}},SET_DRAW_MODE:function(e,t){e.drawMode=t},SET_CUSTOM_CONTEXT:function(e,t){e.customContext=t},SET_SAVE_LOCATION:function(e,t){e.saveLocation=t},SET_TOP_LAYER:function(e,t){e.topLayer=t},SET_MODAL_MODE:function(e,t){e.modalMode=t},SET_INPUT_REQUEST:function(e,t){var n=t.payload,o=t.id;e.inputRequests.push(p()({messageId:o},n))},REMOVE_INPUT_REQUEST:function(e,t){if(e.inputRequests.length>0)if(null===t)e.inputRequests.splice(0,e.inputRequests.length);else{var n=e.inputRequests.findIndex(function(e){return e.messageId===t});-1!==n&&e.inputRequests.splice(n,1)}},SET_MODAL_SIZE:function(e,t){var n=t.width,o=t.height;e.modalSize={width:n,height:o}},SET_FUZZY_MODE:function(e,t){e.fuzzyMode=t},SET_LARGE_MODE:function(e,t){t<0?t=0:t>6&&(t=r["g"].MAX_SEARCHBAR_INCREMENTS),e.largeMode=t},SET_TIME_RUNNING:function(e,t){e.timeRunning=t},SET_LAYOUT:function(e,t){e.layout=t},SET_MODAL_WINDOW:function(e,t){e.modalWindow=t},SET_WINDOW_SIDE:function(e,t){e.windowSide=t},CREATE_VIEW_COMPONENT:function(e,t){if(t.type!==r["a"].ALERT&&t.type!==r["a"].CONFIRM){var n=e.layout&&(Object(d["d"])(e.layout,t.id)||e.modalWindow&&Object(d["d"])(e.modalWindow,t.id));if(n)console.log("Updating component: ",JSON.stringify(n,null,2)),Object.assign(n,t),console.log("Updated component: ",JSON.stringify(n,null,2));else{var o=Object(d["c"])(e.layout,t.parentId)||e.modalWindow&&Object(d["c"])(e.modalWindow,t.id);o&&(o.children.push(t),console.warn("Update parent: ",o))}}else e.dialogs.push(p()({},t,{dismiss:!1}))},SET_ENGINE_EVENT:function(e,t){if(null!==e.engineEvents)switch(t.type){case r["o"].RESOURCE_VALIDATION:var n=e.engineEvents.findIndex(function(e){return e.id===t.id});t.started?-1===n?e.engineEvents.push({id:t.id,timestamp:t.timestamp}):console.debug("Try to start an existing engine event",t):-1!==n?e.engineEvents.splice(n,1):console.debug("Try to stop an unregistered engine event",t),console.debug("Engine event with id ".concat(t.id," ").concat(t.started?"start":"stop"," / total engine events: ").concat(e.engineEvents.length));break;default:break}else console.debug("Receive an engine event before subscription")},VIEW_ACTION:function(e,t){if(null!==t.component){if(e.layout||e.modalWindow){var n=Object(d["d"])(e.layout,t.component.id)||null!==e.modalWindow&&Object(d["d"])(e.modalWindow,t.component.id);n&&(0===t.component.components.length&&0!==n.components.length&&delete t.component.components,Object.assign(n,t.component))}}else console.warn("Action component is null")},SHOW_SETTINGS:function(e,t){e.showSettings=t},SET_NOTIFICATIONS_PARAMS:function(e,t){e.notificationsParams=t},SET_DOCUMENTATION_VIEW:function(e,t){e.documentationView=t},SET_DOCUMENTATION_SELECTED:function(e,t){e.documentationSelected=t},SET_RELOAD_VIEWS:function(e,t){t&&t.forEach(function(t){-1===e.reloadViews.indexOf(t)&&e.reloadViews.push(t)})},REMOVE_RELOAD_VIEW:function(e,t){-1!==e.reloadViews.indexOf(t)&&e.reloadViews.splice(e.reloadViews.indexOf(t),1)},SET_TABLE_FONT_SIZE:function(e,t){e.tableFontSize=t},SET_TEXT_FONT_SIZE:function(e,t){e.textFontSize=t},SET_VIEW_COORDINATES:function(e,t){e.viewCoordinates=t}},O=n("7037"),b=n.n(O),A=(n("551c"),n("c1df")),_=n.n(A),I=n("4328"),v=n.n(I),N=n("8449"),h=n("256f"),R={addToKexplorerLog:function(e,t){var n=e.commit,o=t.type,a=t.payload,i=t.important,r=void 0!==i&&i;n("ADD_TO_KEXPLORER_LOG",{type:o,payload:a,important:r,time:_()()})},addToKlabLog:function(e,t){var n=e.commit,o=t.type,a=t.id,i=t.payload,r=t.timestamp;n("ADD_TO_KLAB_LOG",{type:o,id:a,payload:i,time:_()(r)})},setLevels:function(e,t){var n=e.commit;n("SET_LEVELS",t)},toggleLevel:function(e,t){var n=e.commit;n("TOGGLE_LEVEL",t)},addToStatusTexts:function(e,t){var n=e.commit,o=t.id,a=t.text;n("ADD_TO_STATUS_TEXTS",{id:o,text:a})},removeFromStatusTexts:function(e,t){var n=e.commit;n("REMOVE_FROM_STATUS_TEXTS",t)},setContextLayer:function(e,t){var n=e.state,o=e.commit,a=e.dispatch;Object(d["j"])(t).then(function(e){o("SET_CONTEXT_LAYER",e),o("RESET_SEARCH"),a("assignViewer",{observation:t,main:!0}),n.mainViewer.name===r["M"].DATA_VIEWER.name&&n.mainControlDocked&&a("setMainViewer",r["M"].DOCKED_DATA_VIEWER)})},resetContext:function(e){var t=e.commit;t("SET_CONTEXT_LAYER",null),t("RESET_SEARCH"),t("SET_OBSERVATION_INFO",null);var n=r["M"].DATA_VIEWER;t("SET_LEFTMENU_CONTENT",n.leftMenuContent),t("SET_LEFTMENU_STATE",n.leftMenuState),t("SET_MAIN_VIEWER",n),t("RESET_MAIN_DATA_VIEWER",null),t("SET_MAP_SELECTION",r["g"].EMPTY_MAP_SELECTION),t("SET_FLOWCHART_SELECTED",r["g"].GRAPH_DATAFLOW)},setMainViewer:function(e,t){var n=e.state,o=e.commit,a=e.dispatch;t&&"undefined"!==typeof n.mainViewer&&(t.leftMenuContent===r["u"].DOCKED_DATA_VIEWER_COMPONENT?o("SET_MAIN_CONTROL_DOCKED",!0):t.leftMenuContent===r["u"].DATA_VIEWER_COMPONENT&&o("SET_MAIN_CONTROL_DOCKED",!1)),o("SET_MAIN_VIEWER",t),t&&(a("setLeftMenuState",t.leftMenuState),a("setLeftMenuContent",t.leftMenuContent))},setTreeVisible:function(e,t){var n=e.commit;n("SET_TREE_VISIBLE",t)},setLeftMenuContent:function(e,t){var n=e.commit;n("SET_LEFTMENU_CONTENT",t)},setLeftMenuState:function(e,t){var n=e.commit;n("SET_LEFTMENU_STATE",t)},setMainDataViewer:function(e,t){var n=e.commit,o=e.getters,a=t.viewerIdx,i=t.viewerType,r=void 0===i?null:i,c=t.visible,s=void 0===c||c;(s&&a!==o.mainDataViewerIdx||!s&&null!==r&&r.hideable)&&n("SET_MAIN_DATA_VIEWER",{viewerIdx:a,visible:s})},assignViewer:function(e,t){var n=e.commit,o=e.getters,a=e.dispatch,i=e.rootGetters,c=t.observation,s=t.main,l=void 0!==s&&s;return new Promise(function(e,t){var s,u=null,E=null;if(c.observationType)switch(c.observationType){case r["y"].TYPE_GROUP:case r["y"].TYPE_VIEW:case r["y"].TYPE_PROCESS:u=null;break;case r["y"].TYPE_STATE:var f;if(1===c.valueCount)u=null;else if(u=r["N"].VIEW_MAP,f=c.parentId===i["data/contextId"]?i["data/context"]:i["data/observations"].find(function(e){return e.id===c.parentId}),"undefined"!==typeof f){c.encodedShape=f.encodedShape;var T=f;E=T.label}else console.warn("Need parent of ".concat(c.id," but doesn't find it. Parent id is ").concat(c.parentId));break;case r["y"].TYPE_INITIAL:case r["y"].TYPE_RELATIONSHIP:u=r["N"].VIEW_MAP;var p=null;if(null!==c.parentId&&(p=Object(d["f"])(i["data/tree"],c.parentId),"undefined"===typeof p&&(console.warn("Observation with id ".concat(c.id," has an invalid unknown parent: ").concat(c.parentId)),p=null)),p){var S=p;E=S.label}else E=c.label;break;case r["y"].TYPE_SUBJECT:u=r["N"].VIEW_MAP;break;case r["y"].TYPE_CONFIGURATION:u=r["N"].VIEW_GRAPH,E=c.label;break;case r["y"].TYPE_EVENT:u=r["N"].VIEW_UNKNOWN;break;default:t(new Error("Unknown observation type in observation labeled ".concat(c.label,": ").concat(c.observationType)));break}null!==u?(console.debug("Need a viewer of type ".concat(u.component)),u.forceNew||(s=o.dataViewers.find(function(e){return e.type.component===u.component})),"undefined"===typeof s?(console.info("Create new viewer of type ".concat(u.component)),n("ADD_VIEWER_ELEMENT",{main:l,type:u,label:E&&null!==E?E:u.label,visible:!u.hideable,callback:function(t){e(t)}})):(l&&a("setMainDataViewer",{viewerIdx:s.idx}),e(s.idx))):e(null)})},setSpinner:function(e,t){var n=e.commit,o=e.getters,a=e.dispatch,i=t.animated,c=t.color,s=t.time,l=void 0===s?null:s,u=t.then,d=void 0===u?null:u,E=t.errorMessage,f=void 0===E?null:E,T=t.owner;return new Promise(function(e){if(!T||null===T)throw new Error("No spinner owner!");i?n("ADD_TO_SPINNER_OWNERS",T):(n("REMOVE_FROM_SPINNER_OWNERS",T),0!==o.spinnerOwners.length&&(i=!0,c!==r["H"].SPINNER_ERROR.color&&(c=r["H"].SPINNER_LOADING.color))),null!==f&&"object"===b()(f)&&(f=JSON.stringify(f)),n("SET_SPINNER",{animated:i,color:c,errorMessage:f}),null!==l&&null!==d&&setTimeout(function(){a("setSpinner",p()({},d,{owner:T}))},1e3*l),e()})},searchStart:function(e){var t=e.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t("SEARCH_ACTIVE",{active:!0,char:n})},searchStop:function(e){var t=e.commit;t("SEARCH_ACTIVE",{active:!1})},searchFocus:function(e,t){var n=e.commit,o=t.focused,a=t.char,i=void 0===a?null:a;n("SEARCH_FOCUS",{focused:o,char:i})},resetSearchLostChar:function(e){var t=e.commit;t("RESET_SEARCH_LOST_CHAR")},storePreviousSearch:function(e,t){var n=e.commit;n("STORE_SEARCH",t)},searchInApp:function(e,t){var n=e.commit;n("SEARCH_INAPP",t)},setFlowchartSelected:function(e,t){var n=e.commit;n("SET_FLOWCHART_SELECTED",t)},setDataflowInfoOpen:function(e,t){var n=e.commit;n("SET_DATAFLOW_INFO_OPEN",t)},setObservationInfo:function(e,t){var n=e.commit;n("SET_OBSERVATION_INFO",t)},setMapSelection:function(e,t){var n=e.commit,o=e.state,a=t.pixelSelected,i=t.timestamp,s=void 0===i?-1:i,l=t.layerSelected,u=void 0===l?null:l,E=t.observationId,f=void 0===E?null:E,T=t.locked,p=void 0!==T&&T;if(null!==a){null===f&&(f=o.observationInfo.id);var S="".concat("").concat(c["c"].REST_SESSION_VIEW,"data/").concat(f),m=Object(h["l"])(a,"EPSG:3857","EPSG:4326"),O=-1!==s?"T1(1){time=".concat(s.toFixed(0),"}"):"";Object(d["h"])("pv_".concat(f),S,{params:{format:"SCALAR",locator:"".concat(O,"S0(1){latlon=[").concat(m[0]," ").concat(m[1],"]}")},paramsSerializer:function(e){return v.a.stringify(e,{arrayFormat:"repeat"})}},function(e,t){var o="No value";e&&"undefined"!==typeof e.data&&(o=e.data),n("SET_MAP_SELECTION",{pixelSelected:a,layerSelected:u,value:o,locked:p}),t()})}else n("SET_MAP_SELECTION",r["g"].EMPTY_MAP_SELECTION)},setScaleEditing:function(e,t){var n=e.commit,o=t.active,a=t.type;n("SET_SCALE_EDITING",{active:o,type:a}),n("SET_MODAL_MODE",o)},setDrawMode:function(e,t){var n=e.commit;n("SET_DRAW_MODE",t),n("SET_MODAL_MODE",t)},setCustomContext:function(e,t){var n=e.commit;n("SET_CUSTOM_CONTEXT",t)},setTopLayer:function(e,t){var n=e.commit;n("SET_TOP_LAYER",t)},inputRequest:function(e,t){var n=e.commit;n("SET_INPUT_REQUEST",t),n("SET_MODAL_MODE",!0)},removeInputRequest:function(e,t){var n=e.commit,o=e.getters;n("REMOVE_INPUT_REQUEST",t),o.hasInputRequests||n("SET_MODAL_MODE",!1)},setModalMode:function(e,t){var n=e.commit;n("SET_MODAL_MODE",t)},setModalSize:function(e,t){var n=e.commit,o=t.width,a=t.height;n("SET_MODAL_SIZE",{width:o,height:a})},setFuzzyMode:function(e,t){var n=e.rootGetters,o=e.commit;n["data/hasContext"]||o("SET_FUZZY_MODE",t)},setLargeMode:function(e,t){var n=e.commit;n("SET_LARGE_MODE",t)},setTimeRunning:function(e,t){var n=e.commit;n("SET_TIME_RUNNING",t)},setLayout:function(e,t){var n=e.commit;if(null===t||"DESKTOP"!==t.platform&&"MOBILE"!==t.platform)if(n("SET_LAYOUT",null===t?null:p()({},t)),null!==t)localStorage.setItem(r["P"].LOCAL_STORAGE_APP_ID,t.name);else{var o=localStorage.getItem(r["P"].LOCAL_STORAGE_APP_ID);o&&localStorage.removeItem(r["P"].LOCAL_STORAGE_APP_ID)}else console.info("Received an app for another platform: ".concat(t.platform))},setModalWindow:function(e,t){var n=e.commit;n("SET_MODAL_WINDOW",t)},setWindowSide:function(e,t){var n=e.commit;n("SET_WINDOW_SIDE",t)},setEngineEvent:function(e,t){var n=e.commit;n("SET_ENGINE_EVENT",t)},createViewComponent:function(e,t){var n=e.commit;n("CREATE_VIEW_COMPONENT",t)},viewAction:function(e,t){var n=e.commit;n("VIEW_ACTION",t)},viewSetting:function(e,t){var n=e.getters,o=e.rootGetters,a=e.dispatch;if(t){var i=function(){N["b"].$emit(r["h"].SELECT_ELEMENT,{id:t.targetId,selected:t.operation===r["O"].SHOW})};switch(t.target){case r["O"].OBSERVATION:n.mainViewerName!==r["M"].DATA_VIEWER.name&&t.operation===r["O"].SHOW?a("setMainViewer",r["M"].DATA_VIEWER).then(function(){i(),N["b"].$emit(r["h"].MAP_SIZE_CHANGED,{type:"changelayout"})}):i();break;case r["O"].VIEW:i();break;case r["O"].TREE:n.mainViewerName===r["M"].DATA_VIEWER.name&&o["data/hasContext"]&&a("setTreeVisible",t.operation===r["O"].SHOW);break;case r["O"].REPORT:n.mainViewerName===r["M"].REPORT_VIEWER.name&&t.operation===r["O"].HIDE?a("setMainViewer",n.isMainControlDocked?r["M"].DOCKED_DATA_VIEWER:r["M"].DATA_VIEWER):n.mainViewerName!==r["M"].REPORT_VIEWER.name&&o["data/hasObservations"]&&t.operation===r["O"].SHOW&&a("setMainViewer",r["M"].REPORT_VIEWER);break;case r["O"].DATAFLOW:n.mainViewerName===r["M"].DATAFLOW_VIEWER.name&&t.operation===r["O"].HIDE?a("setMainViewer",n.isMainControlDocked?r["M"].DOCKED_DATA_VIEWER:r["M"].DATA_VIEWER):n.mainViewerName!==r["M"].DATAFLOW_VIEWER.name&&o["data/hasContext"]&&t.operation===r["O"].SHOW&&a("setMainViewer",r["M"].DATAFLOW_VIEWER);break;case r["O"].URL:N["b"].$emit(r["h"].DOWNLOAD_URL,{url:t.targetId,parameters:t.parameters});break;default:break}}},setShowSettings:function(e,t){var n=e.commit;n("SHOW_SETTINGS",t)},setNotificationsParams:function(e,t){var n=e.commit;n("SET_NOTIFICATIONS_PARAMS",t)},setDocumentationView:function(e,t){var n=e.commit;n("SET_DOCUMENTATION_VIEW",t)},setDocumentationSelected:function(e,t){var n=e.commit;n("SET_DOCUMENTATION_SELECTED",t)},setDocumentation:function(e,t){var n=e.commit,o=e.rootGetters;if(!t.view){var a=o["data/documentationContent"].get(t.id);if(!a)return void console.debug("Try to show an unknown document: ".concat(t.id));t.view=r["m"][a.type]}n("SET_DOCUMENTATION_VIEW",t.view),n("SET_DOCUMENTATION_SELECTED",t.id),N["b"].$emit(r["h"].SHOW_DOCUMENTATION),N["b"].$emit(r["h"].SELECT_ELEMENT,{id:t.id,selected:!0})},changeInDocumentation:function(e,t){var n=e.commit;if(t.viewsAffected){var o=t.viewsAffected.filter(function(e){return e!==r["n"].REFERENCES&&e!==r["n"].MODELS});if(o.length>1&&o.includes(r["n"].TABLES)){var a=o.indexOf(r["n"].REPORT);-1!==a&&o.splice(a,1)}o.length>0&&n("SET_RELOAD_VIEWS",o)}},removeReloadView:function(e,t){var n=e.commit;n("REMOVE_RELOAD_VIEW",t)},setTableFontSize:function(e,t){var n=e.commit;n("SET_TABLE_FONT_SIZE",t)},setTextFontSize:function(e,t){var n=e.commit;n("SET_TABLE_FONT_SIZE",t)},setViewCoordinates:function(e,t){var n=e.commit;n("SET_VIEW_COORDINATES",t)}},C={namespaced:!0,state:s,getters:f,mutations:m,actions:R},g=(n("456d"),n("970b")),w=n.n(g),L=n("5bc30"),P=n.n(L),D=function(){function e(){w()(this,e),this.items=[]}return P()(e,[{key:"push",value:function(e){this.items.push(e)}},{key:"pop",value:function(e){if("undefined"!==typeof e&&e>0){if(e>this.size()-1)throw Error("Stack overflow");return this.items.splice(e+1),this.items.peek()}return this.items.pop()}},{key:"peek",value:function(){return 0===this.items.length?null:this.items[this.items.length-1]}},{key:"previous",value:function(){return this.items.length<=1?null:this.items[this.items.length-2]}},{key:"size",value:function(){return this.items.length}},{key:"findIndex",value:function(e){return this.items.findIndex(e)}},{key:"findItem",value:function(e){return this.items.find(function(t){return t.id===e})}},{key:"map",value:function(e){return this.items.map(e)}},{key:"empty",value:function(){this.items.splice(0)}},{key:"isEmpty",value:function(){return 0===this.items.length}},{key:"toArray",value:function(){return this.items}}]),e}(),M={sessionReference:null,tree:[],userTree:[],lasts:[],contexts:new D,contextCustomLabel:null,scaleReference:null,schedulingResolution:null,proposedContext:null,scaleLocked:{space:!1,time:!1},nextScale:null,observations:[],contextMenuObservationId:null,knowledgeViews:[],timeEvents:[],modificationsTask:null,timestamp:-1,engineTimestamp:-1,flowcharts:r["s"],dataflowStatuses:[],dataflowInfo:null,session:null,contextsHistory:[],waitingForReset:null,orphans:[],searchResult:null,childrenToAskFor:r["g"].CHILDREN_TO_ASK_FOR,interactiveMode:!1,crossingIDL:!1,capabilities:{},local:!1,token:null,packageVersion:"0.22.0",packageBuild:"0",terminalsCounter:0,terminals:[],terminalCommands:null!==localStorage.getItem(r["P"].LOCAL_STORAGE_TERMINAL_COMMANDS)?JSON.parse(localStorage.getItem(r["P"].LOCAL_STORAGE_TERMINAL_COMMANDS)):[],documentationTrees:Object.keys(r["n"]).map(function(e){return{view:e,tree:[]}}),documentationContent:new Map},y=(n("55dd"),{sessionReference:function(e){return e.sessionReference},isDeveloper:function(e){return e.sessionReference&&e.sessionReference.owner&&e.sessionReference.owner.groups&&-1!==e.sessionReference.owner.groups.findIndex(function(e){return"DEVELOPERS"===e.id})},tree:function(e){return e.tree},treeNode:function(e){return function(t){return Object(d["f"])(e.tree,t)}},lasts:function(e){return e.lasts},hasTree:function(e){return e.tree.length>0},mainTreeHasNodes:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return null!==Object(d["e"])(e.tree,"",function(e){return e.userNode||t&&!e.ticked?null:e})}},userTree:function(e){return e.userTree},observations:function(e){return e.observations},observationsOfViewer:function(e){return function(t){return e.observations.filter(function(e){return e.viewerIdx===t})}},hasObservations:function(e){return 0!==e.observations.length},visibleObservations:function(e){return e.observations.filter(function(e){return e.visible})},observationsIdOnTop:function(e){return e.observations.filter(function(e){return e.top}).map(function(e){return e.id})},contextMenuObservationId:function(e){return e.contextMenuObservationId},knowledgeViews:function(e){return e.knowledgeViews},visibleKnowledgeView:function(e){return e.knowledgeViews.find(function(e){return e.show})},timeEvents:function(e){return e.timeEvents},timeEventsOfObservation:function(e){return function(t){return e.timeEvents.filter(function(e){return e.id===t})}},timeEventsUntil:function(e){return function(t){return e.timeEventsEvents.filter(function(e){return e.timestamp<=t})}},modificationsTask:function(e){return e.modificationsTask},visibleEvents:function(e){var t=e.observations.filter(function(e){return e.visible}).map(function(e){return e.id});return e.timeEvents.filter(function(e){return t.includes(e.id)})},timestamp:function(e){return e.timestamp},engineTimestamp:function(e){return e.engineTimestamp},flowcharts:function(e){return e.flowcharts},flowchart:function(e){return function(t){return e.flowcharts.find(function(e){return e.type===t})}},flowchartsUpdatable:function(e){return e.flowcharts.find(function(e){return e.updatable})},flowchartUpdatable:function(e){return function(t){var n=e.flowcharts.find(function(e){return e.type===t});return!!n&&n.updatable}},dataflowStatuses:function(e){return e.dataflowStatuses},dataflowInfo:function(e){return e.dataflowInfo},contextsId:function(e){return e.contexts.map(function(e){return e.id})},context:function(e){return e.contexts.peek()},contextsCount:function(e){return e.contexts.size()},previousContext:function(e){return e.contexts.previous()},contextById:function(e){return function(t){return e.contexts.findItem(t)}},proposedContext:function(e){return e.proposedContext},hasContext:function(e,t){return null!==t.context},contextLabel:function(e,t){return null!==t.context?t.context.label:null},contextCustomLabel:function(e){return null!==e.contextCustomLabel?e.contextCustomLabel:null},contextsLabels:function(e,t){return null!==t.context?e.contexts.map(function(e){return{label:e.label,contextId:e.id}}):[]},contextId:function(e,t){return null!==t.context?t.context.id:null},contextEncodedShape:function(e,t){return null!==t.context?"".concat(t.context.spatialProjection," ").concat(t.context.encodedShape):""},contextsHistory:function(e){return e.contextsHistory.length>0&&e.contextsHistory.sort(function(e,t){return e.creationTime===t.creationTime?0:e.creationTime>t.creationTime?-1:1}),e.contextsHistory},contextReloaded:function(e,t){return null!==t.context&&"undefined"!==typeof t.context.restored&&t.context.restored},contextHasTime:function(e,t){return null!==t.context&&t.context.scaleReference&&0!==t.context.scaleReference.end},session:function(e){return e.session},scaleReference:function(e,t){return null!==t.context?t.context.scaleReference:e.scaleReference},schedulingResolution:function(e){return e.schedulingResolution},isScaleLocked:function(e){return e.scaleLocked},nextScale:function(e){return e.nextScale},hasNextScale:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!==e.nextScale&&(null===t||t===r["B"].ST_SPACE&&e.nextScale.spaceChanged||t===r["B"].ST_SPACE&&e.nextScale.spaceChanged)}},capabilities:function(e){return e.capabilities},searchResult:function(e){return e.searchResult},interactiveMode:function(e){return e.interactiveMode},isCrossingIDL:function(e){return e.crossingIDL},isLocal:function(e){return e.local},terminals:function(e){return e.terminals},hasActiveTerminal:function(e){return-1!==e.terminals.findIndex(function(e){return e.active})},terminalCommands:function(e){return e.terminalCommands},documentationTrees:function(e){return e.documentationTrees},documentationContent:function(e){return e.documentationContent}}),x=n("9523"),k=n.n(x),U=n("1442"),V={SET_SESSION_REFERENCE:function(e,t){e.sessionReference=t},SET_CONTEXT:function(e,t){var n=t.context,o=void 0===n?null:n,a=t.isRecontext,i=void 0!==a&&a;if(null===o)e.contexts.empty();else{var c=e.contexts.findIndex(function(e){return e.id===o.id});if(-1===c){if(i){var s=e.contexts.peek();o.scaleReference=s.scaleReference}e.contexts.push(o)}else e.contexts.pop(c)}e.tree=[],e.userTree=[],e.lasts=[],e.observations=[],e.knowledgeViews=[],e.flowcharts.forEach(function(e){e.flowchart=null,e.graph=null,e.updatable=!1,e.visible=!1}),e.dataflowStatuses=[],e.dataflowInfo=null,e.nodeSelected=null,e.nextScale=null,e.crossingIDL=!1,e.contextCustomLabel=null,e.timeEvents=[],e.timestamp=-1,e.engineTimestamp=-1,e.proposedContext=null,e.documentationTrees.forEach(function(e){e.tree.splice(0,e.tree.length)}),e.documentationContent.clear(),e.documentationView=r["n"].REPORT,null===o?e.contextsHistory=[]:"undefined"===typeof o.restored&&(o.restored=!1),e.schedulingResolution=null},SET_CONTEXT_CUSTOM_LABEL:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e.contextCustomLabel=t},WAITING_FOR_RESET:function(e,t){e.waitingForReset=t},STORE_CONTEXT:function(e,t){var n=e.contextsHistory.find(function(e){return e.id===t.id});"undefined"===typeof n?(console.debug("Added new context in store with id ".concat(t.id)),e.contextsHistory.push(t)):console.debug("Context with id ".concat(t.id," yet exists in contextHistory"))},SET_RELOAD_FLOWCHART:function(e,t){e.flowcharts.filter(function(e){return null===t||e.target===t}).forEach(function(e){e.updatable=!0,e.visible=!1})},ADD_FLOWCHART:function(e,t){var n=t.flowchart,o=t.target,a=e.flowcharts.find(function(e){return e.type===o});a?(a.flowchart=n,a.updatable=!1):console.warn("Unknown target to add flowchart: ".concat(o))},SET_DATAFLOW_STATUS:function(e,t){var n=t.id,o=t.status,a=e.dataflowStatuses.find(function(e){return e.id===n});"undefined"!==typeof a?a.status=o:e.dataflowStatuses.push({id:n,status:o})},SET_DATAFLOW_INFO:function(e,t){e.dataflowInfo=t},UPDATE_TIME_EVENTS:function(e,t){t.timeEvents&&t.timeEvents.length>0&&(t.timeEvents.forEach(function(n){e.timeEvents.push({id:t.id,timestamp:n})}),console.debug("Added ".concat(t.timeEvents.length," events")))},ADD_OBSERVATION:function(e,t){var n=t.observation;e.observations.push(n),console.info("Added observation: ".concat(n.label)),console.debug("Observation content: ".concat(JSON.stringify(n,null,2)))},UPDATE_OBSERVATION:function(e,t){var n=t.observationIndex,o=t.newObservation,a=e.observations[n],i=p()({},a,o);e.observations.splice(n,1,i);var r=function(e){e?(e.needUpdate=!i.contextualized,e.dynamic=i.dynamic,e.childrenCount=i.childrenCount,e.children.forEach(function(e){e.siblingsCount=i.childrenCount}),e.tickable=null!==i.viewerIdx&&!i.empty||i.isContainer||i.childrenCount>0,e.exportFormats=i.exportFormats):console.warn("Node of ".concat(i.id," - ").concat(i.label," not found"))},c=Object(d["f"])(e.tree,i.id);r(c),c&&c.userNode&&r(Object(d["f"])(e.userTree,i.id))},SET_CONTEXTMENU_OBSERVATIONID:function(e,t){e.contextMenuObservationId=t},MOD_BRING_FORWARD:function(e,t){var n=e.observations.find(function(e){return e.id===t.id});n||console.warn("Receive a bring forward for an unknown observation: ".concat(t.id," - ").concat(t.label)),n.main=!0,t.main=!0},MOD_STRUCTURE_CHANGE:function(e,t){var n=t.node,o=t.modificationEvent,a=e.observations.find(function(e){return e.id===o.id});a.childrenCount=o.newSize,a.empty=!1,o.exportFormats&&(a.exportFormats=o.exportFormats);var i=function(e){e&&(e.childrenCount=o.newSize,o.exportFormats&&(e.exportFormats=o.exportFormats),e.children.forEach(function(e){e.siblingsCount=o.newSize}),e.tickable=!0,e.disabled=!1,e.empty=!1,e.needUpdate=!0)};i(n),n.userNode&&i(Object(d["f"])(e.userTree,n.id))},MOD_VALUE_CHANGE:function(e,t){if(t.dynamic=!0,t.needUpdate=!1,t.userNode){var n=Object(d["f"])(e.userTree,t.id);n?(n.dynamic=!0,n.needUpdate=!1):console.warn("Node theoretically in user tree but not found: ".concat(t.id," - ").concat(t.label))}},ADD_KNOWLEDGE_VIEW:function(e,t){e.knowledgeViews.push(p()({},t,{show:!1}))},SHOW_KNOWLEDGE_VIEW:function(e,t){e.knowledgeViews.forEach(function(e){e.viewId===t&&(e.show=!0)})},ADD_TIME_EVENT:function(e,t){var n=-1!==e.timeEvents.findIndex(function(e){return e.id===t.id&&e.timestamp===t.timestamp&&e.newAttributes===t.newAttributes&&e.newScale===t.newScale&&e.newName===t.newName&&e.newSemantics===t.newSemantics&&e.newSize===t.newSize});n?console.warn("Duplicated time event:\n ".concat(JSON.stringify(t,null,2))):e.timeEvents.push(t)},SET_MODIFICATIONS_TASK:function(e,t){e.modificationsTask=t},SET_TIMESTAMP:function(e,t){e.timestamp=t},SET_ENGINE_TIMESTAMP:function(e,t){e.engineTimestamp=t},SET_SCHEDULING_STATUS:function(e,t){if(null!==e.scaleReference)switch(t.type){case"TIME_ADVANCED":e.engineTimestamp=t.currentTime;break;case"STARTED":e.engineTimestamp=t.currentTime,e.schedulingResolution=t.resolution,N["b"].$emit(r["h"].NEW_SCHEDULING);break;case"FINISHED":e.engineTimestamp=e.scaleReference.end;break;default:console.warn("Unknown scheduling type: ".concat(t.type));break}else console.warn("Try to change scheduling type but no scaleReference")},ADD_NODE:function(e,t){var n=t.node,o=t.parentId,a=t.toUserTreeOnly,i=void 0!==a&&a,r=e.contexts.peek();if(null===r)return console.info("Context is null, it's just set or is a new observation of previous search for this session, so added to orphans. ID: ".concat(n.id)),void e.orphans.push(n);var c=r.id===r.rootContextId;if((c&&n.rootContextId!==r.id||!c&&n.contextId!==r.id)&&console.info("Subcontext or trying to add to tree an observation of other context. Actual: ".concat(r.id," / Node: ").concat(n.rootContextId)),r.id!==n.id)if(r.id===o){if(i||e.tree.push(n),n.userNode){var s=JSON.parse(JSON.stringify(n));e.userTree.push(s)}}else{var l=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,i=Object(d["f"])(t,o);null!==i?(i.children.length===i.childrenCount&&(i.childrenCount++,i.children.forEach(function(e){e.siblingsCount=i.childrenCount})),i.children.push(p()({},a,{idx:i.children.length,siblingsCount:i.childrenCount})),i.disabled=!1):(console.warn("Orphan founded with id ".concat(n.id)),e.orphans.push(n))};i||l(e.tree),n.userNode&&l(e.userTree,JSON.parse(JSON.stringify(n)))}else console.error("Try to add context to tree, check it!")},REMOVE_NODE:function(e,t){var n=t.id,o=t.fromMainTree,a=void 0!==o&&o,i=a?e.tree:e.userTree,r=function e(t,n){var o=t.findIndex(function(e){return e.id===n});-1===o?t.forEach(function(t){t.children&&0!==t.children.length&&e(t.children,n)}):(t.splice(o,1),console.debug("Find and delete node ".concat(n," from ").concat(a?"main tree":"user tree")))};r(i,n)},UPDATE_USER_NODE:function(e,t){var n=t.node,o=t.userNode,a=function e(t){t.userNode=o,t.children&&t.children.length>0&&t.children.forEach(function(t){return e(t)})};a(n)},SET_FOLDER_VISIBLE:function(e,t){var n=t.nodeId,o=t.visible,a=t.zIndexOffset;if(null!==a){e.observations.forEach(function(e){e.parentArtifactId===n||e.parentId===n?(e.visible=o,e.top=o):o&&e.zIndexOffset===a&&(e.top=!1)});var i=e.observations.find(function(e){return e.id===n});"undefined"!==typeof i&&(i.visible=o)}else console.info("Folder with id ".concat(n," has no loaded elements"));var r=function(e){var t=Object(d["f"])(e,n);"undefined"!==typeof t&&null!==t&&t.children.length>0&&(t.children.forEach(function(e){e.parentArtifactId===t.id&&(e.ticked=o)}),t.ticked=o)};r(e.tree),r(e.userTree)},SET_VISIBLE:function(e,t){var n=t.id,o=t.visible,a=e.observations.findIndex(function(e){return e.id===n}),i=e.observations[a];if("undefined"!==typeof i){var r=i.zIndexOffset;i.visible=o,i.top=o,o&&e.observations.forEach(function(e){e.id!==n&&e.zIndexOffset===r&&(e.top=!1)});var c=function(e){var t=Object(d["f"])(e,n);t&&(t.ticked=o)};c(e.tree),c(e.userTree),e.observations.splice(a,1,i)}else console.warn("Try to change visibility to no existing observations with id ".concat(n))},SET_LOADING_LAYERS:function(e,t){var n=t.loading,o=t.observation;if(o){o.loading=n;var a=Object(d["f"])(e.tree,o.id);if(a&&(a.loading=n,a.userNode)){var i=Object(d["f"])(e.userTree,o.id);i.loading=n}}},STORE_RAW_SEARCH_RESULT:function(e,t){e.searchResult=t},ADD_LAST:function(e,t){var n=t.parentId,o=t.observationId,a=t.offsetToAdd,i=t.total,r=e.lasts.findIndex(function(e){return n===e.parentId});if(-1!==r){var c=e.lasts[r];c.offset+a>=c.total?(e.lasts.splice(r,1),console.info("Folder ".concat(n," fully loaded"))):(c.observationId=o,c.offset+=a,console.info("Loaded more elements in folder ".concat(n,". New offset is ").concat(c.offset," ")))}else{if(a+1===i)return void console.info("Nothing to do in folder ".concat(n,". Offset is ").concat(a," and total is ").concat(i," "));e.lasts.push({parentId:n,observationId:o,offset:a,total:i}),console.debug("Added folder ".concat(n,". Offset is ").concat(a," "))}},SET_SCALE_REFERENCE:function(e,t){null===t.timeUnit&&(t.timeUnit=r["D"].YEAR),e.scaleReference=t,e.context||(null!==e.scaleReference.shape?e.proposedContext=d["a"].readGeometry(e.scaleReference.shape,{dataProjection:U["d"].PROJ_EPSG_4326,featureProjection:U["d"].PROJ_EPSG_3857}):e.proposedContext=null),console.info("Scale reference set: ".concat(JSON.stringify(t,null,2)))},UPDATE_SCALE_REFERENCE:function(e,t){var n,o=t.type,a=t.unit,i=t.timeResolutionMultiplier,c=t.start,s=t.end,l=t.next,u=void 0!==l&&l,d=t.spaceResolution;o===r["B"].ST_SPACE&&0!==d&&Math.round(d)!==d&&(d=d.toFixed(1));var E=p()({},e.scaleReference,(n={},k()(n,"".concat(o,"Unit"),a),k()(n,"".concat(o,"ResolutionDescription"),(d&&0!==d?"".concat(d," "):"")+a),n),o===r["B"].ST_SPACE&&{spaceResolution:d,spaceResolutionConverted:d},o===r["B"].ST_TIME&&{timeResolutionMultiplier:i,start:c,end:s});u?e.nextScale=p()({},E,{spaceChanged:o===r["B"].ST_SPACE,timeChanged:o===r["B"].ST_TIME}):e.scaleReference=E},SET_SCALE_LOCKED:function(e,t){var n=t.scaleType,o=t.scaleLocked;"all"===n?(e.scaleLocked.space=o,e.scaleLocked.time=o):Object.prototype.hasOwnProperty.call(e.scaleLocked,n)?(console.info("Set ".concat(o," to ").concat(n," scale type")),e.scaleLocked[n]=o):console.error("Try to set locked to unknow scale type: ".concat(n))},SET_INTERACTIVE_MODE:function(e,t){e.interactiveMode=t},SET_CROSSING_IDL:function(e,t){e.crossingIDL=t},ADD_TERMINAL:function(e,t){e.terminals.push(t)},REMOVE_TERMINAL:function(e,t){var n=e.terminals.findIndex(function(e){return e.id===t});-1!==n?e.terminals.splice(n,1):console.warn("Trying to remove unknown terminal ".concat(t))},ADD_TERMINAL_COMMAND:function(e,t){e.terminalCommands.push(t),localStorage.setItem(r["P"].LOCAL_STORAGE_TERMINAL_COMMANDS,JSON.stringify(e.terminalCommands))},CLEAR_TERMINAL_COMMANDS:function(e){e.terminalCommands.splice(0,e.terminalCommands.length),localStorage.setItem(r["P"].LOCAL_STORAGE_TERMINAL_COMMANDS,JSON.stringify(e.terminalCommands))},SET_DOCUMENTATION:function(e,t){var n=t.view,o=t.tree,a=e.documentationTrees.findIndex(function(e){return e.view===n});-1===a?console.warn("Unknown documentation view: ".concat(n)):e.documentationTrees[a].tree=o},ADD_DOCUMENTATION:function(e,t){t.forEach(function(t){e.documentationContent.set(t.id,t)})}},F=(n("28a5"),n("f559"),n("ffc1"),n("96cf"),n("c973")),Y=n.n(F),W=n("be3b"),G=n("17dc"),j=n("e7d8"),H=void 0,z={loadSessionReference:function(e){var t=e.commit;return new Promise(function(e,n){W["a"].get("".concat("").concat(c["c"].REST_SESSION_INFO),{maxRedirects:0}).then(function(n){var o=n.data;o&&(t("SET_SESSION_REFERENCE",o),e())}).catch(function(e){e.response&&401===e.response.status?n(new Error("Invalid session")):n(new Error("Error retrieving session: ".concat(e)))})})},setContext:function(e,t){var n=t.context,o=t.isRecontext,a=e.commit,i=e.getters,r=e.dispatch;null!==i.context&&i.context.id===n.id||(a("SET_CONTEXT",{context:n,isRecontext:o}),o&&r("view/resetContext",null,{root:!0}),r("view/setContextLayer",n,{root:!0}),console.debug("Send start watch context ".concat(n.id)),Object(d["q"])(G["a"].WATCH_REQUEST,{active:!0,observationId:n.id,rootContextId:n.rootContextId}))},resetContext:function(e){var t=e.commit,n=e.dispatch,o=e.state,a=e.getters,i=a.context;if(null!==i){var s={id:i.id,rootContextId:i.rootContextId};t("SET_CONTEXT",{}),n("getSessionContexts"),n("view/resetContext",null,{root:!0}),null!==o.waitingForReset?(n("loadContext",o.waitingForReset),o.waitingForReset=null):n("addObservation",{observation:r["A"],main:!0}),n("view/addToKlabLog",{type:c["a"].TYPE_INFO,payload:{message:"Context reset",separator:!0}},{root:!0}),console.debug("Send stop watch context ".concat(s.id)),Object(d["q"])(G["a"].WATCH_REQUEST,{active:!1,observationId:s.id,rootContextId:s.rootContextId})}else console.info("Try to reset null context, is initial reset?")},setWaitinForReset:function(e){var t=e.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t("WAITING_FOR_RESET",n)},loadContext:function(e,t){var n=e.commit,o=e.dispatch;console.info("Ask for context to restore ".concat(t)),W["a"].get("".concat("").concat(c["c"].REST_SESSION_VIEW,"describe/").concat(t),{params:{childLevel:1}}).then(function(){var e=Y()(regeneratorRuntime.mark(function e(a){var i,c,s;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return i=a.data,i.restored=!0,e.next=4,o("setContext",{context:p()({},i,{children:[]})});case 4:if(n("data/SET_RELOAD_FLOWCHART",{target:null},{root:!0}),console.debug("Context received with id ".concat(i.id)),!(i.children.length>0)){e.next=12;break}return c=[],s=i.children,s.forEach(function(e){null!==e.taskId&&(-1===c.indexOf(e.taskId)&&c.push(e.taskId),o("addObservation",{observation:e,restored:!0}))}),e.next=12,Promise.all(c);case 12:o("view/setSpinner",p()({},r["H"].SPINNER_STOPPED,{owner:t}),{root:!0});case 13:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()).catch(function(e){throw o("view/setSpinner",p()({},r["H"].SPINNER_ERROR,{owner:t,errorMessage:e}),{root:!0}),e})},getSessionContexts:function(e){var t=e.getters,n=e.commit;return new Promise(function(e,o){if(null!==t.session){var a="".concat("").concat(c["c"].REST_STATUS);Object(d["h"])(t.session,a,{transformRequest:[function(e,t){return delete t.common.Authorization,e}]},function(a,i){var r=a.data;if(console.debug("Contexts history:\n".concat(JSON.stringify(r,null,4))),r&&r.sessions&&r.sessions.length>0){var c=r.sessions.find(function(e){return e.id===t.session});if("undefined"!==typeof c){var s=c.rootObservations;if(null===s||0===Object.keys(s).length&&s.constructor===Object)console.debug("No root observation founded"),e(0);else{console.debug("Find ".concat(Object.keys(s).length," root observations for this session"));var l=0;Object.entries(s).forEach(function(e){n("STORE_CONTEXT",e[1]),l+=1}),e(l)}}else console.warn("No information for session ".concat(t.session,", isn't valid session?")),o(new Error("No information for session ".concat(t.session,", disconnect")))}i()})}else o(new Error("No session established, no useful engine available, disconnect"))})},setContextCustomLabel:function(e,t){var n=e.commit;n("SET_CONTEXT_CUSTOM_LABEL",t)},addObservation:function(e,t){var n=e.commit,o=e.rootGetters,a=e.state,i=e.dispatch,c=t.observation,s=t.toTree,l=void 0===s||s,u=t.visible,E=void 0!==u&&u,f=t.restored,T=void 0!==f&&f,S=t.updated,m=void 0!==S&&S;return new Promise(function(e){var t=a.observations.findIndex(function(e){return e.id===c.id});return-1!==t?(m?(n("UPDATE_OBSERVATION",{observationIndex:t,newObservation:c}),n("UPDATE_TIME_EVENTS",c),console.debug("Observation$ ".concat(c.label," updated"))):i("view/addToKexplorerLog",{type:r["w"].TYPE_WARNING,payload:{message:"Existing observation received: ".concat(c.label)},important:!0},{root:!0}),e()):(i("view/assignViewer",{observation:c},{root:!0}).then(function(t){if(c.viewerIdx=t,c.visible=E,c.top=!1,c.zIndex=0,c.layerOpacity=c.layerOpacity||1,c.colormap=c.colormap||null,c.tsImages=[],c.isContainer=c.observationType===r["y"].TYPE_GROUP||c.observationType===r["y"].TYPE_VIEW,c.singleValue=c.observationType===r["y"].TYPE_STATE&&1===c.valueCount,c.loading=!1,c.loaded=!0,null===c.contextId){var a=o["stomp/tasks"].find(function(e){return c.taskId.startsWith(e.id)});if(a){var s=a.contextId;c.contextId=s}else c.contextId=c.rootContextId}if(n("ADD_OBSERVATION",{observation:p()({},c,{children:[]}),restored:T}),n("UPDATE_TIME_EVENTS",c),c.observationType===r["y"].TYPE_INITIAL)return e();if(c.children.length>0&&(c.disabled=!1,c.children.forEach(function(e){i("addObservation",{observation:e})})),l){var u=Object(d["l"])(c);if(n("ADD_NODE",u),c.childrenCount>0&&0===c.children.length){var f=u.node;i("addStub",f)}}return e()}),null)})},updateObservation:function(e,t){var n=e.commit,o=e.dispatch,a=e.state,i=t.observationId,r=t.exportFormats,s=a.observations.findIndex(function(e){return e.id===i});-1!==s?W["a"].get("".concat("").concat(c["c"].REST_SESSION_VIEW,"describe/").concat(i),{params:{childLevel:0}}).then(function(e){var t=e.data;if(t){if(r&&(t.exportFormats=r),n("UPDATE_OBSERVATION",{observationIndex:s,newObservation:t}),t.childrenCount>0){var c=Object(d["f"])(a.tree,t.id),l=c.children,u=l.length>0;u&&1===l.length&&(u=!l[0].id.startsWith("STUB")),u&&o("askForChildren",{parentId:i,count:Math.max(l.length,a.childrenToAskFor),total:t.childrenCount,updated:!0})}}else console.warn("Ask for update observation ".concat(i," but nothing found in engine"))}):console.warn("Try to update a not existing observation: ".concat(i))},addStub:function(e,t){var n=e.commit;n("ADD_NODE",{node:p()({},t,{id:"STUB-".concat(t.id),observable:"",label:"",children:[],childrenCount:0,childrenLoaded:0,siblingsCount:t.childrenCount,parentArtifactId:t.id,tickable:!1,disabled:!0,empty:!0,actions:{},header:"stub",main:!1,isContainer:!1,exportFormats:{},observationType:r["y"].TYPE_INITIAL,noTick:!0,parentId:t.id,dynamic:!1},t.userNode&&{userNode:t.userNode}),parentId:t.id}),n("ADD_LAST",{parentId:t.id,observationId:"STUB-".concat(t.id),offsetToAdd:0,total:t.childrenCount})},addKnowledgeView:function(e,t){var n=e.commit;n("ADD_KNOWLEDGE_VIEW",t)},showKnowledgeView:function(e,t){var n=e.commit;n("SHOW_KNOWLEDGE_VIEW",t)},addModificationEvent:function(e,t){var n=e.rootGetters,o=e.state,a=e.commit,i=e.dispatch,c=Object(d["f"])(o.tree,t.id);if(c)switch(t.type){case r["x"].BRING_FORWARD:a("MOD_BRING_FORWARD",c),i("changeTreeOfNode",{id:t.id,isUserTree:!0});break;case r["x"].VALUE_CHANGE:a("MOD_VALUE_CHANGE",c),a("ADD_TIME_EVENT",t),null===o.modificationsTask&&i("setModificationsTask",n["stomp/lastActiveTask"]());break;case r["x"].STRUCTURE_CHANGE:a("MOD_STRUCTURE_CHANGE",{node:c,modificationEvent:t}),c.childrenCount>0&&0===c.children.length&&i("addStub",c);break;case r["x"].CONTEXTUALIZATION_COMPLETED:i("updateObservation",{observationId:t.id,exportFormats:t.exportFormats});break;default:console.warn("Unknown modification event: ".concat(t.type));break}else t.id!==t.contextId?console.debug("Modification event for a not existing node, probably still not loaded",t):console.debug("Modification event for context",t)},setModificationsTask:function(e){var t=e.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t("SET_MODIFICATIONS_TASK",n)},setTimestamp:function(e,t){var n=e.commit;t&&-1!==t&&(t=Math.round(t)),n("SET_TIMESTAMP",t)},setScheduling:function(e,t){var n=e.commit,o=e.getters;o.context&&t.contextId===o.context.id?n("SET_SCHEDULING_STATUS",t):console.debug("Received a scheduling of other context: ".concat(t.contextId))},askForChildren:function(e,t){var n=e.commit,o=e.dispatch,a=e.state,i=t.parentId,s=t.total,l=t.offset,u=void 0===l?0:l,E=t.count,f=void 0===E?a.childrenToAskFor:E,T=t.toTree,S=void 0===T||T,m=t.visible,O=void 0!==m&&m,b=t.notified,A=void 0===b||b,_=t.updated,I=void 0!==_&&_;return new Promise(function(e){console.debug("Ask for children of node ".concat(i,": count:").concat(f," / offset ").concat(u)),o("view/setSpinner",p()({},r["H"].SPINNER_LOADING,{owner:i}),{root:!0}).then(function(){W["a"].get("".concat("").concat(c["c"].REST_SESSION_VIEW,"children/").concat(i),{params:{count:f,offset:u}}).then(function(t){var c=t.data;c&&c.length>0?c.forEach(function(t,l,u){t.notified=A,t.siblingsCount=s,o("addObservation",{observation:t,toTree:S,visible:O,updated:I}).then(function(){if(l===u.length-1){S&&n("ADD_LAST",{parentId:i,observationId:t.id,offsetToAdd:c.length,total:s});var E=function(e){var t=Object(d["f"])(e,i);t&&null!==t&&(t.childrenLoaded+=c.length)};E(a.tree),E(a.userTree),o("view/setSpinner",p()({},r["H"].SPINNER_STOPPED,{owner:i}),{root:!0}),e()}})}):(o("view/setSpinner",p()({},r["H"].SPINNER_STOPPED,{owner:i}),{root:!0}),e())})})})},addChildrenToTree:function(e,t){var n=e.dispatch,o=e.commit,a=e.state,i=t.parent,r=t.count,c=void 0===r?a.childrenToAskFor:r;if(i&&null!==i)for(var s=a.observations.filter(function(e){return e.parentArtifactId===i.id||e.parentId===i.id}),l=s.length,u=i.children.length,E=u,f=0;E0&&0===T.children.length&&n("addStub",p.node),f!==c-1&&E!==l-1||o("ADD_LAST",{parentId:i.id,observationId:T.id,offsetToAdd:f+1,total:i.childrenLoaded})}},changeTreeOfNode:function(e,t){var n=e.commit,o=e.state,a=t.id,i=t.isUserTree,r=Object(d["f"])(o.tree,a);i?null===Object(d["f"])(o.userTree,a)?(n("UPDATE_USER_NODE",{node:r,userNode:!0}),n("ADD_NODE",{node:r,parentId:r.parentArtifactId||r.parentId,toUserTreeOnly:!0})):console.warn("Try to move to user tree an existing node: ".concat(a," - ").concat(r.label)):(n("UPDATE_USER_NODE",{node:r,userNode:!1}),n("REMOVE_NODE",{id:a}))},setVisibility:function(e,t){var n=e.commit,o=e.dispatch,a=e.state,i=t.node,r=t.visible;if(i.isContainer){if(0!==i.childrenCount&&null===i.viewerIdx){var c=a.observations.find(function(e){return e.parentArtifactId===i.id||e.parentId===i.id});if("undefined"!==typeof c){var s=c.viewerIdx,l=c.viewerType,u=c.zIndexOffset;i.viewerIdx=s,i.viewerType=l,i.zIndexOffset=u}else i.zIndexOffset=null}null!==i.viewerIdx&&o("view/setMainDataViewer",{viewerIdx:i.viewerIdx,visible:r},{root:!0}),n("SET_FOLDER_VISIBLE",{nodeId:i.id,visible:r,zIndexOffset:i.zIndexOffset})}else o("view/setMainDataViewer",{viewerIdx:i.viewerIdx,visible:r},{root:!0}),n("SET_VISIBLE",{id:i.id,visible:r})},putObservationOnTop:function(e,t){var n=e.commit;n("SET_VISIBLE",{id:t,visible:!0})},setContextMenuObservationId:function(e,t){var n=e.commit;n("SET_CONTEXTMENU_OBSERVATIONID",t)},selectNode:function(e,t){var n=e.dispatch,o=e.state;if(null===t)n("view/setObservationInfo",null,{root:!0});else{var a=o.observations.find(function(e){return e.id===t});a&&(a.visible&&!a.top&&n("setVisibility",{node:a,visible:!0}),n("view/setObservationInfo",a,{root:!0}))}},setLoadingLayers:function(e,t){var n=e.commit,o=t.loading,a=t.observation;a&&n("SET_LOADING_LAYERS",{loading:o,observation:a})},loadFlowchart:function(e){var t=e.commit,n=e.getters,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r["g"].GRAPH_DATAFLOW;return new Promise(function(e,a){console.info("Ask for flowchart ".concat(o)),W["a"].get("".concat("").concat(c["c"].REST_API_EXPORT,"/").concat(o,"/").concat(n.contextId),{headers:{Accept:"application/json"}}).then(function(i){var r=i.data;if("undefined"!==typeof r&&null!==r)try{r.restored=n.context.restored,t("ADD_FLOWCHART",{flowchart:r,target:o}),e()}catch(e){a(new Error("Error in dataflow layout for the context ".concat(H.contextId,": ").concat(e)))}else a(new Error("Dataflow in context ".concat(H.contextId," has no layout")))}).catch(function(e){a(e)})})},setReloadFlowchart:function(e,t){var n=e.commit,o=t.target;n("SET_RELOAD_FLOWCHART",o)},setDataflowStatus:function(e,t){var n=e.commit,o=t.id,a=t.status;n("SET_DATAFLOW_STATUS",{id:o,status:a})},setDataflowInfo:function(e,t){var n=e.commit;if(null===t)n("SET_DATAFLOW_INFO",null);else{var o=t.id,a=t.html,i=t.rateable,r=t.rating,c=t.averageRating;if(null!==o&&""!==o){var s=o.split("."),l=s[s.length-1],u=s.slice(0,s.length-1);n("SET_DATAFLOW_INFO",{elementId:l,elementTypes:u,html:a,rateable:i,rating:r,averageRating:c})}}},storeSearchResult:function(e,t){var n=e.commit;n("STORE_RAW_SEARCH_RESULT",t)},setScaleReference:function(e,t){var n=e.commit;n("SET_SCALE_REFERENCE",t)},updateScaleReference:function(e,t){var n=e.commit;n("UPDATE_SCALE_REFERENCE",t)},setScaleLocked:function(e,t){var n=e.commit,o=t.scaleType,a=t.scaleLocked;n("SET_SCALE_LOCKED",{scaleType:o,scaleLocked:a})},setInteractiveMode:function(e,t){var n=e.commit;n("SET_INTERACTIVE_MODE",t)},setCrossingIDL:function(e,t){var n=e.commit;n("SET_CROSSING_IDL",t)},addTerminal:function(e,t){var n=e.state,o=e.commit,a=t.id,i=t.active,c=t.type;if(a){var s=n.terminals.findIndex(function(e){return e.id===a});-1!==s?console.warn("Terminal already exists"):n.terminals[s].active=!0}else a="".concat(n.session,"-").concat(++n.terminalsCounter),o("ADD_TERMINAL",{id:a,active:"undefined"===typeof i||i,type:c||r["K"].CONSOLE})},removeTerminal:function(e,t){var n=e.commit;n("REMOVE_TERMINAL",t)},addTerminalCommand:function(e,t){var n=e.commit;n("ADD_TERMINAL_COMMAND",t)},clearTerminalCommands:function(e){var t=e.commit;t("CLEAR_TERMINAL_COMMANDS")},loadDocumentation:function(e){var t=e.dispatch,n=e.getters,o=e.rootGetters,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return new Promise(function(e,i){if(null===n.contextId)return console.warn("Ask documentation without context"),void i(new Error("Ask documentation without context"));null===a&&(a=o["view/documentationView"],null===a&&console.warn("No view selected")),W["a"].get("".concat("").concat(c["c"].REST_SESSION_OBSERVATION,"documentation/").concat(a,"/").concat(n.contextId),{}).then(function(n){var o=n.data;""===o?(console.warn("Empty report"),e(!1)):t("refreshDocumentation",{view:a,documentation:o}).then(function(){t("view/removeReloadView",a,{root:!0}).then(function(){e(!0)})})}).catch(function(e){i(e)})})},refreshDocumentation:function(e,t){var n=e.commit,o=t.view,a=t.documentation,i=[],c=[],s=new Map,l=function e(t,n,o,a){var i,l;switch(n.type===r["l"].SECTION?l=null===o?"".concat(a,"."):"".concat(o).concat(a,"."):(l=s.has(n.type)?s.get(n.type)+1:1,s.set(n.type,l)),n.type){case r["l"].SECTION:i="".concat(l," ").concat(n.title);break;case r["l"].TABLE:i="".concat(Object(j["b"])().tc("label.reportTable")," ").concat(l,". ").concat(n.bodyText);break;case r["l"].RESOURCE:i=n.title;break;case r["l"].MODEL:i=n.id;break;case r["l"].REFERENCE:i=n.id;break;case r["l"].FIGURE:i="".concat(Object(j["b"])().tc("label.reportFigure")," ").concat(l,". ").concat(n.figure.label);break;default:i=n.type}var u={type:n.type,id:n.id,idx:l,parentId:n.parentId,previousId:n.previousId,nextId:n.nextId,label:i,children:[]},d=0;n.children.forEach(function(t){var n=-1;t.type===r["l"].SECTION&&(n=++d),e(u.children,t,l,n)}),t.push(u),c.push({id:n.id,idx:l,label:i,type:n.type,title:n.title,subtitle:n.subtitle,bodyText:n.bodyText,model:n.model,section:n.section,resource:n.resource,table:n.table,figure:n.figure,reference:n.reference})},u=0;a.forEach(function(e,t){l(i,e,null,e.type===r["l"].SECTION?++u:t)}),n("SET_DOCUMENTATION",{view:o,tree:i}),n("ADD_DOCUMENTATION",c)}},B={namespaced:!0,state:M,getters:y,mutations:V,actions:z},K={stompClient:null,connectionState:r["f"].CONNECTION_UNKNOWN,reconnectionsAttempt:0,subscriber:null,sentMessages:[],receivedMessages:[],queuedMessage:null,tasks:[],subscriptions:[]},X={connectionDown:function(e){return e.connectionState!==r["f"].CONNECTION_UP},lastError:function(e){var t=e.receivedMessages.filter(function(e){return e.type===r["w"].TYPE_ERROR}).slice(-1);return 1===t.length?t[0]:null},lastMessage:function(e){var t=e.receivedMessages.filter(function(e){return e.type===r["w"].TYPE_MESSAGE}).slice(-1);return 1===t.length?t[0]:null},lastReceivedMessage:function(e){return e.receivedMessages.length>0?e.receivedMessages.slice(-1)[0]:null},lastSendedMessage:function(e){return e.sentMessages.length>0?e.sentMessages.slice(-1)[0]:null},subscriberId:function(e){return null!==e.subscriber?e.subscriber.id:null},queuedMessage:function(e){return e.queuedMessage},connectionState:function(e){return e.connectionState},connectionUp:function(e){return e.connectionState===r["f"].CONNECTION_UP},tasks:function(e){return e.tasks},taskIsAlive:function(e){return function(t){return"undefined"!==typeof e.tasks.find(function(e){return e.id===t&&e.alive})}},taskOfContextIsAlive:function(e,t,n,o){return"undefined"!==typeof e.tasks.find(function(e){return e.contextId===o["data/contextId"]&&e.alive})},contextTaskIsAlive:function(e){return function(t){return"undefined"!==typeof e.tasks.find(function(e){return e.contextId===t&&e.alive})}},hasTasks:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return-1!==e.tasks.findIndex(function(e){return e.alive&&(null===t||e.contextId===t)})}},lastActiveTask:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=e.tasks.filter(function(e){return e.alive&&(null===t||e.contextId===t)});return n.length>0?n.pop():null}}},Q={STOMP_CONNECTION_STATE:function(e,t){e.connectionState=t},STOMP_ERROR:function(e,t){Object(d["p"])(e.receivedMessages,{date:_()().format("HH:mm:ss"),type:r["w"].TYPE_ERROR,message:t})},STOMP_MESSAGE:function(e,t){Object(d["p"])(e.receivedMessages,{date:_()().format("HH:mm:ss"),type:r["w"].TYPE_MESSAGE,message:t})},STOMP_SEND_MESSAGE:function(e,t){Object(d["p"])(e.sentMessages,p()({date:_()().format("HH:mm:ss")},t))},STOMP_SUBSCRIBED:function(e,t){e.subscriber=t},STOMP_RECONNECTIONS_ATTEMPT:function(e,t){e.reconnectionsAttempt=t},STOMP_RECONNECTIONS_ATTEMPT_RESET:function(e){e.reconnectionsAttempt=0},STOMP_QUEUE_MESSAGE:function(e,t){e.queuedMessage=t},STOMP_CLEAN_QUEUE:function(e){e.queuedMessage=null},TASK_START:function(e,t){var n=t.id,o=t.contextId,a=t.description;-1!==e.tasks.findIndex(function(e){return e.id===n})?console.debug("Received duplicated start task id: ".concat(n," - ").concat(a)):e.tasks.push({id:n,contextId:o,description:a,alive:!0})},TASK_END:function(e,t){var n=t.id,o=e.tasks.findIndex(function(e){return e.id===n});if(-1!==o){var a=e.tasks[o];a.alive=!1,e.tasks.splice(o,1,a)}else console.debug("Task with id = ".concat(n," not founded or is not alive"))}};function q(e,t,n,o){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];e("view/addToKexplorerLog",{type:t,payload:{message:n,attach:o},important:a},{root:!0})}var J=(o={},k()(o,c["a"].TYPE_TASKSTARTED,function(e,t){var n=e.payload,o=t.dispatch;o("stomp/taskStart",n,{root:!0}),q(o,r["w"].TYPE_DEBUG,"Started task with id ".concat(n.id)),o("view/addToStatusTexts",{id:n.id,text:n.description},{root:!0})}),k()(o,c["a"].TYPE_TASKABORTED,function(e,t){var n=e.payload,o=t.dispatch;o("stomp/taskAbort",n,{root:!0}),q(o,r["w"].TYPE_ERROR,"Aborted task with id ".concat(n.id),n),o("view/removeFromStatusTexts",n.id,{root:!0})}),k()(o,c["a"].TYPE_TASKFINISHED,function(e,t){var n=e.payload,o=t.dispatch;o("stomp/taskEnd",n,{root:!0}),q(o,r["w"].TYPE_DEBUG,"Ended task with id ".concat(n.id)),o("view/removeFromStatusTexts",n.id,{root:!0})}),k()(o,c["a"].TYPE_PROVENANCECHANGED,function(e,t){var n=e.payload,o=t.dispatch,a=t.rootGetters;n.contextId&&null!==a["data/context"]&&a["data/context"].id!==n.contextId?(q(o,r["w"].TYPE_INFO,"Provenance of incorrect context received"),console.warn(a["data/context"].id,n.contextId)):(o("data/setReloadFlowchart",{target:n.target},{root:!0}),q(o,r["w"].TYPE_DEBUG,"Provenance available in context ".concat(n.contextId)))}),k()(o,c["a"].TYPE_DATAFLOWCOMPILED,function(e,t){var n=e.payload,o=t.dispatch,a=t.rootGetters;n.contextId&&null!==a["data/context"]&&a["data/context"].id!==n.contextId?(q(o,r["w"].TYPE_INFO,"Dataflow of incorrect context received"),console.warn(a["data/context"].id,n.contextId)):(o("data/setReloadFlowchart",{target:n.target},{root:!0}),q(o,r["w"].TYPE_DEBUG,"Dataflow compiled in context ".concat(n.contextId)))}),k()(o,c["a"].TYPE_DATAFLOWSTATECHANGED,function(e,t){var n,o=e.payload,a=t.dispatch;n="STARTED"===o.status?r["i"].PROCESSING:"FINISHED"===o.status?r["i"].PROCESSED:"ABORTED"===o.status?r["i"].ABORTED:r["i"].WAITING,a("data/setDataflowStatus",{id:o.nodeId,status:n},{root:!0})}),k()(o,c["a"].TYPE_DATAFLOWDOCUMENTATION,function(e,t){var n=e.payload,o=t.dispatch;n&&n.dataflowId&&n.htmlDescription?(q(o,r["w"].TYPE_DEBUG,"Dataflow element info received",n),o("data/setDataflowInfo",{id:n.dataflowId,html:n.htmlDescription,rateable:n.rateable,rating:n.rating,averageRating:n.averageRating},{root:!0})):q(o,r["w"].TYPE_WARNING,"Strange payload of dataflow element info received",n)}),k()(o,c["a"].TYPE_NEWOBSERVATION,function(e,t){var n=e.payload,o=t.rootState,a=t.rootGetters,i=t.dispatch,c=o.stomp.tasks.find(function(e){return e.id===n.taskId});"undefined"===typeof c&&-1!==o.data.contextsHistory.findIndex(function(e){return e.id===n.contextId})&&(i("stomp/taskStart",{id:n.taskId,description:r["p"].UNKNOWN_SEARCH_OBSERVATION,contextId:n.contextId},{root:!0}),i("view/addToStatusTexts",{id:n.taskId,text:r["p"].UNKNOWN_SEARCH_OBSERVATION},{root:!0}),q(i,r["w"].TYPE_INFO,"Received an observation of previous context with no task associated. Session was been reloaded?",n)),null===n.parentId?null===a["data/context"]?(q(i,r["w"].TYPE_DEBUG,"New context received with id ".concat(n.id),n),i("data/setContext",{context:n},{root:!0}),"undefined"!==typeof n.scaleReference&&null!==n.scaleReference&&i("data/setScaleReference",n.scaleReference,{root:!0})):q(i,r["w"].TYPE_ERROR,"Strange behaviour: observation with no parent in existing context: ".concat(n.id," - ").concat(n.label),n):null!==a["data/context"]&&(a["data/context"].id===n.rootContextId||c&&a["data/context"].id===c.contextId)?(q(i,r["w"].TYPE_INFO,"New observation received with id ".concat(n.id,", rootContextId ").concat(n.rootContextId," and contextId ").concat(n.contextId),n),n.notified=!0,i("data/addObservation",{observation:n},{root:!0})):q(i,r["w"].TYPE_INFO,"Received an observation of different context",n,null,4)}),k()(o,c["a"].TYPE_MODIFIEDOBSERVATION,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_DEBUG,"Received a modification event",n),o("data/addModificationEvent",n,{root:!0})}),k()(o,c["a"].TYPE_QUERYRESULT,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,"Received search results",n),o("data/storeSearchResult",n,{root:!0})}),k()(o,c["a"].TYPE_RESETCONTEXT,function(e,t){var n=t.dispatch;q(n,r["w"].TYPE_INFO,"Received context reset"),N["b"].$emit(r["h"].RESET_CONTEXT),n("data/resetContext",null,{root:!0})}),k()(o,c["a"].TYPE_SCALEDEFINED,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,"Received scale reference",n),o("data/setScaleReference",n,{root:!0})}),k()(o,c["a"].TYPE_USERINPUTREQUESTED,function(e,t){var n=t.dispatch;q(n,r["w"].TYPE_INFO,"Received input request",e.payload),n("view/inputRequest",e,{root:!0})}),k()(o,c["a"].TYPE_SCHEDULEADVANCED,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,"Received schedule advanced",n),o("data/setScheduling",n,{root:!0})}),k()(o,c["a"].TYPE_SCHEDULINGSTARTED,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,"Received scheduling started",n),o("data/setScheduling",n,{root:!0})}),k()(o,c["a"].TYPE_SCHEDULINGFINISHED,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,"Received scheduling finished",n),o("data/setScheduling",n,{root:!0})}),k()(o,c["a"].TYPE_ENGINEEVENT,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,"Engine event received",n),o("view/setEngineEvent",n,{root:!0})}),k()(o,c["a"].TYPE_DEBUG,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_DEBUG,n)}),k()(o,c["a"].TYPE_INFO,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,n)}),k()(o,c["a"].TYPE_WARNING,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_WARNING,n)}),k()(o,c["a"].TYPE_ERROR,function(e,t){var n=e.payload,o=t.dispatch;n===r["f"].UNKNOWN_IDENTITY?N["b"].$emit(r["h"].SESSION_CUT):q(o,r["w"].TYPE_ERROR,n)}),k()(o,c["a"].TYPE_USERPROJECTOPENED,function(e,t){var n=t.dispatch;q(n,r["w"].TYPE_INFO,"Project opened in k.Modeler")}),k()(o,c["a"].TYPE_PROJECTFILEMODIFIED,function(e,t){var n=t.dispatch;q(n,r["w"].TYPE_INFO,"Project modified in k.Modeler")}),k()(o,c["a"].TYPE_NETWORKSTATUS,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,"Network status received",n)}),k()(o,c["a"].TYPE_AUTHORITYDOCUMENTATION,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,"Authority documentation message received",n)}),k()(o,c["a"].TYPE_SETUPINTERFACE,function(e,t){var n=e.payload,o=t.dispatch;o("view/setLayout",n,{root:!0}),q(o,r["w"].TYPE_INFO,"App ".concat(n.name," loaded"),n,!0)}),k()(o,c["a"].TYPE_CREATEMODALWINDOW,function(e,t){var n=e.payload,o=t.dispatch;o("view/setModalWindow",n,{root:!0}),q(o,r["w"].TYPE_INFO,"Modal ".concat(n.name," loaded"),n)}),k()(o,c["a"].TYPE_CREATEVIEWCOMPONENT,function(e,t){var n=e.payload,o=t.dispatch;o("view/createViewComponent",n,{root:!0}),q(o,r["w"].TYPE_INFO,"New create view component received",n)}),k()(o,c["a"].TYPE_VIEWACTION,function(e,t){var n=e.payload,o=t.dispatch;o("view/viewAction",n,{root:!0}),N["b"].$emit(r["h"].VIEW_ACTION),q(o,r["w"].TYPE_INFO,"New view action received",n)}),k()(o,c["a"].TYPE_VIEWSETTING,function(e,t){var n=e.payload,o=t.dispatch;o("view/viewSetting",n,{root:!0}),q(o,r["w"].TYPE_INFO,"New view setting received",n)}),k()(o,c["a"].TYPE_VIEWAVAILABLE,function(e,t){var n=e.payload,o=t.dispatch;o("view/setDocumentation",{id:n.viewId,view:n.viewClass},{root:!0}),q(o,r["w"].TYPE_INFO,"New documentation available",n)}),k()(o,c["a"].TYPE_DOCUMENTATIONCHANGED,function(e,t){var n=e.payload,o=t.dispatch;o("view/changeInDocumentation",n,{root:!0}),q(o,r["w"].TYPE_INFO,"New change in documentation",n)}),k()(o,c["a"].TYPE_COMMANDRESPONSE,function(e,t){var n=e.payload,o=t.dispatch;N["b"].$emit(r["h"].COMMAND_RESPONSE,n),q(o,r["w"].TYPE_INFO,"Command response received",n)}),o),Z=function(e){var t=e.body,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=JSON.parse(t),a=n.dispatch;return o.messageClass===c["a"].CLASS_NOTIFICATION&&a("view/addToKlabLog",o,{root:!0}),Object.prototype.hasOwnProperty.call(J,o.type)?J[o.type](o,n):(console.warn("Unknown parser ".concat(o.type)),!1)},$={stomp_onconnect:function(e,t){var n=e.commit;n("STOMP_CONNECTION_STATE",r["f"].CONNECTION_UP),n("STOMP_RECONNECTIONS_ATTEMPT_RESET"),n("STOMP_MESSAGE",t)},stomp_onclose:function(e){var t=e.commit;t("STOMP_CONNECTION_STATE",r["f"].CONNECTION_DOWN)},stomp_onerror:function(e,t){var n=e.dispatch;n("setConnectionState",{state:r["f"].CONNECTION_ERROR,message:t})},setConnectionState:function(e,t){var n=e.commit,o=t.state,a=t.message;n("STOMP_CONNECTION_STATE",o),n("STOMP_ERROR",a)},stomp_onmessage:function(e,t){var n=e.commit;n("STOMP_MESSAGE",t),Z(t,e)},stomp_onsubscribe:function(e,t){var n=e.commit;n("STOMP_SUBSCRIBED",t)},stomp_reconnect:function(e,t){var n=e.commit;n("STOMP_RECONNECTIONS_ATTEMPT",t),n("STOMP_CONNECTION_STATE",r["f"].CONNECTION_WORKING)},stomp_onsend:function(e,t){var n=e.commit,o=t.message;n("STOMP_SEND_MESSAGE",o)},stomp_onerrorsend:function(e,t){var n=e.commit;n("STOMP_QUEUE_MESSAGE",t)},stomp_cleanqueue:function(e){var t=e.commit;t("STOMP_CLEAN_QUEUE")},taskStart:function(e,t){var n=e.commit,o=e.dispatch;o("view/setSpinner",p()({},r["H"].SPINNER_LOADING,{owner:t.id}),{root:!0}),n("TASK_START",t)},taskAbort:function(e,t){var n=e.commit,o=e.dispatch;n("TASK_END",t),o("view/setSpinner",p()({},r["H"].SPINNER_STOPPED,{owner:t.id}),{root:!0})},taskEnd:function(e,t){var n=e.commit,o=e.dispatch;n("TASK_END",t),o("view/setSpinner",p()({},r["H"].SPINNER_STOPPED,{owner:t.id}),{root:!0})}},ee={namespaced:!0,state:K,getters:X,mutations:Q,actions:$};a["a"].use(i["a"]);var te=new i["a"].Store({modules:{view:C,data:B,stomp:ee}});t["a"]=te},4678:function(e,t,n){var o={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d833","./ar-tn.js":"6d833","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function a(e){var t=i(e);return n(t)}function i(e){var t=o[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}a.keys=function(){return Object.keys(o)},a.resolve=i,e.exports=a,a.id="4678"},"7cca":function(e,t,n){"use strict";n.d(t,"g",function(){return l}),n.d(t,"s",function(){return u}),n.d(t,"u",function(){return d}),n.d(t,"M",function(){return E}),n.d(t,"N",function(){return f}),n.d(t,"v",function(){return T}),n.d(t,"F",function(){return p}),n.d(t,"Q",function(){return S}),n.d(t,"f",function(){return m}),n.d(t,"w",function(){return O}),n.d(t,"y",function(){return b}),n.d(t,"A",function(){return A}),n.d(t,"q",function(){return _}),n.d(t,"P",function(){return I}),n.d(t,"d",function(){return v}),n.d(t,"e",function(){return N}),n.d(t,"H",function(){return R}),n.d(t,"p",function(){return C}),n.d(t,"i",function(){return g}),n.d(t,"h",function(){return w}),n.d(t,"B",function(){return L}),n.d(t,"D",function(){return P}),n.d(t,"C",function(){return D}),n.d(t,"x",function(){return M}),n.d(t,"L",function(){return y}),n.d(t,"E",function(){return x}),n.d(t,"G",function(){return k}),n.d(t,"r",function(){return U}),n.d(t,"z",function(){return F}),n.d(t,"t",function(){return Y}),n.d(t,"O",function(){return W}),n.d(t,"o",function(){return G}),n.d(t,"a",function(){return j}),n.d(t,"c",function(){return H}),n.d(t,"b",function(){return z}),n.d(t,"k",function(){return K}),n.d(t,"j",function(){return X}),n.d(t,"K",function(){return Q}),n.d(t,"J",function(){return q}),n.d(t,"n",function(){return J}),n.d(t,"l",function(){return Z}),n.d(t,"m",function(){return $}),n.d(t,"I",function(){return ee});var o,a=n("9523"),i=n.n(a),r=(n("f559"),n("cadf"),n("456d"),n("ac6a"),n("3156")),c=n.n(r),s=n("e7d8"),l={EMPTY_MAP_SELECTION:{pixelSelected:null,layerSelected:null,value:null,locked:!1},HIST_MAX_LENGTH:50,CHILDREN_TO_ASK_FOR:25,SEARCHBAR_SIZE:512,SEARCHBAR_INCREMENT:128,MAX_SEARCHBAR_INCREMENTS:6,TARGET_DATAFLOW:"DATAFLOW",TARGET_PROVENANCE:"PROVENANCE",GRAPH_DATAFLOW:"dataflow",GRAPH_PROVENANCE_FULL:"provenance_full",GRAPH_PROVENANCE_SIMPLIFIED:"provenance_simplified"},u=[{flowchart:null,graph:null,updatable:!1,visible:!1,target:l.TARGET_DATAFLOW,type:l.GRAPH_DATAFLOW,label:"Dataflow"},{flowchart:null,graph:null,updatable:!1,visible:!1,target:l.TARGET_PROVENANCE,type:l.GRAPH_PROVENANCE_FULL,label:"Provenance full"},{flowchart:null,graph:null,updatable:!1,visible:!1,target:l.TARGET_PROVENANCE,type:l.GRAPH_PROVENANCE_SIMPLIFIED,label:"Provenance simplified"}],d={LEFTMENU_MAXSIZE:512,LEFTMENU_MINSIZE:80,LEFTMENU_DOCUMENTATION_SIZE:320,LEFTMENU_MAXIMIZED:"max",LEFTMENU_MINIMIZED:"min",LEFTMENU_HIDDEN:"hidden",DATA_VIEWER_COMPONENT:"klab-main-control",DOCKED_DATA_VIEWER_COMPONENT:"docked-main-control",REPORT_VIEWER_COMPONENT:"reports-details",DOCUMENTATION_VIEWER_COMPONENT:"documentation-tree",DATAFLOW_VIEWER_COMPONENT:"dataflow-details",DATAFLOW_INFO_COMPONENT:"dataflow-info",PROVENANCE_VIEWER_COMPONENT:"provenance-details",LOG_COMPONENT:"klab-log-pane"},E={DATA_VIEWER:{name:"DataViewer",leftMenuState:d.LEFTMENU_HIDDEN,leftMenuContent:d.DATA_VIEWER_COMPONENT,mainControl:!0,hasSearch:!0},DOCKED_DATA_VIEWER:{name:"DataViewer",leftMenuState:d.LEFTMENU_MAXIMIZED,leftMenuContent:d.DOCKED_DATA_VIEWER_COMPONENT,mainControl:!1,hasSearch:!0},DOCUMENTATION_VIEWER:{name:"KlabDocumentation",leftMenuState:d.LEFTMENU_MINIMIZED,leftMenuContent:d.DOCUMENTATION_VIEWER_COMPONENT,mainControl:!1,hasSearch:!1},REPORT_VIEWER:{name:"ReportViewer",leftMenuState:d.LEFTMENU_MINIMIZED,leftMenuContent:d.REPORT_VIEWER_COMPONENT,mainControl:!1,hasSearch:!1},DATAFLOW_VIEWER:{name:"DataflowViewer",leftMenuState:d.LEFTMENU_MINIMIZED,leftMenuContent:d.DATAFLOW_VIEWER_COMPONENT,mainControl:!1,hasSearch:!1},PROVENANCE_VIEWER:{name:"ProvenanceViewer",leftMenuState:d.LEFTMENU_MINIMIZED,leftMenuContent:d.PROVENANCE_VIEWER_COMPONENT,mainControl:!1,hasSearch:!1}},f={VIEW_MAP:{component:"MapViewer",label:"Maps",hideable:!1,forceNew:!1},VIEW_CHART:{component:"ChartViewer",label:"Chart",hideable:!0,forceNew:!0},VIEW_GRAPH:{component:"GraphViewer",label:"Graph",hideable:!0,forceNew:!0},VIEW_BLOB:{component:"BlobViewer",label:"Blob",hideable:!1,forceNew:!1},VIEW_UNKNOWN:{component:"UnknownViewer",label:"Under construction",hideable:!1,forceNew:!1}},T={CONCEPT:{label:"Concept",symbol:"C",color:"sem-types",rgb:"rgb(38, 50, 56)"},PREFIX_OPERATOR:{label:"Prefix operator",symbol:"O",color:"sem-types",rgb:"rgb(38, 50, 56)"},INFIX_OPERATOR:{label:"Infix operator",symbol:"O",color:"sem-types",rgb:"rgb(38, 50, 56)"},OBSERVATION:{label:"Observation",symbol:"O",color:"sem-types",rgb:"rgb(38, 50, 56)"},MODEL:{label:"Model",symbol:"M",color:"sem-types",rgb:"rgb(38, 50, 56)"},MODIFIER:{label:"Modifier",symbol:"O",color:"sem-types",rgb:"rgb(38, 50, 56)"},PRESET_OBSERVABLE:{label:"Preset observable",symbol:"O",color:"sem-preset-observable",rgb:"rgb(240, 240, 240)"},SEPARATOR:{label:"Separator",symbol:"S",color:"sem-separator",rgb:"rgb(10, 10, 10)"},NEXT_TOKENS:{TOKEN:"TOKEN",TEXT:"TEXT",INTEGER:"INTEGER",DOUBLE:"DOUBLE",BOOLEAN:"BOOLEAN",UNIT:"UNIT",CURRENCY:"CURRENCY"}},p={QUALITY:{label:"Quality",symbol:"Q",color:"sem-quality",rgb:"rgb(0, 153, 0)"},SUBJECT:{label:"Subject",symbol:"S",color:"sem-subject",rgb:"rgb(153, 76, 0)"},IDENTITY:{label:"identity",symbol:"Id",color:"sem-identity",rgb:"rgb(0, 102, 204)"},ATTRIBUTE:{label:"Attribute",symbol:"A",color:"sem-attribute",rgb:"rgb(0, 102, 204)"},REALM:{label:"Realm",symbol:"R",color:"sem-realm",rgb:"rgb(0, 102, 204)"},TRAIT:{label:"Trait",symbol:"T",color:"sem-trait",rgb:"rgb(0, 102, 204)"},EVENT:{label:"Event",symbol:"E",color:"sem-event",rgb:"rgb(53, 153, 0)"},RELATIONSHIP:{label:"Relationship",symbol:"R",color:"sem-relationship",rgb:"rgb(210, 170, 0)"},PROCESS:{label:"Process",symbol:"P",color:"sem-process",rgb:"rgb(204, 0, 0)"},ROLE:{label:"Role",symbol:"R",color:"sem-role",rgb:"rgb(0, 86, 163)"},CONFIGURATION:{label:"Configuration",symbol:"C",color:"sem-configuration",rgb:"rgb(98, 98, 98)"},DOMAIN:{label:"Domain",symbol:"D",color:"sem-domain",rgb:"rgb(240, 240, 240)"}},S={nodes:[],links:[],showMenu:!1,selected:{},showSelection:!1,linksSelected:{},options:{canvas:!1,size:{w:500,h:500},force:350,offset:{x:0,y:0},nodeSize:20,linkWidth:1,nodeLabels:!0,linkLabels:!1,strLinks:!0}},m={CONNECTION_UNKNOWN:"UNKNOWN",CONNECTION_UP:"UP",CONNECTION_DOWN:"DOWN",CONNECTION_WORKING:"WORKING",CONNECTION_ERROR:"ERROR",UNKNOWN_IDENTITY:"UNKNOWN_IDENTITY"},O={TYPE_DEBUG:"debug",TYPE_WARNING:"warning",TYPE_ERROR:"error",TYPE_INFO:"info",TYPE_MESSAGE:"MSG",TYPE_ALL:"ALL"},b={TYPE_PROCESS:"PROCESS",TYPE_STATE:"STATE",TYPE_SUBJECT:"SUBJECT",TYPE_CONFIGURATION:"CONFIGURATION",TYPE_EVENT:"EVENT",TYPE_RELATIONSHIP:"RELATIONSHIP",TYPE_GROUP:"GROUP",TYPE_VIEW:"VIEW",TYPE_INITIAL:"INITIAL"},A={shapeType:"POINT",encodedShape:"POINT (40.299841 9.343971)",id:null,label:"DEFAULT",parentId:-1,visible:!0,spatialProjection:"EPSG:4326",observationType:b.TYPE_INITIAL},_={TYPE_RASTER:"RASTER",TYPE_SHAPE:"SHAPE",TYPE_SCALAR:"SCALAR",TYPE_TIMESERIES:"TIMESERIES",TYPE_NETWORK:"NETWORK",TYPE_PROPORTIONS:"PROPORTIONS",TYPE_COLORMAP:"COLORMAP",SHAPE_POLYGON:"POLYGON",SHAPE_POINT:"POINT",PARAM_VIEWPORT_SIZE:800,PARAM_VIEWPORT_MAX_SIZE:7680,PARAM_VIEWPORT_MULTIPLIER:1},I={PARAMS_MODE:"mode",PARAMS_MODE_IDE:"ide",PARAMS_MODE_STANDALONE:"standalone",PARAMS_SESSION:"session",PARAMS_LOG:"log",PARAMS_LOG_HIDDEN:"hidden",PARAMS_LOG_VISIBLE:"visible",PARAMS_LOCAL_HELP:"localhelp",PARAMS_APP:"app",PARAMS_DEBUG_REMOTE:"remote-debug",PARAMS_STOMP_DEBUG:"stomp-debug",PARAMS_TOKEN:"token",COOKIE_LANG:"klab_exp_lang",COOKIE_SESSION:"klab_session",COOKIE_MODE:"klab_mode",COOKIE_LOG:"klab_log",COOKIE_BASELAYER:"klab_baselayer",COOKIE_MAPDEFAULT:"klab_mapdefault",COOKIE_SAVELOCATION:"klab_saveLocation",COOKIE_HELP_ON_START:"klab_helponstart",COOKIE_DOCKED_STATUS:"klab_dockedstatus",COOKIE_NOTIFICATIONS:"klab_notifications",COOKIE_TERMINAL_SIZE:"klab_terminalsize",COOKIE_VIEW_COORDINATES:"klab_coordinates",LOCAL_STORAGE_APP_ID:"klab:appId",LOCAL_STORAGE_TERMINAL_COMMANDS:"klab:terminalCommands"},v={NOTIFICATIONS_URL:"".concat("https://integratedmodelling.org","/statics/notifications/index.php")},N={MAIN_COLOR:"rgb(17, 170, 187)",MAIN_GREEN:"rgb(231,255,219)",MAIN_CYAN:"rgb(228,253,255)",MAIN_YELLOW:"rgb(255, 195, 0)",MAIN_RED_HEX:"#ff6464",MAIN_COLOR_HEX:"#11aabb",MAIN_GREEN_HEX:"#e7ffdb",MAIN_CYAN_HEX:"#e4fdff",MAIN_YELLOW_HEX:"#ffc300",MAIN_RED:"rgb(255, 100, 100)",PRIMARY:"#DA1F26",SECONDARY:"#26A69A",TERTIARY:"#555",NEUTRAL:"#E0E1E2",POSITIVE:"#19A019",NEGATIVE:"#DB2828",INFO:"#1E88CE",WARNING:"#F2C037",PRIMARY_NAME:"primary",SECONDARY_NAME:"secondary",TERTIARY_NAME:"tertiary",POSITIVE_NAME:"positive",NEGATIVE_NAME:"negative",INFO_NAME:"info",WARNING_NAME:"warning"},h={SPINNER_STOPPED_COLOR:N.MAIN_COLOR,SPINNER_LOADING_COLOR:N.MAIN_YELLOW,SPINNER_MC_RED:N.MAIN_RED,SPINNER_ERROR_COLOR:N.NEGATIVE_NAME},R={SPINNER_LOADING:{color:h.SPINNER_LOADING_COLOR,animated:!0},SPINNER_STOPPED:{color:h.SPINNER_STOPPED_COLOR,animated:!1},SPINNER_ERROR:{color:h.SPINNER_ERROR_COLOR,animated:!1,time:2,then:{color:h.SPINNER_STOPPED_COLOR,animated:!1}}},C={UNKNOWN_SEARCH_OBSERVATION:"$$UNKNOWN_SEARCH_OBSERVATION$$"},g={WAITING:"waiting",PROCESSING:"processing",PROCESSED:"processed",ABORTED:"aborted"},w={MAP_SIZE_CHANGED:"mapsizechanged",UPDATE_FOLDER:"updatefolder",GRAPH_NODE_SELECTED:"graphnodeselected",SPINNER_DOUBLE_CLICK:"spinnerdoubleclick",SHOW_NODE:"shownode",ASK_FOR_UNDOCK:"askforundock",ASK_FOR_SUGGESTIONS:"askforsuggestions",NEED_FIT_MAP:"needfitmap",TREE_VISIBLE:"treevisible",VIEWER_CLICK:"viewerclick",VIEWER_SELECTED:"viewerselected",VIEWER_CLOSED:"viewerclosed",OBSERVATION_INFO_CLOSED:"observationinfoclosed",SEND_REGION_OF_INTEREST:"sendregionofinterest",NEED_HELP:"needhelp",OBSERVATION_BY_TIME:"observationbytime",NEED_LAYER_BUFFER:"needlayerbuffer",COMPONENT_ACTION:"componentaction",LAYOUT_CHANGED:"layoutchanged",SELECT_ELEMENT:"selectelement",PROPOSED_CONTEXT_CHANGE:"proposedcontextchange",NEW_SCHEDULING:"newscheduling",SHOW_NOTIFICATIONS:"shownotifications",TERMINAL_FOCUSED:"terminalfocused",COMMAND_RESPONSE:"commandresponse",REFRESH_DOCUMENTATION:"refreshdocumentation",PRINT_DOCUMENTATION:"printdocumentation",SHOW_DOCUMENTATION:"showdowcumentation",FONT_SIZE_CHANGE:"fontsizechange",DOWNLOAD_URL:"downloadurl",RESET_CONTEXT:"resetcontext",VIEW_ACTION:"viewaction",SESSION_CUT:"sessioncut",SHOW_DATA_INFO:"showdatainfo"},L={ST_SPACE:"space",ST_TIME:"time"},P={CENTIMETERS:"cm",METERS:"m",KILOMETERS:"km",MILLENNIUM:"MILLENNIUM",CENTURY:"CENTURY",DECADE:"DECADE",YEAR:"YEAR",MONTH:"MONTH",WEEK:"WEEK",DAY:"DAY",HOUR:"HOUR",MINUTE:"MINUTE",SECOND:"SECOND",MILLISECOND:"MILLISECOND"},D=[{i18nlabel:"unitCentimeter",type:L.ST_SPACE,value:P.CENTIMETERS,selectable:!0},{i18nlabel:"unitMeter",type:L.ST_SPACE,value:P.METERS,selectable:!0},{i18nlabel:"unitKilometer",type:L.ST_SPACE,value:P.KILOMETERS,selectable:!0},{i18nlabel:"unitMillennium",type:L.ST_TIME,value:P.MILLENNIUM,selectable:!1,momentShorthand:"y",momentMultiplier:1e3,index:0},{i18nlabel:"unitCentury",type:L.ST_TIME,value:P.CENTURY,selectable:!0,momentShorthand:"y",momentMultiplier:100,index:1},{i18nlabel:"unitDecade",type:L.ST_TIME,value:P.DECADE,selectable:!0,momentShorthand:"y",momentMultiplier:10,index:2},{i18nlabel:"unitYear",type:L.ST_TIME,value:P.YEAR,selectable:!0,momentShorthand:"y",momentMultiplier:1,index:3},{i18nlabel:"unitMonth",type:L.ST_TIME,value:P.MONTH,selectable:!0,momentShorthand:"M",momentMultiplier:1,index:4},{i18nlabel:"unitWeek",type:L.ST_TIME,value:P.WEEK,selectable:!0,momentShorthand:"W",momentMultiplier:1,index:5},{i18nlabel:"unitDay",type:L.ST_TIME,value:P.DAY,selectable:!0,momentShorthand:"d",momentMultiplier:1,index:6},{i18nlabel:"unitHour",type:L.ST_TIME,value:P.HOUR,selectable:!0,momentShorthand:"h",momentMultiplier:1,index:7},{i18nlabel:"unitMinute",type:L.ST_TIME,value:P.MINUTE,selectable:!0,momentShorthand:"m",momentMultiplier:1,index:8},{i18nlabel:"unitSecond",type:L.ST_TIME,value:P.SECOND,selectable:!1,momentShorthand:"s",momentMultiplier:1,index:9},{i18nlabel:"unitMillisecond",type:L.ST_TIME,value:P.MILLISECOND,selectable:!1,momentShorthand:"ms",momentMultiplier:1,index:10}],M={SPATIAL_TRANSLATION:"SpatialTranslation",SPATIAL_CHANGE:"SpatialChange",TERMINATION:"Termination",STRUCTURE_CHANGE:"StructureChange",NAME_CHANGE:"NameChange",ATTRIBUTE_CHANGE:"AttributeChange",VALUE_CHANGE:"ValueChange",BRING_FORWARD:"BringForward",CONTEXTUALIZATION_COMPLETED:"ContextualizationCompleted"},y={DEFAULT_STEP:864e5,DEFAULT_INTERVAL:100,PIXEL_TIME_MULTIPLIER:1,MIN_PLAY_TIME:6e4,MAX_PLAY_TIME:6e4},x={SEMANTIC:"SEMANTIC",FREETEXT:"FREETEXT"},k={INTERACTIVE_MODE:"InteractiveMode",LOCK_SPACE:"LockSpace",LOCK_TIME:"LockTime"},U={DEFAULT_MODAL_SIZE:{width:1024,height:768},DEFAULT_PROPORTIONS:{width:4,height:3},DEFAULT_WIDTH_PERCENTAGE:90,DEFAULT_HEIGHT_PERCENTAGE:90,DEFAULT_HELP_BASE_URL:"https://integratedmodelling.org/statics/help"},V={actionLabel:null,actionId:null,downloadUrl:null,downloadFileExtension:null,enabled:!1,separator:!1,submenu:[]},F={SEPARATOR_ITEM:c()({},V,{enabled:!0,separator:!0}),RECONTEXTUALIZATION_ITEM:c()({},V,{actionId:"Recontextualization",actionLabel:Object(s["b"])().tc("label.recontextualization"),enabled:!0})},Y=[{viewClass:"table",label:Object(s["b"])().tc("label.kwTable"),icon:"mdi-table",exportIcons:[{type:"xlsx",icon:"mdi-file-excel"}]},{viewClass:"chart",label:Object(s["b"])().tc("label.kwChart"),icon:"mdi-chart-bar",exportIcons:[]}],W={OBSERVATION:"Observation",VIEW:"View",TREE:"Tree",REPORT:"Report",DATAFLOW:"Dataflow",SHOW:"Show",HIDE:"Hide",URL:"Url",DOWNLOAD:"Download"},G={RESOURCE_VALIDATION:"ResourceValidation"},j={PANEL:"Panel",ALERT:"Alert",PUSH_BUTTON:"PushButton",CHECK_BUTTON:"CheckButton",RADIO_BUTTON:"RadioButton",TEXT_INPUT:"TextInput",COMBO:"Combo",GROUP:"Group",MAP:"Map",TREE:"Tree",TREE_ITEM:"TreeItem",CONFIRM:"Confirm",VIEW:"View",CONTAINER:"Container",MULTICONTAINER:"MultiContainer",LABEL:"Label",TEXT:"Text",TABLE:"Table",NOTIFICATION:"Notification",INPUT_GROUP:"InputGroup",SEPARATOR:"Separator",MODAL_WINDOW:"ModalWindow",WINDOW:"Window",BROWSER:"Browser",IMAGE:"Image"},H={USER_ACTION:"UserAction",ENABLE:"Enable",HIDE:"Hide",UPDATE:"Update",MENU_ACTION:"MenuAction"},z={LABEL_MIN_WIDTH:"150px",DEFAULT_LOGO:"statics/klab-logo.png"},B=/^\d+\D{1,2}/,K=function(e){var t={};return Object.keys(e.attributes).forEach(function(n){var o=e.attributes[n];switch(n){case"hidden":t.display="none";break;case"width":"content"===o?t["flex-basis"]="0":o.startsWith("col")?t["flex-grow"]=o.substring(3):t.width="".concat(o).concat(B.test(o)?"":"px");break;case"height":t.height="".concat(o).concat(B.test(o)?"":"px");break;case"hfill":e.attributes.hbox&&(t["flex-wrap"]="nowrap"),t.width="100%";break;case"vfill":t["flex-grow"]=1;break;case"top":case"bottom":case"center":e.attributes.parentAttributes&&e.attributes.parentAttributes.hbox?t["align-self"]="top"===n?"flex-start":"bottom"===n?"flex-end":"center":t["vertical-align"]=n;break;case"hbox":case"vbox":t["flex-direction"]="hbox"===n?"row":"column";break;case"left":case"right":t["text-align"]=n;break;default:break}}),t},X={dark:{"main-color":"white","positive-color":"rgb(116, 212, 116)","negative-color":"rgb(250, 117, 117)","background-color":"rgb(18, 18, 18)","alt-background":"rgb(99,99,99)","text-color":"white","control-text-color":"black","title-color":"white","alt-color":"rgb(0, 204, 204)","font-family":"'Roboto', '-apple-system', 'Helvetica Neue', Helvetica, Arial, sans-serif","font-size":"1em","title-size":"26px","subtitle-size":"16px","line-height":"1em"},light:{"main-color":"black","background-color":"white","alt-background":"rgb(233,233,233)","text-color":"black","control-text-color":"white","title-color":"black","alt-color":"rgb(0,138,150)","font-family":"'Roboto', '-apple-system', 'Helvetica Neue', Helvetica, Arial, sans-serif","font-size":"1em","title-size":"26px","subtitle-size":"16px","line-height":"1em"},worst:{"main-color":"green","background-color":"yellow","alt-background":"fuchsia","text-color":"red","control-text-color":"yellow","title-color":"indigo","alt-color":"blue","font-family":"comics","font-size":"1.2em","title-size":"32px","subtitle-size":"20px","line-height":"1.2em"},default:{"main-color":"rgb(0, 92, 129)","background-color":"rgb(250, 250, 250)","alt-background":"rgb(222, 222, 222)","text-color":"rgb(0, 92, 129)","control-text-color":"rgb(250, 250, 250)","title-color":"rgb(0, 92, 129)","alt-color":"rgb(0, 138, 150)","font-family":"'Roboto', '-apple-system', 'Helvetica Neue', Helvetica, Arial, sans-serif","font-size":"1em","title-size":"26px","subtitle-size":"16px","line-height":"1em"}},Q={DEBUGGER:"Debugger",CONSOLE:"Console"},q=[{value:"80x24",label:"80x24",cols:80,rows:24},{value:"80x43",label:"80x43",cols:80,rows:43},{value:"132x24",label:"132x24",cols:132,rows:24},{value:"132x43",label:"132x43",cols:132,rows:43}],J={REPORT:"REPORT",FIGURES:"FIGURES",TABLES:"TABLES",RESOURCES:"RESOURCES",MODELS:"MODELS",PROVENANCE:"PROVENANCE",REFERENCES:"REFERENCES"},Z={REPORT:"Report",SECTION:"Section",PARAGRAPH:"Paragraph",TABLE:"Table",CHART:"Chart",FIGURE:"Figure",RESOURCE:"Resource",MODEL:"Model",REFERENCE:"Reference",CITATION:"Citation",VIEW:"View",LINK:"Link",ANCHOR:"Anchor"},$=(o={},i()(o,Z.REPORT,J.REPORT),i()(o,Z.SECTION,J.REPORT),i()(o,Z.PARAGRAPH,J.REPORT),i()(o,Z.TABLE,J.TABLES),i()(o,Z.CHART,J.REPORT),i()(o,Z.FIGURE,J.FIGURES),i()(o,Z.RESOURCE,J.RESOURCES),i()(o,Z.MODEL,J.MODELS),i()(o,Z.REFERENCE,J.REPORT),i()(o,Z.CITATION,J.REPORT),i()(o,Z.VIEW,J.REPORT),i()(o,Z.LINK,J.REPORT),i()(o,Z.ANCHOR,J.REPORT),o),ee={NUMBER:"NUMBER",BOOLEAN:"BOOLEAN",CONCEPT:"CONCEPT",PROCESS:"PROCESS",EVENT:"EVENT",OBJECT:"OBJECT",TEXT:"TEXT",VALUE:"VALUE",RANGE:"RANGE",ENUM:"ENUM",EXTENT:"EXTENT",TEMPORALEXTENT:"TEMPORALEXTENT",SPATIALEXTENT:"SPATIALEXTENT",ANNOTATION:"ANNOTATION",LIST:"LIST",VOID:"VOID",MAP:"MAP",TABLE:"TABLE"}},"7e6d":function(e,t,n){},8449:function(e,t,n){"use strict";n.d(t,"b",function(){return d});n("ac6a"),n("cadf"),n("456d");var o=n("7037"),a=n.n(o),i=(n("386d"),n("7cca")),r=n("1442"),c=n("8fec"),s=n("be3b"),l=n("741d"),u=n("2b0e"),d=new u["a"];t["a"]=function(e){var t,n=e.store,o=new URLSearchParams(window.location.search),E=o.get(i["P"].PARAMS_SESSION)||l["a"].get(i["P"].COOKIE_SESSION),f=o.get(i["P"].PARAMS_MODE)||l["a"].get(i["P"].COOKIE_MODE)||i["P"].PARAMS_MODE_IDE,T=o.get(i["P"].PARAMS_LOG)||l["a"].get(i["P"].COOKIE_LOG)||i["P"].PARAMS_LOG_HIDDEN,p=l["a"].get(i["P"].COOKIE_BASELAYER)||r["d"].DEFAULT_BASELAYER,S=l["a"].get(i["P"].COOKIE_MAPDEFAULT)||{center:r["b"].center,zoom:r["b"].zoom},m=!l["a"].has(i["P"].COOKIE_SAVELOCATION)||l["a"].get(i["P"].COOKIE_SAVELOCATION),O=l["a"].has(i["P"].COOKIE_DOCKED_STATUS),b=o.get(i["P"].PARAMS_DEBUG_REMOTE);if(b)t="true"!==b;else{var A=window.location.hostname.toLowerCase();t=-1===A.indexOf("integratedmodelling.org")&&-1===A.indexOf("klab.officialstatistics.org")}var _=o.get(i["P"].PARAMS_TOKEN);u["a"].mixin({methods:{hexToRgbValues:function(e){if("undefined"!==typeof e){var t=c["b"](e);return"".concat(t.r,", ").concat(t.g,", ").concat(t.b)}return"black"},isAcceptedKey:function(e){var t="abcdefghijklmnopqrstuvwxyz0123456789.<>=!()+-*/^";return e=e.toLowerCase(),-1!==t.indexOf(e)}}}),u["a"].prototype.$eventBus=d,n.state.data.session=E,u["a"].prototype.$mode=f,l["a"].set(i["P"].COOKIE_MODE,f,{expires:30,path:"/",secure:!0}),u["a"].prototype.$logVisibility=T,l["a"].set(i["P"].COOKIE_LOG,T,{expires:30,path:"/",secure:!0}),u["a"].prototype.$baseLayer=p,l["a"].set(i["P"].COOKIE_BASELAYER,p,{expires:30,path:"/",secure:!0}),u["a"].prototype.$mapDefaults=S,n.state.view.saveLocation=m,l["a"].set(i["P"].COOKIE_SAVELOCATION,m,{expires:30,path:"/",secure:!0}),n.state.view.saveDockedStatus=O,O&&(n.state.view.mainControlDocked=l["a"].get(i["P"].COOKIE_DOCKED_STATUS)),n.state.view.viewCoordinates=l["a"].has(i["P"].COOKIE_VIEW_COORDINATES)&&l["a"].get(i["P"].COOKIE_VIEW_COORDINATES),n.state.data.local=t,n.state.data.token=_,console.info("Session: ".concat(E," / mode: ").concat(f));var I=o.get(i["P"].PARAMS_LOCAL_HELP);n.state.view.helpBaseUrl=I?"http://".concat(I):i["r"].DEFAULT_HELP_BASE_URL;var v=o.get(i["P"].PARAMS_APP);v&&(n.state.view.klabApp=v),s["a"].get("".concat("").concat("/modeler","/capabilities"),{}).then(function(e){var t=e.data;if("object"!==a()(t))throw Error("Error asking for capabilities: no data");if(0===Object.keys(t).length)throw Error("Capabilities are empty, check it");n.state.data.capabilities=t}).catch(function(e){console.error("Error trying to retrieve capabilities: ".concat(e))})}},"8fec":function(e,t,n){"use strict";n.d(t,"d",function(){return a}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return c}),n.d(t,"a",function(){return s});n("c5f6"),n("ee1d"),n("a481"),n("6b54");var o=/^rgb(a)?\((\d{1,3}),(\d{1,3}),(\d{1,3}),?([01]?\.?\d*?)?\)$/;function a(e){var t=e.r,n=e.g,o=e.b,a=e.a,i=void 0!==a;if(t=Math.round(t),n=Math.round(n),o=Math.round(o),t>255||n>255||o>255||i&&a>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return a=i?(256|Math.round(255*a/100)).toString(16).slice(1):"","#".concat((o|n<<8|t<<16|1<<24).toString(16).slice(1)).concat(a)}function i(e){if("string"!==typeof e)throw new TypeError("Expected a string");e=e.replace(/^#/,""),3===e.length?e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]:4===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var t=parseInt(e,16);return e.length>6?{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:Math.round((255&t)/2.55)}:{r:t>>16,g:t>>8&255,b:255&t}}function r(e){if("string"!==typeof e)throw new TypeError("Expected a string");var t=e.replace(/ /g,""),n=o.exec(t);if(null===n)return i(t);var a={r:Math.min(255,parseInt(n[2],10)),g:Math.min(255,parseInt(n[3],10)),b:Math.min(255,parseInt(n[4],10))};if(n[1]){var r=parseFloat(n[5]);a.a=100*Math.min(1,!0===Number.isNaN(r)?1:r)}return a}function c(e,t){if("string"!==typeof e)throw new TypeError("Expected a string as color");if("number"!==typeof t)throw new TypeError("Expected a numeric percent");var n=r(e),o=t<0?0:255,a=Math.abs(t)/100,i=n.r,c=n.g,s=n.b;return"#".concat((16777216+65536*(Math.round((o-i)*a)+i)+256*(Math.round((o-c)*a)+c)+(Math.round((o-s)*a)+s)).toString(16).slice(1))}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body;if("string"!==typeof e)throw new TypeError("Expected a string as color");if(!(t instanceof Element))throw new TypeError("Expected a DOM element");return getComputedStyle(t).getPropertyValue("--q-color-".concat(e)).trim()||null}},b0b2:function(e,t,n){"use strict";n.d(t,"a",function(){return P}),n.d(t,"h",function(){return M}),n.d(t,"e",function(){return x}),n.d(t,"f",function(){return k}),n.d(t,"g",function(){return U}),n.d(t,"b",function(){return V}),n.d(t,"k",function(){return F}),n.d(t,"j",function(){return Y}),n.d(t,"i",function(){return W}),n.d(t,"l",function(){return G}),n.d(t,"c",function(){return H}),n.d(t,"d",function(){return z});n("4917"),n("28a5"),n("48c0"),n("6c7b"),n("ac6a");var o=n("278c"),a=n.n(o),i=(n("c5f6"),n("ee1d"),n("8fec")),r=n("256f"),c=n("5bc3"),s=n("6c77"),l=n("1442"),u=n("f403"),d=n("7a09"),E=n("9a44"),f=n("47e4"),T=n("88da"),p=n("f822"),S=n("049d"),m=n("c4c8"),O=n("c7e3"),b=n("f384"),A=n("01ae"),_=n("7f68"),I=n("881a"),v=/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/,N=i["b"],h=i["a"],R=i["d"],C={topLeft:Object(r["l"])([-180,90],l["d"].PROJ_EPSG_4326,l["d"].PROJ_EPSG_3857),bottomLeft:Object(r["l"])([-180,-90],l["d"].PROJ_EPSG_4326,l["d"].PROJ_EPSG_3857),topRight:Object(r["l"])([180,90],l["d"].PROJ_EPSG_4326,l["d"].PROJ_EPSG_3857),bottomRight:Object(r["l"])([180,-90],l["d"].PROJ_EPSG_4326,l["d"].PROJ_EPSG_3857)},g=new _["b"],w={left:g.createLineString([new _["a"](C.topLeft[0],C.topLeft[1]),new _["a"](C.bottomLeft[0],C.bottomLeft[1])]),right:g.createLineString([new _["a"](C.topRight[0],C.topRight[1]),new _["a"](C.bottomRight[0],C.bottomRight[1])])},L=g.createPolygon([new _["a"](C.topLeft[0],C.topLeft[1]),new _["a"](C.topRight[0],C.topRight[1]),new _["a"](C.bottomRight[0],C.bottomRight[1]),new _["a"](C.bottomLeft[0],C.bottomLeft[1]),new _["a"](C.topLeft[0],C.topLeft[1])]);function P(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function D(e){if("string"!==typeof e)throw new TypeError("Expected a string");var t=v.exec(e);if(t){var n={r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10)};return t[4]&&(n.a=parseFloat(t[4])),n}return N(e)}function M(e){return!!Number.isNaN(1*e)&&e===e.toUpperCase()}function y(e){var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return"undefined"!==typeof t[e.toLowerCase()]?t[e.toLowerCase()]:null}function x(e){var t,n;if(0===e.indexOf("#"))n=e,t=N(e);else if(-1!==e.indexOf(","))t=D(e),n=R(t);else{if(n=h(e),null===n&&(n=y(e),null===n))throw new Error("Unknown color: ".concat(e));t=N(n)}return{rgb:t,hex:n,color:e}}function k(e,t,n){(null===e||null===t||n<1)&&console.warn("Bad colors: ".concat(e,", ").concat(t));for(var o,a,i,r=x(e).rgb,c=x(t).rgb,s=1/(n-1),l=[],u=0;u2&&void 0!==arguments[2]?arguments[2]:null,o=function(e,t,n){return e+(t-e)*n},i=[],r=Number((e.length-1)/(t-1)),c=a()(e,1);i[0]=c[0];for(var s=1;s0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),n&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n))}var F=new I["a"];F.inject(u["a"],d["a"],S["a"],c["a"],E["a"],f["a"],T["a"]);var Y=function(e){return e instanceof p["a"]&&(e=Object(c["b"])(e)),F.read(e)},W=function(e){return new m["a"](e).isValid()},G=function(e,t){return O["a"].union(e,t)};function j(e){var t=[];return O["a"].intersection(e,w.left)&&t.push(w.left),O["a"].intersection(e,w.right)&&t.push(w.right),t}function H(e){var t=j(e);if(0===t.length)return e;var n=e.getExteriorRing();t.forEach(function(e){n=O["a"].union(n,e)});var o=new A["a"];o.add(n);for(var a=o.getPolygons(),i=null,r=a.iterator();r.hasNext();){var c=r.next();if(!b["a"].contains(L,c)){for(var s=[],l=c.getCoordinates(),u=l.length,d=0;d0&&void 0!==arguments[0]?arguments[0]:null;if(null===e)return!1;var t=e.geometryTypes;return t&&"undefined"!==typeof t.find(function(e){return e===l["q"].TYPE_RASTER})},g=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l["g"].HIST_MAX_LENGTH;e.push(t),e.length>n&&e.shift()},w=function(e,t){if(0===e.length)return null;if(void 0===t)return e[e.length-1];var n=s()(e).reverse().find(function(e){return e.type===t});return"undefined"!==typeof n?n:null},L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;if(e&&null!==t&&"function"===typeof n){var o=[].reduce,a=function e(a,i){if(a||!i)return a;if(Array.isArray(i))return o.call(Object(i),e,a);var r=n(i,t);return null===r&&i.children&&i.children.length>0?e(null,i.children):r};return a(null,e)}return null},P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return L(e,t,function(e,t){return e.id===t?e:null})},D=function(e){var t=null!==e.parentArtifactId||null!==e.parentId&&e.rootContextId!==e.parentId,n=null!==e.parentArtifactId?e.parentArtifactId:e.parentId,o=e.main;if(!o&&t){var a=P(d["a"].getters["data/tree"],n);null!==a&&(o=o||a.userNode)}return{node:r()({id:e.id,label:e.literalValue||e.label,observable:e.observable,type:e.shapeType,dynamic:e.dynamic||!1,needUpdate:!e.contextualized,viewerIdx:e.viewerIdx,viewerType:null!==e.viewerIdx?d["a"].getters["view/viewer"](e.viewerIdx).type:null,loading:!1,children:[],childrenCount:e.childrenCount,childrenLoaded:0,siblingsCount:e.siblingsCount,parentArtifactId:e.parentArtifactId,tickable:null!==e.viewerIdx&&!e.empty||e.isContainer||e.childrenCount>0,disabled:e.empty&&(!e.isContainer||0===e.childrenCount)||e.singleValue||e.observationType===l["y"].TYPE_PROCESS,empty:e.empty,actions:e.actions,header:e.isContainer?"folder":"default",main:e.main,userNode:o,isContainer:e.isContainer,exportFormats:e.exportFormats,rootContextId:e.rootContextId,contextId:e.contextId,observationType:e.observationType,noTick:e.singleValue||e.observationType===l["y"].TYPE_PROCESS},e.isContainer&&{childrenLoaded:0},e.siblingsCount&&{siblingsCount:e.siblingsCount},{parentId:n}),parentId:n}},M=function(e){return new Promise(function(t,n){var o=null;if(null!==e)if(o=Object(_["g"])(e),null===o){var a=e.substring(5);fetch("https://epsg.io/?format=json&q=".concat(a)).then(function(a){return a.json().then(function(a){var i=a.results;if(i&&i.length>0)for(var r=0,c=i.length;r0&&u&&u.length>0&&d&&4===d.length){var f="EPSG:".concat(l);v["a"].defs(f,u),Object(I["a"])(v["a"]),o=Object(_["g"])(f);var T=Object(_["i"])(E["d"].PROJ_EPSG_4326,o),p=Object(A["a"])([d[1],d[2],d[3],d[0]],T);o.setExtent(p),console.info("New projection registered: ".concat(f)),t(o)}else n(new Error("Some error in projection search result: ".concat(JSON.stringify(s))))}else n(new Error("Some error in projection search result: no results"))}else n(new Error("Unknown projection: ".concat(e)))})})}else t(o);else t(E["d"].PROJ_EPSG_4326)})};function y(e){return x.apply(this,arguments)}function x(){return x=a()(regeneratorRuntime.mark(function e(t){var n,o,a,i,r;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return n=t.spatialProjection,e.next=3,M(n);case 3:if(o=e.sent,a=t.encodedShape,a){e.next=7;break}return e.abrupt("return",null);case 7:return 0===a.indexOf("LINEARRING")&&(a=a.replace("LINEARRING","LINESTRING")),i=null,-1!==a.indexOf("POINT")?(r=R.readFeature(a,{dataProjection:o,featureProjection:E["d"].PROJ_EPSG_3857}),null!==r&&null!==r.getGeometry()&&(i=r.getGeometry().getFirstCoordinate())):i=R.readGeometry(a,{dataProjection:o,featureProjection:E["d"].PROJ_EPSG_3857}),t.id===t.rootContextId&&(t.zIndexOffset=0),e.abrupt("return",i);case 12:case"end":return e.stop()}},e)})),x.apply(this,arguments)}function k(e){return U.apply(this,arguments)}function U(){return U=a()(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.response?{status:t.response.data.status||t.response.status,message:t.response.data.message||t.response.data.error||t.response.data||(""!==t.response.statusText?t.response.statusText:"Unknown"),axiosError:t}:t.request?{status:t.request.status,message:t.message,axiosError:t}:{status:"UNKNOWN",message:t.message,axiosError:t},!(n instanceof Blob)){e.next=5;break}return e.next=4,n.text();case 4:n=e.sent;case 5:return e.abrupt("return",n);case 6:case"end":return e.stop()}},e)})),U.apply(this,arguments)}var V=function(e,t,n,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;d["a"].dispatch("view/setSpinner",r()({},l["H"].SPINNER_LOADING,{owner:e}),{root:!0}),N["a"].get(t,n).then(function(t){t&&o(t,function(){d["a"].dispatch("view/setSpinner",r()({},l["H"].SPINNER_STOPPED,{owner:e}),{root:!0})})}).catch(function(){var t=a()(regeneratorRuntime.mark(function t(n){var o,a;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,k(n);case 2:if(o=t.sent,a=null,null!=o&&(a=o.message),d["a"].dispatch("view/setSpinner",r()({},l["H"].SPINNER_ERROR,{owner:e,errorMessage:a}),{root:!0}),null===i){t.next=10;break}i(n),t.next=11;break;case 10:throw n;case 11:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}())},F=function(e){if("RAMP"===e.type&&e.colors.length>1&&e.colors.length<256){for(var t=[],n=[],o=e.colors.length,a=Math.floor(256/o),i=a+(256-o*a),r=0;rl["q"].PARAM_VIEWPORT_MAX_SIZE&&(a=l["q"].PARAM_VIEWPORT_MAX_SIZE),P=w.getExtent(),D="".concat("").concat(u["c"].REST_SESSION_VIEW,"data/").concat(t.id),y=new b["a"]({projection:R,imageExtent:P,url:D,style:E["e"].POLYGON_OBSERVATION_STYLE,imageLoadFunction:function(e,n){d["a"].dispatch("view/setSpinner",r()({},l["H"].SPINNER_LOADING,{owner:"".concat(n).concat(c)}),{root:!0}),d["a"].dispatch("data/setLoadingLayers",{loading:!0,observation:t}),N["a"].get(n,{params:r()({format:l["q"].TYPE_RASTER,viewport:a},-1!==A&&{locator:"T1(1){time=".concat(A,"}")}),responseType:"blob"}).then(function(o){if(o){var a=new FileReader;a.readAsDataURL(o.data),a.onload=function(){var o=e.getImage();o.src=a.result,d["a"].dispatch("view/setSpinner",r()({},l["H"].SPINNER_STOPPED,{owner:"".concat(n).concat(c)}),{root:!0}),t.tsImages.push("T".concat(c)),t.loaded=!0,d["a"].dispatch("data/setLoadingLayers",{loading:!1,observation:t}),V("cm_".concat(t.id),D,{params:r()({format:l["q"].TYPE_COLORMAP},-1!==c&&{locator:"T1(1){time=".concat(c,"}")})},function(e,n){e&&e.data&&(t.colormap=F(e.data)),n()})},a.onerror=function(e){d["a"].dispatch("view/setSpinner",r()({},l["H"].SPINNER_ERROR,{owner:"".concat(n).concat(c),errorMessage:e}),{root:!0})}}}).catch(function(e){throw d["a"].dispatch("view/setSpinner",r()({},l["H"].SPINNER_ERROR,{owner:"".concat(n).concat(c),errorMessage:e.message}),{root:!0}),d["a"].dispatch("data/setLoadingLayers",{loading:!1,observation:t}),e})}}),e.abrupt("return",new O["a"]({id:L,source:y}));case 19:return 0===g.indexOf("LINESTRING")||0===g.indexOf("MULTILINESTRING")?(x=E["e"].LNE_OBSERVATION_STYLE,t.zIndexOffset=E["d"].ZINDEX_BASE*E["d"].ZINDEX_MULTIPLIER_LINES):0===g.indexOf("POINT")||0===g.indexOf("MULTIPOINT")?(x=Object(f["d"])(E["e"].POINT_OBSERVATION_SVG_PARAM,t.label),t.zIndexOffset=E["d"].ZINDEX_BASE*E["d"].ZINDEX_MULTIPLIER_POINTS):(x=E["e"].POLYGON_OBSERVATION_STYLE,t.zIndexOffset=E["d"].ZINDEX_BASE*E["d"].ZINDEX_MULTIPLIER_POLYGONS),k=new m["a"]({geometry:w,name:t.label,id:L}),U=new p["a"]({id:L,source:new T["a"]({features:[k]}),style:x}),e.abrupt("return",U);case 23:case"end":return e.stop()}},e)})),W.apply(this,arguments)}function G(e,t){d["a"].$app.sendStompMessage(e(t,d["a"].state.data.session).body)}var j=function(e){switch(e){case"FORTHCOMING":return{icon:"mdi-airplane-landing",tooltip:"forthcoming"};case"EXPERIMENTAL":return{icon:"mdi-flask-outline",tooltip:"experimental"};case"NEW":return{icon:"mdi-new-box",tooltip:"new"};case"STABLE":return{icon:"mdi-check-circle-outline",tooltip:"stable"};case"BETA":return{icon:"mdi-radioactive",tooltip:"beta"};default:return{}}},H=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e,t){return e.id===t?e:null};if(e&&null!==t){var o=[].reduce,a=function e(a,i){if(a||!i)return a;if(Array.isArray(i))return o.call(Object(i),e,a);var r=n(i,t);return null===r&&i.components&&i.components.length>0?e(null,i.components):r};return a(null,e)}return null},z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;return H(s()(e.panels).concat(s()(e.leftPanels),s()(e.rightPanels),[e.header,e.footer]).filter(function(e){return null!==e}),t,n)};function B(e,t,n,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;V("dw_".concat(e),"".concat("").concat(u["c"].REST_SESSION_VIEW,"data/").concat(e),{params:r()({format:t,outputFormat:o.value,adapter:o.adapter},-1!==a&&{locator:"T1(1){time=".concat(a,"}")}),responseType:"blob"},function(e,t){var a=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=a,i.setAttribute("download","".concat(n,".").concat(o.extension)),document.body.appendChild(i),i.click(),i.remove(),window.URL.revokeObjectURL(a),t()})}function K(e,t){var n=[Object.assign({},e)];return delete n[0][t],e[t]&&e[t].length>0?n.concat(e[t].map(function(e){return K(e,t)}).reduce(function(e,t){return e.concat(t)},[])):n}}).call(this,n("b639").Buffer)},be3b:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n("bc3a"),a=n.n(o),i=a.a.create();t["b"]=function(e){var t=e.Vue,n=e.store;n.state.data.session?i.defaults.headers.common.Authorization=n.state.data.session:console.warn("No session established en axios header, check it"),n.state.data.token&&(i.defaults.headers.common.Authentication=n.state.data.token),t.prototype.$axios=i}},d247:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a}),n.d(t,"c",function(){return i});n("0d6d"),Object.freeze({SEARCH_TYPES:[{enumId:"CONCEPT",name:"CONCEPT",color:"#ff0000"},{enumId:"OPERATOR",name:"OPERATOR",color:"#ffff00"},{enumId:"OBSERVATION",name:"OBSERVATION",color:"#ff00ff"},{enumId:"MODEL",name:"MODEL",color:"#0000ff"}]});var o=Object.freeze({CLASS_USERCONTEXTCHANGE:"UserContextChange",CLASS_SEARCH:"Search",CLASS_OBSERVATIONLIFECYCLE:"ObservationLifecycle",CLASS_TASKLIFECYCLE:"TaskLifecycle",CLASS_USERCONTEXTDEFINITION:"UserContextDefinition",CLASS_USERINTERFACE:"UserInterface",CLASS_NOTIFICATION:"Notification",CLASS_RUN:"Run",TYPE_REGIONOFINTEREST:"RegionOfInterest",TYPE_FEATUREADDED:"FeatureAdded",TYPE_PERIODOFINTEREST:"PeriodOfInterest",TYPE_SUBMITSEARCH:"SubmitSearch",TYPE_MATCHACTION:"MatchAction",TYPE_REQUESTOBSERVATION:"RequestObservation",TYPE_RESETCONTEXT:"ResetContext",TYPE_RECONTEXTUALIZE:"Recontextualize",TYPE_TASKINTERRUPTED:"TaskInterrupted",TYPE_SCALEDEFINED:"ScaleDefined",TYPE_DATAFLOWNODEDETAIL:"DataflowNodeDetail",TYPE_DATAFLOWNODERATING:"DataflowNodeRating",TYPE_CHANGESETTING:"ChangeSetting",TYPE_USERINPUTPROVIDED:"UserInputProvided",TYPE_WATCHOBSERVATION:"WatchObservation",TYPE_ENGINEEVENT:"EngineEvent",TYPE_VIEWACTION:"ViewAction",TYPE_RUNAPP:"RunApp",TYPE_CONSOLECREATED:"ConsoleCreated",TYPE_CONSOLECLOSED:"ConsoleClosed",TYPE_COMMANDREQUEST:"CommandRequest",PAYLOAD_CLASS_SPATIALEXTENT:"SpatialExtent",PAYLOAD_CLASS_SPATIALLOCATION:"SpatialLocation",PAYLOAD_CLASS_TEMPORALEXTENT:"TemporalExtent",PAYLOAD_CLASS_SEARCHREQUEST:"SearchRequest",PAYLOAD_CLASS_SEARCHMATCHACTION:"SearchMatchAction",PAYLOAD_CLASS_OBSERVATIONREQUEST:"ObservationRequest",PAYLOAD_CLASS_INTERRUPTTASK:"InterruptTask",PAYLOAD_CLASS_SCALEREFERENCE:"ScaleReference",PAYLOAD_CLASS_DATAFLOWSTATE:"DataflowState",PAYLOAD_CLASS_CONTEXTUALIZATIONREQUEST:"ContextualizationRequest",PAYLOAD_CLASS_SETTINGCHANGEREQUEST:"SettingChangeRequest",PAYLOAD_CLASS_USERINPUTRESPONSE:"UserInputResponse",PAYLOAD_CLASS_WATCHREQUEST:"WatchRequest",PAYLOAD_CLASS_EMPTY:"String",PAYLOAD_CLASS_VIEWACTION:"ViewAction",PAYLOAD_CLASS_MENUACTION:"MenuAction",PAYLOAD_CLASS_LOADAPPLICATIONREQUEST:"LoadApplicationRequest",PAYLOAD_CLASS_CONSOLENOTIFICATION:"ConsoleNotification"}),a=Object.freeze({CLASS_TASKLIFECYCLE:"TaskLifecycle",CLASS_OBSERVATIONLIFECYCLE:"ObservationLifecycle",CLASS_QUERY:"Query",CLASS_USERCONTEXTCHANGE:"UserContextChange",CLASS_NOTIFICATION:"Notification",CLASS_USERCONTEXTDEFINITION:"UserContextDefinition",CLASS_USERINTERFACE:"UserInterface",CLASS_AUTHORIZATION:"Authorization",CLASS_VIEWACTOR:"ViewActor",TYPE_DATAFLOWCOMPILED:"DataflowCompiled",TYPE_DATAFLOWSTATECHANGED:"DataflowStateChanged",TYPE_DATAFLOWDOCUMENTATION:"DataflowDocumentation",TYPE_NEWOBSERVATION:"NewObservation",TYPE_MODIFIEDOBSERVATION:"ModifiedObservation",TYPE_QUERYRESULT:"QueryResult",TYPE_RESETCONTEXT:"ResetContext",TYPE_SCALEDEFINED:"ScaleDefined",TYPE_USERINPUTREQUESTED:"UserInputRequested",TYPE_USERPROJECTOPENED:"UserProjectOpened",TYPE_PROJECTFILEMODIFIED:"ProjectFileModified",TYPE_SCHEDULINGSTARTED:"SchedulingStarted",TYPE_SCHEDULINGFINISHED:"SchedulingFinished",TYPE_NETWORKSTATUS:"NetworkStatus",TYPE_CREATEVIEWCOMPONENT:"CreateViewComponent",TYPE_SCHEDULEADVANCED:"ScheduleAdvanced",TYPE_ENGINEEVENT:"EngineEvent",TYPE_SETUPINTERFACE:"SetupInterface",TYPE_VIEWACTION:"ViewAction",TYPE_VIEWAVAILABLE:"ViewAvailable",TYPE_VIEWSETTING:"ViewSetting",TYPE_COMMANDRESPONSE:"CommandResponse",TYPE_DOCUMENTATIONCHANGED:"DocumentationChanged",TYPE_CREATEMODALWINDOW:"CreateModalWindow",TYPE_AUTHORITYDOCUMENTATION:"AuthorityDocumentation",TYPE_PROVENANCECHANGED:"ProvenanceChanged",TYPE_TASKSTARTED:"TaskStarted",TYPE_TASKFINISHED:"TaskFinished",TYPE_TASKABORTED:"TaskAborted",TYPE_DEBUG:"Debug",TYPE_INFO:"Info",TYPE_WARNING:"Warning",TYPE_ERROR:"Error",PAYLOAD_CLASS_TASKREFERENCE:"TaskReference",PAYLOAD_CLASS_CONTEXTUALIZATIONNOTIFICATION:"ContextualizationNotification",PAYLOAD_CLASS_DATAFLOWSTATE:"DataflowState",PAYLOAD_CLASS_OBSERVATIONREFERENCE:"ObservationReference",PAYLOAD_CLASS_SEARCHRESPONSE:"SearchResponse",PAYLOAD_CLASS_SCALEREFERENCE:"ScaleReference",PAYLOAD_CLASS_USERINPUTREQUEST:"UserInputRequest",PAYLOAD_CLASS_SCHEDULERNOTIFICATION:"SchedulerNotification",PAYLOAD_CLASS_NETWORKREFERENCE:"NetworkReference",PAYLOAD_CLASS_EMPTY:"String",PAYLOAD_CLASS_VIEWCOMPONENT:"ViewComponent",PAYLOAD_CLASS_ENGINEEVENT:"EngineEvent",PAYLOAD_CLASS_LAYOUT:"Layout",PAYLOAD_CLASS_VIEWACTION:"ViewAction",PAYLOAD_CLASS_VIEWSETTING:"ViewSetting",PAYLOAD_CLASS_KNOWLEDGEVIEWREFERENCE:"KnowledgeViewReference",PAYLOAD_CLASS_CONSOLENOTIFICATION:"ConsoleNotification",PAYLOAD_CLASS_DOCUMENTATIONEVENT:"DocumentationEvent"}),i=Object.freeze({REST_STATUS:"".concat("/modeler","/engine/status"),REST_SESSION_INFO:"".concat("/modeler","/engine/session/info"),REST_SESSION_VIEW:"".concat("/modeler","/engine/session/view/"),REST_SESSION_OBSERVATION:"".concat("/modeler","/engine/session/observation/"),REST_UPLOAD:"".concat("/modeler","/resource/put"),REST_GET_PROJECT_RESOURCE:"".concat("/modeler","/engine/project/resource/get"),REST_API_LOGOUT:"".concat("/modeler/api/v2","/users/log-out"),REST_API_EXPORT:"".concat("/modeler/api/v2","/public/export")})},e7d8:function(e,t,n){"use strict";var o=n("2b0e"),a=n("a925"),i={label:{appTitle:"k.LAB Explorer EN",appRunning:"Running on Quasar v{version}",appClose:"Close",appOK:"Ok",appAccept:"Accept",appYES:"Yes",appNO:"No",appCancel:"Cancel",appRetry:"Retry",appNext:"Next",appPrevious:"Previous",appWarning:"Warning",appPlay:"Play",appReplay:"Replay",appPause:"Pause",appReload:"Reload",appPrint:"Print",appSetDefault:"Set as default",klabNoMessage:"No message",klabUnknownError:"Unknown error",klabNoDate:"No date",klabMessagesToSend:"There are one message in queue",modalNoConnection:"No connection, please wait",appFooter:"k.LAB Explorer - 2018",treeTitle:"Observation",reconnect:"Reconnect",unknownLabel:"Unknown",context:"context",noContext:"",noContextPlaceholder:"",contextShape:"context shape",noObservation:"No observations available",searchPlaceholder:"Search knowledge",fuzzySearchPlaceholder:"Free search",askForObservation:"Observing {urn}",noTokenDescription:"No description available",btnContextReset:"Reset context",contextReset:"Context reset",itemCounter:"{loaded} of {total}",logTab:"Log",treeTab:"Tree",noHistogramData:"No data",noInfoValues:"",noScaleReference:"",mcMenuScale:"Space & time:",mcMenuContext:"Context",mcMenuOption:"Options",mcMenuSettings:"Settings",mcMenuHelp:"Help",showTutorial:"Show tutorial",showHelp:"Show help",refreshSize:"Refresh window size",titleOutputFormat:"Download observation",askForOuputFormat:"Select format",titleChangeScale:"Change {type} scale",askForNewScale:"Select new scale",resolutionLabel:"Resolution value",unitLabel:"Unit value",clickToEditScale:"Click to edit",clickToLock:"Click to lock scale",clickToUnlock:"Click to unlock scale",scaleLocked:"{type} scale locked",spaceScale:"Space",timeScale:"Time",unitCentimeter:"Centimeters",unitMeter:"Meters",unitKilometer:"Kilometers",unitMillennium:"Millennium",unitCentury:"Century",unitDecade:"Decade",unitYear:"Year",unitMonth:"Month",unitWeek:"Week",unitDay:"Day",unitHour:"Hour",unitMinute:"Minute",unitSecond:"Second",unitMillisecond:"Millisecond",timeOrigin:"Initial time",labelTimeStart:"Start time",labelTimeEnd:"End time",labelSpatial:"spatial",labelTemporal:"temporal",newContext:"New context",previousContexts:"Previous contexts",drawCustomContext:"Draw context",eraseCustomContext:"Erase custom context",addToCustomContext:"Add shape",drawPoint:"Point",drawLineString:"Line",drawPolygon:"Polygon",drawCircle:"Circle",optionShowAll:"Show all",optionSaveLocation:"Remember location",saveDockedStatus:"Remember docked status",noNodes:"No observations",loadShowData:"Load and show data",interactiveMode:"Interactive mode",noInputSectionTitle:"No section title",cancelInputRequest:"Cancel run",resetInputRequest:"Use defaults",submitInputRequest:"Submit",IDLAlertTitle:"Warning!",recontextualization:"Set as context",rememberDecision:"Don't show again",titleCommentResource:"Comment on resource",sendComment:"Send",noTimeSet:"Initial state",timeResolutionMultiplier:"Multiplier",months:{m0:"January",m1:"February",m2:"March",m3:"April",m4:"May",m5:"June",m6:"July",m7:"August",m8:"September",m9:"October",m10:"November",m11:"December"},removeProposedContext:"Remove context",levelDebug:"Debug",levelInfo:"Info",levelWarning:"Warning",levelError:"Error",levelEngineEvent:"Engine event",userDetails:"User details",unknownUser:"Unknown user",userId:"Id:",userEmail:"Email:",userLastLogin:"Last login:",userGroups:"Groups:",appsList:"Available apps",appsClose:"Close app",appsLogout:"Logout",reloadApplications:"Reload applications",noLayoutLabel:"No title",noLayoutDescription:"No description",kwTable:"Table",kwChart:"Chart",openTerminal:"Open terminal",openDebugger:"Open debugger",titleSelectTerminalSize:"Select terminal size",terminalDeleteHistory:"Delete history",terminalResizeWindow:"Resize terminal window",terminalMinimize:"Minimize terminal",terminalMaximize:"Maximize terminal",terminalClose:"Close terminal",noDocumentation:"No elements available for this view",tableDownloadAsXSLX:"Download table as .xslx",tableCopy:"Copy table to clipboard",resettingContext:"Resetting context",reportTable:"Table",reportFigure:"Figure",viewCoordinates:"Show coordinates"},messages:{connectionClosed:"Connection closed",connectionWorking:"Trying to reconnect",connectionUnknown:"Starting...",noSpaceAllowedInSearch:"Spaces cannot be used in the search box",noSearchResults:"No search results",noActionForObservation:"No actions available",noTime:"no time",emptyReport:'
Empty report
',noLoadedReport:"No report loaded",copiedToClipboard:"Copied to clipboard",customCopyToClipboard:"{what} copied to clipboard",changeScaleResolutionError:"Resolution must be positive",updateScale:"{type} scale updated",updateNextScale:"New {type} scale have been stored, press refresh to update",invalidGeometry:"Polygon is not valid",geolocationWaitingTitle:"Enable geolocation?",geolocationWaitingText:"k.Explorer can detect your current location to initialize the geographical viewer.
In order to do so, you need to authorize geolocation.
This is merely for your convenience and does not affect operation.
Your choice will be remembered and can be changed at any time.",geolocationErrorPermissionDenied:"Geolocation has not been authorized",geolocationErrorPositionUnavailable:"Location information is unavailable",geolocationErrorTimeout:"A request to get the user location timed out",geolocationErrorUnknown:"An unknown error occurred",unknownSearchObservation:"Previous observations results",noLogItems:"Empty log",noLevelSelected:"No levels selected",uploadComplete:"Upload of file {fileName} complete",IDLAlertText:"Actual view crossing the International Date Line. A drawn context is needed",lastTermAlertText:"No more terms allowed",parenthesisAlertText:"You have open parenthesis",emptyFreeTextSearch:"Empty search is not allowed",fuzzyModeOff:"Free search off",fuzzyModeOn:"Free search on",treeNoResult:"No results",treeNoNodes:"No data",treeNoResultUser:"No main observations",treeNoResultUserWaiting:"Computing...",treeNoResultNoUser:"No observations",treeNoMainSummary:"Other observations",thankComment:"Comment has been sent",confirmRescaleContext:"The context will be recreate with new resolution.\nAre you sure?",loadingChildren:"Loading children...",waitingLocation:"Searching for {location}...",waitingObservationInit:"Initializing observation...",availableInFuture:"This feature will be available soon",timeEndBeforeTimeStart:"End time cannot be before start time",timeEndModified:"Multiplier is not used because the end time was manually changed",pressToChangeSpeed:"Press to play
Hold to change speed
Actual speed x{multiplier}",resourcesValidating:"Engine is busy",presentationBlocked:'

Can\'t access online help resources: check your network connection

A browser extension may also be interfering

',noAppsAvailable:"No available apps",noGroupsAssigned:"No groups assigned",appLoading:"Loading app {app}",errorLoadingApp:"Error loading app {app}",reloadApp:"Reload application",errorLoggingOut:"Error logging out, contact support",terminalHello:"Welcome to k.LAB {type}",noDocumentation:"No documentation available",confirmExitPage:"Data will be lost if you leave the page, are you sure?",tableCopied:"Table copied to clipboard",invalidSession:"Invalid session",sessionClosed:"Session closed by server",unknownSessionError:"Problem with session",youHaveGOT:"Winter is coming"},tooltips:{treePane:"View tree",showLogPane:"View log",hideLogPane:"Hide log",resetContext:"Reset context",interruptTask:"Interrupt task {taskDescription}",dataViewer:"View data",reportViewer:"View report",documentationViewer:"View documentation",scenarios:"Scenarios",observers:"Observers",noReportTask:"Cannot view report,\nwait for task end",noReportObservation:"Report not available,\nno observations",noDocumentation:"Documentation not available,\nno observations",noDataflow:"Dataflow not availble",noDataflowInfo:"No details",dataflowViewer:"View data flow",provenanceViewer:"View provenance (will be...)",undock:"Undock",copyEncodedShapeToClipboard:"Copy context shape to clipboard",cancelInputRequest:"Cancel run",resetInputRequest:"Use default values",submitInputRequest:"Submit values",displayMainTree:"Display main tree",hideMainTree:"Hide main tree",rateIt:"Rate resource",commentIt:"Comment on resource",refreshScale:"Refresh context with new scale(s)",clickToEdit:"Click to edit {type} scale",palette:"No palette",unknown:"To be decided",noKnowledgeViews:"No knowledge views",knowledgeViews:"Knowledge views",uploadData:"Upload data (forthcoming)"},errors:{connectionError:"Connection error",searchTimeout:"Search timeout",uploadError:"Upload error for the file {fileName}"},engineEventLabels:{evtResourceValidation:"Resource validation"},langName:"English"},r={label:{appTitle:"k.LAB Explorer ES",appRunning:"Ejecutándose sobre Quasar v{version}",appClose:"Cerrar",appOK:"Ok",appCancel:"Cancelar",appRetry:"Reintentar",appNext:"Siguiente",appPrevious:"Precedente",klabNoMessage:"No hay ningún mensaje",klabUnknownError:"Error desconocido",klabNoDate:"No hay fecha",klabMessagesToSend:"Hay un mensaje en la cola",modalNoConnection:"No hay conexión, esperar",appFooter:"k.LAB Explorer - 2018",treeTitle:"Observaciones",reconnect:"Reconectar",unknownLabel:"Desconocido",context:"contesto",noContext:"",contextShape:"context shape",noObservation:"No hay observaciones",searchPlaceholder:"Buscar in k.LAB",fuzzySearchPlaceholder:"Buscar",askForObservation:"Pidiendo {urn}",noTokenDescription:"No hay descripción",btnContextReset:"Resetear contexto",contextReset:"Contexto reseteado",itemCounter:"{loaded} de {total}",logTab:"Log",treeTab:"Árbol",noHistogramData:"No data",noInfoValues:"",noScaleReference:"",mcMenuScale:"Espacio y tiempo:",mcMenuContext:"Contexto",mcMenuOption:"Optciones",titleOutputFormat:"Download observación",askForOuputFormat:"Seleccionar un formato",titleChangeScale:"Cambiar escala",askForNewScale:"Seleccionar nueva escala",resolutionLabel:"Valor de la escala",unitLabel:"Unidad de la escala",clickToEditScale:"Click para modificar",clickToLock:"Click para bloquear la escala",clickToUnlock:"Click para desbloquear la escala",scaleLocked:"{type} escala bloqueada",spaceScale:"Espacio",timeScale:"Tiempo",labelCm:"Centimetros",labelM:"Metros",labelKm:"Kilometros",labelSpatial:"espacial",labelTemporal:"temporal",newContext:"Nuevo contexto",previousContexts:"Contextos prévios",drawCustomContext:"Dibujar contexto",eraseCustomContext:"Borrar contexto",addToCustomContext:"Añadir shape",drawPoint:"Punto",drawLineString:"Línea",drawPolygon:"Polígono",drawCircle:"Circulo",optionShowAll:"Ver todas",optionSaveLocation:"Recordar posición",noNodes:"No results: is waiting?",loadShowData:"Cargar y visualizar datos",interactiveMode:"Modo interactivo",noInputSectionTitle:"No section title",cancelInputRequest:"Cancelar ejecución",resetInputRequest:"Utilizar defaults",submitInputRequest:"Enviar",IDLAlertTitle:"Cuidado!",recontextualization:"Fijar como contexto",rememberDecision:"Recordar mi elección"},messages:{connectionClosed:"Conexión cerrada",connectionWorking:"Intentando reconectar",connectionUnknown:"Inicializando...",noSpaceAllowedInSearch:"No está permitido utilizar espacios en la búsqueda",noSearchResults:"No hay resultados",noActionForObservation:"No hay acciones disponibles",noTime:"sin información",emptyReport:'',noLoadedReport:"No se ha cargado ningun report",copiedToClipboard:"Copiado",customCopyToClipboard:"{what} copiado",changeScaleResolutionError:"La resolución tiene que ser positiva",updateScale:"Actualizada la escala {type}, nuevo valor {resolution} {unit}",invalidGeometry:"Polígono no válido",geolocationWaitingTitle:"¿Habilitar la geolocalización?",geolocationWaitingText:"k.Explorer puede detectar tu posición actual para inicializar la vista geográfica.
Para hacer eso, hay que autorizar la geolocalización.
Esto es solamente por comodidad yno afecta a la operatividad.
Your choice will be remembered and can be changed at any time.",geolocationErrorPermissionDenied:"No se ha autorizado la geolocalización",geolocationErrorPositionUnavailable:"No hay información de posicionamiento",geolocationErrorTimeout:"Se ha superado el tiempo de espera para la geolocalización",geolocationErrorUnknown:"Ha habido un error desconocido",needHelpTitle:"How to use",needHelp0Text:"To use this, you need to know various things:",needHelp1Text:"The first",needHelp2Text:"The second",needHelp3Text:"The last",unknownSearchObservation:"Resultado de observaciones previas",noLogItems:"No hay elementos en el log",uploadComplete:"Upload del file {fileName} completado",IDLAlertText:"La selección actual cruza la IDL. Sólo está permitido en caso de dibujar un contexto",lastTermAlertText:"No están permitidos mas tokens",parenthesisAlertText:"Parentesis no balanceadas",emptyFreeTextSearch:"Búsqueda vacía",fuzzyModeOff:"Búsqueda libre desactivada",fuzzyModeOn:"Búsqueda libre activada",youHaveGOT:"Winter is coming"},tooltips:{treePane:"Ver árbol",logPane:"Ver log",resetContext:"Reset context",interruptTask:"Interrumpir proceso {taskDescription}",dataViewer:"Ver datos",reportViewer:"Ver report",noReportTask:"Cannot view report,\nwait for task end",noReportObservation:"Report no disponibile,\nno hay observaciones",noDataflow:"Dataflow no disponible",dataflowViewer:"Ver data flow",provenanceViewer:"Ver provenance (will be...)",undock:"Desacoplar",copyEncodedShapeToClipboard:"Copiar el contexto en el portapapeles",cancelInputRequest:"Cancelar ejecución",resetInputRequest:"Utilizar default",submitInputRequest:"Enviar"},errors:{connectionError:"Error de conexión",searchTimeout:"Tiempo de busqueda terminado",uploadError:"Error durante el upload del file {fileName}"},langName:"Español"},c={label:{appTitle:"k.LAB Explorer IT",appRunning:"Esecutandosi con Quasar v{version}",appClose:"Chiudi",appOK:"Ok",appCancel:"Cancellare",appRetry:"Riprovare",appNext:"Successiva",appPrevious:"Precedente",klabNoMessage:"Nessun messaggio",klabUnknownError:"Errore sconosciuto",klabNoDate:"Nessuna data",klabMessagesToSend:"C'è un messaggio in coda",modalNoConnection:"Non c'è connessione",appFooter:"k.LAB Explorer - 2018",treeTitle:"Osservazioni",reconnect:"Riconnettere",unknownLabel:"Sconosciuto",context:"contesto",noContext:"",contextShape:"context shape",noObservation:"Nessuna osservazione disponibile",searchPlaceholder:"Cerca in k.LAB",fuzzySearchPlaceholder:"Cerca",askForObservation:"Chiedendo {urn}",noTokenDescription:"Descrizione non disponibile",btnContextReset:"Resettare il contesto",contextReset:"Contesto resettato",itemCounter:"{loaded} di {total}",logTab:"Log",treeTab:"Albero",noHistogramData:"No data",noInfoValues:"",noScaleReference:"",mcMenuScale:"Spazio e tempo",mcMenuContext:"Contesto",mcMenuOption:"Optziono",titleOutputFormat:"Download osservazione",askForOuputFormat:"Selezionare un formato",titleChangeScale:"Cambiare scala",askForNewScale:"Seleccionar la nueva escala",resolutionLabel:"Valore della scala",unitLabel:"Unità della scala",clickToEditScale:"Click per modificare",clickToLock:"Click per bloccare la scala",clickToUnlock:"Click per sbloccare la scala",scaleLocked:"{type} scala bloccata",spaceScale:"Spacio",timeScale:"Tempo",labelCm:"Centimetri",labelM:"Metri",labelKm:"Kilometri",labelSpatial:"spaziale",labelTemporal:"temporale",newContext:"Constesto nuovo",previousContexts:"Contesti precedenti",drawCustomContext:"Disegnare contesto",eraseCustomContext:"Eliminare contesto",addToCustomContext:"Aggiungere shape",drawPoint:"Punto",drawLineString:"Linea",drawPolygon:"Poligono",drawCircle:"Cerchio",optionShowAll:"Vedere tutte",optionSaveLocation:"Ricordare posizione",noNodes:"No results: is waiting?",loadShowData:"Caricare e visualizzare dati",interactiveMode:"Modo interattivo",noInputSectionTitle:"Sezione senza titolo",cancelInputRequest:"Cancellare esecuzion",resetInputRequest:"Utilizzare defaults",submitInputRequest:"Inviare",IDLAlertTitle:"Attenzione!",recontextualization:"Settare come contesto",rememberDecision:"Ricordare la mia decisione"},messages:{connectionClosed:"Connessione chiusa",connectionWorking:"Cercando di riconnettere",connectionUnknown:"Inizializzando...",noSpaceAllowedInSearch:"Non è permesso utilizare spazi nella ricerca",noSearchResults:"Non esistono risultati",noActionForObservation:"Nessuna azione disponibile",noTime:"senza informazione di ora",emptyReport:'',noLoadedReport:"Non si è caricato nessun report",copiedToClipboard:"Copiato",customCopyToClipboard:"{what} copiato",changeScaleResolutionError:"La risoluzione deve essere positiva",updateScale:"Attualizata la scala {type}, nuovo valore {resolution} {unit}",invalidGeometry:"Poligono non valido",geolocationWaitingTitle:"Attivare la geolocalizzazione?",geolocationWaitingText:"k.Explorer può detettare la posizione per inizializzare la vista geografica.
Perché questo sia possibile, è necessario autorizzare la geolocalizzazione.
Quest'ultimo è esclusivamente per comodità e non influenza l'operatività.
Your choice will be remembered and can be changed at any time.",geolocationErrorPermissionDenied:"Non si ha autorizzato la geolocalizzazione",geolocationErrorPositionUnavailable:"Posizione non disponibile",geolocationErrorTimeout:"Terminato il tempo di attesa per la geolocalizzazione",geolocationErrorUnknown:"Errore imprevisto",needHelpTitle:"How to use",needHelp0Text:"To use this, you need to know various things:",needHelp1Text:"The first",needHelp2Text:"The second",needHelp3Text:"The last",unknownSearchObservation:"Risultato di osservazioni previe",noLogItems:"Il log è vuoto",uploadComplete:"Upload del file {fileName} completato",IDLAlertText:"La selezione attuale incrocia la IDL. per poterlo fare è necessario disegnare un contesto",lastTermAlertText:"Non sono permessi altri token",parenthesisAlertText:"Paretesi sbilanciate",emptyFreeTextSearch:"Ricerca vuota",fuzzyModeOff:"Ricerca libers disattivata",fuzzyModeOn:"Ricerca libera attivata",youHaveGOT:"Winter is coming"},tooltips:{treePane:"Albero",logPane:"Log",resetContext:"Reset context",interruptTask:"Interrompere processo {taskDescription}",dataViewer:"Vedere dati",reportViewer:"Vedere report",noReportTask:"Report non disponibile,\naspettare",noReportObservation:"Report non disponibile,\nnon ci sono osservazioni",noDataflow:"Dataflow non disponible",dataflowViewer:"Vedere data flow (will be...)",provenanceViewer:"Vedere provenance (will be...)",undock:"Sganciare",copyEncodedShapeToClipboard:"Copia il contesto negli appunti",cancelInputRequest:"Cancellare esecuzion",resetInputRequest:"Utilizzare default",submitInputRequest:"Inviare"},errors:{connectionError:"Errore di connessione",searchTimeout:"Tempo di ricerca terminato",uploadError:"Errore durante l'upload del file {fileName}"},langName:"Italiano"},s={en:i,es:r,it:c},l=n("741d"),u=n("7cca");n.d(t,"b",function(){return E});var d=null;function E(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||null===d){o["a"].use(a["a"]);var t="en";l["a"].has(u["P"].COOKIE_LANG)?(t=l["a"].get(u["P"].COOKIE_LANG),console.debug("Locale set from cookie to ".concat(t))):(l["a"].set(u["P"].COOKIE_LANG,t,{expires:30,path:"/",secure:!0}),console.debug("Lang cookie set to ".concat(t))),d=new a["a"]({locale:t,fallbackLocale:"en",messages:s})}return d}t["a"]=function(e){var t=e.app;t.i18n=E()}},fb1c:function(e,t,n){}},[[0,"runtime","vendor"]]]); \ No newline at end of file diff --git a/klab.engine/src/main/resources/static/ui/js/app.f82436b2.js b/klab.engine/src/main/resources/static/ui/js/app.f82436b2.js deleted file mode 100644 index 7b1b361d1..000000000 --- a/klab.engine/src/main/resources/static/ui/js/app.f82436b2.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,t,n){e.exports=n("2f39")},"034f":function(e,t,n){"use strict";var o=n("fb1c"),a=n.n(o);a.a},1:function(e,t){},1442:function(e,t,n){"use strict";n.d(t,"d",function(){return A}),n.d(t,"f",function(){return I}),n.d(t,"e",function(){return v}),n.d(t,"c",function(){return N}),n.d(t,"b",function(){return h}),n.d(t,"a",function(){return R});n("ac6a"),n("7514"),n("48c0"),n("6c7b");var o=n("7cca"),a=n("480c"),i=n("5043"),r=n("d0e9"),s=n("2ef1"),c=n("6c77"),l=n("83a6"),u=n("8682"),d=n("8295"),E=n("6cbf"),f=n("bcf0"),T=n("4cdf"),p=n("ddaa"),S=n("8f3a"),m=n("256f"),O="pk.eyJ1Ijoiay1sYWIiLCJhIjoiY2prd2d2dWNxMHlvcDNxcDVsY3FncDBydiJ9.zMQE3gu-0qPpkLapVfVhnA",b='© Mapbox © OpenStreetMap Improve this map',A={BING_KEY:"",COORD_BC3:[-2.968226,43.332125],PROJ_EPSG_4326:Object(m["g"])("EPSG:4326"),PROJ_EPSG_3857:Object(m["g"])("EPSG:3857"),ZINDEX_TOP:1e4,ZINDEX_BASE:1e3,ZINDEX_MULTIPLIER_RASTER:0,ZINDEX_MULTIPLIER_POLYGONS:1,ZINDEX_MULTIPLIER_LINES:2,ZINDEX_MULTIPLIER_POINTS:3,DEFAULT_BASELAYER:"osm_layer"},_={MARKER_SVG:function(e){var t=e.fill,n=void 0===t?"yellow":t,o=e.stroke,a=void 0===o?"black":o,i=e.strokeWidth,r=void 0===i?"5":i;return'\n ')}},I={POINT_OBSERVATION_ICON:new E["a"]({anchor:[.5,1],src:"statics/maps/marker.png",opacity:.8,scale:.6}),POINT_OBSERVATION_SVG_ICON:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.3;return new E["a"]({opacity:1,src:"data:image/svg+xml;utf8,".concat(_.MARKER_SVG(e)),scale:t})},POINT_OBSERVATION_TEXT:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.offsetY,n=void 0===t?25:t,o=e.bold,a=void 0!==o&&o,i=e.size,r=void 0===i?"10px":i;return new d["a"]({textAlign:"center",textBaseline:"bottom",offsetY:n,font:"".concat(a?"bold":"normal"," ").concat(r," Roboto, sans-serif")})}},v={POLYGON_CONTEXT_STYLE:new c["c"]({fill:new l["a"]({color:"rgba(38, 166, 154, 0.2)"})}),POLYGON_PROPOSED_CONTEXT:new c["c"]({fill:new l["a"]({color:"rgba(255,255,255,0.5)"}),stroke:new f["a"]({width:8,pattern:"hatch",color:"#3187ca",offset:0,scale:.75,fill:new l["a"]({color:"#FFFFFF"}),size:2,spacing:5,angle:45})}),POLYGON_OBSERVATION_STYLE:new c["c"]({stroke:new u["a"]({color:"rgb(255, 102, 0)",width:2}),fill:new l["a"]({color:"rgba(255, 102, 0, 0.2)"})}),LNE_OBSERVATION_STYLE:new c["c"]({stroke:new u["a"]({color:"rgb(255, 102, 0)",width:2})}),POINT_OBSERVATION_SVG_PARAM:{fill:o["e"].MAIN_COLOR,stroke:"rgb(51,51,51)",strokeWidth:"4",scale:.3},POINT_CONTEXT_SVG_PARAM:{fill:"rgb(17, 170, 187)",stroke:"rgb(51,51,51)",strokeWidth:"5",scale:.5,offsetY:35,bold:!0,size:"14px"}},N={OSM_LAYER:new a["a"]({name:"osm_layer",title:"OpenStreetMap",type:"base",source:new r["a"]({attributions:'Map credits ©\n OSM\n contributors.'}),visible:!1}),CLEARMAP_TOPO_LAYER:new a["a"]({name:"clearmap_topo_layer",title:"UN Clear Map",type:"base",source:new i["a"]({url:"https://geoservices.un.org/arcgis/rest/services/ClearMap_WebTopo/MapServer/export"}),visible:!1}),CLEARMAP_PLAIN_LAYER:new a["a"]({name:"clearmap_plain_layer",title:"UN Clear Map Plain",type:"base",source:new i["a"]({url:"https://geoservices.un.org/arcgis/rest/services/ClearMap_WebPlain/MapServer/export"}),visible:!1}),CLEARMAP_DARK_LAYER:new a["a"]({name:"clearmap_dark_layer",title:"UN Clear Map Dark",type:"base",source:new i["a"]({url:"https://geoservices.un.org/arcgis/rest/services/ClearMap_WebDark/MapServer/export"}),visible:!1}),CLEARMAP_GRAY_LAYER:new a["a"]({name:"clearmap_gray_layer",title:"UN Clear Map Gray",type:"base",source:new i["a"]({url:"https://geoservices.un.org/arcgis/rest/services/ClearMap_WebGray/MapServer/export"}),visible:!1}),GOOGLE_HYBRID:new a["a"]({name:"google_hybrid",title:"Google Hybrid",type:"base",source:new s["a"]({crossOrigin:"anonymous",url:"http://mt{0-3}.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}",attribution:"© 2018 Google, Inc"}),visible:!1}),GOOGLE_STREET:new a["a"]({name:"google_street",title:"Google Street",type:"base",source:new s["a"]({crossOrigin:"anonymous",url:"http://mt{0-3}.google.com/vt/lyrs=m&x={x}&y={y}&z={z}",attribution:"© 2018 Google, Inc"}),visible:!1}),GOOGLE_TERRAIN:new a["a"]({name:"google_terrain",title:"Google Terrain",type:"base",source:new s["a"]({crossOrigin:"anonymous",url:"https://mt{0-3}.google.com/vt/lyrs=t&x={x}&y={y}&z={z}",attribution:"© 2018 Google, Inc"}),visible:!1}),MAPBOX_CALI_TERRAIN:new a["a"]({name:"mapbox_cali_terrain",title:"Mapbox Terrain",type:"base",source:new s["a"]({crossOrigin:"anonymous",url:"https://api.mapbox.com/styles/v1/k-lab/cjkwh1z9z06ok2rrn9unfpn2n/tiles/256/{z}/{x}/{y}?access_token=".concat(O),attribution:b}),visible:!1}),MAPBOX_MINIMO:new a["a"]({name:"mapbox_minimo",title:"Mapbox Minimo",type:"base",source:new s["a"]({crossOrigin:"anonymous",url:"https://api.mapbox.com/styles/v1/k-lab/cjm0l6i4g7ffj2sqk7xy5dv1m/tiles/256/{z}/{x}/{y}?access_token=".concat(O),attribution:b}),visible:!1}),MAPBOX_TERRAIN:new a["a"]({name:"mapbox_terrain",title:"Mapbox Terrain",type:"base",source:new s["a"]({crossOrigin:"anonymous",format:"pbf",url:"https://api.mapbox.com/styles/v1/k-lab/cl1dgarpr005f15ntep34yq88/tiles/256/{z}/{x}/{y}?access_token=".concat(O),attribution:b}),visible:!1}),MAPBOX_GOT:new a["a"]({name:"mapbox_got",title:"k.LAB Mapbox GOT",type:"base",source:new s["a"]({crossOrigin:"anonymous",url:"https://api.mapbox.com/styles/v1/k-lab/cjuihteg13toh1fmovvd6r80y/tiles/256/{z}/{x}/{y}?access_token=".concat(O),attribution:b}),visible:!1}),EMPTY_LAYER:new a["a"]({name:"empty_layer",title:"No background",type:"base",visible:!1})},h={controls:S["a"]({attribution:!1}).extend([]),target:"map",projection:A.PROJ_EPSG_4326,center:Object(m["l"])(A.COORD_BC3,A.PROJ_EPSG_4326,A.PROJ_EPSG_3857),zoom:13},R={layers:[N.EMPTY_LAYER,N.CLEARMAP_TOPO_LAYER,N.MAPBOX_MINIMO,N.MAPBOX_TERRAIN,N.OSM_LAYER],mask:null,hasMask:function(){return null!==this.mask},getBaseLayer:function(){return this.layers.find(function(e){return"base"===e.get("type")&&e.getVisible()})},setMask:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[38,38,38,.4];null!==this.mask&&this.removeMask(),this.mask=new p["a"]({feature:new T["a"]({geometry:e,name:"Context"}),inner:!1,active:!0,fill:new l["a"]({color:n})}),this.layers.forEach(function(e){e.addFilter(t.mask)})},removeMask:function(){var e=this;null!==this.mask&&this.layers.forEach(function(t){t.removeFilter(e.mask)}),this.mask=null}}},"17dc":function(e,t,n){"use strict";n.d(t,"a",function(){return f});n("ac6a"),n("cadf"),n("6b54"),n("c5f6");var o=n("3156"),a=n.n(o),i=n("278c"),r=n.n(i),s=n("2369"),c=n("c1df"),l=n.n(c),u=n("d247");function d(e,t,n,o,a){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,r=n!==u["b"].PAYLOAD_CLASS_EMPTY?s["b"].validateJsonSchema(o,n):o;return{validated:r,body:{messageClass:e,type:t,payloadClass:n,payload:o,identity:a,timestamp:l()().valueOf(),inResponseTo:i}}}var E={SPATIAL_EXTENT:function(e){var t=r()(e,4),n=t[0],o=t[1],a=t[2],i=t[3];return{south:o,west:n,north:i,east:a}}},f={REGION_OF_INTEREST:function(e,t){return d(u["b"].CLASS_USERCONTEXTCHANGE,u["b"].TYPE_REGIONOFINTEREST,u["b"].PAYLOAD_CLASS_SPATIALEXTENT,E.SPATIAL_EXTENT(e),t)},SEARCH_REQUEST:function(e,t){var n=e.queryString,o=e.searchMode,i=e.requestId,r=e.contextId,s=void 0===r?null:r,c=e.matchTypes,l=void 0===c?null:c,E=e.cancelSearch,f=void 0!==E&&E,T=e.defaultResults,p=void 0!==T&&T,S=e.maxResults;return d(u["b"].CLASS_SEARCH,u["b"].TYPE_SUBMITSEARCH,u["b"].PAYLOAD_CLASS_SEARCHREQUEST,a()({},null!==s&&{contextId:s},null!==l&&{matchTypes:l},{queryString:n,searchMode:o,requestId:i,cancelSearch:f,defaultResults:p,maxResults:S}),t)},SEARCH_MATCH:function(e,t){var n=e.contextId,o=e.matchId,a=e.matchIndex,i=e.added;return d(u["b"].CLASS_SEARCH,u["b"].TYPE_MATCHACTION,u["b"].PAYLOAD_CLASS_SEARCHMATCHACTION,{contextId:n,matchId:o,matchIndex:a,added:i},t)},OBSERVATION_REQUEST:function(e,t){var n=e.urn,o=e.contextId,i=e.searchContextId,r=void 0===i?null:i,s=e.estimate,c=void 0!==s&&s,l=e.estimatedCost,E=void 0===l?0:l;return d(u["b"].CLASS_OBSERVATIONLIFECYCLE,u["b"].TYPE_REQUESTOBSERVATION,u["b"].PAYLOAD_CLASS_OBSERVATIONREQUEST,a()({urn:n},null!==o&&{contextId:o},null!==r&&{searchContextId:r},{estimate:c,estimatedCost:E}),t)},RESET_CONTEXT:function(e){return d(u["b"].CLASS_USERCONTEXTCHANGE,u["b"].TYPE_RESETCONTEXT,u["b"].PAYLOAD_CLASS_EMPTY,"",e)},CONTEXTUALIZATION_REQUEST:function(e,t){var n=e.contextUrn,o=e.contextId,i=e.parentContext,r=e.contextQuery;return d(u["b"].CLASS_OBSERVATIONLIFECYCLE,u["b"].TYPE_RECONTEXTUALIZE,u["b"].PAYLOAD_CLASS_CONTEXTUALIZATIONREQUEST,a()({},"undefined"!==typeof n&&{contextUrn:n},"undefined"!==typeof o&&{contextId:o},"undefined"!==typeof i&&{parentContext:i},"undefined"!==typeof r&&{contextQuery:r}),t)},TASK_INTERRUPTED:function(e,t){var n=e.taskId,o=e.forceInterruption,a=void 0===o||o;return d(u["b"].CLASS_TASKLIFECYCLE,u["b"].TYPE_TASKINTERRUPTED,u["b"].PAYLOAD_CLASS_INTERRUPTTASK,{taskId:n,forceInterruption:a},t)},SCALE_REFERENCE:function(e,t){var n=e.scaleReference,o=e.spaceResolution,i=e.spaceUnit,r=e.timeResolutionMultiplier,s=e.timeUnit,c=e.start,l=e.end,E=e.timeResolutionDescription,f=void 0===E?"":E,T=e.contextId,p=void 0===T?"":T,S=e.shape,m=void 0===S?"":S,O=e.timeType,b=void 0===O?"":O,A=e.timeGeometry,_=void 0===A?"":A,I=e.spaceGeometry,v=void 0===I?"":I;return d(u["b"].CLASS_USERCONTEXTDEFINITION,u["b"].TYPE_SCALEDEFINED,u["b"].PAYLOAD_CLASS_SCALEREFERENCE,a()({},n,{name:"",contextId:p,shape:m,timeType:b,timeGeometry:_,spaceGeometry:v,timeResolutionDescription:null===f?"":f},"undefined"!==typeof o&&{spaceResolution:o},"undefined"!==typeof i&&{spaceUnit:i},"undefined"!==typeof r&&{timeResolutionMultiplier:r},"undefined"!==typeof s&&{timeUnit:s},"undefined"!==typeof c&&{start:c},"undefined"!==typeof l&&{end:l}),t)},SPATIAL_LOCATION:function(e,t){var n=e.wktShape,o=e.contextId,i=void 0===o?null:o;return d(u["b"].CLASS_USERCONTEXTCHANGE,u["b"].TYPE_FEATUREADDED,u["b"].PAYLOAD_CLASS_SPATIALLOCATION,a()({easting:Number.MIN_VALUE,northing:Number.MIN_VALUE,wktShape:n},null!==i&&{contextId:i}),t)},DATAFLOW_NODE_DETAILS:function(e,t){var n=e.nodeId,o=e.contextId;return d(u["b"].CLASS_TASKLIFECYCLE,u["b"].TYPE_DATAFLOWNODEDETAIL,u["b"].PAYLOAD_CLASS_DATAFLOWSTATE,{nodeId:n,monitorable:!1,rating:-1,progress:0,contextId:o},t)},DATAFLOW_NODE_RATING:function(e,t){var n=e.nodeId,o=e.contextId,i=e.rating,r=e.comment,s=void 0===r?null:r;return d(u["b"].CLASS_TASKLIFECYCLE,u["b"].TYPE_DATAFLOWNODERATING,u["b"].PAYLOAD_CLASS_DATAFLOWSTATE,a()({nodeId:n,monitorable:!1,progress:0,rating:i},null!==s&&{comment:s},{contextId:o}),t)},SETTING_CHANGE_REQUEST:function(e,t){var n=e.setting,o=e.value;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_CHANGESETTING,u["b"].PAYLOAD_CLASS_SETTINGCHANGEREQUEST,{setting:n,previousValue:(!o).toString(),newValue:o.toString()},t)},USER_INPUT_RESPONSE:function(e,t){var n=e.messageId,o=e.requestId,a=e.cancelRun,i=void 0!==a&&a,r=e.values,s=void 0===r?{}:r;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_USERINPUTPROVIDED,u["b"].PAYLOAD_CLASS_USERINPUTRESPONSE,{requestId:o,cancelRun:i,values:s},t,n)},WATCH_REQUEST:function(e,t){var n=e.active,o=e.eventType,i=e.observationId,r=e.rootContextId;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_WATCHOBSERVATION,u["b"].PAYLOAD_CLASS_WATCHREQUEST,a()({active:n,observationId:i,rootContextId:r},o&&{eventType:o}),t)},WATCH_ENGINE_EVENT:function(e,t){var n=e.active,o=e.eventType;return d(u["b"].CLASS_NOTIFICATION,u["b"].TYPE_ENGINEEVENT,u["b"].PAYLOAD_CLASS_WATCHREQUEST,{active:n,eventType:o},t)},VIEW_ACTION:function(e,t){var n=e.component,o=e.componentTag,a=void 0===o?null:o,i=e.applicationId,r=void 0===i?null:i,s=e.booleanValue,c=void 0===s?null:s,l=e.doubleValue,E=void 0===l?null:l,f=e.intValue,T=void 0===f?null:f,p=e.stringValue,S=void 0===p?null:p,m=e.listValue,O=void 0===m?[]:m,b=e.dateValue,A=void 0===b?null:b,_=e.data,I=void 0===_?null:_;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_VIEWACTION,u["b"].PAYLOAD_CLASS_VIEWACTION,{component:n,componentTag:a,applicationId:r,booleanValue:c,doubleValue:E,intValue:T,stringValue:S,listValue:O,dateValue:A,data:I},t)},MENU_ACTION:function(e,t){var n=e.identity,o=e.applicationId,a=e.menuId;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_VIEWACTION,u["b"].PAYLOAD_CLASS_MENUACTION,{identity:n,applicationId:o,menuId:a},t)},RUN_APPLICATION:function(e,t){var n=e.applicationId,o=e.test,a=void 0!==o&&o,i=e.stop,r=void 0!==i&&i;return d(u["b"].CLASS_RUN,u["b"].TYPE_RUNAPP,u["b"].PAYLOAD_CLASS_LOADAPPLICATIONREQUEST,{behavior:n,test:a,stop:r,parameters:{}},t)},CONSOLE_CREATED:function(e,t){var n=e.consoleId,o=e.consoleType;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_CONSOLECREATED,u["b"].PAYLOAD_CLASS_CONSOLENOTIFICATION,{consoleId:n,consoleType:o},t)},CONSOLE_CLOSED:function(e,t){var n=e.consoleId,o=e.consoleType;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_CONSOLECLOSED,u["b"].PAYLOAD_CLASS_CONSOLENOTIFICATION,{consoleId:n,consoleType:o},t)},COMMAND_REQUEST:function(e,t){var n=e.consoleId,o=e.consoleType,a=e.commandId,i=e.payload;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_COMMANDREQUEST,u["b"].PAYLOAD_CLASS_CONSOLENOTIFICATION,{consoleId:n,consoleType:o,commandId:a,payload:i},t)}}},"1e5d":function(e,t,n){},2369:function(e,t,n){"use strict";var o=n("278c"),a=n.n(o),i=(n("ffc1"),n("ac6a"),n("cadf"),n("456d"),n("7037")),r=n.n(i),s=n("970b"),c=n.n(s),l=n("5bc30"),u=n.n(l),d=n("be3b"),E=n("3b1b6"),f=n.n(E),T=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{draft:"draft-04"};if(c()(this,e),void 0===t||""===t)throw Error("URL is mandatory");this.djvEnv=new f.a({version:n.draft}),this.initialized=!1,this.url=t,this.initTimeout=null,console.debug("Load schema(s) on creation"),this.initTimeout=setTimeout(this.init(t),2e3)}return u()(e,[{key:"validateJsonSchema",value:function(e,t){if(!this.initialized)return console.info("djvEnv not ready"),!1;if(this.djvEnv.resolve(t)){var n=this.djvEnv.validate(t,e);if("undefined"===typeof n)return!0;if("$ref"===n.keyword)return!0;throw Error(n)}throw Error("Schema not found: ".concat(t))}},{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.url;this.initialized||d["a"].get(t,{}).then(function(n){var o=n.data;if("object"!==r()(o))throw Error("Error asking for JsonSchema(s): no data");if(0===Object.keys(o).length)throw Error("Schema on url ".concat(t," is empty, check it"));for(var i=Object.entries(o),s=0;s-1))&&(a.splice(o,1),this.listeners.set(e,a),!0)}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Fe()(this,e),!t)throw new Error("Connection url is needed");this.connectionUrl=t,this.connectionHeaders=n;var a=o.stompOptions,i=void 0===a?{debug:!1}:a,r=o.sockJSOptions,s=void 0===r?{}:r,c=o.reconnection,l=void 0!==c&&c,u=o.reconnectionAttempts,d=void 0===u?1/0:u,E=o.reconnectionDelay,f=void 0===E?2e3:E,T=o.debug,p=void 0!==T&&T,S=o.store,m=void 0===S?null:S,O=o.storeNS,b=void 0===O?"":O;this.reconnection=l,this.reconnectionAttempts=d,this.reconnectionDelay=f,this.hasDebug=p,this.reconnectTimeoutId=-1,this.reconnectionCount=0,"undefined"!==typeof m&&null!==m&&(this.store=m,this.storeNS=b),this.stompOptions=i,this.sockJSOptions=s,this.connect()}return We()(e,[{key:"debug",value:function(){var e;this.hasDebug&&(e=console).debug.apply(e,arguments)}},{key:"connect",value:function(){var e=this,t=je()(this.connectionUrl,{},this.sockJSOptions);t.protocol=this.stompOptions.protocol||"",this.StompClient=ze.a.over(t,this.stompOptions),this.StompClient.connect(this.connectionHeaders,function(t){e.doOnEvent("onconnect",t)},function(t){return setTimeout(function(){e.doOnEvent("onerror",t)},1e3)})}},{key:"isConnected",value:function(){return this.StompClient&&this.StompClient.connected}},{key:"reconnect",value:function(){var e=this;this.reconnectionCount<=this.reconnectionAttempts?(this.reconnectionCount+=1,clearTimeout(this.reconnectTimeoutId),this.reconnectTimeoutId=setTimeout(function(){e.doOnEvent("reconnect",e.reconnectionCount),e.connect()},this.reconnectionDelay)):this.store&&this.passToStore("stomp_onerror","Reconnection error")}},{key:"subscribe",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){t.doOnEvent("onmessage",e)};if(e){var a=this.StompClient.subscribe(e,o,n);if(a)return this.doOnEvent("onsubscribe",a),a}return null}},{key:"unsubscribe",value:function(e,t){this.StompClient.unsubscribe(e,t)}},{key:"send",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.isConnected()?(this.StompClient.send(e,JSON.stringify(t),n),this.doOnEvent("onsend",{headers:n,message:t}),!0):(this.doOnEvent("onerrorsend",{headers:n,message:t}),!1)}},{key:"doOnEvent",value:function(e,t){Ke.emit(e,t)||this.debug("No listener for ".concat(e)),this.store&&this.passToStore("stomp_".concat(e),t),this.reconnection&&"onoconnect"===e&&(this.reconnectionCount=0),this.reconnection&&"onerror"===e&&this.reconnect()}},{key:"passToStore",value:function(e,t){if(e.startsWith("stomp_")){var n="dispatch",o=[this.storeNS||"",e.toLowerCase()].filter(function(e){return!!e}).join("/"),a=t||null;t&&t.data&&(a=JSON.parse(t.data),a.mutation?o=[a.namespace||"",a.mutation].filter(function(e){return!!e}).join("/"):a.action&&(n="dispatch",o=[a.namespace||"",a.action].filter(function(e){return!!e}).join("/"))),this.store[n](o,a)}}},{key:"close",value:function(){this.StompClient&&(this.StompClient.disconnect(),this.doOnEvent("onclose")),this.reconnectTimeoutId&&clearTimeout(this.reconnectTimeoutId)}}]),e}(),Qe={install:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!t)throw new Error("[vue-stomp-client] cannot locate connection");var a=null;o.connectManually?(e.prototype.$connect=function(){a=new Xe(t,n,o),e.prototype.$stompClient=a.StompClient},e.prototype.$disconnect=function(){a&&a.reconnection&&(a.reconnection=!1),e.prototype.$stompClient&&(a.close(),delete e.prototype.$stompClient)}):(a=new Xe(t,n,o),e.prototype.$stompClient=a.StompClient),e.mixin({methods:{sendStompMessage:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.defaultMessageDestination;a.send(n,e,t)?console.debug("Message sent: ".concat(JSON.stringify(e,null,4))):console.debug("Message not sent, still no connected:\n".concat(JSON.stringify(e,null,4)))},subscribe:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.defaultSubscribeDestination;return a.subscribe("".concat(i,"/").concat(e),t,n)},unsubscribe:function(e){a.unsubscribe(e),console.debug("Unsubscribe the subscription with id ".concat(e))},reconnect:function(){a.StompClient&&!a.StompClient.connected&&(console.debug("Try to reconnect..."),a.reconnect())},disconnect:function(){a&&a.reconnection&&(a.reconnection=!1),a.close()}},created:function(){var e=this;if(this.$options.sockets){var t=this,n=this.$options.sockets;this.$options.sockets=new Proxy({},{set:function(e,n,o){return Ke.addListener(n,o,t),e[n]=o,!0},deleteProperty:function(e,n){return Ke.removeListener(n,t.$options.sockets[n],t),delete e.key,!0}}),n&&Object.keys(n).forEach(function(t){e.$options.sockets[t]=n[t]})}},beforeDestroy:function(){var e=this;if(this.$options.sockets){var t=this.$options.sockets;t&&Object.keys(t).forEach(function(t){console.debug("Remove listener ".concat(t)),Ke.removeListener(t,e.$options.sockets[t],e),delete e.$options.sockets[t]})}}})}},qe=function(e){var t=e.Vue,n=e.store,o=new URLSearchParams(window.location.search).get(Ie["P"].PARAMS_STOMP_DEBUG),a=!1;"true"===o&&(a=!0),t.use(Qe,"/modeler/message",{},{stompOptions:{debug:a,protocol:"v12.stomp"},store:n,storeNS:"stomp",reconnection:!0,reconnectionAttempts:5,debug:a,defaultMessageDestination:"/klab/message",defaultSubscribeDestination:"/message"})},Je=ye(),Ze=Je.app,$e=Je.store,et=Je.router;[Me["a"],xe["b"],ke["a"],Ue["a"],qe].forEach(function(e){e({app:Ze,router:et,store:$e,Vue:o["a"],ssrContext:null})}),new o["a"](Ze)},4360:function(e,t,n){"use strict";var o,a=n("2b0e"),i=n("2f62"),r=(n("ac6a"),n("cadf"),n("f400"),n("7cca")),s=n("d247"),c={kexplorerLog:[],statusTexts:[],klabLog:[],dataViewers:[],mainDataViewerIdx:0,lastViewerId:0,mainViewer:void 0,treeVisible:!0,leftMenuContent:null,leftMenuState:r["u"].LEFTMENU_HIDDEN,mainControlDocked:!1,contextGeometry:null,spinner:r["H"].SPINNER_STOPPED,spinnerOwners:[],searchActive:!1,searchFocus:!1,searchLostChar:"",searchHistory:[],searchInApp:!1,flowchartSelected:r["g"].GRAPH_DATAFLOW,dataflowInfoOpen:!1,observationInfo:null,mapSelection:r["g"].EMPTY_MAP_SELECTION,exploreMapMode:!1,treeSelected:null,treeTicked:[],treeExpanded:[],topLayer:null,scaleEditing:{active:!1,type:null},drawMode:!1,customContext:!1,saveLocation:!0,saveDockedStatus:!1,modalMode:!1,inputRequests:[],waitingGeolocation:!0,helpShown:!1,modalSize:r["r"].DEFAULT_MODAL_SIZE,fuzzyMode:!1,largeMode:0,helpBaseUrl:null,timeRunning:!1,layout:null,windowSide:"left",dialogs:[],modalWindow:null,engineEvents:[],klabApp:null,levels:[s["a"].TYPE_INFO,s["a"].TYPE_WARNING,s["a"].TYPE_ERROR],showSettings:!0,notificationsParams:null,reloadViews:[],documentationView:r["n"].REPORT,documentationSelected:null,documentationCache:new Map,tableFontSize:12,textFontSize:10,viewCoordinates:!0},l=(n("7514"),n("7f7f"),n("6762"),n("2fdb"),n("448a")),u=n.n(l),d=n("b12a"),E=n("b0b2"),f={kexplorerLog:function(e){return e.kexplorerLog},lastKexplorerLog:function(e){return function(t){return Object(d["o"])(e.kexplorerLog,t)}},klabLog:function(e){return e.klabLog},lastKlabLog:function(e){return function(t){return Object(d["o"])(e.klabLog,t)}},klabLogReversedAndFiltered:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(0===e.klabLog.length)return[];var n=u()(e.klabLog).reverse();return 0===t.length?n:n.filter(function(e){return t.includes(e.type)})}},levels:function(e){return e.levels},statusTexts:function(e){return e.statusTexts},statusTextsLength:function(e){return e.statusTexts.length},statusTextsString:function(e){return e.statusTexts.length>0?e.statusTexts.map(function(e){return e.text}).join(" - "):""},mainViewer:function(e){return e.mainViewer},mainViewerName:function(e){return e.mainViewer?e.mainViewer.name:null},isTreeVisible:function(e){return e.treeVisible},leftMenuContent:function(e){return e.leftMenuContent},leftMenuState:function(e){return e.leftMenuState},isDocked:function(e){return e.leftMenuState!==r["u"].LEFTMENU_HIDDEN},hasMainControl:function(e){return e.mainViewer&&e.mainViewer.mainControl},isMainControlDocked:function(e){return e.mainControlDocked},admitSearch:function(e){return e.mainViewer&&e.mainViewer.hasSearch},contextGeometry:function(e){return e.contextGeometry},dataViewers:function(e){return e.dataViewers},mainDataViewer:function(e){return e.dataViewers.find(function(e){return e.main})},mainDataViewerIdx:function(e){return e.mainDataViewerIdx},lastViewerId:function(e){return e.lastViewerId},viewer:function(e){return function(t){return e.dataViewers.length>0?e.dataViewers.find(function(e){return e.idx===t}):null}},spinnerIsAnimated:function(e){return e.spinner.animated},spinner:function(e){return e.spinner},spinnerOwners:function(e){return e.spinnerOwners},spinnerColor:function(e){return"undefined"!==e.spinner&&null!==e.spinner?Object(E["e"])(e.spinner.color):null},spinnerErrorMessage:function(e){return"undefined"!==e.spinner&&null!==e.spinner?e.spinner.errorMessage:null},searchIsActive:function(e){return e.searchActive},searchIsFocused:function(e){return e.searchFocus},searchLostChar:function(e){return e.searchLostChar},searchHistory:function(e){return e.searchHistory},searchInApp:function(e){return e.searchInApp},flowchartSelected:function(e){return e.flowchartSelected},dataflowInfoOpen:function(e){return e.dataflowInfoOpen},observationInfo:function(e){return e.observationInfo},mapSelection:function(e){return e.mapSelection},hasObservationInfo:function(e){return null!==e.observationInfo},exploreMode:function(e){return!!(null!==e.observationInfo&&Object(d["n"])(e.observationInfo)&&e.observationInfo.dataSummary.histogram.length>0&&e.observationInfo.visible&&e.observationInfo.top)},isScaleEditing:function(e){return e.scaleEditing.active},scaleEditingType:function(e){return e.scaleEditing.type},isDrawMode:function(e){return e.drawMode},hasCustomContext:function(e){return e.customContext},topLayer:function(e){return e.topLayer},topLayerId:function(e){return null!==e.topLayer?e.topLayer.id:null},inputRequests:function(e){return e.inputRequests},hasInputRequests:function(e){return 0!==e.inputRequests.length},isInModalMode:function(e){return e.modalMode},isHelpShown:function(e){return e.helpShown},modalSize:function(e){return e.modalSize},fuzzyMode:function(e){return e.fuzzyMode},largeMode:function(e){return e.largeMode},isTimeRunning:function(e){return e.timeRunning},layout:function(e){return e.layout},appStyle:function(e){return e.layout.style||"default"},modalWindow:function(e){return e.modalWindow},hasHeader:function(e){return e.layout&&(e.layout.header||e.layout.logo||e.layout.label||e.layout.description)},windowSide:function(e){return e.windowSide},isApp:function(e){return null!==e.klabApp},klabApp:function(e){return e.klabApp},activeDialogs:function(e){return e.dialogs.filter(function(e){return!e.dismiss})},engineEvents:function(e){return e.engineEvents},engineEventsCount:function(e){return e.engineEvents.length},hasShowSettings:function(e){return e.showSettings},notificationsParams:function(e){return e.notificationsParams},reloadViews:function(e){return e.reloadViews},documentationView:function(e){return e.documentationView},documentationSelected:function(e){return e.documentationSelected},documentationCache:function(e){return e.documentationCache},tableFontSize:function(e){return e.tableFontSize},textFontSize:function(e){return e.textFontSize},viewCoordinates:function(e){return e.viewCoordinates}},T=(n("f751"),n("3156")),p=n.n(T),S=(n("20d6"),n("741d")),m={ADD_TO_KEXPLORER_LOG:function(e,t){Object(d["p"])(e.kexplorerLog,t)},ADD_TO_KLAB_LOG:function(e,t){Object(d["p"])(e.klabLog,t)},SET_LEVELS:function(e,t){t&&(e.levels=t)},TOGGLE_LEVEL:function(e,t){var n=e.levels.indexOf(t);-1===n?e.levels.push(t):e.levels.splice(n,1)},ADD_TO_STATUS_TEXTS:function(e,t){var n=t.id,o=t.text;e.statusTexts.push({id:n,text:o})},REMOVE_FROM_STATUS_TEXTS:function(e,t){var n=e.statusTexts.findIndex(function(e){return e.id===t});-1!==n&&e.statusTexts.splice(n,1)},SET_CONTEXT_LAYER:function(e,t){e.dataViewers.splice(0,e.dataViewers.length),e.lastViewerId=0,e.contextGeometry=t,e.treeExpanded=[],e.treeTicked=[],e.statusTexts=[],e.treeSelected=null,e.topLayer=null,e.reloadViews.splice(0,e.reloadViews.length),e.documentationSelected=null,e.modalWindow=null},SET_MAIN_VIEWER:function(e,t){e.mainViewer=t},SET_TREE_VISIBLE:function(e,t){e.treeVisible=t},SET_LEFTMENU_CONTENT:function(e,t){e.leftMenuContent=t},SET_LEFTMENU_STATE:function(e,t){e.leftMenuState=t},SET_MAIN_DATA_VIEWER:function(e,t){var n=t.viewerIdx,o=t.visible;if(o)e.dataViewers.forEach(function(t){t.idx===n?(t.main=!0,e.mainDataViewerIdx=n):t.main=!1,t.visible=!t.type.hideable||t.idx===n||t.visible});else{var a=!1;e.dataViewers.forEach(function(t){a||t.type.hideable&&!t.visible?(t.main=!1,t.type.hideable&&t.idx===n&&(t.visible=!1)):(t.main=!0,e.mainDataViewerIdx=t.idx,a=!0)})}},RESET_MAIN_DATA_VIEWER:function(e){e.dataViewer=[],e.mainDataViewerIdx=0},SET_SAVE_DOCKED_STATUS:function(e,t){e.saveDockedStatus=t},SET_MAIN_CONTROL_DOCKED:function(e,t){e.mainControlDocked=t,e.saveDockedStatus&&S["a"].set(r["P"].COOKIE_DOCKED_STATUS,t,{expires:30,path:"/",secure:!0})},ADD_VIEWER_ELEMENT:function(e,t){var n=t.main,o=t.type,a=t.label,i=t.visible,r=t.callback;0===e.lastViewerId?n=!0:!0===n&&e.dataViewers.forEach(function(e){e.main=!1}),e.lastViewerId+=1,e.dataViewers.push({idx:e.lastViewerId,main:n,type:o,label:a,visible:i,observations:[]}),"function"===typeof r&&r(e.lastViewerId)},SET_SPINNER_ANIMATED:function(e,t){e.spinner.animated=t},SET_SPINNER_COLOR:function(e,t){e.spinner.color=t},SET_SPINNER:function(e,t){var n=t.animated,o=t.color,a=t.errorMessage,i=void 0===a?null:a;e.spinner={animated:n,color:o,errorMessage:i}},ADD_TO_SPINNER_OWNERS:function(e,t){var n=e.spinnerOwners.indexOf(t);-1===n&&e.spinnerOwners.push(t)},REMOVE_FROM_SPINNER_OWNERS:function(e,t){var n=e.spinnerOwners.indexOf(t);-1!==n&&e.spinnerOwners.splice(n,1)},SEARCH_ACTIVE:function(e,t){var n=t.active,o=t.char,a=void 0===o?"":o;e.searchActive!==n&&(e.searchLostChar=a,e.searchActive=n)},SEARCH_FOCUS:function(e,t){var n=t.focused,o=t.char,a=void 0===o?"":o;e.searchFocus!==n&&(e.searchLostChar=a,e.searchFocus=n)},SEARCH_INAPP:function(e,t){e.searchInApp=t},RESET_SEARCH_LOST_CHAR:function(e){e.searchLostChar=""},RESET_SEARCH:function(e){e.searchActive=!1,e.searchFocus=!1,e.searchLostChar=""},STORE_SEARCH:function(e,t){e.searchHistory.unshift(t)},SET_FLOWCHART_SELECTED:function(e,t){e.flowchartSelected=t},SET_DATAFLOW_INFO_OPEN:function(e,t){e.dataflowInfoOpen=t},SET_OBSERVATION_INFO:function(e,t){null===t?(e.treeSelected=null,e.mapSelection.locked||(e.mapSelection=r["g"].EMPTY_MAP_SELECTION),e.observationInfo=null):null!==e.observationInfo&&t.id===e.observationInfo.id||(e.observationInfo=t,e.mapSelection.locked||(e.mapSelection=r["g"].EMPTY_MAP_SELECTION),e.treeSelected=t.id)},SET_MAP_SELECTION:function(e,t){var n=t.pixelSelected,o=t.layerSelected,a=t.value,i=void 0===a?null:a,s=t.locked,c=void 0!==s&&s;e.mapSelection=null===t||null===n?r["g"].EMPTY_MAP_SELECTION:{pixelSelected:n,layerSelected:o,value:i,locked:c}},SET_SCALE_EDITING:function(e,t){var n=t.active,o=t.type;e.scaleEditing={active:n,type:o}},SET_DRAW_MODE:function(e,t){e.drawMode=t},SET_CUSTOM_CONTEXT:function(e,t){e.customContext=t},SET_SAVE_LOCATION:function(e,t){e.saveLocation=t},SET_TOP_LAYER:function(e,t){e.topLayer=t},SET_MODAL_MODE:function(e,t){e.modalMode=t},SET_INPUT_REQUEST:function(e,t){var n=t.payload,o=t.id;e.inputRequests.push(p()({messageId:o},n))},REMOVE_INPUT_REQUEST:function(e,t){if(e.inputRequests.length>0)if(null===t)e.inputRequests.splice(0,e.inputRequests.length);else{var n=e.inputRequests.findIndex(function(e){return e.messageId===t});-1!==n&&e.inputRequests.splice(n,1)}},SET_MODAL_SIZE:function(e,t){var n=t.width,o=t.height;e.modalSize={width:n,height:o}},SET_FUZZY_MODE:function(e,t){e.fuzzyMode=t},SET_LARGE_MODE:function(e,t){t<0?t=0:t>6&&(t=r["g"].MAX_SEARCHBAR_INCREMENTS),e.largeMode=t},SET_TIME_RUNNING:function(e,t){e.timeRunning=t},SET_LAYOUT:function(e,t){e.layout=t},SET_MODAL_WINDOW:function(e,t){e.modalWindow=t},SET_WINDOW_SIDE:function(e,t){e.windowSide=t},CREATE_VIEW_COMPONENT:function(e,t){if(t.type!==r["a"].ALERT&&t.type!==r["a"].CONFIRM){var n=e.layout&&(Object(d["d"])(e.layout,t.id)||e.modalWindow&&Object(d["d"])(e.modalWindow,t.id));if(n)console.log("Updating component: ",JSON.stringify(n,null,2)),Object.assign(n,t),console.log("Updated component: ",JSON.stringify(n,null,2));else{var o=Object(d["c"])(e.layout,t.parentId)||e.modalWindow&&Object(d["c"])(e.modalWindow,t.id);o&&(o.children.push(t),console.warn("Update parent: ",o))}}else e.dialogs.push(p()({},t,{dismiss:!1}))},SET_ENGINE_EVENT:function(e,t){if(null!==e.engineEvents)switch(t.type){case r["o"].RESOURCE_VALIDATION:var n=e.engineEvents.findIndex(function(e){return e.id===t.id});t.started?-1===n?e.engineEvents.push({id:t.id,timestamp:t.timestamp}):console.debug("Try to start an existing engine event",t):-1!==n?e.engineEvents.splice(n,1):console.debug("Try to stop an unregistered engine event",t),console.debug("Engine event with id ".concat(t.id," ").concat(t.started?"start":"stop"," / total engine events: ").concat(e.engineEvents.length));break;default:break}else console.debug("Receive an engine event before subscription")},VIEW_ACTION:function(e,t){if(null!==t.component){if(e.layout||e.modalWindow){var n=Object(d["d"])(e.layout,t.component.id)||null!==e.modalWindow&&Object(d["d"])(e.modalWindow,t.component.id);n&&(0===t.component.components.length&&0!==n.components.length&&delete t.component.components,Object.assign(n,t.component))}}else console.warn("Action component is null")},SHOW_SETTINGS:function(e,t){e.showSettings=t},SET_NOTIFICATIONS_PARAMS:function(e,t){e.notificationsParams=t},SET_DOCUMENTATION_VIEW:function(e,t){e.documentationView=t},SET_DOCUMENTATION_SELECTED:function(e,t){e.documentationSelected=t},SET_RELOAD_VIEWS:function(e,t){t&&t.forEach(function(t){-1===e.reloadViews.indexOf(t)&&e.reloadViews.push(t)})},REMOVE_RELOAD_VIEW:function(e,t){-1!==e.reloadViews.indexOf(t)&&e.reloadViews.splice(e.reloadViews.indexOf(t),1)},SET_TABLE_FONT_SIZE:function(e,t){e.tableFontSize=t},SET_TEXT_FONT_SIZE:function(e,t){e.textFontSize=t},SET_VIEW_COORDINATES:function(e,t){e.viewCoordinates=t}},O=n("7037"),b=n.n(O),A=(n("551c"),n("c1df")),_=n.n(A),I=n("4328"),v=n.n(I),N=n("8449"),h=n("256f"),R={addToKexplorerLog:function(e,t){var n=e.commit,o=t.type,a=t.payload,i=t.important,r=void 0!==i&&i;n("ADD_TO_KEXPLORER_LOG",{type:o,payload:a,important:r,time:_()()})},addToKlabLog:function(e,t){var n=e.commit,o=t.type,a=t.id,i=t.payload,r=t.timestamp;n("ADD_TO_KLAB_LOG",{type:o,id:a,payload:i,time:_()(r)})},setLevels:function(e,t){var n=e.commit;n("SET_LEVELS",t)},toggleLevel:function(e,t){var n=e.commit;n("TOGGLE_LEVEL",t)},addToStatusTexts:function(e,t){var n=e.commit,o=t.id,a=t.text;n("ADD_TO_STATUS_TEXTS",{id:o,text:a})},removeFromStatusTexts:function(e,t){var n=e.commit;n("REMOVE_FROM_STATUS_TEXTS",t)},setContextLayer:function(e,t){var n=e.state,o=e.commit,a=e.dispatch;Object(d["j"])(t).then(function(e){o("SET_CONTEXT_LAYER",e),o("RESET_SEARCH"),a("assignViewer",{observation:t,main:!0}),n.mainViewer.name===r["M"].DATA_VIEWER.name&&n.mainControlDocked&&a("setMainViewer",r["M"].DOCKED_DATA_VIEWER)})},resetContext:function(e){var t=e.commit;t("SET_CONTEXT_LAYER",null),t("RESET_SEARCH"),t("SET_OBSERVATION_INFO",null);var n=r["M"].DATA_VIEWER;t("SET_LEFTMENU_CONTENT",n.leftMenuContent),t("SET_LEFTMENU_STATE",n.leftMenuState),t("SET_MAIN_VIEWER",n),t("RESET_MAIN_DATA_VIEWER",null),t("SET_MAP_SELECTION",r["g"].EMPTY_MAP_SELECTION),t("SET_FLOWCHART_SELECTED",r["g"].GRAPH_DATAFLOW)},setMainViewer:function(e,t){var n=e.state,o=e.commit,a=e.dispatch;t&&"undefined"!==typeof n.mainViewer&&(t.leftMenuContent===r["u"].DOCKED_DATA_VIEWER_COMPONENT?o("SET_MAIN_CONTROL_DOCKED",!0):t.leftMenuContent===r["u"].DATA_VIEWER_COMPONENT&&o("SET_MAIN_CONTROL_DOCKED",!1)),o("SET_MAIN_VIEWER",t),t&&(a("setLeftMenuState",t.leftMenuState),a("setLeftMenuContent",t.leftMenuContent))},setTreeVisible:function(e,t){var n=e.commit;n("SET_TREE_VISIBLE",t)},setLeftMenuContent:function(e,t){var n=e.commit;n("SET_LEFTMENU_CONTENT",t)},setLeftMenuState:function(e,t){var n=e.commit;n("SET_LEFTMENU_STATE",t)},setMainDataViewer:function(e,t){var n=e.commit,o=e.getters,a=t.viewerIdx,i=t.viewerType,r=void 0===i?null:i,s=t.visible,c=void 0===s||s;(c&&a!==o.mainDataViewerIdx||!c&&null!==r&&r.hideable)&&n("SET_MAIN_DATA_VIEWER",{viewerIdx:a,visible:c})},assignViewer:function(e,t){var n=e.commit,o=e.getters,a=e.dispatch,i=e.rootGetters,s=t.observation,c=t.main,l=void 0!==c&&c;return new Promise(function(e,t){var c,u=null,E=null;if(s.observationType)switch(s.observationType){case r["y"].TYPE_GROUP:case r["y"].TYPE_VIEW:case r["y"].TYPE_PROCESS:u=null;break;case r["y"].TYPE_STATE:var f;if(1===s.valueCount)u=null;else if(u=r["N"].VIEW_MAP,f=s.parentId===i["data/contextId"]?i["data/context"]:i["data/observations"].find(function(e){return e.id===s.parentId}),"undefined"!==typeof f){s.encodedShape=f.encodedShape;var T=f;E=T.label}else console.warn("Need parent of ".concat(s.id," but doesn't find it. Parent id is ").concat(s.parentId));break;case r["y"].TYPE_INITIAL:case r["y"].TYPE_RELATIONSHIP:u=r["N"].VIEW_MAP;var p=null;if(null!==s.parentId&&(p=Object(d["f"])(i["data/tree"],s.parentId),"undefined"===typeof p&&(console.warn("Observation with id ".concat(s.id," has an invalid unknown parent: ").concat(s.parentId)),p=null)),p){var S=p;E=S.label}else E=s.label;break;case r["y"].TYPE_SUBJECT:u=r["N"].VIEW_MAP;break;case r["y"].TYPE_CONFIGURATION:u=r["N"].VIEW_GRAPH,E=s.label;break;case r["y"].TYPE_EVENT:u=r["N"].VIEW_UNKNOWN;break;default:t(new Error("Unknown observation type in observation labeled ".concat(s.label,": ").concat(s.observationType)));break}null!==u?(console.debug("Need a viewer of type ".concat(u.component)),u.forceNew||(c=o.dataViewers.find(function(e){return e.type.component===u.component})),"undefined"===typeof c?(console.info("Create new viewer of type ".concat(u.component)),n("ADD_VIEWER_ELEMENT",{main:l,type:u,label:E&&null!==E?E:u.label,visible:!u.hideable,callback:function(t){e(t)}})):(l&&a("setMainDataViewer",{viewerIdx:c.idx}),e(c.idx))):e(null)})},setSpinner:function(e,t){var n=e.commit,o=e.getters,a=e.dispatch,i=t.animated,s=t.color,c=t.time,l=void 0===c?null:c,u=t.then,d=void 0===u?null:u,E=t.errorMessage,f=void 0===E?null:E,T=t.owner;return new Promise(function(e){if(!T||null===T)throw new Error("No spinner owner!");i?n("ADD_TO_SPINNER_OWNERS",T):(n("REMOVE_FROM_SPINNER_OWNERS",T),0!==o.spinnerOwners.length&&(i=!0,s!==r["H"].SPINNER_ERROR.color&&(s=r["H"].SPINNER_LOADING.color))),null!==f&&"object"===b()(f)&&(f=JSON.stringify(f)),n("SET_SPINNER",{animated:i,color:s,errorMessage:f}),null!==l&&null!==d&&setTimeout(function(){a("setSpinner",p()({},d,{owner:T}))},1e3*l),e()})},searchStart:function(e){var t=e.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t("SEARCH_ACTIVE",{active:!0,char:n})},searchStop:function(e){var t=e.commit;t("SEARCH_ACTIVE",{active:!1})},searchFocus:function(e,t){var n=e.commit,o=t.focused,a=t.char,i=void 0===a?null:a;n("SEARCH_FOCUS",{focused:o,char:i})},resetSearchLostChar:function(e){var t=e.commit;t("RESET_SEARCH_LOST_CHAR")},storePreviousSearch:function(e,t){var n=e.commit;n("STORE_SEARCH",t)},searchInApp:function(e,t){var n=e.commit;n("SEARCH_INAPP",t)},setFlowchartSelected:function(e,t){var n=e.commit;n("SET_FLOWCHART_SELECTED",t)},setDataflowInfoOpen:function(e,t){var n=e.commit;n("SET_DATAFLOW_INFO_OPEN",t)},setObservationInfo:function(e,t){var n=e.commit;n("SET_OBSERVATION_INFO",t)},setMapSelection:function(e,t){var n=e.commit,o=e.state,a=t.pixelSelected,i=t.timestamp,c=void 0===i?-1:i,l=t.layerSelected,u=void 0===l?null:l,E=t.observationId,f=void 0===E?null:E,T=t.locked,p=void 0!==T&&T;if(null!==a){null===f&&(f=o.observationInfo.id);var S="".concat("").concat(s["c"].REST_SESSION_VIEW,"data/").concat(f),m=Object(h["l"])(a,"EPSG:3857","EPSG:4326"),O=-1!==c?"T1(1){time=".concat(c.toFixed(0),"}"):"";Object(d["h"])("pv_".concat(f),S,{params:{format:"SCALAR",locator:"".concat(O,"S0(1){latlon=[").concat(m[0]," ").concat(m[1],"]}")},paramsSerializer:function(e){return v.a.stringify(e,{arrayFormat:"repeat"})}},function(e,t){var o="No value";e&&"undefined"!==typeof e.data&&(o=e.data),n("SET_MAP_SELECTION",{pixelSelected:a,layerSelected:u,value:o,locked:p}),t()})}else n("SET_MAP_SELECTION",r["g"].EMPTY_MAP_SELECTION)},setScaleEditing:function(e,t){var n=e.commit,o=t.active,a=t.type;n("SET_SCALE_EDITING",{active:o,type:a}),n("SET_MODAL_MODE",o)},setDrawMode:function(e,t){var n=e.commit;n("SET_DRAW_MODE",t),n("SET_MODAL_MODE",t)},setCustomContext:function(e,t){var n=e.commit;n("SET_CUSTOM_CONTEXT",t)},setTopLayer:function(e,t){var n=e.commit;n("SET_TOP_LAYER",t)},inputRequest:function(e,t){var n=e.commit;n("SET_INPUT_REQUEST",t),n("SET_MODAL_MODE",!0)},removeInputRequest:function(e,t){var n=e.commit,o=e.getters;n("REMOVE_INPUT_REQUEST",t),o.hasInputRequests||n("SET_MODAL_MODE",!1)},setModalMode:function(e,t){var n=e.commit;n("SET_MODAL_MODE",t)},setModalSize:function(e,t){var n=e.commit,o=t.width,a=t.height;n("SET_MODAL_SIZE",{width:o,height:a})},setFuzzyMode:function(e,t){var n=e.rootGetters,o=e.commit;n["data/hasContext"]||o("SET_FUZZY_MODE",t)},setLargeMode:function(e,t){var n=e.commit;n("SET_LARGE_MODE",t)},setTimeRunning:function(e,t){var n=e.commit;n("SET_TIME_RUNNING",t)},setLayout:function(e,t){var n=e.commit;if(null===t||"DESKTOP"!==t.platform&&"MOBILE"!==t.platform)if(n("SET_LAYOUT",null===t?null:p()({},t)),null!==t)localStorage.setItem(r["P"].LOCAL_STORAGE_APP_ID,t.name);else{var o=localStorage.getItem(r["P"].LOCAL_STORAGE_APP_ID);o&&localStorage.removeItem(r["P"].LOCAL_STORAGE_APP_ID)}else console.info("Received an app for another platform: ".concat(t.platform))},setModalWindow:function(e,t){var n=e.commit;n("SET_MODAL_WINDOW",t)},setWindowSide:function(e,t){var n=e.commit;n("SET_WINDOW_SIDE",t)},setEngineEvent:function(e,t){var n=e.commit;n("SET_ENGINE_EVENT",t)},createViewComponent:function(e,t){var n=e.commit;n("CREATE_VIEW_COMPONENT",t)},viewAction:function(e,t){var n=e.commit;n("VIEW_ACTION",t)},viewSetting:function(e,t){var n=e.getters,o=e.rootGetters,a=e.dispatch;if(t){var i=function(){N["b"].$emit(r["h"].SELECT_ELEMENT,{id:t.targetId,selected:t.operation===r["O"].SHOW})};switch(t.target){case r["O"].OBSERVATION:n.mainViewerName!==r["M"].DATA_VIEWER.name&&t.operation===r["O"].SHOW?a("setMainViewer",r["M"].DATA_VIEWER).then(function(){i(),N["b"].$emit(r["h"].MAP_SIZE_CHANGED,{type:"changelayout"})}):i();break;case r["O"].VIEW:i();break;case r["O"].TREE:n.mainViewerName===r["M"].DATA_VIEWER.name&&o["data/hasContext"]&&a("setTreeVisible",t.operation===r["O"].SHOW);break;case r["O"].REPORT:n.mainViewerName===r["M"].REPORT_VIEWER.name&&t.operation===r["O"].HIDE?a("setMainViewer",n.isMainControlDocked?r["M"].DOCKED_DATA_VIEWER:r["M"].DATA_VIEWER):n.mainViewerName!==r["M"].REPORT_VIEWER.name&&o["data/hasObservations"]&&t.operation===r["O"].SHOW&&a("setMainViewer",r["M"].REPORT_VIEWER);break;case r["O"].DATAFLOW:n.mainViewerName===r["M"].DATAFLOW_VIEWER.name&&t.operation===r["O"].HIDE?a("setMainViewer",n.isMainControlDocked?r["M"].DOCKED_DATA_VIEWER:r["M"].DATA_VIEWER):n.mainViewerName!==r["M"].DATAFLOW_VIEWER.name&&o["data/hasContext"]&&t.operation===r["O"].SHOW&&a("setMainViewer",r["M"].DATAFLOW_VIEWER);break;case r["O"].URL:N["b"].$emit(r["h"].DOWNLOAD_URL,{url:t.targetId,parameters:t.parameters});break;default:break}}},setShowSettings:function(e,t){var n=e.commit;n("SHOW_SETTINGS",t)},setNotificationsParams:function(e,t){var n=e.commit;n("SET_NOTIFICATIONS_PARAMS",t)},setDocumentationView:function(e,t){var n=e.commit;n("SET_DOCUMENTATION_VIEW",t)},setDocumentationSelected:function(e,t){var n=e.commit;n("SET_DOCUMENTATION_SELECTED",t)},setDocumentation:function(e,t){var n=e.commit,o=e.rootGetters;if(!t.view){var a=o["data/documentationContent"].get(t.id);if(!a)return void console.debug("Try to show an unknown document: ".concat(t.id));t.view=r["m"][a.type]}n("SET_DOCUMENTATION_VIEW",t.view),n("SET_DOCUMENTATION_SELECTED",t.id),N["b"].$emit(r["h"].SHOW_DOCUMENTATION),N["b"].$emit(r["h"].SELECT_ELEMENT,{id:t.id,selected:!0})},changeInDocumentation:function(e,t){var n=e.commit;if(t.viewsAffected){var o=t.viewsAffected.filter(function(e){return e!==r["n"].REFERENCES&&e!==r["n"].MODELS});if(o.length>1&&o.includes(r["n"].TABLES)){var a=o.indexOf(r["n"].REPORT);-1!==a&&o.splice(a,1)}o.length>0&&n("SET_RELOAD_VIEWS",o)}},removeReloadView:function(e,t){var n=e.commit;n("REMOVE_RELOAD_VIEW",t)},setTableFontSize:function(e,t){var n=e.commit;n("SET_TABLE_FONT_SIZE",t)},setTextFontSize:function(e,t){var n=e.commit;n("SET_TABLE_FONT_SIZE",t)},setViewCoordinates:function(e,t){var n=e.commit;n("SET_VIEW_COORDINATES",t)}},C={namespaced:!0,state:c,getters:f,mutations:m,actions:R},g=(n("456d"),n("970b")),w=n.n(g),L=n("5bc30"),P=n.n(L),D=function(){function e(){w()(this,e),this.items=[]}return P()(e,[{key:"push",value:function(e){this.items.push(e)}},{key:"pop",value:function(e){if("undefined"!==typeof e&&e>0){if(e>this.size()-1)throw Error("Stack overflow");return this.items.splice(e+1),this.items.peek()}return this.items.pop()}},{key:"peek",value:function(){return 0===this.items.length?null:this.items[this.items.length-1]}},{key:"previous",value:function(){return this.items.length<=1?null:this.items[this.items.length-2]}},{key:"size",value:function(){return this.items.length}},{key:"findIndex",value:function(e){return this.items.findIndex(e)}},{key:"findItem",value:function(e){return this.items.find(function(t){return t.id===e})}},{key:"map",value:function(e){return this.items.map(e)}},{key:"empty",value:function(){this.items.splice(0)}},{key:"isEmpty",value:function(){return 0===this.items.length}},{key:"toArray",value:function(){return this.items}}]),e}(),y={sessionReference:null,tree:[],userTree:[],lasts:[],contexts:new D,contextCustomLabel:null,scaleReference:null,schedulingResolution:null,proposedContext:null,scaleLocked:{space:!1,time:!1},nextScale:null,observations:[],contextMenuObservationId:null,knowledgeViews:[],timeEvents:[],modificationsTask:null,timestamp:-1,engineTimestamp:-1,flowcharts:r["s"],dataflowStatuses:[],dataflowInfo:null,session:null,contextsHistory:[],waitingForReset:null,orphans:[],searchResult:null,childrenToAskFor:r["g"].CHILDREN_TO_ASK_FOR,interactiveMode:!1,crossingIDL:!1,capabilities:{},local:!1,token:null,packageVersion:"0.22.0",packageBuild:"0",terminalsCounter:0,terminals:[],terminalCommands:null!==localStorage.getItem(r["P"].LOCAL_STORAGE_TERMINAL_COMMANDS)?JSON.parse(localStorage.getItem(r["P"].LOCAL_STORAGE_TERMINAL_COMMANDS)):[],documentationTrees:Object.keys(r["n"]).map(function(e){return{view:e,tree:[]}}),documentationContent:new Map},M=(n("55dd"),{sessionReference:function(e){return e.sessionReference},isDeveloper:function(e){return e.sessionReference&&e.sessionReference.owner&&e.sessionReference.owner.groups&&-1!==e.sessionReference.owner.groups.findIndex(function(e){return"DEVELOPERS"===e.id})},tree:function(e){return e.tree},treeNode:function(e){return function(t){return Object(d["f"])(e.tree,t)}},lasts:function(e){return e.lasts},hasTree:function(e){return e.tree.length>0},mainTreeHasNodes:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return null!==Object(d["e"])(e.tree,"",function(e){return e.userNode||t&&!e.ticked?null:e})}},userTree:function(e){return e.userTree},observations:function(e){return e.observations},observationsOfViewer:function(e){return function(t){return e.observations.filter(function(e){return e.viewerIdx===t})}},hasObservations:function(e){return 0!==e.observations.length},visibleObservations:function(e){return e.observations.filter(function(e){return e.visible})},observationsIdOnTop:function(e){return e.observations.filter(function(e){return e.top}).map(function(e){return e.id})},contextMenuObservationId:function(e){return e.contextMenuObservationId},knowledgeViews:function(e){return e.knowledgeViews},visibleKnowledgeView:function(e){return e.knowledgeViews.find(function(e){return e.show})},timeEvents:function(e){return e.timeEvents},timeEventsOfObservation:function(e){return function(t){return e.timeEvents.filter(function(e){return e.id===t})}},timeEventsUntil:function(e){return function(t){return e.timeEventsEvents.filter(function(e){return e.timestamp<=t})}},modificationsTask:function(e){return e.modificationsTask},visibleEvents:function(e){var t=e.observations.filter(function(e){return e.visible}).map(function(e){return e.id});return e.timeEvents.filter(function(e){return t.includes(e.id)})},timestamp:function(e){return e.timestamp},engineTimestamp:function(e){return e.engineTimestamp},flowcharts:function(e){return e.flowcharts},flowchart:function(e){return function(t){return e.flowcharts.find(function(e){return e.type===t})}},flowchartsUpdatable:function(e){return e.flowcharts.find(function(e){return e.updatable})},flowchartUpdatable:function(e){return function(t){var n=e.flowcharts.find(function(e){return e.type===t});return!!n&&n.updatable}},dataflowStatuses:function(e){return e.dataflowStatuses},dataflowInfo:function(e){return e.dataflowInfo},contextsId:function(e){return e.contexts.map(function(e){return e.id})},context:function(e){return e.contexts.peek()},contextsCount:function(e){return e.contexts.size()},previousContext:function(e){return e.contexts.previous()},contextById:function(e){return function(t){return e.contexts.findItem(t)}},proposedContext:function(e){return e.proposedContext},hasContext:function(e,t){return null!==t.context},contextLabel:function(e,t){return null!==t.context?t.context.label:null},contextCustomLabel:function(e){return null!==e.contextCustomLabel?e.contextCustomLabel:null},contextsLabels:function(e,t){return null!==t.context?e.contexts.map(function(e){return{label:e.label,contextId:e.id}}):[]},contextId:function(e,t){return null!==t.context?t.context.id:null},contextEncodedShape:function(e,t){return null!==t.context?"".concat(t.context.spatialProjection," ").concat(t.context.encodedShape):""},contextsHistory:function(e){return e.contextsHistory.length>0&&e.contextsHistory.sort(function(e,t){return e.creationTime===t.creationTime?0:e.creationTime>t.creationTime?-1:1}),e.contextsHistory},contextReloaded:function(e,t){return null!==t.context&&"undefined"!==typeof t.context.restored&&t.context.restored},contextHasTime:function(e,t){return null!==t.context&&t.context.scaleReference&&0!==t.context.scaleReference.end},session:function(e){return e.session},scaleReference:function(e,t){return null!==t.context?t.context.scaleReference:e.scaleReference},schedulingResolution:function(e){return e.schedulingResolution},isScaleLocked:function(e){return e.scaleLocked},nextScale:function(e){return e.nextScale},hasNextScale:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!==e.nextScale&&(null===t||t===r["B"].ST_SPACE&&e.nextScale.spaceChanged||t===r["B"].ST_SPACE&&e.nextScale.spaceChanged)}},capabilities:function(e){return e.capabilities},searchResult:function(e){return e.searchResult},interactiveMode:function(e){return e.interactiveMode},isCrossingIDL:function(e){return e.crossingIDL},isLocal:function(e){return e.local},terminals:function(e){return e.terminals},hasActiveTerminal:function(e){return-1!==e.terminals.findIndex(function(e){return e.active})},terminalCommands:function(e){return e.terminalCommands},documentationTrees:function(e){return e.documentationTrees},documentationContent:function(e){return e.documentationContent}}),x=n("9523"),k=n.n(x),U=n("1442"),V={SET_SESSION_REFERENCE:function(e,t){e.sessionReference=t},SET_CONTEXT:function(e,t){var n=t.context,o=void 0===n?null:n,a=t.isRecontext,i=void 0!==a&&a;if(null===o)e.contexts.empty();else{var s=e.contexts.findIndex(function(e){return e.id===o.id});if(-1===s){if(i){var c=e.contexts.peek();o.scaleReference=c.scaleReference}e.contexts.push(o)}else e.contexts.pop(s)}e.tree=[],e.userTree=[],e.lasts=[],e.observations=[],e.knowledgeViews=[],e.flowcharts.forEach(function(e){e.flowchart=null,e.graph=null,e.updatable=!1,e.visible=!1}),e.dataflowStatuses=[],e.dataflowInfo=null,e.nodeSelected=null,e.nextScale=null,e.crossingIDL=!1,e.contextCustomLabel=null,e.timeEvents=[],e.timestamp=-1,e.engineTimestamp=-1,e.proposedContext=null,e.documentationTrees.forEach(function(e){e.tree.splice(0,e.tree.length)}),e.documentationContent.clear(),e.documentationView=r["n"].REPORT,null===o?e.contextsHistory=[]:"undefined"===typeof o.restored&&(o.restored=!1),e.schedulingResolution=null},SET_CONTEXT_CUSTOM_LABEL:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e.contextCustomLabel=t},WAITING_FOR_RESET:function(e,t){e.waitingForReset=t},STORE_CONTEXT:function(e,t){var n=e.contextsHistory.find(function(e){return e.id===t.id});"undefined"===typeof n?(console.debug("Added new context in store with id ".concat(t.id)),e.contextsHistory.push(t)):console.debug("Context with id ".concat(t.id," yet exists in contextHistory"))},SET_RELOAD_FLOWCHART:function(e,t){e.flowcharts.filter(function(e){return null===t||e.target===t}).forEach(function(e){e.updatable=!0,e.visible=!1})},ADD_FLOWCHART:function(e,t){var n=t.flowchart,o=t.target,a=e.flowcharts.find(function(e){return e.type===o});a?(a.flowchart=n,a.updatable=!1):console.warn("Unknown target to add flowchart: ".concat(o))},SET_DATAFLOW_STATUS:function(e,t){var n=t.id,o=t.status,a=e.dataflowStatuses.find(function(e){return e.id===n});"undefined"!==typeof a?a.status=o:e.dataflowStatuses.push({id:n,status:o})},SET_DATAFLOW_INFO:function(e,t){e.dataflowInfo=t},UPDATE_TIME_EVENTS:function(e,t){t.timeEvents&&t.timeEvents.length>0&&(t.timeEvents.forEach(function(n){e.timeEvents.push({id:t.id,timestamp:n})}),console.debug("Added ".concat(t.timeEvents.length," events")))},ADD_OBSERVATION:function(e,t){var n=t.observation;e.observations.push(n),console.info("Added observation: ".concat(n.label)),console.debug("Observation content: ".concat(JSON.stringify(n,null,2)))},UPDATE_OBSERVATION:function(e,t){var n=t.observationIndex,o=t.newObservation,a=e.observations[n],i=p()({},a,o);e.observations.splice(n,1,i);var r=function(e){e?(e.needUpdate=!i.contextualized,e.dynamic=i.dynamic,e.childrenCount=i.childrenCount,e.children.forEach(function(e){e.siblingsCount=i.childrenCount}),e.tickable=null!==i.viewerIdx&&!i.empty||i.isContainer||i.childrenCount>0,e.exportFormats=i.exportFormats):console.warn("Node of ".concat(i.id," - ").concat(i.label," not found"))},s=Object(d["f"])(e.tree,i.id);r(s),s&&s.userNode&&r(Object(d["f"])(e.userTree,i.id))},SET_CONTEXTMENU_OBSERVATIONID:function(e,t){e.contextMenuObservationId=t},MOD_BRING_FORWARD:function(e,t){var n=e.observations.find(function(e){return e.id===t.id});n||console.warn("Receive a bring forward for an unknown observation: ".concat(t.id," - ").concat(t.label)),n.main=!0,t.main=!0},MOD_STRUCTURE_CHANGE:function(e,t){var n=t.node,o=t.modificationEvent,a=e.observations.find(function(e){return e.id===o.id});a.childrenCount=o.newSize,a.empty=!1,o.exportFormats&&(a.exportFormats=o.exportFormats);var i=function(e){e&&(e.childrenCount=o.newSize,o.exportFormats&&(e.exportFormats=o.exportFormats),e.children.forEach(function(e){e.siblingsCount=o.newSize}),e.tickable=!0,e.disabled=!1,e.empty=!1,e.needUpdate=!0)};i(n),n.userNode&&i(Object(d["f"])(e.userTree,n.id))},MOD_VALUE_CHANGE:function(e,t){if(t.dynamic=!0,t.needUpdate=!1,t.userNode){var n=Object(d["f"])(e.userTree,t.id);n?(n.dynamic=!0,n.needUpdate=!1):console.warn("Node theoretically in user tree but not found: ".concat(t.id," - ").concat(t.label))}},ADD_KNOWLEDGE_VIEW:function(e,t){e.knowledgeViews.push(p()({},t,{show:!1}))},SHOW_KNOWLEDGE_VIEW:function(e,t){e.knowledgeViews.forEach(function(e){e.viewId===t&&(e.show=!0)})},ADD_TIME_EVENT:function(e,t){var n=-1!==e.timeEvents.findIndex(function(e){return e.id===t.id&&e.timestamp===t.timestamp&&e.newAttributes===t.newAttributes&&e.newScale===t.newScale&&e.newName===t.newName&&e.newSemantics===t.newSemantics&&e.newSize===t.newSize});n?console.warn("Duplicated time event:\n ".concat(JSON.stringify(t,null,2))):e.timeEvents.push(t)},SET_MODIFICATIONS_TASK:function(e,t){e.modificationsTask=t},SET_TIMESTAMP:function(e,t){e.timestamp=t},SET_ENGINE_TIMESTAMP:function(e,t){e.engineTimestamp=t},SET_SCHEDULING_STATUS:function(e,t){if(null!==e.scaleReference)switch(t.type){case"TIME_ADVANCED":e.engineTimestamp=t.currentTime;break;case"STARTED":e.engineTimestamp=t.currentTime,e.schedulingResolution=t.resolution,N["b"].$emit(r["h"].NEW_SCHEDULING);break;case"FINISHED":e.engineTimestamp=e.scaleReference.end;break;default:console.warn("Unknown scheduling type: ".concat(t.type));break}else console.warn("Try to change scheduling type but no scaleReference")},ADD_NODE:function(e,t){var n=t.node,o=t.parentId,a=t.toUserTreeOnly,i=void 0!==a&&a,r=e.contexts.peek();if(null===r)return console.info("Context is null, it's just set or is a new observation of previous search for this session, so added to orphans. ID: ".concat(n.id)),void e.orphans.push(n);var s=r.id===r.rootContextId;if((s&&n.rootContextId!==r.id||!s&&n.contextId!==r.id)&&console.info("Subcontext or trying to add to tree an observation of other context. Actual: ".concat(r.id," / Node: ").concat(n.rootContextId)),r.id!==n.id)if(r.id===o){if(i||e.tree.push(n),n.userNode){var c=JSON.parse(JSON.stringify(n));e.userTree.push(c)}}else{var l=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,i=Object(d["f"])(t,o);null!==i?(i.children.length===i.childrenCount&&(i.childrenCount++,i.children.forEach(function(e){e.siblingsCount=i.childrenCount})),i.children.push(p()({},a,{idx:i.children.length,siblingsCount:i.childrenCount})),i.disabled=!1):(console.warn("Orphan founded with id ".concat(n.id)),e.orphans.push(n))};i||l(e.tree),n.userNode&&l(e.userTree,JSON.parse(JSON.stringify(n)))}else console.error("Try to add context to tree, check it!")},REMOVE_NODE:function(e,t){var n=t.id,o=t.fromMainTree,a=void 0!==o&&o,i=a?e.tree:e.userTree,r=function e(t,n){var o=t.findIndex(function(e){return e.id===n});-1===o?t.forEach(function(t){t.children&&0!==t.children.length&&e(t.children,n)}):(t.splice(o,1),console.debug("Find and delete node ".concat(n," from ").concat(a?"main tree":"user tree")))};r(i,n)},UPDATE_USER_NODE:function(e,t){var n=t.node,o=t.userNode,a=function e(t){t.userNode=o,t.children&&t.children.length>0&&t.children.forEach(function(t){return e(t)})};a(n)},SET_FOLDER_VISIBLE:function(e,t){var n=t.nodeId,o=t.visible,a=t.zIndexOffset;if(null!==a){e.observations.forEach(function(e){e.parentArtifactId===n||e.parentId===n?(e.visible=o,e.top=o):o&&e.zIndexOffset===a&&(e.top=!1)});var i=e.observations.find(function(e){return e.id===n});"undefined"!==typeof i&&(i.visible=o)}else console.info("Folder with id ".concat(n," has no loaded elements"));var r=function(e){var t=Object(d["f"])(e,n);"undefined"!==typeof t&&null!==t&&t.children.length>0&&(t.children.forEach(function(e){e.parentArtifactId===t.id&&(e.ticked=o)}),t.ticked=o)};r(e.tree),r(e.userTree)},SET_VISIBLE:function(e,t){var n=t.id,o=t.visible,a=e.observations.findIndex(function(e){return e.id===n}),i=e.observations[a];if("undefined"!==typeof i){var r=i.zIndexOffset;i.visible=o,i.top=o,o&&e.observations.forEach(function(e){e.id!==n&&e.zIndexOffset===r&&(e.top=!1)});var s=function(e){var t=Object(d["f"])(e,n);t&&(t.ticked=o)};s(e.tree),s(e.userTree),e.observations.splice(a,1,i)}else console.warn("Try to change visibility to no existing observations with id ".concat(n))},SET_LOADING_LAYERS:function(e,t){var n=t.loading,o=t.observation;if(o){o.loading=n;var a=Object(d["f"])(e.tree,o.id);if(a&&(a.loading=n,a.userNode)){var i=Object(d["f"])(e.userTree,o.id);i.loading=n}}},STORE_RAW_SEARCH_RESULT:function(e,t){e.searchResult=t},ADD_LAST:function(e,t){var n=t.parentId,o=t.observationId,a=t.offsetToAdd,i=t.total,r=e.lasts.findIndex(function(e){return n===e.parentId});if(-1!==r){var s=e.lasts[r];s.offset+a>=s.total?(e.lasts.splice(r,1),console.info("Folder ".concat(n," fully loaded"))):(s.observationId=o,s.offset+=a,console.info("Loaded more elements in folder ".concat(n,". New offset is ").concat(s.offset," ")))}else{if(a+1===i)return void console.info("Nothing to do in folder ".concat(n,". Offset is ").concat(a," and total is ").concat(i," "));e.lasts.push({parentId:n,observationId:o,offset:a,total:i}),console.debug("Added folder ".concat(n,". Offset is ").concat(a," "))}},SET_SCALE_REFERENCE:function(e,t){null===t.timeUnit&&(t.timeUnit=r["D"].YEAR),e.scaleReference=t,e.context||(null!==e.scaleReference.shape?e.proposedContext=d["a"].readGeometry(e.scaleReference.shape,{dataProjection:U["d"].PROJ_EPSG_4326,featureProjection:U["d"].PROJ_EPSG_3857}):e.proposedContext=null),console.info("Scale reference set: ".concat(JSON.stringify(t,null,2)))},UPDATE_SCALE_REFERENCE:function(e,t){var n,o=t.type,a=t.unit,i=t.timeResolutionMultiplier,s=t.start,c=t.end,l=t.next,u=void 0!==l&&l,d=t.spaceResolution;o===r["B"].ST_SPACE&&0!==d&&Math.round(d)!==d&&(d=d.toFixed(1));var E=p()({},e.scaleReference,(n={},k()(n,"".concat(o,"Unit"),a),k()(n,"".concat(o,"ResolutionDescription"),(d&&0!==d?"".concat(d," "):"")+a),n),o===r["B"].ST_SPACE&&{spaceResolution:d,spaceResolutionConverted:d},o===r["B"].ST_TIME&&{timeResolutionMultiplier:i,start:s,end:c});u?e.nextScale=p()({},E,{spaceChanged:o===r["B"].ST_SPACE,timeChanged:o===r["B"].ST_TIME}):e.scaleReference=E},SET_SCALE_LOCKED:function(e,t){var n=t.scaleType,o=t.scaleLocked;"all"===n?(e.scaleLocked.space=o,e.scaleLocked.time=o):Object.prototype.hasOwnProperty.call(e.scaleLocked,n)?(console.info("Set ".concat(o," to ").concat(n," scale type")),e.scaleLocked[n]=o):console.error("Try to set locked to unknow scale type: ".concat(n))},SET_INTERACTIVE_MODE:function(e,t){e.interactiveMode=t},SET_CROSSING_IDL:function(e,t){e.crossingIDL=t},ADD_TERMINAL:function(e,t){e.terminals.push(t)},REMOVE_TERMINAL:function(e,t){var n=e.terminals.findIndex(function(e){return e.id===t});-1!==n?e.terminals.splice(n,1):console.warn("Trying to remove unknown terminal ".concat(t))},ADD_TERMINAL_COMMAND:function(e,t){e.terminalCommands.push(t),localStorage.setItem(r["P"].LOCAL_STORAGE_TERMINAL_COMMANDS,JSON.stringify(e.terminalCommands))},CLEAR_TERMINAL_COMMANDS:function(e){e.terminalCommands.splice(0,e.terminalCommands.length),localStorage.setItem(r["P"].LOCAL_STORAGE_TERMINAL_COMMANDS,JSON.stringify(e.terminalCommands))},SET_DOCUMENTATION:function(e,t){var n=t.view,o=t.tree,a=e.documentationTrees.findIndex(function(e){return e.view===n});-1===a?console.warn("Unknown documentation view: ".concat(n)):e.documentationTrees[a].tree=o},ADD_DOCUMENTATION:function(e,t){t.forEach(function(t){e.documentationContent.set(t.id,t)})}},F=(n("28a5"),n("f559"),n("ffc1"),n("96cf"),n("c973")),Y=n.n(F),W=n("be3b"),G=n("17dc"),j=n("e7d8"),H=void 0,z={loadSessionReference:function(e){var t=e.commit;return new Promise(function(e,n){W["a"].get("".concat("").concat(s["c"].REST_SESSION_INFO),{maxRedirects:0}).then(function(n){var o=n.data;o&&(t("SET_SESSION_REFERENCE",o),e())}).catch(function(e){e.response&&401===e.response.status?n(new Error("Invalid session")):n(new Error("Error retrieving session: ".concat(e)))})})},setContext:function(e,t){var n=t.context,o=t.isRecontext,a=e.commit,i=e.getters,r=e.dispatch;null!==i.context&&i.context.id===n.id||(a("SET_CONTEXT",{context:n,isRecontext:o}),o&&r("view/resetContext",null,{root:!0}),r("view/setContextLayer",n,{root:!0}),console.debug("Send start watch context ".concat(n.id)),Object(d["q"])(G["a"].WATCH_REQUEST,{active:!0,observationId:n.id,rootContextId:n.rootContextId}))},resetContext:function(e){var t=e.commit,n=e.dispatch,o=e.state,a=e.getters,i=a.context;if(null!==i){var c={id:i.id,rootContextId:i.rootContextId};t("SET_CONTEXT",{}),n("getSessionContexts"),n("view/resetContext",null,{root:!0}),null!==o.waitingForReset?(n("loadContext",o.waitingForReset),o.waitingForReset=null):n("addObservation",{observation:r["A"],main:!0}),n("view/addToKlabLog",{type:s["a"].TYPE_INFO,payload:{message:"Context reset",separator:!0}},{root:!0}),console.debug("Send stop watch context ".concat(c.id)),Object(d["q"])(G["a"].WATCH_REQUEST,{active:!1,observationId:c.id,rootContextId:c.rootContextId})}else console.info("Try to reset null context, is initial reset?")},setWaitinForReset:function(e){var t=e.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t("WAITING_FOR_RESET",n)},loadContext:function(e,t){var n=e.commit,o=e.dispatch;console.info("Ask for context to restore ".concat(t)),W["a"].get("".concat("").concat(s["c"].REST_SESSION_VIEW,"describe/").concat(t),{params:{childLevel:1}}).then(function(){var e=Y()(regeneratorRuntime.mark(function e(a){var i,s,c;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return i=a.data,i.restored=!0,e.next=4,o("setContext",{context:p()({},i,{children:[]})});case 4:if(n("data/SET_RELOAD_FLOWCHART",{target:null},{root:!0}),console.debug("Context received with id ".concat(i.id)),!(i.children.length>0)){e.next=12;break}return s=[],c=i.children,c.forEach(function(e){null!==e.taskId&&(-1===s.indexOf(e.taskId)&&s.push(e.taskId),o("addObservation",{observation:e,restored:!0}))}),e.next=12,Promise.all(s);case 12:o("view/setSpinner",p()({},r["H"].SPINNER_STOPPED,{owner:t}),{root:!0});case 13:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()).catch(function(e){throw o("view/setSpinner",p()({},r["H"].SPINNER_ERROR,{owner:t,errorMessage:e}),{root:!0}),e})},getSessionContexts:function(e){var t=e.getters,n=e.commit;return new Promise(function(e,o){if(null!==t.session){var a="".concat("").concat(s["c"].REST_STATUS);Object(d["h"])(t.session,a,{transformRequest:[function(e,t){return delete t.common.Authorization,e}]},function(a,i){var r=a.data;if(console.debug("Contexts history:\n".concat(JSON.stringify(r,null,4))),r&&r.sessions&&r.sessions.length>0){var s=r.sessions.find(function(e){return e.id===t.session});if("undefined"!==typeof s){var c=s.rootObservations;if(null===c||0===Object.keys(c).length&&c.constructor===Object)console.debug("No root observation founded"),e(0);else{console.debug("Find ".concat(Object.keys(c).length," root observations for this session"));var l=0;Object.entries(c).forEach(function(e){n("STORE_CONTEXT",e[1]),l+=1}),e(l)}}else console.warn("No information for session ".concat(t.session,", isn't valid session?")),o(new Error("No information for session ".concat(t.session,", disconnect")))}i()})}else o(new Error("No session established, no useful engine available, disconnect"))})},setContextCustomLabel:function(e,t){var n=e.commit;n("SET_CONTEXT_CUSTOM_LABEL",t)},addObservation:function(e,t){var n=e.commit,o=e.rootGetters,a=e.state,i=e.dispatch,s=t.observation,c=t.toTree,l=void 0===c||c,u=t.visible,E=void 0!==u&&u,f=t.restored,T=void 0!==f&&f,S=t.updated,m=void 0!==S&&S;return new Promise(function(e){var t=a.observations.findIndex(function(e){return e.id===s.id});return-1!==t?(m?(n("UPDATE_OBSERVATION",{observationIndex:t,newObservation:s}),n("UPDATE_TIME_EVENTS",s),console.debug("Observation$ ".concat(s.label," updated"))):i("view/addToKexplorerLog",{type:r["w"].TYPE_WARNING,payload:{message:"Existing observation received: ".concat(s.label)},important:!0},{root:!0}),e()):(i("view/assignViewer",{observation:s},{root:!0}).then(function(t){if(s.viewerIdx=t,s.visible=E,s.top=!1,s.zIndex=0,s.layerOpacity=s.layerOpacity||1,s.colormap=s.colormap||null,s.tsImages=[],s.isContainer=s.observationType===r["y"].TYPE_GROUP||s.observationType===r["y"].TYPE_VIEW,s.singleValue=s.observationType===r["y"].TYPE_STATE&&1===s.valueCount,s.loading=!1,s.loaded=!0,null===s.contextId){var a=o["stomp/tasks"].find(function(e){return s.taskId.startsWith(e.id)});if(a){var c=a.contextId;s.contextId=c}else s.contextId=s.rootContextId}if(n("ADD_OBSERVATION",{observation:p()({},s,{children:[]}),restored:T}),n("UPDATE_TIME_EVENTS",s),s.observationType===r["y"].TYPE_INITIAL)return e();if(s.children.length>0&&(s.disabled=!1,s.children.forEach(function(e){i("addObservation",{observation:e})})),l){var u=Object(d["l"])(s);if(n("ADD_NODE",u),s.childrenCount>0&&0===s.children.length){var f=u.node;i("addStub",f)}}return e()}),null)})},updateObservation:function(e,t){var n=e.commit,o=e.dispatch,a=e.state,i=t.observationId,r=t.exportFormats,c=a.observations.findIndex(function(e){return e.id===i});-1!==c?W["a"].get("".concat("").concat(s["c"].REST_SESSION_VIEW,"describe/").concat(i),{params:{childLevel:0}}).then(function(e){var t=e.data;if(t){if(r&&(t.exportFormats=r),n("UPDATE_OBSERVATION",{observationIndex:c,newObservation:t}),t.childrenCount>0){var s=Object(d["f"])(a.tree,t.id),l=s.children,u=l.length>0;u&&1===l.length&&(u=!l[0].id.startsWith("STUB")),u&&o("askForChildren",{parentId:i,count:Math.max(l.length,a.childrenToAskFor),total:t.childrenCount,updated:!0})}}else console.warn("Ask for update observation ".concat(i," but nothing found in engine"))}):console.warn("Try to update a not existing observation: ".concat(i))},addStub:function(e,t){var n=e.commit;n("ADD_NODE",{node:p()({},t,{id:"STUB-".concat(t.id),observable:"",label:"",children:[],childrenCount:0,childrenLoaded:0,siblingsCount:t.childrenCount,parentArtifactId:t.id,tickable:!1,disabled:!0,empty:!0,actions:{},header:"stub",main:!1,isContainer:!1,exportFormats:{},observationType:r["y"].TYPE_INITIAL,noTick:!0,parentId:t.id,dynamic:!1},t.userNode&&{userNode:t.userNode}),parentId:t.id}),n("ADD_LAST",{parentId:t.id,observationId:"STUB-".concat(t.id),offsetToAdd:0,total:t.childrenCount})},addKnowledgeView:function(e,t){var n=e.commit;n("ADD_KNOWLEDGE_VIEW",t)},showKnowledgeView:function(e,t){var n=e.commit;n("SHOW_KNOWLEDGE_VIEW",t)},addModificationEvent:function(e,t){var n=e.rootGetters,o=e.state,a=e.commit,i=e.dispatch,s=Object(d["f"])(o.tree,t.id);if(s)switch(t.type){case r["x"].BRING_FORWARD:a("MOD_BRING_FORWARD",s),i("changeTreeOfNode",{id:t.id,isUserTree:!0});break;case r["x"].VALUE_CHANGE:a("MOD_VALUE_CHANGE",s),a("ADD_TIME_EVENT",t),null===o.modificationsTask&&i("setModificationsTask",n["stomp/lastActiveTask"]());break;case r["x"].STRUCTURE_CHANGE:a("MOD_STRUCTURE_CHANGE",{node:s,modificationEvent:t}),s.childrenCount>0&&0===s.children.length&&i("addStub",s);break;case r["x"].CONTEXTUALIZATION_COMPLETED:i("updateObservation",{observationId:t.id,exportFormats:t.exportFormats});break;default:console.warn("Unknown modification event: ".concat(t.type));break}else t.id!==t.contextId?console.debug("Modification event for a not existing node, probably still not loaded",t):console.debug("Modification event for context",t)},setModificationsTask:function(e){var t=e.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t("SET_MODIFICATIONS_TASK",n)},setTimestamp:function(e,t){var n=e.commit;t&&-1!==t&&(t=Math.round(t)),n("SET_TIMESTAMP",t)},setScheduling:function(e,t){var n=e.commit,o=e.getters;o.context&&t.contextId===o.context.id?n("SET_SCHEDULING_STATUS",t):console.debug("Received a scheduling of other context: ".concat(t.contextId))},askForChildren:function(e,t){var n=e.commit,o=e.dispatch,a=e.state,i=t.parentId,c=t.total,l=t.offset,u=void 0===l?0:l,E=t.count,f=void 0===E?a.childrenToAskFor:E,T=t.toTree,S=void 0===T||T,m=t.visible,O=void 0!==m&&m,b=t.notified,A=void 0===b||b,_=t.updated,I=void 0!==_&&_;return new Promise(function(e){console.debug("Ask for children of node ".concat(i,": count:").concat(f," / offset ").concat(u)),o("view/setSpinner",p()({},r["H"].SPINNER_LOADING,{owner:i}),{root:!0}).then(function(){W["a"].get("".concat("").concat(s["c"].REST_SESSION_VIEW,"children/").concat(i),{params:{count:f,offset:u}}).then(function(t){var s=t.data;s&&s.length>0?s.forEach(function(t,l,u){t.notified=A,t.siblingsCount=c,o("addObservation",{observation:t,toTree:S,visible:O,updated:I}).then(function(){if(l===u.length-1){S&&n("ADD_LAST",{parentId:i,observationId:t.id,offsetToAdd:s.length,total:c});var E=function(e){var t=Object(d["f"])(e,i);t&&null!==t&&(t.childrenLoaded+=s.length)};E(a.tree),E(a.userTree),o("view/setSpinner",p()({},r["H"].SPINNER_STOPPED,{owner:i}),{root:!0}),e()}})}):(o("view/setSpinner",p()({},r["H"].SPINNER_STOPPED,{owner:i}),{root:!0}),e())})})})},addChildrenToTree:function(e,t){var n=e.dispatch,o=e.commit,a=e.state,i=t.parent,r=t.count,s=void 0===r?a.childrenToAskFor:r;if(i&&null!==i)for(var c=a.observations.filter(function(e){return e.parentArtifactId===i.id||e.parentId===i.id}),l=c.length,u=i.children.length,E=u,f=0;E0&&0===T.children.length&&n("addStub",p.node),f!==s-1&&E!==l-1||o("ADD_LAST",{parentId:i.id,observationId:T.id,offsetToAdd:f+1,total:i.childrenLoaded})}},changeTreeOfNode:function(e,t){var n=e.commit,o=e.state,a=t.id,i=t.isUserTree,r=Object(d["f"])(o.tree,a);i?null===Object(d["f"])(o.userTree,a)?(n("UPDATE_USER_NODE",{node:r,userNode:!0}),n("ADD_NODE",{node:r,parentId:r.parentArtifactId||r.parentId,toUserTreeOnly:!0})):console.warn("Try to move to user tree an existing node: ".concat(a," - ").concat(r.label)):(n("UPDATE_USER_NODE",{node:r,userNode:!1}),n("REMOVE_NODE",{id:a}))},setVisibility:function(e,t){var n=e.commit,o=e.dispatch,a=e.state,i=t.node,r=t.visible;if(i.isContainer){if(0!==i.childrenCount&&null===i.viewerIdx){var s=a.observations.find(function(e){return e.parentArtifactId===i.id||e.parentId===i.id});if("undefined"!==typeof s){var c=s.viewerIdx,l=s.viewerType,u=s.zIndexOffset;i.viewerIdx=c,i.viewerType=l,i.zIndexOffset=u}else i.zIndexOffset=null}null!==i.viewerIdx&&o("view/setMainDataViewer",{viewerIdx:i.viewerIdx,visible:r},{root:!0}),n("SET_FOLDER_VISIBLE",{nodeId:i.id,visible:r,zIndexOffset:i.zIndexOffset})}else o("view/setMainDataViewer",{viewerIdx:i.viewerIdx,visible:r},{root:!0}),n("SET_VISIBLE",{id:i.id,visible:r})},putObservationOnTop:function(e,t){var n=e.commit;n("SET_VISIBLE",{id:t,visible:!0})},setContextMenuObservationId:function(e,t){var n=e.commit;n("SET_CONTEXTMENU_OBSERVATIONID",t)},selectNode:function(e,t){var n=e.dispatch,o=e.state;if(null===t)n("view/setObservationInfo",null,{root:!0});else{var a=o.observations.find(function(e){return e.id===t});a&&(a.visible&&!a.top&&n("setVisibility",{node:a,visible:!0}),n("view/setObservationInfo",a,{root:!0}))}},setLoadingLayers:function(e,t){var n=e.commit,o=t.loading,a=t.observation;a&&n("SET_LOADING_LAYERS",{loading:o,observation:a})},loadFlowchart:function(e){var t=e.commit,n=e.getters,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r["g"].GRAPH_DATAFLOW;return new Promise(function(e,a){console.info("Ask for flowchart ".concat(o)),W["a"].get("".concat("").concat(s["c"].REST_API_EXPORT,"/").concat(o,"/").concat(n.contextId),{headers:{Accept:"application/json"}}).then(function(i){var r=i.data;if("undefined"!==typeof r&&null!==r)try{r.restored=n.context.restored,t("ADD_FLOWCHART",{flowchart:r,target:o}),e()}catch(e){a(new Error("Error in dataflow layout for the context ".concat(H.contextId,": ").concat(e)))}else a(new Error("Dataflow in context ".concat(H.contextId," has no layout")))}).catch(function(e){a(e)})})},setReloadFlowchart:function(e,t){var n=e.commit,o=t.target;n("SET_RELOAD_FLOWCHART",o)},setDataflowStatus:function(e,t){var n=e.commit,o=t.id,a=t.status;n("SET_DATAFLOW_STATUS",{id:o,status:a})},setDataflowInfo:function(e,t){var n=e.commit;if(null===t)n("SET_DATAFLOW_INFO",null);else{var o=t.id,a=t.html,i=t.rateable,r=t.rating,s=t.averageRating;if(null!==o&&""!==o){var c=o.split("."),l=c[c.length-1],u=c.slice(0,c.length-1);n("SET_DATAFLOW_INFO",{elementId:l,elementTypes:u,html:a,rateable:i,rating:r,averageRating:s})}}},storeSearchResult:function(e,t){var n=e.commit;n("STORE_RAW_SEARCH_RESULT",t)},setScaleReference:function(e,t){var n=e.commit;n("SET_SCALE_REFERENCE",t)},updateScaleReference:function(e,t){var n=e.commit;n("UPDATE_SCALE_REFERENCE",t)},setScaleLocked:function(e,t){var n=e.commit,o=t.scaleType,a=t.scaleLocked;n("SET_SCALE_LOCKED",{scaleType:o,scaleLocked:a})},setInteractiveMode:function(e,t){var n=e.commit;n("SET_INTERACTIVE_MODE",t)},setCrossingIDL:function(e,t){var n=e.commit;n("SET_CROSSING_IDL",t)},addTerminal:function(e,t){var n=e.state,o=e.commit,a=t.id,i=t.active,s=t.type;if(a){var c=n.terminals.findIndex(function(e){return e.id===a});-1!==c?console.warn("Terminal already exists"):n.terminals[c].active=!0}else a="".concat(n.session,"-").concat(++n.terminalsCounter),o("ADD_TERMINAL",{id:a,active:"undefined"===typeof i||i,type:s||r["K"].CONSOLE})},removeTerminal:function(e,t){var n=e.commit;n("REMOVE_TERMINAL",t)},addTerminalCommand:function(e,t){var n=e.commit;n("ADD_TERMINAL_COMMAND",t)},clearTerminalCommands:function(e){var t=e.commit;t("CLEAR_TERMINAL_COMMANDS")},loadDocumentation:function(e){var t=e.dispatch,n=e.getters,o=e.rootGetters,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return new Promise(function(e,i){if(null===n.contextId)return console.warn("Ask documentation without context"),void i(new Error("Ask documentation without context"));null===a&&(a=o["view/documentationView"],null===a&&console.warn("No view selected")),W["a"].get("".concat("").concat(s["c"].REST_SESSION_OBSERVATION,"documentation/").concat(a,"/").concat(n.contextId),{}).then(function(n){var o=n.data;""===o?(console.warn("Empty report"),e(!1)):t("refreshDocumentation",{view:a,documentation:o}).then(function(){t("view/removeReloadView",a,{root:!0}).then(function(){e(!0)})})}).catch(function(e){i(e)})})},refreshDocumentation:function(e,t){var n=e.commit,o=t.view,a=t.documentation,i=[],s=[],c=new Map,l=function e(t,n,o,a){var i,l;switch(n.type===r["l"].SECTION?l=null===o?"".concat(a,"."):"".concat(o).concat(a,"."):(l=c.has(n.type)?c.get(n.type)+1:1,c.set(n.type,l)),n.type){case r["l"].SECTION:i="".concat(l," ").concat(n.title);break;case r["l"].TABLE:i="".concat(Object(j["b"])().tc("label.reportTable")," ").concat(l,". ").concat(n.bodyText);break;case r["l"].RESOURCE:i=n.title;break;case r["l"].MODEL:i=n.id;break;case r["l"].REFERENCE:i=n.id;break;case r["l"].FIGURE:i="".concat(Object(j["b"])().tc("label.reportFigure")," ").concat(l,". ").concat(n.figure.label);break;default:i=n.type}var u={type:n.type,id:n.id,idx:l,parentId:n.parentId,previousId:n.previousId,nextId:n.nextId,label:i,children:[]},d=0;n.children.forEach(function(t){var n=-1;t.type===r["l"].SECTION&&(n=++d),e(u.children,t,l,n)}),t.push(u),s.push({id:n.id,idx:l,label:i,type:n.type,title:n.title,subtitle:n.subtitle,bodyText:n.bodyText,model:n.model,section:n.section,resource:n.resource,table:n.table,figure:n.figure,reference:n.reference})},u=0;a.forEach(function(e,t){l(i,e,null,e.type===r["l"].SECTION?++u:t)}),n("SET_DOCUMENTATION",{view:o,tree:i}),n("ADD_DOCUMENTATION",s)}},B={namespaced:!0,state:y,getters:M,mutations:V,actions:z},K={stompClient:null,connectionState:r["f"].CONNECTION_UNKNOWN,reconnectionsAttempt:0,subscriber:null,sentMessages:[],receivedMessages:[],queuedMessage:null,tasks:[],subscriptions:[]},X={connectionDown:function(e){return e.connectionState!==r["f"].CONNECTION_UP},lastError:function(e){var t=e.receivedMessages.filter(function(e){return e.type===r["w"].TYPE_ERROR}).slice(-1);return 1===t.length?t[0]:null},lastMessage:function(e){var t=e.receivedMessages.filter(function(e){return e.type===r["w"].TYPE_MESSAGE}).slice(-1);return 1===t.length?t[0]:null},lastReceivedMessage:function(e){return e.receivedMessages.length>0?e.receivedMessages.slice(-1)[0]:null},lastSendedMessage:function(e){return e.sentMessages.length>0?e.sentMessages.slice(-1)[0]:null},subscriberId:function(e){return null!==e.subscriber?e.subscriber.id:null},queuedMessage:function(e){return e.queuedMessage},connectionState:function(e){return e.connectionState},connectionUp:function(e){return e.connectionState===r["f"].CONNECTION_UP},tasks:function(e){return e.tasks},taskIsAlive:function(e){return function(t){return"undefined"!==typeof e.tasks.find(function(e){return e.id===t&&e.alive})}},taskOfContextIsAlive:function(e,t,n,o){return"undefined"!==typeof e.tasks.find(function(e){return e.contextId===o["data/contextId"]&&e.alive})},contextTaskIsAlive:function(e){return function(t){return"undefined"!==typeof e.tasks.find(function(e){return e.contextId===t&&e.alive})}},hasTasks:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return-1!==e.tasks.findIndex(function(e){return e.alive&&(null===t||e.contextId===t)})}},lastActiveTask:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=e.tasks.filter(function(e){return e.alive&&(null===t||e.contextId===t)});return n.length>0?n.pop():null}}},Q={STOMP_CONNECTION_STATE:function(e,t){e.connectionState=t},STOMP_ERROR:function(e,t){Object(d["p"])(e.receivedMessages,{date:_()().format("HH:mm:ss"),type:r["w"].TYPE_ERROR,message:t})},STOMP_MESSAGE:function(e,t){Object(d["p"])(e.receivedMessages,{date:_()().format("HH:mm:ss"),type:r["w"].TYPE_MESSAGE,message:t})},STOMP_SEND_MESSAGE:function(e,t){Object(d["p"])(e.sentMessages,p()({date:_()().format("HH:mm:ss")},t))},STOMP_SUBSCRIBED:function(e,t){e.subscriber=t},STOMP_RECONNECTIONS_ATTEMPT:function(e,t){e.reconnectionsAttempt=t},STOMP_RECONNECTIONS_ATTEMPT_RESET:function(e){e.reconnectionsAttempt=0},STOMP_QUEUE_MESSAGE:function(e,t){e.queuedMessage=t},STOMP_CLEAN_QUEUE:function(e){e.queuedMessage=null},TASK_START:function(e,t){var n=t.id,o=t.contextId,a=t.description;-1!==e.tasks.findIndex(function(e){return e.id===n})?console.debug("Received duplicated start task id: ".concat(n," - ").concat(a)):e.tasks.push({id:n,contextId:o,description:a,alive:!0})},TASK_END:function(e,t){var n=t.id,o=e.tasks.findIndex(function(e){return e.id===n});if(-1!==o){var a=e.tasks[o];a.alive=!1,e.tasks.splice(o,1,a)}else console.debug("Task with id = ".concat(n," not founded or is not alive"))}};function q(e,t,n,o){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];e("view/addToKexplorerLog",{type:t,payload:{message:n,attach:o},important:a},{root:!0})}var J=(o={},k()(o,s["a"].TYPE_TASKSTARTED,function(e,t){var n=e.payload,o=t.dispatch;o("stomp/taskStart",n,{root:!0}),q(o,r["w"].TYPE_DEBUG,"Started task with id ".concat(n.id)),o("view/addToStatusTexts",{id:n.id,text:n.description},{root:!0})}),k()(o,s["a"].TYPE_TASKABORTED,function(e,t){var n=e.payload,o=t.dispatch;o("stomp/taskAbort",n,{root:!0}),q(o,r["w"].TYPE_ERROR,"Aborted task with id ".concat(n.id),n),o("view/removeFromStatusTexts",n.id,{root:!0})}),k()(o,s["a"].TYPE_TASKFINISHED,function(e,t){var n=e.payload,o=t.dispatch;o("stomp/taskEnd",n,{root:!0}),q(o,r["w"].TYPE_DEBUG,"Ended task with id ".concat(n.id)),o("view/removeFromStatusTexts",n.id,{root:!0})}),k()(o,s["a"].TYPE_PROVENANCECHANGED,function(e,t){var n=e.payload,o=t.dispatch,a=t.rootGetters;n.contextId&&null!==a["data/context"]&&a["data/context"].id!==n.contextId?(q(o,r["w"].TYPE_INFO,"Provenance of incorrect context received"),console.warn(a["data/context"].id,n.contextId)):(o("data/setReloadFlowchart",{target:n.target},{root:!0}),q(o,r["w"].TYPE_DEBUG,"Provenance available in context ".concat(n.contextId)))}),k()(o,s["a"].TYPE_DATAFLOWCOMPILED,function(e,t){var n=e.payload,o=t.dispatch,a=t.rootGetters;n.contextId&&null!==a["data/context"]&&a["data/context"].id!==n.contextId?(q(o,r["w"].TYPE_INFO,"Dataflow of incorrect context received"),console.warn(a["data/context"].id,n.contextId)):(o("data/setReloadFlowchart",{target:n.target},{root:!0}),q(o,r["w"].TYPE_DEBUG,"Dataflow compiled in context ".concat(n.contextId)))}),k()(o,s["a"].TYPE_DATAFLOWSTATECHANGED,function(e,t){var n,o=e.payload,a=t.dispatch;n="STARTED"===o.status?r["i"].PROCESSING:"FINISHED"===o.status?r["i"].PROCESSED:"ABORTED"===o.status?r["i"].ABORTED:r["i"].WAITING,a("data/setDataflowStatus",{id:o.nodeId,status:n},{root:!0})}),k()(o,s["a"].TYPE_DATAFLOWDOCUMENTATION,function(e,t){var n=e.payload,o=t.dispatch;n&&n.dataflowId&&n.htmlDescription?(q(o,r["w"].TYPE_DEBUG,"Dataflow element info received",n),o("data/setDataflowInfo",{id:n.dataflowId,html:n.htmlDescription,rateable:n.rateable,rating:n.rating,averageRating:n.averageRating},{root:!0})):q(o,r["w"].TYPE_WARNING,"Strange payload of dataflow element info received",n)}),k()(o,s["a"].TYPE_NEWOBSERVATION,function(e,t){var n=e.payload,o=t.rootState,a=t.rootGetters,i=t.dispatch,s=o.stomp.tasks.find(function(e){return e.id===n.taskId});"undefined"===typeof s&&-1!==o.data.contextsHistory.findIndex(function(e){return e.id===n.contextId})&&(i("stomp/taskStart",{id:n.taskId,description:r["p"].UNKNOWN_SEARCH_OBSERVATION,contextId:n.contextId},{root:!0}),i("view/addToStatusTexts",{id:n.taskId,text:r["p"].UNKNOWN_SEARCH_OBSERVATION},{root:!0}),q(i,r["w"].TYPE_INFO,"Received an observation of previous context with no task associated. Session was been reloaded?",n)),null===n.parentId?null===a["data/context"]?(q(i,r["w"].TYPE_DEBUG,"New context received with id ".concat(n.id),n),i("data/setContext",{context:n},{root:!0}),"undefined"!==typeof n.scaleReference&&null!==n.scaleReference&&i("data/setScaleReference",n.scaleReference,{root:!0})):q(i,r["w"].TYPE_ERROR,"Strange behaviour: observation with no parent in existing context: ".concat(n.id," - ").concat(n.label),n):null!==a["data/context"]&&(a["data/context"].id===n.rootContextId||s&&a["data/context"].id===s.contextId)?(q(i,r["w"].TYPE_INFO,"New observation received with id ".concat(n.id,", rootContextId ").concat(n.rootContextId," and contextId ").concat(n.contextId),n),n.notified=!0,i("data/addObservation",{observation:n},{root:!0})):q(i,r["w"].TYPE_INFO,"Received an observation of different context",n,null,4)}),k()(o,s["a"].TYPE_MODIFIEDOBSERVATION,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_DEBUG,"Received a modification event",n),o("data/addModificationEvent",n,{root:!0})}),k()(o,s["a"].TYPE_QUERYRESULT,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,"Received search results",n),o("data/storeSearchResult",n,{root:!0})}),k()(o,s["a"].TYPE_RESETCONTEXT,function(e,t){var n=t.dispatch;q(n,r["w"].TYPE_INFO,"Received context reset"),N["b"].$emit(r["h"].RESET_CONTEXT),n("data/resetContext",null,{root:!0})}),k()(o,s["a"].TYPE_SCALEDEFINED,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,"Received scale reference",n),o("data/setScaleReference",n,{root:!0})}),k()(o,s["a"].TYPE_USERINPUTREQUESTED,function(e,t){var n=t.dispatch;q(n,r["w"].TYPE_INFO,"Received input request",e.payload),n("view/inputRequest",e,{root:!0})}),k()(o,s["a"].TYPE_SCHEDULEADVANCED,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,"Received schedule advanced",n),o("data/setScheduling",n,{root:!0})}),k()(o,s["a"].TYPE_SCHEDULINGSTARTED,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,"Received scheduling started",n),o("data/setScheduling",n,{root:!0})}),k()(o,s["a"].TYPE_SCHEDULINGFINISHED,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,"Received scheduling finished",n),o("data/setScheduling",n,{root:!0})}),k()(o,s["a"].TYPE_ENGINEEVENT,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,"Engine event received",n),o("view/setEngineEvent",n,{root:!0})}),k()(o,s["a"].TYPE_DEBUG,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_DEBUG,n)}),k()(o,s["a"].TYPE_INFO,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,n)}),k()(o,s["a"].TYPE_WARNING,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_WARNING,n)}),k()(o,s["a"].TYPE_ERROR,function(e,t){var n=e.payload,o=t.dispatch;n===r["f"].UNKNOWN_IDENTITY?N["b"].$emit(r["h"].SESSION_CUT):q(o,r["w"].TYPE_ERROR,n)}),k()(o,s["a"].TYPE_USERPROJECTOPENED,function(e,t){var n=t.dispatch;q(n,r["w"].TYPE_INFO,"Project opened in k.Modeler")}),k()(o,s["a"].TYPE_NETWORKSTATUS,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,"Network status received",n)}),k()(o,s["a"].TYPE_AUTHORITYDOCUMENTATION,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["w"].TYPE_INFO,"Authority documentation message received",n)}),k()(o,s["a"].TYPE_SETUPINTERFACE,function(e,t){var n=e.payload,o=t.dispatch;o("view/setLayout",n,{root:!0}),q(o,r["w"].TYPE_INFO,"App ".concat(n.name," loaded"),n,!0)}),k()(o,s["a"].TYPE_CREATEMODALWINDOW,function(e,t){var n=e.payload,o=t.dispatch;o("view/setModalWindow",n,{root:!0}),q(o,r["w"].TYPE_INFO,"Modal ".concat(n.name," loaded"),n)}),k()(o,s["a"].TYPE_CREATEVIEWCOMPONENT,function(e,t){var n=e.payload,o=t.dispatch;o("view/createViewComponent",n,{root:!0}),q(o,r["w"].TYPE_INFO,"New create view component received",n)}),k()(o,s["a"].TYPE_VIEWACTION,function(e,t){var n=e.payload,o=t.dispatch;o("view/viewAction",n,{root:!0}),N["b"].$emit(r["h"].VIEW_ACTION),q(o,r["w"].TYPE_INFO,"New view action received",n)}),k()(o,s["a"].TYPE_VIEWSETTING,function(e,t){var n=e.payload,o=t.dispatch;o("view/viewSetting",n,{root:!0}),q(o,r["w"].TYPE_INFO,"New view setting received",n)}),k()(o,s["a"].TYPE_VIEWAVAILABLE,function(e,t){var n=e.payload,o=t.dispatch;o("view/setDocumentation",{id:n.viewId,view:n.viewClass},{root:!0}),q(o,r["w"].TYPE_INFO,"New documentation available",n)}),k()(o,s["a"].TYPE_DOCUMENTATIONCHANGED,function(e,t){var n=e.payload,o=t.dispatch;o("view/changeInDocumentation",n,{root:!0}),q(o,r["w"].TYPE_INFO,"New change in documentation",n)}),k()(o,s["a"].TYPE_COMMANDRESPONSE,function(e,t){var n=e.payload,o=t.dispatch;N["b"].$emit(r["h"].COMMAND_RESPONSE,n),q(o,r["w"].TYPE_INFO,"Command response received",n)}),o),Z=function(e){var t=e.body,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=JSON.parse(t),a=n.dispatch;return o.messageClass===s["a"].CLASS_NOTIFICATION&&a("view/addToKlabLog",o,{root:!0}),Object.prototype.hasOwnProperty.call(J,o.type)?J[o.type](o,n):(console.warn("Unknown parser ".concat(o.type)),!1)},$={stomp_onconnect:function(e,t){var n=e.commit;n("STOMP_CONNECTION_STATE",r["f"].CONNECTION_UP),n("STOMP_RECONNECTIONS_ATTEMPT_RESET"),n("STOMP_MESSAGE",t)},stomp_onclose:function(e){var t=e.commit;t("STOMP_CONNECTION_STATE",r["f"].CONNECTION_DOWN)},stomp_onerror:function(e,t){var n=e.dispatch;n("setConnectionState",{state:r["f"].CONNECTION_ERROR,message:t})},setConnectionState:function(e,t){var n=e.commit,o=t.state,a=t.message;n("STOMP_CONNECTION_STATE",o),n("STOMP_ERROR",a)},stomp_onmessage:function(e,t){var n=e.commit;n("STOMP_MESSAGE",t),Z(t,e)},stomp_onsubscribe:function(e,t){var n=e.commit;n("STOMP_SUBSCRIBED",t)},stomp_reconnect:function(e,t){var n=e.commit;n("STOMP_RECONNECTIONS_ATTEMPT",t),n("STOMP_CONNECTION_STATE",r["f"].CONNECTION_WORKING)},stomp_onsend:function(e,t){var n=e.commit,o=t.message;n("STOMP_SEND_MESSAGE",o)},stomp_onerrorsend:function(e,t){var n=e.commit;n("STOMP_QUEUE_MESSAGE",t)},stomp_cleanqueue:function(e){var t=e.commit;t("STOMP_CLEAN_QUEUE")},taskStart:function(e,t){var n=e.commit,o=e.dispatch;o("view/setSpinner",p()({},r["H"].SPINNER_LOADING,{owner:t.id}),{root:!0}),n("TASK_START",t)},taskAbort:function(e,t){var n=e.commit,o=e.dispatch;n("TASK_END",t),o("view/setSpinner",p()({},r["H"].SPINNER_STOPPED,{owner:t.id}),{root:!0})},taskEnd:function(e,t){var n=e.commit,o=e.dispatch;n("TASK_END",t),o("view/setSpinner",p()({},r["H"].SPINNER_STOPPED,{owner:t.id}),{root:!0})}},ee={namespaced:!0,state:K,getters:X,mutations:Q,actions:$};a["a"].use(i["a"]);var te=new i["a"].Store({modules:{view:C,data:B,stomp:ee}});t["a"]=te},4678:function(e,t,n){var o={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d833","./ar-tn.js":"6d833","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function a(e){var t=i(e);return n(t)}function i(e){var t=o[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}a.keys=function(){return Object.keys(o)},a.resolve=i,e.exports=a,a.id="4678"},"7cca":function(e,t,n){"use strict";n.d(t,"g",function(){return l}),n.d(t,"s",function(){return u}),n.d(t,"u",function(){return d}),n.d(t,"M",function(){return E}),n.d(t,"N",function(){return f}),n.d(t,"v",function(){return T}),n.d(t,"F",function(){return p}),n.d(t,"Q",function(){return S}),n.d(t,"f",function(){return m}),n.d(t,"w",function(){return O}),n.d(t,"y",function(){return b}),n.d(t,"A",function(){return A}),n.d(t,"q",function(){return _}),n.d(t,"P",function(){return I}),n.d(t,"d",function(){return v}),n.d(t,"e",function(){return N}),n.d(t,"H",function(){return R}),n.d(t,"p",function(){return C}),n.d(t,"i",function(){return g}),n.d(t,"h",function(){return w}),n.d(t,"B",function(){return L}),n.d(t,"D",function(){return P}),n.d(t,"C",function(){return D}),n.d(t,"x",function(){return y}),n.d(t,"L",function(){return M}),n.d(t,"E",function(){return x}),n.d(t,"G",function(){return k}),n.d(t,"r",function(){return U}),n.d(t,"z",function(){return F}),n.d(t,"t",function(){return Y}),n.d(t,"O",function(){return W}),n.d(t,"o",function(){return G}),n.d(t,"a",function(){return j}),n.d(t,"c",function(){return H}),n.d(t,"b",function(){return z}),n.d(t,"k",function(){return K}),n.d(t,"j",function(){return X}),n.d(t,"K",function(){return Q}),n.d(t,"J",function(){return q}),n.d(t,"n",function(){return J}),n.d(t,"l",function(){return Z}),n.d(t,"m",function(){return $}),n.d(t,"I",function(){return ee});var o,a=n("9523"),i=n.n(a),r=(n("f559"),n("cadf"),n("456d"),n("ac6a"),n("3156")),s=n.n(r),c=n("e7d8"),l={EMPTY_MAP_SELECTION:{pixelSelected:null,layerSelected:null,value:null,locked:!1},HIST_MAX_LENGTH:50,CHILDREN_TO_ASK_FOR:25,SEARCHBAR_SIZE:512,SEARCHBAR_INCREMENT:128,MAX_SEARCHBAR_INCREMENTS:6,TARGET_DATAFLOW:"DATAFLOW",TARGET_PROVENANCE:"PROVENANCE",GRAPH_DATAFLOW:"dataflow",GRAPH_PROVENANCE_FULL:"provenance_full",GRAPH_PROVENANCE_SIMPLIFIED:"provenance_simplified"},u=[{flowchart:null,graph:null,updatable:!1,visible:!1,target:l.TARGET_DATAFLOW,type:l.GRAPH_DATAFLOW,label:"Dataflow"},{flowchart:null,graph:null,updatable:!1,visible:!1,target:l.TARGET_PROVENANCE,type:l.GRAPH_PROVENANCE_FULL,label:"Provenance full"},{flowchart:null,graph:null,updatable:!1,visible:!1,target:l.TARGET_PROVENANCE,type:l.GRAPH_PROVENANCE_SIMPLIFIED,label:"Provenance simplified"}],d={LEFTMENU_MAXSIZE:512,LEFTMENU_MINSIZE:80,LEFTMENU_DOCUMENTATION_SIZE:320,LEFTMENU_MAXIMIZED:"max",LEFTMENU_MINIMIZED:"min",LEFTMENU_HIDDEN:"hidden",DATA_VIEWER_COMPONENT:"klab-main-control",DOCKED_DATA_VIEWER_COMPONENT:"docked-main-control",REPORT_VIEWER_COMPONENT:"reports-details",DOCUMENTATION_VIEWER_COMPONENT:"documentation-tree",DATAFLOW_VIEWER_COMPONENT:"dataflow-details",DATAFLOW_INFO_COMPONENT:"dataflow-info",PROVENANCE_VIEWER_COMPONENT:"provenance-details",LOG_COMPONENT:"klab-log-pane"},E={DATA_VIEWER:{name:"DataViewer",leftMenuState:d.LEFTMENU_HIDDEN,leftMenuContent:d.DATA_VIEWER_COMPONENT,mainControl:!0,hasSearch:!0},DOCKED_DATA_VIEWER:{name:"DataViewer",leftMenuState:d.LEFTMENU_MAXIMIZED,leftMenuContent:d.DOCKED_DATA_VIEWER_COMPONENT,mainControl:!1,hasSearch:!0},DOCUMENTATION_VIEWER:{name:"KlabDocumentation",leftMenuState:d.LEFTMENU_MINIMIZED,leftMenuContent:d.DOCUMENTATION_VIEWER_COMPONENT,mainControl:!1,hasSearch:!1},REPORT_VIEWER:{name:"ReportViewer",leftMenuState:d.LEFTMENU_MINIMIZED,leftMenuContent:d.REPORT_VIEWER_COMPONENT,mainControl:!1,hasSearch:!1},DATAFLOW_VIEWER:{name:"DataflowViewer",leftMenuState:d.LEFTMENU_MINIMIZED,leftMenuContent:d.DATAFLOW_VIEWER_COMPONENT,mainControl:!1,hasSearch:!1},PROVENANCE_VIEWER:{name:"ProvenanceViewer",leftMenuState:d.LEFTMENU_MINIMIZED,leftMenuContent:d.PROVENANCE_VIEWER_COMPONENT,mainControl:!1,hasSearch:!1}},f={VIEW_MAP:{component:"MapViewer",label:"Maps",hideable:!1,forceNew:!1},VIEW_CHART:{component:"ChartViewer",label:"Chart",hideable:!0,forceNew:!0},VIEW_GRAPH:{component:"GraphViewer",label:"Graph",hideable:!0,forceNew:!0},VIEW_BLOB:{component:"BlobViewer",label:"Blob",hideable:!1,forceNew:!1},VIEW_UNKNOWN:{component:"UnknownViewer",label:"Under construction",hideable:!1,forceNew:!1}},T={CONCEPT:{label:"Concept",symbol:"C",color:"sem-types",rgb:"rgb(38, 50, 56)"},PREFIX_OPERATOR:{label:"Prefix operator",symbol:"O",color:"sem-types",rgb:"rgb(38, 50, 56)"},INFIX_OPERATOR:{label:"Infix operator",symbol:"O",color:"sem-types",rgb:"rgb(38, 50, 56)"},OBSERVATION:{label:"Observation",symbol:"O",color:"sem-types",rgb:"rgb(38, 50, 56)"},MODEL:{label:"Model",symbol:"M",color:"sem-types",rgb:"rgb(38, 50, 56)"},MODIFIER:{label:"Modifier",symbol:"O",color:"sem-types",rgb:"rgb(38, 50, 56)"},PRESET_OBSERVABLE:{label:"Preset observable",symbol:"O",color:"sem-preset-observable",rgb:"rgb(240, 240, 240)"},SEPARATOR:{label:"Separator",symbol:"S",color:"sem-separator",rgb:"rgb(10, 10, 10)"},NEXT_TOKENS:{TOKEN:"TOKEN",TEXT:"TEXT",INTEGER:"INTEGER",DOUBLE:"DOUBLE",BOOLEAN:"BOOLEAN",UNIT:"UNIT",CURRENCY:"CURRENCY"}},p={QUALITY:{label:"Quality",symbol:"Q",color:"sem-quality",rgb:"rgb(0, 153, 0)"},SUBJECT:{label:"Subject",symbol:"S",color:"sem-subject",rgb:"rgb(153, 76, 0)"},IDENTITY:{label:"identity",symbol:"Id",color:"sem-identity",rgb:"rgb(0, 102, 204)"},ATTRIBUTE:{label:"Attribute",symbol:"A",color:"sem-attribute",rgb:"rgb(0, 102, 204)"},REALM:{label:"Realm",symbol:"R",color:"sem-realm",rgb:"rgb(0, 102, 204)"},TRAIT:{label:"Trait",symbol:"T",color:"sem-trait",rgb:"rgb(0, 102, 204)"},EVENT:{label:"Event",symbol:"E",color:"sem-event",rgb:"rgb(53, 153, 0)"},RELATIONSHIP:{label:"Relationship",symbol:"R",color:"sem-relationship",rgb:"rgb(210, 170, 0)"},PROCESS:{label:"Process",symbol:"P",color:"sem-process",rgb:"rgb(204, 0, 0)"},ROLE:{label:"Role",symbol:"R",color:"sem-role",rgb:"rgb(0, 86, 163)"},CONFIGURATION:{label:"Configuration",symbol:"C",color:"sem-configuration",rgb:"rgb(98, 98, 98)"},DOMAIN:{label:"Domain",symbol:"D",color:"sem-domain",rgb:"rgb(240, 240, 240)"}},S={nodes:[],links:[],showMenu:!1,selected:{},showSelection:!1,linksSelected:{},options:{canvas:!1,size:{w:500,h:500},force:350,offset:{x:0,y:0},nodeSize:20,linkWidth:1,nodeLabels:!0,linkLabels:!1,strLinks:!0}},m={CONNECTION_UNKNOWN:"UNKNOWN",CONNECTION_UP:"UP",CONNECTION_DOWN:"DOWN",CONNECTION_WORKING:"WORKING",CONNECTION_ERROR:"ERROR",UNKNOWN_IDENTITY:"UNKNOWN_IDENTITY"},O={TYPE_DEBUG:"debug",TYPE_WARNING:"warning",TYPE_ERROR:"error",TYPE_INFO:"info",TYPE_MESSAGE:"MSG",TYPE_ALL:"ALL"},b={TYPE_PROCESS:"PROCESS",TYPE_STATE:"STATE",TYPE_SUBJECT:"SUBJECT",TYPE_CONFIGURATION:"CONFIGURATION",TYPE_EVENT:"EVENT",TYPE_RELATIONSHIP:"RELATIONSHIP",TYPE_GROUP:"GROUP",TYPE_VIEW:"VIEW",TYPE_INITIAL:"INITIAL"},A={shapeType:"POINT",encodedShape:"POINT (40.299841 9.343971)",id:null,label:"DEFAULT",parentId:-1,visible:!0,spatialProjection:"EPSG:4326",observationType:b.TYPE_INITIAL},_={TYPE_RASTER:"RASTER",TYPE_SHAPE:"SHAPE",TYPE_SCALAR:"SCALAR",TYPE_TIMESERIES:"TIMESERIES",TYPE_NETWORK:"NETWORK",TYPE_PROPORTIONS:"PROPORTIONS",TYPE_COLORMAP:"COLORMAP",SHAPE_POLYGON:"POLYGON",SHAPE_POINT:"POINT",PARAM_VIEWPORT_SIZE:800,PARAM_VIEWPORT_MAX_SIZE:7680,PARAM_VIEWPORT_MULTIPLIER:1},I={PARAMS_MODE:"mode",PARAMS_MODE_IDE:"ide",PARAMS_MODE_STANDALONE:"standalone",PARAMS_SESSION:"session",PARAMS_LOG:"log",PARAMS_LOG_HIDDEN:"hidden",PARAMS_LOG_VISIBLE:"visible",PARAMS_LOCAL_HELP:"localhelp",PARAMS_APP:"app",PARAMS_DEBUG_REMOTE:"remote-debug",PARAMS_STOMP_DEBUG:"stomp-debug",PARAMS_TOKEN:"token",COOKIE_LANG:"klab_exp_lang",COOKIE_SESSION:"klab_session",COOKIE_MODE:"klab_mode",COOKIE_LOG:"klab_log",COOKIE_BASELAYER:"klab_baselayer",COOKIE_MAPDEFAULT:"klab_mapdefault",COOKIE_SAVELOCATION:"klab_saveLocation",COOKIE_HELP_ON_START:"klab_helponstart",COOKIE_DOCKED_STATUS:"klab_dockedstatus",COOKIE_NOTIFICATIONS:"klab_notifications",COOKIE_TERMINAL_SIZE:"klab_terminalsize",COOKIE_VIEW_COORDINATES:"klab_coordinates",LOCAL_STORAGE_APP_ID:"klab:appId",LOCAL_STORAGE_TERMINAL_COMMANDS:"klab:terminalCommands"},v={NOTIFICATIONS_URL:"".concat("https://integratedmodelling.org","/statics/notifications/index.php")},N={MAIN_COLOR:"rgb(17, 170, 187)",MAIN_GREEN:"rgb(231,255,219)",MAIN_CYAN:"rgb(228,253,255)",MAIN_YELLOW:"rgb(255, 195, 0)",MAIN_RED_HEX:"#ff6464",MAIN_COLOR_HEX:"#11aabb",MAIN_GREEN_HEX:"#e7ffdb",MAIN_CYAN_HEX:"#e4fdff",MAIN_YELLOW_HEX:"#ffc300",MAIN_RED:"rgb(255, 100, 100)",PRIMARY:"#DA1F26",SECONDARY:"#26A69A",TERTIARY:"#555",NEUTRAL:"#E0E1E2",POSITIVE:"#19A019",NEGATIVE:"#DB2828",INFO:"#1E88CE",WARNING:"#F2C037",PRIMARY_NAME:"primary",SECONDARY_NAME:"secondary",TERTIARY_NAME:"tertiary",POSITIVE_NAME:"positive",NEGATIVE_NAME:"negative",INFO_NAME:"info",WARNING_NAME:"warning"},h={SPINNER_STOPPED_COLOR:N.MAIN_COLOR,SPINNER_LOADING_COLOR:N.MAIN_YELLOW,SPINNER_MC_RED:N.MAIN_RED,SPINNER_ERROR_COLOR:N.NEGATIVE_NAME},R={SPINNER_LOADING:{color:h.SPINNER_LOADING_COLOR,animated:!0},SPINNER_STOPPED:{color:h.SPINNER_STOPPED_COLOR,animated:!1},SPINNER_ERROR:{color:h.SPINNER_ERROR_COLOR,animated:!1,time:2,then:{color:h.SPINNER_STOPPED_COLOR,animated:!1}}},C={UNKNOWN_SEARCH_OBSERVATION:"$$UNKNOWN_SEARCH_OBSERVATION$$"},g={WAITING:"waiting",PROCESSING:"processing",PROCESSED:"processed",ABORTED:"aborted"},w={MAP_SIZE_CHANGED:"mapsizechanged",UPDATE_FOLDER:"updatefolder",GRAPH_NODE_SELECTED:"graphnodeselected",SPINNER_DOUBLE_CLICK:"spinnerdoubleclick",SHOW_NODE:"shownode",ASK_FOR_UNDOCK:"askforundock",ASK_FOR_SUGGESTIONS:"askforsuggestions",NEED_FIT_MAP:"needfitmap",TREE_VISIBLE:"treevisible",VIEWER_CLICK:"viewerclick",VIEWER_SELECTED:"viewerselected",VIEWER_CLOSED:"viewerclosed",OBSERVATION_INFO_CLOSED:"observationinfoclosed",SEND_REGION_OF_INTEREST:"sendregionofinterest",NEED_HELP:"needhelp",OBSERVATION_BY_TIME:"observationbytime",NEED_LAYER_BUFFER:"needlayerbuffer",COMPONENT_ACTION:"componentaction",LAYOUT_CHANGED:"layoutchanged",SELECT_ELEMENT:"selectelement",PROPOSED_CONTEXT_CHANGE:"proposedcontextchange",NEW_SCHEDULING:"newscheduling",SHOW_NOTIFICATIONS:"shownotifications",TERMINAL_FOCUSED:"terminalfocused",COMMAND_RESPONSE:"commandresponse",REFRESH_DOCUMENTATION:"refreshdocumentation",PRINT_DOCUMENTATION:"printdocumentation",SHOW_DOCUMENTATION:"showdowcumentation",FONT_SIZE_CHANGE:"fontsizechange",DOWNLOAD_URL:"downloadurl",RESET_CONTEXT:"resetcontext",VIEW_ACTION:"viewaction",SESSION_CUT:"sessioncut",SHOW_DATA_INFO:"showdatainfo"},L={ST_SPACE:"space",ST_TIME:"time"},P={CENTIMETERS:"cm",METERS:"m",KILOMETERS:"km",MILLENNIUM:"MILLENNIUM",CENTURY:"CENTURY",DECADE:"DECADE",YEAR:"YEAR",MONTH:"MONTH",WEEK:"WEEK",DAY:"DAY",HOUR:"HOUR",MINUTE:"MINUTE",SECOND:"SECOND",MILLISECOND:"MILLISECOND"},D=[{i18nlabel:"unitCentimeter",type:L.ST_SPACE,value:P.CENTIMETERS,selectable:!0},{i18nlabel:"unitMeter",type:L.ST_SPACE,value:P.METERS,selectable:!0},{i18nlabel:"unitKilometer",type:L.ST_SPACE,value:P.KILOMETERS,selectable:!0},{i18nlabel:"unitMillennium",type:L.ST_TIME,value:P.MILLENNIUM,selectable:!1,momentShorthand:"y",momentMultiplier:1e3,index:0},{i18nlabel:"unitCentury",type:L.ST_TIME,value:P.CENTURY,selectable:!0,momentShorthand:"y",momentMultiplier:100,index:1},{i18nlabel:"unitDecade",type:L.ST_TIME,value:P.DECADE,selectable:!0,momentShorthand:"y",momentMultiplier:10,index:2},{i18nlabel:"unitYear",type:L.ST_TIME,value:P.YEAR,selectable:!0,momentShorthand:"y",momentMultiplier:1,index:3},{i18nlabel:"unitMonth",type:L.ST_TIME,value:P.MONTH,selectable:!0,momentShorthand:"M",momentMultiplier:1,index:4},{i18nlabel:"unitWeek",type:L.ST_TIME,value:P.WEEK,selectable:!0,momentShorthand:"W",momentMultiplier:1,index:5},{i18nlabel:"unitDay",type:L.ST_TIME,value:P.DAY,selectable:!0,momentShorthand:"d",momentMultiplier:1,index:6},{i18nlabel:"unitHour",type:L.ST_TIME,value:P.HOUR,selectable:!0,momentShorthand:"h",momentMultiplier:1,index:7},{i18nlabel:"unitMinute",type:L.ST_TIME,value:P.MINUTE,selectable:!0,momentShorthand:"m",momentMultiplier:1,index:8},{i18nlabel:"unitSecond",type:L.ST_TIME,value:P.SECOND,selectable:!1,momentShorthand:"s",momentMultiplier:1,index:9},{i18nlabel:"unitMillisecond",type:L.ST_TIME,value:P.MILLISECOND,selectable:!1,momentShorthand:"ms",momentMultiplier:1,index:10}],y={SPATIAL_TRANSLATION:"SpatialTranslation",SPATIAL_CHANGE:"SpatialChange",TERMINATION:"Termination",STRUCTURE_CHANGE:"StructureChange",NAME_CHANGE:"NameChange",ATTRIBUTE_CHANGE:"AttributeChange",VALUE_CHANGE:"ValueChange",BRING_FORWARD:"BringForward",CONTEXTUALIZATION_COMPLETED:"ContextualizationCompleted"},M={DEFAULT_STEP:864e5,DEFAULT_INTERVAL:100,PIXEL_TIME_MULTIPLIER:1,MIN_PLAY_TIME:6e4,MAX_PLAY_TIME:6e4},x={SEMANTIC:"SEMANTIC",FREETEXT:"FREETEXT"},k={INTERACTIVE_MODE:"InteractiveMode",LOCK_SPACE:"LockSpace",LOCK_TIME:"LockTime"},U={DEFAULT_MODAL_SIZE:{width:1024,height:768},DEFAULT_PROPORTIONS:{width:4,height:3},DEFAULT_WIDTH_PERCENTAGE:90,DEFAULT_HEIGHT_PERCENTAGE:90,DEFAULT_HELP_BASE_URL:"https://integratedmodelling.org/statics/help"},V={actionLabel:null,actionId:null,downloadUrl:null,downloadFileExtension:null,enabled:!1,separator:!1,submenu:[]},F={SEPARATOR_ITEM:s()({},V,{enabled:!0,separator:!0}),RECONTEXTUALIZATION_ITEM:s()({},V,{actionId:"Recontextualization",actionLabel:Object(c["b"])().tc("label.recontextualization"),enabled:!0})},Y=[{viewClass:"table",label:Object(c["b"])().tc("label.kwTable"),icon:"mdi-table",exportIcons:[{type:"xlsx",icon:"mdi-file-excel"}]},{viewClass:"chart",label:Object(c["b"])().tc("label.kwChart"),icon:"mdi-chart-bar",exportIcons:[]}],W={OBSERVATION:"Observation",VIEW:"View",TREE:"Tree",REPORT:"Report",DATAFLOW:"Dataflow",SHOW:"Show",HIDE:"Hide",URL:"Url",DOWNLOAD:"Download"},G={RESOURCE_VALIDATION:"ResourceValidation"},j={PANEL:"Panel",ALERT:"Alert",PUSH_BUTTON:"PushButton",CHECK_BUTTON:"CheckButton",RADIO_BUTTON:"RadioButton",TEXT_INPUT:"TextInput",COMBO:"Combo",GROUP:"Group",MAP:"Map",TREE:"Tree",TREE_ITEM:"TreeItem",CONFIRM:"Confirm",VIEW:"View",CONTAINER:"Container",MULTICONTAINER:"MultiContainer",LABEL:"Label",TEXT:"Text",TABLE:"Table",NOTIFICATION:"Notification",INPUT_GROUP:"InputGroup",SEPARATOR:"Separator",MODAL_WINDOW:"ModalWindow",WINDOW:"Window",BROWSER:"Browser",IMAGE:"Image"},H={USER_ACTION:"UserAction",ENABLE:"Enable",HIDE:"Hide",UPDATE:"Update",MENU_ACTION:"MenuAction"},z={LABEL_MIN_WIDTH:"150px",DEFAULT_LOGO:"statics/klab-logo.png"},B=/^\d+\D{1,2}/,K=function(e){var t={};return Object.keys(e.attributes).forEach(function(n){var o=e.attributes[n];switch(n){case"hidden":t.display="none";break;case"width":"content"===o?t["flex-basis"]="0":o.startsWith("col")?t["flex-grow"]=o.substring(3):t.width="".concat(o).concat(B.test(o)?"":"px");break;case"height":t.height="".concat(o).concat(B.test(o)?"":"px");break;case"hfill":e.attributes.hbox&&(t["flex-wrap"]="nowrap"),t.width="100%";break;case"vfill":t["flex-grow"]=1;break;case"top":case"bottom":case"center":e.attributes.parentAttributes&&e.attributes.parentAttributes.hbox?t["align-self"]="top"===n?"flex-start":"bottom"===n?"flex-end":"center":t["vertical-align"]=n;break;case"hbox":case"vbox":t["flex-direction"]="hbox"===n?"row":"column";break;case"left":case"right":t["text-align"]=n;break;default:break}}),t},X={dark:{"main-color":"white","positive-color":"rgb(116, 212, 116)","negative-color":"rgb(250, 117, 117)","background-color":"rgb(18, 18, 18)","alt-background":"rgb(99,99,99)","text-color":"white","control-text-color":"black","title-color":"white","alt-color":"rgb(0, 204, 204)","font-family":"'Roboto', '-apple-system', 'Helvetica Neue', Helvetica, Arial, sans-serif","font-size":"1em","title-size":"26px","subtitle-size":"16px","line-height":"1em"},light:{"main-color":"black","background-color":"white","alt-background":"rgb(233,233,233)","text-color":"black","control-text-color":"white","title-color":"black","alt-color":"rgb(0,138,150)","font-family":"'Roboto', '-apple-system', 'Helvetica Neue', Helvetica, Arial, sans-serif","font-size":"1em","title-size":"26px","subtitle-size":"16px","line-height":"1em"},worst:{"main-color":"green","background-color":"yellow","alt-background":"fuchsia","text-color":"red","control-text-color":"yellow","title-color":"indigo","alt-color":"blue","font-family":"comics","font-size":"1.2em","title-size":"32px","subtitle-size":"20px","line-height":"1.2em"},default:{"main-color":"rgb(0, 92, 129)","background-color":"rgb(250, 250, 250)","alt-background":"rgb(222, 222, 222)","text-color":"rgb(0, 92, 129)","control-text-color":"rgb(250, 250, 250)","title-color":"rgb(0, 92, 129)","alt-color":"rgb(0, 138, 150)","font-family":"'Roboto', '-apple-system', 'Helvetica Neue', Helvetica, Arial, sans-serif","font-size":"1em","title-size":"26px","subtitle-size":"16px","line-height":"1em"}},Q={DEBUGGER:"Debugger",CONSOLE:"Console"},q=[{value:"80x24",label:"80x24",cols:80,rows:24},{value:"80x43",label:"80x43",cols:80,rows:43},{value:"132x24",label:"132x24",cols:132,rows:24},{value:"132x43",label:"132x43",cols:132,rows:43}],J={REPORT:"REPORT",FIGURES:"FIGURES",TABLES:"TABLES",RESOURCES:"RESOURCES",MODELS:"MODELS",PROVENANCE:"PROVENANCE",REFERENCES:"REFERENCES"},Z={REPORT:"Report",SECTION:"Section",PARAGRAPH:"Paragraph",TABLE:"Table",CHART:"Chart",FIGURE:"Figure",RESOURCE:"Resource",MODEL:"Model",REFERENCE:"Reference",CITATION:"Citation",VIEW:"View",LINK:"Link",ANCHOR:"Anchor"},$=(o={},i()(o,Z.REPORT,J.REPORT),i()(o,Z.SECTION,J.REPORT),i()(o,Z.PARAGRAPH,J.REPORT),i()(o,Z.TABLE,J.TABLES),i()(o,Z.CHART,J.REPORT),i()(o,Z.FIGURE,J.FIGURES),i()(o,Z.RESOURCE,J.RESOURCES),i()(o,Z.MODEL,J.MODELS),i()(o,Z.REFERENCE,J.REPORT),i()(o,Z.CITATION,J.REPORT),i()(o,Z.VIEW,J.REPORT),i()(o,Z.LINK,J.REPORT),i()(o,Z.ANCHOR,J.REPORT),o),ee={NUMBER:"NUMBER",BOOLEAN:"BOOLEAN",CONCEPT:"CONCEPT",PROCESS:"PROCESS",EVENT:"EVENT",OBJECT:"OBJECT",TEXT:"TEXT",VALUE:"VALUE",RANGE:"RANGE",ENUM:"ENUM",EXTENT:"EXTENT",TEMPORALEXTENT:"TEMPORALEXTENT",SPATIALEXTENT:"SPATIALEXTENT",ANNOTATION:"ANNOTATION",LIST:"LIST",VOID:"VOID",MAP:"MAP",TABLE:"TABLE"}},"7e6d":function(e,t,n){},8449:function(e,t,n){"use strict";n.d(t,"b",function(){return d});n("ac6a"),n("cadf"),n("456d");var o=n("7037"),a=n.n(o),i=(n("386d"),n("7cca")),r=n("1442"),s=n("8fec"),c=n("be3b"),l=n("741d"),u=n("2b0e"),d=new u["a"];t["a"]=function(e){var t,n=e.store,o=new URLSearchParams(window.location.search),E=o.get(i["P"].PARAMS_SESSION)||l["a"].get(i["P"].COOKIE_SESSION),f=o.get(i["P"].PARAMS_MODE)||l["a"].get(i["P"].COOKIE_MODE)||i["P"].PARAMS_MODE_IDE,T=o.get(i["P"].PARAMS_LOG)||l["a"].get(i["P"].COOKIE_LOG)||i["P"].PARAMS_LOG_HIDDEN,p=l["a"].get(i["P"].COOKIE_BASELAYER)||r["d"].DEFAULT_BASELAYER,S=l["a"].get(i["P"].COOKIE_MAPDEFAULT)||{center:r["b"].center,zoom:r["b"].zoom},m=!l["a"].has(i["P"].COOKIE_SAVELOCATION)||l["a"].get(i["P"].COOKIE_SAVELOCATION),O=l["a"].has(i["P"].COOKIE_DOCKED_STATUS),b=o.get(i["P"].PARAMS_DEBUG_REMOTE);if(b)t="true"!==b;else{var A=window.location.hostname.toLowerCase();t=-1===A.indexOf("integratedmodelling.org")&&-1===A.indexOf("klab.officialstatistics.org")}var _=o.get(i["P"].PARAMS_TOKEN);u["a"].mixin({methods:{hexToRgbValues:function(e){if("undefined"!==typeof e){var t=s["b"](e);return"".concat(t.r,", ").concat(t.g,", ").concat(t.b)}return"black"},isAcceptedKey:function(e){var t="abcdefghijklmnopqrstuvwxyz0123456789.<>=!()+-*/^";return e=e.toLowerCase(),-1!==t.indexOf(e)}}}),u["a"].prototype.$eventBus=d,n.state.data.session=E,u["a"].prototype.$mode=f,l["a"].set(i["P"].COOKIE_MODE,f,{expires:30,path:"/",secure:!0}),u["a"].prototype.$logVisibility=T,l["a"].set(i["P"].COOKIE_LOG,T,{expires:30,path:"/",secure:!0}),u["a"].prototype.$baseLayer=p,l["a"].set(i["P"].COOKIE_BASELAYER,p,{expires:30,path:"/",secure:!0}),u["a"].prototype.$mapDefaults=S,n.state.view.saveLocation=m,l["a"].set(i["P"].COOKIE_SAVELOCATION,m,{expires:30,path:"/",secure:!0}),n.state.view.saveDockedStatus=O,O&&(n.state.view.mainControlDocked=l["a"].get(i["P"].COOKIE_DOCKED_STATUS)),n.state.view.viewCoordinates=l["a"].has(i["P"].COOKIE_VIEW_COORDINATES)&&l["a"].get(i["P"].COOKIE_VIEW_COORDINATES),n.state.data.local=t,n.state.data.token=_,console.info("Session: ".concat(E," / mode: ").concat(f));var I=o.get(i["P"].PARAMS_LOCAL_HELP);n.state.view.helpBaseUrl=I?"http://".concat(I):i["r"].DEFAULT_HELP_BASE_URL;var v=o.get(i["P"].PARAMS_APP);v&&(n.state.view.klabApp=v),c["a"].get("".concat("").concat("/modeler","/capabilities"),{}).then(function(e){var t=e.data;if("object"!==a()(t))throw Error("Error asking for capabilities: no data");if(0===Object.keys(t).length)throw Error("Capabilities are empty, check it");n.state.data.capabilities=t}).catch(function(e){console.error("Error trying to retrieve capabilities: ".concat(e))})}},"8fec":function(e,t,n){"use strict";n.d(t,"d",function(){return a}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return s}),n.d(t,"a",function(){return c});n("c5f6"),n("ee1d"),n("a481"),n("6b54");var o=/^rgb(a)?\((\d{1,3}),(\d{1,3}),(\d{1,3}),?([01]?\.?\d*?)?\)$/;function a(e){var t=e.r,n=e.g,o=e.b,a=e.a,i=void 0!==a;if(t=Math.round(t),n=Math.round(n),o=Math.round(o),t>255||n>255||o>255||i&&a>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return a=i?(256|Math.round(255*a/100)).toString(16).slice(1):"","#".concat((o|n<<8|t<<16|1<<24).toString(16).slice(1)).concat(a)}function i(e){if("string"!==typeof e)throw new TypeError("Expected a string");e=e.replace(/^#/,""),3===e.length?e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]:4===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var t=parseInt(e,16);return e.length>6?{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:Math.round((255&t)/2.55)}:{r:t>>16,g:t>>8&255,b:255&t}}function r(e){if("string"!==typeof e)throw new TypeError("Expected a string");var t=e.replace(/ /g,""),n=o.exec(t);if(null===n)return i(t);var a={r:Math.min(255,parseInt(n[2],10)),g:Math.min(255,parseInt(n[3],10)),b:Math.min(255,parseInt(n[4],10))};if(n[1]){var r=parseFloat(n[5]);a.a=100*Math.min(1,!0===Number.isNaN(r)?1:r)}return a}function s(e,t){if("string"!==typeof e)throw new TypeError("Expected a string as color");if("number"!==typeof t)throw new TypeError("Expected a numeric percent");var n=r(e),o=t<0?0:255,a=Math.abs(t)/100,i=n.r,s=n.g,c=n.b;return"#".concat((16777216+65536*(Math.round((o-i)*a)+i)+256*(Math.round((o-s)*a)+s)+(Math.round((o-c)*a)+c)).toString(16).slice(1))}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body;if("string"!==typeof e)throw new TypeError("Expected a string as color");if(!(t instanceof Element))throw new TypeError("Expected a DOM element");return getComputedStyle(t).getPropertyValue("--q-color-".concat(e)).trim()||null}},b0b2:function(e,t,n){"use strict";n.d(t,"a",function(){return P}),n.d(t,"h",function(){return y}),n.d(t,"e",function(){return x}),n.d(t,"f",function(){return k}),n.d(t,"g",function(){return U}),n.d(t,"b",function(){return V}),n.d(t,"k",function(){return F}),n.d(t,"j",function(){return Y}),n.d(t,"i",function(){return W}),n.d(t,"l",function(){return G}),n.d(t,"c",function(){return H}),n.d(t,"d",function(){return z});n("4917"),n("28a5"),n("48c0"),n("6c7b"),n("ac6a");var o=n("278c"),a=n.n(o),i=(n("c5f6"),n("ee1d"),n("8fec")),r=n("256f"),s=n("5bc3"),c=n("6c77"),l=n("1442"),u=n("f403"),d=n("7a09"),E=n("9a44"),f=n("47e4"),T=n("88da"),p=n("f822"),S=n("049d"),m=n("c4c8"),O=n("c7e3"),b=n("f384"),A=n("01ae"),_=n("7f68"),I=n("881a"),v=/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/,N=i["b"],h=i["a"],R=i["d"],C={topLeft:Object(r["l"])([-180,90],l["d"].PROJ_EPSG_4326,l["d"].PROJ_EPSG_3857),bottomLeft:Object(r["l"])([-180,-90],l["d"].PROJ_EPSG_4326,l["d"].PROJ_EPSG_3857),topRight:Object(r["l"])([180,90],l["d"].PROJ_EPSG_4326,l["d"].PROJ_EPSG_3857),bottomRight:Object(r["l"])([180,-90],l["d"].PROJ_EPSG_4326,l["d"].PROJ_EPSG_3857)},g=new _["b"],w={left:g.createLineString([new _["a"](C.topLeft[0],C.topLeft[1]),new _["a"](C.bottomLeft[0],C.bottomLeft[1])]),right:g.createLineString([new _["a"](C.topRight[0],C.topRight[1]),new _["a"](C.bottomRight[0],C.bottomRight[1])])},L=g.createPolygon([new _["a"](C.topLeft[0],C.topLeft[1]),new _["a"](C.topRight[0],C.topRight[1]),new _["a"](C.bottomRight[0],C.bottomRight[1]),new _["a"](C.bottomLeft[0],C.bottomLeft[1]),new _["a"](C.topLeft[0],C.topLeft[1])]);function P(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function D(e){if("string"!==typeof e)throw new TypeError("Expected a string");var t=v.exec(e);if(t){var n={r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10)};return t[4]&&(n.a=parseFloat(t[4])),n}return N(e)}function y(e){return!!Number.isNaN(1*e)&&e===e.toUpperCase()}function M(e){var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return"undefined"!==typeof t[e.toLowerCase()]?t[e.toLowerCase()]:null}function x(e){var t,n;if(0===e.indexOf("#"))n=e,t=N(e);else if(-1!==e.indexOf(","))t=D(e),n=R(t);else{if(n=h(e),null===n&&(n=M(e),null===n))throw new Error("Unknown color: ".concat(e));t=N(n)}return{rgb:t,hex:n,color:e}}function k(e,t,n){(null===e||null===t||n<1)&&console.warn("Bad colors: ".concat(e,", ").concat(t));for(var o,a,i,r=x(e).rgb,s=x(t).rgb,c=1/(n-1),l=[],u=0;u2&&void 0!==arguments[2]?arguments[2]:null,o=function(e,t,n){return e+(t-e)*n},i=[],r=Number((e.length-1)/(t-1)),s=a()(e,1);i[0]=s[0];for(var c=1;c0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),n&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n))}var F=new I["a"];F.inject(u["a"],d["a"],S["a"],s["a"],E["a"],f["a"],T["a"]);var Y=function(e){return e instanceof p["a"]&&(e=Object(s["b"])(e)),F.read(e)},W=function(e){return new m["a"](e).isValid()},G=function(e,t){return O["a"].union(e,t)};function j(e){var t=[];return O["a"].intersection(e,w.left)&&t.push(w.left),O["a"].intersection(e,w.right)&&t.push(w.right),t}function H(e){var t=j(e);if(0===t.length)return e;var n=e.getExteriorRing();t.forEach(function(e){n=O["a"].union(n,e)});var o=new A["a"];o.add(n);for(var a=o.getPolygons(),i=null,r=a.iterator();r.hasNext();){var s=r.next();if(!b["a"].contains(L,s)){for(var c=[],l=s.getCoordinates(),u=l.length,d=0;d0&&void 0!==arguments[0]?arguments[0]:null;if(null===e)return!1;var t=e.geometryTypes;return t&&"undefined"!==typeof t.find(function(e){return e===l["q"].TYPE_RASTER})},g=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l["g"].HIST_MAX_LENGTH;e.push(t),e.length>n&&e.shift()},w=function(e,t){if(0===e.length)return null;if(void 0===t)return e[e.length-1];var n=c()(e).reverse().find(function(e){return e.type===t});return"undefined"!==typeof n?n:null},L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;if(e&&null!==t&&"function"===typeof n){var o=[].reduce,a=function e(a,i){if(a||!i)return a;if(Array.isArray(i))return o.call(Object(i),e,a);var r=n(i,t);return null===r&&i.children&&i.children.length>0?e(null,i.children):r};return a(null,e)}return null},P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return L(e,t,function(e,t){return e.id===t?e:null})},D=function(e){var t=null!==e.parentArtifactId||null!==e.parentId&&e.rootContextId!==e.parentId,n=null!==e.parentArtifactId?e.parentArtifactId:e.parentId,o=e.main;if(!o&&t){var a=P(d["a"].getters["data/tree"],n);null!==a&&(o=o||a.userNode)}return{node:r()({id:e.id,label:e.literalValue||e.label,observable:e.observable,type:e.shapeType,dynamic:e.dynamic||!1,needUpdate:!e.contextualized,viewerIdx:e.viewerIdx,viewerType:null!==e.viewerIdx?d["a"].getters["view/viewer"](e.viewerIdx).type:null,loading:!1,children:[],childrenCount:e.childrenCount,childrenLoaded:0,siblingsCount:e.siblingsCount,parentArtifactId:e.parentArtifactId,tickable:null!==e.viewerIdx&&!e.empty||e.isContainer||e.childrenCount>0,disabled:e.empty&&(!e.isContainer||0===e.childrenCount)||e.singleValue||e.observationType===l["y"].TYPE_PROCESS,empty:e.empty,actions:e.actions,header:e.isContainer?"folder":"default",main:e.main,userNode:o,isContainer:e.isContainer,exportFormats:e.exportFormats,rootContextId:e.rootContextId,contextId:e.contextId,observationType:e.observationType,noTick:e.singleValue||e.observationType===l["y"].TYPE_PROCESS},e.isContainer&&{childrenLoaded:0},e.siblingsCount&&{siblingsCount:e.siblingsCount},{parentId:n}),parentId:n}},y=function(e){return new Promise(function(t,n){var o=null;if(null!==e)if(o=Object(_["g"])(e),null===o){var a=e.substring(5);fetch("https://epsg.io/?format=json&q=".concat(a)).then(function(a){return a.json().then(function(a){var i=a.results;if(i&&i.length>0)for(var r=0,s=i.length;r0&&u&&u.length>0&&d&&4===d.length){var f="EPSG:".concat(l);v["a"].defs(f,u),Object(I["a"])(v["a"]),o=Object(_["g"])(f);var T=Object(_["i"])(E["d"].PROJ_EPSG_4326,o),p=Object(A["a"])([d[1],d[2],d[3],d[0]],T);o.setExtent(p),console.info("New projection registered: ".concat(f)),t(o)}else n(new Error("Some error in projection search result: ".concat(JSON.stringify(c))))}else n(new Error("Some error in projection search result: no results"))}else n(new Error("Unknown projection: ".concat(e)))})})}else t(o);else t(E["d"].PROJ_EPSG_4326)})};function M(e){return x.apply(this,arguments)}function x(){return x=a()(regeneratorRuntime.mark(function e(t){var n,o,a,i,r;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return n=t.spatialProjection,e.next=3,y(n);case 3:if(o=e.sent,a=t.encodedShape,a){e.next=7;break}return e.abrupt("return",null);case 7:return 0===a.indexOf("LINEARRING")&&(a=a.replace("LINEARRING","LINESTRING")),i=null,-1!==a.indexOf("POINT")?(r=R.readFeature(a,{dataProjection:o,featureProjection:E["d"].PROJ_EPSG_3857}),null!==r&&null!==r.getGeometry()&&(i=r.getGeometry().getFirstCoordinate())):i=R.readGeometry(a,{dataProjection:o,featureProjection:E["d"].PROJ_EPSG_3857}),t.id===t.rootContextId&&(t.zIndexOffset=0),e.abrupt("return",i);case 12:case"end":return e.stop()}},e)})),x.apply(this,arguments)}function k(e){return U.apply(this,arguments)}function U(){return U=a()(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.response?{status:t.response.data.status||t.response.status,message:t.response.data.message||t.response.data.error||t.response.data||(""!==t.response.statusText?t.response.statusText:"Unknown"),axiosError:t}:t.request?{status:t.request.status,message:t.message,axiosError:t}:{status:"UNKNOWN",message:t.message,axiosError:t},!(n instanceof Blob)){e.next=5;break}return e.next=4,n.text();case 4:n=e.sent;case 5:return e.abrupt("return",n);case 6:case"end":return e.stop()}},e)})),U.apply(this,arguments)}var V=function(e,t,n,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;d["a"].dispatch("view/setSpinner",r()({},l["H"].SPINNER_LOADING,{owner:e}),{root:!0}),N["a"].get(t,n).then(function(t){t&&o(t,function(){d["a"].dispatch("view/setSpinner",r()({},l["H"].SPINNER_STOPPED,{owner:e}),{root:!0})})}).catch(function(){var t=a()(regeneratorRuntime.mark(function t(n){var o,a;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,k(n);case 2:if(o=t.sent,a=null,null!=o&&(a=o.message),d["a"].dispatch("view/setSpinner",r()({},l["H"].SPINNER_ERROR,{owner:e,errorMessage:a}),{root:!0}),null===i){t.next=10;break}i(n),t.next=11;break;case 10:throw n;case 11:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}())},F=function(e){if("RAMP"===e.type&&e.colors.length>1&&e.colors.length<256){for(var t=[],n=[],o=e.colors.length,a=Math.floor(256/o),i=a+(256-o*a),r=0;rl["q"].PARAM_VIEWPORT_MAX_SIZE&&(a=l["q"].PARAM_VIEWPORT_MAX_SIZE),P=w.getExtent(),D="".concat("").concat(u["c"].REST_SESSION_VIEW,"data/").concat(t.id),M=new b["a"]({projection:R,imageExtent:P,url:D,style:E["e"].POLYGON_OBSERVATION_STYLE,imageLoadFunction:function(e,n){d["a"].dispatch("view/setSpinner",r()({},l["H"].SPINNER_LOADING,{owner:"".concat(n).concat(s)}),{root:!0}),d["a"].dispatch("data/setLoadingLayers",{loading:!0,observation:t}),N["a"].get(n,{params:r()({format:l["q"].TYPE_RASTER,viewport:a},-1!==A&&{locator:"T1(1){time=".concat(A,"}")}),responseType:"blob"}).then(function(o){if(o){var a=new FileReader;a.readAsDataURL(o.data),a.onload=function(){var o=e.getImage();o.src=a.result,d["a"].dispatch("view/setSpinner",r()({},l["H"].SPINNER_STOPPED,{owner:"".concat(n).concat(s)}),{root:!0}),t.tsImages.push("T".concat(s)),t.loaded=!0,d["a"].dispatch("data/setLoadingLayers",{loading:!1,observation:t}),V("cm_".concat(t.id),D,{params:r()({format:l["q"].TYPE_COLORMAP},-1!==s&&{locator:"T1(1){time=".concat(s,"}")})},function(e,n){e&&e.data&&(t.colormap=F(e.data)),n()})},a.onerror=function(e){d["a"].dispatch("view/setSpinner",r()({},l["H"].SPINNER_ERROR,{owner:"".concat(n).concat(s),errorMessage:e}),{root:!0})}}}).catch(function(e){throw d["a"].dispatch("view/setSpinner",r()({},l["H"].SPINNER_ERROR,{owner:"".concat(n).concat(s),errorMessage:e.message}),{root:!0}),d["a"].dispatch("data/setLoadingLayers",{loading:!1,observation:t}),e})}}),e.abrupt("return",new O["a"]({id:L,source:M}));case 19:return 0===g.indexOf("LINESTRING")||0===g.indexOf("MULTILINESTRING")?(x=E["e"].LNE_OBSERVATION_STYLE,t.zIndexOffset=E["d"].ZINDEX_BASE*E["d"].ZINDEX_MULTIPLIER_LINES):0===g.indexOf("POINT")||0===g.indexOf("MULTIPOINT")?(x=Object(f["d"])(E["e"].POINT_OBSERVATION_SVG_PARAM,t.label),t.zIndexOffset=E["d"].ZINDEX_BASE*E["d"].ZINDEX_MULTIPLIER_POINTS):(x=E["e"].POLYGON_OBSERVATION_STYLE,t.zIndexOffset=E["d"].ZINDEX_BASE*E["d"].ZINDEX_MULTIPLIER_POLYGONS),k=new m["a"]({geometry:w,name:t.label,id:L}),U=new p["a"]({id:L,source:new T["a"]({features:[k]}),style:x}),e.abrupt("return",U);case 23:case"end":return e.stop()}},e)})),W.apply(this,arguments)}function G(e,t){d["a"].$app.sendStompMessage(e(t,d["a"].state.data.session).body)}var j=function(e){switch(e){case"FORTHCOMING":return{icon:"mdi-airplane-landing",tooltip:"forthcoming"};case"EXPERIMENTAL":return{icon:"mdi-flask-outline",tooltip:"experimental"};case"NEW":return{icon:"mdi-new-box",tooltip:"new"};case"STABLE":return{icon:"mdi-check-circle-outline",tooltip:"stable"};case"BETA":return{icon:"mdi-radioactive",tooltip:"beta"};default:return{}}},H=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e,t){return e.id===t?e:null};if(e&&null!==t){var o=[].reduce,a=function e(a,i){if(a||!i)return a;if(Array.isArray(i))return o.call(Object(i),e,a);var r=n(i,t);return null===r&&i.components&&i.components.length>0?e(null,i.components):r};return a(null,e)}return null},z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;return H(c()(e.panels).concat(c()(e.leftPanels),c()(e.rightPanels),[e.header,e.footer]).filter(function(e){return null!==e}),t,n)};function B(e,t,n,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;V("dw_".concat(e),"".concat("").concat(u["c"].REST_SESSION_VIEW,"data/").concat(e),{params:r()({format:t,outputFormat:o.value,adapter:o.adapter},-1!==a&&{locator:"T1(1){time=".concat(a,"}")}),responseType:"blob"},function(e,t){var a=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=a,i.setAttribute("download","".concat(n,".").concat(o.extension)),document.body.appendChild(i),i.click(),i.remove(),window.URL.revokeObjectURL(a),t()})}function K(e,t){var n=[Object.assign({},e)];return delete n[0][t],e[t]&&e[t].length>0?n.concat(e[t].map(function(e){return K(e,t)}).reduce(function(e,t){return e.concat(t)},[])):n}}).call(this,n("b639").Buffer)},be3b:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n("bc3a"),a=n.n(o),i=a.a.create();t["b"]=function(e){var t=e.Vue,n=e.store;n.state.data.session?i.defaults.headers.common.Authorization=n.state.data.session:console.warn("No session established en axios header, check it"),n.state.data.token&&(i.defaults.headers.common.Authentication=n.state.data.token),t.prototype.$axios=i}},d247:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a}),n.d(t,"c",function(){return i});n("0d6d"),Object.freeze({SEARCH_TYPES:[{enumId:"CONCEPT",name:"CONCEPT",color:"#ff0000"},{enumId:"OPERATOR",name:"OPERATOR",color:"#ffff00"},{enumId:"OBSERVATION",name:"OBSERVATION",color:"#ff00ff"},{enumId:"MODEL",name:"MODEL",color:"#0000ff"}]});var o=Object.freeze({CLASS_USERCONTEXTCHANGE:"UserContextChange",CLASS_SEARCH:"Search",CLASS_OBSERVATIONLIFECYCLE:"ObservationLifecycle",CLASS_TASKLIFECYCLE:"TaskLifecycle",CLASS_USERCONTEXTDEFINITION:"UserContextDefinition",CLASS_USERINTERFACE:"UserInterface",CLASS_NOTIFICATION:"Notification",CLASS_RUN:"Run",TYPE_REGIONOFINTEREST:"RegionOfInterest",TYPE_FEATUREADDED:"FeatureAdded",TYPE_PERIODOFINTEREST:"PeriodOfInterest",TYPE_SUBMITSEARCH:"SubmitSearch",TYPE_MATCHACTION:"MatchAction",TYPE_REQUESTOBSERVATION:"RequestObservation",TYPE_RESETCONTEXT:"ResetContext",TYPE_RECONTEXTUALIZE:"Recontextualize",TYPE_TASKINTERRUPTED:"TaskInterrupted",TYPE_SCALEDEFINED:"ScaleDefined",TYPE_DATAFLOWNODEDETAIL:"DataflowNodeDetail",TYPE_DATAFLOWNODERATING:"DataflowNodeRating",TYPE_CHANGESETTING:"ChangeSetting",TYPE_USERINPUTPROVIDED:"UserInputProvided",TYPE_WATCHOBSERVATION:"WatchObservation",TYPE_ENGINEEVENT:"EngineEvent",TYPE_VIEWACTION:"ViewAction",TYPE_RUNAPP:"RunApp",TYPE_CONSOLECREATED:"ConsoleCreated",TYPE_CONSOLECLOSED:"ConsoleClosed",TYPE_COMMANDREQUEST:"CommandRequest",PAYLOAD_CLASS_SPATIALEXTENT:"SpatialExtent",PAYLOAD_CLASS_SPATIALLOCATION:"SpatialLocation",PAYLOAD_CLASS_TEMPORALEXTENT:"TemporalExtent",PAYLOAD_CLASS_SEARCHREQUEST:"SearchRequest",PAYLOAD_CLASS_SEARCHMATCHACTION:"SearchMatchAction",PAYLOAD_CLASS_OBSERVATIONREQUEST:"ObservationRequest",PAYLOAD_CLASS_INTERRUPTTASK:"InterruptTask",PAYLOAD_CLASS_SCALEREFERENCE:"ScaleReference",PAYLOAD_CLASS_DATAFLOWSTATE:"DataflowState",PAYLOAD_CLASS_CONTEXTUALIZATIONREQUEST:"ContextualizationRequest",PAYLOAD_CLASS_SETTINGCHANGEREQUEST:"SettingChangeRequest",PAYLOAD_CLASS_USERINPUTRESPONSE:"UserInputResponse",PAYLOAD_CLASS_WATCHREQUEST:"WatchRequest",PAYLOAD_CLASS_EMPTY:"String",PAYLOAD_CLASS_VIEWACTION:"ViewAction",PAYLOAD_CLASS_MENUACTION:"MenuAction",PAYLOAD_CLASS_LOADAPPLICATIONREQUEST:"LoadApplicationRequest",PAYLOAD_CLASS_CONSOLENOTIFICATION:"ConsoleNotification"}),a=Object.freeze({CLASS_TASKLIFECYCLE:"TaskLifecycle",CLASS_OBSERVATIONLIFECYCLE:"ObservationLifecycle",CLASS_QUERY:"Query",CLASS_USERCONTEXTCHANGE:"UserContextChange",CLASS_NOTIFICATION:"Notification",CLASS_USERCONTEXTDEFINITION:"UserContextDefinition",CLASS_USERINTERFACE:"UserInterface",CLASS_AUTHORIZATION:"Authorization",CLASS_VIEWACTOR:"ViewActor",TYPE_DATAFLOWCOMPILED:"DataflowCompiled",TYPE_DATAFLOWSTATECHANGED:"DataflowStateChanged",TYPE_DATAFLOWDOCUMENTATION:"DataflowDocumentation",TYPE_NEWOBSERVATION:"NewObservation",TYPE_MODIFIEDOBSERVATION:"ModifiedObservation",TYPE_QUERYRESULT:"QueryResult",TYPE_RESETCONTEXT:"ResetContext",TYPE_SCALEDEFINED:"ScaleDefined",TYPE_USERINPUTREQUESTED:"UserInputRequested",TYPE_USERPROJECTOPENED:"UserProjectOpened",TYPE_SCHEDULINGSTARTED:"SchedulingStarted",TYPE_SCHEDULINGFINISHED:"SchedulingFinished",TYPE_NETWORKSTATUS:"NetworkStatus",TYPE_CREATEVIEWCOMPONENT:"CreateViewComponent",TYPE_SCHEDULEADVANCED:"ScheduleAdvanced",TYPE_ENGINEEVENT:"EngineEvent",TYPE_SETUPINTERFACE:"SetupInterface",TYPE_VIEWACTION:"ViewAction",TYPE_VIEWAVAILABLE:"ViewAvailable",TYPE_VIEWSETTING:"ViewSetting",TYPE_COMMANDRESPONSE:"CommandResponse",TYPE_DOCUMENTATIONCHANGED:"DocumentationChanged",TYPE_CREATEMODALWINDOW:"CreateModalWindow",TYPE_AUTHORITYDOCUMENTATION:"AuthorityDocumentation",TYPE_PROVENANCECHANGED:"ProvenanceChanged",TYPE_TASKSTARTED:"TaskStarted",TYPE_TASKFINISHED:"TaskFinished",TYPE_TASKABORTED:"TaskAborted",TYPE_DEBUG:"Debug",TYPE_INFO:"Info",TYPE_WARNING:"Warning",TYPE_ERROR:"Error",PAYLOAD_CLASS_TASKREFERENCE:"TaskReference",PAYLOAD_CLASS_CONTEXTUALIZATIONNOTIFICATION:"ContextualizationNotification",PAYLOAD_CLASS_DATAFLOWSTATE:"DataflowState",PAYLOAD_CLASS_OBSERVATIONREFERENCE:"ObservationReference",PAYLOAD_CLASS_SEARCHRESPONSE:"SearchResponse",PAYLOAD_CLASS_SCALEREFERENCE:"ScaleReference",PAYLOAD_CLASS_USERINPUTREQUEST:"UserInputRequest",PAYLOAD_CLASS_SCHEDULERNOTIFICATION:"SchedulerNotification",PAYLOAD_CLASS_NETWORKREFERENCE:"NetworkReference",PAYLOAD_CLASS_EMPTY:"String",PAYLOAD_CLASS_VIEWCOMPONENT:"ViewComponent",PAYLOAD_CLASS_ENGINEEVENT:"EngineEvent",PAYLOAD_CLASS_LAYOUT:"Layout",PAYLOAD_CLASS_VIEWACTION:"ViewAction",PAYLOAD_CLASS_VIEWSETTING:"ViewSetting",PAYLOAD_CLASS_KNOWLEDGEVIEWREFERENCE:"KnowledgeViewReference",PAYLOAD_CLASS_CONSOLENOTIFICATION:"ConsoleNotification",PAYLOAD_CLASS_DOCUMENTATIONEVENT:"DocumentationEvent"}),i=Object.freeze({REST_STATUS:"".concat("/modeler","/engine/status"),REST_SESSION_INFO:"".concat("/modeler","/engine/session/info"),REST_SESSION_VIEW:"".concat("/modeler","/engine/session/view/"),REST_SESSION_OBSERVATION:"".concat("/modeler","/engine/session/observation/"),REST_UPLOAD:"".concat("/modeler","/resource/put"),REST_GET_PROJECT_RESOURCE:"".concat("/modeler","/engine/project/resource/get"),REST_API_LOGOUT:"".concat("/modeler/api/v2","/users/log-out"),REST_API_EXPORT:"".concat("/modeler/api/v2","/public/export")})},e7d8:function(e,t,n){"use strict";var o=n("2b0e"),a=n("a925"),i={label:{appTitle:"k.LAB Explorer EN",appRunning:"Running on Quasar v{version}",appClose:"Close",appOK:"Ok",appAccept:"Accept",appYES:"Yes",appNO:"No",appCancel:"Cancel",appRetry:"Retry",appNext:"Next",appPrevious:"Previous",appWarning:"Warning",appPlay:"Play",appReplay:"Replay",appPause:"Pause",appReload:"Reload",appPrint:"Print",appSetDefault:"Set as default",klabNoMessage:"No message",klabUnknownError:"Unknown error",klabNoDate:"No date",klabMessagesToSend:"There are one message in queue",modalNoConnection:"No connection, please wait",appFooter:"k.LAB Explorer - 2018",treeTitle:"Observation",reconnect:"Reconnect",unknownLabel:"Unknown",context:"context",noContext:"",noContextPlaceholder:"",contextShape:"context shape",noObservation:"No observations available",searchPlaceholder:"Search knowledge",fuzzySearchPlaceholder:"Free search",askForObservation:"Observing {urn}",noTokenDescription:"No description available",btnContextReset:"Reset context",contextReset:"Context reset",itemCounter:"{loaded} of {total}",logTab:"Log",treeTab:"Tree",noHistogramData:"No data",noInfoValues:"",noScaleReference:"",mcMenuScale:"Space & time:",mcMenuContext:"Context",mcMenuOption:"Options",mcMenuSettings:"Settings",mcMenuHelp:"Help",showTutorial:"Show tutorial",showHelp:"Show help",refreshSize:"Refresh window size",titleOutputFormat:"Download observation",askForOuputFormat:"Select format",titleChangeScale:"Change {type} scale",askForNewScale:"Select new scale",resolutionLabel:"Resolution value",unitLabel:"Unit value",clickToEditScale:"Click to edit",clickToLock:"Click to lock scale",clickToUnlock:"Click to unlock scale",scaleLocked:"{type} scale locked",spaceScale:"Space",timeScale:"Time",unitCentimeter:"Centimeters",unitMeter:"Meters",unitKilometer:"Kilometers",unitMillennium:"Millennium",unitCentury:"Century",unitDecade:"Decade",unitYear:"Year",unitMonth:"Month",unitWeek:"Week",unitDay:"Day",unitHour:"Hour",unitMinute:"Minute",unitSecond:"Second",unitMillisecond:"Millisecond",timeOrigin:"Initial time",labelTimeStart:"Start time",labelTimeEnd:"End time",labelSpatial:"spatial",labelTemporal:"temporal",newContext:"New context",previousContexts:"Previous contexts",drawCustomContext:"Draw context",eraseCustomContext:"Erase custom context",addToCustomContext:"Add shape",drawPoint:"Point",drawLineString:"Line",drawPolygon:"Polygon",drawCircle:"Circle",optionShowAll:"Show all",optionSaveLocation:"Remember location",saveDockedStatus:"Remember docked status",noNodes:"No observations",loadShowData:"Load and show data",interactiveMode:"Interactive mode",noInputSectionTitle:"No section title",cancelInputRequest:"Cancel run",resetInputRequest:"Use defaults",submitInputRequest:"Submit",IDLAlertTitle:"Warning!",recontextualization:"Set as context",rememberDecision:"Don't show again",titleCommentResource:"Comment on resource",sendComment:"Send",noTimeSet:"Initial state",timeResolutionMultiplier:"Multiplier",months:{m0:"January",m1:"February",m2:"March",m3:"April",m4:"May",m5:"June",m6:"July",m7:"August",m8:"September",m9:"October",m10:"November",m11:"December"},removeProposedContext:"Remove context",levelDebug:"Debug",levelInfo:"Info",levelWarning:"Warning",levelError:"Error",levelEngineEvent:"Engine event",userDetails:"User details",unknownUser:"Unknown user",userId:"Id:",userEmail:"Email:",userLastLogin:"Last login:",userGroups:"Groups:",appsList:"Available apps",appsClose:"Close app",appsLogout:"Logout",reloadApplications:"Reload applications",noLayoutLabel:"No title",noLayoutDescription:"No description",kwTable:"Table",kwChart:"Chart",openTerminal:"Open terminal",openDebugger:"Open debugger",titleSelectTerminalSize:"Select terminal size",terminalDeleteHistory:"Delete history",terminalResizeWindow:"Resize terminal window",terminalMinimize:"Minimize terminal",terminalMaximize:"Maximize terminal",terminalClose:"Close terminal",noDocumentation:"No elements available for this view",tableDownloadAsXSLX:"Download table as .xslx",tableCopy:"Copy table to clipboard",resettingContext:"Resetting context",reportTable:"Table",reportFigure:"Figure",viewCoordinates:"Show coordinates"},messages:{connectionClosed:"Connection closed",connectionWorking:"Trying to reconnect",connectionUnknown:"Starting...",noSpaceAllowedInSearch:"Spaces cannot be used in the search box",noSearchResults:"No search results",noActionForObservation:"No actions available",noTime:"no time",emptyReport:'
Empty report
',noLoadedReport:"No report loaded",copiedToClipboard:"Copied to clipboard",customCopyToClipboard:"{what} copied to clipboard",changeScaleResolutionError:"Resolution must be positive",updateScale:"{type} scale updated",updateNextScale:"New {type} scale have been stored, press refresh to update",invalidGeometry:"Polygon is not valid",geolocationWaitingTitle:"Enable geolocation?",geolocationWaitingText:"k.Explorer can detect your current location to initialize the geographical viewer.
In order to do so, you need to authorize geolocation.
This is merely for your convenience and does not affect operation.
Your choice will be remembered and can be changed at any time.",geolocationErrorPermissionDenied:"Geolocation has not been authorized",geolocationErrorPositionUnavailable:"Location information is unavailable",geolocationErrorTimeout:"A request to get the user location timed out",geolocationErrorUnknown:"An unknown error occurred",unknownSearchObservation:"Previous observations results",noLogItems:"Empty log",noLevelSelected:"No levels selected",uploadComplete:"Upload of file {fileName} complete",IDLAlertText:"Actual view crossing the International Date Line. A drawn context is needed",lastTermAlertText:"No more terms allowed",parenthesisAlertText:"You have open parenthesis",emptyFreeTextSearch:"Empty search is not allowed",fuzzyModeOff:"Free search off",fuzzyModeOn:"Free search on",treeNoResult:"No results",treeNoNodes:"No data",treeNoResultUser:"No main observations",treeNoResultUserWaiting:"Computing...",treeNoResultNoUser:"No observations",treeNoMainSummary:"Other observations",thankComment:"Comment has been sent",confirmRescaleContext:"The context will be recreate with new resolution.\nAre you sure?",loadingChildren:"Loading children...",waitingLocation:"Searching for {location}...",waitingObservationInit:"Initializing observation...",availableInFuture:"This feature will be available soon",timeEndBeforeTimeStart:"End time cannot be before start time",timeEndModified:"Multiplier is not used because the end time was manually changed",pressToChangeSpeed:"Press to play
Hold to change speed
Actual speed x{multiplier}",resourcesValidating:"Engine is busy",presentationBlocked:'

Can\'t access online help resources: check your network connection

A browser extension may also be interfering

',noAppsAvailable:"No available apps",noGroupsAssigned:"No groups assigned",appLoading:"Loading app {app}",errorLoadingApp:"Error loading app {app}",reloadApp:"Reload application",errorLoggingOut:"Error logging out, contact support",terminalHello:"Welcome to k.LAB {type}",noDocumentation:"No documentation available",confirmExitPage:"Data will be lost if you leave the page, are you sure?",tableCopied:"Table copied to clipboard",invalidSession:"Invalid session",sessionClosed:"Session closed by server",unknownSessionError:"Problem with session",youHaveGOT:"Winter is coming"},tooltips:{treePane:"View tree",showLogPane:"View log",hideLogPane:"Hide log",resetContext:"Reset context",interruptTask:"Interrupt task {taskDescription}",dataViewer:"View data",reportViewer:"View report",documentationViewer:"View documentation",scenarios:"Scenarios",observers:"Observers",noReportTask:"Cannot view report,\nwait for task end",noReportObservation:"Report not available,\nno observations",noDocumentation:"Documentation not available,\nno observations",noDataflow:"Dataflow not availble",noDataflowInfo:"No details",dataflowViewer:"View data flow",provenanceViewer:"View provenance (will be...)",undock:"Undock",copyEncodedShapeToClipboard:"Copy context shape to clipboard",cancelInputRequest:"Cancel run",resetInputRequest:"Use default values",submitInputRequest:"Submit values",displayMainTree:"Display main tree",hideMainTree:"Hide main tree",rateIt:"Rate resource",commentIt:"Comment on resource",refreshScale:"Refresh context with new scale(s)",clickToEdit:"Click to edit {type} scale",palette:"No palette",unknown:"To be decided",noKnowledgeViews:"No knowledge views",knowledgeViews:"Knowledge views",uploadData:"Upload data (forthcoming)"},errors:{connectionError:"Connection error",searchTimeout:"Search timeout",uploadError:"Upload error for the file {fileName}"},engineEventLabels:{evtResourceValidation:"Resource validation"},langName:"English"},r={label:{appTitle:"k.LAB Explorer ES",appRunning:"Ejecutándose sobre Quasar v{version}",appClose:"Cerrar",appOK:"Ok",appCancel:"Cancelar",appRetry:"Reintentar",appNext:"Siguiente",appPrevious:"Precedente",klabNoMessage:"No hay ningún mensaje",klabUnknownError:"Error desconocido",klabNoDate:"No hay fecha",klabMessagesToSend:"Hay un mensaje en la cola",modalNoConnection:"No hay conexión, esperar",appFooter:"k.LAB Explorer - 2018",treeTitle:"Observaciones",reconnect:"Reconectar",unknownLabel:"Desconocido",context:"contesto",noContext:"",contextShape:"context shape",noObservation:"No hay observaciones",searchPlaceholder:"Buscar in k.LAB",fuzzySearchPlaceholder:"Buscar",askForObservation:"Pidiendo {urn}",noTokenDescription:"No hay descripción",btnContextReset:"Resetear contexto",contextReset:"Contexto reseteado",itemCounter:"{loaded} de {total}",logTab:"Log",treeTab:"Árbol",noHistogramData:"No data",noInfoValues:"",noScaleReference:"",mcMenuScale:"Espacio y tiempo:",mcMenuContext:"Contexto",mcMenuOption:"Optciones",titleOutputFormat:"Download observación",askForOuputFormat:"Seleccionar un formato",titleChangeScale:"Cambiar escala",askForNewScale:"Seleccionar nueva escala",resolutionLabel:"Valor de la escala",unitLabel:"Unidad de la escala",clickToEditScale:"Click para modificar",clickToLock:"Click para bloquear la escala",clickToUnlock:"Click para desbloquear la escala",scaleLocked:"{type} escala bloqueada",spaceScale:"Espacio",timeScale:"Tiempo",labelCm:"Centimetros",labelM:"Metros",labelKm:"Kilometros",labelSpatial:"espacial",labelTemporal:"temporal",newContext:"Nuevo contexto",previousContexts:"Contextos prévios",drawCustomContext:"Dibujar contexto",eraseCustomContext:"Borrar contexto",addToCustomContext:"Añadir shape",drawPoint:"Punto",drawLineString:"Línea",drawPolygon:"Polígono",drawCircle:"Circulo",optionShowAll:"Ver todas",optionSaveLocation:"Recordar posición",noNodes:"No results: is waiting?",loadShowData:"Cargar y visualizar datos",interactiveMode:"Modo interactivo",noInputSectionTitle:"No section title",cancelInputRequest:"Cancelar ejecución",resetInputRequest:"Utilizar defaults",submitInputRequest:"Enviar",IDLAlertTitle:"Cuidado!",recontextualization:"Fijar como contexto",rememberDecision:"Recordar mi elección"},messages:{connectionClosed:"Conexión cerrada",connectionWorking:"Intentando reconectar",connectionUnknown:"Inicializando...",noSpaceAllowedInSearch:"No está permitido utilizar espacios en la búsqueda",noSearchResults:"No hay resultados",noActionForObservation:"No hay acciones disponibles",noTime:"sin información",emptyReport:'',noLoadedReport:"No se ha cargado ningun report",copiedToClipboard:"Copiado",customCopyToClipboard:"{what} copiado",changeScaleResolutionError:"La resolución tiene que ser positiva",updateScale:"Actualizada la escala {type}, nuevo valor {resolution} {unit}",invalidGeometry:"Polígono no válido",geolocationWaitingTitle:"¿Habilitar la geolocalización?",geolocationWaitingText:"k.Explorer puede detectar tu posición actual para inicializar la vista geográfica.
Para hacer eso, hay que autorizar la geolocalización.
Esto es solamente por comodidad yno afecta a la operatividad.
Your choice will be remembered and can be changed at any time.",geolocationErrorPermissionDenied:"No se ha autorizado la geolocalización",geolocationErrorPositionUnavailable:"No hay información de posicionamiento",geolocationErrorTimeout:"Se ha superado el tiempo de espera para la geolocalización",geolocationErrorUnknown:"Ha habido un error desconocido",needHelpTitle:"How to use",needHelp0Text:"To use this, you need to know various things:",needHelp1Text:"The first",needHelp2Text:"The second",needHelp3Text:"The last",unknownSearchObservation:"Resultado de observaciones previas",noLogItems:"No hay elementos en el log",uploadComplete:"Upload del file {fileName} completado",IDLAlertText:"La selección actual cruza la IDL. Sólo está permitido en caso de dibujar un contexto",lastTermAlertText:"No están permitidos mas tokens",parenthesisAlertText:"Parentesis no balanceadas",emptyFreeTextSearch:"Búsqueda vacía",fuzzyModeOff:"Búsqueda libre desactivada",fuzzyModeOn:"Búsqueda libre activada",youHaveGOT:"Winter is coming"},tooltips:{treePane:"Ver árbol",logPane:"Ver log",resetContext:"Reset context",interruptTask:"Interrumpir proceso {taskDescription}",dataViewer:"Ver datos",reportViewer:"Ver report",noReportTask:"Cannot view report,\nwait for task end",noReportObservation:"Report no disponibile,\nno hay observaciones",noDataflow:"Dataflow no disponible",dataflowViewer:"Ver data flow",provenanceViewer:"Ver provenance (will be...)",undock:"Desacoplar",copyEncodedShapeToClipboard:"Copiar el contexto en el portapapeles",cancelInputRequest:"Cancelar ejecución",resetInputRequest:"Utilizar default",submitInputRequest:"Enviar"},errors:{connectionError:"Error de conexión",searchTimeout:"Tiempo de busqueda terminado",uploadError:"Error durante el upload del file {fileName}"},langName:"Español"},s={label:{appTitle:"k.LAB Explorer IT",appRunning:"Esecutandosi con Quasar v{version}",appClose:"Chiudi",appOK:"Ok",appCancel:"Cancellare",appRetry:"Riprovare",appNext:"Successiva",appPrevious:"Precedente",klabNoMessage:"Nessun messaggio",klabUnknownError:"Errore sconosciuto",klabNoDate:"Nessuna data",klabMessagesToSend:"C'è un messaggio in coda",modalNoConnection:"Non c'è connessione",appFooter:"k.LAB Explorer - 2018",treeTitle:"Osservazioni",reconnect:"Riconnettere",unknownLabel:"Sconosciuto",context:"contesto",noContext:"",contextShape:"context shape",noObservation:"Nessuna osservazione disponibile",searchPlaceholder:"Cerca in k.LAB",fuzzySearchPlaceholder:"Cerca",askForObservation:"Chiedendo {urn}",noTokenDescription:"Descrizione non disponibile",btnContextReset:"Resettare il contesto",contextReset:"Contesto resettato",itemCounter:"{loaded} di {total}",logTab:"Log",treeTab:"Albero",noHistogramData:"No data",noInfoValues:"",noScaleReference:"",mcMenuScale:"Spazio e tempo",mcMenuContext:"Contesto",mcMenuOption:"Optziono",titleOutputFormat:"Download osservazione",askForOuputFormat:"Selezionare un formato",titleChangeScale:"Cambiare scala",askForNewScale:"Seleccionar la nueva escala",resolutionLabel:"Valore della scala",unitLabel:"Unità della scala",clickToEditScale:"Click per modificare",clickToLock:"Click per bloccare la scala",clickToUnlock:"Click per sbloccare la scala",scaleLocked:"{type} scala bloccata",spaceScale:"Spacio",timeScale:"Tempo",labelCm:"Centimetri",labelM:"Metri",labelKm:"Kilometri",labelSpatial:"spaziale",labelTemporal:"temporale",newContext:"Constesto nuovo",previousContexts:"Contesti precedenti",drawCustomContext:"Disegnare contesto",eraseCustomContext:"Eliminare contesto",addToCustomContext:"Aggiungere shape",drawPoint:"Punto",drawLineString:"Linea",drawPolygon:"Poligono",drawCircle:"Cerchio",optionShowAll:"Vedere tutte",optionSaveLocation:"Ricordare posizione",noNodes:"No results: is waiting?",loadShowData:"Caricare e visualizzare dati",interactiveMode:"Modo interattivo",noInputSectionTitle:"Sezione senza titolo",cancelInputRequest:"Cancellare esecuzion",resetInputRequest:"Utilizzare defaults",submitInputRequest:"Inviare",IDLAlertTitle:"Attenzione!",recontextualization:"Settare come contesto",rememberDecision:"Ricordare la mia decisione"},messages:{connectionClosed:"Connessione chiusa",connectionWorking:"Cercando di riconnettere",connectionUnknown:"Inizializzando...",noSpaceAllowedInSearch:"Non è permesso utilizare spazi nella ricerca",noSearchResults:"Non esistono risultati",noActionForObservation:"Nessuna azione disponibile",noTime:"senza informazione di ora",emptyReport:'',noLoadedReport:"Non si è caricato nessun report",copiedToClipboard:"Copiato",customCopyToClipboard:"{what} copiato",changeScaleResolutionError:"La risoluzione deve essere positiva",updateScale:"Attualizata la scala {type}, nuovo valore {resolution} {unit}",invalidGeometry:"Poligono non valido",geolocationWaitingTitle:"Attivare la geolocalizzazione?",geolocationWaitingText:"k.Explorer può detettare la posizione per inizializzare la vista geografica.
Perché questo sia possibile, è necessario autorizzare la geolocalizzazione.
Quest'ultimo è esclusivamente per comodità e non influenza l'operatività.
Your choice will be remembered and can be changed at any time.",geolocationErrorPermissionDenied:"Non si ha autorizzato la geolocalizzazione",geolocationErrorPositionUnavailable:"Posizione non disponibile",geolocationErrorTimeout:"Terminato il tempo di attesa per la geolocalizzazione",geolocationErrorUnknown:"Errore imprevisto",needHelpTitle:"How to use",needHelp0Text:"To use this, you need to know various things:",needHelp1Text:"The first",needHelp2Text:"The second",needHelp3Text:"The last",unknownSearchObservation:"Risultato di osservazioni previe",noLogItems:"Il log è vuoto",uploadComplete:"Upload del file {fileName} completato",IDLAlertText:"La selezione attuale incrocia la IDL. per poterlo fare è necessario disegnare un contesto",lastTermAlertText:"Non sono permessi altri token",parenthesisAlertText:"Paretesi sbilanciate",emptyFreeTextSearch:"Ricerca vuota",fuzzyModeOff:"Ricerca libers disattivata",fuzzyModeOn:"Ricerca libera attivata",youHaveGOT:"Winter is coming"},tooltips:{treePane:"Albero",logPane:"Log",resetContext:"Reset context",interruptTask:"Interrompere processo {taskDescription}",dataViewer:"Vedere dati",reportViewer:"Vedere report",noReportTask:"Report non disponibile,\naspettare",noReportObservation:"Report non disponibile,\nnon ci sono osservazioni",noDataflow:"Dataflow non disponible",dataflowViewer:"Vedere data flow (will be...)",provenanceViewer:"Vedere provenance (will be...)",undock:"Sganciare",copyEncodedShapeToClipboard:"Copia il contesto negli appunti",cancelInputRequest:"Cancellare esecuzion",resetInputRequest:"Utilizzare default",submitInputRequest:"Inviare"},errors:{connectionError:"Errore di connessione",searchTimeout:"Tempo di ricerca terminato",uploadError:"Errore durante l'upload del file {fileName}"},langName:"Italiano"},c={en:i,es:r,it:s},l=n("741d"),u=n("7cca");n.d(t,"b",function(){return E});var d=null;function E(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||null===d){o["a"].use(a["a"]);var t="en";l["a"].has(u["P"].COOKIE_LANG)?(t=l["a"].get(u["P"].COOKIE_LANG),console.debug("Locale set from cookie to ".concat(t))):(l["a"].set(u["P"].COOKIE_LANG,t,{expires:30,path:"/",secure:!0}),console.debug("Lang cookie set to ".concat(t))),d=new a["a"]({locale:t,fallbackLocale:"en",messages:c})}return d}t["a"]=function(e){var t=e.app;t.i18n=E()}},fb1c:function(e,t,n){}},[[0,"runtime","vendor"]]]); \ No newline at end of file diff --git a/klab.engine/src/main/resources/static/ui/js/runtime.2e1713a8.js b/klab.engine/src/main/resources/static/ui/js/runtime.622f96e6.js similarity index 53% rename from klab.engine/src/main/resources/static/ui/js/runtime.2e1713a8.js rename to klab.engine/src/main/resources/static/ui/js/runtime.622f96e6.js index 39481f640..d033b6138 100644 --- a/klab.engine/src/main/resources/static/ui/js/runtime.2e1713a8.js +++ b/klab.engine/src/main/resources/static/ui/js/runtime.622f96e6.js @@ -1 +1 @@ -(function(e){function t(t){for(var n,o,i=t[0],c=t[1],l=t[2],f=0,s=[];f1&&"boolean"!==typeof e)throw new o('"allowMissing" argument must be a boolean');var n=T(t),i=n.length>0?n[0]:"",s=S("%"+i+"%",e),a=s.name,l=s.value,u=!1,h=s.alias;h&&(i=h[0],M(n,b([0,1],h)));for(var d=1,f=!0;d=n.length){var y=c(l,p);f=!!y,l=f&&"get"in y&&!("originalValue"in y.get)?y.get:l[p]}else f=v(l,p),l=l[p];f&&!u&&(_[a]=l)}}return l}},"010e":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["vendor"],{"0040":function(t,e,n){"use strict";var i=function(){};t.exports=function(t){return{filterToEnabled:function(e,n){var r={main:[],facade:[]};return e?"string"===typeof e&&(e=[e]):e=[],t.forEach(function(t){t&&("websocket"!==t.transportName||!1!==n.websocket?e.length&&-1===e.indexOf(t.transportName)?i("not in whitelist",t.transportName):t.enabled(n)?(i("enabled",t.transportName),r.main.push(t),t.facadeTransport&&r.facade.push(t.facadeTransport)):i("disabled",t.transportName):i("disabled from server","websocket"))}),r}}}},"00ce":function(t,e,n){"use strict";var i,r=SyntaxError,s=Function,o=TypeError,a=function(t){try{return s('"use strict"; return ('+t+").constructor;")()}catch(t){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(t){c=null}var l=function(){throw new o},u=c?function(){try{return arguments.callee,l}catch(t){try{return c(arguments,"callee").get}catch(t){return l}}}():l,h=n("5156")(),d=Object.getPrototypeOf||function(t){return t.__proto__},f={},p="undefined"===typeof Uint8Array?i:d(Uint8Array),_={"%AggregateError%":"undefined"===typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":h?d([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"===typeof Atomics?i:Atomics,"%BigInt%":"undefined"===typeof BigInt?i:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":s,"%GeneratorFunction%":f,"%Int8Array%":"undefined"===typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h?d(d([][Symbol.iterator]())):i,"%JSON%":"object"===typeof JSON?JSON:i,"%Map%":"undefined"===typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&h?d((new Map)[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?i:Promise,"%Proxy%":"undefined"===typeof Proxy?i:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&h?d((new Set)[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h?d(""[Symbol.iterator]()):i,"%Symbol%":h?Symbol:i,"%SyntaxError%":r,"%ThrowTypeError%":u,"%TypedArray%":p,"%TypeError%":o,"%Uint8Array%":"undefined"===typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?i:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?i:WeakSet},m=function t(e){var n;if("%AsyncFunction%"===e)n=a("async function () {}");else if("%GeneratorFunction%"===e)n=a("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=a("async function* () {}");else if("%AsyncGenerator%"===e){var i=t("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if("%AsyncIteratorPrototype%"===e){var r=t("%AsyncGenerator%");r&&(n=d(r.prototype))}return _[e]=n,n},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=n("0f7c"),v=n("a0d3"),b=y.call(Function.call,Array.prototype.concat),M=y.call(Function.apply,Array.prototype.splice),w=y.call(Function.call,String.prototype.replace),x=y.call(Function.call,String.prototype.slice),L=y.call(Function.call,RegExp.prototype.exec),E=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,T=/\\(\\)?/g,S=function(t){var e=x(t,0,1),n=x(t,-1);if("%"===e&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new r("invalid intrinsic syntax, expected opening `%`");var i=[];return w(t,E,function(t,e,n,r){i[i.length]=n?w(r,T,"$1"):e||t}),i},O=function(t,e){var n,i=t;if(v(g,i)&&(n=g[i],i="%"+n[0]+"%"),v(_,i)){var s=_[i];if(s===f&&(s=m(i)),"undefined"===typeof s&&!e)throw new o("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:s}}throw new r("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!==typeof t||0===t.length)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof e)throw new o('"allowMissing" argument must be a boolean');if(null===L(/^%?[^%]*%?$/g,t))throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=S(t),i=n.length>0?n[0]:"",s=O("%"+i+"%",e),a=s.name,l=s.value,u=!1,h=s.alias;h&&(i=h[0],M(n,b([0,1],h)));for(var d=1,f=!0;d=n.length){var y=c(l,p);f=!!y,l=f&&"get"in y&&!("originalValue"in y.get)?y.get:l[p]}else f=v(l,p),l=l[p];f&&!u&&(_[a]=l)}}return l}},"010e":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}});return e})},"014b":function(t,e,n){"use strict";var i=n("e53d"),r=n("07e3"),s=n("8e60"),o=n("63b6"),a=n("9138"),c=n("ebfd").KEY,l=n("294c"),u=n("dbdb"),h=n("45f2"),d=n("62a0"),f=n("5168"),p=n("ccb9"),_=n("6718"),m=n("47ee"),g=n("9003"),y=n("e4ae"),v=n("f772"),b=n("241e"),M=n("36c3"),w=n("1bc3"),x=n("aebd"),L=n("a159"),E=n("0395"),T=n("bf0b"),S=n("9aa9"),O=n("d9f6"),k=n("c3a1"),C=T.f,I=O.f,D=E.f,Y=i.Symbol,R=i.JSON,A=R&&R.stringify,N="prototype",P=f("_hidden"),j=f("toPrimitive"),F={}.propertyIsEnumerable,H=u("symbol-registry"),G=u("symbols"),q=u("op-symbols"),z=Object[N],B="function"==typeof Y&&!!S.f,$=i.QObject,W=!$||!$[N]||!$[N].findChild,U=s&&l(function(){return 7!=L(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=C(z,e);i&&delete z[e],I(t,e,n),i&&t!==z&&I(z,e,i)}:I,V=function(t){var e=G[t]=L(Y[N]);return e._k=t,e},X=B&&"symbol"==typeof Y.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof Y},K=function(t,e,n){return t===z&&K(q,e,n),y(t),e=w(e,!0),y(n),r(G,e)?(n.enumerable?(r(t,P)&&t[P][e]&&(t[P][e]=!1),n=L(n,{enumerable:x(0,!1)})):(r(t,P)||I(t,P,x(1,{})),t[P][e]=!0),U(t,e,n)):I(t,e,n)},Z=function(t,e){y(t);var n,i=m(e=M(e)),r=0,s=i.length;while(s>r)K(t,n=i[r++],e[n]);return t},J=function(t,e){return void 0===e?L(t):Z(L(t),e)},Q=function(t){var e=F.call(this,t=w(t,!0));return!(this===z&&r(G,t)&&!r(q,t))&&(!(e||!r(this,t)||!r(G,t)||r(this,P)&&this[P][t])||e)},tt=function(t,e){if(t=M(t),e=w(e,!0),t!==z||!r(G,e)||r(q,e)){var n=C(t,e);return!n||!r(G,e)||r(t,P)&&t[P][e]||(n.enumerable=!0),n}},et=function(t){var e,n=D(M(t)),i=[],s=0;while(n.length>s)r(G,e=n[s++])||e==P||e==c||i.push(e);return i},nt=function(t){var e,n=t===z,i=D(n?q:M(t)),s=[],o=0;while(i.length>o)!r(G,e=i[o++])||n&&!r(z,e)||s.push(G[e]);return s};B||(Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function(n){this===z&&e.call(q,n),r(this,P)&&r(this[P],t)&&(this[P][t]=!1),U(this,t,x(1,n))};return s&&W&&U(z,t,{configurable:!0,set:e}),V(t)},a(Y[N],"toString",function(){return this._k}),T.f=tt,O.f=K,n("6abf").f=E.f=et,n("355d").f=Q,S.f=nt,s&&!n("b8e3")&&a(z,"propertyIsEnumerable",Q,!0),p.f=function(t){return V(f(t))}),o(o.G+o.W+o.F*!B,{Symbol:Y});for(var it="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;it.length>rt;)f(it[rt++]);for(var st=k(f.store),ot=0;st.length>ot;)_(st[ot++]);o(o.S+o.F*!B,"Symbol",{for:function(t){return r(H,t+="")?H[t]:H[t]=Y(t)},keyFor:function(t){if(!X(t))throw TypeError(t+" is not a symbol!");for(var e in H)if(H[e]===t)return e},useSetter:function(){W=!0},useSimple:function(){W=!1}}),o(o.S+o.F*!B,"Object",{create:J,defineProperty:K,defineProperties:Z,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=l(function(){S.f(1)});o(o.S+o.F*at,"Object",{getOwnPropertySymbols:function(t){return S.f(b(t))}}),R&&o(o.S+o.F*(!B||l(function(){var t=Y();return"[null]"!=A([t])||"{}"!=A({a:t})||"{}"!=A(Object(t))})),"JSON",{stringify:function(t){var e,n,i=[t],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=e=i[1],(v(e)||void 0!==t)&&!X(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!X(e))return e}),i[1]=e,A.apply(R,i)}}),Y[N][j]||n("35e8")(Y[N],j,Y[N].valueOf),h(Y,"Symbol"),h(Math,"Math",!0),h(i.JSON,"JSON",!0)},"01ae":function(t,e,n){"use strict";var i=n("138e"),r=n("c191"),s=n("7c92"),o=n("7c01"),a=n("70d5"),c=n("cb24");class l{constructor(){l.constructor_.apply(this,arguments)}static constructor_(){this._isMarked=!1,this._isVisited=!1,this._data=null}static getComponentWithVisitedState(t,e){while(t.hasNext()){const n=t.next();if(n.isVisited()===e)return n}return null}static setVisited(t,e){while(t.hasNext()){const n=t.next();n.setVisited(e)}}static setMarked(t,e){while(t.hasNext()){const n=t.next();n.setMarked(e)}}setVisited(t){this._isVisited=t}isMarked(){return this._isMarked}setData(t){this._data=t}getData(){return this._data}setMarked(t){this._isMarked=t}getContext(){return this._data}isVisited(){return this._isVisited}setContext(t){this._data=t}}class u extends l{constructor(){super(),u.constructor_.apply(this,arguments)}static constructor_(){if(this._parentEdge=null,this._from=null,this._to=null,this._p0=null,this._p1=null,this._sym=null,this._edgeDirection=null,this._quadrant=null,this._angle=null,0===arguments.length);else if(4===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];this._from=t,this._to=e,this._edgeDirection=i,this._p0=t.getCoordinate(),this._p1=n;const r=this._p1.x-this._p0.x,s=this._p1.y-this._p0.y;this._quadrant=c["a"].quadrant(r,s),this._angle=Math.atan2(s,r)}}static toEdges(t){const e=new a["a"];for(let n=t.iterator();n.hasNext();)e.add(n.next()._parentEdge);return e}isRemoved(){return null===this._parentEdge}compareDirection(t){return this._quadrant>t._quadrant?1:this._quadrant=this.size())throw new _["a"];return this.array[t]}push(t){return this.array.push(t),t}pop(){if(0===this.array.length)throw new p;return this.array.pop()}peek(){if(0===this.array.length)throw new p;return this.array[this.array.length-1]}empty(){return 0===this.array.length}isEmpty(){return this.empty()}search(t){return this.array.indexOf(t)}size(){return this.array.length}toArray(){return this.array.slice()}}var y=n("7d15");class v extends l{constructor(){super(),v.constructor_.apply(this,arguments)}static constructor_(){if(this._dirEdge=null,0===arguments.length);else if(2===arguments.length){const t=arguments[0],e=arguments[1];this.setDirectedEdges(t,e)}}isRemoved(){return null===this._dirEdge}setDirectedEdges(t,e){this._dirEdge=[t,e],t.setEdge(this),e.setEdge(this),t.setSym(e),e.setSym(t),t.getFromNode().addOutEdge(t),e.getFromNode().addOutEdge(e)}getDirEdge(){if(Number.isInteger(arguments[0])){const t=arguments[0];return this._dirEdge[t]}if(arguments[0]instanceof M){const t=arguments[0];return this._dirEdge[0].getFromNode()===t?this._dirEdge[0]:this._dirEdge[1].getFromNode()===t?this._dirEdge[1]:null}}remove(){this._dirEdge=null}getOppositeNode(t){return this._dirEdge[0].getFromNode()===t?this._dirEdge[0].getToNode():this._dirEdge[1].getFromNode()===t?this._dirEdge[1].getToNode():null}}class b{constructor(){b.constructor_.apply(this,arguments)}static constructor_(){this._outEdges=new a["a"],this._sorted=!1}getNextEdge(t){const e=this.getIndex(t);return this._outEdges.get(this.getIndex(e+1))}getCoordinate(){const t=this.iterator();if(!t.hasNext())return null;const e=t.next();return e.getCoordinate()}iterator(){return this.sortEdges(),this._outEdges.iterator()}sortEdges(){this._sorted||(y["a"].sort(this._outEdges),this._sorted=!0)}remove(t){this._outEdges.remove(t)}getEdges(){return this.sortEdges(),this._outEdges}getNextCWEdge(t){const e=this.getIndex(t);return this._outEdges.get(this.getIndex(e-1))}getIndex(){if(arguments[0]instanceof v){const t=arguments[0];this.sortEdges();for(let e=0;e=0;i--)n.add(t[i],!1)}static findEdgeRingContaining(t,e){const n=t.getRing(),i=n.getEnvelopeInternal();let r=n.getCoordinateN(0),s=null,o=null;for(let a=e.iterator();a.hasNext();){const t=a.next(),e=t.getRing(),c=e.getEnvelopeInternal();if(c.equals(i))continue;if(!c.contains(i))continue;r=C["a"].ptNotInList(n.getCoordinates(),t.getCoordinates());const l=t.isInRing(r);l&&(null===s||o.contains(c))&&(s=t,o=s.getRing().getEnvelopeInternal())}return s}isIncluded(){return this._isIncluded}getCoordinates(){if(null===this._ringPts){const t=new L["a"];for(let e=this._deList.iterator();e.hasNext();){const n=e.next(),i=n.getEdge();R.addEdge(i.getLine().getCoordinates(),n.getEdgeDirection(),t)}this._ringPts=t.toCoordinateArray()}return this._ringPts}isIncludedSet(){return this._isIncludedSet}isValid(){return this.getCoordinates(),!(this._ringPts.length<=3)&&(this.getRing(),S["a"].isValid(this._ring))}build(t){let e=t;do{this.add(e),e.setRing(this),e=e.getNext(),Y["a"].isTrue(null!==e,"found null DE in ring"),Y["a"].isTrue(e===t||!e.isInRing(),"found DE already in ring")}while(e!==t)}isInRing(t){return x["a"].EXTERIOR!==this.getLocator().locate(t)}isOuterHole(){return!!this._isHole&&!this.hasShell()}getPolygon(){let t=null;if(null!==this._holes){t=new Array(this._holes.size()).fill(null);for(let e=0;e=0)continue;e.add(t);const r=R.findDirEdgesInRing(t);F.label(r,n),n++}return e}static getDegreeNonDeleted(t){const e=t.getOutEdges().getEdges();let n=0;for(let i=e.iterator();i.hasNext();){const t=i.next();t.isMarked()||n++}return n}static deleteAllEdges(t){const e=t.getOutEdges().getEdges();for(let n=e.iterator();n.hasNext();){const t=n.next();t.setMarked(!0);const e=t.getSym();null!==e&&e.setMarked(!0)}}static label(t,e){for(let n=t.iterator();n.hasNext();){const t=n.next();t.setLabel(e)}}static computeNextCWEdges(t){const e=t.getOutEdges();let n=null,i=null;for(let r=e.getEdges().iterator();r.hasNext();){const t=r.next();if(!t.isMarked()){if(null===n&&(n=t),null!==i){const e=i.getSym();e.setNext(t)}i=t}}if(null!==i){const t=i.getSym();t.setNext(n)}}static computeNextCCWEdges(t,e){const n=t.getOutEdges();let i=null,r=null;const s=n.getEdges();for(let o=s.size()-1;o>=0;o--){const t=s.get(o),n=t.getSym();let a=null;t.getLabel()===e&&(a=t);let c=null;n.getLabel()===e&&(c=n),null===a&&null===c||(null!==c&&(r=c),null!==a&&(null!==r&&(r.setNext(a),r=null),null===i&&(i=a)))}null!==r&&(Y["a"].isTrue(null!==i),r.setNext(i))}static getDegree(t,e){const n=t.getOutEdges().getEdges();let i=0;for(let r=n.iterator();r.hasNext();){const t=r.next();t.getLabel()===e&&i++}return i}static findIntersectionNodes(t,e){let n=t,i=null;do{const r=n.getFromNode();F.getDegree(r,e)>1&&(null===i&&(i=new a["a"]),i.add(r)),n=n.getNext(),Y["a"].isTrue(null!==n,"found null DE in ring"),Y["a"].isTrue(n===t||!n.isInRing(),"found DE already in ring")}while(n!==t);return i}findEdgeRing(t){const e=new R(this._factory);return e.build(t),e}computeDepthParity(){if(0===arguments.length)while(1){const t=null;if(null===t)return null;this.computeDepthParity(t)}else if(1===arguments.length){arguments[0]}}computeNextCWEdges(){for(let t=this.nodeIterator();t.hasNext();){const e=t.next();F.computeNextCWEdges(e)}}addEdge(t){if(t.isEmpty())return null;const e=C["a"].removeRepeatedPoints(t.getCoordinates());if(e.length<2)return null;const n=e[0],i=e[e.length-1],r=this.getNode(n),s=this.getNode(i),o=new h(r,s,e[1],!0),a=new h(s,r,e[e.length-2],!1),c=new w(t);c.setDirectedEdges(o,a),this.add(c)}deleteCutEdges(){this.computeNextCWEdges(),F.findLabeledEdgeRings(this._dirEdges);const t=new a["a"];for(let e=this._dirEdges.iterator();e.hasNext();){const n=e.next();if(n.isMarked())continue;const i=n.getSym();if(n.getLabel()===i.getLabel()){n.setMarked(!0),i.setMarked(!0);const e=n.getEdge();t.add(e.getLine())}}return t}getEdgeRings(){this.computeNextCWEdges(),F.label(this._dirEdges,-1);const t=F.findLabeledEdgeRings(this._dirEdges);this.convertMaximalToMinimalEdgeRings(t);const e=new a["a"];for(let n=this._dirEdges.iterator();n.hasNext();){const t=n.next();if(t.isMarked())continue;if(t.isInRing())continue;const i=this.findEdgeRing(t);e.add(i)}return e}getNode(t){let e=this.findNode(t);return null===e&&(e=new M(t),this.add(e)),e}convertMaximalToMinimalEdgeRings(t){for(let e=t.iterator();e.hasNext();){const t=e.next(),n=t.getLabel(),i=F.findIntersectionNodes(t,n);if(null!==i)for(let e=i.iterator();e.hasNext();){const t=e.next();F.computeNextCCWEdges(t,n)}}}deleteDangles(){const t=this.findNodesOfDegree(1),e=new d["a"],n=new g;for(let i=t.iterator();i.hasNext();)n.push(i.next());while(!n.isEmpty()){const t=n.pop();F.deleteAllEdges(t);const i=t.getOutEdges().getEdges();for(let r=i.iterator();r.hasNext();){const t=r.next();t.setMarked(!0);const i=t.getSym();null!==i&&i.setMarked(!0);const s=t.getEdge();e.add(s.getLine());const o=t.getToNode();1===F.getDegreeNonDeleted(o)&&n.push(o)}}return e}}var H=n("38de"),G=n("cd4a"),q=n("c6a3"),z=n("12dd"),B=n("c8c7");class ${constructor(){$.constructor_.apply(this,arguments)}static constructor_(){this._shells=null,this._shellIndex=null;const t=arguments[0];this._shells=t,this.buildIndex()}static assignHolesToShells(t,e){const n=new $(e);n.assignHolesToShells(t)}assignHolesToShells(t){for(let e=t.iterator();e.hasNext();){const t=e.next();this.assignHoleToShell(t)}}buildIndex(){this._shellIndex=new B["a"];for(const t of this._shells)this._shellIndex.insert(t.getRing().getEnvelopeInternal(),t)}queryOverlappingShells(t){return this._shellIndex.query(t)}findShellContaining(t){const e=t.getRing().getEnvelopeInternal(),n=this.queryOverlappingShells(e);return R.findEdgeRingContaining(t,n)}assignHoleToShell(t){const e=this.findShellContaining(t);null!==e&&e.addHole(t)}}n.d(e,"a",function(){return W});class W{constructor(){W.constructor_.apply(this,arguments)}static constructor_(){if(this._lineStringAdder=new U(this),this._graph=null,this._dangles=new a["a"],this._cutEdges=new a["a"],this._invalidRingLines=new a["a"],this._holeList=null,this._shellList=null,this._polyList=null,this._isCheckingRingsValid=!0,this._extractOnlyPolygonal=null,this._geomFactory=null,0===arguments.length)W.constructor_.call(this,!1);else if(1===arguments.length){const t=arguments[0];this._extractOnlyPolygonal=t}}static extractPolygons(t,e){const n=new a["a"];for(let i=t.iterator();i.hasNext();){const t=i.next();(e||t.isIncluded())&&n.add(t.getPolygon())}return n}static findOuterShells(t){for(let e=t.iterator();e.hasNext();){const t=e.next(),n=t.getOuterHole();null===n||n.isProcessed()||(t.setIncluded(!0),n.setProcessed(!0))}}static findDisjointShells(t){W.findOuterShells(t);let e=null;do{e=!1;for(let n=t.iterator();n.hasNext();){const t=n.next();t.isIncludedSet()||(t.updateIncluded(),t.isIncludedSet()||(e=!0))}}while(e)}getGeometry(){return null===this._geomFactory&&(this._geomFactory=new G["a"]),this.polygonize(),this._extractOnlyPolygonal?this._geomFactory.buildGeometry(this._polyList):this._geomFactory.createGeometryCollection(G["a"].toGeometryArray(this._polyList))}getInvalidRingLines(){return this.polygonize(),this._invalidRingLines}findValidRings(t,e,n){for(let i=t.iterator();i.hasNext();){const t=i.next();t.isValid()?e.add(t):n.add(t.getLineString())}}polygonize(){if(null!==this._polyList)return null;if(this._polyList=new a["a"],null===this._graph)return null;this._dangles=this._graph.deleteDangles(),this._cutEdges=this._graph.deleteCutEdges();const t=this._graph.getEdgeRings();let e=new a["a"];this._invalidRingLines=new a["a"],this._isCheckingRingsValid?this.findValidRings(t,e,this._invalidRingLines):e=t,this.findShellsAndHoles(e),$.assignHolesToShells(this._holeList,this._shellList),y["a"].sort(this._shellList,new R.EnvelopeComparator);let n=!0;this._extractOnlyPolygonal&&(W.findDisjointShells(this._shellList),n=!1),this._polyList=W.extractPolygons(this._shellList,n)}getDangles(){return this.polygonize(),this._dangles}getCutEdges(){return this.polygonize(),this._cutEdges}getPolygons(){return this.polygonize(),this._polyList}add(){if(Object(H["a"])(arguments[0],q["a"])){const t=arguments[0];for(let e=t.iterator();e.hasNext();){const t=e.next();this.add(t)}}else if(arguments[0]instanceof i["a"]){const t=arguments[0];this._geomFactory=t.getFactory(),null===this._graph&&(this._graph=new F(this._geomFactory)),this._graph.addEdge(t)}else if(arguments[0]instanceof r["a"]){const t=arguments[0];t.apply(this._lineStringAdder)}}setCheckRingsValid(t){this._isCheckingRingsValid=t}findShellsAndHoles(t){this._holeList=new a["a"],this._shellList=new a["a"];for(let e=t.iterator();e.hasNext();){const t=e.next();t.computeHole(),t.isHole()?this._holeList.add(t):this._shellList.add(t)}}}class U{constructor(){U.constructor_.apply(this,arguments)}static constructor_(){this.p=null;const t=arguments[0];this.p=t}filter(t){t instanceof i["a"]&&this.p.add(t)}get interfaces_(){return[z["a"]]}}W.LineStringAdder=U},"01d4":function(t,e,n){"use strict";e["a"]={CHANGE:"change",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",ERROR:"error",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",MOUSEDOWN:"mousedown",MOUSEMOVE:"mousemove",MOUSEOUT:"mouseout",MOUSEUP:"mouseup",MOUSEWHEEL:"mousewheel",MSPOINTERDOWN:"MSPointerDown",RESIZE:"resize",TOUCHSTART:"touchstart",TOUCHMOVE:"touchmove",TOUCHEND:"touchend",WHEEL:"wheel"}},"01f9":function(t,e,n){"use strict";var i=n("2d00"),r=n("5ca1"),s=n("2aba"),o=n("32e9"),a=n("84f2"),c=n("41a0"),l=n("7f20"),u=n("38fd"),h=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",_="values",m=function(){return this};t.exports=function(t,e,n,g,y,v,b){c(n,e,g);var M,w,x,L=function(t){if(!d&&t in O)return O[t];switch(t){case p:return function(){return new n(this,t)};case _:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",T=y==_,S=!1,O=t.prototype,k=O[h]||O[f]||y&&O[y],C=k||L(y),I=y?T?L("entries"):C:void 0,D="Array"==e&&O.entries||k;if(D&&(x=u(D.call(new t)),x!==Object.prototype&&x.next&&(l(x,E,!0),i||"function"==typeof x[h]||o(x,h,m))),T&&k&&k.name!==_&&(S=!0,C=function(){return k.call(this)}),i&&!b||!d&&!S&&O[h]||o(O,h,C),a[e]=C,a[E]=m,y)if(M={values:T?C:L(_),keys:v?C:L(p),entries:I},b)for(w in M)w in O||s(O,w,M[w]);else r(r.P+r.F*(d||S),e,M);return M}},"02f4":function(t,e,n){var i=n("4588"),r=n("be13");t.exports=function(t){return function(e,n){var s,o,a=String(r(e)),c=i(n),l=a.length;return c<0||c>=l?t?"":void 0:(s=a.charCodeAt(c),s<55296||s>56319||c+1===l||(o=a.charCodeAt(c+1))<56320||o>57343?t?a.charAt(c):s:t?a.slice(c,c+2):o-56320+(s-55296<<10)+65536)}}},"02fb":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +var e=t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}});return e})},"014b":function(t,e,n){"use strict";var i=n("e53d"),r=n("07e3"),s=n("8e60"),o=n("63b6"),a=n("9138"),c=n("ebfd").KEY,l=n("294c"),u=n("dbdb"),h=n("45f2"),d=n("62a0"),f=n("5168"),p=n("ccb9"),_=n("6718"),m=n("47ee"),g=n("9003"),y=n("e4ae"),v=n("f772"),b=n("241e"),M=n("36c3"),w=n("1bc3"),x=n("aebd"),L=n("a159"),E=n("0395"),T=n("bf0b"),S=n("9aa9"),O=n("d9f6"),k=n("c3a1"),C=T.f,I=O.f,D=E.f,Y=i.Symbol,R=i.JSON,N=R&&R.stringify,A="prototype",P=f("_hidden"),j=f("toPrimitive"),F={}.propertyIsEnumerable,H=u("symbol-registry"),G=u("symbols"),q=u("op-symbols"),z=Object[A],B="function"==typeof Y&&!!S.f,$=i.QObject,W=!$||!$[A]||!$[A].findChild,U=s&&l(function(){return 7!=L(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=C(z,e);i&&delete z[e],I(t,e,n),i&&t!==z&&I(z,e,i)}:I,V=function(t){var e=G[t]=L(Y[A]);return e._k=t,e},X=B&&"symbol"==typeof Y.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof Y},K=function(t,e,n){return t===z&&K(q,e,n),y(t),e=w(e,!0),y(n),r(G,e)?(n.enumerable?(r(t,P)&&t[P][e]&&(t[P][e]=!1),n=L(n,{enumerable:x(0,!1)})):(r(t,P)||I(t,P,x(1,{})),t[P][e]=!0),U(t,e,n)):I(t,e,n)},Z=function(t,e){y(t);var n,i=m(e=M(e)),r=0,s=i.length;while(s>r)K(t,n=i[r++],e[n]);return t},J=function(t,e){return void 0===e?L(t):Z(L(t),e)},Q=function(t){var e=F.call(this,t=w(t,!0));return!(this===z&&r(G,t)&&!r(q,t))&&(!(e||!r(this,t)||!r(G,t)||r(this,P)&&this[P][t])||e)},tt=function(t,e){if(t=M(t),e=w(e,!0),t!==z||!r(G,e)||r(q,e)){var n=C(t,e);return!n||!r(G,e)||r(t,P)&&t[P][e]||(n.enumerable=!0),n}},et=function(t){var e,n=D(M(t)),i=[],s=0;while(n.length>s)r(G,e=n[s++])||e==P||e==c||i.push(e);return i},nt=function(t){var e,n=t===z,i=D(n?q:M(t)),s=[],o=0;while(i.length>o)!r(G,e=i[o++])||n&&!r(z,e)||s.push(G[e]);return s};B||(Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function(n){this===z&&e.call(q,n),r(this,P)&&r(this[P],t)&&(this[P][t]=!1),U(this,t,x(1,n))};return s&&W&&U(z,t,{configurable:!0,set:e}),V(t)},a(Y[A],"toString",function(){return this._k}),T.f=tt,O.f=K,n("6abf").f=E.f=et,n("355d").f=Q,S.f=nt,s&&!n("b8e3")&&a(z,"propertyIsEnumerable",Q,!0),p.f=function(t){return V(f(t))}),o(o.G+o.W+o.F*!B,{Symbol:Y});for(var it="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;it.length>rt;)f(it[rt++]);for(var st=k(f.store),ot=0;st.length>ot;)_(st[ot++]);o(o.S+o.F*!B,"Symbol",{for:function(t){return r(H,t+="")?H[t]:H[t]=Y(t)},keyFor:function(t){if(!X(t))throw TypeError(t+" is not a symbol!");for(var e in H)if(H[e]===t)return e},useSetter:function(){W=!0},useSimple:function(){W=!1}}),o(o.S+o.F*!B,"Object",{create:J,defineProperty:K,defineProperties:Z,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=l(function(){S.f(1)});o(o.S+o.F*at,"Object",{getOwnPropertySymbols:function(t){return S.f(b(t))}}),R&&o(o.S+o.F*(!B||l(function(){var t=Y();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))})),"JSON",{stringify:function(t){var e,n,i=[t],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=e=i[1],(v(e)||void 0!==t)&&!X(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!X(e))return e}),i[1]=e,N.apply(R,i)}}),Y[A][j]||n("35e8")(Y[A],j,Y[A].valueOf),h(Y,"Symbol"),h(Math,"Math",!0),h(i.JSON,"JSON",!0)},"01ae":function(t,e,n){"use strict";var i=n("138e"),r=n("c191"),s=n("7c92"),o=n("7c01"),a=n("70d5"),c=n("cb24");class l{constructor(){l.constructor_.apply(this,arguments)}static constructor_(){this._isMarked=!1,this._isVisited=!1,this._data=null}static getComponentWithVisitedState(t,e){while(t.hasNext()){const n=t.next();if(n.isVisited()===e)return n}return null}static setVisited(t,e){while(t.hasNext()){const n=t.next();n.setVisited(e)}}static setMarked(t,e){while(t.hasNext()){const n=t.next();n.setMarked(e)}}setVisited(t){this._isVisited=t}isMarked(){return this._isMarked}setData(t){this._data=t}getData(){return this._data}setMarked(t){this._isMarked=t}getContext(){return this._data}isVisited(){return this._isVisited}setContext(t){this._data=t}}class u extends l{constructor(){super(),u.constructor_.apply(this,arguments)}static constructor_(){if(this._parentEdge=null,this._from=null,this._to=null,this._p0=null,this._p1=null,this._sym=null,this._edgeDirection=null,this._quadrant=null,this._angle=null,0===arguments.length);else if(4===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];this._from=t,this._to=e,this._edgeDirection=i,this._p0=t.getCoordinate(),this._p1=n;const r=this._p1.x-this._p0.x,s=this._p1.y-this._p0.y;this._quadrant=c["a"].quadrant(r,s),this._angle=Math.atan2(s,r)}}static toEdges(t){const e=new a["a"];for(let n=t.iterator();n.hasNext();)e.add(n.next()._parentEdge);return e}isRemoved(){return null===this._parentEdge}compareDirection(t){return this._quadrant>t._quadrant?1:this._quadrant=this.size())throw new _["a"];return this.array[t]}push(t){return this.array.push(t),t}pop(){if(0===this.array.length)throw new p;return this.array.pop()}peek(){if(0===this.array.length)throw new p;return this.array[this.array.length-1]}empty(){return 0===this.array.length}isEmpty(){return this.empty()}search(t){return this.array.indexOf(t)}size(){return this.array.length}toArray(){return this.array.slice()}}var y=n("7d15");class v extends l{constructor(){super(),v.constructor_.apply(this,arguments)}static constructor_(){if(this._dirEdge=null,0===arguments.length);else if(2===arguments.length){const t=arguments[0],e=arguments[1];this.setDirectedEdges(t,e)}}isRemoved(){return null===this._dirEdge}setDirectedEdges(t,e){this._dirEdge=[t,e],t.setEdge(this),e.setEdge(this),t.setSym(e),e.setSym(t),t.getFromNode().addOutEdge(t),e.getFromNode().addOutEdge(e)}getDirEdge(){if(Number.isInteger(arguments[0])){const t=arguments[0];return this._dirEdge[t]}if(arguments[0]instanceof M){const t=arguments[0];return this._dirEdge[0].getFromNode()===t?this._dirEdge[0]:this._dirEdge[1].getFromNode()===t?this._dirEdge[1]:null}}remove(){this._dirEdge=null}getOppositeNode(t){return this._dirEdge[0].getFromNode()===t?this._dirEdge[0].getToNode():this._dirEdge[1].getFromNode()===t?this._dirEdge[1].getToNode():null}}class b{constructor(){b.constructor_.apply(this,arguments)}static constructor_(){this._outEdges=new a["a"],this._sorted=!1}getNextEdge(t){const e=this.getIndex(t);return this._outEdges.get(this.getIndex(e+1))}getCoordinate(){const t=this.iterator();if(!t.hasNext())return null;const e=t.next();return e.getCoordinate()}iterator(){return this.sortEdges(),this._outEdges.iterator()}sortEdges(){this._sorted||(y["a"].sort(this._outEdges),this._sorted=!0)}remove(t){this._outEdges.remove(t)}getEdges(){return this.sortEdges(),this._outEdges}getNextCWEdge(t){const e=this.getIndex(t);return this._outEdges.get(this.getIndex(e-1))}getIndex(){if(arguments[0]instanceof v){const t=arguments[0];this.sortEdges();for(let e=0;e=0;i--)n.add(t[i],!1)}static findEdgeRingContaining(t,e){const n=t.getRing(),i=n.getEnvelopeInternal();let r=n.getCoordinateN(0),s=null,o=null;for(let a=e.iterator();a.hasNext();){const t=a.next(),e=t.getRing(),c=e.getEnvelopeInternal();if(c.equals(i))continue;if(!c.contains(i))continue;r=C["a"].ptNotInList(n.getCoordinates(),t.getCoordinates());const l=t.isInRing(r);l&&(null===s||o.contains(c))&&(s=t,o=s.getRing().getEnvelopeInternal())}return s}isIncluded(){return this._isIncluded}getCoordinates(){if(null===this._ringPts){const t=new L["a"];for(let e=this._deList.iterator();e.hasNext();){const n=e.next(),i=n.getEdge();R.addEdge(i.getLine().getCoordinates(),n.getEdgeDirection(),t)}this._ringPts=t.toCoordinateArray()}return this._ringPts}isIncludedSet(){return this._isIncludedSet}isValid(){return this.getCoordinates(),!(this._ringPts.length<=3)&&(this.getRing(),S["a"].isValid(this._ring))}build(t){let e=t;do{this.add(e),e.setRing(this),e=e.getNext(),Y["a"].isTrue(null!==e,"found null DE in ring"),Y["a"].isTrue(e===t||!e.isInRing(),"found DE already in ring")}while(e!==t)}isInRing(t){return x["a"].EXTERIOR!==this.getLocator().locate(t)}isOuterHole(){return!!this._isHole&&!this.hasShell()}getPolygon(){let t=null;if(null!==this._holes){t=new Array(this._holes.size()).fill(null);for(let e=0;e=0)continue;e.add(t);const r=R.findDirEdgesInRing(t);F.label(r,n),n++}return e}static getDegreeNonDeleted(t){const e=t.getOutEdges().getEdges();let n=0;for(let i=e.iterator();i.hasNext();){const t=i.next();t.isMarked()||n++}return n}static deleteAllEdges(t){const e=t.getOutEdges().getEdges();for(let n=e.iterator();n.hasNext();){const t=n.next();t.setMarked(!0);const e=t.getSym();null!==e&&e.setMarked(!0)}}static label(t,e){for(let n=t.iterator();n.hasNext();){const t=n.next();t.setLabel(e)}}static computeNextCWEdges(t){const e=t.getOutEdges();let n=null,i=null;for(let r=e.getEdges().iterator();r.hasNext();){const t=r.next();if(!t.isMarked()){if(null===n&&(n=t),null!==i){const e=i.getSym();e.setNext(t)}i=t}}if(null!==i){const t=i.getSym();t.setNext(n)}}static computeNextCCWEdges(t,e){const n=t.getOutEdges();let i=null,r=null;const s=n.getEdges();for(let o=s.size()-1;o>=0;o--){const t=s.get(o),n=t.getSym();let a=null;t.getLabel()===e&&(a=t);let c=null;n.getLabel()===e&&(c=n),null===a&&null===c||(null!==c&&(r=c),null!==a&&(null!==r&&(r.setNext(a),r=null),null===i&&(i=a)))}null!==r&&(Y["a"].isTrue(null!==i),r.setNext(i))}static getDegree(t,e){const n=t.getOutEdges().getEdges();let i=0;for(let r=n.iterator();r.hasNext();){const t=r.next();t.getLabel()===e&&i++}return i}static findIntersectionNodes(t,e){let n=t,i=null;do{const r=n.getFromNode();F.getDegree(r,e)>1&&(null===i&&(i=new a["a"]),i.add(r)),n=n.getNext(),Y["a"].isTrue(null!==n,"found null DE in ring"),Y["a"].isTrue(n===t||!n.isInRing(),"found DE already in ring")}while(n!==t);return i}findEdgeRing(t){const e=new R(this._factory);return e.build(t),e}computeDepthParity(){if(0===arguments.length)while(1){const t=null;if(null===t)return null;this.computeDepthParity(t)}else if(1===arguments.length){arguments[0]}}computeNextCWEdges(){for(let t=this.nodeIterator();t.hasNext();){const e=t.next();F.computeNextCWEdges(e)}}addEdge(t){if(t.isEmpty())return null;const e=C["a"].removeRepeatedPoints(t.getCoordinates());if(e.length<2)return null;const n=e[0],i=e[e.length-1],r=this.getNode(n),s=this.getNode(i),o=new h(r,s,e[1],!0),a=new h(s,r,e[e.length-2],!1),c=new w(t);c.setDirectedEdges(o,a),this.add(c)}deleteCutEdges(){this.computeNextCWEdges(),F.findLabeledEdgeRings(this._dirEdges);const t=new a["a"];for(let e=this._dirEdges.iterator();e.hasNext();){const n=e.next();if(n.isMarked())continue;const i=n.getSym();if(n.getLabel()===i.getLabel()){n.setMarked(!0),i.setMarked(!0);const e=n.getEdge();t.add(e.getLine())}}return t}getEdgeRings(){this.computeNextCWEdges(),F.label(this._dirEdges,-1);const t=F.findLabeledEdgeRings(this._dirEdges);this.convertMaximalToMinimalEdgeRings(t);const e=new a["a"];for(let n=this._dirEdges.iterator();n.hasNext();){const t=n.next();if(t.isMarked())continue;if(t.isInRing())continue;const i=this.findEdgeRing(t);e.add(i)}return e}getNode(t){let e=this.findNode(t);return null===e&&(e=new M(t),this.add(e)),e}convertMaximalToMinimalEdgeRings(t){for(let e=t.iterator();e.hasNext();){const t=e.next(),n=t.getLabel(),i=F.findIntersectionNodes(t,n);if(null!==i)for(let e=i.iterator();e.hasNext();){const t=e.next();F.computeNextCCWEdges(t,n)}}}deleteDangles(){const t=this.findNodesOfDegree(1),e=new d["a"],n=new g;for(let i=t.iterator();i.hasNext();)n.push(i.next());while(!n.isEmpty()){const t=n.pop();F.deleteAllEdges(t);const i=t.getOutEdges().getEdges();for(let r=i.iterator();r.hasNext();){const t=r.next();t.setMarked(!0);const i=t.getSym();null!==i&&i.setMarked(!0);const s=t.getEdge();e.add(s.getLine());const o=t.getToNode();1===F.getDegreeNonDeleted(o)&&n.push(o)}}return e}}var H=n("38de"),G=n("cd4a"),q=n("c6a3"),z=n("12dd"),B=n("c8c7");class ${constructor(){$.constructor_.apply(this,arguments)}static constructor_(){this._shells=null,this._shellIndex=null;const t=arguments[0];this._shells=t,this.buildIndex()}static assignHolesToShells(t,e){const n=new $(e);n.assignHolesToShells(t)}assignHolesToShells(t){for(let e=t.iterator();e.hasNext();){const t=e.next();this.assignHoleToShell(t)}}buildIndex(){this._shellIndex=new B["a"];for(const t of this._shells)this._shellIndex.insert(t.getRing().getEnvelopeInternal(),t)}queryOverlappingShells(t){return this._shellIndex.query(t)}findShellContaining(t){const e=t.getRing().getEnvelopeInternal(),n=this.queryOverlappingShells(e);return R.findEdgeRingContaining(t,n)}assignHoleToShell(t){const e=this.findShellContaining(t);null!==e&&e.addHole(t)}}n.d(e,"a",function(){return W});class W{constructor(){W.constructor_.apply(this,arguments)}static constructor_(){if(this._lineStringAdder=new U(this),this._graph=null,this._dangles=new a["a"],this._cutEdges=new a["a"],this._invalidRingLines=new a["a"],this._holeList=null,this._shellList=null,this._polyList=null,this._isCheckingRingsValid=!0,this._extractOnlyPolygonal=null,this._geomFactory=null,0===arguments.length)W.constructor_.call(this,!1);else if(1===arguments.length){const t=arguments[0];this._extractOnlyPolygonal=t}}static extractPolygons(t,e){const n=new a["a"];for(let i=t.iterator();i.hasNext();){const t=i.next();(e||t.isIncluded())&&n.add(t.getPolygon())}return n}static findOuterShells(t){for(let e=t.iterator();e.hasNext();){const t=e.next(),n=t.getOuterHole();null===n||n.isProcessed()||(t.setIncluded(!0),n.setProcessed(!0))}}static findDisjointShells(t){W.findOuterShells(t);let e=null;do{e=!1;for(let n=t.iterator();n.hasNext();){const t=n.next();t.isIncludedSet()||(t.updateIncluded(),t.isIncludedSet()||(e=!0))}}while(e)}getGeometry(){return null===this._geomFactory&&(this._geomFactory=new G["a"]),this.polygonize(),this._extractOnlyPolygonal?this._geomFactory.buildGeometry(this._polyList):this._geomFactory.createGeometryCollection(G["a"].toGeometryArray(this._polyList))}getInvalidRingLines(){return this.polygonize(),this._invalidRingLines}findValidRings(t,e,n){for(let i=t.iterator();i.hasNext();){const t=i.next();t.isValid()?e.add(t):n.add(t.getLineString())}}polygonize(){if(null!==this._polyList)return null;if(this._polyList=new a["a"],null===this._graph)return null;this._dangles=this._graph.deleteDangles(),this._cutEdges=this._graph.deleteCutEdges();const t=this._graph.getEdgeRings();let e=new a["a"];this._invalidRingLines=new a["a"],this._isCheckingRingsValid?this.findValidRings(t,e,this._invalidRingLines):e=t,this.findShellsAndHoles(e),$.assignHolesToShells(this._holeList,this._shellList),y["a"].sort(this._shellList,new R.EnvelopeComparator);let n=!0;this._extractOnlyPolygonal&&(W.findDisjointShells(this._shellList),n=!1),this._polyList=W.extractPolygons(this._shellList,n)}getDangles(){return this.polygonize(),this._dangles}getCutEdges(){return this.polygonize(),this._cutEdges}getPolygons(){return this.polygonize(),this._polyList}add(){if(Object(H["a"])(arguments[0],q["a"])){const t=arguments[0];for(let e=t.iterator();e.hasNext();){const t=e.next();this.add(t)}}else if(arguments[0]instanceof i["a"]){const t=arguments[0];this._geomFactory=t.getFactory(),null===this._graph&&(this._graph=new F(this._geomFactory)),this._graph.addEdge(t)}else if(arguments[0]instanceof r["a"]){const t=arguments[0];t.apply(this._lineStringAdder)}}setCheckRingsValid(t){this._isCheckingRingsValid=t}findShellsAndHoles(t){this._holeList=new a["a"],this._shellList=new a["a"];for(let e=t.iterator();e.hasNext();){const t=e.next();t.computeHole(),t.isHole()?this._holeList.add(t):this._shellList.add(t)}}}class U{constructor(){U.constructor_.apply(this,arguments)}static constructor_(){this.p=null;const t=arguments[0];this.p=t}filter(t){t instanceof i["a"]&&this.p.add(t)}get interfaces_(){return[z["a"]]}}W.LineStringAdder=U},"01d4":function(t,e,n){"use strict";e["a"]={CHANGE:"change",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",ERROR:"error",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",MOUSEDOWN:"mousedown",MOUSEMOVE:"mousemove",MOUSEOUT:"mouseout",MOUSEUP:"mouseup",MOUSEWHEEL:"mousewheel",MSPOINTERDOWN:"MSPointerDown",RESIZE:"resize",TOUCHSTART:"touchstart",TOUCHMOVE:"touchmove",TOUCHEND:"touchend",WHEEL:"wheel"}},"01f9":function(t,e,n){"use strict";var i=n("2d00"),r=n("5ca1"),s=n("2aba"),o=n("32e9"),a=n("84f2"),c=n("41a0"),l=n("7f20"),u=n("38fd"),h=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",_="values",m=function(){return this};t.exports=function(t,e,n,g,y,v,b){c(n,e,g);var M,w,x,L=function(t){if(!d&&t in O)return O[t];switch(t){case p:return function(){return new n(this,t)};case _:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",T=y==_,S=!1,O=t.prototype,k=O[h]||O[f]||y&&O[y],C=k||L(y),I=y?T?L("entries"):C:void 0,D="Array"==e&&O.entries||k;if(D&&(x=u(D.call(new t)),x!==Object.prototype&&x.next&&(l(x,E,!0),i||"function"==typeof x[h]||o(x,h,m))),T&&k&&k.name!==_&&(S=!0,C=function(){return k.call(this)}),i&&!b||!d&&!S&&O[h]||o(O,h,C),a[e]=C,a[E]=m,y)if(M={values:T?C:L(_),keys:v?C:L(p),entries:I},b)for(w in M)w in O||s(O,w,M[w]);else r(r.P+r.F*(d||S),e,M);return M}},"02f4":function(t,e,n){var i=n("4588"),r=n("be13");t.exports=function(t){return function(e,n){var s,o,a=String(r(e)),c=i(n),l=a.length;return c<0||c>=l?t?"":void 0:(s=a.charCodeAt(c),s<55296||s>56319||c+1===l||(o=a.charCodeAt(c+1))<56320||o>57343?t?a.charAt(c):s:t?a.slice(c,c+2):o-56320+(s-55296<<10)+65536)}}},"02fb":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാത്രി"===e&&t>=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,n){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}});return e})},"0354":function(t,e,n){"use strict";t.exports=r,t.exports.default=r;var i=n("61ca");function r(t,e){if(!(this instanceof r))return new r(t,e);this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&this._initFormat(e),this.clear()}function s(t,e,n){if(!n)return e.indexOf(t);for(var i=0;i=t.minX&&e.maxY>=t.minY}function g(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function y(t,e,n,r,s){var o,a=[e,n];while(a.length)n=a.pop(),e=a.pop(),n-e<=r||(o=e+Math.ceil((n-e)/r/2)*r,i(t,o,e,n,s),a.push(e,o,o,n))}r.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,n=[],i=this.toBBox;if(!m(t,e))return n;var r,s,o,a,c=[];while(e){for(r=0,s=e.children.length;r=0){if(!(s[e].children.length>this._maxEntries))break;this._split(s,e),e--}this._adjustParentBBoxes(r,s,e)},_split:function(t,e){var n=t[e],i=n.children.length,r=this._minEntries;this._chooseSplitAxis(n,r,i);var s=this._chooseSplitIndex(n,r,i),a=g(n.children.splice(s,n.children.length-s));a.height=n.height,a.leaf=n.leaf,o(n,this.toBBox),o(a,this.toBBox),e?t[e-1].children.push(a):this._splitRoot(n,a)},_splitRoot:function(t,e){this.data=g([t,e]),this.data.height=t.height+1,this.data.leaf=!1,o(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,n){var i,r,s,o,c,l,u,d;for(l=u=1/0,i=e;i<=n-e;i++)r=a(t,0,i,this.toBBox),s=a(t,i,n,this.toBBox),o=p(r,s),c=h(r)+h(s),o=e;r--)s=t.children[r],c(u,t.leaf?o(s):s),h+=d(u);return h},_adjustParentBBoxes:function(t,e,n){for(var i=n;i>=0;i--)c(e[i],t)},_condense:function(t){for(var e,n=t.length-1;n>=0;n--)0===t[n].children.length?n>0?(e=t[n-1].children,e.splice(e.indexOf(t[n]),1)):this.clear():o(t[n],this.toBBox)},_initFormat:function(t){var e=["return a"," - b",";"];this.compareMinX=new Function("a","b",e.join(t[0])),this.compareMinY=new Function("a","b",e.join(t[1])),this.toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}},"0360":function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{static opposite(t){return t===i.LEFT?i.RIGHT:t===i.RIGHT?i.LEFT:t}}i.ON=0,i.LEFT=1,i.RIGHT=2},"0388":function(t,e,n){"use strict";n("551c"),n("f751");var i=n("0952"),r=n("5d8b"),s=n("482e"),o=n("c1f9"),a=n("9fe0"),c=n("b18c");e["a"]={name:"QDialog",props:{value:Boolean,title:String,message:String,prompt:Object,options:Object,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],stackButtons:Boolean,preventClose:Boolean,noBackdropDismiss:Boolean,noEscDismiss:Boolean,noRefocus:Boolean,position:String,color:{type:String,default:"primary"}},render:function(t){var e=this,n=[],r=this.$slots.title||this.title,s=this.$slots.message||this.message;return r&&n.push(t("div",{staticClass:"modal-header"},[r])),s&&n.push(t("div",{staticClass:"modal-body modal-message modal-scroll"},[s])),(this.hasForm||this.$slots.body)&&n.push(t("div",{staticClass:"modal-body modal-scroll"},this.hasForm?this.prompt?this.__getPrompt(t):this.__getOptions(t):[this.$slots.body])),this.$scopedSlots.buttons?n.push(t("div",{staticClass:"modal-buttons",class:this.buttonClass},[this.$scopedSlots.buttons({ok:this.__onOk,cancel:this.__onCancel})])):(this.ok||this.cancel)&&n.push(this.__getButtons(t)),t(i["a"],{ref:"modal",props:{value:this.value,minimized:!0,noBackdropDismiss:this.noBackdropDismiss||this.preventClose,noEscDismiss:this.noEscDismiss||this.preventClose,noRefocus:this.noRefocus,position:this.position},on:{input:function(t){e.$emit("input",t)},show:function(){if(e.$q.platform.is.desktop){var t;if((e.prompt||e.options)&&(t=e.prompt?e.$refs.modal.$el.getElementsByTagName("INPUT"):e.$refs.modal.$el.getElementsByClassName("q-option"),t.length))return t[0].focus(),void e.$emit("show");t=e.$refs.modal.$el.getElementsByClassName("q-btn"),t.length&&t[t.length-1].focus(),e.$emit("show")}else e.$emit("show")},hide:function(){e.$emit("hide")},dismiss:function(){e.$emit("cancel")},"escape-key":function(){e.$emit("escape-key")}}},n)},computed:{hasForm:function(){return this.prompt||this.options},okLabel:function(){return!0===this.ok?this.$q.i18n.label.ok:this.ok},cancelLabel:function(){return!0===this.cancel?this.$q.i18n.label.cancel:this.cancel},buttonClass:function(){return this.stackButtons?"column":"row"},okProps:function(){return Object(this.ok)===this.ok?Object.assign({color:this.color,label:this.$q.i18n.label.ok,noRipple:!0},this.ok):{color:this.color,flat:!0,label:this.okLabel,noRipple:!0}},cancelProps:function(){return Object(this.cancel)===this.cancel?Object.assign({color:this.color,label:this.$q.i18n.label.cancel,noRipple:!0},this.cancel):{color:this.color,flat:!0,label:this.cancelLabel,noRipple:!0}}},methods:{show:function(){return this.$refs.modal.show()},hide:function(){var t=this;return this.$refs.modal?this.$refs.modal.hide().then(function(){return t.hasForm?Object(a["a"])(t.__getData()):void 0}):Promise.resolve()},__getPrompt:function(t){var e=this;return[t(r["a"],{style:"margin-bottom: 10px",props:{value:this.prompt.model,type:this.prompt.type||"text",color:this.color,noPassToggle:!0},on:{input:function(t){e.prompt.model=t},keyup:function(t){13===Object(c["a"])(t)&&e.__onOk()}}})]},__getOptions:function(t){var e=this;return[t(o["a"],{props:{value:this.options.model,type:this.options.type,color:this.color,inline:this.options.inline,options:this.options.items},on:{change:function(t){e.options.model=t}}})]},__getButtons:function(t){var e=[];return this.cancel&&e.push(t(s["a"],{props:this.cancelProps,on:{click:this.__onCancel}})),this.ok&&e.push(t(s["a"],{props:this.okProps,on:{click:this.__onOk}})),t("div",{staticClass:"modal-buttons",class:this.buttonClass},e)},__onOk:function(){var t=this;return this.hide().then(function(e){t.$emit("ok",e)})},__onCancel:function(){var t=this;return this.hide().then(function(){t.$emit("cancel")})},__getData:function(){return this.prompt?this.prompt.model:this.options?this.options.model:void 0}}}},"0390":function(t,e,n){"use strict";var i=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"0395":function(t,e,n){var i=n("36c3"),r=n("6abf").f,s={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return r(t)}catch(t){return o.slice()}};t.exports.f=function(t){return o&&"[object Window]"==s.call(t)?a(t):r(i(t))}},"03d8":function(t,e,n){"use strict";n("84490"),n("c5f6");var i=n("1fe0"),r=n("1528"),s=n("ea22"),o=n("fb40"),a=n("b18c"),c=n("559e");e["a"]={name:"QTooltip",mixins:[o["a"],c["a"]],props:{anchor:{type:String,default:"top middle",validator:s["c"]},self:{type:String,default:"bottom middle",validator:s["c"]},offset:{type:Array,validator:s["a"]},delay:{type:Number,default:0},maxHeight:String,disable:Boolean},watch:{$route:function(){this.hide()}},computed:{anchorOrigin:function(){return Object(s["b"])(this.anchor)},selfOrigin:function(){return Object(s["b"])(this.self)}},methods:{__show:function(){clearTimeout(this.timer),document.body.appendChild(this.$el),this.scrollTarget=Object(r["b"])(this.anchorEl),this.scrollTarget.addEventListener("scroll",this.hide,a["e"].passive),window.addEventListener("resize",this.__debouncedUpdatePosition,a["e"].passive),this.$q.platform.is.mobile&&document.body.addEventListener("click",this.hide,!0),this.__updatePosition(),this.showPromise&&this.showPromiseResolve()},__hide:function(){this.__cleanup(),this.hidePromise&&this.hidePromiseResolve()},__cleanup:function(){clearTimeout(this.timer),this.scrollTarget.removeEventListener("scroll",this.hide,a["e"].passive),window.removeEventListener("resize",this.__debouncedUpdatePosition,a["e"].passive),this.$el.remove(),this.$q.platform.is.mobile&&document.body.removeEventListener("click",this.hide,!0)},__updatePosition:function(){Object(s["d"])({el:this.$el,animate:!0,offset:this.offset,anchorEl:this.anchorEl,anchorOrigin:this.anchorOrigin,selfOrigin:this.selfOrigin,maxHeight:this.maxHeight})},__delayShow:function(){clearTimeout(this.timer),this.timer=setTimeout(this.show,this.delay)},__delayHide:function(){clearTimeout(this.timer),this.hide()}},render:function(t){if(this.canRender)return t("div",{staticClass:"q-tooltip animate-popup"},[t("div",this.$slots.default)])},beforeMount:function(){var t=this;this.__debouncedUpdatePosition=Object(i["a"])(function(){t.__updatePosition()},70)},mounted:function(){var t=this;this.$nextTick(function(){t.$el.offsetHeight,t.anchorEl=t.$el.parentNode,t.anchorEl.removeChild(t.$el),(t.anchorEl.classList.contains("q-popup--skip")||t.anchorEl.classList.contains("no-pointer-events"))&&(t.anchorEl=t.anchorEl.parentNode),t.$q.platform.is.mobile?t.anchorEl.addEventListener("click",t.show):(t.anchorEl.addEventListener("mouseenter",t.__delayShow),t.anchorEl.addEventListener("focus",t.__delayShow),t.anchorEl.addEventListener("mouseleave",t.__delayHide),t.anchorEl.addEventListener("blur",t.__delayHide)),t.value&&t.show()})},beforeDestroy:function(){clearTimeout(this.timer),this.showing&&this.__cleanup(),this.anchorEl&&(this.$q.platform.is.mobile?this.anchorEl.removeEventListener("click",this.show):(this.anchorEl.removeEventListener("mouseenter",this.__delayShow),this.anchorEl.removeEventListener("focus",this.__delayShow),this.anchorEl.removeEventListener("mouseleave",this.__delayHide),this.anchorEl.removeEventListener("blur",this.__delayHide)))}}},"03ec":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration @@ -14,15 +14,15 @@ var e=t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narr //! moment.js locale configuration var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,s=t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return s})},"0a43":function(t,e,n){},"0a49":function(t,e,n){var i=n("9b43"),r=n("626a"),s=n("4bf8"),o=n("9def"),a=n("cd1c");t.exports=function(t,e){var n=1==t,c=2==t,l=3==t,u=4==t,h=6==t,d=5==t||h,f=e||a;return function(e,a,p){for(var _,m,g=s(e),y=r(g),v=i(a,p,3),b=o(y.length),M=0,w=n?f(e,b):c?f(e,0):void 0;b>M;M++)if((d||M in y)&&(_=y[M],m=v(_,M,g),t))if(n)w[M]=m;else if(m)switch(t){case 3:return!0;case 5:return _;case 6:return M;case 2:w.push(_)}else if(u)return!1;return h?-1:l||u?u:w}}},"0a58":function(t,e,n){},"0a75":function(t,e,n){t.exports=n("454f")},"0a84":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return e})},"0a9d":function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return o});var i=n("9f5e"),r=n("25f1");function s(t,e,n,s,o,a,c){for(var l,u,h,d,f,p,_,m=o[a+1],g=[],y=0,v=n.length;yw&&(h=(d+f)/2,Object(r["c"])(t,e,n,s,h,m)&&(M=h,w=x)),d=f}return isNaN(M)&&(M=o[a]),c?(c.push(M,m,w),c):[M,m,w]}function o(t,e,n,i,r){for(var o=[],a=0,c=n.length;ar&&(l|=s["a"].RIGHT),co&&(l|=s["a"].ABOVE),l===s["a"].UNKNOWN&&(l=s["a"].INTERSECTING),l}function _(){return[1/0,1/0,-1/0,-1/0]}function m(t,e,n,i,r){return r?(r[0]=t,r[1]=e,r[2]=n,r[3]=i,r):[t,e,n,i]}function g(t){return m(1/0,1/0,-1/0,-1/0,t)}function y(t,e){var n=t[0],i=t[1];return m(n,i,n,i,e)}function v(t,e){var n=g(e);return L(n,t)}function b(t,e,n,i,r){var s=g(r);return E(s,t,e,n,i)}function M(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function w(t,e){return e[0]t[2]&&(t[2]=e[2]),e[1]t[3]&&(t[3]=e[3]),t}function x(t,e){e[0]t[2]&&(t[2]=e[0]),e[1]t[3]&&(t[3]=e[1])}function L(t,e){for(var n=0,i=e.length;ne[0]?i[0]=t[0]:i[0]=e[0],t[1]>e[1]?i[1]=t[1]:i[1]=e[1],t[2]=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function H(t){return t[2]=l&&a<=h),i||!(o&s["a"].RIGHT)||r&s["a"].RIGHT||(c=g-(m-h)*y,i=c>=u&&c<=d),i||!(o&s["a"].BELOW)||r&s["a"].BELOW||(a=m-(g-u)/y,i=a>=l&&a<=h),i||!(o&s["a"].LEFT)||r&s["a"].LEFT||(c=g-(m-l)*y,i=c>=u&&c<=d)}return i}function B(t,e,n){var i=[t[0],t[1],t[0],t[3],t[2],t[1],t[2],t[3]];e(i,i,2);var r=[i[0],i[2],i[4],i[6]],s=[i[1],i[3],i[5],i[7]];return a(r,s,n)}},"0b2d":function(t,e,n){"use strict";var i=n("01d4");e["a"]={SINGLECLICK:"singleclick",CLICK:i["a"].CLICK,DBLCLICK:i["a"].DBLCLICK,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}},"0ba1":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("38de"),r=n("c6a3"),s=n("ad3f"),o=n("70d5");class a extends o["a"]{constructor(){super(),a.constructor_.apply(this,arguments)}static constructor_(){if(0===arguments.length);else if(1===arguments.length){const t=arguments[0];this.ensureCapacity(t.length),this.add(t,!0)}else if(2===arguments.length){const t=arguments[0],e=arguments[1];this.ensureCapacity(t.length),this.add(t,e)}}getCoordinate(t){return this.get(t)}addAll(){if(2===arguments.length&&"boolean"===typeof arguments[1]&&Object(i["a"])(arguments[0],r["a"])){const t=arguments[0],e=arguments[1];let n=!1;for(let i=t.iterator();i.hasNext();)this.add(i.next(),e),n=!0;return n}return super.addAll.apply(this,arguments)}clone(){const t=super.clone.call(this);for(let e=0;e=1){const e=this.get(this.size()-1);if(e.equals2D(t))return null}super.add.call(this,t)}else if(arguments[0]instanceof Object&&"boolean"===typeof arguments[1]){const t=arguments[0],e=arguments[1];return this.add(t,e),!0}}else if(3===arguments.length){if("boolean"===typeof arguments[2]&&arguments[0]instanceof Array&&"boolean"===typeof arguments[1]){const t=arguments[0],e=arguments[1],n=arguments[2];if(n)for(let i=0;i=0;i--)this.add(t[i],e);return!0}if("boolean"===typeof arguments[2]&&Number.isInteger(arguments[0])&&arguments[1]instanceof s["a"]){const t=arguments[0],e=arguments[1],n=arguments[2];if(!n){const n=this.size();if(n>0){if(t>0){const n=this.get(t-1);if(n.equals2D(e))return null}if(ti&&(r=-1);for(let s=n;s!==i;s+=r)this.add(t[s],e);return!0}}closeRing(){if(this.size()>0){const t=this.get(0).copy();this.add(t,!1)}}}a.coordArrayType=new Array(0).fill(null)},"0bfb":function(t,e,n){"use strict";var i=n("cb7c");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0c2e":function(t,e,n){},"0caa":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +var e=t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return e})},"0a9d":function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return o});var i=n("9f5e"),r=n("25f1");function s(t,e,n,s,o,a,c){for(var l,u,h,d,f,p,_,m=o[a+1],g=[],y=0,v=n.length;yw&&(h=(d+f)/2,Object(r["c"])(t,e,n,s,h,m)&&(M=h,w=x)),d=f}return isNaN(M)&&(M=o[a]),c?(c.push(M,m,w),c):[M,m,w]}function o(t,e,n,i,r){for(var o=[],a=0,c=n.length;ar&&(l|=s["a"].RIGHT),co&&(l|=s["a"].ABOVE),l===s["a"].UNKNOWN&&(l=s["a"].INTERSECTING),l}function _(){return[1/0,1/0,-1/0,-1/0]}function m(t,e,n,i,r){return r?(r[0]=t,r[1]=e,r[2]=n,r[3]=i,r):[t,e,n,i]}function g(t){return m(1/0,1/0,-1/0,-1/0,t)}function y(t,e){var n=t[0],i=t[1];return m(n,i,n,i,e)}function v(t,e){var n=g(e);return L(n,t)}function b(t,e,n,i,r){var s=g(r);return E(s,t,e,n,i)}function M(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function w(t,e){return e[0]t[2]&&(t[2]=e[2]),e[1]t[3]&&(t[3]=e[3]),t}function x(t,e){e[0]t[2]&&(t[2]=e[0]),e[1]t[3]&&(t[3]=e[1])}function L(t,e){for(var n=0,i=e.length;ne[0]?i[0]=t[0]:i[0]=e[0],t[1]>e[1]?i[1]=t[1]:i[1]=e[1],t[2]=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function H(t){return t[2]=l&&a<=h),i||!(o&s["a"].RIGHT)||r&s["a"].RIGHT||(c=g-(m-h)*y,i=c>=u&&c<=d),i||!(o&s["a"].BELOW)||r&s["a"].BELOW||(a=m-(g-u)/y,i=a>=l&&a<=h),i||!(o&s["a"].LEFT)||r&s["a"].LEFT||(c=g-(m-l)*y,i=c>=u&&c<=d)}return i}function B(t,e,n){var i=[t[0],t[1],t[0],t[3],t[2],t[1],t[2],t[3]];e(i,i,2);var r=[i[0],i[2],i[4],i[6]],s=[i[1],i[3],i[5],i[7]];return a(r,s,n)}},"0b2d":function(t,e,n){"use strict";var i=n("01d4");e["a"]={SINGLECLICK:"singleclick",CLICK:i["a"].CLICK,DBLCLICK:i["a"].DBLCLICK,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}},"0ba1":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("38de"),r=n("c6a3"),s=n("ad3f"),o=n("70d5");class a extends o["a"]{constructor(){super(),a.constructor_.apply(this,arguments)}static constructor_(){if(0===arguments.length);else if(1===arguments.length){const t=arguments[0];this.ensureCapacity(t.length),this.add(t,!0)}else if(2===arguments.length){const t=arguments[0],e=arguments[1];this.ensureCapacity(t.length),this.add(t,e)}}getCoordinate(t){return this.get(t)}addAll(){if(2===arguments.length&&"boolean"===typeof arguments[1]&&Object(i["a"])(arguments[0],r["a"])){const t=arguments[0],e=arguments[1];let n=!1;for(let i=t.iterator();i.hasNext();)this.add(i.next(),e),n=!0;return n}return super.addAll.apply(this,arguments)}clone(){const t=super.clone.call(this);for(let e=0;e=1){const e=this.get(this.size()-1);if(e.equals2D(t))return null}super.add.call(this,t)}else if(arguments[0]instanceof Object&&"boolean"===typeof arguments[1]){const t=arguments[0],e=arguments[1];return this.add(t,e),!0}}else if(3===arguments.length){if("boolean"===typeof arguments[2]&&arguments[0]instanceof Array&&"boolean"===typeof arguments[1]){const t=arguments[0],e=arguments[1],n=arguments[2];if(n)for(let i=0;i=0;i--)this.add(t[i],e);return!0}if("boolean"===typeof arguments[2]&&Number.isInteger(arguments[0])&&arguments[1]instanceof s["a"]){const t=arguments[0],e=arguments[1],n=arguments[2];if(!n){const n=this.size();if(n>0){if(t>0){const n=this.get(t-1);if(n.equals2D(e))return null}if(ti&&(r=-1);for(let s=n;s!==i;s+=r)this.add(t[s],e);return!0}}closeRing(){if(this.size()>0){const t=this.get(0).copy();this.add(t,!1)}}}a.coordArrayType=new Array(0).fill(null)},"0bfb":function(t,e,n){"use strict";var i=n("cb7c");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0c2e":function(t,e,n){},"0caa":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration -function e(t,e,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return i?r[n][0]:r[n][1]}var n=t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}});return n})},"0d3e":function(t,e,n){"use strict";n.d(e,"a",function(){return E});var i=n("ad3f"),r=n("cd4a");const s={XY:"XY",XYZ:"XYZ",XYM:"XYM",XYZM:"XYZM"},o={POINT:"Point",LINE_STRING:"LineString",LINEAR_RING:"LinearRing",POLYGON:"Polygon",MULTI_POINT:"MultiPoint",MULTI_LINE_STRING:"MultiLineString",MULTI_POLYGON:"MultiPolygon",GEOMETRY_COLLECTION:"GeometryCollection",CIRCLE:"Circle"},a="EMPTY",c="Z",l="M",u="ZM",h={TEXT:1,LEFT_PAREN:2,RIGHT_PAREN:3,NUMBER:4,COMMA:5,EOF:6},d={};for(const T in o)d[T]=o[T].toUpperCase();class f{constructor(t){this.wkt=t,this.index_=-1}isAlpha_(t){return t>="a"&&t<="z"||t>="A"&&t<="Z"}isNumeric_(t,e){const n=void 0!==e&&e;return t>="0"&&t<="9"||"."==t&&!n}isWhiteSpace_(t){return" "==t||"\t"==t||"\r"==t||"\n"==t}nextChar_(){return this.wkt.charAt(++this.index_)}nextToken(){const t=this.nextChar_(),e=this.index_;let n,i=t;if("("==t)n=h.LEFT_PAREN;else if(","==t)n=h.COMMA;else if(")"==t)n=h.RIGHT_PAREN;else if(this.isNumeric_(t)||"-"==t)n=h.NUMBER,i=this.readNumber_();else if(this.isAlpha_(t))n=h.TEXT,i=this.readText_();else{if(this.isWhiteSpace_(t))return this.nextToken();if(""!==t)throw new Error("Unexpected character: "+t);n=h.EOF}return{position:e,value:i,type:n}}readNumber_(){let t;const e=this.index_;let n=!1,i=!1;do{"."==t?n=!0:"e"!=t&&"E"!=t||(i=!0),t=this.nextChar_()}while(this.isNumeric_(t,n)||!i&&("e"==t||"E"==t)||i&&("-"==t||"+"==t));return parseFloat(this.wkt.substring(e,this.index_--))}readText_(){let t;const e=this.index_;do{t=this.nextChar_()}while(this.isAlpha_(t));return this.wkt.substring(e,this.index_--).toUpperCase()}}class p{constructor(t,e){this.lexer_=t,this.token_,this.layout_=s.XY,this.factory=e}consume_(){this.token_=this.lexer_.nextToken()}isTokenType(t){const e=this.token_.type==t;return e}match(t){const e=this.isTokenType(t);return e&&this.consume_(),e}parse(){this.consume_();const t=this.parseGeometry_();return t}parseGeometryLayout_(){let t=s.XY;const e=this.token_;if(this.isTokenType(h.TEXT)){const n=e.value;n===c?t=s.XYZ:n===l?t=s.XYM:n===u&&(t=s.XYZM),t!==s.XY&&this.consume_()}return t}parseGeometryCollectionText_(){if(this.match(h.LEFT_PAREN)){const t=[];do{t.push(this.parseGeometry_())}while(this.match(h.COMMA));if(this.match(h.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())}parsePointText_(){if(this.match(h.LEFT_PAREN)){const t=this.parsePoint_();if(this.match(h.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return null;throw new Error(this.formatErrorMessage_())}parseLineStringText_(){if(this.match(h.LEFT_PAREN)){const t=this.parsePointList_();if(this.match(h.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())}parsePolygonText_(){if(this.match(h.LEFT_PAREN)){const t=this.parseLineStringTextList_();if(this.match(h.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())}parseMultiPointText_(){if(this.match(h.LEFT_PAREN)){let t;if(t=this.token_.type==h.LEFT_PAREN?this.parsePointTextList_():this.parsePointList_(),this.match(h.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())}parseMultiLineStringText_(){if(this.match(h.LEFT_PAREN)){const t=this.parseLineStringTextList_();if(this.match(h.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())}parseMultiPolygonText_(){if(this.match(h.LEFT_PAREN)){const t=this.parsePolygonTextList_();if(this.match(h.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())}parsePoint_(){const t=[],e=this.layout_.length;for(let n=0;nnew i["a"](...t),n=n=>{const i=n.map(n=>t.createLinearRing(n.map(e)));return i.length>1?t.createPolygon(i[0],i.slice(1)):t.createPolygon(i[0])},r=this.token_;if(this.match(h.TEXT)){const s=r.value;if(this.layout_=this.parseGeometryLayout_(),"GEOMETRYCOLLECTION"==s){const e=this.parseGeometryCollectionText_();return t.createGeometryCollection(e)}switch(s){case"POINT":{const e=this.parsePointText_();return e?t.createPoint(new i["a"](...e)):t.createPoint()}case"LINESTRING":{const n=this.parseLineStringText_(),i=n.map(e);return t.createLineString(i)}case"LINEARRING":{const n=this.parseLineStringText_(),i=n.map(e);return t.createLinearRing(i)}case"POLYGON":{const e=this.parsePolygonText_();return e&&0!==e.length?n(e):t.createPolygon()}case"MULTIPOINT":{const n=this.parseMultiPointText_();if(!n||0===n.length)return t.createMultiPoint();const i=n.map(e).map(e=>t.createPoint(e));return t.createMultiPoint(i)}case"MULTILINESTRING":{const n=this.parseMultiLineStringText_(),i=n.map(n=>t.createLineString(n.map(e)));return t.createMultiLineString(i)}case"MULTIPOLYGON":{const e=this.parseMultiPolygonText_();if(!e||0===e.length)return t.createMultiPolygon();const i=e.map(n);return t.createMultiPolygon(i)}default:throw new Error("Invalid geometry type: "+s)}}throw new Error(this.formatErrorMessage_())}}function _(t){if(t.isEmpty())return"";const e=t.getCoordinate(),n=[e.x,e.y];return e.z&&n.push(e.z),e.m&&n.push(e.m),n.join(" ")}function m(t){const e=[];for(let n=0,i=t.getNumGeometries();n[t.x,t.y]),n=[];for(let i=0,r=e.length;i0&&(e+=" "+i),t.isEmpty())return e+" "+a;const r=n(t);return e+" ("+r+")"}class E{constructor(t){this.geometryFactory=t||new r["a"],this.precisionModel=this.geometryFactory.getPrecisionModel()}read(t){const e=new f(t),n=new p(e,this.geometryFactory),i=n.parse();return i}write(t){return L(t)}}},"0d58":function(t,e,n){var i=n("ce10"),r=n("e11e");t.exports=Object.keys||function(t){return i(t,r)}},"0d6d":function(t,e,n){var i=n("d3f4"),r=n("67ab").onFreeze;n("5eda")("freeze",function(t){return function(e){return t&&i(e)?t(r(e)):e}})},"0dd8":function(t,e,n){"use strict";var i=n("7b52"),r=n("0360"),s=n("2709"),o=n("fe5c"),a=n("7c92"),c=n("b08b"),l=n("70d5"),u=n("668c");class h{constructor(){h.constructor_.apply(this,arguments)}static constructor_(){if(this._startDe=null,this._maxNodeDegree=-1,this._edges=new l["a"],this._pts=new l["a"],this._label=new c["a"](i["a"].NONE),this._ring=null,this._isHole=null,this._shell=null,this._holes=new l["a"],this._geometryFactory=null,0===arguments.length);else if(2===arguments.length){const t=arguments[0],e=arguments[1];this._geometryFactory=e,this.computePoints(t),this.computeRing()}}computeRing(){if(null!==this._ring)return null;const t=new Array(this._pts.size()).fill(null);for(let e=0;ethis._maxNodeDegree&&(this._maxNodeDegree=n),t=this.getNext(t)}while(t!==this._startDe);this._maxNodeDegree*=2}addPoints(t,e,n){const i=t.getCoordinates();if(e){let t=1;n&&(t=0);for(let e=t;e=0;e--)this._pts.add(i[e])}}isHole(){return this._isHole}setInResult(){let t=this._startDe;do{t.getEdge().setInResult(!0),t=t.getNext()}while(t!==this._startDe)}containsPoint(t){const e=this.getLinearRing(),n=e.getEnvelopeInternal();if(!n.contains(t))return!1;if(!s["a"].isInRing(t,e.getCoordinates()))return!1;for(let i=this._holes.iterator();i.hasNext();){const e=i.next();if(e.containsPoint(t))return!1}return!0}addHole(t){this._holes.add(t)}isShell(){return null===this._shell}getLabel(){return this._label}getEdges(){return this._edges}getMaxNodeDegree(){return this._maxNodeDegree<0&&this.computeMaxNodeDegree(),this._maxNodeDegree}getShell(){return this._shell}mergeLabel(){if(1===arguments.length){const t=arguments[0];this.mergeLabel(t,0),this.mergeLabel(t,1)}else if(2===arguments.length){const t=arguments[0],e=arguments[1],n=t.getLocation(e,r["a"].RIGHT);if(n===i["a"].NONE)return null;if(this._label.getLocation(e)===i["a"].NONE)return this._label.setLocation(e,n),null}}setShell(t){this._shell=t,null!==t&&t.addHole(this)}toPolygon(t){const e=new Array(this._holes.size()).fill(null);for(let i=0;i12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}});return n})},"0d3e":function(t,e,n){"use strict";n.d(e,"a",function(){return E});var i=n("ad3f"),r=n("cd4a");const s={XY:"XY",XYZ:"XYZ",XYM:"XYM",XYZM:"XYZM"},o={POINT:"Point",LINE_STRING:"LineString",LINEAR_RING:"LinearRing",POLYGON:"Polygon",MULTI_POINT:"MultiPoint",MULTI_LINE_STRING:"MultiLineString",MULTI_POLYGON:"MultiPolygon",GEOMETRY_COLLECTION:"GeometryCollection",CIRCLE:"Circle"},a="EMPTY",c="Z",l="M",u="ZM",h={TEXT:1,LEFT_PAREN:2,RIGHT_PAREN:3,NUMBER:4,COMMA:5,EOF:6},d={};for(const T in o)d[T]=o[T].toUpperCase();class f{constructor(t){this.wkt=t,this.index_=-1}isAlpha_(t){return t>="a"&&t<="z"||t>="A"&&t<="Z"}isNumeric_(t,e){const n=void 0!==e&&e;return t>="0"&&t<="9"||"."==t&&!n}isWhiteSpace_(t){return" "==t||"\t"==t||"\r"==t||"\n"==t}nextChar_(){return this.wkt.charAt(++this.index_)}nextToken(){const t=this.nextChar_(),e=this.index_;let n,i=t;if("("==t)n=h.LEFT_PAREN;else if(","==t)n=h.COMMA;else if(")"==t)n=h.RIGHT_PAREN;else if(this.isNumeric_(t)||"-"==t)n=h.NUMBER,i=this.readNumber_();else if(this.isAlpha_(t))n=h.TEXT,i=this.readText_();else{if(this.isWhiteSpace_(t))return this.nextToken();if(""!==t)throw new Error("Unexpected character: "+t);n=h.EOF}return{position:e,value:i,type:n}}readNumber_(){let t;const e=this.index_;let n=!1,i=!1;do{"."==t?n=!0:"e"!=t&&"E"!=t||(i=!0),t=this.nextChar_()}while(this.isNumeric_(t,n)||!i&&("e"==t||"E"==t)||i&&("-"==t||"+"==t));return parseFloat(this.wkt.substring(e,this.index_--))}readText_(){let t;const e=this.index_;do{t=this.nextChar_()}while(this.isAlpha_(t));return this.wkt.substring(e,this.index_--).toUpperCase()}}class p{constructor(t,e){this.lexer_=t,this.token_,this.layout_=s.XY,this.factory=e}consume_(){this.token_=this.lexer_.nextToken()}isTokenType(t){const e=this.token_.type==t;return e}match(t){const e=this.isTokenType(t);return e&&this.consume_(),e}parse(){this.consume_();const t=this.parseGeometry_();return t}parseGeometryLayout_(){let t=s.XY;const e=this.token_;if(this.isTokenType(h.TEXT)){const n=e.value;n===c?t=s.XYZ:n===l?t=s.XYM:n===u&&(t=s.XYZM),t!==s.XY&&this.consume_()}return t}parseGeometryCollectionText_(){if(this.match(h.LEFT_PAREN)){const t=[];do{t.push(this.parseGeometry_())}while(this.match(h.COMMA));if(this.match(h.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())}parsePointText_(){if(this.match(h.LEFT_PAREN)){const t=this.parsePoint_();if(this.match(h.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return null;throw new Error(this.formatErrorMessage_())}parseLineStringText_(){if(this.match(h.LEFT_PAREN)){const t=this.parsePointList_();if(this.match(h.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())}parsePolygonText_(){if(this.match(h.LEFT_PAREN)){const t=this.parseLineStringTextList_();if(this.match(h.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())}parseMultiPointText_(){if(this.match(h.LEFT_PAREN)){let t;if(t=this.token_.type==h.LEFT_PAREN?this.parsePointTextList_():this.parsePointList_(),this.match(h.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())}parseMultiLineStringText_(){if(this.match(h.LEFT_PAREN)){const t=this.parseLineStringTextList_();if(this.match(h.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())}parseMultiPolygonText_(){if(this.match(h.LEFT_PAREN)){const t=this.parsePolygonTextList_();if(this.match(h.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())}parsePoint_(){const t=[],e=this.layout_.length;for(let n=0;nnew i["a"](...t),n=n=>{const i=n.map(n=>t.createLinearRing(n.map(e)));return i.length>1?t.createPolygon(i[0],i.slice(1)):t.createPolygon(i[0])},r=this.token_;if(this.match(h.TEXT)){const s=r.value;if(this.layout_=this.parseGeometryLayout_(),"GEOMETRYCOLLECTION"==s){const e=this.parseGeometryCollectionText_();return t.createGeometryCollection(e)}switch(s){case"POINT":{const e=this.parsePointText_();return e?t.createPoint(new i["a"](...e)):t.createPoint()}case"LINESTRING":{const n=this.parseLineStringText_(),i=n.map(e);return t.createLineString(i)}case"LINEARRING":{const n=this.parseLineStringText_(),i=n.map(e);return t.createLinearRing(i)}case"POLYGON":{const e=this.parsePolygonText_();return e&&0!==e.length?n(e):t.createPolygon()}case"MULTIPOINT":{const n=this.parseMultiPointText_();if(!n||0===n.length)return t.createMultiPoint();const i=n.map(e).map(e=>t.createPoint(e));return t.createMultiPoint(i)}case"MULTILINESTRING":{const n=this.parseMultiLineStringText_(),i=n.map(n=>t.createLineString(n.map(e)));return t.createMultiLineString(i)}case"MULTIPOLYGON":{const e=this.parseMultiPolygonText_();if(!e||0===e.length)return t.createMultiPolygon();const i=e.map(n);return t.createMultiPolygon(i)}default:throw new Error("Invalid geometry type: "+s)}}throw new Error(this.formatErrorMessage_())}}function _(t){if(t.isEmpty())return"";const e=t.getCoordinate(),n=[e.x,e.y];return void 0===e.z||Number.isNaN(e.z)||n.push(e.z),void 0===e.m||Number.isNaN(e.m)||n.push(e.m),n.join(" ")}function m(t){const e=[];for(let n=0,i=t.getNumGeometries();n{const e=[t.x,t.y];return void 0===t.z||Number.isNaN(t.z)||e.push(t.z),void 0===t.m||Number.isNaN(t.m)||e.push(t.m),e}),n=[];for(let i=0,r=e.length;i0&&(e+=" "+i),t.isEmpty())return e+" "+a;const r=n(t);return e+" ("+r+")"}class E{constructor(t){this.geometryFactory=t||new r["a"],this.precisionModel=this.geometryFactory.getPrecisionModel()}read(t){const e=new f(t),n=new p(e,this.geometryFactory),i=n.parse();return i}write(t){return L(t)}}},"0d58":function(t,e,n){var i=n("ce10"),r=n("e11e");t.exports=Object.keys||function(t){return i(t,r)}},"0d6d":function(t,e,n){var i=n("d3f4"),r=n("67ab").onFreeze;n("5eda")("freeze",function(t){return function(e){return t&&i(e)?t(r(e)):e}})},"0dd8":function(t,e,n){"use strict";var i=n("7b52"),r=n("0360"),s=n("2709"),o=n("fe5c"),a=n("7c92"),c=n("b08b"),l=n("70d5"),u=n("668c");class h{constructor(){h.constructor_.apply(this,arguments)}static constructor_(){if(this._startDe=null,this._maxNodeDegree=-1,this._edges=new l["a"],this._pts=new l["a"],this._label=new c["a"](i["a"].NONE),this._ring=null,this._isHole=null,this._shell=null,this._holes=new l["a"],this._geometryFactory=null,0===arguments.length);else if(2===arguments.length){const t=arguments[0],e=arguments[1];this._geometryFactory=e,this.computePoints(t),this.computeRing()}}computeRing(){if(null!==this._ring)return null;const t=new Array(this._pts.size()).fill(null);for(let e=0;ethis._maxNodeDegree&&(this._maxNodeDegree=n),t=this.getNext(t)}while(t!==this._startDe);this._maxNodeDegree*=2}addPoints(t,e,n){const i=t.getCoordinates();if(e){let t=1;n&&(t=0);for(let e=t;e=0;e--)this._pts.add(i[e])}}isHole(){return this._isHole}setInResult(){let t=this._startDe;do{t.getEdge().setInResult(!0),t=t.getNext()}while(t!==this._startDe)}containsPoint(t){const e=this.getLinearRing(),n=e.getEnvelopeInternal();if(!n.contains(t))return!1;if(!s["a"].isInRing(t,e.getCoordinates()))return!1;for(let i=this._holes.iterator();i.hasNext();){const e=i.next();if(e.containsPoint(t))return!1}return!0}addHole(t){this._holes.add(t)}isShell(){return null===this._shell}getLabel(){return this._label}getEdges(){return this._edges}getMaxNodeDegree(){return this._maxNodeDegree<0&&this.computeMaxNodeDegree(),this._maxNodeDegree}getShell(){return this._shell}mergeLabel(){if(1===arguments.length){const t=arguments[0];this.mergeLabel(t,0),this.mergeLabel(t,1)}else if(2===arguments.length){const t=arguments[0],e=arguments[1],n=t.getLocation(e,r["a"].RIGHT);if(n===i["a"].NONE)return null;if(this._label.getLocation(e)===i["a"].NONE)return this._label.setLocation(e,n),null}}setShell(t){this._shell=t,null!==t&&t.addHole(this)}toPolygon(t){const e=new Array(this._holes.size()).fill(null);for(let i=0;i=100?100:null;return t+(e[i]||e[r]||e[s])}},week:{dow:1,doy:7}});return n})},"0e88":function(t,e,n){"use strict";var i=n("3fb5"),r=n("ada0").EventEmitter,s=function(){};function o(t,e,n){s(e),r.call(this),this.Receiver=t,this.receiveUrl=e,this.AjaxObject=n,this._scheduleReceiver()}i(o,r),o.prototype._scheduleReceiver=function(){s("_scheduleReceiver");var t=this,e=this.poll=new this.Receiver(this.receiveUrl,this.AjaxObject);e.on("message",function(e){s("message",e),t.emit("message",e)}),e.once("close",function(n,i){s("close",n,i,t.pollIsClosing),t.poll=e=null,t.pollIsClosing||("network"===i?t._scheduleReceiver():(t.emit("close",n||1006,i),t.removeAllListeners()))})},o.prototype.abort=function(){s("abort"),this.removeAllListeners(),this.pollIsClosing=!0,this.poll&&this.poll.abort()},t.exports=o},"0ec0":function(t,e,n){"use strict";var i=n("da5c"),r=n("1e8d"),s=n("57cb"),o=n("cef7"),a=function(t){function e(){t.call(this),this.pendingRemovals_={},this.dispatching_={},this.listeners_={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.addEventListener=function(t,e){var n=this.listeners_[t];n||(n=this.listeners_[t]=[]),-1===n.indexOf(e)&&n.push(e)},e.prototype.dispatchEvent=function(t){var e="string"===typeof t?new o["a"](t):t,n=e.type;e.target=this;var i,r=this.listeners_[n];if(r){n in this.dispatching_||(this.dispatching_[n]=0,this.pendingRemovals_[n]=0),++this.dispatching_[n];for(var a=0,c=r.length;a0},e.prototype.removeEventListener=function(t,e){var n=this.listeners_[t];if(n){var i=n.indexOf(e);t in this.pendingRemovals_?(n[i]=s["c"],++this.pendingRemovals_[t]):(n.splice(i,1),0===n.length&&delete this.listeners_[t])}},e}(i["a"]);e["a"]=a},"0f14":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},n=t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(t,e,n){return t<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(t){return"ös"===t||"ÖS"===t},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'ıncı";var i=t%10,r=t%100-i,s=t>=100?100:null;return t+(e[i]||e[r]||e[s])}},week:{dow:1,doy:7}});return n})},"0e88":function(t,e,n){"use strict";var i=n("3fb5"),r=n("ada0").EventEmitter,s=function(){};function o(t,e,n){s(e),r.call(this),this.Receiver=t,this.receiveUrl=e,this.AjaxObject=n,this._scheduleReceiver()}i(o,r),o.prototype._scheduleReceiver=function(){s("_scheduleReceiver");var t=this,e=this.poll=new this.Receiver(this.receiveUrl,this.AjaxObject);e.on("message",function(e){s("message",e),t.emit("message",e)}),e.once("close",function(n,i){s("close",n,i,t.pollIsClosing),t.poll=e=null,t.pollIsClosing||("network"===i?t._scheduleReceiver():(t.emit("close",n||1006,i),t.removeAllListeners()))})},o.prototype.abort=function(){s("abort"),this.removeAllListeners(),this.pollIsClosing=!0,this.poll&&this.poll.abort()},t.exports=o},"0ec0":function(t,e,n){"use strict";var i=n("da5c"),r=n("1e8d"),s=n("57cb"),o=n("cef7"),a=function(t){function e(){t.call(this),this.pendingRemovals_={},this.dispatching_={},this.listeners_={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.addEventListener=function(t,e){var n=this.listeners_[t];n||(n=this.listeners_[t]=[]),-1===n.indexOf(e)&&n.push(e)},e.prototype.dispatchEvent=function(t){var e="string"===typeof t?new o["a"](t):t,n=e.type;e.target=this;var i,r=this.listeners_[n];if(r){n in this.dispatching_||(this.dispatching_[n]=0,this.pendingRemovals_[n]=0),++this.dispatching_[n];for(var a=0,c=r.length;a0},e.prototype.removeEventListener=function(t,e){var n=this.listeners_[t];if(n){var i=n.indexOf(e);t in this.pendingRemovals_?(n[i]=s["c"],++this.pendingRemovals_[t]):(n.splice(i,1),0===n.length&&delete this.listeners_[t])}},e}(i["a"]);e["a"]=a},"0f14":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e})},"0f38":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration @@ -32,13 +32,13 @@ var e=t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_eka //! moment.js locale configuration var e=t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,n){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return e})},1169:function(t,e,n){var i=n("2d95");t.exports=Array.isArray||function(t){return"Array"==i(t)}},1173:function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},1180:function(t,e,n){"use strict";n("b54a");e["a"]={name:"QList",props:{noBorder:Boolean,dark:Boolean,dense:Boolean,sparse:Boolean,striped:Boolean,stripedOdd:Boolean,separator:Boolean,insetSeparator:Boolean,multiline:Boolean,highlight:Boolean,link:Boolean},computed:{classes:function(){return{"no-border":this.noBorder,"q-list-dark":this.dark,"q-list-dense":this.dense,"q-list-sparse":this.sparse,"q-list-striped":this.striped,"q-list-striped-odd":this.stripedOdd,"q-list-separator":this.separator,"q-list-inset-separator":this.insetSeparator,"q-list-multiline":this.multiline,"q-list-highlight":this.highlight,"q-list-link":this.link}}},render:function(t){return t("div",{staticClass:"q-list",class:this.classes},this.$slots.default)}}},"11b0":function(t,e,n){var i=n("2a06"),r=n("883d");function s(t){if(r(Object(t))||"[object Arguments]"===Object.prototype.toString.call(t))return i(t)}t.exports=s},"11e9":function(t,e,n){var i=n("52a7"),r=n("4630"),s=n("6821"),o=n("6a99"),a=n("69a8"),c=n("c69a"),l=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?l:function(t,e){if(t=s(t),e=o(e,!0),c)try{return l(t,e)}catch(t){}if(a(t,e))return r(!i.f.call(t,e),t[e])}},"12dd":function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{filter(t){}}},1300:function(t,e,n){"use strict";function i(){return function(){throw new Error("Unimplemented abstract method.")}()}n.d(e,"b",function(){return i}),n.d(e,"c",function(){return s}),n.d(e,"a",function(){return o});var r=0;function s(t){return t.ol_uid||(t.ol_uid=String(++r))}var o="5.3.3"},"133b":function(t,e,n){"use strict";n("2fdb"),n("6762"),n("f751");var i=n("52b5"),r=n("482e"),s={name:"QAlert",props:{type:{type:String,validator:function(t){return["positive","negative","warning","info"].includes(t)}},color:{type:String,default:"negative"},textColor:String,message:String,detail:String,icon:String,avatar:String,actions:Array},computed:{computedIcon:function(){return this.icon?this.icon:this.$q.icon.type[this.type||this.color]},classes:function(){return"bg-".concat(this.type||this.color," text-").concat(this.textColor||"white")}},render:function(t){var e=this,n=[],s=this.$slots.detail||this.detail;return this.avatar?n.push(t("img",{staticClass:"avatar",attrs:{src:this.avatar}})):(this.icon||this.type)&&n.push(t(i["a"],{props:{name:this.computedIcon}})),t("div",[t("div",{staticClass:"q-alert row no-wrap shadow-2",class:this.classes},[n.length?t("div",{staticClass:"q-alert-side col-auto row flex-center"},n):null,t("div",{staticClass:"q-alert-content col self-center"},[t("div",this.$slots.default||this.message),s?t("div",{staticClass:"q-alert-detail"},[s]):null]),this.actions&&this.actions.length?t("div",{staticClass:"q-alert-actions col-auto gutter-xs column flex-center"},this.actions.map(function(n){return t("div",{staticClass:"full-width"},[t(r["a"],{staticClass:"full-width",props:{flat:!0,dense:!0,align:"left",icon:n.icon,label:!0===n.closeBtn?"string"===typeof n.label?n.label:e.$q.i18n.label.close:n.label},on:{click:function(){return n.handler()}}})])})):null])])}},o=n("68c2"),a=n("9fe0"),c=n("a60d"),l={},u=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"];function h(t){var e=t.Vue,n=document.createElement("div");document.body.appendChild(n),this.__vm=new e({name:"QNotifications",data:{notifs:{center:[],left:[],right:[],top:[],"top-left":[],"top-right":[],bottom:[],"bottom-left":[],"bottom-right":[]}},methods:{add:function(t){var e=this;if(!t)return console.error("Notify: parameter required"),!1;var n=Object.assign({},l,"string"===typeof t?{message:t}:Object(a["a"])(t));if(n.position){if(!u.includes(n.position))return console.error("Notify: wrong position: ".concat(n.position)),!1}else n.position="bottom";if(n.__uid=Object(o["a"])(),void 0===n.timeout)n.timeout=5e3;else{var i=parseInt(n.timeout,10);if(isNaN(i)||i<0)return console.error("Notify: wrong timeout: ".concat(n.timeout)),!1;n.timeout=i}var r=function(){e.remove(n)};if(t.actions&&(n.actions=t.actions.map(function(t){var e=t.handler,n=Object(a["a"])(t);return n.handler="function"===typeof e?function(){e(),!t.noDismiss&&r()}:function(){return r()},n})),"function"===typeof t.onDismiss&&(n.onDismiss=t.onDismiss),n.closeBtn){var s=[{closeBtn:!0,label:n.closeBtn,handler:r}];n.actions=n.actions?n.actions.concat(s):s}n.timeout>0&&(n.__timeout=setTimeout(function(){r()},n.timeout+1e3));var c=n.position.indexOf("top")>-1?"unshift":"push";return this.notifs[n.position][c](n),r},remove:function(t){t.__timeout&&clearTimeout(t.__timeout);var e=this.notifs[t.position].indexOf(t);if(-1!==e){var n=this.$refs["notif_".concat(t.__uid)];if(n&&n.$el){var i=n.$el;i.style.left="".concat(i.offsetLeft,"px"),i.style.width=getComputedStyle(i).width}this.notifs[t.position].splice(e,1),"function"===typeof t.onDismiss&&t.onDismiss()}}},render:function(t){var e=this;return t("div",{staticClass:"q-notifications"},u.map(function(n){var i=["left","center","right"].includes(n)?"center":n.indexOf("top")>-1?"top":"bottom",r=n.indexOf("left")>-1?"start":n.indexOf("right")>-1?"end":"center",o=["left","right"].includes(n)?"items-".concat("left"===n?"start":"end"," justify-center"):"center"===n?"flex-center":"items-".concat(r);return t("transition-group",{key:n,staticClass:"q-notification-list q-notification-list-".concat(i," fixed column ").concat(o),tag:"div",props:{name:"q-notification-".concat(n),mode:"out-in"}},e.notifs[n].map(function(e){return t(s,{ref:"notif_".concat(e.__uid),key:e.__uid,staticClass:"q-notification",props:e},[e.message])}))}))}}),this.__vm.$mount(n)}e["a"]={create:function(t){return c["c"]?function(){}:this.__vm.add(t)},setDefaults:function(t){Object.assign(l,t)},install:function(t){if(c["c"])return t.$q.notify=function(){},void(t.$q.notify.setDefaults=function(){});h.call(this,t),t.cfg.notify&&this.setDefaults(t.cfg.notify),t.$q.notify=this.create.bind(this),t.$q.notify.setDefaults=this.setDefaults}}},"138e":function(t,e,n){"use strict";var i=n("c191"),r=n("c9eb"),s=n("38de"),o=n("ad3f");class a{static ofLine(t){const e=t.size();if(e<=1)return 0;let n=0;const i=new o["a"];t.getCoordinate(0,i);let r=i.x,s=i.y;for(let o=1;o0){const t=this._points.copy();u["a"].reverse(t),this._points=t}return null}}}getCoordinate(){return this.isEmpty()?null:this._points.getCoordinate(0)}getBoundaryDimension(){return this.isClosed()?f["a"].FALSE:0}isClosed(){return!this.isEmpty()&&this.getCoordinateN(0).equals2D(this.getCoordinateN(this.getNumPoints()-1))}reverseInternal(){const t=this._points.copy();return u["a"].reverse(t),this.getFactory().createLineString(t)}getEndPoint(){return this.isEmpty()?null:this.getPointN(this.getNumPoints()-1)}getTypeCode(){return i["a"].TYPECODE_LINESTRING}getDimension(){return 1}getLength(){return a.ofLine(this._points)}getNumPoints(){return this._points.size()}compareToSameClass(){if(1===arguments.length){const t=arguments[0],e=t;let n=0,i=0;while(n= 2)");this._points=t}isCoordinate(t){for(let e=0;et._quadrant?1:this._quadrant=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}},n=t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var t=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"месец",MM:e.translate,y:"годину",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},1436:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n("138e"),r=n("cd4a"),s=n("fd89"),o=n("a02c"),a=n("78c4"),c=n("f69e"),l=n("3894"),u=n("76af"),h=n("c73a"),d=n("70d5"),f=n("58e9");class p{constructor(){p.constructor_.apply(this,arguments)}static constructor_(){this._inputGeom=null,this._factory=null,this._pruneEmptyGeometry=!0,this._preserveGeometryCollectionType=!0,this._preserveCollections=!1,this._preserveType=!1}transformPoint(t,e){return this._factory.createPoint(this.transformCoordinates(t.getCoordinateSequence(),t))}transformPolygon(t,e){let n=!0;const i=this.transformLinearRing(t.getExteriorRing(),t);null!==i&&i instanceof l["a"]&&!i.isEmpty()||(n=!1);const r=new d["a"];for(let s=0;s0&&i<4&&!this._preserveType?this._factory.createLineString(n):this._factory.createLinearRing(n)}}},1495:function(t,e,n){var i=n("86cc"),r=n("cb7c"),s=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){r(t);var n,o=s(e),a=o.length,c=0;while(a>c)i.f(t,n=o[c++],e[n]);return t}},1526:function(t,e,n){"use strict";var i=n("b18c");function r(t,e,n){var r=n.stop,s=n.center;r&&t.stopPropagation();var o,a,c=document.createElement("span"),l=document.createElement("span"),u=e.clientWidth>e.clientHeight?e.clientWidth:e.clientHeight,h="".concat(s?u:2*u,"px"),d=e.getBoundingClientRect();if(c.appendChild(l),c.className="q-ripple-container",l.className="q-ripple-animation",l.style.width=h,l.style.height=h,e.appendChild(c),s)o=a=0;else{var f=Object(i["f"])(t);o=f.left-d.left-u,a=f.top-d.top-u}l.classList.add("q-ripple-animation-enter"),l.classList.add("q-ripple-animation-visible"),l.style.transform="translate(".concat(o,"px, ").concat(a,"px) scale3d(0, 0, 0)"),setTimeout(function(){l.classList.remove("q-ripple-animation-enter"),l.style.transform="translate(".concat(o,"px, ").concat(a,"px) scale3d(1, 1, 1)"),setTimeout(function(){l.classList.remove("q-ripple-animation-visible"),setTimeout(function(){c.remove()},300)},300)},10)}function s(t){t.mat;var e=t.ios;return e&&!0}e["a"]={name:"ripple",inserted:function(t,e){var n=e.value,i=e.modifiers;if(!s(i)){var o={enabled:!1!==n,modifiers:{stop:i.stop,center:i.center},click:function(e){o.enabled&&-1!==e.detail&&r(e,t,o.modifiers)},keyup:function(e){o.enabled&&13===e.keyCode&&r(e,t,o.modifiers)}};t.__qripple=o,t.addEventListener("click",o.click,!1),t.addEventListener("keyup",o.keyup,!1)}},update:function(t,e){var n=e.value,i=e.modifiers,r=i.stop,s=i.center,o=t.__qripple;o&&(o.enabled=!1!==n,o.modifiers={stop:r,center:s})},unbind:function(t,e){var n=e.modifiers,i=t.__qripple;i&&!s(n)&&(t.removeEventListener("click",i.click,!1),t.removeEventListener("keyup",i.keyup,!1),delete t.__qripple)}}},1528:function(t,e,n){"use strict";n.d(e,"b",function(){return s}),n.d(e,"a",function(){return o}),n.d(e,"e",function(){return l}),n.d(e,"c",function(){return u}),n.d(e,"d",function(){return h});n("6762"),n("2fdb");var i,r=n("abcf");function s(t){return t.closest(".scroll,.scroll-y,.overflow-auto")||window}function o(t){return t===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:t.scrollTop}function a(t,e,n){var i=o(t);n<=0?i!==e&&c(t,e):requestAnimationFrame(function(){var r=i+(e-i)/Math.max(16,n)*16;c(t,r),r!==e&&a(t,e,n-16)})}function c(t,e){if(t===window)return document.documentElement.scrollTop=e,void(document.body.scrollTop=e);t.scrollTop=e}function l(t,e,n){n?a(t,e,n):c(t,e)}function u(){if(void 0!==i)return i;var t=document.createElement("p"),e=document.createElement("div");Object(r["a"])(t,{width:"100%",height:"200px"}),Object(r["a"])(e,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var n=t.offsetWidth;e.style.overflow="scroll";var s=t.offsetWidth;return n===s&&(s=e.clientWidth),e.remove(),i=n-s,i}function h(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!(!t||t.nodeType!==Node.ELEMENT_NODE)&&(e?t.scrollHeight>t.clientHeight&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"])):t.scrollWidth>t.clientWidth&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-x"])))}},1548:function(t,e,n){"use strict";var i=n("3fb5"),r=n("ada0").EventEmitter,s=function(){};function o(t,e){s(t),r.call(this);var n=this;this.bufferPosition=0,this.xo=new e("POST",t,null),this.xo.on("chunk",this._chunkHandler.bind(this)),this.xo.once("finish",function(t,e){s("finish",t,e),n._chunkHandler(t,e),n.xo=null;var i=200===t?"network":"permanent";s("close",i),n.emit("close",null,i),n._cleanup()})}i(o,r),o.prototype._chunkHandler=function(t,e){if(s("_chunkHandler",t),200===t&&e)for(var n=-1;;this.bufferPosition+=n+1){var i=e.slice(this.bufferPosition);if(n=i.indexOf("\n"),-1===n)break;var r=i.slice(0,n);r&&(s("message",r),this.emit("message",r))}},o.prototype._cleanup=function(){s("_cleanup"),this.removeAllListeners()},o.prototype.abort=function(){s("abort"),this.xo&&(this.xo.close(),s("close"),this.emit("close",null,"user"),this.xo=null),this._cleanup()},t.exports=o},"15f1":function(t,e,n){},1625:function(t,e,n){},1654:function(t,e,n){"use strict";var i=n("71c1")(!0);n("30f1")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},"167b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(t,e){return t%10>=1&&t%10<=4&&(t%100<10||t%100>=20)?t%10===1?e[0]:e[1]:e[2]},translate:function(t,n,i,r){var s,o=e.words[i];return 1===i.length?"y"===i&&n?"једна година":r||n?o[0]:o[1]:(s=e.correctGrammaticalCase(t,o),"yy"===i&&n&&"годину"===s?t+" година":t+" "+s)}},n=t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var t=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},1436:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n("138e"),r=n("cd4a"),s=n("fd89"),o=n("a02c"),a=n("78c4"),c=n("f69e"),l=n("3894"),u=n("76af"),h=n("c73a"),d=n("70d5"),f=n("58e9");class p{constructor(){p.constructor_.apply(this,arguments)}static constructor_(){this._inputGeom=null,this._factory=null,this._pruneEmptyGeometry=!0,this._preserveGeometryCollectionType=!0,this._preserveCollections=!1,this._preserveType=!1}transformPoint(t,e){return this._factory.createPoint(this.transformCoordinates(t.getCoordinateSequence(),t))}transformPolygon(t,e){let n=!0;const i=this.transformLinearRing(t.getExteriorRing(),t);null!==i&&i instanceof l["a"]&&!i.isEmpty()||(n=!1);const r=new d["a"];for(let s=0;s0&&i<4&&!this._preserveType?this._factory.createLineString(n):this._factory.createLinearRing(n)}}},1495:function(t,e,n){var i=n("86cc"),r=n("cb7c"),s=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){r(t);var n,o=s(e),a=o.length,c=0;while(a>c)i.f(t,n=o[c++],e[n]);return t}},1526:function(t,e,n){"use strict";var i=n("b18c");function r(t,e,n){var r=n.stop,s=n.center;r&&t.stopPropagation();var o,a,c=document.createElement("span"),l=document.createElement("span"),u=e.clientWidth>e.clientHeight?e.clientWidth:e.clientHeight,h="".concat(s?u:2*u,"px"),d=e.getBoundingClientRect();if(c.appendChild(l),c.className="q-ripple-container",l.className="q-ripple-animation",l.style.width=h,l.style.height=h,e.appendChild(c),s)o=a=0;else{var f=Object(i["f"])(t);o=f.left-d.left-u,a=f.top-d.top-u}l.classList.add("q-ripple-animation-enter"),l.classList.add("q-ripple-animation-visible"),l.style.transform="translate(".concat(o,"px, ").concat(a,"px) scale3d(0, 0, 0)"),setTimeout(function(){l.classList.remove("q-ripple-animation-enter"),l.style.transform="translate(".concat(o,"px, ").concat(a,"px) scale3d(1, 1, 1)"),setTimeout(function(){l.classList.remove("q-ripple-animation-visible"),setTimeout(function(){c.remove()},300)},300)},10)}function s(t){t.mat;var e=t.ios;return e&&!0}e["a"]={name:"ripple",inserted:function(t,e){var n=e.value,i=e.modifiers;if(!s(i)){var o={enabled:!1!==n,modifiers:{stop:i.stop,center:i.center},click:function(e){o.enabled&&-1!==e.detail&&r(e,t,o.modifiers)},keyup:function(e){o.enabled&&13===e.keyCode&&r(e,t,o.modifiers)}};t.__qripple=o,t.addEventListener("click",o.click,!1),t.addEventListener("keyup",o.keyup,!1)}},update:function(t,e){var n=e.value,i=e.modifiers,r=i.stop,s=i.center,o=t.__qripple;o&&(o.enabled=!1!==n,o.modifiers={stop:r,center:s})},unbind:function(t,e){var n=e.modifiers,i=t.__qripple;i&&!s(n)&&(t.removeEventListener("click",i.click,!1),t.removeEventListener("keyup",i.keyup,!1),delete t.__qripple)}}},1528:function(t,e,n){"use strict";n.d(e,"b",function(){return s}),n.d(e,"a",function(){return o}),n.d(e,"e",function(){return l}),n.d(e,"c",function(){return u}),n.d(e,"d",function(){return h});n("6762"),n("2fdb");var i,r=n("abcf");function s(t){return t.closest(".scroll,.scroll-y,.overflow-auto")||window}function o(t){return t===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:t.scrollTop}function a(t,e,n){var i=o(t);n<=0?i!==e&&c(t,e):requestAnimationFrame(function(){var r=i+(e-i)/Math.max(16,n)*16;c(t,r),r!==e&&a(t,e,n-16)})}function c(t,e){if(t===window)return document.documentElement.scrollTop=e,void(document.body.scrollTop=e);t.scrollTop=e}function l(t,e,n){n?a(t,e,n):c(t,e)}function u(){if(void 0!==i)return i;var t=document.createElement("p"),e=document.createElement("div");Object(r["a"])(t,{width:"100%",height:"200px"}),Object(r["a"])(e,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var n=t.offsetWidth;e.style.overflow="scroll";var s=t.offsetWidth;return n===s&&(s=e.clientWidth),e.remove(),i=n-s,i}function h(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!(!t||t.nodeType!==Node.ELEMENT_NODE)&&(e?t.scrollHeight>t.clientHeight&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"])):t.scrollWidth>t.clientWidth&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-x"])))}},1548:function(t,e,n){"use strict";var i=n("3fb5"),r=n("ada0").EventEmitter,s=function(){};function o(t,e){s(t),r.call(this);var n=this;this.bufferPosition=0,this.xo=new e("POST",t,null),this.xo.on("chunk",this._chunkHandler.bind(this)),this.xo.once("finish",function(t,e){s("finish",t,e),n._chunkHandler(t,e),n.xo=null;var i=200===t?"network":"permanent";s("close",i),n.emit("close",null,i),n._cleanup()})}i(o,r),o.prototype._chunkHandler=function(t,e){if(s("_chunkHandler",t),200===t&&e)for(var n=-1;;this.bufferPosition+=n+1){var i=e.slice(this.bufferPosition);if(n=i.indexOf("\n"),-1===n)break;var r=i.slice(0,n);r&&(s("message",r),this.emit("message",r))}},o.prototype._cleanup=function(){s("_cleanup"),this.removeAllListeners()},o.prototype.abort=function(){s("abort"),this.xo&&(this.xo.close(),s("close"),this.emit("close",null,"user"),this.xo=null),this._cleanup()},t.exports=o},"15f1":function(t,e,n){},1625:function(t,e,n){},1654:function(t,e,n){"use strict";var i=n("71c1")(!0);n("30f1")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},"167b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}});return e})},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},1696:function(t,e,n){"use strict";t.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"===typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var i=42;for(e in t[e]=i,t)return!1;if("function"===typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(t,e);if(s.value!==i||!0!==s.enumerable)return!1}return!0}},1731:function(t,e,n){"use strict";e["a"]={name:"QBtnGroup",props:{outline:Boolean,flat:Boolean,rounded:Boolean,push:Boolean},computed:{classes:function(){var t=this;return["outline","flat","rounded","push"].filter(function(e){return t[e]}).map(function(t){return"q-btn-group-".concat(t)}).join(" ")}},render:function(t){return t("div",{staticClass:"q-btn-group row no-wrap inline",class:this.classes},this.$slots.default)}}},"177b":function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return r}),n.d(e,"c",function(){return s}),n.d(e,"d",function(){return o});function i(t){return t.charAt(0).toUpperCase()+t.slice(1)}function r(t,e,n){return n<=e?e:Math.min(n,Math.max(e,t))}function s(t,e,n){if(n<=e)return e;var i=n-e+1,r=e+(t-e)%i;return r1&&void 0!==arguments[1]?arguments[1]:2,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",i=""+t;return i.length>=e?i:new Array(e-i.length+1).join(n)+i}},1816:function(t,e,n){"use strict";(function(e){var i=n("440d"),r=n("9c59"),s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,o=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i,a="[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]",c=new RegExp("^"+a+"+");function l(t){return(t||"").toString().replace(c,"")}var u=[["#","hash"],["?","query"],function(t){return t.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],h={hash:1,query:1};function d(t){var n;n="undefined"!==typeof window?window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:{};var i=n.location||{};t=t||i;var r,o={},a=typeof t;if("blob:"===t.protocol)o=new _(unescape(t.pathname),{});else if("string"===a)for(r in o=new _(t,{}),h)delete o[r];else if("object"===a){for(r in t)r in h||(o[r]=t[r]);void 0===o.slashes&&(o.slashes=s.test(t.href))}return o}function f(t){t=l(t);var e=o.exec(t);return{protocol:e[1]?e[1].toLowerCase():"",slashes:!!e[2],rest:e[3]}}function p(t,e){if(""===t)return e;var n=(e||"/").split("/").slice(0,-1).concat(t.split("/")),i=n.length,r=n[i-1],s=!1,o=0;while(i--)"."===n[i]?n.splice(i,1):".."===n[i]?(n.splice(i,1),o++):o&&(0===i&&(s=!0),n.splice(i,1),o--);return s&&n.unshift(""),"."!==r&&".."!==r||n.push(""),n.join("/")}function _(t,e,n){if(t=l(t),!(this instanceof _))return new _(t,e,n);var s,o,a,c,h,m,g=u.slice(),y=typeof e,v=this,b=0;for("object"!==y&&"string"!==y&&(n=e,e=null),n&&"function"!==typeof n&&(n=r.parse),e=d(e),o=f(t||""),s=!o.protocol&&!o.slashes,v.slashes=o.slashes||s&&e.slashes,v.protocol=o.protocol||e.protocol||"",t=o.rest,o.slashes||(g[3]=[/(.*)/,"pathname"]);bn)e.push(arguments[n++]);return g[++m]=function(){a("function"==typeof t?t:Function(t),e)},i(m),m},f=function(t){delete g[t]},"process"==n("2d95")(h)?i=function(t){h.nextTick(o(v,t,1))}:_&&_.now?i=function(t){_.now(o(v,t,1))}:p?(r=new p,s=r.port2,r.port1.onmessage=b,i=o(s.postMessage,s,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(t){u.postMessage(t+"","*")},u.addEventListener("message",b,!1)):i=y in l("script")?function(t){c.appendChild(l("script"))[y]=function(){c.removeChild(this),v.call(t)}}:function(t){setTimeout(o(v,t,1),0)}),t.exports={set:d,clear:f}},1992:function(t,e,n){},"19aa":function(t){t.exports={a:"0.17.20"}},"1af9":function(t,e,n){"use strict";n.d(e,"b",function(){return f});var i=n("1e8d"),r=n("01d4"),s=n("1300"),o=n("e269"),a=n("5564"),c=n("df4c"),l=n("38f3"),u=n("070d"),h=n("6d83"),d=function(t){function e(e){var n=Object(l["a"])({},e);delete n.source,t.call(this,n),this.mapPrecomposeKey_=null,this.mapRenderKey_=null,this.sourceChangeKey_=null,e.map&&this.setMap(e.map),Object(i["a"])(this,Object(o["b"])(c["a"].SOURCE),this.handleSourcePropertyChange_,this);var r=e.source?e.source:null;this.setSource(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getLayersArray=function(t){var e=t||[];return e.push(this),e},e.prototype.getLayerStatesArray=function(t){var e=t||[];return e.push(this.getLayerState()),e},e.prototype.getSource=function(){var t=this.get(c["a"].SOURCE);return t||null},e.prototype.getSourceState=function(){var t=this.getSource();return t?t.getState():h["a"].UNDEFINED},e.prototype.handleSourceChange_=function(){this.changed()},e.prototype.handleSourcePropertyChange_=function(){this.sourceChangeKey_&&(Object(i["e"])(this.sourceChangeKey_),this.sourceChangeKey_=null);var t=this.getSource();t&&(this.sourceChangeKey_=Object(i["a"])(t,r["a"].CHANGE,this.handleSourceChange_,this)),this.changed()},e.prototype.setMap=function(t){this.mapPrecomposeKey_&&(Object(i["e"])(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(Object(i["e"])(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=Object(i["a"])(t,u["a"].PRECOMPOSE,function(t){var e=t,n=this.getLayerState();n.managed=!1,void 0===this.getZIndex()&&(n.zIndex=1/0),e.frameState.layerStatesArray.push(n),e.frameState.layerStates[Object(s["c"])(this)]=n},this),this.mapRenderKey_=Object(i["a"])(this,r["a"].CHANGE,t.render,t),this.changed())},e.prototype.setSource=function(t){this.set(c["a"].SOURCE,t)},e}(a["a"]);function f(t,e){return t.visible&&e>=t.minResolution&&e=t.getNumPoints()&&null===s)return null;let a=t.getCoordinate(o);null!==s&&s.segmentIndex===n.segmentIndex&&(a=s.coord);const c=new i["a"](t,n.coord,a,new r["a"](t.getLabel()));e.add(c)}createEdgeEndForPrev(t,e,n,s){let o=n.segmentIndex;if(0===n.dist){if(0===o)return null;o--}let a=t.getCoordinate(o);null!==s&&s.segmentIndex>=o&&(a=s.coord);const c=new r["a"](t.getLabel());c.flip();const l=new i["a"](t,n.coord,a,c);e.add(l)}computeEdgeEnds(){if(1===arguments.length){const t=arguments[0],e=new s["a"];for(let n=t;n.hasNext();){const t=n.next();this.computeEdgeEnds(t,e)}return e}if(2===arguments.length){const t=arguments[0],e=arguments[1],n=t.getEdgeIntersectionList();n.addEndpoints();const i=n.iterator();let r=null,s=null;if(!i.hasNext())return null;let o=i.next();do{r=s,s=o,o=null,i.hasNext()&&(o=i.next()),null!==s&&(this.createEdgeEndForPrev(t,e,s,r),this.createEdgeEndForNext(t,e,s,o))}while(null!==s)}}}},"1bc3":function(t,e,n){var i=n("f772");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"1c48":function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return s}),n.d(e,"e",function(){return o}),n.d(e,"c",function(){return c}),n.d(e,"d",function(){return l});var i=n("7fc9");function r(t,e,n,r,s,o,a){var c=(n-e)/r;if(c<3){for(;e0){for(var d=u.pop(),f=u.pop(),p=0,_=t[f],m=t[f+1],g=t[d],y=t[d+1],v=f+r;vp&&(h=v,p=w)}p>s&&(l[(h-e)/r]=1,f+r0&&m>p)&&(_<0&&g<_||_==g||_>0&&g>_)?(c=d,l=f):(s[a++]=c,s[a++]=l,u=c,h=l,c=d,l=f)}}return s[a++]=c,s[a++]=l,a}function c(t,e,n,i,r,s,o,c){for(var l=0,u=n.length;l=3&&t%100<=10?3:t%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(t){return function(e,r,s,o){var a=n(e),c=i[t][n(e)];return 2===a&&(c=c[r?0:1]),c.replace(/%d/i,e)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],o=t.defineLocale("ar-ly",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return o})},"1d1d":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("a272");function r(){}r.NaN=NaN,r.isNaN=(t=>Number.isNaN(t)),r.isInfinite=(t=>!Number.isFinite(t)),r.MAX_VALUE=Number.MAX_VALUE,"function"===typeof Float64Array&&"function"===typeof Int32Array?function(){const t=2146435072,e=1048575,n=new Float64Array(1),s=new Int32Array(n.buffer);r.doubleToLongBits=function(r){n[0]=r;let o=0|s[0],a=0|s[1];return(a&t)===t&&0!==(a&e)&&0!==o&&(o=0,a=2146959360),new i["a"](a,o)},r.longBitsToDouble=function(t){return s[0]=t.low,s[1]=t.high,n[0]}}():function(){const t=1023,e=Math.log2,n=Math.floor,s=Math.pow,o=function(){for(let t=53;t>0;t--){const i=s(2,t)-1;if(n(e(i))+1===t)return i}return 0}();r.doubleToLongBits=function(r){let a,c,l,u,h,d,f,p,_;if(r<0||1/r===Number.NEGATIVE_INFINITY?(d=1<<31,r=-r):d=0,0===r)return _=0,p=d,new i["a"](p,_);if(r===1/0)return _=0,p=2146435072|d,new i["a"](p,_);if(r!==r)return _=0,p=2146959360,new i["a"](p,_);if(u=0,_=0,a=n(r),a>1)if(a<=o)u=n(e(a)),u<=20?(_=0,p=a<<20-u&1048575):(l=u-20,c=s(2,l),_=a%c<<32-l,p=a/c&1048575);else for(l=a,_=0;;){if(c=l/2,l=n(c),0===l)break;u++,_>>>=1,_|=(1&p)<<31,p>>>=1,c!==l&&(p|=524288)}if(f=u+t,h=0===a,a=r-a,u<52&&0!==a)for(l=0;;){if(c=2*a,c>=1?(a=c-1,h?(f--,h=!1):(l<<=1,l|=1,u++)):(a=c,h?0===--f&&(u++,h=!1):(l<<=1,u++)),20===u)p|=l,l=0;else if(52===u){_|=l;break}if(1===c){u<20?p|=l<<20-u:u<52&&(_|=l<<52-u);break}}return p|=f<<20,p|=d,new i["a"](p,_)},r.longBitsToDouble=function(e){let n,i,r,o;const a=e.high,c=e.low,l=a&1<<31?-1:1;for(r=((2146435072&a)>>20)-t,o=0,i=1<<19,n=1;n<=20;n++)a&i&&(o+=s(2,-n)),i>>>=1;for(i=1<<31,n=21;n<=52;n++)c&i&&(o+=s(2,-n)),i>>>=1;if(r===-t){if(0===o)return 0*l;r=-1022}else{if(r===t+1)return 0===o?l/0:NaN;o+=1}return l*o*s(2,r)}}()},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var i=n===e?0:4-n%4;return[n,i]}function u(t){var e=l(t),n=e[0],i=e[1];return 3*(n+i)/4-i}function h(t,e,n){return 3*(e+n)/4-n}function d(t){var e,n,i=l(t),o=i[0],a=i[1],c=new s(h(t,o,a)),u=0,d=a>0?o-4:o;for(n=0;n>16&255,c[u++]=e>>8&255,c[u++]=255&e;return 2===a&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,c[u++]=255&e),1===a&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,c[u++]=e>>8&255,c[u++]=255&e),c}function f(t){return i[t>>18&63]+i[t>>12&63]+i[t>>6&63]+i[63&t]}function p(t,e,n){for(var i,r=[],s=e;sc?c:a+o));return 1===r?(e=t[n-1],s.push(i[e>>2]+i[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],s.push(i[e>>10]+i[e>>4&63]+i[e<<2&63]+"=")),s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},"1fc1":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(t){return function(e,r,s,o){var a=n(e),c=i[t][n(e)];return 2===a&&(c=c[r?0:1]),c.replace(/%d/i,e)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],o=t.defineLocale("ar-ly",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return o})},"1d1d":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("a272");function r(){}r.NaN=NaN,r.isNaN=(t=>Number.isNaN(t)),r.isInfinite=(t=>!Number.isFinite(t)),r.MAX_VALUE=Number.MAX_VALUE,r.POSITIVE_INFINITY=Number.POSITIVE_INFINITY,r.NEGATIVE_INFINITY=Number.NEGATIVE_INFINITY,"function"===typeof Float64Array&&"function"===typeof Int32Array?function(){const t=2146435072,e=1048575,n=new Float64Array(1),s=new Int32Array(n.buffer);r.doubleToLongBits=function(r){n[0]=r;let o=0|s[0],a=0|s[1];return(a&t)===t&&0!==(a&e)&&0!==o&&(o=0,a=2146959360),new i["a"](a,o)},r.longBitsToDouble=function(t){return s[0]=t.low,s[1]=t.high,n[0]}}():function(){const t=1023,e=Math.log2,n=Math.floor,s=Math.pow,o=function(){for(let t=53;t>0;t--){const i=s(2,t)-1;if(n(e(i))+1===t)return i}return 0}();r.doubleToLongBits=function(r){let a,c,l,u,h,d,f,p,_;if(r<0||1/r===Number.NEGATIVE_INFINITY?(d=1<<31,r=-r):d=0,0===r)return _=0,p=d,new i["a"](p,_);if(r===1/0)return _=0,p=2146435072|d,new i["a"](p,_);if(r!==r)return _=0,p=2146959360,new i["a"](p,_);if(u=0,_=0,a=n(r),a>1)if(a<=o)u=n(e(a)),u<=20?(_=0,p=a<<20-u&1048575):(l=u-20,c=s(2,l),_=a%c<<32-l,p=a/c&1048575);else for(l=a,_=0;;){if(c=l/2,l=n(c),0===l)break;u++,_>>>=1,_|=(1&p)<<31,p>>>=1,c!==l&&(p|=524288)}if(f=u+t,h=0===a,a=r-a,u<52&&0!==a)for(l=0;;){if(c=2*a,c>=1?(a=c-1,h?(f--,h=!1):(l<<=1,l|=1,u++)):(a=c,h?0===--f&&(u++,h=!1):(l<<=1,u++)),20===u)p|=l,l=0;else if(52===u){_|=l;break}if(1===c){u<20?p|=l<<20-u:u<52&&(_|=l<<52-u);break}}return p|=f<<20,p|=d,new i["a"](p,_)},r.longBitsToDouble=function(e){let n,i,r,o;const a=e.high,c=e.low,l=a&1<<31?-1:1;for(r=((2146435072&a)>>20)-t,o=0,i=1<<19,n=1;n<=20;n++)a&i&&(o+=s(2,-n)),i>>>=1;for(i=1<<31,n=21;n<=52;n++)c&i&&(o+=s(2,-n)),i>>>=1;if(r===-t){if(0===o)return 0*l;r=-1022}else{if(r===t+1)return 0===o?l/0:NaN;o+=1}return l*o*s(2,r)}}()},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var i=n===e?0:4-n%4;return[n,i]}function u(t){var e=l(t),n=e[0],i=e[1];return 3*(n+i)/4-i}function h(t,e,n){return 3*(e+n)/4-n}function d(t){var e,n,i=l(t),o=i[0],a=i[1],c=new s(h(t,o,a)),u=0,d=a>0?o-4:o;for(n=0;n>16&255,c[u++]=e>>8&255,c[u++]=255&e;return 2===a&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,c[u++]=255&e),1===a&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,c[u++]=e>>8&255,c[u++]=255&e),c}function f(t){return i[t>>18&63]+i[t>>12&63]+i[t>>6&63]+i[63&t]}function p(t,e,n){for(var i,r=[],s=e;sc?c:a+o));return 1===r?(e=t[n-1],s.push(i[e>>2]+i[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],s.push(i[e>>10]+i[e>>4&63]+i[e<<2&63]+"=")),s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},"1fc1":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration function e(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,i){var r={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===i?n?"хвіліна":"хвіліну":"h"===i?n?"гадзіна":"гадзіну":t+" "+e(r[i],+t)}var i=t.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночы":t<12?"раніцы":t<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!==2&&t%10!==3||t%100===12||t%100===13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}});return i})},"1fd4":function(t,e,n){},"1fe0":function(t,e,n){"use strict";e["a"]=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,i=arguments.length>2?arguments[2]:void 0;function r(){for(var r=this,s=arguments.length,o=new Array(s),a=0;a=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],function(t){c.headers[t]={}}),i.forEach(["post","put","patch"],function(t){c.headers[t]=i.merge(s)}),t.exports=c}).call(this,n("4362"))},"24c5":function(t,e,n){"use strict";var i,r,s,o,a=n("b8e3"),c=n("e53d"),l=n("d864"),u=n("40c3"),h=n("63b6"),d=n("f772"),f=n("79aa"),p=n("1173"),_=n("a22a"),m=n("f201"),g=n("4178").set,y=n("aba2")(),v=n("656e"),b=n("4439"),M=n("bc13"),w=n("cd78"),x="Promise",L=c.TypeError,E=c.process,T=E&&E.versions,S=T&&T.v8||"",O=c[x],k="process"==u(E),C=function(){},I=r=v.f,D=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[n("5168")("species")]=function(t){t(C,C)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(C)instanceof e&&0!==S.indexOf("6.6")&&-1===M.indexOf("Chrome/66")}catch(t){}}(),Y=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){var i=t._v,r=1==t._s,s=0,o=function(e){var n,s,o,a=r?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{a?(r||(2==t._h&&P(t),t._h=1),!0===a?n=i:(u&&u.enter(),n=a(i),u&&(u.exit(),o=!0)),n===e.promise?l(L("Promise-chain cycle")):(s=Y(n))?s.call(n,c,l):c(n)):l(i)}catch(t){u&&!o&&u.exit(),l(t)}};while(n.length>s)o(n[s++]);t._c=[],t._n=!1,e&&!t._h&&A(t)})}},A=function(t){g.call(c,function(){var e,n,i,r=t._v,s=N(t);if(s&&(e=b(function(){k?E.emit("unhandledRejection",r,t):(n=c.onunhandledrejection)?n({promise:t,reason:r}):(i=c.console)&&i.error&&i.error("Unhandled promise rejection",r)}),t._h=k||N(t)?2:1),t._a=void 0,s&&e.e)throw e.v})},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},P=function(t){g.call(c,function(){var e;k?E.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},j=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),R(e,!0))},F=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw L("Promise can't be resolved itself");(e=Y(t))?y(function(){var i={_w:n,_d:!1};try{e.call(t,l(F,i,1),l(j,i,1))}catch(t){j.call(i,t)}}):(n._v=t,n._s=1,R(n,!1))}catch(t){j.call({_w:n,_d:!1},t)}}};D||(O=function(t){p(this,O,x,"_h"),f(t),i.call(this);try{t(l(F,this,1),l(j,this,1))}catch(t){j.call(this,t)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n("5c95")(O.prototype,{then:function(t,e){var n=I(m(this,O));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=k?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),s=function(){var t=new i;this.promise=t,this.resolve=l(F,t,1),this.reject=l(j,t,1)},v.f=I=function(t){return t===O||t===o?new s(t):r(t)}),h(h.G+h.W+h.F*!D,{Promise:O}),n("45f2")(O,x),n("4c95")(x),o=n("584a")[x],h(h.S+h.F*!D,x,{reject:function(t){var e=I(this),n=e.reject;return n(t),e.promise}}),h(h.S+h.F*(a||!D),x,{resolve:function(t){return w(a&&this===o?O:this,t)}}),h(h.S+h.F*!(D&&n("4ee1")(function(t){O.all(t)["catch"](C)})),x,{all:function(t){var e=this,n=I(e),i=n.resolve,r=n.reject,s=b(function(){var n=[],s=0,o=1;_(t,!1,function(t){var a=s++,c=!1;n.push(void 0),o++,e.resolve(t).then(function(t){c||(c=!0,n[a]=t,--o||i(n))},r)}),--o||i(n)});return s.e&&r(s.v),n.promise},race:function(t){var e=this,n=I(e),i=n.reject,r=b(function(){_(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},2513:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{filter(t){}}},2554:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],r=t.defineLocale("ku",{months:i,monthsShort:i,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(t){return/ئێواره‌/.test(t)},meridiem:function(t,e,n){return t<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return n[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return r})},2444:function(t,e,n){"use strict";(function(e){var i=n("c532"),r=n("c8af"),s={"Content-Type":"application/x-www-form-urlencoded"};function o(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function a(){var t;return"undefined"!==typeof XMLHttpRequest?t=n("b50d"):"undefined"!==typeof e&&(t=n("b50d")),t}var c={adapter:a(),transformRequest:[function(t,e){return r(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(o(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)?(o(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],function(t){c.headers[t]={}}),i.forEach(["post","put","patch"],function(t){c.headers[t]=i.merge(s)}),t.exports=c}).call(this,n("4362"))},"24c5":function(t,e,n){"use strict";var i,r,s,o,a=n("b8e3"),c=n("e53d"),l=n("d864"),u=n("40c3"),h=n("63b6"),d=n("f772"),f=n("79aa"),p=n("1173"),_=n("a22a"),m=n("f201"),g=n("4178").set,y=n("aba2")(),v=n("656e"),b=n("4439"),M=n("bc13"),w=n("cd78"),x="Promise",L=c.TypeError,E=c.process,T=E&&E.versions,S=T&&T.v8||"",O=c[x],k="process"==u(E),C=function(){},I=r=v.f,D=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[n("5168")("species")]=function(t){t(C,C)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(C)instanceof e&&0!==S.indexOf("6.6")&&-1===M.indexOf("Chrome/66")}catch(t){}}(),Y=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){var i=t._v,r=1==t._s,s=0,o=function(e){var n,s,o,a=r?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{a?(r||(2==t._h&&P(t),t._h=1),!0===a?n=i:(u&&u.enter(),n=a(i),u&&(u.exit(),o=!0)),n===e.promise?l(L("Promise-chain cycle")):(s=Y(n))?s.call(n,c,l):c(n)):l(i)}catch(t){u&&!o&&u.exit(),l(t)}};while(n.length>s)o(n[s++]);t._c=[],t._n=!1,e&&!t._h&&N(t)})}},N=function(t){g.call(c,function(){var e,n,i,r=t._v,s=A(t);if(s&&(e=b(function(){k?E.emit("unhandledRejection",r,t):(n=c.onunhandledrejection)?n({promise:t,reason:r}):(i=c.console)&&i.error&&i.error("Unhandled promise rejection",r)}),t._h=k||A(t)?2:1),t._a=void 0,s&&e.e)throw e.v})},A=function(t){return 1!==t._h&&0===(t._a||t._c).length},P=function(t){g.call(c,function(){var e;k?E.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},j=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),R(e,!0))},F=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw L("Promise can't be resolved itself");(e=Y(t))?y(function(){var i={_w:n,_d:!1};try{e.call(t,l(F,i,1),l(j,i,1))}catch(t){j.call(i,t)}}):(n._v=t,n._s=1,R(n,!1))}catch(t){j.call({_w:n,_d:!1},t)}}};D||(O=function(t){p(this,O,x,"_h"),f(t),i.call(this);try{t(l(F,this,1),l(j,this,1))}catch(t){j.call(this,t)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n("5c95")(O.prototype,{then:function(t,e){var n=I(m(this,O));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=k?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),s=function(){var t=new i;this.promise=t,this.resolve=l(F,t,1),this.reject=l(j,t,1)},v.f=I=function(t){return t===O||t===o?new s(t):r(t)}),h(h.G+h.W+h.F*!D,{Promise:O}),n("45f2")(O,x),n("4c95")(x),o=n("584a")[x],h(h.S+h.F*!D,x,{reject:function(t){var e=I(this),n=e.reject;return n(t),e.promise}}),h(h.S+h.F*(a||!D),x,{resolve:function(t){return w(a&&this===o?O:this,t)}}),h(h.S+h.F*!(D&&n("4ee1")(function(t){O.all(t)["catch"](C)})),x,{all:function(t){var e=this,n=I(e),i=n.resolve,r=n.reject,s=b(function(){var n=[],s=0,o=1;_(t,!1,function(t){var a=s++,c=!1;n.push(void 0),o++,e.resolve(t).then(function(t){c||(c=!0,n[a]=t,--o||i(n))},r)}),--o||i(n)});return s.e&&r(s.v),n.promise},race:function(t){var e=this,n=I(e),i=n.reject,r=b(function(){_(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},2513:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{filter(t){}}},2554:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration -function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi",i;case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta",i;case"h":return e?"jedan sat":"jednog sata";case"hh":return i+=1===t?"sat":2===t||3===t||4===t?"sata":"sati",i;case"dd":return i+=1===t?"dan":"dana",i;case"MM":return i+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci",i;case"yy":return i+=1===t?"godina":2===t||3===t||4===t?"godine":"godina",i}}var n=t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".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:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. 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:case 3:return"[prošlu] dddd [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:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},"256f":function(t,e,n){"use strict";var i=n("790a"),r=n("0af5"),s=n("7fc9"),o=n("f5dd"),a=n("fced"),c=6378137,l=Math.PI*c,u=[-l,-l,l,l],h=[-180,-85,180,85],d=function(t){function e(e){t.call(this,{code:e,units:a["b"].METERS,extent:u,global:!0,worldExtent:h,getPointResolution:function(t,e){return t/Object(s["b"])(e[1]/c)}})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(o["a"]),f=[new d("EPSG:3857"),new d("EPSG:102100"),new d("EPSG:102113"),new d("EPSG:900913"),new d("urn:ogc:def:crs:EPSG:6.18:3:3857"),new d("urn:ogc:def:crs:EPSG::3857"),new d("http://www.opengis.net/gml/srs/epsg.xml#3857")];function p(t,e,n){var i=t.length,r=n>1?n:2,s=e;void 0===s&&(s=r>2?t.slice():new Array(i));for(var o=l,a=0;ao?u=o:u<-o&&(u=-o),s[a+1]=u}return s}function _(t,e,n){var i=t.length,r=n>1?n:2,s=e;void 0===s&&(s=r>2?t.slice():new Array(i));for(var o=0;o=2;--l)o[a+l]=e[a+l]}return o}}function A(t,e,n,i){var r=k(t),s=k(e);Object(L["a"])(r,s,R(n)),Object(L["a"])(s,r,R(i))}function N(t,e){if(t===e)return!0;var n=t.getUnits()===e.getUnits();if(t.getCode()===e.getCode())return n;var i=P(t,e);return i===E&&n}function P(t,e){var n=t.getCode(),i=e.getCode(),r=Object(L["c"])(n,i);return r||(r=T),r}function j(t,e){var n=k(t),i=k(e);return P(n,i)}function F(t,e,n){var i=j(e,n);return i(t,void 0,t.length)}function H(t,e,n){var i=j(e,n);return Object(r["a"])(t,i)}function G(){I(f),I(b),D(b,f,p,_)}n.d(e,"k",function(){return T}),n.d(e,"d",function(){return S}),n.d(e,"g",function(){return k}),n.d(e,"h",function(){return C}),n.d(e,"c",function(){return I}),n.d(e,"e",function(){return Y}),n.d(e,"b",function(){return A}),n.d(e,"f",function(){return N}),n.d(e,"j",function(){return P}),n.d(e,"i",function(){return j}),n.d(e,"l",function(){return F}),n.d(e,"m",function(){return H}),n.d(e,"a",function(){return a["a"]}),G()},2577:function(t,e,n){},2582:function(t,e,n){"use strict";var i=n("cfe6"),r="abcdefghijklmnopqrstuvwxyz012345";t.exports={string:function(t){for(var e=r.length,n=i.randomBytes(t),s=[],o=0;os&&(l-a)*(s-c)-(r-a)*(u-c)>0&&o++:u<=s&&(l-a)*(s-c)-(r-a)*(u-c)<0&&o--,a=l,c=u}return 0!==o}function o(t,e,n,i,r,o){if(0===n.length)return!1;if(!s(t,e,n[0],i,r,o))return!1;for(var a=1,c=n.length;ae._xValue?1:this._eventTypee._eventType?1:0}getInsertEvent(){return this._insertEvent}isInsert(){return this._eventType===m.INSERT}isSameLabel(t){return null!==this._label&&this._label===t._label}getDeleteEventIndex(){return this._deleteEventIndex}get interfaces_(){return[_["a"]]}}m.INSERT=1,m.DELETE=2;class g{}var y=n("7d15");class v{constructor(){v.constructor_.apply(this,arguments)}static constructor_(){this._hasIntersection=!1,this._hasProper=!1,this._hasProperInterior=!1,this._properIntersectionPoint=null,this._li=null,this._includeProper=null,this._recordIsolated=null,this._isSelfIntersection=null,this._numIntersections=0,this.numTests=0,this._bdyNodes=null,this._isDone=!1,this._isDoneWhenProperInt=!1;const t=arguments[0],e=arguments[1],n=arguments[2];this._li=t,this._includeProper=e,this._recordIsolated=n}static isAdjacentSegments(t,e){return 1===Math.abs(t-e)}isTrivialIntersection(t,e,n,i){if(t===n&&1===this._li.getIntersectionNum()){if(v.isAdjacentSegments(e,i))return!0;if(t.isClosed()){const n=t.getNumPoints()-1;if(0===e&&i===n||0===i&&e===n)return!0}}return!1}getProperIntersectionPoint(){return this._properIntersectionPoint}setIsDoneIfProperInt(t){this._isDoneWhenProperInt=t}hasProperInteriorIntersection(){return this._hasProperInterior}isBoundaryPointInternal(t,e){for(let n=e.iterator();n.hasNext();){const e=n.next(),i=e.getCoordinate();if(t.isIntersection(i))return!0}return!1}hasProperIntersection(){return this._hasProper}hasIntersection(){return this._hasIntersection}isDone(){return this._isDone}isBoundaryPoint(t,e){return null!==e&&(!!this.isBoundaryPointInternal(t,e[0])||!!this.isBoundaryPointInternal(t,e[1]))}setBoundaryNodes(t,e){this._bdyNodes=new Array(2).fill(null),this._bdyNodes[0]=t,this._bdyNodes[1]=e}addIntersections(t,e,n,i){if(t===n&&e===i)return null;this.numTests++;const r=t.getCoordinates()[e],s=t.getCoordinates()[e+1],o=n.getCoordinates()[i],a=n.getCoordinates()[i+1];this._li.computeIntersection(r,s,o,a),this._li.hasIntersection()&&(this._recordIsolated&&(t.setIsolated(!1),n.setIsolated(!1)),this._numIntersections++,this.isTrivialIntersection(t,e,n,i)||(this._hasIntersection=!0,!this._includeProper&&this._li.isProper()||(t.addIntersections(this._li,e,0),n.addIntersections(this._li,i,1)),this._li.isProper()&&(this._properIntersectionPoint=this._li.getIntersection(0).copy(),this._hasProper=!0,this._isDoneWhenProperInt&&(this._isDone=!0),this.isBoundaryPoint(this._li,this._bdyNodes)||(this._hasProperInterior=!0))))}}var b=n("70d5"),M=n("c8da");class w extends g{constructor(){super(),w.constructor_.apply(this,arguments)}static constructor_(){this.events=new b["a"],this.nOverlaps=null}prepareEvents(){y["a"].sort(this.events);for(let t=0;t=2,"found LineString with single point"),this.insertBoundaryPoint(this._argIndex,e[0]),this.insertBoundaryPoint(this._argIndex,e[e.length-1])}getInvalidPoint(){return this._invalidPoint}getBoundaryPoints(){const t=this.getBoundaryNodes(),e=new Array(t.size()).fill(null);let n=0;for(let i=t.iterator();i.hasNext();){const t=i.next();e[n++]=t.getCoordinate().copy()}return e}getBoundaryNodes(){return null===this._boundaryNodes&&(this._boundaryNodes=this._nodes.getBoundaryNodes(this._argIndex)),this._boundaryNodes}addSelfIntersectionNode(t,e,n){if(this.isBoundaryNode(t,e))return null;n===r["a"].BOUNDARY&&this._useBoundaryDeterminationRule?this.insertBoundaryPoint(t,e):this.insertPoint(t,e,n)}addPolygonRing(t,e,n){if(t.isEmpty())return null;const i=C["a"].removeRepeatedPoints(t.getCoordinates());if(i.length<4)return this._hasTooFewPoints=!0,this._invalidPoint=i[0],null;let s=e,o=n;E["a"].isCCW(i)&&(s=n,o=e);const a=new R["a"](i,new S["a"](this._argIndex,r["a"].BOUNDARY,s,o));this._lineEdgeMap.put(t,a),this.insertEdge(a),this.insertPoint(this._argIndex,i[0],r["a"].BOUNDARY)}insertPoint(t,e,n){const i=this._nodes.addNode(e),r=i.getLabel();null===r?i._label=new S["a"](t,n):r.setLocation(t,n)}createEdgeSetIntersector(){return new w}addSelfIntersectionNodes(t){for(let e=this._edges.iterator();e.hasNext();){const n=e.next(),i=n.getLabel().getLocation(t);for(let e=n.eiList.iterator();e.hasNext();){const n=e.next();this.addSelfIntersectionNode(t,n.coord,i)}}}add(){if(!(1===arguments.length&&arguments[0]instanceof a["a"]))return super.add.apply(this,arguments);{const t=arguments[0];if(t.isEmpty())return null;if(t instanceof T["a"]&&(this._useBoundaryDeterminationRule=!1),t instanceof d["a"])this.addPolygon(t);else if(t instanceof s["a"])this.addLineString(t);else if(t instanceof h["a"])this.addPoint(t);else if(t instanceof f["a"])this.addCollection(t);else if(t instanceof A["a"])this.addCollection(t);else if(t instanceof T["a"])this.addCollection(t);else{if(!(t instanceof O["a"]))throw new k["a"](t.getGeometryType());this.addCollection(t)}}}addCollection(t){for(let e=0;e50?(null===this._areaPtLocator&&(this._areaPtLocator=new D["a"](this._parentGeom)),this._areaPtLocator.locate(t)):this._ptLocator.locate(t,this._parentGeom)}findEdge(){if(1===arguments.length&&arguments[0]instanceof s["a"]){const t=arguments[0];return this._lineEdgeMap.get(t)}return super.findEdge.apply(this,arguments)}}},"26a0":function(t,e,n){"use strict";(function(e){t.exports={isOpera:function(){return e.navigator&&/opera/i.test(e.navigator.userAgent)},isKonqueror:function(){return e.navigator&&/konqueror/i.test(e.navigator.userAgent)},hasDomain:function(){if(!e.document)return!0;try{return!!e.document.domain}catch(t){return!1}}}}).call(this,n("c8ba"))},"26e3":function(t,e,n){"use strict";(function(e){var i=n("3fb5"),r=n("9f3a"),s=n("d5e5");t.exports=function(t){function n(e,n){r.call(this,t.transportName,e,n)}return i(n,r),n.enabled=function(n,i){if(!e.document)return!1;var o=s.extend({},i);return o.sameOrigin=!0,t.enabled(o)&&r.enabled()},n.transportName="iframe-"+t.transportName,n.needBody=!0,n.roundTrips=r.roundTrips+t.roundTrips-1,n.facadeTransport=t,n}}).call(this,n("c8ba"))},"26f9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi",i;case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta",i;case"h":return e?"jedan sat":"jednog sata";case"hh":return i+=1===t?"sat":2===t||3===t||4===t?"sata":"sati",i;case"dd":return i+=1===t?"dan":"dana",i;case"MM":return i+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci",i;case"yy":return i+=1===t?"godina":2===t||3===t||4===t?"godine":"godina",i}}var n=t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".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:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. 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:case 3:return"[prošlu] dddd [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:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},"256f":function(t,e,n){"use strict";var i=n("790a"),r=n("0af5"),s=n("7fc9"),o=n("f5dd"),a=n("fced"),c=6378137,l=Math.PI*c,u=[-l,-l,l,l],h=[-180,-85,180,85],d=function(t){function e(e){t.call(this,{code:e,units:a["b"].METERS,extent:u,global:!0,worldExtent:h,getPointResolution:function(t,e){return t/Object(s["b"])(e[1]/c)}})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(o["a"]),f=[new d("EPSG:3857"),new d("EPSG:102100"),new d("EPSG:102113"),new d("EPSG:900913"),new d("urn:ogc:def:crs:EPSG:6.18:3:3857"),new d("urn:ogc:def:crs:EPSG::3857"),new d("http://www.opengis.net/gml/srs/epsg.xml#3857")];function p(t,e,n){var i=t.length,r=n>1?n:2,s=e;void 0===s&&(s=r>2?t.slice():new Array(i));for(var o=l,a=0;ao?u=o:u<-o&&(u=-o),s[a+1]=u}return s}function _(t,e,n){var i=t.length,r=n>1?n:2,s=e;void 0===s&&(s=r>2?t.slice():new Array(i));for(var o=0;o=2;--l)o[a+l]=e[a+l]}return o}}function N(t,e,n,i){var r=k(t),s=k(e);Object(L["a"])(r,s,R(n)),Object(L["a"])(s,r,R(i))}function A(t,e){if(t===e)return!0;var n=t.getUnits()===e.getUnits();if(t.getCode()===e.getCode())return n;var i=P(t,e);return i===E&&n}function P(t,e){var n=t.getCode(),i=e.getCode(),r=Object(L["c"])(n,i);return r||(r=T),r}function j(t,e){var n=k(t),i=k(e);return P(n,i)}function F(t,e,n){var i=j(e,n);return i(t,void 0,t.length)}function H(t,e,n){var i=j(e,n);return Object(r["a"])(t,i)}function G(){I(f),I(b),D(b,f,p,_)}n.d(e,"k",function(){return T}),n.d(e,"d",function(){return S}),n.d(e,"g",function(){return k}),n.d(e,"h",function(){return C}),n.d(e,"c",function(){return I}),n.d(e,"e",function(){return Y}),n.d(e,"b",function(){return N}),n.d(e,"f",function(){return A}),n.d(e,"j",function(){return P}),n.d(e,"i",function(){return j}),n.d(e,"l",function(){return F}),n.d(e,"m",function(){return H}),n.d(e,"a",function(){return a["a"]}),G()},2577:function(t,e,n){},2582:function(t,e,n){"use strict";var i=n("cfe6"),r="abcdefghijklmnopqrstuvwxyz012345";t.exports={string:function(t){for(var e=r.length,n=i.randomBytes(t),s=[],o=0;os&&(l-a)*(s-c)-(r-a)*(u-c)>0&&o++:u<=s&&(l-a)*(s-c)-(r-a)*(u-c)<0&&o--,a=l,c=u}return 0!==o}function o(t,e,n,i,r,o){if(0===n.length)return!1;if(!s(t,e,n[0],i,r,o))return!1;for(var a=1,c=n.length;ae._xValue?1:this._eventTypee._eventType?1:0}getInsertEvent(){return this._insertEvent}isInsert(){return this._eventType===m.INSERT}isSameLabel(t){return null!==this._label&&this._label===t._label}getDeleteEventIndex(){return this._deleteEventIndex}get interfaces_(){return[_["a"]]}}m.INSERT=1,m.DELETE=2;class g{}var y=n("7d15");class v{constructor(){v.constructor_.apply(this,arguments)}static constructor_(){this._hasIntersection=!1,this._hasProper=!1,this._hasProperInterior=!1,this._properIntersectionPoint=null,this._li=null,this._includeProper=null,this._recordIsolated=null,this._isSelfIntersection=null,this._numIntersections=0,this.numTests=0,this._bdyNodes=null,this._isDone=!1,this._isDoneWhenProperInt=!1;const t=arguments[0],e=arguments[1],n=arguments[2];this._li=t,this._includeProper=e,this._recordIsolated=n}static isAdjacentSegments(t,e){return 1===Math.abs(t-e)}isTrivialIntersection(t,e,n,i){if(t===n&&1===this._li.getIntersectionNum()){if(v.isAdjacentSegments(e,i))return!0;if(t.isClosed()){const n=t.getNumPoints()-1;if(0===e&&i===n||0===i&&e===n)return!0}}return!1}getProperIntersectionPoint(){return this._properIntersectionPoint}setIsDoneIfProperInt(t){this._isDoneWhenProperInt=t}hasProperInteriorIntersection(){return this._hasProperInterior}isBoundaryPointInternal(t,e){for(let n=e.iterator();n.hasNext();){const e=n.next(),i=e.getCoordinate();if(t.isIntersection(i))return!0}return!1}hasProperIntersection(){return this._hasProper}hasIntersection(){return this._hasIntersection}isDone(){return this._isDone}isBoundaryPoint(t,e){return null!==e&&(!!this.isBoundaryPointInternal(t,e[0])||!!this.isBoundaryPointInternal(t,e[1]))}setBoundaryNodes(t,e){this._bdyNodes=new Array(2).fill(null),this._bdyNodes[0]=t,this._bdyNodes[1]=e}addIntersections(t,e,n,i){if(t===n&&e===i)return null;this.numTests++;const r=t.getCoordinates()[e],s=t.getCoordinates()[e+1],o=n.getCoordinates()[i],a=n.getCoordinates()[i+1];this._li.computeIntersection(r,s,o,a),this._li.hasIntersection()&&(this._recordIsolated&&(t.setIsolated(!1),n.setIsolated(!1)),this._numIntersections++,this.isTrivialIntersection(t,e,n,i)||(this._hasIntersection=!0,!this._includeProper&&this._li.isProper()||(t.addIntersections(this._li,e,0),n.addIntersections(this._li,i,1)),this._li.isProper()&&(this._properIntersectionPoint=this._li.getIntersection(0).copy(),this._hasProper=!0,this._isDoneWhenProperInt&&(this._isDone=!0),this.isBoundaryPoint(this._li,this._bdyNodes)||(this._hasProperInterior=!0))))}}var b=n("70d5"),M=n("c8da");class w extends g{constructor(){super(),w.constructor_.apply(this,arguments)}static constructor_(){this.events=new b["a"],this.nOverlaps=null}prepareEvents(){y["a"].sort(this.events);for(let t=0;t=2,"found LineString with single point"),this.insertBoundaryPoint(this._argIndex,e[0]),this.insertBoundaryPoint(this._argIndex,e[e.length-1])}getInvalidPoint(){return this._invalidPoint}getBoundaryPoints(){const t=this.getBoundaryNodes(),e=new Array(t.size()).fill(null);let n=0;for(let i=t.iterator();i.hasNext();){const t=i.next();e[n++]=t.getCoordinate().copy()}return e}getBoundaryNodes(){return null===this._boundaryNodes&&(this._boundaryNodes=this._nodes.getBoundaryNodes(this._argIndex)),this._boundaryNodes}addSelfIntersectionNode(t,e,n){if(this.isBoundaryNode(t,e))return null;n===r["a"].BOUNDARY&&this._useBoundaryDeterminationRule?this.insertBoundaryPoint(t,e):this.insertPoint(t,e,n)}addPolygonRing(t,e,n){if(t.isEmpty())return null;const i=C["a"].removeRepeatedPoints(t.getCoordinates());if(i.length<4)return this._hasTooFewPoints=!0,this._invalidPoint=i[0],null;let s=e,o=n;E["a"].isCCW(i)&&(s=n,o=e);const a=new R["a"](i,new S["a"](this._argIndex,r["a"].BOUNDARY,s,o));this._lineEdgeMap.put(t,a),this.insertEdge(a),this.insertPoint(this._argIndex,i[0],r["a"].BOUNDARY)}insertPoint(t,e,n){const i=this._nodes.addNode(e),r=i.getLabel();null===r?i._label=new S["a"](t,n):r.setLocation(t,n)}createEdgeSetIntersector(){return new w}addSelfIntersectionNodes(t){for(let e=this._edges.iterator();e.hasNext();){const n=e.next(),i=n.getLabel().getLocation(t);for(let e=n.eiList.iterator();e.hasNext();){const n=e.next();this.addSelfIntersectionNode(t,n.coord,i)}}}add(){if(!(1===arguments.length&&arguments[0]instanceof a["a"]))return super.add.apply(this,arguments);{const t=arguments[0];if(t.isEmpty())return null;if(t instanceof T["a"]&&(this._useBoundaryDeterminationRule=!1),t instanceof d["a"])this.addPolygon(t);else if(t instanceof s["a"])this.addLineString(t);else if(t instanceof h["a"])this.addPoint(t);else if(t instanceof f["a"])this.addCollection(t);else if(t instanceof N["a"])this.addCollection(t);else if(t instanceof T["a"])this.addCollection(t);else{if(!(t instanceof O["a"]))throw new k["a"](t.getGeometryType());this.addCollection(t)}}}addCollection(t){for(let e=0;e50?(null===this._areaPtLocator&&(this._areaPtLocator=new D["a"](this._parentGeom)),this._areaPtLocator.locate(t)):this._ptLocator.locate(t,this._parentGeom)}findEdge(){if(1===arguments.length&&arguments[0]instanceof s["a"]){const t=arguments[0];return this._lineEdgeMap.get(t)}return super.findEdge.apply(this,arguments)}}},"26a0":function(t,e,n){"use strict";(function(e){t.exports={isOpera:function(){return e.navigator&&/opera/i.test(e.navigator.userAgent)},isKonqueror:function(){return e.navigator&&/konqueror/i.test(e.navigator.userAgent)},hasDomain:function(){if(!e.document)return!0;try{return!!e.document.domain}catch(t){return!1}}}}).call(this,n("c8ba"))},"26e3":function(t,e,n){"use strict";(function(e){var i=n("3fb5"),r=n("9f3a"),s=n("d5e5");t.exports=function(t){function n(e,n){r.call(this,t.transportName,e,n)}return i(n,r),n.enabled=function(n,i){if(!e.document)return!1;var o=s.extend({},i);return o.sameOrigin=!0,t.enabled(o)&&r.enabled()},n.transportName="iframe-"+t.transportName,n.needBody=!0,n.roundTrips=r.roundTrips+t.roundTrips-1,n.facadeTransport=t,n}}).call(this,n("c8ba"))},"26f9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration -var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(t,e,n,i){return e?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"}function i(t,e,n,i){return e?s(n)[0]:i?s(n)[1]:s(n)[2]}function r(t){return t%10===0||t>10&&t<20}function s(t){return e[t].split("_")}function o(t,e,n,o){var a=t+" ";return 1===t?a+i(t,e,n[0],o):e?a+(r(t)?s(n)[1]:s(n)[0]):o?a+s(n)[1]:a+(r(t)?s(n)[1]:s(n)[2])}var a=t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:n,ss:o,m:i,mm:o,h:i,hh:o,d:i,dd:o,M:i,MM:o,y:i,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}});return a})},2709:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("7b52"),r=n("38de"),s=n("ad3f"),o=n("6f62"),a=n("8a23"),c=n("cf09");class l{static isOnLine(){if(arguments[0]instanceof s["a"]&&Object(r["a"])(arguments[1],o["a"])){const t=arguments[0],e=arguments[1],n=new a["a"],i=new s["a"],r=new s["a"],o=e.size();for(let s=1;s-1e3&&t<1e3||E.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof t){var i=t<0?-k(-t):k(t);if(i!==t){var r=String(i),s=M.call(e,r.length+1);return w.call(r,n,"$&_")+"."+w.call(w.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return w.call(e,n,"$&_")}var j=n(1).custom,F=j&&X(j)?j:null;function H(t,e,n){var i="double"===(n.quoteStyle||e)?'"':"'";return i+t+i}function G(t){return w.call(String(t),/"/g,""")}function q(t){return"[object Array]"===Q(t)&&(!R||!("object"===typeof t&&R in t))}function z(t){return"[object Date]"===Q(t)&&(!R||!("object"===typeof t&&R in t))}function B(t){return"[object RegExp]"===Q(t)&&(!R||!("object"===typeof t&&R in t))}function $(t){return"[object Error]"===Q(t)&&(!R||!("object"===typeof t&&R in t))}function W(t){return"[object String]"===Q(t)&&(!R||!("object"===typeof t&&R in t))}function U(t){return"[object Number]"===Q(t)&&(!R||!("object"===typeof t&&R in t))}function V(t){return"[object Boolean]"===Q(t)&&(!R||!("object"===typeof t&&R in t))}function X(t){if(Y)return t&&"object"===typeof t&&t instanceof Symbol;if("symbol"===typeof t)return!0;if(!t||"object"!==typeof t||!D)return!1;try{return D.call(t),!0}catch(t){}return!1}function K(t){if(!t||"object"!==typeof t||!C)return!1;try{return C.call(t),!0}catch(t){}return!1}t.exports=function t(e,n,i,r){var a=n||{};if(J(a,"quoteStyle")&&"single"!==a.quoteStyle&&"double"!==a.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(J(a,"maxStringLength")&&("number"===typeof a.maxStringLength?a.maxStringLength<0&&a.maxStringLength!==1/0:null!==a.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!J(a,"customInspect")||a.customInspect;if("boolean"!==typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(J(a,"indent")&&null!==a.indent&&"\t"!==a.indent&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(J(a,"numericSeparator")&&"boolean"!==typeof a.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var h=a.numericSeparator;if("undefined"===typeof e)return"undefined";if(null===e)return"null";if("boolean"===typeof e)return e?"true":"false";if("string"===typeof e)return ct(e,a);if("number"===typeof e){if(0===e)return 1/0/e>0?"0":"-0";var d=String(e);return h?P(e,d):d}if("bigint"===typeof e){var f=String(e)+"n";return h?P(e,f):f}var p="undefined"===typeof a.depth?5:a.depth;if("undefined"===typeof i&&(i=0),i>=p&&p>0&&"object"===typeof e)return q(e)?"[Array]":"[Object]";var _=pt(a,i);if("undefined"===typeof r)r=[];else if(et(r,e)>=0)return"[Circular]";function m(e,n,s){if(n&&(r=O.call(r),r.push(n)),s){var o={depth:a.depth};return J(a,"quoteStyle")&&(o.quoteStyle=a.quoteStyle),t(e,o,i+1,r)}return t(e,a,i+1,r)}if("function"===typeof e){var y=tt(e),v=mt(e,m);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(v.length>0?" { "+S.call(v,", ")+" }":"")}if(X(e)){var b=Y?w.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):D.call(e);return"object"!==typeof e||Y?b:ut(b)}if(at(e)){for(var x="<"+L.call(String(e.nodeName)),E=e.attributes||[],k=0;k",x}if(q(e)){if(0===e.length)return"[]";var I=mt(e,m);return _&&!ft(I)?"["+_t(I,_)+"]":"[ "+S.call(I,", ")+" ]"}if($(e)){var j=mt(e,m);return"cause"in e&&!A.call(e,"cause")?"{ ["+String(e)+"] "+S.call(T.call("[cause]: "+m(e.cause),j),", ")+" }":0===j.length?"["+String(e)+"]":"{ ["+String(e)+"] "+S.call(j,", ")+" }"}if("object"===typeof e&&c){if(F&&"function"===typeof e[F])return e[F]();if("symbol"!==c&&"function"===typeof e.inspect)return e.inspect()}if(nt(e)){var Z=[];return o.call(e,function(t,n){Z.push(m(n,e,!0)+" => "+m(t,e))}),dt("Map",s.call(e),Z,_)}if(st(e)){var lt=[];return u.call(e,function(t){lt.push(m(t,e))}),dt("Set",l.call(e),lt,_)}if(it(e))return ht("WeakMap");if(ot(e))return ht("WeakSet");if(rt(e))return ht("WeakRef");if(U(e))return ut(m(Number(e)));if(K(e))return ut(m(C.call(e)));if(V(e))return ut(g.call(e));if(W(e))return ut(m(String(e)));if(!z(e)&&!B(e)){var gt=mt(e,m),yt=N?N(e)===Object.prototype:e instanceof Object||e.constructor===Object,vt=e instanceof Object?"":"null prototype",bt=!yt&&R&&Object(e)===e&&R in e?M.call(Q(e),8,-1):vt?"Object":"",Mt=yt||"function"!==typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"",wt=Mt+(bt||vt?"["+S.call(T.call([],bt||[],vt||[]),": ")+"] ":"");return 0===gt.length?wt+"{}":_?wt+"{"+_t(gt,_)+"}":wt+"{ "+S.call(gt,", ")+" }"}return String(e)};var Z=Object.prototype.hasOwnProperty||function(t){return t in this};function J(t,e){return Z.call(t,e)}function Q(t){return y.call(t)}function tt(t){if(t.name)return t.name;var e=b.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function et(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;ne.maxStringLength){var n=t.length-e.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return ct(M.call(t,0,e.maxStringLength),e)+i}var r=w.call(w.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lt);return H(r,"single",e)}function lt(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+x.call(e.toString(16))}function ut(t){return"Object("+t+")"}function ht(t){return t+" { ? }"}function dt(t,e,n,i){var r=i?_t(n,i):S.call(n,", ");return t+" ("+e+") {"+r+"}"}function ft(t){for(var e=0;e=0)return!1;return!0}function pt(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"===typeof t.indent&&t.indent>0))return null;n=S.call(Array(t.indent+1)," ")}return{base:n,prev:S.call(Array(e+1),n)}}function _t(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+S.call(t,","+n)+"\n"+e.prev}function mt(t,e){var n=q(t),i=[];if(n){i.length=t.length;for(var r=0;r1||""[f](/.?/)[p]?function(t,e){var r=String(this);if(void 0===t&&0===e)return[];if(!i(t))return n.call(r,t,e);var s,o,a,c=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,f=void 0===e?m:e>>>0,g=new RegExp(t.source,u+"g");while(s=l.call(g,r)){if(o=g[_],o>h&&(c.push(r.slice(h,s.index)),s[p]>1&&s.index=f))break;g[_]===s.index&&g[_]++}return h===r[p]?!a&&g.test("")||c.push(""):c.push(r.slice(h)),c[p]>f?c.slice(0,f):c}:"0"[f](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,i){var r=t(this),s=void 0==n?void 0:n[e];return void 0!==s?s.call(n,r,i):y.call(String(r),n,i)},function(t,e){var i=u(y,t,this,e,y!==n);if(i.done)return i.value;var l=r(t),d=String(this),f=s(l,RegExp),p=l.unicode,_=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(g?"y":"g"),v=new f(g?l:"^(?:"+l.source+")",_),b=void 0===e?m:e>>>0;if(0===b)return[];if(0===d.length)return null===c(v,d)?[d]:[];var M=0,w=0,x=[];while(ws.threshold)s.event.abort=!0;else{if(s.event.detected)return t.stopPropagation(),void t.preventDefault();var e=Object(i["f"])(t),n=e.left-s.event.x,r=Math.abs(n),o=e.top-s.event.y,a=Math.abs(o);r!==a&&(s.event.detected=!0,s.event.abort=!(s.direction.vertical&&ra||s.direction.up&&r0||s.direction.left&&r>a&&n<0||s.direction.right&&r>a&&n>0),s.move(t))}},end:function(e){if(t.classList.remove("q-touch"),!s.event.abort&&s.event.detected){var n=(new Date).getTime()-s.event.time;if(!(n>s.threshold)){e.stopPropagation(),e.preventDefault();var r,o=Object(i["f"])(e),a=o.left-s.event.x,c=Math.abs(a),l=o.top-s.event.y,u=Math.abs(l);if(c>=u){if(c<50)return;r=a<0?"left":"right"}else{if(u<50)return;r=l<0?"up":"down"}s.direction[r]&&s.handler({evt:e,direction:r,duration:n,distance:{x:c,y:u}})}}}};t.__qtouchswipe=s,n&&t.addEventListener("mousedown",s.mouseStart),t.addEventListener("touchstart",s.start),t.addEventListener("touchmove",s.move),t.addEventListener("touchend",s.end)},update:function(t,e){e.oldValue!==e.value&&(t.__qtouchswipe.handler=e.value)},unbind:function(t,e){var n=t.__qtouchswipe;n&&(t.removeEventListener("mousedown",n.mouseStart),t.removeEventListener("touchstart",n.start),t.removeEventListener("touchmove",n.move),t.removeEventListener("touchend",n.end),delete t.__qtouchswipe)}}},2921:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(t,e,n,i){return e?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"}function i(t,e,n,i){return e?s(n)[0]:i?s(n)[1]:s(n)[2]}function r(t){return t%10===0||t>10&&t<20}function s(t){return e[t].split("_")}function o(t,e,n,o){var a=t+" ";return 1===t?a+i(t,e,n[0],o):e?a+(r(t)?s(n)[1]:s(n)[0]):o?a+s(n)[1]:a+(r(t)?s(n)[1]:s(n)[2])}var a=t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:n,ss:o,m:i,mm:o,h:i,hh:o,d:i,dd:o,M:i,MM:o,y:i,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}});return a})},2709:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("7b52"),r=n("38de"),s=n("ad3f"),o=n("6f62"),a=n("8a23"),c=n("cf09");class l{static isOnLine(){if(arguments[0]instanceof s["a"]&&Object(r["a"])(arguments[1],o["a"])){const t=arguments[0],e=arguments[1],n=new a["a"],i=new s["a"],r=new s["a"],o=e.size();for(let s=1;s-1e3&&t<1e3||E.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof t){var i=t<0?-k(-t):k(t);if(i!==t){var r=String(i),s=M.call(e,r.length+1);return w.call(r,n,"$&_")+"."+w.call(w.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return w.call(e,n,"$&_")}var j=n(1),F=j.custom,H=K(F)?F:null;function G(t,e,n){var i="double"===(n.quoteStyle||e)?'"':"'";return i+t+i}function q(t){return w.call(String(t),/"/g,""")}function z(t){return"[object Array]"===tt(t)&&(!R||!("object"===typeof t&&R in t))}function B(t){return"[object Date]"===tt(t)&&(!R||!("object"===typeof t&&R in t))}function $(t){return"[object RegExp]"===tt(t)&&(!R||!("object"===typeof t&&R in t))}function W(t){return"[object Error]"===tt(t)&&(!R||!("object"===typeof t&&R in t))}function U(t){return"[object String]"===tt(t)&&(!R||!("object"===typeof t&&R in t))}function V(t){return"[object Number]"===tt(t)&&(!R||!("object"===typeof t&&R in t))}function X(t){return"[object Boolean]"===tt(t)&&(!R||!("object"===typeof t&&R in t))}function K(t){if(Y)return t&&"object"===typeof t&&t instanceof Symbol;if("symbol"===typeof t)return!0;if(!t||"object"!==typeof t||!D)return!1;try{return D.call(t),!0}catch(t){}return!1}function Z(t){if(!t||"object"!==typeof t||!C)return!1;try{return C.call(t),!0}catch(t){}return!1}t.exports=function t(e,n,i,r){var a=n||{};if(Q(a,"quoteStyle")&&"single"!==a.quoteStyle&&"double"!==a.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Q(a,"maxStringLength")&&("number"===typeof a.maxStringLength?a.maxStringLength<0&&a.maxStringLength!==1/0:null!==a.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!Q(a,"customInspect")||a.customInspect;if("boolean"!==typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Q(a,"indent")&&null!==a.indent&&"\t"!==a.indent&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Q(a,"numericSeparator")&&"boolean"!==typeof a.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var h=a.numericSeparator;if("undefined"===typeof e)return"undefined";if(null===e)return"null";if("boolean"===typeof e)return e?"true":"false";if("string"===typeof e)return lt(e,a);if("number"===typeof e){if(0===e)return 1/0/e>0?"0":"-0";var d=String(e);return h?P(e,d):d}if("bigint"===typeof e){var f=String(e)+"n";return h?P(e,f):f}var p="undefined"===typeof a.depth?5:a.depth;if("undefined"===typeof i&&(i=0),i>=p&&p>0&&"object"===typeof e)return z(e)?"[Array]":"[Object]";var _=_t(a,i);if("undefined"===typeof r)r=[];else if(nt(r,e)>=0)return"[Circular]";function m(e,n,s){if(n&&(r=O.call(r),r.push(n)),s){var o={depth:a.depth};return Q(a,"quoteStyle")&&(o.quoteStyle=a.quoteStyle),t(e,o,i+1,r)}return t(e,a,i+1,r)}if("function"===typeof e&&!$(e)){var y=et(e),v=gt(e,m);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(v.length>0?" { "+S.call(v,", ")+" }":"")}if(K(e)){var b=Y?w.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):D.call(e);return"object"!==typeof e||Y?b:ht(b)}if(ct(e)){for(var x="<"+L.call(String(e.nodeName)),E=e.attributes||[],k=0;k",x}if(z(e)){if(0===e.length)return"[]";var I=gt(e,m);return _&&!pt(I)?"["+mt(I,_)+"]":"[ "+S.call(I,", ")+" ]"}if(W(e)){var F=gt(e,m);return"cause"in Error.prototype||!("cause"in e)||N.call(e,"cause")?0===F.length?"["+String(e)+"]":"{ ["+String(e)+"] "+S.call(F,", ")+" }":"{ ["+String(e)+"] "+S.call(T.call("[cause]: "+m(e.cause),F),", ")+" }"}if("object"===typeof e&&c){if(H&&"function"===typeof e[H]&&j)return j(e,{depth:p-i});if("symbol"!==c&&"function"===typeof e.inspect)return e.inspect()}if(it(e)){var J=[];return o.call(e,function(t,n){J.push(m(n,e,!0)+" => "+m(t,e))}),ft("Map",s.call(e),J,_)}if(ot(e)){var ut=[];return u.call(e,function(t){ut.push(m(t,e))}),ft("Set",l.call(e),ut,_)}if(rt(e))return dt("WeakMap");if(at(e))return dt("WeakSet");if(st(e))return dt("WeakRef");if(V(e))return ht(m(Number(e)));if(Z(e))return ht(m(C.call(e)));if(X(e))return ht(g.call(e));if(U(e))return ht(m(String(e)));if(!B(e)&&!$(e)){var yt=gt(e,m),vt=A?A(e)===Object.prototype:e instanceof Object||e.constructor===Object,bt=e instanceof Object?"":"null prototype",Mt=!vt&&R&&Object(e)===e&&R in e?M.call(tt(e),8,-1):bt?"Object":"",wt=vt||"function"!==typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"",xt=wt+(Mt||bt?"["+S.call(T.call([],Mt||[],bt||[]),": ")+"] ":"");return 0===yt.length?xt+"{}":_?xt+"{"+mt(yt,_)+"}":xt+"{ "+S.call(yt,", ")+" }"}return String(e)};var J=Object.prototype.hasOwnProperty||function(t){return t in this};function Q(t,e){return J.call(t,e)}function tt(t){return y.call(t)}function et(t){if(t.name)return t.name;var e=b.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function nt(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;ne.maxStringLength){var n=t.length-e.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return lt(M.call(t,0,e.maxStringLength),e)+i}var r=w.call(w.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ut);return G(r,"single",e)}function ut(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+x.call(e.toString(16))}function ht(t){return"Object("+t+")"}function dt(t){return t+" { ? }"}function ft(t,e,n,i){var r=i?mt(n,i):S.call(n,", ");return t+" ("+e+") {"+r+"}"}function pt(t){for(var e=0;e=0)return!1;return!0}function _t(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"===typeof t.indent&&t.indent>0))return null;n=S.call(Array(t.indent+1)," ")}return{base:n,prev:S.call(Array(e+1),n)}}function mt(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+S.call(t,","+n)+"\n"+e.prev}function gt(t,e){var n=z(t),i=[];if(n){i.length=t.length;for(var r=0;r1||""[f](/.?/)[p]?function(t,e){var r=String(this);if(void 0===t&&0===e)return[];if(!i(t))return n.call(r,t,e);var s,o,a,c=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,f=void 0===e?m:e>>>0,g=new RegExp(t.source,u+"g");while(s=l.call(g,r)){if(o=g[_],o>h&&(c.push(r.slice(h,s.index)),s[p]>1&&s.index=f))break;g[_]===s.index&&g[_]++}return h===r[p]?!a&&g.test("")||c.push(""):c.push(r.slice(h)),c[p]>f?c.slice(0,f):c}:"0"[f](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,i){var r=t(this),s=void 0==n?void 0:n[e];return void 0!==s?s.call(n,r,i):y.call(String(r),n,i)},function(t,e){var i=u(y,t,this,e,y!==n);if(i.done)return i.value;var l=r(t),d=String(this),f=s(l,RegExp),p=l.unicode,_=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(g?"y":"g"),v=new f(g?l:"^(?:"+l.source+")",_),b=void 0===e?m:e>>>0;if(0===b)return[];if(0===d.length)return null===c(v,d)?[d]:[];var M=0,w=0,x=[];while(ws.threshold)s.event.abort=!0;else{if(s.event.detected)return t.stopPropagation(),void t.preventDefault();var e=Object(i["f"])(t),n=e.left-s.event.x,r=Math.abs(n),o=e.top-s.event.y,a=Math.abs(o);r!==a&&(s.event.detected=!0,s.event.abort=!(s.direction.vertical&&ra||s.direction.up&&r0||s.direction.left&&r>a&&n<0||s.direction.right&&r>a&&n>0),s.move(t))}},end:function(e){if(t.classList.remove("q-touch"),!s.event.abort&&s.event.detected){var n=(new Date).getTime()-s.event.time;if(!(n>s.threshold)){e.stopPropagation(),e.preventDefault();var r,o=Object(i["f"])(e),a=o.left-s.event.x,c=Math.abs(a),l=o.top-s.event.y,u=Math.abs(l);if(c>=u){if(c<50)return;r=a<0?"left":"right"}else{if(u<50)return;r=l<0?"up":"down"}s.direction[r]&&s.handler({evt:e,direction:r,duration:n,distance:{x:c,y:u}})}}}};t.__qtouchswipe=s,n&&t.addEventListener("mousedown",s.mouseStart),t.addEventListener("touchstart",s.start),t.addEventListener("touchmove",s.move),t.addEventListener("touchend",s.end)},update:function(t,e){e.oldValue!==e.value&&(t.__qtouchswipe.handler=e.value)},unbind:function(t,e){var n=t.__qtouchswipe;n&&(t.removeEventListener("mousedown",n.mouseStart),t.removeEventListener("touchstart",n.start),t.removeEventListener("touchmove",n.move),t.removeEventListener("touchend",n.end),delete t.__qtouchswipe)}}},2921:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}});return e})},2926:function(t,e,n){(function(t,e){e()})(0,function(){"use strict";var e=function(t){var e=t.properties,n=t.keywords,i=t.validators,r=t.formats,s=t.keys,o=t.transformation;Object.assign(e,{minimum:function(t){return"%s <"+(t.exclusiveMinimum?"=":"")+" "+t.minimum},maximum:function(t){return"%s >"+(t.exclusiveMaximum?"=":"")+" "+t.maximum}}),delete e.exclusiveMaximum,delete e.exclusiveMinimum,["$id","contains","const","examples"].forEach(function(t){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}),-1===n.indexOf("exclusiveMaximum")&&n.push("exclusiveMaximum","exclusiveMininum","id"),["contains","constant","propertyNames"].forEach(function(t){var e=i.name[t];delete i.name[t];var n=i.list.indexOf(e);-1!==n&&i.list.splice(n,1)}),delete r["json-pointer"],delete r["uri-reference"],delete r["uri-template"],Object.assign(s,{id:"id"}),Object.assign(o,{ANY_SCHEMA:!0,NOT_ANY_SCHEMA:!1})};t.exports=e})},"293c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration @@ -60,7 +60,7 @@ var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta" * (c) 2014-2018 Evan You * Released under the MIT License. */ -var n=Object.freeze({});function i(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function s(t){return!0===t}function o(t){return!1===t}function a(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return null!==t&&"object"===typeof t}var l=Object.prototype.toString;function u(t){return"[object Object]"===l.call(t)}function h(t){return"[object RegExp]"===l.call(t)}function d(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return null==t?"":"object"===typeof t?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function _(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function v(t,e){return y.call(t,e)}function b(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var M=/-(\w)/g,w=b(function(t){return t.replace(M,function(t,e){return e?e.toUpperCase():""})}),x=b(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),L=/\B([A-Z])/g,E=b(function(t){return t.replace(L,"-$1").toLowerCase()});function T(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function S(t,e){return t.bind(e)}var O=Function.prototype.bind?S:T;function k(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function C(t,e){for(var n in e)t[n]=e[n];return t}function I(t){for(var e={},n=0;n0,tt=Z&&Z.indexOf("edge/")>0,et=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===K),nt=(Z&&/chrome\/\d+/.test(Z),{}.watch),it=!1;if(V)try{var rt={};Object.defineProperty(rt,"passive",{get:function(){it=!0}}),window.addEventListener("test-passive",null,rt)}catch(t){}var st=function(){return void 0===W&&(W=!V&&!X&&"undefined"!==typeof t&&"server"===t["process"].env.VUE_ENV),W},ot=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function at(t){return"function"===typeof t&&/native code/.test(t.toString())}var ct,lt="undefined"!==typeof Symbol&&at(Symbol)&&"undefined"!==typeof Reflect&&at(Reflect.ownKeys);ct="undefined"!==typeof Set&&at(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ut=D,ht=0,dt=function(){this.id=ht++,this.subs=[]};dt.prototype.addSub=function(t){this.subs.push(t)},dt.prototype.removeSub=function(t){g(this.subs,t)},dt.prototype.depend=function(){dt.target&&dt.target.addDep(this)},dt.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(s&&!v(r,"default"))o=!1;else if(""===o||o===E(t)){var c=Kt(String,r.type);(c<0||a0&&(o=Le(o,(e||"")+"_"+n),xe(o[0])&&xe(l)&&(u[c]=vt(l.text+o[0].text),o.shift()),u.push.apply(u,o)):a(o)?xe(l)?u[c]=vt(l.text+o):""!==o&&u.push(vt(o)):xe(o)&&xe(l)?u[c]=vt(l.text+o.text):(s(t._isVList)&&r(o.tag)&&i(o.key)&&r(e)&&(o.key="__vlist"+e+"_"+n+"__"),u.push(o)));return u}function Ee(t,e){return(t.__esModule||lt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function Te(t,e,n,i,r){var s=yt();return s.asyncFactory=t,s.asyncMeta={data:e,context:n,children:i,tag:r},s}function Se(t,e,n){if(s(t.error)&&r(t.errorComp))return t.errorComp;if(r(t.resolved))return t.resolved;if(s(t.loading)&&r(t.loadingComp))return t.loadingComp;if(!r(t.contexts)){var o=t.contexts=[n],a=!0,l=function(){for(var t=0,e=o.length;t1?k(n):n;for(var i=k(arguments,1),r=0,s=n.length;rJe&&Ue[n].id>t.id)n--;Ue.splice(n+1,0,t)}else Ue.push(t);Ke||(Ke=!0,ue(tn))}}var on=0,an=function(t,e,n,i,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++on,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ct,this.newDepIds=new ct,this.expression="","function"===typeof e?this.getter=e:(this.getter=$(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};an.prototype.get=function(){var t;pt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Zt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&de(t),_t(),this.cleanupDeps()}return t},an.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},an.prototype.cleanupDeps=function(){var t=this,e=this.deps.length;while(e--){var n=t.deps[e];t.newDepIds.has(n.id)||n.removeSub(t)}var i=this.depIds;this.depIds=this.newDepIds,this.newDepIds=i,this.newDepIds.clear(),i=this.deps,this.deps=this.newDeps,this.newDeps=i,this.newDeps.length=0},an.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():sn(this)},an.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Zt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},an.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},an.prototype.depend=function(){var t=this,e=this.deps.length;while(e--)t.deps[e].depend()},an.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);var e=this.deps.length;while(e--)t.deps[e].removeSub(t);this.active=!1}};var cn={enumerable:!0,configurable:!0,get:D,set:D};function ln(t,e,n){cn.get=function(){return this[e][n]},cn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,cn)}function un(t){t._watchers=[];var e=t.$options;e.props&&hn(t,e.props),e.methods&&yn(t,e.methods),e.data?dn(t):Ct(t._data={},!0),e.computed&&_n(t,e.computed),e.watch&&e.watch!==nt&&vn(t,e.watch)}function hn(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[],s=!t.$parent;s||Tt(!1);var o=function(s){r.push(s);var o=Wt(s,e,n,t);It(i,s,o),s in t||ln(t,"_props",s)};for(var a in e)o(a);Tt(!0)}function dn(t){var e=t.$options.data;e=t._data="function"===typeof e?fn(e,t):e||{},u(e)||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);while(r--){var s=n[r];0,i&&v(i,s)||q(s)||ln(t,"_data",s)}Ct(e,!0)}function fn(t,e){pt();try{return t.call(e,e)}catch(t){return Zt(t,e,"data()"),{}}finally{_t()}}var pn={lazy:!0};function _n(t,e){var n=t._computedWatchers=Object.create(null),i=st();for(var r in e){var s=e[r],o="function"===typeof s?s:s.get;0,i||(n[r]=new an(t,o||D,D,pn)),r in t||mn(t,r,s)}}function mn(t,e,n){var i=!st();"function"===typeof n?(cn.get=i?gn(e):n,cn.set=D):(cn.get=n.get?i&&!1!==n.cache?gn(e):n.get:D,cn.set=n.set?n.set:D),Object.defineProperty(t,e,cn)}function gn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),dt.target&&e.depend(),e.value}}function yn(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?D:O(e[n],t)}function vn(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r=0||n.indexOf(t[r])<0)&&i.push(t[r]);return i}return t}function ai(t){this._init(t)}function ci(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=k(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function li(t){t.mixin=function(t){return this.options=Bt(this.options,t),this}}function ui(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var s=t.name||n.options.name;var o=function(t){this._init(t)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=Bt(n.options,t),o["super"]=n,o.options.props&&hi(o),o.options.computed&&di(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,F.forEach(function(t){o[t]=n[t]}),s&&(o.options.components[s]=o),o.superOptions=n.options,o.extendOptions=t,o.sealedOptions=C({},o.options),r[i]=o,o}}function hi(t){var e=t.options.props;for(var n in e)ln(t.prototype,"_props",n)}function di(t){var e=t.options.computed;for(var n in e)mn(t.prototype,n,e[n])}function fi(t){F.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function pi(t){return t&&(t.Ctor.options.name||t.tag)}function _i(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!h(t)&&t.test(e)}function mi(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var s in n){var o=n[s];if(o){var a=pi(o.componentOptions);a&&!e(a)&&gi(n,s,i,r)}}}function gi(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,g(n,e)}ni(ai),Mn(ai),Re(ai),He(ai),ti(ai);var yi=[String,RegExp,Array],vi={name:"keep-alive",abstract:!0,props:{include:yi,exclude:yi,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){var t=this;for(var e in t.cache)gi(t.cache,e,t.keys)},mounted:function(){var t=this;this.$watch("include",function(e){mi(t,function(t){return _i(e,t)})}),this.$watch("exclude",function(e){mi(t,function(t){return!_i(e,t)})})},render:function(){var t=this.$slots.default,e=ke(t),n=e&&e.componentOptions;if(n){var i=pi(n),r=this,s=r.include,o=r.exclude;if(s&&(!i||!_i(s,i))||o&&i&&_i(o,i))return e;var a=this,c=a.cache,l=a.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[u]?(e.componentInstance=c[u].componentInstance,g(l,u),l.push(u)):(c[u]=e,l.push(u),this.max&&l.length>parseInt(this.max)&&gi(c,l[0],l,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},bi={KeepAlive:vi};function Mi(t){var e={get:function(){return G}};Object.defineProperty(t,"config",e),t.util={warn:ut,extend:C,mergeOptions:Bt,defineReactive:It},t.set=Dt,t.delete=Yt,t.nextTick=ue,t.options=Object.create(null),F.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,C(t.options.components,bi),ci(t),li(t),ui(t),fi(t)}Mi(ai),Object.defineProperty(ai.prototype,"$isServer",{get:st}),Object.defineProperty(ai.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ai,"FunctionalRenderContext",{value:Pn}),ai.version="2.5.17";var wi=_("style,class"),xi=_("input,textarea,option,select,progress"),Li=function(t,e,n){return"value"===n&&xi(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Ei=_("contenteditable,draggable,spellcheck"),Ti=_("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Si="http://www.w3.org/1999/xlink",Oi=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},ki=function(t){return Oi(t)?t.slice(6,t.length):""},Ci=function(t){return null==t||!1===t};function Ii(t){var e=t.data,n=t,i=t;while(r(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(e=Di(i.data,e));while(r(n=n.parent))n&&n.data&&(e=Di(e,n.data));return Yi(e.staticClass,e.class)}function Di(t,e){return{staticClass:Ri(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function Yi(t,e){return r(t)||r(e)?Ri(t,Ai(e)):""}function Ri(t,e){return t?e?t+" "+e:t:e||""}function Ai(t){return Array.isArray(t)?Ni(t):c(t)?Pi(t):"string"===typeof t?t:""}function Ni(t){for(var e,n="",i=0,s=t.length;i-1?zi[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:zi[t]=/HTMLUnknownElement/.test(e.toString())}var $i=_("text,number,password,search,email,tel,url");function Wi(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Ui(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Vi(t,e){return document.createElementNS(ji[t],e)}function Xi(t){return document.createTextNode(t)}function Ki(t){return document.createComment(t)}function Zi(t,e,n){t.insertBefore(e,n)}function Ji(t,e){t.removeChild(e)}function Qi(t,e){t.appendChild(e)}function tr(t){return t.parentNode}function er(t){return t.nextSibling}function nr(t){return t.tagName}function ir(t,e){t.textContent=e}function rr(t,e){t.setAttribute(e,"")}var sr=Object.freeze({createElement:Ui,createElementNS:Vi,createTextNode:Xi,createComment:Ki,insertBefore:Zi,removeChild:Ji,appendChild:Qi,parentNode:tr,nextSibling:er,tagName:nr,setTextContent:ir,setStyleScope:rr}),or={create:function(t,e){ar(e)},update:function(t,e){t.data.ref!==e.data.ref&&(ar(t,!0),ar(e))},destroy:function(t){ar(t,!0)}};function ar(t,e){var n=t.data.ref;if(r(n)){var i=t.context,s=t.componentInstance||t.elm,o=i.$refs;e?Array.isArray(o[n])?g(o[n],s):o[n]===s&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])?o[n].indexOf(s)<0&&o[n].push(s):o[n]=[s]:o[n]=s}}var cr=new mt("",{},[]),lr=["create","activate","update","remove","destroy"];function ur(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&hr(t,e)||s(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&i(e.asyncFactory.error))}function hr(t,e){if("input"!==t.tag)return!0;var n,i=r(n=t.data)&&r(n=n.attrs)&&n.type,s=r(n=e.data)&&r(n=n.attrs)&&n.type;return i===s||$i(i)&&$i(s)}function dr(t,e,n){var i,s,o={};for(i=e;i<=n;++i)s=t[i].key,r(s)&&(o[s]=i);return o}function fr(t){var e,n,o={},c=t.modules,l=t.nodeOps;for(e=0;e_?(h=i(n[y+1])?null:n[y+1].elm,x(t,h,n,p,y,s)):p>y&&E(t,e,d,_)}function O(t,e,n,i){for(var s=n;s-1?Lr(t,e,n):Ti(e)?Ci(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Ei(e)?t.setAttribute(e,Ci(n)||"false"===n?"false":"true"):Oi(e)?Ci(n)?t.removeAttributeNS(Si,ki(e)):t.setAttributeNS(Si,e,n):Lr(t,e,n)}function Lr(t,e,n){if(Ci(n))t.removeAttribute(e);else{if(J&&!Q&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var Er={create:wr,update:wr};function Tr(t,e){var n=e.elm,s=e.data,o=t.data;if(!(i(s.staticClass)&&i(s.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var a=Ii(e),c=n._transitionClasses;r(c)&&(a=Ri(a,Ai(c))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var Sr,Or={create:Tr,update:Tr},kr="__r",Cr="__c";function Ir(t){if(r(t[kr])){var e=J?"change":"input";t[e]=[].concat(t[kr],t[e]||[]),delete t[kr]}r(t[Cr])&&(t.change=[].concat(t[Cr],t.change||[]),delete t[Cr])}function Dr(t,e,n){var i=Sr;return function r(){var s=t.apply(null,arguments);null!==s&&Rr(e,r,n,i)}}function Yr(t,e,n,i,r){e=le(e),n&&(e=Dr(e,t,i)),Sr.addEventListener(t,e,it?{capture:i,passive:r}:i)}function Rr(t,e,n,i){(i||Sr).removeEventListener(t,e._withTask||e,n)}function Ar(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Sr=e.elm,Ir(n),ge(n,r,Yr,Rr,e.context),Sr=void 0}}var Nr={create:Ar,update:Ar};function Pr(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,s,o=e.elm,a=t.data.domProps||{},c=e.data.domProps||{};for(n in r(c.__ob__)&&(c=e.data.domProps=C({},c)),a)i(c[n])&&(o[n]="");for(n in c){if(s=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),s===a[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n){o._value=s;var l=i(s)?"":String(s);jr(o,l)&&(o.value=l)}else o[n]=s}}}function jr(t,e){return!t.composing&&("OPTION"===t.tagName||Fr(t,e)||Hr(t,e))}function Fr(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function Hr(t,e){var n=t.value,i=t._vModifiers;if(r(i)){if(i.lazy)return!1;if(i.number)return p(n)!==p(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}var Gr={create:Pr,update:Pr},qr=b(function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e});function zr(t){var e=Br(t.style);return t.staticStyle?C(t.staticStyle,e):e}function Br(t){return Array.isArray(t)?I(t):"string"===typeof t?qr(t):t}function $r(t,e){var n,i={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=zr(r.data))&&C(i,n)}(n=zr(t.data))&&C(i,n);var s=t;while(s=s.parent)s.data&&(n=zr(s.data))&&C(i,n);return i}var Wr,Ur=/^--/,Vr=/\s*!important$/,Xr=function(t,e,n){if(Ur.test(e))t.style.setProperty(e,n);else if(Vr.test(n))t.style.setProperty(e,n.replace(Vr,""),"important");else{var i=Zr(e);if(Array.isArray(n))for(var r=0,s=n.length;r-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function es(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function ns(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&C(e,is(t.name||"v")),C(e,t),e}return"string"===typeof t?is(t):void 0}}var is=b(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),rs=V&&!Q,ss="transition",os="animation",as="transition",cs="transitionend",ls="animation",us="animationend";rs&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(as="WebkitTransition",cs="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ls="WebkitAnimation",us="webkitAnimationEnd"));var hs=V?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ds(t){hs(function(){hs(t)})}function fs(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),ts(t,e))}function ps(t,e){t._transitionClasses&&g(t._transitionClasses,e),es(t,e)}function _s(t,e,n){var i=gs(t,e),r=i.type,s=i.timeout,o=i.propCount;if(!r)return n();var a=r===ss?cs:us,c=0,l=function(){t.removeEventListener(a,u),n()},u=function(e){e.target===t&&++c>=o&&l()};setTimeout(function(){c0&&(n=ss,u=o,h=s.length):e===os?l>0&&(n=os,u=l,h=c.length):(u=Math.max(o,l),n=u>0?o>l?ss:os:null,h=n?n===ss?s.length:c.length:0);var d=n===ss&&ms.test(i[as+"Property"]);return{type:n,timeout:u,propCount:h,hasTransform:d}}function ys(t,e){while(t.length1}function Ls(t,e){!0!==e.data.show&&bs(e)}var Es=V?{create:Ls,activate:Ls,remove:function(t,e){!0!==t.data.show?Ms(t,e):e()}}:{},Ts=[Er,Or,Nr,Gr,Qr,Es],Ss=Ts.concat(Mr),Os=fr({nodeOps:sr,modules:Ss});Q&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Ns(t,"input")});var ks={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?ye(n,"postpatch",function(){ks.componentUpdated(t,e,n)}):Cs(t,e,n.context),t._vOptions=[].map.call(t.options,Ys)):("textarea"===n.tag||$i(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Rs),t.addEventListener("compositionend",As),t.addEventListener("change",As),Q&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Cs(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,Ys);if(r.some(function(t,e){return!A(t,i[e])})){var s=t.multiple?e.value.some(function(t){return Ds(t,r)}):e.value!==e.oldValue&&Ds(e.value,r);s&&Ns(t,"change")}}}};function Cs(t,e,n){Is(t,e,n),(J||tt)&&setTimeout(function(){Is(t,e,n)},0)}function Is(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var s,o,a=0,c=t.options.length;a-1,o.selected!==s&&(o.selected=s);else if(A(Ys(o),i))return void(t.selectedIndex!==a&&(t.selectedIndex=a));r||(t.selectedIndex=-1)}}function Ds(t,e){return e.every(function(e){return!A(e,t)})}function Ys(t){return"_value"in t?t._value:t.value}function Rs(t){t.target.composing=!0}function As(t){t.target.composing&&(t.target.composing=!1,Ns(t.target,"input"))}function Ns(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ps(t){return!t.componentInstance||t.data&&t.data.transition?t:Ps(t.componentInstance._vnode)}var js={bind:function(t,e,n){var i=e.value;n=Ps(n);var r=n.data&&n.data.transition,s=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,bs(n,function(){t.style.display=s})):t.style.display=i?s:"none"},update:function(t,e,n){var i=e.value,r=e.oldValue;if(!i!==!r){n=Ps(n);var s=n.data&&n.data.transition;s?(n.data.show=!0,i?bs(n,function(){t.style.display=t.__vOriginalDisplay}):Ms(n,function(){t.style.display="none"})):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},Fs={model:ks,show:js},Hs={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Gs(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Gs(ke(e.children)):t}function qs(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var s in r)e[w(s)]=r[s];return e}function zs(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Bs(t){while(t=t.parent)if(t.data.transition)return!0}function $s(t,e){return e.key===t.key&&e.tag===t.tag}var Ws={name:"transition",props:Hs,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(function(t){return t.tag||Oe(t)}),n.length)){0;var i=this.mode;0;var r=n[0];if(Bs(this.$vnode))return r;var s=Gs(r);if(!s)return r;if(this._leaving)return zs(t,r);var o="__transition-"+this._uid+"-";s.key=null==s.key?s.isComment?o+"comment":o+s.tag:a(s.key)?0===String(s.key).indexOf(o)?s.key:o+s.key:s.key;var c=(s.data||(s.data={})).transition=qs(this),l=this._vnode,u=Gs(l);if(s.data.directives&&s.data.directives.some(function(t){return"show"===t.name})&&(s.data.show=!0),u&&u.data&&!$s(s,u)&&!Oe(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=C({},c);if("out-in"===i)return this._leaving=!0,ye(h,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),zs(t,r);if("in-out"===i){if(Oe(s))return l;var d,f=function(){d()};ye(c,"afterEnter",f),ye(c,"enterCancelled",f),ye(h,"delayLeave",function(t){d=t})}}return r}}},Us=C({tag:String,moveClass:String},Hs);delete Us.mode;var Vs={props:Us,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],s=this.children=[],o=qs(this),a=0;a=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return null==t?"":"object"===typeof t?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function _(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function v(t,e){return y.call(t,e)}function b(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var M=/-(\w)/g,w=b(function(t){return t.replace(M,function(t,e){return e?e.toUpperCase():""})}),x=b(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),L=/\B([A-Z])/g,E=b(function(t){return t.replace(L,"-$1").toLowerCase()});function T(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function S(t,e){return t.bind(e)}var O=Function.prototype.bind?S:T;function k(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function C(t,e){for(var n in e)t[n]=e[n];return t}function I(t){for(var e={},n=0;n0,tt=Z&&Z.indexOf("edge/")>0,et=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===K),nt=(Z&&/chrome\/\d+/.test(Z),{}.watch),it=!1;if(V)try{var rt={};Object.defineProperty(rt,"passive",{get:function(){it=!0}}),window.addEventListener("test-passive",null,rt)}catch(t){}var st=function(){return void 0===W&&(W=!V&&!X&&"undefined"!==typeof t&&"server"===t["process"].env.VUE_ENV),W},ot=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function at(t){return"function"===typeof t&&/native code/.test(t.toString())}var ct,lt="undefined"!==typeof Symbol&&at(Symbol)&&"undefined"!==typeof Reflect&&at(Reflect.ownKeys);ct="undefined"!==typeof Set&&at(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ut=D,ht=0,dt=function(){this.id=ht++,this.subs=[]};dt.prototype.addSub=function(t){this.subs.push(t)},dt.prototype.removeSub=function(t){g(this.subs,t)},dt.prototype.depend=function(){dt.target&&dt.target.addDep(this)},dt.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(s&&!v(r,"default"))o=!1;else if(""===o||o===E(t)){var c=Kt(String,r.type);(c<0||a0&&(o=Le(o,(e||"")+"_"+n),xe(o[0])&&xe(l)&&(u[c]=vt(l.text+o[0].text),o.shift()),u.push.apply(u,o)):a(o)?xe(l)?u[c]=vt(l.text+o):""!==o&&u.push(vt(o)):xe(o)&&xe(l)?u[c]=vt(l.text+o.text):(s(t._isVList)&&r(o.tag)&&i(o.key)&&r(e)&&(o.key="__vlist"+e+"_"+n+"__"),u.push(o)));return u}function Ee(t,e){return(t.__esModule||lt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function Te(t,e,n,i,r){var s=yt();return s.asyncFactory=t,s.asyncMeta={data:e,context:n,children:i,tag:r},s}function Se(t,e,n){if(s(t.error)&&r(t.errorComp))return t.errorComp;if(r(t.resolved))return t.resolved;if(s(t.loading)&&r(t.loadingComp))return t.loadingComp;if(!r(t.contexts)){var o=t.contexts=[n],a=!0,l=function(){for(var t=0,e=o.length;t1?k(n):n;for(var i=k(arguments,1),r=0,s=n.length;rJe&&Ue[n].id>t.id)n--;Ue.splice(n+1,0,t)}else Ue.push(t);Ke||(Ke=!0,ue(tn))}}var on=0,an=function(t,e,n,i,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++on,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ct,this.newDepIds=new ct,this.expression="","function"===typeof e?this.getter=e:(this.getter=$(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};an.prototype.get=function(){var t;pt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Zt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&de(t),_t(),this.cleanupDeps()}return t},an.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},an.prototype.cleanupDeps=function(){var t=this,e=this.deps.length;while(e--){var n=t.deps[e];t.newDepIds.has(n.id)||n.removeSub(t)}var i=this.depIds;this.depIds=this.newDepIds,this.newDepIds=i,this.newDepIds.clear(),i=this.deps,this.deps=this.newDeps,this.newDeps=i,this.newDeps.length=0},an.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():sn(this)},an.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Zt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},an.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},an.prototype.depend=function(){var t=this,e=this.deps.length;while(e--)t.deps[e].depend()},an.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);var e=this.deps.length;while(e--)t.deps[e].removeSub(t);this.active=!1}};var cn={enumerable:!0,configurable:!0,get:D,set:D};function ln(t,e,n){cn.get=function(){return this[e][n]},cn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,cn)}function un(t){t._watchers=[];var e=t.$options;e.props&&hn(t,e.props),e.methods&&yn(t,e.methods),e.data?dn(t):Ct(t._data={},!0),e.computed&&_n(t,e.computed),e.watch&&e.watch!==nt&&vn(t,e.watch)}function hn(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[],s=!t.$parent;s||Tt(!1);var o=function(s){r.push(s);var o=Wt(s,e,n,t);It(i,s,o),s in t||ln(t,"_props",s)};for(var a in e)o(a);Tt(!0)}function dn(t){var e=t.$options.data;e=t._data="function"===typeof e?fn(e,t):e||{},u(e)||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);while(r--){var s=n[r];0,i&&v(i,s)||q(s)||ln(t,"_data",s)}Ct(e,!0)}function fn(t,e){pt();try{return t.call(e,e)}catch(t){return Zt(t,e,"data()"),{}}finally{_t()}}var pn={lazy:!0};function _n(t,e){var n=t._computedWatchers=Object.create(null),i=st();for(var r in e){var s=e[r],o="function"===typeof s?s:s.get;0,i||(n[r]=new an(t,o||D,D,pn)),r in t||mn(t,r,s)}}function mn(t,e,n){var i=!st();"function"===typeof n?(cn.get=i?gn(e):n,cn.set=D):(cn.get=n.get?i&&!1!==n.cache?gn(e):n.get:D,cn.set=n.set?n.set:D),Object.defineProperty(t,e,cn)}function gn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),dt.target&&e.depend(),e.value}}function yn(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?D:O(e[n],t)}function vn(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r=0||n.indexOf(t[r])<0)&&i.push(t[r]);return i}return t}function ai(t){this._init(t)}function ci(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=k(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function li(t){t.mixin=function(t){return this.options=Bt(this.options,t),this}}function ui(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var s=t.name||n.options.name;var o=function(t){this._init(t)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=Bt(n.options,t),o["super"]=n,o.options.props&&hi(o),o.options.computed&&di(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,F.forEach(function(t){o[t]=n[t]}),s&&(o.options.components[s]=o),o.superOptions=n.options,o.extendOptions=t,o.sealedOptions=C({},o.options),r[i]=o,o}}function hi(t){var e=t.options.props;for(var n in e)ln(t.prototype,"_props",n)}function di(t){var e=t.options.computed;for(var n in e)mn(t.prototype,n,e[n])}function fi(t){F.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function pi(t){return t&&(t.Ctor.options.name||t.tag)}function _i(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!h(t)&&t.test(e)}function mi(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var s in n){var o=n[s];if(o){var a=pi(o.componentOptions);a&&!e(a)&&gi(n,s,i,r)}}}function gi(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,g(n,e)}ni(ai),Mn(ai),Re(ai),He(ai),ti(ai);var yi=[String,RegExp,Array],vi={name:"keep-alive",abstract:!0,props:{include:yi,exclude:yi,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){var t=this;for(var e in t.cache)gi(t.cache,e,t.keys)},mounted:function(){var t=this;this.$watch("include",function(e){mi(t,function(t){return _i(e,t)})}),this.$watch("exclude",function(e){mi(t,function(t){return!_i(e,t)})})},render:function(){var t=this.$slots.default,e=ke(t),n=e&&e.componentOptions;if(n){var i=pi(n),r=this,s=r.include,o=r.exclude;if(s&&(!i||!_i(s,i))||o&&i&&_i(o,i))return e;var a=this,c=a.cache,l=a.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[u]?(e.componentInstance=c[u].componentInstance,g(l,u),l.push(u)):(c[u]=e,l.push(u),this.max&&l.length>parseInt(this.max)&&gi(c,l[0],l,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},bi={KeepAlive:vi};function Mi(t){var e={get:function(){return G}};Object.defineProperty(t,"config",e),t.util={warn:ut,extend:C,mergeOptions:Bt,defineReactive:It},t.set=Dt,t.delete=Yt,t.nextTick=ue,t.options=Object.create(null),F.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,C(t.options.components,bi),ci(t),li(t),ui(t),fi(t)}Mi(ai),Object.defineProperty(ai.prototype,"$isServer",{get:st}),Object.defineProperty(ai.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ai,"FunctionalRenderContext",{value:Pn}),ai.version="2.5.17";var wi=_("style,class"),xi=_("input,textarea,option,select,progress"),Li=function(t,e,n){return"value"===n&&xi(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Ei=_("contenteditable,draggable,spellcheck"),Ti=_("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Si="http://www.w3.org/1999/xlink",Oi=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},ki=function(t){return Oi(t)?t.slice(6,t.length):""},Ci=function(t){return null==t||!1===t};function Ii(t){var e=t.data,n=t,i=t;while(r(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(e=Di(i.data,e));while(r(n=n.parent))n&&n.data&&(e=Di(e,n.data));return Yi(e.staticClass,e.class)}function Di(t,e){return{staticClass:Ri(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function Yi(t,e){return r(t)||r(e)?Ri(t,Ni(e)):""}function Ri(t,e){return t?e?t+" "+e:t:e||""}function Ni(t){return Array.isArray(t)?Ai(t):c(t)?Pi(t):"string"===typeof t?t:""}function Ai(t){for(var e,n="",i=0,s=t.length;i-1?zi[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:zi[t]=/HTMLUnknownElement/.test(e.toString())}var $i=_("text,number,password,search,email,tel,url");function Wi(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Ui(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Vi(t,e){return document.createElementNS(ji[t],e)}function Xi(t){return document.createTextNode(t)}function Ki(t){return document.createComment(t)}function Zi(t,e,n){t.insertBefore(e,n)}function Ji(t,e){t.removeChild(e)}function Qi(t,e){t.appendChild(e)}function tr(t){return t.parentNode}function er(t){return t.nextSibling}function nr(t){return t.tagName}function ir(t,e){t.textContent=e}function rr(t,e){t.setAttribute(e,"")}var sr=Object.freeze({createElement:Ui,createElementNS:Vi,createTextNode:Xi,createComment:Ki,insertBefore:Zi,removeChild:Ji,appendChild:Qi,parentNode:tr,nextSibling:er,tagName:nr,setTextContent:ir,setStyleScope:rr}),or={create:function(t,e){ar(e)},update:function(t,e){t.data.ref!==e.data.ref&&(ar(t,!0),ar(e))},destroy:function(t){ar(t,!0)}};function ar(t,e){var n=t.data.ref;if(r(n)){var i=t.context,s=t.componentInstance||t.elm,o=i.$refs;e?Array.isArray(o[n])?g(o[n],s):o[n]===s&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])?o[n].indexOf(s)<0&&o[n].push(s):o[n]=[s]:o[n]=s}}var cr=new mt("",{},[]),lr=["create","activate","update","remove","destroy"];function ur(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&hr(t,e)||s(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&i(e.asyncFactory.error))}function hr(t,e){if("input"!==t.tag)return!0;var n,i=r(n=t.data)&&r(n=n.attrs)&&n.type,s=r(n=e.data)&&r(n=n.attrs)&&n.type;return i===s||$i(i)&&$i(s)}function dr(t,e,n){var i,s,o={};for(i=e;i<=n;++i)s=t[i].key,r(s)&&(o[s]=i);return o}function fr(t){var e,n,o={},c=t.modules,l=t.nodeOps;for(e=0;e_?(h=i(n[y+1])?null:n[y+1].elm,x(t,h,n,p,y,s)):p>y&&E(t,e,d,_)}function O(t,e,n,i){for(var s=n;s-1?Lr(t,e,n):Ti(e)?Ci(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Ei(e)?t.setAttribute(e,Ci(n)||"false"===n?"false":"true"):Oi(e)?Ci(n)?t.removeAttributeNS(Si,ki(e)):t.setAttributeNS(Si,e,n):Lr(t,e,n)}function Lr(t,e,n){if(Ci(n))t.removeAttribute(e);else{if(J&&!Q&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var Er={create:wr,update:wr};function Tr(t,e){var n=e.elm,s=e.data,o=t.data;if(!(i(s.staticClass)&&i(s.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var a=Ii(e),c=n._transitionClasses;r(c)&&(a=Ri(a,Ni(c))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var Sr,Or={create:Tr,update:Tr},kr="__r",Cr="__c";function Ir(t){if(r(t[kr])){var e=J?"change":"input";t[e]=[].concat(t[kr],t[e]||[]),delete t[kr]}r(t[Cr])&&(t.change=[].concat(t[Cr],t.change||[]),delete t[Cr])}function Dr(t,e,n){var i=Sr;return function r(){var s=t.apply(null,arguments);null!==s&&Rr(e,r,n,i)}}function Yr(t,e,n,i,r){e=le(e),n&&(e=Dr(e,t,i)),Sr.addEventListener(t,e,it?{capture:i,passive:r}:i)}function Rr(t,e,n,i){(i||Sr).removeEventListener(t,e._withTask||e,n)}function Nr(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Sr=e.elm,Ir(n),ge(n,r,Yr,Rr,e.context),Sr=void 0}}var Ar={create:Nr,update:Nr};function Pr(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,s,o=e.elm,a=t.data.domProps||{},c=e.data.domProps||{};for(n in r(c.__ob__)&&(c=e.data.domProps=C({},c)),a)i(c[n])&&(o[n]="");for(n in c){if(s=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),s===a[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n){o._value=s;var l=i(s)?"":String(s);jr(o,l)&&(o.value=l)}else o[n]=s}}}function jr(t,e){return!t.composing&&("OPTION"===t.tagName||Fr(t,e)||Hr(t,e))}function Fr(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function Hr(t,e){var n=t.value,i=t._vModifiers;if(r(i)){if(i.lazy)return!1;if(i.number)return p(n)!==p(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}var Gr={create:Pr,update:Pr},qr=b(function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e});function zr(t){var e=Br(t.style);return t.staticStyle?C(t.staticStyle,e):e}function Br(t){return Array.isArray(t)?I(t):"string"===typeof t?qr(t):t}function $r(t,e){var n,i={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=zr(r.data))&&C(i,n)}(n=zr(t.data))&&C(i,n);var s=t;while(s=s.parent)s.data&&(n=zr(s.data))&&C(i,n);return i}var Wr,Ur=/^--/,Vr=/\s*!important$/,Xr=function(t,e,n){if(Ur.test(e))t.style.setProperty(e,n);else if(Vr.test(n))t.style.setProperty(e,n.replace(Vr,""),"important");else{var i=Zr(e);if(Array.isArray(n))for(var r=0,s=n.length;r-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function es(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function ns(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&C(e,is(t.name||"v")),C(e,t),e}return"string"===typeof t?is(t):void 0}}var is=b(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),rs=V&&!Q,ss="transition",os="animation",as="transition",cs="transitionend",ls="animation",us="animationend";rs&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(as="WebkitTransition",cs="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ls="WebkitAnimation",us="webkitAnimationEnd"));var hs=V?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ds(t){hs(function(){hs(t)})}function fs(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),ts(t,e))}function ps(t,e){t._transitionClasses&&g(t._transitionClasses,e),es(t,e)}function _s(t,e,n){var i=gs(t,e),r=i.type,s=i.timeout,o=i.propCount;if(!r)return n();var a=r===ss?cs:us,c=0,l=function(){t.removeEventListener(a,u),n()},u=function(e){e.target===t&&++c>=o&&l()};setTimeout(function(){c0&&(n=ss,u=o,h=s.length):e===os?l>0&&(n=os,u=l,h=c.length):(u=Math.max(o,l),n=u>0?o>l?ss:os:null,h=n?n===ss?s.length:c.length:0);var d=n===ss&&ms.test(i[as+"Property"]);return{type:n,timeout:u,propCount:h,hasTransform:d}}function ys(t,e){while(t.length1}function Ls(t,e){!0!==e.data.show&&bs(e)}var Es=V?{create:Ls,activate:Ls,remove:function(t,e){!0!==t.data.show?Ms(t,e):e()}}:{},Ts=[Er,Or,Ar,Gr,Qr,Es],Ss=Ts.concat(Mr),Os=fr({nodeOps:sr,modules:Ss});Q&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&As(t,"input")});var ks={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?ye(n,"postpatch",function(){ks.componentUpdated(t,e,n)}):Cs(t,e,n.context),t._vOptions=[].map.call(t.options,Ys)):("textarea"===n.tag||$i(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Rs),t.addEventListener("compositionend",Ns),t.addEventListener("change",Ns),Q&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Cs(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,Ys);if(r.some(function(t,e){return!N(t,i[e])})){var s=t.multiple?e.value.some(function(t){return Ds(t,r)}):e.value!==e.oldValue&&Ds(e.value,r);s&&As(t,"change")}}}};function Cs(t,e,n){Is(t,e,n),(J||tt)&&setTimeout(function(){Is(t,e,n)},0)}function Is(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var s,o,a=0,c=t.options.length;a-1,o.selected!==s&&(o.selected=s);else if(N(Ys(o),i))return void(t.selectedIndex!==a&&(t.selectedIndex=a));r||(t.selectedIndex=-1)}}function Ds(t,e){return e.every(function(e){return!N(e,t)})}function Ys(t){return"_value"in t?t._value:t.value}function Rs(t){t.target.composing=!0}function Ns(t){t.target.composing&&(t.target.composing=!1,As(t.target,"input"))}function As(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ps(t){return!t.componentInstance||t.data&&t.data.transition?t:Ps(t.componentInstance._vnode)}var js={bind:function(t,e,n){var i=e.value;n=Ps(n);var r=n.data&&n.data.transition,s=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,bs(n,function(){t.style.display=s})):t.style.display=i?s:"none"},update:function(t,e,n){var i=e.value,r=e.oldValue;if(!i!==!r){n=Ps(n);var s=n.data&&n.data.transition;s?(n.data.show=!0,i?bs(n,function(){t.style.display=t.__vOriginalDisplay}):Ms(n,function(){t.style.display="none"})):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},Fs={model:ks,show:js},Hs={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Gs(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Gs(ke(e.children)):t}function qs(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var s in r)e[w(s)]=r[s];return e}function zs(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Bs(t){while(t=t.parent)if(t.data.transition)return!0}function $s(t,e){return e.key===t.key&&e.tag===t.tag}var Ws={name:"transition",props:Hs,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(function(t){return t.tag||Oe(t)}),n.length)){0;var i=this.mode;0;var r=n[0];if(Bs(this.$vnode))return r;var s=Gs(r);if(!s)return r;if(this._leaving)return zs(t,r);var o="__transition-"+this._uid+"-";s.key=null==s.key?s.isComment?o+"comment":o+s.tag:a(s.key)?0===String(s.key).indexOf(o)?s.key:o+s.key:s.key;var c=(s.data||(s.data={})).transition=qs(this),l=this._vnode,u=Gs(l);if(s.data.directives&&s.data.directives.some(function(t){return"show"===t.name})&&(s.data.show=!0),u&&u.data&&!$s(s,u)&&!Oe(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=C({},c);if("out-in"===i)return this._leaving=!0,ye(h,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),zs(t,r);if("in-out"===i){if(Oe(s))return l;var d,f=function(){d()};ye(c,"afterEnter",f),ye(c,"enterCancelled",f),ye(h,"delayLeave",function(t){d=t})}}return r}}},Us=C({tag:String,moveClass:String},Hs);delete Us.mode;var Vs={props:Us,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],s=this.children=[],o=qs(this),a=0;a=20?"ste":"de")},week:{dow:1,doy:4}});return e})},"2c30":function(t,e,n){"use strict";function i(t,e,n,i){return void 0!==i?(i[0]=t,i[1]=e,i[2]=n,i):[t,e,n]}function r(t,e,n){return t+"/"+e+"/"+n}function s(t){return r(t[0],t[1],t[2])}function o(t){return t.split("/").map(Number)}function a(t){return(t[1]<n||n>e.getMaxZoom())return!1;var s,o=e.getExtent();return s=o?e.getTileRangeForExtentAndZ(o,n):e.getFullTileRange(n),!s||s.containsXY(i,r)}n.d(e,"a",function(){return i}),n.d(e,"d",function(){return r}),n.d(e,"c",function(){return s}),n.d(e,"b",function(){return o}),n.d(e,"e",function(){return a}),n.d(e,"f",function(){return c})},"2d00":function(t,e){t.exports=!1},"2d83":function(t,e,n){"use strict";var i=n("387f");t.exports=function(t,e,n,r,s){var o=new Error(t);return i(o,e,n,r,s)}},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2e67":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"2e8c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration @@ -70,7 +70,7 @@ var e=t.defineLocale("uz",{months:"январ_феврал_март_апрел_ * (c) 2017 Evan You * @license MIT */ -var i=function(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:i});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,n.call(this,t)}}function i(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}},r="undefined"!==typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function s(t){r&&(t._devtoolHook=r,r.emit("vuex:init",t),r.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){r.emit("vuex:mutation",t,e)}))}function o(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function a(t){return null!==t&&"object"===typeof t}function c(t){return t&&"function"===typeof t.then}var l=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},u={namespaced:{configurable:!0}};u.namespaced.get=function(){return!!this._rawModule.namespaced},l.prototype.addChild=function(t,e){this._children[t]=e},l.prototype.removeChild=function(t){delete this._children[t]},l.prototype.getChild=function(t){return this._children[t]},l.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},l.prototype.forEachChild=function(t){o(this._children,t)},l.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},l.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},l.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(l.prototype,u);var h=function(t){this.register([],t,!1)};function d(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;d(t.concat(i),e.getChild(i),n.modules[i])}}h.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},h.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},h.prototype.update=function(t){d([],this.root,t)},h.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new l(e,n);if(0===t.length)this.root=r;else{var s=this.get(t.slice(0,-1));s.addChild(t[t.length-1],r)}e.modules&&o(e.modules,function(e,r){i.register(t.concat(r),e,n)})},h.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var f;var p=function(t){var e=this;void 0===t&&(t={}),!f&&"undefined"!==typeof window&&window.Vue&&O(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1);var r=t.state;void 0===r&&(r={}),"function"===typeof r&&(r=r()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new h(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new f;var o=this,a=this,c=a.dispatch,l=a.commit;this.dispatch=function(t,e){return c.call(o,t,e)},this.commit=function(t,e,n){return l.call(o,t,e,n)},this.strict=i,v(this,r,[],this._modules.root),y(this,r),n.forEach(function(t){return t(e)}),f.config.devtools&&s(this)},_={state:{configurable:!0}};function m(t,e){return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function g(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;v(t,n,[],t._modules.root,!0),y(t,n,e)}function y(t,e,n){var i=t._vm;t.getters={};var r=t._wrappedGetters,s={};o(r,function(e,n){s[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var a=f.config.silent;f.config.silent=!0,t._vm=new f({data:{$$state:e},computed:s}),f.config.silent=a,t.strict&&E(t),i&&(n&&t._withCommit(function(){i._data.$$state=null}),f.nextTick(function(){return i.$destroy()}))}function v(t,e,n,i,r){var s=!n.length,o=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[o]=i),!s&&!r){var a=T(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit(function(){f.set(a,c,i.state)})}var l=i.context=b(t,o,n);i.forEachMutation(function(e,n){var i=o+n;w(t,i,e,l)}),i.forEachAction(function(e,n){var i=e.root?n:o+n,r=e.handler||e;x(t,i,r,l)}),i.forEachGetter(function(e,n){var i=o+n;L(t,i,e,l)}),i.forEachChild(function(i,s){v(t,e,n.concat(s),i,r)})}function b(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var s=S(n,i,r),o=s.payload,a=s.options,c=s.type;return a&&a.root||(c=e+c),t.dispatch(c,o)},commit:i?t.commit:function(n,i,r){var s=S(n,i,r),o=s.payload,a=s.options,c=s.type;a&&a.root||(c=e+c),t.commit(c,o,a)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return M(t,e)}},state:{get:function(){return T(t.state,n)}}}),r}function M(t,e){var n={},i=e.length;return Object.keys(t.getters).forEach(function(r){if(r.slice(0,i)===e){var s=r.slice(i);Object.defineProperty(n,s,{get:function(){return t.getters[r]},enumerable:!0})}}),n}function w(t,e,n,i){var r=t._mutations[e]||(t._mutations[e]=[]);r.push(function(e){n.call(t,i.state,e)})}function x(t,e,n,i){var r=t._actions[e]||(t._actions[e]=[]);r.push(function(e,r){var s=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e,r);return c(s)||(s=Promise.resolve(s)),t._devtoolHook?s.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):s})}function L(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}function E(t){t._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}function T(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function S(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function O(t){f&&t===f||(f=t,i(f))}_.state.get=function(){return this._vm._data.$$state},_.state.set=function(t){0},p.prototype.commit=function(t,e,n){var i=this,r=S(t,e,n),s=r.type,o=r.payload,a=(r.options,{type:s,payload:o}),c=this._mutations[s];c&&(this._withCommit(function(){c.forEach(function(t){t(o)})}),this._subscribers.forEach(function(t){return t(a,i.state)}))},p.prototype.dispatch=function(t,e){var n=this,i=S(t,e),r=i.type,s=i.payload,o={type:r,payload:s},a=this._actions[r];if(a)return this._actionSubscribers.forEach(function(t){return t(o,n.state)}),a.length>1?Promise.all(a.map(function(t){return t(s)})):a[0](s)},p.prototype.subscribe=function(t){return m(t,this._subscribers)},p.prototype.subscribeAction=function(t){return m(t,this._actionSubscribers)},p.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch(function(){return t(i.state,i.getters)},e,n)},p.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},p.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),v(this,this.state,t,this._modules.get(t),n.preserveState),y(this,this.state)},p.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=T(e.state,t.slice(0,-1));f.delete(n,t[t.length-1])}),g(this)},p.prototype.hotUpdate=function(t){this._modules.update(t),g(this,!0)},p.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(p.prototype,_);var k=A(function(t,e){var n={};return R(e).forEach(function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=N(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0}),n}),C=A(function(t,e){var n={};return R(e).forEach(function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.commit;if(t){var s=N(this.$store,"mapMutations",t);if(!s)return;i=s.context.commit}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}}),n}),I=A(function(t,e){var n={};return R(e).forEach(function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||N(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0}),n}),D=A(function(t,e){var n={};return R(e).forEach(function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var s=N(this.$store,"mapActions",t);if(!s)return;i=s.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}}),n}),Y=function(t){return{mapState:k.bind(null,t),mapGetters:I.bind(null,t),mapMutations:C.bind(null,t),mapActions:D.bind(null,t)}};function R(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function A(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function N(t,e,n){var i=t._modulesNamespaceMap[n];return i}var P={Store:p,install:O,version:"3.0.1",mapState:k,mapMutations:C,mapGetters:I,mapActions:D,createNamespacedHelpers:Y};e["a"]=P},"2fdb":function(t,e,n){"use strict";var i=n("5ca1"),r=n("d2c8"),s="includes";i(i.P+i.F*n("5147")(s),"String",{includes:function(t){return!!~r(this,t,s).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},3024:function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},3054:function(t,e,n){"use strict";e["a"]={name:"QCardSeparator",props:{inset:Boolean},render:function(t){return t("div",{staticClass:"q-card-separator",class:{inset:this.inset}},this.$slots.default)}}},"30b5":function(t,e,n){"use strict";var i=n("c532");function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var s;if(n)s=n(e);else if(i.isURLSearchParams(e))s=e.toString();else{var o=[];i.forEach(e,function(t,e){null!==t&&"undefined"!==typeof t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),o.push(r(e)+"="+r(t))}))}),s=o.join("&")}return s&&(t+=(-1===t.indexOf("?")?"?":"&")+s),t}},"30f1":function(t,e,n){"use strict";var i=n("b8e3"),r=n("63b6"),s=n("9138"),o=n("35e8"),a=n("481b"),c=n("8f60"),l=n("45f2"),u=n("53e2"),h=n("5168")("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",_="values",m=function(){return this};t.exports=function(t,e,n,g,y,v,b){c(n,e,g);var M,w,x,L=function(t){if(!d&&t in O)return O[t];switch(t){case p:return function(){return new n(this,t)};case _:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",T=y==_,S=!1,O=t.prototype,k=O[h]||O[f]||y&&O[y],C=k||L(y),I=y?T?L("entries"):C:void 0,D="Array"==e&&O.entries||k;if(D&&(x=u(D.call(new t)),x!==Object.prototype&&x.next&&(l(x,E,!0),i||"function"==typeof x[h]||o(x,h,m))),T&&k&&k.name!==_&&(S=!0,C=function(){return k.call(this)}),i&&!b||!d&&!S&&O[h]||o(O,h,C),a[e]=C,a[E]=m,y)if(M={values:T?C:L(_),keys:v?C:L(p),entries:I},b)for(w in M)w in O||s(O,w,M[w]);else r(r.P+r.F*(d||S),e,M);return M}},3101:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{constructor(t){this.value=t}intValue(){return this.value}compareTo(t){return this.valuet?1:0}static compare(t,e){return te?1:0}static isNan(t){return Number.isNaN(t)}static valueOf(t){return new i(t)}}},3156:function(t,e,n){var i=n("8f5a"),r=n("afdb"),s=n("895c"),o=n("9523");function a(t){for(var e=1;e0&&t[1]>0}function r(t,e,n){return void 0===n&&(n=[0,0]),n[0]=t[0]*e+.5|0,n[1]=t[1]*e+.5|0,n}function s(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:e[0]=e[1]=t,e)}n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r}),n.d(e,"c",function(){return s})},"351b":function(t,e,n){},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35a7":function(t,e,n){"use strict";n.r(e),n.d(e,"unByKey",function(){return a});var i=n("1e8d"),r=n("0ec0"),s=n("01d4"),o=function(t){function e(){t.call(this),this.revision_=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.changed=function(){++this.revision_,this.dispatchEvent(s["a"].CHANGE)},e.prototype.getRevision=function(){return this.revision_},e.prototype.on=function(t,e){if(Array.isArray(t)){for(var n=t.length,r=new Array(n),s=0;s1?arguments[1]:void 0,n),c=o>2?arguments[2]:void 0,l=void 0===c?n:r(c,n);while(l>a)e[a++]=t;return e}},"36c3":function(t,e,n){var i=n("335c"),r=n("25eb");t.exports=function(t){return i(r(t))}},3702:function(t,e,n){var i=n("481b"),r=n("5168")("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||s[r]===t)}},3820:function(t,e,n){"use strict";e["a"]={BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",TOP_LEFT:"top-left",TOP_RIGHT:"top-right"}},3846:function(t,e,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"386b":function(t,e,n){var i=n("5ca1"),r=n("79e5"),s=n("be13"),o=/"/g,a=function(t,e,n,i){var r=String(s(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(i).replace(o,""")+'"'),a+">"+r+""};t.exports=function(t,e){var n={};n[t]=e(a),i(i.P+i.F*r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},"386d":function(t,e,n){"use strict";var i=n("cb7c"),r=n("83a1"),s=n("5f1b");n("214f")("search",1,function(t,e,n,o){return[function(n){var i=t(this),r=void 0==n?void 0:n[e];return void 0!==r?r.call(n,i):new RegExp(n)[e](String(i))},function(t){var e=o(n,t,this);if(e.done)return e.value;var a=i(t),c=String(this),l=a.lastIndex;r(l,0)||(a.lastIndex=0);var u=s(a,c);return r(a.lastIndex,l)||(a.lastIndex=l),null===u?-1:u.index}]})},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,i,r){return t.config=e,n&&(t.code=n),t.request=i,t.response=r,t}},3886:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +var i=function(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:i});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,n.call(this,t)}}function i(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}},r="undefined"!==typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function s(t){r&&(t._devtoolHook=r,r.emit("vuex:init",t),r.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){r.emit("vuex:mutation",t,e)}))}function o(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function a(t){return null!==t&&"object"===typeof t}function c(t){return t&&"function"===typeof t.then}var l=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},u={namespaced:{configurable:!0}};u.namespaced.get=function(){return!!this._rawModule.namespaced},l.prototype.addChild=function(t,e){this._children[t]=e},l.prototype.removeChild=function(t){delete this._children[t]},l.prototype.getChild=function(t){return this._children[t]},l.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},l.prototype.forEachChild=function(t){o(this._children,t)},l.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},l.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},l.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(l.prototype,u);var h=function(t){this.register([],t,!1)};function d(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;d(t.concat(i),e.getChild(i),n.modules[i])}}h.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},h.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},h.prototype.update=function(t){d([],this.root,t)},h.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new l(e,n);if(0===t.length)this.root=r;else{var s=this.get(t.slice(0,-1));s.addChild(t[t.length-1],r)}e.modules&&o(e.modules,function(e,r){i.register(t.concat(r),e,n)})},h.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var f;var p=function(t){var e=this;void 0===t&&(t={}),!f&&"undefined"!==typeof window&&window.Vue&&O(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1);var r=t.state;void 0===r&&(r={}),"function"===typeof r&&(r=r()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new h(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new f;var o=this,a=this,c=a.dispatch,l=a.commit;this.dispatch=function(t,e){return c.call(o,t,e)},this.commit=function(t,e,n){return l.call(o,t,e,n)},this.strict=i,v(this,r,[],this._modules.root),y(this,r),n.forEach(function(t){return t(e)}),f.config.devtools&&s(this)},_={state:{configurable:!0}};function m(t,e){return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function g(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;v(t,n,[],t._modules.root,!0),y(t,n,e)}function y(t,e,n){var i=t._vm;t.getters={};var r=t._wrappedGetters,s={};o(r,function(e,n){s[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var a=f.config.silent;f.config.silent=!0,t._vm=new f({data:{$$state:e},computed:s}),f.config.silent=a,t.strict&&E(t),i&&(n&&t._withCommit(function(){i._data.$$state=null}),f.nextTick(function(){return i.$destroy()}))}function v(t,e,n,i,r){var s=!n.length,o=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[o]=i),!s&&!r){var a=T(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit(function(){f.set(a,c,i.state)})}var l=i.context=b(t,o,n);i.forEachMutation(function(e,n){var i=o+n;w(t,i,e,l)}),i.forEachAction(function(e,n){var i=e.root?n:o+n,r=e.handler||e;x(t,i,r,l)}),i.forEachGetter(function(e,n){var i=o+n;L(t,i,e,l)}),i.forEachChild(function(i,s){v(t,e,n.concat(s),i,r)})}function b(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var s=S(n,i,r),o=s.payload,a=s.options,c=s.type;return a&&a.root||(c=e+c),t.dispatch(c,o)},commit:i?t.commit:function(n,i,r){var s=S(n,i,r),o=s.payload,a=s.options,c=s.type;a&&a.root||(c=e+c),t.commit(c,o,a)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return M(t,e)}},state:{get:function(){return T(t.state,n)}}}),r}function M(t,e){var n={},i=e.length;return Object.keys(t.getters).forEach(function(r){if(r.slice(0,i)===e){var s=r.slice(i);Object.defineProperty(n,s,{get:function(){return t.getters[r]},enumerable:!0})}}),n}function w(t,e,n,i){var r=t._mutations[e]||(t._mutations[e]=[]);r.push(function(e){n.call(t,i.state,e)})}function x(t,e,n,i){var r=t._actions[e]||(t._actions[e]=[]);r.push(function(e,r){var s=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e,r);return c(s)||(s=Promise.resolve(s)),t._devtoolHook?s.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):s})}function L(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}function E(t){t._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}function T(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function S(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function O(t){f&&t===f||(f=t,i(f))}_.state.get=function(){return this._vm._data.$$state},_.state.set=function(t){0},p.prototype.commit=function(t,e,n){var i=this,r=S(t,e,n),s=r.type,o=r.payload,a=(r.options,{type:s,payload:o}),c=this._mutations[s];c&&(this._withCommit(function(){c.forEach(function(t){t(o)})}),this._subscribers.forEach(function(t){return t(a,i.state)}))},p.prototype.dispatch=function(t,e){var n=this,i=S(t,e),r=i.type,s=i.payload,o={type:r,payload:s},a=this._actions[r];if(a)return this._actionSubscribers.forEach(function(t){return t(o,n.state)}),a.length>1?Promise.all(a.map(function(t){return t(s)})):a[0](s)},p.prototype.subscribe=function(t){return m(t,this._subscribers)},p.prototype.subscribeAction=function(t){return m(t,this._actionSubscribers)},p.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch(function(){return t(i.state,i.getters)},e,n)},p.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},p.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),v(this,this.state,t,this._modules.get(t),n.preserveState),y(this,this.state)},p.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=T(e.state,t.slice(0,-1));f.delete(n,t[t.length-1])}),g(this)},p.prototype.hotUpdate=function(t){this._modules.update(t),g(this,!0)},p.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(p.prototype,_);var k=N(function(t,e){var n={};return R(e).forEach(function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=A(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0}),n}),C=N(function(t,e){var n={};return R(e).forEach(function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.commit;if(t){var s=A(this.$store,"mapMutations",t);if(!s)return;i=s.context.commit}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}}),n}),I=N(function(t,e){var n={};return R(e).forEach(function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||A(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0}),n}),D=N(function(t,e){var n={};return R(e).forEach(function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var s=A(this.$store,"mapActions",t);if(!s)return;i=s.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}}),n}),Y=function(t){return{mapState:k.bind(null,t),mapGetters:I.bind(null,t),mapMutations:C.bind(null,t),mapActions:D.bind(null,t)}};function R(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function N(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function A(t,e,n){var i=t._modulesNamespaceMap[n];return i}var P={Store:p,install:O,version:"3.0.1",mapState:k,mapMutations:C,mapGetters:I,mapActions:D,createNamespacedHelpers:Y};e["a"]=P},"2fdb":function(t,e,n){"use strict";var i=n("5ca1"),r=n("d2c8"),s="includes";i(i.P+i.F*n("5147")(s),"String",{includes:function(t){return!!~r(this,t,s).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},3024:function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},3054:function(t,e,n){"use strict";e["a"]={name:"QCardSeparator",props:{inset:Boolean},render:function(t){return t("div",{staticClass:"q-card-separator",class:{inset:this.inset}},this.$slots.default)}}},"30b5":function(t,e,n){"use strict";var i=n("c532");function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var s;if(n)s=n(e);else if(i.isURLSearchParams(e))s=e.toString();else{var o=[];i.forEach(e,function(t,e){null!==t&&"undefined"!==typeof t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),o.push(r(e)+"="+r(t))}))}),s=o.join("&")}return s&&(t+=(-1===t.indexOf("?")?"?":"&")+s),t}},"30f1":function(t,e,n){"use strict";var i=n("b8e3"),r=n("63b6"),s=n("9138"),o=n("35e8"),a=n("481b"),c=n("8f60"),l=n("45f2"),u=n("53e2"),h=n("5168")("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",_="values",m=function(){return this};t.exports=function(t,e,n,g,y,v,b){c(n,e,g);var M,w,x,L=function(t){if(!d&&t in O)return O[t];switch(t){case p:return function(){return new n(this,t)};case _:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",T=y==_,S=!1,O=t.prototype,k=O[h]||O[f]||y&&O[y],C=k||L(y),I=y?T?L("entries"):C:void 0,D="Array"==e&&O.entries||k;if(D&&(x=u(D.call(new t)),x!==Object.prototype&&x.next&&(l(x,E,!0),i||"function"==typeof x[h]||o(x,h,m))),T&&k&&k.name!==_&&(S=!0,C=function(){return k.call(this)}),i&&!b||!d&&!S&&O[h]||o(O,h,C),a[e]=C,a[E]=m,y)if(M={values:T?C:L(_),keys:v?C:L(p),entries:I},b)for(w in M)w in O||s(O,w,M[w]);else r(r.P+r.F*(d||S),e,M);return M}},3101:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{constructor(t){this.value=t}intValue(){return this.value}compareTo(t){return this.valuet?1:0}static compare(t,e){return te?1:0}static isNan(t){return Number.isNaN(t)}static valueOf(t){return new i(t)}}},3156:function(t,e,n){var i=n("8f5a"),r=n("afdb"),s=n("895c"),o=n("9523");function a(t){for(var e=1;e0&&t[1]>0}function r(t,e,n){return void 0===n&&(n=[0,0]),n[0]=t[0]*e+.5|0,n[1]=t[1]*e+.5|0,n}function s(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:e[0]=e[1]=t,e)}n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r}),n.d(e,"c",function(){return s})},"351b":function(t,e,n){},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35a7":function(t,e,n){"use strict";n.r(e),n.d(e,"unByKey",function(){return a});var i=n("1e8d"),r=n("0ec0"),s=n("01d4"),o=function(t){function e(){t.call(this),this.revision_=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.changed=function(){++this.revision_,this.dispatchEvent(s["a"].CHANGE)},e.prototype.getRevision=function(){return this.revision_},e.prototype.on=function(t,e){if(Array.isArray(t)){for(var n=t.length,r=new Array(n),s=0;s1?arguments[1]:void 0,n),c=o>2?arguments[2]:void 0,l=void 0===c?n:r(c,n);while(l>a)e[a++]=t;return e}},"36c3":function(t,e,n){var i=n("335c"),r=n("25eb");t.exports=function(t){return i(r(t))}},3702:function(t,e,n){var i=n("481b"),r=n("5168")("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||s[r]===t)}},3820:function(t,e,n){"use strict";e["a"]={BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",TOP_LEFT:"top-left",TOP_RIGHT:"top-right"}},3846:function(t,e,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"386b":function(t,e,n){var i=n("5ca1"),r=n("79e5"),s=n("be13"),o=/"/g,a=function(t,e,n,i){var r=String(s(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(i).replace(o,""")+'"'),a+">"+r+""};t.exports=function(t,e){var n={};n[t]=e(a),i(i.P+i.F*r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},"386d":function(t,e,n){"use strict";var i=n("cb7c"),r=n("83a1"),s=n("5f1b");n("214f")("search",1,function(t,e,n,o){return[function(n){var i=t(this),r=void 0==n?void 0:n[e];return void 0!==r?r.call(n,i):new RegExp(n)[e](String(i))},function(t){var e=o(n,t,this);if(e.done)return e.value;var a=i(t),c=String(this),l=a.lastIndex;r(l,0)||(a.lastIndex=0);var u=s(a,c);return r(a.lastIndex,l)||(a.lastIndex=l),null===u?-1:u.index}]})},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,i,r){return t.config=e,n&&(t.code=n),t.request=i,t.response=r,t}},3886:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}});return e})},3894:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("138e"),r=n("c191"),s=n("fd89"),o=n("eab5"),a=n("2ac1");class c extends i["a"]{constructor(){super(),c.constructor_.apply(this,arguments)}static constructor_(){const t=arguments[0],e=arguments[1];i["a"].constructor_.call(this,t,e),this.validateConstruction()}copyInternal(){return new c(this._points.copy(),this._factory)}getBoundaryDimension(){return a["a"].FALSE}isClosed(){return!!this.isEmpty()||super.isClosed.call(this)}reverseInternal(){const t=this._points.copy();return o["a"].reverse(t),this.getFactory().createLinearRing(t)}getTypeCode(){return r["a"].TYPECODE_LINEARRING}validateConstruction(){if(!this.isEmpty()&&!super.isClosed.call(this))throw new s["a"]("Points of LinearRing do not form a closed linestring");if(this.getCoordinateSequence().size()>=1&&this.getCoordinateSequence().size()= 4)")}getGeometryType(){return r["a"].TYPENAME_LINEARRING}}c.MINIMUM_VALID_SIZE=4},"38de":function(t,e,n){"use strict";e["a"]=function(t,e){return t.interfaces_&&t.interfaces_.indexOf(e)>-1}},"38f3":function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r}),n.d(e,"c",function(){return s}),n.d(e,"d",function(){return o});var i="function"===typeof Object.assign?Object.assign:function(t,e){var n=arguments;if(void 0===t||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var i=Object(t),r=1,s=arguments.length;r=12?t:t+12:void 0},meridiem:function(t,e,n){return t>=0&&t<6?"पहाटे":t<12?"सकाळी":t<17?"दुपारी":t<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return r})},"3a08":function(t,e,n){"use strict";e["a"]={name:"QCardMain",render:function(t){return t("div",{staticClass:"q-card-main q-card-container"},this.$slots.default)}}},"3a38":function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},"3a39":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration -var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},i=t.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"राति":t<12?"बिहान":t<16?"दिउँसो":t<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});return i})},"3a39b":function(t,e,n){"use strict";var i=n("e300"),r=function(t,e,n){this.decay_=t,this.minVelocity_=e,this.delay_=n,this.points_=[],this.angle_=0,this.initialVelocity_=0};r.prototype.begin=function(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0},r.prototype.update=function(t,e){this.points_.push(t,e,Date.now())},r.prototype.end=function(){if(this.points_.length<6)return!1;var t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]0&&this.points_[n+2]>t)n-=3;var i=this.points_[e+2]-this.points_[n+2];if(i<1e3/60)return!1;var r=this.points_[e]-this.points_[n],s=this.points_[e+1]-this.points_[n+1];return this.angle_=Math.atan2(s,r),this.initialVelocity_=Math.sqrt(r*r+s*s)/i,this.initialVelocity_>this.minVelocity_},r.prototype.getDistance=function(){return(this.minVelocity_-this.initialVelocity_)/this.decay_},r.prototype.getAngle=function(){return this.angle_};var s=r,o=n("0b2d"),a=n("4334"),c=function(t){function e(e){t.call(this,{handleEvent:l});var n=e||{};this.delta_=n.delta?n.delta:1,this.duration_=void 0!==n.duration?n.duration:250}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(a["a"]);function l(t){var e=!1;if(t.type==o["a"].DBLCLICK){var n=t.originalEvent,i=t.map,r=t.coordinate,s=n.shiftKey?-this.delta_:this.delta_,c=i.getView();Object(a["f"])(c,s,r,this.duration_),t.preventDefault(),e=!0}return!e}var u=c,h=n("496f"),d=n("a568"),f=n("ca42"),p=n("06f8"),_=n("57cb"),m=n("4105"),g=function(t){function e(e){t.call(this,{stopDown:_["a"]});var n=e||{};this.kinetic_=n.kinetic,this.lastCentroid=null,this.lastPointersCount_,this.panning_=!1,this.condition_=n.condition?n.condition:p["g"],this.noKinetic_=!1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.handleDragEvent=function(t){this.panning_||(this.panning_=!0,this.getMap().getView().setHint(h["a"].INTERACTING,1));var e=this.targetPointers,n=Object(m["a"])(e);if(e.length==this.lastPointersCount_){if(this.kinetic_&&this.kinetic_.update(n[0],n[1]),this.lastCentroid){var i=this.lastCentroid[0]-n[0],r=n[1]-this.lastCentroid[1],s=t.map,o=s.getView(),a=[i,r];Object(d["g"])(a,o.getResolution()),Object(d["f"])(a,o.getRotation()),Object(d["a"])(a,o.getCenter()),a=o.constrainCenter(a),o.setCenter(a)}}else this.kinetic_&&this.kinetic_.begin();this.lastCentroid=n,this.lastPointersCount_=e.length},e.prototype.handleUpEvent=function(t){var e=t.map,n=e.getView();if(0===this.targetPointers.length){if(!this.noKinetic_&&this.kinetic_&&this.kinetic_.end()){var i=this.kinetic_.getDistance(),r=this.kinetic_.getAngle(),s=n.getCenter(),o=e.getPixelFromCoordinate(s),a=e.getCoordinateFromPixel([o[0]-i*Math.cos(r),o[1]-i*Math.sin(r)]);n.animate({center:n.constrainCenter(a),duration:500,easing:f["b"]})}return this.panning_&&(this.panning_=!1,n.setHint(h["a"].INTERACTING,-1)),!1}return this.kinetic_&&this.kinetic_.begin(),this.lastCentroid=null,!0},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>0&&this.condition_(t)){var e=t.map,n=e.getView();return this.lastCentroid=null,n.getAnimating()&&n.setCenter(t.frameState.viewState.center),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1},e}(m["b"]),y=g,v=n("8cc5"),b=function(t){function e(e){var n=e||{};t.call(this,{stopDown:_["a"]}),this.condition_=n.condition?n.condition:p["b"],this.lastAngle_=void 0,this.duration_=void 0!==n.duration?n.duration:250}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.handleDragEvent=function(t){if(Object(p["f"])(t)){var e=t.map,n=e.getView();if(n.getConstraints().rotation!==v["c"]){var i=e.getSize(),r=t.pixel,s=Math.atan2(i[1]/2-r[1],r[0]-i[0]/2);if(void 0!==this.lastAngle_){var o=s-this.lastAngle_,c=n.getRotation();Object(a["d"])(n,c-o)}this.lastAngle_=s}}},e.prototype.handleUpEvent=function(t){if(!Object(p["f"])(t))return!0;var e=t.map,n=e.getView();n.setHint(h["a"].INTERACTING,-1);var i=n.getRotation();return Object(a["c"])(n,i,void 0,this.duration_),!1},e.prototype.handleDownEvent=function(t){if(!Object(p["f"])(t))return!1;if(Object(p["e"])(t)&&this.condition_(t)){var e=t.map;return e.getView().setHint(h["a"].INTERACTING,1),this.lastAngle_=void 0,!0}return!1},e}(m["b"]),M=b,w=n("0af5"),x=n("cef7"),L=n("da5c"),E=n("5bc3"),T=function(t){function e(e){t.call(this),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.className="ol-box "+e,this.map_=null,this.startPixel_=null,this.endPixel_=null}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.disposeInternal=function(){this.setMap(null)},e.prototype.render_=function(){var t=this.startPixel_,e=this.endPixel_,n="px",i=this.element_.style;i.left=Math.min(t[0],e[0])+n,i.top=Math.min(t[1],e[1])+n,i.width=Math.abs(e[0]-t[0])+n,i.height=Math.abs(e[1]-t[1])+n},e.prototype.setMap=function(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);var e=this.element_.style;e.left=e.top=e.width=e.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)},e.prototype.setPixels=function(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()},e.prototype.createOrUpdateGeometry=function(){var t=this.startPixel_,e=this.endPixel_,n=[t,[t[0],e[1]],e,[e[0],t[1]]],i=n.map(this.map_.getCoordinateFromPixel,this.map_);i[4]=i[0].slice(),this.geometry_?this.geometry_.setCoordinates([i]):this.geometry_=new E["a"]([i])},e.prototype.getGeometry=function(){return this.geometry_},e}(L["a"]),S=T,O={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend"},k=function(t){function e(e,n,i){t.call(this,e),this.coordinate=n,this.mapBrowserEvent=i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(x["a"]),C=function(t){function e(e){t.call(this);var n=e||{};this.box_=new S(n.className||"ol-dragbox"),this.minArea_=void 0!==n.minArea?n.minArea:64,this.onBoxEnd_=n.onBoxEnd?n.onBoxEnd:_["c"],this.startPixel_=null,this.condition_=n.condition?n.condition:p["c"],this.boxEndCondition_=n.boxEndCondition?n.boxEndCondition:this.defaultBoxEndCondition}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.defaultBoxEndCondition=function(t,e,n){var i=n[0]-e[0],r=n[1]-e[1];return i*i+r*r>=this.minArea_},e.prototype.getGeometry=function(){return this.box_.getGeometry()},e.prototype.handleDragEvent=function(t){Object(p["f"])(t)&&(this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new k(O.BOXDRAG,t.coordinate,t)))},e.prototype.handleUpEvent=function(t){return!Object(p["f"])(t)||(this.box_.setMap(null),this.boxEndCondition_(t,this.startPixel_,t.pixel)&&(this.onBoxEnd_(t),this.dispatchEvent(new k(O.BOXEND,t.coordinate,t))),!1)},e.prototype.handleDownEvent=function(t){return!!Object(p["f"])(t)&&(!(!Object(p["e"])(t)||!this.condition_(t))&&(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new k(O.BOXSTART,t.coordinate,t)),!0))},e}(m["b"]),I=C,D=function(t){function e(e){var n=e||{},i=n.condition?n.condition:p["i"];t.call(this,{condition:i,className:n.className||"ol-dragzoom",onBoxEnd:Y}),this.duration_=void 0!==n.duration?n.duration:200,this.out_=void 0!==n.out&&n.out}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(I);function Y(){var t=this.getMap(),e=t.getView(),n=t.getSize(),i=this.getGeometry().getExtent();if(this.out_){var r=e.calculateExtent(n),s=Object(w["n"])([t.getPixelFromCoordinate(Object(w["v"])(i)),t.getPixelFromCoordinate(Object(w["D"])(i))]),o=e.getResolutionForExtent(s,n);Object(w["J"])(r,1/o),i=r}var a=e.constrainResolution(e.getResolutionForExtent(i,n)),c=Object(w["x"])(i);c=e.constrainCenter(c),e.animate({resolution:a,center:c,duration:this.duration_,easing:f["b"]})}var R=D,A=n("01d4"),N={LEFT:37,UP:38,RIGHT:39,DOWN:40},P=function(t){function e(e){t.call(this,{handleEvent:j});var n=e||{};this.defaultCondition_=function(t){return Object(p["g"])(t)&&Object(p["k"])(t)},this.condition_=void 0!==n.condition?n.condition:this.defaultCondition_,this.duration_=void 0!==n.duration?n.duration:100,this.pixelDelta_=void 0!==n.pixelDelta?n.pixelDelta:128}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(a["a"]);function j(t){var e=!1;if(t.type==A["a"].KEYDOWN){var n=t.originalEvent,i=n.keyCode;if(this.condition_(t)&&(i==N.DOWN||i==N.LEFT||i==N.RIGHT||i==N.UP)){var r=t.map,s=r.getView(),o=s.getResolution()*this.pixelDelta_,c=0,l=0;i==N.DOWN?l=-o:i==N.LEFT?c=-o:i==N.RIGHT?c=o:l=o;var u=[c,l];Object(d["f"])(u,s.getRotation()),Object(a["b"])(s,u,this.duration_),t.preventDefault(),e=!0}}return!e}var F=P,H=function(t){function e(e){t.call(this,{handleEvent:G});var n=e||{};this.condition_=n.condition?n.condition:p["k"],this.delta_=n.delta?n.delta:1,this.duration_=void 0!==n.duration?n.duration:100}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(a["a"]);function G(t){var e=!1;if(t.type==A["a"].KEYDOWN||t.type==A["a"].KEYPRESS){var n=t.originalEvent,i=n.charCode;if(this.condition_(t)&&(i=="+".charCodeAt(0)||i=="-".charCodeAt(0))){var r=t.map,s=i=="+".charCodeAt(0)?this.delta_:-this.delta_,o=r.getView();Object(a["f"])(o,s,void 0,this.duration_),t.preventDefault(),e=!0}}return!e}var q=H,z=n("617d"),B=n("7fc9"),$=1,W={TRACKPAD:"trackpad",WHEEL:"wheel"},U=function(t){function e(e){var n=e||{};t.call(this,n),this.delta_=0,this.duration_=void 0!==n.duration?n.duration:250,this.timeout_=void 0!==n.timeout?n.timeout:80,this.useAnchor_=void 0===n.useAnchor||n.useAnchor,this.constrainResolution_=n.constrainResolution||!1,this.condition_=n.condition?n.condition:p["c"],this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.trackpadDeltaPerZoom_=300,this.trackpadZoomBuffer_=1.5}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.decrementInteractingHint_=function(){this.trackpadTimeoutId_=void 0;var t=this.getMap().getView();t.setHint(h["a"].INTERACTING,-1)},e.prototype.handleEvent=function(t){if(!this.condition_(t))return!0;var e=t.type;if(e!==A["a"].WHEEL&&e!==A["a"].MOUSEWHEEL)return!0;t.preventDefault();var n,i=t.map,r=t.originalEvent;if(this.useAnchor_&&(this.lastAnchor_=t.coordinate),t.type==A["a"].WHEEL?(n=r.deltaY,z["c"]&&r.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(n/=z["b"]),r.deltaMode===WheelEvent.DOM_DELTA_LINE&&(n*=40)):t.type==A["a"].MOUSEWHEEL&&(n=-r.wheelDeltaY,z["g"]&&(n/=3)),0===n)return!1;var s=Date.now();if(void 0===this.startTime_&&(this.startTime_=s),(!this.mode_||s-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(n)<4?W.TRACKPAD:W.WHEEL),this.mode_===W.TRACKPAD){var o=i.getView();this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):o.setHint(h["a"].INTERACTING,1),this.trackpadTimeoutId_=setTimeout(this.decrementInteractingHint_.bind(this),this.trackpadEventGap_);var a=o.getResolution()*Math.pow(2,n/this.trackpadDeltaPerZoom_),c=o.getMinResolution(),l=o.getMaxResolution(),u=0;if(al&&(a=Math.min(a,l*this.trackpadZoomBuffer_),u=-1),this.lastAnchor_){var d=o.calculateCenterZoom(a,this.lastAnchor_);o.setCenter(o.constrainCenter(d))}return o.setResolution(a),0===u&&this.constrainResolution_&&o.animate({resolution:o.constrainResolution(a,n>0?-1:1),easing:f["b"],anchor:this.lastAnchor_,duration:this.duration_}),u>0?o.animate({resolution:c,easing:f["b"],anchor:this.lastAnchor_,duration:500}):u<0&&o.animate({resolution:l,easing:f["b"],anchor:this.lastAnchor_,duration:500}),this.startTime_=s,!1}this.delta_+=n;var p=Math.max(this.timeout_-(s-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,i),p),!1},e.prototype.handleWheelZoom_=function(t){var e=t.getView();e.getAnimating()&&e.cancelAnimations();var n=$,i=Object(B["a"])(this.delta_,-n,n);Object(a["f"])(e,-i,this.lastAnchor_,this.duration_),this.mode_=void 0,this.delta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0},e.prototype.setMouseAnchor=function(t){this.useAnchor_=t,t||(this.lastAnchor_=null)},e}(a["a"]),V=U,X=function(t){function e(e){var n=e||{},i=n;i.stopDown||(i.stopDown=_["a"]),t.call(this,i),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=void 0!==n.threshold?n.threshold:.3,this.duration_=void 0!==n.duration?n.duration:250}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.handleDragEvent=function(t){var e=0,n=this.targetPointers[0],i=this.targetPointers[1],r=Math.atan2(i.clientY-n.clientY,i.clientX-n.clientX);if(void 0!==this.lastAngle_){var s=r-this.lastAngle_;this.rotationDelta_+=s,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=s}this.lastAngle_=r;var o=t.map,c=o.getView();if(c.getConstraints().rotation!==v["c"]){var l=o.getViewport().getBoundingClientRect(),u=Object(m["a"])(this.targetPointers);if(u[0]-=l.left,u[1]-=l.top,this.anchor_=o.getCoordinateFromPixel(u),this.rotating_){var h=c.getRotation();o.render(),Object(a["d"])(c,h+e,this.anchor_)}}},e.prototype.handleUpEvent=function(t){if(this.targetPointers.length<2){var e=t.map,n=e.getView();if(n.setHint(h["a"].INTERACTING,-1),this.rotating_){var i=n.getRotation();Object(a["c"])(n,i,this.anchor_,this.duration_)}return!1}return!0},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>=2){var e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().setHint(h["a"].INTERACTING,1),!0}return!1},e}(m["b"]),K=X,Z=function(t){function e(e){var n=e||{},i=n;i.stopDown||(i.stopDown=_["a"]),t.call(this,i),this.constrainResolution_=n.constrainResolution||!1,this.anchor_=null,this.duration_=void 0!==n.duration?n.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.handleDragEvent=function(t){var e=1,n=this.targetPointers[0],i=this.targetPointers[1],r=n.clientX-i.clientX,s=n.clientY-i.clientY,o=Math.sqrt(r*r+s*s);void 0!==this.lastDistance_&&(e=this.lastDistance_/o),this.lastDistance_=o;var c=t.map,l=c.getView(),u=l.getResolution(),h=l.getMaxResolution(),d=l.getMinResolution(),f=u*e;f>h?(e=h/u,f=h):fn.getMaxResolution()){var r=this.lastScaleDelta_-1;Object(a["e"])(n,i,this.anchor_,this.duration_,r)}return!1}return!0},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>=2){var e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().setHint(h["a"].INTERACTING,1),!0}return!1},e}(m["b"]),J=Z;function Q(t){var e=t||{},n=new i["a"],r=new s(-.005,.05,100),o=void 0===e.altShiftDragRotate||e.altShiftDragRotate;o&&n.push(new M);var a=void 0===e.doubleClickZoom||e.doubleClickZoom;a&&n.push(new u({delta:e.zoomDelta,duration:e.zoomDuration}));var c=void 0===e.dragPan||e.dragPan;c&&n.push(new y({condition:e.onFocusOnly?p["d"]:void 0,kinetic:r}));var l=void 0===e.pinchRotate||e.pinchRotate;l&&n.push(new K);var h=void 0===e.pinchZoom||e.pinchZoom;h&&n.push(new J({constrainResolution:e.constrainResolution,duration:e.zoomDuration}));var d=void 0===e.keyboard||e.keyboard;d&&(n.push(new F),n.push(new q({delta:e.zoomDelta,duration:e.zoomDuration})));var f=void 0===e.mouseWheelZoom||e.mouseWheelZoom;f&&n.push(new V({condition:e.onFocusOnly?p["d"]:void 0,constrainResolution:e.constrainResolution,duration:e.zoomDuration}));var _=void 0===e.shiftDragZoom||e.shiftDragZoom;return _&&n.push(new R({duration:e.zoomDuration})),n}n.d(e,"a",function(){return Q})},"3a6c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},i=t.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"राति":t<12?"बिहान":t<16?"दिउँसो":t<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});return i})},"3a39b":function(t,e,n){"use strict";var i=n("e300"),r=function(t,e,n){this.decay_=t,this.minVelocity_=e,this.delay_=n,this.points_=[],this.angle_=0,this.initialVelocity_=0};r.prototype.begin=function(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0},r.prototype.update=function(t,e){this.points_.push(t,e,Date.now())},r.prototype.end=function(){if(this.points_.length<6)return!1;var t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]0&&this.points_[n+2]>t)n-=3;var i=this.points_[e+2]-this.points_[n+2];if(i<1e3/60)return!1;var r=this.points_[e]-this.points_[n],s=this.points_[e+1]-this.points_[n+1];return this.angle_=Math.atan2(s,r),this.initialVelocity_=Math.sqrt(r*r+s*s)/i,this.initialVelocity_>this.minVelocity_},r.prototype.getDistance=function(){return(this.minVelocity_-this.initialVelocity_)/this.decay_},r.prototype.getAngle=function(){return this.angle_};var s=r,o=n("0b2d"),a=n("4334"),c=function(t){function e(e){t.call(this,{handleEvent:l});var n=e||{};this.delta_=n.delta?n.delta:1,this.duration_=void 0!==n.duration?n.duration:250}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(a["a"]);function l(t){var e=!1;if(t.type==o["a"].DBLCLICK){var n=t.originalEvent,i=t.map,r=t.coordinate,s=n.shiftKey?-this.delta_:this.delta_,c=i.getView();Object(a["f"])(c,s,r,this.duration_),t.preventDefault(),e=!0}return!e}var u=c,h=n("496f"),d=n("a568"),f=n("ca42"),p=n("06f8"),_=n("57cb"),m=n("4105"),g=function(t){function e(e){t.call(this,{stopDown:_["a"]});var n=e||{};this.kinetic_=n.kinetic,this.lastCentroid=null,this.lastPointersCount_,this.panning_=!1,this.condition_=n.condition?n.condition:p["g"],this.noKinetic_=!1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.handleDragEvent=function(t){this.panning_||(this.panning_=!0,this.getMap().getView().setHint(h["a"].INTERACTING,1));var e=this.targetPointers,n=Object(m["a"])(e);if(e.length==this.lastPointersCount_){if(this.kinetic_&&this.kinetic_.update(n[0],n[1]),this.lastCentroid){var i=this.lastCentroid[0]-n[0],r=n[1]-this.lastCentroid[1],s=t.map,o=s.getView(),a=[i,r];Object(d["g"])(a,o.getResolution()),Object(d["f"])(a,o.getRotation()),Object(d["a"])(a,o.getCenter()),a=o.constrainCenter(a),o.setCenter(a)}}else this.kinetic_&&this.kinetic_.begin();this.lastCentroid=n,this.lastPointersCount_=e.length},e.prototype.handleUpEvent=function(t){var e=t.map,n=e.getView();if(0===this.targetPointers.length){if(!this.noKinetic_&&this.kinetic_&&this.kinetic_.end()){var i=this.kinetic_.getDistance(),r=this.kinetic_.getAngle(),s=n.getCenter(),o=e.getPixelFromCoordinate(s),a=e.getCoordinateFromPixel([o[0]-i*Math.cos(r),o[1]-i*Math.sin(r)]);n.animate({center:n.constrainCenter(a),duration:500,easing:f["b"]})}return this.panning_&&(this.panning_=!1,n.setHint(h["a"].INTERACTING,-1)),!1}return this.kinetic_&&this.kinetic_.begin(),this.lastCentroid=null,!0},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>0&&this.condition_(t)){var e=t.map,n=e.getView();return this.lastCentroid=null,n.getAnimating()&&n.setCenter(t.frameState.viewState.center),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1},e}(m["b"]),y=g,v=n("8cc5"),b=function(t){function e(e){var n=e||{};t.call(this,{stopDown:_["a"]}),this.condition_=n.condition?n.condition:p["b"],this.lastAngle_=void 0,this.duration_=void 0!==n.duration?n.duration:250}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.handleDragEvent=function(t){if(Object(p["f"])(t)){var e=t.map,n=e.getView();if(n.getConstraints().rotation!==v["c"]){var i=e.getSize(),r=t.pixel,s=Math.atan2(i[1]/2-r[1],r[0]-i[0]/2);if(void 0!==this.lastAngle_){var o=s-this.lastAngle_,c=n.getRotation();Object(a["d"])(n,c-o)}this.lastAngle_=s}}},e.prototype.handleUpEvent=function(t){if(!Object(p["f"])(t))return!0;var e=t.map,n=e.getView();n.setHint(h["a"].INTERACTING,-1);var i=n.getRotation();return Object(a["c"])(n,i,void 0,this.duration_),!1},e.prototype.handleDownEvent=function(t){if(!Object(p["f"])(t))return!1;if(Object(p["e"])(t)&&this.condition_(t)){var e=t.map;return e.getView().setHint(h["a"].INTERACTING,1),this.lastAngle_=void 0,!0}return!1},e}(m["b"]),M=b,w=n("0af5"),x=n("cef7"),L=n("da5c"),E=n("5bc3"),T=function(t){function e(e){t.call(this),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.className="ol-box "+e,this.map_=null,this.startPixel_=null,this.endPixel_=null}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.disposeInternal=function(){this.setMap(null)},e.prototype.render_=function(){var t=this.startPixel_,e=this.endPixel_,n="px",i=this.element_.style;i.left=Math.min(t[0],e[0])+n,i.top=Math.min(t[1],e[1])+n,i.width=Math.abs(e[0]-t[0])+n,i.height=Math.abs(e[1]-t[1])+n},e.prototype.setMap=function(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);var e=this.element_.style;e.left=e.top=e.width=e.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)},e.prototype.setPixels=function(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()},e.prototype.createOrUpdateGeometry=function(){var t=this.startPixel_,e=this.endPixel_,n=[t,[t[0],e[1]],e,[e[0],t[1]]],i=n.map(this.map_.getCoordinateFromPixel,this.map_);i[4]=i[0].slice(),this.geometry_?this.geometry_.setCoordinates([i]):this.geometry_=new E["a"]([i])},e.prototype.getGeometry=function(){return this.geometry_},e}(L["a"]),S=T,O={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend"},k=function(t){function e(e,n,i){t.call(this,e),this.coordinate=n,this.mapBrowserEvent=i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(x["a"]),C=function(t){function e(e){t.call(this);var n=e||{};this.box_=new S(n.className||"ol-dragbox"),this.minArea_=void 0!==n.minArea?n.minArea:64,this.onBoxEnd_=n.onBoxEnd?n.onBoxEnd:_["c"],this.startPixel_=null,this.condition_=n.condition?n.condition:p["c"],this.boxEndCondition_=n.boxEndCondition?n.boxEndCondition:this.defaultBoxEndCondition}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.defaultBoxEndCondition=function(t,e,n){var i=n[0]-e[0],r=n[1]-e[1];return i*i+r*r>=this.minArea_},e.prototype.getGeometry=function(){return this.box_.getGeometry()},e.prototype.handleDragEvent=function(t){Object(p["f"])(t)&&(this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new k(O.BOXDRAG,t.coordinate,t)))},e.prototype.handleUpEvent=function(t){return!Object(p["f"])(t)||(this.box_.setMap(null),this.boxEndCondition_(t,this.startPixel_,t.pixel)&&(this.onBoxEnd_(t),this.dispatchEvent(new k(O.BOXEND,t.coordinate,t))),!1)},e.prototype.handleDownEvent=function(t){return!!Object(p["f"])(t)&&(!(!Object(p["e"])(t)||!this.condition_(t))&&(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new k(O.BOXSTART,t.coordinate,t)),!0))},e}(m["b"]),I=C,D=function(t){function e(e){var n=e||{},i=n.condition?n.condition:p["i"];t.call(this,{condition:i,className:n.className||"ol-dragzoom",onBoxEnd:Y}),this.duration_=void 0!==n.duration?n.duration:200,this.out_=void 0!==n.out&&n.out}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(I);function Y(){var t=this.getMap(),e=t.getView(),n=t.getSize(),i=this.getGeometry().getExtent();if(this.out_){var r=e.calculateExtent(n),s=Object(w["n"])([t.getPixelFromCoordinate(Object(w["v"])(i)),t.getPixelFromCoordinate(Object(w["D"])(i))]),o=e.getResolutionForExtent(s,n);Object(w["J"])(r,1/o),i=r}var a=e.constrainResolution(e.getResolutionForExtent(i,n)),c=Object(w["x"])(i);c=e.constrainCenter(c),e.animate({resolution:a,center:c,duration:this.duration_,easing:f["b"]})}var R=D,N=n("01d4"),A={LEFT:37,UP:38,RIGHT:39,DOWN:40},P=function(t){function e(e){t.call(this,{handleEvent:j});var n=e||{};this.defaultCondition_=function(t){return Object(p["g"])(t)&&Object(p["k"])(t)},this.condition_=void 0!==n.condition?n.condition:this.defaultCondition_,this.duration_=void 0!==n.duration?n.duration:100,this.pixelDelta_=void 0!==n.pixelDelta?n.pixelDelta:128}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(a["a"]);function j(t){var e=!1;if(t.type==N["a"].KEYDOWN){var n=t.originalEvent,i=n.keyCode;if(this.condition_(t)&&(i==A.DOWN||i==A.LEFT||i==A.RIGHT||i==A.UP)){var r=t.map,s=r.getView(),o=s.getResolution()*this.pixelDelta_,c=0,l=0;i==A.DOWN?l=-o:i==A.LEFT?c=-o:i==A.RIGHT?c=o:l=o;var u=[c,l];Object(d["f"])(u,s.getRotation()),Object(a["b"])(s,u,this.duration_),t.preventDefault(),e=!0}}return!e}var F=P,H=function(t){function e(e){t.call(this,{handleEvent:G});var n=e||{};this.condition_=n.condition?n.condition:p["k"],this.delta_=n.delta?n.delta:1,this.duration_=void 0!==n.duration?n.duration:100}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(a["a"]);function G(t){var e=!1;if(t.type==N["a"].KEYDOWN||t.type==N["a"].KEYPRESS){var n=t.originalEvent,i=n.charCode;if(this.condition_(t)&&(i=="+".charCodeAt(0)||i=="-".charCodeAt(0))){var r=t.map,s=i=="+".charCodeAt(0)?this.delta_:-this.delta_,o=r.getView();Object(a["f"])(o,s,void 0,this.duration_),t.preventDefault(),e=!0}}return!e}var q=H,z=n("617d"),B=n("7fc9"),$=1,W={TRACKPAD:"trackpad",WHEEL:"wheel"},U=function(t){function e(e){var n=e||{};t.call(this,n),this.delta_=0,this.duration_=void 0!==n.duration?n.duration:250,this.timeout_=void 0!==n.timeout?n.timeout:80,this.useAnchor_=void 0===n.useAnchor||n.useAnchor,this.constrainResolution_=n.constrainResolution||!1,this.condition_=n.condition?n.condition:p["c"],this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.trackpadDeltaPerZoom_=300,this.trackpadZoomBuffer_=1.5}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.decrementInteractingHint_=function(){this.trackpadTimeoutId_=void 0;var t=this.getMap().getView();t.setHint(h["a"].INTERACTING,-1)},e.prototype.handleEvent=function(t){if(!this.condition_(t))return!0;var e=t.type;if(e!==N["a"].WHEEL&&e!==N["a"].MOUSEWHEEL)return!0;t.preventDefault();var n,i=t.map,r=t.originalEvent;if(this.useAnchor_&&(this.lastAnchor_=t.coordinate),t.type==N["a"].WHEEL?(n=r.deltaY,z["c"]&&r.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(n/=z["b"]),r.deltaMode===WheelEvent.DOM_DELTA_LINE&&(n*=40)):t.type==N["a"].MOUSEWHEEL&&(n=-r.wheelDeltaY,z["g"]&&(n/=3)),0===n)return!1;var s=Date.now();if(void 0===this.startTime_&&(this.startTime_=s),(!this.mode_||s-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(n)<4?W.TRACKPAD:W.WHEEL),this.mode_===W.TRACKPAD){var o=i.getView();this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):o.setHint(h["a"].INTERACTING,1),this.trackpadTimeoutId_=setTimeout(this.decrementInteractingHint_.bind(this),this.trackpadEventGap_);var a=o.getResolution()*Math.pow(2,n/this.trackpadDeltaPerZoom_),c=o.getMinResolution(),l=o.getMaxResolution(),u=0;if(al&&(a=Math.min(a,l*this.trackpadZoomBuffer_),u=-1),this.lastAnchor_){var d=o.calculateCenterZoom(a,this.lastAnchor_);o.setCenter(o.constrainCenter(d))}return o.setResolution(a),0===u&&this.constrainResolution_&&o.animate({resolution:o.constrainResolution(a,n>0?-1:1),easing:f["b"],anchor:this.lastAnchor_,duration:this.duration_}),u>0?o.animate({resolution:c,easing:f["b"],anchor:this.lastAnchor_,duration:500}):u<0&&o.animate({resolution:l,easing:f["b"],anchor:this.lastAnchor_,duration:500}),this.startTime_=s,!1}this.delta_+=n;var p=Math.max(this.timeout_-(s-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,i),p),!1},e.prototype.handleWheelZoom_=function(t){var e=t.getView();e.getAnimating()&&e.cancelAnimations();var n=$,i=Object(B["a"])(this.delta_,-n,n);Object(a["f"])(e,-i,this.lastAnchor_,this.duration_),this.mode_=void 0,this.delta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0},e.prototype.setMouseAnchor=function(t){this.useAnchor_=t,t||(this.lastAnchor_=null)},e}(a["a"]),V=U,X=function(t){function e(e){var n=e||{},i=n;i.stopDown||(i.stopDown=_["a"]),t.call(this,i),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=void 0!==n.threshold?n.threshold:.3,this.duration_=void 0!==n.duration?n.duration:250}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.handleDragEvent=function(t){var e=0,n=this.targetPointers[0],i=this.targetPointers[1],r=Math.atan2(i.clientY-n.clientY,i.clientX-n.clientX);if(void 0!==this.lastAngle_){var s=r-this.lastAngle_;this.rotationDelta_+=s,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=s}this.lastAngle_=r;var o=t.map,c=o.getView();if(c.getConstraints().rotation!==v["c"]){var l=o.getViewport().getBoundingClientRect(),u=Object(m["a"])(this.targetPointers);if(u[0]-=l.left,u[1]-=l.top,this.anchor_=o.getCoordinateFromPixel(u),this.rotating_){var h=c.getRotation();o.render(),Object(a["d"])(c,h+e,this.anchor_)}}},e.prototype.handleUpEvent=function(t){if(this.targetPointers.length<2){var e=t.map,n=e.getView();if(n.setHint(h["a"].INTERACTING,-1),this.rotating_){var i=n.getRotation();Object(a["c"])(n,i,this.anchor_,this.duration_)}return!1}return!0},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>=2){var e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().setHint(h["a"].INTERACTING,1),!0}return!1},e}(m["b"]),K=X,Z=function(t){function e(e){var n=e||{},i=n;i.stopDown||(i.stopDown=_["a"]),t.call(this,i),this.constrainResolution_=n.constrainResolution||!1,this.anchor_=null,this.duration_=void 0!==n.duration?n.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.handleDragEvent=function(t){var e=1,n=this.targetPointers[0],i=this.targetPointers[1],r=n.clientX-i.clientX,s=n.clientY-i.clientY,o=Math.sqrt(r*r+s*s);void 0!==this.lastDistance_&&(e=this.lastDistance_/o),this.lastDistance_=o;var c=t.map,l=c.getView(),u=l.getResolution(),h=l.getMaxResolution(),d=l.getMinResolution(),f=u*e;f>h?(e=h/u,f=h):fn.getMaxResolution()){var r=this.lastScaleDelta_-1;Object(a["e"])(n,i,this.anchor_,this.duration_,r)}return!1}return!0},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>=2){var e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().setHint(h["a"].INTERACTING,1),!0}return!1},e}(m["b"]),J=Z;function Q(t){var e=t||{},n=new i["a"],r=new s(-.005,.05,100),o=void 0===e.altShiftDragRotate||e.altShiftDragRotate;o&&n.push(new M);var a=void 0===e.doubleClickZoom||e.doubleClickZoom;a&&n.push(new u({delta:e.zoomDelta,duration:e.zoomDuration}));var c=void 0===e.dragPan||e.dragPan;c&&n.push(new y({condition:e.onFocusOnly?p["d"]:void 0,kinetic:r}));var l=void 0===e.pinchRotate||e.pinchRotate;l&&n.push(new K);var h=void 0===e.pinchZoom||e.pinchZoom;h&&n.push(new J({constrainResolution:e.constrainResolution,duration:e.zoomDuration}));var d=void 0===e.keyboard||e.keyboard;d&&(n.push(new F),n.push(new q({delta:e.zoomDelta,duration:e.zoomDuration})));var f=void 0===e.mouseWheelZoom||e.mouseWheelZoom;f&&n.push(new V({condition:e.onFocusOnly?p["d"]:void 0,constrainResolution:e.constrainResolution,duration:e.zoomDuration}));var _=void 0===e.shiftDragZoom||e.shiftDragZoom;return _&&n.push(new R({duration:e.zoomDuration})),n}n.d(e,"a",function(){return Q})},"3a6c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},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 年"}});return e})},"3b1b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"},n=t.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(t,e){return 12===t&&(t=0),"шаб"===e?t<4?t:t+12:"субҳ"===e?t:"рӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"шаб":t<11?"субҳ":t<16?"рӯз":t<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(t){var n=t%10,i=t>=100?100:null;return t+(e[t]||e[n]||e[i])},week:{dow:1,doy:7}});return n})},"3b1b6":function(t,e,n){!function(e,i){t.exports=i(n("2926"))}("undefined"!=typeof self&&self,function(t){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=8)}([function(t,e,n){"use strict";function i(t,e,n){return"function"!=typeof t?t:t(e,n)}function r(t,e){return"object"===(void 0===t?"undefined":s(t))&&Object.prototype.hasOwnProperty.call(t,e)}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports={asExpression:i,hasProperty:r}},function(t,e,n){"use strict";function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(t){return"object"===(void 0===t?"undefined":a(t))||"boolean"==typeof t}function s(t){return!0===t?c.ANY_SCHEMA:!1===t?c.NOT_ANY_SCHEMA:t}function o(t){if("object"!==(void 0===t?"undefined":a(t))||null===t)return{enum:[t]};if(Array.isArray(t))return{items:t.map(o),additionalItems:!1};var e=Object.keys(t);return{properties:e.reduce(function(e,n){return Object.assign({},e,i({},n,o(t[n])))},{}),required:e}}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c={ANY_SCHEMA:{},NOT_ANY_SCHEMA:{not:{}}};t.exports={is:r,make:o,transform:s,transformation:c}},function(t,e,n){"use strict";function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e1?e-1:0),s=1;s2&&void 0!==arguments[2]?arguments[2]:{},i=n.inner,r=new Function("schema",t)(e);return i||(r.toString=function(){return t}),r}function a(t){var e=t.defineErrors,n=t.index;return"\n "+(e?"const errors = [];":"")+"\n "+(n?"let i"+Array.apply(void 0,i(Array(n))).map(function(t,e){return e+1}).join(",i")+";":"")+"\n "}function c(t){var e=t.context;if(t.inner||!e.length)return"";var n=[],i=[];return e.forEach(function(t,e){"number"!=typeof t?n.push(e+1+" = "+t):i.push(e+1+" = f"+(t+1))}),"const f"+n.concat(i).join(", f")+";"}function l(t){var e=t.defineErrors,n=t.lines,i=a(t),r=e?"if(errors.length) return errors;":"";return'\n "use strict";\n '+i+"\n "+n.join("\n")+"\n "+r+"\n "}function u(t,e){var n=t.cachedIndex,i=t.lines,r=e.context,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=s.inner,a=s.errorHandler,u={context:r,inner:o,defineErrors:a,index:n,lines:i};return"\n "+c(u)+"\n function f0(data) {\n "+l(u)+"\n }\n return f0;\n "}function h(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i= 256 || !/^([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][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9]))*$/.test(",")"],["",".length >= 256 || !/^([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][a-zA-Z0-9\\\\-]{0,61}[a-zA-Z0-9]))*$/.test(",")"]),f=i(["!/^[A-Za-z][A-Za-z0-9+\\-.]*:(?:\\/\\/(?:(?:[A-Za-z0-9\\-._~!$&'()*+,;=:]|%[0-9A-Fa-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9A-Fa-f]{1,4}:){6}|::(?:[0-9A-Fa-f]{1,4}:){5}|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,1}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}|(?:(?:[0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}|(?:(?:[0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:|(?:(?:[0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})?::)(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))|(?:(?:[0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})?::)|[Vv][0-9A-Fa-f]+\\.[A-Za-z0-9\\-._~!$&'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|(?:[A-Za-z0-9\\-._~!$&'()*+,;=]|%[0-9A-Fa-f]{2})*)(?::[0-9]*)?(?:\\/(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*|\\/(?:(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*)?|(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*|)(?:\\?(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@\\/?]|%[0-9A-Fa-f]{2})*)?(?:\\#(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@\\/?]|%[0-9A-Fa-f]{2})*)?$/.test(",")"],["!/^[A-Za-z][A-Za-z0-9+\\\\-.]*:(?:\\\\/\\\\/(?:(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:]|%[0-9A-Fa-f]{2})*@)?(?:\\\\[(?:(?:(?:(?:[0-9A-Fa-f]{1,4}:){6}|::(?:[0-9A-Fa-f]{1,4}:){5}|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,1}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}|(?:(?:[0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}|(?:(?:[0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:|(?:(?:[0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})?::)(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))|(?:(?:[0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})?::)|[Vv][0-9A-Fa-f]+\\\\.[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:]+)\\\\]|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=]|%[0-9A-Fa-f]{2})*)(?::[0-9]*)?(?:\\\\/(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*|\\\\/(?:(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@]|%[0-9A-Fa-f]{2})+(?:\\\\/(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*)?|(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@]|%[0-9A-Fa-f]{2})+(?:\\\\/(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*|)(?:\\\\?(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@\\\\/?]|%[0-9A-Fa-f]{2})*)?(?:\\\\#(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@\\\\/?]|%[0-9A-Fa-f]{2})*)?$/.test(",")"]),p=i(["!/^[^@]+@[^@]+\\.[^@]+$/.test(",")"],["!/^[^@]+@[^@]+\\\\.[^@]+$/.test(",")"]),_=i(["!/^(\\d?\\d?\\d){0,255}\\.(\\d?\\d?\\d){0,255}\\.(\\d?\\d?\\d){0,255}\\.(\\d?\\d?\\d){0,255}$/.test(",") || ",'.split(".")[3] > 255'],["!/^(\\\\d?\\\\d?\\\\d){0,255}\\\\.(\\\\d?\\\\d?\\\\d){0,255}\\\\.(\\\\d?\\\\d?\\\\d){0,255}\\\\.(\\\\d?\\\\d?\\\\d){0,255}$/.test(",") || ",'.split(".")[3] > 255']),m=i(["!/^((?=.*::)(?!.*::.+::)(::)?([\\dA-F]{1,4}:(:|\\b)|){5}|([\\dA-F]{1,4}:){6})((([\\dA-F]{1,4}((?!\\3)::|:\\b|$))|(?!\\2\\3)){2}|(((2[0-4]|1\\d|[1-9])?\\d|25[0-5])\\.?\\b){4})$/.test(",")"],["!/^((?=.*::)(?!.*::.+::)(::)?([\\\\dA-F]{1,4}:(:|\\\\b)|){5}|([\\\\dA-F]{1,4}:){6})((([\\\\dA-F]{1,4}((?!\\\\3)::|:\\\\b|$))|(?!\\\\2\\\\3)){2}|(((2[0-4]|1\\\\d|[1-9])?\\\\d|25[0-5])\\\\.?\\\\b){4})$/.test(",")"]),g=i(["/[^\\\\]\\\\[^.*+?^${}()|[\\]\\\\bBcdDfnrsStvwWxu0-9]/i.test(",")"],["/[^\\\\\\\\]\\\\\\\\[^.*+?^\\${}()|[\\\\]\\\\\\\\bBcdDfnrsStvwWxu0-9]/i.test(",")"]),y=i(["!/^$|^\\/(?:~(?=[01])|[^~])*$/i.test(",")"],["!/^$|^\\\\/(?:~(?=[01])|[^~])*$/i.test(",")"]),v=i(["!/^(?:[A-Za-z][A-Za-z0-9+\\-.]*:(?:\\/\\/(?:(?:[A-Za-z0-9\\-._~!$&'()*+,;=:]|%[0-9A-Fa-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9A-Fa-f]{1,4}:){6}|::(?:[0-9A-Fa-f]{1,4}:){5}|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,1}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}|(?:(?:[0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}|(?:(?:[0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:|(?:(?:[0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})?::)(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))|(?:(?:[0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})?::)|[Vv][0-9A-Fa-f]+\\.[A-Za-z0-9\\-._~!$&'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|(?:[A-Za-z0-9\\-._~!$&'()*+,;=]|%[0-9A-Fa-f]{2})*)(?::[0-9]*)?(?:\\/(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*|\\/(?:(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*)?|(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*|)(?:\\?(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@\\/?]|%[0-9A-Fa-f]{2})*)?(?:\\#(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@\\/?]|%[0-9A-Fa-f]{2})*)?|(?:\\/\\/(?:(?:[A-Za-z0-9\\-._~!$&'()*+,;=:]|%[0-9A-Fa-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9A-Fa-f]{1,4}:){6}|::(?:[0-9A-Fa-f]{1,4}:){5}|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,1}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}|(?:(?:[0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}|(?:(?:[0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:|(?:(?:[0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})?::)(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))|(?:(?:[0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})?::)|[Vv][0-9A-Fa-f]+\\.[A-Za-z0-9\\-._~!$&'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|(?:[A-Za-z0-9\\-._~!$&'()*+,;=]|%[0-9A-Fa-f]{2})*)(?::[0-9]*)?(?:\\/(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*|\\/(?:(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*)?|(?:[A-Za-z0-9\\-._~!$&'()*+,;=@]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*|)(?:\\?(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@\\/?]|%[0-9A-Fa-f]{2})*)?(?:\\#(?:[A-Za-z0-9\\-._~!$&'()*+,;=:@\\/?]|%[0-9A-Fa-f]{2})*)?)$/i.test(",")"],["!/^(?:[A-Za-z][A-Za-z0-9+\\\\-.]*:(?:\\\\/\\\\/(?:(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:]|%[0-9A-Fa-f]{2})*@)?(?:\\\\[(?:(?:(?:(?:[0-9A-Fa-f]{1,4}:){6}|::(?:[0-9A-Fa-f]{1,4}:){5}|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,1}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}|(?:(?:[0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}|(?:(?:[0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:|(?:(?:[0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})?::)(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))|(?:(?:[0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})?::)|[Vv][0-9A-Fa-f]+\\\\.[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:]+)\\\\]|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=]|%[0-9A-Fa-f]{2})*)(?::[0-9]*)?(?:\\\\/(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*|\\\\/(?:(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@]|%[0-9A-Fa-f]{2})+(?:\\\\/(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*)?|(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@]|%[0-9A-Fa-f]{2})+(?:\\\\/(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*|)(?:\\\\?(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@\\\\/?]|%[0-9A-Fa-f]{2})*)?(?:\\\\#(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@\\\\/?]|%[0-9A-Fa-f]{2})*)?|(?:\\\\/\\\\/(?:(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:]|%[0-9A-Fa-f]{2})*@)?(?:\\\\[(?:(?:(?:(?:[0-9A-Fa-f]{1,4}:){6}|::(?:[0-9A-Fa-f]{1,4}:){5}|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,1}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}|(?:(?:[0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}|(?:(?:[0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:|(?:(?:[0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})?::)(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))|(?:(?:[0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})?::)|[Vv][0-9A-Fa-f]+\\\\.[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:]+)\\\\]|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=]|%[0-9A-Fa-f]{2})*)(?::[0-9]*)?(?:\\\\/(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*|\\\\/(?:(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@]|%[0-9A-Fa-f]{2})+(?:\\\\/(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*)?|(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=@]|%[0-9A-Fa-f]{2})+(?:\\\\/(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@]|%[0-9A-Fa-f]{2})*)*|)(?:\\\\?(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@\\\\/?]|%[0-9A-Fa-f]{2})*)?(?:\\\\#(?:[A-Za-z0-9\\\\-._~!$&\\'()*+,;=:@\\\\/?]|%[0-9A-Fa-f]{2})*)?)$/i.test(",")"]),b=i(["!/^(?:(?:[^\\x00-\\x20\"'<>%\\\\^`{|}]|%[0-9a-f]{2})|\\{[+#.\\/;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?:\\:[1-9][0-9]{0,3}|\\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?:\\:[1-9][0-9]{0,3}|\\*)?)*\\})*$/i.test(",")"],["!/^(?:(?:[^\\\\x00-\\\\x20\"\\'<>%\\\\\\\\^\\`{|}]|%[0-9a-f]{2})|\\\\{[+#.\\\\/;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?:\\\\:[1-9][0-9]{0,3}|\\\\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?:\\\\:[1-9][0-9]{0,3}|\\\\*)?)*\\\\})*$/i.test(",")"]),M=n(2),w=M.expression;t.exports={alpha:w(r,"data"),alphanumeric:w(s,"data"),identifier:w(o,"data"),hexadecimal:w(a,"data"),numeric:w(c,"data"),"date-time":w(l,"data","data"),uppercase:w(u,"data","data"),lowercase:w(h,"data","data"),hostname:w(d,"data","data"),uri:w(f,"data"),email:w(p,"data"),ipv4:w(_,"data","data"),ipv6:w(m,"data"),regex:w(g,"data"),"json-pointer":w(y,"data"),"uri-reference":w(v,"data"),"uri-template":w(b,"data")}},function(t,e,n){"use strict";var i=n(11),r=n(12),s=n(13),o=n(14),a=n(16),c=n(17),l=n(18),u=n(19),h=n(20),d=n(21),f=n(22),p=n(23),_=n(24),m=n(25),g=n(26),y=n(27);t.exports={name:{$ref:a,required:i,format:r,property:s,type:o,not:c,anyOf:l,oneOf:u,allOf:h,dependencies:d,properties:f,patternProperties:p,items:_,contains:m,constant:g,propertyNames:y},list:[a,i,r,s,o,c,l,u,h,d,f,p,_,m,g,y]}},function(t,e,n){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports={readOnly:"false",exclusiveMinimum:function(t){return"%s <= "+t.exclusiveMinimum},minimum:function(t){return"%s < "+t.minimum},exclusiveMaximum:function(t){return"%s >= "+t.exclusiveMaximum},maximum:function(t){return"%s > "+t.maximum},multipleOf:'($1/$2) % 1 !== 0 && typeof $1 === "number"',pattern:function(t){var e=void 0,n=void 0;return"string"==typeof t.pattern?e=t.pattern:(e=t.pattern[0],n=t.pattern[1]),'typeof ($1) === "string" && !'+new RegExp(e,n)+".test($1)"},minLength:'typeof $1 === "string" && function dltml(b,c){for(var a=0,d=b.length;a=e&&a=e&&ac}($1, $2)',minItems:"$1.length < $2 && Array.isArray($1)",maxItems:"$1.length > $2 && Array.isArray($1)",uniqueItems:function(t,e){return t.uniqueItems?(e(e.cache("{}")),'Array.isArray($1) && $1.some(function(item, key) {\n if(item !== null && typeof item === "object") key = JSON.stringify(item);\n else key = item;\n if('+e.cache("{}")+".hasOwnProperty(key)) return true;\n "+e.cache("{}")+"[key] = true;\n })"):"true"},minProperties:'!Array.isArray($1) && typeof $1 === "object" && Object.keys($1).length < $2',maxProperties:'!Array.isArray($1) && typeof $1 === "object" && Object.keys($1).length > $2',enum:function(t,e){return t.enum.map(function(t){var n="$1",r=t;return"object"===(void 0===t?"undefined":i(t))?(r="'"+JSON.stringify(t)+"'",n=e.cache("JSON.stringify($1)")):"string"==typeof t&&(r="'"+escape(t)+"'"),n+" != decodeURIComponent("+r+")"}).join(" && ")}}},function(t,e,n){"use strict";t.exports=["$ref","$schema","type","not","anyOf","allOf","oneOf","properties","patternProperties","additionalProperties","items","additionalItems","required","default","title","description","definitions","dependencies","$id","contains","const","examples"]},function(t,e,n){"use strict";function i(t){return"string"!=typeof t?t:t.split(u)[0]}function r(t){return l.test(t)}function s(t){return t.replace(h,"$1")}function o(t){return"string"!=typeof t?t:t.split(u)[1]}function a(t){return t.filter(function(t){return"string"==typeof t}).reduce(function(t,e){if(!t.length||r(e))return e;if(!e)return t;if(0===e.indexOf("#")){var n=t.indexOf("#");return-1===n?t+e:t.slice(0,n)+e}var i=s(t)+e;return i+(-1===i.indexOf("#")?"#":"")},"")}function c(t){return decodeURIComponent(t.replace(/~1/g,"/").replace(/~0/g,"~"))}var l=/:\/\//,u=/#\/?/,h=/(^[^:]+:\/\/[^?#]*\/).*/,d={id:"$id"};t.exports={makePath:a,isFullUri:r,head:i,fragment:o,normalize:c,keys:d}},function(t,e,n){t.exports=n(9)},function(t,e,n){"use strict";function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!(this instanceof r))return new r(t);this.options=t,this.resolved={},this.state=new d(null,this),this.useVersion(t.version,t.versionConfigure),this.addFormat(t.formats)}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=n(2),a=o.restore,c=o.expression,l=n(3),u=n(10),h=u.generate,d=u.State,f=n(28),p=f.add,_=f.use;Object.assign(r,{expression:c}),Object.assign(r.prototype,{validate:function(t,e){return this.resolve(t).fn(e)},addSchema:function(t,e){var n=this,i="object"===(void 0===t?"undefined":s(t))?t:e,r={schema:i,fn:h(this,i,void 0,this.options)};return[t,e.id].filter(function(t){return"string"==typeof t}).forEach(function(t){n.resolved[t]=Object.assign({name:t},r)}),r},removeSchema:function(t){t?delete this.resolved[t]:this.resolved={}},resolve:function(t){return"object"!==(void 0===t?"undefined":s(t))&&this.resolved[t]?this.resolved[t]:this.addSchema(t,this.state.resolve(t))},export:function(t){var e=this,n=void 0;return t?(n=this.resolve(t),n={name:t,schema:n.schema,fn:n.fn.toString()}):(n={},Object.keys(this.resolved).forEach(function(t){n[t]={name:t,schema:e.resolved[t].schema,fn:e.resolved[t].fn.toString()}})),JSON.stringify(n)},import:function(t){var e=this,n=JSON.parse(t),r=n;n.name&&n.fn&&n.schema&&(r=i({},n.name,n)),Object.keys(r).forEach(function(t){var n=r[t],i=n.name,s=n.schema,o=n.fn,c=a(o,s,e.options);e.resolved[i]={name:i,schema:s,fn:c}})},addFormat:function(t,e){"string"!=typeof t?"object"===(void 0===t?"undefined":s(t))&&Object.assign(l,t):l[t]=e},setErrorHandler:function(t){Object.assign(this.options,{errorHandler:t})},useVersion:function(t,e){"function"!=typeof e&&"draft-04"===t&&(e=n(29)),"function"==typeof e&&p(t,e),_(t)}}),t.exports=r},function(t,e,n){"use strict";function i(){var t=(arguments.length>0&&void 0!==arguments[0]&&arguments[0],arguments[1]);Object.assign(this,{context:[],entries:new Map,env:t})}function r(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new i(e,t),r=arguments[3],s=u(n,r);s.visit(e);var o=c(s,n,r);return l(o,e,r)}var s=n(4),o=s.list,a=n(2),c=a.body,l=a.restore,u=a.template,h=n(0),d=h.hasProperty,f=n(7),p=f.normalize,_=f.makePath,m=f.head,g=f.isFullUri,y=f.fragment,v=f.keys,b=n(1),M=b.is,w=b.transform;i.prototype=Object.assign(Object.create(Array.prototype),{addEntry:function(t,e){var n=this.entries.get(e);return!1===n?this.context.push(e):(void 0===n&&(this.entries.set(e,!1),n=r(this.env,e,this,{inner:!0}),this.entries.set(e,n),this.revealReference(e)),this.context.push(n))},revealReference:function(t){for(var e=this.context.indexOf(t);-1!==e;e=this.context.indexOf(t))this.context[e]=this.context.length},link:function(t){var e=this.resolve(t);return this.addEntry(t,e)},resolveReference:function(t){if(g(t))return t;for(var e=void 0,n=void 0,i=this.length-1;i>=0;i-=1,e=!1){var r=this[i],s=r[v.id],o=r.$ref;if(e=s||o,g(e)){n=i;break}}for(var a=[],c=this.length-1;c>n;c-=1){var l=this[c],u=l[v.id],h=l.$ref,d=u||h;m(d)&&a.push(d)}return _([e].concat(a,[t]))},ascend:function(t){for(var e=m(t),n=this.env.resolved[e]||{},i=n.schema,r=void 0===i?this[0]:i;r.$ref&&m(r.$ref)!==m(t)&&1===Object.keys(r).length;)r=this.ascend(r.$ref);return r},descend:function(t,e){var n=this,i=y(t);if(!i&&g(t))return e;i||(i=t);var r=i.split("/"),s=r.map(p).reduce(function(t,e,i){var s=t[e];return M(s)||(s=t.definitions&&t.definitions[e]),i!==r.length-1&&d(s,v.id)&&n.push(s),s},e);return M(s)?s:e},resolve:function(t){if("string"!=typeof t)return t;var e=this.resolveReference(t),n=this.ascend(e);return this.descend(t,n)},visit:function(t,e){var n=w(t),i=this.length;this.push(n),o.some(function(t){return t(n,e)}),this.length=i}}),t.exports={State:i,generate:r}},function(t,e,n){"use strict";t.exports=function(t,e){Array.isArray(t.required)&&e("if ("+e.data+" !== null && typeof "+e.data+" === 'object' && !Array.isArray("+e.data+")) {\n "+t.required.map(function(t){return"if (!"+e.data+'.hasOwnProperty(decodeURIComponent("'+escape(t)+'"))) '+e.error("required",t)}).join("")+"\n }")}},function(t,e,n){"use strict";var i=n(3);t.exports=function(t,e){if(void 0!==t.format){var n=i[t.format];"function"==typeof n&&e("if ("+n({data:e.data,schema:t})+") "+e.error("format"))}}},function(t,e,n){"use strict";var i=n(5),r=n(6),s=n(0),o=s.asExpression;t.exports=function(t,e){Object.keys(t).forEach(function(n){if(-1===r.indexOf(n)&&"format"!==n){var s=o(i[n],t,e);if(s){var a=e.error(n);e("if ("+s+") "+a,e.data,t[n])}}})}},function(t,e,n){"use strict";var i=n(15),r=n(0),s=r.hasProperty;t.exports=function(t,e){if(s(t,"type")){var n=e.error("type",t.type);e("if (("+[].concat(t.type).map(function(t){return i[t]}).join(") && (")+")) "+n,e.data)}}},function(t,e,n){"use strict";t.exports={null:"%s !== null",string:'typeof %s !== "string"',boolean:'typeof %s !== "boolean"',number:'typeof %s !== "number" || %s !== %s',integer:'typeof %s !== "number" || %s % 1 !== 0',object:'!%s || typeof %s !== "object" || Array.isArray(%s)',array:"!Array.isArray(%s)",date:"!(%s instanceof Date)"}},function(t,e,n){"use strict";var i=n(0),r=i.hasProperty;t.exports=function(t,e){return!!r(t,"$ref")&&(e("if ("+e.link(t.$ref)+"("+e.data+")) "+e.error("$ref")),!0)}},function(t,e,n){"use strict";var i=n(0),r=i.hasProperty;t.exports=function(t,e){r(t,"not")&&e("if (!"+e.link(t.not)+"("+e.data+")) "+e.error("not"))}},function(t,e,n){"use strict";var i=n(0),r=i.hasProperty;t.exports=function(t,e){if(r(t,"anyOf")){var n=e.error("anyOf"),i=t.anyOf.map(function(t){return e.link(t)+"("+e.data+")"}).join(" && ");e("if ("+i+") "+n)}}},function(t,e,n){"use strict";var i=n(0),r=i.hasProperty;t.exports=function(t,e){if(r(t,"oneOf")){var n=t.oneOf.map(function(t){return e.link(t)}),i=e.cache("["+n+"]"),s=e.cache("["+n+"]"),o=e.cache(s+".length - 1"),a=e.cache(s+".length - 1"),c=e.cache("0"),l=e.cache("0"),u=e.error("oneOf");e("for (\n "+i+", "+o+", "+c+";\n "+a+" >= 0 && "+a+" < "+s+".length;\n "+a+"--) {\n if(!"+s+"["+a+"]("+e.data+")) "+l+"++;\n }\n if ("+l+" !== 1) "+u+"\n ")}}},function(t,e,n){"use strict";var i=n(0),r=i.hasProperty;t.exports=function(t,e){if(r(t,"allOf")){var n=e.error("allOf"),i=t.allOf.map(function(t){return e.link(t)+"("+e.data+")"}).join(" || ");e("if ("+i+") "+n)}}},function(t,e,n){"use strict";function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e "+n+") "+r),t.items.forEach(function(t,n){e("if("+o+".length > "+n+") {"),o.push("["+n+"]"),e.visit(t),o.pop(),e("}")}),"object"===i(t.additionalItems)){var a=e.cache(n),c=e.cache(n);e("for ("+a+"; "+c+" < "+o+".length; "+c+"++) {"),o.push("["+e.cache(n)+"]"),e.visit(t.additionalItems),o.pop(),e("}")}}else{var l=e.cache("0"),u=e.cache("0");e("for ("+l+"; "+u+" < "+o+".length; "+u+"++) {"),o.push("["+u+"]"),e.visit(t.items),o.pop(),e("}")}e("}")}}},function(t,e,n){"use strict";var i=n(0),r=i.hasProperty;t.exports=function(t,e){if(r(t,"contains")){var n=e.error("contains"),i=""+e.link(t.contains),s=e.data,o=e.cache("0"),a=e.cache("0");e("if (Array.isArray("+s+")) {\n if ("+s+".length === 0) "+n+"\n for ("+o+"; "+a+" < "+s+".length; "+a+"++) {\n if (!"+i+"("+s.toString.apply(s.concat("["+a+"]"))+")) break;\n if ("+a+" === "+s+".length - 1) "+n+"\n }\n }")}}},function(t,e,n){"use strict";var i=n(0),r=i.hasProperty,s=n(1),o=s.make;t.exports=function(t,e){if(r(t,"const")){var n=o(t.const);e.visit(n)}}},function(t,e,n){"use strict";var i=n(0),r=i.hasProperty;t.exports=function(t,e){if(r(t,"propertyNames")){var n=e.link(t.propertyNames),i=e.error("propertyNames");e("if (Object.keys("+e.data+").some("+n+")) "+i)}}},function(t,e,n){"use strict";function i(t,e){f[t]=e}function r(t){t&&f[t]&&(0,f[t])({properties:s,keywords:o,validators:a,formats:c,keys:u,transformation:d})}var s=n(5),o=n(6),a=n(4),c=n(3),l=n(7),u=l.keys,h=n(1),d=h.transformation,f={};t.exports={add:i,use:r}},function(e,n){e.exports=t}])})},"3b32":function(t,e,n){"use strict";var i=n("7b52"),r=n("ad3f"),s=n("e514"),o=n("67cf"),a=n("7c92"),c=n("13ca"),l=n("0360"),u=n("fe5c"),h=n("b08b");class d extends c["a"]{constructor(){super(),d.constructor_.apply(this,arguments)}static constructor_(){this._isForward=null,this._isInResult=!1,this._isVisited=!1,this._sym=null,this._next=null,this._nextMin=null,this._edgeRing=null,this._minEdgeRing=null,this._depth=[0,-999,-999];const t=arguments[0],e=arguments[1];if(c["a"].constructor_.call(this,t),this._isForward=e,e)this.init(t.getCoordinate(0),t.getCoordinate(1));else{const e=t.getNumPoints()-1;this.init(t.getCoordinate(e),t.getCoordinate(e-1))}this.computeDirectedLabel()}static depthFactor(t,e){return t===i["a"].EXTERIOR&&e===i["a"].INTERIOR?1:t===i["a"].INTERIOR&&e===i["a"].EXTERIOR?-1:0}getNextMin(){return this._nextMin}getDepth(t){return this._depth[t]}setVisited(t){this._isVisited=t}computeDirectedLabel(){this._label=new h["a"](this._edge.getLabel()),this._isForward||this._label.flip()}getNext(){return this._next}setDepth(t,e){if(-999!==this._depth[t]&&this._depth[t]!==e)throw new u["a"]("assigned depths do not match",this.getCoordinate());this._depth[t]=e}isInteriorAreaEdge(){let t=!0;for(let e=0;e<2;e++)this._label.isArea(e)&&this._label.getLocation(e,l["a"].LEFT)===i["a"].INTERIOR&&this._label.getLocation(e,l["a"].RIGHT)===i["a"].INTERIOR||(t=!1);return t}setNextMin(t){this._nextMin=t}print(t){super.print.call(this,t),t.print(" "+this._depth[l["a"].LEFT]+"/"+this._depth[l["a"].RIGHT]),t.print(" ("+this.getDepthDelta()+")"),this._isInResult&&t.print(" inResult")}setMinEdgeRing(t){this._minEdgeRing=t}isLineEdge(){const t=this._label.isLine(0)||this._label.isLine(1),e=!this._label.isArea(0)||this._label.allPositionsEqual(0,i["a"].EXTERIOR),n=!this._label.isArea(1)||this._label.allPositionsEqual(1,i["a"].EXTERIOR);return t&&e&&n}setEdgeRing(t){this._edgeRing=t}getMinEdgeRing(){return this._minEdgeRing}getDepthDelta(){let t=this._edge.getDepthDelta();return this._isForward||(t=-t),t}setInResult(t){this._isInResult=t}getSym(){return this._sym}isForward(){return this._isForward}getEdge(){return this._edge}printEdge(t){this.print(t),t.print(" "),this._isForward?this._edge.print(t):this._edge.printReverse(t)}setSym(t){this._sym=t}setVisitedEdge(t){this.setVisited(t),this._sym.setVisited(t)}setEdgeDepths(t,e){let n=this.getEdge().getDepthDelta();this._isForward||(n=-n);let i=1;t===l["a"].LEFT&&(i=-1);const r=l["a"].opposite(t),s=n*i,o=e+s;this.setDepth(t,e),this.setDepth(r,o)}getEdgeRing(){return this._edgeRing}isInResult(){return this._isInResult}setNext(t){this._next=t}isVisited(){return this._isVisited}}var f=n("968e"),p=n("70d5"),_=n("cb24"),m=n("af76");n.d(e,"a",function(){return g});class g{constructor(){g.constructor_.apply(this,arguments)}static constructor_(){if(this._edges=new p["a"],this._nodes=null,this._edgeEndList=new p["a"],0===arguments.length)this._nodes=new o["a"](new m["a"]);else if(1===arguments.length){const t=arguments[0];this._nodes=new o["a"](t)}}static linkResultDirectedEdges(t){for(let e=t.iterator();e.hasNext();){const t=e.next();t.getEdges().linkResultDirectedEdges()}}printEdges(t){t.println("Edges:");for(let e=0;e1&&t<5&&1!==~~(t/10)}function o(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"pár sekund":"pár sekundami";case"ss":return e||i?r+(s(t)?"sekundy":"sekund"):r+"sekundami";case"m":return e?"minuta":i?"minutu":"minutou";case"mm":return e||i?r+(s(t)?"minuty":"minut"):r+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(s(t)?"hodiny":"hodin"):r+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?r+(s(t)?"dny":"dní"):r+"dny";case"M":return e||i?"měsíc":"měsícem";case"MM":return e||i?r+(s(t)?"měsíce":"měsíců"):r+"měsíci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?r+(s(t)?"roky":"let"):r+"lety"}}var a=t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a})},"3c11":function(t,e,n){"use strict";var i=n("63b6"),r=n("584a"),s=n("e53d"),o=n("f201"),a=n("cd78");i(i.P+i.R,"Promise",{finally:function(t){var e=o(this,r.Promise||s.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},"3c22":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("5c38"),r=function(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32};function s(t,e,n){var r=n?Object(i["b"])(n):"null";return e+":"+t+":"+r}r.prototype.clear=function(){this.cache_={},this.cacheSize_=0},r.prototype.expire=function(){if(this.cacheSize_>this.maxCacheSize_){var t=0;for(var e in this.cache_){var n=this.cache_[e];0!==(3&t++)||n.hasListener()||(delete this.cache_[e],--this.cacheSize_)}}},r.prototype.get=function(t,e,n){var i=s(t,e,n);return i in this.cache_?this.cache_[i]:null},r.prototype.set=function(t,e,n,i){var r=s(t,e,n);this.cache_[r]=i,++this.cacheSize_},r.prototype.setSize=function(t){this.maxCacheSize_=t,this.expire()};var o=new r},"3c35":function(t,e){(function(e){t.exports=e}).call(this,{})},"3c81":function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return l});var i=n("0999"),r=n("0af5"),s=n("7fc9"),o=n("256f");function a(t,e,n,i){var s=Object(o["l"])(n,e,t),a=Object(o["h"])(e,i,n),c=e.getMetersPerUnit();void 0!==c&&(a*=c);var l=t.getMetersPerUnit();void 0!==l&&(a/=l);var u=t.getExtent();if(!u||Object(r["f"])(u,s)){var h=Object(o["h"])(t,a,s)/a;isFinite(h)&&h>0&&(a/=h)}return a}function c(t,e,n,i){var r=n-t,s=i-e,o=Math.sqrt(r*r+s*s);return[Math.round(n+r/o),Math.round(i+s/o)]}function l(t,e,n,o,a,l,u,h,d,f,p){var _=Object(i["a"])(Math.round(n*t),Math.round(n*e));if(0===d.length)return _.canvas;_.scale(n,n);var m=Object(r["j"])();d.forEach(function(t,e,n){Object(r["q"])(m,t.extent)});var g=Object(r["E"])(m),y=Object(r["A"])(m),v=Object(i["a"])(Math.round(n*g/o),Math.round(n*y/o)),b=n/o;d.forEach(function(t,e,n){var i=t.extent[0]-m[0],s=-(t.extent[3]-m[3]),o=Object(r["E"])(t.extent),a=Object(r["A"])(t.extent);v.drawImage(t.image,f,f,t.image.width-2*f,t.image.height-2*f,i*b,s*b,o*b,a*b)});var M=Object(r["C"])(u);return h.getTriangles().forEach(function(t,e,i){var r=t.source,a=t.target,u=r[0][0],h=r[0][1],d=r[1][0],f=r[1][1],p=r[2][0],g=r[2][1],y=(a[0][0]-M[0])/l,b=-(a[0][1]-M[1])/l,w=(a[1][0]-M[0])/l,x=-(a[1][1]-M[1])/l,L=(a[2][0]-M[0])/l,E=-(a[2][1]-M[1])/l,T=u,S=h;u=0,h=0,d-=T,f-=S,p-=T,g-=S;var O=[[d,f,0,0,w-y],[p,g,0,0,L-y],[0,0,d,f,x-b],[0,0,p,g,E-b]],k=Object(s["e"])(O);if(k){_.save(),_.beginPath();var C=(y+w+L)/3,I=(b+x+E)/3,D=c(C,I,y,b),Y=c(C,I,w,x),R=c(C,I,L,E);_.moveTo(Y[0],Y[1]),_.lineTo(D[0],D[1]),_.lineTo(R[0],R[1]),_.clip(),_.transform(k[0],k[2],k[1],k[3],y,b),_.translate(m[0]-T,m[3]-S),_.scale(o/n,-o/n),_.drawImage(v.canvas,0,0),_.restore()}}),p&&(_.save(),_.strokeStyle="black",_.lineWidth=1,h.getTriangles().forEach(function(t,e,n){var i=t.target,r=(i[0][0]-M[0])/l,s=-(i[0][1]-M[1])/l,o=(i[1][0]-M[0])/l,a=-(i[1][1]-M[1])/l,c=(i[2][0]-M[0])/l,u=-(i[2][1]-M[1])/l;_.beginPath(),_.moveTo(o,a),_.lineTo(r,s),_.lineTo(c,u),_.closePath(),_.stroke()}),_.restore()),_.canvas}},"3d49":function(t,e,n){},"3d5b":function(t,e,n){"use strict";n("551c"),n("f751");var i=n("cd88"),r={props:{popover:Boolean,modal:Boolean},computed:{isPopover:function(){return!!this.popover||!this.modal&&(this.$q.platform.is.desktop&&!this.$q.platform.within.iframe)}}},s=n("559e"),o=(n("6762"),n("2fdb"),n("c5f6"),n("7037")),a=n.n(o),c=n("73f5"),l=function(t){var e=a()(t);return null===t||void 0===t||"number"===e||"string"===e||Object(c["a"])(t)},u={value:{validator:l,required:!0},defaultValue:{type:[String,Number,Date],default:null},type:{type:String,default:"date",validator:function(t){return["date","time","datetime"].includes(t)}},color:{type:String,default:"primary"},dark:Boolean,min:{validator:l,default:null},max:{validator:l,default:null},headerLabel:String,firstDayOfWeek:Number,formatModel:{type:String,default:"auto",validator:function(t){return["auto","date","number","string"].includes(t)}},format24h:{type:[Boolean,Number],default:0,validator:function(t){return[!0,!1,0].includes(t)}},defaultView:{type:String,validator:function(t){return["year","month","day","hour","minute"].includes(t)}},minimal:Boolean},h={format:String,okLabel:String,cancelLabel:String,displayValue:String},d=n("2054"),f=n("52b5"),p=n("b5b8"),_=n("abcf"),m=n("b18c"),g=n("482e"),y=(n("28a5"),n("4917"),n("cadf"),n("456d"),n("ac6a"),n("a481"),n("177b")),v=n("b157"),b=864e5,M=36e5,w=6e4,x=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,L=/^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}(.[0-9]{6})?$/;function E(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t>0?"-":"+",i=Math.abs(t),r=Math.floor(i/60),s=i%60;return n+Object(y["d"])(r)+e+Object(y["d"])(s)}function T(t,e){var n=new Date(t.getFullYear(),e,0,0,0,0,0),i=n.getDate();t.setMonth(e-1,Math.min(i,t.getDate()))}function S(t){return new Date(Object(c["c"])(t)&&null!==L.exec(t)?t.substring(0,23).replace(" ","T"):t)}function O(t){if("number"===typeof t)return!0;var e=Date.parse(t);return!1===isNaN(e)}function k(t){var e=new Date(t.getFullYear(),t.getMonth(),t.getDate());e.setDate(e.getDate()-(e.getDay()+6)%7+3);var n=new Date(e.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);var i=e.getTimezoneOffset()-n.getTimezoneOffset();e.setHours(e.getHours()-i);var r=(e-n)/(7*b);return 1+Math.floor(r)}function C(t,e,n){var i=S(t),r="set".concat(n?"UTC":"");return Object.keys(e).forEach(function(t){if("month"!==t){var n="year"===t?"FullYear":t.charAt(0).toUpperCase()+t.slice(1);i["".concat(r).concat(n)](e[t])}else T(i,e.month)}),i}function I(t,e){var n=S(t);switch(e){case"year":n.setMonth(0);case"month":n.setDate(1);case"day":n.setHours(0);case"hour":n.setMinutes(0);case"minute":n.setSeconds(0);case"second":n.setMilliseconds(0)}return n}function D(t,e,n){return(t.getTime()-t.getTimezoneOffset()*w-(e.getTime()-e.getTimezoneOffset()*w))/n}function Y(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"days",i=S(t),r=S(e);switch(n){case"years":return i.getFullYear()-r.getFullYear();case"months":return 12*(i.getFullYear()-r.getFullYear())+i.getMonth()-r.getMonth();case"days":return D(I(i,"day"),I(r,"day"),b);case"hours":return D(I(i,"hour"),I(r,"hour"),M);case"minutes":return D(I(i,"minute"),I(r,"minute"),w);case"seconds":return D(I(i,"second"),I(r,"second"),1e3)}}function R(t){return Y(t,I(t,"year"),"days")+1}function A(t){return Object(c["a"])(t)?"date":"number"===typeof t?"number":"string"}function N(t,e,n){if(t||0===t)switch(e){case"date":return t;case"number":return t.getTime();default:return G(t,n)}}function P(t,e,n){var i=S(t);if(e){var r=S(e);if(is)return s}return i}function j(t,e,n){var i=S(t),r=S(e);if(void 0===n)return i.getTime()===r.getTime();switch(n){case"second":if(i.getSeconds()!==r.getSeconds())return!1;case"minute":if(i.getMinutes()!==r.getMinutes())return!1;case"hour":if(i.getHours()!==r.getHours())return!1;case"day":if(i.getDate()!==r.getDate())return!1;case"month":if(i.getMonth()!==r.getMonth())return!1;case"year":if(i.getFullYear()!==r.getFullYear())return!1;break;default:throw new Error("date isSameDate unknown unit ".concat(n))}return!0}function F(t){if(t>=11&&t<=13)return"".concat(t,"th");switch(t%10){case 1:return"".concat(t,"st");case 2:return"".concat(t,"nd");case 3:return"".concat(t,"rd")}return"".concat(t,"th")}var H={YY:function(t){return Object(y["d"])(t.getFullYear(),4).substr(2)},YYYY:function(t){return Object(y["d"])(t.getFullYear(),4)},M:function(t){return t.getMonth()+1},MM:function(t){return Object(y["d"])(t.getMonth()+1)},MMM:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e.monthNamesShort||v["a"].lang.date.monthsShort)[t.getMonth()]},MMMM:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e.monthNames||v["a"].lang.date.months)[t.getMonth()]},Q:function(t){return Math.ceil((t.getMonth()+1)/3)},Qo:function(t){return F(this.Q(t))},D:function(t){return t.getDate()},Do:function(t){return F(t.getDate())},DD:function(t){return Object(y["d"])(t.getDate())},DDD:function(t){return R(t)},DDDD:function(t){return Object(y["d"])(R(t),3)},d:function(t){return t.getDay()},dd:function(t){return this.dddd(t).slice(0,2)},ddd:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e.dayNamesShort||v["a"].lang.date.daysShort)[t.getDay()]},dddd:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e.dayNames||v["a"].lang.date.days)[t.getDay()]},E:function(t){return t.getDay()||7},w:function(t){return k(t)},ww:function(t){return Object(y["d"])(k(t))},H:function(t){return t.getHours()},HH:function(t){return Object(y["d"])(t.getHours())},h:function(t){var e=t.getHours();return 0===e?12:e>12?e%12:e},hh:function(t){return Object(y["d"])(this.h(t))},m:function(t){return t.getMinutes()},mm:function(t){return Object(y["d"])(t.getMinutes())},s:function(t){return t.getSeconds()},ss:function(t){return Object(y["d"])(t.getSeconds())},S:function(t){return Math.floor(t.getMilliseconds()/100)},SS:function(t){return Object(y["d"])(Math.floor(t.getMilliseconds()/10))},SSS:function(t){return Object(y["d"])(t.getMilliseconds(),3)},A:function(t){return this.H(t)<12?"AM":"PM"},a:function(t){return this.H(t)<12?"am":"pm"},aa:function(t){return this.H(t)<12?"a.m.":"p.m."},Z:function(t){return E(t.getTimezoneOffset(),":")},ZZ:function(t){return E(t.getTimezoneOffset())},X:function(t){return Math.floor(t.getTime()/1e3)},x:function(t){return t.getTime()}};function G(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DDTHH:mm:ss.SSSZ",n=arguments.length>2?arguments[2]:void 0;if(0===t||t){var i=S(t);return e.replace(x,function(t,e){return t in H?H[t](i,n):void 0===e?t:e.split("\\]").join("]")})}}function q(t){return Object(c["a"])(t)?new Date(t.getTime()):t}var z=/^\d{4}[^\d]\d{2}[^\d]\d{2}/,B={props:u,computed:{computedValue:function(){return"date"===this.type&&"string"===this.formatModel&&z.test(this.value)?this.value.slice(0,10).split(/[^\d]/).join("/"):this.value},computedDefaultValue:function(){return"date"===this.type&&"string"===this.formatModel&&z.test(this.defaultValue)?this.defaultValue.slice(0,10).split(/[^\d]+/).join("/"):this.defaultValue},computedDateFormat:function(){if("date"===this.type&&"string"===this.formatModel)return"YYYY/MM/DD HH:mm:ss"},model:{get:function(){return O(this.computedValue)?new Date(this.computedValue):this.computedDefaultValue?new Date(this.computedDefaultValue):I(new Date,"day")},set:function(t){var e=this,n=P(t,this.pmin,this.pmax),i=N(n,"auto"===this.formatModel?A(this.value):this.formatModel,this.computedDateFormat);this.$emit("input",i),this.$nextTick(function(){j(i,e.value)||e.$emit("change",i)})}},pmin:function(){return this.min?new Date(this.min):null},pmax:function(){return this.max?new Date(this.max):null},typeHasDate:function(){return"date"===this.type||"datetime"===this.type},typeHasTime:function(){return"time"===this.type||"datetime"===this.type},year:function(){return this.model.getFullYear()},month:function(){return this.model.getMonth()+1},day:function(){return this.model.getDate()},minute:function(){return this.model.getMinutes()},currentYear:function(){return(new Date).getFullYear()},yearInterval:function(){return{min:null!==this.pmin?this.pmin.getFullYear():(this.year||this.currentYear)-80,max:null!==this.pmax?this.pmax.getFullYear():(this.year||this.currentYear)+80}},monthInterval:function(){return{min:this.monthMin,max:null!==this.pmax&&this.pmax.getFullYear()===this.year?this.pmax.getMonth():11}},monthMin:function(){return null!==this.pmin&&this.pmin.getFullYear()===this.year?this.pmin.getMonth():0},daysInMonth:function(){return new Date(this.year,this.model.getMonth()+1,0).getDate()},editable:function(){return!this.disable&&!this.readonly},__needsBorder:function(){return!0}},methods:{toggleAmPm:function(){if(this.editable){var t=this.model.getHours(),e=this.am?12:-12;this.model=new Date(new Date(this.model).setHours(t+e))}},__parseTypeValue:function(t,e){return"month"===t?Object(y["c"])(e,1,12):"date"===t?Object(y["c"])(e,1,this.daysInMonth):"year"===t?Object(y["c"])(e,this.yearInterval.min,this.yearInterval.max):"hour"===t?Object(y["c"])(e,0,23):"minute"===t?Object(y["c"])(e,0,59):void 0}}},$=n("e660"),W=n("1526");function U(t){return 0===t?12:t>=13?t-12:t}var V={name:"QDatetimePicker",mixins:[B,$["a"],s["a"]],props:{defaultValue:[String,Number,Date],disable:Boolean,readonly:Boolean},directives:{Ripple:W["a"]},data:function(){return{view:this.__calcView(this.defaultView),dragging:!1,centerClockPos:0,fakeValue:{year:null,month:null}}},watch:{value:function(t){t||(this.view=["date","datetime"].includes(this.type)?"day":"hour")},view:function(){this.__scrollView(!0)},model:function(){this.fakeValue.month!==this.month&&(this.fakeValue.month=this.month,this.__scrollView()),this.fakeValue.year!==this.year&&(this.fakeValue.year=this.year,this.__scrollView())}},computed:{classes:function(){var t=[];return this.disable&&t.push("disabled"),this.readonly&&t.push("readonly"),this.dark&&t.push("q-datetime-dark"),this.minimal&&t.push("q-datetime-minimal"),this.color&&t.push("text-".concat(this.color)),t},dateArrow:function(){var t=[this.$q.icon.datetime.arrowLeft,this.$q.icon.datetime.arrowRight];return this.$q.i18n.rtl?t.reverse():t},computedFormat24h:function(){return 0!==this.format24h?this.format24h:this.$q.i18n.date.format24h},computedFirstDayOfWeek:function(){return void 0!==this.firstDayOfWeek?this.firstDayOfWeek:this.$q.i18n.date.firstDayOfWeek},headerDayNames:function(){var t=this.$q.i18n.date.daysShort,e=this.computedFirstDayOfWeek;return e>0?t.slice(e,7).concat(t.slice(0,e)):t},fakeModel:function(){return new Date(this.fakeYear,this.fakeMonth-1,1)},fakeYear:function(){return this.fakeValue.year||this.year},fakeMonth:function(){return this.fakeValue.month||this.month},daysInMonth:function(){return new Date(this.fakeYear,this.fakeMonth,0).getDate()},monthString:function(){return"".concat(this.$q.i18n.date.monthsShort[this.month-1])},monthStamp:function(){return"".concat(this.$q.i18n.date.months[this.fakeMonth-1]," ").concat(this.fakeYear)},weekDayString:function(){return this.headerLabel||this.$q.i18n.date.days[this.model.getDay()]},fillerDays:function(){var t=this.fakeModel.getDay()-this.computedFirstDayOfWeek;return t<0&&(t+=7),t},beforeMinDays:function(){if(null===this.pmin)return!1;var t=this.pmin.getFullYear(),e=this.pmin.getMonth()+1;return t===this.fakeYear&&e===this.fakeMonth?this.pmin.getDate()-1:(t>this.fakeYear||t===this.fakeYear&&e>this.fakeMonth)&&this.daysInMonth},afterMaxDays:function(){if(null===this.pmax)return!1;var t=this.pmax.getFullYear(),e=this.pmax.getMonth()+1;return t===this.fakeYear&&e===this.fakeMonth?this.daysInMonth-this.maxDay:(t0||t){var e=this.beforeMinDays>0?this.beforeMinDays+1:1;return{min:e,max:this.daysInMonth-t}}return{min:1,max:this.daysInMonth}},hour:function(){var t=this.model.getHours();return this.computedFormat24h?t:U(t)},minute:function(){return this.model.getMinutes()},am:function(){return this.model.getHours()<=11},clockPointerStyle:function(){var t="minute"===this.view,e=t?60:12,n=Math.round((t?this.minute:this.hour)*(360/e))-180,i=["rotate(".concat(n,"deg)")];return t||!this.computedFormat24h||this.hour>0&&this.hour<13||i.push("scale(.7, .7)"),{transform:i.join(" ")}},isValid:function(){return O(this.value)},today:function(){var t=new Date;return j(t,this.fakeModel,"month")?t.getDate():-1}},methods:{setYear:function(t,e){this.editable&&(e||(this.view="month"),this.model=new Date(new Date(this.model).setFullYear(this.__parseTypeValue("year",t))))},setMonth:function(t,e){this.editable&&(e||(this.view="day"),this.model=C(this.model,{month:t}))},moveFakeMonth:function(t){var e=this.fakeMonth+(t>0?1:-1),n=this.fakeYear;if(e<1?(e=12,n-=1):e>12&&(e=1,n+=1),null!==this.pmin&&t>0){var i=this.pmin.getFullYear(),r=this.pmin.getMonth()+1;ns?(n=s,e=o):n===s&&e>o&&(e=o)}this.fakeValue.year=n,this.fakeValue.month=e},setDay:function(t,e,n,i){if(this.editable){if(n&&i){var r=C(this.model,{month:i});r.setFullYear(this.__parseTypeValue("year",n)),r.setDate(this.__parseTypeValue("date",t)),this.model=r}else this.model=new Date(new Date(this.model).setDate(this.__parseTypeValue("date",t)));e||"date"!==this.type?e||(this.view="hour"):(this.$emit("canClose"),this.minimal&&this.setView(this.defaultView))}},setHour:function(t){this.editable&&(t=this.__parseTypeValue("hour",t),!this.computedFormat24h&&t<12&&!this.am&&(t+=12),this.model=new Date(new Date(this.model).setHours(t)))},setMinute:function(t){this.editable&&(this.model=new Date(new Date(this.model).setMinutes(this.__parseTypeValue("minute",t))))},setView:function(t){var e=this.__calcView(t);this.view!==e&&(this.view=e)},__calcView:function(t){switch(this.type){case"time":return["hour","minute"].includes(t)?t:"hour";case"date":return["year","month","day"].includes(t)?t:"day";default:return["year","month","day","hour","minute"].includes(t)?t:"day"}},__pad:function(t,e){return(t<10?e||"0":"")+t},__scrollView:function(t){var e=this;if("year"===this.view||"month"===this.view){t&&setTimeout(function(){e.__scrollView()},200);var n=this.$refs.selector,i=n?n.querySelector(".q-btn:not(.active)"):null,r=n?n.querySelector(".q-btn.active"):null,s=n?n.offsetHeight:0;this.$nextTick(function(){var t="year"===e.view?e.year-e.yearInterval.min:e.month-e.monthMin-1;s&&r&&(n.scrollTop=t*(i?i.offsetHeight:0)+(r.offsetHeight-s)/2)})}},__dragStart:function(t,e){Object(m["g"])(t);var n=this.$refs.clock,i=Object(_["d"])(n);this.centerClockPos={top:i.top+Object(_["c"])(n)/2,left:i.left+Object(_["e"])(n)/2},this.dragging=!0,this.__updateClock(t,e)},__dragMove:function(t){this.dragging&&(Object(m["g"])(t),this.__updateClock(t))},__dragStop:function(t,e){Object(m["g"])(t),this.dragging=!1,void 0!==t&&this.__updateClock(t,e),"minute"===this.view?(this.$emit("canClose"),this.minimal&&this.setView(this.defaultView)):this.view="minute"},__updateClock:function(t,e){if(void 0!==e)return this["hour"===this.view?"setHour":"setMinute"](e);var n=Object(m["f"])(t),i=Math.abs(n.top-this.centerClockPos.top),r=Math.sqrt(Math.pow(Math.abs(n.top-this.centerClockPos.top),2)+Math.pow(Math.abs(n.left-this.centerClockPos.left),2)),s=Math.asin(i/r)*(180/Math.PI);if(s=n.top0||this.disable||this.readonly},on:{click:function(){e.moveFakeMonth(-1)}}}),t("div",{staticClass:"col q-datetime-month-stamp"},[this.monthStamp]),t(g["a"],{staticClass:"q-datetime-arrow",attrs:{tabindex:-1},props:{round:!0,dense:!0,flat:!0,icon:this.dateArrow[1],repeatTimeout:this.__repeatTimeout,disable:this.afterMaxDays>0||this.disable||this.readonly},on:{click:function(){e.moveFakeMonth(1)}}})]),t("div",{staticClass:"q-datetime-weekdays row no-wrap items-center justify-start"},this.headerDayNames.map(function(e){return t("div",[e])})),t("div",{staticClass:"q-datetime-days row wrap items-center justify-start content-center"},n)])},__getClockView:function(t){var e=this,n=[];if("hour"===this.view){var i,r,s="";this.computedFormat24h?(i=0,r=24,s=" fmt24"):(i=1,r=13);for(var o=function(i){n.push(t("div",{staticClass:"q-datetime-clock-position".concat(s),class:["q-datetime-clock-pos-".concat(i),i===e.hour?"active":""],on:{"!mousedown":function(t){return e.__dragStart(t,i)},"!mouseup":function(t){return e.__dragStop(t,i)}}},[t("span",[i||"00"])]))},a=i;a1&&t<5&&1!==~~(t/10)}function o(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"pár sekund":"pár sekundami";case"ss":return e||i?r+(s(t)?"sekundy":"sekund"):r+"sekundami";case"m":return e?"minuta":i?"minutu":"minutou";case"mm":return e||i?r+(s(t)?"minuty":"minut"):r+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(s(t)?"hodiny":"hodin"):r+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?r+(s(t)?"dny":"dní"):r+"dny";case"M":return e||i?"měsíc":"měsícem";case"MM":return e||i?r+(s(t)?"měsíce":"měsíců"):r+"měsíci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?r+(s(t)?"roky":"let"):r+"lety"}}var a=t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a})},"3c11":function(t,e,n){"use strict";var i=n("63b6"),r=n("584a"),s=n("e53d"),o=n("f201"),a=n("cd78");i(i.P+i.R,"Promise",{finally:function(t){var e=o(this,r.Promise||s.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},"3c22":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("5c38"),r=function(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32};function s(t,e,n){var r=n?Object(i["b"])(n):"null";return e+":"+t+":"+r}r.prototype.clear=function(){this.cache_={},this.cacheSize_=0},r.prototype.expire=function(){if(this.cacheSize_>this.maxCacheSize_){var t=0;for(var e in this.cache_){var n=this.cache_[e];0!==(3&t++)||n.hasListener()||(delete this.cache_[e],--this.cacheSize_)}}},r.prototype.get=function(t,e,n){var i=s(t,e,n);return i in this.cache_?this.cache_[i]:null},r.prototype.set=function(t,e,n,i){var r=s(t,e,n);this.cache_[r]=i,++this.cacheSize_},r.prototype.setSize=function(t){this.maxCacheSize_=t,this.expire()};var o=new r},"3c35":function(t,e){(function(e){t.exports=e}).call(this,{})},"3c81":function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return l});var i=n("0999"),r=n("0af5"),s=n("7fc9"),o=n("256f");function a(t,e,n,i){var s=Object(o["l"])(n,e,t),a=Object(o["h"])(e,i,n),c=e.getMetersPerUnit();void 0!==c&&(a*=c);var l=t.getMetersPerUnit();void 0!==l&&(a/=l);var u=t.getExtent();if(!u||Object(r["f"])(u,s)){var h=Object(o["h"])(t,a,s)/a;isFinite(h)&&h>0&&(a/=h)}return a}function c(t,e,n,i){var r=n-t,s=i-e,o=Math.sqrt(r*r+s*s);return[Math.round(n+r/o),Math.round(i+s/o)]}function l(t,e,n,o,a,l,u,h,d,f,p){var _=Object(i["a"])(Math.round(n*t),Math.round(n*e));if(0===d.length)return _.canvas;_.scale(n,n);var m=Object(r["j"])();d.forEach(function(t,e,n){Object(r["q"])(m,t.extent)});var g=Object(r["E"])(m),y=Object(r["A"])(m),v=Object(i["a"])(Math.round(n*g/o),Math.round(n*y/o)),b=n/o;d.forEach(function(t,e,n){var i=t.extent[0]-m[0],s=-(t.extent[3]-m[3]),o=Object(r["E"])(t.extent),a=Object(r["A"])(t.extent);v.drawImage(t.image,f,f,t.image.width-2*f,t.image.height-2*f,i*b,s*b,o*b,a*b)});var M=Object(r["C"])(u);return h.getTriangles().forEach(function(t,e,i){var r=t.source,a=t.target,u=r[0][0],h=r[0][1],d=r[1][0],f=r[1][1],p=r[2][0],g=r[2][1],y=(a[0][0]-M[0])/l,b=-(a[0][1]-M[1])/l,w=(a[1][0]-M[0])/l,x=-(a[1][1]-M[1])/l,L=(a[2][0]-M[0])/l,E=-(a[2][1]-M[1])/l,T=u,S=h;u=0,h=0,d-=T,f-=S,p-=T,g-=S;var O=[[d,f,0,0,w-y],[p,g,0,0,L-y],[0,0,d,f,x-b],[0,0,p,g,E-b]],k=Object(s["e"])(O);if(k){_.save(),_.beginPath();var C=(y+w+L)/3,I=(b+x+E)/3,D=c(C,I,y,b),Y=c(C,I,w,x),R=c(C,I,L,E);_.moveTo(Y[0],Y[1]),_.lineTo(D[0],D[1]),_.lineTo(R[0],R[1]),_.clip(),_.transform(k[0],k[2],k[1],k[3],y,b),_.translate(m[0]-T,m[3]-S),_.scale(o/n,-o/n),_.drawImage(v.canvas,0,0),_.restore()}}),p&&(_.save(),_.strokeStyle="black",_.lineWidth=1,h.getTriangles().forEach(function(t,e,n){var i=t.target,r=(i[0][0]-M[0])/l,s=-(i[0][1]-M[1])/l,o=(i[1][0]-M[0])/l,a=-(i[1][1]-M[1])/l,c=(i[2][0]-M[0])/l,u=-(i[2][1]-M[1])/l;_.beginPath(),_.moveTo(o,a),_.lineTo(r,s),_.lineTo(c,u),_.closePath(),_.stroke()}),_.restore()),_.canvas}},"3d49":function(t,e,n){},"3d5b":function(t,e,n){"use strict";n("551c"),n("f751");var i=n("cd88"),r={props:{popover:Boolean,modal:Boolean},computed:{isPopover:function(){return!!this.popover||!this.modal&&(this.$q.platform.is.desktop&&!this.$q.platform.within.iframe)}}},s=n("559e"),o=(n("6762"),n("2fdb"),n("c5f6"),n("7037")),a=n.n(o),c=n("73f5"),l=function(t){var e=a()(t);return null===t||void 0===t||"number"===e||"string"===e||Object(c["a"])(t)},u={value:{validator:l,required:!0},defaultValue:{type:[String,Number,Date],default:null},type:{type:String,default:"date",validator:function(t){return["date","time","datetime"].includes(t)}},color:{type:String,default:"primary"},dark:Boolean,min:{validator:l,default:null},max:{validator:l,default:null},headerLabel:String,firstDayOfWeek:Number,formatModel:{type:String,default:"auto",validator:function(t){return["auto","date","number","string"].includes(t)}},format24h:{type:[Boolean,Number],default:0,validator:function(t){return[!0,!1,0].includes(t)}},defaultView:{type:String,validator:function(t){return["year","month","day","hour","minute"].includes(t)}},minimal:Boolean},h={format:String,okLabel:String,cancelLabel:String,displayValue:String},d=n("2054"),f=n("52b5"),p=n("b5b8"),_=n("abcf"),m=n("b18c"),g=n("482e"),y=(n("28a5"),n("4917"),n("cadf"),n("456d"),n("ac6a"),n("a481"),n("177b")),v=n("b157"),b=864e5,M=36e5,w=6e4,x=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,L=/^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}(.[0-9]{6})?$/;function E(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t>0?"-":"+",i=Math.abs(t),r=Math.floor(i/60),s=i%60;return n+Object(y["d"])(r)+e+Object(y["d"])(s)}function T(t,e){var n=new Date(t.getFullYear(),e,0,0,0,0,0),i=n.getDate();t.setMonth(e-1,Math.min(i,t.getDate()))}function S(t){return new Date(Object(c["c"])(t)&&null!==L.exec(t)?t.substring(0,23).replace(" ","T"):t)}function O(t){if("number"===typeof t)return!0;var e=Date.parse(t);return!1===isNaN(e)}function k(t){var e=new Date(t.getFullYear(),t.getMonth(),t.getDate());e.setDate(e.getDate()-(e.getDay()+6)%7+3);var n=new Date(e.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);var i=e.getTimezoneOffset()-n.getTimezoneOffset();e.setHours(e.getHours()-i);var r=(e-n)/(7*b);return 1+Math.floor(r)}function C(t,e,n){var i=S(t),r="set".concat(n?"UTC":"");return Object.keys(e).forEach(function(t){if("month"!==t){var n="year"===t?"FullYear":t.charAt(0).toUpperCase()+t.slice(1);i["".concat(r).concat(n)](e[t])}else T(i,e.month)}),i}function I(t,e){var n=S(t);switch(e){case"year":n.setMonth(0);case"month":n.setDate(1);case"day":n.setHours(0);case"hour":n.setMinutes(0);case"minute":n.setSeconds(0);case"second":n.setMilliseconds(0)}return n}function D(t,e,n){return(t.getTime()-t.getTimezoneOffset()*w-(e.getTime()-e.getTimezoneOffset()*w))/n}function Y(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"days",i=S(t),r=S(e);switch(n){case"years":return i.getFullYear()-r.getFullYear();case"months":return 12*(i.getFullYear()-r.getFullYear())+i.getMonth()-r.getMonth();case"days":return D(I(i,"day"),I(r,"day"),b);case"hours":return D(I(i,"hour"),I(r,"hour"),M);case"minutes":return D(I(i,"minute"),I(r,"minute"),w);case"seconds":return D(I(i,"second"),I(r,"second"),1e3)}}function R(t){return Y(t,I(t,"year"),"days")+1}function N(t){return Object(c["a"])(t)?"date":"number"===typeof t?"number":"string"}function A(t,e,n){if(t||0===t)switch(e){case"date":return t;case"number":return t.getTime();default:return G(t,n)}}function P(t,e,n){var i=S(t);if(e){var r=S(e);if(is)return s}return i}function j(t,e,n){var i=S(t),r=S(e);if(void 0===n)return i.getTime()===r.getTime();switch(n){case"second":if(i.getSeconds()!==r.getSeconds())return!1;case"minute":if(i.getMinutes()!==r.getMinutes())return!1;case"hour":if(i.getHours()!==r.getHours())return!1;case"day":if(i.getDate()!==r.getDate())return!1;case"month":if(i.getMonth()!==r.getMonth())return!1;case"year":if(i.getFullYear()!==r.getFullYear())return!1;break;default:throw new Error("date isSameDate unknown unit ".concat(n))}return!0}function F(t){if(t>=11&&t<=13)return"".concat(t,"th");switch(t%10){case 1:return"".concat(t,"st");case 2:return"".concat(t,"nd");case 3:return"".concat(t,"rd")}return"".concat(t,"th")}var H={YY:function(t){return Object(y["d"])(t.getFullYear(),4).substr(2)},YYYY:function(t){return Object(y["d"])(t.getFullYear(),4)},M:function(t){return t.getMonth()+1},MM:function(t){return Object(y["d"])(t.getMonth()+1)},MMM:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e.monthNamesShort||v["a"].lang.date.monthsShort)[t.getMonth()]},MMMM:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e.monthNames||v["a"].lang.date.months)[t.getMonth()]},Q:function(t){return Math.ceil((t.getMonth()+1)/3)},Qo:function(t){return F(this.Q(t))},D:function(t){return t.getDate()},Do:function(t){return F(t.getDate())},DD:function(t){return Object(y["d"])(t.getDate())},DDD:function(t){return R(t)},DDDD:function(t){return Object(y["d"])(R(t),3)},d:function(t){return t.getDay()},dd:function(t){return this.dddd(t).slice(0,2)},ddd:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e.dayNamesShort||v["a"].lang.date.daysShort)[t.getDay()]},dddd:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e.dayNames||v["a"].lang.date.days)[t.getDay()]},E:function(t){return t.getDay()||7},w:function(t){return k(t)},ww:function(t){return Object(y["d"])(k(t))},H:function(t){return t.getHours()},HH:function(t){return Object(y["d"])(t.getHours())},h:function(t){var e=t.getHours();return 0===e?12:e>12?e%12:e},hh:function(t){return Object(y["d"])(this.h(t))},m:function(t){return t.getMinutes()},mm:function(t){return Object(y["d"])(t.getMinutes())},s:function(t){return t.getSeconds()},ss:function(t){return Object(y["d"])(t.getSeconds())},S:function(t){return Math.floor(t.getMilliseconds()/100)},SS:function(t){return Object(y["d"])(Math.floor(t.getMilliseconds()/10))},SSS:function(t){return Object(y["d"])(t.getMilliseconds(),3)},A:function(t){return this.H(t)<12?"AM":"PM"},a:function(t){return this.H(t)<12?"am":"pm"},aa:function(t){return this.H(t)<12?"a.m.":"p.m."},Z:function(t){return E(t.getTimezoneOffset(),":")},ZZ:function(t){return E(t.getTimezoneOffset())},X:function(t){return Math.floor(t.getTime()/1e3)},x:function(t){return t.getTime()}};function G(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DDTHH:mm:ss.SSSZ",n=arguments.length>2?arguments[2]:void 0;if(0===t||t){var i=S(t);return e.replace(x,function(t,e){return t in H?H[t](i,n):void 0===e?t:e.split("\\]").join("]")})}}function q(t){return Object(c["a"])(t)?new Date(t.getTime()):t}var z=/^\d{4}[^\d]\d{2}[^\d]\d{2}/,B={props:u,computed:{computedValue:function(){return"date"===this.type&&"string"===this.formatModel&&z.test(this.value)?this.value.slice(0,10).split(/[^\d]/).join("/"):this.value},computedDefaultValue:function(){return"date"===this.type&&"string"===this.formatModel&&z.test(this.defaultValue)?this.defaultValue.slice(0,10).split(/[^\d]+/).join("/"):this.defaultValue},computedDateFormat:function(){if("date"===this.type&&"string"===this.formatModel)return"YYYY/MM/DD HH:mm:ss"},model:{get:function(){return O(this.computedValue)?new Date(this.computedValue):this.computedDefaultValue?new Date(this.computedDefaultValue):I(new Date,"day")},set:function(t){var e=this,n=P(t,this.pmin,this.pmax),i=A(n,"auto"===this.formatModel?N(this.value):this.formatModel,this.computedDateFormat);this.$emit("input",i),this.$nextTick(function(){j(i,e.value)||e.$emit("change",i)})}},pmin:function(){return this.min?new Date(this.min):null},pmax:function(){return this.max?new Date(this.max):null},typeHasDate:function(){return"date"===this.type||"datetime"===this.type},typeHasTime:function(){return"time"===this.type||"datetime"===this.type},year:function(){return this.model.getFullYear()},month:function(){return this.model.getMonth()+1},day:function(){return this.model.getDate()},minute:function(){return this.model.getMinutes()},currentYear:function(){return(new Date).getFullYear()},yearInterval:function(){return{min:null!==this.pmin?this.pmin.getFullYear():(this.year||this.currentYear)-80,max:null!==this.pmax?this.pmax.getFullYear():(this.year||this.currentYear)+80}},monthInterval:function(){return{min:this.monthMin,max:null!==this.pmax&&this.pmax.getFullYear()===this.year?this.pmax.getMonth():11}},monthMin:function(){return null!==this.pmin&&this.pmin.getFullYear()===this.year?this.pmin.getMonth():0},daysInMonth:function(){return new Date(this.year,this.model.getMonth()+1,0).getDate()},editable:function(){return!this.disable&&!this.readonly},__needsBorder:function(){return!0}},methods:{toggleAmPm:function(){if(this.editable){var t=this.model.getHours(),e=this.am?12:-12;this.model=new Date(new Date(this.model).setHours(t+e))}},__parseTypeValue:function(t,e){return"month"===t?Object(y["c"])(e,1,12):"date"===t?Object(y["c"])(e,1,this.daysInMonth):"year"===t?Object(y["c"])(e,this.yearInterval.min,this.yearInterval.max):"hour"===t?Object(y["c"])(e,0,23):"minute"===t?Object(y["c"])(e,0,59):void 0}}},$=n("e660"),W=n("1526");function U(t){return 0===t?12:t>=13?t-12:t}var V={name:"QDatetimePicker",mixins:[B,$["a"],s["a"]],props:{defaultValue:[String,Number,Date],disable:Boolean,readonly:Boolean},directives:{Ripple:W["a"]},data:function(){return{view:this.__calcView(this.defaultView),dragging:!1,centerClockPos:0,fakeValue:{year:null,month:null}}},watch:{value:function(t){t||(this.view=["date","datetime"].includes(this.type)?"day":"hour")},view:function(){this.__scrollView(!0)},model:function(){this.fakeValue.month!==this.month&&(this.fakeValue.month=this.month,this.__scrollView()),this.fakeValue.year!==this.year&&(this.fakeValue.year=this.year,this.__scrollView())}},computed:{classes:function(){var t=[];return this.disable&&t.push("disabled"),this.readonly&&t.push("readonly"),this.dark&&t.push("q-datetime-dark"),this.minimal&&t.push("q-datetime-minimal"),this.color&&t.push("text-".concat(this.color)),t},dateArrow:function(){var t=[this.$q.icon.datetime.arrowLeft,this.$q.icon.datetime.arrowRight];return this.$q.i18n.rtl?t.reverse():t},computedFormat24h:function(){return 0!==this.format24h?this.format24h:this.$q.i18n.date.format24h},computedFirstDayOfWeek:function(){return void 0!==this.firstDayOfWeek?this.firstDayOfWeek:this.$q.i18n.date.firstDayOfWeek},headerDayNames:function(){var t=this.$q.i18n.date.daysShort,e=this.computedFirstDayOfWeek;return e>0?t.slice(e,7).concat(t.slice(0,e)):t},fakeModel:function(){return new Date(this.fakeYear,this.fakeMonth-1,1)},fakeYear:function(){return this.fakeValue.year||this.year},fakeMonth:function(){return this.fakeValue.month||this.month},daysInMonth:function(){return new Date(this.fakeYear,this.fakeMonth,0).getDate()},monthString:function(){return"".concat(this.$q.i18n.date.monthsShort[this.month-1])},monthStamp:function(){return"".concat(this.$q.i18n.date.months[this.fakeMonth-1]," ").concat(this.fakeYear)},weekDayString:function(){return this.headerLabel||this.$q.i18n.date.days[this.model.getDay()]},fillerDays:function(){var t=this.fakeModel.getDay()-this.computedFirstDayOfWeek;return t<0&&(t+=7),t},beforeMinDays:function(){if(null===this.pmin)return!1;var t=this.pmin.getFullYear(),e=this.pmin.getMonth()+1;return t===this.fakeYear&&e===this.fakeMonth?this.pmin.getDate()-1:(t>this.fakeYear||t===this.fakeYear&&e>this.fakeMonth)&&this.daysInMonth},afterMaxDays:function(){if(null===this.pmax)return!1;var t=this.pmax.getFullYear(),e=this.pmax.getMonth()+1;return t===this.fakeYear&&e===this.fakeMonth?this.daysInMonth-this.maxDay:(t0||t){var e=this.beforeMinDays>0?this.beforeMinDays+1:1;return{min:e,max:this.daysInMonth-t}}return{min:1,max:this.daysInMonth}},hour:function(){var t=this.model.getHours();return this.computedFormat24h?t:U(t)},minute:function(){return this.model.getMinutes()},am:function(){return this.model.getHours()<=11},clockPointerStyle:function(){var t="minute"===this.view,e=t?60:12,n=Math.round((t?this.minute:this.hour)*(360/e))-180,i=["rotate(".concat(n,"deg)")];return t||!this.computedFormat24h||this.hour>0&&this.hour<13||i.push("scale(.7, .7)"),{transform:i.join(" ")}},isValid:function(){return O(this.value)},today:function(){var t=new Date;return j(t,this.fakeModel,"month")?t.getDate():-1}},methods:{setYear:function(t,e){this.editable&&(e||(this.view="month"),this.model=new Date(new Date(this.model).setFullYear(this.__parseTypeValue("year",t))))},setMonth:function(t,e){this.editable&&(e||(this.view="day"),this.model=C(this.model,{month:t}))},moveFakeMonth:function(t){var e=this.fakeMonth+(t>0?1:-1),n=this.fakeYear;if(e<1?(e=12,n-=1):e>12&&(e=1,n+=1),null!==this.pmin&&t>0){var i=this.pmin.getFullYear(),r=this.pmin.getMonth()+1;ns?(n=s,e=o):n===s&&e>o&&(e=o)}this.fakeValue.year=n,this.fakeValue.month=e},setDay:function(t,e,n,i){if(this.editable){if(n&&i){var r=C(this.model,{month:i});r.setFullYear(this.__parseTypeValue("year",n)),r.setDate(this.__parseTypeValue("date",t)),this.model=r}else this.model=new Date(new Date(this.model).setDate(this.__parseTypeValue("date",t)));e||"date"!==this.type?e||(this.view="hour"):(this.$emit("canClose"),this.minimal&&this.setView(this.defaultView))}},setHour:function(t){this.editable&&(t=this.__parseTypeValue("hour",t),!this.computedFormat24h&&t<12&&!this.am&&(t+=12),this.model=new Date(new Date(this.model).setHours(t)))},setMinute:function(t){this.editable&&(this.model=new Date(new Date(this.model).setMinutes(this.__parseTypeValue("minute",t))))},setView:function(t){var e=this.__calcView(t);this.view!==e&&(this.view=e)},__calcView:function(t){switch(this.type){case"time":return["hour","minute"].includes(t)?t:"hour";case"date":return["year","month","day"].includes(t)?t:"day";default:return["year","month","day","hour","minute"].includes(t)?t:"day"}},__pad:function(t,e){return(t<10?e||"0":"")+t},__scrollView:function(t){var e=this;if("year"===this.view||"month"===this.view){t&&setTimeout(function(){e.__scrollView()},200);var n=this.$refs.selector,i=n?n.querySelector(".q-btn:not(.active)"):null,r=n?n.querySelector(".q-btn.active"):null,s=n?n.offsetHeight:0;this.$nextTick(function(){var t="year"===e.view?e.year-e.yearInterval.min:e.month-e.monthMin-1;s&&r&&(n.scrollTop=t*(i?i.offsetHeight:0)+(r.offsetHeight-s)/2)})}},__dragStart:function(t,e){Object(m["g"])(t);var n=this.$refs.clock,i=Object(_["d"])(n);this.centerClockPos={top:i.top+Object(_["c"])(n)/2,left:i.left+Object(_["e"])(n)/2},this.dragging=!0,this.__updateClock(t,e)},__dragMove:function(t){this.dragging&&(Object(m["g"])(t),this.__updateClock(t))},__dragStop:function(t,e){Object(m["g"])(t),this.dragging=!1,void 0!==t&&this.__updateClock(t,e),"minute"===this.view?(this.$emit("canClose"),this.minimal&&this.setView(this.defaultView)):this.view="minute"},__updateClock:function(t,e){if(void 0!==e)return this["hour"===this.view?"setHour":"setMinute"](e);var n=Object(m["f"])(t),i=Math.abs(n.top-this.centerClockPos.top),r=Math.sqrt(Math.pow(Math.abs(n.top-this.centerClockPos.top),2)+Math.pow(Math.abs(n.left-this.centerClockPos.left),2)),s=Math.asin(i/r)*(180/Math.PI);if(s=n.top0||this.disable||this.readonly},on:{click:function(){e.moveFakeMonth(-1)}}}),t("div",{staticClass:"col q-datetime-month-stamp"},[this.monthStamp]),t(g["a"],{staticClass:"q-datetime-arrow",attrs:{tabindex:-1},props:{round:!0,dense:!0,flat:!0,icon:this.dateArrow[1],repeatTimeout:this.__repeatTimeout,disable:this.afterMaxDays>0||this.disable||this.readonly},on:{click:function(){e.moveFakeMonth(1)}}})]),t("div",{staticClass:"q-datetime-weekdays row no-wrap items-center justify-start"},this.headerDayNames.map(function(e){return t("div",[e])})),t("div",{staticClass:"q-datetime-days row wrap items-center justify-start content-center"},n)])},__getClockView:function(t){var e=this,n=[];if("hour"===this.view){var i,r,s="";this.computedFormat24h?(i=0,r=24,s=" fmt24"):(i=1,r=13);for(var o=function(i){n.push(t("div",{staticClass:"q-datetime-clock-position".concat(s),class:["q-datetime-clock-pos-".concat(i),i===e.hour?"active":""],on:{"!mousedown":function(t){return e.__dragStart(t,i)},"!mouseup":function(t){return e.__dragStop(t,i)}}},[t("span",[i||"00"])]))},a=i;a=10?t:t+12},week:{dow:0,doy:6}});return i})},"3e1e":function(t,e,n){"use strict";(function(e){var i=n("3fb5"),r=n("7577"),s=n("1548"),o=n("df09"),a=n("73aa"),c=n("26a0");function l(t){if(!a.enabled&&!o.enabled)throw new Error("Transport created when disabled");r.call(this,t,"/xhr_streaming",s,o)}i(l,r),l.enabled=function(t){return!t.nullOrigin&&(!c.isOpera()&&o.enabled)},l.transportName="xhr-streaming",l.roundTrips=2,l.needBody=!!e.document,t.exports=l}).call(this,n("c8ba"))},"3e37":function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{isInBoundary(t){}}class r{isInBoundary(t){return t%2===1}get interfaces_(){return[i]}}class s{isInBoundary(t){return t>0}get interfaces_(){return[i]}}class o{isInBoundary(t){return t>1}get interfaces_(){return[i]}}class a{isInBoundary(t){return 1===t}get interfaces_(){return[i]}}i.Mod2BoundaryNodeRule=r,i.EndPointBoundaryNodeRule=s,i.MultiValentEndPointBoundaryNodeRule=o,i.MonoValentEndPointBoundaryNodeRule=a,i.MOD2_BOUNDARY_RULE=new r,i.ENDPOINT_BOUNDARY_RULE=new s,i.MULTIVALENT_ENDPOINT_BOUNDARY_RULE=new o,i.MONOVALENT_ENDPOINT_BOUNDARY_RULE=new a,i.OGC_SFS_BOUNDARY_RULE=i.MOD2_BOUNDARY_RULE},"3e6b":function(t,e,n){"use strict";var i=n("5dec"),r=n("1af9"),s=n("050e"),o=n("38f3"),a=n("6c77"),c={RENDER_ORDER:"renderOrder"},l=function(t){function e(e){var n=e||{},r=Object(o["a"])({},n);delete r.style,delete r.renderBuffer,delete r.updateWhileAnimating,delete r.updateWhileInteracting,t.call(this,r),this.declutter_=void 0!==n.declutter&&n.declutter,this.renderBuffer_=void 0!==n.renderBuffer?n.renderBuffer:100,this.style_=null,this.styleFunction_=void 0,this.setStyle(n.style),this.updateWhileAnimating_=void 0!==n.updateWhileAnimating&&n.updateWhileAnimating,this.updateWhileInteracting_=void 0!==n.updateWhileInteracting&&n.updateWhileInteracting,this.renderMode_=n.renderMode||s["a"].VECTOR,this.type=i["a"].VECTOR}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDeclutter=function(){return this.declutter_},e.prototype.setDeclutter=function(t){this.declutter_=t},e.prototype.getRenderBuffer=function(){return this.renderBuffer_},e.prototype.getRenderOrder=function(){return this.get(c.RENDER_ORDER)},e.prototype.getStyle=function(){return this.style_},e.prototype.getStyleFunction=function(){return this.styleFunction_},e.prototype.getUpdateWhileAnimating=function(){return this.updateWhileAnimating_},e.prototype.getUpdateWhileInteracting=function(){return this.updateWhileInteracting_},e.prototype.setRenderOrder=function(t){this.set(c.RENDER_ORDER,t)},e.prototype.setStyle=function(t){this.style_=void 0!==t?t:a["a"],this.styleFunction_=null===t?void 0:Object(a["d"])(this.style_),this.changed()},e.prototype.getRenderMode=function(){return this.renderMode_},e}(r["a"]);l.prototype.getSource,e["a"]=l},"3e92":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration -var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},i=t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}});return i})},"3eb1":function(t,e,n){"use strict";var i=n("0f7c"),r=n("00ce"),s=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||i.call(o,s),c=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),u=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch(t){l=null}t.exports=function(t){var e=a(i,o,arguments);if(c&&l){var n=c(e,"length");n.configurable&&l(e,"length",{value:1+u(0,t.length-(arguments.length-1))})}return e};var h=function(){return a(i,s,arguments)};l?l(t.exports,"apply",{value:h}):t.exports.apply=h},"3f99":function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i extends Error{constructor(t){super(t),this.name=Object.keys({Exception:i})[0]}toString(){return this.message}}},"3fb5":function(t,e){"function"===typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},4082:function(t,e,n){var i=n("afdb"),r=n("f0e4");function s(t,e){if(null==t)return{};var n,s,o=r(t,e);if(i){var a=i(t);for(s=0;s=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}t.exports=s},"40b2":function(t,e,n){"use strict";var i=n("3fb5"),r=n("54d6"),s=n("73aa"),o=n("7577");function a(t){if(!r.enabled)throw new Error("Transport created when disabled");o.call(this,t,"/htmlfile",r,s)}i(a,o),a.enabled=function(t){return r.enabled&&t.sameOrigin},a.transportName="htmlfile",a.roundTrips=2,t.exports=a},"40c3":function(t,e,n){var i=n("6b4c"),r=n("5168")("toStringTag"),s="Arguments"==i(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=o(e=Object(t),r))?n:s?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},4105:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("0b2d"),r=n("4334"),s=n("38f3"),o=function(t){function e(e){var n=e||{};t.call(this,n),n.handleDownEvent&&(this.handleDownEvent=n.handleDownEvent),n.handleDragEvent&&(this.handleDragEvent=n.handleDragEvent),n.handleMoveEvent&&(this.handleMoveEvent=n.handleMoveEvent),n.handleUpEvent&&(this.handleUpEvent=n.handleUpEvent),n.stopDown&&(this.stopDown=n.stopDown),this.handlingDownUpSequence=!1,this.trackedPointers_={},this.targetPointers=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.handleDownEvent=function(t){return!1},e.prototype.handleDragEvent=function(t){},e.prototype.handleEvent=function(t){if(!t.pointerEvent)return!0;var e=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==i["a"].POINTERDRAG)this.handleDragEvent(t);else if(t.type==i["a"].POINTERUP){var n=this.handleUpEvent(t);this.handlingDownUpSequence=n&&this.targetPointers.length>0}}else if(t.type==i["a"].POINTERDOWN){var r=this.handleDownEvent(t);r&&t.preventDefault(),this.handlingDownUpSequence=r,e=this.stopDown(r)}else t.type==i["a"].POINTERMOVE&&this.handleMoveEvent(t);return!e},e.prototype.handleMoveEvent=function(t){},e.prototype.handleUpEvent=function(t){return!1},e.prototype.stopDown=function(t){return t},e.prototype.updateTrackedPointers_=function(t){if(c(t)){var e=t.pointerEvent,n=e.pointerId.toString();t.type==i["a"].POINTERUP?delete this.trackedPointers_[n]:t.type==i["a"].POINTERDOWN?this.trackedPointers_[n]=e:n in this.trackedPointers_&&(this.trackedPointers_[n]=e),this.targetPointers=Object(s["c"])(this.trackedPointers_)}},e}(r["a"]);function a(t){for(var e=t.length,n=0,i=0,r=0;r0?L.join(",")||null:void 0}];else if(c(d))Y=d;else{var A=Object.keys(L);Y=f?A.sort(f):A}for(var N=0;N0?v+m:""}},4178:function(t,e,n){var i,r,s,o=n("d864"),a=n("3024"),c=n("32fc"),l=n("1ec9"),u=n("e53d"),h=u.process,d=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,_=u.Dispatch,m=0,g={},y="onreadystatechange",v=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},b=function(t){v.call(t.data)};d&&f||(d=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return g[++m]=function(){a("function"==typeof t?t:Function(t),e)},i(m),m},f=function(t){delete g[t]},"process"==n("6b4c")(h)?i=function(t){h.nextTick(o(v,t,1))}:_&&_.now?i=function(t){_.now(o(v,t,1))}:p?(r=new p,s=r.port2,r.port1.onmessage=b,i=o(s.postMessage,s,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(t){u.postMessage(t+"","*")},u.addEventListener("message",b,!1)):i=y in l("script")?function(t){c.appendChild(l("script"))[y]=function(){c.removeChild(this),v.call(t)}}:function(t){setTimeout(o(v,t,1),0)}),t.exports={set:d,clear:f}},"41a0":function(t,e,n){"use strict";var i=n("2aeb"),r=n("4630"),s=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(o,{next:r(1,n)}),s(t,e+" Iterator")}},"41a4":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("70d5"),r=n("ff9f"),s=n("c9fd");class o extends r["a"]{constructor(){super(),this.map=new Map}get(t){return this.map.get(t)||null}put(t,e){return this.map.set(t,e),e}values(){const t=new i["a"],e=this.map.values();let n=e.next();while(!n.done)t.add(n.value),n=e.next();return t}entrySet(){const t=new s["a"];return this.map.entries().forEach(e=>t.add(e)),t}size(){return this.map.size()}}},"423e":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},i=t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}});return i})},"3eb1":function(t,e,n){"use strict";var i=n("0f7c"),r=n("00ce"),s=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||i.call(o,s),c=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),u=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch(t){l=null}t.exports=function(t){var e=a(i,o,arguments);if(c&&l){var n=c(e,"length");n.configurable&&l(e,"length",{value:1+u(0,t.length-(arguments.length-1))})}return e};var h=function(){return a(i,s,arguments)};l?l(t.exports,"apply",{value:h}):t.exports.apply=h},"3f99":function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i extends Error{constructor(t){super(t),this.name=Object.keys({Exception:i})[0]}toString(){return this.message}}},"3fb5":function(t,e){"function"===typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},4082:function(t,e,n){var i=n("afdb"),r=n("f0e4");function s(t,e){if(null==t)return{};var n,s,o=r(t,e);if(i){var a=i(t);for(s=0;s=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}t.exports=s},"40b2":function(t,e,n){"use strict";var i=n("3fb5"),r=n("54d6"),s=n("73aa"),o=n("7577");function a(t){if(!r.enabled)throw new Error("Transport created when disabled");o.call(this,t,"/htmlfile",r,s)}i(a,o),a.enabled=function(t){return r.enabled&&t.sameOrigin},a.transportName="htmlfile",a.roundTrips=2,t.exports=a},"40c3":function(t,e,n){var i=n("6b4c"),r=n("5168")("toStringTag"),s="Arguments"==i(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=o(e=Object(t),r))?n:s?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},4105:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("0b2d"),r=n("4334"),s=n("38f3"),o=function(t){function e(e){var n=e||{};t.call(this,n),n.handleDownEvent&&(this.handleDownEvent=n.handleDownEvent),n.handleDragEvent&&(this.handleDragEvent=n.handleDragEvent),n.handleMoveEvent&&(this.handleMoveEvent=n.handleMoveEvent),n.handleUpEvent&&(this.handleUpEvent=n.handleUpEvent),n.stopDown&&(this.stopDown=n.stopDown),this.handlingDownUpSequence=!1,this.trackedPointers_={},this.targetPointers=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.handleDownEvent=function(t){return!1},e.prototype.handleDragEvent=function(t){},e.prototype.handleEvent=function(t){if(!t.pointerEvent)return!0;var e=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==i["a"].POINTERDRAG)this.handleDragEvent(t);else if(t.type==i["a"].POINTERUP){var n=this.handleUpEvent(t);this.handlingDownUpSequence=n&&this.targetPointers.length>0}}else if(t.type==i["a"].POINTERDOWN){var r=this.handleDownEvent(t);r&&t.preventDefault(),this.handlingDownUpSequence=r,e=this.stopDown(r)}else t.type==i["a"].POINTERMOVE&&this.handleMoveEvent(t);return!e},e.prototype.handleMoveEvent=function(t){},e.prototype.handleUpEvent=function(t){return!1},e.prototype.stopDown=function(t){return t},e.prototype.updateTrackedPointers_=function(t){if(c(t)){var e=t.pointerEvent,n=e.pointerId.toString();t.type==i["a"].POINTERUP?delete this.trackedPointers_[n]:t.type==i["a"].POINTERDOWN?this.trackedPointers_[n]=e:n in this.trackedPointers_&&(this.trackedPointers_[n]=e),this.targetPointers=Object(s["c"])(this.trackedPointers_)}},e}(r["a"]);function a(t){for(var e=t.length,n=0,i=0,r=0;r0?E.join(",")||null:void 0}];else if(c(f))R=f;else{var A=Object.keys(E);R=g?A.sort(g):A}for(var P=o&&c(E)&&1===E.length?n+"[]":n,j=0;j0?b+v:""}},4178:function(t,e,n){var i,r,s,o=n("d864"),a=n("3024"),c=n("32fc"),l=n("1ec9"),u=n("e53d"),h=u.process,d=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,_=u.Dispatch,m=0,g={},y="onreadystatechange",v=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},b=function(t){v.call(t.data)};d&&f||(d=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return g[++m]=function(){a("function"==typeof t?t:Function(t),e)},i(m),m},f=function(t){delete g[t]},"process"==n("6b4c")(h)?i=function(t){h.nextTick(o(v,t,1))}:_&&_.now?i=function(t){_.now(o(v,t,1))}:p?(r=new p,s=r.port2,r.port1.onmessage=b,i=o(s.postMessage,s,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(t){u.postMessage(t+"","*")},u.addEventListener("message",b,!1)):i=y in l("script")?function(t){c.appendChild(l("script"))[y]=function(){c.removeChild(this),v.call(t)}}:function(t){setTimeout(o(v,t,1),0)}),t.exports={set:d,clear:f}},"41a0":function(t,e,n){"use strict";var i=n("2aeb"),r=n("4630"),s=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(o,{next:r(1,n)}),s(t,e+" Iterator")}},"41a4":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("70d5"),r=n("ff9f"),s=n("c9fd");class o extends r["a"]{constructor(){super(),this.map=new Map}get(t){return this.map.get(t)||null}put(t,e){return this.map.set(t,e),e}values(){const t=new i["a"],e=this.map.values();let n=e.next();while(!n.done)t.add(n.value),n=e.next();return t}entrySet(){const t=new s["a"];return this.map.entries().forEach(e=>t.add(e)),t}size(){return this.map.size()}}},"423e":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});return e})},"42b5":function(t,e,n){"use strict";var i=n("b18c"),r=n("177b");e["a"]={data:function(){return{keyboardIndex:0,keyboardMoveDirection:!1,keyboardMoveTimer:!1}},watch:{keyboardIndex:function(t){var e=this;this.$refs.popover&&this.$refs.popover.showing&&this.keyboardMoveDirection&&t>-1&&this.$nextTick(function(){if(e.$refs.popover){var t=e.$refs.popover.$el.querySelector(".q-select-highlight");if(t&&t.scrollIntoView){if(t.scrollIntoViewIfNeeded)return t.scrollIntoViewIfNeeded(!1);t.scrollIntoView(e.keyboardMoveDirection<0)}}})}},methods:{__keyboardShow:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.keyboardIndex!==t&&(this.keyboardIndex=t)},__keyboardSetCurrentSelection:function(t){this.keyboardIndex>=0&&this.keyboardIndex<=this.keyboardMaxIndex&&this.__keyboardSetSelection(this.keyboardIndex,t)},__keyboardHandleKey:function(t){var e=Object(i["a"])(t);switch(e){case 38:this.__keyboardMoveCursor(-1,t);break;case 40:this.__keyboardMoveCursor(1,t);break;case 13:if(this.$refs.popover.showing)return Object(i["g"])(t),void this.__keyboardSetCurrentSelection();break;case 9:this.hide();break}this.__keyboardCustomKeyHandle(e,t)},__keyboardMoveCursor:function(t,e){var n=this;if(Object(i["g"])(e),this.$refs.popover.showing){clearTimeout(this.keyboardMoveTimer);var s=this.keyboardIndex,o=this.__keyboardIsSelectableIndex||function(){return!0};do{s=Object(r["c"])(s+t,-1,this.keyboardMaxIndex)}while(s!==this.keyboardIndex&&!o(s));return this.keyboardMoveDirection=s>this.keyboardIndex?1:-1,this.keyboardMoveTimer=setTimeout(function(){n.keyboardMoveDirection=!1},500),void(this.keyboardIndex=s)}this.__keyboardShowTrigger()}}}},"42d2":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("ad3f"),r=n("fd89");class s extends i["a"]{constructor(){super(),s.constructor_.apply(this,arguments)}static constructor_(){if(this._m=null,0===arguments.length)i["a"].constructor_.call(this),this._m=0;else if(1===arguments.length){if(arguments[0]instanceof s){const t=arguments[0];i["a"].constructor_.call(this,t),this._m=t._m}else if(arguments[0]instanceof i["a"]){const t=arguments[0];i["a"].constructor_.call(this,t),this._m=this.getM()}}else if(4===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2],r=arguments[3];i["a"].constructor_.call(this,t,e,n),this._m=r}}getM(){return this._m}setOrdinate(t,e){switch(t){case i["a"].X:this.x=e;break;case i["a"].Y:this.y=e;break;case i["a"].Z:this.z=e;break;case i["a"].M:this._m=e;break;default:throw new r["a"]("Invalid ordinate index: "+t)}}setM(t){this._m=t}getOrdinate(t){switch(t){case i["a"].X:return this.x;case i["a"].Y:return this.y;case i["a"].Z:return this.getZ();case i["a"].M:return this.getM()}throw new r["a"]("Invalid ordinate index: "+t)}copy(){return new s(this)}toString(){return"("+this.x+", "+this.y+", "+this.getZ()+" m="+this.getM()+")"}setCoordinate(t){this.x=t.x,this.y=t.y,this.z=t.getZ(),this._m=t.getM()}}},4328:function(t,e,n){"use strict";var i=n("4127"),r=n("9e6a"),s=n("b313");t.exports={formats:s,parse:r,stringify:i}},4334:function(t,e,n){"use strict";n.d(e,"b",function(){return c}),n.d(e,"c",function(){return l}),n.d(e,"d",function(){return u}),n.d(e,"e",function(){return h}),n.d(e,"f",function(){return d}),n.d(e,"g",function(){return f});var i=n("e269"),r=n("ca42"),s=n("bf62"),o=n("7fc9"),a=function(t){function e(e){t.call(this),e.handleEvent&&(this.handleEvent=e.handleEvent),this.map_=null,this.setActive(!0)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getActive=function(){return this.get(s["a"].ACTIVE)},e.prototype.getMap=function(){return this.map_},e.prototype.handleEvent=function(t){return!0},e.prototype.setActive=function(t){this.set(s["a"].ACTIVE,t)},e.prototype.setMap=function(t){this.map_=t},e}(i["a"]);function c(t,e,n){var i=t.getCenter();if(i){var s=t.constrainCenter([i[0]+e[0],i[1]+e[1]]);n?t.animate({duration:n,easing:r["d"],center:s}):t.setCenter(s)}}function l(t,e,n,i){e=t.constrainRotation(e,0),u(t,e,n,i)}function u(t,e,n,i){if(void 0!==e){var s=t.getRotation(),o=t.getCenter();void 0!==s&&o&&i>0?t.animate({rotation:e,anchor:n,duration:i,easing:r["b"]}):t.rotate(e,n)}}function h(t,e,n,i,r){e=t.constrainResolution(e,0,r),f(t,e,n,i)}function d(t,e,n,i){var r=t.getResolution(),s=t.constrainResolution(r,e,0);if(void 0!==s){var a=t.getResolutions();s=Object(o["a"])(s,t.getMinResolution()||a[a.length-1],t.getMaxResolution()||a[0])}if(n&&void 0!==s&&s!==r){var c=t.getCenter(),l=t.calculateCenterZoom(s,n);l=t.constrainCenter(l),n=[(s*c[0]-r*l[0])/(s-r),(s*c[1]-r*l[1])/(s-r)]}f(t,s,n,i)}function f(t,e,n,i){if(e){var s=t.getResolution(),o=t.getCenter();if(void 0!==s&&o&&e!==s&&i)t.animate({resolution:e,anchor:n,duration:i,easing:r["b"]});else{if(n){var a=t.calculateCenterZoom(e,n);t.setCenter(a)}t.setResolution(e)}}}e["a"]=a},4362:function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout(function(){t.apply(null,e)},0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,i="/";e.cwd=function(){return i},e.chdir=function(e){t||(t=n("df7c")),i=t.resolve(e,i)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"43ed":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("ad3f"),r=n("fd89");class s extends i["a"]{constructor(){super(),s.constructor_.apply(this,arguments)}static constructor_(){if(this._m=null,0===arguments.length)i["a"].constructor_.call(this),this._m=0;else if(1===arguments.length){if(arguments[0]instanceof s){const t=arguments[0];i["a"].constructor_.call(this,t.x,t.y),this._m=t._m}else if(arguments[0]instanceof i["a"]){const t=arguments[0];i["a"].constructor_.call(this,t.x,t.y),this._m=this.getM()}}else if(3===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2];i["a"].constructor_.call(this,t,e,i["a"].NULL_ORDINATE),this._m=n}}getM(){return this._m}setOrdinate(t,e){switch(t){case s.X:this.x=e;break;case s.Y:this.y=e;break;case s.M:this._m=e;break;default:throw new r["a"]("Invalid ordinate index: "+t)}}setM(t){this._m=t}getZ(){return i["a"].NULL_ORDINATE}getOrdinate(t){switch(t){case s.X:return this.x;case s.Y:return this.y;case s.M:return this._m}throw new r["a"]("Invalid ordinate index: "+t)}setZ(t){throw new r["a"]("CoordinateXY dimension 2 does not support z-ordinate")}copy(){return new s(this)}toString(){return"("+this.x+", "+this.y+" m="+this.getM()+")"}setCoordinate(t){this.x=t.x,this.y=t.y,this.z=t.getZ(),this._m=t.getM()}}s.X=0,s.Y=1,s.Z=-1,s.M=2},"43fc":function(t,e,n){"use strict";var i=n("63b6"),r=n("656e"),s=n("4439");i(i.S,"Promise",{try:function(t){var e=r.f(this),n=s(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},"440c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration @@ -96,7 +96,7 @@ function e(t,e,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger //! moment.js locale configuration var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},n=t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var n=t%10,i=t%100-n,r=t>=100?100:null;return t+(e[n]||e[i]||e[r])},week:{dow:1,doy:7}});return n})},"486c":function(t,e,n){"use strict";(function(e){n("7725");var i,r=n("1816"),s=n("3fb5"),o=n("930c"),a=n("2582"),c=n("84fc"),l=n("621f"),u=n("c282"),h=n("0040"),d=n("d5e5"),f=n("26a0"),p=n("48cd"),_=n("9a83"),m=n("97a2"),g=n("a0e2"),y=n("e362"),v=n("47e43"),b=n("b9a8"),M=function(){};function w(t,e,n){if(!(this instanceof w))return new w(t,e,n);if(arguments.length<1)throw new TypeError("Failed to construct 'SockJS: 1 argument required, but only 0 present");m.call(this),this.readyState=w.CONNECTING,this.extensions="",this.protocol="",n=n||{},n.protocols_whitelist&&p.warn("'protocols_whitelist' is DEPRECATED. Use 'transports' instead."),this._transportsWhitelist=n.transports,this._transportOptions=n.transportOptions||{};var i=n.sessionId||8;if("function"===typeof i)this._generateSessionId=i;else{if("number"!==typeof i)throw new TypeError("If sessionId is used in the options, it needs to be a number or a function.");this._generateSessionId=function(){return a.string(i)}}this._server=n.server||a.numberString(1e3);var s=new r(t);if(!s.host||!s.protocol)throw new SyntaxError("The URL '"+t+"' is invalid");if(s.hash)throw new SyntaxError("The URL must not contain a fragment");if("http:"!==s.protocol&&"https:"!==s.protocol)throw new SyntaxError("The URL's scheme must be either 'http:' or 'https:'. '"+s.protocol+"' is not allowed.");var o="https:"===s.protocol;if("https:"===g.protocol&&!o)throw new Error("SecurityError: An insecure SockJS connection may not be initiated from a page loaded over HTTPS");e?Array.isArray(e)||(e=[e]):e=[];var c=e.sort();c.forEach(function(t,e){if(!t)throw new SyntaxError("The protocols entry '"+t+"' is invalid.");if(e=3e3&&t<=4999}s(w,m),w.prototype.close=function(t,e){if(t&&!x(t))throw new Error("InvalidAccessError: Invalid code");if(e&&e.length>123)throw new SyntaxError("reason argument has an invalid length");if(this.readyState!==w.CLOSING&&this.readyState!==w.CLOSED){var n=!0;this._close(t||1e3,e||"Normal closure",n)}},w.prototype.send=function(t){if("string"!==typeof t&&(t=""+t),this.readyState===w.CONNECTING)throw new Error("InvalidStateError: The connection has not been established yet");this.readyState===w.OPEN&&this._transport.send(c.quote(t))},w.version=n("1015"),w.CONNECTING=0,w.OPEN=1,w.CLOSING=2,w.CLOSED=3,w.prototype._receiveInfo=function(t,e){if(M("_receiveInfo",e),this._ir=null,t){this._rto=this.countRTO(e),this._transUrl=t.base_url?t.base_url:this.url,t=d.extend(t,this._urlInfo),M("info",t);var n=i.filterToEnabled(this._transportsWhitelist,t);this._transports=n.main,M(this._transports.length+" enabled transports"),this._connect()}else this._close(1002,"Cannot connect to server")},w.prototype._connect=function(){for(var t=this._transports.shift();t;t=this._transports.shift()){if(M("attempt",t.transportName),t.needBody&&(!e.document.body||"undefined"!==typeof e.document.readyState&&"complete"!==e.document.readyState&&"interactive"!==e.document.readyState))return M("waiting for body"),this._transports.unshift(t),void u.attachEvent("load",this._connect.bind(this));var n=this._rto*t.roundTrips||5e3;this._transportTimeoutId=setTimeout(this._transportTimeout.bind(this),n),M("using timeout",n);var i=l.addPath(this._transUrl,"/"+this._server+"/"+this._generateSessionId()),r=this._transportOptions[t.transportName];M("transport url",i);var s=new t(i,this._transUrl,r);return s.on("message",this._transportMessage.bind(this)),s.once("close",this._transportClose.bind(this)),s.transportName=t.transportName,void(this._transport=s)}this._close(2e3,"All transports failed",!1)},w.prototype._transportTimeout=function(){M("_transportTimeout"),this.readyState===w.CONNECTING&&(this._transport&&this._transport.close(),this._transportClose(2007,"Transport timed out"))},w.prototype._transportMessage=function(t){M("_transportMessage",t);var e,n=this,i=t.slice(0,1),r=t.slice(1);switch(i){case"o":return void this._open();case"h":return this.dispatchEvent(new _("heartbeat")),void M("heartbeat",this.transport)}if(r)try{e=o.parse(r)}catch(t){M("bad json",r)}if("undefined"!==typeof e)switch(i){case"a":Array.isArray(e)&&e.forEach(function(t){M("message",n.transport,t),n.dispatchEvent(new v(t))});break;case"m":M("message",this.transport,e),this.dispatchEvent(new v(e));break;case"c":Array.isArray(e)&&2===e.length&&this._close(e[0],e[1],!0);break}else M("empty payload",r)},w.prototype._transportClose=function(t,e){M("_transportClose",this.transport,t,e),this._transport&&(this._transport.removeAllListeners(),this._transport=null,this.transport=null),x(t)||2e3===t||this.readyState!==w.CONNECTING?this._close(t,e):this._connect()},w.prototype._open=function(){M("_open",this._transport.transportName,this.readyState),this.readyState===w.CONNECTING?(this._transportTimeoutId&&(clearTimeout(this._transportTimeoutId),this._transportTimeoutId=null),this.readyState=w.OPEN,this.transport=this._transport.transportName,this.dispatchEvent(new _("open")),M("connected",this.transport)):this._close(1006,"Server lost session")},w.prototype._close=function(t,e,n){M("_close",this.transport,t,e,n,this.readyState);var i=!1;if(this._ir&&(i=!0,this._ir.close(),this._ir=null),this._transport&&(this._transport.close(),this._transport=null,this.transport=null),this.readyState===w.CLOSED)throw new Error("InvalidStateError: SockJS has already been closed");this.readyState=w.CLOSING,setTimeout(function(){this.readyState=w.CLOSED,i&&this.dispatchEvent(new _("error"));var r=new y("close");r.wasClean=n||!1,r.code=t||1e3,r.reason=e,this.dispatchEvent(r),this.onmessage=this.onclose=this.onerror=null,M("disconnected")}.bind(this),0)},w.prototype.countRTO=function(t){return t>100?4*t:300+t},t.exports=function(t){return i=h(t),n("9fa7")(w,t),w}}).call(this,n("c8ba"))},"487d":function(t,e,n){},"48c0":function(t,e,n){"use strict";n("386b")("bold",function(t){return function(){return t(this,"b","","")}})},"48cd":function(t,e,n){"use strict";(function(e){var n={};["log","debug","warn"].forEach(function(t){var i;try{i=e.console&&e.console[t]&&e.console[t].apply}catch(t){}n[t]=i?function(){return e.console[t].apply(e.console,arguments)}:"log"===t?function(){}:n.log}),t.exports=n}).call(this,n("c8ba"))},4917:function(t,e,n){"use strict";var i=n("cb7c"),r=n("9def"),s=n("0390"),o=n("5f1b");n("214f")("match",1,function(t,e,n,a){return[function(n){var i=t(this),r=void 0==n?void 0:n[e];return void 0!==r?r.call(n,i):new RegExp(n)[e](String(i))},function(t){var e=a(n,t,this);if(e.done)return e.value;var c=i(t),l=String(this);if(!c.global)return o(c,l);var u=c.unicode;c.lastIndex=0;var h,d=[],f=0;while(null!==(h=o(c,l))){var p=String(h[0]);d[f]=p,""===p&&(c.lastIndex=s(l,r(c.lastIndex),u)),f++}return 0===f?null:d}]})},"496f":function(t,e,n){"use strict";e["a"]={ANIMATING:0,INTERACTING:1}},"49ab":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;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(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},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 年"}});return e})},"4a59":function(t,e,n){var i=n("9b43"),r=n("1fa8"),s=n("33a4"),o=n("cb7c"),a=n("9def"),c=n("27ee"),l={},u={};e=t.exports=function(t,e,n,h,d){var f,p,_,m,g=d?function(){return t}:c(t),y=i(n,h,e?2:1),v=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(s(g)){for(f=a(t.length);f>v;v++)if(m=e?y(o(p=t[v])[0],p[1]):y(t[v]),m===l||m===u)return m}else for(_=g.call(t);!(p=_.next()).done;)if(m=r(_,y,p.value,e),m===l||m===u)return m};e.BREAK=l,e.RETURN=u},"4a7b":function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{constructor(t){this.str=t}append(t){this.str+=t}setCharAt(t,e){this.str=this.str.substr(0,t)+e+this.str.substr(t+1)}toString(){return this.str}}},"4a7d":function(t,e,n){"use strict";var i=n("1300"),r=n("0354"),s=n.n(r),o=n("0af5"),a=n("38f3"),c=function(t){this.rbush_=s()(t,void 0),this.items_={}};c.prototype.insert=function(t,e){var n={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};this.rbush_.insert(n),this.items_[Object(i["c"])(e)]=n},c.prototype.load=function(t,e){for(var n=new Array(e.length),r=0,s=e.length;r>>0,i=arguments[1],r=0;r=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;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(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},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 年"}});return e})},"4a59":function(t,e,n){var i=n("9b43"),r=n("1fa8"),s=n("33a4"),o=n("cb7c"),a=n("9def"),c=n("27ee"),l={},u={};e=t.exports=function(t,e,n,h,d){var f,p,_,m,g=d?function(){return t}:c(t),y=i(n,h,e?2:1),v=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(s(g)){for(f=a(t.length);f>v;v++)if(m=e?y(o(p=t[v])[0],p[1]):y(t[v]),m===l||m===u)return m}else for(_=g.call(t);!(p=_.next()).done;)if(m=r(_,y,p.value,e),m===l||m===u)return m};e.BREAK=l,e.RETURN=u},"4a7b":function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{constructor(t){this.str=t}append(t){this.str+=t}setCharAt(t,e){this.str=this.str.substr(0,t)+e+this.str.substr(t+1)}toString(){return this.str}}},"4a7d":function(t,e,n){"use strict";var i=n("1300"),r=n("0354"),s=n.n(r),o=n("0af5"),a=n("38f3"),c=function(t){this.rbush_=s()(t,void 0),this.items_={}};c.prototype.insert=function(t,e){var n={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};this.rbush_.insert(n),this.items_[Object(i["c"])(e)]=n},c.prototype.load=function(t,e){for(var n=new Array(e.length),r=0,s=e.length;r>>0,i=arguments[1],r=0;r0}function s(t,e,n,i,s){for(var o=void 0!==s&&s,a=0,c=n.length;a1&&(e=1);var n=s+(r-s)*m(e);if(o(n,e),1===e)return delete d[f],void(l&&l(n));y.last={pos:n,progress:e},y.timer=requestAnimationFrame(t)},y=d[f]={cancel:u,timer:requestAnimationFrame(g)};return f}function p(t){if(t){var e=d[t];e&&e.timer&&(cancelAnimationFrame(e.timer),e.cancel&&e.cancel(e.last),delete d[t])}}var _=n("b18c"),m=n("be90"),g={data:function(){return{inFullscreen:!1}},watch:{$route:function(){this.exitFullscreen()},inFullscreen:function(t){this.$emit("fullscreen",t)}},methods:{toggleFullscreen:function(){this.inFullscreen?this.exitFullscreen():this.setFullscreen()},setFullscreen:function(){this.inFullscreen||(this.inFullscreen=!0,this.container=this.$el.parentNode,this.container.replaceChild(this.fullscreenFillerNode,this.$el),document.body.appendChild(this.$el),document.body.classList.add("q-body-fullscreen-mixin"),this.__historyFullscreen={handler:this.exitFullscreen},m["a"].add(this.__historyFullscreen))},exitFullscreen:function(){this.inFullscreen&&(this.__historyFullscreen&&(m["a"].remove(this.__historyFullscreen),this.__historyFullscreen=null),this.container.replaceChild(this.$el,this.fullscreenFillerNode),document.body.classList.remove("q-body-fullscreen-mixin"),this.inFullscreen=!1)}},beforeMount:function(){this.fullscreenFillerNode=document.createElement("span")},beforeDestroy:function(){this.exitFullscreen()}};e["a"]={name:"QCarousel",mixins:[g],directives:{TouchPan:r["a"]},props:{value:Number,color:{type:String,default:"primary"},height:String,arrows:Boolean,infinite:Boolean,animation:{type:[Number,Boolean],default:!0},easing:Function,swipeEasing:Function,noSwipe:Boolean,autoplay:[Number,Boolean],handleArrowKeys:Boolean,quickNav:Boolean,quickNavPosition:{type:String,default:"bottom",validator:function(t){return["top","bottom"].includes(t)}},quickNavIcon:String,thumbnails:{type:Array,default:function(){return[]}},thumbnailsIcon:String,thumbnailsHorizontal:Boolean},provide:function(){return{carousel:this}},data:function(){return{position:0,slide:0,positionSlide:0,slidesNumber:0,animUid:!1,viewThumbnails:!1}},watch:{value:function(t){t!==this.slide&&this.goToSlide(t)},autoplay:function(){this.__planAutoPlay()},infinite:function(){this.__planAutoPlay()},handleArrowKeys:function(t){this.__setArrowKeys(t)}},computed:{rtlDir:function(){return this.$q.i18n.rtl?-1:1},arrowIcon:function(){var t=[this.$q.icon.carousel.left,this.$q.icon.carousel.right];return this.$q.i18n.rtl?t.reverse():t},trackPosition:function(){return{transform:"translateX(".concat(this.rtlDir*this.position,"%)")}},infiniteLeft:function(){return this.infinite&&this.slidesNumber>1&&this.positionSlide<0},infiniteRight:function(){return this.infinite&&this.slidesNumber>1&&this.positionSlide>=this.slidesNumber},canGoToPrevious:function(){return this.infinite?this.slidesNumber>1:this.slide>0},canGoToNext:function(){return this.infinite?this.slidesNumber>1:this.slide1&&void 0!==arguments[1]&&arguments[1];return new Promise(function(i){var r,a="",c=e.slide;e.__cleanup();var l=function(){e.$emit("input",e.slide),e.$emit("slide",e.slide,a),e.$emit("slide-direction",a),e.__planAutoPlay(),i()};if(e.slidesNumber<2?(e.slide=0,e.positionSlide=0,r=0):(e.hasOwnProperty("initialPosition")||(e.position=100*-e.slide),a=t>e.slide?"next":"previous",e.infinite?(e.slide=Object(o["c"])(t,0,e.slidesNumber-1),r=Object(o["c"])(t,-1,e.slidesNumber),n||(e.positionSlide=r)):(e.slide=Object(o["a"])(t,0,e.slidesNumber-1),e.positionSlide=e.slide,r=e.slide)),e.$emit("slide-trigger",c,e.slide,a),r*=-100,!e.animation)return e.position=r,void l();e.animationInProgress=!0,e.animUid=f({from:e.position,to:r,duration:Object(s["b"])(e.animation)?e.animation:300,easing:n?e.swipeEasing||h:e.easing||u,apply:function(t){e.position=t},done:function(){e.infinite&&(e.position=100*-e.slide,e.positionSlide=e.slide),e.animationInProgress=!1,l()}})})},stopAnimation:function(){p(this.animUid),this.animationInProgress=!1},__pan:function(t){var e=this;if(!this.infinite||!this.animationInProgress){t.isFirst&&(this.initialPosition=this.position,this.__cleanup());var n=this.rtlDir*("left"===t.direction?-1:1)*t.distance.x;(this.infinite&&this.slidesNumber<2||!this.infinite&&(0===this.slide&&n>0||this.slide===this.slidesNumber-1&&n<0))&&(n=0);var i=this.initialPosition+n/this.$refs.track.offsetWidth*100,r=this.slide+this.rtlDir*("left"===t.direction?1:-1);this.position!==i&&(this.position=i),this.positionSlide!==r&&(this.positionSlide=r),t.isFinal&&this.goToSlide(t.distance.x<40?this.slide:this.positionSlide,!0).then(function(){delete e.initialPosition})}},__planAutoPlay:function(){var t=this;this.$nextTick(function(){t.autoplay&&(clearTimeout(t.timer),t.timer=setTimeout(t.next,Object(s["b"])(t.autoplay)?t.autoplay:5e3))})},__cleanup:function(){this.stopAnimation(),clearTimeout(this.timer)},__handleArrowKey:function(t){var e=Object(_["a"])(t);37===e?this.previous():39===e&&this.next()},__setArrowKeys:function(t){var e="".concat(!0===t?"add":"remove","EventListener");document[e]("keydown",this.__handleArrowKey)},__registerSlide:function(){this.slidesNumber++},__unregisterSlide:function(){this.slidesNumber--},__getScopedSlots:function(t){var e=this;if(0!==this.slidesNumber){var n=this.$scopedSlots;return n?Object.keys(n).filter(function(t){return t.startsWith("control-")}).map(function(t){return n[t](e.slotScope)}):void 0}},__getQuickNav:function(t){var e=this;if(0!==this.slidesNumber&&this.quickNav){var n=this.$scopedSlots["quick-nav"],r=[];if(n)for(var s=function(t){r.push(n({slide:t,before:te.slide,color:e.color,goToSlide:function(n){e.goToSlide(n||t)}}))},o=0;o=e&&t.$emit("input",e-1)},{immediate:!0})},beforeDestroy:function(){this.__cleanup(),this.__stopSlideNumberNotifier(),this.handleArrowKeys&&this.__setArrowKeys(!1)}}},"4ee1":function(t,e,n){var i=n("5168")("iterator"),r=!1;try{var s=[7][i]();s["return"]=function(){r=!0},Array.from(s,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var s=[7],o=s[i]();o.next=function(){return{done:n=!0}},s[i]=function(){return o},t(s)}catch(t){}return n}},5038:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration @@ -106,7 +106,7 @@ var e=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil"," //! moment.js locale configuration var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],i=t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}});return i})},"52a7":function(t,e){e.f={}.propertyIsEnumerable},"52b5":function(t,e,n){"use strict";n("a481"),n("f559"),n("7f7f");var i="md";e["a"]={name:"QIcon",props:{name:String,color:String,size:String},computed:{classes:function(){var t,e=this.name;return e?(t=/^fa[s|r|l|b]{0,1} /.test(e)||e.startsWith("icon-")?e:e.startsWith("bt-")?"bt ".concat(e):e.startsWith("eva-")?"eva ".concat(e):/^ion-(md|ios|logo)/.test(e)?"ionicons ".concat(e):e.startsWith("ion-")?"ionicons ion-".concat(i).concat(e.substr(3)):e.startsWith("mdi-")?"mdi ".concat(e):"material-icons",this.color?"".concat(t," text-").concat(this.color):t):""},content:function(){return this.classes.startsWith("material-icons")?this.name.replace(/ /g,"_"):" "},style:function(){if(this.size)return{fontSize:this.size}}},render:function(t){return t("i",{staticClass:"q-icon",class:this.classes,style:this.style,attrs:{"aria-hidden":!0}},[this.content,this.$slots.default])}}},"52bd":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return e})},5363:function(t,e,n){},"53e2":function(t,e,n){var i=n("07e3"),r=n("241e"),s=n("5559")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"53fc":function(t,e,n){"use strict";var i=n("482e"),r=n("2720");e["a"]={name:"QFabAction",mixins:[r["a"]],props:{icon:{type:String,required:!0}},inject:{__qFabClose:{default:function(){console.error("QFabAction needs to be child of QFab")}}},methods:{click:function(t){var e=this;this.__qFabClose().then(function(){e.$emit("click",t)})}},render:function(t){return t(i["a"],{props:{fabMini:!0,outline:this.outline,push:this.push,flat:this.flat,color:this.color,textColor:this.textColor,glossy:this.glossy,icon:this.icon},on:{click:this.click}},this.$slots.default)}}},5402:function(t,e,n){"use strict";var i=n("00ce"),r=n("545e"),s=n("2714"),o=i("%TypeError%"),a=i("%WeakMap%",!0),c=i("%Map%",!0),l=r("WeakMap.prototype.get",!0),u=r("WeakMap.prototype.set",!0),h=r("WeakMap.prototype.has",!0),d=r("Map.prototype.get",!0),f=r("Map.prototype.set",!0),p=r("Map.prototype.has",!0),_=function(t,e){for(var n,i=t;null!==(n=i.next);i=n)if(n.key===e)return i.next=n.next,n.next=t.next,t.next=n,n},m=function(t,e){var n=_(t,e);return n&&n.value},g=function(t,e,n){var i=_(t,e);i?i.value=n:t.next={key:e,next:t.next,value:n}},y=function(t,e){return!!_(t,e)};t.exports=function(){var t,e,n,i={assert:function(t){if(!i.has(t))throw new o("Side channel does not contain "+s(t))},get:function(i){if(a&&i&&("object"===typeof i||"function"===typeof i)){if(t)return l(t,i)}else if(c){if(e)return d(e,i)}else if(n)return m(n,i)},has:function(i){if(a&&i&&("object"===typeof i||"function"===typeof i)){if(t)return h(t,i)}else if(c){if(e)return p(e,i)}else if(n)return y(n,i);return!1},set:function(i,r){a&&i&&("object"===typeof i||"function"===typeof i)?(t||(t=new a),u(t,i,r)):c?(e||(e=new c),f(e,i,r)):(n||(n={key:{},next:null}),g(n,i,r))}};return i}},"545e":function(t,e,n){"use strict";var i=n("00ce"),r=n("3eb1"),s=r(i("String.prototype.indexOf"));t.exports=function(t,e){var n=i(t,!!e);return"function"===typeof n&&s(t,".prototype.")>-1?r(n):n}},"549b":function(t,e,n){"use strict";var i=n("d864"),r=n("63b6"),s=n("241e"),o=n("b0dc"),a=n("3702"),c=n("b447"),l=n("20fd"),u=n("7cd6");r(r.S+r.F*!n("4ee1")(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,r,h,d=s(t),f="function"==typeof this?this:Array,p=arguments.length,_=p>1?arguments[1]:void 0,m=void 0!==_,g=0,y=u(d);if(m&&(_=i(_,p>2?arguments[2]:void 0,2)),void 0==y||f==Array&&a(y))for(e=c(d.length),n=new f(e);e>g;g++)l(n,g,m?_(d[g],g):d[g]);else for(h=y.call(d),n=new f;!(r=h.next()).done;g++)l(n,g,m?o(h,_,[r.value,g],!0):r.value);return n.length=g,n}})},"54a1":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("95d5")},"54d6":function(t,e,n){"use strict";(function(e){var i=n("3fb5"),r=n("f1f8"),s=n("621f"),o=n("ada0").EventEmitter,a=n("2582"),c=function(){};function l(t){c(t),o.call(this);var n=this;r.polluteGlobalNamespace(),this.id="a"+a.string(6),t=s.addQuery(t,"c="+decodeURIComponent(r.WPrefix+"."+this.id)),c("using htmlfile",l.htmlfileEnabled);var i=l.htmlfileEnabled?r.createHtmlfile:r.createIframe;e[r.WPrefix][this.id]={start:function(){c("start"),n.iframeObj.loaded()},message:function(t){c("message",t),n.emit("message",t)},stop:function(){c("stop"),n._cleanup(),n._close("network")}},this.iframeObj=i(t,function(){c("callback"),n._cleanup(),n._close("permanent")})}i(l,o),l.prototype.abort=function(){c("abort"),this._cleanup(),this._close("user")},l.prototype._cleanup=function(){c("_cleanup"),this.iframeObj&&(this.iframeObj.cleanup(),this.iframeObj=null),delete e[r.WPrefix][this.id]},l.prototype._close=function(t){c("_close",t),this.emit("close",null,t),this.removeAllListeners()},l.htmlfileEnabled=!1;var u=["Active"].concat("Object").join("X");if(u in e)try{l.htmlfileEnabled=!!new e[u]("htmlfile")}catch(t){}l.enabled=l.htmlfileEnabled||r.iframeEnabled,t.exports=l}).call(this,n("c8ba"))},"551c":function(t,e,n){"use strict";var i,r,s,o,a=n("2d00"),c=n("7726"),l=n("9b43"),u=n("23c6"),h=n("5ca1"),d=n("d3f4"),f=n("d8e8"),p=n("f605"),_=n("4a59"),m=n("ebd6"),g=n("1991").set,y=n("8079")(),v=n("a5b8"),b=n("9c80"),M=n("a25f"),w=n("bcaa"),x="Promise",L=c.TypeError,E=c.process,T=E&&E.versions,S=T&&T.v8||"",O=c[x],k="process"==u(E),C=function(){},I=r=v.f,D=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[n("2b4c")("species")]=function(t){t(C,C)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(C)instanceof e&&0!==S.indexOf("6.6")&&-1===M.indexOf("Chrome/66")}catch(t){}}(),Y=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){var i=t._v,r=1==t._s,s=0,o=function(e){var n,s,o,a=r?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{a?(r||(2==t._h&&P(t),t._h=1),!0===a?n=i:(u&&u.enter(),n=a(i),u&&(u.exit(),o=!0)),n===e.promise?l(L("Promise-chain cycle")):(s=Y(n))?s.call(n,c,l):c(n)):l(i)}catch(t){u&&!o&&u.exit(),l(t)}};while(n.length>s)o(n[s++]);t._c=[],t._n=!1,e&&!t._h&&A(t)})}},A=function(t){g.call(c,function(){var e,n,i,r=t._v,s=N(t);if(s&&(e=b(function(){k?E.emit("unhandledRejection",r,t):(n=c.onunhandledrejection)?n({promise:t,reason:r}):(i=c.console)&&i.error&&i.error("Unhandled promise rejection",r)}),t._h=k||N(t)?2:1),t._a=void 0,s&&e.e)throw e.v})},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},P=function(t){g.call(c,function(){var e;k?E.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},j=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),R(e,!0))},F=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw L("Promise can't be resolved itself");(e=Y(t))?y(function(){var i={_w:n,_d:!1};try{e.call(t,l(F,i,1),l(j,i,1))}catch(t){j.call(i,t)}}):(n._v=t,n._s=1,R(n,!1))}catch(t){j.call({_w:n,_d:!1},t)}}};D||(O=function(t){p(this,O,x,"_h"),f(t),i.call(this);try{t(l(F,this,1),l(j,this,1))}catch(t){j.call(this,t)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n("dcbc")(O.prototype,{then:function(t,e){var n=I(m(this,O));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=k?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),s=function(){var t=new i;this.promise=t,this.resolve=l(F,t,1),this.reject=l(j,t,1)},v.f=I=function(t){return t===O||t===o?new s(t):r(t)}),h(h.G+h.W+h.F*!D,{Promise:O}),n("7f20")(O,x),n("7a56")(x),o=n("8378")[x],h(h.S+h.F*!D,x,{reject:function(t){var e=I(this),n=e.reject;return n(t),e.promise}}),h(h.S+h.F*(a||!D),x,{resolve:function(t){return w(a&&this===o?O:this,t)}}),h(h.S+h.F*!(D&&n("5cc5")(function(t){O.all(t)["catch"](C)})),x,{all:function(t){var e=this,n=I(e),i=n.resolve,r=n.reject,s=b(function(){var n=[],s=0,o=1;_(t,!1,function(t){var a=s++,c=!1;n.push(void 0),o++,e.resolve(t).then(function(t){c||(c=!0,n[a]=t,--o||i(n))},r)}),--o||i(n)});return s.e&&r(s.v),n.promise},race:function(t){var e=this,n=I(e),i=n.reject,r=b(function(){_(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},5537:function(t,e,n){var i=n("8378"),r=n("7726"),s="__core-js_shared__",o=r[s]||(r[s]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var i=n("dbdb")("keys"),r=n("62a0");t.exports=function(t){return i[t]||(i[t]=r(t))}},5564:function(t,e,n){"use strict";var i=n("1300"),r=n("e269"),s=n("df4c"),o=n("7fc9"),a=n("38f3"),c=function(t){function e(e){t.call(this);var n=Object(a["a"])({},e);n[s["a"].OPACITY]=void 0!==e.opacity?e.opacity:1,n[s["a"].VISIBLE]=void 0===e.visible||e.visible,n[s["a"].Z_INDEX]=e.zIndex,n[s["a"].MAX_RESOLUTION]=void 0!==e.maxResolution?e.maxResolution:1/0,n[s["a"].MIN_RESOLUTION]=void 0!==e.minResolution?e.minResolution:0,this.setProperties(n),this.state_=null,this.type}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getType=function(){return this.type},e.prototype.getLayerState=function(){var t=this.state_||{layer:this,managed:!0};return t.opacity=Object(o["a"])(this.getOpacity(),0,1),t.sourceState=this.getSourceState(),t.visible=this.getVisible(),t.extent=this.getExtent(),t.zIndex=this.getZIndex()||0,t.maxResolution=this.getMaxResolution(),t.minResolution=Math.max(this.getMinResolution(),0),this.state_=t,t},e.prototype.getLayersArray=function(t){return Object(i["b"])()},e.prototype.getLayerStatesArray=function(t){return Object(i["b"])()},e.prototype.getExtent=function(){return this.get(s["a"].EXTENT)},e.prototype.getMaxResolution=function(){return this.get(s["a"].MAX_RESOLUTION)},e.prototype.getMinResolution=function(){return this.get(s["a"].MIN_RESOLUTION)},e.prototype.getOpacity=function(){return this.get(s["a"].OPACITY)},e.prototype.getSourceState=function(){return Object(i["b"])()},e.prototype.getVisible=function(){return this.get(s["a"].VISIBLE)},e.prototype.getZIndex=function(){return this.get(s["a"].Z_INDEX)},e.prototype.setExtent=function(t){this.set(s["a"].EXTENT,t)},e.prototype.setMaxResolution=function(t){this.set(s["a"].MAX_RESOLUTION,t)},e.prototype.setMinResolution=function(t){this.set(s["a"].MIN_RESOLUTION,t)},e.prototype.setOpacity=function(t){this.set(s["a"].OPACITY,t)},e.prototype.setVisible=function(t){this.set(s["a"].VISIBLE,t)},e.prototype.setZIndex=function(t){this.set(s["a"].Z_INDEX,t)},e}(r["a"]);e["a"]=c},"559e":function(t,e,n){"use strict";var i=n("a60d");e["a"]={data:function(){return{canRender:!i["d"]}},mounted:function(){!1===this.canRender&&(this.canRender=!0)}}},"55c9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +var e=t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return e})},5363:function(t,e,n){},"53e2":function(t,e,n){var i=n("07e3"),r=n("241e"),s=n("5559")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"53fc":function(t,e,n){"use strict";var i=n("482e"),r=n("2720");e["a"]={name:"QFabAction",mixins:[r["a"]],props:{icon:{type:String,required:!0}},inject:{__qFabClose:{default:function(){console.error("QFabAction needs to be child of QFab")}}},methods:{click:function(t){var e=this;this.__qFabClose().then(function(){e.$emit("click",t)})}},render:function(t){return t(i["a"],{props:{fabMini:!0,outline:this.outline,push:this.push,flat:this.flat,color:this.color,textColor:this.textColor,glossy:this.glossy,icon:this.icon},on:{click:this.click}},this.$slots.default)}}},5402:function(t,e,n){"use strict";var i=n("00ce"),r=n("545e"),s=n("2714"),o=i("%TypeError%"),a=i("%WeakMap%",!0),c=i("%Map%",!0),l=r("WeakMap.prototype.get",!0),u=r("WeakMap.prototype.set",!0),h=r("WeakMap.prototype.has",!0),d=r("Map.prototype.get",!0),f=r("Map.prototype.set",!0),p=r("Map.prototype.has",!0),_=function(t,e){for(var n,i=t;null!==(n=i.next);i=n)if(n.key===e)return i.next=n.next,n.next=t.next,t.next=n,n},m=function(t,e){var n=_(t,e);return n&&n.value},g=function(t,e,n){var i=_(t,e);i?i.value=n:t.next={key:e,next:t.next,value:n}},y=function(t,e){return!!_(t,e)};t.exports=function(){var t,e,n,i={assert:function(t){if(!i.has(t))throw new o("Side channel does not contain "+s(t))},get:function(i){if(a&&i&&("object"===typeof i||"function"===typeof i)){if(t)return l(t,i)}else if(c){if(e)return d(e,i)}else if(n)return m(n,i)},has:function(i){if(a&&i&&("object"===typeof i||"function"===typeof i)){if(t)return h(t,i)}else if(c){if(e)return p(e,i)}else if(n)return y(n,i);return!1},set:function(i,r){a&&i&&("object"===typeof i||"function"===typeof i)?(t||(t=new a),u(t,i,r)):c?(e||(e=new c),f(e,i,r)):(n||(n={key:{},next:null}),g(n,i,r))}};return i}},"545e":function(t,e,n){"use strict";var i=n("00ce"),r=n("3eb1"),s=r(i("String.prototype.indexOf"));t.exports=function(t,e){var n=i(t,!!e);return"function"===typeof n&&s(t,".prototype.")>-1?r(n):n}},"549b":function(t,e,n){"use strict";var i=n("d864"),r=n("63b6"),s=n("241e"),o=n("b0dc"),a=n("3702"),c=n("b447"),l=n("20fd"),u=n("7cd6");r(r.S+r.F*!n("4ee1")(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,r,h,d=s(t),f="function"==typeof this?this:Array,p=arguments.length,_=p>1?arguments[1]:void 0,m=void 0!==_,g=0,y=u(d);if(m&&(_=i(_,p>2?arguments[2]:void 0,2)),void 0==y||f==Array&&a(y))for(e=c(d.length),n=new f(e);e>g;g++)l(n,g,m?_(d[g],g):d[g]);else for(h=y.call(d),n=new f;!(r=h.next()).done;g++)l(n,g,m?o(h,_,[r.value,g],!0):r.value);return n.length=g,n}})},"54a1":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("95d5")},"54d6":function(t,e,n){"use strict";(function(e){var i=n("3fb5"),r=n("f1f8"),s=n("621f"),o=n("ada0").EventEmitter,a=n("2582"),c=function(){};function l(t){c(t),o.call(this);var n=this;r.polluteGlobalNamespace(),this.id="a"+a.string(6),t=s.addQuery(t,"c="+decodeURIComponent(r.WPrefix+"."+this.id)),c("using htmlfile",l.htmlfileEnabled);var i=l.htmlfileEnabled?r.createHtmlfile:r.createIframe;e[r.WPrefix][this.id]={start:function(){c("start"),n.iframeObj.loaded()},message:function(t){c("message",t),n.emit("message",t)},stop:function(){c("stop"),n._cleanup(),n._close("network")}},this.iframeObj=i(t,function(){c("callback"),n._cleanup(),n._close("permanent")})}i(l,o),l.prototype.abort=function(){c("abort"),this._cleanup(),this._close("user")},l.prototype._cleanup=function(){c("_cleanup"),this.iframeObj&&(this.iframeObj.cleanup(),this.iframeObj=null),delete e[r.WPrefix][this.id]},l.prototype._close=function(t){c("_close",t),this.emit("close",null,t),this.removeAllListeners()},l.htmlfileEnabled=!1;var u=["Active"].concat("Object").join("X");if(u in e)try{l.htmlfileEnabled=!!new e[u]("htmlfile")}catch(t){}l.enabled=l.htmlfileEnabled||r.iframeEnabled,t.exports=l}).call(this,n("c8ba"))},"551c":function(t,e,n){"use strict";var i,r,s,o,a=n("2d00"),c=n("7726"),l=n("9b43"),u=n("23c6"),h=n("5ca1"),d=n("d3f4"),f=n("d8e8"),p=n("f605"),_=n("4a59"),m=n("ebd6"),g=n("1991").set,y=n("8079")(),v=n("a5b8"),b=n("9c80"),M=n("a25f"),w=n("bcaa"),x="Promise",L=c.TypeError,E=c.process,T=E&&E.versions,S=T&&T.v8||"",O=c[x],k="process"==u(E),C=function(){},I=r=v.f,D=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[n("2b4c")("species")]=function(t){t(C,C)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(C)instanceof e&&0!==S.indexOf("6.6")&&-1===M.indexOf("Chrome/66")}catch(t){}}(),Y=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){var i=t._v,r=1==t._s,s=0,o=function(e){var n,s,o,a=r?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{a?(r||(2==t._h&&P(t),t._h=1),!0===a?n=i:(u&&u.enter(),n=a(i),u&&(u.exit(),o=!0)),n===e.promise?l(L("Promise-chain cycle")):(s=Y(n))?s.call(n,c,l):c(n)):l(i)}catch(t){u&&!o&&u.exit(),l(t)}};while(n.length>s)o(n[s++]);t._c=[],t._n=!1,e&&!t._h&&N(t)})}},N=function(t){g.call(c,function(){var e,n,i,r=t._v,s=A(t);if(s&&(e=b(function(){k?E.emit("unhandledRejection",r,t):(n=c.onunhandledrejection)?n({promise:t,reason:r}):(i=c.console)&&i.error&&i.error("Unhandled promise rejection",r)}),t._h=k||A(t)?2:1),t._a=void 0,s&&e.e)throw e.v})},A=function(t){return 1!==t._h&&0===(t._a||t._c).length},P=function(t){g.call(c,function(){var e;k?E.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},j=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),R(e,!0))},F=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw L("Promise can't be resolved itself");(e=Y(t))?y(function(){var i={_w:n,_d:!1};try{e.call(t,l(F,i,1),l(j,i,1))}catch(t){j.call(i,t)}}):(n._v=t,n._s=1,R(n,!1))}catch(t){j.call({_w:n,_d:!1},t)}}};D||(O=function(t){p(this,O,x,"_h"),f(t),i.call(this);try{t(l(F,this,1),l(j,this,1))}catch(t){j.call(this,t)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n("dcbc")(O.prototype,{then:function(t,e){var n=I(m(this,O));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=k?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),s=function(){var t=new i;this.promise=t,this.resolve=l(F,t,1),this.reject=l(j,t,1)},v.f=I=function(t){return t===O||t===o?new s(t):r(t)}),h(h.G+h.W+h.F*!D,{Promise:O}),n("7f20")(O,x),n("7a56")(x),o=n("8378")[x],h(h.S+h.F*!D,x,{reject:function(t){var e=I(this),n=e.reject;return n(t),e.promise}}),h(h.S+h.F*(a||!D),x,{resolve:function(t){return w(a&&this===o?O:this,t)}}),h(h.S+h.F*!(D&&n("5cc5")(function(t){O.all(t)["catch"](C)})),x,{all:function(t){var e=this,n=I(e),i=n.resolve,r=n.reject,s=b(function(){var n=[],s=0,o=1;_(t,!1,function(t){var a=s++,c=!1;n.push(void 0),o++,e.resolve(t).then(function(t){c||(c=!0,n[a]=t,--o||i(n))},r)}),--o||i(n)});return s.e&&r(s.v),n.promise},race:function(t){var e=this,n=I(e),i=n.reject,r=b(function(){_(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},5537:function(t,e,n){var i=n("8378"),r=n("7726"),s="__core-js_shared__",o=r[s]||(r[s]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var i=n("dbdb")("keys"),r=n("62a0");t.exports=function(t){return i[t]||(i[t]=r(t))}},5564:function(t,e,n){"use strict";var i=n("1300"),r=n("e269"),s=n("df4c"),o=n("7fc9"),a=n("38f3"),c=function(t){function e(e){t.call(this);var n=Object(a["a"])({},e);n[s["a"].OPACITY]=void 0!==e.opacity?e.opacity:1,n[s["a"].VISIBLE]=void 0===e.visible||e.visible,n[s["a"].Z_INDEX]=e.zIndex,n[s["a"].MAX_RESOLUTION]=void 0!==e.maxResolution?e.maxResolution:1/0,n[s["a"].MIN_RESOLUTION]=void 0!==e.minResolution?e.minResolution:0,this.setProperties(n),this.state_=null,this.type}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getType=function(){return this.type},e.prototype.getLayerState=function(){var t=this.state_||{layer:this,managed:!0};return t.opacity=Object(o["a"])(this.getOpacity(),0,1),t.sourceState=this.getSourceState(),t.visible=this.getVisible(),t.extent=this.getExtent(),t.zIndex=this.getZIndex()||0,t.maxResolution=this.getMaxResolution(),t.minResolution=Math.max(this.getMinResolution(),0),this.state_=t,t},e.prototype.getLayersArray=function(t){return Object(i["b"])()},e.prototype.getLayerStatesArray=function(t){return Object(i["b"])()},e.prototype.getExtent=function(){return this.get(s["a"].EXTENT)},e.prototype.getMaxResolution=function(){return this.get(s["a"].MAX_RESOLUTION)},e.prototype.getMinResolution=function(){return this.get(s["a"].MIN_RESOLUTION)},e.prototype.getOpacity=function(){return this.get(s["a"].OPACITY)},e.prototype.getSourceState=function(){return Object(i["b"])()},e.prototype.getVisible=function(){return this.get(s["a"].VISIBLE)},e.prototype.getZIndex=function(){return this.get(s["a"].Z_INDEX)},e.prototype.setExtent=function(t){this.set(s["a"].EXTENT,t)},e.prototype.setMaxResolution=function(t){this.set(s["a"].MAX_RESOLUTION,t)},e.prototype.setMinResolution=function(t){this.set(s["a"].MIN_RESOLUTION,t)},e.prototype.setOpacity=function(t){this.set(s["a"].OPACITY,t)},e.prototype.setVisible=function(t){this.set(s["a"].VISIBLE,t)},e.prototype.setZIndex=function(t){this.set(s["a"].Z_INDEX,t)},e}(r["a"]);e["a"]=c},"559e":function(t,e,n){"use strict";var i=n("a60d");e["a"]={data:function(){return{canRender:!i["d"]}},mounted:function(){!1===this.canRender&&(this.canRender=!0)}}},"55c9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,s=t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}});return s})},"55dd":function(t,e,n){"use strict";var i=n("5ca1"),r=n("d8e8"),s=n("4bf8"),o=n("79e5"),a=[].sort,c=[1,2,3];i(i.P+i.F*(o(function(){c.sort(void 0)})||!o(function(){c.sort(null)})||!n("2f21")(a)),"Array",{sort:function(t){return void 0===t?a.call(s(this)):a.call(s(this),r(t))}})},"55f7":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("3f99");class r extends i["a"]{constructor(t){super(t),this.name=Object.keys({RuntimeException:r})[0]}}},5706:function(t,e,n){},"576c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration @@ -120,13 +120,13 @@ var e="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".s //! moment.js locale configuration var e=t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(t){return t.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(t){return this.week()!==t.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return e})},"5c95":function(t,e,n){var i=n("35e8");t.exports=function(t,e,n){for(var r in e)n&&t[r]?t[r]=e[r]:i(t,r,e[r]);return t}},"5ca1":function(t,e,n){var i=n("7726"),r=n("8378"),s=n("32e9"),o=n("2aba"),a=n("9b43"),c="prototype",l=function(t,e,n){var u,h,d,f,p=t&l.F,_=t&l.G,m=t&l.S,g=t&l.P,y=t&l.B,v=_?i:m?i[e]||(i[e]={}):(i[e]||{})[c],b=_?r:r[e]||(r[e]={}),M=b[c]||(b[c]={});for(u in _&&(n=e),n)h=!p&&v&&void 0!==v[u],d=(h?v:n)[u],f=y&&h?a(d,i):g&&"function"==typeof d?a(Function.call,d):d,v&&o(v,u,d,t&l.U),b[u]!=d&&s(b,u,f),g&&M[u]!=d&&(M[u]=d)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},"5cbb":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాత్రి"===e?t<4?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"రాత్రి":t<10?"ఉదయం":t<17?"మధ్యాహ్నం":t<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return e})},"5cc5":function(t,e,n){var i=n("2b4c")("iterator"),r=!1;try{var s=[7][i]();s["return"]=function(){r=!0},Array.from(s,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var s=[7],o=s[i]();o.next=function(){return{done:n=!0}},s[i]=function(){return o},t(s)}catch(t){}return n}},"5d8b":function(t,e,n){"use strict";n("f751"),n("7cdf"),n("c5f6"),n("6762"),n("2fdb");var i=n("cd88"),r=n("d7db"),s=["text","textarea","email","search","tel","file","number","password","url","time","date"],o=n("8e2f"),a=n("177b"),c=n("363b"),l=n("2054"),u=n("b70a"),h=n("52b5");e["a"]={name:"QInput",mixins:[i["a"],r["a"]],props:{value:{required:!0},type:{type:String,default:"text",validator:function(t){return s.includes(t)}},align:{type:String,validator:function(t){return["left","center","right"].includes(t)}},noPassToggle:Boolean,numericKeyboardToggle:Boolean,readonly:Boolean,decimals:Number,step:Number,upperCase:Boolean,lowerCase:Boolean,initialShowPassword:Boolean},data:function(){var t=this;return{showPass:this.initialShowPassword,showNumber:!0,model:this.value,watcher:null,autofilled:!1,shadow:{val:this.model,set:this.__set,setNav:this.__set,loading:!1,watched:0,isEditable:function(){return t.editable},isDark:function(){return t.dark},hasFocus:function(){return document.activeElement===t.$refs.input},register:function(){t.shadow.watched+=1,t.__watcherRegister()},unregister:function(){t.shadow.watched=Math.max(0,t.shadow.watched-1),t.__watcherUnregister()},getEl:function(){return t.$refs.input}}}},watch:{value:function(t){var e=parseFloat(this.model),n=parseFloat(t);(!this.isNumber||this.isNumberError||isNaN(e)||isNaN(n)||e!==n)&&(this.model=t),this.isNumberError=!1,this.isNegZero=!1},isTextarea:function(t){this[t?"__watcherRegister":"__watcherUnregister"]()},"$attrs.rows":function(){this.isTextarea&&this.__updateArea()}},provide:function(){return{__input:this.shadow}},computed:{isNumber:function(){return"number"===this.type},isPassword:function(){return"password"===this.type},isTextarea:function(){return"textarea"===this.type},isLoading:function(){return this.loading||this.shadow.watched&&this.shadow.loading},keyboardToggle:function(){return this.$q.platform.is.mobile&&this.isNumber&&this.numericKeyboardToggle},inputType:function(){return this.isPassword?this.showPass&&this.editable?"text":"password":this.isNumber?this.showNumber||!this.editable?"number":"text":this.type},inputClasses:function(){var t=[];return this.align&&t.push("text-".concat(this.align)),this.autofilled&&t.push("q-input-autofill"),t},length:function(){return null!==this.model&&void 0!==this.model?(""+this.model).length:0},computedClearValue:function(){return void 0===this.clearValue?this.isNumber?null:"":this.clearValue},computedStep:function(){return this.step||(this.decimals?Math.pow(10,-this.decimals):"any")},frameProps:function(){return{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,placeholder:this.placeholder,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused,length:this.autofilled+this.length}}},methods:{togglePass:function(){this.showPass=!this.showPass,clearTimeout(this.timer),this.focus()},toggleNumber:function(){this.showNumber=!this.showNumber,clearTimeout(this.timer),this.focus()},__clearTimer:function(){var t=this;this.$nextTick(function(){return clearTimeout(t.timer)})},__onAnimationStart:function(t){if(0===t.animationName.indexOf("webkit-autofill-")){var e="webkit-autofill-on"===t.animationName;if(e!==this.autofilled)return t.value=this.autofilled=e,t.el=this,this.$emit("autofill",t)}},__setModel:function(t){clearTimeout(this.timer),this.focus(),this.__set(this.isNumber&&0===t?t:t||(this.isNumber?null:""),!0)},__set:function(t,e){var n=this,i=t&&t.target?t.target.value:t;if(this.isNumber){this.isNegZero=1/i===-1/0;var r=this.isNegZero?-0:i;if(this.model=i,i=parseFloat(i),isNaN(i)||this.isNegZero)return this.isNumberError=!0,void(e&&(this.$emit("input",r),this.$nextTick(function(){String(1/r)!==String(1/n.value)&&n.$emit("change",r)})));this.isNumberError=!1,Number.isInteger(this.decimals)&&(i=parseFloat(i.toFixed(this.decimals)))}else this.lowerCase?i=i.toLowerCase():this.upperCase&&(i=i.toUpperCase()),this.model=i;this.$emit("input",i),e&&this.$nextTick(function(){JSON.stringify(i)!==JSON.stringify(n.value)&&n.$emit("change",i)})},__updateArea:function(){var t=this.$refs.shadow,e=this.$refs.input;if(t&&e){var n=t.scrollHeight,i=Object(a["a"])(n,t.offsetHeight,this.maxHeight||n);e.style.height="".concat(i,"px"),e.style.overflowY=this.maxHeight&&i=e.length){for(var r=[],s=0;sthis.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_},e.prototype.disposeInternal=function(){this.relayedListenerKey_&&(Object(u["e"])(this.relayedListenerKey_),this.relayedListenerKey_=null),this.pointerdownListenerKey_&&(Object(u["e"])(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(u["e"]),this.dragListenerKeys_.length=0,this.documentPointerEventHandler_&&(this.documentPointerEventHandler_.dispose(),this.documentPointerEventHandler_=null),this.pointerEventHandler_&&(this.pointerEventHandler_.dispose(),this.pointerEventHandler_=null),t.prototype.disposeInternal.call(this)},e}(h["a"]),et=tt,nt=n("7238"),it=n("592d"),rt={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"},st=n("070d"),ot=n("e269"),at=n("7b4f"),ct=n("acc1"),lt=n("01d4"),ut=n("92fa"),ht=n("38f3"),dt=1/0,ft=function(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}};ft.prototype.clear=function(){this.elements_.length=0,this.priorities_.length=0,Object(ht["b"])(this.queuedElements_)},ft.prototype.dequeue=function(){var t=this.elements_,e=this.priorities_,n=t[0];1==t.length?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));var i=this.keyFunction_(n);return delete this.queuedElements_[i],n},ft.prototype.enqueue=function(t){Object(ut["a"])(!(this.keyFunction_(t)in this.queuedElements_),31);var e=this.priorityFunction_(t);return e!=dt&&(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0)},ft.prototype.getCount=function(){return this.elements_.length},ft.prototype.getLeftChildIndex_=function(t){return 2*t+1},ft.prototype.getRightChildIndex_=function(t){return 2*t+2},ft.prototype.getParentIndex_=function(t){return t-1>>1},ft.prototype.heapify_=function(){var t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)},ft.prototype.isEmpty=function(){return 0===this.elements_.length},ft.prototype.isKeyQueued=function(t){return t in this.queuedElements_},ft.prototype.isQueued=function(t){return this.isKeyQueued(this.keyFunction_(t))},ft.prototype.siftUp_=function(t){var e=this.elements_,n=this.priorities_,i=e.length,r=e[t],s=n[t],o=t;while(t>1){var a=this.getLeftChildIndex_(t),c=this.getRightChildIndex_(t),l=ct){var o=this.getParentIndex_(e);if(!(i[o]>s))break;n[e]=n[o],i[e]=i[o],e=o}n[e]=r,i[e]=s},ft.prototype.reprioritize=function(){var t,e,n,i=this.priorityFunction_,r=this.elements_,s=this.priorities_,o=0,a=r.length;for(e=0;e0)i=this.dequeue()[0],r=i.getKey(),n=i.getState(),n===ct["a"].ABORT?o=!0:n!==ct["a"].IDLE||r in this.tilesLoadingKeys_||(this.tilesLoadingKeys_[r]=!0,++this.tilesLoading_,++s,i.load());0===s&&o&&this.tileChangeCallback_()},e}(pt),mt=_t,gt=n("a2c7"),yt=n("496f"),vt=n("0999"),bt=n("0af5"),Mt=n("57cb"),wt=n("9c78"),xt=n("345d"),Lt=n("a896"),Et=function(t){function e(e){t.call(this);var n=Tt(e);this.maxTilesLoading_=void 0!==e.maxTilesLoading?e.maxTilesLoading:16,this.loadTilesWhileAnimating_=void 0!==e.loadTilesWhileAnimating&&e.loadTilesWhileAnimating,this.loadTilesWhileInteracting_=void 0!==e.loadTilesWhileInteracting&&e.loadTilesWhileInteracting,this.pixelRatio_=void 0!==e.pixelRatio?e.pixelRatio:a["b"],this.animationDelayKey_,this.animationDelay_=function(){this.animationDelayKey_=void 0,this.renderFrame_.call(this,Date.now())}.bind(this),this.coordinateToPixelTransform_=Object(Lt["c"])(),this.pixelToCoordinateTransform_=Object(Lt["c"])(),this.frameIndex_=0,this.frameState_=null,this.previousExtent_=null,this.viewPropertyListenerKey_=null,this.viewChangeListenerKey_=null,this.layerGroupPropertyListenerKeys_=null,this.viewport_=document.createElement("div"),this.viewport_.className="ol-viewport"+(a["h"]?" ol-touch":""),this.viewport_.style.position="relative",this.viewport_.style.overflow="hidden",this.viewport_.style.width="100%",this.viewport_.style.height="100%",this.viewport_.style.msTouchAction="none",this.viewport_.style.touchAction="none",this.overlayContainer_=document.createElement("div"),this.overlayContainer_.className="ol-overlaycontainer",this.viewport_.appendChild(this.overlayContainer_),this.overlayContainerStopEvent_=document.createElement("div"),this.overlayContainerStopEvent_.className="ol-overlaycontainer-stopevent";for(var i=[lt["a"].CLICK,lt["a"].DBLCLICK,lt["a"].MOUSEDOWN,lt["a"].TOUCHSTART,lt["a"].MSPOINTERDOWN,c["a"].POINTERDOWN,lt["a"].MOUSEWHEEL,lt["a"].WHEEL],o=0,l=i.length;o=0;n--){var i=e[n];if(i.getActive()){var r=i.handleEvent(t);if(!r)break}}}},e.prototype.handlePostRender=function(){var t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){var n=this.maxTilesLoading_,i=n;if(t){var r=t.viewHints;r[yt["a"].ANIMATING]&&(n=this.loadTilesWhileAnimating_?8:0,i=2),r[yt["a"].INTERACTING]&&(n=this.loadTilesWhileInteracting_?8:0,i=2)}e.getTilesLoading()p[2]){var g=Math.ceil((p[0]-m)/_);f=[m+_*g,t[1]]}}var y,v=e.layerStatesArray,b=v.length;for(y=b-1;y>=0;--y){var M=v[y],w=M.layer;if(Object(Ft["b"])(M,u)&&o.call(a,w)){var x=this.getLayerRenderer(w),L=w.getSource();if(L&&(c=x.forEachFeatureAtCoordinate(L.getWrapX()?f:t,e,n,h)),c)return c}}},e.prototype.forEachLayerAtPixel=function(t,e,n,r,s,o,a){return Object(i["b"])()},e.prototype.hasFeatureAtCoordinate=function(t,e,n,i,r){var s=this.forEachFeatureAtCoordinate(t,e,n,Mt["b"],this,i,r);return void 0!==s},e.prototype.getLayerRenderer=function(t){var e=Object(i["c"])(t);if(e in this.layerRenderers_)return this.layerRenderers_[e];for(var n,r=0,s=this.layerRendererConstructors_.length;r=0;--c){var p=h[c],_=p.layer;if(Object(Ft["b"])(p,u)&&s.call(o,_)){var m=this.getLayerRenderer(_);if(a=m.forEachLayerAtCoordinate(f,e,n,i,r),a)return a}}},e.prototype.registerLayerRenderers=function(e){t.prototype.registerLayerRenderers.call(this,e);for(var n=0,i=e.length;n=.5&&h>=.5&&n.drawImage(i,0,0,+i.width,+i.height,Math.round(c),Math.round(l),Math.round(u),Math.round(h)),n.globalAlpha=a,s&&n.restore()}this.postCompose(n,t,e)},e.prototype.getImage=function(){return Object(i["b"])()},e.prototype.getImageTransform=function(){return Object(i["b"])()},e.prototype.forEachLayerAtCoordinate=function(t,e,n,i,r){if(this.getImage()){var s=Object(Lt["a"])(this.coordinateToCanvasPixelTransform,t.slice());Object(ae["g"])(s,e.viewState.resolution/this.renderedResolution),this.hitCanvasContext_||(this.hitCanvasContext_=Object(vt["a"])(1,1)),this.hitCanvasContext_.clearRect(0,0,1,1),this.hitCanvasContext_.drawImage(this.getImage(),s[0],s[1],1,1,0,0,1,1);var o=this.hitCanvasContext_.getImageData(0,0,1,1).data;return o[3]>0?i.call(r,this.getLayer(),o):void 0}},e}(de),pe=fe,_e=function(t){function e(n){if(t.call(this,n),this.image_=null,this.imageTransform_=Object(Lt["c"])(),this.skippedFeatures_=[],this.vectorRenderer_=null,n.getType()===Nt["a"].VECTOR)for(var i=0,r=re.length;i0&&(this.newTiles_=!0):a.setState(ct["a"].LOADED)),this.isDrawableTile_(a)||(a=a.getInterimTile()),a},e.prototype.prepareFrame=function(t,e){var n=t.pixelRatio,r=t.size,s=t.viewState,o=s.projection,a=s.resolution,c=s.center,l=this.getLayer(),u=l.getSource(),h=u.getRevision(),d=u.getTileGridForProjection(o),f=d.getZForResolution(a,this.zDirection),p=d.getResolution(f),_=Math.round(a/p)||1,m=t.extent;if(void 0!==e.extent&&(m=Object(bt["B"])(m,e.extent)),Object(bt["H"])(m))return!1;var g=d.getTileRangeForExtentAndZ(m,f),y=d.getTileRangeExtent(f,g),v=u.getTilePixelRatio(n),b={};b[f]={};var M,w,x,L=this.createLoadedTileFinder(u,o,b),E=t.viewHints,T=E[yt["a"].ANIMATING]||E[yt["a"].INTERACTING],S=this.tmpExtent,O=this.tmpTileRange_;for(this.newTiles_=!1,w=g.minX;w<=g.maxX;++w)for(x=g.minY;x<=g.maxY;++x)if(!(Date.now()-t.time>16&&T)){if(M=this.getTile(f,w,x,n,o),this.isDrawableTile_(M)){var k=Object(i["c"])(this);if(M.getState()==ct["a"].LOADED){b[f][M.tileCoord.toString()]=M;var C=M.inTransition(k);this.newTiles_||!C&&-1!==this.renderedTiles.indexOf(M)||(this.newTiles_=!0)}if(1===M.getAlpha(k,t.time))continue}var I=d.getTileCoordChildTileRange(M.tileCoord,O,S),D=!1;I&&(D=L(f+1,I)),D||d.forEachTileCoordParentTileRange(M.tileCoord,L,null,O,S)}var Y=p*n/v*_;if(!(this.renderedResolution&&Date.now()-t.time>16&&T)&&(this.newTiles_||!this.renderedExtent_||!Object(bt["g"])(this.renderedExtent_,m)||this.renderedRevision!=h||_!=this.oversampling_||!T&&Y!=this.renderedResolution)){var R=this.context;if(R){var A=u.getTilePixelSize(f,n,o),N=Math.round(g.getWidth()*A[0]/_),P=Math.round(g.getHeight()*A[1]/_),j=R.canvas;j.width!=N||j.height!=P?(this.oversampling_=_,j.width=N,j.height=P):((this.renderedExtent_&&!Object(bt["p"])(y,this.renderedExtent_)||this.renderedRevision!=h)&&R.clearRect(0,0,N,P),_=this.oversampling_)}this.renderedTiles.length=0;var F,H,G,q,z,B,$,W,U,V,X,K=Object.keys(b).map(Number);for(K.sort(function(t,e){return t===f?1:e===f?-1:t>e?1:t0},e.prototype.drawTileImage=function(t,e,n,r,s,o,a,c,l){var u=this.getTileImage(t);if(u){var h=Object(i["c"])(this),d=l?t.getAlpha(h,e.time):1,f=this.getLayer(),p=f.getSource();1!==d||p.getOpaque(e.viewState.projection)||this.context.clearRect(r,s,o,a);var _=d!==this.context.globalAlpha;_&&(this.context.save(),this.context.globalAlpha=d),this.context.drawImage(u,c,c,u.width-2*c,u.height-2*c,r,s,o,a),_&&this.context.restore(),1!==d?e.animate=!0:l&&t.endTransition(h)}},e.prototype.getImage=function(){var t=this.context;return t?t.canvas:null},e.prototype.getImageTransform=function(){return this.imageTransform_},e.prototype.getTileImage=function(t){return t.getImage()},e}(pe);ye["handles"]=function(t){return t.getType()===Nt["a"].TILE},ye["create"]=function(t,e){return new ye(e)},ye.prototype.getLayer;var ve=ye,be=n("0354"),Me=n.n(be),we=function(){};we.prototype.getReplay=function(t,e){return Object(i["b"])()},we.prototype.isEmpty=function(){return Object(i["b"])()},we.prototype.addDeclutter=function(t){return Object(i["b"])()};var xe=we,Le={CIRCLE:"Circle",DEFAULT:"Default",IMAGE:"Image",LINE_STRING:"LineString",POLYGON:"Polygon",TEXT:"Text"},Ee=n("045d"),Te=n("bb6c"),Se=n("5938"),Oe=n("7fc9");function ke(t,e,n,i,r,s,o,a){var c=[],l=t[e]>t[n-i],u=r.length,h=t[e],d=t[e+1];e+=i;for(var f,p,_,m=t[e],g=t[e+1],y=0,v=Math.sqrt(Math.pow(m-h,2)+Math.pow(g-d,2)),b="",M=0,w=0;w0?-Math.PI:Math.PI),void 0!==_){var O=S-_;if(O+=O>Math.PI?-2*Math.PI:O<-Math.PI?2*Math.PI:0,Math.abs(O)>a)return null}var k=T/v,C=Object(Oe["c"])(h,m,k),I=Object(Oe["c"])(d,g,k);_==S?(l&&(f[0]=C,f[1]=I,f[2]=L/2),f[4]=b):(b=x,M=L,f=[C,I,L/2,S,b],l?c.unshift(f):c.push(f),_=S),o+=L}return c}var Ce={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},Ie=[Ce.FILL],De=[Ce.STROKE],Ye=[Ce.BEGIN_PATH],Re=[Ce.CLOSE_PATH],Ae=Ce,Ne=[Le.POLYGON,Le.CIRCLE,Le.LINE_STRING,Le.IMAGE,Le.TEXT,Le.DEFAULT],Pe={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1},je=Object(bt["j"])(),Fe=Object(Lt["c"])(),He=function(t){function e(e,n,i,r,s,o){t.call(this),this.declutterTree=o,this.tolerance=e,this.maxExtent=n,this.overlaps=s,this.pixelRatio=r,this.maxLineWidth=0,this.resolution=i,this.alignFill_,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_=null,this.bufferedMaxExtent_=null,this.instructions=[],this.coordinates=[],this.coordinateCache_={},this.renderedTransform_=Object(Lt["c"])(),this.hitDetectionInstructions=[],this.pixelCoordinates_=null,this.state={},this.viewRotation_=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.replayTextBackground_=function(t,e,n,i,r,s,o){t.beginPath(),t.moveTo.apply(t,e),t.lineTo.apply(t,n),t.lineTo.apply(t,i),t.lineTo.apply(t,r),t.lineTo.apply(t,e),s&&(this.alignFill_=s[2],this.fill_(t)),o&&(this.setStrokeStyle_(t,o),t.stroke())},e.prototype.replayImage_=function(t,e,n,i,r,s,o,a,c,l,u,h,d,f,p,_,m,g){var y=m||g;r*=d,s*=d,e-=r,n-=s;var v,b,M,w,x=p+l>i.width?i.width-l:p,L=a+u>i.height?i.height-u:a,E=_[3]+x*d+_[1],T=_[0]+L*d+_[2],S=e-_[3],O=n-_[0];(y||0!==h)&&(v=[S,O],b=[S+E,O],M=[S+E,O+T],w=[S,O+T]);var k=null;if(0!==h){var C=e+r,I=n+s;k=Object(Lt["b"])(Fe,C,I,1,1,h,-C,-I),Object(bt["l"])(je),Object(bt["r"])(je,Object(Lt["a"])(Fe,v)),Object(bt["r"])(je,Object(Lt["a"])(Fe,b)),Object(bt["r"])(je,Object(Lt["a"])(Fe,M)),Object(bt["r"])(je,Object(Lt["a"])(Fe,w))}else Object(bt["k"])(S,O,S+E,O+T,je);var D=t.canvas,Y=g?g[2]*d/2:0,R=je[0]-Y<=D.width&&je[2]+Y>=0&&je[1]-Y<=D.height&&je[3]+Y>=0;if(f&&(e=Math.round(e),n=Math.round(n)),o){if(!R&&1==o[4])return;Object(bt["q"])(o,je);var A=R?[t,k?k.slice(0):null,c,i,l,u,x,L,e,n,d]:null;A&&y&&A.push(m,g,v,b,M,w),o.push(A)}else R&&(y&&this.replayTextBackground_(t,v,b,M,w,m,g),Object(qt["n"])(t,k,c,i,l,u,x,L,e,n,d))},e.prototype.applyPixelRatio=function(t){var e=this.pixelRatio;return 1==e?t:t.map(function(t){return t*e})},e.prototype.appendFlatCoordinates=function(t,e,n,i,r,s){var o=this.coordinates.length,a=this.getBufferedMaxExtent();s&&(e+=i);var c,l,u,h=[t[e],t[e+1]],d=[NaN,NaN],f=!0;for(c=e+i;c5){var n=t[4];if(1==n||n==t.length-5){var i={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};if(!this.declutterTree.collides(i)){this.declutterTree.insert(i);for(var r=5,s=t.length;r11&&this.replayTextBackground_(o[0],o[13],o[14],o[15],o[16],o[11],o[12]),qt["n"].apply(void 0,o))}}t.length=5,Object(bt["l"])(t)}}},e.prototype.replay_=function(t,e,n,r,s,o,a){var c;this.pixelCoordinates_&&Object(q["b"])(e,this.renderedTransform_)?c=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),c=Object(Wt["c"])(this.coordinates,0,this.coordinates.length,2,e,this.pixelCoordinates_),Object(Lt["g"])(this.renderedTransform_,e));var l,u,h,d,f,p,_,m,g,y,v,b,M=!Object(ht["d"])(n),w=0,x=r.length,L=0,E=0,T=0,S=null,O=null,k=this.coordinateCache_,C=this.viewRotation_,I={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:C},D=this.instructions!=r||this.overlaps?0:200;while(wD&&(this.fill_(t),E=0),T>D&&(t.stroke(),T=0),E||T||(t.beginPath(),d=f=NaN),++w;break;case Ae.CIRCLE:L=Y[1];var A=c[L],N=c[L+1],P=c[L+2],j=c[L+3],F=P-A,H=j-N,G=Math.sqrt(F*F+H*H);t.moveTo(A+G,N),t.arc(A,N,G,0,2*Math.PI,!0),++w;break;case Ae.CLOSE_PATH:t.closePath(),++w;break;case Ae.CUSTOM:L=Y[1],l=Y[2];var z=Y[3],B=Y[4],$=6==Y.length?Y[5]:void 0;I.geometry=z,I.feature=y,w in k||(k[w]=[]);var W=k[w];$?$(c,L,l,2,W):(W[0]=c[L],W[1]=c[L+1],W.length=2),B(W,I),++w;break;case Ae.DRAW_IMAGE:L=Y[1],l=Y[2],g=Y[3],u=Y[4],h=Y[5],m=o?null:Y[6];var U=Y[7],V=Y[8],X=Y[9],K=Y[10],Z=Y[11],J=Y[12],Q=Y[13],tt=Y[14],et=void 0,nt=void 0,it=void 0;for(Y.length>16?(et=Y[15],nt=Y[16],it=Y[17]):(et=qt["j"],nt=it=!1),Z&&(J+=C);Lthis.maxLineWidth&&(this.maxLineWidth=n.lineWidth,this.bufferedMaxExtent_=null)}else n.strokeStyle=void 0,n.lineCap=void 0,n.lineDash=null,n.lineDashOffset=void 0,n.lineJoin=void 0,n.lineWidth=void 0,n.miterLimit=void 0},e.prototype.createFill=function(t,e){var n=t.fillStyle,i=[Ae.SET_FILL_STYLE,n];return"string"!==typeof n&&i.push(!0),i},e.prototype.applyStroke=function(t){this.instructions.push(this.createStroke(t))},e.prototype.createStroke=function(t){return[Ae.SET_STROKE_STYLE,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,this.applyPixelRatio(t.lineDash),t.lineDashOffset*this.pixelRatio]},e.prototype.updateFillStyle=function(t,e,n){var i=t.fillStyle;"string"===typeof i&&t.currentFillStyle==i||(void 0!==i&&this.instructions.push(e.call(this,t,n)),t.currentFillStyle=i)},e.prototype.updateStrokeStyle=function(t,e){var n=t.strokeStyle,i=t.lineCap,r=t.lineDash,s=t.lineDashOffset,o=t.lineJoin,a=t.lineWidth,c=t.miterLimit;(t.currentStrokeStyle!=n||t.currentLineCap!=i||r!=t.currentLineDash&&!Object(q["b"])(t.currentLineDash,r)||t.currentLineDashOffset!=s||t.currentLineJoin!=o||t.currentLineWidth!=a||t.currentMiterLimit!=c)&&(void 0!==n&&e.call(this,t),t.currentStrokeStyle=n,t.currentLineCap=i,t.currentLineDash=r,t.currentLineDashOffset=s,t.currentLineJoin=o,t.currentLineWidth=a,t.currentMiterLimit=c)},e.prototype.endGeometry=function(t,e){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;var n=[Ae.END_GEOMETRY,e];this.instructions.push(n),this.hitDetectionInstructions.push(n)},e.prototype.getBufferedMaxExtent=function(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=Object(bt["d"])(this.maxExtent),this.maxLineWidth>0)){var t=this.resolution*(this.maxLineWidth+1)/2;Object(bt["c"])(this.bufferedMaxExtent_,t,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_},e}(Vt),Ge=He,qe=function(t){function e(e,n,i,r,s,o){t.call(this,e,n,i,r,s,o),this.declutterGroup_=null,this.hitDetectionImage_=null,this.image_=null,this.anchorX_=void 0,this.anchorY_=void 0,this.height_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.scale_=void 0,this.width_=void 0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.drawCoordinates_=function(t,e,n,i){return this.appendFlatCoordinates(t,e,n,i,!1,!1)},e.prototype.drawPoint=function(t,e){if(this.image_){this.beginGeometry(t,e);var n=t.getFlatCoordinates(),i=t.getStride(),r=this.coordinates.length,s=this.drawCoordinates_(n,0,n.length,i);this.instructions.push([Ae.DRAW_IMAGE,r,s,this.image_,this.anchorX_,this.anchorY_,this.declutterGroup_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_*this.pixelRatio,this.width_]),this.hitDetectionInstructions.push([Ae.DRAW_IMAGE,r,s,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.declutterGroup_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_]),this.endGeometry(t,e)}},e.prototype.drawMultiPoint=function(t,e){if(this.image_){this.beginGeometry(t,e);var n=t.getFlatCoordinates(),i=t.getStride(),r=this.coordinates.length,s=this.drawCoordinates_(n,0,n.length,i);this.instructions.push([Ae.DRAW_IMAGE,r,s,this.image_,this.anchorX_,this.anchorY_,this.declutterGroup_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_*this.pixelRatio,this.width_]),this.hitDetectionInstructions.push([Ae.DRAW_IMAGE,r,s,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.declutterGroup_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_]),this.endGeometry(t,e)}},e.prototype.finish=function(){this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0},e.prototype.setImageStyle=function(t,e){var n=t.getAnchor(),i=t.getSize(),r=t.getHitDetectionImage(1),s=t.getImage(1),o=t.getOrigin();this.anchorX_=n[0],this.anchorY_=n[1],this.declutterGroup_=e,this.hitDetectionImage_=r,this.image_=s,this.height_=i[1],this.opacity_=t.getOpacity(),this.originX_=o[0],this.originY_=o[1],this.rotateWithView_=t.getRotateWithView(),this.rotation_=t.getRotation(),this.scale_=t.getScale(),this.width_=i[0]},e}(Ge),ze=qe,Be=function(t){function e(e,n,i,r,s,o){t.call(this,e,n,i,r,s,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.drawFlatCoordinates_=function(t,e,n,i){var r=this.coordinates.length,s=this.appendFlatCoordinates(t,e,n,i,!1,!1),o=[Ae.MOVE_TO_LINE_TO,r,s];return this.instructions.push(o),this.hitDetectionInstructions.push(o),n},e.prototype.drawLineString=function(t,e){var n=this.state,i=n.strokeStyle,r=n.lineWidth;if(void 0!==i&&void 0!==r){this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([Ae.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset],Ye);var s=t.getFlatCoordinates(),o=t.getStride();this.drawFlatCoordinates_(s,0,s.length,o),this.hitDetectionInstructions.push(De),this.endGeometry(t,e)}},e.prototype.drawMultiLineString=function(t,e){var n=this.state,i=n.strokeStyle,r=n.lineWidth;if(void 0!==i&&void 0!==r){this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([Ae.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset],Ye);for(var s=t.getEnds(),o=t.getFlatCoordinates(),a=t.getStride(),c=0,l=0,u=s.length;lt&&(y>g&&(g=y,_=v,m=o),y=0,v=o-r)),a=c,h=f,d=p),l=b,u=M}return y+=c,y>g?[v,o]:[_,m]}var Ze=n("29f6"),Je=function(t){function e(e,n,i,r,s,o){t.call(this,e,n,i,r,s,o),this.declutterGroup_,this.labels_=null,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=void 0,this.textRotation_=0,this.textFillState_=null,this.fillStates={},this.textStrokeState_=null,this.strokeStates={},this.textState_={},this.textStates={},this.textKey_="",this.fillKey_="",this.strokeKey_="",this.widths_={},qt["o"].prune()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.drawText=function(t,e){var n=this.textFillState_,i=this.textStrokeState_,r=this.textState_;if(""!==this.text_&&r&&(n||i)){var s,o,a=this.coordinates.length,c=t.getType(),l=null,u=2,h=2;if(r.placement===Ze["a"].LINE){if(!Object(bt["F"])(this.getBufferedMaxExtent(),t.getExtent()))return;var d;if(l=t.getFlatCoordinates(),h=t.getStride(),c==Bt["a"].LINE_STRING)d=[l.length];else if(c==Bt["a"].MULTI_LINE_STRING)d=t.getEnds();else if(c==Bt["a"].POLYGON)d=t.getEnds().slice(0,1);else if(c==Bt["a"].MULTI_POLYGON){var f=t.getEndss();for(d=[],s=0,o=f.length;s=M)&&l.push(w[s],w[s+1]);if(u=l.length,0==u)return;break;default:}u=this.appendFlatCoordinates(l,0,u,h,!1,!1),(r.backgroundFill||r.backgroundStroke)&&(this.setFillStrokeStyle(r.backgroundFill,r.backgroundStroke),r.backgroundFill&&(this.updateFillStyle(this.state,this.createFill,t),this.hitDetectionInstructions.push(this.createFill(this.state,t))),r.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(t,e),this.drawTextImage_(b,a,u),this.endGeometry(t,e)}}},e.prototype.getImage=function(t,e,n,i){var r,s=i+e+t+n+this.pixelRatio;if(!qt["o"].containsKey(s)){var o=i?this.strokeStates[i]||this.textStrokeState_:null,c=n?this.fillStates[n]||this.textFillState_:null,l=this.textStates[e]||this.textState_,u=this.pixelRatio,h=l.scale*u,d=Pe[l.textAlign||qt["l"]],f=i&&o.lineWidth?o.lineWidth:0,p=t.split("\n"),_=p.length,m=[],g=Qe(l.font,p,m),y=Object(qt["p"])(l.font),v=y*_,b=g+f,M=Object(vt["a"])(Math.ceil(b*h),Math.ceil((v+f)*h));r=M.canvas,qt["o"].set(s,r),1!=h&&M.scale(h,h),M.font=l.font,i&&(M.strokeStyle=o.strokeStyle,M.lineWidth=f,M.lineCap=o.lineCap,M.lineJoin=o.lineJoin,M.miterLimit=o.miterLimit,a["a"]&&o.lineDash.length&&(M.setLineDash(o.lineDash),M.lineDashOffset=o.lineDashOffset)),n&&(M.fillStyle=c.fillStyle),M.textBaseline="middle",M.textAlign="center";var w,x=.5-d,L=d*r.width/h+x*f;if(i)for(w=0;w<_;++w)M.strokeText(p[w],L+x*m[w],.5*(f+y)+w*y);if(n)for(w=0;w<_;++w)M.fillText(p[w],L+x*m[w],.5*(f+y)+w*y)}return qt["o"].get(s)},e.prototype.drawTextImage_=function(t,e,n){var i=this.textState_,r=this.textStrokeState_,s=this.pixelRatio,o=Pe[i.textAlign||qt["l"]],a=Pe[i.textBaseline],c=r&&r.lineWidth?r.lineWidth:0,l=o*t.width/s+2*(.5-o)*c,u=a*t.height/s+2*(.5-a)*c;this.instructions.push([Ae.DRAW_IMAGE,e,n,t,(l-this.textOffsetX_)*s,(u-this.textOffsetY_)*s,this.declutterGroup_,t.height,1,0,0,this.textRotateWithView_,this.textRotation_,1,t.width,i.padding==qt["j"]?qt["j"]:i.padding.map(function(t){return t*s}),!!i.backgroundFill,!!i.backgroundStroke]),this.hitDetectionInstructions.push([Ae.DRAW_IMAGE,e,n,t,(l-this.textOffsetX_)*s,(u-this.textOffsetY_)*s,this.declutterGroup_,t.height,1,0,0,this.textRotateWithView_,this.textRotation_,1/s,t.width,i.padding,!!i.backgroundFill,!!i.backgroundStroke])},e.prototype.drawChars_=function(t,e,n){var i=this.textStrokeState_,r=this.textState_,s=this.textFillState_,o=this.strokeKey_;i&&(o in this.strokeStates||(this.strokeStates[o]={strokeStyle:i.strokeStyle,lineCap:i.lineCap,lineDashOffset:i.lineDashOffset,lineWidth:i.lineWidth,lineJoin:i.lineJoin,miterLimit:i.miterLimit,lineDash:i.lineDash}));var a=this.textKey_;this.textKey_ in this.textStates||(this.textStates[this.textKey_]={font:r.font,textAlign:r.textAlign||qt["l"],scale:r.scale});var c=this.fillKey_;s&&(c in this.fillStates||(this.fillStates[c]={fillStyle:s.fillStyle}));var l=this.pixelRatio,u=Pe[r.textBaseline],h=this.textOffsetY_*l,d=this.text_,f=r.font,p=r.scale,_=i?i.lineWidth*p/2:0,m=this.widths_[f];m||(this.widths_[f]=m={}),this.instructions.push([Ae.DRAW_CHARS,t,e,u,n,r.overflow,c,r.maxAngle,function(t){var e=m[t];return e||(e=m[t]=Object(qt["q"])(f,t)),e*p*l},h,o,_*l,d,a,1]),this.hitDetectionInstructions.push([Ae.DRAW_CHARS,t,e,u,n,r.overflow,c,r.maxAngle,function(t){var e=m[t];return e||(e=m[t]=Object(qt["q"])(f,t)),e*p},h,o,_,d,a,1/l])},e.prototype.setTextStyle=function(t,e){var n,r,s;if(t){this.declutterGroup_=e;var o=t.getFill();o?(r=this.textFillState_,r||(r=this.textFillState_={}),r.fillStyle=Object(zt["a"])(o.getColor()||qt["b"])):r=this.textFillState_=null;var a=t.getStroke();if(a){s=this.textStrokeState_,s||(s=this.textStrokeState_={});var c=a.getLineDash(),l=a.getLineDashOffset(),u=a.getWidth(),h=a.getMiterLimit();s.lineCap=a.getLineCap()||qt["d"],s.lineDash=c?c.slice():qt["e"],s.lineDashOffset=void 0===l?qt["f"]:l,s.lineJoin=a.getLineJoin()||qt["g"],s.lineWidth=void 0===u?qt["h"]:u,s.miterLimit=void 0===h?qt["i"]:h,s.strokeStyle=Object(zt["a"])(a.getColor()||qt["k"])}else s=this.textStrokeState_=null;n=this.textState_;var d=t.getFont()||qt["c"];Object(qt["a"])(d);var f=t.getScale();n.overflow=t.getOverflow(),n.font=d,n.maxAngle=t.getMaxAngle(),n.placement=t.getPlacement(),n.textAlign=t.getTextAlign(),n.textBaseline=t.getTextBaseline()||qt["m"],n.backgroundFill=t.getBackgroundFill(),n.backgroundStroke=t.getBackgroundStroke(),n.padding=t.getPadding()||qt["j"],n.scale=void 0===f?1:f;var p=t.getOffsetX(),_=t.getOffsetY(),m=t.getRotateWithView(),g=t.getRotation();this.text_=t.getText()||"",this.textOffsetX_=void 0===p?0:p,this.textOffsetY_=void 0===_?0:_,this.textRotateWithView_=void 0!==m&&m,this.textRotation_=void 0===g?0:g,this.strokeKey_=s?("string"==typeof s.strokeStyle?s.strokeStyle:Object(i["c"])(s.strokeStyle))+s.lineCap+s.lineDashOffset+"|"+s.lineWidth+s.lineJoin+s.miterLimit+"["+s.lineDash.join()+"]":"",this.textKey_=n.font+n.scale+(n.textAlign||"?"),this.fillKey_=r?"string"==typeof r.fillStyle?r.fillStyle:"|"+Object(i["c"])(r.fillStyle):""}else this.text_=""},e}(Ge);function Qe(t,e,n){for(var i=e.length,r=0,s=0;s0){var r=void 0;return(!h||d!=Le.IMAGE&&d!=Le.TEXT||-1!==h.indexOf(t))&&(r=s(t)),r||void u.clearRect(0,0,c,c)}}this.declutterTree_&&(h=this.declutterTree_.all().map(function(t){return t.value}));var _,m,g,y,v,b=Object.keys(this.replaysByZIndex_).map(Number);for(b.sort(q["g"]),_=b.length-1;_>=0;--_){var M=b[_].toString();for(g=this.replaysByZIndex_[M],m=Ne.length-1;m>=0;--m)if(d=Ne[m],y=g[d],void 0!==y)if(!o||d!=Le.IMAGE&&d!=Le.TEXT){if(v=y.replayHitDetection(u,l,n,r,p,a),v)return v}else{var w=o[M];w?w.push(y,l.slice(0)):o[M]=[y,l.slice(0)]}}},e.prototype.getClipCoords=function(t){var e=this.maxExtent_,n=e[0],i=e[1],r=e[2],s=e[3],o=[n,i,n,s,r,s,r,i];return Object(Wt["c"])(o,0,8,2,t,o),o},e.prototype.getReplay=function(t,e){var n=void 0!==t?t.toString():"0",i=this.replaysByZIndex_[n];void 0===i&&(i={},this.replaysByZIndex_[n]=i);var r=i[e];if(void 0===r){var s=en[e];r=new s(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_,this.overlaps_,this.declutterTree_),i[e]=r}return r},e.prototype.getReplays=function(){return this.replaysByZIndex_},e.prototype.isEmpty=function(){return Object(ht["d"])(this.replaysByZIndex_)},e.prototype.replay=function(t,e,n,i,r,s,o){var a=Object.keys(this.replaysByZIndex_).map(Number);a.sort(q["g"]),t.save(),this.clip(t,e);var c,l,u,h,d,f,p=s||Ne;for(c=0,l=a.length;c=r)for(i=r;i=s)sn(n,t+r,t+s),sn(n,t+s,t+r),sn(n,t-s,t+r),sn(n,t-r,t+s),sn(n,t-r,t-s),sn(n,t-s,t-r),sn(n,t+s,t-r),sn(n,t+r,t-s),s++,o+=1+2*s,2*(o-r)+1>0&&(r-=1,o+=1-2*r);return rn[t]=n,n}function an(t,e,n,i){for(var r=Object.keys(t).map(Number).sort(q["g"]),s={},o=0,a=r.length;ol[2])++D,k=I*D,h=this.getTransform(e,k),p.replay(_,h,c,s,T),C-=I}if(Object(qt["s"])(_,c,S/2,O/2),b&&this.dispatchRenderEvent(_,e,h),_!=t){if(v){var Y=t.globalAlpha;t.globalAlpha=n.opacity,t.drawImage(_.canvas,-g,-y),t.globalAlpha=Y}else t.drawImage(_.canvas,-g,-y);_.translate(-g,-y)}v||(_.globalAlpha=L)}f&&t.restore()},e.prototype.composeFrame=function(t,e,n){var i=this.getTransform(t,0);this.preCompose(n,t,i),this.compose(n,t,e),this.postCompose(n,t,e,i)},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,r,s){if(this.replayGroup_){var o=e.viewState.resolution,a=e.viewState.rotation,c=this.getLayer(),l={},u=this.replayGroup_.forEachFeatureAtCoordinate(t,o,a,n,{},function(t){var e=Object(i["c"])(t);if(!(e in l))return l[e]=!0,r.call(s,t,c)},null);return u}},e.prototype.handleFontsChanged_=function(t){var e=this.getLayer();e.getVisible()&&this.replayGroup_&&e.changed()},e.prototype.handleStyleImageChange_=function(t){this.renderIfReadyAndVisible()},e.prototype.prepareFrame=function(t,e){var n=this.getLayer(),i=n.getSource(),r=t.viewHints[yt["a"].ANIMATING],s=t.viewHints[yt["a"].INTERACTING],o=n.getUpdateWhileAnimating(),a=n.getUpdateWhileInteracting();if(!this.dirty_&&!o&&r||!a&&s)return!0;var c=t.extent,l=t.viewState,u=l.projection,h=l.resolution,d=t.pixelRatio,f=n.getRevision(),p=n.getRenderBuffer(),_=n.getRenderOrder();void 0===_&&(_=hn);var m=Object(bt["c"])(c,p*h),g=l.projection.getExtent();if(i.getWrapX()&&l.projection.canWrapX()&&!Object(bt["g"])(g,t.extent)){var y=Object(bt["E"])(g),v=Math.max(Object(bt["E"])(m)/2,y);m[0]=g[0]-v,m[2]=g[2]+v}if(!this.dirty_&&this.renderedResolution_==h&&this.renderedRevision_==f&&this.renderedRenderOrder_==_&&Object(bt["g"])(this.renderedExtent_,m))return this.replayGroupChanged=!1,!0;this.replayGroup_=null,this.dirty_=!1;var b=new cn(fn(h,d),m,h,d,i.getOverlaps(),this.declutterTree_,n.getRenderBuffer());i.loadFeatures(m,h,u);var M=function(t){var e,i=t.getStyleFunction()||n.getStyleFunction();if(i&&(e=i(t,h)),e){var r=this.renderFeature(t,h,d,e,b);this.dirty_=this.dirty_||r}}.bind(this);if(_){var w=[];i.forEachFeatureInExtent(m,function(t){w.push(t)}),w.sort(_);for(var x=0,L=w.length;x=0;--b){var M=m[b];if(M.getState()!=ct["a"].ABORT)for(var w=M.tileCoord,x=g.getTileCoordExtent(w,this.tmpExtent)[0]-M.extent[0],L=void 0,E=0,T=M.tileKeys.length;E=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"రాత్రి":t<10?"ఉదయం":t<17?"మధ్యాహ్నం":t<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return e})},"5cc5":function(t,e,n){var i=n("2b4c")("iterator"),r=!1;try{var s=[7][i]();s["return"]=function(){r=!0},Array.from(s,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var s=[7],o=s[i]();o.next=function(){return{done:n=!0}},s[i]=function(){return o},t(s)}catch(t){}return n}},"5d8b":function(t,e,n){"use strict";n("f751"),n("7cdf"),n("c5f6"),n("6762"),n("2fdb");var i=n("cd88"),r=n("d7db"),s=["text","textarea","email","search","tel","file","number","password","url","time","date"],o=n("8e2f"),a=n("177b"),c=n("363b"),l=n("2054"),u=n("b70a"),h=n("52b5");e["a"]={name:"QInput",mixins:[i["a"],r["a"]],props:{value:{required:!0},type:{type:String,default:"text",validator:function(t){return s.includes(t)}},align:{type:String,validator:function(t){return["left","center","right"].includes(t)}},noPassToggle:Boolean,numericKeyboardToggle:Boolean,readonly:Boolean,decimals:Number,step:Number,upperCase:Boolean,lowerCase:Boolean,initialShowPassword:Boolean},data:function(){var t=this;return{showPass:this.initialShowPassword,showNumber:!0,model:this.value,watcher:null,autofilled:!1,shadow:{val:this.model,set:this.__set,setNav:this.__set,loading:!1,watched:0,isEditable:function(){return t.editable},isDark:function(){return t.dark},hasFocus:function(){return document.activeElement===t.$refs.input},register:function(){t.shadow.watched+=1,t.__watcherRegister()},unregister:function(){t.shadow.watched=Math.max(0,t.shadow.watched-1),t.__watcherUnregister()},getEl:function(){return t.$refs.input}}}},watch:{value:function(t){var e=parseFloat(this.model),n=parseFloat(t);(!this.isNumber||this.isNumberError||isNaN(e)||isNaN(n)||e!==n)&&(this.model=t),this.isNumberError=!1,this.isNegZero=!1},isTextarea:function(t){this[t?"__watcherRegister":"__watcherUnregister"]()},"$attrs.rows":function(){this.isTextarea&&this.__updateArea()}},provide:function(){return{__input:this.shadow}},computed:{isNumber:function(){return"number"===this.type},isPassword:function(){return"password"===this.type},isTextarea:function(){return"textarea"===this.type},isLoading:function(){return this.loading||this.shadow.watched&&this.shadow.loading},keyboardToggle:function(){return this.$q.platform.is.mobile&&this.isNumber&&this.numericKeyboardToggle},inputType:function(){return this.isPassword?this.showPass&&this.editable?"text":"password":this.isNumber?this.showNumber||!this.editable?"number":"text":this.type},inputClasses:function(){var t=[];return this.align&&t.push("text-".concat(this.align)),this.autofilled&&t.push("q-input-autofill"),t},length:function(){return null!==this.model&&void 0!==this.model?(""+this.model).length:0},computedClearValue:function(){return void 0===this.clearValue?this.isNumber?null:"":this.clearValue},computedStep:function(){return this.step||(this.decimals?Math.pow(10,-this.decimals):"any")},frameProps:function(){return{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,placeholder:this.placeholder,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused,length:this.autofilled+this.length}}},methods:{togglePass:function(){this.showPass=!this.showPass,clearTimeout(this.timer),this.focus()},toggleNumber:function(){this.showNumber=!this.showNumber,clearTimeout(this.timer),this.focus()},__clearTimer:function(){var t=this;this.$nextTick(function(){return clearTimeout(t.timer)})},__onAnimationStart:function(t){if(0===t.animationName.indexOf("webkit-autofill-")){var e="webkit-autofill-on"===t.animationName;if(e!==this.autofilled)return t.value=this.autofilled=e,t.el=this,this.$emit("autofill",t)}},__setModel:function(t){clearTimeout(this.timer),this.focus(),this.__set(this.isNumber&&0===t?t:t||(this.isNumber?null:""),!0)},__set:function(t,e){var n=this,i=t&&t.target?t.target.value:t;if(this.isNumber){this.isNegZero=1/i===-1/0;var r=this.isNegZero?-0:i;if(this.model=i,i=parseFloat(i),isNaN(i)||this.isNegZero)return this.isNumberError=!0,void(e&&(this.$emit("input",r),this.$nextTick(function(){String(1/r)!==String(1/n.value)&&n.$emit("change",r)})));this.isNumberError=!1,Number.isInteger(this.decimals)&&(i=parseFloat(i.toFixed(this.decimals)))}else this.lowerCase?i=i.toLowerCase():this.upperCase&&(i=i.toUpperCase()),this.model=i;this.$emit("input",i),e&&this.$nextTick(function(){JSON.stringify(i)!==JSON.stringify(n.value)&&n.$emit("change",i)})},__updateArea:function(){var t=this.$refs.shadow,e=this.$refs.input;if(t&&e){var n=t.scrollHeight,i=Object(a["a"])(n,t.offsetHeight,this.maxHeight||n);e.style.height="".concat(i,"px"),e.style.overflowY=this.maxHeight&&i=e.length){for(var r=[],s=0;sthis.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_},e.prototype.disposeInternal=function(){this.relayedListenerKey_&&(Object(u["e"])(this.relayedListenerKey_),this.relayedListenerKey_=null),this.pointerdownListenerKey_&&(Object(u["e"])(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(u["e"]),this.dragListenerKeys_.length=0,this.documentPointerEventHandler_&&(this.documentPointerEventHandler_.dispose(),this.documentPointerEventHandler_=null),this.pointerEventHandler_&&(this.pointerEventHandler_.dispose(),this.pointerEventHandler_=null),t.prototype.disposeInternal.call(this)},e}(h["a"]),et=tt,nt=n("7238"),it=n("592d"),rt={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"},st=n("070d"),ot=n("e269"),at=n("7b4f"),ct=n("acc1"),lt=n("01d4"),ut=n("92fa"),ht=n("38f3"),dt=1/0,ft=function(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}};ft.prototype.clear=function(){this.elements_.length=0,this.priorities_.length=0,Object(ht["b"])(this.queuedElements_)},ft.prototype.dequeue=function(){var t=this.elements_,e=this.priorities_,n=t[0];1==t.length?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));var i=this.keyFunction_(n);return delete this.queuedElements_[i],n},ft.prototype.enqueue=function(t){Object(ut["a"])(!(this.keyFunction_(t)in this.queuedElements_),31);var e=this.priorityFunction_(t);return e!=dt&&(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0)},ft.prototype.getCount=function(){return this.elements_.length},ft.prototype.getLeftChildIndex_=function(t){return 2*t+1},ft.prototype.getRightChildIndex_=function(t){return 2*t+2},ft.prototype.getParentIndex_=function(t){return t-1>>1},ft.prototype.heapify_=function(){var t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)},ft.prototype.isEmpty=function(){return 0===this.elements_.length},ft.prototype.isKeyQueued=function(t){return t in this.queuedElements_},ft.prototype.isQueued=function(t){return this.isKeyQueued(this.keyFunction_(t))},ft.prototype.siftUp_=function(t){var e=this.elements_,n=this.priorities_,i=e.length,r=e[t],s=n[t],o=t;while(t>1){var a=this.getLeftChildIndex_(t),c=this.getRightChildIndex_(t),l=ct){var o=this.getParentIndex_(e);if(!(i[o]>s))break;n[e]=n[o],i[e]=i[o],e=o}n[e]=r,i[e]=s},ft.prototype.reprioritize=function(){var t,e,n,i=this.priorityFunction_,r=this.elements_,s=this.priorities_,o=0,a=r.length;for(e=0;e0)i=this.dequeue()[0],r=i.getKey(),n=i.getState(),n===ct["a"].ABORT?o=!0:n!==ct["a"].IDLE||r in this.tilesLoadingKeys_||(this.tilesLoadingKeys_[r]=!0,++this.tilesLoading_,++s,i.load());0===s&&o&&this.tileChangeCallback_()},e}(pt),mt=_t,gt=n("a2c7"),yt=n("496f"),vt=n("0999"),bt=n("0af5"),Mt=n("57cb"),wt=n("9c78"),xt=n("345d"),Lt=n("a896"),Et=function(t){function e(e){t.call(this);var n=Tt(e);this.maxTilesLoading_=void 0!==e.maxTilesLoading?e.maxTilesLoading:16,this.loadTilesWhileAnimating_=void 0!==e.loadTilesWhileAnimating&&e.loadTilesWhileAnimating,this.loadTilesWhileInteracting_=void 0!==e.loadTilesWhileInteracting&&e.loadTilesWhileInteracting,this.pixelRatio_=void 0!==e.pixelRatio?e.pixelRatio:a["b"],this.animationDelayKey_,this.animationDelay_=function(){this.animationDelayKey_=void 0,this.renderFrame_.call(this,Date.now())}.bind(this),this.coordinateToPixelTransform_=Object(Lt["c"])(),this.pixelToCoordinateTransform_=Object(Lt["c"])(),this.frameIndex_=0,this.frameState_=null,this.previousExtent_=null,this.viewPropertyListenerKey_=null,this.viewChangeListenerKey_=null,this.layerGroupPropertyListenerKeys_=null,this.viewport_=document.createElement("div"),this.viewport_.className="ol-viewport"+(a["h"]?" ol-touch":""),this.viewport_.style.position="relative",this.viewport_.style.overflow="hidden",this.viewport_.style.width="100%",this.viewport_.style.height="100%",this.viewport_.style.msTouchAction="none",this.viewport_.style.touchAction="none",this.overlayContainer_=document.createElement("div"),this.overlayContainer_.className="ol-overlaycontainer",this.viewport_.appendChild(this.overlayContainer_),this.overlayContainerStopEvent_=document.createElement("div"),this.overlayContainerStopEvent_.className="ol-overlaycontainer-stopevent";for(var i=[lt["a"].CLICK,lt["a"].DBLCLICK,lt["a"].MOUSEDOWN,lt["a"].TOUCHSTART,lt["a"].MSPOINTERDOWN,c["a"].POINTERDOWN,lt["a"].MOUSEWHEEL,lt["a"].WHEEL],o=0,l=i.length;o=0;n--){var i=e[n];if(i.getActive()){var r=i.handleEvent(t);if(!r)break}}}},e.prototype.handlePostRender=function(){var t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){var n=this.maxTilesLoading_,i=n;if(t){var r=t.viewHints;r[yt["a"].ANIMATING]&&(n=this.loadTilesWhileAnimating_?8:0,i=2),r[yt["a"].INTERACTING]&&(n=this.loadTilesWhileInteracting_?8:0,i=2)}e.getTilesLoading()p[2]){var g=Math.ceil((p[0]-m)/_);f=[m+_*g,t[1]]}}var y,v=e.layerStatesArray,b=v.length;for(y=b-1;y>=0;--y){var M=v[y],w=M.layer;if(Object(Ft["b"])(M,u)&&o.call(a,w)){var x=this.getLayerRenderer(w),L=w.getSource();if(L&&(c=x.forEachFeatureAtCoordinate(L.getWrapX()?f:t,e,n,h)),c)return c}}},e.prototype.forEachLayerAtPixel=function(t,e,n,r,s,o,a){return Object(i["b"])()},e.prototype.hasFeatureAtCoordinate=function(t,e,n,i,r){var s=this.forEachFeatureAtCoordinate(t,e,n,Mt["b"],this,i,r);return void 0!==s},e.prototype.getLayerRenderer=function(t){var e=Object(i["c"])(t);if(e in this.layerRenderers_)return this.layerRenderers_[e];for(var n,r=0,s=this.layerRendererConstructors_.length;r=0;--c){var p=h[c],_=p.layer;if(Object(Ft["b"])(p,u)&&s.call(o,_)){var m=this.getLayerRenderer(_);if(a=m.forEachLayerAtCoordinate(f,e,n,i,r),a)return a}}},e.prototype.registerLayerRenderers=function(e){t.prototype.registerLayerRenderers.call(this,e);for(var n=0,i=e.length;n=.5&&h>=.5&&n.drawImage(i,0,0,+i.width,+i.height,Math.round(c),Math.round(l),Math.round(u),Math.round(h)),n.globalAlpha=a,s&&n.restore()}this.postCompose(n,t,e)},e.prototype.getImage=function(){return Object(i["b"])()},e.prototype.getImageTransform=function(){return Object(i["b"])()},e.prototype.forEachLayerAtCoordinate=function(t,e,n,i,r){if(this.getImage()){var s=Object(Lt["a"])(this.coordinateToCanvasPixelTransform,t.slice());Object(ae["g"])(s,e.viewState.resolution/this.renderedResolution),this.hitCanvasContext_||(this.hitCanvasContext_=Object(vt["a"])(1,1)),this.hitCanvasContext_.clearRect(0,0,1,1),this.hitCanvasContext_.drawImage(this.getImage(),s[0],s[1],1,1,0,0,1,1);var o=this.hitCanvasContext_.getImageData(0,0,1,1).data;return o[3]>0?i.call(r,this.getLayer(),o):void 0}},e}(de),pe=fe,_e=function(t){function e(n){if(t.call(this,n),this.image_=null,this.imageTransform_=Object(Lt["c"])(),this.skippedFeatures_=[],this.vectorRenderer_=null,n.getType()===At["a"].VECTOR)for(var i=0,r=re.length;i0&&(this.newTiles_=!0):a.setState(ct["a"].LOADED)),this.isDrawableTile_(a)||(a=a.getInterimTile()),a},e.prototype.prepareFrame=function(t,e){var n=t.pixelRatio,r=t.size,s=t.viewState,o=s.projection,a=s.resolution,c=s.center,l=this.getLayer(),u=l.getSource(),h=u.getRevision(),d=u.getTileGridForProjection(o),f=d.getZForResolution(a,this.zDirection),p=d.getResolution(f),_=Math.round(a/p)||1,m=t.extent;if(void 0!==e.extent&&(m=Object(bt["B"])(m,e.extent)),Object(bt["H"])(m))return!1;var g=d.getTileRangeForExtentAndZ(m,f),y=d.getTileRangeExtent(f,g),v=u.getTilePixelRatio(n),b={};b[f]={};var M,w,x,L=this.createLoadedTileFinder(u,o,b),E=t.viewHints,T=E[yt["a"].ANIMATING]||E[yt["a"].INTERACTING],S=this.tmpExtent,O=this.tmpTileRange_;for(this.newTiles_=!1,w=g.minX;w<=g.maxX;++w)for(x=g.minY;x<=g.maxY;++x)if(!(Date.now()-t.time>16&&T)){if(M=this.getTile(f,w,x,n,o),this.isDrawableTile_(M)){var k=Object(i["c"])(this);if(M.getState()==ct["a"].LOADED){b[f][M.tileCoord.toString()]=M;var C=M.inTransition(k);this.newTiles_||!C&&-1!==this.renderedTiles.indexOf(M)||(this.newTiles_=!0)}if(1===M.getAlpha(k,t.time))continue}var I=d.getTileCoordChildTileRange(M.tileCoord,O,S),D=!1;I&&(D=L(f+1,I)),D||d.forEachTileCoordParentTileRange(M.tileCoord,L,null,O,S)}var Y=p*n/v*_;if(!(this.renderedResolution&&Date.now()-t.time>16&&T)&&(this.newTiles_||!this.renderedExtent_||!Object(bt["g"])(this.renderedExtent_,m)||this.renderedRevision!=h||_!=this.oversampling_||!T&&Y!=this.renderedResolution)){var R=this.context;if(R){var N=u.getTilePixelSize(f,n,o),A=Math.round(g.getWidth()*N[0]/_),P=Math.round(g.getHeight()*N[1]/_),j=R.canvas;j.width!=A||j.height!=P?(this.oversampling_=_,j.width=A,j.height=P):((this.renderedExtent_&&!Object(bt["p"])(y,this.renderedExtent_)||this.renderedRevision!=h)&&R.clearRect(0,0,A,P),_=this.oversampling_)}this.renderedTiles.length=0;var F,H,G,q,z,B,$,W,U,V,X,K=Object.keys(b).map(Number);for(K.sort(function(t,e){return t===f?1:e===f?-1:t>e?1:t0},e.prototype.drawTileImage=function(t,e,n,r,s,o,a,c,l){var u=this.getTileImage(t);if(u){var h=Object(i["c"])(this),d=l?t.getAlpha(h,e.time):1,f=this.getLayer(),p=f.getSource();1!==d||p.getOpaque(e.viewState.projection)||this.context.clearRect(r,s,o,a);var _=d!==this.context.globalAlpha;_&&(this.context.save(),this.context.globalAlpha=d),this.context.drawImage(u,c,c,u.width-2*c,u.height-2*c,r,s,o,a),_&&this.context.restore(),1!==d?e.animate=!0:l&&t.endTransition(h)}},e.prototype.getImage=function(){var t=this.context;return t?t.canvas:null},e.prototype.getImageTransform=function(){return this.imageTransform_},e.prototype.getTileImage=function(t){return t.getImage()},e}(pe);ye["handles"]=function(t){return t.getType()===At["a"].TILE},ye["create"]=function(t,e){return new ye(e)},ye.prototype.getLayer;var ve=ye,be=n("0354"),Me=n.n(be),we=function(){};we.prototype.getReplay=function(t,e){return Object(i["b"])()},we.prototype.isEmpty=function(){return Object(i["b"])()},we.prototype.addDeclutter=function(t){return Object(i["b"])()};var xe=we,Le={CIRCLE:"Circle",DEFAULT:"Default",IMAGE:"Image",LINE_STRING:"LineString",POLYGON:"Polygon",TEXT:"Text"},Ee=n("045d"),Te=n("bb6c"),Se=n("5938"),Oe=n("7fc9");function ke(t,e,n,i,r,s,o,a){var c=[],l=t[e]>t[n-i],u=r.length,h=t[e],d=t[e+1];e+=i;for(var f,p,_,m=t[e],g=t[e+1],y=0,v=Math.sqrt(Math.pow(m-h,2)+Math.pow(g-d,2)),b="",M=0,w=0;w0?-Math.PI:Math.PI),void 0!==_){var O=S-_;if(O+=O>Math.PI?-2*Math.PI:O<-Math.PI?2*Math.PI:0,Math.abs(O)>a)return null}var k=T/v,C=Object(Oe["c"])(h,m,k),I=Object(Oe["c"])(d,g,k);_==S?(l&&(f[0]=C,f[1]=I,f[2]=L/2),f[4]=b):(b=x,M=L,f=[C,I,L/2,S,b],l?c.unshift(f):c.push(f),_=S),o+=L}return c}var Ce={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},Ie=[Ce.FILL],De=[Ce.STROKE],Ye=[Ce.BEGIN_PATH],Re=[Ce.CLOSE_PATH],Ne=Ce,Ae=[Le.POLYGON,Le.CIRCLE,Le.LINE_STRING,Le.IMAGE,Le.TEXT,Le.DEFAULT],Pe={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1},je=Object(bt["j"])(),Fe=Object(Lt["c"])(),He=function(t){function e(e,n,i,r,s,o){t.call(this),this.declutterTree=o,this.tolerance=e,this.maxExtent=n,this.overlaps=s,this.pixelRatio=r,this.maxLineWidth=0,this.resolution=i,this.alignFill_,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_=null,this.bufferedMaxExtent_=null,this.instructions=[],this.coordinates=[],this.coordinateCache_={},this.renderedTransform_=Object(Lt["c"])(),this.hitDetectionInstructions=[],this.pixelCoordinates_=null,this.state={},this.viewRotation_=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.replayTextBackground_=function(t,e,n,i,r,s,o){t.beginPath(),t.moveTo.apply(t,e),t.lineTo.apply(t,n),t.lineTo.apply(t,i),t.lineTo.apply(t,r),t.lineTo.apply(t,e),s&&(this.alignFill_=s[2],this.fill_(t)),o&&(this.setStrokeStyle_(t,o),t.stroke())},e.prototype.replayImage_=function(t,e,n,i,r,s,o,a,c,l,u,h,d,f,p,_,m,g){var y=m||g;r*=d,s*=d,e-=r,n-=s;var v,b,M,w,x=p+l>i.width?i.width-l:p,L=a+u>i.height?i.height-u:a,E=_[3]+x*d+_[1],T=_[0]+L*d+_[2],S=e-_[3],O=n-_[0];(y||0!==h)&&(v=[S,O],b=[S+E,O],M=[S+E,O+T],w=[S,O+T]);var k=null;if(0!==h){var C=e+r,I=n+s;k=Object(Lt["b"])(Fe,C,I,1,1,h,-C,-I),Object(bt["l"])(je),Object(bt["r"])(je,Object(Lt["a"])(Fe,v)),Object(bt["r"])(je,Object(Lt["a"])(Fe,b)),Object(bt["r"])(je,Object(Lt["a"])(Fe,M)),Object(bt["r"])(je,Object(Lt["a"])(Fe,w))}else Object(bt["k"])(S,O,S+E,O+T,je);var D=t.canvas,Y=g?g[2]*d/2:0,R=je[0]-Y<=D.width&&je[2]+Y>=0&&je[1]-Y<=D.height&&je[3]+Y>=0;if(f&&(e=Math.round(e),n=Math.round(n)),o){if(!R&&1==o[4])return;Object(bt["q"])(o,je);var N=R?[t,k?k.slice(0):null,c,i,l,u,x,L,e,n,d]:null;N&&y&&N.push(m,g,v,b,M,w),o.push(N)}else R&&(y&&this.replayTextBackground_(t,v,b,M,w,m,g),Object(qt["n"])(t,k,c,i,l,u,x,L,e,n,d))},e.prototype.applyPixelRatio=function(t){var e=this.pixelRatio;return 1==e?t:t.map(function(t){return t*e})},e.prototype.appendFlatCoordinates=function(t,e,n,i,r,s){var o=this.coordinates.length,a=this.getBufferedMaxExtent();s&&(e+=i);var c,l,u,h=[t[e],t[e+1]],d=[NaN,NaN],f=!0;for(c=e+i;c5){var n=t[4];if(1==n||n==t.length-5){var i={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};if(!this.declutterTree.collides(i)){this.declutterTree.insert(i);for(var r=5,s=t.length;r11&&this.replayTextBackground_(o[0],o[13],o[14],o[15],o[16],o[11],o[12]),qt["n"].apply(void 0,o))}}t.length=5,Object(bt["l"])(t)}}},e.prototype.replay_=function(t,e,n,r,s,o,a){var c;this.pixelCoordinates_&&Object(q["b"])(e,this.renderedTransform_)?c=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),c=Object(Wt["c"])(this.coordinates,0,this.coordinates.length,2,e,this.pixelCoordinates_),Object(Lt["g"])(this.renderedTransform_,e));var l,u,h,d,f,p,_,m,g,y,v,b,M=!Object(ht["d"])(n),w=0,x=r.length,L=0,E=0,T=0,S=null,O=null,k=this.coordinateCache_,C=this.viewRotation_,I={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:C},D=this.instructions!=r||this.overlaps?0:200;while(wD&&(this.fill_(t),E=0),T>D&&(t.stroke(),T=0),E||T||(t.beginPath(),d=f=NaN),++w;break;case Ne.CIRCLE:L=Y[1];var N=c[L],A=c[L+1],P=c[L+2],j=c[L+3],F=P-N,H=j-A,G=Math.sqrt(F*F+H*H);t.moveTo(N+G,A),t.arc(N,A,G,0,2*Math.PI,!0),++w;break;case Ne.CLOSE_PATH:t.closePath(),++w;break;case Ne.CUSTOM:L=Y[1],l=Y[2];var z=Y[3],B=Y[4],$=6==Y.length?Y[5]:void 0;I.geometry=z,I.feature=y,w in k||(k[w]=[]);var W=k[w];$?$(c,L,l,2,W):(W[0]=c[L],W[1]=c[L+1],W.length=2),B(W,I),++w;break;case Ne.DRAW_IMAGE:L=Y[1],l=Y[2],g=Y[3],u=Y[4],h=Y[5],m=o?null:Y[6];var U=Y[7],V=Y[8],X=Y[9],K=Y[10],Z=Y[11],J=Y[12],Q=Y[13],tt=Y[14],et=void 0,nt=void 0,it=void 0;for(Y.length>16?(et=Y[15],nt=Y[16],it=Y[17]):(et=qt["j"],nt=it=!1),Z&&(J+=C);Lthis.maxLineWidth&&(this.maxLineWidth=n.lineWidth,this.bufferedMaxExtent_=null)}else n.strokeStyle=void 0,n.lineCap=void 0,n.lineDash=null,n.lineDashOffset=void 0,n.lineJoin=void 0,n.lineWidth=void 0,n.miterLimit=void 0},e.prototype.createFill=function(t,e){var n=t.fillStyle,i=[Ne.SET_FILL_STYLE,n];return"string"!==typeof n&&i.push(!0),i},e.prototype.applyStroke=function(t){this.instructions.push(this.createStroke(t))},e.prototype.createStroke=function(t){return[Ne.SET_STROKE_STYLE,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,this.applyPixelRatio(t.lineDash),t.lineDashOffset*this.pixelRatio]},e.prototype.updateFillStyle=function(t,e,n){var i=t.fillStyle;"string"===typeof i&&t.currentFillStyle==i||(void 0!==i&&this.instructions.push(e.call(this,t,n)),t.currentFillStyle=i)},e.prototype.updateStrokeStyle=function(t,e){var n=t.strokeStyle,i=t.lineCap,r=t.lineDash,s=t.lineDashOffset,o=t.lineJoin,a=t.lineWidth,c=t.miterLimit;(t.currentStrokeStyle!=n||t.currentLineCap!=i||r!=t.currentLineDash&&!Object(q["b"])(t.currentLineDash,r)||t.currentLineDashOffset!=s||t.currentLineJoin!=o||t.currentLineWidth!=a||t.currentMiterLimit!=c)&&(void 0!==n&&e.call(this,t),t.currentStrokeStyle=n,t.currentLineCap=i,t.currentLineDash=r,t.currentLineDashOffset=s,t.currentLineJoin=o,t.currentLineWidth=a,t.currentMiterLimit=c)},e.prototype.endGeometry=function(t,e){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;var n=[Ne.END_GEOMETRY,e];this.instructions.push(n),this.hitDetectionInstructions.push(n)},e.prototype.getBufferedMaxExtent=function(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=Object(bt["d"])(this.maxExtent),this.maxLineWidth>0)){var t=this.resolution*(this.maxLineWidth+1)/2;Object(bt["c"])(this.bufferedMaxExtent_,t,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_},e}(Vt),Ge=He,qe=function(t){function e(e,n,i,r,s,o){t.call(this,e,n,i,r,s,o),this.declutterGroup_=null,this.hitDetectionImage_=null,this.image_=null,this.anchorX_=void 0,this.anchorY_=void 0,this.height_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.scale_=void 0,this.width_=void 0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.drawCoordinates_=function(t,e,n,i){return this.appendFlatCoordinates(t,e,n,i,!1,!1)},e.prototype.drawPoint=function(t,e){if(this.image_){this.beginGeometry(t,e);var n=t.getFlatCoordinates(),i=t.getStride(),r=this.coordinates.length,s=this.drawCoordinates_(n,0,n.length,i);this.instructions.push([Ne.DRAW_IMAGE,r,s,this.image_,this.anchorX_,this.anchorY_,this.declutterGroup_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_*this.pixelRatio,this.width_]),this.hitDetectionInstructions.push([Ne.DRAW_IMAGE,r,s,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.declutterGroup_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_]),this.endGeometry(t,e)}},e.prototype.drawMultiPoint=function(t,e){if(this.image_){this.beginGeometry(t,e);var n=t.getFlatCoordinates(),i=t.getStride(),r=this.coordinates.length,s=this.drawCoordinates_(n,0,n.length,i);this.instructions.push([Ne.DRAW_IMAGE,r,s,this.image_,this.anchorX_,this.anchorY_,this.declutterGroup_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_*this.pixelRatio,this.width_]),this.hitDetectionInstructions.push([Ne.DRAW_IMAGE,r,s,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.declutterGroup_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_]),this.endGeometry(t,e)}},e.prototype.finish=function(){this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0},e.prototype.setImageStyle=function(t,e){var n=t.getAnchor(),i=t.getSize(),r=t.getHitDetectionImage(1),s=t.getImage(1),o=t.getOrigin();this.anchorX_=n[0],this.anchorY_=n[1],this.declutterGroup_=e,this.hitDetectionImage_=r,this.image_=s,this.height_=i[1],this.opacity_=t.getOpacity(),this.originX_=o[0],this.originY_=o[1],this.rotateWithView_=t.getRotateWithView(),this.rotation_=t.getRotation(),this.scale_=t.getScale(),this.width_=i[0]},e}(Ge),ze=qe,Be=function(t){function e(e,n,i,r,s,o){t.call(this,e,n,i,r,s,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.drawFlatCoordinates_=function(t,e,n,i){var r=this.coordinates.length,s=this.appendFlatCoordinates(t,e,n,i,!1,!1),o=[Ne.MOVE_TO_LINE_TO,r,s];return this.instructions.push(o),this.hitDetectionInstructions.push(o),n},e.prototype.drawLineString=function(t,e){var n=this.state,i=n.strokeStyle,r=n.lineWidth;if(void 0!==i&&void 0!==r){this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([Ne.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset],Ye);var s=t.getFlatCoordinates(),o=t.getStride();this.drawFlatCoordinates_(s,0,s.length,o),this.hitDetectionInstructions.push(De),this.endGeometry(t,e)}},e.prototype.drawMultiLineString=function(t,e){var n=this.state,i=n.strokeStyle,r=n.lineWidth;if(void 0!==i&&void 0!==r){this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([Ne.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset],Ye);for(var s=t.getEnds(),o=t.getFlatCoordinates(),a=t.getStride(),c=0,l=0,u=s.length;lt&&(y>g&&(g=y,_=v,m=o),y=0,v=o-r)),a=c,h=f,d=p),l=b,u=M}return y+=c,y>g?[v,o]:[_,m]}var Ze=n("29f6"),Je=function(t){function e(e,n,i,r,s,o){t.call(this,e,n,i,r,s,o),this.declutterGroup_,this.labels_=null,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=void 0,this.textRotation_=0,this.textFillState_=null,this.fillStates={},this.textStrokeState_=null,this.strokeStates={},this.textState_={},this.textStates={},this.textKey_="",this.fillKey_="",this.strokeKey_="",this.widths_={},qt["o"].prune()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.drawText=function(t,e){var n=this.textFillState_,i=this.textStrokeState_,r=this.textState_;if(""!==this.text_&&r&&(n||i)){var s,o,a=this.coordinates.length,c=t.getType(),l=null,u=2,h=2;if(r.placement===Ze["a"].LINE){if(!Object(bt["F"])(this.getBufferedMaxExtent(),t.getExtent()))return;var d;if(l=t.getFlatCoordinates(),h=t.getStride(),c==Bt["a"].LINE_STRING)d=[l.length];else if(c==Bt["a"].MULTI_LINE_STRING)d=t.getEnds();else if(c==Bt["a"].POLYGON)d=t.getEnds().slice(0,1);else if(c==Bt["a"].MULTI_POLYGON){var f=t.getEndss();for(d=[],s=0,o=f.length;s=M)&&l.push(w[s],w[s+1]);if(u=l.length,0==u)return;break;default:}u=this.appendFlatCoordinates(l,0,u,h,!1,!1),(r.backgroundFill||r.backgroundStroke)&&(this.setFillStrokeStyle(r.backgroundFill,r.backgroundStroke),r.backgroundFill&&(this.updateFillStyle(this.state,this.createFill,t),this.hitDetectionInstructions.push(this.createFill(this.state,t))),r.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(t,e),this.drawTextImage_(b,a,u),this.endGeometry(t,e)}}},e.prototype.getImage=function(t,e,n,i){var r,s=i+e+t+n+this.pixelRatio;if(!qt["o"].containsKey(s)){var o=i?this.strokeStates[i]||this.textStrokeState_:null,c=n?this.fillStates[n]||this.textFillState_:null,l=this.textStates[e]||this.textState_,u=this.pixelRatio,h=l.scale*u,d=Pe[l.textAlign||qt["l"]],f=i&&o.lineWidth?o.lineWidth:0,p=t.split("\n"),_=p.length,m=[],g=Qe(l.font,p,m),y=Object(qt["p"])(l.font),v=y*_,b=g+f,M=Object(vt["a"])(Math.ceil(b*h),Math.ceil((v+f)*h));r=M.canvas,qt["o"].set(s,r),1!=h&&M.scale(h,h),M.font=l.font,i&&(M.strokeStyle=o.strokeStyle,M.lineWidth=f,M.lineCap=o.lineCap,M.lineJoin=o.lineJoin,M.miterLimit=o.miterLimit,a["a"]&&o.lineDash.length&&(M.setLineDash(o.lineDash),M.lineDashOffset=o.lineDashOffset)),n&&(M.fillStyle=c.fillStyle),M.textBaseline="middle",M.textAlign="center";var w,x=.5-d,L=d*r.width/h+x*f;if(i)for(w=0;w<_;++w)M.strokeText(p[w],L+x*m[w],.5*(f+y)+w*y);if(n)for(w=0;w<_;++w)M.fillText(p[w],L+x*m[w],.5*(f+y)+w*y)}return qt["o"].get(s)},e.prototype.drawTextImage_=function(t,e,n){var i=this.textState_,r=this.textStrokeState_,s=this.pixelRatio,o=Pe[i.textAlign||qt["l"]],a=Pe[i.textBaseline],c=r&&r.lineWidth?r.lineWidth:0,l=o*t.width/s+2*(.5-o)*c,u=a*t.height/s+2*(.5-a)*c;this.instructions.push([Ne.DRAW_IMAGE,e,n,t,(l-this.textOffsetX_)*s,(u-this.textOffsetY_)*s,this.declutterGroup_,t.height,1,0,0,this.textRotateWithView_,this.textRotation_,1,t.width,i.padding==qt["j"]?qt["j"]:i.padding.map(function(t){return t*s}),!!i.backgroundFill,!!i.backgroundStroke]),this.hitDetectionInstructions.push([Ne.DRAW_IMAGE,e,n,t,(l-this.textOffsetX_)*s,(u-this.textOffsetY_)*s,this.declutterGroup_,t.height,1,0,0,this.textRotateWithView_,this.textRotation_,1/s,t.width,i.padding,!!i.backgroundFill,!!i.backgroundStroke])},e.prototype.drawChars_=function(t,e,n){var i=this.textStrokeState_,r=this.textState_,s=this.textFillState_,o=this.strokeKey_;i&&(o in this.strokeStates||(this.strokeStates[o]={strokeStyle:i.strokeStyle,lineCap:i.lineCap,lineDashOffset:i.lineDashOffset,lineWidth:i.lineWidth,lineJoin:i.lineJoin,miterLimit:i.miterLimit,lineDash:i.lineDash}));var a=this.textKey_;this.textKey_ in this.textStates||(this.textStates[this.textKey_]={font:r.font,textAlign:r.textAlign||qt["l"],scale:r.scale});var c=this.fillKey_;s&&(c in this.fillStates||(this.fillStates[c]={fillStyle:s.fillStyle}));var l=this.pixelRatio,u=Pe[r.textBaseline],h=this.textOffsetY_*l,d=this.text_,f=r.font,p=r.scale,_=i?i.lineWidth*p/2:0,m=this.widths_[f];m||(this.widths_[f]=m={}),this.instructions.push([Ne.DRAW_CHARS,t,e,u,n,r.overflow,c,r.maxAngle,function(t){var e=m[t];return e||(e=m[t]=Object(qt["q"])(f,t)),e*p*l},h,o,_*l,d,a,1]),this.hitDetectionInstructions.push([Ne.DRAW_CHARS,t,e,u,n,r.overflow,c,r.maxAngle,function(t){var e=m[t];return e||(e=m[t]=Object(qt["q"])(f,t)),e*p},h,o,_,d,a,1/l])},e.prototype.setTextStyle=function(t,e){var n,r,s;if(t){this.declutterGroup_=e;var o=t.getFill();o?(r=this.textFillState_,r||(r=this.textFillState_={}),r.fillStyle=Object(zt["a"])(o.getColor()||qt["b"])):r=this.textFillState_=null;var a=t.getStroke();if(a){s=this.textStrokeState_,s||(s=this.textStrokeState_={});var c=a.getLineDash(),l=a.getLineDashOffset(),u=a.getWidth(),h=a.getMiterLimit();s.lineCap=a.getLineCap()||qt["d"],s.lineDash=c?c.slice():qt["e"],s.lineDashOffset=void 0===l?qt["f"]:l,s.lineJoin=a.getLineJoin()||qt["g"],s.lineWidth=void 0===u?qt["h"]:u,s.miterLimit=void 0===h?qt["i"]:h,s.strokeStyle=Object(zt["a"])(a.getColor()||qt["k"])}else s=this.textStrokeState_=null;n=this.textState_;var d=t.getFont()||qt["c"];Object(qt["a"])(d);var f=t.getScale();n.overflow=t.getOverflow(),n.font=d,n.maxAngle=t.getMaxAngle(),n.placement=t.getPlacement(),n.textAlign=t.getTextAlign(),n.textBaseline=t.getTextBaseline()||qt["m"],n.backgroundFill=t.getBackgroundFill(),n.backgroundStroke=t.getBackgroundStroke(),n.padding=t.getPadding()||qt["j"],n.scale=void 0===f?1:f;var p=t.getOffsetX(),_=t.getOffsetY(),m=t.getRotateWithView(),g=t.getRotation();this.text_=t.getText()||"",this.textOffsetX_=void 0===p?0:p,this.textOffsetY_=void 0===_?0:_,this.textRotateWithView_=void 0!==m&&m,this.textRotation_=void 0===g?0:g,this.strokeKey_=s?("string"==typeof s.strokeStyle?s.strokeStyle:Object(i["c"])(s.strokeStyle))+s.lineCap+s.lineDashOffset+"|"+s.lineWidth+s.lineJoin+s.miterLimit+"["+s.lineDash.join()+"]":"",this.textKey_=n.font+n.scale+(n.textAlign||"?"),this.fillKey_=r?"string"==typeof r.fillStyle?r.fillStyle:"|"+Object(i["c"])(r.fillStyle):""}else this.text_=""},e}(Ge);function Qe(t,e,n){for(var i=e.length,r=0,s=0;s0){var r=void 0;return(!h||d!=Le.IMAGE&&d!=Le.TEXT||-1!==h.indexOf(t))&&(r=s(t)),r||void u.clearRect(0,0,c,c)}}this.declutterTree_&&(h=this.declutterTree_.all().map(function(t){return t.value}));var _,m,g,y,v,b=Object.keys(this.replaysByZIndex_).map(Number);for(b.sort(q["g"]),_=b.length-1;_>=0;--_){var M=b[_].toString();for(g=this.replaysByZIndex_[M],m=Ae.length-1;m>=0;--m)if(d=Ae[m],y=g[d],void 0!==y)if(!o||d!=Le.IMAGE&&d!=Le.TEXT){if(v=y.replayHitDetection(u,l,n,r,p,a),v)return v}else{var w=o[M];w?w.push(y,l.slice(0)):o[M]=[y,l.slice(0)]}}},e.prototype.getClipCoords=function(t){var e=this.maxExtent_,n=e[0],i=e[1],r=e[2],s=e[3],o=[n,i,n,s,r,s,r,i];return Object(Wt["c"])(o,0,8,2,t,o),o},e.prototype.getReplay=function(t,e){var n=void 0!==t?t.toString():"0",i=this.replaysByZIndex_[n];void 0===i&&(i={},this.replaysByZIndex_[n]=i);var r=i[e];if(void 0===r){var s=en[e];r=new s(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_,this.overlaps_,this.declutterTree_),i[e]=r}return r},e.prototype.getReplays=function(){return this.replaysByZIndex_},e.prototype.isEmpty=function(){return Object(ht["d"])(this.replaysByZIndex_)},e.prototype.replay=function(t,e,n,i,r,s,o){var a=Object.keys(this.replaysByZIndex_).map(Number);a.sort(q["g"]),t.save(),this.clip(t,e);var c,l,u,h,d,f,p=s||Ae;for(c=0,l=a.length;c=r)for(i=r;i=s)sn(n,t+r,t+s),sn(n,t+s,t+r),sn(n,t-s,t+r),sn(n,t-r,t+s),sn(n,t-r,t-s),sn(n,t-s,t-r),sn(n,t+s,t-r),sn(n,t+r,t-s),s++,o+=1+2*s,2*(o-r)+1>0&&(r-=1,o+=1-2*r);return rn[t]=n,n}function an(t,e,n,i){for(var r=Object.keys(t).map(Number).sort(q["g"]),s={},o=0,a=r.length;ol[2])++D,k=I*D,h=this.getTransform(e,k),p.replay(_,h,c,s,T),C-=I}if(Object(qt["s"])(_,c,S/2,O/2),b&&this.dispatchRenderEvent(_,e,h),_!=t){if(v){var Y=t.globalAlpha;t.globalAlpha=n.opacity,t.drawImage(_.canvas,-g,-y),t.globalAlpha=Y}else t.drawImage(_.canvas,-g,-y);_.translate(-g,-y)}v||(_.globalAlpha=L)}f&&t.restore()},e.prototype.composeFrame=function(t,e,n){var i=this.getTransform(t,0);this.preCompose(n,t,i),this.compose(n,t,e),this.postCompose(n,t,e,i)},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,r,s){if(this.replayGroup_){var o=e.viewState.resolution,a=e.viewState.rotation,c=this.getLayer(),l={},u=this.replayGroup_.forEachFeatureAtCoordinate(t,o,a,n,{},function(t){var e=Object(i["c"])(t);if(!(e in l))return l[e]=!0,r.call(s,t,c)},null);return u}},e.prototype.handleFontsChanged_=function(t){var e=this.getLayer();e.getVisible()&&this.replayGroup_&&e.changed()},e.prototype.handleStyleImageChange_=function(t){this.renderIfReadyAndVisible()},e.prototype.prepareFrame=function(t,e){var n=this.getLayer(),i=n.getSource(),r=t.viewHints[yt["a"].ANIMATING],s=t.viewHints[yt["a"].INTERACTING],o=n.getUpdateWhileAnimating(),a=n.getUpdateWhileInteracting();if(!this.dirty_&&!o&&r||!a&&s)return!0;var c=t.extent,l=t.viewState,u=l.projection,h=l.resolution,d=t.pixelRatio,f=n.getRevision(),p=n.getRenderBuffer(),_=n.getRenderOrder();void 0===_&&(_=hn);var m=Object(bt["c"])(c,p*h),g=l.projection.getExtent();if(i.getWrapX()&&l.projection.canWrapX()&&!Object(bt["g"])(g,t.extent)){var y=Object(bt["E"])(g),v=Math.max(Object(bt["E"])(m)/2,y);m[0]=g[0]-v,m[2]=g[2]+v}if(!this.dirty_&&this.renderedResolution_==h&&this.renderedRevision_==f&&this.renderedRenderOrder_==_&&Object(bt["g"])(this.renderedExtent_,m))return this.replayGroupChanged=!1,!0;this.replayGroup_=null,this.dirty_=!1;var b=new cn(fn(h,d),m,h,d,i.getOverlaps(),this.declutterTree_,n.getRenderBuffer());i.loadFeatures(m,h,u);var M=function(t){var e,i=t.getStyleFunction()||n.getStyleFunction();if(i&&(e=i(t,h)),e){var r=this.renderFeature(t,h,d,e,b);this.dirty_=this.dirty_||r}}.bind(this);if(_){var w=[];i.forEachFeatureInExtent(m,function(t){w.push(t)}),w.sort(_);for(var x=0,L=w.length;x=0;--b){var M=m[b];if(M.getState()!=ct["a"].ABORT)for(var w=M.tileCoord,x=g.getTileCoordExtent(w,this.tmpExtent)[0]-M.extent[0],L=void 0,E=0,T=M.tileKeys.length;E0&&(s=a["a"].determineBoundary(e,n)),this._label.setLocation(t,s)}computeLabelSide(t,e){for(let n=this.iterator();n.hasNext();){const i=n.next();if(i.getLabel().isArea()){const n=i.getLabel().getLocation(t,e);if(n===r["a"].INTERIOR)return this._label.setLocation(t,e,r["a"].INTERIOR),null;n===r["a"].EXTERIOR&&this._label.setLocation(t,e,r["a"].EXTERIOR)}}}getLabel(){return this._label}computeLabelSides(t){this.computeLabelSide(t,o["a"].LEFT),this.computeLabelSide(t,o["a"].RIGHT)}updateIM(t){u["a"].updateIM(this._label,t)}computeLabel(t){let e=!1;for(let n=this.iterator();n.hasNext();){const t=n.next();t.getLabel().isArea()&&(e=!0)}this._label=e?new c["a"](r["a"].NONE,r["a"].NONE,r["a"].NONE):new c["a"](r["a"].NONE);for(let n=0;n<2;n++)this.computeLabelOn(n,t),e&&this.computeLabelSides(n)}}class d extends i["a"]{constructor(){super()}updateIM(t){for(let e=this.iterator();e.hasNext();){const n=e.next();n.updateIM(t)}}insert(t){let e=this._edgeMap.get(t);null===e?(e=new h(t),this.insertEdgeEnd(t,e)):e.insert(t)}}var f=n("e514");class p extends f["a"]{constructor(){super(),p.constructor_.apply(this,arguments)}static constructor_(){const t=arguments[0],e=arguments[1];f["a"].constructor_.call(this,t,e)}updateIMFromEdges(t){this._edges.updateIM(t)}computeIM(t){t.setAtLeastIfValid(this._label.getLocation(0),this._label.getLocation(1),0)}}var _=n("af76");n.d(e,"a",function(){return m});class m extends _["a"]{constructor(){super()}createNode(t){return new p(t,new d)}}},6117:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(t,e){return 12===t&&(t=0),"يېرىم كېچە"===e||"سەھەر"===e||"چۈشتىن بۇرۇن"===e?t:"چۈشتىن كېيىن"===e||"كەچ"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"يېرىم كېچە":i<900?"سەھەر":i<1130?"چۈشتىن بۇرۇن":i<1230?"چۈش":i<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-كۈنى";case"w":case"W":return t+"-ھەپتە";default:return t}},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:7}});return e})},"613b":function(t,e,n){var i=n("5537")("keys"),r=n("ca5a");t.exports=function(t){return i[t]||(i[t]=r(t))}},"617d":function(t,e,n){"use strict";n.d(e,"c",function(){return r}),n.d(e,"g",function(){return s}),n.d(e,"i",function(){return o}),n.d(e,"d",function(){return a}),n.d(e,"b",function(){return c}),n.d(e,"a",function(){return l}),n.d(e,"h",function(){return u}),n.d(e,"f",function(){return h}),n.d(e,"e",function(){return d});var i="undefined"!==typeof navigator?navigator.userAgent.toLowerCase():"",r=-1!==i.indexOf("firefox"),s=-1!==i.indexOf("safari")&&-1==i.indexOf("chrom"),o=-1!==i.indexOf("webkit")&&-1==i.indexOf("edge"),a=-1!==i.indexOf("macintosh"),c=window.devicePixelRatio||1,l=function(){var t=!1;try{t=!!document.createElement("canvas").getContext("2d").setLineDash}catch(t){}return t}(),u=(navigator,"ontouchstart"in window),h="PointerEvent"in window,d=!!navigator.msPointerEnabled},6186:function(t,e,n){"use strict";n("386d"),n("c5f6");var i=n("5d8b"),r=n("d7db"),s=n("cd88");e["a"]={name:"QSearch",mixins:[s["a"],r["a"]],props:{value:{required:!0},type:{type:String,default:"search"},debounce:{type:Number,default:300},icon:String,noIcon:Boolean,upperCase:Boolean,lowerCase:Boolean},data:function(){return{model:this.value,childDebounce:!1}},provide:function(){var t=this,e=function(e){t.model!==e&&(t.model=e)};return{__inputDebounce:{set:e,setNav:e,setChildDebounce:function(e){t.childDebounce=e}}}},watch:{value:function(t){this.model=t},model:function(t){var e=this;clearTimeout(this.timer),this.value!==t&&(t||0===t||(this.model="number"===this.type?null:""),this.timer=setTimeout(function(){e.$emit("input",e.model)},this.debounceValue))}},computed:{debounceValue:function(){return this.childDebounce?0:this.debounce},computedClearValue:function(){return this.isNumber&&0===this.clearValue?this.clearValue:this.clearValue||("number"===this.type?null:"")},controlBefore:function(){var t=(this.before||[]).slice();return this.noIcon||t.unshift({icon:this.icon||this.$q.icon.search.icon,handler:this.focus}),t},controlAfter:function(){var t=(this.after||[]).slice();return this.isClearable&&t.push({icon:this.$q.icon.search["clear".concat(this.isInverted?"Inverted":"")],handler:this.clear}),t}},methods:{clear:function(t){this.$refs.input.clear(t)}},render:function(t){var e=this;return t(i["a"],{ref:"input",staticClass:"q-search",props:{value:this.model,type:this.type,autofocus:this.autofocus,placeholder:this.placeholder||this.$q.i18n.label.search,disable:this.disable,readonly:this.readonly,error:this.error,warning:this.warning,align:this.align,noParentField:this.noParentField,floatLabel:this.floatLabel,stackLabel:this.stackLabel,prefix:this.prefix,suffix:this.suffix,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,color:this.color,rows:this.rows,before:this.controlBefore,after:this.controlAfter,clearValue:this.clearValue,upperCase:this.upperCase,lowerCase:this.lowerCase},attrs:this.$attrs,on:{input:function(t){e.model=t},focus:this.__onFocus,blur:this.__onBlur,keyup:this.__onKeyup,keydown:this.__onKeydown,click:this.__onClick,paste:this.__onPaste,clear:function(t){e.$emit("clear",t),e.__emit()}}},this.$slots.default)}}},"61ca":function(t,e,n){(function(e,n){t.exports=n()})(0,function(){"use strict";function t(t,n,r,s,o){e(t,n,r||0,s||t.length-1,o||i)}function e(t,i,r,s,o){while(s>r){if(s-r>600){var a=s-r+1,c=i-r+1,l=Math.log(a),u=.5*Math.exp(2*l/3),h=.5*Math.sqrt(l*u*(a-u)/a)*(c-a/2<0?-1:1),d=Math.max(r,Math.floor(i-c*u/a+h)),f=Math.min(s,Math.floor(i+(a-c)*u/a+h));e(t,i,d,f,o)}var p=t[i],_=r,m=s;n(t,r,i),o(t[s],p)>0&&n(t,r,s);while(_0)m--}0===o(t[r],p)?n(t,r,m):(m++,n(t,m,s)),m<=i&&(r=m+1),i<=m&&(s=m-1)}}function n(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function i(t,e){return te?1:0}return t})},"621f":function(t,e,n){"use strict";var i=n("1816"),r=function(){};t.exports={getOrigin:function(t){if(!t)return null;var e=new i(t);if("file:"===e.protocol)return null;var n=e.port;return n||(n="https:"===e.protocol?"443":"80"),e.protocol+"//"+e.hostname+":"+n},isOriginEqual:function(t,e){var n=this.getOrigin(t)===this.getOrigin(e);return r("same",t,e,n),n},isSchemeEqual:function(t,e){return t.split(":")[0]===e.split(":")[0]},addPath:function(t,e){var n=t.split("?");return n[0]+e+(n[1]?"?"+n[1]:"")},addQuery:function(t,e){return t+(-1===t.indexOf("?")?"?"+e:"&"+e)}}},"626a":function(t,e,n){var i=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},6336:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("fd89"),r=n("76fd"),s=n("caca");class o{static segmentToSegment(t,e,n,i){if(t.equals(e))return o.pointToSegment(t,n,i);if(n.equals(i))return o.pointToSegment(i,t,e);let a=!1;if(s["a"].intersects(t,e,n,i)){const r=(e.x-t.x)*(i.y-n.y)-(e.y-t.y)*(i.x-n.x);if(0===r)a=!0;else{const s=(t.y-n.y)*(i.x-n.x)-(t.x-n.x)*(i.y-n.y),o=(t.y-n.y)*(e.x-t.x)-(t.x-n.x)*(e.y-t.y),c=o/r,l=s/r;(l<0||l>1||c<0||c>1)&&(a=!0)}}else a=!0;return a?r["a"].min(o.pointToSegment(t,n,i),o.pointToSegment(e,n,i),o.pointToSegment(n,t,e),o.pointToSegment(i,t,e)):0}static pointToSegment(t,e,n){if(e.x===n.x&&e.y===n.y)return t.distance(e);const i=(n.x-e.x)*(n.x-e.x)+(n.y-e.y)*(n.y-e.y),r=((t.x-e.x)*(n.x-e.x)+(t.y-e.y)*(n.y-e.y))/i;if(r<=0)return t.distance(e);if(r>=1)return t.distance(n);const s=((e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y))/i;return Math.abs(s)*Math.sqrt(i)}static pointToLinePerpendicular(t,e,n){const i=(n.x-e.x)*(n.x-e.x)+(n.y-e.y)*(n.y-e.y),r=((e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y))/i;return Math.abs(r)*Math.sqrt(i)}static pointToSegmentString(t,e){if(0===e.length)throw new i["a"]("Line array must contain at least one vertex");let n=t.distance(e[0]);for(let i=0;i=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return e})},"64d9":function(t,e,n){"use strict";var i=n("4cdf"),r=n("38f3"),s=n("1300"),o=n("256f"),a=function(){this.dataProjection=null,this.defaultFeatureProjection=null};a.prototype.getReadOptions=function(t,e){var n;return e&&(n={dataProjection:e.dataProjection?e.dataProjection:this.readProjection(t),featureProjection:e.featureProjection}),this.adaptOptions(n)},a.prototype.adaptOptions=function(t){return Object(r["a"])({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection},t)},a.prototype.getLastExtent=function(){return null},a.prototype.getType=function(){return Object(s["b"])()},a.prototype.readFeature=function(t,e){return Object(s["b"])()},a.prototype.readFeatures=function(t,e){return Object(s["b"])()},a.prototype.readGeometry=function(t,e){return Object(s["b"])()},a.prototype.readProjection=function(t){return Object(s["b"])()},a.prototype.writeFeature=function(t,e){return Object(s["b"])()},a.prototype.writeFeatures=function(t,e){return Object(s["b"])()},a.prototype.writeGeometry=function(t,e){return Object(s["b"])()};var c=a;function l(t,e,n){var i,r=n?Object(o["g"])(n.featureProjection):null,s=n?Object(o["g"])(n.dataProjection):null;if(i=r&&s&&!Object(o["f"])(r,s)?Array.isArray(t)?Object(o["m"])(t,s,r):(e?t.clone():t).transform(e?r:s,e?s:r):t,e&&n&&void 0!==n.decimals&&!Array.isArray(i)){var a=Math.pow(10,n.decimals),c=function(t){for(var e=0,n=t.length;e="a"&&t<="z"||t>="A"&&t<="Z"},P.prototype.isNumeric_=function(t,e){var n=void 0!==e&&e;return t>="0"&&t<="9"||"."==t&&!n},P.prototype.isWhiteSpace_=function(t){return" "==t||"\t"==t||"\r"==t||"\n"==t},P.prototype.nextChar_=function(){return this.wkt.charAt(++this.index_)},P.prototype.nextToken=function(){var t,e=this.nextChar_(),n=this.index_,i=e;if("("==e)t=R.LEFT_PAREN;else if(","==e)t=R.COMMA;else if(")"==e)t=R.RIGHT_PAREN;else if(this.isNumeric_(e)||"-"==e)t=R.NUMBER,i=this.readNumber_();else if(this.isAlpha_(e))t=R.TEXT,i=this.readText_();else{if(this.isWhiteSpace_(e))return this.nextToken();if(""!==e)throw new Error("Unexpected character: "+e);t=R.EOF}return{position:n,value:i,type:t}},P.prototype.readNumber_=function(){var t,e=this.index_,n=!1,i=!1;do{"."==t?n=!0:"e"!=t&&"E"!=t||(i=!0),t=this.nextChar_()}while(this.isNumeric_(t,n)||!i&&("e"==t||"E"==t)||i&&("-"==t||"+"==t));return parseFloat(this.wkt.substring(e,this.index_--))},P.prototype.readText_=function(){var t,e=this.index_;do{t=this.nextChar_()}while(this.isAlpha_(t));return this.wkt.substring(e,this.index_--).toUpperCase()};var j=function(t){this.lexer_=t,this.token_,this.layout_=w["a"].XY};j.prototype.consume_=function(){this.token_=this.lexer_.nextToken()},j.prototype.isTokenType=function(t){var e=this.token_.type==t;return e},j.prototype.match=function(t){var e=this.isTokenType(t);return e&&this.consume_(),e},j.prototype.parse=function(){this.consume_();var t=this.parseGeometry_();return t},j.prototype.parseGeometryLayout_=function(){var t=w["a"].XY,e=this.token_;if(this.isTokenType(R.TEXT)){var n=e.value;n===I?t=w["a"].XYZ:n===D?t=w["a"].XYM:n===Y&&(t=w["a"].XYZM),t!==w["a"].XY&&this.consume_()}return t},j.prototype.parseGeometryCollectionText_=function(){if(this.match(R.LEFT_PAREN)){var t=[];do{t.push(this.parseGeometry_())}while(this.match(R.COMMA));if(this.match(R.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())},j.prototype.parsePointText_=function(){if(this.match(R.LEFT_PAREN)){var t=this.parsePoint_();if(this.match(R.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return null;throw new Error(this.formatErrorMessage_())},j.prototype.parseLineStringText_=function(){if(this.match(R.LEFT_PAREN)){var t=this.parsePointList_();if(this.match(R.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())},j.prototype.parsePolygonText_=function(){if(this.match(R.LEFT_PAREN)){var t=this.parseLineStringTextList_();if(this.match(R.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())},j.prototype.parseMultiPointText_=function(){var t;if(this.match(R.LEFT_PAREN)){if(t=this.token_.type==R.LEFT_PAREN?this.parsePointTextList_():this.parsePointList_(),this.match(R.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())},j.prototype.parseMultiLineStringText_=function(){if(this.match(R.LEFT_PAREN)){var t=this.parseLineStringTextList_();if(this.match(R.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())},j.prototype.parseMultiPolygonText_=function(){if(this.match(R.LEFT_PAREN)){var t=this.parsePolygonTextList_();if(this.match(R.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())},j.prototype.parsePoint_=function(){for(var t=[],e=this.layout_.length,n=0;n0&&(e+=" "+r)}return 0===i.length?e+" "+C:e+"("+i+")"}e["a"]=F},"656e":function(t,e,n){"use strict";var i=n("79aa");function r(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i}),this.resolve=i(e),this.reject=i(n)}t.exports.f=function(t){return new r(t)}},6580:function(t,e,n){"use strict";e["a"]={name:"QCardTitle",render:function(t){return t("div",{staticClass:"q-card-primary q-card-container row no-wrap"},[t("div",{staticClass:"col column"},[t("div",{staticClass:"q-card-title"},this.$slots.default),t("div",{staticClass:"q-card-subtitle"},[this.$slots.subtitle])]),t("div",{staticClass:"col-auto self-center q-card-title-extra"},[this.$slots.right])])}}},"65db":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +var e=t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_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|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return e})},"64d9":function(t,e,n){"use strict";var i=n("4cdf"),r=n("38f3"),s=n("1300"),o=n("256f"),a=function(){this.dataProjection=null,this.defaultFeatureProjection=null};a.prototype.getReadOptions=function(t,e){var n;return e&&(n={dataProjection:e.dataProjection?e.dataProjection:this.readProjection(t),featureProjection:e.featureProjection}),this.adaptOptions(n)},a.prototype.adaptOptions=function(t){return Object(r["a"])({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection},t)},a.prototype.getLastExtent=function(){return null},a.prototype.getType=function(){return Object(s["b"])()},a.prototype.readFeature=function(t,e){return Object(s["b"])()},a.prototype.readFeatures=function(t,e){return Object(s["b"])()},a.prototype.readGeometry=function(t,e){return Object(s["b"])()},a.prototype.readProjection=function(t){return Object(s["b"])()},a.prototype.writeFeature=function(t,e){return Object(s["b"])()},a.prototype.writeFeatures=function(t,e){return Object(s["b"])()},a.prototype.writeGeometry=function(t,e){return Object(s["b"])()};var c=a;function l(t,e,n){var i,r=n?Object(o["g"])(n.featureProjection):null,s=n?Object(o["g"])(n.dataProjection):null;if(i=r&&s&&!Object(o["f"])(r,s)?Array.isArray(t)?Object(o["m"])(t,s,r):(e?t.clone():t).transform(e?r:s,e?s:r):t,e&&n&&void 0!==n.decimals&&!Array.isArray(i)){var a=Math.pow(10,n.decimals),c=function(t){for(var e=0,n=t.length;e="a"&&t<="z"||t>="A"&&t<="Z"},P.prototype.isNumeric_=function(t,e){var n=void 0!==e&&e;return t>="0"&&t<="9"||"."==t&&!n},P.prototype.isWhiteSpace_=function(t){return" "==t||"\t"==t||"\r"==t||"\n"==t},P.prototype.nextChar_=function(){return this.wkt.charAt(++this.index_)},P.prototype.nextToken=function(){var t,e=this.nextChar_(),n=this.index_,i=e;if("("==e)t=R.LEFT_PAREN;else if(","==e)t=R.COMMA;else if(")"==e)t=R.RIGHT_PAREN;else if(this.isNumeric_(e)||"-"==e)t=R.NUMBER,i=this.readNumber_();else if(this.isAlpha_(e))t=R.TEXT,i=this.readText_();else{if(this.isWhiteSpace_(e))return this.nextToken();if(""!==e)throw new Error("Unexpected character: "+e);t=R.EOF}return{position:n,value:i,type:t}},P.prototype.readNumber_=function(){var t,e=this.index_,n=!1,i=!1;do{"."==t?n=!0:"e"!=t&&"E"!=t||(i=!0),t=this.nextChar_()}while(this.isNumeric_(t,n)||!i&&("e"==t||"E"==t)||i&&("-"==t||"+"==t));return parseFloat(this.wkt.substring(e,this.index_--))},P.prototype.readText_=function(){var t,e=this.index_;do{t=this.nextChar_()}while(this.isAlpha_(t));return this.wkt.substring(e,this.index_--).toUpperCase()};var j=function(t){this.lexer_=t,this.token_,this.layout_=w["a"].XY};j.prototype.consume_=function(){this.token_=this.lexer_.nextToken()},j.prototype.isTokenType=function(t){var e=this.token_.type==t;return e},j.prototype.match=function(t){var e=this.isTokenType(t);return e&&this.consume_(),e},j.prototype.parse=function(){this.consume_();var t=this.parseGeometry_();return t},j.prototype.parseGeometryLayout_=function(){var t=w["a"].XY,e=this.token_;if(this.isTokenType(R.TEXT)){var n=e.value;n===I?t=w["a"].XYZ:n===D?t=w["a"].XYM:n===Y&&(t=w["a"].XYZM),t!==w["a"].XY&&this.consume_()}return t},j.prototype.parseGeometryCollectionText_=function(){if(this.match(R.LEFT_PAREN)){var t=[];do{t.push(this.parseGeometry_())}while(this.match(R.COMMA));if(this.match(R.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())},j.prototype.parsePointText_=function(){if(this.match(R.LEFT_PAREN)){var t=this.parsePoint_();if(this.match(R.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return null;throw new Error(this.formatErrorMessage_())},j.prototype.parseLineStringText_=function(){if(this.match(R.LEFT_PAREN)){var t=this.parsePointList_();if(this.match(R.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())},j.prototype.parsePolygonText_=function(){if(this.match(R.LEFT_PAREN)){var t=this.parseLineStringTextList_();if(this.match(R.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())},j.prototype.parseMultiPointText_=function(){var t;if(this.match(R.LEFT_PAREN)){if(t=this.token_.type==R.LEFT_PAREN?this.parsePointTextList_():this.parsePointList_(),this.match(R.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())},j.prototype.parseMultiLineStringText_=function(){if(this.match(R.LEFT_PAREN)){var t=this.parseLineStringTextList_();if(this.match(R.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())},j.prototype.parseMultiPolygonText_=function(){if(this.match(R.LEFT_PAREN)){var t=this.parsePolygonTextList_();if(this.match(R.RIGHT_PAREN))return t}else if(this.isEmptyGeometry_())return[];throw new Error(this.formatErrorMessage_())},j.prototype.parsePoint_=function(){for(var t=[],e=this.layout_.length,n=0;n0&&(e+=" "+r)}return 0===i.length?e+" "+C:e+"("+i+")"}e["a"]=F},"656e":function(t,e,n){"use strict";var i=n("79aa");function r(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i}),this.resolve=i(e),this.reject=i(n)}t.exports.f=function(t){return new r(t)}},6580:function(t,e,n){"use strict";e["a"]={name:"QCardTitle",render:function(t){return t("div",{staticClass:"q-card-primary q-card-container row no-wrap"},[t("div",{staticClass:"col column"},[t("div",{staticClass:"q-card-title"},this.$slots.default),t("div",{staticClass:"q-card-subtitle"},[this.$slots.subtitle])]),t("div",{staticClass:"col-auto self-center q-card-title-extra"},[this.$slots.right])])}}},"65db":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return e})},"668c":function(t,e,n){"use strict";var i=n("55f7");class r extends i["a"]{constructor(){super(),r.constructor_.apply(this,arguments)}static constructor_(){if(0===arguments.length)i["a"].constructor_.call(this);else if(1===arguments.length){const t=arguments[0];i["a"].constructor_.call(this,t)}}}n.d(e,"a",function(){return s});class s{static shouldNeverReachHere(){if(0===arguments.length)s.shouldNeverReachHere(null);else if(1===arguments.length){const t=arguments[0];throw new r("Should never reach here"+(null!==t?": "+t:""))}}static isTrue(){if(1===arguments.length){const t=arguments[0];s.isTrue(t,null)}else if(2===arguments.length){const t=arguments[0],e=arguments[1];if(!t)throw null===e?new r:new r(e)}}static equals(){if(2===arguments.length){const t=arguments[0],e=arguments[1];s.equals(t,e,null)}else if(3===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2];if(!e.equals(t))throw new r("Expected "+t+" but encountered "+e+(null!==n?": "+n:""))}}}},"66bc":function(t,e,n){},6718:function(t,e,n){var i=n("e53d"),r=n("584a"),s=n("b8e3"),o=n("ccb9"),a=n("d9f6").f;t.exports=function(t){var e=r.Symbol||(r.Symbol=s?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:o.f(t)})}},6762:function(t,e,n){"use strict";var i=n("5ca1"),r=n("c366")(!0);i(i.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6780:function(t,e,n){"use strict";var i=n("0388"),r=(n("551c"),n("4082")),s=n.n(r),o=n("a60d"),a=function(t,e){return function(n,i){var r=n.className,a=s()(n,["className"]);return new Promise(function(n,s){if(o["c"])return n();var c=document.createElement("div");document.body.appendChild(c);var l=function(t){n(t),h.$destroy()},u=function(t){s(t||new Error),h.$destroy()},h=new e({el:c,data:function(){return{props:a}},render:function(e){return e(t,{ref:"modal",props:a,class:r,on:{ok:l,cancel:u}})},mounted:function(){this.$refs.modal.show()}});i&&i.then(l,u)})}};e["a"]={install:function(t){var e=t.$q,n=t.Vue;this.create=e.dialog=a(i["a"],n)}}},6784:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration @@ -177,7 +177,7 @@ var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n * vue-router v3.0.1 * (c) 2017 Evan You * @license MIT - */function i(t,e){0}function r(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}var s={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,i=e.children,r=e.parent,s=e.data;s.routerView=!0;var c=r.$createElement,l=n.name,u=r.$route,h=r._routerViewCache||(r._routerViewCache={}),d=0,f=!1;while(r&&r._routerRoot!==r)r.$vnode&&r.$vnode.data.routerView&&d++,r._inactive&&(f=!0),r=r.$parent;if(s.routerViewDepth=d,f)return c(h[l],s,i);var p=u.matched[d];if(!p)return h[l]=null,c();var _=h[l]=p.components[l];s.registerRouteInstance=function(t,e){var n=p.instances[l];(e&&n!==t||!e&&n===t)&&(p.instances[l]=e)},(s.hook||(s.hook={})).prepatch=function(t,e){p.instances[l]=e.componentInstance};var m=s.props=o(u,p.props&&p.props[l]);if(m){m=s.props=a({},m);var g=s.attrs=s.attrs||{};for(var y in m)_.props&&y in _.props||(g[y]=m[y],delete m[y])}return c(_,s,i)}};function o(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}function a(t,e){for(var n in e)t[n]=e[n];return t}var c=/[!'()*]/g,l=function(t){return"%"+t.charCodeAt(0).toString(16)},u=/%2C/g,h=function(t){return encodeURIComponent(t).replace(c,l).replace(u,",")},d=decodeURIComponent;function f(t,e,n){void 0===e&&(e={});var i,r=n||p;try{i=r(t||"")}catch(t){i={}}for(var s in e)i[s]=e[s];return i}function p(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),i=d(n.shift()),r=n.length>0?d(n.join("=")):null;void 0===e[i]?e[i]=r:Array.isArray(e[i])?e[i].push(r):e[i]=[e[i],r]}),e):e}function _(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return h(e);if(Array.isArray(n)){var i=[];return n.forEach(function(t){void 0!==t&&(null===t?i.push(h(e)):i.push(h(e)+"="+h(t)))}),i.join("&")}return h(e)+"="+h(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var m=/\/?$/;function g(t,e,n,i){var r=i&&i.options.stringifyQuery,s=e.query||{};try{s=y(s)}catch(t){}var o={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:s,params:e.params||{},fullPath:M(e,r),matched:t?b(t):[]};return n&&(o.redirectedFrom=M(n,r)),Object.freeze(o)}function y(t){if(Array.isArray(t))return t.map(y);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=y(t[n]);return e}return t}var v=g(null,{path:"/"});function b(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function M(t,e){var n=t.path,i=t.query;void 0===i&&(i={});var r=t.hash;void 0===r&&(r="");var s=e||_;return(n||"/")+s(i)+r}function w(t,e){return e===v?t===e:!!e&&(t.path&&e.path?t.path.replace(m,"")===e.path.replace(m,"")&&t.hash===e.hash&&x(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&x(t.query,e.query)&&x(t.params,e.params)))}function x(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),i=Object.keys(e);return n.length===i.length&&n.every(function(n){var i=t[n],r=e[n];return"object"===typeof i&&"object"===typeof r?x(i,r):String(i)===String(r)})}function L(t,e){return 0===t.path.replace(m,"/").indexOf(e.path.replace(m,"/"))&&(!e.hash||t.hash===e.hash)&&E(t.query,e.query)}function E(t,e){for(var n in e)if(!(n in t))return!1;return!0}var T,S=[String,Object],O=[String,Array],k={name:"router-link",props:{to:{type:S,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:O,default:"click"}},render:function(t){var e=this,n=this.$router,i=this.$route,r=n.resolve(this.to,i,this.append),s=r.location,o=r.route,a=r.href,c={},l=n.options.linkActiveClass,u=n.options.linkExactActiveClass,h=null==l?"router-link-active":l,d=null==u?"router-link-exact-active":u,f=null==this.activeClass?h:this.activeClass,p=null==this.exactActiveClass?d:this.exactActiveClass,_=s.path?g(null,s,null,n):o;c[p]=w(i,_),c[f]=this.exact?c[p]:L(i,_);var m=function(t){C(t)&&(e.replace?n.replace(s):n.push(s))},y={click:C};Array.isArray(this.event)?this.event.forEach(function(t){y[t]=m}):y[this.event]=m;var v={class:c};if("a"===this.tag)v.on=y,v.attrs={href:a};else{var b=I(this.$slots.default);if(b){b.isStatic=!1;var M=T.util.extend,x=b.data=M({},b.data);x.on=y;var E=b.data.attrs=M({},b.data.attrs);E.href=a}else v.on=y}return t(this.tag,v,this.$slots.default)}};function C(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function I(t){if(t)for(var e,n=0;n=0&&(e=t.slice(i),t=t.slice(0,i));var r=t.indexOf("?");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{path:t,query:n,hash:e}}function N(t){return t.replace(/\/\//g,"/")}var P=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},j=it,F=B,H=$,G=V,q=nt,z=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function B(t,e){var n,i=[],r=0,s=0,o="",a=e&&e.delimiter||"/";while(null!=(n=z.exec(t))){var c=n[0],l=n[1],u=n.index;if(o+=t.slice(s,u),s=u+c.length,l)o+=l[1];else{var h=t[s],d=n[2],f=n[3],p=n[4],_=n[5],m=n[6],g=n[7];o&&(i.push(o),o="");var y=null!=d&&null!=h&&h!==d,v="+"===m||"*"===m,b="?"===m||"*"===m,M=n[2]||a,w=p||_;i.push({name:f||r++,prefix:d||"",delimiter:M,optional:b,repeat:v,partial:y,asterisk:!!g,pattern:w?K(w):g?".*":"[^"+X(M)+"]+?"})}}return s-1&&(a.params[d]=n.params[d]);if(l)return a.path=st(l.path,a.params,'named route "'+c+'"'),u(l,a,o)}else if(a.path){a.params={};for(var f=0;f=t.length?n():t[r]?e(t[r],function(){i(r+1)}):i(r+1)};i(0)}function At(t){return function(e,n,i){var s=!1,o=0,a=null;Nt(t,function(t,e,n,c){if("function"===typeof t&&void 0===t.cid){s=!0,o++;var l,u=Ht(function(e){Ft(e)&&(e=e.default),t.resolved="function"===typeof e?e:T.extend(e),n.components[c]=e,o--,o<=0&&i()}),h=Ht(function(t){var e="Failed to resolve async component "+c+": "+t;a||(a=r(t)?t:new Error(e),i(a))});try{l=t(u,h)}catch(t){h(t)}if(l)if("function"===typeof l.then)l.then(u,h);else{var d=l.component;d&&"function"===typeof d.then&&d.then(u,h)}}}),s||i()}}function Nt(t,e){return Pt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function Pt(t){return Array.prototype.concat.apply([],t)}var jt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Ft(t){return t.__esModule||jt&&"Module"===t[Symbol.toStringTag]}function Ht(t){var e=!1;return function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];if(!e)return e=!0,t.apply(this,n)}}var Gt=function(t,e){this.router=t,this.base=qt(e),this.current=v,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function qt(t){if(!t)if(Y){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function zt(t,e){var n,i=Math.max(t.length,e.length);for(n=0;n=0?e.slice(0,n):e;return i+"#"+t}function se(t){Tt?Dt(re(t)):window.location.hash=t}function oe(t){Tt?Yt(re(t)):window.location.replace(re(t))}var ae=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,function(){e.index=n,e.updateRoute(i)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Gt),ce=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=dt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Tt&&!1!==t.fallback,this.fallback&&(e="hash"),Y||(e="abstract"),this.mode=e,e){case"history":this.history=new Jt(this,t.base);break;case"hash":this.history=new te(this,t.base,this.fallback);break;case"abstract":this.history=new ae(this,t.base);break;default:0}},le={currentRoute:{configurable:!0}};function ue(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function he(t,e,n){var i="hash"===n?"#"+e:e;return t?N(t+"/"+i):i}ce.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},le.currentRoute.get=function(){return this.history&&this.history.current},ce.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof Jt)n.transitionTo(n.getCurrentLocation());else if(n instanceof te){var i=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},ce.prototype.beforeEach=function(t){return ue(this.beforeHooks,t)},ce.prototype.beforeResolve=function(t){return ue(this.resolveHooks,t)},ce.prototype.afterEach=function(t){return ue(this.afterHooks,t)},ce.prototype.onReady=function(t,e){this.history.onReady(t,e)},ce.prototype.onError=function(t){this.history.onError(t)},ce.prototype.push=function(t,e,n){this.history.push(t,e,n)},ce.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},ce.prototype.go=function(t){this.history.go(t)},ce.prototype.back=function(){this.go(-1)},ce.prototype.forward=function(){this.go(1)},ce.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},ce.prototype.resolve=function(t,e,n){var i=ut(t,e||this.history.current,n,this),r=this.match(i,e),s=r.redirectedFrom||r.fullPath,o=this.history.base,a=he(o,s,this.mode);return{location:i,route:r,href:a,normalizedTo:i,resolved:r}},ce.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==v&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(ce.prototype,le),ce.install=D,ce.version="3.0.1",Y&&window.Vue&&window.Vue.use(ce),e["a"]=ce},"8cc5":function(t,e,n){"use strict";n.d(e,"c",function(){return r}),n.d(e,"d",function(){return s}),n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a});var i=n("7fc9");function r(t,e){return void 0!==t?0:void 0}function s(t,e){return void 0!==t?t+e:void 0}function o(t){var e=2*Math.PI/t;return function(t,n){return void 0!==t?(t=Math.floor((t+n)/e+.5)*e,t):void 0}}function a(t){var e=t||Object(i["i"])(5);return function(t,n){return void 0!==t?Math.abs(t+n)<=e?0:t+n:void 0}}},"8d47":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; + */function i(t,e){0}function r(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}var s={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,i=e.children,r=e.parent,s=e.data;s.routerView=!0;var c=r.$createElement,l=n.name,u=r.$route,h=r._routerViewCache||(r._routerViewCache={}),d=0,f=!1;while(r&&r._routerRoot!==r)r.$vnode&&r.$vnode.data.routerView&&d++,r._inactive&&(f=!0),r=r.$parent;if(s.routerViewDepth=d,f)return c(h[l],s,i);var p=u.matched[d];if(!p)return h[l]=null,c();var _=h[l]=p.components[l];s.registerRouteInstance=function(t,e){var n=p.instances[l];(e&&n!==t||!e&&n===t)&&(p.instances[l]=e)},(s.hook||(s.hook={})).prepatch=function(t,e){p.instances[l]=e.componentInstance};var m=s.props=o(u,p.props&&p.props[l]);if(m){m=s.props=a({},m);var g=s.attrs=s.attrs||{};for(var y in m)_.props&&y in _.props||(g[y]=m[y],delete m[y])}return c(_,s,i)}};function o(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}function a(t,e){for(var n in e)t[n]=e[n];return t}var c=/[!'()*]/g,l=function(t){return"%"+t.charCodeAt(0).toString(16)},u=/%2C/g,h=function(t){return encodeURIComponent(t).replace(c,l).replace(u,",")},d=decodeURIComponent;function f(t,e,n){void 0===e&&(e={});var i,r=n||p;try{i=r(t||"")}catch(t){i={}}for(var s in e)i[s]=e[s];return i}function p(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),i=d(n.shift()),r=n.length>0?d(n.join("=")):null;void 0===e[i]?e[i]=r:Array.isArray(e[i])?e[i].push(r):e[i]=[e[i],r]}),e):e}function _(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return h(e);if(Array.isArray(n)){var i=[];return n.forEach(function(t){void 0!==t&&(null===t?i.push(h(e)):i.push(h(e)+"="+h(t)))}),i.join("&")}return h(e)+"="+h(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var m=/\/?$/;function g(t,e,n,i){var r=i&&i.options.stringifyQuery,s=e.query||{};try{s=y(s)}catch(t){}var o={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:s,params:e.params||{},fullPath:M(e,r),matched:t?b(t):[]};return n&&(o.redirectedFrom=M(n,r)),Object.freeze(o)}function y(t){if(Array.isArray(t))return t.map(y);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=y(t[n]);return e}return t}var v=g(null,{path:"/"});function b(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function M(t,e){var n=t.path,i=t.query;void 0===i&&(i={});var r=t.hash;void 0===r&&(r="");var s=e||_;return(n||"/")+s(i)+r}function w(t,e){return e===v?t===e:!!e&&(t.path&&e.path?t.path.replace(m,"")===e.path.replace(m,"")&&t.hash===e.hash&&x(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&x(t.query,e.query)&&x(t.params,e.params)))}function x(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),i=Object.keys(e);return n.length===i.length&&n.every(function(n){var i=t[n],r=e[n];return"object"===typeof i&&"object"===typeof r?x(i,r):String(i)===String(r)})}function L(t,e){return 0===t.path.replace(m,"/").indexOf(e.path.replace(m,"/"))&&(!e.hash||t.hash===e.hash)&&E(t.query,e.query)}function E(t,e){for(var n in e)if(!(n in t))return!1;return!0}var T,S=[String,Object],O=[String,Array],k={name:"router-link",props:{to:{type:S,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:O,default:"click"}},render:function(t){var e=this,n=this.$router,i=this.$route,r=n.resolve(this.to,i,this.append),s=r.location,o=r.route,a=r.href,c={},l=n.options.linkActiveClass,u=n.options.linkExactActiveClass,h=null==l?"router-link-active":l,d=null==u?"router-link-exact-active":u,f=null==this.activeClass?h:this.activeClass,p=null==this.exactActiveClass?d:this.exactActiveClass,_=s.path?g(null,s,null,n):o;c[p]=w(i,_),c[f]=this.exact?c[p]:L(i,_);var m=function(t){C(t)&&(e.replace?n.replace(s):n.push(s))},y={click:C};Array.isArray(this.event)?this.event.forEach(function(t){y[t]=m}):y[this.event]=m;var v={class:c};if("a"===this.tag)v.on=y,v.attrs={href:a};else{var b=I(this.$slots.default);if(b){b.isStatic=!1;var M=T.util.extend,x=b.data=M({},b.data);x.on=y;var E=b.data.attrs=M({},b.data.attrs);E.href=a}else v.on=y}return t(this.tag,v,this.$slots.default)}};function C(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function I(t){if(t)for(var e,n=0;n=0&&(e=t.slice(i),t=t.slice(0,i));var r=t.indexOf("?");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{path:t,query:n,hash:e}}function A(t){return t.replace(/\/\//g,"/")}var P=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},j=it,F=B,H=$,G=V,q=nt,z=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function B(t,e){var n,i=[],r=0,s=0,o="",a=e&&e.delimiter||"/";while(null!=(n=z.exec(t))){var c=n[0],l=n[1],u=n.index;if(o+=t.slice(s,u),s=u+c.length,l)o+=l[1];else{var h=t[s],d=n[2],f=n[3],p=n[4],_=n[5],m=n[6],g=n[7];o&&(i.push(o),o="");var y=null!=d&&null!=h&&h!==d,v="+"===m||"*"===m,b="?"===m||"*"===m,M=n[2]||a,w=p||_;i.push({name:f||r++,prefix:d||"",delimiter:M,optional:b,repeat:v,partial:y,asterisk:!!g,pattern:w?K(w):g?".*":"[^"+X(M)+"]+?"})}}return s-1&&(a.params[d]=n.params[d]);if(l)return a.path=st(l.path,a.params,'named route "'+c+'"'),u(l,a,o)}else if(a.path){a.params={};for(var f=0;f=t.length?n():t[r]?e(t[r],function(){i(r+1)}):i(r+1)};i(0)}function Nt(t){return function(e,n,i){var s=!1,o=0,a=null;At(t,function(t,e,n,c){if("function"===typeof t&&void 0===t.cid){s=!0,o++;var l,u=Ht(function(e){Ft(e)&&(e=e.default),t.resolved="function"===typeof e?e:T.extend(e),n.components[c]=e,o--,o<=0&&i()}),h=Ht(function(t){var e="Failed to resolve async component "+c+": "+t;a||(a=r(t)?t:new Error(e),i(a))});try{l=t(u,h)}catch(t){h(t)}if(l)if("function"===typeof l.then)l.then(u,h);else{var d=l.component;d&&"function"===typeof d.then&&d.then(u,h)}}}),s||i()}}function At(t,e){return Pt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function Pt(t){return Array.prototype.concat.apply([],t)}var jt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Ft(t){return t.__esModule||jt&&"Module"===t[Symbol.toStringTag]}function Ht(t){var e=!1;return function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];if(!e)return e=!0,t.apply(this,n)}}var Gt=function(t,e){this.router=t,this.base=qt(e),this.current=v,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function qt(t){if(!t)if(Y){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function zt(t,e){var n,i=Math.max(t.length,e.length);for(n=0;n=0?e.slice(0,n):e;return i+"#"+t}function se(t){Tt?Dt(re(t)):window.location.hash=t}function oe(t){Tt?Yt(re(t)):window.location.replace(re(t))}var ae=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,function(){e.index=n,e.updateRoute(i)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Gt),ce=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=dt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Tt&&!1!==t.fallback,this.fallback&&(e="hash"),Y||(e="abstract"),this.mode=e,e){case"history":this.history=new Jt(this,t.base);break;case"hash":this.history=new te(this,t.base,this.fallback);break;case"abstract":this.history=new ae(this,t.base);break;default:0}},le={currentRoute:{configurable:!0}};function ue(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function he(t,e,n){var i="hash"===n?"#"+e:e;return t?A(t+"/"+i):i}ce.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},le.currentRoute.get=function(){return this.history&&this.history.current},ce.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof Jt)n.transitionTo(n.getCurrentLocation());else if(n instanceof te){var i=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},ce.prototype.beforeEach=function(t){return ue(this.beforeHooks,t)},ce.prototype.beforeResolve=function(t){return ue(this.resolveHooks,t)},ce.prototype.afterEach=function(t){return ue(this.afterHooks,t)},ce.prototype.onReady=function(t,e){this.history.onReady(t,e)},ce.prototype.onError=function(t){this.history.onError(t)},ce.prototype.push=function(t,e,n){this.history.push(t,e,n)},ce.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},ce.prototype.go=function(t){this.history.go(t)},ce.prototype.back=function(){this.go(-1)},ce.prototype.forward=function(){this.go(1)},ce.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},ce.prototype.resolve=function(t,e,n){var i=ut(t,e||this.history.current,n,this),r=this.match(i,e),s=r.redirectedFrom||r.fullPath,o=this.history.base,a=he(o,s,this.mode);return{location:i,route:r,href:a,normalizedTo:i,resolved:r}},ce.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==v&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(ce.prototype,le),ce.install=D,ce.version="3.0.1",Y&&window.Vue&&window.Vue.use(ce),e["a"]=ce},"8cc5":function(t,e,n){"use strict";n.d(e,"c",function(){return r}),n.d(e,"d",function(){return s}),n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a});var i=n("7fc9");function r(t,e){return void 0!==t?0:void 0}function s(t,e){return void 0!==t?t+e:void 0}function o(t){var e=2*Math.PI/t;return function(t,n){return void 0!==t?(t=Math.floor((t+n)/e+.5)*e,t):void 0}}function a(t){var e=t||Object(i["i"])(5);return function(t,n){return void 0!==t?Math.abs(t+n)<=e?0:t+n:void 0}}},"8d47":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration function e(t){return"undefined"!==typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}var n=t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return t?"string"===typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,n){return t>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,n){var i=this._calendarEl[t],r=n&&n.hours();return e(i)&&(i=i.apply(n)),i.replace("{}",r%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});return n})},"8d57":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration @@ -189,7 +189,7 @@ var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n= //! moment.js locale configuration var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},i=t.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,n){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});return i})},"908f":function(t,e,n){},9093:function(t,e,n){var i=n("ce10"),r=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},"90ea":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},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 年"}});return e})},9138:function(t,e,n){t.exports=n("35e8")},9152:function(t,e){e.read=function(t,e,n,i,r){var s,o,a=8*r-i-1,c=(1<>1,u=-7,h=n?r-1:0,d=n?-1:1,f=t[e+h];for(h+=d,s=f&(1<<-u)-1,f>>=-u,u+=a;u>0;s=256*s+t[e+h],h+=d,u-=8);for(o=s&(1<<-u)-1,s>>=-u,u+=i;u>0;o=256*o+t[e+h],h+=d,u-=8);if(0===s)s=1-l;else{if(s===c)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,i),s-=l}return(f?-1:1)*o*Math.pow(2,s-i)},e.write=function(t,e,n,i,r,s){var o,a,c,l=8*s-r-1,u=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:s-1,p=i?1:-1,_=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=u):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),e+=o+h>=1?d/c:d*Math.pow(2,1-h),e*c>=2&&(o++,c/=2),o+h>=u?(a=0,o=u):o+h>=1?(a=(e*c-1)*Math.pow(2,r),o+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,r),o=0));r>=8;t[n+f]=255&a,f+=p,a/=256,r-=8);for(o=o<0;t[n+f]=255&o,f+=p,o/=256,l-=8);t[n+f-p]|=128*_}},"91b1":function(t,e,n){"use strict";var i=n("a504"),r=n("1300"),s=n("acc1"),o=n("ca42"),a=n("0ec0"),c=n("01d4"),l=function(t){function e(e,n,i){t.call(this);var r=i||{};this.tileCoord=e,this.state=n,this.interimTile=null,this.key="",this.transition_=void 0===r.transition?250:r.transition,this.transitionStarts_={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.changed=function(){this.dispatchEvent(c["a"].CHANGE)},e.prototype.getKey=function(){return this.key+"/"+this.tileCoord},e.prototype.getInterimTile=function(){if(!this.interimTile)return this;var t=this.interimTile;do{if(t.getState()==s["a"].LOADED)return t;t=t.interimTile}while(t);return this},e.prototype.refreshInterimChain=function(){if(this.interimTile){var t=this.interimTile,e=this;do{if(t.getState()==s["a"].LOADED){t.interimTile=null;break}t.getState()==s["a"].LOADING?e=t:t.getState()==s["a"].IDLE?e.interimTile=t.interimTile:e=t,t=e.interimTile}while(t)}},e.prototype.getTileCoord=function(){return this.tileCoord},e.prototype.getState=function(){return this.state},e.prototype.setState=function(t){this.state=t,this.changed()},e.prototype.load=function(){},e.prototype.getAlpha=function(t,e){if(!this.transition_)return 1;var n=this.transitionStarts_[t];if(n){if(-1===n)return 1}else n=e,this.transitionStarts_[t]=n;var i=e-n+1e3/60;return i>=this.transition_?1:Object(o["a"])(i/this.transition_)},e.prototype.inTransition=function(t){return!!this.transition_&&-1!==this.transitionStarts_[t]},e.prototype.endTransition=function(t){this.transition_&&(this.transitionStarts_[t]=-1)},e}(a["a"]),u=l,h=n("0999"),d=n("1e8d"),f=function(t){function e(e,n,i,r,s,o){t.call(this,e,n,o),this.crossOrigin_=r,this.src_=i,this.image_=new Image,null!==r&&(this.image_.crossOrigin=r),this.imageListenerKeys_=null,this.tileLoadFunction_=s}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.disposeInternal=function(){this.state==s["a"].LOADING&&(this.unlistenImage_(),this.image_=p()),this.interimTile&&this.interimTile.dispose(),this.state=s["a"].ABORT,this.changed(),t.prototype.disposeInternal.call(this)},e.prototype.getImage=function(){return this.image_},e.prototype.getKey=function(){return this.src_},e.prototype.handleImageError_=function(){this.state=s["a"].ERROR,this.unlistenImage_(),this.image_=p(),this.changed()},e.prototype.handleImageLoad_=function(){var t=this.image_;t.naturalWidth&&t.naturalHeight?this.state=s["a"].LOADED:this.state=s["a"].EMPTY,this.unlistenImage_(),this.changed()},e.prototype.load=function(){this.state==s["a"].ERROR&&(this.state=s["a"].IDLE,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==s["a"].IDLE&&(this.state=s["a"].LOADING,this.changed(),this.imageListenerKeys_=[Object(d["b"])(this.image_,c["a"].ERROR,this.handleImageError_,this),Object(d["b"])(this.image_,c["a"].LOAD,this.handleImageLoad_,this)],this.tileLoadFunction_(this,this.src_))},e.prototype.unlistenImage_=function(){this.imageListenerKeys_.forEach(d["e"]),this.imageListenerKeys_=null},e}(u);function p(){var t=Object(h["a"])(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}var _=f,m=n("5116"),g=n("2c30"),y=function(t){function e(e){t.call(this,e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.expireCache=function(t){while(this.canExpireCache()){var e=this.peekLast(),n=e.tileCoord[0].toString();if(n in t&&t[n].contains(e.tileCoord))break;this.pop().dispose()}},e.prototype.pruneExceptNewestZ=function(){if(0!==this.getCount()){var t=this.peekFirstKey(),e=Object(g["b"])(t),n=e[0];this.forEach(function(t){t.tileCoord[0]!==n&&(this.remove(Object(g["c"])(t.tileCoord)),t.dispose())},this)}},e}(m["a"]),v=y,b=n("256f"),M=n("0af5"),w=n("7fc9"),x=n("3c81"),L=n("b739"),E=function(t){function e(e,n,r,o,a,c,l,u,h,d,f){t.call(this,a,s["a"].IDLE),this.renderEdges_=void 0!==f&&f,this.pixelRatio_=l,this.gutter_=u,this.canvas_=null,this.sourceTileGrid_=n,this.targetTileGrid_=o,this.wrappedTileCoord_=c||a,this.sourceTiles_=[],this.sourcesListenerKeys_=null,this.sourceZ_=0;var p=o.getTileCoordExtent(this.wrappedTileCoord_),_=this.targetTileGrid_.getExtent(),m=this.sourceTileGrid_.getExtent(),g=_?Object(M["B"])(p,_):p;if(0!==Object(M["u"])(g)){var y=e.getExtent();y&&(m=m?Object(M["B"])(m,y):y);var v=o.getResolution(this.wrappedTileCoord_[0]),b=Object(M["x"])(g),E=Object(x["a"])(e,r,b,v);if(!isFinite(E)||E<=0)this.state=s["a"].EMPTY;else{var T=void 0!==d?d:i["b"];if(this.triangulation_=new L["a"](e,r,g,m,E*T),0!==this.triangulation_.getTriangles().length){this.sourceZ_=n.getZForResolution(E);var S=this.triangulation_.calculateSourceExtent();if(m&&(e.canWrapX()?(S[1]=Object(w["a"])(S[1],m[1],m[3]),S[3]=Object(w["a"])(S[3],m[1],m[3])):S=Object(M["B"])(S,m)),Object(M["u"])(S)){for(var O=n.getTileRangeForExtentAndZ(S,this.sourceZ_),k=O.minX;k<=O.maxX;k++)for(var C=O.minY;C<=O.maxY;C++){var I=h(this.sourceZ_,k,C,l);I&&this.sourceTiles_.push(I)}0===this.sourceTiles_.length&&(this.state=s["a"].EMPTY)}else this.state=s["a"].EMPTY}else this.state=s["a"].EMPTY}}else this.state=s["a"].EMPTY}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.disposeInternal=function(){this.state==s["a"].LOADING&&this.unlistenSources_(),t.prototype.disposeInternal.call(this)},e.prototype.getImage=function(){return this.canvas_},e.prototype.reproject_=function(){var t=[];if(this.sourceTiles_.forEach(function(e,n,i){e&&e.getState()==s["a"].LOADED&&t.push({extent:this.sourceTileGrid_.getTileCoordExtent(e.tileCoord),image:e.getImage()})}.bind(this)),this.sourceTiles_.length=0,0===t.length)this.state=s["a"].ERROR;else{var e=this.wrappedTileCoord_[0],n=this.targetTileGrid_.getTileSize(e),i="number"===typeof n?n:n[0],r="number"===typeof n?n:n[1],o=this.targetTileGrid_.getResolution(e),a=this.sourceTileGrid_.getResolution(this.sourceZ_),c=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=Object(x["b"])(i,r,this.pixelRatio_,a,this.sourceTileGrid_.getExtent(),o,c,this.triangulation_,t,this.gutter_,this.renderEdges_),this.state=s["a"].LOADED}this.changed()},e.prototype.load=function(){if(this.state==s["a"].IDLE){this.state=s["a"].LOADING,this.changed();var t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(function(e,n,i){var r=e.getState();if(r==s["a"].IDLE||r==s["a"].LOADING){t++;var o=Object(d["a"])(e,c["a"].CHANGE,function(n){var i=e.getState();i!=s["a"].LOADED&&i!=s["a"].ERROR&&i!=s["a"].EMPTY||(Object(d["e"])(o),t--,0===t&&(this.unlistenSources_(),this.reproject_()))},this);this.sourcesListenerKeys_.push(o)}}.bind(this)),this.sourceTiles_.forEach(function(t,e,n){var i=t.getState();i==s["a"].IDLE&&t.load()}),0===t&&setTimeout(this.reproject_.bind(this),0)}},e.prototype.unlistenSources_=function(){this.sourcesListenerKeys_.forEach(d["e"]),this.sourcesListenerKeys_=null},e}(u),T=E,S=n("92fa");function O(t,e){var n=/\{z\}/g,i=/\{x\}/g,r=/\{y\}/g,s=/\{-y\}/g;return function(o,a,c){return o?t.replace(n,o[0].toString()).replace(i,o[1].toString()).replace(r,function(){var t=-o[2]-1;return t.toString()}).replace(s,function(){var t=o[0],n=e.getFullTileRange(t);Object(S["a"])(n,55);var i=n.getHeight()+o[2];return i.toString()}):void 0}}function k(t,e){for(var n=t.length,i=new Array(n),r=0;r1)))/4)-u((t-1901+e)/100)+u((t-1601+e)/400)};e=function(t){for(r=u(t/864e5),n=u(r/365.2425)+1970-1;f(n+1,0)<=r;n++);for(i=u((r-f(n,0))/30.42);f(n,i+1)<=r;i++);r=1+r-f(n,i),s=(t%864e5+864e5)%864e5,o=u(s/36e5)%24,a=u(s/6e4)%60,c=u(s/1e3)%60,l=s%1e3}}return I=function(t){return t>-1/0&&t<1/0?(e(t),t=(n<=0||n>=1e4?(n<0?"-":"+")+C(6,n<0?-n:n):C(4,n))+"-"+C(2,i+1)+"-"+C(2,r)+"T"+C(2,o)+":"+C(2,a)+":"+C(2,c)+"."+C(3,l)+"Z",n=i=r=o=a=c=l=null):t=null,t},I(t)};if(v("json-stringify")&&!v("date-serialization")){function D(t){return I(this)}var Y=e.stringify;e.stringify=function(t,e,n){var i=s.prototype.toJSON;s.prototype.toJSON=D;var r=Y(t,e,n);return s.prototype.toJSON=i,r}}else{var R="\\u00",A=function(t){var e=t.charCodeAt(0),n=O[e];return n||R+C(2,e.toString(16))},N=/[\x00-\x1f\x22\x5c]/g,P=function(t){return N.lastIndex=0,'"'+(N.test(t)?t.replace(N,A):t)+'"'},j=function(t,e,n,i,r,o,a){var c,u,h,d,p,m,y,v,b;if(g(function(){c=e[t]}),"object"==typeof c&&c&&(c.getUTCFullYear&&_.call(c)==M&&c.toJSON===s.prototype.toJSON?c=I(c):"function"==typeof c.toJSON&&(c=c.toJSON(t))),n&&(c=n.call(e,t,c)),c==f)return c===f?c:"null";switch(u=typeof c,"object"==u&&(h=_.call(c)),h||u){case"boolean":case E:return""+c;case"number":case w:return c>-1/0&&c<1/0?""+c:"null";case"string":case x:return P(""+c)}if("object"==typeof c){for(y=a.length;y--;)if(a[y]===c)throw l();if(a.push(c),d=[],v=o,o+=r,h==L){for(m=0,y=c.length;m0)for(n>10&&(n=10),i="";i.length=48&&r<=57||r>=97&&r<=102||r>=65&&r<=70||z();t+=G("0x"+s.slice(e,F));break;default:z()}else{if(34==r)break;r=s.charCodeAt(F),e=F;while(r>=32&&92!=r&&34!=r)r=s.charCodeAt(++F);t+=s.slice(e,F)}if(34==s.charCodeAt(F))return F++,t;z();default:if(e=F,45==r&&(i=!0,r=s.charCodeAt(++F)),r>=48&&r<=57){for(48==r&&(r=s.charCodeAt(F+1),r>=48&&r<=57)&&z(),i=!1;F=48&&r<=57);F++);if(46==s.charCodeAt(F)){for(n=++F;n57)break;n==F&&z(),F=n}if(r=s.charCodeAt(F),101==r||69==r){for(r=s.charCodeAt(++F),43!=r&&45!=r||F++,n=F;n57)break;n==F&&z(),F=n}return+s.slice(e,F)}i&&z();var a=s.slice(F,F+4);if("true"==a)return F+=4,!0;if("fals"==a&&101==s.charCodeAt(F+4))return F+=5,!1;if("null"==a)return F+=4,null;z()}return"$"},$=function(t){var e,n;if("$"==t&&z(),"string"==typeof t){if("@"==(T?t.charAt(0):t[0]))return t.slice(1);if("["==t){for(e=[];;){if(t=B(),"]"==t)break;n?","==t?(t=B(),"]"==t&&z()):z():n=!0,","==t&&z(),e.push($(t))}return e}if("{"==t){for(e={};;){if(t=B(),"}"==t)break;n?","==t?(t=B(),"}"==t&&z()):z():n=!0,","!=t&&"string"==typeof t&&"@"==(T?t.charAt(0):t[0])&&":"==B()||z(),e[t.slice(1)]=$(B())}return e}z()}return t},W=function(t,e,n){var i=U(t,e,n);i===f?delete t[e]:t[e]=i},U=function(t,e,n){var i,r=t[e];if("object"==typeof r&&r)if(_.call(r)==L)for(i=r.length;i--;)W(_,S,r,i,n);else S(r,function(t){W(r,t,n)});return n.call(t,e,r)};e.parse=function(t,e){var n,i;return F=0,H=""+t,n=$(B()),"$"!=B()&&z(),F=H=null,e&&_.call(e)==b?U((i={},i[""]=n,i),"",e):n}}}return e.runInContext=u,e}if(!l||l.global!==l&&l.window!==l&&l.self!==l||(c=l),a&&!s)u(c,a);else{var h=c.JSON,d=c.JSON3,f=!1,p=u(c,c.JSON3={noConflict:function(){return f||(f=!0,c.JSON=h,c.JSON3=d,h=d=null),p}});c.JSON={parse:p.parse,stringify:p.stringify}}s&&(r=function(){return p}.call(e,n,e,t),void 0===r||(t.exports=r))}).call(this)}).call(this,n("62e4")(t),n("c8ba"))},9338:function(t,e,n){},"93ea":function(t,e,n){},"93f5":function(t,e,n){"use strict";n("f751"),n("c5f6");var i=n("177b"),r=n("b18c"),s=n("1528"),o=n("363b"),a=n("fc6c"),c=n("f62b");e["a"]={name:"QScrollArea",directives:{TouchPan:c["a"]},props:{thumbStyle:{type:Object,default:function(){return{}}},contentStyle:{type:Object,default:function(){return{}}},contentActiveStyle:{type:Object,default:function(){return{}}},delay:{type:Number,default:1e3}},data:function(){return{active:!1,hover:!1,containerHeight:0,scrollPosition:0,scrollHeight:0}},computed:{thumbHidden:function(){return this.scrollHeight<=this.containerHeight||!this.active&&!this.hover},thumbHeight:function(){return Math.round(Object(i["a"])(this.containerHeight*this.containerHeight/this.scrollHeight,50,this.containerHeight))},style:function(){var t=this.scrollPercentage*(this.containerHeight-this.thumbHeight);return Object.assign({},this.thumbStyle,{top:"".concat(t,"px"),height:"".concat(this.thumbHeight,"px")})},mainStyle:function(){return this.thumbHidden?this.contentStyle:this.contentActiveStyle},scrollPercentage:function(){var t=Object(i["a"])(this.scrollPosition/(this.scrollHeight-this.containerHeight),0,1);return Math.round(1e4*t)/1e4}},methods:{setScrollPosition:function(t,e){Object(s["e"])(this.$refs.target,t,e)},__updateContainer:function(t){var e=t.height;this.containerHeight!==e&&(this.containerHeight=e,this.__setActive(!0,!0))},__updateScroll:function(t){var e=t.position;this.scrollPosition!==e&&(this.scrollPosition=e,this.__setActive(!0,!0))},__updateScrollHeight:function(t){var e=t.height;this.scrollHeight!==e&&(this.scrollHeight=e,this.__setActive(!0,!0))},__panThumb:function(t){t.isFirst&&(this.refPos=this.scrollPosition,this.__setActive(!0,!0),document.body.classList.add("non-selectable"),document.selection?document.selection.empty():window.getSelection&&window.getSelection().removeAllRanges()),t.isFinal&&(this.__setActive(!1),document.body.classList.remove("non-selectable"));var e=(this.scrollHeight-this.containerHeight)/(this.containerHeight-this.thumbHeight);this.$refs.target.scrollTop=this.refPos+("down"===t.direction?1:-1)*t.distance.y*e},__panContainer:function(t){t.isFirst&&(this.refPos=this.scrollPosition,this.__setActive(!0,!0)),t.isFinal&&this.__setActive(!1);var e=this.refPos+("down"===t.direction?-1:1)*t.distance.y;this.$refs.target.scrollTop=e,e>0&&e+this.containerHeight0&&e.scrollTop+this.containerHeight=i/2?(a<0?-1:1)*i:0)-a,r&&(o=parseFloat(o.toFixed(r))),Object(s["a"])(o,e,n)}var h={directives:{TouchPan:a["a"]},props:{min:{type:Number,default:1},max:{type:Number,default:5},step:{type:Number,default:1},decimals:Number,snap:Boolean,markers:Boolean,label:Boolean,labelAlways:Boolean,square:Boolean,color:String,fillHandleAlways:Boolean,error:Boolean,warning:Boolean,readonly:Boolean,disable:Boolean},computed:{editable:function(){return!this.disable&&!this.readonly},classes:function(){var t={disabled:this.disable,readonly:this.readonly,"label-always":this.labelAlways,"has-error":this.error,"has-warning":this.warning};return this.error||this.warning||!this.color||(t["text-".concat(this.color)]=!0),t},markersLen:function(){return(this.max-this.min)/this.step+1},labelColor:function(){return this.error?"negative":this.warning?"warning":this.color||"primary"},computedDecimals:function(){return void 0!==this.decimals?this.decimals||0:(String(this.step).trim("0").split(".")[1]||"").length},computedStep:function(){return void 0!==this.decimals?1/Math.pow(10,this.decimals||0):this.step}},methods:{__pan:function(t){var e=this;t.isFinal?this.dragging&&(this.dragTimer=setTimeout(function(){e.dragging=!1},100),this.__end(t.evt),this.__update(!0)):t.isFirst?(clearTimeout(this.dragTimer),this.dragging=this.__getDragging(t.evt)):this.dragging&&(this.__move(t.evt),this.__update())},__update:function(t){var e=this;JSON.stringify(this.model)!==JSON.stringify(this.value)&&(this.$emit("input",this.model),t&&this.$nextTick(function(){JSON.stringify(e.model)!==JSON.stringify(e.value)&&e.$emit("change",e.model)}))},__click:function(t){if(!this.dragging){var e=this.__getDragging(t);e&&(this.__end(t,e),this.__update(!0))}},__getMarkers:function(t){if(this.markers){for(var e=[],n=0;nthis.max?this.model=this.max:this.model=t,this.currentPercentage=(this.model-this.min)/(this.max-this.min))},min:function(t){this.modelt?this.model=t:this.$nextTick(this.__validateProps)},step:function(){this.$nextTick(this.__validateProps)}},methods:{__getDragging:function(t){var e=this.$refs.handle;return{left:e.getBoundingClientRect().left,width:e.offsetWidth}},__move:function(t){var e=c(t,this.dragging,this.$q.i18n.rtl);this.currentPercentage=e,this.model=u(e,this.min,this.max,this.step,this.computedDecimals)},__end:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.dragging,n=c(t,e,this.$q.i18n.rtl);this.model=u(n,this.min,this.max,this.step,this.computedDecimals),this.currentPercentage=(this.model-this.min)/(this.max-this.min)},__onKeyDown:function(t){var e=t.keyCode;if(this.editable&&[37,40,39,38].includes(e)){Object(o["g"])(t);var n=this.computedDecimals,i=t.ctrlKey?10*this.computedStep:this.computedStep,r=[37,40].includes(e)?-i:i,a=n?parseFloat((this.model+r).toFixed(n)):this.model+r;this.model=Object(s["a"])(a,this.min,this.max),this.currentPercentage=(this.model-this.min)/(this.max-this.min),this.__update()}},__onKeyUp:function(t){var e=t.keyCode;this.editable&&[37,40,39,38].includes(e)&&this.__update(!0)},__validateProps:function(){this.min>=this.max?console.error("Range error: min >= max",this.$el,this.min,this.max):l((this.max-this.min)/this.step,this.computedDecimals)&&console.error("Range error: step must be a divisor of max - min",this.min,this.max,this.step,this.computedDecimals)},__getContent:function(t){var e;return[t("div",{staticClass:"q-slider-track active-track",style:{width:this.percentage},class:{"no-transition":this.dragging,"handle-at-minimum":this.model===this.min}}),t("div",{staticClass:"q-slider-handle",style:(e={},r()(e,this.$q.i18n.rtl?"right":"left",this.percentage),r()(e,"borderRadius",this.square?"0":"50%"),e),class:{dragging:this.dragging,"handle-at-minimum":!this.fillHandleAlways&&this.model===this.min},attrs:{tabindex:this.$q.platform.is.desktop?this.editable?0:-1:void 0},on:{keydown:this.__onKeyDown,keyup:this.__onKeyUp}},[this.label||this.labelAlways?t(d["a"],{staticClass:"q-slider-label no-pointer-events",class:{"label-always":this.labelAlways},props:{pointing:"down",square:!0,dense:!0,color:this.labelColor}},[this.displayValue]):null,t("div",{staticClass:"q-slider-ring"})])]}}}},9523:function(t,e,n){var i=n("0a75");function r(t,e,n){return e in t?i(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}t.exports=r},"953c":function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("7b52"),r=n("78c4"),s=n("2709"),o=n("85e4"),a=n("e834"),c=n("c73a");class l{constructor(){l.constructor_.apply(this,arguments)}static constructor_(){this._geom=null;const t=arguments[0];this._geom=t}static locatePointInPolygon(t,e){if(e.isEmpty())return i["a"].EXTERIOR;const n=e.getExteriorRing(),r=l.locatePointInRing(t,n);if(r!==i["a"].INTERIOR)return r;for(let s=0;s=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},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 年"}});return e})},9138:function(t,e,n){t.exports=n("35e8")},9152:function(t,e){e.read=function(t,e,n,i,r){var s,o,a=8*r-i-1,c=(1<>1,u=-7,h=n?r-1:0,d=n?-1:1,f=t[e+h];for(h+=d,s=f&(1<<-u)-1,f>>=-u,u+=a;u>0;s=256*s+t[e+h],h+=d,u-=8);for(o=s&(1<<-u)-1,s>>=-u,u+=i;u>0;o=256*o+t[e+h],h+=d,u-=8);if(0===s)s=1-l;else{if(s===c)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,i),s-=l}return(f?-1:1)*o*Math.pow(2,s-i)},e.write=function(t,e,n,i,r,s){var o,a,c,l=8*s-r-1,u=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:s-1,p=i?1:-1,_=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=u):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),e+=o+h>=1?d/c:d*Math.pow(2,1-h),e*c>=2&&(o++,c/=2),o+h>=u?(a=0,o=u):o+h>=1?(a=(e*c-1)*Math.pow(2,r),o+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,r),o=0));r>=8;t[n+f]=255&a,f+=p,a/=256,r-=8);for(o=o<0;t[n+f]=255&o,f+=p,o/=256,l-=8);t[n+f-p]|=128*_}},"91b1":function(t,e,n){"use strict";var i=n("a504"),r=n("1300"),s=n("acc1"),o=n("ca42"),a=n("0ec0"),c=n("01d4"),l=function(t){function e(e,n,i){t.call(this);var r=i||{};this.tileCoord=e,this.state=n,this.interimTile=null,this.key="",this.transition_=void 0===r.transition?250:r.transition,this.transitionStarts_={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.changed=function(){this.dispatchEvent(c["a"].CHANGE)},e.prototype.getKey=function(){return this.key+"/"+this.tileCoord},e.prototype.getInterimTile=function(){if(!this.interimTile)return this;var t=this.interimTile;do{if(t.getState()==s["a"].LOADED)return t;t=t.interimTile}while(t);return this},e.prototype.refreshInterimChain=function(){if(this.interimTile){var t=this.interimTile,e=this;do{if(t.getState()==s["a"].LOADED){t.interimTile=null;break}t.getState()==s["a"].LOADING?e=t:t.getState()==s["a"].IDLE?e.interimTile=t.interimTile:e=t,t=e.interimTile}while(t)}},e.prototype.getTileCoord=function(){return this.tileCoord},e.prototype.getState=function(){return this.state},e.prototype.setState=function(t){this.state=t,this.changed()},e.prototype.load=function(){},e.prototype.getAlpha=function(t,e){if(!this.transition_)return 1;var n=this.transitionStarts_[t];if(n){if(-1===n)return 1}else n=e,this.transitionStarts_[t]=n;var i=e-n+1e3/60;return i>=this.transition_?1:Object(o["a"])(i/this.transition_)},e.prototype.inTransition=function(t){return!!this.transition_&&-1!==this.transitionStarts_[t]},e.prototype.endTransition=function(t){this.transition_&&(this.transitionStarts_[t]=-1)},e}(a["a"]),u=l,h=n("0999"),d=n("1e8d"),f=function(t){function e(e,n,i,r,s,o){t.call(this,e,n,o),this.crossOrigin_=r,this.src_=i,this.image_=new Image,null!==r&&(this.image_.crossOrigin=r),this.imageListenerKeys_=null,this.tileLoadFunction_=s}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.disposeInternal=function(){this.state==s["a"].LOADING&&(this.unlistenImage_(),this.image_=p()),this.interimTile&&this.interimTile.dispose(),this.state=s["a"].ABORT,this.changed(),t.prototype.disposeInternal.call(this)},e.prototype.getImage=function(){return this.image_},e.prototype.getKey=function(){return this.src_},e.prototype.handleImageError_=function(){this.state=s["a"].ERROR,this.unlistenImage_(),this.image_=p(),this.changed()},e.prototype.handleImageLoad_=function(){var t=this.image_;t.naturalWidth&&t.naturalHeight?this.state=s["a"].LOADED:this.state=s["a"].EMPTY,this.unlistenImage_(),this.changed()},e.prototype.load=function(){this.state==s["a"].ERROR&&(this.state=s["a"].IDLE,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==s["a"].IDLE&&(this.state=s["a"].LOADING,this.changed(),this.imageListenerKeys_=[Object(d["b"])(this.image_,c["a"].ERROR,this.handleImageError_,this),Object(d["b"])(this.image_,c["a"].LOAD,this.handleImageLoad_,this)],this.tileLoadFunction_(this,this.src_))},e.prototype.unlistenImage_=function(){this.imageListenerKeys_.forEach(d["e"]),this.imageListenerKeys_=null},e}(u);function p(){var t=Object(h["a"])(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}var _=f,m=n("5116"),g=n("2c30"),y=function(t){function e(e){t.call(this,e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.expireCache=function(t){while(this.canExpireCache()){var e=this.peekLast(),n=e.tileCoord[0].toString();if(n in t&&t[n].contains(e.tileCoord))break;this.pop().dispose()}},e.prototype.pruneExceptNewestZ=function(){if(0!==this.getCount()){var t=this.peekFirstKey(),e=Object(g["b"])(t),n=e[0];this.forEach(function(t){t.tileCoord[0]!==n&&(this.remove(Object(g["c"])(t.tileCoord)),t.dispose())},this)}},e}(m["a"]),v=y,b=n("256f"),M=n("0af5"),w=n("7fc9"),x=n("3c81"),L=n("b739"),E=function(t){function e(e,n,r,o,a,c,l,u,h,d,f){t.call(this,a,s["a"].IDLE),this.renderEdges_=void 0!==f&&f,this.pixelRatio_=l,this.gutter_=u,this.canvas_=null,this.sourceTileGrid_=n,this.targetTileGrid_=o,this.wrappedTileCoord_=c||a,this.sourceTiles_=[],this.sourcesListenerKeys_=null,this.sourceZ_=0;var p=o.getTileCoordExtent(this.wrappedTileCoord_),_=this.targetTileGrid_.getExtent(),m=this.sourceTileGrid_.getExtent(),g=_?Object(M["B"])(p,_):p;if(0!==Object(M["u"])(g)){var y=e.getExtent();y&&(m=m?Object(M["B"])(m,y):y);var v=o.getResolution(this.wrappedTileCoord_[0]),b=Object(M["x"])(g),E=Object(x["a"])(e,r,b,v);if(!isFinite(E)||E<=0)this.state=s["a"].EMPTY;else{var T=void 0!==d?d:i["b"];if(this.triangulation_=new L["a"](e,r,g,m,E*T),0!==this.triangulation_.getTriangles().length){this.sourceZ_=n.getZForResolution(E);var S=this.triangulation_.calculateSourceExtent();if(m&&(e.canWrapX()?(S[1]=Object(w["a"])(S[1],m[1],m[3]),S[3]=Object(w["a"])(S[3],m[1],m[3])):S=Object(M["B"])(S,m)),Object(M["u"])(S)){for(var O=n.getTileRangeForExtentAndZ(S,this.sourceZ_),k=O.minX;k<=O.maxX;k++)for(var C=O.minY;C<=O.maxY;C++){var I=h(this.sourceZ_,k,C,l);I&&this.sourceTiles_.push(I)}0===this.sourceTiles_.length&&(this.state=s["a"].EMPTY)}else this.state=s["a"].EMPTY}else this.state=s["a"].EMPTY}}else this.state=s["a"].EMPTY}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.disposeInternal=function(){this.state==s["a"].LOADING&&this.unlistenSources_(),t.prototype.disposeInternal.call(this)},e.prototype.getImage=function(){return this.canvas_},e.prototype.reproject_=function(){var t=[];if(this.sourceTiles_.forEach(function(e,n,i){e&&e.getState()==s["a"].LOADED&&t.push({extent:this.sourceTileGrid_.getTileCoordExtent(e.tileCoord),image:e.getImage()})}.bind(this)),this.sourceTiles_.length=0,0===t.length)this.state=s["a"].ERROR;else{var e=this.wrappedTileCoord_[0],n=this.targetTileGrid_.getTileSize(e),i="number"===typeof n?n:n[0],r="number"===typeof n?n:n[1],o=this.targetTileGrid_.getResolution(e),a=this.sourceTileGrid_.getResolution(this.sourceZ_),c=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=Object(x["b"])(i,r,this.pixelRatio_,a,this.sourceTileGrid_.getExtent(),o,c,this.triangulation_,t,this.gutter_,this.renderEdges_),this.state=s["a"].LOADED}this.changed()},e.prototype.load=function(){if(this.state==s["a"].IDLE){this.state=s["a"].LOADING,this.changed();var t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(function(e,n,i){var r=e.getState();if(r==s["a"].IDLE||r==s["a"].LOADING){t++;var o=Object(d["a"])(e,c["a"].CHANGE,function(n){var i=e.getState();i!=s["a"].LOADED&&i!=s["a"].ERROR&&i!=s["a"].EMPTY||(Object(d["e"])(o),t--,0===t&&(this.unlistenSources_(),this.reproject_()))},this);this.sourcesListenerKeys_.push(o)}}.bind(this)),this.sourceTiles_.forEach(function(t,e,n){var i=t.getState();i==s["a"].IDLE&&t.load()}),0===t&&setTimeout(this.reproject_.bind(this),0)}},e.prototype.unlistenSources_=function(){this.sourcesListenerKeys_.forEach(d["e"]),this.sourcesListenerKeys_=null},e}(u),T=E,S=n("92fa");function O(t,e){var n=/\{z\}/g,i=/\{x\}/g,r=/\{y\}/g,s=/\{-y\}/g;return function(o,a,c){return o?t.replace(n,o[0].toString()).replace(i,o[1].toString()).replace(r,function(){var t=-o[2]-1;return t.toString()}).replace(s,function(){var t=o[0],n=e.getFullTileRange(t);Object(S["a"])(n,55);var i=n.getHeight()+o[2];return i.toString()}):void 0}}function k(t,e){for(var n=t.length,i=new Array(n),r=0;r1)))/4)-u((t-1901+e)/100)+u((t-1601+e)/400)};e=function(t){for(r=u(t/864e5),n=u(r/365.2425)+1970-1;f(n+1,0)<=r;n++);for(i=u((r-f(n,0))/30.42);f(n,i+1)<=r;i++);r=1+r-f(n,i),s=(t%864e5+864e5)%864e5,o=u(s/36e5)%24,a=u(s/6e4)%60,c=u(s/1e3)%60,l=s%1e3}}return I=function(t){return t>-1/0&&t<1/0?(e(t),t=(n<=0||n>=1e4?(n<0?"-":"+")+C(6,n<0?-n:n):C(4,n))+"-"+C(2,i+1)+"-"+C(2,r)+"T"+C(2,o)+":"+C(2,a)+":"+C(2,c)+"."+C(3,l)+"Z",n=i=r=o=a=c=l=null):t=null,t},I(t)};if(v("json-stringify")&&!v("date-serialization")){function D(t){return I(this)}var Y=e.stringify;e.stringify=function(t,e,n){var i=s.prototype.toJSON;s.prototype.toJSON=D;var r=Y(t,e,n);return s.prototype.toJSON=i,r}}else{var R="\\u00",N=function(t){var e=t.charCodeAt(0),n=O[e];return n||R+C(2,e.toString(16))},A=/[\x00-\x1f\x22\x5c]/g,P=function(t){return A.lastIndex=0,'"'+(A.test(t)?t.replace(A,N):t)+'"'},j=function(t,e,n,i,r,o,a){var c,u,h,d,p,m,y,v,b;if(g(function(){c=e[t]}),"object"==typeof c&&c&&(c.getUTCFullYear&&_.call(c)==M&&c.toJSON===s.prototype.toJSON?c=I(c):"function"==typeof c.toJSON&&(c=c.toJSON(t))),n&&(c=n.call(e,t,c)),c==f)return c===f?c:"null";switch(u=typeof c,"object"==u&&(h=_.call(c)),h||u){case"boolean":case E:return""+c;case"number":case w:return c>-1/0&&c<1/0?""+c:"null";case"string":case x:return P(""+c)}if("object"==typeof c){for(y=a.length;y--;)if(a[y]===c)throw l();if(a.push(c),d=[],v=o,o+=r,h==L){for(m=0,y=c.length;m0)for(n>10&&(n=10),i="";i.length=48&&r<=57||r>=97&&r<=102||r>=65&&r<=70||z();t+=G("0x"+s.slice(e,F));break;default:z()}else{if(34==r)break;r=s.charCodeAt(F),e=F;while(r>=32&&92!=r&&34!=r)r=s.charCodeAt(++F);t+=s.slice(e,F)}if(34==s.charCodeAt(F))return F++,t;z();default:if(e=F,45==r&&(i=!0,r=s.charCodeAt(++F)),r>=48&&r<=57){for(48==r&&(r=s.charCodeAt(F+1),r>=48&&r<=57)&&z(),i=!1;F=48&&r<=57);F++);if(46==s.charCodeAt(F)){for(n=++F;n57)break;n==F&&z(),F=n}if(r=s.charCodeAt(F),101==r||69==r){for(r=s.charCodeAt(++F),43!=r&&45!=r||F++,n=F;n57)break;n==F&&z(),F=n}return+s.slice(e,F)}i&&z();var a=s.slice(F,F+4);if("true"==a)return F+=4,!0;if("fals"==a&&101==s.charCodeAt(F+4))return F+=5,!1;if("null"==a)return F+=4,null;z()}return"$"},$=function(t){var e,n;if("$"==t&&z(),"string"==typeof t){if("@"==(T?t.charAt(0):t[0]))return t.slice(1);if("["==t){for(e=[];;){if(t=B(),"]"==t)break;n?","==t?(t=B(),"]"==t&&z()):z():n=!0,","==t&&z(),e.push($(t))}return e}if("{"==t){for(e={};;){if(t=B(),"}"==t)break;n?","==t?(t=B(),"}"==t&&z()):z():n=!0,","!=t&&"string"==typeof t&&"@"==(T?t.charAt(0):t[0])&&":"==B()||z(),e[t.slice(1)]=$(B())}return e}z()}return t},W=function(t,e,n){var i=U(t,e,n);i===f?delete t[e]:t[e]=i},U=function(t,e,n){var i,r=t[e];if("object"==typeof r&&r)if(_.call(r)==L)for(i=r.length;i--;)W(_,S,r,i,n);else S(r,function(t){W(r,t,n)});return n.call(t,e,r)};e.parse=function(t,e){var n,i;return F=0,H=""+t,n=$(B()),"$"!=B()&&z(),F=H=null,e&&_.call(e)==b?U((i={},i[""]=n,i),"",e):n}}}return e.runInContext=u,e}if(!l||l.global!==l&&l.window!==l&&l.self!==l||(c=l),a&&!s)u(c,a);else{var h=c.JSON,d=c.JSON3,f=!1,p=u(c,c.JSON3={noConflict:function(){return f||(f=!0,c.JSON=h,c.JSON3=d,h=d=null),p}});c.JSON={parse:p.parse,stringify:p.stringify}}s&&(r=function(){return p}.call(e,n,e,t),void 0===r||(t.exports=r))}).call(this)}).call(this,n("62e4")(t),n("c8ba"))},9338:function(t,e,n){},"93ea":function(t,e,n){},"93f5":function(t,e,n){"use strict";n("f751"),n("c5f6");var i=n("177b"),r=n("b18c"),s=n("1528"),o=n("363b"),a=n("fc6c"),c=n("f62b");e["a"]={name:"QScrollArea",directives:{TouchPan:c["a"]},props:{thumbStyle:{type:Object,default:function(){return{}}},contentStyle:{type:Object,default:function(){return{}}},contentActiveStyle:{type:Object,default:function(){return{}}},delay:{type:Number,default:1e3}},data:function(){return{active:!1,hover:!1,containerHeight:0,scrollPosition:0,scrollHeight:0}},computed:{thumbHidden:function(){return this.scrollHeight<=this.containerHeight||!this.active&&!this.hover},thumbHeight:function(){return Math.round(Object(i["a"])(this.containerHeight*this.containerHeight/this.scrollHeight,50,this.containerHeight))},style:function(){var t=this.scrollPercentage*(this.containerHeight-this.thumbHeight);return Object.assign({},this.thumbStyle,{top:"".concat(t,"px"),height:"".concat(this.thumbHeight,"px")})},mainStyle:function(){return this.thumbHidden?this.contentStyle:this.contentActiveStyle},scrollPercentage:function(){var t=Object(i["a"])(this.scrollPosition/(this.scrollHeight-this.containerHeight),0,1);return Math.round(1e4*t)/1e4}},methods:{setScrollPosition:function(t,e){Object(s["e"])(this.$refs.target,t,e)},__updateContainer:function(t){var e=t.height;this.containerHeight!==e&&(this.containerHeight=e,this.__setActive(!0,!0))},__updateScroll:function(t){var e=t.position;this.scrollPosition!==e&&(this.scrollPosition=e,this.__setActive(!0,!0))},__updateScrollHeight:function(t){var e=t.height;this.scrollHeight!==e&&(this.scrollHeight=e,this.__setActive(!0,!0))},__panThumb:function(t){t.isFirst&&(this.refPos=this.scrollPosition,this.__setActive(!0,!0),document.body.classList.add("non-selectable"),document.selection?document.selection.empty():window.getSelection&&window.getSelection().removeAllRanges()),t.isFinal&&(this.__setActive(!1),document.body.classList.remove("non-selectable"));var e=(this.scrollHeight-this.containerHeight)/(this.containerHeight-this.thumbHeight);this.$refs.target.scrollTop=this.refPos+("down"===t.direction?1:-1)*t.distance.y*e},__panContainer:function(t){t.isFirst&&(this.refPos=this.scrollPosition,this.__setActive(!0,!0)),t.isFinal&&this.__setActive(!1);var e=this.refPos+("down"===t.direction?-1:1)*t.distance.y;this.$refs.target.scrollTop=e,e>0&&e+this.containerHeight0&&e.scrollTop+this.containerHeight=i/2?(a<0?-1:1)*i:0)-a,r&&(o=parseFloat(o.toFixed(r))),Object(s["a"])(o,e,n)}var h={directives:{TouchPan:a["a"]},props:{min:{type:Number,default:1},max:{type:Number,default:5},step:{type:Number,default:1},decimals:Number,snap:Boolean,markers:Boolean,label:Boolean,labelAlways:Boolean,square:Boolean,color:String,fillHandleAlways:Boolean,error:Boolean,warning:Boolean,readonly:Boolean,disable:Boolean},computed:{editable:function(){return!this.disable&&!this.readonly},classes:function(){var t={disabled:this.disable,readonly:this.readonly,"label-always":this.labelAlways,"has-error":this.error,"has-warning":this.warning};return this.error||this.warning||!this.color||(t["text-".concat(this.color)]=!0),t},markersLen:function(){return(this.max-this.min)/this.step+1},labelColor:function(){return this.error?"negative":this.warning?"warning":this.color||"primary"},computedDecimals:function(){return void 0!==this.decimals?this.decimals||0:(String(this.step).trim("0").split(".")[1]||"").length},computedStep:function(){return void 0!==this.decimals?1/Math.pow(10,this.decimals||0):this.step}},methods:{__pan:function(t){var e=this;t.isFinal?this.dragging&&(this.dragTimer=setTimeout(function(){e.dragging=!1},100),this.__end(t.evt),this.__update(!0)):t.isFirst?(clearTimeout(this.dragTimer),this.dragging=this.__getDragging(t.evt)):this.dragging&&(this.__move(t.evt),this.__update())},__update:function(t){var e=this;JSON.stringify(this.model)!==JSON.stringify(this.value)&&(this.$emit("input",this.model),t&&this.$nextTick(function(){JSON.stringify(e.model)!==JSON.stringify(e.value)&&e.$emit("change",e.model)}))},__click:function(t){if(!this.dragging){var e=this.__getDragging(t);e&&(this.__end(t,e),this.__update(!0))}},__getMarkers:function(t){if(this.markers){for(var e=[],n=0;nthis.max?this.model=this.max:this.model=t,this.currentPercentage=(this.model-this.min)/(this.max-this.min))},min:function(t){this.modelt?this.model=t:this.$nextTick(this.__validateProps)},step:function(){this.$nextTick(this.__validateProps)}},methods:{__getDragging:function(t){var e=this.$refs.handle;return{left:e.getBoundingClientRect().left,width:e.offsetWidth}},__move:function(t){var e=c(t,this.dragging,this.$q.i18n.rtl);this.currentPercentage=e,this.model=u(e,this.min,this.max,this.step,this.computedDecimals)},__end:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.dragging,n=c(t,e,this.$q.i18n.rtl);this.model=u(n,this.min,this.max,this.step,this.computedDecimals),this.currentPercentage=(this.model-this.min)/(this.max-this.min)},__onKeyDown:function(t){var e=t.keyCode;if(this.editable&&[37,40,39,38].includes(e)){Object(o["g"])(t);var n=this.computedDecimals,i=t.ctrlKey?10*this.computedStep:this.computedStep,r=[37,40].includes(e)?-i:i,a=n?parseFloat((this.model+r).toFixed(n)):this.model+r;this.model=Object(s["a"])(a,this.min,this.max),this.currentPercentage=(this.model-this.min)/(this.max-this.min),this.__update()}},__onKeyUp:function(t){var e=t.keyCode;this.editable&&[37,40,39,38].includes(e)&&this.__update(!0)},__validateProps:function(){this.min>=this.max?console.error("Range error: min >= max",this.$el,this.min,this.max):l((this.max-this.min)/this.step,this.computedDecimals)&&console.error("Range error: step must be a divisor of max - min",this.min,this.max,this.step,this.computedDecimals)},__getContent:function(t){var e;return[t("div",{staticClass:"q-slider-track active-track",style:{width:this.percentage},class:{"no-transition":this.dragging,"handle-at-minimum":this.model===this.min}}),t("div",{staticClass:"q-slider-handle",style:(e={},r()(e,this.$q.i18n.rtl?"right":"left",this.percentage),r()(e,"borderRadius",this.square?"0":"50%"),e),class:{dragging:this.dragging,"handle-at-minimum":!this.fillHandleAlways&&this.model===this.min},attrs:{tabindex:this.$q.platform.is.desktop?this.editable?0:-1:void 0},on:{keydown:this.__onKeyDown,keyup:this.__onKeyUp}},[this.label||this.labelAlways?t(d["a"],{staticClass:"q-slider-label no-pointer-events",class:{"label-always":this.labelAlways},props:{pointing:"down",square:!0,dense:!0,color:this.labelColor}},[this.displayValue]):null,t("div",{staticClass:"q-slider-ring"})])]}}}},9523:function(t,e,n){var i=n("0a75");function r(t,e,n){return e in t?i(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}t.exports=r},"953c":function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("7b52"),r=n("78c4"),s=n("2709"),o=n("85e4"),a=n("e834"),c=n("c73a");class l{constructor(){l.constructor_.apply(this,arguments)}static constructor_(){this._geom=null;const t=arguments[0];this._geom=t}static locatePointInPolygon(t,e){if(e.isEmpty())return i["a"].EXTERIOR;const n=e.getExteriorRing(),r=l.locatePointInRing(t,n);if(r!==i["a"].INTERIOR)return r;for(let s=0;s=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,i){var r={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===i?n?"минута":"минуту":t+" "+e(r[i],+t)}var i=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],r=t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:n,m:n,mm:n,h:"час",hh:n,d:"день",dd:n,w:"неделя",ww:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}});return r})},"958b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration @@ -201,18 +201,18 @@ var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0 //! moment.js locale configuration function e(t,e,n){var i={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},r=" ";return(t%100>=20||t>=100&&t%100===0)&&(r=" de "),t+r+i[n]}var n=t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,w:"o săptămână",ww:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}});return n})},9769:function(t,e,n){"use strict";n.d(e,"e",function(){return s}),n.d(e,"a",function(){return o}),n.d(e,"f",function(){return a}),n.d(e,"d",function(){return c}),n.d(e,"b",function(){return l}),n.d(e,"c",function(){return u});var i=n("7fc9");function r(t,e,n,r,s,o,a){var c,l=t[e],u=t[e+1],h=t[n]-l,d=t[n+1]-u;if(0===h&&0===d)c=e;else{var f=((s-l)*h+(o-u)*d)/(h*h+d*d);if(f>1)c=n;else{if(f>0){for(var p=0;ps&&(s=u),o=c,a=l}return s}function o(t,e,n,i,r){for(var o=0,a=n.length;o20?n=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(n=i[e]),t+n},week:{dow:1,doy:4}});return e})},"97a1":function(t,e,n){},"97a2":function(t,e,n){"use strict";function i(){this._listeners={}}i.prototype.addEventListener=function(t,e){t in this._listeners||(this._listeners[t]=[]);var n=this._listeners[t];-1===n.indexOf(e)&&(n=n.concat([e])),this._listeners[t]=n},i.prototype.removeEventListener=function(t,e){var n=this._listeners[t];if(n){var i=n.indexOf(e);-1===i||(n.length>1?this._listeners[t]=n.slice(0,i).concat(n.slice(i+1)):delete this._listeners[t])}},i.prototype.dispatchEvent=function(){var t=arguments[0],e=t.type,n=1===arguments.length?[t]:Array.apply(null,arguments);if(this["on"+e]&&this["on"+e].apply(this,n),e in this._listeners)for(var i=this._listeners[e],r=0;r0){if(s<=0)return o.signum(a);i=r+s}else{if(!(r<0))return o.signum(a);if(s>=0)return o.signum(a);i=-r-s}const c=o.DP_SAFE_EPSILON*i;return a>=c||-a>=c?o.signum(a):2}static signum(t){return t>0?1:t<0?-1:0}}o.DP_SAFE_EPSILON=1e-15},"9a83":function(t,e,n){"use strict";function i(t){this.type=t}i.prototype.initEvent=function(t,e,n){return this.type=t,this.bubbles=e,this.cancelable=n,this.timeStamp=+new Date,this},i.prototype.stopPropagation=function(){},i.prototype.preventDefault=function(){},i.CAPTURING_PHASE=1,i.AT_TARGET=2,i.BUBBLING_PHASE=3,t.exports=i},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9abc":function(t,e,n){"use strict";n.d(e,"b",function(){return d});var i=n("1300"),r=n("0af5"),s=n("8f37"),o=n("521b"),a=n("bef8"),c=n("38f3"),l=function(t){function e(){t.call(this),this.layout=o["a"].XY,this.stride=2,this.flatCoordinates=null}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.computeExtent=function(t){return Object(r["o"])(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.getCoordinates=function(){return Object(i["b"])()},e.prototype.getFirstCoordinate=function(){return this.flatCoordinates.slice(0,this.stride)},e.prototype.getFlatCoordinates=function(){return this.flatCoordinates},e.prototype.getLastCoordinate=function(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)},e.prototype.getLayout=function(){return this.layout},e.prototype.getSimplifiedGeometry=function(t){if(this.simplifiedGeometryRevision!=this.getRevision()&&(Object(c["b"])(this.simplifiedGeometryCache),this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;var e=t.toString();if(this.simplifiedGeometryCache.hasOwnProperty(e))return this.simplifiedGeometryCache[e];var n=this.getSimplifiedGeometryInternal(t),i=n.getFlatCoordinates();return i.length0?r(i(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"9e58":function(t,e,n){"use strict";n("551c"),n("f751"),n("28a5");var i=n("0707"),r=n("52b5"),s=n("482e"),o=n("1731"),a=n("b5b8");e["a"]={name:"QBtnDropdown",mixins:[i["a"]],props:{value:Boolean,split:Boolean,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],popoverAnchor:{type:String,default:"bottom right"},popoverSelf:{type:String,default:"top right"}},data:function(){return{showing:this.value}},watch:{value:function(t){this.$refs.popover&&this.$refs.popover[t?"show":"hide"]()}},render:function(t){var e=this,n=t(a["a"],{ref:"popover",props:{disable:this.disable,fit:!0,anchorClick:!this.split,anchor:this.popoverAnchor,self:this.popoverSelf},class:this.contentClass,style:this.contentStyle,on:{show:function(t){e.showing=!0,e.$emit("show",t),e.$emit("input",!0)},hide:function(t){e.showing=!1,e.$emit("hide",t),e.$emit("input",!1)}}},this.$slots.default),i=t(r["a"],{props:{name:this.$q.icon.input.dropdown},staticClass:"transition-generic",class:{"rotate-180":this.showing,"on-right":!this.split,"q-btn-dropdown-arrow":!this.split}}),c=t(s["a"],{props:Object.assign({},this.$props,{iconRight:this.split?this.iconRight:null}),class:this.split?"q-btn-dropdown-current":"q-btn-dropdown q-btn-dropdown-simple",on:{click:function(t){e.split&&e.hide(),e.disable||e.$emit("click",t)}}},this.split?null:[i,n]);return this.split?t(o["a"],{props:{outline:this.outline,flat:this.flat,rounded:this.rounded,push:this.push},staticClass:"q-btn-dropdown q-btn-dropdown-split no-wrap q-btn-item"},[c,t(s["a"],{props:{disable:this.disable,outline:this.outline,flat:this.flat,rounded:this.rounded,push:this.push,size:this.size,color:this.color,textColor:this.textColor,dense:this.dense,glossy:this.glossy,noRipple:this.noRipple,waitForRipple:this.waitForRipple},staticClass:"q-btn-dropdown-arrow",on:{click:function(){e.toggle()}}},[i]),[n]]):c},methods:{toggle:function(){return this.$refs.popover?this.$refs.popover.toggle():Promise.resolve()},show:function(){return this.$refs.popover?this.$refs.popover.show():Promise.resolve()},hide:function(){return this.$refs.popover?this.$refs.popover.hide():Promise.resolve()}},mounted:function(){var t=this;this.$nextTick(function(){t.value&&t.$refs.popover&&t.$refs.popover.show()})}}},"9e6a":function(t,e,n){"use strict";var i=n("d233"),r=Object.prototype.hasOwnProperty,s=Array.isArray,o={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:i.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(t){return t.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(parseInt(e,10))})},c=function(t,e){return t&&"string"===typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},l="utf8=%26%2310003%3B",u="utf8=%E2%9C%93",h=function(t,e){var n,h={},d=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,p=d.split(e.delimiter,f),_=-1,m=e.charset;if(e.charsetSentinel)for(n=0;n-1&&(y=s(y)?[y]:y),r.call(h,g)?h[g]=i.combine(h[g],y):h[g]=y}return h},d=function(t,e,n,i){for(var r=i?e:c(e,n),s=t.length-1;s>=0;--s){var o,a=t[s];if("[]"===a&&n.parseArrays)o=[].concat(r);else{o=n.plainObjects?Object.create(null):{};var l="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,u=parseInt(l,10);n.parseArrays||""!==l?!isNaN(u)&&a!==l&&String(u)===l&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(o=[],o[u]=r):"__proto__"!==l&&(o[l]=r):o={0:r}}r=o}return r},f=function(t,e,n,i){if(t){var s=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,c=n.depth>0&&o.exec(s),l=c?s.slice(0,c.index):s,u=[];if(l){if(!n.plainObjects&&r.call(Object.prototype,l)&&!n.allowPrototypes)return;u.push(l)}var h=0;while(n.depth>0&&null!==(c=a.exec(s))&&he.x?t.x:e.x,l=t.y>e.y?t.y:e.y,u=n.xs.x?n.x:s.x,f=n.y>s.y?n.y:s.y,p=o>u?o:u,_=ch?a:h,g=l20?n=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(n=i[e]),t+n},week:{dow:1,doy:4}});return e})},"97a1":function(t,e,n){},"97a2":function(t,e,n){"use strict";function i(){this._listeners={}}i.prototype.addEventListener=function(t,e){t in this._listeners||(this._listeners[t]=[]);var n=this._listeners[t];-1===n.indexOf(e)&&(n=n.concat([e])),this._listeners[t]=n},i.prototype.removeEventListener=function(t,e){var n=this._listeners[t];if(n){var i=n.indexOf(e);-1===i||(n.length>1?this._listeners[t]=n.slice(0,i).concat(n.slice(i+1)):delete this._listeners[t])}},i.prototype.dispatchEvent=function(){var t=arguments[0],e=t.type,n=1===arguments.length?[t]:Array.apply(null,arguments);if(this["on"+e]&&this["on"+e].apply(this,n),e in this._listeners)for(var i=this._listeners[e],r=0;r0){if(s<=0)return o.signum(a);i=r+s}else{if(!(r<0))return o.signum(a);if(s>=0)return o.signum(a);i=-r-s}const c=o.DP_SAFE_EPSILON*i;return a>=c||-a>=c?o.signum(a):2}static signum(t){return t>0?1:t<0?-1:0}}o.DP_SAFE_EPSILON=1e-15},"9a83":function(t,e,n){"use strict";function i(t){this.type=t}i.prototype.initEvent=function(t,e,n){return this.type=t,this.bubbles=e,this.cancelable=n,this.timeStamp=+new Date,this},i.prototype.stopPropagation=function(){},i.prototype.preventDefault=function(){},i.CAPTURING_PHASE=1,i.AT_TARGET=2,i.BUBBLING_PHASE=3,t.exports=i},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9abc":function(t,e,n){"use strict";n.d(e,"b",function(){return d});var i=n("1300"),r=n("0af5"),s=n("8f37"),o=n("521b"),a=n("bef8"),c=n("38f3"),l=function(t){function e(){t.call(this),this.layout=o["a"].XY,this.stride=2,this.flatCoordinates=null}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.computeExtent=function(t){return Object(r["o"])(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.getCoordinates=function(){return Object(i["b"])()},e.prototype.getFirstCoordinate=function(){return this.flatCoordinates.slice(0,this.stride)},e.prototype.getFlatCoordinates=function(){return this.flatCoordinates},e.prototype.getLastCoordinate=function(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)},e.prototype.getLayout=function(){return this.layout},e.prototype.getSimplifiedGeometry=function(t){if(this.simplifiedGeometryRevision!=this.getRevision()&&(Object(c["b"])(this.simplifiedGeometryCache),this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;var e=t.toString();if(this.simplifiedGeometryCache.hasOwnProperty(e))return this.simplifiedGeometryCache[e];var n=this.getSimplifiedGeometryInternal(t),i=n.getFlatCoordinates();return i.length0?r(i(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"9e58":function(t,e,n){"use strict";n("551c"),n("f751"),n("28a5");var i=n("0707"),r=n("52b5"),s=n("482e"),o=n("1731"),a=n("b5b8");e["a"]={name:"QBtnDropdown",mixins:[i["a"]],props:{value:Boolean,split:Boolean,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],popoverAnchor:{type:String,default:"bottom right"},popoverSelf:{type:String,default:"top right"}},data:function(){return{showing:this.value}},watch:{value:function(t){this.$refs.popover&&this.$refs.popover[t?"show":"hide"]()}},render:function(t){var e=this,n=t(a["a"],{ref:"popover",props:{disable:this.disable,fit:!0,anchorClick:!this.split,anchor:this.popoverAnchor,self:this.popoverSelf},class:this.contentClass,style:this.contentStyle,on:{show:function(t){e.showing=!0,e.$emit("show",t),e.$emit("input",!0)},hide:function(t){e.showing=!1,e.$emit("hide",t),e.$emit("input",!1)}}},this.$slots.default),i=t(r["a"],{props:{name:this.$q.icon.input.dropdown},staticClass:"transition-generic",class:{"rotate-180":this.showing,"on-right":!this.split,"q-btn-dropdown-arrow":!this.split}}),c=t(s["a"],{props:Object.assign({},this.$props,{iconRight:this.split?this.iconRight:null}),class:this.split?"q-btn-dropdown-current":"q-btn-dropdown q-btn-dropdown-simple",on:{click:function(t){e.split&&e.hide(),e.disable||e.$emit("click",t)}}},this.split?null:[i,n]);return this.split?t(o["a"],{props:{outline:this.outline,flat:this.flat,rounded:this.rounded,push:this.push},staticClass:"q-btn-dropdown q-btn-dropdown-split no-wrap q-btn-item"},[c,t(s["a"],{props:{disable:this.disable,outline:this.outline,flat:this.flat,rounded:this.rounded,push:this.push,size:this.size,color:this.color,textColor:this.textColor,dense:this.dense,glossy:this.glossy,noRipple:this.noRipple,waitForRipple:this.waitForRipple},staticClass:"q-btn-dropdown-arrow",on:{click:function(){e.toggle()}}},[i]),[n]]):c},methods:{toggle:function(){return this.$refs.popover?this.$refs.popover.toggle():Promise.resolve()},show:function(){return this.$refs.popover?this.$refs.popover.show():Promise.resolve()},hide:function(){return this.$refs.popover?this.$refs.popover.hide():Promise.resolve()}},mounted:function(){var t=this;this.$nextTick(function(){t.value&&t.$refs.popover&&t.$refs.popover.show()})}}},"9e6a":function(t,e,n){"use strict";var i=n("d233"),r=Object.prototype.hasOwnProperty,s=Array.isArray,o={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:i.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(t){return t.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(parseInt(e,10))})},c=function(t,e){return t&&"string"===typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},l="utf8=%26%2310003%3B",u="utf8=%E2%9C%93",h=function(t,e){var n,h={},d=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,p=d.split(e.delimiter,f),_=-1,m=e.charset;if(e.charsetSentinel)for(n=0;n-1&&(y=s(y)?[y]:y),r.call(h,g)?h[g]=i.combine(h[g],y):h[g]=y}return h},d=function(t,e,n,i){for(var r=i?e:c(e,n),s=t.length-1;s>=0;--s){var o,a=t[s];if("[]"===a&&n.parseArrays)o=[].concat(r);else{o=n.plainObjects?Object.create(null):{};var l="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,u=parseInt(l,10);n.parseArrays||""!==l?!isNaN(u)&&a!==l&&String(u)===l&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(o=[],o[u]=r):"__proto__"!==l&&(o[l]=r):o={0:r}}r=o}return r},f=function(t,e,n,i){if(t){var s=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,c=n.depth>0&&o.exec(s),l=c?s.slice(0,c.index):s,u=[];if(l){if(!n.plainObjects&&r.call(Object.prototype,l)&&!n.allowPrototypes)return;u.push(l)}var h=0;while(n.depth>0&&null!==(c=a.exec(s))&&he.x?t.x:e.x,l=t.y>e.y?t.y:e.y,u=n.xs.x?n.x:s.x,f=n.y>s.y?n.y:s.y,p=o>u?o:u,_=ch?a:h,g=l>1),s=+o(t[i],e),s<0?a=i+1:(c=i,l=!s);return l?a:~a}function r(t,e){return t>e?1:t=0}function o(t,e,n){var i,r=t.length;if(t[0]<=e)return 0;if(e<=t[r-1])return r-1;if(n>0){for(i=1;i-1;return i&&t.splice(n,1),i}function u(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i0||n&&0===s)})}n.d(e,"a",function(){return i}),n.d(e,"g",function(){return r}),n.d(e,"d",function(){return s}),n.d(e,"f",function(){return o}),n.d(e,"i",function(){return a}),n.d(e,"c",function(){return c}),n.d(e,"h",function(){return l}),n.d(e,"b",function(){return u}),n.d(e,"j",function(){return h}),n.d(e,"e",function(){return d})},"9fa7":function(t,e,n){"use strict";var i=n("621f"),r=n("c282"),s=n("930c"),o=n("bb31"),a=n("c529"),c=n("f1f8"),l=n("a0e2"),u=function(){};t.exports=function(t,e){var n,h={};e.forEach(function(t){t.facadeTransport&&(h[t.facadeTransport.transportName]=t.facadeTransport)}),h[a.transportName]=a,t.bootstrap_iframe=function(){var e;c.currentWindowId=l.hash.slice(1);var a=function(r){if(r.source===parent&&("undefined"===typeof n&&(n=r.origin),r.origin===n)){var a;try{a=s.parse(r.data)}catch(t){return void u("bad json",r.data)}if(a.windowId===c.currentWindowId)switch(a.type){case"s":var d;try{d=s.parse(a.data)}catch(t){u("bad json",a.data);break}var f=d[0],p=d[1],_=d[2],m=d[3];if(u(f,p,_,m),f!==t.version)throw new Error('Incompatible SockJS! Main site uses: "'+f+'", the iframe: "'+t.version+'".');if(!i.isOriginEqual(_,l.href)||!i.isOriginEqual(m,l.href))throw new Error("Can't connect to different domain from within an iframe. ("+l.href+", "+_+", "+m+")");e=new o(new h[p](_,m));break;case"m":e._send(a.data);break;case"c":e&&e._close(),e=null;break}}};r.attachEvent("message",a),c.postMessage("s")}}},"9fe0":function(t,e,n){"use strict";e["a"]=function(t){var e=JSON.stringify(t);if(e)return JSON.parse(e)}},"9ff4":function(t,e,n){"use strict";n("28a5");e["a"]={lang:"en-us",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1},pullToRefresh:{pull:"Pull down to refresh",release:"Release to refresh",refresh:"Refreshing..."},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:function(t){return 1===t?"1 record selected.":(0===t?"No":t)+" records selected."},recordsPerPage:"Records per page:",allRows:"All",pagination:function(t,e,n){return t+"-"+e+" of "+n},columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",header1:"Header 1",header2:"Header 2",header3:"Header 3",header4:"Header 4",header5:"Header 5",header6:"Header 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}}},a02c:function(t,e,n){"use strict";n.d(e,"a",function(){return f});var i=n("c191"),r=n("c9eb"),s=n("38de"),o=n("12dd"),a=n("2ac1"),c=n("2513"),l=n("edde"),u=n("7bd7"),h=n("caca"),d=n("668c");class f extends i["a"]{constructor(){super(),f.constructor_.apply(this,arguments)}static constructor_(){this._coordinates=null;const t=arguments[0],e=arguments[1];i["a"].constructor_.call(this,e),this.init(t)}computeEnvelopeInternal(){if(this.isEmpty())return new h["a"];const t=new h["a"];return t.expandToInclude(this._coordinates.getX(0),this._coordinates.getY(0)),t}getCoordinates(){return this.isEmpty()?[]:[this.getCoordinate()]}copyInternal(){return new f(this._coordinates.copy(),this._factory)}equalsExact(){if(2===arguments.length&&"number"===typeof arguments[1]&&arguments[0]instanceof i["a"]){const t=arguments[0],e=arguments[1];return!!this.isEquivalentClass(t)&&(!(!this.isEmpty()||!t.isEmpty())||this.isEmpty()===t.isEmpty()&&this.equal(t.getCoordinate(),this.getCoordinate(),e))}return super.equalsExact.apply(this,arguments)}normalize(){}getCoordinate(){return 0!==this._coordinates.size()?this._coordinates.getCoordinate(0):null}getBoundaryDimension(){return a["a"].FALSE}reverseInternal(){return this.getFactory().createPoint(this._coordinates.copy())}getTypeCode(){return i["a"].TYPECODE_POINT}getDimension(){return 0}getNumPoints(){return this.isEmpty()?0:1}getX(){if(null===this.getCoordinate())throw new IllegalStateException("getX called on empty Point");return this.getCoordinate().x}compareToSameClass(){if(1===arguments.length){const t=arguments[0],e=t;return this.getCoordinate().compareTo(e.getCoordinate())}if(2===arguments.length){const t=arguments[0],e=arguments[1],n=t;return e.compare(this._coordinates,n._coordinates)}}apply(){if(Object(s["a"])(arguments[0],r["a"])){const t=arguments[0];if(this.isEmpty())return null;t.filter(this.getCoordinate())}else if(Object(s["a"])(arguments[0],l["a"])){const t=arguments[0];if(this.isEmpty())return null;t.filter(this._coordinates,0),t.isGeometryChanged()&&this.geometryChanged()}else if(Object(s["a"])(arguments[0],c["a"])){const t=arguments[0];t.filter(this)}else if(Object(s["a"])(arguments[0],o["a"])){const t=arguments[0];t.filter(this)}}getBoundary(){return this.getFactory().createGeometryCollection()}getGeometryType(){return i["a"].TYPENAME_POINT}getCoordinateSequence(){return this._coordinates}getY(){if(null===this.getCoordinate())throw new IllegalStateException("getY called on empty Point");return this.getCoordinate().y}isEmpty(){return 0===this._coordinates.size()}init(t){null===t&&(t=this.getFactory().getCoordinateSequenceFactory().create([])),d["a"].isTrue(t.size()<=1),this._coordinates=t}isSimple(){return!0}get interfaces_(){return[u["a"]]}}},a0d3:function(t,e,n){"use strict";var i=n("0f7c");t.exports=i.call(Function.call,Object.prototype.hasOwnProperty)},a0e2:function(t,e,n){"use strict";(function(e){t.exports=e.location||{origin:"http://localhost:80",protocol:"http:",host:"localhost",port:80,href:"http://localhost/",hash:""}}).call(this,n("c8ba"))},a114:function(t,e,n){},a159:function(t,e,n){var i=n("e4ae"),r=n("7e90"),s=n("1691"),o=n("5559")("IE_PROTO"),a=function(){},c="prototype",l=function(){var t,e=n("1ec9")("iframe"),i=s.length,r="<",o=">";e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+o+"document.F=Object"+r+"/script"+o),t.close(),l=t.F;while(i--)delete l[c][s[i]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=i(t),n=new a,a[c]=null,n[o]=t):n=l(),void 0===e?n:r(n,e)}},a22a:function(t,e,n){var i=n("d864"),r=n("b0dc"),s=n("3702"),o=n("e4ae"),a=n("b447"),c=n("7cd6"),l={},u={};e=t.exports=function(t,e,n,h,d){var f,p,_,m,g=d?function(){return t}:c(t),y=i(n,h,e?2:1),v=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(s(g)){for(f=a(t.length);f>v;v++)if(m=e?y(o(p=t[v])[0],p[1]):y(t[v]),m===l||m===u)return m}else for(_=g.call(t);!(p=_.next()).done;)if(m=r(_,y,p.value,e),m===l||m===u)return m};e.BREAK=l,e.RETURN=u},a25f:function(t,e,n){var i=n("7726"),r=i.navigator;t.exports=r&&r.userAgent||""},a272:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{constructor(t,e){this.low=e||0,this.high=t||0}static toBinaryString(t){let e,n="";for(e=2147483648;e>0;e>>>=1)n+=(t.high&e)===e?"1":"0";for(e=2147483648;e>0;e>>>=1)n+=(t.low&e)===e?"1":"0";return n}}},a2c7:function(t,e,n){"use strict";var i=n("0414"),r=n("1300"),s=n("57cb"),o=n("7fc9");function a(t){return function(e){return e?[Object(o["a"])(e[0],t[0],t[2]),Object(o["a"])(e[1],t[1],t[3])]:void 0}}function c(t){return t}var l=n("e269"),u=n("9f5e");function h(t){return function(e,n,i){if(void 0!==e){var r=Object(u["f"])(t,e,i);r=Object(o["a"])(r+n,0,t.length-1);var s=Math.floor(r);if(r!=s&&s1&&"function"===typeof arguments[i-1]&&(e=arguments[i-1],--i),!this.isDef()){var r=arguments[i-1];return r.center&&this.setCenter(r.center),void 0!==r.zoom&&this.setZoom(r.zoom),void 0!==r.rotation&&this.setRotation(r.rotation),void(e&&S(e,!0))}for(var s=Date.now(),a=this.getCenter().slice(),c=this.getResolution(),l=this.getRotation(),u=[],h=0;h0},e.prototype.getInteracting=function(){return this.hints_[p["a"].INTERACTING]>0},e.prototype.cancelAnimations=function(){this.setHint(p["a"].ANIMATING,-this.hints_[p["a"].ANIMATING]);for(var t=0,e=this.animations_.length;t=0;--n){for(var i=this.animations_[n],r=!0,s=0,a=i.length;s0?l/c.duration:1;u>=1?(c.complete=!0,u=1):r=!1;var h=c.easing(u);if(c.sourceCenter){var d=c.sourceCenter[0],f=c.sourceCenter[1],m=c.targetCenter[0],g=c.targetCenter[1],y=d+h*(m-d),v=f+h*(g-f);this.set(_.CENTER,[y,v])}if(c.sourceResolution&&c.targetResolution){var b=1===h?c.targetResolution:c.sourceResolution+h*(c.targetResolution-c.sourceResolution);c.anchor&&this.set(_.CENTER,this.calculateCenterZoom(b,c.anchor)),this.set(_.RESOLUTION,b)}if(void 0!==c.sourceRotation&&void 0!==c.targetRotation){var M=1===h?Object(o["d"])(c.targetRotation+Math.PI,2*Math.PI)-Math.PI:c.sourceRotation+h*(c.targetRotation-c.sourceRotation);c.anchor&&this.set(_.CENTER,this.calculateCenterRotate(M,c.anchor)),this.set(_.ROTATION,M)}if(e=!0,!c.complete)break}}if(r){this.animations_[n]=null,this.setHint(p["a"].ANIMATING,-1);var w=i[0].callback;w&&S(w,!0)}}this.animations_=this.animations_.filter(Boolean),e&&void 0===this.updateAnimationKey_&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_))}},e.prototype.calculateCenterRotate=function(t,e){var n,i=this.getCenter();return void 0!==i&&(n=[i[0]-e[0],i[1]-e[1]],Object(g["f"])(n,t-this.getRotation()),Object(g["a"])(n,e)),n},e.prototype.calculateCenterZoom=function(t,e){var n,i=this.getCenter(),r=this.getResolution();if(void 0!==i&&void 0!==r){var s=e[0]-t*(e[0]-i[0])/r,o=e[1]-t*(e[1]-i[1])/r;n=[s,o]}return n},e.prototype.getSizeFromViewport_=function(){var t=[100,100],e='.ol-viewport[data-view="'+Object(r["c"])(this)+'"]',n=document.querySelector(e);if(n){var i=getComputedStyle(n);t[0]=parseInt(i.width,10),t[1]=parseInt(i.height,10)}return t},e.prototype.constrainCenter=function(t){return this.constraints_.center(t)},e.prototype.constrainResolution=function(t,e,n){var i=e||0,r=n||0;return this.constraints_.resolution(t,i,r)},e.prototype.constrainRotation=function(t,e){var n=e||0;return this.constraints_.rotation(t,n)},e.prototype.getCenter=function(){return this.get(_.CENTER)},e.prototype.getConstraints=function(){return this.constraints_},e.prototype.getHints=function(t){return void 0!==t?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()},e.prototype.calculateExtent=function(t){var e=t||this.getSizeFromViewport_(),n=this.getCenter();Object(m["a"])(n,1);var i=this.getResolution();Object(m["a"])(void 0!==i,2);var r=this.getRotation();return Object(m["a"])(void 0!==r,3),Object(v["z"])(n,i,r,e)},e.prototype.getMaxResolution=function(){return this.maxResolution_},e.prototype.getMinResolution=function(){return this.minResolution_},e.prototype.getMaxZoom=function(){return this.getZoomForResolution(this.minResolution_)},e.prototype.setMaxZoom=function(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))},e.prototype.getMinZoom=function(){return this.getZoomForResolution(this.maxResolution_)},e.prototype.setMinZoom=function(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))},e.prototype.getProjection=function(){return this.projection_},e.prototype.getResolution=function(){return this.get(_.RESOLUTION)},e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.getResolutionForExtent=function(t,e){var n=e||this.getSizeFromViewport_(),i=Object(v["E"])(t)/n[0],r=Object(v["A"])(t)/n[1];return Math.max(i,r)},e.prototype.getResolutionForValueFunction=function(t){var e=t||2,n=this.maxResolution_,i=this.minResolution_,r=Math.log(n/i)/Math.log(e);return function(t){var i=n/Math.pow(e,t*r);return i}},e.prototype.getRotation=function(){return this.get(_.ROTATION)},e.prototype.getValueForResolutionFunction=function(t){var e=t||2,n=this.maxResolution_,i=this.minResolution_,r=Math.log(n/i)/Math.log(e);return function(t){var i=Math.log(n/t)/Math.log(e)/r;return i}},e.prototype.getState=function(t){var e=this.getCenter(),n=this.getProjection(),i=this.getResolution(),r=i/t,s=this.getRotation();return{center:[Math.round(e[0]/r)*r,Math.round(e[1]/r)*r],projection:void 0!==n?n:null,resolution:i,rotation:s,zoom:this.getZoom()}},e.prototype.getZoom=function(){var t,e=this.getResolution();return void 0!==e&&(t=this.getZoomForResolution(e)),t},e.prototype.getZoomForResolution=function(t){var e,n,i=this.minZoom_||0;if(this.resolutions_){var r=Object(u["f"])(this.resolutions_,t,1);i=r,e=this.resolutions_[r],n=r==this.resolutions_.length-1?2:e/this.resolutions_[r+1]}else e=this.maxResolution_,n=this.zoomFactor_;return i+Math.log(e/t)/Math.log(n)},e.prototype.getResolutionForZoom=function(t){return this.constrainResolution(this.maxResolution_,t-this.minZoom_,0)},e.prototype.fit=function(t,e){var n,i=e||{},r=i.size;r||(r=this.getSizeFromViewport_()),Object(m["a"])(Array.isArray(t)||"function"===typeof t.getSimplifiedGeometry,24),Array.isArray(t)?(Object(m["a"])(!Object(v["H"])(t),25),n=Object(M["c"])(t)):t.getType()===b["a"].CIRCLE?(t=t.getExtent(),n=Object(M["c"])(t),n.rotate(this.getRotation(),Object(v["x"])(t))):n=t;var o,a=void 0!==i.padding?i.padding:[0,0,0,0],c=void 0===i.constrainResolution||i.constrainResolution,l=void 0!==i.nearest&&i.nearest;o=void 0!==i.minResolution?i.minResolution:void 0!==i.maxZoom?this.constrainResolution(this.maxResolution_,i.maxZoom-this.minZoom_,0):0;for(var u=n.getFlatCoordinates(),h=this.getRotation(),d=Math.cos(-h),f=Math.sin(-h),p=1/0,_=1/0,g=-1/0,y=-1/0,w=n.getStride(),x=0,L=u.length;x>1),s=+o(t[i],e),s<0?a=i+1:(c=i,l=!s);return l?a:~a}function r(t,e){return t>e?1:t=0}function o(t,e,n){var i,r=t.length;if(t[0]<=e)return 0;if(e<=t[r-1])return r-1;if(n>0){for(i=1;i-1;return i&&t.splice(n,1),i}function u(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i0||n&&0===s)})}n.d(e,"a",function(){return i}),n.d(e,"g",function(){return r}),n.d(e,"d",function(){return s}),n.d(e,"f",function(){return o}),n.d(e,"i",function(){return a}),n.d(e,"c",function(){return c}),n.d(e,"h",function(){return l}),n.d(e,"b",function(){return u}),n.d(e,"j",function(){return h}),n.d(e,"e",function(){return d})},"9fa7":function(t,e,n){"use strict";var i=n("621f"),r=n("c282"),s=n("930c"),o=n("bb31"),a=n("c529"),c=n("f1f8"),l=n("a0e2"),u=function(){};t.exports=function(t,e){var n,h={};e.forEach(function(t){t.facadeTransport&&(h[t.facadeTransport.transportName]=t.facadeTransport)}),h[a.transportName]=a,t.bootstrap_iframe=function(){var e;c.currentWindowId=l.hash.slice(1);var a=function(r){if(r.source===parent&&("undefined"===typeof n&&(n=r.origin),r.origin===n)){var a;try{a=s.parse(r.data)}catch(t){return void u("bad json",r.data)}if(a.windowId===c.currentWindowId)switch(a.type){case"s":var d;try{d=s.parse(a.data)}catch(t){u("bad json",a.data);break}var f=d[0],p=d[1],_=d[2],m=d[3];if(u(f,p,_,m),f!==t.version)throw new Error('Incompatible SockJS! Main site uses: "'+f+'", the iframe: "'+t.version+'".');if(!i.isOriginEqual(_,l.href)||!i.isOriginEqual(m,l.href))throw new Error("Can't connect to different domain from within an iframe. ("+l.href+", "+_+", "+m+")");e=new o(new h[p](_,m));break;case"m":e._send(a.data);break;case"c":e&&e._close(),e=null;break}}};r.attachEvent("message",a),c.postMessage("s")}}},"9fe0":function(t,e,n){"use strict";e["a"]=function(t){var e=JSON.stringify(t);if(e)return JSON.parse(e)}},"9ff4":function(t,e,n){"use strict";n("28a5");e["a"]={lang:"en-us",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1},pullToRefresh:{pull:"Pull down to refresh",release:"Release to refresh",refresh:"Refreshing..."},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:function(t){return 1===t?"1 record selected.":(0===t?"No":t)+" records selected."},recordsPerPage:"Records per page:",allRows:"All",pagination:function(t,e,n){return t+"-"+e+" of "+n},columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",header1:"Header 1",header2:"Header 2",header3:"Header 3",header4:"Header 4",header5:"Header 5",header6:"Header 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}}},a02c:function(t,e,n){"use strict";n.d(e,"a",function(){return f});var i=n("c191"),r=n("c9eb"),s=n("38de"),o=n("12dd"),a=n("2ac1"),c=n("2513"),l=n("edde"),u=n("7bd7"),h=n("caca"),d=n("668c");class f extends i["a"]{constructor(){super(),f.constructor_.apply(this,arguments)}static constructor_(){this._coordinates=null;const t=arguments[0],e=arguments[1];i["a"].constructor_.call(this,e),this.init(t)}computeEnvelopeInternal(){if(this.isEmpty())return new h["a"];const t=new h["a"];return t.expandToInclude(this._coordinates.getX(0),this._coordinates.getY(0)),t}getCoordinates(){return this.isEmpty()?[]:[this.getCoordinate()]}copyInternal(){return new f(this._coordinates.copy(),this._factory)}equalsExact(){if(2===arguments.length&&"number"===typeof arguments[1]&&arguments[0]instanceof i["a"]){const t=arguments[0],e=arguments[1];return!!this.isEquivalentClass(t)&&(!(!this.isEmpty()||!t.isEmpty())||this.isEmpty()===t.isEmpty()&&this.equal(t.getCoordinate(),this.getCoordinate(),e))}return super.equalsExact.apply(this,arguments)}normalize(){}getCoordinate(){return 0!==this._coordinates.size()?this._coordinates.getCoordinate(0):null}getBoundaryDimension(){return a["a"].FALSE}reverseInternal(){return this.getFactory().createPoint(this._coordinates.copy())}getTypeCode(){return i["a"].TYPECODE_POINT}getDimension(){return 0}getNumPoints(){return this.isEmpty()?0:1}getX(){if(null===this.getCoordinate())throw new IllegalStateException("getX called on empty Point");return this.getCoordinate().x}compareToSameClass(){if(1===arguments.length){const t=arguments[0],e=t;return this.getCoordinate().compareTo(e.getCoordinate())}if(2===arguments.length){const t=arguments[0],e=arguments[1],n=t;return e.compare(this._coordinates,n._coordinates)}}apply(){if(Object(s["a"])(arguments[0],r["a"])){const t=arguments[0];if(this.isEmpty())return null;t.filter(this.getCoordinate())}else if(Object(s["a"])(arguments[0],l["a"])){const t=arguments[0];if(this.isEmpty())return null;t.filter(this._coordinates,0),t.isGeometryChanged()&&this.geometryChanged()}else if(Object(s["a"])(arguments[0],c["a"])){const t=arguments[0];t.filter(this)}else if(Object(s["a"])(arguments[0],o["a"])){const t=arguments[0];t.filter(this)}}getBoundary(){return this.getFactory().createGeometryCollection()}getGeometryType(){return i["a"].TYPENAME_POINT}getCoordinateSequence(){return this._coordinates}getY(){if(null===this.getCoordinate())throw new IllegalStateException("getY called on empty Point");return this.getCoordinate().y}isEmpty(){return 0===this._coordinates.size()}init(t){null===t&&(t=this.getFactory().getCoordinateSequenceFactory().create([])),d["a"].isTrue(t.size()<=1),this._coordinates=t}isSimple(){return!0}get interfaces_(){return[u["a"]]}}},a0d3:function(t,e,n){"use strict";var i=n("0f7c");t.exports=i.call(Function.call,Object.prototype.hasOwnProperty)},a0e2:function(t,e,n){"use strict";(function(e){t.exports=e.location||{origin:"http://localhost:80",protocol:"http:",host:"localhost",port:80,href:"http://localhost/",hash:""}}).call(this,n("c8ba"))},a114:function(t,e,n){},a159:function(t,e,n){var i=n("e4ae"),r=n("7e90"),s=n("1691"),o=n("5559")("IE_PROTO"),a=function(){},c="prototype",l=function(){var t,e=n("1ec9")("iframe"),i=s.length,r="<",o=">";e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+o+"document.F=Object"+r+"/script"+o),t.close(),l=t.F;while(i--)delete l[c][s[i]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=i(t),n=new a,a[c]=null,n[o]=t):n=l(),void 0===e?n:r(n,e)}},a22a:function(t,e,n){var i=n("d864"),r=n("b0dc"),s=n("3702"),o=n("e4ae"),a=n("b447"),c=n("7cd6"),l={},u={};e=t.exports=function(t,e,n,h,d){var f,p,_,m,g=d?function(){return t}:c(t),y=i(n,h,e?2:1),v=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(s(g)){for(f=a(t.length);f>v;v++)if(m=e?y(o(p=t[v])[0],p[1]):y(t[v]),m===l||m===u)return m}else for(_=g.call(t);!(p=_.next()).done;)if(m=r(_,y,p.value,e),m===l||m===u)return m};e.BREAK=l,e.RETURN=u},a25f:function(t,e,n){var i=n("7726"),r=i.navigator;t.exports=r&&r.userAgent||""},a272:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{constructor(t,e){this.low=e||0,this.high=t||0}static toBinaryString(t){let e,n="";for(e=2147483648;e>0;e>>>=1)n+=(t.high&e)===e?"1":"0";for(e=2147483648;e>0;e>>>=1)n+=(t.low&e)===e?"1":"0";return n}}},a2c7:function(t,e,n){"use strict";var i=n("0414"),r=n("1300"),s=n("57cb"),o=n("7fc9");function a(t){return function(e){return e?[Object(o["a"])(e[0],t[0],t[2]),Object(o["a"])(e[1],t[1],t[3])]:void 0}}function c(t){return t}var l=n("e269"),u=n("9f5e");function h(t){return function(e,n,i){if(void 0!==e){var r=Object(u["f"])(t,e,i);r=Object(o["a"])(r+n,0,t.length-1);var s=Math.floor(r);if(r!=s&&s1&&"function"===typeof arguments[i-1]&&(e=arguments[i-1],--i),!this.isDef()){var r=arguments[i-1];return r.center&&this.setCenter(r.center),void 0!==r.zoom&&this.setZoom(r.zoom),void 0!==r.rotation&&this.setRotation(r.rotation),void(e&&S(e,!0))}for(var s=Date.now(),a=this.getCenter().slice(),c=this.getResolution(),l=this.getRotation(),u=[],h=0;h0},e.prototype.getInteracting=function(){return this.hints_[p["a"].INTERACTING]>0},e.prototype.cancelAnimations=function(){this.setHint(p["a"].ANIMATING,-this.hints_[p["a"].ANIMATING]);for(var t=0,e=this.animations_.length;t=0;--n){for(var i=this.animations_[n],r=!0,s=0,a=i.length;s0?l/c.duration:1;u>=1?(c.complete=!0,u=1):r=!1;var h=c.easing(u);if(c.sourceCenter){var d=c.sourceCenter[0],f=c.sourceCenter[1],m=c.targetCenter[0],g=c.targetCenter[1],y=d+h*(m-d),v=f+h*(g-f);this.set(_.CENTER,[y,v])}if(c.sourceResolution&&c.targetResolution){var b=1===h?c.targetResolution:c.sourceResolution+h*(c.targetResolution-c.sourceResolution);c.anchor&&this.set(_.CENTER,this.calculateCenterZoom(b,c.anchor)),this.set(_.RESOLUTION,b)}if(void 0!==c.sourceRotation&&void 0!==c.targetRotation){var M=1===h?Object(o["d"])(c.targetRotation+Math.PI,2*Math.PI)-Math.PI:c.sourceRotation+h*(c.targetRotation-c.sourceRotation);c.anchor&&this.set(_.CENTER,this.calculateCenterRotate(M,c.anchor)),this.set(_.ROTATION,M)}if(e=!0,!c.complete)break}}if(r){this.animations_[n]=null,this.setHint(p["a"].ANIMATING,-1);var w=i[0].callback;w&&S(w,!0)}}this.animations_=this.animations_.filter(Boolean),e&&void 0===this.updateAnimationKey_&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_))}},e.prototype.calculateCenterRotate=function(t,e){var n,i=this.getCenter();return void 0!==i&&(n=[i[0]-e[0],i[1]-e[1]],Object(g["f"])(n,t-this.getRotation()),Object(g["a"])(n,e)),n},e.prototype.calculateCenterZoom=function(t,e){var n,i=this.getCenter(),r=this.getResolution();if(void 0!==i&&void 0!==r){var s=e[0]-t*(e[0]-i[0])/r,o=e[1]-t*(e[1]-i[1])/r;n=[s,o]}return n},e.prototype.getSizeFromViewport_=function(){var t=[100,100],e='.ol-viewport[data-view="'+Object(r["c"])(this)+'"]',n=document.querySelector(e);if(n){var i=getComputedStyle(n);t[0]=parseInt(i.width,10),t[1]=parseInt(i.height,10)}return t},e.prototype.constrainCenter=function(t){return this.constraints_.center(t)},e.prototype.constrainResolution=function(t,e,n){var i=e||0,r=n||0;return this.constraints_.resolution(t,i,r)},e.prototype.constrainRotation=function(t,e){var n=e||0;return this.constraints_.rotation(t,n)},e.prototype.getCenter=function(){return this.get(_.CENTER)},e.prototype.getConstraints=function(){return this.constraints_},e.prototype.getHints=function(t){return void 0!==t?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()},e.prototype.calculateExtent=function(t){var e=t||this.getSizeFromViewport_(),n=this.getCenter();Object(m["a"])(n,1);var i=this.getResolution();Object(m["a"])(void 0!==i,2);var r=this.getRotation();return Object(m["a"])(void 0!==r,3),Object(v["z"])(n,i,r,e)},e.prototype.getMaxResolution=function(){return this.maxResolution_},e.prototype.getMinResolution=function(){return this.minResolution_},e.prototype.getMaxZoom=function(){return this.getZoomForResolution(this.minResolution_)},e.prototype.setMaxZoom=function(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))},e.prototype.getMinZoom=function(){return this.getZoomForResolution(this.maxResolution_)},e.prototype.setMinZoom=function(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))},e.prototype.getProjection=function(){return this.projection_},e.prototype.getResolution=function(){return this.get(_.RESOLUTION)},e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.getResolutionForExtent=function(t,e){var n=e||this.getSizeFromViewport_(),i=Object(v["E"])(t)/n[0],r=Object(v["A"])(t)/n[1];return Math.max(i,r)},e.prototype.getResolutionForValueFunction=function(t){var e=t||2,n=this.maxResolution_,i=this.minResolution_,r=Math.log(n/i)/Math.log(e);return function(t){var i=n/Math.pow(e,t*r);return i}},e.prototype.getRotation=function(){return this.get(_.ROTATION)},e.prototype.getValueForResolutionFunction=function(t){var e=t||2,n=this.maxResolution_,i=this.minResolution_,r=Math.log(n/i)/Math.log(e);return function(t){var i=Math.log(n/t)/Math.log(e)/r;return i}},e.prototype.getState=function(t){var e=this.getCenter(),n=this.getProjection(),i=this.getResolution(),r=i/t,s=this.getRotation();return{center:[Math.round(e[0]/r)*r,Math.round(e[1]/r)*r],projection:void 0!==n?n:null,resolution:i,rotation:s,zoom:this.getZoom()}},e.prototype.getZoom=function(){var t,e=this.getResolution();return void 0!==e&&(t=this.getZoomForResolution(e)),t},e.prototype.getZoomForResolution=function(t){var e,n,i=this.minZoom_||0;if(this.resolutions_){var r=Object(u["f"])(this.resolutions_,t,1);i=r,e=this.resolutions_[r],n=r==this.resolutions_.length-1?2:e/this.resolutions_[r+1]}else e=this.maxResolution_,n=this.zoomFactor_;return i+Math.log(e/t)/Math.log(n)},e.prototype.getResolutionForZoom=function(t){return this.constrainResolution(this.maxResolution_,t-this.minZoom_,0)},e.prototype.fit=function(t,e){var n,i=e||{},r=i.size;r||(r=this.getSizeFromViewport_()),Object(m["a"])(Array.isArray(t)||"function"===typeof t.getSimplifiedGeometry,24),Array.isArray(t)?(Object(m["a"])(!Object(v["H"])(t),25),n=Object(M["c"])(t)):t.getType()===b["a"].CIRCLE?(t=t.getExtent(),n=Object(M["c"])(t),n.rotate(this.getRotation(),Object(v["x"])(t))):n=t;var o,a=void 0!==i.padding?i.padding:[0,0,0,0],c=void 0===i.constrainResolution||i.constrainResolution,l=void 0!==i.nearest&&i.nearest;o=void 0!==i.minResolution?i.minResolution:void 0!==i.maxZoom?this.constrainResolution(this.maxResolution_,i.maxZoom-this.minZoom_,0):0;for(var u=n.getFlatCoordinates(),h=this.getRotation(),d=Math.cos(-h),f=Math.sin(-h),p=1/0,_=1/0,g=-1/0,y=-1/0,w=n.getStride(),x=0,L=u.length;x=3&&t%100<=10?3:t%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(t){return function(i,r,s,o){var a=e(i),c=n[t][e(i)];return 2===a&&(c=c[r?0:1]),c.replace(/%d/i,i)}},r=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=t.defineLocale("ar-dz",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:0,doy:4}});return s})},a43f:function(t,e,n){"use strict";e["a"]={ADDFEATURE:"addfeature",CHANGEFEATURE:"changefeature",CLEAR:"clear",REMOVEFEATURE:"removefeature"}},a481:function(t,e,n){"use strict";var i=n("cb7c"),r=n("4bf8"),s=n("9def"),o=n("4588"),a=n("0390"),c=n("5f1b"),l=Math.max,u=Math.min,h=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,p=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,function(t,e,n,_){return[function(i,r){var s=t(this),o=void 0==i?void 0:i[e];return void 0!==o?o.call(i,s,r):n.call(String(s),i,r)},function(t,e){var r=_(n,t,this,e);if(r.done)return r.value;var h=i(t),d=String(this),f="function"===typeof e;f||(e=String(e));var g=h.global;if(g){var y=h.unicode;h.lastIndex=0}var v=[];while(1){var b=c(h,d);if(null===b)break;if(v.push(b),!g)break;var M=String(b[0]);""===M&&(h.lastIndex=a(d,s(h.lastIndex),y))}for(var w="",x=0,L=0;L=x&&(w+=d.slice(x,T)+I,x=T+E.length)}return w+d.slice(x)}];function m(t,e,i,s,o,a){var c=i+t.length,l=s.length,u=f;return void 0!==o&&(o=r(o),u=d),n.call(a,u,function(n,r){var a;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(c);case"<":a=o[r.slice(1,-1)];break;default:var u=+r;if(0===u)return n;if(u>l){var d=h(u/10);return 0===d?n:d<=l?void 0===s[d-1]?r.charAt(1):s[d-1]+r.charAt(1):n}a=s[u-1]}return void 0===a?"":a})}})},a4a9:function(t,e,n){},a504:function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return r});var i=.5,r=!0},a555:function(t,e,n){},a568:function(t,e,n){"use strict";n("7fc9");function i(t,e){return t[0]+=e[0],t[1]+=e[1],t}function r(t,e){var n,i,r=t[0],s=t[1],o=e[0],a=e[1],c=o[0],l=o[1],u=a[0],h=a[1],d=u-c,f=h-l,p=0===d&&0===f?0:(d*(r-c)+f*(s-l))/(d*d+f*f||0);return p<=0?(n=c,i=l):p>=1?(n=u,i=h):(n=c+p*d,i=l+p*f),[n,i]}function s(t){return function(e){return f(e,t)}}function o(t,e,n){return t?e.replace("{x}",t[0].toFixed(n)).replace("{y}",t[1].toFixed(n)):""}function a(t,e){for(var n=!0,i=t.length-1;i>=0;--i)if(t[i]!=e[i]){n=!1;break}return n}function c(t,e){var n=Math.cos(e),i=Math.sin(e),r=t[0]*n-t[1]*i,s=t[1]*n+t[0]*i;return t[0]=r,t[1]=s,t}function l(t,e){return t[0]*=e,t[1]*=e,t}function u(t,e){var n=t[0]-e[0],i=t[1]-e[1];return n*n+i*i}function h(t,e){return Math.sqrt(u(t,e))}function d(t,e){return u(t,r(t,e))}function f(t,e){return o(t,"{x}, {y}",e)}n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r}),n.d(e,"c",function(){return s}),n.d(e,"e",function(){return a}),n.d(e,"f",function(){return c}),n.d(e,"g",function(){return l}),n.d(e,"h",function(){return u}),n.d(e,"d",function(){return h}),n.d(e,"i",function(){return d})},a5b8:function(t,e,n){"use strict";var i=n("d8e8");function r(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i}),this.resolve=i(e),this.reject=i(n)}t.exports.f=function(t){return new r(t)}},a60d:function(t,e,n){"use strict";n.d(e,"c",function(){return o}),n.d(e,"b",function(){return a}),n.d(e,"d",function(){return c});n("f751");var i,r=n("3156"),s=n.n(r),o="undefined"===typeof window,a=!1,c=o;function l(t,e){var n=/(edge)\/([\w.]+)/.exec(t)||/(opr)[\/]([\w.]+)/.exec(t)||/(vivaldi)[\/]([\w.]+)/.exec(t)||/(chrome)[\/]([\w.]+)/.exec(t)||/(iemobile)[\/]([\w.]+)/.exec(t)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[2]||n[4]||"0",versionNumber:n[4]||n[2]||"0",platform:e[0]||""}}function u(t){return/(ipad)/.exec(t)||/(ipod)/.exec(t)||/(windows phone)/.exec(t)||/(iphone)/.exec(t)||/(kindle)/.exec(t)||/(silk)/.exec(t)||/(android)/.exec(t)||/(win)/.exec(t)||/(mac)/.exec(t)||/(linux)/.exec(t)||/(cros)/.exec(t)||/(playbook)/.exec(t)||/(bb)/.exec(t)||/(blackberry)/.exec(t)||[]}function h(t){t=(t||navigator.userAgent||navigator.vendor||window.opera).toLowerCase();var e=u(t),n=l(t,e),i={};return n.browser&&(i[n.browser]=!0,i.version=n.version,i.versionNumber=parseInt(n.versionNumber,10)),n.platform&&(i[n.platform]=!0),(i.android||i.bb||i.blackberry||i.ipad||i.iphone||i.ipod||i.kindle||i.playbook||i.silk||i["windows phone"])&&(i.mobile=!0),(i.ipod||i.ipad||i.iphone)&&(i.ios=!0),i["windows phone"]&&(i.winphone=!0,delete i["windows phone"]),(i.cros||i.mac||i.linux||i.win)&&(i.desktop=!0),(i.chrome||i.opr||i.safari||i.vivaldi)&&(i.webkit=!0),(i.rv||i.iemobile)&&(n.browser="ie",i.ie=!0),i.edge&&(n.browser="edge",i.edge=!0),(i.safari&&i.blackberry||i.bb)&&(n.browser="blackberry",i.blackberry=!0),i.safari&&i.playbook&&(n.browser="playbook",i.playbook=!0),i.opr&&(n.browser="opera",i.opera=!0),i.safari&&i.android&&(n.browser="android",i.android=!0),i.safari&&i.kindle&&(n.browser="kindle",i.kindle=!0),i.safari&&i.silk&&(n.browser="silk",i.silk=!0),i.vivaldi&&(n.browser="vivaldi",i.vivaldi=!0),i.name=n.browser,i.platform=n.platform,o||(window.process&&window.process.versions&&window.process.versions.electron?i.electron=!0:0===document.location.href.indexOf("chrome-extension://")?i.chromeExt=!0:(window._cordovaNative||window.cordova)&&(i.cordova=!0),a=void 0===i.cordova&&void 0===i.electron&&!!document.querySelector("[data-server-rendered]"),a&&(c=!0)),i}function d(){if(void 0!==i)return i;try{if(window.localStorage)return i=!0,!0}catch(t){}return i=!1,!1}function f(){return{has:{touch:function(){return!!("ontouchstart"in document.documentElement)||window.navigator.msMaxTouchPoints>0}(),webStorage:d()},within:{iframe:window.self!==window.top}}}e["a"]={has:{touch:!1,webStorage:!1},within:{iframe:!1},parseSSR:function(t){return t?{is:h(t.req.headers["user-agent"]),has:this.has,within:this.within}:s()({is:h()},f())},install:function(t,e,n){var i=this;o?e.server.push(function(t,e){t.platform=i.parseSSR(e.ssr)}):(this.is=h(),a?(e.takeover.push(function(t){c=a=!1,Object.assign(t.platform,f())}),n.util.defineReactive(t,"platform",this)):(Object.assign(this,f()),t.platform=this))}}},a6ef:function(t,e,n){"use strict";var i=n("38de"),r=n("fd89"),s=n("0660"),o=n("85e4"),a=n("3894"),c=n("f885"),l=n("ad3f"),u=n("1d1d"),h=n("223d");class d{constructor(){d.constructor_.apply(this,arguments)}static constructor_(){this._min=u["a"].POSITIVE_INFINITY,this._max=u["a"].NEGATIVE_INFINITY}getMin(){return this._min}intersects(t,e){return!(this._min>e||this._maxs?1:0}get interfaces_(){return[h["a"]]}}d.NodeComparator=f;class p extends d{constructor(){super(),p.constructor_.apply(this,arguments)}static constructor_(){this._item=null;const t=arguments[0],e=arguments[1],n=arguments[2];this._min=t,this._max=e,this._item=n}query(t,e,n){if(!this.intersects(t,e))return null;n.visitItem(this._item)}}var _=n("7d15"),m=n("968e"),g=n("70d5");class y extends d{constructor(){super(),y.constructor_.apply(this,arguments)}static constructor_(){this._node1=null,this._node2=null;const t=arguments[0],e=arguments[1];this._node1=t,this._node2=e,this.buildExtent(this._node1,this._node2)}buildExtent(t,e){this._min=Math.min(t._min,e._min),this._max=Math.max(t._max,e._max)}query(t,e,n){if(!this.intersects(t,e))return null;null!==this._node1&&this._node1.query(t,e,n),null!==this._node2&&this._node2.query(t,e,n)}}class v{constructor(){v.constructor_.apply(this,arguments)}static constructor_(){this._leaves=new g["a"],this._root=null,this._level=0}buildTree(){_["a"].sort(this._leaves,new d.NodeComparator);let t=this._leaves,e=null,n=new g["a"];while(1){if(this.buildLevel(t,n),1===n.size())return n.get(0);e=t,t=n,n=e}}insert(t,e,n){if(null!==this._root)throw new IllegalStateException("Index cannot be added to once it has been queried");this._leaves.add(new p(t,e,n))}query(t,e,n){if(this.init(),null===this._root)return null;this._root.query(t,e,n)}buildRoot(){if(null!==this._root)return null;this._root=this.buildTree()}printNode(t){m["a"].out.println(c["a"].toLineString(new l["a"](t._min,this._level),new l["a"](t._max,this._level)))}init(){return null!==this._root?null:0===this._leaves.size()?null:void this.buildRoot()}buildLevel(t,e){this._level++,e.clear();for(let n=0;n=this.text.length)return;t=this.text[this.place++]}switch(this.state){case k:return this.neutral(t);case C:return this.keyword(t);case D:return this.quoted(t);case Y:return this.afterquote(t);case I:return this.number(t);case R:return}},H.prototype.afterquote=function(t){if('"'===t)return this.word+='"',void(this.state=D);if(j.test(t))return this.word=this.word.trim(),void this.afterItem(t);throw new Error("havn't handled \""+t+'" in afterquote yet, index '+this.place)},H.prototype.afterItem=function(t){return","===t?(null!==this.word&&this.currentObject.push(this.word),this.word=null,void(this.state=k)):"]"===t?(this.level--,null!==this.word&&(this.currentObject.push(this.word),this.word=null),this.state=k,this.currentObject=this.stack.pop(),void(this.currentObject||(this.state=R))):void 0},H.prototype.number=function(t){if(!F.test(t)){if(j.test(t))return this.word=parseFloat(this.word),void this.afterItem(t);throw new Error("havn't handled \""+t+'" in number yet, index '+this.place)}this.word+=t},H.prototype.quoted=function(t){'"'!==t?this.word+=t:this.state=Y},H.prototype.keyword=function(t){if(P.test(t))this.word+=t;else{if("["===t){var e=[];return e.push(this.word),this.level++,null===this.root?this.root=e:this.currentObject.push(e),this.stack.push(this.currentObject),this.currentObject=e,void(this.state=k)}if(!j.test(t))throw new Error("havn't handled \""+t+'" in keyword yet, index '+this.place);this.afterItem(t)}},H.prototype.neutral=function(t){if(N.test(t))return this.word=t,void(this.state=C);if('"'===t)return this.word="",void(this.state=D);if(F.test(t))return this.word=t,void(this.state=I);if(!j.test(t))throw new Error("havn't handled \""+t+'" in neutral yet, index '+this.place);this.afterItem(t)},H.prototype.output=function(){while(this.place0?90:-90),t.lat_ts=t.lat1)}var V=function(t){var e=O(t),n=e.shift(),i=e.shift();e.unshift(["name",i]),e.unshift(["type",n]);var r={};return z(e,r),U(r),r};function X(t){var e=this;if(2===arguments.length){var n=arguments[1];"string"===typeof n?"+"===n.charAt(0)?X[t]=S(arguments[1]):X[t]=V(arguments[1]):X[t]=n}else if(1===arguments.length){if(Array.isArray(t))return t.map(function(t){Array.isArray(t)?X.apply(e,t):X(t)});if("string"===typeof t){if(t in X)return X[t]}else"EPSG"in t?X["EPSG:"+t.EPSG]=t:"ESRI"in t?X["ESRI:"+t.ESRI]=t:"IAU2000"in t?X["IAU2000:"+t.IAU2000]=t:console.log(t);return}}i(X);var K=X;function Z(t){return"string"===typeof t}function J(t){return t in K}var Q=["PROJECTEDCRS","PROJCRS","GEOGCS","GEOCCS","PROJCS","LOCAL_CS","GEODCRS","GEODETICCRS","GEODETICDATUM","ENGCRS","ENGINEERINGCRS"];function tt(t){return Q.some(function(e){return t.indexOf(e)>-1})}var et=["3857","900913","3785","102113"];function nt(t){var e=T(t,"authority");if(e){var n=T(e,"epsg");return n&&et.indexOf(n)>-1}}function it(t){var e=T(t,"extension");if(e)return T(e,"proj4")}function rt(t){return"+"===t[0]}function st(t){if(!Z(t))return t;if(J(t))return K[t];if(tt(t)){var e=V(t);if(nt(e))return K["EPSG:3857"];var n=it(e);return n?S(n):e}return rt(t)?S(t):void 0}var ot=st,at=function(t,e){var n,i;if(t=t||{},!e)return t;for(i in e)n=e[i],void 0!==n&&(t[i]=n);return t},ct=function(t,e,n){var i=t*e;return n/Math.sqrt(1-i*i)},lt=function(t){return t<0?-1:1},ut=function(t){return Math.abs(t)<=w?t:t-lt(t)*M},ht=function(t,e,n){var i=t*n,r=.5*t;return i=Math.pow((1-i)/(1+i),r),Math.tan(.5*(f-e))/i},dt=function(t,e){for(var n,i,r=.5*t,s=f-2*Math.atan(e),o=0;o<=15;o++)if(n=t*Math.sin(s),i=f-2*Math.atan(e*Math.pow((1-n)/(1+n),r))-s,s+=i,Math.abs(i)<=1e-10)return s;return-9999};function ft(){var t=this.b/this.a;this.es=1-t*t,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=ct(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)}function pt(t){var e,n,i=t.x,r=t.y;if(r*v>90&&r*v<-90&&i*v>180&&i*v<-180)return null;if(Math.abs(Math.abs(r)-f)<=g)return null;if(this.sphere)e=this.x0+this.a*this.k0*ut(i-this.long0),n=this.y0+this.a*this.k0*Math.log(Math.tan(b+.5*r));else{var s=Math.sin(r),o=ht(this.e,r,s);e=this.x0+this.a*this.k0*ut(i-this.long0),n=this.y0-this.a*this.k0*Math.log(o)}return t.x=e,t.y=n,t}function _t(t){var e,n,i=t.x-this.x0,r=t.y-this.y0;if(this.sphere)n=f-2*Math.atan(Math.exp(-r/(this.a*this.k0)));else{var s=Math.exp(-r/(this.a*this.k0));if(n=dt(this.e,s),-9999===n)return null}return e=ut(this.long0+i/(this.a*this.k0)),t.x=e,t.y=n,t}var mt=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"],gt={init:ft,forward:pt,inverse:_t,names:mt};function yt(){}function vt(t){return t}var bt=["longlat","identity"],Mt={init:yt,forward:vt,inverse:vt,names:bt},wt=[gt,Mt],xt={},Lt=[];function Et(t,e){var n=Lt.length;return t.names?(Lt[n]=t,t.names.forEach(function(t){xt[t.toLowerCase()]=n}),this):(console.log(e),!0)}function Tt(t){if(!t)return!1;var e=t.toLowerCase();return"undefined"!==typeof xt[e]&&Lt[xt[e]]?Lt[xt[e]]:void 0}function St(){wt.forEach(Et)}var Ot={start:St,add:Et,get:Tt},kt={MERIT:{a:6378137,rf:298.257,ellipseName:"MERIT 1983"},SGS85:{a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},GRS80:{a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},IAU76:{a:6378140,rf:298.257,ellipseName:"IAU 1976"},airy:{a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},APL4:{a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},NWL9D:{a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},mod_airy:{a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},andrae:{a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},aust_SA:{a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},GRS67:{a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},bessel:{a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},bess_nam:{a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},clrk66:{a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},clrk80:{a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},clrk58:{a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},CPM:{a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},delmbr:{a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},engelis:{a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},evrst30:{a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},evrst48:{a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},evrst56:{a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},evrst69:{a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},evrstSS:{a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},fschr60:{a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},fschr60m:{a:6378155,rf:298.3,ellipseName:"Fischer 1960"},fschr68:{a:6378150,rf:298.3,ellipseName:"Fischer 1968"},helmert:{a:6378200,rf:298.3,ellipseName:"Helmert 1906"},hough:{a:6378270,rf:297,ellipseName:"Hough"},intl:{a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},kaula:{a:6378163,rf:298.24,ellipseName:"Kaula 1961"},lerch:{a:6378139,rf:298.257,ellipseName:"Lerch 1979"},mprts:{a:6397300,rf:191,ellipseName:"Maupertius 1738"},new_intl:{a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},plessis:{a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},krass:{a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},SEasia:{a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},walbeck:{a:6376896,b:6355834.8467,ellipseName:"Walbeck"},WGS60:{a:6378165,rf:298.3,ellipseName:"WGS 60"},WGS66:{a:6378145,rf:298.25,ellipseName:"WGS 66"},WGS7:{a:6378135,rf:298.26,ellipseName:"WGS 72"}},Ct=kt.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"};function It(t,e,n,i){var r=t*t,s=e*e,o=(r-s)/r,a=0;i?(t*=1-o*(p+o*(_+o*m)),r=t*t,o=0):a=Math.sqrt(o);var c=(r-s)/s;return{es:o,e:a,ep2:c}}function Dt(t,e,n,i,r){if(!t){var s=T(kt,i);s||(s=Ct),t=s.a,e=s.b,n=s.rf}return n&&!e&&(e=(1-1/n)*t),(0===n||Math.abs(t-e)3&&(0===f.datum_params[3]&&0===f.datum_params[4]&&0===f.datum_params[5]&&0===f.datum_params[6]||(f.datum_type=s,f.datum_params[3]*=d,f.datum_params[4]*=d,f.datum_params[5]*=d,f.datum_params[6]=f.datum_params[6]/1e6+1))),h&&(f.datum_type=o,f.grids=h),f.a=n,f.b=i,f.es=l,f.ep2=u,f}Yt.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},Yt.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},Yt.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},Yt.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},Yt.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},Yt.potsdam={towgs84:"598.1,73.7,418.2,0.202,0.045,-2.455,6.7",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},Yt.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},Yt.hermannskogel={towgs84:"577.326,90.129,463.919,5.137,1.474,5.297,2.4232",ellipse:"bessel",datumName:"Hermannskogel"},Yt.osni52={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"airy",datumName:"Irish National"},Yt.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},Yt.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},Yt.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},Yt.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},Yt.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},Yt.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},Yt.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},Yt.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"};var At=Rt,Nt={};function Pt(t,e){var n=new DataView(e),i=Gt(n),r=qt(n,i);r.nSubgrids>1&&console.log("Only single NTv2 subgrids are currently supported, subsequent sub grids are ignored");var s=Bt(n,r,i),o={header:r,subgrids:s};return Nt[t]=o,o}function jt(t){if(void 0===t)return null;var e=t.split(",");return e.map(Ft)}function Ft(t){if(0===t.length)return null;var e="@"===t[0];return e&&(t=t.slice(1)),"null"===t?{name:"null",mandatory:!e,grid:null,isNull:!0}:{name:t,mandatory:!e,grid:Nt[t]||null,isNull:!1}}function Ht(t){return t/3600*Math.PI/180}function Gt(t){var e=t.getInt32(8,!1);return 11!==e&&(e=t.getInt32(8,!0),11!==e&&console.warn("Failed to detect nadgrid endian-ness, defaulting to little-endian"),!0)}function qt(t,e){return{nFields:t.getInt32(8,e),nSubgridFields:t.getInt32(24,e),nSubgrids:t.getInt32(40,e),shiftType:zt(t,56,64).trim(),fromSemiMajorAxis:t.getFloat64(120,e),fromSemiMinorAxis:t.getFloat64(136,e),toSemiMajorAxis:t.getFloat64(152,e),toSemiMinorAxis:t.getFloat64(168,e)}}function zt(t,e,n){return String.fromCharCode.apply(null,new Uint8Array(t.buffer.slice(e,n)))}function Bt(t,e,n){for(var i=176,r=[],s=0;s5e-11)&&(t.datum_type===r?t.datum_params[0]===e.datum_params[0]&&t.datum_params[1]===e.datum_params[1]&&t.datum_params[2]===e.datum_params[2]:t.datum_type!==s||t.datum_params[0]===e.datum_params[0]&&t.datum_params[1]===e.datum_params[1]&&t.datum_params[2]===e.datum_params[2]&&t.datum_params[3]===e.datum_params[3]&&t.datum_params[4]===e.datum_params[4]&&t.datum_params[5]===e.datum_params[5]&&t.datum_params[6]===e.datum_params[6]))}function Zt(t,e,n){var i,r,s,o,a=t.x,c=t.y,l=t.z?t.z:0;if(c<-f&&c>-1.001*f)c=-f;else if(c>f&&c<1.001*f)c=f;else{if(c<-f)return{x:-1/0,y:-1/0,z:t.z};if(c>f)return{x:1/0,y:1/0,z:t.z}}return a>Math.PI&&(a-=2*Math.PI),r=Math.sin(c),o=Math.cos(c),s=r*r,i=n/Math.sqrt(1-e*s),{x:(i+l)*o*Math.cos(a),y:(i+l)*o*Math.sin(a),z:(i*(1-e)+l)*r}}function Jt(t,e,n,i){var r,s,o,a,c,l,u,h,d,p,_,m,g,y,v,b,M=1e-12,w=M*M,x=30,L=t.x,E=t.y,T=t.z?t.z:0;if(r=Math.sqrt(L*L+E*E),s=Math.sqrt(L*L+E*E+T*T),r/nw&&gi.y||u>i.x||fl&&Math.abs(o.y)>l);if(c<0)return console.log("Inverse grid shift iterator failed to converge."),i;i.x=ut(s.x+n.ll[0]),i.y=s.y+n.ll[1]}else isNaN(s.x)||(i.x=t.x+s.x,i.y=t.y+s.y);return i}function se(t,e){var n,i={x:t.x/e.del[0],y:t.y/e.del[1]},r={x:Math.floor(i.x),y:Math.floor(i.y)},s={x:i.x-1*r.x,y:i.y-1*r.y},o={x:Number.NaN,y:Number.NaN};if(r.x<0||r.x>=e.lim[0])return o;if(r.y<0||r.y>=e.lim[1])return o;n=r.y*e.lim[0]+r.x;var a={x:e.cvs[n][0],y:e.cvs[n][1]};n++;var c={x:e.cvs[n][0],y:e.cvs[n][1]};n+=e.lim[0];var l={x:e.cvs[n][0],y:e.cvs[n][1]};n--;var u={x:e.cvs[n][0],y:e.cvs[n][1]},h=s.x*s.y,d=s.x*(1-s.y),f=(1-s.x)*(1-s.y),p=(1-s.x)*s.y;return o.x=f*a.x+d*c.x+p*u.x+h*l.x,o.y=f*a.y+d*c.y+p*u.y+h*l.y,o}var oe=function(t,e,n){var i,r,s,o=n.x,a=n.y,c=n.z||0,l={};for(s=0;s<3;s++)if(!e||2!==s||void 0!==n.z)switch(0===s?(i=o,r=-1!=="ew".indexOf(t.axis[s])?"x":"y"):1===s?(i=a,r=-1!=="ns".indexOf(t.axis[s])?"y":"x"):(i=c,r="z"),t.axis[s]){case"e":l[r]=i;break;case"w":l[r]=-i;break;case"n":l[r]=i;break;case"s":l[r]=-i;break;case"u":void 0!==n[r]&&(l.z=i);break;case"d":void 0!==n[r]&&(l.z=-i);break;default:return null}return l},ae=function(t){var e={x:t[0],y:t[1]};return t.length>2&&(e.z=t[2]),t.length>3&&(e.m=t[3]),e},ce=function(t){le(t.x),le(t.y)};function le(t){if("function"===typeof Number.isFinite){if(Number.isFinite(t))return;throw new TypeError("coordinates must be finite numbers")}if("number"!==typeof t||t!==t||!isFinite(t))throw new TypeError("coordinates must be finite numbers")}function ue(t,e){return(t.datum.datum_type===r||t.datum.datum_type===s)&&"WGS84"!==e.datumCode||(e.datum.datum_type===r||e.datum.datum_type===s)&&"WGS84"!==t.datumCode}function he(t,e,n,i){var r;if(Array.isArray(n)&&(n=ae(n)),ce(n),t.datum&&e.datum&&ue(t,e)&&(r=new Xt("WGS84"),n=he(t,r,n,i),t=r),i&&"enu"!==t.axis&&(n=oe(t,!1,n)),"longlat"===t.projName)n={x:n.x*y,y:n.y*y,z:n.z||0};else if(t.to_meter&&(n={x:n.x*t.to_meter,y:n.y*t.to_meter,z:n.z||0}),n=t.inverse(n),!n)return;if(t.from_greenwich&&(n.x+=t.from_greenwich),n=ne(t.datum,e.datum,n),n)return e.from_greenwich&&(n={x:n.x-e.from_greenwich,y:n.y,z:n.z||0}),"longlat"===e.projName?n={x:n.x*v,y:n.y*v,z:n.z||0}:(n=e.forward(n),e.to_meter&&(n={x:n.x/e.to_meter,y:n.y/e.to_meter,z:n.z||0})),i&&"enu"!==e.axis?oe(e,!0,n):n}var de=Xt("WGS84");function fe(t,e,n,i){var r,s,o;return Array.isArray(n)?(r=he(t,e,n,i)||{x:NaN,y:NaN},n.length>2?"undefined"!==typeof t.name&&"geocent"===t.name||"undefined"!==typeof e.name&&"geocent"===e.name?"number"===typeof r.z?[r.x,r.y,r.z].concat(n.splice(3)):[r.x,r.y,n[2]].concat(n.splice(3)):[r.x,r.y].concat(n.splice(2)):[r.x,r.y]):(s=he(t,e,n,i),o=Object.keys(n),2===o.length?s:(o.forEach(function(i){if("undefined"!==typeof t.name&&"geocent"===t.name||"undefined"!==typeof e.name&&"geocent"===e.name){if("x"===i||"y"===i||"z"===i)return}else if("x"===i||"y"===i)return;s[i]=n[i]}),s))}function pe(t){return t instanceof Xt?t:t.oProj?t.oProj:Xt(t)}function _e(t,e,n){t=pe(t);var i,r=!1;return"undefined"===typeof e?(e=t,t=de,r=!0):("undefined"!==typeof e.x||Array.isArray(e))&&(n=e,e=t,t=de,r=!0),e=pe(e),n?fe(t,e,n):(i={forward:function(n,i){return fe(t,e,n,i)},inverse:function(n,i){return fe(e,t,n,i)}},r&&(i.oProj=e),i)}var me=_e,ge=6,ye="AJSAJS",ve="AFAFAF",be=65,Me=73,we=79,xe=86,Le=90,Ee={forward:Te,inverse:Se,toPoint:Oe};function Te(t,e){return e=e||5,Re(Ie({lat:t[1],lon:t[0]}),e)}function Se(t){var e=De(je(t.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat,e.lon,e.lat]:[e.left,e.bottom,e.right,e.top]}function Oe(t){var e=De(je(t.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat]:[(e.left+e.right)/2,(e.top+e.bottom)/2]}function ke(t){return t*(Math.PI/180)}function Ce(t){return t/Math.PI*180}function Ie(t){var e,n,i,r,s,o,a,c,l,u=t.lat,h=t.lon,d=6378137,f=.00669438,p=.9996,_=ke(u),m=ke(h);l=Math.floor((h+180)/6)+1,180===h&&(l=60),u>=56&&u<64&&h>=3&&h<12&&(l=32),u>=72&&u<84&&(h>=0&&h<9?l=31:h>=9&&h<21?l=33:h>=21&&h<33?l=35:h>=33&&h<42&&(l=37)),e=6*(l-1)-180+3,c=ke(e),n=f/(1-f),i=d/Math.sqrt(1-f*Math.sin(_)*Math.sin(_)),r=Math.tan(_)*Math.tan(_),s=n*Math.cos(_)*Math.cos(_),o=Math.cos(_)*(m-c),a=d*((1-f/4-3*f*f/64-5*f*f*f/256)*_-(3*f/8+3*f*f/32+45*f*f*f/1024)*Math.sin(2*_)+(15*f*f/256+45*f*f*f/1024)*Math.sin(4*_)-35*f*f*f/3072*Math.sin(6*_));var g=p*i*(o+(1-r+s)*o*o*o/6+(5-18*r+r*r+72*s-58*n)*o*o*o*o*o/120)+5e5,y=p*(a+i*Math.tan(_)*(o*o/2+(5-r+9*s+4*s*s)*o*o*o*o/24+(61-58*r+r*r+600*s-330*n)*o*o*o*o*o*o/720));return u<0&&(y+=1e7),{northing:Math.round(y),easting:Math.round(g),zoneNumber:l,zoneLetter:Ye(u)}}function De(t){var e=t.northing,n=t.easting,i=t.zoneLetter,r=t.zoneNumber;if(r<0||r>60)return null;var s,o,a,c,l,u,h,d,f,p,_=.9996,m=6378137,g=.00669438,y=(1-Math.sqrt(1-g))/(1+Math.sqrt(1-g)),v=n-5e5,b=e;i<"N"&&(b-=1e7),d=6*(r-1)-180+3,s=g/(1-g),h=b/_,f=h/(m*(1-g/4-3*g*g/64-5*g*g*g/256)),p=f+(3*y/2-27*y*y*y/32)*Math.sin(2*f)+(21*y*y/16-55*y*y*y*y/32)*Math.sin(4*f)+151*y*y*y/96*Math.sin(6*f),o=m/Math.sqrt(1-g*Math.sin(p)*Math.sin(p)),a=Math.tan(p)*Math.tan(p),c=s*Math.cos(p)*Math.cos(p),l=m*(1-g)/Math.pow(1-g*Math.sin(p)*Math.sin(p),1.5),u=v/(o*_);var M=p-o*Math.tan(p)/l*(u*u/2-(5+3*a+10*c-4*c*c-9*s)*u*u*u*u/24+(61+90*a+298*c+45*a*a-252*s-3*c*c)*u*u*u*u*u*u/720);M=Ce(M);var w,x=(u-(1+2*a+c)*u*u*u/6+(5-2*c+28*a-3*c*c+8*s+24*a*a)*u*u*u*u*u/120)/Math.cos(p);if(x=d+Ce(x),t.accuracy){var L=De({northing:t.northing+t.accuracy,easting:t.easting+t.accuracy,zoneLetter:t.zoneLetter,zoneNumber:t.zoneNumber});w={top:L.lat,right:L.lon,bottom:M,left:x}}else w={lat:M,lon:x};return w}function Ye(t){var e="Z";return 84>=t&&t>=72?e="X":72>t&&t>=64?e="W":64>t&&t>=56?e="V":56>t&&t>=48?e="U":48>t&&t>=40?e="T":40>t&&t>=32?e="S":32>t&&t>=24?e="R":24>t&&t>=16?e="Q":16>t&&t>=8?e="P":8>t&&t>=0?e="N":0>t&&t>=-8?e="M":-8>t&&t>=-16?e="L":-16>t&&t>=-24?e="K":-24>t&&t>=-32?e="J":-32>t&&t>=-40?e="H":-40>t&&t>=-48?e="G":-48>t&&t>=-56?e="F":-56>t&&t>=-64?e="E":-64>t&&t>=-72?e="D":-72>t&&t>=-80&&(e="C"),e}function Re(t,e){var n="00000"+t.easting,i="00000"+t.northing;return t.zoneNumber+t.zoneLetter+Ae(t.easting,t.northing,t.zoneNumber)+n.substr(n.length-5,e)+i.substr(i.length-5,e)}function Ae(t,e,n){var i=Ne(n),r=Math.floor(t/1e5),s=Math.floor(e/1e5)%20;return Pe(r,s,i)}function Ne(t){var e=t%ge;return 0===e&&(e=ge),e}function Pe(t,e,n){var i=n-1,r=ye.charCodeAt(i),s=ve.charCodeAt(i),o=r+t-1,a=s+e,c=!1;o>Le&&(o=o-Le+be-1,c=!0),(o===Me||rMe||(o>Me||rwe||(o>we||rLe&&(o=o-Le+be-1),a>xe?(a=a-xe+be-1,c=!0):c=!1,(a===Me||sMe||(a>Me||swe||(a>we||sxe&&(a=a-xe+be-1);var l=String.fromCharCode(o)+String.fromCharCode(a);return l}function je(t){if(t&&0===t.length)throw"MGRSPoint coverting from nothing";var e,n=t.length,i=null,r="",s=0;while(!/[A-Z]/.test(e=t.charAt(s))){if(s>=2)throw"MGRSPoint bad conversion from: "+t;r+=e,s++}var o=parseInt(r,10);if(0===s||s+3>n)throw"MGRSPoint bad conversion from: "+t;var a=t.charAt(s++);if(a<="A"||"B"===a||"Y"===a||a>="Z"||"I"===a||"O"===a)throw"MGRSPoint zone letter "+a+" not handled: "+t;i=t.substring(s,s+=2);var c=Ne(o),l=Fe(i.charAt(0),c),u=He(i.charAt(1),c);while(u0&&(d=1e5/Math.pow(10,g),f=t.substring(s,s+g),y=parseFloat(f)*d,p=t.substring(s+g),v=parseFloat(p)*d),_=y+l,m=v+u,{easting:_,northing:m,zoneLetter:a,zoneNumber:o,accuracy:d}}function Fe(t,e){var n=ye.charCodeAt(e-1),i=1e5,r=!1;while(n!==t.charCodeAt(0)){if(n++,n===Me&&n++,n===we&&n++,n>Le){if(r)throw"Bad character: "+t;n=be,r=!0}i+=1e5}return i}function He(t,e){if(t>"V")throw"MGRSPoint given invalid Northing "+t;var n=ve.charCodeAt(e-1),i=0,r=!1;while(n!==t.charCodeAt(0)){if(n++,n===Me&&n++,n===we&&n++,n>xe){if(r)throw"Bad character: "+t;n=be,r=!0}i+=1e5}return i}function Ge(t){var e;switch(t){case"C":e=11e5;break;case"D":e=2e6;break;case"E":e=28e5;break;case"F":e=37e5;break;case"G":e=46e5;break;case"H":e=55e5;break;case"J":e=64e5;break;case"K":e=73e5;break;case"L":e=82e5;break;case"M":e=91e5;break;case"N":e=0;break;case"P":e=8e5;break;case"Q":e=17e5;break;case"R":e=26e5;break;case"S":e=35e5;break;case"T":e=44e5;break;case"U":e=53e5;break;case"V":e=62e5;break;case"W":e=7e6;break;case"X":e=79e5;break;default:e=-1}if(e>=0)return e;throw"Invalid zone letter: "+t}function qe(t,e,n){if(!(this instanceof qe))return new qe(t,e,n);if(Array.isArray(t))this.x=t[0],this.y=t[1],this.z=t[2]||0;else if("object"===typeof t)this.x=t.x,this.y=t.y,this.z=t.z||0;else if("string"===typeof t&&"undefined"===typeof e){var i=t.split(",");this.x=parseFloat(i[0],10),this.y=parseFloat(i[1],10),this.z=parseFloat(i[2],10)||0}else this.x=t,this.y=e,this.z=n||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}qe.fromMGRS=function(t){return new qe(Oe(t))},qe.prototype.toMGRS=function(t){return Te([this.x,this.y],t)};var ze=qe,Be=1,$e=.25,We=.046875,Ue=.01953125,Ve=.01068115234375,Xe=.75,Ke=.46875,Ze=.013020833333333334,Je=.007120768229166667,Qe=.3645833333333333,tn=.005696614583333333,en=.3076171875,nn=function(t){var e=[];e[0]=Be-t*($e+t*(We+t*(Ue+t*Ve))),e[1]=t*(Xe-t*(We+t*(Ue+t*Ve)));var n=t*t;return e[2]=n*(Ke-t*(Ze+t*Je)),n*=t,e[3]=n*(Qe-t*tn),e[4]=n*t*en,e},rn=function(t,e,n,i){return n*=e,e*=e,i[0]*t-n*(i[1]+e*(i[2]+e*(i[3]+e*i[4])))},sn=20,on=function(t,e,n){for(var i=1/(1-e),r=t,s=sn;s;--s){var o=Math.sin(r),a=1-e*o*o;if(a=(rn(r,o,Math.cos(r),n)-t)*(a*Math.sqrt(a))*i,r-=a,Math.abs(a)g?Math.tan(s):0,p=Math.pow(f,2),_=Math.pow(p,2);e=1-this.es*Math.pow(a,2),l/=Math.sqrt(e);var m=rn(s,a,c,this.en);n=this.a*(this.k0*l*(1+u/6*(1-p+h+u/20*(5-18*p+_+14*h-58*p*h+u/42*(61+179*_-_*p-479*p)))))+this.x0,i=this.a*(this.k0*(m-this.ml0+a*o*l/2*(1+u/12*(5-p+9*h+4*d+u/30*(61+_-58*p+270*h-330*p*h+u/56*(1385+543*_-_*p-3111*p))))))+this.y0}else{var y=c*Math.sin(o);if(Math.abs(Math.abs(y)-1)=1){if(y-1>g)return 93;i=0}else i=Math.acos(i);s<0&&(i=-i),i=this.a*this.k0*(i-this.lat0)+this.y0}return t.x=n,t.y=i,t}function ln(t){var e,n,i,r,s=(t.x-this.x0)*(1/this.a),o=(t.y-this.y0)*(1/this.a);if(this.es)if(e=this.ml0+o/this.k0,n=on(e,this.es,this.en),Math.abs(n)g?Math.tan(n):0,u=this.ep2*Math.pow(c,2),h=Math.pow(u,2),d=Math.pow(l,2),p=Math.pow(d,2);e=1-this.es*Math.pow(a,2);var _=s*Math.sqrt(e)/this.k0,m=Math.pow(_,2);e*=l,i=n-e*m/(1-this.es)*.5*(1-m/12*(5+3*d-9*u*d+u-4*h-m/30*(61+90*d-252*u*d+45*p+46*u-m/56*(1385+3633*d+4095*p+1574*p*d)))),r=ut(this.long0+_*(1-m/6*(1+2*d+u-m/20*(5+28*d+24*p+8*u*d+6*u-m/42*(61+662*d+1320*p+720*p*d))))/c)}else i=f*lt(o),r=0;else{var y=Math.exp(s/this.k0),v=.5*(y-1/y),b=this.lat0+o/this.k0,M=Math.cos(b);e=Math.sqrt((1-Math.pow(M,2))/(1+Math.pow(v,2))),i=Math.asin(e),o<0&&(i=-i),r=0===v&&0===M?0:ut(Math.atan2(v,M)+this.long0)}return t.x=r,t.y=i,t}var un=["Fast_Transverse_Mercator","Fast Transverse Mercator"],hn={init:an,forward:cn,inverse:ln,names:un},dn=function(t){var e=Math.exp(t);return e=(e-1/e)/2,e},fn=function(t,e){t=Math.abs(t),e=Math.abs(e);var n=Math.max(t,e),i=Math.min(t,e)/(n||1);return n*Math.sqrt(1+Math.pow(i,2))},pn=function(t){var e=1+t,n=e-1;return 0===n?t:t*Math.log(e)/n},_n=function(t){var e=Math.abs(t);return e=pn(e*(1+e/(fn(1,e)+1))),t<0?-e:e},mn=function(t,e){var n,i=2*Math.cos(2*e),r=t.length-1,s=t[r],o=0;while(--r>=0)n=i*s-o+t[r],o=s,s=n;return e+n*Math.sin(2*e)},gn=function(t,e){var n,i=2*Math.cos(e),r=t.length-1,s=t[r],o=0;while(--r>=0)n=i*s-o+t[r],o=s,s=n;return Math.sin(e)*n},yn=function(t){var e=Math.exp(t);return e=(e+1/e)/2,e},vn=function(t,e,n){var i,r,s=Math.sin(e),o=Math.cos(e),a=dn(n),c=yn(n),l=2*o*c,u=-2*s*a,h=t.length-1,d=t[h],f=0,p=0,_=0;while(--h>=0)i=p,r=f,p=d,f=_,d=l*p-i-u*f+t[h],_=u*p-r+l*f;return l=s*c,u=o*a,[l*d-u*_,l*_+u*d]};function bn(){if(!this.approx&&(isNaN(this.es)||this.es<=0))throw new Error('Incorrect elliptical usage. Try using the +approx option in the proj string, or PROJECTION["Fast_Transverse_Mercator"] in the WKT.');this.approx&&(hn.init.apply(this),this.forward=hn.forward,this.inverse=hn.inverse),this.x0=void 0!==this.x0?this.x0:0,this.y0=void 0!==this.y0?this.y0:0,this.long0=void 0!==this.long0?this.long0:0,this.lat0=void 0!==this.lat0?this.lat0:0,this.cgb=[],this.cbg=[],this.utg=[],this.gtu=[];var t=this.es/(1+Math.sqrt(1-this.es)),e=t/(2-t),n=e;this.cgb[0]=e*(2+e*(-2/3+e*(e*(116/45+e*(26/45+e*(-2854/675)))-2))),this.cbg[0]=e*(e*(2/3+e*(4/3+e*(-82/45+e*(32/45+e*(4642/4725)))))-2),n*=e,this.cgb[1]=n*(7/3+e*(e*(-227/45+e*(2704/315+e*(2323/945)))-1.6)),this.cbg[1]=n*(5/3+e*(-16/15+e*(-13/9+e*(904/315+e*(-1522/945))))),n*=e,this.cgb[2]=n*(56/15+e*(-136/35+e*(-1262/105+e*(73814/2835)))),this.cbg[2]=n*(-26/15+e*(34/21+e*(1.6+e*(-12686/2835)))),n*=e,this.cgb[3]=n*(4279/630+e*(-332/35+e*(-399572/14175))),this.cbg[3]=n*(1237/630+e*(e*(-24832/14175)-2.4)),n*=e,this.cgb[4]=n*(4174/315+e*(-144838/6237)),this.cbg[4]=n*(-734/315+e*(109598/31185)),n*=e,this.cgb[5]=n*(601676/22275),this.cbg[5]=n*(444337/155925),n=Math.pow(e,2),this.Qn=this.k0/(1+e)*(1+n*(.25+n*(1/64+n/256))),this.utg[0]=e*(e*(2/3+e*(-37/96+e*(1/360+e*(81/512+e*(-96199/604800)))))-.5),this.gtu[0]=e*(.5+e*(-2/3+e*(5/16+e*(41/180+e*(-127/288+e*(7891/37800)))))),this.utg[1]=n*(-1/48+e*(-1/15+e*(437/1440+e*(-46/105+e*(1118711/3870720))))),this.gtu[1]=n*(13/48+e*(e*(557/1440+e*(281/630+e*(-1983433/1935360)))-.6)),n*=e,this.utg[2]=n*(-17/480+e*(37/840+e*(209/4480+e*(-5569/90720)))),this.gtu[2]=n*(61/240+e*(-103/140+e*(15061/26880+e*(167603/181440)))),n*=e,this.utg[3]=n*(-4397/161280+e*(11/504+e*(830251/7257600))),this.gtu[3]=n*(49561/161280+e*(-179/168+e*(6601661/7257600))),n*=e,this.utg[4]=n*(-4583/161280+e*(108847/3991680)),this.gtu[4]=n*(34729/80640+e*(-3418889/1995840)),n*=e,this.utg[5]=-.03233083094085698*n,this.gtu[5]=.6650675310896665*n;var i=mn(this.cbg,this.lat0);this.Zb=-this.Qn*(i+gn(this.gtu,2*i))}function Mn(t){var e=ut(t.x-this.long0),n=t.y;n=mn(this.cbg,n);var i=Math.sin(n),r=Math.cos(n),s=Math.sin(e),o=Math.cos(e);n=Math.atan2(i,o*r),e=Math.atan2(s*r,fn(i,r*o)),e=_n(Math.tan(e));var a,c,l=vn(this.gtu,2*n,2*e);return n+=l[0],e+=l[1],Math.abs(e)<=2.623395162778?(a=this.a*(this.Qn*e)+this.x0,c=this.a*(this.Qn*n+this.Zb)+this.y0):(a=1/0,c=1/0),t.x=a,t.y=c,t}function wn(t){var e,n,i=(t.x-this.x0)*(1/this.a),r=(t.y-this.y0)*(1/this.a);if(r=(r-this.Zb)/this.Qn,i/=this.Qn,Math.abs(i)<=2.623395162778){var s=vn(this.utg,2*r,2*i);r+=s[0],i+=s[1],i=Math.atan(dn(i));var o=Math.sin(r),a=Math.cos(r),c=Math.sin(i),l=Math.cos(i);r=Math.atan2(o*l,fn(c,l*a)),i=Math.atan2(c,l*a),e=ut(i+this.long0),n=mn(this.cgb,r)}else e=1/0,n=1/0;return t.x=e,t.y=n,t}var xn=["Extended_Transverse_Mercator","Extended Transverse Mercator","etmerc","Transverse_Mercator","Transverse Mercator","tmerc"],Ln={init:bn,forward:Mn,inverse:wn,names:xn},En=function(t,e){if(void 0===t){if(t=Math.floor(30*(ut(e)+Math.PI)/Math.PI)+1,t<0)return 0;if(t>60)return 60}return t},Tn="etmerc";function Sn(){var t=En(this.zone,this.long0);if(void 0===t)throw new Error("unknown utm zone");this.lat0=0,this.long0=(6*Math.abs(t)-183)*y,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,Ln.init.apply(this),this.forward=Ln.forward,this.inverse=Ln.inverse}var On=["Universal Transverse Mercator System","utm"],kn={init:Sn,names:On,dependsOn:Tn},Cn=function(t,e){return Math.pow((1-t)/(1+t),e)},In=20;function Dn(){var t=Math.sin(this.lat0),e=Math.cos(this.lat0);e*=e,this.rc=Math.sqrt(1-this.es)/(1-this.es*t*t),this.C=Math.sqrt(1+this.es*e*e/(1-this.es)),this.phic0=Math.asin(t/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+b)/(Math.pow(Math.tan(.5*this.lat0+b),this.C)*Cn(this.e*t,this.ratexp))}function Yn(t){var e=t.x,n=t.y;return t.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*n+b),this.C)*Cn(this.e*Math.sin(n),this.ratexp))-f,t.x=this.C*e,t}function Rn(t){for(var e=1e-14,n=t.x/this.C,i=t.y,r=Math.pow(Math.tan(.5*i+b)/this.K,1/this.C),s=In;s>0;--s){if(i=2*Math.atan(r*Cn(this.e*Math.sin(t.y),-.5*this.e))-f,Math.abs(i-t.y)0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=g&&(this.k0=.5*this.cons*ct(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/ht(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=ct(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-f,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))}function Bn(t){var e,n,i,r,s,o,a=t.x,c=t.y,l=Math.sin(c),u=Math.cos(c),h=ut(a-this.long0);return Math.abs(Math.abs(a-this.long0)-Math.PI)<=g&&Math.abs(c+this.lat0)<=g?(t.x=NaN,t.y=NaN,t):this.sphere?(e=2*this.k0/(1+this.sinlat0*l+this.coslat0*u*Math.cos(h)),t.x=this.a*e*u*Math.sin(h)+this.x0,t.y=this.a*e*(this.coslat0*l-this.sinlat0*u*Math.cos(h))+this.y0,t):(n=2*Math.atan(this.ssfn_(c,l,this.e))-f,r=Math.cos(n),i=Math.sin(n),Math.abs(this.coslat0)<=g?(s=ht(this.e,c*this.con,this.con*l),o=2*this.a*this.k0*s/this.cons,t.x=this.x0+o*Math.sin(a-this.long0),t.y=this.y0-this.con*o*Math.cos(a-this.long0),t):(Math.abs(this.sinlat0)0?ut(this.long0+Math.atan2(t.x,-1*t.y)):ut(this.long0+Math.atan2(t.x,t.y)):ut(this.long0+Math.atan2(t.x*Math.sin(a),o*this.coslat0*Math.cos(a)-t.y*this.sinlat0*Math.sin(a))),t.x=e,t.y=n,t)}if(Math.abs(this.coslat0)<=g){if(o<=g)return n=this.lat0,e=this.long0,t.x=e,t.y=n,t;t.x*=this.con,t.y*=this.con,i=o*this.cons/(2*this.a*this.k0),n=this.con*dt(this.e,i),e=this.con*ut(this.con*this.long0+Math.atan2(t.x,-1*t.y))}else r=2*Math.atan(o*this.cosX0/(2*this.a*this.k0*this.ms1)),e=this.long0,o<=g?s=this.X0:(s=Math.asin(Math.cos(r)*this.sinX0+t.y*Math.sin(r)*this.cosX0/o),e=ut(this.long0+Math.atan2(t.x*Math.sin(r),o*this.cosX0*Math.cos(r)-t.y*this.sinX0*Math.sin(r)))),n=-1*dt(this.e,Math.tan(.5*(f+s)));return t.x=e,t.y=n,t}var Wn=["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"],Un={init:zn,forward:Bn,inverse:$n,names:Wn,ssfn_:qn};function Vn(){var t=this.lat0;this.lambda0=this.long0;var e=Math.sin(t),n=this.a,i=this.rf,r=1/i,s=2*r-Math.pow(r,2),o=this.e=Math.sqrt(s);this.R=this.k0*n*Math.sqrt(1-s)/(1-s*Math.pow(e,2)),this.alpha=Math.sqrt(1+s/(1-s)*Math.pow(Math.cos(t),4)),this.b0=Math.asin(e/this.alpha);var a=Math.log(Math.tan(Math.PI/4+this.b0/2)),c=Math.log(Math.tan(Math.PI/4+t/2)),l=Math.log((1+o*e)/(1-o*e));this.K=a-this.alpha*c+this.alpha*o/2*l}function Xn(t){var e=Math.log(Math.tan(Math.PI/4-t.y/2)),n=this.e/2*Math.log((1+this.e*Math.sin(t.y))/(1-this.e*Math.sin(t.y))),i=-this.alpha*(e+n)+this.K,r=2*(Math.atan(Math.exp(i))-Math.PI/4),s=this.alpha*(t.x-this.lambda0),o=Math.atan(Math.sin(s)/(Math.sin(this.b0)*Math.tan(r)+Math.cos(this.b0)*Math.cos(s))),a=Math.asin(Math.cos(this.b0)*Math.sin(r)-Math.sin(this.b0)*Math.cos(r)*Math.cos(s));return t.y=this.R/2*Math.log((1+Math.sin(a))/(1-Math.sin(a)))+this.y0,t.x=this.R*o+this.x0,t}function Kn(t){var e=t.x-this.x0,n=t.y-this.y0,i=e/this.R,r=2*(Math.atan(Math.exp(n/this.R))-Math.PI/4),s=Math.asin(Math.cos(this.b0)*Math.sin(r)+Math.sin(this.b0)*Math.cos(r)*Math.cos(i)),o=Math.atan(Math.sin(i)/(Math.cos(this.b0)*Math.cos(i)-Math.sin(this.b0)*Math.tan(r))),a=this.lambda0+o/this.alpha,c=0,l=s,u=-1e3,h=0;while(Math.abs(l-u)>1e-7){if(++h>20)return;c=1/this.alpha*(Math.log(Math.tan(Math.PI/4+s/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(l))/2)),u=l,l=2*Math.atan(Math.exp(c))-Math.PI/2}return t.x=a,t.y=l,t}var Zn=["somerc"],Jn={init:Vn,forward:Xn,inverse:Kn,names:Zn},Qn=1e-7;function ti(t){var e=["Hotine_Oblique_Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin"],n="object"===typeof t.PROJECTION?Object.keys(t.PROJECTION)[0]:t.PROJECTION;return"no_uoff"in t||"no_off"in t||-1!==e.indexOf(n)}function ei(){var t,e,n,i,r,s,o,a,c,l,u,h=0,d=0,p=0,_=0,m=0,v=0,w=0;this.no_off=ti(this),this.no_rot="no_rot"in this;var x=!1;"alpha"in this&&(x=!0);var L=!1;if("rectified_grid_angle"in this&&(L=!0),x&&(w=this.alpha),L&&(h=this.rectified_grid_angle*y),x||L)d=this.longc;else if(p=this.long1,m=this.lat1,_=this.long2,v=this.lat2,Math.abs(m-v)<=Qn||(t=Math.abs(m))<=Qn||Math.abs(t-f)<=Qn||Math.abs(Math.abs(this.lat0)-f)<=Qn||Math.abs(Math.abs(v)-f)<=Qn)throw new Error;var E=1-this.es;e=Math.sqrt(E),Math.abs(this.lat0)>g?(a=Math.sin(this.lat0),n=Math.cos(this.lat0),t=1-this.es*a*a,this.B=n*n,this.B=Math.sqrt(1+this.es*this.B*this.B/E),this.A=this.B*this.k0*e/t,i=this.B*e/(n*Math.sqrt(t)),r=i*i-1,r<=0?r=0:(r=Math.sqrt(r),this.lat0<0&&(r=-r)),this.E=r+=i,this.E*=Math.pow(ht(this.e,this.lat0,a),this.B)):(this.B=1/e,this.A=this.k0,this.E=i=r=1),x||L?(x?(u=Math.asin(Math.sin(w)/i),L||(h=w)):(u=h,w=Math.asin(i*Math.sin(u))),this.lam0=d-Math.asin(.5*(r-1/r)*Math.tan(u))/this.B):(s=Math.pow(ht(this.e,m,Math.sin(m)),this.B),o=Math.pow(ht(this.e,v,Math.sin(v)),this.B),r=this.E/s,c=(o-s)/(o+s),l=this.E*this.E,l=(l-o*s)/(l+o*s),t=p-_,t<-Math.pi?_-=M:t>Math.pi&&(_+=M),this.lam0=ut(.5*(p+_)-Math.atan(l*Math.tan(.5*this.B*(p-_))/c)/this.B),u=Math.atan(2*Math.sin(this.B*ut(p-this.lam0))/(r-1/r)),h=w=Math.asin(i*Math.sin(u))),this.singam=Math.sin(u),this.cosgam=Math.cos(u),this.sinrot=Math.sin(h),this.cosrot=Math.cos(h),this.rB=1/this.B,this.ArB=this.A*this.rB,this.BrA=1/this.ArB,this.A,this.B,this.no_off?this.u_0=0:(this.u_0=Math.abs(this.ArB*Math.atan(Math.sqrt(i*i-1)/Math.cos(w))),this.lat0<0&&(this.u_0=-this.u_0)),r=.5*u,this.v_pole_n=this.ArB*Math.log(Math.tan(b-r)),this.v_pole_s=this.ArB*Math.log(Math.tan(b+r))}function ni(t){var e,n,i,r,s,o,a,c,l={};if(t.x=t.x-this.lam0,Math.abs(Math.abs(t.y)-f)>g){if(s=this.E/Math.pow(ht(this.e,t.y,Math.sin(t.y)),this.B),o=1/s,e=.5*(s-o),n=.5*(s+o),r=Math.sin(this.B*t.x),i=(e*this.singam-r*this.cosgam)/n,Math.abs(Math.abs(i)-1)0?this.v_pole_n:this.v_pole_s,a=this.ArB*t.y;return this.no_rot?(l.x=a,l.y=c):(a-=this.u_0,l.x=c*this.cosrot+a*this.sinrot,l.y=a*this.cosrot-c*this.sinrot),l.x=this.a*l.x+this.x0,l.y=this.a*l.y+this.y0,l}function ii(t){var e,n,i,r,s,o,a,c={};if(t.x=(t.x-this.x0)*(1/this.a),t.y=(t.y-this.y0)*(1/this.a),this.no_rot?(n=t.y,e=t.x):(n=t.x*this.cosrot-t.y*this.sinrot,e=t.y*this.cosrot+t.x*this.sinrot+this.u_0),i=Math.exp(-this.BrA*n),r=.5*(i-1/i),s=.5*(i+1/i),o=Math.sin(this.BrA*e),a=(o*this.cosgam+r*this.singam)/s,Math.abs(Math.abs(a)-1)g?this.ns=Math.log(i/a)/Math.log(r/c):this.ns=e,isNaN(this.ns)&&(this.ns=e),this.f0=i/(this.ns*Math.pow(r,this.ns)),this.rh=this.a*this.f0*Math.pow(l,this.ns),this.title||(this.title="Lambert Conformal Conic")}}function ai(t){var e=t.x,n=t.y;Math.abs(2*Math.abs(n)-Math.PI)<=g&&(n=lt(n)*(f-2*g));var i,r,s=Math.abs(Math.abs(n)-f);if(s>g)i=ht(this.e,n,Math.sin(n)),r=this.a*this.f0*Math.pow(i,this.ns);else{if(s=n*this.ns,s<=0)return null;r=0}var o=this.ns*ut(e-this.long0);return t.x=this.k0*(r*Math.sin(o))+this.x0,t.y=this.k0*(this.rh-r*Math.cos(o))+this.y0,t}function ci(t){var e,n,i,r,s,o=(t.x-this.x0)/this.k0,a=this.rh-(t.y-this.y0)/this.k0;this.ns>0?(e=Math.sqrt(o*o+a*a),n=1):(e=-Math.sqrt(o*o+a*a),n=-1);var c=0;if(0!==e&&(c=Math.atan2(n*o,n*a)),0!==e||this.ns>0){if(n=1/this.ns,i=Math.pow(e/(this.a*this.f0),n),r=dt(this.e,i),-9999===r)return null}else r=-f;return s=ut(c/this.ns+this.long0),t.x=s,t.y=r,t}var li=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_1SP","Lambert_Conformal_Conic_2SP","lcc"],ui={init:oi,forward:ai,inverse:ci,names:li};function hi(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq}function di(t){var e,n,i,r,s,o,a,c=t.x,l=t.y,u=ut(c-this.long0);return e=Math.pow((1+this.e*Math.sin(l))/(1-this.e*Math.sin(l)),this.alfa*this.e/2),n=2*(Math.atan(this.k*Math.pow(Math.tan(l/2+this.s45),this.alfa)/e)-this.s45),i=-u*this.alfa,r=Math.asin(Math.cos(this.ad)*Math.sin(n)+Math.sin(this.ad)*Math.cos(n)*Math.cos(i)),s=Math.asin(Math.cos(n)*Math.sin(i)/Math.cos(r)),o=this.n*s,a=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(r/2+this.s45),this.n),t.y=a*Math.cos(o)/1,t.x=a*Math.sin(o)/1,this.czech||(t.y*=-1,t.x*=-1),t}function fi(t){var e,n,i,r,s,o,a,c,l=t.x;t.x=t.y,t.y=l,this.czech||(t.y*=-1,t.x*=-1),o=Math.sqrt(t.x*t.x+t.y*t.y),s=Math.atan2(t.y,t.x),r=s/Math.sin(this.s0),i=2*(Math.atan(Math.pow(this.ro0/o,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),e=Math.asin(Math.cos(this.ad)*Math.sin(i)-Math.sin(this.ad)*Math.cos(i)*Math.cos(r)),n=Math.asin(Math.cos(i)*Math.sin(r)/Math.cos(e)),t.x=this.long0-n/this.alfa,a=e,c=0;var u=0;do{t.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(e/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(a))/(1-this.e*Math.sin(a)),this.e/2))-this.s45),Math.abs(a-t.y)<1e-10&&(c=1),a=t.y,u+=1}while(0===c&&u<15);return u>=15?null:t}var pi=["Krovak","krovak"],_i={init:hi,forward:di,inverse:fi,names:pi},mi=function(t,e,n,i,r){return t*r-e*Math.sin(2*r)+n*Math.sin(4*r)-i*Math.sin(6*r)},gi=function(t){return 1-.25*t*(1+t/16*(3+1.25*t))},yi=function(t){return.375*t*(1+.25*t*(1+.46875*t))},vi=function(t){return.05859375*t*t*(1+.75*t)},bi=function(t){return t*t*t*(35/3072)},Mi=function(t,e,n){var i=e*n;return t/Math.sqrt(1-i*i)},wi=function(t){return Math.abs(t)1e-7?(n=t*e,(1-t*t)*(e/(1-n*n)-.5/t*Math.log((1-n)/(1+n)))):2*e},Ci=1,Ii=2,Di=3,Yi=4;function Ri(){var t,e=Math.abs(this.lat0);if(Math.abs(e-f)0)switch(this.qp=ki(this.e,1),this.mmf=.5/(1-this.es),this.apa=zi(this.es),this.mode){case this.N_POLE:this.dd=1;break;case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),t=Math.sin(this.lat0),this.sinb1=ki(this.e,t)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*t*t)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd;break}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))}function Ai(t){var e,n,i,r,s,o,a,c,l,u,h=t.x,d=t.y;if(h=ut(h-this.long0),this.sphere){if(s=Math.sin(d),u=Math.cos(d),i=Math.cos(h),this.mode===this.OBLIQ||this.mode===this.EQUIT){if(n=this.mode===this.EQUIT?1+u*i:1+this.sinph0*s+this.cosph0*u*i,n<=g)return null;n=Math.sqrt(2/n),e=n*u*Math.sin(h),n*=this.mode===this.EQUIT?s:this.cosph0*s-this.sinph0*u*i}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(i=-i),Math.abs(d+this.lat0)=0?(e=(l=Math.sqrt(o))*r,n=i*(this.mode===this.S_POLE?l:-l)):e=n=0;break}}return t.x=this.a*e+this.x0,t.y=this.a*n+this.y0,t}function Ni(t){t.x-=this.x0,t.y-=this.y0;var e,n,i,r,s,o,a,c=t.x/this.a,l=t.y/this.a;if(this.sphere){var u,h=0,d=0;if(u=Math.sqrt(c*c+l*l),n=.5*u,n>1)return null;switch(n=2*Math.asin(n),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(d=Math.sin(n),h=Math.cos(n)),this.mode){case this.EQUIT:n=Math.abs(u)<=g?0:Math.asin(l*d/u),c*=d,l=h*u;break;case this.OBLIQ:n=Math.abs(u)<=g?this.lat0:Math.asin(h*this.sinph0+l*d*this.cosph0/u),c*=d*this.cosph0,l=(h-Math.sin(n)*this.sinph0)*u;break;case this.N_POLE:l=-l,n=f-n;break;case this.S_POLE:n-=f;break}e=0!==l||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(c,l):0}else{if(a=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(c/=this.dd,l*=this.dd,o=Math.sqrt(c*c+l*l),o1&&(t=t>1?1:-1),Math.asin(t)};function Vi(){Math.abs(this.lat1+this.lat2)g?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)}function Xi(t){var e=t.x,n=t.y;this.sin_phi=Math.sin(n),this.cos_phi=Math.cos(n);var i=ki(this.e3,this.sin_phi,this.cos_phi),r=this.a*Math.sqrt(this.c-this.ns0*i)/this.ns0,s=this.ns0*ut(e-this.long0),o=r*Math.sin(s)+this.x0,a=this.rh-r*Math.cos(s)+this.y0;return t.x=o,t.y=a,t}function Ki(t){var e,n,i,r,s,o;return t.x-=this.x0,t.y=this.rh-t.y+this.y0,this.ns0>=0?(e=Math.sqrt(t.x*t.x+t.y*t.y),i=1):(e=-Math.sqrt(t.x*t.x+t.y*t.y),i=-1),r=0,0!==e&&(r=Math.atan2(i*t.x,i*t.y)),i=e*this.ns0/this.a,this.sphere?o=Math.asin((this.c-i*i)/(2*this.ns0)):(n=(this.c-i*i)/this.ns0,o=this.phi1z(this.e3,n)),s=ut(r/this.ns0+this.long0),t.x=s,t.y=o,t}function Zi(t,e){var n,i,r,s,o,a=Ui(.5*e);if(t0||Math.abs(o)<=g?(a=this.x0+this.a*s*n*Math.sin(i)/o,c=this.y0+this.a*s*(this.cos_p14*e-this.sin_p14*n*r)/o):(a=this.x0+this.infinity_dist*n*Math.sin(i),c=this.y0+this.infinity_dist*(this.cos_p14*e-this.sin_p14*n*r)),t.x=a,t.y=c,t}function nr(t){var e,n,i,r,s,o;return t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,t.x/=this.k0,t.y/=this.k0,(e=Math.sqrt(t.x*t.x+t.y*t.y))?(r=Math.atan2(e,this.rc),n=Math.sin(r),i=Math.cos(r),o=Ui(i*this.sin_p14+t.y*n*this.cos_p14/e),s=Math.atan2(t.x*n,e*this.cos_p14*i-t.y*this.sin_p14*n),s=ut(this.long0+s)):(o=this.phic0,s=0),t.x=s,t.y=o,t}var ir=["gnom"],rr={init:tr,forward:er,inverse:nr,names:ir},sr=function(t,e){var n=1-(1-t*t)/(2*t)*Math.log((1-t)/(1+t));if(Math.abs(Math.abs(e)-n)<1e-6)return e<0?-1*f:f;for(var i,r,s,o,a=Math.asin(.5*e),c=0;c<30;c++)if(r=Math.sin(a),s=Math.cos(a),o=t*r,i=Math.pow(1-o*o,2)/(2*s)*(e/(1-t*t)-r/(1-o*o)+.5/t*Math.log((1-o)/(1+o))),a+=i,Math.abs(i)<=1e-10)return a;return NaN};function or(){this.sphere||(this.k0=ct(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))}function ar(t){var e,n,i=t.x,r=t.y,s=ut(i-this.long0);if(this.sphere)e=this.x0+this.a*s*Math.cos(this.lat_ts),n=this.y0+this.a*Math.sin(r)/Math.cos(this.lat_ts);else{var o=ki(this.e,Math.sin(r));e=this.x0+this.a*this.k0*s,n=this.y0+this.a*o*.5/this.k0}return t.x=e,t.y=n,t}function cr(t){var e,n;return t.x-=this.x0,t.y-=this.y0,this.sphere?(e=ut(this.long0+t.x/this.a/Math.cos(this.lat_ts)),n=Math.asin(t.y/this.a*Math.cos(this.lat_ts))):(n=sr(this.e,2*t.y*this.k0/this.a),e=ut(this.long0+t.x/(this.a*this.k0))),t.x=e,t.y=n,t}var lr=["cea"],ur={init:or,forward:ar,inverse:cr,names:lr};function hr(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)}function dr(t){var e=t.x,n=t.y,i=ut(e-this.long0),r=wi(n-this.lat0);return t.x=this.x0+this.a*i*this.rc,t.y=this.y0+this.a*r,t}function fr(t){var e=t.x,n=t.y;return t.x=ut(this.long0+(e-this.x0)/(this.a*this.rc)),t.y=wi(this.lat0+(n-this.y0)/this.a),t}var pr=["Equirectangular","Equidistant_Cylindrical","eqc"],_r={init:hr,forward:dr,inverse:fr,names:pr},mr=20;function gr(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=gi(this.es),this.e1=yi(this.es),this.e2=vi(this.es),this.e3=bi(this.es),this.ml0=this.a*mi(this.e0,this.e1,this.e2,this.e3,this.lat0)}function yr(t){var e,n,i,r=t.x,s=t.y,o=ut(r-this.long0);if(i=o*Math.sin(s),this.sphere)Math.abs(s)<=g?(e=this.a*o,n=-1*this.a*this.lat0):(e=this.a*Math.sin(i)/Math.tan(s),n=this.a*(wi(s-this.lat0)+(1-Math.cos(i))/Math.tan(s)));else if(Math.abs(s)<=g)e=this.a*o,n=-1*this.ml0;else{var a=Mi(this.a,this.e,Math.sin(s))/Math.tan(s);e=a*Math.sin(i),n=this.a*mi(this.e0,this.e1,this.e2,this.e3,s)-this.ml0+a*(1-Math.cos(i))}return t.x=e+this.x0,t.y=n+this.y0,t}function vr(t){var e,n,i,r,s,o,a,c,l;if(i=t.x-this.x0,r=t.y-this.y0,this.sphere)if(Math.abs(r+this.a*this.lat0)<=g)e=ut(i/this.a+this.long0),n=0;else{var u;for(o=this.lat0+r/this.a,a=i*i/this.a/this.a+o*o,c=o,s=mr;s;--s)if(u=Math.tan(c),l=-1*(o*(c*u+1)-c-.5*(c*c+a)*u)/((c-o)/u-1),c+=l,Math.abs(l)<=g){n=c;break}e=ut(this.long0+Math.asin(i*Math.tan(c)/this.a)/Math.sin(n))}else if(Math.abs(r+this.ml0)<=g)n=0,e=ut(this.long0+i/this.a);else{var h,d,f,p,_;for(o=(this.ml0+r)/this.a,a=i*i/this.a/this.a+o*o,c=o,s=mr;s;--s)if(_=this.e*Math.sin(c),h=Math.sqrt(1-_*_)*Math.tan(c),d=this.a*mi(this.e0,this.e1,this.e2,this.e3,c),f=this.e0-2*this.e1*Math.cos(2*c)+4*this.e2*Math.cos(4*c)-6*this.e3*Math.cos(6*c),p=d/this.a,l=(o*(h*p+1)-p-.5*h*(p*p+a))/(this.es*Math.sin(2*c)*(p*p+a-2*o*p)/(4*h)+(o-p)*(h*f-2/Math.sin(2*c))-f),c-=l,Math.abs(l)<=g){n=c;break}h=Math.sqrt(1-this.es*Math.pow(Math.sin(n),2))*Math.tan(n),e=ut(this.long0+Math.asin(i*h/this.a)/Math.sin(n))}return t.x=e,t.y=n,t}var br=["Polyconic","poly"],Mr={init:gr,forward:yr,inverse:vr,names:br};function wr(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013}function xr(t){var e,n=t.x,i=t.y,r=i-this.lat0,s=n-this.long0,o=r/d*1e-5,a=s,c=1,l=0;for(e=1;e<=10;e++)c*=o,l+=this.A[e]*c;var u,h,f=l,p=a,_=1,m=0,g=0,y=0;for(e=1;e<=6;e++)u=_*f-m*p,h=m*f+_*p,_=u,m=h,g=g+this.B_re[e]*_-this.B_im[e]*m,y=y+this.B_im[e]*_+this.B_re[e]*m;return t.x=y*this.a+this.x0,t.y=g*this.a+this.y0,t}function Lr(t){var e,n,i,r=t.x,s=t.y,o=r-this.x0,a=s-this.y0,c=a/this.a,l=o/this.a,u=1,h=0,f=0,p=0;for(e=1;e<=6;e++)n=u*c-h*l,i=h*c+u*l,u=n,h=i,f=f+this.C_re[e]*u-this.C_im[e]*h,p=p+this.C_im[e]*u+this.C_re[e]*h;for(var _=0;_.999999999999&&(n=.999999999999),e=Math.asin(n);var i=ut(this.long0+t.x/(.900316316158*this.a*Math.cos(e)));i<-Math.PI&&(i=-Math.PI),i>Math.PI&&(i=Math.PI),n=(2*e+Math.sin(2*e))/Math.PI,Math.abs(n)>1&&(n=1);var r=Math.asin(n);return t.x=i,t.y=r,t}var Gr=["Mollweide","moll"],qr={init:jr,forward:Fr,inverse:Hr,names:Gr};function zr(){Math.abs(this.lat1+this.lat2)=0?(n=Math.sqrt(t.x*t.x+t.y*t.y),e=1):(n=-Math.sqrt(t.x*t.x+t.y*t.y),e=-1);var s=0;if(0!==n&&(s=Math.atan2(e*t.x,e*t.y)),this.sphere)return r=ut(this.long0+s/this.ns),i=wi(this.g-n/this.a),t.x=r,t.y=i,t;var o=this.g-n/this.a;return i=xi(o,this.e0,this.e1,this.e2,this.e3),r=ut(this.long0+s/this.ns),t.x=r,t.y=i,t}var Wr=["Equidistant_Conic","eqdc"],Ur={init:zr,forward:Br,inverse:$r,names:Wr};function Vr(){this.R=this.a}function Xr(t){var e,n,i=t.x,r=t.y,s=ut(i-this.long0);Math.abs(r)<=g&&(e=this.x0+this.R*s,n=this.y0);var o=Ui(2*Math.abs(r/Math.PI));(Math.abs(s)<=g||Math.abs(Math.abs(r)-f)<=g)&&(e=this.x0,n=r>=0?this.y0+Math.PI*this.R*Math.tan(.5*o):this.y0+Math.PI*this.R*-Math.tan(.5*o));var a=.5*Math.abs(Math.PI/s-s/Math.PI),c=a*a,l=Math.sin(o),u=Math.cos(o),h=u/(l+u-1),d=h*h,p=h*(2/l-1),_=p*p,m=Math.PI*this.R*(a*(h-_)+Math.sqrt(c*(h-_)*(h-_)-(_+c)*(d-_)))/(_+c);s<0&&(m=-m),e=this.x0+m;var y=c+h;return m=Math.PI*this.R*(p*y-a*Math.sqrt((_+c)*(c+1)-y*y))/(_+c),n=r>=0?this.y0+m:this.y0-m,t.x=e,t.y=n,t}function Kr(t){var e,n,i,r,s,o,a,c,l,u,h,d,f;return t.x-=this.x0,t.y-=this.y0,h=Math.PI*this.R,i=t.x/h,r=t.y/h,s=i*i+r*r,o=-Math.abs(r)*(1+s),a=o-2*r*r+i*i,c=-2*o+1+2*r*r+s*s,f=r*r/c+(2*a*a*a/c/c/c-9*o*a/c/c)/27,l=(o-a*a/3/c)/c,u=2*Math.sqrt(-l/3),h=3*f/l/u,Math.abs(h)>1&&(h=h>=0?1:-1),d=Math.acos(h)/3,n=t.y>=0?(-u*Math.cos(d+Math.PI/3)-a/3/c)*Math.PI:-(-u*Math.cos(d+Math.PI/3)-a/3/c)*Math.PI,e=Math.abs(i)2*f*this.a)return;return n=e/this.a,i=Math.sin(n),r=Math.cos(n),s=this.long0,Math.abs(e)<=g?o=this.lat0:(o=Ui(r*this.sin_p12+t.y*i*this.cos_p12/e),a=Math.abs(this.lat0)-f,s=Math.abs(a)<=g?this.lat0>=0?ut(this.long0+Math.atan2(t.x,-t.y)):ut(this.long0-Math.atan2(-t.x,t.y)):ut(this.long0+Math.atan2(t.x*i,e*this.cos_p12*r-t.y*this.sin_p12*i))),t.x=s,t.y=o,t}return c=gi(this.es),l=yi(this.es),u=vi(this.es),h=bi(this.es),Math.abs(this.sin_p12-1)<=g?(d=this.a*mi(c,l,u,h,f),e=Math.sqrt(t.x*t.x+t.y*t.y),p=d-e,o=xi(p/this.a,c,l,u,h),s=ut(this.long0+Math.atan2(t.x,-1*t.y)),t.x=s,t.y=o,t):Math.abs(this.sin_p12+1)<=g?(d=this.a*mi(c,l,u,h,f),e=Math.sqrt(t.x*t.x+t.y*t.y),p=e-d,o=xi(p/this.a,c,l,u,h),s=ut(this.long0+Math.atan2(t.x,t.y)),t.x=s,t.y=o,t):(e=Math.sqrt(t.x*t.x+t.y*t.y),y=Math.atan2(t.x,t.y),_=Mi(this.a,this.e,this.sin_p12),v=Math.cos(y),b=this.e*this.cos_p12*v,M=-b*b/(1-this.es),w=3*this.es*(1-M)*this.sin_p12*this.cos_p12*v/(1-this.es),x=e/_,L=x-M*(1+M)*Math.pow(x,3)/6-w*(1+3*M)*Math.pow(x,4)/24,E=1-M*L*L/2-x*L*L*L/6,m=Math.asin(this.sin_p12*Math.cos(L)+this.cos_p12*Math.sin(L)*v),s=ut(this.long0+Math.asin(Math.sin(y)*Math.sin(L)/Math.cos(m))),T=Math.sin(m),o=Math.atan2((T-this.es*E*this.sin_p12)*Math.tan(m),T*(1-this.es)),t.x=s,t.y=o,t)}var ns=["Azimuthal_Equidistant","aeqd"],is={init:Qr,forward:ts,inverse:es,names:ns};function rs(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0)}function ss(t){var e,n,i,r,s,o,a,c,l=t.x,u=t.y;return i=ut(l-this.long0),e=Math.sin(u),n=Math.cos(u),r=Math.cos(i),o=this.sin_p14*e+this.cos_p14*n*r,s=1,(o>0||Math.abs(o)<=g)&&(a=this.a*s*n*Math.sin(i),c=this.y0+this.a*s*(this.cos_p14*e-this.sin_p14*n*r)),t.x=a,t.y=c,t}function os(t){var e,n,i,r,s,o,a;return t.x-=this.x0,t.y-=this.y0,e=Math.sqrt(t.x*t.x+t.y*t.y),n=Ui(e/this.a),i=Math.sin(n),r=Math.cos(n),o=this.long0,Math.abs(e)<=g?(a=this.lat0,t.x=o,t.y=a,t):(a=Ui(r*this.sin_p14+t.y*i*this.cos_p14/e),s=Math.abs(this.lat0)-f,Math.abs(s)<=g?(o=this.lat0>=0?ut(this.long0+Math.atan2(t.x,-t.y)):ut(this.long0-Math.atan2(-t.x,t.y)),t.x=o,t.y=a,t):(o=ut(this.long0+Math.atan2(t.x*i,e*this.cos_p14*r-t.y*this.sin_p14*i)),t.x=o,t.y=a,t))}var as=["ortho"],cs={init:rs,forward:ss,inverse:os,names:as},ls={FRONT:1,RIGHT:2,BACK:3,LEFT:4,TOP:5,BOTTOM:6},us={AREA_0:1,AREA_1:2,AREA_2:3,AREA_3:4};function hs(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Quadrilateralized Spherical Cube",this.lat0>=f-b/2?this.face=ls.TOP:this.lat0<=-(f-b/2)?this.face=ls.BOTTOM:Math.abs(this.long0)<=b?this.face=ls.FRONT:Math.abs(this.long0)<=f+b?this.face=this.long0>0?ls.RIGHT:ls.LEFT:this.face=ls.BACK,0!==this.es&&(this.one_minus_f=1-(this.a-this.b)/this.a,this.one_minus_f_squared=this.one_minus_f*this.one_minus_f)}function ds(t){var e,n,i,r,s,o,a={x:0,y:0},c={value:0};if(t.x-=this.long0,e=0!==this.es?Math.atan(this.one_minus_f_squared*Math.tan(t.y)):t.y,n=t.x,this.face===ls.TOP)r=f-e,n>=b&&n<=f+b?(c.value=us.AREA_0,i=n-f):n>f+b||n<=-(f+b)?(c.value=us.AREA_1,i=n>0?n-w:n+w):n>-(f+b)&&n<=-b?(c.value=us.AREA_2,i=n+f):(c.value=us.AREA_3,i=n);else if(this.face===ls.BOTTOM)r=f+e,n>=b&&n<=f+b?(c.value=us.AREA_0,i=-n+f):n=-b?(c.value=us.AREA_1,i=-n):n<-b&&n>=-(f+b)?(c.value=us.AREA_2,i=-n-f):(c.value=us.AREA_3,i=n>0?-n+w:-n-w);else{var l,u,h,d,p,_,m;this.face===ls.RIGHT?n=_s(n,+f):this.face===ls.BACK?n=_s(n,+w):this.face===ls.LEFT&&(n=_s(n,-f)),d=Math.sin(e),p=Math.cos(e),_=Math.sin(n),m=Math.cos(n),l=p*m,u=p*_,h=d,this.face===ls.FRONT?(r=Math.acos(l),i=ps(r,h,u,c)):this.face===ls.RIGHT?(r=Math.acos(u),i=ps(r,h,-l,c)):this.face===ls.BACK?(r=Math.acos(-l),i=ps(r,h,-u,c)):this.face===ls.LEFT?(r=Math.acos(-u),i=ps(r,h,l,c)):(r=i=0,c.value=us.AREA_0)}return o=Math.atan(12/w*(i+Math.acos(Math.sin(i)*Math.cos(b))-f)),s=Math.sqrt((1-Math.cos(r))/(Math.cos(o)*Math.cos(o))/(1-Math.cos(Math.atan(1/Math.cos(i))))),c.value===us.AREA_1?o+=f:c.value===us.AREA_2?o+=w:c.value===us.AREA_3&&(o+=1.5*w),a.x=s*Math.cos(o),a.y=s*Math.sin(o),a.x=a.x*this.a+this.x0,a.y=a.y*this.a+this.y0,t.x=a.x,t.y=a.y,t}function fs(t){var e,n,i,r,s,o,a,c,l,u,h,d,p={lam:0,phi:0},_={value:0};if(t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,n=Math.atan(Math.sqrt(t.x*t.x+t.y*t.y)),e=Math.atan2(t.y,t.x),t.x>=0&&t.x>=Math.abs(t.y)?_.value=us.AREA_0:t.y>=0&&t.y>=Math.abs(t.x)?(_.value=us.AREA_1,e-=f):t.x<0&&-t.x>=Math.abs(t.y)?(_.value=us.AREA_2,e=e<0?e+w:e-w):(_.value=us.AREA_3,e+=f),l=w/12*Math.tan(e),s=Math.sin(l)/(Math.cos(l)-1/Math.sqrt(2)),o=Math.atan(s),i=Math.cos(e),r=Math.tan(n),a=1-i*i*r*r*(1-Math.cos(Math.atan(1/Math.cos(o)))),a<-1?a=-1:a>1&&(a=1),this.face===ls.TOP)c=Math.acos(a),p.phi=f-c,_.value===us.AREA_0?p.lam=o+f:_.value===us.AREA_1?p.lam=o<0?o+w:o-w:_.value===us.AREA_2?p.lam=o-f:p.lam=o;else if(this.face===ls.BOTTOM)c=Math.acos(a),p.phi=c-f,_.value===us.AREA_0?p.lam=-o+f:_.value===us.AREA_1?p.lam=-o:_.value===us.AREA_2?p.lam=-o-f:p.lam=o<0?-o-w:-o+w;else{var m,g,y;m=a,l=m*m,y=l>=1?0:Math.sqrt(1-l)*Math.sin(o),l+=y*y,g=l>=1?0:Math.sqrt(1-l),_.value===us.AREA_1?(l=g,g=-y,y=l):_.value===us.AREA_2?(g=-g,y=-y):_.value===us.AREA_3&&(l=g,g=y,y=-l),this.face===ls.RIGHT?(l=m,m=-g,g=l):this.face===ls.BACK?(m=-m,g=-g):this.face===ls.LEFT&&(l=m,m=g,g=-l),p.phi=Math.acos(-y)-f,p.lam=Math.atan2(g,m),this.face===ls.RIGHT?p.lam=_s(p.lam,-f):this.face===ls.BACK?p.lam=_s(p.lam,-w):this.face===ls.LEFT&&(p.lam=_s(p.lam,+f))}0!==this.es&&(u=p.phi<0?1:0,h=Math.tan(p.phi),d=this.b/Math.sqrt(h*h+this.one_minus_f_squared),p.phi=Math.atan(Math.sqrt(this.a*this.a-d*d)/(this.one_minus_f*d)),u&&(p.phi=-p.phi));return p.lam+=this.long0,t.x=p.lam,t.y=p.phi,t}function ps(t,e,n,i){var r;return tb&&r<=f+b?(i.value=us.AREA_1,r-=f):r>f+b||r<=-(f+b)?(i.value=us.AREA_2,r=r>=0?r-w:r+w):(i.value=us.AREA_3,r+=f)),r}function _s(t,e){var n=t+e;return n<-w?n+=M:n>+w&&(n-=M),n}var ms=["Quadrilateralized Spherical Cube","Quadrilateralized_Spherical_Cube","qsc"],gs={init:hs,forward:ds,inverse:fs,names:ms},ys=[[1,2.2199e-17,-715515e-10,31103e-10],[.9986,-482243e-9,-24897e-9,-13309e-10],[.9954,-83103e-8,-448605e-10,-9.86701e-7],[.99,-.00135364,-59661e-9,36777e-10],[.9822,-.00167442,-449547e-11,-572411e-11],[.973,-.00214868,-903571e-10,1.8736e-8],[.96,-.00305085,-900761e-10,164917e-11],[.9427,-.00382792,-653386e-10,-26154e-10],[.9216,-.00467746,-10457e-8,481243e-11],[.8962,-.00536223,-323831e-10,-543432e-11],[.8679,-.00609363,-113898e-9,332484e-11],[.835,-.00698325,-640253e-10,9.34959e-7],[.7986,-.00755338,-500009e-10,9.35324e-7],[.7597,-.00798324,-35971e-9,-227626e-11],[.7186,-.00851367,-701149e-10,-86303e-10],[.6732,-.00986209,-199569e-9,191974e-10],[.6213,-.010418,883923e-10,624051e-11],[.5722,-.00906601,182e-6,624051e-11],[.5322,-.00677797,275608e-9,624051e-11]],vs=[[-5.20417e-18,.0124,1.21431e-18,-8.45284e-11],[.062,.0124,-1.26793e-9,4.22642e-10],[.124,.0124,5.07171e-9,-1.60604e-9],[.186,.0123999,-1.90189e-8,6.00152e-9],[.248,.0124002,7.10039e-8,-2.24e-8],[.31,.0123992,-2.64997e-7,8.35986e-8],[.372,.0124029,9.88983e-7,-3.11994e-7],[.434,.0123893,-369093e-11,-4.35621e-7],[.4958,.0123198,-102252e-10,-3.45523e-7],[.5571,.0121916,-154081e-10,-5.82288e-7],[.6176,.0119938,-241424e-10,-5.25327e-7],[.6769,.011713,-320223e-10,-5.16405e-7],[.7346,.0113541,-397684e-10,-6.09052e-7],[.7903,.0109107,-489042e-10,-104739e-11],[.8435,.0103431,-64615e-9,-1.40374e-9],[.8936,.00969686,-64636e-9,-8547e-9],[.9394,.00840947,-192841e-9,-42106e-10],[.9761,.00616527,-256e-6,-42106e-10],[1,.00328947,-319159e-9,-42106e-10]],bs=.8487,Ms=1.3523,ws=v/5,xs=1/ws,Ls=18,Es=function(t,e){return t[0]+e*(t[1]+e*(t[2]+e*t[3]))},Ts=function(t,e){return t[1]+e*(2*t[2]+3*e*t[3])};function Ss(t,e,n,i){for(var r=e;i;--i){var s=t(r);if(r-=s,Math.abs(s)=Ls&&(i=Ls-1),n=v*(n-xs*i);var r={x:Es(ys[i],n)*e,y:Es(vs[i],n)};return t.y<0&&(r.y=-r.y),r.x=r.x*this.a*bs+this.x0,r.y=r.y*this.a*Ms+this.y0,r}function Cs(t){var e={x:(t.x-this.x0)/(this.a*bs),y:Math.abs(t.y-this.y0)/(this.a*Ms)};if(e.y>=1)e.x/=ys[Ls][0],e.y=t.y<0?-f:f;else{var n=Math.floor(e.y*Ls);for(n<0?n=0:n>=Ls&&(n=Ls-1);;)if(vs[n][0]>e.y)--n;else{if(!(vs[n+1][0]<=e.y))break;++n}var i=vs[n],r=5*(e.y-i[0])/(vs[n+1][0]-i[0]);r=Ss(function(t){return(Es(i,t)-e.y)/Ts(i,t)},r,g,100),e.x/=Es(ys[n],r),e.y=(5*n+r)*y,t.y<0&&(e.y=-e.y)}return e.x=ut(e.x+this.long0),e}var Is=["Robinson","robin"],Ds={init:Os,forward:ks,inverse:Cs,names:Is};function Ys(){this.name="geocent"}function Rs(t){var e=Zt(t,this.es,this.a);return e}function As(t){var e=Jt(t,this.es,this.a,this.b);return e}var Ns=["Geocentric","geocentric","geocent","Geocent"],Ps={init:Ys,forward:Rs,inverse:As,names:Ns},js={N_POLE:0,S_POLE:1,EQUIT:2,OBLIQ:3},Fs={h:{def:1e5,num:!0},azi:{def:0,num:!0,degrees:!0},tilt:{def:0,num:!0,degrees:!0},long0:{def:0,num:!0},lat0:{def:0,num:!0}};function Hs(){if(Object.keys(Fs).forEach(function(t){if("undefined"===typeof this[t])this[t]=Fs[t].def;else{if(Fs[t].num&&isNaN(this[t]))throw new Error("Invalid parameter value, must be numeric "+t+" = "+this[t]);Fs[t].num&&(this[t]=parseFloat(this[t]))}Fs[t].degrees&&(this[t]=this[t]*y)}.bind(this)),Math.abs(Math.abs(this.lat0)-f)1e10)throw new Error("Invalid height");this.p=1+this.pn1,this.rp=1/this.p,this.h1=1/this.pn1,this.pfact=(this.p+1)*this.h1,this.es=0;var t=this.tilt,e=this.azi;this.cg=Math.cos(e),this.sg=Math.sin(e),this.cw=Math.cos(t),this.sw=Math.sin(t)}function Gs(t){t.x-=this.long0;var e,n,i,r,s=Math.sin(t.y),o=Math.cos(t.y),a=Math.cos(t.x);switch(this.mode){case js.OBLIQ:n=this.sinph0*s+this.cosph0*o*a;break;case js.EQUIT:n=o*a;break;case js.S_POLE:n=-s;break;case js.N_POLE:n=s;break}switch(n=this.pn1/(this.p-n),e=n*o*Math.sin(t.x),this.mode){case js.OBLIQ:n*=this.cosph0*s-this.sinph0*o*a;break;case js.EQUIT:n*=s;break;case js.N_POLE:n*=-o*a;break;case js.S_POLE:n*=o*a;break}return i=n*this.cg+e*this.sg,r=1/(i*this.sw*this.h1+this.cw),e=(e*this.cg-n*this.sg)*this.cw*r,n=i*r,t.x=e*this.a,t.y=n*this.a,t}function qs(t){t.x/=this.a,t.y/=this.a;var e,n,i,r={x:t.x,y:t.y};i=1/(this.pn1-t.y*this.sw),e=this.pn1*t.x*i,n=this.pn1*t.y*this.cw*i,t.x=e*this.cg+n*this.sg,t.y=n*this.cg-e*this.sg;var s=fn(t.x,t.y);if(Math.abs(s)=3&&t%100<=10?3:t%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(t){return function(i,r,s,o){var a=e(i),c=n[t][e(i)];return 2===a&&(c=c[r?0:1]),c.replace(/%d/i,i)}},r=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=t.defineLocale("ar-dz",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:0,doy:4}});return s})},a43f:function(t,e,n){"use strict";e["a"]={ADDFEATURE:"addfeature",CHANGEFEATURE:"changefeature",CLEAR:"clear",REMOVEFEATURE:"removefeature"}},a481:function(t,e,n){"use strict";var i=n("cb7c"),r=n("4bf8"),s=n("9def"),o=n("4588"),a=n("0390"),c=n("5f1b"),l=Math.max,u=Math.min,h=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,p=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,function(t,e,n,_){return[function(i,r){var s=t(this),o=void 0==i?void 0:i[e];return void 0!==o?o.call(i,s,r):n.call(String(s),i,r)},function(t,e){var r=_(n,t,this,e);if(r.done)return r.value;var h=i(t),d=String(this),f="function"===typeof e;f||(e=String(e));var g=h.global;if(g){var y=h.unicode;h.lastIndex=0}var v=[];while(1){var b=c(h,d);if(null===b)break;if(v.push(b),!g)break;var M=String(b[0]);""===M&&(h.lastIndex=a(d,s(h.lastIndex),y))}for(var w="",x=0,L=0;L=x&&(w+=d.slice(x,T)+I,x=T+E.length)}return w+d.slice(x)}];function m(t,e,i,s,o,a){var c=i+t.length,l=s.length,u=f;return void 0!==o&&(o=r(o),u=d),n.call(a,u,function(n,r){var a;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(c);case"<":a=o[r.slice(1,-1)];break;default:var u=+r;if(0===u)return n;if(u>l){var d=h(u/10);return 0===d?n:d<=l?void 0===s[d-1]?r.charAt(1):s[d-1]+r.charAt(1):n}a=s[u-1]}return void 0===a?"":a})}})},a4a9:function(t,e,n){},a504:function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return r});var i=.5,r=!0},a555:function(t,e,n){},a568:function(t,e,n){"use strict";n("7fc9");function i(t,e){return t[0]+=e[0],t[1]+=e[1],t}function r(t,e){var n,i,r=t[0],s=t[1],o=e[0],a=e[1],c=o[0],l=o[1],u=a[0],h=a[1],d=u-c,f=h-l,p=0===d&&0===f?0:(d*(r-c)+f*(s-l))/(d*d+f*f||0);return p<=0?(n=c,i=l):p>=1?(n=u,i=h):(n=c+p*d,i=l+p*f),[n,i]}function s(t){return function(e){return f(e,t)}}function o(t,e,n){return t?e.replace("{x}",t[0].toFixed(n)).replace("{y}",t[1].toFixed(n)):""}function a(t,e){for(var n=!0,i=t.length-1;i>=0;--i)if(t[i]!=e[i]){n=!1;break}return n}function c(t,e){var n=Math.cos(e),i=Math.sin(e),r=t[0]*n-t[1]*i,s=t[1]*n+t[0]*i;return t[0]=r,t[1]=s,t}function l(t,e){return t[0]*=e,t[1]*=e,t}function u(t,e){var n=t[0]-e[0],i=t[1]-e[1];return n*n+i*i}function h(t,e){return Math.sqrt(u(t,e))}function d(t,e){return u(t,r(t,e))}function f(t,e){return o(t,"{x}, {y}",e)}n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r}),n.d(e,"c",function(){return s}),n.d(e,"e",function(){return a}),n.d(e,"f",function(){return c}),n.d(e,"g",function(){return l}),n.d(e,"h",function(){return u}),n.d(e,"d",function(){return h}),n.d(e,"i",function(){return d})},a5b8:function(t,e,n){"use strict";var i=n("d8e8");function r(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i}),this.resolve=i(e),this.reject=i(n)}t.exports.f=function(t){return new r(t)}},a60d:function(t,e,n){"use strict";n.d(e,"c",function(){return o}),n.d(e,"b",function(){return a}),n.d(e,"d",function(){return c});n("f751");var i,r=n("3156"),s=n.n(r),o="undefined"===typeof window,a=!1,c=o;function l(t,e){var n=/(edge)\/([\w.]+)/.exec(t)||/(opr)[\/]([\w.]+)/.exec(t)||/(vivaldi)[\/]([\w.]+)/.exec(t)||/(chrome)[\/]([\w.]+)/.exec(t)||/(iemobile)[\/]([\w.]+)/.exec(t)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[2]||n[4]||"0",versionNumber:n[4]||n[2]||"0",platform:e[0]||""}}function u(t){return/(ipad)/.exec(t)||/(ipod)/.exec(t)||/(windows phone)/.exec(t)||/(iphone)/.exec(t)||/(kindle)/.exec(t)||/(silk)/.exec(t)||/(android)/.exec(t)||/(win)/.exec(t)||/(mac)/.exec(t)||/(linux)/.exec(t)||/(cros)/.exec(t)||/(playbook)/.exec(t)||/(bb)/.exec(t)||/(blackberry)/.exec(t)||[]}function h(t){t=(t||navigator.userAgent||navigator.vendor||window.opera).toLowerCase();var e=u(t),n=l(t,e),i={};return n.browser&&(i[n.browser]=!0,i.version=n.version,i.versionNumber=parseInt(n.versionNumber,10)),n.platform&&(i[n.platform]=!0),(i.android||i.bb||i.blackberry||i.ipad||i.iphone||i.ipod||i.kindle||i.playbook||i.silk||i["windows phone"])&&(i.mobile=!0),(i.ipod||i.ipad||i.iphone)&&(i.ios=!0),i["windows phone"]&&(i.winphone=!0,delete i["windows phone"]),(i.cros||i.mac||i.linux||i.win)&&(i.desktop=!0),(i.chrome||i.opr||i.safari||i.vivaldi)&&(i.webkit=!0),(i.rv||i.iemobile)&&(n.browser="ie",i.ie=!0),i.edge&&(n.browser="edge",i.edge=!0),(i.safari&&i.blackberry||i.bb)&&(n.browser="blackberry",i.blackberry=!0),i.safari&&i.playbook&&(n.browser="playbook",i.playbook=!0),i.opr&&(n.browser="opera",i.opera=!0),i.safari&&i.android&&(n.browser="android",i.android=!0),i.safari&&i.kindle&&(n.browser="kindle",i.kindle=!0),i.safari&&i.silk&&(n.browser="silk",i.silk=!0),i.vivaldi&&(n.browser="vivaldi",i.vivaldi=!0),i.name=n.browser,i.platform=n.platform,o||(window.process&&window.process.versions&&window.process.versions.electron?i.electron=!0:0===document.location.href.indexOf("chrome-extension://")?i.chromeExt=!0:(window._cordovaNative||window.cordova)&&(i.cordova=!0),a=void 0===i.cordova&&void 0===i.electron&&!!document.querySelector("[data-server-rendered]"),a&&(c=!0)),i}function d(){if(void 0!==i)return i;try{if(window.localStorage)return i=!0,!0}catch(t){}return i=!1,!1}function f(){return{has:{touch:function(){return!!("ontouchstart"in document.documentElement)||window.navigator.msMaxTouchPoints>0}(),webStorage:d()},within:{iframe:window.self!==window.top}}}e["a"]={has:{touch:!1,webStorage:!1},within:{iframe:!1},parseSSR:function(t){return t?{is:h(t.req.headers["user-agent"]),has:this.has,within:this.within}:s()({is:h()},f())},install:function(t,e,n){var i=this;o?e.server.push(function(t,e){t.platform=i.parseSSR(e.ssr)}):(this.is=h(),a?(e.takeover.push(function(t){c=a=!1,Object.assign(t.platform,f())}),n.util.defineReactive(t,"platform",this)):(Object.assign(this,f()),t.platform=this))}}},a6ef:function(t,e,n){"use strict";var i=n("38de"),r=n("fd89"),s=n("0660"),o=n("85e4"),a=n("3894"),c=n("f885"),l=n("ad3f"),u=n("1d1d"),h=n("223d");class d{constructor(){d.constructor_.apply(this,arguments)}static constructor_(){this._min=u["a"].POSITIVE_INFINITY,this._max=u["a"].NEGATIVE_INFINITY}getMin(){return this._min}intersects(t,e){return!(this._min>e||this._maxs?1:0}get interfaces_(){return[h["a"]]}}d.NodeComparator=f;class p extends d{constructor(){super(),p.constructor_.apply(this,arguments)}static constructor_(){this._item=null;const t=arguments[0],e=arguments[1],n=arguments[2];this._min=t,this._max=e,this._item=n}query(t,e,n){if(!this.intersects(t,e))return null;n.visitItem(this._item)}}var _=n("7d15"),m=n("968e"),g=n("70d5");class y extends d{constructor(){super(),y.constructor_.apply(this,arguments)}static constructor_(){this._node1=null,this._node2=null;const t=arguments[0],e=arguments[1];this._node1=t,this._node2=e,this.buildExtent(this._node1,this._node2)}buildExtent(t,e){this._min=Math.min(t._min,e._min),this._max=Math.max(t._max,e._max)}query(t,e,n){if(!this.intersects(t,e))return null;null!==this._node1&&this._node1.query(t,e,n),null!==this._node2&&this._node2.query(t,e,n)}}class v{constructor(){v.constructor_.apply(this,arguments)}static constructor_(){this._leaves=new g["a"],this._root=null,this._level=0}buildTree(){_["a"].sort(this._leaves,new d.NodeComparator);let t=this._leaves,e=null,n=new g["a"];while(1){if(this.buildLevel(t,n),1===n.size())return n.get(0);e=t,t=n,n=e}}insert(t,e,n){if(null!==this._root)throw new IllegalStateException("Index cannot be added to once it has been queried");this._leaves.add(new p(t,e,n))}query(t,e,n){if(this.init(),null===this._root)return null;this._root.query(t,e,n)}buildRoot(){if(null!==this._root)return null;this._root=this.buildTree()}printNode(t){m["a"].out.println(c["a"].toLineString(new l["a"](t._min,this._level),new l["a"](t._max,this._level)))}init(){return null!==this._root?null:0===this._leaves.size()?null:void this.buildRoot()}buildLevel(t,e){this._level++,e.clear();for(let n=0;n=this.text.length)return;t=this.text[this.place++]}switch(this.state){case k:return this.neutral(t);case C:return this.keyword(t);case D:return this.quoted(t);case Y:return this.afterquote(t);case I:return this.number(t);case R:return}},H.prototype.afterquote=function(t){if('"'===t)return this.word+='"',void(this.state=D);if(j.test(t))return this.word=this.word.trim(),void this.afterItem(t);throw new Error("havn't handled \""+t+'" in afterquote yet, index '+this.place)},H.prototype.afterItem=function(t){return","===t?(null!==this.word&&this.currentObject.push(this.word),this.word=null,void(this.state=k)):"]"===t?(this.level--,null!==this.word&&(this.currentObject.push(this.word),this.word=null),this.state=k,this.currentObject=this.stack.pop(),void(this.currentObject||(this.state=R))):void 0},H.prototype.number=function(t){if(!F.test(t)){if(j.test(t))return this.word=parseFloat(this.word),void this.afterItem(t);throw new Error("havn't handled \""+t+'" in number yet, index '+this.place)}this.word+=t},H.prototype.quoted=function(t){'"'!==t?this.word+=t:this.state=Y},H.prototype.keyword=function(t){if(P.test(t))this.word+=t;else{if("["===t){var e=[];return e.push(this.word),this.level++,null===this.root?this.root=e:this.currentObject.push(e),this.stack.push(this.currentObject),this.currentObject=e,void(this.state=k)}if(!j.test(t))throw new Error("havn't handled \""+t+'" in keyword yet, index '+this.place);this.afterItem(t)}},H.prototype.neutral=function(t){if(A.test(t))return this.word=t,void(this.state=C);if('"'===t)return this.word="",void(this.state=D);if(F.test(t))return this.word=t,void(this.state=I);if(!j.test(t))throw new Error("havn't handled \""+t+'" in neutral yet, index '+this.place);this.afterItem(t)},H.prototype.output=function(){while(this.place0?90:-90),t.lat_ts=t.lat1)}var V=function(t){var e=O(t),n=e.shift(),i=e.shift();e.unshift(["name",i]),e.unshift(["type",n]);var r={};return z(e,r),U(r),r};function X(t){var e=this;if(2===arguments.length){var n=arguments[1];"string"===typeof n?"+"===n.charAt(0)?X[t]=S(arguments[1]):X[t]=V(arguments[1]):X[t]=n}else if(1===arguments.length){if(Array.isArray(t))return t.map(function(t){Array.isArray(t)?X.apply(e,t):X(t)});if("string"===typeof t){if(t in X)return X[t]}else"EPSG"in t?X["EPSG:"+t.EPSG]=t:"ESRI"in t?X["ESRI:"+t.ESRI]=t:"IAU2000"in t?X["IAU2000:"+t.IAU2000]=t:console.log(t);return}}i(X);var K=X;function Z(t){return"string"===typeof t}function J(t){return t in K}var Q=["PROJECTEDCRS","PROJCRS","GEOGCS","GEOCCS","PROJCS","LOCAL_CS","GEODCRS","GEODETICCRS","GEODETICDATUM","ENGCRS","ENGINEERINGCRS"];function tt(t){return Q.some(function(e){return t.indexOf(e)>-1})}var et=["3857","900913","3785","102113"];function nt(t){var e=T(t,"authority");if(e){var n=T(e,"epsg");return n&&et.indexOf(n)>-1}}function it(t){var e=T(t,"extension");if(e)return T(e,"proj4")}function rt(t){return"+"===t[0]}function st(t){if(!Z(t))return t;if(J(t))return K[t];if(tt(t)){var e=V(t);if(nt(e))return K["EPSG:3857"];var n=it(e);return n?S(n):e}return rt(t)?S(t):void 0}var ot=st,at=function(t,e){var n,i;if(t=t||{},!e)return t;for(i in e)n=e[i],void 0!==n&&(t[i]=n);return t},ct=function(t,e,n){var i=t*e;return n/Math.sqrt(1-i*i)},lt=function(t){return t<0?-1:1},ut=function(t){return Math.abs(t)<=w?t:t-lt(t)*M},ht=function(t,e,n){var i=t*n,r=.5*t;return i=Math.pow((1-i)/(1+i),r),Math.tan(.5*(f-e))/i},dt=function(t,e){for(var n,i,r=.5*t,s=f-2*Math.atan(e),o=0;o<=15;o++)if(n=t*Math.sin(s),i=f-2*Math.atan(e*Math.pow((1-n)/(1+n),r))-s,s+=i,Math.abs(i)<=1e-10)return s;return-9999};function ft(){var t=this.b/this.a;this.es=1-t*t,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=ct(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)}function pt(t){var e,n,i=t.x,r=t.y;if(r*v>90&&r*v<-90&&i*v>180&&i*v<-180)return null;if(Math.abs(Math.abs(r)-f)<=g)return null;if(this.sphere)e=this.x0+this.a*this.k0*ut(i-this.long0),n=this.y0+this.a*this.k0*Math.log(Math.tan(b+.5*r));else{var s=Math.sin(r),o=ht(this.e,r,s);e=this.x0+this.a*this.k0*ut(i-this.long0),n=this.y0-this.a*this.k0*Math.log(o)}return t.x=e,t.y=n,t}function _t(t){var e,n,i=t.x-this.x0,r=t.y-this.y0;if(this.sphere)n=f-2*Math.atan(Math.exp(-r/(this.a*this.k0)));else{var s=Math.exp(-r/(this.a*this.k0));if(n=dt(this.e,s),-9999===n)return null}return e=ut(this.long0+i/(this.a*this.k0)),t.x=e,t.y=n,t}var mt=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"],gt={init:ft,forward:pt,inverse:_t,names:mt};function yt(){}function vt(t){return t}var bt=["longlat","identity"],Mt={init:yt,forward:vt,inverse:vt,names:bt},wt=[gt,Mt],xt={},Lt=[];function Et(t,e){var n=Lt.length;return t.names?(Lt[n]=t,t.names.forEach(function(t){xt[t.toLowerCase()]=n}),this):(console.log(e),!0)}function Tt(t){if(!t)return!1;var e=t.toLowerCase();return"undefined"!==typeof xt[e]&&Lt[xt[e]]?Lt[xt[e]]:void 0}function St(){wt.forEach(Et)}var Ot={start:St,add:Et,get:Tt},kt={MERIT:{a:6378137,rf:298.257,ellipseName:"MERIT 1983"},SGS85:{a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},GRS80:{a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},IAU76:{a:6378140,rf:298.257,ellipseName:"IAU 1976"},airy:{a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},APL4:{a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},NWL9D:{a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},mod_airy:{a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},andrae:{a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},aust_SA:{a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},GRS67:{a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},bessel:{a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},bess_nam:{a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},clrk66:{a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},clrk80:{a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},clrk58:{a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},CPM:{a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},delmbr:{a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},engelis:{a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},evrst30:{a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},evrst48:{a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},evrst56:{a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},evrst69:{a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},evrstSS:{a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},fschr60:{a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},fschr60m:{a:6378155,rf:298.3,ellipseName:"Fischer 1960"},fschr68:{a:6378150,rf:298.3,ellipseName:"Fischer 1968"},helmert:{a:6378200,rf:298.3,ellipseName:"Helmert 1906"},hough:{a:6378270,rf:297,ellipseName:"Hough"},intl:{a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},kaula:{a:6378163,rf:298.24,ellipseName:"Kaula 1961"},lerch:{a:6378139,rf:298.257,ellipseName:"Lerch 1979"},mprts:{a:6397300,rf:191,ellipseName:"Maupertius 1738"},new_intl:{a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},plessis:{a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},krass:{a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},SEasia:{a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},walbeck:{a:6376896,b:6355834.8467,ellipseName:"Walbeck"},WGS60:{a:6378165,rf:298.3,ellipseName:"WGS 60"},WGS66:{a:6378145,rf:298.25,ellipseName:"WGS 66"},WGS7:{a:6378135,rf:298.26,ellipseName:"WGS 72"}},Ct=kt.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"};function It(t,e,n,i){var r=t*t,s=e*e,o=(r-s)/r,a=0;i?(t*=1-o*(p+o*(_+o*m)),r=t*t,o=0):a=Math.sqrt(o);var c=(r-s)/s;return{es:o,e:a,ep2:c}}function Dt(t,e,n,i,r){if(!t){var s=T(kt,i);s||(s=Ct),t=s.a,e=s.b,n=s.rf}return n&&!e&&(e=(1-1/n)*t),(0===n||Math.abs(t-e)3&&(0===f.datum_params[3]&&0===f.datum_params[4]&&0===f.datum_params[5]&&0===f.datum_params[6]||(f.datum_type=s,f.datum_params[3]*=d,f.datum_params[4]*=d,f.datum_params[5]*=d,f.datum_params[6]=f.datum_params[6]/1e6+1))),h&&(f.datum_type=o,f.grids=h),f.a=n,f.b=i,f.es=l,f.ep2=u,f}Yt.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},Yt.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},Yt.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},Yt.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},Yt.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},Yt.potsdam={towgs84:"598.1,73.7,418.2,0.202,0.045,-2.455,6.7",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},Yt.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},Yt.hermannskogel={towgs84:"577.326,90.129,463.919,5.137,1.474,5.297,2.4232",ellipse:"bessel",datumName:"Hermannskogel"},Yt.osni52={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"airy",datumName:"Irish National"},Yt.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},Yt.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},Yt.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},Yt.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},Yt.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},Yt.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},Yt.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},Yt.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"};var Nt=Rt,At={};function Pt(t,e){var n=new DataView(e),i=Gt(n),r=qt(n,i);r.nSubgrids>1&&console.log("Only single NTv2 subgrids are currently supported, subsequent sub grids are ignored");var s=Bt(n,r,i),o={header:r,subgrids:s};return At[t]=o,o}function jt(t){if(void 0===t)return null;var e=t.split(",");return e.map(Ft)}function Ft(t){if(0===t.length)return null;var e="@"===t[0];return e&&(t=t.slice(1)),"null"===t?{name:"null",mandatory:!e,grid:null,isNull:!0}:{name:t,mandatory:!e,grid:At[t]||null,isNull:!1}}function Ht(t){return t/3600*Math.PI/180}function Gt(t){var e=t.getInt32(8,!1);return 11!==e&&(e=t.getInt32(8,!0),11!==e&&console.warn("Failed to detect nadgrid endian-ness, defaulting to little-endian"),!0)}function qt(t,e){return{nFields:t.getInt32(8,e),nSubgridFields:t.getInt32(24,e),nSubgrids:t.getInt32(40,e),shiftType:zt(t,56,64).trim(),fromSemiMajorAxis:t.getFloat64(120,e),fromSemiMinorAxis:t.getFloat64(136,e),toSemiMajorAxis:t.getFloat64(152,e),toSemiMinorAxis:t.getFloat64(168,e)}}function zt(t,e,n){return String.fromCharCode.apply(null,new Uint8Array(t.buffer.slice(e,n)))}function Bt(t,e,n){for(var i=176,r=[],s=0;s5e-11)&&(t.datum_type===r?t.datum_params[0]===e.datum_params[0]&&t.datum_params[1]===e.datum_params[1]&&t.datum_params[2]===e.datum_params[2]:t.datum_type!==s||t.datum_params[0]===e.datum_params[0]&&t.datum_params[1]===e.datum_params[1]&&t.datum_params[2]===e.datum_params[2]&&t.datum_params[3]===e.datum_params[3]&&t.datum_params[4]===e.datum_params[4]&&t.datum_params[5]===e.datum_params[5]&&t.datum_params[6]===e.datum_params[6]))}function Zt(t,e,n){var i,r,s,o,a=t.x,c=t.y,l=t.z?t.z:0;if(c<-f&&c>-1.001*f)c=-f;else if(c>f&&c<1.001*f)c=f;else{if(c<-f)return{x:-1/0,y:-1/0,z:t.z};if(c>f)return{x:1/0,y:1/0,z:t.z}}return a>Math.PI&&(a-=2*Math.PI),r=Math.sin(c),o=Math.cos(c),s=r*r,i=n/Math.sqrt(1-e*s),{x:(i+l)*o*Math.cos(a),y:(i+l)*o*Math.sin(a),z:(i*(1-e)+l)*r}}function Jt(t,e,n,i){var r,s,o,a,c,l,u,h,d,p,_,m,g,y,v,b,M=1e-12,w=M*M,x=30,L=t.x,E=t.y,T=t.z?t.z:0;if(r=Math.sqrt(L*L+E*E),s=Math.sqrt(L*L+E*E+T*T),r/nw&&gi.y||u>i.x||fl&&Math.abs(o.y)>l);if(c<0)return console.log("Inverse grid shift iterator failed to converge."),i;i.x=ut(s.x+n.ll[0]),i.y=s.y+n.ll[1]}else isNaN(s.x)||(i.x=t.x+s.x,i.y=t.y+s.y);return i}function se(t,e){var n,i={x:t.x/e.del[0],y:t.y/e.del[1]},r={x:Math.floor(i.x),y:Math.floor(i.y)},s={x:i.x-1*r.x,y:i.y-1*r.y},o={x:Number.NaN,y:Number.NaN};if(r.x<0||r.x>=e.lim[0])return o;if(r.y<0||r.y>=e.lim[1])return o;n=r.y*e.lim[0]+r.x;var a={x:e.cvs[n][0],y:e.cvs[n][1]};n++;var c={x:e.cvs[n][0],y:e.cvs[n][1]};n+=e.lim[0];var l={x:e.cvs[n][0],y:e.cvs[n][1]};n--;var u={x:e.cvs[n][0],y:e.cvs[n][1]},h=s.x*s.y,d=s.x*(1-s.y),f=(1-s.x)*(1-s.y),p=(1-s.x)*s.y;return o.x=f*a.x+d*c.x+p*u.x+h*l.x,o.y=f*a.y+d*c.y+p*u.y+h*l.y,o}var oe=function(t,e,n){var i,r,s,o=n.x,a=n.y,c=n.z||0,l={};for(s=0;s<3;s++)if(!e||2!==s||void 0!==n.z)switch(0===s?(i=o,r=-1!=="ew".indexOf(t.axis[s])?"x":"y"):1===s?(i=a,r=-1!=="ns".indexOf(t.axis[s])?"y":"x"):(i=c,r="z"),t.axis[s]){case"e":l[r]=i;break;case"w":l[r]=-i;break;case"n":l[r]=i;break;case"s":l[r]=-i;break;case"u":void 0!==n[r]&&(l.z=i);break;case"d":void 0!==n[r]&&(l.z=-i);break;default:return null}return l},ae=function(t){var e={x:t[0],y:t[1]};return t.length>2&&(e.z=t[2]),t.length>3&&(e.m=t[3]),e},ce=function(t){le(t.x),le(t.y)};function le(t){if("function"===typeof Number.isFinite){if(Number.isFinite(t))return;throw new TypeError("coordinates must be finite numbers")}if("number"!==typeof t||t!==t||!isFinite(t))throw new TypeError("coordinates must be finite numbers")}function ue(t,e){return(t.datum.datum_type===r||t.datum.datum_type===s)&&"WGS84"!==e.datumCode||(e.datum.datum_type===r||e.datum.datum_type===s)&&"WGS84"!==t.datumCode}function he(t,e,n,i){var r;if(Array.isArray(n)&&(n=ae(n)),ce(n),t.datum&&e.datum&&ue(t,e)&&(r=new Xt("WGS84"),n=he(t,r,n,i),t=r),i&&"enu"!==t.axis&&(n=oe(t,!1,n)),"longlat"===t.projName)n={x:n.x*y,y:n.y*y,z:n.z||0};else if(t.to_meter&&(n={x:n.x*t.to_meter,y:n.y*t.to_meter,z:n.z||0}),n=t.inverse(n),!n)return;if(t.from_greenwich&&(n.x+=t.from_greenwich),n=ne(t.datum,e.datum,n),n)return e.from_greenwich&&(n={x:n.x-e.from_greenwich,y:n.y,z:n.z||0}),"longlat"===e.projName?n={x:n.x*v,y:n.y*v,z:n.z||0}:(n=e.forward(n),e.to_meter&&(n={x:n.x/e.to_meter,y:n.y/e.to_meter,z:n.z||0})),i&&"enu"!==e.axis?oe(e,!0,n):n}var de=Xt("WGS84");function fe(t,e,n,i){var r,s,o;return Array.isArray(n)?(r=he(t,e,n,i)||{x:NaN,y:NaN},n.length>2?"undefined"!==typeof t.name&&"geocent"===t.name||"undefined"!==typeof e.name&&"geocent"===e.name?"number"===typeof r.z?[r.x,r.y,r.z].concat(n.splice(3)):[r.x,r.y,n[2]].concat(n.splice(3)):[r.x,r.y].concat(n.splice(2)):[r.x,r.y]):(s=he(t,e,n,i),o=Object.keys(n),2===o.length?s:(o.forEach(function(i){if("undefined"!==typeof t.name&&"geocent"===t.name||"undefined"!==typeof e.name&&"geocent"===e.name){if("x"===i||"y"===i||"z"===i)return}else if("x"===i||"y"===i)return;s[i]=n[i]}),s))}function pe(t){return t instanceof Xt?t:t.oProj?t.oProj:Xt(t)}function _e(t,e,n){t=pe(t);var i,r=!1;return"undefined"===typeof e?(e=t,t=de,r=!0):("undefined"!==typeof e.x||Array.isArray(e))&&(n=e,e=t,t=de,r=!0),e=pe(e),n?fe(t,e,n):(i={forward:function(n,i){return fe(t,e,n,i)},inverse:function(n,i){return fe(e,t,n,i)}},r&&(i.oProj=e),i)}var me=_e,ge=6,ye="AJSAJS",ve="AFAFAF",be=65,Me=73,we=79,xe=86,Le=90,Ee={forward:Te,inverse:Se,toPoint:Oe};function Te(t,e){return e=e||5,Re(Ie({lat:t[1],lon:t[0]}),e)}function Se(t){var e=De(je(t.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat,e.lon,e.lat]:[e.left,e.bottom,e.right,e.top]}function Oe(t){var e=De(je(t.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat]:[(e.left+e.right)/2,(e.top+e.bottom)/2]}function ke(t){return t*(Math.PI/180)}function Ce(t){return t/Math.PI*180}function Ie(t){var e,n,i,r,s,o,a,c,l,u=t.lat,h=t.lon,d=6378137,f=.00669438,p=.9996,_=ke(u),m=ke(h);l=Math.floor((h+180)/6)+1,180===h&&(l=60),u>=56&&u<64&&h>=3&&h<12&&(l=32),u>=72&&u<84&&(h>=0&&h<9?l=31:h>=9&&h<21?l=33:h>=21&&h<33?l=35:h>=33&&h<42&&(l=37)),e=6*(l-1)-180+3,c=ke(e),n=f/(1-f),i=d/Math.sqrt(1-f*Math.sin(_)*Math.sin(_)),r=Math.tan(_)*Math.tan(_),s=n*Math.cos(_)*Math.cos(_),o=Math.cos(_)*(m-c),a=d*((1-f/4-3*f*f/64-5*f*f*f/256)*_-(3*f/8+3*f*f/32+45*f*f*f/1024)*Math.sin(2*_)+(15*f*f/256+45*f*f*f/1024)*Math.sin(4*_)-35*f*f*f/3072*Math.sin(6*_));var g=p*i*(o+(1-r+s)*o*o*o/6+(5-18*r+r*r+72*s-58*n)*o*o*o*o*o/120)+5e5,y=p*(a+i*Math.tan(_)*(o*o/2+(5-r+9*s+4*s*s)*o*o*o*o/24+(61-58*r+r*r+600*s-330*n)*o*o*o*o*o*o/720));return u<0&&(y+=1e7),{northing:Math.round(y),easting:Math.round(g),zoneNumber:l,zoneLetter:Ye(u)}}function De(t){var e=t.northing,n=t.easting,i=t.zoneLetter,r=t.zoneNumber;if(r<0||r>60)return null;var s,o,a,c,l,u,h,d,f,p,_=.9996,m=6378137,g=.00669438,y=(1-Math.sqrt(1-g))/(1+Math.sqrt(1-g)),v=n-5e5,b=e;i<"N"&&(b-=1e7),d=6*(r-1)-180+3,s=g/(1-g),h=b/_,f=h/(m*(1-g/4-3*g*g/64-5*g*g*g/256)),p=f+(3*y/2-27*y*y*y/32)*Math.sin(2*f)+(21*y*y/16-55*y*y*y*y/32)*Math.sin(4*f)+151*y*y*y/96*Math.sin(6*f),o=m/Math.sqrt(1-g*Math.sin(p)*Math.sin(p)),a=Math.tan(p)*Math.tan(p),c=s*Math.cos(p)*Math.cos(p),l=m*(1-g)/Math.pow(1-g*Math.sin(p)*Math.sin(p),1.5),u=v/(o*_);var M=p-o*Math.tan(p)/l*(u*u/2-(5+3*a+10*c-4*c*c-9*s)*u*u*u*u/24+(61+90*a+298*c+45*a*a-252*s-3*c*c)*u*u*u*u*u*u/720);M=Ce(M);var w,x=(u-(1+2*a+c)*u*u*u/6+(5-2*c+28*a-3*c*c+8*s+24*a*a)*u*u*u*u*u/120)/Math.cos(p);if(x=d+Ce(x),t.accuracy){var L=De({northing:t.northing+t.accuracy,easting:t.easting+t.accuracy,zoneLetter:t.zoneLetter,zoneNumber:t.zoneNumber});w={top:L.lat,right:L.lon,bottom:M,left:x}}else w={lat:M,lon:x};return w}function Ye(t){var e="Z";return 84>=t&&t>=72?e="X":72>t&&t>=64?e="W":64>t&&t>=56?e="V":56>t&&t>=48?e="U":48>t&&t>=40?e="T":40>t&&t>=32?e="S":32>t&&t>=24?e="R":24>t&&t>=16?e="Q":16>t&&t>=8?e="P":8>t&&t>=0?e="N":0>t&&t>=-8?e="M":-8>t&&t>=-16?e="L":-16>t&&t>=-24?e="K":-24>t&&t>=-32?e="J":-32>t&&t>=-40?e="H":-40>t&&t>=-48?e="G":-48>t&&t>=-56?e="F":-56>t&&t>=-64?e="E":-64>t&&t>=-72?e="D":-72>t&&t>=-80&&(e="C"),e}function Re(t,e){var n="00000"+t.easting,i="00000"+t.northing;return t.zoneNumber+t.zoneLetter+Ne(t.easting,t.northing,t.zoneNumber)+n.substr(n.length-5,e)+i.substr(i.length-5,e)}function Ne(t,e,n){var i=Ae(n),r=Math.floor(t/1e5),s=Math.floor(e/1e5)%20;return Pe(r,s,i)}function Ae(t){var e=t%ge;return 0===e&&(e=ge),e}function Pe(t,e,n){var i=n-1,r=ye.charCodeAt(i),s=ve.charCodeAt(i),o=r+t-1,a=s+e,c=!1;o>Le&&(o=o-Le+be-1,c=!0),(o===Me||rMe||(o>Me||rwe||(o>we||rLe&&(o=o-Le+be-1),a>xe?(a=a-xe+be-1,c=!0):c=!1,(a===Me||sMe||(a>Me||swe||(a>we||sxe&&(a=a-xe+be-1);var l=String.fromCharCode(o)+String.fromCharCode(a);return l}function je(t){if(t&&0===t.length)throw"MGRSPoint coverting from nothing";var e,n=t.length,i=null,r="",s=0;while(!/[A-Z]/.test(e=t.charAt(s))){if(s>=2)throw"MGRSPoint bad conversion from: "+t;r+=e,s++}var o=parseInt(r,10);if(0===s||s+3>n)throw"MGRSPoint bad conversion from: "+t;var a=t.charAt(s++);if(a<="A"||"B"===a||"Y"===a||a>="Z"||"I"===a||"O"===a)throw"MGRSPoint zone letter "+a+" not handled: "+t;i=t.substring(s,s+=2);var c=Ae(o),l=Fe(i.charAt(0),c),u=He(i.charAt(1),c);while(u0&&(d=1e5/Math.pow(10,g),f=t.substring(s,s+g),y=parseFloat(f)*d,p=t.substring(s+g),v=parseFloat(p)*d),_=y+l,m=v+u,{easting:_,northing:m,zoneLetter:a,zoneNumber:o,accuracy:d}}function Fe(t,e){var n=ye.charCodeAt(e-1),i=1e5,r=!1;while(n!==t.charCodeAt(0)){if(n++,n===Me&&n++,n===we&&n++,n>Le){if(r)throw"Bad character: "+t;n=be,r=!0}i+=1e5}return i}function He(t,e){if(t>"V")throw"MGRSPoint given invalid Northing "+t;var n=ve.charCodeAt(e-1),i=0,r=!1;while(n!==t.charCodeAt(0)){if(n++,n===Me&&n++,n===we&&n++,n>xe){if(r)throw"Bad character: "+t;n=be,r=!0}i+=1e5}return i}function Ge(t){var e;switch(t){case"C":e=11e5;break;case"D":e=2e6;break;case"E":e=28e5;break;case"F":e=37e5;break;case"G":e=46e5;break;case"H":e=55e5;break;case"J":e=64e5;break;case"K":e=73e5;break;case"L":e=82e5;break;case"M":e=91e5;break;case"N":e=0;break;case"P":e=8e5;break;case"Q":e=17e5;break;case"R":e=26e5;break;case"S":e=35e5;break;case"T":e=44e5;break;case"U":e=53e5;break;case"V":e=62e5;break;case"W":e=7e6;break;case"X":e=79e5;break;default:e=-1}if(e>=0)return e;throw"Invalid zone letter: "+t}function qe(t,e,n){if(!(this instanceof qe))return new qe(t,e,n);if(Array.isArray(t))this.x=t[0],this.y=t[1],this.z=t[2]||0;else if("object"===typeof t)this.x=t.x,this.y=t.y,this.z=t.z||0;else if("string"===typeof t&&"undefined"===typeof e){var i=t.split(",");this.x=parseFloat(i[0],10),this.y=parseFloat(i[1],10),this.z=parseFloat(i[2],10)||0}else this.x=t,this.y=e,this.z=n||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}qe.fromMGRS=function(t){return new qe(Oe(t))},qe.prototype.toMGRS=function(t){return Te([this.x,this.y],t)};var ze=qe,Be=1,$e=.25,We=.046875,Ue=.01953125,Ve=.01068115234375,Xe=.75,Ke=.46875,Ze=.013020833333333334,Je=.007120768229166667,Qe=.3645833333333333,tn=.005696614583333333,en=.3076171875,nn=function(t){var e=[];e[0]=Be-t*($e+t*(We+t*(Ue+t*Ve))),e[1]=t*(Xe-t*(We+t*(Ue+t*Ve)));var n=t*t;return e[2]=n*(Ke-t*(Ze+t*Je)),n*=t,e[3]=n*(Qe-t*tn),e[4]=n*t*en,e},rn=function(t,e,n,i){return n*=e,e*=e,i[0]*t-n*(i[1]+e*(i[2]+e*(i[3]+e*i[4])))},sn=20,on=function(t,e,n){for(var i=1/(1-e),r=t,s=sn;s;--s){var o=Math.sin(r),a=1-e*o*o;if(a=(rn(r,o,Math.cos(r),n)-t)*(a*Math.sqrt(a))*i,r-=a,Math.abs(a)g?Math.tan(s):0,p=Math.pow(f,2),_=Math.pow(p,2);e=1-this.es*Math.pow(a,2),l/=Math.sqrt(e);var m=rn(s,a,c,this.en);n=this.a*(this.k0*l*(1+u/6*(1-p+h+u/20*(5-18*p+_+14*h-58*p*h+u/42*(61+179*_-_*p-479*p)))))+this.x0,i=this.a*(this.k0*(m-this.ml0+a*o*l/2*(1+u/12*(5-p+9*h+4*d+u/30*(61+_-58*p+270*h-330*p*h+u/56*(1385+543*_-_*p-3111*p))))))+this.y0}else{var y=c*Math.sin(o);if(Math.abs(Math.abs(y)-1)=1){if(y-1>g)return 93;i=0}else i=Math.acos(i);s<0&&(i=-i),i=this.a*this.k0*(i-this.lat0)+this.y0}return t.x=n,t.y=i,t}function ln(t){var e,n,i,r,s=(t.x-this.x0)*(1/this.a),o=(t.y-this.y0)*(1/this.a);if(this.es)if(e=this.ml0+o/this.k0,n=on(e,this.es,this.en),Math.abs(n)g?Math.tan(n):0,u=this.ep2*Math.pow(c,2),h=Math.pow(u,2),d=Math.pow(l,2),p=Math.pow(d,2);e=1-this.es*Math.pow(a,2);var _=s*Math.sqrt(e)/this.k0,m=Math.pow(_,2);e*=l,i=n-e*m/(1-this.es)*.5*(1-m/12*(5+3*d-9*u*d+u-4*h-m/30*(61+90*d-252*u*d+45*p+46*u-m/56*(1385+3633*d+4095*p+1574*p*d)))),r=ut(this.long0+_*(1-m/6*(1+2*d+u-m/20*(5+28*d+24*p+8*u*d+6*u-m/42*(61+662*d+1320*p+720*p*d))))/c)}else i=f*lt(o),r=0;else{var y=Math.exp(s/this.k0),v=.5*(y-1/y),b=this.lat0+o/this.k0,M=Math.cos(b);e=Math.sqrt((1-Math.pow(M,2))/(1+Math.pow(v,2))),i=Math.asin(e),o<0&&(i=-i),r=0===v&&0===M?0:ut(Math.atan2(v,M)+this.long0)}return t.x=r,t.y=i,t}var un=["Fast_Transverse_Mercator","Fast Transverse Mercator"],hn={init:an,forward:cn,inverse:ln,names:un},dn=function(t){var e=Math.exp(t);return e=(e-1/e)/2,e},fn=function(t,e){t=Math.abs(t),e=Math.abs(e);var n=Math.max(t,e),i=Math.min(t,e)/(n||1);return n*Math.sqrt(1+Math.pow(i,2))},pn=function(t){var e=1+t,n=e-1;return 0===n?t:t*Math.log(e)/n},_n=function(t){var e=Math.abs(t);return e=pn(e*(1+e/(fn(1,e)+1))),t<0?-e:e},mn=function(t,e){var n,i=2*Math.cos(2*e),r=t.length-1,s=t[r],o=0;while(--r>=0)n=i*s-o+t[r],o=s,s=n;return e+n*Math.sin(2*e)},gn=function(t,e){var n,i=2*Math.cos(e),r=t.length-1,s=t[r],o=0;while(--r>=0)n=i*s-o+t[r],o=s,s=n;return Math.sin(e)*n},yn=function(t){var e=Math.exp(t);return e=(e+1/e)/2,e},vn=function(t,e,n){var i,r,s=Math.sin(e),o=Math.cos(e),a=dn(n),c=yn(n),l=2*o*c,u=-2*s*a,h=t.length-1,d=t[h],f=0,p=0,_=0;while(--h>=0)i=p,r=f,p=d,f=_,d=l*p-i-u*f+t[h],_=u*p-r+l*f;return l=s*c,u=o*a,[l*d-u*_,l*_+u*d]};function bn(){if(!this.approx&&(isNaN(this.es)||this.es<=0))throw new Error('Incorrect elliptical usage. Try using the +approx option in the proj string, or PROJECTION["Fast_Transverse_Mercator"] in the WKT.');this.approx&&(hn.init.apply(this),this.forward=hn.forward,this.inverse=hn.inverse),this.x0=void 0!==this.x0?this.x0:0,this.y0=void 0!==this.y0?this.y0:0,this.long0=void 0!==this.long0?this.long0:0,this.lat0=void 0!==this.lat0?this.lat0:0,this.cgb=[],this.cbg=[],this.utg=[],this.gtu=[];var t=this.es/(1+Math.sqrt(1-this.es)),e=t/(2-t),n=e;this.cgb[0]=e*(2+e*(-2/3+e*(e*(116/45+e*(26/45+e*(-2854/675)))-2))),this.cbg[0]=e*(e*(2/3+e*(4/3+e*(-82/45+e*(32/45+e*(4642/4725)))))-2),n*=e,this.cgb[1]=n*(7/3+e*(e*(-227/45+e*(2704/315+e*(2323/945)))-1.6)),this.cbg[1]=n*(5/3+e*(-16/15+e*(-13/9+e*(904/315+e*(-1522/945))))),n*=e,this.cgb[2]=n*(56/15+e*(-136/35+e*(-1262/105+e*(73814/2835)))),this.cbg[2]=n*(-26/15+e*(34/21+e*(1.6+e*(-12686/2835)))),n*=e,this.cgb[3]=n*(4279/630+e*(-332/35+e*(-399572/14175))),this.cbg[3]=n*(1237/630+e*(e*(-24832/14175)-2.4)),n*=e,this.cgb[4]=n*(4174/315+e*(-144838/6237)),this.cbg[4]=n*(-734/315+e*(109598/31185)),n*=e,this.cgb[5]=n*(601676/22275),this.cbg[5]=n*(444337/155925),n=Math.pow(e,2),this.Qn=this.k0/(1+e)*(1+n*(.25+n*(1/64+n/256))),this.utg[0]=e*(e*(2/3+e*(-37/96+e*(1/360+e*(81/512+e*(-96199/604800)))))-.5),this.gtu[0]=e*(.5+e*(-2/3+e*(5/16+e*(41/180+e*(-127/288+e*(7891/37800)))))),this.utg[1]=n*(-1/48+e*(-1/15+e*(437/1440+e*(-46/105+e*(1118711/3870720))))),this.gtu[1]=n*(13/48+e*(e*(557/1440+e*(281/630+e*(-1983433/1935360)))-.6)),n*=e,this.utg[2]=n*(-17/480+e*(37/840+e*(209/4480+e*(-5569/90720)))),this.gtu[2]=n*(61/240+e*(-103/140+e*(15061/26880+e*(167603/181440)))),n*=e,this.utg[3]=n*(-4397/161280+e*(11/504+e*(830251/7257600))),this.gtu[3]=n*(49561/161280+e*(-179/168+e*(6601661/7257600))),n*=e,this.utg[4]=n*(-4583/161280+e*(108847/3991680)),this.gtu[4]=n*(34729/80640+e*(-3418889/1995840)),n*=e,this.utg[5]=-.03233083094085698*n,this.gtu[5]=.6650675310896665*n;var i=mn(this.cbg,this.lat0);this.Zb=-this.Qn*(i+gn(this.gtu,2*i))}function Mn(t){var e=ut(t.x-this.long0),n=t.y;n=mn(this.cbg,n);var i=Math.sin(n),r=Math.cos(n),s=Math.sin(e),o=Math.cos(e);n=Math.atan2(i,o*r),e=Math.atan2(s*r,fn(i,r*o)),e=_n(Math.tan(e));var a,c,l=vn(this.gtu,2*n,2*e);return n+=l[0],e+=l[1],Math.abs(e)<=2.623395162778?(a=this.a*(this.Qn*e)+this.x0,c=this.a*(this.Qn*n+this.Zb)+this.y0):(a=1/0,c=1/0),t.x=a,t.y=c,t}function wn(t){var e,n,i=(t.x-this.x0)*(1/this.a),r=(t.y-this.y0)*(1/this.a);if(r=(r-this.Zb)/this.Qn,i/=this.Qn,Math.abs(i)<=2.623395162778){var s=vn(this.utg,2*r,2*i);r+=s[0],i+=s[1],i=Math.atan(dn(i));var o=Math.sin(r),a=Math.cos(r),c=Math.sin(i),l=Math.cos(i);r=Math.atan2(o*l,fn(c,l*a)),i=Math.atan2(c,l*a),e=ut(i+this.long0),n=mn(this.cgb,r)}else e=1/0,n=1/0;return t.x=e,t.y=n,t}var xn=["Extended_Transverse_Mercator","Extended Transverse Mercator","etmerc","Transverse_Mercator","Transverse Mercator","tmerc"],Ln={init:bn,forward:Mn,inverse:wn,names:xn},En=function(t,e){if(void 0===t){if(t=Math.floor(30*(ut(e)+Math.PI)/Math.PI)+1,t<0)return 0;if(t>60)return 60}return t},Tn="etmerc";function Sn(){var t=En(this.zone,this.long0);if(void 0===t)throw new Error("unknown utm zone");this.lat0=0,this.long0=(6*Math.abs(t)-183)*y,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,Ln.init.apply(this),this.forward=Ln.forward,this.inverse=Ln.inverse}var On=["Universal Transverse Mercator System","utm"],kn={init:Sn,names:On,dependsOn:Tn},Cn=function(t,e){return Math.pow((1-t)/(1+t),e)},In=20;function Dn(){var t=Math.sin(this.lat0),e=Math.cos(this.lat0);e*=e,this.rc=Math.sqrt(1-this.es)/(1-this.es*t*t),this.C=Math.sqrt(1+this.es*e*e/(1-this.es)),this.phic0=Math.asin(t/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+b)/(Math.pow(Math.tan(.5*this.lat0+b),this.C)*Cn(this.e*t,this.ratexp))}function Yn(t){var e=t.x,n=t.y;return t.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*n+b),this.C)*Cn(this.e*Math.sin(n),this.ratexp))-f,t.x=this.C*e,t}function Rn(t){for(var e=1e-14,n=t.x/this.C,i=t.y,r=Math.pow(Math.tan(.5*i+b)/this.K,1/this.C),s=In;s>0;--s){if(i=2*Math.atan(r*Cn(this.e*Math.sin(t.y),-.5*this.e))-f,Math.abs(i-t.y)0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=g&&(this.k0=.5*this.cons*ct(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/ht(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=ct(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-f,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))}function Bn(t){var e,n,i,r,s,o,a=t.x,c=t.y,l=Math.sin(c),u=Math.cos(c),h=ut(a-this.long0);return Math.abs(Math.abs(a-this.long0)-Math.PI)<=g&&Math.abs(c+this.lat0)<=g?(t.x=NaN,t.y=NaN,t):this.sphere?(e=2*this.k0/(1+this.sinlat0*l+this.coslat0*u*Math.cos(h)),t.x=this.a*e*u*Math.sin(h)+this.x0,t.y=this.a*e*(this.coslat0*l-this.sinlat0*u*Math.cos(h))+this.y0,t):(n=2*Math.atan(this.ssfn_(c,l,this.e))-f,r=Math.cos(n),i=Math.sin(n),Math.abs(this.coslat0)<=g?(s=ht(this.e,c*this.con,this.con*l),o=2*this.a*this.k0*s/this.cons,t.x=this.x0+o*Math.sin(a-this.long0),t.y=this.y0-this.con*o*Math.cos(a-this.long0),t):(Math.abs(this.sinlat0)0?ut(this.long0+Math.atan2(t.x,-1*t.y)):ut(this.long0+Math.atan2(t.x,t.y)):ut(this.long0+Math.atan2(t.x*Math.sin(a),o*this.coslat0*Math.cos(a)-t.y*this.sinlat0*Math.sin(a))),t.x=e,t.y=n,t)}if(Math.abs(this.coslat0)<=g){if(o<=g)return n=this.lat0,e=this.long0,t.x=e,t.y=n,t;t.x*=this.con,t.y*=this.con,i=o*this.cons/(2*this.a*this.k0),n=this.con*dt(this.e,i),e=this.con*ut(this.con*this.long0+Math.atan2(t.x,-1*t.y))}else r=2*Math.atan(o*this.cosX0/(2*this.a*this.k0*this.ms1)),e=this.long0,o<=g?s=this.X0:(s=Math.asin(Math.cos(r)*this.sinX0+t.y*Math.sin(r)*this.cosX0/o),e=ut(this.long0+Math.atan2(t.x*Math.sin(r),o*this.cosX0*Math.cos(r)-t.y*this.sinX0*Math.sin(r)))),n=-1*dt(this.e,Math.tan(.5*(f+s)));return t.x=e,t.y=n,t}var Wn=["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"],Un={init:zn,forward:Bn,inverse:$n,names:Wn,ssfn_:qn};function Vn(){var t=this.lat0;this.lambda0=this.long0;var e=Math.sin(t),n=this.a,i=this.rf,r=1/i,s=2*r-Math.pow(r,2),o=this.e=Math.sqrt(s);this.R=this.k0*n*Math.sqrt(1-s)/(1-s*Math.pow(e,2)),this.alpha=Math.sqrt(1+s/(1-s)*Math.pow(Math.cos(t),4)),this.b0=Math.asin(e/this.alpha);var a=Math.log(Math.tan(Math.PI/4+this.b0/2)),c=Math.log(Math.tan(Math.PI/4+t/2)),l=Math.log((1+o*e)/(1-o*e));this.K=a-this.alpha*c+this.alpha*o/2*l}function Xn(t){var e=Math.log(Math.tan(Math.PI/4-t.y/2)),n=this.e/2*Math.log((1+this.e*Math.sin(t.y))/(1-this.e*Math.sin(t.y))),i=-this.alpha*(e+n)+this.K,r=2*(Math.atan(Math.exp(i))-Math.PI/4),s=this.alpha*(t.x-this.lambda0),o=Math.atan(Math.sin(s)/(Math.sin(this.b0)*Math.tan(r)+Math.cos(this.b0)*Math.cos(s))),a=Math.asin(Math.cos(this.b0)*Math.sin(r)-Math.sin(this.b0)*Math.cos(r)*Math.cos(s));return t.y=this.R/2*Math.log((1+Math.sin(a))/(1-Math.sin(a)))+this.y0,t.x=this.R*o+this.x0,t}function Kn(t){var e=t.x-this.x0,n=t.y-this.y0,i=e/this.R,r=2*(Math.atan(Math.exp(n/this.R))-Math.PI/4),s=Math.asin(Math.cos(this.b0)*Math.sin(r)+Math.sin(this.b0)*Math.cos(r)*Math.cos(i)),o=Math.atan(Math.sin(i)/(Math.cos(this.b0)*Math.cos(i)-Math.sin(this.b0)*Math.tan(r))),a=this.lambda0+o/this.alpha,c=0,l=s,u=-1e3,h=0;while(Math.abs(l-u)>1e-7){if(++h>20)return;c=1/this.alpha*(Math.log(Math.tan(Math.PI/4+s/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(l))/2)),u=l,l=2*Math.atan(Math.exp(c))-Math.PI/2}return t.x=a,t.y=l,t}var Zn=["somerc"],Jn={init:Vn,forward:Xn,inverse:Kn,names:Zn},Qn=1e-7;function ti(t){var e=["Hotine_Oblique_Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin"],n="object"===typeof t.PROJECTION?Object.keys(t.PROJECTION)[0]:t.PROJECTION;return"no_uoff"in t||"no_off"in t||-1!==e.indexOf(n)}function ei(){var t,e,n,i,r,s,o,a,c,l,u,h=0,d=0,p=0,_=0,m=0,v=0,w=0;this.no_off=ti(this),this.no_rot="no_rot"in this;var x=!1;"alpha"in this&&(x=!0);var L=!1;if("rectified_grid_angle"in this&&(L=!0),x&&(w=this.alpha),L&&(h=this.rectified_grid_angle*y),x||L)d=this.longc;else if(p=this.long1,m=this.lat1,_=this.long2,v=this.lat2,Math.abs(m-v)<=Qn||(t=Math.abs(m))<=Qn||Math.abs(t-f)<=Qn||Math.abs(Math.abs(this.lat0)-f)<=Qn||Math.abs(Math.abs(v)-f)<=Qn)throw new Error;var E=1-this.es;e=Math.sqrt(E),Math.abs(this.lat0)>g?(a=Math.sin(this.lat0),n=Math.cos(this.lat0),t=1-this.es*a*a,this.B=n*n,this.B=Math.sqrt(1+this.es*this.B*this.B/E),this.A=this.B*this.k0*e/t,i=this.B*e/(n*Math.sqrt(t)),r=i*i-1,r<=0?r=0:(r=Math.sqrt(r),this.lat0<0&&(r=-r)),this.E=r+=i,this.E*=Math.pow(ht(this.e,this.lat0,a),this.B)):(this.B=1/e,this.A=this.k0,this.E=i=r=1),x||L?(x?(u=Math.asin(Math.sin(w)/i),L||(h=w)):(u=h,w=Math.asin(i*Math.sin(u))),this.lam0=d-Math.asin(.5*(r-1/r)*Math.tan(u))/this.B):(s=Math.pow(ht(this.e,m,Math.sin(m)),this.B),o=Math.pow(ht(this.e,v,Math.sin(v)),this.B),r=this.E/s,c=(o-s)/(o+s),l=this.E*this.E,l=(l-o*s)/(l+o*s),t=p-_,t<-Math.pi?_-=M:t>Math.pi&&(_+=M),this.lam0=ut(.5*(p+_)-Math.atan(l*Math.tan(.5*this.B*(p-_))/c)/this.B),u=Math.atan(2*Math.sin(this.B*ut(p-this.lam0))/(r-1/r)),h=w=Math.asin(i*Math.sin(u))),this.singam=Math.sin(u),this.cosgam=Math.cos(u),this.sinrot=Math.sin(h),this.cosrot=Math.cos(h),this.rB=1/this.B,this.ArB=this.A*this.rB,this.BrA=1/this.ArB,this.A,this.B,this.no_off?this.u_0=0:(this.u_0=Math.abs(this.ArB*Math.atan(Math.sqrt(i*i-1)/Math.cos(w))),this.lat0<0&&(this.u_0=-this.u_0)),r=.5*u,this.v_pole_n=this.ArB*Math.log(Math.tan(b-r)),this.v_pole_s=this.ArB*Math.log(Math.tan(b+r))}function ni(t){var e,n,i,r,s,o,a,c,l={};if(t.x=t.x-this.lam0,Math.abs(Math.abs(t.y)-f)>g){if(s=this.E/Math.pow(ht(this.e,t.y,Math.sin(t.y)),this.B),o=1/s,e=.5*(s-o),n=.5*(s+o),r=Math.sin(this.B*t.x),i=(e*this.singam-r*this.cosgam)/n,Math.abs(Math.abs(i)-1)0?this.v_pole_n:this.v_pole_s,a=this.ArB*t.y;return this.no_rot?(l.x=a,l.y=c):(a-=this.u_0,l.x=c*this.cosrot+a*this.sinrot,l.y=a*this.cosrot-c*this.sinrot),l.x=this.a*l.x+this.x0,l.y=this.a*l.y+this.y0,l}function ii(t){var e,n,i,r,s,o,a,c={};if(t.x=(t.x-this.x0)*(1/this.a),t.y=(t.y-this.y0)*(1/this.a),this.no_rot?(n=t.y,e=t.x):(n=t.x*this.cosrot-t.y*this.sinrot,e=t.y*this.cosrot+t.x*this.sinrot+this.u_0),i=Math.exp(-this.BrA*n),r=.5*(i-1/i),s=.5*(i+1/i),o=Math.sin(this.BrA*e),a=(o*this.cosgam+r*this.singam)/s,Math.abs(Math.abs(a)-1)g?this.ns=Math.log(i/a)/Math.log(r/c):this.ns=e,isNaN(this.ns)&&(this.ns=e),this.f0=i/(this.ns*Math.pow(r,this.ns)),this.rh=this.a*this.f0*Math.pow(l,this.ns),this.title||(this.title="Lambert Conformal Conic")}}function ai(t){var e=t.x,n=t.y;Math.abs(2*Math.abs(n)-Math.PI)<=g&&(n=lt(n)*(f-2*g));var i,r,s=Math.abs(Math.abs(n)-f);if(s>g)i=ht(this.e,n,Math.sin(n)),r=this.a*this.f0*Math.pow(i,this.ns);else{if(s=n*this.ns,s<=0)return null;r=0}var o=this.ns*ut(e-this.long0);return t.x=this.k0*(r*Math.sin(o))+this.x0,t.y=this.k0*(this.rh-r*Math.cos(o))+this.y0,t}function ci(t){var e,n,i,r,s,o=(t.x-this.x0)/this.k0,a=this.rh-(t.y-this.y0)/this.k0;this.ns>0?(e=Math.sqrt(o*o+a*a),n=1):(e=-Math.sqrt(o*o+a*a),n=-1);var c=0;if(0!==e&&(c=Math.atan2(n*o,n*a)),0!==e||this.ns>0){if(n=1/this.ns,i=Math.pow(e/(this.a*this.f0),n),r=dt(this.e,i),-9999===r)return null}else r=-f;return s=ut(c/this.ns+this.long0),t.x=s,t.y=r,t}var li=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_1SP","Lambert_Conformal_Conic_2SP","lcc","Lambert Conic Conformal (1SP)","Lambert Conic Conformal (2SP)"],ui={init:oi,forward:ai,inverse:ci,names:li};function hi(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq}function di(t){var e,n,i,r,s,o,a,c=t.x,l=t.y,u=ut(c-this.long0);return e=Math.pow((1+this.e*Math.sin(l))/(1-this.e*Math.sin(l)),this.alfa*this.e/2),n=2*(Math.atan(this.k*Math.pow(Math.tan(l/2+this.s45),this.alfa)/e)-this.s45),i=-u*this.alfa,r=Math.asin(Math.cos(this.ad)*Math.sin(n)+Math.sin(this.ad)*Math.cos(n)*Math.cos(i)),s=Math.asin(Math.cos(n)*Math.sin(i)/Math.cos(r)),o=this.n*s,a=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(r/2+this.s45),this.n),t.y=a*Math.cos(o)/1,t.x=a*Math.sin(o)/1,this.czech||(t.y*=-1,t.x*=-1),t}function fi(t){var e,n,i,r,s,o,a,c,l=t.x;t.x=t.y,t.y=l,this.czech||(t.y*=-1,t.x*=-1),o=Math.sqrt(t.x*t.x+t.y*t.y),s=Math.atan2(t.y,t.x),r=s/Math.sin(this.s0),i=2*(Math.atan(Math.pow(this.ro0/o,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),e=Math.asin(Math.cos(this.ad)*Math.sin(i)-Math.sin(this.ad)*Math.cos(i)*Math.cos(r)),n=Math.asin(Math.cos(i)*Math.sin(r)/Math.cos(e)),t.x=this.long0-n/this.alfa,a=e,c=0;var u=0;do{t.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(e/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(a))/(1-this.e*Math.sin(a)),this.e/2))-this.s45),Math.abs(a-t.y)<1e-10&&(c=1),a=t.y,u+=1}while(0===c&&u<15);return u>=15?null:t}var pi=["Krovak","krovak"],_i={init:hi,forward:di,inverse:fi,names:pi},mi=function(t,e,n,i,r){return t*r-e*Math.sin(2*r)+n*Math.sin(4*r)-i*Math.sin(6*r)},gi=function(t){return 1-.25*t*(1+t/16*(3+1.25*t))},yi=function(t){return.375*t*(1+.25*t*(1+.46875*t))},vi=function(t){return.05859375*t*t*(1+.75*t)},bi=function(t){return t*t*t*(35/3072)},Mi=function(t,e,n){var i=e*n;return t/Math.sqrt(1-i*i)},wi=function(t){return Math.abs(t)1e-7?(n=t*e,(1-t*t)*(e/(1-n*n)-.5/t*Math.log((1-n)/(1+n)))):2*e},Ci=1,Ii=2,Di=3,Yi=4;function Ri(){var t,e=Math.abs(this.lat0);if(Math.abs(e-f)0)switch(this.qp=ki(this.e,1),this.mmf=.5/(1-this.es),this.apa=zi(this.es),this.mode){case this.N_POLE:this.dd=1;break;case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),t=Math.sin(this.lat0),this.sinb1=ki(this.e,t)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*t*t)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd;break}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))}function Ni(t){var e,n,i,r,s,o,a,c,l,u,h=t.x,d=t.y;if(h=ut(h-this.long0),this.sphere){if(s=Math.sin(d),u=Math.cos(d),i=Math.cos(h),this.mode===this.OBLIQ||this.mode===this.EQUIT){if(n=this.mode===this.EQUIT?1+u*i:1+this.sinph0*s+this.cosph0*u*i,n<=g)return null;n=Math.sqrt(2/n),e=n*u*Math.sin(h),n*=this.mode===this.EQUIT?s:this.cosph0*s-this.sinph0*u*i}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(i=-i),Math.abs(d+this.lat0)=0?(e=(l=Math.sqrt(o))*r,n=i*(this.mode===this.S_POLE?l:-l)):e=n=0;break}}return t.x=this.a*e+this.x0,t.y=this.a*n+this.y0,t}function Ai(t){t.x-=this.x0,t.y-=this.y0;var e,n,i,r,s,o,a,c=t.x/this.a,l=t.y/this.a;if(this.sphere){var u,h=0,d=0;if(u=Math.sqrt(c*c+l*l),n=.5*u,n>1)return null;switch(n=2*Math.asin(n),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(d=Math.sin(n),h=Math.cos(n)),this.mode){case this.EQUIT:n=Math.abs(u)<=g?0:Math.asin(l*d/u),c*=d,l=h*u;break;case this.OBLIQ:n=Math.abs(u)<=g?this.lat0:Math.asin(h*this.sinph0+l*d*this.cosph0/u),c*=d*this.cosph0,l=(h-Math.sin(n)*this.sinph0)*u;break;case this.N_POLE:l=-l,n=f-n;break;case this.S_POLE:n-=f;break}e=0!==l||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(c,l):0}else{if(a=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(c/=this.dd,l*=this.dd,o=Math.sqrt(c*c+l*l),o1&&(t=t>1?1:-1),Math.asin(t)};function Vi(){Math.abs(this.lat1+this.lat2)g?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)}function Xi(t){var e=t.x,n=t.y;this.sin_phi=Math.sin(n),this.cos_phi=Math.cos(n);var i=ki(this.e3,this.sin_phi,this.cos_phi),r=this.a*Math.sqrt(this.c-this.ns0*i)/this.ns0,s=this.ns0*ut(e-this.long0),o=r*Math.sin(s)+this.x0,a=this.rh-r*Math.cos(s)+this.y0;return t.x=o,t.y=a,t}function Ki(t){var e,n,i,r,s,o;return t.x-=this.x0,t.y=this.rh-t.y+this.y0,this.ns0>=0?(e=Math.sqrt(t.x*t.x+t.y*t.y),i=1):(e=-Math.sqrt(t.x*t.x+t.y*t.y),i=-1),r=0,0!==e&&(r=Math.atan2(i*t.x,i*t.y)),i=e*this.ns0/this.a,this.sphere?o=Math.asin((this.c-i*i)/(2*this.ns0)):(n=(this.c-i*i)/this.ns0,o=this.phi1z(this.e3,n)),s=ut(r/this.ns0+this.long0),t.x=s,t.y=o,t}function Zi(t,e){var n,i,r,s,o,a=Ui(.5*e);if(t0||Math.abs(o)<=g?(a=this.x0+this.a*s*n*Math.sin(i)/o,c=this.y0+this.a*s*(this.cos_p14*e-this.sin_p14*n*r)/o):(a=this.x0+this.infinity_dist*n*Math.sin(i),c=this.y0+this.infinity_dist*(this.cos_p14*e-this.sin_p14*n*r)),t.x=a,t.y=c,t}function nr(t){var e,n,i,r,s,o;return t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,t.x/=this.k0,t.y/=this.k0,(e=Math.sqrt(t.x*t.x+t.y*t.y))?(r=Math.atan2(e,this.rc),n=Math.sin(r),i=Math.cos(r),o=Ui(i*this.sin_p14+t.y*n*this.cos_p14/e),s=Math.atan2(t.x*n,e*this.cos_p14*i-t.y*this.sin_p14*n),s=ut(this.long0+s)):(o=this.phic0,s=0),t.x=s,t.y=o,t}var ir=["gnom"],rr={init:tr,forward:er,inverse:nr,names:ir},sr=function(t,e){var n=1-(1-t*t)/(2*t)*Math.log((1-t)/(1+t));if(Math.abs(Math.abs(e)-n)<1e-6)return e<0?-1*f:f;for(var i,r,s,o,a=Math.asin(.5*e),c=0;c<30;c++)if(r=Math.sin(a),s=Math.cos(a),o=t*r,i=Math.pow(1-o*o,2)/(2*s)*(e/(1-t*t)-r/(1-o*o)+.5/t*Math.log((1-o)/(1+o))),a+=i,Math.abs(i)<=1e-10)return a;return NaN};function or(){this.sphere||(this.k0=ct(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))}function ar(t){var e,n,i=t.x,r=t.y,s=ut(i-this.long0);if(this.sphere)e=this.x0+this.a*s*Math.cos(this.lat_ts),n=this.y0+this.a*Math.sin(r)/Math.cos(this.lat_ts);else{var o=ki(this.e,Math.sin(r));e=this.x0+this.a*this.k0*s,n=this.y0+this.a*o*.5/this.k0}return t.x=e,t.y=n,t}function cr(t){var e,n;return t.x-=this.x0,t.y-=this.y0,this.sphere?(e=ut(this.long0+t.x/this.a/Math.cos(this.lat_ts)),n=Math.asin(t.y/this.a*Math.cos(this.lat_ts))):(n=sr(this.e,2*t.y*this.k0/this.a),e=ut(this.long0+t.x/(this.a*this.k0))),t.x=e,t.y=n,t}var lr=["cea"],ur={init:or,forward:ar,inverse:cr,names:lr};function hr(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)}function dr(t){var e=t.x,n=t.y,i=ut(e-this.long0),r=wi(n-this.lat0);return t.x=this.x0+this.a*i*this.rc,t.y=this.y0+this.a*r,t}function fr(t){var e=t.x,n=t.y;return t.x=ut(this.long0+(e-this.x0)/(this.a*this.rc)),t.y=wi(this.lat0+(n-this.y0)/this.a),t}var pr=["Equirectangular","Equidistant_Cylindrical","eqc"],_r={init:hr,forward:dr,inverse:fr,names:pr},mr=20;function gr(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=gi(this.es),this.e1=yi(this.es),this.e2=vi(this.es),this.e3=bi(this.es),this.ml0=this.a*mi(this.e0,this.e1,this.e2,this.e3,this.lat0)}function yr(t){var e,n,i,r=t.x,s=t.y,o=ut(r-this.long0);if(i=o*Math.sin(s),this.sphere)Math.abs(s)<=g?(e=this.a*o,n=-1*this.a*this.lat0):(e=this.a*Math.sin(i)/Math.tan(s),n=this.a*(wi(s-this.lat0)+(1-Math.cos(i))/Math.tan(s)));else if(Math.abs(s)<=g)e=this.a*o,n=-1*this.ml0;else{var a=Mi(this.a,this.e,Math.sin(s))/Math.tan(s);e=a*Math.sin(i),n=this.a*mi(this.e0,this.e1,this.e2,this.e3,s)-this.ml0+a*(1-Math.cos(i))}return t.x=e+this.x0,t.y=n+this.y0,t}function vr(t){var e,n,i,r,s,o,a,c,l;if(i=t.x-this.x0,r=t.y-this.y0,this.sphere)if(Math.abs(r+this.a*this.lat0)<=g)e=ut(i/this.a+this.long0),n=0;else{var u;for(o=this.lat0+r/this.a,a=i*i/this.a/this.a+o*o,c=o,s=mr;s;--s)if(u=Math.tan(c),l=-1*(o*(c*u+1)-c-.5*(c*c+a)*u)/((c-o)/u-1),c+=l,Math.abs(l)<=g){n=c;break}e=ut(this.long0+Math.asin(i*Math.tan(c)/this.a)/Math.sin(n))}else if(Math.abs(r+this.ml0)<=g)n=0,e=ut(this.long0+i/this.a);else{var h,d,f,p,_;for(o=(this.ml0+r)/this.a,a=i*i/this.a/this.a+o*o,c=o,s=mr;s;--s)if(_=this.e*Math.sin(c),h=Math.sqrt(1-_*_)*Math.tan(c),d=this.a*mi(this.e0,this.e1,this.e2,this.e3,c),f=this.e0-2*this.e1*Math.cos(2*c)+4*this.e2*Math.cos(4*c)-6*this.e3*Math.cos(6*c),p=d/this.a,l=(o*(h*p+1)-p-.5*h*(p*p+a))/(this.es*Math.sin(2*c)*(p*p+a-2*o*p)/(4*h)+(o-p)*(h*f-2/Math.sin(2*c))-f),c-=l,Math.abs(l)<=g){n=c;break}h=Math.sqrt(1-this.es*Math.pow(Math.sin(n),2))*Math.tan(n),e=ut(this.long0+Math.asin(i*h/this.a)/Math.sin(n))}return t.x=e,t.y=n,t}var br=["Polyconic","poly"],Mr={init:gr,forward:yr,inverse:vr,names:br};function wr(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013}function xr(t){var e,n=t.x,i=t.y,r=i-this.lat0,s=n-this.long0,o=r/d*1e-5,a=s,c=1,l=0;for(e=1;e<=10;e++)c*=o,l+=this.A[e]*c;var u,h,f=l,p=a,_=1,m=0,g=0,y=0;for(e=1;e<=6;e++)u=_*f-m*p,h=m*f+_*p,_=u,m=h,g=g+this.B_re[e]*_-this.B_im[e]*m,y=y+this.B_im[e]*_+this.B_re[e]*m;return t.x=y*this.a+this.x0,t.y=g*this.a+this.y0,t}function Lr(t){var e,n,i,r=t.x,s=t.y,o=r-this.x0,a=s-this.y0,c=a/this.a,l=o/this.a,u=1,h=0,f=0,p=0;for(e=1;e<=6;e++)n=u*c-h*l,i=h*c+u*l,u=n,h=i,f=f+this.C_re[e]*u-this.C_im[e]*h,p=p+this.C_im[e]*u+this.C_re[e]*h;for(var _=0;_.999999999999&&(n=.999999999999),e=Math.asin(n);var i=ut(this.long0+t.x/(.900316316158*this.a*Math.cos(e)));i<-Math.PI&&(i=-Math.PI),i>Math.PI&&(i=Math.PI),n=(2*e+Math.sin(2*e))/Math.PI,Math.abs(n)>1&&(n=1);var r=Math.asin(n);return t.x=i,t.y=r,t}var Gr=["Mollweide","moll"],qr={init:jr,forward:Fr,inverse:Hr,names:Gr};function zr(){Math.abs(this.lat1+this.lat2)=0?(n=Math.sqrt(t.x*t.x+t.y*t.y),e=1):(n=-Math.sqrt(t.x*t.x+t.y*t.y),e=-1);var s=0;if(0!==n&&(s=Math.atan2(e*t.x,e*t.y)),this.sphere)return r=ut(this.long0+s/this.ns),i=wi(this.g-n/this.a),t.x=r,t.y=i,t;var o=this.g-n/this.a;return i=xi(o,this.e0,this.e1,this.e2,this.e3),r=ut(this.long0+s/this.ns),t.x=r,t.y=i,t}var Wr=["Equidistant_Conic","eqdc"],Ur={init:zr,forward:Br,inverse:$r,names:Wr};function Vr(){this.R=this.a}function Xr(t){var e,n,i=t.x,r=t.y,s=ut(i-this.long0);Math.abs(r)<=g&&(e=this.x0+this.R*s,n=this.y0);var o=Ui(2*Math.abs(r/Math.PI));(Math.abs(s)<=g||Math.abs(Math.abs(r)-f)<=g)&&(e=this.x0,n=r>=0?this.y0+Math.PI*this.R*Math.tan(.5*o):this.y0+Math.PI*this.R*-Math.tan(.5*o));var a=.5*Math.abs(Math.PI/s-s/Math.PI),c=a*a,l=Math.sin(o),u=Math.cos(o),h=u/(l+u-1),d=h*h,p=h*(2/l-1),_=p*p,m=Math.PI*this.R*(a*(h-_)+Math.sqrt(c*(h-_)*(h-_)-(_+c)*(d-_)))/(_+c);s<0&&(m=-m),e=this.x0+m;var y=c+h;return m=Math.PI*this.R*(p*y-a*Math.sqrt((_+c)*(c+1)-y*y))/(_+c),n=r>=0?this.y0+m:this.y0-m,t.x=e,t.y=n,t}function Kr(t){var e,n,i,r,s,o,a,c,l,u,h,d,f;return t.x-=this.x0,t.y-=this.y0,h=Math.PI*this.R,i=t.x/h,r=t.y/h,s=i*i+r*r,o=-Math.abs(r)*(1+s),a=o-2*r*r+i*i,c=-2*o+1+2*r*r+s*s,f=r*r/c+(2*a*a*a/c/c/c-9*o*a/c/c)/27,l=(o-a*a/3/c)/c,u=2*Math.sqrt(-l/3),h=3*f/l/u,Math.abs(h)>1&&(h=h>=0?1:-1),d=Math.acos(h)/3,n=t.y>=0?(-u*Math.cos(d+Math.PI/3)-a/3/c)*Math.PI:-(-u*Math.cos(d+Math.PI/3)-a/3/c)*Math.PI,e=Math.abs(i)2*f*this.a)return;return n=e/this.a,i=Math.sin(n),r=Math.cos(n),s=this.long0,Math.abs(e)<=g?o=this.lat0:(o=Ui(r*this.sin_p12+t.y*i*this.cos_p12/e),a=Math.abs(this.lat0)-f,s=Math.abs(a)<=g?this.lat0>=0?ut(this.long0+Math.atan2(t.x,-t.y)):ut(this.long0-Math.atan2(-t.x,t.y)):ut(this.long0+Math.atan2(t.x*i,e*this.cos_p12*r-t.y*this.sin_p12*i))),t.x=s,t.y=o,t}return c=gi(this.es),l=yi(this.es),u=vi(this.es),h=bi(this.es),Math.abs(this.sin_p12-1)<=g?(d=this.a*mi(c,l,u,h,f),e=Math.sqrt(t.x*t.x+t.y*t.y),p=d-e,o=xi(p/this.a,c,l,u,h),s=ut(this.long0+Math.atan2(t.x,-1*t.y)),t.x=s,t.y=o,t):Math.abs(this.sin_p12+1)<=g?(d=this.a*mi(c,l,u,h,f),e=Math.sqrt(t.x*t.x+t.y*t.y),p=e-d,o=xi(p/this.a,c,l,u,h),s=ut(this.long0+Math.atan2(t.x,t.y)),t.x=s,t.y=o,t):(e=Math.sqrt(t.x*t.x+t.y*t.y),y=Math.atan2(t.x,t.y),_=Mi(this.a,this.e,this.sin_p12),v=Math.cos(y),b=this.e*this.cos_p12*v,M=-b*b/(1-this.es),w=3*this.es*(1-M)*this.sin_p12*this.cos_p12*v/(1-this.es),x=e/_,L=x-M*(1+M)*Math.pow(x,3)/6-w*(1+3*M)*Math.pow(x,4)/24,E=1-M*L*L/2-x*L*L*L/6,m=Math.asin(this.sin_p12*Math.cos(L)+this.cos_p12*Math.sin(L)*v),s=ut(this.long0+Math.asin(Math.sin(y)*Math.sin(L)/Math.cos(m))),T=Math.sin(m),o=Math.atan2((T-this.es*E*this.sin_p12)*Math.tan(m),T*(1-this.es)),t.x=s,t.y=o,t)}var ns=["Azimuthal_Equidistant","aeqd"],is={init:Qr,forward:ts,inverse:es,names:ns};function rs(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0)}function ss(t){var e,n,i,r,s,o,a,c,l=t.x,u=t.y;return i=ut(l-this.long0),e=Math.sin(u),n=Math.cos(u),r=Math.cos(i),o=this.sin_p14*e+this.cos_p14*n*r,s=1,(o>0||Math.abs(o)<=g)&&(a=this.a*s*n*Math.sin(i),c=this.y0+this.a*s*(this.cos_p14*e-this.sin_p14*n*r)),t.x=a,t.y=c,t}function os(t){var e,n,i,r,s,o,a;return t.x-=this.x0,t.y-=this.y0,e=Math.sqrt(t.x*t.x+t.y*t.y),n=Ui(e/this.a),i=Math.sin(n),r=Math.cos(n),o=this.long0,Math.abs(e)<=g?(a=this.lat0,t.x=o,t.y=a,t):(a=Ui(r*this.sin_p14+t.y*i*this.cos_p14/e),s=Math.abs(this.lat0)-f,Math.abs(s)<=g?(o=this.lat0>=0?ut(this.long0+Math.atan2(t.x,-t.y)):ut(this.long0-Math.atan2(-t.x,t.y)),t.x=o,t.y=a,t):(o=ut(this.long0+Math.atan2(t.x*i,e*this.cos_p14*r-t.y*this.sin_p14*i)),t.x=o,t.y=a,t))}var as=["ortho"],cs={init:rs,forward:ss,inverse:os,names:as},ls={FRONT:1,RIGHT:2,BACK:3,LEFT:4,TOP:5,BOTTOM:6},us={AREA_0:1,AREA_1:2,AREA_2:3,AREA_3:4};function hs(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Quadrilateralized Spherical Cube",this.lat0>=f-b/2?this.face=ls.TOP:this.lat0<=-(f-b/2)?this.face=ls.BOTTOM:Math.abs(this.long0)<=b?this.face=ls.FRONT:Math.abs(this.long0)<=f+b?this.face=this.long0>0?ls.RIGHT:ls.LEFT:this.face=ls.BACK,0!==this.es&&(this.one_minus_f=1-(this.a-this.b)/this.a,this.one_minus_f_squared=this.one_minus_f*this.one_minus_f)}function ds(t){var e,n,i,r,s,o,a={x:0,y:0},c={value:0};if(t.x-=this.long0,e=0!==this.es?Math.atan(this.one_minus_f_squared*Math.tan(t.y)):t.y,n=t.x,this.face===ls.TOP)r=f-e,n>=b&&n<=f+b?(c.value=us.AREA_0,i=n-f):n>f+b||n<=-(f+b)?(c.value=us.AREA_1,i=n>0?n-w:n+w):n>-(f+b)&&n<=-b?(c.value=us.AREA_2,i=n+f):(c.value=us.AREA_3,i=n);else if(this.face===ls.BOTTOM)r=f+e,n>=b&&n<=f+b?(c.value=us.AREA_0,i=-n+f):n=-b?(c.value=us.AREA_1,i=-n):n<-b&&n>=-(f+b)?(c.value=us.AREA_2,i=-n-f):(c.value=us.AREA_3,i=n>0?-n+w:-n-w);else{var l,u,h,d,p,_,m;this.face===ls.RIGHT?n=_s(n,+f):this.face===ls.BACK?n=_s(n,+w):this.face===ls.LEFT&&(n=_s(n,-f)),d=Math.sin(e),p=Math.cos(e),_=Math.sin(n),m=Math.cos(n),l=p*m,u=p*_,h=d,this.face===ls.FRONT?(r=Math.acos(l),i=ps(r,h,u,c)):this.face===ls.RIGHT?(r=Math.acos(u),i=ps(r,h,-l,c)):this.face===ls.BACK?(r=Math.acos(-l),i=ps(r,h,-u,c)):this.face===ls.LEFT?(r=Math.acos(-u),i=ps(r,h,l,c)):(r=i=0,c.value=us.AREA_0)}return o=Math.atan(12/w*(i+Math.acos(Math.sin(i)*Math.cos(b))-f)),s=Math.sqrt((1-Math.cos(r))/(Math.cos(o)*Math.cos(o))/(1-Math.cos(Math.atan(1/Math.cos(i))))),c.value===us.AREA_1?o+=f:c.value===us.AREA_2?o+=w:c.value===us.AREA_3&&(o+=1.5*w),a.x=s*Math.cos(o),a.y=s*Math.sin(o),a.x=a.x*this.a+this.x0,a.y=a.y*this.a+this.y0,t.x=a.x,t.y=a.y,t}function fs(t){var e,n,i,r,s,o,a,c,l,u,h,d,p={lam:0,phi:0},_={value:0};if(t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,n=Math.atan(Math.sqrt(t.x*t.x+t.y*t.y)),e=Math.atan2(t.y,t.x),t.x>=0&&t.x>=Math.abs(t.y)?_.value=us.AREA_0:t.y>=0&&t.y>=Math.abs(t.x)?(_.value=us.AREA_1,e-=f):t.x<0&&-t.x>=Math.abs(t.y)?(_.value=us.AREA_2,e=e<0?e+w:e-w):(_.value=us.AREA_3,e+=f),l=w/12*Math.tan(e),s=Math.sin(l)/(Math.cos(l)-1/Math.sqrt(2)),o=Math.atan(s),i=Math.cos(e),r=Math.tan(n),a=1-i*i*r*r*(1-Math.cos(Math.atan(1/Math.cos(o)))),a<-1?a=-1:a>1&&(a=1),this.face===ls.TOP)c=Math.acos(a),p.phi=f-c,_.value===us.AREA_0?p.lam=o+f:_.value===us.AREA_1?p.lam=o<0?o+w:o-w:_.value===us.AREA_2?p.lam=o-f:p.lam=o;else if(this.face===ls.BOTTOM)c=Math.acos(a),p.phi=c-f,_.value===us.AREA_0?p.lam=-o+f:_.value===us.AREA_1?p.lam=-o:_.value===us.AREA_2?p.lam=-o-f:p.lam=o<0?-o-w:-o+w;else{var m,g,y;m=a,l=m*m,y=l>=1?0:Math.sqrt(1-l)*Math.sin(o),l+=y*y,g=l>=1?0:Math.sqrt(1-l),_.value===us.AREA_1?(l=g,g=-y,y=l):_.value===us.AREA_2?(g=-g,y=-y):_.value===us.AREA_3&&(l=g,g=y,y=-l),this.face===ls.RIGHT?(l=m,m=-g,g=l):this.face===ls.BACK?(m=-m,g=-g):this.face===ls.LEFT&&(l=m,m=g,g=-l),p.phi=Math.acos(-y)-f,p.lam=Math.atan2(g,m),this.face===ls.RIGHT?p.lam=_s(p.lam,-f):this.face===ls.BACK?p.lam=_s(p.lam,-w):this.face===ls.LEFT&&(p.lam=_s(p.lam,+f))}0!==this.es&&(u=p.phi<0?1:0,h=Math.tan(p.phi),d=this.b/Math.sqrt(h*h+this.one_minus_f_squared),p.phi=Math.atan(Math.sqrt(this.a*this.a-d*d)/(this.one_minus_f*d)),u&&(p.phi=-p.phi));return p.lam+=this.long0,t.x=p.lam,t.y=p.phi,t}function ps(t,e,n,i){var r;return tb&&r<=f+b?(i.value=us.AREA_1,r-=f):r>f+b||r<=-(f+b)?(i.value=us.AREA_2,r=r>=0?r-w:r+w):(i.value=us.AREA_3,r+=f)),r}function _s(t,e){var n=t+e;return n<-w?n+=M:n>+w&&(n-=M),n}var ms=["Quadrilateralized Spherical Cube","Quadrilateralized_Spherical_Cube","qsc"],gs={init:hs,forward:ds,inverse:fs,names:ms},ys=[[1,2.2199e-17,-715515e-10,31103e-10],[.9986,-482243e-9,-24897e-9,-13309e-10],[.9954,-83103e-8,-448605e-10,-9.86701e-7],[.99,-.00135364,-59661e-9,36777e-10],[.9822,-.00167442,-449547e-11,-572411e-11],[.973,-.00214868,-903571e-10,1.8736e-8],[.96,-.00305085,-900761e-10,164917e-11],[.9427,-.00382792,-653386e-10,-26154e-10],[.9216,-.00467746,-10457e-8,481243e-11],[.8962,-.00536223,-323831e-10,-543432e-11],[.8679,-.00609363,-113898e-9,332484e-11],[.835,-.00698325,-640253e-10,9.34959e-7],[.7986,-.00755338,-500009e-10,9.35324e-7],[.7597,-.00798324,-35971e-9,-227626e-11],[.7186,-.00851367,-701149e-10,-86303e-10],[.6732,-.00986209,-199569e-9,191974e-10],[.6213,-.010418,883923e-10,624051e-11],[.5722,-.00906601,182e-6,624051e-11],[.5322,-.00677797,275608e-9,624051e-11]],vs=[[-5.20417e-18,.0124,1.21431e-18,-8.45284e-11],[.062,.0124,-1.26793e-9,4.22642e-10],[.124,.0124,5.07171e-9,-1.60604e-9],[.186,.0123999,-1.90189e-8,6.00152e-9],[.248,.0124002,7.10039e-8,-2.24e-8],[.31,.0123992,-2.64997e-7,8.35986e-8],[.372,.0124029,9.88983e-7,-3.11994e-7],[.434,.0123893,-369093e-11,-4.35621e-7],[.4958,.0123198,-102252e-10,-3.45523e-7],[.5571,.0121916,-154081e-10,-5.82288e-7],[.6176,.0119938,-241424e-10,-5.25327e-7],[.6769,.011713,-320223e-10,-5.16405e-7],[.7346,.0113541,-397684e-10,-6.09052e-7],[.7903,.0109107,-489042e-10,-104739e-11],[.8435,.0103431,-64615e-9,-1.40374e-9],[.8936,.00969686,-64636e-9,-8547e-9],[.9394,.00840947,-192841e-9,-42106e-10],[.9761,.00616527,-256e-6,-42106e-10],[1,.00328947,-319159e-9,-42106e-10]],bs=.8487,Ms=1.3523,ws=v/5,xs=1/ws,Ls=18,Es=function(t,e){return t[0]+e*(t[1]+e*(t[2]+e*t[3]))},Ts=function(t,e){return t[1]+e*(2*t[2]+3*e*t[3])};function Ss(t,e,n,i){for(var r=e;i;--i){var s=t(r);if(r-=s,Math.abs(s)=Ls&&(i=Ls-1),n=v*(n-xs*i);var r={x:Es(ys[i],n)*e,y:Es(vs[i],n)};return t.y<0&&(r.y=-r.y),r.x=r.x*this.a*bs+this.x0,r.y=r.y*this.a*Ms+this.y0,r}function Cs(t){var e={x:(t.x-this.x0)/(this.a*bs),y:Math.abs(t.y-this.y0)/(this.a*Ms)};if(e.y>=1)e.x/=ys[Ls][0],e.y=t.y<0?-f:f;else{var n=Math.floor(e.y*Ls);for(n<0?n=0:n>=Ls&&(n=Ls-1);;)if(vs[n][0]>e.y)--n;else{if(!(vs[n+1][0]<=e.y))break;++n}var i=vs[n],r=5*(e.y-i[0])/(vs[n+1][0]-i[0]);r=Ss(function(t){return(Es(i,t)-e.y)/Ts(i,t)},r,g,100),e.x/=Es(ys[n],r),e.y=(5*n+r)*y,t.y<0&&(e.y=-e.y)}return e.x=ut(e.x+this.long0),e}var Is=["Robinson","robin"],Ds={init:Os,forward:ks,inverse:Cs,names:Is};function Ys(){this.name="geocent"}function Rs(t){var e=Zt(t,this.es,this.a);return e}function Ns(t){var e=Jt(t,this.es,this.a,this.b);return e}var As=["Geocentric","geocentric","geocent","Geocent"],Ps={init:Ys,forward:Rs,inverse:Ns,names:As},js={N_POLE:0,S_POLE:1,EQUIT:2,OBLIQ:3},Fs={h:{def:1e5,num:!0},azi:{def:0,num:!0,degrees:!0},tilt:{def:0,num:!0,degrees:!0},long0:{def:0,num:!0},lat0:{def:0,num:!0}};function Hs(){if(Object.keys(Fs).forEach(function(t){if("undefined"===typeof this[t])this[t]=Fs[t].def;else{if(Fs[t].num&&isNaN(this[t]))throw new Error("Invalid parameter value, must be numeric "+t+" = "+this[t]);Fs[t].num&&(this[t]=parseFloat(this[t]))}Fs[t].degrees&&(this[t]=this[t]*y)}.bind(this)),Math.abs(Math.abs(this.lat0)-f)1e10)throw new Error("Invalid height");this.p=1+this.pn1,this.rp=1/this.p,this.h1=1/this.pn1,this.pfact=(this.p+1)*this.h1,this.es=0;var t=this.tilt,e=this.azi;this.cg=Math.cos(e),this.sg=Math.sin(e),this.cw=Math.cos(t),this.sw=Math.sin(t)}function Gs(t){t.x-=this.long0;var e,n,i,r,s=Math.sin(t.y),o=Math.cos(t.y),a=Math.cos(t.x);switch(this.mode){case js.OBLIQ:n=this.sinph0*s+this.cosph0*o*a;break;case js.EQUIT:n=o*a;break;case js.S_POLE:n=-s;break;case js.N_POLE:n=s;break}switch(n=this.pn1/(this.p-n),e=n*o*Math.sin(t.x),this.mode){case js.OBLIQ:n*=this.cosph0*s-this.sinph0*o*a;break;case js.EQUIT:n*=s;break;case js.N_POLE:n*=-o*a;break;case js.S_POLE:n*=o*a;break}return i=n*this.cg+e*this.sg,r=1/(i*this.sw*this.h1+this.cw),e=(e*this.cg-n*this.sg)*this.cw*r,n=i*r,t.x=e*this.a,t.y=n*this.a,t}function qs(t){t.x/=this.a,t.y/=this.a;var e,n,i,r={x:t.x,y:t.y};i=1/(this.pn1-t.y*this.sw),e=this.pn1*t.x*i,n=this.pn1*t.y*this.cw*i,t.x=e*this.cg+n*this.sg,t.y=n*this.cg-e*this.sg;var s=fn(t.x,t.y);if(Math.abs(s)1e10)throw new Error;if(this.radius_g=1+this.radius_g_1,this.C=this.radius_g*this.radius_g-1,0!==this.es){var t=1-this.es,e=1/t;this.radius_p=Math.sqrt(t),this.radius_p2=t,this.radius_p_inv2=e,this.shape="ellipse"}else this.radius_p=1,this.radius_p2=1,this.radius_p_inv2=1,this.shape="sphere";this.title||(this.title="Geostationary Satellite View")}function Ws(t){var e,n,i,r,s=t.x,o=t.y;if(s-=this.long0,"ellipse"===this.shape){o=Math.atan(this.radius_p2*Math.tan(o));var a=this.radius_p/fn(this.radius_p*Math.cos(o),Math.sin(o));if(n=a*Math.cos(s)*Math.cos(o),i=a*Math.sin(s)*Math.cos(o),r=a*Math.sin(o),(this.radius_g-n)*n-i*i-r*r*this.radius_p_inv2<0)return t.x=Number.NaN,t.y=Number.NaN,t;e=this.radius_g-n,this.flip_axis?(t.x=this.radius_g_1*Math.atan(i/fn(r,e)),t.y=this.radius_g_1*Math.atan(r/e)):(t.x=this.radius_g_1*Math.atan(i/e),t.y=this.radius_g_1*Math.atan(r/fn(i,e)))}else"sphere"===this.shape&&(e=Math.cos(o),n=Math.cos(s)*e,i=Math.sin(s)*e,r=Math.sin(o),e=this.radius_g-n,this.flip_axis?(t.x=this.radius_g_1*Math.atan(i/fn(r,e)),t.y=this.radius_g_1*Math.atan(r/e)):(t.x=this.radius_g_1*Math.atan(i/e),t.y=this.radius_g_1*Math.atan(r/fn(i,e))));return t.x=t.x*this.a,t.y=t.y*this.a,t}function Us(t){var e,n,i,r,s=-1,o=0,a=0;if(t.x=t.x/this.a,t.y=t.y/this.a,"ellipse"===this.shape){this.flip_axis?(a=Math.tan(t.y/this.radius_g_1),o=Math.tan(t.x/this.radius_g_1)*fn(1,a)):(o=Math.tan(t.x/this.radius_g_1),a=Math.tan(t.y/this.radius_g_1)*fn(1,o));var c=a/this.radius_p;if(e=o*o+c*c+s*s,n=2*this.radius_g*s,i=n*n-4*e*this.C,i<0)return t.x=Number.NaN,t.y=Number.NaN,t;r=(-n-Math.sqrt(i))/(2*e),s=this.radius_g+r*s,o*=r,a*=r,t.x=Math.atan2(o,s),t.y=Math.atan(a*Math.cos(t.x)/s),t.y=Math.atan(this.radius_p_inv2*Math.tan(t.y))}else if("sphere"===this.shape){if(this.flip_axis?(a=Math.tan(t.y/this.radius_g_1),o=Math.tan(t.x/this.radius_g_1)*Math.sqrt(1+a*a)):(o=Math.tan(t.x/this.radius_g_1),a=Math.tan(t.y/this.radius_g_1)*Math.sqrt(1+o*o)),e=o*o+a*a+s*s,n=2*this.radius_g*s,i=n*n-4*e*this.C,i<0)return t.x=Number.NaN,t.y=Number.NaN,t;r=(-n-Math.sqrt(i))/(2*e),s=this.radius_g+r*s,o*=r,a*=r,t.x=Math.atan2(o,s),t.y=Math.atan(a*Math.cos(t.x)/s)}return t.x=t.x+this.long0,t}var Vs=["Geostationary Satellite View","Geostationary_Satellite","geos"],Xs={init:$s,forward:Ws,inverse:Us,names:Vs},Ks=function(t){t.Proj.projections.add(hn),t.Proj.projections.add(Ln),t.Proj.projections.add(kn),t.Proj.projections.add(Gn),t.Proj.projections.add(Un),t.Proj.projections.add(Jn),t.Proj.projections.add(si),t.Proj.projections.add(ui),t.Proj.projections.add(_i),t.Proj.projections.add(Oi),t.Proj.projections.add(Wi),t.Proj.projections.add(Qi),t.Proj.projections.add(rr),t.Proj.projections.add(ur),t.Proj.projections.add(_r),t.Proj.projections.add(Mr),t.Proj.projections.add(Tr),t.Proj.projections.add(Ir),t.Proj.projections.add(Pr),t.Proj.projections.add(qr),t.Proj.projections.add(Ur),t.Proj.projections.add(Jr),t.Proj.projections.add(is),t.Proj.projections.add(cs),t.Proj.projections.add(gs),t.Proj.projections.add(Ds),t.Proj.projections.add(Ps),t.Proj.projections.add(Bs),t.Proj.projections.add(Xs)};me.defaultDatum="WGS84",me.Proj=Xt,me.WGS84=new me.Proj("WGS84"),me.Point=ze,me.toPoint=ae,me.defs=K,me.nadgrid=Pt,me.transform=he,me.mgrs=Ee,me.version="__VERSION__",Ks(me);e["a"]=me},a7da:function(t,e,n){"use strict";e["a"]={name:"QCarouselSlide",inject:{carousel:{default:function(){console.error("QCarouselSlide needs to be child of QCarousel")}}},props:{imgSrc:String},computed:{computedStyle:function(){var t={};return this.imgSrc&&(t.backgroundImage="url(".concat(this.imgSrc,")"),t.backgroundSize="cover",t.backgroundPosition="50%"),!this.carousel.inFullscreen&&this.carousel.height&&(t.maxHeight=this.carousel.height),t}},render:function(t){return t("div",{staticClass:"q-carousel-slide relative-position scroll",style:this.computedStyle},this.$slots.default)},created:function(){this.carousel.__registerSlide()},beforeDestroy:function(){this.carousel.__unregisterSlide()}}},a7fa:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});return e})},a829:function(t,e,n){"use strict";var i=n("c6a3"),r=n("062e"),s=n("46ef"),o=n("272a");class a extends o["a"]{}n.d(e,"a",function(){return c});class c extends a{constructor(t){super(),this.array=[],t instanceof i["a"]&&this.addAll(t)}contains(t){for(const e of this.array)if(0===e.compareTo(t))return!0;return!1}add(t){if(this.contains(t))return!1;for(let e=0,n=this.array.length;e/g,">").replace(/"/g,""").replace(/'/g,"'")}function E(t){return null!=t&&Object.keys(t).forEach(function(e){"string"==typeof t[e]&&(t[e]=L(t[e]))}),t}function T(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[t,i.locale,i._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var n=[],i=arguments.length-2;while(i-- >0)n[i]=arguments[i+2];var r=this.$i18n;return r._tc.apply(r,[t,r.locale,r._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){var e,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){var e,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}function S(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n)if(t.i18n instanceof Et){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{},n=t.__i18nBridge||t.__i18n;n.forEach(function(t){e=w(e,JSON.parse(t))}),Object.keys(e).forEach(function(n){t.i18n.mergeLocaleMessage(n,e[n])})}catch(t){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(d(t.i18n)){var i=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Et?this.$root.$i18n:null;if(i&&(t.i18n.root=this.$root,t.i18n.formatter=i.formatter,t.i18n.fallbackLocale=i.fallbackLocale,t.i18n.formatFallbackMessages=i.formatFallbackMessages,t.i18n.silentTranslationWarn=i.silentTranslationWarn,t.i18n.silentFallbackWarn=i.silentFallbackWarn,t.i18n.pluralizationRules=i.pluralizationRules,t.i18n.preserveDirectiveContent=i.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var r=t.i18n&&t.i18n.messages?t.i18n.messages:{},s=t.__i18nBridge||t.__i18n;s.forEach(function(t){r=w(r,JSON.parse(t))}),t.i18n.messages=r}catch(t){0}var o=t.i18n,a=o.sharedMessages;a&&d(a)&&(t.i18n.messages=w(t.i18n.messages,a)),this._i18n=new Et(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),i&&i.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Et?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Et&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?t.i18n instanceof Et?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):d(t.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Et?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Et&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick(function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)})}}}}var O={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,i=e.parent,r=e.props,s=e.slots,o=i.$i18n;if(o){var a=r.path,c=r.locale,l=r.places,u=s(),h=o.i(a,c,k(u)||l?C(u.default,l):u),d=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return d?t(d,n,h):h}}};function k(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function C(t,e){var n=e?I(e):{};if(!t)return n;t=t.filter(function(t){return t.tag||""!==t.text.trim()});var i=t.every(R);return t.reduce(i?D:Y,n)}function I(t){return Array.isArray(t)?t.reduce(Y,{}):Object.assign({},t)}function D(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function Y(t,e,n){return t[n]=e,t}function R(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var A,N={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,r=e.parent,s=e.data,o=r.$i18n;if(!o)return null;var c=null,u=null;l(n.format)?c=n.format:a(n.format)&&(n.format.key&&(c=n.format.key),u=Object.keys(n.format).reduce(function(t,e){var r;return v(i,e)?Object.assign({},t,(r={},r[e]=n.format[e],r)):t},null));var h=n.locale||o.locale,d=o._ntp(n.value,h,c,u),f=d.map(function(t,e){var n,i=s.scopedSlots&&s.scopedSlots[t.type];return i?i((n={},n[t.type]=t.value,n.index=e,n.parts=d,n)):t.value}),p=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return p?t(p,{attrs:s.attrs,class:s["class"],staticClass:s.staticClass},f):f}};function P(t,e,n){H(t,n)&&q(t,e,n)}function j(t,e,n,i){if(H(t,n)){var r=n.context.$i18n;G(t,n)&&x(e.value,e.oldValue)&&x(t._localeMessage,r.getLocaleMessage(r.locale))||q(t,e,n)}}function F(t,e,n,i){var s=n.context;if(s){var o=n.context.$i18n||{};e.modifiers.preserve||o.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else r("Vue instance does not exists in VNode context")}function H(t,e){var n=e.context;return n?!!n.$i18n||(r("VueI18n instance does not exists in Vue instance"),!1):(r("Vue instance does not exists in VNode context"),!1)}function G(t,e){var n=e.context;return t._locale===n.$i18n.locale}function q(t,e,n){var i,s,o=e.value,a=z(o),c=a.path,l=a.locale,u=a.args,h=a.choice;if(c||l||u)if(c){var d=n.context;t._vt=t.textContent=null!=h?(i=d.$i18n).tc.apply(i,[c,h].concat(B(l,u))):(s=d.$i18n).t.apply(s,[c].concat(B(l,u))),t._locale=d.$i18n.locale,t._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}else r("`path` is required in v-t directive");else r("value type not supported")}function z(t){var e,n,i,r;return l(t)?e=t:d(t)&&(e=t.path,n=t.locale,i=t.args,r=t.choice),{path:e,locale:n,args:i,choice:r}}function B(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||d(e))&&n.push(e),n}function $(t,e){void 0===e&&(e={bridge:!1}),$.installed=!0,A=t;A.version&&Number(A.version.split(".")[0]);T(A),A.mixin(S(e.bridge)),A.directive("t",{bind:P,update:j,unbind:F}),A.component(O.name,O),A.component(N.name,N);var n=A.config.optionMergeStrategies;n.i18n=function(t,e){return void 0===e?t:e}}var W=function(){this._caches=Object.create(null)};W.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=X(t),this._caches[t]=n),K(n,e)};var U=/^(?:\d)+/,V=/^(?:\w)+/;function X(t){var e=[],n=0,i="";while(n0)h--,u=st,d[Z]();else{if(h=0,void 0===n)return!1;if(n=_t(n),!1===n)return!1;d[J]()}};while(null!==u)if(l++,e=t[l],"\\"!==e||!f()){if(r=pt(e),a=ut[u],s=a[r]||a["else"]||lt,s===lt)return;if(u=s[0],o=d[s[1]],o&&(i=s[2],i=void 0===i?e:i,!1===o()))return;if(u===ct)return c}}var gt=function(){this._cache=Object.create(null)};gt.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=mt(t),e&&(this._cache[t]=e)),e||[]},gt.prototype.getPathValue=function(t,e){if(!a(t))return null;var n=this.parsePath(e);if(0===n.length)return null;var i=n.length,r=t,s=0;while(s/,bt=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|./]+|\([\w\-_|./]+\)))/g,Mt=/^@(?:\.([a-z]+))?:/,wt=/[()]/g,xt={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Lt=new W,Et=function(t){var e=this;void 0===t&&(t={}),!A&&"undefined"!==typeof window&&window.Vue&&$(window.Vue);var n=t.locale||"en-US",i=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),r=t.messages||{},s=t.dateTimeFormats||t.datetimeFormats||{},o=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Lt,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new gt,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,n){var i=Object.getPrototypeOf(e);if(i&&i.getChoiceIndex){var r=i.getChoiceIndex;return r.call(e,t,n)}var s=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):s(t,n)},this._exist=function(t,n){return!(!t||!n)&&(!f(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach(function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])}),this._initVM({locale:n,fallbackLocale:i,messages:r,dateTimeFormats:s,numberFormats:o})},Tt={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};Et.prototype._checkLocaleMessage=function(t,e,n){var i=[],a=function(t,e,n,i){if(d(n))Object.keys(n).forEach(function(r){var s=n[r];d(s)?(i.push(r),i.push("."),a(t,e,s,i),i.pop(),i.pop()):(i.push(r),a(t,e,s,i),i.pop())});else if(o(n))n.forEach(function(n,r){d(n)?(i.push("["+r+"]"),i.push("."),a(t,e,n,i),i.pop(),i.pop()):(i.push("["+r+"]"),a(t,e,n,i),i.pop())});else if(l(n)){var c=vt.test(n);if(c){var u="Detected HTML in message '"+n+"' of keypath '"+i.join("")+"' at '"+e+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?r(u):"error"===t&&s(u)}}};a(e,t,n,i)},Et.prototype._initVM=function(t){var e=A.config.silent;A.config.silent=!0,this._vm=new A({data:t,__VUE18N__INSTANCE__:!0}),A.config.silent=e},Et.prototype.destroyVM=function(){this._vm.$destroy()},Et.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},Et.prototype.unsubscribeDataChanging=function(t){g(this._dataListeners,t)},Et.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",function(){var e=y(t._dataListeners),n=e.length;while(n--)A.nextTick(function(){e[n]&&e[n].$forceUpdate()})},{deep:!0})},Et.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,n=this._vm;return this.vm.$watch("locale",function(i){n.$set(n,"locale",i),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=i),n.$forceUpdate()},{immediate:!0})}if(!this._sync||!this._root)return null;var i=this._vm;return this._root.$i18n.vm.$watch("locale",function(t){i.$set(i,"locale",t),i.$forceUpdate()},{immediate:!0})},Et.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Tt.vm.get=function(){return this._vm},Tt.messages.get=function(){return m(this._getMessages())},Tt.dateTimeFormats.get=function(){return m(this._getDateTimeFormats())},Tt.numberFormats.get=function(){return m(this._getNumberFormats())},Tt.availableLocales.get=function(){return Object.keys(this.messages).sort()},Tt.locale.get=function(){return this._vm.locale},Tt.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Tt.fallbackLocale.get=function(){return this._vm.fallbackLocale},Tt.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Tt.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Tt.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Tt.missing.get=function(){return this._missing},Tt.missing.set=function(t){this._missing=t},Tt.formatter.get=function(){return this._formatter},Tt.formatter.set=function(t){this._formatter=t},Tt.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Tt.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Tt.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Tt.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Tt.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Tt.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Tt.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Tt.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var i=this._getMessages();Object.keys(i).forEach(function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])})}},Tt.postTranslation.get=function(){return this._postTranslation},Tt.postTranslation.set=function(t){this._postTranslation=t},Tt.sync.get=function(){return this._sync},Tt.sync.set=function(t){this._sync=t},Et.prototype._getMessages=function(){return this._vm.messages},Et.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Et.prototype._getNumberFormats=function(){return this._vm.numberFormats},Et.prototype._warnDefault=function(t,e,n,i,r,s){if(!f(n))return n;if(this._missing){var o=this._missing.apply(null,[t,e,i,r]);if(l(o))return o}else 0;if(this._formatFallbackMessages){var a=_.apply(void 0,r);return this._render(e,s,a.params,e)}return e},Et.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:f(t))&&!f(this._root)&&this._fallbackRoot},Et.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Et.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Et.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Et.prototype._interpolate=function(t,e,n,i,r,s,a){if(!e)return null;var c,u=this._path.getPathValue(e,n);if(o(u)||d(u))return u;if(f(u)){if(!d(e))return null;if(c=e[n],!l(c)&&!p(c))return null}else{if(!l(u)&&!p(u))return null;c=u}return l(c)&&(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(t,e,c,i,"raw",s,a)),this._render(c,r,s,n)},Et.prototype._link=function(t,e,n,i,r,s,a){var c=n,l=c.match(bt);for(var u in l)if(l.hasOwnProperty(u)){var h=l[u],d=h.match(Mt),f=d[0],p=d[1],_=h.replace(f,"").replace(wt,"");if(v(a,_))return c;a.push(_);var m=this._interpolate(t,e,_,i,"raw"===r?"string":r,"raw"===r?void 0:s,a);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;m=g._translate(g._getMessages(),g.locale,g.fallbackLocale,_,i,r,s)}m=this._warnDefault(t,_,m,i,o(s)?s:[s],r),this._modifiers.hasOwnProperty(p)?m=this._modifiers[p](m):xt.hasOwnProperty(p)&&(m=xt[p](m)),a.pop(),c=m?c.replace(h,m):c}return c},Et.prototype._createMessageContext=function(t,e,n,i){var r=this,s=o(t)?t:[],c=a(t)?t:{},l=function(t){return s[t]},u=function(t){return c[t]},h=this._getMessages(),d=this.locale;return{list:l,named:u,values:t,formatter:e,path:n,messages:h,locale:d,linked:function(t){return r._interpolate(d,h[d]||{},t,null,i,void 0,[t])}}},Et.prototype._render=function(t,e,n,i){if(p(t))return t(this._createMessageContext(n,this._formatter||Lt,i,e));var r=this._formatter.interpolate(t,n,i);return r||(r=Lt.interpolate(t,n,i)),"string"!==e||l(r)?r:r.join("")},Et.prototype._appendItemToChain=function(t,e,n){var i=!1;return v(t,e)||(i=!0,e&&(i="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(i=n[e]))),i},Et.prototype._appendLocaleToChain=function(t,e,n){var i,r=e.split("-");do{var s=r.join("-");i=this._appendItemToChain(t,s,n),r.splice(-1,1)}while(r.length&&!0===i);return i},Et.prototype._appendBlockToChain=function(t,e,n){for(var i=!0,r=0;r0)s[o]=arguments[o+4];if(!t)return"";var a=_.apply(void 0,s);this._escapeParameterHtml&&(a.params=E(a.params));var c=a.locale||e,l=this._translate(n,c,this.fallbackLocale,t,i,"string",a.params);if(this._isFallbackRoot(l)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[t].concat(s))}return l=this._warnDefault(c,t,l,i,s,"string"),this._postTranslation&&null!==l&&void 0!==l&&(l=this._postTranslation(l,t)),l},Et.prototype.t=function(t){var e,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Et.prototype._i=function(t,e,n,i,r){var s=this._translate(n,e,this.fallbackLocale,t,i,"raw",r);if(this._isFallbackRoot(s)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,r)}return this._warnDefault(e,t,s,i,[r],"raw")},Et.prototype.i=function(t,e,n){return t?(l(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Et.prototype._tc=function(t,e,n,i,r){var s,o=[],a=arguments.length-5;while(a-- >0)o[a]=arguments[a+5];if(!t)return"";void 0===r&&(r=1);var c={count:r,n:r},l=_.apply(void 0,o);return l.params=Object.assign(c,l.params),o=null===l.locale?[l.params]:[l.locale,l.params],this.fetchChoice((s=this)._t.apply(s,[t,e,n,i].concat(o)),r)},Et.prototype.fetchChoice=function(t,e){if(!t||!l(t))return null;var n=t.split("|");return e=this.getChoiceIndex(e,n.length),n[e]?n[e].trim():t},Et.prototype.tc=function(t,e){var n,i=[],r=arguments.length-2;while(r-- >0)i[r]=arguments[r+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(i))},Et.prototype._te=function(t,e,n){var i=[],r=arguments.length-3;while(r-- >0)i[r]=arguments[r+3];var s=_.apply(void 0,i).locale||e;return this._exist(n[s],t)},Et.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Et.prototype.getLocaleMessage=function(t){return m(this._vm.messages[t]||{})},Et.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Et.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,w("undefined"!==typeof this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},Et.prototype.getDateTimeFormat=function(t){return m(this._vm.dateTimeFormats[t]||{})},Et.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},Et.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,w(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},Et.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}},Et.prototype._localizeDateTime=function(t,e,n,i,r){for(var s=e,o=i[s],a=this._getLocaleChain(e,n),c=0;c0)e[n]=arguments[n+1];var i=this.locale,r=null;return 1===e.length?l(e[0])?r=e[0]:a(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(r=e[0].key)):2===e.length&&(l(e[0])&&(r=e[0]),l(e[1])&&(i=e[1])),this._d(t,i,r)},Et.prototype.getNumberFormat=function(t){return m(this._vm.numberFormats[t]||{})},Et.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Et.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,w(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Et.prototype._clearNumberFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},Et.prototype._getNumberFormatter=function(t,e,n,i,r,s){for(var o=e,a=i[o],c=this._getLocaleChain(e,n),l=0;l0)e[n]=arguments[n+1];var r=this.locale,s=null,o=null;return 1===e.length?l(e[0])?s=e[0]:a(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(s=e[0].key),o=Object.keys(e[0]).reduce(function(t,n){var r;return v(i,n)?Object.assign({},t,(r={},r[n]=e[0][n],r)):t},null)):2===e.length&&(l(e[0])&&(s=e[0]),l(e[1])&&(r=e[1])),this._n(t,r,s,o)},Et.prototype._ntp=function(t,e,n,i){if(!Et.availabilities.numberFormat)return[];if(!n){var r=i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e);return r.formatToParts(t)}var s=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),o=s&&s.formatToParts(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,i)}return o||[]},Object.defineProperties(Et.prototype,Tt),Object.defineProperty(Et,"availabilities",{get:function(){if(!yt){var t="undefined"!==typeof Intl;yt={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return yt}}),Et.install=$,Et.version="8.27.0",e["a"]=Et},a963:function(t,e,n){},a9b5:function(t,e,n){},aa77:function(t,e,n){var i=n("5ca1"),r=n("be13"),s=n("79e5"),o=n("fdef"),a="["+o+"]",c="​…",l=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),h=function(t,e,n){var r={},a=s(function(){return!!o[t]()||c[t]()!=c}),l=r[t]=a?e(d):o[t];n&&(r[n]=l),i(i.P+i.F*a,"String",r)},d=h.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(u,"")),t};t.exports=h},aab2:function(t,e,n){},aae3:function(t,e,n){var i=n("d3f4"),r=n("2d95"),s=n("2b4c")("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[s])?!!e:"RegExp"==r(t))}},aaf2:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; + */var i=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function r(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function s(t,e){"undefined"!==typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var o=Array.isArray;function a(t){return null!==t&&"object"===typeof t}function c(t){return"boolean"===typeof t}function l(t){return"string"===typeof t}var u=Object.prototype.toString,h="[object Object]";function d(t){return u.call(t)===h}function f(t){return null===t||void 0===t}function p(t){return"function"===typeof t}function _(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var n=null,i=null;return 1===t.length?a(t[0])||o(t[0])?i=t[0]:"string"===typeof t[0]&&(n=t[0]):2===t.length&&("string"===typeof t[0]&&(n=t[0]),(a(t[1])||o(t[1]))&&(i=t[1])),{locale:n,params:i}}function m(t){return JSON.parse(JSON.stringify(t))}function g(t,e){if(t.delete(e))return t}function y(t){var e=[];return t.forEach(function(t){return e.push(t)}),e}function v(t,e){return!!~t.indexOf(e)}var b=Object.prototype.hasOwnProperty;function M(t,e){return b.call(t,e)}function w(t){for(var e=arguments,n=Object(t),i=1;i/g,">").replace(/"/g,""").replace(/'/g,"'")}function E(t){return null!=t&&Object.keys(t).forEach(function(e){"string"==typeof t[e]&&(t[e]=L(t[e]))}),t}function T(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[t,i.locale,i._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var n=[],i=arguments.length-2;while(i-- >0)n[i]=arguments[i+2];var r=this.$i18n;return r._tc.apply(r,[t,r.locale,r._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){var e,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){var e,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}function S(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n)if(t.i18n instanceof Et){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{},n=t.__i18nBridge||t.__i18n;n.forEach(function(t){e=w(e,JSON.parse(t))}),Object.keys(e).forEach(function(n){t.i18n.mergeLocaleMessage(n,e[n])})}catch(t){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(d(t.i18n)){var i=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Et?this.$root.$i18n:null;if(i&&(t.i18n.root=this.$root,t.i18n.formatter=i.formatter,t.i18n.fallbackLocale=i.fallbackLocale,t.i18n.formatFallbackMessages=i.formatFallbackMessages,t.i18n.silentTranslationWarn=i.silentTranslationWarn,t.i18n.silentFallbackWarn=i.silentFallbackWarn,t.i18n.pluralizationRules=i.pluralizationRules,t.i18n.preserveDirectiveContent=i.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var r=t.i18n&&t.i18n.messages?t.i18n.messages:{},s=t.__i18nBridge||t.__i18n;s.forEach(function(t){r=w(r,JSON.parse(t))}),t.i18n.messages=r}catch(t){0}var o=t.i18n,a=o.sharedMessages;a&&d(a)&&(t.i18n.messages=w(t.i18n.messages,a)),this._i18n=new Et(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),i&&i.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Et?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Et&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?t.i18n instanceof Et?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):d(t.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Et?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Et&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick(function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)})}}}}var O={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,i=e.parent,r=e.props,s=e.slots,o=i.$i18n;if(o){var a=r.path,c=r.locale,l=r.places,u=s(),h=o.i(a,c,k(u)||l?C(u.default,l):u),d=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return d?t(d,n,h):h}}};function k(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function C(t,e){var n=e?I(e):{};if(!t)return n;t=t.filter(function(t){return t.tag||""!==t.text.trim()});var i=t.every(R);return t.reduce(i?D:Y,n)}function I(t){return Array.isArray(t)?t.reduce(Y,{}):Object.assign({},t)}function D(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function Y(t,e,n){return t[n]=e,t}function R(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var N,A={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,r=e.parent,s=e.data,o=r.$i18n;if(!o)return null;var c=null,u=null;l(n.format)?c=n.format:a(n.format)&&(n.format.key&&(c=n.format.key),u=Object.keys(n.format).reduce(function(t,e){var r;return v(i,e)?Object.assign({},t,(r={},r[e]=n.format[e],r)):t},null));var h=n.locale||o.locale,d=o._ntp(n.value,h,c,u),f=d.map(function(t,e){var n,i=s.scopedSlots&&s.scopedSlots[t.type];return i?i((n={},n[t.type]=t.value,n.index=e,n.parts=d,n)):t.value}),p=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return p?t(p,{attrs:s.attrs,class:s["class"],staticClass:s.staticClass},f):f}};function P(t,e,n){H(t,n)&&q(t,e,n)}function j(t,e,n,i){if(H(t,n)){var r=n.context.$i18n;G(t,n)&&x(e.value,e.oldValue)&&x(t._localeMessage,r.getLocaleMessage(r.locale))||q(t,e,n)}}function F(t,e,n,i){var s=n.context;if(s){var o=n.context.$i18n||{};e.modifiers.preserve||o.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else r("Vue instance does not exists in VNode context")}function H(t,e){var n=e.context;return n?!!n.$i18n||(r("VueI18n instance does not exists in Vue instance"),!1):(r("Vue instance does not exists in VNode context"),!1)}function G(t,e){var n=e.context;return t._locale===n.$i18n.locale}function q(t,e,n){var i,s,o=e.value,a=z(o),c=a.path,l=a.locale,u=a.args,h=a.choice;if(c||l||u)if(c){var d=n.context;t._vt=t.textContent=null!=h?(i=d.$i18n).tc.apply(i,[c,h].concat(B(l,u))):(s=d.$i18n).t.apply(s,[c].concat(B(l,u))),t._locale=d.$i18n.locale,t._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}else r("`path` is required in v-t directive");else r("value type not supported")}function z(t){var e,n,i,r;return l(t)?e=t:d(t)&&(e=t.path,n=t.locale,i=t.args,r=t.choice),{path:e,locale:n,args:i,choice:r}}function B(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||d(e))&&n.push(e),n}function $(t,e){void 0===e&&(e={bridge:!1}),$.installed=!0,N=t;N.version&&Number(N.version.split(".")[0]);T(N),N.mixin(S(e.bridge)),N.directive("t",{bind:P,update:j,unbind:F}),N.component(O.name,O),N.component(A.name,A);var n=N.config.optionMergeStrategies;n.i18n=function(t,e){return void 0===e?t:e}}var W=function(){this._caches=Object.create(null)};W.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=X(t),this._caches[t]=n),K(n,e)};var U=/^(?:\d)+/,V=/^(?:\w)+/;function X(t){var e=[],n=0,i="";while(n0)h--,u=st,d[Z]();else{if(h=0,void 0===n)return!1;if(n=_t(n),!1===n)return!1;d[J]()}};while(null!==u)if(l++,e=t[l],"\\"!==e||!f()){if(r=pt(e),a=ut[u],s=a[r]||a["else"]||lt,s===lt)return;if(u=s[0],o=d[s[1]],o&&(i=s[2],i=void 0===i?e:i,!1===o()))return;if(u===ct)return c}}var gt=function(){this._cache=Object.create(null)};gt.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=mt(t),e&&(this._cache[t]=e)),e||[]},gt.prototype.getPathValue=function(t,e){if(!a(t))return null;var n=this.parsePath(e);if(0===n.length)return null;var i=n.length,r=t,s=0;while(s/,bt=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,Mt=/^@(?:\.([a-zA-Z]+))?:/,wt=/[()]/g,xt={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Lt=new W,Et=function(t){var e=this;void 0===t&&(t={}),!N&&"undefined"!==typeof window&&window.Vue&&$(window.Vue);var n=t.locale||"en-US",i=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),r=t.messages||{},s=t.dateTimeFormats||t.datetimeFormats||{},o=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Lt,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new gt,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,n){var i=Object.getPrototypeOf(e);if(i&&i.getChoiceIndex){var r=i.getChoiceIndex;return r.call(e,t,n)}var s=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):s(t,n)},this._exist=function(t,n){return!(!t||!n)&&(!f(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach(function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])}),this._initVM({locale:n,fallbackLocale:i,messages:r,dateTimeFormats:s,numberFormats:o})},Tt={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};Et.prototype._checkLocaleMessage=function(t,e,n){var i=[],a=function(t,e,n,i){if(d(n))Object.keys(n).forEach(function(r){var s=n[r];d(s)?(i.push(r),i.push("."),a(t,e,s,i),i.pop(),i.pop()):(i.push(r),a(t,e,s,i),i.pop())});else if(o(n))n.forEach(function(n,r){d(n)?(i.push("["+r+"]"),i.push("."),a(t,e,n,i),i.pop(),i.pop()):(i.push("["+r+"]"),a(t,e,n,i),i.pop())});else if(l(n)){var c=vt.test(n);if(c){var u="Detected HTML in message '"+n+"' of keypath '"+i.join("")+"' at '"+e+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?r(u):"error"===t&&s(u)}}};a(e,t,n,i)},Et.prototype._initVM=function(t){var e=N.config.silent;N.config.silent=!0,this._vm=new N({data:t,__VUE18N__INSTANCE__:!0}),N.config.silent=e},Et.prototype.destroyVM=function(){this._vm.$destroy()},Et.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},Et.prototype.unsubscribeDataChanging=function(t){g(this._dataListeners,t)},Et.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",function(){var e=y(t._dataListeners),n=e.length;while(n--)N.nextTick(function(){e[n]&&e[n].$forceUpdate()})},{deep:!0})},Et.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,n=this._vm;return this.vm.$watch("locale",function(i){n.$set(n,"locale",i),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=i),n.$forceUpdate()},{immediate:!0})}if(!this._sync||!this._root)return null;var i=this._vm;return this._root.$i18n.vm.$watch("locale",function(t){i.$set(i,"locale",t),i.$forceUpdate()},{immediate:!0})},Et.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Tt.vm.get=function(){return this._vm},Tt.messages.get=function(){return m(this._getMessages())},Tt.dateTimeFormats.get=function(){return m(this._getDateTimeFormats())},Tt.numberFormats.get=function(){return m(this._getNumberFormats())},Tt.availableLocales.get=function(){return Object.keys(this.messages).sort()},Tt.locale.get=function(){return this._vm.locale},Tt.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Tt.fallbackLocale.get=function(){return this._vm.fallbackLocale},Tt.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Tt.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Tt.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Tt.missing.get=function(){return this._missing},Tt.missing.set=function(t){this._missing=t},Tt.formatter.get=function(){return this._formatter},Tt.formatter.set=function(t){this._formatter=t},Tt.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Tt.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Tt.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Tt.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Tt.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Tt.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Tt.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Tt.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var i=this._getMessages();Object.keys(i).forEach(function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])})}},Tt.postTranslation.get=function(){return this._postTranslation},Tt.postTranslation.set=function(t){this._postTranslation=t},Tt.sync.get=function(){return this._sync},Tt.sync.set=function(t){this._sync=t},Et.prototype._getMessages=function(){return this._vm.messages},Et.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Et.prototype._getNumberFormats=function(){return this._vm.numberFormats},Et.prototype._warnDefault=function(t,e,n,i,r,s){if(!f(n))return n;if(this._missing){var o=this._missing.apply(null,[t,e,i,r]);if(l(o))return o}else 0;if(this._formatFallbackMessages){var a=_.apply(void 0,r);return this._render(e,s,a.params,e)}return e},Et.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:f(t))&&!f(this._root)&&this._fallbackRoot},Et.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Et.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Et.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Et.prototype._interpolate=function(t,e,n,i,r,s,a){if(!e)return null;var c,u=this._path.getPathValue(e,n);if(o(u)||d(u))return u;if(f(u)){if(!d(e))return null;if(c=e[n],!l(c)&&!p(c))return null}else{if(!l(u)&&!p(u))return null;c=u}return l(c)&&(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(t,e,c,i,"raw",s,a)),this._render(c,r,s,n)},Et.prototype._link=function(t,e,n,i,r,s,a){var c=n,l=c.match(bt);for(var u in l)if(l.hasOwnProperty(u)){var h=l[u],d=h.match(Mt),f=d[0],p=d[1],_=h.replace(f,"").replace(wt,"");if(v(a,_))return c;a.push(_);var m=this._interpolate(t,e,_,i,"raw"===r?"string":r,"raw"===r?void 0:s,a);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;m=g._translate(g._getMessages(),g.locale,g.fallbackLocale,_,i,r,s)}m=this._warnDefault(t,_,m,i,o(s)?s:[s],r),this._modifiers.hasOwnProperty(p)?m=this._modifiers[p](m):xt.hasOwnProperty(p)&&(m=xt[p](m)),a.pop(),c=m?c.replace(h,m):c}return c},Et.prototype._createMessageContext=function(t,e,n,i){var r=this,s=o(t)?t:[],c=a(t)?t:{},l=function(t){return s[t]},u=function(t){return c[t]},h=this._getMessages(),d=this.locale;return{list:l,named:u,values:t,formatter:e,path:n,messages:h,locale:d,linked:function(t){return r._interpolate(d,h[d]||{},t,null,i,void 0,[t])}}},Et.prototype._render=function(t,e,n,i){if(p(t))return t(this._createMessageContext(n,this._formatter||Lt,i,e));var r=this._formatter.interpolate(t,n,i);return r||(r=Lt.interpolate(t,n,i)),"string"!==e||l(r)?r:r.join("")},Et.prototype._appendItemToChain=function(t,e,n){var i=!1;return v(t,e)||(i=!0,e&&(i="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(i=n[e]))),i},Et.prototype._appendLocaleToChain=function(t,e,n){var i,r=e.split("-");do{var s=r.join("-");i=this._appendItemToChain(t,s,n),r.splice(-1,1)}while(r.length&&!0===i);return i},Et.prototype._appendBlockToChain=function(t,e,n){for(var i=!0,r=0;r0)s[o]=arguments[o+4];if(!t)return"";var a=_.apply(void 0,s);this._escapeParameterHtml&&(a.params=E(a.params));var c=a.locale||e,l=this._translate(n,c,this.fallbackLocale,t,i,"string",a.params);if(this._isFallbackRoot(l)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[t].concat(s))}return l=this._warnDefault(c,t,l,i,s,"string"),this._postTranslation&&null!==l&&void 0!==l&&(l=this._postTranslation(l,t)),l},Et.prototype.t=function(t){var e,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Et.prototype._i=function(t,e,n,i,r){var s=this._translate(n,e,this.fallbackLocale,t,i,"raw",r);if(this._isFallbackRoot(s)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,r)}return this._warnDefault(e,t,s,i,[r],"raw")},Et.prototype.i=function(t,e,n){return t?(l(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Et.prototype._tc=function(t,e,n,i,r){var s,o=[],a=arguments.length-5;while(a-- >0)o[a]=arguments[a+5];if(!t)return"";void 0===r&&(r=1);var c={count:r,n:r},l=_.apply(void 0,o);return l.params=Object.assign(c,l.params),o=null===l.locale?[l.params]:[l.locale,l.params],this.fetchChoice((s=this)._t.apply(s,[t,e,n,i].concat(o)),r)},Et.prototype.fetchChoice=function(t,e){if(!t||!l(t))return null;var n=t.split("|");return e=this.getChoiceIndex(e,n.length),n[e]?n[e].trim():t},Et.prototype.tc=function(t,e){var n,i=[],r=arguments.length-2;while(r-- >0)i[r]=arguments[r+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(i))},Et.prototype._te=function(t,e,n){var i=[],r=arguments.length-3;while(r-- >0)i[r]=arguments[r+3];var s=_.apply(void 0,i).locale||e;return this._exist(n[s],t)},Et.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Et.prototype.getLocaleMessage=function(t){return m(this._vm.messages[t]||{})},Et.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Et.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,w("undefined"!==typeof this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},Et.prototype.getDateTimeFormat=function(t){return m(this._vm.dateTimeFormats[t]||{})},Et.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},Et.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,w(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},Et.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}},Et.prototype._localizeDateTime=function(t,e,n,i,r){for(var s=e,o=i[s],a=this._getLocaleChain(e,n),c=0;c0)e[n]=arguments[n+1];var i=this.locale,r=null;return 1===e.length?l(e[0])?r=e[0]:a(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(r=e[0].key)):2===e.length&&(l(e[0])&&(r=e[0]),l(e[1])&&(i=e[1])),this._d(t,i,r)},Et.prototype.getNumberFormat=function(t){return m(this._vm.numberFormats[t]||{})},Et.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Et.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,w(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Et.prototype._clearNumberFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},Et.prototype._getNumberFormatter=function(t,e,n,i,r,s){for(var o=e,a=i[o],c=this._getLocaleChain(e,n),l=0;l0)e[n]=arguments[n+1];var r=this.locale,s=null,o=null;return 1===e.length?l(e[0])?s=e[0]:a(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(s=e[0].key),o=Object.keys(e[0]).reduce(function(t,n){var r;return v(i,n)?Object.assign({},t,(r={},r[n]=e[0][n],r)):t},null)):2===e.length&&(l(e[0])&&(s=e[0]),l(e[1])&&(r=e[1])),this._n(t,r,s,o)},Et.prototype._ntp=function(t,e,n,i){if(!Et.availabilities.numberFormat)return[];if(!n){var r=i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e);return r.formatToParts(t)}var s=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),o=s&&s.formatToParts(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,i)}return o||[]},Object.defineProperties(Et.prototype,Tt),Object.defineProperty(Et,"availabilities",{get:function(){if(!yt){var t="undefined"!==typeof Intl;yt={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return yt}}),Et.install=$,Et.version="8.27.2",e["a"]=Et},a963:function(t,e,n){},a9b5:function(t,e,n){},aa77:function(t,e,n){var i=n("5ca1"),r=n("be13"),s=n("79e5"),o=n("fdef"),a="["+o+"]",c="​…",l=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),h=function(t,e,n){var r={},a=s(function(){return!!o[t]()||c[t]()!=c}),l=r[t]=a?e(d):o[t];n&&(r[n]=l),i(i.P+i.F*a,"String",r)},d=h.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(u,"")),t};t.exports=h},aab2:function(t,e,n){},aae3:function(t,e,n){var i=n("d3f4"),r=n("2d95"),s=n("2b4c")("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[s])?!!e:"RegExp"==r(t))}},aaf2:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration function e(t,e,n,i){var r={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[t+" सॅकंडांनी",t+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[t+" मिणटांनी",t+" मिणटां"],h:["एका वरान","एक वर"],hh:[t+" वरांनी",t+" वरां"],d:["एका दिसान","एक दीस"],dd:[t+" दिसांनी",t+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[t+" म्हयन्यानी",t+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[t+" वर्सांनी",t+" वर्सां"]};return i?r[n][0]:r[n][1]}var n=t.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(t,e){switch(e){case"D":return t+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(t,e){return 12===t&&(t=0),"राती"===e?t<4?t:t+12:"सकाळीं"===e?t:"दनपारां"===e?t>12?t:t+12:"सांजे"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"राती":t<12?"सकाळीं":t<16?"दनपारां":t<20?"सांजे":"राती"}});return n})},ab35:function(t,e,n){"use strict";var i=n("1300"),r=function(t){this.opacity_=t.opacity,this.rotateWithView_=t.rotateWithView,this.rotation_=t.rotation,this.scale_=t.scale};r.prototype.clone=function(){return new r({opacity:this.getOpacity(),scale:this.getScale(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView()})},r.prototype.getOpacity=function(){return this.opacity_},r.prototype.getRotateWithView=function(){return this.rotateWithView_},r.prototype.getRotation=function(){return this.rotation_},r.prototype.getScale=function(){return this.scale_},r.prototype.getSnapToPixel=function(){return!1},r.prototype.getAnchor=function(){return Object(i["b"])()},r.prototype.getImage=function(t){return Object(i["b"])()},r.prototype.getHitDetectionImage=function(t){return Object(i["b"])()},r.prototype.getImageState=function(){return Object(i["b"])()},r.prototype.getImageSize=function(){return Object(i["b"])()},r.prototype.getHitDetectionImageSize=function(){return Object(i["b"])()},r.prototype.getOrigin=function(){return Object(i["b"])()},r.prototype.getSize=function(){return Object(i["b"])()},r.prototype.setOpacity=function(t){this.opacity_=t},r.prototype.setRotateWithView=function(t){this.rotateWithView_=t},r.prototype.setRotation=function(t){this.rotation_=t},r.prototype.setScale=function(t){this.scale_=t},r.prototype.setSnapToPixel=function(t){},r.prototype.listenImageChange=function(t,e){return Object(i["b"])()},r.prototype.load=function(){Object(i["b"])()},r.prototype.unlistenImageChange=function(t,e){Object(i["b"])()},e["a"]=r},ab98:function(t,e,n){},aba2:function(t,e,n){var i=n("e53d"),r=n("4178").set,s=i.MutationObserver||i.WebKitMutationObserver,o=i.process,a=i.Promise,c="process"==n("6b4c")(o);t.exports=function(){var t,e,n,l=function(){var i,r;c&&(i=o.domain)&&i.exit();while(t){r=t.fn,t=t.next;try{r()}catch(i){throw t?n():e=void 0,i}}e=void 0,i&&i.enter()};if(c)n=function(){o.nextTick(l)};else if(!s||i.navigator&&i.navigator.standalone)if(a&&a.resolve){var u=a.resolve(void 0);n=function(){u.then(l)}}else n=function(){r.call(i,l)};else{var h=!0,d=document.createTextNode("");new s(l).observe(d,{characterData:!0}),n=function(){d.data=h=!h}}return function(i){var r={fn:i,next:void 0};e&&(e.next=r),t||(t=r,n()),e=r}}},abb7:function(t,e,n){"use strict";function i(t,e,n,i){for(var r=0,s=n.length;r=n)break;const i=t.charAt(e);if(e++,o["a"].isDigit(i)){const t=i-"0";r.selfMultiply(u.TEN),r.selfAdd(t),a++}else{if("."!==i){if("e"===i||"E"===i){const n=t.substring(e);try{l=s["a"].parseInt(n)}catch(e){throw e instanceof NumberFormatException?new NumberFormatException("Invalid exponent "+n+" in string "+t):e}break}throw new NumberFormatException("Unexpected character '"+i+"' at position "+e+" in string "+t)}c=a,h=!0}}let d=r;h||(c=a);const f=a-c-l;if(0===f)d=r;else if(f>0){const t=u.TEN.pow(f);d=r.divide(t)}else if(f<0){const t=u.TEN.pow(-f);d=r.multiply(t)}return i?d.negate():d}static createNaN(){return new u(r["a"].NaN,r["a"].NaN)}static copy(t){return new u(t)}static magnitude(t){const e=Math.abs(t),n=Math.log(e)/Math.log(10);let i=Math.trunc(Math.floor(n));const r=Math.pow(10,i);return 10*r<=e&&(i+=1),i}static stringOfChar(t,e){const n=new i["a"];for(let i=0;i9?(r=!0,s="9"):s="0"+e,a.append(s),n=n.subtract(u.valueOf(e)).multiply(u.TEN),r&&n.selfAdd(u.TEN);let l=!0;const h=u.magnitude(n._hi);if(h<0&&Math.abs(h)>=c-i&&(l=!1),!l)break}return e[0]=r,a.toString()}sqr(){return this.multiply(this)}doubleValue(){return this._hi+this._lo}subtract(){if(arguments[0]instanceof u){const t=arguments[0];return this.add(t.negate())}if("number"===typeof arguments[0]){const t=arguments[0];return this.add(-t)}}equals(){if(1===arguments.length&&arguments[0]instanceof u){const t=arguments[0];return this._hi===t._hi&&this._lo===t._lo}}isZero(){return 0===this._hi&&0===this._lo}selfSubtract(){if(arguments[0]instanceof u){const t=arguments[0];return this.isNaN()?this:this.selfAdd(-t._hi,-t._lo)}if("number"===typeof arguments[0]){const t=arguments[0];return this.isNaN()?this:this.selfAdd(-t,0)}}getSpecialNumberString(){return this.isZero()?"0.0":this.isNaN()?"NaN ":null}min(t){return this.le(t)?this:t}selfDivide(){if(1===arguments.length){if(arguments[0]instanceof u){const t=arguments[0];return this.selfDivide(t._hi,t._lo)}if("number"===typeof arguments[0]){const t=arguments[0];return this.selfDivide(t,0)}}else if(2===arguments.length){const t=arguments[0],e=arguments[1];let n=null,i=null,r=null,s=null,o=null,a=null,c=null,l=null;return o=this._hi/t,a=u.SPLIT*o,n=a-o,l=u.SPLIT*t,n=a-n,i=o-n,r=l-t,c=o*t,r=l-r,s=t-r,l=n*r-c+n*s+i*r+i*s,a=(this._hi-c-l+this._lo-o*e)/t,l=o+a,this._hi=l,this._lo=o-l+a,this}}dump(){return"DD<"+this._hi+", "+this._lo+">"}divide(){if(arguments[0]instanceof u){const t=arguments[0];let e=null,n=null,i=null,r=null,s=null,o=null,a=null,c=null;s=this._hi/t._hi,o=u.SPLIT*s,e=o-s,c=u.SPLIT*t._hi,e=o-e,n=s-e,i=c-t._hi,a=s*t._hi,i=c-i,r=t._hi-i,c=e*i-a+e*r+n*i+n*r,o=(this._hi-a-c+this._lo-s*t._lo)/t._hi,c=s+o;const l=c,h=s-c+o;return new u(l,h)}if("number"===typeof arguments[0]){const t=arguments[0];return r["a"].isNaN(t)?u.createNaN():u.copy(this).selfDivide(t,0)}}ge(t){return this._hi>t._hi||this._hi===t._hi&&this._lo>=t._lo}pow(t){if(0===t)return u.valueOf(1);let e=new u(this),n=u.valueOf(1),i=Math.abs(t);if(i>1)while(i>0)i%2===1&&n.selfMultiply(e),i/=2,i>0&&(e=e.sqr());else n=e;return t<0?n.reciprocal():n}ceil(){if(this.isNaN())return u.NaN;const t=Math.ceil(this._hi);let e=0;return t===this._hi&&(e=Math.ceil(this._lo)),new u(t,e)}compareTo(t){const e=t;return this._hie._hi?1:this._loe._lo?1:0}rint(){if(this.isNaN())return this;const t=this.add(.5);return t.floor()}setValue(){if(arguments[0]instanceof u){const t=arguments[0];return this.init(t),this}if("number"===typeof arguments[0]){const t=arguments[0];return this.init(t),this}}max(t){return this.ge(t)?this:t}sqrt(){if(this.isZero())return u.valueOf(0);if(this.isNegative())return u.NaN;const t=1/Math.sqrt(this._hi),e=this._hi*t,n=u.valueOf(e),i=this.subtract(n.sqr()),r=i._hi*(.5*t);return n.add(r)}selfAdd(){if(1===arguments.length){if(arguments[0]instanceof u){const t=arguments[0];return this.selfAdd(t._hi,t._lo)}if("number"===typeof arguments[0]){const t=arguments[0];let e=null,n=null,i=null,r=null,s=null,o=null;return i=this._hi+t,s=i-this._hi,r=i-s,r=t-s+(this._hi-r),o=r+this._lo,e=i+o,n=o+(i-e),this._hi=e+n,this._lo=n+(e-this._hi),this}}else if(2===arguments.length){const t=arguments[0],e=arguments[1];let n=null,i=null,r=null,s=null,o=null,a=null,c=null,l=null;o=this._hi+t,r=this._lo+e,c=o-this._hi,l=r-this._lo,a=o-c,s=r-l,a=t-c+(this._hi-a),s=e-l+(this._lo-s),c=a+r,n=o+c,i=c+(o-n),c=s+i;const u=n+c,h=c+(n-u);return this._hi=u,this._lo=h,this}}selfMultiply(){if(1===arguments.length){if(arguments[0]instanceof u){const t=arguments[0];return this.selfMultiply(t._hi,t._lo)}if("number"===typeof arguments[0]){const t=arguments[0];return this.selfMultiply(t,0)}}else if(2===arguments.length){const t=arguments[0],e=arguments[1];let n=null,i=null,r=null,s=null,o=null,a=null;o=u.SPLIT*this._hi,n=o-this._hi,a=u.SPLIT*t,n=o-n,i=this._hi-n,r=a-t,o=this._hi*t,r=a-r,s=t-r,a=n*r-o+n*s+i*r+i*s+(this._hi*e+this._lo*t);const c=o+a;n=o-c;const l=a+n;return this._hi=c,this._lo=l,this}}selfSqr(){return this.selfMultiply(this)}floor(){if(this.isNaN())return u.NaN;const t=Math.floor(this._hi);let e=0;return t===this._hi&&(e=Math.floor(this._lo)),new u(t,e)}negate(){return this.isNaN()?this:new u(-this._hi,-this._lo)}clone(){try{return null}catch(t){if(t instanceof CloneNotSupportedException)return null;throw t}}multiply(){if(arguments[0]instanceof u){const t=arguments[0];return t.isNaN()?u.createNaN():u.copy(this).selfMultiply(t)}if("number"===typeof arguments[0]){const t=arguments[0];return r["a"].isNaN(t)?u.createNaN():u.copy(this).selfMultiply(t,0)}}isNaN(){return r["a"].isNaN(this._hi)}intValue(){return Math.trunc(this._hi)}toString(){const t=u.magnitude(this._hi);return t>=-3&&t<=20?this.toStandardNotation():this.toSciNotation()}toStandardNotation(){const t=this.getSpecialNumberString();if(null!==t)return t;const e=new Array(1).fill(null),n=this.extractSignificantDigits(!0,e),i=e[0]+1;let r=n;if("."===n.charAt(0))r="0"+n;else if(i<0)r="0."+u.stringOfChar("0",-i)+n;else if(-1===n.indexOf(".")){const t=i-n.length,e=u.stringOfChar("0",t);r=n+e+".0"}return this.isNegative()?"-"+r:r}reciprocal(){let t=null,e=null,n=null,i=null,r=null,s=null,o=null,a=null;r=1/this._hi,s=u.SPLIT*r,t=s-r,a=u.SPLIT*this._hi,t=s-t,e=r-t,n=a-this._hi,o=r*this._hi,n=a-n,i=this._hi-n,a=t*n-o+t*i+e*n+e*i,s=(1-o-a-r*this._lo)/this._hi;const c=r+s,l=r-c+s;return new u(c,l)}toSciNotation(){if(this.isZero())return u.SCI_NOT_ZERO;const t=this.getSpecialNumberString();if(null!==t)return t;const e=new Array(1).fill(null),n=this.extractSignificantDigits(!1,e),i=u.SCI_NOT_EXPONENT_CHAR+e[0];if("0"===n.charAt(0))throw new IllegalStateException("Found leading zero: "+n);let r="";n.length>1&&(r=n.substring(1));const s=n.charAt(0)+"."+r;return this.isNegative()?"-"+s+i:s+i}abs(){return this.isNaN()?u.NaN:this.isNegative()?this.negate():new u(this)}isPositive(){return this._hi>0||0===this._hi&&this._lo>0}lt(t){return this._hit._hi||this._hi===t._hi&&this._lo>t._lo}isNegative(){return this._hi<0||0===this._hi&&this._lo<0}trunc(){return this.isNaN()?u.NaN:this.isPositive()?this.floor():this.ceil()}signum(){return this._hi>0?1:this._hi<0?-1:this._lo>0?1:this._lo<0?-1:0}get interfaces_(){return[l["a"],a["a"],c["a"]]}}u.PI=new u(3.141592653589793,1.2246467991473532e-16),u.TWO_PI=new u(6.283185307179586,2.4492935982947064e-16),u.PI_2=new u(1.5707963267948966,6.123233995736766e-17),u.E=new u(2.718281828459045,1.4456468917292502e-16),u.NaN=new u(r["a"].NaN,r["a"].NaN),u.EPS=1.23259516440783e-32,u.SPLIT=134217729,u.MAX_PRINT_DIGITS=32,u.TEN=u.valueOf(10),u.ONE=u.valueOf(1),u.SCI_NOT_EXPONENT_CHAR="E",u.SCI_NOT_ZERO="0.0E0"},ac6a:function(t,e,n){for(var i=n("cadf"),r=n("0d58"),s=n("2aba"),o=n("7726"),a=n("32e9"),c=n("84f2"),l=n("2b4c"),u=l("iterator"),h=l("toStringTag"),d=c.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(f),_=0;_e.x?1:this.ye.y?1:0}getX(){return this.x}setZ(t){this.z=t}clone(){try{const t=null;return t}catch(t){if(t instanceof CloneNotSupportedException)return u["a"].shouldNeverReachHere("this shouldn't happen because this class is Cloneable"),null;throw t}}copy(){return new p(this)}toString(){return"("+this.x+", "+this.y+", "+this.getZ()+")"}distance3D(t){const e=this.x-t.x,n=this.y-t.y,i=this.getZ()-t.getZ();return Math.sqrt(e*e+n*n+i*i)}getY(){return this.y}setY(t){this.y=t}distance(t){const e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)}hashCode(){let t=17;return t=37*t+p.hashCode(this.x),t=37*t+p.hashCode(this.y),t}setCoordinate(t){this.x=t.x,this.y=t.y,this.z=t.getZ()}get interfaces_(){return[o["a"],a["a"],l["a"]]}}class _{constructor(){_.constructor_.apply(this,arguments)}static constructor_(){if(this._dimensionsToTest=2,0===arguments.length)_.constructor_.call(this,2);else if(1===arguments.length){const t=arguments[0];if(2!==t&&3!==t)throw new r["a"]("only 2 or 3 dimensions may be specified");this._dimensionsToTest=t}}static compare(t,e){return te?1:s["a"].isNaN(t)?s["a"].isNaN(e)?0:-1:s["a"].isNaN(e)?1:0}compare(t,e){const n=_.compare(t.x,e.x);if(0!==n)return n;const i=_.compare(t.y,e.y);if(0!==i)return i;if(this._dimensionsToTest<=2)return 0;const r=_.compare(t.getZ(),e.getZ());return r}get interfaces_(){return[c["a"]]}}p.DimensionalComparator=_,p.NULL_ORDINATE=s["a"].NaN,p.X=0,p.Y=1,p.Z=2,p.M=3},ada0:function(t,e,n){"use strict";var i=n("3fb5"),r=n("97a2");function s(){r.call(this)}i(s,r),s.prototype.removeAllListeners=function(t){t?delete this._listeners[t]:this._listeners={}},s.prototype.once=function(t,e){var n=this,i=!1;function r(){n.removeListener(t,r),i||(i=!0,e.apply(this,arguments))}this.on(t,r)},s.prototype.emit=function(){var t=arguments[0],e=this._listeners[t];if(e){for(var n=arguments.length,i=new Array(n-1),r=1;r * @license MIT */ -var i=n("1fb5"),r=n("9152"),s=n("e3db");function o(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(t,e){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function v(t){return+t!=t&&(t=0),l.alloc(+t)}function b(t,e){if(l.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(t).length;default:if(i)return K(t).length;e=(""+e).toLowerCase(),i=!0}}function M(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return P(this,e,n);case"utf8":case"utf-8":return D(this,e,n);case"ascii":return A(this,e,n);case"latin1":case"binary":return N(this,e,n);case"base64":return I(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function w(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function x(t,e,n,i,r){if(0===t.length)return-1;if("string"===typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"===typeof e&&(e=l.from(e,i)),l.isBuffer(e))return 0===e.length?-1:L(t,e,n,i,r);if("number"===typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):L(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function L(t,e,n,i,r){var s,o=1,a=t.length,c=e.length;if(void 0!==i&&(i=String(i).toLowerCase(),"ucs2"===i||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,n/=2}function l(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(r){var u=-1;for(s=n;sa&&(n=a-c),s=n;s>=0;s--){for(var h=!0,d=0;dr&&(i=r)):i=r;var s=e.length;if(s%2!==0)throw new TypeError("Invalid hex string");i>s/2&&(i=s/2);for(var o=0;o239?4:l>223?3:l>191?2:1;if(r+h<=n)switch(h){case 1:l<128&&(u=l);break;case 2:s=t[r+1],128===(192&s)&&(c=(31&l)<<6|63&s,c>127&&(u=c));break;case 3:s=t[r+1],o=t[r+2],128===(192&s)&&128===(192&o)&&(c=(15&l)<<12|(63&s)<<6|63&o,c>2047&&(c<55296||c>57343)&&(u=c));break;case 4:s=t[r+1],o=t[r+2],a=t[r+3],128===(192&s)&&128===(192&o)&&128===(192&a)&&(c=(15&l)<<18|(63&s)<<12|(63&o)<<6|63&a,c>65535&&c<1114112&&(u=c))}null===u?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=h}return R(i)}e.Buffer=l,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:o(),e.kMaxLength=a(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,n){return u(null,t,e,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,n){return d(null,t,e,n)},l.allocUnsafe=function(t){return f(null,t)},l.allocUnsafeSlow=function(t){return f(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,s=Math.min(n,i);r0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},l.prototype.compare=function(t,e,n,i,r){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,r>>>=0,this===t)return 0;for(var s=r-i,o=n-e,a=Math.min(s,o),c=this.slice(i,r),u=t.slice(e,n),h=0;hr)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return E(this,t,e,n);case"utf8":case"utf-8":return T(this,t,e,n);case"ascii":return S(this,t,e,n);case"latin1":case"binary":return O(this,t,e,n);case"base64":return k(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,e,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Y=4096;function R(t){var e=t.length;if(e<=Y)return String.fromCharCode.apply(String,t);var n="",i=0;while(ii)&&(n=i);for(var r="",s=e;sn)throw new RangeError("Trying to access beyond buffer length")}function H(t,e,n,i,r,s){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function G(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,s=Math.min(t.length-n,2);r>>8*(i?r:1-r)}function q(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,s=Math.min(t.length-n,4);r>>8*(i?r:3-r)&255}function z(t,e,n,i,r,s){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function B(t,e,n,i,s){return s||z(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),r.write(t,e,n,i,23,4),n+4}function $(t,e,n,i,s){return s||z(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),r.write(t,e,n,i,52,8),n+8}l.prototype.slice=function(t,e){var n,i=this.length;if(t=~~t,e=void 0===e?i:~~e,t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e0&&(r*=256))i+=this[t+--e]*r;return i},l.prototype.readUInt8=function(t,e){return e||F(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||F(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||F(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||F(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||F(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var i=this[t],r=1,s=0;while(++s=r&&(i-=Math.pow(2,8*e)),i},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var i=e,r=1,s=this[t+--i];while(i>0&&(r*=256))s+=this[t+--i]*r;return r*=128,s>=r&&(s-=Math.pow(2,8*e)),s},l.prototype.readInt8=function(t,e){return e||F(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||F(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){e||F(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return e||F(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||F(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||F(t,4,this.length),r.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||F(t,4,this.length),r.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||F(t,8,this.length),r.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||F(t,8,this.length),r.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,i){if(t=+t,e|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;H(this,t,e,n,r,0)}var s=1,o=0;this[e]=255&t;while(++o=0&&(o*=256))this[e+s]=t/o&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):G(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):G(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):q(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):q(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);H(this,t,e,n,r-1,-r)}var s=0,o=1,a=0;this[e]=255&t;while(++s>0)-a&255;return e+n},l.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);H(this,t,e,n,r-1,-r)}var s=n-1,o=1,a=0;this[e+s]=255&t;while(--s>=0&&(o*=256))t<0&&0===a&&0!==this[e+s+1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):G(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):G(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):q(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):q(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return B(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return B(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return $(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return $(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e=0;--r)t[r+e]=this[r+n];else if(s<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(s=e;s55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&s.push(239,191,189);continue}if(o+1===i){(e-=3)>-1&&s.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&s.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&s.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;s.push(n)}else if(n<2048){if((e-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return s}function Z(t){for(var e=[],n=0;n>8,r=n%256,s.push(r),s.push(i)}return s}function Q(t){return i.toByteArray(U(t))}function tt(t,e,n,i){for(var r=0;r=e.length||r>=t.length)break;e[r+n]=t[r]}return r}function et(t){return t!==t}}).call(this,n("c8ba"))},b70a:function(t,e,n){"use strict";n("c5f6");var i={props:{color:String,size:{type:[Number,String],default:"1em"}},computed:{classes:function(){if(this.color)return"text-".concat(this.color)}}},r={name:"QSpinnerMat",mixins:[i],render:function(t){return t("svg",{staticClass:"q-spinner q-spinner-mat",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"25 25 50 50"}},[t("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-miterlimit":"10"}})])}};e["a"]={mixins:[r],name:"QSpinner"}},b739:function(t,e,n){"use strict";var i=n("0af5"),r=n("7fc9"),s=n("256f"),o=10,a=.25,c=function(t,e,n,r,a){this.sourceProj_=t,this.targetProj_=e;var c={},l=Object(s["i"])(this.targetProj_,this.sourceProj_);this.transformInv_=function(t){var e=t[0]+"/"+t[1];return c[e]||(c[e]=l(t)),c[e]},this.maxSourceExtent_=r,this.errorThresholdSquared_=a*a,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!r&&!!this.sourceProj_.getExtent()&&Object(i["E"])(r)==Object(i["E"])(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Object(i["E"])(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Object(i["E"])(this.targetProj_.getExtent()):null;var u=Object(i["C"])(n),h=Object(i["D"])(n),d=Object(i["w"])(n),f=Object(i["v"])(n),p=this.transformInv_(u),_=this.transformInv_(h),m=this.transformInv_(d),g=this.transformInv_(f);if(this.addQuad_(u,h,d,f,p,_,m,g,o),this.wrapsXInSource_){var y=1/0;this.triangles_.forEach(function(t,e,n){y=Math.min(y,t.source[0][0],t.source[1][0],t.source[2][0])}),this.triangles_.forEach(function(t){if(Math.max(t.source[0][0],t.source[1][0],t.source[2][0])-y>this.sourceWorldWidth_/2){var e=[[t.source[0][0],t.source[0][1]],[t.source[1][0],t.source[1][1]],[t.source[2][0],t.source[2][1]]];e[0][0]-y>this.sourceWorldWidth_/2&&(e[0][0]-=this.sourceWorldWidth_),e[1][0]-y>this.sourceWorldWidth_/2&&(e[1][0]-=this.sourceWorldWidth_),e[2][0]-y>this.sourceWorldWidth_/2&&(e[2][0]-=this.sourceWorldWidth_);var n=Math.min(e[0][0],e[1][0],e[2][0]),i=Math.max(e[0][0],e[1][0],e[2][0]);i-n.5&&f<1,m=!1;if(h>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){var g=Object(i["b"])([t,e,n,s]),y=Object(i["E"])(g)/this.targetWorldWidth_;m=y>a||m}!_&&this.sourceProj_.isGlobal()&&f&&(m=f>a||m)}if(m||!this.maxSourceExtent_||Object(i["F"])(d,this.maxSourceExtent_)){if(!m&&(!isFinite(o[0])||!isFinite(o[1])||!isFinite(c[0])||!isFinite(c[1])||!isFinite(l[0])||!isFinite(l[1])||!isFinite(u[0])||!isFinite(u[1]))){if(!(h>0))return;m=!0}if(h>0){if(!m){var v,b=[(t[0]+n[0])/2,(t[1]+n[1])/2],M=this.transformInv_(b);if(_){var w=(Object(r["d"])(o[0],p)+Object(r["d"])(l[0],p))/2;v=w-Object(r["d"])(M[0],p)}else v=(o[0]+l[0])/2-M[0];var x=(o[1]+l[1])/2-M[1],L=v*v+x*x;m=L>this.errorThresholdSquared_}if(m){if(Math.abs(t[0]-n[0])<=Math.abs(t[1]-n[1])){var E=[(e[0]+n[0])/2,(e[1]+n[1])/2],T=this.transformInv_(E),S=[(s[0]+t[0])/2,(s[1]+t[1])/2],O=this.transformInv_(S);this.addQuad_(t,e,E,S,o,c,T,O,h-1),this.addQuad_(S,E,n,s,O,T,l,u,h-1)}else{var k=[(t[0]+e[0])/2,(t[1]+e[1])/2],C=this.transformInv_(k),I=[(n[0]+s[0])/2,(n[1]+s[1])/2],D=this.transformInv_(I);this.addQuad_(t,k,I,s,o,C,D,u,h-1),this.addQuad_(k,e,n,I,C,c,l,D,h-1)}return}}if(_){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}this.addTriangle_(t,n,s,o,l,u),this.addTriangle_(t,e,n,o,c,l)}},c.prototype.calculateSourceExtent=function(){var t=Object(i["j"])();return this.triangles_.forEach(function(e,n,r){var s=e.source;Object(i["r"])(t,s[0]),Object(i["r"])(t,s[1]),Object(i["r"])(t,s[2])}),t},c.prototype.getTriangles=function(){return this.triangles_},e["a"]=c},b7e9:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +var i=n("1fb5"),r=n("9152"),s=n("e3db");function o(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(t,e){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function v(t){return+t!=t&&(t=0),l.alloc(+t)}function b(t,e){if(l.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(t).length;default:if(i)return K(t).length;e=(""+e).toLowerCase(),i=!0}}function M(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return P(this,e,n);case"utf8":case"utf-8":return D(this,e,n);case"ascii":return N(this,e,n);case"latin1":case"binary":return A(this,e,n);case"base64":return I(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function w(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function x(t,e,n,i,r){if(0===t.length)return-1;if("string"===typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"===typeof e&&(e=l.from(e,i)),l.isBuffer(e))return 0===e.length?-1:L(t,e,n,i,r);if("number"===typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):L(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function L(t,e,n,i,r){var s,o=1,a=t.length,c=e.length;if(void 0!==i&&(i=String(i).toLowerCase(),"ucs2"===i||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,n/=2}function l(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(r){var u=-1;for(s=n;sa&&(n=a-c),s=n;s>=0;s--){for(var h=!0,d=0;dr&&(i=r)):i=r;var s=e.length;if(s%2!==0)throw new TypeError("Invalid hex string");i>s/2&&(i=s/2);for(var o=0;o239?4:l>223?3:l>191?2:1;if(r+h<=n)switch(h){case 1:l<128&&(u=l);break;case 2:s=t[r+1],128===(192&s)&&(c=(31&l)<<6|63&s,c>127&&(u=c));break;case 3:s=t[r+1],o=t[r+2],128===(192&s)&&128===(192&o)&&(c=(15&l)<<12|(63&s)<<6|63&o,c>2047&&(c<55296||c>57343)&&(u=c));break;case 4:s=t[r+1],o=t[r+2],a=t[r+3],128===(192&s)&&128===(192&o)&&128===(192&a)&&(c=(15&l)<<18|(63&s)<<12|(63&o)<<6|63&a,c>65535&&c<1114112&&(u=c))}null===u?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=h}return R(i)}e.Buffer=l,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:o(),e.kMaxLength=a(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,n){return u(null,t,e,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,n){return d(null,t,e,n)},l.allocUnsafe=function(t){return f(null,t)},l.allocUnsafeSlow=function(t){return f(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,s=Math.min(n,i);r0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},l.prototype.compare=function(t,e,n,i,r){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,r>>>=0,this===t)return 0;for(var s=r-i,o=n-e,a=Math.min(s,o),c=this.slice(i,r),u=t.slice(e,n),h=0;hr)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return E(this,t,e,n);case"utf8":case"utf-8":return T(this,t,e,n);case"ascii":return S(this,t,e,n);case"latin1":case"binary":return O(this,t,e,n);case"base64":return k(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,e,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Y=4096;function R(t){var e=t.length;if(e<=Y)return String.fromCharCode.apply(String,t);var n="",i=0;while(ii)&&(n=i);for(var r="",s=e;sn)throw new RangeError("Trying to access beyond buffer length")}function H(t,e,n,i,r,s){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function G(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,s=Math.min(t.length-n,2);r>>8*(i?r:1-r)}function q(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,s=Math.min(t.length-n,4);r>>8*(i?r:3-r)&255}function z(t,e,n,i,r,s){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function B(t,e,n,i,s){return s||z(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),r.write(t,e,n,i,23,4),n+4}function $(t,e,n,i,s){return s||z(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),r.write(t,e,n,i,52,8),n+8}l.prototype.slice=function(t,e){var n,i=this.length;if(t=~~t,e=void 0===e?i:~~e,t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e0&&(r*=256))i+=this[t+--e]*r;return i},l.prototype.readUInt8=function(t,e){return e||F(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||F(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||F(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||F(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||F(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var i=this[t],r=1,s=0;while(++s=r&&(i-=Math.pow(2,8*e)),i},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var i=e,r=1,s=this[t+--i];while(i>0&&(r*=256))s+=this[t+--i]*r;return r*=128,s>=r&&(s-=Math.pow(2,8*e)),s},l.prototype.readInt8=function(t,e){return e||F(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||F(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){e||F(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return e||F(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||F(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||F(t,4,this.length),r.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||F(t,4,this.length),r.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||F(t,8,this.length),r.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||F(t,8,this.length),r.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,i){if(t=+t,e|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;H(this,t,e,n,r,0)}var s=1,o=0;this[e]=255&t;while(++o=0&&(o*=256))this[e+s]=t/o&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):G(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):G(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):q(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):q(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);H(this,t,e,n,r-1,-r)}var s=0,o=1,a=0;this[e]=255&t;while(++s>0)-a&255;return e+n},l.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);H(this,t,e,n,r-1,-r)}var s=n-1,o=1,a=0;this[e+s]=255&t;while(--s>=0&&(o*=256))t<0&&0===a&&0!==this[e+s+1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):G(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):G(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):q(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||H(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):q(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return B(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return B(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return $(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return $(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e=0;--r)t[r+e]=this[r+n];else if(s<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(s=e;s55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&s.push(239,191,189);continue}if(o+1===i){(e-=3)>-1&&s.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&s.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&s.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;s.push(n)}else if(n<2048){if((e-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return s}function Z(t){for(var e=[],n=0;n>8,r=n%256,s.push(r),s.push(i)}return s}function Q(t){return i.toByteArray(U(t))}function tt(t,e,n,i){for(var r=0;r=e.length||r>=t.length)break;e[r+n]=t[r]}return r}function et(t){return t!==t}}).call(this,n("c8ba"))},b70a:function(t,e,n){"use strict";n("c5f6");var i={props:{color:String,size:{type:[Number,String],default:"1em"}},computed:{classes:function(){if(this.color)return"text-".concat(this.color)}}},r={name:"QSpinnerMat",mixins:[i],render:function(t){return t("svg",{staticClass:"q-spinner q-spinner-mat",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"25 25 50 50"}},[t("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-miterlimit":"10"}})])}};e["a"]={mixins:[r],name:"QSpinner"}},b739:function(t,e,n){"use strict";var i=n("0af5"),r=n("7fc9"),s=n("256f"),o=10,a=.25,c=function(t,e,n,r,a){this.sourceProj_=t,this.targetProj_=e;var c={},l=Object(s["i"])(this.targetProj_,this.sourceProj_);this.transformInv_=function(t){var e=t[0]+"/"+t[1];return c[e]||(c[e]=l(t)),c[e]},this.maxSourceExtent_=r,this.errorThresholdSquared_=a*a,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!r&&!!this.sourceProj_.getExtent()&&Object(i["E"])(r)==Object(i["E"])(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Object(i["E"])(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Object(i["E"])(this.targetProj_.getExtent()):null;var u=Object(i["C"])(n),h=Object(i["D"])(n),d=Object(i["w"])(n),f=Object(i["v"])(n),p=this.transformInv_(u),_=this.transformInv_(h),m=this.transformInv_(d),g=this.transformInv_(f);if(this.addQuad_(u,h,d,f,p,_,m,g,o),this.wrapsXInSource_){var y=1/0;this.triangles_.forEach(function(t,e,n){y=Math.min(y,t.source[0][0],t.source[1][0],t.source[2][0])}),this.triangles_.forEach(function(t){if(Math.max(t.source[0][0],t.source[1][0],t.source[2][0])-y>this.sourceWorldWidth_/2){var e=[[t.source[0][0],t.source[0][1]],[t.source[1][0],t.source[1][1]],[t.source[2][0],t.source[2][1]]];e[0][0]-y>this.sourceWorldWidth_/2&&(e[0][0]-=this.sourceWorldWidth_),e[1][0]-y>this.sourceWorldWidth_/2&&(e[1][0]-=this.sourceWorldWidth_),e[2][0]-y>this.sourceWorldWidth_/2&&(e[2][0]-=this.sourceWorldWidth_);var n=Math.min(e[0][0],e[1][0],e[2][0]),i=Math.max(e[0][0],e[1][0],e[2][0]);i-n.5&&f<1,m=!1;if(h>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){var g=Object(i["b"])([t,e,n,s]),y=Object(i["E"])(g)/this.targetWorldWidth_;m=y>a||m}!_&&this.sourceProj_.isGlobal()&&f&&(m=f>a||m)}if(m||!this.maxSourceExtent_||Object(i["F"])(d,this.maxSourceExtent_)){if(!m&&(!isFinite(o[0])||!isFinite(o[1])||!isFinite(c[0])||!isFinite(c[1])||!isFinite(l[0])||!isFinite(l[1])||!isFinite(u[0])||!isFinite(u[1]))){if(!(h>0))return;m=!0}if(h>0){if(!m){var v,b=[(t[0]+n[0])/2,(t[1]+n[1])/2],M=this.transformInv_(b);if(_){var w=(Object(r["d"])(o[0],p)+Object(r["d"])(l[0],p))/2;v=w-Object(r["d"])(M[0],p)}else v=(o[0]+l[0])/2-M[0];var x=(o[1]+l[1])/2-M[1],L=v*v+x*x;m=L>this.errorThresholdSquared_}if(m){if(Math.abs(t[0]-n[0])<=Math.abs(t[1]-n[1])){var E=[(e[0]+n[0])/2,(e[1]+n[1])/2],T=this.transformInv_(E),S=[(s[0]+t[0])/2,(s[1]+t[1])/2],O=this.transformInv_(S);this.addQuad_(t,e,E,S,o,c,T,O,h-1),this.addQuad_(S,E,n,s,O,T,l,u,h-1)}else{var k=[(t[0]+e[0])/2,(t[1]+e[1])/2],C=this.transformInv_(k),I=[(n[0]+s[0])/2,(n[1]+s[1])/2],D=this.transformInv_(I);this.addQuad_(t,k,I,s,o,C,D,u,h-1),this.addQuad_(k,e,n,I,C,c,l,D,h-1)}return}}if(_){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}this.addTriangle_(t,n,s,o,l,u),this.addTriangle_(t,e,n,o,c,l)}},c.prototype.calculateSourceExtent=function(){var t=Object(i["j"])();return this.triangles_.forEach(function(e,n,r){var s=e.source;Object(i["r"])(t,s[0]),Object(i["r"])(t,s[1]),Object(i["r"])(t,s[2])}),t},c.prototype.getTriangles=function(){return this.triangles_},e["a"]=c},b7e9:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e})},b84c:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration @@ -246,13 +246,13 @@ var e={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}var n=t.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n})},bbad:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("ad3f"),r=n("fd89");class s extends i["a"]{constructor(){super(),s.constructor_.apply(this,arguments)}static constructor_(){if(0===arguments.length)i["a"].constructor_.call(this);else if(1===arguments.length){if(arguments[0]instanceof s){const t=arguments[0];i["a"].constructor_.call(this,t.x,t.y)}else if(arguments[0]instanceof i["a"]){const t=arguments[0];i["a"].constructor_.call(this,t.x,t.y)}}else if(2===arguments.length){const t=arguments[0],e=arguments[1];i["a"].constructor_.call(this,t,e,i["a"].NULL_ORDINATE)}}setOrdinate(t,e){switch(t){case s.X:this.x=e;break;case s.Y:this.y=e;break;default:throw new r["a"]("Invalid ordinate index: "+t)}}getZ(){return i["a"].NULL_ORDINATE}getOrdinate(t){switch(t){case s.X:return this.x;case s.Y:return this.y}throw new r["a"]("Invalid ordinate index: "+t)}setZ(t){throw new r["a"]("CoordinateXY dimension 2 does not support z-ordinate")}copy(){return new s(this)}toString(){return"("+this.x+", "+this.y+")"}setCoordinate(t){this.x=t.x,this.y=t.y,this.z=t.getZ()}}s.X=0,s.Y=1,s.Z=-1,s.M=-1},bc13:function(t,e,n){var i=n("e53d"),r=i.navigator;t.exports=r&&r.userAgent||""},bc3a:function(t,e,n){t.exports=n("cee4")},bc81:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("256f"),r=n("c15b"),s=n("f5dd");function o(t){var e,n,o=Object.keys(t.defs),a=o.length;for(e=0;e0?Number(t.scale):1,s=i*r["b"]||r["b"],c=n.getContext("2d");if(t.image){var l;t.image.load();var u=t.image.getImage();if(u.width)n.width=Math.round(u.width*s),n.height=Math.round(u.height*s),c.globalAlpha="number"==typeof t.opacity?t.opacity:1,c.drawImage(u,0,0,u.width,u.height,0,0,n.width,n.height),e=c.createPattern(n,"repeat");else{var h=this;e=[0,0,0,0],u.onload=function(){n.width=Math.round(u.width*s),n.height=Math.round(u.height*s),c.globalAlpha="number"==typeof t.opacity?t.opacity:1,c.drawImage(u,0,0,u.width,u.height,0,0,n.width,n.height),e=c.createPattern(n,"repeat"),h.setColor(e)}}}else{var d=this.getPattern_(t);if(n.width=Math.round(d.width*s),n.height=Math.round(d.height*s),c.beginPath(),t.fill&&(c.fillStyle=Object(a["b"])(t.fill.getColor()),c.fillRect(0,0,n.width,n.height)),c.scale(s,s),c.lineCap="round",c.lineWidth=d.stroke||1,c.fillStyle=Object(a["b"])(t.color||"#000"),c.strokeStyle=Object(a["b"])(t.color||"#000"),d.circles)for(l=0;l180&&(r-=360),r*=Math.PI/180;var s=Math.cos(r),o=Math.sin(r);if(Math.abs(o)<1e-4)n.width=n.height=i,n.lines=[[0,.5,i,.5]],n.repeat=[[0,0],[0,i]];else if(Math.abs(s)<1e-4)n.width=n.height=i,n.lines=[[.5,0,.5,i]],n.repeat=[[0,0],[i,0]],"cross"==t.pattern&&(n.lines.push([0,.5,i,.5]),n.repeat.push([0,i]));else{var a=n.width=Math.round(Math.abs(i/o))||1,l=n.height=Math.round(Math.abs(i/s))||1;"cross"==t.pattern?(n.lines=[[-a,-l,2*a,2*l],[2*a,-l,-a,2*l]],n.repeat=[[0,0]]):s*o>0?(n.lines=[[-a,-l,2*a,2*l]],n.repeat=[[0,0],[a,0],[0,l]]):(n.lines=[[2*a,-l,-a,2*l]],n.repeat=[[0,0],[-a,0],[0,l]])}n.stroke=0===t.size?0:t.size||4;break;default:break}return n},c.addPattern=function(t,e){e||(e={}),c.prototype.patterns[t||e.char]={width:e.width||e.size||10,height:e.height||e.size||10,font:e.font,char:e.char,circles:e.circles,lines:e.lines,repeat:e.repeat,stroke:e.stroke,angle:e.angle,fill:e.fill}},c.prototype.patterns={hatch:{width:5,height:5,lines:[[0,2.5,5,2.5]],stroke:1},cross:{width:7,height:7,lines:[[0,3,10,3],[3,0,3,10]],stroke:1},dot:{width:8,height:8,circles:[[5,5,2]],stroke:!1,fill:!0},circle:{width:10,height:10,circles:[[5,5,2]],stroke:1,fill:!1},square:{width:10,height:10,lines:[[3,3,3,8,8,8,8,3,3,3]],stroke:1,fill:!1},tile:{width:10,height:10,lines:[[3,3,3,8,8,8,8,3,3,3]],fill:!0},woven:{width:12,height:12,lines:[[3,3,9,9],[0,12,3,9],[9,3,12,0],[-1,1,1,-1],[13,11,11,13]],stroke:1},crosses:{width:8,height:8,lines:[[2,2,6,6],[2,6,6,2]],stroke:1},caps:{width:8,height:8,lines:[[2,6,4,2,6,6]],stroke:1},nylon:{width:20,height:20,lines:[[1,6,1,1,6,1],[6,11,11,11,11,6],[11,16,11,21,16,21],[16,11,21,11,21,16]],repeat:[[0,0],[-20,0],[0,-20]],stroke:1},hexagon:{width:20,height:12,lines:[[0,10,4,4,10,4,14,10,10,16,4,16,0,10]],stroke:1,repeat:[[0,0],[10,6],[10,-6],[-10,-6]]},cemetry:{width:15,height:19,lines:[[0,3.5,7,3.5],[3.5,0,3.5,10]],stroke:1,repeat:[[0,0],[7,9]]},sand:{width:20,height:20,circles:[[1,2,1],[9,3,1],[2,16,1],[7,8,1],[6,14,1],[4,19,1],[14,2,1],[12,10,1],[14,18,1],[18,8,1],[18,14,1]],fill:1},conglomerate:{width:60,height:40,circles:[[2,4,1],[17,3,1],[26,18,1],[12,17,1],[5,17,2],[28,11,2]],lines:[[7,5,6,7,9,9,11,8,11,6,9,5,7,5],[16,10,15,13,16,14,19,15,21,13,22,9,20,8,19,8,16,10],[24,6,26,7,27,5,26,4,24,4,24,6]],repeat:[[30,0],[-15,20],[15,20],[45,20]],stroke:1},conglomerate2:{width:60,height:40,circles:[[2,4,1],[17,3,1],[26,18,1],[12,17,1],[5,17,2],[28,11,2]],lines:[[7,5,6,7,9,9,11,8,11,6,9,5,7,5],[16,10,15,13,16,14,19,15,21,13,22,9,20,8,19,8,16,10],[24,6,26,7,27,5,26,4,24,4,24,6]],repeat:[[30,0],[-15,20],[15,20],[45,20]],fill:1},gravel:{width:15,height:10,circles:[[4,2,1],[5,9,1],[1,7,1]],lines:[[7,5,6,6,7,7,8,7,9,7,10,5,9,4,7,5],[11,2,14,4,14,1,12,1,11,2]],stroke:1},brick:{width:18,height:16,lines:[[0,1,18,1],[0,10,18,10],[6,1,6,10],[12,10,12,18],[12,0,12,1]],stroke:1},dolomite:{width:20,height:16,lines:[[0,1,20,1],[0,9,20,9],[1,9,6,1],[11,9,14,16],[14,0,14.4,1]],stroke:1},coal:{width:20,height:16,lines:[[1,5,7,1,7,7],[11,10,12,5,18,9],[5,10,2,15,9,15],[15,16,15,13,20,16],[15,0,15,2,20,0]],fill:1},breccia:{width:20,height:16,lines:[[1,5,7,1,7,7,1,5],[11,10,12,5,18,9,11,10],[5,10,2,15,9,15,5,10],[15,16,15,13,22,18],[15,0,15,2,20,0]],stroke:1},clay:{width:20,height:20,lines:[[0,0,3,11,0,20],[11,0,10,3,13,13,11,20],[0,0,10,3,20,0],[0,12,3,11,13,13,20,12]],stroke:1},flooded:{width:15,height:10,lines:[[0,1,10,1],[0,6,5,6],[10,6,15,6]],stroke:1},chaos:{width:40,height:40,lines:[[40,2,40,0,38,0,40,2],[4,0,3,2,2,5,0,0,0,3,2,7,5,6,7,7,8,10,9,12,9,13,9,14,8,14,6,15,2,15,0,20,0,22,2,20,5,19,8,15,10,14,11,12.25,10,12,10,10,12,9,13,7,12,6,13,4,16,7,17,4,20,0,18,0,15,3,14,2,14,0,12,1,11,0,10,1,11,4,10,7,9,8,8,5,6,4,5,3,5,1,5,0,4,0],[7,1,7,3,8,3,8,2,7,1],[4,3,5,5,4,5,4,3],[34,5,33,7,38,10,38,8,36,5,34,5],[27,0,23,2,21,8,30,0,27,0],[25,8,26,12,26,16,22.71875,15.375,20,13,18,15,17,18,13,22,17,21,19,22,21,20,19,18,22,17,30,25,26,26,24,28,21.75,33.34375,20,36,18,40,20,40,24,37,25,32,27,31,26,38,27,37,30,32,32,35,36,37,38,40,38,39,40,40,37,36,34,32,37,31,36,29,33,27,34,24,39,21,40,21,40,16,37,20,31,22,32,25,27,20,29,15,30,20,32,20,34,18,33,12,31,11,29,14,26,9,25,8],[39,24,37,26,40,28,39,24],[13,15,9,19,14,18,13,15],[18,23,14,27,16,27,17,25,20,26,18,23],[6,24,2,26,1,28,2,30,5,28,12,30,16,32,18,30,15,30,12,28,9,25,7,27,6,24],[29,27,32,28,33,31,30,29,27,28,29,27],[5,35,1,33,3,36,13,38,15,35,10,36,5,35]],fill:1},grass:{width:27,height:22,lines:[[0,10.5,13,10.5],[2.5,10,1.5,7],[4.5,10,4.5,5,3.5,4],[7,10,7.5,6,8.5,3],[10,10,11,6]],repeat:[[0,0],[14,10]],stroke:1},swamp:{width:24,height:23,lines:[[0,10.5,9.5,10.5],[2.5,10,2.5,7],[4.5,10,4.5,4],[6.5,10,6.5,6],[3,12.5,7,12.5]],repeat:[[0,0],[14,10]],stroke:1},reed:{width:26,height:23,lines:[[2.5,10,2,7],[4.5,10,4.2,4],[6.5,10,6.8,4],[8.5,10,9,6],[3.7,4,3.7,2.5],[4.7,4,4.7,2.5],[6.3,4,6.3,2.5],[7.3,4,7.3,2.5]],circles:[[4.2,2.5,.5],[18.2,12.5,.5],[6.8,2.5,.5],[20.8,12.5,.5],[9,6,.5],[23,16,.5]],repeat:[[0,0],[14,10]],stroke:1},wave:{width:10,height:8,lines:[[0,0,5,4,10,0]],stroke:1},vine:{width:13,height:13,lines:[[3,0,3,6],[9,7,9,13]],stroke:1},forest:{width:55,height:30,circles:[[7,7,3.5],[20,20,1.5],[42,22,3.5],[35,5,1.5]],stroke:1},forest2:{width:55,height:30,circles:[[7,7,3.5],[20,20,1.5],[42,22,3.5],[35,5,1.5]],fill:1,stroke:1},scrub:{width:26,height:20,lines:[[1,4,4,8,6,4]],circles:[[20,13,1.5]],stroke:1},tree:{width:30,height:30,lines:[[7.78,10.61,4.95,10.61,4.95,7.78,3.54,7.78,2.12,6.36,.71,6.36,0,4.24,.71,2.12,4.24,0,7.78,.71,9.19,3.54,7.78,4.95,7.07,7.07,4.95,7.78]],repeat:[[3,1],[18,16]],stroke:1},tree2:{width:30,height:30,lines:[[7.78,10.61,4.95,10.61,4.95,7.78,3.54,7.78,2.12,6.36,.71,6.36,0,4.24,.71,2.12,4.24,0,7.78,.71,9.19,3.54,7.78,4.95,7.07,7.07,4.95,7.78,4.95,10.61,7.78,10.61]],repeat:[[3,1],[18,16]],fill:1,stroke:1},pine:{width:30,height:30,lines:[[5.66,11.31,2.83,11.31,2.83,8.49,0,8.49,2.83,0,5.66,8.49,2.83,8.49]],repeat:[[3,1],[18,16]],stroke:1},pine2:{width:30,height:30,lines:[[5.66,11.31,2.83,11.31,2.83,8.49,0,8.49,2.83,0,5.66,8.49,2.83,8.49,2.83,11.31,5.66,11.31]],repeat:[[3,1],[18,16]],fill:1,stroke:1},mixtree:{width:30,height:30,lines:[[7.78,10.61,4.95,10.61,4.95,7.78,3.54,7.78,2.12,6.36,.71,6.36,0,4.24,.71,2.12,4.24,0,7.78,.71,9.19,3.54,7.78,4.95,7.07,7.07,4.95,7.78,4.95,10.61,7.78,10.61],[23.66,27.31,20.83,27.31,20.83,24.49,18,24.49,20.83,16,23.66,24.49,20.83,24.49,20.83,27.31,23.66,27.31]],repeat:[[3,1]],stroke:1},mixtree2:{width:30,height:30,lines:[[7.78,10.61,4.95,10.61,4.95,7.78,3.54,7.78,2.12,6.36,.71,6.36,0,4.24,.71,2.12,4.24,0,7.78,.71,9.19,3.54,7.78,4.95,7.07,7.07,4.95,7.78,4.95,10.61,7.78,10.61],[23.66,27.31,20.83,27.31,20.83,24.49,18,24.49,20.83,16,23.66,24.49,20.83,24.49,20.83,27.31,23.66,27.31]],repeat:[[3,1]],fill:1,stroke:1},pines:{width:22,height:20,lines:[[1,4,3.5,1,6,4],[1,8,3.5,5,6,8],[3.5,1,3.5,11],[12,14.5,14.5,14,17,14.5],[12,18,17,18],[14.5,12,14.5,18]],repeat:[[2,1]],stroke:1},rock:{width:20,height:20,lines:[[1,0,1,9],[4,0,4,9],[7,0,7,9],[10,1,19,1],[10,4,19,4],[10,7,19,7],[0,11,9,11],[0,14,9,14],[0,17,9,17],[12,10,12,19],[15,10,15,19],[18,10,18,19]],repeat:[[.5,.5]],stroke:1},rocks:{width:20,height:20,lines:[[5,0,3,0,5,4,4,6,0,3,0,5,3,6,5,9,3.75,10,2.5,10,0,9,0,10,4,11,5,14,4,15,0,13,0,13,0,13,0,14,0,14,5,16,5,18,3,19,0,19,-.25,19.9375,5,20,10,19,10,20,11,20,12,19,14,20,15,20,17,19,20,20,20,19,19,16,20,15,20,11,20,10,19,8,20,5,20,0,19,0,20,2,19,4,17,4,16,3,15,0,14,0,15,4,11,5,10,4,11,0,10,0,9,4,6,5,5,0],[18,5,19,6,18,10,16,10,14,9,16,5,18,5],[5,6,9,5,10,6,10,9,6,10,5,6],[14,5,14,8,13,9,12,9,11,7,12,5,14,5],[5,11,8,10,9,11,10,14,6,15,6,15,5,11],[13,10,14,11,15,14,15,14,15,14,11,15,10,11,11,10,13,10],[15,12,16,11,19,11,19,15,16,14,16,14,15,12],[6,16,9,15,10,18,5,19,6,16],[10,16,14,16,14,18,13,19,11,18,10,16],[15,15,18,16,18,18,16,19,15,18,15,15]],stroke:1}};var l=c,u=function(t){var e,n;t||(t={});var i=this.canvas_=document.createElement("canvas"),o=Number(t.scale)>0?Number(t.scale):1,c=o*r["b"]||r["b"],l=i.getContext("2d");if(t.image){t.image.load();var u=t.image.getImage();if(u.width)i.width=Math.round(u.width*c),i.height=Math.round(u.height*c),l.globalAlpha="number"==typeof t.opacity?t.opacity:1,l.drawImage(u,0,0,u.width,u.height,0,0,i.width,i.height),e=l.createPattern(i,"repeat");else{var h=this;e=[0,0,0,0],u.onload=function(){i.width=Math.round(u.width*c),i.height=Math.round(u.height*c),l.globalAlpha="number"==typeof t.opacity?t.opacity:1,l.drawImage(u,0,0,u.width,u.height,0,0,i.width,i.height),e=l.createPattern(i,"repeat"),h.setColor(e)}}}else{var d=this.getPattern_(t);if(i.width=Math.round(d.width*c),i.height=Math.round(d.height*c),l.beginPath(),t.fill&&(l.fillStyle=Object(a["b"])(t.fill.getColor()),l.fillRect(0,0,i.width,i.height)),l.scale(c,c),l.lineCap="round",l.lineWidth=d.stroke||1,l.fillStyle=Object(a["b"])(t.color||"#000"),l.strokeStyle=Object(a["b"])(t.color||"#000"),d.circles)for(n=0;n180&&(r-=360),r*=Math.PI/180;var s=Math.cos(r),o=Math.sin(r);if(Math.abs(o)<1e-4)n.width=n.height=i,n.lines=[[0,.5,i,.5]],n.repeat=[[0,0],[0,i]];else if(Math.abs(s)<1e-4)n.width=n.height=i,n.lines=[[.5,0,.5,i]],n.repeat=[[0,0],[i,0]],"cross"==t.pattern&&(n.lines.push([0,.5,i,.5]),n.repeat.push([0,i]));else{var a=n.width=Math.round(Math.abs(i/o))||1,c=n.height=Math.round(Math.abs(i/s))||1;"cross"==t.pattern?(n.lines=[[-a,-c,2*a,2*c],[2*a,-c,-a,2*c]],n.repeat=[[0,0]]):s*o>0?(n.lines=[[-a,-c,2*a,2*c]],n.repeat=[[0,0],[a,0],[0,c]]):(n.lines=[[2*a,-c,-a,2*c]],n.repeat=[[0,0],[-a,0],[0,c]])}n.stroke=0===t.size?0:t.size||4;break;default:break}return n};e["a"]=u},bd60:function(t,e,n){"use strict";n("b54a"),n("c5f6");var i=n("a60d"),r="qrouterlinkclick",s=null;if(!i["c"])try{s=new Event(r)}catch(t){s=document.createEvent("Event"),s.initEvent(r,!0,!1)}var o={to:[String,Object],exact:Boolean,append:Boolean,replace:Boolean,event:[String,Array],activeClass:String,exactActiveClass:String};function a(t){return void 0===t||t<2?{}:{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t}}n.d(e,"c",function(){return a}),n.d(e,"b",function(){return c});var c={icon:String,rightIcon:String,image:String,rightImage:String,avatar:String,rightAvatar:String,letter:String,rightLetter:String,label:String,sublabel:String,labelLines:[String,Number],sublabelLines:[String,Number]};e["a"]={mixins:[{props:o}],props:{dark:Boolean,link:Boolean,dense:Boolean,sparse:Boolean,separator:Boolean,insetSeparator:Boolean,multiline:Boolean,highlight:Boolean,tag:{type:String,default:"div"}},computed:{itemClasses:function(){return{"q-item":!0,"q-item-division":!0,"relative-position":!0,"q-item-dark":this.dark,"q-item-dense":this.dense,"q-item-sparse":this.sparse,"q-item-separator":this.separator,"q-item-inset-separator":this.insetSeparator,"q-item-multiline":this.multiline,"q-item-highlight":this.highlight,"q-item-link":this.to||this.link}}}}},bda0:function(t,e,n){},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},be90:function(t,e,n){"use strict";var i=n("a60d");e["a"]={__history:[],add:function(){},remove:function(){},install:function(t,e){var n=this;if(!i["c"]&&t.platform.is.cordova){this.add=function(t){n.__history.push(t)},this.remove=function(t){var e=n.__history.indexOf(t);e>=0&&n.__history.splice(e,1)};var r=void 0===e.cordova||!1!==e.cordova.backButtonExit;document.addEventListener("deviceready",function(){document.addEventListener("backbutton",function(){n.__history.length?n.__history.pop().handler():r&&"#/"===window.location.hash?navigator.app.exitApp():window.history.back()},!1)})}}}},bef8:function(t,e,n){"use strict";function i(t,e,n,i,r,s){for(var o=s||[],a=0,c=e;c')}catch(i){var n=e.document.createElement("iframe");return n.name=t,n}}function l(){a("createForm"),i=e.document.createElement("form"),i.style.display="none",i.style.position="absolute",i.method="POST",i.enctype="application/x-www-form-urlencoded",i.acceptCharset="UTF-8",r=e.document.createElement("textarea"),r.name="d",i.appendChild(r),e.document.body.appendChild(i)}t.exports=function(t,e,n){a(t,e),i||l();var u="a"+s.string(8);i.target=u,i.action=o.addQuery(o.addPath(t,"/jsonp_send"),"i="+u);var h=c(u);h.id=u,h.style.display="none",i.appendChild(h);try{r.value=e}catch(t){}i.submit();var d=function(t){a("completed",u,t),h.onerror&&(h.onreadystatechange=h.onerror=h.onload=null,setTimeout(function(){a("cleaning up",u),h.parentNode.removeChild(h),h=null},500),r.value="",n(t))};return h.onerror=function(){a("onerror",u),d()},h.onload=function(){a("onload",u),d()},h.onreadystatechange=function(t){a("onreadystatechange",u,h.readyState,t),"complete"===h.readyState&&d()},function(){a("aborted",u),d(new Error("Aborted"))}}}).call(this,n("c8ba"))},bf62:function(t,e,n){"use strict";e["a"]={ACTIVE:"active"}},bf6b:function(t,e,n){},bf90:function(t,e,n){var i=n("36c3"),r=n("bf0b").f;n("ce7e")("getOwnPropertyDescriptor",function(){return function(t,e){return r(i(t),e)}})},bffd:function(t,e,n){"use strict";n("c5f6");e["a"]={name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},methods:{__begin:function(t,e,n){t.style.overflowY="hidden",void 0!==e&&(t.style.height="".concat(e,"px")),t.style.transition="height ".concat(this.duration,"ms cubic-bezier(.25, .8, .50, 1)"),this.animating=!0,this.done=n},__end:function(t,e){t.style.overflowY=null,t.style.height=null,t.style.transition=null,this.__cleanup(),e!==this.lastEvent&&this.$emit(e)},__cleanup:function(){this.done&&this.done(),this.done=null,this.animating=!1,clearTimeout(this.timer),this.el.removeEventListener("transitionend",this.animListener),this.animListener=null}},beforeDestroy:function(){this.animating&&this.__cleanup()},render:function(t){var e=this;return t("transition",{props:{css:!1,appear:this.appear},on:{enter:function(t,n){var i=0;e.el=t,!0===e.animating?(e.__cleanup(),i=t.offsetHeight===t.scrollHeight?0:void 0):e.lastEvent="hide",e.__begin(t,i,n),e.timer=setTimeout(function(){t.style.height="".concat(t.scrollHeight,"px"),e.animListener=function(){e.__end(t,"show")},t.addEventListener("transitionend",e.animListener)},100)},leave:function(t,n){var i;e.el=t,!0===e.animating?e.__cleanup():(e.lastEvent="show",i=t.scrollHeight),e.__begin(t,i,n),e.timer=setTimeout(function(){t.style.height=0,e.animListener=function(){e.__end(t,"hide")},t.addEventListener("transitionend",e.animListener)},100)}}},this.$slots.default)}}},c081:function(t,e,n){"use strict";n("7f7f");e["a"]={name:"QTabPane",inject:{data:{default:function(){console.error("QTabPane needs to be child of QTabs")}}},props:{name:{type:String,required:!0},keepAlive:Boolean},data:function(){return{shown:!1}},computed:{active:function(){return this.data.tabName===this.name},classes:function(){return{hidden:!this.active,"animate-fade-left":"left"===this.data.direction,"animate-fade-right":"right"===this.data.direction}}},render:function(t){var e=t("div",{staticClass:"q-tab-pane",class:this.classes},this.$slots.default);if(this.keepAlive){if(!this.shown&&!this.active)return;return this.shown=!0,e}if(this.shown=this.active,this.active)return e}}},c109:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}});return e})},c135:function(t,e){function n(t){if(Array.isArray(t))return t}t.exports=n},c15b:function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return s}),n.d(e,"c",function(){return o});n("38f3");var i={};function r(){i={}}function s(t,e,n){var r=t.getCode(),s=e.getCode();r in i||(i[r]={}),i[r][s]=n}function o(t,e){var n;return t in i&&e in i[t]&&(n=i[t][e]),n}},c191:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("fd89"),r=n("12dd"),s=n("7c01"),o=n("4c44"),a=n("e35d"),c=n("caca");class l{constructor(){l.constructor_.apply(this,arguments)}isGeometryCollection(){return this.getTypeCode()===l.TYPECODE_GEOMETRYCOLLECTION}getFactory(){return this._factory}getGeometryN(t){return this}getArea(){return 0}isRectangle(){return!1}equalsExact(t){return this===t||this.equalsExact(t,0)}geometryChanged(){this.apply(l.geometryChangedFilter)}geometryChangedAction(){this._envelope=null}equalsNorm(t){return null!==t&&this.norm().equalsExact(t.norm())}getLength(){return 0}getNumGeometries(){return 1}compareTo(){let t;if(1===arguments.length){const e=arguments[0];return t=e,this.getTypeCode()!==t.getTypeCode()?this.getTypeCode()-t.getTypeCode():this.isEmpty()&&t.isEmpty()?0:this.isEmpty()?-1:t.isEmpty()?1:this.compareToSameClass(e)}if(2===arguments.length){const e=arguments[0],n=arguments[1];return t=e,this.getTypeCode()!==t.getTypeCode()?this.getTypeCode()-t.getTypeCode():this.isEmpty()&&t.isEmpty()?0:this.isEmpty()?-1:t.isEmpty()?1:this.compareToSameClass(e,n)}}getUserData(){return this._userData}getSRID(){return this._SRID}getEnvelope(){return this.getFactory().toGeometry(this.getEnvelopeInternal())}checkNotGeometryCollection(t){if(t.getTypeCode()===l.TYPECODE_GEOMETRYCOLLECTION)throw new i["a"]("This method does not support GeometryCollection arguments")}equal(t,e,n){return 0===n?t.equals(e):t.distance(e)<=n}norm(){const t=this.copy();return t.normalize(),t}reverse(){const t=this.reverseInternal();return null!=this.envelope&&(t.envelope=this.envelope.copy()),t.setSRID(this.getSRID()),t}copy(){const t=this.copyInternal();return t.envelope=null==this._envelope?null:this._envelope.copy(),t._SRID=this._SRID,t._userData=this._userData,t}getPrecisionModel(){return this._factory.getPrecisionModel()}getEnvelopeInternal(){return null===this._envelope&&(this._envelope=this.computeEnvelopeInternal()),new c["a"](this._envelope)}setSRID(t){this._SRID=t}setUserData(t){this._userData=t}compare(t,e){const n=t.iterator(),i=e.iterator();while(n.hasNext()&&i.hasNext()){const t=n.next(),e=i.next(),r=t.compareTo(e);if(0!==r)return r}return n.hasNext()?1:i.hasNext()?-1:0}hashCode(){return this.getEnvelopeInternal().hashCode()}isEquivalentClass(t){return this.getClass()===t.getClass()}isGeometryCollectionOrDerived(){return this.getTypeCode()===l.TYPECODE_GEOMETRYCOLLECTION||this.getTypeCode()===l.TYPECODE_MULTIPOINT||this.getTypeCode()===l.TYPECODE_MULTILINESTRING||this.getTypeCode()===l.TYPECODE_MULTIPOLYGON}get interfaces_(){return[o["a"],s["a"],a["a"]]}getClass(){return l}static hasNonEmptyElements(t){for(let e=0;e>>0;for(e=0;e0)for(n=0;n=0;return(s?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var j=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},G={};function q(t,e,n,i){var r=i;"string"===typeof i&&(r=function(){return this[i]()}),t&&(G[t]=r),e&&(G[e[0]]=function(){return P(r.apply(this,arguments),e[1],e[2])}),n&&(G[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function z(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function B(t){var e,n,i=t.match(j);for(e=0,n=i.length;e=0&&F.test(t))t=t.replace(F,i),F.lastIndex=0,n-=1;return t}var U={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function V(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(j).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])}var X="Invalid date";function K(){return this._invalidDate}var Z="%d",J=/\d{1,2}/;function Q(t){return this._ordinal.replace("%d",t)}var tt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function et(t,e,n,i){var r=this._relativeTime[n];return I(r)?r(t,e,n,i):r.replace(/%d/i,t)}function nt(t,e){var n=this._relativeTime[t>0?"future":"past"];return I(n)?n(e):n.replace(/%s/i,e)}var it={};function rt(t,e){var n=t.toLowerCase();it[n]=it[n+"s"]=it[e]=t}function st(t){return"string"===typeof t?it[t]||it[t.toLowerCase()]:void 0}function ot(t){var e,n,i={};for(n in t)l(t,n)&&(e=st(n),e&&(i[e]=t[n]));return i}var at={};function ct(t,e){at[t]=e}function lt(t){var e,n=[];for(e in t)l(t,e)&&n.push({unit:e,priority:at[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}function ut(t){return t%4===0&&t%100!==0||t%400===0}function ht(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function dt(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=ht(e)),n}function ft(t,e){return function(n){return null!=n?(_t(this,t,n),s.updateOffset(this,e),this):pt(this,t)}}function pt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function _t(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&ut(t.year())&&1===t.month()&&29===t.date()?(n=dt(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),ee(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function mt(t){return t=st(t),I(this[t])?this[t]():this}function gt(t,e){if("object"===typeof t){t=ot(t);var n,i=lt(t);for(n=0;n68?1900:2e3)};var ye=ft("FullYear",!0);function ve(){return ut(this.year())}function be(t,e,n,i,r,s,o){var a;return t<100&&t>=0?(a=new Date(t+400,e,n,i,r,s,o),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,n,i,r,s,o),a}function Me(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function we(t,e,n){var i=7+e-n,r=(7+Me(t,0,i).getUTCDay()-e)%7;return-r+i-1}function xe(t,e,n,i,r){var s,o,a=(7+n-i)%7,c=we(t,i,r),l=1+7*(e-1)+a+c;return l<=0?(s=t-1,o=ge(s)+l):l>ge(t)?(s=t+1,o=l-ge(t)):(s=t,o=l),{year:s,dayOfYear:o}}function Le(t,e,n){var i,r,s=we(t.year(),e,n),o=Math.floor((t.dayOfYear()-s-1)/7)+1;return o<1?(r=t.year()-1,i=o+Ee(r,e,n)):o>Ee(t.year(),e,n)?(i=o-Ee(t.year(),e,n),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function Ee(t,e,n){var i=we(t,e,n),r=we(t+1,e,n);return(ge(t)-i+r)/7}function Te(t){return Le(t,this._week.dow,this._week.doy).week}q("w",["ww",2],"wo","week"),q("W",["WW",2],"Wo","isoWeek"),rt("week","w"),rt("isoWeek","W"),ct("week",5),ct("isoWeek",5),Nt("w",Lt),Nt("ww",Lt,bt),Nt("W",Lt),Nt("WW",Lt,bt),qt(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=dt(t)});var Se={dow:0,doy:6};function Oe(){return this._week.dow}function ke(){return this._week.doy}function Ce(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Ie(t){var e=Le(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function De(t,e){return"string"!==typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"===typeof t?t:null):parseInt(t,10)}function Ye(t,e){return"string"===typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Re(t,e){return t.slice(e,7).concat(t.slice(0,e))}q("d",0,"do","day"),q("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),q("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),q("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),q("e",0,0,"weekday"),q("E",0,0,"isoWeekday"),rt("day","d"),rt("weekday","e"),rt("isoWeekday","E"),ct("day",11),ct("weekday",11),ct("isoWeekday",11),Nt("d",Lt),Nt("e",Lt),Nt("E",Lt),Nt("dd",function(t,e){return e.weekdaysMinRegex(t)}),Nt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),Nt("dddd",function(t,e){return e.weekdaysRegex(t)}),qt(["dd","ddd","dddd"],function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:y(n).invalidWeekday=t}),qt(["d","e","E"],function(t,e,n,i){e[i]=dt(t)});var Ae="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ne="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Pe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),je=At,Fe=At,He=At;function Ge(t,e){var n=a(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Re(n,this._week.dow):t?n[t.day()]:n}function qe(t){return!0===t?Re(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function ze(t){return!0===t?Re(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Be(t,e,n){var i,r,s,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=m([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===e?(r=Bt.call(this._weekdaysParse,o),-1!==r?r:null):"ddd"===e?(r=Bt.call(this._shortWeekdaysParse,o),-1!==r?r:null):(r=Bt.call(this._minWeekdaysParse,o),-1!==r?r:null):"dddd"===e?(r=Bt.call(this._weekdaysParse,o),-1!==r?r:(r=Bt.call(this._shortWeekdaysParse,o),-1!==r?r:(r=Bt.call(this._minWeekdaysParse,o),-1!==r?r:null))):"ddd"===e?(r=Bt.call(this._shortWeekdaysParse,o),-1!==r?r:(r=Bt.call(this._weekdaysParse,o),-1!==r?r:(r=Bt.call(this._minWeekdaysParse,o),-1!==r?r:null))):(r=Bt.call(this._minWeekdaysParse,o),-1!==r?r:(r=Bt.call(this._weekdaysParse,o),-1!==r?r:(r=Bt.call(this._shortWeekdaysParse,o),-1!==r?r:null)))}function $e(t,e,n){var i,r,s;if(this._weekdaysParseExact)return Be.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=m([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}}function We(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=De(t,this.localeData()),this.add(t-e,"d")):e}function Ue(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ve(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Ye(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Xe(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=je),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ke(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fe),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ze(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=He),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Je(){function t(t,e){return e.length-t.length}var e,n,i,r,s,o=[],a=[],c=[],l=[];for(e=0;e<7;e++)n=m([2e3,1]).day(e),i=Ft(this.weekdaysMin(n,"")),r=Ft(this.weekdaysShort(n,"")),s=Ft(this.weekdays(n,"")),o.push(i),a.push(r),c.push(s),l.push(i),l.push(r),l.push(s);o.sort(t),a.sort(t),c.sort(t),l.sort(t),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Qe(){return this.hours()%12||12}function tn(){return this.hours()||24}function en(t,e){q(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function nn(t,e){return e._meridiemParse}function rn(t){return"p"===(t+"").toLowerCase().charAt(0)}q("H",["HH",2],0,"hour"),q("h",["hh",2],0,Qe),q("k",["kk",2],0,tn),q("hmm",0,0,function(){return""+Qe.apply(this)+P(this.minutes(),2)}),q("hmmss",0,0,function(){return""+Qe.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)}),q("Hmm",0,0,function(){return""+this.hours()+P(this.minutes(),2)}),q("Hmmss",0,0,function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)}),en("a",!0),en("A",!1),rt("hour","h"),ct("hour",13),Nt("a",nn),Nt("A",nn),Nt("H",Lt),Nt("h",Lt),Nt("k",Lt),Nt("HH",Lt,bt),Nt("hh",Lt,bt),Nt("kk",Lt,bt),Nt("hmm",Et),Nt("hmmss",Tt),Nt("Hmm",Et),Nt("Hmmss",Tt),Gt(["H","HH"],Vt),Gt(["k","kk"],function(t,e,n){var i=dt(t);e[Vt]=24===i?0:i}),Gt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Gt(["h","hh"],function(t,e,n){e[Vt]=dt(t),y(n).bigHour=!0}),Gt("hmm",function(t,e,n){var i=t.length-2;e[Vt]=dt(t.substr(0,i)),e[Xt]=dt(t.substr(i)),y(n).bigHour=!0}),Gt("hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[Vt]=dt(t.substr(0,i)),e[Xt]=dt(t.substr(i,2)),e[Kt]=dt(t.substr(r)),y(n).bigHour=!0}),Gt("Hmm",function(t,e,n){var i=t.length-2;e[Vt]=dt(t.substr(0,i)),e[Xt]=dt(t.substr(i))}),Gt("Hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[Vt]=dt(t.substr(0,i)),e[Xt]=dt(t.substr(i,2)),e[Kt]=dt(t.substr(r))});var sn=/[ap]\.?m?\.?/i,on=ft("Hours",!0);function an(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var cn,ln={calendar:A,longDateFormat:U,invalidDate:X,ordinal:Z,dayOfMonthOrdinalParse:J,relativeTime:tt,months:ne,monthsShort:ie,week:Se,weekdays:Ae,weekdaysMin:Pe,weekdaysShort:Ne,meridiemParse:sn},un={},hn={};function dn(t,e){var n,i=Math.min(t.length,e.length);for(n=0;n0){if(i=_n(r.slice(0,e).join("-")),i)return i;if(n&&n.length>=e&&dn(r,n)>=e-1)break;e--}s++}return cn}function _n(i){var r=null;if(void 0===un[i]&&"undefined"!==typeof t&&t&&t.exports)try{r=cn._abbr,e,n("4678")("./"+i),mn(r)}catch(t){un[i]=null}return un[i]}function mn(t,e){var n;return t&&(n=h(e)?vn(t):gn(t,e),n?cn=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),cn._abbr}function gn(t,e){if(null!==e){var n,i=ln;if(e.abbr=t,null!=un[t])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=un[t]._config;else if(null!=e.parentLocale)if(null!=un[e.parentLocale])i=un[e.parentLocale]._config;else{if(n=_n(e.parentLocale),null==n)return hn[e.parentLocale]||(hn[e.parentLocale]=[]),hn[e.parentLocale].push({name:t,config:e}),null;i=n._config}return un[t]=new R(Y(i,e)),hn[t]&&hn[t].forEach(function(t){gn(t.name,t.config)}),mn(t),un[t]}return delete un[t],null}function yn(t,e){if(null!=e){var n,i,r=ln;null!=un[t]&&null!=un[t].parentLocale?un[t].set(Y(un[t]._config,e)):(i=_n(t),null!=i&&(r=i._config),e=Y(r,e),null==i&&(e.abbr=t),n=new R(e),n.parentLocale=un[t],un[t]=n),mn(t)}else null!=un[t]&&(null!=un[t].parentLocale?(un[t]=un[t].parentLocale,t===mn()&&mn(t)):null!=un[t]&&delete un[t]);return un[t]}function vn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return cn;if(!a(t)){if(e=_n(t),e)return e;t=[t]}return pn(t)}function bn(){return O(un)}function Mn(t){var e,n=t._a;return n&&-2===y(t).overflow&&(e=n[Wt]<0||n[Wt]>11?Wt:n[Ut]<1||n[Ut]>ee(n[$t],n[Wt])?Ut:n[Vt]<0||n[Vt]>24||24===n[Vt]&&(0!==n[Xt]||0!==n[Kt]||0!==n[Zt])?Vt:n[Xt]<0||n[Xt]>59?Xt:n[Kt]<0||n[Kt]>59?Kt:n[Zt]<0||n[Zt]>999?Zt:-1,y(t)._overflowDayOfYear&&(e<$t||e>Ut)&&(e=Ut),y(t)._overflowWeeks&&-1===e&&(e=Jt),y(t)._overflowWeekday&&-1===e&&(e=Qt),y(t).overflow=e),t}var wn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,xn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ln=/Z|[+-]\d\d(?::?\d\d)?/,En=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Tn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Sn=/^\/?Date\((-?\d+)/i,On=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,kn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Cn(t){var e,n,i,r,s,o,a=t._i,c=wn.exec(a)||xn.exec(a);if(c){for(y(t).iso=!0,e=0,n=En.length;ege(s)||0===t._dayOfYear)&&(y(t)._overflowDayOfYear=!0),n=Me(s,0,t._dayOfYear),t._a[Wt]=n.getUTCMonth(),t._a[Ut]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=i[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Vt]&&0===t._a[Xt]&&0===t._a[Kt]&&0===t._a[Zt]&&(t._nextDay=!0,t._a[Vt]=0),t._d=(t._useUTC?Me:be).apply(null,o),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Vt]=24),t._w&&"undefined"!==typeof t._w.d&&t._w.d!==r&&(y(t).weekdayMismatch=!0)}}function Gn(t){var e,n,i,r,s,o,a,c,l;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(s=1,o=4,n=jn(e.GG,t._a[$t],Le(Kn(),1,4).year),i=jn(e.W,1),r=jn(e.E,1),(r<1||r>7)&&(c=!0)):(s=t._locale._week.dow,o=t._locale._week.doy,l=Le(Kn(),s,o),n=jn(e.gg,t._a[$t],l.year),i=jn(e.w,l.week),null!=e.d?(r=e.d,(r<0||r>6)&&(c=!0)):null!=e.e?(r=e.e+s,(e.e<0||e.e>6)&&(c=!0)):r=s),i<1||i>Ee(n,s,o)?y(t)._overflowWeeks=!0:null!=c?y(t)._overflowWeekday=!0:(a=xe(n,i,r,s,o),t._a[$t]=a.year,t._dayOfYear=a.dayOfYear)}function qn(t){if(t._f!==s.ISO_8601)if(t._f!==s.RFC_2822){t._a=[],y(t).empty=!0;var e,n,i,r,o,a,c=""+t._i,l=c.length,u=0;for(i=W(t._f,t._locale).match(j)||[],e=0;e0&&y(t).unusedInput.push(o),c=c.slice(c.indexOf(n)+n.length),u+=n.length),G[r]?(n?y(t).empty=!1:y(t).unusedTokens.push(r),zt(r,n,t)):t._strict&&!n&&y(t).unusedTokens.push(r);y(t).charsLeftOver=l-u,c.length>0&&y(t).unusedInput.push(c),t._a[Vt]<=12&&!0===y(t).bigHour&&t._a[Vt]>0&&(y(t).bigHour=void 0),y(t).parsedDateParts=t._a.slice(0),y(t).meridiem=t._meridiem,t._a[Vt]=zn(t._locale,t._a[Vt],t._meridiem),a=y(t).era,null!==a&&(t._a[$t]=t._locale.erasConvertYear(a,t._a[$t])),Hn(t),Mn(t)}else Nn(t);else Cn(t)}function zn(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&e<12&&(e+=12),i||12!==e||(e=0),e):e}function Bn(t){var e,n,i,r,s,o,a=!1;if(0===t._f.length)return y(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;rthis?this:t:b()});function Qn(t,e){var n,i;if(1===e.length&&a(e[0])&&(e=e[0]),!e.length)return Kn();for(n=e[0],i=1;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function xi(){if(!h(this._isDSTShifted))return this._isDSTShifted;var t,e={};return x(e,this),e=Un(e),e._a?(t=e._isUTC?m(e._a):Kn(e._a),this._isDSTShifted=this.isValid()&&ui(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Li(){return!!this.isValid()&&!this._isUTC}function Ei(){return!!this.isValid()&&this._isUTC}function Ti(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}s.updateOffset=function(){};var Si=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Oi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ki(t,e){var n,i,r,s=t,o=null;return ci(t)?s={ms:t._milliseconds,d:t._days,M:t._months}:d(t)||!isNaN(+t)?(s={},e?s[e]=+t:s.milliseconds=+t):(o=Si.exec(t))?(n="-"===o[1]?-1:1,s={y:0,d:dt(o[Ut])*n,h:dt(o[Vt])*n,m:dt(o[Xt])*n,s:dt(o[Kt])*n,ms:dt(li(1e3*o[Zt]))*n}):(o=Oi.exec(t))?(n="-"===o[1]?-1:1,s={y:Ci(o[2],n),M:Ci(o[3],n),w:Ci(o[4],n),d:Ci(o[5],n),h:Ci(o[6],n),m:Ci(o[7],n),s:Ci(o[8],n)}):null==s?s={}:"object"===typeof s&&("from"in s||"to"in s)&&(r=Di(Kn(s.from),Kn(s.to)),s={},s.ms=r.milliseconds,s.M=r.months),i=new ai(s),ci(t)&&l(t,"_locale")&&(i._locale=t._locale),ci(t)&&l(t,"_isValid")&&(i._isValid=t._isValid),i}function Ci(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Ii(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Di(t,e){var n;return t.isValid()&&e.isValid()?(e=pi(e,t),t.isBefore(e)?n=Ii(t,e):(n=Ii(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Yi(t,e){return function(n,i){var r,s;return null===i||isNaN(+i)||(C(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=n,n=i,i=s),r=ki(n,i),Ri(this,r,t),this}}function Ri(t,e,n,i){var r=e._milliseconds,o=li(e._days),a=li(e._months);t.isValid()&&(i=null==i||i,a&&he(t,pt(t,"Month")+a*n),o&&_t(t,"Date",pt(t,"Date")+o*n),r&&t._d.setTime(t._d.valueOf()+r*n),i&&s.updateOffset(t,o||a))}ki.fn=ai.prototype,ki.invalid=oi;var Ai=Yi(1,"add"),Ni=Yi(-1,"subtract");function Pi(t){return"string"===typeof t||t instanceof String}function ji(t){return E(t)||f(t)||Pi(t)||d(t)||Hi(t)||Fi(t)||null===t||void 0===t}function Fi(t){var e,n,i=c(t)&&!u(t),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;en.valueOf():n.valueOf()9999?$(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):I(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",$(n,"Z")):$(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function er(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,i,r="moment",s="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",s="Z"),t="["+r+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=s+'[")]',this.format(t+e+n+i)}function nr(t){t||(t=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var e=$(this,t);return this.localeData().postformat(e)}function ir(t,e){return this.isValid()&&(E(t)&&t.isValid()||Kn(t).isValid())?ki({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function rr(t){return this.from(Kn(),t)}function sr(t,e){return this.isValid()&&(E(t)&&t.isValid()||Kn(t).isValid())?ki({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function or(t){return this.to(Kn(),t)}function ar(t){var e;return void 0===t?this._locale._abbr:(e=vn(t),null!=e&&(this._locale=e),this)}s.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",s.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var cr=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function lr(){return this._locale}var ur=1e3,hr=60*ur,dr=60*hr,fr=3506328*dr;function pr(t,e){return(t%e+e)%e}function _r(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-fr:new Date(t,e,n).valueOf()}function mr(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-fr:Date.UTC(t,e,n)}function gr(t){var e,n;if(t=st(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?mr:_r,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=pr(e+(this._isUTC?0:this.utcOffset()*hr),dr);break;case"minute":e=this._d.valueOf(),e-=pr(e,hr);break;case"second":e=this._d.valueOf(),e-=pr(e,ur);break}return this._d.setTime(e),s.updateOffset(this,!0),this}function yr(t){var e,n;if(t=st(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?mr:_r,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=dr-pr(e+(this._isUTC?0:this.utcOffset()*hr),dr)-1;break;case"minute":e=this._d.valueOf(),e+=hr-pr(e,hr)-1;break;case"second":e=this._d.valueOf(),e+=ur-pr(e,ur)-1;break}return this._d.setTime(e),s.updateOffset(this,!0),this}function vr(){return this._d.valueOf()-6e4*(this._offset||0)}function br(){return Math.floor(this.valueOf()/1e3)}function Mr(){return new Date(this.valueOf())}function wr(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function xr(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Lr(){return this.isValid()?this.toISOString():null}function Er(){return v(this)}function Tr(){return _({},y(this))}function Sr(){return y(this).overflow}function Or(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function kr(t,e){var n,i,r,o=this._eras||vn("en")._eras;for(n=0,i=o.length;n=0)return c[i]}function Ir(t,e){var n=t.since<=t.until?1:-1;return void 0===e?s(t.since).year():s(t.since).year()+(e-t.offset)*n}function Dr(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;ts&&(e=s),Jr.call(this,t,e,n,i,r))}function Jr(t,e,n,i,r){var s=xe(t,e,n,i,r),o=Me(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function Qr(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}q("N",0,0,"eraAbbr"),q("NN",0,0,"eraAbbr"),q("NNN",0,0,"eraAbbr"),q("NNNN",0,0,"eraName"),q("NNNNN",0,0,"eraNarrow"),q("y",["y",1],"yo","eraYear"),q("y",["yy",2],0,"eraYear"),q("y",["yyy",3],0,"eraYear"),q("y",["yyyy",4],0,"eraYear"),Nt("N",Fr),Nt("NN",Fr),Nt("NNN",Fr),Nt("NNNN",Hr),Nt("NNNNN",Gr),Gt(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,i){var r=n._locale.erasParse(t,i,n._strict);r?y(n).era=r:y(n).invalidEra=t}),Nt("y",Ct),Nt("yy",Ct),Nt("yyy",Ct),Nt("yyyy",Ct),Nt("yo",qr),Gt(["y","yy","yyy","yyyy"],$t),Gt(["yo"],function(t,e,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[$t]=n._locale.eraYearOrdinalParse(t,r):e[$t]=parseInt(t,10)}),q(0,["gg",2],0,function(){return this.weekYear()%100}),q(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Br("gggg","weekYear"),Br("ggggg","weekYear"),Br("GGGG","isoWeekYear"),Br("GGGGG","isoWeekYear"),rt("weekYear","gg"),rt("isoWeekYear","GG"),ct("weekYear",1),ct("isoWeekYear",1),Nt("G",It),Nt("g",It),Nt("GG",Lt,bt),Nt("gg",Lt,bt),Nt("GGGG",Ot,wt),Nt("gggg",Ot,wt),Nt("GGGGG",kt,xt),Nt("ggggg",kt,xt),qt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=dt(t)}),qt(["gg","GG"],function(t,e,n,i){e[i]=s.parseTwoDigitYear(t)}),q("Q",0,"Qo","quarter"),rt("quarter","Q"),ct("quarter",7),Nt("Q",vt),Gt("Q",function(t,e){e[Wt]=3*(dt(t)-1)}),q("D",["DD",2],"Do","date"),rt("date","D"),ct("date",9),Nt("D",Lt),Nt("DD",Lt,bt),Nt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),Gt(["D","DD"],Ut),Gt("Do",function(t,e){e[Ut]=dt(t.match(Lt)[0])});var ts=ft("Date",!0);function es(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}q("DDD",["DDDD",3],"DDDo","dayOfYear"),rt("dayOfYear","DDD"),ct("dayOfYear",4),Nt("DDD",St),Nt("DDDD",Mt),Gt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=dt(t)}),q("m",["mm",2],0,"minute"),rt("minute","m"),ct("minute",14),Nt("m",Lt),Nt("mm",Lt,bt),Gt(["m","mm"],Xt);var ns=ft("Minutes",!1);q("s",["ss",2],0,"second"),rt("second","s"),ct("second",15),Nt("s",Lt),Nt("ss",Lt,bt),Gt(["s","ss"],Kt);var is,rs,ss=ft("Seconds",!1);for(q("S",0,0,function(){return~~(this.millisecond()/100)}),q(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),q(0,["SSS",3],0,"millisecond"),q(0,["SSSS",4],0,function(){return 10*this.millisecond()}),q(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),q(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),q(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),q(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),q(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),rt("millisecond","ms"),ct("millisecond",16),Nt("S",St,vt),Nt("SS",St,bt),Nt("SSS",St,Mt),is="SSSS";is.length<=9;is+="S")Nt(is,Ct);function os(t,e){e[Zt]=dt(1e3*("0."+t))}for(is="S";is.length<=9;is+="S")Gt(is,os);function as(){return this._isUTC?"UTC":""}function cs(){return this._isUTC?"Coordinated Universal Time":""}rs=ft("Milliseconds",!1),q("z",0,0,"zoneAbbr"),q("zz",0,0,"zoneName");var ls=L.prototype;function us(t){return Kn(1e3*t)}function hs(){return Kn.apply(null,arguments).parseZone()}function ds(t){return t}ls.add=Ai,ls.calendar=zi,ls.clone=Bi,ls.diff=Zi,ls.endOf=yr,ls.format=nr,ls.from=ir,ls.fromNow=rr,ls.to=sr,ls.toNow=or,ls.get=mt,ls.invalidAt=Sr,ls.isAfter=$i,ls.isBefore=Wi,ls.isBetween=Ui,ls.isSame=Vi,ls.isSameOrAfter=Xi,ls.isSameOrBefore=Ki,ls.isValid=Er,ls.lang=cr,ls.locale=ar,ls.localeData=lr,ls.max=Jn,ls.min=Zn,ls.parsingFlags=Tr,ls.set=gt,ls.startOf=gr,ls.subtract=Ni,ls.toArray=wr,ls.toObject=xr,ls.toDate=Mr,ls.toISOString=tr,ls.inspect=er,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ls[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ls.toJSON=Lr,ls.toString=Qi,ls.unix=br,ls.valueOf=vr,ls.creationData=Or,ls.eraName=Dr,ls.eraNarrow=Yr,ls.eraAbbr=Rr,ls.eraYear=Ar,ls.year=ye,ls.isLeapYear=ve,ls.weekYear=$r,ls.isoWeekYear=Wr,ls.quarter=ls.quarters=Qr,ls.month=de,ls.daysInMonth=fe,ls.week=ls.weeks=Ce,ls.isoWeek=ls.isoWeeks=Ie,ls.weeksInYear=Xr,ls.weeksInWeekYear=Kr,ls.isoWeeksInYear=Ur,ls.isoWeeksInISOWeekYear=Vr,ls.date=ts,ls.day=ls.days=We,ls.weekday=Ue,ls.isoWeekday=Ve,ls.dayOfYear=es,ls.hour=ls.hours=on,ls.minute=ls.minutes=ns,ls.second=ls.seconds=ss,ls.millisecond=ls.milliseconds=rs,ls.utcOffset=mi,ls.utc=yi,ls.local=vi,ls.parseZone=bi,ls.hasAlignedHourOffset=Mi,ls.isDST=wi,ls.isLocal=Li,ls.isUtcOffset=Ei,ls.isUtc=Ti,ls.isUTC=Ti,ls.zoneAbbr=as,ls.zoneName=cs,ls.dates=S("dates accessor is deprecated. Use date instead.",ts),ls.months=S("months accessor is deprecated. Use month instead",de),ls.years=S("years accessor is deprecated. Use year instead",ye),ls.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gi),ls.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",xi);var fs=R.prototype;function ps(t,e,n,i){var r=vn(),s=m().set(i,e);return r[n](s,t)}function _s(t,e,n){if(d(t)&&(e=t,t=void 0),t=t||"",null!=e)return ps(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=ps(t,i,n,"month");return r}function ms(t,e,n,i){"boolean"===typeof t?(d(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,d(e)&&(n=e,e=void 0),e=e||"");var r,s=vn(),o=t?s._week.dow:0,a=[];if(null!=n)return ps(e,(n+o)%7,i,"day");for(r=0;r<7;r++)a[r]=ps(e,(r+o)%7,i,"day");return a}function gs(t,e){return _s(t,e,"months")}function ys(t,e){return _s(t,e,"monthsShort")}function vs(t,e,n){return ms(t,e,n,"weekdays")}function bs(t,e,n){return ms(t,e,n,"weekdaysShort")}function Ms(t,e,n){return ms(t,e,n,"weekdaysMin")}fs.calendar=N,fs.longDateFormat=V,fs.invalidDate=K,fs.ordinal=Q,fs.preparse=ds,fs.postformat=ds,fs.relativeTime=et,fs.pastFuture=nt,fs.set=D,fs.eras=kr,fs.erasParse=Cr,fs.erasConvertYear=Ir,fs.erasAbbrRegex=Pr,fs.erasNameRegex=Nr,fs.erasNarrowRegex=jr,fs.months=ae,fs.monthsShort=ce,fs.monthsParse=ue,fs.monthsRegex=_e,fs.monthsShortRegex=pe,fs.week=Te,fs.firstDayOfYear=ke,fs.firstDayOfWeek=Oe,fs.weekdays=Ge,fs.weekdaysMin=ze,fs.weekdaysShort=qe,fs.weekdaysParse=$e,fs.weekdaysRegex=Xe,fs.weekdaysShortRegex=Ke,fs.weekdaysMinRegex=Ze,fs.isPM=rn,fs.meridiem=an,mn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===dt(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),s.lang=S("moment.lang is deprecated. Use moment.locale instead.",mn),s.langData=S("moment.langData is deprecated. Use moment.localeData instead.",vn);var ws=Math.abs;function xs(){var t=this._data;return this._milliseconds=ws(this._milliseconds),this._days=ws(this._days),this._months=ws(this._months),t.milliseconds=ws(t.milliseconds),t.seconds=ws(t.seconds),t.minutes=ws(t.minutes),t.hours=ws(t.hours),t.months=ws(t.months),t.years=ws(t.years),this}function Ls(t,e,n,i){var r=ki(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function Es(t,e){return Ls(this,t,e,1)}function Ts(t,e){return Ls(this,t,e,-1)}function Ss(t){return t<0?Math.floor(t):Math.ceil(t)}function Os(){var t,e,n,i,r,s=this._milliseconds,o=this._days,a=this._months,c=this._data;return s>=0&&o>=0&&a>=0||s<=0&&o<=0&&a<=0||(s+=864e5*Ss(Cs(a)+o),o=0,a=0),c.milliseconds=s%1e3,t=ht(s/1e3),c.seconds=t%60,e=ht(t/60),c.minutes=e%60,n=ht(e/60),c.hours=n%24,o+=ht(n/24),r=ht(ks(o)),a+=r,o-=Ss(Cs(r)),i=ht(a/12),a%=12,c.days=o,c.months=a,c.years=i,this}function ks(t){return 4800*t/146097}function Cs(t){return 146097*t/4800}function Is(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if(t=st(t),"month"===t||"quarter"===t||"year"===t)switch(e=this._days+i/864e5,n=this._months+ks(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Cs(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function Ds(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*dt(this._months/12):NaN}function Ys(t){return function(){return this.as(t)}}var Rs=Ys("ms"),As=Ys("s"),Ns=Ys("m"),Ps=Ys("h"),js=Ys("d"),Fs=Ys("w"),Hs=Ys("M"),Gs=Ys("Q"),qs=Ys("y");function zs(){return ki(this)}function Bs(t){return t=st(t),this.isValid()?this[t+"s"]():NaN}function $s(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ws=$s("milliseconds"),Us=$s("seconds"),Vs=$s("minutes"),Xs=$s("hours"),Ks=$s("days"),Zs=$s("months"),Js=$s("years");function Qs(){return ht(this.days()/7)}var to=Math.round,eo={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function no(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function io(t,e,n,i){var r=ki(t).abs(),s=to(r.as("s")),o=to(r.as("m")),a=to(r.as("h")),c=to(r.as("d")),l=to(r.as("M")),u=to(r.as("w")),h=to(r.as("y")),d=s<=n.ss&&["s",s]||s0,d[4]=i,no.apply(null,d)}function ro(t){return void 0===t?to:"function"===typeof t&&(to=t,!0)}function so(t,e){return void 0!==eo[t]&&(void 0===e?eo[t]:(eo[t]=e,"s"===t&&(eo.ss=e-1),!0))}function oo(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,s=eo;return"object"===typeof t&&(e=t,t=!1),"boolean"===typeof t&&(r=t),"object"===typeof e&&(s=Object.assign({},eo,e),null!=e.s&&null==e.ss&&(s.ss=e.s-1)),n=this.localeData(),i=io(this,!r,s,n),r&&(i=n.pastFuture(+this,i)),n.postformat(i)}var ao=Math.abs;function co(t){return(t>0)-(t<0)||+t}function lo(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,s,o,a,c=ao(this._milliseconds)/1e3,l=ao(this._days),u=ao(this._months),h=this.asSeconds();return h?(t=ht(c/60),e=ht(t/60),c%=60,t%=60,n=ht(u/12),u%=12,i=c?c.toFixed(3).replace(/\.?0+$/,""):"",r=h<0?"-":"",s=co(this._months)!==co(h)?"-":"",o=co(this._days)!==co(h)?"-":"",a=co(this._milliseconds)!==co(h)?"-":"",r+"P"+(n?s+n+"Y":"")+(u?s+u+"M":"")+(l?o+l+"D":"")+(e||t||c?"T":"")+(e?a+e+"H":"")+(t?a+t+"M":"")+(c?a+i+"S":"")):"P0D"}var uo=ai.prototype;return uo.isValid=si,uo.abs=xs,uo.add=Es,uo.subtract=Ts,uo.as=Is,uo.asMilliseconds=Rs,uo.asSeconds=As,uo.asMinutes=Ns,uo.asHours=Ps,uo.asDays=js,uo.asWeeks=Fs,uo.asMonths=Hs,uo.asQuarters=Gs,uo.asYears=qs,uo.valueOf=Ds,uo._bubble=Os,uo.clone=zs,uo.get=Bs,uo.milliseconds=Ws,uo.seconds=Us,uo.minutes=Vs,uo.hours=Xs,uo.days=Ks,uo.weeks=Qs,uo.months=Zs,uo.years=Js,uo.humanize=oo,uo.toISOString=lo,uo.toString=lo,uo.toJSON=lo,uo.locale=ar,uo.localeData=lr,uo.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",lo),uo.lang=cr,q("X",0,0,"unix"),q("x",0,0,"valueOf"),Nt("x",It),Nt("X",Rt),Gt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),Gt("x",function(t,e,n){n._d=new Date(dt(t))}), +(function(e,n){t.exports=n()})(0,function(){"use strict";var i,r;function s(){return i.apply(null,arguments)}function o(t){i=t}function a(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function c(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function l(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function u(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(l(t,e))return!1;return!0}function h(t){return void 0===t}function d(t){return"number"===typeof t||"[object Number]"===Object.prototype.toString.call(t)}function f(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function p(t,e){var n,i=[],r=t.length;for(n=0;n>>0;for(e=0;e0)for(n=0;n=0;return(s?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var j=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},G={};function q(t,e,n,i){var r=i;"string"===typeof i&&(r=function(){return this[i]()}),t&&(G[t]=r),e&&(G[e[0]]=function(){return P(r.apply(this,arguments),e[1],e[2])}),n&&(G[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function z(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function B(t){var e,n,i=t.match(j);for(e=0,n=i.length;e=0&&F.test(t))t=t.replace(F,i),F.lastIndex=0,n-=1;return t}var U={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function V(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(j).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])}var X="Invalid date";function K(){return this._invalidDate}var Z="%d",J=/\d{1,2}/;function Q(t){return this._ordinal.replace("%d",t)}var tt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function et(t,e,n,i){var r=this._relativeTime[n];return I(r)?r(t,e,n,i):r.replace(/%d/i,t)}function nt(t,e){var n=this._relativeTime[t>0?"future":"past"];return I(n)?n(e):n.replace(/%s/i,e)}var it={};function rt(t,e){var n=t.toLowerCase();it[n]=it[n+"s"]=it[e]=t}function st(t){return"string"===typeof t?it[t]||it[t.toLowerCase()]:void 0}function ot(t){var e,n,i={};for(n in t)l(t,n)&&(e=st(n),e&&(i[e]=t[n]));return i}var at={};function ct(t,e){at[t]=e}function lt(t){var e,n=[];for(e in t)l(t,e)&&n.push({unit:e,priority:at[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}function ut(t){return t%4===0&&t%100!==0||t%400===0}function ht(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function dt(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=ht(e)),n}function ft(t,e){return function(n){return null!=n?(_t(this,t,n),s.updateOffset(this,e),this):pt(this,t)}}function pt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function _t(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&ut(t.year())&&1===t.month()&&29===t.date()?(n=dt(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),ee(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function mt(t){return t=st(t),I(this[t])?this[t]():this}function gt(t,e){if("object"===typeof t){t=ot(t);var n,i=lt(t),r=i.length;for(n=0;n68?1900:2e3)};var ye=ft("FullYear",!0);function ve(){return ut(this.year())}function be(t,e,n,i,r,s,o){var a;return t<100&&t>=0?(a=new Date(t+400,e,n,i,r,s,o),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,n,i,r,s,o),a}function Me(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function we(t,e,n){var i=7+e-n,r=(7+Me(t,0,i).getUTCDay()-e)%7;return-r+i-1}function xe(t,e,n,i,r){var s,o,a=(7+n-i)%7,c=we(t,i,r),l=1+7*(e-1)+a+c;return l<=0?(s=t-1,o=ge(s)+l):l>ge(t)?(s=t+1,o=l-ge(t)):(s=t,o=l),{year:s,dayOfYear:o}}function Le(t,e,n){var i,r,s=we(t.year(),e,n),o=Math.floor((t.dayOfYear()-s-1)/7)+1;return o<1?(r=t.year()-1,i=o+Ee(r,e,n)):o>Ee(t.year(),e,n)?(i=o-Ee(t.year(),e,n),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function Ee(t,e,n){var i=we(t,e,n),r=we(t+1,e,n);return(ge(t)-i+r)/7}function Te(t){return Le(t,this._week.dow,this._week.doy).week}q("w",["ww",2],"wo","week"),q("W",["WW",2],"Wo","isoWeek"),rt("week","w"),rt("isoWeek","W"),ct("week",5),ct("isoWeek",5),At("w",Lt),At("ww",Lt,bt),At("W",Lt),At("WW",Lt,bt),qt(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=dt(t)});var Se={dow:0,doy:6};function Oe(){return this._week.dow}function ke(){return this._week.doy}function Ce(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Ie(t){var e=Le(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function De(t,e){return"string"!==typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"===typeof t?t:null):parseInt(t,10)}function Ye(t,e){return"string"===typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Re(t,e){return t.slice(e,7).concat(t.slice(0,e))}q("d",0,"do","day"),q("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),q("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),q("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),q("e",0,0,"weekday"),q("E",0,0,"isoWeekday"),rt("day","d"),rt("weekday","e"),rt("isoWeekday","E"),ct("day",11),ct("weekday",11),ct("isoWeekday",11),At("d",Lt),At("e",Lt),At("E",Lt),At("dd",function(t,e){return e.weekdaysMinRegex(t)}),At("ddd",function(t,e){return e.weekdaysShortRegex(t)}),At("dddd",function(t,e){return e.weekdaysRegex(t)}),qt(["dd","ddd","dddd"],function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:y(n).invalidWeekday=t}),qt(["d","e","E"],function(t,e,n,i){e[i]=dt(t)});var Ne="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ae="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Pe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),je=Nt,Fe=Nt,He=Nt;function Ge(t,e){var n=a(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Re(n,this._week.dow):t?n[t.day()]:n}function qe(t){return!0===t?Re(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function ze(t){return!0===t?Re(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Be(t,e,n){var i,r,s,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=m([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===e?(r=Bt.call(this._weekdaysParse,o),-1!==r?r:null):"ddd"===e?(r=Bt.call(this._shortWeekdaysParse,o),-1!==r?r:null):(r=Bt.call(this._minWeekdaysParse,o),-1!==r?r:null):"dddd"===e?(r=Bt.call(this._weekdaysParse,o),-1!==r?r:(r=Bt.call(this._shortWeekdaysParse,o),-1!==r?r:(r=Bt.call(this._minWeekdaysParse,o),-1!==r?r:null))):"ddd"===e?(r=Bt.call(this._shortWeekdaysParse,o),-1!==r?r:(r=Bt.call(this._weekdaysParse,o),-1!==r?r:(r=Bt.call(this._minWeekdaysParse,o),-1!==r?r:null))):(r=Bt.call(this._minWeekdaysParse,o),-1!==r?r:(r=Bt.call(this._weekdaysParse,o),-1!==r?r:(r=Bt.call(this._shortWeekdaysParse,o),-1!==r?r:null)))}function $e(t,e,n){var i,r,s;if(this._weekdaysParseExact)return Be.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=m([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}}function We(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=De(t,this.localeData()),this.add(t-e,"d")):e}function Ue(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ve(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Ye(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Xe(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=je),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ke(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fe),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ze(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=He),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Je(){function t(t,e){return e.length-t.length}var e,n,i,r,s,o=[],a=[],c=[],l=[];for(e=0;e<7;e++)n=m([2e3,1]).day(e),i=Ft(this.weekdaysMin(n,"")),r=Ft(this.weekdaysShort(n,"")),s=Ft(this.weekdays(n,"")),o.push(i),a.push(r),c.push(s),l.push(i),l.push(r),l.push(s);o.sort(t),a.sort(t),c.sort(t),l.sort(t),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Qe(){return this.hours()%12||12}function tn(){return this.hours()||24}function en(t,e){q(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function nn(t,e){return e._meridiemParse}function rn(t){return"p"===(t+"").toLowerCase().charAt(0)}q("H",["HH",2],0,"hour"),q("h",["hh",2],0,Qe),q("k",["kk",2],0,tn),q("hmm",0,0,function(){return""+Qe.apply(this)+P(this.minutes(),2)}),q("hmmss",0,0,function(){return""+Qe.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)}),q("Hmm",0,0,function(){return""+this.hours()+P(this.minutes(),2)}),q("Hmmss",0,0,function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)}),en("a",!0),en("A",!1),rt("hour","h"),ct("hour",13),At("a",nn),At("A",nn),At("H",Lt),At("h",Lt),At("k",Lt),At("HH",Lt,bt),At("hh",Lt,bt),At("kk",Lt,bt),At("hmm",Et),At("hmmss",Tt),At("Hmm",Et),At("Hmmss",Tt),Gt(["H","HH"],Vt),Gt(["k","kk"],function(t,e,n){var i=dt(t);e[Vt]=24===i?0:i}),Gt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Gt(["h","hh"],function(t,e,n){e[Vt]=dt(t),y(n).bigHour=!0}),Gt("hmm",function(t,e,n){var i=t.length-2;e[Vt]=dt(t.substr(0,i)),e[Xt]=dt(t.substr(i)),y(n).bigHour=!0}),Gt("hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[Vt]=dt(t.substr(0,i)),e[Xt]=dt(t.substr(i,2)),e[Kt]=dt(t.substr(r)),y(n).bigHour=!0}),Gt("Hmm",function(t,e,n){var i=t.length-2;e[Vt]=dt(t.substr(0,i)),e[Xt]=dt(t.substr(i))}),Gt("Hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[Vt]=dt(t.substr(0,i)),e[Xt]=dt(t.substr(i,2)),e[Kt]=dt(t.substr(r))});var sn=/[ap]\.?m?\.?/i,on=ft("Hours",!0);function an(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var cn,ln={calendar:N,longDateFormat:U,invalidDate:X,ordinal:Z,dayOfMonthOrdinalParse:J,relativeTime:tt,months:ne,monthsShort:ie,week:Se,weekdays:Ne,weekdaysMin:Pe,weekdaysShort:Ae,meridiemParse:sn},un={},hn={};function dn(t,e){var n,i=Math.min(t.length,e.length);for(n=0;n0){if(i=mn(r.slice(0,e).join("-")),i)return i;if(n&&n.length>=e&&dn(r,n)>=e-1)break;e--}s++}return cn}function _n(t){return null!=t.match("^[^/\\\\]*$")}function mn(i){var r=null;if(void 0===un[i]&&"undefined"!==typeof t&&t&&t.exports&&_n(i))try{r=cn._abbr,e,n("4678")("./"+i),gn(r)}catch(t){un[i]=null}return un[i]}function gn(t,e){var n;return t&&(n=h(e)?bn(t):yn(t,e),n?cn=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),cn._abbr}function yn(t,e){if(null!==e){var n,i=ln;if(e.abbr=t,null!=un[t])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=un[t]._config;else if(null!=e.parentLocale)if(null!=un[e.parentLocale])i=un[e.parentLocale]._config;else{if(n=mn(e.parentLocale),null==n)return hn[e.parentLocale]||(hn[e.parentLocale]=[]),hn[e.parentLocale].push({name:t,config:e}),null;i=n._config}return un[t]=new R(Y(i,e)),hn[t]&&hn[t].forEach(function(t){yn(t.name,t.config)}),gn(t),un[t]}return delete un[t],null}function vn(t,e){if(null!=e){var n,i,r=ln;null!=un[t]&&null!=un[t].parentLocale?un[t].set(Y(un[t]._config,e)):(i=mn(t),null!=i&&(r=i._config),e=Y(r,e),null==i&&(e.abbr=t),n=new R(e),n.parentLocale=un[t],un[t]=n),gn(t)}else null!=un[t]&&(null!=un[t].parentLocale?(un[t]=un[t].parentLocale,t===gn()&&gn(t)):null!=un[t]&&delete un[t]);return un[t]}function bn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return cn;if(!a(t)){if(e=mn(t),e)return e;t=[t]}return pn(t)}function Mn(){return O(un)}function wn(t){var e,n=t._a;return n&&-2===y(t).overflow&&(e=n[Wt]<0||n[Wt]>11?Wt:n[Ut]<1||n[Ut]>ee(n[$t],n[Wt])?Ut:n[Vt]<0||n[Vt]>24||24===n[Vt]&&(0!==n[Xt]||0!==n[Kt]||0!==n[Zt])?Vt:n[Xt]<0||n[Xt]>59?Xt:n[Kt]<0||n[Kt]>59?Kt:n[Zt]<0||n[Zt]>999?Zt:-1,y(t)._overflowDayOfYear&&(e<$t||e>Ut)&&(e=Ut),y(t)._overflowWeeks&&-1===e&&(e=Jt),y(t)._overflowWeekday&&-1===e&&(e=Qt),y(t).overflow=e),t}var xn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ln=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,En=/Z|[+-]\d\d(?::?\d\d)?/,Tn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Sn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],On=/^\/?Date\((-?\d+)/i,kn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Cn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function In(t){var e,n,i,r,s,o,a=t._i,c=xn.exec(a)||Ln.exec(a),l=Tn.length,u=Sn.length;if(c){for(y(t).iso=!0,e=0,n=l;ege(s)||0===t._dayOfYear)&&(y(t)._overflowDayOfYear=!0),n=Me(s,0,t._dayOfYear),t._a[Wt]=n.getUTCMonth(),t._a[Ut]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=i[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Vt]&&0===t._a[Xt]&&0===t._a[Kt]&&0===t._a[Zt]&&(t._nextDay=!0,t._a[Vt]=0),t._d=(t._useUTC?Me:be).apply(null,o),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Vt]=24),t._w&&"undefined"!==typeof t._w.d&&t._w.d!==r&&(y(t).weekdayMismatch=!0)}}function qn(t){var e,n,i,r,s,o,a,c,l;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(s=1,o=4,n=Fn(e.GG,t._a[$t],Le(Zn(),1,4).year),i=Fn(e.W,1),r=Fn(e.E,1),(r<1||r>7)&&(c=!0)):(s=t._locale._week.dow,o=t._locale._week.doy,l=Le(Zn(),s,o),n=Fn(e.gg,t._a[$t],l.year),i=Fn(e.w,l.week),null!=e.d?(r=e.d,(r<0||r>6)&&(c=!0)):null!=e.e?(r=e.e+s,(e.e<0||e.e>6)&&(c=!0)):r=s),i<1||i>Ee(n,s,o)?y(t)._overflowWeeks=!0:null!=c?y(t)._overflowWeekday=!0:(a=xe(n,i,r,s,o),t._a[$t]=a.year,t._dayOfYear=a.dayOfYear)}function zn(t){if(t._f!==s.ISO_8601)if(t._f!==s.RFC_2822){t._a=[],y(t).empty=!0;var e,n,i,r,o,a,c,l=""+t._i,u=l.length,h=0;for(i=W(t._f,t._locale).match(j)||[],c=i.length,e=0;e0&&y(t).unusedInput.push(o),l=l.slice(l.indexOf(n)+n.length),h+=n.length),G[r]?(n?y(t).empty=!1:y(t).unusedTokens.push(r),zt(r,n,t)):t._strict&&!n&&y(t).unusedTokens.push(r);y(t).charsLeftOver=u-h,l.length>0&&y(t).unusedInput.push(l),t._a[Vt]<=12&&!0===y(t).bigHour&&t._a[Vt]>0&&(y(t).bigHour=void 0),y(t).parsedDateParts=t._a.slice(0),y(t).meridiem=t._meridiem,t._a[Vt]=Bn(t._locale,t._a[Vt],t._meridiem),a=y(t).era,null!==a&&(t._a[$t]=t._locale.erasConvertYear(a,t._a[$t])),Gn(t),wn(t)}else Pn(t);else In(t)}function Bn(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&e<12&&(e+=12),i||12!==e||(e=0),e):e}function $n(t){var e,n,i,r,s,o,a=!1,c=t._f.length;if(0===c)return y(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;rthis?this:t:b()});function ti(t,e){var n,i;if(1===e.length&&a(e[0])&&(e=e[0]),!e.length)return Zn();for(n=e[0],i=1;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Li(){if(!h(this._isDSTShifted))return this._isDSTShifted;var t,e={};return x(e,this),e=Vn(e),e._a?(t=e._isUTC?m(e._a):Zn(e._a),this._isDSTShifted=this.isValid()&&hi(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ei(){return!!this.isValid()&&!this._isUTC}function Ti(){return!!this.isValid()&&this._isUTC}function Si(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}s.updateOffset=function(){};var Oi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ki=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ci(t,e){var n,i,r,s=t,o=null;return li(t)?s={ms:t._milliseconds,d:t._days,M:t._months}:d(t)||!isNaN(+t)?(s={},e?s[e]=+t:s.milliseconds=+t):(o=Oi.exec(t))?(n="-"===o[1]?-1:1,s={y:0,d:dt(o[Ut])*n,h:dt(o[Vt])*n,m:dt(o[Xt])*n,s:dt(o[Kt])*n,ms:dt(ui(1e3*o[Zt]))*n}):(o=ki.exec(t))?(n="-"===o[1]?-1:1,s={y:Ii(o[2],n),M:Ii(o[3],n),w:Ii(o[4],n),d:Ii(o[5],n),h:Ii(o[6],n),m:Ii(o[7],n),s:Ii(o[8],n)}):null==s?s={}:"object"===typeof s&&("from"in s||"to"in s)&&(r=Yi(Zn(s.from),Zn(s.to)),s={},s.ms=r.milliseconds,s.M=r.months),i=new ci(s),li(t)&&l(t,"_locale")&&(i._locale=t._locale),li(t)&&l(t,"_isValid")&&(i._isValid=t._isValid),i}function Ii(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Di(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Yi(t,e){var n;return t.isValid()&&e.isValid()?(e=_i(e,t),t.isBefore(e)?n=Di(t,e):(n=Di(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ri(t,e){return function(n,i){var r,s;return null===i||isNaN(+i)||(C(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=n,n=i,i=s),r=Ci(n,i),Ni(this,r,t),this}}function Ni(t,e,n,i){var r=e._milliseconds,o=ui(e._days),a=ui(e._months);t.isValid()&&(i=null==i||i,a&&he(t,pt(t,"Month")+a*n),o&&_t(t,"Date",pt(t,"Date")+o*n),r&&t._d.setTime(t._d.valueOf()+r*n),i&&s.updateOffset(t,o||a))}Ci.fn=ci.prototype,Ci.invalid=ai;var Ai=Ri(1,"add"),Pi=Ri(-1,"subtract");function ji(t){return"string"===typeof t||t instanceof String}function Fi(t){return E(t)||f(t)||ji(t)||d(t)||Gi(t)||Hi(t)||null===t||void 0===t}function Hi(t){var e,n,i=c(t)&&!u(t),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=s.length;for(e=0;en.valueOf():n.valueOf()9999?$(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):I(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",$(n,"Z")):$(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function nr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,i,r="moment",s="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",s="Z"),t="["+r+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=s+'[")]',this.format(t+e+n+i)}function ir(t){t||(t=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var e=$(this,t);return this.localeData().postformat(e)}function rr(t,e){return this.isValid()&&(E(t)&&t.isValid()||Zn(t).isValid())?Ci({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function sr(t){return this.from(Zn(),t)}function or(t,e){return this.isValid()&&(E(t)&&t.isValid()||Zn(t).isValid())?Ci({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ar(t){return this.to(Zn(),t)}function cr(t){var e;return void 0===t?this._locale._abbr:(e=bn(t),null!=e&&(this._locale=e),this)}s.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",s.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var lr=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function ur(){return this._locale}var hr=1e3,dr=60*hr,fr=60*dr,pr=3506328*fr;function _r(t,e){return(t%e+e)%e}function mr(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-pr:new Date(t,e,n).valueOf()}function gr(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-pr:Date.UTC(t,e,n)}function yr(t){var e,n;if(t=st(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?gr:mr,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=_r(e+(this._isUTC?0:this.utcOffset()*dr),fr);break;case"minute":e=this._d.valueOf(),e-=_r(e,dr);break;case"second":e=this._d.valueOf(),e-=_r(e,hr);break}return this._d.setTime(e),s.updateOffset(this,!0),this}function vr(t){var e,n;if(t=st(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?gr:mr,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=fr-_r(e+(this._isUTC?0:this.utcOffset()*dr),fr)-1;break;case"minute":e=this._d.valueOf(),e+=dr-_r(e,dr)-1;break;case"second":e=this._d.valueOf(),e+=hr-_r(e,hr)-1;break}return this._d.setTime(e),s.updateOffset(this,!0),this}function br(){return this._d.valueOf()-6e4*(this._offset||0)}function Mr(){return Math.floor(this.valueOf()/1e3)}function wr(){return new Date(this.valueOf())}function xr(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Lr(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Er(){return this.isValid()?this.toISOString():null}function Tr(){return v(this)}function Sr(){return _({},y(this))}function Or(){return y(this).overflow}function kr(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Cr(t,e){var n,i,r,o=this._eras||bn("en")._eras;for(n=0,i=o.length;n=0)return c[i]}function Dr(t,e){var n=t.since<=t.until?1:-1;return void 0===e?s(t.since).year():s(t.since).year()+(e-t.offset)*n}function Yr(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;ts&&(e=s),Qr.call(this,t,e,n,i,r))}function Qr(t,e,n,i,r){var s=xe(t,e,n,i,r),o=Me(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function ts(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}q("N",0,0,"eraAbbr"),q("NN",0,0,"eraAbbr"),q("NNN",0,0,"eraAbbr"),q("NNNN",0,0,"eraName"),q("NNNNN",0,0,"eraNarrow"),q("y",["y",1],"yo","eraYear"),q("y",["yy",2],0,"eraYear"),q("y",["yyy",3],0,"eraYear"),q("y",["yyyy",4],0,"eraYear"),At("N",Hr),At("NN",Hr),At("NNN",Hr),At("NNNN",Gr),At("NNNNN",qr),Gt(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,i){var r=n._locale.erasParse(t,i,n._strict);r?y(n).era=r:y(n).invalidEra=t}),At("y",Ct),At("yy",Ct),At("yyy",Ct),At("yyyy",Ct),At("yo",zr),Gt(["y","yy","yyy","yyyy"],$t),Gt(["yo"],function(t,e,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[$t]=n._locale.eraYearOrdinalParse(t,r):e[$t]=parseInt(t,10)}),q(0,["gg",2],0,function(){return this.weekYear()%100}),q(0,["GG",2],0,function(){return this.isoWeekYear()%100}),$r("gggg","weekYear"),$r("ggggg","weekYear"),$r("GGGG","isoWeekYear"),$r("GGGGG","isoWeekYear"),rt("weekYear","gg"),rt("isoWeekYear","GG"),ct("weekYear",1),ct("isoWeekYear",1),At("G",It),At("g",It),At("GG",Lt,bt),At("gg",Lt,bt),At("GGGG",Ot,wt),At("gggg",Ot,wt),At("GGGGG",kt,xt),At("ggggg",kt,xt),qt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=dt(t)}),qt(["gg","GG"],function(t,e,n,i){e[i]=s.parseTwoDigitYear(t)}),q("Q",0,"Qo","quarter"),rt("quarter","Q"),ct("quarter",7),At("Q",vt),Gt("Q",function(t,e){e[Wt]=3*(dt(t)-1)}),q("D",["DD",2],"Do","date"),rt("date","D"),ct("date",9),At("D",Lt),At("DD",Lt,bt),At("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),Gt(["D","DD"],Ut),Gt("Do",function(t,e){e[Ut]=dt(t.match(Lt)[0])});var es=ft("Date",!0);function ns(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}q("DDD",["DDDD",3],"DDDo","dayOfYear"),rt("dayOfYear","DDD"),ct("dayOfYear",4),At("DDD",St),At("DDDD",Mt),Gt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=dt(t)}),q("m",["mm",2],0,"minute"),rt("minute","m"),ct("minute",14),At("m",Lt),At("mm",Lt,bt),Gt(["m","mm"],Xt);var is=ft("Minutes",!1);q("s",["ss",2],0,"second"),rt("second","s"),ct("second",15),At("s",Lt),At("ss",Lt,bt),Gt(["s","ss"],Kt);var rs,ss,os=ft("Seconds",!1);for(q("S",0,0,function(){return~~(this.millisecond()/100)}),q(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),q(0,["SSS",3],0,"millisecond"),q(0,["SSSS",4],0,function(){return 10*this.millisecond()}),q(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),q(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),q(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),q(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),q(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),rt("millisecond","ms"),ct("millisecond",16),At("S",St,vt),At("SS",St,bt),At("SSS",St,Mt),rs="SSSS";rs.length<=9;rs+="S")At(rs,Ct);function as(t,e){e[Zt]=dt(1e3*("0."+t))}for(rs="S";rs.length<=9;rs+="S")Gt(rs,as);function cs(){return this._isUTC?"UTC":""}function ls(){return this._isUTC?"Coordinated Universal Time":""}ss=ft("Milliseconds",!1),q("z",0,0,"zoneAbbr"),q("zz",0,0,"zoneName");var us=L.prototype;function hs(t){return Zn(1e3*t)}function ds(){return Zn.apply(null,arguments).parseZone()}function fs(t){return t}us.add=Ai,us.calendar=Bi,us.clone=$i,us.diff=Ji,us.endOf=vr,us.format=ir,us.from=rr,us.fromNow=sr,us.to=or,us.toNow=ar,us.get=mt,us.invalidAt=Or,us.isAfter=Wi,us.isBefore=Ui,us.isBetween=Vi,us.isSame=Xi,us.isSameOrAfter=Ki,us.isSameOrBefore=Zi,us.isValid=Tr,us.lang=lr,us.locale=cr,us.localeData=ur,us.max=Qn,us.min=Jn,us.parsingFlags=Sr,us.set=gt,us.startOf=yr,us.subtract=Pi,us.toArray=xr,us.toObject=Lr,us.toDate=wr,us.toISOString=er,us.inspect=nr,"undefined"!==typeof Symbol&&null!=Symbol.for&&(us[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),us.toJSON=Er,us.toString=tr,us.unix=Mr,us.valueOf=br,us.creationData=kr,us.eraName=Yr,us.eraNarrow=Rr,us.eraAbbr=Nr,us.eraYear=Ar,us.year=ye,us.isLeapYear=ve,us.weekYear=Wr,us.isoWeekYear=Ur,us.quarter=us.quarters=ts,us.month=de,us.daysInMonth=fe,us.week=us.weeks=Ce,us.isoWeek=us.isoWeeks=Ie,us.weeksInYear=Kr,us.weeksInWeekYear=Zr,us.isoWeeksInYear=Vr,us.isoWeeksInISOWeekYear=Xr,us.date=es,us.day=us.days=We,us.weekday=Ue,us.isoWeekday=Ve,us.dayOfYear=ns,us.hour=us.hours=on,us.minute=us.minutes=is,us.second=us.seconds=os,us.millisecond=us.milliseconds=ss,us.utcOffset=gi,us.utc=vi,us.local=bi,us.parseZone=Mi,us.hasAlignedHourOffset=wi,us.isDST=xi,us.isLocal=Ei,us.isUtcOffset=Ti,us.isUtc=Si,us.isUTC=Si,us.zoneAbbr=cs,us.zoneName=ls,us.dates=S("dates accessor is deprecated. Use date instead.",es),us.months=S("months accessor is deprecated. Use month instead",de),us.years=S("years accessor is deprecated. Use year instead",ye),us.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yi),us.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Li);var ps=R.prototype;function _s(t,e,n,i){var r=bn(),s=m().set(i,e);return r[n](s,t)}function ms(t,e,n){if(d(t)&&(e=t,t=void 0),t=t||"",null!=e)return _s(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=_s(t,i,n,"month");return r}function gs(t,e,n,i){"boolean"===typeof t?(d(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,d(e)&&(n=e,e=void 0),e=e||"");var r,s=bn(),o=t?s._week.dow:0,a=[];if(null!=n)return _s(e,(n+o)%7,i,"day");for(r=0;r<7;r++)a[r]=_s(e,(r+o)%7,i,"day");return a}function ys(t,e){return ms(t,e,"months")}function vs(t,e){return ms(t,e,"monthsShort")}function bs(t,e,n){return gs(t,e,n,"weekdays")}function Ms(t,e,n){return gs(t,e,n,"weekdaysShort")}function ws(t,e,n){return gs(t,e,n,"weekdaysMin")}ps.calendar=A,ps.longDateFormat=V,ps.invalidDate=K,ps.ordinal=Q,ps.preparse=fs,ps.postformat=fs,ps.relativeTime=et,ps.pastFuture=nt,ps.set=D,ps.eras=Cr,ps.erasParse=Ir,ps.erasConvertYear=Dr,ps.erasAbbrRegex=jr,ps.erasNameRegex=Pr,ps.erasNarrowRegex=Fr,ps.months=ae,ps.monthsShort=ce,ps.monthsParse=ue,ps.monthsRegex=_e,ps.monthsShortRegex=pe,ps.week=Te,ps.firstDayOfYear=ke,ps.firstDayOfWeek=Oe,ps.weekdays=Ge,ps.weekdaysMin=ze,ps.weekdaysShort=qe,ps.weekdaysParse=$e,ps.weekdaysRegex=Xe,ps.weekdaysShortRegex=Ke,ps.weekdaysMinRegex=Ze,ps.isPM=rn,ps.meridiem=an,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===dt(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),s.lang=S("moment.lang is deprecated. Use moment.locale instead.",gn),s.langData=S("moment.langData is deprecated. Use moment.localeData instead.",bn);var xs=Math.abs;function Ls(){var t=this._data;return this._milliseconds=xs(this._milliseconds),this._days=xs(this._days),this._months=xs(this._months),t.milliseconds=xs(t.milliseconds),t.seconds=xs(t.seconds),t.minutes=xs(t.minutes),t.hours=xs(t.hours),t.months=xs(t.months),t.years=xs(t.years),this}function Es(t,e,n,i){var r=Ci(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function Ts(t,e){return Es(this,t,e,1)}function Ss(t,e){return Es(this,t,e,-1)}function Os(t){return t<0?Math.floor(t):Math.ceil(t)}function ks(){var t,e,n,i,r,s=this._milliseconds,o=this._days,a=this._months,c=this._data;return s>=0&&o>=0&&a>=0||s<=0&&o<=0&&a<=0||(s+=864e5*Os(Is(a)+o),o=0,a=0),c.milliseconds=s%1e3,t=ht(s/1e3),c.seconds=t%60,e=ht(t/60),c.minutes=e%60,n=ht(e/60),c.hours=n%24,o+=ht(n/24),r=ht(Cs(o)),a+=r,o-=Os(Is(r)),i=ht(a/12),a%=12,c.days=o,c.months=a,c.years=i,this}function Cs(t){return 4800*t/146097}function Is(t){return 146097*t/4800}function Ds(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if(t=st(t),"month"===t||"quarter"===t||"year"===t)switch(e=this._days+i/864e5,n=this._months+Cs(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Is(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function Ys(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*dt(this._months/12):NaN}function Rs(t){return function(){return this.as(t)}}var Ns=Rs("ms"),As=Rs("s"),Ps=Rs("m"),js=Rs("h"),Fs=Rs("d"),Hs=Rs("w"),Gs=Rs("M"),qs=Rs("Q"),zs=Rs("y");function Bs(){return Ci(this)}function $s(t){return t=st(t),this.isValid()?this[t+"s"]():NaN}function Ws(t){return function(){return this.isValid()?this._data[t]:NaN}}var Us=Ws("milliseconds"),Vs=Ws("seconds"),Xs=Ws("minutes"),Ks=Ws("hours"),Zs=Ws("days"),Js=Ws("months"),Qs=Ws("years");function to(){return ht(this.days()/7)}var eo=Math.round,no={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function io(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function ro(t,e,n,i){var r=Ci(t).abs(),s=eo(r.as("s")),o=eo(r.as("m")),a=eo(r.as("h")),c=eo(r.as("d")),l=eo(r.as("M")),u=eo(r.as("w")),h=eo(r.as("y")),d=s<=n.ss&&["s",s]||s0,d[4]=i,io.apply(null,d)}function so(t){return void 0===t?eo:"function"===typeof t&&(eo=t,!0)}function oo(t,e){return void 0!==no[t]&&(void 0===e?no[t]:(no[t]=e,"s"===t&&(no.ss=e-1),!0))}function ao(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,s=no;return"object"===typeof t&&(e=t,t=!1),"boolean"===typeof t&&(r=t),"object"===typeof e&&(s=Object.assign({},no,e),null!=e.s&&null==e.ss&&(s.ss=e.s-1)),n=this.localeData(),i=ro(this,!r,s,n),r&&(i=n.pastFuture(+this,i)),n.postformat(i)}var co=Math.abs;function lo(t){return(t>0)-(t<0)||+t}function uo(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,s,o,a,c=co(this._milliseconds)/1e3,l=co(this._days),u=co(this._months),h=this.asSeconds();return h?(t=ht(c/60),e=ht(t/60),c%=60,t%=60,n=ht(u/12),u%=12,i=c?c.toFixed(3).replace(/\.?0+$/,""):"",r=h<0?"-":"",s=lo(this._months)!==lo(h)?"-":"",o=lo(this._days)!==lo(h)?"-":"",a=lo(this._milliseconds)!==lo(h)?"-":"",r+"P"+(n?s+n+"Y":"")+(u?s+u+"M":"")+(l?o+l+"D":"")+(e||t||c?"T":"")+(e?a+e+"H":"")+(t?a+t+"M":"")+(c?a+i+"S":"")):"P0D"}var ho=ci.prototype;return ho.isValid=oi,ho.abs=Ls,ho.add=Ts,ho.subtract=Ss,ho.as=Ds,ho.asMilliseconds=Ns,ho.asSeconds=As,ho.asMinutes=Ps,ho.asHours=js,ho.asDays=Fs,ho.asWeeks=Hs,ho.asMonths=Gs,ho.asQuarters=qs,ho.asYears=zs,ho.valueOf=Ys,ho._bubble=ks,ho.clone=Bs,ho.get=$s,ho.milliseconds=Us,ho.seconds=Vs,ho.minutes=Xs,ho.hours=Ks,ho.days=Zs,ho.weeks=to,ho.months=Js,ho.years=Qs,ho.humanize=ao,ho.toISOString=uo,ho.toString=uo,ho.toJSON=uo,ho.locale=cr,ho.localeData=ur,ho.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",uo),ho.lang=lr,q("X",0,0,"unix"),q("x",0,0,"valueOf"),At("x",It),At("X",Rt),Gt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),Gt("x",function(t,e,n){n._d=new Date(dt(t))}), //! moment.js -s.version="2.29.1",o(Kn),s.fn=ls,s.min=ti,s.max=ei,s.now=ni,s.utc=m,s.unix=us,s.months=gs,s.isDate=f,s.locale=mn,s.invalid=b,s.duration=ki,s.isMoment=E,s.weekdays=vs,s.parseZone=hs,s.localeData=vn,s.isDuration=ci,s.monthsShort=ys,s.weekdaysMin=Ms,s.defineLocale=gn,s.updateLocale=yn,s.locales=bn,s.weekdaysShort=bs,s.normalizeUnits=st,s.relativeTimeRounding=ro,s.relativeTimeThreshold=so,s.calendarFormat=qi,s.prototype=ls,s.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},s})}).call(this,n("62e4")(t))},c1f9:function(t,e,n){"use strict";n("6762"),n("2fdb");var i=n("dd1f"),r=n("525b"),s=n("bc9b"),o=n("e660"),a={radio:i["a"],checkbox:r["a"],toggle:s["a"]};e["a"]={name:"QOptionGroup",mixins:[o["a"]],props:{value:{required:!0},type:{default:"radio",validator:function(t){return["radio","checkbox","toggle"].includes(t)}},color:String,keepColor:Boolean,dark:Boolean,options:{type:Array,validator:function(t){return t.every(function(t){return"value"in t&&"label"in t})}},leftLabel:Boolean,inline:Boolean,disable:Boolean,readonly:Boolean},computed:{component:function(){return a[this.type]},model:function(){return Array.isArray(this.value)?this.value.slice():this.value},length:function(){return this.value?"radio"===this.type?1:this.value.length:0},__needsBorder:function(){return!0}},methods:{__onFocus:function(){this.$emit("focus")},__onBlur:function(){this.$emit("blur")},__update:function(t){var e=this;this.$emit("input",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})}},created:function(){var t=Array.isArray(this.value);"radio"===this.type?t&&console.error("q-option-group: model should not be array"):t||console.error("q-option-group: model should be array in your case")},render:function(t){var e=this;return t("div",{staticClass:"q-option-group group",class:{"q-option-group-inline-opts":this.inline}},this.options.map(function(n){return t("div",[t(e.component,{props:{value:e.value,val:n.value,readonly:e.readonly||n.readonly,disable:e.disable||n.disable,label:n.label,leftLabel:e.leftLabel||n.leftLabel,color:n.color||e.color,checkedIcon:n.checkedIcon,uncheckedIcon:n.uncheckedIcon,dark:n.dark||e.dark,keepColor:n.keepColor||e.keepColor},on:{input:e.__update,focus:e.__onFocus,blur:e.__onBlur}})])}))}}},c207:function(t,e){},c240:function(t,e){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}t.exports=n},c26b:function(t,e,n){"use strict";var i=n("86cc").f,r=n("2aeb"),s=n("dcbc"),o=n("9b43"),a=n("f605"),c=n("4a59"),l=n("01f9"),u=n("d53b"),h=n("7a56"),d=n("9e1e"),f=n("67ab").fastKey,p=n("b39a"),_=d?"_s":"size",m=function(t,e){var n,i=f(e);if("F"!==i)return t._i[i];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,l){var u=t(function(t,i){a(t,u,e,"_i"),t._t=e,t._i=r(null),t._f=void 0,t._l=void 0,t[_]=0,void 0!=i&&c(i,n,t[l],t)});return s(u.prototype,{clear:function(){for(var t=p(this,e),n=t._i,i=t._f;i;i=i.n)i.r=!0,i.p&&(i.p=i.p.n=void 0),delete n[i.i];t._f=t._l=void 0,t[_]=0},delete:function(t){var n=p(this,e),i=m(n,t);if(i){var r=i.n,s=i.p;delete n._i[i.i],i.r=!0,s&&(s.n=r),r&&(r.p=s),n._f==i&&(n._f=r),n._l==i&&(n._l=s),n[_]--}return!!i},forEach:function(t){p(this,e);var n,i=o(t,arguments.length>1?arguments[1]:void 0,3);while(n=n?n.n:this._f){i(n.v,n.k,this);while(n&&n.r)n=n.p}},has:function(t){return!!m(p(this,e),t)}}),d&&i(u.prototype,"size",{get:function(){return p(this,e)[_]}}),u},def:function(t,e,n){var i,r,s=m(t,e);return s?s.v=n:(t._l=s={i:r=f(e,!0),k:e,v:n,p:i=t._l,n:void 0,r:!1},t._f||(t._f=s),i&&(i.n=s),t[_]++,"F"!==r&&(t._i[r]=s)),t},getEntry:m,setStrong:function(t,e,n){l(t,e,function(t,n){this._t=p(t,e),this._k=n,this._l=void 0},function(){var t=this,e=t._k,n=t._l;while(n&&n.r)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?u(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,u(1))},n?"entries":"values",!n,!0),h(e)}}},c282:function(t,e,n){"use strict";(function(e){var i=n("2582"),r={},s=!1,o=e.chrome&&e.chrome.app&&e.chrome.app.runtime;t.exports={attachEvent:function(t,n){"undefined"!==typeof e.addEventListener?e.addEventListener(t,n,!1):e.document&&e.attachEvent&&(e.document.attachEvent("on"+t,n),e.attachEvent("on"+t,n))},detachEvent:function(t,n){"undefined"!==typeof e.addEventListener?e.removeEventListener(t,n,!1):e.document&&e.detachEvent&&(e.document.detachEvent("on"+t,n),e.detachEvent("on"+t,n))},unloadAdd:function(t){if(o)return null;var e=i.string(8);return r[e]=t,s&&setTimeout(this.triggerUnloadCallbacks,0),e},unloadDel:function(t){t in r&&delete r[t]},triggerUnloadCallbacks:function(){for(var t in r)r[t](),delete r[t]}};var a=function(){s||(s=!0,t.exports.triggerUnloadCallbacks())};o||t.exports.attachEvent("unload",a)}).call(this,n("c8ba"))},c2d3:function(t,e,n){"use strict";window.ol&&!ol.ext&&(ol.ext={});var i=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t};window.ol&&(ol.inherits||(ol.inherits=i)),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),window.Element&&!Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),e["a"]=i},c345:function(t,e,n){"use strict";var i=n("c532"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,s,o={};return t?(i.forEach(t.split("\n"),function(t){if(s=t.indexOf(":"),e=i.trim(t.substr(0,s)).toLowerCase(),n=i.trim(t.substr(s+1)),e){if(o[e]&&r.indexOf(e)>=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}}),o):o}},c366:function(t,e,n){var i=n("6821"),r=n("9def"),s=n("77f1");t.exports=function(t){return function(e,n,o){var a,c=i(e),l=r(c.length),u=s(o,l);if(t&&n!=n){while(l>u)if(a=c[u++],a!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var i=n("8436"),r=n("50ed"),s=n("481b"),o=n("36c3");t.exports=n("30f1")(Array,"Array",function(t,e){this._t=o(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),s.Arguments=s.Array,i("keys"),i("values"),i("entries")},c3a1:function(t,e,n){var i=n("e6f3"),r=n("1691");t.exports=Object.keys||function(t){return i(t,r)}},c401:function(t,e,n){"use strict";var i=n("c532");t.exports=function(t,e,n){return i.forEach(n,function(n){t=n(t,e)}),t}},c4c8:function(t,e,n){"use strict";var i=n("7b52"),r=n("a829"),s=n("138e"),o=n("c191"),a=n("cd4a"),c=n("0360"),l=n("78c4"),u=n("76af"),h=n("0dd8"),d=n("67bc"),f=n("70d5"),p=n("668c"),_=n("3b32");class m{constructor(){m.constructor_.apply(this,arguments)}static constructor_(){this._geometryFactory=new a["a"],this._geomGraph=null,this._disconnectedRingcoord=null;const t=arguments[0];this._geomGraph=t}static findDifferentPoint(t,e){for(let n=0;n1)return this._invalidPoint=e.getEdge().getCoordinate(0),!0}}return!1}isNodeConsistentArea(){const t=this._geomGraph.computeSelfNodes(this._li,!0,!0);return t.hasProperIntersection()?(this._invalidPoint=t.getProperIntersectionPoint(),!1):(this._nodeGraph.build(this._geomGraph),this.isNodeEdgeAreaLabelsConsistent())}}var C=n("c73a"),I=n("46ef"),D=n("c8c7"),Y=n("caca");class R{constructor(){R.constructor_.apply(this,arguments)}static constructor_(){this._graph=null,this._rings=new f["a"],this._totalEnv=new Y["a"],this._index=null,this._nestedPt=null;const t=arguments[0];this._graph=t}buildIndex(){this._index=new D["a"];for(let t=0;t=1&&(e=t.getCoordinateN(0)),this._validErr=new A(A.RING_NOT_CLOSED,e)}}checkShellsNotNested(t,e){for(let n=0;n=o[0]&&a[2]<=o[2]||(a[1]>=o[1]&&a[3]<=o[3]||Object(s["a"])(t,e,n,r,function(t,e){return Object(i["G"])(o,t,e)}))))}function a(t,e,n,i,r){for(var s=0,a=n.length;s-1&&e-1){var l=this.buffer[c];r&&(l.exact=r),i&&(l.selectable=i),s&&(l.selected=s),o&&(l.priority=o)}else this.buffer.push(t);a&&(this.bufferTimer=setTimeout(function(){var t=e.buffer.find(function(t){return t.exact&&t.selected})||e.buffer.find(function(t){return t.selectable&&t.selected})||e.buffer.find(function(t){return t.exact})||e.buffer.filter(function(t){return t.selectable}).sort(function(t,e){return e.priority-t.priority})[0]||e.buffer[0];e.buffer.length=0,e.selectTab(t.value)},100))},__swipe:function(t){this.go("left"===t.direction?1:-1)},__repositionBar:function(){var t=this;clearTimeout(this.timer);var e=!1,n=this.$refs.posbar,i=this.currentEl;if(!1!==this.data.highlight&&(this.data.highlight=!1,e=!0),!i)return this.finalPosbar={width:0,left:0},void this.__setPositionBar(0,0);var r=n.parentNode.offsetLeft;e&&this.oldEl&&this.__setPositionBar(this.oldEl.getBoundingClientRect().width,this.oldEl.offsetLeft-r),this.timer=setTimeout(function(){var e=i.getBoundingClientRect().width,s=i.offsetLeft-r;n.classList.remove("contract"),t.oldEl=i,t.finalPosbar={width:e,left:s},t.__setPositionBar(t.posbar.left0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.posbar.width!==t||this.posbar.left!==e){this.posbar={width:t,left:e};var n=this.$q.i18n.rtl?e+t:e;this.$refs.posbar.style.transform="translateX(".concat(n,"px) scaleX(").concat(t,")")}else this.__updatePosbarTransition()},__updatePosbarTransition:function(){if(this.finalPosbar.width===this.posbar.width&&this.finalPosbar.left===this.posbar.left)return this.posbar={},void(!0!==this.data.highlight&&(this.data.highlight=!0));this.$refs.posbar.classList.add("contract"),this.__setPositionBar(this.finalPosbar.width,this.finalPosbar.left)},__redraw:function(){this.$q.platform.is.desktop&&(this.scrollerWidth=Object(i["e"])(this.$refs.scroller),0===this.scrollerWidth&&0===this.$refs.scroller.scrollWidth||(this.scrollerWidth+5=this.$refs.scroller.scrollWidth?"add":"remove";this.$refs.leftScroll.classList[this.$refs.scroller.scrollLeft<=0?"add":"remove"]("disabled"),this.$refs.rightScroll.classList[t]("disabled")}},__getTabElByName:function(t){var e=this.$children.find(function(e){return e.name===t&&e.$el&&1===e.$el.nodeType});if(e)return e.$el},__findTabAndScroll:function(t,e){var n=this;setTimeout(function(){n.__scrollToTab(n.__getTabElByName(t),e)},4*l)},__scrollToTab:function(t,e){if(t&&this.scrollable){var n=this.$refs.scroller.getBoundingClientRect(),i=t.getBoundingClientRect(),r=i.width,s=i.left-n.left;s<0?e?this.$refs.scroller.scrollLeft+=s:this.__animScrollTo(this.$refs.scroller.scrollLeft+s):(s+=r-this.$refs.scroller.offsetWidth,s>0&&(e?this.$refs.scroller.scrollLeft+=s:this.__animScrollTo(this.$refs.scroller.scrollLeft+s)))}},__animScrollTo:function(t){var e=this;this.__stopAnimScroll(),this.__scrollTowards(t),this.scrollTimer=setInterval(function(){e.__scrollTowards(t)&&e.__stopAnimScroll()},5)},__scrollToStart:function(){this.__animScrollTo(0)},__scrollToEnd:function(){this.__animScrollTo(9999)},__stopAnimScroll:function(){clearInterval(this.scrollTimer)},__scrollTowards:function(t){var e=this.$refs.scroller.scrollLeft,n=t=t)&&(i=!0,e=t),this.$refs.scroller.scrollLeft=e,i}},render:function(t){return t("div",{staticClass:"q-tabs flex no-wrap overflow-hidden",class:this.classes},[t("div",{staticClass:"q-tabs-head row",ref:"tabs",class:this.innerClasses},[t("div",{ref:"scroller",staticClass:"q-tabs-scroller row no-wrap"},[this.$slots.title,t("div",{staticClass:"relative-position self-stretch q-tabs-global-bar-container",class:this.posbarClasses},[t("div",{ref:"posbar",staticClass:"q-tabs-bar q-tabs-global-bar",class:this.data.underlineClass,on:{transitionend:this.__updatePosbarTransition}})])]),t("div",{ref:"leftScroll",staticClass:"row flex-center q-tabs-left-scroll",on:{mousedown:this.__scrollToStart,touchstart:this.__scrollToStart,mouseup:this.__stopAnimScroll,mouseleave:this.__stopAnimScroll,touchend:this.__stopAnimScroll}},[t(s["a"],{props:{name:this.$q.icon.tabs.left}})]),t("div",{ref:"rightScroll",staticClass:"row flex-center q-tabs-right-scroll",on:{mousedown:this.__scrollToEnd,touchstart:this.__scrollToEnd,mouseup:this.__stopAnimScroll,mouseleave:this.__stopAnimScroll,touchend:this.__stopAnimScroll}},[t(s["a"],{props:{name:this.$q.icon.tabs.right}})])]),t("div",{staticClass:"q-tabs-panes",class:this.panesContainerClass,directives:this.swipeable?[{name:"touch-swipe",value:this.__swipe}]:null},this.$slots.default)])},created:function(){this.timer=null,this.scrollTimer=null,this.bufferTimer=null,this.buffer=[],this.scrollable=!this.$q.platform.is.desktop,this.__redraw=Object(r["a"])(this.__redraw,l),this.__updateScrollIndicator=Object(r["a"])(this.__updateScrollIndicator,l)},mounted:function(){var t=this;this.$nextTick(function(){t.$refs.scroller&&(t.$refs.scroller.addEventListener("scroll",t.__updateScrollIndicator,o["e"].passive),window.addEventListener("resize",t.__redraw,o["e"].passive),""!==t.data.tabName&&t.value&&t.selectTab(t.value),t.__redraw(),t.__findTabAndScroll(t.data.tabName,!0))})},beforeDestroy:function(){clearTimeout(this.timer),clearTimeout(this.bufferTimer),this.__stopAnimScroll(),this.$refs.scroller.removeEventListener("scroll",this.__updateScrollIndicator,o["e"].passive),window.removeEventListener("resize",this.__redraw,o["e"].passive),this.__redraw.cancel(),this.__updateScrollIndicator.cancel()}}},c569:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("0ba1"),r=n("af0f"),s=n("76fd"),o=n("968e"),a=n("223d"),c=n("caca");class l{static isRing(t){return!(t.length<4)&&!!t[0].equals2D(t[t.length-1])}static ptNotInList(t,e){for(let n=0;n=t?e:[]}static indexOf(t,e){for(let n=0;n0)&&(e=t[n]);return e}static extract(t,e,n){e=s["a"].clamp(e,0,t.length),n=s["a"].clamp(n,-1,t.length);let i=n-e+1;n<0&&(i=0),e>=t.length&&(i=0),ni.length)return 1;if(0===n.length)return 0;const r=l.compare(n,i),s=l.isEqualReversed(n,i);return s?0:r}OLDcompare(t,e){const n=t,i=e;if(n.lengthi.length)return 1;if(0===n.length)return 0;const r=l.increasingDirection(n),s=l.increasingDirection(i);let o=r>0?0:n.length-1,a=s>0?0:n.length-1;for(let c=0;c2){e=y?e.trim():d(e,3);var n,i,r,s=e.charCodeAt(0);if(43===s||45===s){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===s){switch(e.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+e}for(var o,c=e.slice(2),l=0,u=c.length;lr)return NaN;return parseInt(c,i)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(g?c(function(){m.valueOf.call(n)}):s(n)!=f)?o(new _(v(e)),n,p):v(e)};for(var b,M=n("9e1e")?l(_):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;M.length>w;w++)r(_,b=M[w])&&!r(p,b)&&h(p,b,u(_,b));p.prototype=m,m.constructor=p,n("2aba")(i,f,p)}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},c6a3:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{add(){}addAll(){}isEmpty(){}iterator(){}size(){}toArray(){}remove(){}}},c6e1:function(t,e,n){(function(e,n){t.exports=n()})(0,function(){"use strict";var t=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},e=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";t(this,n),this.command=e,this.headers=i,this.body=r}return e(n,[{key:"toString",value:function(){var t=this,e=[this.command],n=!1===this.headers["content-length"];return n&&delete this.headers["content-length"],Object.keys(this.headers).forEach(function(n){var i=t.headers[n];e.push(n+":"+i)}),this.body&&!n&&e.push("content-length:"+h(this.body)),e.push(a.LF+this.body),e.join(a.LF)}}],[{key:"unmarshallSingle",value:function(t){var e=t.search(new RegExp(a.LF+a.LF)),i=t.substring(0,e).split(a.LF),r=i.shift(),s={},o="",l=e+2,u=!0,h=!1,d=void 0;try{for(var f,p=i.reverse()[Symbol.iterator]();!(u=(f=p.next()).done);u=!0){var _=f.value,m=_.indexOf(":");s[c(_.substring(0,m))]=c(_.substring(m+1))}}catch(t){h=!0,d=t}finally{try{!u&&p.return&&p.return()}finally{if(h)throw d}}if(s["content-length"]){var g=parseInt(s["content-length"],10);o=(""+t).substring(l,l+g)}else for(var y=null,v=l;v1&&void 0!==arguments[1]?arguments[1]:{};t(this,i);var r=n.binary,s=void 0!==r&&r,o=n.heartbeat,a=void 0===o?{outgoing:1e4,incoming:1e4}:o,c=n.debug,l=void 0===c||c,u=n.protocols,h=void 0===u?[]:u;this.ws=e,this.ws.binaryType="arraybuffer",this.isBinary=!!s,this.hasDebug=!!l,this.connected=!1,this.heartbeat=a||{outgoing:0,incoming:0},this.maxWebSocketFrameSize=16384,this.subscriptions={},this.partialData="",this.protocols=h}return e(i,[{key:"debug",value:function(){var t;this.hasDebug&&(t=console).log.apply(t,arguments)}},{key:"connect",value:function(){var t=this,e=this._parseConnect.apply(this,arguments),i=n(e,3),s=i[0],c=i[1],l=i[2];this.connectCallback=c,this.debug("Opening Web Socket..."),this.ws.onmessage=function(e){var n=e.data;if(e.data instanceof ArrayBuffer&&(n=u(new Uint8Array(e.data))),t.serverActivity=Date.now(),n!==a.LF){t.debug("<<< "+n);var i=f.unmarshall(t.partialData+n);t.partialData=i.partial,i.frames.forEach(function(e){switch(e.command){case"CONNECTED":t.debug("connected to server "+e.headers.server),t.connected=!0,t.version=e.headers.version,t._setupHeartbeat(e.headers),c&&c(e);break;case"MESSAGE":var n=e.headers.subscription,i=t.subscriptions[n]||t.onreceive;if(i){var s=t.version===r.V1_2&&e.headers.ack||e.headers["message-id"];e.ack=t.ack.bind(t,s,n),e.nack=t.nack.bind(t,s,n),i(e)}else t.debug("Unhandled received MESSAGE: "+e);break;case"RECEIPT":t.onreceipt&&t.onreceipt(e);break;case"ERROR":l&&l(e);break;default:t.debug("Unhandled frame: "+e)}})}else t.debug("<<< PONG")},this.ws.onclose=function(e){t.debug("Whoops! Lost connection to "+t.ws.url+":",{event:e}),t._cleanUp(),l&&l(e)},this.ws.onopen=function(){t.debug("Web Socket Opened..."),s["accept-version"]=o(t.ws.protocol||t.protocols[0],t.debug.bind(t)),s["heart-beat"]||(s["heart-beat"]=[t.heartbeat.outgoing,t.heartbeat.incoming].join(",")),t._transmit("CONNECT",s)},this.ws.readyState===this.ws.OPEN&&this.ws.onopen()}},{key:"disconnect",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._transmit("DISCONNECT",e),this.ws.onclose=null,this.ws.close(),this._cleanUp(),t&&t()}},{key:"send",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Object.assign({},n);i.destination=t,this._transmit("SEND",i,e)}},{key:"begin",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tx-"+d();return this._transmit("BEGIN",{transaction:t}),{id:t,commit:this.commit.bind(this,t),abort:this.abort.bind(this,t)}}},{key:"commit",value:function(t){this._transmit("COMMIT",{transaction:t})}},{key:"abort",value:function(t){this._transmit("ABORT",{transaction:t})}},{key:"ack",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Object.assign({},n),s=this.version===r.V1_2?"id":"message-id";i[s]=t,i.subscription=e,this._transmit("ACK",i)}},{key:"nack",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Object.assign({},n),s=this.version===r.V1_2?"id":"message-id";i[s]=t,i.subscription=e,this._transmit("NACK",i)}},{key:"subscribe",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Object.assign({},n);return i.id||(i.id="sub-"+d()),i.destination=t,this.subscriptions[i.id]=e,this._transmit("SUBSCRIBE",i),{id:i.id,unsubscribe:this.unsubscribe.bind(this,i.id)}}},{key:"unsubscribe",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},e);delete this.subscriptions[t],n.id=t,this._transmit("UNSUBSCRIBE",n)}},{key:"_cleanUp",value:function(){this.connected=!1,clearInterval(this.pinger),clearInterval(this.ponger)}},{key:"_transmit",value:function(t,e,n){var i=f.marshall(t,e,n);this.debug(">>> "+i,{frame:{command:t,headers:e,body:n}}),this._wsSend(i)}},{key:"_wsSend",value:function(t){this.isBinary&&(t=l(t)),this.debug(">>> length "+t.length);while(1){if(!(t.length>this.maxWebSocketFrameSize))return this.ws.send(t);this.ws.send(t.slice(0,this.maxWebSocketFrameSize)),t=t.slice(this.maxWebSocketFrameSize),this.debug("remaining = "+t.length)}}},{key:"_setupHeartbeat",value:function(t){var e=this;if(this.version===r.V1_1||this.version===r.V1_2){var i=(t["heart-beat"]||"0,0").split(",").map(function(t){return parseInt(t,10)}),s=n(i,2),o=s[0],c=s[1];if(0!==this.heartbeat.outgoing&&0!==c){var l=Math.max(this.heartbeat.outgoing,c);this.debug("send PING every "+l+"ms"),this.pinger=setInterval(function(){e._wsSend(a.LF),e.debug(">>> PING")},l)}if(0!==this.heartbeat.incoming&&0!==o){var u=Math.max(this.heartbeat.incoming,o);this.debug("check PONG every "+u+"ms"),this.ponger=setInterval(function(){var t=Date.now()-e.serverActivity;t>2*u&&(e.debug("did not receive server activity for the last "+t+"ms"),e.ws.close())},u)}}}},{key:"_parseConnect",value:function(){for(var t={},e=void 0,n=void 0,i=arguments.length,r=Array(i),s=0;s1&&void 0!==arguments[1]?arguments[1]:{},n=new WebSocket(t,e.protocols||r.supportedProtocols());return new p(n,e)},over:function(){for(var t=arguments.length,e=Array(t),n=0;n1?arguments[1]:void 0,3);while(n=n?n.n:this._f){i(n.v,n.k,this);while(n&&n.r)n=n.p}},has:function(t){return!!m(p(this,e),t)}}),d&&i(u.prototype,"size",{get:function(){return p(this,e)[_]}}),u},def:function(t,e,n){var i,r,s=m(t,e);return s?s.v=n:(t._l=s={i:r=f(e,!0),k:e,v:n,p:i=t._l,n:void 0,r:!1},t._f||(t._f=s),i&&(i.n=s),t[_]++,"F"!==r&&(t._i[r]=s)),t},getEntry:m,setStrong:function(t,e,n){l(t,e,function(t,n){this._t=p(t,e),this._k=n,this._l=void 0},function(){var t=this,e=t._k,n=t._l;while(n&&n.r)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?u(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,u(1))},n?"entries":"values",!n,!0),h(e)}}},c282:function(t,e,n){"use strict";(function(e){var i=n("2582"),r={},s=!1,o=e.chrome&&e.chrome.app&&e.chrome.app.runtime;t.exports={attachEvent:function(t,n){"undefined"!==typeof e.addEventListener?e.addEventListener(t,n,!1):e.document&&e.attachEvent&&(e.document.attachEvent("on"+t,n),e.attachEvent("on"+t,n))},detachEvent:function(t,n){"undefined"!==typeof e.addEventListener?e.removeEventListener(t,n,!1):e.document&&e.detachEvent&&(e.document.detachEvent("on"+t,n),e.detachEvent("on"+t,n))},unloadAdd:function(t){if(o)return null;var e=i.string(8);return r[e]=t,s&&setTimeout(this.triggerUnloadCallbacks,0),e},unloadDel:function(t){t in r&&delete r[t]},triggerUnloadCallbacks:function(){for(var t in r)r[t](),delete r[t]}};var a=function(){s||(s=!0,t.exports.triggerUnloadCallbacks())};o||t.exports.attachEvent("unload",a)}).call(this,n("c8ba"))},c2d3:function(t,e,n){"use strict";window.ol&&!ol.ext&&(ol.ext={});var i=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t};window.ol&&(ol.inherits||(ol.inherits=i)),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),window.Element&&!Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),e["a"]=i},c345:function(t,e,n){"use strict";var i=n("c532"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,s,o={};return t?(i.forEach(t.split("\n"),function(t){if(s=t.indexOf(":"),e=i.trim(t.substr(0,s)).toLowerCase(),n=i.trim(t.substr(s+1)),e){if(o[e]&&r.indexOf(e)>=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}}),o):o}},c366:function(t,e,n){var i=n("6821"),r=n("9def"),s=n("77f1");t.exports=function(t){return function(e,n,o){var a,c=i(e),l=r(c.length),u=s(o,l);if(t&&n!=n){while(l>u)if(a=c[u++],a!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var i=n("8436"),r=n("50ed"),s=n("481b"),o=n("36c3");t.exports=n("30f1")(Array,"Array",function(t,e){this._t=o(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),s.Arguments=s.Array,i("keys"),i("values"),i("entries")},c3a1:function(t,e,n){var i=n("e6f3"),r=n("1691");t.exports=Object.keys||function(t){return i(t,r)}},c401:function(t,e,n){"use strict";var i=n("c532");t.exports=function(t,e,n){return i.forEach(n,function(n){t=n(t,e)}),t}},c4c8:function(t,e,n){"use strict";var i=n("7b52"),r=n("a829"),s=n("138e"),o=n("c191"),a=n("cd4a"),c=n("0360"),l=n("78c4"),u=n("76af"),h=n("0dd8"),d=n("67bc"),f=n("70d5"),p=n("668c"),_=n("3b32");class m{constructor(){m.constructor_.apply(this,arguments)}static constructor_(){this._geometryFactory=new a["a"],this._geomGraph=null,this._disconnectedRingcoord=null;const t=arguments[0];this._geomGraph=t}static findDifferentPoint(t,e){for(let n=0;n1)return this._invalidPoint=e.getEdge().getCoordinate(0),!0}}return!1}isNodeConsistentArea(){const t=this._geomGraph.computeSelfNodes(this._li,!0,!0);return t.hasProperIntersection()?(this._invalidPoint=t.getProperIntersectionPoint(),!1):(this._nodeGraph.build(this._geomGraph),this.isNodeEdgeAreaLabelsConsistent())}}var C=n("c73a"),I=n("46ef"),D=n("c8c7"),Y=n("caca");class R{constructor(){R.constructor_.apply(this,arguments)}static constructor_(){this._graph=null,this._rings=new f["a"],this._totalEnv=new Y["a"],this._index=null,this._nestedPt=null;const t=arguments[0];this._graph=t}buildIndex(){this._index=new D["a"];for(let t=0;t=1&&(e=t.getCoordinateN(0)),this._validErr=new N(N.RING_NOT_CLOSED,e)}}checkShellsNotNested(t,e){for(let n=0;n=o[0]&&a[2]<=o[2]||(a[1]>=o[1]&&a[3]<=o[3]||Object(s["a"])(t,e,n,r,function(t,e){return Object(i["G"])(o,t,e)}))))}function a(t,e,n,i,r){for(var s=0,a=n.length;s-1&&e-1){var l=this.buffer[c];r&&(l.exact=r),i&&(l.selectable=i),s&&(l.selected=s),o&&(l.priority=o)}else this.buffer.push(t);a&&(this.bufferTimer=setTimeout(function(){var t=e.buffer.find(function(t){return t.exact&&t.selected})||e.buffer.find(function(t){return t.selectable&&t.selected})||e.buffer.find(function(t){return t.exact})||e.buffer.filter(function(t){return t.selectable}).sort(function(t,e){return e.priority-t.priority})[0]||e.buffer[0];e.buffer.length=0,e.selectTab(t.value)},100))},__swipe:function(t){this.go("left"===t.direction?1:-1)},__repositionBar:function(){var t=this;clearTimeout(this.timer);var e=!1,n=this.$refs.posbar,i=this.currentEl;if(!1!==this.data.highlight&&(this.data.highlight=!1,e=!0),!i)return this.finalPosbar={width:0,left:0},void this.__setPositionBar(0,0);var r=n.parentNode.offsetLeft;e&&this.oldEl&&this.__setPositionBar(this.oldEl.getBoundingClientRect().width,this.oldEl.offsetLeft-r),this.timer=setTimeout(function(){var e=i.getBoundingClientRect().width,s=i.offsetLeft-r;n.classList.remove("contract"),t.oldEl=i,t.finalPosbar={width:e,left:s},t.__setPositionBar(t.posbar.left0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.posbar.width!==t||this.posbar.left!==e){this.posbar={width:t,left:e};var n=this.$q.i18n.rtl?e+t:e;this.$refs.posbar.style.transform="translateX(".concat(n,"px) scaleX(").concat(t,")")}else this.__updatePosbarTransition()},__updatePosbarTransition:function(){if(this.finalPosbar.width===this.posbar.width&&this.finalPosbar.left===this.posbar.left)return this.posbar={},void(!0!==this.data.highlight&&(this.data.highlight=!0));this.$refs.posbar.classList.add("contract"),this.__setPositionBar(this.finalPosbar.width,this.finalPosbar.left)},__redraw:function(){this.$q.platform.is.desktop&&(this.scrollerWidth=Object(i["e"])(this.$refs.scroller),0===this.scrollerWidth&&0===this.$refs.scroller.scrollWidth||(this.scrollerWidth+5=this.$refs.scroller.scrollWidth?"add":"remove";this.$refs.leftScroll.classList[this.$refs.scroller.scrollLeft<=0?"add":"remove"]("disabled"),this.$refs.rightScroll.classList[t]("disabled")}},__getTabElByName:function(t){var e=this.$children.find(function(e){return e.name===t&&e.$el&&1===e.$el.nodeType});if(e)return e.$el},__findTabAndScroll:function(t,e){var n=this;setTimeout(function(){n.__scrollToTab(n.__getTabElByName(t),e)},4*l)},__scrollToTab:function(t,e){if(t&&this.scrollable){var n=this.$refs.scroller.getBoundingClientRect(),i=t.getBoundingClientRect(),r=i.width,s=i.left-n.left;s<0?e?this.$refs.scroller.scrollLeft+=s:this.__animScrollTo(this.$refs.scroller.scrollLeft+s):(s+=r-this.$refs.scroller.offsetWidth,s>0&&(e?this.$refs.scroller.scrollLeft+=s:this.__animScrollTo(this.$refs.scroller.scrollLeft+s)))}},__animScrollTo:function(t){var e=this;this.__stopAnimScroll(),this.__scrollTowards(t),this.scrollTimer=setInterval(function(){e.__scrollTowards(t)&&e.__stopAnimScroll()},5)},__scrollToStart:function(){this.__animScrollTo(0)},__scrollToEnd:function(){this.__animScrollTo(9999)},__stopAnimScroll:function(){clearInterval(this.scrollTimer)},__scrollTowards:function(t){var e=this.$refs.scroller.scrollLeft,n=t=t)&&(i=!0,e=t),this.$refs.scroller.scrollLeft=e,i}},render:function(t){return t("div",{staticClass:"q-tabs flex no-wrap overflow-hidden",class:this.classes},[t("div",{staticClass:"q-tabs-head row",ref:"tabs",class:this.innerClasses},[t("div",{ref:"scroller",staticClass:"q-tabs-scroller row no-wrap"},[this.$slots.title,t("div",{staticClass:"relative-position self-stretch q-tabs-global-bar-container",class:this.posbarClasses},[t("div",{ref:"posbar",staticClass:"q-tabs-bar q-tabs-global-bar",class:this.data.underlineClass,on:{transitionend:this.__updatePosbarTransition}})])]),t("div",{ref:"leftScroll",staticClass:"row flex-center q-tabs-left-scroll",on:{mousedown:this.__scrollToStart,touchstart:this.__scrollToStart,mouseup:this.__stopAnimScroll,mouseleave:this.__stopAnimScroll,touchend:this.__stopAnimScroll}},[t(s["a"],{props:{name:this.$q.icon.tabs.left}})]),t("div",{ref:"rightScroll",staticClass:"row flex-center q-tabs-right-scroll",on:{mousedown:this.__scrollToEnd,touchstart:this.__scrollToEnd,mouseup:this.__stopAnimScroll,mouseleave:this.__stopAnimScroll,touchend:this.__stopAnimScroll}},[t(s["a"],{props:{name:this.$q.icon.tabs.right}})])]),t("div",{staticClass:"q-tabs-panes",class:this.panesContainerClass,directives:this.swipeable?[{name:"touch-swipe",value:this.__swipe}]:null},this.$slots.default)])},created:function(){this.timer=null,this.scrollTimer=null,this.bufferTimer=null,this.buffer=[],this.scrollable=!this.$q.platform.is.desktop,this.__redraw=Object(r["a"])(this.__redraw,l),this.__updateScrollIndicator=Object(r["a"])(this.__updateScrollIndicator,l)},mounted:function(){var t=this;this.$nextTick(function(){t.$refs.scroller&&(t.$refs.scroller.addEventListener("scroll",t.__updateScrollIndicator,o["e"].passive),window.addEventListener("resize",t.__redraw,o["e"].passive),""!==t.data.tabName&&t.value&&t.selectTab(t.value),t.__redraw(),t.__findTabAndScroll(t.data.tabName,!0))})},beforeDestroy:function(){clearTimeout(this.timer),clearTimeout(this.bufferTimer),this.__stopAnimScroll(),this.$refs.scroller.removeEventListener("scroll",this.__updateScrollIndicator,o["e"].passive),window.removeEventListener("resize",this.__redraw,o["e"].passive),this.__redraw.cancel(),this.__updateScrollIndicator.cancel()}}},c569:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("0ba1"),r=n("af0f"),s=n("76fd"),o=n("968e"),a=n("223d"),c=n("caca");class l{static isRing(t){return!(t.length<4)&&!!t[0].equals2D(t[t.length-1])}static ptNotInList(t,e){for(let n=0;n=t?e:[]}static indexOf(t,e){for(let n=0;n0)&&(e=t[n]);return e}static extract(t,e,n){e=s["a"].clamp(e,0,t.length),n=s["a"].clamp(n,-1,t.length);let i=n-e+1;n<0&&(i=0),e>=t.length&&(i=0),ni.length)return 1;if(0===n.length)return 0;const r=l.compare(n,i),s=l.isEqualReversed(n,i);return s?0:r}OLDcompare(t,e){const n=t,i=e;if(n.lengthi.length)return 1;if(0===n.length)return 0;const r=l.increasingDirection(n),s=l.increasingDirection(i);let o=r>0?0:n.length-1,a=s>0?0:n.length-1;for(let c=0;c2){e=y?e.trim():d(e,3);var n,i,r,s=e.charCodeAt(0);if(43===s||45===s){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===s){switch(e.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+e}for(var o,c=e.slice(2),l=0,u=c.length;lr)return NaN;return parseInt(c,i)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(g?c(function(){m.valueOf.call(n)}):s(n)!=f)?o(new _(v(e)),n,p):v(e)};for(var b,M=n("9e1e")?l(_):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;M.length>w;w++)r(_,b=M[w])&&!r(p,b)&&h(p,b,u(_,b));p.prototype=m,m.constructor=p,n("2aba")(i,f,p)}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},c6a3:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{add(){}addAll(){}isEmpty(){}iterator(){}size(){}toArray(){}remove(){}}},c6e1:function(t,e,n){(function(e,n){t.exports=n()})(0,function(){"use strict";var t=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},e=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";t(this,n),this.command=e,this.headers=i,this.body=r}return e(n,[{key:"toString",value:function(){var t=this,e=[this.command],n=!1===this.headers["content-length"];return n&&delete this.headers["content-length"],Object.keys(this.headers).forEach(function(n){var i=t.headers[n];e.push(n+":"+i)}),this.body&&!n&&e.push("content-length:"+h(this.body)),e.push(a.LF+this.body),e.join(a.LF)}}],[{key:"unmarshallSingle",value:function(t){var e=t.search(new RegExp(a.LF+a.LF)),i=t.substring(0,e).split(a.LF),r=i.shift(),s={},o="",l=e+2,u=!0,h=!1,d=void 0;try{for(var f,p=i.reverse()[Symbol.iterator]();!(u=(f=p.next()).done);u=!0){var _=f.value,m=_.indexOf(":");s[c(_.substring(0,m))]=c(_.substring(m+1))}}catch(t){h=!0,d=t}finally{try{!u&&p.return&&p.return()}finally{if(h)throw d}}if(s["content-length"]){var g=parseInt(s["content-length"],10);o=(""+t).substring(l,l+g)}else for(var y=null,v=l;v1&&void 0!==arguments[1]?arguments[1]:{};t(this,i);var r=n.binary,s=void 0!==r&&r,o=n.heartbeat,a=void 0===o?{outgoing:1e4,incoming:1e4}:o,c=n.debug,l=void 0===c||c,u=n.protocols,h=void 0===u?[]:u;this.ws=e,this.ws.binaryType="arraybuffer",this.isBinary=!!s,this.hasDebug=!!l,this.connected=!1,this.heartbeat=a||{outgoing:0,incoming:0},this.maxWebSocketFrameSize=16384,this.subscriptions={},this.partialData="",this.protocols=h}return e(i,[{key:"debug",value:function(){var t;this.hasDebug&&(t=console).log.apply(t,arguments)}},{key:"connect",value:function(){var t=this,e=this._parseConnect.apply(this,arguments),i=n(e,3),s=i[0],c=i[1],l=i[2];this.connectCallback=c,this.debug("Opening Web Socket..."),this.ws.onmessage=function(e){var n=e.data;if(e.data instanceof ArrayBuffer&&(n=u(new Uint8Array(e.data))),t.serverActivity=Date.now(),n!==a.LF){t.debug("<<< "+n);var i=f.unmarshall(t.partialData+n);t.partialData=i.partial,i.frames.forEach(function(e){switch(e.command){case"CONNECTED":t.debug("connected to server "+e.headers.server),t.connected=!0,t.version=e.headers.version,t._setupHeartbeat(e.headers),c&&c(e);break;case"MESSAGE":var n=e.headers.subscription,i=t.subscriptions[n]||t.onreceive;if(i){var s=t.version===r.V1_2&&e.headers.ack||e.headers["message-id"];e.ack=t.ack.bind(t,s,n),e.nack=t.nack.bind(t,s,n),i(e)}else t.debug("Unhandled received MESSAGE: "+e);break;case"RECEIPT":t.onreceipt&&t.onreceipt(e);break;case"ERROR":l&&l(e);break;default:t.debug("Unhandled frame: "+e)}})}else t.debug("<<< PONG")},this.ws.onclose=function(e){t.debug("Whoops! Lost connection to "+t.ws.url+":",{event:e}),t._cleanUp(),l&&l(e)},this.ws.onopen=function(){t.debug("Web Socket Opened..."),s["accept-version"]=o(t.ws.protocol||t.protocols[0],t.debug.bind(t)),s["heart-beat"]||(s["heart-beat"]=[t.heartbeat.outgoing,t.heartbeat.incoming].join(",")),t._transmit("CONNECT",s)},this.ws.readyState===this.ws.OPEN&&this.ws.onopen()}},{key:"disconnect",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._transmit("DISCONNECT",e),this.ws.onclose=null,this.ws.close(),this._cleanUp(),t&&t()}},{key:"send",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Object.assign({},n);i.destination=t,this._transmit("SEND",i,e)}},{key:"begin",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tx-"+d();return this._transmit("BEGIN",{transaction:t}),{id:t,commit:this.commit.bind(this,t),abort:this.abort.bind(this,t)}}},{key:"commit",value:function(t){this._transmit("COMMIT",{transaction:t})}},{key:"abort",value:function(t){this._transmit("ABORT",{transaction:t})}},{key:"ack",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Object.assign({},n),s=this.version===r.V1_2?"id":"message-id";i[s]=t,i.subscription=e,this._transmit("ACK",i)}},{key:"nack",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Object.assign({},n),s=this.version===r.V1_2?"id":"message-id";i[s]=t,i.subscription=e,this._transmit("NACK",i)}},{key:"subscribe",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Object.assign({},n);return i.id||(i.id="sub-"+d()),i.destination=t,this.subscriptions[i.id]=e,this._transmit("SUBSCRIBE",i),{id:i.id,unsubscribe:this.unsubscribe.bind(this,i.id)}}},{key:"unsubscribe",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},e);delete this.subscriptions[t],n.id=t,this._transmit("UNSUBSCRIBE",n)}},{key:"_cleanUp",value:function(){this.connected=!1,clearInterval(this.pinger),clearInterval(this.ponger)}},{key:"_transmit",value:function(t,e,n){var i=f.marshall(t,e,n);this.debug(">>> "+i,{frame:{command:t,headers:e,body:n}}),this._wsSend(i)}},{key:"_wsSend",value:function(t){this.isBinary&&(t=l(t)),this.debug(">>> length "+t.length);while(1){if(!(t.length>this.maxWebSocketFrameSize))return this.ws.send(t);this.ws.send(t.slice(0,this.maxWebSocketFrameSize)),t=t.slice(this.maxWebSocketFrameSize),this.debug("remaining = "+t.length)}}},{key:"_setupHeartbeat",value:function(t){var e=this;if(this.version===r.V1_1||this.version===r.V1_2){var i=(t["heart-beat"]||"0,0").split(",").map(function(t){return parseInt(t,10)}),s=n(i,2),o=s[0],c=s[1];if(0!==this.heartbeat.outgoing&&0!==c){var l=Math.max(this.heartbeat.outgoing,c);this.debug("send PING every "+l+"ms"),this.pinger=setInterval(function(){e._wsSend(a.LF),e.debug(">>> PING")},l)}if(0!==this.heartbeat.incoming&&0!==o){var u=Math.max(this.heartbeat.incoming,o);this.debug("check PONG every "+u+"ms"),this.ponger=setInterval(function(){var t=Date.now()-e.serverActivity;t>2*u&&(e.debug("did not receive server activity for the last "+t+"ms"),e.ws.close())},u)}}}},{key:"_parseConnect",value:function(){for(var t={},e=void 0,n=void 0,i=arguments.length,r=Array(i),s=0;s1&&void 0!==arguments[1]?arguments[1]:{},n=new WebSocket(t,e.protocols||r.supportedProtocols());return new p(n,e)},over:function(){for(var t=arguments.length,e=Array(t),n=0;n * @license MIT */ -t.exports=function(t){return null!=t&&null!=t.constructor&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}},c7e3:function(t,e,n){"use strict";var i=n("dc2b"),r=n("7b52"),s=n("f885"),o=n("d7bb"),a=n("ad3f"),c=n("fd89");class l{static octant(){if("number"===typeof arguments[0]&&"number"===typeof arguments[1]){const t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new c["a"]("Cannot compute the octant for point ( "+t+", "+e+" )");const n=Math.abs(t),i=Math.abs(e);return t>=0?e>=0?n>=i?0:1:n>=i?7:6:e>=0?n>=i?3:2:n>=i?4:5}if(arguments[0]instanceof a["a"]&&arguments[1]instanceof a["a"]){const t=arguments[0],e=arguments[1],n=e.x-t.x,i=e.y-t.y;if(0===n&&0===i)throw new c["a"]("Cannot compute the octant for two identical points "+t);return l.octant(n,i)}}}class u{getCoordinates(){}size(){}getCoordinate(t){}isClosed(){}setData(t){}getData(){}}class h{constructor(){h.constructor_.apply(this,arguments)}static constructor_(){this._pts=null,this._data=null;const t=arguments[0],e=arguments[1];this._pts=t,this._data=e}getCoordinates(){return this._pts}size(){return this._pts.length}getCoordinate(t){return this._pts[t]}isClosed(){return this._pts[0].equals(this._pts[this._pts.length-1])}getSegmentOctant(t){return t===this._pts.length-1?-1:l.octant(this.getCoordinate(t),this.getCoordinate(t+1))}setData(t){this._data=t}getData(){return this._data}toString(){return s["a"].toLineString(new o["a"](this._pts))}get interfaces_(){return[u]}}var d=n("c8c7"),f=n("0ba1"),p=n("668c");class _{static relativeSign(t,e){return te?1:0}static compare(t,e,n){if(e.equals2D(n))return 0;const i=_.relativeSign(e.x,n.x),r=_.relativeSign(e.y,n.y);switch(t){case 0:return _.compareValue(i,r);case 1:return _.compareValue(r,i);case 2:return _.compareValue(r,-i);case 3:return _.compareValue(-i,r);case 4:return _.compareValue(-i,-r);case 5:return _.compareValue(-r,-i);case 6:return _.compareValue(-r,i);case 7:return _.compareValue(i,-r)}return p["a"].shouldNeverReachHere("invalid octant value"),0}static compareValue(t,e){return t<0?-1:t>0?1:e<0?-1:e>0?1:0}}var m=n("7c01");class g{constructor(){g.constructor_.apply(this,arguments)}static constructor_(){this._segString=null,this.coord=null,this.segmentIndex=null,this._segmentOctant=null,this._isInterior=null;const t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];this._segString=t,this.coord=new a["a"](e),this.segmentIndex=n,this._segmentOctant=i,this._isInterior=!e.equals2D(t.getCoordinate(n))}getCoordinate(){return this.coord}print(t){t.print(this.coord),t.print(" seg # = "+this.segmentIndex)}compareTo(t){const e=t;return this.segmentIndexe.segmentIndex?1:this.coord.equals2D(e.coord)?0:this._isInterior?e._isInterior?_.compare(this._segmentOctant,this.coord,e.coord):1:-1}isEndPoint(t){return 0===this.segmentIndex&&!this._isInterior||this.segmentIndex===t}toString(){return this.segmentIndex+":"+this.coord.toString()}isInterior(){return this._isInterior}get interfaces_(){return[m["a"]]}}n("5912");var y=n("3101"),v=(n("46ef"),n("70d5")),b=n("55f7"),M=n("7701");class w{constructor(){w.constructor_.apply(this,arguments)}static constructor_(){this._nodeMap=new M["a"],this._edge=null;const t=arguments[0];this._edge=t}getSplitCoordinates(){const t=new f["a"];this.addEndpoints();const e=this.iterator();let n=e.next();while(e.hasNext()){const i=e.next();this.addEdgeCoordinates(n,i,t),n=i}return t.toCoordinateArray()}addCollapsedNodes(){const t=new v["a"];this.findCollapsesFromInsertedNodes(t),this.findCollapsesFromExistingVertices(t);for(let e=t.iterator();e.hasNext();){const t=e.next().intValue();this.add(this._edge.getCoordinate(t),t)}}createSplitEdgePts(t,e){let n=e.segmentIndex-t.segmentIndex+2;if(2===n)return[new a["a"](t.coord),new a["a"](e.coord)];const i=this._edge.getCoordinate(e.segmentIndex),r=e.isInterior()||!e.coord.equals2D(i);r||n--;const s=new Array(n).fill(null);let o=0;s[o++]=new a["a"](t.coord);for(let a=t.segmentIndex+1;a<=e.segmentIndex;a++)s[o++]=this._edge.getCoordinate(a);return r&&(s[o]=new a["a"](e.coord)),s}print(t){t.println("Intersections:");for(let e=this.iterator();e.hasNext();){const n=e.next();n.print(t)}}findCollapsesFromExistingVertices(t){for(let e=0;e=t.length-1)return t.length-1;const i=k["a"].quadrant(t[n],t[n+1]);let r=e+1;while(rn.getId()&&(n.computeOverlaps(i,t),this._nOverlaps++),this._segInt.isDone())return null}}}}class R extends T{constructor(){super(),R.constructor_.apply(this,arguments)}static constructor_(){this._si=null;const t=arguments[0];this._si=t}overlap(){if(4!==arguments.length)return super.overlap.apply(this,arguments);{const t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3],r=t.getContext(),s=n.getContext();this._si.processIntersections(r,e,s,i)}}}Y.SegmentOverlapAction=R;var A=n("fe5c"),N=n("8a23");class P{processIntersections(t,e,n,i){}isDone(){}}class j{constructor(){j.constructor_.apply(this,arguments)}static constructor_(){this._findAllIntersections=!1,this._isCheckEndSegmentsOnly=!1,this._keepIntersections=!0,this._isInteriorIntersectionsOnly=!1,this._li=null,this._interiorIntersection=null,this._intSegments=null,this._intersections=new v["a"],this._intersectionCount=0;const t=arguments[0];this._li=t,this._interiorIntersection=null}static createAllIntersectionsFinder(t){const e=new j(t);return e.setFindAllIntersections(!0),e}static isInteriorVertexIntersection(){if(4===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];return(!n||!i)&&!!t.equals2D(e)}if(8===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3],r=arguments[4],s=arguments[5],o=arguments[6],a=arguments[7];return!!j.isInteriorVertexIntersection(t,n,r,o)||(!!j.isInteriorVertexIntersection(t,i,r,a)||(!!j.isInteriorVertexIntersection(e,n,s,o)||!!j.isInteriorVertexIntersection(e,i,s,a)))}}static createInteriorIntersectionCounter(t){const e=new j(t);return e.setInteriorIntersectionsOnly(!0),e.setFindAllIntersections(!0),e.setKeepIntersections(!1),e}static createIntersectionCounter(t){const e=new j(t);return e.setFindAllIntersections(!0),e.setKeepIntersections(!1),e}static isEndSegment(t,e){return 0===e||e>=t.size()-2}static createAnyIntersectionFinder(t){return new j(t)}static createInteriorIntersectionsFinder(t){const e=new j(t);return e.setFindAllIntersections(!0),e.setInteriorIntersectionsOnly(!0),e}setCheckEndSegmentsOnly(t){this._isCheckEndSegmentsOnly=t}getIntersectionSegments(){return this._intSegments}count(){return this._intersectionCount}getIntersections(){return this._intersections}setFindAllIntersections(t){this._findAllIntersections=t}setKeepIntersections(t){this._keepIntersections=t}getIntersection(){return this._interiorIntersection}processIntersections(t,e,n,i){if(!this._findAllIntersections&&this.hasIntersection())return null;const r=t===n,s=r&&e===i;if(s)return null;if(this._isCheckEndSegmentsOnly){const r=j.isEndSegment(t,e)||j.isEndSegment(n,i);if(!r)return null}const o=t.getCoordinate(e),a=t.getCoordinate(e+1),c=n.getCoordinate(i),l=n.getCoordinate(i+1),u=0===e,h=e+2===t.size(),d=0===i,f=i+2===n.size();this._li.computeIntersection(o,a,c,l);const p=this._li.hasIntersection()&&this._li.isInteriorIntersection();let _=!1;if(!this._isInteriorIntersectionsOnly){const t=r&&Math.abs(i-e)<=1;_=!t&&j.isInteriorVertexIntersection(o,a,c,l,u,h,d,f)}(p||_)&&(this._intSegments=new Array(4).fill(null),this._intSegments[0]=o,this._intSegments[1]=a,this._intSegments[2]=c,this._intSegments[3]=l,this._interiorIntersection=this._li.getIntersection(0),this._keepIntersections&&this._intersections.add(this._interiorIntersection),this._intersectionCount++)}hasIntersection(){return null!==this._interiorIntersection}isDone(){return!this._findAllIntersections&&null!==this._interiorIntersection}setInteriorIntersectionsOnly(t){this._isInteriorIntersectionsOnly=t}get interfaces_(){return[P]}}class F{constructor(){F.constructor_.apply(this,arguments)}static constructor_(){this._li=new N["a"],this._segStrings=null,this._findAllIntersections=!1,this._segInt=null,this._isValid=!0;const t=arguments[0];this._segStrings=t}static computeIntersections(t){const e=new F(t);return e.setFindAllIntersections(!0),e.isValid(),e.getIntersections()}execute(){if(null!==this._segInt)return null;this.checkInteriorIntersections()}getIntersections(){return this._segInt.getIntersections()}isValid(){return this.execute(),this._isValid}setFindAllIntersections(t){this._findAllIntersections=t}checkInteriorIntersections(){this._isValid=!0,this._segInt=new j(this._li),this._segInt.setFindAllIntersections(this._findAllIntersections);const t=new Y;if(t.setSegmentIntersector(this._segInt),t.computeNodes(this._segStrings),this._segInt.hasIntersection())return this._isValid=!1,null}checkValid(){if(this.execute(),!this._isValid)throw new A["a"](this.getErrorMessage(),this._segInt.getIntersection())}getErrorMessage(){if(this._isValid)return"no intersections found";const t=this._segInt.getIntersectionSegments();return"found non-noded intersection between "+s["a"].toLineString(t[0],t[1])+" and "+s["a"].toLineString(t[2],t[3])}}class H{constructor(){H.constructor_.apply(this,arguments)}static constructor_(){this._nv=null;const t=arguments[0];this._nv=new F(H.toSegmentStrings(t))}static toSegmentStrings(t){const e=new v["a"];for(let n=t.iterator();n.hasNext();){const t=n.next();e.add(new h(t.getCoordinates(),t))}return e}static checkValid(t){const e=new H(t);e.checkValid()}checkValid(){this._nv.checkValid()}}var G=n("1f31"),q=n("2709"),z=n("0dd8"),B=n("c569"),$=n("3b32");class W{constructor(){W.constructor_.apply(this,arguments)}static constructor_(){this._geometryFactory=null,this._shellList=new v["a"];const t=arguments[0];this._geometryFactory=t}static findEdgeRingContaining(t,e){const n=t.getLinearRing(),i=n.getEnvelopeInternal();let r=n.getCoordinateN(0),s=null,o=null;for(let a=e.iterator();a.hasNext();){const t=a.next(),e=t.getLinearRing(),c=e.getEnvelopeInternal();if(c.equals(i))continue;if(!c.contains(i))continue;r=B["a"].ptNotInList(n.getCoordinates(),e.getCoordinates());let l=!1;q["a"].isInRing(r,e.getCoordinates())&&(l=!0),l&&(null===s||o.contains(c))&&(s=t,o=s.getLinearRing().getEnvelopeInternal())}return s}sortShellsAndHoles(t,e,n){for(let i=t.iterator();i.hasNext();){const t=i.next();t.isHole()?n.add(t):e.add(t)}}computePolygons(t){const e=new v["a"];for(let n=t.iterator();n.hasNext();){const t=n.next(),i=t.toPolygon(this._geometryFactory);e.add(i)}return e}placeFreeHoles(t,e){for(let n=e.iterator();n.hasNext();){const e=n.next();if(null===e.getShell()){const n=W.findEdgeRingContaining(e,t);if(null===n)throw new A["a"]("unable to assign hole to a shell",e.getCoordinate(0));e.setShell(n)}}}buildMinimalEdgeRings(t,e,n){const i=new v["a"];for(let r=t.iterator();r.hasNext();){const t=r.next();if(t.getMaxNodeDegree()>2){t.linkDirectedEdgesForMinimalEdgeRings();const i=t.buildMinimalRings(),r=this.findShell(i);null!==r?(this.placePolygonHoles(r,i),e.add(r)):n.addAll(i)}else i.add(t)}return i}buildMaximalEdgeRings(t){const e=new v["a"];for(let n=t.iterator();n.hasNext();){const t=n.next();if(t.isInResult()&&t.getLabel().isArea()&&null===t.getEdgeRing()){const n=new z["a"](t,this._geometryFactory);e.add(n),n.setInResult()}}return e}placePolygonHoles(t,e){for(let n=e.iterator();n.hasNext();){const e=n.next();e.isHole()&&e.setShell(t)}}getPolygons(){const t=this.computePolygons(this._shellList);return t}findShell(t){let e=0,n=null;for(let i=t.iterator();i.hasNext();){const t=i.next();t.isHole()||(n=t,e++)}return p["a"].isTrue(e<=1,"found two shells in MinimalEdgeRing list"),n}add(){if(1===arguments.length){const t=arguments[0];this.add(t.getEdgeEnds(),t.getNodes())}else if(2===arguments.length){const t=arguments[0],e=arguments[1];$["a"].linkResultDirectedEdges(e);const n=this.buildMaximalEdgeRings(t),i=new v["a"],r=this.buildMinimalEdgeRings(n,this._shellList,i);this.sortShellsAndHoles(r,this._shellList,i),this.placeFreeHoles(this._shellList,i)}}}var U=n("0360");class V{constructor(){V.constructor_.apply(this,arguments)}static constructor_(){this._op=null,this._geometryFactory=null,this._ptLocator=null,this._lineEdgesList=new v["a"],this._resultLineList=new v["a"];const t=arguments[0],e=arguments[1],n=arguments[2];this._op=t,this._geometryFactory=e,this._ptLocator=n}collectLines(t){for(let e=this._op.getGraph().getEdgeEnds().iterator();e.hasNext();){const n=e.next();this.collectLineEdge(n,t,this._lineEdgesList),this.collectBoundaryTouchEdge(n,t,this._lineEdgesList)}}labelIsolatedLine(t,e){const n=this._ptLocator.locate(t.getCoordinate(),this._op.getArgGeometry(e));t.getLabel().setLocation(e,n)}build(t){return this.findCoveredLineEdges(),this.collectLines(t),this.buildLines(t),this._resultLineList}collectLineEdge(t,e,n){const i=t.getLabel(),r=t.getEdge();t.isLineEdge()&&(t.isVisited()||!Mt.isResultOfOp(i,e)||r.isCovered()||(n.add(r),t.setVisitedEdge(!0)))}findCoveredLineEdges(){for(let t=this._op.getGraph().getNodes().iterator();t.hasNext();){const e=t.next();e.getEdges().findCoveredLineEdges()}for(let t=this._op.getGraph().getEdgeEnds().iterator();t.hasNext();){const e=t.next(),n=e.getEdge();if(e.isLineEdge()&&!n.isCoveredSet()){const t=this._op.isCoveredByA(e.getCoordinate());n.setCovered(t)}}}labelIsolatedLines(t){for(let e=t.iterator();e.hasNext();){const t=e.next(),n=t.getLabel();t.isIsolated()&&(n.isNull(0)?this.labelIsolatedLine(t,0):this.labelIsolatedLine(t,1))}}buildLines(t){for(let e=this._lineEdgesList.iterator();e.hasNext();){const t=e.next(),n=this._geometryFactory.createLineString(t.getCoordinates());this._resultLineList.add(n),t.setInResult(!0)}}collectBoundaryTouchEdge(t,e,n){const i=t.getLabel();return t.isLineEdge()?null:t.isVisited()?null:t.isInteriorAreaEdge()?null:t.getEdge().isInResult()?null:(p["a"].isTrue(!(t.isInResult()||t.getSym().isInResult())||!t.getEdge().isInResult()),void(Mt.isResultOfOp(i,e)&&e===Mt.INTERSECTION&&(n.add(t.getEdge()),t.setVisitedEdge(!0))))}}class X{constructor(){X.constructor_.apply(this,arguments)}static constructor_(){this._op=null,this._geometryFactory=null,this._resultPointList=new v["a"];const t=arguments[0],e=arguments[1];arguments[2];this._op=t,this._geometryFactory=e}filterCoveredNodeToPoint(t){const e=t.getCoordinate();if(!this._op.isCoveredByLA(e)){const t=this._geometryFactory.createPoint(e);this._resultPointList.add(t)}}extractNonCoveredResultNodes(t){for(let e=this._op.getGraph().getNodes().iterator();e.hasNext();){const n=e.next();if(!n.isInResult()&&(!n.isIncidentEdgeInResult()&&(0===n.getEdges().getDegree()||t===Mt.INTERSECTION))){const e=n.getLabel();Mt.isResultOfOp(e,t)&&this.filterCoveredNodeToPoint(n)}}}build(t){return this.extractNonCoveredResultNodes(t),this._resultPointList}}var K=n("a829"),Z=n("1436"),J=n("38de"),Q=n("1d1d"),tt=n("138e");class et{constructor(){et.constructor_.apply(this,arguments)}static constructor_(){if(this._snapTolerance=0,this._srcPts=null,this._seg=new E["a"],this._allowSnappingToSourceVertices=!1,this._isClosed=!1,arguments[0]instanceof tt["a"]&&"number"===typeof arguments[1]){const t=arguments[0],e=arguments[1];et.constructor_.call(this,t.getCoordinates(),e)}else if(arguments[0]instanceof Array&&"number"===typeof arguments[1]){const t=arguments[0],e=arguments[1];this._srcPts=t,this._isClosed=et.isClosed(t),this._snapTolerance=e}}static isClosed(t){return!(t.length<=1)&&t[0].equals2D(t[t.length-1])}snapVertices(t,e){const n=this._isClosed?t.size()-1:t.size();for(let i=0;i=0&&t.add(r+1,new a["a"](n),!1)}}findSegmentIndexToSnap(t,e){let n=Q["a"].MAX_VALUE,i=-1;for(let r=0;re&&(e=t)}return e}if(2===arguments.length){const t=arguments[0],e=arguments[1];return Math.min(rt.computeOverlaySnapTolerance(t),rt.computeOverlaySnapTolerance(e))}}static computeSizeBasedSnapTolerance(t){const e=t.getEnvelopeInternal(),n=Math.min(e.getHeight(),e.getWidth()),i=n*rt.SNAP_PRECISION_FACTOR;return i}static snapToSelf(t,e,n){const i=new rt(t);return i.snapToSelf(e,n)}snapTo(t,e){const n=this.extractTargetCoordinates(t),i=new st(e,n);return i.transform(this._srcGeom)}snapToSelf(t,e){const n=this.extractTargetCoordinates(this._srcGeom),i=new st(t,n,!0),r=i.transform(this._srcGeom);let s=r;return e&&Object(J["a"])(s,it["a"])&&(s=r.buffer(0)),s}computeSnapTolerance(t){const e=this.computeMinimumSegmentLength(t),n=e/10;return n}extractTargetCoordinates(t){const e=new K["a"],n=t.getCoordinates();for(let i=0;i>>20}static zeroLowerBits(t,e){let n="low";if(e>32&&(t.low=0,e%=32,n="high"),e>0){const i=e<32?~((1<=0;i--){if(ct.getBit(t,i)!==ct.getBit(e,i))return n;n++}return 52}}var lt=n("c9eb"),ut=n("edde");class ht{constructor(){ht.constructor_.apply(this,arguments)}static constructor_(){this._commonCoord=null,this._ccFilter=new dt}addCommonBits(t){const e=new ft(this._commonCoord);t.apply(e),t.geometryChanged()}removeCommonBits(t){if(0===this._commonCoord.x&&0===this._commonCoord.y)return t;const e=new a["a"](this._commonCoord);e.x=-e.x,e.y=-e.y;const n=new ft(e);return t.apply(n),t.geometryChanged(),t}getCommonCoordinate(){return this._commonCoord}add(t){t.apply(this._ccFilter),this._commonCoord=this._ccFilter.getCommonCoordinate()}}class dt{constructor(){dt.constructor_.apply(this,arguments)}static constructor_(){this._commonBitsX=new ct,this._commonBitsY=new ct}filter(t){this._commonBitsX.add(t.x),this._commonBitsY.add(t.y)}getCommonCoordinate(){return new a["a"](this._commonBitsX.getCommon(),this._commonBitsY.getCommon())}get interfaces_(){return[lt["a"]]}}class ft{constructor(){ft.constructor_.apply(this,arguments)}static constructor_(){this.trans=null;const t=arguments[0];this.trans=t}filter(t,e){const n=t.getOrdinate(e,0)+this.trans.x,i=t.getOrdinate(e,1)+this.trans.y;t.setOrdinate(e,0,n),t.setOrdinate(e,1,i)}isDone(){return!1}isGeometryChanged(){return!0}get interfaces_(){return[ut["a"]]}}ht.CommonCoordinateFilter=dt,ht.Translater=ft;class pt{constructor(){pt.constructor_.apply(this,arguments)}static constructor_(){this._geom=new Array(2).fill(null),this._snapTolerance=null,this._cbr=null;const t=arguments[0],e=arguments[1];this._geom[0]=t,this._geom[1]=e,this.computeSnapTolerance()}static overlayOp(t,e,n){const i=new pt(t,e);return i.getResultGeometry(n)}static union(t,e){return pt.overlayOp(t,e,Mt.UNION)}static intersection(t,e){return pt.overlayOp(t,e,Mt.INTERSECTION)}static symDifference(t,e){return pt.overlayOp(t,e,Mt.SYMDIFFERENCE)}static difference(t,e){return pt.overlayOp(t,e,Mt.DIFFERENCE)}selfSnap(t){const e=new rt(t),n=e.snapTo(t,this._snapTolerance);return n}removeCommonBits(t){this._cbr=new ht,this._cbr.add(t[0]),this._cbr.add(t[1]);const e=new Array(2).fill(null);return e[0]=this._cbr.removeCommonBits(t[0].copy()),e[1]=this._cbr.removeCommonBits(t[1].copy()),e}prepareResult(t){return this._cbr.addCommonBits(t),t}getResultGeometry(t){const e=this.snap(this._geom),n=Mt.overlayOp(e[0],e[1],t);return this.prepareResult(n)}checkValid(t){t.isValid()||ot["a"].out.println("Snapped geometry is invalid")}computeSnapTolerance(){this._snapTolerance=rt.computeOverlaySnapTolerance(this._geom[0],this._geom[1])}snap(t){const e=this.removeCommonBits(t),n=rt.snap(e[0],e[1],this._snapTolerance);return n}}class _t{constructor(){_t.constructor_.apply(this,arguments)}static constructor_(){this._geom=new Array(2).fill(null);const t=arguments[0],e=arguments[1];this._geom[0]=t,this._geom[1]=e}static overlayOp(t,e,n){const i=new _t(t,e);return i.getResultGeometry(n)}static union(t,e){return _t.overlayOp(t,e,Mt.UNION)}static intersection(t,e){return _t.overlayOp(t,e,Mt.INTERSECTION)}static symDifference(t,e){return _t.overlayOp(t,e,Mt.SYMDIFFERENCE)}static difference(t,e){return _t.overlayOp(t,e,Mt.DIFFERENCE)}getResultGeometry(t){let e=null,n=!1,i=null;try{e=Mt.overlayOp(this._geom[0],this._geom[1],t);const r=!0;r&&(n=!0)}catch(t){if(!(t instanceof b["a"]))throw t;i=t}if(!n)try{e=pt.overlayOp(this._geom[0],this._geom[1],t)}catch(t){throw t instanceof b["a"]?i:t}return e}}var mt=n("b08b"),gt=n("67bc"),yt=n("7bd1");class vt{constructor(){vt.constructor_.apply(this,arguments)}static constructor_(){this._pts=null,this._orientation=null;const t=arguments[0];this._pts=t,this._orientation=vt.orientation(t)}static orientation(t){return 1===B["a"].increasingDirection(t)}static compareOriented(t,e,n,i){const r=e?1:-1,s=i?1:-1,o=e?t.length:-1,a=i?n.length:-1;let c=e?0:t.length-1,l=i?0:n.length-1;while(1){const e=t[c].compareTo(n[l]);if(0!==e)return e;c+=r,l+=s;const i=c===o,u=l===a;if(i&&!u)return-1;if(!i&&u)return 1;if(i&&u)return 0}}compareTo(t){const e=t,n=vt.compareOriented(this._pts,this._orientation,e._pts,e._orientation);return n}get interfaces_(){return[m["a"]]}}class bt{constructor(){bt.constructor_.apply(this,arguments)}static constructor_(){this._edges=new v["a"],this._ocaMap=new M["a"]}print(t){t.print("MULTILINESTRING ( ");for(let e=0;e0&&t.print(","),t.print("(");const i=n.getCoordinates();for(let e=0;e0&&t.print(","),t.print(i[e].x+" "+i[e].y);t.println(")")}t.print(") ")}addAll(t){for(let e=t.iterator();e.hasNext();)this.add(e.next())}findEdgeIndex(t){for(let e=0;eg.area(this._boundable2)?(this.expand(this._boundable1,this._boundable2,!1,t,e),null):(this.expand(this._boundable2,this._boundable1,!0,t,e),null);if(n)return this.expand(this._boundable1,this._boundable2,!1,t,e),null;if(i)return this.expand(this._boundable2,this._boundable1,!0,t,e),null;throw new p["a"]("neither boundable is composite")}isLeaves(){return!(g.isComposite(this._boundable1)||g.isComposite(this._boundable2))}compareTo(t){const e=t;return this._distancee._distance?1:0}expand(t,e,n,i,r){const s=t.getChildBoundables();for(let o=s.iterator();o.hasNext();){const t=o.next();let s=null;s=n?new g(e,t,this._itemDistance):new g(t,e,this._itemDistance),s.getDistance()1,"Node capacity must be greater than 1"),this._nodeCapacity=t}}static compareDoubles(t,e){return t>e?1:t-2),e.getLevel()===t)return n.add(e),null;for(let i=e.getChildBoundables().iterator();i.hasNext();){const e=i.next();e instanceof h?this.boundablesAtLevel(t,e,n):(u["a"].isTrue(e instanceof s),-1===t&&n.add(e))}return null}}query(){if(1===arguments.length){const t=arguments[0];this.build();const e=new o["a"];return this.isEmpty()?e:(this.getIntersectsOp().intersects(this._root.getBounds(),t)&&this.queryInternal(t,this._root,e),e)}if(2===arguments.length){const t=arguments[0],e=arguments[1];if(this.build(),this.isEmpty())return null;this.getIntersectsOp().intersects(this._root.getBounds(),t)&&this.queryInternal(t,this._root,e)}}build(){if(this._built)return null;this._root=this._itemBoundables.isEmpty()?this.createNode(0):this.createHigherLevels(this._itemBoundables,-1),this._itemBoundables=null,this._built=!0}getRoot(){return this.build(),this._root}remove(){if(2===arguments.length){const t=arguments[0],e=arguments[1];return this.build(),!!this.getIntersectsOp().intersects(this._root.getBounds(),t)&&this.remove(t,this._root,e)}if(3===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2];let i=this.removeItem(e,n);if(i)return!0;let r=null;for(let s=e.getChildBoundables().iterator();s.hasNext();){const e=s.next();if(this.getIntersectsOp().intersects(e.getBounds(),t)&&(e instanceof h&&(i=this.remove(t,e,n),i))){r=e;break}}return null!==r&&r.getChildBoundables().isEmpty()&&e.getChildBoundables().remove(r),i}}createHigherLevels(t,e){u["a"].isTrue(!t.isEmpty());const n=this.createParentBoundables(t,e+1);return 1===n.size()?n.get(0):this.createHigherLevels(n,e+1)}depth(){if(0===arguments.length)return this.isEmpty()?0:(this.build(),this.depth(this._root));if(1===arguments.length){const t=arguments[0];let e=0;for(let n=t.getChildBoundables().iterator();n.hasNext();){const t=n.next();if(t instanceof h){const n=this.depth(t);n>e&&(e=n)}}return e+1}}createParentBoundables(t,e){u["a"].isTrue(!t.isEmpty());const n=new o["a"];n.add(this.createNode(e));const i=new o["a"](t);f["a"].sort(i,this.getComparator());for(let r=i.iterator();r.hasNext();){const t=r.next();this.lastNode(n).getChildBoundables().size()===this.getNodeCapacity()&&n.add(this.createNode(e)),this.lastNode(n).addChildBoundable(t)}return n}isEmpty(){return this._built?this._root.isEmpty():this._itemBoundables.isEmpty()}get interfaces_(){return[r["a"]]}}function x(){}w.IntersectsOp=x,w.DEFAULT_NODE_CAPACITY=10;class L{distance(t,e){}}n.d(e,"a",function(){return E});class E extends w{constructor(){super(),E.constructor_.apply(this,arguments)}static constructor_(){if(0===arguments.length)E.constructor_.call(this,E.DEFAULT_NODE_CAPACITY);else if(1===arguments.length){const t=arguments[0];w.constructor_.call(this,t)}}static centreX(t){return E.avg(t.getMinX(),t.getMaxX())}static avg(t,e){return(t+e)/2}static getItems(t){const e=new Array(t.size()).fill(null);let n=0;while(!t.isEmpty()){const i=t.poll();e[n]=i.getBoundable(0).getItem(),n++}return e}static centreY(t){return E.avg(t.getMinY(),t.getMaxY())}createParentBoundablesFromVerticalSlices(t,e){u["a"].isTrue(t.length>0);const n=new o["a"];for(let i=0;i=0){const t=r.poll(),e=t.getDistance();if(e>=i)break;if(t.isLeaves())if(s.size()e&&(s.poll(),s.add(t));const r=s.peek();i=r.getDistance()}else t.expandToQueue(r,i)}return E.getItems(s)}}createNode(t){return new T(t)}size(){return 0===arguments.length?super.size.call(this):super.size.apply(this,arguments)}insert(){if(!(2===arguments.length&&arguments[1]instanceof Object&&arguments[0]instanceof v["a"]))return super.insert.apply(this,arguments);{const t=arguments[0],e=arguments[1];if(t.isNull())return null;super.insert.call(this,t,e)}}getIntersectsOp(){return E.intersectsOp}verticalSlices(t,e){const n=Math.trunc(Math.ceil(t.size()/e)),i=new Array(e).fill(null),r=t.iterator();for(let s=0;s0){const t=i.poll(),r=t.getDistance();if(r>=e)break;t.isLeaves()?(e=r,n=t):t.expandToQueue(i,e)}return null===n?null:[n.getBoundable(0).getItem(),n.getBoundable(1).getItem()]}}else{if(2===arguments.length){const t=arguments[0],e=arguments[1];if(this.isEmpty()||t.isEmpty())return null;const n=new g(this.getRoot(),t.getRoot(),e);return this.nearestNeighbour(n)}if(3===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2],i=new s(t,e),r=new g(this.getRoot(),i,n);return this.nearestNeighbour(r)[0]}if(4===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3],r=new s(t,e),o=new g(this.getRoot(),r,n);return this.nearestNeighbourK(o,i)}}}isWithinDistance(){if(2===arguments.length){const t=arguments[0],e=arguments[1];let n=d["a"].POSITIVE_INFINITY;const i=new a;i.add(t);while(!i.isEmpty()){const t=i.poll(),r=t.getDistance();if(r>e)return!1;if(t.maximumDistance()<=e)return!0;if(t.isLeaves()){if(n=r,n<=e)return!0}else t.expandToQueue(i,n)}return!1}if(3===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2],i=new g(this.getRoot(),t.getRoot(),e);return this.isWithinDistance(i,n)}}get interfaces_(){return[l,r["a"]]}}class T extends h{constructor(){super(),T.constructor_.apply(this,arguments)}static constructor_(){const t=arguments[0];h.constructor_.call(this,t)}computeBounds(){let t=null;for(let e=this.getChildBoundables().iterator();e.hasNext();){const n=e.next();null===t?t=new v["a"](n.getBounds()):t.expandToInclude(n.getBounds())}return t}}E.STRtreeNode=T,E.xComparator=new class{get interfaces_(){return[y["a"]]}compare(t,e){return w.compareDoubles(E.centreX(t.getBounds()),E.centreX(e.getBounds()))}},E.yComparator=new class{get interfaces_(){return[y["a"]]}compare(t,e){return w.compareDoubles(E.centreY(t.getBounds()),E.centreY(e.getBounds()))}},E.intersectsOp=new class{get interfaces_(){return[IntersectsOp]}intersects(t,e){return t.intersects(e)}},E.DEFAULT_NODE_CAPACITY=10},c8da:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("c6a3");class r extends i["a"]{get(){}set(){}isEmpty(){}}},c8f3:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +t.exports=function(t){return null!=t&&null!=t.constructor&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}},c7e3:function(t,e,n){"use strict";var i=n("dc2b"),r=n("7b52"),s=n("f885"),o=n("d7bb"),a=n("ad3f"),c=n("fd89");class l{static octant(){if("number"===typeof arguments[0]&&"number"===typeof arguments[1]){const t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new c["a"]("Cannot compute the octant for point ( "+t+", "+e+" )");const n=Math.abs(t),i=Math.abs(e);return t>=0?e>=0?n>=i?0:1:n>=i?7:6:e>=0?n>=i?3:2:n>=i?4:5}if(arguments[0]instanceof a["a"]&&arguments[1]instanceof a["a"]){const t=arguments[0],e=arguments[1],n=e.x-t.x,i=e.y-t.y;if(0===n&&0===i)throw new c["a"]("Cannot compute the octant for two identical points "+t);return l.octant(n,i)}}}class u{getCoordinates(){}size(){}getCoordinate(t){}isClosed(){}setData(t){}getData(){}}class h{constructor(){h.constructor_.apply(this,arguments)}static constructor_(){this._pts=null,this._data=null;const t=arguments[0],e=arguments[1];this._pts=t,this._data=e}getCoordinates(){return this._pts}size(){return this._pts.length}getCoordinate(t){return this._pts[t]}isClosed(){return this._pts[0].equals(this._pts[this._pts.length-1])}getSegmentOctant(t){return t===this._pts.length-1?-1:l.octant(this.getCoordinate(t),this.getCoordinate(t+1))}setData(t){this._data=t}getData(){return this._data}toString(){return s["a"].toLineString(new o["a"](this._pts))}get interfaces_(){return[u]}}var d=n("c8c7"),f=n("0ba1"),p=n("668c");class _{static relativeSign(t,e){return te?1:0}static compare(t,e,n){if(e.equals2D(n))return 0;const i=_.relativeSign(e.x,n.x),r=_.relativeSign(e.y,n.y);switch(t){case 0:return _.compareValue(i,r);case 1:return _.compareValue(r,i);case 2:return _.compareValue(r,-i);case 3:return _.compareValue(-i,r);case 4:return _.compareValue(-i,-r);case 5:return _.compareValue(-r,-i);case 6:return _.compareValue(-r,i);case 7:return _.compareValue(i,-r)}return p["a"].shouldNeverReachHere("invalid octant value"),0}static compareValue(t,e){return t<0?-1:t>0?1:e<0?-1:e>0?1:0}}var m=n("7c01");class g{constructor(){g.constructor_.apply(this,arguments)}static constructor_(){this._segString=null,this.coord=null,this.segmentIndex=null,this._segmentOctant=null,this._isInterior=null;const t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];this._segString=t,this.coord=new a["a"](e),this.segmentIndex=n,this._segmentOctant=i,this._isInterior=!e.equals2D(t.getCoordinate(n))}getCoordinate(){return this.coord}print(t){t.print(this.coord),t.print(" seg # = "+this.segmentIndex)}compareTo(t){const e=t;return this.segmentIndexe.segmentIndex?1:this.coord.equals2D(e.coord)?0:this._isInterior?e._isInterior?_.compare(this._segmentOctant,this.coord,e.coord):1:-1}isEndPoint(t){return 0===this.segmentIndex&&!this._isInterior||this.segmentIndex===t}toString(){return this.segmentIndex+":"+this.coord.toString()}isInterior(){return this._isInterior}get interfaces_(){return[m["a"]]}}n("5912");var y=n("3101"),v=(n("46ef"),n("70d5")),b=n("55f7"),M=n("7701");class w{constructor(){w.constructor_.apply(this,arguments)}static constructor_(){this._nodeMap=new M["a"],this._edge=null;const t=arguments[0];this._edge=t}getSplitCoordinates(){const t=new f["a"];this.addEndpoints();const e=this.iterator();let n=e.next();while(e.hasNext()){const i=e.next();this.addEdgeCoordinates(n,i,t),n=i}return t.toCoordinateArray()}addCollapsedNodes(){const t=new v["a"];this.findCollapsesFromInsertedNodes(t),this.findCollapsesFromExistingVertices(t);for(let e=t.iterator();e.hasNext();){const t=e.next().intValue();this.add(this._edge.getCoordinate(t),t)}}createSplitEdgePts(t,e){let n=e.segmentIndex-t.segmentIndex+2;if(2===n)return[new a["a"](t.coord),new a["a"](e.coord)];const i=this._edge.getCoordinate(e.segmentIndex),r=e.isInterior()||!e.coord.equals2D(i);r||n--;const s=new Array(n).fill(null);let o=0;s[o++]=new a["a"](t.coord);for(let a=t.segmentIndex+1;a<=e.segmentIndex;a++)s[o++]=this._edge.getCoordinate(a);return r&&(s[o]=new a["a"](e.coord)),s}print(t){t.println("Intersections:");for(let e=this.iterator();e.hasNext();){const n=e.next();n.print(t)}}findCollapsesFromExistingVertices(t){for(let e=0;e=t.length-1)return t.length-1;const i=k["a"].quadrant(t[n],t[n+1]);let r=e+1;while(rn.getId()&&(n.computeOverlaps(i,t),this._nOverlaps++),this._segInt.isDone())return null}}}}class R extends T{constructor(){super(),R.constructor_.apply(this,arguments)}static constructor_(){this._si=null;const t=arguments[0];this._si=t}overlap(){if(4!==arguments.length)return super.overlap.apply(this,arguments);{const t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3],r=t.getContext(),s=n.getContext();this._si.processIntersections(r,e,s,i)}}}Y.SegmentOverlapAction=R;var N=n("fe5c"),A=n("8a23");class P{processIntersections(t,e,n,i){}isDone(){}}class j{constructor(){j.constructor_.apply(this,arguments)}static constructor_(){this._findAllIntersections=!1,this._isCheckEndSegmentsOnly=!1,this._keepIntersections=!0,this._isInteriorIntersectionsOnly=!1,this._li=null,this._interiorIntersection=null,this._intSegments=null,this._intersections=new v["a"],this._intersectionCount=0;const t=arguments[0];this._li=t,this._interiorIntersection=null}static createAllIntersectionsFinder(t){const e=new j(t);return e.setFindAllIntersections(!0),e}static isInteriorVertexIntersection(){if(4===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];return(!n||!i)&&!!t.equals2D(e)}if(8===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3],r=arguments[4],s=arguments[5],o=arguments[6],a=arguments[7];return!!j.isInteriorVertexIntersection(t,n,r,o)||(!!j.isInteriorVertexIntersection(t,i,r,a)||(!!j.isInteriorVertexIntersection(e,n,s,o)||!!j.isInteriorVertexIntersection(e,i,s,a)))}}static createInteriorIntersectionCounter(t){const e=new j(t);return e.setInteriorIntersectionsOnly(!0),e.setFindAllIntersections(!0),e.setKeepIntersections(!1),e}static createIntersectionCounter(t){const e=new j(t);return e.setFindAllIntersections(!0),e.setKeepIntersections(!1),e}static isEndSegment(t,e){return 0===e||e>=t.size()-2}static createAnyIntersectionFinder(t){return new j(t)}static createInteriorIntersectionsFinder(t){const e=new j(t);return e.setFindAllIntersections(!0),e.setInteriorIntersectionsOnly(!0),e}setCheckEndSegmentsOnly(t){this._isCheckEndSegmentsOnly=t}getIntersectionSegments(){return this._intSegments}count(){return this._intersectionCount}getIntersections(){return this._intersections}setFindAllIntersections(t){this._findAllIntersections=t}setKeepIntersections(t){this._keepIntersections=t}getIntersection(){return this._interiorIntersection}processIntersections(t,e,n,i){if(!this._findAllIntersections&&this.hasIntersection())return null;const r=t===n,s=r&&e===i;if(s)return null;if(this._isCheckEndSegmentsOnly){const r=j.isEndSegment(t,e)||j.isEndSegment(n,i);if(!r)return null}const o=t.getCoordinate(e),a=t.getCoordinate(e+1),c=n.getCoordinate(i),l=n.getCoordinate(i+1),u=0===e,h=e+2===t.size(),d=0===i,f=i+2===n.size();this._li.computeIntersection(o,a,c,l);const p=this._li.hasIntersection()&&this._li.isInteriorIntersection();let _=!1;if(!this._isInteriorIntersectionsOnly){const t=r&&Math.abs(i-e)<=1;_=!t&&j.isInteriorVertexIntersection(o,a,c,l,u,h,d,f)}(p||_)&&(this._intSegments=new Array(4).fill(null),this._intSegments[0]=o,this._intSegments[1]=a,this._intSegments[2]=c,this._intSegments[3]=l,this._interiorIntersection=this._li.getIntersection(0),this._keepIntersections&&this._intersections.add(this._interiorIntersection),this._intersectionCount++)}hasIntersection(){return null!==this._interiorIntersection}isDone(){return!this._findAllIntersections&&null!==this._interiorIntersection}setInteriorIntersectionsOnly(t){this._isInteriorIntersectionsOnly=t}get interfaces_(){return[P]}}class F{constructor(){F.constructor_.apply(this,arguments)}static constructor_(){this._li=new A["a"],this._segStrings=null,this._findAllIntersections=!1,this._segInt=null,this._isValid=!0;const t=arguments[0];this._segStrings=t}static computeIntersections(t){const e=new F(t);return e.setFindAllIntersections(!0),e.isValid(),e.getIntersections()}execute(){if(null!==this._segInt)return null;this.checkInteriorIntersections()}getIntersections(){return this._segInt.getIntersections()}isValid(){return this.execute(),this._isValid}setFindAllIntersections(t){this._findAllIntersections=t}checkInteriorIntersections(){this._isValid=!0,this._segInt=new j(this._li),this._segInt.setFindAllIntersections(this._findAllIntersections);const t=new Y;if(t.setSegmentIntersector(this._segInt),t.computeNodes(this._segStrings),this._segInt.hasIntersection())return this._isValid=!1,null}checkValid(){if(this.execute(),!this._isValid)throw new N["a"](this.getErrorMessage(),this._segInt.getIntersection())}getErrorMessage(){if(this._isValid)return"no intersections found";const t=this._segInt.getIntersectionSegments();return"found non-noded intersection between "+s["a"].toLineString(t[0],t[1])+" and "+s["a"].toLineString(t[2],t[3])}}class H{constructor(){H.constructor_.apply(this,arguments)}static constructor_(){this._nv=null;const t=arguments[0];this._nv=new F(H.toSegmentStrings(t))}static toSegmentStrings(t){const e=new v["a"];for(let n=t.iterator();n.hasNext();){const t=n.next();e.add(new h(t.getCoordinates(),t))}return e}static checkValid(t){const e=new H(t);e.checkValid()}checkValid(){this._nv.checkValid()}}var G=n("1f31"),q=n("2709"),z=n("0dd8"),B=n("c569"),$=n("3b32");class W{constructor(){W.constructor_.apply(this,arguments)}static constructor_(){this._geometryFactory=null,this._shellList=new v["a"];const t=arguments[0];this._geometryFactory=t}static findEdgeRingContaining(t,e){const n=t.getLinearRing(),i=n.getEnvelopeInternal();let r=n.getCoordinateN(0),s=null,o=null;for(let a=e.iterator();a.hasNext();){const t=a.next(),e=t.getLinearRing(),c=e.getEnvelopeInternal();if(c.equals(i))continue;if(!c.contains(i))continue;r=B["a"].ptNotInList(n.getCoordinates(),e.getCoordinates());let l=!1;q["a"].isInRing(r,e.getCoordinates())&&(l=!0),l&&(null===s||o.contains(c))&&(s=t,o=s.getLinearRing().getEnvelopeInternal())}return s}sortShellsAndHoles(t,e,n){for(let i=t.iterator();i.hasNext();){const t=i.next();t.isHole()?n.add(t):e.add(t)}}computePolygons(t){const e=new v["a"];for(let n=t.iterator();n.hasNext();){const t=n.next(),i=t.toPolygon(this._geometryFactory);e.add(i)}return e}placeFreeHoles(t,e){for(let n=e.iterator();n.hasNext();){const e=n.next();if(null===e.getShell()){const n=W.findEdgeRingContaining(e,t);if(null===n)throw new N["a"]("unable to assign hole to a shell",e.getCoordinate(0));e.setShell(n)}}}buildMinimalEdgeRings(t,e,n){const i=new v["a"];for(let r=t.iterator();r.hasNext();){const t=r.next();if(t.getMaxNodeDegree()>2){t.linkDirectedEdgesForMinimalEdgeRings();const i=t.buildMinimalRings(),r=this.findShell(i);null!==r?(this.placePolygonHoles(r,i),e.add(r)):n.addAll(i)}else i.add(t)}return i}buildMaximalEdgeRings(t){const e=new v["a"];for(let n=t.iterator();n.hasNext();){const t=n.next();if(t.isInResult()&&t.getLabel().isArea()&&null===t.getEdgeRing()){const n=new z["a"](t,this._geometryFactory);e.add(n),n.setInResult()}}return e}placePolygonHoles(t,e){for(let n=e.iterator();n.hasNext();){const e=n.next();e.isHole()&&e.setShell(t)}}getPolygons(){const t=this.computePolygons(this._shellList);return t}findShell(t){let e=0,n=null;for(let i=t.iterator();i.hasNext();){const t=i.next();t.isHole()||(n=t,e++)}return p["a"].isTrue(e<=1,"found two shells in MinimalEdgeRing list"),n}add(){if(1===arguments.length){const t=arguments[0];this.add(t.getEdgeEnds(),t.getNodes())}else if(2===arguments.length){const t=arguments[0],e=arguments[1];$["a"].linkResultDirectedEdges(e);const n=this.buildMaximalEdgeRings(t),i=new v["a"],r=this.buildMinimalEdgeRings(n,this._shellList,i);this.sortShellsAndHoles(r,this._shellList,i),this.placeFreeHoles(this._shellList,i)}}}var U=n("0360");class V{constructor(){V.constructor_.apply(this,arguments)}static constructor_(){this._op=null,this._geometryFactory=null,this._ptLocator=null,this._lineEdgesList=new v["a"],this._resultLineList=new v["a"];const t=arguments[0],e=arguments[1],n=arguments[2];this._op=t,this._geometryFactory=e,this._ptLocator=n}collectLines(t){for(let e=this._op.getGraph().getEdgeEnds().iterator();e.hasNext();){const n=e.next();this.collectLineEdge(n,t,this._lineEdgesList),this.collectBoundaryTouchEdge(n,t,this._lineEdgesList)}}labelIsolatedLine(t,e){const n=this._ptLocator.locate(t.getCoordinate(),this._op.getArgGeometry(e));t.getLabel().setLocation(e,n)}build(t){return this.findCoveredLineEdges(),this.collectLines(t),this.buildLines(t),this._resultLineList}collectLineEdge(t,e,n){const i=t.getLabel(),r=t.getEdge();t.isLineEdge()&&(t.isVisited()||!Mt.isResultOfOp(i,e)||r.isCovered()||(n.add(r),t.setVisitedEdge(!0)))}findCoveredLineEdges(){for(let t=this._op.getGraph().getNodes().iterator();t.hasNext();){const e=t.next();e.getEdges().findCoveredLineEdges()}for(let t=this._op.getGraph().getEdgeEnds().iterator();t.hasNext();){const e=t.next(),n=e.getEdge();if(e.isLineEdge()&&!n.isCoveredSet()){const t=this._op.isCoveredByA(e.getCoordinate());n.setCovered(t)}}}labelIsolatedLines(t){for(let e=t.iterator();e.hasNext();){const t=e.next(),n=t.getLabel();t.isIsolated()&&(n.isNull(0)?this.labelIsolatedLine(t,0):this.labelIsolatedLine(t,1))}}buildLines(t){for(let e=this._lineEdgesList.iterator();e.hasNext();){const t=e.next(),n=this._geometryFactory.createLineString(t.getCoordinates());this._resultLineList.add(n),t.setInResult(!0)}}collectBoundaryTouchEdge(t,e,n){const i=t.getLabel();return t.isLineEdge()?null:t.isVisited()?null:t.isInteriorAreaEdge()?null:t.getEdge().isInResult()?null:(p["a"].isTrue(!(t.isInResult()||t.getSym().isInResult())||!t.getEdge().isInResult()),void(Mt.isResultOfOp(i,e)&&e===Mt.INTERSECTION&&(n.add(t.getEdge()),t.setVisitedEdge(!0))))}}class X{constructor(){X.constructor_.apply(this,arguments)}static constructor_(){this._op=null,this._geometryFactory=null,this._resultPointList=new v["a"];const t=arguments[0],e=arguments[1];arguments[2];this._op=t,this._geometryFactory=e}filterCoveredNodeToPoint(t){const e=t.getCoordinate();if(!this._op.isCoveredByLA(e)){const t=this._geometryFactory.createPoint(e);this._resultPointList.add(t)}}extractNonCoveredResultNodes(t){for(let e=this._op.getGraph().getNodes().iterator();e.hasNext();){const n=e.next();if(!n.isInResult()&&(!n.isIncidentEdgeInResult()&&(0===n.getEdges().getDegree()||t===Mt.INTERSECTION))){const e=n.getLabel();Mt.isResultOfOp(e,t)&&this.filterCoveredNodeToPoint(n)}}}build(t){return this.extractNonCoveredResultNodes(t),this._resultPointList}}var K=n("a829"),Z=n("1436"),J=n("38de"),Q=n("1d1d"),tt=n("138e");class et{constructor(){et.constructor_.apply(this,arguments)}static constructor_(){if(this._snapTolerance=0,this._srcPts=null,this._seg=new E["a"],this._allowSnappingToSourceVertices=!1,this._isClosed=!1,arguments[0]instanceof tt["a"]&&"number"===typeof arguments[1]){const t=arguments[0],e=arguments[1];et.constructor_.call(this,t.getCoordinates(),e)}else if(arguments[0]instanceof Array&&"number"===typeof arguments[1]){const t=arguments[0],e=arguments[1];this._srcPts=t,this._isClosed=et.isClosed(t),this._snapTolerance=e}}static isClosed(t){return!(t.length<=1)&&t[0].equals2D(t[t.length-1])}snapVertices(t,e){const n=this._isClosed?t.size()-1:t.size();for(let i=0;i=0&&t.add(r+1,new a["a"](n),!1)}}findSegmentIndexToSnap(t,e){let n=Q["a"].MAX_VALUE,i=-1;for(let r=0;re&&(e=t)}return e}if(2===arguments.length){const t=arguments[0],e=arguments[1];return Math.min(rt.computeOverlaySnapTolerance(t),rt.computeOverlaySnapTolerance(e))}}static computeSizeBasedSnapTolerance(t){const e=t.getEnvelopeInternal(),n=Math.min(e.getHeight(),e.getWidth()),i=n*rt.SNAP_PRECISION_FACTOR;return i}static snapToSelf(t,e,n){const i=new rt(t);return i.snapToSelf(e,n)}snapTo(t,e){const n=this.extractTargetCoordinates(t),i=new st(e,n);return i.transform(this._srcGeom)}snapToSelf(t,e){const n=this.extractTargetCoordinates(this._srcGeom),i=new st(t,n,!0),r=i.transform(this._srcGeom);let s=r;return e&&Object(J["a"])(s,it["a"])&&(s=r.buffer(0)),s}computeSnapTolerance(t){const e=this.computeMinimumSegmentLength(t),n=e/10;return n}extractTargetCoordinates(t){const e=new K["a"],n=t.getCoordinates();for(let i=0;i>>20}static zeroLowerBits(t,e){let n="low";if(e>32&&(t.low=0,e%=32,n="high"),e>0){const i=e<32?~((1<=0;i--){if(ct.getBit(t,i)!==ct.getBit(e,i))return n;n++}return 52}}var lt=n("c9eb"),ut=n("edde");class ht{constructor(){ht.constructor_.apply(this,arguments)}static constructor_(){this._commonCoord=null,this._ccFilter=new dt}addCommonBits(t){const e=new ft(this._commonCoord);t.apply(e),t.geometryChanged()}removeCommonBits(t){if(0===this._commonCoord.x&&0===this._commonCoord.y)return t;const e=new a["a"](this._commonCoord);e.x=-e.x,e.y=-e.y;const n=new ft(e);return t.apply(n),t.geometryChanged(),t}getCommonCoordinate(){return this._commonCoord}add(t){t.apply(this._ccFilter),this._commonCoord=this._ccFilter.getCommonCoordinate()}}class dt{constructor(){dt.constructor_.apply(this,arguments)}static constructor_(){this._commonBitsX=new ct,this._commonBitsY=new ct}filter(t){this._commonBitsX.add(t.x),this._commonBitsY.add(t.y)}getCommonCoordinate(){return new a["a"](this._commonBitsX.getCommon(),this._commonBitsY.getCommon())}get interfaces_(){return[lt["a"]]}}class ft{constructor(){ft.constructor_.apply(this,arguments)}static constructor_(){this.trans=null;const t=arguments[0];this.trans=t}filter(t,e){const n=t.getOrdinate(e,0)+this.trans.x,i=t.getOrdinate(e,1)+this.trans.y;t.setOrdinate(e,0,n),t.setOrdinate(e,1,i)}isDone(){return!1}isGeometryChanged(){return!0}get interfaces_(){return[ut["a"]]}}ht.CommonCoordinateFilter=dt,ht.Translater=ft;class pt{constructor(){pt.constructor_.apply(this,arguments)}static constructor_(){this._geom=new Array(2).fill(null),this._snapTolerance=null,this._cbr=null;const t=arguments[0],e=arguments[1];this._geom[0]=t,this._geom[1]=e,this.computeSnapTolerance()}static overlayOp(t,e,n){const i=new pt(t,e);return i.getResultGeometry(n)}static union(t,e){return pt.overlayOp(t,e,Mt.UNION)}static intersection(t,e){return pt.overlayOp(t,e,Mt.INTERSECTION)}static symDifference(t,e){return pt.overlayOp(t,e,Mt.SYMDIFFERENCE)}static difference(t,e){return pt.overlayOp(t,e,Mt.DIFFERENCE)}selfSnap(t){const e=new rt(t),n=e.snapTo(t,this._snapTolerance);return n}removeCommonBits(t){this._cbr=new ht,this._cbr.add(t[0]),this._cbr.add(t[1]);const e=new Array(2).fill(null);return e[0]=this._cbr.removeCommonBits(t[0].copy()),e[1]=this._cbr.removeCommonBits(t[1].copy()),e}prepareResult(t){return this._cbr.addCommonBits(t),t}getResultGeometry(t){const e=this.snap(this._geom),n=Mt.overlayOp(e[0],e[1],t);return this.prepareResult(n)}checkValid(t){t.isValid()||ot["a"].out.println("Snapped geometry is invalid")}computeSnapTolerance(){this._snapTolerance=rt.computeOverlaySnapTolerance(this._geom[0],this._geom[1])}snap(t){const e=this.removeCommonBits(t),n=rt.snap(e[0],e[1],this._snapTolerance);return n}}class _t{constructor(){_t.constructor_.apply(this,arguments)}static constructor_(){this._geom=new Array(2).fill(null);const t=arguments[0],e=arguments[1];this._geom[0]=t,this._geom[1]=e}static overlayOp(t,e,n){const i=new _t(t,e);return i.getResultGeometry(n)}static union(t,e){return _t.overlayOp(t,e,Mt.UNION)}static intersection(t,e){return _t.overlayOp(t,e,Mt.INTERSECTION)}static symDifference(t,e){return _t.overlayOp(t,e,Mt.SYMDIFFERENCE)}static difference(t,e){return _t.overlayOp(t,e,Mt.DIFFERENCE)}getResultGeometry(t){let e=null,n=!1,i=null;try{e=Mt.overlayOp(this._geom[0],this._geom[1],t);const r=!0;r&&(n=!0)}catch(t){if(!(t instanceof b["a"]))throw t;i=t}if(!n)try{e=pt.overlayOp(this._geom[0],this._geom[1],t)}catch(t){throw t instanceof b["a"]?i:t}return e}}var mt=n("b08b"),gt=n("67bc"),yt=n("7bd1");class vt{constructor(){vt.constructor_.apply(this,arguments)}static constructor_(){this._pts=null,this._orientation=null;const t=arguments[0];this._pts=t,this._orientation=vt.orientation(t)}static orientation(t){return 1===B["a"].increasingDirection(t)}static compareOriented(t,e,n,i){const r=e?1:-1,s=i?1:-1,o=e?t.length:-1,a=i?n.length:-1;let c=e?0:t.length-1,l=i?0:n.length-1;while(1){const e=t[c].compareTo(n[l]);if(0!==e)return e;c+=r,l+=s;const i=c===o,u=l===a;if(i&&!u)return-1;if(!i&&u)return 1;if(i&&u)return 0}}compareTo(t){const e=t,n=vt.compareOriented(this._pts,this._orientation,e._pts,e._orientation);return n}get interfaces_(){return[m["a"]]}}class bt{constructor(){bt.constructor_.apply(this,arguments)}static constructor_(){this._edges=new v["a"],this._ocaMap=new M["a"]}print(t){t.print("MULTILINESTRING ( ");for(let e=0;e0&&t.print(","),t.print("(");const i=n.getCoordinates();for(let e=0;e0&&t.print(","),t.print(i[e].x+" "+i[e].y);t.println(")")}t.print(") ")}addAll(t){for(let e=t.iterator();e.hasNext();)this.add(e.next())}findEdgeIndex(t){for(let e=0;eg.area(this._boundable2)?(this.expand(this._boundable1,this._boundable2,!1,t,e),null):(this.expand(this._boundable2,this._boundable1,!0,t,e),null);if(n)return this.expand(this._boundable1,this._boundable2,!1,t,e),null;if(i)return this.expand(this._boundable2,this._boundable1,!0,t,e),null;throw new p["a"]("neither boundable is composite")}isLeaves(){return!(g.isComposite(this._boundable1)||g.isComposite(this._boundable2))}compareTo(t){const e=t;return this._distancee._distance?1:0}expand(t,e,n,i,r){const s=t.getChildBoundables();for(let o=s.iterator();o.hasNext();){const t=o.next();let s=null;s=n?new g(e,t,this._itemDistance):new g(t,e,this._itemDistance),s.getDistance()1,"Node capacity must be greater than 1"),this._nodeCapacity=t}}static compareDoubles(t,e){return t>e?1:t-2),e.getLevel()===t)return n.add(e),null;for(let i=e.getChildBoundables().iterator();i.hasNext();){const e=i.next();e instanceof h?this.boundablesAtLevel(t,e,n):(u["a"].isTrue(e instanceof s),-1===t&&n.add(e))}return null}}query(){if(1===arguments.length){const t=arguments[0];this.build();const e=new o["a"];return this.isEmpty()?e:(this.getIntersectsOp().intersects(this._root.getBounds(),t)&&this.queryInternal(t,this._root,e),e)}if(2===arguments.length){const t=arguments[0],e=arguments[1];if(this.build(),this.isEmpty())return null;this.getIntersectsOp().intersects(this._root.getBounds(),t)&&this.queryInternal(t,this._root,e)}}build(){if(this._built)return null;this._root=this._itemBoundables.isEmpty()?this.createNode(0):this.createHigherLevels(this._itemBoundables,-1),this._itemBoundables=null,this._built=!0}getRoot(){return this.build(),this._root}remove(){if(2===arguments.length){const t=arguments[0],e=arguments[1];return this.build(),!!this.getIntersectsOp().intersects(this._root.getBounds(),t)&&this.remove(t,this._root,e)}if(3===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2];let i=this.removeItem(e,n);if(i)return!0;let r=null;for(let s=e.getChildBoundables().iterator();s.hasNext();){const e=s.next();if(this.getIntersectsOp().intersects(e.getBounds(),t)&&(e instanceof h&&(i=this.remove(t,e,n),i))){r=e;break}}return null!==r&&r.getChildBoundables().isEmpty()&&e.getChildBoundables().remove(r),i}}createHigherLevels(t,e){u["a"].isTrue(!t.isEmpty());const n=this.createParentBoundables(t,e+1);return 1===n.size()?n.get(0):this.createHigherLevels(n,e+1)}depth(){if(0===arguments.length)return this.isEmpty()?0:(this.build(),this.depth(this._root));if(1===arguments.length){const t=arguments[0];let e=0;for(let n=t.getChildBoundables().iterator();n.hasNext();){const t=n.next();if(t instanceof h){const n=this.depth(t);n>e&&(e=n)}}return e+1}}createParentBoundables(t,e){u["a"].isTrue(!t.isEmpty());const n=new o["a"];n.add(this.createNode(e));const i=new o["a"](t);f["a"].sort(i,this.getComparator());for(let r=i.iterator();r.hasNext();){const t=r.next();this.lastNode(n).getChildBoundables().size()===this.getNodeCapacity()&&n.add(this.createNode(e)),this.lastNode(n).addChildBoundable(t)}return n}isEmpty(){return this._built?this._root.isEmpty():this._itemBoundables.isEmpty()}get interfaces_(){return[r["a"]]}}function x(){}w.IntersectsOp=x,w.DEFAULT_NODE_CAPACITY=10;class L{distance(t,e){}}n.d(e,"a",function(){return E});class E extends w{constructor(){super(),E.constructor_.apply(this,arguments)}static constructor_(){if(0===arguments.length)E.constructor_.call(this,E.DEFAULT_NODE_CAPACITY);else if(1===arguments.length){const t=arguments[0];w.constructor_.call(this,t)}}static centreX(t){return E.avg(t.getMinX(),t.getMaxX())}static avg(t,e){return(t+e)/2}static getItems(t){const e=new Array(t.size()).fill(null);let n=0;while(!t.isEmpty()){const i=t.poll();e[n]=i.getBoundable(0).getItem(),n++}return e}static centreY(t){return E.avg(t.getMinY(),t.getMaxY())}createParentBoundablesFromVerticalSlices(t,e){u["a"].isTrue(t.length>0);const n=new o["a"];for(let i=0;i=0){const t=r.poll(),e=t.getDistance();if(e>=i)break;if(t.isLeaves())if(s.size()e&&(s.poll(),s.add(t));const r=s.peek();i=r.getDistance()}else t.expandToQueue(r,i)}return E.getItems(s)}}createNode(t){return new T(t)}size(){return 0===arguments.length?super.size.call(this):super.size.apply(this,arguments)}insert(){if(!(2===arguments.length&&arguments[1]instanceof Object&&arguments[0]instanceof v["a"]))return super.insert.apply(this,arguments);{const t=arguments[0],e=arguments[1];if(t.isNull())return null;super.insert.call(this,t,e)}}getIntersectsOp(){return E.intersectsOp}verticalSlices(t,e){const n=Math.trunc(Math.ceil(t.size()/e)),i=new Array(e).fill(null),r=t.iterator();for(let s=0;s0){const t=i.poll(),r=t.getDistance();if(r>=e)break;t.isLeaves()?(e=r,n=t):t.expandToQueue(i,e)}return null===n?null:[n.getBoundable(0).getItem(),n.getBoundable(1).getItem()]}}else{if(2===arguments.length){const t=arguments[0],e=arguments[1];if(this.isEmpty()||t.isEmpty())return null;const n=new g(this.getRoot(),t.getRoot(),e);return this.nearestNeighbour(n)}if(3===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2],i=new s(t,e),r=new g(this.getRoot(),i,n);return this.nearestNeighbour(r)[0]}if(4===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3],r=new s(t,e),o=new g(this.getRoot(),r,n);return this.nearestNeighbourK(o,i)}}}isWithinDistance(){if(2===arguments.length){const t=arguments[0],e=arguments[1];let n=d["a"].POSITIVE_INFINITY;const i=new a;i.add(t);while(!i.isEmpty()){const t=i.poll(),r=t.getDistance();if(r>e)return!1;if(t.maximumDistance()<=e)return!0;if(t.isLeaves()){if(n=r,n<=e)return!0}else t.expandToQueue(i,n)}return!1}if(3===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2],i=new g(this.getRoot(),t.getRoot(),e);return this.isWithinDistance(i,n)}}get interfaces_(){return[l,r["a"]]}}class T extends h{constructor(){super(),T.constructor_.apply(this,arguments)}static constructor_(){const t=arguments[0];h.constructor_.call(this,t)}computeBounds(){let t=null;for(let e=this.getChildBoundables().iterator();e.hasNext();){const n=e.next();null===t?t=new v["a"](n.getBounds()):t.expandToInclude(n.getBounds())}return t}}E.STRtreeNode=T,E.xComparator=new class{get interfaces_(){return[y["a"]]}compare(t,e){return w.compareDoubles(E.centreX(t.getBounds()),E.centreX(e.getBounds()))}},E.yComparator=new class{get interfaces_(){return[y["a"]]}compare(t,e){return w.compareDoubles(E.centreY(t.getBounds()),E.centreY(e.getBounds()))}},E.intersectsOp=new class{get interfaces_(){return[IntersectsOp]}intersects(t,e){return t.intersects(e)}},E.DEFAULT_NODE_CAPACITY=10},c8da:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("c6a3");class r extends i["a"]{get(){}set(){}isEmpty(){}}},c8f3:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e})},c973:function(t,e,n){var i=n("f1f2");function r(t,e,n,r,s,o,a){try{var c=t[o](a),l=c.value}catch(t){return void n(t)}c.done?e(l):i.resolve(l).then(r,s)}function s(t){return function(){var e=this,n=arguments;return new i(function(i,s){var o=t.apply(e,n);function a(t){r(o,i,s,a,c,"next",t)}function c(t){r(o,i,s,a,c,"throw",t)}a(void 0)})}}t.exports=s},c9eb:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{filter(t){}}},c9fd:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("c6a3"),r=n("062e"),s=n("46ef"),o=n("272a");class a extends o["a"]{constructor(t){super(),this.map=new Map,t instanceof i["a"]&&this.addAll(t)}contains(t){const e=t.hashCode?t.hashCode():t;return!!this.map.has(e)}add(t){const e=t.hashCode?t.hashCode():t;return!this.map.has(e)&&!!this.map.set(e,t)}addAll(t){for(const e of t)this.add(e);return!0}remove(){throw new s["a"]}size(){return this.map.size}isEmpty(){return 0===this.map.size}toArray(){return Array.from(this.map.values())}iterator(){return new c(this.map)}[Symbol.iterator](){return this.map}}class c{constructor(t){this.iterator=t.values();const{done:e,value:n}=this.iterator.next();this.done=e,this.value=n}next(){if(this.done)throw new r["a"];const t=this.value,{done:e,value:n}=this.iterator.next();return this.done=e,this.value=n,t}hasNext(){return!this.done}remove(){throw new s["a"]}}},ca34:function(t,e,n){(function(e){t.exports=e.EventSource}).call(this,n("c8ba"))},ca42:function(t,e,n){"use strict";function i(t){return Math.pow(t,3)}function r(t){return 1-i(1-t)}function s(t){return 3*t*t-2*t*t*t}function o(t){return t}n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r}),n.d(e,"c",function(){return s}),n.d(e,"d",function(){return o})},ca5a:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},caca:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("ad3f"),r=n("7c01"),s=n("e35d");class o{constructor(){o.constructor_.apply(this,arguments)}static constructor_(){if(this._minx=null,this._maxx=null,this._miny=null,this._maxy=null,0===arguments.length)this.init();else if(1===arguments.length){if(arguments[0]instanceof i["a"]){const t=arguments[0];this.init(t.x,t.x,t.y,t.y)}else if(arguments[0]instanceof o){const t=arguments[0];this.init(t)}}else if(2===arguments.length){const t=arguments[0],e=arguments[1];this.init(t.x,e.x,t.y,e.y)}else if(4===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];this.init(t,e,n,i)}}static intersects(){if(3===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2];return n.x>=(t.xe.x?t.x:e.x)&&n.y>=(t.ye.y?t.y:e.y)}if(4===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];let r=Math.min(n.x,i.x),s=Math.max(n.x,i.x),o=Math.min(t.x,e.x),a=Math.max(t.x,e.x);return!(o>s)&&(!(as)&&!(at._minx?this._minx:t._minx,n=this._miny>t._miny?this._miny:t._miny,i=this._maxx=this._minx&&t.getMaxX()<=this._maxx&&t.getMinY()>=this._miny&&t.getMaxY()<=this._maxy)}}else if(2===arguments.length){const t=arguments[0],e=arguments[1];return!this.isNull()&&(t>=this._minx&&t<=this._maxx&&e>=this._miny&&e<=this._maxy)}}intersects(){if(1===arguments.length){if(arguments[0]instanceof o){const t=arguments[0];return!this.isNull()&&!t.isNull()&&!(t._minx>this._maxx||t._maxxthis._maxy||t._maxythis._maxx)return!1;const i=t.x>e.x?t.x:e.x;if(ithis._maxy)return!1;const s=t.y>e.y?t.y:e.y;return!(sthis._maxx||tthis._maxy||ethis._maxx&&(this._maxx=t._maxx),t._minythis._maxy&&(this._maxy=t._maxy))}}else if(2===arguments.length){const t=arguments[0],e=arguments[1];this.isNull()?(this._minx=t,this._maxx=t,this._miny=e,this._maxy=e):(tthis._maxx&&(this._maxx=t),ethis._maxy&&(this._maxy=e))}}minExtent(){if(this.isNull())return 0;const t=this.getWidth(),e=this.getHeight();return te._minx?1:this._minye._miny?1:this._maxxe._maxx?1:this._maxye._maxy?1:0}translate(t,e){if(this.isNull())return null;this.init(this.getMinX()+t,this.getMaxX()+t,this.getMinY()+e,this.getMaxY()+e)}copy(){return new o(this)}toString(){return"Env["+this._minx+" : "+this._maxx+", "+this._miny+" : "+this._maxy+"]"}setToNull(){this._minx=0,this._maxx=-1,this._miny=0,this._maxy=-1}disjoint(t){return!(!this.isNull()&&!t.isNull())||(t._minx>this._maxx||t._maxxthis._maxy||t._maxye?t:e}expandBy(){if(1===arguments.length){const t=arguments[0];this.expandBy(t,t)}else if(2===arguments.length){const t=arguments[0],e=arguments[1];if(this.isNull())return null;this._minx-=t,this._maxx+=t,this._miny-=e,this._maxy+=e,(this._minx>this._maxx||this._miny>this._maxy)&&this.setToNull()}}contains(){if(1===arguments.length){if(arguments[0]instanceof o){const t=arguments[0];return this.covers(t)}if(arguments[0]instanceof i["a"]){const t=arguments[0];return this.covers(t)}}else if(2===arguments.length){const t=arguments[0],e=arguments[1];return this.covers(t,e)}}centre(){return this.isNull()?null:new i["a"]((this.getMinX()+this.getMaxX())/2,(this.getMinY()+this.getMaxY())/2)}init(){if(0===arguments.length)this.setToNull();else if(1===arguments.length){if(arguments[0]instanceof i["a"]){const t=arguments[0];this.init(t.x,t.x,t.y,t.y)}else if(arguments[0]instanceof o){const t=arguments[0];this._minx=t._minx,this._maxx=t._maxx,this._miny=t._miny,this._maxy=t._maxy}}else if(2===arguments.length){const t=arguments[0],e=arguments[1];this.init(t.x,e.x,t.y,e.y)}else if(4===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];tt._maxx&&(e=this._minx-t._maxx);let n=0;return this._maxyt._maxy&&(n=this._miny-t._maxy),0===e?n:0===n?e:Math.sqrt(e*e+n*n)}hashCode(){let t=17;return t=37*t+i["a"].hashCode(this._minx),t=37*t+i["a"].hashCode(this._maxx),t=37*t+i["a"].hashCode(this._miny),t=37*t+i["a"].hashCode(this._maxy),t}get interfaces_(){return[r["a"],s["a"]]}}},cadf:function(t,e,n){"use strict";var i=n("9c6c"),r=n("d53b"),s=n("84f2"),o=n("6821");t.exports=n("01f9")(Array,"Array",function(t,e){this._t=o(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),s.Arguments=s.Array,i("keys"),i("values"),i("entries")},cb24:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("ad3f"),r=n("fd89");class s{static isNorthern(t){return t===s.NE||t===s.NW}static isOpposite(t,e){if(t===e)return!1;const n=(t-e+4)%4;return 2===n}static commonHalfPlane(t,e){if(t===e)return t;const n=(t-e+4)%4;if(2===n)return-1;const i=te?t:e;return 0===i&&3===r?3:i}static isInHalfPlane(t,e){return e===s.SE?t===s.SE||t===s.SW:t===e||t===e+1}static quadrant(){if("number"===typeof arguments[0]&&"number"===typeof arguments[1]){const t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new r["a"]("Cannot compute the quadrant for point ( "+t+", "+e+" )");return t>=0?e>=0?s.NE:s.SE:e>=0?s.NW:s.SW}if(arguments[0]instanceof i["a"]&&arguments[1]instanceof i["a"]){const t=arguments[0],e=arguments[1];if(e.x===t.x&&e.y===t.y)throw new r["a"]("Cannot compute the quadrant for two identical points "+t);return e.x>=t.x?e.y>=t.y?s.NE:s.SE:e.y>=t.y?s.NW:s.SW}}}s.NE=0,s.NW=1,s.SW=2,s.SE=3},cb7c:function(t,e,n){var i=n("d3f4");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},cb8c:function(t,e,n){},cc15:function(t,e,n){},cc7d:function(t,e,n){"use strict";(function(e){var i=n("6945");t.exports=n("486c")(i),"_sockjs_onload"in e&&setTimeout(e._sockjs_onload,1)}).call(this,n("c8ba"))},ccb9:function(t,e,n){e.f=n("5168")},ccf4:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{}},cd0e:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{static isWhitespace(t){return t<=32&&t>=0||127===t}static toUpperCase(t){return t.toUpperCase()}}},cd1c:function(t,e,n){var i=n("e853");t.exports=function(t,e){return new(i(t))(e)}},cd4a:function(t,e,n){"use strict";var i=n("38de"),r=n("6f62");class s{create(){if(1===arguments.length){if(arguments[0]instanceof Array){arguments[0]}else if(Object(i["a"])(arguments[0],r["a"])){arguments[0]}}else if(2===arguments.length){arguments[0],arguments[1]}else if(3===arguments.length){const t=arguments[0],e=arguments[1];arguments[2];return this.create(t,e)}}}var o=n("138e"),a=n("ad3f"),c=n("fd89"),l=n("a02c"),u=n("78c4"),h=n("f69e"),d=n("3894"),f=n("d7bb"),p=n("e35d");class _{static instance(){return _.instanceObject}readResolve(){return _.instance()}create(){if(1===arguments.length){if(arguments[0]instanceof Array){const t=arguments[0];return new f["a"](t)}if(Object(i["a"])(arguments[0],r["a"])){const t=arguments[0];return new f["a"](t)}}else{if(2===arguments.length){let t=arguments[0],e=arguments[1];return e>3&&(e=3),e<2&&(e=2),new f["a"](t,e)}if(3===arguments.length){let t=arguments[0],e=arguments[1],n=arguments[2],i=e-n;return n>1&&(n=1),i>3&&(i=3),i<2&&(i=2),new f["a"](t,i+n,n)}}}get interfaces_(){return[s,p["a"]]}}_.instanceObject=new _;var m=n("76af"),g=n("eab5"),y=n("c73a"),v=n("5ae1"),b=n("668c"),M=n("58e9");n.d(e,"a",function(){return w});class w{constructor(){w.constructor_.apply(this,arguments)}static constructor_(){if(this._precisionModel=null,this._coordinateSequenceFactory=null,this._SRID=null,0===arguments.length)w.constructor_.call(this,new v["a"],0);else if(1===arguments.length){if(Object(i["a"])(arguments[0],s)){const t=arguments[0];w.constructor_.call(this,new v["a"],0,t)}else if(arguments[0]instanceof v["a"]){const t=arguments[0];w.constructor_.call(this,t,0,w.getDefaultCoordinateSequenceFactory())}}else if(2===arguments.length){const t=arguments[0],e=arguments[1];w.constructor_.call(this,t,e,w.getDefaultCoordinateSequenceFactory())}else if(3===arguments.length){const t=arguments[0],e=arguments[1],n=arguments[2];this._precisionModel=t,this._coordinateSequenceFactory=n,this._SRID=e}}static toMultiPolygonArray(t){const e=new Array(t.size()).fill(null);return t.toArray(e)}static toGeometryArray(t){if(null===t)return null;const e=new Array(t.size()).fill(null);return t.toArray(e)}static getDefaultCoordinateSequenceFactory(){return _.instance()}static toMultiLineStringArray(t){const e=new Array(t.size()).fill(null);return t.toArray(e)}static toLineStringArray(t){const e=new Array(t.size()).fill(null);return t.toArray(e)}static toMultiPointArray(t){const e=new Array(t.size()).fill(null);return t.toArray(e)}static toLinearRingArray(t){const e=new Array(t.size()).fill(null);return t.toArray(e)}static toPointArray(t){const e=new Array(t.size()).fill(null);return t.toArray(e)}static toPolygonArray(t){const e=new Array(t.size()).fill(null);return t.toArray(e)}static createPointFromInternalCoord(t,e){return e.getPrecisionModel().makePrecise(t),e.getFactory().createPoint(t)}createEmpty(t){switch(t){case-1:return this.createGeometryCollection();case 0:return this.createPoint();case 1:return this.createLineString();case 2:return this.createPolygon();default:throw new c["a"]("Invalid dimension: "+t)}}toGeometry(t){return t.isNull()?this.createPoint():t.getMinX()===t.getMaxX()&&t.getMinY()===t.getMaxY()?this.createPoint(new a["a"](t.getMinX(),t.getMinY())):t.getMinX()===t.getMaxX()||t.getMinY()===t.getMaxY()?this.createLineString([new a["a"](t.getMinX(),t.getMinY()),new a["a"](t.getMaxX(),t.getMaxY())]):this.createPolygon(this.createLinearRing([new a["a"](t.getMinX(),t.getMinY()),new a["a"](t.getMinX(),t.getMaxY()),new a["a"](t.getMaxX(),t.getMaxY()),new a["a"](t.getMaxX(),t.getMinY()),new a["a"](t.getMinX(),t.getMinY())]),null)}createLineString(){if(0===arguments.length)return this.createLineString(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof Array){const t=arguments[0];return this.createLineString(null!==t?this.getCoordinateSequenceFactory().create(t):null)}if(Object(i["a"])(arguments[0],r["a"])){const t=arguments[0];return new o["a"](t,this)}}}createMultiLineString(){if(0===arguments.length)return new M["a"](null,this);if(1===arguments.length){const t=arguments[0];return new M["a"](t,this)}}buildGeometry(t){let e=null,n=!1,i=!1;for(let o=t.iterator();o.hasNext();){const t=o.next(),r=t.getTypeCode();null===e&&(e=r),r!==e&&(n=!0),t instanceof y["a"]&&(i=!0)}if(null===e)return this.createGeometryCollection();if(n||i)return this.createGeometryCollection(w.toGeometryArray(t));const r=t.iterator().next(),s=t.size()>1;if(s){if(r instanceof u["a"])return this.createMultiPolygon(w.toPolygonArray(t));if(r instanceof o["a"])return this.createMultiLineString(w.toLineStringArray(t));if(r instanceof l["a"])return this.createMultiPoint(w.toPointArray(t));b["a"].shouldNeverReachHere("Unhandled geometry type: "+r.getGeometryType())}return r}createMultiPointFromCoords(t){return this.createMultiPoint(null!==t?this.getCoordinateSequenceFactory().create(t):null)}createPoint(){if(0===arguments.length)return this.createPoint(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof a["a"]){const t=arguments[0];return this.createPoint(null!==t?this.getCoordinateSequenceFactory().create([t]):null)}if(Object(i["a"])(arguments[0],r["a"])){const t=arguments[0];return new l["a"](t,this)}}}getCoordinateSequenceFactory(){return this._coordinateSequenceFactory}createPolygon(){if(0===arguments.length)return this.createPolygon(null,null);if(1===arguments.length){if(Object(i["a"])(arguments[0],r["a"])){const t=arguments[0];return this.createPolygon(this.createLinearRing(t))}if(arguments[0]instanceof Array){const t=arguments[0];return this.createPolygon(this.createLinearRing(t))}if(arguments[0]instanceof d["a"]){const t=arguments[0];return this.createPolygon(t,null)}}else if(2===arguments.length){const t=arguments[0],e=arguments[1];return new u["a"](t,e,this)}}getSRID(){return this._SRID}createGeometryCollection(){if(0===arguments.length)return new y["a"](null,this);if(1===arguments.length){const t=arguments[0];return new y["a"](t,this)}}getPrecisionModel(){return this._precisionModel}createLinearRing(){if(0===arguments.length)return this.createLinearRing(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof Array){const t=arguments[0];return this.createLinearRing(null!==t?this.getCoordinateSequenceFactory().create(t):null)}if(Object(i["a"])(arguments[0],r["a"])){const t=arguments[0];return new d["a"](t,this)}}}createMultiPolygon(){if(0===arguments.length)return new m["a"](null,this);if(1===arguments.length){const t=arguments[0];return new m["a"](t,this)}}createMultiPoint(){if(0===arguments.length)return new h["a"](null,this);if(1===arguments.length){if(arguments[0]instanceof Array){const t=arguments[0];return new h["a"](t,this)}if(Object(i["a"])(arguments[0],r["a"])){const t=arguments[0];if(null===t)return this.createMultiPoint(new Array(0).fill(null));const e=new Array(t.size()).fill(null);for(let n=0;n0||this.additionalLength>0||this.placeholder||0===this.placeholder},editable:function(){return!this.disable&&!this.readonly},computedClearValue:function(){return void 0===this.clearValue?null:this.clearValue},isClearable:function(){return this.editable&&this.clearable&&this.computedClearValue!==this.model},hasError:function(){return!!(!this.noParentField&&this.field&&this.field.error||this.error)},hasWarning:function(){return!(this.hasError||!(!this.noParentField&&this.field&&this.field.warning||this.warning))},fakeInputValue:function(){return this.actualValue||0===this.actualValue?this.actualValue:this.placeholder||0===this.placeholder?this.placeholder:""},fakeInputClasses:function(){var t=this.actualValue||0===this.actualValue;return[this.alignClass,{invisible:(this.stackLabel||this.floatLabel)&&!this.labelIsAbove&&!t,"q-input-target-placeholder":!t&&this.inputPlaceholder}]}},methods:{clear:function(t){if(this.editable){t&&Object(i["g"])(t);var e=this.computedClearValue;this.__setModel&&this.__setModel(e,!0),this.$emit("clear",e)}}}}},ce10:function(t,e,n){var i=n("69a8"),r=n("6821"),s=n("c366")(!1),o=n("613b")("IE_PROTO");t.exports=function(t,e){var n,a=r(t),c=0,l=[];for(n in a)n!=o&&i(a,n)&&l.push(n);while(e.length>c)i(a,n=e[c++])&&(~s(l,n)||l.push(n));return l}},ce1c:function(t,e,n){"use strict";n("ac6a");var i=n("b18c"),r=n("0952"),s=n("b5b8");e["a"]={name:"QContextMenu",props:{disable:Boolean},data:function(){return{mobile:this.$q.platform.is.mobile}},methods:{hide:function(t){if(this.$refs.popup)return this.mobile&&this.target.classList.remove("non-selectable"),this.$refs.popup.hide(t)},show:function(t){var e=this;this.disable||(this.mobile?this.$refs.popup&&(this.event=t,this.$refs.popup.show(t)):t&&(Object(i["g"])(t),setTimeout(function(){e.$refs.popup&&(e.event=t,e.$refs.popup.show(t))},100)))},__desktopBodyHide:function(t){this.$el.contains(t.target)||this.hide(t)},__desktopOnShow:function(){document.body.addEventListener("contextmenu",this.__desktopBodyHide,!0),document.body.addEventListener("click",this.__desktopBodyHide,!0),this.$emit("show",this.event)},__desktopOnHide:function(t){document.body.removeEventListener("contextmenu",this.__desktopBodyHide,!0),document.body.removeEventListener("click",this.__desktopBodyHide,!0),this.$emit("hide",this.event,t)},__mobileTouchStartHandler:function(t){var e=this;this.__mobileCleanup(),t&&t.touches&&t.touches.length>1||(this.target.classList.add("non-selectable"),this.touchTimer=setTimeout(function(){t&&Object(i["g"])(t),e.__mobileCleanup(),setTimeout(function(){e.show(t)},10)},600))},__mobileCleanup:function(){this.target.classList.remove("non-selectable"),clearTimeout(this.touchTimer)}},render:function(t){var e=this;return this.mobile?t(r["a"],{ref:"popup",props:{minimized:!0},on:{show:function(){e.$emit("show",e.event)},hide:function(t){e.$emit("hide",e.event,t)}}},this.$slots.default):t(s["a"],{ref:"popup",props:{anchorClick:!1,touchPosition:!0},on:{show:this.__desktopOnShow,hide:this.__desktopOnHide}},this.$slots.default)},mounted:function(){var t=this;this.mobile?this.$nextTick(function(){t.target=t.$el.parentNode,t.target.addEventListener("touchstart",t.__mobileTouchStartHandler),["touchcancel","touchmove","touchend"].forEach(function(e){t.target.addEventListener(e,t.__mobileCleanup)})}):(this.target=this.$el.parentNode,this.target.addEventListener("contextmenu",this.show))},beforeDestroy:function(){var t=this;this.mobile?(this.target.removeEventListener("touchstart",this.__mobileTouchStartHandler),["touchcancel","touchmove","touchend"].forEach(function(e){t.target.removeEventListener(e,t.__mobileCleanup)})):this.target.removeEventListener("contextmenu",this.show)}}},ce2c:function(t,e,n){"use strict";var i=n("5c38"),r=n("e98d"),s=n("0999"),o=n("617d"),a=n("869f"),c=n("ddea"),l=n("ab35"),u=function(t){function e(e){var n=void 0!==e.rotateWithView&&e.rotateWithView;t.call(this,{opacity:1,rotateWithView:n,rotation:void 0!==e.rotation?e.rotation:0,scale:1}),this.checksums_=null,this.canvas_=null,this.hitDetectionCanvas_=null,this.fill_=void 0!==e.fill?e.fill:null,this.origin_=[0,0],this.points_=e.points,this.radius_=void 0!==e.radius?e.radius:e.radius1,this.radius2_=e.radius2,this.angle_=void 0!==e.angle?e.angle:0,this.stroke_=void 0!==e.stroke?e.stroke:null,this.anchor_=null,this.size_=null,this.imageSize_=null,this.hitDetectionImageSize_=null,this.atlasManager_=e.atlasManager,this.render_(this.atlasManager_)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){var t=new e({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),atlasManager:this.atlasManager_});return t.setOpacity(this.getOpacity()),t.setScale(this.getScale()),t},e.prototype.getAnchor=function(){return this.anchor_},e.prototype.getAngle=function(){return this.angle_},e.prototype.getFill=function(){return this.fill_},e.prototype.getHitDetectionImage=function(t){return this.hitDetectionCanvas_},e.prototype.getImage=function(t){return this.canvas_},e.prototype.getImageSize=function(){return this.imageSize_},e.prototype.getHitDetectionImageSize=function(){return this.hitDetectionImageSize_},e.prototype.getImageState=function(){return a["a"].LOADED},e.prototype.getOrigin=function(){return this.origin_},e.prototype.getPoints=function(){return this.points_},e.prototype.getRadius=function(){return this.radius_},e.prototype.getRadius2=function(){return this.radius2_},e.prototype.getSize=function(){return this.size_},e.prototype.getStroke=function(){return this.stroke_},e.prototype.listenImageChange=function(t,e){},e.prototype.load=function(){},e.prototype.unlistenImageChange=function(t,e){},e.prototype.render_=function(t){var e,n,i="",a="",l=0,u=null,h=0,d=0;this.stroke_&&(n=this.stroke_.getColor(),null===n&&(n=c["k"]),n=Object(r["a"])(n),d=this.stroke_.getWidth(),void 0===d&&(d=c["h"]),u=this.stroke_.getLineDash(),h=this.stroke_.getLineDashOffset(),o["a"]||(u=null,h=0),a=this.stroke_.getLineJoin(),void 0===a&&(a=c["g"]),i=this.stroke_.getLineCap(),void 0===i&&(i=c["d"]),l=this.stroke_.getMiterLimit(),void 0===l&&(l=c["i"]));var f=2*(this.radius_+d)+1,p={strokeStyle:n,strokeWidth:d,size:f,lineCap:i,lineDash:u,lineDashOffset:h,lineJoin:a,miterLimit:l};if(void 0===t){var _=Object(s["a"])(f,f);this.canvas_=_.canvas,f=this.canvas_.width,e=f,this.draw_(p,_,0,0),this.createHitDetectionCanvas_(p)}else{f=Math.round(f);var m,g=!this.fill_;g&&(m=this.drawHitDetectionCanvas_.bind(this,p));var y=this.getChecksum(),v=t.add(y,f,f,this.draw_.bind(this,p),m);this.canvas_=v.image,this.origin_=[v.offsetX,v.offsetY],e=v.image.width,g?(this.hitDetectionCanvas_=v.hitImage,this.hitDetectionImageSize_=[v.hitImage.width,v.hitImage.height]):(this.hitDetectionCanvas_=this.canvas_,this.hitDetectionImageSize_=[e,e])}this.anchor_=[f/2,f/2],this.size_=[f,f],this.imageSize_=[e,e]},e.prototype.draw_=function(t,e,n,i){var s,o,a;e.setTransform(1,0,0,1,0,0),e.translate(n,i),e.beginPath();var l=this.points_;if(l===1/0)e.arc(t.size/2,t.size/2,this.radius_,0,2*Math.PI,!0);else{var u=void 0!==this.radius2_?this.radius2_:this.radius_;for(u!==this.radius_&&(l*=2),s=0;s<=l;s++)o=2*s*Math.PI/l-Math.PI/2+this.angle_,a=s%2===0?this.radius_:u,e.lineTo(t.size/2+a*Math.cos(o),t.size/2+a*Math.sin(o))}if(this.fill_){var h=this.fill_.getColor();null===h&&(h=c["b"]),e.fillStyle=Object(r["a"])(h),e.fill()}this.stroke_&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke()),e.closePath()},e.prototype.createHitDetectionCanvas_=function(t){if(this.hitDetectionImageSize_=[t.size,t.size],this.fill_)this.hitDetectionCanvas_=this.canvas_;else{var e=Object(s["a"])(t.size,t.size);this.hitDetectionCanvas_=e.canvas,this.drawHitDetectionCanvas_(t,e,0,0)}},e.prototype.drawHitDetectionCanvas_=function(t,e,n,r){e.setTransform(1,0,0,1,0,0),e.translate(n,r),e.beginPath();var s=this.points_;if(s===1/0)e.arc(t.size/2,t.size/2,this.radius_,0,2*Math.PI,!0);else{var o,a,l,u=void 0!==this.radius2_?this.radius2_:this.radius_;for(u!==this.radius_&&(s*=2),o=0;o<=s;o++)l=2*o*Math.PI/s-Math.PI/2+this.angle_,a=o%2===0?this.radius_:u,e.lineTo(t.size/2+a*Math.cos(l),t.size/2+a*Math.sin(l))}e.fillStyle=Object(i["b"])(c["b"]),e.fill(),this.stroke_&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.stroke()),e.closePath()},e.prototype.getChecksum=function(){var t=this.stroke_?this.stroke_.getChecksum():"-",e=this.fill_?this.fill_.getChecksum():"-",n=!this.checksums_||t!=this.checksums_[1]||e!=this.checksums_[2]||this.radius_!=this.checksums_[3]||this.radius2_!=this.checksums_[4]||this.angle_!=this.checksums_[5]||this.points_!=this.checksums_[6];if(n){var i="r"+t+e+(void 0!==this.radius_?this.radius_.toString():"-")+(void 0!==this.radius2_?this.radius2_.toString():"-")+(void 0!==this.angle_?this.angle_.toString():"-")+(void 0!==this.points_?this.points_.toString():"-");this.checksums_=[i,t,e,this.radius_,this.radius2_,this.angle_,this.points_]}return this.checksums_[0]},e}(l["a"]),h=u,d=function(t){function e(e){var n=e||{};t.call(this,{points:1/0,fill:n.fill,radius:n.radius,stroke:n.stroke,atlasManager:n.atlasManager})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){var t=new e({fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,radius:this.getRadius(),atlasManager:this.atlasManager_});return t.setOpacity(this.getOpacity()),t.setScale(this.getScale()),t},e.prototype.setRadius=function(t){this.radius_=t,this.render_(this.atlasManager_)},e}(h);e["a"]=d},ce67:function(t,e,n){"use strict";e["a"]={name:"QToolbarTitle",props:{shrink:Boolean},render:function(t){return t("div",{staticClass:"q-toolbar-title",class:this.shrink?"col-auto":null},[this.$slots.default,this.$slots.subtitle?t("div",{staticClass:"q-toolbar-subtitle"},this.$slots.subtitle):null])}}},ce7e:function(t,e,n){var i=n("63b6"),r=n("584a"),s=n("294c");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],o={};o[t]=e(n),i(i.S+i.F*s(function(){n(1)}),"Object",o)}},cee4:function(t,e,n){"use strict";var i=n("c532"),r=n("1d2b"),s=n("0a06"),o=n("2444");function a(t){var e=new s(t),n=r(s.prototype.request,e);return i.extend(n,s.prototype,e),i.extend(n,e),n}var c=a(o);c.Axios=s,c.create=function(t){return a(i.merge(o,t))},c.Cancel=n("7a77"),c.CancelToken=n("8df4b"),c.isCancel=n("2e67"),c.all=function(t){return Promise.all(t)},c.spread=n("0df6"),t.exports=c,t.exports.default=c},cef7:function(t,e,n){"use strict";n.d(e,"b",function(){return r});var i=function(t){this.propagationStopped,this.type=t,this.target=null};function r(t){t.stopPropagation()}i.prototype.preventDefault=function(){this.propagationStopped=!0},i.prototype.stopPropagation=function(){this.propagationStopped=!0},e["a"]=i},cf09:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("7b52"),r=n("38de"),s=n("ad3f"),o=n("7c92"),a=n("6f62");class c{constructor(){c.constructor_.apply(this,arguments)}static constructor_(){this._p=null,this._crossingCount=0,this._isPointOnSegment=!1;const t=arguments[0];this._p=t}static locatePointInRing(){if(arguments[0]instanceof s["a"]&&Object(r["a"])(arguments[1],a["a"])){const t=arguments[0],e=arguments[1],n=new c(t),i=new s["a"],r=new s["a"];for(let s=1;si&&(n=e.x,i=t.x),this._p.x>=n&&this._p.x<=i&&(this._isPointOnSegment=!0),null}if(t.y>this._p.y&&e.y<=this._p.y||e.y>this._p.y&&t.y<=this._p.y){let n=o["a"].index(t,e,this._p);if(n===o["a"].COLLINEAR)return this._isPointOnSegment=!0,null;e.y=this.layout.width,largeScreenState:t,mobileOpened:!1}},watch:{belowBreakpoint:function(t){this.mobileOpened||(t?(this.overlay||(this.largeScreenState=this.showing),this.hide(!1)):this.overlay||this[this.largeScreenState?"show":"hide"](!1))},side:function(t,e){this.layout[e].space=!1,this.layout[e].offset=0},behavior:function(t){this.__updateLocal("belowBreakpoint","mobile"===t||"desktop"!==t&&this.breakpoint>=this.layout.width)},breakpoint:function(t){this.__updateLocal("belowBreakpoint","mobile"===this.behavior||"desktop"!==this.behavior&&t>=this.layout.width)},"layout.width":function(t){this.__updateLocal("belowBreakpoint","mobile"===this.behavior||"desktop"!==this.behavior&&this.breakpoint>=t)},"layout.scrollbarWidth":function(){this.applyPosition(this.showing?0:void 0)},offset:function(t){this.__update("offset",t)},onLayout:function(t){this.$emit("on-layout",t),this.__update("space",t)},$route:function(){this.noHideOnRouteChange||(this.mobileOpened||this.onScreenOverlay)&&this.hide()},rightSide:function(){this.applyPosition()},size:function(t){this.applyPosition(),this.__update("size",t)},"$q.i18n.rtl":function(){this.applyPosition()},mini:function(){this.value&&this.layout.__animate()}},computed:{rightSide:function(){return"right"===this.side},offset:function(){return!this.showing||this.mobileOpened||this.overlay?0:this.size},size:function(){return this.isMini?this.miniWidth:this.width},fixed:function(){return this.overlay||this.layout.view.indexOf(this.rightSide?"R":"L")>-1},onLayout:function(){return this.showing&&!this.mobileView&&!this.overlay},onScreenOverlay:function(){return this.showing&&!this.mobileView&&this.overlay},backdropClass:function(){return{"no-pointer-events":!this.showing||!this.mobileView}},mobileView:function(){return this.belowBreakpoint||this.mobileOpened},headerSlot:function(){return!this.overlay&&(this.rightSide?"r"===this.layout.rows.top[2]:"l"===this.layout.rows.top[0])},footerSlot:function(){return!this.overlay&&(this.rightSide?"r"===this.layout.rows.bottom[2]:"l"===this.layout.rows.bottom[0])},belowClass:function(){return{fixed:!0,"on-top":!0,"q-layout-drawer-delimiter":this.fixed&&this.showing,"q-layout-drawer-mobile":!0,"top-padding":!0}},aboveClass:function(){return{fixed:this.fixed||!this.onLayout,"q-layout-drawer-mini":this.isMini,"q-layout-drawer-normal":!this.isMini,"q-layout-drawer-delimiter":this.fixed&&this.showing,"top-padding":this.headerSlot}},aboveStyle:function(){var t={};return this.layout.header.space&&!this.headerSlot&&(this.fixed?t.top="".concat(this.layout.header.offset,"px"):this.layout.header.space&&(t.top="".concat(this.layout.header.size,"px"))),this.layout.footer.space&&!this.footerSlot&&(this.fixed?t.bottom="".concat(this.layout.footer.offset,"px"):this.layout.footer.space&&(t.bottom="".concat(this.layout.footer.size,"px"))),t},computedStyle:function(){return[this.contentStyle,{width:"".concat(this.size,"px")},this.mobileView?"":this.aboveStyle]},computedClass:function(){return["q-layout-drawer-".concat(this.side),this.layout.container?"overflow-auto":"scroll",this.contentClass,this.mobileView?this.belowClass:this.aboveClass]},stateDirection:function(){return(this.$q.i18n.rtl?-1:1)*(this.rightSide?1:-1)},isMini:function(){return this.mini&&!this.mobileView},onNativeEvents:function(){var t=this;if(!this.mobileView)return{"!click":function(e){t.$emit("click",e)},mouseover:function(e){t.$emit("mouseover",e)},mouseout:function(e){t.$emit("mouseout",e)}}}},methods:{applyPosition:function(t){var e=this;void 0===t?this.$nextTick(function(){t=e.showing?0:e.size,e.applyPosition(e.stateDirection*t)}):this.$refs.content&&(this.layout.container&&this.rightSide&&(this.mobileView||Math.abs(t)===this.size)&&(t+=this.stateDirection*this.layout.scrollbarWidth),this.$refs.content.style.transform="translateX(".concat(t,"px)"))},applyBackdrop:function(t){this.$refs.backdrop&&(this.$refs.backdrop.style.backgroundColor="rgba(0,0,0,".concat(.4*t,")"))},__setScrollable:function(t){this.layout.container||document.body.classList[t?"add":"remove"]("q-body-drawer-toggle")},__openByTouch:function(t){if(this.belowBreakpoint){var e=this.size,n=Object(r["a"])(t.distance.x,0,e);if(t.isFinal){var i=this.$refs.content,s=n>=Math.min(75,e);return i.classList.remove("no-transition"),void(s?this.show():(this.layout.__animate(),this.applyBackdrop(0),this.applyPosition(this.stateDirection*e),i.classList.remove("q-layout-drawer-delimiter")))}if(this.applyPosition((this.$q.i18n.rtl?!this.rightSide:this.rightSide)?Math.max(e-n,0):Math.min(0,n-e)),this.applyBackdrop(Object(r["a"])(n/e,0,1)),t.isFirst){var o=this.$refs.content;o.classList.add("no-transition"),o.classList.add("q-layout-drawer-delimiter")}}},__closeByTouch:function(t){if(this.mobileOpened){var e=this.size,n=t.direction===this.side,i=(this.$q.i18n.rtl?!n:n)?Object(r["a"])(t.distance.x,0,e):0;if(t.isFinal){var s=Math.abs(i)0&&void 0!==arguments[0])||arguments[0];e&&this.layout.__animate(),this.applyPosition(0);var n=this.layout.instances[this.rightSide?"left":"right"];n&&n.mobileOpened&&n.hide(),this.belowBreakpoint?(this.mobileOpened=!0,this.applyBackdrop(1),this.layout.container||(this.preventedScroll=!0,Object(o["a"])(!0))):this.__setScrollable(!0),clearTimeout(this.timer),this.timer=setTimeout(function(){t.showPromise&&(t.showPromise.then(function(){t.__setScrollable(!1)}),t.showPromiseResolve())},a)},__hide:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&this.layout.__animate(),this.mobileOpened&&(this.mobileOpened=!1),this.applyPosition(this.stateDirection*this.size),this.applyBackdrop(0),this.__cleanup(),clearTimeout(this.timer),this.timer=setTimeout(function(){t.hidePromise&&t.hidePromiseResolve()},a)},__cleanup:function(){this.preventedScroll&&(this.preventedScroll=!1,Object(o["a"])(!1)),this.__setScrollable(!1)},__update:function(t,e){this.layout[this.side][t]!==e&&(this.layout[this.side][t]=e)},__updateLocal:function(t,e){this[t]!==e&&(this[t]=e)}},created:function(){this.layout.instances[this.side]=this,this.__update("size",this.size),this.__update("space",this.onLayout),this.__update("offset",this.offset)},mounted:function(){this.applyPosition(this.showing?0:void 0)},beforeDestroy:function(){clearTimeout(this.timer),this.showing&&this.__cleanup(),this.layout.instances[this.side]===this&&(this.layout.instances[this.side]=null,this.__update("size",0),this.__update("offset",0),this.__update("space",!1))},render:function(t){var e=[this.mobileView&&!this.noSwipeOpen?t("div",{staticClass:"q-layout-drawer-opener fixed-".concat(this.side),directives:[{name:"touch-pan",modifiers:{horizontal:!0},value:this.__openByTouch}]}):null,t("div",{ref:"backdrop",staticClass:"fullscreen q-layout-backdrop q-layout-transition",class:this.backdropClass,on:{click:this.hide},directives:[{name:"touch-pan",modifiers:{horizontal:!0},value:this.__closeByTouch}]})];return t("div",{staticClass:"q-drawer-container"},e.concat([t("aside",{ref:"content",staticClass:"q-layout-drawer q-layout-transition",class:this.computedClass,style:this.computedStyle,attrs:this.$attrs,on:this.onNativeEvents,directives:this.mobileView&&!this.noSwipeClose?[{name:"touch-pan",modifiers:{horizontal:!0},value:this.__closeByTouch}]:null},this.isMini&&this.$slots.mini?[this.$slots.mini]:this.$slots.default)]))}}},cf1e:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration -var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}},n=t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var t=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},cf51:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(t,e){return t%10>=1&&t%10<=4&&(t%100<10||t%100>=20)?t%10===1?e[0]:e[1]:e[2]},translate:function(t,n,i,r){var s,o=e.words[i];return 1===i.length?"y"===i&&n?"jedna godina":r||n?o[0]:o[1]:(s=e.correctGrammaticalCase(t,o),"yy"===i&&n&&"godinu"===s?t+" godina":t+" "+s)}},n=t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var t=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},cf51:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function n(t,e,n,i){var r={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return i?r[n][0]:e?r[n][0]:r[n][1]}return e})},cf75:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration @@ -285,7 +285,7 @@ var e=t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juill //! moment.js locale configuration var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,s=t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return s})},db35:function(t,e,n){"use strict";e["a"]={name:"QCarouselControl",props:{position:{type:String,default:"bottom-right"},offset:{type:Array,default:function(){return[18,18]}}},computed:{computedClass:function(){return"absolute-".concat(this.position)},computedStyle:function(){return{margin:"".concat(this.offset[1],"px ").concat(this.offset[0],"px")}}},render:function(t){return t("div",{staticClass:"q-carousel-control absolute",style:this.computedStyle,class:this.computedClass},this.$slots.default)}}},db78:function(t,e,n){t.exports=n("f921")},db7b:function(t,e,n){"use strict";n("7f7f"),n("c5f6");var i=n("68c2"),r=n("52b5"),s=n("4bf4"),o=n("1526"),a={directives:{Ripple:o["a"]},props:{label:String,icon:String,disable:Boolean,hidden:Boolean,hide:{type:String,default:""},name:{type:String,default:function(){return Object(i["a"])()}},alert:Boolean,count:[Number,String],color:String,tabindex:Number},inject:{data:{default:function(){console.error("QTab/QRouteTab components need to be child of QTabs")}},selectTab:{}},watch:{active:function(t){t&&this.$emit("select",this.name)}},computed:{active:function(){return this.data.tabName===this.name},classes:function(){var t={active:this.active,hidden:this.hidden,disabled:this.disable,"q-tab-full":this.icon&&this.label,"q-tab-only-label":!this.icon&&this.label,"hide-none":!this.hide,"hide-icon":"icon"===this.hide,"hide-label":"label"===this.hide},e=this.data.inverted?this.color||this.data.textColor||this.data.color:this.color;return e&&(t["text-".concat(e)]=!0),t},barStyle:function(){if(!this.active||!this.data.highlight)return"display: none;"},computedTabIndex:function(){return this.disable||this.active?-1:this.tabindex||0}},methods:{__getTabMeta:function(t){return this.count?[t(s["a"],{staticClass:"q-tab-meta",props:{floating:!0}},[this.count])]:this.alert?[t("div",{staticClass:"q-tab-meta q-dot"})]:void 0},__getTabContent:function(t){var e=[];return this.icon&&e.push(t("div",{staticClass:"q-tab-icon-parent relative-position"},[t(r["a"],{staticClass:"q-tab-icon",props:{name:this.icon}}),this.__getTabMeta(t)])),this.label&&e.push(t("div",{staticClass:"q-tab-label-parent relative-position"},[t("div",{staticClass:"q-tab-label"},[this.label]),this.__getTabMeta(t)])),e=e.concat(this.$slots.default),e.push(t("div",{staticClass:"q-tabs-bar",style:this.barStyle,class:this.data.underlineClass})),e.push(t("div",{staticClass:"q-tab-focus-helper absolute-full",attrs:{tabindex:this.computedTabIndex}})),e}}};e["a"]={name:"QTab",mixins:[a],props:{default:Boolean},methods:{select:function(){this.$emit("click",this.name),this.disable||this.selectTab(this.name)}},mounted:function(){this.default&&!this.disable&&this.select()},render:function(t){var e=this;return t("div",{staticClass:"q-tab column flex-center relative-position",class:this.classes,attrs:{"data-tab-name":this.name},on:{click:this.select,keyup:function(t){return 13===t.keyCode&&e.select(t)}},directives:[{name:"ripple"}]},this.__getTabContent(t))}}},dbdb:function(t,e,n){var i=n("584a"),r=n("e53d"),s="__core-js_shared__",o=r[s]||(r[s]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("b8e3")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},dc07:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=function(t,e,n,i){this.minX=t,this.maxX=e,this.minY=n,this.maxY=i};function r(t,e,n,r,s){return void 0!==s?(s.minX=t,s.maxX=e,s.minY=n,s.maxY=r,s):new i(t,e,n,r)}i.prototype.contains=function(t){return this.containsXY(t[1],t[2])},i.prototype.containsTileRange=function(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY},i.prototype.containsXY=function(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY},i.prototype.equals=function(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY},i.prototype.extend=function(t){t.minXthis.maxX&&(this.maxX=t.maxX),t.minYthis.maxY&&(this.maxY=t.maxY)},i.prototype.getHeight=function(){return this.maxY-this.minY+1},i.prototype.getSize=function(){return[this.getWidth(),this.getHeight()]},i.prototype.getWidth=function(){return this.maxX-this.minX+1},i.prototype.intersects=function(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY},e["b"]=i},dc23:function(t,e,n){"use strict";n("6762"),n("2fdb");e["a"]={name:"QCardMedia",props:{overlayPosition:{type:String,default:"bottom",validator:function(t){return["top","bottom","full"].includes(t)}}},render:function(t){return t("div",{staticClass:"q-card-media relative-position"},[this.$slots.default,this.$slots.overlay?t("div",{staticClass:"q-card-media-overlay",class:"absolute-".concat(this.overlayPosition)},[this.$slots.overlay]):null])}}},dc2b:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n("7b52"),r=n("138e"),s=n("fd89"),o=n("a02c"),a=n("78c4"),c=n("2709"),l=n("3e37"),u=n("76af"),h=n("e834"),d=n("c73a"),f=n("58e9");class p{constructor(){p.constructor_.apply(this,arguments)}static constructor_(){if(this._boundaryRule=l["a"].OGC_SFS_BOUNDARY_RULE,this._isIn=null,this._numBoundaries=null,0===arguments.length);else if(1===arguments.length){const t=arguments[0];if(null===t)throw new s["a"]("Rule must be non-null");this._boundaryRule=t}}locateInPolygonRing(t,e){return e.getEnvelopeInternal().intersects(t)?c["a"].locateInRing(t,e.getCoordinates()):i["a"].EXTERIOR}intersects(t,e){return this.locate(t,e)!==i["a"].EXTERIOR}updateLocationInfo(t){t===i["a"].INTERIOR&&(this._isIn=!0),t===i["a"].BOUNDARY&&this._numBoundaries++}computeLocation(t,e){if(e instanceof o["a"]&&this.updateLocationInfo(this.locateOnPoint(t,e)),e instanceof r["a"])this.updateLocationInfo(this.locateOnLineString(t,e));else if(e instanceof a["a"])this.updateLocationInfo(this.locateInPolygon(t,e));else if(e instanceof f["a"]){const n=e;for(let e=0;e0||this._isIn?i["a"].INTERIOR:i["a"].EXTERIOR)}}},dc4d:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration -var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},i=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],r=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],s=t.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:i,longMonthsParse:i,shortMonthsParse:r,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}});return s})},dc73:function(t,e,n){},dcbc:function(t,e,n){var i=n("2aba");t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},dd1f:function(t,e,n){"use strict";var i=n("2828"),r=n("52b5"),s=n("b18c");e["a"]={name:"QRadio",mixins:[i["a"]],props:{val:{required:!0}},computed:{isTrue:function(){return this.value===this.val}},methods:{toggle:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.disable||this.readonly||(t&&Object(s["g"])(t),e&&this.$el.blur(),this.isTrue||this.__update(this.val))},__getContent:function(t){return[t(r["a"],{staticClass:"q-radio-unchecked cursor-pointer absolute-full",props:{name:this.uncheckedIcon||this.$q.icon.radio.unchecked["mat"]}}),t(r["a"],{staticClass:"q-radio-checked cursor-pointer absolute-full",props:{name:this.checkedIcon||this.$q.icon.radio.checked["mat"]}}),t("div",{ref:"ripple",staticClass:"q-radial-ripple"})]}},beforeCreate:function(){this.__kebabTag="q-radio"}}},ddaa:function(t,e,n){"use strict";var i=n("c2d3"),r=n("35a7"),s=n("5564"),o=n("e269"),a=n("5eee"),c=function(t){o["a"].call(this,t),this._listener=[],t&&!1===t.active?this.set("active",!1):this.set("active",!0)};Object(i["a"])(c,o["a"]),c.prototype.setActive=function(t){this.set("active",!0===t)},c.prototype.getActive=function(){return this.get("active")},function(){function t(t){this.get("active")&&t.context&&this.precompose(t)}function e(t){this.get("active")&&t.context&&this.postcompose(t)}function n(){if(this.renderSync)try{this.renderSync()}catch(t){}else this.changed()}function i(i){this.filters_||(this.filters_=[]),this.filters_.push(i),i.addToLayer&&i.addToLayer(this),i.precompose&&i._listener.push({listener:this.on(["precompose","prerender"],t.bind(i)),target:this}),i.postcompose&&i._listener.push({listener:this.on(["postcompose","postrender"],e.bind(i)),target:this}),i._listener.push({listener:i.on("propertychange",n.bind(this)),target:this}),n.call(this)}function o(t){var e;for(this.filters_||(this.filters_=[]),e=this.filters_.length-1;e>=0;e--)this.filters_[e]===t&&this.filters_.splice(e,1);for(e=t._listener.length-1;e>=0;e--)t._listener[e].target===this&&(t.removeFromLayer&&t.removeFromLayer(this),Object(r["unByKey"])(t._listener[e].listener),t._listener.splice(e,1));n.call(this)}a["a"].prototype.addFilter=function(t){console.warn("[OL-EXT] addFilter deprecated on map."),i.call(this,t)},a["a"].prototype.removeFilter=function(t){o.call(this,t)},a["a"].prototype.getFilters=function(){return this.filters_||[]},s["a"].prototype.addFilter=function(t){i.call(this,t)},s["a"].prototype.removeFilter=function(t){o.call(this,t)},s["a"].prototype.getFilters=function(){return this.filters_||[]}}();var l=c,u=n("5c38"),h=function(t){if(t=t||{},l.call(this,t),t.feature)switch(t.feature.getGeometry().getType()){case"Polygon":case"MultiPolygon":this.feature_=t.feature;break;default:break}this.set("inner",t.inner),this.fillColor_=t.fill&&Object(u["b"])(t.fill.getColor())||"rgba(0,0,0,0.2)"};Object(i["a"])(h,l),h.prototype.drawFeaturePath_=function(t,e){var n,i=t.context,r=i.canvas,s=t.frameState.pixelRatio;if(t.frameState.coordinateToPixelTransform){var o=t.frameState.coordinateToPixelTransform;if(t.inversePixelTransform){var a=t.inversePixelTransform;n=function(t){return t=[t[0]*o[0]+t[1]*o[1]+o[4],t[0]*o[2]+t[1]*o[3]+o[5]],[t[0]*a[0]-t[1]*a[1]+a[4],-t[0]*a[2]+t[1]*a[3]+a[5]]}}else n=function(t){return[(t[0]*o[0]+t[1]*o[1]+o[4])*s,(t[0]*o[2]+t[1]*o[3]+o[5])*s]}}else o=t.frameState.coordinateToPixelMatrix,n=function(t){return[(t[0]*o[0]+t[1]*o[1]+o[12])*s,(t[0]*o[4]+t[1]*o[5]+o[13])*s]};var c=this.feature_.getGeometry().getCoordinates();"Polygon"==this.feature_.getGeometry().getType()&&(c=[c]),i.beginPath(),e&&(i.moveTo(0,0),i.lineTo(r.width,0),i.lineTo(r.width,r.height),i.lineTo(0,r.height),i.lineTo(0,0));for(var l=0;l=0;i--){var r=t[i];"."===r?t.splice(i,1):".."===r?(t.splice(i,1),n++):n&&(t.splice(i,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function i(t){"string"!==typeof t&&(t+="");var e,n=0,i=-1,r=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!r){n=e+1;break}}else-1===i&&(r=!1,i=e+1);return-1===i?"":t.slice(n,i)}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],i=0;i=-1&&!i;s--){var o=s>=0?arguments[s]:t.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(e=o+"/"+e,i="/"===o.charAt(0))}return e=n(r(e.split("/"),function(t){return!!t}),!i).join("/"),(i?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),o="/"===s(t,-1);return t=n(r(t.split("/"),function(t){return!!t}),!i).join("/"),t||i||(t="."),t&&o&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},e.relative=function(t,n){function i(t){for(var e=0;e=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var r=i(t.split("/")),s=i(n.split("/")),o=Math.min(r.length,s.length),a=o,c=0;c=1;--s)if(e=t.charCodeAt(s),47===e){if(!r){i=s;break}}else r=!1;return-1===i?n?"/":".":n&&1===i?"/":t.slice(0,i)},e.basename=function(t,e){var n=i(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,i=-1,r=!0,s=0,o=t.length-1;o>=0;--o){var a=t.charCodeAt(o);if(47!==a)-1===i&&(r=!1,i=o+1),46===a?-1===e?e=o:1!==s&&(s=1):-1!==e&&(s=-1);else if(!r){n=o+1;break}}return-1===e||-1===i||0===s||1===s&&e===i-1&&e===n+1?"":t.slice(e,i)};var s="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("4362"))},e0b8:function(t,e,n){"use strict";var i=n("7726"),r=n("5ca1"),s=n("2aba"),o=n("dcbc"),a=n("67ab"),c=n("4a59"),l=n("f605"),u=n("d3f4"),h=n("79e5"),d=n("5cc5"),f=n("7f20"),p=n("5dbc");t.exports=function(t,e,n,_,m,g){var y=i[t],v=y,b=m?"set":"add",M=v&&v.prototype,w={},x=function(t){var e=M[t];s(M,t,"delete"==t?function(t){return!(g&&!u(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!u(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof v&&(g||M.forEach&&!h(function(){(new v).entries().next()}))){var L=new v,E=L[b](g?{}:-0,1)!=L,T=h(function(){L.has(1)}),S=d(function(t){new v(t)}),O=!g&&h(function(){var t=new v,e=5;while(e--)t[b](e,e);return!t.has(-0)});S||(v=e(function(e,n){l(e,v,t);var i=p(new y,e,v);return void 0!=n&&c(n,m,i[b],i),i}),v.prototype=M,M.constructor=v),(T||O)&&(x("delete"),x("has"),m&&x("get")),(O||E)&&x(b),g&&M.clear&&delete M.clear}else v=_.getConstructor(e,t,m,b),o(v.prototype,n),a.NEED=!0;return f(v,t),w[t]=v,r(r.G+r.W+r.F*(v!=y),w),g||_.setStrong(v,t,m),v}},e0c5:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},i=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],r=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],s=t.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:i,longMonthsParse:i,shortMonthsParse:r,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}});return s})},dc73:function(t,e,n){},dcbc:function(t,e,n){var i=n("2aba");t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},dd1f:function(t,e,n){"use strict";var i=n("2828"),r=n("52b5"),s=n("b18c");e["a"]={name:"QRadio",mixins:[i["a"]],props:{val:{required:!0}},computed:{isTrue:function(){return this.value===this.val}},methods:{toggle:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.disable||this.readonly||(t&&Object(s["g"])(t),e&&this.$el.blur(),this.isTrue||this.__update(this.val))},__getContent:function(t){return[t(r["a"],{staticClass:"q-radio-unchecked cursor-pointer absolute-full",props:{name:this.uncheckedIcon||this.$q.icon.radio.unchecked["mat"]}}),t(r["a"],{staticClass:"q-radio-checked cursor-pointer absolute-full",props:{name:this.checkedIcon||this.$q.icon.radio.checked["mat"]}}),t("div",{ref:"ripple",staticClass:"q-radial-ripple"})]}},beforeCreate:function(){this.__kebabTag="q-radio"}}},ddaa:function(t,e,n){"use strict";var i=n("c2d3"),r=n("35a7"),s=n("5564"),o=n("e269"),a=n("5eee"),c=function(t){o["a"].call(this,t),this._listener=[],t&&!1===t.active?this.set("active",!1):this.set("active",!0)};Object(i["a"])(c,o["a"]),c.prototype.setActive=function(t){this.set("active",!0===t)},c.prototype.getActive=function(){return this.get("active")},function(){function t(t){this.get("active")&&t.context&&this.precompose(t)}function e(t){this.get("active")&&t.context&&this.postcompose(t)}function n(){if(this.renderSync)try{this.renderSync()}catch(t){}else this.changed()}function i(i){this.filters_||(this.filters_=[]),this.filters_.push(i),i.addToLayer&&i.addToLayer(this),i.precompose&&i._listener.push({listener:this.on(["precompose","prerender"],t.bind(i)),target:this}),i.postcompose&&i._listener.push({listener:this.on(["postcompose","postrender"],e.bind(i)),target:this}),i._listener.push({listener:i.on("propertychange",n.bind(this)),target:this}),n.call(this)}function o(t){var e;if(this.filters_||(this.filters_=[]),t){for(e=this.filters_.length-1;e>=0;e--)this.filters_[e]===t&&this.filters_.splice(e,1);for(e=t._listener.length-1;e>=0;e--)t._listener[e].target===this&&(t.removeFromLayer&&t.removeFromLayer(this),Object(r["unByKey"])(t._listener[e].listener),t._listener.splice(e,1));n.call(this)}else this.filters_.forEach(function(t){this.removeFilter(t)}.bind(this))}a["a"].prototype.addFilter=function(t){console.warn("[OL-EXT] addFilter deprecated on map."),i.call(this,t)},a["a"].prototype.removeFilter=function(t){o.call(this,t)},a["a"].prototype.getFilters=function(){return this.filters_||[]},s["a"].prototype.addFilter=function(t){i.call(this,t)},s["a"].prototype.removeFilter=function(t){o.call(this,t)},s["a"].prototype.getFilters=function(){return this.filters_||[]}}();var l=c,u=n("5c38"),h=function(t){if(t=t||{},l.call(this,t),t.feature)switch(t.feature.getGeometry().getType()){case"Polygon":case"MultiPolygon":this.feature_=t.feature;break;default:break}this.set("inner",t.inner),this.fillColor_=t.fill&&Object(u["b"])(t.fill.getColor())||"rgba(0,0,0,0.2)"};Object(i["a"])(h,l),h.prototype.drawFeaturePath_=function(t,e){var n,i=t.context,r=i.canvas,s=t.frameState.pixelRatio;if(t.frameState.coordinateToPixelTransform){var o=t.frameState.coordinateToPixelTransform;if(t.inversePixelTransform){var a=t.inversePixelTransform;n=function(t){return t=[t[0]*o[0]+t[1]*o[1]+o[4],t[0]*o[2]+t[1]*o[3]+o[5]],[t[0]*a[0]-t[1]*a[1]+a[4],-t[0]*a[2]+t[1]*a[3]+a[5]]}}else n=function(t){return[(t[0]*o[0]+t[1]*o[1]+o[4])*s,(t[0]*o[2]+t[1]*o[3]+o[5])*s]}}else o=t.frameState.coordinateToPixelMatrix,n=function(t){return[(t[0]*o[0]+t[1]*o[1]+o[12])*s,(t[0]*o[4]+t[1]*o[5]+o[13])*s]};var c=this.feature_.getGeometry().getCoordinates();function l(t){for(var e=0;em&&([_,m]=[m,_]);for(var g=_;g<=m;g++)l(g*h)}else l(0)},h.prototype.postcompose=function(t){if(this.feature_){var e=t.context;e.save(),this.drawFeaturePath_(t,!this.get("inner")),e.fillStyle=this.fillColor_,e.fill("evenodd"),e.restore()}};e["a"]=h},ddea:function(t,e,n){"use strict";n.d(e,"c",function(){return c}),n.d(e,"b",function(){return l}),n.d(e,"d",function(){return u}),n.d(e,"e",function(){return h}),n.d(e,"f",function(){return d}),n.d(e,"g",function(){return f}),n.d(e,"i",function(){return p}),n.d(e,"k",function(){return _}),n.d(e,"l",function(){return m}),n.d(e,"m",function(){return g}),n.d(e,"j",function(){return y}),n.d(e,"h",function(){return v}),n.d(e,"o",function(){return b}),n.d(e,"a",function(){return L}),n.d(e,"p",function(){return T}),n.d(e,"q",function(){return S}),n.d(e,"s",function(){return O}),n.d(e,"r",function(){return k}),n.d(e,"n",function(){return C});var i=n("cd7e"),r=n("0999"),s=n("38f3"),o=n("5116"),a=n("a896"),c="10px sans-serif",l=[0,0,0,1],u="round",h=[],d=0,f="round",p=10,_=[0,0,0,1],m="center",g="middle",y=[0,0,0,0],v=1,b=new o["a"],M={},w=null,x={},L=function(){var t,e,n=60,r=M,o="32px ",a=["monospace","serif"],c=a.length,l="wmytzilWMYTZIL@#/&?$%10";function u(t){for(var n=E(),i=100;i<=700;i+=300){for(var r=i+" ",s=!0,u=0;u=0;i--){var r=t[i];"."===r?t.splice(i,1):".."===r?(t.splice(i,1),n++):n&&(t.splice(i,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function i(t){"string"!==typeof t&&(t+="");var e,n=0,i=-1,r=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!r){n=e+1;break}}else-1===i&&(r=!1,i=e+1);return-1===i?"":t.slice(n,i)}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],i=0;i=-1&&!i;s--){var o=s>=0?arguments[s]:t.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(e=o+"/"+e,i="/"===o.charAt(0))}return e=n(r(e.split("/"),function(t){return!!t}),!i).join("/"),(i?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),o="/"===s(t,-1);return t=n(r(t.split("/"),function(t){return!!t}),!i).join("/"),t||i||(t="."),t&&o&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},e.relative=function(t,n){function i(t){for(var e=0;e=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var r=i(t.split("/")),s=i(n.split("/")),o=Math.min(r.length,s.length),a=o,c=0;c=1;--s)if(e=t.charCodeAt(s),47===e){if(!r){i=s;break}}else r=!1;return-1===i?n?"/":".":n&&1===i?"/":t.slice(0,i)},e.basename=function(t,e){var n=i(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,i=-1,r=!0,s=0,o=t.length-1;o>=0;--o){var a=t.charCodeAt(o);if(47!==a)-1===i&&(r=!1,i=o+1),46===a?-1===e?e=o:1!==s&&(s=1):-1!==e&&(s=-1);else if(!r){n=o+1;break}}return-1===e||-1===i||0===s||1===s&&e===i-1&&e===n+1?"":t.slice(e,i)};var s="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("4362"))},e0b8:function(t,e,n){"use strict";var i=n("7726"),r=n("5ca1"),s=n("2aba"),o=n("dcbc"),a=n("67ab"),c=n("4a59"),l=n("f605"),u=n("d3f4"),h=n("79e5"),d=n("5cc5"),f=n("7f20"),p=n("5dbc");t.exports=function(t,e,n,_,m,g){var y=i[t],v=y,b=m?"set":"add",M=v&&v.prototype,w={},x=function(t){var e=M[t];s(M,t,"delete"==t?function(t){return!(g&&!u(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!u(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof v&&(g||M.forEach&&!h(function(){(new v).entries().next()}))){var L=new v,E=L[b](g?{}:-0,1)!=L,T=h(function(){L.has(1)}),S=d(function(t){new v(t)}),O=!g&&h(function(){var t=new v,e=5;while(e--)t[b](e,e);return!t.has(-0)});S||(v=e(function(e,n){l(e,v,t);var i=p(new y,e,v);return void 0!=n&&c(n,m,i[b],i),i}),v.prototype=M,M.constructor=v),(T||O)&&(x("delete"),x("has"),m&&x("get")),(O||E)&&x(b),g&&M.clear&&delete M.clear}else v=_.getConstructor(e,t,m,b),o(v.prototype,n),a.NEED=!0;return f(v,t),w[t]=v,r(r.G+r.W+r.F*(v!=y),w),g||_.setStrong(v,t,m),v}},e0c5:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"},i=t.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?t>=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}});return i})},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e1d3:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration @@ -297,7 +297,7 @@ var e=t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos //! moment.js locale configuration function e(t,e,n,i){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}var n=t.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n})},ec2e:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:0,doy:6}});return e})},ec30:function(t,e,n){"use strict";if(n("9e1e")){var i=n("2d00"),r=n("7726"),s=n("79e5"),o=n("5ca1"),a=n("0f88"),c=n("ed0b"),l=n("9b43"),u=n("f605"),h=n("4630"),d=n("32e9"),f=n("dcbc"),p=n("4588"),_=n("9def"),m=n("09fa"),g=n("77f1"),y=n("6a99"),v=n("69a8"),b=n("23c6"),M=n("d3f4"),w=n("4bf8"),x=n("33a4"),L=n("2aeb"),E=n("38fd"),T=n("9093").f,S=n("27ee"),O=n("ca5a"),k=n("2b4c"),C=n("0a49"),I=n("c366"),D=n("ebd6"),Y=n("cadf"),R=n("84f2"),A=n("5cc5"),N=n("7a56"),P=n("36bd"),j=n("ba92"),F=n("86cc"),H=n("11e9"),G=F.f,q=H.f,z=r.RangeError,B=r.TypeError,$=r.Uint8Array,W="ArrayBuffer",U="Shared"+W,V="BYTES_PER_ELEMENT",X="prototype",K=Array[X],Z=c.ArrayBuffer,J=c.DataView,Q=C(0),tt=C(2),et=C(3),nt=C(4),it=C(5),rt=C(6),st=I(!0),ot=I(!1),at=Y.values,ct=Y.keys,lt=Y.entries,ut=K.lastIndexOf,ht=K.reduce,dt=K.reduceRight,ft=K.join,pt=K.sort,_t=K.slice,mt=K.toString,gt=K.toLocaleString,yt=k("iterator"),vt=k("toStringTag"),bt=O("typed_constructor"),Mt=O("def_constructor"),wt=a.CONSTR,xt=a.TYPED,Lt=a.VIEW,Et="Wrong length!",Tt=C(1,function(t,e){return It(D(t,t[Mt]),e)}),St=s(function(){return 1===new $(new Uint16Array([1]).buffer)[0]}),Ot=!!$&&!!$[X].set&&s(function(){new $(1).set({})}),kt=function(t,e){var n=p(t);if(n<0||n%e)throw z("Wrong offset!");return n},Ct=function(t){if(M(t)&&xt in t)return t;throw B(t+" is not a typed array!")},It=function(t,e){if(!(M(t)&&bt in t))throw B("It is not a typed array constructor!");return new t(e)},Dt=function(t,e){return Yt(D(t,t[Mt]),e)},Yt=function(t,e){var n=0,i=e.length,r=It(t,i);while(i>n)r[n]=e[n++];return r},Rt=function(t,e,n){G(t,e,{get:function(){return this._d[n]}})},At=function(t){var e,n,i,r,s,o,a=w(t),c=arguments.length,u=c>1?arguments[1]:void 0,h=void 0!==u,d=S(a);if(void 0!=d&&!x(d)){for(o=d.call(a),i=[],e=0;!(s=o.next()).done;e++)i.push(s.value);a=i}for(h&&c>2&&(u=l(u,arguments[2],2)),e=0,n=_(a.length),r=It(this,n);n>e;e++)r[e]=h?u(a[e],e):a[e];return r},Nt=function(){var t=0,e=arguments.length,n=It(this,e);while(e>t)n[t]=arguments[t++];return n},Pt=!!$&&s(function(){gt.call(new $(1))}),jt=function(){return gt.apply(Pt?_t.call(Ct(this)):Ct(this),arguments)},Ft={copyWithin:function(t,e){return j.call(Ct(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return nt(Ct(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return P.apply(Ct(this),arguments)},filter:function(t){return Dt(this,tt(Ct(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return it(Ct(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return rt(Ct(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Q(Ct(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return ot(Ct(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return st(Ct(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ft.apply(Ct(this),arguments)},lastIndexOf:function(t){return ut.apply(Ct(this),arguments)},map:function(t){return Tt(Ct(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ht.apply(Ct(this),arguments)},reduceRight:function(t){return dt.apply(Ct(this),arguments)},reverse:function(){var t,e=this,n=Ct(e).length,i=Math.floor(n/2),r=0;while(r1?arguments[1]:void 0)},sort:function(t){return pt.call(Ct(this),t)},subarray:function(t,e){var n=Ct(this),i=n.length,r=g(t,i);return new(D(n,n[Mt]))(n.buffer,n.byteOffset+r*n.BYTES_PER_ELEMENT,_((void 0===e?i:g(e,i))-r))}},Ht=function(t,e){return Dt(this,_t.call(Ct(this),t,e))},Gt=function(t){Ct(this);var e=kt(arguments[1],1),n=this.length,i=w(t),r=_(i.length),s=0;if(r+e>n)throw z(Et);while(s255?255:255&i),r.v[f](n*e+r.o,i,St)},k=function(t,e){G(t,e,{get:function(){return S(this,e)},set:function(t){return O(this,e,t)},enumerable:!0})};v?(p=n(function(t,n,i,r){u(t,p,l,"_d");var s,o,a,c,h=0,f=0;if(M(n)){if(!(n instanceof Z||(c=b(n))==W||c==U))return xt in n?Yt(p,n):At.call(p,n);s=n,f=kt(i,e);var g=n.byteLength;if(void 0===r){if(g%e)throw z(Et);if(o=g-f,o<0)throw z(Et)}else if(o=_(r)*e,o+f>g)throw z(Et);a=o/e}else a=m(n),o=a*e,s=new Z(o);d(t,"_d",{b:s,o:f,l:o,e:a,v:new J(s)});while(h-1:this.value===this.trueValue},isFalse:function(){return this.modelIsArray?-1===this.index:this.value===this.falseValue},index:function(){if(this.modelIsArray)return this.value.indexOf(this.val)},modelIsArray:function(){return Array.isArray(this.value)}},methods:{toggle:function(t){var e,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.disable||this.readonly||(t&&Object(i["g"])(t),n&&this.$el.blur(),this.modelIsArray?this.isTrue?(e=this.value.slice(),e.splice(this.index,1)):e=this.value.concat(this.val):e=this.isTrue?this.toggleIndeterminate?this.indeterminateValue:this.falseValue:this.isFalse?this.trueValue:this.falseValue,this.__update(e))}}}},ed0b:function(t,e,n){"use strict";var i=n("7726"),r=n("9e1e"),s=n("2d00"),o=n("0f88"),a=n("32e9"),c=n("dcbc"),l=n("79e5"),u=n("f605"),h=n("4588"),d=n("9def"),f=n("09fa"),p=n("9093").f,_=n("86cc").f,m=n("36bd"),g=n("7f20"),y="ArrayBuffer",v="DataView",b="prototype",M="Wrong length!",w="Wrong index!",x=i[y],L=i[v],E=i.Math,T=i.RangeError,S=i.Infinity,O=x,k=E.abs,C=E.pow,I=E.floor,D=E.log,Y=E.LN2,R="buffer",A="byteLength",N="byteOffset",P=r?"_b":R,j=r?"_l":A,F=r?"_o":N;function H(t,e,n){var i,r,s,o=new Array(n),a=8*n-e-1,c=(1<>1,u=23===e?C(2,-24)-C(2,-77):0,h=0,d=t<0||0===t&&1/t<0?1:0;for(t=k(t),t!=t||t===S?(r=t!=t?1:0,i=c):(i=I(D(t)/Y),t*(s=C(2,-i))<1&&(i--,s*=2),t+=i+l>=1?u/s:u*C(2,1-l),t*s>=2&&(i++,s/=2),i+l>=c?(r=0,i=c):i+l>=1?(r=(t*s-1)*C(2,e),i+=l):(r=t*C(2,l-1)*C(2,e),i=0));e>=8;o[h++]=255&r,r/=256,e-=8);for(i=i<0;o[h++]=255&i,i/=256,a-=8);return o[--h]|=128*d,o}function G(t,e,n){var i,r=8*n-e-1,s=(1<>1,a=r-7,c=n-1,l=t[c--],u=127&l;for(l>>=7;a>0;u=256*u+t[c],c--,a-=8);for(i=u&(1<<-a)-1,u>>=-a,a+=e;a>0;i=256*i+t[c],c--,a-=8);if(0===u)u=1-o;else{if(u===s)return i?NaN:l?-S:S;i+=C(2,e),u-=o}return(l?-1:1)*i*C(2,u-e)}function q(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function z(t){return[255&t]}function B(t){return[255&t,t>>8&255]}function $(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function W(t){return H(t,52,8)}function U(t){return H(t,23,4)}function V(t,e,n){_(t[b],e,{get:function(){return this[n]}})}function X(t,e,n,i){var r=+n,s=f(r);if(s+e>t[j])throw T(w);var o=t[P]._b,a=s+t[F],c=o.slice(a,a+e);return i?c:c.reverse()}function K(t,e,n,i,r,s){var o=+n,a=f(o);if(a+e>t[j])throw T(w);for(var c=t[P]._b,l=a+t[F],u=i(+r),h=0;htt;)(Z=Q[tt++])in x||a(x,Z,O[Z]);s||(J.constructor=x)}var et=new L(new x(2)),nt=L[b].setInt8;et.setInt8(0,2147483648),et.setInt8(1,2147483649),!et.getInt8(0)&&et.getInt8(1)||c(L[b],{setInt8:function(t,e){nt.call(this,t,e<<24>>24)},setUint8:function(t,e){nt.call(this,t,e<<24>>24)}},!0)}else x=function(t){u(this,x,y);var e=f(t);this._b=m.call(new Array(e),0),this[j]=e},L=function(t,e,n){u(this,L,v),u(t,x,v);var i=t[j],r=h(e);if(r<0||r>i)throw T("Wrong offset!");if(n=void 0===n?i-r:d(n),r+n>i)throw T(M);this[P]=t,this[F]=r,this[j]=n},r&&(V(x,A,"_l"),V(L,R,"_b"),V(L,A,"_l"),V(L,N,"_o")),c(L[b],{getInt8:function(t){return X(this,1,t)[0]<<24>>24},getUint8:function(t){return X(this,1,t)[0]},getInt16:function(t){var e=X(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=X(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return q(X(this,4,t,arguments[1]))},getUint32:function(t){return q(X(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return G(X(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return G(X(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){K(this,1,t,z,e)},setUint8:function(t,e){K(this,1,t,z,e)},setInt16:function(t,e){K(this,2,t,B,e,arguments[2])},setUint16:function(t,e){K(this,2,t,B,e,arguments[2])},setInt32:function(t,e){K(this,4,t,$,e,arguments[2])},setUint32:function(t,e){K(this,4,t,$,e,arguments[2])},setFloat32:function(t,e){K(this,4,t,U,e,arguments[2])},setFloat64:function(t,e){K(this,8,t,W,e,arguments[2])}});g(x,y),g(L,v),a(L[b],o.VIEW,!0),e[y]=x,e[v]=L},ed33:function(t,e,n){n("014b"),t.exports=n("584a").Object.getOwnPropertySymbols},ed5b:function(t,e,n){},eda5:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; +var e=t.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:0,doy:6}});return e})},ec30:function(t,e,n){"use strict";if(n("9e1e")){var i=n("2d00"),r=n("7726"),s=n("79e5"),o=n("5ca1"),a=n("0f88"),c=n("ed0b"),l=n("9b43"),u=n("f605"),h=n("4630"),d=n("32e9"),f=n("dcbc"),p=n("4588"),_=n("9def"),m=n("09fa"),g=n("77f1"),y=n("6a99"),v=n("69a8"),b=n("23c6"),M=n("d3f4"),w=n("4bf8"),x=n("33a4"),L=n("2aeb"),E=n("38fd"),T=n("9093").f,S=n("27ee"),O=n("ca5a"),k=n("2b4c"),C=n("0a49"),I=n("c366"),D=n("ebd6"),Y=n("cadf"),R=n("84f2"),N=n("5cc5"),A=n("7a56"),P=n("36bd"),j=n("ba92"),F=n("86cc"),H=n("11e9"),G=F.f,q=H.f,z=r.RangeError,B=r.TypeError,$=r.Uint8Array,W="ArrayBuffer",U="Shared"+W,V="BYTES_PER_ELEMENT",X="prototype",K=Array[X],Z=c.ArrayBuffer,J=c.DataView,Q=C(0),tt=C(2),et=C(3),nt=C(4),it=C(5),rt=C(6),st=I(!0),ot=I(!1),at=Y.values,ct=Y.keys,lt=Y.entries,ut=K.lastIndexOf,ht=K.reduce,dt=K.reduceRight,ft=K.join,pt=K.sort,_t=K.slice,mt=K.toString,gt=K.toLocaleString,yt=k("iterator"),vt=k("toStringTag"),bt=O("typed_constructor"),Mt=O("def_constructor"),wt=a.CONSTR,xt=a.TYPED,Lt=a.VIEW,Et="Wrong length!",Tt=C(1,function(t,e){return It(D(t,t[Mt]),e)}),St=s(function(){return 1===new $(new Uint16Array([1]).buffer)[0]}),Ot=!!$&&!!$[X].set&&s(function(){new $(1).set({})}),kt=function(t,e){var n=p(t);if(n<0||n%e)throw z("Wrong offset!");return n},Ct=function(t){if(M(t)&&xt in t)return t;throw B(t+" is not a typed array!")},It=function(t,e){if(!(M(t)&&bt in t))throw B("It is not a typed array constructor!");return new t(e)},Dt=function(t,e){return Yt(D(t,t[Mt]),e)},Yt=function(t,e){var n=0,i=e.length,r=It(t,i);while(i>n)r[n]=e[n++];return r},Rt=function(t,e,n){G(t,e,{get:function(){return this._d[n]}})},Nt=function(t){var e,n,i,r,s,o,a=w(t),c=arguments.length,u=c>1?arguments[1]:void 0,h=void 0!==u,d=S(a);if(void 0!=d&&!x(d)){for(o=d.call(a),i=[],e=0;!(s=o.next()).done;e++)i.push(s.value);a=i}for(h&&c>2&&(u=l(u,arguments[2],2)),e=0,n=_(a.length),r=It(this,n);n>e;e++)r[e]=h?u(a[e],e):a[e];return r},At=function(){var t=0,e=arguments.length,n=It(this,e);while(e>t)n[t]=arguments[t++];return n},Pt=!!$&&s(function(){gt.call(new $(1))}),jt=function(){return gt.apply(Pt?_t.call(Ct(this)):Ct(this),arguments)},Ft={copyWithin:function(t,e){return j.call(Ct(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return nt(Ct(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return P.apply(Ct(this),arguments)},filter:function(t){return Dt(this,tt(Ct(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return it(Ct(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return rt(Ct(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Q(Ct(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return ot(Ct(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return st(Ct(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ft.apply(Ct(this),arguments)},lastIndexOf:function(t){return ut.apply(Ct(this),arguments)},map:function(t){return Tt(Ct(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ht.apply(Ct(this),arguments)},reduceRight:function(t){return dt.apply(Ct(this),arguments)},reverse:function(){var t,e=this,n=Ct(e).length,i=Math.floor(n/2),r=0;while(r1?arguments[1]:void 0)},sort:function(t){return pt.call(Ct(this),t)},subarray:function(t,e){var n=Ct(this),i=n.length,r=g(t,i);return new(D(n,n[Mt]))(n.buffer,n.byteOffset+r*n.BYTES_PER_ELEMENT,_((void 0===e?i:g(e,i))-r))}},Ht=function(t,e){return Dt(this,_t.call(Ct(this),t,e))},Gt=function(t){Ct(this);var e=kt(arguments[1],1),n=this.length,i=w(t),r=_(i.length),s=0;if(r+e>n)throw z(Et);while(s255?255:255&i),r.v[f](n*e+r.o,i,St)},k=function(t,e){G(t,e,{get:function(){return S(this,e)},set:function(t){return O(this,e,t)},enumerable:!0})};v?(p=n(function(t,n,i,r){u(t,p,l,"_d");var s,o,a,c,h=0,f=0;if(M(n)){if(!(n instanceof Z||(c=b(n))==W||c==U))return xt in n?Yt(p,n):Nt.call(p,n);s=n,f=kt(i,e);var g=n.byteLength;if(void 0===r){if(g%e)throw z(Et);if(o=g-f,o<0)throw z(Et)}else if(o=_(r)*e,o+f>g)throw z(Et);a=o/e}else a=m(n),o=a*e,s=new Z(o);d(t,"_d",{b:s,o:f,l:o,e:a,v:new J(s)});while(h-1:this.value===this.trueValue},isFalse:function(){return this.modelIsArray?-1===this.index:this.value===this.falseValue},index:function(){if(this.modelIsArray)return this.value.indexOf(this.val)},modelIsArray:function(){return Array.isArray(this.value)}},methods:{toggle:function(t){var e,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.disable||this.readonly||(t&&Object(i["g"])(t),n&&this.$el.blur(),this.modelIsArray?this.isTrue?(e=this.value.slice(),e.splice(this.index,1)):e=this.value.concat(this.val):e=this.isTrue?this.toggleIndeterminate?this.indeterminateValue:this.falseValue:this.isFalse?this.trueValue:this.falseValue,this.__update(e))}}}},ed0b:function(t,e,n){"use strict";var i=n("7726"),r=n("9e1e"),s=n("2d00"),o=n("0f88"),a=n("32e9"),c=n("dcbc"),l=n("79e5"),u=n("f605"),h=n("4588"),d=n("9def"),f=n("09fa"),p=n("9093").f,_=n("86cc").f,m=n("36bd"),g=n("7f20"),y="ArrayBuffer",v="DataView",b="prototype",M="Wrong length!",w="Wrong index!",x=i[y],L=i[v],E=i.Math,T=i.RangeError,S=i.Infinity,O=x,k=E.abs,C=E.pow,I=E.floor,D=E.log,Y=E.LN2,R="buffer",N="byteLength",A="byteOffset",P=r?"_b":R,j=r?"_l":N,F=r?"_o":A;function H(t,e,n){var i,r,s,o=new Array(n),a=8*n-e-1,c=(1<>1,u=23===e?C(2,-24)-C(2,-77):0,h=0,d=t<0||0===t&&1/t<0?1:0;for(t=k(t),t!=t||t===S?(r=t!=t?1:0,i=c):(i=I(D(t)/Y),t*(s=C(2,-i))<1&&(i--,s*=2),t+=i+l>=1?u/s:u*C(2,1-l),t*s>=2&&(i++,s/=2),i+l>=c?(r=0,i=c):i+l>=1?(r=(t*s-1)*C(2,e),i+=l):(r=t*C(2,l-1)*C(2,e),i=0));e>=8;o[h++]=255&r,r/=256,e-=8);for(i=i<0;o[h++]=255&i,i/=256,a-=8);return o[--h]|=128*d,o}function G(t,e,n){var i,r=8*n-e-1,s=(1<>1,a=r-7,c=n-1,l=t[c--],u=127&l;for(l>>=7;a>0;u=256*u+t[c],c--,a-=8);for(i=u&(1<<-a)-1,u>>=-a,a+=e;a>0;i=256*i+t[c],c--,a-=8);if(0===u)u=1-o;else{if(u===s)return i?NaN:l?-S:S;i+=C(2,e),u-=o}return(l?-1:1)*i*C(2,u-e)}function q(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function z(t){return[255&t]}function B(t){return[255&t,t>>8&255]}function $(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function W(t){return H(t,52,8)}function U(t){return H(t,23,4)}function V(t,e,n){_(t[b],e,{get:function(){return this[n]}})}function X(t,e,n,i){var r=+n,s=f(r);if(s+e>t[j])throw T(w);var o=t[P]._b,a=s+t[F],c=o.slice(a,a+e);return i?c:c.reverse()}function K(t,e,n,i,r,s){var o=+n,a=f(o);if(a+e>t[j])throw T(w);for(var c=t[P]._b,l=a+t[F],u=i(+r),h=0;htt;)(Z=Q[tt++])in x||a(x,Z,O[Z]);s||(J.constructor=x)}var et=new L(new x(2)),nt=L[b].setInt8;et.setInt8(0,2147483648),et.setInt8(1,2147483649),!et.getInt8(0)&&et.getInt8(1)||c(L[b],{setInt8:function(t,e){nt.call(this,t,e<<24>>24)},setUint8:function(t,e){nt.call(this,t,e<<24>>24)}},!0)}else x=function(t){u(this,x,y);var e=f(t);this._b=m.call(new Array(e),0),this[j]=e},L=function(t,e,n){u(this,L,v),u(t,x,v);var i=t[j],r=h(e);if(r<0||r>i)throw T("Wrong offset!");if(n=void 0===n?i-r:d(n),r+n>i)throw T(M);this[P]=t,this[F]=r,this[j]=n},r&&(V(x,N,"_l"),V(L,R,"_b"),V(L,N,"_l"),V(L,A,"_o")),c(L[b],{getInt8:function(t){return X(this,1,t)[0]<<24>>24},getUint8:function(t){return X(this,1,t)[0]},getInt16:function(t){var e=X(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=X(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return q(X(this,4,t,arguments[1]))},getUint32:function(t){return q(X(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return G(X(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return G(X(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){K(this,1,t,z,e)},setUint8:function(t,e){K(this,1,t,z,e)},setInt16:function(t,e){K(this,2,t,B,e,arguments[2])},setUint16:function(t,e){K(this,2,t,B,e,arguments[2])},setInt32:function(t,e){K(this,4,t,$,e,arguments[2])},setUint32:function(t,e){K(this,4,t,$,e,arguments[2])},setFloat32:function(t,e){K(this,4,t,U,e,arguments[2])},setFloat64:function(t,e){K(this,8,t,W,e,arguments[2])}});g(x,y),g(L,v),a(L[b],o.VIEW,!0),e[y]=x,e[v]=L},ed33:function(t,e,n){n("014b"),t.exports=n("584a").Object.getOwnPropertySymbols},ed5b:function(t,e,n){},eda5:function(t,e,n){(function(t,e){e(n("c1df"))})(0,function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(t){return"ප.ව."===t||"පස් වරු"===t},meridiem:function(t,e,n){return t>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}});return e})},edde:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{filter(t,e){}isDone(){}isGeometryChanged(){}}},ee1d:function(t,e,n){var i=n("5ca1");i(i.S,"Number",{isNaN:function(t){return t!=t}})},ef68:function(t,e,n){},ef8f:function(t,e,n){},f0e4:function(t,e,n){var i=n("895c");function r(t,e){if(null==t)return{};var n,r,s={},o=i(t);for(r=0;r=0||(s[n]=t[n]);return s}t.exports=r},f1f2:function(t,e,n){t.exports=n("696e")},f1f8:function(t,e,n){"use strict";(function(e){var i=n("c282"),r=n("930c"),s=n("26a0"),o=function(){};t.exports={WPrefix:"_jp",currentWindowId:null,polluteGlobalNamespace:function(){t.exports.WPrefix in e||(e[t.exports.WPrefix]={})},postMessage:function(n,i){e.parent!==e?e.parent.postMessage(r.stringify({windowId:t.exports.currentWindowId,type:n,data:i||""}),"*"):o("Cannot postMessage, no parent window.",n,i)},createIframe:function(t,n){var r,s,a=e.document.createElement("iframe"),c=function(){o("unattach"),clearTimeout(r);try{a.onload=null}catch(t){}a.onerror=null},l=function(){o("cleanup"),a&&(c(),setTimeout(function(){a&&a.parentNode.removeChild(a),a=null},0),i.unloadDel(s))},u=function(t){o("onerror",t),a&&(l(),n(t))},h=function(t,e){o("post",t,e),setTimeout(function(){try{a&&a.contentWindow&&a.contentWindow.postMessage(t,e)}catch(t){}},0)};return a.src=t,a.style.display="none",a.style.position="absolute",a.onerror=function(){u("onerror")},a.onload=function(){o("onload"),clearTimeout(r),r=setTimeout(function(){u("onload timeout")},2e3)},e.document.body.appendChild(a),r=setTimeout(function(){u("timeout")},15e3),s=i.unloadAdd(l),{post:h,cleanup:l,loaded:c}},createHtmlfile:function(n,r){var s,a,c,l=["Active"].concat("Object").join("X"),u=new e[l]("htmlfile"),h=function(){clearTimeout(s),c.onerror=null},d=function(){u&&(h(),i.unloadDel(a),c.parentNode.removeChild(c),c=u=null,CollectGarbage())},f=function(t){o("onerror",t),u&&(d(),r(t))},p=function(t,e){try{setTimeout(function(){c&&c.contentWindow&&c.contentWindow.postMessage(t,e)},0)}catch(t){}};u.open(),u.write('