diff --git a/docs/installation.md b/docs/installation.md index 802bdba..e03013b 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -19,50 +19,51 @@ 4. You can install npm package directly and use it in your vue application - more information about it - [vue-laravel-file-manager](https://github.com/alexusmai/vue-laravel-file-manager) - OR + >OR Publish compiled and minimized js and css files ``` php artisan vendor:publish --tag=fm-assets ``` + + Open the view file where you want to place the application block, and add: + + * add a csrf token to head block if you did not do it before + + ```html + + + ``` + + * the frontend package uses **Bootstrap 4** and **Font Awesome 5** styles, if you already use it, then you do not need to connect any styles. + Otherwise add - -5. Open the view file where you want to place the application block, and add: + ```html + + + ``` + + * add file manager styles + + ```html + + ``` + + * add file manager js + + ```html + + ``` + + * add div for application (set application height!) + + ```html +
+
+
+ ``` - * add a csrf token to head block if you did not do it before - - ```html - - - ``` - - * the frontend package uses **Bootstrap 4** and **Font Awesome 5** styles, if you already use it, then you do not need to connect any styles. - Otherwise add - - - ```html - - - ``` - - * add file manager styles - - ```html - - ``` - - * add file manager js - - ```html - - ``` - - * add div for application (set application height!) - - ```html -
-
-
- ``` ## What's next diff --git a/resources/assets/css/file-manager.css b/resources/assets/css/file-manager.css index 6398813..788f976 100644 --- a/resources/assets/css/file-manager.css +++ b/resources/assets/css/file-manager.css @@ -8,4 +8,4 @@ * Released under the MIT license * * Date: 2018-10-24T13:07:11.429Z - */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-canvas,.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline-color:rgba(51,153,255,.75);outline:1px solid #39f;overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:33.33333%;left:0;top:33.33333%;width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:33.33333%;top:0;width:33.33333%}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:after,.cropper-center:before{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC")}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}.fm-additions-cropper,.fm-additions-cropper .cropper-block{overflow:hidden}.fm-additions-cropper .cropper-block img{max-width:100%}.fm-additions-cropper .col-sm-3{overflow:auto}.fm-additions-cropper .col-sm-3::-webkit-scrollbar{display:none}.fm-additions-cropper .cropper-preview{margin-bottom:1rem;overflow:hidden;height:200px}.fm-additions-cropper .cropper-preview img{max-width:100%}.fm-additions-cropper .cropper-data{padding-left:1rem;padding-right:1rem}.fm-additions-cropper .cropper-data>.input-group{margin-bottom:.5rem}.fm-additions-cropper .cropper-data .input-group-prepend .input-group-text{min-width:4rem}.fm-additions-cropper .cropper-data .input-group-append .input-group-text{min-width:3rem}.fm-additions-cropper>.d-flex{padding:1rem;border-top:1px solid #e9ecef}.fm-modal-preview .modal-body{padding:0}.fm-modal-preview .modal-body img{max-width:100%}.fm-modal-preview>.d-flex{padding:1rem;border-top:1px solid #e9ecef}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;background-color:#7e7}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:-20px;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-webkit-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:rgba(37,59,118,.99)}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:rgba(37,59,118,.99)}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #a7a7a7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-attribute,.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag{color:#8da6ce}.cm-s-blackboard .cm-header{color:#ff6400}.cm-s-blackboard .cm-hr{color:#aeaeae}.cm-s-blackboard .cm-link{color:#8da6ce}.cm-s-blackboard .cm-error{background:#9d1e15;color:#f8f8f8}.cm-s-blackboard .CodeMirror-activeline-background{background:#3c3636}.cm-s-blackboard .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.fm-modal-text-edit .modal-body{padding:0}.fm-modal-audio-player .fas.fa-play{color:grey;opacity:.1;cursor:pointer}.fm-modal-audio-player .fas.fa-play:hover{opacity:.5}.fm-modal-audio-player .fas.fa-play.active{opacity:1;color:#00bfff}.fm-modal-audio-player .fas.fa-pause{color:grey;opacity:.5;cursor:pointer}.fm-modal{position:absolute;z-index:9998;top:0;bottom:0;left:0;right:0;width:100%;height:100%;background-color:rgba(0,0,0,.35);display:block;-webkit-transition:opacity .4s ease;transition:opacity .4s ease;overflow:auto}.fm-modal .modal-xl{max-width:96%}.fm-modal-enter-active,.fm-modal-leave-active{-webkit-transition:opacity .5s;transition:opacity .5s}.fm-modal-enter,.fm-modal-leave-to{opacity:0}.fm-info-block{padding-top:.2rem;padding-bottom:.4rem;border-bottom:1px solid #6d757d}.fm-info-block .progress{margin-top:.3rem}.fm-info-block .text-right>span{padding-left:.5rem;cursor:pointer}.fm-context-menu{position:absolute;z-index:9997;background-color:#fff;-webkit-box-shadow:3px 2px 5px grey;box-shadow:3px 2px 5px grey;border-radius:5px}.fm-context-menu .list-unstyled{margin-bottom:0;border-bottom:1px solid rgba(0,0,0,.125)}.fm-context-menu ul>li{padding:.4rem 1rem}.fm-context-menu ul>li:not(.disabled){cursor:pointer}.fm-context-menu ul>li:not(.disabled):hover{background-color:#f8f9fa}.fm-context-menu ul>li:not(.disabled) i{padding-right:2rem}.fm-notification{position:absolute;right:1rem;bottom:0;z-index:9999;width:350px;display:block;-webkit-transition:opacity .4s ease;transition:opacity .4s ease;overflow:auto}.fm-notification .fm-notification-item{padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid;border-radius:.25rem}.fm-notification .notify-enter-active{-webkit-transition:all .3s ease;transition:all .3s ease}.fm-notification .notify-leave-active{-webkit-transition:all .8s ease;transition:all .8s ease}.fm-notification .notify-enter,.fm-notification .notify-leave-to{opacity:0}@-webkit-keyframes plyr-progress{to{background-position:25px 0}}@keyframes plyr-progress{to{background-position:25px 0}}@-webkit-keyframes plyr-popup{0%{opacity:.5;-webkit-transform:translateY(10px);transform:translateY(10px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes plyr-popup{0%{opacity:.5;-webkit-transform:translateY(10px);transform:translateY(10px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes plyr-fade-in{0%{opacity:0}to{opacity:1}}@keyframes plyr-fade-in{0%{opacity:0}to{opacity:1}}.plyr{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:subpixel-antialiased;direction:ltr;font-family:Avenir,Avenir Next,Helvetica Neue,Segoe UI,Helvetica,Arial,sans-serif;font-variant-numeric:tabular-nums;font-weight:500;line-height:1.7;max-width:100%;min-width:200px;position:relative;text-shadow:none;-webkit-transition:-webkit-box-shadow .3s ease;transition:-webkit-box-shadow .3s ease;transition:box-shadow .3s ease;transition:box-shadow .3s ease,-webkit-box-shadow .3s ease}.plyr audio,.plyr video{border-radius:inherit;height:auto;vertical-align:middle;width:100%}.plyr button{font:inherit;line-height:inherit;width:auto}.plyr:focus{outline:0}.plyr--full-ui{-webkit-box-sizing:border-box;box-sizing:border-box}.plyr--full-ui *,.plyr--full-ui :after,.plyr--full-ui :before{-webkit-box-sizing:inherit;box-sizing:inherit}.plyr--full-ui a,.plyr--full-ui button,.plyr--full-ui input,.plyr--full-ui label{-ms-touch-action:manipulation;touch-action:manipulation}.plyr__badge{background:#4f5b5f;border-radius:2px;color:#fff;font-size:9px;line-height:1;padding:3px 4px}.plyr--full-ui ::-webkit-media-text-track-container{display:none}.plyr__captions{-webkit-animation:plyr-fade-in .3s ease;animation:plyr-fade-in .3s ease;bottom:0;color:#fff;display:none;font-size:14px;left:0;padding:10px;position:absolute;text-align:center;-webkit-transition:-webkit-transform .4s ease-in-out;transition:-webkit-transform .4s ease-in-out;transition:transform .4s ease-in-out;transition:transform .4s ease-in-out,-webkit-transform .4s ease-in-out;width:100%}.plyr__captions .plyr__caption{background:rgba(0,0,0,.8);border-radius:2px;-webkit-box-decoration-break:clone;box-decoration-break:clone;line-height:185%;padding:.2em .5em;white-space:pre-wrap}.plyr__captions .plyr__caption div{display:inline}.plyr__captions span:empty{display:none}@media (min-width:480px){.plyr__captions{font-size:16px;padding:20px}}@media (min-width:768px){.plyr__captions{font-size:18px}}.plyr--captions-active .plyr__captions{display:block}.plyr:not(.plyr--hide-controls) .plyr__controls:not(:empty)~.plyr__captions{-webkit-transform:translateY(-40px);transform:translateY(-40px)}.plyr__control{background:transparent;border:0;border-radius:3px;color:inherit;cursor:pointer;-ms-flex-negative:0;flex-shrink:0;overflow:visible;padding:7px;position:relative;-webkit-transition:all .3s ease;transition:all .3s ease}.plyr__control svg{display:block;fill:currentColor;height:18px;pointer-events:none;width:18px}.plyr__control:focus{outline:0}.plyr__control.plyr__tab-focus{-webkit-box-shadow:0 0 0 5px rgba(26,175,255,.5);box-shadow:0 0 0 5px rgba(26,175,255,.5);outline:0}a.plyr__control{text-decoration:none}.plyr__control.plyr__control--pressed .icon--not-pressed,.plyr__control.plyr__control--pressed .label--not-pressed,.plyr__control:not(.plyr__control--pressed) .icon--pressed,.plyr__control:not(.plyr__control--pressed) .label--pressed,a.plyr__control:after,a.plyr__control:before{display:none}.plyr--audio .plyr__control.plyr__tab-focus,.plyr--audio .plyr__control:hover,.plyr--audio .plyr__control[aria-expanded=true]{background:#1aafff;color:#fff}.plyr--video .plyr__control svg{-webkit-filter:drop-shadow(0 1px 1px rgba(0,0,0,.15));filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}.plyr--video .plyr__control.plyr__tab-focus,.plyr--video .plyr__control:hover,.plyr--video .plyr__control[aria-expanded=true]{background:#1aafff;color:#fff}.plyr__control--overlaid{background:rgba(26,175,255,.8);border:0;border-radius:100%;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15);box-shadow:0 1px 1px rgba(0,0,0,.15);color:#fff;display:none;left:50%;padding:15px;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:2}.plyr__control--overlaid svg{left:2px;position:relative}.plyr__control--overlaid:focus,.plyr__control--overlaid:hover{background:#1aafff}.plyr--playing .plyr__control--overlaid{opacity:0;visibility:hidden}.plyr--full-ui.plyr--video .plyr__control--overlaid{display:block}.plyr--full-ui ::-webkit-media-controls{display:none}.plyr__controls{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:center}.plyr__controls .plyr__menu,.plyr__controls .plyr__progress,.plyr__controls .plyr__time,.plyr__controls .plyr__volume,.plyr__controls>.plyr__control{margin-left:5px}.plyr__controls .plyr__menu+.plyr__control,.plyr__controls .plyr__progress+.plyr__control,.plyr__controls>.plyr__control+.plyr__control,.plyr__controls>.plyr__control+.plyr__menu{margin-left:2px}.plyr__controls>.plyr__control:first-child,.plyr__controls>.plyr__control:first-child+[data-plyr=pause]{margin-left:0;margin-right:auto}.plyr__controls:empty{display:none}@media (min-width:480px){.plyr__controls .plyr__menu,.plyr__controls .plyr__progress,.plyr__controls .plyr__time,.plyr__controls .plyr__volume,.plyr__controls>.plyr__control{margin-left:10px}}.plyr--audio .plyr__controls{background:#fff;border-radius:inherit;color:#4f5b5f;padding:10px}.plyr--video .plyr__controls{background:-webkit-gradient(linear,left top,left bottom,from(transparent),to(rgba(0,0,0,.7)));background:linear-gradient(transparent,rgba(0,0,0,.7));border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;bottom:0;color:#fff;left:0;padding:20px 5px 5px;position:absolute;right:0;-webkit-transition:opacity .4s ease-in-out,-webkit-transform .4s ease-in-out;transition:opacity .4s ease-in-out,-webkit-transform .4s ease-in-out;transition:opacity .4s ease-in-out,transform .4s ease-in-out;transition:opacity .4s ease-in-out,transform .4s ease-in-out,-webkit-transform .4s ease-in-out;z-index:3}@media (min-width:480px){.plyr--video .plyr__controls{padding:35px 10px 10px}}.plyr--video.plyr--hide-controls .plyr__controls{opacity:0;pointer-events:none;-webkit-transform:translateY(100%);transform:translateY(100%)}.plyr [data-plyr=airplay],.plyr [data-plyr=captions],.plyr [data-plyr=fullscreen],.plyr [data-plyr=pip]{display:none}.plyr--airplay-supported [data-plyr=airplay],.plyr--captions-enabled [data-plyr=captions],.plyr--fullscreen-enabled [data-plyr=fullscreen],.plyr--pip-supported [data-plyr=pip]{display:inline-block}.plyr__video-embed{height:0;padding-bottom:56.25%;position:relative}.plyr__video-embed iframe{border:0;height:100%;left:0;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.plyr--full-ui .plyr__video-embed>.plyr__video-embed__container{padding-bottom:240%;position:relative;-webkit-transform:translateY(-38.28125%);transform:translateY(-38.28125%)}.plyr__menu{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.plyr__menu .plyr__control svg{-webkit-transition:-webkit-transform .3s ease;transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease}.plyr__menu .plyr__control[aria-expanded=true] svg{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.plyr__menu .plyr__control[aria-expanded=true] .plyr__tooltip{display:none}.plyr__menu__container{-webkit-animation:plyr-popup .2s ease;animation:plyr-popup .2s ease;background:hsla(0,0%,100%,.9);border-radius:4px;bottom:100%;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:0 1px 2px rgba(0,0,0,.15);color:#4f5b5f;font-size:16px;margin-bottom:10px;position:absolute;right:-3px;text-align:left;white-space:nowrap;z-index:3}.plyr__menu__container>div{overflow:hidden;-webkit-transition:height .35s cubic-bezier(.4,0,.2,1),width .35s cubic-bezier(.4,0,.2,1);transition:height .35s cubic-bezier(.4,0,.2,1),width .35s cubic-bezier(.4,0,.2,1)}.plyr__menu__container:after{border:4px solid transparent;border-top-color:hsla(0,0%,100%,.9);content:"";height:0;position:absolute;right:15px;top:100%;width:0}.plyr__menu__container [role=menu]{padding:7px}.plyr__menu__container [role=menuitem],.plyr__menu__container [role=menuitemradio]{margin-top:2px}.plyr__menu__container [role=menuitem]:first-child,.plyr__menu__container [role=menuitemradio]:first-child{margin-top:0}.plyr__menu__container .plyr__control{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#4f5b5f;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:14px;padding:4px 11px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.plyr__menu__container .plyr__control>span{-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.plyr__menu__container .plyr__control:after{border:4px solid transparent;content:"";position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.plyr__menu__container .plyr__control--forward{padding-right:28px}.plyr__menu__container .plyr__control--forward:after{border-left-color:rgba(79,91,95,.8);right:5px}.plyr__menu__container .plyr__control--forward.plyr__tab-focus:after,.plyr__menu__container .plyr__control--forward:hover:after{border-left-color:currentColor}.plyr__menu__container .plyr__control--back{font-weight:500;margin:7px;margin-bottom:3px;padding-left:28px;position:relative;width:calc(100% - 14px)}.plyr__menu__container .plyr__control--back:after{border-right-color:rgba(79,91,95,.8);left:7px}.plyr__menu__container .plyr__control--back:before{background:#b7c5cd;-webkit-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;content:"";height:1px;left:0;margin-top:4px;overflow:hidden;position:absolute;right:0;top:100%}.plyr__menu__container .plyr__control--back.plyr__tab-focus:after,.plyr__menu__container .plyr__control--back:hover:after{border-right-color:currentColor}.plyr__menu__container .plyr__control[role=menuitemradio]{padding-left:7px}.plyr__menu__container .plyr__control[role=menuitemradio]:after,.plyr__menu__container .plyr__control[role=menuitemradio]:before{border-radius:100%}.plyr__menu__container .plyr__control[role=menuitemradio]:before{background:rgba(0,0,0,.1);content:"";display:block;-ms-flex-negative:0;flex-shrink:0;height:16px;margin-right:10px;-webkit-transition:all .3s ease;transition:all .3s ease;width:16px}.plyr__menu__container .plyr__control[role=menuitemradio]:after{background:#fff;border:0;height:6px;left:12px;opacity:0;top:50%;-webkit-transform:translateY(-50%) scale(0);transform:translateY(-50%) scale(0);-webkit-transition:opacity .3s ease,-webkit-transform .3s ease;transition:opacity .3s ease,-webkit-transform .3s ease;transition:transform .3s ease,opacity .3s ease;transition:transform .3s ease,opacity .3s ease,-webkit-transform .3s ease;width:6px}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:before{background:#1aafff}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:after{opacity:1;-webkit-transform:translateY(-50%) scale(1);transform:translateY(-50%) scale(1)}.plyr__menu__container .plyr__control[role=menuitemradio].plyr__tab-focus:before,.plyr__menu__container .plyr__control[role=menuitemradio]:hover:before{background:rgba(0,0,0,.1)}.plyr__menu__container .plyr__menu__value{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:auto;margin-right:-5px;overflow:hidden;padding-left:25px;pointer-events:none}.plyr--full-ui input[type=range]{-webkit-appearance:none;background:transparent;border:0;border-radius:28px;color:#1aafff;display:block;height:20px;margin:0;padding:0;-webkit-transition:-webkit-box-shadow .3s ease;transition:-webkit-box-shadow .3s ease;transition:box-shadow .3s ease;transition:box-shadow .3s ease,-webkit-box-shadow .3s ease;width:100%}.plyr--full-ui input[type=range]::-webkit-slider-runnable-track{background:transparent;border:0;border-radius:2px;height:4px;-webkit-transition:-webkit-box-shadow .3s ease;transition:-webkit-box-shadow .3s ease;transition:box-shadow .3s ease;transition:box-shadow .3s ease,-webkit-box-shadow .3s ease;-webkit-user-select:none;user-select:none;background-image:-webkit-gradient(linear,left top,right top,from(currentColor),to(transparent));background-image:linear-gradient(90deg,currentColor var(--value,0),transparent var(--value,0))}.plyr--full-ui input[type=range]::-webkit-slider-thumb{background:#fff;border:0;border-radius:100%;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2);box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2);height:14px;position:relative;-webkit-transition:all .2s ease;transition:all .2s ease;width:14px;-webkit-appearance:none;margin-top:-5px}.plyr--full-ui input[type=range]::-moz-range-track{background:transparent;border:0;border-radius:2px;height:4px;-webkit-transition:-webkit-box-shadow .3s ease;transition:-webkit-box-shadow .3s ease;transition:box-shadow .3s ease;transition:box-shadow .3s ease,-webkit-box-shadow .3s ease;-moz-user-select:none;user-select:none}.plyr--full-ui input[type=range]::-moz-range-thumb{background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2);height:14px;position:relative;-webkit-transition:all .2s ease;transition:all .2s ease;width:14px}.plyr--full-ui input[type=range]::-moz-range-progress{background:currentColor;border-radius:2px;height:4px}.plyr--full-ui input[type=range]::-ms-track{color:transparent}.plyr--full-ui input[type=range]::-ms-fill-upper,.plyr--full-ui input[type=range]::-ms-track{background:transparent;border:0;border-radius:2px;height:4px;-webkit-transition:-webkit-box-shadow .3s ease;transition:-webkit-box-shadow .3s ease;transition:box-shadow .3s ease;transition:box-shadow .3s ease,-webkit-box-shadow .3s ease;-ms-user-select:none;user-select:none}.plyr--full-ui input[type=range]::-ms-fill-lower{background:transparent;border:0;border-radius:2px;height:4px;-webkit-transition:-webkit-box-shadow .3s ease;transition:-webkit-box-shadow .3s ease;transition:box-shadow .3s ease;transition:box-shadow .3s ease,-webkit-box-shadow .3s ease;-ms-user-select:none;user-select:none;background:currentColor}.plyr--full-ui input[type=range]::-ms-thumb{background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2);height:14px;position:relative;-webkit-transition:all .2s ease;transition:all .2s ease;width:14px;margin-top:0}.plyr--full-ui input[type=range]::-ms-tooltip{display:none}.plyr--full-ui input[type=range]:focus{outline:0}.plyr--full-ui input[type=range]::-moz-focus-outer{border:0}.plyr--full-ui input[type=range].plyr__tab-focus::-webkit-slider-runnable-track{-webkit-box-shadow:0 0 0 5px rgba(26,175,255,.5);box-shadow:0 0 0 5px rgba(26,175,255,.5);outline:0}.plyr--full-ui input[type=range].plyr__tab-focus::-moz-range-track{box-shadow:0 0 0 5px rgba(26,175,255,.5);outline:0}.plyr--full-ui input[type=range].plyr__tab-focus::-ms-track{box-shadow:0 0 0 5px rgba(26,175,255,.5);outline:0}.plyr--full-ui.plyr--video input[type=range]::-webkit-slider-runnable-track{background-color:hsla(0,0%,100%,.25)}.plyr--full-ui.plyr--video input[type=range]::-moz-range-track{background-color:hsla(0,0%,100%,.25)}.plyr--full-ui.plyr--video input[type=range]::-ms-track{background-color:hsla(0,0%,100%,.25)}.plyr--full-ui.plyr--video input[type=range]:active::-webkit-slider-thumb{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px hsla(0,0%,100%,.5);box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px hsla(0,0%,100%,.5)}.plyr--full-ui.plyr--video input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px hsla(0,0%,100%,.5)}.plyr--full-ui.plyr--video input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px hsla(0,0%,100%,.5)}.plyr--full-ui.plyr--audio input[type=range]::-webkit-slider-runnable-track{background-color:rgba(183,197,205,.66)}.plyr--full-ui.plyr--audio input[type=range]::-moz-range-track{background-color:rgba(183,197,205,.66)}.plyr--full-ui.plyr--audio input[type=range]::-ms-track{background-color:rgba(183,197,205,.66)}.plyr--full-ui.plyr--audio input[type=range]:active::-webkit-slider-thumb{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px rgba(0,0,0,.1);box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px rgba(0,0,0,.1)}.plyr--full-ui.plyr--audio input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px rgba(0,0,0,.1)}.plyr--full-ui.plyr--audio input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px rgba(0,0,0,.1)}.plyr__poster{background-color:#000;background-position:50% 50%;background-repeat:no-repeat;background-size:contain;height:100%;left:0;opacity:0;position:absolute;top:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;width:100%;z-index:1}.plyr--stopped.plyr__poster-enabled .plyr__poster{opacity:1}.plyr__time{font-size:14px}.plyr__time+.plyr__time:before{content:"\2044";margin-right:10px}@media (max-width:767px){.plyr__time+.plyr__time{display:none}}.plyr--video .plyr__time{text-shadow:0 1px 1px rgba(0,0,0,.15)}.plyr__tooltip{background:hsla(0,0%,100%,.9);border-radius:3px;bottom:100%;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:0 1px 2px rgba(0,0,0,.15);color:#4f5b5f;font-size:14px;font-weight:500;left:50%;line-height:1.3;margin-bottom:10px;opacity:0;padding:5px 7.5px;pointer-events:none;position:absolute;-webkit-transform:translate(-50%,10px) scale(.8);transform:translate(-50%,10px) scale(.8);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;-webkit-transition:opacity .2s ease .1s,-webkit-transform .2s ease .1s;transition:opacity .2s ease .1s,-webkit-transform .2s ease .1s;transition:transform .2s ease .1s,opacity .2s ease .1s;transition:transform .2s ease .1s,opacity .2s ease .1s,-webkit-transform .2s ease .1s;white-space:nowrap;z-index:2}.plyr__tooltip:before{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid hsla(0,0%,100%,.9);bottom:-4px;content:"";height:0;left:50%;position:absolute;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:0;z-index:2}.plyr .plyr__control.plyr__tab-focus .plyr__tooltip,.plyr .plyr__control:hover .plyr__tooltip,.plyr__tooltip--visible{opacity:1;-webkit-transform:translate(-50%) scale(1);transform:translate(-50%) scale(1)}.plyr .plyr__control:hover .plyr__tooltip{z-index:3}.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip,.plyr__controls>.plyr__control:first-child .plyr__tooltip{left:0;-webkit-transform:translateY(10px) scale(.8);transform:translateY(10px) scale(.8);-webkit-transform-origin:0 100%;transform-origin:0 100%}.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip:before,.plyr__controls>.plyr__control:first-child .plyr__tooltip:before{left:16px}.plyr__controls>.plyr__control:last-child .plyr__tooltip{left:auto;right:0;-webkit-transform:translateY(10px) scale(.8);transform:translateY(10px) scale(.8);-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.plyr__controls>.plyr__control:last-child .plyr__tooltip:before{left:auto;right:16px;-webkit-transform:translateX(50%);transform:translateX(50%)}.plyr__controls>.plyr__control:first-child+.plyr__control.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control:hover .plyr__tooltip,.plyr__controls>.plyr__control:first-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child:hover .plyr__tooltip,.plyr__controls>.plyr__control:last-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:last-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:last-child:hover .plyr__tooltip{-webkit-transform:translate(0) scale(1);transform:translate(0) scale(1)}.plyr--video{background:#000;overflow:hidden}.plyr--video.plyr--menu-open{overflow:visible}.plyr__video-wrapper{background:#000;border-radius:inherit;overflow:hidden;position:relative;z-index:0}.plyr__progress{-webkit-box-flex:1;-ms-flex:1;flex:1;left:7px;margin-right:14px;position:relative}.plyr__progress__buffer,.plyr__progress input[type=range]{margin-left:-7px;margin-right:-7px;width:calc(100% + 14px)}.plyr__progress input[type=range]{position:relative;z-index:2}.plyr__progress .plyr__tooltip{font-size:14px;left:0}.plyr__progress__buffer{-webkit-appearance:none;background:transparent;border:0;border-radius:100px;height:4px;left:0;margin-top:-2px;padding:0;position:absolute;top:50%}.plyr__progress__buffer::-webkit-progress-bar{background:transparent;-webkit-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-webkit-progress-value{background:currentColor;border-radius:100px;min-width:4px}.plyr__progress__buffer::-moz-progress-bar{background:currentColor;border-radius:100px;min-width:4px;-webkit-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-ms-fill{border-radius:100px;-webkit-transition:width .2s ease;transition:width .2s ease}.plyr--video .plyr__progress__buffer{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15);box-shadow:0 1px 1px rgba(0,0,0,.15);color:hsla(0,0%,100%,.25)}.plyr--audio .plyr__progress__buffer{color:rgba(183,197,205,.66)}.plyr--loading .plyr__progress__buffer{-webkit-animation:plyr-progress 1s linear infinite;animation:plyr-progress 1s linear infinite;background-image:linear-gradient(-45deg,rgba(47,52,61,.6) 25%,transparent 0,transparent 50%,rgba(47,52,61,.6) 0,rgba(47,52,61,.6) 75%,transparent 0,transparent);background-repeat:repeat-x;background-size:25px 25px;color:transparent}.plyr--video.plyr--loading .plyr__progress__buffer{background-color:hsla(0,0%,100%,.25)}.plyr--audio.plyr--loading .plyr__progress__buffer{background-color:rgba(183,197,205,.66)}.plyr__volume{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.plyr__volume input[type=range]{margin-left:5px;position:relative;z-index:2}@media (min-width:480px){.plyr__volume{max-width:90px}}@media (min-width:768px){.plyr__volume{max-width:110px}}.plyr--is-ios.plyr--vimeo [data-plyr=mute],.plyr--is-ios .plyr__volume{display:none!important}.plyr:fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:fullscreen video{height:100%}.plyr:fullscreen .plyr__video-wrapper{height:100%;width:100%}.plyr:fullscreen .plyr__video-embed{overflow:visible}.plyr:fullscreen.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.plyr:fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:21px}.plyr:-moz-full-screen .plyr__captions{font-size:21px}.plyr:-ms-fullscreen .plyr__captions{font-size:21px}.plyr:fullscreen .plyr__captions{font-size:21px}}.plyr:-webkit-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-webkit-full-screen video{height:100%}.plyr:-webkit-full-screen .plyr__video-wrapper{height:100%;width:100%}.plyr:-webkit-full-screen .plyr__video-embed{overflow:visible}.plyr:-webkit-full-screen.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-webkit-full-screen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:21px}}.plyr:-moz-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-moz-full-screen video{height:100%}.plyr:-moz-full-screen .plyr__video-wrapper{height:100%;width:100%}.plyr:-moz-full-screen .plyr__video-embed{overflow:visible}.plyr:-moz-full-screen.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;transform:translateY(-50%)}.plyr:-moz-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-moz-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-moz-full-screen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-moz-full-screen .plyr__captions{font-size:21px}}.plyr:-ms-fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-ms-fullscreen video{height:100%}.plyr:-ms-fullscreen .plyr__video-wrapper{height:100%;width:100%}.plyr:-ms-fullscreen .plyr__video-embed{overflow:visible}.plyr:-ms-fullscreen.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;transform:translateY(-50%)}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-ms-fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-ms-fullscreen .plyr__captions{font-size:21px}}.plyr--fullscreen-fallback{background:#000;border-radius:0!important;height:100%;margin:0;width:100%;bottom:0;left:0;position:fixed;right:0;top:0;z-index:10000000}.plyr--fullscreen-fallback video{height:100%}.plyr--fullscreen-fallback .plyr__video-wrapper{height:100%;width:100%}.plyr--fullscreen-fallback .plyr__video-embed{overflow:visible}.plyr--fullscreen-fallback.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen{display:block}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr--fullscreen-fallback.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr--fullscreen-fallback .plyr__captions{font-size:21px}}.plyr__ads{border-radius:inherit;bottom:0;cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:-1}.plyr__ads>div,.plyr__ads>div iframe{height:100%;position:absolute;width:100%}.plyr__ads:after{background:rgba(47,52,61,.8);border-radius:2px;bottom:10px;color:#fff;content:attr(data-badge-text);font-size:11px;padding:2px 6px;pointer-events:none;position:absolute;right:10px;z-index:3}.plyr__ads:after:empty{display:none}.plyr__cues{background:currentColor;display:block;height:4px;left:0;margin:-2px 0 0;opacity:.8;position:absolute;top:50%;width:3px;z-index:3}.plyr--no-transition{-webkit-transition:none!important;transition:none!important}.plyr__sr-only{clip:rect(1px,1px,1px,1px);overflow:hidden;border:0!important;height:1px!important;padding:0!important;position:absolute!important;width:1px!important}.plyr [hidden]{display:none!important}.fm{position:relative;height:100%;padding:1rem 1rem 0;background-color:#fff}.fm:-moz-full-screen{background-color:#fff}.fm:-webkit-full-screen{background-color:#fff}.fm:-ms-fullscreen{background-color:#fff}.fm:fullscreen{background-color:#fff}.fm .fm-body{height:100%;position:relative;padding-top:1rem;padding-bottom:1rem;border-top:1px solid #6d757d;border-bottom:1px solid #6d757d}.fm .unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fm-error{color:#fff;background-color:#dc3545;border-color:#dc3545}.fm-danger{color:#dc3545;background-color:#fff;border-color:#dc3545}.fm-warning{color:#ffc107;background-color:#fff;border-color:#ffc107}.fm-success{color:#28a745;border-color:#28a745}.fm-info,.fm-success{background-color:#fff}.fm-info{color:#17a2b8;border-color:#17a2b8}.fm.fm-full-screen{width:100%;height:100%;padding-bottom:0} \ No newline at end of file + */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-canvas,.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline-color:rgba(51,153,255,.75);outline:1px solid #39f;overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:33.33333%;left:0;top:33.33333%;width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:33.33333%;top:0;width:33.33333%}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:after,.cropper-center:before{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC")}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}.fm-additions-cropper{overflow:hidden}.fm-additions-cropper>.row{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.fm-additions-cropper .cropper-block{overflow:hidden}.fm-additions-cropper .cropper-block img{max-width:100%}.fm-additions-cropper .col-sm-3{overflow:auto}.fm-additions-cropper .col-sm-3::-webkit-scrollbar{display:none}.fm-additions-cropper .cropper-preview{margin-bottom:1rem;overflow:hidden;height:200px}.fm-additions-cropper .cropper-preview img{max-width:100%}.fm-additions-cropper .cropper-data{padding-left:1rem;padding-right:1rem}.fm-additions-cropper .cropper-data>.input-group{margin-bottom:.5rem}.fm-additions-cropper .cropper-data .input-group-prepend .input-group-text{min-width:4rem}.fm-additions-cropper .cropper-data .input-group-append .input-group-text{min-width:3rem}.fm-additions-cropper>.d-flex{padding:1rem;border-top:1px solid #e9ecef}.fm-modal-preview .modal-body{padding:0}.fm-modal-preview .modal-body img{max-width:100%}.fm-modal-preview>.d-flex{padding:1rem;border-top:1px solid #e9ecef}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;background-color:#7e7}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:-20px;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-webkit-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:rgba(37,59,118,.99)}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:rgba(37,59,118,.99)}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #a7a7a7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-attribute,.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag{color:#8da6ce}.cm-s-blackboard .cm-header{color:#ff6400}.cm-s-blackboard .cm-hr{color:#aeaeae}.cm-s-blackboard .cm-link{color:#8da6ce}.cm-s-blackboard .cm-error{background:#9d1e15;color:#f8f8f8}.cm-s-blackboard .CodeMirror-activeline-background{background:#3c3636}.cm-s-blackboard .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.fm-modal-text-edit .modal-body{padding:0}.fm-modal-audio-player .fas.fa-play{color:grey;opacity:.1;cursor:pointer}.fm-modal-audio-player .fas.fa-play:hover{opacity:.5}.fm-modal-audio-player .fas.fa-play.active{opacity:1;color:#00bfff}.fm-modal-audio-player .fas.fa-pause{color:grey;opacity:.5;cursor:pointer}.fm-modal{position:absolute;z-index:9998;top:0;bottom:0;left:0;right:0;width:100%;height:100%;background-color:rgba(0,0,0,.35);display:block;-webkit-transition:opacity .4s ease;transition:opacity .4s ease;overflow:auto}.fm-modal .modal-xl{max-width:96%}.fm-modal-enter-active,.fm-modal-leave-active{-webkit-transition:opacity .5s;transition:opacity .5s}.fm-modal-enter,.fm-modal-leave-to{opacity:0}.fm-info-block{display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:-15px;margin-left:-15px;padding-top:.2rem;padding-bottom:.4rem;border-bottom:1px solid #6d757d}.fm-info-block .progress{margin-top:.3rem}.fm-info-block .text-right>span{padding-left:.5rem;cursor:pointer}.fm-context-menu{position:absolute;z-index:9997;background-color:#fff;-webkit-box-shadow:3px 2px 5px grey;box-shadow:3px 2px 5px grey;border-radius:5px}.fm-context-menu .list-unstyled{margin-bottom:0;border-bottom:1px solid rgba(0,0,0,.125)}.fm-context-menu ul>li{padding:.4rem 1rem}.fm-context-menu ul>li:not(.disabled){cursor:pointer}.fm-context-menu ul>li:not(.disabled):hover{background-color:#f8f9fa}.fm-context-menu ul>li:not(.disabled) i{padding-right:2rem}.fm-notification{position:absolute;right:1rem;bottom:0;z-index:9999;width:350px;display:block;-webkit-transition:opacity .4s ease;transition:opacity .4s ease;overflow:auto}.fm-notification .fm-notification-item{padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid;border-radius:.25rem}.fm-notification .notify-enter-active{-webkit-transition:all .3s ease;transition:all .3s ease}.fm-notification .notify-leave-active{-webkit-transition:all .8s ease;transition:all .8s ease}.fm-notification .notify-enter,.fm-notification .notify-leave-to{opacity:0}@-webkit-keyframes plyr-progress{to{background-position:25px 0}}@keyframes plyr-progress{to{background-position:25px 0}}@-webkit-keyframes plyr-popup{0%{opacity:.5;-webkit-transform:translateY(10px);transform:translateY(10px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes plyr-popup{0%{opacity:.5;-webkit-transform:translateY(10px);transform:translateY(10px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes plyr-fade-in{0%{opacity:0}to{opacity:1}}@keyframes plyr-fade-in{0%{opacity:0}to{opacity:1}}.plyr{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:subpixel-antialiased;direction:ltr;font-family:Avenir,Avenir Next,Helvetica Neue,Segoe UI,Helvetica,Arial,sans-serif;font-variant-numeric:tabular-nums;font-weight:500;line-height:1.7;max-width:100%;min-width:200px;position:relative;text-shadow:none;-webkit-transition:-webkit-box-shadow .3s ease;transition:-webkit-box-shadow .3s ease;transition:box-shadow .3s ease;transition:box-shadow .3s ease,-webkit-box-shadow .3s ease}.plyr audio,.plyr video{border-radius:inherit;height:auto;vertical-align:middle;width:100%}.plyr button{font:inherit;line-height:inherit;width:auto}.plyr:focus{outline:0}.plyr--full-ui{-webkit-box-sizing:border-box;box-sizing:border-box}.plyr--full-ui *,.plyr--full-ui :after,.plyr--full-ui :before{-webkit-box-sizing:inherit;box-sizing:inherit}.plyr--full-ui a,.plyr--full-ui button,.plyr--full-ui input,.plyr--full-ui label{-ms-touch-action:manipulation;touch-action:manipulation}.plyr__badge{background:#4f5b5f;border-radius:2px;color:#fff;font-size:9px;line-height:1;padding:3px 4px}.plyr--full-ui ::-webkit-media-text-track-container{display:none}.plyr__captions{-webkit-animation:plyr-fade-in .3s ease;animation:plyr-fade-in .3s ease;bottom:0;color:#fff;display:none;font-size:14px;left:0;padding:10px;position:absolute;text-align:center;-webkit-transition:-webkit-transform .4s ease-in-out;transition:-webkit-transform .4s ease-in-out;transition:transform .4s ease-in-out;transition:transform .4s ease-in-out,-webkit-transform .4s ease-in-out;width:100%}.plyr__captions .plyr__caption{background:rgba(0,0,0,.8);border-radius:2px;-webkit-box-decoration-break:clone;box-decoration-break:clone;line-height:185%;padding:.2em .5em;white-space:pre-wrap}.plyr__captions .plyr__caption div{display:inline}.plyr__captions span:empty{display:none}@media (min-width:480px){.plyr__captions{font-size:16px;padding:20px}}@media (min-width:768px){.plyr__captions{font-size:18px}}.plyr--captions-active .plyr__captions{display:block}.plyr:not(.plyr--hide-controls) .plyr__controls:not(:empty)~.plyr__captions{-webkit-transform:translateY(-40px);transform:translateY(-40px)}.plyr__control{background:transparent;border:0;border-radius:3px;color:inherit;cursor:pointer;-ms-flex-negative:0;flex-shrink:0;overflow:visible;padding:7px;position:relative;-webkit-transition:all .3s ease;transition:all .3s ease}.plyr__control svg{display:block;fill:currentColor;height:18px;pointer-events:none;width:18px}.plyr__control:focus{outline:0}.plyr__control.plyr__tab-focus{-webkit-box-shadow:0 0 0 5px rgba(26,175,255,.5);box-shadow:0 0 0 5px rgba(26,175,255,.5);outline:0}a.plyr__control{text-decoration:none}.plyr__control.plyr__control--pressed .icon--not-pressed,.plyr__control.plyr__control--pressed .label--not-pressed,.plyr__control:not(.plyr__control--pressed) .icon--pressed,.plyr__control:not(.plyr__control--pressed) .label--pressed,a.plyr__control:after,a.plyr__control:before{display:none}.plyr--audio .plyr__control.plyr__tab-focus,.plyr--audio .plyr__control:hover,.plyr--audio .plyr__control[aria-expanded=true]{background:#1aafff;color:#fff}.plyr--video .plyr__control svg{-webkit-filter:drop-shadow(0 1px 1px rgba(0,0,0,.15));filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}.plyr--video .plyr__control.plyr__tab-focus,.plyr--video .plyr__control:hover,.plyr--video .plyr__control[aria-expanded=true]{background:#1aafff;color:#fff}.plyr__control--overlaid{background:rgba(26,175,255,.8);border:0;border-radius:100%;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15);box-shadow:0 1px 1px rgba(0,0,0,.15);color:#fff;display:none;left:50%;padding:15px;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:2}.plyr__control--overlaid svg{left:2px;position:relative}.plyr__control--overlaid:focus,.plyr__control--overlaid:hover{background:#1aafff}.plyr--playing .plyr__control--overlaid{opacity:0;visibility:hidden}.plyr--full-ui.plyr--video .plyr__control--overlaid{display:block}.plyr--full-ui ::-webkit-media-controls{display:none}.plyr__controls{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:center}.plyr__controls .plyr__menu,.plyr__controls .plyr__progress,.plyr__controls .plyr__time,.plyr__controls .plyr__volume,.plyr__controls>.plyr__control{margin-left:5px}.plyr__controls .plyr__menu+.plyr__control,.plyr__controls .plyr__progress+.plyr__control,.plyr__controls>.plyr__control+.plyr__control,.plyr__controls>.plyr__control+.plyr__menu{margin-left:2px}.plyr__controls>.plyr__control:first-child,.plyr__controls>.plyr__control:first-child+[data-plyr=pause]{margin-left:0;margin-right:auto}.plyr__controls:empty{display:none}@media (min-width:480px){.plyr__controls .plyr__menu,.plyr__controls .plyr__progress,.plyr__controls .plyr__time,.plyr__controls .plyr__volume,.plyr__controls>.plyr__control{margin-left:10px}}.plyr--audio .plyr__controls{background:#fff;border-radius:inherit;color:#4f5b5f;padding:10px}.plyr--video .plyr__controls{background:-webkit-gradient(linear,left top,left bottom,from(transparent),to(rgba(0,0,0,.7)));background:linear-gradient(transparent,rgba(0,0,0,.7));border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;bottom:0;color:#fff;left:0;padding:20px 5px 5px;position:absolute;right:0;-webkit-transition:opacity .4s ease-in-out,-webkit-transform .4s ease-in-out;transition:opacity .4s ease-in-out,-webkit-transform .4s ease-in-out;transition:opacity .4s ease-in-out,transform .4s ease-in-out;transition:opacity .4s ease-in-out,transform .4s ease-in-out,-webkit-transform .4s ease-in-out;z-index:3}@media (min-width:480px){.plyr--video .plyr__controls{padding:35px 10px 10px}}.plyr--video.plyr--hide-controls .plyr__controls{opacity:0;pointer-events:none;-webkit-transform:translateY(100%);transform:translateY(100%)}.plyr [data-plyr=airplay],.plyr [data-plyr=captions],.plyr [data-plyr=fullscreen],.plyr [data-plyr=pip]{display:none}.plyr--airplay-supported [data-plyr=airplay],.plyr--captions-enabled [data-plyr=captions],.plyr--fullscreen-enabled [data-plyr=fullscreen],.plyr--pip-supported [data-plyr=pip]{display:inline-block}.plyr__video-embed{height:0;padding-bottom:56.25%;position:relative}.plyr__video-embed iframe{border:0;height:100%;left:0;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.plyr--full-ui .plyr__video-embed>.plyr__video-embed__container{padding-bottom:240%;position:relative;-webkit-transform:translateY(-38.28125%);transform:translateY(-38.28125%)}.plyr__menu{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.plyr__menu .plyr__control svg{-webkit-transition:-webkit-transform .3s ease;transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease}.plyr__menu .plyr__control[aria-expanded=true] svg{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.plyr__menu .plyr__control[aria-expanded=true] .plyr__tooltip{display:none}.plyr__menu__container{-webkit-animation:plyr-popup .2s ease;animation:plyr-popup .2s ease;background:hsla(0,0%,100%,.9);border-radius:4px;bottom:100%;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:0 1px 2px rgba(0,0,0,.15);color:#4f5b5f;font-size:16px;margin-bottom:10px;position:absolute;right:-3px;text-align:left;white-space:nowrap;z-index:3}.plyr__menu__container>div{overflow:hidden;-webkit-transition:height .35s cubic-bezier(.4,0,.2,1),width .35s cubic-bezier(.4,0,.2,1);transition:height .35s cubic-bezier(.4,0,.2,1),width .35s cubic-bezier(.4,0,.2,1)}.plyr__menu__container:after{border:4px solid transparent;border-top-color:hsla(0,0%,100%,.9);content:"";height:0;position:absolute;right:15px;top:100%;width:0}.plyr__menu__container [role=menu]{padding:7px}.plyr__menu__container [role=menuitem],.plyr__menu__container [role=menuitemradio]{margin-top:2px}.plyr__menu__container [role=menuitem]:first-child,.plyr__menu__container [role=menuitemradio]:first-child{margin-top:0}.plyr__menu__container .plyr__control{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#4f5b5f;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:14px;padding:4px 11px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.plyr__menu__container .plyr__control>span{-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.plyr__menu__container .plyr__control:after{border:4px solid transparent;content:"";position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.plyr__menu__container .plyr__control--forward{padding-right:28px}.plyr__menu__container .plyr__control--forward:after{border-left-color:rgba(79,91,95,.8);right:5px}.plyr__menu__container .plyr__control--forward.plyr__tab-focus:after,.plyr__menu__container .plyr__control--forward:hover:after{border-left-color:currentColor}.plyr__menu__container .plyr__control--back{font-weight:500;margin:7px;margin-bottom:3px;padding-left:28px;position:relative;width:calc(100% - 14px)}.plyr__menu__container .plyr__control--back:after{border-right-color:rgba(79,91,95,.8);left:7px}.plyr__menu__container .plyr__control--back:before{background:#b7c5cd;-webkit-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;content:"";height:1px;left:0;margin-top:4px;overflow:hidden;position:absolute;right:0;top:100%}.plyr__menu__container .plyr__control--back.plyr__tab-focus:after,.plyr__menu__container .plyr__control--back:hover:after{border-right-color:currentColor}.plyr__menu__container .plyr__control[role=menuitemradio]{padding-left:7px}.plyr__menu__container .plyr__control[role=menuitemradio]:after,.plyr__menu__container .plyr__control[role=menuitemradio]:before{border-radius:100%}.plyr__menu__container .plyr__control[role=menuitemradio]:before{background:rgba(0,0,0,.1);content:"";display:block;-ms-flex-negative:0;flex-shrink:0;height:16px;margin-right:10px;-webkit-transition:all .3s ease;transition:all .3s ease;width:16px}.plyr__menu__container .plyr__control[role=menuitemradio]:after{background:#fff;border:0;height:6px;left:12px;opacity:0;top:50%;-webkit-transform:translateY(-50%) scale(0);transform:translateY(-50%) scale(0);-webkit-transition:opacity .3s ease,-webkit-transform .3s ease;transition:opacity .3s ease,-webkit-transform .3s ease;transition:transform .3s ease,opacity .3s ease;transition:transform .3s ease,opacity .3s ease,-webkit-transform .3s ease;width:6px}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:before{background:#1aafff}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:after{opacity:1;-webkit-transform:translateY(-50%) scale(1);transform:translateY(-50%) scale(1)}.plyr__menu__container .plyr__control[role=menuitemradio].plyr__tab-focus:before,.plyr__menu__container .plyr__control[role=menuitemradio]:hover:before{background:rgba(0,0,0,.1)}.plyr__menu__container .plyr__menu__value{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:auto;margin-right:-5px;overflow:hidden;padding-left:25px;pointer-events:none}.plyr--full-ui input[type=range]{-webkit-appearance:none;background:transparent;border:0;border-radius:26px;color:#1aafff;display:block;height:19px;margin:0;padding:0;-webkit-transition:-webkit-box-shadow .3s ease;transition:-webkit-box-shadow .3s ease;transition:box-shadow .3s ease;transition:box-shadow .3s ease,-webkit-box-shadow .3s ease;width:100%}.plyr--full-ui input[type=range]::-webkit-slider-runnable-track{background:transparent;border:0;border-radius:2.5px;height:5px;-webkit-transition:-webkit-box-shadow .3s ease;transition:-webkit-box-shadow .3s ease;transition:box-shadow .3s ease;transition:box-shadow .3s ease,-webkit-box-shadow .3s ease;-webkit-user-select:none;user-select:none;background-image:-webkit-gradient(linear,left top,right top,from(currentColor),to(transparent));background-image:linear-gradient(90deg,currentColor var(--value,0),transparent var(--value,0))}.plyr--full-ui input[type=range]::-webkit-slider-thumb{background:#fff;border:0;border-radius:100%;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2);box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2);height:13px;position:relative;-webkit-transition:all .2s ease;transition:all .2s ease;width:13px;-webkit-appearance:none;margin-top:-4px}.plyr--full-ui input[type=range]::-moz-range-track{background:transparent;border:0;border-radius:2.5px;height:5px;-webkit-transition:-webkit-box-shadow .3s ease;transition:-webkit-box-shadow .3s ease;transition:box-shadow .3s ease;transition:box-shadow .3s ease,-webkit-box-shadow .3s ease;-moz-user-select:none;user-select:none}.plyr--full-ui input[type=range]::-moz-range-thumb{background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2);height:13px;position:relative;-webkit-transition:all .2s ease;transition:all .2s ease;width:13px}.plyr--full-ui input[type=range]::-moz-range-progress{background:currentColor;border-radius:2.5px;height:5px}.plyr--full-ui input[type=range]::-ms-track{color:transparent}.plyr--full-ui input[type=range]::-ms-fill-upper,.plyr--full-ui input[type=range]::-ms-track{background:transparent;border:0;border-radius:2.5px;height:5px;-webkit-transition:-webkit-box-shadow .3s ease;transition:-webkit-box-shadow .3s ease;transition:box-shadow .3s ease;transition:box-shadow .3s ease,-webkit-box-shadow .3s ease;-ms-user-select:none;user-select:none}.plyr--full-ui input[type=range]::-ms-fill-lower{background:transparent;border:0;border-radius:2.5px;height:5px;-webkit-transition:-webkit-box-shadow .3s ease;transition:-webkit-box-shadow .3s ease;transition:box-shadow .3s ease;transition:box-shadow .3s ease,-webkit-box-shadow .3s ease;-ms-user-select:none;user-select:none;background:currentColor}.plyr--full-ui input[type=range]::-ms-thumb{background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2);height:13px;position:relative;-webkit-transition:all .2s ease;transition:all .2s ease;width:13px;margin-top:0}.plyr--full-ui input[type=range]::-ms-tooltip{display:none}.plyr--full-ui input[type=range]:focus{outline:0}.plyr--full-ui input[type=range]::-moz-focus-outer{border:0}.plyr--full-ui input[type=range].plyr__tab-focus::-webkit-slider-runnable-track{-webkit-box-shadow:0 0 0 5px rgba(26,175,255,.5);box-shadow:0 0 0 5px rgba(26,175,255,.5);outline:0}.plyr--full-ui input[type=range].plyr__tab-focus::-moz-range-track{box-shadow:0 0 0 5px rgba(26,175,255,.5);outline:0}.plyr--full-ui input[type=range].plyr__tab-focus::-ms-track{box-shadow:0 0 0 5px rgba(26,175,255,.5);outline:0}.plyr--full-ui.plyr--video input[type=range]::-webkit-slider-runnable-track{background-color:hsla(0,0%,100%,.25)}.plyr--full-ui.plyr--video input[type=range]::-moz-range-track{background-color:hsla(0,0%,100%,.25)}.plyr--full-ui.plyr--video input[type=range]::-ms-track{background-color:hsla(0,0%,100%,.25)}.plyr--full-ui.plyr--video input[type=range]:active::-webkit-slider-thumb{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px hsla(0,0%,100%,.5);box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px hsla(0,0%,100%,.5)}.plyr--full-ui.plyr--video input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px hsla(0,0%,100%,.5)}.plyr--full-ui.plyr--video input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px hsla(0,0%,100%,.5)}.plyr--full-ui.plyr--audio input[type=range]::-webkit-slider-runnable-track{background-color:rgba(183,197,205,.66)}.plyr--full-ui.plyr--audio input[type=range]::-moz-range-track{background-color:rgba(183,197,205,.66)}.plyr--full-ui.plyr--audio input[type=range]::-ms-track{background-color:rgba(183,197,205,.66)}.plyr--full-ui.plyr--audio input[type=range]:active::-webkit-slider-thumb{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px rgba(0,0,0,.1);box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px rgba(0,0,0,.1)}.plyr--full-ui.plyr--audio input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px rgba(0,0,0,.1)}.plyr--full-ui.plyr--audio input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(0,0,0,.15),0 0 0 1px rgba(47,52,61,.2),0 0 0 3px rgba(0,0,0,.1)}.plyr__poster{background-color:#000;background-position:50% 50%;background-repeat:no-repeat;background-size:contain;height:100%;left:0;opacity:0;position:absolute;top:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;width:100%;z-index:1}.plyr--stopped.plyr__poster-enabled .plyr__poster{opacity:1}.plyr__time{font-size:14px}.plyr__time+.plyr__time:before{content:"\2044";margin-right:10px}@media (max-width:767px){.plyr__time+.plyr__time{display:none}}.plyr--video .plyr__time{text-shadow:0 1px 1px rgba(0,0,0,.15)}.plyr__tooltip{background:hsla(0,0%,100%,.9);border-radius:3px;bottom:100%;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:0 1px 2px rgba(0,0,0,.15);color:#4f5b5f;font-size:14px;font-weight:500;left:50%;line-height:1.3;margin-bottom:10px;opacity:0;padding:5px 7.5px;pointer-events:none;position:absolute;-webkit-transform:translate(-50%,10px) scale(.8);transform:translate(-50%,10px) scale(.8);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;-webkit-transition:opacity .2s ease .1s,-webkit-transform .2s ease .1s;transition:opacity .2s ease .1s,-webkit-transform .2s ease .1s;transition:transform .2s ease .1s,opacity .2s ease .1s;transition:transform .2s ease .1s,opacity .2s ease .1s,-webkit-transform .2s ease .1s;white-space:nowrap;z-index:2}.plyr__tooltip:before{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid hsla(0,0%,100%,.9);bottom:-4px;content:"";height:0;left:50%;position:absolute;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:0;z-index:2}.plyr .plyr__control.plyr__tab-focus .plyr__tooltip,.plyr .plyr__control:hover .plyr__tooltip,.plyr__tooltip--visible{opacity:1;-webkit-transform:translate(-50%) scale(1);transform:translate(-50%) scale(1)}.plyr .plyr__control:hover .plyr__tooltip{z-index:3}.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip,.plyr__controls>.plyr__control:first-child .plyr__tooltip{left:0;-webkit-transform:translateY(10px) scale(.8);transform:translateY(10px) scale(.8);-webkit-transform-origin:0 100%;transform-origin:0 100%}.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip:before,.plyr__controls>.plyr__control:first-child .plyr__tooltip:before{left:16px}.plyr__controls>.plyr__control:last-child .plyr__tooltip{left:auto;right:0;-webkit-transform:translateY(10px) scale(.8);transform:translateY(10px) scale(.8);-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.plyr__controls>.plyr__control:last-child .plyr__tooltip:before{left:auto;right:16px;-webkit-transform:translateX(50%);transform:translateX(50%)}.plyr__controls>.plyr__control:first-child+.plyr__control.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control:hover .plyr__tooltip,.plyr__controls>.plyr__control:first-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child:hover .plyr__tooltip,.plyr__controls>.plyr__control:last-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:last-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:last-child:hover .plyr__tooltip{-webkit-transform:translate(0) scale(1);transform:translate(0) scale(1)}.plyr--video{background:#000;overflow:hidden}.plyr--video.plyr--menu-open{overflow:visible}.plyr__video-wrapper{background:#000;border-radius:inherit;overflow:hidden;position:relative;z-index:0}.plyr__progress{-webkit-box-flex:1;-ms-flex:1;flex:1;left:6.5px;margin-right:13px;position:relative}.plyr__progress__buffer,.plyr__progress input[type=range]{margin-left:-6.5px;margin-right:-6.5px;width:calc(100% + 13px)}.plyr__progress input[type=range]{position:relative;z-index:2}.plyr__progress .plyr__tooltip{font-size:14px;left:0}.plyr__progress__buffer{-webkit-appearance:none;background:transparent;border:0;border-radius:100px;height:5px;left:0;margin-top:-2.5px;padding:0;position:absolute;top:50%}.plyr__progress__buffer::-webkit-progress-bar{background:transparent}.plyr__progress__buffer::-webkit-progress-value{background:currentColor;border-radius:100px;min-width:5px;-webkit-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-moz-progress-bar{background:currentColor;border-radius:100px;min-width:5px;-webkit-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-ms-fill{border-radius:100px;-webkit-transition:width .2s ease;transition:width .2s ease}.plyr--video .plyr__progress__buffer{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15);box-shadow:0 1px 1px rgba(0,0,0,.15);color:hsla(0,0%,100%,.25)}.plyr--audio .plyr__progress__buffer{color:rgba(183,197,205,.66)}.plyr--loading .plyr__progress__buffer{-webkit-animation:plyr-progress 1s linear infinite;animation:plyr-progress 1s linear infinite;background-image:linear-gradient(-45deg,rgba(47,52,61,.6) 25%,transparent 0,transparent 50%,rgba(47,52,61,.6) 0,rgba(47,52,61,.6) 75%,transparent 0,transparent);background-repeat:repeat-x;background-size:25px 25px;color:transparent}.plyr--video.plyr--loading .plyr__progress__buffer{background-color:hsla(0,0%,100%,.25)}.plyr--audio.plyr--loading .plyr__progress__buffer{background-color:rgba(183,197,205,.66)}.plyr__volume{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.plyr__volume input[type=range]{margin-left:5px;position:relative;z-index:2}@media (min-width:480px){.plyr__volume{max-width:90px}}@media (min-width:768px){.plyr__volume{max-width:110px}}.plyr--is-ios.plyr--vimeo [data-plyr=mute],.plyr--is-ios .plyr__volume{display:none!important}.plyr:fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:fullscreen video{height:100%}.plyr:fullscreen .plyr__video-wrapper{height:100%;width:100%}.plyr:fullscreen.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.plyr:fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:21px}.plyr:-ms-fullscreen .plyr__captions{font-size:21px}.plyr:fullscreen .plyr__captions{font-size:21px}}.plyr:-webkit-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-webkit-full-screen video{height:100%}.plyr:-webkit-full-screen .plyr__video-wrapper{height:100%;width:100%}.plyr:-webkit-full-screen.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-webkit-full-screen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:21px}}.plyr:-moz-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-moz-full-screen video{height:100%}.plyr:-moz-full-screen .plyr__video-wrapper{height:100%;width:100%}.plyr:-moz-full-screen.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;transform:translateY(-50%)}.plyr:-moz-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-moz-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-moz-full-screen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-moz-full-screen .plyr__captions{font-size:21px}}.plyr:-ms-fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-ms-fullscreen video{height:100%}.plyr:-ms-fullscreen .plyr__video-wrapper{height:100%;width:100%}.plyr:-ms-fullscreen.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;transform:translateY(-50%)}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-ms-fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-ms-fullscreen .plyr__captions{font-size:21px}}.plyr--fullscreen-fallback{background:#000;border-radius:0!important;height:100%;margin:0;width:100%;bottom:0;left:0;position:fixed;right:0;top:0;z-index:10000000}.plyr--fullscreen-fallback video{height:100%}.plyr--fullscreen-fallback .plyr__video-wrapper{height:100%;width:100%}.plyr--fullscreen-fallback.plyr--vimeo .plyr__video-wrapper{height:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen{display:block}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr--fullscreen-fallback.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr--fullscreen-fallback .plyr__captions{font-size:21px}}.plyr__ads{border-radius:inherit;bottom:0;cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:-1}.plyr__ads>div,.plyr__ads>div iframe{height:100%;position:absolute;width:100%}.plyr__ads:after{background:rgba(47,52,61,.8);border-radius:2px;bottom:10px;color:#fff;content:attr(data-badge-text);font-size:11px;padding:2px 6px;pointer-events:none;position:absolute;right:10px;z-index:3}.plyr__ads:after:empty{display:none}.plyr__cues{background:currentColor;display:block;height:5px;left:0;margin:-2.5px 0 0;opacity:.8;position:absolute;top:50%;width:3px;z-index:3}.plyr__preview-thumb{background-color:hsla(0,0%,100%,.9);border-radius:3px;bottom:100%;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:0 1px 2px rgba(0,0,0,.15);margin-bottom:10px;opacity:0;padding:3px;pointer-events:none;position:absolute;-webkit-transform:translateY(10px) scale(.8);transform:translateY(10px) scale(.8);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;-webkit-transition:opacity .2s ease .1s,-webkit-transform .2s ease .1s;transition:opacity .2s ease .1s,-webkit-transform .2s ease .1s;transition:transform .2s ease .1s,opacity .2s ease .1s;transition:transform .2s ease .1s,opacity .2s ease .1s,-webkit-transform .2s ease .1s;z-index:2}.plyr__preview-thumb--is-shown{opacity:1;-webkit-transform:translate(0) scale(1);transform:translate(0) scale(1)}.plyr__preview-thumb:before{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid hsla(0,0%,100%,.9);bottom:-4px;content:"";height:0;left:50%;position:absolute;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:0;z-index:2}.plyr__preview-thumb__image-container{background:#b7c5cd;border-radius:2px;overflow:hidden;position:relative;z-index:0}.plyr__preview-thumb__image-container img{height:100%;left:0;max-height:none;max-width:none;position:absolute;top:0;width:100%}.plyr__preview-thumb__time-container{bottom:6px;left:0;position:absolute;right:0;white-space:nowrap;z-index:3}.plyr__preview-thumb__time-container span{background-color:rgba(0,0,0,.55);border-radius:2px;color:#fff;font-size:14px;padding:3px 6px}.plyr__preview-scrubbing{bottom:0;-webkit-filter:blur(1px);filter:blur(1px);height:100%;left:0;margin:auto;opacity:0;overflow:hidden;position:absolute;right:0;top:0;-webkit-transition:opacity .3s ease;transition:opacity .3s ease;width:100%;z-index:1}.plyr__preview-scrubbing--is-shown{opacity:1}.plyr__preview-scrubbing img{height:100%;left:0;max-height:none;max-width:none;-o-object-fit:contain;object-fit:contain;position:absolute;top:0;width:100%}.plyr--no-transition{-webkit-transition:none!important;transition:none!important}.plyr__sr-only{clip:rect(1px,1px,1px,1px);overflow:hidden;border:0!important;height:1px!important;padding:0!important;position:absolute!important;width:1px!important}.plyr [hidden]{display:none!important}.fm{position:relative;height:100%;padding:1rem 1rem 0;background-color:#fff}.fm:-webkit-full-screen{background-color:#fff}.fm:-ms-fullscreen{background-color:#fff}.fm:fullscreen{background-color:#fff}.fm .fm-body{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;margin-right:-15px;margin-left:-15px;position:relative;padding-top:1rem;padding-bottom:1rem;border-top:1px solid #6d757d;border-bottom:1px solid #6d757d}.fm .unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fm-error{color:#fff;background-color:#dc3545;border-color:#dc3545}.fm-danger{color:#dc3545;background-color:#fff;border-color:#dc3545}.fm-warning{color:#ffc107;background-color:#fff;border-color:#ffc107}.fm-success{color:#28a745;border-color:#28a745}.fm-info,.fm-success{background-color:#fff}.fm-info{color:#17a2b8;border-color:#17a2b8}.fm.fm-full-screen{width:100%;height:100%;padding-bottom:0} \ No newline at end of file diff --git a/resources/assets/js/file-manager.js b/resources/assets/js/file-manager.js index a8c2d57..0aa07bc 100644 --- a/resources/assets/js/file-manager.js +++ b/resources/assets/js/file-manager.js @@ -5,19 +5,19 @@ * @author Feross Aboukhadijeh * @license MIT */ -e.exports=function(e){return null!=e&&(n(e)||i(e)||!!e._isBuffer)}},"049f":function(e,t,n){var i=n("5ca1");i(i.S,"Math",{log1p:n("d6c6")})},"04ff":function(e,t,n){var i=n("5ca1"),r=n("3ca5");i(i.S+i.F*(Number.parseInt!=r),"Number",{parseInt:r})},"0609":function(e,t,n){},"097d":function(e,t,n){"use strict";var i=n("5ca1"),r=n("8378"),a=n("7726"),o=n("ebd6"),s=n("bcaa");i(i.P+i.R,"Promise",{finally:function(e){var t=o(this,r.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},"09fa":function(e,t,n){var i=n("4588"),r=n("9def");e.exports=function(e){if(void 0===e)return 0;var t=i(e),n=r(t);if(t!==n)throw RangeError("Wrong length!");return n}},"0a06":function(e,t,n){"use strict";var i=n("2444"),r=n("c532"),a=n("f6b4"),o=n("5270");function s(e){this.defaults=e,this.interceptors={request:new a,response:new a}}s.prototype.request=function(e){"string"===typeof e&&(e=r.merge({url:arguments[0]},arguments[1])),e=r.merge(i,{method:"get"},this.defaults,e),e.method=e.method.toLowerCase();var t=[o,void 0],n=Promise.resolve(e);this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});while(t.length)n=n.then(t.shift(),t.shift());return n},r.forEach(["delete","get","head","options"],function(e){s.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}}),r.forEach(["post","put","patch"],function(e){s.prototype[e]=function(t,n,i){return this.request(r.merge(i||{},{method:e,url:t,data:n}))}}),e.exports=s},"0a49":function(e,t,n){var i=n("9b43"),r=n("626a"),a=n("4bf8"),o=n("9def"),s=n("cd1c");e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,d=6==e,f=5==e||d,p=t||s;return function(t,s,h){for(var m,g,v=a(t),y=r(v),b=i(s,h,3),w=o(y.length),x=0,k=n?p(t,w):l?p(t,0):void 0;w>x;x++)if((f||x in y)&&(m=y[x],g=b(m,x,v),e))if(n)k[x]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:k.push(m)}else if(u)return!1;return d?-1:c||u?u:k}}},"0b21":function(e,t,n){var i=n("5ca1");i(i.S,"Math",{sign:n("96fb")})},"0bb3":function(e,t,n){},"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"),r=n("e11e");e.exports=Object.keys||function(e){return i(e,r)}},"0d6d":function(e,t,n){var i=n("d3f4"),r=n("67ab").onFreeze;n("5eda")("freeze",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0f88":function(e,t,n){var i,r=n("7726"),a=n("32e9"),o=n("ca5a"),s=o("typed_array"),l=o("view"),c=!(!r.ArrayBuffer||!r.DataView),u=c,d=0,f=9,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(d0?arguments[0]:void 0)}},y={get:function(e){if(c(e)){var t=p(e);return!0===t?m(d(this,f)).get(e):t?t[this._i]:void 0}},set:function(e,t){return l.def(d(this,f),e,t)}},b=e.exports=n("e0b8")(f,v,y,l,!0,!0);u(function(){return 7!=(new b).set((Object.freeze||Object)(g),7).get(g)})&&(i=l.getConstructor(v,f),s(i.prototype,y),o.NEED=!0,r(["delete","has","get","set"],function(e){var t=b.prototype,n=t[e];a(t,e,function(t,r){if(c(t)&&!h(t)){this._f||(this._f=new i);var a=this._f[e](t,r);return"set"==e?this:a}return n.call(this,t,r)})}))},1169:function(e,t,n){var i=n("2d95");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"11e9":function(e,t,n){var i=n("52a7"),r=n("4630"),a=n("6821"),o=n("6a99"),s=n("69a8"),l=n("c69a"),c=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?c:function(e,t){if(e=a(e),t=o(t,!0),l)try{return c(e,t)}catch(n){}if(s(e,t))return r(!i.f.call(e,t),e[t])}},"130f":function(e,t,n){var i=n("5ca1"),r=n("1991");i(i.G+i.B,{setImmediate:r.set,clearImmediate:r.clear})},"13b4":function(e,t,n){},1448:function(e,t,n){"use strict";n("386b")("strike",function(e){return function(){return e(this,"strike","","")}})},1495:function(e,t,n){var i=n("86cc"),r=n("cb7c"),a=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){r(e);var n,o=a(t),s=o.length,l=0;while(s>l)i.f(e,n=o[l++],t[n]);return e}},"14b9":function(e,t,n){var i=n("5ca1");i(i.P,"String",{repeat:n("9744")})},"15ac":function(e,t,n){n("ec30")("Int16",2,function(e){return function(t,n,i){return e(this,t,n,i)}})},"15fb":function(e,t,n){},"165b":function(e,t,n){var i=n("d3f4");n("5eda")("isExtensible",function(e){return function(t){return!!i(t)&&(!e||e(t))}})},1991:function(e,t,n){var i,r,a,o=n("9b43"),s=n("31f4"),l=n("fab2"),c=n("230e"),u=n("7726"),d=u.process,f=u.setImmediate,p=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,g=0,v={},y="onreadystatechange",b=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},w=function(e){b.call(e.data)};f&&p||(f=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},i(g),g},p=function(e){delete v[e]},"process"==n("2d95")(d)?i=function(e){d.nextTick(o(b,e,1))}:m&&m.now?i=function(e){m.now(o(b,e,1))}:h?(r=new h,a=r.port2,r.port1.onmessage=w,i=o(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(e){u.postMessage(e+"","*")},u.addEventListener("message",w,!1)):i=y in c("script")?function(e){l.appendChild(c("script"))[y]=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(o(b,e,1),0)}),e.exports={set:f,clear:p}},"19aa":function(e,t,n){"use strict";var i=n("0609"),r=n.n(i);r.a},"1b63":function(e,t,n){(function(e){e(n("56b3"),n("7b00"))})(function(e){"use strict";e.defineMode("sass",function(t){var n=e.mimeModes["text/css"],i=n.propertyKeywords||{},r=n.colorKeywords||{},a=n.valueKeywords||{},o=n.fontProperties||{};function s(e){return new RegExp("^"+e.join("|"))}var l,c=["true","false","null","auto"],u=new RegExp("^"+c.join("|")),d=["\\(","\\)","=",">","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"],f=s(d),p=/^::?[a-zA-Z_][\w\-]*/;function h(e){return!e.peek()||e.match(/\s+$/,!1)}function m(e,t){var n=e.peek();return")"===n?(e.next(),t.tokenizer=x,"operator"):"("===n?(e.next(),e.eatSpace(),"operator"):"'"===n||'"'===n?(t.tokenizer=v(e.next()),"string"):(t.tokenizer=v(")",!1),"string")}function g(e,t){return function(n,i){return n.sol()&&n.indentation()<=e?(i.tokenizer=x,x(n,i)):(t&&n.skipTo("*/")?(n.next(),n.next(),i.tokenizer=x):n.skipToEnd(),"comment")}}function v(e,t){function n(i,r){var a=i.next(),o=i.peek(),s=i.string.charAt(i.pos-2),l="\\"!==a&&o===e||a===e&&"\\"!==s;return l?(a!==e&&t&&i.next(),h(i)&&(r.cursorHalf=0),r.tokenizer=x,"string"):"#"===a&&"{"===o?(r.tokenizer=y(n),i.next(),"operator"):"string"}return null==t&&(t=!0),n}function y(e){return function(t,n){return"}"===t.peek()?(t.next(),n.tokenizer=e,"operator"):x(t,n)}}function b(e){if(0==e.indentCount){e.indentCount++;var n=e.scopes[0].offset,i=n+t.indentUnit;e.scopes.unshift({offset:i})}}function w(e){1!=e.scopes.length&&e.scopes.shift()}function x(e,t){var n=e.peek();if(e.match("/*"))return t.tokenizer=g(e.indentation(),!0),t.tokenizer(e,t);if(e.match("//"))return t.tokenizer=g(e.indentation(),!1),t.tokenizer(e,t);if(e.match("#{"))return t.tokenizer=y(x),"operator";if('"'===n||"'"===n)return e.next(),t.tokenizer=v(n),"string";if(t.cursorHalf){if("#"===n&&(e.next(),e.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/)))return h(e)&&(t.cursorHalf=0),"number";if(e.match(/^-?[0-9\.]+/))return h(e)&&(t.cursorHalf=0),"number";if(e.match(/^(px|em|in)\b/))return h(e)&&(t.cursorHalf=0),"unit";if(e.match(u))return h(e)&&(t.cursorHalf=0),"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=m,h(e)&&(t.cursorHalf=0),"atom";if("$"===n)return e.next(),e.eatWhile(/[\w-]/),h(e)&&(t.cursorHalf=0),"variable-2";if("!"===n)return e.next(),t.cursorHalf=0,e.match(/^[\w]+/)?"keyword":"operator";if(e.match(f))return h(e)&&(t.cursorHalf=0),"operator";if(e.eatWhile(/[\w-]/))return h(e)&&(t.cursorHalf=0),l=e.current().toLowerCase(),a.hasOwnProperty(l)?"atom":r.hasOwnProperty(l)?"keyword":i.hasOwnProperty(l)?(t.prevProp=e.current().toLowerCase(),"property"):"tag";if(h(e))return t.cursorHalf=0,null}else{if("-"===n&&e.match(/^-\w+-/))return"meta";if("."===n){if(e.next(),e.match(/^[\w-]+/))return b(t),"qualifier";if("#"===e.peek())return b(t),"tag"}if("#"===n){if(e.next(),e.match(/^[\w-]+/))return b(t),"builtin";if("#"===e.peek())return b(t),"tag"}if("$"===n)return e.next(),e.eatWhile(/[\w-]/),"variable-2";if(e.match(/^-?[0-9\.]+/))return"number";if(e.match(/^(px|em|in)\b/))return"unit";if(e.match(u))return"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=m,"atom";if("="===n&&e.match(/^=[\w-]+/))return b(t),"meta";if("+"===n&&e.match(/^\+[\w-]+/))return"variable-3";if("@"===n&&e.match(/@extend/)&&(e.match(/\s*[\w]/)||w(t)),e.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return b(t),"def";if("@"===n)return e.next(),e.eatWhile(/[\w-]/),"def";if(e.eatWhile(/[\w-]/)){if(e.match(/ *: *[\w-\+\$#!\("']/,!1)){l=e.current().toLowerCase();var s=t.prevProp+"-"+l;return i.hasOwnProperty(s)?"property":i.hasOwnProperty(l)?(t.prevProp=l,"property"):o.hasOwnProperty(l)?"property":"tag"}return e.match(/ *:/,!1)?(b(t),t.cursorHalf=1,t.prevProp=e.current().toLowerCase(),"property"):e.match(/ *,/,!1)?"tag":(b(t),"tag")}if(":"===n)return e.match(p)?"variable-3":(e.next(),t.cursorHalf=1,"operator")}return e.match(f)?"operator":(e.next(),null)}function k(e,n){e.sol()&&(n.indentCount=0);var i=n.tokenizer(e,n),r=e.current();if("@return"!==r&&"}"!==r||w(n),null!==i){for(var a=e.pos-r.length,o=a+t.indentUnit*n.indentCount,s=[],l=0;l1?arguments[1]:void 0,g=void 0!==m,v=0,y=u(f);if(g&&(m=i(m,h>2?arguments[2]:void 0,2)),void 0==y||p==Array&&s(y))for(t=l(f.length),n=new p(t);t>v;v++)c(n,v,g?m(f[v],v):f[v]);else for(d=y.call(f),n=new p;!(r=d.next()).done;v++)c(n,v,g?o(d,m,[r.value,v],!0):r.value);return n.length=v,n}})},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i1?arguments[1]:void 0)}}),n("9c6c")(a)},"214f":function(e,t,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),a=n("79e5"),o=n("be13"),s=n("2b4c"),l=n("520a"),c=s("species"),u=!a(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var f=s(e),p=!a(function(){var t={};return t[f]=function(){return 7},7!=""[e](t)}),h=p?!a(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!t}):void 0;if(!p||!h||"replace"===e&&!u||"split"===e&&!d){var m=/./[f],g=n(o,f,""[e],function(e,t,n,i,r){return t.exec===l?p&&!r?{done:!0,value:m.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),v=g[0],y=g[1];i(String.prototype,e,v),r(RegExp.prototype,f,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}}},"217b":function(e,t,n){"use strict";var i=n("d3f4"),r=n("38fd"),a=n("2b4c")("hasInstance"),o=Function.prototype;a in o||n("86cc").f(o,a,{value:function(e){if("function"!=typeof this||!i(e))return!1;if(!i(this.prototype))return e instanceof this;while(e=r(e))if(this.prototype===e)return!0;return!1}})},2251:function(e,t,n){var i=n("5ca1"),r=n("cb7c"),a=Object.isExtensible;i(i.S,"Reflect",{isExtensible:function(e){return r(e),!a||a(e)}})},"230e":function(e,t,n){var i=n("d3f4"),r=n("7726").document,a=i(r)&&i(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},2397:function(e,t,n){var i=n("5ca1"),r=n("2aeb"),a=n("d8e8"),o=n("cb7c"),s=n("d3f4"),l=n("79e5"),c=n("f0c1"),u=(n("7726").Reflect||{}).construct,d=l(function(){function e(){}return!(u(function(){},[],e)instanceof e)}),f=!l(function(){u(function(){})});i(i.S+i.F*(d||f),"Reflect",{construct:function(e,t){a(e),o(t);var n=arguments.length<3?e:a(arguments[2]);if(f&&!d)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var i=[null];return i.push.apply(i,t),new(c.apply(e,i))}var l=n.prototype,p=r(s(l)?l:Object.prototype),h=Function.apply.call(e,p,t);return s(h)?h:p}})},"23c6":function(e,t,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),a="Arguments"==i(function(){return arguments}()),o=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=o(t=Object(e),r))?n:a?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},"242a":function(e,t,n){"use strict";n("386b")("sup",function(e){return function(){return e(this,"sup","","")}})},2444:function(e,t,n){"use strict";(function(t){var i=n("c532"),r=n("c8af"),a={"Content-Type":"application/x-www-form-urlencoded"};function o(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function s(){var e;return"undefined"!==typeof XMLHttpRequest?e=n("b50d"):"undefined"!==typeof t&&(e=n("b50d")),e}var l={adapter:s(),transformRequest:[function(e,t){return r(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(o(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(o(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],function(e){l.headers[e]={}}),i.forEach(["post","put","patch"],function(e){l.headers[e]=i.merge(a)}),e.exports=l}).call(this,n("4362"))},"25c9":function(e,t,n){var i=n("5ca1"),r=Math.exp;i(i.S,"Math",{cosh:function(e){return(r(e=+e)+r(-e))/2}})},"25db":function(e,t,n){n("5eda")("getOwnPropertyNames",function(){return n("7bbc").f})},2621:function(e,t){t.f=Object.getOwnPropertySymbols},2729:function(e,t,n){"use strict";var i=n("2a71"),r=n.n(i);r.a},"27ee":function(e,t,n){var i=n("23c6"),r=n("2b4c")("iterator"),a=n("84f2");e.exports=n("8378").getIteratorMethod=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||a[i(e)]}},"28a5":function(e,t,n){"use strict";var i=n("aae3"),r=n("cb7c"),a=n("ebd6"),o=n("0390"),s=n("9def"),l=n("5f1b"),c=n("520a"),u=n("79e5"),d=Math.min,f=[].push,p="split",h="length",m="lastIndex",g=4294967295,v=!u(function(){RegExp(g,"y")});n("214f")("split",2,function(e,t,n,u){var y;return y="c"=="abbc"[p](/(b)*/)[1]||4!="test"[p](/(?:)/,-1)[h]||2!="ab"[p](/(?:ab)*/)[h]||4!="."[p](/(.?)(.?)/)[h]||"."[p](/()()/)[h]>1||""[p](/.?/)[h]?function(e,t){var r=String(this);if(void 0===e&&0===t)return[];if(!i(e))return n.call(r,e,t);var a,o,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,p=void 0===t?g:t>>>0,v=new RegExp(e.source,u+"g");while(a=c.call(v,r)){if(o=v[m],o>d&&(l.push(r.slice(d,a.index)),a[h]>1&&a.index=p))break;v[m]===a.index&&v[m]++}return d===r[h]?!s&&v.test("")||l.push(""):l.push(r.slice(d)),l[h]>p?l.slice(0,p):l}:"0"[p](void 0,0)[h]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,i){var r=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,r,i):y.call(String(r),n,i)},function(e,t){var i=u(y,e,this,t,y!==n);if(i.done)return i.value;var c=r(e),f=String(this),p=a(c,RegExp),h=c.unicode,m=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(v?"y":"g"),b=new p(v?c:"^(?:"+c.source+")",m),w=void 0===t?g:t>>>0;if(0===w)return[];if(0===f.length)return null===l(b,f)?[f]:[];var x=0,k=0,_=[];while(k";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"script"+o+"document.F=Object"+r+"/script"+o),e.close(),c=e.F;while(i--)delete c[l][a[i]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=i(e),n=new s,s[l]=null,n[o]=e):n=c(),void 0===t?n:r(n,t)}},"2b0e":function(e,t,n){"use strict";(function(e){ +e.exports=function(e){return null!=e&&(n(e)||i(e)||!!e._isBuffer)}},"049f":function(e,t,n){var i=n("5ca1");i(i.S,"Math",{log1p:n("d6c6")})},"04ff":function(e,t,n){var i=n("5ca1"),r=n("3ca5");i(i.S+i.F*(Number.parseInt!=r),"Number",{parseInt:r})},"0609":function(e,t,n){},"097d":function(e,t,n){"use strict";var i=n("5ca1"),r=n("8378"),a=n("7726"),o=n("ebd6"),s=n("bcaa");i(i.P+i.R,"Promise",{finally:function(e){var t=o(this,r.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},"09fa":function(e,t,n){var i=n("4588"),r=n("9def");e.exports=function(e){if(void 0===e)return 0;var t=i(e),n=r(t);if(t!==n)throw RangeError("Wrong length!");return n}},"0a06":function(e,t,n){"use strict";var i=n("2444"),r=n("c532"),a=n("f6b4"),o=n("5270");function s(e){this.defaults=e,this.interceptors={request:new a,response:new a}}s.prototype.request=function(e){"string"===typeof e&&(e=r.merge({url:arguments[0]},arguments[1])),e=r.merge(i,{method:"get"},this.defaults,e),e.method=e.method.toLowerCase();var t=[o,void 0],n=Promise.resolve(e);this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});while(t.length)n=n.then(t.shift(),t.shift());return n},r.forEach(["delete","get","head","options"],function(e){s.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}}),r.forEach(["post","put","patch"],function(e){s.prototype[e]=function(t,n,i){return this.request(r.merge(i||{},{method:e,url:t,data:n}))}}),e.exports=s},"0a49":function(e,t,n){var i=n("9b43"),r=n("626a"),a=n("4bf8"),o=n("9def"),s=n("cd1c");e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,d=6==e,f=5==e||d,p=t||s;return function(t,s,h){for(var m,g,v=a(t),y=r(v),b=i(s,h,3),w=o(y.length),x=0,k=n?p(t,w):l?p(t,0):void 0;w>x;x++)if((f||x in y)&&(m=y[x],g=b(m,x,v),e))if(n)k[x]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:k.push(m)}else if(u)return!1;return d?-1:c||u?u:k}}},"0b21":function(e,t,n){var i=n("5ca1");i(i.S,"Math",{sign:n("96fb")})},"0bb3":function(e,t,n){},"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"),r=n("e11e");e.exports=Object.keys||function(e){return i(e,r)}},"0d6d":function(e,t,n){var i=n("d3f4"),r=n("67ab").onFreeze;n("5eda")("freeze",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0f88":function(e,t,n){var i,r=n("7726"),a=n("32e9"),o=n("ca5a"),s=o("typed_array"),l=o("view"),c=!(!r.ArrayBuffer||!r.DataView),u=c,d=0,f=9,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(d0?arguments[0]:void 0)}},b={get:function(e){if(u(e)){var t=m(e);return!0===t?v(d(this,h)).get(e):t?t[this._i]:void 0}},set:function(e,t){return c.def(d(this,h),e,t)}},w=e.exports=n("e0b8")(h,y,b,c,!0,!0);f&&p&&(i=c.getConstructor(y,h),l(i.prototype,b),s.NEED=!0,a(["delete","has","get","set"],function(e){var t=w.prototype,n=t[e];o(t,e,function(t,r){if(u(t)&&!g(t)){this._f||(this._f=new i);var a=this._f[e](t,r);return"set"==e?this:a}return n.call(this,t,r)})}))},1169:function(e,t,n){var i=n("2d95");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"11e9":function(e,t,n){var i=n("52a7"),r=n("4630"),a=n("6821"),o=n("6a99"),s=n("69a8"),l=n("c69a"),c=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?c:function(e,t){if(e=a(e),t=o(t,!0),l)try{return c(e,t)}catch(n){}if(s(e,t))return r(!i.f.call(e,t),e[t])}},"130f":function(e,t,n){var i=n("5ca1"),r=n("1991");i(i.G+i.B,{setImmediate:r.set,clearImmediate:r.clear})},"13b4":function(e,t,n){},1448:function(e,t,n){"use strict";n("386b")("strike",function(e){return function(){return e(this,"strike","","")}})},1495:function(e,t,n){var i=n("86cc"),r=n("cb7c"),a=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){r(e);var n,o=a(t),s=o.length,l=0;while(s>l)i.f(e,n=o[l++],t[n]);return e}},"14b9":function(e,t,n){var i=n("5ca1");i(i.P,"String",{repeat:n("9744")})},"15ac":function(e,t,n){n("ec30")("Int16",2,function(e){return function(t,n,i){return e(this,t,n,i)}})},"15fb":function(e,t,n){},"165b":function(e,t,n){var i=n("d3f4");n("5eda")("isExtensible",function(e){return function(t){return!!i(t)&&(!e||e(t))}})},1991:function(e,t,n){var i,r,a,o=n("9b43"),s=n("31f4"),l=n("fab2"),c=n("230e"),u=n("7726"),d=u.process,f=u.setImmediate,p=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,g=0,v={},y="onreadystatechange",b=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},w=function(e){b.call(e.data)};f&&p||(f=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},i(g),g},p=function(e){delete v[e]},"process"==n("2d95")(d)?i=function(e){d.nextTick(o(b,e,1))}:m&&m.now?i=function(e){m.now(o(b,e,1))}:h?(r=new h,a=r.port2,r.port1.onmessage=w,i=o(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(e){u.postMessage(e+"","*")},u.addEventListener("message",w,!1)):i=y in c("script")?function(e){l.appendChild(c("script"))[y]=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(o(b,e,1),0)}),e.exports={set:f,clear:p}},"19aa":function(e,t,n){"use strict";var i=n("0609"),r=n.n(i);r.a},"1b63":function(e,t,n){(function(e){e(n("56b3"),n("7b00"))})(function(e){"use strict";e.defineMode("sass",function(t){var n=e.mimeModes["text/css"],i=n.propertyKeywords||{},r=n.colorKeywords||{},a=n.valueKeywords||{},o=n.fontProperties||{};function s(e){return new RegExp("^"+e.join("|"))}var l,c=["true","false","null","auto"],u=new RegExp("^"+c.join("|")),d=["\\(","\\)","=",">","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"],f=s(d),p=/^::?[a-zA-Z_][\w\-]*/;function h(e){return!e.peek()||e.match(/\s+$/,!1)}function m(e,t){var n=e.peek();return")"===n?(e.next(),t.tokenizer=x,"operator"):"("===n?(e.next(),e.eatSpace(),"operator"):"'"===n||'"'===n?(t.tokenizer=v(e.next()),"string"):(t.tokenizer=v(")",!1),"string")}function g(e,t){return function(n,i){return n.sol()&&n.indentation()<=e?(i.tokenizer=x,x(n,i)):(t&&n.skipTo("*/")?(n.next(),n.next(),i.tokenizer=x):n.skipToEnd(),"comment")}}function v(e,t){function n(i,r){var a=i.next(),o=i.peek(),s=i.string.charAt(i.pos-2),l="\\"!==a&&o===e||a===e&&"\\"!==s;return l?(a!==e&&t&&i.next(),h(i)&&(r.cursorHalf=0),r.tokenizer=x,"string"):"#"===a&&"{"===o?(r.tokenizer=y(n),i.next(),"operator"):"string"}return null==t&&(t=!0),n}function y(e){return function(t,n){return"}"===t.peek()?(t.next(),n.tokenizer=e,"operator"):x(t,n)}}function b(e){if(0==e.indentCount){e.indentCount++;var n=e.scopes[0].offset,i=n+t.indentUnit;e.scopes.unshift({offset:i})}}function w(e){1!=e.scopes.length&&e.scopes.shift()}function x(e,t){var n=e.peek();if(e.match("/*"))return t.tokenizer=g(e.indentation(),!0),t.tokenizer(e,t);if(e.match("//"))return t.tokenizer=g(e.indentation(),!1),t.tokenizer(e,t);if(e.match("#{"))return t.tokenizer=y(x),"operator";if('"'===n||"'"===n)return e.next(),t.tokenizer=v(n),"string";if(t.cursorHalf){if("#"===n&&(e.next(),e.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/)))return h(e)&&(t.cursorHalf=0),"number";if(e.match(/^-?[0-9\.]+/))return h(e)&&(t.cursorHalf=0),"number";if(e.match(/^(px|em|in)\b/))return h(e)&&(t.cursorHalf=0),"unit";if(e.match(u))return h(e)&&(t.cursorHalf=0),"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=m,h(e)&&(t.cursorHalf=0),"atom";if("$"===n)return e.next(),e.eatWhile(/[\w-]/),h(e)&&(t.cursorHalf=0),"variable-2";if("!"===n)return e.next(),t.cursorHalf=0,e.match(/^[\w]+/)?"keyword":"operator";if(e.match(f))return h(e)&&(t.cursorHalf=0),"operator";if(e.eatWhile(/[\w-]/))return h(e)&&(t.cursorHalf=0),l=e.current().toLowerCase(),a.hasOwnProperty(l)?"atom":r.hasOwnProperty(l)?"keyword":i.hasOwnProperty(l)?(t.prevProp=e.current().toLowerCase(),"property"):"tag";if(h(e))return t.cursorHalf=0,null}else{if("-"===n&&e.match(/^-\w+-/))return"meta";if("."===n){if(e.next(),e.match(/^[\w-]+/))return b(t),"qualifier";if("#"===e.peek())return b(t),"tag"}if("#"===n){if(e.next(),e.match(/^[\w-]+/))return b(t),"builtin";if("#"===e.peek())return b(t),"tag"}if("$"===n)return e.next(),e.eatWhile(/[\w-]/),"variable-2";if(e.match(/^-?[0-9\.]+/))return"number";if(e.match(/^(px|em|in)\b/))return"unit";if(e.match(u))return"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=m,"atom";if("="===n&&e.match(/^=[\w-]+/))return b(t),"meta";if("+"===n&&e.match(/^\+[\w-]+/))return"variable-3";if("@"===n&&e.match(/@extend/)&&(e.match(/\s*[\w]/)||w(t)),e.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return b(t),"def";if("@"===n)return e.next(),e.eatWhile(/[\w-]/),"def";if(e.eatWhile(/[\w-]/)){if(e.match(/ *: *[\w-\+\$#!\("']/,!1)){l=e.current().toLowerCase();var s=t.prevProp+"-"+l;return i.hasOwnProperty(s)?"property":i.hasOwnProperty(l)?(t.prevProp=l,"property"):o.hasOwnProperty(l)?"property":"tag"}return e.match(/ *:/,!1)?(b(t),t.cursorHalf=1,t.prevProp=e.current().toLowerCase(),"property"):e.match(/ *,/,!1)?"tag":(b(t),"tag")}if(":"===n)return e.match(p)?"variable-3":(e.next(),t.cursorHalf=1,"operator")}return e.match(f)?"operator":(e.next(),null)}function k(e,n){e.sol()&&(n.indentCount=0);var i=n.tokenizer(e,n),r=e.current();if("@return"!==r&&"}"!==r||w(n),null!==i){for(var a=e.pos-r.length,o=a+t.indentUnit*n.indentCount,s=[],l=0;l1?arguments[1]:void 0,g=void 0!==m,v=0,y=u(f);if(g&&(m=i(m,h>2?arguments[2]:void 0,2)),void 0==y||p==Array&&s(y))for(t=l(f.length),n=new p(t);t>v;v++)c(n,v,g?m(f[v],v):f[v]);else for(d=y.call(f),n=new p;!(r=d.next()).done;v++)c(n,v,g?o(d,m,[r.value,v],!0):r.value);return n.length=v,n}})},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i1?arguments[1]:void 0)}}),n("9c6c")(a)},"214f":function(e,t,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),a=n("79e5"),o=n("be13"),s=n("2b4c"),l=n("520a"),c=s("species"),u=!a(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var f=s(e),p=!a(function(){var t={};return t[f]=function(){return 7},7!=""[e](t)}),h=p?!a(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!t}):void 0;if(!p||!h||"replace"===e&&!u||"split"===e&&!d){var m=/./[f],g=n(o,f,""[e],function(e,t,n,i,r){return t.exec===l?p&&!r?{done:!0,value:m.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),v=g[0],y=g[1];i(String.prototype,e,v),r(RegExp.prototype,f,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}}},"217b":function(e,t,n){"use strict";var i=n("d3f4"),r=n("38fd"),a=n("2b4c")("hasInstance"),o=Function.prototype;a in o||n("86cc").f(o,a,{value:function(e){if("function"!=typeof this||!i(e))return!1;if(!i(this.prototype))return e instanceof this;while(e=r(e))if(this.prototype===e)return!0;return!1}})},2251:function(e,t,n){var i=n("5ca1"),r=n("cb7c"),a=Object.isExtensible;i(i.S,"Reflect",{isExtensible:function(e){return r(e),!a||a(e)}})},"230e":function(e,t,n){var i=n("d3f4"),r=n("7726").document,a=i(r)&&i(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},2397:function(e,t,n){var i=n("5ca1"),r=n("2aeb"),a=n("d8e8"),o=n("cb7c"),s=n("d3f4"),l=n("79e5"),c=n("f0c1"),u=(n("7726").Reflect||{}).construct,d=l(function(){function e(){}return!(u(function(){},[],e)instanceof e)}),f=!l(function(){u(function(){})});i(i.S+i.F*(d||f),"Reflect",{construct:function(e,t){a(e),o(t);var n=arguments.length<3?e:a(arguments[2]);if(f&&!d)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var i=[null];return i.push.apply(i,t),new(c.apply(e,i))}var l=n.prototype,p=r(s(l)?l:Object.prototype),h=Function.apply.call(e,p,t);return s(h)?h:p}})},"23c6":function(e,t,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),a="Arguments"==i(function(){return arguments}()),o=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=o(t=Object(e),r))?n:a?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},"242a":function(e,t,n){"use strict";n("386b")("sup",function(e){return function(){return e(this,"sup","","")}})},2444:function(e,t,n){"use strict";(function(t){var i=n("c532"),r=n("c8af"),a={"Content-Type":"application/x-www-form-urlencoded"};function o(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function s(){var e;return"undefined"!==typeof XMLHttpRequest?e=n("b50d"):"undefined"!==typeof t&&(e=n("b50d")),e}var l={adapter:s(),transformRequest:[function(e,t){return r(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(o(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(o(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],function(e){l.headers[e]={}}),i.forEach(["post","put","patch"],function(e){l.headers[e]=i.merge(a)}),e.exports=l}).call(this,n("4362"))},"25c9":function(e,t,n){var i=n("5ca1"),r=Math.exp;i(i.S,"Math",{cosh:function(e){return(r(e=+e)+r(-e))/2}})},"25db":function(e,t,n){n("5eda")("getOwnPropertyNames",function(){return n("7bbc").f})},2621:function(e,t){t.f=Object.getOwnPropertySymbols},2729:function(e,t,n){"use strict";var i=n("2a71"),r=n.n(i);r.a},"27ee":function(e,t,n){var i=n("23c6"),r=n("2b4c")("iterator"),a=n("84f2");e.exports=n("8378").getIteratorMethod=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||a[i(e)]}},"28a5":function(e,t,n){"use strict";var i=n("aae3"),r=n("cb7c"),a=n("ebd6"),o=n("0390"),s=n("9def"),l=n("5f1b"),c=n("520a"),u=n("79e5"),d=Math.min,f=[].push,p="split",h="length",m="lastIndex",g=4294967295,v=!u(function(){RegExp(g,"y")});n("214f")("split",2,function(e,t,n,u){var y;return y="c"=="abbc"[p](/(b)*/)[1]||4!="test"[p](/(?:)/,-1)[h]||2!="ab"[p](/(?:ab)*/)[h]||4!="."[p](/(.?)(.?)/)[h]||"."[p](/()()/)[h]>1||""[p](/.?/)[h]?function(e,t){var r=String(this);if(void 0===e&&0===t)return[];if(!i(e))return n.call(r,e,t);var a,o,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,p=void 0===t?g:t>>>0,v=new RegExp(e.source,u+"g");while(a=c.call(v,r)){if(o=v[m],o>d&&(l.push(r.slice(d,a.index)),a[h]>1&&a.index=p))break;v[m]===a.index&&v[m]++}return d===r[h]?!s&&v.test("")||l.push(""):l.push(r.slice(d)),l[h]>p?l.slice(0,p):l}:"0"[p](void 0,0)[h]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,i){var r=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,r,i):y.call(String(r),n,i)},function(e,t){var i=u(y,e,this,t,y!==n);if(i.done)return i.value;var c=r(e),f=String(this),p=a(c,RegExp),h=c.unicode,m=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(v?"y":"g"),b=new p(v?c:"^(?:"+c.source+")",m),w=void 0===t?g:t>>>0;if(0===w)return[];if(0===f.length)return null===l(b,f)?[f]:[];var x=0,k=0,_=[];while(k";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"script"+o+"document.F=Object"+r+"/script"+o),e.close(),c=e.F;while(i--)delete c[l][a[i]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=i(e),n=new s,s[l]=null,n[o]=e):n=c(),void 0===t?n:r(n,t)}},"2b0e":function(e,t,n){"use strict";(function(e){ /*! - * Vue.js v2.6.2 + * Vue.js v2.6.7 * (c) 2014-2019 Evan You * Released under the MIT License. */ -var n=Object.freeze({});function i(e){return void 0===e||null===e}function r(e){return void 0!==e&&null!==e}function a(e){return!0===e}function o(e){return!1===e}function s(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function l(e){return null!==e&&"object"===typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function d(e){return"[object RegExp]"===c.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return r(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function w(e,t){return b.call(e,t)}function x(e){var t=Object.create(null);return function(n){var i=t[n];return i||(t[n]=e(n))}}var k=/-(\w)/g,_=x(function(e){return e.replace(k,function(e,t){return t?t.toUpperCase():""})}),C=x(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),S=/\B([A-Z])/g,T=x(function(e){return e.replace(S,"-$1").toLowerCase()});function M(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function E(e,t){return e.bind(t)}var A=Function.prototype.bind?E:M;function L(e,t){t=t||0;var n=e.length-t,i=new Array(n);while(n--)i[n]=e[n+t];return i}function N(e,t){for(var n in t)e[n]=t[n];return e}function D(e){for(var t={},n=0;n0,ne=J&&J.indexOf("edge/")>0,ie=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===Q),re=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),{}.watch),ae=!1;if(Y)try{var oe={};Object.defineProperty(oe,"passive",{get:function(){ae=!0}}),window.addEventListener("test-passive",null,oe)}catch(bo){}var se=function(){return void 0===X&&(X=!Y&&!Z&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),X},le=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"===typeof e&&/native code/.test(e.toString())}var ue,de="undefined"!==typeof Symbol&&ce(Symbol)&&"undefined"!==typeof Reflect&&ce(Reflect.ownKeys);ue="undefined"!==typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var fe=O,pe=0,he=function(){this.id=pe++,this.subs=[]};he.prototype.addSub=function(e){this.subs.push(e)},he.prototype.removeSub=function(e){y(this.subs,e)},he.prototype.depend=function(){he.target&&he.target.addDep(this)},he.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(a&&!w(r,"default"))o=!1;else if(""===o||o===T(e)){var l=Je(String,r.type);(l<0||s0&&(o=Mt(o,(t||"")+"_"+n),Tt(o[0])&&Tt(c)&&(u[l]=xe(c.text+o[0].text),o.shift()),u.push.apply(u,o)):s(o)?Tt(c)?u[l]=xe(c.text+o):""!==o&&u.push(xe(o)):Tt(o)&&Tt(c)?u[l]=xe(c.text+o.text):(a(e._isVList)&&r(o.tag)&&i(o.key)&&r(t)&&(o.key="__vlist"+t+"_"+n+"__"),u.push(o)));return u}function Et(e,t){return(e.__esModule||de&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function At(e,t,n,i,r){var a=we();return a.asyncFactory=e,a.asyncMeta={data:t,context:n,children:i,tag:r},a}function Lt(e,t,n){if(a(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;if(a(e.loading)&&r(e.loadingComp))return e.loadingComp;if(!r(e.contexts)){var o=e.contexts=[n],s=!0,c=function(e){for(var t=0,n=o.length;t1?L(n):n;for(var i=L(arguments,1),r='event handler for "'+e+'"',a=0,o=n.length;arn&&Qt[n].id>e.id)n--;Qt.splice(n+1,0,e)}else Qt.push(e);tn||(tn=!0,pt(ln))}}Y&&sn()>document.createEvent("Event").timeStamp&&(sn=function(){return performance.now()});var pn=0,hn=function(e,t,n,i,r){this.vm=e,r&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++pn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ue,this.newDepIds=new ue,this.expression="","function"===typeof t?this.getter=t:(this.getter=G(t),this.getter||(this.getter=O)),this.value=this.lazy?void 0:this.get()};hn.prototype.get=function(){var e;ge(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(bo){if(!this.user)throw bo;et(bo,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&mt(e),ve(),this.cleanupDeps()}return e},hn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},hn.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},hn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():fn(this)},hn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(bo){et(bo,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},hn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},hn.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},hn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var mn={enumerable:!0,configurable:!0,get:O,set:O};function gn(e,t,n){mn.get=function(){return this[t][n]},mn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,mn)}function vn(e){e._watchers=[];var t=e.$options;t.props&&yn(e,t.props),t.methods&&Tn(e,t.methods),t.data?bn(e):De(e._data={},!0),t.computed&&kn(e,t.computed),t.watch&&t.watch!==re&&Mn(e,t.watch)}function yn(e,t){var n=e.$options.propsData||{},i=e._props={},r=e.$options._propKeys=[],a=!e.$parent;a||Ee(!1);var o=function(a){r.push(a);var o=Ke(a,t,n,e);Oe(i,a,o),a in e||gn(e,"_props",a)};for(var s in t)o(s);Ee(!0)}function bn(e){var t=e.$options.data;t=e._data="function"===typeof t?wn(t,e):t||{},u(t)||(t={});var n=Object.keys(t),i=e.$options.props,r=(e.$options.methods,n.length);while(r--){var a=n[r];0,i&&w(i,a)||W(a)||gn(e,"_data",a)}De(t,!0)}function wn(e,t){ge();try{return e.call(t,t)}catch(bo){return et(bo,t,"data()"),{}}finally{ve()}}var xn={lazy:!0};function kn(e,t){var n=e._computedWatchers=Object.create(null),i=se();for(var r in t){var a=t[r],o="function"===typeof a?a:a.get;0,i||(n[r]=new hn(e,o||O,O,xn)),r in e||_n(e,r,a)}}function _n(e,t,n){var i=!se();"function"===typeof n?(mn.get=i?Cn(t):Sn(n),mn.set=O):(mn.get=n.get?i&&!1!==n.cache?Cn(t):Sn(n.get):O,mn.set=n.set||O),Object.defineProperty(e,t,mn)}function Cn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),he.target&&t.depend(),t.value}}function Sn(e){return function(){return e.call(this,this)}}function Tn(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?O:A(t[n],e)}function Mn(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var r=0;r-1)return this;var n=L(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function ki(e){e.mixin=function(e){return this.options=Ge(this.options,e),this}}function _i(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,r=e._Ctor||(e._Ctor={});if(r[i])return r[i];var a=e.name||n.options.name;var o=function(e){this._init(e)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=t++,o.options=Ge(n.options,e),o["super"]=n,o.options.props&&Ci(o),o.options.computed&&Si(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,R.forEach(function(e){o[e]=n[e]}),a&&(o.options.components[a]=o),o.superOptions=n.options,o.extendOptions=e,o.sealedOptions=N({},o.options),r[i]=o,o}}function Ci(e){var t=e.options.props;for(var n in t)gn(e.prototype,"_props",n)}function Si(e){var t=e.options.computed;for(var n in t)_n(e.prototype,n,t[n])}function Ti(e){R.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function Mi(e){return e&&(e.Ctor.options.name||e.tag)}function Ei(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function Ai(e,t){var n=e.cache,i=e.keys,r=e._vnode;for(var a in n){var o=n[a];if(o){var s=Mi(o.componentOptions);s&&!t(s)&&Li(n,a,i,r)}}}function Li(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,y(n,t)}gi(wi),An(wi),$t(wi),Ut(wi),hi(wi);var Ni=[String,RegExp,Array],Di={name:"keep-alive",abstract:!0,props:{include:Ni,exclude:Ni,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Li(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){Ai(e,function(e){return Ei(t,e)})}),this.$watch("exclude",function(t){Ai(e,function(e){return!Ei(t,e)})})},render:function(){var e=this.$slots.default,t=Dt(e),n=t&&t.componentOptions;if(n){var i=Mi(n),r=this,a=r.include,o=r.exclude;if(a&&(!i||!Ei(a,i))||o&&i&&Ei(o,i))return t;var s=this,l=s.cache,c=s.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;l[u]?(t.componentInstance=l[u].componentInstance,y(c,u),c.push(u)):(l[u]=t,c.push(u),this.max&&c.length>parseInt(this.max)&&Li(l,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Oi={KeepAlive:Di};function Pi(e){var t={get:function(){return B}};Object.defineProperty(e,"config",t),e.util={warn:fe,extend:N,mergeOptions:Ge,defineReactive:Oe},e.set=Pe,e.delete=Ie,e.nextTick=pt,e.observable=function(e){return De(e),e},e.options=Object.create(null),R.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,N(e.options.components,Oi),xi(e),ki(e),_i(e),Ti(e)}Pi(wi),Object.defineProperty(wi.prototype,"$isServer",{get:se}),Object.defineProperty(wi.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(wi,"FunctionalRenderContext",{value:Yn}),wi.version="2.6.2";var Ii=g("style,class"),Fi=g("input,textarea,option,select,progress"),zi=function(e,t,n){return"value"===n&&Fi(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},$i=g("contenteditable,draggable,spellcheck"),ji=g("events,caret,typing,plaintext-only"),Ri=function(e,t){return Ui(t)||"false"===t?"false":"contenteditable"===e&&ji(t)?t:"true"},qi=g("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"),Bi="http://www.w3.org/1999/xlink",Hi=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Wi=function(e){return Hi(e)?e.slice(6,e.length):""},Ui=function(e){return null==e||!1===e};function Vi(e){var t=e.data,n=e,i=e;while(r(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(t=Gi(i.data,t));while(r(n=n.parent))n&&n.data&&(t=Gi(t,n.data));return Xi(t.staticClass,t.class)}function Gi(e,t){return{staticClass:Ki(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Xi(e,t){return r(e)||r(t)?Ki(e,Yi(t)):""}function Ki(e,t){return e?t?e+" "+t:e:t||""}function Yi(e){return Array.isArray(e)?Zi(e):l(e)?Qi(e):"string"===typeof e?e:""}function Zi(e){for(var t,n="",i=0,a=e.length;i-1?rr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:rr[e]=/HTMLUnknownElement/.test(t.toString())}var or=g("text,number,password,search,email,tel,url");function sr(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function lr(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function cr(e,t){return document.createElementNS(Ji[e],t)}function ur(e){return document.createTextNode(e)}function dr(e){return document.createComment(e)}function fr(e,t,n){e.insertBefore(t,n)}function pr(e,t){e.removeChild(t)}function hr(e,t){e.appendChild(t)}function mr(e){return e.parentNode}function gr(e){return e.nextSibling}function vr(e){return e.tagName}function yr(e,t){e.textContent=t}function br(e,t){e.setAttribute(t,"")}var wr=Object.freeze({createElement:lr,createElementNS:cr,createTextNode:ur,createComment:dr,insertBefore:fr,removeChild:pr,appendChild:hr,parentNode:mr,nextSibling:gr,tagName:vr,setTextContent:yr,setStyleScope:br}),xr={create:function(e,t){kr(t)},update:function(e,t){e.data.ref!==t.data.ref&&(kr(e,!0),kr(t))},destroy:function(e){kr(e,!0)}};function kr(e,t){var n=e.data.ref;if(r(n)){var i=e.context,a=e.componentInstance||e.elm,o=i.$refs;t?Array.isArray(o[n])?y(o[n],a):o[n]===a&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(a)<0&&o[n].push(a):o[n]=[a]:o[n]=a}}var _r=new ye("",{},[]),Cr=["create","activate","update","remove","destroy"];function Sr(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&Tr(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&i(t.asyncFactory.error))}function Tr(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,a=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===a||or(i)&&or(a)}function Mr(e,t,n){var i,a,o={};for(i=t;i<=n;++i)a=e[i].key,r(a)&&(o[a]=i);return o}function Er(e){var t,n,o={},l=e.modules,c=e.nodeOps;for(t=0;tm?(d=i(n[y+1])?null:n[y+1].elm,_(e,d,n,h,y,a)):h>y&&S(e,t,f,m)}function E(e,t,n,i){for(var a=n;a-1?jr(e,t,n):qi(t)?Ui(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):$i(t)?e.setAttribute(t,Ri(t,n)):Hi(t)?Ui(n)?e.removeAttributeNS(Bi,Wi(t)):e.setAttributeNS(Bi,t,n):jr(e,t,n)}function jr(e,t,n){if(Ui(n))e.removeAttribute(t);else{if(ee&&!te&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var Rr={create:zr,update:zr};function qr(e,t){var n=t.elm,a=t.data,o=e.data;if(!(i(a.staticClass)&&i(a.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var s=Vi(t),l=n._transitionClasses;r(l)&&(s=Ki(s,Yi(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Br,Hr={create:qr,update:qr},Wr="__r",Ur="__c";function Vr(e){if(r(e[Wr])){var t=ee?"change":"input";e[t]=[].concat(e[Wr],e[t]||[]),delete e[Wr]}r(e[Ur])&&(e.change=[].concat(e[Ur],e.change||[]),delete e[Ur])}function Gr(e,t,n){var i=Br;return function r(){var a=t.apply(null,arguments);null!==a&&Kr(e,r,n,i)}}function Xr(e,t,n,i){if(at){var r=on,a=t;t=a._wrapper=function(e){if(e.timeStamp>=r)return a.apply(this,arguments)}}Br.addEventListener(e,t,ae?{capture:n,passive:i}:n)}function Kr(e,t,n,i){(i||Br).removeEventListener(e,t._wrapper||t,n)}function Yr(e,t){if(!i(e.data.on)||!i(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Br=t.elm,Vr(n),wt(n,r,Xr,Kr,Gr,t.context),Br=void 0}}var Zr,Qr={create:Yr,update:Yr};function Jr(e,t){if(!i(e.data.domProps)||!i(t.data.domProps)){var n,a,o=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in r(l.__ob__)&&(l=t.data.domProps=N({},l)),s)i(l[n])&&(o[n]="");for(n in l){if(a=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),a===s[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n||a!==s[n])if("value"===n){o._value=a;var c=i(a)?"":String(a);ea(o,c)&&(o.value=c)}else if("innerHTML"===n&&tr(o.tagName)&&i(o.innerHTML)){Zr=Zr||document.createElement("div"),Zr.innerHTML=""+a+"";var u=Zr.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(u.firstChild)o.appendChild(u.firstChild)}else o[n]=a}}}function ea(e,t){return!e.composing&&("OPTION"===e.tagName||ta(e,t)||na(e,t))}function ta(e,t){var n=!0;try{n=document.activeElement!==e}catch(bo){}return n&&e.value!==t}function na(e,t){var n=e.value,i=e._vModifiers;if(r(i)){if(i.number)return m(n)!==m(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}var ia={create:Jr,update:Jr},ra=x(function(e){var t={},n=/;(?![^(]*\))/g,i=/:(.+)/;return e.split(n).forEach(function(e){if(e){var n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t});function aa(e){var t=oa(e.style);return e.staticStyle?N(e.staticStyle,t):t}function oa(e){return Array.isArray(e)?D(e):"string"===typeof e?ra(e):e}function sa(e,t){var n,i={};if(t){var r=e;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=aa(r.data))&&N(i,n)}(n=aa(e.data))&&N(i,n);var a=e;while(a=a.parent)a.data&&(n=aa(a.data))&&N(i,n);return i}var la,ca=/^--/,ua=/\s*!important$/,da=function(e,t,n){if(ca.test(t))e.style.setProperty(t,n);else if(ua.test(n))e.style.setProperty(T(t),n.replace(ua,""),"important");else{var i=pa(t);if(Array.isArray(n))for(var r=0,a=n.length;r-1?t.split(ga).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function ya(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(ga).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function ba(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&N(t,wa(e.name||"v")),N(t,e),t}return"string"===typeof e?wa(e):void 0}}var wa=x(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),xa=Y&&!te,ka="transition",_a="animation",Ca="transition",Sa="transitionend",Ta="animation",Ma="animationend";xa&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ca="WebkitTransition",Sa="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ta="WebkitAnimation",Ma="webkitAnimationEnd"));var Ea=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Aa(e){Ea(function(){Ea(e)})}function La(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),va(e,t))}function Na(e,t){e._transitionClasses&&y(e._transitionClasses,t),ya(e,t)}function Da(e,t,n){var i=Pa(e,t),r=i.type,a=i.timeout,o=i.propCount;if(!r)return n();var s=r===ka?Sa:Ma,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=o&&c()};setTimeout(function(){l0&&(n=ka,u=o,d=a.length):t===_a?c>0&&(n=_a,u=c,d=l.length):(u=Math.max(o,c),n=u>0?o>c?ka:_a:null,d=n?n===ka?a.length:l.length:0);var f=n===ka&&Oa.test(i[Ca+"Property"]);return{type:n,timeout:u,propCount:d,hasTransform:f}}function Ia(e,t){while(e.length1}function qa(e,t){!0!==t.data.show&&za(t)}var Ba=Y?{create:qa,activate:qa,remove:function(e,t){!0!==e.data.show?$a(e,t):t()}}:{},Ha=[Rr,Hr,Qr,ia,ma,Ba],Wa=Ha.concat(Fr),Ua=Er({nodeOps:wr,modules:Wa});te&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Ja(e,"input")});var Va={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?xt(n,"postpatch",function(){Va.componentUpdated(e,t,n)}):Ga(e,t,n.context),e._vOptions=[].map.call(e.options,Ya)):("textarea"===n.tag||or(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Za),e.addEventListener("compositionend",Qa),e.addEventListener("change",Qa),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Ga(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,Ya);if(r.some(function(e,t){return!F(e,i[t])})){var a=e.multiple?t.value.some(function(e){return Ka(e,r)}):t.value!==t.oldValue&&Ka(t.value,r);a&&Ja(e,"change")}}}};function Ga(e,t,n){Xa(e,t,n),(ee||ne)&&setTimeout(function(){Xa(e,t,n)},0)}function Xa(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){for(var a,o,s=0,l=e.options.length;s-1,o.selected!==a&&(o.selected=a);else if(F(Ya(o),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));r||(e.selectedIndex=-1)}}function Ka(e,t){return t.every(function(t){return!F(t,e)})}function Ya(e){return"_value"in e?e._value:e.value}function Za(e){e.target.composing=!0}function Qa(e){e.target.composing&&(e.target.composing=!1,Ja(e.target,"input"))}function Ja(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function eo(e){return!e.componentInstance||e.data&&e.data.transition?e:eo(e.componentInstance._vnode)}var to={bind:function(e,t,n){var i=t.value;n=eo(n);var r=n.data&&n.data.transition,a=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,za(n,function(){e.style.display=a})):e.style.display=i?a:"none"},update:function(e,t,n){var i=t.value,r=t.oldValue;if(!i!==!r){n=eo(n);var a=n.data&&n.data.transition;a?(n.data.show=!0,i?za(n,function(){e.style.display=e.__vOriginalDisplay}):$a(n,function(){e.style.display="none"})):e.style.display=i?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,i,r){r||(e.style.display=e.__vOriginalDisplay)}},no={model:Va,show:to},io={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 ro(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ro(Dt(t.children)):e}function ao(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var r=n._parentListeners;for(var a in r)t[_(a)]=r[a];return t}function oo(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function so(e){while(e=e.parent)if(e.data.transition)return!0}function lo(e,t){return t.key===e.key&&t.tag===e.tag}var co=function(e){return e.tag||Nt(e)},uo=function(e){return"show"===e.name},fo={name:"transition",props:io,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(co),n.length)){0;var i=this.mode;0;var r=n[0];if(so(this.$vnode))return r;var a=ro(r);if(!a)return r;if(this._leaving)return oo(e,r);var o="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?o+"comment":o+a.tag:s(a.key)?0===String(a.key).indexOf(o)?a.key:o+a.key:a.key;var l=(a.data||(a.data={})).transition=ao(this),c=this._vnode,u=ro(c);if(a.data.directives&&a.data.directives.some(uo)&&(a.data.show=!0),u&&u.data&&!lo(a,u)&&!Nt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=N({},l);if("out-in"===i)return this._leaving=!0,xt(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),oo(e,r);if("in-out"===i){if(Nt(a))return c;var f,p=function(){f()};xt(l,"afterEnter",p),xt(l,"enterCancelled",p),xt(d,"delayLeave",function(e){f=e})}}return r}}},po=N({tag:String,moveClass:String},io);delete po.mode;var ho={props:po,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=Ht(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],a=this.children=[],o=ao(this),s=0;s22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},"2d83":function(e,t,n){"use strict";var i=n("387f");e.exports=function(e,t,n,r,a){var o=new Error(e);return i(o,t,n,r,a)}},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"2dba":function(e,t,n){},"2e08":function(e,t,n){var i=n("9def"),r=n("9744"),a=n("be13");e.exports=function(e,t,n,o){var s=String(a(e)),l=s.length,c=void 0===n?" ":String(n),u=i(t);if(u<=l||""==c)return s;var d=u-l,f=r.call(c,Math.ceil(d/c.length));return f.length>d&&(f=f.slice(0,d)),o?f+s:s+f}},"2e37":function(e,t,n){var i=n("5ca1");i(i.S,"Number",{EPSILON:Math.pow(2,-52)})},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"2f21":function(e,t,n){"use strict";var i=n("79e5");e.exports=function(e,t){return!!e&&i(function(){t?e.call(null,function(){},1):e.call(null)})}},"2fdb":function(e,t,n){"use strict";var i=n("5ca1"),r=n("d2c8"),a="includes";i(i.P+i.F*n("5147")(a),"String",{includes:function(e){return!!~r(this,e,a).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"30b5":function(e,t,n){"use strict";var i=n("c532");function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var a;if(n)a=n(t);else if(i.isURLSearchParams(t))a=t.toString();else{var o=[];i.forEach(t,function(e,t){null!==e&&"undefined"!==typeof e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),o.push(r(t)+"="+r(e))}))}),a=o.join("&")}return a&&(e+=(-1===e.indexOf("?")?"?":"&")+a),e}},3119:function(e,t,n){},"31c5":function(e,t,n){},"31f4":function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},"328f":function(e,t,n){},"32d7":function(e,t,n){var i=n("5ca1");i(i.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},"32e9":function(e,t,n){var i=n("86cc"),r=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"33a4":function(e,t,n){var i=n("84f2"),r=n("2b4c")("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[r]===e)}},"34ef":function(e,t,n){n("ec30")("Uint8",1,function(e){return function(t,n,i){return e(this,t,n,i)}})},"36bd":function(e,t,n){"use strict";var i=n("4bf8"),r=n("77f1"),a=n("9def");e.exports=function(e){var t=i(this),n=a(t.length),o=arguments.length,s=r(o>1?arguments[1]:void 0,n),l=o>2?arguments[2]:void 0,c=void 0===l?n:r(l,n);while(c>s)t[s++]=e;return t}},"37c8":function(e,t,n){t.f=n("2b4c")},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"),r=n("79e5"),a=n("be13"),o=/"/g,s=function(e,t,n,i){var r=String(a(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(i).replace(o,""")+'"'),s+">"+r+""};e.exports=function(e,t){var n={};n[e]=t(s),i(i.P+i.F*r(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},"386d":function(e,t,n){"use strict";var i=n("cb7c"),r=n("83a1"),a=n("5f1b");n("214f")("search",1,function(e,t,n,o){return[function(n){var i=e(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=o(n,e,this);if(t.done)return t.value;var s=i(e),l=String(this),c=s.lastIndex;r(c,0)||(s.lastIndex=0);var u=a(s,l);return r(s.lastIndex,c)||(s.lastIndex=c),null===u?-1:u.index}]})},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,i,r){return e.config=t,n&&(e.code=n),e.request=i,e.response=r,e}},"38fd":function(e,t,n){var i=n("69a8"),r=n("4bf8"),a=n("613b")("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},3934:function(e,t,n){"use strict";var i=n("c532");e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=i.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"3a72":function(e,t,n){var i=n("7726"),r=n("8378"),a=n("2d00"),o=n("37c8"),s=n("86cc").f;e.exports=function(e){var t=r.Symbol||(r.Symbol=a?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:o.f(e)})}},"3b2b":function(e,t,n){var i=n("7726"),r=n("5dbc"),a=n("86cc").f,o=n("9093").f,s=n("aae3"),l=n("0bfb"),c=i.RegExp,u=c,d=c.prototype,f=/a/g,p=/a/g,h=new c(f)!==f;if(n("9e1e")&&(!h||n("79e5")(function(){return p[n("2b4c")("match")]=!1,c(f)!=f||c(p)==p||"/a/i"!=c(f,"i")}))){c=function(e,t){var n=this instanceof c,i=s(e),a=void 0===t;return!n&&i&&e.constructor===c&&a?e:r(h?new u(i&&!a?e.source:e,t):u((i=e instanceof c)?e.source:e,i&&a?l.call(e):t),n?this:d,c)};for(var m=function(e){e in c||a(c,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})},g=o(u),v=0;g.length>v;)m(g[v++]);d.constructor=c,c.prototype=d,n("2aba")(i,"RegExp",c)}n("7a56")("RegExp")},"3ca5":function(e,t,n){var i=n("7726").parseInt,r=n("aa77").trim,a=n("fdef"),o=/^[-+]?0[xX]/;e.exports=8!==i(a+"08")||22!==i(a+"0x16")?function(e,t){var n=r(String(e),3);return i(n,t>>>0||(o.test(n)?16:10))}:i},"41a0":function(e,t,n){"use strict";var i=n("2aeb"),r=n("4630"),a=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(o,{next:r(1,n)}),a(e,t+" Iterator")}},4362:function(e,t,n){t.nextTick=function(e){setTimeout(e,0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,i="/";t.cwd=function(){return i},t.chdir=function(t){e||(e=n("df7c")),i=e.resolve(t,i)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"445b":function(e,t,n){"use strict";var i=n("3119"),r=n.n(i);r.a},"44d5":function(e,t,n){(function(e){e(n("56b3"),n("d69f"),n("4ba6"))})(function(e){"use strict";function t(e){for(var t={},n=e.split(" "),i=0;i\w/,!1)&&(t.tokenize=n([[["->",null]],[[/[\w]+/,"variable"]]],i,r)),"variable-2";var a=!1;while(!e.eol()&&(a||!1===r||!e.match("{$",!1)&&!e.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1))){if(!a&&e.match(i)){t.tokenize=null,t.tokStack.pop(),t.tokStack.pop();break}a="\\"==e.next()&&!a}return"string"}var a="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",o="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",s="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";e.registerHelper("hintWords","php",[a,o,s].join(" ").split(" ")),e.registerHelper("wordChars","php",/[\w$]/);var l={name:"clike",helperType:"php",keywords:t(a),blockKeywords:t("catch do else elseif for foreach if switch try while finally"),defKeywords:t("class function interface namespace trait"),atoms:t(o),builtin:t(s),multiLineStrings:!0,hooks:{$:function(e){return e.eatWhile(/[\w\$_]/),"variable-2"},"<":function(e,t){var n;if(n=e.match(/<<\s*/)){var r=e.eat(/['"]/);e.eatWhile(/[\w\.]/);var a=e.current().slice(n[0].length+(r?2:1));if(r&&e.eat(r),a)return(t.tokStack||(t.tokStack=[])).push(a,0),t.tokenize=i(a,"'"!=r),"string"}return!1},"#":function(e){while(!e.eol()&&!e.match("?>",!1))e.next();return"comment"},"/":function(e){if(e.eat("/")){while(!e.eol()&&!e.match("?>",!1))e.next();return"comment"}return!1},'"':function(e,t){return(t.tokStack||(t.tokStack=[])).push('"',0),t.tokenize=i('"'),"string"},"{":function(e,t){return t.tokStack&&t.tokStack.length&&t.tokStack[t.tokStack.length-1]++,!1},"}":function(e,t){return t.tokStack&&t.tokStack.length>0&&!--t.tokStack[t.tokStack.length-1]&&(t.tokenize=i(t.tokStack[t.tokStack.length-2])),!1}}};e.defineMode("php",function(t,n){var i=e.getMode(t,n&&n.htmlMode||"text/html"),r=e.getMode(t,l);function a(t,n){var a=n.curMode==r;if(t.sol()&&n.pending&&'"'!=n.pending&&"'"!=n.pending&&(n.pending=null),a)return a&&null==n.php.tokenize&&t.match("?>")?(n.curMode=i,n.curState=n.html,n.php.context.prev||(n.php=null),"meta"):r.token(t,n.curState);if(t.match(/^<\?\w*/))return n.curMode=r,n.php||(n.php=e.startState(r,i.indent(n.html,"",""))),n.curState=n.php,"meta";if('"'==n.pending||"'"==n.pending){while(!t.eol()&&t.next()!=n.pending);var o="string"}else if(n.pending&&t.pos/.test(l)?n.pending=s[0]:n.pending={end:t.pos,style:o},t.backUp(l.length-c)),o}return{startState:function(){var t=e.startState(i),a=n.startOpen?e.startState(r):null;return{html:t,php:a,curMode:n.startOpen?r:i,curState:n.startOpen?a:t,pending:null}},copyState:function(t){var n,a=t.html,o=e.copyState(i,a),s=t.php,l=s&&e.copyState(r,s);return n=t.curMode==i?o:l,{html:o,php:l,curMode:t.curMode,curState:n,pending:t.pending}},token:a,indent:function(e,t,n){return e.curMode!=r&&/^\s*<\//.test(t)||e.curMode==r&&/^\?>/.test(t)?i.indent(e.html,t,n):e.curMode.indent(e.curState,t,n)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(e){return{state:e.curState,mode:e.curMode}}}},"htmlmixed","clike"),e.defineMIME("application/x-httpd-php","php"),e.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),e.defineMIME("text/x-php",l)})},4504:function(e,t,n){"use strict";var i=n("5ca1"),r=n("4bf8"),a=n("d8e8"),o=n("86cc");n("9e1e")&&i(i.P+n("c5b4"),"Object",{__defineGetter__:function(e,t){o.f(r(this),e,{get:a(t),enumerable:!0,configurable:!0})}})},"456d":function(e,t,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",function(){return function(e){return r(i(e))}})},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)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"467f":function(e,t,n){"use strict";var i=n("2d83");e.exports=function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(i("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},4795:function(e,t,n){var i=n("7726"),r=n("5ca1"),a=n("a25f"),o=[].slice,s=/MSIE .\./.test(a),l=function(e){return function(t,n){var i=arguments.length>2,r=!!i&&o.call(arguments,2);return e(i?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,n)}};r(r.G+r.B+r.F*s,{setTimeout:l(i.setTimeout),setInterval:l(i.setInterval)})},"48c0":function(e,t,n){"use strict";n("386b")("bold",function(e){return function(){return e(this,"b","","")}})},4917:function(e,t,n){"use strict";var i=n("cb7c"),r=n("9def"),a=n("0390"),o=n("5f1b");n("214f")("match",1,function(e,t,n,s){return[function(n){var i=e(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=s(n,e,this);if(t.done)return t.value;var l=i(e),c=String(this);if(!l.global)return o(l,c);var u=l.unicode;l.lastIndex=0;var d,f=[],p=0;while(null!==(d=o(l,c))){var h=String(d[0]);f[p]=h,""===h&&(l.lastIndex=a(c,r(l.lastIndex),u)),p++}return 0===p?null:f}]})},"4a59":function(e,t,n){var i=n("9b43"),r=n("1fa8"),a=n("33a4"),o=n("cb7c"),s=n("9def"),l=n("27ee"),c={},u={};t=e.exports=function(e,t,n,d,f){var p,h,m,g,v=f?function(){return e}:l(e),y=i(n,d,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(a(v)){for(p=s(e.length);p>b;b++)if(g=t?y(o(h=e[b])[0],h[1]):y(e[b]),g===c||g===u)return g}else for(m=v.call(e);!(h=m.next()).done;)if(g=r(m,y,h.value,t),g===c||g===u)return g};t.BREAK=c,t.RETURN=u},"4ba6":function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";function t(e,t,n,i,r,a){this.indented=e,this.column=t,this.type=n,this.info=i,this.align=r,this.prev=a}function n(e,n,i,r){var a=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=i&&(a=e.context.indented),e.context=new t(a,n,i,r,null,e.context)}function i(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function r(e,t,n){return"variable"==t.prevToken||"type"==t.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||(!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0))}function a(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev}}function o(e){for(var t={},n=e.split(" "),i=0;i!?|\/]/,A=l.isIdentifierChar||/[\w\$_\xa1-\uffff]/,L=l.isReservedIdentifier||!1;function N(e,t){var n=e.next();if(w[n]){var i=w[n](e,t);if(!1!==i)return i}if('"'==n||"'"==n)return t.tokenize=D(n),t.tokenize(e,t);if(S.test(n))return c=n,null;if(T.test(n)){if(e.backUp(1),e.match(M))return"number";e.next()}if("/"==n){if(e.eat("*"))return t.tokenize=O,O(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(E.test(n)){while(!e.match(/^\/[\/*]/,!1)&&e.eat(E));return"operator"}if(e.eatWhile(A),C)while(e.match(C))e.eatWhile(A);var r=e.current();return s(h,r)?(s(v,r)&&(c="newstatement"),s(y,r)&&(u=!0),"keyword"):s(m,r)?"type":s(g,r)||L&&L(r)?(s(v,r)&&(c="newstatement"),"builtin"):s(b,r)?"atom":"variable"}function D(e){return function(t,n){var i,r=!1,a=!1;while(null!=(i=t.next())){if(i==e&&!r){a=!0;break}r=!r&&"\\"==i}return(a||!r&&!x)&&(n.tokenize=null),"string"}}function O(e,t){var n,i=!1;while(n=e.next()){if("/"==n&&i){t.tokenize=null;break}i="*"==n}return"comment"}function P(e,t){l.typeFirstDefinitions&&e.eol()&&a(t.context)&&(t.typeAtEndOfLine=r(e,t,e.pos))}return{startState:function(e){return{tokenize:null,context:new t((e||0)-d,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(e,t){var o=t.context;if(e.sol()&&(null==o.align&&(o.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return P(e,t),null;c=u=null;var s=(t.tokenize||N)(e,t);if("comment"==s||"meta"==s)return s;if(null==o.align&&(o.align=!0),";"==c||":"==c||","==c&&e.match(/^\s*(?:\/\/.*)?$/,!1))while("statement"==t.context.type)i(t);else if("{"==c)n(t,e.column(),"}");else if("["==c)n(t,e.column(),"]");else if("("==c)n(t,e.column(),")");else if("}"==c){while("statement"==o.type)o=i(t);"}"==o.type&&(o=i(t));while("statement"==o.type)o=i(t)}else c==o.type?i(t):k&&(("}"==o.type||"top"==o.type)&&";"!=c||"statement"==o.type&&"newstatement"==c)&&n(t,e.column(),"statement",e.current());if("variable"==s&&("def"==t.prevToken||l.typeFirstDefinitions&&r(e,t,e.start)&&a(t.context)&&e.match(/^\s*\(/,!1))&&(s="def"),w.token){var d=w.token(e,t,s);void 0!==d&&(s=d)}return"def"==s&&!1===l.styleDefs&&(s="variable"),t.startOfLine=!1,t.prevToken=u?"def":s||c,P(e,t),s},indent:function(t,n){if(t.tokenize!=N&&null!=t.tokenize||t.typeAtEndOfLine)return e.Pass;var i=t.context,r=n&&n.charAt(0),a=r==i.type;if("statement"==i.type&&"}"==r&&(i=i.prev),l.dontIndentStatements)while("statement"==i.type&&l.dontIndentStatements.test(i.info))i=i.prev;if(w.indent){var o=w.indent(t,i,n,d);if("number"==typeof o)return o}var s=i.prev&&"switch"==i.prev.info;if(l.allmanIndentation&&/[{(]/.test(r)){while("top"!=i.type&&"}"!=i.type)i=i.prev;return i.indented}return"statement"==i.type?i.indented+("{"==r?0:f):!i.align||p&&")"==i.type?")"!=i.type||a?i.indented+(a?0:d)+(a||!s||/^(?:case|default)\b/.test(n)?0:d):i.indented+f:i.column+(a?0:1)},electricInput:_?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});var l="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran",c=o("int long char short double float unsigned signed void bool"),u=o("SEL instancetype id Class Protocol BOOL");function d(e){return s(c,e)||/.+_t/.test(e)}function f(e){return d(e)||s(u,e)}var p="case do else for if switch while struct enum union",h="struct enum union";function m(e,t){if(!t.startOfLine)return!1;for(var n,i=null;n=e.peek();){if("\\"==n&&e.match(/^.$/)){i=m;break}if("/"==n&&e.match(/^\/[\/\*]/,!1))break;e.next()}return t.tokenize=i,"meta"}function g(e,t){return"type"==t.prevToken&&"type"}function v(e){return!(!e||e.length<2)&&("_"==e[0]&&("_"==e[1]||e[1]!==e[1].toLowerCase()))}function y(e){return e.eatWhile(/[\w\.']/),"number"}function b(e,t){if(e.backUp(1),e.match(/(R|u8R|uR|UR|LR)/)){var n=e.match(/"([^\s\\()]{0,16})\(/);return!!n&&(t.cpp11RawStringDelim=n[1],t.tokenize=k,k(e,t))}return e.match(/(u8|u|U|L)/)?!!e.match(/["']/,!1)&&"string":(e.next(),!1)}function w(e){var t=/(\w+)::~?(\w+)$/.exec(e);return t&&t[1]==t[2]}function x(e,t){var n;while(null!=(n=e.next()))if('"'==n&&!e.eat('"')){t.tokenize=null;break}return"string"}function k(e,t){var n=t.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&"),i=e.match(new RegExp(".*?\\)"+n+'"'));return i?t.tokenize=null:e.skipToEnd(),"string"}function _(t,n){"string"==typeof t&&(t=[t]);var i=[];function r(e){if(e)for(var t in e)e.hasOwnProperty(t)&&i.push(t)}r(n.keywords),r(n.types),r(n.builtin),r(n.atoms),i.length&&(n.helperType=t[0],e.registerHelper("hintWords",t[0],i));for(var a=0;a!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=C,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(e,n){var i=n.context;return!("}"!=i.type||!i.align||!e.eat(">"))&&(n.context=new t(i.indented,i.column,i.type,i.info,null,i.prev),"operator")},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=S(1),t.tokenize(e,t))}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}}),_("text/x-kotlin",{name:"clike",keywords:o("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),types:o("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:o("catch class do else finally for if where try while enum"),defKeywords:o("class val var object interface fun"),atoms:o("true false null this"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},"*":function(e,t){return"."==t.prevToken?"variable":"operator"},'"':function(e,t){return t.tokenize=T(e.match('""')),t.tokenize(e,t)},indent:function(e,t,n,i){var r=n&&n.charAt(0);return"}"!=e.prevToken&&")"!=e.prevToken||""!=n?"operator"==e.prevToken&&"}"!=n||"variable"==e.prevToken&&"."==r||("}"==e.prevToken||")"==e.prevToken)&&"."==r?2*i+t.indented:t.align&&"}"==t.type?t.indented+(e.context.type==(n||"").charAt(0)?0:i):void 0:e.indented}},modeProps:{closeBrackets:{triples:'"'}}}),_(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:o("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:o("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:o("for while do if else struct"),builtin:o("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:o("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":m},modeProps:{fold:["brace","include"]}}),_("text/x-nesc",{name:"clike",keywords:o(l+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:d,blockKeywords:o(p),atoms:o("null true false"),hooks:{"#":m},modeProps:{fold:["brace","include"]}}),_("text/x-objectivec",{name:"clike",keywords:o(l+" bycopy byref in inout oneway out self super atomic nonatomic retain copy readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd @interface @implementation @end @protocol @encode @property @synthesize @dynamic @class @public @package @private @protected @required @optional @try @catch @finally @import @selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available"),types:f,builtin:o("FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION NS_RETURNS_RETAINED NS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT"),blockKeywords:o(p+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:o(h+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:o("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:v,hooks:{"#":m,"*":g},modeProps:{fold:["brace","include"]}}),_("text/x-squirrel",{name:"clike",keywords:o("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:d,blockKeywords:o("case catch class else for foreach if switch try while"),defKeywords:o("function local class"),typeFirstDefinitions:!0,atoms:o("true false null"),hooks:{"#":m},modeProps:{fold:["brace","include"]}});var M=null;function E(e){return function(t,n){var i,r=!1,a=!1;while(!t.eol()){if(!r&&t.match('"')&&("single"==e||t.match('""'))){a=!0;break}if(!r&&t.match("``")){M=E(e),a=!0;break}i=t.next(),r="single"==e&&!r&&"\\"==i}return a&&(n.tokenize=null),"string"}}_("text/x-ceylon",{name:"clike",keywords:o("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:o("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:o("class dynamic function interface module object package value"),builtin:o("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:o("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=E(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!(!M||!e.match("`"))&&(t.tokenize=M,M=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,n){if(("variable"==n||"type"==n)&&"."==t.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})},"4bf8":function(e,t,n){var i=n("be13");e.exports=function(e){return Object(i(e))}},"4dda":function(e,t,n){n("ec30")("Float64",8,function(e){return function(t,n,i){return e(this,t,n,i)}})},"4f7f":function(e,t,n){"use strict";var i=n("c26b"),r=n("b39a"),a="Set";e.exports=n("e0b8")(a,function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return i.def(r(this,a),e=0===e?0:e,e)}},i)},"4fb8":function(e,t,n){(function(t){"object"==typeof navigator&&function(t,n){e.exports=n()}(0,function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n3&&void 0!==arguments[3]&&arguments[3],a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(e&&"addEventListener"in e&&!m.empty(t)&&m.function(n)){var s=t.split(" "),l=o;g&&(l={passive:a,capture:o}),s.forEach(function(t){i&&i.eventListeners&&r&&i.eventListeners.push({element:e,type:t,callback:n,options:l}),e[r?"addEventListener":"removeEventListener"](t,n,l)})}}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];v.call(this,e,t,n,!0,i,r)}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];v.call(this,e,t,n,!1,i,r)}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];v.call(this,e,t,function a(){b(e,t,a,i,r);for(var o=arguments.length,s=new Array(o),l=0;l1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(m.element(e)&&!m.empty(t)){var r=new CustomEvent(t,{bubbles:n,detail:Object.assign({},i,{plyr:this})});e.dispatchEvent(r)}}function k(e,t){var n=e.length?e:[e];Array.from(n).reverse().forEach(function(e,n){var i=n>0?t.cloneNode(!0):t,r=e.parentNode,a=e.nextSibling;i.appendChild(e),a?r.insertBefore(i,a):r.appendChild(i)})}function _(e,t){m.element(e)&&!m.empty(t)&&Object.entries(t).filter(function(e){var t=a(e,2)[1];return!m.nullOrUndefined(t)}).forEach(function(t){var n=a(t,2),i=n[0],r=n[1];return e.setAttribute(i,r)})}function C(e,t,n){var i=document.createElement(e);return m.object(t)&&_(i,t),m.string(n)&&(i.innerText=n),i}function S(e,t,n,i){m.element(t)&&t.appendChild(C(e,n,i))}function T(e){m.nodeList(e)||m.array(e)?Array.from(e).forEach(T):m.element(e)&&m.element(e.parentNode)&&e.parentNode.removeChild(e)}function M(e){if(m.element(e))for(var t=e.childNodes.length;t>0;)e.removeChild(e.lastChild),t-=1}function E(e,t){return m.element(t)&&m.element(t.parentNode)&&m.element(e)?(t.parentNode.replaceChild(e,t),e):null}function A(e,t){if(!m.string(e)||m.empty(e))return{};var n={},i=t;return e.split(",").forEach(function(e){var t=e.trim(),r=t.replace(".",""),a=t.replace(/[[\]]/g,"").split("="),o=a[0],s=a.length>1?a[1].replace(/["']/g,""):"";switch(t.charAt(0)){case".":m.object(i)&&m.string(i.class)&&(i.class+=" ".concat(r)),n.class=r;break;case"#":n.id=t.replace("#","");break;case"[":n[o]=s}}),n}function L(e,t){if(m.element(e)){var n=t;m.boolean(n)||(n=!e.hidden),n?e.setAttribute("hidden",""):e.removeAttribute("hidden")}}function N(e,t,n){if(m.nodeList(e))return Array.from(e).map(function(e){return N(e,t,n)});if(m.element(e)){var i="toggle";return void 0!==n&&(i=n?"add":"remove"),e.classList[i](t),e.classList.contains(t)}return!1}function D(e,t){return m.element(e)&&e.classList.contains(t)}function O(e,t){return function(){return Array.from(document.querySelectorAll(t)).includes(this)}.call(e,t)}function P(e){return this.elements.container.querySelectorAll(e)}function I(e){return this.elements.container.querySelector(e)}function F(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];m.element(e)&&(e.focus({preventScroll:!0}),t&&N(e,this.config.classNames.tabFocus))}var z,$,j,R=(z=document.createElement("span"),$={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},j=Object.keys($).find(function(e){return void 0!==z.style[e]}),!!m.string(j)&&$[j]);function q(e){setTimeout(function(){try{L(e,!0),e.offsetHeight,L(e,!1)}catch(e){}},0)}var B,H={isIE:!!document.documentMode,isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:/(iPad|iPhone|iPod)/gi.test(navigator.platform)},W={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},U={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check:function(e,t,n){var i=H.isIPhone&&n&&U.playsinline,r=U[e]||"html5"!==t;return{api:r,ui:r&&U.rangeInput&&("video"!==e||!H.isIPhone||i)}},pip:!(H.isIPhone||!m.function(C("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||C("video").disablePictureInPicture)),airplay:m.function(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime:function(e){var t=a(e.split("/"),1)[0],n=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(W).includes(n)&&(n+='; codecs="'.concat(W[e],'"'));try{return Boolean(n&&this.media.canPlayType(n).replace(/no/,""))}catch(e){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(B=document.createElement("input"),B.type="range","range"===B.type),touch:"ontouchstart"in document.documentElement,transitions:!1!==R,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},V={getSources:function(){var e=this;return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter(function(t){return U.mime.call(e,t.getAttribute("type"))}):[]},getQualityOptions:function(){return V.getSources.call(this).map(function(e){return Number(e.getAttribute("size"))}).filter(Boolean)},extend:function(){if(this.isHTML5){var e=this;Object.defineProperty(e.media,"quality",{get:function(){var t=V.getSources.call(e).find(function(t){return t.getAttribute("src")===e.source});return t&&Number(t.getAttribute("size"))},set:function(t){var n=V.getSources.call(e).find(function(e){return Number(e.getAttribute("size"))===t});if(n){var i=e.media,r=i.currentTime,a=i.paused,o=i.preload,s=i.readyState;e.media.src=n.getAttribute("src"),("none"!==o||s)&&(e.once("loadedmetadata",function(){e.currentTime=r,a||e.play()}),e.media.load()),x.call(e,e.media,"qualitychange",!1,{quality:t})}}})}},cancelRequests:function(){this.isHTML5&&(T(V.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function G(e){return m.array(e)?e.filter(function(t,n){return e.indexOf(t)===n}):e}function X(e,t){return t.split(".").reduce(function(e,t){return e&&e[t]},e)}function K(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1"),"g"),n.toString())}function Q(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString().replace(/\w\S*/g,function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})}function J(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return(e=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return e=Z(e,"-"," "),e=Z(e,"_"," "),Z(e=Q(e)," ","")}(e)).charAt(0).toLowerCase()+e.slice(1)}function ee(e){var t=document.createElement("div");return t.appendChild(e),t.innerHTML}var te={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(m.empty(e)||m.empty(t))return"";var n=X(t.i18n,e);if(m.empty(n))return Object.keys(te).includes(e)?te[e]:"";var i={"{seektime}":t.seekTime,"{title}":t.title};return Object.entries(i).forEach(function(e){var t=a(e,2),i=t[0],r=t[1];n=Z(n,i,r)}),n},ie=function(){function t(n){e(this,t),this.enabled=n.config.storage.enabled,this.key=n.config.storage.key}return i(t,[{key:"get",value:function(e){if(!t.supported||!this.enabled)return null;var n=window.localStorage.getItem(this.key);if(m.empty(n))return null;var i=JSON.parse(n);return m.string(e)&&e.length?i[e]:i}},{key:"set",value:function(e){if(t.supported&&this.enabled&&m.object(e)){var n=this.get();m.empty(n)&&(n={}),K(n,e),window.localStorage.setItem(this.key,JSON.stringify(n))}}}],[{key:"supported",get:function(){try{return"localStorage"in window&&(window.localStorage.setItem("___test","___test"),window.localStorage.removeItem("___test"),!0)}catch(e){return!1}}}]),t}();function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return new Promise(function(n,i){try{var r=new XMLHttpRequest;if(!("withCredentials"in r))return;r.addEventListener("load",function(){if("text"===t)try{n(JSON.parse(r.responseText))}catch(e){n(r.responseText)}else n(r.response)}),r.addEventListener("error",function(){throw new Error(r.status)}),r.open("GET",e,!0),r.responseType=t,r.send()}catch(e){i(e)}})}function ae(e,t){if(m.string(e)){var n=m.string(t),i=function(){return null!==document.getElementById(t)},r=function(e,t){e.innerHTML=t,n&&i()||document.body.insertAdjacentElement("afterbegin",e)};if(!n||!i()){var a=ie.supported,o=document.createElement("div");if(o.setAttribute("hidden",""),n&&o.setAttribute("id",t),a){var s=window.localStorage.getItem("".concat("cache","-").concat(t));if(null!==s){var l=JSON.parse(s);r(o,l.content)}}re(e).then(function(e){m.empty(e)||(a&&window.localStorage.setItem("".concat("cache","-").concat(t),JSON.stringify({content:e})),r(o,e))}).catch(function(){})}}}var oe=function(e){return parseInt(e/60/60%60,10)},se=function(e){return parseInt(e/60%60,10)},le=function(e){return parseInt(e%60,10)};function ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!m.number(e))return ce(null,t,n);var i=function(e){return"0".concat(e).slice(-2)},r=oe(e),a=se(e),o=le(e);return r=t||r>0?"".concat(r,":"):"","".concat(n&&e>0?"-":"").concat(r).concat(i(a),":").concat(i(o))}var ue={getIconUrl:function(){var e=new URL(this.config.iconUrl,window.location).host!==window.location.host||H.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:e}},findElements:function(){try{return this.elements.controls=I.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:P.call(this,this.config.selectors.buttons.play),pause:I.call(this,this.config.selectors.buttons.pause),restart:I.call(this,this.config.selectors.buttons.restart),rewind:I.call(this,this.config.selectors.buttons.rewind),fastForward:I.call(this,this.config.selectors.buttons.fastForward),mute:I.call(this,this.config.selectors.buttons.mute),pip:I.call(this,this.config.selectors.buttons.pip),airplay:I.call(this,this.config.selectors.buttons.airplay),settings:I.call(this,this.config.selectors.buttons.settings),captions:I.call(this,this.config.selectors.buttons.captions),fullscreen:I.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=I.call(this,this.config.selectors.progress),this.elements.inputs={seek:I.call(this,this.config.selectors.inputs.seek),volume:I.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:I.call(this,this.config.selectors.display.buffer),currentTime:I.call(this,this.config.selectors.display.currentTime),duration:I.call(this,this.config.selectors.display.duration)},m.element(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(".".concat(this.config.classNames.tooltip))),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon:function(e,t){var n=ue.getIconUrl.call(this),i="".concat(n.cors?"":n.url,"#").concat(this.config.iconPrefix),r=document.createElementNS("http://www.w3.org/2000/svg","svg");_(r,K(t,{role:"presentation",focusable:"false"}));var a=document.createElementNS("http://www.w3.org/2000/svg","use"),o="".concat(i,"-").concat(e);return"href"in a&&a.setAttributeNS("http://www.w3.org/1999/xlink","href",o),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o),r.appendChild(a),r},createLabel:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ne(e,this.config);return C("span",Object.assign({},t,{class:[t.class,this.config.classNames.hidden].filter(Boolean).join(" ")}),n)},createBadge:function(e){if(m.empty(e))return null;var t=C("span",{class:this.config.classNames.menu.value});return t.appendChild(C("span",{class:this.config.classNames.menu.badge},e)),t},createButton:function(e,t){var n=Object.assign({},t),i=J(e),r={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach(function(e){Object.keys(n).includes(e)&&(r[e]=n[e],delete n[e])}),"button"!==r.element||Object.keys(n).includes("type")||(n.type="button"),Object.keys(n).includes("class")?n.class.includes(this.config.classNames.control)||(n.class+=" ".concat(this.config.classNames.control)):n.class=this.config.classNames.control,e){case"play":r.toggle=!0,r.label="play",r.labelPressed="pause",r.icon="play",r.iconPressed="pause";break;case"mute":r.toggle=!0,r.label="mute",r.labelPressed="unmute",r.icon="volume",r.iconPressed="muted";break;case"captions":r.toggle=!0,r.label="enableCaptions",r.labelPressed="disableCaptions",r.icon="captions-off",r.iconPressed="captions-on";break;case"fullscreen":r.toggle=!0,r.label="enterFullscreen",r.labelPressed="exitFullscreen",r.icon="enter-fullscreen",r.iconPressed="exit-fullscreen";break;case"play-large":n.class+=" ".concat(this.config.classNames.control,"--overlaid"),i="play",r.label="play",r.icon="play";break;default:m.empty(r.label)&&(r.label=i),m.empty(r.icon)&&(r.icon=e)}var a=C(r.element);return r.toggle?(a.appendChild(ue.createIcon.call(this,r.iconPressed,{class:"icon--pressed"})),a.appendChild(ue.createIcon.call(this,r.icon,{class:"icon--not-pressed"})),a.appendChild(ue.createLabel.call(this,r.labelPressed,{class:"label--pressed"})),a.appendChild(ue.createLabel.call(this,r.label,{class:"label--not-pressed"}))):(a.appendChild(ue.createIcon.call(this,r.icon)),a.appendChild(ue.createLabel.call(this,r.label))),K(n,A(this.config.selectors.buttons[i],n)),_(a,n),"play"===i?(m.array(this.elements.buttons[i])||(this.elements.buttons[i]=[]),this.elements.buttons[i].push(a)):this.elements.buttons[i]=a,a},createRange:function(e,t){var n=C("input",K(A(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":ne(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=n,ue.updateRangeFill.call(this,n),n},createProgress:function(e,t){var n=C("progress",K(A(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"presentation","aria-hidden":!0},t));if("volume"!==e){n.appendChild(C("span",null,"0"));var i={played:"played",buffer:"buffered"}[e],r=i?ne(i,this.config):"";n.innerText="% ".concat(r.toLowerCase())}return this.elements.display[e]=n,n},createTime:function(e){var t=A(this.config.selectors.display[e]),n=C("div",K(t,{class:"".concat(this.config.classNames.display.time," ").concat(t.class?t.class:"").trim(),"aria-label":ne(e,this.config)}),"00:00");return this.elements.display[e]=n,n},bindMenuItemShortcuts:function(e,t){var n=this;y(e,"keydown keyup",function(i){if([32,38,39,40].includes(i.which)&&(i.preventDefault(),i.stopPropagation(),"keydown"!==i.type)){var r,a=O(e,'[role="menuitemradio"]');!a&&[32,39].includes(i.which)?ue.showMenuPanel.call(n,t,!0):32!==i.which&&(40===i.which||a&&39===i.which?(r=e.nextElementSibling,m.element(r)||(r=e.parentNode.firstElementChild)):(r=e.previousElementSibling,m.element(r)||(r=e.parentNode.lastElementChild)),F.call(n,r,!0))}},!1),y(e,"keyup",function(e){13===e.which&&ue.focusFirstMenuItem.call(n,null,!0)})},createMenuItem:function(e){var t=this,n=e.value,i=e.list,r=e.type,a=e.title,o=e.badge,s=void 0===o?null:o,l=e.checked,c=void 0!==l&&l,u=A(this.config.selectors.inputs[r]),d=C("button",K(u,{type:"button",role:"menuitemradio",class:"".concat(this.config.classNames.control," ").concat(u.class?u.class:"").trim(),"aria-checked":c,value:n})),f=C("span");f.innerHTML=a,m.element(s)&&f.appendChild(s),d.appendChild(f),Object.defineProperty(d,"checked",{enumerable:!0,get:function(){return"true"===d.getAttribute("aria-checked")},set:function(e){e&&Array.from(d.parentNode.children).filter(function(e){return O(e,'[role="menuitemradio"]')}).forEach(function(e){return e.setAttribute("aria-checked","false")}),d.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(d,"click keyup",function(e){if(!m.keyboardEvent(e)||32===e.which){switch(e.preventDefault(),e.stopPropagation(),d.checked=!0,r){case"language":t.currentTrack=Number(n);break;case"quality":t.quality=n;break;case"speed":t.speed=parseFloat(n)}ue.showMenuPanel.call(t,"home",m.keyboardEvent(e))}},r,!1),ue.bindMenuItemShortcuts.call(this,d,r),i.appendChild(d)},formatTime:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return m.number(e)?ce(e,oe(this.duration)>0,t):e},updateTimeDisplay:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];m.element(e)&&m.number(t)&&(e.innerText=ue.formatTime(t,n))},updateVolume:function(){this.supported.ui&&(m.element(this.elements.inputs.volume)&&ue.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),m.element(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;m.element(e)&&(e.value=t,ue.updateRangeFill.call(this,e))},updateProgress:function(e){var t=this;if(this.supported.ui&&m.event(e)){var n,i,r=0;if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":n=this.currentTime,i=this.duration,r=0===n||0===i||Number.isNaN(n)||Number.isNaN(i)?0:(n/i*100).toFixed(2),"timeupdate"===e.type&&ue.setRange.call(this,this.elements.inputs.seek,r);break;case"playing":case"progress":!function(e,n){var i=m.number(n)?n:0,r=m.element(e)?e:t.elements.display.buffer;if(m.element(r)){r.value=i;var a=r.getElementsByTagName("span")[0];m.element(a)&&(a.childNodes[0].nodeValue=i)}}(this.elements.display.buffer,100*this.buffered)}}},updateRangeFill:function(e){var t=m.event(e)?e.target:e;if(m.element(t)&&"range"===t.getAttribute("type")){if(O(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);var n=ue.formatTime(this.currentTime),i=ue.formatTime(this.duration),r=ne("seekLabel",this.config);t.setAttribute("aria-valuetext",r.replace("{currentTime}",n).replace("{duration}",i))}else if(O(t,this.config.selectors.inputs.volume)){var a=100*t.value;t.setAttribute("aria-valuenow",a),t.setAttribute("aria-valuetext","".concat(a.toFixed(1),"%"))}else t.setAttribute("aria-valuenow",t.value);H.isWebkit&&t.style.setProperty("--value","".concat(t.value/t.max*100,"%"))}},updateSeekTooltip:function(e){var t=this;if(this.config.tooltips.seek&&m.element(this.elements.inputs.seek)&&m.element(this.elements.display.seekTooltip)&&0!==this.duration){var n=0,i=this.elements.progress.getBoundingClientRect(),r="".concat(this.config.classNames.tooltip,"--visible"),a=function(e){N(t.elements.display.seekTooltip,r,e)};if(this.touch)a(!1);else{if(m.event(e))n=100/i.width*(e.pageX-i.left);else{if(!D(this.elements.display.seekTooltip,r))return;n=parseFloat(this.elements.display.seekTooltip.style.left,10)}n<0?n=0:n>100&&(n=100),ue.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*n),this.elements.display.seekTooltip.style.left="".concat(n,"%"),m.event(e)&&["mouseenter","mouseleave"].includes(e.type)&&a("mouseenter"===e.type)}}},timeUpdate:function(e){var t=!m.element(this.elements.display.duration)&&this.config.invertTime;ue.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&"timeupdate"===e.type&&this.media.seeking||ue.updateProgress.call(this,e)},durationUpdate:function(){if(this.supported.ui&&(this.config.invertTime||!this.currentTime)){if(this.duration>=Math.pow(2,32))return L(this.elements.display.currentTime,!0),void L(this.elements.progress,!0);m.element(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);var e=m.element(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&ue.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&ue.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),ue.updateSeekTooltip.call(this)}},toggleMenuButton:function(e,t){L(this.elements.settings.buttons[e],!t)},updateSetting:function(e,t,n){var i=this.elements.settings.panels[e],r=null,a=t;if("captions"===e)r=this.currentTrack;else{if(r=m.empty(n)?this[e]:n,m.empty(r)&&(r=this.config[e].default),!m.empty(this.options[e])&&!this.options[e].includes(r))return void this.debug.warn("Unsupported value of '".concat(r,"' for ").concat(e));if(!this.config[e].options.includes(r))return void this.debug.warn("Disabled value of '".concat(r,"' for ").concat(e))}if(m.element(a)||(a=i&&i.querySelector('[role="menu"]')),m.element(a)){this.elements.settings.buttons[e].querySelector(".".concat(this.config.classNames.menu.value)).innerHTML=ue.getLabel.call(this,e,r);var o=a&&a.querySelector('[value="'.concat(r,'"]'));m.element(o)&&(o.checked=!0)}},getLabel:function(e,t){switch(e){case"speed":return 1===t?ne("normal",this.config):"".concat(t,"×");case"quality":if(m.number(t)){var n=ne("qualityLabel.".concat(t),this.config);return n.length?n:"".concat(t,"p")}return Q(t);case"captions":return pe.getLabel.call(this);default:return null}},setQualityMenu:function(e){var t=this;if(m.element(this.elements.settings.panels.quality)){var n=this.elements.settings.panels.quality.querySelector('[role="menu"]');m.array(e)&&(this.options.quality=G(e).filter(function(e){return t.config.quality.options.includes(e)}));var i=!m.empty(this.options.quality)&&this.options.quality.length>1;if(ue.toggleMenuButton.call(this,"quality",i),M(n),ue.checkMenu.call(this),i){var r=function(e){var n=ne("qualityBadge.".concat(e),t.config);return n.length?ue.createBadge.call(t,n):null};this.options.quality.sort(function(e,n){var i=t.config.quality.options;return i.indexOf(e)>i.indexOf(n)?1:-1}).forEach(function(e){ue.createMenuItem.call(t,{value:e,list:n,type:"quality",title:ue.getLabel.call(t,"quality",e),badge:r(e)})}),ue.updateSetting.call(this,"quality",n)}}},setCaptionsMenu:function(){var e=this;if(m.element(this.elements.settings.panels.captions)){var t=this.elements.settings.panels.captions.querySelector('[role="menu"]'),n=pe.getTracks.call(this),i=Boolean(n.length);if(ue.toggleMenuButton.call(this,"captions",i),M(t),ue.checkMenu.call(this),i){var r=n.map(function(n,i){return{value:i,checked:e.captions.toggled&&e.currentTrack===i,title:pe.getLabel.call(e,n),badge:n.language&&ue.createBadge.call(e,n.language.toUpperCase()),list:t,type:"language"}});r.unshift({value:-1,checked:!this.captions.toggled,title:ne("disabled",this.config),list:t,type:"language"}),r.forEach(ue.createMenuItem.bind(this)),ue.updateSetting.call(this,"captions",t)}}},setSpeedMenu:function(e){var t=this;if(m.element(this.elements.settings.panels.speed)){var n=this.elements.settings.panels.speed.querySelector('[role="menu"]');m.array(e)?this.options.speed=e:(this.isHTML5||this.isVimeo)&&(this.options.speed=[.5,.75,1,1.25,1.5,1.75,2]),this.options.speed=this.options.speed.filter(function(e){return t.config.speed.options.includes(e)});var i=!m.empty(this.options.speed)&&this.options.speed.length>1;ue.toggleMenuButton.call(this,"speed",i),M(n),ue.checkMenu.call(this),i&&(this.options.speed.forEach(function(e){ue.createMenuItem.call(t,{value:e,list:n,type:"speed",title:ue.getLabel.call(t,"speed",e)})}),ue.updateSetting.call(this,"speed",n))}},checkMenu:function(){var e=this.elements.settings.buttons,t=!m.empty(e)&&Object.values(e).some(function(e){return!e.hidden});L(this.elements.settings.menu,!t)},focusFirstMenuItem:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.elements.settings.popup.hidden){var n=e;m.element(n)||(n=Object.values(this.elements.settings.panels).find(function(e){return!e.hidden}));var i=n.querySelector('[role^="menuitem"]');F.call(this,i,t)}},toggleMenu:function(e){var t=this.elements.settings.popup,n=this.elements.buttons.settings;if(m.element(t)&&m.element(n)){var i=t.hidden,r=i;if(m.boolean(e))r=e;else if(m.keyboardEvent(e)&&27===e.which)r=!1;else if(m.event(e)){var a=t.contains(e.target);if(a||!a&&e.target!==n&&r)return}n.setAttribute("aria-expanded",r),L(t,!r),N(this.elements.container,this.config.classNames.menu.open,r),r&&m.keyboardEvent(e)?ue.focusFirstMenuItem.call(this,null,!0):r||i||F.call(this,n,m.keyboardEvent(e))}},getMenuSize:function(e){var t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);var n=t.scrollWidth,i=t.scrollHeight;return T(t),{width:n,height:i}},showMenuPanel:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=document.getElementById("plyr-settings-".concat(this.id,"-").concat(t));if(m.element(i)){var r=i.parentNode,a=Array.from(r.children).find(function(e){return!e.hidden});if(U.transitions&&!U.reducedMotion){r.style.width="".concat(a.scrollWidth,"px"),r.style.height="".concat(a.scrollHeight,"px");var o=ue.getMenuSize.call(this,i);y.call(this,r,R,function t(n){n.target===r&&["width","height"].includes(n.propertyName)&&(r.style.width="",r.style.height="",b.call(e,r,R,t))}),r.style.width="".concat(o.width,"px"),r.style.height="".concat(o.height,"px")}L(a,!0),L(i,!1),ue.focusFirstMenuItem.call(this,i,n)}},setDownloadLink:function(){var e=this.elements.buttons.download;m.element(e)&&e.setAttribute("href",this.download)},create:function(e){var t=this,n=C("div",A(this.config.selectors.controls.wrapper));if(this.config.controls.includes("restart")&&n.appendChild(ue.createButton.call(this,"restart")),this.config.controls.includes("rewind")&&n.appendChild(ue.createButton.call(this,"rewind")),this.config.controls.includes("play")&&n.appendChild(ue.createButton.call(this,"play")),this.config.controls.includes("fast-forward")&&n.appendChild(ue.createButton.call(this,"fast-forward")),this.config.controls.includes("progress")){var i=C("div",A(this.config.selectors.progress));if(i.appendChild(ue.createRange.call(this,"seek",{id:"plyr-seek-".concat(e.id)})),i.appendChild(ue.createProgress.call(this,"buffer")),this.config.tooltips.seek){var r=C("span",{class:this.config.classNames.tooltip},"00:00");i.appendChild(r),this.elements.display.seekTooltip=r}this.elements.progress=i,n.appendChild(this.elements.progress)}if(this.config.controls.includes("current-time")&&n.appendChild(ue.createTime.call(this,"currentTime")),this.config.controls.includes("duration")&&n.appendChild(ue.createTime.call(this,"duration")),this.config.controls.includes("mute")||this.config.controls.includes("volume")){var a=C("div",{class:"plyr__volume"});if(this.config.controls.includes("mute")&&a.appendChild(ue.createButton.call(this,"mute")),this.config.controls.includes("volume")){var o={max:1,step:.05,value:this.config.volume};a.appendChild(ue.createRange.call(this,"volume",K(o,{id:"plyr-volume-".concat(e.id)}))),this.elements.volume=a}n.appendChild(a)}if(this.config.controls.includes("captions")&&n.appendChild(ue.createButton.call(this,"captions")),this.config.controls.includes("settings")&&!m.empty(this.config.settings)){var s=C("div",{class:"plyr__menu",hidden:""});s.appendChild(ue.createButton.call(this,"settings",{"aria-haspopup":!0,"aria-controls":"plyr-settings-".concat(e.id),"aria-expanded":!1}));var l=C("div",{class:"plyr__menu__container",id:"plyr-settings-".concat(e.id),hidden:""}),c=C("div"),u=C("div",{id:"plyr-settings-".concat(e.id,"-home")}),d=C("div",{role:"menu"});u.appendChild(d),c.appendChild(u),this.elements.settings.panels.home=u,this.config.settings.forEach(function(n){var i=C("button",K(A(t.config.selectors.buttons.settings),{type:"button",class:"".concat(t.config.classNames.control," ").concat(t.config.classNames.control,"--forward"),role:"menuitem","aria-haspopup":!0,hidden:""}));ue.bindMenuItemShortcuts.call(t,i,n),y(i,"click",function(){ue.showMenuPanel.call(t,n,!1)});var r=C("span",null,ne(n,t.config)),a=C("span",{class:t.config.classNames.menu.value});a.innerHTML=e[n],r.appendChild(a),i.appendChild(r),d.appendChild(i);var o=C("div",{id:"plyr-settings-".concat(e.id,"-").concat(n),hidden:""}),s=C("button",{type:"button",class:"".concat(t.config.classNames.control," ").concat(t.config.classNames.control,"--back")});s.appendChild(C("span",{"aria-hidden":!0},ne(n,t.config))),s.appendChild(C("span",{class:t.config.classNames.hidden},ne("menuBack",t.config))),y(o,"keydown",function(e){37===e.which&&(e.preventDefault(),e.stopPropagation(),ue.showMenuPanel.call(t,"home",!0))},!1),y(s,"click",function(){ue.showMenuPanel.call(t,"home",!1)}),o.appendChild(s),o.appendChild(C("div",{role:"menu"})),c.appendChild(o),t.elements.settings.buttons[n]=i,t.elements.settings.panels[n]=o}),l.appendChild(c),s.appendChild(l),n.appendChild(s),this.elements.settings.popup=l,this.elements.settings.menu=s}if(this.config.controls.includes("pip")&&U.pip&&n.appendChild(ue.createButton.call(this,"pip")),this.config.controls.includes("airplay")&&U.airplay&&n.appendChild(ue.createButton.call(this,"airplay")),this.config.controls.includes("download")){var f={element:"a",href:this.download,target:"_blank"},p=this.config.urls.download;!m.url(p)&&this.isEmbed&&K(f,{icon:"logo-".concat(this.provider),label:this.provider}),n.appendChild(ue.createButton.call(this,"download",f))}return this.config.controls.includes("fullscreen")&&n.appendChild(ue.createButton.call(this,"fullscreen")),this.config.controls.includes("play-large")&&this.elements.container.appendChild(ue.createButton.call(this,"play-large")),this.elements.controls=n,this.isHTML5&&ue.setQualityMenu.call(this,V.getQualityOptions.call(this)),ue.setSpeedMenu.call(this),n},inject:function(){var e=this;if(this.config.loadSprite){var t=ue.getIconUrl.call(this);t.cors&&ae(t.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());var n=null;this.elements.controls=null;var i={id:this.id,seektime:this.config.seekTime,title:this.config.title},r=!0;m.function(this.config.controls)&&(this.config.controls=this.config.controls.call(this,i)),this.config.controls||(this.config.controls=[]),m.element(this.config.controls)||m.string(this.config.controls)?n=this.config.controls:(n=ue.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:pe.getLabel.call(this)}),r=!1);var o,s=function(e){var t=e;return Object.entries(i).forEach(function(e){var n=a(e,2),i=n[0],r=n[1];t=Z(t,"{".concat(i,"}"),r)}),t};if(r&&(m.string(this.config.controls)?n=s(n):m.element(n)&&(n.innerHTML=s(n.innerHTML))),m.string(this.config.selectors.controls.container)&&(o=document.querySelector(this.config.selectors.controls.container)),m.element(o)||(o=this.elements.container),o[m.element(n)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",n),m.element(this.elements.controls)||ue.findElements.call(this),!m.empty(this.elements.buttons)){var l=function(t){var n=e.config.classNames.controlPressed;Object.defineProperty(t,"pressed",{enumerable:!0,get:function(){return D(t,n)},set:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];N(t,n,e)}})};Object.values(this.elements.buttons).filter(Boolean).forEach(function(e){m.array(e)||m.nodeList(e)?Array.from(e).filter(Boolean).forEach(l):l(e)})}if(window.navigator.userAgent.includes("Edge")&&q(o),this.config.tooltips.controls){var c=this.config,u=c.classNames,d=c.selectors,f="".concat(d.controls.wrapper," ").concat(d.labels," .").concat(u.hidden),p=P.call(this,f);Array.from(p).forEach(function(t){N(t,e.config.classNames.hidden,!1),N(t,e.config.classNames.tooltip,!0)})}}};function de(e){var t=e;if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]){var n=document.createElement("a");n.href=t,t=n.href}try{return new URL(t)}catch(e){return null}}function fe(e){var t=new URLSearchParams;return m.object(e)&&Object.entries(e).forEach(function(e){var n=a(e,2),i=n[0],r=n[1];t.set(i,r)}),t}var pe={setup:function(){if(this.supported.ui)if(!this.isVideo||this.isYouTube||this.isHTML5&&!U.textTracks)m.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&ue.setCaptionsMenu.call(this);else{var e,t;if(m.element(this.elements.captions)||(this.elements.captions=C("div",A(this.config.selectors.captions)),e=this.elements.captions,t=this.elements.wrapper,m.element(e)&&m.element(t)&&t.parentNode.insertBefore(e,t.nextSibling)),H.isIE&&window.URL){var n=this.media.querySelectorAll("track");Array.from(n).forEach(function(e){var t=e.getAttribute("src"),n=de(t);null!==n&&n.hostname!==window.location.href.hostname&&["http:","https:"].includes(n.protocol)&&re(t,"blob").then(function(t){e.setAttribute("src",window.URL.createObjectURL(t))}).catch(function(){T(e)})})}var i=G((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map(function(e){return e.split("-")[0]})),r=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===r&&(r=a(i,1)[0]);var o=this.storage.get("captions");if(m.boolean(o)||(o=this.config.captions.active),Object.assign(this.captions,{toggled:!1,active:o,language:r,languages:i}),this.isHTML5){var s=this.config.captions.update?"addtrack removetrack":"removetrack";y.call(this,this.media.textTracks,s,pe.update.bind(this))}setTimeout(pe.update.bind(this),0)}},update:function(){var e=this,t=pe.getTracks.call(this,!0),n=this.captions,i=n.active,r=n.language,a=n.meta,o=n.currentTrackNode,s=Boolean(t.find(function(e){return e.language===r}));this.isHTML5&&this.isVideo&&t.filter(function(e){return!a.get(e)}).forEach(function(t){e.debug.log("Track added",t),a.set(t,{default:"showing"===t.mode}),t.mode="hidden",y.call(e,t,"cuechange",function(){return pe.updateCues.call(e)})}),(s&&this.language!==r||!t.includes(o))&&(pe.setLanguage.call(this,r),pe.toggle.call(this,i&&s)),N(this.elements.container,this.config.classNames.captions.enabled,!m.empty(t)),(this.config.controls||[]).includes("settings")&&this.config.settings.includes("captions")&&ue.setCaptionsMenu.call(this)},toggle:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.supported.ui){var n=this.captions.toggled,i=this.config.classNames.captions.active,r=m.nullOrUndefined(e)?!n:e;if(r!==n){if(t||(this.captions.active=r,this.storage.set({captions:r})),!this.language&&r&&!t){var a=pe.getTracks.call(this),s=pe.findTrack.call(this,[this.captions.language].concat(o(this.captions.languages)),!0);return this.captions.language=s.language,void pe.set.call(this,a.indexOf(s))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=r),N(this.elements.container,i,r),this.captions.toggled=r,ue.updateSetting.call(this,"captions"),x.call(this,this.media,r?"captionsenabled":"captionsdisabled")}}},set:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=pe.getTracks.call(this);if(-1!==e)if(m.number(e))if(e in n){if(this.captions.currentTrack!==e){this.captions.currentTrack=e;var i=n[e],r=(i||{}).language;this.captions.currentTrackNode=i,ue.updateSetting.call(this,"captions"),t||(this.captions.language=r,this.storage.set({language:r})),this.isVimeo&&this.embed.enableTextTrack(r),x.call(this,this.media,"languagechange")}pe.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&pe.updateCues.call(this)}else this.debug.warn("Track not found",e);else this.debug.warn("Invalid caption argument",e);else pe.toggle.call(this,!1,t)},setLanguage:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(m.string(e)){var n=e.toLowerCase();this.captions.language=n;var i=pe.getTracks.call(this),r=pe.findTrack.call(this,[n]);pe.set.call(this,i.indexOf(r),t)}else this.debug.warn("Invalid language argument",e)},getTracks:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Array.from((this.media||{}).textTracks||[]).filter(function(n){return!e.isHTML5||t||e.captions.meta.has(n)}).filter(function(e){return["captions","subtitles"].includes(e.kind)})},findTrack:function(e){var t,n=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=pe.getTracks.call(this),a=function(e){return Number((n.captions.meta.get(e)||{}).default)},o=Array.from(r).sort(function(e,t){return a(t)-a(e)});return e.every(function(e){return!(t=o.find(function(t){return t.language===e}))}),t||(i?o[0]:void 0)},getCurrentTrack:function(){return pe.getTracks.call(this)[this.currentTrack]},getLabel:function(e){var t=e;return!m.track(t)&&U.textTracks&&this.captions.toggled&&(t=pe.getCurrentTrack.call(this)),m.track(t)?m.empty(t.label)?m.empty(t.language)?ne("enabled",this.config):e.language.toUpperCase():t.label:ne("disabled",this.config)},updateCues:function(e){if(this.supported.ui)if(m.element(this.elements.captions))if(m.nullOrUndefined(e)||Array.isArray(e)){var t=e;if(!t){var n=pe.getCurrentTrack.call(this);t=Array.from((n||{}).activeCues||[]).map(function(e){return e.getCueAsHTML()}).map(ee)}var i=t.map(function(e){return e.trim()}).join("\n");if(i!==this.elements.captions.innerHTML){M(this.elements.captions);var r=C("span",A(this.config.selectors.caption));r.innerHTML=i,this.elements.captions.appendChild(r),x.call(this,this.media,"cuechange")}}else this.debug.warn("updateCues: Invalid input",e);else this.debug.warn("No captions element to render to")}},he={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:"16:9",clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.4.8/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240]},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/v2/video/{0}.json"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://www.googleapis.com/youtube/v3/videos?id={0}&key={1}&fields=items(snippet(title))&part=snippet"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption",menu:{quality:".js-plyr__menu__list--quality"}},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus"},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id"}},keys:{google:null},ads:{enabled:!1,publisherId:""}},me="picture-in-picture",ge="inline",ve={html5:"html5",youtube:"youtube",vimeo:"vimeo"},ye={audio:"audio",video:"video"},be=function(){},we=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e(this,t),this.enabled=window.console&&n,this.enabled&&this.log("Debugging enabled")}return i(t,[{key:"log",get:function(){return this.enabled?Function.prototype.bind.call(console.log,console):be}},{key:"warn",get:function(){return this.enabled?Function.prototype.bind.call(console.warn,console):be}},{key:"error",get:function(){return this.enabled?Function.prototype.bind.call(console.error,console):be}}]),t}();function xe(){if(this.enabled){var e=this.player.elements.buttons.fullscreen;m.element(e)&&(e.pressed=this.active),x.call(this.player,this.target,this.active?"enterfullscreen":"exitfullscreen",!0),H.isIos||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(m.element(e)){var n=P.call(this,"button:not(:disabled), input:not(:disabled), [tabindex]"),i=n[0],r=n[n.length-1];v.call(this,this.elements.container,"keydown",function(e){if("Tab"===e.key&&9===e.keyCode){var t=document.activeElement;t!==r||e.shiftKey?t===i&&e.shiftKey&&(r.focus(),e.preventDefault()):(i.focus(),e.preventDefault())}},t,!1)}}.call(this.player,this.target,this.active)}}function ke(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(t?this.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=t?"hidden":"",N(this.target,this.player.config.classNames.fullscreen.fallback,t),H.isIos){var n=document.head.querySelector('meta[name="viewport"]'),i="viewport-fit=cover";n||(n=document.createElement("meta")).setAttribute("name","viewport");var r=m.string(n.content)&&n.content.includes(i);t?(this.cleanupViewport=!r,r||(n.content+=",".concat(i))):this.cleanupViewport&&(n.content=n.content.split(",").filter(function(e){return e.trim()!==i}).join(",")),setTimeout(function(){return q(e.target)},100)}xe.call(this)}var _e=function(){function t(n){var i=this;e(this,t),this.player=n,this.prefix=t.prefix,this.property=t.property,this.scrollPosition={x:0,y:0},y.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":"".concat(this.prefix,"fullscreenchange"),function(){xe.call(i)}),y.call(this.player,this.player.elements.container,"dblclick",function(e){m.element(i.player.elements.controls)&&i.player.elements.controls.contains(e.target)||i.toggle()}),this.update()}return i(t,[{key:"update",value:function(){this.enabled?this.player.debug.log("".concat(t.native?"Native":"Fallback"," fullscreen enabled")):this.player.debug.log("Fullscreen not supported and fallback disabled"),N(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.enabled)}},{key:"enter",value:function(){this.enabled&&(H.isIos&&this.player.config.fullscreen.iosNative?this.target.webkitEnterFullscreen():t.native?this.prefix?m.empty(this.prefix)||this.target["".concat(this.prefix,"Request").concat(this.property)]():this.target.requestFullscreen():ke.call(this,!0))}},{key:"exit",value:function(){if(this.enabled)if(H.isIos&&this.player.config.fullscreen.iosNative)this.target.webkitExitFullscreen(),this.player.play();else if(t.native)if(this.prefix){if(!m.empty(this.prefix)){var e="moz"===this.prefix?"Cancel":"Exit";document["".concat(this.prefix).concat(e).concat(this.property)]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document);else ke.call(this,!1)}},{key:"toggle",value:function(){this.active?this.exit():this.enter()}},{key:"enabled",get:function(){return(t.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}},{key:"active",get:function(){return!!this.enabled&&(t.native?(this.prefix?document["".concat(this.prefix).concat(this.property,"Element")]:document.fullscreenElement)===this.target:D(this.target,this.player.config.classNames.fullscreen.fallback))}},{key:"target",get:function(){return H.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.container}}],[{key:"native",get:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},{key:"prefix",get:function(){if(m.function(document.exitFullscreen))return"";var e="";return["webkit","moz","ms"].some(function(t){return!(!m.function(document["".concat(t,"ExitFullscreen")])&&!m.function(document["".concat(t,"CancelFullScreen")]))&&(e=t,!0)}),e}},{key:"property",get:function(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}}]),t}();function Ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Promise(function(n,i){var r=new Image,a=function(){delete r.onload,delete r.onerror,(r.naturalWidth>=t?n:i)(r)};Object.assign(r,{onload:a,onerror:a,src:e})})}var Se={addStyleHook:function(){N(this.elements.container,this.config.selectors.container.replace(".",""),!0),N(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build:function(){var e=this;if(this.listeners.media(),!this.supported.ui)return this.debug.warn("Basic support only for ".concat(this.provider," ").concat(this.type)),void Se.toggleNativeControls.call(this,!0);m.element(this.elements.controls)||(ue.inject.call(this),this.listeners.controls()),Se.toggleNativeControls.call(this),this.isHTML5&&pe.setup.call(this),this.volume=null,this.muted=null,this.speed=null,this.loop=null,this.quality=null,ue.updateVolume.call(this),ue.timeUpdate.call(this),Se.checkPlaying.call(this),N(this.elements.container,this.config.classNames.pip.supported,U.pip&&this.isHTML5&&this.isVideo),N(this.elements.container,this.config.classNames.airplay.supported,U.airplay&&this.isHTML5),N(this.elements.container,this.config.classNames.isIos,H.isIos),N(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout(function(){x.call(e,e.media,"ready")},0),Se.setTitle.call(this),this.poster&&Se.setPoster.call(this,this.poster,!1).catch(function(){}),this.config.duration&&ue.durationUpdate.call(this)},setTitle:function(){var e=ne("play",this.config);if(m.string(this.config.title)&&!m.empty(this.config.title)&&(e+=", ".concat(this.config.title)),Array.from(this.elements.buttons.play||[]).forEach(function(t){t.setAttribute("aria-label",e)}),this.isEmbed){var t=I.call(this,"iframe");if(!m.element(t))return;var n=m.empty(this.config.title)?"video":this.config.title,i=ne("frameTitle",this.config);t.setAttribute("title",i.replace("{title}",n))}},togglePoster:function(e){N(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster:function(e){var t=this;return arguments.length>1&&void 0!==arguments[1]&&!arguments[1]||!this.poster?(this.media.setAttribute("poster",e),function(){var e=this;return new Promise(function(t){return e.ready?setTimeout(t,0):y.call(e,e.elements.container,"ready",t)}).then(function(){})}.call(this).then(function(){return Ce(e)}).catch(function(n){throw e===t.poster&&Se.togglePoster.call(t,!1),n}).then(function(){if(e!==t.poster)throw new Error("setPoster cancelled by later call to setPoster")}).then(function(){return Object.assign(t.elements.poster.style,{backgroundImage:"url('".concat(e,"')"),backgroundSize:""}),Se.togglePoster.call(t,!0),e})):Promise.reject(new Error("Poster already set"))},checkPlaying:function(e){var t=this;N(this.elements.container,this.config.classNames.playing,this.playing),N(this.elements.container,this.config.classNames.paused,this.paused),N(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach(function(e){e.pressed=t.playing}),m.event(e)&&"timeupdate"===e.type||Se.toggleControls.call(this)},checkLoading:function(e){var t=this;this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout(function(){N(t.elements.container,t.config.classNames.loading,t.loading),Se.toggleControls.call(t)},this.loading?250:0)},toggleControls:function(e){var t=this.elements.controls;if(t&&this.config.hideControls){var n=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(e||this.loading||this.paused||t.pressed||t.hover||n))}}},Te=function(){function t(n){e(this,t),this.player=n,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}return i(t,[{key:"handleKey",value:function(e){var t=this.player,n=t.elements,i=e.keyCode?e.keyCode:e.which,r="keydown"===e.type,a=r&&i===this.lastKey;if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)&&m.number(i))if(r){var o=document.activeElement;if(m.element(o)){var s=t.config.selectors.editable;if(o!==n.inputs.seek&&O(o,s))return;if(32===e.which&&O(o,'button, [role^="menuitem"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(i)&&(e.preventDefault(),e.stopPropagation()),i){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:a||(t.currentTime=t.duration/10*(i-48));break;case 32:case 75:a||t.togglePlay();break;case 38:t.increaseVolume(.1);break;case 40:t.decreaseVolume(.1);break;case 77:a||(t.muted=!t.muted);break;case 39:t.forward();break;case 37:t.rewind();break;case 70:t.fullscreen.toggle();break;case 67:a||t.toggleCaptions();break;case 76:t.loop=!t.loop}!t.fullscreen.enabled&&t.fullscreen.active&&27===i&&t.fullscreen.toggle(),this.lastKey=i}else this.lastKey=null}},{key:"toggleMenu",value:function(e){ue.toggleMenu.call(this.player,e)}},{key:"firstTouch",value:function(){var e=this.player,t=e.elements;e.touch=!0,N(t.container,e.config.classNames.isTouch,!0)}},{key:"setTabFocus",value:function(e){var t=this.player,n=t.elements;if(clearTimeout(this.focusTimer),"keydown"!==e.type||9===e.which){"keydown"===e.type&&(this.lastKeyDown=e.timeStamp);var i,r=e.timeStamp-this.lastKeyDown<=20;("focus"!==e.type||r)&&(i=t.config.classNames.tabFocus,N(P.call(t,".".concat(i)),i,!1),this.focusTimer=setTimeout(function(){var e=document.activeElement;n.container.contains(e)&&N(document.activeElement,t.config.classNames.tabFocus,!0)},10))}}},{key:"global",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.player;t.config.keyboard.global&&v.call(t,window,"keydown keyup",this.handleKey,e,!1),v.call(t,document.body,"click",this.toggleMenu,e),w.call(t,document.body,"touchstart",this.firstTouch),v.call(t,document.body,"keydown focus blur",this.setTabFocus,e,!1,!0)}},{key:"container",value:function(){var e=this.player,t=e.elements;!e.config.keyboard.global&&e.config.keyboard.focused&&y.call(e,t.container,"keydown keyup",this.handleKey,!1),y.call(e,t.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",function(n){var i=t.controls;i&&"enterfullscreen"===n.type&&(i.pressed=!1,i.hover=!1);var r=0;["touchstart","touchmove","mousemove"].includes(n.type)&&(Se.toggleControls.call(e,!0),r=e.touch?3e3:2e3),clearTimeout(e.timers.controls),e.timers.controls=setTimeout(function(){return Se.toggleControls.call(e,!1)},r)})}},{key:"media",value:function(){var e=this.player,t=e.elements;if(y.call(e,e.media,"timeupdate seeking seeked",function(t){return ue.timeUpdate.call(e,t)}),y.call(e,e.media,"durationchange loadeddata loadedmetadata",function(t){return ue.durationUpdate.call(e,t)}),y.call(e,e.media,"canplay loadeddata",function(){L(t.volume,!e.hasAudio),L(t.buttons.mute,!e.hasAudio)}),y.call(e,e.media,"ended",function(){e.isHTML5&&e.isVideo&&e.config.resetOnEnd&&e.restart()}),y.call(e,e.media,"progress playing seeking seeked",function(t){return ue.updateProgress.call(e,t)}),y.call(e,e.media,"volumechange",function(t){return ue.updateVolume.call(e,t)}),y.call(e,e.media,"playing play pause ended emptied timeupdate",function(t){return Se.checkPlaying.call(e,t)}),y.call(e,e.media,"waiting canplay seeked playing",function(t){return Se.checkLoading.call(e,t)}),y.call(e,e.media,"playing",function(){e.ads&&e.ads.enabled&&!e.ads.initialized&&e.ads.managerPromise.then(function(){return e.ads.play()}).catch(function(){return e.play()})}),e.supported.ui&&e.config.clickToPlay&&!e.isAudio){var n=I.call(e,".".concat(e.config.classNames.video));if(!m.element(n))return;y.call(e,t.container,"click",function(i){([t.container,n].includes(i.target)||n.contains(i.target))&&(e.touch&&e.config.hideControls||(e.ended?(e.restart(),e.play()):e.togglePlay()))})}e.supported.ui&&e.config.disableContextMenu&&y.call(e,t.wrapper,"contextmenu",function(e){e.preventDefault()},!1),y.call(e,e.media,"volumechange",function(){e.storage.set({volume:e.volume,muted:e.muted})}),y.call(e,e.media,"ratechange",function(){ue.updateSetting.call(e,"speed"),e.storage.set({speed:e.speed})}),y.call(e,e.media,"qualitychange",function(t){ue.updateSetting.call(e,"quality",null,t.detail.quality)}),y.call(e,e.media,"ready qualitychange",function(){ue.setDownloadLink.call(e)});var i=e.config.events.concat(["keyup","keydown"]).join(" ");y.call(e,e.media,i,function(n){var i=n.detail,r=void 0===i?{}:i;"error"===n.type&&(r=e.media.error),x.call(e,t.container,n.type,!0,r)})}},{key:"proxy",value:function(e,t,n){var i=this.player,r=i.config.listeners[n],a=!0;m.function(r)&&(a=r.call(i,e)),a&&m.function(t)&&t.call(i,e)}},{key:"bind",value:function(e,t,n,i){var r=this,a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=this.player,s=o.config.listeners[i],l=m.function(s);y.call(o,e,t,function(e){return r.proxy(e,n,i)},a&&!l)}},{key:"controls",value:function(){var e=this,t=this.player,n=t.elements,i=H.isIE?"change":"input";if(n.buttons.play&&Array.from(n.buttons.play).forEach(function(n){e.bind(n,"click",t.togglePlay,"play")}),this.bind(n.buttons.restart,"click",t.restart,"restart"),this.bind(n.buttons.rewind,"click",t.rewind,"rewind"),this.bind(n.buttons.fastForward,"click",t.forward,"fastForward"),this.bind(n.buttons.mute,"click",function(){t.muted=!t.muted},"mute"),this.bind(n.buttons.captions,"click",function(){return t.toggleCaptions()}),this.bind(n.buttons.download,"click",function(){x.call(t,t.media,"download")},"download"),this.bind(n.buttons.fullscreen,"click",function(){t.fullscreen.toggle()},"fullscreen"),this.bind(n.buttons.pip,"click",function(){t.pip="toggle"},"pip"),this.bind(n.buttons.airplay,"click",t.airplay,"airplay"),this.bind(n.buttons.settings,"click",function(e){e.stopPropagation(),ue.toggleMenu.call(t,e)}),this.bind(n.buttons.settings,"keyup",function(e){var n=e.which;[13,32].includes(n)&&(13!==n?(e.preventDefault(),e.stopPropagation(),ue.toggleMenu.call(t,e)):ue.focusFirstMenuItem.call(t,null,!0))},null,!1),this.bind(n.settings.menu,"keydown",function(e){27===e.which&&ue.toggleMenu.call(t,e)}),this.bind(n.inputs.seek,"mousedown mousemove",function(e){var t=n.progress.getBoundingClientRect(),i=100/t.width*(e.pageX-t.left);e.currentTarget.setAttribute("seek-value",i)}),this.bind(n.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",function(e){var n=e.currentTarget,i=e.keyCode?e.keyCode:e.which;if(!m.keyboardEvent(e)||39===i||37===i){t.lastSeekTime=Date.now();var r=n.hasAttribute("play-on-seeked"),a=["mouseup","touchend","keyup"].includes(e.type);r&&a?(n.removeAttribute("play-on-seeked"),t.play()):!a&&t.playing&&(n.setAttribute("play-on-seeked",""),t.pause())}}),H.isIos){var r=P.call(t,'input[type="range"]');Array.from(r).forEach(function(t){return e.bind(t,i,function(e){return q(e.target)})})}this.bind(n.inputs.seek,i,function(e){var n=e.currentTarget,i=n.getAttribute("seek-value");m.empty(i)&&(i=n.value),n.removeAttribute("seek-value"),t.currentTime=i/n.max*t.duration},"seek"),this.bind(n.progress,"mouseenter mouseleave mousemove",function(e){return ue.updateSeekTooltip.call(t,e)}),H.isWebkit&&Array.from(P.call(t,'input[type="range"]')).forEach(function(n){e.bind(n,"input",function(e){return ue.updateRangeFill.call(t,e.target)})}),t.config.toggleInvert&&!m.element(n.display.duration)&&this.bind(n.display.currentTime,"click",function(){0!==t.currentTime&&(t.config.invertTime=!t.config.invertTime,ue.timeUpdate.call(t))}),this.bind(n.inputs.volume,i,function(e){t.volume=e.target.value},"volume"),this.bind(n.controls,"mouseenter mouseleave",function(e){n.controls.hover=!t.touch&&"mouseenter"===e.type}),this.bind(n.controls,"mousedown mouseup touchstart touchend touchcancel",function(e){n.controls.pressed=["mousedown","touchstart"].includes(e.type)}),this.bind(n.controls,"focusin",function(){var n=t.config,i=t.elements,r=t.timers;N(i.controls,n.classNames.noTransition,!0),Se.toggleControls.call(t,!0),setTimeout(function(){N(i.controls,n.classNames.noTransition,!1)},0);var a=e.touch?3e3:4e3;clearTimeout(r.controls),r.controls=setTimeout(function(){return Se.toggleControls.call(t,!1)},a)}),this.bind(n.inputs.volume,"wheel",function(e){var n=e.webkitDirectionInvertedFromDevice,i=a([e.deltaX,-e.deltaY].map(function(e){return n?-e:e}),2),r=i[0],o=i[1],s=Math.sign(Math.abs(r)>Math.abs(o)?r:o);t.increaseVolume(s/50);var l=t.media.volume;(1===s&&l<1||-1===s&&l>0)&&e.preventDefault()},"volume",!1)}}]),t}();"undefined"!=typeof window?window:"undefined"!=typeof t||"undefined"!=typeof self&&self;var Me,Ee=(function(e,t){e.exports=function(){var e=function(){},t={},n={},i={};function r(e,t){if(e){var r=i[e];if(n[e]=t,r)for(;r.length;)r[0](e,t),r.splice(0,1)}}function a(t,n){t.call&&(t={success:t}),n.length?(t.error||e)(n):(t.success||e)(t)}function o(t,n,i,r){var a,s,l=document,c=i.async,u=(i.numRetries||0)+1,d=i.before||e,f=t.replace(/^(css|img)!/,"");r=r||0,/(^css!|\.css$)/.test(t)?(a=!0,(s=l.createElement("link")).rel="stylesheet",s.href=f):/(^img!|\.(png|gif|jpg|svg)$)/.test(t)?(s=l.createElement("img")).src=f:((s=l.createElement("script")).src=t,s.async=void 0===c||c),s.onload=s.onerror=s.onbeforeload=function(e){var l=e.type[0];if(a&&"hideFocus"in s)try{s.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l&&(r+=1)r[1]?"width":"height";n.style[o]=i?"".concat(Ne.padding,"%"):null}}),setTimeout(function(){return Se.build.call(t)},0)}};function De(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,x.call(this,this.media,e?"play":"pause"))}var Oe,Pe={setup:function(){var e=this;N(this.elements.wrapper,this.config.classNames.embed,!0),Pe.setAspectRatio.call(this),m.object(window.YT)&&m.function(window.YT.Player)?Pe.ready.call(this):(Ae(this.config.urls.youtube.sdk).catch(function(t){e.debug.warn("YouTube API failed to load",t)}),window.onYouTubeReadyCallbacks=window.onYouTubeReadyCallbacks||[],window.onYouTubeReadyCallbacks.push(function(){Pe.ready.call(e)}),window.onYouTubeIframeAPIReady=function(){window.onYouTubeReadyCallbacks.forEach(function(e){e()})})},getTitle:function(e){var t=this;if(m.function(this.embed.getVideoData)){var n=this.embed.getVideoData().title;if(m.empty(n))return this.config.title=n,void Se.setTitle.call(this)}var i=this.config.keys.google;m.string(i)&&!m.empty(i)&&re(Y(this.config.urls.youtube.api,e,i)).then(function(e){m.object(e)&&(t.config.title=e.items[0].snippet.title,Se.setTitle.call(t))}).catch(function(){})},setAspectRatio:function(){var e=this.config.ratio.split(":");this.elements.wrapper.style.paddingBottom="".concat(100/e[0]*e[1],"%")},ready:function(){var e=this,t=e.media.getAttribute("id");if(m.empty(t)||!t.startsWith("youtube-")){var n=e.media.getAttribute("src");m.empty(n)&&(n=e.media.getAttribute(this.config.attributes.embed.id));var i,r,a=(i=n,m.empty(i)?null:i.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:i),o=(r=e.provider,"".concat(r,"-").concat(Math.floor(1e4*Math.random()))),s=C("div",{id:o,poster:e.poster});e.media=E(s,e.media);var l=function(e){return"https://img.youtube.com/vi/".concat(a,"/").concat(e,"default.jpg")};Ce(l("maxres"),121).catch(function(){return Ce(l("sd"),121)}).catch(function(){return Ce(l("hq"))}).then(function(t){return Se.setPoster.call(e,t.src)}).then(function(t){t.includes("maxres")||(e.elements.poster.style.backgroundSize="cover")}).catch(function(){}),e.embed=new window.YT.Player(o,{videoId:a,playerVars:{autoplay:e.config.autoplay?1:0,hl:e.config.hl,controls:e.supported.ui?0:1,rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,disablekb:1,playsinline:1,widget_referrer:window?window.location.href:null,cc_load_policy:e.captions.active?1:0,cc_lang_pref:e.config.captions.language},events:{onError:function(t){if(!e.media.error){var n=t.data,i={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[n]||"An unknown error occured";e.media.error={code:n,message:i},x.call(e,e.media,"error")}},onPlaybackRateChange:function(t){var n=t.target;e.media.playbackRate=n.getPlaybackRate(),x.call(e,e.media,"ratechange")},onReady:function(t){if(!m.function(e.media.play)){var n=t.target;Pe.getTitle.call(e,a),e.media.play=function(){De.call(e,!0),n.playVideo()},e.media.pause=function(){De.call(e,!1),n.pauseVideo()},e.media.stop=function(){n.stopVideo()},e.media.duration=n.getDuration(),e.media.paused=!0,e.media.currentTime=0,Object.defineProperty(e.media,"currentTime",{get:function(){return Number(n.getCurrentTime())},set:function(t){e.paused&&!e.embed.hasPlayed&&e.embed.mute(),e.media.seeking=!0,x.call(e,e.media,"seeking"),n.seekTo(t)}}),Object.defineProperty(e.media,"playbackRate",{get:function(){return n.getPlaybackRate()},set:function(e){n.setPlaybackRate(e)}});var i=e.config.volume;Object.defineProperty(e.media,"volume",{get:function(){return i},set:function(t){i=t,n.setVolume(100*i),x.call(e,e.media,"volumechange")}});var r=e.config.muted;Object.defineProperty(e.media,"muted",{get:function(){return r},set:function(t){var i=m.boolean(t)?t:r;r=i,n[i?"mute":"unMute"](),x.call(e,e.media,"volumechange")}}),Object.defineProperty(e.media,"currentSrc",{get:function(){return n.getVideoUrl()}}),Object.defineProperty(e.media,"ended",{get:function(){return e.currentTime===e.duration}}),e.options.speed=n.getAvailablePlaybackRates(),e.supported.ui&&e.media.setAttribute("tabindex",-1),x.call(e,e.media,"timeupdate"),x.call(e,e.media,"durationchange"),clearInterval(e.timers.buffering),e.timers.buffering=setInterval(function(){e.media.buffered=n.getVideoLoadedFraction(),(null===e.media.lastBuffered||e.media.lastBuffered0&&void 0!==arguments[0]&&arguments[0]))return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");this.countdownTimer=setInterval(function(){var t=ce(Math.max(e.manager.getRemainingTime(),0)),n="".concat(ne("advertisement",e.player.config)," - ").concat(t);e.elements.container.setAttribute("data-badge-text",n)},100)}},{key:"onAdsManagerLoaded",value:function(e){var t=this;if(this.enabled){var n=new google.ima.AdsRenderingSettings;n.restoreCustomPlaybackStateOnAdBreakComplete=!0,n.enablePreloading=!0,this.manager=e.getAdsManager(this.player,n),this.cuePoints=this.manager.getCuePoints(),m.empty(this.cuePoints)||this.cuePoints.forEach(function(e){if(0!==e&&-1!==e&&e1?n-1:0),r=1;r1&&void 0!==arguments[1]&&arguments[1];if(this.ready){var i=function(){document.body.style.overflow="",t.embed=null,n?(Object.keys(t.elements).length&&(T(t.elements.buttons.play),T(t.elements.captions),T(t.elements.controls),T(t.elements.wrapper),t.elements.buttons.play=null,t.elements.captions=null,t.elements.controls=null,t.elements.wrapper=null),m.function(e)&&e()):(function(){this&&this.eventListeners&&(this.eventListeners.forEach(function(e){var t=e.element,n=e.type,i=e.callback,r=e.options;t.removeEventListener(n,i,r)}),this.eventListeners=[])}.call(t),E(t.elements.original,t.elements.container),x.call(t,t.elements.original,"destroyed",!0),m.function(e)&&e.call(t.elements.original),t.ready=!1,setTimeout(function(){t.elements=null,t.media=null},200))};this.stop(),this.isHTML5?(clearTimeout(this.timers.loading),Se.toggleNativeControls.call(this,!0),i()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&m.function(this.embed.destroy)&&this.embed.destroy(),i()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(i),setTimeout(i,200))}}},{key:"supports",value:function(e){return U.mime.call(this,e)}},{key:"isHTML5",get:function(){return Boolean(this.provider===ve.html5)}},{key:"isEmbed",get:function(){return Boolean(this.isYouTube||this.isVimeo)}},{key:"isYouTube",get:function(){return Boolean(this.provider===ve.youtube)}},{key:"isVimeo",get:function(){return Boolean(this.provider===ve.vimeo)}},{key:"isVideo",get:function(){return Boolean(this.type===ye.video)}},{key:"isAudio",get:function(){return Boolean(this.type===ye.audio)}},{key:"playing",get:function(){return Boolean(this.ready&&!this.paused&&!this.ended)}},{key:"paused",get:function(){return Boolean(this.media.paused)}},{key:"stopped",get:function(){return Boolean(this.paused&&0===this.currentTime)}},{key:"ended",get:function(){return Boolean(this.media.ended)}},{key:"currentTime",set:function(e){if(this.duration){var t=m.number(e)&&e>0;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log("Seeking to ".concat(this.currentTime," seconds"))}},get:function(){return Number(this.media.currentTime)}},{key:"buffered",get:function(){var e=this.media.buffered;return m.number(e)?e:e&&e.length&&this.duration>0?e.end(0)/this.duration:0}},{key:"seeking",get:function(){return Boolean(this.media.seeking)}},{key:"duration",get:function(){var e=parseFloat(this.config.duration),t=(this.media||{}).duration,n=m.number(t)&&t!==1/0?t:0;return e||n}},{key:"volume",set:function(e){var t=e;m.string(t)&&(t=Number(t)),m.number(t)||(t=this.storage.get("volume")),m.number(t)||(t=this.config.volume),t>1&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!m.empty(e)&&this.muted&&t>0&&(this.muted=!1)},get:function(){return Number(this.media.volume)}},{key:"muted",set:function(e){var t=e;m.boolean(t)||(t=this.storage.get("muted")),m.boolean(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t},get:function(){return Boolean(this.media.muted)}},{key:"hasAudio",get:function(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}},{key:"speed",set:function(e){var t=null;m.number(e)&&(t=e),m.number(t)||(t=this.storage.get("speed")),m.number(t)||(t=this.config.speed.selected),t<.1&&(t=.1),t>2&&(t=2),this.config.speed.options.includes(t)?(this.config.speed.selected=t,this.media.playbackRate=t):this.debug.warn("Unsupported speed (".concat(t,")"))},get:function(){return Number(this.media.playbackRate)}},{key:"quality",set:function(e){var t=this.config.quality,n=this.options.quality;if(n.length){var i=[!m.empty(e)&&Number(e),this.storage.get("quality"),t.selected,t.default].find(m.number),r=!0;if(!n.includes(i)){var a=function(e,t){return m.array(e)&&e.length?e.reduce(function(e,n){return Math.abs(n-t)1&&void 0!==arguments[1]?arguments[1]:{},i=null;return m.string(e)?i=Array.from(document.querySelectorAll(e)):m.nodeList(e)?i=Array.from(e):m.array(e)&&(i=e.filter(m.element)),m.empty(i)?null:i.map(function(e){return new t(e,n)})}}]),t}();return $e.defaults=(Oe=he,JSON.parse(JSON.stringify(Oe))),$e})}).call(this,n("c8ba"))},"4ff4":function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.defineMode("go",function(t){var n,i=t.indentUnit,r={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0},a={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},o=/[+\-*&^%:=<>!|\/]/;function s(e,t){var i=e.next();if('"'==i||"'"==i||"`"==i)return t.tokenize=l(i),t.tokenize(e,t);if(/[\d\.]/.test(i))return"."==i?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==i?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(i))return n=i,null;if("/"==i){if(e.eat("*"))return t.tokenize=c,c(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(o.test(i))return e.eatWhile(o),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var s=e.current();return r.propertyIsEnumerable(s)?("case"!=s&&"default"!=s||(n="case"),"keyword"):a.propertyIsEnumerable(s)?"atom":"variable"}function l(e){return function(t,n){var i,r=!1,a=!1;while(null!=(i=t.next())){if(i==e&&!r){a=!0;break}r=!r&&"`"!=e&&"\\"==i}return(a||!r&&"`"!=e)&&(n.tokenize=s),"string"}}function c(e,t){var n,i=!1;while(n=e.next()){if("/"==n&&i){t.tokenize=s;break}i="*"==n}return"comment"}function u(e,t,n,i,r){this.indented=e,this.column=t,this.type=n,this.align=i,this.prev=r}function d(e,t,n){return e.context=new u(e.indented,t,n,null,e.context)}function f(e){if(e.context.prev){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}}return{startState:function(e){return{tokenize:null,context:new u((e||0)-i,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var i=t.context;if(e.sol()&&(null==i.align&&(i.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"case"==i.type&&(i.type="}")),e.eatSpace())return null;n=null;var r=(t.tokenize||s)(e,t);return"comment"==r?r:(null==i.align&&(i.align=!0),"{"==n?d(t,e.column(),"}"):"["==n?d(t,e.column(),"]"):"("==n?d(t,e.column(),")"):"case"==n?i.type="case":"}"==n&&"}"==i.type?f(t):n==i.type&&f(t),t.startOfLine=!1,r)},indent:function(t,n){if(t.tokenize!=s&&null!=t.tokenize)return e.Pass;var r=t.context,a=n&&n.charAt(0);if("case"==r.type&&/^(?:case|default)\b/.test(n))return t.context.type="}",r.indented;var o=a==r.type;return r.align?r.column+(o?0:1):r.indented+(o?0:i)},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),e.defineMIME("text/x-go","go")})},"504c":function(e,t,n){var i=n("0d58"),r=n("6821"),a=n("52a7").f;e.exports=function(e){return function(t){var n,o=r(t),s=i(o),l=s.length,c=0,u=[];while(l>c)a.call(o,n=s[c++])&&u.push(e?[n,o[n]]:o[n]);return u}}},5147:function(e,t,n){var i=n("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(r){}}return!0}},"51fb":function(e,t,n){"use strict";var i=n("8863"),r=n.n(i);r.a},"520a":function(e,t,n){"use strict";var i=n("0bfb"),r=RegExp.prototype.exec,a=String.prototype.replace,o=r,s="lastIndex",l=function(){var e=/a/,t=/b*/g;return r.call(e,"a"),r.call(t,"a"),0!==e[s]||0!==t[s]}(),c=void 0!==/()??/.exec("")[1],u=l||c;u&&(o=function(e){var t,n,o,u,d=this;return c&&(n=new RegExp("^"+d.source+"$(?!\\s)",i.call(d))),l&&(t=d[s]),o=r.call(d,e),l&&o&&(d[s]=d.global?o.index+o[0].length:t),c&&o&&o.length>1&&a.call(o[0],n,function(){for(u=1;u0),"Math",{asinh:a})},"551c":function(e,t,n){"use strict";var i,r,a,o,s=n("2d00"),l=n("7726"),c=n("9b43"),u=n("23c6"),d=n("5ca1"),f=n("d3f4"),p=n("d8e8"),h=n("f605"),m=n("4a59"),g=n("ebd6"),v=n("1991").set,y=n("8079")(),b=n("a5b8"),w=n("9c80"),x=n("a25f"),k=n("bcaa"),_="Promise",C=l.TypeError,S=l.process,T=S&&S.versions,M=T&&T.v8||"",E=l[_],A="process"==u(S),L=function(){},N=r=b.f,D=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[n("2b4c")("species")]=function(e){e(L,L)};return(A||"function"==typeof PromiseRejectionEvent)&&e.then(L)instanceof t&&0!==M.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(i){}}(),O=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},P=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){var i=e._v,r=1==e._s,a=0,o=function(t){var n,a,o,s=r?t.ok:t.fail,l=t.resolve,c=t.reject,u=t.domain;try{s?(r||(2==e._h&&z(e),e._h=1),!0===s?n=i:(u&&u.enter(),n=s(i),u&&(u.exit(),o=!0)),n===t.promise?c(C("Promise-chain cycle")):(a=O(n))?a.call(n,l,c):l(n)):c(i)}catch(d){u&&!o&&u.exit(),c(d)}};while(n.length>a)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&I(e)})}},I=function(e){v.call(l,function(){var t,n,i,r=e._v,a=F(e);if(a&&(t=w(function(){A?S.emit("unhandledRejection",r,e):(n=l.onunhandledrejection)?n({promise:e,reason:r}):(i=l.console)&&i.error&&i.error("Unhandled promise rejection",r)}),e._h=A||F(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},F=function(e){return 1!==e._h&&0===(e._a||e._c).length},z=function(e){v.call(l,function(){var t;A?S.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},$=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),P(t,!0))},j=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw C("Promise can't be resolved itself");(t=O(e))?y(function(){var i={_w:n,_d:!1};try{t.call(e,c(j,i,1),c($,i,1))}catch(r){$.call(i,r)}}):(n._v=e,n._s=1,P(n,!1))}catch(i){$.call({_w:n,_d:!1},i)}}};D||(E=function(e){h(this,E,_,"_h"),p(e),i.call(this);try{e(c(j,this,1),c($,this,1))}catch(t){$.call(this,t)}},i=function(e){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")(E.prototype,{then:function(e,t){var n=N(g(this,E));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=A?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&P(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new i;this.promise=e,this.resolve=c(j,e,1),this.reject=c($,e,1)},b.f=N=function(e){return e===E||e===o?new a(e):r(e)}),d(d.G+d.W+d.F*!D,{Promise:E}),n("7f20")(E,_),n("7a56")(_),o=n("8378")[_],d(d.S+d.F*!D,_,{reject:function(e){var t=N(this),n=t.reject;return n(e),t.promise}}),d(d.S+d.F*(s||!D),_,{resolve:function(e){return k(s&&this===o?E:this,e)}}),d(d.S+d.F*!(D&&n("5cc5")(function(e){E.all(e)["catch"](L)})),_,{all:function(e){var t=this,n=N(t),i=n.resolve,r=n.reject,a=w(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,l=!1;n.push(void 0),o++,t.resolve(e).then(function(e){l||(l=!0,n[s]=e,--o||i(n))},r)}),--o||i(n)});return a.e&&r(a.v),n.promise},race:function(e){var t=this,n=N(t),i=n.reject,r=w(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},5537:function(e,t,n){var i=n("8378"),r=n("7726"),a="__core-js_shared__",o=r[a]||(r[a]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"55dd":function(e,t,n){"use strict";var i=n("5ca1"),r=n("d8e8"),a=n("4bf8"),o=n("79e5"),s=[].sort,l=[1,2,3];i(i.P+i.F*(o(function(){l.sort(void 0)})||!o(function(){l.sort(null)})||!n("2f21")(s)),"Array",{sort:function(e){return void 0===e?s.call(a(this)):s.call(a(this),r(e))}})},5695:function(e,t,n){var i=n("5ca1"),r=n("77f1"),a=String.fromCharCode,o=String.fromCodePoint;i(i.S+i.F*(!!o&&1!=o.length),"String",{fromCodePoint:function(e){var t,n=[],i=arguments.length,o=0;while(i>o){if(t=+arguments[o++],r(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?a(t):a(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},"56b3":function(e,t,n){(function(t,n){e.exports=n()})(0,function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),i=/MSIE \d/.test(e),r=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),a=/Edge\/(\d+)/.exec(e),o=i||r||a,s=o&&(i?document.documentMode||6:+(a||r)[1]),l=!a&&/WebKit\//.test(e),c=l&&/Qt\/\d+\.\d+/.test(e),u=!a&&/Chrome\//.test(e),d=/Opera\//.test(e),f=/Apple Computer/.test(navigator.vendor),p=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),h=/PhantomJS/.test(e),m=!a&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),g=/Android/.test(e),v=m||g||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=m||/Mac/.test(t),b=/\bCrOS\b/.test(e),w=/win/i.test(t),x=d&&e.match(/Version\/(\d*\.\d*)/);x&&(x=Number(x[1])),x&&x>=15&&(d=!1,l=!0);var k=y&&(c||d&&(null==x||x<12.11)),_=n||o&&s>=9;function C(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var S,T=function(e,t){var n=e.className,i=C(t).exec(n);if(i){var r=n.slice(i.index+i[0].length);e.className=n.slice(0,i.index)+(r?i[1]+r:"")}};function M(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function E(e,t){return M(e).appendChild(t)}function A(e,t,n,i){var r=document.createElement(e);if(n&&(r.className=n),i&&(r.style.cssText=i),"string"==typeof t)r.appendChild(document.createTextNode(t));else if(t)for(var a=0;a=t)return o+(t-a);o+=s-a,o+=n-o%n,a=s+1}}m?I=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:o&&(I=function(e){try{e.select()}catch(t){}});var j=function(){this.id=null};function R(e,t){for(var n=0;n=t)return i+Math.min(o,t-r);if(r+=a-i,r+=n-r%n,i=a+1,r>=t)return i}}var G=[""];function X(e){while(G.length<=e)G.push(K(G)+" ");return G[e]}function K(e){return e[e.length-1]}function Y(e,t){for(var n=[],i=0;i"€"&&(e.toUpperCase()!=e.toLowerCase()||ee.test(e))}function ne(e,t){return t?!!(t.source.indexOf("\\w")>-1&&te(e))||t.test(e):te(e)}function ie(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var re=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ae(e){return e.charCodeAt(0)>=768&&re.test(e)}function oe(e,t,n){while((n<0?t>0:tn?-1:1;;){if(t==n)return t;var r=(t+n)/2,a=i<0?Math.ceil(r):Math.floor(r);if(a==t)return e(a)?t:n;e(a)?n=a:t=a+i}}function le(e,t,i){var r=this;this.input=i,r.scrollbarFiller=A("div",null,"CodeMirror-scrollbar-filler"),r.scrollbarFiller.setAttribute("cm-not-content","true"),r.gutterFiller=A("div",null,"CodeMirror-gutter-filler"),r.gutterFiller.setAttribute("cm-not-content","true"),r.lineDiv=L("div",null,"CodeMirror-code"),r.selectionDiv=A("div",null,null,"position: relative; z-index: 1"),r.cursorDiv=A("div",null,"CodeMirror-cursors"),r.measure=A("div",null,"CodeMirror-measure"),r.lineMeasure=A("div",null,"CodeMirror-measure"),r.lineSpace=L("div",[r.measure,r.lineMeasure,r.selectionDiv,r.cursorDiv,r.lineDiv],null,"position: relative; outline: none");var a=L("div",[r.lineSpace],"CodeMirror-lines");r.mover=A("div",[a],null,"position: relative"),r.sizer=A("div",[r.mover],"CodeMirror-sizer"),r.sizerWidth=null,r.heightForcer=A("div",null,null,"position: absolute; height: "+q+"px; width: 1px;"),r.gutters=A("div",null,"CodeMirror-gutters"),r.lineGutter=null,r.scroller=A("div",[r.sizer,r.heightForcer,r.gutters],"CodeMirror-scroll"),r.scroller.setAttribute("tabIndex","-1"),r.wrapper=A("div",[r.scrollbarFiller,r.gutterFiller,r.scroller],"CodeMirror"),o&&s<8&&(r.gutters.style.zIndex=-1,r.scroller.style.paddingRight=0),l||n&&v||(r.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(r.wrapper):e(r.wrapper)),r.viewFrom=r.viewTo=t.first,r.reportedViewFrom=r.reportedViewTo=t.first,r.view=[],r.renderedView=null,r.externalMeasured=null,r.viewOffset=0,r.lastWrapHeight=r.lastWrapWidth=0,r.updateLineNumbers=null,r.nativeBarWidth=r.barHeight=r.barWidth=0,r.scrollbarsClipped=!1,r.lineNumWidth=r.lineNumInnerWidth=r.lineNumChars=null,r.alignWidgets=!1,r.cachedCharWidth=r.cachedTextHeight=r.cachedPaddingH=null,r.maxLine=null,r.maxLineLength=0,r.maxLineChanged=!1,r.wheelDX=r.wheelDY=r.wheelStartX=r.wheelStartY=null,r.shift=!1,r.selForContextMenu=null,r.activeTouch=null,i.init(r)}function ce(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");var n=e;while(!n.lines)for(var i=0;;++i){var r=n.children[i],a=r.chunkSize();if(t=e.first&&tn?ve(n,ce(e,n).text.length):Se(t,ce(e,t.line).text.length)}function Se(e,t){var n=e.ch;return null==n||n>t?ve(e.line,t):n<0?ve(e.line,0):e}function Te(e,t){for(var n=[],i=0;i=t:a.to>t);(i||(i=[])).push(new Ne(o,a.from,l?null:a.to))}}return i}function Fe(e,t,n){var i;if(e)for(var r=0;r=t:a.to>t);if(s||a.from==t&&"bookmark"==o.type&&(!n||a.marker.insertLeft)){var l=null==a.from||(o.inclusiveLeft?a.from<=t:a.from0&&s)for(var w=0;w0)){var u=[l,1],d=ye(c.from,s.from),f=ye(c.to,s.to);(d<0||!o.inclusiveLeft&&!d)&&u.push({from:c.from,to:s.from}),(f>0||!o.inclusiveRight&&!f)&&u.push({from:s.to,to:c.to}),r.splice.apply(r,u),l+=u.length-3}}return r}function Re(e){var t=e.markedSpans;if(t){for(var n=0;nt)&&(!n||We(n,a.marker)<0)&&(n=a.marker)}return n}function Ke(e,t,n,i,r){var a=ce(e,t),o=Ee&&a.markedSpans;if(o)for(var s=0;s=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(l.marker.inclusiveRight&&r.inclusiveLeft?ye(c.to,n)>=0:ye(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&r.inclusiveLeft?ye(c.from,i)<=0:ye(c.from,i)<0)))return!0}}}function Ye(e){var t;while(t=Ve(e))e=t.find(-1,!0).line;return e}function Ze(e){var t;while(t=Ge(e))e=t.find(1,!0).line;return e}function Qe(e){var t,n;while(t=Ge(e))e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function Je(e,t){var n=ce(e,t),i=Ye(n);return n==i?t:pe(i)}function et(e,t){if(t>e.lastLine())return t;var n,i=ce(e,t);if(!tt(e,i))return t;while(n=Ge(i))i=n.find(1,!0).line;return pe(i)+1}function tt(e,t){var n=Ee&&t.markedSpans;if(n)for(var i=void 0,r=0;rt.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function ot(e,t,n,i){if(!e)return i(t,n,"ltr",0);for(var r=!1,a=0;at||t==n&&o.to==t)&&(i(Math.max(o.from,t),Math.min(o.to,n),1==o.level?"rtl":"ltr",a),r=!0)}r||i(t,n,"ltr")}var st=null;function lt(e,t,n){var i;st=null;for(var r=0;rt)return r;a.to==t&&(a.from!=a.to&&"before"==n?i=r:st=r),a.from==t&&(a.from!=a.to&&"before"!=n?i=r:st=r)}return null!=i?i:st}var ct=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}var i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,r=/[stwN]/,a=/[LRr]/,o=/[Lb1n]/,s=/[1n]/;function l(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var c="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!i.test(e))return!1;for(var u=e.length,d=[],f=0;f-1&&(i[t]=r.slice(0,a).concat(r.slice(a+1)))}}}function mt(e,t){var n=pt(e,t);if(n.length)for(var i=Array.prototype.slice.call(arguments,2),r=0;r0}function bt(e){e.prototype.on=function(e,t){ft(this,e,t)},e.prototype.off=function(e,t){ht(this,e,t)}}function wt(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function xt(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function kt(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function _t(e){wt(e),xt(e)}function Ct(e){return e.target||e.srcElement}function St(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var Tt,Mt,Et=function(){if(o&&s<9)return!1;var e=A("div");return"draggable"in e||"dragDrop"in e}();function At(e){if(null==Tt){var t=A("span","​");E(e,A("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Tt=t.offsetWidth<=1&&t.offsetHeight>2&&!(o&&s<8))}var n=Tt?A("span","​"):A("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Lt(e){if(null!=Mt)return Mt;var t=E(e,document.createTextNode("AخA")),n=S(t,0,1).getBoundingClientRect(),i=S(t,1,2).getBoundingClientRect();return M(e),!(!n||n.left==n.right)&&(Mt=i.right-n.right<3)}var Nt=3!="\n\nb".split(/\n/).length?function(e){var t=0,n=[],i=e.length;while(t<=i){var r=e.indexOf("\n",t);-1==r&&(r=e.length);var a=e.slice(t,"\r"==e.charAt(r-1)?r-1:r),o=a.indexOf("\r");-1!=o?(n.push(a.slice(0,o)),t+=o+1):(n.push(a),t=r+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Dt=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(n){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Ot=function(){var e=A("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Pt=null;function It(e){if(null!=Pt)return Pt;var t=E(e,A("span","x")),n=t.getBoundingClientRect(),i=S(t,0,1).getBoundingClientRect();return Pt=Math.abs(n.left-i.left)>1}var Ft={},zt={};function $t(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Ft[e]=t}function jt(e,t){zt[e]=t}function Rt(e){if("string"==typeof e&&zt.hasOwnProperty(e))e=zt[e];else if(e&&"string"==typeof e.name&&zt.hasOwnProperty(e.name)){var t=zt[e.name];"string"==typeof t&&(t={name:t}),e=J(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Rt("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Rt("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function qt(e,t){t=Rt(t);var n=Ft[t.name];if(!n)return qt(e,"text/plain");var i=n(e,t);if(Bt.hasOwnProperty(t.name)){var r=Bt[t.name];for(var a in r)r.hasOwnProperty(a)&&(i.hasOwnProperty(a)&&(i["_"+a]=i[a]),i[a]=r[a])}if(i.name=t.name,t.helperType&&(i.helperType=t.helperType),t.modeProps)for(var o in t.modeProps)i[o]=t.modeProps[o];return i}var Bt={};function Ht(e,t){var n=Bt.hasOwnProperty(e)?Bt[e]:Bt[e]={};z(t,n)}function Wt(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var i in t){var r=t[i];r instanceof Array&&(r=r.concat([])),n[i]=r}return n}function Ut(e,t){var n;while(e.innerMode){if(n=e.innerMode(t),!n||n.mode==e)break;t=n.state,e=n.mode}return n||{mode:e,state:t}}function Vt(e,t,n){return!e.startState||e.startState(t,n)}var Gt=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};Gt.prototype.eol=function(){return this.pos>=this.string.length},Gt.prototype.sol=function(){return this.pos==this.lineStart},Gt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Gt.prototype.next=function(){if(this.post},Gt.prototype.eatSpace=function(){var e=this,t=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos)))++e.pos;return this.pos>t},Gt.prototype.skipToEnd=function(){this.pos=this.string.length},Gt.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Gt.prototype.backUp=function(e){this.pos-=e},Gt.prototype.column=function(){return this.lastColumnPos0?null:(i&&!1!==t&&(this.pos+=i[0].length),i)}var r=function(e){return n?e.toLowerCase():e},a=this.string.substr(this.pos,e.length);if(r(a)==r(e))return!1!==t&&(this.pos+=e.length),!0},Gt.prototype.current=function(){return this.string.slice(this.start,this.pos)},Gt.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Gt.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Gt.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var Xt=function(e,t){this.state=e,this.lookAhead=t},Kt=function(e,t,n,i){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=i||0,this.baseTokens=null,this.baseTokenPos=1};function Yt(e,t,n,i){var r=[e.state.modeGen],a={};on(e,t.text,e.doc.mode,n,function(e,t){return r.push(e,t)},a,i);for(var o=n.state,s=function(i){n.baseTokens=r;var s=e.state.overlays[i],l=1,c=0;n.state=!0,on(e,t.text,s.mode,n,function(e,t){var n=l;while(ce&&r.splice(l,1,e,r[l+1],i),l+=2,c=Math.min(e,i)}if(t)if(s.opaque)r.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;ne.options.maxHighlightLength&&Wt(e.doc.mode,i.state),a=Yt(e,t,i);r&&(i.state=r),t.stateAfter=i.save(!r),t.styles=a.styles,a.classes?t.styleClasses=a.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Qt(e,t,n){var i=e.doc,r=e.display;if(!i.mode.startState)return new Kt(i,!0,t);var a=sn(e,t,n),o=a>i.first&&ce(i,a-1).stateAfter,s=o?Kt.fromSaved(i,o,a):new Kt(i,Vt(i.mode),a);return i.iter(a,t,function(n){Jt(e,n.text,s);var i=s.line;n.stateAfter=i==t-1||i%5==0||i>=r.viewFrom&&it.start)return a}throw new Error("Mode "+e.name+" failed to advance stream.")}Kt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},Kt.prototype.baseToken=function(e){var t=this;if(!this.baseTokens)return null;while(this.baseTokens[this.baseTokenPos]<=e)t.baseTokenPos+=2;var n=this.baseTokens[this.baseTokenPos+1];return{type:n&&n.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},Kt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Kt.fromSaved=function(e,t,n){return t instanceof Xt?new Kt(e,Wt(e.mode,t.state),n,t.lookAhead):new Kt(e,Wt(e.mode,t),n)},Kt.prototype.save=function(e){var t=!1!==e?Wt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Xt(t,this.maxLookAhead):t};var nn=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function rn(e,t,n,i){var r,a=e.doc,o=a.mode;t=Ce(a,t);var s,l=ce(a,t.line),c=Qt(e,t.line,n),u=new Gt(l.text,e.options.tabSize,c);i&&(s=[]);while((i||u.pose.options.maxHighlightLength?(s=!1,o&&Jt(e,t,i,d.pos),d.pos=t.length,l=null):l=an(tn(n,d,i.state,f),a),f){var p=f[0].name;p&&(l="m-"+(l?p+" "+l:p))}if(!s||u!=l){while(co;--s){if(s<=a.first)return a.first;var l=ce(a,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof Xt?c.lookAhead:0)<=a.modeFrontier))return s;var u=$(l.text,null,e.options.tabSize);(null==r||i>u)&&(r=s-1,i=u)}return r}function ln(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;i--){var r=ce(e,i).stateAfter;if(r&&(!(r instanceof Xt)||i+r.lookAhead1&&!/ /.test(e))return e;for(var n=t,i="",r=0;rc&&d.from<=c)break;if(d.to>=u)return e(n,i,r,a,o,s,l);e(n,i.slice(0,d.to-c),r,a,null,s,l),a=null,i=i.slice(d.to-c),c=d.to}}}function wn(e,t,n,i){var r=!i&&n.widgetNode;r&&e.map.push(e.pos,e.pos+t,r),!i&&e.cm.display.input.needsContentAttribute&&(r||(r=e.content.appendChild(document.createElement("span"))),r.setAttribute("cm-marker",n.id)),r&&(e.cm.display.input.setUneditable(r),e.content.appendChild(r)),e.pos+=t,e.trailingSpace=!1}function xn(e,t,n){var i=e.markedSpans,r=e.text,a=0;if(i)for(var o,s,l,c,u,d,f,p=r.length,h=0,m=1,g="",v=0;;){if(v==h){l=c=u=s="",f=null,d=null,v=1/0;for(var y=[],b=void 0,w=0;wh||k.collapsed&&x.to==h&&x.from==h)){if(null!=x.to&&x.to!=h&&v>x.to&&(v=x.to,c=""),k.className&&(l+=" "+k.className),k.css&&(s=(s?s+";":"")+k.css),k.startStyle&&x.from==h&&(u+=" "+k.startStyle),k.endStyle&&x.to==v&&(b||(b=[])).push(k.endStyle,x.to),k.title&&((f||(f={})).title=k.title),k.attributes)for(var _ in k.attributes)(f||(f={}))[_]=k.attributes[_];k.collapsed&&(!d||We(d.marker,k)<0)&&(d=x)}else x.from>h&&v>x.from&&(v=x.from)}if(b)for(var C=0;C=p)break;var T=Math.min(p,v);while(1){if(g){var M=h+g.length;if(!d){var E=M>T?g.slice(0,T-h):g;t.addToken(t,E,o?o+l:l,u,h+E.length==v?c:"",s,f)}if(M>=T){g=g.slice(T-h),h=T;break}h=M,u=""}g=r.slice(a,a=n[m++]),o=hn(n[m++],t.cm.options)}}else for(var A=1;A2&&a.push((l.bottom+c.top)/2-n.top)}}a.push(n.bottom-n.top)}}function Qn(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var i=0;in)return{map:e.measure.maps[r],cache:e.measure.caches[r],before:!0}}function Jn(e,t){t=Ye(t);var n=pe(t),i=e.display.externalMeasured=new kn(e.doc,t,n);i.lineN=n;var r=i.built=mn(e,i);return i.text=r.pre,E(e.display.lineMeasure,r.pre),i}function ei(e,t,n,i){return ii(e,ni(e,t),n,i)}function ti(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt)&&(a=l-s,r=a-1,t>=l&&(o="right")),null!=r){if(i=e[c+2],s==l&&n==(i.insertLeft?"left":"right")&&(o=n),"left"==n&&0==r)while(c&&e[c-2]==e[c-3]&&e[c-1].insertLeft)i=e[2+(c-=3)],o="left";if("right"==n&&r==l-s)while(c=0;r--)if((n=e[r]).left!=n.right)break;return n}function li(e,t,n,i){var r,a=oi(t.map,n,i),l=a.node,c=a.start,u=a.end,d=a.collapse;if(3==l.nodeType){for(var f=0;f<4;f++){while(c&&ae(t.line.text.charAt(a.coverStart+c)))--c;while(a.coverStart+u0&&(d=i="right"),r=e.options.lineWrapping&&(p=l.getClientRects()).length>1?p["right"==i?p.length-1:0]:l.getBoundingClientRect()}if(o&&s<9&&!c&&(!r||!r.left&&!r.right)){var h=l.parentNode.getClientRects()[0];r=h?{left:h.left,right:h.left+Li(e.display),top:h.top,bottom:h.bottom}:ai}for(var m=r.top-t.rect.top,g=r.bottom-t.rect.top,v=(m+g)/2,y=t.view.measure.heights,b=0;b=i.text.length?(l=i.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return o("before"==c?l-1:l,"before"==c);function u(e,t,n){var i=s[t],r=1==i.level;return o(n?e-1:e,r!=n)}var d=lt(s,l,c),f=st,p=u(l,d,"before"==c);return null!=f&&(p.other=u(l,f,"before"!=c)),p}function wi(e,t){var n=0;t=Ce(e.doc,t),e.options.lineWrapping||(n=Li(e.display)*t.ch);var i=ce(e.doc,t.line),r=it(i)+Un(e.display);return{left:n,right:n,top:r,bottom:r+i.height}}function xi(e,t,n,i,r){var a=ve(e,t,n);return a.xRel=r,i&&(a.outside=!0),a}function ki(e,t,n){var i=e.doc;if(n+=e.display.viewOffset,n<0)return xi(i.first,0,null,!0,-1);var r=he(i,n),a=i.first+i.size-1;if(r>a)return xi(i.first+i.size-1,ce(i,a).text.length,null,!0,1);t<0&&(t=0);for(var o=ce(i,r);;){var s=Ti(e,o,r,t,n),l=Xe(o,s.ch+(s.xRel>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==r)return c;o=ce(i,r=c.line)}}function _i(e,t,n,i){i-=mi(t);var r=t.text.length,a=se(function(t){return ii(e,n,t-1).bottom<=i},r,0);return r=se(function(t){return ii(e,n,t).top>i},a,r),{begin:a,end:r}}function Ci(e,t,n,i){n||(n=ni(e,t));var r=gi(e,t,ii(e,n,i),"line").top;return _i(e,t,n,r)}function Si(e,t,n,i){return!(e.bottom<=n)&&(e.top>n||(i?e.left:e.right)>t)}function Ti(e,t,n,i,r){r-=it(t);var a=ni(e,t),o=mi(t),s=0,l=t.text.length,c=!0,u=ut(t,e.doc.direction);if(u){var d=(e.options.lineWrapping?Ei:Mi)(e,t,n,a,u,i,r);c=1!=d.level,s=c?d.from:d.to-1,l=c?d.to:d.from-1}var f,p,h=null,m=null,g=se(function(t){var n=ii(e,a,t);return n.top+=o,n.bottom+=o,!!Si(n,i,r,!1)&&(n.top<=r&&n.left<=i&&(h=t,m=n),!0)},s,l),v=!1;if(m){var y=i-m.left=w.bottom}return g=oe(t.text,g,1),xi(n,g,p,v,i-f)}function Mi(e,t,n,i,r,a,o){var s=se(function(s){var l=r[s],c=1!=l.level;return Si(bi(e,ve(n,c?l.to:l.from,c?"before":"after"),"line",t,i),a,o,!0)},0,r.length-1),l=r[s];if(s>0){var c=1!=l.level,u=bi(e,ve(n,c?l.from:l.to,c?"after":"before"),"line",t,i);Si(u,a,o,!0)&&u.top>o&&(l=r[s-1])}return l}function Ei(e,t,n,i,r,a,o){var s=_i(e,t,i,o),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,d=null,f=0;f=c||p.to<=l)){var h=1!=p.level,m=ii(e,i,h?Math.min(c,p.to)-1:Math.max(l,p.from)).right,g=mg)&&(u=p,d=g)}}return u||(u=r[r.length-1]),u.fromc&&(u={from:u.from,to:c,level:u.level}),u}function Ai(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==ri){ri=A("pre");for(var t=0;t<49;++t)ri.appendChild(document.createTextNode("x")),ri.appendChild(A("br"));ri.appendChild(document.createTextNode("x"))}E(e.measure,ri);var n=ri.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),M(e.measure),n||1}function Li(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=A("span","xxxxxxxxxx"),n=A("pre",[t]);E(e.measure,n);var i=t.getBoundingClientRect(),r=(i.right-i.left)/10;return r>2&&(e.cachedCharWidth=r),r||10}function Ni(e){for(var t=e.display,n={},i={},r=t.gutters.clientLeft,a=t.gutters.firstChild,o=0;a;a=a.nextSibling,++o)n[e.options.gutters[o]]=a.offsetLeft+a.clientLeft+r,i[e.options.gutters[o]]=a.clientWidth;return{fixedPos:Di(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:i,wrapperWidth:t.wrapper.clientWidth}}function Di(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Oi(e){var t=Ai(e.display),n=e.options.lineWrapping,i=n&&Math.max(5,e.display.scroller.clientWidth/Li(e.display)-3);return function(r){if(tt(e.doc,r))return 0;var a=0;if(r.widgets)for(var o=0;o=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var n=e.display.view,i=0;i=e.display.viewTo||s.to().line0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Hi(e){e.state.focused||(e.display.input.focus(),Ui(e))}function Wi(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Vi(e))},100)}function Ui(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(mt(e,"focus",e,t),e.state.focused=!0,O(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Bi(e))}function Vi(e,t){e.state.delayingBlurEvent||(e.state.focused&&(mt(e,"blur",e,t),e.state.focused=!1,T(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function Gi(e){for(var t=e.display,n=t.lineDiv.offsetTop,i=0;i.005||f<-.005)&&(fe(r.line,l),Xi(r.line),r.rest))for(var p=0;pe.display.sizerWidth){var h=Math.ceil(c/Li(e.display));h>e.display.maxLineLength&&(e.display.maxLineLength=h,e.display.maxLine=r.line,e.display.maxLineChanged=!0)}}}}function Xi(e){if(e.widgets)for(var t=0;t=o&&(a=he(t,it(ce(t,l))-e.wrapper.clientHeight),o=l)}return{from:a,to:Math.max(o,a+1)}}function Yi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var i=Di(t)-t.scroller.scrollLeft+e.doc.scrollLeft,r=t.gutters.offsetWidth,a=i+"px",o=0;o(window.innerHeight||document.documentElement.clientHeight)&&(r=!1),null!=r&&!h){var a=A("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Un(e.display))+"px;\n height: "+(t.bottom-t.top+Xn(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(a),a.scrollIntoView(r),e.display.lineSpace.removeChild(a)}}}function Ji(e,t,n,i){var r;null==i&&(i=0),e.options.lineWrapping||t!=n||(t=t.ch?ve(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t,n="before"==t.sticky?ve(t.line,t.ch+1,"before"):t);for(var a=0;a<5;a++){var o=!1,s=bi(e,t),l=n&&n!=t?bi(e,n):s;r={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-i,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+i};var c=tr(e,r),u=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=c.scrollTop&&(lr(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(o=!0)),null!=c.scrollLeft&&(ur(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(o=!0)),!o)break}return r}function er(e,t){var n=tr(e,t);null!=n.scrollTop&&lr(e,n.scrollTop),null!=n.scrollLeft&&ur(e,n.scrollLeft)}function tr(e,t){var n=e.display,i=Ai(e.display);t.top<0&&(t.top=0);var r=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,a=Yn(e),o={};t.bottom-t.top>a&&(t.bottom=t.top+a);var s=e.doc.height+Vn(n),l=t.tops-i;if(t.topr+a){var u=Math.min(t.top,(c?s:t.bottom)-a);u!=r&&(o.scrollTop=u)}var d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,f=Kn(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),p=t.right-t.left>f;return p&&(t.right=t.left+f),t.left<10?o.scrollLeft=0:t.leftf+d-3&&(o.scrollLeft=t.right+(p?0:10)-f),o}function nr(e,t){null!=t&&(or(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function ir(e){or(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function rr(e,t,n){null==t&&null==n||or(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function ar(e,t){or(e),e.curOp.scrollToPos=t}function or(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=wi(e,t.from),i=wi(e,t.to);sr(e,n,i,t.margin)}}function sr(e,t,n,i){var r=tr(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-i,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+i});rr(e,r.scrollLeft,r.scrollTop)}function lr(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||Ur(e,{top:t}),cr(e,t,!0),n&&Ur(e),zr(e,100))}function cr(e,t,n){t=Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function ur(e,t,n,i){t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!i||(e.doc.scrollLeft=t,Yi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function dr(e){var t=e.display,n=t.gutters.offsetWidth,i=Math.round(e.doc.height+Vn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:i,scrollHeight:i+Xn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var fr=function(e,t,n){this.cm=n;var i=this.vert=A("div",[A("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),r=this.horiz=A("div",[A("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");i.tabIndex=r.tabIndex=-1,e(i),e(r),ft(i,"scroll",function(){i.clientHeight&&t(i.scrollTop,"vertical")}),ft(r,"scroll",function(){r.clientWidth&&t(r.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,o&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};fr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,i=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?i+"px":"0";var r=e.viewHeight-(t?i:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+r)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?i+"px":"0",this.horiz.style.left=e.barLeft+"px";var a=e.viewWidth-e.barLeft-(n?i:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+a)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==i&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?i:0,bottom:t?i:0}},fr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},fr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},fr.prototype.zeroWidthHack=function(){var e=y&&!p?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new j,this.disableVert=new j},fr.prototype.enableZeroWidthBar=function(e,t,n){function i(){var r=e.getBoundingClientRect(),a="vert"==n?document.elementFromPoint(r.right-1,(r.top+r.bottom)/2):document.elementFromPoint((r.right+r.left)/2,r.bottom-1);a!=e?e.style.pointerEvents="none":t.set(1e3,i)}e.style.pointerEvents="auto",t.set(1e3,i)},fr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var pr=function(){};function hr(e,t){t||(t=dr(e));var n=e.display.barWidth,i=e.display.barHeight;mr(e,t);for(var r=0;r<4&&n!=e.display.barWidth||i!=e.display.barHeight;r++)n!=e.display.barWidth&&e.options.lineWrapping&&Gi(e),mr(e,dr(e)),n=e.display.barWidth,i=e.display.barHeight}function mr(e,t){var n=e.display,i=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=i.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=i.bottom)+"px",n.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=i.bottom+"px",n.scrollbarFiller.style.width=i.right+"px"):n.scrollbarFiller.style.display="",i.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=i.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}pr.prototype.update=function(){return{bottom:0,right:0}},pr.prototype.setScrollLeft=function(){},pr.prototype.setScrollTop=function(){},pr.prototype.clear=function(){};var gr={native:fr,null:pr};function vr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&T(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new gr[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),ft(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){"horizontal"==n?ur(e,t):lr(e,t)},e),e.display.scrollbars.addClass&&O(e.display.wrapper,e.display.scrollbars.addClass)}var yr=0;function br(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++yr},Sn(e.curOp)}function wr(e){var t=e.curOp;t&&Mn(t,function(e){for(var t=0;t=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new jr(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function _r(e){e.updatedDisplay=e.mustUpdate&&Hr(e.cm,e.update)}function Cr(e){var t=e.cm,n=t.display;e.updatedDisplay&&Gi(t),e.barMeasure=dr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=ei(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Xn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Kn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Sr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeftt)&&(r.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=r.viewTo)Ee&&Je(e.doc,t)r.viewFrom?Or(e):(r.viewFrom+=i,r.viewTo+=i);else if(t<=r.viewFrom&&n>=r.viewTo)Or(e);else if(t<=r.viewFrom){var a=Pr(e,n,n+i,1);a?(r.view=r.view.slice(a.index),r.viewFrom=a.lineN,r.viewTo+=i):Or(e)}else if(n>=r.viewTo){var o=Pr(e,t,t,-1);o?(r.view=r.view.slice(0,o.index),r.viewTo=o.lineN):Or(e)}else{var s=Pr(e,t,t,-1),l=Pr(e,n,n+i,1);s&&l?(r.view=r.view.slice(0,s.index).concat(_n(e,s.lineN,l.lineN)).concat(r.view.slice(l.index)),r.viewTo+=i):Or(e)}var c=r.externalMeasured;c&&(n=r.lineN&&t=i.viewTo)){var a=i.view[Fi(e,t)];if(null!=a.node){var o=a.changes||(a.changes=[]);-1==R(o,n)&&o.push(n)}}}function Or(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Pr(e,t,n,i){var r,a=Fi(e,t),o=e.display.view;if(!Ee||n==e.doc.first+e.doc.size)return{index:a,lineN:n};for(var s=e.display.viewFrom,l=0;l0){if(a==o.length-1)return null;r=s+o[a].size-t,a++}else r=s-t;t+=r,n+=r}while(Je(e.doc,n)!=n){if(a==(i<0?0:o.length-1))return null;n+=i*o[a-(i<0?1:0)].size,a+=i}return{index:a,lineN:n}}function Ir(e,t,n){var i=e.display,r=i.view;0==r.length||t>=i.viewTo||n<=i.viewFrom?(i.view=_n(e,t,n),i.viewFrom=t):(i.viewFrom>t?i.view=_n(e,t,i.viewFrom).concat(i.view):i.viewFromn&&(i.view=i.view.slice(0,Fi(e,n)))),i.viewTo=n}function Fr(e){for(var t=e.display.view,n=0,i=0;i=e.display.viewTo)){var n=+new Date+e.options.workTime,i=Qt(e,t.highlightFrontier),r=[];t.iter(i.line,Math.min(t.first+t.size,e.display.viewTo+500),function(a){if(i.line>=e.display.viewFrom){var o=a.styles,s=a.text.length>e.options.maxHighlightLength?Wt(t.mode,i.state):null,l=Yt(e,a,i,!0);s&&(i.state=s),a.styles=l.styles;var c=a.styleClasses,u=l.classes;u?a.styleClasses=u:c&&(a.styleClasses=null);for(var d=!o||o.length!=a.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),f=0;!d&&fn)return zr(e,e.options.workDelay),!0}),t.highlightFrontier=i.line,t.modeFrontier=Math.max(t.modeFrontier,i.line),r.length&&Mr(e,function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==Fr(e))return!1;Zi(e)&&(Or(e),t.dims=Ni(e));var r=i.first+i.size,a=Math.max(t.visible.from-e.options.viewportMargin,i.first),o=Math.min(r,t.visible.to+e.options.viewportMargin);n.viewFromo&&n.viewTo-o<20&&(o=Math.min(r,n.viewTo)),Ee&&(a=Je(e.doc,a),o=et(e.doc,o));var s=a!=n.viewFrom||o!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;Ir(e,a,o),n.viewOffset=it(ce(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=Fr(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=qr(e);return l>4&&(n.lineDiv.style.display="none"),Vr(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Br(c),M(n.cursorDiv),M(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,zr(e,400)),n.updateLineNumbers=null,!0}function Wr(e,t){for(var n=t.viewport,i=!0;;i=!1){if((!i||!e.options.lineWrapping||t.oldDisplayWidth==Kn(e))&&(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Vn(e.display)-Yn(e),n.top)}),t.visible=Ki(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo))break;if(!Hr(e,t))break;Gi(e);var r=dr(e);zi(e),hr(e,r),Xr(e,r),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Ur(e,t){var n=new jr(e,t);if(Hr(e,n)){Gi(e),Wr(e,n);var i=dr(e);zi(e),hr(e,i),Xr(e,i),n.finish()}}function Vr(e,t,n){var i=e.display,r=e.options.lineNumbers,a=i.lineDiv,o=a.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=i.view,u=i.viewFrom,d=0;d-1&&(p=!1),Nn(e,f,u,n)),p&&(M(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(ge(e.options,u)))),o=f.node.nextSibling}else{var h=jn(e,f,u,n);a.insertBefore(h,o)}u+=f.size}while(o)o=s(o)}function Gr(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function Xr(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Xn(e)+"px"}function Kr(e){var t=e.display.gutters,n=e.options.gutters;M(t);for(var i=0;i-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}jr.prototype.signal=function(e,t){yt(e,t)&&this.events.push(arguments)},jr.prototype.finish=function(){for(var e=this,t=0;ts.clientWidth,u=s.scrollHeight>s.clientHeight;if(r&&c||a&&u){if(a&&y&&l)e:for(var f=t.target,p=o.view;f!=s;f=f.parentNode)for(var h=0;h=0&&ye(e,r.to())<=0)return i}return-1};var ia=function(e,t){this.anchor=e,this.head=t};function ra(e,t,n){var i=e&&e.options.selectionsMayTouch,r=t[n];t.sort(function(e,t){return ye(e.from(),t.from())}),n=R(t,r);for(var a=1;a0:l>=0){var c=ke(s.from(),o.from()),u=xe(s.to(),o.to()),d=s.empty()?o.from()==o.head:s.from()==s.head;a<=n&&--n,t.splice(--a,2,new ia(d?u:c,d?c:u))}}return new na(t,n)}function aa(e,t){return new na([new ia(e,t||e)],0)}function oa(e){return e.text?ve(e.from.line+e.text.length-1,K(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function sa(e,t){if(ye(e,t.from)<0)return e;if(ye(e,t.to)<=0)return oa(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,i=e.ch;return e.line==t.to.line&&(i+=oa(t).ch-t.to.ch),ve(n,i)}function la(e,t){for(var n=[],i=0;i1&&e.remove(s.line+1,h-1),e.insert(s.line+1,v)}An(e,"change",e,t)}function ma(e,t,n){function i(e,r,a){if(e.linked)for(var o=0;o1&&!e.done[e.done.length-2].ranges?(e.done.pop(),K(e.done)):void 0}function _a(e,t,n,i){var r=e.history;r.undone.length=0;var a,o,s=+new Date;if((r.lastOp==i||r.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&r.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(a=ka(r,r.lastOp==i)))o=K(a.changes),0==ye(t.from,t.to)&&0==ye(t.from,o.to)?o.to=oa(t):a.changes.push(wa(e,t));else{var l=K(r.done);l&&l.ranges||Ta(e.sel,r.done),a={changes:[wa(e,t)],generation:r.generation},r.done.push(a);while(r.done.length>r.undoDepth)r.done.shift(),r.done[0].ranges||r.done.shift()}r.done.push(n),r.generation=++r.maxGeneration,r.lastModTime=r.lastSelTime=s,r.lastOp=r.lastSelOp=i,r.lastOrigin=r.lastSelOrigin=t.origin,o||mt(e,"historyAdded")}function Ca(e,t,n,i){var r=t.charAt(0);return"*"==r||"+"==r&&n.ranges.length==i.ranges.length&&n.somethingSelected()==i.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Sa(e,t,n,i){var r=e.history,a=i&&i.origin;n==r.lastSelOp||a&&r.lastSelOrigin==a&&(r.lastModTime==r.lastSelTime&&r.lastOrigin==a||Ca(e,a,K(r.done),t))?r.done[r.done.length-1]=t:Ta(t,r.done),r.lastSelTime=+new Date,r.lastSelOrigin=a,r.lastSelOp=n,i&&!1!==i.clearRedo&&xa(r.undone)}function Ta(e,t){var n=K(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Ma(e,t,n,i){var r=t["spans_"+e.id],a=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,i),function(n){n.markedSpans&&((r||(r=t["spans_"+e.id]={}))[a]=n.markedSpans),++a})}function Ea(e){if(!e)return null;for(var t,n=0;n-1&&(K(s)[d]=c[d],delete c[d])}}}return i}function Da(e,t,n,i){if(i){var r=e.anchor;if(n){var a=ye(t,r)<0;a!=ye(n,r)<0?(r=t,t=n):a!=ye(t,n)<0&&(t=n)}return new ia(r,t)}return new ia(n||t,t)}function Oa(e,t,n,i,r){null==r&&(r=e.cm&&(e.cm.display.shift||e.extend)),ja(e,new na([Da(e.sel.primary(),t,n,r)],0),i)}function Pa(e,t,n){for(var i=[],r=e.cm&&(e.cm.display.shift||e.extend),a=0;a=t.ch:s.to>t.ch))){if(r&&(mt(l,"beforeCursorEnter"),l.explicitlyCleared)){if(a.markedSpans){--o;continue}break}if(!l.atomic)continue;if(n){var c=l.find(i<0?1:-1),u=void 0;if((i<0?l.inclusiveRight:l.inclusiveLeft)&&(c=Va(e,c,-i,c&&c.line==t.line?a:null)),c&&c.line==t.line&&(u=ye(c,n))&&(i<0?u<0:u>0))return Wa(e,c,t,i,r)}var d=l.find(i<0?-1:1);return(i<0?l.inclusiveLeft:l.inclusiveRight)&&(d=Va(e,d,i,d.line==t.line?a:null)),d?Wa(e,d,t,i,r):null}}return t}function Ua(e,t,n,i,r){var a=i||1,o=Wa(e,t,n,a,r)||!r&&Wa(e,t,n,a,!0)||Wa(e,t,n,-a,r)||!r&&Wa(e,t,n,-a,!0);return o||(e.cantEdit=!0,ve(e.first,0))}function Va(e,t,n,i){return n<0&&0==t.ch?t.line>e.first?Ce(e,ve(t.line-1)):null:n>0&&t.ch==(i||ce(e,t.line)).text.length?t.line=0;--r)Ya(e,{from:i[r].from,to:i[r].to,text:r?[""]:t.text,origin:t.origin});else Ya(e,t)}}function Ya(e,t){if(1!=t.text.length||""!=t.text[0]||0!=ye(t.from,t.to)){var n=la(e,t);_a(e,t,n,e.cm?e.cm.curOp.id:NaN),Ja(e,t,n,ze(e,t));var i=[];ma(e,function(e,n){n||-1!=R(i,e.history)||(ro(e.history,t),i.push(e.history)),Ja(e,t,null,ze(e,t))})}}function Za(e,t,n){var i=e.cm&&e.cm.state.suppressEdits;if(!i||n){for(var r,a=e.history,o=e.sel,s="undo"==t?a.done:a.undone,l="undo"==t?a.undone:a.done,c=0;c=0;--p){var h=f(p);if(h)return h.v}}}}function Qa(e,t){if(0!=t&&(e.first+=t,e.sel=new na(Y(e.sel.ranges,function(e){return new ia(ve(e.anchor.line+t,e.anchor.ch),ve(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){Nr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,i=n.viewFrom;ie.lastLine())){if(t.from.linea&&(t={from:t.from,to:ve(a,ce(e,a).text.length),text:[t.text[0]],origin:t.origin}),t.removed=ue(e,t.from,t.to),n||(n=la(e,t)),e.cm?eo(e.cm,t,i):ha(e,t,i),Ra(e,n,H)}}function eo(e,t,n){var i=e.doc,r=e.display,a=t.from,o=t.to,s=!1,l=a.line;e.options.lineWrapping||(l=pe(Ye(ce(i,a.line))),i.iter(l,o.line+1,function(e){if(e==r.maxLine)return s=!0,!0})),i.sel.contains(t.from,t.to)>-1&&vt(e),ha(i,t,n,Oi(e)),e.options.lineWrapping||(i.iter(l,a.line+t.text.length,function(e){var t=rt(e);t>r.maxLineLength&&(r.maxLine=e,r.maxLineLength=t,r.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0)),ln(i,a.line),zr(e,400);var c=t.text.length-(o.line-a.line)-1;t.full?Nr(e):a.line!=o.line||1!=t.text.length||pa(e.doc,t)?Nr(e,a.line,o.line+1,c):Dr(e,a.line,"text");var u=yt(e,"changes"),d=yt(e,"change");if(d||u){var f={from:a,to:o,text:t.text,removed:t.removed,origin:t.origin};d&&An(e,"change",e,f),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(f)}e.display.selForContextMenu=null}function to(e,t,n,i,r){var a;i||(i=n),ye(i,n)<0&&(a=[i,n],n=a[0],i=a[1]),"string"==typeof t&&(t=e.splitLines(t)),Ka(e,{from:n,to:i,text:t,origin:r})}function no(e,t,n,i){n1||!(this.children[0]instanceof oo))){var l=[];this.collapse(l),this.children=[new oo(l)],this.children[0].parent=this}},collapse:function(e){for(var t=this,n=0;n50){for(var s=a.lines.length%25+25,l=s;l10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var i=this,r=0;r0||0==o&&!1!==a.clearWhenEmpty)return a;if(a.replacedWith&&(a.collapsed=!0,a.widgetNode=L("span",[a.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||a.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(a.widgetNode.insertLeft=!0)),a.collapsed){if(Ke(e,t.line,t,n,a)||t.line!=n.line&&Ke(e,n.line,t,n,a))throw new Error("Inserting collapsed marker partially overlapping an existing one");Le()}a.addToHistory&&_a(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,function(e){c&&a.collapsed&&!c.options.lineWrapping&&Ye(e)==c.display.maxLine&&(s=!0),a.collapsed&&l!=t.line&&fe(e,0),Pe(e,new Ne(a,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l}),a.collapsed&&e.iter(t.line,n.line+1,function(t){tt(e,t)&&fe(t,0)}),a.clearOnEnter&&ft(a,"beforeCursorEnter",function(){return a.clear()}),a.readOnly&&(Ae(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),a.collapsed&&(a.id=++fo,a.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),a.collapsed)Nr(c,t.line,n.line+1);else if(a.className||a.startStyle||a.endStyle||a.css||a.attributes||a.title)for(var u=t.line;u<=n.line;u++)Dr(c,u,"text");a.atomic&&Ba(c.doc),An(c,"markerAdded",c,a)}return a}po.prototype.clear=function(){var e=this;if(!this.explicitlyCleared){var t=this.doc.cm,n=t&&!t.curOp;if(n&&br(t),yt(this,"clear")){var i=this.find();i&&An(this,"clear",i.from,i.to)}for(var r=null,a=null,o=0;ot.display.maxLineLength&&(t.display.maxLine=u,t.display.maxLineLength=d,t.display.maxLineChanged=!0)}null!=r&&t&&this.collapsed&&Nr(t,r,a+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&Ba(t.doc)),t&&An(t,"markerCleared",t,this,r,a),n&&wr(t),this.parent&&this.parent.clear()}},po.prototype.find=function(e,t){var n,i,r=this;null==e&&"bookmark"==this.type&&(e=1);for(var a=0;a=0;c--)Ka(i,r[c]);l?$a(this,l):this.cm&&ir(this.cm)}),undo:Lr(function(){Za(this,"undo")}),redo:Lr(function(){Za(this,"redo")}),undoSelection:Lr(function(){Za(this,"undo",!0)}),redoSelection:Lr(function(){Za(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,i=0;i=e.ch)&&t.push(r.marker.parent||r.marker)}return t},findMarks:function(e,t,n){e=Ce(this,e),t=Ce(this,t);var i=[],r=e.line;return this.iter(e.line,t.line+1,function(a){var o=a.markedSpans;if(o)for(var s=0;s=l.to||null==l.from&&r!=e.line||null!=l.from&&r==t.line&&l.from>=t.ch||n&&!n(l.marker)||i.push(l.marker.parent||l.marker)}++r}),i},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var i=0;ie)return t=e,!0;e-=a,++n}),Ce(this,ve(n,t))},indexFromPos:function(e){e=Ce(this,e);var t=e.ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var u=e.dataTransfer.getData("Text");if(u){var d;if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),Ra(t.doc,aa(n,n)),d)for(var f=0;f=0;t--)to(e.doc,"",i[t].from,i[t].to,"+delete");ir(e)})}function Uo(e,t,n){var i=oe(e.text,t+n,n);return i<0||i>e.text.length?null:i}function Vo(e,t,n){var i=Uo(e,t.ch,n);return null==i?null:new ve(t.line,i,n<0?"after":"before")}function Go(e,t,n,i,r){if(e){var a=ut(n,t.doc.direction);if(a){var o,s=r<0?K(a):a[0],l=r<0==(1==s.level),c=l?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var u=ni(t,n);o=r<0?n.text.length-1:0;var d=ii(t,u,o).top;o=se(function(e){return ii(t,u,e).top==d},r<0==(1==s.level)?s.from:s.to-1,o),"before"==c&&(o=Uo(n,o,1))}else o=r<0?s.to:s.from;return new ve(i,o,c)}}return new ve(i,r<0?n.text.length:0,r<0?"before":"after")}function Xo(e,t,n,i){var r=ut(t,e.doc.direction);if(!r)return Vo(t,n,i);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var a=lt(r,n.ch,n.sticky),o=r[a];if("ltr"==e.doc.direction&&o.level%2==0&&(i>0?o.to>n.ch:o.from=o.from&&f>=u.begin)){var p=d?"before":"after";return new ve(n.line,f,p)}}var h=function(e,t,i){for(var a=function(e,t){return t?new ve(n.line,l(e,1),"before"):new ve(n.line,e,"after")};e>=0&&e0==(1!=o.level),c=s?i.begin:l(i.end,-1);if(o.from<=c&&c0?u.end:l(u.begin,-1);return null==g||i>0&&g==t.text.length||(m=h(i>0?0:r.length-1,i,c(g)),!m)?null:m}Fo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Fo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Fo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Fo.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Fo["default"]=y?Fo.macDefault:Fo.pcDefault;var Ko={selectAll:Ga,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),H)},killLine:function(e){return Wo(e,function(t){if(t.empty()){var n=ce(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)r=new ve(r.line,r.ch+1),e.replaceRange(a.charAt(r.ch-1)+a.charAt(r.ch-2),ve(r.line,r.ch-2),r,"+transpose");else if(r.line>e.doc.first){var o=ce(e.doc,r.line-1).text;o&&(r=new ve(r.line,1),e.replaceRange(a.charAt(0)+e.doc.lineSeparator()+o.charAt(o.length-1),ve(r.line-1,o.length-1),r,"+transpose"))}n.push(new ia(r,r))}e.setSelections(n)})},newlineAndIndent:function(e){return Mr(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var i=0;i-1&&(ye((r=s.ranges[r]).from(),t)<0||t.xRel>0)&&(ye(r.to(),t)>0||t.xRel<0)?ws(e,i,t,a):ks(e,i,t,a)}function ws(e,t,n,i){var r=e.display,a=!1,c=Er(e,function(t){l&&(r.scroller.draggable=!1),e.state.draggingText=!1,ht(r.wrapper.ownerDocument,"mouseup",c),ht(r.wrapper.ownerDocument,"mousemove",u),ht(r.scroller,"dragstart",d),ht(r.scroller,"drop",c),a||(wt(t),i.addNew||Oa(e.doc,n,null,null,i.extend),l||o&&9==s?setTimeout(function(){r.wrapper.ownerDocument.body.focus(),r.input.focus()},20):r.input.focus())}),u=function(e){a=a||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},d=function(){return a=!0};l&&(r.scroller.draggable=!0),e.state.draggingText=c,c.copy=!i.moveOnDrag,r.scroller.dragDrop&&r.scroller.dragDrop(),ft(r.wrapper.ownerDocument,"mouseup",c),ft(r.wrapper.ownerDocument,"mousemove",u),ft(r.scroller,"dragstart",d),ft(r.scroller,"drop",c),Wi(e),setTimeout(function(){return r.input.focus()},20)}function xs(e,t,n){if("char"==n)return new ia(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new ia(ve(t.line,0),Ce(e.doc,ve(t.line+1,0)));var i=n(e,t);return new ia(i.from,i.to)}function ks(e,t,n,i){var r=e.display,a=e.doc;wt(t);var o,s,l=a.sel,c=l.ranges;if(i.addNew&&!i.extend?(s=a.sel.contains(n),o=s>-1?c[s]:new ia(n,n)):(o=a.sel.primary(),s=a.sel.primIndex),"rectangle"==i.unit)i.addNew||(o=new ia(n,n)),n=Ii(e,t,!0,!0),s=-1;else{var u=xs(e,n,i.unit);o=i.extend?Da(o,u.anchor,u.head,i.extend):u}i.addNew?-1==s?(s=c.length,ja(a,ra(e,c.concat([o]),s),{scroll:!1,origin:"*mouse"})):c.length>1&&c[s].empty()&&"char"==i.unit&&!i.extend?(ja(a,ra(e,c.slice(0,s).concat(c.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),l=a.sel):Ia(a,s,o,W):(s=0,ja(a,new na([o],0),W),l=a.sel);var d=n;function f(t){if(0!=ye(d,t))if(d=t,"rectangle"==i.unit){for(var r=[],c=e.options.tabSize,u=$(ce(a,n.line).text,n.ch,c),f=$(ce(a,t.line).text,t.ch,c),p=Math.min(u,f),h=Math.max(u,f),m=Math.min(n.line,t.line),g=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=g;m++){var v=ce(a,m).text,y=V(v,p,c);p==h?r.push(new ia(ve(m,y),ve(m,y))):v.length>y&&r.push(new ia(ve(m,y),ve(m,V(v,h,c))))}r.length||r.push(new ia(n,n)),ja(a,ra(e,l.ranges.slice(0,s).concat(r),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,w=o,x=xs(e,t,i.unit),k=w.anchor;ye(x.anchor,k)>0?(b=x.head,k=ke(w.from(),x.anchor)):(b=x.anchor,k=xe(w.to(),x.head));var _=l.ranges.slice(0);_[s]=_s(e,new ia(Ce(a,k),b)),ja(a,ra(e,_,s),W)}}var p=r.wrapper.getBoundingClientRect(),h=0;function m(t){var n=++h,o=Ii(e,t,!0,"rectangle"==i.unit);if(o)if(0!=ye(o,d)){e.curOp.focus=D(),f(o);var s=Ki(r,a);(o.line>=s.to||o.linep.bottom?20:0;l&&setTimeout(Er(e,function(){h==n&&(r.scroller.scrollTop+=l,m(t))}),50)}}function g(t){e.state.selectingText=!1,h=1/0,wt(t),r.input.focus(),ht(r.wrapper.ownerDocument,"mousemove",v),ht(r.wrapper.ownerDocument,"mouseup",y),a.history.lastSelOrigin=null}var v=Er(e,function(e){0!==e.buttons&&St(e)?m(e):g(e)}),y=Er(e,g);e.state.selectingText=y,ft(r.wrapper.ownerDocument,"mousemove",v),ft(r.wrapper.ownerDocument,"mouseup",y)}function _s(e,t){var n=t.anchor,i=t.head,r=ce(e.doc,n.line);if(0==ye(n,i)&&n.sticky==i.sticky)return t;var a=ut(r);if(!a)return t;var o=lt(a,n.ch,n.sticky),s=a[o];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=o+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==a.length)return t;if(i.line!=n.line)l=(i.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=lt(a,i.ch,i.sticky),d=u-o||(i.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?d<0:d>0}var f=a[c+(l?-1:0)],p=l==(1==f.level),h=p?f.from:f.to,m=p?"after":"before";return n.ch==h&&n.sticky==m?t:new ia(new ve(n.line,h,m),i)}function Cs(e,t,n,i){var r,a;if(t.touches)r=t.touches[0].clientX,a=t.touches[0].clientY;else try{r=t.clientX,a=t.clientY}catch(t){return!1}if(r>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;i&&wt(t);var o=e.display,s=o.lineDiv.getBoundingClientRect();if(a>s.bottom||!yt(e,n))return kt(t);a-=s.top-o.viewOffset;for(var l=0;l=r){var u=he(e.doc,a),d=e.options.gutters[l];return mt(e,n,e,u,d,t),kt(t)}}}function Ss(e,t){return Cs(e,t,"gutterClick",!0)}function Ts(e,t){Wn(e.display,t)||Ms(e,t)||gt(e,t,"contextmenu")||_||e.display.input.onContextMenu(t)}function Ms(e,t){return!!yt(e,"gutterContextMenu")&&Cs(e,t,"gutterContextMenu",!1)}function Es(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),fi(e)}hs.prototype.compare=function(e,t,n){return this.time+ps>e&&0==ye(t,this.pos)&&n==this.button};var As={toString:function(){return"CodeMirror.Init"}},Ls={},Ns={};function Ds(e){var t=e.optionHandlers;function n(n,i,r,a){e.defaults[n]=i,r&&(t[n]=a?function(e,t,n){n!=As&&r(e,t,n)}:r)}e.defineOption=n,e.Init=As,n("value","",function(e,t){return e.setValue(t)},!0),n("mode",null,function(e,t){e.doc.modeOption=t,da(e)},!0),n("indentUnit",2,da,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,function(e){fa(e),fi(e),Nr(e)},!0),n("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],i=e.doc.first;e.doc.iter(function(e){for(var r=0;;){var a=e.text.indexOf(t,r);if(-1==a)break;r=a+t.length,n.push(ve(i,a))}i++});for(var r=n.length-1;r>=0;r--)to(e.doc,t,n[r],ve(n[r].line,n[r].ch+t.length))}}),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=As&&e.refresh()}),n("specialCharPlaceholder",gn,function(e){return e.refresh()},!0),n("electricChars",!0),n("inputStyle",v?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),n("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),n("autocorrect",!1,function(e,t){return e.getInputField().autocorrect=t},!0),n("autocapitalize",!1,function(e,t){return e.getInputField().autocapitalize=t},!0),n("rtlMoveVisually",!w),n("wholeLineUpdateBefore",!0),n("theme","default",function(e){Es(e),Os(e)},!0),n("keyMap","default",function(e,t,n){var i=Ho(t),r=n!=As&&Ho(n);r&&r.detach&&r.detach(e,i),i.attach&&i.attach(e,r||null)}),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Is,!0),n("gutters",[],function(e){Yr(e.options),Os(e)},!0),n("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?Di(e.display)+"px":"0",e.refresh()},!0),n("coverGutterNextToScrollbar",!1,function(e){return hr(e)},!0),n("scrollbarStyle","native",function(e){vr(e),hr(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),n("lineNumbers",!1,function(e){Yr(e.options),Os(e)},!0),n("firstLineNumber",1,Os,!0),n("lineNumberFormatter",function(e){return e},Os,!0),n("showCursorWhenSelecting",!1,zi,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,function(e,t){"nocursor"==t&&(Vi(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),n("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),n("dragDrop",!0,Ps),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,zi,!0),n("singleCursorHeightPerLine",!0,zi,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,fa,!0),n("addModeClass",!1,fa,!0),n("pollInterval",100),n("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),n("historyEventDelay",1250),n("viewportMargin",10,function(e){return e.refresh()},!0),n("maxHighlightLength",1e4,fa,!0),n("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),n("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),n("autofocus",null),n("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0),n("phrases",null)}function Os(e){Kr(e),Nr(e),Yi(e)}function Ps(e,t,n){var i=n&&n!=As;if(!t!=!i){var r=e.display.dragFunctions,a=t?ft:ht;a(e.display.scroller,"dragstart",r.start),a(e.display.scroller,"dragenter",r.enter),a(e.display.scroller,"dragover",r.over),a(e.display.scroller,"dragleave",r.leave),a(e.display.scroller,"drop",r.drop)}}function Is(e){e.options.lineWrapping?(O(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(T(e.display.wrapper,"CodeMirror-wrap"),at(e)),Pi(e),Nr(e),fi(e),setTimeout(function(){return hr(e)},100)}function Fs(e,t){var n=this;if(!(this instanceof Fs))return new Fs(e,t);this.options=t=t?z(t):{},z(Ls,t,!1),Yr(t);var i=t.value;"string"==typeof i?i=new xo(i,t.mode,null,t.lineSeparator,t.direction):t.mode&&(i.modeOption=t.mode),this.doc=i;var r=new Fs.inputStyles[t.inputStyle](this),a=this.display=new le(e,i,r);for(var c in a.wrapper.CodeMirror=this,Kr(this),Es(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),vr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new j,keySeq:null,specialChars:null},t.autofocus&&!v&&a.input.focus(),o&&s<11&&setTimeout(function(){return n.display.input.reset(!0)},20),zs(this),Ao(),br(this),this.curOp.forceUpdate=!0,ga(this,i),t.autofocus&&!v||this.hasFocus()?setTimeout(F(Ui,this),20):Vi(this),Ns)Ns.hasOwnProperty(c)&&Ns[c](n,t[c],As);Zi(this),t.finishInit&&t.finishInit(this);for(var u=0;u<$s.length;++u)$s[u](n);wr(this),l&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(a.lineDiv).textRendering&&(a.lineDiv.style.textRendering="auto")}function zs(e){var t=e.display;ft(t.scroller,"mousedown",Er(e,gs)),ft(t.scroller,"dblclick",o&&s<11?Er(e,function(t){if(!gt(e,t)){var n=Ii(e,t);if(n&&!Ss(e,t)&&!Wn(e.display,t)){wt(t);var i=e.findWordAt(n);Oa(e.doc,i.anchor,i.head)}}}):function(t){return gt(e,t)||wt(t)}),ft(t.scroller,"contextmenu",function(t){return Ts(e,t)});var n,i={end:0};function r(){t.activeTouch&&(n=setTimeout(function(){return t.activeTouch=null},1e3),i=t.activeTouch,i.end=+new Date)}function a(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function l(e,t){if(null==t.left)return!0;var n=t.left-e.left,i=t.top-e.top;return n*n+i*i>400}ft(t.scroller,"touchstart",function(r){if(!gt(e,r)&&!a(r)&&!Ss(e,r)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-i.end<=300?i:null},1==r.touches.length&&(t.activeTouch.left=r.touches[0].pageX,t.activeTouch.top=r.touches[0].pageY)}}),ft(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),ft(t.scroller,"touchend",function(n){var i=t.activeTouch;if(i&&!Wn(t,n)&&null!=i.left&&!i.moved&&new Date-i.start<300){var a,o=e.coordsChar(t.activeTouch,"page");a=!i.prev||l(i,i.prev)?new ia(o,o):!i.prev.prev||l(i,i.prev.prev)?e.findWordAt(o):new ia(ve(o.line,0),Ce(e.doc,ve(o.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),wt(n)}r()}),ft(t.scroller,"touchcancel",r),ft(t.scroller,"scroll",function(){t.scroller.clientHeight&&(lr(e,t.scroller.scrollTop),ur(e,t.scroller.scrollLeft,!0),mt(e,"scroll",e))}),ft(t.scroller,"mousewheel",function(t){return ta(e,t)}),ft(t.scroller,"DOMMouseScroll",function(t){return ta(e,t)}),ft(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(t){gt(e,t)||_t(t)},over:function(t){gt(e,t)||(So(e,t),_t(t))},start:function(t){return Co(e,t)},drop:Er(e,_o),leave:function(t){gt(e,t)||To(e)}};var c=t.input.getField();ft(c,"keyup",function(t){return cs.call(e,t)}),ft(c,"keydown",Er(e,ss)),ft(c,"keypress",Er(e,us)),ft(c,"focus",function(t){return Ui(e,t)}),ft(c,"blur",function(t){return Vi(e,t)})}Fs.defaults=Ls,Fs.optionHandlers=Ns;var $s=[];function js(e,t,n,i){var r,a=e.doc;null==n&&(n="add"),"smart"==n&&(a.mode.indent?r=Qt(e,t).state:n="prev");var o=e.options.tabSize,s=ce(a,t),l=$(s.text,null,o);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(i||/\S/.test(s.text)){if("smart"==n&&(c=a.mode.indent(r,s.text.slice(u.length),s.text),c==B||c>150)){if(!i)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>a.first?$(ce(a,t-1).text,null,o):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var d="",f=0;if(e.options.indentWithTabs)for(var p=Math.floor(c/o);p;--p)f+=o,d+="\t";if(f1)if(Rs&&Rs.text.join("\n")==t){if(i.ranges.length%Rs.text.length==0){l=[];for(var c=0;c=0;d--){var f=i.ranges[d],p=f.from(),h=f.to();f.empty()&&(n&&n>0?p=ve(p.line,p.ch-n):e.state.overwrite&&!o?h=ve(h.line,Math.min(ce(a,h.line).text.length,h.ch+K(s).length)):o&&Rs&&Rs.lineWise&&Rs.text.join("\n")==t&&(p=h=ve(p.line,0)));var m={from:p,to:h,text:l?l[d%l.length]:s,origin:r||(o?"paste":e.state.cutIncoming?"cut":"+input")};Ka(e.doc,m),An(e,"inputRead",e,m)}t&&!o&&Ws(e,t),ir(e),e.curOp.updateInput<2&&(e.curOp.updateInput=u),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function Hs(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Mr(t,function(){return Bs(t,n,0,null,"paste")}),!0}function Ws(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,i=n.ranges.length-1;i>=0;i--){var r=n.ranges[i];if(!(r.head.ch>100||i&&n.ranges[i-1].head.line==r.head.line)){var a=e.getModeAt(r.head),o=!1;if(a.electricChars){for(var s=0;s-1){o=js(e,r.head.line,"smart");break}}else a.electricInput&&a.electricInput.test(ce(e.doc,r.head.line).text.slice(0,r.head.ch))&&(o=js(e,r.head.line,"smart"));o&&An(e,"electricInput",e,r.head.line)}}}function Us(e){for(var t=[],n=[],i=0;ii&&(js(t,a.head.line,e,!0),i=a.head.line,r==t.doc.sel.primIndex&&ir(t));else{var o=a.from(),s=a.to(),l=Math.max(i,o.line);i=Math.min(t.lastLine(),s.line-(s.ch?0:1))+1;for(var c=l;c0&&Ia(t.doc,r,new ia(o,u[r].to()),H)}}}),getTokenAt:function(e,t){return rn(this,e,t)},getLineTokens:function(e,t){return rn(this,ve(e),t,!0)},getTokenTypeAt:function(e){e=Ce(this.doc,e);var t,n=Zt(this,ce(this.doc,e.line)),i=0,r=(n.length-1)/2,a=e.ch;if(0==a)t=n[2];else for(;;){var o=i+r>>1;if((o?n[2*o-1]:0)>=a)r=o;else{if(!(n[2*o+1]a&&(e=a,r=!0),i=ce(this.doc,e)}else i=e;return gi(this,i,{top:0,left:0},t||"page",n||r).top+(r?this.doc.height-it(i):0)},defaultTextHeight:function(){return Ai(this.display)},defaultCharWidth:function(){return Li(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,i,r){var a=this.display;e=bi(this,Ce(this.doc,e));var o=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),a.sizer.appendChild(t),"over"==i)o=e.top;else if("above"==i||"near"==i){var l=Math.max(a.wrapper.clientHeight,this.doc.height),c=Math.max(a.sizer.clientWidth,a.lineSpace.clientWidth);("above"==i||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?o=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(o=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=o+"px",t.style.left=t.style.right="","right"==r?(s=a.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==r?s=0:"middle"==r&&(s=(a.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&er(this,{left:s,top:o,right:s+t.offsetWidth,bottom:o+t.offsetHeight})},triggerOnKeyDown:Ar(ss),triggerOnKeyPress:Ar(us),triggerOnKeyUp:cs,triggerOnMouseDown:Ar(gs),execCommand:function(e){if(Ko.hasOwnProperty(e))return Ko[e].call(null,this)},triggerElectric:Ar(function(e){Ws(this,e)}),findPosH:function(e,t,n,i){var r=this,a=1;t<0&&(a=-1,t=-t);for(var o=Ce(this.doc,e),s=0;s0&&s(n.charAt(i-1)))--i;while(r.5)&&Pi(this),mt(this,"refresh",this)}),swapDoc:Ar(function(e){var t=this.doc;return t.cm=null,ga(this,e),fi(this),this.display.input.reset(),rr(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,An(this,"swapDoc",this,t),t}),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},bt(e),e.registerHelper=function(t,i,r){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][i]=r},e.registerGlobalHelper=function(t,i,r,a){e.registerHelper(t,i,a),n[t]._global.push({pred:r,val:a})}}function Ks(e,t,n,i,r){var a=t,o=n,s=ce(e,t.line);function l(){var i=t.line+n;return!(i=e.first+e.size)&&(t=new ve(i,t.ch,t.sticky),s=ce(e,i))}function c(i){var a;if(a=r?Xo(e.cm,s,t,n):Vo(s,t,n),null==a){if(i||!l())return!1;t=Go(r,e.cm,s,t.line,n)}else t=a;return!0}if("char"==i)c();else if("column"==i)c(!0);else if("word"==i||"group"==i)for(var u=null,d="group"==i,f=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;;p=!1){if(n<0&&!c(!p))break;var h=s.text.charAt(t.ch)||"\n",m=ne(h,f)?"w":d&&"\n"==h?"n":!d||/\s/.test(h)?null:"p";if(!d||p||m||(m="s"),u&&u!=m){n<0&&(n=1,c(),t.sticky="after");break}if(m&&(u=m),n>0&&!c(!p))break}var g=Ua(e,t,a,o,!0);return be(a,g)&&(g.hitSide=!0),g}function Ys(e,t,n,i){var r,a,o=e.doc,s=t.left;if("page"==i){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*Ai(e.display),3);r=(n>0?t.bottom:t.top)+n*c}else"line"==i&&(r=n>0?t.bottom+3:t.top-3);for(;;){if(a=ki(e,s,r),!a.outside)break;if(n<0?r<=0:r>=o.height){a.hitSide=!0;break}r+=5*n}return a}var Zs=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new j,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Qs(e,t){var n=ti(e,t.line);if(!n||n.hidden)return null;var i=ce(e.doc,t.line),r=Qn(n,i,t.line),a=ut(i,e.doc.direction),o="left";if(a){var s=lt(a,t.ch);o=s%2?"right":"left"}var l=oi(r.map,t.ch,o);return l.offset="right"==l.collapse?l.end:l.start,l}function Js(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function el(e,t){return t&&(e.bad=!0),e}function tl(e,t,n,i,r){var a="",o=!1,s=e.doc.lineSeparator(),l=!1;function c(e){return function(t){return t.id==e}}function u(){o&&(a+=s,l&&(a+=s),o=l=!1)}function d(e){e&&(u(),a+=e)}function f(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void d(n);var a,p=t.getAttribute("cm-marker");if(p){var h=e.findMarks(ve(i,0),ve(r+1,0),c(+p));return void(h.length&&(a=h[0].find(0))&&d(ue(e.doc,a.from,a.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var m=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;m&&u();for(var g=0;g=t.display.viewTo||a.line=t.display.viewFrom&&Qs(t,r)||{node:l[0].measure.map[2],offset:0},u=a.linei.firstLine()&&(o=ve(o.line-1,ce(i.doc,o.line-1).length)),s.ch==ce(i.doc,s.line).text.length&&s.liner.viewTo-1)return!1;o.line==r.viewFrom||0==(e=Fi(i,o.line))?(t=pe(r.view[0].line),n=r.view[0].node):(t=pe(r.view[e].line),n=r.view[e-1].node.nextSibling);var l,c,u=Fi(i,s.line);if(u==r.view.length-1?(l=r.viewTo-1,c=r.lineDiv.lastChild):(l=pe(r.view[u+1].line)-1,c=r.view[u+1].node.previousSibling),!n)return!1;var d=i.doc.splitLines(tl(i,n,c,t,l)),f=ue(i.doc,ve(t,0),ve(l,ce(i.doc,l).text.length));while(d.length>1&&f.length>1)if(K(d)==K(f))d.pop(),f.pop(),l--;else{if(d[0]!=f[0])break;d.shift(),f.shift(),t++}var p=0,h=0,m=d[0],g=f[0],v=Math.min(m.length,g.length);while(po.ch&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1))p--,h++;d[d.length-1]=y.slice(0,y.length-h).replace(/^\u200b+/,""),d[0]=d[0].slice(p).replace(/\u200b+$/,"");var x=ve(t,p),k=ve(l,f.length?K(f).length-h:0);return d.length>1||d[0]||ye(x,k)?(to(i.doc,d,x,k,"+input"),!0):void 0},Zs.prototype.ensurePolled=function(){this.forceCompositionEnd()},Zs.prototype.reset=function(){this.forceCompositionEnd()},Zs.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Zs.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},Zs.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Mr(this.cm,function(){return Nr(e.cm)})},Zs.prototype.setUneditable=function(e){e.contentEditable="false"},Zs.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Er(this.cm,Bs)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Zs.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Zs.prototype.onContextMenu=function(){},Zs.prototype.resetPosition=function(){},Zs.prototype.needsContentAttribute=!0;var rl=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new j,this.hasSelection=!1,this.composing=null};function al(e,t){if(t=t?z(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=D();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function i(){e.value=s.getValue()}var r;if(e.form&&(ft(e.form,"submit",i),!t.leaveSubmitMethodAlone)){var a=e.form;r=a.submit;try{var o=a.submit=function(){i(),a.submit=r,a.submit(),a.submit=o}}catch(l){}}t.finishInit=function(t){t.save=i,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,i(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(ht(e.form,"submit",i),"function"==typeof e.form.submit&&(e.form.submit=r))}},e.style.display="none";var s=Fs(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return s}function ol(e){e.off=ht,e.on=ft,e.wheelEventPixels=ea,e.Doc=xo,e.splitLines=Nt,e.countColumn=$,e.findColumn=V,e.isWordChar=te,e.Pass=B,e.signal=mt,e.Line=cn,e.changeEnd=oa,e.scrollbarModel=gr,e.Pos=ve,e.cmpPos=ye,e.modes=Ft,e.mimeModes=zt,e.resolveMode=Rt,e.getMode=qt,e.modeExtensions=Bt,e.extendMode=Ht,e.copyState=Wt,e.startState=Vt,e.innerMode=Ut,e.commands=Ko,e.keyMap=Fo,e.keyName=Bo,e.isModifierKey=Ro,e.lookupKey=jo,e.normalizeKeyMap=$o,e.StringStream=Gt,e.SharedTextMarker=mo,e.TextMarker=po,e.LineWidget=lo,e.e_preventDefault=wt,e.e_stopPropagation=xt,e.e_stop=_t,e.addClass=O,e.contains=N,e.rmClass=T,e.keyNames=Do}rl.prototype.init=function(e){var t=this,n=this,i=this.cm;this.createField(e);var r=this.textarea;function a(e){if(!gt(i,e)){if(i.somethingSelected())qs({lineWise:!1,text:i.getSelections()});else{if(!i.options.lineWiseCopyCut)return;var t=Us(i);qs({lineWise:!0,text:t.text}),"cut"==e.type?i.setSelections(t.ranges,null,H):(n.prevInput="",r.value=t.text.join("\n"),I(r))}"cut"==e.type&&(i.state.cutIncoming=!0)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(r.style.width="0px"),ft(r,"input",function(){o&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),ft(r,"paste",function(e){gt(i,e)||Hs(e,i)||(i.state.pasteIncoming=!0,n.fastPoll())}),ft(r,"cut",a),ft(r,"copy",a),ft(e.scroller,"paste",function(t){Wn(e,t)||gt(i,t)||(i.state.pasteIncoming=!0,n.focus())}),ft(e.lineSpace,"selectstart",function(t){Wn(e,t)||wt(t)}),ft(r,"compositionstart",function(){var e=i.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:i.markText(e,i.getCursor("to"),{className:"CodeMirror-composing"})}}),ft(r,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},rl.prototype.createField=function(e){this.wrapper=Gs(),this.textarea=this.wrapper.firstChild},rl.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,i=$i(e);if(e.options.moveInputWithCursor){var r=bi(e,n.sel.primary().head,"div"),a=t.wrapper.getBoundingClientRect(),o=t.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,r.top+o.top-a.top)),i.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,r.left+o.left-a.left))}return i},rl.prototype.showSelection=function(e){var t=this.cm,n=t.display;E(n.cursorDiv,e.cursors),E(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},rl.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&I(this.textarea),o&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",o&&s>=9&&(this.hasSelection=null))}},rl.prototype.getField=function(){return this.textarea},rl.prototype.supportsTouch=function(){return!1},rl.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||D()!=this.textarea))try{this.textarea.focus()}catch(e){}},rl.prototype.blur=function(){this.textarea.blur()},rl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},rl.prototype.receivedFocus=function(){this.slowPoll()},rl.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},rl.prototype.fastPoll=function(){var e=!1,t=this;function n(){var i=t.poll();i||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}t.pollingFast=!0,t.polling.set(20,n)},rl.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,i=this.prevInput;if(this.contextMenuPending||!t.state.focused||Dt(n)&&!i&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var r=n.value;if(r==i&&!t.somethingSelected())return!1;if(o&&s>=9&&this.hasSelection===r||y&&/[\uf700-\uf7ff]/.test(r))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var a=r.charCodeAt(0);if(8203!=a||i||(i="​"),8666==a)return this.reset(),this.cm.execCommand("undo")}var l=0,c=Math.min(i.length,r.length);while(l1e3||r.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=r,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},rl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},rl.prototype.onKeyPress=function(){o&&s>=9&&(this.hasSelection=null),this.fastPoll()},rl.prototype.onContextMenu=function(e){var t=this,n=t.cm,i=n.display,r=t.textarea;t.contextMenuPending&&t.contextMenuPending();var a=Ii(n,e),c=i.scroller.scrollTop;if(a&&!d){var u=n.options.resetSelectionOnContextMenu;u&&-1==n.doc.sel.contains(a)&&Er(n,ja)(n.doc,aa(a),H);var f,p=r.style.cssText,h=t.wrapper.style.cssText,m=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",r.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-m.top-5)+"px; left: "+(e.clientX-m.left-5)+"px;\n z-index: 1000; background: "+(o?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(f=window.scrollY),i.input.focus(),l&&window.scrollTo(null,f),i.input.reset(),n.somethingSelected()||(r.value=t.prevInput=" "),t.contextMenuPending=y,i.selForContextMenu=n.doc.sel,clearTimeout(i.detectingSelectAll),o&&s>=9&&v(),_){_t(e);var g=function(){ht(window,"mouseup",g),setTimeout(y,20)};ft(window,"mouseup",g)}else setTimeout(y,50)}function v(){if(null!=r.selectionStart){var e=n.somethingSelected(),a="​"+(e?r.value:"");r.value="⇚",r.value=a,t.prevInput=e?"":"​",r.selectionStart=1,r.selectionEnd=a.length,i.selForContextMenu=n.doc.sel}}function y(){if(t.contextMenuPending==y&&(t.contextMenuPending=!1,t.wrapper.style.cssText=h,r.style.cssText=p,o&&s<9&&i.scrollbars.setScrollTop(i.scroller.scrollTop=c),null!=r.selectionStart)){(!o||o&&s<9)&&v();var e=0,a=function(){i.selForContextMenu==n.doc.sel&&0==r.selectionStart&&r.selectionEnd>0&&"​"==t.prevInput?Er(n,Ga)(n):e++<10?i.detectingSelectAll=setTimeout(a,500):(i.selForContextMenu=null,i.input.reset())};i.detectingSelectAll=setTimeout(a,200)}}},rl.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},rl.prototype.setUneditable=function(){},rl.prototype.needsContentAttribute=!1,Ds(Fs),Xs(Fs);var sl="iter insert remove copy getEditor constructor".split(" ");for(var ll in xo.prototype)xo.prototype.hasOwnProperty(ll)&&R(sl,ll)<0&&(Fs.prototype[ll]=function(e){return function(){return e.apply(this.doc,arguments)}}(xo.prototype[ll]));return bt(xo),Fs.inputStyles={textarea:rl,contenteditable:Zs},Fs.defineMode=function(e){Fs.defaults.mode||"null"==e||(Fs.defaults.mode=e),$t.apply(this,arguments)},Fs.defineMIME=jt,Fs.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Fs.defineMIME("text/plain","null"),Fs.defineExtension=function(e,t){Fs.prototype[e]=t},Fs.defineDocExtension=function(e,t){xo.prototype[e]=t},Fs.fromTextArea=al,ol(Fs),Fs.version="5.43.0",Fs})},"56d7":function(e,t,n){"use strict";n.r(t);n("744f"),n("6c7b"),n("7514"),n("20d6"),n("1c4c"),n("6762"),n("cadf"),n("e804"),n("55dd"),n("d04f"),n("c8ce"),n("217b"),n("7f7f"),n("f400"),n("7f25"),n("536b"),n("d9ab"),n("f9ab"),n("32d7"),n("25c9"),n("9f3c"),n("042e"),n("c7c6"),n("f4ff"),n("049f"),n("7872"),n("a69f"),n("0b21"),n("6c1a"),n("c7c62"),n("84b4"),n("c5f6"),n("2e37"),n("fca0"),n("7cdf"),n("ee1d"),n("b1b1"),n("87f3"),n("9278"),n("5df2"),n("04ff"),n("f751"),n("4504"),n("fee7"),n("ffc1"),n("0d6d"),n("9986"),n("8e6e"),n("25db"),n("e4f7"),n("b9a1"),n("64d5"),n("9aea"),n("db97"),n("66c8"),n("57f0"),n("165b"),n("456d"),n("cf6a"),n("fd24"),n("8615"),n("551c"),n("097d"),n("df1b"),n("2397"),n("88ca"),n("ba16"),n("d185"),n("ebde"),n("2d34"),n("f6b3"),n("2251"),n("c698"),n("a19f"),n("9253"),n("9275"),n("3b2b"),n("3846"),n("4917"),n("a481"),n("28a5"),n("386d"),n("6b54"),n("4f7f"),n("8a81"),n("ac4d"),n("8449"),n("9c86"),n("fa83"),n("48c0"),n("a032"),n("aef6"),n("d263"),n("6c37"),n("9ec8"),n("5695"),n("2fdb"),n("d0b0"),n("5df3"),n("b54a"),n("f576"),n("ed50"),n("788d"),n("14b9"),n("f386"),n("f559"),n("1448"),n("673e"),n("242a"),n("c66f"),n("b05c"),n("34ef"),n("6aa2"),n("15ac"),n("af56"),n("b6e4"),n("9c29"),n("63d9"),n("4dda"),n("10ad"),n("c02b"),n("4795"),n("130f"),n("ac6a"),n("96cf");var i=n("2b0e"); +var n=Object.freeze({});function i(e){return void 0===e||null===e}function r(e){return void 0!==e&&null!==e}function a(e){return!0===e}function o(e){return!1===e}function s(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function l(e){return null!==e&&"object"===typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function d(e){return"[object RegExp]"===c.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return r(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function w(e,t){return b.call(e,t)}function x(e){var t=Object.create(null);return function(n){var i=t[n];return i||(t[n]=e(n))}}var k=/-(\w)/g,_=x(function(e){return e.replace(k,function(e,t){return t?t.toUpperCase():""})}),C=x(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),S=/\B([A-Z])/g,T=x(function(e){return e.replace(S,"-$1").toLowerCase()});function M(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function E(e,t){return e.bind(t)}var A=Function.prototype.bind?E:M;function L(e,t){t=t||0;var n=e.length-t,i=new Array(n);while(n--)i[n]=e[n+t];return i}function N(e,t){for(var n in t)e[n]=t[n];return e}function D(e){for(var t={},n=0;n0,ne=J&&J.indexOf("edge/")>0,ie=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===Q),re=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),ae={}.watch,oe=!1;if(Y)try{var se={};Object.defineProperty(se,"passive",{get:function(){oe=!0}}),window.addEventListener("test-passive",null,se)}catch(ko){}var le=function(){return void 0===X&&(X=!Y&&!Z&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),X},ce=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ue(e){return"function"===typeof e&&/native code/.test(e.toString())}var de,fe="undefined"!==typeof Symbol&&ue(Symbol)&&"undefined"!==typeof Reflect&&ue(Reflect.ownKeys);de="undefined"!==typeof Set&&ue(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var pe=O,he=0,me=function(){this.id=he++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){y(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(a&&!w(r,"default"))o=!1;else if(""===o||o===T(e)){var l=et(String,r.type);(l<0||s0&&(o=Mt(o,(t||"")+"_"+n),Tt(o[0])&&Tt(c)&&(u[l]=ke(c.text+o[0].text),o.shift()),u.push.apply(u,o)):s(o)?Tt(c)?u[l]=ke(c.text+o):""!==o&&u.push(ke(o)):Tt(o)&&Tt(c)?u[l]=ke(c.text+o.text):(a(e._isVList)&&r(o.tag)&&i(o.key)&&r(t)&&(o.key="__vlist"+t+"_"+n+"__"),u.push(o)));return u}function Et(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function At(e){var t=Lt(e.$options.inject,e);t&&(Ae(!1),Object.keys(t).forEach(function(n){Pe(e,n,t[n])}),Ae(!0))}function Lt(e,t){if(e){for(var n=Object.create(null),i=fe?Reflect.ownKeys(e):Object.keys(e),r=0;r1?L(n):n;for(var i=L(arguments,1),r='event handler for "'+e+'"',a=0,o=n.length;aUn&&Rn[n].id>e.id)n--;Rn.splice(n+1,0,e)}else Rn.push(e);Hn||(Hn=!0,ht(Kn))}}Y&&Xn()>document.createEvent("Event").timeStamp&&(Xn=function(){return performance.now()});var ei=0,ti=function(e,t,n,i,r){this.vm=e,r&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ei,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new de,this.newDepIds=new de,this.expression="","function"===typeof t?this.getter=t:(this.getter=G(t),this.getter||(this.getter=O)),this.value=this.lazy?void 0:this.get()};ti.prototype.get=function(){var e;ve(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(ko){if(!this.user)throw ko;tt(ko,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&>(e),ye(),this.cleanupDeps()}return e},ti.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},ti.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},ti.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Jn(this)},ti.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(ko){tt(ko,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},ti.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ti.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},ti.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var ni={enumerable:!0,configurable:!0,get:O,set:O};function ii(e,t,n){ni.get=function(){return this[t][n]},ni.set=function(e){this[t][n]=e},Object.defineProperty(e,n,ni)}function ri(e){e._watchers=[];var t=e.$options;t.props&&ai(e,t.props),t.methods&&pi(e,t.methods),t.data?oi(e):Oe(e._data={},!0),t.computed&&ci(e,t.computed),t.watch&&t.watch!==ae&&hi(e,t.watch)}function ai(e,t){var n=e.$options.propsData||{},i=e._props={},r=e.$options._propKeys=[],a=!e.$parent;a||Ae(!1);var o=function(a){r.push(a);var o=Ye(a,t,n,e);Pe(i,a,o),a in e||ii(e,"_props",a)};for(var s in t)o(s);Ae(!0)}function oi(e){var t=e.$options.data;t=e._data="function"===typeof t?si(t,e):t||{},u(t)||(t={});var n=Object.keys(t),i=e.$options.props,r=(e.$options.methods,n.length);while(r--){var a=n[r];0,i&&w(i,a)||W(a)||ii(e,"_data",a)}Oe(t,!0)}function si(e,t){ve();try{return e.call(t,t)}catch(ko){return tt(ko,t,"data()"),{}}finally{ye()}}var li={lazy:!0};function ci(e,t){var n=e._computedWatchers=Object.create(null),i=le();for(var r in t){var a=t[r],o="function"===typeof a?a:a.get;0,i||(n[r]=new ti(e,o||O,O,li)),r in e||ui(e,r,a)}}function ui(e,t,n){var i=!le();"function"===typeof n?(ni.get=i?di(t):fi(n),ni.set=O):(ni.get=n.get?i&&!1!==n.cache?di(t):fi(n.get):O,ni.set=n.set||O),Object.defineProperty(e,t,ni)}function di(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function fi(e){return function(){return e.call(this,this)}}function pi(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?O:A(t[n],e)}function hi(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var r=0;r-1)return this;var n=L(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function Ci(e){e.mixin=function(e){return this.options=Xe(this.options,e),this}}function Si(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,r=e._Ctor||(e._Ctor={});if(r[i])return r[i];var a=e.name||n.options.name;var o=function(e){this._init(e)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=t++,o.options=Xe(n.options,e),o["super"]=n,o.options.props&&Ti(o),o.options.computed&&Mi(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,R.forEach(function(e){o[e]=n[e]}),a&&(o.options.components[a]=o),o.superOptions=n.options,o.extendOptions=e,o.sealedOptions=N({},o.options),r[i]=o,o}}function Ti(e){var t=e.options.props;for(var n in t)ii(e.prototype,"_props",n)}function Mi(e){var t=e.options.computed;for(var n in t)ui(e.prototype,n,t[n])}function Ei(e){R.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function Ai(e){return e&&(e.Ctor.options.name||e.tag)}function Li(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function Ni(e,t){var n=e.cache,i=e.keys,r=e._vnode;for(var a in n){var o=n[a];if(o){var s=Ai(o.componentOptions);s&&!t(s)&&Di(n,a,i,r)}}}function Di(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,y(n,t)}yi(ki),gi(ki),An(ki),On(ki),yn(ki);var Oi=[String,RegExp,Array],Pi={name:"keep-alive",abstract:!0,props:{include:Oi,exclude:Oi,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Di(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){Ni(e,function(e){return Li(t,e)})}),this.$watch("exclude",function(t){Ni(e,function(e){return!Li(t,e)})})},render:function(){var e=this.$slots.default,t=_n(e),n=t&&t.componentOptions;if(n){var i=Ai(n),r=this,a=r.include,o=r.exclude;if(a&&(!i||!Li(a,i))||o&&i&&Li(o,i))return t;var s=this,l=s.cache,c=s.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;l[u]?(t.componentInstance=l[u].componentInstance,y(c,u),c.push(u)):(l[u]=t,c.push(u),this.max&&c.length>parseInt(this.max)&&Di(l,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Ii={KeepAlive:Pi};function Fi(e){var t={get:function(){return B}};Object.defineProperty(e,"config",t),e.util={warn:pe,extend:N,mergeOptions:Xe,defineReactive:Pe},e.set=Ie,e.delete=Fe,e.nextTick=ht,e.observable=function(e){return Oe(e),e},e.options=Object.create(null),R.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,N(e.options.components,Ii),_i(e),Ci(e),Si(e),Ei(e)}Fi(ki),Object.defineProperty(ki.prototype,"$isServer",{get:le}),Object.defineProperty(ki.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ki,"FunctionalRenderContext",{value:Zt}),ki.version="2.6.7";var zi=g("style,class"),$i=g("input,textarea,option,select,progress"),ji=function(e,t,n){return"value"===n&&$i(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Ri=g("contenteditable,draggable,spellcheck"),qi=g("events,caret,typing,plaintext-only"),Bi=function(e,t){return Gi(t)||"false"===t?"false":"contenteditable"===e&&qi(t)?t:"true"},Hi=g("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"),Wi="http://www.w3.org/1999/xlink",Ui=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Vi=function(e){return Ui(e)?e.slice(6,e.length):""},Gi=function(e){return null==e||!1===e};function Xi(e){var t=e.data,n=e,i=e;while(r(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(t=Ki(i.data,t));while(r(n=n.parent))n&&n.data&&(t=Ki(t,n.data));return Yi(t.staticClass,t.class)}function Ki(e,t){return{staticClass:Zi(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Yi(e,t){return r(e)||r(t)?Zi(e,Qi(t)):""}function Zi(e,t){return e?t?e+" "+t:e:t||""}function Qi(e){return Array.isArray(e)?Ji(e):l(e)?er(e):"string"===typeof e?e:""}function Ji(e){for(var t,n="",i=0,a=e.length;i-1?or[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:or[e]=/HTMLUnknownElement/.test(t.toString())}var lr=g("text,number,password,search,email,tel,url");function cr(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function ur(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function dr(e,t){return document.createElementNS(tr[e],t)}function fr(e){return document.createTextNode(e)}function pr(e){return document.createComment(e)}function hr(e,t,n){e.insertBefore(t,n)}function mr(e,t){e.removeChild(t)}function gr(e,t){e.appendChild(t)}function vr(e){return e.parentNode}function yr(e){return e.nextSibling}function br(e){return e.tagName}function wr(e,t){e.textContent=t}function xr(e,t){e.setAttribute(t,"")}var kr=Object.freeze({createElement:ur,createElementNS:dr,createTextNode:fr,createComment:pr,insertBefore:hr,removeChild:mr,appendChild:gr,parentNode:vr,nextSibling:yr,tagName:br,setTextContent:wr,setStyleScope:xr}),_r={create:function(e,t){Cr(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Cr(e,!0),Cr(t))},destroy:function(e){Cr(e,!0)}};function Cr(e,t){var n=e.data.ref;if(r(n)){var i=e.context,a=e.componentInstance||e.elm,o=i.$refs;t?Array.isArray(o[n])?y(o[n],a):o[n]===a&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(a)<0&&o[n].push(a):o[n]=[a]:o[n]=a}}var Sr=new be("",{},[]),Tr=["create","activate","update","remove","destroy"];function Mr(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&Er(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&i(t.asyncFactory.error))}function Er(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,a=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===a||lr(i)&&lr(a)}function Ar(e,t,n){var i,a,o={};for(i=t;i<=n;++i)a=e[i].key,r(a)&&(o[a]=i);return o}function Lr(e){var t,n,o={},l=e.modules,c=e.nodeOps;for(t=0;tm?(d=i(n[y+1])?null:n[y+1].elm,_(e,d,n,h,y,a)):h>y&&S(e,t,f,m)}function E(e,t,n,i){for(var a=n;a-1?qr(e,t,n):Hi(t)?Gi(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Ri(t)?e.setAttribute(t,Bi(t,n)):Ui(t)?Gi(n)?e.removeAttributeNS(Wi,Vi(t)):e.setAttributeNS(Wi,t,n):qr(e,t,n)}function qr(e,t,n){if(Gi(n))e.removeAttribute(t);else{if(ee&&!te&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var Br={create:jr,update:jr};function Hr(e,t){var n=t.elm,a=t.data,o=e.data;if(!(i(a.staticClass)&&i(a.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var s=Xi(t),l=n._transitionClasses;r(l)&&(s=Zi(s,Qi(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Wr,Ur={create:Hr,update:Hr},Vr="__r",Gr="__c";function Xr(e){if(r(e[Vr])){var t=ee?"change":"input";e[t]=[].concat(e[Vr],e[t]||[]),delete e[Vr]}r(e[Gr])&&(e.change=[].concat(e[Gr],e.change||[]),delete e[Gr])}function Kr(e,t,n){var i=Wr;return function r(){var a=t.apply(null,arguments);null!==a&&Qr(e,r,n,i)}}var Yr=ot&&!(re&&Number(re[1])<=53);function Zr(e,t,n,i){if(Yr){var r=Gn,a=t;t=a._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=r||0===e.timeStamp||e.target.ownerDocument!==document)return a.apply(this,arguments)}}Wr.addEventListener(e,t,oe?{capture:n,passive:i}:n)}function Qr(e,t,n,i){(i||Wr).removeEventListener(e,t._wrapper||t,n)}function Jr(e,t){if(!i(e.data.on)||!i(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Wr=t.elm,Xr(n),wt(n,r,Zr,Qr,Kr,t.context),Wr=void 0}}var ea,ta={create:Jr,update:Jr};function na(e,t){if(!i(e.data.domProps)||!i(t.data.domProps)){var n,a,o=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in r(l.__ob__)&&(l=t.data.domProps=N({},l)),s)i(l[n])&&(o[n]="");for(n in l){if(a=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),a===s[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=a;var c=i(a)?"":String(a);ia(o,c)&&(o.value=c)}else if("innerHTML"===n&&ir(o.tagName)&&i(o.innerHTML)){ea=ea||document.createElement("div"),ea.innerHTML=""+a+"";var u=ea.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(u.firstChild)o.appendChild(u.firstChild)}else if(a!==s[n])try{o[n]=a}catch(ko){}}}}function ia(e,t){return!e.composing&&("OPTION"===e.tagName||ra(e,t)||aa(e,t))}function ra(e,t){var n=!0;try{n=document.activeElement!==e}catch(ko){}return n&&e.value!==t}function aa(e,t){var n=e.value,i=e._vModifiers;if(r(i)){if(i.number)return m(n)!==m(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}var oa={create:na,update:na},sa=x(function(e){var t={},n=/;(?![^(]*\))/g,i=/:(.+)/;return e.split(n).forEach(function(e){if(e){var n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t});function la(e){var t=ca(e.style);return e.staticStyle?N(e.staticStyle,t):t}function ca(e){return Array.isArray(e)?D(e):"string"===typeof e?sa(e):e}function ua(e,t){var n,i={};if(t){var r=e;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=la(r.data))&&N(i,n)}(n=la(e.data))&&N(i,n);var a=e;while(a=a.parent)a.data&&(n=la(a.data))&&N(i,n);return i}var da,fa=/^--/,pa=/\s*!important$/,ha=function(e,t,n){if(fa.test(t))e.style.setProperty(t,n);else if(pa.test(n))e.style.setProperty(T(t),n.replace(pa,""),"important");else{var i=ga(t);if(Array.isArray(n))for(var r=0,a=n.length;r-1?t.split(ba).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function xa(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(ba).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function ka(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&N(t,_a(e.name||"v")),N(t,e),t}return"string"===typeof e?_a(e):void 0}}var _a=x(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),Ca=Y&&!te,Sa="transition",Ta="animation",Ma="transition",Ea="transitionend",Aa="animation",La="animationend";Ca&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ma="WebkitTransition",Ea="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Aa="WebkitAnimation",La="webkitAnimationEnd"));var Na=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Da(e){Na(function(){Na(e)})}function Oa(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),wa(e,t))}function Pa(e,t){e._transitionClasses&&y(e._transitionClasses,t),xa(e,t)}function Ia(e,t,n){var i=za(e,t),r=i.type,a=i.timeout,o=i.propCount;if(!r)return n();var s=r===Sa?Ea:La,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=o&&c()};setTimeout(function(){l0&&(n=Sa,u=o,d=a.length):t===Ta?c>0&&(n=Ta,u=c,d=l.length):(u=Math.max(o,c),n=u>0?o>c?Sa:Ta:null,d=n?n===Sa?a.length:l.length:0);var f=n===Sa&&Fa.test(i[Ma+"Property"]);return{type:n,timeout:u,propCount:d,hasTransform:f}}function $a(e,t){while(e.length1}function Wa(e,t){!0!==t.data.show&&Ra(t)}var Ua=Y?{create:Wa,activate:Wa,remove:function(e,t){!0!==e.data.show?qa(e,t):t()}}:{},Va=[Br,Ur,ta,oa,ya,Ua],Ga=Va.concat($r),Xa=Lr({nodeOps:kr,modules:Ga});te&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&no(e,"input")});var Ka={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?xt(n,"postpatch",function(){Ka.componentUpdated(e,t,n)}):Ya(e,t,n.context),e._vOptions=[].map.call(e.options,Ja)):("textarea"===n.tag||lr(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",eo),e.addEventListener("compositionend",to),e.addEventListener("change",to),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Ya(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,Ja);if(r.some(function(e,t){return!F(e,i[t])})){var a=e.multiple?t.value.some(function(e){return Qa(e,r)}):t.value!==t.oldValue&&Qa(t.value,r);a&&no(e,"change")}}}};function Ya(e,t,n){Za(e,t,n),(ee||ne)&&setTimeout(function(){Za(e,t,n)},0)}function Za(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){for(var a,o,s=0,l=e.options.length;s-1,o.selected!==a&&(o.selected=a);else if(F(Ja(o),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));r||(e.selectedIndex=-1)}}function Qa(e,t){return t.every(function(t){return!F(t,e)})}function Ja(e){return"_value"in e?e._value:e.value}function eo(e){e.target.composing=!0}function to(e){e.target.composing&&(e.target.composing=!1,no(e.target,"input"))}function no(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function io(e){return!e.componentInstance||e.data&&e.data.transition?e:io(e.componentInstance._vnode)}var ro={bind:function(e,t,n){var i=t.value;n=io(n);var r=n.data&&n.data.transition,a=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,Ra(n,function(){e.style.display=a})):e.style.display=i?a:"none"},update:function(e,t,n){var i=t.value,r=t.oldValue;if(!i!==!r){n=io(n);var a=n.data&&n.data.transition;a?(n.data.show=!0,i?Ra(n,function(){e.style.display=e.__vOriginalDisplay}):qa(n,function(){e.style.display="none"})):e.style.display=i?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,i,r){r||(e.style.display=e.__vOriginalDisplay)}},ao={model:Ka,show:ro},oo={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 so(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?so(_n(t.children)):e}function lo(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var r=n._parentListeners;for(var a in r)t[_(a)]=r[a];return t}function co(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function uo(e){while(e=e.parent)if(e.data.transition)return!0}function fo(e,t){return t.key===e.key&&t.tag===e.tag}var po=function(e){return e.tag||kn(e)},ho=function(e){return"show"===e.name},mo={name:"transition",props:oo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(po),n.length)){0;var i=this.mode;0;var r=n[0];if(uo(this.$vnode))return r;var a=so(r);if(!a)return r;if(this._leaving)return co(e,r);var o="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?o+"comment":o+a.tag:s(a.key)?0===String(a.key).indexOf(o)?a.key:o+a.key:a.key;var l=(a.data||(a.data={})).transition=lo(this),c=this._vnode,u=so(c);if(a.data.directives&&a.data.directives.some(ho)&&(a.data.show=!0),u&&u.data&&!fo(a,u)&&!kn(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=N({},l);if("out-in"===i)return this._leaving=!0,xt(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),co(e,r);if("in-out"===i){if(kn(a))return c;var f,p=function(){f()};xt(l,"afterEnter",p),xt(l,"enterCancelled",p),xt(d,"delayLeave",function(e){f=e})}}return r}}},go=N({tag:String,moveClass:String},oo);delete go.mode;var vo={props:go,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=Nn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],a=this.children=[],o=lo(this),s=0;s22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},"2d83":function(e,t,n){"use strict";var i=n("387f");e.exports=function(e,t,n,r,a){var o=new Error(e);return i(o,t,n,r,a)}},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"2dba":function(e,t,n){},"2e08":function(e,t,n){var i=n("9def"),r=n("9744"),a=n("be13");e.exports=function(e,t,n,o){var s=String(a(e)),l=s.length,c=void 0===n?" ":String(n),u=i(t);if(u<=l||""==c)return s;var d=u-l,f=r.call(c,Math.ceil(d/c.length));return f.length>d&&(f=f.slice(0,d)),o?f+s:s+f}},"2e37":function(e,t,n){var i=n("5ca1");i(i.S,"Number",{EPSILON:Math.pow(2,-52)})},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"2f21":function(e,t,n){"use strict";var i=n("79e5");e.exports=function(e,t){return!!e&&i(function(){t?e.call(null,function(){},1):e.call(null)})}},"2fdb":function(e,t,n){"use strict";var i=n("5ca1"),r=n("d2c8"),a="includes";i(i.P+i.F*n("5147")(a),"String",{includes:function(e){return!!~r(this,e,a).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"30b5":function(e,t,n){"use strict";var i=n("c532");function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var a;if(n)a=n(t);else if(i.isURLSearchParams(t))a=t.toString();else{var o=[];i.forEach(t,function(e,t){null!==e&&"undefined"!==typeof e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),o.push(r(t)+"="+r(e))}))}),a=o.join("&")}return a&&(e+=(-1===e.indexOf("?")?"?":"&")+a),e}},3119:function(e,t,n){},"31c5":function(e,t,n){},"31f4":function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},"328f":function(e,t,n){},"32d7":function(e,t,n){var i=n("5ca1");i(i.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},"32e9":function(e,t,n){var i=n("86cc"),r=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"33a4":function(e,t,n){var i=n("84f2"),r=n("2b4c")("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[r]===e)}},"34ef":function(e,t,n){n("ec30")("Uint8",1,function(e){return function(t,n,i){return e(this,t,n,i)}})},"36bd":function(e,t,n){"use strict";var i=n("4bf8"),r=n("77f1"),a=n("9def");e.exports=function(e){var t=i(this),n=a(t.length),o=arguments.length,s=r(o>1?arguments[1]:void 0,n),l=o>2?arguments[2]:void 0,c=void 0===l?n:r(l,n);while(c>s)t[s++]=e;return t}},"37c8":function(e,t,n){t.f=n("2b4c")},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"),r=n("79e5"),a=n("be13"),o=/"/g,s=function(e,t,n,i){var r=String(a(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(i).replace(o,""")+'"'),s+">"+r+""};e.exports=function(e,t){var n={};n[e]=t(s),i(i.P+i.F*r(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},"386d":function(e,t,n){"use strict";var i=n("cb7c"),r=n("83a1"),a=n("5f1b");n("214f")("search",1,function(e,t,n,o){return[function(n){var i=e(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=o(n,e,this);if(t.done)return t.value;var s=i(e),l=String(this),c=s.lastIndex;r(c,0)||(s.lastIndex=0);var u=a(s,l);return r(s.lastIndex,c)||(s.lastIndex=c),null===u?-1:u.index}]})},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,i,r){return e.config=t,n&&(e.code=n),e.request=i,e.response=r,e}},"38fd":function(e,t,n){var i=n("69a8"),r=n("4bf8"),a=n("613b")("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},3934:function(e,t,n){"use strict";var i=n("c532");e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=i.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"3a72":function(e,t,n){var i=n("7726"),r=n("8378"),a=n("2d00"),o=n("37c8"),s=n("86cc").f;e.exports=function(e){var t=r.Symbol||(r.Symbol=a?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:o.f(e)})}},"3b2b":function(e,t,n){var i=n("7726"),r=n("5dbc"),a=n("86cc").f,o=n("9093").f,s=n("aae3"),l=n("0bfb"),c=i.RegExp,u=c,d=c.prototype,f=/a/g,p=/a/g,h=new c(f)!==f;if(n("9e1e")&&(!h||n("79e5")(function(){return p[n("2b4c")("match")]=!1,c(f)!=f||c(p)==p||"/a/i"!=c(f,"i")}))){c=function(e,t){var n=this instanceof c,i=s(e),a=void 0===t;return!n&&i&&e.constructor===c&&a?e:r(h?new u(i&&!a?e.source:e,t):u((i=e instanceof c)?e.source:e,i&&a?l.call(e):t),n?this:d,c)};for(var m=function(e){e in c||a(c,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})},g=o(u),v=0;g.length>v;)m(g[v++]);d.constructor=c,c.prototype=d,n("2aba")(i,"RegExp",c)}n("7a56")("RegExp")},"3ca5":function(e,t,n){var i=n("7726").parseInt,r=n("aa77").trim,a=n("fdef"),o=/^[-+]?0[xX]/;e.exports=8!==i(a+"08")||22!==i(a+"0x16")?function(e,t){var n=r(String(e),3);return i(n,t>>>0||(o.test(n)?16:10))}:i},"41a0":function(e,t,n){"use strict";var i=n("2aeb"),r=n("4630"),a=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(o,{next:r(1,n)}),a(e,t+" Iterator")}},4362:function(e,t,n){t.nextTick=function(e){setTimeout(e,0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,i="/";t.cwd=function(){return i},t.chdir=function(t){e||(e=n("df7c")),i=e.resolve(t,i)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"445b":function(e,t,n){"use strict";var i=n("3119"),r=n.n(i);r.a},"44d5":function(e,t,n){(function(e){e(n("56b3"),n("d69f"),n("4ba6"))})(function(e){"use strict";function t(e){for(var t={},n=e.split(" "),i=0;i\w/,!1)&&(t.tokenize=n([[["->",null]],[[/[\w]+/,"variable"]]],i,r)),"variable-2";var a=!1;while(!e.eol()&&(a||!1===r||!e.match("{$",!1)&&!e.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1))){if(!a&&e.match(i)){t.tokenize=null,t.tokStack.pop(),t.tokStack.pop();break}a="\\"==e.next()&&!a}return"string"}var a="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",o="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",s="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";e.registerHelper("hintWords","php",[a,o,s].join(" ").split(" ")),e.registerHelper("wordChars","php",/[\w$]/);var l={name:"clike",helperType:"php",keywords:t(a),blockKeywords:t("catch do else elseif for foreach if switch try while finally"),defKeywords:t("class function interface namespace trait"),atoms:t(o),builtin:t(s),multiLineStrings:!0,hooks:{$:function(e){return e.eatWhile(/[\w\$_]/),"variable-2"},"<":function(e,t){var n;if(n=e.match(/<<\s*/)){var r=e.eat(/['"]/);e.eatWhile(/[\w\.]/);var a=e.current().slice(n[0].length+(r?2:1));if(r&&e.eat(r),a)return(t.tokStack||(t.tokStack=[])).push(a,0),t.tokenize=i(a,"'"!=r),"string"}return!1},"#":function(e){while(!e.eol()&&!e.match("?>",!1))e.next();return"comment"},"/":function(e){if(e.eat("/")){while(!e.eol()&&!e.match("?>",!1))e.next();return"comment"}return!1},'"':function(e,t){return(t.tokStack||(t.tokStack=[])).push('"',0),t.tokenize=i('"'),"string"},"{":function(e,t){return t.tokStack&&t.tokStack.length&&t.tokStack[t.tokStack.length-1]++,!1},"}":function(e,t){return t.tokStack&&t.tokStack.length>0&&!--t.tokStack[t.tokStack.length-1]&&(t.tokenize=i(t.tokStack[t.tokStack.length-2])),!1}}};e.defineMode("php",function(t,n){var i=e.getMode(t,n&&n.htmlMode||"text/html"),r=e.getMode(t,l);function a(t,n){var a=n.curMode==r;if(t.sol()&&n.pending&&'"'!=n.pending&&"'"!=n.pending&&(n.pending=null),a)return a&&null==n.php.tokenize&&t.match("?>")?(n.curMode=i,n.curState=n.html,n.php.context.prev||(n.php=null),"meta"):r.token(t,n.curState);if(t.match(/^<\?\w*/))return n.curMode=r,n.php||(n.php=e.startState(r,i.indent(n.html,"",""))),n.curState=n.php,"meta";if('"'==n.pending||"'"==n.pending){while(!t.eol()&&t.next()!=n.pending);var o="string"}else if(n.pending&&t.pos/.test(l)?n.pending=s[0]:n.pending={end:t.pos,style:o},t.backUp(l.length-c)),o}return{startState:function(){var t=e.startState(i),a=n.startOpen?e.startState(r):null;return{html:t,php:a,curMode:n.startOpen?r:i,curState:n.startOpen?a:t,pending:null}},copyState:function(t){var n,a=t.html,o=e.copyState(i,a),s=t.php,l=s&&e.copyState(r,s);return n=t.curMode==i?o:l,{html:o,php:l,curMode:t.curMode,curState:n,pending:t.pending}},token:a,indent:function(e,t,n){return e.curMode!=r&&/^\s*<\//.test(t)||e.curMode==r&&/^\?>/.test(t)?i.indent(e.html,t,n):e.curMode.indent(e.curState,t,n)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(e){return{state:e.curState,mode:e.curMode}}}},"htmlmixed","clike"),e.defineMIME("application/x-httpd-php","php"),e.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),e.defineMIME("text/x-php",l)})},4504:function(e,t,n){"use strict";var i=n("5ca1"),r=n("4bf8"),a=n("d8e8"),o=n("86cc");n("9e1e")&&i(i.P+n("c5b4"),"Object",{__defineGetter__:function(e,t){o.f(r(this),e,{get:a(t),enumerable:!0,configurable:!0})}})},"456d":function(e,t,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",function(){return function(e){return r(i(e))}})},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)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"467f":function(e,t,n){"use strict";var i=n("2d83");e.exports=function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(i("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},4795:function(e,t,n){var i=n("7726"),r=n("5ca1"),a=n("a25f"),o=[].slice,s=/MSIE .\./.test(a),l=function(e){return function(t,n){var i=arguments.length>2,r=!!i&&o.call(arguments,2);return e(i?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,n)}};r(r.G+r.B+r.F*s,{setTimeout:l(i.setTimeout),setInterval:l(i.setInterval)})},"48c0":function(e,t,n){"use strict";n("386b")("bold",function(e){return function(){return e(this,"b","","")}})},4917:function(e,t,n){"use strict";var i=n("cb7c"),r=n("9def"),a=n("0390"),o=n("5f1b");n("214f")("match",1,function(e,t,n,s){return[function(n){var i=e(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=s(n,e,this);if(t.done)return t.value;var l=i(e),c=String(this);if(!l.global)return o(l,c);var u=l.unicode;l.lastIndex=0;var d,f=[],p=0;while(null!==(d=o(l,c))){var h=String(d[0]);f[p]=h,""===h&&(l.lastIndex=a(c,r(l.lastIndex),u)),p++}return 0===p?null:f}]})},"4a59":function(e,t,n){var i=n("9b43"),r=n("1fa8"),a=n("33a4"),o=n("cb7c"),s=n("9def"),l=n("27ee"),c={},u={};t=e.exports=function(e,t,n,d,f){var p,h,m,g,v=f?function(){return e}:l(e),y=i(n,d,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(a(v)){for(p=s(e.length);p>b;b++)if(g=t?y(o(h=e[b])[0],h[1]):y(e[b]),g===c||g===u)return g}else for(m=v.call(e);!(h=m.next()).done;)if(g=r(m,y,h.value,t),g===c||g===u)return g};t.BREAK=c,t.RETURN=u},"4ba6":function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";function t(e,t,n,i,r,a){this.indented=e,this.column=t,this.type=n,this.info=i,this.align=r,this.prev=a}function n(e,n,i,r){var a=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=i&&(a=e.context.indented),e.context=new t(a,n,i,r,null,e.context)}function i(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function r(e,t,n){return"variable"==t.prevToken||"type"==t.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||(!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0))}function a(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev}}function o(e){for(var t={},n=e.split(" "),i=0;i!?|\/]/,A=l.isIdentifierChar||/[\w\$_\xa1-\uffff]/,L=l.isReservedIdentifier||!1;function N(e,t){var n=e.next();if(w[n]){var i=w[n](e,t);if(!1!==i)return i}if('"'==n||"'"==n)return t.tokenize=D(n),t.tokenize(e,t);if(S.test(n))return c=n,null;if(T.test(n)){if(e.backUp(1),e.match(M))return"number";e.next()}if("/"==n){if(e.eat("*"))return t.tokenize=O,O(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(E.test(n)){while(!e.match(/^\/[\/*]/,!1)&&e.eat(E));return"operator"}if(e.eatWhile(A),C)while(e.match(C))e.eatWhile(A);var r=e.current();return s(h,r)?(s(v,r)&&(c="newstatement"),s(y,r)&&(u=!0),"keyword"):s(m,r)?"type":s(g,r)||L&&L(r)?(s(v,r)&&(c="newstatement"),"builtin"):s(b,r)?"atom":"variable"}function D(e){return function(t,n){var i,r=!1,a=!1;while(null!=(i=t.next())){if(i==e&&!r){a=!0;break}r=!r&&"\\"==i}return(a||!r&&!x)&&(n.tokenize=null),"string"}}function O(e,t){var n,i=!1;while(n=e.next()){if("/"==n&&i){t.tokenize=null;break}i="*"==n}return"comment"}function P(e,t){l.typeFirstDefinitions&&e.eol()&&a(t.context)&&(t.typeAtEndOfLine=r(e,t,e.pos))}return{startState:function(e){return{tokenize:null,context:new t((e||0)-d,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(e,t){var o=t.context;if(e.sol()&&(null==o.align&&(o.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return P(e,t),null;c=u=null;var s=(t.tokenize||N)(e,t);if("comment"==s||"meta"==s)return s;if(null==o.align&&(o.align=!0),";"==c||":"==c||","==c&&e.match(/^\s*(?:\/\/.*)?$/,!1))while("statement"==t.context.type)i(t);else if("{"==c)n(t,e.column(),"}");else if("["==c)n(t,e.column(),"]");else if("("==c)n(t,e.column(),")");else if("}"==c){while("statement"==o.type)o=i(t);"}"==o.type&&(o=i(t));while("statement"==o.type)o=i(t)}else c==o.type?i(t):k&&(("}"==o.type||"top"==o.type)&&";"!=c||"statement"==o.type&&"newstatement"==c)&&n(t,e.column(),"statement",e.current());if("variable"==s&&("def"==t.prevToken||l.typeFirstDefinitions&&r(e,t,e.start)&&a(t.context)&&e.match(/^\s*\(/,!1))&&(s="def"),w.token){var d=w.token(e,t,s);void 0!==d&&(s=d)}return"def"==s&&!1===l.styleDefs&&(s="variable"),t.startOfLine=!1,t.prevToken=u?"def":s||c,P(e,t),s},indent:function(t,n){if(t.tokenize!=N&&null!=t.tokenize||t.typeAtEndOfLine)return e.Pass;var i=t.context,r=n&&n.charAt(0),a=r==i.type;if("statement"==i.type&&"}"==r&&(i=i.prev),l.dontIndentStatements)while("statement"==i.type&&l.dontIndentStatements.test(i.info))i=i.prev;if(w.indent){var o=w.indent(t,i,n,d);if("number"==typeof o)return o}var s=i.prev&&"switch"==i.prev.info;if(l.allmanIndentation&&/[{(]/.test(r)){while("top"!=i.type&&"}"!=i.type)i=i.prev;return i.indented}return"statement"==i.type?i.indented+("{"==r?0:f):!i.align||p&&")"==i.type?")"!=i.type||a?i.indented+(a?0:d)+(a||!s||/^(?:case|default)\b/.test(n)?0:d):i.indented+f:i.column+(a?0:1)},electricInput:_?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});var l="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran",c=o("int long char short double float unsigned signed void bool"),u=o("SEL instancetype id Class Protocol BOOL");function d(e){return s(c,e)||/.+_t/.test(e)}function f(e){return d(e)||s(u,e)}var p="case do else for if switch while struct enum union",h="struct enum union";function m(e,t){if(!t.startOfLine)return!1;for(var n,i=null;n=e.peek();){if("\\"==n&&e.match(/^.$/)){i=m;break}if("/"==n&&e.match(/^\/[\/\*]/,!1))break;e.next()}return t.tokenize=i,"meta"}function g(e,t){return"type"==t.prevToken&&"type"}function v(e){return!(!e||e.length<2)&&("_"==e[0]&&("_"==e[1]||e[1]!==e[1].toLowerCase()))}function y(e){return e.eatWhile(/[\w\.']/),"number"}function b(e,t){if(e.backUp(1),e.match(/(R|u8R|uR|UR|LR)/)){var n=e.match(/"([^\s\\()]{0,16})\(/);return!!n&&(t.cpp11RawStringDelim=n[1],t.tokenize=k,k(e,t))}return e.match(/(u8|u|U|L)/)?!!e.match(/["']/,!1)&&"string":(e.next(),!1)}function w(e){var t=/(\w+)::~?(\w+)$/.exec(e);return t&&t[1]==t[2]}function x(e,t){var n;while(null!=(n=e.next()))if('"'==n&&!e.eat('"')){t.tokenize=null;break}return"string"}function k(e,t){var n=t.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&"),i=e.match(new RegExp(".*?\\)"+n+'"'));return i?t.tokenize=null:e.skipToEnd(),"string"}function _(t,n){"string"==typeof t&&(t=[t]);var i=[];function r(e){if(e)for(var t in e)e.hasOwnProperty(t)&&i.push(t)}r(n.keywords),r(n.types),r(n.builtin),r(n.atoms),i.length&&(n.helperType=t[0],e.registerHelper("hintWords",t[0],i));for(var a=0;a!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=C,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(e,n){var i=n.context;return!("}"!=i.type||!i.align||!e.eat(">"))&&(n.context=new t(i.indented,i.column,i.type,i.info,null,i.prev),"operator")},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=S(1),t.tokenize(e,t))}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}}),_("text/x-kotlin",{name:"clike",keywords:o("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),types:o("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:o("catch class do else finally for if where try while enum"),defKeywords:o("class val var object interface fun"),atoms:o("true false null this"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},"*":function(e,t){return"."==t.prevToken?"variable":"operator"},'"':function(e,t){return t.tokenize=T(e.match('""')),t.tokenize(e,t)},indent:function(e,t,n,i){var r=n&&n.charAt(0);return"}"!=e.prevToken&&")"!=e.prevToken||""!=n?"operator"==e.prevToken&&"}"!=n||"variable"==e.prevToken&&"."==r||("}"==e.prevToken||")"==e.prevToken)&&"."==r?2*i+t.indented:t.align&&"}"==t.type?t.indented+(e.context.type==(n||"").charAt(0)?0:i):void 0:e.indented}},modeProps:{closeBrackets:{triples:'"'}}}),_(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:o("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:o("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:o("for while do if else struct"),builtin:o("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:o("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":m},modeProps:{fold:["brace","include"]}}),_("text/x-nesc",{name:"clike",keywords:o(l+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:d,blockKeywords:o(p),atoms:o("null true false"),hooks:{"#":m},modeProps:{fold:["brace","include"]}}),_("text/x-objectivec",{name:"clike",keywords:o(l+" bycopy byref in inout oneway out self super atomic nonatomic retain copy readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd @interface @implementation @end @protocol @encode @property @synthesize @dynamic @class @public @package @private @protected @required @optional @try @catch @finally @import @selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available"),types:f,builtin:o("FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION NS_RETURNS_RETAINED NS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT"),blockKeywords:o(p+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:o(h+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:o("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:v,hooks:{"#":m,"*":g},modeProps:{fold:["brace","include"]}}),_("text/x-squirrel",{name:"clike",keywords:o("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:d,blockKeywords:o("case catch class else for foreach if switch try while"),defKeywords:o("function local class"),typeFirstDefinitions:!0,atoms:o("true false null"),hooks:{"#":m},modeProps:{fold:["brace","include"]}});var M=null;function E(e){return function(t,n){var i,r=!1,a=!1;while(!t.eol()){if(!r&&t.match('"')&&("single"==e||t.match('""'))){a=!0;break}if(!r&&t.match("``")){M=E(e),a=!0;break}i=t.next(),r="single"==e&&!r&&"\\"==i}return a&&(n.tokenize=null),"string"}}_("text/x-ceylon",{name:"clike",keywords:o("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:o("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:o("class dynamic function interface module object package value"),builtin:o("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:o("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=E(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!(!M||!e.match("`"))&&(t.tokenize=M,M=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,n){if(("variable"==n||"type"==n)&&"."==t.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})},"4bf8":function(e,t,n){var i=n("be13");e.exports=function(e){return Object(i(e))}},"4dda":function(e,t,n){n("ec30")("Float64",8,function(e){return function(t,n,i){return e(this,t,n,i)}})},"4f7f":function(e,t,n){"use strict";var i=n("c26b"),r=n("b39a"),a="Set";e.exports=n("e0b8")(a,function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return i.def(r(this,a),e=0===e?0:e,e)}},i)},"4fb8":function(e,t,n){(function(t){"object"==typeof navigator&&function(t,n){e.exports=n()}(0,function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n100&&(n=100),n<50?n-=(100-2*n)*u:n>50&&(n+=2*(n-50)*u),a+g(l*(n/100),s)}},{key:"set",value:function(e){t.enabled&&m.event(e)&&!e.target.disabled&&(e.preventDefault(),e.target.value=this.get(e),function(e,t){if(e&&t){var n=new Event(t);e.dispatchEvent(n)}}(e.target,"touchend"===e.type?"change":"input"))}}],[{key:"setup",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;if(m.empty(e)||m.string(e)?i=Array.from(document.querySelectorAll(m.string(e)?e:'input[type="range"]')):m.element(e)?i=[e]:m.nodeList(e)?i=Array.from(e):m.array(e)&&(i=e.filter(m.element)),m.empty(i))return null;var r=Object.assign({},s,n);return m.string(e)&&r.watch&&new MutationObserver(function(n){Array.from(n).forEach(function(n){Array.from(n.addedNodes).forEach(function(n){var i;m.element(n)&&function(){return Array.from(document.querySelectorAll(i)).includes(this)}.call(n,i=e)&&new t(n,r)})})}).observe(document.body,{childList:!0,subtree:!0}),i.map(function(e){return new t(e,n)})}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),t}(),y=function(e){return null!=e?e.constructor:null},b=function(e,t){return Boolean(e&&t&&e instanceof t)},w=function(e){return null==e},x=function(e){return y(e)===Object},k=function(e){return y(e)===String},_=function(e){return Array.isArray(e)},C=function(e){return b(e,NodeList)},S=function(e){return w(e)||(k(e)||_(e)||C(e))&&!e.length||x(e)&&!Object.keys(e).length},T={nullOrUndefined:w,object:x,number:function(e){return y(e)===Number&&!Number.isNaN(e)},string:k,boolean:function(e){return y(e)===Boolean},function:function(e){return y(e)===Function},array:_,weakMap:function(e){return b(e,WeakMap)},nodeList:C,element:function(e){return b(e,Element)},textNode:function(e){return y(e)===Text},event:function(e){return b(e,Event)},keyboardEvent:function(e){return b(e,KeyboardEvent)},cue:function(e){return b(e,window.TextTrackCue)||b(e,window.VTTCue)},track:function(e){return b(e,TextTrack)||!w(e)&&k(e.kind)},promise:function(e){return b(e,Promise)},url:function(e){if(b(e,window.URL))return!0;if(!k(e))return!1;var t=e;e.startsWith("http://")&&e.startsWith("https://")||(t="http://".concat(e));try{return!S(new URL(t).hostname)}catch(e){return!1}},empty:S},M=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,null}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}();function E(e,t,n){var i=this,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(e&&"addEventListener"in e&&!T.empty(t)&&T.function(n)){var s=t.split(" "),l=o;M&&(l={passive:a,capture:o}),s.forEach(function(t){i&&i.eventListeners&&r&&i.eventListeners.push({element:e,type:t,callback:n,options:l}),e[r?"addEventListener":"removeEventListener"](t,n,l)})}}function A(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];E.call(this,e,t,n,!0,i,r)}function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];E.call(this,e,t,n,!1,i,r)}function N(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];E.call(this,e,n,function o(){L(e,n,o,r,a);for(var s=arguments.length,l=new Array(s),c=0;c1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(T.element(e)&&!T.empty(t)){var r=new CustomEvent(t,{bubbles:n,detail:Object.assign({},i,{plyr:this})});e.dispatchEvent(r)}}function O(e,t){var n=e.length?e:[e];Array.from(n).reverse().forEach(function(e,n){var i=n>0?t.cloneNode(!0):t,r=e.parentNode,a=e.nextSibling;i.appendChild(e),a?r.insertBefore(i,a):r.appendChild(i)})}function P(e,t){T.element(e)&&!T.empty(t)&&Object.entries(t).filter(function(e){var t=a(e,2)[1];return!T.nullOrUndefined(t)}).forEach(function(t){var n=a(t,2),i=n[0],r=n[1];return e.setAttribute(i,r)})}function I(e,t,n){var i=document.createElement(e);return T.object(t)&&P(i,t),T.string(n)&&(i.innerText=n),i}function F(e,t,n,i){T.element(t)&&t.appendChild(I(e,n,i))}function z(e){T.nodeList(e)||T.array(e)?Array.from(e).forEach(z):T.element(e)&&T.element(e.parentNode)&&e.parentNode.removeChild(e)}function $(e){if(T.element(e))for(var t=e.childNodes.length;t>0;)e.removeChild(e.lastChild),t-=1}function j(e,t){return T.element(t)&&T.element(t.parentNode)&&T.element(e)?(t.parentNode.replaceChild(e,t),e):null}function R(e,t){if(!T.string(e)||T.empty(e))return{};var n={},i=t;return e.split(",").forEach(function(e){var t=e.trim(),r=t.replace(".",""),a=t.replace(/[[\]]/g,"").split("="),o=a[0],s=a.length>1?a[1].replace(/["']/g,""):"";switch(t.charAt(0)){case".":T.object(i)&&T.string(i.class)&&(i.class+=" ".concat(r)),n.class=r;break;case"#":n.id=t.replace("#","");break;case"[":n[o]=s}}),n}function q(e,t){if(T.element(e)){var n=t;T.boolean(n)||(n=!e.hidden),n?e.setAttribute("hidden",""):e.removeAttribute("hidden")}}function B(e,t,n){if(T.nodeList(e))return Array.from(e).map(function(e){return B(e,t,n)});if(T.element(e)){var i="toggle";return void 0!==n&&(i=n?"add":"remove"),e.classList[i](t),e.classList.contains(t)}return!1}function H(e,t){return T.element(e)&&e.classList.contains(t)}function W(e,t){return function(){return Array.from(document.querySelectorAll(t)).includes(this)}.call(e,t)}function U(e){return this.elements.container.querySelectorAll(e)}function V(e){return this.elements.container.querySelector(e)}function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];T.element(e)&&(e.focus({preventScroll:!0}),t&&B(e,this.config.classNames.tabFocus))}var X,K,Y,Z=(X=document.createElement("span"),K={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},Y=Object.keys(K).find(function(e){return void 0!==X.style[e]}),!!T.string(Y)&&K[Y]);function Q(e){setTimeout(function(){try{q(e,!0),e.offsetHeight,q(e,!1)}catch(e){}},0)}var J,ee={isIE:!!document.documentMode,isEdge:window.navigator.userAgent.includes("Edge"),isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:/(iPad|iPhone|iPod)/gi.test(navigator.platform)},te={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},ne={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check:function(e,t,n){var i=ee.isIPhone&&n&&ne.playsinline,r=ne[e]||"html5"!==t;return{api:r,ui:r&&ne.rangeInput&&("video"!==e||!ee.isIPhone||i)}},pip:!(ee.isIPhone||!T.function(I("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||I("video").disablePictureInPicture)),airplay:T.function(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime:function(e){if(T.empty(e))return!1;var t=a(e.split("/"),1)[0],n=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(te).includes(n)&&(n+='; codecs="'.concat(te[e],'"'));try{return Boolean(n&&this.media.canPlayType(n).replace(/no/,""))}catch(e){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(J=document.createElement("input"),J.type="range","range"===J.type),touch:"ontouchstart"in document.documentElement,transitions:!1!==Z,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},ie={getSources:function(){var e=this;return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter(function(t){var n=t.getAttribute("type");return!!T.empty(n)||ne.mime.call(e,n)}):[]},getQualityOptions:function(){return ie.getSources.call(this).map(function(e){return Number(e.getAttribute("size"))}).filter(Boolean)},extend:function(){if(this.isHTML5){var e=this;Object.defineProperty(e.media,"quality",{get:function(){var t=ie.getSources.call(e).find(function(t){return t.getAttribute("src")===e.source});return t&&Number(t.getAttribute("size"))},set:function(t){var n=ie.getSources.call(e).find(function(e){return Number(e.getAttribute("size"))===t});if(n){var i=e.media,r=i.currentTime,a=i.paused,o=i.preload,s=i.readyState;e.media.src=n.getAttribute("src"),("none"!==o||s)&&(e.once("loadedmetadata",function(){e.currentTime=r,a||e.play()}),e.media.load()),D.call(e,e.media,"qualitychange",!1,{quality:t})}}})}},cancelRequests:function(){this.isHTML5&&(z(ie.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function re(e){return T.array(e)?e.filter(function(t,n){return e.indexOf(t)===n}):e}function ae(e,t){return t.split(".").reduce(function(e,t){return e&&e[t]},e)}function oe(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1"),"g"),n.toString())}function ce(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString().replace(/\w\S*/g,function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})}function ue(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return(e=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return e=le(e,"-"," "),e=le(e,"_"," "),le(e=ce(e)," ","")}(e)).charAt(0).toLowerCase()+e.slice(1)}function de(e){var t=document.createElement("div");return t.appendChild(e),t.innerHTML}var fe={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},pe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(T.empty(e)||T.empty(t))return"";var n=ae(t.i18n,e);if(T.empty(n))return Object.keys(fe).includes(e)?fe[e]:"";var i={"{seektime}":t.seekTime,"{title}":t.title};return Object.entries(i).forEach(function(e){var t=a(e,2),i=t[0],r=t[1];n=le(n,i,r)}),n},he=function(){function t(n){e(this,t),this.enabled=n.config.storage.enabled,this.key=n.config.storage.key}return i(t,[{key:"get",value:function(e){if(!t.supported||!this.enabled)return null;var n=window.localStorage.getItem(this.key);if(T.empty(n))return null;var i=JSON.parse(n);return T.string(e)&&e.length?i[e]:i}},{key:"set",value:function(e){if(t.supported&&this.enabled&&T.object(e)){var n=this.get();T.empty(n)&&(n={}),oe(n,e),window.localStorage.setItem(this.key,JSON.stringify(n))}}}],[{key:"supported",get:function(){try{return"localStorage"in window&&(window.localStorage.setItem("___test","___test"),window.localStorage.removeItem("___test"),!0)}catch(e){return!1}}}]),t}();function me(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return new Promise(function(n,i){try{var r=new XMLHttpRequest;if(!("withCredentials"in r))return;r.addEventListener("load",function(){if("text"===t)try{n(JSON.parse(r.responseText))}catch(e){n(r.responseText)}else n(r.response)}),r.addEventListener("error",function(){throw new Error(r.status)}),r.open("GET",e,!0),r.responseType=t,r.send()}catch(e){i(e)}})}function ge(e,t){if(T.string(e)){var n=T.string(t),i=function(){return null!==document.getElementById(t)},r=function(e,t){e.innerHTML=t,n&&i()||document.body.insertAdjacentElement("afterbegin",e)};if(!n||!i()){var a=he.supported,o=document.createElement("div");if(o.setAttribute("hidden",""),n&&o.setAttribute("id",t),a){var s=window.localStorage.getItem("".concat("cache","-").concat(t));if(null!==s){var l=JSON.parse(s);r(o,l.content)}}me(e).then(function(e){T.empty(e)||(a&&window.localStorage.setItem("".concat("cache","-").concat(t),JSON.stringify({content:e})),r(o,e))}).catch(function(){})}}}var ve=function(e){return Math.trunc(e/60/60%60,10)},ye=function(e){return Math.trunc(e/60%60,10)},be=function(e){return Math.trunc(e%60,10)};function we(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!T.number(e))return we(null,t,n);var i=function(e){return"0".concat(e).slice(-2)},r=ve(e),a=ye(e),o=be(e);return r=t||r>0?"".concat(r,":"):"","".concat(n&&e>0?"-":"").concat(r).concat(i(a),":").concat(i(o))}var xe={getIconUrl:function(){var e=new URL(this.config.iconUrl,window.location).host!==window.location.host||ee.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:e}},findElements:function(){try{return this.elements.controls=V.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:U.call(this,this.config.selectors.buttons.play),pause:V.call(this,this.config.selectors.buttons.pause),restart:V.call(this,this.config.selectors.buttons.restart),rewind:V.call(this,this.config.selectors.buttons.rewind),fastForward:V.call(this,this.config.selectors.buttons.fastForward),mute:V.call(this,this.config.selectors.buttons.mute),pip:V.call(this,this.config.selectors.buttons.pip),airplay:V.call(this,this.config.selectors.buttons.airplay),settings:V.call(this,this.config.selectors.buttons.settings),captions:V.call(this,this.config.selectors.buttons.captions),fullscreen:V.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=V.call(this,this.config.selectors.progress),this.elements.inputs={seek:V.call(this,this.config.selectors.inputs.seek),volume:V.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:V.call(this,this.config.selectors.display.buffer),currentTime:V.call(this,this.config.selectors.display.currentTime),duration:V.call(this,this.config.selectors.display.duration)},T.element(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(".".concat(this.config.classNames.tooltip))),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon:function(e,t){var n=xe.getIconUrl.call(this),i="".concat(n.cors?"":n.url,"#").concat(this.config.iconPrefix),r=document.createElementNS("http://www.w3.org/2000/svg","svg");P(r,oe(t,{role:"presentation",focusable:"false"}));var a=document.createElementNS("http://www.w3.org/2000/svg","use"),o="".concat(i,"-").concat(e);return"href"in a&&a.setAttributeNS("http://www.w3.org/1999/xlink","href",o),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o),r.appendChild(a),r},createLabel:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=pe(e,this.config);return I("span",Object.assign({},t,{class:[t.class,this.config.classNames.hidden].filter(Boolean).join(" ")}),n)},createBadge:function(e){if(T.empty(e))return null;var t=I("span",{class:this.config.classNames.menu.value});return t.appendChild(I("span",{class:this.config.classNames.menu.badge},e)),t},createButton:function(e,t){var n=Object.assign({},t),i=ue(e),r={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach(function(e){Object.keys(n).includes(e)&&(r[e]=n[e],delete n[e])}),"button"!==r.element||Object.keys(n).includes("type")||(n.type="button"),Object.keys(n).includes("class")?n.class.includes(this.config.classNames.control)||(n.class+=" ".concat(this.config.classNames.control)):n.class=this.config.classNames.control,e){case"play":r.toggle=!0,r.label="play",r.labelPressed="pause",r.icon="play",r.iconPressed="pause";break;case"mute":r.toggle=!0,r.label="mute",r.labelPressed="unmute",r.icon="volume",r.iconPressed="muted";break;case"captions":r.toggle=!0,r.label="enableCaptions",r.labelPressed="disableCaptions",r.icon="captions-off",r.iconPressed="captions-on";break;case"fullscreen":r.toggle=!0,r.label="enterFullscreen",r.labelPressed="exitFullscreen",r.icon="enter-fullscreen",r.iconPressed="exit-fullscreen";break;case"play-large":n.class+=" ".concat(this.config.classNames.control,"--overlaid"),i="play",r.label="play",r.icon="play";break;default:T.empty(r.label)&&(r.label=i),T.empty(r.icon)&&(r.icon=e)}var a=I(r.element);return r.toggle?(a.appendChild(xe.createIcon.call(this,r.iconPressed,{class:"icon--pressed"})),a.appendChild(xe.createIcon.call(this,r.icon,{class:"icon--not-pressed"})),a.appendChild(xe.createLabel.call(this,r.labelPressed,{class:"label--pressed"})),a.appendChild(xe.createLabel.call(this,r.label,{class:"label--not-pressed"}))):(a.appendChild(xe.createIcon.call(this,r.icon)),a.appendChild(xe.createLabel.call(this,r.label))),oe(n,R(this.config.selectors.buttons[i],n)),P(a,n),"play"===i?(T.array(this.elements.buttons[i])||(this.elements.buttons[i]=[]),this.elements.buttons[i].push(a)):this.elements.buttons[i]=a,a},createRange:function(e,t){var n=I("input",oe(R(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":pe(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=n,xe.updateRangeFill.call(this,n),v.setup(n),n},createProgress:function(e,t){var n=I("progress",oe(R(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},t));if("volume"!==e){n.appendChild(I("span",null,"0"));var i={played:"played",buffer:"buffered"}[e],r=i?pe(i,this.config):"";n.innerText="% ".concat(r.toLowerCase())}return this.elements.display[e]=n,n},createTime:function(e){var t=R(this.config.selectors.display[e]),n=I("div",oe(t,{class:"".concat(this.config.classNames.display.time," ").concat(t.class?t.class:"").trim(),"aria-label":pe(e,this.config)}),"00:00");return this.elements.display[e]=n,n},bindMenuItemShortcuts:function(e,t){var n=this;A(e,"keydown keyup",function(i){if([32,38,39,40].includes(i.which)&&(i.preventDefault(),i.stopPropagation(),"keydown"!==i.type)){var r,a=W(e,'[role="menuitemradio"]');!a&&[32,39].includes(i.which)?xe.showMenuPanel.call(n,t,!0):32!==i.which&&(40===i.which||a&&39===i.which?(r=e.nextElementSibling,T.element(r)||(r=e.parentNode.firstElementChild)):(r=e.previousElementSibling,T.element(r)||(r=e.parentNode.lastElementChild)),G.call(n,r,!0))}},!1),A(e,"keyup",function(e){13===e.which&&xe.focusFirstMenuItem.call(n,null,!0)})},createMenuItem:function(e){var t=this,n=e.value,i=e.list,r=e.type,a=e.title,o=e.badge,s=void 0===o?null:o,l=e.checked,c=void 0!==l&&l,u=R(this.config.selectors.inputs[r]),d=I("button",oe(u,{type:"button",role:"menuitemradio",class:"".concat(this.config.classNames.control," ").concat(u.class?u.class:"").trim(),"aria-checked":c,value:n})),f=I("span");f.innerHTML=a,T.element(s)&&f.appendChild(s),d.appendChild(f),Object.defineProperty(d,"checked",{enumerable:!0,get:function(){return"true"===d.getAttribute("aria-checked")},set:function(e){e&&Array.from(d.parentNode.children).filter(function(e){return W(e,'[role="menuitemradio"]')}).forEach(function(e){return e.setAttribute("aria-checked","false")}),d.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(d,"click keyup",function(e){if(!T.keyboardEvent(e)||32===e.which){switch(e.preventDefault(),e.stopPropagation(),d.checked=!0,r){case"language":t.currentTrack=Number(n);break;case"quality":t.quality=n;break;case"speed":t.speed=parseFloat(n)}xe.showMenuPanel.call(t,"home",T.keyboardEvent(e))}},r,!1),xe.bindMenuItemShortcuts.call(this,d,r),i.appendChild(d)},formatTime:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return T.number(e)?we(e,ve(this.duration)>0,t):e},updateTimeDisplay:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];T.element(e)&&T.number(t)&&(e.innerText=xe.formatTime(t,n))},updateVolume:function(){this.supported.ui&&(T.element(this.elements.inputs.volume)&&xe.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),T.element(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;T.element(e)&&(e.value=t,xe.updateRangeFill.call(this,e))},updateProgress:function(e){var t=this;if(this.supported.ui&&T.event(e)){var n,i,r=0;if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":n=this.currentTime,i=this.duration,r=0===n||0===i||Number.isNaN(n)||Number.isNaN(i)?0:(n/i*100).toFixed(2),"timeupdate"===e.type&&xe.setRange.call(this,this.elements.inputs.seek,r);break;case"playing":case"progress":!function(e,n){var i=T.number(n)?n:0,r=T.element(e)?e:t.elements.display.buffer;if(T.element(r)){r.value=i;var a=r.getElementsByTagName("span")[0];T.element(a)&&(a.childNodes[0].nodeValue=i)}}(this.elements.display.buffer,100*this.buffered)}}},updateRangeFill:function(e){var t=T.event(e)?e.target:e;if(T.element(t)&&"range"===t.getAttribute("type")){if(W(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);var n=xe.formatTime(this.currentTime),i=xe.formatTime(this.duration),r=pe("seekLabel",this.config);t.setAttribute("aria-valuetext",r.replace("{currentTime}",n).replace("{duration}",i))}else if(W(t,this.config.selectors.inputs.volume)){var a=100*t.value;t.setAttribute("aria-valuenow",a),t.setAttribute("aria-valuetext","".concat(a.toFixed(1),"%"))}else t.setAttribute("aria-valuenow",t.value);ee.isWebkit&&t.style.setProperty("--value","".concat(t.value/t.max*100,"%"))}},updateSeekTooltip:function(e){var t=this;if(this.config.tooltips.seek&&T.element(this.elements.inputs.seek)&&T.element(this.elements.display.seekTooltip)&&0!==this.duration){var n=0,i=this.elements.progress.getBoundingClientRect(),r="".concat(this.config.classNames.tooltip,"--visible"),a=function(e){B(t.elements.display.seekTooltip,r,e)};if(this.touch)a(!1);else{if(T.event(e))n=100/i.width*(e.pageX-i.left);else{if(!H(this.elements.display.seekTooltip,r))return;n=parseFloat(this.elements.display.seekTooltip.style.left,10)}n<0?n=0:n>100&&(n=100),xe.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*n),this.elements.display.seekTooltip.style.left="".concat(n,"%"),T.event(e)&&["mouseenter","mouseleave"].includes(e.type)&&a("mouseenter"===e.type)}}},timeUpdate:function(e){var t=!T.element(this.elements.display.duration)&&this.config.invertTime;xe.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&"timeupdate"===e.type&&this.media.seeking||xe.updateProgress.call(this,e)},durationUpdate:function(){if(this.supported.ui&&(this.config.invertTime||!this.currentTime)){if(this.duration>=Math.pow(2,32))return q(this.elements.display.currentTime,!0),void q(this.elements.progress,!0);T.element(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);var e=T.element(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&xe.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&xe.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),xe.updateSeekTooltip.call(this)}},toggleMenuButton:function(e,t){q(this.elements.settings.buttons[e],!t)},updateSetting:function(e,t,n){var i=this.elements.settings.panels[e],r=null,a=t;if("captions"===e)r=this.currentTrack;else{if(r=T.empty(n)?this[e]:n,T.empty(r)&&(r=this.config[e].default),!T.empty(this.options[e])&&!this.options[e].includes(r))return void this.debug.warn("Unsupported value of '".concat(r,"' for ").concat(e));if(!this.config[e].options.includes(r))return void this.debug.warn("Disabled value of '".concat(r,"' for ").concat(e))}if(T.element(a)||(a=i&&i.querySelector('[role="menu"]')),T.element(a)){this.elements.settings.buttons[e].querySelector(".".concat(this.config.classNames.menu.value)).innerHTML=xe.getLabel.call(this,e,r);var o=a&&a.querySelector('[value="'.concat(r,'"]'));T.element(o)&&(o.checked=!0)}},getLabel:function(e,t){switch(e){case"speed":return 1===t?pe("normal",this.config):"".concat(t,"×");case"quality":if(T.number(t)){var n=pe("qualityLabel.".concat(t),this.config);return n.length?n:"".concat(t,"p")}return ce(t);case"captions":return Ce.getLabel.call(this);default:return null}},setQualityMenu:function(e){var t=this;if(T.element(this.elements.settings.panels.quality)){var n=this.elements.settings.panels.quality.querySelector('[role="menu"]');T.array(e)&&(this.options.quality=re(e).filter(function(e){return t.config.quality.options.includes(e)}));var i=!T.empty(this.options.quality)&&this.options.quality.length>1;if(xe.toggleMenuButton.call(this,"quality",i),$(n),xe.checkMenu.call(this),i){var r=function(e){var n=pe("qualityBadge.".concat(e),t.config);return n.length?xe.createBadge.call(t,n):null};this.options.quality.sort(function(e,n){var i=t.config.quality.options;return i.indexOf(e)>i.indexOf(n)?1:-1}).forEach(function(e){xe.createMenuItem.call(t,{value:e,list:n,type:"quality",title:xe.getLabel.call(t,"quality",e),badge:r(e)})}),xe.updateSetting.call(this,"quality",n)}}},setCaptionsMenu:function(){var e=this;if(T.element(this.elements.settings.panels.captions)){var t=this.elements.settings.panels.captions.querySelector('[role="menu"]'),n=Ce.getTracks.call(this),i=Boolean(n.length);if(xe.toggleMenuButton.call(this,"captions",i),$(t),xe.checkMenu.call(this),i){var r=n.map(function(n,i){return{value:i,checked:e.captions.toggled&&e.currentTrack===i,title:Ce.getLabel.call(e,n),badge:n.language&&xe.createBadge.call(e,n.language.toUpperCase()),list:t,type:"language"}});r.unshift({value:-1,checked:!this.captions.toggled,title:pe("disabled",this.config),list:t,type:"language"}),r.forEach(xe.createMenuItem.bind(this)),xe.updateSetting.call(this,"captions",t)}}},setSpeedMenu:function(e){var t=this;if(T.element(this.elements.settings.panels.speed)){var n=this.elements.settings.panels.speed.querySelector('[role="menu"]');T.array(e)?this.options.speed=e:(this.isHTML5||this.isVimeo)&&(this.options.speed=[.5,.75,1,1.25,1.5,1.75,2]),this.options.speed=this.options.speed.filter(function(e){return t.config.speed.options.includes(e)});var i=!T.empty(this.options.speed)&&this.options.speed.length>1;xe.toggleMenuButton.call(this,"speed",i),$(n),xe.checkMenu.call(this),i&&(this.options.speed.forEach(function(e){xe.createMenuItem.call(t,{value:e,list:n,type:"speed",title:xe.getLabel.call(t,"speed",e)})}),xe.updateSetting.call(this,"speed",n))}},checkMenu:function(){var e=this.elements.settings.buttons,t=!T.empty(e)&&Object.values(e).some(function(e){return!e.hidden});q(this.elements.settings.menu,!t)},focusFirstMenuItem:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.elements.settings.popup.hidden){var n=e;T.element(n)||(n=Object.values(this.elements.settings.panels).find(function(e){return!e.hidden}));var i=n.querySelector('[role^="menuitem"]');G.call(this,i,t)}},toggleMenu:function(e){var t=this.elements.settings.popup,n=this.elements.buttons.settings;if(T.element(t)&&T.element(n)){var i=t.hidden,r=i;if(T.boolean(e))r=e;else if(T.keyboardEvent(e)&&27===e.which)r=!1;else if(T.event(e)){var a=t.contains(e.target);if(a||!a&&e.target!==n&&r)return}n.setAttribute("aria-expanded",r),q(t,!r),B(this.elements.container,this.config.classNames.menu.open,r),r&&T.keyboardEvent(e)?xe.focusFirstMenuItem.call(this,null,!0):r||i||G.call(this,n,T.keyboardEvent(e))}},getMenuSize:function(e){var t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);var n=t.scrollWidth,i=t.scrollHeight;return z(t),{width:n,height:i}},showMenuPanel:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=document.getElementById("plyr-settings-".concat(this.id,"-").concat(t));if(T.element(i)){var r=i.parentNode,a=Array.from(r.children).find(function(e){return!e.hidden});if(ne.transitions&&!ne.reducedMotion){r.style.width="".concat(a.scrollWidth,"px"),r.style.height="".concat(a.scrollHeight,"px");var o=xe.getMenuSize.call(this,i);A.call(this,r,Z,function t(n){n.target===r&&["width","height"].includes(n.propertyName)&&(r.style.width="",r.style.height="",L.call(e,r,Z,t))}),r.style.width="".concat(o.width,"px"),r.style.height="".concat(o.height,"px")}q(a,!0),q(i,!1),xe.focusFirstMenuItem.call(this,i,n)}},setDownloadLink:function(){var e=this.elements.buttons.download;T.element(e)&&e.setAttribute("href",this.download)},create:function(e){var t=this,n=I("div",R(this.config.selectors.controls.wrapper));if(this.config.controls.includes("restart")&&n.appendChild(xe.createButton.call(this,"restart")),this.config.controls.includes("rewind")&&n.appendChild(xe.createButton.call(this,"rewind")),this.config.controls.includes("play")&&n.appendChild(xe.createButton.call(this,"play")),this.config.controls.includes("fast-forward")&&n.appendChild(xe.createButton.call(this,"fast-forward")),this.config.controls.includes("progress")){var i=I("div",R(this.config.selectors.progress));if(i.appendChild(xe.createRange.call(this,"seek",{id:"plyr-seek-".concat(e.id)})),i.appendChild(xe.createProgress.call(this,"buffer")),this.config.tooltips.seek){var r=I("span",{class:this.config.classNames.tooltip},"00:00");i.appendChild(r),this.elements.display.seekTooltip=r}this.elements.progress=i,n.appendChild(this.elements.progress)}if(this.config.controls.includes("current-time")&&n.appendChild(xe.createTime.call(this,"currentTime")),this.config.controls.includes("duration")&&n.appendChild(xe.createTime.call(this,"duration")),this.config.controls.includes("mute")||this.config.controls.includes("volume")){var a=I("div",{class:"plyr__volume"});if(this.config.controls.includes("mute")&&a.appendChild(xe.createButton.call(this,"mute")),this.config.controls.includes("volume")){var o={max:1,step:.05,value:this.config.volume};a.appendChild(xe.createRange.call(this,"volume",oe(o,{id:"plyr-volume-".concat(e.id)}))),this.elements.volume=a}n.appendChild(a)}if(this.config.controls.includes("captions")&&n.appendChild(xe.createButton.call(this,"captions")),this.config.controls.includes("settings")&&!T.empty(this.config.settings)){var s=I("div",{class:"plyr__menu",hidden:""});s.appendChild(xe.createButton.call(this,"settings",{"aria-haspopup":!0,"aria-controls":"plyr-settings-".concat(e.id),"aria-expanded":!1}));var l=I("div",{class:"plyr__menu__container",id:"plyr-settings-".concat(e.id),hidden:""}),c=I("div"),u=I("div",{id:"plyr-settings-".concat(e.id,"-home")}),d=I("div",{role:"menu"});u.appendChild(d),c.appendChild(u),this.elements.settings.panels.home=u,this.config.settings.forEach(function(n){var i=I("button",oe(R(t.config.selectors.buttons.settings),{type:"button",class:"".concat(t.config.classNames.control," ").concat(t.config.classNames.control,"--forward"),role:"menuitem","aria-haspopup":!0,hidden:""}));xe.bindMenuItemShortcuts.call(t,i,n),A(i,"click",function(){xe.showMenuPanel.call(t,n,!1)});var r=I("span",null,pe(n,t.config)),a=I("span",{class:t.config.classNames.menu.value});a.innerHTML=e[n],r.appendChild(a),i.appendChild(r),d.appendChild(i);var o=I("div",{id:"plyr-settings-".concat(e.id,"-").concat(n),hidden:""}),s=I("button",{type:"button",class:"".concat(t.config.classNames.control," ").concat(t.config.classNames.control,"--back")});s.appendChild(I("span",{"aria-hidden":!0},pe(n,t.config))),s.appendChild(I("span",{class:t.config.classNames.hidden},pe("menuBack",t.config))),A(o,"keydown",function(e){37===e.which&&(e.preventDefault(),e.stopPropagation(),xe.showMenuPanel.call(t,"home",!0))},!1),A(s,"click",function(){xe.showMenuPanel.call(t,"home",!1)}),o.appendChild(s),o.appendChild(I("div",{role:"menu"})),c.appendChild(o),t.elements.settings.buttons[n]=i,t.elements.settings.panels[n]=o}),l.appendChild(c),s.appendChild(l),n.appendChild(s),this.elements.settings.popup=l,this.elements.settings.menu=s}if(this.config.controls.includes("pip")&&ne.pip&&n.appendChild(xe.createButton.call(this,"pip")),this.config.controls.includes("airplay")&&ne.airplay&&n.appendChild(xe.createButton.call(this,"airplay")),this.config.controls.includes("download")){var f={element:"a",href:this.download,target:"_blank"},p=this.config.urls.download;!T.url(p)&&this.isEmbed&&oe(f,{icon:"logo-".concat(this.provider),label:this.provider}),n.appendChild(xe.createButton.call(this,"download",f))}return this.config.controls.includes("fullscreen")&&n.appendChild(xe.createButton.call(this,"fullscreen")),this.config.controls.includes("play-large")&&this.elements.container.appendChild(xe.createButton.call(this,"play-large")),this.elements.controls=n,this.isHTML5&&xe.setQualityMenu.call(this,ie.getQualityOptions.call(this)),xe.setSpeedMenu.call(this),n},inject:function(){var e=this;if(this.config.loadSprite){var t=xe.getIconUrl.call(this);t.cors&&ge(t.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());var n=null;this.elements.controls=null;var i={id:this.id,seektime:this.config.seekTime,title:this.config.title},r=!0;T.function(this.config.controls)&&(this.config.controls=this.config.controls.call(this,i)),this.config.controls||(this.config.controls=[]),T.element(this.config.controls)||T.string(this.config.controls)?n=this.config.controls:(n=xe.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:Ce.getLabel.call(this)}),r=!1);var o,s=function(e){var t=e;return Object.entries(i).forEach(function(e){var n=a(e,2),i=n[0],r=n[1];t=le(t,"{".concat(i,"}"),r)}),t};if(r&&(T.string(this.config.controls)?n=s(n):T.element(n)&&(n.innerHTML=s(n.innerHTML))),T.string(this.config.selectors.controls.container)&&(o=document.querySelector(this.config.selectors.controls.container)),T.element(o)||(o=this.elements.container),o[T.element(n)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",n),T.element(this.elements.controls)||xe.findElements.call(this),!T.empty(this.elements.buttons)){var l=function(t){var n=e.config.classNames.controlPressed;Object.defineProperty(t,"pressed",{enumerable:!0,get:function(){return H(t,n)},set:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];B(t,n,e)}})};Object.values(this.elements.buttons).filter(Boolean).forEach(function(e){T.array(e)||T.nodeList(e)?Array.from(e).filter(Boolean).forEach(l):l(e)})}if(ee.isEdge&&Q(o),this.config.tooltips.controls){var c=this.config,u=c.classNames,d=c.selectors,f="".concat(d.controls.wrapper," ").concat(d.labels," .").concat(u.hidden),p=U.call(this,f);Array.from(p).forEach(function(t){B(t,e.config.classNames.hidden,!1),B(t,e.config.classNames.tooltip,!0)})}}};function ke(e){var t=e;if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]){var n=document.createElement("a");n.href=t,t=n.href}try{return new URL(t)}catch(e){return null}}function _e(e){var t=new URLSearchParams;return T.object(e)&&Object.entries(e).forEach(function(e){var n=a(e,2),i=n[0],r=n[1];t.set(i,r)}),t}var Ce={setup:function(){if(this.supported.ui)if(!this.isVideo||this.isYouTube||this.isHTML5&&!ne.textTracks)T.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&xe.setCaptionsMenu.call(this);else{var e,t;if(T.element(this.elements.captions)||(this.elements.captions=I("div",R(this.config.selectors.captions)),e=this.elements.captions,t=this.elements.wrapper,T.element(e)&&T.element(t)&&t.parentNode.insertBefore(e,t.nextSibling)),ee.isIE&&window.URL){var n=this.media.querySelectorAll("track");Array.from(n).forEach(function(e){var t=e.getAttribute("src"),n=ke(t);null!==n&&n.hostname!==window.location.href.hostname&&["http:","https:"].includes(n.protocol)&&me(t,"blob").then(function(t){e.setAttribute("src",window.URL.createObjectURL(t))}).catch(function(){z(e)})})}var i=re((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map(function(e){return e.split("-")[0]})),r=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===r&&(r=a(i,1)[0]);var o=this.storage.get("captions");if(T.boolean(o)||(o=this.config.captions.active),Object.assign(this.captions,{toggled:!1,active:o,language:r,languages:i}),this.isHTML5){var s=this.config.captions.update?"addtrack removetrack":"removetrack";A.call(this,this.media.textTracks,s,Ce.update.bind(this))}setTimeout(Ce.update.bind(this),0)}},update:function(){var e=this,t=Ce.getTracks.call(this,!0),n=this.captions,i=n.active,r=n.language,a=n.meta,o=n.currentTrackNode,s=Boolean(t.find(function(e){return e.language===r}));this.isHTML5&&this.isVideo&&t.filter(function(e){return!a.get(e)}).forEach(function(t){e.debug.log("Track added",t),a.set(t,{default:"showing"===t.mode}),t.mode="hidden",A.call(e,t,"cuechange",function(){return Ce.updateCues.call(e)})}),(s&&this.language!==r||!t.includes(o))&&(Ce.setLanguage.call(this,r),Ce.toggle.call(this,i&&s)),B(this.elements.container,this.config.classNames.captions.enabled,!T.empty(t)),(this.config.controls||[]).includes("settings")&&this.config.settings.includes("captions")&&xe.setCaptionsMenu.call(this)},toggle:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.supported.ui){var n=this.captions.toggled,i=this.config.classNames.captions.active,r=T.nullOrUndefined(e)?!n:e;if(r!==n){if(t||(this.captions.active=r,this.storage.set({captions:r})),!this.language&&r&&!t){var a=Ce.getTracks.call(this),s=Ce.findTrack.call(this,[this.captions.language].concat(o(this.captions.languages)),!0);return this.captions.language=s.language,void Ce.set.call(this,a.indexOf(s))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=r),B(this.elements.container,i,r),this.captions.toggled=r,xe.updateSetting.call(this,"captions"),D.call(this,this.media,r?"captionsenabled":"captionsdisabled")}}},set:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Ce.getTracks.call(this);if(-1!==e)if(T.number(e))if(e in n){if(this.captions.currentTrack!==e){this.captions.currentTrack=e;var i=n[e],r=(i||{}).language;this.captions.currentTrackNode=i,xe.updateSetting.call(this,"captions"),t||(this.captions.language=r,this.storage.set({language:r})),this.isVimeo&&this.embed.enableTextTrack(r),D.call(this,this.media,"languagechange")}Ce.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&Ce.updateCues.call(this)}else this.debug.warn("Track not found",e);else this.debug.warn("Invalid caption argument",e);else Ce.toggle.call(this,!1,t)},setLanguage:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(T.string(e)){var n=e.toLowerCase();this.captions.language=n;var i=Ce.getTracks.call(this),r=Ce.findTrack.call(this,[n]);Ce.set.call(this,i.indexOf(r),t)}else this.debug.warn("Invalid language argument",e)},getTracks:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Array.from((this.media||{}).textTracks||[]).filter(function(n){return!e.isHTML5||t||e.captions.meta.has(n)}).filter(function(e){return["captions","subtitles"].includes(e.kind)})},findTrack:function(e){var t,n=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=Ce.getTracks.call(this),a=function(e){return Number((n.captions.meta.get(e)||{}).default)},o=Array.from(r).sort(function(e,t){return a(t)-a(e)});return e.every(function(e){return!(t=o.find(function(t){return t.language===e}))}),t||(i?o[0]:void 0)},getCurrentTrack:function(){return Ce.getTracks.call(this)[this.currentTrack]},getLabel:function(e){var t=e;return!T.track(t)&&ne.textTracks&&this.captions.toggled&&(t=Ce.getCurrentTrack.call(this)),T.track(t)?T.empty(t.label)?T.empty(t.language)?pe("enabled",this.config):e.language.toUpperCase():t.label:pe("disabled",this.config)},updateCues:function(e){if(this.supported.ui)if(T.element(this.elements.captions))if(T.nullOrUndefined(e)||Array.isArray(e)){var t=e;if(!t){var n=Ce.getCurrentTrack.call(this);t=Array.from((n||{}).activeCues||[]).map(function(e){return e.getCueAsHTML()}).map(de)}var i=t.map(function(e){return e.trim()}).join("\n");if(i!==this.elements.captions.innerHTML){$(this.elements.captions);var r=I("span",R(this.config.selectors.caption));r.innerHTML=i,this.elements.captions.appendChild(r),D.call(this,this.media,"cuechange")}}else this.debug.warn("updateCues: Invalid input",e);else this.debug.warn("No captions element to render to")}},Se={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:"16:9",clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.5.2/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240]},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/v2/video/{0}.json"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://www.googleapis.com/youtube/v3/videos?id={0}&key={1}&fields=items(snippet(title))&part=snippet"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption",menu:{quality:".js-plyr__menu__list--quality"}},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus",previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id"}},keys:{google:null},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1},youtube:{noCookie:!1,rel:0,showinfo:0,iv_load_policy:3,modestbranding:1}},Te="picture-in-picture",Me="inline",Ee={html5:"html5",youtube:"youtube",vimeo:"vimeo"},Ae={audio:"audio",video:"video"},Le=function(){},Ne=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e(this,t),this.enabled=window.console&&n,this.enabled&&this.log("Debugging enabled")}return i(t,[{key:"log",get:function(){return this.enabled?Function.prototype.bind.call(console.log,console):Le}},{key:"warn",get:function(){return this.enabled?Function.prototype.bind.call(console.warn,console):Le}},{key:"error",get:function(){return this.enabled?Function.prototype.bind.call(console.error,console):Le}}]),t}();function De(){if(this.enabled){var e=this.player.elements.buttons.fullscreen;T.element(e)&&(e.pressed=this.active),D.call(this.player,this.target,this.active?"enterfullscreen":"exitfullscreen",!0),ee.isIos||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(T.element(e)){var n=U.call(this,"button:not(:disabled), input:not(:disabled), [tabindex]"),i=n[0],r=n[n.length-1];E.call(this,this.elements.container,"keydown",function(e){if("Tab"===e.key&&9===e.keyCode){var t=document.activeElement;t!==r||e.shiftKey?t===i&&e.shiftKey&&(r.focus(),e.preventDefault()):(i.focus(),e.preventDefault())}},t,!1)}}.call(this.player,this.target,this.active)}}function Oe(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(t?this.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=t?"hidden":"",B(this.target,this.player.config.classNames.fullscreen.fallback,t),ee.isIos){var n=document.head.querySelector('meta[name="viewport"]'),i="viewport-fit=cover";n||(n=document.createElement("meta")).setAttribute("name","viewport");var r=T.string(n.content)&&n.content.includes(i);t?(this.cleanupViewport=!r,r||(n.content+=",".concat(i))):this.cleanupViewport&&(n.content=n.content.split(",").filter(function(e){return e.trim()!==i}).join(",")),setTimeout(function(){return Q(e.target)},100)}De.call(this)}var Pe=function(){function t(n){var i=this;e(this,t),this.player=n,this.prefix=t.prefix,this.property=t.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===n.config.fullscreen.fallback,A.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":"".concat(this.prefix,"fullscreenchange"),function(){De.call(i)}),A.call(this.player,this.player.elements.container,"dblclick",function(e){T.element(i.player.elements.controls)&&i.player.elements.controls.contains(e.target)||i.toggle()}),this.update()}return i(t,[{key:"update",value:function(){var e;this.enabled?(e=this.forceFallback?"Fallback (forced)":t.native?"Native":"Fallback",this.player.debug.log("".concat(e," fullscreen enabled"))):this.player.debug.log("Fullscreen not supported and fallback disabled"),B(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.enabled)}},{key:"enter",value:function(){this.enabled&&(ee.isIos&&this.player.config.fullscreen.iosNative?this.target.webkitEnterFullscreen():!t.native||this.forceFallback?Oe.call(this,!0):this.prefix?T.empty(this.prefix)||this.target["".concat(this.prefix,"Request").concat(this.property)]():this.target.requestFullscreen())}},{key:"exit",value:function(){if(this.enabled)if(ee.isIos&&this.player.config.fullscreen.iosNative)this.target.webkitExitFullscreen(),this.player.play();else if(!t.native||this.forceFallback)Oe.call(this,!1);else if(this.prefix){if(!T.empty(this.prefix)){var e="moz"===this.prefix?"Cancel":"Exit";document["".concat(this.prefix).concat(e).concat(this.property)]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)}},{key:"toggle",value:function(){this.active?this.exit():this.enter()}},{key:"usingNative",get:function(){return t.native&&!this.forceFallback}},{key:"enabled",get:function(){return(t.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}},{key:"active",get:function(){return!!this.enabled&&(!t.native||this.forceFallback?H(this.target,this.player.config.classNames.fullscreen.fallback):(this.prefix?document["".concat(this.prefix).concat(this.property,"Element")]:document.fullscreenElement)===this.target)}},{key:"target",get:function(){return ee.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.container}}],[{key:"native",get:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},{key:"prefix",get:function(){if(T.function(document.exitFullscreen))return"";var e="";return["webkit","moz","ms"].some(function(t){return!(!T.function(document["".concat(t,"ExitFullscreen")])&&!T.function(document["".concat(t,"CancelFullScreen")]))&&(e=t,!0)}),e}},{key:"property",get:function(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}}]),t}();function Ie(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Promise(function(n,i){var r=new Image,a=function(){delete r.onload,delete r.onerror,(r.naturalWidth>=t?n:i)(r)};Object.assign(r,{onload:a,onerror:a,src:e})})}var Fe={addStyleHook:function(){B(this.elements.container,this.config.selectors.container.replace(".",""),!0),B(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build:function(){var e=this;if(this.listeners.media(),!this.supported.ui)return this.debug.warn("Basic support only for ".concat(this.provider," ").concat(this.type)),void Fe.toggleNativeControls.call(this,!0);T.element(this.elements.controls)||(xe.inject.call(this),this.listeners.controls()),Fe.toggleNativeControls.call(this),this.isHTML5&&Ce.setup.call(this),this.volume=null,this.muted=null,this.speed=null,this.loop=null,this.quality=null,xe.updateVolume.call(this),xe.timeUpdate.call(this),Fe.checkPlaying.call(this),B(this.elements.container,this.config.classNames.pip.supported,ne.pip&&this.isHTML5&&this.isVideo),B(this.elements.container,this.config.classNames.airplay.supported,ne.airplay&&this.isHTML5),B(this.elements.container,this.config.classNames.isIos,ee.isIos),B(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout(function(){D.call(e,e.media,"ready")},0),Fe.setTitle.call(this),this.poster&&Fe.setPoster.call(this,this.poster,!1).catch(function(){}),this.config.duration&&xe.durationUpdate.call(this)},setTitle:function(){var e=pe("play",this.config);if(T.string(this.config.title)&&!T.empty(this.config.title)&&(e+=", ".concat(this.config.title)),Array.from(this.elements.buttons.play||[]).forEach(function(t){t.setAttribute("aria-label",e)}),this.isEmbed){var t=V.call(this,"iframe");if(!T.element(t))return;var n=T.empty(this.config.title)?"video":this.config.title,i=pe("frameTitle",this.config);t.setAttribute("title",i.replace("{title}",n))}},togglePoster:function(e){B(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster:function(e){var t=this;return arguments.length>1&&void 0!==arguments[1]&&!arguments[1]||!this.poster?(this.media.setAttribute("poster",e),function(){var e=this;return new Promise(function(t){return e.ready?setTimeout(t,0):A.call(e,e.elements.container,"ready",t)}).then(function(){})}.call(this).then(function(){return Ie(e)}).catch(function(n){throw e===t.poster&&Fe.togglePoster.call(t,!1),n}).then(function(){if(e!==t.poster)throw new Error("setPoster cancelled by later call to setPoster")}).then(function(){return Object.assign(t.elements.poster.style,{backgroundImage:"url('".concat(e,"')"),backgroundSize:""}),Fe.togglePoster.call(t,!0),e})):Promise.reject(new Error("Poster already set"))},checkPlaying:function(e){var t=this;B(this.elements.container,this.config.classNames.playing,this.playing),B(this.elements.container,this.config.classNames.paused,this.paused),B(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach(function(e){e.pressed=t.playing}),T.event(e)&&"timeupdate"===e.type||Fe.toggleControls.call(this)},checkLoading:function(e){var t=this;this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout(function(){B(t.elements.container,t.config.classNames.loading,t.loading),Fe.toggleControls.call(t)},this.loading?250:0)},toggleControls:function(e){var t=this.elements.controls;if(t&&this.config.hideControls){var n=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(e||this.loading||this.paused||t.pressed||t.hover||n))}}};function ze(e){var t=e;T.string(t)||T.nullOrUndefined(this.embed)||(t=this.embed.ratio),T.string(t)||(t=this.config.ratio);var n=a(t.split(":").map(Number),2),i=100/n[0]*n[1];if(this.elements.wrapper.style.paddingBottom="".concat(i,"%"),this.isVimeo&&this.supported.ui){var r=(240-i)/4.8;this.media.style.transform="translateY(-".concat(r,"%)")}return{padding:i,ratio:t}}var $e=function(){function t(n){e(this,t),this.player=n,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}return i(t,[{key:"handleKey",value:function(e){var t=this.player,n=t.elements,i=e.keyCode?e.keyCode:e.which,r="keydown"===e.type,a=r&&i===this.lastKey;if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)&&T.number(i))if(r){var o=document.activeElement;if(T.element(o)){var s=t.config.selectors.editable;if(o!==n.inputs.seek&&W(o,s))return;if(32===e.which&&W(o,'button, [role^="menuitem"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(i)&&(e.preventDefault(),e.stopPropagation()),i){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:a||(t.currentTime=t.duration/10*(i-48));break;case 32:case 75:a||t.togglePlay();break;case 38:t.increaseVolume(.1);break;case 40:t.decreaseVolume(.1);break;case 77:a||(t.muted=!t.muted);break;case 39:t.forward();break;case 37:t.rewind();break;case 70:t.fullscreen.toggle();break;case 67:a||t.toggleCaptions();break;case 76:t.loop=!t.loop}27===i&&!t.fullscreen.usingNative&&t.fullscreen.active&&t.fullscreen.toggle(),this.lastKey=i}else this.lastKey=null}},{key:"toggleMenu",value:function(e){xe.toggleMenu.call(this.player,e)}},{key:"firstTouch",value:function(){var e=this.player,t=e.elements;e.touch=!0,B(t.container,e.config.classNames.isTouch,!0)}},{key:"setTabFocus",value:function(e){var t=this.player,n=t.elements;if(clearTimeout(this.focusTimer),"keydown"!==e.type||9===e.which){"keydown"===e.type&&(this.lastKeyDown=e.timeStamp);var i,r=e.timeStamp-this.lastKeyDown<=20;("focus"!==e.type||r)&&(i=t.config.classNames.tabFocus,B(U.call(t,".".concat(i)),i,!1),this.focusTimer=setTimeout(function(){var e=document.activeElement;n.container.contains(e)&&B(document.activeElement,t.config.classNames.tabFocus,!0)},10))}}},{key:"global",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.player;t.config.keyboard.global&&E.call(t,window,"keydown keyup",this.handleKey,e,!1),E.call(t,document.body,"click",this.toggleMenu,e),N.call(t,document.body,"touchstart",this.firstTouch),E.call(t,document.body,"keydown focus blur",this.setTabFocus,e,!1,!0)}},{key:"container",value:function(){var e=this.player,t=e.config,n=e.elements,i=e.timers;!t.keyboard.global&&t.keyboard.focused&&A.call(e,n.container,"keydown keyup",this.handleKey,!1),A.call(e,n.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",function(t){var r=n.controls;r&&"enterfullscreen"===t.type&&(r.pressed=!1,r.hover=!1);var a=0;["touchstart","touchmove","mousemove"].includes(t.type)&&(Fe.toggleControls.call(e,!0),a=e.touch?3e3:2e3),clearTimeout(i.controls),i.controls=setTimeout(function(){return Fe.toggleControls.call(e,!1)},a)});var r=function(t){if(!t)return ze.call(e);var i=n.container.getBoundingClientRect(),r=i.width,a=i.height;return ze.call(e,"".concat(r,":").concat(a))},o=function(){window.clearTimeout(i.resized),i.resized=window.setTimeout(r,50)};A.call(e,n.container,"enterfullscreen exitfullscreen",function(t){var i=e.fullscreen,s=i.target,l=i.usingNative;if(e.isEmbed&&s===n.container){var c="enterfullscreen"===t.type,u=r(c);u.padding,!function(t,n,i){if(e.isVimeo){var r=e.elements.wrapper.firstChild,o=a(t.split(":").map(Number),2)[1],s=a(e.embed.ratio.split(":").map(Number),2),l=s[0],c=s[1];r.style.maxWidth=i?"".concat(o/c*l,"px"):null,r.style.margin=i?"0 auto":null}}(u.ratio,0,c),l||(c?A.call(e,window,"resize",o):L.call(e,window,"resize",o))}})}},{key:"media",value:function(){var e=this,t=this.player,n=t.elements;if(A.call(t,t.media,"timeupdate seeking seeked",function(e){return xe.timeUpdate.call(t,e)}),A.call(t,t.media,"durationchange loadeddata loadedmetadata",function(e){return xe.durationUpdate.call(t,e)}),A.call(t,t.media,"canplay loadeddata",function(){q(n.volume,!t.hasAudio),q(n.buttons.mute,!t.hasAudio)}),A.call(t,t.media,"ended",function(){t.isHTML5&&t.isVideo&&t.config.resetOnEnd&&t.restart()}),A.call(t,t.media,"progress playing seeking seeked",function(e){return xe.updateProgress.call(t,e)}),A.call(t,t.media,"volumechange",function(e){return xe.updateVolume.call(t,e)}),A.call(t,t.media,"playing play pause ended emptied timeupdate",function(e){return Fe.checkPlaying.call(t,e)}),A.call(t,t.media,"waiting canplay seeked playing",function(e){return Fe.checkLoading.call(t,e)}),t.supported.ui&&t.config.clickToPlay&&!t.isAudio){var i=V.call(t,".".concat(t.config.classNames.video));if(!T.element(i))return;A.call(t,n.container,"click",function(r){([n.container,i].includes(r.target)||i.contains(r.target))&&(t.touch&&t.config.hideControls||(t.ended?(e.proxy(r,t.restart,"restart"),e.proxy(r,t.play,"play")):e.proxy(r,t.togglePlay,"play")))})}t.supported.ui&&t.config.disableContextMenu&&A.call(t,n.wrapper,"contextmenu",function(e){e.preventDefault()},!1),A.call(t,t.media,"volumechange",function(){t.storage.set({volume:t.volume,muted:t.muted})}),A.call(t,t.media,"ratechange",function(){xe.updateSetting.call(t,"speed"),t.storage.set({speed:t.speed})}),A.call(t,t.media,"qualitychange",function(e){xe.updateSetting.call(t,"quality",null,e.detail.quality)}),A.call(t,t.media,"ready qualitychange",function(){xe.setDownloadLink.call(t)});var r=t.config.events.concat(["keyup","keydown"]).join(" ");A.call(t,t.media,r,function(e){var i=e.detail,r=void 0===i?{}:i;"error"===e.type&&(r=t.media.error),D.call(t,n.container,e.type,!0,r)})}},{key:"proxy",value:function(e,t,n){var i=this.player,r=i.config.listeners[n],a=!0;T.function(r)&&(a=r.call(i,e)),a&&T.function(t)&&t.call(i,e)}},{key:"bind",value:function(e,t,n,i){var r=this,a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=this.player,s=o.config.listeners[i],l=T.function(s);A.call(o,e,t,function(e){return r.proxy(e,n,i)},a&&!l)}},{key:"controls",value:function(){var e=this,t=this.player,n=t.elements,i=ee.isIE?"change":"input";if(n.buttons.play&&Array.from(n.buttons.play).forEach(function(n){e.bind(n,"click",t.togglePlay,"play")}),this.bind(n.buttons.restart,"click",t.restart,"restart"),this.bind(n.buttons.rewind,"click",t.rewind,"rewind"),this.bind(n.buttons.fastForward,"click",t.forward,"fastForward"),this.bind(n.buttons.mute,"click",function(){t.muted=!t.muted},"mute"),this.bind(n.buttons.captions,"click",function(){return t.toggleCaptions()}),this.bind(n.buttons.download,"click",function(){D.call(t,t.media,"download")},"download"),this.bind(n.buttons.fullscreen,"click",function(){t.fullscreen.toggle()},"fullscreen"),this.bind(n.buttons.pip,"click",function(){t.pip="toggle"},"pip"),this.bind(n.buttons.airplay,"click",t.airplay,"airplay"),this.bind(n.buttons.settings,"click",function(e){e.stopPropagation(),xe.toggleMenu.call(t,e)}),this.bind(n.buttons.settings,"keyup",function(e){var n=e.which;[13,32].includes(n)&&(13!==n?(e.preventDefault(),e.stopPropagation(),xe.toggleMenu.call(t,e)):xe.focusFirstMenuItem.call(t,null,!0))},null,!1),this.bind(n.settings.menu,"keydown",function(e){27===e.which&&xe.toggleMenu.call(t,e)}),this.bind(n.inputs.seek,"mousedown mousemove",function(e){var t=n.progress.getBoundingClientRect(),i=100/t.width*(e.pageX-t.left);e.currentTarget.setAttribute("seek-value",i)}),this.bind(n.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",function(e){var n=e.currentTarget,i=e.keyCode?e.keyCode:e.which;if(!T.keyboardEvent(e)||39===i||37===i){t.lastSeekTime=Date.now();var r=n.hasAttribute("play-on-seeked"),a=["mouseup","touchend","keyup"].includes(e.type);r&&a?(n.removeAttribute("play-on-seeked"),t.play()):!a&&t.playing&&(n.setAttribute("play-on-seeked",""),t.pause())}}),ee.isIos){var r=U.call(t,'input[type="range"]');Array.from(r).forEach(function(t){return e.bind(t,i,function(e){return Q(e.target)})})}this.bind(n.inputs.seek,i,function(e){var n=e.currentTarget,i=n.getAttribute("seek-value");T.empty(i)&&(i=n.value),n.removeAttribute("seek-value"),t.currentTime=i/n.max*t.duration},"seek"),this.bind(n.progress,"mouseenter mouseleave mousemove",function(e){return xe.updateSeekTooltip.call(t,e)}),this.bind(n.progress,"mousemove touchmove",function(e){var n=t.previewThumbnails;n&&n.loaded&&n.startMove(e)}),this.bind(n.progress,"mouseleave click",function(){var e=t.previewThumbnails;e&&e.loaded&&e.endMove(!1,!0)}),this.bind(n.progress,"mousedown touchstart",function(e){var n=t.previewThumbnails;n&&n.loaded&&n.startScrubbing(e)}),this.bind(n.progress,"mouseup touchend",function(e){var n=t.previewThumbnails;n&&n.loaded&&n.endScrubbing(e)}),ee.isWebkit&&Array.from(U.call(t,'input[type="range"]')).forEach(function(n){e.bind(n,"input",function(e){return xe.updateRangeFill.call(t,e.target)})}),t.config.toggleInvert&&!T.element(n.display.duration)&&this.bind(n.display.currentTime,"click",function(){0!==t.currentTime&&(t.config.invertTime=!t.config.invertTime,xe.timeUpdate.call(t))}),this.bind(n.inputs.volume,i,function(e){t.volume=e.target.value},"volume"),this.bind(n.controls,"mouseenter mouseleave",function(e){n.controls.hover=!t.touch&&"mouseenter"===e.type}),this.bind(n.controls,"mousedown mouseup touchstart touchend touchcancel",function(e){n.controls.pressed=["mousedown","touchstart"].includes(e.type)}),this.bind(n.controls,"focusin",function(){var n=t.config,i=t.elements,r=t.timers;B(i.controls,n.classNames.noTransition,!0),Fe.toggleControls.call(t,!0),setTimeout(function(){B(i.controls,n.classNames.noTransition,!1)},0);var a=e.touch?3e3:4e3;clearTimeout(r.controls),r.controls=setTimeout(function(){return Fe.toggleControls.call(t,!1)},a)}),this.bind(n.inputs.volume,"wheel",function(e){var n=e.webkitDirectionInvertedFromDevice,i=a([e.deltaX,-e.deltaY].map(function(e){return n?-e:e}),2),r=i[0],o=i[1],s=Math.sign(Math.abs(r)>Math.abs(o)?r:o);t.increaseVolume(s/50);var l=t.media.volume;(1===s&&l<1||-1===s&&l>0)&&e.preventDefault()},"volume",!1)}}]),t}();"undefined"!=typeof window?window:"undefined"!=typeof t||"undefined"!=typeof self&&self;var je,Re=(function(e,t){e.exports=function(){var e=function(){},t={},n={},i={};function r(e,t){if(e){var r=i[e];if(n[e]=t,r)for(;r.length;)r[0](e,t),r.splice(0,1)}}function a(t,n){t.call&&(t={success:t}),n.length?(t.error||e)(n):(t.success||e)(t)}function o(t,n,i,r){var a,s,l=document,c=i.async,u=(i.numRetries||0)+1,d=i.before||e,f=t.replace(/^(css|img)!/,"");r=r||0,/(^css!|\.css$)/.test(t)?(a=!0,(s=l.createElement("link")).rel="stylesheet",s.href=f):/(^img!|\.(png|gif|jpg|svg)$)/.test(t)?(s=l.createElement("img")).src=f:((s=l.createElement("script")).src=t,s.async=void 0===c||c),s.onload=s.onerror=s.onbeforeload=function(e){var l=e.type[0];if(a&&"hideFocus"in s)try{s.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l&&(r+=1)0&&void 0!==arguments[0]&&arguments[0]))return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");this.countdownTimer=setInterval(function(){var t=we(Math.max(e.manager.getRemainingTime(),0)),n="".concat(pe("advertisement",e.player.config)," - ").concat(t);e.elements.container.setAttribute("data-badge-text",n)},100)}},{key:"onAdsManagerLoaded",value:function(e){var t=this;if(this.enabled){var n=new google.ima.AdsRenderingSettings;n.restoreCustomPlaybackStateOnAdBreakComplete=!0,n.enablePreloading=!0,this.manager=e.getAdsManager(this.player,n),this.cuePoints=this.manager.getCuePoints(),this.manager.setVolume(this.player.volume),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,function(e){return t.onAdError(e)}),Object.keys(google.ima.AdEvent.Type).forEach(function(e){t.manager.addEventListener(google.ima.AdEvent.Type[e],function(e){return t.onAdEvent(e)})}),this.trigger("loaded")}}},{key:"addCuePoints",value:function(){var e=this;T.empty(this.cuePoints)||this.cuePoints.forEach(function(t){if(0!==t&&-1!==t&&t1?n-1:0),r=1;r ?)([0-9]{2}):([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);o&&(t.startTime=60*Number(o[1])*60+60*Number(o[2])+Number(o[3])+Number("0.".concat(o[4])),t.endTime=60*Number(o[6])*60+60*Number(o[7])+Number(o[8])+Number("0.".concat(o[9])))}}),t.text&&o.push(t)}),o),height:null,urlPrefix:""};s.frames[0].text.startsWith("/")||(s.urlPrefix=e.substring(0,e.lastIndexOf("/")+1));var l=new Image;l.onload=function(){s.height=l.naturalHeight,s.width=l.naturalWidth,t.thumbnails.push(s),n()},l.src=s.urlPrefix+s.frames[0].text})})}},{key:"startMove",value:function(e){if(this.loaded&&T.event(e)&&["touchmove","mousemove"].includes(e.type)&&this.player.media.duration){if("touchmove"===e.type)this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var t=this.player.elements.progress.getBoundingClientRect(),n=100/t.width*(e.pageX-t.left);this.seekTime=this.player.media.duration*(n/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=e.pageX,this.elements.thumb.time.innerText=we(this.seekTime)}this.showImageAtCurrentTime()}}},{key:"endMove",value:function(){this.toggleThumbContainer(!1,!0)}},{key:"startScrubbing",value:function(e){!1!==e.button&&0!==e.button||(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))}},{key:"endScrubbing",value:function(){var e=this;this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):N.call(this.player,this.player.media,"timeupdate",function(){e.mouseDown||e.toggleScrubbingContainer(!1)})}},{key:"listeners",value:function(){var e=this;this.player.on("play",function(){e.toggleThumbContainer(!1,!0)}),this.player.on("seeked",function(){e.toggleThumbContainer(!1)}),this.player.on("timeupdate",function(){e.lastTime=e.player.media.currentTime})}},{key:"render",value:function(){this.elements.thumb.container=I("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=I("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);var e=I("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=I("span",{},"00:00"),e.appendChild(this.elements.thumb.time),this.elements.thumb.container.appendChild(e),this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=I("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)}},{key:"showImageAtCurrentTime",value:function(){var e=this;this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();var t=this.thumbnails[0].frames.findIndex(function(t){return e.seekTime>=t.startTime&&e.seekTime<=t.endTime}),n=t>=0,i=0;this.mouseDown||this.toggleThumbContainer(n),n&&(this.thumbnails.forEach(function(n,r){e.loadedImages.includes(n.frames[t].text)&&(i=r)}),t!==this.showingThumb&&(this.showingThumb=t,this.loadImage(i)))}},{key:"loadImage",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=this.showingThumb,i=this.thumbnails[t],r=i.urlPrefix,a=i.frames[n],o=i.frames[n].text,s=r+o;if(this.currentImageElement&&this.currentImageElement.dataset.filename===o)this.showImage(this.currentImageElement,a,t,n,o,!1),this.currentImageElement.dataset.index=n,this.removeOldImages(this.currentImageElement);else{this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);var l=new Image;l.src=s,l.dataset.index=n,l.dataset.filename=o,this.showingThumbFilename=o,this.player.debug.log("Loading image: ".concat(s)),l.onload=function(){return e.showImage(l,a,t,n,o,!0)},this.loadingImage=l,this.removeOldImages(l)}}},{key:"showImage",value:function(e,t,n,i,r){var a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];this.player.debug.log("Showing thumb: ".concat(r,". num: ").concat(i,". qual: ").concat(n,". newimg: ").concat(a)),this.setImageSizeAndOffset(e,t),a&&(this.currentImageContainer.appendChild(e),this.currentImageElement=e,this.loadedImages.includes(r)||this.loadedImages.push(r)),this.preloadNearby(i,!0).then(this.preloadNearby(i,!1)).then(this.getHigherQuality(n,e,t,r))}},{key:"removeOldImages",value:function(e){var t=this;Array.from(this.currentImageContainer.children).forEach(function(n){if("img"===n.tagName.toLowerCase()){var i=t.usingSprites?500:1e3;if(n.dataset.index!==e.dataset.index&&!n.dataset.deleting){n.dataset.deleting=!0;var r=t.currentImageContainer;setTimeout(function(){r.removeChild(n),t.player.debug.log("Removing thumb: ".concat(n.dataset.filename))},i)}}})}},{key:"preloadNearby",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return new Promise(function(i){setTimeout(function(){var r=t.thumbnails[0].frames[e].text;if(t.showingThumbFilename===r){var a;a=n?t.thumbnails[0].frames.slice(e):t.thumbnails[0].frames.slice(0,e).reverse();var o=!1;a.forEach(function(e){var n=e.text;if(n!==r&&!t.loadedImages.includes(n)){o=!0,t.player.debug.log("Preloading thumb filename: ".concat(n));var a=t.thumbnails[0].urlPrefix+n,s=new Image;s.src=a,s.onload=function(){t.player.debug.log("Preloaded thumb filename: ".concat(n)),t.loadedImages.includes(n)||t.loadedImages.push(n),i()}}}),o||i()}},300)})}},{key:"getHigherQuality",value:function(e,t,n,i){var r=this;if(e0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(n,e),!e&&t&&(this.showingThumb=null,this.showingThumbFilename=null)}},{key:"toggleScrubbingContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(t,e),e||(this.showingThumb=null,this.showingThumbFilename=null)}},{key:"determineContainerAutoSizing",value:function(){this.elements.thumb.imageContainer.clientHeight>20&&(this.sizeSpecifiedInCSS=!0)}},{key:"setThumbContainerSizeAndPos",value:function(){if(!this.sizeSpecifiedInCSS){var e=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);this.elements.thumb.imageContainer.style.height="".concat(this.thumbContainerHeight,"px"),this.elements.thumb.imageContainer.style.width="".concat(e,"px")}this.setThumbContainerPos()}},{key:"setThumbContainerPos",value:function(){var e=this.player.elements.progress.getBoundingClientRect(),t=this.player.elements.container.getBoundingClientRect(),n=this.elements.thumb.container,i=t.left-e.left+10,r=t.right-e.left-n.clientWidth-10,a=this.mousePosX-e.left-n.clientWidth/2;ar&&(a=r),n.style.left="".concat(a,"px")}},{key:"setScrubbingContainerSize",value:function(){this.elements.scrubbing.container.style.width="".concat(this.player.media.clientWidth,"px"),this.elements.scrubbing.container.style.height="".concat(this.player.media.clientWidth/this.thumbAspectRatio,"px")}},{key:"setImageSizeAndOffset",value:function(e,t){if(this.usingSprites){var n=this.thumbContainerHeight/t.h;e.style.height="".concat(Math.floor(e.naturalHeight*n),"px"),e.style.width="".concat(Math.floor(e.naturalWidth*n),"px"),e.style.left="-".concat(t.x*n,"px"),e.style.top="-".concat(t.y*n,"px")}}},{key:"enabled",get:function(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}},{key:"currentImageContainer",get:function(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}},{key:"usingSprites",get:function(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}},{key:"thumbAspectRatio",get:function(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}},{key:"thumbContainerHeight",get:function(){return this.mouseDown?Math.floor(this.player.media.clientWidth/this.thumbAspectRatio):Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}},{key:"currentImageElement",get:function(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement},set:function(e){this.mouseDown?this.currentScrubbingImageElement=e:this.currentThumbnailImageElement=e}}]),t}(),Ye={insertElements:function(e,t){var n=this;T.string(t)?F(e,this.media,{src:t}):T.array(t)&&t.forEach(function(t){F(e,n.media,t)})},change:function(e){var t=this;ae(e,"sources.length")?(ie.cancelRequests.call(this),this.destroy.call(this,function(){t.options.quality=[],z(t.media),t.media=null,T.element(t.elements.container)&&t.elements.container.removeAttribute("class");var n=e.sources,i=e.type,r=a(n,1)[0],o=r.provider,s=void 0===o?Ee.html5:o,l=r.src,c="html5"===s?i:"div",u="html5"===s?{}:{src:l};Object.assign(t,{provider:s,type:i,supported:ne.check(i,s,t.config.playsinline),media:I(c,u)}),t.elements.container.appendChild(t.media),T.boolean(e.autoplay)&&(t.config.autoplay=e.autoplay),t.isHTML5&&(t.config.crossorigin&&t.media.setAttribute("crossorigin",""),t.config.autoplay&&t.media.setAttribute("autoplay",""),T.empty(e.poster)||(t.poster=e.poster),t.config.loop.active&&t.media.setAttribute("loop",""),t.config.muted&&t.media.setAttribute("muted",""),t.config.playsinline&&t.media.setAttribute("playsinline","")),Fe.addStyleHook.call(t),t.isHTML5&&Ye.insertElements.call(t,"source",n),t.config.title=e.title,Ge.setup.call(t),t.isHTML5&&Object.keys(e).includes("tracks")&&Ye.insertElements.call(t,"track",e.tracks),(t.isHTML5||t.isEmbed&&!t.supported.ui)&&Fe.build.call(t),t.isHTML5&&t.media.load(),t.previewThumbnails&&t.previewThumbnails.load(),t.fullscreen.update()},!0)):this.debug.warn("Invalid source format")}},Ze=function(){function t(n,i){var r=this;if(e(this,t),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=ne.touch,this.media=n,T.string(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||T.nodeList(this.media)||T.array(this.media))&&(this.media=this.media[0]),this.config=oe({},Se,t.defaults,i||{},function(){try{return JSON.parse(r.media.getAttribute("data-plyr-config"))}catch(e){return{}}}()),this.elements={container:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new Ne(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",ne),!T.nullOrUndefined(this.media)&&T.element(this.media))if(this.media.plyr)this.debug.warn("Target already setup");else if(this.config.enabled)if(ne.check().api){var a=this.media.cloneNode(!0);a.autoplay=!1,this.elements.original=a;var o=this.media.tagName.toLowerCase(),s=null,l=null;switch(o){case"div":if(s=this.media.querySelector("iframe"),T.element(s)){if(l=ke(s.getAttribute("src")),this.provider=function(e){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(e)?Ee.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(e)?Ee.vimeo:null}(l.toString()),this.elements.container=this.media,this.media=s,this.elements.container.className="",l.search.length){var c=["1","true"];c.includes(l.searchParams.get("autoplay"))&&(this.config.autoplay=!0),c.includes(l.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=c.includes(l.searchParams.get("playsinline")),this.config.youtube.hl=l.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(T.empty(this.provider)||!Object.keys(Ee).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=Ae.video;break;case"video":case"audio":this.type=o,this.provider=Ee.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=ne.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new $e(this),this.storage=new he(this),this.media.plyr=this,T.element(this.elements.container)||(this.elements.container=I("div",{tabindex:0}),O(this.media,this.elements.container)),Fe.addStyleHook.call(this),Ge.setup.call(this),this.config.debug&&A.call(this,this.elements.container,this.config.events.join(" "),function(e){r.debug.log("event: ".concat(e.type))}),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&Fe.build.call(this),this.listeners.container(),this.listeners.global(),this.fullscreen=new Pe(this),this.config.ads.enabled&&(this.ads=new Xe(this)),this.config.autoplay&&this.play(),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new Ke(this))):this.debug.error("Setup failed: no support")}else this.debug.error("Setup failed: no support");else this.debug.error("Setup failed: disabled by config");else this.debug.error("Setup failed: no suitable element passed")}return i(t,[{key:"play",value:function(){var e=this;return T.function(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then(function(){return e.ads.play()}).catch(function(){return e.media.play()}),this.media.play()):null}},{key:"pause",value:function(){this.playing&&T.function(this.media.pause)&&this.media.pause()}},{key:"togglePlay",value:function(e){(T.boolean(e)?e:!this.playing)?this.play():this.pause()}},{key:"stop",value:function(){this.isHTML5?(this.pause(),this.restart()):T.function(this.media.stop)&&this.media.stop()}},{key:"restart",value:function(){this.currentTime=0}},{key:"rewind",value:function(e){this.currentTime=this.currentTime-(T.number(e)?e:this.config.seekTime)}},{key:"forward",value:function(e){this.currentTime=this.currentTime+(T.number(e)?e:this.config.seekTime)}},{key:"increaseVolume",value:function(e){var t=this.media.muted?0:this.volume;this.volume=t+(T.number(e)?e:0)}},{key:"decreaseVolume",value:function(e){this.increaseVolume(-e)}},{key:"toggleCaptions",value:function(e){Ce.toggle.call(this,e,!1)}},{key:"airplay",value:function(){ne.airplay&&this.media.webkitShowPlaybackTargetPicker()}},{key:"toggleControls",value:function(e){if(this.supported.ui&&!this.isAudio){var t=H(this.elements.container,this.config.classNames.hideControls),n=void 0===e?void 0:!e,i=B(this.elements.container,this.config.classNames.hideControls,n);if(i&&this.config.controls.includes("settings")&&!T.empty(this.config.settings)&&xe.toggleMenu.call(this,!1),i!==t){var r=i?"controlshidden":"controlsshown";D.call(this,this.media,r)}return!i}return!1}},{key:"on",value:function(e,t){A.call(this,this.elements.container,e,t)}},{key:"once",value:function(e,t){N.call(this,this.elements.container,e,t)}},{key:"off",value:function(e,t){L(this.elements.container,e,t)}},{key:"destroy",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.ready){var i=function(){document.body.style.overflow="",t.embed=null,n?(Object.keys(t.elements).length&&(z(t.elements.buttons.play),z(t.elements.captions),z(t.elements.controls),z(t.elements.wrapper),t.elements.buttons.play=null,t.elements.captions=null,t.elements.controls=null,t.elements.wrapper=null),T.function(e)&&e()):(function(){this&&this.eventListeners&&(this.eventListeners.forEach(function(e){var t=e.element,n=e.type,i=e.callback,r=e.options;t.removeEventListener(n,i,r)}),this.eventListeners=[])}.call(t),j(t.elements.original,t.elements.container),D.call(t,t.elements.original,"destroyed",!0),T.function(e)&&e.call(t.elements.original),t.ready=!1,setTimeout(function(){t.elements=null,t.media=null},200))};this.stop(),this.isHTML5?(clearTimeout(this.timers.loading),Fe.toggleNativeControls.call(this,!0),i()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&T.function(this.embed.destroy)&&this.embed.destroy(),i()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(i),setTimeout(i,200))}}},{key:"supports",value:function(e){return ne.mime.call(this,e)}},{key:"isHTML5",get:function(){return Boolean(this.provider===Ee.html5)}},{key:"isEmbed",get:function(){return Boolean(this.isYouTube||this.isVimeo)}},{key:"isYouTube",get:function(){return Boolean(this.provider===Ee.youtube)}},{key:"isVimeo",get:function(){return Boolean(this.provider===Ee.vimeo)}},{key:"isVideo",get:function(){return Boolean(this.type===Ae.video)}},{key:"isAudio",get:function(){return Boolean(this.type===Ae.audio)}},{key:"playing",get:function(){return Boolean(this.ready&&!this.paused&&!this.ended)}},{key:"paused",get:function(){return Boolean(this.media.paused)}},{key:"stopped",get:function(){return Boolean(this.paused&&0===this.currentTime)}},{key:"ended",get:function(){return Boolean(this.media.ended)}},{key:"currentTime",set:function(e){if(this.duration){var t=T.number(e)&&e>0;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log("Seeking to ".concat(this.currentTime," seconds"))}},get:function(){return Number(this.media.currentTime)}},{key:"buffered",get:function(){var e=this.media.buffered;return T.number(e)?e:e&&e.length&&this.duration>0?e.end(0)/this.duration:0}},{key:"seeking",get:function(){return Boolean(this.media.seeking)}},{key:"duration",get:function(){var e=parseFloat(this.config.duration),t=(this.media||{}).duration,n=T.number(t)&&t!==1/0?t:0;return e||n}},{key:"volume",set:function(e){var t=e;T.string(t)&&(t=Number(t)),T.number(t)||(t=this.storage.get("volume")),T.number(t)||(t=this.config.volume),t>1&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!T.empty(e)&&this.muted&&t>0&&(this.muted=!1)},get:function(){return Number(this.media.volume)}},{key:"muted",set:function(e){var t=e;T.boolean(t)||(t=this.storage.get("muted")),T.boolean(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t},get:function(){return Boolean(this.media.muted)}},{key:"hasAudio",get:function(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}},{key:"speed",set:function(e){var t=null;T.number(e)&&(t=e),T.number(t)||(t=this.storage.get("speed")),T.number(t)||(t=this.config.speed.selected),t<.1&&(t=.1),t>2&&(t=2),this.config.speed.options.includes(t)?(this.config.speed.selected=t,this.media.playbackRate=t):this.debug.warn("Unsupported speed (".concat(t,")"))},get:function(){return Number(this.media.playbackRate)}},{key:"quality",set:function(e){var t=this.config.quality,n=this.options.quality;if(n.length){var i=[!T.empty(e)&&Number(e),this.storage.get("quality"),t.selected,t.default].find(T.number),r=!0;if(!n.includes(i)){var a=function(e,t){return T.array(e)&&e.length?e.reduce(function(e,n){return Math.abs(n-t)1&&void 0!==arguments[1]?arguments[1]:{},i=null;return T.string(e)?i=Array.from(document.querySelectorAll(e)):T.nodeList(e)?i=Array.from(e):T.array(e)&&(i=e.filter(T.element)),T.empty(i)?null:i.map(function(e){return new t(e,n)})}}]),t}();return Ze.defaults=(Ue=Se,JSON.parse(JSON.stringify(Ue))),Ze})}).call(this,n("c8ba"))},"4ff4":function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.defineMode("go",function(t){var n,i=t.indentUnit,r={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0},a={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},o=/[+\-*&^%:=<>!|\/]/;function s(e,t){var i=e.next();if('"'==i||"'"==i||"`"==i)return t.tokenize=l(i),t.tokenize(e,t);if(/[\d\.]/.test(i))return"."==i?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==i?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(i))return n=i,null;if("/"==i){if(e.eat("*"))return t.tokenize=c,c(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(o.test(i))return e.eatWhile(o),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var s=e.current();return r.propertyIsEnumerable(s)?("case"!=s&&"default"!=s||(n="case"),"keyword"):a.propertyIsEnumerable(s)?"atom":"variable"}function l(e){return function(t,n){var i,r=!1,a=!1;while(null!=(i=t.next())){if(i==e&&!r){a=!0;break}r=!r&&"`"!=e&&"\\"==i}return(a||!r&&"`"!=e)&&(n.tokenize=s),"string"}}function c(e,t){var n,i=!1;while(n=e.next()){if("/"==n&&i){t.tokenize=s;break}i="*"==n}return"comment"}function u(e,t,n,i,r){this.indented=e,this.column=t,this.type=n,this.align=i,this.prev=r}function d(e,t,n){return e.context=new u(e.indented,t,n,null,e.context)}function f(e){if(e.context.prev){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}}return{startState:function(e){return{tokenize:null,context:new u((e||0)-i,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var i=t.context;if(e.sol()&&(null==i.align&&(i.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"case"==i.type&&(i.type="}")),e.eatSpace())return null;n=null;var r=(t.tokenize||s)(e,t);return"comment"==r?r:(null==i.align&&(i.align=!0),"{"==n?d(t,e.column(),"}"):"["==n?d(t,e.column(),"]"):"("==n?d(t,e.column(),")"):"case"==n?i.type="case":"}"==n&&"}"==i.type?f(t):n==i.type&&f(t),t.startOfLine=!1,r)},indent:function(t,n){if(t.tokenize!=s&&null!=t.tokenize)return e.Pass;var r=t.context,a=n&&n.charAt(0);if("case"==r.type&&/^(?:case|default)\b/.test(n))return t.context.type="}",r.indented;var o=a==r.type;return r.align?r.column+(o?0:1):r.indented+(o?0:i)},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),e.defineMIME("text/x-go","go")})},"504c":function(e,t,n){var i=n("0d58"),r=n("6821"),a=n("52a7").f;e.exports=function(e){return function(t){var n,o=r(t),s=i(o),l=s.length,c=0,u=[];while(l>c)a.call(o,n=s[c++])&&u.push(e?[n,o[n]]:o[n]);return u}}},5147:function(e,t,n){var i=n("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(r){}}return!0}},"51fb":function(e,t,n){"use strict";var i=n("8863"),r=n.n(i);r.a},"520a":function(e,t,n){"use strict";var i=n("0bfb"),r=RegExp.prototype.exec,a=String.prototype.replace,o=r,s="lastIndex",l=function(){var e=/a/,t=/b*/g;return r.call(e,"a"),r.call(t,"a"),0!==e[s]||0!==t[s]}(),c=void 0!==/()??/.exec("")[1],u=l||c;u&&(o=function(e){var t,n,o,u,d=this;return c&&(n=new RegExp("^"+d.source+"$(?!\\s)",i.call(d))),l&&(t=d[s]),o=r.call(d,e),l&&o&&(d[s]=d.global?o.index+o[0].length:t),c&&o&&o.length>1&&a.call(o[0],n,function(){for(u=1;u0),"Math",{asinh:a})},"551c":function(e,t,n){"use strict";var i,r,a,o,s=n("2d00"),l=n("7726"),c=n("9b43"),u=n("23c6"),d=n("5ca1"),f=n("d3f4"),p=n("d8e8"),h=n("f605"),m=n("4a59"),g=n("ebd6"),v=n("1991").set,y=n("8079")(),b=n("a5b8"),w=n("9c80"),x=n("a25f"),k=n("bcaa"),_="Promise",C=l.TypeError,S=l.process,T=S&&S.versions,M=T&&T.v8||"",E=l[_],A="process"==u(S),L=function(){},N=r=b.f,D=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[n("2b4c")("species")]=function(e){e(L,L)};return(A||"function"==typeof PromiseRejectionEvent)&&e.then(L)instanceof t&&0!==M.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(i){}}(),O=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},P=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){var i=e._v,r=1==e._s,a=0,o=function(t){var n,a,o,s=r?t.ok:t.fail,l=t.resolve,c=t.reject,u=t.domain;try{s?(r||(2==e._h&&z(e),e._h=1),!0===s?n=i:(u&&u.enter(),n=s(i),u&&(u.exit(),o=!0)),n===t.promise?c(C("Promise-chain cycle")):(a=O(n))?a.call(n,l,c):l(n)):c(i)}catch(d){u&&!o&&u.exit(),c(d)}};while(n.length>a)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&I(e)})}},I=function(e){v.call(l,function(){var t,n,i,r=e._v,a=F(e);if(a&&(t=w(function(){A?S.emit("unhandledRejection",r,e):(n=l.onunhandledrejection)?n({promise:e,reason:r}):(i=l.console)&&i.error&&i.error("Unhandled promise rejection",r)}),e._h=A||F(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},F=function(e){return 1!==e._h&&0===(e._a||e._c).length},z=function(e){v.call(l,function(){var t;A?S.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},$=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),P(t,!0))},j=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw C("Promise can't be resolved itself");(t=O(e))?y(function(){var i={_w:n,_d:!1};try{t.call(e,c(j,i,1),c($,i,1))}catch(r){$.call(i,r)}}):(n._v=e,n._s=1,P(n,!1))}catch(i){$.call({_w:n,_d:!1},i)}}};D||(E=function(e){h(this,E,_,"_h"),p(e),i.call(this);try{e(c(j,this,1),c($,this,1))}catch(t){$.call(this,t)}},i=function(e){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")(E.prototype,{then:function(e,t){var n=N(g(this,E));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=A?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&P(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new i;this.promise=e,this.resolve=c(j,e,1),this.reject=c($,e,1)},b.f=N=function(e){return e===E||e===o?new a(e):r(e)}),d(d.G+d.W+d.F*!D,{Promise:E}),n("7f20")(E,_),n("7a56")(_),o=n("8378")[_],d(d.S+d.F*!D,_,{reject:function(e){var t=N(this),n=t.reject;return n(e),t.promise}}),d(d.S+d.F*(s||!D),_,{resolve:function(e){return k(s&&this===o?E:this,e)}}),d(d.S+d.F*!(D&&n("5cc5")(function(e){E.all(e)["catch"](L)})),_,{all:function(e){var t=this,n=N(t),i=n.resolve,r=n.reject,a=w(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,l=!1;n.push(void 0),o++,t.resolve(e).then(function(e){l||(l=!0,n[s]=e,--o||i(n))},r)}),--o||i(n)});return a.e&&r(a.v),n.promise},race:function(e){var t=this,n=N(t),i=n.reject,r=w(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},5537:function(e,t,n){var i=n("8378"),r=n("7726"),a="__core-js_shared__",o=r[a]||(r[a]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"55dd":function(e,t,n){"use strict";var i=n("5ca1"),r=n("d8e8"),a=n("4bf8"),o=n("79e5"),s=[].sort,l=[1,2,3];i(i.P+i.F*(o(function(){l.sort(void 0)})||!o(function(){l.sort(null)})||!n("2f21")(s)),"Array",{sort:function(e){return void 0===e?s.call(a(this)):s.call(a(this),r(e))}})},5695:function(e,t,n){var i=n("5ca1"),r=n("77f1"),a=String.fromCharCode,o=String.fromCodePoint;i(i.S+i.F*(!!o&&1!=o.length),"String",{fromCodePoint:function(e){var t,n=[],i=arguments.length,o=0;while(i>o){if(t=+arguments[o++],r(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?a(t):a(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},"56b3":function(e,t,n){(function(t,n){e.exports=n()})(0,function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),i=/MSIE \d/.test(e),r=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),a=/Edge\/(\d+)/.exec(e),o=i||r||a,s=o&&(i?document.documentMode||6:+(a||r)[1]),l=!a&&/WebKit\//.test(e),c=l&&/Qt\/\d+\.\d+/.test(e),u=!a&&/Chrome\//.test(e),d=/Opera\//.test(e),f=/Apple Computer/.test(navigator.vendor),p=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),h=/PhantomJS/.test(e),m=!a&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),g=/Android/.test(e),v=m||g||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=m||/Mac/.test(t),b=/\bCrOS\b/.test(e),w=/win/i.test(t),x=d&&e.match(/Version\/(\d*\.\d*)/);x&&(x=Number(x[1])),x&&x>=15&&(d=!1,l=!0);var k=y&&(c||d&&(null==x||x<12.11)),_=n||o&&s>=9;function C(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var S,T=function(e,t){var n=e.className,i=C(t).exec(n);if(i){var r=n.slice(i.index+i[0].length);e.className=n.slice(0,i.index)+(r?i[1]+r:"")}};function M(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function E(e,t){return M(e).appendChild(t)}function A(e,t,n,i){var r=document.createElement(e);if(n&&(r.className=n),i&&(r.style.cssText=i),"string"==typeof t)r.appendChild(document.createTextNode(t));else if(t)for(var a=0;a=t)return o+(t-a);o+=s-a,o+=n-o%n,a=s+1}}m?I=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:o&&(I=function(e){try{e.select()}catch(t){}});var j=function(){this.id=null};function R(e,t){for(var n=0;n=t)return i+Math.min(o,t-r);if(r+=a-i,r+=n-r%n,i=a+1,r>=t)return i}}var G=[""];function X(e){while(G.length<=e)G.push(K(G)+" ");return G[e]}function K(e){return e[e.length-1]}function Y(e,t){for(var n=[],i=0;i"€"&&(e.toUpperCase()!=e.toLowerCase()||ee.test(e))}function ne(e,t){return t?!!(t.source.indexOf("\\w")>-1&&te(e))||t.test(e):te(e)}function ie(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var re=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ae(e){return e.charCodeAt(0)>=768&&re.test(e)}function oe(e,t,n){while((n<0?t>0:tn?-1:1;;){if(t==n)return t;var r=(t+n)/2,a=i<0?Math.ceil(r):Math.floor(r);if(a==t)return e(a)?t:n;e(a)?n=a:t=a+i}}function le(e,t,i){var r=this;this.input=i,r.scrollbarFiller=A("div",null,"CodeMirror-scrollbar-filler"),r.scrollbarFiller.setAttribute("cm-not-content","true"),r.gutterFiller=A("div",null,"CodeMirror-gutter-filler"),r.gutterFiller.setAttribute("cm-not-content","true"),r.lineDiv=L("div",null,"CodeMirror-code"),r.selectionDiv=A("div",null,null,"position: relative; z-index: 1"),r.cursorDiv=A("div",null,"CodeMirror-cursors"),r.measure=A("div",null,"CodeMirror-measure"),r.lineMeasure=A("div",null,"CodeMirror-measure"),r.lineSpace=L("div",[r.measure,r.lineMeasure,r.selectionDiv,r.cursorDiv,r.lineDiv],null,"position: relative; outline: none");var a=L("div",[r.lineSpace],"CodeMirror-lines");r.mover=A("div",[a],null,"position: relative"),r.sizer=A("div",[r.mover],"CodeMirror-sizer"),r.sizerWidth=null,r.heightForcer=A("div",null,null,"position: absolute; height: "+q+"px; width: 1px;"),r.gutters=A("div",null,"CodeMirror-gutters"),r.lineGutter=null,r.scroller=A("div",[r.sizer,r.heightForcer,r.gutters],"CodeMirror-scroll"),r.scroller.setAttribute("tabIndex","-1"),r.wrapper=A("div",[r.scrollbarFiller,r.gutterFiller,r.scroller],"CodeMirror"),o&&s<8&&(r.gutters.style.zIndex=-1,r.scroller.style.paddingRight=0),l||n&&v||(r.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(r.wrapper):e(r.wrapper)),r.viewFrom=r.viewTo=t.first,r.reportedViewFrom=r.reportedViewTo=t.first,r.view=[],r.renderedView=null,r.externalMeasured=null,r.viewOffset=0,r.lastWrapHeight=r.lastWrapWidth=0,r.updateLineNumbers=null,r.nativeBarWidth=r.barHeight=r.barWidth=0,r.scrollbarsClipped=!1,r.lineNumWidth=r.lineNumInnerWidth=r.lineNumChars=null,r.alignWidgets=!1,r.cachedCharWidth=r.cachedTextHeight=r.cachedPaddingH=null,r.maxLine=null,r.maxLineLength=0,r.maxLineChanged=!1,r.wheelDX=r.wheelDY=r.wheelStartX=r.wheelStartY=null,r.shift=!1,r.selForContextMenu=null,r.activeTouch=null,i.init(r)}function ce(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");var n=e;while(!n.lines)for(var i=0;;++i){var r=n.children[i],a=r.chunkSize();if(t=e.first&&tn?ve(n,ce(e,n).text.length):Se(t,ce(e,t.line).text.length)}function Se(e,t){var n=e.ch;return null==n||n>t?ve(e.line,t):n<0?ve(e.line,0):e}function Te(e,t){for(var n=[],i=0;i=t:a.to>t);(i||(i=[])).push(new Ne(o,a.from,l?null:a.to))}}return i}function Fe(e,t,n){var i;if(e)for(var r=0;r=t:a.to>t);if(s||a.from==t&&"bookmark"==o.type&&(!n||a.marker.insertLeft)){var l=null==a.from||(o.inclusiveLeft?a.from<=t:a.from0&&s)for(var w=0;w0)){var u=[l,1],d=ye(c.from,s.from),f=ye(c.to,s.to);(d<0||!o.inclusiveLeft&&!d)&&u.push({from:c.from,to:s.from}),(f>0||!o.inclusiveRight&&!f)&&u.push({from:s.to,to:c.to}),r.splice.apply(r,u),l+=u.length-3}}return r}function Re(e){var t=e.markedSpans;if(t){for(var n=0;nt)&&(!n||We(n,a.marker)<0)&&(n=a.marker)}return n}function Ke(e,t,n,i,r){var a=ce(e,t),o=Ee&&a.markedSpans;if(o)for(var s=0;s=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(l.marker.inclusiveRight&&r.inclusiveLeft?ye(c.to,n)>=0:ye(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&r.inclusiveLeft?ye(c.from,i)<=0:ye(c.from,i)<0)))return!0}}}function Ye(e){var t;while(t=Ve(e))e=t.find(-1,!0).line;return e}function Ze(e){var t;while(t=Ge(e))e=t.find(1,!0).line;return e}function Qe(e){var t,n;while(t=Ge(e))e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function Je(e,t){var n=ce(e,t),i=Ye(n);return n==i?t:pe(i)}function et(e,t){if(t>e.lastLine())return t;var n,i=ce(e,t);if(!tt(e,i))return t;while(n=Ge(i))i=n.find(1,!0).line;return pe(i)+1}function tt(e,t){var n=Ee&&t.markedSpans;if(n)for(var i=void 0,r=0;rt.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function ot(e,t,n,i){if(!e)return i(t,n,"ltr",0);for(var r=!1,a=0;at||t==n&&o.to==t)&&(i(Math.max(o.from,t),Math.min(o.to,n),1==o.level?"rtl":"ltr",a),r=!0)}r||i(t,n,"ltr")}var st=null;function lt(e,t,n){var i;st=null;for(var r=0;rt)return r;a.to==t&&(a.from!=a.to&&"before"==n?i=r:st=r),a.from==t&&(a.from!=a.to&&"before"!=n?i=r:st=r)}return null!=i?i:st}var ct=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}var i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,r=/[stwN]/,a=/[LRr]/,o=/[Lb1n]/,s=/[1n]/;function l(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var c="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!i.test(e))return!1;for(var u=e.length,d=[],f=0;f-1&&(i[t]=r.slice(0,a).concat(r.slice(a+1)))}}}function mt(e,t){var n=pt(e,t);if(n.length)for(var i=Array.prototype.slice.call(arguments,2),r=0;r0}function bt(e){e.prototype.on=function(e,t){ft(this,e,t)},e.prototype.off=function(e,t){ht(this,e,t)}}function wt(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function xt(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function kt(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function _t(e){wt(e),xt(e)}function Ct(e){return e.target||e.srcElement}function St(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var Tt,Mt,Et=function(){if(o&&s<9)return!1;var e=A("div");return"draggable"in e||"dragDrop"in e}();function At(e){if(null==Tt){var t=A("span","​");E(e,A("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Tt=t.offsetWidth<=1&&t.offsetHeight>2&&!(o&&s<8))}var n=Tt?A("span","​"):A("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Lt(e){if(null!=Mt)return Mt;var t=E(e,document.createTextNode("AخA")),n=S(t,0,1).getBoundingClientRect(),i=S(t,1,2).getBoundingClientRect();return M(e),!(!n||n.left==n.right)&&(Mt=i.right-n.right<3)}var Nt=3!="\n\nb".split(/\n/).length?function(e){var t=0,n=[],i=e.length;while(t<=i){var r=e.indexOf("\n",t);-1==r&&(r=e.length);var a=e.slice(t,"\r"==e.charAt(r-1)?r-1:r),o=a.indexOf("\r");-1!=o?(n.push(a.slice(0,o)),t+=o+1):(n.push(a),t=r+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Dt=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(n){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Ot=function(){var e=A("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Pt=null;function It(e){if(null!=Pt)return Pt;var t=E(e,A("span","x")),n=t.getBoundingClientRect(),i=S(t,0,1).getBoundingClientRect();return Pt=Math.abs(n.left-i.left)>1}var Ft={},zt={};function $t(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Ft[e]=t}function jt(e,t){zt[e]=t}function Rt(e){if("string"==typeof e&&zt.hasOwnProperty(e))e=zt[e];else if(e&&"string"==typeof e.name&&zt.hasOwnProperty(e.name)){var t=zt[e.name];"string"==typeof t&&(t={name:t}),e=J(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Rt("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Rt("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function qt(e,t){t=Rt(t);var n=Ft[t.name];if(!n)return qt(e,"text/plain");var i=n(e,t);if(Bt.hasOwnProperty(t.name)){var r=Bt[t.name];for(var a in r)r.hasOwnProperty(a)&&(i.hasOwnProperty(a)&&(i["_"+a]=i[a]),i[a]=r[a])}if(i.name=t.name,t.helperType&&(i.helperType=t.helperType),t.modeProps)for(var o in t.modeProps)i[o]=t.modeProps[o];return i}var Bt={};function Ht(e,t){var n=Bt.hasOwnProperty(e)?Bt[e]:Bt[e]={};z(t,n)}function Wt(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var i in t){var r=t[i];r instanceof Array&&(r=r.concat([])),n[i]=r}return n}function Ut(e,t){var n;while(e.innerMode){if(n=e.innerMode(t),!n||n.mode==e)break;t=n.state,e=n.mode}return n||{mode:e,state:t}}function Vt(e,t,n){return!e.startState||e.startState(t,n)}var Gt=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};Gt.prototype.eol=function(){return this.pos>=this.string.length},Gt.prototype.sol=function(){return this.pos==this.lineStart},Gt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Gt.prototype.next=function(){if(this.post},Gt.prototype.eatSpace=function(){var e=this,t=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos)))++e.pos;return this.pos>t},Gt.prototype.skipToEnd=function(){this.pos=this.string.length},Gt.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Gt.prototype.backUp=function(e){this.pos-=e},Gt.prototype.column=function(){return this.lastColumnPos0?null:(i&&!1!==t&&(this.pos+=i[0].length),i)}var r=function(e){return n?e.toLowerCase():e},a=this.string.substr(this.pos,e.length);if(r(a)==r(e))return!1!==t&&(this.pos+=e.length),!0},Gt.prototype.current=function(){return this.string.slice(this.start,this.pos)},Gt.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Gt.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Gt.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var Xt=function(e,t){this.state=e,this.lookAhead=t},Kt=function(e,t,n,i){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=i||0,this.baseTokens=null,this.baseTokenPos=1};function Yt(e,t,n,i){var r=[e.state.modeGen],a={};on(e,t.text,e.doc.mode,n,function(e,t){return r.push(e,t)},a,i);for(var o=n.state,s=function(i){n.baseTokens=r;var s=e.state.overlays[i],l=1,c=0;n.state=!0,on(e,t.text,s.mode,n,function(e,t){var n=l;while(ce&&r.splice(l,1,e,r[l+1],i),l+=2,c=Math.min(e,i)}if(t)if(s.opaque)r.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;ne.options.maxHighlightLength&&Wt(e.doc.mode,i.state),a=Yt(e,t,i);r&&(i.state=r),t.stateAfter=i.save(!r),t.styles=a.styles,a.classes?t.styleClasses=a.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Qt(e,t,n){var i=e.doc,r=e.display;if(!i.mode.startState)return new Kt(i,!0,t);var a=sn(e,t,n),o=a>i.first&&ce(i,a-1).stateAfter,s=o?Kt.fromSaved(i,o,a):new Kt(i,Vt(i.mode),a);return i.iter(a,t,function(n){Jt(e,n.text,s);var i=s.line;n.stateAfter=i==t-1||i%5==0||i>=r.viewFrom&&it.start)return a}throw new Error("Mode "+e.name+" failed to advance stream.")}Kt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},Kt.prototype.baseToken=function(e){var t=this;if(!this.baseTokens)return null;while(this.baseTokens[this.baseTokenPos]<=e)t.baseTokenPos+=2;var n=this.baseTokens[this.baseTokenPos+1];return{type:n&&n.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},Kt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Kt.fromSaved=function(e,t,n){return t instanceof Xt?new Kt(e,Wt(e.mode,t.state),n,t.lookAhead):new Kt(e,Wt(e.mode,t),n)},Kt.prototype.save=function(e){var t=!1!==e?Wt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Xt(t,this.maxLookAhead):t};var nn=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function rn(e,t,n,i){var r,a=e.doc,o=a.mode;t=Ce(a,t);var s,l=ce(a,t.line),c=Qt(e,t.line,n),u=new Gt(l.text,e.options.tabSize,c);i&&(s=[]);while((i||u.pose.options.maxHighlightLength?(s=!1,o&&Jt(e,t,i,d.pos),d.pos=t.length,l=null):l=an(tn(n,d,i.state,f),a),f){var p=f[0].name;p&&(l="m-"+(l?p+" "+l:p))}if(!s||u!=l){while(co;--s){if(s<=a.first)return a.first;var l=ce(a,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof Xt?c.lookAhead:0)<=a.modeFrontier))return s;var u=$(l.text,null,e.options.tabSize);(null==r||i>u)&&(r=s-1,i=u)}return r}function ln(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;i--){var r=ce(e,i).stateAfter;if(r&&(!(r instanceof Xt)||i+r.lookAhead1&&!/ /.test(e))return e;for(var n=t,i="",r=0;rc&&d.from<=c)break;if(d.to>=u)return e(n,i,r,a,o,s,l);e(n,i.slice(0,d.to-c),r,a,null,s,l),a=null,i=i.slice(d.to-c),c=d.to}}}function wn(e,t,n,i){var r=!i&&n.widgetNode;r&&e.map.push(e.pos,e.pos+t,r),!i&&e.cm.display.input.needsContentAttribute&&(r||(r=e.content.appendChild(document.createElement("span"))),r.setAttribute("cm-marker",n.id)),r&&(e.cm.display.input.setUneditable(r),e.content.appendChild(r)),e.pos+=t,e.trailingSpace=!1}function xn(e,t,n){var i=e.markedSpans,r=e.text,a=0;if(i)for(var o,s,l,c,u,d,f,p=r.length,h=0,m=1,g="",v=0;;){if(v==h){l=c=u=s="",f=null,d=null,v=1/0;for(var y=[],b=void 0,w=0;wh||k.collapsed&&x.to==h&&x.from==h)){if(null!=x.to&&x.to!=h&&v>x.to&&(v=x.to,c=""),k.className&&(l+=" "+k.className),k.css&&(s=(s?s+";":"")+k.css),k.startStyle&&x.from==h&&(u+=" "+k.startStyle),k.endStyle&&x.to==v&&(b||(b=[])).push(k.endStyle,x.to),k.title&&((f||(f={})).title=k.title),k.attributes)for(var _ in k.attributes)(f||(f={}))[_]=k.attributes[_];k.collapsed&&(!d||We(d.marker,k)<0)&&(d=x)}else x.from>h&&v>x.from&&(v=x.from)}if(b)for(var C=0;C=p)break;var T=Math.min(p,v);while(1){if(g){var M=h+g.length;if(!d){var E=M>T?g.slice(0,T-h):g;t.addToken(t,E,o?o+l:l,u,h+E.length==v?c:"",s,f)}if(M>=T){g=g.slice(T-h),h=T;break}h=M,u=""}g=r.slice(a,a=n[m++]),o=hn(n[m++],t.cm.options)}}else for(var A=1;A2&&a.push((l.bottom+c.top)/2-n.top)}}a.push(n.bottom-n.top)}}function Qn(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var i=0;in)return{map:e.measure.maps[r],cache:e.measure.caches[r],before:!0}}function Jn(e,t){t=Ye(t);var n=pe(t),i=e.display.externalMeasured=new kn(e.doc,t,n);i.lineN=n;var r=i.built=mn(e,i);return i.text=r.pre,E(e.display.lineMeasure,r.pre),i}function ei(e,t,n,i){return ii(e,ni(e,t),n,i)}function ti(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt)&&(a=l-s,r=a-1,t>=l&&(o="right")),null!=r){if(i=e[c+2],s==l&&n==(i.insertLeft?"left":"right")&&(o=n),"left"==n&&0==r)while(c&&e[c-2]==e[c-3]&&e[c-1].insertLeft)i=e[2+(c-=3)],o="left";if("right"==n&&r==l-s)while(c=0;r--)if((n=e[r]).left!=n.right)break;return n}function li(e,t,n,i){var r,a=oi(t.map,n,i),l=a.node,c=a.start,u=a.end,d=a.collapse;if(3==l.nodeType){for(var f=0;f<4;f++){while(c&&ae(t.line.text.charAt(a.coverStart+c)))--c;while(a.coverStart+u0&&(d=i="right"),r=e.options.lineWrapping&&(p=l.getClientRects()).length>1?p["right"==i?p.length-1:0]:l.getBoundingClientRect()}if(o&&s<9&&!c&&(!r||!r.left&&!r.right)){var h=l.parentNode.getClientRects()[0];r=h?{left:h.left,right:h.left+Li(e.display),top:h.top,bottom:h.bottom}:ai}for(var m=r.top-t.rect.top,g=r.bottom-t.rect.top,v=(m+g)/2,y=t.view.measure.heights,b=0;b=i.text.length?(l=i.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return o("before"==c?l-1:l,"before"==c);function u(e,t,n){var i=s[t],r=1==i.level;return o(n?e-1:e,r!=n)}var d=lt(s,l,c),f=st,p=u(l,d,"before"==c);return null!=f&&(p.other=u(l,f,"before"!=c)),p}function wi(e,t){var n=0;t=Ce(e.doc,t),e.options.lineWrapping||(n=Li(e.display)*t.ch);var i=ce(e.doc,t.line),r=it(i)+Un(e.display);return{left:n,right:n,top:r,bottom:r+i.height}}function xi(e,t,n,i,r){var a=ve(e,t,n);return a.xRel=r,i&&(a.outside=!0),a}function ki(e,t,n){var i=e.doc;if(n+=e.display.viewOffset,n<0)return xi(i.first,0,null,!0,-1);var r=he(i,n),a=i.first+i.size-1;if(r>a)return xi(i.first+i.size-1,ce(i,a).text.length,null,!0,1);t<0&&(t=0);for(var o=ce(i,r);;){var s=Ti(e,o,r,t,n),l=Xe(o,s.ch+(s.xRel>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==r)return c;o=ce(i,r=c.line)}}function _i(e,t,n,i){i-=mi(t);var r=t.text.length,a=se(function(t){return ii(e,n,t-1).bottom<=i},r,0);return r=se(function(t){return ii(e,n,t).top>i},a,r),{begin:a,end:r}}function Ci(e,t,n,i){n||(n=ni(e,t));var r=gi(e,t,ii(e,n,i),"line").top;return _i(e,t,n,r)}function Si(e,t,n,i){return!(e.bottom<=n)&&(e.top>n||(i?e.left:e.right)>t)}function Ti(e,t,n,i,r){r-=it(t);var a=ni(e,t),o=mi(t),s=0,l=t.text.length,c=!0,u=ut(t,e.doc.direction);if(u){var d=(e.options.lineWrapping?Ei:Mi)(e,t,n,a,u,i,r);c=1!=d.level,s=c?d.from:d.to-1,l=c?d.to:d.from-1}var f,p,h=null,m=null,g=se(function(t){var n=ii(e,a,t);return n.top+=o,n.bottom+=o,!!Si(n,i,r,!1)&&(n.top<=r&&n.left<=i&&(h=t,m=n),!0)},s,l),v=!1;if(m){var y=i-m.left=w.bottom}return g=oe(t.text,g,1),xi(n,g,p,v,i-f)}function Mi(e,t,n,i,r,a,o){var s=se(function(s){var l=r[s],c=1!=l.level;return Si(bi(e,ve(n,c?l.to:l.from,c?"before":"after"),"line",t,i),a,o,!0)},0,r.length-1),l=r[s];if(s>0){var c=1!=l.level,u=bi(e,ve(n,c?l.from:l.to,c?"after":"before"),"line",t,i);Si(u,a,o,!0)&&u.top>o&&(l=r[s-1])}return l}function Ei(e,t,n,i,r,a,o){var s=_i(e,t,i,o),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,d=null,f=0;f=c||p.to<=l)){var h=1!=p.level,m=ii(e,i,h?Math.min(c,p.to)-1:Math.max(l,p.from)).right,g=mg)&&(u=p,d=g)}}return u||(u=r[r.length-1]),u.fromc&&(u={from:u.from,to:c,level:u.level}),u}function Ai(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==ri){ri=A("pre");for(var t=0;t<49;++t)ri.appendChild(document.createTextNode("x")),ri.appendChild(A("br"));ri.appendChild(document.createTextNode("x"))}E(e.measure,ri);var n=ri.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),M(e.measure),n||1}function Li(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=A("span","xxxxxxxxxx"),n=A("pre",[t]);E(e.measure,n);var i=t.getBoundingClientRect(),r=(i.right-i.left)/10;return r>2&&(e.cachedCharWidth=r),r||10}function Ni(e){for(var t=e.display,n={},i={},r=t.gutters.clientLeft,a=t.gutters.firstChild,o=0;a;a=a.nextSibling,++o)n[e.options.gutters[o]]=a.offsetLeft+a.clientLeft+r,i[e.options.gutters[o]]=a.clientWidth;return{fixedPos:Di(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:i,wrapperWidth:t.wrapper.clientWidth}}function Di(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Oi(e){var t=Ai(e.display),n=e.options.lineWrapping,i=n&&Math.max(5,e.display.scroller.clientWidth/Li(e.display)-3);return function(r){if(tt(e.doc,r))return 0;var a=0;if(r.widgets)for(var o=0;o=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var n=e.display.view,i=0;i=e.display.viewTo||s.to().line0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Hi(e){e.state.focused||(e.display.input.focus(),Ui(e))}function Wi(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Vi(e))},100)}function Ui(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(mt(e,"focus",e,t),e.state.focused=!0,O(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Bi(e))}function Vi(e,t){e.state.delayingBlurEvent||(e.state.focused&&(mt(e,"blur",e,t),e.state.focused=!1,T(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function Gi(e){for(var t=e.display,n=t.lineDiv.offsetTop,i=0;i.005||f<-.005)&&(fe(r.line,l),Xi(r.line),r.rest))for(var p=0;pe.display.sizerWidth){var h=Math.ceil(c/Li(e.display));h>e.display.maxLineLength&&(e.display.maxLineLength=h,e.display.maxLine=r.line,e.display.maxLineChanged=!0)}}}}function Xi(e){if(e.widgets)for(var t=0;t=o&&(a=he(t,it(ce(t,l))-e.wrapper.clientHeight),o=l)}return{from:a,to:Math.max(o,a+1)}}function Yi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var i=Di(t)-t.scroller.scrollLeft+e.doc.scrollLeft,r=t.gutters.offsetWidth,a=i+"px",o=0;o(window.innerHeight||document.documentElement.clientHeight)&&(r=!1),null!=r&&!h){var a=A("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Un(e.display))+"px;\n height: "+(t.bottom-t.top+Xn(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(a),a.scrollIntoView(r),e.display.lineSpace.removeChild(a)}}}function Ji(e,t,n,i){var r;null==i&&(i=0),e.options.lineWrapping||t!=n||(t=t.ch?ve(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t,n="before"==t.sticky?ve(t.line,t.ch+1,"before"):t);for(var a=0;a<5;a++){var o=!1,s=bi(e,t),l=n&&n!=t?bi(e,n):s;r={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-i,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+i};var c=tr(e,r),u=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=c.scrollTop&&(lr(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(o=!0)),null!=c.scrollLeft&&(ur(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(o=!0)),!o)break}return r}function er(e,t){var n=tr(e,t);null!=n.scrollTop&&lr(e,n.scrollTop),null!=n.scrollLeft&&ur(e,n.scrollLeft)}function tr(e,t){var n=e.display,i=Ai(e.display);t.top<0&&(t.top=0);var r=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,a=Yn(e),o={};t.bottom-t.top>a&&(t.bottom=t.top+a);var s=e.doc.height+Vn(n),l=t.tops-i;if(t.topr+a){var u=Math.min(t.top,(c?s:t.bottom)-a);u!=r&&(o.scrollTop=u)}var d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,f=Kn(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),p=t.right-t.left>f;return p&&(t.right=t.left+f),t.left<10?o.scrollLeft=0:t.leftf+d-3&&(o.scrollLeft=t.right+(p?0:10)-f),o}function nr(e,t){null!=t&&(or(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function ir(e){or(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function rr(e,t,n){null==t&&null==n||or(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function ar(e,t){or(e),e.curOp.scrollToPos=t}function or(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=wi(e,t.from),i=wi(e,t.to);sr(e,n,i,t.margin)}}function sr(e,t,n,i){var r=tr(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-i,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+i});rr(e,r.scrollLeft,r.scrollTop)}function lr(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||Ur(e,{top:t}),cr(e,t,!0),n&&Ur(e),zr(e,100))}function cr(e,t,n){t=Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function ur(e,t,n,i){t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!i||(e.doc.scrollLeft=t,Yi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function dr(e){var t=e.display,n=t.gutters.offsetWidth,i=Math.round(e.doc.height+Vn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:i,scrollHeight:i+Xn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var fr=function(e,t,n){this.cm=n;var i=this.vert=A("div",[A("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),r=this.horiz=A("div",[A("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");i.tabIndex=r.tabIndex=-1,e(i),e(r),ft(i,"scroll",function(){i.clientHeight&&t(i.scrollTop,"vertical")}),ft(r,"scroll",function(){r.clientWidth&&t(r.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,o&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};fr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,i=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?i+"px":"0";var r=e.viewHeight-(t?i:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+r)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?i+"px":"0",this.horiz.style.left=e.barLeft+"px";var a=e.viewWidth-e.barLeft-(n?i:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+a)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==i&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?i:0,bottom:t?i:0}},fr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},fr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},fr.prototype.zeroWidthHack=function(){var e=y&&!p?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new j,this.disableVert=new j},fr.prototype.enableZeroWidthBar=function(e,t,n){function i(){var r=e.getBoundingClientRect(),a="vert"==n?document.elementFromPoint(r.right-1,(r.top+r.bottom)/2):document.elementFromPoint((r.right+r.left)/2,r.bottom-1);a!=e?e.style.pointerEvents="none":t.set(1e3,i)}e.style.pointerEvents="auto",t.set(1e3,i)},fr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var pr=function(){};function hr(e,t){t||(t=dr(e));var n=e.display.barWidth,i=e.display.barHeight;mr(e,t);for(var r=0;r<4&&n!=e.display.barWidth||i!=e.display.barHeight;r++)n!=e.display.barWidth&&e.options.lineWrapping&&Gi(e),mr(e,dr(e)),n=e.display.barWidth,i=e.display.barHeight}function mr(e,t){var n=e.display,i=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=i.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=i.bottom)+"px",n.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=i.bottom+"px",n.scrollbarFiller.style.width=i.right+"px"):n.scrollbarFiller.style.display="",i.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=i.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}pr.prototype.update=function(){return{bottom:0,right:0}},pr.prototype.setScrollLeft=function(){},pr.prototype.setScrollTop=function(){},pr.prototype.clear=function(){};var gr={native:fr,null:pr};function vr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&T(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new gr[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),ft(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){"horizontal"==n?ur(e,t):lr(e,t)},e),e.display.scrollbars.addClass&&O(e.display.wrapper,e.display.scrollbars.addClass)}var yr=0;function br(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++yr},Sn(e.curOp)}function wr(e){var t=e.curOp;t&&Mn(t,function(e){for(var t=0;t=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new jr(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function _r(e){e.updatedDisplay=e.mustUpdate&&Hr(e.cm,e.update)}function Cr(e){var t=e.cm,n=t.display;e.updatedDisplay&&Gi(t),e.barMeasure=dr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=ei(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Xn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Kn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Sr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeftt)&&(r.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=r.viewTo)Ee&&Je(e.doc,t)r.viewFrom?Or(e):(r.viewFrom+=i,r.viewTo+=i);else if(t<=r.viewFrom&&n>=r.viewTo)Or(e);else if(t<=r.viewFrom){var a=Pr(e,n,n+i,1);a?(r.view=r.view.slice(a.index),r.viewFrom=a.lineN,r.viewTo+=i):Or(e)}else if(n>=r.viewTo){var o=Pr(e,t,t,-1);o?(r.view=r.view.slice(0,o.index),r.viewTo=o.lineN):Or(e)}else{var s=Pr(e,t,t,-1),l=Pr(e,n,n+i,1);s&&l?(r.view=r.view.slice(0,s.index).concat(_n(e,s.lineN,l.lineN)).concat(r.view.slice(l.index)),r.viewTo+=i):Or(e)}var c=r.externalMeasured;c&&(n=r.lineN&&t=i.viewTo)){var a=i.view[Fi(e,t)];if(null!=a.node){var o=a.changes||(a.changes=[]);-1==R(o,n)&&o.push(n)}}}function Or(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Pr(e,t,n,i){var r,a=Fi(e,t),o=e.display.view;if(!Ee||n==e.doc.first+e.doc.size)return{index:a,lineN:n};for(var s=e.display.viewFrom,l=0;l0){if(a==o.length-1)return null;r=s+o[a].size-t,a++}else r=s-t;t+=r,n+=r}while(Je(e.doc,n)!=n){if(a==(i<0?0:o.length-1))return null;n+=i*o[a-(i<0?1:0)].size,a+=i}return{index:a,lineN:n}}function Ir(e,t,n){var i=e.display,r=i.view;0==r.length||t>=i.viewTo||n<=i.viewFrom?(i.view=_n(e,t,n),i.viewFrom=t):(i.viewFrom>t?i.view=_n(e,t,i.viewFrom).concat(i.view):i.viewFromn&&(i.view=i.view.slice(0,Fi(e,n)))),i.viewTo=n}function Fr(e){for(var t=e.display.view,n=0,i=0;i=e.display.viewTo)){var n=+new Date+e.options.workTime,i=Qt(e,t.highlightFrontier),r=[];t.iter(i.line,Math.min(t.first+t.size,e.display.viewTo+500),function(a){if(i.line>=e.display.viewFrom){var o=a.styles,s=a.text.length>e.options.maxHighlightLength?Wt(t.mode,i.state):null,l=Yt(e,a,i,!0);s&&(i.state=s),a.styles=l.styles;var c=a.styleClasses,u=l.classes;u?a.styleClasses=u:c&&(a.styleClasses=null);for(var d=!o||o.length!=a.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),f=0;!d&&fn)return zr(e,e.options.workDelay),!0}),t.highlightFrontier=i.line,t.modeFrontier=Math.max(t.modeFrontier,i.line),r.length&&Mr(e,function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==Fr(e))return!1;Zi(e)&&(Or(e),t.dims=Ni(e));var r=i.first+i.size,a=Math.max(t.visible.from-e.options.viewportMargin,i.first),o=Math.min(r,t.visible.to+e.options.viewportMargin);n.viewFromo&&n.viewTo-o<20&&(o=Math.min(r,n.viewTo)),Ee&&(a=Je(e.doc,a),o=et(e.doc,o));var s=a!=n.viewFrom||o!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;Ir(e,a,o),n.viewOffset=it(ce(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=Fr(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=qr(e);return l>4&&(n.lineDiv.style.display="none"),Vr(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Br(c),M(n.cursorDiv),M(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,zr(e,400)),n.updateLineNumbers=null,!0}function Wr(e,t){for(var n=t.viewport,i=!0;;i=!1){if((!i||!e.options.lineWrapping||t.oldDisplayWidth==Kn(e))&&(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Vn(e.display)-Yn(e),n.top)}),t.visible=Ki(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo))break;if(!Hr(e,t))break;Gi(e);var r=dr(e);zi(e),hr(e,r),Xr(e,r),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Ur(e,t){var n=new jr(e,t);if(Hr(e,n)){Gi(e),Wr(e,n);var i=dr(e);zi(e),hr(e,i),Xr(e,i),n.finish()}}function Vr(e,t,n){var i=e.display,r=e.options.lineNumbers,a=i.lineDiv,o=a.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=i.view,u=i.viewFrom,d=0;d-1&&(p=!1),Nn(e,f,u,n)),p&&(M(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(ge(e.options,u)))),o=f.node.nextSibling}else{var h=jn(e,f,u,n);a.insertBefore(h,o)}u+=f.size}while(o)o=s(o)}function Gr(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function Xr(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Xn(e)+"px"}function Kr(e){var t=e.display.gutters,n=e.options.gutters;M(t);for(var i=0;i-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}jr.prototype.signal=function(e,t){yt(e,t)&&this.events.push(arguments)},jr.prototype.finish=function(){for(var e=this,t=0;ts.clientWidth,u=s.scrollHeight>s.clientHeight;if(r&&c||a&&u){if(a&&y&&l)e:for(var f=t.target,p=o.view;f!=s;f=f.parentNode)for(var h=0;h=0&&ye(e,r.to())<=0)return i}return-1};var ia=function(e,t){this.anchor=e,this.head=t};function ra(e,t,n){var i=e&&e.options.selectionsMayTouch,r=t[n];t.sort(function(e,t){return ye(e.from(),t.from())}),n=R(t,r);for(var a=1;a0:l>=0){var c=ke(s.from(),o.from()),u=xe(s.to(),o.to()),d=s.empty()?o.from()==o.head:s.from()==s.head;a<=n&&--n,t.splice(--a,2,new ia(d?u:c,d?c:u))}}return new na(t,n)}function aa(e,t){return new na([new ia(e,t||e)],0)}function oa(e){return e.text?ve(e.from.line+e.text.length-1,K(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function sa(e,t){if(ye(e,t.from)<0)return e;if(ye(e,t.to)<=0)return oa(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,i=e.ch;return e.line==t.to.line&&(i+=oa(t).ch-t.to.ch),ve(n,i)}function la(e,t){for(var n=[],i=0;i1&&e.remove(s.line+1,h-1),e.insert(s.line+1,v)}An(e,"change",e,t)}function ma(e,t,n){function i(e,r,a){if(e.linked)for(var o=0;o1&&!e.done[e.done.length-2].ranges?(e.done.pop(),K(e.done)):void 0}function _a(e,t,n,i){var r=e.history;r.undone.length=0;var a,o,s=+new Date;if((r.lastOp==i||r.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&r.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(a=ka(r,r.lastOp==i)))o=K(a.changes),0==ye(t.from,t.to)&&0==ye(t.from,o.to)?o.to=oa(t):a.changes.push(wa(e,t));else{var l=K(r.done);l&&l.ranges||Ta(e.sel,r.done),a={changes:[wa(e,t)],generation:r.generation},r.done.push(a);while(r.done.length>r.undoDepth)r.done.shift(),r.done[0].ranges||r.done.shift()}r.done.push(n),r.generation=++r.maxGeneration,r.lastModTime=r.lastSelTime=s,r.lastOp=r.lastSelOp=i,r.lastOrigin=r.lastSelOrigin=t.origin,o||mt(e,"historyAdded")}function Ca(e,t,n,i){var r=t.charAt(0);return"*"==r||"+"==r&&n.ranges.length==i.ranges.length&&n.somethingSelected()==i.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Sa(e,t,n,i){var r=e.history,a=i&&i.origin;n==r.lastSelOp||a&&r.lastSelOrigin==a&&(r.lastModTime==r.lastSelTime&&r.lastOrigin==a||Ca(e,a,K(r.done),t))?r.done[r.done.length-1]=t:Ta(t,r.done),r.lastSelTime=+new Date,r.lastSelOrigin=a,r.lastSelOp=n,i&&!1!==i.clearRedo&&xa(r.undone)}function Ta(e,t){var n=K(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Ma(e,t,n,i){var r=t["spans_"+e.id],a=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,i),function(n){n.markedSpans&&((r||(r=t["spans_"+e.id]={}))[a]=n.markedSpans),++a})}function Ea(e){if(!e)return null;for(var t,n=0;n-1&&(K(s)[d]=c[d],delete c[d])}}}return i}function Da(e,t,n,i){if(i){var r=e.anchor;if(n){var a=ye(t,r)<0;a!=ye(n,r)<0?(r=t,t=n):a!=ye(t,n)<0&&(t=n)}return new ia(r,t)}return new ia(n||t,t)}function Oa(e,t,n,i,r){null==r&&(r=e.cm&&(e.cm.display.shift||e.extend)),ja(e,new na([Da(e.sel.primary(),t,n,r)],0),i)}function Pa(e,t,n){for(var i=[],r=e.cm&&(e.cm.display.shift||e.extend),a=0;a=t.ch:s.to>t.ch))){if(r&&(mt(l,"beforeCursorEnter"),l.explicitlyCleared)){if(a.markedSpans){--o;continue}break}if(!l.atomic)continue;if(n){var c=l.find(i<0?1:-1),u=void 0;if((i<0?l.inclusiveRight:l.inclusiveLeft)&&(c=Va(e,c,-i,c&&c.line==t.line?a:null)),c&&c.line==t.line&&(u=ye(c,n))&&(i<0?u<0:u>0))return Wa(e,c,t,i,r)}var d=l.find(i<0?-1:1);return(i<0?l.inclusiveLeft:l.inclusiveRight)&&(d=Va(e,d,i,d.line==t.line?a:null)),d?Wa(e,d,t,i,r):null}}return t}function Ua(e,t,n,i,r){var a=i||1,o=Wa(e,t,n,a,r)||!r&&Wa(e,t,n,a,!0)||Wa(e,t,n,-a,r)||!r&&Wa(e,t,n,-a,!0);return o||(e.cantEdit=!0,ve(e.first,0))}function Va(e,t,n,i){return n<0&&0==t.ch?t.line>e.first?Ce(e,ve(t.line-1)):null:n>0&&t.ch==(i||ce(e,t.line)).text.length?t.line=0;--r)Ya(e,{from:i[r].from,to:i[r].to,text:r?[""]:t.text,origin:t.origin});else Ya(e,t)}}function Ya(e,t){if(1!=t.text.length||""!=t.text[0]||0!=ye(t.from,t.to)){var n=la(e,t);_a(e,t,n,e.cm?e.cm.curOp.id:NaN),Ja(e,t,n,ze(e,t));var i=[];ma(e,function(e,n){n||-1!=R(i,e.history)||(ro(e.history,t),i.push(e.history)),Ja(e,t,null,ze(e,t))})}}function Za(e,t,n){var i=e.cm&&e.cm.state.suppressEdits;if(!i||n){for(var r,a=e.history,o=e.sel,s="undo"==t?a.done:a.undone,l="undo"==t?a.undone:a.done,c=0;c=0;--p){var h=f(p);if(h)return h.v}}}}function Qa(e,t){if(0!=t&&(e.first+=t,e.sel=new na(Y(e.sel.ranges,function(e){return new ia(ve(e.anchor.line+t,e.anchor.ch),ve(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){Nr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,i=n.viewFrom;ie.lastLine())){if(t.from.linea&&(t={from:t.from,to:ve(a,ce(e,a).text.length),text:[t.text[0]],origin:t.origin}),t.removed=ue(e,t.from,t.to),n||(n=la(e,t)),e.cm?eo(e.cm,t,i):ha(e,t,i),Ra(e,n,H)}}function eo(e,t,n){var i=e.doc,r=e.display,a=t.from,o=t.to,s=!1,l=a.line;e.options.lineWrapping||(l=pe(Ye(ce(i,a.line))),i.iter(l,o.line+1,function(e){if(e==r.maxLine)return s=!0,!0})),i.sel.contains(t.from,t.to)>-1&&vt(e),ha(i,t,n,Oi(e)),e.options.lineWrapping||(i.iter(l,a.line+t.text.length,function(e){var t=rt(e);t>r.maxLineLength&&(r.maxLine=e,r.maxLineLength=t,r.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0)),ln(i,a.line),zr(e,400);var c=t.text.length-(o.line-a.line)-1;t.full?Nr(e):a.line!=o.line||1!=t.text.length||pa(e.doc,t)?Nr(e,a.line,o.line+1,c):Dr(e,a.line,"text");var u=yt(e,"changes"),d=yt(e,"change");if(d||u){var f={from:a,to:o,text:t.text,removed:t.removed,origin:t.origin};d&&An(e,"change",e,f),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(f)}e.display.selForContextMenu=null}function to(e,t,n,i,r){var a;i||(i=n),ye(i,n)<0&&(a=[i,n],n=a[0],i=a[1]),"string"==typeof t&&(t=e.splitLines(t)),Ka(e,{from:n,to:i,text:t,origin:r})}function no(e,t,n,i){n1||!(this.children[0]instanceof oo))){var l=[];this.collapse(l),this.children=[new oo(l)],this.children[0].parent=this}},collapse:function(e){for(var t=this,n=0;n50){for(var s=a.lines.length%25+25,l=s;l10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var i=this,r=0;r0||0==o&&!1!==a.clearWhenEmpty)return a;if(a.replacedWith&&(a.collapsed=!0,a.widgetNode=L("span",[a.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||a.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(a.widgetNode.insertLeft=!0)),a.collapsed){if(Ke(e,t.line,t,n,a)||t.line!=n.line&&Ke(e,n.line,t,n,a))throw new Error("Inserting collapsed marker partially overlapping an existing one");Le()}a.addToHistory&&_a(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,function(e){c&&a.collapsed&&!c.options.lineWrapping&&Ye(e)==c.display.maxLine&&(s=!0),a.collapsed&&l!=t.line&&fe(e,0),Pe(e,new Ne(a,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l}),a.collapsed&&e.iter(t.line,n.line+1,function(t){tt(e,t)&&fe(t,0)}),a.clearOnEnter&&ft(a,"beforeCursorEnter",function(){return a.clear()}),a.readOnly&&(Ae(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),a.collapsed&&(a.id=++fo,a.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),a.collapsed)Nr(c,t.line,n.line+1);else if(a.className||a.startStyle||a.endStyle||a.css||a.attributes||a.title)for(var u=t.line;u<=n.line;u++)Dr(c,u,"text");a.atomic&&Ba(c.doc),An(c,"markerAdded",c,a)}return a}po.prototype.clear=function(){var e=this;if(!this.explicitlyCleared){var t=this.doc.cm,n=t&&!t.curOp;if(n&&br(t),yt(this,"clear")){var i=this.find();i&&An(this,"clear",i.from,i.to)}for(var r=null,a=null,o=0;ot.display.maxLineLength&&(t.display.maxLine=u,t.display.maxLineLength=d,t.display.maxLineChanged=!0)}null!=r&&t&&this.collapsed&&Nr(t,r,a+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&Ba(t.doc)),t&&An(t,"markerCleared",t,this,r,a),n&&wr(t),this.parent&&this.parent.clear()}},po.prototype.find=function(e,t){var n,i,r=this;null==e&&"bookmark"==this.type&&(e=1);for(var a=0;a=0;c--)Ka(i,r[c]);l?$a(this,l):this.cm&&ir(this.cm)}),undo:Lr(function(){Za(this,"undo")}),redo:Lr(function(){Za(this,"redo")}),undoSelection:Lr(function(){Za(this,"undo",!0)}),redoSelection:Lr(function(){Za(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,i=0;i=e.ch)&&t.push(r.marker.parent||r.marker)}return t},findMarks:function(e,t,n){e=Ce(this,e),t=Ce(this,t);var i=[],r=e.line;return this.iter(e.line,t.line+1,function(a){var o=a.markedSpans;if(o)for(var s=0;s=l.to||null==l.from&&r!=e.line||null!=l.from&&r==t.line&&l.from>=t.ch||n&&!n(l.marker)||i.push(l.marker.parent||l.marker)}++r}),i},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var i=0;ie)return t=e,!0;e-=a,++n}),Ce(this,ve(n,t))},indexFromPos:function(e){e=Ce(this,e);var t=e.ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var u=e.dataTransfer.getData("Text");if(u){var d;if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),Ra(t.doc,aa(n,n)),d)for(var f=0;f=0;t--)to(e.doc,"",i[t].from,i[t].to,"+delete");ir(e)})}function Uo(e,t,n){var i=oe(e.text,t+n,n);return i<0||i>e.text.length?null:i}function Vo(e,t,n){var i=Uo(e,t.ch,n);return null==i?null:new ve(t.line,i,n<0?"after":"before")}function Go(e,t,n,i,r){if(e){var a=ut(n,t.doc.direction);if(a){var o,s=r<0?K(a):a[0],l=r<0==(1==s.level),c=l?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var u=ni(t,n);o=r<0?n.text.length-1:0;var d=ii(t,u,o).top;o=se(function(e){return ii(t,u,e).top==d},r<0==(1==s.level)?s.from:s.to-1,o),"before"==c&&(o=Uo(n,o,1))}else o=r<0?s.to:s.from;return new ve(i,o,c)}}return new ve(i,r<0?n.text.length:0,r<0?"before":"after")}function Xo(e,t,n,i){var r=ut(t,e.doc.direction);if(!r)return Vo(t,n,i);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var a=lt(r,n.ch,n.sticky),o=r[a];if("ltr"==e.doc.direction&&o.level%2==0&&(i>0?o.to>n.ch:o.from=o.from&&f>=u.begin)){var p=d?"before":"after";return new ve(n.line,f,p)}}var h=function(e,t,i){for(var a=function(e,t){return t?new ve(n.line,l(e,1),"before"):new ve(n.line,e,"after")};e>=0&&e0==(1!=o.level),c=s?i.begin:l(i.end,-1);if(o.from<=c&&c0?u.end:l(u.begin,-1);return null==g||i>0&&g==t.text.length||(m=h(i>0?0:r.length-1,i,c(g)),!m)?null:m}Fo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Fo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Fo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Fo.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Fo["default"]=y?Fo.macDefault:Fo.pcDefault;var Ko={selectAll:Ga,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),H)},killLine:function(e){return Wo(e,function(t){if(t.empty()){var n=ce(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)r=new ve(r.line,r.ch+1),e.replaceRange(a.charAt(r.ch-1)+a.charAt(r.ch-2),ve(r.line,r.ch-2),r,"+transpose");else if(r.line>e.doc.first){var o=ce(e.doc,r.line-1).text;o&&(r=new ve(r.line,1),e.replaceRange(a.charAt(0)+e.doc.lineSeparator()+o.charAt(o.length-1),ve(r.line-1,o.length-1),r,"+transpose"))}n.push(new ia(r,r))}e.setSelections(n)})},newlineAndIndent:function(e){return Mr(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var i=0;i-1&&(ye((r=s.ranges[r]).from(),t)<0||t.xRel>0)&&(ye(r.to(),t)>0||t.xRel<0)?ws(e,i,t,a):ks(e,i,t,a)}function ws(e,t,n,i){var r=e.display,a=!1,c=Er(e,function(t){l&&(r.scroller.draggable=!1),e.state.draggingText=!1,ht(r.wrapper.ownerDocument,"mouseup",c),ht(r.wrapper.ownerDocument,"mousemove",u),ht(r.scroller,"dragstart",d),ht(r.scroller,"drop",c),a||(wt(t),i.addNew||Oa(e.doc,n,null,null,i.extend),l||o&&9==s?setTimeout(function(){r.wrapper.ownerDocument.body.focus(),r.input.focus()},20):r.input.focus())}),u=function(e){a=a||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},d=function(){return a=!0};l&&(r.scroller.draggable=!0),e.state.draggingText=c,c.copy=!i.moveOnDrag,r.scroller.dragDrop&&r.scroller.dragDrop(),ft(r.wrapper.ownerDocument,"mouseup",c),ft(r.wrapper.ownerDocument,"mousemove",u),ft(r.scroller,"dragstart",d),ft(r.scroller,"drop",c),Wi(e),setTimeout(function(){return r.input.focus()},20)}function xs(e,t,n){if("char"==n)return new ia(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new ia(ve(t.line,0),Ce(e.doc,ve(t.line+1,0)));var i=n(e,t);return new ia(i.from,i.to)}function ks(e,t,n,i){var r=e.display,a=e.doc;wt(t);var o,s,l=a.sel,c=l.ranges;if(i.addNew&&!i.extend?(s=a.sel.contains(n),o=s>-1?c[s]:new ia(n,n)):(o=a.sel.primary(),s=a.sel.primIndex),"rectangle"==i.unit)i.addNew||(o=new ia(n,n)),n=Ii(e,t,!0,!0),s=-1;else{var u=xs(e,n,i.unit);o=i.extend?Da(o,u.anchor,u.head,i.extend):u}i.addNew?-1==s?(s=c.length,ja(a,ra(e,c.concat([o]),s),{scroll:!1,origin:"*mouse"})):c.length>1&&c[s].empty()&&"char"==i.unit&&!i.extend?(ja(a,ra(e,c.slice(0,s).concat(c.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),l=a.sel):Ia(a,s,o,W):(s=0,ja(a,new na([o],0),W),l=a.sel);var d=n;function f(t){if(0!=ye(d,t))if(d=t,"rectangle"==i.unit){for(var r=[],c=e.options.tabSize,u=$(ce(a,n.line).text,n.ch,c),f=$(ce(a,t.line).text,t.ch,c),p=Math.min(u,f),h=Math.max(u,f),m=Math.min(n.line,t.line),g=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=g;m++){var v=ce(a,m).text,y=V(v,p,c);p==h?r.push(new ia(ve(m,y),ve(m,y))):v.length>y&&r.push(new ia(ve(m,y),ve(m,V(v,h,c))))}r.length||r.push(new ia(n,n)),ja(a,ra(e,l.ranges.slice(0,s).concat(r),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,w=o,x=xs(e,t,i.unit),k=w.anchor;ye(x.anchor,k)>0?(b=x.head,k=ke(w.from(),x.anchor)):(b=x.anchor,k=xe(w.to(),x.head));var _=l.ranges.slice(0);_[s]=_s(e,new ia(Ce(a,k),b)),ja(a,ra(e,_,s),W)}}var p=r.wrapper.getBoundingClientRect(),h=0;function m(t){var n=++h,o=Ii(e,t,!0,"rectangle"==i.unit);if(o)if(0!=ye(o,d)){e.curOp.focus=D(),f(o);var s=Ki(r,a);(o.line>=s.to||o.linep.bottom?20:0;l&&setTimeout(Er(e,function(){h==n&&(r.scroller.scrollTop+=l,m(t))}),50)}}function g(t){e.state.selectingText=!1,h=1/0,wt(t),r.input.focus(),ht(r.wrapper.ownerDocument,"mousemove",v),ht(r.wrapper.ownerDocument,"mouseup",y),a.history.lastSelOrigin=null}var v=Er(e,function(e){0!==e.buttons&&St(e)?m(e):g(e)}),y=Er(e,g);e.state.selectingText=y,ft(r.wrapper.ownerDocument,"mousemove",v),ft(r.wrapper.ownerDocument,"mouseup",y)}function _s(e,t){var n=t.anchor,i=t.head,r=ce(e.doc,n.line);if(0==ye(n,i)&&n.sticky==i.sticky)return t;var a=ut(r);if(!a)return t;var o=lt(a,n.ch,n.sticky),s=a[o];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=o+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==a.length)return t;if(i.line!=n.line)l=(i.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=lt(a,i.ch,i.sticky),d=u-o||(i.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?d<0:d>0}var f=a[c+(l?-1:0)],p=l==(1==f.level),h=p?f.from:f.to,m=p?"after":"before";return n.ch==h&&n.sticky==m?t:new ia(new ve(n.line,h,m),i)}function Cs(e,t,n,i){var r,a;if(t.touches)r=t.touches[0].clientX,a=t.touches[0].clientY;else try{r=t.clientX,a=t.clientY}catch(t){return!1}if(r>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;i&&wt(t);var o=e.display,s=o.lineDiv.getBoundingClientRect();if(a>s.bottom||!yt(e,n))return kt(t);a-=s.top-o.viewOffset;for(var l=0;l=r){var u=he(e.doc,a),d=e.options.gutters[l];return mt(e,n,e,u,d,t),kt(t)}}}function Ss(e,t){return Cs(e,t,"gutterClick",!0)}function Ts(e,t){Wn(e.display,t)||Ms(e,t)||gt(e,t,"contextmenu")||_||e.display.input.onContextMenu(t)}function Ms(e,t){return!!yt(e,"gutterContextMenu")&&Cs(e,t,"gutterContextMenu",!1)}function Es(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),fi(e)}hs.prototype.compare=function(e,t,n){return this.time+ps>e&&0==ye(t,this.pos)&&n==this.button};var As={toString:function(){return"CodeMirror.Init"}},Ls={},Ns={};function Ds(e){var t=e.optionHandlers;function n(n,i,r,a){e.defaults[n]=i,r&&(t[n]=a?function(e,t,n){n!=As&&r(e,t,n)}:r)}e.defineOption=n,e.Init=As,n("value","",function(e,t){return e.setValue(t)},!0),n("mode",null,function(e,t){e.doc.modeOption=t,da(e)},!0),n("indentUnit",2,da,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,function(e){fa(e),fi(e),Nr(e)},!0),n("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],i=e.doc.first;e.doc.iter(function(e){for(var r=0;;){var a=e.text.indexOf(t,r);if(-1==a)break;r=a+t.length,n.push(ve(i,a))}i++});for(var r=n.length-1;r>=0;r--)to(e.doc,t,n[r],ve(n[r].line,n[r].ch+t.length))}}),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=As&&e.refresh()}),n("specialCharPlaceholder",gn,function(e){return e.refresh()},!0),n("electricChars",!0),n("inputStyle",v?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),n("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),n("autocorrect",!1,function(e,t){return e.getInputField().autocorrect=t},!0),n("autocapitalize",!1,function(e,t){return e.getInputField().autocapitalize=t},!0),n("rtlMoveVisually",!w),n("wholeLineUpdateBefore",!0),n("theme","default",function(e){Es(e),Os(e)},!0),n("keyMap","default",function(e,t,n){var i=Ho(t),r=n!=As&&Ho(n);r&&r.detach&&r.detach(e,i),i.attach&&i.attach(e,r||null)}),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Is,!0),n("gutters",[],function(e){Yr(e.options),Os(e)},!0),n("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?Di(e.display)+"px":"0",e.refresh()},!0),n("coverGutterNextToScrollbar",!1,function(e){return hr(e)},!0),n("scrollbarStyle","native",function(e){vr(e),hr(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),n("lineNumbers",!1,function(e){Yr(e.options),Os(e)},!0),n("firstLineNumber",1,Os,!0),n("lineNumberFormatter",function(e){return e},Os,!0),n("showCursorWhenSelecting",!1,zi,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,function(e,t){"nocursor"==t&&(Vi(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),n("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),n("dragDrop",!0,Ps),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,zi,!0),n("singleCursorHeightPerLine",!0,zi,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,fa,!0),n("addModeClass",!1,fa,!0),n("pollInterval",100),n("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),n("historyEventDelay",1250),n("viewportMargin",10,function(e){return e.refresh()},!0),n("maxHighlightLength",1e4,fa,!0),n("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),n("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),n("autofocus",null),n("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0),n("phrases",null)}function Os(e){Kr(e),Nr(e),Yi(e)}function Ps(e,t,n){var i=n&&n!=As;if(!t!=!i){var r=e.display.dragFunctions,a=t?ft:ht;a(e.display.scroller,"dragstart",r.start),a(e.display.scroller,"dragenter",r.enter),a(e.display.scroller,"dragover",r.over),a(e.display.scroller,"dragleave",r.leave),a(e.display.scroller,"drop",r.drop)}}function Is(e){e.options.lineWrapping?(O(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(T(e.display.wrapper,"CodeMirror-wrap"),at(e)),Pi(e),Nr(e),fi(e),setTimeout(function(){return hr(e)},100)}function Fs(e,t){var n=this;if(!(this instanceof Fs))return new Fs(e,t);this.options=t=t?z(t):{},z(Ls,t,!1),Yr(t);var i=t.value;"string"==typeof i?i=new xo(i,t.mode,null,t.lineSeparator,t.direction):t.mode&&(i.modeOption=t.mode),this.doc=i;var r=new Fs.inputStyles[t.inputStyle](this),a=this.display=new le(e,i,r);for(var c in a.wrapper.CodeMirror=this,Kr(this),Es(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),vr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new j,keySeq:null,specialChars:null},t.autofocus&&!v&&a.input.focus(),o&&s<11&&setTimeout(function(){return n.display.input.reset(!0)},20),zs(this),Ao(),br(this),this.curOp.forceUpdate=!0,ga(this,i),t.autofocus&&!v||this.hasFocus()?setTimeout(F(Ui,this),20):Vi(this),Ns)Ns.hasOwnProperty(c)&&Ns[c](n,t[c],As);Zi(this),t.finishInit&&t.finishInit(this);for(var u=0;u<$s.length;++u)$s[u](n);wr(this),l&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(a.lineDiv).textRendering&&(a.lineDiv.style.textRendering="auto")}function zs(e){var t=e.display;ft(t.scroller,"mousedown",Er(e,gs)),ft(t.scroller,"dblclick",o&&s<11?Er(e,function(t){if(!gt(e,t)){var n=Ii(e,t);if(n&&!Ss(e,t)&&!Wn(e.display,t)){wt(t);var i=e.findWordAt(n);Oa(e.doc,i.anchor,i.head)}}}):function(t){return gt(e,t)||wt(t)}),ft(t.scroller,"contextmenu",function(t){return Ts(e,t)});var n,i={end:0};function r(){t.activeTouch&&(n=setTimeout(function(){return t.activeTouch=null},1e3),i=t.activeTouch,i.end=+new Date)}function a(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function l(e,t){if(null==t.left)return!0;var n=t.left-e.left,i=t.top-e.top;return n*n+i*i>400}ft(t.scroller,"touchstart",function(r){if(!gt(e,r)&&!a(r)&&!Ss(e,r)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-i.end<=300?i:null},1==r.touches.length&&(t.activeTouch.left=r.touches[0].pageX,t.activeTouch.top=r.touches[0].pageY)}}),ft(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),ft(t.scroller,"touchend",function(n){var i=t.activeTouch;if(i&&!Wn(t,n)&&null!=i.left&&!i.moved&&new Date-i.start<300){var a,o=e.coordsChar(t.activeTouch,"page");a=!i.prev||l(i,i.prev)?new ia(o,o):!i.prev.prev||l(i,i.prev.prev)?e.findWordAt(o):new ia(ve(o.line,0),Ce(e.doc,ve(o.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),wt(n)}r()}),ft(t.scroller,"touchcancel",r),ft(t.scroller,"scroll",function(){t.scroller.clientHeight&&(lr(e,t.scroller.scrollTop),ur(e,t.scroller.scrollLeft,!0),mt(e,"scroll",e))}),ft(t.scroller,"mousewheel",function(t){return ta(e,t)}),ft(t.scroller,"DOMMouseScroll",function(t){return ta(e,t)}),ft(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(t){gt(e,t)||_t(t)},over:function(t){gt(e,t)||(So(e,t),_t(t))},start:function(t){return Co(e,t)},drop:Er(e,_o),leave:function(t){gt(e,t)||To(e)}};var c=t.input.getField();ft(c,"keyup",function(t){return cs.call(e,t)}),ft(c,"keydown",Er(e,ss)),ft(c,"keypress",Er(e,us)),ft(c,"focus",function(t){return Ui(e,t)}),ft(c,"blur",function(t){return Vi(e,t)})}Fs.defaults=Ls,Fs.optionHandlers=Ns;var $s=[];function js(e,t,n,i){var r,a=e.doc;null==n&&(n="add"),"smart"==n&&(a.mode.indent?r=Qt(e,t).state:n="prev");var o=e.options.tabSize,s=ce(a,t),l=$(s.text,null,o);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(i||/\S/.test(s.text)){if("smart"==n&&(c=a.mode.indent(r,s.text.slice(u.length),s.text),c==B||c>150)){if(!i)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>a.first?$(ce(a,t-1).text,null,o):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var d="",f=0;if(e.options.indentWithTabs)for(var p=Math.floor(c/o);p;--p)f+=o,d+="\t";if(fo,l=Nt(t),c=null;if(s&&i.ranges.length>1)if(Rs&&Rs.text.join("\n")==t){if(i.ranges.length%Rs.text.length==0){c=[];for(var u=0;u=0;f--){var p=i.ranges[f],h=p.from(),m=p.to();p.empty()&&(n&&n>0?h=ve(h.line,h.ch-n):e.state.overwrite&&!s?m=ve(m.line,Math.min(ce(a,m.line).text.length,m.ch+K(l).length)):s&&Rs&&Rs.lineWise&&Rs.text.join("\n")==t&&(h=m=ve(h.line,0)));var g={from:h,to:m,text:c?c[f%c.length]:l,origin:r||(s?"paste":e.state.cutIncoming>o?"cut":"+input")};Ka(e.doc,g),An(e,"inputRead",e,g)}t&&!s&&Ws(e,t),ir(e),e.curOp.updateInput<2&&(e.curOp.updateInput=d),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Hs(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Mr(t,function(){return Bs(t,n,0,null,"paste")}),!0}function Ws(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,i=n.ranges.length-1;i>=0;i--){var r=n.ranges[i];if(!(r.head.ch>100||i&&n.ranges[i-1].head.line==r.head.line)){var a=e.getModeAt(r.head),o=!1;if(a.electricChars){for(var s=0;s-1){o=js(e,r.head.line,"smart");break}}else a.electricInput&&a.electricInput.test(ce(e.doc,r.head.line).text.slice(0,r.head.ch))&&(o=js(e,r.head.line,"smart"));o&&An(e,"electricInput",e,r.head.line)}}}function Us(e){for(var t=[],n=[],i=0;ii&&(js(t,a.head.line,e,!0),i=a.head.line,r==t.doc.sel.primIndex&&ir(t));else{var o=a.from(),s=a.to(),l=Math.max(i,o.line);i=Math.min(t.lastLine(),s.line-(s.ch?0:1))+1;for(var c=l;c0&&Ia(t.doc,r,new ia(o,u[r].to()),H)}}}),getTokenAt:function(e,t){return rn(this,e,t)},getLineTokens:function(e,t){return rn(this,ve(e),t,!0)},getTokenTypeAt:function(e){e=Ce(this.doc,e);var t,n=Zt(this,ce(this.doc,e.line)),i=0,r=(n.length-1)/2,a=e.ch;if(0==a)t=n[2];else for(;;){var o=i+r>>1;if((o?n[2*o-1]:0)>=a)r=o;else{if(!(n[2*o+1]a&&(e=a,r=!0),i=ce(this.doc,e)}else i=e;return gi(this,i,{top:0,left:0},t||"page",n||r).top+(r?this.doc.height-it(i):0)},defaultTextHeight:function(){return Ai(this.display)},defaultCharWidth:function(){return Li(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,i,r){var a=this.display;e=bi(this,Ce(this.doc,e));var o=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),a.sizer.appendChild(t),"over"==i)o=e.top;else if("above"==i||"near"==i){var l=Math.max(a.wrapper.clientHeight,this.doc.height),c=Math.max(a.sizer.clientWidth,a.lineSpace.clientWidth);("above"==i||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?o=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(o=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=o+"px",t.style.left=t.style.right="","right"==r?(s=a.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==r?s=0:"middle"==r&&(s=(a.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&er(this,{left:s,top:o,right:s+t.offsetWidth,bottom:o+t.offsetHeight})},triggerOnKeyDown:Ar(ss),triggerOnKeyPress:Ar(us),triggerOnKeyUp:cs,triggerOnMouseDown:Ar(gs),execCommand:function(e){if(Ko.hasOwnProperty(e))return Ko[e].call(null,this)},triggerElectric:Ar(function(e){Ws(this,e)}),findPosH:function(e,t,n,i){var r=this,a=1;t<0&&(a=-1,t=-t);for(var o=Ce(this.doc,e),s=0;s0&&s(n.charAt(i-1)))--i;while(r.5)&&Pi(this),mt(this,"refresh",this)}),swapDoc:Ar(function(e){var t=this.doc;return t.cm=null,ga(this,e),fi(this),this.display.input.reset(),rr(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,An(this,"swapDoc",this,t),t}),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},bt(e),e.registerHelper=function(t,i,r){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][i]=r},e.registerGlobalHelper=function(t,i,r,a){e.registerHelper(t,i,a),n[t]._global.push({pred:r,val:a})}}function Ks(e,t,n,i,r){var a=t,o=n,s=ce(e,t.line);function l(){var i=t.line+n;return!(i=e.first+e.size)&&(t=new ve(i,t.ch,t.sticky),s=ce(e,i))}function c(i){var a;if(a=r?Xo(e.cm,s,t,n):Vo(s,t,n),null==a){if(i||!l())return!1;t=Go(r,e.cm,s,t.line,n)}else t=a;return!0}if("char"==i)c();else if("column"==i)c(!0);else if("word"==i||"group"==i)for(var u=null,d="group"==i,f=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;;p=!1){if(n<0&&!c(!p))break;var h=s.text.charAt(t.ch)||"\n",m=ne(h,f)?"w":d&&"\n"==h?"n":!d||/\s/.test(h)?null:"p";if(!d||p||m||(m="s"),u&&u!=m){n<0&&(n=1,c(),t.sticky="after");break}if(m&&(u=m),n>0&&!c(!p))break}var g=Ua(e,t,a,o,!0);return be(a,g)&&(g.hitSide=!0),g}function Ys(e,t,n,i){var r,a,o=e.doc,s=t.left;if("page"==i){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*Ai(e.display),3);r=(n>0?t.bottom:t.top)+n*c}else"line"==i&&(r=n>0?t.bottom+3:t.top-3);for(;;){if(a=ki(e,s,r),!a.outside)break;if(n<0?r<=0:r>=o.height){a.hitSide=!0;break}r+=5*n}return a}var Zs=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new j,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Qs(e,t){var n=ti(e,t.line);if(!n||n.hidden)return null;var i=ce(e.doc,t.line),r=Qn(n,i,t.line),a=ut(i,e.doc.direction),o="left";if(a){var s=lt(a,t.ch);o=s%2?"right":"left"}var l=oi(r.map,t.ch,o);return l.offset="right"==l.collapse?l.end:l.start,l}function Js(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function el(e,t){return t&&(e.bad=!0),e}function tl(e,t,n,i,r){var a="",o=!1,s=e.doc.lineSeparator(),l=!1;function c(e){return function(t){return t.id==e}}function u(){o&&(a+=s,l&&(a+=s),o=l=!1)}function d(e){e&&(u(),a+=e)}function f(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void d(n);var a,p=t.getAttribute("cm-marker");if(p){var h=e.findMarks(ve(i,0),ve(r+1,0),c(+p));return void(h.length&&(a=h[0].find(0))&&d(ue(e.doc,a.from,a.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var m=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;m&&u();for(var g=0;g=t.display.viewTo||a.line=t.display.viewFrom&&Qs(t,r)||{node:l[0].measure.map[2],offset:0},u=a.linei.firstLine()&&(o=ve(o.line-1,ce(i.doc,o.line-1).length)),s.ch==ce(i.doc,s.line).text.length&&s.liner.viewTo-1)return!1;o.line==r.viewFrom||0==(e=Fi(i,o.line))?(t=pe(r.view[0].line),n=r.view[0].node):(t=pe(r.view[e].line),n=r.view[e-1].node.nextSibling);var l,c,u=Fi(i,s.line);if(u==r.view.length-1?(l=r.viewTo-1,c=r.lineDiv.lastChild):(l=pe(r.view[u+1].line)-1,c=r.view[u+1].node.previousSibling),!n)return!1;var d=i.doc.splitLines(tl(i,n,c,t,l)),f=ue(i.doc,ve(t,0),ve(l,ce(i.doc,l).text.length));while(d.length>1&&f.length>1)if(K(d)==K(f))d.pop(),f.pop(),l--;else{if(d[0]!=f[0])break;d.shift(),f.shift(),t++}var p=0,h=0,m=d[0],g=f[0],v=Math.min(m.length,g.length);while(po.ch&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1))p--,h++;d[d.length-1]=y.slice(0,y.length-h).replace(/^\u200b+/,""),d[0]=d[0].slice(p).replace(/\u200b+$/,"");var x=ve(t,p),k=ve(l,f.length?K(f).length-h:0);return d.length>1||d[0]||ye(x,k)?(to(i.doc,d,x,k,"+input"),!0):void 0},Zs.prototype.ensurePolled=function(){this.forceCompositionEnd()},Zs.prototype.reset=function(){this.forceCompositionEnd()},Zs.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Zs.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},Zs.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Mr(this.cm,function(){return Nr(e.cm)})},Zs.prototype.setUneditable=function(e){e.contentEditable="false"},Zs.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Er(this.cm,Bs)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Zs.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Zs.prototype.onContextMenu=function(){},Zs.prototype.resetPosition=function(){},Zs.prototype.needsContentAttribute=!0;var rl=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new j,this.hasSelection=!1,this.composing=null};function al(e,t){if(t=t?z(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=D();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function i(){e.value=s.getValue()}var r;if(e.form&&(ft(e.form,"submit",i),!t.leaveSubmitMethodAlone)){var a=e.form;r=a.submit;try{var o=a.submit=function(){i(),a.submit=r,a.submit(),a.submit=o}}catch(l){}}t.finishInit=function(t){t.save=i,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,i(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(ht(e.form,"submit",i),"function"==typeof e.form.submit&&(e.form.submit=r))}},e.style.display="none";var s=Fs(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return s}function ol(e){e.off=ht,e.on=ft,e.wheelEventPixels=ea,e.Doc=xo,e.splitLines=Nt,e.countColumn=$,e.findColumn=V,e.isWordChar=te,e.Pass=B,e.signal=mt,e.Line=cn,e.changeEnd=oa,e.scrollbarModel=gr,e.Pos=ve,e.cmpPos=ye,e.modes=Ft,e.mimeModes=zt,e.resolveMode=Rt,e.getMode=qt,e.modeExtensions=Bt,e.extendMode=Ht,e.copyState=Wt,e.startState=Vt,e.innerMode=Ut,e.commands=Ko,e.keyMap=Fo,e.keyName=Bo,e.isModifierKey=Ro,e.lookupKey=jo,e.normalizeKeyMap=$o,e.StringStream=Gt,e.SharedTextMarker=mo,e.TextMarker=po,e.LineWidget=lo,e.e_preventDefault=wt,e.e_stopPropagation=xt,e.e_stop=_t,e.addClass=O,e.contains=N,e.rmClass=T,e.keyNames=Do}rl.prototype.init=function(e){var t=this,n=this,i=this.cm;this.createField(e);var r=this.textarea;function a(e){if(!gt(i,e)){if(i.somethingSelected())qs({lineWise:!1,text:i.getSelections()});else{if(!i.options.lineWiseCopyCut)return;var t=Us(i);qs({lineWise:!0,text:t.text}),"cut"==e.type?i.setSelections(t.ranges,null,H):(n.prevInput="",r.value=t.text.join("\n"),I(r))}"cut"==e.type&&(i.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(r.style.width="0px"),ft(r,"input",function(){o&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),ft(r,"paste",function(e){gt(i,e)||Hs(e,i)||(i.state.pasteIncoming=+new Date,n.fastPoll())}),ft(r,"cut",a),ft(r,"copy",a),ft(e.scroller,"paste",function(t){if(!Wn(e,t)&&!gt(i,t)){if(!r.dispatchEvent)return i.state.pasteIncoming=+new Date,void n.focus();var a=new Event("paste");a.clipboardData=t.clipboardData,r.dispatchEvent(a)}}),ft(e.lineSpace,"selectstart",function(t){Wn(e,t)||wt(t)}),ft(r,"compositionstart",function(){var e=i.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:i.markText(e,i.getCursor("to"),{className:"CodeMirror-composing"})}}),ft(r,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},rl.prototype.createField=function(e){this.wrapper=Gs(),this.textarea=this.wrapper.firstChild},rl.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,i=$i(e);if(e.options.moveInputWithCursor){var r=bi(e,n.sel.primary().head,"div"),a=t.wrapper.getBoundingClientRect(),o=t.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,r.top+o.top-a.top)),i.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,r.left+o.left-a.left))}return i},rl.prototype.showSelection=function(e){var t=this.cm,n=t.display;E(n.cursorDiv,e.cursors),E(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},rl.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&I(this.textarea),o&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",o&&s>=9&&(this.hasSelection=null))}},rl.prototype.getField=function(){return this.textarea},rl.prototype.supportsTouch=function(){return!1},rl.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||D()!=this.textarea))try{this.textarea.focus()}catch(e){}},rl.prototype.blur=function(){this.textarea.blur()},rl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},rl.prototype.receivedFocus=function(){this.slowPoll()},rl.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},rl.prototype.fastPoll=function(){var e=!1,t=this;function n(){var i=t.poll();i||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}t.pollingFast=!0,t.polling.set(20,n)},rl.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,i=this.prevInput;if(this.contextMenuPending||!t.state.focused||Dt(n)&&!i&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var r=n.value;if(r==i&&!t.somethingSelected())return!1;if(o&&s>=9&&this.hasSelection===r||y&&/[\uf700-\uf7ff]/.test(r))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var a=r.charCodeAt(0);if(8203!=a||i||(i="​"),8666==a)return this.reset(),this.cm.execCommand("undo")}var l=0,c=Math.min(i.length,r.length);while(l1e3||r.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=r,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},rl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},rl.prototype.onKeyPress=function(){o&&s>=9&&(this.hasSelection=null),this.fastPoll()},rl.prototype.onContextMenu=function(e){var t=this,n=t.cm,i=n.display,r=t.textarea;t.contextMenuPending&&t.contextMenuPending();var a=Ii(n,e),c=i.scroller.scrollTop;if(a&&!d){var u=n.options.resetSelectionOnContextMenu;u&&-1==n.doc.sel.contains(a)&&Er(n,ja)(n.doc,aa(a),H);var f,p=r.style.cssText,h=t.wrapper.style.cssText,m=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",r.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-m.top-5)+"px; left: "+(e.clientX-m.left-5)+"px;\n z-index: 1000; background: "+(o?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(f=window.scrollY),i.input.focus(),l&&window.scrollTo(null,f),i.input.reset(),n.somethingSelected()||(r.value=t.prevInput=" "),t.contextMenuPending=y,i.selForContextMenu=n.doc.sel,clearTimeout(i.detectingSelectAll),o&&s>=9&&v(),_){_t(e);var g=function(){ht(window,"mouseup",g),setTimeout(y,20)};ft(window,"mouseup",g)}else setTimeout(y,50)}function v(){if(null!=r.selectionStart){var e=n.somethingSelected(),a="​"+(e?r.value:"");r.value="⇚",r.value=a,t.prevInput=e?"":"​",r.selectionStart=1,r.selectionEnd=a.length,i.selForContextMenu=n.doc.sel}}function y(){if(t.contextMenuPending==y&&(t.contextMenuPending=!1,t.wrapper.style.cssText=h,r.style.cssText=p,o&&s<9&&i.scrollbars.setScrollTop(i.scroller.scrollTop=c),null!=r.selectionStart)){(!o||o&&s<9)&&v();var e=0,a=function(){i.selForContextMenu==n.doc.sel&&0==r.selectionStart&&r.selectionEnd>0&&"​"==t.prevInput?Er(n,Ga)(n):e++<10?i.detectingSelectAll=setTimeout(a,500):(i.selForContextMenu=null,i.input.reset())};i.detectingSelectAll=setTimeout(a,200)}}},rl.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},rl.prototype.setUneditable=function(){},rl.prototype.needsContentAttribute=!1,Ds(Fs),Xs(Fs);var sl="iter insert remove copy getEditor constructor".split(" ");for(var ll in xo.prototype)xo.prototype.hasOwnProperty(ll)&&R(sl,ll)<0&&(Fs.prototype[ll]=function(e){return function(){return e.apply(this.doc,arguments)}}(xo.prototype[ll]));return bt(xo),Fs.inputStyles={textarea:rl,contenteditable:Zs},Fs.defineMode=function(e){Fs.defaults.mode||"null"==e||(Fs.defaults.mode=e),$t.apply(this,arguments)},Fs.defineMIME=jt,Fs.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Fs.defineMIME("text/plain","null"),Fs.defineExtension=function(e,t){Fs.prototype[e]=t},Fs.defineDocExtension=function(e,t){xo.prototype[e]=t},Fs.fromTextArea=al,ol(Fs),Fs.version="5.44.0",Fs})},"56d7":function(e,t,n){"use strict";n.r(t);n("744f"),n("6c7b"),n("7514"),n("20d6"),n("1c4c"),n("6762"),n("cadf"),n("e804"),n("55dd"),n("d04f"),n("c8ce"),n("217b"),n("7f7f"),n("f400"),n("7f25"),n("536b"),n("d9ab"),n("f9ab"),n("32d7"),n("25c9"),n("9f3c"),n("042e"),n("c7c6"),n("f4ff"),n("049f"),n("7872"),n("a69f"),n("0b21"),n("6c1a"),n("c7c62"),n("84b4"),n("c5f6"),n("2e37"),n("fca0"),n("7cdf"),n("ee1d"),n("b1b1"),n("87f3"),n("9278"),n("5df2"),n("04ff"),n("f751"),n("4504"),n("fee7"),n("ffc1"),n("0d6d"),n("9986"),n("8e6e"),n("25db"),n("e4f7"),n("b9a1"),n("64d5"),n("9aea"),n("db97"),n("66c8"),n("57f0"),n("165b"),n("456d"),n("cf6a"),n("fd24"),n("8615"),n("551c"),n("097d"),n("df1b"),n("2397"),n("88ca"),n("ba16"),n("d185"),n("ebde"),n("2d34"),n("f6b3"),n("2251"),n("c698"),n("a19f"),n("9253"),n("9275"),n("3b2b"),n("3846"),n("4917"),n("a481"),n("28a5"),n("386d"),n("6b54"),n("4f7f"),n("8a81"),n("ac4d"),n("8449"),n("9c86"),n("fa83"),n("48c0"),n("a032"),n("aef6"),n("d263"),n("6c37"),n("9ec8"),n("5695"),n("2fdb"),n("d0b0"),n("5df3"),n("b54a"),n("f576"),n("ed50"),n("788d"),n("14b9"),n("f386"),n("f559"),n("1448"),n("673e"),n("242a"),n("c66f"),n("b05c"),n("34ef"),n("6aa2"),n("15ac"),n("af56"),n("b6e4"),n("9c29"),n("63d9"),n("4dda"),n("10ad"),n("c02b"),n("4795"),n("130f"),n("ac6a"),n("96cf");var i=n("2b0e"); /** * vuex v3.1.0 * (c) 2019 Evan You * @license MIT */ -function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:i});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[i].concat(e.init):i,n.call(this,e)}}function i(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}var a="undefined"!==typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(e){a&&(e._devtoolHook=a,a.emit("vuex:init",e),a.on("vuex:travel-to-state",function(t){e.replaceState(t)}),e.subscribe(function(e,t){a.emit("vuex:mutation",e,t)}))}function s(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function l(e){return null!==e&&"object"===typeof e}function c(e){return e&&"function"===typeof e.then}var u=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},d={namespaced:{configurable:!0}};d.namespaced.get=function(){return!!this._rawModule.namespaced},u.prototype.addChild=function(e,t){this._children[e]=t},u.prototype.removeChild=function(e){delete this._children[e]},u.prototype.getChild=function(e){return this._children[e]},u.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},u.prototype.forEachChild=function(e){s(this._children,e)},u.prototype.forEachGetter=function(e){this._rawModule.getters&&s(this._rawModule.getters,e)},u.prototype.forEachAction=function(e){this._rawModule.actions&&s(this._rawModule.actions,e)},u.prototype.forEachMutation=function(e){this._rawModule.mutations&&s(this._rawModule.mutations,e)},Object.defineProperties(u.prototype,d);var f=function(e){this.register([],e,!1)};function p(e,t,n){if(t.update(n),n.modules)for(var i in n.modules){if(!t.getChild(i))return void 0;p(e.concat(i),t.getChild(i),n.modules[i])}}f.prototype.get=function(e){return e.reduce(function(e,t){return e.getChild(t)},this.root)},f.prototype.getNamespace=function(e){var t=this.root;return e.reduce(function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")},"")},f.prototype.update=function(e){p([],this.root,e)},f.prototype.register=function(e,t,n){var i=this;void 0===n&&(n=!0);var r=new u(t,n);if(0===e.length)this.root=r;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],r)}t.modules&&s(t.modules,function(t,r){i.register(e.concat(r),t,n)})},f.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];t.getChild(n).runtime&&t.removeChild(n)};var h;var m=function(e){var t=this;void 0===e&&(e={}),!h&&"undefined"!==typeof window&&window.Vue&&A(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var i=e.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new f(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new h;var r=this,a=this,s=a.dispatch,l=a.commit;this.dispatch=function(e,t){return s.call(r,e,t)},this.commit=function(e,t,n){return l.call(r,e,t,n)},this.strict=i;var c=this._modules.root.state;w(this,c,[],this._modules.root),b(this,c),n.forEach(function(e){return e(t)});var u=void 0!==e.devtools?e.devtools:h.config.devtools;u&&o(this)},g={state:{configurable:!0}};function v(e,t){return t.indexOf(e)<0&&t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function y(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;w(e,n,[],e._modules.root,!0),b(e,n,t)}function b(e,t,n){var i=e._vm;e.getters={};var r=e._wrappedGetters,a={};s(r,function(t,n){a[n]=function(){return t(e)},Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})});var o=h.config.silent;h.config.silent=!0,e._vm=new h({data:{$$state:t},computed:a}),h.config.silent=o,e.strict&&T(e),i&&(n&&e._withCommit(function(){i._data.$$state=null}),h.nextTick(function(){return i.$destroy()}))}function w(e,t,n,i,r){var a=!n.length,o=e._modules.getNamespace(n);if(i.namespaced&&(e._modulesNamespaceMap[o]=i),!a&&!r){var s=M(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){h.set(s,l,i.state)})}var c=i.context=x(e,o,n);i.forEachMutation(function(t,n){var i=o+n;_(e,i,t,c)}),i.forEachAction(function(t,n){var i=t.root?n:o+n,r=t.handler||t;C(e,i,r,c)}),i.forEachGetter(function(t,n){var i=o+n;S(e,i,t,c)}),i.forEachChild(function(i,a){w(e,t,n.concat(a),i,r)})}function x(e,t,n){var i=""===t,r={dispatch:i?e.dispatch:function(n,i,r){var a=E(n,i,r),o=a.payload,s=a.options,l=a.type;return s&&s.root||(l=t+l),e.dispatch(l,o)},commit:i?e.commit:function(n,i,r){var a=E(n,i,r),o=a.payload,s=a.options,l=a.type;s&&s.root||(l=t+l),e.commit(l,o,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return e.getters}:function(){return k(e,t)}},state:{get:function(){return M(e.state,n)}}}),r}function k(e,t){var n={},i=t.length;return Object.keys(e.getters).forEach(function(r){if(r.slice(0,i)===t){var a=r.slice(i);Object.defineProperty(n,a,{get:function(){return e.getters[r]},enumerable:!0})}}),n}function _(e,t,n,i){var r=e._mutations[t]||(e._mutations[t]=[]);r.push(function(t){n.call(e,i.state,t)})}function C(e,t,n,i){var r=e._actions[t]||(e._actions[t]=[]);r.push(function(t,r){var a=n.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t,r);return c(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(t){throw e._devtoolHook.emit("vuex:error",t),t}):a})}function S(e,t,n,i){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(i.state,i.getters,e.state,e.getters)})}function T(e){e._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}function M(e,t){return t.length?t.reduce(function(e,t){return e[t]},e):e}function E(e,t,n){return l(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function A(e){h&&e===h||(h=e,r(h))}g.state.get=function(){return this._vm._data.$$state},g.state.set=function(e){0},m.prototype.commit=function(e,t,n){var i=this,r=E(e,t,n),a=r.type,o=r.payload,s=(r.options,{type:a,payload:o}),l=this._mutations[a];l&&(this._withCommit(function(){l.forEach(function(e){e(o)})}),this._subscribers.forEach(function(e){return e(s,i.state)}))},m.prototype.dispatch=function(e,t){var n=this,i=E(e,t),r=i.type,a=i.payload,o={type:r,payload:a},s=this._actions[r];if(s){try{this._actionSubscribers.filter(function(e){return e.before}).forEach(function(e){return e.before(o,n.state)})}catch(c){0}var l=s.length>1?Promise.all(s.map(function(e){return e(a)})):s[0](a);return l.then(function(e){try{n._actionSubscribers.filter(function(e){return e.after}).forEach(function(e){return e.after(o,n.state)})}catch(c){0}return e})}},m.prototype.subscribe=function(e){return v(e,this._subscribers)},m.prototype.subscribeAction=function(e){var t="function"===typeof e?{before:e}:e;return v(t,this._actionSubscribers)},m.prototype.watch=function(e,t,n){var i=this;return this._watcherVM.$watch(function(){return e(i.state,i.getters)},t,n)},m.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._vm._data.$$state=e})},m.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),w(this,this.state,e,this._modules.get(e),n.preserveState),b(this,this.state)},m.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=M(t.state,e.slice(0,-1));h.delete(n,e[e.length-1])}),y(this)},m.prototype.hotUpdate=function(e){this._modules.update(e),y(this,!0)},m.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(m.prototype,g);var L=F(function(e,t){var n={};return I(t).forEach(function(t){var i=t.key,r=t.val;n[i]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var i=z(this.$store,"mapState",e);if(!i)return;t=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,t,n):t[r]},n[i].vuex=!0}),n}),N=F(function(e,t){var n={};return I(t).forEach(function(t){var i=t.key,r=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.commit;if(e){var a=z(this.$store,"mapMutations",e);if(!a)return;i=a.context.commit}return"function"===typeof r?r.apply(this,[i].concat(t)):i.apply(this.$store,[r].concat(t))}}),n}),D=F(function(e,t){var n={};return I(t).forEach(function(t){var i=t.key,r=t.val;r=e+r,n[i]=function(){if(!e||z(this.$store,"mapGetters",e))return this.$store.getters[r]},n[i].vuex=!0}),n}),O=F(function(e,t){var n={};return I(t).forEach(function(t){var i=t.key,r=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.dispatch;if(e){var a=z(this.$store,"mapActions",e);if(!a)return;i=a.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(t)):i.apply(this.$store,[r].concat(t))}}),n}),P=function(e){return{mapState:L.bind(null,e),mapGetters:D.bind(null,e),mapMutations:N.bind(null,e),mapActions:O.bind(null,e)}};function I(e){return Array.isArray(e)?e.map(function(e){return{key:e,val:e}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}})}function F(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function z(e,t,n){var i=e._modulesNamespaceMap[n];return i}var $={Store:m,install:A,version:"3.1.0",mapState:L,mapMutations:N,mapGetters:D,mapActions:O,createNamespacedHelpers:P},j=$,R={cleanTree:function(e){e.directories=[],e.counter=1},addDirectories:function(e,t){var n=t.directories,i=t.parentId;n.forEach(function(t){t.id=e.counter,t.parentId=i,t.props.subdirectoriesLoaded=!1,t.props.showSubdirectories=!1,e.counter+=1,e.directories.push(t)})},replaceDirectories:function(e,t){e.directories=t},updateDirectoryProps:function(e,t){var n=t.index,i=t.props;for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e.directories[n].props[r]=i[r])},addToTempArray:function(e,t){e.tempIndexArray.push(t)},clearTempArray:function(e){e.tempIndexArray=[]}},q={findDirectoryIndex:function(e){return function(t){return e.directories.findIndex(function(e){return e.path===t})}}},B=n("bc3a"),H=n.n(B);function W(){var e={},t=document.head.querySelector('meta[name="csrf-token"]');return t||console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token"),e={"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":t.content},e}function U(){var e;return e="".concat(window.location.protocol,"//").concat(window.location.hostname),window.location.port.length?e+=":".concat(window.location.port,"/file-manager/"):e+="/file-manager/",e}var V=H.a.create({baseURL:U(),headers:W()}),G={initialize:function(){return V.get("initialize")},tree:function(e,t){return V.get("tree",{params:{disk:e,path:t}})},selectDisk:function(e){return V.get("select-disk",{params:{disk:e}})},content:function(e,t){return V.get("content",{params:{disk:e,path:t}})},url:function(e,t){return V.get("url",{params:{disk:e,path:t}})},getFile:function(e,t){return V.get("download",{params:{disk:e,path:t}})}};function X(e){return X="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},X(e)}var K={initTree:function(e,t){var n=e.state,i=e.commit;return G.tree(t,null).then(function(e){"success"===e.data.result.status&&(n.directories&&i("cleanTree"),i("addDirectories",{parentId:0,directories:e.data.directories}))})},addToTree:function(e,t){var n=e.state,i=e.commit,r=e.getters,a=t.parentPath,o=t.newDirectory;if(a){var s=r.findDirectoryIndex(a);-1!==s?(i("addDirectories",{directories:o,parentId:n.directories[s].id}),i("updateDirectoryProps",{index:s,props:{hasSubdirectories:!0,showSubdirectories:!0,subdirectoriesLoaded:!0}})):i("fm/messages/setError",{message:"Directory not found"},{root:!0})}else i("addDirectories",{directories:o,parentId:0})},deleteFromTree:function(e,t){var n=e.state,i=e.commit,r=e.getters,a=e.dispatch;t.forEach(function(e){var t=r.findDirectoryIndex(e.path);-1!==t&&(i("addToTempArray",t),n.directories[t].props.hasSubdirectories&&a("subDirsFinder",n.directories[t].id))});var o=n.directories.filter(function(e,t){return-1===n.tempIndexArray.indexOf(t)&&e});i("replaceDirectories",o),i("clearTempArray")},subDirsFinder:function(e,t){var n=e.state,i=e.commit,r=e.dispatch;n.directories.forEach(function(e,n){e.parentId===t&&(i("addToTempArray",n),e.props.hasSubdirectories&&r("subDirsFinder",e.id))})},getSubdirectories:function(e,t){var n=e.commit,i=e.rootGetters,r=t.path,a=t.parentId,o=t.parentIndex;return G.tree(i["fm/selectedDisk"],r).then(function(e){"success"===e.data.result.status&&(n("addDirectories",{parentId:a,directories:e.data.directories}),n("updateDirectoryProps",{index:o,props:{subdirectoriesLoaded:!0}}))})},showSubdirectories:function(e,t){var n=e.state,i=e.commit,r=e.getters,a=e.dispatch,o=Promise.resolve(),s=r.findDirectoryIndex(t);if(-1!==s){if(!n.directories[s].props.subdirectoriesLoaded)return a("getSubdirectories",{path:n.directories[s].path,parentId:n.directories[s].id,parentIndex:s}).then(function(){i("updateDirectoryProps",{index:s,props:{showSubdirectories:!0}})});i("updateDirectoryProps",{index:s,props:{showSubdirectories:!0}})}else i("fm/messages/setError",{message:"Directory not found"},{root:!0});return o},hideSubdirectories:function(e,t){var n=e.commit,i=e.getters,r=i.findDirectoryIndex(t);-1!==r?n("updateDirectoryProps",{index:r,props:{showSubdirectories:!1}}):n("fm/messages/setError",{message:"Directory not found"},{root:!0})},reopenPath:function(e,t){var n=e.dispatch,i=Promise.resolve();if(t){var r=function(){for(var e=t.split("/"),r=function(t){i=i.then(function(){return n("showSubdirectories",e.slice(0,t+1).join("/"))})},a=0;e.length>a;a+=1)r(a);return{v:i}}();if("object"===X(r))return r.v}return i}},Y={namespaced:!0,state:function(){return{directories:[],counter:1,tempIndexArray:[]}},mutations:R,getters:q,actions:K},Z={setModalState:function(e,t){var n=t.show,i=t.modalName;e.showModal=n,e.modalName=i},clearModal:function(e){e.showModal=!1,e.modalName=null},setModalBlockHeight:function(e,t){e.modalBlockHeight=t}},Q={namespaced:!0,state:function(){return{showModal:!1,modalName:null,modalBlockHeight:0}},mutations:Z},J={manualSettings:function(e,t){Object.prototype.hasOwnProperty.call(t,"headers")&&(e.headers=t.headers),Object.prototype.hasOwnProperty.call(t,"baseUrl")&&(e.baseUrl=t.baseUrl),Object.prototype.hasOwnProperty.call(t,"windowsConfig")&&(e.windowsConfig=t.windowsConfig),Object.prototype.hasOwnProperty.call(t,"lang")&&(e.lang=t.lang),Object.prototype.hasOwnProperty.call(t,"translation")&&i["a"].set(e.translations,t.translation.name,Object.freeze(t.translation.content))},initBaseUrl:function(e){if(!e.baseUrl){var t="".concat(window.location.protocol,"//").concat(window.location.hostname);window.location.port.length?t+=":".concat(window.location.port,"/file-manager/"):t+="/file-manager/",e.baseUrl=t}},initSettings:function(e,t){e.lang||(e.lang=t.lang),e.windowsConfig||(e.windowsConfig=t.windowsConfig),e.acl=t.acl}},ee={baseUrl:function(e){return e.baseUrl}},te={btn:{about:"О программе",back:"Назад",cancel:"Отменить",clear:"Очистить",copy:"Копировать",cut:"Вырезать",delete:"Удалить",edit:"Редактировать",forward:"Вперед",folder:"Новая папка",file:"Новый файл",fullScreen:"На весь экран",grid:"Сетка",paste:"Вставить",refresh:"Обновить",submit:"Отправить",table:"Таблица",upload:"Загрузить",uploadSelect:"Выбрать файлы"},clipboard:{actionType:"Тип операции",copy:"Копировать",cut:"Вырезать",none:"Ничего не выбрано",title:"Буфер обмена"},contextMenu:{copy:"Копировать",cut:"Вырезать",delete:"Удалить",download:"Скачать",info:"Выбрано:",open:"Открыть",paste:"Вставить",properties:"Свойства",rename:"Переименовать",select:"Выбрать",view:"Просмотр",zip:"Архивировать",unzip:"Разархивировать",edit:"Редактировать",audioPlay:"Воспроизвести",videoPlay:"Воспроизвести"},info:{directories:"Папок:",files:"Файлов:",selected:"Выбрано:",selectedSize:"Размер:",size:"Размер файлов:"},manager:{table:{date:"Дата",folder:"Папка",name:"Имя",size:"Размер",type:"Тип"}},modal:{about:{developer:"Разработчик",name:"Laravel File Manager",title:"О программе",version:"Версия"},delete:{noSelected:"Ничего не выбрано!",title:"Удалить"},newFile:{fieldName:"Имя файла",fieldFeedback:"Такой файл уже существует!",title:"Создать новый файл"},newFolder:{fieldName:"Имя папки",fieldFeedback:"Такакя папка уже существует!",title:"Создать новую папку"},preview:{title:"Предпросмотр"},properties:{disk:"Диск",modified:"Изменен",name:"Имя",path:"Путь",size:"Размер",title:"Свойства",type:"Тип",access:"Доступ",access_0:"Нет доступа",access_1:"Только чтение",access_2:"Чтение и Запись"},rename:{directoryExist:"Папка существует",fieldName:"Введите новое имя",fieldFeedback:"Некорректное имя",fileExist:"Файл существует",title:"Переименовать"},status:{noErrors:"Ошибок нет!",title:"Состояние"},upload:{ifExist:"Если файл существует:",noSelected:"Ни одного файла не выбрано!",overwrite:"Перезаписать!",selected:"Выбрано:",size:"Размер:",skip:"Пропустить",title:"Загрузить файлы"},editor:{title:"Редактор"},audioPlayer:{title:"Аудиоплеер"},videoPlayer:{title:"Видеоплеер"},zip:{title:"Создать архив",fieldName:"Имя архива",fieldFeedback:"Такой файл уже существует!"},unzip:{title:"Распаковать архив",fieldName:"Имя папки",fieldRadioName:"Извлечь в:",fieldRadio1:"В текущую папку",fieldRadio2:"В новую папку",fieldFeedback:"Папка существует!",warning:"Внимание! При совпадении имен файлы будут перезаписаны!"},cropper:{title:"Обрезка",apply:"Применить",reset:"Сбросить",save:"Сохранить"}}},ne=te,ie={btn:{about:"About",back:"Back",cancel:"Cancel",clear:"Clear",copy:"Copy",cut:"Cut",delete:"Delete",edit:"Edit",forward:"Forward",folder:"New folder",file:"New file",fullScreen:"Full screen",grid:"Grid",paste:"Paste",refresh:"Refresh",submit:"Submit",table:"Table",upload:"Upload",uploadSelect:"Select files"},clipboard:{actionType:"Type",copy:"Copy",cut:"Cut",none:"Nothing selected",title:"Clipboard"},contextMenu:{copy:"Copy",cut:"Cut",delete:"Delete",download:"Download",info:"Selected:",open:"Open",paste:"Paste",properties:"Properties",rename:"Rename",select:"Select",view:"View",zip:"Zip",unzip:"Unzip",edit:"Edit",audioPlay:"Play",videoPlay:"Play"},info:{directories:"Folders:",files:"Files:",selected:"Selected:",selectedSize:"Files size:",size:"Files size:"},manager:{table:{date:"Date",folder:"Folder",name:"Name",size:"Size",type:"Type"}},modal:{about:{developer:"Developer",name:"Laravel File Manager",title:"About",version:"Version"},delete:{noSelected:"Nothing selected!",title:"Delete"},newFile:{fieldName:"File name",fieldFeedback:"File exists!",title:"Create new file"},newFolder:{fieldName:"Folder name",fieldFeedback:"Folder exists!",title:"Create new folder"},preview:{title:"Preview"},properties:{disk:"Disk",modified:"Modified",name:"Name",path:"Path",size:"Size",title:"Properties",type:"Type",access:"Access",access_0:"Access denied",access_1:"Only Read",access_2:"Read and Write"},rename:{directoryExist:"Directory exists",fieldName:"Enter new name",fieldFeedback:"Invalid name",fileExist:"File exists",title:"Rename"},status:{noErrors:"No errors!",title:"Status"},upload:{ifExist:"If file exist:",noSelected:"No files selected!",overwrite:"Overwrite!",selected:"Selected:",size:"Size:",skip:"Skip",title:"Upload files"},editor:{title:"Editor"},audioPlayer:{title:"Audio player"},videoPlayer:{title:"Video player"},zip:{title:"Create archive",fieldName:"Archive name",fieldFeedback:"Archive exists!"},unzip:{title:"Unpack archive",fieldName:"Folder name",fieldRadioName:"Extract to:",fieldRadio1:"To current folder",fieldRadio2:"In a new folder",fieldFeedback:"Folder exists!",warning:"Attention! If the names match, the files will be overwritten!"},cropper:{title:"Cropping",apply:"Apply",reset:"Reset",save:"Save"}}},re=ie,ae={btn:{about:"حول",back:"رجوع",cancel:"الغاء",clear:"مسح",copy:"نسخ",cut:"قص",delete:"حذف",edit:"تعديل",forward:"الى الامام",folder:"مجلد جديد",file:"ملف جديد",fullScreen:"ملء الشاشة",grid:"شبكة",paste:"لصق",refresh:"تحديث",submit:"ارسال",table:"جدول",upload:"رفع",uploadSelect:"اختر الملفات"},clipboard:{actionType:"نوع",copy:"نسخ",cut:"قص",none:"لا شيء محدد",title:"ذاكرة النصوص"},contextMenu:{copy:"نسخ",cut:"قص",delete:"حذف",download:"تحميل",info:"اختير:",open:"فتح",paste:"لصق",properties:"الخصائص",rename:"اعادة تسمية",select:"اختيار",view:"عرض",zip:"ضغط",unzip:"أستخراج",edit:"تعديل",audioPlay:"تشغيل",videoPlay:"تشغيل"},info:{directories:"المجلدات:",files:"الملفات:",selected:"أختيرت:",selectedSize:"حجم الملفات:",size:"حجم الملفات:"},manager:{table:{date:"تأريخ",folder:"مجلد",name:"أسم",size:"حجم",type:"نوع"}},modal:{about:{developer:"مطور",name:"Laravel File Manager",title:"حول",version:"الإصدار"},delete:{noSelected:"لا شيء محدد!",title:"حذف"},newFile:{fieldName:"أسم الملف",fieldFeedback:"الملف موجود!",title:"أنشاء ملف جديد"},newFolder:{fieldName:"أسم المجلد",fieldFeedback:"المجلد موجود!",title:"انشاء مجلد جديد"},preview:{title:"عرض"},properties:{disk:"قرص",modified:"تم التعديل",name:"أسم",path:"مسار",size:"حجم",title:"خصائص",type:"نوع",access:"التمكن من",access_0:"تم الرفض",access_1:"قراءة فقط",access_2:"اقرا و اكتب"},rename:{directoryExist:"المجلد موجود",fieldName:"ادخال اسم جديد",fieldFeedback:"اسم خاطئ",fileExist:"الملف موجود",title:"اعادة تسمية"},status:{noErrors:"لايوجد خطأ!",title:"الحالة"},upload:{ifExist:"اذا الملف موجود:",noSelected:"لا توجد ملفات مختارة!",overwrite:"اعادة الكتابة!",selected:"المختارة:",size:"الحجم:",skip:"تخطي",title:"رفع الملفات"},editor:{title:"محرر"},audioPlayer:{title:"مشغل الاصوات"},videoPlayer:{title:"مشغل الفيديو"},zip:{title:"أنشاء أرشيف",fieldName:"أسم الارشيف",fieldFeedback:"الارشيف موجود!"},unzip:{title:"فك الارشيف",fieldName:"أسم المجلد",fieldRadioName:"أستخراج الى:",fieldRadio1:"الى المجلد الحالي",fieldRadio2:"في مجلد جديد",fieldFeedback:"المجلد موجود!",warning:"تحذير! اذا تشابهت الاسماء, سيتم استبدال الملفات!"},cropper:{title:"قص",apply:"تطبيق",reset:"اعادة تعين",save:"حفظ"}}},oe=ae,se={namespaced:!0,state:function(){return{acl:null,version:"2.1.1",headers:{},baseUrl:null,windowsConfig:null,lang:null,translations:{ru:Object.freeze(ne),en:Object.freeze(re),ar:Object.freeze(oe)},contextMenu:[[{name:"open",icon:"far fa-folder-open"},{name:"audioPlay",icon:"fas fa-play"},{name:"videoPlay",icon:"fas fa-play"},{name:"view",icon:"fas fa-eye"},{name:"edit",icon:"fas fa-file-signature"},{name:"select",icon:"fas fa-check"},{name:"download",icon:"fas fa-download"}],[{name:"copy",icon:"far fa-copy"},{name:"cut",icon:"fas fa-cut"},{name:"rename",icon:"far fa-edit"},{name:"paste",icon:"far fa-clipboard"},{name:"zip",icon:"far fa-file-archive"},{name:"unzip",icon:"far fa-file-archive"}],[{name:"delete",icon:"far fa-trash-alt text-danger"}],[{name:"properties",icon:"far fa-list-alt"}]],imageExtensions:["png","jpg","jpeg","gif"],cropExtensions:["png","jpg","jpeg"],audioExtensions:["ogg","mp3","aac","wav"],videoExtensions:["webm","mp4"],textExtensions:{sh:"text/x-sh",css:"text/css",less:"text/x-less",sass:"text/x-sass",scss:"text/x-scss",html:"text/html",js:"text/javascript",ts:"text/typescript",vue:"text/x-vue",htaccess:"text/plain",env:"text/plain",txt:"text/plain",ini:"text/x-ini",xml:"application/xml",md:"text/x-markdown",java:"text/x-java",c:"text/x-csrc",cpp:"text/x-c++src",cs:"text/x-csharp",scl:"text/x-scala",php:"application/x-httpd-php",sql:"text/x-sql",pl:"text/x-perl",py:"text/x-python",lua:"text/x-lua",swift:"text/x-swift",rb:"text/x-ruby",go:"text/x-go",yaml:"text/x-yaml"}}},mutations:J,getters:ee},le={setDisk:function(e,t){e.selectedDisk=t},setDirectoryContent:function(e,t){e.directories=t.directories,e.files=t.files},setSelectedDirectory:function(e,t){e.selectedDirectory=t},setSelected:function(e,t){var n=t.type,i=t.path;e.selected[n].push(i)},removeSelected:function(e,t){var n=t.type,i=t.path,r=e.selected[n].indexOf(i);-1!==r&&e.selected[n].splice(r,1)},changeSelected:function(e,t){var n=t.type,i=t.path;e.selected.directories=[],e.selected.files=[],e.selected[n].push(i)},resetSelected:function(e){e.selected.directories=[],e.selected.files=[]},addNewFile:function(e,t){e.files.push(t)},updateFile:function(e,t){var n=e.files.findIndex(function(e){return e.basename===t.basename});-1!==n&&(e.files[n]=t)},addNewDirectory:function(e,t){e.directories.push(t)},pointerBack:function(e){e.historyPointer-=1},pointerForward:function(e){e.historyPointer+=1},addToHistory:function(e,t){e.historyPointer0},clipboardType:function(){return this.$store.state.fm.clipboard.type},fullScreen:function(){return this.$store.state.fm.fullScreen}},methods:{refreshAll:function(){this.$store.dispatch("fm/refreshAll")},historyBack:function(){this.$store.dispatch("fm/".concat(this.activeManager,"/historyBack"))},historyForward:function(){this.$store.dispatch("fm/".concat(this.activeManager,"/historyForward"))},toClipboard:function(e){this.$store.dispatch("fm/toClipboard",e)},paste:function(){this.$store.dispatch("fm/paste")},showModal:function(e){this.$store.commit("fm/modal/setModalState",{modalName:e,show:!0})},selectView:function(e){this.viewType!==e&&this.$store.commit("fm/".concat(this.activeManager,"/setView"),e)},screenToggle:function(){var e=document.getElementsByClassName("fm")[0];this.fullScreen?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen():e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen(),this.$store.commit("fm/screenToggle")}}},Ee=Me;n("ac66");function Ae(e,t,n,i,r,a,o,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(l=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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var Le=Ae(Ee,Ce,Se,!1,null,null,null),Ne=Le.exports,De=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-tree"},[n("div",{staticClass:"fm-tree-disk sticky-top"},[n("i",{staticClass:"far fa-hdd"}),e._v(" "+e._s(e.selectedDisk)+"\n ")]),n("branch",{attrs:{"parent-id":0}})],1)},Oe=[],Pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"list-unstyled fm-tree-branch"},e._l(e.subDirectories,function(t,i){return n("li",{key:i},[n("p",{staticClass:"unselectable",class:{selected:e.isDirectorySelected(t.path)},on:{click:function(n){return e.selectDirectory(t.path)}}},[t.props.hasSubdirectories?n("i",{staticClass:"far",class:[e.arrowState(i)?"fa-minus-square":"fa-plus-square"],on:{click:function(n){return n.stopPropagation(),e.showSubdirectories(t.path,t.props.showSubdirectories)}}}):n("i",{staticClass:"fas fa-minus fa-xs"}),e._v("\n "+e._s(t.basename)+"\n ")]),n("transition",{attrs:{name:"fade-tree"}},[t.props.hasSubdirectories?n("branch",{directives:[{name:"show",rawName:"v-show",value:e.arrowState(i),expression:"arrowState(index)"}],attrs:{"parent-id":t.id}}):e._e()],1)],1)}),0)},Ie=[],Fe={name:"Branch",props:{parentId:{type:Number,required:!0}},computed:{subDirectories:function(){var e=this;return this.$store.state.fm.tree.directories.filter(function(t){return t.parentId===e.parentId})}},methods:{isDirectorySelected:function(e){return this.$store.state.fm.left.selectedDirectory===e},arrowState:function(e){return this.subDirectories[e].props.showSubdirectories},showSubdirectories:function(e,t){t?this.$store.dispatch("fm/tree/hideSubdirectories",e):this.$store.dispatch("fm/tree/showSubdirectories",e)},selectDirectory:function(e){this.isDirectorySelected(e)||this.$store.dispatch("fm/left/selectDirectory",{path:e,history:!0})}}},ze=Fe,$e=(n("445b"),Ae(ze,Pe,Ie,!1,null,null,null)),je=$e.exports,Re={name:"FolderTree",components:{branch:je},computed:{selectedDisk:function(){return this.$store.getters["fm/selectedDisk"]}}},qe=Re,Be=(n("f669"),Ae(qe,De,Oe,!1,null,null,null)),He=Be.exports,We=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-content d-flex flex-column"},[n("disk-list",{attrs:{manager:e.manager}}),n("breadcrumb",{attrs:{manager:e.manager}}),n("div",{staticClass:"fm-content-body"},["table"===e.viewType?n("table-view",{attrs:{manager:e.manager}}):n("grid-view",{attrs:{manager:e.manager}})],1)],1)},Ue=[],Ve=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-disk-list"},[n("ul",{staticClass:"list-inline"},e._l(e.disks,function(t,i){return n("li",{key:i,staticClass:"list-inline-item"},[n("span",{staticClass:"badge",class:[t===e.selectedDisk?"badge-secondary":"badge-light"],on:{click:function(n){return e.selectDisk(t)}}},[n("i",{staticClass:"fa-fw far fa-hdd"}),e._v(" "+e._s(t)+"\n ")])])}),0)])},Ge=[],Xe={name:"DiskList",props:{manager:{type:String,required:!0}},computed:{disks:function(){return this.$store.getters["fm/diskList"]},selectedDisk:function(){return this.$store.state.fm[this.manager].selectedDisk}},methods:{selectDisk:function(e){this.selectedDisk!==e&&this.$store.dispatch("fm/selectDisk",{disk:e,manager:this.manager})}}},Ke=Xe,Ye=(n("90ef"),Ae(Ke,Ve,Ge,!1,null,null,null)),Ze=Ye.exports,Qe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-breadcrumb"},[n("nav",{attrs:{"aria-label":"breadcrumb"}},[n("ol",{staticClass:"breadcrumb",class:[e.manager===e.activeManager?"active-manager":"bg-light"]},[n("li",{staticClass:"breadcrumb-item",on:{click:e.selectMainDirectory}},[e._m(0)]),e._l(e.breadcrumb,function(t,i){return n("li",{key:i,staticClass:"breadcrumb-item text-truncate",class:[e.breadcrumb.length===i+1?"active":""],on:{click:function(t){return e.selectDirectory(i)}}},[n("span",[e._v(e._s(t))])])})],2)])])},Je=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"badge badge-secondary"},[n("i",{staticClass:"far fa-hdd"})])}],et={name:"Breadcrumb",props:{manager:{type:String,required:!0}},computed:{activeManager:function(){return this.$store.state.fm.activeManager},selectedDisk:function(){return this.$store.state.fm[this.manager].selectedDisk},selectedDirectory:function(){return this.$store.state.fm[this.manager].selectedDirectory},breadcrumb:function(){return this.$store.getters["fm/".concat(this.manager,"/breadcrumb")]}},methods:{selectDirectory:function(e){var t=this.breadcrumb.slice(0,e+1).join("/");t!==this.selectedDirectory&&this.$store.dispatch("fm/".concat(this.manager,"/selectDirectory"),{path:t,history:!0})},selectMainDirectory:function(){this.selectedDirectory&&this.$store.dispatch("fm/".concat(this.manager,"/selectDirectory"),{path:null,history:!0})}}},tt=et,nt=(n("5cb0"),Ae(tt,Qe,Je,!1,null,null,null)),it=nt.exports,rt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-table"},[n("table",{staticClass:"table table-sm"},[n("thead",[n("tr",[n("th",{staticClass:"w-65",on:{click:function(t){return e.sortBy("name")}}},[e._v("\n "+e._s(e.lang.manager.table.name)+"\n "),"name"===e.sortSettings.field?[n("i",{directives:[{name:"show",rawName:"v-show",value:"down"===e.sortSettings.direction,expression:"sortSettings.direction === 'down'"}],staticClass:"fas fa-sort-amount-down"}),n("i",{directives:[{name:"show",rawName:"v-show",value:"up"===e.sortSettings.direction,expression:"sortSettings.direction === 'up'"}],staticClass:"fas fa-sort-amount-up"})]:e._e()],2),n("th",{staticClass:"w-10",on:{click:function(t){return e.sortBy("size")}}},[e._v("\n "+e._s(e.lang.manager.table.size)+"\n "),"size"===e.sortSettings.field?[n("i",{directives:[{name:"show",rawName:"v-show",value:"down"===e.sortSettings.direction,expression:"sortSettings.direction === 'down'"}],staticClass:"fas fa-sort-amount-down"}),n("i",{directives:[{name:"show",rawName:"v-show",value:"up"===e.sortSettings.direction,expression:"sortSettings.direction === 'up'"}],staticClass:"fas fa-sort-amount-up"})]:e._e()],2),n("th",{staticClass:"w-10",on:{click:function(t){return e.sortBy("type")}}},[e._v("\n "+e._s(e.lang.manager.table.type)+"\n "),"type"===e.sortSettings.field?[n("i",{directives:[{name:"show",rawName:"v-show",value:"down"===e.sortSettings.direction,expression:"sortSettings.direction === 'down'"}],staticClass:"fas fa-sort-amount-down"}),n("i",{directives:[{name:"show",rawName:"v-show",value:"up"===e.sortSettings.direction,expression:"sortSettings.direction === 'up'"}],staticClass:"fas fa-sort-amount-up"})]:e._e()],2),n("th",{on:{click:function(t){return e.sortBy("date")}}},[e._v("\n "+e._s(e.lang.manager.table.date)+"\n "),"date"===e.sortSettings.field?[n("i",{directives:[{name:"show",rawName:"v-show",value:"down"===e.sortSettings.direction,expression:"sortSettings.direction === 'down'"}],staticClass:"fas fa-sort-amount-down"}),n("i",{directives:[{name:"show",rawName:"v-show",value:"up"===e.sortSettings.direction,expression:"sortSettings.direction === 'up'"}],staticClass:"fas fa-sort-amount-up"})]:e._e()],2)])]),n("tbody",[n("tr",[n("td",{staticClass:"fm-content-item",attrs:{colspan:"4"},on:{click:e.levelUp}},[n("i",{staticClass:"fas fa-level-up-alt"})])]),e._l(e.directories,function(t,i){return n("tr",{key:"d-"+i,class:{"table-info":e.checkSelect("directories",t.path)},on:{click:function(n){return e.selectItem("directories",t.path,n)},contextmenu:function(n){return n.preventDefault(),e.contextMenu(t,n)}}},[n("td",{staticClass:"fm-content-item unselectable",class:e.acl&&0===t.acl?"text-hidden":"",on:{dblclick:function(n){return e.selectDirectory(t.path)}}},[n("i",{staticClass:"far fa-folder"}),e._v(" "+e._s(t.basename)+"\n ")]),n("td"),n("td",[e._v(e._s(e.lang.manager.table.folder))]),n("td",[e._v("\n "+e._s(e.timestampToDate(t.timestamp))+"\n ")])])}),e._l(e.files,function(t,i){return n("tr",{key:"f-"+i,class:{"table-info":e.checkSelect("files",t.path)},on:{click:function(n){return e.selectItem("files",t.path,n)},dblclick:function(n){return e.selectAction(t.path,t.extension)},contextmenu:function(n){return n.preventDefault(),e.contextMenu(t,n)}}},[n("td",{staticClass:"fm-content-item unselectable",class:e.acl&&0===t.acl?"text-hidden":""},[n("i",{staticClass:"far",class:e.extensionToIcon(t.extension)}),e._v("\n "+e._s(t.filename?t.filename:t.basename)+"\n ")]),n("td",[e._v(e._s(e.bytesToHuman(t.size)))]),n("td",[e._v("\n "+e._s(t.extension)+"\n ")]),n("td",[e._v("\n "+e._s(e.timestampToDate(t.timestamp))+"\n ")])])})],2)])])},at=[],ot={methods:{bytesToHuman:function(e){var t=["Bytes","KB","MB","GB","TB"];if(0===e)return"0 Bytes";var n=parseInt(Math.floor(Math.log(e)/Math.log(1024)),10);return 0===n?"".concat(e," ").concat(t[n]):"".concat((e/Math.pow(1024,n)).toFixed(1)," ").concat(t[n])},timestampToDate:function(e){if(void 0===e)return"-";var t=new Date(1e3*e);return t.toLocaleString()},mimeToIcon:function(e){var t={"image/gif":"fa-file-image","image/png":"fa-file-image","image/jpeg":"fa-file-image","image/bmp":"fa-file-image","image/webp":"fa-file-image","image/tiff":"fa-file-image","image/svg+xml":"fa-file-image","text/plain":"fa-file-alt","text/javascript":"fa-file-code","application/json":"fa-file-code","text/markdown":"fa-file-code","text/html":"fa-file-code","text/css":"fa-file-code","audio/midi":"fa-file-audio","audio/mpeg":"fa-file-audio","audio/webm":"fa-file-audio","audio/ogg":"fa-file-audio","audio/wav":"fa-file-audio","audio/aac":"fa-file-audio","audio/x-wav":"fa-file-audio","audio/mp4":"fa-file-audio","video/webm":"fa-file-video","video/ogg":"fa-file-video","video/mpeg":"fa-file-video","video/3gpp":"fa-file-video","video/x-flv":"fa-file-video","video/mp4":"fa-file-video","video/quicktime":"fa-file-video","video/x-msvideo":"fa-file-video","video/vnd.dlna.mpeg-tts":"fa-file-video","application/x-bzip":"fa-file-archive","application/x-bzip2":"fa-file-archive","application/x-tar":"fa-file-archive","application/gzip":"fa-file-archive","application/zip":"fa-file-archive","application/x-7z-compressed":"fa-file-archive","application/x-rar-compressed":"fa-file-archive","application/pdf":"fa-file-pdf","application/rtf":"fa-file-word","application/msword":"fa-file-word","application/vnd.ms-word":"fa-file-word","application/vnd.ms-excel":"fa-file-excel","application/vnd.ms-powerpoint":"fa-file-powerpoint","application/vnd.oasis.opendocument.text":"fa-file-word","application/vnd.oasis.opendocument.spreadsheet":"fa-file-excel","application/vnd.oasis.opendocument.presentation":"fa-file-powerpoint","application/vnd.openxmlformats-officedocument.wordprocessingml":"fa-file-word","application/vnd.openxmlformats-officedocument.spreadsheetml":"fa-file-excel","application/vnd.openxmlformats-officedocument.presentationml":"fa-file-powerpoint"};return void 0!==t[e]?t[e]:"fa-file"},extensionToIcon:function(e){var t={gif:"fa-file-image",png:"fa-file-image",jpeg:"fa-file-image",jpg:"fa-file-image",bmp:"fa-file-image",psd:"fa-file-image",svg:"fa-file-image",ico:"fa-file-image",ai:"fa-file-image",tif:"fa-file-image",tiff:"fa-file-image",txt:"fa-file-alt",js:"fa-file-code",php:"fa-file-code",css:"fa-file-code",cpp:"fa-file-code",class:"fa-file-code",h:"fa-file-code",java:"fa-file-code",sh:"fa-file-code",swift:"fa-file-code",aif:"fa-file-audio",cda:"fa-file-audio",mid:"fa-file-audio",mp3:"fa-file-audio",mpa:"fa-file-audio",ogg:"fa-file-audio",wav:"fa-file-audio",wma:"fa-file-audio",wmv:"fa-file-video",avi:"fa-file-video",mpeg:"fa-file-video",mpg:"fa-file-video",flv:"fa-file-video",mp4:"fa-file-video",mkv:"fa-file-video",mov:"fa-file-video",ts:"fa-file-video","3gpp":"fa-file-video",zip:"fa-file-archive",arj:"fa-file-archive",deb:"fa-file-archive",pkg:"fa-file-archive",rar:"fa-file-archive",rpm:"fa-file-archive","7z":"fa-file-archive","tar.gz":"fa-file-archive",pdf:"fa-file-pdf",rtf:"fa-file-word",doc:"fa-file-word",docx:"fa-file-word",odt:"fa-file-word",xlr:"fa-file-excel",xls:"fa-file-excel",xlsx:"fa-file-excel",ppt:"fa-file-powerpoint",pptx:"fa-file-powerpoint",pptm:"fa-file-powerpoint",xps:"fa-file-powerpoint",potx:"fa-file-powerpoint"};return e&&void 0!==t[e.toLowerCase()]?t[e.toLowerCase()]:"fa-file"}}},st={computed:{selectedDisk:function(){return this.$store.state.fm[this.manager].selectedDisk},selectedDirectory:function(){return this.$store.state.fm[this.manager].selectedDirectory},files:function(){return this.$store.state.fm[this.manager].files},directories:function(){return this.$store.state.fm[this.manager].directories},selected:function(){return this.$store.state.fm[this.manager].selected},acl:function(){return this.$store.state.fm.settings.acl}},methods:{selectDirectory:function(e){this.$store.dispatch("fm/".concat(this.manager,"/selectDirectory"),{path:e,history:!0})},levelUp:function(){if(this.selectedDirectory){var e=this.selectedDirectory.split("/").slice(0,-1).join("/");this.$store.dispatch("fm/".concat(this.manager,"/selectDirectory"),{path:e||null,history:!0})}},checkSelect:function(e,t){return this.selected[e].includes(t)},selectItem:function(e,t,n){var i=this.selected[e].includes(t);n.ctrlKey&&(i?this.$store.commit("fm/".concat(this.manager,"/removeSelected"),{type:e,path:t}):this.$store.commit("fm/".concat(this.manager,"/setSelected"),{type:e,path:t})),n.ctrlKey||i||this.$store.commit("fm/".concat(this.manager,"/changeSelected"),{type:e,path:t})},contextMenu:function(e,t){var n="dir"===e.type?"directories":"files",i=this.selected[n].includes(e.path);i||this.$store.commit("fm/".concat(this.manager,"/changeSelected"),{type:n,path:e.path}),_e.$emit("contextMenu",t)},selectAction:function(e,t){this.$store.state.fm.fileCallback?this.$store.dispatch("fm/url",{disk:this.selectedDisk,path:e}):t&&(this.$store.state.fm.settings.imageExtensions.includes(t.toLowerCase())?this.$store.commit("fm/modal/setModalState",{modalName:"Preview",show:!0}):Object.keys(this.$store.state.fm.settings.textExtensions).includes(t.toLowerCase())?this.$store.commit("fm/modal/setModalState",{modalName:"TextEdit",show:!0}):this.$store.state.fm.settings.audioExtensions.includes(t.toLowerCase())?this.$store.commit("fm/modal/setModalState",{modalName:"AudioPlayer",show:!0}):this.$store.state.fm.settings.videoExtensions.includes(t.toLowerCase())&&this.$store.commit("fm/modal/setModalState",{modalName:"VideoPlayer",show:!0}))}}},lt={name:"table-view",mixins:[Te,ot,st],props:{manager:{type:String,required:!0}},computed:{sortSettings:function(){return this.$store.state.fm[this.manager].sort}},methods:{sortBy:function(e){this.$store.dispatch("fm/".concat(this.manager,"/sortBy"),{field:e,direction:null})}}},ct=lt,ut=(n("608d"),Ae(ct,rt,at,!1,null,null,null)),dt=ut.exports,ft=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-grid"},[n("div",{staticClass:"d-flex align-content-start flex-wrap"},[n("div",{staticClass:"fm-grid-item text-center",on:{click:e.levelUp}},[e._m(0),e._m(1)]),e._l(e.directories,function(t,i){return n("div",{key:"d-"+i,staticClass:"fm-grid-item text-center unselectable",class:{active:e.checkSelect("directories",t.path)},attrs:{title:t.basename},on:{click:function(n){return e.selectItem("directories",t.path,n)},dblclick:function(n){return n.stopPropagation(),e.selectDirectory(t.path)},contextmenu:function(n){return n.preventDefault(),e.contextMenu(t,n)}}},[n("div",{staticClass:"fm-item-icon"},[n("i",{staticClass:"fa-5x pb-2",class:e.acl&&0===t.acl?"fas fa-unlock-alt":"far fa-folder"})]),n("div",{staticClass:"fm-item-info"},[e._v(e._s(t.basename))])])}),e._l(e.files,function(t,i){return n("div",{key:"f-"+i,staticClass:"fm-grid-item text-center unselectable",class:{active:e.checkSelect("files",t.path)},attrs:{title:t.basename},on:{click:function(n){return e.selectItem("files",t.path,n)},dblclick:function(n){return e.selectAction(t.path,t.extension)},contextmenu:function(n){return n.preventDefault(),e.contextMenu(t,n)}}},[n("div",{staticClass:"fm-item-icon"},[e.acl&&0===t.acl?[n("i",{staticClass:"fas fa-unlock-alt fa-5x pb-2"})]:e.thisImage(t.extension)?[n("img",{staticClass:"img-thumbnail",attrs:{alt:t.filename,src:e.createImgUrl(t.path)}})]:[n("i",{staticClass:"far fa-5x pb-2",class:e.extensionToIcon(t.extension)})]],2),n("div",{staticClass:"fm-item-info"},[e._v("\n "+e._s(t.filename+"."+t.extension)+"\n "),n("br"),e._v("\n "+e._s(e.bytesToHuman(t.size))+"\n ")])])})],2)])},pt=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-item-icon"},[n("i",{staticClass:"fas fa-level-up-alt fa-5x pb-2"})])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-item-info"},[n("strong",[e._v("..")])])}],ht={name:"grid-view",mixins:[Te,ot,st],data:function(){return{disk:""}},props:{manager:{type:String,required:!0}},mounted:function(){this.disk=this.selectedDisk},beforeUpdate:function(){this.disk!==this.selectedDisk&&(this.disk=this.selectedDisk)},computed:{imageExtensions:function(){return this.$store.state.fm.settings.imageExtensions}},methods:{thisImage:function(e){return!!e&&this.imageExtensions.includes(e.toLowerCase())},createImgUrl:function(e){return"".concat(this.$store.getters["fm/settings/baseUrl"],"thumbnails?disk=").concat(this.disk,"&path=").concat(e)}}},mt=ht,gt=(n("2928"),Ae(mt,ft,pt,!1,null,null,null)),vt=gt.exports,yt={name:"Manager",components:{DiskList:Ze,Breadcrumb:it,TableView:dt,GridView:vt},props:{manager:{type:String,required:!0}},computed:{viewType:function(){return this.$store.state.fm[this.manager].viewType}}},bt=yt,wt=(n("a04d"),Ae(bt,We,Ue,!1,null,null,null)),xt=wt.exports,kt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fm-modal"}},[n("div",{ref:"fmModal",staticClass:"fm-modal",on:{click:e.hideModal}},[n("div",{staticClass:"modal-dialog",class:e.modalSize,attrs:{role:"document"},on:{click:function(e){e.stopPropagation()}}},[n(e.modalName,{tag:"component"})],1)])])},_t=[],Ct=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-folder"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[e._v(e._s(e.lang.modal.newFile.title))]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"fm-file-name"}},[e._v(e._s(e.lang.modal.newFile.fieldName))]),n("input",{directives:[{name:"focus",rawName:"v-focus"},{name:"model",rawName:"v-model",value:e.fileName,expression:"fileName"}],staticClass:"form-control",class:{"is-invalid":e.fileExist},attrs:{type:"text",id:"fm-file-name"},domProps:{value:e.fileName},on:{keyup:e.validateFileName,input:function(t){t.target.composing||(e.fileName=t.target.value)}}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.fileExist,expression:"fileExist"}],staticClass:"invalid-feedback"},[e._v("\n "+e._s(e.lang.modal.newFile.fieldFeedback)+"\n ")])])]),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-info",attrs:{disabled:!e.submitActive},on:{click:e.addFile}},[e._v(e._s(e.lang.btn.submit)+"\n ")]),n("button",{staticClass:"btn btn-default",on:{click:e.hideModal}},[e._v(e._s(e.lang.btn.cancel))])])])},St=[],Tt={directives:{focus:{inserted:function(e){e.focus()}}},computed:{activeManager:function(){return this.$store.state.fm.activeManager}},methods:{hideModal:function(){this.$store.commit("fm/modal/setModalState",{modalName:null,show:!1})}}},Mt={name:"NewFile",mixins:[Tt,Te],data:function(){return{fileName:"",fileExist:!1}},computed:{submitActive:function(){return this.fileName&&!this.fileExist}},methods:{validateFileName:function(){this.fileName?this.fileExist=this.$store.getters["fm/".concat(this.activeManager,"/fileExist")](this.fileName):this.fileExist=!1},addFile:function(){var e=this;this.$store.dispatch("fm/createFile",this.fileName).then(function(t){"success"===t.data.result.status&&e.hideModal()})}}},Et=Mt,At=Ae(Et,Ct,St,!1,null,null,null),Lt=At.exports,Nt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-folder"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[e._v(e._s(e.lang.modal.newFolder.title))]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"fm-folder-name"}},[e._v(e._s(e.lang.modal.newFolder.fieldName))]),n("input",{directives:[{name:"focus",rawName:"v-focus"},{name:"model",rawName:"v-model",value:e.directoryName,expression:"directoryName"}],staticClass:"form-control",class:{"is-invalid":e.directoryExist},attrs:{type:"text",id:"fm-folder-name"},domProps:{value:e.directoryName},on:{keyup:e.validateDirName,input:function(t){t.target.composing||(e.directoryName=t.target.value)}}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.directoryExist,expression:"directoryExist"}],staticClass:"invalid-feedback"},[e._v("\n "+e._s(e.lang.modal.newFolder.fieldFeedback)+"\n ")])])]),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-info",attrs:{disabled:!e.submitActive},on:{click:e.addFolder}},[e._v(e._s(e.lang.btn.submit)+"\n ")]),n("button",{staticClass:"btn btn-default",on:{click:e.hideModal}},[e._v(e._s(e.lang.btn.cancel))])])])},Dt=[],Ot={name:"NewFolder",mixins:[Tt,Te],data:function(){return{directoryName:"",directoryExist:!1}},computed:{submitActive:function(){return this.directoryName&&!this.directoryExist}},methods:{validateDirName:function(){this.directoryName?this.directoryExist=this.$store.getters["fm/".concat(this.activeManager,"/directoryExist")](this.directoryName):this.directoryExist=!1},addFolder:function(){var e=this;this.$store.dispatch("fm/createDirectory",this.directoryName).then(function(t){"success"===t.data.result.status&&e.hideModal()})}}},Pt=Ot,It=Ae(Pt,Nt,Dt,!1,null,null,null),Ft=It.exports,zt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-upload"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[e._v(e._s(e.lang.modal.upload.title))]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.progressBar,expression:"!progressBar"}],staticClass:"fm-btn-wrapper"},[n("button",{staticClass:"btn btn-secondary btn-block",attrs:{type:"button"}},[e._v("\n "+e._s(e.lang.btn.uploadSelect)+"\n ")]),n("input",{attrs:{type:"file",multiple:"",name:"myfile"},on:{change:function(t){return e.selectFiles(t)}}})]),e.countFiles?n("div",{staticClass:"fm-upload-list"},[e._l(e.newFiles,function(t,i){return n("div",{key:i,staticClass:"d-flex justify-content-between"},[n("div",{staticClass:"w-75 text-truncate"},[n("i",{staticClass:"far",class:e.mimeToIcon(t.type)}),e._v("\n "+e._s(t.name)+"\n ")]),n("div",{staticClass:"text-right"},[e._v("\n "+e._s(e.bytesToHuman(t.size))+"\n ")])])}),n("hr"),n("div",{staticClass:"d-flex justify-content-between"},[n("div",[n("strong",[e._v(e._s(e.lang.modal.upload.selected))]),e._v("\n "+e._s(e.newFiles.length)+"\n ")]),n("div",{staticClass:"text-right"},[n("strong",[e._v(e._s(e.lang.modal.upload.size))]),e._v("\n "+e._s(e.allFilesSize)+"\n ")])]),n("hr"),n("div",{staticClass:"d-flex justify-content-between"},[n("div",[n("strong",[e._v(e._s(e.lang.modal.upload.ifExist))])]),n("div",{staticClass:"form-check form-check-inline"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.overwrite,expression:"overwrite"}],staticClass:"form-check-input",attrs:{id:"uploadRadio1",type:"radio",name:"uploadOptions",value:"0",checked:""},domProps:{checked:e._q(e.overwrite,"0")},on:{change:function(t){e.overwrite="0"}}}),n("label",{staticClass:"form-check-label",attrs:{for:"uploadRadio1"}},[e._v("\n "+e._s(e.lang.modal.upload.skip)+"\n ")])]),n("div",{staticClass:"form-check form-check-inline"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.overwrite,expression:"overwrite"}],staticClass:"form-check-input",attrs:{id:"uploadRadio2",type:"radio",name:"uploadOptions",value:"1",checked:""},domProps:{checked:e._q(e.overwrite,"1")},on:{change:function(t){e.overwrite="1"}}}),n("label",{staticClass:"form-check-label",attrs:{for:"uploadRadio2"}},[e._v("\n "+e._s(e.lang.modal.upload.overwrite)+"\n ")])])]),n("hr")],2):n("div",[n("p",[e._v(e._s(e.lang.modal.upload.noSelected))])]),n("div",{staticClass:"fm-upload-info"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.countFiles,expression:"countFiles"}],staticClass:"progress"},[n("div",{staticClass:"progress-bar progress-bar-striped bg-info",style:{width:e.progressBar+"%"},attrs:{role:"progressbar","aria-valuenow":e.progressBar,"aria-valuemin":"0","aria-valuemax":"100"}},[e._v("\n "+e._s(e.progressBar)+"%\n ")])])])]),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn",class:[e.countFiles?"btn-info":"btn-default"],attrs:{disabled:!e.countFiles},on:{click:e.uploadFiles}},[e._v(e._s(e.lang.btn.submit)+"\n ")]),n("button",{staticClass:"btn btn-default",on:{click:function(t){return e.hideModal()}}},[e._v(e._s(e.lang.btn.cancel))])])])},$t=[],jt={name:"Upload",mixins:[Tt,Te,ot],data:function(){return{newFiles:[],overwrite:0}},computed:{progressBar:function(){return this.$store.state.fm.messages.actionProgress},countFiles:function(){return this.newFiles.length},allFilesSize:function(){for(var e=0,t=0;t=2)e.mixin({beforeCreate:i});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[i].concat(e.init):i,n.call(this,e)}}function i(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}var a="undefined"!==typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(e){a&&(e._devtoolHook=a,a.emit("vuex:init",e),a.on("vuex:travel-to-state",function(t){e.replaceState(t)}),e.subscribe(function(e,t){a.emit("vuex:mutation",e,t)}))}function s(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function l(e){return null!==e&&"object"===typeof e}function c(e){return e&&"function"===typeof e.then}var u=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},d={namespaced:{configurable:!0}};d.namespaced.get=function(){return!!this._rawModule.namespaced},u.prototype.addChild=function(e,t){this._children[e]=t},u.prototype.removeChild=function(e){delete this._children[e]},u.prototype.getChild=function(e){return this._children[e]},u.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},u.prototype.forEachChild=function(e){s(this._children,e)},u.prototype.forEachGetter=function(e){this._rawModule.getters&&s(this._rawModule.getters,e)},u.prototype.forEachAction=function(e){this._rawModule.actions&&s(this._rawModule.actions,e)},u.prototype.forEachMutation=function(e){this._rawModule.mutations&&s(this._rawModule.mutations,e)},Object.defineProperties(u.prototype,d);var f=function(e){this.register([],e,!1)};function p(e,t,n){if(t.update(n),n.modules)for(var i in n.modules){if(!t.getChild(i))return void 0;p(e.concat(i),t.getChild(i),n.modules[i])}}f.prototype.get=function(e){return e.reduce(function(e,t){return e.getChild(t)},this.root)},f.prototype.getNamespace=function(e){var t=this.root;return e.reduce(function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")},"")},f.prototype.update=function(e){p([],this.root,e)},f.prototype.register=function(e,t,n){var i=this;void 0===n&&(n=!0);var r=new u(t,n);if(0===e.length)this.root=r;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],r)}t.modules&&s(t.modules,function(t,r){i.register(e.concat(r),t,n)})},f.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];t.getChild(n).runtime&&t.removeChild(n)};var h;var m=function(e){var t=this;void 0===e&&(e={}),!h&&"undefined"!==typeof window&&window.Vue&&A(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var i=e.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new f(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new h;var r=this,a=this,s=a.dispatch,l=a.commit;this.dispatch=function(e,t){return s.call(r,e,t)},this.commit=function(e,t,n){return l.call(r,e,t,n)},this.strict=i;var c=this._modules.root.state;w(this,c,[],this._modules.root),b(this,c),n.forEach(function(e){return e(t)});var u=void 0!==e.devtools?e.devtools:h.config.devtools;u&&o(this)},g={state:{configurable:!0}};function v(e,t){return t.indexOf(e)<0&&t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function y(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;w(e,n,[],e._modules.root,!0),b(e,n,t)}function b(e,t,n){var i=e._vm;e.getters={};var r=e._wrappedGetters,a={};s(r,function(t,n){a[n]=function(){return t(e)},Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})});var o=h.config.silent;h.config.silent=!0,e._vm=new h({data:{$$state:t},computed:a}),h.config.silent=o,e.strict&&T(e),i&&(n&&e._withCommit(function(){i._data.$$state=null}),h.nextTick(function(){return i.$destroy()}))}function w(e,t,n,i,r){var a=!n.length,o=e._modules.getNamespace(n);if(i.namespaced&&(e._modulesNamespaceMap[o]=i),!a&&!r){var s=M(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){h.set(s,l,i.state)})}var c=i.context=x(e,o,n);i.forEachMutation(function(t,n){var i=o+n;_(e,i,t,c)}),i.forEachAction(function(t,n){var i=t.root?n:o+n,r=t.handler||t;C(e,i,r,c)}),i.forEachGetter(function(t,n){var i=o+n;S(e,i,t,c)}),i.forEachChild(function(i,a){w(e,t,n.concat(a),i,r)})}function x(e,t,n){var i=""===t,r={dispatch:i?e.dispatch:function(n,i,r){var a=E(n,i,r),o=a.payload,s=a.options,l=a.type;return s&&s.root||(l=t+l),e.dispatch(l,o)},commit:i?e.commit:function(n,i,r){var a=E(n,i,r),o=a.payload,s=a.options,l=a.type;s&&s.root||(l=t+l),e.commit(l,o,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return e.getters}:function(){return k(e,t)}},state:{get:function(){return M(e.state,n)}}}),r}function k(e,t){var n={},i=t.length;return Object.keys(e.getters).forEach(function(r){if(r.slice(0,i)===t){var a=r.slice(i);Object.defineProperty(n,a,{get:function(){return e.getters[r]},enumerable:!0})}}),n}function _(e,t,n,i){var r=e._mutations[t]||(e._mutations[t]=[]);r.push(function(t){n.call(e,i.state,t)})}function C(e,t,n,i){var r=e._actions[t]||(e._actions[t]=[]);r.push(function(t,r){var a=n.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t,r);return c(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(t){throw e._devtoolHook.emit("vuex:error",t),t}):a})}function S(e,t,n,i){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(i.state,i.getters,e.state,e.getters)})}function T(e){e._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}function M(e,t){return t.length?t.reduce(function(e,t){return e[t]},e):e}function E(e,t,n){return l(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function A(e){h&&e===h||(h=e,r(h))}g.state.get=function(){return this._vm._data.$$state},g.state.set=function(e){0},m.prototype.commit=function(e,t,n){var i=this,r=E(e,t,n),a=r.type,o=r.payload,s=(r.options,{type:a,payload:o}),l=this._mutations[a];l&&(this._withCommit(function(){l.forEach(function(e){e(o)})}),this._subscribers.forEach(function(e){return e(s,i.state)}))},m.prototype.dispatch=function(e,t){var n=this,i=E(e,t),r=i.type,a=i.payload,o={type:r,payload:a},s=this._actions[r];if(s){try{this._actionSubscribers.filter(function(e){return e.before}).forEach(function(e){return e.before(o,n.state)})}catch(c){0}var l=s.length>1?Promise.all(s.map(function(e){return e(a)})):s[0](a);return l.then(function(e){try{n._actionSubscribers.filter(function(e){return e.after}).forEach(function(e){return e.after(o,n.state)})}catch(c){0}return e})}},m.prototype.subscribe=function(e){return v(e,this._subscribers)},m.prototype.subscribeAction=function(e){var t="function"===typeof e?{before:e}:e;return v(t,this._actionSubscribers)},m.prototype.watch=function(e,t,n){var i=this;return this._watcherVM.$watch(function(){return e(i.state,i.getters)},t,n)},m.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._vm._data.$$state=e})},m.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),w(this,this.state,e,this._modules.get(e),n.preserveState),b(this,this.state)},m.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=M(t.state,e.slice(0,-1));h.delete(n,e[e.length-1])}),y(this)},m.prototype.hotUpdate=function(e){this._modules.update(e),y(this,!0)},m.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(m.prototype,g);var L=F(function(e,t){var n={};return I(t).forEach(function(t){var i=t.key,r=t.val;n[i]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var i=z(this.$store,"mapState",e);if(!i)return;t=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,t,n):t[r]},n[i].vuex=!0}),n}),N=F(function(e,t){var n={};return I(t).forEach(function(t){var i=t.key,r=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.commit;if(e){var a=z(this.$store,"mapMutations",e);if(!a)return;i=a.context.commit}return"function"===typeof r?r.apply(this,[i].concat(t)):i.apply(this.$store,[r].concat(t))}}),n}),D=F(function(e,t){var n={};return I(t).forEach(function(t){var i=t.key,r=t.val;r=e+r,n[i]=function(){if(!e||z(this.$store,"mapGetters",e))return this.$store.getters[r]},n[i].vuex=!0}),n}),O=F(function(e,t){var n={};return I(t).forEach(function(t){var i=t.key,r=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.dispatch;if(e){var a=z(this.$store,"mapActions",e);if(!a)return;i=a.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(t)):i.apply(this.$store,[r].concat(t))}}),n}),P=function(e){return{mapState:L.bind(null,e),mapGetters:D.bind(null,e),mapMutations:N.bind(null,e),mapActions:O.bind(null,e)}};function I(e){return Array.isArray(e)?e.map(function(e){return{key:e,val:e}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}})}function F(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function z(e,t,n){var i=e._modulesNamespaceMap[n];return i}var $={Store:m,install:A,version:"3.1.0",mapState:L,mapMutations:N,mapGetters:D,mapActions:O,createNamespacedHelpers:P},j=$,R={cleanTree:function(e){e.directories=[],e.counter=1},addDirectories:function(e,t){var n=t.directories,i=t.parentId;n.forEach(function(t){t.id=e.counter,t.parentId=i,t.props.subdirectoriesLoaded=!1,t.props.showSubdirectories=!1,e.counter+=1,e.directories.push(t)})},replaceDirectories:function(e,t){e.directories=t},updateDirectoryProps:function(e,t){var n=t.index,i=t.props;for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e.directories[n].props[r]=i[r])},addToTempArray:function(e,t){e.tempIndexArray.push(t)},clearTempArray:function(e){e.tempIndexArray=[]}},q={findDirectoryIndex:function(e){return function(t){return e.directories.findIndex(function(e){return e.path===t})}}},B=n("bc3a"),H=n.n(B);function W(){var e={},t=document.head.querySelector('meta[name="csrf-token"]');return t||console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token"),e={"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":t.content},e}function U(){var e;return e="".concat(window.location.protocol,"//").concat(window.location.hostname),window.location.port.length?e+=":".concat(window.location.port,"/file-manager/"):e+="/file-manager/",e}var V=H.a.create({baseURL:U(),headers:W()}),G={initialize:function(){return V.get("initialize")},tree:function(e,t){return V.get("tree",{params:{disk:e,path:t}})},selectDisk:function(e){return V.get("select-disk",{params:{disk:e}})},content:function(e,t){return V.get("content",{params:{disk:e,path:t}})},url:function(e,t){return V.get("url",{params:{disk:e,path:t}})},getFile:function(e,t){return V.get("download",{params:{disk:e,path:t}})}};function X(e){return X="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},X(e)}var K={initTree:function(e,t){var n=e.state,i=e.commit;return G.tree(t,null).then(function(e){"success"===e.data.result.status&&(n.directories&&i("cleanTree"),i("addDirectories",{parentId:0,directories:e.data.directories}))})},addToTree:function(e,t){var n=e.state,i=e.commit,r=e.getters,a=t.parentPath,o=t.newDirectory;if(a){var s=r.findDirectoryIndex(a);-1!==s?(i("addDirectories",{directories:o,parentId:n.directories[s].id}),i("updateDirectoryProps",{index:s,props:{hasSubdirectories:!0,showSubdirectories:!0,subdirectoriesLoaded:!0}})):i("fm/messages/setError",{message:"Directory not found"},{root:!0})}else i("addDirectories",{directories:o,parentId:0})},deleteFromTree:function(e,t){var n=e.state,i=e.commit,r=e.getters,a=e.dispatch;t.forEach(function(e){var t=r.findDirectoryIndex(e.path);-1!==t&&(i("addToTempArray",t),n.directories[t].props.hasSubdirectories&&a("subDirsFinder",n.directories[t].id))});var o=n.directories.filter(function(e,t){return-1===n.tempIndexArray.indexOf(t)&&e});i("replaceDirectories",o),i("clearTempArray")},subDirsFinder:function(e,t){var n=e.state,i=e.commit,r=e.dispatch;n.directories.forEach(function(e,n){e.parentId===t&&(i("addToTempArray",n),e.props.hasSubdirectories&&r("subDirsFinder",e.id))})},getSubdirectories:function(e,t){var n=e.commit,i=e.rootGetters,r=t.path,a=t.parentId,o=t.parentIndex;return G.tree(i["fm/selectedDisk"],r).then(function(e){"success"===e.data.result.status&&(n("addDirectories",{parentId:a,directories:e.data.directories}),n("updateDirectoryProps",{index:o,props:{subdirectoriesLoaded:!0}}))})},showSubdirectories:function(e,t){var n=e.state,i=e.commit,r=e.getters,a=e.dispatch,o=Promise.resolve(),s=r.findDirectoryIndex(t);if(-1!==s){if(!n.directories[s].props.subdirectoriesLoaded)return a("getSubdirectories",{path:n.directories[s].path,parentId:n.directories[s].id,parentIndex:s}).then(function(){i("updateDirectoryProps",{index:s,props:{showSubdirectories:!0}})});i("updateDirectoryProps",{index:s,props:{showSubdirectories:!0}})}else i("fm/messages/setError",{message:"Directory not found"},{root:!0});return o},hideSubdirectories:function(e,t){var n=e.commit,i=e.getters,r=i.findDirectoryIndex(t);-1!==r?n("updateDirectoryProps",{index:r,props:{showSubdirectories:!1}}):n("fm/messages/setError",{message:"Directory not found"},{root:!0})},reopenPath:function(e,t){var n=e.dispatch,i=Promise.resolve();if(t){var r=function(){for(var e=t.split("/"),r=function(t){i=i.then(function(){return n("showSubdirectories",e.slice(0,t+1).join("/"))})},a=0;e.length>a;a+=1)r(a);return{v:i}}();if("object"===X(r))return r.v}return i}},Y={namespaced:!0,state:function(){return{directories:[],counter:1,tempIndexArray:[]}},mutations:R,getters:q,actions:K},Z={setModalState:function(e,t){var n=t.show,i=t.modalName;e.showModal=n,e.modalName=i},clearModal:function(e){e.showModal=!1,e.modalName=null},setModalBlockHeight:function(e,t){e.modalBlockHeight=t}},Q={namespaced:!0,state:function(){return{showModal:!1,modalName:null,modalBlockHeight:0}},mutations:Z},J={manualSettings:function(e,t){Object.prototype.hasOwnProperty.call(t,"headers")&&(e.headers=t.headers),Object.prototype.hasOwnProperty.call(t,"baseUrl")&&(e.baseUrl=t.baseUrl),Object.prototype.hasOwnProperty.call(t,"windowsConfig")&&(e.windowsConfig=t.windowsConfig),Object.prototype.hasOwnProperty.call(t,"lang")&&(e.lang=t.lang),Object.prototype.hasOwnProperty.call(t,"translation")&&i["a"].set(e.translations,t.translation.name,Object.freeze(t.translation.content))},initBaseUrl:function(e){if(!e.baseUrl){var t="".concat(window.location.protocol,"//").concat(window.location.hostname);window.location.port.length?t+=":".concat(window.location.port,"/file-manager/"):t+="/file-manager/",e.baseUrl=t}},initSettings:function(e,t){e.lang||(e.lang=t.lang),e.windowsConfig||(e.windowsConfig=t.windowsConfig),e.acl=t.acl}},ee={baseUrl:function(e){return e.baseUrl}},te={btn:{about:"О программе",back:"Назад",cancel:"Отменить",clear:"Очистить",copy:"Копировать",cut:"Вырезать",delete:"Удалить",edit:"Редактировать",forward:"Вперед",folder:"Новая папка",file:"Новый файл",fullScreen:"На весь экран",grid:"Сетка",paste:"Вставить",refresh:"Обновить",submit:"Отправить",table:"Таблица",upload:"Загрузить",uploadSelect:"Выбрать файлы"},clipboard:{actionType:"Тип операции",copy:"Копировать",cut:"Вырезать",none:"Ничего не выбрано",title:"Буфер обмена"},contextMenu:{copy:"Копировать",cut:"Вырезать",delete:"Удалить",download:"Скачать",info:"Выбрано:",open:"Открыть",paste:"Вставить",properties:"Свойства",rename:"Переименовать",select:"Выбрать",view:"Просмотр",zip:"Архивировать",unzip:"Разархивировать",edit:"Редактировать",audioPlay:"Воспроизвести",videoPlay:"Воспроизвести"},info:{directories:"Папок:",files:"Файлов:",selected:"Выбрано:",selectedSize:"Размер:",size:"Размер файлов:"},manager:{table:{date:"Дата",folder:"Папка",name:"Имя",size:"Размер",type:"Тип"}},modal:{about:{developer:"Разработчик",name:"Laravel File Manager",title:"О программе",version:"Версия"},delete:{noSelected:"Ничего не выбрано!",title:"Удалить"},newFile:{fieldName:"Имя файла",fieldFeedback:"Такой файл уже существует!",title:"Создать новый файл"},newFolder:{fieldName:"Имя папки",fieldFeedback:"Такакя папка уже существует!",title:"Создать новую папку"},preview:{title:"Предпросмотр"},properties:{disk:"Диск",modified:"Изменен",name:"Имя",path:"Путь",size:"Размер",title:"Свойства",type:"Тип",access:"Доступ",access_0:"Нет доступа",access_1:"Только чтение",access_2:"Чтение и Запись"},rename:{directoryExist:"Папка существует",fieldName:"Введите новое имя",fieldFeedback:"Некорректное имя",fileExist:"Файл существует",title:"Переименовать"},status:{noErrors:"Ошибок нет!",title:"Состояние"},upload:{ifExist:"Если файл существует:",noSelected:"Ни одного файла не выбрано!",overwrite:"Перезаписать!",selected:"Выбрано:",size:"Размер:",skip:"Пропустить",title:"Загрузить файлы"},editor:{title:"Редактор"},audioPlayer:{title:"Аудиоплеер"},videoPlayer:{title:"Видеоплеер"},zip:{title:"Создать архив",fieldName:"Имя архива",fieldFeedback:"Такой файл уже существует!"},unzip:{title:"Распаковать архив",fieldName:"Имя папки",fieldRadioName:"Извлечь в:",fieldRadio1:"В текущую папку",fieldRadio2:"В новую папку",fieldFeedback:"Папка существует!",warning:"Внимание! При совпадении имен файлы будут перезаписаны!"},cropper:{title:"Обрезка",apply:"Применить",reset:"Сбросить",save:"Сохранить"}}},ne=te,ie={btn:{about:"About",back:"Back",cancel:"Cancel",clear:"Clear",copy:"Copy",cut:"Cut",delete:"Delete",edit:"Edit",forward:"Forward",folder:"New folder",file:"New file",fullScreen:"Full screen",grid:"Grid",paste:"Paste",refresh:"Refresh",submit:"Submit",table:"Table",upload:"Upload",uploadSelect:"Select files"},clipboard:{actionType:"Type",copy:"Copy",cut:"Cut",none:"Nothing selected",title:"Clipboard"},contextMenu:{copy:"Copy",cut:"Cut",delete:"Delete",download:"Download",info:"Selected:",open:"Open",paste:"Paste",properties:"Properties",rename:"Rename",select:"Select",view:"View",zip:"Zip",unzip:"Unzip",edit:"Edit",audioPlay:"Play",videoPlay:"Play"},info:{directories:"Folders:",files:"Files:",selected:"Selected:",selectedSize:"Files size:",size:"Files size:"},manager:{table:{date:"Date",folder:"Folder",name:"Name",size:"Size",type:"Type"}},modal:{about:{developer:"Developer",name:"Laravel File Manager",title:"About",version:"Version"},delete:{noSelected:"Nothing selected!",title:"Delete"},newFile:{fieldName:"File name",fieldFeedback:"File exists!",title:"Create new file"},newFolder:{fieldName:"Folder name",fieldFeedback:"Folder exists!",title:"Create new folder"},preview:{title:"Preview"},properties:{disk:"Disk",modified:"Modified",name:"Name",path:"Path",size:"Size",title:"Properties",type:"Type",access:"Access",access_0:"Access denied",access_1:"Only Read",access_2:"Read and Write"},rename:{directoryExist:"Directory exists",fieldName:"Enter new name",fieldFeedback:"Invalid name",fileExist:"File exists",title:"Rename"},status:{noErrors:"No errors!",title:"Status"},upload:{ifExist:"If file exist:",noSelected:"No files selected!",overwrite:"Overwrite!",selected:"Selected:",size:"Size:",skip:"Skip",title:"Upload files"},editor:{title:"Editor"},audioPlayer:{title:"Audio player"},videoPlayer:{title:"Video player"},zip:{title:"Create archive",fieldName:"Archive name",fieldFeedback:"Archive exists!"},unzip:{title:"Unpack archive",fieldName:"Folder name",fieldRadioName:"Extract to:",fieldRadio1:"To current folder",fieldRadio2:"In a new folder",fieldFeedback:"Folder exists!",warning:"Attention! If the names match, the files will be overwritten!"},cropper:{title:"Cropping",apply:"Apply",reset:"Reset",save:"Save"}}},re=ie,ae={btn:{about:"حول",back:"رجوع",cancel:"الغاء",clear:"مسح",copy:"نسخ",cut:"قص",delete:"حذف",edit:"تعديل",forward:"الى الامام",folder:"مجلد جديد",file:"ملف جديد",fullScreen:"ملء الشاشة",grid:"شبكة",paste:"لصق",refresh:"تحديث",submit:"ارسال",table:"جدول",upload:"رفع",uploadSelect:"اختر الملفات"},clipboard:{actionType:"نوع",copy:"نسخ",cut:"قص",none:"لا شيء محدد",title:"ذاكرة النصوص"},contextMenu:{copy:"نسخ",cut:"قص",delete:"حذف",download:"تحميل",info:"اختير:",open:"فتح",paste:"لصق",properties:"الخصائص",rename:"اعادة تسمية",select:"اختيار",view:"عرض",zip:"ضغط",unzip:"أستخراج",edit:"تعديل",audioPlay:"تشغيل",videoPlay:"تشغيل"},info:{directories:"المجلدات:",files:"الملفات:",selected:"أختيرت:",selectedSize:"حجم الملفات:",size:"حجم الملفات:"},manager:{table:{date:"تأريخ",folder:"مجلد",name:"أسم",size:"حجم",type:"نوع"}},modal:{about:{developer:"مطور",name:"Laravel File Manager",title:"حول",version:"الإصدار"},delete:{noSelected:"لا شيء محدد!",title:"حذف"},newFile:{fieldName:"أسم الملف",fieldFeedback:"الملف موجود!",title:"أنشاء ملف جديد"},newFolder:{fieldName:"أسم المجلد",fieldFeedback:"المجلد موجود!",title:"انشاء مجلد جديد"},preview:{title:"عرض"},properties:{disk:"قرص",modified:"تم التعديل",name:"أسم",path:"مسار",size:"حجم",title:"خصائص",type:"نوع",access:"التمكن من",access_0:"تم الرفض",access_1:"قراءة فقط",access_2:"اقرا و اكتب"},rename:{directoryExist:"المجلد موجود",fieldName:"ادخال اسم جديد",fieldFeedback:"اسم خاطئ",fileExist:"الملف موجود",title:"اعادة تسمية"},status:{noErrors:"لايوجد خطأ!",title:"الحالة"},upload:{ifExist:"اذا الملف موجود:",noSelected:"لا توجد ملفات مختارة!",overwrite:"اعادة الكتابة!",selected:"المختارة:",size:"الحجم:",skip:"تخطي",title:"رفع الملفات"},editor:{title:"محرر"},audioPlayer:{title:"مشغل الاصوات"},videoPlayer:{title:"مشغل الفيديو"},zip:{title:"أنشاء أرشيف",fieldName:"أسم الارشيف",fieldFeedback:"الارشيف موجود!"},unzip:{title:"فك الارشيف",fieldName:"أسم المجلد",fieldRadioName:"أستخراج الى:",fieldRadio1:"الى المجلد الحالي",fieldRadio2:"في مجلد جديد",fieldFeedback:"المجلد موجود!",warning:"تحذير! اذا تشابهت الاسماء, سيتم استبدال الملفات!"},cropper:{title:"قص",apply:"تطبيق",reset:"اعادة تعين",save:"حفظ"}}},oe=ae,se={namespaced:!0,state:function(){return{acl:null,version:"2.1.4",headers:{},baseUrl:null,windowsConfig:null,lang:null,translations:{ru:Object.freeze(ne),en:Object.freeze(re),ar:Object.freeze(oe)},contextMenu:[[{name:"open",icon:"far fa-folder-open"},{name:"audioPlay",icon:"fas fa-play"},{name:"videoPlay",icon:"fas fa-play"},{name:"view",icon:"fas fa-eye"},{name:"edit",icon:"fas fa-file-signature"},{name:"select",icon:"fas fa-check"},{name:"download",icon:"fas fa-download"}],[{name:"copy",icon:"far fa-copy"},{name:"cut",icon:"fas fa-cut"},{name:"rename",icon:"far fa-edit"},{name:"paste",icon:"far fa-clipboard"},{name:"zip",icon:"far fa-file-archive"},{name:"unzip",icon:"far fa-file-archive"}],[{name:"delete",icon:"far fa-trash-alt text-danger"}],[{name:"properties",icon:"far fa-list-alt"}]],imageExtensions:["png","jpg","jpeg","gif"],cropExtensions:["png","jpg","jpeg"],audioExtensions:["ogg","mp3","aac","wav"],videoExtensions:["webm","mp4"],textExtensions:{sh:"text/x-sh",css:"text/css",less:"text/x-less",sass:"text/x-sass",scss:"text/x-scss",html:"text/html",js:"text/javascript",ts:"text/typescript",vue:"text/x-vue",htaccess:"text/plain",env:"text/plain",txt:"text/plain",ini:"text/x-ini",xml:"application/xml",md:"text/x-markdown",java:"text/x-java",c:"text/x-csrc",cpp:"text/x-c++src",cs:"text/x-csharp",scl:"text/x-scala",php:"application/x-httpd-php",sql:"text/x-sql",pl:"text/x-perl",py:"text/x-python",lua:"text/x-lua",swift:"text/x-swift",rb:"text/x-ruby",go:"text/x-go",yaml:"text/x-yaml"}}},mutations:J,getters:ee},le={setDisk:function(e,t){e.selectedDisk=t},setDirectoryContent:function(e,t){e.directories=t.directories,e.files=t.files},setSelectedDirectory:function(e,t){e.selectedDirectory=t},setSelected:function(e,t){var n=t.type,i=t.path;e.selected[n].push(i)},removeSelected:function(e,t){var n=t.type,i=t.path,r=e.selected[n].indexOf(i);-1!==r&&e.selected[n].splice(r,1)},changeSelected:function(e,t){var n=t.type,i=t.path;e.selected.directories=[],e.selected.files=[],e.selected[n].push(i)},resetSelected:function(e){e.selected.directories=[],e.selected.files=[]},addNewFile:function(e,t){e.files.push(t)},updateFile:function(e,t){var n=e.files.findIndex(function(e){return e.basename===t.basename});-1!==n&&(e.files[n]=t)},addNewDirectory:function(e,t){e.directories.push(t)},pointerBack:function(e){e.historyPointer-=1},pointerForward:function(e){e.historyPointer+=1},addToHistory:function(e,t){e.historyPointer0},clipboardType:function(){return this.$store.state.fm.clipboard.type},fullScreen:function(){return this.$store.state.fm.fullScreen}},methods:{refreshAll:function(){this.$store.dispatch("fm/refreshAll")},historyBack:function(){this.$store.dispatch("fm/".concat(this.activeManager,"/historyBack"))},historyForward:function(){this.$store.dispatch("fm/".concat(this.activeManager,"/historyForward"))},toClipboard:function(e){this.$store.dispatch("fm/toClipboard",e)},paste:function(){this.$store.dispatch("fm/paste")},showModal:function(e){this.$store.commit("fm/modal/setModalState",{modalName:e,show:!0})},selectView:function(e){this.viewType!==e&&this.$store.commit("fm/".concat(this.activeManager,"/setView"),e)},screenToggle:function(){var e=document.getElementsByClassName("fm")[0];this.fullScreen?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen():e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen(),this.$store.commit("fm/screenToggle")}}},Ee=Me;n("ac66");function Ae(e,t,n,i,r,a,o,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(l=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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var Le=Ae(Ee,Ce,Se,!1,null,null,null),Ne=Le.exports,De=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-tree"},[n("div",{staticClass:"fm-tree-disk sticky-top"},[n("i",{staticClass:"far fa-hdd"}),e._v(" "+e._s(e.selectedDisk)+"\n ")]),n("branch",{attrs:{"parent-id":0}})],1)},Oe=[],Pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"list-unstyled fm-tree-branch"},e._l(e.subDirectories,function(t,i){return n("li",{key:i},[n("p",{staticClass:"unselectable",class:{selected:e.isDirectorySelected(t.path)},on:{click:function(n){return e.selectDirectory(t.path)}}},[t.props.hasSubdirectories?n("i",{staticClass:"far",class:[e.arrowState(i)?"fa-minus-square":"fa-plus-square"],on:{click:function(n){return n.stopPropagation(),e.showSubdirectories(t.path,t.props.showSubdirectories)}}}):n("i",{staticClass:"fas fa-minus fa-xs"}),e._v("\n "+e._s(t.basename)+"\n ")]),n("transition",{attrs:{name:"fade-tree"}},[t.props.hasSubdirectories?n("branch",{directives:[{name:"show",rawName:"v-show",value:e.arrowState(i),expression:"arrowState(index)"}],attrs:{"parent-id":t.id}}):e._e()],1)],1)}),0)},Ie=[],Fe={name:"Branch",props:{parentId:{type:Number,required:!0}},computed:{subDirectories:function(){var e=this;return this.$store.state.fm.tree.directories.filter(function(t){return t.parentId===e.parentId})}},methods:{isDirectorySelected:function(e){return this.$store.state.fm.left.selectedDirectory===e},arrowState:function(e){return this.subDirectories[e].props.showSubdirectories},showSubdirectories:function(e,t){t?this.$store.dispatch("fm/tree/hideSubdirectories",e):this.$store.dispatch("fm/tree/showSubdirectories",e)},selectDirectory:function(e){this.isDirectorySelected(e)||this.$store.dispatch("fm/left/selectDirectory",{path:e,history:!0})}}},ze=Fe,$e=(n("445b"),Ae(ze,Pe,Ie,!1,null,null,null)),je=$e.exports,Re={name:"FolderTree",components:{branch:je},computed:{selectedDisk:function(){return this.$store.getters["fm/selectedDisk"]}}},qe=Re,Be=(n("f669"),Ae(qe,De,Oe,!1,null,null,null)),He=Be.exports,We=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-content d-flex flex-column"},[n("disk-list",{attrs:{manager:e.manager}}),n("breadcrumb",{attrs:{manager:e.manager}}),n("div",{staticClass:"fm-content-body"},["table"===e.viewType?n("table-view",{attrs:{manager:e.manager}}):n("grid-view",{attrs:{manager:e.manager}})],1)],1)},Ue=[],Ve=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-disk-list"},[n("ul",{staticClass:"list-inline"},e._l(e.disks,function(t,i){return n("li",{key:i,staticClass:"list-inline-item"},[n("span",{staticClass:"badge",class:[t===e.selectedDisk?"badge-secondary":"badge-light"],on:{click:function(n){return e.selectDisk(t)}}},[n("i",{staticClass:"fa-fw far fa-hdd"}),e._v(" "+e._s(t)+"\n ")])])}),0)])},Ge=[],Xe={name:"DiskList",props:{manager:{type:String,required:!0}},computed:{disks:function(){return this.$store.getters["fm/diskList"]},selectedDisk:function(){return this.$store.state.fm[this.manager].selectedDisk}},methods:{selectDisk:function(e){this.selectedDisk!==e&&this.$store.dispatch("fm/selectDisk",{disk:e,manager:this.manager})}}},Ke=Xe,Ye=(n("90ef"),Ae(Ke,Ve,Ge,!1,null,null,null)),Ze=Ye.exports,Qe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-breadcrumb"},[n("nav",{attrs:{"aria-label":"breadcrumb"}},[n("ol",{staticClass:"breadcrumb",class:[e.manager===e.activeManager?"active-manager":"bg-light"]},[n("li",{staticClass:"breadcrumb-item",on:{click:e.selectMainDirectory}},[e._m(0)]),e._l(e.breadcrumb,function(t,i){return n("li",{key:i,staticClass:"breadcrumb-item text-truncate",class:[e.breadcrumb.length===i+1?"active":""],on:{click:function(t){return e.selectDirectory(i)}}},[n("span",[e._v(e._s(t))])])})],2)])])},Je=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"badge badge-secondary"},[n("i",{staticClass:"far fa-hdd"})])}],et={name:"Breadcrumb",props:{manager:{type:String,required:!0}},computed:{activeManager:function(){return this.$store.state.fm.activeManager},selectedDisk:function(){return this.$store.state.fm[this.manager].selectedDisk},selectedDirectory:function(){return this.$store.state.fm[this.manager].selectedDirectory},breadcrumb:function(){return this.$store.getters["fm/".concat(this.manager,"/breadcrumb")]}},methods:{selectDirectory:function(e){var t=this.breadcrumb.slice(0,e+1).join("/");t!==this.selectedDirectory&&this.$store.dispatch("fm/".concat(this.manager,"/selectDirectory"),{path:t,history:!0})},selectMainDirectory:function(){this.selectedDirectory&&this.$store.dispatch("fm/".concat(this.manager,"/selectDirectory"),{path:null,history:!0})}}},tt=et,nt=(n("5cb0"),Ae(tt,Qe,Je,!1,null,null,null)),it=nt.exports,rt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-table"},[n("table",{staticClass:"table table-sm"},[n("thead",[n("tr",[n("th",{staticClass:"w-65",on:{click:function(t){return e.sortBy("name")}}},[e._v("\n "+e._s(e.lang.manager.table.name)+"\n "),"name"===e.sortSettings.field?[n("i",{directives:[{name:"show",rawName:"v-show",value:"down"===e.sortSettings.direction,expression:"sortSettings.direction === 'down'"}],staticClass:"fas fa-sort-amount-down"}),n("i",{directives:[{name:"show",rawName:"v-show",value:"up"===e.sortSettings.direction,expression:"sortSettings.direction === 'up'"}],staticClass:"fas fa-sort-amount-up"})]:e._e()],2),n("th",{staticClass:"w-10",on:{click:function(t){return e.sortBy("size")}}},[e._v("\n "+e._s(e.lang.manager.table.size)+"\n "),"size"===e.sortSettings.field?[n("i",{directives:[{name:"show",rawName:"v-show",value:"down"===e.sortSettings.direction,expression:"sortSettings.direction === 'down'"}],staticClass:"fas fa-sort-amount-down"}),n("i",{directives:[{name:"show",rawName:"v-show",value:"up"===e.sortSettings.direction,expression:"sortSettings.direction === 'up'"}],staticClass:"fas fa-sort-amount-up"})]:e._e()],2),n("th",{staticClass:"w-10",on:{click:function(t){return e.sortBy("type")}}},[e._v("\n "+e._s(e.lang.manager.table.type)+"\n "),"type"===e.sortSettings.field?[n("i",{directives:[{name:"show",rawName:"v-show",value:"down"===e.sortSettings.direction,expression:"sortSettings.direction === 'down'"}],staticClass:"fas fa-sort-amount-down"}),n("i",{directives:[{name:"show",rawName:"v-show",value:"up"===e.sortSettings.direction,expression:"sortSettings.direction === 'up'"}],staticClass:"fas fa-sort-amount-up"})]:e._e()],2),n("th",{on:{click:function(t){return e.sortBy("date")}}},[e._v("\n "+e._s(e.lang.manager.table.date)+"\n "),"date"===e.sortSettings.field?[n("i",{directives:[{name:"show",rawName:"v-show",value:"down"===e.sortSettings.direction,expression:"sortSettings.direction === 'down'"}],staticClass:"fas fa-sort-amount-down"}),n("i",{directives:[{name:"show",rawName:"v-show",value:"up"===e.sortSettings.direction,expression:"sortSettings.direction === 'up'"}],staticClass:"fas fa-sort-amount-up"})]:e._e()],2)])]),n("tbody",[n("tr",[n("td",{staticClass:"fm-content-item",attrs:{colspan:"4"},on:{click:e.levelUp}},[n("i",{staticClass:"fas fa-level-up-alt"})])]),e._l(e.directories,function(t,i){return n("tr",{key:"d-"+i,class:{"table-info":e.checkSelect("directories",t.path)},on:{click:function(n){return e.selectItem("directories",t.path,n)},contextmenu:function(n){return n.preventDefault(),e.contextMenu(t,n)}}},[n("td",{staticClass:"fm-content-item unselectable",class:e.acl&&0===t.acl?"text-hidden":"",on:{dblclick:function(n){return e.selectDirectory(t.path)}}},[n("i",{staticClass:"far fa-folder"}),e._v(" "+e._s(t.basename)+"\n ")]),n("td"),n("td",[e._v(e._s(e.lang.manager.table.folder))]),n("td",[e._v("\n "+e._s(e.timestampToDate(t.timestamp))+"\n ")])])}),e._l(e.files,function(t,i){return n("tr",{key:"f-"+i,class:{"table-info":e.checkSelect("files",t.path)},on:{click:function(n){return e.selectItem("files",t.path,n)},dblclick:function(n){return e.selectAction(t.path,t.extension)},contextmenu:function(n){return n.preventDefault(),e.contextMenu(t,n)}}},[n("td",{staticClass:"fm-content-item unselectable",class:e.acl&&0===t.acl?"text-hidden":""},[n("i",{staticClass:"far",class:e.extensionToIcon(t.extension)}),e._v("\n "+e._s(t.filename?t.filename:t.basename)+"\n ")]),n("td",[e._v(e._s(e.bytesToHuman(t.size)))]),n("td",[e._v("\n "+e._s(t.extension)+"\n ")]),n("td",[e._v("\n "+e._s(e.timestampToDate(t.timestamp))+"\n ")])])})],2)])])},at=[],ot={methods:{bytesToHuman:function(e){var t=["Bytes","KB","MB","GB","TB"];if(0===e)return"0 Bytes";var n=parseInt(Math.floor(Math.log(e)/Math.log(1024)),10);return 0===n?"".concat(e," ").concat(t[n]):"".concat((e/Math.pow(1024,n)).toFixed(1)," ").concat(t[n])},timestampToDate:function(e){if(void 0===e)return"-";var t=new Date(1e3*e);return t.toLocaleString()},mimeToIcon:function(e){var t={"image/gif":"fa-file-image","image/png":"fa-file-image","image/jpeg":"fa-file-image","image/bmp":"fa-file-image","image/webp":"fa-file-image","image/tiff":"fa-file-image","image/svg+xml":"fa-file-image","text/plain":"fa-file-alt","text/javascript":"fa-file-code","application/json":"fa-file-code","text/markdown":"fa-file-code","text/html":"fa-file-code","text/css":"fa-file-code","audio/midi":"fa-file-audio","audio/mpeg":"fa-file-audio","audio/webm":"fa-file-audio","audio/ogg":"fa-file-audio","audio/wav":"fa-file-audio","audio/aac":"fa-file-audio","audio/x-wav":"fa-file-audio","audio/mp4":"fa-file-audio","video/webm":"fa-file-video","video/ogg":"fa-file-video","video/mpeg":"fa-file-video","video/3gpp":"fa-file-video","video/x-flv":"fa-file-video","video/mp4":"fa-file-video","video/quicktime":"fa-file-video","video/x-msvideo":"fa-file-video","video/vnd.dlna.mpeg-tts":"fa-file-video","application/x-bzip":"fa-file-archive","application/x-bzip2":"fa-file-archive","application/x-tar":"fa-file-archive","application/gzip":"fa-file-archive","application/zip":"fa-file-archive","application/x-7z-compressed":"fa-file-archive","application/x-rar-compressed":"fa-file-archive","application/pdf":"fa-file-pdf","application/rtf":"fa-file-word","application/msword":"fa-file-word","application/vnd.ms-word":"fa-file-word","application/vnd.ms-excel":"fa-file-excel","application/vnd.ms-powerpoint":"fa-file-powerpoint","application/vnd.oasis.opendocument.text":"fa-file-word","application/vnd.oasis.opendocument.spreadsheet":"fa-file-excel","application/vnd.oasis.opendocument.presentation":"fa-file-powerpoint","application/vnd.openxmlformats-officedocument.wordprocessingml":"fa-file-word","application/vnd.openxmlformats-officedocument.spreadsheetml":"fa-file-excel","application/vnd.openxmlformats-officedocument.presentationml":"fa-file-powerpoint"};return void 0!==t[e]?t[e]:"fa-file"},extensionToIcon:function(e){var t={gif:"fa-file-image",png:"fa-file-image",jpeg:"fa-file-image",jpg:"fa-file-image",bmp:"fa-file-image",psd:"fa-file-image",svg:"fa-file-image",ico:"fa-file-image",ai:"fa-file-image",tif:"fa-file-image",tiff:"fa-file-image",txt:"fa-file-alt",js:"fa-file-code",php:"fa-file-code",css:"fa-file-code",cpp:"fa-file-code",class:"fa-file-code",h:"fa-file-code",java:"fa-file-code",sh:"fa-file-code",swift:"fa-file-code",aif:"fa-file-audio",cda:"fa-file-audio",mid:"fa-file-audio",mp3:"fa-file-audio",mpa:"fa-file-audio",ogg:"fa-file-audio",wav:"fa-file-audio",wma:"fa-file-audio",wmv:"fa-file-video",avi:"fa-file-video",mpeg:"fa-file-video",mpg:"fa-file-video",flv:"fa-file-video",mp4:"fa-file-video",mkv:"fa-file-video",mov:"fa-file-video",ts:"fa-file-video","3gpp":"fa-file-video",zip:"fa-file-archive",arj:"fa-file-archive",deb:"fa-file-archive",pkg:"fa-file-archive",rar:"fa-file-archive",rpm:"fa-file-archive","7z":"fa-file-archive","tar.gz":"fa-file-archive",pdf:"fa-file-pdf",rtf:"fa-file-word",doc:"fa-file-word",docx:"fa-file-word",odt:"fa-file-word",xlr:"fa-file-excel",xls:"fa-file-excel",xlsx:"fa-file-excel",ppt:"fa-file-powerpoint",pptx:"fa-file-powerpoint",pptm:"fa-file-powerpoint",xps:"fa-file-powerpoint",potx:"fa-file-powerpoint"};return e&&void 0!==t[e.toLowerCase()]?t[e.toLowerCase()]:"fa-file"}}},st={computed:{selectedDisk:function(){return this.$store.state.fm[this.manager].selectedDisk},selectedDirectory:function(){return this.$store.state.fm[this.manager].selectedDirectory},files:function(){return this.$store.state.fm[this.manager].files},directories:function(){return this.$store.state.fm[this.manager].directories},selected:function(){return this.$store.state.fm[this.manager].selected},acl:function(){return this.$store.state.fm.settings.acl}},methods:{selectDirectory:function(e){this.$store.dispatch("fm/".concat(this.manager,"/selectDirectory"),{path:e,history:!0})},levelUp:function(){if(this.selectedDirectory){var e=this.selectedDirectory.split("/").slice(0,-1).join("/");this.$store.dispatch("fm/".concat(this.manager,"/selectDirectory"),{path:e||null,history:!0})}},checkSelect:function(e,t){return this.selected[e].includes(t)},selectItem:function(e,t,n){var i=this.selected[e].includes(t);n.ctrlKey&&(i?this.$store.commit("fm/".concat(this.manager,"/removeSelected"),{type:e,path:t}):this.$store.commit("fm/".concat(this.manager,"/setSelected"),{type:e,path:t})),n.ctrlKey||i||this.$store.commit("fm/".concat(this.manager,"/changeSelected"),{type:e,path:t})},contextMenu:function(e,t){var n="dir"===e.type?"directories":"files",i=this.selected[n].includes(e.path);i||this.$store.commit("fm/".concat(this.manager,"/changeSelected"),{type:n,path:e.path}),_e.$emit("contextMenu",t)},selectAction:function(e,t){this.$store.state.fm.fileCallback?this.$store.dispatch("fm/url",{disk:this.selectedDisk,path:e}):t&&(this.$store.state.fm.settings.imageExtensions.includes(t.toLowerCase())?this.$store.commit("fm/modal/setModalState",{modalName:"Preview",show:!0}):Object.keys(this.$store.state.fm.settings.textExtensions).includes(t.toLowerCase())?this.$store.commit("fm/modal/setModalState",{modalName:"TextEdit",show:!0}):this.$store.state.fm.settings.audioExtensions.includes(t.toLowerCase())?this.$store.commit("fm/modal/setModalState",{modalName:"AudioPlayer",show:!0}):this.$store.state.fm.settings.videoExtensions.includes(t.toLowerCase())&&this.$store.commit("fm/modal/setModalState",{modalName:"VideoPlayer",show:!0}))}}},lt={name:"table-view",mixins:[Te,ot,st],props:{manager:{type:String,required:!0}},computed:{sortSettings:function(){return this.$store.state.fm[this.manager].sort}},methods:{sortBy:function(e){this.$store.dispatch("fm/".concat(this.manager,"/sortBy"),{field:e,direction:null})}}},ct=lt,ut=(n("608d"),Ae(ct,rt,at,!1,null,null,null)),dt=ut.exports,ft=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-grid"},[n("div",{staticClass:"d-flex align-content-start flex-wrap"},[n("div",{staticClass:"fm-grid-item text-center",on:{click:e.levelUp}},[e._m(0),e._m(1)]),e._l(e.directories,function(t,i){return n("div",{key:"d-"+i,staticClass:"fm-grid-item text-center unselectable",class:{active:e.checkSelect("directories",t.path)},attrs:{title:t.basename},on:{click:function(n){return e.selectItem("directories",t.path,n)},dblclick:function(n){return n.stopPropagation(),e.selectDirectory(t.path)},contextmenu:function(n){return n.preventDefault(),e.contextMenu(t,n)}}},[n("div",{staticClass:"fm-item-icon"},[n("i",{staticClass:"fa-5x pb-2",class:e.acl&&0===t.acl?"fas fa-unlock-alt":"far fa-folder"})]),n("div",{staticClass:"fm-item-info"},[e._v(e._s(t.basename))])])}),e._l(e.files,function(t,i){return n("div",{key:"f-"+i,staticClass:"fm-grid-item text-center unselectable",class:{active:e.checkSelect("files",t.path)},attrs:{title:t.basename},on:{click:function(n){return e.selectItem("files",t.path,n)},dblclick:function(n){return e.selectAction(t.path,t.extension)},contextmenu:function(n){return n.preventDefault(),e.contextMenu(t,n)}}},[n("div",{staticClass:"fm-item-icon"},[e.acl&&0===t.acl?[n("i",{staticClass:"fas fa-unlock-alt fa-5x pb-2"})]:e.thisImage(t.extension)?[n("img",{staticClass:"img-thumbnail",attrs:{alt:t.filename,src:e.createImgUrl(t.path)}})]:[n("i",{staticClass:"far fa-5x pb-2",class:e.extensionToIcon(t.extension)})]],2),n("div",{staticClass:"fm-item-info"},[e._v("\n "+e._s(t.filename+"."+t.extension)+"\n "),n("br"),e._v("\n "+e._s(e.bytesToHuman(t.size))+"\n ")])])})],2)])},pt=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-item-icon"},[n("i",{staticClass:"fas fa-level-up-alt fa-5x pb-2"})])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-item-info"},[n("strong",[e._v("..")])])}],ht={name:"grid-view",mixins:[Te,ot,st],data:function(){return{disk:""}},props:{manager:{type:String,required:!0}},mounted:function(){this.disk=this.selectedDisk},beforeUpdate:function(){this.disk!==this.selectedDisk&&(this.disk=this.selectedDisk)},computed:{imageExtensions:function(){return this.$store.state.fm.settings.imageExtensions}},methods:{thisImage:function(e){return!!e&&this.imageExtensions.includes(e.toLowerCase())},createImgUrl:function(e){return"".concat(this.$store.getters["fm/settings/baseUrl"],"thumbnails?disk=").concat(this.disk,"&path=").concat(e)}}},mt=ht,gt=(n("2928"),Ae(mt,ft,pt,!1,null,null,null)),vt=gt.exports,yt={name:"Manager",components:{DiskList:Ze,Breadcrumb:it,TableView:dt,GridView:vt},props:{manager:{type:String,required:!0}},computed:{viewType:function(){return this.$store.state.fm[this.manager].viewType}}},bt=yt,wt=(n("a04d"),Ae(bt,We,Ue,!1,null,null,null)),xt=wt.exports,kt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fm-modal"}},[n("div",{ref:"fmModal",staticClass:"fm-modal",on:{click:e.hideModal}},[n("div",{staticClass:"modal-dialog",class:e.modalSize,attrs:{role:"document"},on:{click:function(e){e.stopPropagation()}}},[n(e.modalName,{tag:"component"})],1)])])},_t=[],Ct=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-folder"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[e._v(e._s(e.lang.modal.newFile.title))]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"fm-file-name"}},[e._v(e._s(e.lang.modal.newFile.fieldName))]),n("input",{directives:[{name:"focus",rawName:"v-focus"},{name:"model",rawName:"v-model",value:e.fileName,expression:"fileName"}],staticClass:"form-control",class:{"is-invalid":e.fileExist},attrs:{type:"text",id:"fm-file-name"},domProps:{value:e.fileName},on:{keyup:e.validateFileName,input:function(t){t.target.composing||(e.fileName=t.target.value)}}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.fileExist,expression:"fileExist"}],staticClass:"invalid-feedback"},[e._v("\n "+e._s(e.lang.modal.newFile.fieldFeedback)+"\n ")])])]),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-info",attrs:{disabled:!e.submitActive},on:{click:e.addFile}},[e._v(e._s(e.lang.btn.submit)+"\n ")]),n("button",{staticClass:"btn btn-default",on:{click:e.hideModal}},[e._v(e._s(e.lang.btn.cancel))])])])},St=[],Tt={directives:{focus:{inserted:function(e){e.focus()}}},computed:{activeManager:function(){return this.$store.state.fm.activeManager}},methods:{hideModal:function(){this.$store.commit("fm/modal/setModalState",{modalName:null,show:!1})}}},Mt={name:"NewFile",mixins:[Tt,Te],data:function(){return{fileName:"",fileExist:!1}},computed:{submitActive:function(){return this.fileName&&!this.fileExist}},methods:{validateFileName:function(){this.fileName?this.fileExist=this.$store.getters["fm/".concat(this.activeManager,"/fileExist")](this.fileName):this.fileExist=!1},addFile:function(){var e=this;this.$store.dispatch("fm/createFile",this.fileName).then(function(t){"success"===t.data.result.status&&e.hideModal()})}}},Et=Mt,At=Ae(Et,Ct,St,!1,null,null,null),Lt=At.exports,Nt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-folder"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[e._v(e._s(e.lang.modal.newFolder.title))]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"fm-folder-name"}},[e._v(e._s(e.lang.modal.newFolder.fieldName))]),n("input",{directives:[{name:"focus",rawName:"v-focus"},{name:"model",rawName:"v-model",value:e.directoryName,expression:"directoryName"}],staticClass:"form-control",class:{"is-invalid":e.directoryExist},attrs:{type:"text",id:"fm-folder-name"},domProps:{value:e.directoryName},on:{keyup:e.validateDirName,input:function(t){t.target.composing||(e.directoryName=t.target.value)}}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.directoryExist,expression:"directoryExist"}],staticClass:"invalid-feedback"},[e._v("\n "+e._s(e.lang.modal.newFolder.fieldFeedback)+"\n ")])])]),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-info",attrs:{disabled:!e.submitActive},on:{click:e.addFolder}},[e._v(e._s(e.lang.btn.submit)+"\n ")]),n("button",{staticClass:"btn btn-default",on:{click:e.hideModal}},[e._v(e._s(e.lang.btn.cancel))])])])},Dt=[],Ot={name:"NewFolder",mixins:[Tt,Te],data:function(){return{directoryName:"",directoryExist:!1}},computed:{submitActive:function(){return this.directoryName&&!this.directoryExist}},methods:{validateDirName:function(){this.directoryName?this.directoryExist=this.$store.getters["fm/".concat(this.activeManager,"/directoryExist")](this.directoryName):this.directoryExist=!1},addFolder:function(){var e=this;this.$store.dispatch("fm/createDirectory",this.directoryName).then(function(t){"success"===t.data.result.status&&e.hideModal()})}}},Pt=Ot,It=Ae(Pt,Nt,Dt,!1,null,null,null),Ft=It.exports,zt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-upload"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[e._v(e._s(e.lang.modal.upload.title))]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.progressBar,expression:"!progressBar"}],staticClass:"fm-btn-wrapper"},[n("button",{staticClass:"btn btn-secondary btn-block",attrs:{type:"button"}},[e._v("\n "+e._s(e.lang.btn.uploadSelect)+"\n ")]),n("input",{attrs:{type:"file",multiple:"",name:"myfile"},on:{change:function(t){return e.selectFiles(t)}}})]),e.countFiles?n("div",{staticClass:"fm-upload-list"},[e._l(e.newFiles,function(t,i){return n("div",{key:i,staticClass:"d-flex justify-content-between"},[n("div",{staticClass:"w-75 text-truncate"},[n("i",{staticClass:"far",class:e.mimeToIcon(t.type)}),e._v("\n "+e._s(t.name)+"\n ")]),n("div",{staticClass:"text-right"},[e._v("\n "+e._s(e.bytesToHuman(t.size))+"\n ")])])}),n("hr"),n("div",{staticClass:"d-flex justify-content-between"},[n("div",[n("strong",[e._v(e._s(e.lang.modal.upload.selected))]),e._v("\n "+e._s(e.newFiles.length)+"\n ")]),n("div",{staticClass:"text-right"},[n("strong",[e._v(e._s(e.lang.modal.upload.size))]),e._v("\n "+e._s(e.allFilesSize)+"\n ")])]),n("hr"),n("div",{staticClass:"d-flex justify-content-between"},[n("div",[n("strong",[e._v(e._s(e.lang.modal.upload.ifExist))])]),n("div",{staticClass:"form-check form-check-inline"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.overwrite,expression:"overwrite"}],staticClass:"form-check-input",attrs:{id:"uploadRadio1",type:"radio",name:"uploadOptions",value:"0",checked:""},domProps:{checked:e._q(e.overwrite,"0")},on:{change:function(t){e.overwrite="0"}}}),n("label",{staticClass:"form-check-label",attrs:{for:"uploadRadio1"}},[e._v("\n "+e._s(e.lang.modal.upload.skip)+"\n ")])]),n("div",{staticClass:"form-check form-check-inline"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.overwrite,expression:"overwrite"}],staticClass:"form-check-input",attrs:{id:"uploadRadio2",type:"radio",name:"uploadOptions",value:"1",checked:""},domProps:{checked:e._q(e.overwrite,"1")},on:{change:function(t){e.overwrite="1"}}}),n("label",{staticClass:"form-check-label",attrs:{for:"uploadRadio2"}},[e._v("\n "+e._s(e.lang.modal.upload.overwrite)+"\n ")])])]),n("hr")],2):n("div",[n("p",[e._v(e._s(e.lang.modal.upload.noSelected))])]),n("div",{staticClass:"fm-upload-info"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.countFiles,expression:"countFiles"}],staticClass:"progress"},[n("div",{staticClass:"progress-bar progress-bar-striped bg-info",style:{width:e.progressBar+"%"},attrs:{role:"progressbar","aria-valuenow":e.progressBar,"aria-valuemin":"0","aria-valuemax":"100"}},[e._v("\n "+e._s(e.progressBar)+"%\n ")])])])]),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn",class:[e.countFiles?"btn-info":"btn-default"],attrs:{disabled:!e.countFiles},on:{click:e.uploadFiles}},[e._v(e._s(e.lang.btn.submit)+"\n ")]),n("button",{staticClass:"btn btn-default",on:{click:function(t){return e.hideModal()}}},[e._v(e._s(e.lang.btn.cancel))])])])},$t=[],jt={name:"Upload",mixins:[Tt,Te,ot],data:function(){return{newFiles:[],overwrite:0}},computed:{progressBar:function(){return this.$store.state.fm.messages.actionProgress},countFiles:function(){return this.newFiles.length},allFilesSize:function(){for(var e=0,t=0;t=2)e.mixin({beforeCreat * * Date: 2018-10-24T13:07:15.032Z */ -function Ln(e){return Ln="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},Ln(e)}function Nn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dn(e,t){for(var n=0;n
',Li=Number.isNaN||jn.isNaN;function Ni(e){return"number"===typeof e&&!Li(e)}function Di(e){return"undefined"===typeof e}function Oi(e){return"object"===Ln(e)&&null!==e}var Pi=Object.prototype.hasOwnProperty;function Ii(e){if(!Oi(e))return!1;try{var t=e.constructor,n=t.prototype;return t&&n&&Pi.call(n,"isPrototypeOf")}catch(i){return!1}}function Fi(e){return"function"===typeof e}function zi(e,t){if(e&&Fi(t))if(Array.isArray(e)||Ni(e.length)){var n,i=e.length;for(n=0;n1?t-1:0),i=1;i0&&n.forEach(function(t){Oi(t)&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e},ji=/\.\d*(?:0|9){12}\d*$/;function Ri(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return ji.test(e)?Math.round(e*t)/t:e}var qi=/^(?:width|height|left|top|marginLeft|marginTop)$/;function Bi(e,t){var n=e.style;zi(t,function(e,t){qi.test(t)&&Ni(e)&&(e+="px"),n[t]=e})}function Hi(e,t){return e.classList?e.classList.contains(t):e.className.indexOf(t)>-1}function Wi(e,t){if(t)if(Ni(e.length))zi(e,function(e){Wi(e,t)});else if(e.classList)e.classList.add(t);else{var n=e.className.trim();n?n.indexOf(t)<0&&(e.className="".concat(n," ").concat(t)):e.className=t}}function Ui(e,t){t&&(Ni(e.length)?zi(e,function(e){Ui(e,t)}):e.classList?e.classList.remove(t):e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,"")))}function Vi(e,t,n){t&&(Ni(e.length)?zi(e,function(e){Vi(e,t,n)}):n?Wi(e,t):Ui(e,t))}var Gi=/([a-z\d])([A-Z])/g;function Xi(e){return e.replace(Gi,"$1-$2").toLowerCase()}function Ki(e,t){return Oi(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(Xi(t)))}function Yi(e,t,n){Oi(n)?e[t]=n:e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(Xi(t)),n)}function Zi(e,t){if(Oi(e[t]))try{delete e[t]}catch(n){e[t]=void 0}else if(e.dataset)try{delete e.dataset[t]}catch(n){e.dataset[t]=void 0}else e.removeAttribute("data-".concat(Xi(t)))}var Qi=/\s\s*/,Ji=function(){var e=!1;if($n){var t=!1,n=function(){},i=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(e){t=e}});jn.addEventListener("test",n,i),jn.removeEventListener("test",n,i)}return e}();function er(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=n;t.trim().split(Qi).forEach(function(t){if(!Ji){var a=e.listeners;a&&a[t]&&a[t][n]&&(r=a[t][n],delete a[t][n],0===Object.keys(a[t]).length&&delete a[t],0===Object.keys(a).length&&delete e.listeners)}e.removeEventListener(t,r,i)})}function tr(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=n;t.trim().split(Qi).forEach(function(t){if(i.once&&!Ji){var a=e.listeners,o=void 0===a?{}:a;r=function(){delete o[t][n],e.removeEventListener(t,r,i);for(var a=arguments.length,s=new Array(a),l=0;l1&&void 0!==arguments[1]?arguments[1]:"contain",a=function(e){return fr(e)&&e>0};if(a(i)&&a(n)){var o=n*t;"contain"===r&&o>i||"cover"===r&&o90?{width:l,height:s}:{width:s,height:l}}function mr(e,t,n,i){var r=t.aspectRatio,a=t.naturalWidth,o=t.naturalHeight,s=t.rotate,l=void 0===s?0:s,c=t.scaleX,u=void 0===c?1:c,d=t.scaleY,f=void 0===d?1:d,p=n.aspectRatio,h=n.naturalWidth,m=n.naturalHeight,g=i.fillColor,v=void 0===g?"transparent":g,y=i.imageSmoothingEnabled,b=void 0===y||y,w=i.imageSmoothingQuality,x=void 0===w?"low":w,k=i.maxWidth,_=void 0===k?1/0:k,C=i.maxHeight,S=void 0===C?1/0:C,T=i.minWidth,M=void 0===T?0:T,E=i.minHeight,A=void 0===E?0:E,L=document.createElement("canvas"),N=L.getContext("2d"),D=pr({aspectRatio:p,width:_,height:S}),O=pr({aspectRatio:p,width:M,height:A},"cover"),P=Math.min(D.width,Math.max(O.width,h)),I=Math.min(D.height,Math.max(O.height,m)),F=pr({aspectRatio:r,width:_,height:S}),z=pr({aspectRatio:r,width:M,height:A},"cover"),$=Math.min(F.width,Math.max(z.width,a)),j=Math.min(F.height,Math.max(z.height,o)),R=[-$/2,-j/2,$,j];return L.width=Ri(P),L.height=Ri(I),N.fillStyle=v,N.fillRect(0,0,P,I),N.save(),N.translate(P/2,I/2),N.rotate(l*Math.PI/180),N.scale(u,f),N.imageSmoothingEnabled=b,N.imageSmoothingQuality=x,N.drawImage.apply(N,[e].concat(Pn(R.map(function(e){return Math.floor(Ri(e))})))),N.restore(),L}var gr=String.fromCharCode;function vr(e,t,n){var i,r="";for(n+=t,i=t;i0)n.push(gr.apply(void 0,Pn(r.subarray(0,i)))),r=r.subarray(i);return"data:".concat(t,";base64,").concat(btoa(n.join("")))}function xr(e){var t,n=new DataView(e);try{var i,r,a;if(255===n.getUint8(0)&&216===n.getUint8(1)){var o=n.byteLength,s=2;while(s+1=8&&(a=c+d)}}}if(a){var f,p,h=n.getUint16(a,i);for(p=0;pe.width?3===n?s=e.height*o:l=e.width/o:3===n?l=e.width/o:s=e.height*o;var c={aspectRatio:o,naturalWidth:r,naturalHeight:a,width:s,height:l};c.left=(e.width-s)/2,c.top=(e.height-l)/2,c.oldLeft=c.left,c.oldTop=c.top,this.canvasData=c,this.limited=1===n||2===n,this.limitCanvas(!0,!0),this.initialImageData=$i({},t),this.initialCanvasData=$i({},c)},limitCanvas:function(e,t){var n=this.options,i=this.containerData,r=this.canvasData,a=this.cropBoxData,o=n.viewMode,s=r.aspectRatio,l=this.cropped&&a;if(e){var c=Number(n.minCanvasWidth)||0,u=Number(n.minCanvasHeight)||0;o>1?(c=Math.max(c,i.width),u=Math.max(u,i.height),3===o&&(u*s>c?c=u*s:u=c/s)):o>0&&(c?c=Math.max(c,l?a.width:0):u?u=Math.max(u,l?a.height:0):l&&(c=a.width,u=a.height,u*s>c?c=u*s:u=c/s));var d=pr({aspectRatio:s,width:c,height:u});c=d.width,u=d.height,r.minWidth=c,r.minHeight=u,r.maxWidth=1/0,r.maxHeight=1/0}if(t)if(o>(l?0:1)){var f=i.width-r.width,p=i.height-r.height;r.minLeft=Math.min(0,f),r.minTop=Math.min(0,p),r.maxLeft=Math.max(0,f),r.maxTop=Math.max(0,p),l&&this.limited&&(r.minLeft=Math.min(a.left,a.left+(a.width-r.width)),r.minTop=Math.min(a.top,a.top+(a.height-r.height)),r.maxLeft=a.left,r.maxTop=a.top,2===o&&(r.width>=i.width&&(r.minLeft=Math.min(0,f),r.maxLeft=Math.max(0,f)),r.height>=i.height&&(r.minTop=Math.min(0,p),r.maxTop=Math.max(0,p))))}else r.minLeft=-r.width,r.minTop=-r.height,r.maxLeft=i.width,r.maxTop=i.height},renderCanvas:function(e,t){var n=this.canvasData,i=this.imageData;if(t){var r=hr({width:i.naturalWidth*Math.abs(i.scaleX||1),height:i.naturalHeight*Math.abs(i.scaleY||1),degree:i.rotate||0}),a=r.width,o=r.height,s=n.width*(a/n.naturalWidth),l=n.height*(o/n.naturalHeight);n.left-=(s-n.width)/2,n.top-=(l-n.height)/2,n.width=s,n.height=l,n.aspectRatio=a/o,n.naturalWidth=a,n.naturalHeight=o,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.widthn.maxHeight||n.heightt.width?r.height=r.width/n:r.width=r.height*n),this.cropBoxData=r,this.limitCropBox(!0,!0),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),r.width=Math.max(r.minWidth,r.width*i),r.height=Math.max(r.minHeight,r.height*i),r.left=t.left+(t.width-r.width)/2,r.top=t.top+(t.height-r.height)/2,r.oldLeft=r.left,r.oldTop=r.top,this.initialCropBoxData=$i({},r)},limitCropBox:function(e,t){var n=this.options,i=this.containerData,r=this.canvasData,a=this.cropBoxData,o=this.limited,s=n.aspectRatio;if(e){var l=Number(n.minCropBoxWidth)||0,c=Number(n.minCropBoxHeight)||0,u=o?Math.min(i.width,r.width,r.width+r.left,i.width-r.left):i.width,d=o?Math.min(i.height,r.height,r.height+r.top,i.height-r.top):i.height;l=Math.min(l,i.width),c=Math.min(c,i.height),s&&(l&&c?c*s>l?c=l/s:l=c*s:l?c=l/s:c&&(l=c*s),d*s>u?d=u/s:u=d*s),a.minWidth=Math.min(l,u),a.minHeight=Math.min(c,d),a.maxWidth=u,a.maxHeight=d}t&&(o?(a.minLeft=Math.max(0,r.left),a.minTop=Math.max(0,r.top),a.maxLeft=Math.min(i.width,r.left+r.width)-a.width,a.maxTop=Math.min(i.height,r.top+r.height)-a.height):(a.minLeft=0,a.minTop=0,a.maxLeft=i.width-a.width,a.maxTop=i.height-a.height))},renderCropBox:function(){var e=this.options,t=this.containerData,n=this.cropBoxData;(n.width>n.maxWidth||n.widthn.maxHeight||n.height=t.width&&n.height>=t.height?Hn:qn),Bi(this.cropBox,$i({width:n.width,height:n.height},lr({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),nr(this.element,di,this.getData())}},Cr={initPreview:function(){var e=this.crossOrigin,t=this.options.preview,n=e?this.crossOriginUrl:this.url,i=document.createElement("img");if(e&&(i.crossOrigin=e),i.src=n,this.viewBox.appendChild(i),this.viewBoxImage=i,t){var r=t;"string"===typeof t?r=this.element.ownerDocument.querySelectorAll(t):t.querySelector&&(r=[t]),this.previews=r,zi(r,function(t){var i=document.createElement("img");Yi(t,si,{width:t.offsetWidth,height:t.offsetHeight,html:t.innerHTML}),e&&(i.crossOrigin=e),i.src=n,i.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',t.innerHTML="",t.appendChild(i)})}},resetPreview:function(){zi(this.previews,function(e){var t=Ki(e,si);Bi(e,{width:t.width,height:t.height}),e.innerHTML=t.html,Zi(e,si)})},preview:function(){var e=this.imageData,t=this.canvasData,n=this.cropBoxData,i=n.width,r=n.height,a=e.width,o=e.height,s=n.left-t.left-e.left,l=n.top-t.top-e.top;this.cropped&&!this.disabled&&(Bi(this.viewBoxImage,$i({width:a,height:o},lr($i({translateX:-s,translateY:-l},e)))),zi(this.previews,function(t){var n=Ki(t,si),c=n.width,u=n.height,d=c,f=u,p=1;i&&(p=c/i,f=r*p),r&&f>u&&(p=u/r,d=i*p,f=u),Bi(t,{width:d,height:f}),Bi(t.getElementsByTagName("img")[0],$i({width:a*p,height:o*p},lr($i({translateX:-s*p,translateY:-l*p},e))))}))}},Sr={bind:function(){var e=this.element,t=this.options,n=this.cropper;Fi(t.cropstart)&&tr(e,hi,t.cropstart),Fi(t.cropmove)&&tr(e,pi,t.cropmove),Fi(t.cropend)&&tr(e,fi,t.cropend),Fi(t.crop)&&tr(e,di,t.crop),Fi(t.zoom)&&tr(e,ki,t.zoom),tr(n,gi,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&tr(n,xi,this.onWheel=this.wheel.bind(this)),t.toggleDragModeOnDblclick&&tr(n,mi,this.onDblclick=this.dblclick.bind(this)),tr(e.ownerDocument,vi,this.onCropMove=this.cropMove.bind(this)),tr(e.ownerDocument,yi,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&tr(window,wi,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,t=this.options,n=this.cropper;Fi(t.cropstart)&&er(e,hi,t.cropstart),Fi(t.cropmove)&&er(e,pi,t.cropmove),Fi(t.cropend)&&er(e,fi,t.cropend),Fi(t.crop)&&er(e,di,t.crop),Fi(t.zoom)&&er(e,ki,t.zoom),er(n,gi,this.onCropStart),t.zoomable&&t.zoomOnWheel&&er(n,xi,this.onWheel),t.toggleDragModeOnDblclick&&er(n,mi,this.onDblclick),er(e.ownerDocument,vi,this.onCropMove),er(e.ownerDocument,yi,this.onCropEnd),t.responsive&&er(window,wi,this.onResize)}},Tr={resize:function(){var e=this.options,t=this.container,n=this.containerData,i=Number(e.minContainerWidth)||200,r=Number(e.minContainerHeight)||100;if(!(this.disabled||n.width<=i||n.height<=r)){var a,o,s=t.offsetWidth/n.width;if(1!==s||t.offsetHeight!==n.height)e.restore&&(a=this.getCanvasData(),o=this.getCropBoxData()),this.render(),e.restore&&(this.setCanvasData(zi(a,function(e,t){a[t]=e*s})),this.setCropBoxData(zi(o,function(e,t){o[t]=e*s})))}},dblclick:function(){this.disabled||this.options.dragMode===ui||this.setDragMode(Hi(this.dragBox,Jn)?ci:li)},wheel:function(e){var t=this,n=Number(this.options.wheelZoomRatio)||.1,i=1;this.disabled||(e.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout(function(){t.wheeling=!1},50),e.deltaY?i=e.deltaY>0?1:-1:e.wheelDelta?i=-e.wheelDelta/120:e.detail&&(i=e.detail>0?1:-1),this.zoom(-i*n,e)))},cropStart:function(e){if(!this.disabled){var t,n=this.options,i=this.pointers;e.changedTouches?zi(e.changedTouches,function(e){i[e.identifier]=ur(e)}):i[e.pointerId||0]=ur(e),t=Object.keys(i).length>1&&n.zoomable&&n.zoomOnTouch?Wn:Ki(e.target,oi),Ci.test(t)&&!1!==nr(this.element,hi,{originalEvent:e,action:t})&&(e.preventDefault(),this.action=t,this.cropping=!1,t===Bn&&(this.cropping=!0,Wi(this.dragBox,ri)))}},cropMove:function(e){var t=this.action;if(!this.disabled&&t){var n=this.pointers;e.preventDefault(),!1!==nr(this.element,pi,{originalEvent:e,action:t})&&(e.changedTouches?zi(e.changedTouches,function(e){$i(n[e.identifier]||{},ur(e,!0))}):$i(n[e.pointerId||0]||{},ur(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var t=this.action,n=this.pointers;e.changedTouches?zi(e.changedTouches,function(e){delete n[e.identifier]}):delete n[e.pointerId||0],t&&(e.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,Vi(this.dragBox,ri,this.cropped&&this.options.modal)),nr(this.element,fi,{originalEvent:e,action:t}))}}},Mr={change:function(e){var t,n=this.options,i=this.canvasData,r=this.containerData,a=this.cropBoxData,o=this.pointers,s=this.action,l=n.aspectRatio,c=a.left,u=a.top,d=a.width,f=a.height,p=c+d,h=u+f,m=0,g=0,v=r.width,y=r.height,b=!0;!l&&e.shiftKey&&(l=d&&f?d/f:1),this.limited&&(m=a.minLeft,g=a.minTop,v=m+Math.min(r.width,i.width,i.left+i.width),y=g+Math.min(r.height,i.height,i.top+i.height));var w=o[Object.keys(o)[0]],x={x:w.endX-w.startX,y:w.endY-w.startY},k=function(e){switch(e){case Un:p+x.x>v&&(x.x=v-p);break;case Vn:c+x.xy&&(x.y=y-h);break;default:}};switch(s){case qn:c+=x.x,u+=x.y;break;case Un:if(x.x>=0&&(p>=v||l&&(u<=g||h>=y))){b=!1;break}k(Un),d+=x.x,d<0&&(s=Vn,d=-d,c-=d),l&&(f=d/l,u+=(a.height-f)/2);break;case Xn:if(x.y<=0&&(u<=g||l&&(c<=m||p>=v))){b=!1;break}k(Xn),f-=x.y,u+=x.y,f<0&&(s=Gn,f=-f,u-=f),l&&(d=f*l,c+=(a.width-d)/2);break;case Vn:if(x.x<=0&&(c<=m||l&&(u<=g||h>=y))){b=!1;break}k(Vn),d-=x.x,c+=x.x,d<0&&(s=Un,d=-d,c-=d),l&&(f=d/l,u+=(a.height-f)/2);break;case Gn:if(x.y>=0&&(h>=y||l&&(c<=m||p>=v))){b=!1;break}k(Gn),f+=x.y,f<0&&(s=Xn,f=-f,u-=f),l&&(d=f*l,c+=(a.width-d)/2);break;case Kn:if(l){if(x.y<=0&&(u<=g||p>=v)){b=!1;break}k(Xn),f-=x.y,u+=x.y,d=f*l}else k(Xn),k(Un),x.x>=0?pg&&(f-=x.y,u+=x.y):(f-=x.y,u+=x.y);d<0&&f<0?(s=Qn,f=-f,d=-d,u-=f,c-=d):d<0?(s=Yn,d=-d,c-=d):f<0&&(s=Zn,f=-f,u-=f);break;case Yn:if(l){if(x.y<=0&&(u<=g||c<=m)){b=!1;break}k(Xn),f-=x.y,u+=x.y,d=f*l,c+=a.width-d}else k(Xn),k(Vn),x.x<=0?c>m?(d-=x.x,c+=x.x):x.y<=0&&u<=g&&(b=!1):(d-=x.x,c+=x.x),x.y<=0?u>g&&(f-=x.y,u+=x.y):(f-=x.y,u+=x.y);d<0&&f<0?(s=Zn,f=-f,d=-d,u-=f,c-=d):d<0?(s=Kn,d=-d,c-=d):f<0&&(s=Qn,f=-f,u-=f);break;case Qn:if(l){if(x.x<=0&&(c<=m||h>=y)){b=!1;break}k(Vn),d-=x.x,c+=x.x,f=d/l}else k(Gn),k(Vn),x.x<=0?c>m?(d-=x.x,c+=x.x):x.y>=0&&h>=y&&(b=!1):(d-=x.x,c+=x.x),x.y>=0?h=0&&(p>=v||h>=y)){b=!1;break}k(Un),d+=x.x,f=d/l}else k(Gn),k(Un),x.x>=0?p=0&&h>=y&&(b=!1):d+=x.x,x.y>=0?h0?s=x.y>0?Zn:Kn:x.x<0&&(c-=d,s=x.y>0?Qn:Yn),x.y<0&&(u-=f),this.cropped||(Ui(this.cropBox,ti),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break;default:}b&&(a.width=d,a.height=f,a.left=c,a.top=u,this.action=s,this.renderCropBox()),zi(o,function(e){e.startX=e.endX,e.startY=e.endY})}},Er={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&Wi(this.dragBox,ri),Ui(this.cropBox,ti),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=$i({},this.initialImageData),this.canvasData=$i({},this.initialCanvasData),this.cropBoxData=$i({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&($i(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Ui(this.dragBox,ri),Wi(this.cropBox,ti)),this},replace:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,zi(this.previews,function(t){t.getElementsByTagName("img")[0].src=e}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Ui(this.cropper,ei)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,Wi(this.cropper,ei)),this},destroy:function(){var e=this.element;return e[Rn]?(e[Rn]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.canvasData,i=n.left,r=n.top;return this.moveTo(Di(e)?e:i+Number(e),Di(t)?t:r+Number(t))},moveTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.canvasData,i=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.movable&&(Ni(e)&&(n.left=e,i=!0),Ni(t)&&(n.top=t,i=!0),i&&this.renderCanvas(!0)),this},zoom:function(e,t){var n=this.canvasData;return e=Number(e),e=e<0?1/(1-e):1+e,this.zoomTo(n.width*e/n.naturalWidth,null,t)},zoomTo:function(e,t,n){var i=this.options,r=this.canvasData,a=r.width,o=r.height,s=r.naturalWidth,l=r.naturalHeight;if(e=Number(e),e>=0&&this.ready&&!this.disabled&&i.zoomable){var c=s*e,u=l*e;if(!1===nr(this.element,ki,{ratio:e,oldRatio:a/s,originalEvent:n}))return this;if(n){var d=this.pointers,f=ir(this.cropper),p=d&&Object.keys(d).length?dr(d):{pageX:n.pageX,pageY:n.pageY};r.left-=(c-a)*((p.pageX-f.left-r.left)/a),r.top-=(u-o)*((p.pageY-f.top-r.top)/o)}else Ii(t)&&Ni(t.x)&&Ni(t.y)?(r.left-=(c-a)*((t.x-r.left)/a),r.top-=(u-o)*((t.y-r.top)/o)):(r.left-=(c-a)/2,r.top-=(u-o)/2);r.width=c,r.height=u,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return e=Number(e),Ni(e)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var t=this.imageData.scaleY;return this.scale(e,Ni(t)?t:1)},scaleY:function(e){var t=this.imageData.scaleX;return this.scale(Ni(t)?t:1,e)},scale:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.imageData,i=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.scalable&&(Ni(e)&&(n.scaleX=e,i=!0),Ni(t)&&(n.scaleY=t,i=!0),i&&this.renderCanvas(!0,!0)),this},getData:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.options,i=this.imageData,r=this.canvasData,a=this.cropBoxData;if(this.ready&&this.cropped){e={x:a.left-r.left,y:a.top-r.top,width:a.width,height:a.height};var o=i.width/i.naturalWidth;if(zi(e,function(t,n){e[n]=t/o}),t){var s=Math.round(e.y+e.height),l=Math.round(e.x+e.width);e.x=Math.round(e.x),e.y=Math.round(e.y),e.width=l-e.x,e.height=s-e.y}}else e={x:0,y:0,width:0,height:0};return n.rotatable&&(e.rotate=i.rotate||0),n.scalable&&(e.scaleX=i.scaleX||1,e.scaleY=i.scaleY||1),e},setData:function(e){var t=this.options,n=this.imageData,i=this.canvasData,r={};if(this.ready&&!this.disabled&&Ii(e)){var a=!1;t.rotatable&&Ni(e.rotate)&&e.rotate!==n.rotate&&(n.rotate=e.rotate,a=!0),t.scalable&&(Ni(e.scaleX)&&e.scaleX!==n.scaleX&&(n.scaleX=e.scaleX,a=!0),Ni(e.scaleY)&&e.scaleY!==n.scaleY&&(n.scaleY=e.scaleY,a=!0)),a&&this.renderCanvas(!0,!0);var o=n.width/n.naturalWidth;Ni(e.x)&&(r.left=e.x*o+i.left),Ni(e.y)&&(r.top=e.y*o+i.top),Ni(e.width)&&(r.width=e.width*o),Ni(e.height)&&(r.height=e.height*o),this.setCropBoxData(r)}return this},getContainerData:function(){return this.ready?$i({},this.containerData):{}},getImageData:function(){return this.sized?$i({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,t={};return this.ready&&zi(["left","top","width","height","naturalWidth","naturalHeight"],function(n){t[n]=e[n]}),t},setCanvasData:function(e){var t=this.canvasData,n=t.aspectRatio;return this.ready&&!this.disabled&&Ii(e)&&(Ni(e.left)&&(t.left=e.left),Ni(e.top)&&(t.top=e.top),Ni(e.width)?(t.width=e.width,t.height=e.width/n):Ni(e.height)&&(t.height=e.height,t.width=e.height*n),this.renderCanvas(!0)),this},getCropBoxData:function(){var e,t=this.cropBoxData;return this.ready&&this.cropped&&(e={left:t.left,top:t.top,width:t.width,height:t.height}),e||{}},setCropBoxData:function(e){var t,n,i=this.cropBoxData,r=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&Ii(e)&&(Ni(e.left)&&(i.left=e.left),Ni(e.top)&&(i.top=e.top),Ni(e.width)&&e.width!==i.width&&(t=!0,i.width=e.width),Ni(e.height)&&e.height!==i.height&&(n=!0,i.height=e.height),r&&(t?i.height=i.width/r:n&&(i.width=i.height*r)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var t=this.canvasData,n=mr(this.image,this.imageData,t,e);if(!this.cropped)return n;var i=this.getData(),r=i.x,a=i.y,o=i.width,s=i.height,l=n.width/Math.floor(t.naturalWidth);1!==l&&(r*=l,a*=l,o*=l,s*=l);var c=o/s,u=pr({aspectRatio:c,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),d=pr({aspectRatio:c,width:e.minWidth||0,height:e.minHeight||0},"cover"),f=pr({aspectRatio:c,width:e.width||(1!==l?n.width:o),height:e.height||(1!==l?n.height:s)}),p=f.width,h=f.height;p=Math.min(u.width,Math.max(d.width,p)),h=Math.min(u.height,Math.max(d.height,h));var m=document.createElement("canvas"),g=m.getContext("2d");m.width=Ri(p),m.height=Ri(h),g.fillStyle=e.fillColor||"transparent",g.fillRect(0,0,p,h);var v=e.imageSmoothingEnabled,y=void 0===v||v,b=e.imageSmoothingQuality;g.imageSmoothingEnabled=y,b&&(g.imageSmoothingQuality=b);var w,x,k,_,C,S,T=n.width,M=n.height,E=r,A=a;E<=-o||E>T?(E=0,w=0,k=0,C=0):E<=0?(k=-E,E=0,w=Math.min(T,o+E),C=w):E<=T&&(k=0,w=Math.min(o,T-E),C=w),w<=0||A<=-s||A>M?(A=0,x=0,_=0,S=0):A<=0?(_=-A,A=0,x=Math.min(M,s+A),S=x):A<=M&&(_=0,x=Math.min(s,M-A),S=x);var L=[E,A,w,x];if(C>0&&S>0){var N=p/o;L.push(k*N,_*N,C*N,S*N)}return g.drawImage.apply(g,[n].concat(Pn(L.map(function(e){return Math.floor(Ri(e))})))),m},setAspectRatio:function(e){var t=this.options;return this.disabled||Di(e)||(t.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var t=this.options,n=this.dragBox,i=this.face;if(this.ready&&!this.disabled){var r=e===li,a=t.movable&&e===ci;e=r||a?e:ui,t.dragMode=e,Yi(n,oi,e),Vi(n,Jn,r),Vi(n,ai,a),t.cropBoxMovable||(Yi(i,oi,e),Vi(i,Jn,r),Vi(i,ai,a))}return this}},Ar=jn.Cropper,Lr=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Nn(this,e),!t||!Mi.test(t.tagName))throw new Error("The first argument is required and must be an or element.");this.element=t,this.options=$i({},Ei,Ii(n)&&n),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return On(e,[{key:"init",value:function(){var e,t=this.element,n=t.tagName.toLowerCase();if(!t[Rn]){if(t[Rn]=this,"img"===n){if(this.isImg=!0,e=t.getAttribute("src")||"",this.originalUrl=e,!e)return;e=t.src}else"canvas"===n&&window.HTMLCanvasElement&&(e=t.toDataURL());this.load(e)}}},{key:"load",value:function(e){var t=this;if(e){this.url=e,this.imageData={};var n=this.element,i=this.options;if(i.rotatable||i.scalable||(i.checkOrientation=!1),i.checkOrientation&&window.ArrayBuffer)if(Si.test(e))Ti.test(e)?this.read(br(e)):this.clone();else{var r=new XMLHttpRequest,a=this.clone.bind(this);this.reloading=!0,this.xhr=r,r.ontimeout=a,r.onabort=a,r.onerror=a,r.onprogress=function(){r.getResponseHeader("content-type")!==_i&&r.abort()},r.onload=function(){t.read(r.response)},r.onloadend=function(){t.reloading=!1,t.xhr=null},i.checkCrossOrigin&&or(e)&&n.crossOrigin&&(e=sr(e)),r.open("GET",e),r.responseType="arraybuffer",r.withCredentials="use-credentials"===n.crossOrigin,r.send()}else this.clone()}}},{key:"read",value:function(e){var t=this.options,n=this.imageData,i=xr(e),r=0,a=1,o=1;if(i>1){this.url=wr(e,_i);var s=kr(i);r=s.rotate,a=s.scaleX,o=s.scaleY}t.rotatable&&(n.rotate=r),t.scalable&&(n.scaleX=a,n.scaleY=o),this.clone()}},{key:"clone",value:function(){var e,t,n=this.element,i=this.url;this.options.checkCrossOrigin&&or(i)&&(e=n.crossOrigin,e?t=i:(e="anonymous",t=sr(i))),this.crossOrigin=e,this.crossOriginUrl=t;var r=document.createElement("img");e&&(r.crossOrigin=e),r.src=t||i,this.image=r,r.onload=this.start.bind(this),r.onerror=this.stop.bind(this),Wi(r,ni),n.parentNode.insertBefore(r,n.nextSibling)}},{key:"start",value:function(){var e=this,t=this.isImg?this.element:this.image;t.onload=null,t.onerror=null,this.sizing=!0;var n=jn.navigator&&/(Macintosh|iPhone|iPod|iPad).*AppleWebKit/i.test(jn.navigator.userAgent),i=function(t,n){$i(e.imageData,{naturalWidth:t,naturalHeight:n,aspectRatio:t/n}),e.sizing=!1,e.sized=!0,e.build()};if(!t.naturalWidth||n){var r=document.createElement("img"),a=document.body||document.documentElement;this.sizingImage=r,r.onload=function(){i(r.width,r.height),n||a.removeChild(r)},r.src=t.src,n||(r.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",a.appendChild(r))}else i(t.naturalWidth,t.naturalHeight)}},{key:"stop",value:function(){var e=this.image;e.onload=null,e.onerror=null,e.parentNode.removeChild(e),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var e=this.element,t=this.options,n=this.image,i=e.parentNode,r=document.createElement("div");r.innerHTML=Ai;var a=r.querySelector(".".concat(Rn,"-container")),o=a.querySelector(".".concat(Rn,"-canvas")),s=a.querySelector(".".concat(Rn,"-drag-box")),l=a.querySelector(".".concat(Rn,"-crop-box")),c=l.querySelector(".".concat(Rn,"-face"));this.container=i,this.cropper=a,this.canvas=o,this.dragBox=s,this.cropBox=l,this.viewBox=a.querySelector(".".concat(Rn,"-view-box")),this.face=c,o.appendChild(n),Wi(e,ti),i.insertBefore(a,e.nextSibling),this.isImg||Ui(n,ni),this.initPreview(),this.bind(),t.initialAspectRatio=Math.max(0,t.initialAspectRatio)||NaN,t.aspectRatio=Math.max(0,t.aspectRatio)||NaN,t.viewMode=Math.max(0,Math.min(3,Math.round(t.viewMode)))||0,Wi(l,ti),t.guides||Wi(l.getElementsByClassName("".concat(Rn,"-dashed")),ti),t.center||Wi(l.getElementsByClassName("".concat(Rn,"-center")),ti),t.background&&Wi(a,"".concat(Rn,"-bg")),t.highlight||Wi(c,ii),t.cropBoxMovable&&(Wi(c,ai),Yi(c,oi,qn)),t.cropBoxResizable||(Wi(l.getElementsByClassName("".concat(Rn,"-line")),ti),Wi(l.getElementsByClassName("".concat(Rn,"-point")),ti)),this.render(),this.ready=!0,this.setDragMode(t.dragMode),t.autoCrop&&this.crop(),this.setData(t.data),Fi(t.ready)&&tr(e,bi,t.ready,{once:!0}),nr(e,bi)}}},{key:"unbuild",value:function(){this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),this.cropper.parentNode.removeChild(this.cropper),Ui(this.element,ti))}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=Ar,e}},{key:"setDefaults",value:function(e){$i(Ei,Ii(e)&&e)}}]),e}();$i(Lr.prototype,_r,Cr,Sr,Tr,Mr,Er);var Nr=Lr,Dr={name:"Cropper",mixins:[Te],props:{imgUrl:{type:String,required:!0},maxHeight:{type:Number,required:!0}},data:function(){return{cropper:{},height:0,width:0,x:0,y:0,rotate:0,scaleX:1,scaleY:1}},mounted:function(){var e=this;this.cropper=new Nr(this.$refs.fmCropper,{preview:".cropper-preview",crop:function(t){e.x=Math.round(t.detail.x),e.y=Math.round(t.detail.y),e.height=Math.round(t.detail.height),e.width=Math.round(t.detail.width),e.rotate="undefined"!==typeof t.detail.rotate?t.detail.rotate:"",e.scaleX="undefined"!==typeof t.detail.scaleX?t.detail.scaleX:"",e.scaleY="undefined"!==typeof t.detail.scaleY?t.detail.scaleY:""}})},beforeDestroy:function(){this.cropper.destroy()},computed:{selectedItem:function(){return this.$store.getters["fm/selectedItems"][0]}},methods:{cropMove:function(e,t){this.cropper.move(e,t)},cropScaleY:function(){this.cropper.scale(1,1===this.cropper.getData().scaleY?-1:1)},cropScaleX:function(){this.cropper.scale(1===this.cropper.getData().scaleX?-1:1,1)},cropRotate:function(e){this.cropper.rotate(e)},cropZoom:function(e){this.cropper.zoom(e)},cropReset:function(){this.cropper.reset()},setData:function(){this.cropper.setData({x:this.x,y:this.y,width:this.width,height:this.height,rotate:this.rotate,scaleX:this.scaleX,scaleY:this.scaleY})},cropSave:function(){var e=this;this.cropper.getCroppedCanvas().toBlob(function(t){var n=new FormData;n.append("disk",e.$store.getters["fm/selectedDisk"]),n.append("path",e.selectedItem.dirname),n.append("file",t,e.selectedItem.basename),e.$store.dispatch("fm/updateFile",n).then(function(t){"success"===t.data.result.status&&e.$emit("closeCropper")})})}}},Or=Dr,Pr=(n("74f7"),Ae(Or,En,An,!1,null,null,null)),Ir=Pr.exports,Fr={name:"Preview",mixins:[Tt,Te,ot],components:{CropperModule:Ir},data:function(){return{showCropperModule:!1,imgUrl:""}},created:function(){this.imgUrl="".concat(this.$store.getters["fm/settings/baseUrl"],"preview?disk=").concat(this.selectedDisk,"&path=").concat(encodeURIComponent(this.selectedItem.path))},computed:{selectedDisk:function(){return this.$store.getters["fm/selectedDisk"]},selectedItem:function(){return this.$store.getters["fm/selectedItems"][0]},showFooter:function(){return this.canCrop(this.selectedItem.extension)&&!this.showCropperModule},maxHeight:function(){return this.$store.state.fm.modal.modalBlockHeight?this.$store.state.fm.modal.modalBlockHeight-170:300}},methods:{canCrop:function(e){return this.$store.state.fm.settings.cropExtensions.includes(e.toLowerCase())}}},zr=Fr,$r=(n("643a"),Ae(zr,Tn,Mn,!1,null,null,null)),jr=$r.exports,Rr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-text-edit"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title w-75 text-truncate"},[e._v("\n "+e._s(e.lang.modal.editor.title)+" "),n("small",{staticClass:"text-muted pl-3"},[e._v(e._s(e.selectedItem.basename))])]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("codemirror",{ref:"fmCodeEditor",attrs:{options:e.cmOptions},model:{value:e.code,callback:function(t){e.code=t},expression:"code"}})],1),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-info",on:{click:e.updateFile}},[e._v(e._s(e.lang.btn.submit)+"\n ")]),n("button",{staticClass:"btn btn-default",on:{click:e.hideModal}},[e._v(e._s(e.lang.btn.cancel))])])])},qr=[],Br=n("8f94"),Hr=(n("02f0"),n("7b00"),n("1b63"),n("d69f"),n("f9d4"),n("693d"),n("959b"),n("d5e0"),n("4ba6"),n("44d5"),n("ffda"),n("8eb3"),n("906f"),n("db91"),n("c0e2"),n("8536"),n("4ff4"),n("ced0"),n("dc5b"),{name:"TextEdit",mixins:[Tt,Te],components:{codemirror:Br["codemirror"]},data:function(){return{code:""}},mounted:function(){var e=this;this.$store.dispatch("fm/getFile",{disk:this.selectedDisk,path:this.selectedItem.path}).then(function(t){e.code=t.data,e.$refs.fmCodeEditor.codemirror.setSize(null,e.editorHeight)})},computed:{selectedDisk:function(){return this.$store.getters["fm/selectedDisk"]},selectedItem:function(){return this.$store.getters["fm/selectedItems"][0]},cmOptions:function(){return{mode:this.$store.state.fm.settings.textExtensions[this.selectedItem.extension],theme:"blackboard",lineNumbers:!0,line:!0}},editorHeight:function(){return this.$store.state.fm.modal.modalBlockHeight?this.$store.state.fm.modal.modalBlockHeight-200:300}},methods:{updateFile:function(){var e=this,t=new FormData;t.append("disk",this.selectedDisk),t.append("path",this.selectedItem.dirname),t.append("file",new Blob([this.code]),this.selectedItem.basename),this.$store.dispatch("fm/updateFile",t).then(function(t){"success"===t.data.result.status&&e.hideModal()})}}}),Wr=Hr,Ur=(n("2729"),Ae(Wr,Rr,qr,!1,null,null,null)),Vr=Ur.exports,Gr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-audio-player"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[e._v("\n "+e._s(e.lang.modal.audioPlayer.title)+"\n ")]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("audio",{ref:"fmAudio",attrs:{controls:""}}),n("hr"),e._l(e.audioFiles,function(t,i){return n("div",{key:i,staticClass:"d-flex justify-content-between py-2 px-2",class:e.playingIndex===i?"bg-light":""},[n("div",{staticClass:"w-75 text-truncate"},[n("span",{staticClass:"text-muted pr-2"},[e._v(e._s(i)+".")]),e._v("\n "+e._s(t.basename)+"\n ")]),e.playingIndex===i?["playing"===e.status?n("div",[n("i",{staticClass:"fas fa-play active",on:{click:function(t){return e.togglePlay()}}})]):n("div",[n("i",{staticClass:"fas fa-pause",on:{click:function(t){return e.togglePlay()}}})])]:[n("div",[n("i",{staticClass:"fas fa-play",on:{click:function(t){return e.selectTrack(i)}}})])]],2)})],2)])},Xr=[],Kr=n("4fb8"),Yr=n.n(Kr),Zr={name:"Player",mixins:[Tt,Te],data:function(){return{player:{},playingIndex:0,status:"paused"}},mounted:function(){var e=this;this.player=new Yr.a(this.$refs.fmAudio,{speed:{selected:1,options:[.5,1,1.5]}}),this.setSource(this.playingIndex),this.player.on("play",function(){e.status="playing"}),this.player.on("pause",function(){e.status="paused"}),this.player.on("ended",function(){e.audioFiles.length>e.playingIndex+1&&e.selectTrack(e.playingIndex+1)})},beforeDestroy:function(){this.player.destroy()},computed:{selectedDisk:function(){return this.$store.getters["fm/selectedDisk"]},audioFiles:function(){return this.$store.getters["fm/selectedItems"]}},methods:{selectTrack:function(e){this.player.playing&&this.player.stop(),this.setSource(e),this.player.play(),this.playingIndex=e},setSource:function(e){this.player.source={type:"audio",title:this.audioFiles[e].filename,sources:[{src:"".concat(this.$store.getters["fm/settings/baseUrl"],"stream-file?disk=").concat(this.selectedDisk,"&path=").concat(encodeURIComponent(this.audioFiles[e].path)),type:"audio/".concat(this.audioFiles[e].extension)}]}},togglePlay:function(){this.player.togglePlay()}}},Qr=Zr,Jr=(n("8a50"),Ae(Qr,Gr,Xr,!1,null,null,null)),ea=Jr.exports,ta=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-video-player"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title w-75 text-truncate"},[e._v("\n "+e._s(e.lang.modal.videoPlayer.title)+" "),n("small",{staticClass:"text-muted pl-3"},[e._v(e._s(e.videoFile.basename))])]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("video",{ref:"fmVideo",attrs:{controls:""}})])])},na=[],ia={name:"Player",mixins:[Tt,Te],data:function(){return{player:{}}},mounted:function(){this.player=new Yr.a(this.$refs.fmVideo),this.player.source={type:"video",title:this.videoFile.filename,sources:[{src:"".concat(this.$store.getters["fm/settings/baseUrl"],"stream-file?disk=").concat(this.selectedDisk,"&path=").concat(encodeURIComponent(this.videoFile.path)),type:"audio/".concat(this.videoFile.extension)}]}},beforeDestroy:function(){this.player.destroy()},computed:{selectedDisk:function(){return this.$store.getters["fm/selectedDisk"]},videoFile:function(){return this.$store.getters["fm/selectedItems"][0]}},methods:{}},ra=ia,aa=(n("de14"),Ae(ra,ta,na,!1,null,null,null)),oa=aa.exports,sa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-zip"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[e._v(e._s(e.lang.modal.zip.title))]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("label",{attrs:{for:"fm-zip-name"}},[e._v(e._s(e.lang.modal.zip.fieldName))]),n("div",{staticClass:"input-group mb-3"},[n("input",{directives:[{name:"focus",rawName:"v-focus"},{name:"model",rawName:"v-model",value:e.archiveName,expression:"archiveName"}],staticClass:"form-control",class:{"is-invalid":e.archiveExist},attrs:{type:"text",id:"fm-zip-name"},domProps:{value:e.archiveName},on:{keyup:e.validateArchiveName,input:function(t){t.target.composing||(e.archiveName=t.target.value)}}}),e._m(0),n("div",{directives:[{name:"show",rawName:"v-show",value:e.archiveExist,expression:"archiveExist"}],staticClass:"invalid-feedback"},[e._v("\n "+e._s(e.lang.modal.zip.fieldFeedback)+"\n ")])]),n("hr"),n("selected-file-list")],1),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-info",attrs:{disabled:!e.submitActive},on:{click:e.createArchive}},[e._v(e._s(e.lang.btn.submit)+"\n ")]),n("button",{staticClass:"btn btn-default",on:{click:e.hideModal}},[e._v(e._s(e.lang.btn.cancel))])])])},la=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"input-group-append"},[n("span",{staticClass:"input-group-text"},[e._v(".zip")])])}],ca={name:"Zip",mixins:[Tt,Te],components:{SelectedFileList:Yt},data:function(){return{archiveName:"",archiveExist:!1}},computed:{submitActive:function(){return this.archiveName&&!this.archiveExist}},methods:{validateArchiveName:function(){this.archiveName?this.archiveExist=this.$store.getters["fm/".concat(this.activeManager,"/fileExist")]("".concat(this.archiveName,".zip")):this.archiveExist=!1},createArchive:function(){var e=this;this.$store.dispatch("fm/zip","".concat(this.archiveName,".zip")).then(function(){e.hideModal()})}}},ua=ca,da=Ae(ua,sa,la,!1,null,null,null),fa=da.exports,pa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-unzip"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[e._v(e._s(e.lang.modal.unzip.title))]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"d-flex justify-content-between"},[n("div",[n("strong",[e._v(e._s(e.lang.modal.unzip.fieldRadioName))])]),n("div",{staticClass:"form-check form-check-inline"},[n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.createFolder,expression:"createFolder",modifiers:{number:!0}}],staticClass:"form-check-input",attrs:{id:"unzipRadio1",type:"radio",name:"uploadOptions",value:"0",checked:""},domProps:{checked:e._q(e.createFolder,e._n("0"))},on:{change:function(t){e.createFolder=e._n("0")}}}),n("label",{staticClass:"form-check-label",attrs:{for:"unzipRadio1"}},[e._v("\n "+e._s(e.lang.modal.unzip.fieldRadio1)+"\n ")])]),n("div",{staticClass:"form-check form-check-inline"},[n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.createFolder,expression:"createFolder",modifiers:{number:!0}}],staticClass:"form-check-input",attrs:{id:"unzipRadio2",type:"radio",name:"uploadOptions",value:"1",checked:""},domProps:{checked:e._q(e.createFolder,e._n("1"))},on:{change:function(t){e.createFolder=e._n("1")}}}),n("label",{staticClass:"form-check-label",attrs:{for:"unzipRadio2"}},[e._v("\n "+e._s(e.lang.modal.unzip.fieldRadio2)+"\n ")])])]),n("hr"),e.createFolder?n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"fm-folder-name"}},[e._v(e._s(e.lang.modal.unzip.fieldName))]),n("input",{directives:[{name:"focus",rawName:"v-focus"},{name:"model",rawName:"v-model",value:e.directoryName,expression:"directoryName"}],staticClass:"form-control",class:{"is-invalid":e.directoryExist},attrs:{type:"text",id:"fm-folder-name"},domProps:{value:e.directoryName},on:{keyup:e.validateDirName,input:function(t){t.target.composing||(e.directoryName=t.target.value)}}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.directoryExist,expression:"directoryExist"}],staticClass:"invalid-feedback"},[e._v("\n "+e._s(e.lang.modal.unzip.fieldFeedback)+"\n ")])]):n("span",{staticClass:"text-danger"},[e._v(e._s(e.lang.modal.unzip.warning))])]),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-info",attrs:{disabled:!e.submitActive},on:{click:e.unpackArchive}},[e._v(e._s(e.lang.btn.submit)+"\n ")]),n("button",{staticClass:"btn btn-default",on:{click:e.hideModal}},[e._v(e._s(e.lang.btn.cancel))])])])},ha=[],ma={name:"Unzip",mixins:[Tt,Te],data:function(){return{createFolder:0,directoryName:"",directoryExist:!1}},computed:{submitActive:function(){return!this.createFolder||this.directoryName&&!this.directoryExist}},methods:{validateDirName:function(){this.directoryName?this.directoryExist=this.$store.getters["fm/".concat(this.activeManager,"/directoryExist")](this.directoryName):this.directoryExist=!1},unpackArchive:function(){var e=this;this.$store.dispatch("fm/unzip",this.createFolder?this.directoryName:null).then(function(){e.hideModal()})}}},ga=ma,va=Ae(ga,pa,ha,!1,null,null,null),ya=va.exports,ba=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-about"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[e._v(e._s(e.lang.modal.about.title))]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("strong",[e._v(e._s(e.lang.modal.about.name))]),n("hr"),n("dl",{staticClass:"row"},[n("dt",{staticClass:"col-3"},[e._v(e._s(e.lang.modal.about.version)+":")]),n("dd",{staticClass:"col-9"},[e._v(e._s(e.version))]),n("dt",{staticClass:"col-3"},[e._v(e._s(e.lang.modal.about.developer)+":")]),n("dd",{staticClass:"col-9"},[e._v("Aleksandr Manekin")]),n("dt",{staticClass:"col-3"},[e._v("Email:")]),e._m(0),n("dt",{staticClass:"col-3"},[e._v("GitHub:")]),e._m(1),n("dt",{staticClass:"col-3"},[e._v("Home:")]),e._m(2)])])])},wa=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("dd",{staticClass:"col-9"},[n("a",{attrs:{href:"mailto:alexusmai@gmail.com"}},[e._v("alexusmai@gmail.com")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("dd",{staticClass:"col-9"},[n("a",{attrs:{href:"https://github.com/alexusmai/laravel-file-manager",target:"_blank"}},[e._v("\n alexusmai/laravel-file-manager\n ")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("dd",{staticClass:"col-9"},[n("a",{attrs:{href:"http://webmai.ru/projects/file-manager",target:"_blank"}},[e._v("\n Laravel File Manager (RU)\n ")])])}],xa={name:"About",mixins:[Tt,Te],computed:{version:function(){return this.$store.state.fm.settings.version}}},ka=xa,_a=Ae(ka,ba,wa,!1,null,null,null),Ca=_a.exports,Sa={name:"Modal",components:{NewFile:Lt,NewFolder:Ft,Upload:Bt,Delete:en,Clipboard:sn,Status:pn,Rename:bn,Properties:Sn,Preview:jr,TextEdit:Vr,AudioPlayer:ea,VideoPlayer:oa,Zip:fa,Unzip:ya,About:Ca},mounted:function(){this.$store.commit("fm/modal/setModalBlockHeight",this.$refs.fmModal.offsetHeight)},computed:{modalName:function(){return this.$store.state.fm.modal.modalName},modalSize:function(){return{"modal-xl":"Preview"===this.modalName||"TextEdit"===this.modalName,"modal-lg":"VideoPlayer"===this.modalName,"modal-sm":!1}}},methods:{hideModal:function(){this.$store.commit("fm/modal/clearModal")}}},Ta=Sa,Ma=(n("8781"),Ae(Ta,kt,_t,!1,null,null,null)),Ea=Ma.exports,Aa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"row justify-content-between fm-info-block"},[n("div",{staticClass:"col-auto"},[n("span",{directives:[{name:"show",rawName:"v-show",value:e.selectedCount,expression:"selectedCount"}]},[e._v("\n "+e._s(e.lang.info.selected+" "+e.selectedCount)+"\n "+e._s(e.lang.info.selectedSize+" "+e.selectedFilesSize)+"\n ")]),n("span",{directives:[{name:"show",rawName:"v-show",value:!e.selectedCount,expression:"!selectedCount"}]},[e._v("\n "+e._s(e.lang.info.directories+" "+e.directoriesCount)+"\n "+e._s(e.lang.info.files+" "+e.filesCount)+"\n "+e._s(e.lang.info.size+" "+e.filesSize)+"\n ")])]),n("div",{staticClass:"col-4"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.progressBar,expression:"progressBar"}],staticClass:"progress"},[n("div",{staticClass:"progress-bar progress-bar-striped bg-info",style:{width:e.progressBar+"%"},attrs:{role:"progressbar","aria-valuenow":e.progressBar,"aria-valuemin":"0","aria-valuemax":"100"}},[e._v("\n "+e._s(e.progressBar)+"%\n ")])])]),n("div",{staticClass:"col-auto text-right"},[n("span",{directives:[{name:"show",rawName:"v-show",value:e.loadingSpinner,expression:"loadingSpinner"}]},[n("i",{staticClass:"fas fa-spinner fa-pulse"})]),n("span",{directives:[{name:"show",rawName:"v-show",value:e.clipboardType,expression:"clipboardType"}],attrs:{title:[e.lang.clipboard.title+" - "+e.lang.clipboard[e.clipboardType]]},on:{click:function(t){return e.showModal("Clipboard")}}},[n("i",{staticClass:"far fa-clipboard"})]),n("span",{class:[e.hasErrors?"text-danger":"text-success"],attrs:{title:e.lang.modal.status.title},on:{click:function(t){return e.showModal("Status")}}},[n("i",{staticClass:"fas fa-info-circle"})])])])},La=[],Na={name:"InfoBlock",mixins:[Te,ot],computed:{activeManager:function(){return this.$store.state.fm.activeManager},progressBar:function(){return this.$store.state.fm.messages.actionProgress},hasErrors:function(){return!!this.$store.state.fm.messages.errors.length},filesCount:function(){return this.$store.getters["fm/".concat(this.activeManager,"/filesCount")]},directoriesCount:function(){return this.$store.getters["fm/".concat(this.activeManager,"/directoriesCount")]},filesSize:function(){return this.bytesToHuman(this.$store.getters["fm/".concat(this.activeManager,"/filesSize")])},selectedCount:function(){return this.$store.getters["fm/".concat(this.activeManager,"/selectedCount")]},selectedFilesSize:function(){return this.bytesToHuman(this.$store.getters["fm/".concat(this.activeManager,"/selectedFilesSize")])},clipboardType:function(){return this.$store.state.fm.clipboard.type},loadingSpinner:function(){return this.$store.state.fm.messages.loading}},methods:{showModal:function(e){this.$store.commit("fm/modal/setModalState",{modalName:e,show:!0})}}},Da=Na,Oa=(n("db74"),Ae(Da,Aa,La,!1,null,null,null)),Pa=Oa.exports,Ia=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.menuVisible?n("div",{ref:"contextMenu",staticClass:"fm-context-menu",style:e.menuStyle,attrs:{tabindex:"-1"},on:{blur:e.closeMenu}},e._l(e.menu,function(t,i){return n("ul",{key:"g-"+i,staticClass:"list-unstyled"},e._l(t,function(t,i){return e.showMenuItem(t.name)?n("li",{key:"i-"+i,on:{click:function(n){return e.menuAction(t.name)}}},[n("i",{staticClass:"fa-fw",class:t.icon}),e._v("\n "+e._s(e.lang.contextMenu[t.name])+"\n ")]):e._e()}),0)}),0):e._e()},Fa=[],za={computed:{selectedDisk:function(){return this.$store.getters["fm/selectedDisk"]},selectedItems:function(){return this.$store.getters["fm/selectedItems"]},selectedDiskDriver:function(){return this.$store.state.fm.disks[this.selectedDisk].driver},multiSelect:function(){return this.$store.getters["fm/selectedItems"].length>1},firstItemType:function(){return this.$store.getters["fm/selectedItems"][0].type}},methods:{canView:function(e){return!!e&&this.$store.state.fm.settings.imageExtensions.includes(e.toLowerCase())},canEdit:function(e){return!!e&&Object.keys(this.$store.state.fm.settings.textExtensions).includes(e.toLowerCase())},canAudioPlay:function(e){return!!e&&this.$store.state.fm.settings.audioExtensions.includes(e.toLowerCase())},canVideoPlay:function(e){return!!e&&this.$store.state.fm.settings.videoExtensions.includes(e.toLowerCase())},isZip:function(e){return!!e&&"zip"===e.toLowerCase()},downloadLink:function(){return"".concat(this.$store.getters["fm/settings/baseUrl"],"download?disk=").concat(this.selectedDisk,"&path=").concat(encodeURIComponent(this.selectedItems[0].path))}}},$a={methods:{openRule:function(){return!this.multiSelect&&"dir"===this.firstItemType},audioPlayRule:function(){var e=this;return this.selectedItems.every(function(e){return"file"===e.type})&&this.selectedItems.every(function(t){return e.canAudioPlay(t.extension)})},videoPlayRule:function(){return!this.multiSelect&&this.canVideoPlay(this.selectedItems[0].extension)},viewRule:function(){return!this.multiSelect&&"file"===this.firstItemType&&this.canView(this.selectedItems[0].extension)},editRule:function(){return!this.multiSelect&&"file"===this.firstItemType&&this.canEdit(this.selectedItems[0].extension)},selectRule:function(){return!this.multiSelect&&"file"===this.firstItemType&&this.$store.state.fm.fileCallback},downloadRule:function(){return!this.multiSelect&&"file"===this.firstItemType},copyRule:function(){return!0},cutRule:function(){return!0},renameRule:function(){return!this.multiSelect},pasteRule:function(){return!!this.$store.state.fm.clipboard.type},zipRule:function(){return"local"===this.selectedDiskDriver},unzipRule:function(){return"local"===this.selectedDiskDriver&&!this.multiSelect&&"file"===this.firstItemType&&this.isZip(this.selectedItems[0].extension)},deleteRule:function(){return!0},propertiesRule:function(){return!this.multiSelect}}},ja={methods:{openAction:function(){this.$store.dispatch("fm/".concat(this.$store.state.fm.activeManager,"/selectDirectory"),{path:this.selectedItems[0].path,history:!0})},audioPlayAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"AudioPlayer",show:!0})},videoPlayAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"VideoPlayer",show:!0})},viewAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"Preview",show:!0})},editAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"TextEdit",show:!0})},selectAction:function(){this.$store.dispatch("fm/url",{disk:this.selectedDisk,path:this.selectedItems[0].path})},downloadAction:function(){var e=document.createElement("a");e.style.display="none",e.href=this.downloadLink(),e.setAttribute("download",this.selectedItems[0].basename),e.setAttribute("target","_blank"),document.body.appendChild(e),e.click(),document.body.removeChild(e)},copyAction:function(){this.$store.dispatch("fm/toClipboard","copy")},cutAction:function(){this.$store.dispatch("fm/toClipboard","cut")},renameAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"Rename",show:!0})},pasteAction:function(){this.$store.dispatch("fm/paste")},zipAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"Zip",show:!0})},unzipAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"Unzip",show:!0})},deleteAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"Delete",show:!0})},propertiesAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"Properties",show:!0})}}},Ra={name:"ContextMenu",mixins:[Te,za,$a,ja],data:function(){return{menuVisible:!1,menuStyle:{top:0,left:0}}},mounted:function(){var e=this;_e.$on("contextMenu",function(t){return e.showMenu(t)})},computed:{menu:function(){return this.$store.state.fm.settings.contextMenu}},methods:{showMenu:function(e){var t=this;this.selectedItems&&(this.menuVisible=!0,this.$nextTick(function(){t.$refs.contextMenu.focus(),t.setMenu(e.pageY,e.pageX)}))},setMenu:function(e,t){var n=this.$refs.contextMenu.parentNode,i=n.getBoundingClientRect(),r=window.pageYOffset+i.top,a=window.pageXOffset+i.left,o=e-r,s=t-a,l=r+(n.offsetHeight-this.$refs.contextMenu.offsetHeight-25),c=a+(n.offsetWidth-this.$refs.contextMenu.offsetWidth-25);e>l&&(o=l-r),t>c&&(s=c-a),this.menuStyle.top="".concat(o,"px"),this.menuStyle.left="".concat(s,"px")},closeMenu:function(){this.menuVisible=!1},showMenuItem:function(e){return!!Object.prototype.hasOwnProperty.call(this,"".concat(e,"Rule"))&&this["".concat(e,"Rule")]()},menuAction:function(e){Object.prototype.hasOwnProperty.call(this,"".concat(e,"Action"))&&this["".concat(e,"Action")](),this.closeMenu()}}},qa=Ra,Ba=(n("679e"),Ae(qa,Ia,Fa,!1,null,null,null)),Ha=Ba.exports,Wa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-notification"},[n("transition-group",{attrs:{name:"notify"}},e._l(e.notifications,function(t,i){return n("div",{key:"notify-"+i,staticClass:"fm-notification-item",class:"fm-"+t.status,attrs:{role:"alert"}},[e._v("\n "+e._s(t.message)+"\n ")])}),0)],1)},Ua=[],Va={name:"notification",data:function(){return{notifications:[]}},mounted:function(){var e=this;_e.$on("addNotification",function(t){var n=t.status,i=t.message;return e.addNotification(n,i)})},methods:{addNotification:function(e,t){var n=this;this.notifications.push({status:e,message:t}),setTimeout(function(){n.notifications.shift()},3e3)}}},Ga=Va,Xa=(n("eea5"),Ae(Ga,Wa,Ua,!1,null,null,null)),Ka=Xa.exports;function Ya(e){for(var t=1;tn.indentOf||n.innerModeForLine&&!t.sol()||i)return n.innerMode?(n.innerState||(n.innerState=n.innerMode.startState?e.startState(n.innerMode,t.indentation()):{}),t.hideFirstChars(n.indentOf+2,function(){return n.innerMode.token(t,n.innerState)||!0})):(t.skipToEnd(),n.indentToken);t.sol()&&(n.indentOf=1/0,n.indentToken=null,n.innerMode=null,n.innerState=null)}function X(e,t){if(e.sol()&&(t.restOfLine=""),t.restOfLine){e.skipToEnd();var n=t.restOfLine;return t.restOfLine="",n}}function K(){return new l}function Y(e){return e.copy()}function Z(e,t){var n=G(e,t)||X(e,t)||h(e,t)||C(e,t)||L(e,t)||$(e,t)||c(e,t)||u(e,t)||M(e,t)||d(e,t)||f(e,t)||p(e,t)||m(e,t)||g(e,t)||v(e,t)||y(e,t)||b(e,t)||w(e,t)||x(e,t)||k(e,t)||_(e,t)||S(e,t)||T(e,t)||E(e,t)||A(e,t)||N(e,t)||D(e,t)||O(e,t)||P(e,t)||I(e,t)||F(e,t)||z(e,t)||j(e,t)||R(e,t)||H(e,t)||q(e,t)||B(e,t)||W(e,t)||U(e,t);return!0===n?null:n}return l.prototype.copy=function(){var t=new l;return t.javaScriptLine=this.javaScriptLine,t.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon,t.javaScriptArguments=this.javaScriptArguments,t.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth,t.isInterpolating=this.isInterpolating,t.interpolationNesting=this.interpolationNesting,t.jsState=e.copyState(s,this.jsState),t.innerMode=this.innerMode,this.innerMode&&this.innerState&&(t.innerState=e.copyState(this.innerMode,this.innerState)),t.restOfLine=this.restOfLine,t.isIncludeFiltered=this.isIncludeFiltered,t.isEach=this.isEach,t.lastTag=this.lastTag,t.scriptType=this.scriptType,t.isAttrs=this.isAttrs,t.attrsNest=this.attrsNest.slice(),t.inAttributeName=this.inAttributeName,t.attributeIsType=this.attributeIsType,t.attrValue=this.attrValue,t.indentOf=this.indentOf,t.indentToken=this.indentToken,t.innerModeForLine=this.innerModeForLine,t},{startState:K,copyState:Y,token:Z}},"javascript","css","htmlmixed"),e.defineMIME("text/x-pug","pug"),e.defineMIME("text/x-jade","pug")})},"5ca1":function(e,t,n){var i=n("7726"),r=n("8378"),a=n("32e9"),o=n("2aba"),s=n("9b43"),l="prototype",c=function(e,t,n){var u,d,f,p,h=e&c.F,m=e&c.G,g=e&c.S,v=e&c.P,y=e&c.B,b=m?i:g?i[t]||(i[t]={}):(i[t]||{})[l],w=m?r:r[t]||(r[t]={}),x=w[l]||(w[l]={});for(u in m&&(n=t),n)d=!h&&b&&void 0!==b[u],f=(d?b:n)[u],p=y&&d?s(f,i):v&&"function"==typeof f?s(Function.call,f):f,b&&o(b,u,f,e&c.U),w[u]!=f&&a(w,u,p),v&&x[u]!=f&&(x[u]=f)};i.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},"5cb0":function(e,t,n){"use strict";var i=n("ada7"),r=n.n(i);r.a},"5cc5":function(e,t,n){var i=n("2b4c")("iterator"),r=!1;try{var a=[7][i]();a["return"]=function(){r=!0},Array.from(a,function(){throw 2})}catch(o){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var a=[7],s=a[i]();s.next=function(){return{done:n=!0}},a[i]=function(){return s},e(a)}catch(o){}return n}},"5dbc":function(e,t,n){var i=n("d3f4"),r=n("8b97").set;e.exports=function(e,t,n){var a,o=t.constructor;return o!==n&&"function"==typeof o&&(a=o.prototype)!==n.prototype&&i(a)&&r&&r(e,a),e}},"5df2":function(e,t,n){var i=n("5ca1"),r=n("d752");i(i.S+i.F*(Number.parseFloat!=r),"Number",{parseFloat:r})},"5df3":function(e,t,n){"use strict";var i=n("02f4")(!0);n("01f9")(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})})},"5eda":function(e,t,n){var i=n("5ca1"),r=n("8378"),a=n("79e5");e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],o={};o[e]=t(n),i(i.S+i.F*a(function(){n(1)}),"Object",o)}},"5f1b":function(e,t,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var a=n.call(e,t);if("object"!==typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},"608d":function(e,t,n){"use strict";var i=n("d226"),r=n.n(i);r.a},"613b":function(e,t,n){var i=n("5537")("keys"),r=n("ca5a");e.exports=function(e){return i[e]||(i[e]=r(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)}},"63d9":function(e,t,n){n("ec30")("Float32",4,function(e){return function(t,n,i){return e(this,t,n,i)}})},"643a":function(e,t,n){"use strict";var i=n("31c5"),r=n.n(i);r.a},"643e":function(e,t,n){"use strict";var i=n("dcbc"),r=n("67ab").getWeak,a=n("cb7c"),o=n("d3f4"),s=n("f605"),l=n("4a59"),c=n("0a49"),u=n("69a8"),d=n("b39a"),f=c(5),p=c(6),h=0,m=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},v=function(e,t){return f(e.a,function(e){return e[0]===t})};g.prototype={get:function(e){var t=v(this,e);if(t)return t[1]},has:function(e){return!!v(this,e)},set:function(e,t){var n=v(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,a){var c=e(function(e,i){s(e,c,t,"_i"),e._t=t,e._i=h++,e._l=void 0,void 0!=i&&l(i,n,e[a],e)});return i(c.prototype,{delete:function(e){if(!o(e))return!1;var n=r(e);return!0===n?m(d(this,t))["delete"](e):n&&u(n,this._i)&&delete n[this._i]},has:function(e){if(!o(e))return!1;var n=r(e);return!0===n?m(d(this,t)).has(e):n&&u(n,this._i)}}),c},def:function(e,t,n){var i=r(a(t),!0);return!0===i?m(e).set(t,n):i[e._i]=n,e},ufstore:m}},"64d5":function(e,t,n){"use strict";var i=n("5ca1"),r=n("4bf8"),a=n("6a99"),o=n("38fd"),s=n("11e9").f;n("9e1e")&&i(i.P+n("c5b4"),"Object",{__lookupSetter__:function(e){var t,n=r(this),i=a(e,!0);do{if(t=s(n,i))return t.set}while(n=o(n))}})},"66c8":function(e,t,n){var i=n("d3f4");n("5eda")("isFrozen",function(e){return function(t){return!i(t)||!!e&&e(t)}})},"673e":function(e,t,n){"use strict";n("386b")("sub",function(e){return function(){return e(this,"sub","","")}})},6762:function(e,t,n){"use strict";var i=n("5ca1"),r=n("c366")(!0);i(i.P,"Array",{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},"679e":function(e,t,n){"use strict";var i=n("13b4"),r=n.n(i);r.a},"67ab":function(e,t,n){var i=n("ca5a")("meta"),r=n("d3f4"),a=n("69a8"),o=n("86cc").f,s=0,l=Object.isExtensible||function(){return!0},c=!n("79e5")(function(){return l(Object.preventExtensions({}))}),u=function(e){o(e,i,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,i)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[i].i},f=function(e,t){if(!a(e,i)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[i].w},p=function(e){return c&&h.NEED&&l(e)&&!a(e,i)&&u(e),e},h=e.exports={KEY:i,NEED:!1,fastKey:d,getWeak:f,onFreeze:p}},"67df":function(e,t,n){"use strict";var i=n("9d65"),r=n.n(i);r.a},6821:function(e,t,n){var i=n("626a"),r=n("be13");e.exports=function(e){return i(r(e))}},"693d":function(e,t,n){(function(e){"use strict";e(n("56b3"),n("9eb9"),n("d5e0"),n("f9d4"),n("a0bd"),n("7b00"),n("1b63"),n("76d2"),n("5bef"),n("e1de"))})(function(e){var t={script:[["lang",/coffee(script)?/,"coffeescript"],["type",/^(?:text|application)\/(?:x-)?coffee(?:script)?$/,"coffeescript"],["lang",/^babel$/,"javascript"],["type",/^text\/babel$/,"javascript"],["type",/^text\/ecmascript-\d+$/,"javascript"]],style:[["lang",/^stylus$/i,"stylus"],["lang",/^sass$/i,"sass"],["lang",/^less$/i,"text/x-less"],["lang",/^scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?styl(us)?$/i,"stylus"],["type",/^text\/sass/i,"sass"],["type",/^(text\/)?(x-)?scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?less$/i,"text/x-less"]],template:[["lang",/^vue-template$/i,"vue"],["lang",/^pug$/i,"pug"],["lang",/^handlebars$/i,"handlebars"],["type",/^(text\/)?(x-)?pug$/i,"pug"],["type",/^text\/x-handlebars-template$/i,"handlebars"],[null,null,"vue-template"]]};e.defineMode("vue-template",function(t,n){var i={token:function(e){if(e.match(/^\{\{.*?\}\}/))return"meta mustache";while(e.next()&&!e.match("{{",!1));return null}};return e.overlayMode(e.getMode(t,n.backdrop||"text/html"),i)}),e.defineMode("vue",function(n){return e.getMode(n,{name:"htmlmixed",tags:t})},"htmlmixed","xml","javascript","coffeescript","css","sass","stylus","pug","handlebars"),e.defineMIME("script/x-vue","vue"),e.defineMIME("text/x-vue","vue")})},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"6a99":function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},"6aa2":function(e,t,n){n("ec30")("Uint8",1,function(e){return function(t,n,i){return e(this,t,n,i)}},!0)},"6b54":function(e,t,n){"use strict";n("3846");var i=n("cb7c"),r=n("0bfb"),a=n("9e1e"),o="toString",s=/./[o],l=function(e){n("2aba")(RegExp.prototype,o,e,!0)};n("79e5")(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?l(function(){var e=i(this);return"/".concat(e.source,"/","flags"in e?e.flags:!a&&e instanceof RegExp?r.call(e):void 0)}):s.name!=o&&l(function(){return s.call(this)})},"6c1a":function(e,t,n){var i=n("5ca1"),r=n("2d5c"),a=Math.exp;i(i.S+i.F*n("79e5")(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(r(e)-r(-e))/2:(a(e-1)-a(-e-1))*(Math.E/2)}})},"6c37":function(e,t,n){"use strict";n("386b")("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},"6c7b":function(e,t,n){var i=n("5ca1");i(i.P,"Array",{fill:n("36bd")}),n("9c6c")("fill")},7333:function(e,t,n){"use strict";var i=n("0d58"),r=n("2621"),a=n("52a7"),o=n("4bf8"),s=n("626a"),l=Object.assign;e.exports=!l||n("79e5")(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=i})?function(e,t){var n=o(e),l=arguments.length,c=1,u=r.f,d=a.f;while(l>c){var f,p=s(arguments[c++]),h=u?i(p).concat(u(p)):i(p),m=h.length,g=0;while(m>g)d.call(p,f=h[g++])&&(n[f]=p[f])}return n}:l},"744f":function(e,t,n){var i=n("5ca1");i(i.P,"Array",{copyWithin:n("ba92")}),n("9c6c")("copyWithin")},"74f7":function(e,t,n){"use strict";var i=n("0bb3"),r=n.n(i);r.a},7514:function(e,t,n){"use strict";var i=n("5ca1"),r=n("0a49")(5),a="find",o=!0;a in[]&&Array(1)[a](function(){o=!1}),i(i.P+i.F*o,"Array",{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(a)},"76ae":function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";function t(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function n(e,t){if(!e)return/(?:)/;var n="";return e instanceof RegExp?(e.ignoreCase&&(n="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",n)}function i(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n2&&u.token&&"string"!=typeof u.token){i.pending=[];for(var p=2;p-1)return e.Pass;var o=i.indent.length-1,s=t[i.state];e:for(;;){for(var c=0;c]=?|\?:|\~)/,P=m(u),I=g(d),F=new RegExp(/^\-(moz|ms|o|webkit)-/i),z=g(f),$="",j={};while(x.length|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),t.context.line.firstWord=$?$[0].replace(/^\s*/,""):"",t.context.line.indent=e.indentation(),p=e.peek(),e.match("//"))return e.skipToEnd(),["comment","comment"];if(e.match("/*"))return t.tokenize=q,q(e,t);if('"'==p||"'"==p)return e.next(),t.tokenize=B(p),t.tokenize(e,t);if("@"==p)return e.next(),e.eatWhile(/[\w\\-]/),["def",e.current()];if("#"==p){if(e.next(),e.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b/i))return["atom","atom"];if(e.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return e.match(F)?["meta","vendor-prefixes"]:e.match(/^-?[0-9]?\.?[0-9]/)?(e.eatWhile(/[a-z%]/i),["number","unit"]):"!"==p?(e.next(),[e.match(/^(important|optional)/i)?"keyword":"operator","important"]):"."==p&&e.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:e.match(A)?("("==e.peek()&&(t.tokenize=H),["property","word"]):e.match(/^[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","mixin"]):e.match(/^(\+|-)[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","block-mixin"]):e.string.match(/^\s*&/)&&e.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:e.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(e.backUp(1),["variable-3","reference"]):e.match(/^&{1}\s*$/)?["variable-3","reference"]:e.match(P)?["operator","operator"]:e.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?e.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!K(e.current())?(e.match(/\./),["variable-2","variable-name"]):["variable-2","word"]:e.match(O)?["operator",e.current()]:/[:;,{}\[\]\(\)]/.test(p)?(e.next(),[null,p]):(e.next(),[null,null])}function q(e,t){var n,i=!1;while(null!=(n=e.next())){if(i&&"/"==n){t.tokenize=null;break}i="*"==n}return["comment","comment"]}function B(e){return function(t,n){var i,r=!1;while(null!=(i=t.next())){if(i==e&&!r){")"==e&&t.backUp(1);break}r=!r&&"\\"==i}return(i==e||!r&&")"!=e)&&(n.tokenize=null),["string","string"]}}function H(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=B(")"),[null,"("]}function W(e,t,n,i){this.type=e,this.indent=t,this.prev=n,this.line=i||{firstWord:"",indent:0}}function U(e,t,n,i){return i=i>=0?i:w,e.context=new W(n,t.indentation()+i,e.context),n}function V(e,t){var n=e.context.indent-w;return t=t||!1,e.context=e.context.prev,t&&(e.context.indent=n),e.context.type}function G(e,t,n){return j[n.context.type](e,t,n)}function X(e,t,n,i){for(var r=i||1;r>0;r--)n.context=n.context.prev;return G(e,t,n)}function K(e){return e.toLowerCase()in k}function Y(e){return e=e.toLowerCase(),e in C||e in D}function Z(e){return e.toLowerCase()in I}function Q(e){return e.toLowerCase().match(F)}function J(e){var t=e.toLowerCase(),n="variable-2";return K(e)?n="tag":Z(e)?n="block-keyword":Y(e)?n="property":t in T||t in z?n="atom":"return"==t||t in M?n="keyword":e.match(/^[A-Z]/)&&(n="string"),n}function ee(e,t){return re(t)&&("{"==e||"]"==e||"hash"==e||"qualifier"==e)||"block-mixin"==e}function te(e,t){return"{"==e&&t.match(/^\s*\$?[\w-]+/i,!1)}function ne(e,t){return":"==e&&t.match(/^[a-z-]+/,!1)}function ie(e){return e.sol()||e.string.match(new RegExp("^\\s*"+v(e.current())))}function re(e){return e.eol()||e.match(/^\s*$/,!1)}function ae(e){var t=/^\s*[-_]*[a-z0-9]+[\w-]*/i,n="string"==typeof e?e.match(t):e.string.match(t);return n?n[0].replace(/^\s*/,""):""}return j.block=function(e,t,n){if("comment"==e&&ie(t)||","==e&&re(t)||"mixin"==e)return U(n,t,"block",0);if(te(e,t))return U(n,t,"interpolation");if(re(t)&&"]"==e&&!/^\s*(\.|#|:|\[|\*|&)/.test(t.string)&&!K(ae(t)))return U(n,t,"block",0);if(ee(e,t))return U(n,t,"block");if("}"==e&&re(t))return U(n,t,"block",0);if("variable-name"==e)return t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||Z(ae(t))?U(n,t,"variableName"):U(n,t,"variableName",0);if("="==e)return re(t)||Z(ae(t))?U(n,t,"block"):U(n,t,"block",0);if("*"==e&&(re(t)||t.match(/\s*(,|\.|#|\[|:|{)/,!1)))return b="tag",U(n,t,"block");if(ne(e,t))return U(n,t,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(e))return U(n,t,re(t)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return U(n,t,"keyframes");if(/@extends?/.test(e))return U(n,t,"extend",0);if(e&&"@"==e.charAt(0))return t.indentation()>0&&Y(t.current().slice(1))?(b="variable-2","block"):/(@import|@require|@charset)/.test(e)?U(n,t,"block",0):U(n,t,"block");if("reference"==e&&re(t))return U(n,t,"block");if("("==e)return U(n,t,"parens");if("vendor-prefixes"==e)return U(n,t,"vendorPrefixes");if("word"==e){var i=t.current();if(b=J(i),"property"==b)return ie(t)?U(n,t,"block",0):(b="atom","block");if("tag"==b){if(/embed|menu|pre|progress|sub|table/.test(i)&&Y(ae(t)))return b="atom","block";if(t.string.match(new RegExp("\\[\\s*"+i+"|"+i+"\\s*\\]")))return b="atom","block";if(_.test(i)&&(ie(t)&&t.string.match(/=/)||!ie(t)&&!t.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!K(ae(t))))return b="variable-2",Z(ae(t))?"block":U(n,t,"block",0);if(re(t))return U(n,t,"block")}if("block-keyword"==b)return b="keyword",t.current(/(if|unless)/)&&!ie(t)?"block":U(n,t,"block");if("return"==i)return U(n,t,"block",0);if("variable-2"==b&&t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return U(n,t,"block")}return n.context.type},j.parens=function(e,t,n){if("("==e)return U(n,t,"parens");if(")"==e)return"parens"==n.context.prev.type?V(n):t.string.match(/^[a-z][\w-]*\(/i)&&re(t)||Z(ae(t))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(ae(t))||!t.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&K(ae(t))?U(n,t,"block"):t.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||t.string.match(/^\s*(\(|\)|[0-9])/)||t.string.match(/^\s+[a-z][\w-]*\(/i)||t.string.match(/^\s+[\$-]?[a-z]/i)?U(n,t,"block",0):re(t)?U(n,t,"block"):U(n,t,"block",0);if(e&&"@"==e.charAt(0)&&Y(t.current().slice(1))&&(b="variable-2"),"word"==e){var i=t.current();b=J(i),"tag"==b&&_.test(i)&&(b="variable-2"),"property"!=b&&"to"!=i||(b="atom")}return"variable-name"==e?U(n,t,"variableName"):ne(e,t)?U(n,t,"pseudo"):n.context.type},j.vendorPrefixes=function(e,t,n){return"word"==e?(b="property",U(n,t,"block",0)):V(n)},j.pseudo=function(e,t,n){return Y(ae(t.string))?X(e,t,n):(t.match(/^[a-z-]+/),b="variable-3",re(t)?U(n,t,"block"):V(n))},j.atBlock=function(e,t,n){if("("==e)return U(n,t,"atBlock_parens");if(ee(e,t))return U(n,t,"block");if(te(e,t))return U(n,t,"interpolation");if("word"==e){var i=t.current().toLowerCase();if(b=/^(only|not|and|or)$/.test(i)?"keyword":E.hasOwnProperty(i)?"tag":N.hasOwnProperty(i)?"attribute":L.hasOwnProperty(i)?"property":S.hasOwnProperty(i)?"string-2":J(t.current()),"tag"==b&&re(t))return U(n,t,"block")}return"operator"==e&&/^(not|and|or)$/.test(t.current())&&(b="keyword"),n.context.type},j.atBlock_parens=function(e,t,n){if("{"==e||"}"==e)return n.context.type;if(")"==e)return re(t)?U(n,t,"block"):U(n,t,"atBlock");if("word"==e){var i=t.current().toLowerCase();return b=J(i),/^(max|min)/.test(i)&&(b="property"),"tag"==b&&(b=_.test(i)?"variable-2":"atom"),n.context.type}return j.atBlock(e,t,n)},j.keyframes=function(e,t,n){return"0"==t.indentation()&&("}"==e&&ie(t)||"]"==e||"hash"==e||"qualifier"==e||K(t.current()))?X(e,t,n):"{"==e?U(n,t,"keyframes"):"}"==e?ie(t)?V(n,!0):U(n,t,"keyframes"):"unit"==e&&/^[0-9]+\%$/.test(t.current())?U(n,t,"keyframes"):"word"==e&&(b=J(t.current()),"block-keyword"==b)?(b="keyword",U(n,t,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(e)?U(n,t,re(t)?"block":"atBlock"):"mixin"==e?U(n,t,"block",0):n.context.type},j.interpolation=function(e,t,n){return"{"==e&&V(n)&&U(n,t,"block"),"}"==e?t.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||t.string.match(/^\s*[a-z]/i)&&K(ae(t))?U(n,t,"block"):!t.string.match(/^(\{|\s*\&)/)||t.match(/\s*[\w-]/,!1)?U(n,t,"block",0):U(n,t,"block"):"variable-name"==e?U(n,t,"variableName",0):("word"==e&&(b=J(t.current()),"tag"==b&&(b="atom")),n.context.type)},j.extend=function(e,t,n){return"["==e||"="==e?"extend":"]"==e?V(n):"word"==e?(b=J(t.current()),"extend"):V(n)},j.variableName=function(e,t,n){return"string"==e||"["==e||"]"==e||t.current().match(/^(\.|\$)/)?(t.current().match(/^\.[\w-]+/i)&&(b="variable-2"),"variableName"):X(e,t,n)},{startState:function(e){return{tokenize:null,state:"block",context:new W("block",e||0,null)}},token:function(e,t){return!t.tokenize&&e.eatSpace()?null:(h=(t.tokenize||R)(e,t),h&&"object"==typeof h&&(y=h[1],h=h[0]),b=h,t.state=j[t.state](y,e,t),b)},indent:function(e,t,n){var i=e.context,r=t&&t.charAt(0),a=i.indent,o=ae(t),s=n.match(/^\s*/)[0].replace(/\t/g,x).length,l=e.context.prev?e.context.prev.line.firstWord:"",c=e.context.prev?e.context.prev.line.indent:s;return i.prev&&("}"==r&&("block"==i.type||"atBlock"==i.type||"keyframes"==i.type)||")"==r&&("parens"==i.type||"atBlock_parens"==i.type)||"{"==r&&"at"==i.type)?a=i.indent-w:/(\})/.test(r)||(/@|\$|\d/.test(r)||/^\{/.test(t)||/^\s*\/(\/|\*)/.test(t)||/^\s*\/\*/.test(l)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(t)||/^(\+|-)?[a-z][\w-]*\(/i.test(t)||/^return/.test(t)||Z(o)?a=s:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(r)||K(o)?a=/\,\s*$/.test(l)?c:/^\s+/.test(n)&&(/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(l)||K(l))?s<=c?c:c+w:s:/,\s*$/.test(n)||!Q(o)&&!Y(o)||(a=Z(l)?s<=c?c:c+w:/^\{/.test(l)?s<=c?s:c+w:Q(l)||Y(l)?s>=c?c:s:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(l)||/=\s*$/.test(l)||K(l)||/^\$[\w-\.\[\]\'\"]/.test(l)?c+w:s)),a},electricChars:"}",lineComment:"//",fold:"indent"}});var t=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],n=["domain","regexp","url","url-prefix"],i=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],r=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid"],a=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],o=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],s=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],l=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],c=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],u=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],d=["for","if","else","unless","from","to"],f=["null","true","false","href","title","type","not-allowed","readonly","disabled"],p=["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"],h=t.concat(n,i,r,a,o,l,c,s,u,d,f,p);function m(e){return e=e.sort(function(e,t){return t>e}),new RegExp("^(("+e.join(")|(")+"))\\b")}function g(e){for(var t={},n=0;ns)o.push(String(t[s++])),s*\/]/.test(n)?x(null,"select-op"):"."==n&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?x("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?x(null,n):e.match(/[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/.test(e.current().toLowerCase())&&(t.tokenize=C),x("variable callee","variable")):/[\w\\\-]/.test(n)?(e.eatWhile(/[\w\\\-]/),x("property","word")):x(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),x("number","unit")):e.match(/^-[\w\\\-]*/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?x("variable-2","variable-definition"):x("variable-2","variable")):e.match(/^\w+-/)?x("meta","meta"):void 0}function _(e){return function(t,n){var i,r=!1;while(null!=(i=t.next())){if(i==e&&!r){")"==e&&t.backUp(1);break}r=!r&&"\\"==i}return(i==e||!r&&")"!=e)&&(n.tokenize=null),x("string","string")}}function C(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=_(")"),x(null,"(")}function S(e,t,n){this.type=e,this.indent=t,this.prev=n}function T(e,t,n,i){return e.context=new S(n,t.indentation()+(!1===i?0:o),e.context),n}function M(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function E(e,t,n){return N[n.context.type](e,t,n)}function A(e,t,n,i){for(var r=i||1;r>0;r--)n.context=n.context.prev;return E(e,t,n)}function L(e){var t=e.current().toLowerCase();a=v.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var N={top:function(e,t,n){if("{"==e)return T(n,t,"block");if("}"==e&&n.context.prev)return M(n);if(w&&/@component/i.test(e))return T(n,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return T(n,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return T(n,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return n.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return T(n,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return T(n,t,"interpolation");if(":"==e)return"pseudo";if(y&&"("==e)return T(n,t,"parens")}return n.context.type},block:function(e,t,n){if("word"==e){var i=t.current().toLowerCase();return f.hasOwnProperty(i)?(a="property","maybeprop"):p.hasOwnProperty(i)?(a="string-2","maybeprop"):y?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":y||"hash"!=e&&"qualifier"!=e?N.top(e,t,n):(a="error","block")},maybeprop:function(e,t,n){return":"==e?T(n,t,"prop"):E(e,t,n)},prop:function(e,t,n){if(";"==e)return M(n);if("{"==e&&y)return T(n,t,"propBlock");if("}"==e||"{"==e)return A(e,t,n);if("("==e)return T(n,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)L(t);else if("interpolation"==e)return T(n,t,"interpolation")}else a+=" error";return"prop"},propBlock:function(e,t,n){return"}"==e?M(n):"word"==e?(a="property","maybeprop"):n.context.type},parens:function(e,t,n){return"{"==e||"}"==e?A(e,t,n):")"==e?M(n):"("==e?T(n,t,"parens"):"interpolation"==e?T(n,t,"interpolation"):("word"==e&&L(t),"parens")},pseudo:function(e,t,n){return"meta"==e?"pseudo":"word"==e?(a="variable-3",n.context.type):E(e,t,n)},documentTypes:function(e,t,n){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",n.context.type):N.atBlock(e,t,n)},atBlock:function(e,t,n){if("("==e)return T(n,t,"atBlock_parens");if("}"==e||";"==e)return A(e,t,n);if("{"==e)return M(n)&&T(n,t,y?"block":"top");if("interpolation"==e)return T(n,t,"interpolation");if("word"==e){var i=t.current().toLowerCase();a="only"==i||"not"==i||"and"==i||"or"==i?"keyword":c.hasOwnProperty(i)?"attribute":u.hasOwnProperty(i)?"property":d.hasOwnProperty(i)?"keyword":f.hasOwnProperty(i)?"property":p.hasOwnProperty(i)?"string-2":v.hasOwnProperty(i)?"atom":g.hasOwnProperty(i)?"keyword":"error"}return n.context.type},atComponentBlock:function(e,t,n){return"}"==e?A(e,t,n):"{"==e?M(n)&&T(n,t,y?"block":"top",!1):("word"==e&&(a="error"),n.context.type)},atBlock_parens:function(e,t,n){return")"==e?M(n):"{"==e||"}"==e?A(e,t,n,2):N.atBlock(e,t,n)},restricted_atBlock_before:function(e,t,n){return"{"==e?T(n,t,"restricted_atBlock"):"word"==e&&"@counter-style"==n.stateArg?(a="variable","restricted_atBlock_before"):E(e,t,n)},restricted_atBlock:function(e,t,n){return"}"==e?(n.stateArg=null,M(n)):"word"==e?(a="@font-face"==n.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==n.stateArg&&!m.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(e,t,n){return"word"==e?(a="variable","keyframes"):"{"==e?T(n,t,"top"):E(e,t,n)},at:function(e,t,n){return";"==e?M(n):"{"==e||"}"==e?A(e,t,n):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},interpolation:function(e,t,n){return"}"==e?M(n):"{"==e||";"==e?A(e,t,n):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")}};return{startState:function(e){return{tokenize:null,state:i?"block":"top",stateArg:null,context:new S(i?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||k)(e,t);return n&&"object"==typeof n&&(r=n[1],n=n[0]),a=n,"comment"!=r&&(t.state=N[t.state](r,e,t)),a},indent:function(e,t){var n=e.context,i=t&&t.charAt(0),r=n.indent;return"prop"!=n.type||"}"!=i&&")"!=i||(n=n.prev),n.prev&&("}"!=i||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type?(")"!=i||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=i||"at"!=n.type&&"atBlock"!=n.type)||(r=Math.max(0,n.indent-o)):(n=n.prev,r=n.indent)),r},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:b,fold:"brace"}});var n=["domain","regexp","url","url-prefix"],i=t(n),r=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],a=t(r),o=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],s=t(o),l=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],c=t(l),u=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],d=t(u),f=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],p=t(f),h=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],m=t(h),g=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],v=t(g),y=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],b=t(y),w=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],x=t(w),k=n.concat(r).concat(o).concat(l).concat(u).concat(f).concat(y).concat(w);function _(e,t){var n,i=!1;while(null!=(n=e.next())){if(i&&"/"==n){t.tokenize=null;break}i="*"==n}return["comment","comment"]}e.registerHelper("hintWords","css",k),e.defineMIME("text/css",{documentTypes:i,mediaTypes:a,mediaFeatures:s,mediaValueKeywords:c,propertyKeywords:d,nonStandardPropertyKeywords:p,fontProperties:m,counterDescriptors:v,colorKeywords:b,valueKeywords:x,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=_,_(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:a,mediaFeatures:s,mediaValueKeywords:c,propertyKeywords:d,nonStandardPropertyKeywords:p,colorKeywords:b,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=_,_(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:a,mediaFeatures:s,mediaValueKeywords:c,propertyKeywords:d,nonStandardPropertyKeywords:p,colorKeywords:b,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=_,_(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:i,mediaTypes:a,mediaFeatures:s,propertyKeywords:d,nonStandardPropertyKeywords:p,fontProperties:m,counterDescriptors:v,colorKeywords:b,valueKeywords:x,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=_,_(e,t))}},name:"css",helperType:"gss"})})},"7bbc":function(e,t,n){var i=n("6821"),r=n("9093").f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(t){return o.slice()}};e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?s(e):r(i(e))}},"7cdf":function(e,t,n){var i=n("5ca1");i(i.S,"Number",{isInteger:n("9c12")})},"7f20":function(e,t,n){var i=n("86cc").f,r=n("69a8"),a=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,a)&&i(e,a,{configurable:!0,value:t})}},"7f25":function(e,t,n){var i=n("5ca1"),r=n("d6c6"),a=Math.sqrt,o=Math.acosh;i(i.S+i.F*!(o&&710==Math.floor(o(Number.MAX_VALUE))&&o(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:r(e-1+a(e-1)*a(e+1))}})},"7f7f":function(e,t,n){var i=n("86cc").f,r=Function.prototype,a=/^\s*function ([^ (]*)/,o="name";o in r||n("9e1e")&&i(r,o,{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(e){return""}}})},8079:function(e,t,n){var i=n("7726"),r=n("1991").set,a=i.MutationObserver||i.WebKitMutationObserver,o=i.process,s=i.Promise,l="process"==n("2d95")(o);e.exports=function(){var e,t,n,c=function(){var i,r;l&&(i=o.domain)&&i.exit();while(e){r=e.fn,e=e.next;try{r()}catch(a){throw e?n():t=void 0,a}}t=void 0,i&&i.enter()};if(l)n=function(){o.nextTick(c)};else if(!a||i.navigator&&i.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){r.call(i,c)};else{var d=!0,f=document.createTextNode("");new a(c).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(i){var r={fn:i,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}},8378:function(e,t){var n=e.exports={version:"2.6.3"};"number"==typeof __e&&(__e=n)},8381:function(e,t,n){"use strict";var i=n("cb7c"),r=n("6a99"),a="number";e.exports=function(e){if("string"!==e&&e!==a&&"default"!==e)throw TypeError("Incorrect hint");return r(i(this),e!=a)}},"83a1":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},8449:function(e,t,n){"use strict";n("386b")("anchor",function(e){return function(t){return e(this,"a","name",t)}})},"84b4":function(e,t,n){var i=n("5ca1");i(i.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},"84f2":function(e,t){e.exports={}},8536:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.defineMode("ruby",function(t){function n(e){for(var t={},n=0,i=e.length;n]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==r&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if("$"==r)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(r))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if("|"!=r||!t.varList&&"{"!=t.lastTok&&"do"!=t.lastTok){if(/[\(\)\[\]{}\\;]/.test(r))return i=r,null;if("-"==r&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(r)){var d=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=r||d||(i="."),"operator"}return null}return i="|",null}function u(e){var t,n=e.pos,i=0,r=!1,a=!1;while(null!=(t=e.next()))if(a)a=!1;else{if("[{(".indexOf(t)>-1)i++;else if("]})".indexOf(t)>-1){if(i--,i<0)break}else if("/"==t&&0==i){r=!0;break}a="\\"==t}return e.backUp(e.pos-n),r}function d(e){return e||(e=1),function(t,n){if("}"==t.peek()){if(1==e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);n.tokenize[n.tokenize.length-1]=d(e-1)}else"{"==t.peek()&&(n.tokenize[n.tokenize.length-1]=d(e+1));return c(t,n)}}function f(){var e=!1;return function(t,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)):(e=!0,c(t,n))}}function p(e,t,n,i){return function(r,a){var o,s=!1;"read-quoted-paused"===a.context.type&&(a.context=a.context.prev,r.eat("}"));while(null!=(o=r.next())){if(o==e&&(i||!s)){a.tokenize.pop();break}if(n&&"#"==o&&!s){if(r.eat("{")){"}"==e&&(a.context={prev:a.context,type:"read-quoted-paused"}),a.tokenize.push(d());break}if(/[@\$]/.test(r.peek())){a.tokenize.push(f());break}}s=!s&&"\\"==o}return t}}function h(e,t){return function(n,i){return t&&n.eatSpace(),n.match(e)?i.tokenize.pop():n.skipToEnd(),"string"}}function m(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}return{startState:function(){return{tokenize:[c],indented:0,context:{type:"top",indented:-t.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,t){i=null,e.sol()&&(t.indented=e.indentation());var n,s=t.tokenize[t.tokenize.length-1](e,t),l=i;if("ident"==s){var c=e.current();s="."==t.lastTok?"property":r.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(c)?"tag":"def"==t.lastTok||"class"==t.lastTok||t.varList?"def":"variable","keyword"==s&&(l=c,a.propertyIsEnumerable(c)?n="indent":o.propertyIsEnumerable(c)?n="dedent":"if"!=c&&"unless"!=c||e.column()!=e.indentation()?"do"==c&&t.context.indentedr)X(e,n=i[r++],t[n]);return e},Y=function(e,t){return void 0===t?_(e):K(_(e),t)},Z=function(e){var t=z.call(this,e=x(e,!0));return!(this===q&&r(j,e)&&!r(R,e))&&(!(t||!r(this,e)||!r(j,e)||r(this,I)&&this[I][e])||t)},Q=function(e,t){if(e=w(e),t=x(t,!0),e!==q||!r(j,t)||r(R,t)){var n=E(e,t);return!n||!r(j,t)||r(e,I)&&e[I][t]||(n.enumerable=!0),n}},J=function(e){var t,n=L(w(e)),i=[],a=0;while(n.length>a)r(j,t=n[a++])||t==I||t==l||i.push(t);return i},ee=function(e){var t,n=e===q,i=L(n?R:w(e)),a=[],o=0;while(i.length>o)!r(j,t=i[o++])||n&&!r(q,t)||a.push(j[t]);return a};B||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(R,n),r(this,I)&&r(this[I],e)&&(this[I][e]=!1),U(this,e,k(1,n))};return a&&W&&U(q,e,{configurable:!0,set:t}),V(e)},s(N[P],"toString",function(){return this._k}),S.f=Q,T.f=X,n("9093").f=C.f=J,n("52a7").f=Z,n("2621").f=ee,a&&!n("2d00")&&s(q,"propertyIsEnumerable",Z,!0),h.f=function(e){return V(p(e))}),o(o.G+o.W+o.F*!B,{Symbol:N});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=M(p.store),re=0;ie.length>re;)m(ie[re++]);o(o.S+o.F*!B,"Symbol",{for:function(e){return r($,e+="")?$[e]:$[e]=N(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in $)if($[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),o(o.S+o.F*!B,"Object",{create:Y,defineProperty:X,defineProperties:K,getOwnPropertyDescriptor:Q,getOwnPropertyNames:J,getOwnPropertySymbols:ee}),D&&o(o.S+o.F*(!B||c(function(){var e=N();return"[null]"!=O([e])||"{}"!=O({a:e})||"{}"!=O(Object(e))})),"JSON",{stringify:function(e){var t,n,i=[e],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=t=i[1],(b(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,O.apply(D,i)}}),N[P][F]||n("32e9")(N[P],F,N[P].valueOf),d(N,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},"8b97":function(e,t,n){var i=n("d3f4"),r=n("cb7c"),a=function(e,t){if(r(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{i=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),i(e,[]),t=!(e instanceof Array)}catch(r){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:a}},"8df4":function(e,t,n){"use strict";var i=n("7a77");function r(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new i(e),t(n.reason))})}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e,t=new r(function(t){e=t});return{token:t,cancel:e}},e.exports=r},"8e6e":function(e,t,n){var i=n("5ca1"),r=n("990b"),a=n("6821"),o=n("11e9"),s=n("f1ae");i(i.S,"Object",{getOwnPropertyDescriptors:function(e){var t,n,i=a(e),l=o.f,c=r(i),u={},d=0;while(c.length>d)n=l(i,t=c[d++]),void 0!==n&&s(u,t,n);return u}})},"8eb3":function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.defineMode("lua",function(e,t){var n=e.indentUnit;function i(e){return new RegExp("^(?:"+e.join("|")+")","i")}function r(e){return new RegExp("^(?:"+e.join("|")+")$","i")}var a=r(t.specials||[]),o=r(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),s=r(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),l=r(["function","if","repeat","do","\\(","{"]),c=r(["end","until","\\)","}"]),u=i(["end","until","\\)","}","else","elseif"]);function d(e){var t=0;while(e.eat("="))++t;return e.eat("["),t}function f(e,t){var n=e.next();return"-"==n&&e.eat("-")?e.eat("[")&&e.eat("[")?(t.cur=p(d(e),"comment"))(e,t):(e.skipToEnd(),"comment"):'"'==n||"'"==n?(t.cur=h(n))(e,t):"["==n&&/[\[=]/.test(e.peek())?(t.cur=p(d(e),"string"))(e,t):/\d/.test(n)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(n)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null}function p(e,t){return function(n,i){var r,a=null;while(null!=(r=n.next()))if(null==a)"]"==r&&(a=0);else if("="==r)++a;else{if("]"==r&&a==e){i.cur=f;break}a=null}return t}}function h(e){return function(t,n){var i,r=!1;while(null!=(i=t.next())){if(i==e&&!r)break;r=!r&&"\\"==i}return r||(n.cur=f),"string"}}return{startState:function(e){return{basecol:e||0,indentDepth:0,cur:f}},token:function(e,t){if(e.eatSpace())return null;var n=t.cur(e,t),i=e.current();return"variable"==n&&(s.test(i)?n="keyword":o.test(i)?n="builtin":a.test(i)&&(n="variable-2")),"comment"!=n&&"string"!=n&&(l.test(i)?++t.indentDepth:c.test(i)&&--t.indentDepth),n},indent:function(e,t){var i=u.test(t);return e.basecol+n*(e.indentDepth-(i?1:0))},lineComment:"--",blockCommentStart:"--[[",blockCommentEnd:"]]"}}),e.defineMIME("text/x-lua","lua")})},"8f94":function(e,t,n){!function(t,i){e.exports=i(n("56b3"))}(0,function(e){return function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=3)}([function(t,n){t.exports=e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=function(e){return e&&e.__esModule?e:{default:e}}(i),a=window.CodeMirror||r.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),i=1;i=0?n:0,t)}return e.string.substr(0,e.pos-1)}function i(e,t){var n=e.string.length,i=n-e.pos+1;return e.string.substr(e.pos,t&&t=(n=e.string.length-1)?e.pos=n:e.pos=i}e.defineMode("perl",function(){var e={"->":4,"++":4,"--":4,"**":4,"=~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"<<":4,">>":4,"<":4,">":4,"<=":4,">=":4,lt:4,gt:4,le:4,ge:4,"==":4,"!=":4,"<=>":4,eq:4,ne:4,cmp:4,"~~":4,"&":4,"|":4,"^":4,"&&":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"=":4,"+=":4,"-=":4,"*=":4,",":4,"=>":4,"::":4,not:4,and:4,or:4,xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$<":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$>":5,$a:5,$b:5,$COMPILING:5,"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$&":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$=":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,"$]":5,if:[1,1],elsif:[1,1],else:[1,1],while:[1,1],unless:[1,1],for:[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,break:1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,continue:[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,default:1,defined:1,delete:1,die:1,do:1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,goto:1,grep:1,hex:1,import:1,index:1,int:1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,new:1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,package:1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,return:1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},a="string-2",o=/[goseximacplud]/;function s(e,t,n,i,r){return t.chain=null,t.style=null,t.tail=null,t.tokenize=function(e,t){var a,o=!1,s=0;while(a=e.next()){if(a===n[s]&&!o)return void 0!==n[++s]?(t.chain=n[s],t.style=i,t.tail=r):r&&e.eatWhile(r),t.tokenize=c,i;o=!o&&"\\"==a}return i},t.tokenize(e,t)}function l(e,t,n){return t.tokenize=function(e,t){return e.string==n&&(t.tokenize=c),e.skipToEnd(),"string"},t.tokenize(e,t)}function c(c,u){if(c.eatSpace())return null;if(u.chain)return s(c,u,u.chain,u.style,u.tail);if(c.match(/^\-?[\d\.]/,!1)&&c.match(/^(\-?(\d*\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F]+|0b[01]+|\d+(e[+-]?\d+)?)/))return"number";if(c.match(/^<<(?=\w)/))return c.eatWhile(/\w/),l(c,u,c.current().substr(2));if(c.sol()&&c.match(/^\=item(?!\w)/))return l(c,u,"=cut");var d=c.next();if('"'==d||"'"==d){if(n(c,3)=="<<"+d){var f=c.pos;c.eatWhile(/\w/);var p=c.current().substr(1);if(p&&c.eat(d))return l(c,u,p);c.pos=f}return s(c,u,[d],"string")}if("q"==d){var h=t(c,-2);if(!h||!/\w/.test(h))if(h=t(c,0),"x"==h){if(h=t(c,1),"("==h)return r(c,2),s(c,u,[")"],a,o);if("["==h)return r(c,2),s(c,u,["]"],a,o);if("{"==h)return r(c,2),s(c,u,["}"],a,o);if("<"==h)return r(c,2),s(c,u,[">"],a,o);if(/[\^'"!~\/]/.test(h))return r(c,1),s(c,u,[c.eat(h)],a,o)}else if("q"==h){if(h=t(c,1),"("==h)return r(c,2),s(c,u,[")"],"string");if("["==h)return r(c,2),s(c,u,["]"],"string");if("{"==h)return r(c,2),s(c,u,["}"],"string");if("<"==h)return r(c,2),s(c,u,[">"],"string");if(/[\^'"!~\/]/.test(h))return r(c,1),s(c,u,[c.eat(h)],"string")}else if("w"==h){if(h=t(c,1),"("==h)return r(c,2),s(c,u,[")"],"bracket");if("["==h)return r(c,2),s(c,u,["]"],"bracket");if("{"==h)return r(c,2),s(c,u,["}"],"bracket");if("<"==h)return r(c,2),s(c,u,[">"],"bracket");if(/[\^'"!~\/]/.test(h))return r(c,1),s(c,u,[c.eat(h)],"bracket")}else if("r"==h){if(h=t(c,1),"("==h)return r(c,2),s(c,u,[")"],a,o);if("["==h)return r(c,2),s(c,u,["]"],a,o);if("{"==h)return r(c,2),s(c,u,["}"],a,o);if("<"==h)return r(c,2),s(c,u,[">"],a,o);if(/[\^'"!~\/]/.test(h))return r(c,1),s(c,u,[c.eat(h)],a,o)}else if(/[\^'"!~\/(\[{<]/.test(h)){if("("==h)return r(c,1),s(c,u,[")"],"string");if("["==h)return r(c,1),s(c,u,["]"],"string");if("{"==h)return r(c,1),s(c,u,["}"],"string");if("<"==h)return r(c,1),s(c,u,[">"],"string");if(/[\^'"!~\/]/.test(h))return s(c,u,[c.eat(h)],"string")}}if("m"==d){h=t(c,-2);if((!h||!/\w/.test(h))&&(h=c.eat(/[(\[{<\^'"!~\/]/),h)){if(/[\^'"!~\/]/.test(h))return s(c,u,[h],a,o);if("("==h)return s(c,u,[")"],a,o);if("["==h)return s(c,u,["]"],a,o);if("{"==h)return s(c,u,["}"],a,o);if("<"==h)return s(c,u,[">"],a,o)}}if("s"==d){h=/[\/>\]})\w]/.test(t(c,-2));if(!h&&(h=c.eat(/[(\[{<\^'"!~\/]/),h))return s(c,u,"["==h?["]","]"]:"{"==h?["}","}"]:"<"==h?[">",">"]:"("==h?[")",")"]:[h,h],a,o)}if("y"==d){h=/[\/>\]})\w]/.test(t(c,-2));if(!h&&(h=c.eat(/[(\[{<\^'"!~\/]/),h))return s(c,u,"["==h?["]","]"]:"{"==h?["}","}"]:"<"==h?[">",">"]:"("==h?[")",")"]:[h,h],a,o)}if("t"==d){h=/[\/>\]})\w]/.test(t(c,-2));if(!h&&(h=c.eat("r"),h&&(h=c.eat(/[(\[{<\^'"!~\/]/),h)))return s(c,u,"["==h?["]","]"]:"{"==h?["}","}"]:"<"==h?[">",">"]:"("==h?[")",")"]:[h,h],a,o)}if("`"==d)return s(c,u,[d],"variable-2");if("/"==d)return/~\s*$/.test(n(c))?s(c,u,[d],a,o):"operator";if("$"==d){f=c.pos;if(c.eatWhile(/\d/)||c.eat("{")&&c.eatWhile(/\d/)&&c.eat("}"))return"variable-2";c.pos=f}if(/[$@%]/.test(d)){f=c.pos;if(c.eat("^")&&c.eat(/[A-Z]/)||!/[@$%&]/.test(t(c,-2))&&c.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){h=c.current();if(e[h])return"variable-2"}c.pos=f}if(/[$@%&]/.test(d)&&(c.eatWhile(/[\w$\[\]]/)||c.eat("{")&&c.eatWhile(/[\w$\[\]]/)&&c.eat("}"))){h=c.current();return e[h]?"variable-2":"variable"}if("#"==d&&"$"!=t(c,-2))return c.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(d)){f=c.pos;if(c.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),e[c.current()])return"operator";c.pos=f}if("_"==d&&1==c.pos){if("_END__"==i(c,6))return s(c,u,["\0"],"comment");if("_DATA__"==i(c,7))return s(c,u,["\0"],"variable-2");if("_C__"==i(c,7))return s(c,u,["\0"],"string")}if(/\w/.test(d)){f=c.pos;if("{"==t(c,-2)&&("}"==t(c,0)||c.eatWhile(/\w/)&&"}"==t(c,0)))return"string";c.pos=f}if(/[A-Z]/.test(d)){var m=t(c,-2);f=c.pos;if(c.eatWhile(/[A-Z_]/),!/[\da-z]/.test(t(c,0))){h=e[c.current()];return h?(h[1]&&(h=h[0]),":"!=m?1==h?"keyword":2==h?"def":3==h?"atom":4==h?"operator":5==h?"variable-2":"meta":"meta"):"meta"}c.pos=f}if(/[a-zA-Z_]/.test(d)){m=t(c,-2);c.eatWhile(/\w/);h=e[c.current()];return h?(h[1]&&(h=h[0]),":"!=m?1==h?"keyword":2==h?"def":3==h?"atom":4==h?"operator":5==h?"variable-2":"meta":"meta"):"meta"}return null}return{startState:function(){return{tokenize:c,chain:null,style:null,tail:null}},token:function(e,t){return(t.tokenize||c)(e,t)},lineComment:"#"}}),e.registerHelper("wordChars","perl",/[\w$]/),e.defineMIME("text/x-perl","perl")})},9093:function(e,t,n){var i=n("ce10"),r=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},"90ef":function(e,t,n){"use strict";var i=n("eb6c"),r=n.n(i);r.a},"91ca":function(e,t,n){var i=n("96fb"),r=Math.pow,a=r(2,-52),o=r(2,-23),s=r(2,127)*(2-o),l=r(2,-126),c=function(e){return e+1/a-1/a};e.exports=Math.fround||function(e){var t,n,r=Math.abs(e),u=i(e);return rs||n!=n?u*(1/0):u*n)}},9253:function(e,t,n){var i=n("86cc"),r=n("11e9"),a=n("38fd"),o=n("69a8"),s=n("5ca1"),l=n("4630"),c=n("cb7c"),u=n("d3f4");function d(e,t,n){var s,f,p=arguments.length<4?e:arguments[3],h=r.f(c(e),t);if(!h){if(u(f=a(e)))return d(f,t,n,p);h=l(0)}if(o(h,"value")){if(!1===h.writable||!u(p))return!1;if(s=r.f(p,t)){if(s.get||s.set||!1===s.writable)return!1;s.value=n,i.f(p,t,s)}else i.f(p,t,l(0,n));return!0}return void 0!==h.set&&(h.set.call(p,n),!0)}s(s.S,"Reflect",{set:d})},9275:function(e,t,n){var i=n("5ca1"),r=n("8b97");r&&i(i.S,"Reflect",{setPrototypeOf:function(e,t){r.check(e,t);try{return r.set(e,t),!0}catch(n){return!1}}})},9278:function(e,t,n){var i=n("5ca1");i(i.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},"959b":function(e,t,n){(function(e){e(n("56b3"),n("d5e0"),n("f040"))})(function(e){"use strict";e.defineMode("markdown",function(t,n){var i=e.getMode(t,"text/html"),r="null"==i.name;function a(n){if(e.findModeByName){var i=e.findModeByName(n);i&&(n=i.mime||i.mimes[0])}var r=e.getMode(t,n);return"null"==r.name?null:r}void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.emoji&&(n.emoji=!1),void 0===n.fencedCodeBlockHighlighting&&(n.fencedCodeBlockHighlighting=!0),void 0===n.xml&&(n.xml=!0),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var o={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var s in o)o.hasOwnProperty(s)&&n.tokenTypeOverrides[s]&&(o[s]=n.tokenTypeOverrides[s]);var l=/^([*\-_])(?:\s*\1){2,}\s*$/,c=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,u=/^\[(x| )\](?=\s)/i,d=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,f=/^ *(?:\={1,}|-{1,})\s*$/,p=/^[^#!\[\]*_\\<>` "'(~:]+/,h=/^(~~~+|```+)[ \t]*([\w+#-]*)[^\n`]*$/,m=/^\s*\[[^\]]+?\]:.*$/,g=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,v=" ";function y(e,t,n){return t.f=t.inline=n,n(e,t)}function b(e,t,n){return t.f=t.block=n,n(e,t)}function w(e){return!e||!/\S/.test(e.string)}function x(t){if(t.linkTitle=!1,t.linkHref=!1,t.linkText=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==_){var n=r;if(!n){var a=e.innerMode(i,t.htmlState);n="xml"==a.mode.name&&null===a.state.tagStart&&!a.state.context&&a.state.tokenize.isInText}n&&(t.f=M,t.block=k,t.htmlState=null)}return t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function k(t,i){var r=t.column()===i.indentation,s=w(i.prevLine.stream),p=i.indentedCode,g=i.prevLine.hr,v=!1!==i.list,b=(i.listStack[i.listStack.length-1]||0)+3;i.indentedCode=!1;var x=i.indentation;if(null===i.indentationDiff&&(i.indentationDiff=i.indentation,v)){i.em=!1,i.strong=!1,i.code=!1,i.strikethrough=!1,i.list=null;while(x=4&&(p||i.prevLine.fencedCodeEnd||i.prevLine.header||s))return t.skipToEnd(),i.indentedCode=!0,o.code;if(t.eatSpace())return null;if(r&&i.indentation<=b&&(T=t.match(d))&&T[1].length<=6)return i.quote=0,i.header=T[1].length,i.thisLine.header=!0,n.highlightFormatting&&(i.formatting="header"),i.f=i.inline,S(i);if(i.indentation<=b&&t.eat(">"))return i.quote=r?1:i.quote+1,n.highlightFormatting&&(i.formatting="quote"),t.eatSpace(),S(i);if(!_&&!i.setext&&r&&i.indentation<=b&&(T=t.match(c))){var M=T[1]?"ol":"ul";return i.indentation=x+t.current().length,i.list=!0,i.quote=0,i.listStack.push(i.indentation),n.taskLists&&t.match(u,!1)&&(i.taskList=!0),i.f=i.inline,n.highlightFormatting&&(i.formatting=["list","list-"+M]),S(i)}return r&&i.indentation<=b&&(T=t.match(h,!0))?(i.quote=0,i.fencedEndRE=new RegExp(T[1]+"+ *$"),i.localMode=n.fencedCodeBlockHighlighting&&a(T[2]),i.localMode&&(i.localState=e.startState(i.localMode)),i.f=i.block=C,n.highlightFormatting&&(i.formatting="code-block"),i.code=-1,S(i)):i.setext||!(k&&v||i.quote||!1!==i.list||i.code||_||m.test(t.string))&&(T=t.lookAhead(1))&&(T=T.match(f))?(i.setext?(i.header=i.setext,i.setext=0,t.skipToEnd(),n.highlightFormatting&&(i.formatting="header")):(i.header="="==T[0].charAt(0)?1:2,i.setext=i.header),i.thisLine.header=!0,i.f=i.inline,S(i)):_?(t.skipToEnd(),i.hr=!0,i.thisLine.hr=!0,o.hr):"["===t.peek()?y(t,i,D):y(t,i,i.inline)}function _(t,n){var a=i.token(t,n.htmlState);if(!r){var o=e.innerMode(i,n.htmlState);("xml"==o.mode.name&&null===o.state.tagStart&&!o.state.context&&o.state.tokenize.isInText||n.md_inside&&t.current().indexOf(">")>-1)&&(n.f=M,n.block=k,n.htmlState=null)}return a}function C(e,t){var i,r=t.listStack[t.listStack.length-1]||0,a=t.indentation=e.quote?t.push(o.formatting+"-"+e.formatting[i]+"-"+e.quote):t.push("error"))}if(e.taskOpen)return t.push("meta"),t.length?t.join(" "):null;if(e.taskClosed)return t.push("property"),t.length?t.join(" "):null;if(e.linkHref?t.push(o.linkHref,"url"):(e.strong&&t.push(o.strong),e.em&&t.push(o.em),e.strikethrough&&t.push(o.strikethrough),e.emoji&&t.push(o.emoji),e.linkText&&t.push(o.linkText),e.code&&t.push(o.code),e.image&&t.push(o.image),e.imageAltText&&t.push(o.imageAltText,"link"),e.imageMarker&&t.push(o.imageMarker)),e.header&&t.push(o.header,o.header+"-"+e.header),e.quote&&(t.push(o.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(o.quote+"-"+e.quote):t.push(o.quote+"-"+n.maxBlockquoteDepth)),!1!==e.list){var r=(e.listStack.length-1)%3;r?1===r?t.push(o.list2):t.push(o.list3):t.push(o.list1)}return e.trailingSpaceNewLine?t.push("trailing-space-new-line"):e.trailingSpace&&t.push("trailing-space-"+(e.trailingSpace%2?"a":"b")),t.length?t.join(" "):null}function T(e,t){if(e.match(p,!0))return S(t)}function M(t,r){var a=r.text(t,r);if("undefined"!==typeof a)return a;if(r.list)return r.list=null,S(r);if(r.taskList){var s=" "===t.match(u,!0)[1];return s?r.taskOpen=!0:r.taskClosed=!0,n.highlightFormatting&&(r.formatting="task"),r.taskList=!1,S(r)}if(r.taskOpen=!1,r.taskClosed=!1,r.header&&t.match(/^#+$/,!0))return n.highlightFormatting&&(r.formatting="header"),S(r);var l=t.next();if(r.linkTitle){r.linkTitle=!1;var c=l;"("===l&&(c=")"),c=(c+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var d="^\\s*(?:[^"+c+"\\\\]+|\\\\\\\\|\\\\.)"+c;if(t.match(new RegExp(d),!0))return o.linkHref}if("`"===l){var f=r.formatting;n.highlightFormatting&&(r.formatting="code"),t.eatWhile("`");var p=t.current().length;if(0!=r.code||r.quote&&1!=p){if(p==r.code){var h=S(r);return r.code=0,h}return r.formatting=f,S(r)}return r.code=p,S(r)}if(r.code)return S(r);if("\\"===l&&(t.next(),n.highlightFormatting)){var m=S(r),v=o.formatting+"-escape";return m?m+" "+v:v}if("!"===l&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return r.imageMarker=!0,r.image=!0,n.highlightFormatting&&(r.formatting="image"),S(r);if("["===l&&r.imageMarker&&t.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return r.imageMarker=!1,r.imageAltText=!0,n.highlightFormatting&&(r.formatting="image"),S(r);if("]"===l&&r.imageAltText){n.highlightFormatting&&(r.formatting="image");m=S(r);return r.imageAltText=!1,r.image=!1,r.inline=r.f=A,m}if("["===l&&!r.image)return r.linkText&&t.match(/^.*?\]/)?S(r):(r.linkText=!0,n.highlightFormatting&&(r.formatting="link"),S(r));if("]"===l&&r.linkText){n.highlightFormatting&&(r.formatting="link");m=S(r);return r.linkText=!1,r.inline=r.f=t.match(/\(.*?\)| ?\[.*?\]/,!1)?A:M,m}if("<"===l&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=E,n.highlightFormatting&&(r.formatting="link");m=S(r);return m?m+=" ":m="",m+o.linkInline}if("<"===l&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=E,n.highlightFormatting&&(r.formatting="link");m=S(r);return m?m+=" ":m="",m+o.linkEmail}if(n.xml&&"<"===l&&t.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var y=t.string.indexOf(">",t.pos);if(-1!=y){var w=t.string.substring(t.start,y);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(w)&&(r.md_inside=!0)}return t.backUp(1),r.htmlState=e.startState(i),b(t,r,_)}if(n.xml&&"<"===l&&t.match(/^\/\w*?>/))return r.md_inside=!1,"tag";if("*"===l||"_"===l){var x=1,k=1==t.pos?" ":t.string.charAt(t.pos-2);while(x<3&&t.eat(l))x++;var C=t.peek()||" ",T=!/\s/.test(C)&&(!g.test(C)||/\s/.test(k)||g.test(k)),L=!/\s/.test(k)&&(!g.test(k)||/\s/.test(C)||g.test(C)),N=null,D=null;if(x%2&&(r.em||!T||"*"!==l&&L&&!g.test(k)?r.em!=l||!L||"*"!==l&&T&&!g.test(C)||(N=!1):N=!0),x>1&&(r.strong||!T||"*"!==l&&L&&!g.test(k)?r.strong!=l||!L||"*"!==l&&T&&!g.test(C)||(D=!1):D=!0),null!=D||null!=N){n.highlightFormatting&&(r.formatting=null==N?"strong":null==D?"em":"strong em"),!0===N&&(r.em=l),!0===D&&(r.strong=l);h=S(r);return!1===N&&(r.em=!1),!1===D&&(r.strong=!1),h}}else if(" "===l&&(t.eat("*")||t.eat("_"))){if(" "===t.peek())return S(r);t.backUp(1)}if(n.strikethrough)if("~"===l&&t.eatWhile(l)){if(r.strikethrough){n.highlightFormatting&&(r.formatting="strikethrough");h=S(r);return r.strikethrough=!1,h}if(t.match(/^[^\s]/,!1))return r.strikethrough=!0,n.highlightFormatting&&(r.formatting="strikethrough"),S(r)}else if(" "===l&&t.match(/^~~/,!0)){if(" "===t.peek())return S(r);t.backUp(2)}if(n.emoji&&":"===l&&t.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){r.emoji=!0,n.highlightFormatting&&(r.formatting="emoji");var O=S(r);return r.emoji=!1,O}return" "===l&&(t.match(/^ +$/,!1)?r.trailingSpace++:r.trailingSpace&&(r.trailingSpaceNewLine=!0)),S(r)}function E(e,t){var i=e.next();if(">"===i){t.f=t.inline=M,n.highlightFormatting&&(t.formatting="link");var r=S(t);return r?r+=" ":r="",r+o.linkInline}return e.match(/^[^>]+/,!0),o.linkInline}function A(e,t){if(e.eatSpace())return null;var i=e.next();return"("===i||"["===i?(t.f=t.inline=N("("===i?")":"]"),n.highlightFormatting&&(t.formatting="link-string"),t.linkHref=!0,S(t)):"error"}var L={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function N(e){return function(t,i){var r=t.next();if(r===e){i.f=i.inline=M,n.highlightFormatting&&(i.formatting="link-string");var a=S(i);return i.linkHref=!1,a}return t.match(L[e]),i.linkHref=!0,S(i)}}function D(e,t){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(t.f=O,e.next(),n.highlightFormatting&&(t.formatting="link"),t.linkText=!0,S(t)):y(e,t,M)}function O(e,t){if(e.match(/^\]:/,!0)){t.f=t.inline=P,n.highlightFormatting&&(t.formatting="link");var i=S(t);return t.linkText=!1,i}return e.match(/^([^\]\\]|\\.)+/,!0),o.linkText}function P(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),void 0===e.peek()?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),t.f=t.inline=M,o.linkHref+" url")}var I={startState:function(){return{f:k,prevLine:{stream:null},thisLine:{stream:null},block:k,htmlState:null,indentation:0,inline:M,text:T,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(t){return{f:t.f,prevLine:t.prevLine,thisLine:t.thisLine,block:t.block,htmlState:t.htmlState&&e.copyState(i,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkText:t.linkText,linkTitle:t.linkTitle,linkHref:t.linkHref,code:t.code,em:t.em,strong:t.strong,strikethrough:t.strikethrough,emoji:t.emoji,header:t.header,setext:t.setext,hr:t.hr,taskList:t.taskList,list:t.list,listStack:t.listStack.slice(0),quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside,fencedEndRE:t.fencedEndRE}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine.stream){if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0))return x(t),null;if(t.prevLine=t.thisLine,t.thisLine={stream:e},t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,!t.localState&&(t.f=t.block,t.f!=_)){var n=e.match(/^\s*/,!0)[0].replace(/\t/g,v).length;if(t.indentation=n,t.indentationDiff=null,n>0)return null}}return t.f(e,t)},innerMode:function(e){return e.block==_?{state:e.htmlState,mode:i}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:I}},indent:function(t,n,r){return t.block==_&&i.indent?i.indent(t.htmlState,n,r):t.localState&&t.localMode.indent?t.localMode.indent(t.localState,n,r):e.Pass},blankLine:x,getType:S,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return I},"xml"),e.defineMIME("text/markdown","markdown"),e.defineMIME("text/x-markdown","markdown")})},"96cf":function(e,t){!function(t){"use strict";var n,i=Object.prototype,r=i.hasOwnProperty,a="function"===typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag",c="object"===typeof e,u=t.regeneratorRuntime;if(u)c&&(e.exports=u);else{u=t.regeneratorRuntime=c?e.exports:{},u.wrap=w;var d="suspendedStart",f="suspendedYield",p="executing",h="completed",m={},g={};g[o]=function(){return this};var v=Object.getPrototypeOf,y=v&&v(v(D([])));y&&y!==i&&r.call(y,o)&&(g=y);var b=C.prototype=k.prototype=Object.create(g);_.prototype=b.constructor=C,C.constructor=_,C[l]=_.displayName="GeneratorFunction",u.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,C):(e.__proto__=C,l in e||(e[l]="GeneratorFunction")),e.prototype=Object.create(b),e},u.awrap=function(e){return{__await:e}},S(T.prototype),T.prototype[s]=function(){return this},u.AsyncIterator=T,u.async=function(e,t,n,i){var r=new T(w(e,t,n,i));return u.isGeneratorFunction(t)?r:r.next().then(function(e){return e.done?e.value:r.next()})},S(b),b[l]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},u.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var i=t.pop();if(i in e)return n.value=i,n.done=!1,n}return n.done=!0,n}},u.values=D,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(L),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function i(i,r){return s.type="throw",s.arg=e,t.next=i,r&&(t.method="next",t.arg=n),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;L(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:D(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=n),m}}}function w(e,t,n,i){var r=t&&t.prototype instanceof k?t:k,a=Object.create(r.prototype),o=new N(i||[]);return a._invoke=M(e,n,o),a}function x(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(i){return{type:"throw",arg:i}}}function k(){}function _(){}function C(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function T(e){function t(n,i,a,o){var s=x(e[n],e,i);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"===typeof c&&r.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(c).then(function(e){l.value=e,a(l)},function(e){return t("throw",e,a,o)})}o(s.arg)}var n;function i(e,i){function r(){return new Promise(function(n,r){t(e,i,n,r)})}return n=n?n.then(r,r):r()}this._invoke=i}function M(e,t,n){var i=d;return function(r,a){if(i===p)throw new Error("Generator is already running");if(i===h){if("throw"===r)throw a;return O()}n.method=r,n.arg=a;while(1){var o=n.delegate;if(o){var s=E(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=p;var l=x(e,t,n);if("normal"===l.type){if(i=n.done?h:f,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=h,n.method="throw",n.arg=l.arg)}}}function E(e,t){var i=e.iterator[t.method];if(i===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,E(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var r=x(i,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,m;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function D(e){if(e){var t=e[o];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function t(){while(++i0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},"990b":function(e,t,n){var i=n("9093"),r=n("2621"),a=n("cb7c"),o=n("7726").Reflect;e.exports=o&&o.ownKeys||function(e){var t=i.f(a(e)),n=r.f;return n?t.concat(n(e)):t}},9986:function(e,t,n){var i=n("6821"),r=n("11e9").f;n("5eda")("getOwnPropertyDescriptor",function(){return function(e,t){return r(i(e),t)}})},"9aea":function(e,t,n){var i=n("d3f4"),r=n("67ab").onFreeze;n("5eda")("preventExtensions",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},"9b1d":function(e,t,n){},"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,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"9c12":function(e,t,n){var i=n("d3f4"),r=Math.floor;e.exports=function(e){return!i(e)&&isFinite(e)&&r(e)===e}},"9c29":function(e,t,n){n("ec30")("Uint32",4,function(e){return function(t,n,i){return e(this,t,n,i)}})},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),e.exports=function(e){r[i][e]=!0}},"9c80":function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},"9c86":function(e,t,n){"use strict";n("386b")("big",function(e){return function(){return e(this,"big","","")}})},"9d65":function(e,t,n){},"9def":function(e,t,n){var i=n("4588"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"9e65":function(e,t,n){},"9eb9":function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.overlayMode=function(t,n,i){return{startState:function(){return{base:e.startState(t),overlay:e.startState(n),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(i){return{base:e.copyState(t,i.base),overlay:e.copyState(n,i.overlay),basePos:i.basePos,baseCur:null,overlayPos:i.overlayPos,overlayCur:null}},token:function(e,r){return(e!=r.streamSeen||Math.min(r.basePos,r.overlayPos)>8-s%1*8)){if(n=a.charCodeAt(s+=.75),n>255)throw new r;t=t<<8|n}return o}r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",e.exports=a},a032:function(e,t,n){"use strict";var i=n("5ca1"),r=n("02f4")(!1);i(i.P,"String",{codePointAt:function(e){return r(this,e)}})},a04d:function(e,t,n){"use strict";var i=n("15fb"),r=n.n(i);r.a},a0bd:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.defineMode("coffeescript",function(e,t){var n="error";function i(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var r=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,a=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,o=/^[_A-Za-z$][_A-Za-z$0-9]*/,s=/^@[_A-Za-z$][_A-Za-z$0-9]*/,l=i(["and","or","not","is","isnt","in","instanceof","typeof"]),c=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],u=["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"],d=i(c.concat(u));c=i(c);var f=/^('{3}|\"{3}|['\"])/,p=/^(\/{3}|\/)/,h=["Infinity","NaN","undefined","null","true","false","on","off","yes","no"],m=i(h);function g(e,t){if(e.sol()){null===t.scope.align&&(t.scope.align=!1);var i=t.scope.offset;if(e.eatSpace()){var c=e.indentation();return c>i&&"coffee"==t.scope.type?"indent":c0&&w(e,t)}if(e.eatSpace())return null;var u=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return t.tokenize=y,t.tokenize(e,t);if("#"===u)return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var h=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(h=!0),e.match(/^-?\d+\.\d*/)&&(h=!0),e.match(/^-?\.\d+/)&&(h=!0),h)return"."==e.peek()&&e.backUp(1),"number";var g=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(g=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(g=!0),e.match(/^-?0(?![\dx])/i)&&(g=!0),g)return"number"}if(e.match(f))return t.tokenize=v(e.current(),!1,"string"),t.tokenize(e,t);if(e.match(p)){if("/"!=e.current()||e.match(/^.*\//,!1))return t.tokenize=v(e.current(),!0,"string-2"),t.tokenize(e,t);e.backUp(1)}return e.match(r)||e.match(l)?"operator":e.match(a)?"punctuation":e.match(m)?"atom":e.match(s)||t.prop&&e.match(o)?"property":e.match(d)?"keyword":e.match(o)?"variable":(e.next(),n)}function v(e,i,r){return function(a,o){while(!a.eol())if(a.eatWhile(/[^'"\/\\]/),a.eat("\\")){if(a.next(),i&&a.eol())return r}else{if(a.match(e))return o.tokenize=g,r;a.eat(/['"\/]/)}return i&&(t.singleLineStringErrors?r=n:o.tokenize=g),r}}function y(e,t){while(!e.eol()){if(e.eatWhile(/[^#]/),e.match("###")){t.tokenize=g;break}e.eatWhile("#")}return"comment"}function b(t,n,i){i=i||"coffee";for(var r=0,a=!1,o=null,s=n.scope;s;s=s.prev)if("coffee"===s.type||"}"==s.type){r=s.offset+e.indentUnit;break}"coffee"!==i?(a=null,o=t.column()+t.current().length):n.scope.align&&(n.scope.align=!1),n.scope={offset:r,type:i,prev:n.scope,align:a,alignOffset:o}}function w(e,t){if(t.scope.prev){if("coffee"===t.scope.type){for(var n=e.indentation(),i=!1,r=t.scope;r;r=r.prev)if(n===r.offset){i=!0;break}if(!i)return!0;while(t.scope.prev&&t.scope.offset!==n)t.scope=t.scope.prev;return!1}return t.scope=t.scope.prev,!1}}function x(e,t){var i=t.tokenize(e,t),r=e.current();"return"===r&&(t.dedent=!0),(("->"===r||"=>"===r)&&e.eol()||"indent"===i)&&b(e,t);var a="[({".indexOf(r);if(-1!==a&&b(e,t,"])}".slice(a,a+1)),c.exec(r)&&b(e,t),"then"==r&&w(e,t),"dedent"===i&&w(e,t))return n;if(a="])}".indexOf(r),-1!==a){while("coffee"==t.scope.type&&t.scope.prev)t.scope=t.scope.prev;t.scope.type==r&&(t.scope=t.scope.prev)}return t.dedent&&e.eol()&&("coffee"==t.scope.type&&t.scope.prev&&(t.scope=t.scope.prev),t.dedent=!1),i}var k={startState:function(e){return{tokenize:g,scope:{offset:e||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,t){var n=null===t.scope.align&&t.scope;n&&e.sol()&&(n.align=!1);var i=x(e,t);return i&&"comment"!=i&&(n&&(n.align=!0),t.prop="punctuation"==i&&"."==e.current()),i},indent:function(e,t){if(e.tokenize!=g)return 0;var n=e.scope,i=t&&"])}".indexOf(t.charAt(0))>-1;if(i)while("coffee"==n.type&&n.prev)n=n.prev;var r=i&&n.type===t.charAt(0);return n.align?n.alignOffset-(r?1:0):(r?n.prev:n).offset},lineComment:"#",fold:"indent"};return k}),e.defineMIME("application/vnd.coffeescript","coffeescript"),e.defineMIME("text/x-coffeescript","coffeescript"),e.defineMIME("text/coffeescript","coffeescript")})},a19f:function(e,t,n){var i=n("5ca1"),r=n("cb7c"),a=Object.preventExtensions;i(i.S,"Reflect",{preventExtensions:function(e){r(e);try{return a&&a(e),!0}catch(t){return!1}}})},a25f:function(e,t,n){var i=n("7726"),r=i.navigator;e.exports=r&&r.userAgent||""},a481:function(e,t,n){"use strict";var i=n("cb7c"),r=n("4bf8"),a=n("9def"),o=n("4588"),s=n("0390"),l=n("5f1b"),c=Math.max,u=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g,h=function(e){return void 0===e?e:String(e)};n("214f")("replace",2,function(e,t,n,m){return[function(i,r){var a=e(this),o=void 0==i?void 0:i[t];return void 0!==o?o.call(i,a,r):n.call(String(a),i,r)},function(e,t){var r=m(n,e,this,t);if(r.done)return r.value;var d=i(e),f=String(this),p="function"===typeof t;p||(t=String(t));var v=d.global;if(v){var y=d.unicode;d.lastIndex=0}var b=[];while(1){var w=l(d,f);if(null===w)break;if(b.push(w),!v)break;var x=String(w[0]);""===x&&(d.lastIndex=s(f,a(d.lastIndex),y))}for(var k="",_=0,C=0;C=_&&(k+=f.slice(_,T)+N,_=T+S.length)}return k+f.slice(_)}];function g(e,t,i,a,o,s){var l=i+e.length,c=a.length,u=p;return void 0!==o&&(o=r(o),u=f),n.call(s,u,function(n,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,i);case"'":return t.slice(l);case"<":s=o[r.slice(1,-1)];break;default:var u=+r;if(0===u)return n;if(u>c){var f=d(u/10);return 0===f?n:f<=c?void 0===a[f-1]?r.charAt(1):a[f-1]+r.charAt(1):n}s=a[u-1]}return void 0===s?"":s})}})},a5b8:function(e,t,n){"use strict";var i=n("d8e8");function r(e){var t,n;this.promise=new e(function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i}),this.resolve=i(t),this.reject=i(n)}e.exports.f=function(e){return new r(e)}},a69f:function(e,t,n){var i=n("5ca1");i(i.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},aa77:function(e,t,n){var i=n("5ca1"),r=n("be13"),a=n("79e5"),o=n("fdef"),s="["+o+"]",l="​…",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(e,t,n){var r={},s=a(function(){return!!o[e]()||l[e]()!=l}),c=r[e]=s?t(f):o[e];n&&(r[n]=c),i(i.P+i.F*s,"String",r)},f=d.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(u,"")),e};e.exports=d},aae3:function(e,t,n){var i=n("d3f4"),r=n("2d95"),a=n("2b4c")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==r(e))}},ac4d:function(e,t,n){n("3a72")("asyncIterator")},ac66:function(e,t,n){"use strict";var i=n("b7ab"),r=n.n(i);r.a},ac6a:function(e,t,n){for(var i=n("cadf"),r=n("0d58"),a=n("2aba"),o=n("7726"),s=n("32e9"),l=n("84f2"),c=n("2b4c"),u=c("iterator"),d=c("toStringTag"),f=l.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},h=r(p),m=0;m1?arguments[1]:void 0,i=r(t.length),l=void 0===n?i:Math.min(r(n),i),c=String(e);return s?s.call(t,c,l):t.slice(l-c.length,l)===c}})},af56:function(e,t,n){n("ec30")("Uint16",2,function(e){return function(t,n,i){return e(this,t,n,i)}})},b05c:function(e,t,n){n("ec30")("Int8",1,function(e){return function(t,n,i){return e(this,t,n,i)}})},b0c5:function(e,t,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},b1b1:function(e,t,n){var i=n("5ca1"),r=n("9c12"),a=Math.abs;i(i.S,"Number",{isSafeInteger:function(e){return r(e)&&a(e)<=9007199254740991}})},b39a:function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},b50d:function(e,t,n){"use strict";var i=n("c532"),r=n("467f"),a=n("30b5"),o=n("c345"),s=n("3934"),l=n("2d83"),c="undefined"!==typeof window&&window.btoa&&window.btoa.bind(window)||n("9fa6");e.exports=function(e){return new Promise(function(t,u){var d=e.data,f=e.headers;i.isFormData(d)&&delete f["Content-Type"];var p=new XMLHttpRequest,h="onreadystatechange",m=!1;if("undefined"===typeof window||!window.XDomainRequest||"withCredentials"in p||s(e.url)||(p=new window.XDomainRequest,h="onload",m=!0,p.onprogress=function(){},p.ontimeout=function(){}),e.auth){var g=e.auth.username||"",v=e.auth.password||"";f.Authorization="Basic "+c(g+":"+v)}if(p.open(e.method.toUpperCase(),a(e.url,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p[h]=function(){if(p&&(4===p.readyState||m)&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?o(p.getAllResponseHeaders()):null,i=e.responseType&&"text"!==e.responseType?p.response:p.responseText,a={data:i,status:1223===p.status?204:p.status,statusText:1223===p.status?"No Content":p.statusText,headers:n,config:e,request:p};r(t,u,a),p=null}},p.onerror=function(){u(l("Network Error",e,null,p)),p=null},p.ontimeout=function(){u(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",p)),p=null},i.isStandardBrowserEnv()){var y=n("7aac"),b=(e.withCredentials||s(e.url))&&e.xsrfCookieName?y.read(e.xsrfCookieName):void 0;b&&(f[e.xsrfHeaderName]=b)}if("setRequestHeader"in p&&i.forEach(f,function(e,t){"undefined"===typeof d&&"content-type"===t.toLowerCase()?delete f[t]:p.setRequestHeader(t,e)}),e.withCredentials&&(p.withCredentials=!0),e.responseType)try{p.responseType=e.responseType}catch(w){if("json"!==e.responseType)throw w}"function"===typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){p&&(p.abort(),u(e),p=null)}),void 0===d&&(d=null),p.send(d)})}},b54a:function(e,t,n){"use strict";n("386b")("link",function(e){return function(t){return e(this,"a","href",t)}})},b6e4:function(e,t,n){n("ec30")("Int32",4,function(e){return function(t,n,i){return e(this,t,n,i)}})},b7ab:function(e,t,n){},b9a1:function(e,t,n){"use strict";var i=n("5ca1"),r=n("4bf8"),a=n("6a99"),o=n("38fd"),s=n("11e9").f;n("9e1e")&&i(i.P+n("c5b4"),"Object",{__lookupGetter__:function(e){var t,n=r(this),i=a(e,!0);do{if(t=s(n,i))return t.get}while(n=o(n))}})},ba16:function(e,t,n){var i=n("5ca1"),r=n("11e9").f,a=n("cb7c");i(i.S,"Reflect",{deleteProperty:function(e,t){var n=r(a(e),t);return!(n&&!n.configurable)&&delete e[t]}})},ba92:function(e,t,n){"use strict";var i=n("4bf8"),r=n("77f1"),a=n("9def");e.exports=[].copyWithin||function(e,t){var n=i(this),o=a(n.length),s=r(e,o),l=r(t,o),c=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===c?o:r(c,o))-l,o-s),d=1;l0)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},bc3a:function(e,t,n){e.exports=n("cee4")},bcaa:function(e,t,n){var i=n("cb7c"),r=n("d3f4"),a=n("a5b8");e.exports=function(e,t){if(i(e),r(t)&&t.constructor===e)return t;var n=a.f(e),o=n.resolve;return o(t),n.promise}},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},c02b:function(e,t,n){"use strict";var i=n("643e"),r=n("b39a"),a="WeakSet";n("e0b8")(a,function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return i.def(r(this,a),e,!0)}},i,!1,!0)},c0e2:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";function t(e){for(var t={},n=0;n~^?!",s=":;,.(){}[]",l=/^\-?0b[01][01_]*/,c=/^\-?0o[0-7][0-7_]*/,u=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,d=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,f=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,p=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,h=/^\#[A-Za-z]+/,m=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;function g(e,t,g){if(e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;var v=e.peek();if("/"==v){if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return t.tokenize.push(b),b(e,t)}if(e.match(h))return"builtin";if(e.match(m))return"attribute";if(e.match(l))return"number";if(e.match(c))return"number";if(e.match(u))return"number";if(e.match(d))return"number";if(e.match(p))return"property";if(o.indexOf(v)>-1)return e.next(),"operator";if(s.indexOf(v)>-1)return e.next(),e.match(".."),"punctuation";if(v=e.match(/("{3}|"|')/)){var w=y(v[0]);return t.tokenize.push(w),w(e,t)}if(e.match(f)){var x=e.current();return a.hasOwnProperty(x)?"variable-2":r.hasOwnProperty(x)?"atom":n.hasOwnProperty(x)?(i.hasOwnProperty(x)&&(t.prev="define"),"keyword"):"define"==g?"def":"variable"}return e.next(),null}function v(){var e=0;return function(t,n,i){var r=g(t,n,i);if("punctuation"==r)if("("==t.current())++e;else if(")"==t.current()){if(0==e)return t.backUp(1),n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);--e}return r}}function y(e){var t=1==e.length;return function(n,i){var r,a=!1;while(r=n.next())if(a){if("("==r)return i.tokenize.push(v()),"string";a=!1}else{if(n.match(e))return i.tokenize.pop(),"string";a="\\"==r}return t&&i.tokenize.pop(),"string"}}function b(e,t){var n;while(1){if(e.match(/^[^\/*]+/,!0),n=e.next(),!n)break;"/"===n&&e.eat("*")?t.tokenize.push(b):"*"===n&&e.eat("/")&&t.tokenize.pop()}return"comment"}function w(e,t,n){this.prev=e,this.align=t,this.indented=n}function x(e,t){var n=t.match(/^\s*($|\/[\/\*])/,!1)?null:t.column()+1;e.context=new w(e.context,n,e.indented)}function k(e){e.context&&(e.indented=e.context.indented,e.context=e.context.prev)}e.defineMode("swift",function(e){return{startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(e,t){var n=t.prev;t.prev=null;var i=t.tokenize[t.tokenize.length-1]||g,r=i(e,t,n);if(r&&"comment"!=r?t.prev||(t.prev=r):t.prev=n,"punctuation"==r){var a=/[\(\[\{]|([\]\)\}])/.exec(e.current());a&&(a[1]?k:x)(t,e)}return r},indent:function(t,n){var i=t.context;if(!i)return 0;var r=/^[\]\}\)]/.test(n);return null!=i.align?i.align-(r?1:0):i.indented+(r?0:e.indentUnit)},electricInput:/^\s*[\)\}\]]$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace",closeBrackets:"()[]{}''\"\"``"}}),e.defineMIME("text/x-swift","swift")})},c0e6:function(e,t,n){},c26b:function(e,t,n){"use strict";var i=n("86cc").f,r=n("2aeb"),a=n("dcbc"),o=n("9b43"),s=n("f605"),l=n("4a59"),c=n("01f9"),u=n("d53b"),d=n("7a56"),f=n("9e1e"),p=n("67ab").fastKey,h=n("b39a"),m=f?"_s":"size",g=function(e,t){var n,i=p(t);if("F"!==i)return e._i[i];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var u=e(function(e,i){s(e,u,t,"_i"),e._t=t,e._i=r(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=i&&l(i,n,e[c],e)});return a(u.prototype,{clear:function(){for(var e=h(this,t),n=e._i,i=e._f;i;i=i.n)i.r=!0,i.p&&(i.p=i.p.n=void 0),delete n[i.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=h(this,t),i=g(n,e);if(i){var r=i.n,a=i.p;delete n._i[i.i],i.r=!0,a&&(a.n=r),r&&(r.p=a),n._f==i&&(n._f=r),n._l==i&&(n._l=a),n[m]--}return!!i},forEach:function(e){h(this,t);var n,i=o(e,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(e){return!!g(h(this,t),e)}}),f&&i(u.prototype,"size",{get:function(){return h(this,t)[m]}}),u},def:function(e,t,n){var i,r,a=g(e,t);return a?a.v=n:(e._l=a={i:r=p(t,!0),k:t,v:n,p:i=e._l,n:void 0,r:!1},e._f||(e._f=a),i&&(i.n=a),e[m]++,"F"!==r&&(e._i[r]=a)),e},getEntry:g,setStrong:function(e,t,n){c(e,t,function(e,n){this._t=h(e,t),this._k=n,this._l=void 0},function(){var e=this,t=e._k,n=e._l;while(n&&n.r)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?u(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(e._t=void 0,u(1))},n?"entries":"values",!n,!0),d(t)}}},c345:function(e,t,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"];e.exports=function(e){var t,n,a,o={};return e?(i.forEach(e.split("\n"),function(e){if(a=e.indexOf(":"),t=i.trim(e.substr(0,a)).toLowerCase(),n=i.trim(e.substr(a+1)),t){if(o[t]&&r.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([n]):o[t]?o[t]+", "+n:n}}),o):o}},c366:function(e,t,n){var i=n("6821"),r=n("9def"),a=n("77f1");e.exports=function(e){return function(t,n,o){var s,l=i(t),c=r(l.length),u=a(o,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},c401:function(e,t,n){"use strict";var i=n("c532");e.exports=function(e,t,n){return i.forEach(n,function(n){e=n(e,t)}),e}},c4a0:function(e,t,n){},c532:function(e,t,n){"use strict";var i=n("1d2b"),r=n("044b"),a=Object.prototype.toString;function o(e){return"[object Array]"===a.call(e)}function s(e){return"[object ArrayBuffer]"===a.call(e)}function l(e){return"undefined"!==typeof FormData&&e instanceof FormData}function c(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function u(e){return"string"===typeof e}function d(e){return"number"===typeof e}function f(e){return"undefined"===typeof e}function p(e){return null!==e&&"object"===typeof e}function h(e){return"[object Date]"===a.call(e)}function m(e){return"[object File]"===a.call(e)}function g(e){return"[object Blob]"===a.call(e)}function v(e){return"[object Function]"===a.call(e)}function y(e){return p(e)&&v(e.pipe)}function b(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function w(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function x(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function k(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var n=0,i=e.length;n2){t=y?t.trim():f(t,3);var n,i,r,a=t.charCodeAt(0);if(43===a||45===a){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===a){switch(t.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+t}for(var o,l=t.slice(2),c=0,u=l.length;cr)return NaN;return parseInt(l,i)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof h&&(v?l(function(){g.valueOf.call(n)}):a(n)!=p)?o(new m(b(t)),n,h):b(t)};for(var w,x=n("9e1e")?c(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),k=0;x.length>k;k++)r(m,w=x[k])&&!r(h,w)&&d(h,w,u(m,w));h.prototype=g,g.constructor=h,n("2aba")(i,p,h)}},c66f:function(e,t,n){"use strict";var i=n("5ca1"),r=n("0f88"),a=n("ed0b"),o=n("cb7c"),s=n("77f1"),l=n("9def"),c=n("d3f4"),u=n("7726").ArrayBuffer,d=n("ebd6"),f=a.ArrayBuffer,p=a.DataView,h=r.ABV&&u.isView,m=f.prototype.slice,g=r.VIEW,v="ArrayBuffer";i(i.G+i.W+i.F*(u!==f),{ArrayBuffer:f}),i(i.S+i.F*!r.CONSTR,v,{isView:function(e){return h&&h(e)||c(e)&&g in e}}),i(i.P+i.U+i.F*n("79e5")(function(){return!new f(2).slice(1,void 0).byteLength}),v,{slice:function(e,t){if(void 0!==m&&void 0===t)return m.call(o(this),e);var n=o(this).byteLength,i=s(e,n),r=s(void 0===t?n:t,n),a=new(d(this,f))(l(r-i)),c=new p(this),u=new p(a),h=0;while(i0?(i=n/l,a+=i*i):a+=n;return l===1/0?1/0:l*Math.sqrt(a)}})},c7c62:function(e,t,n){var i=n("5ca1"),r=n("2d5c"),a=Math.exp;i(i.S,"Math",{tanh:function(e){var t=r(e=+e),n=r(-e);return t==1/0?1:n==1/0?-1:(t-n)/(a(e)+a(-e))}})},c8af:function(e,t,n){"use strict";var i=n("c532");e.exports=function(e,t){i.forEach(e,function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])})}},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}e.exports=n},c8ce:function(e,t,n){var i=n("2b4c")("toPrimitive"),r=Date.prototype;i in r||n("32e9")(r,i,n("8381"))},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"),r=n("d53b"),a=n("84f2"),o=n("6821");e.exports=n("01f9")(Array,"Array",function(e,t){this._t=o(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,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.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}},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"),r=n("6821"),a=n("c366")(!1),o=n("613b")("IE_PROTO");e.exports=function(e,t){var n,s=r(e),l=0,c=[];for(n in s)n!=o&&i(s,n)&&c.push(n);while(t.length>l)i(s,n=t[l++])&&(~a(c,n)||c.push(n));return c}},ced0:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.defineMode("yaml",function(){var e=["true","false","on","off","yes","no"],t=new RegExp("\\b(("+e.join(")|(")+"))$","i");return{token:function(e,n){var i=e.peek(),r=n.escaped;if(n.escaped=!1,"#"==i&&(0==e.pos||/\s/.test(e.string.charAt(e.pos-1))))return e.skipToEnd(),"comment";if(e.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(n.literal&&e.indentation()>n.keyCol)return e.skipToEnd(),"string";if(n.literal&&(n.literal=!1),e.sol()){if(n.keyCol=0,n.pair=!1,n.pairStart=!1,e.match(/---/))return"def";if(e.match(/\.\.\./))return"def";if(e.match(/\s*-\s+/))return"meta"}if(e.match(/^(\{|\}|\[|\])/))return"{"==i?n.inlinePairs++:"}"==i?n.inlinePairs--:"["==i?n.inlineList++:n.inlineList--,"meta";if(n.inlineList>0&&!r&&","==i)return e.next(),"meta";if(n.inlinePairs>0&&!r&&","==i)return n.keyCol=0,n.pair=!1,n.pairStart=!1,e.next(),"meta";if(n.pairStart){if(e.match(/^\s*(\||\>)\s*/))return n.literal=!0,"meta";if(e.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(0==n.inlinePairs&&e.match(/^\s*-?[0-9\.\,]+\s?$/))return"number";if(n.inlinePairs>0&&e.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(e.match(t))return"keyword"}return!n.pair&&e.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(n.pair=!0,n.keyCol=e.indentation(),"atom"):n.pair&&e.match(/^:\s*/)?(n.pairStart=!0,"meta"):(n.pairStart=!1,n.escaped="\\"==i,e.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-yaml","yaml"),e.defineMIME("text/yaml","yaml")})},cee4:function(e,t,n){"use strict";var i=n("c532"),r=n("1d2b"),a=n("0a06"),o=n("2444");function s(e){var t=new a(e),n=r(a.prototype.request,t);return i.extend(n,a.prototype,t),i.extend(n,t),n}var l=s(o);l.Axios=a,l.create=function(e){return s(i.merge(o,e))},l.Cancel=n("7a77"),l.CancelToken=n("8df4"),l.isCancel=n("2e67"),l.all=function(e){return Promise.all(e)},l.spread=n("0df6"),e.exports=l,e.exports.default=l},cf6a:function(e,t,n){var i=n("d3f4"),r=n("67ab").onFreeze;n("5eda")("seal",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},d04f:function(e,t,n){n("7a56")("Array")},d0b0:function(e,t,n){"use strict";n("386b")("italics",function(e){return function(){return e(this,"i","","")}})},d185:function(e,t,n){var i=n("11e9"),r=n("38fd"),a=n("69a8"),o=n("5ca1"),s=n("d3f4"),l=n("cb7c");function c(e,t){var n,o,u=arguments.length<3?e:arguments[2];return l(e)===u?e[t]:(n=i.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(u):void 0:s(o=r(e))?c(o,t,u):void 0}o(o.S,"Reflect",{get:c})},d226:function(e,t,n){},d263:function(e,t,n){"use strict";n("386b")("fixed",function(e){return function(){return e(this,"tt","","")}})},d2c8:function(e,t,n){var i=n("aae3"),r=n("be13");e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d4c0:function(e,t,n){var i=n("0d58"),r=n("2621"),a=n("52a7");e.exports=function(e){var t=i(e),n=r.f;if(n){var o,s=n(e),l=a.f,c=0;while(s.length>c)l.call(e,o=s[c++])&&t.push(o)}return t}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d5e0:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(i,r){var a,o,s=i.indentUnit,l={},c=r.htmlMode?t:n;for(var u in c)l[u]=c[u];for(var u in r)l[u]=r[u];function d(e,t){function n(n){return t.tokenize=n,n(e,t)}var i,r=e.next();return"<"==r?e.eat("!")?e.eat("[")?e.match("CDATA[")?n(h("atom","]]>")):null:e.match("--")?n(h("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(m(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=h("meta","?>"),"meta"):(a=e.eat("/")?"closeTag":"openTag",t.tokenize=f,"tag bracket"):"&"==r?(i=e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"),i?"atom":"error"):(e.eatWhile(/[^&<]/),null)}function f(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=d,a=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return a="equals",null;if("<"==n){t.tokenize=d,t.state=b,t.tagName=t.tagStart=null;var i=t.tokenize(e,t);return i?i+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=p(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function p(e){var t=function(t,n){while(!t.eol())if(t.next()==e){n.tokenize=f;break}return"string"};return t.isInAttribute=!0,t}function h(e,t){return function(n,i){while(!n.eol()){if(n.match(t)){i.tokenize=d;break}n.next()}return e}}function m(e){return function(t,n){var i;while(null!=(i=t.next())){if("<"==i)return n.tokenize=m(e+1),n.tokenize(t,n);if(">"==i){if(1==e){n.tokenize=d;break}return n.tokenize=m(e-1),n.tokenize(t,n)}}return"meta"}}function g(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function v(e){e.context&&(e.context=e.context.prev)}function y(e,t){var n;while(1){if(!e.context)return;if(n=e.context.tagName,!l.contextGrabbers.hasOwnProperty(n)||!l.contextGrabbers[n].hasOwnProperty(t))return;v(e)}}function b(e,t,n){return"openTag"==e?(n.tagStart=t.column(),w):"closeTag"==e?x:b}function w(e,t,n){return"word"==e?(n.tagName=t.current(),o="tag",C):l.allowMissingTagName&&"endTag"==e?(o="tag bracket",C(e,t,n)):(o="error",w)}function x(e,t,n){if("word"==e){var i=t.current();return n.context&&n.context.tagName!=i&&l.implicitlyClosed.hasOwnProperty(n.context.tagName)&&v(n),n.context&&n.context.tagName==i||!1===l.matchClosing?(o="tag",k):(o="tag error",_)}return l.allowMissingTagName&&"endTag"==e?(o="tag bracket",k(e,t,n)):(o="error",_)}function k(e,t,n){return"endTag"!=e?(o="error",k):(v(n),b)}function _(e,t,n){return o="error",k(e,t,n)}function C(e,t,n){if("word"==e)return o="attribute",S;if("endTag"==e||"selfcloseTag"==e){var i=n.tagName,r=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(i)?y(n,i):(y(n,i),n.context=new g(n,i,r==n.indented)),b}return o="error",C}function S(e,t,n){return"equals"==e?T:(l.allowMissing||(o="error"),C(e,t,n))}function T(e,t,n){return"string"==e?M:"word"==e&&l.allowUnquoted?(o="string",C):(o="error",C(e,t,n))}function M(e,t,n){return"string"==e?M:C(e,t,n)}return d.isInText=!0,{startState:function(e){var t={tokenize:d,state:b,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;a=null;var n=t.tokenize(e,t);return(n||a)&&"comment"!=n&&(o=null,t.state=t.state(a||n,e,t),o&&(n="error"==o?n+" error":o)),n},indent:function(t,n,i){var r=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(r&&r.noIndent)return e.Pass;if(t.tokenize!=f&&t.tokenize!=d)return i?i.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(e){e.state==T&&(e.state=C)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},d69f:function(e,t,n){(function(e){e(n("56b3"),n("d5e0"),n("f9d4"),n("7b00"))})(function(e){"use strict";var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function n(e,t,n){var i=e.current(),r=i.search(t);return r>-1?e.backUp(i.length-r):i.match(/<\/?$/)&&(e.backUp(i.length),e.match(t,!1)||e.match(i)),n}var i={};function r(e){var t=i[e];return t||(i[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}function a(e,t){var n=e.match(r(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function o(e,t){return new RegExp((t?"^":"")+"","i")}function s(e,t){for(var n in e)for(var i=t[n]||(t[n]=[]),r=e[n],a=r.length-1;a>=0;a--)i.unshift(r[a])}function l(e,t){for(var n=0;n=0;f--)c.script.unshift(["type",d[f].matches,d[f].mode]);function p(t,r){var s,u=a.token(t,r.htmlState),d=/\btag\b/.test(u);if(d&&!/[<>\s\/]/.test(t.current())&&(s=r.htmlState.tagName&&r.htmlState.tagName.toLowerCase())&&c.hasOwnProperty(s))r.inTag=s+" ";else if(r.inTag&&d&&/>$/.test(t.current())){var f=/^([\S]+) (.*)/.exec(r.inTag);r.inTag=null;var h=">"==t.current()&&l(c[f[1]],f[2]),m=e.getMode(i,h),g=o(f[1],!0),v=o(f[1],!1);r.token=function(e,t){return e.match(g,!1)?(t.token=p,t.localState=t.localMode=null,null):n(e,v,t.localMode.token(e,t.localState))},r.localMode=m,r.localState=e.startState(m,a.indent(r.htmlState,"",""))}else r.inTag&&(r.inTag+=t.current(),t.eol()&&(r.inTag+=" "));return u}return{startState:function(){var t=e.startState(a);return{token:p,inTag:null,localMode:null,localState:null,htmlState:t}},copyState:function(t){var n;return t.localState&&(n=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:n,htmlState:e.copyState(a,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,n,i){return!t.localMode||/^\s*<\//.test(n)?a.indent(t.htmlState,n,i):t.localMode.indent?t.localMode.indent(t.localState,n,i):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||a}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},d6c6:function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},d752:function(e,t,n){var i=n("7726").parseFloat,r=n("aa77").trim;e.exports=1/i(n("fdef")+"-0")!==-1/0?function(e){var t=r(String(e),3),n=i(t);return 0===n&&"-"==t.charAt(0)?-0:n}:i},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},d925:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},d9ab:function(e,t,n){var i=n("5ca1"),r=Math.atanh;i(i.S+i.F*!(r&&1/r(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},db74:function(e,t,n){"use strict";var i=n("c0e6"),r=n.n(i);r.a},db91:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var n=t(["and","or","not","is"]),i=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],r=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];function a(e){return e.scopes[e.scopes.length-1]}e.registerHelper("hintWords","python",i.concat(r)),e.defineMode("python",function(o,s){for(var l="error",c=s.delimiters||s.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,u=[s.singleOperators,s.doubleOperators,s.doubleDelimiters,s.tripleDelimiters,s.operators||/^([-+*\/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@])/],d=0;di?C(t):r0&&T(e,t)&&(o+=" "+l),o}return x(e,t)}function x(e,t){if(e.eatSpace())return null;if(e.match(/^#.*/))return"comment";if(e.match(/^[0-9\.]/,!1)){var i=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(i=!0),e.match(/^[\d_]+\.\d*/)&&(i=!0),e.match(/^\.\d+/)&&(i=!0),i)return e.eat(/J/i),"number";var r=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(r=!0),e.match(/^0b[01_]+/i)&&(r=!0),e.match(/^0o[0-7_]+/i)&&(r=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),r=!0),e.match(/^0(?![\dx])/i)&&(r=!0),r)return e.eat(/L/i),"number"}if(e.match(v)){var a=-1!==e.current().toLowerCase().indexOf("f");return a?(t.tokenize=k(e.current(),t.tokenize),t.tokenize(e,t)):(t.tokenize=_(e.current(),t.tokenize),t.tokenize(e,t))}for(var o=0;o=0)e=e.substr(1);var n=1==e.length,i="string";function r(e){return function(t,n){var i=x(t,n);return"punctuation"==i&&("{"==t.current()?n.tokenize=r(e+1):"}"==t.current()&&(n.tokenize=e>1?r(e-1):a)),i}}function a(a,o){while(!a.eol())if(a.eatWhile(/[^'"\{\}\\]/),a.eat("\\")){if(a.next(),n&&a.eol())return i}else{if(a.match(e))return o.tokenize=t,i;if(a.match("{{"))return i;if(a.match("{",!1))return o.tokenize=r(0),a.current()?i:o.tokenize(a,o);if(a.match("}}"))return i;if(a.match("}"))return l;a.eat(/['"]/)}if(n){if(s.singleLineStringErrors)return l;o.tokenize=t}return i}return a.isString=!0,a}function _(e,t){while("rubf".indexOf(e.charAt(0).toLowerCase())>=0)e=e.substr(1);var n=1==e.length,i="string";function r(r,a){while(!r.eol())if(r.eatWhile(/[^'"\\]/),r.eat("\\")){if(r.next(),n&&r.eol())return i}else{if(r.match(e))return a.tokenize=t,i;r.eat(/['"]/)}if(n){if(s.singleLineStringErrors)return l;a.tokenize=t}return i}return r.isString=!0,r}function C(e){while("py"!=a(e).type)e.scopes.pop();e.scopes.push({offset:a(e).offset+o.indentUnit,type:"py",align:null})}function S(e,t,n){var i=e.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+f,type:n,align:i})}function T(e,t){var n=e.indentation();while(t.scopes.length>1&&a(t).offset>n){if("py"!=a(t).type)return!0;t.scopes.pop()}return a(t).offset!=n}function M(e,t){e.sol()&&(t.beginningOfLine=!0);var n=t.tokenize(e,t),i=e.current();if(t.beginningOfLine&&"@"==i)return e.match(g,!1)?"meta":m?"operator":l;if(/\S/.test(i)&&(t.beginningOfLine=!1),"variable"!=n&&"builtin"!=n||"meta"!=t.lastToken||(n="meta"),"pass"!=i&&"return"!=i||(t.dedent+=1),"lambda"==i&&(t.lambda=!0),":"!=i||t.lambda||"py"!=a(t).type||C(t),1==i.length&&!/string|comment/.test(n)){var r="[({".indexOf(i);if(-1!=r&&S(e,t,"])}".slice(r,r+1)),r="])}".indexOf(i),-1!=r){if(a(t).type!=i)return l;t.indent=t.scopes.pop().offset-f}}return t.dedent>0&&e.eol()&&"py"==a(t).type&&(t.scopes.length>1&&t.scopes.pop(),t.dedent-=1),n}var E={startState:function(e){return{tokenize:w,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,t){var n=t.errorToken;n&&(t.errorToken=!1);var i=M(e,t);return i&&"comment"!=i&&(t.lastToken="keyword"==i||"punctuation"==i?e.current():i),"punctuation"==i&&(i=null),e.eol()&&t.lambda&&(t.lambda=!1),n?i+" "+l:i},indent:function(t,n){if(t.tokenize!=w)return t.tokenize.isString?e.Pass:0;var i=a(t),r=i.type==n.charAt(0);return null!=i.align?i.align-(r?1:0):i.offset-(r?f:0)},electricInput:/^\s*[\}\]\)]$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"};return E}),e.defineMIME("text/x-python","python");var o=function(e){return e.split(" ")};e.defineMIME("text/x-cython",{name:"python",extra_keywords:o("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})},db97:function(e,t,n){var i=n("5ca1");i(i.S,"Object",{is:n("83a1")})},dc5b:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.defineMode("properties",function(){return{token:function(e,t){var n=e.sol()||t.afterSection,i=e.eol();if(t.afterSection=!1,n&&(t.nextMultiline?(t.inMultiline=!0,t.nextMultiline=!1):t.position="def"),i&&!t.nextMultiline&&(t.inMultiline=!1,t.position="def"),n)while(e.eatSpace());var r=e.next();return!n||"#"!==r&&"!"!==r&&";"!==r?n&&"["===r?(t.afterSection=!0,e.skipTo("]"),e.eat("]"),"header"):"="===r||":"===r?(t.position="quote",null):("\\"===r&&"quote"===t.position&&e.eol()&&(t.nextMultiline=!0),t.position):(t.position="comment",e.skipToEnd(),"comment")},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}}}),e.defineMIME("text/x-properties","properties"),e.defineMIME("text/x-ini","properties")})},dcbc:function(e,t,n){var i=n("2aba");e.exports=function(e,t,n){for(var r in t)i(e,r,t[r],n);return e}},de14:function(e,t,n){"use strict";var i=n("00f7"),r=n.n(i);r.a},df1b:function(e,t,n){var i=n("5ca1"),r=n("d8e8"),a=n("cb7c"),o=(n("7726").Reflect||{}).apply,s=Function.apply;i(i.S+i.F*!n("79e5")(function(){o(function(){})}),"Reflect",{apply:function(e,t,n){var i=r(e),l=a(n);return o?o(i,t,l):s.call(i,t,l)}})},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,i=e.length-1;i>=0;i--){var r=e[i];"."===r?e.splice(i,1):".."===r?(e.splice(i,1),n++):n&&(e.splice(i,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var i=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,r=function(e){return i.exec(e).slice(1)};function a(e,t){if(e.filter)return e.filter(t);for(var n=[],i=0;i=-1&&!i;r--){var o=r>=0?arguments[r]:e.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,i="/"===o.charAt(0))}return t=n(a(t.split("/"),function(e){return!!e}),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){var i=t.isAbsolute(e),r="/"===o(e,-1);return e=n(a(e.split("/"),function(e){return!!e}),!i).join("/"),e||i||(e="."),e&&r&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function i(e){for(var t=0;t=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var r=i(e.split("/")),a=i(n.split("/")),o=Math.min(r.length,a.length),s=o,l=0;l|[#\/]([A-Za-z_]\w*)/,token:"keyword"},{regex:/(?:else|this)\b/,token:"keyword"},{regex:/\d+/i,token:"number"},{regex:/=|~|@|true|false/,token:"atom"},{regex:/(?:\.\.\/)*(?:[A-Za-z_][\w\.]*)+/,token:"variable-2"}],dash_comment:[{regex:/--\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],comment:[{regex:/\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],meta:{blockCommentStart:"{{--",blockCommentEnd:"--}}"}}),e.defineMode("handlebars",function(t,n){var i=e.getMode(t,"handlebars-tags");return n&&n.base?e.multiplexingMode(e.getMode(t,n.base),{open:"{{",close:"}}",mode:i,parseDelimiters:!0}):i}),e.defineMIME("text/x-handlebars-template","handlebars")})},e2d5:function(e,t,n){},e4f7:function(e,t,n){var i=n("4bf8"),r=n("38fd");n("5eda")("getPrototypeOf",function(){return function(e){return r(i(e))}})},e683:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},e804:function(e,t,n){"use strict";var i=n("5ca1"),r=n("f1ae");i(i.S+i.F*n("79e5")(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);while(t>e)r(n,e,arguments[e++]);return n.length=t,n}})},e853:function(e,t,n){var i=n("d3f4"),r=n("1169"),a=n("2b4c")("species");e.exports=function(e){var t;return r(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&(t=t[a],null===t&&(t=void 0))),void 0===t?Array:t}},eb0c:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.multiplexingMode=function(t){var n=Array.prototype.slice.call(arguments,1);function i(e,t,n,i){if("string"==typeof t){var r=e.indexOf(t,n);return i&&r>-1?r+t.length:r}var a=t.exec(n?e.slice(n):e);return a?a.index+n+(i?a[0].length:0):-1}return{startState:function(){return{outer:e.startState(t),innerActive:null,inner:null}},copyState:function(n){return{outer:e.copyState(t,n.outer),innerActive:n.innerActive,inner:n.innerActive&&e.copyState(n.innerActive.mode,n.inner)}},token:function(r,a){if(a.innerActive){var o=a.innerActive;c=r.string;if(!o.close&&r.sol())return a.innerActive=a.inner=null,this.token(r,a);f=o.close?i(c,o.close,r.pos,o.parseDelimiters):-1;if(f==r.pos&&!o.parseDelimiters)return r.match(o.close),a.innerActive=a.inner=null,o.delimStyle&&o.delimStyle+" "+o.delimStyle+"-close";f>-1&&(r.string=c.slice(0,f));var s=o.mode.token(r,a.inner);return f>-1&&(r.string=c),f==r.pos&&o.parseDelimiters&&(a.innerActive=a.inner=null),o.innerStyle&&(s=s?s+" "+o.innerStyle:o.innerStyle),s}for(var l=1/0,c=r.string,u=0;un)r[n]=t[n++];return r},Pe=function(e,t,n){q(e,t,{get:function(){return this._d[n]}})},Ie=function(e){var t,n,i,r,a,o,s=k(e),l=arguments.length,u=l>1?arguments[1]:void 0,d=void 0!==u,f=M(s);if(void 0!=f&&!_(f)){for(o=f.call(s),i=[],t=0;!(a=o.next()).done;t++)i.push(a.value);s=i}for(d&&l>2&&(u=c(u,arguments[2],2)),t=0,n=m(s.length),r=Ne(this,n);n>t;t++)r[t]=d?u(s[t],t):s[t];return r},Fe=function(){var e=0,t=arguments.length,n=Ne(this,t);while(t>e)n[e]=arguments[e++];return n},ze=!!U&&a(function(){ve.call(new U(1))}),$e=function(){return ve.apply(ze?me.call(Le(this)):Le(this),arguments)},je={copyWithin:function(e,t){return $.call(Le(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return ne(Le(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return z.apply(Le(this),arguments)},filter:function(e){return De(this,ee(Le(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return ie(Le(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return re(Le(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){J(Le(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return oe(Le(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return ae(Le(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return pe.apply(Le(this),arguments)},lastIndexOf:function(e){return ue.apply(Le(this),arguments)},map:function(e){return Te(Le(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return de.apply(Le(this),arguments)},reduceRight:function(e){return fe.apply(Le(this),arguments)},reverse:function(){var e,t=this,n=Le(t).length,i=Math.floor(n/2),r=0;while(r1?arguments[1]:void 0)},sort:function(e){return he.call(Le(this),e)},subarray:function(e,t){var n=Le(this),i=n.length,r=v(e,i);return new(D(n,n[xe]))(n.buffer,n.byteOffset+r*n.BYTES_PER_ELEMENT,m((void 0===t?i:v(t,i))-r))}},Re=function(e,t){return De(this,me.call(Le(this),e,t))},qe=function(e){Le(this);var t=Ae(arguments[1],1),n=this.length,i=k(e),r=m(i.length),a=0;if(r+t>n)throw H(Se);while(a255?255:255&i),r.v[p](n*t+r.o,i,Me)},A=function(e,t){q(e,t,{get:function(){return M(this,t)},set:function(e){return E(this,t,e)},enumerable:!0})};b?(h=n(function(e,n,i,r){u(e,h,c,"_d");var a,o,s,l,d=0,p=0;if(x(n)){if(!(n instanceof Z||(l=w(n))==V||l==G))return _e in n?Oe(h,n):Ie.call(h,n);a=n,p=Ae(i,t);var v=n.byteLength;if(void 0===r){if(v%t)throw H(Se);if(o=v-p,o<0)throw H(Se)}else if(o=m(r)*t,o+p>v)throw H(Se);s=o/t}else s=g(n),o=s*t,a=new Z(o);f(e,"_d",{b:a,o:p,l:o,e:s,v:new Q(a)});while(d>1,u=23===t?L(2,-24)-L(2,-77):0,d=0,f=e<0||0===e&&1/e<0?1:0;for(e=A(e),e!=e||e===M?(r=e!=e?1:0,i=l):(i=N(D(e)/O),e*(a=L(2,-i))<1&&(i--,a*=2),e+=i+c>=1?u/a:u*L(2,1-c),e*a>=2&&(i++,a/=2),i+c>=l?(r=0,i=l):i+c>=1?(r=(e*a-1)*L(2,t),i+=c):(r=e*L(2,c-1)*L(2,t),i=0));t>=8;o[d++]=255&r,r/=256,t-=8);for(i=i<0;o[d++]=255&i,i/=256,s-=8);return o[--d]|=128*f,o}function q(e,t,n){var i,r=8*n-t-1,a=(1<>1,s=r-7,l=n-1,c=e[l--],u=127&c;for(c>>=7;s>0;u=256*u+e[l],l--,s-=8);for(i=u&(1<<-s)-1,u>>=-s,s+=t;s>0;i=256*i+e[l],l--,s-=8);if(0===u)u=1-o;else{if(u===a)return i?NaN:c?-M:M;i+=L(2,t),u-=o}return(c?-1:1)*i*L(2,u-t)}function B(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function H(e){return[255&e]}function W(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 R(e,52,8)}function G(e){return R(e,23,4)}function X(e,t,n){m(e[w],t,{get:function(){return this[n]}})}function K(e,t,n,i){var r=+n,a=p(r);if(a+t>e[$])throw T(k);var o=e[z]._b,s=a+e[j],l=o.slice(s,s+t);return i?l:l.reverse()}function Y(e,t,n,i,r,a){var o=+n,s=p(o);if(s+t>e[$])throw T(k);for(var l=e[z]._b,c=s+e[j],u=i(+r),d=0;dee;)(Z=J[ee++])in _||s(_,Z,E[Z]);a||(Q.constructor=_)}var te=new C(new _(2)),ne=C[w].setInt8;te.setInt8(0,2147483648),te.setInt8(1,2147483649),!te.getInt8(0)&&te.getInt8(1)||l(C[w],{setInt8:function(e,t){ne.call(this,e,t<<24>>24)},setUint8:function(e,t){ne.call(this,e,t<<24>>24)}},!0)}else _=function(e){u(this,_,y);var t=p(e);this._b=g.call(new Array(t),0),this[$]=t},C=function(e,t,n){u(this,C,b),u(e,_,b);var i=e[$],r=d(t);if(r<0||r>i)throw T("Wrong offset!");if(n=void 0===n?i-r:f(n),r+n>i)throw T(x);this[z]=e,this[j]=r,this[$]=n},r&&(X(_,I,"_l"),X(C,P,"_b"),X(C,I,"_l"),X(C,F,"_o")),l(C[w],{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 B(K(this,4,e,arguments[1]))},getUint32:function(e){return B(K(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return q(K(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return q(K(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,W,t,arguments[2])},setUint16:function(e,t){Y(this,2,e,W,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(_,y),v(C,b),s(C[w],o.VIEW,!0),t[y]=_,t[b]=C},ed50:function(e,t,n){"use strict";var i=n("5ca1"),r=n("2e08"),a=n("a25f");i(i.P+i.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(a),"String",{padEnd:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},ee1d:function(e,t,n){var i=n("5ca1");i(i.S,"Number",{isNaN:function(e){return e!=e}})},eea5:function(e,t,n){"use strict";var i=n("c4a0"),r=n.n(i);r.a},f040:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"],alias:["objective-c","objc"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var t=0;t-1&&t.substring(r+1,t.length);if(a)return e.findModeByExtension(a)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n0?arguments[0]:void 0)}},{get:function(e){var t=i.getEntry(r(this,a),e);return t&&t.v},set:function(e,t){return i.def(r(this,a),0===e?0:e,t)}},i,!0)},f4ff:function(e,t,n){var i=n("5ca1"),r=Math.imul;i(i.S+i.F*n("79e5")(function(){return-5!=r(4294967295,5)||2!=r.length}),"Math",{imul:function(e,t){var n=65535,i=+e,r=+t,a=n&i,o=n&r;return 0|a*o+((n&i>>>16)*o+a*(n&r>>>16)<<16>>>0)}})},f559:function(e,t,n){"use strict";var i=n("5ca1"),r=n("9def"),a=n("d2c8"),o="startsWith",s=""[o];i(i.P+i.F*n("5147")(o),"String",{startsWith:function(e){var t=a(this,e,o),n=r(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return s?s.call(t,i,n):t.slice(n,n+i.length)===i}})},f576:function(e,t,n){"use strict";var i=n("5ca1"),r=n("2e08"),a=n("a25f");i(i.P+i.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(a),"String",{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},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}},f669:function(e,t,n){"use strict";var i=n("2dba"),r=n.n(i);r.a},f6b3:function(e,t,n){var i=n("5ca1");i(i.S,"Reflect",{has:function(e,t){return t in e}})},f6b4:function(e,t,n){"use strict";var i=n("c532");function r(){this.handlers=[]}r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=r},f751:function(e,t,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},f9ab:function(e,t,n){var i=n("5ca1"),r=n("96fb");i(i.S,"Math",{cbrt:function(e){return r(e=+e)*Math.pow(Math.abs(e),1/3)}})},f9d4:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.defineMode("javascript",function(t,n){var i,r,a=t.indentUnit,o=n.statementIndent,s=n.jsonld,l=n.json||s,c=n.typescript,u=n.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),i=e("keyword c"),r=e("keyword d"),a=e("operator"),o={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:r,break:r,continue:r,new:e("new"),delete:i,void:i,throw:i,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:a,typeof:a,instanceof:a,true:o,false:o,null:o,undefined:o,NaN:o,Infinity:o,this:e("this"),class:e("class"),super:e("atom"),yield:i,export:e("export"),import:e("import"),extends:i,await:i}}(),f=/[+\-*&%=<>!?|~^@]/,p=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function h(e){var t,n=!1,i=!1;while(null!=(t=e.next())){if(!n){if("/"==t&&!i)return;"["==t?i=!0:i&&"]"==t&&(i=!1)}n=!n&&"\\"==t}}function m(e,t,n){return i=e,r=n,t}function g(e,t){var n=e.next();if('"'==n||"'"==n)return t.tokenize=v(n),t.tokenize(e,t);if("."==n&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return m("number","number");if("."==n&&e.match(".."))return m("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return m(n);if("="==n&&e.eat(">"))return m("=>","operator");if("0"==n&&e.match(/^(?:x[\da-f]+|o[0-7]+|b[01]+)n?/i))return m("number","number");if(/\d/.test(n))return e.match(/^\d*(?:n|(?:\.\d*)?(?:[eE][+\-]?\d+)?)?/),m("number","number");if("/"==n)return e.eat("*")?(t.tokenize=y,y(e,t)):e.eat("/")?(e.skipToEnd(),m("comment","comment")):tt(e,t,1)?(h(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),m("regexp","string-2")):(e.eat("="),m("operator","operator",e.current()));if("`"==n)return t.tokenize=b,b(e,t);if("#"==n)return e.skipToEnd(),m("error","error");if(f.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),m("operator","operator",e.current());if(u.test(n)){e.eatWhile(u);var i=e.current();if("."!=t.lastType){if(d.propertyIsEnumerable(i)){var r=d[i];return m(r.type,r.style,i)}if("async"==i&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return m("async","keyword",i)}return m("variable","variable",i)}}function v(e){return function(t,n){var i,r=!1;if(s&&"@"==t.peek()&&t.match(p))return n.tokenize=g,m("jsonld-keyword","meta");while(null!=(i=t.next())){if(i==e&&!r)break;r=!r&&"\\"==i}return r||(n.tokenize=g),m("string","string")}}function y(e,t){var n,i=!1;while(n=e.next()){if("/"==n&&i){t.tokenize=g;break}i="*"==n}return m("comment","comment")}function b(e,t){var n,i=!1;while(null!=(n=e.next())){if(!i&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=g;break}i=!i&&"\\"==n}return m("quasi","string-2",e.current())}var w="([{}])";function x(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(c){var i=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));i&&(n=i.index)}for(var r=0,a=!1,o=n-1;o>=0;--o){var s=e.string.charAt(o),l=w.indexOf(s);if(l>=0&&l<3){if(!r){++o;break}if(0==--r){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++r;else if(u.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!r){++o;break}}}a&&!r&&(t.fatArrowAt=o)}}var k={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function _(e,t,n,i,r,a){this.indented=e,this.column=t,this.type=n,this.prev=r,this.info=a,null!=i&&(this.align=i)}function C(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var i=e.context;i;i=i.prev)for(n=i.vars;n;n=n.next)if(n.name==t)return!0}function S(e,t,n,i,r){var a=e.cc;T.state=e,T.stream=r,T.marked=null,T.cc=a,T.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);while(1){var o=a.length?a.pop():l?W:B;if(o(n,i)){while(a.length&&a[a.length-1].lex)a.pop()();return T.marked?T.marked:"variable"==n&&C(e,i)?"variable-2":t}}}var T={state:null,column:null,marked:null,cc:null};function M(){for(var e=arguments.length-1;e>=0;e--)T.cc.push(arguments[e])}function E(){return M.apply(null,arguments),!0}function A(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function L(e){var t=T.state;if(T.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var i=N(e,t.context);if(null!=i)return void(t.context=i)}else if(!A(e,t.localVars))return void(t.localVars=new P(e,t.localVars));n.globalVars&&!A(e,t.globalVars)&&(t.globalVars=new P(e,t.globalVars))}function N(e,t){if(t){if(t.block){var n=N(e,t.prev);return n?n==t.prev?t:new O(n,t.vars,!0):null}return A(e,t.vars)?t:new O(t.prev,new P(e,t.vars),!1)}return null}function D(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function O(e,t,n){this.prev=e,this.vars=t,this.block=n}function P(e,t){this.name=e,this.next=t}var I=new P("this",new P("arguments",null));function F(){T.state.context=new O(T.state.context,T.state.localVars,!1),T.state.localVars=I}function z(){T.state.context=new O(T.state.context,T.state.localVars,!0),T.state.localVars=null}function $(){T.state.localVars=T.state.context.vars,T.state.context=T.state.context.prev}function j(e,t){var n=function(){var n=T.state,i=n.indented;if("stat"==n.lexical.type)i=n.lexical.indented;else for(var r=n.lexical;r&&")"==r.type&&r.align;r=r.prev)i=r.indented;n.lexical=new _(i,T.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function R(){var e=T.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function q(e){function t(n){return n==e?E():";"==e||"}"==n||")"==n||"]"==n?M():E(t)}return t}function B(e,t){return"var"==e?E(j("vardef",t),_e,q(";"),R):"keyword a"==e?E(j("form"),V,B,R):"keyword b"==e?E(j("form"),B,R):"keyword d"==e?T.stream.match(/^\s*$/,!1)?E():E(j("stat"),X,q(";"),R):"debugger"==e?E(q(";")):"{"==e?E(j("}"),z,de,R,$):";"==e?E():"if"==e?("else"==T.state.lexical.info&&T.state.cc[T.state.cc.length-1]==R&&T.state.cc.pop()(),E(j("form"),V,B,R,Ae)):"function"==e?E(Ie):"for"==e?E(j("form"),Le,B,R):"class"==e||c&&"interface"==t?(T.marked="keyword",E(j("form","class"==e?e:t),Re,R)):"variable"==e?c&&"declare"==t?(T.marked="keyword",E(B)):c&&("module"==t||"enum"==t||"type"==t)&&T.stream.match(/^\s*\w/,!1)?(T.marked="keyword","enum"==t?E(Qe):"type"==t?E(ze,q("operator"),me,q(";")):E(j("form"),Ce,q("{"),j("}"),de,R,R)):c&&"namespace"==t?(T.marked="keyword",E(j("form"),W,B,R)):c&&"abstract"==t?(T.marked="keyword",E(B)):E(j("stat"),re):"switch"==e?E(j("form"),V,q("{"),j("}","switch"),z,de,R,R,$):"case"==e?E(W,q(":")):"default"==e?E(q(":")):"catch"==e?E(j("form"),F,H,B,R,$):"export"==e?E(j("stat"),We,R):"import"==e?E(j("stat"),Ve,R):"async"==e?E(B):"@"==t?E(W,B):M(j("stat"),W,q(";"),R)}function H(e){if("("==e)return E($e,q(")"))}function W(e,t){return G(e,t,!1)}function U(e,t){return G(e,t,!0)}function V(e){return"("!=e?M():E(j(")"),W,q(")"),R)}function G(e,t,n){if(T.state.fatArrowAt==T.stream.start){var i=n?ee:J;if("("==e)return E(F,j(")"),ce($e,")"),R,q("=>"),i,$);if("variable"==e)return M(F,Ce,q("=>"),i,$)}var r=n?Y:K;return k.hasOwnProperty(e)?E(r):"function"==e?E(Ie,r):"class"==e||c&&"interface"==t?(T.marked="keyword",E(j("form"),je,R)):"keyword c"==e||"async"==e?E(n?U:W):"("==e?E(j(")"),X,q(")"),R,r):"operator"==e||"spread"==e?E(n?U:W):"["==e?E(j("]"),Ze,R,r):"{"==e?ue(oe,"}",null,r):"quasi"==e?M(Z,r):"new"==e?E(te(n)):"import"==e?E(W):E()}function X(e){return e.match(/[;\}\)\],]/)?M():M(W)}function K(e,t){return","==e?E(W):Y(e,t,!1)}function Y(e,t,n){var i=0==n?K:Y,r=0==n?W:U;return"=>"==e?E(F,n?ee:J,$):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?E(i):c&&"<"==t&&T.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?E(j(">"),ce(me,">"),R,i):"?"==t?E(W,q(":"),r):E(r):"quasi"==e?M(Z,i):";"!=e?"("==e?ue(U,")","call",i):"."==e?E(ae,i):"["==e?E(j("]"),X,q("]"),R,i):c&&"as"==t?(T.marked="keyword",E(me,i)):"regexp"==e?(T.state.lastType=T.marked="operator",T.stream.backUp(T.stream.pos-T.stream.start-1),E(r)):void 0:void 0}function Z(e,t){return"quasi"!=e?M():"${"!=t.slice(t.length-2)?E(Z):E(W,Q)}function Q(e){if("}"==e)return T.marked="string-2",T.state.tokenize=b,E(Z)}function J(e){return x(T.stream,T.state),M("{"==e?B:W)}function ee(e){return x(T.stream,T.state),M("{"==e?B:U)}function te(e){return function(t){return"."==t?E(e?ie:ne):"variable"==t&&c?E(we,e?Y:K):M(e?U:W)}}function ne(e,t){if("target"==t)return T.marked="keyword",E(K)}function ie(e,t){if("target"==t)return T.marked="keyword",E(Y)}function re(e){return":"==e?E(R,B):M(K,q(";"),R)}function ae(e){if("variable"==e)return T.marked="property",E()}function oe(e,t){return"async"==e?(T.marked="property",E(oe)):"variable"==e||"keyword"==T.style?(T.marked="property","get"==t||"set"==t?E(se):(c&&T.state.fatArrowAt==T.stream.start&&(n=T.stream.match(/^\s*:\s*/,!1))&&(T.state.fatArrowAt=T.stream.pos+n[0].length),E(le))):"number"==e||"string"==e?(T.marked=s?"property":T.style+" property",E(le)):"jsonld-keyword"==e?E(le):c&&D(t)?(T.marked="keyword",E(oe)):"["==e?E(W,fe,q("]"),le):"spread"==e?E(U,le):"*"==t?(T.marked="keyword",E(oe)):":"==e?M(le):void 0;var n}function se(e){return"variable"!=e?M(le):(T.marked="property",E(Ie))}function le(e){return":"==e?E(U):"("==e?M(Ie):void 0}function ce(e,t,n){function i(r,a){if(n?n.indexOf(r)>-1:","==r){var o=T.state.lexical;return"call"==o.info&&(o.pos=(o.pos||0)+1),E(function(n,i){return n==t||i==t?M():M(e)},i)}return r==t||a==t?E():n&&n.indexOf(";")>-1?M(e):E(q(t))}return function(n,r){return n==t||r==t?E():M(e,i)}}function ue(e,t,n){for(var i=3;i"),me):void 0}function ge(e){if("=>"==e)return E(me)}function ve(e,t){return"variable"==e||"keyword"==T.style?(T.marked="property",E(ve)):"?"==t||"number"==e||"string"==e?E(ve):":"==e?E(me):"["==e?E(q("variable"),fe,q("]"),ve):"("==e?M(Fe,ve):void 0}function ye(e,t){return"variable"==e&&T.stream.match(/^\s*[?:]/,!1)||"?"==t?E(ye):":"==e?E(me):"spread"==e?E(ye):M(me)}function be(e,t){return"<"==t?E(j(">"),ce(me,">"),R,be):"|"==t||"."==e||"&"==t?E(me):"["==e?E(me,q("]"),be):"extends"==t||"implements"==t?(T.marked="keyword",E(me)):"?"==t?E(me,q(":"),me):void 0}function we(e,t){if("<"==t)return E(j(">"),ce(me,">"),R,be)}function xe(){return M(me,ke)}function ke(e,t){if("="==t)return E(me)}function _e(e,t){return"enum"==t?(T.marked="keyword",E(Qe)):M(Ce,fe,Me,Ee)}function Ce(e,t){return c&&D(t)?(T.marked="keyword",E(Ce)):"variable"==e?(L(t),E()):"spread"==e?E(Ce):"["==e?ue(Te,"]"):"{"==e?ue(Se,"}"):void 0}function Se(e,t){return"variable"!=e||T.stream.match(/^\s*:/,!1)?("variable"==e&&(T.marked="property"),"spread"==e?E(Ce):"}"==e?M():"["==e?E(W,q("]"),q(":"),Se):E(q(":"),Ce,Me)):(L(t),E(Me))}function Te(){return M(Ce,Me)}function Me(e,t){if("="==t)return E(U)}function Ee(e){if(","==e)return E(_e)}function Ae(e,t){if("keyword b"==e&&"else"==t)return E(j("form","else"),B,R)}function Le(e,t){return"await"==t?E(Le):"("==e?E(j(")"),Ne,q(")"),R):void 0}function Ne(e){return"var"==e?E(_e,q(";"),Oe):";"==e?E(Oe):"variable"==e?E(De):M(W,q(";"),Oe)}function De(e,t){return"in"==t||"of"==t?(T.marked="keyword",E(W)):E(K,Oe)}function Oe(e,t){return";"==e?E(Pe):"in"==t||"of"==t?(T.marked="keyword",E(W)):M(W,q(";"),Pe)}function Pe(e){")"!=e&&E(W)}function Ie(e,t){return"*"==t?(T.marked="keyword",E(Ie)):"variable"==e?(L(t),E(Ie)):"("==e?E(F,j(")"),ce($e,")"),R,pe,B,$):c&&"<"==t?E(j(">"),ce(xe,">"),R,Ie):void 0}function Fe(e,t){return"*"==t?(T.marked="keyword",E(Fe)):"variable"==e?(L(t),E(Fe)):"("==e?E(F,j(")"),ce($e,")"),R,pe,$):c&&"<"==t?E(j(">"),ce(xe,">"),R,Fe):void 0}function ze(e,t){return"keyword"==e||"variable"==e?(T.marked="type",E(ze)):"<"==t?E(j(">"),ce(xe,">"),R):void 0}function $e(e,t){return"@"==t&&E(W,$e),"spread"==e?E($e):c&&D(t)?(T.marked="keyword",E($e)):M(Ce,fe,Me)}function je(e,t){return"variable"==e?Re(e,t):qe(e,t)}function Re(e,t){if("variable"==e)return L(t),E(qe)}function qe(e,t){return"<"==t?E(j(">"),ce(xe,">"),R,qe):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(T.marked="keyword"),E(c?me:W,qe)):"{"==e?E(j("}"),Be,R):void 0}function Be(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&D(t))&&T.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(T.marked="keyword",E(Be)):"variable"==e||"keyword"==T.style?(T.marked="property",E(c?He:Ie,Be)):"number"==e||"string"==e?E(c?He:Ie,Be):"["==e?E(W,fe,q("]"),c?He:Ie,Be):"*"==t?(T.marked="keyword",E(Be)):c&&"("==e?M(Fe,Be):";"==e||","==e?E(Be):"}"==e?E():"@"==t?E(W,Be):void 0}function He(e,t){if("?"==t)return E(He);if(":"==e)return E(me,Me);if("="==t)return E(U);var n=T.state.lexical.prev,i=n&&"interface"==n.info;return M(i?Fe:Ie)}function We(e,t){return"*"==t?(T.marked="keyword",E(Ye,q(";"))):"default"==t?(T.marked="keyword",E(W,q(";"))):"{"==e?E(ce(Ue,"}"),Ye,q(";")):M(B)}function Ue(e,t){return"as"==t?(T.marked="keyword",E(q("variable"))):"variable"==e?M(U,Ue):void 0}function Ve(e){return"string"==e?E():"("==e?M(W):M(Ge,Xe,Ye)}function Ge(e,t){return"{"==e?ue(Ge,"}"):("variable"==e&&L(t),"*"==t&&(T.marked="keyword"),E(Ke))}function Xe(e){if(","==e)return E(Ge,Xe)}function Ke(e,t){if("as"==t)return T.marked="keyword",E(Ge)}function Ye(e,t){if("from"==t)return T.marked="keyword",E(W)}function Ze(e){return"]"==e?E():M(ce(U,"]"))}function Qe(){return M(j("form"),Ce,q("{"),j("}"),ce(Je,"}"),R,R)}function Je(){return M(Ce,Me)}function et(e,t){return"operator"==e.lastType||","==e.lastType||f.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}function tt(e,t,n){return t.tokenize==g&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return $.lex=!0,R.lex=!0,{startState:function(e){var t={tokenize:g,lastType:"sof",cc:[],lexical:new _((e||0)-a,0,"block",!1),localVars:n.localVars,context:n.localVars&&new O(null,null,!1),indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),x(e,t)),t.tokenize!=y&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==i?n:(t.lastType="operator"!=i||"++"!=r&&"--"!=r?i:"incdec",S(t,n,i,r,e))},indent:function(t,i){if(t.tokenize==y)return e.Pass;if(t.tokenize!=g)return 0;var r,s=i&&i.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(i))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==R)l=l.prev;else if(u!=Ae)break}while(("stat"==l.type||"form"==l.type)&&("}"==s||(r=t.cc[t.cc.length-1])&&(r==K||r==Y)&&!/^[,\.=+\-*:?[\(]/.test(i)))l=l.prev;o&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var d=l.type,f=s==d;return"vardef"==d?l.indented+("operator"==t.lastType||","==t.lastType?l.info.length+1:0):"form"==d&&"{"==s?l.indented:"form"==d?l.indented+a:"stat"==d?l.indented+(et(t,i)?o||a:0):"switch"!=l.info||f||0==n.doubleIndentSwitch?l.align?l.column+(f?0:1):l.indented+(f?0:a):l.indented+(/^(?:case|default)\b/.test(i)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:tt,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=W&&t!=U||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},fa83:function(e,t,n){"use strict";n("386b")("blink",function(e){return function(){return e(this,"blink","","")}})},fab2:function(e,t,n){var i=n("7726").document;e.exports=i&&i.documentElement},fca0:function(e,t,n){var i=n("5ca1"),r=n("7726").isFinite;i(i.S,"Number",{isFinite:function(e){return"number"==typeof e&&r(e)}})},fd24:function(e,t,n){var i=n("5ca1");i(i.S,"Object",{setPrototypeOf:n("8b97").set})},fdef:function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},fee7:function(e,t,n){"use strict";var i=n("5ca1"),r=n("4bf8"),a=n("d8e8"),o=n("86cc");n("9e1e")&&i(i.P+n("c5b4"),"Object",{__defineSetter__:function(e,t){o.f(r(this),e,{set:a(t),enumerable:!0,configurable:!0})}})},ffc1:function(e,t,n){var i=n("5ca1"),r=n("504c")(!0);i(i.S,"Object",{entries:function(e){return r(e)}})},ffda:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";function t(e){var t;while(null!=(t=e.next()))if("`"==t&&!e.eat("`"))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function n(e){var t;while(null!=(t=e.next()))if('"'==t&&!e.eat('"'))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function i(e){return e.eat("@")&&(e.match(/^session\./),e.match(/^local\./),e.match(/^global\./)),e.eat("'")?(e.match(/^.*'/),"variable-2"):e.eat('"')?(e.match(/^.*"/),"variable-2"):e.eat("`")?(e.match(/^.*`/),"variable-2"):e.match(/^[0-9a-zA-Z$\.\_]+/)?"variable-2":null}function r(e){return e.eat("N")?"atom":e.match(/^[a-zA-Z.#!?]/)?"variable-2":null}e.defineMode("sql",function(t,n){var i=n.client||{},r=n.atoms||{false:!0,true:!0,null:!0},l=n.builtin||o(s),c=n.keywords||o(a),u=n.operatorChars||/^[*+\-%<>!=&|~^\/]/,d=n.support||{},f=n.hooks||{},p=n.dateSQL||{date:!0,time:!0,timestamp:!0},h=!1!==n.backslashStringEscapes,m=n.brackets||/^[\{}\(\)\[\]]/,g=n.punctuation||/^[;.,:]/;function v(e,t){var n=e.next();if(f[n]){var a=f[n](e,t);if(!1!==a)return a}if(d.hexNumber&&("0"==n&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==n||"X"==n)&&e.match(/^'[0-9a-fA-F]+'/)))return"number";if(d.binaryNumber&&(("b"==n||"B"==n)&&e.match(/^'[01]+'/)||"0"==n&&e.match(/^b[01]+/)))return"number";if(n.charCodeAt(0)>47&&n.charCodeAt(0)<58)return e.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),d.decimallessFloat&&e.match(/^\.(?!\.)/),"number";if("?"==n&&(e.eatSpace()||e.eol()||e.eat(";")))return"variable-3";if("'"==n||'"'==n&&d.doubleQuote)return t.tokenize=y(n),t.tokenize(e,t);if((d.nCharCast&&("n"==n||"N"==n)||d.charsetCast&&"_"==n&&e.match(/[a-z][a-z0-9]*/i))&&("'"==e.peek()||'"'==e.peek()))return"keyword";if(d.commentSlashSlash&&"/"==n&&e.eat("/"))return e.skipToEnd(),"comment";if(d.commentHash&&"#"==n||"-"==n&&e.eat("-")&&(!d.commentSpaceRequired||e.eat(" ")))return e.skipToEnd(),"comment";if("/"==n&&e.eat("*"))return t.tokenize=b(1),t.tokenize(e,t);if("."!=n){if(u.test(n))return e.eatWhile(u),"operator";if(m.test(n))return"bracket";if(g.test(n))return e.eatWhile(g),"punctuation";if("{"==n&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";e.eatWhile(/^[_\w\d]/);var o=e.current().toLowerCase();return p.hasOwnProperty(o)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?"number":r.hasOwnProperty(o)?"atom":l.hasOwnProperty(o)?"builtin":c.hasOwnProperty(o)?"keyword":i.hasOwnProperty(o)?"string-2":null}return d.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i)?"number":e.match(/^\.+/)?null:d.ODBCdotTable&&e.match(/^[\w\d_]+/)?"variable-2":void 0}function y(e){return function(t,n){var i,r=!1;while(null!=(i=t.next())){if(i==e&&!r){n.tokenize=v;break}r=h&&!r&&"\\"==i}return"string"}}function b(e){return function(t,n){var i=t.match(/^.*?(\/\*|\*\/)/);return i?"/*"==i[1]?n.tokenize=b(e+1):n.tokenize=e>1?b(e-1):v:t.skipToEnd(),"comment"}}function w(e,t,n){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:n}}function x(e){e.indent=e.context.indent,e.context=e.context.prev}return{startState:function(){return{tokenize:v,context:null}},token:function(e,t){if(e.sol()&&t.context&&null==t.context.align&&(t.context.align=!1),t.tokenize==v&&e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"==n)return n;t.context&&null==t.context.align&&(t.context.align=!0);var i=e.current();return"("==i?w(e,t,")"):"["==i?w(e,t,"]"):t.context&&t.context.type==i&&x(t),n},indent:function(n,i){var r=n.context;if(!r)return e.Pass;var a=i.charAt(0)==r.type;return r.align?r.col+(a?0:1):r.indent+(a?0:t.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:d.commentSlashSlash?"//":d.commentHash?"#":"--",closeBrackets:"()[]{}''\"\"``"}});var a="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";function o(e){for(var t={},n=e.split(" "),i=0;i!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:\/]/,backslashStringEscapes:!1,dateSQL:o("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":i}}),e.defineMIME("text/x-mysql",{name:"sql",client:o("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:o(a+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:o("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":i,"`":t,"\\":r}}),e.defineMIME("text/x-mariadb",{name:"sql",client:o("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:o(a+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group groupby_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:o("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":i,"`":t,"\\":r}}),e.defineMIME("text/x-sqlite",{name:"sql",client:o("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:o(a+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:o("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:o("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|\/~]/,dateSQL:o("date time timestamp datetime"),support:o("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":i,":":i,"?":i,$:i,'"':n,"`":t}}),e.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:o("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:o("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:o("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:o("commentSlashSlash decimallessFloat"),hooks:{}}),e.defineMIME("text/x-plsql",{name:"sql",client:o("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:o("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:o("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:o("date time timestamp"),support:o("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),e.defineMIME("text/x-hive",{name:"sql",keywords:o("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"),builtin:o("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:o("date timestamp"),support:o("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-pgsql",{name:"sql",client:o("source"),keywords:o(a+"a abort abs absent absolute access according action ada add admin after aggregate all allocate also always analyse analyze any are array array_agg array_max_cardinality asensitive assertion assignment asymmetric at atomic attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli binary bit_length blob blocked bom both breadth c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain characteristics characters character_length character_set_catalog character_set_name character_set_schema char_length check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column columns column_name command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constraint constraints constraint_catalog constraint_name constraint_schema constructor contains content continue control conversion convert copy corr corresponding cost covar_pop covar_samp cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datetime_interval_code datetime_interval_precision day db deallocate dec declare default defaults deferrable deferred defined definer degree delimiter delimiters dense_rank depth deref derived describe descriptor deterministic diagnostics dictionary disable discard disconnect dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain dynamic dynamic_function dynamic_function_code each element else empty enable encoding encrypted end end-exec end_frame end_partition enforced enum equals escape event every except exception exclude excluding exclusive exec execute exists exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreign fortran forward found frame_row free freeze fs full function functions fusion g general generated get gettoken global go goto grant granted greatest grouping groups handler header headline hex hierarchy hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import including increment indent index indexes indicator inherit inherits init initially inline inner inout input insensitive instance instantiable instead integrity intersect intersection invoker isnull isolation k key key_member key_type label lag language large last last_value lateral lc_collate lc_ctype lead leading leakproof least left length level lexize lextypes library like_regex link listen ln load local localtime localtimestamp location locator lock locked logged lower m map mapping match matched materialized max maxvalue max_cardinality member merge message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized nothing notify notnull nowait nth_value ntile null nullable nullif nulls number object occurrences_regex octets octet_length of off offset oids old only open operator option options ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password percent percentile_cont percentile_disc percent_rank period permission placing plans pli policy portion position position_regex power precedes preceding prepare prepared preserve primary prior privileges procedural procedure program public publication quote range rank read reads reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict restricted result return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns revoke right role rollback rollup routine routine_catalog routine_name routine_schema row rows row_count row_number rule savepoint scale schema schema_name scope scope_catalog scope_name scope_schema scroll search second section security selective self sensitive sequence sequences serializable server server_name session session_user setof sets share show similar simple size skip snapshot some source space specific specifictype specific_name sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t tables tablesample tablespace table_name temp template temporary then ties timezone_hour timezone_minute to token top_level_count trailing transaction transactions_committed transactions_rolled_back transaction_active transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted unique unknown unlink unlisten unlogged unnamed unnest until untyped upper uri usage user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of varbinary variadic var_pop var_samp verbose version versioning view views volatile when whenever whitespace width_bucket window within work wrapper write xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes loop repeat attach path depends detach zone"),builtin:o("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:o("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-gql",{name:"sql",keywords:o("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:o("false true"),builtin:o("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),e.defineMIME("text/x-gpsql",{name:"sql",client:o("source"),keywords:o("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:o("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-sparksql",{name:"sql",keywords:o("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases datata dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:o("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:o("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable doubleQuote zerolessFloat")}),e.defineMIME("text/x-esper",{name:"sql",client:o("source"),keywords:o("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:o("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:o("time"),support:o("decimallessFloat zerolessFloat binaryNumber hexNumber")})})}}); -//# sourceMappingURL=app.37409de4.js.map \ No newline at end of file +function Ln(e){return Ln="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},Ln(e)}function Nn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dn(e,t){for(var n=0;n
',Li=Number.isNaN||jn.isNaN;function Ni(e){return"number"===typeof e&&!Li(e)}function Di(e){return"undefined"===typeof e}function Oi(e){return"object"===Ln(e)&&null!==e}var Pi=Object.prototype.hasOwnProperty;function Ii(e){if(!Oi(e))return!1;try{var t=e.constructor,n=t.prototype;return t&&n&&Pi.call(n,"isPrototypeOf")}catch(i){return!1}}function Fi(e){return"function"===typeof e}function zi(e,t){if(e&&Fi(t))if(Array.isArray(e)||Ni(e.length)){var n,i=e.length;for(n=0;n1?t-1:0),i=1;i0&&n.forEach(function(t){Oi(t)&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e},ji=/\.\d*(?:0|9){12}\d*$/;function Ri(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return ji.test(e)?Math.round(e*t)/t:e}var qi=/^(?:width|height|left|top|marginLeft|marginTop)$/;function Bi(e,t){var n=e.style;zi(t,function(e,t){qi.test(t)&&Ni(e)&&(e+="px"),n[t]=e})}function Hi(e,t){return e.classList?e.classList.contains(t):e.className.indexOf(t)>-1}function Wi(e,t){if(t)if(Ni(e.length))zi(e,function(e){Wi(e,t)});else if(e.classList)e.classList.add(t);else{var n=e.className.trim();n?n.indexOf(t)<0&&(e.className="".concat(n," ").concat(t)):e.className=t}}function Ui(e,t){t&&(Ni(e.length)?zi(e,function(e){Ui(e,t)}):e.classList?e.classList.remove(t):e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,"")))}function Vi(e,t,n){t&&(Ni(e.length)?zi(e,function(e){Vi(e,t,n)}):n?Wi(e,t):Ui(e,t))}var Gi=/([a-z\d])([A-Z])/g;function Xi(e){return e.replace(Gi,"$1-$2").toLowerCase()}function Ki(e,t){return Oi(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(Xi(t)))}function Yi(e,t,n){Oi(n)?e[t]=n:e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(Xi(t)),n)}function Zi(e,t){if(Oi(e[t]))try{delete e[t]}catch(n){e[t]=void 0}else if(e.dataset)try{delete e.dataset[t]}catch(n){e.dataset[t]=void 0}else e.removeAttribute("data-".concat(Xi(t)))}var Qi=/\s\s*/,Ji=function(){var e=!1;if($n){var t=!1,n=function(){},i=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(e){t=e}});jn.addEventListener("test",n,i),jn.removeEventListener("test",n,i)}return e}();function er(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=n;t.trim().split(Qi).forEach(function(t){if(!Ji){var a=e.listeners;a&&a[t]&&a[t][n]&&(r=a[t][n],delete a[t][n],0===Object.keys(a[t]).length&&delete a[t],0===Object.keys(a).length&&delete e.listeners)}e.removeEventListener(t,r,i)})}function tr(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=n;t.trim().split(Qi).forEach(function(t){if(i.once&&!Ji){var a=e.listeners,o=void 0===a?{}:a;r=function(){delete o[t][n],e.removeEventListener(t,r,i);for(var a=arguments.length,s=new Array(a),l=0;l1&&void 0!==arguments[1]?arguments[1]:"contain",a=function(e){return fr(e)&&e>0};if(a(i)&&a(n)){var o=n*t;"contain"===r&&o>i||"cover"===r&&o90?{width:l,height:s}:{width:s,height:l}}function mr(e,t,n,i){var r=t.aspectRatio,a=t.naturalWidth,o=t.naturalHeight,s=t.rotate,l=void 0===s?0:s,c=t.scaleX,u=void 0===c?1:c,d=t.scaleY,f=void 0===d?1:d,p=n.aspectRatio,h=n.naturalWidth,m=n.naturalHeight,g=i.fillColor,v=void 0===g?"transparent":g,y=i.imageSmoothingEnabled,b=void 0===y||y,w=i.imageSmoothingQuality,x=void 0===w?"low":w,k=i.maxWidth,_=void 0===k?1/0:k,C=i.maxHeight,S=void 0===C?1/0:C,T=i.minWidth,M=void 0===T?0:T,E=i.minHeight,A=void 0===E?0:E,L=document.createElement("canvas"),N=L.getContext("2d"),D=pr({aspectRatio:p,width:_,height:S}),O=pr({aspectRatio:p,width:M,height:A},"cover"),P=Math.min(D.width,Math.max(O.width,h)),I=Math.min(D.height,Math.max(O.height,m)),F=pr({aspectRatio:r,width:_,height:S}),z=pr({aspectRatio:r,width:M,height:A},"cover"),$=Math.min(F.width,Math.max(z.width,a)),j=Math.min(F.height,Math.max(z.height,o)),R=[-$/2,-j/2,$,j];return L.width=Ri(P),L.height=Ri(I),N.fillStyle=v,N.fillRect(0,0,P,I),N.save(),N.translate(P/2,I/2),N.rotate(l*Math.PI/180),N.scale(u,f),N.imageSmoothingEnabled=b,N.imageSmoothingQuality=x,N.drawImage.apply(N,[e].concat(Pn(R.map(function(e){return Math.floor(Ri(e))})))),N.restore(),L}var gr=String.fromCharCode;function vr(e,t,n){var i,r="";for(n+=t,i=t;i0)n.push(gr.apply(void 0,Pn(r.subarray(0,i)))),r=r.subarray(i);return"data:".concat(t,";base64,").concat(btoa(n.join("")))}function xr(e){var t,n=new DataView(e);try{var i,r,a;if(255===n.getUint8(0)&&216===n.getUint8(1)){var o=n.byteLength,s=2;while(s+1=8&&(a=c+d)}}}if(a){var f,p,h=n.getUint16(a,i);for(p=0;pe.width?3===n?s=e.height*o:l=e.width/o:3===n?l=e.width/o:s=e.height*o;var c={aspectRatio:o,naturalWidth:r,naturalHeight:a,width:s,height:l};c.left=(e.width-s)/2,c.top=(e.height-l)/2,c.oldLeft=c.left,c.oldTop=c.top,this.canvasData=c,this.limited=1===n||2===n,this.limitCanvas(!0,!0),this.initialImageData=$i({},t),this.initialCanvasData=$i({},c)},limitCanvas:function(e,t){var n=this.options,i=this.containerData,r=this.canvasData,a=this.cropBoxData,o=n.viewMode,s=r.aspectRatio,l=this.cropped&&a;if(e){var c=Number(n.minCanvasWidth)||0,u=Number(n.minCanvasHeight)||0;o>1?(c=Math.max(c,i.width),u=Math.max(u,i.height),3===o&&(u*s>c?c=u*s:u=c/s)):o>0&&(c?c=Math.max(c,l?a.width:0):u?u=Math.max(u,l?a.height:0):l&&(c=a.width,u=a.height,u*s>c?c=u*s:u=c/s));var d=pr({aspectRatio:s,width:c,height:u});c=d.width,u=d.height,r.minWidth=c,r.minHeight=u,r.maxWidth=1/0,r.maxHeight=1/0}if(t)if(o>(l?0:1)){var f=i.width-r.width,p=i.height-r.height;r.minLeft=Math.min(0,f),r.minTop=Math.min(0,p),r.maxLeft=Math.max(0,f),r.maxTop=Math.max(0,p),l&&this.limited&&(r.minLeft=Math.min(a.left,a.left+(a.width-r.width)),r.minTop=Math.min(a.top,a.top+(a.height-r.height)),r.maxLeft=a.left,r.maxTop=a.top,2===o&&(r.width>=i.width&&(r.minLeft=Math.min(0,f),r.maxLeft=Math.max(0,f)),r.height>=i.height&&(r.minTop=Math.min(0,p),r.maxTop=Math.max(0,p))))}else r.minLeft=-r.width,r.minTop=-r.height,r.maxLeft=i.width,r.maxTop=i.height},renderCanvas:function(e,t){var n=this.canvasData,i=this.imageData;if(t){var r=hr({width:i.naturalWidth*Math.abs(i.scaleX||1),height:i.naturalHeight*Math.abs(i.scaleY||1),degree:i.rotate||0}),a=r.width,o=r.height,s=n.width*(a/n.naturalWidth),l=n.height*(o/n.naturalHeight);n.left-=(s-n.width)/2,n.top-=(l-n.height)/2,n.width=s,n.height=l,n.aspectRatio=a/o,n.naturalWidth=a,n.naturalHeight=o,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.widthn.maxHeight||n.heightt.width?r.height=r.width/n:r.width=r.height*n),this.cropBoxData=r,this.limitCropBox(!0,!0),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),r.width=Math.max(r.minWidth,r.width*i),r.height=Math.max(r.minHeight,r.height*i),r.left=t.left+(t.width-r.width)/2,r.top=t.top+(t.height-r.height)/2,r.oldLeft=r.left,r.oldTop=r.top,this.initialCropBoxData=$i({},r)},limitCropBox:function(e,t){var n=this.options,i=this.containerData,r=this.canvasData,a=this.cropBoxData,o=this.limited,s=n.aspectRatio;if(e){var l=Number(n.minCropBoxWidth)||0,c=Number(n.minCropBoxHeight)||0,u=o?Math.min(i.width,r.width,r.width+r.left,i.width-r.left):i.width,d=o?Math.min(i.height,r.height,r.height+r.top,i.height-r.top):i.height;l=Math.min(l,i.width),c=Math.min(c,i.height),s&&(l&&c?c*s>l?c=l/s:l=c*s:l?c=l/s:c&&(l=c*s),d*s>u?d=u/s:u=d*s),a.minWidth=Math.min(l,u),a.minHeight=Math.min(c,d),a.maxWidth=u,a.maxHeight=d}t&&(o?(a.minLeft=Math.max(0,r.left),a.minTop=Math.max(0,r.top),a.maxLeft=Math.min(i.width,r.left+r.width)-a.width,a.maxTop=Math.min(i.height,r.top+r.height)-a.height):(a.minLeft=0,a.minTop=0,a.maxLeft=i.width-a.width,a.maxTop=i.height-a.height))},renderCropBox:function(){var e=this.options,t=this.containerData,n=this.cropBoxData;(n.width>n.maxWidth||n.widthn.maxHeight||n.height=t.width&&n.height>=t.height?Hn:qn),Bi(this.cropBox,$i({width:n.width,height:n.height},lr({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),nr(this.element,di,this.getData())}},Cr={initPreview:function(){var e=this.crossOrigin,t=this.options.preview,n=e?this.crossOriginUrl:this.url,i=document.createElement("img");if(e&&(i.crossOrigin=e),i.src=n,this.viewBox.appendChild(i),this.viewBoxImage=i,t){var r=t;"string"===typeof t?r=this.element.ownerDocument.querySelectorAll(t):t.querySelector&&(r=[t]),this.previews=r,zi(r,function(t){var i=document.createElement("img");Yi(t,si,{width:t.offsetWidth,height:t.offsetHeight,html:t.innerHTML}),e&&(i.crossOrigin=e),i.src=n,i.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',t.innerHTML="",t.appendChild(i)})}},resetPreview:function(){zi(this.previews,function(e){var t=Ki(e,si);Bi(e,{width:t.width,height:t.height}),e.innerHTML=t.html,Zi(e,si)})},preview:function(){var e=this.imageData,t=this.canvasData,n=this.cropBoxData,i=n.width,r=n.height,a=e.width,o=e.height,s=n.left-t.left-e.left,l=n.top-t.top-e.top;this.cropped&&!this.disabled&&(Bi(this.viewBoxImage,$i({width:a,height:o},lr($i({translateX:-s,translateY:-l},e)))),zi(this.previews,function(t){var n=Ki(t,si),c=n.width,u=n.height,d=c,f=u,p=1;i&&(p=c/i,f=r*p),r&&f>u&&(p=u/r,d=i*p,f=u),Bi(t,{width:d,height:f}),Bi(t.getElementsByTagName("img")[0],$i({width:a*p,height:o*p},lr($i({translateX:-s*p,translateY:-l*p},e))))}))}},Sr={bind:function(){var e=this.element,t=this.options,n=this.cropper;Fi(t.cropstart)&&tr(e,hi,t.cropstart),Fi(t.cropmove)&&tr(e,pi,t.cropmove),Fi(t.cropend)&&tr(e,fi,t.cropend),Fi(t.crop)&&tr(e,di,t.crop),Fi(t.zoom)&&tr(e,ki,t.zoom),tr(n,gi,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&tr(n,xi,this.onWheel=this.wheel.bind(this)),t.toggleDragModeOnDblclick&&tr(n,mi,this.onDblclick=this.dblclick.bind(this)),tr(e.ownerDocument,vi,this.onCropMove=this.cropMove.bind(this)),tr(e.ownerDocument,yi,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&tr(window,wi,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,t=this.options,n=this.cropper;Fi(t.cropstart)&&er(e,hi,t.cropstart),Fi(t.cropmove)&&er(e,pi,t.cropmove),Fi(t.cropend)&&er(e,fi,t.cropend),Fi(t.crop)&&er(e,di,t.crop),Fi(t.zoom)&&er(e,ki,t.zoom),er(n,gi,this.onCropStart),t.zoomable&&t.zoomOnWheel&&er(n,xi,this.onWheel),t.toggleDragModeOnDblclick&&er(n,mi,this.onDblclick),er(e.ownerDocument,vi,this.onCropMove),er(e.ownerDocument,yi,this.onCropEnd),t.responsive&&er(window,wi,this.onResize)}},Tr={resize:function(){var e=this.options,t=this.container,n=this.containerData,i=Number(e.minContainerWidth)||200,r=Number(e.minContainerHeight)||100;if(!(this.disabled||n.width<=i||n.height<=r)){var a,o,s=t.offsetWidth/n.width;if(1!==s||t.offsetHeight!==n.height)e.restore&&(a=this.getCanvasData(),o=this.getCropBoxData()),this.render(),e.restore&&(this.setCanvasData(zi(a,function(e,t){a[t]=e*s})),this.setCropBoxData(zi(o,function(e,t){o[t]=e*s})))}},dblclick:function(){this.disabled||this.options.dragMode===ui||this.setDragMode(Hi(this.dragBox,Jn)?ci:li)},wheel:function(e){var t=this,n=Number(this.options.wheelZoomRatio)||.1,i=1;this.disabled||(e.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout(function(){t.wheeling=!1},50),e.deltaY?i=e.deltaY>0?1:-1:e.wheelDelta?i=-e.wheelDelta/120:e.detail&&(i=e.detail>0?1:-1),this.zoom(-i*n,e)))},cropStart:function(e){if(!this.disabled){var t,n=this.options,i=this.pointers;e.changedTouches?zi(e.changedTouches,function(e){i[e.identifier]=ur(e)}):i[e.pointerId||0]=ur(e),t=Object.keys(i).length>1&&n.zoomable&&n.zoomOnTouch?Wn:Ki(e.target,oi),Ci.test(t)&&!1!==nr(this.element,hi,{originalEvent:e,action:t})&&(e.preventDefault(),this.action=t,this.cropping=!1,t===Bn&&(this.cropping=!0,Wi(this.dragBox,ri)))}},cropMove:function(e){var t=this.action;if(!this.disabled&&t){var n=this.pointers;e.preventDefault(),!1!==nr(this.element,pi,{originalEvent:e,action:t})&&(e.changedTouches?zi(e.changedTouches,function(e){$i(n[e.identifier]||{},ur(e,!0))}):$i(n[e.pointerId||0]||{},ur(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var t=this.action,n=this.pointers;e.changedTouches?zi(e.changedTouches,function(e){delete n[e.identifier]}):delete n[e.pointerId||0],t&&(e.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,Vi(this.dragBox,ri,this.cropped&&this.options.modal)),nr(this.element,fi,{originalEvent:e,action:t}))}}},Mr={change:function(e){var t,n=this.options,i=this.canvasData,r=this.containerData,a=this.cropBoxData,o=this.pointers,s=this.action,l=n.aspectRatio,c=a.left,u=a.top,d=a.width,f=a.height,p=c+d,h=u+f,m=0,g=0,v=r.width,y=r.height,b=!0;!l&&e.shiftKey&&(l=d&&f?d/f:1),this.limited&&(m=a.minLeft,g=a.minTop,v=m+Math.min(r.width,i.width,i.left+i.width),y=g+Math.min(r.height,i.height,i.top+i.height));var w=o[Object.keys(o)[0]],x={x:w.endX-w.startX,y:w.endY-w.startY},k=function(e){switch(e){case Un:p+x.x>v&&(x.x=v-p);break;case Vn:c+x.xy&&(x.y=y-h);break;default:}};switch(s){case qn:c+=x.x,u+=x.y;break;case Un:if(x.x>=0&&(p>=v||l&&(u<=g||h>=y))){b=!1;break}k(Un),d+=x.x,d<0&&(s=Vn,d=-d,c-=d),l&&(f=d/l,u+=(a.height-f)/2);break;case Xn:if(x.y<=0&&(u<=g||l&&(c<=m||p>=v))){b=!1;break}k(Xn),f-=x.y,u+=x.y,f<0&&(s=Gn,f=-f,u-=f),l&&(d=f*l,c+=(a.width-d)/2);break;case Vn:if(x.x<=0&&(c<=m||l&&(u<=g||h>=y))){b=!1;break}k(Vn),d-=x.x,c+=x.x,d<0&&(s=Un,d=-d,c-=d),l&&(f=d/l,u+=(a.height-f)/2);break;case Gn:if(x.y>=0&&(h>=y||l&&(c<=m||p>=v))){b=!1;break}k(Gn),f+=x.y,f<0&&(s=Xn,f=-f,u-=f),l&&(d=f*l,c+=(a.width-d)/2);break;case Kn:if(l){if(x.y<=0&&(u<=g||p>=v)){b=!1;break}k(Xn),f-=x.y,u+=x.y,d=f*l}else k(Xn),k(Un),x.x>=0?pg&&(f-=x.y,u+=x.y):(f-=x.y,u+=x.y);d<0&&f<0?(s=Qn,f=-f,d=-d,u-=f,c-=d):d<0?(s=Yn,d=-d,c-=d):f<0&&(s=Zn,f=-f,u-=f);break;case Yn:if(l){if(x.y<=0&&(u<=g||c<=m)){b=!1;break}k(Xn),f-=x.y,u+=x.y,d=f*l,c+=a.width-d}else k(Xn),k(Vn),x.x<=0?c>m?(d-=x.x,c+=x.x):x.y<=0&&u<=g&&(b=!1):(d-=x.x,c+=x.x),x.y<=0?u>g&&(f-=x.y,u+=x.y):(f-=x.y,u+=x.y);d<0&&f<0?(s=Zn,f=-f,d=-d,u-=f,c-=d):d<0?(s=Kn,d=-d,c-=d):f<0&&(s=Qn,f=-f,u-=f);break;case Qn:if(l){if(x.x<=0&&(c<=m||h>=y)){b=!1;break}k(Vn),d-=x.x,c+=x.x,f=d/l}else k(Gn),k(Vn),x.x<=0?c>m?(d-=x.x,c+=x.x):x.y>=0&&h>=y&&(b=!1):(d-=x.x,c+=x.x),x.y>=0?h=0&&(p>=v||h>=y)){b=!1;break}k(Un),d+=x.x,f=d/l}else k(Gn),k(Un),x.x>=0?p=0&&h>=y&&(b=!1):d+=x.x,x.y>=0?h0?s=x.y>0?Zn:Kn:x.x<0&&(c-=d,s=x.y>0?Qn:Yn),x.y<0&&(u-=f),this.cropped||(Ui(this.cropBox,ti),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break;default:}b&&(a.width=d,a.height=f,a.left=c,a.top=u,this.action=s,this.renderCropBox()),zi(o,function(e){e.startX=e.endX,e.startY=e.endY})}},Er={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&Wi(this.dragBox,ri),Ui(this.cropBox,ti),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=$i({},this.initialImageData),this.canvasData=$i({},this.initialCanvasData),this.cropBoxData=$i({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&($i(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Ui(this.dragBox,ri),Wi(this.cropBox,ti)),this},replace:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,zi(this.previews,function(t){t.getElementsByTagName("img")[0].src=e}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Ui(this.cropper,ei)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,Wi(this.cropper,ei)),this},destroy:function(){var e=this.element;return e[Rn]?(e[Rn]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.canvasData,i=n.left,r=n.top;return this.moveTo(Di(e)?e:i+Number(e),Di(t)?t:r+Number(t))},moveTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.canvasData,i=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.movable&&(Ni(e)&&(n.left=e,i=!0),Ni(t)&&(n.top=t,i=!0),i&&this.renderCanvas(!0)),this},zoom:function(e,t){var n=this.canvasData;return e=Number(e),e=e<0?1/(1-e):1+e,this.zoomTo(n.width*e/n.naturalWidth,null,t)},zoomTo:function(e,t,n){var i=this.options,r=this.canvasData,a=r.width,o=r.height,s=r.naturalWidth,l=r.naturalHeight;if(e=Number(e),e>=0&&this.ready&&!this.disabled&&i.zoomable){var c=s*e,u=l*e;if(!1===nr(this.element,ki,{ratio:e,oldRatio:a/s,originalEvent:n}))return this;if(n){var d=this.pointers,f=ir(this.cropper),p=d&&Object.keys(d).length?dr(d):{pageX:n.pageX,pageY:n.pageY};r.left-=(c-a)*((p.pageX-f.left-r.left)/a),r.top-=(u-o)*((p.pageY-f.top-r.top)/o)}else Ii(t)&&Ni(t.x)&&Ni(t.y)?(r.left-=(c-a)*((t.x-r.left)/a),r.top-=(u-o)*((t.y-r.top)/o)):(r.left-=(c-a)/2,r.top-=(u-o)/2);r.width=c,r.height=u,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return e=Number(e),Ni(e)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var t=this.imageData.scaleY;return this.scale(e,Ni(t)?t:1)},scaleY:function(e){var t=this.imageData.scaleX;return this.scale(Ni(t)?t:1,e)},scale:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.imageData,i=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.scalable&&(Ni(e)&&(n.scaleX=e,i=!0),Ni(t)&&(n.scaleY=t,i=!0),i&&this.renderCanvas(!0,!0)),this},getData:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.options,i=this.imageData,r=this.canvasData,a=this.cropBoxData;if(this.ready&&this.cropped){e={x:a.left-r.left,y:a.top-r.top,width:a.width,height:a.height};var o=i.width/i.naturalWidth;if(zi(e,function(t,n){e[n]=t/o}),t){var s=Math.round(e.y+e.height),l=Math.round(e.x+e.width);e.x=Math.round(e.x),e.y=Math.round(e.y),e.width=l-e.x,e.height=s-e.y}}else e={x:0,y:0,width:0,height:0};return n.rotatable&&(e.rotate=i.rotate||0),n.scalable&&(e.scaleX=i.scaleX||1,e.scaleY=i.scaleY||1),e},setData:function(e){var t=this.options,n=this.imageData,i=this.canvasData,r={};if(this.ready&&!this.disabled&&Ii(e)){var a=!1;t.rotatable&&Ni(e.rotate)&&e.rotate!==n.rotate&&(n.rotate=e.rotate,a=!0),t.scalable&&(Ni(e.scaleX)&&e.scaleX!==n.scaleX&&(n.scaleX=e.scaleX,a=!0),Ni(e.scaleY)&&e.scaleY!==n.scaleY&&(n.scaleY=e.scaleY,a=!0)),a&&this.renderCanvas(!0,!0);var o=n.width/n.naturalWidth;Ni(e.x)&&(r.left=e.x*o+i.left),Ni(e.y)&&(r.top=e.y*o+i.top),Ni(e.width)&&(r.width=e.width*o),Ni(e.height)&&(r.height=e.height*o),this.setCropBoxData(r)}return this},getContainerData:function(){return this.ready?$i({},this.containerData):{}},getImageData:function(){return this.sized?$i({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,t={};return this.ready&&zi(["left","top","width","height","naturalWidth","naturalHeight"],function(n){t[n]=e[n]}),t},setCanvasData:function(e){var t=this.canvasData,n=t.aspectRatio;return this.ready&&!this.disabled&&Ii(e)&&(Ni(e.left)&&(t.left=e.left),Ni(e.top)&&(t.top=e.top),Ni(e.width)?(t.width=e.width,t.height=e.width/n):Ni(e.height)&&(t.height=e.height,t.width=e.height*n),this.renderCanvas(!0)),this},getCropBoxData:function(){var e,t=this.cropBoxData;return this.ready&&this.cropped&&(e={left:t.left,top:t.top,width:t.width,height:t.height}),e||{}},setCropBoxData:function(e){var t,n,i=this.cropBoxData,r=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&Ii(e)&&(Ni(e.left)&&(i.left=e.left),Ni(e.top)&&(i.top=e.top),Ni(e.width)&&e.width!==i.width&&(t=!0,i.width=e.width),Ni(e.height)&&e.height!==i.height&&(n=!0,i.height=e.height),r&&(t?i.height=i.width/r:n&&(i.width=i.height*r)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var t=this.canvasData,n=mr(this.image,this.imageData,t,e);if(!this.cropped)return n;var i=this.getData(),r=i.x,a=i.y,o=i.width,s=i.height,l=n.width/Math.floor(t.naturalWidth);1!==l&&(r*=l,a*=l,o*=l,s*=l);var c=o/s,u=pr({aspectRatio:c,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),d=pr({aspectRatio:c,width:e.minWidth||0,height:e.minHeight||0},"cover"),f=pr({aspectRatio:c,width:e.width||(1!==l?n.width:o),height:e.height||(1!==l?n.height:s)}),p=f.width,h=f.height;p=Math.min(u.width,Math.max(d.width,p)),h=Math.min(u.height,Math.max(d.height,h));var m=document.createElement("canvas"),g=m.getContext("2d");m.width=Ri(p),m.height=Ri(h),g.fillStyle=e.fillColor||"transparent",g.fillRect(0,0,p,h);var v=e.imageSmoothingEnabled,y=void 0===v||v,b=e.imageSmoothingQuality;g.imageSmoothingEnabled=y,b&&(g.imageSmoothingQuality=b);var w,x,k,_,C,S,T=n.width,M=n.height,E=r,A=a;E<=-o||E>T?(E=0,w=0,k=0,C=0):E<=0?(k=-E,E=0,w=Math.min(T,o+E),C=w):E<=T&&(k=0,w=Math.min(o,T-E),C=w),w<=0||A<=-s||A>M?(A=0,x=0,_=0,S=0):A<=0?(_=-A,A=0,x=Math.min(M,s+A),S=x):A<=M&&(_=0,x=Math.min(s,M-A),S=x);var L=[E,A,w,x];if(C>0&&S>0){var N=p/o;L.push(k*N,_*N,C*N,S*N)}return g.drawImage.apply(g,[n].concat(Pn(L.map(function(e){return Math.floor(Ri(e))})))),m},setAspectRatio:function(e){var t=this.options;return this.disabled||Di(e)||(t.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var t=this.options,n=this.dragBox,i=this.face;if(this.ready&&!this.disabled){var r=e===li,a=t.movable&&e===ci;e=r||a?e:ui,t.dragMode=e,Yi(n,oi,e),Vi(n,Jn,r),Vi(n,ai,a),t.cropBoxMovable||(Yi(i,oi,e),Vi(i,Jn,r),Vi(i,ai,a))}return this}},Ar=jn.Cropper,Lr=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Nn(this,e),!t||!Mi.test(t.tagName))throw new Error("The first argument is required and must be an or element.");this.element=t,this.options=$i({},Ei,Ii(n)&&n),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return On(e,[{key:"init",value:function(){var e,t=this.element,n=t.tagName.toLowerCase();if(!t[Rn]){if(t[Rn]=this,"img"===n){if(this.isImg=!0,e=t.getAttribute("src")||"",this.originalUrl=e,!e)return;e=t.src}else"canvas"===n&&window.HTMLCanvasElement&&(e=t.toDataURL());this.load(e)}}},{key:"load",value:function(e){var t=this;if(e){this.url=e,this.imageData={};var n=this.element,i=this.options;if(i.rotatable||i.scalable||(i.checkOrientation=!1),i.checkOrientation&&window.ArrayBuffer)if(Si.test(e))Ti.test(e)?this.read(br(e)):this.clone();else{var r=new XMLHttpRequest,a=this.clone.bind(this);this.reloading=!0,this.xhr=r,r.ontimeout=a,r.onabort=a,r.onerror=a,r.onprogress=function(){r.getResponseHeader("content-type")!==_i&&r.abort()},r.onload=function(){t.read(r.response)},r.onloadend=function(){t.reloading=!1,t.xhr=null},i.checkCrossOrigin&&or(e)&&n.crossOrigin&&(e=sr(e)),r.open("GET",e),r.responseType="arraybuffer",r.withCredentials="use-credentials"===n.crossOrigin,r.send()}else this.clone()}}},{key:"read",value:function(e){var t=this.options,n=this.imageData,i=xr(e),r=0,a=1,o=1;if(i>1){this.url=wr(e,_i);var s=kr(i);r=s.rotate,a=s.scaleX,o=s.scaleY}t.rotatable&&(n.rotate=r),t.scalable&&(n.scaleX=a,n.scaleY=o),this.clone()}},{key:"clone",value:function(){var e,t,n=this.element,i=this.url;this.options.checkCrossOrigin&&or(i)&&(e=n.crossOrigin,e?t=i:(e="anonymous",t=sr(i))),this.crossOrigin=e,this.crossOriginUrl=t;var r=document.createElement("img");e&&(r.crossOrigin=e),r.src=t||i,this.image=r,r.onload=this.start.bind(this),r.onerror=this.stop.bind(this),Wi(r,ni),n.parentNode.insertBefore(r,n.nextSibling)}},{key:"start",value:function(){var e=this,t=this.isImg?this.element:this.image;t.onload=null,t.onerror=null,this.sizing=!0;var n=jn.navigator&&/(Macintosh|iPhone|iPod|iPad).*AppleWebKit/i.test(jn.navigator.userAgent),i=function(t,n){$i(e.imageData,{naturalWidth:t,naturalHeight:n,aspectRatio:t/n}),e.sizing=!1,e.sized=!0,e.build()};if(!t.naturalWidth||n){var r=document.createElement("img"),a=document.body||document.documentElement;this.sizingImage=r,r.onload=function(){i(r.width,r.height),n||a.removeChild(r)},r.src=t.src,n||(r.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",a.appendChild(r))}else i(t.naturalWidth,t.naturalHeight)}},{key:"stop",value:function(){var e=this.image;e.onload=null,e.onerror=null,e.parentNode.removeChild(e),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var e=this.element,t=this.options,n=this.image,i=e.parentNode,r=document.createElement("div");r.innerHTML=Ai;var a=r.querySelector(".".concat(Rn,"-container")),o=a.querySelector(".".concat(Rn,"-canvas")),s=a.querySelector(".".concat(Rn,"-drag-box")),l=a.querySelector(".".concat(Rn,"-crop-box")),c=l.querySelector(".".concat(Rn,"-face"));this.container=i,this.cropper=a,this.canvas=o,this.dragBox=s,this.cropBox=l,this.viewBox=a.querySelector(".".concat(Rn,"-view-box")),this.face=c,o.appendChild(n),Wi(e,ti),i.insertBefore(a,e.nextSibling),this.isImg||Ui(n,ni),this.initPreview(),this.bind(),t.initialAspectRatio=Math.max(0,t.initialAspectRatio)||NaN,t.aspectRatio=Math.max(0,t.aspectRatio)||NaN,t.viewMode=Math.max(0,Math.min(3,Math.round(t.viewMode)))||0,Wi(l,ti),t.guides||Wi(l.getElementsByClassName("".concat(Rn,"-dashed")),ti),t.center||Wi(l.getElementsByClassName("".concat(Rn,"-center")),ti),t.background&&Wi(a,"".concat(Rn,"-bg")),t.highlight||Wi(c,ii),t.cropBoxMovable&&(Wi(c,ai),Yi(c,oi,qn)),t.cropBoxResizable||(Wi(l.getElementsByClassName("".concat(Rn,"-line")),ti),Wi(l.getElementsByClassName("".concat(Rn,"-point")),ti)),this.render(),this.ready=!0,this.setDragMode(t.dragMode),t.autoCrop&&this.crop(),this.setData(t.data),Fi(t.ready)&&tr(e,bi,t.ready,{once:!0}),nr(e,bi)}}},{key:"unbuild",value:function(){this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),this.cropper.parentNode.removeChild(this.cropper),Ui(this.element,ti))}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=Ar,e}},{key:"setDefaults",value:function(e){$i(Ei,Ii(e)&&e)}}]),e}();$i(Lr.prototype,_r,Cr,Sr,Tr,Mr,Er);var Nr=Lr,Dr={name:"Cropper",mixins:[Te],props:{imgUrl:{type:String,required:!0},maxHeight:{type:Number,required:!0}},data:function(){return{cropper:{},height:0,width:0,x:0,y:0,rotate:0,scaleX:1,scaleY:1}},mounted:function(){var e=this;this.cropper=new Nr(this.$refs.fmCropper,{preview:".cropper-preview",crop:function(t){e.x=Math.round(t.detail.x),e.y=Math.round(t.detail.y),e.height=Math.round(t.detail.height),e.width=Math.round(t.detail.width),e.rotate="undefined"!==typeof t.detail.rotate?t.detail.rotate:"",e.scaleX="undefined"!==typeof t.detail.scaleX?t.detail.scaleX:"",e.scaleY="undefined"!==typeof t.detail.scaleY?t.detail.scaleY:""}})},beforeDestroy:function(){this.cropper.destroy()},computed:{selectedItem:function(){return this.$store.getters["fm/selectedItems"][0]}},methods:{cropMove:function(e,t){this.cropper.move(e,t)},cropScaleY:function(){this.cropper.scale(1,1===this.cropper.getData().scaleY?-1:1)},cropScaleX:function(){this.cropper.scale(1===this.cropper.getData().scaleX?-1:1,1)},cropRotate:function(e){this.cropper.rotate(e)},cropZoom:function(e){this.cropper.zoom(e)},cropReset:function(){this.cropper.reset()},setData:function(){this.cropper.setData({x:this.x,y:this.y,width:this.width,height:this.height,rotate:this.rotate,scaleX:this.scaleX,scaleY:this.scaleY})},cropSave:function(){var e=this;this.cropper.getCroppedCanvas().toBlob(function(t){var n=new FormData;n.append("disk",e.$store.getters["fm/selectedDisk"]),n.append("path",e.selectedItem.dirname),n.append("file",t,e.selectedItem.basename),e.$store.dispatch("fm/updateFile",n).then(function(t){"success"===t.data.result.status&&e.$emit("closeCropper")})})}}},Or=Dr,Pr=(n("74f7"),Ae(Or,En,An,!1,null,null,null)),Ir=Pr.exports,Fr={name:"Preview",mixins:[Tt,Te,ot],components:{CropperModule:Ir},data:function(){return{showCropperModule:!1,imgUrl:""}},created:function(){this.imgUrl="".concat(this.$store.getters["fm/settings/baseUrl"],"preview?disk=").concat(this.selectedDisk,"&path=").concat(encodeURIComponent(this.selectedItem.path))},computed:{selectedDisk:function(){return this.$store.getters["fm/selectedDisk"]},selectedItem:function(){return this.$store.getters["fm/selectedItems"][0]},showFooter:function(){return this.canCrop(this.selectedItem.extension)&&!this.showCropperModule},maxHeight:function(){return this.$store.state.fm.modal.modalBlockHeight?this.$store.state.fm.modal.modalBlockHeight-170:300}},methods:{canCrop:function(e){return this.$store.state.fm.settings.cropExtensions.includes(e.toLowerCase())}}},zr=Fr,$r=(n("643a"),Ae(zr,Tn,Mn,!1,null,null,null)),jr=$r.exports,Rr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-text-edit"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title w-75 text-truncate"},[e._v("\n "+e._s(e.lang.modal.editor.title)+" "),n("small",{staticClass:"text-muted pl-3"},[e._v(e._s(e.selectedItem.basename))])]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("codemirror",{ref:"fmCodeEditor",attrs:{options:e.cmOptions},model:{value:e.code,callback:function(t){e.code=t},expression:"code"}})],1),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-info",on:{click:e.updateFile}},[e._v(e._s(e.lang.btn.submit)+"\n ")]),n("button",{staticClass:"btn btn-default",on:{click:e.hideModal}},[e._v(e._s(e.lang.btn.cancel))])])])},qr=[],Br=n("8f94"),Hr=(n("02f0"),n("7b00"),n("1b63"),n("d69f"),n("f9d4"),n("693d"),n("959b"),n("d5e0"),n("4ba6"),n("44d5"),n("ffda"),n("8eb3"),n("906f"),n("db91"),n("c0e2"),n("8536"),n("4ff4"),n("ced0"),n("dc5b"),{name:"TextEdit",mixins:[Tt,Te],components:{codemirror:Br["codemirror"]},data:function(){return{code:""}},mounted:function(){var e=this;this.$store.dispatch("fm/getFile",{disk:this.selectedDisk,path:this.selectedItem.path}).then(function(t){e.code=t.data,e.$refs.fmCodeEditor.codemirror.setSize(null,e.editorHeight)})},computed:{selectedDisk:function(){return this.$store.getters["fm/selectedDisk"]},selectedItem:function(){return this.$store.getters["fm/selectedItems"][0]},cmOptions:function(){return{mode:this.$store.state.fm.settings.textExtensions[this.selectedItem.extension],theme:"blackboard",lineNumbers:!0,line:!0}},editorHeight:function(){return this.$store.state.fm.modal.modalBlockHeight?this.$store.state.fm.modal.modalBlockHeight-200:300}},methods:{updateFile:function(){var e=this,t=new FormData;t.append("disk",this.selectedDisk),t.append("path",this.selectedItem.dirname),t.append("file",new Blob([this.code]),this.selectedItem.basename),this.$store.dispatch("fm/updateFile",t).then(function(t){"success"===t.data.result.status&&e.hideModal()})}}}),Wr=Hr,Ur=(n("2729"),Ae(Wr,Rr,qr,!1,null,null,null)),Vr=Ur.exports,Gr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-audio-player"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[e._v("\n "+e._s(e.lang.modal.audioPlayer.title)+"\n ")]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("audio",{ref:"fmAudio",attrs:{controls:""}}),n("hr"),e._l(e.audioFiles,function(t,i){return n("div",{key:i,staticClass:"d-flex justify-content-between py-2 px-2",class:e.playingIndex===i?"bg-light":""},[n("div",{staticClass:"w-75 text-truncate"},[n("span",{staticClass:"text-muted pr-2"},[e._v(e._s(i)+".")]),e._v("\n "+e._s(t.basename)+"\n ")]),e.playingIndex===i?["playing"===e.status?n("div",[n("i",{staticClass:"fas fa-play active",on:{click:function(t){return e.togglePlay()}}})]):n("div",[n("i",{staticClass:"fas fa-pause",on:{click:function(t){return e.togglePlay()}}})])]:[n("div",[n("i",{staticClass:"fas fa-play",on:{click:function(t){return e.selectTrack(i)}}})])]],2)})],2)])},Xr=[],Kr=n("4fb8"),Yr=n.n(Kr),Zr={name:"Player",mixins:[Tt,Te],data:function(){return{player:{},playingIndex:0,status:"paused"}},mounted:function(){var e=this;this.player=new Yr.a(this.$refs.fmAudio,{speed:{selected:1,options:[.5,1,1.5]}}),this.setSource(this.playingIndex),this.player.on("play",function(){e.status="playing"}),this.player.on("pause",function(){e.status="paused"}),this.player.on("ended",function(){e.audioFiles.length>e.playingIndex+1&&e.selectTrack(e.playingIndex+1)})},beforeDestroy:function(){this.player.destroy()},computed:{selectedDisk:function(){return this.$store.getters["fm/selectedDisk"]},audioFiles:function(){return this.$store.getters["fm/selectedItems"]}},methods:{selectTrack:function(e){this.player.playing&&this.player.stop(),this.setSource(e),this.player.play(),this.playingIndex=e},setSource:function(e){this.player.source={type:"audio",title:this.audioFiles[e].filename,sources:[{src:"".concat(this.$store.getters["fm/settings/baseUrl"],"stream-file?disk=").concat(this.selectedDisk,"&path=").concat(encodeURIComponent(this.audioFiles[e].path)),type:"audio/".concat(this.audioFiles[e].extension)}]}},togglePlay:function(){this.player.togglePlay()}}},Qr=Zr,Jr=(n("8a50"),Ae(Qr,Gr,Xr,!1,null,null,null)),ea=Jr.exports,ta=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-video-player"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title w-75 text-truncate"},[e._v("\n "+e._s(e.lang.modal.videoPlayer.title)+" "),n("small",{staticClass:"text-muted pl-3"},[e._v(e._s(e.videoFile.basename))])]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("video",{ref:"fmVideo",attrs:{controls:""}})])])},na=[],ia={name:"Player",mixins:[Tt,Te],data:function(){return{player:{}}},mounted:function(){this.player=new Yr.a(this.$refs.fmVideo),this.player.source={type:"video",title:this.videoFile.filename,sources:[{src:"".concat(this.$store.getters["fm/settings/baseUrl"],"stream-file?disk=").concat(this.selectedDisk,"&path=").concat(encodeURIComponent(this.videoFile.path)),type:"audio/".concat(this.videoFile.extension)}]}},beforeDestroy:function(){this.player.destroy()},computed:{selectedDisk:function(){return this.$store.getters["fm/selectedDisk"]},videoFile:function(){return this.$store.getters["fm/selectedItems"][0]}},methods:{}},ra=ia,aa=(n("de14"),Ae(ra,ta,na,!1,null,null,null)),oa=aa.exports,sa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-zip"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[e._v(e._s(e.lang.modal.zip.title))]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("label",{attrs:{for:"fm-zip-name"}},[e._v(e._s(e.lang.modal.zip.fieldName))]),n("div",{staticClass:"input-group mb-3"},[n("input",{directives:[{name:"focus",rawName:"v-focus"},{name:"model",rawName:"v-model",value:e.archiveName,expression:"archiveName"}],staticClass:"form-control",class:{"is-invalid":e.archiveExist},attrs:{type:"text",id:"fm-zip-name"},domProps:{value:e.archiveName},on:{keyup:e.validateArchiveName,input:function(t){t.target.composing||(e.archiveName=t.target.value)}}}),e._m(0),n("div",{directives:[{name:"show",rawName:"v-show",value:e.archiveExist,expression:"archiveExist"}],staticClass:"invalid-feedback"},[e._v("\n "+e._s(e.lang.modal.zip.fieldFeedback)+"\n ")])]),n("hr"),n("selected-file-list")],1),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-info",attrs:{disabled:!e.submitActive},on:{click:e.createArchive}},[e._v(e._s(e.lang.btn.submit)+"\n ")]),n("button",{staticClass:"btn btn-default",on:{click:e.hideModal}},[e._v(e._s(e.lang.btn.cancel))])])])},la=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"input-group-append"},[n("span",{staticClass:"input-group-text"},[e._v(".zip")])])}],ca={name:"Zip",mixins:[Tt,Te],components:{SelectedFileList:Yt},data:function(){return{archiveName:"",archiveExist:!1}},computed:{submitActive:function(){return this.archiveName&&!this.archiveExist}},methods:{validateArchiveName:function(){this.archiveName?this.archiveExist=this.$store.getters["fm/".concat(this.activeManager,"/fileExist")]("".concat(this.archiveName,".zip")):this.archiveExist=!1},createArchive:function(){var e=this;this.$store.dispatch("fm/zip","".concat(this.archiveName,".zip")).then(function(){e.hideModal()})}}},ua=ca,da=Ae(ua,sa,la,!1,null,null,null),fa=da.exports,pa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-unzip"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[e._v(e._s(e.lang.modal.unzip.title))]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"d-flex justify-content-between"},[n("div",[n("strong",[e._v(e._s(e.lang.modal.unzip.fieldRadioName))])]),n("div",{staticClass:"form-check form-check-inline"},[n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.createFolder,expression:"createFolder",modifiers:{number:!0}}],staticClass:"form-check-input",attrs:{id:"unzipRadio1",type:"radio",name:"uploadOptions",value:"0",checked:""},domProps:{checked:e._q(e.createFolder,e._n("0"))},on:{change:function(t){e.createFolder=e._n("0")}}}),n("label",{staticClass:"form-check-label",attrs:{for:"unzipRadio1"}},[e._v("\n "+e._s(e.lang.modal.unzip.fieldRadio1)+"\n ")])]),n("div",{staticClass:"form-check form-check-inline"},[n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.createFolder,expression:"createFolder",modifiers:{number:!0}}],staticClass:"form-check-input",attrs:{id:"unzipRadio2",type:"radio",name:"uploadOptions",value:"1",checked:""},domProps:{checked:e._q(e.createFolder,e._n("1"))},on:{change:function(t){e.createFolder=e._n("1")}}}),n("label",{staticClass:"form-check-label",attrs:{for:"unzipRadio2"}},[e._v("\n "+e._s(e.lang.modal.unzip.fieldRadio2)+"\n ")])])]),n("hr"),e.createFolder?n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"fm-folder-name"}},[e._v(e._s(e.lang.modal.unzip.fieldName))]),n("input",{directives:[{name:"focus",rawName:"v-focus"},{name:"model",rawName:"v-model",value:e.directoryName,expression:"directoryName"}],staticClass:"form-control",class:{"is-invalid":e.directoryExist},attrs:{type:"text",id:"fm-folder-name"},domProps:{value:e.directoryName},on:{keyup:e.validateDirName,input:function(t){t.target.composing||(e.directoryName=t.target.value)}}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.directoryExist,expression:"directoryExist"}],staticClass:"invalid-feedback"},[e._v("\n "+e._s(e.lang.modal.unzip.fieldFeedback)+"\n ")])]):n("span",{staticClass:"text-danger"},[e._v(e._s(e.lang.modal.unzip.warning))])]),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-info",attrs:{disabled:!e.submitActive},on:{click:e.unpackArchive}},[e._v(e._s(e.lang.btn.submit)+"\n ")]),n("button",{staticClass:"btn btn-default",on:{click:e.hideModal}},[e._v(e._s(e.lang.btn.cancel))])])])},ha=[],ma={name:"Unzip",mixins:[Tt,Te],data:function(){return{createFolder:0,directoryName:"",directoryExist:!1}},computed:{submitActive:function(){return!this.createFolder||this.directoryName&&!this.directoryExist}},methods:{validateDirName:function(){this.directoryName?this.directoryExist=this.$store.getters["fm/".concat(this.activeManager,"/directoryExist")](this.directoryName):this.directoryExist=!1},unpackArchive:function(){var e=this;this.$store.dispatch("fm/unzip",this.createFolder?this.directoryName:null).then(function(){e.hideModal()})}}},ga=ma,va=Ae(ga,pa,ha,!1,null,null,null),ya=va.exports,ba=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"modal-content fm-modal-about"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[e._v(e._s(e.lang.modal.about.title))]),n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:e.hideModal}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),n("div",{staticClass:"modal-body"},[n("strong",[e._v(e._s(e.lang.modal.about.name))]),n("hr"),n("dl",{staticClass:"row"},[n("dt",{staticClass:"col-3"},[e._v(e._s(e.lang.modal.about.version)+":")]),n("dd",{staticClass:"col-9"},[e._v(e._s(e.version))]),n("dt",{staticClass:"col-3"},[e._v(e._s(e.lang.modal.about.developer)+":")]),n("dd",{staticClass:"col-9"},[e._v("Aleksandr Manekin")]),n("dt",{staticClass:"col-3"},[e._v("Email:")]),e._m(0),n("dt",{staticClass:"col-3"},[e._v("GitHub:")]),e._m(1),n("dt",{staticClass:"col-3"},[e._v("Home:")]),e._m(2)])])])},wa=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("dd",{staticClass:"col-9"},[n("a",{attrs:{href:"mailto:alexusmai@gmail.com"}},[e._v("alexusmai@gmail.com")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("dd",{staticClass:"col-9"},[n("a",{attrs:{href:"https://github.com/alexusmai/laravel-file-manager",target:"_blank"}},[e._v("\n alexusmai/laravel-file-manager\n ")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("dd",{staticClass:"col-9"},[n("a",{attrs:{href:"http://webmai.ru/projects/file-manager",target:"_blank"}},[e._v("\n Laravel File Manager (RU)\n ")])])}],xa={name:"About",mixins:[Tt,Te],computed:{version:function(){return this.$store.state.fm.settings.version}}},ka=xa,_a=Ae(ka,ba,wa,!1,null,null,null),Ca=_a.exports,Sa={name:"Modal",components:{NewFile:Lt,NewFolder:Ft,Upload:Bt,Delete:en,Clipboard:sn,Status:pn,Rename:bn,Properties:Sn,Preview:jr,TextEdit:Vr,AudioPlayer:ea,VideoPlayer:oa,Zip:fa,Unzip:ya,About:Ca},mounted:function(){this.$store.commit("fm/modal/setModalBlockHeight",this.$refs.fmModal.offsetHeight)},computed:{modalName:function(){return this.$store.state.fm.modal.modalName},modalSize:function(){return{"modal-xl":"Preview"===this.modalName||"TextEdit"===this.modalName,"modal-lg":"VideoPlayer"===this.modalName,"modal-sm":!1}}},methods:{hideModal:function(){this.$store.commit("fm/modal/clearModal")}}},Ta=Sa,Ma=(n("8781"),Ae(Ta,kt,_t,!1,null,null,null)),Ea=Ma.exports,Aa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"justify-content-between fm-info-block"},[n("div",{staticClass:"col-auto"},[n("span",{directives:[{name:"show",rawName:"v-show",value:e.selectedCount,expression:"selectedCount"}]},[e._v("\n "+e._s(e.lang.info.selected+" "+e.selectedCount)+"\n "+e._s(e.lang.info.selectedSize+" "+e.selectedFilesSize)+"\n ")]),n("span",{directives:[{name:"show",rawName:"v-show",value:!e.selectedCount,expression:"!selectedCount"}]},[e._v("\n "+e._s(e.lang.info.directories+" "+e.directoriesCount)+"\n "+e._s(e.lang.info.files+" "+e.filesCount)+"\n "+e._s(e.lang.info.size+" "+e.filesSize)+"\n ")])]),n("div",{staticClass:"col-4"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.progressBar,expression:"progressBar"}],staticClass:"progress"},[n("div",{staticClass:"progress-bar progress-bar-striped bg-info",style:{width:e.progressBar+"%"},attrs:{role:"progressbar","aria-valuenow":e.progressBar,"aria-valuemin":"0","aria-valuemax":"100"}},[e._v("\n "+e._s(e.progressBar)+"%\n ")])])]),n("div",{staticClass:"col-auto text-right"},[n("span",{directives:[{name:"show",rawName:"v-show",value:e.loadingSpinner,expression:"loadingSpinner"}]},[n("i",{staticClass:"fas fa-spinner fa-pulse"})]),n("span",{directives:[{name:"show",rawName:"v-show",value:e.clipboardType,expression:"clipboardType"}],attrs:{title:[e.lang.clipboard.title+" - "+e.lang.clipboard[e.clipboardType]]},on:{click:function(t){return e.showModal("Clipboard")}}},[n("i",{staticClass:"far fa-clipboard"})]),n("span",{class:[e.hasErrors?"text-danger":"text-success"],attrs:{title:e.lang.modal.status.title},on:{click:function(t){return e.showModal("Status")}}},[n("i",{staticClass:"fas fa-info-circle"})])])])},La=[],Na={name:"InfoBlock",mixins:[Te,ot],computed:{activeManager:function(){return this.$store.state.fm.activeManager},progressBar:function(){return this.$store.state.fm.messages.actionProgress},hasErrors:function(){return!!this.$store.state.fm.messages.errors.length},filesCount:function(){return this.$store.getters["fm/".concat(this.activeManager,"/filesCount")]},directoriesCount:function(){return this.$store.getters["fm/".concat(this.activeManager,"/directoriesCount")]},filesSize:function(){return this.bytesToHuman(this.$store.getters["fm/".concat(this.activeManager,"/filesSize")])},selectedCount:function(){return this.$store.getters["fm/".concat(this.activeManager,"/selectedCount")]},selectedFilesSize:function(){return this.bytesToHuman(this.$store.getters["fm/".concat(this.activeManager,"/selectedFilesSize")])},clipboardType:function(){return this.$store.state.fm.clipboard.type},loadingSpinner:function(){return this.$store.state.fm.messages.loading}},methods:{showModal:function(e){this.$store.commit("fm/modal/setModalState",{modalName:e,show:!0})}}},Da=Na,Oa=(n("db74"),Ae(Da,Aa,La,!1,null,null,null)),Pa=Oa.exports,Ia=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.menuVisible?n("div",{ref:"contextMenu",staticClass:"fm-context-menu",style:e.menuStyle,attrs:{tabindex:"-1"},on:{blur:e.closeMenu}},e._l(e.menu,function(t,i){return n("ul",{key:"g-"+i,staticClass:"list-unstyled"},e._l(t,function(t,i){return e.showMenuItem(t.name)?n("li",{key:"i-"+i,on:{click:function(n){return e.menuAction(t.name)}}},[n("i",{staticClass:"fa-fw",class:t.icon}),e._v("\n "+e._s(e.lang.contextMenu[t.name])+"\n ")]):e._e()}),0)}),0):e._e()},Fa=[],za={computed:{selectedDisk:function(){return this.$store.getters["fm/selectedDisk"]},selectedItems:function(){return this.$store.getters["fm/selectedItems"]},selectedDiskDriver:function(){return this.$store.state.fm.disks[this.selectedDisk].driver},multiSelect:function(){return this.$store.getters["fm/selectedItems"].length>1},firstItemType:function(){return this.$store.getters["fm/selectedItems"][0].type}},methods:{canView:function(e){return!!e&&this.$store.state.fm.settings.imageExtensions.includes(e.toLowerCase())},canEdit:function(e){return!!e&&Object.keys(this.$store.state.fm.settings.textExtensions).includes(e.toLowerCase())},canAudioPlay:function(e){return!!e&&this.$store.state.fm.settings.audioExtensions.includes(e.toLowerCase())},canVideoPlay:function(e){return!!e&&this.$store.state.fm.settings.videoExtensions.includes(e.toLowerCase())},isZip:function(e){return!!e&&"zip"===e.toLowerCase()},downloadLink:function(){return"".concat(this.$store.getters["fm/settings/baseUrl"],"download?disk=").concat(this.selectedDisk,"&path=").concat(encodeURIComponent(this.selectedItems[0].path))}}},$a={methods:{openRule:function(){return!this.multiSelect&&"dir"===this.firstItemType},audioPlayRule:function(){var e=this;return this.selectedItems.every(function(e){return"file"===e.type})&&this.selectedItems.every(function(t){return e.canAudioPlay(t.extension)})},videoPlayRule:function(){return!this.multiSelect&&this.canVideoPlay(this.selectedItems[0].extension)},viewRule:function(){return!this.multiSelect&&"file"===this.firstItemType&&this.canView(this.selectedItems[0].extension)},editRule:function(){return!this.multiSelect&&"file"===this.firstItemType&&this.canEdit(this.selectedItems[0].extension)},selectRule:function(){return!this.multiSelect&&"file"===this.firstItemType&&this.$store.state.fm.fileCallback},downloadRule:function(){return!this.multiSelect&&"file"===this.firstItemType},copyRule:function(){return!0},cutRule:function(){return!0},renameRule:function(){return!this.multiSelect},pasteRule:function(){return!!this.$store.state.fm.clipboard.type},zipRule:function(){return"local"===this.selectedDiskDriver},unzipRule:function(){return"local"===this.selectedDiskDriver&&!this.multiSelect&&"file"===this.firstItemType&&this.isZip(this.selectedItems[0].extension)},deleteRule:function(){return!0},propertiesRule:function(){return!this.multiSelect}}},ja={methods:{openAction:function(){this.$store.dispatch("fm/".concat(this.$store.state.fm.activeManager,"/selectDirectory"),{path:this.selectedItems[0].path,history:!0})},audioPlayAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"AudioPlayer",show:!0})},videoPlayAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"VideoPlayer",show:!0})},viewAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"Preview",show:!0})},editAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"TextEdit",show:!0})},selectAction:function(){this.$store.dispatch("fm/url",{disk:this.selectedDisk,path:this.selectedItems[0].path})},downloadAction:function(){var e=document.createElement("a");e.style.display="none",e.href=this.downloadLink(),e.setAttribute("download",this.selectedItems[0].basename),e.setAttribute("target","_blank"),document.body.appendChild(e),e.click(),document.body.removeChild(e)},copyAction:function(){this.$store.dispatch("fm/toClipboard","copy")},cutAction:function(){this.$store.dispatch("fm/toClipboard","cut")},renameAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"Rename",show:!0})},pasteAction:function(){this.$store.dispatch("fm/paste")},zipAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"Zip",show:!0})},unzipAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"Unzip",show:!0})},deleteAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"Delete",show:!0})},propertiesAction:function(){this.$store.commit("fm/modal/setModalState",{modalName:"Properties",show:!0})}}},Ra={name:"ContextMenu",mixins:[Te,za,$a,ja],data:function(){return{menuVisible:!1,menuStyle:{top:0,left:0}}},mounted:function(){var e=this;_e.$on("contextMenu",function(t){return e.showMenu(t)})},computed:{menu:function(){return this.$store.state.fm.settings.contextMenu}},methods:{showMenu:function(e){var t=this;this.selectedItems&&(this.menuVisible=!0,this.$nextTick(function(){t.$refs.contextMenu.focus(),t.setMenu(e.pageY,e.pageX)}))},setMenu:function(e,t){var n=this.$refs.contextMenu.parentNode,i=n.getBoundingClientRect(),r=window.pageYOffset+i.top,a=window.pageXOffset+i.left,o=e-r,s=t-a,l=r+(n.offsetHeight-this.$refs.contextMenu.offsetHeight-25),c=a+(n.offsetWidth-this.$refs.contextMenu.offsetWidth-25);e>l&&(o=l-r),t>c&&(s=c-a),this.menuStyle.top="".concat(o,"px"),this.menuStyle.left="".concat(s,"px")},closeMenu:function(){this.menuVisible=!1},showMenuItem:function(e){return!!Object.prototype.hasOwnProperty.call(this,"".concat(e,"Rule"))&&this["".concat(e,"Rule")]()},menuAction:function(e){Object.prototype.hasOwnProperty.call(this,"".concat(e,"Action"))&&this["".concat(e,"Action")](),this.closeMenu()}}},qa=Ra,Ba=(n("679e"),Ae(qa,Ia,Fa,!1,null,null,null)),Ha=Ba.exports,Wa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fm-notification"},[n("transition-group",{attrs:{name:"notify"}},e._l(e.notifications,function(t,i){return n("div",{key:"notify-"+i,staticClass:"fm-notification-item",class:"fm-"+t.status,attrs:{role:"alert"}},[e._v("\n "+e._s(t.message)+"\n ")])}),0)],1)},Ua=[],Va={name:"notification",data:function(){return{notifications:[]}},mounted:function(){var e=this;_e.$on("addNotification",function(t){var n=t.status,i=t.message;return e.addNotification(n,i)})},methods:{addNotification:function(e,t){var n=this;this.notifications.push({status:e,message:t}),setTimeout(function(){n.notifications.shift()},3e3)}}},Ga=Va,Xa=(n("eea5"),Ae(Ga,Wa,Ua,!1,null,null,null)),Ka=Xa.exports;function Ya(e){for(var t=1;tn.indentOf||n.innerModeForLine&&!t.sol()||i)return n.innerMode?(n.innerState||(n.innerState=n.innerMode.startState?e.startState(n.innerMode,t.indentation()):{}),t.hideFirstChars(n.indentOf+2,function(){return n.innerMode.token(t,n.innerState)||!0})):(t.skipToEnd(),n.indentToken);t.sol()&&(n.indentOf=1/0,n.indentToken=null,n.innerMode=null,n.innerState=null)}function X(e,t){if(e.sol()&&(t.restOfLine=""),t.restOfLine){e.skipToEnd();var n=t.restOfLine;return t.restOfLine="",n}}function K(){return new l}function Y(e){return e.copy()}function Z(e,t){var n=G(e,t)||X(e,t)||h(e,t)||C(e,t)||L(e,t)||$(e,t)||c(e,t)||u(e,t)||M(e,t)||d(e,t)||f(e,t)||p(e,t)||m(e,t)||g(e,t)||v(e,t)||y(e,t)||b(e,t)||w(e,t)||x(e,t)||k(e,t)||_(e,t)||S(e,t)||T(e,t)||E(e,t)||A(e,t)||N(e,t)||D(e,t)||O(e,t)||P(e,t)||I(e,t)||F(e,t)||z(e,t)||j(e,t)||R(e,t)||H(e,t)||q(e,t)||B(e,t)||W(e,t)||U(e,t);return!0===n?null:n}return l.prototype.copy=function(){var t=new l;return t.javaScriptLine=this.javaScriptLine,t.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon,t.javaScriptArguments=this.javaScriptArguments,t.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth,t.isInterpolating=this.isInterpolating,t.interpolationNesting=this.interpolationNesting,t.jsState=e.copyState(s,this.jsState),t.innerMode=this.innerMode,this.innerMode&&this.innerState&&(t.innerState=e.copyState(this.innerMode,this.innerState)),t.restOfLine=this.restOfLine,t.isIncludeFiltered=this.isIncludeFiltered,t.isEach=this.isEach,t.lastTag=this.lastTag,t.scriptType=this.scriptType,t.isAttrs=this.isAttrs,t.attrsNest=this.attrsNest.slice(),t.inAttributeName=this.inAttributeName,t.attributeIsType=this.attributeIsType,t.attrValue=this.attrValue,t.indentOf=this.indentOf,t.indentToken=this.indentToken,t.innerModeForLine=this.innerModeForLine,t},{startState:K,copyState:Y,token:Z}},"javascript","css","htmlmixed"),e.defineMIME("text/x-pug","pug"),e.defineMIME("text/x-jade","pug")})},"5ca1":function(e,t,n){var i=n("7726"),r=n("8378"),a=n("32e9"),o=n("2aba"),s=n("9b43"),l="prototype",c=function(e,t,n){var u,d,f,p,h=e&c.F,m=e&c.G,g=e&c.S,v=e&c.P,y=e&c.B,b=m?i:g?i[t]||(i[t]={}):(i[t]||{})[l],w=m?r:r[t]||(r[t]={}),x=w[l]||(w[l]={});for(u in m&&(n=t),n)d=!h&&b&&void 0!==b[u],f=(d?b:n)[u],p=y&&d?s(f,i):v&&"function"==typeof f?s(Function.call,f):f,b&&o(b,u,f,e&c.U),w[u]!=f&&a(w,u,p),v&&x[u]!=f&&(x[u]=f)};i.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},"5cb0":function(e,t,n){"use strict";var i=n("ada7"),r=n.n(i);r.a},"5cc5":function(e,t,n){var i=n("2b4c")("iterator"),r=!1;try{var a=[7][i]();a["return"]=function(){r=!0},Array.from(a,function(){throw 2})}catch(o){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var a=[7],s=a[i]();s.next=function(){return{done:n=!0}},a[i]=function(){return s},e(a)}catch(o){}return n}},"5dbc":function(e,t,n){var i=n("d3f4"),r=n("8b97").set;e.exports=function(e,t,n){var a,o=t.constructor;return o!==n&&"function"==typeof o&&(a=o.prototype)!==n.prototype&&i(a)&&r&&r(e,a),e}},"5df2":function(e,t,n){var i=n("5ca1"),r=n("d752");i(i.S+i.F*(Number.parseFloat!=r),"Number",{parseFloat:r})},"5df3":function(e,t,n){"use strict";var i=n("02f4")(!0);n("01f9")(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})})},"5eda":function(e,t,n){var i=n("5ca1"),r=n("8378"),a=n("79e5");e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],o={};o[e]=t(n),i(i.S+i.F*a(function(){n(1)}),"Object",o)}},"5f1b":function(e,t,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var a=n.call(e,t);if("object"!==typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},"608d":function(e,t,n){"use strict";var i=n("d226"),r=n.n(i);r.a},"613b":function(e,t,n){var i=n("5537")("keys"),r=n("ca5a");e.exports=function(e){return i[e]||(i[e]=r(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)}},"63d9":function(e,t,n){n("ec30")("Float32",4,function(e){return function(t,n,i){return e(this,t,n,i)}})},"643a":function(e,t,n){"use strict";var i=n("31c5"),r=n.n(i);r.a},"643e":function(e,t,n){"use strict";var i=n("dcbc"),r=n("67ab").getWeak,a=n("cb7c"),o=n("d3f4"),s=n("f605"),l=n("4a59"),c=n("0a49"),u=n("69a8"),d=n("b39a"),f=c(5),p=c(6),h=0,m=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},v=function(e,t){return f(e.a,function(e){return e[0]===t})};g.prototype={get:function(e){var t=v(this,e);if(t)return t[1]},has:function(e){return!!v(this,e)},set:function(e,t){var n=v(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,a){var c=e(function(e,i){s(e,c,t,"_i"),e._t=t,e._i=h++,e._l=void 0,void 0!=i&&l(i,n,e[a],e)});return i(c.prototype,{delete:function(e){if(!o(e))return!1;var n=r(e);return!0===n?m(d(this,t))["delete"](e):n&&u(n,this._i)&&delete n[this._i]},has:function(e){if(!o(e))return!1;var n=r(e);return!0===n?m(d(this,t)).has(e):n&&u(n,this._i)}}),c},def:function(e,t,n){var i=r(a(t),!0);return!0===i?m(e).set(t,n):i[e._i]=n,e},ufstore:m}},"64d5":function(e,t,n){"use strict";var i=n("5ca1"),r=n("4bf8"),a=n("6a99"),o=n("38fd"),s=n("11e9").f;n("9e1e")&&i(i.P+n("c5b4"),"Object",{__lookupSetter__:function(e){var t,n=r(this),i=a(e,!0);do{if(t=s(n,i))return t.set}while(n=o(n))}})},"66c8":function(e,t,n){var i=n("d3f4");n("5eda")("isFrozen",function(e){return function(t){return!i(t)||!!e&&e(t)}})},"673e":function(e,t,n){"use strict";n("386b")("sub",function(e){return function(){return e(this,"sub","","")}})},6762:function(e,t,n){"use strict";var i=n("5ca1"),r=n("c366")(!0);i(i.P,"Array",{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},"679e":function(e,t,n){"use strict";var i=n("13b4"),r=n.n(i);r.a},"67ab":function(e,t,n){var i=n("ca5a")("meta"),r=n("d3f4"),a=n("69a8"),o=n("86cc").f,s=0,l=Object.isExtensible||function(){return!0},c=!n("79e5")(function(){return l(Object.preventExtensions({}))}),u=function(e){o(e,i,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,i)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[i].i},f=function(e,t){if(!a(e,i)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[i].w},p=function(e){return c&&h.NEED&&l(e)&&!a(e,i)&&u(e),e},h=e.exports={KEY:i,NEED:!1,fastKey:d,getWeak:f,onFreeze:p}},"67df":function(e,t,n){"use strict";var i=n("9d65"),r=n.n(i);r.a},6821:function(e,t,n){var i=n("626a"),r=n("be13");e.exports=function(e){return i(r(e))}},"693d":function(e,t,n){(function(e){"use strict";e(n("56b3"),n("9eb9"),n("d5e0"),n("f9d4"),n("a0bd"),n("7b00"),n("1b63"),n("76d2"),n("5bef"),n("e1de"))})(function(e){var t={script:[["lang",/coffee(script)?/,"coffeescript"],["type",/^(?:text|application)\/(?:x-)?coffee(?:script)?$/,"coffeescript"],["lang",/^babel$/,"javascript"],["type",/^text\/babel$/,"javascript"],["type",/^text\/ecmascript-\d+$/,"javascript"]],style:[["lang",/^stylus$/i,"stylus"],["lang",/^sass$/i,"sass"],["lang",/^less$/i,"text/x-less"],["lang",/^scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?styl(us)?$/i,"stylus"],["type",/^text\/sass/i,"sass"],["type",/^(text\/)?(x-)?scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?less$/i,"text/x-less"]],template:[["lang",/^vue-template$/i,"vue"],["lang",/^pug$/i,"pug"],["lang",/^handlebars$/i,"handlebars"],["type",/^(text\/)?(x-)?pug$/i,"pug"],["type",/^text\/x-handlebars-template$/i,"handlebars"],[null,null,"vue-template"]]};e.defineMode("vue-template",function(t,n){var i={token:function(e){if(e.match(/^\{\{.*?\}\}/))return"meta mustache";while(e.next()&&!e.match("{{",!1));return null}};return e.overlayMode(e.getMode(t,n.backdrop||"text/html"),i)}),e.defineMode("vue",function(n){return e.getMode(n,{name:"htmlmixed",tags:t})},"htmlmixed","xml","javascript","coffeescript","css","sass","stylus","pug","handlebars"),e.defineMIME("script/x-vue","vue"),e.defineMIME("text/x-vue","vue")})},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"6a99":function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},"6aa2":function(e,t,n){n("ec30")("Uint8",1,function(e){return function(t,n,i){return e(this,t,n,i)}},!0)},"6b54":function(e,t,n){"use strict";n("3846");var i=n("cb7c"),r=n("0bfb"),a=n("9e1e"),o="toString",s=/./[o],l=function(e){n("2aba")(RegExp.prototype,o,e,!0)};n("79e5")(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?l(function(){var e=i(this);return"/".concat(e.source,"/","flags"in e?e.flags:!a&&e instanceof RegExp?r.call(e):void 0)}):s.name!=o&&l(function(){return s.call(this)})},"6c1a":function(e,t,n){var i=n("5ca1"),r=n("2d5c"),a=Math.exp;i(i.S+i.F*n("79e5")(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(r(e)-r(-e))/2:(a(e-1)-a(-e-1))*(Math.E/2)}})},"6c37":function(e,t,n){"use strict";n("386b")("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},"6c7b":function(e,t,n){var i=n("5ca1");i(i.P,"Array",{fill:n("36bd")}),n("9c6c")("fill")},7333:function(e,t,n){"use strict";var i=n("0d58"),r=n("2621"),a=n("52a7"),o=n("4bf8"),s=n("626a"),l=Object.assign;e.exports=!l||n("79e5")(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=i})?function(e,t){var n=o(e),l=arguments.length,c=1,u=r.f,d=a.f;while(l>c){var f,p=s(arguments[c++]),h=u?i(p).concat(u(p)):i(p),m=h.length,g=0;while(m>g)d.call(p,f=h[g++])&&(n[f]=p[f])}return n}:l},"744f":function(e,t,n){var i=n("5ca1");i(i.P,"Array",{copyWithin:n("ba92")}),n("9c6c")("copyWithin")},"74f7":function(e,t,n){"use strict";var i=n("0bb3"),r=n.n(i);r.a},7514:function(e,t,n){"use strict";var i=n("5ca1"),r=n("0a49")(5),a="find",o=!0;a in[]&&Array(1)[a](function(){o=!1}),i(i.P+i.F*o,"Array",{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(a)},"76ae":function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";function t(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function n(e,t){if(!e)return/(?:)/;var n="";return e instanceof RegExp?(e.ignoreCase&&(n="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",n)}function i(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n2&&u.token&&"string"!=typeof u.token){i.pending=[];for(var p=2;p-1)return e.Pass;var o=i.indent.length-1,s=t[i.state];e:for(;;){for(var c=0;c]=?|\?:|\~)/,P=m(u),I=g(d),F=new RegExp(/^\-(moz|ms|o|webkit)-/i),z=g(f),$="",j={};while(x.length|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),t.context.line.firstWord=$?$[0].replace(/^\s*/,""):"",t.context.line.indent=e.indentation(),p=e.peek(),e.match("//"))return e.skipToEnd(),["comment","comment"];if(e.match("/*"))return t.tokenize=q,q(e,t);if('"'==p||"'"==p)return e.next(),t.tokenize=B(p),t.tokenize(e,t);if("@"==p)return e.next(),e.eatWhile(/[\w\\-]/),["def",e.current()];if("#"==p){if(e.next(),e.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b/i))return["atom","atom"];if(e.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return e.match(F)?["meta","vendor-prefixes"]:e.match(/^-?[0-9]?\.?[0-9]/)?(e.eatWhile(/[a-z%]/i),["number","unit"]):"!"==p?(e.next(),[e.match(/^(important|optional)/i)?"keyword":"operator","important"]):"."==p&&e.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:e.match(A)?("("==e.peek()&&(t.tokenize=H),["property","word"]):e.match(/^[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","mixin"]):e.match(/^(\+|-)[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","block-mixin"]):e.string.match(/^\s*&/)&&e.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:e.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(e.backUp(1),["variable-3","reference"]):e.match(/^&{1}\s*$/)?["variable-3","reference"]:e.match(P)?["operator","operator"]:e.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?e.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!K(e.current())?(e.match(/\./),["variable-2","variable-name"]):["variable-2","word"]:e.match(O)?["operator",e.current()]:/[:;,{}\[\]\(\)]/.test(p)?(e.next(),[null,p]):(e.next(),[null,null])}function q(e,t){var n,i=!1;while(null!=(n=e.next())){if(i&&"/"==n){t.tokenize=null;break}i="*"==n}return["comment","comment"]}function B(e){return function(t,n){var i,r=!1;while(null!=(i=t.next())){if(i==e&&!r){")"==e&&t.backUp(1);break}r=!r&&"\\"==i}return(i==e||!r&&")"!=e)&&(n.tokenize=null),["string","string"]}}function H(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=B(")"),[null,"("]}function W(e,t,n,i){this.type=e,this.indent=t,this.prev=n,this.line=i||{firstWord:"",indent:0}}function U(e,t,n,i){return i=i>=0?i:w,e.context=new W(n,t.indentation()+i,e.context),n}function V(e,t){var n=e.context.indent-w;return t=t||!1,e.context=e.context.prev,t&&(e.context.indent=n),e.context.type}function G(e,t,n){return j[n.context.type](e,t,n)}function X(e,t,n,i){for(var r=i||1;r>0;r--)n.context=n.context.prev;return G(e,t,n)}function K(e){return e.toLowerCase()in k}function Y(e){return e=e.toLowerCase(),e in C||e in D}function Z(e){return e.toLowerCase()in I}function Q(e){return e.toLowerCase().match(F)}function J(e){var t=e.toLowerCase(),n="variable-2";return K(e)?n="tag":Z(e)?n="block-keyword":Y(e)?n="property":t in T||t in z?n="atom":"return"==t||t in M?n="keyword":e.match(/^[A-Z]/)&&(n="string"),n}function ee(e,t){return re(t)&&("{"==e||"]"==e||"hash"==e||"qualifier"==e)||"block-mixin"==e}function te(e,t){return"{"==e&&t.match(/^\s*\$?[\w-]+/i,!1)}function ne(e,t){return":"==e&&t.match(/^[a-z-]+/,!1)}function ie(e){return e.sol()||e.string.match(new RegExp("^\\s*"+v(e.current())))}function re(e){return e.eol()||e.match(/^\s*$/,!1)}function ae(e){var t=/^\s*[-_]*[a-z0-9]+[\w-]*/i,n="string"==typeof e?e.match(t):e.string.match(t);return n?n[0].replace(/^\s*/,""):""}return j.block=function(e,t,n){if("comment"==e&&ie(t)||","==e&&re(t)||"mixin"==e)return U(n,t,"block",0);if(te(e,t))return U(n,t,"interpolation");if(re(t)&&"]"==e&&!/^\s*(\.|#|:|\[|\*|&)/.test(t.string)&&!K(ae(t)))return U(n,t,"block",0);if(ee(e,t))return U(n,t,"block");if("}"==e&&re(t))return U(n,t,"block",0);if("variable-name"==e)return t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||Z(ae(t))?U(n,t,"variableName"):U(n,t,"variableName",0);if("="==e)return re(t)||Z(ae(t))?U(n,t,"block"):U(n,t,"block",0);if("*"==e&&(re(t)||t.match(/\s*(,|\.|#|\[|:|{)/,!1)))return b="tag",U(n,t,"block");if(ne(e,t))return U(n,t,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(e))return U(n,t,re(t)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return U(n,t,"keyframes");if(/@extends?/.test(e))return U(n,t,"extend",0);if(e&&"@"==e.charAt(0))return t.indentation()>0&&Y(t.current().slice(1))?(b="variable-2","block"):/(@import|@require|@charset)/.test(e)?U(n,t,"block",0):U(n,t,"block");if("reference"==e&&re(t))return U(n,t,"block");if("("==e)return U(n,t,"parens");if("vendor-prefixes"==e)return U(n,t,"vendorPrefixes");if("word"==e){var i=t.current();if(b=J(i),"property"==b)return ie(t)?U(n,t,"block",0):(b="atom","block");if("tag"==b){if(/embed|menu|pre|progress|sub|table/.test(i)&&Y(ae(t)))return b="atom","block";if(t.string.match(new RegExp("\\[\\s*"+i+"|"+i+"\\s*\\]")))return b="atom","block";if(_.test(i)&&(ie(t)&&t.string.match(/=/)||!ie(t)&&!t.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!K(ae(t))))return b="variable-2",Z(ae(t))?"block":U(n,t,"block",0);if(re(t))return U(n,t,"block")}if("block-keyword"==b)return b="keyword",t.current(/(if|unless)/)&&!ie(t)?"block":U(n,t,"block");if("return"==i)return U(n,t,"block",0);if("variable-2"==b&&t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return U(n,t,"block")}return n.context.type},j.parens=function(e,t,n){if("("==e)return U(n,t,"parens");if(")"==e)return"parens"==n.context.prev.type?V(n):t.string.match(/^[a-z][\w-]*\(/i)&&re(t)||Z(ae(t))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(ae(t))||!t.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&K(ae(t))?U(n,t,"block"):t.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||t.string.match(/^\s*(\(|\)|[0-9])/)||t.string.match(/^\s+[a-z][\w-]*\(/i)||t.string.match(/^\s+[\$-]?[a-z]/i)?U(n,t,"block",0):re(t)?U(n,t,"block"):U(n,t,"block",0);if(e&&"@"==e.charAt(0)&&Y(t.current().slice(1))&&(b="variable-2"),"word"==e){var i=t.current();b=J(i),"tag"==b&&_.test(i)&&(b="variable-2"),"property"!=b&&"to"!=i||(b="atom")}return"variable-name"==e?U(n,t,"variableName"):ne(e,t)?U(n,t,"pseudo"):n.context.type},j.vendorPrefixes=function(e,t,n){return"word"==e?(b="property",U(n,t,"block",0)):V(n)},j.pseudo=function(e,t,n){return Y(ae(t.string))?X(e,t,n):(t.match(/^[a-z-]+/),b="variable-3",re(t)?U(n,t,"block"):V(n))},j.atBlock=function(e,t,n){if("("==e)return U(n,t,"atBlock_parens");if(ee(e,t))return U(n,t,"block");if(te(e,t))return U(n,t,"interpolation");if("word"==e){var i=t.current().toLowerCase();if(b=/^(only|not|and|or)$/.test(i)?"keyword":E.hasOwnProperty(i)?"tag":N.hasOwnProperty(i)?"attribute":L.hasOwnProperty(i)?"property":S.hasOwnProperty(i)?"string-2":J(t.current()),"tag"==b&&re(t))return U(n,t,"block")}return"operator"==e&&/^(not|and|or)$/.test(t.current())&&(b="keyword"),n.context.type},j.atBlock_parens=function(e,t,n){if("{"==e||"}"==e)return n.context.type;if(")"==e)return re(t)?U(n,t,"block"):U(n,t,"atBlock");if("word"==e){var i=t.current().toLowerCase();return b=J(i),/^(max|min)/.test(i)&&(b="property"),"tag"==b&&(b=_.test(i)?"variable-2":"atom"),n.context.type}return j.atBlock(e,t,n)},j.keyframes=function(e,t,n){return"0"==t.indentation()&&("}"==e&&ie(t)||"]"==e||"hash"==e||"qualifier"==e||K(t.current()))?X(e,t,n):"{"==e?U(n,t,"keyframes"):"}"==e?ie(t)?V(n,!0):U(n,t,"keyframes"):"unit"==e&&/^[0-9]+\%$/.test(t.current())?U(n,t,"keyframes"):"word"==e&&(b=J(t.current()),"block-keyword"==b)?(b="keyword",U(n,t,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(e)?U(n,t,re(t)?"block":"atBlock"):"mixin"==e?U(n,t,"block",0):n.context.type},j.interpolation=function(e,t,n){return"{"==e&&V(n)&&U(n,t,"block"),"}"==e?t.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||t.string.match(/^\s*[a-z]/i)&&K(ae(t))?U(n,t,"block"):!t.string.match(/^(\{|\s*\&)/)||t.match(/\s*[\w-]/,!1)?U(n,t,"block",0):U(n,t,"block"):"variable-name"==e?U(n,t,"variableName",0):("word"==e&&(b=J(t.current()),"tag"==b&&(b="atom")),n.context.type)},j.extend=function(e,t,n){return"["==e||"="==e?"extend":"]"==e?V(n):"word"==e?(b=J(t.current()),"extend"):V(n)},j.variableName=function(e,t,n){return"string"==e||"["==e||"]"==e||t.current().match(/^(\.|\$)/)?(t.current().match(/^\.[\w-]+/i)&&(b="variable-2"),"variableName"):X(e,t,n)},{startState:function(e){return{tokenize:null,state:"block",context:new W("block",e||0,null)}},token:function(e,t){return!t.tokenize&&e.eatSpace()?null:(h=(t.tokenize||R)(e,t),h&&"object"==typeof h&&(y=h[1],h=h[0]),b=h,t.state=j[t.state](y,e,t),b)},indent:function(e,t,n){var i=e.context,r=t&&t.charAt(0),a=i.indent,o=ae(t),s=n.match(/^\s*/)[0].replace(/\t/g,x).length,l=e.context.prev?e.context.prev.line.firstWord:"",c=e.context.prev?e.context.prev.line.indent:s;return i.prev&&("}"==r&&("block"==i.type||"atBlock"==i.type||"keyframes"==i.type)||")"==r&&("parens"==i.type||"atBlock_parens"==i.type)||"{"==r&&"at"==i.type)?a=i.indent-w:/(\})/.test(r)||(/@|\$|\d/.test(r)||/^\{/.test(t)||/^\s*\/(\/|\*)/.test(t)||/^\s*\/\*/.test(l)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(t)||/^(\+|-)?[a-z][\w-]*\(/i.test(t)||/^return/.test(t)||Z(o)?a=s:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(r)||K(o)?a=/\,\s*$/.test(l)?c:/^\s+/.test(n)&&(/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(l)||K(l))?s<=c?c:c+w:s:/,\s*$/.test(n)||!Q(o)&&!Y(o)||(a=Z(l)?s<=c?c:c+w:/^\{/.test(l)?s<=c?s:c+w:Q(l)||Y(l)?s>=c?c:s:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(l)||/=\s*$/.test(l)||K(l)||/^\$[\w-\.\[\]\'\"]/.test(l)?c+w:s)),a},electricChars:"}",lineComment:"//",fold:"indent"}});var t=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],n=["domain","regexp","url","url-prefix"],i=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],r=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid"],a=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],o=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],s=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],l=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],c=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],u=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],d=["for","if","else","unless","from","to"],f=["null","true","false","href","title","type","not-allowed","readonly","disabled"],p=["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"],h=t.concat(n,i,r,a,o,l,c,s,u,d,f,p);function m(e){return e=e.sort(function(e,t){return t>e}),new RegExp("^(("+e.join(")|(")+"))\\b")}function g(e){for(var t={},n=0;ns)o.push(String(t[s++])),s*\/]/.test(n)?x(null,"select-op"):"."==n&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?x("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?x(null,n):e.match(/[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/.test(e.current().toLowerCase())&&(t.tokenize=C),x("variable callee","variable")):/[\w\\\-]/.test(n)?(e.eatWhile(/[\w\\\-]/),x("property","word")):x(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),x("number","unit")):e.match(/^-[\w\\\-]*/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?x("variable-2","variable-definition"):x("variable-2","variable")):e.match(/^\w+-/)?x("meta","meta"):void 0}function _(e){return function(t,n){var i,r=!1;while(null!=(i=t.next())){if(i==e&&!r){")"==e&&t.backUp(1);break}r=!r&&"\\"==i}return(i==e||!r&&")"!=e)&&(n.tokenize=null),x("string","string")}}function C(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=_(")"),x(null,"(")}function S(e,t,n){this.type=e,this.indent=t,this.prev=n}function T(e,t,n,i){return e.context=new S(n,t.indentation()+(!1===i?0:o),e.context),n}function M(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function E(e,t,n){return N[n.context.type](e,t,n)}function A(e,t,n,i){for(var r=i||1;r>0;r--)n.context=n.context.prev;return E(e,t,n)}function L(e){var t=e.current().toLowerCase();a=v.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var N={top:function(e,t,n){if("{"==e)return T(n,t,"block");if("}"==e&&n.context.prev)return M(n);if(w&&/@component/i.test(e))return T(n,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return T(n,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return T(n,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return n.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return T(n,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return T(n,t,"interpolation");if(":"==e)return"pseudo";if(y&&"("==e)return T(n,t,"parens")}return n.context.type},block:function(e,t,n){if("word"==e){var i=t.current().toLowerCase();return f.hasOwnProperty(i)?(a="property","maybeprop"):p.hasOwnProperty(i)?(a="string-2","maybeprop"):y?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":y||"hash"!=e&&"qualifier"!=e?N.top(e,t,n):(a="error","block")},maybeprop:function(e,t,n){return":"==e?T(n,t,"prop"):E(e,t,n)},prop:function(e,t,n){if(";"==e)return M(n);if("{"==e&&y)return T(n,t,"propBlock");if("}"==e||"{"==e)return A(e,t,n);if("("==e)return T(n,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)L(t);else if("interpolation"==e)return T(n,t,"interpolation")}else a+=" error";return"prop"},propBlock:function(e,t,n){return"}"==e?M(n):"word"==e?(a="property","maybeprop"):n.context.type},parens:function(e,t,n){return"{"==e||"}"==e?A(e,t,n):")"==e?M(n):"("==e?T(n,t,"parens"):"interpolation"==e?T(n,t,"interpolation"):("word"==e&&L(t),"parens")},pseudo:function(e,t,n){return"meta"==e?"pseudo":"word"==e?(a="variable-3",n.context.type):E(e,t,n)},documentTypes:function(e,t,n){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",n.context.type):N.atBlock(e,t,n)},atBlock:function(e,t,n){if("("==e)return T(n,t,"atBlock_parens");if("}"==e||";"==e)return A(e,t,n);if("{"==e)return M(n)&&T(n,t,y?"block":"top");if("interpolation"==e)return T(n,t,"interpolation");if("word"==e){var i=t.current().toLowerCase();a="only"==i||"not"==i||"and"==i||"or"==i?"keyword":c.hasOwnProperty(i)?"attribute":u.hasOwnProperty(i)?"property":d.hasOwnProperty(i)?"keyword":f.hasOwnProperty(i)?"property":p.hasOwnProperty(i)?"string-2":v.hasOwnProperty(i)?"atom":g.hasOwnProperty(i)?"keyword":"error"}return n.context.type},atComponentBlock:function(e,t,n){return"}"==e?A(e,t,n):"{"==e?M(n)&&T(n,t,y?"block":"top",!1):("word"==e&&(a="error"),n.context.type)},atBlock_parens:function(e,t,n){return")"==e?M(n):"{"==e||"}"==e?A(e,t,n,2):N.atBlock(e,t,n)},restricted_atBlock_before:function(e,t,n){return"{"==e?T(n,t,"restricted_atBlock"):"word"==e&&"@counter-style"==n.stateArg?(a="variable","restricted_atBlock_before"):E(e,t,n)},restricted_atBlock:function(e,t,n){return"}"==e?(n.stateArg=null,M(n)):"word"==e?(a="@font-face"==n.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==n.stateArg&&!m.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(e,t,n){return"word"==e?(a="variable","keyframes"):"{"==e?T(n,t,"top"):E(e,t,n)},at:function(e,t,n){return";"==e?M(n):"{"==e||"}"==e?A(e,t,n):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},interpolation:function(e,t,n){return"}"==e?M(n):"{"==e||";"==e?A(e,t,n):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")}};return{startState:function(e){return{tokenize:null,state:i?"block":"top",stateArg:null,context:new S(i?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||k)(e,t);return n&&"object"==typeof n&&(r=n[1],n=n[0]),a=n,"comment"!=r&&(t.state=N[t.state](r,e,t)),a},indent:function(e,t){var n=e.context,i=t&&t.charAt(0),r=n.indent;return"prop"!=n.type||"}"!=i&&")"!=i||(n=n.prev),n.prev&&("}"!=i||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type?(")"!=i||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=i||"at"!=n.type&&"atBlock"!=n.type)||(r=Math.max(0,n.indent-o)):(n=n.prev,r=n.indent)),r},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:b,fold:"brace"}});var n=["domain","regexp","url","url-prefix"],i=t(n),r=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],a=t(r),o=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],s=t(o),l=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],c=t(l),u=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],d=t(u),f=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],p=t(f),h=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],m=t(h),g=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],v=t(g),y=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],b=t(y),w=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],x=t(w),k=n.concat(r).concat(o).concat(l).concat(u).concat(f).concat(y).concat(w);function _(e,t){var n,i=!1;while(null!=(n=e.next())){if(i&&"/"==n){t.tokenize=null;break}i="*"==n}return["comment","comment"]}e.registerHelper("hintWords","css",k),e.defineMIME("text/css",{documentTypes:i,mediaTypes:a,mediaFeatures:s,mediaValueKeywords:c,propertyKeywords:d,nonStandardPropertyKeywords:p,fontProperties:m,counterDescriptors:v,colorKeywords:b,valueKeywords:x,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=_,_(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:a,mediaFeatures:s,mediaValueKeywords:c,propertyKeywords:d,nonStandardPropertyKeywords:p,colorKeywords:b,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=_,_(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:a,mediaFeatures:s,mediaValueKeywords:c,propertyKeywords:d,nonStandardPropertyKeywords:p,colorKeywords:b,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=_,_(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:i,mediaTypes:a,mediaFeatures:s,propertyKeywords:d,nonStandardPropertyKeywords:p,fontProperties:m,counterDescriptors:v,colorKeywords:b,valueKeywords:x,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=_,_(e,t))}},name:"css",helperType:"gss"})})},"7bbc":function(e,t,n){var i=n("6821"),r=n("9093").f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(t){return o.slice()}};e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?s(e):r(i(e))}},"7cdf":function(e,t,n){var i=n("5ca1");i(i.S,"Number",{isInteger:n("9c12")})},"7f20":function(e,t,n){var i=n("86cc").f,r=n("69a8"),a=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,a)&&i(e,a,{configurable:!0,value:t})}},"7f25":function(e,t,n){var i=n("5ca1"),r=n("d6c6"),a=Math.sqrt,o=Math.acosh;i(i.S+i.F*!(o&&710==Math.floor(o(Number.MAX_VALUE))&&o(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:r(e-1+a(e-1)*a(e+1))}})},"7f7f":function(e,t,n){var i=n("86cc").f,r=Function.prototype,a=/^\s*function ([^ (]*)/,o="name";o in r||n("9e1e")&&i(r,o,{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(e){return""}}})},8079:function(e,t,n){var i=n("7726"),r=n("1991").set,a=i.MutationObserver||i.WebKitMutationObserver,o=i.process,s=i.Promise,l="process"==n("2d95")(o);e.exports=function(){var e,t,n,c=function(){var i,r;l&&(i=o.domain)&&i.exit();while(e){r=e.fn,e=e.next;try{r()}catch(a){throw e?n():t=void 0,a}}t=void 0,i&&i.enter()};if(l)n=function(){o.nextTick(c)};else if(!a||i.navigator&&i.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){r.call(i,c)};else{var d=!0,f=document.createTextNode("");new a(c).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(i){var r={fn:i,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}},8378:function(e,t){var n=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},8381:function(e,t,n){"use strict";var i=n("cb7c"),r=n("6a99"),a="number";e.exports=function(e){if("string"!==e&&e!==a&&"default"!==e)throw TypeError("Incorrect hint");return r(i(this),e!=a)}},"83a1":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},8449:function(e,t,n){"use strict";n("386b")("anchor",function(e){return function(t){return e(this,"a","name",t)}})},"84b4":function(e,t,n){var i=n("5ca1");i(i.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},"84f2":function(e,t){e.exports={}},8536:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.defineMode("ruby",function(t){function n(e){for(var t={},n=0,i=e.length;n]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==r&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if("$"==r)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(r))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if("|"!=r||!t.varList&&"{"!=t.lastTok&&"do"!=t.lastTok){if(/[\(\)\[\]{}\\;]/.test(r))return i=r,null;if("-"==r&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(r)){var d=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=r||d||(i="."),"operator"}return null}return i="|",null}function u(e){var t,n=e.pos,i=0,r=!1,a=!1;while(null!=(t=e.next()))if(a)a=!1;else{if("[{(".indexOf(t)>-1)i++;else if("]})".indexOf(t)>-1){if(i--,i<0)break}else if("/"==t&&0==i){r=!0;break}a="\\"==t}return e.backUp(e.pos-n),r}function d(e){return e||(e=1),function(t,n){if("}"==t.peek()){if(1==e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);n.tokenize[n.tokenize.length-1]=d(e-1)}else"{"==t.peek()&&(n.tokenize[n.tokenize.length-1]=d(e+1));return c(t,n)}}function f(){var e=!1;return function(t,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)):(e=!0,c(t,n))}}function p(e,t,n,i){return function(r,a){var o,s=!1;"read-quoted-paused"===a.context.type&&(a.context=a.context.prev,r.eat("}"));while(null!=(o=r.next())){if(o==e&&(i||!s)){a.tokenize.pop();break}if(n&&"#"==o&&!s){if(r.eat("{")){"}"==e&&(a.context={prev:a.context,type:"read-quoted-paused"}),a.tokenize.push(d());break}if(/[@\$]/.test(r.peek())){a.tokenize.push(f());break}}s=!s&&"\\"==o}return t}}function h(e,t){return function(n,i){return t&&n.eatSpace(),n.match(e)?i.tokenize.pop():n.skipToEnd(),"string"}}function m(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}return{startState:function(){return{tokenize:[c],indented:0,context:{type:"top",indented:-t.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,t){i=null,e.sol()&&(t.indented=e.indentation());var n,s=t.tokenize[t.tokenize.length-1](e,t),l=i;if("ident"==s){var c=e.current();s="."==t.lastTok?"property":r.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(c)?"tag":"def"==t.lastTok||"class"==t.lastTok||t.varList?"def":"variable","keyword"==s&&(l=c,a.propertyIsEnumerable(c)?n="indent":o.propertyIsEnumerable(c)?n="dedent":"if"!=c&&"unless"!=c||e.column()!=e.indentation()?"do"==c&&t.context.indentedr)X(e,n=i[r++],t[n]);return e},Y=function(e,t){return void 0===t?_(e):K(_(e),t)},Z=function(e){var t=z.call(this,e=x(e,!0));return!(this===q&&r(j,e)&&!r(R,e))&&(!(t||!r(this,e)||!r(j,e)||r(this,I)&&this[I][e])||t)},Q=function(e,t){if(e=w(e),t=x(t,!0),e!==q||!r(j,t)||r(R,t)){var n=E(e,t);return!n||!r(j,t)||r(e,I)&&e[I][t]||(n.enumerable=!0),n}},J=function(e){var t,n=L(w(e)),i=[],a=0;while(n.length>a)r(j,t=n[a++])||t==I||t==l||i.push(t);return i},ee=function(e){var t,n=e===q,i=L(n?R:w(e)),a=[],o=0;while(i.length>o)!r(j,t=i[o++])||n&&!r(q,t)||a.push(j[t]);return a};B||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(R,n),r(this,I)&&r(this[I],e)&&(this[I][e]=!1),U(this,e,k(1,n))};return a&&W&&U(q,e,{configurable:!0,set:t}),V(e)},s(N[P],"toString",function(){return this._k}),S.f=Q,T.f=X,n("9093").f=C.f=J,n("52a7").f=Z,n("2621").f=ee,a&&!n("2d00")&&s(q,"propertyIsEnumerable",Z,!0),h.f=function(e){return V(p(e))}),o(o.G+o.W+o.F*!B,{Symbol:N});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=M(p.store),re=0;ie.length>re;)m(ie[re++]);o(o.S+o.F*!B,"Symbol",{for:function(e){return r($,e+="")?$[e]:$[e]=N(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in $)if($[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),o(o.S+o.F*!B,"Object",{create:Y,defineProperty:X,defineProperties:K,getOwnPropertyDescriptor:Q,getOwnPropertyNames:J,getOwnPropertySymbols:ee}),D&&o(o.S+o.F*(!B||c(function(){var e=N();return"[null]"!=O([e])||"{}"!=O({a:e})||"{}"!=O(Object(e))})),"JSON",{stringify:function(e){var t,n,i=[e],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=t=i[1],(b(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,O.apply(D,i)}}),N[P][F]||n("32e9")(N[P],F,N[P].valueOf),d(N,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},"8b97":function(e,t,n){var i=n("d3f4"),r=n("cb7c"),a=function(e,t){if(r(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{i=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),i(e,[]),t=!(e instanceof Array)}catch(r){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:a}},"8df4":function(e,t,n){"use strict";var i=n("7a77");function r(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new i(e),t(n.reason))})}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e,t=new r(function(t){e=t});return{token:t,cancel:e}},e.exports=r},"8e6e":function(e,t,n){var i=n("5ca1"),r=n("990b"),a=n("6821"),o=n("11e9"),s=n("f1ae");i(i.S,"Object",{getOwnPropertyDescriptors:function(e){var t,n,i=a(e),l=o.f,c=r(i),u={},d=0;while(c.length>d)n=l(i,t=c[d++]),void 0!==n&&s(u,t,n);return u}})},"8eb3":function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.defineMode("lua",function(e,t){var n=e.indentUnit;function i(e){return new RegExp("^(?:"+e.join("|")+")","i")}function r(e){return new RegExp("^(?:"+e.join("|")+")$","i")}var a=r(t.specials||[]),o=r(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),s=r(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),l=r(["function","if","repeat","do","\\(","{"]),c=r(["end","until","\\)","}"]),u=i(["end","until","\\)","}","else","elseif"]);function d(e){var t=0;while(e.eat("="))++t;return e.eat("["),t}function f(e,t){var n=e.next();return"-"==n&&e.eat("-")?e.eat("[")&&e.eat("[")?(t.cur=p(d(e),"comment"))(e,t):(e.skipToEnd(),"comment"):'"'==n||"'"==n?(t.cur=h(n))(e,t):"["==n&&/[\[=]/.test(e.peek())?(t.cur=p(d(e),"string"))(e,t):/\d/.test(n)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(n)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null}function p(e,t){return function(n,i){var r,a=null;while(null!=(r=n.next()))if(null==a)"]"==r&&(a=0);else if("="==r)++a;else{if("]"==r&&a==e){i.cur=f;break}a=null}return t}}function h(e){return function(t,n){var i,r=!1;while(null!=(i=t.next())){if(i==e&&!r)break;r=!r&&"\\"==i}return r||(n.cur=f),"string"}}return{startState:function(e){return{basecol:e||0,indentDepth:0,cur:f}},token:function(e,t){if(e.eatSpace())return null;var n=t.cur(e,t),i=e.current();return"variable"==n&&(s.test(i)?n="keyword":o.test(i)?n="builtin":a.test(i)&&(n="variable-2")),"comment"!=n&&"string"!=n&&(l.test(i)?++t.indentDepth:c.test(i)&&--t.indentDepth),n},indent:function(e,t){var i=u.test(t);return e.basecol+n*(e.indentDepth-(i?1:0))},lineComment:"--",blockCommentStart:"--[[",blockCommentEnd:"]]"}}),e.defineMIME("text/x-lua","lua")})},"8f94":function(e,t,n){!function(t,i){e.exports=i(n("56b3"))}(0,function(e){return function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=3)}([function(t,n){t.exports=e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=function(e){return e&&e.__esModule?e:{default:e}}(i),a=window.CodeMirror||r.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),i=1;i=0?n:0,t)}return e.string.substr(0,e.pos-1)}function i(e,t){var n=e.string.length,i=n-e.pos+1;return e.string.substr(e.pos,t&&t=(n=e.string.length-1)?e.pos=n:e.pos=i}e.defineMode("perl",function(){var e={"->":4,"++":4,"--":4,"**":4,"=~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"<<":4,">>":4,"<":4,">":4,"<=":4,">=":4,lt:4,gt:4,le:4,ge:4,"==":4,"!=":4,"<=>":4,eq:4,ne:4,cmp:4,"~~":4,"&":4,"|":4,"^":4,"&&":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"=":4,"+=":4,"-=":4,"*=":4,",":4,"=>":4,"::":4,not:4,and:4,or:4,xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$<":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$>":5,$a:5,$b:5,$COMPILING:5,"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$&":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$=":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,"$]":5,if:[1,1],elsif:[1,1],else:[1,1],while:[1,1],unless:[1,1],for:[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,break:1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,continue:[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,default:1,defined:1,delete:1,die:1,do:1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,goto:1,grep:1,hex:1,import:1,index:1,int:1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,new:1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,package:1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,return:1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},a="string-2",o=/[goseximacplud]/;function s(e,t,n,i,r){return t.chain=null,t.style=null,t.tail=null,t.tokenize=function(e,t){var a,o=!1,s=0;while(a=e.next()){if(a===n[s]&&!o)return void 0!==n[++s]?(t.chain=n[s],t.style=i,t.tail=r):r&&e.eatWhile(r),t.tokenize=c,i;o=!o&&"\\"==a}return i},t.tokenize(e,t)}function l(e,t,n){return t.tokenize=function(e,t){return e.string==n&&(t.tokenize=c),e.skipToEnd(),"string"},t.tokenize(e,t)}function c(c,u){if(c.eatSpace())return null;if(u.chain)return s(c,u,u.chain,u.style,u.tail);if(c.match(/^\-?[\d\.]/,!1)&&c.match(/^(\-?(\d*\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F]+|0b[01]+|\d+(e[+-]?\d+)?)/))return"number";if(c.match(/^<<(?=\w)/))return c.eatWhile(/\w/),l(c,u,c.current().substr(2));if(c.sol()&&c.match(/^\=item(?!\w)/))return l(c,u,"=cut");var d=c.next();if('"'==d||"'"==d){if(n(c,3)=="<<"+d){var f=c.pos;c.eatWhile(/\w/);var p=c.current().substr(1);if(p&&c.eat(d))return l(c,u,p);c.pos=f}return s(c,u,[d],"string")}if("q"==d){var h=t(c,-2);if(!h||!/\w/.test(h))if(h=t(c,0),"x"==h){if(h=t(c,1),"("==h)return r(c,2),s(c,u,[")"],a,o);if("["==h)return r(c,2),s(c,u,["]"],a,o);if("{"==h)return r(c,2),s(c,u,["}"],a,o);if("<"==h)return r(c,2),s(c,u,[">"],a,o);if(/[\^'"!~\/]/.test(h))return r(c,1),s(c,u,[c.eat(h)],a,o)}else if("q"==h){if(h=t(c,1),"("==h)return r(c,2),s(c,u,[")"],"string");if("["==h)return r(c,2),s(c,u,["]"],"string");if("{"==h)return r(c,2),s(c,u,["}"],"string");if("<"==h)return r(c,2),s(c,u,[">"],"string");if(/[\^'"!~\/]/.test(h))return r(c,1),s(c,u,[c.eat(h)],"string")}else if("w"==h){if(h=t(c,1),"("==h)return r(c,2),s(c,u,[")"],"bracket");if("["==h)return r(c,2),s(c,u,["]"],"bracket");if("{"==h)return r(c,2),s(c,u,["}"],"bracket");if("<"==h)return r(c,2),s(c,u,[">"],"bracket");if(/[\^'"!~\/]/.test(h))return r(c,1),s(c,u,[c.eat(h)],"bracket")}else if("r"==h){if(h=t(c,1),"("==h)return r(c,2),s(c,u,[")"],a,o);if("["==h)return r(c,2),s(c,u,["]"],a,o);if("{"==h)return r(c,2),s(c,u,["}"],a,o);if("<"==h)return r(c,2),s(c,u,[">"],a,o);if(/[\^'"!~\/]/.test(h))return r(c,1),s(c,u,[c.eat(h)],a,o)}else if(/[\^'"!~\/(\[{<]/.test(h)){if("("==h)return r(c,1),s(c,u,[")"],"string");if("["==h)return r(c,1),s(c,u,["]"],"string");if("{"==h)return r(c,1),s(c,u,["}"],"string");if("<"==h)return r(c,1),s(c,u,[">"],"string");if(/[\^'"!~\/]/.test(h))return s(c,u,[c.eat(h)],"string")}}if("m"==d){h=t(c,-2);if((!h||!/\w/.test(h))&&(h=c.eat(/[(\[{<\^'"!~\/]/),h)){if(/[\^'"!~\/]/.test(h))return s(c,u,[h],a,o);if("("==h)return s(c,u,[")"],a,o);if("["==h)return s(c,u,["]"],a,o);if("{"==h)return s(c,u,["}"],a,o);if("<"==h)return s(c,u,[">"],a,o)}}if("s"==d){h=/[\/>\]})\w]/.test(t(c,-2));if(!h&&(h=c.eat(/[(\[{<\^'"!~\/]/),h))return s(c,u,"["==h?["]","]"]:"{"==h?["}","}"]:"<"==h?[">",">"]:"("==h?[")",")"]:[h,h],a,o)}if("y"==d){h=/[\/>\]})\w]/.test(t(c,-2));if(!h&&(h=c.eat(/[(\[{<\^'"!~\/]/),h))return s(c,u,"["==h?["]","]"]:"{"==h?["}","}"]:"<"==h?[">",">"]:"("==h?[")",")"]:[h,h],a,o)}if("t"==d){h=/[\/>\]})\w]/.test(t(c,-2));if(!h&&(h=c.eat("r"),h&&(h=c.eat(/[(\[{<\^'"!~\/]/),h)))return s(c,u,"["==h?["]","]"]:"{"==h?["}","}"]:"<"==h?[">",">"]:"("==h?[")",")"]:[h,h],a,o)}if("`"==d)return s(c,u,[d],"variable-2");if("/"==d)return/~\s*$/.test(n(c))?s(c,u,[d],a,o):"operator";if("$"==d){f=c.pos;if(c.eatWhile(/\d/)||c.eat("{")&&c.eatWhile(/\d/)&&c.eat("}"))return"variable-2";c.pos=f}if(/[$@%]/.test(d)){f=c.pos;if(c.eat("^")&&c.eat(/[A-Z]/)||!/[@$%&]/.test(t(c,-2))&&c.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){h=c.current();if(e[h])return"variable-2"}c.pos=f}if(/[$@%&]/.test(d)&&(c.eatWhile(/[\w$\[\]]/)||c.eat("{")&&c.eatWhile(/[\w$\[\]]/)&&c.eat("}"))){h=c.current();return e[h]?"variable-2":"variable"}if("#"==d&&"$"!=t(c,-2))return c.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(d)){f=c.pos;if(c.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),e[c.current()])return"operator";c.pos=f}if("_"==d&&1==c.pos){if("_END__"==i(c,6))return s(c,u,["\0"],"comment");if("_DATA__"==i(c,7))return s(c,u,["\0"],"variable-2");if("_C__"==i(c,7))return s(c,u,["\0"],"string")}if(/\w/.test(d)){f=c.pos;if("{"==t(c,-2)&&("}"==t(c,0)||c.eatWhile(/\w/)&&"}"==t(c,0)))return"string";c.pos=f}if(/[A-Z]/.test(d)){var m=t(c,-2);f=c.pos;if(c.eatWhile(/[A-Z_]/),!/[\da-z]/.test(t(c,0))){h=e[c.current()];return h?(h[1]&&(h=h[0]),":"!=m?1==h?"keyword":2==h?"def":3==h?"atom":4==h?"operator":5==h?"variable-2":"meta":"meta"):"meta"}c.pos=f}if(/[a-zA-Z_]/.test(d)){m=t(c,-2);c.eatWhile(/\w/);h=e[c.current()];return h?(h[1]&&(h=h[0]),":"!=m?1==h?"keyword":2==h?"def":3==h?"atom":4==h?"operator":5==h?"variable-2":"meta":"meta"):"meta"}return null}return{startState:function(){return{tokenize:c,chain:null,style:null,tail:null}},token:function(e,t){return(t.tokenize||c)(e,t)},lineComment:"#"}}),e.registerHelper("wordChars","perl",/[\w$]/),e.defineMIME("text/x-perl","perl")})},9093:function(e,t,n){var i=n("ce10"),r=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},"90ef":function(e,t,n){"use strict";var i=n("eb6c"),r=n.n(i);r.a},"91ca":function(e,t,n){var i=n("96fb"),r=Math.pow,a=r(2,-52),o=r(2,-23),s=r(2,127)*(2-o),l=r(2,-126),c=function(e){return e+1/a-1/a};e.exports=Math.fround||function(e){var t,n,r=Math.abs(e),u=i(e);return rs||n!=n?u*(1/0):u*n)}},9253:function(e,t,n){var i=n("86cc"),r=n("11e9"),a=n("38fd"),o=n("69a8"),s=n("5ca1"),l=n("4630"),c=n("cb7c"),u=n("d3f4");function d(e,t,n){var s,f,p=arguments.length<4?e:arguments[3],h=r.f(c(e),t);if(!h){if(u(f=a(e)))return d(f,t,n,p);h=l(0)}if(o(h,"value")){if(!1===h.writable||!u(p))return!1;if(s=r.f(p,t)){if(s.get||s.set||!1===s.writable)return!1;s.value=n,i.f(p,t,s)}else i.f(p,t,l(0,n));return!0}return void 0!==h.set&&(h.set.call(p,n),!0)}s(s.S,"Reflect",{set:d})},9275:function(e,t,n){var i=n("5ca1"),r=n("8b97");r&&i(i.S,"Reflect",{setPrototypeOf:function(e,t){r.check(e,t);try{return r.set(e,t),!0}catch(n){return!1}}})},9278:function(e,t,n){var i=n("5ca1");i(i.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},"959b":function(e,t,n){(function(e){e(n("56b3"),n("d5e0"),n("f040"))})(function(e){"use strict";e.defineMode("markdown",function(t,n){var i=e.getMode(t,"text/html"),r="null"==i.name;function a(n){if(e.findModeByName){var i=e.findModeByName(n);i&&(n=i.mime||i.mimes[0])}var r=e.getMode(t,n);return"null"==r.name?null:r}void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.emoji&&(n.emoji=!1),void 0===n.fencedCodeBlockHighlighting&&(n.fencedCodeBlockHighlighting=!0),void 0===n.xml&&(n.xml=!0),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var o={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var s in o)o.hasOwnProperty(s)&&n.tokenTypeOverrides[s]&&(o[s]=n.tokenTypeOverrides[s]);var l=/^([*\-_])(?:\s*\1){2,}\s*$/,c=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,u=/^\[(x| )\](?=\s)/i,d=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,f=/^ *(?:\={1,}|-{1,})\s*$/,p=/^[^#!\[\]*_\\<>` "'(~:]+/,h=/^(~~~+|```+)[ \t]*([\w+#-]*)[^\n`]*$/,m=/^\s*\[[^\]]+?\]:.*$/,g=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,v=" ";function y(e,t,n){return t.f=t.inline=n,n(e,t)}function b(e,t,n){return t.f=t.block=n,n(e,t)}function w(e){return!e||!/\S/.test(e.string)}function x(t){if(t.linkTitle=!1,t.linkHref=!1,t.linkText=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==_){var n=r;if(!n){var a=e.innerMode(i,t.htmlState);n="xml"==a.mode.name&&null===a.state.tagStart&&!a.state.context&&a.state.tokenize.isInText}n&&(t.f=M,t.block=k,t.htmlState=null)}return t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function k(t,i){var r=t.column()===i.indentation,s=w(i.prevLine.stream),p=i.indentedCode,g=i.prevLine.hr,v=!1!==i.list,b=(i.listStack[i.listStack.length-1]||0)+3;i.indentedCode=!1;var x=i.indentation;if(null===i.indentationDiff&&(i.indentationDiff=i.indentation,v)){i.em=!1,i.strong=!1,i.code=!1,i.strikethrough=!1,i.list=null;while(x=4&&(p||i.prevLine.fencedCodeEnd||i.prevLine.header||s))return t.skipToEnd(),i.indentedCode=!0,o.code;if(t.eatSpace())return null;if(r&&i.indentation<=b&&(T=t.match(d))&&T[1].length<=6)return i.quote=0,i.header=T[1].length,i.thisLine.header=!0,n.highlightFormatting&&(i.formatting="header"),i.f=i.inline,S(i);if(i.indentation<=b&&t.eat(">"))return i.quote=r?1:i.quote+1,n.highlightFormatting&&(i.formatting="quote"),t.eatSpace(),S(i);if(!_&&!i.setext&&r&&i.indentation<=b&&(T=t.match(c))){var M=T[1]?"ol":"ul";return i.indentation=x+t.current().length,i.list=!0,i.quote=0,i.listStack.push(i.indentation),n.taskLists&&t.match(u,!1)&&(i.taskList=!0),i.f=i.inline,n.highlightFormatting&&(i.formatting=["list","list-"+M]),S(i)}return r&&i.indentation<=b&&(T=t.match(h,!0))?(i.quote=0,i.fencedEndRE=new RegExp(T[1]+"+ *$"),i.localMode=n.fencedCodeBlockHighlighting&&a(T[2]),i.localMode&&(i.localState=e.startState(i.localMode)),i.f=i.block=C,n.highlightFormatting&&(i.formatting="code-block"),i.code=-1,S(i)):i.setext||!(k&&v||i.quote||!1!==i.list||i.code||_||m.test(t.string))&&(T=t.lookAhead(1))&&(T=T.match(f))?(i.setext?(i.header=i.setext,i.setext=0,t.skipToEnd(),n.highlightFormatting&&(i.formatting="header")):(i.header="="==T[0].charAt(0)?1:2,i.setext=i.header),i.thisLine.header=!0,i.f=i.inline,S(i)):_?(t.skipToEnd(),i.hr=!0,i.thisLine.hr=!0,o.hr):"["===t.peek()?y(t,i,D):y(t,i,i.inline)}function _(t,n){var a=i.token(t,n.htmlState);if(!r){var o=e.innerMode(i,n.htmlState);("xml"==o.mode.name&&null===o.state.tagStart&&!o.state.context&&o.state.tokenize.isInText||n.md_inside&&t.current().indexOf(">")>-1)&&(n.f=M,n.block=k,n.htmlState=null)}return a}function C(e,t){var i,r=t.listStack[t.listStack.length-1]||0,a=t.indentation=e.quote?t.push(o.formatting+"-"+e.formatting[i]+"-"+e.quote):t.push("error"))}if(e.taskOpen)return t.push("meta"),t.length?t.join(" "):null;if(e.taskClosed)return t.push("property"),t.length?t.join(" "):null;if(e.linkHref?t.push(o.linkHref,"url"):(e.strong&&t.push(o.strong),e.em&&t.push(o.em),e.strikethrough&&t.push(o.strikethrough),e.emoji&&t.push(o.emoji),e.linkText&&t.push(o.linkText),e.code&&t.push(o.code),e.image&&t.push(o.image),e.imageAltText&&t.push(o.imageAltText,"link"),e.imageMarker&&t.push(o.imageMarker)),e.header&&t.push(o.header,o.header+"-"+e.header),e.quote&&(t.push(o.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(o.quote+"-"+e.quote):t.push(o.quote+"-"+n.maxBlockquoteDepth)),!1!==e.list){var r=(e.listStack.length-1)%3;r?1===r?t.push(o.list2):t.push(o.list3):t.push(o.list1)}return e.trailingSpaceNewLine?t.push("trailing-space-new-line"):e.trailingSpace&&t.push("trailing-space-"+(e.trailingSpace%2?"a":"b")),t.length?t.join(" "):null}function T(e,t){if(e.match(p,!0))return S(t)}function M(t,r){var a=r.text(t,r);if("undefined"!==typeof a)return a;if(r.list)return r.list=null,S(r);if(r.taskList){var s=" "===t.match(u,!0)[1];return s?r.taskOpen=!0:r.taskClosed=!0,n.highlightFormatting&&(r.formatting="task"),r.taskList=!1,S(r)}if(r.taskOpen=!1,r.taskClosed=!1,r.header&&t.match(/^#+$/,!0))return n.highlightFormatting&&(r.formatting="header"),S(r);var l=t.next();if(r.linkTitle){r.linkTitle=!1;var c=l;"("===l&&(c=")"),c=(c+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var d="^\\s*(?:[^"+c+"\\\\]+|\\\\\\\\|\\\\.)"+c;if(t.match(new RegExp(d),!0))return o.linkHref}if("`"===l){var f=r.formatting;n.highlightFormatting&&(r.formatting="code"),t.eatWhile("`");var p=t.current().length;if(0!=r.code||r.quote&&1!=p){if(p==r.code){var h=S(r);return r.code=0,h}return r.formatting=f,S(r)}return r.code=p,S(r)}if(r.code)return S(r);if("\\"===l&&(t.next(),n.highlightFormatting)){var m=S(r),v=o.formatting+"-escape";return m?m+" "+v:v}if("!"===l&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return r.imageMarker=!0,r.image=!0,n.highlightFormatting&&(r.formatting="image"),S(r);if("["===l&&r.imageMarker&&t.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return r.imageMarker=!1,r.imageAltText=!0,n.highlightFormatting&&(r.formatting="image"),S(r);if("]"===l&&r.imageAltText){n.highlightFormatting&&(r.formatting="image");m=S(r);return r.imageAltText=!1,r.image=!1,r.inline=r.f=A,m}if("["===l&&!r.image)return r.linkText&&t.match(/^.*?\]/)?S(r):(r.linkText=!0,n.highlightFormatting&&(r.formatting="link"),S(r));if("]"===l&&r.linkText){n.highlightFormatting&&(r.formatting="link");m=S(r);return r.linkText=!1,r.inline=r.f=t.match(/\(.*?\)| ?\[.*?\]/,!1)?A:M,m}if("<"===l&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=E,n.highlightFormatting&&(r.formatting="link");m=S(r);return m?m+=" ":m="",m+o.linkInline}if("<"===l&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=E,n.highlightFormatting&&(r.formatting="link");m=S(r);return m?m+=" ":m="",m+o.linkEmail}if(n.xml&&"<"===l&&t.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var y=t.string.indexOf(">",t.pos);if(-1!=y){var w=t.string.substring(t.start,y);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(w)&&(r.md_inside=!0)}return t.backUp(1),r.htmlState=e.startState(i),b(t,r,_)}if(n.xml&&"<"===l&&t.match(/^\/\w*?>/))return r.md_inside=!1,"tag";if("*"===l||"_"===l){var x=1,k=1==t.pos?" ":t.string.charAt(t.pos-2);while(x<3&&t.eat(l))x++;var C=t.peek()||" ",T=!/\s/.test(C)&&(!g.test(C)||/\s/.test(k)||g.test(k)),L=!/\s/.test(k)&&(!g.test(k)||/\s/.test(C)||g.test(C)),N=null,D=null;if(x%2&&(r.em||!T||"*"!==l&&L&&!g.test(k)?r.em!=l||!L||"*"!==l&&T&&!g.test(C)||(N=!1):N=!0),x>1&&(r.strong||!T||"*"!==l&&L&&!g.test(k)?r.strong!=l||!L||"*"!==l&&T&&!g.test(C)||(D=!1):D=!0),null!=D||null!=N){n.highlightFormatting&&(r.formatting=null==N?"strong":null==D?"em":"strong em"),!0===N&&(r.em=l),!0===D&&(r.strong=l);h=S(r);return!1===N&&(r.em=!1),!1===D&&(r.strong=!1),h}}else if(" "===l&&(t.eat("*")||t.eat("_"))){if(" "===t.peek())return S(r);t.backUp(1)}if(n.strikethrough)if("~"===l&&t.eatWhile(l)){if(r.strikethrough){n.highlightFormatting&&(r.formatting="strikethrough");h=S(r);return r.strikethrough=!1,h}if(t.match(/^[^\s]/,!1))return r.strikethrough=!0,n.highlightFormatting&&(r.formatting="strikethrough"),S(r)}else if(" "===l&&t.match(/^~~/,!0)){if(" "===t.peek())return S(r);t.backUp(2)}if(n.emoji&&":"===l&&t.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){r.emoji=!0,n.highlightFormatting&&(r.formatting="emoji");var O=S(r);return r.emoji=!1,O}return" "===l&&(t.match(/^ +$/,!1)?r.trailingSpace++:r.trailingSpace&&(r.trailingSpaceNewLine=!0)),S(r)}function E(e,t){var i=e.next();if(">"===i){t.f=t.inline=M,n.highlightFormatting&&(t.formatting="link");var r=S(t);return r?r+=" ":r="",r+o.linkInline}return e.match(/^[^>]+/,!0),o.linkInline}function A(e,t){if(e.eatSpace())return null;var i=e.next();return"("===i||"["===i?(t.f=t.inline=N("("===i?")":"]"),n.highlightFormatting&&(t.formatting="link-string"),t.linkHref=!0,S(t)):"error"}var L={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function N(e){return function(t,i){var r=t.next();if(r===e){i.f=i.inline=M,n.highlightFormatting&&(i.formatting="link-string");var a=S(i);return i.linkHref=!1,a}return t.match(L[e]),i.linkHref=!0,S(i)}}function D(e,t){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(t.f=O,e.next(),n.highlightFormatting&&(t.formatting="link"),t.linkText=!0,S(t)):y(e,t,M)}function O(e,t){if(e.match(/^\]:/,!0)){t.f=t.inline=P,n.highlightFormatting&&(t.formatting="link");var i=S(t);return t.linkText=!1,i}return e.match(/^([^\]\\]|\\.)+/,!0),o.linkText}function P(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),void 0===e.peek()?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),t.f=t.inline=M,o.linkHref+" url")}var I={startState:function(){return{f:k,prevLine:{stream:null},thisLine:{stream:null},block:k,htmlState:null,indentation:0,inline:M,text:T,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(t){return{f:t.f,prevLine:t.prevLine,thisLine:t.thisLine,block:t.block,htmlState:t.htmlState&&e.copyState(i,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkText:t.linkText,linkTitle:t.linkTitle,linkHref:t.linkHref,code:t.code,em:t.em,strong:t.strong,strikethrough:t.strikethrough,emoji:t.emoji,header:t.header,setext:t.setext,hr:t.hr,taskList:t.taskList,list:t.list,listStack:t.listStack.slice(0),quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside,fencedEndRE:t.fencedEndRE}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine.stream){if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0))return x(t),null;if(t.prevLine=t.thisLine,t.thisLine={stream:e},t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,!t.localState&&(t.f=t.block,t.f!=_)){var n=e.match(/^\s*/,!0)[0].replace(/\t/g,v).length;if(t.indentation=n,t.indentationDiff=null,n>0)return null}}return t.f(e,t)},innerMode:function(e){return e.block==_?{state:e.htmlState,mode:i}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:I}},indent:function(t,n,r){return t.block==_&&i.indent?i.indent(t.htmlState,n,r):t.localState&&t.localMode.indent?t.localMode.indent(t.localState,n,r):e.Pass},blankLine:x,getType:S,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return I},"xml"),e.defineMIME("text/markdown","markdown"),e.defineMIME("text/x-markdown","markdown")})},"96cf":function(e,t){!function(t){"use strict";var n,i=Object.prototype,r=i.hasOwnProperty,a="function"===typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag",c="object"===typeof e,u=t.regeneratorRuntime;if(u)c&&(e.exports=u);else{u=t.regeneratorRuntime=c?e.exports:{},u.wrap=w;var d="suspendedStart",f="suspendedYield",p="executing",h="completed",m={},g={};g[o]=function(){return this};var v=Object.getPrototypeOf,y=v&&v(v(D([])));y&&y!==i&&r.call(y,o)&&(g=y);var b=C.prototype=k.prototype=Object.create(g);_.prototype=b.constructor=C,C.constructor=_,C[l]=_.displayName="GeneratorFunction",u.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,C):(e.__proto__=C,l in e||(e[l]="GeneratorFunction")),e.prototype=Object.create(b),e},u.awrap=function(e){return{__await:e}},S(T.prototype),T.prototype[s]=function(){return this},u.AsyncIterator=T,u.async=function(e,t,n,i){var r=new T(w(e,t,n,i));return u.isGeneratorFunction(t)?r:r.next().then(function(e){return e.done?e.value:r.next()})},S(b),b[l]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},u.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var i=t.pop();if(i in e)return n.value=i,n.done=!1,n}return n.done=!0,n}},u.values=D,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(L),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function i(i,r){return s.type="throw",s.arg=e,t.next=i,r&&(t.method="next",t.arg=n),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;L(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:D(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=n),m}}}function w(e,t,n,i){var r=t&&t.prototype instanceof k?t:k,a=Object.create(r.prototype),o=new N(i||[]);return a._invoke=M(e,n,o),a}function x(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(i){return{type:"throw",arg:i}}}function k(){}function _(){}function C(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function T(e){function t(n,i,a,o){var s=x(e[n],e,i);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"===typeof c&&r.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(c).then(function(e){l.value=e,a(l)},function(e){return t("throw",e,a,o)})}o(s.arg)}var n;function i(e,i){function r(){return new Promise(function(n,r){t(e,i,n,r)})}return n=n?n.then(r,r):r()}this._invoke=i}function M(e,t,n){var i=d;return function(r,a){if(i===p)throw new Error("Generator is already running");if(i===h){if("throw"===r)throw a;return O()}n.method=r,n.arg=a;while(1){var o=n.delegate;if(o){var s=E(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=p;var l=x(e,t,n);if("normal"===l.type){if(i=n.done?h:f,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=h,n.method="throw",n.arg=l.arg)}}}function E(e,t){var i=e.iterator[t.method];if(i===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,E(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var r=x(i,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,m;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function D(e){if(e){var t=e[o];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function t(){while(++i0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},"990b":function(e,t,n){var i=n("9093"),r=n("2621"),a=n("cb7c"),o=n("7726").Reflect;e.exports=o&&o.ownKeys||function(e){var t=i.f(a(e)),n=r.f;return n?t.concat(n(e)):t}},9986:function(e,t,n){var i=n("6821"),r=n("11e9").f;n("5eda")("getOwnPropertyDescriptor",function(){return function(e,t){return r(i(e),t)}})},"9aea":function(e,t,n){var i=n("d3f4"),r=n("67ab").onFreeze;n("5eda")("preventExtensions",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},"9b1d":function(e,t,n){},"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,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"9c12":function(e,t,n){var i=n("d3f4"),r=Math.floor;e.exports=function(e){return!i(e)&&isFinite(e)&&r(e)===e}},"9c29":function(e,t,n){n("ec30")("Uint32",4,function(e){return function(t,n,i){return e(this,t,n,i)}})},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),e.exports=function(e){r[i][e]=!0}},"9c80":function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},"9c86":function(e,t,n){"use strict";n("386b")("big",function(e){return function(){return e(this,"big","","")}})},"9d65":function(e,t,n){},"9def":function(e,t,n){var i=n("4588"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"9e65":function(e,t,n){},"9eb9":function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.overlayMode=function(t,n,i){return{startState:function(){return{base:e.startState(t),overlay:e.startState(n),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(i){return{base:e.copyState(t,i.base),overlay:e.copyState(n,i.overlay),basePos:i.basePos,baseCur:null,overlayPos:i.overlayPos,overlayCur:null}},token:function(e,r){return(e!=r.streamSeen||Math.min(r.basePos,r.overlayPos)>8-s%1*8)){if(n=a.charCodeAt(s+=.75),n>255)throw new r;t=t<<8|n}return o}r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",e.exports=a},a032:function(e,t,n){"use strict";var i=n("5ca1"),r=n("02f4")(!1);i(i.P,"String",{codePointAt:function(e){return r(this,e)}})},a04d:function(e,t,n){"use strict";var i=n("15fb"),r=n.n(i);r.a},a0bd:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.defineMode("coffeescript",function(e,t){var n="error";function i(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var r=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,a=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,o=/^[_A-Za-z$][_A-Za-z$0-9]*/,s=/^@[_A-Za-z$][_A-Za-z$0-9]*/,l=i(["and","or","not","is","isnt","in","instanceof","typeof"]),c=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],u=["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"],d=i(c.concat(u));c=i(c);var f=/^('{3}|\"{3}|['\"])/,p=/^(\/{3}|\/)/,h=["Infinity","NaN","undefined","null","true","false","on","off","yes","no"],m=i(h);function g(e,t){if(e.sol()){null===t.scope.align&&(t.scope.align=!1);var i=t.scope.offset;if(e.eatSpace()){var c=e.indentation();return c>i&&"coffee"==t.scope.type?"indent":c0&&w(e,t)}if(e.eatSpace())return null;var u=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return t.tokenize=y,t.tokenize(e,t);if("#"===u)return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var h=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(h=!0),e.match(/^-?\d+\.\d*/)&&(h=!0),e.match(/^-?\.\d+/)&&(h=!0),h)return"."==e.peek()&&e.backUp(1),"number";var g=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(g=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(g=!0),e.match(/^-?0(?![\dx])/i)&&(g=!0),g)return"number"}if(e.match(f))return t.tokenize=v(e.current(),!1,"string"),t.tokenize(e,t);if(e.match(p)){if("/"!=e.current()||e.match(/^.*\//,!1))return t.tokenize=v(e.current(),!0,"string-2"),t.tokenize(e,t);e.backUp(1)}return e.match(r)||e.match(l)?"operator":e.match(a)?"punctuation":e.match(m)?"atom":e.match(s)||t.prop&&e.match(o)?"property":e.match(d)?"keyword":e.match(o)?"variable":(e.next(),n)}function v(e,i,r){return function(a,o){while(!a.eol())if(a.eatWhile(/[^'"\/\\]/),a.eat("\\")){if(a.next(),i&&a.eol())return r}else{if(a.match(e))return o.tokenize=g,r;a.eat(/['"\/]/)}return i&&(t.singleLineStringErrors?r=n:o.tokenize=g),r}}function y(e,t){while(!e.eol()){if(e.eatWhile(/[^#]/),e.match("###")){t.tokenize=g;break}e.eatWhile("#")}return"comment"}function b(t,n,i){i=i||"coffee";for(var r=0,a=!1,o=null,s=n.scope;s;s=s.prev)if("coffee"===s.type||"}"==s.type){r=s.offset+e.indentUnit;break}"coffee"!==i?(a=null,o=t.column()+t.current().length):n.scope.align&&(n.scope.align=!1),n.scope={offset:r,type:i,prev:n.scope,align:a,alignOffset:o}}function w(e,t){if(t.scope.prev){if("coffee"===t.scope.type){for(var n=e.indentation(),i=!1,r=t.scope;r;r=r.prev)if(n===r.offset){i=!0;break}if(!i)return!0;while(t.scope.prev&&t.scope.offset!==n)t.scope=t.scope.prev;return!1}return t.scope=t.scope.prev,!1}}function x(e,t){var i=t.tokenize(e,t),r=e.current();"return"===r&&(t.dedent=!0),(("->"===r||"=>"===r)&&e.eol()||"indent"===i)&&b(e,t);var a="[({".indexOf(r);if(-1!==a&&b(e,t,"])}".slice(a,a+1)),c.exec(r)&&b(e,t),"then"==r&&w(e,t),"dedent"===i&&w(e,t))return n;if(a="])}".indexOf(r),-1!==a){while("coffee"==t.scope.type&&t.scope.prev)t.scope=t.scope.prev;t.scope.type==r&&(t.scope=t.scope.prev)}return t.dedent&&e.eol()&&("coffee"==t.scope.type&&t.scope.prev&&(t.scope=t.scope.prev),t.dedent=!1),i}var k={startState:function(e){return{tokenize:g,scope:{offset:e||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,t){var n=null===t.scope.align&&t.scope;n&&e.sol()&&(n.align=!1);var i=x(e,t);return i&&"comment"!=i&&(n&&(n.align=!0),t.prop="punctuation"==i&&"."==e.current()),i},indent:function(e,t){if(e.tokenize!=g)return 0;var n=e.scope,i=t&&"])}".indexOf(t.charAt(0))>-1;if(i)while("coffee"==n.type&&n.prev)n=n.prev;var r=i&&n.type===t.charAt(0);return n.align?n.alignOffset-(r?1:0):(r?n.prev:n).offset},lineComment:"#",fold:"indent"};return k}),e.defineMIME("application/vnd.coffeescript","coffeescript"),e.defineMIME("text/x-coffeescript","coffeescript"),e.defineMIME("text/coffeescript","coffeescript")})},a19f:function(e,t,n){var i=n("5ca1"),r=n("cb7c"),a=Object.preventExtensions;i(i.S,"Reflect",{preventExtensions:function(e){r(e);try{return a&&a(e),!0}catch(t){return!1}}})},a25f:function(e,t,n){var i=n("7726"),r=i.navigator;e.exports=r&&r.userAgent||""},a481:function(e,t,n){"use strict";var i=n("cb7c"),r=n("4bf8"),a=n("9def"),o=n("4588"),s=n("0390"),l=n("5f1b"),c=Math.max,u=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g,h=function(e){return void 0===e?e:String(e)};n("214f")("replace",2,function(e,t,n,m){return[function(i,r){var a=e(this),o=void 0==i?void 0:i[t];return void 0!==o?o.call(i,a,r):n.call(String(a),i,r)},function(e,t){var r=m(n,e,this,t);if(r.done)return r.value;var d=i(e),f=String(this),p="function"===typeof t;p||(t=String(t));var v=d.global;if(v){var y=d.unicode;d.lastIndex=0}var b=[];while(1){var w=l(d,f);if(null===w)break;if(b.push(w),!v)break;var x=String(w[0]);""===x&&(d.lastIndex=s(f,a(d.lastIndex),y))}for(var k="",_=0,C=0;C=_&&(k+=f.slice(_,T)+N,_=T+S.length)}return k+f.slice(_)}];function g(e,t,i,a,o,s){var l=i+e.length,c=a.length,u=p;return void 0!==o&&(o=r(o),u=f),n.call(s,u,function(n,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,i);case"'":return t.slice(l);case"<":s=o[r.slice(1,-1)];break;default:var u=+r;if(0===u)return n;if(u>c){var f=d(u/10);return 0===f?n:f<=c?void 0===a[f-1]?r.charAt(1):a[f-1]+r.charAt(1):n}s=a[u-1]}return void 0===s?"":s})}})},a5b8:function(e,t,n){"use strict";var i=n("d8e8");function r(e){var t,n;this.promise=new e(function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i}),this.resolve=i(t),this.reject=i(n)}e.exports.f=function(e){return new r(e)}},a69f:function(e,t,n){var i=n("5ca1");i(i.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},aa77:function(e,t,n){var i=n("5ca1"),r=n("be13"),a=n("79e5"),o=n("fdef"),s="["+o+"]",l="​…",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(e,t,n){var r={},s=a(function(){return!!o[e]()||l[e]()!=l}),c=r[e]=s?t(f):o[e];n&&(r[n]=c),i(i.P+i.F*s,"String",r)},f=d.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(u,"")),e};e.exports=d},aae3:function(e,t,n){var i=n("d3f4"),r=n("2d95"),a=n("2b4c")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==r(e))}},ac4d:function(e,t,n){n("3a72")("asyncIterator")},ac66:function(e,t,n){"use strict";var i=n("b7ab"),r=n.n(i);r.a},ac6a:function(e,t,n){for(var i=n("cadf"),r=n("0d58"),a=n("2aba"),o=n("7726"),s=n("32e9"),l=n("84f2"),c=n("2b4c"),u=c("iterator"),d=c("toStringTag"),f=l.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},h=r(p),m=0;m1?arguments[1]:void 0,i=r(t.length),l=void 0===n?i:Math.min(r(n),i),c=String(e);return s?s.call(t,c,l):t.slice(l-c.length,l)===c}})},af56:function(e,t,n){n("ec30")("Uint16",2,function(e){return function(t,n,i){return e(this,t,n,i)}})},b05c:function(e,t,n){n("ec30")("Int8",1,function(e){return function(t,n,i){return e(this,t,n,i)}})},b0c5:function(e,t,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},b1b1:function(e,t,n){var i=n("5ca1"),r=n("9c12"),a=Math.abs;i(i.S,"Number",{isSafeInteger:function(e){return r(e)&&a(e)<=9007199254740991}})},b39a:function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},b50d:function(e,t,n){"use strict";var i=n("c532"),r=n("467f"),a=n("30b5"),o=n("c345"),s=n("3934"),l=n("2d83"),c="undefined"!==typeof window&&window.btoa&&window.btoa.bind(window)||n("9fa6");e.exports=function(e){return new Promise(function(t,u){var d=e.data,f=e.headers;i.isFormData(d)&&delete f["Content-Type"];var p=new XMLHttpRequest,h="onreadystatechange",m=!1;if("undefined"===typeof window||!window.XDomainRequest||"withCredentials"in p||s(e.url)||(p=new window.XDomainRequest,h="onload",m=!0,p.onprogress=function(){},p.ontimeout=function(){}),e.auth){var g=e.auth.username||"",v=e.auth.password||"";f.Authorization="Basic "+c(g+":"+v)}if(p.open(e.method.toUpperCase(),a(e.url,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p[h]=function(){if(p&&(4===p.readyState||m)&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?o(p.getAllResponseHeaders()):null,i=e.responseType&&"text"!==e.responseType?p.response:p.responseText,a={data:i,status:1223===p.status?204:p.status,statusText:1223===p.status?"No Content":p.statusText,headers:n,config:e,request:p};r(t,u,a),p=null}},p.onerror=function(){u(l("Network Error",e,null,p)),p=null},p.ontimeout=function(){u(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",p)),p=null},i.isStandardBrowserEnv()){var y=n("7aac"),b=(e.withCredentials||s(e.url))&&e.xsrfCookieName?y.read(e.xsrfCookieName):void 0;b&&(f[e.xsrfHeaderName]=b)}if("setRequestHeader"in p&&i.forEach(f,function(e,t){"undefined"===typeof d&&"content-type"===t.toLowerCase()?delete f[t]:p.setRequestHeader(t,e)}),e.withCredentials&&(p.withCredentials=!0),e.responseType)try{p.responseType=e.responseType}catch(w){if("json"!==e.responseType)throw w}"function"===typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){p&&(p.abort(),u(e),p=null)}),void 0===d&&(d=null),p.send(d)})}},b54a:function(e,t,n){"use strict";n("386b")("link",function(e){return function(t){return e(this,"a","href",t)}})},b6e4:function(e,t,n){n("ec30")("Int32",4,function(e){return function(t,n,i){return e(this,t,n,i)}})},b7ab:function(e,t,n){},b9a1:function(e,t,n){"use strict";var i=n("5ca1"),r=n("4bf8"),a=n("6a99"),o=n("38fd"),s=n("11e9").f;n("9e1e")&&i(i.P+n("c5b4"),"Object",{__lookupGetter__:function(e){var t,n=r(this),i=a(e,!0);do{if(t=s(n,i))return t.get}while(n=o(n))}})},ba16:function(e,t,n){var i=n("5ca1"),r=n("11e9").f,a=n("cb7c");i(i.S,"Reflect",{deleteProperty:function(e,t){var n=r(a(e),t);return!(n&&!n.configurable)&&delete e[t]}})},ba92:function(e,t,n){"use strict";var i=n("4bf8"),r=n("77f1"),a=n("9def");e.exports=[].copyWithin||function(e,t){var n=i(this),o=a(n.length),s=r(e,o),l=r(t,o),c=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===c?o:r(c,o))-l,o-s),d=1;l0)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},bc3a:function(e,t,n){e.exports=n("cee4")},bcaa:function(e,t,n){var i=n("cb7c"),r=n("d3f4"),a=n("a5b8");e.exports=function(e,t){if(i(e),r(t)&&t.constructor===e)return t;var n=a.f(e),o=n.resolve;return o(t),n.promise}},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},c02b:function(e,t,n){"use strict";var i=n("643e"),r=n("b39a"),a="WeakSet";n("e0b8")(a,function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return i.def(r(this,a),e,!0)}},i,!1,!0)},c0e2:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";function t(e){for(var t={},n=0;n~^?!",s=":;,.(){}[]",l=/^\-?0b[01][01_]*/,c=/^\-?0o[0-7][0-7_]*/,u=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,d=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,f=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,p=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,h=/^\#[A-Za-z]+/,m=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;function g(e,t,g){if(e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;var v=e.peek();if("/"==v){if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return t.tokenize.push(b),b(e,t)}if(e.match(h))return"builtin";if(e.match(m))return"attribute";if(e.match(l))return"number";if(e.match(c))return"number";if(e.match(u))return"number";if(e.match(d))return"number";if(e.match(p))return"property";if(o.indexOf(v)>-1)return e.next(),"operator";if(s.indexOf(v)>-1)return e.next(),e.match(".."),"punctuation";if(v=e.match(/("{3}|"|')/)){var w=y(v[0]);return t.tokenize.push(w),w(e,t)}if(e.match(f)){var x=e.current();return a.hasOwnProperty(x)?"variable-2":r.hasOwnProperty(x)?"atom":n.hasOwnProperty(x)?(i.hasOwnProperty(x)&&(t.prev="define"),"keyword"):"define"==g?"def":"variable"}return e.next(),null}function v(){var e=0;return function(t,n,i){var r=g(t,n,i);if("punctuation"==r)if("("==t.current())++e;else if(")"==t.current()){if(0==e)return t.backUp(1),n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);--e}return r}}function y(e){var t=1==e.length;return function(n,i){var r,a=!1;while(r=n.next())if(a){if("("==r)return i.tokenize.push(v()),"string";a=!1}else{if(n.match(e))return i.tokenize.pop(),"string";a="\\"==r}return t&&i.tokenize.pop(),"string"}}function b(e,t){var n;while(1){if(e.match(/^[^\/*]+/,!0),n=e.next(),!n)break;"/"===n&&e.eat("*")?t.tokenize.push(b):"*"===n&&e.eat("/")&&t.tokenize.pop()}return"comment"}function w(e,t,n){this.prev=e,this.align=t,this.indented=n}function x(e,t){var n=t.match(/^\s*($|\/[\/\*])/,!1)?null:t.column()+1;e.context=new w(e.context,n,e.indented)}function k(e){e.context&&(e.indented=e.context.indented,e.context=e.context.prev)}e.defineMode("swift",function(e){return{startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(e,t){var n=t.prev;t.prev=null;var i=t.tokenize[t.tokenize.length-1]||g,r=i(e,t,n);if(r&&"comment"!=r?t.prev||(t.prev=r):t.prev=n,"punctuation"==r){var a=/[\(\[\{]|([\]\)\}])/.exec(e.current());a&&(a[1]?k:x)(t,e)}return r},indent:function(t,n){var i=t.context;if(!i)return 0;var r=/^[\]\}\)]/.test(n);return null!=i.align?i.align-(r?1:0):i.indented+(r?0:e.indentUnit)},electricInput:/^\s*[\)\}\]]$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace",closeBrackets:"()[]{}''\"\"``"}}),e.defineMIME("text/x-swift","swift")})},c0e6:function(e,t,n){},c26b:function(e,t,n){"use strict";var i=n("86cc").f,r=n("2aeb"),a=n("dcbc"),o=n("9b43"),s=n("f605"),l=n("4a59"),c=n("01f9"),u=n("d53b"),d=n("7a56"),f=n("9e1e"),p=n("67ab").fastKey,h=n("b39a"),m=f?"_s":"size",g=function(e,t){var n,i=p(t);if("F"!==i)return e._i[i];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var u=e(function(e,i){s(e,u,t,"_i"),e._t=t,e._i=r(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=i&&l(i,n,e[c],e)});return a(u.prototype,{clear:function(){for(var e=h(this,t),n=e._i,i=e._f;i;i=i.n)i.r=!0,i.p&&(i.p=i.p.n=void 0),delete n[i.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=h(this,t),i=g(n,e);if(i){var r=i.n,a=i.p;delete n._i[i.i],i.r=!0,a&&(a.n=r),r&&(r.p=a),n._f==i&&(n._f=r),n._l==i&&(n._l=a),n[m]--}return!!i},forEach:function(e){h(this,t);var n,i=o(e,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(e){return!!g(h(this,t),e)}}),f&&i(u.prototype,"size",{get:function(){return h(this,t)[m]}}),u},def:function(e,t,n){var i,r,a=g(e,t);return a?a.v=n:(e._l=a={i:r=p(t,!0),k:t,v:n,p:i=e._l,n:void 0,r:!1},e._f||(e._f=a),i&&(i.n=a),e[m]++,"F"!==r&&(e._i[r]=a)),e},getEntry:g,setStrong:function(e,t,n){c(e,t,function(e,n){this._t=h(e,t),this._k=n,this._l=void 0},function(){var e=this,t=e._k,n=e._l;while(n&&n.r)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?u(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(e._t=void 0,u(1))},n?"entries":"values",!n,!0),d(t)}}},c345:function(e,t,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"];e.exports=function(e){var t,n,a,o={};return e?(i.forEach(e.split("\n"),function(e){if(a=e.indexOf(":"),t=i.trim(e.substr(0,a)).toLowerCase(),n=i.trim(e.substr(a+1)),t){if(o[t]&&r.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([n]):o[t]?o[t]+", "+n:n}}),o):o}},c366:function(e,t,n){var i=n("6821"),r=n("9def"),a=n("77f1");e.exports=function(e){return function(t,n,o){var s,l=i(t),c=r(l.length),u=a(o,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},c401:function(e,t,n){"use strict";var i=n("c532");e.exports=function(e,t,n){return i.forEach(n,function(n){e=n(e,t)}),e}},c4a0:function(e,t,n){},c532:function(e,t,n){"use strict";var i=n("1d2b"),r=n("044b"),a=Object.prototype.toString;function o(e){return"[object Array]"===a.call(e)}function s(e){return"[object ArrayBuffer]"===a.call(e)}function l(e){return"undefined"!==typeof FormData&&e instanceof FormData}function c(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function u(e){return"string"===typeof e}function d(e){return"number"===typeof e}function f(e){return"undefined"===typeof e}function p(e){return null!==e&&"object"===typeof e}function h(e){return"[object Date]"===a.call(e)}function m(e){return"[object File]"===a.call(e)}function g(e){return"[object Blob]"===a.call(e)}function v(e){return"[object Function]"===a.call(e)}function y(e){return p(e)&&v(e.pipe)}function b(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function w(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function x(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function k(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var n=0,i=e.length;n2){t=y?t.trim():f(t,3);var n,i,r,a=t.charCodeAt(0);if(43===a||45===a){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===a){switch(t.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+t}for(var o,l=t.slice(2),c=0,u=l.length;cr)return NaN;return parseInt(l,i)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof h&&(v?l(function(){g.valueOf.call(n)}):a(n)!=p)?o(new m(b(t)),n,h):b(t)};for(var w,x=n("9e1e")?c(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),k=0;x.length>k;k++)r(m,w=x[k])&&!r(h,w)&&d(h,w,u(m,w));h.prototype=g,g.constructor=h,n("2aba")(i,p,h)}},c66f:function(e,t,n){"use strict";var i=n("5ca1"),r=n("0f88"),a=n("ed0b"),o=n("cb7c"),s=n("77f1"),l=n("9def"),c=n("d3f4"),u=n("7726").ArrayBuffer,d=n("ebd6"),f=a.ArrayBuffer,p=a.DataView,h=r.ABV&&u.isView,m=f.prototype.slice,g=r.VIEW,v="ArrayBuffer";i(i.G+i.W+i.F*(u!==f),{ArrayBuffer:f}),i(i.S+i.F*!r.CONSTR,v,{isView:function(e){return h&&h(e)||c(e)&&g in e}}),i(i.P+i.U+i.F*n("79e5")(function(){return!new f(2).slice(1,void 0).byteLength}),v,{slice:function(e,t){if(void 0!==m&&void 0===t)return m.call(o(this),e);var n=o(this).byteLength,i=s(e,n),r=s(void 0===t?n:t,n),a=new(d(this,f))(l(r-i)),c=new p(this),u=new p(a),h=0;while(i0?(i=n/l,a+=i*i):a+=n;return l===1/0?1/0:l*Math.sqrt(a)}})},c7c62:function(e,t,n){var i=n("5ca1"),r=n("2d5c"),a=Math.exp;i(i.S,"Math",{tanh:function(e){var t=r(e=+e),n=r(-e);return t==1/0?1:n==1/0?-1:(t-n)/(a(e)+a(-e))}})},c8af:function(e,t,n){"use strict";var i=n("c532");e.exports=function(e,t){i.forEach(e,function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])})}},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}e.exports=n},c8ce:function(e,t,n){var i=n("2b4c")("toPrimitive"),r=Date.prototype;i in r||n("32e9")(r,i,n("8381"))},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"),r=n("d53b"),a=n("84f2"),o=n("6821");e.exports=n("01f9")(Array,"Array",function(e,t){this._t=o(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,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.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}},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"),r=n("6821"),a=n("c366")(!1),o=n("613b")("IE_PROTO");e.exports=function(e,t){var n,s=r(e),l=0,c=[];for(n in s)n!=o&&i(s,n)&&c.push(n);while(t.length>l)i(s,n=t[l++])&&(~a(c,n)||c.push(n));return c}},ced0:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.defineMode("yaml",function(){var e=["true","false","on","off","yes","no"],t=new RegExp("\\b(("+e.join(")|(")+"))$","i");return{token:function(e,n){var i=e.peek(),r=n.escaped;if(n.escaped=!1,"#"==i&&(0==e.pos||/\s/.test(e.string.charAt(e.pos-1))))return e.skipToEnd(),"comment";if(e.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(n.literal&&e.indentation()>n.keyCol)return e.skipToEnd(),"string";if(n.literal&&(n.literal=!1),e.sol()){if(n.keyCol=0,n.pair=!1,n.pairStart=!1,e.match(/---/))return"def";if(e.match(/\.\.\./))return"def";if(e.match(/\s*-\s+/))return"meta"}if(e.match(/^(\{|\}|\[|\])/))return"{"==i?n.inlinePairs++:"}"==i?n.inlinePairs--:"["==i?n.inlineList++:n.inlineList--,"meta";if(n.inlineList>0&&!r&&","==i)return e.next(),"meta";if(n.inlinePairs>0&&!r&&","==i)return n.keyCol=0,n.pair=!1,n.pairStart=!1,e.next(),"meta";if(n.pairStart){if(e.match(/^\s*(\||\>)\s*/))return n.literal=!0,"meta";if(e.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(0==n.inlinePairs&&e.match(/^\s*-?[0-9\.\,]+\s?$/))return"number";if(n.inlinePairs>0&&e.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(e.match(t))return"keyword"}return!n.pair&&e.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(n.pair=!0,n.keyCol=e.indentation(),"atom"):n.pair&&e.match(/^:\s*/)?(n.pairStart=!0,"meta"):(n.pairStart=!1,n.escaped="\\"==i,e.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-yaml","yaml"),e.defineMIME("text/yaml","yaml")})},cee4:function(e,t,n){"use strict";var i=n("c532"),r=n("1d2b"),a=n("0a06"),o=n("2444");function s(e){var t=new a(e),n=r(a.prototype.request,t);return i.extend(n,a.prototype,t),i.extend(n,t),n}var l=s(o);l.Axios=a,l.create=function(e){return s(i.merge(o,e))},l.Cancel=n("7a77"),l.CancelToken=n("8df4"),l.isCancel=n("2e67"),l.all=function(e){return Promise.all(e)},l.spread=n("0df6"),e.exports=l,e.exports.default=l},cf6a:function(e,t,n){var i=n("d3f4"),r=n("67ab").onFreeze;n("5eda")("seal",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},d04f:function(e,t,n){n("7a56")("Array")},d0b0:function(e,t,n){"use strict";n("386b")("italics",function(e){return function(){return e(this,"i","","")}})},d185:function(e,t,n){var i=n("11e9"),r=n("38fd"),a=n("69a8"),o=n("5ca1"),s=n("d3f4"),l=n("cb7c");function c(e,t){var n,o,u=arguments.length<3?e:arguments[2];return l(e)===u?e[t]:(n=i.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(u):void 0:s(o=r(e))?c(o,t,u):void 0}o(o.S,"Reflect",{get:c})},d226:function(e,t,n){},d263:function(e,t,n){"use strict";n("386b")("fixed",function(e){return function(){return e(this,"tt","","")}})},d2c8:function(e,t,n){var i=n("aae3"),r=n("be13");e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d4c0:function(e,t,n){var i=n("0d58"),r=n("2621"),a=n("52a7");e.exports=function(e){var t=i(e),n=r.f;if(n){var o,s=n(e),l=a.f,c=0;while(s.length>c)l.call(e,o=s[c++])&&t.push(o)}return t}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d5e0:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(i,r){var a,o,s=i.indentUnit,l={},c=r.htmlMode?t:n;for(var u in c)l[u]=c[u];for(var u in r)l[u]=r[u];function d(e,t){function n(n){return t.tokenize=n,n(e,t)}var i,r=e.next();return"<"==r?e.eat("!")?e.eat("[")?e.match("CDATA[")?n(h("atom","]]>")):null:e.match("--")?n(h("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(m(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=h("meta","?>"),"meta"):(a=e.eat("/")?"closeTag":"openTag",t.tokenize=f,"tag bracket"):"&"==r?(i=e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"),i?"atom":"error"):(e.eatWhile(/[^&<]/),null)}function f(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=d,a=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return a="equals",null;if("<"==n){t.tokenize=d,t.state=b,t.tagName=t.tagStart=null;var i=t.tokenize(e,t);return i?i+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=p(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function p(e){var t=function(t,n){while(!t.eol())if(t.next()==e){n.tokenize=f;break}return"string"};return t.isInAttribute=!0,t}function h(e,t){return function(n,i){while(!n.eol()){if(n.match(t)){i.tokenize=d;break}n.next()}return e}}function m(e){return function(t,n){var i;while(null!=(i=t.next())){if("<"==i)return n.tokenize=m(e+1),n.tokenize(t,n);if(">"==i){if(1==e){n.tokenize=d;break}return n.tokenize=m(e-1),n.tokenize(t,n)}}return"meta"}}function g(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function v(e){e.context&&(e.context=e.context.prev)}function y(e,t){var n;while(1){if(!e.context)return;if(n=e.context.tagName,!l.contextGrabbers.hasOwnProperty(n)||!l.contextGrabbers[n].hasOwnProperty(t))return;v(e)}}function b(e,t,n){return"openTag"==e?(n.tagStart=t.column(),w):"closeTag"==e?x:b}function w(e,t,n){return"word"==e?(n.tagName=t.current(),o="tag",C):l.allowMissingTagName&&"endTag"==e?(o="tag bracket",C(e,t,n)):(o="error",w)}function x(e,t,n){if("word"==e){var i=t.current();return n.context&&n.context.tagName!=i&&l.implicitlyClosed.hasOwnProperty(n.context.tagName)&&v(n),n.context&&n.context.tagName==i||!1===l.matchClosing?(o="tag",k):(o="tag error",_)}return l.allowMissingTagName&&"endTag"==e?(o="tag bracket",k(e,t,n)):(o="error",_)}function k(e,t,n){return"endTag"!=e?(o="error",k):(v(n),b)}function _(e,t,n){return o="error",k(e,t,n)}function C(e,t,n){if("word"==e)return o="attribute",S;if("endTag"==e||"selfcloseTag"==e){var i=n.tagName,r=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(i)?y(n,i):(y(n,i),n.context=new g(n,i,r==n.indented)),b}return o="error",C}function S(e,t,n){return"equals"==e?T:(l.allowMissing||(o="error"),C(e,t,n))}function T(e,t,n){return"string"==e?M:"word"==e&&l.allowUnquoted?(o="string",C):(o="error",C(e,t,n))}function M(e,t,n){return"string"==e?M:C(e,t,n)}return d.isInText=!0,{startState:function(e){var t={tokenize:d,state:b,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;a=null;var n=t.tokenize(e,t);return(n||a)&&"comment"!=n&&(o=null,t.state=t.state(a||n,e,t),o&&(n="error"==o?n+" error":o)),n},indent:function(t,n,i){var r=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(r&&r.noIndent)return e.Pass;if(t.tokenize!=f&&t.tokenize!=d)return i?i.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(e){e.state==T&&(e.state=C)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},d69f:function(e,t,n){(function(e){e(n("56b3"),n("d5e0"),n("f9d4"),n("7b00"))})(function(e){"use strict";var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function n(e,t,n){var i=e.current(),r=i.search(t);return r>-1?e.backUp(i.length-r):i.match(/<\/?$/)&&(e.backUp(i.length),e.match(t,!1)||e.match(i)),n}var i={};function r(e){var t=i[e];return t||(i[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}function a(e,t){var n=e.match(r(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function o(e,t){return new RegExp((t?"^":"")+"","i")}function s(e,t){for(var n in e)for(var i=t[n]||(t[n]=[]),r=e[n],a=r.length-1;a>=0;a--)i.unshift(r[a])}function l(e,t){for(var n=0;n=0;f--)c.script.unshift(["type",d[f].matches,d[f].mode]);function p(t,r){var s,u=a.token(t,r.htmlState),d=/\btag\b/.test(u);if(d&&!/[<>\s\/]/.test(t.current())&&(s=r.htmlState.tagName&&r.htmlState.tagName.toLowerCase())&&c.hasOwnProperty(s))r.inTag=s+" ";else if(r.inTag&&d&&/>$/.test(t.current())){var f=/^([\S]+) (.*)/.exec(r.inTag);r.inTag=null;var h=">"==t.current()&&l(c[f[1]],f[2]),m=e.getMode(i,h),g=o(f[1],!0),v=o(f[1],!1);r.token=function(e,t){return e.match(g,!1)?(t.token=p,t.localState=t.localMode=null,null):n(e,v,t.localMode.token(e,t.localState))},r.localMode=m,r.localState=e.startState(m,a.indent(r.htmlState,"",""))}else r.inTag&&(r.inTag+=t.current(),t.eol()&&(r.inTag+=" "));return u}return{startState:function(){var t=e.startState(a);return{token:p,inTag:null,localMode:null,localState:null,htmlState:t}},copyState:function(t){var n;return t.localState&&(n=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:n,htmlState:e.copyState(a,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,n,i){return!t.localMode||/^\s*<\//.test(n)?a.indent(t.htmlState,n,i):t.localMode.indent?t.localMode.indent(t.localState,n,i):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||a}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},d6c6:function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},d752:function(e,t,n){var i=n("7726").parseFloat,r=n("aa77").trim;e.exports=1/i(n("fdef")+"-0")!==-1/0?function(e){var t=r(String(e),3),n=i(t);return 0===n&&"-"==t.charAt(0)?-0:n}:i},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},d925:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},d9ab:function(e,t,n){var i=n("5ca1"),r=Math.atanh;i(i.S+i.F*!(r&&1/r(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},db74:function(e,t,n){"use strict";var i=n("c0e6"),r=n.n(i);r.a},db91:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var n=t(["and","or","not","is"]),i=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],r=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];function a(e){return e.scopes[e.scopes.length-1]}e.registerHelper("hintWords","python",i.concat(r)),e.defineMode("python",function(o,s){for(var l="error",c=s.delimiters||s.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,u=[s.singleOperators,s.doubleOperators,s.doubleDelimiters,s.tripleDelimiters,s.operators||/^([-+*\/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@])/],d=0;di?C(t):r0&&T(e,t)&&(o+=" "+l),o}return x(e,t)}function x(e,t){if(e.eatSpace())return null;if(e.match(/^#.*/))return"comment";if(e.match(/^[0-9\.]/,!1)){var i=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(i=!0),e.match(/^[\d_]+\.\d*/)&&(i=!0),e.match(/^\.\d+/)&&(i=!0),i)return e.eat(/J/i),"number";var r=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(r=!0),e.match(/^0b[01_]+/i)&&(r=!0),e.match(/^0o[0-7_]+/i)&&(r=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),r=!0),e.match(/^0(?![\dx])/i)&&(r=!0),r)return e.eat(/L/i),"number"}if(e.match(v)){var a=-1!==e.current().toLowerCase().indexOf("f");return a?(t.tokenize=k(e.current(),t.tokenize),t.tokenize(e,t)):(t.tokenize=_(e.current(),t.tokenize),t.tokenize(e,t))}for(var o=0;o=0)e=e.substr(1);var n=1==e.length,i="string";function r(e){return function(t,n){var i=x(t,n);return"punctuation"==i&&("{"==t.current()?n.tokenize=r(e+1):"}"==t.current()&&(n.tokenize=e>1?r(e-1):a)),i}}function a(a,o){while(!a.eol())if(a.eatWhile(/[^'"\{\}\\]/),a.eat("\\")){if(a.next(),n&&a.eol())return i}else{if(a.match(e))return o.tokenize=t,i;if(a.match("{{"))return i;if(a.match("{",!1))return o.tokenize=r(0),a.current()?i:o.tokenize(a,o);if(a.match("}}"))return i;if(a.match("}"))return l;a.eat(/['"]/)}if(n){if(s.singleLineStringErrors)return l;o.tokenize=t}return i}return a.isString=!0,a}function _(e,t){while("rubf".indexOf(e.charAt(0).toLowerCase())>=0)e=e.substr(1);var n=1==e.length,i="string";function r(r,a){while(!r.eol())if(r.eatWhile(/[^'"\\]/),r.eat("\\")){if(r.next(),n&&r.eol())return i}else{if(r.match(e))return a.tokenize=t,i;r.eat(/['"]/)}if(n){if(s.singleLineStringErrors)return l;a.tokenize=t}return i}return r.isString=!0,r}function C(e){while("py"!=a(e).type)e.scopes.pop();e.scopes.push({offset:a(e).offset+o.indentUnit,type:"py",align:null})}function S(e,t,n){var i=e.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+f,type:n,align:i})}function T(e,t){var n=e.indentation();while(t.scopes.length>1&&a(t).offset>n){if("py"!=a(t).type)return!0;t.scopes.pop()}return a(t).offset!=n}function M(e,t){e.sol()&&(t.beginningOfLine=!0);var n=t.tokenize(e,t),i=e.current();if(t.beginningOfLine&&"@"==i)return e.match(g,!1)?"meta":m?"operator":l;if(/\S/.test(i)&&(t.beginningOfLine=!1),"variable"!=n&&"builtin"!=n||"meta"!=t.lastToken||(n="meta"),"pass"!=i&&"return"!=i||(t.dedent+=1),"lambda"==i&&(t.lambda=!0),":"!=i||t.lambda||"py"!=a(t).type||C(t),1==i.length&&!/string|comment/.test(n)){var r="[({".indexOf(i);if(-1!=r&&S(e,t,"])}".slice(r,r+1)),r="])}".indexOf(i),-1!=r){if(a(t).type!=i)return l;t.indent=t.scopes.pop().offset-f}}return t.dedent>0&&e.eol()&&"py"==a(t).type&&(t.scopes.length>1&&t.scopes.pop(),t.dedent-=1),n}var E={startState:function(e){return{tokenize:w,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,t){var n=t.errorToken;n&&(t.errorToken=!1);var i=M(e,t);return i&&"comment"!=i&&(t.lastToken="keyword"==i||"punctuation"==i?e.current():i),"punctuation"==i&&(i=null),e.eol()&&t.lambda&&(t.lambda=!1),n?i+" "+l:i},indent:function(t,n){if(t.tokenize!=w)return t.tokenize.isString?e.Pass:0;var i=a(t),r=i.type==n.charAt(0);return null!=i.align?i.align-(r?1:0):i.offset-(r?f:0)},electricInput:/^\s*[\}\]\)]$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"};return E}),e.defineMIME("text/x-python","python");var o=function(e){return e.split(" ")};e.defineMIME("text/x-cython",{name:"python",extra_keywords:o("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})},db97:function(e,t,n){var i=n("5ca1");i(i.S,"Object",{is:n("83a1")})},dc5b:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.defineMode("properties",function(){return{token:function(e,t){var n=e.sol()||t.afterSection,i=e.eol();if(t.afterSection=!1,n&&(t.nextMultiline?(t.inMultiline=!0,t.nextMultiline=!1):t.position="def"),i&&!t.nextMultiline&&(t.inMultiline=!1,t.position="def"),n)while(e.eatSpace());var r=e.next();return!n||"#"!==r&&"!"!==r&&";"!==r?n&&"["===r?(t.afterSection=!0,e.skipTo("]"),e.eat("]"),"header"):"="===r||":"===r?(t.position="quote",null):("\\"===r&&"quote"===t.position&&e.eol()&&(t.nextMultiline=!0),t.position):(t.position="comment",e.skipToEnd(),"comment")},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}}}),e.defineMIME("text/x-properties","properties"),e.defineMIME("text/x-ini","properties")})},dcbc:function(e,t,n){var i=n("2aba");e.exports=function(e,t,n){for(var r in t)i(e,r,t[r],n);return e}},de14:function(e,t,n){"use strict";var i=n("00f7"),r=n.n(i);r.a},df1b:function(e,t,n){var i=n("5ca1"),r=n("d8e8"),a=n("cb7c"),o=(n("7726").Reflect||{}).apply,s=Function.apply;i(i.S+i.F*!n("79e5")(function(){o(function(){})}),"Reflect",{apply:function(e,t,n){var i=r(e),l=a(n);return o?o(i,t,l):s.call(i,t,l)}})},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,i=e.length-1;i>=0;i--){var r=e[i];"."===r?e.splice(i,1):".."===r?(e.splice(i,1),n++):n&&(e.splice(i,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var i=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,r=function(e){return i.exec(e).slice(1)};function a(e,t){if(e.filter)return e.filter(t);for(var n=[],i=0;i=-1&&!i;r--){var o=r>=0?arguments[r]:e.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,i="/"===o.charAt(0))}return t=n(a(t.split("/"),function(e){return!!e}),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){var i=t.isAbsolute(e),r="/"===o(e,-1);return e=n(a(e.split("/"),function(e){return!!e}),!i).join("/"),e||i||(e="."),e&&r&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function i(e){for(var t=0;t=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var r=i(e.split("/")),a=i(n.split("/")),o=Math.min(r.length,a.length),s=o,l=0;l|[#\/]([A-Za-z_]\w*)/,token:"keyword"},{regex:/(?:else|this)\b/,token:"keyword"},{regex:/\d+/i,token:"number"},{regex:/=|~|@|true|false/,token:"atom"},{regex:/(?:\.\.\/)*(?:[A-Za-z_][\w\.]*)+/,token:"variable-2"}],dash_comment:[{regex:/--\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],comment:[{regex:/\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],meta:{blockCommentStart:"{{--",blockCommentEnd:"--}}"}}),e.defineMode("handlebars",function(t,n){var i=e.getMode(t,"handlebars-tags");return n&&n.base?e.multiplexingMode(e.getMode(t,n.base),{open:"{{",close:"}}",mode:i,parseDelimiters:!0}):i}),e.defineMIME("text/x-handlebars-template","handlebars")})},e2d5:function(e,t,n){},e4f7:function(e,t,n){var i=n("4bf8"),r=n("38fd");n("5eda")("getPrototypeOf",function(){return function(e){return r(i(e))}})},e683:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},e804:function(e,t,n){"use strict";var i=n("5ca1"),r=n("f1ae");i(i.S+i.F*n("79e5")(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);while(t>e)r(n,e,arguments[e++]);return n.length=t,n}})},e853:function(e,t,n){var i=n("d3f4"),r=n("1169"),a=n("2b4c")("species");e.exports=function(e){var t;return r(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&(t=t[a],null===t&&(t=void 0))),void 0===t?Array:t}},eb0c:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.multiplexingMode=function(t){var n=Array.prototype.slice.call(arguments,1);function i(e,t,n,i){if("string"==typeof t){var r=e.indexOf(t,n);return i&&r>-1?r+t.length:r}var a=t.exec(n?e.slice(n):e);return a?a.index+n+(i?a[0].length:0):-1}return{startState:function(){return{outer:e.startState(t),innerActive:null,inner:null}},copyState:function(n){return{outer:e.copyState(t,n.outer),innerActive:n.innerActive,inner:n.innerActive&&e.copyState(n.innerActive.mode,n.inner)}},token:function(r,a){if(a.innerActive){var o=a.innerActive;c=r.string;if(!o.close&&r.sol())return a.innerActive=a.inner=null,this.token(r,a);f=o.close?i(c,o.close,r.pos,o.parseDelimiters):-1;if(f==r.pos&&!o.parseDelimiters)return r.match(o.close),a.innerActive=a.inner=null,o.delimStyle&&o.delimStyle+" "+o.delimStyle+"-close";f>-1&&(r.string=c.slice(0,f));var s=o.mode.token(r,a.inner);return f>-1&&(r.string=c),f==r.pos&&o.parseDelimiters&&(a.innerActive=a.inner=null),o.innerStyle&&(s=s?s+" "+o.innerStyle:o.innerStyle),s}for(var l=1/0,c=r.string,u=0;un)r[n]=t[n++];return r},Pe=function(e,t,n){q(e,t,{get:function(){return this._d[n]}})},Ie=function(e){var t,n,i,r,a,o,s=k(e),l=arguments.length,u=l>1?arguments[1]:void 0,d=void 0!==u,f=M(s);if(void 0!=f&&!_(f)){for(o=f.call(s),i=[],t=0;!(a=o.next()).done;t++)i.push(a.value);s=i}for(d&&l>2&&(u=c(u,arguments[2],2)),t=0,n=m(s.length),r=Ne(this,n);n>t;t++)r[t]=d?u(s[t],t):s[t];return r},Fe=function(){var e=0,t=arguments.length,n=Ne(this,t);while(t>e)n[e]=arguments[e++];return n},ze=!!U&&a(function(){ve.call(new U(1))}),$e=function(){return ve.apply(ze?me.call(Le(this)):Le(this),arguments)},je={copyWithin:function(e,t){return $.call(Le(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return ne(Le(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return z.apply(Le(this),arguments)},filter:function(e){return De(this,ee(Le(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return ie(Le(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return re(Le(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){J(Le(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return oe(Le(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return ae(Le(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return pe.apply(Le(this),arguments)},lastIndexOf:function(e){return ue.apply(Le(this),arguments)},map:function(e){return Te(Le(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return de.apply(Le(this),arguments)},reduceRight:function(e){return fe.apply(Le(this),arguments)},reverse:function(){var e,t=this,n=Le(t).length,i=Math.floor(n/2),r=0;while(r1?arguments[1]:void 0)},sort:function(e){return he.call(Le(this),e)},subarray:function(e,t){var n=Le(this),i=n.length,r=v(e,i);return new(D(n,n[xe]))(n.buffer,n.byteOffset+r*n.BYTES_PER_ELEMENT,m((void 0===t?i:v(t,i))-r))}},Re=function(e,t){return De(this,me.call(Le(this),e,t))},qe=function(e){Le(this);var t=Ae(arguments[1],1),n=this.length,i=k(e),r=m(i.length),a=0;if(r+t>n)throw H(Se);while(a255?255:255&i),r.v[p](n*t+r.o,i,Me)},A=function(e,t){q(e,t,{get:function(){return M(this,t)},set:function(e){return E(this,t,e)},enumerable:!0})};b?(h=n(function(e,n,i,r){u(e,h,c,"_d");var a,o,s,l,d=0,p=0;if(x(n)){if(!(n instanceof Z||(l=w(n))==V||l==G))return _e in n?Oe(h,n):Ie.call(h,n);a=n,p=Ae(i,t);var v=n.byteLength;if(void 0===r){if(v%t)throw H(Se);if(o=v-p,o<0)throw H(Se)}else if(o=m(r)*t,o+p>v)throw H(Se);s=o/t}else s=g(n),o=s*t,a=new Z(o);f(e,"_d",{b:a,o:p,l:o,e:s,v:new Q(a)});while(d>1,u=23===t?L(2,-24)-L(2,-77):0,d=0,f=e<0||0===e&&1/e<0?1:0;for(e=A(e),e!=e||e===M?(r=e!=e?1:0,i=l):(i=N(D(e)/O),e*(a=L(2,-i))<1&&(i--,a*=2),e+=i+c>=1?u/a:u*L(2,1-c),e*a>=2&&(i++,a/=2),i+c>=l?(r=0,i=l):i+c>=1?(r=(e*a-1)*L(2,t),i+=c):(r=e*L(2,c-1)*L(2,t),i=0));t>=8;o[d++]=255&r,r/=256,t-=8);for(i=i<0;o[d++]=255&i,i/=256,s-=8);return o[--d]|=128*f,o}function q(e,t,n){var i,r=8*n-t-1,a=(1<>1,s=r-7,l=n-1,c=e[l--],u=127&c;for(c>>=7;s>0;u=256*u+e[l],l--,s-=8);for(i=u&(1<<-s)-1,u>>=-s,s+=t;s>0;i=256*i+e[l],l--,s-=8);if(0===u)u=1-o;else{if(u===a)return i?NaN:c?-M:M;i+=L(2,t),u-=o}return(c?-1:1)*i*L(2,u-t)}function B(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function H(e){return[255&e]}function W(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 R(e,52,8)}function G(e){return R(e,23,4)}function X(e,t,n){m(e[w],t,{get:function(){return this[n]}})}function K(e,t,n,i){var r=+n,a=p(r);if(a+t>e[$])throw T(k);var o=e[z]._b,s=a+e[j],l=o.slice(s,s+t);return i?l:l.reverse()}function Y(e,t,n,i,r,a){var o=+n,s=p(o);if(s+t>e[$])throw T(k);for(var l=e[z]._b,c=s+e[j],u=i(+r),d=0;dee;)(Z=J[ee++])in _||s(_,Z,E[Z]);a||(Q.constructor=_)}var te=new C(new _(2)),ne=C[w].setInt8;te.setInt8(0,2147483648),te.setInt8(1,2147483649),!te.getInt8(0)&&te.getInt8(1)||l(C[w],{setInt8:function(e,t){ne.call(this,e,t<<24>>24)},setUint8:function(e,t){ne.call(this,e,t<<24>>24)}},!0)}else _=function(e){u(this,_,y);var t=p(e);this._b=g.call(new Array(t),0),this[$]=t},C=function(e,t,n){u(this,C,b),u(e,_,b);var i=e[$],r=d(t);if(r<0||r>i)throw T("Wrong offset!");if(n=void 0===n?i-r:f(n),r+n>i)throw T(x);this[z]=e,this[j]=r,this[$]=n},r&&(X(_,I,"_l"),X(C,P,"_b"),X(C,I,"_l"),X(C,F,"_o")),l(C[w],{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 B(K(this,4,e,arguments[1]))},getUint32:function(e){return B(K(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return q(K(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return q(K(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,W,t,arguments[2])},setUint16:function(e,t){Y(this,2,e,W,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(_,y),v(C,b),s(C[w],o.VIEW,!0),t[y]=_,t[b]=C},ed50:function(e,t,n){"use strict";var i=n("5ca1"),r=n("2e08"),a=n("a25f"),o=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(a);i(i.P+i.F*o,"String",{padEnd:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},ee1d:function(e,t,n){var i=n("5ca1");i(i.S,"Number",{isNaN:function(e){return e!=e}})},eea5:function(e,t,n){"use strict";var i=n("c4a0"),r=n.n(i);r.a},f040:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"],alias:["objective-c","objc"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var t=0;t-1&&t.substring(r+1,t.length);if(a)return e.findModeByExtension(a)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n0?arguments[0]:void 0)}},{get:function(e){var t=i.getEntry(r(this,a),e);return t&&t.v},set:function(e,t){return i.def(r(this,a),0===e?0:e,t)}},i,!0)},f4ff:function(e,t,n){var i=n("5ca1"),r=Math.imul;i(i.S+i.F*n("79e5")(function(){return-5!=r(4294967295,5)||2!=r.length}),"Math",{imul:function(e,t){var n=65535,i=+e,r=+t,a=n&i,o=n&r;return 0|a*o+((n&i>>>16)*o+a*(n&r>>>16)<<16>>>0)}})},f559:function(e,t,n){"use strict";var i=n("5ca1"),r=n("9def"),a=n("d2c8"),o="startsWith",s=""[o];i(i.P+i.F*n("5147")(o),"String",{startsWith:function(e){var t=a(this,e,o),n=r(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return s?s.call(t,i,n):t.slice(n,n+i.length)===i}})},f576:function(e,t,n){"use strict";var i=n("5ca1"),r=n("2e08"),a=n("a25f"),o=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(a);i(i.P+i.F*o,"String",{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},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}},f669:function(e,t,n){"use strict";var i=n("2dba"),r=n.n(i);r.a},f6b3:function(e,t,n){var i=n("5ca1");i(i.S,"Reflect",{has:function(e,t){return t in e}})},f6b4:function(e,t,n){"use strict";var i=n("c532");function r(){this.handlers=[]}r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=r},f751:function(e,t,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},f9ab:function(e,t,n){var i=n("5ca1"),r=n("96fb");i(i.S,"Math",{cbrt:function(e){return r(e=+e)*Math.pow(Math.abs(e),1/3)}})},f9d4:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";e.defineMode("javascript",function(t,n){var i,r,a=t.indentUnit,o=n.statementIndent,s=n.jsonld,l=n.json||s,c=n.typescript,u=n.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),i=e("keyword c"),r=e("keyword d"),a=e("operator"),o={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:r,break:r,continue:r,new:e("new"),delete:i,void:i,throw:i,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:a,typeof:a,instanceof:a,true:o,false:o,null:o,undefined:o,NaN:o,Infinity:o,this:e("this"),class:e("class"),super:e("atom"),yield:i,export:e("export"),import:e("import"),extends:i,await:i}}(),f=/[+\-*&%=<>!?|~^@]/,p=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function h(e){var t,n=!1,i=!1;while(null!=(t=e.next())){if(!n){if("/"==t&&!i)return;"["==t?i=!0:i&&"]"==t&&(i=!1)}n=!n&&"\\"==t}}function m(e,t,n){return i=e,r=n,t}function g(e,t){var n=e.next();if('"'==n||"'"==n)return t.tokenize=v(n),t.tokenize(e,t);if("."==n&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return m("number","number");if("."==n&&e.match(".."))return m("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return m(n);if("="==n&&e.eat(">"))return m("=>","operator");if("0"==n&&e.match(/^(?:x[\da-f]+|o[0-7]+|b[01]+)n?/i))return m("number","number");if(/\d/.test(n))return e.match(/^\d*(?:n|(?:\.\d*)?(?:[eE][+\-]?\d+)?)?/),m("number","number");if("/"==n)return e.eat("*")?(t.tokenize=y,y(e,t)):e.eat("/")?(e.skipToEnd(),m("comment","comment")):Je(e,t,1)?(h(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),m("regexp","string-2")):(e.eat("="),m("operator","operator",e.current()));if("`"==n)return t.tokenize=b,b(e,t);if("#"==n)return e.skipToEnd(),m("error","error");if(f.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),m("operator","operator",e.current());if(u.test(n)){e.eatWhile(u);var i=e.current();if("."!=t.lastType){if(d.propertyIsEnumerable(i)){var r=d[i];return m(r.type,r.style,i)}if("async"==i&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return m("async","keyword",i)}return m("variable","variable",i)}}function v(e){return function(t,n){var i,r=!1;if(s&&"@"==t.peek()&&t.match(p))return n.tokenize=g,m("jsonld-keyword","meta");while(null!=(i=t.next())){if(i==e&&!r)break;r=!r&&"\\"==i}return r||(n.tokenize=g),m("string","string")}}function y(e,t){var n,i=!1;while(n=e.next()){if("/"==n&&i){t.tokenize=g;break}i="*"==n}return m("comment","comment")}function b(e,t){var n,i=!1;while(null!=(n=e.next())){if(!i&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=g;break}i=!i&&"\\"==n}return m("quasi","string-2",e.current())}var w="([{}])";function x(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(c){var i=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));i&&(n=i.index)}for(var r=0,a=!1,o=n-1;o>=0;--o){var s=e.string.charAt(o),l=w.indexOf(s);if(l>=0&&l<3){if(!r){++o;break}if(0==--r){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++r;else if(u.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!r){++o;break}}}a&&!r&&(t.fatArrowAt=o)}}var k={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function _(e,t,n,i,r,a){this.indented=e,this.column=t,this.type=n,this.prev=r,this.info=a,null!=i&&(this.align=i)}function C(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var i=e.context;i;i=i.prev)for(n=i.vars;n;n=n.next)if(n.name==t)return!0}function S(e,t,n,i,r){var a=e.cc;T.state=e,T.stream=r,T.marked=null,T.cc=a,T.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);while(1){var o=a.length?a.pop():l?W:B;if(o(n,i)){while(a.length&&a[a.length-1].lex)a.pop()();return T.marked?T.marked:"variable"==n&&C(e,i)?"variable-2":t}}}var T={state:null,column:null,marked:null,cc:null};function M(){for(var e=arguments.length-1;e>=0;e--)T.cc.push(arguments[e])}function E(){return M.apply(null,arguments),!0}function A(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function L(e){var t=T.state;if(T.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var i=N(e,t.context);if(null!=i)return void(t.context=i)}else if(!A(e,t.localVars))return void(t.localVars=new P(e,t.localVars));n.globalVars&&!A(e,t.globalVars)&&(t.globalVars=new P(e,t.globalVars))}function N(e,t){if(t){if(t.block){var n=N(e,t.prev);return n?n==t.prev?t:new O(n,t.vars,!0):null}return A(e,t.vars)?t:new O(t.prev,new P(e,t.vars),!1)}return null}function D(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function O(e,t,n){this.prev=e,this.vars=t,this.block=n}function P(e,t){this.name=e,this.next=t}var I=new P("this",new P("arguments",null));function F(){T.state.context=new O(T.state.context,T.state.localVars,!1),T.state.localVars=I}function z(){T.state.context=new O(T.state.context,T.state.localVars,!0),T.state.localVars=null}function $(){T.state.localVars=T.state.context.vars,T.state.context=T.state.context.prev}function j(e,t){var n=function(){var n=T.state,i=n.indented;if("stat"==n.lexical.type)i=n.lexical.indented;else for(var r=n.lexical;r&&")"==r.type&&r.align;r=r.prev)i=r.indented;n.lexical=new _(i,T.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function R(){var e=T.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function q(e){function t(n){return n==e?E():";"==e||"}"==n||")"==n||"]"==n?M():E(t)}return t}function B(e,t){return"var"==e?E(j("vardef",t),_e,q(";"),R):"keyword a"==e?E(j("form"),V,B,R):"keyword b"==e?E(j("form"),B,R):"keyword d"==e?T.stream.match(/^\s*$/,!1)?E():E(j("stat"),X,q(";"),R):"debugger"==e?E(q(";")):"{"==e?E(j("}"),z,de,R,$):";"==e?E():"if"==e?("else"==T.state.lexical.info&&T.state.cc[T.state.cc.length-1]==R&&T.state.cc.pop()(),E(j("form"),V,B,R,Ae)):"function"==e?E(Oe):"for"==e?E(j("form"),Le,B,R):"class"==e||c&&"interface"==t?(T.marked="keyword",E(j("form","class"==e?e:t),$e,R)):"variable"==e?c&&"declare"==t?(T.marked="keyword",E(B)):c&&("module"==t||"enum"==t||"type"==t)&&T.stream.match(/^\s*\w/,!1)?(T.marked="keyword","enum"==t?E(Ye):"type"==t?E(Ie,q("operator"),me,q(";")):E(j("form"),Ce,q("{"),j("}"),de,R,R)):c&&"namespace"==t?(T.marked="keyword",E(j("form"),W,B,R)):c&&"abstract"==t?(T.marked="keyword",E(B)):E(j("stat"),re):"switch"==e?E(j("form"),V,q("{"),j("}","switch"),z,de,R,R,$):"case"==e?E(W,q(":")):"default"==e?E(q(":")):"catch"==e?E(j("form"),F,H,B,R,$):"export"==e?E(j("stat"),Be,R):"import"==e?E(j("stat"),We,R):"async"==e?E(B):"@"==t?E(W,B):M(j("stat"),W,q(";"),R)}function H(e){if("("==e)return E(Fe,q(")"))}function W(e,t){return G(e,t,!1)}function U(e,t){return G(e,t,!0)}function V(e){return"("!=e?M():E(j(")"),W,q(")"),R)}function G(e,t,n){if(T.state.fatArrowAt==T.stream.start){var i=n?ee:J;if("("==e)return E(F,j(")"),ce(Fe,")"),R,q("=>"),i,$);if("variable"==e)return M(F,Ce,q("=>"),i,$)}var r=n?Y:K;return k.hasOwnProperty(e)?E(r):"function"==e?E(Oe,r):"class"==e||c&&"interface"==t?(T.marked="keyword",E(j("form"),ze,R)):"keyword c"==e||"async"==e?E(n?U:W):"("==e?E(j(")"),X,q(")"),R,r):"operator"==e||"spread"==e?E(n?U:W):"["==e?E(j("]"),Ke,R,r):"{"==e?ue(oe,"}",null,r):"quasi"==e?M(Z,r):"new"==e?E(te(n)):"import"==e?E(W):E()}function X(e){return e.match(/[;\}\)\],]/)?M():M(W)}function K(e,t){return","==e?E(W):Y(e,t,!1)}function Y(e,t,n){var i=0==n?K:Y,r=0==n?W:U;return"=>"==e?E(F,n?ee:J,$):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?E(i):c&&"<"==t&&T.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?E(j(">"),ce(me,">"),R,i):"?"==t?E(W,q(":"),r):E(r):"quasi"==e?M(Z,i):";"!=e?"("==e?ue(U,")","call",i):"."==e?E(ae,i):"["==e?E(j("]"),X,q("]"),R,i):c&&"as"==t?(T.marked="keyword",E(me,i)):"regexp"==e?(T.state.lastType=T.marked="operator",T.stream.backUp(T.stream.pos-T.stream.start-1),E(r)):void 0:void 0}function Z(e,t){return"quasi"!=e?M():"${"!=t.slice(t.length-2)?E(Z):E(W,Q)}function Q(e){if("}"==e)return T.marked="string-2",T.state.tokenize=b,E(Z)}function J(e){return x(T.stream,T.state),M("{"==e?B:W)}function ee(e){return x(T.stream,T.state),M("{"==e?B:U)}function te(e){return function(t){return"."==t?E(e?ie:ne):"variable"==t&&c?E(we,e?Y:K):M(e?U:W)}}function ne(e,t){if("target"==t)return T.marked="keyword",E(K)}function ie(e,t){if("target"==t)return T.marked="keyword",E(Y)}function re(e){return":"==e?E(R,B):M(K,q(";"),R)}function ae(e){if("variable"==e)return T.marked="property",E()}function oe(e,t){return"async"==e?(T.marked="property",E(oe)):"variable"==e||"keyword"==T.style?(T.marked="property","get"==t||"set"==t?E(se):(c&&T.state.fatArrowAt==T.stream.start&&(n=T.stream.match(/^\s*:\s*/,!1))&&(T.state.fatArrowAt=T.stream.pos+n[0].length),E(le))):"number"==e||"string"==e?(T.marked=s?"property":T.style+" property",E(le)):"jsonld-keyword"==e?E(le):c&&D(t)?(T.marked="keyword",E(oe)):"["==e?E(W,fe,q("]"),le):"spread"==e?E(U,le):"*"==t?(T.marked="keyword",E(oe)):":"==e?M(le):void 0;var n}function se(e){return"variable"!=e?M(le):(T.marked="property",E(Oe))}function le(e){return":"==e?E(U):"("==e?M(Oe):void 0}function ce(e,t,n){function i(r,a){if(n?n.indexOf(r)>-1:","==r){var o=T.state.lexical;return"call"==o.info&&(o.pos=(o.pos||0)+1),E(function(n,i){return n==t||i==t?M():M(e)},i)}return r==t||a==t?E():n&&n.indexOf(";")>-1?M(e):E(q(t))}return function(n,r){return n==t||r==t?E():M(e,i)}}function ue(e,t,n){for(var i=3;i"),me):void 0}function ge(e){if("=>"==e)return E(me)}function ve(e,t){return"variable"==e||"keyword"==T.style?(T.marked="property",E(ve)):"?"==t||"number"==e||"string"==e?E(ve):":"==e?E(me):"["==e?E(q("variable"),fe,q("]"),ve):"("==e?M(Pe,ve):void 0}function ye(e,t){return"variable"==e&&T.stream.match(/^\s*[?:]/,!1)||"?"==t?E(ye):":"==e?E(me):"spread"==e?E(ye):M(me)}function be(e,t){return"<"==t?E(j(">"),ce(me,">"),R,be):"|"==t||"."==e||"&"==t?E(me):"["==e?E(me,q("]"),be):"extends"==t||"implements"==t?(T.marked="keyword",E(me)):"?"==t?E(me,q(":"),me):void 0}function we(e,t){if("<"==t)return E(j(">"),ce(me,">"),R,be)}function xe(){return M(me,ke)}function ke(e,t){if("="==t)return E(me)}function _e(e,t){return"enum"==t?(T.marked="keyword",E(Ye)):M(Ce,fe,Me,Ee)}function Ce(e,t){return c&&D(t)?(T.marked="keyword",E(Ce)):"variable"==e?(L(t),E()):"spread"==e?E(Ce):"["==e?ue(Te,"]"):"{"==e?ue(Se,"}"):void 0}function Se(e,t){return"variable"!=e||T.stream.match(/^\s*:/,!1)?("variable"==e&&(T.marked="property"),"spread"==e?E(Ce):"}"==e?M():"["==e?E(W,q("]"),q(":"),Se):E(q(":"),Ce,Me)):(L(t),E(Me))}function Te(){return M(Ce,Me)}function Me(e,t){if("="==t)return E(U)}function Ee(e){if(","==e)return E(_e)}function Ae(e,t){if("keyword b"==e&&"else"==t)return E(j("form","else"),B,R)}function Le(e,t){return"await"==t?E(Le):"("==e?E(j(")"),Ne,R):void 0}function Ne(e){return"var"==e?E(_e,De):"variable"==e?E(De):M(De)}function De(e,t){return")"==e?E():";"==e?E(De):"in"==t||"of"==t?(T.marked="keyword",E(W,De)):M(W,De)}function Oe(e,t){return"*"==t?(T.marked="keyword",E(Oe)):"variable"==e?(L(t),E(Oe)):"("==e?E(F,j(")"),ce(Fe,")"),R,pe,B,$):c&&"<"==t?E(j(">"),ce(xe,">"),R,Oe):void 0}function Pe(e,t){return"*"==t?(T.marked="keyword",E(Pe)):"variable"==e?(L(t),E(Pe)):"("==e?E(F,j(")"),ce(Fe,")"),R,pe,$):c&&"<"==t?E(j(">"),ce(xe,">"),R,Pe):void 0}function Ie(e,t){return"keyword"==e||"variable"==e?(T.marked="type",E(Ie)):"<"==t?E(j(">"),ce(xe,">"),R):void 0}function Fe(e,t){return"@"==t&&E(W,Fe),"spread"==e?E(Fe):c&&D(t)?(T.marked="keyword",E(Fe)):c&&"this"==e?E(fe,Me):M(Ce,fe,Me)}function ze(e,t){return"variable"==e?$e(e,t):je(e,t)}function $e(e,t){if("variable"==e)return L(t),E(je)}function je(e,t){return"<"==t?E(j(">"),ce(xe,">"),R,je):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(T.marked="keyword"),E(c?me:W,je)):"{"==e?E(j("}"),Re,R):void 0}function Re(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&D(t))&&T.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(T.marked="keyword",E(Re)):"variable"==e||"keyword"==T.style?(T.marked="property",E(c?qe:Oe,Re)):"number"==e||"string"==e?E(c?qe:Oe,Re):"["==e?E(W,fe,q("]"),c?qe:Oe,Re):"*"==t?(T.marked="keyword",E(Re)):c&&"("==e?M(Pe,Re):";"==e||","==e?E(Re):"}"==e?E():"@"==t?E(W,Re):void 0}function qe(e,t){if("?"==t)return E(qe);if(":"==e)return E(me,Me);if("="==t)return E(U);var n=T.state.lexical.prev,i=n&&"interface"==n.info;return M(i?Pe:Oe)}function Be(e,t){return"*"==t?(T.marked="keyword",E(Xe,q(";"))):"default"==t?(T.marked="keyword",E(W,q(";"))):"{"==e?E(ce(He,"}"),Xe,q(";")):M(B)}function He(e,t){return"as"==t?(T.marked="keyword",E(q("variable"))):"variable"==e?M(U,He):void 0}function We(e){return"string"==e?E():"("==e?M(W):M(Ue,Ve,Xe)}function Ue(e,t){return"{"==e?ue(Ue,"}"):("variable"==e&&L(t),"*"==t&&(T.marked="keyword"),E(Ge))}function Ve(e){if(","==e)return E(Ue,Ve)}function Ge(e,t){if("as"==t)return T.marked="keyword",E(Ue)}function Xe(e,t){if("from"==t)return T.marked="keyword",E(W)}function Ke(e){return"]"==e?E():M(ce(U,"]"))}function Ye(){return M(j("form"),Ce,q("{"),j("}"),ce(Ze,"}"),R,R)}function Ze(){return M(Ce,Me)}function Qe(e,t){return"operator"==e.lastType||","==e.lastType||f.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}function Je(e,t,n){return t.tokenize==g&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return $.lex=!0,R.lex=!0,{startState:function(e){var t={tokenize:g,lastType:"sof",cc:[],lexical:new _((e||0)-a,0,"block",!1),localVars:n.localVars,context:n.localVars&&new O(null,null,!1),indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),x(e,t)),t.tokenize!=y&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==i?n:(t.lastType="operator"!=i||"++"!=r&&"--"!=r?i:"incdec",S(t,n,i,r,e))},indent:function(t,i){if(t.tokenize==y)return e.Pass;if(t.tokenize!=g)return 0;var r,s=i&&i.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(i))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==R)l=l.prev;else if(u!=Ae)break}while(("stat"==l.type||"form"==l.type)&&("}"==s||(r=t.cc[t.cc.length-1])&&(r==K||r==Y)&&!/^[,\.=+\-*:?[\(]/.test(i)))l=l.prev;o&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var d=l.type,f=s==d;return"vardef"==d?l.indented+("operator"==t.lastType||","==t.lastType?l.info.length+1:0):"form"==d&&"{"==s?l.indented:"form"==d?l.indented+a:"stat"==d?l.indented+(Qe(t,i)?o||a:0):"switch"!=l.info||f||0==n.doubleIndentSwitch?l.align?l.column+(f?0:1):l.indented+(f?0:a):l.indented+(/^(?:case|default)\b/.test(i)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:Je,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=W&&t!=U||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fa83:function(e,t,n){"use strict";n("386b")("blink",function(e){return function(){return e(this,"blink","","")}})},fab2:function(e,t,n){var i=n("7726").document;e.exports=i&&i.documentElement},fca0:function(e,t,n){var i=n("5ca1"),r=n("7726").isFinite;i(i.S,"Number",{isFinite:function(e){return"number"==typeof e&&r(e)}})},fd24:function(e,t,n){var i=n("5ca1");i(i.S,"Object",{setPrototypeOf:n("8b97").set})},fdef:function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},fee7:function(e,t,n){"use strict";var i=n("5ca1"),r=n("4bf8"),a=n("d8e8"),o=n("86cc");n("9e1e")&&i(i.P+n("c5b4"),"Object",{__defineSetter__:function(e,t){o.f(r(this),e,{set:a(t),enumerable:!0,configurable:!0})}})},ffc1:function(e,t,n){var i=n("5ca1"),r=n("504c")(!0);i(i.S,"Object",{entries:function(e){return r(e)}})},ffda:function(e,t,n){(function(e){e(n("56b3"))})(function(e){"use strict";function t(e){var t;while(null!=(t=e.next()))if("`"==t&&!e.eat("`"))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function n(e){var t;while(null!=(t=e.next()))if('"'==t&&!e.eat('"'))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function i(e){return e.eat("@")&&(e.match(/^session\./),e.match(/^local\./),e.match(/^global\./)),e.eat("'")?(e.match(/^.*'/),"variable-2"):e.eat('"')?(e.match(/^.*"/),"variable-2"):e.eat("`")?(e.match(/^.*`/),"variable-2"):e.match(/^[0-9a-zA-Z$\.\_]+/)?"variable-2":null}function r(e){return e.eat("N")?"atom":e.match(/^[a-zA-Z.#!?]/)?"variable-2":null}e.defineMode("sql",function(t,n){var i=n.client||{},r=n.atoms||{false:!0,true:!0,null:!0},l=n.builtin||o(s),c=n.keywords||o(a),u=n.operatorChars||/^[*+\-%<>!=&|~^\/]/,d=n.support||{},f=n.hooks||{},p=n.dateSQL||{date:!0,time:!0,timestamp:!0},h=!1!==n.backslashStringEscapes,m=n.brackets||/^[\{}\(\)\[\]]/,g=n.punctuation||/^[;.,:]/;function v(e,t){var n=e.next();if(f[n]){var a=f[n](e,t);if(!1!==a)return a}if(d.hexNumber&&("0"==n&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==n||"X"==n)&&e.match(/^'[0-9a-fA-F]+'/)))return"number";if(d.binaryNumber&&(("b"==n||"B"==n)&&e.match(/^'[01]+'/)||"0"==n&&e.match(/^b[01]+/)))return"number";if(n.charCodeAt(0)>47&&n.charCodeAt(0)<58)return e.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),d.decimallessFloat&&e.match(/^\.(?!\.)/),"number";if("?"==n&&(e.eatSpace()||e.eol()||e.eat(";")))return"variable-3";if("'"==n||'"'==n&&d.doubleQuote)return t.tokenize=y(n),t.tokenize(e,t);if((d.nCharCast&&("n"==n||"N"==n)||d.charsetCast&&"_"==n&&e.match(/[a-z][a-z0-9]*/i))&&("'"==e.peek()||'"'==e.peek()))return"keyword";if(d.commentSlashSlash&&"/"==n&&e.eat("/"))return e.skipToEnd(),"comment";if(d.commentHash&&"#"==n||"-"==n&&e.eat("-")&&(!d.commentSpaceRequired||e.eat(" ")))return e.skipToEnd(),"comment";if("/"==n&&e.eat("*"))return t.tokenize=b(1),t.tokenize(e,t);if("."!=n){if(u.test(n))return e.eatWhile(u),"operator";if(m.test(n))return"bracket";if(g.test(n))return e.eatWhile(g),"punctuation";if("{"==n&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";e.eatWhile(/^[_\w\d]/);var o=e.current().toLowerCase();return p.hasOwnProperty(o)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?"number":r.hasOwnProperty(o)?"atom":l.hasOwnProperty(o)?"builtin":c.hasOwnProperty(o)?"keyword":i.hasOwnProperty(o)?"string-2":null}return d.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i)?"number":e.match(/^\.+/)?null:d.ODBCdotTable&&e.match(/^[\w\d_]+/)?"variable-2":void 0}function y(e){return function(t,n){var i,r=!1;while(null!=(i=t.next())){if(i==e&&!r){n.tokenize=v;break}r=h&&!r&&"\\"==i}return"string"}}function b(e){return function(t,n){var i=t.match(/^.*?(\/\*|\*\/)/);return i?"/*"==i[1]?n.tokenize=b(e+1):n.tokenize=e>1?b(e-1):v:t.skipToEnd(),"comment"}}function w(e,t,n){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:n}}function x(e){e.indent=e.context.indent,e.context=e.context.prev}return{startState:function(){return{tokenize:v,context:null}},token:function(e,t){if(e.sol()&&t.context&&null==t.context.align&&(t.context.align=!1),t.tokenize==v&&e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"==n)return n;t.context&&null==t.context.align&&(t.context.align=!0);var i=e.current();return"("==i?w(e,t,")"):"["==i?w(e,t,"]"):t.context&&t.context.type==i&&x(t),n},indent:function(n,i){var r=n.context;if(!r)return e.Pass;var a=i.charAt(0)==r.type;return r.align?r.col+(a?0:1):r.indent+(a?0:t.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:d.commentSlashSlash?"//":d.commentHash?"#":"--",closeBrackets:"()[]{}''\"\"``"}});var a="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";function o(e){for(var t={},n=e.split(" "),i=0;i!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:\/]/,backslashStringEscapes:!1,dateSQL:o("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":i}}),e.defineMIME("text/x-mysql",{name:"sql",client:o("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:o(a+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:o("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":i,"`":t,"\\":r}}),e.defineMIME("text/x-mariadb",{name:"sql",client:o("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:o(a+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group groupby_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:o("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":i,"`":t,"\\":r}}),e.defineMIME("text/x-sqlite",{name:"sql",client:o("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:o(a+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:o("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:o("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|\/~]/,dateSQL:o("date time timestamp datetime"),support:o("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":i,":":i,"?":i,$:i,'"':n,"`":t}}),e.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:o("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:o("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:o("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:o("commentSlashSlash decimallessFloat"),hooks:{}}),e.defineMIME("text/x-plsql",{name:"sql",client:o("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:o("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:o("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:o("date time timestamp"),support:o("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),e.defineMIME("text/x-hive",{name:"sql",keywords:o("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"),builtin:o("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:o("date timestamp"),support:o("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-pgsql",{name:"sql",client:o("source"),keywords:o(a+"a abort abs absent absolute access according action ada add admin after aggregate all allocate also always analyse analyze any are array array_agg array_max_cardinality asensitive assertion assignment asymmetric at atomic attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli binary bit_length blob blocked bom both breadth c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain characteristics characters character_length character_set_catalog character_set_name character_set_schema char_length check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column columns column_name command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constraint constraints constraint_catalog constraint_name constraint_schema constructor contains content continue control conversion convert copy corr corresponding cost covar_pop covar_samp cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datetime_interval_code datetime_interval_precision day db deallocate dec declare default defaults deferrable deferred defined definer degree delimiter delimiters dense_rank depth deref derived describe descriptor deterministic diagnostics dictionary disable discard disconnect dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain dynamic dynamic_function dynamic_function_code each element else empty enable encoding encrypted end end-exec end_frame end_partition enforced enum equals escape event every except exception exclude excluding exclusive exec execute exists exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreign fortran forward found frame_row free freeze fs full function functions fusion g general generated get gettoken global go goto grant granted greatest grouping groups handler header headline hex hierarchy hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import including increment indent index indexes indicator inherit inherits init initially inline inner inout input insensitive instance instantiable instead integrity intersect intersection invoker isnull isolation k key key_member key_type label lag language large last last_value lateral lc_collate lc_ctype lead leading leakproof least left length level lexize lextypes library like_regex link listen ln load local localtime localtimestamp location locator lock locked logged lower m map mapping match matched materialized max maxvalue max_cardinality member merge message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized nothing notify notnull nowait nth_value ntile null nullable nullif nulls number object occurrences_regex octets octet_length of off offset oids old only open operator option options ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password percent percentile_cont percentile_disc percent_rank period permission placing plans pli policy portion position position_regex power precedes preceding prepare prepared preserve primary prior privileges procedural procedure program public publication quote range rank read reads reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict restricted result return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns revoke right role rollback rollup routine routine_catalog routine_name routine_schema row rows row_count row_number rule savepoint scale schema schema_name scope scope_catalog scope_name scope_schema scroll search second section security selective self sensitive sequence sequences serializable server server_name session session_user setof sets share show similar simple size skip snapshot some source space specific specifictype specific_name sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t tables tablesample tablespace table_name temp template temporary then ties timezone_hour timezone_minute to token top_level_count trailing transaction transactions_committed transactions_rolled_back transaction_active transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted unique unknown unlink unlisten unlogged unnamed unnest until untyped upper uri usage user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of varbinary variadic var_pop var_samp verbose version versioning view views volatile when whenever whitespace width_bucket window within work wrapper write xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes loop repeat attach path depends detach zone"),builtin:o("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:o("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-gql",{name:"sql",keywords:o("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:o("false true"),builtin:o("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),e.defineMIME("text/x-gpsql",{name:"sql",client:o("source"),keywords:o("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:o("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-sparksql",{name:"sql",keywords:o("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases datata dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:o("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:o("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable doubleQuote zerolessFloat")}),e.defineMIME("text/x-esper",{name:"sql",client:o("source"),keywords:o("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:o("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:o("time"),support:o("decimallessFloat zerolessFloat binaryNumber hexNumber")})})}}); +//# sourceMappingURL=app.a9fd7854.js.map \ No newline at end of file