diff --git a/README.md b/README.md new file mode 100644 index 0000000..40f1aad --- /dev/null +++ b/README.md @@ -0,0 +1,190 @@ +## README + +## Quiz +### 1. Introduction +This part of the experiment is specifically for assessment purposes. This allows for the creation of a quiz with multiple choice single answer questions. +These can be +* Pretest - Pre requisite quizzes +* Posttest - Testing the learning +* Learning Unit Quizzes - Quizzes to test the section's learning. +The format for the same is discussed below. + +### 2. Target Audience +This guide is meant for anyone creating a virtual lab and wanting to have a quiz section. + +### 3. Structure of quiz +The data for the quiz needs to be added to a json file pertaining the following specifications. +1. The quiz needs to have an array of objects, each object representing a question. As shown below +``` +"questions" : [ + { + "question" : "What is 1+2 ?", + "answers" : + { + "a" : 1, + "b" : 2, + "c" : 3, + "d" : 4 + }, + "correctAnswer" : c + } +] +``` +### 4. Quiz V2.0 (Enhancements done) +The new format of quiz has multiple new additions. The details for which have been described below. +The format of json would be as linked [here](./pretest.json) + +First we will look at the additional fields added + +### 4.1 Fields +* Mandatory Fields + * [version](#42-version) - Without which the enhanced quiz will not be rendered. + * [levels](#44-levels) - Adds difficulty level to each question (Allows for filtering) + +* Optional Fields + * [explanations](#43-explanations) - Adds an explanation to each answer. If wrong answer is choosen, only it's explanation pops up. If correct answer is choosen, all available explanations pop up. + +### 4.2 Version +The very first field is absolutely necessary. This ensures that the quiz supports the new features. +``` +"version": 2.0 +``` + +### 4.3 Explanations +Just like we mention answers, we can have a section for explanation so that they show up after an answer is marked. This is optional and can completely be left out. The three ways of defining (Assuming there are 4 answers a, b, c, d): + +1. All answers have explanations +``` +"explanations": { + "a" : "Explanation 1, + "b" : "Explanation 2" + "c" : "Explanation 3" + "d" : "Explanation 4" +}, +``` +2. Some answers have explanations +``` +"explanations": { + "a" : "Explanation 1, + "d" : "Explanation 4" +}, +``` + +3. No answers have explanations +``` +/* Can be excluded from json */ +``` + + +### 4.4 Levels +Adds an ability to filter questions based on difficulty levels. This is mandatory and has to be mentioned for each question. +The three available difficulty levels are: +``` +['beginner', 'intermediate', 'advanced'] +``` +Using any other will not work. The format for the same: +``` +"difficulty" : "beginner" +``` + +### 5. Tips +1. An extra functionality of explanation is the ability to add an Rich Text (HTML Formatted). It will work just like in html. +This could be used for + a. Adding hyper links + b. Formatting text etc. +``` +"explanations": { + "a" : "Explanation 1 here", + "b" : "Explanation 2" +}, +``` +> This can be done in either of explanation, answer and the question. +An example for the same can be found here: source | website + +2. Multi Correct +To mimic the functionality of multi correct questions, one can add options as part of the question itself, and the actual answer options can be like : +``` + "answers" : + { + "a" : "both i and ii", + "b" : "All i, ii, iii, iv", + "c" : "Only i", + "d" : "None of the above" + } +``` +An example for the same can be found here: source | website + +3. Image Support +You can add images to both question and answers, there can be multiple cases of the same. The following examples can be followed. +* **Image in question** : Add img tag in question. +``` +"questions" : [ + { + "question" : "question image", + "answers" : + { + "a" : 1, + "b" : 2, + "c" : 3, + "d" : 4 + }, + "correctAnswer" : c + } +] +``` + +* **Image and Text in question** : Add br tag and img tag in question after text. +``` +"questions" : [ + { + "question" : "This is an example question
question image", + "answers" : + { + "a" : 1, + "b" : 2, + "c" : 3, + "d" : 4 + }, + "correctAnswer" : c + } +] +``` +> The same two cases apply for answers too. +**Make sure the image aspect ratio remains constant and good to maintain the structure** + +### 6. Manual Validation of Quiz Json (wrt version 2.0) +This is till the automatic validation is set up. +* The first field has to be version with 2 or 2.0 as value. +* The questions needs to be an array of objects containing questions. +* Each question object should hav a question field, answers field, difficulty field and correctAnswer field. + * question : Should be a string + * answer : Should be an object containing options, and each option should be a string. + * difficulty : should be a string and should have values from ["beginner", "intermerdiate", "advanced"] + * correctAnswer : Should be a string and it's value should be present in keys of one of the answer. +* If explanation is present it has to be an object and needs to follow the description of answer object. + +### 7. Test Cases +- [x] Using the mentioned quiz format +- [x] Using the old quiz json format +- [ ] Not including the version in json +- [ ] Including incorrect version in json +- [ ] Including correct version but following old format +- [x] Difficulty not mentioned +- [x] Incorrect difficulty level mentioned +- [x] explanation not provided for all options +- [x] explanation empty +- [x] explanation object not defined +- [x] HTML in quuestion (tags like hyper links, bold etc) +- [x] HTML in answer (tags like hyper links, bold etc) +- [x] HTML in explanation (tags like hyper links, bold etc) +- [x] On wrong annswer only wrong answer is colored red +- [x] On correct answer all red color resets +- [x] Combination of filters working properly +- [x] If all questions have same difficulty, filter option should be hidden. +- [x] When questions are answered after filtering, marks should be counted out of filtewred questions, not total. +- [x] On wrong answer only explanation of wrong answer is shown +- [x] On correct answer all available explanations are shown + +### 8. TODO +* Add automatic schema validation +* Link to source files implementing the above tips. diff --git a/aim.md b/aim.md new file mode 100644 index 0000000..699fe41 --- /dev/null +++ b/aim.md @@ -0,0 +1,9 @@ +### To examine and understand the Boost Converter performance in respect of: + +##### a) Principle of operation followed by performance measurement of the boost converter. + +##### b) The impact of non-idealities (ESL, ESR, RDS(ON), VFD, R) on voltage boosting capability of the converter. + +##### c) The loading effect on efficiency of the converter. + +##### d) The voltage and current stress of components and device selection. diff --git a/assesment.log b/assesment.log new file mode 100644 index 0000000..f00851c --- /dev/null +++ b/assesment.log @@ -0,0 +1,30 @@ +=/pretest.json +{ + _: [], + f: [ + '/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/pretest.json' + ], + files: [ + '/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/pretest.json' + ], + c: 'assessment', + contentTypes: 'assessment', + 'content-types': 'assessment', + '$0': 'validate' +} +Validated true +=/posttest.json +{ + _: [], + f: [ + '/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/posttest.json' + ], + files: [ + '/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/posttest.json' + ], + c: 'assessment', + contentTypes: 'assessment', + 'content-types': 'assessment', + '$0': 'validate' +} +Validated true diff --git a/assets/css/bootstrap.min.css b/assets/css/bootstrap.min.css new file mode 100644 index 0000000..86b6845 --- /dev/null +++ b/assets/css/bootstrap.min.css @@ -0,0 +1,7 @@ +/*! + * Bootstrap v4.4.1 (https://getbootstrap.com/) + * Copyright 2011-2019 The Bootstrap Authors + * Copyright 2011-2019 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]){color:inherit;text-decoration:none}a:not([href]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:2.5rem}.h2,h2{font-size:2rem}.h3,h3{font-size:1.75rem}.h4,h4{font-size:1.5rem}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem;font-weight:300;line-height:1.2}.display-2{font-size:5.5rem;font-weight:300;line-height:1.2}.display-3{font-size:4.5rem;font-weight:300;line-height:1.2}.display-4{font-size:3.5rem;font-weight:300;line-height:1.2}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(0,0,0,.1)}.small,small{font-size:80%;font-weight:400}.mark,mark{padding:.2em;background-color:#fcf8e3}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote-footer{display:block;font-size:80%;color:#6c757d}.blockquote-footer::before{content:"\2014\00A0"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:90%;color:#6c757d}code{font-size:87.5%;color:#e83e8c;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:87.5%;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:100%;font-weight:700}pre{display:block;font-size:87.5%;color:#212529}pre code{font-size:inherit;color:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}.container-fluid,.container-lg,.container-md,.container-sm,.container-xl{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}.row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-right:0;padding-left:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{position:relative;width:100%;padding-right:15px;padding-left:15px}.col{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-first{-ms-flex-order:-1;order:-1}.order-last{-ms-flex-order:13;order:13}.order-0{-ms-flex-order:0;order:0}.order-1{-ms-flex-order:1;order:1}.order-2{-ms-flex-order:2;order:2}.order-3{-ms-flex-order:3;order:3}.order-4{-ms-flex-order:4;order:4}.order-5{-ms-flex-order:5;order:5}.order-6{-ms-flex-order:6;order:6}.order-7{-ms-flex-order:7;order:7}.order-8{-ms-flex-order:8;order:8}.order-9{-ms-flex-order:9;order:9}.order-10{-ms-flex-order:10;order:10}.order-11{-ms-flex-order:11;order:11}.order-12{-ms-flex-order:12;order:12}.offset-1{margin-left:8.333333%}.offset-2{margin-left:16.666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.333333%}.offset-5{margin-left:41.666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.333333%}.offset-8{margin-left:66.666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.333333%}.offset-11{margin-left:91.666667%}@media (min-width:576px){.col-sm{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-sm-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-sm-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-sm-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-sm-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-sm-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-sm-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-sm-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-sm-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-sm-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-sm-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-sm-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-sm-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-sm-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-sm-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-sm-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-sm-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-sm-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-sm-first{-ms-flex-order:-1;order:-1}.order-sm-last{-ms-flex-order:13;order:13}.order-sm-0{-ms-flex-order:0;order:0}.order-sm-1{-ms-flex-order:1;order:1}.order-sm-2{-ms-flex-order:2;order:2}.order-sm-3{-ms-flex-order:3;order:3}.order-sm-4{-ms-flex-order:4;order:4}.order-sm-5{-ms-flex-order:5;order:5}.order-sm-6{-ms-flex-order:6;order:6}.order-sm-7{-ms-flex-order:7;order:7}.order-sm-8{-ms-flex-order:8;order:8}.order-sm-9{-ms-flex-order:9;order:9}.order-sm-10{-ms-flex-order:10;order:10}.order-sm-11{-ms-flex-order:11;order:11}.order-sm-12{-ms-flex-order:12;order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.333333%}.offset-sm-2{margin-left:16.666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.333333%}.offset-sm-5{margin-left:41.666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.333333%}.offset-sm-8{margin-left:66.666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.333333%}.offset-sm-11{margin-left:91.666667%}}@media (min-width:768px){.col-md{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-md-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-md-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-md-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-md-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-md-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-md-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-md-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-md-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-md-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-md-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-md-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-md-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-md-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-md-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-md-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-md-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-md-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-md-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-md-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-md-first{-ms-flex-order:-1;order:-1}.order-md-last{-ms-flex-order:13;order:13}.order-md-0{-ms-flex-order:0;order:0}.order-md-1{-ms-flex-order:1;order:1}.order-md-2{-ms-flex-order:2;order:2}.order-md-3{-ms-flex-order:3;order:3}.order-md-4{-ms-flex-order:4;order:4}.order-md-5{-ms-flex-order:5;order:5}.order-md-6{-ms-flex-order:6;order:6}.order-md-7{-ms-flex-order:7;order:7}.order-md-8{-ms-flex-order:8;order:8}.order-md-9{-ms-flex-order:9;order:9}.order-md-10{-ms-flex-order:10;order:10}.order-md-11{-ms-flex-order:11;order:11}.order-md-12{-ms-flex-order:12;order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.333333%}.offset-md-2{margin-left:16.666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.333333%}.offset-md-5{margin-left:41.666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.333333%}.offset-md-8{margin-left:66.666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.333333%}.offset-md-11{margin-left:91.666667%}}@media (min-width:992px){.col-lg{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-lg-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-lg-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-lg-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-lg-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-lg-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-lg-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-lg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-lg-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-lg-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-lg-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-lg-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-lg-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-lg-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-lg-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-lg-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-lg-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-lg-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-lg-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-lg-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-lg-first{-ms-flex-order:-1;order:-1}.order-lg-last{-ms-flex-order:13;order:13}.order-lg-0{-ms-flex-order:0;order:0}.order-lg-1{-ms-flex-order:1;order:1}.order-lg-2{-ms-flex-order:2;order:2}.order-lg-3{-ms-flex-order:3;order:3}.order-lg-4{-ms-flex-order:4;order:4}.order-lg-5{-ms-flex-order:5;order:5}.order-lg-6{-ms-flex-order:6;order:6}.order-lg-7{-ms-flex-order:7;order:7}.order-lg-8{-ms-flex-order:8;order:8}.order-lg-9{-ms-flex-order:9;order:9}.order-lg-10{-ms-flex-order:10;order:10}.order-lg-11{-ms-flex-order:11;order:11}.order-lg-12{-ms-flex-order:12;order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.333333%}.offset-lg-2{margin-left:16.666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.333333%}.offset-lg-5{margin-left:41.666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.333333%}.offset-lg-8{margin-left:66.666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.333333%}.offset-lg-11{margin-left:91.666667%}}@media (min-width:1200px){.col-xl{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-xl-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-xl-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-xl-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-xl-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-xl-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-xl-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-xl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-xl-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-xl-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-xl-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xl-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-xl-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-xl-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xl-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-xl-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-xl-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-xl-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-xl-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-xl-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-xl-first{-ms-flex-order:-1;order:-1}.order-xl-last{-ms-flex-order:13;order:13}.order-xl-0{-ms-flex-order:0;order:0}.order-xl-1{-ms-flex-order:1;order:1}.order-xl-2{-ms-flex-order:2;order:2}.order-xl-3{-ms-flex-order:3;order:3}.order-xl-4{-ms-flex-order:4;order:4}.order-xl-5{-ms-flex-order:5;order:5}.order-xl-6{-ms-flex-order:6;order:6}.order-xl-7{-ms-flex-order:7;order:7}.order-xl-8{-ms-flex-order:8;order:8}.order-xl-9{-ms-flex-order:9;order:9}.order-xl-10{-ms-flex-order:10;order:10}.order-xl-11{-ms-flex-order:11;order:11}.order-xl-12{-ms-flex-order:12;order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.333333%}.offset-xl-2{margin-left:16.666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.333333%}.offset-xl-5{margin-left:41.666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.333333%}.offset-xl-8{margin-left:66.666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.333333%}.offset-xl-11{margin-left:91.666667%}}.table{width:100%;margin-bottom:1rem;color:#212529}.table td,.table th{padding:.75rem;vertical-align:top;border-top:1px solid #dee2e6}.table thead th{vertical-align:bottom;border-bottom:2px solid #dee2e6}.table tbody+tbody{border-top:2px solid #dee2e6}.table-sm td,.table-sm th{padding:.3rem}.table-bordered{border:1px solid #dee2e6}.table-bordered td,.table-bordered th{border:1px solid #dee2e6}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}.table-hover tbody tr:hover{color:#212529;background-color:rgba(0,0,0,.075)}.table-primary,.table-primary>td,.table-primary>th{background-color:#b8daff}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#7abaff}.table-hover .table-primary:hover{background-color:#9fcdff}.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#9fcdff}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#d6d8db}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#b3b7bb}.table-hover .table-secondary:hover{background-color:#c8cbcf}.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c8cbcf}.table-success,.table-success>td,.table-success>th{background-color:#c3e6cb}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#8fd19e}.table-hover .table-success:hover{background-color:#b1dfbb}.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#b1dfbb}.table-info,.table-info>td,.table-info>th{background-color:#bee5eb}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#86cfda}.table-hover .table-info:hover{background-color:#abdde5}.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#abdde5}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffeeba}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#ffdf7e}.table-hover .table-warning:hover{background-color:#ffe8a1}.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffe8a1}.table-danger,.table-danger>td,.table-danger>th{background-color:#f5c6cb}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#ed969e}.table-hover .table-danger:hover{background-color:#f1b0b7}.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#f1b0b7}.table-light,.table-light>td,.table-light>th{background-color:#fdfdfe}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#fbfcfc}.table-hover .table-light:hover{background-color:#ececf6}.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#ececf6}.table-dark,.table-dark>td,.table-dark>th{background-color:#c6c8ca}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#95999c}.table-hover .table-dark:hover{background-color:#b9bbbe}.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b9bbbe}.table-active,.table-active>td,.table-active>th{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table .thead-dark th{color:#fff;background-color:#343a40;border-color:#454d55}.table .thead-light th{color:#495057;background-color:#e9ecef;border-color:#dee2e6}.table-dark{color:#fff;background-color:#343a40}.table-dark td,.table-dark th,.table-dark thead th{border-color:#454d55}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:rgba(255,255,255,.05)}.table-dark.table-hover tbody tr:hover{color:#fff;background-color:rgba(255,255,255,.075)}@media (max-width:575.98px){.table-responsive-sm{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-sm>.table-bordered{border:0}}@media (max-width:767.98px){.table-responsive-md{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-md>.table-bordered{border:0}}@media (max-width:991.98px){.table-responsive-lg{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-lg>.table-bordered{border:0}}@media (max-width:1199.98px){.table-responsive-xl{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive>.table-bordered{border:0}.form-control{display:block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.form-control:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.form-control::-webkit-input-placeholder{color:#6c757d;opacity:1}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control:-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}select.form-control:focus::-ms-value{color:#495057;background-color:#fff}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem;line-height:1.5}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem;line-height:1.5}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;font-size:1rem;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.form-control-lg{height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}select.form-control[multiple],select.form-control[size]{height:auto}textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-5px;margin-left:-5px}.form-row>.col,.form-row>[class*=col-]{padding-right:5px;padding-left:5px}.form-check{position:relative;display:block;padding-left:1.25rem}.form-check-input{position:absolute;margin-top:.3rem;margin-left:-1.25rem}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{color:#6c757d}.form-check-label{margin-bottom:0}.form-check-inline{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding-left:0;margin-right:.75rem}.form-check-inline .form-check-input{position:static;margin-top:0;margin-right:.3125rem;margin-left:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#28a745}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(40,167,69,.9);border-radius:.25rem}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#28a745;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-valid,.was-validated .custom-select:valid{border-color:#28a745;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px,url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#28a745}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#28a745}.custom-control-input.is-valid~.custom-control-label::before,.was-validated .custom-control-input:valid~.custom-control-label::before{border-color:#28a745}.custom-control-input.is-valid:checked~.custom-control-label::before,.was-validated .custom-control-input:valid:checked~.custom-control-label::before{border-color:#34ce57;background-color:#34ce57}.custom-control-input.is-valid:focus~.custom-control-label::before,.was-validated .custom-control-input:valid:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label::before{border-color:#28a745}.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#28a745}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(220,53,69,.9);border-radius:.25rem}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{border-color:#dc3545;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px,url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#dc3545}.custom-control-input.is-invalid~.custom-control-label::before,.was-validated .custom-control-input:invalid~.custom-control-label::before{border-color:#dc3545}.custom-control-input.is-invalid:checked~.custom-control-label::before,.was-validated .custom-control-input:invalid:checked~.custom-control-label::before{border-color:#e4606d;background-color:#e4606d}.custom-control-input.is-invalid:focus~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label::before{border-color:#dc3545}.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#dc3545}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-inline{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center;align-items:center}.form-inline .form-check{width:100%}@media (min-width:576px){.form-inline label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin-bottom:0}.form-inline .form-group{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center;align-items:center;margin-bottom:0}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-left:0}.form-inline .form-check-input{position:relative;-ms-flex-negative:0;flex-shrink:0;margin-top:0;margin-right:.25rem;margin-left:0}.form-inline .custom-control{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{display:inline-block;font-weight:400;color:#212529;text-align:center;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529;text-decoration:none}.btn.focus,.btn:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.btn.disabled,.btn:disabled{opacity:.65}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:hover{color:#fff;background-color:#0069d9;border-color:#0062cc}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#0069d9;border-color:#0062cc;box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0062cc;border-color:#005cbf}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:hover{color:#fff;background-color:#5a6268;border-color:#545b62}.btn-secondary.focus,.btn-secondary:focus{color:#fff;background-color:#5a6268;border-color:#545b62;box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#545b62;border-color:#4e555b}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-success{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:hover{color:#fff;background-color:#218838;border-color:#1e7e34}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#218838;border-color:#1e7e34;box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#1e7e34;border-color:#1c7430}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-info{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:hover{color:#fff;background-color:#138496;border-color:#117a8b}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#138496;border-color:#117a8b;box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-info.disabled,.btn-info:disabled{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{color:#fff;background-color:#117a8b;border-color:#10707f}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-warning{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:hover{color:#212529;background-color:#e0a800;border-color:#d39e00}.btn-warning.focus,.btn-warning:focus{color:#212529;background-color:#e0a800;border-color:#d39e00;box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-warning.disabled,.btn-warning:disabled{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{color:#212529;background-color:#d39e00;border-color:#c69500}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:hover{color:#fff;background-color:#c82333;border-color:#bd2130}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c82333;border-color:#bd2130;box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#bd2130;border-color:#b21f2d}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-light{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:hover{color:#212529;background-color:#e2e6ea;border-color:#dae0e5}.btn-light.focus,.btn-light:focus{color:#212529;background-color:#e2e6ea;border-color:#dae0e5;box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-light.disabled,.btn-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{color:#212529;background-color:#dae0e5;border-color:#d3d9df}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-dark{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:hover{color:#fff;background-color:#23272b;border-color:#1d2124}.btn-dark.focus,.btn-dark:focus{color:#fff;background-color:#23272b;border-color:#1d2124;box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1d2124;border-color:#171a1d}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-outline-primary{color:#007bff;border-color:#007bff}.btn-outline-primary:hover{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#007bff;background-color:transparent}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:transparent}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-success{color:#28a745;border-color:#28a745}.btn-outline-success:hover{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#28a745;background-color:transparent}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-info{color:#17a2b8;border-color:#17a2b8}.btn-outline-info:hover{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#17a2b8;background-color:transparent}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:transparent}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:transparent}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:transparent}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-dark{color:#343a40;border-color:#343a40}.btn-outline-dark:hover{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#343a40;background-color:transparent}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.btn-link{font-weight:400;color:#007bff;text-decoration:none}.btn-link:hover{color:#0056b3;text-decoration:underline}.btn-link.focus,.btn-link:focus{text-decoration:underline;box-shadow:none}.btn-link.disabled,.btn-link:disabled{color:#6c757d;pointer-events:none}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{position:relative;height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-menu-left{right:auto;left:0}.dropdown-menu-right{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-left{right:auto;left:0}.dropdown-menu-sm-right{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-left{right:auto;left:0}.dropdown-menu-md-right{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-left{right:auto;left:0}.dropdown-menu-lg-right{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-left{right:auto;left:0}.dropdown-menu-xl-right{right:0;left:auto}}.dropup .dropdown-menu{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-menu{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropright .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropright .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-toggle::after{vertical-align:0}.dropleft .dropdown-menu{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropleft .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropleft .dropdown-toggle::after{display:none}.dropleft .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropleft .dropdown-toggle:empty::after{margin-left:0}.dropleft .dropdown-toggle::before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top]{right:auto;bottom:auto}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}.dropdown-item{display:block;width:100%;padding:.25rem 1.5rem;clear:both;font-weight:400;color:#212529;text-align:inherit;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#16181b;text-decoration:none;background-color:#f8f9fa}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#007bff}.dropdown-item.disabled,.dropdown-item:disabled{color:#6c757d;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1.5rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1.5rem;color:#212529}.btn-group,.btn-group-vertical{position:relative;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;-ms-flex:1 1 auto;flex:1 1 auto}.btn-group-vertical>.btn:hover,.btn-group>.btn:hover{z-index:1}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus{z-index:1}.btn-toolbar{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:start;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropright .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropleft .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio],.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{position:relative;-ms-flex:1 1 0%;flex:1 1 0%;min-width:0;margin-bottom:0}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:last-child),.input-group>.form-control:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.custom-file{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.input-group>.custom-file:not(:last-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label::after{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-file:not(:first-child) .custom-file-label{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-append,.input-group-prepend{display:-ms-flexbox;display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:.375rem .75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:calc(1.5em + 1rem + 2px)}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:calc(1.5em + .5rem + 2px)}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-append:not(:last-child)>.btn,.input-group>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0;border-bottom-left-radius:0}.custom-control{position:relative;display:block;min-height:1.5rem;padding-left:1.5rem}.custom-control-inline{display:-ms-inline-flexbox;display:inline-flex;margin-right:1rem}.custom-control-input{position:absolute;left:0;z-index:-1;width:1rem;height:1.25rem;opacity:0}.custom-control-input:checked~.custom-control-label::before{color:#fff;border-color:#007bff;background-color:#007bff}.custom-control-input:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-control-input:focus:not(:checked)~.custom-control-label::before{border-color:#80bdff}.custom-control-input:not(:disabled):active~.custom-control-label::before{color:#fff;background-color:#b3d7ff;border-color:#b3d7ff}.custom-control-input:disabled~.custom-control-label,.custom-control-input[disabled]~.custom-control-label{color:#6c757d}.custom-control-input:disabled~.custom-control-label::before,.custom-control-input[disabled]~.custom-control-label::before{background-color:#e9ecef}.custom-control-label{position:relative;margin-bottom:0;vertical-align:top}.custom-control-label::before{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;pointer-events:none;content:"";background-color:#fff;border:#adb5bd solid 1px}.custom-control-label::after{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;content:"";background:no-repeat 50%/50% 50%}.custom-checkbox .custom-control-label::before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::before{border-color:#007bff;background-color:#007bff}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-radio .custom-control-label::before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.custom-radio .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label::before{left:-2.25rem;width:1.75rem;pointer-events:all;border-radius:.5rem}.custom-switch .custom-control-label::after{top:calc(.25rem + 2px);left:calc(-2.25rem + 2px);width:calc(1rem - 4px);height:calc(1rem - 4px);background-color:#adb5bd;border-radius:.5rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-switch .custom-control-label::after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label::after{background-color:#fff;-webkit-transform:translateX(.75rem);transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-select{display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem 1.75rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;vertical-align:middle;background:#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;border:1px solid #ced4da;border-radius:.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-select:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-select:focus::-ms-value{color:#495057;background-color:#fff}.custom-select[multiple],.custom-select[size]:not([size="1"]){height:auto;padding-right:.75rem;background-image:none}.custom-select:disabled{color:#6c757d;background-color:#e9ecef}.custom-select::-ms-expand{display:none}.custom-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.custom-select-sm{height:calc(1.5em + .5rem + 2px);padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem}.custom-select-lg{height:calc(1.5em + 1rem + 2px);padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem}.custom-file{position:relative;display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);margin-bottom:0}.custom-file-input{position:relative;z-index:2;width:100%;height:calc(1.5em + .75rem + 2px);margin:0;opacity:0}.custom-file-input:focus~.custom-file-label{border-color:#80bdff;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-file-input:disabled~.custom-file-label,.custom-file-input[disabled]~.custom-file-label{background-color:#e9ecef}.custom-file-input:lang(en)~.custom-file-label::after{content:"Browse"}.custom-file-input~.custom-file-label[data-browse]::after{content:attr(data-browse)}.custom-file-label{position:absolute;top:0;right:0;left:0;z-index:1;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem}.custom-file-label::after{position:absolute;top:0;right:0;bottom:0;z-index:3;display:block;height:calc(1.5em + .75rem);padding:.375rem .75rem;line-height:1.5;color:#495057;content:"Browse";background-color:#e9ecef;border-left:inherit;border-radius:0 .25rem .25rem 0}.custom-range{width:100%;height:1.4rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#007bff;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#b3d7ff}.custom-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#007bff;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{-moz-transition:none;transition:none}}.custom-range::-moz-range-thumb:active{background-color:#b3d7ff}.custom-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-ms-thumb{width:1rem;height:1rem;margin-top:0;margin-right:.2rem;margin-left:.2rem;background-color:#007bff;border:0;border-radius:1rem;-ms-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-ms-thumb{-ms-transition:none;transition:none}}.custom-range::-ms-thumb:active{background-color:#b3d7ff}.custom-range::-ms-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:transparent;border-color:transparent;border-width:.5rem}.custom-range::-ms-fill-lower{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px;background-color:#dee2e6;border-radius:1rem}.custom-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#adb5bd}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#adb5bd}.custom-control-label::before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-control-label::before,.custom-file-label,.custom-select{transition:none}}.nav{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-item{margin-bottom:-1px}.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#007bff}.nav-fill .nav-item{-ms-flex:1 1 auto;flex:1 1 auto;text-align:center}.nav-justified .nav-item{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;padding:.5rem 1rem}.navbar .container,.navbar .container-fluid,.navbar .container-lg,.navbar .container-md,.navbar .container-sm,.navbar .container-xl{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.navbar-brand{display:inline-block;padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;line-height:inherit;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static;float:none}.navbar-text{display:inline-block;padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{-ms-flex-preferred-size:100%;flex-basis:100%;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.25rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;content:"";background:no-repeat center center;background-size:100% 100%}@media (max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{padding-right:0;padding-left:0}}@media (min-width:576px){.navbar-expand-sm{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-sm .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-sm .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{padding-right:0;padding-left:0}}@media (min-width:768px){.navbar-expand-md{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-md .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-md .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{padding-right:0;padding-left:0}}@media (min-width:992px){.navbar-expand-lg{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-lg .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-lg .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{padding-right:0;padding-left:0}}@media (min-width:1200px){.navbar-expand-xl{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-xl .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-xl .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{padding-right:0;padding-left:0}.navbar-expand .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand{color:rgba(0,0,0,.9)}.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,.5);border-color:rgba(0,0,0,.1)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-light .navbar-text a{color:rgba(0,0,0,.9)}.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand{color:#fff}.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,.5)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:rgba(255,255,255,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:rgba(255,255,255,.25)}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:rgba(255,255,255,.5);border-color:rgba(255,255,255,.1)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-dark .navbar-text{color:rgba(255,255,255,.5)}.navbar-dark .navbar-text a{color:#fff}.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group:first-child .list-group-item:first-child{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.card>.list-group:last-child .list-group-item:last-child{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.card-body{-ms-flex:1 1 auto;flex:1 1 auto;min-height:1px;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem;margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{padding:.75rem 1.25rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-header+.list-group .list-group-item:first-child{border-top:0}.card-footer{padding:.75rem 1.25rem;background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-right:-.625rem;margin-bottom:-.75rem;margin-left:-.625rem;border-bottom:0}.card-header-pills{margin-right:-.625rem;margin-left:-.625rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem}.card-img,.card-img-bottom,.card-img-top{-ms-flex-negative:0;flex-shrink:0;width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-deck .card{margin-bottom:15px}@media (min-width:576px){.card-deck{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;margin-right:-15px;margin-left:-15px}.card-deck .card{-ms-flex:1 0 0%;flex:1 0 0%;margin-right:15px;margin-bottom:0;margin-left:15px}}.card-group>.card{margin-bottom:15px}@media (min-width:576px){.card-group{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap}.card-group>.card{-ms-flex:1 0 0%;flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media (min-width:576px){.card-columns{-webkit-column-count:3;-moz-column-count:3;column-count:3;-webkit-column-gap:1.25rem;-moz-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion>.card{overflow:hidden}.accordion>.card:not(:last-of-type){border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.accordion>.card:not(:first-of-type){border-top-left-radius:0;border-top-right-radius:0}.accordion>.card>.card-header{border-radius:0;margin-bottom:-1px}.breadcrumb{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#e9ecef;border-radius:.25rem}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item::before{display:inline-block;padding-right:.5rem;color:#6c757d;content:"/"}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:underline}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:none}.breadcrumb-item.active{color:#6c757d}.pagination{display:-ms-flexbox;display:flex;padding-left:0;list-style:none;border-radius:.25rem}.page-link{position:relative;display:block;padding:.5rem .75rem;margin-left:-1px;line-height:1.25;color:#007bff;background-color:#fff;border:1px solid #dee2e6}.page-link:hover{z-index:2;color:#0056b3;text-decoration:none;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:3;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.page-item:first-child .page-link{margin-left:0;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.page-item.active .page-link{z-index:3;color:#fff;background-color:#007bff;border-color:#007bff}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;cursor:auto;background-color:#fff;border-color:#dee2e6}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem;line-height:1.5}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem;line-height:1.5}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.badge-primary{color:#fff;background-color:#007bff}a.badge-primary:focus,a.badge-primary:hover{color:#fff;background-color:#0062cc}a.badge-primary.focus,a.badge-primary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.badge-secondary{color:#fff;background-color:#6c757d}a.badge-secondary:focus,a.badge-secondary:hover{color:#fff;background-color:#545b62}a.badge-secondary.focus,a.badge-secondary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.badge-success{color:#fff;background-color:#28a745}a.badge-success:focus,a.badge-success:hover{color:#fff;background-color:#1e7e34}a.badge-success.focus,a.badge-success:focus{outline:0;box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.badge-info{color:#fff;background-color:#17a2b8}a.badge-info:focus,a.badge-info:hover{color:#fff;background-color:#117a8b}a.badge-info.focus,a.badge-info:focus{outline:0;box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.badge-warning{color:#212529;background-color:#ffc107}a.badge-warning:focus,a.badge-warning:hover{color:#212529;background-color:#d39e00}a.badge-warning.focus,a.badge-warning:focus{outline:0;box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.badge-danger{color:#fff;background-color:#dc3545}a.badge-danger:focus,a.badge-danger:hover{color:#fff;background-color:#bd2130}a.badge-danger.focus,a.badge-danger:focus{outline:0;box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.badge-light{color:#212529;background-color:#f8f9fa}a.badge-light:focus,a.badge-light:hover{color:#212529;background-color:#dae0e5}a.badge-light.focus,a.badge-light:focus{outline:0;box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.badge-dark{color:#fff;background-color:#343a40}a.badge-dark:focus,a.badge-dark:hover{color:#fff;background-color:#1d2124}a.badge-dark.focus,a.badge-dark:focus{outline:0;box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#e9ecef;border-radius:.3rem}@media (min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:4rem}.alert-dismissible .close{position:absolute;top:0;right:0;padding:.75rem 1.25rem;color:inherit}.alert-primary{color:#004085;background-color:#cce5ff;border-color:#b8daff}.alert-primary hr{border-top-color:#9fcdff}.alert-primary .alert-link{color:#002752}.alert-secondary{color:#383d41;background-color:#e2e3e5;border-color:#d6d8db}.alert-secondary hr{border-top-color:#c8cbcf}.alert-secondary .alert-link{color:#202326}.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert-success hr{border-top-color:#b1dfbb}.alert-success .alert-link{color:#0b2e13}.alert-info{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-info hr{border-top-color:#abdde5}.alert-info .alert-link{color:#062c33}.alert-warning{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.alert-warning hr{border-top-color:#ffe8a1}.alert-warning .alert-link{color:#533f03}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-danger hr{border-top-color:#f1b0b7}.alert-danger .alert-link{color:#491217}.alert-light{color:#818182;background-color:#fefefe;border-color:#fdfdfe}.alert-light hr{border-top-color:#ececf6}.alert-light .alert-link{color:#686868}.alert-dark{color:#1b1e21;background-color:#d6d8d9;border-color:#c6c8ca}.alert-dark hr{border-top-color:#b9bbbe}.alert-dark .alert-link{color:#040505}@-webkit-keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}.progress{display:-ms-flexbox;display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress-bar{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;overflow:hidden;color:#fff;text-align:center;white-space:nowrap;background-color:#007bff;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}@media (prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.media{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.media-body{-ms-flex:1;flex:1}.list-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.75rem 1.25rem;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.list-group-item:last-child{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#007bff;border-color:#007bff}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.list-group-horizontal{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal .list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal .list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal .list-group-item.active{margin-top:0}.list-group-horizontal .list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal .list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}@media (min-width:576px){.list-group-horizontal-sm{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-sm .list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm .list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-sm .list-group-item.active{margin-top:0}.list-group-horizontal-sm .list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-sm .list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:768px){.list-group-horizontal-md{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-md .list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md .list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-md .list-group-item.active{margin-top:0}.list-group-horizontal-md .list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-md .list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:992px){.list-group-horizontal-lg{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-lg .list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg .list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-lg .list-group-item.active{margin-top:0}.list-group-horizontal-lg .list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-lg .list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1200px){.list-group-horizontal-xl{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-xl .list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl .list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xl .list-group-item.active{margin-top:0}.list-group-horizontal-xl .list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xl .list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}.list-group-flush .list-group-item{border-right-width:0;border-left-width:0;border-radius:0}.list-group-flush .list-group-item:first-child{border-top-width:0}.list-group-flush:last-child .list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#004085;background-color:#b8daff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#004085;background-color:#9fcdff}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#004085;border-color:#004085}.list-group-item-secondary{color:#383d41;background-color:#d6d8db}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#383d41;background-color:#c8cbcf}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#383d41;border-color:#383d41}.list-group-item-success{color:#155724;background-color:#c3e6cb}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#155724;background-color:#b1dfbb}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#155724;border-color:#155724}.list-group-item-info{color:#0c5460;background-color:#bee5eb}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#0c5460;background-color:#abdde5}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#0c5460;border-color:#0c5460}.list-group-item-warning{color:#856404;background-color:#ffeeba}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#856404;background-color:#ffe8a1}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#856404;border-color:#856404}.list-group-item-danger{color:#721c24;background-color:#f5c6cb}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#721c24;background-color:#f1b0b7}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#721c24;border-color:#721c24}.list-group-item-light{color:#818182;background-color:#fdfdfe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#818182;background-color:#ececf6}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#818182;border-color:#818182}.list-group-item-dark{color:#1b1e21;background-color:#c6c8ca}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#1b1e21;background-color:#b9bbbe}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#1b1e21;border-color:#1b1e21}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.5}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{padding:0;background-color:transparent;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}a.close.disabled{pointer-events:none}.toast{max-width:350px;overflow:hidden;font-size:.875rem;background-color:rgba(255,255,255,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .25rem .75rem rgba(0,0,0,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;border-radius:.25rem}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:.25rem .75rem;color:#6c757d;background-color:rgba(255,255,255,.85);background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,.05)}.toast-body{padding:.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{position:fixed;top:0;left:0;z-index:1050;display:none;width:100%;height:100%;overflow:hidden;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out;-webkit-transform:translate(0,-50px);transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{-webkit-transform:none;transform:none}.modal.modal-static .modal-dialog{-webkit-transform:scale(1.02);transform:scale(1.02)}.modal-dialog-scrollable{display:-ms-flexbox;display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{-ms-flex-negative:0;flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:calc(100% - 1rem)}.modal-dialog-centered::before{display:block;height:calc(100vh - 1rem);content:""}.modal-dialog-centered.modal-dialog-scrollable{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable::before{content:none}.modal-content{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.modal-header .close{padding:1rem 1rem;margin:-1rem -1rem -1rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;-ms-flex:1 1 auto;flex:1 1 auto;padding:1rem}.modal-footer{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;padding:.75rem;border-top:1px solid #dee2e6;border-bottom-right-radius:calc(.3rem - 1px);border-bottom-left-radius:calc(.3rem - 1px)}.modal-footer>*{margin:.25rem}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered::before{height:calc(100vh - 3.5rem)}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{position:absolute;z-index:1070;display:block;margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow::before,.bs-tooltip-top .arrow::before{top:0;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=right] .arrow::before,.bs-tooltip-right .arrow::before{right:0;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow::before,.bs-tooltip-bottom .arrow::before{bottom:0;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=left] .arrow::before,.bs-tooltip-left .arrow::before{left:0;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{position:absolute;top:0;left:0;z-index:1060;display:block;max-width:276px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .arrow{position:absolute;display:block;width:1rem;height:.5rem;margin:0 .3rem}.popover .arrow::after,.popover .arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=top]>.arrow::before,.bs-popover-top>.arrow::before{bottom:0;border-width:.5rem .5rem 0;border-top-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=top]>.arrow::after,.bs-popover-top>.arrow::after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{left:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=right]>.arrow::before,.bs-popover-right>.arrow::before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=right]>.arrow::after,.bs-popover-right>.arrow::after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=bottom]>.arrow::before,.bs-popover-bottom>.arrow::before{top:0;border-width:0 .5rem .5rem .5rem;border-bottom-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=bottom]>.arrow::after,.bs-popover-bottom>.arrow::after{top:1px;border-width:0 .5rem .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[x-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:"";border-bottom:1px solid #f7f7f7}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{right:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=left]>.arrow::before,.bs-popover-left>.arrow::before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=left]>.arrow::after,.bs-popover-left>.arrow::after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem .75rem;margin-bottom:0;font-size:1rem;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:.5rem .75rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{-ms-touch-action:pan-y;touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){-webkit-transform:translateX(100%);transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){-webkit-transform:translateX(-100%);transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;-webkit-transform:none;transform:none}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:15%;color:#fff;text-align:center;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:20px;height:20px;background:no-repeat 50%/100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:15;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding-left:0;margin-right:15%;margin-left:15%;list-style:none}.carousel-indicators li{box-sizing:content-box;-ms-flex:0 1 auto;flex:0 1 auto;width:30px;height:3px;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}@-webkit-keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;border:.25em solid currentColor;border-right-color:transparent;border-radius:50%;-webkit-animation:spinner-border .75s linear infinite;animation:spinner-border .75s linear infinite}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@-webkit-keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1}}@keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;background-color:currentColor;border-radius:50%;opacity:0;-webkit-animation:spinner-grow .75s linear infinite;animation:spinner-grow .75s linear infinite}.spinner-grow-sm{width:1rem;height:1rem}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#007bff!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#0062cc!important}.bg-secondary{background-color:#6c757d!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#545b62!important}.bg-success{background-color:#28a745!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#1e7e34!important}.bg-info{background-color:#17a2b8!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#117a8b!important}.bg-warning{background-color:#ffc107!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#d39e00!important}.bg-danger{background-color:#dc3545!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#bd2130!important}.bg-light{background-color:#f8f9fa!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#dae0e5!important}.bg-dark{background-color:#343a40!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#1d2124!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-right{border-right:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#007bff!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#28a745!important}.border-info{border-color:#17a2b8!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#343a40!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.rounded-right{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.rounded-bottom{border-bottom-right-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix::after{display:block;clear:both;content:""}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:-ms-flexbox!important;display:flex!important}.d-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}@media (min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:-ms-flexbox!important;display:flex!important}.d-sm-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:-ms-flexbox!important;display:flex!important}.d-md-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:-ms-flexbox!important;display:flex!important}.d-lg-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:-ms-flexbox!important;display:flex!important}.d-xl-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:-ms-flexbox!important;display:flex!important}.d-print-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}.embed-responsive{position:relative;display:block;width:100%;padding:0;overflow:hidden}.embed-responsive::before{display:block;content:""}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-21by9::before{padding-top:42.857143%}.embed-responsive-16by9::before{padding-top:56.25%}.embed-responsive-4by3::before{padding-top:75%}.embed-responsive-1by1::before{padding-top:100%}.flex-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-center{-ms-flex-align:center!important;align-items:center!important}.align-items-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}@media (min-width:576px){.flex-sm-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-sm-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-sm-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-sm-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-sm-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-sm-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-sm-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-sm-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-sm-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-sm-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-sm-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-sm-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-sm-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-sm-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-sm-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-sm-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-sm-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-sm-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-sm-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-sm-center{-ms-flex-align:center!important;align-items:center!important}.align-items-sm-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-sm-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-sm-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-sm-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-sm-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-sm-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-sm-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-sm-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-sm-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-sm-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-sm-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-sm-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-sm-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-sm-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:768px){.flex-md-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-md-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-md-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-md-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-md-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-md-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-md-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-md-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-md-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-md-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-md-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-md-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-md-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-md-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-md-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-md-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-md-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-md-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-md-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-md-center{-ms-flex-align:center!important;align-items:center!important}.align-items-md-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-md-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-md-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-md-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-md-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-md-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-md-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-md-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-md-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-md-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-md-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-md-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-md-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-md-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:992px){.flex-lg-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-lg-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-lg-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-lg-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-lg-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-lg-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-lg-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-lg-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-lg-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-lg-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-lg-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-lg-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-lg-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-lg-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-lg-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-lg-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-lg-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-lg-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-lg-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-lg-center{-ms-flex-align:center!important;align-items:center!important}.align-items-lg-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-lg-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-lg-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-lg-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-lg-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-lg-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-lg-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-lg-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-lg-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-lg-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-lg-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-lg-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-lg-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-lg-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:1200px){.flex-xl-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-xl-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-xl-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-xl-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-xl-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-xl-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-xl-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-xl-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-xl-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-xl-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-xl-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-xl-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-xl-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-xl-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-xl-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-xl-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-xl-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-xl-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-xl-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-xl-center{-ms-flex-align:center!important;align-items:center!important}.align-items-xl-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-xl-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-xl-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-xl-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-xl-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-xl-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-xl-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-xl-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-xl-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-xl-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-xl-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-xl-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-xl-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-xl-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media (min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media (min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media (min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}@supports ((position:-webkit-sticky) or (position:sticky)){.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:auto;content:"";background-color:rgba(0,0,0,0)}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media (min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media (min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media (min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media (min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media (min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-lighter{font-weight:lighter!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:700!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#007bff!important}a.text-primary:focus,a.text-primary:hover{color:#0056b3!important}.text-secondary{color:#6c757d!important}a.text-secondary:focus,a.text-secondary:hover{color:#494f54!important}.text-success{color:#28a745!important}a.text-success:focus,a.text-success:hover{color:#19692c!important}.text-info{color:#17a2b8!important}a.text-info:focus,a.text-info:hover{color:#0f6674!important}.text-warning{color:#ffc107!important}a.text-warning:focus,a.text-warning:hover{color:#ba8b00!important}.text-danger{color:#dc3545!important}a.text-danger:focus,a.text-danger:hover{color:#a71d2a!important}.text-light{color:#f8f9fa!important}a.text-light:focus,a.text-light:hover{color:#cbd3da!important}.text-dark{color:#343a40!important}a.text-dark:focus,a.text-dark:hover{color:#121416!important}.text-body{color:#212529!important}.text-muted{color:#6c757d!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:rgba(255,255,255,.5)!important}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.text-decoration-none{text-decoration:none!important}.text-break{word-break:break-word!important;overflow-wrap:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,::after,::before{text-shadow:none!important;box-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]::after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #adb5bd;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}body{min-width:992px!important}.container{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#dee2e6}.table .thead-dark th{color:inherit;border-color:#dee2e6}} +/*# sourceMappingURL=bootstrap.min.css.map */ \ No newline at end of file diff --git a/assets/css/common-styles-responsive.css b/assets/css/common-styles-responsive.css new file mode 100644 index 0000000..2798de9 --- /dev/null +++ b/assets/css/common-styles-responsive.css @@ -0,0 +1,97 @@ +.slidecontainer { + text-align: center; +} + +.slider { + width: 10%; +} + +.text-box { + padding: 7px 20px; + margin: 8px 0; + box-sizing: border-box; + width: 14%; +} + +.legend { list-style: none; } +.legend li { padding-bottom : 1.5vw; width: 20vw; } +.legend span { border: 0.1vw solid black; float: left; border-radius: 50%;} +.legend .grey { background-color: grey; } +.legend .green { background-color: #a4c652; } +.legend .black { background-color: black; } + +.button-input { + border-radius: 50vw; + background-color: #288ec8; + border: none; + color: white; + padding: 1%; + margin-left: 1%; + margin-right: 1%; + padding-bottom: 1%; + padding-top: 1%; + padding-left: 2%; + padding-right: 2%; +} + +.button-input:hover { + background-color:gray; + cursor:pointer; +} + +.comment-box { + position: relative; + padding: 1vw; + width: 30vw; + text-align: center; +} + +.instruction-box { + position: relative; + width: 100%; + transition: width 0.2s ease-out; + border: 0.1vw solid grey; + z-index : 10; +} + +.collapsible { + background-color: Transparent; + color: "grey"; + cursor: pointer; + width: 100%; + border: none; + text-align: center; + outline: none; + font-weight: bold; + padding-top: 1%; + padding-bottom: 1%; +} + +.collapsible::-moz-focus-inner { + border: 0; +} + +.active, .collapsible:hover { + background-color: "white"; +} + +/*The unicode \25BE is for ▾ (Dropdown arrow) */ +.collapsible:after { + content: "\25BE"; + color: "grey"; + font-weight: bold; + float: right; + margin-left: 5px; +} + +.active:after { + content: "\25B4"; +} + +.content { + padding: 0 1.8vw; + max-height: 0; + overflow: hidden; + transition: max-height 0.2s ease-out; + background-color: "white"; +} diff --git a/assets/css/common-styles.css b/assets/css/common-styles.css new file mode 100644 index 0000000..a2f6d80 --- /dev/null +++ b/assets/css/common-styles.css @@ -0,0 +1,104 @@ +.slidecontainer { + text-align: center; +} + +.slider { + width: 10%; +} + +.text-box { + padding: 7px 20px; + margin: 8px 0; + box-sizing: border-box; + width: 14%; +} + +.legend{ + font-size: 1.4vw; +} +.legend { list-style: none; } +.legend li { padding-bottom : 1.5vw; width: 20vw; } +.legend span { border: 0.1vw solid black; float: left; width: 2vw; height: 2vw; margin-right : 0.5vw; border-radius: 50%;} +.legend .grey { background-color: grey; } +.legend .green { background-color: #a4c652; } +.legend .black { background-color: black; } + +.button-input { + border-radius: 50vw; + background-color: #288ec8; + border: none; + color: white; + padding: 1%; + font-size: 1.3vw; + margin-left: 1%; + margin-right: 1%; + padding-bottom: 1%; + padding-top: 1%; + padding-left: 2%; + padding-right: 2%; +} + +.button-input:hover { + background-color:gray; + cursor:pointer; +} + +.comment-box { + position: relative; + padding: 1vw; + width: 30vw; + font-size: 1.5vw; + text-align: center; +} + +.instruction-box { + position: relative; + width: 100%; + transition: width 0.2s ease-out; + border: 0.1vw solid grey; + font-size: 1.5vw; + z-index : 10; +} + +.collapsible { + background-color: Transparent; + color: "grey"; + cursor: pointer; + width: 100%; + border: none; + text-align: center; + outline: none; + font-size: 1.5vw; + font-weight: bold; + padding-top: 1%; + padding-bottom: 1%; +} + +.collapsible::-moz-focus-inner { + border: 0; +} + +.active, .collapsible:hover { + background-color: "white"; +} + +.collapsible:after { + content: '\25BE'; + color: "grey"; + font-weight: bold; + float: right; + margin-left: 5px; +} + +.active:after { + content: "\25B4"; +} + +.content { + padding: 0 1.8vw; + max-height: 0; + overflow: hidden; + transition: max-height 0.2s ease-out; + background-color: "white"; +} + diff --git a/assets/css/fontawesome.min.css b/assets/css/fontawesome.min.css new file mode 100644 index 0000000..06a13c5 --- /dev/null +++ b/assets/css/fontawesome.min.css @@ -0,0 +1,5 @@ +/*! + * Font Awesome Free 5.13.0 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + */ +.fa,.fab,.fad,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adobe:before{content:"\f778"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-air-freshener:before{content:"\f5d0"}.fa-airbnb:before{content:"\f834"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-alipay:before{content:"\f642"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-ankh:before{content:"\f644"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-alt:before{content:"\f5d1"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-artstation:before{content:"\f77a"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-atlassian:before{content:"\f77b"}.fa-atom:before{content:"\f5d2"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-baby:before{content:"\f77c"}.fa-baby-carriage:before{content:"\f77d"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-bacon:before{content:"\f7e5"}.fa-bahai:before{content:"\f666"}.fa-balance-scale:before{content:"\f24e"}.fa-balance-scale-left:before{content:"\f515"}.fa-balance-scale-right:before{content:"\f516"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-battle-net:before{content:"\f835"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bible:before{content:"\f647"}.fa-bicycle:before{content:"\f206"}.fa-biking:before{content:"\f84a"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-biohazard:before{content:"\f780"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blender:before{content:"\f517"}.fa-blender-phone:before{content:"\f6b6"}.fa-blind:before{content:"\f29d"}.fa-blog:before{content:"\f781"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bone:before{content:"\f5d7"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-dead:before{content:"\f6b7"}.fa-book-medical:before{content:"\f7e6"}.fa-book-open:before{content:"\f518"}.fa-book-reader:before{content:"\f5da"}.fa-bookmark:before{content:"\f02e"}.fa-bootstrap:before{content:"\f836"}.fa-border-all:before{content:"\f84c"}.fa-border-none:before{content:"\f850"}.fa-border-style:before{content:"\f853"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-box-tissue:before{content:"\f95b"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-brain:before{content:"\f5dc"}.fa-bread-slice:before{content:"\f7ec"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-buffer:before{content:"\f837"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-business-time:before{content:"\f64a"}.fa-buy-n-large:before{content:"\f8a6"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-day:before{content:"\f783"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-calendar-week:before{content:"\f784"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-campground:before{content:"\f6bb"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-candy-cane:before{content:"\f786"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-car-alt:before{content:"\f5de"}.fa-car-battery:before{content:"\f5df"}.fa-car-crash:before{content:"\f5e1"}.fa-car-side:before{content:"\f5e4"}.fa-caravan:before{content:"\f8ff"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-carrot:before{content:"\f787"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cash-register:before{content:"\f788"}.fa-cat:before{content:"\f6be"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-centos:before{content:"\f789"}.fa-certificate:before{content:"\f0a3"}.fa-chair:before{content:"\f6c0"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-charging-station:before{content:"\f5e7"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-cheese:before{content:"\f7ef"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-chromecast:before{content:"\f838"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-city:before{content:"\f64f"}.fa-clinic-medical:before{content:"\f7f2"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-meatball:before{content:"\f73b"}.fa-cloud-moon:before{content:"\f6c3"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-cloud-rain:before{content:"\f73d"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-cloud-sun:before{content:"\f6c4"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dollar:before{content:"\f651"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-medical:before{content:"\f7f5"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-comments-dollar:before{content:"\f653"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-alt:before{content:"\f422"}.fa-compress-arrows-alt:before{content:"\f78c"}.fa-concierge-bell:before{content:"\f562"}.fa-confluence:before{content:"\f78d"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-cotton-bureau:before{content:"\f89e"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-critical-role:before{content:"\f6c9"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-cross:before{content:"\f654"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-crutch:before{content:"\f7f7"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-d-and-d-beyond:before{content:"\f6ca"}.fa-dailymotion:before{content:"\f952"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-delicious:before{content:"\f1a5"}.fa-democrat:before{content:"\f747"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-dev:before{content:"\f6cc"}.fa-deviantart:before{content:"\f1bd"}.fa-dharmachakra:before{content:"\f655"}.fa-dhl:before{content:"\f790"}.fa-diagnoses:before{content:"\f470"}.fa-diaspora:before{content:"\f791"}.fa-dice:before{content:"\f522"}.fa-dice-d20:before{content:"\f6cf"}.fa-dice-d6:before{content:"\f6d1"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-directions:before{content:"\f5eb"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-disease:before{content:"\f7fa"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dog:before{content:"\f6d3"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dragon:before{content:"\f6d5"}.fa-draw-polygon:before{content:"\f5ee"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dumpster:before{content:"\f793"}.fa-dumpster-fire:before{content:"\f794"}.fa-dungeon:before{content:"\f6d9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edit:before{content:"\f044"}.fa-egg:before{content:"\f7fb"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ello:before{content:"\f5f1"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-text:before{content:"\f658"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-ethernet:before{content:"\f796"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-evernote:before{content:"\f839"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-alt:before{content:"\f424"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fan:before{content:"\f863"}.fa-fantasy-flight-games:before{content:"\f6dc"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-faucet:before{content:"\f905"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-fedex:before{content:"\f797"}.fa-fedora:before{content:"\f798"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-figma:before{content:"\f799"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-csv:before{content:"\f6dd"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-alt:before{content:"\f7e4"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-firefox-browser:before{content:"\f907"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-fist-raised:before{content:"\f6de"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flag-usa:before{content:"\f74d"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-minus:before{content:"\f65d"}.fa-folder-open:before{content:"\f07c"}.fa-folder-plus:before{content:"\f65e"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-funnel-dollar:before{content:"\f662"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-ghost:before{content:"\f6e2"}.fa-gift:before{content:"\f06b"}.fa-gifts:before{content:"\f79c"}.fa-git:before{content:"\f1d3"}.fa-git-alt:before{content:"\f841"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-cheers:before{content:"\f79f"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glass-whiskey:before{content:"\f7a0"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-globe-europe:before{content:"\f7a2"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-gopuram:before{content:"\f664"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-lines:before{content:"\f7a4"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-guitar:before{content:"\f7a6"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hackerrank:before{content:"\f5f7"}.fa-hamburger:before{content:"\f805"}.fa-hammer:before{content:"\f6e3"}.fa-hamsa:before{content:"\f665"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-medical:before{content:"\f95c"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-holding-water:before{content:"\f4c1"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-middle-finger:before{content:"\f806"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-sparkles:before{content:"\f95d"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-hands-wash:before{content:"\f95e"}.fa-handshake:before{content:"\f2b5"}.fa-handshake-alt-slash:before{content:"\f95f"}.fa-handshake-slash:before{content:"\f960"}.fa-hanukiah:before{content:"\f6e6"}.fa-hard-hat:before{content:"\f807"}.fa-hashtag:before{content:"\f292"}.fa-hat-cowboy:before{content:"\f8c0"}.fa-hat-cowboy-side:before{content:"\f8c1"}.fa-hat-wizard:before{content:"\f6e8"}.fa-hdd:before{content:"\f0a0"}.fa-head-side-cough:before{content:"\f961"}.fa-head-side-cough-slash:before{content:"\f962"}.fa-head-side-mask:before{content:"\f963"}.fa-head-side-virus:before{content:"\f964"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-broken:before{content:"\f7a9"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hiking:before{content:"\f6ec"}.fa-hippo:before{content:"\f6ed"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hockey-puck:before{content:"\f453"}.fa-holly-berry:before{content:"\f7aa"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-horse:before{content:"\f6f0"}.fa-horse-head:before{content:"\f7ab"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hospital-user:before{content:"\f80d"}.fa-hot-tub:before{content:"\f593"}.fa-hotdog:before{content:"\f80f"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-house-damage:before{content:"\f6f1"}.fa-house-user:before{content:"\f965"}.fa-houzz:before{content:"\f27c"}.fa-hryvnia:before{content:"\f6f2"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-ice-cream:before{content:"\f810"}.fa-icicles:before{content:"\f7ad"}.fa-icons:before{content:"\f86d"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-ideal:before{content:"\f913"}.fa-igloo:before{content:"\f7ae"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-instagram:before{content:"\f16d"}.fa-instagram-square:before{content:"\f955"}.fa-intercom:before{content:"\f7af"}.fa-internet-explorer:before{content:"\f26b"}.fa-invision:before{content:"\f7b0"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itch-io:before{content:"\f83a"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi:before{content:"\f669"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-jira:before{content:"\f7b1"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-journal-whills:before{content:"\f66a"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-kaaba:before{content:"\f66b"}.fa-kaggle:before{content:"\f5fa"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-khanda:before{content:"\f66d"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-landmark:before{content:"\f66f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laptop-code:before{content:"\f5fc"}.fa-laptop-house:before{content:"\f966"}.fa-laptop-medical:before{content:"\f812"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-layer-group:before{content:"\f5fd"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-open:before{content:"\f3c1"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-luggage-cart:before{content:"\f59d"}.fa-lungs:before{content:"\f604"}.fa-lungs-virus:before{content:"\f967"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mail-bulk:before{content:"\f674"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-markdown:before{content:"\f60f"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mask:before{content:"\f6fa"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-mdb:before{content:"\f8ca"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mendeley:before{content:"\f7b3"}.fa-menorah:before{content:"\f676"}.fa-mercury:before{content:"\f223"}.fa-meteor:before{content:"\f753"}.fa-microblog:before{content:"\f91a"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microscope:before{content:"\f610"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mitten:before{content:"\f7b5"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mixer:before{content:"\f956"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-mosque:before{content:"\f678"}.fa-motorcycle:before{content:"\f21c"}.fa-mountain:before{content:"\f6fc"}.fa-mouse:before{content:"\f8cc"}.fa-mouse-pointer:before{content:"\f245"}.fa-mug-hot:before{content:"\f7b6"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neos:before{content:"\f612"}.fa-network-wired:before{content:"\f6ff"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-oil-can:before{content:"\f613"}.fa-old-republic:before{content:"\f510"}.fa-om:before{content:"\f679"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-orcid:before{content:"\f8d2"}.fa-osi:before{content:"\f41a"}.fa-otter:before{content:"\f700"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-pager:before{content:"\f815"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-pastafarianism:before{content:"\f67b"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-peace:before{content:"\f67c"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-penny-arcade:before{content:"\f704"}.fa-people-arrows:before{content:"\f968"}.fa-people-carry:before{content:"\f4ce"}.fa-pepper-hot:before{content:"\f816"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-booth:before{content:"\f756"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-alt:before{content:"\f879"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-square-alt:before{content:"\f87b"}.fa-phone-volume:before{content:"\f2a0"}.fa-photo-video:before{content:"\f87c"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-square:before{content:"\f91e"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-pizza-slice:before{content:"\f818"}.fa-place-of-worship:before{content:"\f67f"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-plane-slash:before{content:"\f969"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poll:before{content:"\f681"}.fa-poll-h:before{content:"\f682"}.fa-poo:before{content:"\f2fe"}.fa-poo-storm:before{content:"\f75a"}.fa-poop:before{content:"\f619"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-pray:before{content:"\f683"}.fa-praying-hands:before{content:"\f684"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pump-medical:before{content:"\f96a"}.fa-pump-soap:before{content:"\f96b"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-quran:before{content:"\f687"}.fa-r-project:before{content:"\f4f7"}.fa-radiation:before{content:"\f7b9"}.fa-radiation-alt:before{content:"\f7ba"}.fa-rainbow:before{content:"\f75b"}.fa-random:before{content:"\f074"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-reacteurope:before{content:"\f75d"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-record-vinyl:before{content:"\f8d9"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redhat:before{content:"\f7bc"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-remove-format:before{content:"\f87d"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-republican:before{content:"\f75e"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-restroom:before{content:"\f7bd"}.fa-retweet:before{content:"\f079"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-ring:before{content:"\f70b"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-running:before{content:"\f70c"}.fa-rupee-sign:before{content:"\f156"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-salesforce:before{content:"\f83b"}.fa-sass:before{content:"\f41e"}.fa-satellite:before{content:"\f7bf"}.fa-satellite-dish:before{content:"\f7c0"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scroll:before{content:"\f70e"}.fa-sd-card:before{content:"\f7c2"}.fa-search:before{content:"\f002"}.fa-search-dollar:before{content:"\f688"}.fa-search-location:before{content:"\f689"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-shapes:before{content:"\f61f"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-shield-virus:before{content:"\f96c"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopify:before{content:"\f957"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-sim-card:before{content:"\f7c4"}.fa-simplybuilt:before{content:"\f215"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skating:before{content:"\f7c5"}.fa-sketch:before{content:"\f7c6"}.fa-skiing:before{content:"\f7c9"}.fa-skiing-nordic:before{content:"\f7ca"}.fa-skull:before{content:"\f54c"}.fa-skull-crossbones:before{content:"\f714"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-slash:before{content:"\f715"}.fa-sleigh:before{content:"\f7cc"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smog:before{content:"\f75f"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-sms:before{content:"\f7cd"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-soap:before{content:"\f96e"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-down-alt:before{content:"\f884"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-amount-up-alt:before{content:"\f885"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-down-alt:before{content:"\f886"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-numeric-up-alt:before{content:"\f887"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-sourcetree:before{content:"\f7d3"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-speaker-deck:before{content:"\f83c"}.fa-spell-check:before{content:"\f891"}.fa-spider:before{content:"\f717"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-square-root-alt:before{content:"\f698"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stackpath:before{content:"\f842"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-and-crescent:before{content:"\f699"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-star-of-david:before{content:"\f69a"}.fa-star-of-life:before{content:"\f621"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-stopwatch-20:before{content:"\f96f"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-store-alt-slash:before{content:"\f970"}.fa-store-slash:before{content:"\f971"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-suse:before{content:"\f7d6"}.fa-swatchbook:before{content:"\f5c3"}.fa-swift:before{content:"\f8e1"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-symfony:before{content:"\f83d"}.fa-synagogue:before{content:"\f69b"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablets:before{content:"\f490"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-teeth:before{content:"\f62e"}.fa-teeth-open:before{content:"\f62f"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-temperature-high:before{content:"\f769"}.fa-temperature-low:before{content:"\f76b"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tenge:before{content:"\f7d7"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-the-red-yeti:before{content:"\f69d"}.fa-theater-masks:before{content:"\f630"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-think-peaks:before{content:"\f731"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toilet:before{content:"\f7d8"}.fa-toilet-paper:before{content:"\f71e"}.fa-toilet-paper-slash:before{content:"\f972"}.fa-toolbox:before{content:"\f552"}.fa-tools:before{content:"\f7d9"}.fa-tooth:before{content:"\f5c9"}.fa-torah:before{content:"\f6a0"}.fa-torii-gate:before{content:"\f6a1"}.fa-tractor:before{content:"\f722"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-traffic-light:before{content:"\f637"}.fa-trailer:before{content:"\f941"}.fa-train:before{content:"\f238"}.fa-tram:before{content:"\f7da"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-trash-restore:before{content:"\f829"}.fa-trash-restore-alt:before{content:"\f82a"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-truck-loading:before{content:"\f4de"}.fa-truck-monster:before{content:"\f63b"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-pickup:before{content:"\f63c"}.fa-tshirt:before{content:"\f553"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-ubuntu:before{content:"\f7df"}.fa-uikit:before{content:"\f403"}.fa-umbraco:before{content:"\f8e8"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-unity:before{content:"\f949"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-ups:before{content:"\f7e0"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-injured:before{content:"\f728"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-nurse:before{content:"\f82f"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-usps:before{content:"\f7e1"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-slash:before{content:"\f4e2"}.fa-vihara:before{content:"\f6a7"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-virus:before{content:"\f974"}.fa-virus-slash:before{content:"\f975"}.fa-viruses:before{content:"\f976"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-voicemail:before{content:"\f897"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f6a9"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vote-yea:before{content:"\f772"}.fa-vr-cardboard:before{content:"\f729"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-water:before{content:"\f773"}.fa-wave-square:before{content:"\f83e"}.fa-waze:before{content:"\f83f"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-wind:before{content:"\f72e"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-wine-bottle:before{content:"\f72f"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wpressr:before{content:"\f3e4"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yammer:before{content:"\f840"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yarn:before{content:"\f7e3"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yin-yang:before{content:"\f6ad"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto} \ No newline at end of file diff --git a/assets/css/github-markdown.min.css b/assets/css/github-markdown.min.css new file mode 100644 index 0000000..6e8cb3b --- /dev/null +++ b/assets/css/github-markdown.min.css @@ -0,0 +1,2 @@ +@font-face{font-family:octicons-link;src:url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfb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FimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format('woff')}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.5;color:#24292e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .pl-c{color:#6a737d}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:#005cc5}.markdown-body .pl-e,.markdown-body .pl-en{color:#6f42c1}.markdown-body .pl-s .pl-s1,.markdown-body .pl-smi{color:#24292e}.markdown-body .pl-ent{color:#22863a}.markdown-body .pl-k{color:#d73a49}.markdown-body .pl-pds,.markdown-body .pl-s,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sra,.markdown-body .pl-sr .pl-sre{color:#032f62}.markdown-body .pl-smw,.markdown-body .pl-v{color:#e36209}.markdown-body .pl-bu{color:#b31d28}.markdown-body .pl-ii{color:#fafbfc;background-color:#b31d28}.markdown-body .pl-c2{color:#fafbfc;background-color:#d73a49}.markdown-body .pl-c2::before{content:"^M"}.markdown-body .pl-sr .pl-cce{font-weight:700;color:#22863a}.markdown-body .pl-ml{color:#735c0f}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:#005cc5}.markdown-body .pl-mi{font-style:italic;color:#24292e}.markdown-body .pl-mb{font-weight:700;color:#24292e}.markdown-body .pl-md{color:#b31d28;background-color:#ffeef0}.markdown-body .pl-mi1{color:#22863a;background-color:#f0fff4}.markdown-body .pl-mc{color:#e36209;background-color:#ffebda}.markdown-body .pl-mi2{color:#f6f8fa;background-color:#005cc5}.markdown-body .pl-mdr{font-weight:700;color:#6f42c1}.markdown-body .pl-ba{color:#586069}.markdown-body .pl-sg{color:#959da5}.markdown-body .pl-corl{text-decoration:underline;color:#032f62}.markdown-body .octicon{display:inline-block;vertical-align:text-top;fill:currentColor}.markdown-body a{background-color:transparent}.markdown-body a:active,.markdown-body a:hover{outline-width:0}.markdown-body strong{font-weight:inherit}.markdown-body strong{font-weight:bolder}.markdown-body h1{font-size:2em;margin:.67em 0}.markdown-body img{border-style:none}.markdown-body code,.markdown-body kbd,.markdown-body pre{font-family:monospace,monospace;font-size:1em}.markdown-body hr{box-sizing:content-box;height:0;overflow:visible}.markdown-body input{font:inherit;margin:0}.markdown-body input{overflow:visible}.markdown-body [type=checkbox]{box-sizing:border-box;padding:0}.markdown-body *{box-sizing:border-box}.markdown-body input{font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body a{color:#0366d6;text-decoration:none}.markdown-body a:hover{text-decoration:underline}.markdown-body strong{font-weight:600}.markdown-body hr{height:0;margin:15px 0;overflow:hidden;background:0 0;border:0;border-bottom:1px solid #dfe2e5}.markdown-body hr::before{display:table;content:""}.markdown-body hr::after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse}.markdown-body td,.markdown-body th{padding:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:0;margin-bottom:0}.markdown-body h1{font-size:32px;font-weight:600}.markdown-body h2{font-size:24px;font-weight:600}.markdown-body h3{font-size:20px;font-weight:600}.markdown-body h4{font-size:16px;font-weight:600}.markdown-body h5{font-size:14px;font-weight:600}.markdown-body h6{font-size:12px;font-weight:600}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0}.markdown-body ol,.markdown-body ul{padding-left:0;margin-top:0;margin-bottom:0}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ol ol ol,.markdown-body ol ul ol,.markdown-body ul ol ol,.markdown-body ul ul ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body code{font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px}.markdown-body .octicon{vertical-align:text-bottom}.markdown-body .pl-0{padding-left:0!important}.markdown-body .pl-1{padding-left:4px!important}.markdown-body .pl-2{padding-left:8px!important}.markdown-body .pl-3{padding-left:16px!important}.markdown-body .pl-4{padding-left:24px!important}.markdown-body .pl-5{padding-left:32px!important}.markdown-body .pl-6{padding-left:40px!important}.markdown-body::before{display:table;content:""}.markdown-body::after{display:table;clear:both;content:""}.markdown-body>:first-child{margin-top:0!important}.markdown-body>:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:0}.markdown-body blockquote,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul{margin-top:0;margin-bottom:16px}.markdown-body hr{height:.25em;padding:0;margin:24px 0;background-color:#e1e4e8;border:0}.markdown-body blockquote{padding:0 1em;color:#6a737d;border-left:.25em solid #dfe2e5}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font-size:11px;line-height:10px;color:#444d56;vertical-align:middle;background-color:#fafbfc;border:solid 1px #c6cbd1;border-bottom-color:#959da5;border-radius:3px;box-shadow:inset 0 -1px 0 #959da5}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:#1b1f23;vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1{padding-bottom:.3em;font-size:2em;border-bottom:1px solid #eaecef}.markdown-body h2{padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid #eaecef}.markdown-body h3{font-size:1.25em}.markdown-body h4{font-size:1em}.markdown-body h5{font-size:.875em}.markdown-body h6{font-size:.85em;color:#6a737d}.markdown-body ol,.markdown-body ul{padding-left:2em}.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul{margin-top:0;margin-bottom:0}.markdown-body li{word-wrap:break-all}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table{display:block;width:100%;overflow:auto}.markdown-body table th{font-weight:600}.markdown-body table td,.markdown-body table th{padding:6px 13px;border:1px solid #dfe2e5}.markdown-body table tr{background-color:#fff;border-top:1px solid #c6cbd1}.markdown-body table tr:nth-child(2n){background-color:#f6f8fa}.markdown-body img{max-width:100%;box-sizing:content-box;background-color:#fff}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body code{padding:.2em .4em;margin:0;font-size:85%;background-color:rgba(27,31,35,.05);border-radius:3px}.markdown-body pre{word-wrap:normal}.markdown-body pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:0 0;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f6f8fa;border-radius:3px}.markdown-body pre code{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .full-commit .btn-outline:not(:disabled):hover{color:#005cc5;border-color:#005cc5}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;line-height:10px;color:#444d56;vertical-align:middle;background-color:#fafbfc;border:solid 1px #d1d5da;border-bottom-color:#c6cbd1;border-radius:3px;box-shadow:inset 0 -1px 0 #c6cbd1}.markdown-body :checked+.radio-label{position:relative;z-index:1;border-color:#0366d6}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item+.task-list-item{margin-top:3px}.markdown-body .task-list-item input{margin:0 .2em .25em -1.6em;vertical-align:middle}.markdown-body hr{border-bottom-color:#eee} +/*# sourceMappingURL=github-markdown.min.css.map */ \ No newline at end of file diff --git a/assets/css/katex.min.css b/assets/css/katex.min.css new file mode 100644 index 0000000..678802e --- /dev/null +++ b/assets/css/katex.min.css @@ -0,0 +1 @@ +@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(fonts/KaTeX_AMS-Regular.woff2) format("woff2"),url(fonts/KaTeX_AMS-Regular.woff) format("woff"),url(fonts/KaTeX_AMS-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Bold.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Regular.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Bold.woff) format("woff"),url(fonts/KaTeX_Fraktur-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Regular.woff) format("woff"),url(fonts/KaTeX_Fraktur-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Main-Bold.woff2) format("woff2"),url(fonts/KaTeX_Main-Bold.woff) format("woff"),url(fonts/KaTeX_Main-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Main-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Main-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Main-Italic.woff2) format("woff2"),url(fonts/KaTeX_Main-Italic.woff) format("woff"),url(fonts/KaTeX_Main-Italic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Main-Regular.woff2) format("woff2"),url(fonts/KaTeX_Main-Regular.woff) format("woff"),url(fonts/KaTeX_Main-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Math-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Math-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Math-Italic.woff2) format("woff2"),url(fonts/KaTeX_Math-Italic.woff) format("woff"),url(fonts/KaTeX_Math-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(fonts/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Bold.woff) format("woff"),url(fonts/KaTeX_SansSerif-Bold.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(fonts/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Italic.woff) format("woff"),url(fonts/KaTeX_SansSerif-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(fonts/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Regular.woff) format("woff"),url(fonts/KaTeX_SansSerif-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Script-Regular.woff2) format("woff2"),url(fonts/KaTeX_Script-Regular.woff) format("woff"),url(fonts/KaTeX_Script-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size1-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size1-Regular.woff) format("woff"),url(fonts/KaTeX_Size1-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size2-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size2-Regular.woff) format("woff"),url(fonts/KaTeX_Size2-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size3-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size3-Regular.woff) format("woff"),url(fonts/KaTeX_Size3-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size4-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size4-Regular.woff) format("woff"),url(fonts/KaTeX_Size4-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(fonts/KaTeX_Typewriter-Regular.woff) format("woff"),url(fonts/KaTeX_Typewriter-Regular.ttf) format("truetype")}.katex{text-rendering:auto;font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.3"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo} diff --git a/assets/css/toast.css b/assets/css/toast.css new file mode 100644 index 0000000..85e0475 --- /dev/null +++ b/assets/css/toast.css @@ -0,0 +1,16 @@ +/* assets/css/toast.css */ +.custom-toast-popup { + border-radius: 10px; /* Rounded corners */ + box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Custom shadow */ + display: flex; + justify-content: center; + align-items: center; + position: fixed; /* Fixed positioning */ + top: 50%; /* Center vertically */ + left: 50%; /* Center horizontally */ + transform: translate(-50%, -50%); /* Adjust for exact centering */ + z-index: 1000; /* Ensure it appears above other elements */ + padding: 10px; + color: #fff; + font-size: 1rem; + } \ No newline at end of file diff --git a/assets/css/vlabs-style.css b/assets/css/vlabs-style.css new file mode 100644 index 0000000..47cfdf5 --- /dev/null +++ b/assets/css/vlabs-style.css @@ -0,0 +1,444 @@ +html { + overflow-y: auto; +} + +.svc-rating-display{ + display:flex; + flex-direction: column; + margin-right: 40px ; + margin-bottom: 17px; + align-items: center ; +} + +.vl-rating-display { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + overflow: hidden; + padding: 0px 10px; + margin-top: -15px; /* Adjust this value as needed */ +} +.list-of-experiments-container { + display: flex; + flex-direction: row; + justify-content: left; + align-items: center; + overflow: hidden; + flex: 0 0 1%; /*Adjust this value to decrease the width*/ +} + +.list-of-experiments-container > div{ + margin: 1px; +} +.list-of-experiments-display-rating { + position: relative; + top: -10px; + left: 20px; +} + +.vlabs-page { + height: 100vh; + overflow-x: hidden; +} + +.vlabs-header { + border-bottom: 8px solid #ff6600; + font-family: "Raleway", sans-serif; +} + +.vlabs-page-main { + font-size: 1rem; + font-family: "Open Sans", sans-serif; +} + +.vlabs-lab-name { + font-size: 1.7rem; +} + +.vlabs-footer { + font-size: 14px; + background: rgb(17, 17, 17); + font-family: "Raleway", sans-serif; +} + +.vlabs-footer-sect-name { + border-width: 0.15rem; + border-style: solid; + border-image: linear-gradient(to right, #3ec1d5 20%, #555 0%) 0% 0% 100% 0%; +} + +.vlabs-lab-name { + color: #2c99ce; +} + +.vlabs-page-content { + font-size: 1.2rem; + overflow-y: hidden; + font-family: "Raleway", sans-serif; +} + +.social-links > a { + color: #fff; + border-radius: 50%; + width: 36px; + height: 36px; +} + +.nav-menu a, +.simulation-header .dropdown .nav-menu a { + color: #3e6389; +} + +.nav-menu .tasks a, +.simulation-header .dropdown .nav-menu .tasks a { + color: #5c5c5c; +} + +.nav-menu a.current-item, +.simulation-header .dropdown .nav-menu a.current-item { + color: #ff6600; +} + +.nav-menu .tasks, +.simulation-header .dropdown .nav-menu .tasks { + font-size: 1rem; +} + +.nav-menu, +.simulation-header .dropdown .nav-menu { + font-size: 1.2rem; + font-weight: bold; +} + +.nav-menu-body { + justify-content: center; +} + +.sidebar .nav-menu-body { + justify-content: start; +} + +.sidebar { + /* border-right: 2px dotted #89a7c4; */ + border-right: thin solid #e8e8e8; + overflow: hidden; + box-sizing: content-box; +} + +.popupmenu .vlabs-logo { + height: 2.5rem; +} + +@media (max-width: 991px) { + .sidebar { + max-height: 6000px; + transition: max-height 1s ease-in; + flex-wrap: nowrap; + overflow-y: auto; + } + .vlabs-logo { + height: 3rem; + } + + .simulation-header { + display: none !important; + } +} + +@media (min-width: 992px) { + .vlabs-hidden { + display: none !important; + } + #toggle-menu-float-button { + display: none; + } + .bug-report-mobile { + display: none; + } +} + +.vlabs-header a { + margin: 0 1rem; + padding: 0.5rem 1rem; + color: #2c98cd; +} + +.vlabs-header #headerNavbar a:hover { + background: #77bb41; + color: #fff; + border-radius: 10px; +} + +.vlabs-header #headerNavbar a { + border-radius: 10px; + transition: 0.3s; +} + +.breadcrumbs, +.breadcrumbs a, +.breadcrumbs span { + font-size: 1.6rem; + color: #337ab7; +} + +.page-name { + color: #337ab7; +} + +/*pre-test and post-test page styling fix*/ + +.answers { + font-size: 1rem; + display: flex; + flex-direction: column; + margin-bottom: 1rem; +} + +.question { + font-weight: 900; +} + +/* feedback */ +#feedback-btn { + color: #2c99ce; + border-color: #2c99ce; +} + +/* to override markdown styling */ +.markdown-body { + font-family: "Raleway", sans-serif; + color: #000000; + text-align: justify; +} + +/* to fix the extended lines*/ +.markdown-body table tr { + border-top: 0; +} + +h1, +h2, +h3 { + color: #2c99ce; +} + +h2 { + padding-top: 2rem; + padding-bottom: 1rem; +} + +h3 { + font-size: 1.1rem; + color: #333333; + padding-top: 1rem; + text-decoration: underline; +} + +/* for ds experiments - video iframes */ +iframe { + width: 100%; + height: calc(100vw / 3); +} + +.simulation-container { + padding: 0px; + height: 100vh; + width: 100vw; + overflow: hidden; + position: absolute; + top: 0; + left: 0; + background: #fff; + display: flex; + flex-direction: column; +} + +.responsive-iframe { + flex: 1; +} + +/* Style the buttons that are used to open and close the accordion panel */ +.accordion { + display: none; + margin-left: 20px; + color: #337ab7; + text-decoration: underline; + text-align: right; +} + +/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */ +/* .active, +.accordion:hover { +} */ + +/* Style the accordion panel. Note: hidden by default */ +.panel { + display: none; + background-color: #eee; + color: #444; + padding: 18px; + width: 100%; + text-align: left; + border: none; + outline: none; + transition: 0.4s; +} + +/* Customize the label (the container) */ +.container { + display: block; + position: relative; + padding-left: 35px; + margin-bottom: 12px; + cursor: pointer; + font-size: 22px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +/* .form-check input[type="checkbox"] { + width: 1rem; + height: 1rem; + margin: 5px 10px 0px 0px; +} */ + +/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */ +@media screen and (max-width: 600px) { + .column { + width: 100%; + } +} + +#difficulty-container, +.form-check { + display: flex; + align-items: center; +} + +.form-check input[type="checkbox"] { + margin: 0.5em; + transform: scale(1.5); +} + +.fix-spacing > * { + padding-top: 0; + margin-top: 1em; +} + +#toggle-menu-float-button { + position: absolute; + bottom: 20px; + left: 20px; + z-index: 1; + padding: 0.8em 1em; + background: rgba(255, 255, 255, 0.9); + cursor: pointer; + border-radius: 0.5em; + color: #fff; + border: 3px solid rgba(0, 174, 255, 0.274); + transform: scale(0.9); +} + +.toggle-menu-icon { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); + height: 30px; + width: 30px; +} + +.btn-close { + box-sizing: content-box; + width: 1em; + height: 1em; + padding: 0.25em 0.25em; + color: #000; + background: transparent + url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") + center/1em auto no-repeat; + border: 0; + border-radius: 0.25rem; + opacity: 0.5; +} + +.tools { + top: 50%; + transform: translate(0%, 25%); +} + +.simulation-header .navbar-brand .vlabs-logo { + height: 3rem; +} + +.simulation-header h1, +.simulation-header h2 { + border: none; + font-size: 1.5rem; + padding: 0; + flex: 2; + text-align: center; + + display: -webkit-box; + -webkit-line-clamp: 1; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + overflow-wrap: break-word; +} + +.simulation-header .dropdown { + position: relative; + display: inline-block; +} + +.simulation-header .dropdown .backdrop { + position: absolute; + width: 100vw; + background-color: rgba(0, 0, 0, 0.2); + height: 100vh; +} + +.simulation-header .dropdown .nav-menu { + width: fit-content; + background-color: #fff; + margin-top: 8px; + padding: 10px; + box-shadow: 0px 8px 14px 0px rgba(0, 0, 0, 0.2); + font-family: "Open Sans", sans-serif; + max-height: 80%; + overflow: auto; +} + +.simulation-header .dropdown .nav-menu-body { + justify-content: flex-start; +} + +.simulation-header .dropdown .vlabs-hidden { + display: none; +} + +.expand-1 { + flex: 1; +} + +/* Add Button style from virtual styles */ +.v-button { + border: none; + color: #ffffff; + background-color: #288ec8; + text-align: center; + font-size: 1.05rem; + border-radius: 1em; + padding: 0.6em 1.2em; + cursor: pointer; +} + +.v-button:hover { + background-color: #a9a9a9; +} + +.v-button:disabled { + background-color: #a9a9a9; + cursor: not-allowed; +} \ No newline at end of file diff --git a/assets/fonts/font-awesome-4.7.0/css/font-awesome.min.css b/assets/fonts/font-awesome-4.7.0/css/font-awesome.min.css new file mode 100644 index 0000000..540440c --- /dev/null +++ b/assets/fonts/font-awesome-4.7.0/css/font-awesome.min.css @@ -0,0 +1,4 @@ +/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} diff --git a/assets/fonts/font-awesome-4.7.0/fonts/FontAwesome.otf b/assets/fonts/font-awesome-4.7.0/fonts/FontAwesome.otf new file mode 100644 index 0000000..401ec0f Binary files /dev/null and b/assets/fonts/font-awesome-4.7.0/fonts/FontAwesome.otf differ diff --git a/assets/fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.eot b/assets/fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.eot new file mode 100644 index 0000000..e9f60ca Binary files /dev/null and b/assets/fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.eot differ diff --git a/assets/fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.svg b/assets/fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.svg new file mode 100644 index 0000000..855c845 --- /dev/null +++ b/assets/fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.svg @@ -0,0 +1,2671 @@ + + + + +Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + By ,,, +Copyright Dave Gandy 2016. All rights reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf b/assets/fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf new file mode 100644 index 0000000..35acda2 Binary files /dev/null and b/assets/fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf differ diff --git a/assets/fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.woff b/assets/fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.woff new file mode 100644 index 0000000..400014a Binary files /dev/null and b/assets/fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.woff differ diff --git a/assets/fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2 b/assets/fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2 new file mode 100644 index 0000000..4d13fc6 Binary files /dev/null and b/assets/fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2 differ diff --git a/assets/images/favicon.ico b/assets/images/favicon.ico new file mode 100644 index 0000000..d09a558 Binary files /dev/null and b/assets/images/favicon.ico differ diff --git a/assets/images/favicon.png b/assets/images/favicon.png new file mode 100644 index 0000000..fa4d472 Binary files /dev/null and b/assets/images/favicon.png differ diff --git a/assets/images/logo-new.png b/assets/images/logo-new.png new file mode 100644 index 0000000..1016e90 Binary files /dev/null and b/assets/images/logo-new.png differ diff --git a/assets/images/logo.png b/assets/images/logo.png new file mode 100644 index 0000000..5ff2510 Binary files /dev/null and b/assets/images/logo.png differ diff --git a/assets/images/popout.png b/assets/images/popout.png new file mode 100644 index 0000000..f9e722e Binary files /dev/null and b/assets/images/popout.png differ diff --git a/assets/images/vlabs-color-small-moe.jpg b/assets/images/vlabs-color-small-moe.jpg new file mode 100644 index 0000000..f412942 Binary files /dev/null and b/assets/images/vlabs-color-small-moe.jpg differ diff --git a/assets/js/assessment.js b/assets/js/assessment.js new file mode 100644 index 0000000..09b735b --- /dev/null +++ b/assets/js/assessment.js @@ -0,0 +1,53 @@ +const quizContainer = document.getElementById("quiz"); +const resultsContainer = document.getElementById("results"); +const submitButton = document.getElementById("submit"); + + +function showResults() { + // gather answer containers from our quiz + const answerContainers = quizContainer.querySelectorAll(".answers"); + answerContainers.forEach(e => e.style.color = "black"); + + // keep track of user's answers + let numCorrect = 0; + + // for each question... + myQuestions.forEach((currentQuestion, questionNumber) => { + // find selected answer + const answerContainer = answerContainers[questionNumber]; + const selector = `input[name=question${questionNumber}]:checked`; + const userAnswerElement = answerContainer.querySelector(selector); + const userAnswer = userAnswerElement ? userAnswerElement.value : undefined; + + // Log the value and type of userAnswer + //console.log(`Question ${questionNumber + 1}: userAnswer =`, userAnswer, `, type =`, typeof userAnswer); + + // if answer is correct + if (userAnswer === currentQuestion.correctAnswer) { + // add to the number of correct answers + numCorrect++; + + // color the selected answer green + if (userAnswerElement) { + userAnswerElement.parentElement.style.color = "lightgreen"; + } + } + // if answer is blank + else if (userAnswer === undefined) { + // color the answers black + answerContainers[questionNumber].style.color = "black"; + } + // if answer is wrong + else { + // color the answers red + if (userAnswerElement) { + userAnswerElement.parentElement.style.color = "red"; + } + } + }); + // show number of correct answers out of total + resultsContainer.innerHTML = `${numCorrect} out of ${myQuestions.length}`; +} + + +submitButton.addEventListener("click", showResults); diff --git a/assets/js/assessment_v2.js b/assets/js/assessment_v2.js new file mode 100644 index 0000000..7c30e47 --- /dev/null +++ b/assets/js/assessment_v2.js @@ -0,0 +1,185 @@ +"use strict"; + +const quizContainer = document.getElementById("quiz"); +const resultsContainer = document.getElementById("results"); +const submitButton = document.getElementById("submit"); +const difficultyLevels = ["beginner", "intermediate", "advanced"]; + +let difficulty = []; +let questions = { all: myQuestions }; + +const addEventListener_explanations = () => { + let accordions = document.getElementsByClassName("accordion"); + Array.from(accordions).forEach((accordion) => { + accordion.addEventListener("click", function () { + /* Toggle between adding and removing the "active" class, + to highlight the button that controls the panel */ + accordion.classList.toggle("active"); + + /* Toggle between hiding and showing the active panel */ + let panel = accordion.parentElement.nextElementSibling; + if (panel.style.display === "block") { + panel.style.display = "none"; + } else { + panel.style.display = "block"; + } + }); + }); +}; + +const addEventListener_checkbox = () => { + difficulty.forEach((diff) => { + let cBox = document.getElementById(diff); + cBox.addEventListener("change", function () { + if (cBox.checked) { + difficulty.push(diff); + } else { + difficulty.splice(difficulty.indexOf(diff), 1); + } + updateQuestions(); + }); + }); +}; + +const populateQuestions = () => { + let num = 0; + myQuestions.forEach((currentQuestion) => { + if (difficultyLevels.indexOf(currentQuestion.difficulty) === -1) { + currentQuestion.difficulty = "beginner"; + } + if (!(currentQuestion.difficulty in questions)) { + questions[currentQuestion.difficulty] = []; + } + questions[currentQuestion.difficulty].push(currentQuestion); + + currentQuestion.num = num; + num += 1; + }); + + if (Object.keys(questions).length > 2) { + document.getElementById("difficulty-label").style.display = "flex"; + difficultyLevels.forEach((diff) => { + if (!(diff in questions)) { + return; + } + difficulty.push(diff); + let checkbox = document.getElementById(diff); + checkbox.checked = true; + checkbox.parentElement.style.display = "flex"; + }); + } else { + difficultyLevels.forEach((diff) => { + if (!(diff in questions)) { + return; + } + difficulty.push(diff); + }); + } +}; + +const checkDifficulties = (classlist) => { + if (difficulty.length === Object.keys(questions).length - 1) return true; + for (let i in difficulty) { + if (classlist.contains(difficulty[i])) return true; + } + // If beginner is checked list the unlisted question as beginner + for (let i in difficultyLevels) { + if (classlist.contains(difficultyLevels[i])) return false; + } + if (difficulty.indexOf("beginner") > -1) { + return true; + } +}; + +function updateQuestions() { + const quiz = document.getElementById("quiz"); + const qquestions = quiz.getElementsByClassName("question"); + for (let i = 0; i < qquestions.length; i += 1) { + if (!checkDifficulties(qquestions[i].classList)) { + qquestions[i].style.display = "none"; + qquestions[i].nextElementSibling.style.display = "none"; + } else { + qquestions[i].style.display = "block"; + qquestions[i].nextElementSibling.style.display = "flex"; + } + } +} + +function showResults() { + // gather answer containers from our quiz + const answerContainers = quizContainer.querySelectorAll(".answers"); + // keep track of user's answers + let numCorrect = 0; + let totalNum = 0; + + // for each question... + myQuestions.forEach((currentQuestion) => { + // find selected answer + if ( + difficulty.indexOf(currentQuestion.difficulty) === -1 && + difficulty.length !== Object.keys(questions).length - 1 + ) + return; + let questionNumber = currentQuestion.num; + const answerContainer = answerContainers[questionNumber]; + const selector = `input[name=question${questionNumber}]:checked`; + const userAnswer = (answerContainer.querySelector(selector) || {}).value; + // Add to total + totalNum++; + + // if answer is correct + if (userAnswer === currentQuestion.correctAnswer) { + // Color the correct answer lightgreen + const correctAnswerElement = document.getElementById( + "answer" + questionNumber.toString() + userAnswer + ); + correctAnswerElement.style.color = "lightgreen"; + + // add to the number of correct answers + numCorrect++; + + // Show all explanations + if (currentQuestion.explanations) { + for (let answer in currentQuestion.answers) { + let explanation = currentQuestion.explanations[answer]; + let explanationButton = document.getElementById( + "explanation" + questionNumber.toString() + answer + ); + if (explanation) { + explanationButton.parentElement.nextElementSibling.innerHTML = explanation; + explanationButton.style.display = "inline-block"; + } else { + explanationButton.style.display = "none"; + } + } + } + } else if (userAnswer) { + // if answer is wrong + document.getElementById( + "answer" + questionNumber.toString() + userAnswer + ).style.color = "red"; + + // Show explanation for the selected answer + if (currentQuestion.explanations && userAnswer) { + let explanation = currentQuestion.explanations[userAnswer]; + let explanationButton = document.getElementById( + "explanation" + questionNumber.toString() + userAnswer + ); + if (explanation) { + explanationButton.parentElement.nextElementSibling.innerHTML = explanation; + explanationButton.style.display = "inline-block"; + } else { + explanationButton.style.display = "none"; + } + } + } + }); + + // show number of correct answers out of total + resultsContainer.innerHTML = `Score: ${numCorrect} out of ${totalNum}`; +} + +populateQuestions(); +addEventListener_explanations(); +addEventListener_checkbox(); +submitButton.addEventListener("click", showResults); \ No newline at end of file diff --git a/assets/js/event-handler.js b/assets/js/event-handler.js new file mode 100644 index 0000000..324cc78 --- /dev/null +++ b/assets/js/event-handler.js @@ -0,0 +1,76 @@ +"use-strict"; + +const Toast = Swal.mixin({ + toast: true, + position: 'center', + showConfirmButton: false, + timer: 3000, + timerProgressBar: true, + didOpen: (toast) => { + toast.addEventListener('mouseenter', Swal.stopTimer) + toast.addEventListener('mouseleave', Swal.resumeTimer) + } +}) + +document.getElementById('bug-report').addEventListener('vl-bug-report', (event) => { + //console.log('Received vl-bug-report event:', event); + if (event.detail.status === 200 || event.detail.status === 201) { + const learningUnit = document.head.querySelector('meta[name="learning-unit"]').content; + const task = document.head.querySelector('meta[name="task-name"]').content; + if (window.dataLayer) { + window.dataLayer.push({ + event: "vl-bug-report", + "bug-type": event.detail.issues, + "learning-unit": learningUnit ? learningUnit : "", + "task-name": task ? task : "" + }) + } + Toast.fire({ + icon: 'success', + iconColor: "white", + background: "#a5dc86", + title: 'Bug Reported Successfully', + }) + } else { + const error = event.detail.error; + console.log('Error details:', error); + Toast.fire({ + icon: 'error', + iconColor: "white", + color: "white", + background: "#f27474", + timer: 5000, + title: 'Bug Report Failed', + text: 'Please try again later', + //text: 'Please try again later. Error: ' + error, + }); + } +}); + +// Function to handle the rating submit logic +function handleRatingSubmit(e) { + const learningUnit = document.head.querySelector('meta[name="learning-unit"]').content; + const task = document.head.querySelector('meta[name="task-name"]').content; + if (window.dataLayer) { + window.dataLayer.push({ + event: "vl-rating-submit", + "rating": e.detail.rating, + "rating-value": e.detail.rating, + "learning-unit": learningUnit ? learningUnit : "", + "task-name": task ? task : "" + }); + } + Toast.fire({ + icon: 'success', + iconColor: "white", + background: "#a5dc86", + title: 'Rating Submitted Successfully', + }); +} + +const ratingSubmitElement = document.querySelector('rating-submit'); +if (ratingSubmitElement) { + // Wait for the 'vl-rating-submit' event before adding the event listener + ratingSubmitElement.addEventListener('vl-rating-submit', handleRatingSubmit); +} + diff --git a/assets/js/iframeResize.js b/assets/js/iframeResize.js new file mode 100644 index 0000000..fc116cb --- /dev/null +++ b/assets/js/iframeResize.js @@ -0,0 +1,29 @@ +const sendPostMessage = (mutationList, ob) => { + if (mutationList && mutationList.length > 0) { + let height = document.scrollingElement.scrollHeight; + window.parent.postMessage({ + frameHeight: height + }, '*'); + } +} + +window.onresize = () => sendPostMessage(); + +const config = { attributes: true, childList: true, subtree: true }; + +const observer = new MutationObserver(sendPostMessage); +observer.observe(document.body, config); + + + +/* This is only needed when there is a nested iframe, and +will work only if this script is manualy inserted in the embedded iframe page. +*/ +window.onmessage = (e) => { + if (e.data.hasOwnProperty("frameHeight")) { + var iframeDiv = document.querySelector("iframe"); + if (iframeDiv) { + iframeDiv.style["padding-top"] = `${e.data.frameHeight}px`; + } + } +}; diff --git a/assets/js/instruction-box.js b/assets/js/instruction-box.js new file mode 100644 index 0000000..f8152c8 --- /dev/null +++ b/assets/js/instruction-box.js @@ -0,0 +1,11 @@ +var collapsibleEl = document.getElementsByClassName("collapsible")[0]; +collapsibleEl.addEventListener("click", function() { + this.classList.toggle("active"); + var content = this.nextElementSibling; + if (content.style.maxHeight){ + content.style.maxHeight = null; + } else { + content.style.maxHeight = content.scrollHeight + "px"; + } +}); + diff --git a/assets/js/jquery-3.4.1.slim.min.js b/assets/js/jquery-3.4.1.slim.min.js new file mode 100644 index 0000000..af151cf --- /dev/null +++ b/assets/js/jquery-3.4.1.slim.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.4.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(g,e){"use strict";var t=[],v=g.document,r=Object.getPrototypeOf,s=t.slice,y=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,m=n.hasOwnProperty,a=m.toString,l=a.call(Object),b={},x=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},w=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function C(e,t,n){var r,i,o=(n=n||v).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function T(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector",E=function(e,t){return new E.fn.init(e,t)},d=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function p(e){var t=!!e&&"length"in e&&e.length,n=T(e);return!x(e)&&!w(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+R+")"+R+"*"),U=new RegExp(R+"|>"),V=new RegExp(W),X=new RegExp("^"+B+"$"),Q={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,G=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){C()},ae=xe(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{O.apply(t=P.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){O={apply:t.length?function(e,t){q.apply(e,P.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,d=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return n;if(!r&&((e?e.ownerDocument||e:m)!==T&&C(e),e=e||T,E)){if(11!==d&&(u=Z.exec(t)))if(i=u[1]){if(9===d){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return O.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&p.getElementsByClassName&&e.getElementsByClassName)return O.apply(n,e.getElementsByClassName(i)),n}if(p.qsa&&!S[t+" "]&&(!v||!v.test(t))&&(1!==d||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===d&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=N),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+be(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return O.apply(n,f.querySelectorAll(c)),n}catch(e){S(t,!0)}finally{s===N&&e.removeAttribute("id")}}}return g(t.replace(F,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>x.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[N]=!0,e}function ce(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)x.attrHandle[n[r]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function pe(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in p=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},C=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==T&&9===r.nodeType&&r.documentElement&&(a=(T=r).documentElement,E=!i(T),m!==T&&(n=T.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),p.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),p.getElementsByTagName=ce(function(e){return e.appendChild(T.createComment("")),!e.getElementsByTagName("*").length}),p.getElementsByClassName=J.test(T.getElementsByClassName),p.getById=ce(function(e){return a.appendChild(e).id=N,!T.getElementsByName||!T.getElementsByName(N).length}),p.getById?(x.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(x.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},x.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),x.find.TAG=p.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):p.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},x.find.CLASS=p.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(p.qsa=J.test(T.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+R+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+N+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+N+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=T.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(p.matchesSelector=J.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){p.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",W)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=J.test(a.compareDocumentPosition),y=t||J.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument===m&&y(m,e)?-1:t===T||t.ownerDocument===m&&y(m,t)?1:u?H(u,e)-H(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===T?-1:t===T?1:i?-1:o?1:u?H(u,e)-H(u,t):0;if(i===o)return de(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?de(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),T},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==T&&C(e),p.matchesSelector&&E&&!S[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){S(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=d[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&d(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function L(e,n,r){return x(n)?E.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?E.grep(e,function(e){return e===n!==r}):"string"!=typeof n?E.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(E.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||j,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),D.test(r[1])&&E.isPlainObject(t))for(r in t)x(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=v.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):x(e)?void 0!==n.ready?n.ready(e):e(E):E.makeArray(e,this)}).prototype=E.fn,j=E(v);var O=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function H(e,t){while((e=e[t])&&1!==e.nodeType);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,pe=/^$|^module$|\/(?:java|ecma)script/i,he={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ge(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&S(e,t)?E.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;nx",b.noCloneChecked=!!ye.cloneNode(!0).lastChild.defaultValue;var we=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function Ne(){return!1}function Ae(e,t){return e===function(){try{return v.activeElement}catch(e){}}()==("focus"===t)}function ke(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)ke(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ne;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return E().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=E.guid++)),e.each(function(){E.event.add(this,t,i,r,n)})}function Se(e,i,o){o?(G.set(e,i,!1),E.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=G.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(E.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),G.set(this,i,r),t=o(this,i),this[i](),r!==(n=G.get(this,i))||t?G.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(G.set(this,i,{value:E.event.trigger(E.extend(r[0],E.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===G.get(e,i)&&E.event.add(e,i,Ee)}E.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,v=G.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&E.find.matchesSelector(ie,i),n.guid||(n.guid=E.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(I)||[""]).length;while(l--)p=g=(s=Te.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),p&&(f=E.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=E.event.special[p]||{},c=E.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&E.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=u[p])||((d=u[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(p,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),E.event.global[p]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,v=G.hasData(e)&&G.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(I)||[""]).length;while(l--)if(p=g=(s=Te.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),p){f=E.event.special[p]||{},d=u[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;while(o--)c=d[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||E.removeEvent(e,p,v.handle),delete u[p])}else for(p in u)E.event.remove(e,p+t[l],n,r,!0);E.isEmptyObject(u)&&G.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=E.event.fix(e),u=new Array(arguments.length),l=(G.get(this,"events")||{})[s.type]||[],c=E.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,Le=/\s*$/g;function Oe(e,t){return S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ie(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(G.hasData(e)&&(o=G.access(e),a=G.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(b.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||E.isXMLDoc(e)))for(a=ge(c),r=0,i=(o=ge(e)).length;r
",2===pt.childNodes.length),E.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(b.createHTMLDocument?((r=(t=v.implementation.createHTMLDocument("")).createElement("base")).href=v.location.href,t.head.appendChild(r)):t=v),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&E(o).remove(),E.merge([],i.childNodes)));var r,i,o},E.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=E.css(e,"position"),c=E(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=E.css(e,"top"),u=E.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),x(t)&&(t=t.call(e,n,E.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){E.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===E.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===E.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=E(e).offset()).top+=E.css(e,"borderTopWidth",!0),i.left+=E.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-E.css(r,"marginTop",!0),left:t.left-i.left-E.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===E.css(e,"position"))e=e.offsetParent;return e||ie})}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;E.fn[t]=function(e){return z(this,function(e,t,n){var r;if(w(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),E.each(["top","left"],function(e,n){E.cssHooks[n]=ze(b.pixelPosition,function(e,t){if(t)return t=Fe(e,n),Me.test(t)?E(e).position()[n]+"px":t})}),E.each({Height:"height",Width:"width"},function(a,s){E.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){E.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return z(this,function(e,t,n){var r;return w(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?E.css(e,t,i):E.style(e,t,n,i)},s,n?e:void 0,n)}})}),E.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){E.fn[n]=function(e,t){return 0 { + if (!(target.closest(".navbar-toggler") || target.closest(".nav-menu"))) { + document + .querySelector(".simulation-header .dropdown .backdrop") + .classList.add("vlabs-hidden"); + } + }); +} diff --git a/assets/js/webcomponents-loader.min.js b/assets/js/webcomponents-loader.min.js new file mode 100644 index 0000000..5a27c30 --- /dev/null +++ b/assets/js/webcomponents-loader.min.js @@ -0,0 +1 @@ +!function(){"use strict";var e,n=!1,t=[],o=!1;function d(){window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}function i(){window.customElements&&customElements.polyfillWrapFlushCallback&&customElements.polyfillWrapFlushCallback(function(n){e=n,o&&e()})}function r(){window.HTMLTemplateElement&&HTMLTemplateElement.bootstrap&&HTMLTemplateElement.bootstrap(window.document),n=!0,c().then(d)}function c(){o=!1;var n=t.map(function(e){return e instanceof Function?e():e});return t=[],Promise.all(n).then(function(){o=!0,e&&e()}).catch(function(e){console.error(e)})}window.WebComponents=window.WebComponents||{},window.WebComponents.ready=window.WebComponents.ready||!1,window.WebComponents.waitFor=window.WebComponents.waitFor||function(e){e&&(t.push(e),n&&c())},window.WebComponents._batchCustomElements=i;var a="webcomponents-loader.js",l=[];(!("attachShadow"in Element.prototype&&"getRootNode"in Element.prototype)||window.ShadyDOM&&window.ShadyDOM.force)&&l.push("sd"),window.customElements&&!window.customElements.forcePolyfill||l.push("ce");var s=function(){var e=document.createElement("template");if(!("content"in e))return!0;if(!(e.content.cloneNode()instanceof DocumentFragment))return!0;var n=document.createElement("template");n.content.appendChild(document.createElement("div")),e.content.appendChild(n);var t=e.cloneNode(!0);return 0===t.content.childNodes.length||0===t.content.firstChild.content.childNodes.length}();if(window.Promise&&Array.from&&window.URL&&window.Symbol&&!s||(l=["sd-ce-pf"]),l.length){var m,w="bundles/webcomponents-"+l.join("-")+".js";if(window.WebComponents.root)m=window.WebComponents.root+w;else{var u=document.querySelector('script[src*="'+a+'"]');m=u.src.replace(a,w)}var p=document.createElement("script");p.src=m,"loading"===document.readyState?(p.setAttribute("onload","window.WebComponents._batchCustomElements()"),document.write(p.outerHTML),document.addEventListener("DOMContentLoaded",r)):(p.addEventListener("load",function(){i(),r()}),p.addEventListener("error",function(){throw new Error("Could not load polyfill bundle"+m)}),document.head.appendChild(p))}else"complete"===document.readyState?(n=!0,d()):(window.addEventListener("load",r),window.addEventListener("DOMContentLoaded",function(){window.removeEventListener("load",r),r()}))}(); \ No newline at end of file diff --git a/assets/js/zero-md.min.js b/assets/js/zero-md.min.js new file mode 100644 index 0000000..d66175b --- /dev/null +++ b/assets/js/zero-md.min.js @@ -0,0 +1 @@ +window,document,window.customElements.define("zero-md",class extends HTMLElement{get version(){return"v1.3.2"}get src(){return this.getAttribute("src")}get manualRender(){return this.hasAttribute("manual-render")}get noShadow(){return this.hasAttribute("no-shadow")}get markedUrl(){return this.getAttribute("marked-url")||window.ZeroMd.config.markedUrl}get prismUrl(){return this.getAttribute("prism-url")||window.ZeroMd.config.prismUrl}get cssUrls(){let e=this.getAttribute("css-urls");return e?JSON.parse(e):window.ZeroMd.config.cssUrls}constructor(){super(),window.ZeroMd=window.ZeroMd||{},window.ZeroMd.config=window.ZeroMd.config||{},window.ZeroMd.config.markedUrl=window.ZeroMd.config.markedUrl||"https://cdn.jsdelivr.net/npm/marked@0/marked.min.js",window.ZeroMd.config.prismUrl=window.ZeroMd.config.prismUrl||"https://cdn.jsdelivr.net/npm/prismjs@1/prism.min.js",window.ZeroMd.config.cssUrls=window.ZeroMd.config.cssUrls||["https://cdn.jsdelivr.net/npm/github-markdown-css@2/github-markdown.min.css","https://cdn.jsdelivr.net/npm/prismjs@1/themes/prism.min.css"],window.ZeroMd.cache=window.ZeroMd.cache||{}}connectedCallback(){this.addEventListener("click",this._hijackLinks.bind(this)),this.addEventListener("zero-md-rendered",function e(){this.removeEventListener("zero-md-rendered",e),window.setTimeout(()=>{this._scrollTo(window.location.hash)})}.bind(this)),this.manualRender||this.render(),this._fire("zero-md-ready")}_fire(e){this.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0}))}_ajaxGet(e){return new Promise((t,r)=>{if(!e)return void r(e);let i=new XMLHttpRequest,n=t=>{console.warn("[zero-md] Error getting file",e),r(t)};i.open("GET",e,!0),i.onload=(()=>{i.status>=200&&i.status<400?t(i.responseText):n(i)}),i.onerror=(e=>n(e)),i.send()})}_loadScript(e,t,r,...i){return new Promise((n,s)=>{if("undefined"===t)if(window.ZeroMd.cache.hasOwnProperty(r))window.addEventListener(r,function e(){window.removeEventListener(r,e),n()});else{window.ZeroMd.cache[r]=!0;let t=document.createElement("script");for(let e of i)t.setAttribute(e,"");t.onload=(()=>{this._fire(r),n()}),t.onerror=(t=>{console.warn("[zero-md] Error loading script",e),s(t)}),t.src=e,document.head.appendChild(t)}else n()})}_getStylesheet(e){return new Promise((t,r)=>{window.ZeroMd.cache[e]?window.ZeroMd.cache[e].loaded?t(window.ZeroMd.cache[e].data):window.addEventListener(e,function r(){window.removeEventListener(e,r),t(window.ZeroMd.cache[e].data)}):(window.ZeroMd.cache[e]={loaded:!1,data:""},this._ajaxGet(e).then(r=>{window.ZeroMd.cache[e].data=r,window.ZeroMd.cache[e].loaded=!0,this._fire(e),t(r)},e=>r(e)))})}_getInputs(){return new Promise((e,t)=>{let r=this.querySelector("template")&&this.querySelector("template").content.querySelector("xmp")||!1;r?e(r.textContent):this._ajaxGet(this.src).then(t=>e(t)).catch(e=>t(e))})}_prismHighlight(e,t){return window.Prism.highlight(e,this._detectLang(e,t))}_detectLang(e,t){return t?window.Prism.languages.hasOwnProperty(t)?window.Prism.languages[t]:"es"===t.substr(0,2)?window.Prism.languages.javascript:"c"===t?window.Prism.langauges.clike:window.Prism.languages.markup:e.match(/^\s*this.removeChild(e)),this.shadowRoot&&(this.shadowRoot.innerHTML=""),this.noShadow?this.insertAdjacentHTML("afterbegin",e):(this.shadowRoot||this.attachShadow({mode:"open"})).innerHTML=e}_buildMd(){return new Promise((e,t)=>{Promise.all([this._getInputs(),this._loadScript(this.markedUrl,typeof window.marked,"zero-md-marked-ready","async"),this._loadScript(this.prismUrl,typeof window.Prism,"zero-md-prism-ready","async","data-manual")]).then(t=>{e('
'+window.marked(t[0],{highlight:this._prismHighlight.bind(this)})+"
")},e=>{t(e)})})}_buildStyles(){return new Promise(e=>{let t='",i=this.querySelector("template")&&this.querySelector("template").content.querySelector("style")||!1;i?e(t+i.textContent+r):Array.isArray(this.cssUrls)&&this.cssUrls.length?Promise.all(this.cssUrls.map(e=>this._getStylesheet(e))).then(i=>e(t+i.join("")+r)).catch(()=>e(t+r)):(console.warn("[zero-md] No styles are defined"),e(t+r))})}_scrollTo(e){if(!e||!this.shadowRoot)return;let t=this.shadowRoot.getElementById(e.substr(1));t&&t.scrollIntoView()}_hijackLinks(e){let t=e.path||e.composedPath();if("A"!==t[0].tagName)return;const r=t[0];r.hash&&r.origin+r.pathname===window.location.origin+window.location.pathname&&(e.metaKey?window.open(r.href,"_blank"):(this._scrollTo(r.hash),window.location=r.href),e.preventDefault())}render(){Promise.all([this._buildStyles(),this._buildMd()]).then(e=>{this._stampDom(e[0]+e[1]),this._fire("zero-md-rendered")})}}); diff --git a/assets/katex_assets/fonts/KaTeX_AMS-Regular.ttf b/assets/katex_assets/fonts/KaTeX_AMS-Regular.ttf new file mode 100644 index 0000000..c6f9a5e Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_AMS-Regular.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_AMS-Regular.woff b/assets/katex_assets/fonts/KaTeX_AMS-Regular.woff new file mode 100644 index 0000000..b804d7b Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_AMS-Regular.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_AMS-Regular.woff2 b/assets/katex_assets/fonts/KaTeX_AMS-Regular.woff2 new file mode 100644 index 0000000..0acaaff Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_AMS-Regular.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_Caligraphic-Bold.ttf b/assets/katex_assets/fonts/KaTeX_Caligraphic-Bold.ttf new file mode 100644 index 0000000..9ff4a5e Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Caligraphic-Bold.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_Caligraphic-Bold.woff b/assets/katex_assets/fonts/KaTeX_Caligraphic-Bold.woff new file mode 100644 index 0000000..9759710 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Caligraphic-Bold.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_Caligraphic-Bold.woff2 b/assets/katex_assets/fonts/KaTeX_Caligraphic-Bold.woff2 new file mode 100644 index 0000000..f390922 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Caligraphic-Bold.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_Caligraphic-Regular.ttf b/assets/katex_assets/fonts/KaTeX_Caligraphic-Regular.ttf new file mode 100644 index 0000000..f522294 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Caligraphic-Regular.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_Caligraphic-Regular.woff b/assets/katex_assets/fonts/KaTeX_Caligraphic-Regular.woff new file mode 100644 index 0000000..9bdd534 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Caligraphic-Regular.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_Caligraphic-Regular.woff2 b/assets/katex_assets/fonts/KaTeX_Caligraphic-Regular.woff2 new file mode 100644 index 0000000..75344a1 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Caligraphic-Regular.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_Fraktur-Bold.ttf b/assets/katex_assets/fonts/KaTeX_Fraktur-Bold.ttf new file mode 100644 index 0000000..4e98259 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Fraktur-Bold.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_Fraktur-Bold.woff b/assets/katex_assets/fonts/KaTeX_Fraktur-Bold.woff new file mode 100644 index 0000000..e7730f6 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Fraktur-Bold.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_Fraktur-Bold.woff2 b/assets/katex_assets/fonts/KaTeX_Fraktur-Bold.woff2 new file mode 100644 index 0000000..395f28b Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Fraktur-Bold.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_Fraktur-Regular.ttf b/assets/katex_assets/fonts/KaTeX_Fraktur-Regular.ttf new file mode 100644 index 0000000..b8461b2 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Fraktur-Regular.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_Fraktur-Regular.woff b/assets/katex_assets/fonts/KaTeX_Fraktur-Regular.woff new file mode 100644 index 0000000..acab069 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Fraktur-Regular.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_Fraktur-Regular.woff2 b/assets/katex_assets/fonts/KaTeX_Fraktur-Regular.woff2 new file mode 100644 index 0000000..735f694 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Fraktur-Regular.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_Main-Bold.ttf b/assets/katex_assets/fonts/KaTeX_Main-Bold.ttf new file mode 100644 index 0000000..4060e62 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Main-Bold.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_Main-Bold.woff b/assets/katex_assets/fonts/KaTeX_Main-Bold.woff new file mode 100644 index 0000000..f38136a Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Main-Bold.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_Main-Bold.woff2 b/assets/katex_assets/fonts/KaTeX_Main-Bold.woff2 new file mode 100644 index 0000000..ab2ad21 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Main-Bold.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_Main-BoldItalic.ttf b/assets/katex_assets/fonts/KaTeX_Main-BoldItalic.ttf new file mode 100644 index 0000000..dc00797 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Main-BoldItalic.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_Main-BoldItalic.woff b/assets/katex_assets/fonts/KaTeX_Main-BoldItalic.woff new file mode 100644 index 0000000..67807b0 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Main-BoldItalic.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_Main-BoldItalic.woff2 b/assets/katex_assets/fonts/KaTeX_Main-BoldItalic.woff2 new file mode 100644 index 0000000..5931794 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Main-BoldItalic.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_Main-Italic.ttf b/assets/katex_assets/fonts/KaTeX_Main-Italic.ttf new file mode 100644 index 0000000..0e9b0f3 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Main-Italic.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_Main-Italic.woff b/assets/katex_assets/fonts/KaTeX_Main-Italic.woff new file mode 100644 index 0000000..6f43b59 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Main-Italic.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_Main-Italic.woff2 b/assets/katex_assets/fonts/KaTeX_Main-Italic.woff2 new file mode 100644 index 0000000..b50920e Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Main-Italic.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_Main-Regular.ttf b/assets/katex_assets/fonts/KaTeX_Main-Regular.ttf new file mode 100644 index 0000000..dd45e1e Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Main-Regular.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_Main-Regular.woff b/assets/katex_assets/fonts/KaTeX_Main-Regular.woff new file mode 100644 index 0000000..21f5812 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Main-Regular.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_Main-Regular.woff2 b/assets/katex_assets/fonts/KaTeX_Main-Regular.woff2 new file mode 100644 index 0000000..eb24a7b Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Main-Regular.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_Math-BoldItalic.ttf b/assets/katex_assets/fonts/KaTeX_Math-BoldItalic.ttf new file mode 100644 index 0000000..728ce7a Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Math-BoldItalic.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_Math-BoldItalic.woff b/assets/katex_assets/fonts/KaTeX_Math-BoldItalic.woff new file mode 100644 index 0000000..0ae390d Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Math-BoldItalic.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_Math-BoldItalic.woff2 b/assets/katex_assets/fonts/KaTeX_Math-BoldItalic.woff2 new file mode 100644 index 0000000..2965702 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Math-BoldItalic.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_Math-Italic.ttf b/assets/katex_assets/fonts/KaTeX_Math-Italic.ttf new file mode 100644 index 0000000..70d559b Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Math-Italic.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_Math-Italic.woff b/assets/katex_assets/fonts/KaTeX_Math-Italic.woff new file mode 100644 index 0000000..eb5159d Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Math-Italic.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_Math-Italic.woff2 b/assets/katex_assets/fonts/KaTeX_Math-Italic.woff2 new file mode 100644 index 0000000..215c143 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Math-Italic.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_SansSerif-Bold.ttf b/assets/katex_assets/fonts/KaTeX_SansSerif-Bold.ttf new file mode 100644 index 0000000..2f65a8a Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_SansSerif-Bold.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_SansSerif-Bold.woff b/assets/katex_assets/fonts/KaTeX_SansSerif-Bold.woff new file mode 100644 index 0000000..8d47c02 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_SansSerif-Bold.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_SansSerif-Bold.woff2 b/assets/katex_assets/fonts/KaTeX_SansSerif-Bold.woff2 new file mode 100644 index 0000000..cfaa3bd Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_SansSerif-Bold.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_SansSerif-Italic.ttf b/assets/katex_assets/fonts/KaTeX_SansSerif-Italic.ttf new file mode 100644 index 0000000..d5850df Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_SansSerif-Italic.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_SansSerif-Italic.woff b/assets/katex_assets/fonts/KaTeX_SansSerif-Italic.woff new file mode 100644 index 0000000..7e02df9 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_SansSerif-Italic.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_SansSerif-Italic.woff2 b/assets/katex_assets/fonts/KaTeX_SansSerif-Italic.woff2 new file mode 100644 index 0000000..349c06d Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_SansSerif-Italic.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_SansSerif-Regular.ttf b/assets/katex_assets/fonts/KaTeX_SansSerif-Regular.ttf new file mode 100644 index 0000000..537279f Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_SansSerif-Regular.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_SansSerif-Regular.woff b/assets/katex_assets/fonts/KaTeX_SansSerif-Regular.woff new file mode 100644 index 0000000..31b8482 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_SansSerif-Regular.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_SansSerif-Regular.woff2 b/assets/katex_assets/fonts/KaTeX_SansSerif-Regular.woff2 new file mode 100644 index 0000000..a90eea8 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_SansSerif-Regular.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_Script-Regular.ttf b/assets/katex_assets/fonts/KaTeX_Script-Regular.ttf new file mode 100644 index 0000000..fd679bf Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Script-Regular.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_Script-Regular.woff b/assets/katex_assets/fonts/KaTeX_Script-Regular.woff new file mode 100644 index 0000000..0e7da82 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Script-Regular.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_Script-Regular.woff2 b/assets/katex_assets/fonts/KaTeX_Script-Regular.woff2 new file mode 100644 index 0000000..b3048fc Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Script-Regular.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_Size1-Regular.ttf b/assets/katex_assets/fonts/KaTeX_Size1-Regular.ttf new file mode 100644 index 0000000..871fd7d Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Size1-Regular.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_Size1-Regular.woff b/assets/katex_assets/fonts/KaTeX_Size1-Regular.woff new file mode 100644 index 0000000..7f292d9 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Size1-Regular.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_Size1-Regular.woff2 b/assets/katex_assets/fonts/KaTeX_Size1-Regular.woff2 new file mode 100644 index 0000000..c5a8462 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Size1-Regular.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_Size2-Regular.ttf b/assets/katex_assets/fonts/KaTeX_Size2-Regular.ttf new file mode 100644 index 0000000..7a212ca Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Size2-Regular.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_Size2-Regular.woff b/assets/katex_assets/fonts/KaTeX_Size2-Regular.woff new file mode 100644 index 0000000..d241d9b Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Size2-Regular.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_Size2-Regular.woff2 b/assets/katex_assets/fonts/KaTeX_Size2-Regular.woff2 new file mode 100644 index 0000000..e1bccfe Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Size2-Regular.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_Size3-Regular.ttf b/assets/katex_assets/fonts/KaTeX_Size3-Regular.ttf new file mode 100644 index 0000000..00bff34 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Size3-Regular.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_Size3-Regular.woff b/assets/katex_assets/fonts/KaTeX_Size3-Regular.woff new file mode 100644 index 0000000..e6e9b65 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Size3-Regular.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_Size3-Regular.woff2 b/assets/katex_assets/fonts/KaTeX_Size3-Regular.woff2 new file mode 100644 index 0000000..249a286 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Size3-Regular.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_Size4-Regular.ttf b/assets/katex_assets/fonts/KaTeX_Size4-Regular.ttf new file mode 100644 index 0000000..74f0892 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Size4-Regular.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_Size4-Regular.woff b/assets/katex_assets/fonts/KaTeX_Size4-Regular.woff new file mode 100644 index 0000000..e1ec545 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Size4-Regular.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_Size4-Regular.woff2 b/assets/katex_assets/fonts/KaTeX_Size4-Regular.woff2 new file mode 100644 index 0000000..680c130 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Size4-Regular.woff2 differ diff --git a/assets/katex_assets/fonts/KaTeX_Typewriter-Regular.ttf b/assets/katex_assets/fonts/KaTeX_Typewriter-Regular.ttf new file mode 100644 index 0000000..c83252c Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Typewriter-Regular.ttf differ diff --git a/assets/katex_assets/fonts/KaTeX_Typewriter-Regular.woff b/assets/katex_assets/fonts/KaTeX_Typewriter-Regular.woff new file mode 100644 index 0000000..2432419 Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Typewriter-Regular.woff differ diff --git a/assets/katex_assets/fonts/KaTeX_Typewriter-Regular.woff2 b/assets/katex_assets/fonts/KaTeX_Typewriter-Regular.woff2 new file mode 100644 index 0000000..771f1af Binary files /dev/null and b/assets/katex_assets/fonts/KaTeX_Typewriter-Regular.woff2 differ diff --git a/assets/katex_assets/katex.min.css b/assets/katex_assets/katex.min.css new file mode 100644 index 0000000..f556af3 --- /dev/null +++ b/assets/katex_assets/katex.min.css @@ -0,0 +1 @@ +@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(fonts/KaTeX_AMS-Regular.woff2) format("woff2"),url(fonts/KaTeX_AMS-Regular.woff) format("woff"),url(fonts/KaTeX_AMS-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Bold.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Regular.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Bold.woff) format("woff"),url(fonts/KaTeX_Fraktur-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Regular.woff) format("woff"),url(fonts/KaTeX_Fraktur-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Main-Bold.woff2) format("woff2"),url(fonts/KaTeX_Main-Bold.woff) format("woff"),url(fonts/KaTeX_Main-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Main-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Main-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Main-Italic.woff2) format("woff2"),url(fonts/KaTeX_Main-Italic.woff) format("woff"),url(fonts/KaTeX_Main-Italic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Main-Regular.woff2) format("woff2"),url(fonts/KaTeX_Main-Regular.woff) format("woff"),url(fonts/KaTeX_Main-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Math-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Math-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Math-Italic.woff2) format("woff2"),url(fonts/KaTeX_Math-Italic.woff) format("woff"),url(fonts/KaTeX_Math-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(fonts/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Bold.woff) format("woff"),url(fonts/KaTeX_SansSerif-Bold.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(fonts/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Italic.woff) format("woff"),url(fonts/KaTeX_SansSerif-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(fonts/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Regular.woff) format("woff"),url(fonts/KaTeX_SansSerif-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Script-Regular.woff2) format("woff2"),url(fonts/KaTeX_Script-Regular.woff) format("woff"),url(fonts/KaTeX_Script-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size1-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size1-Regular.woff) format("woff"),url(fonts/KaTeX_Size1-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size2-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size2-Regular.woff) format("woff"),url(fonts/KaTeX_Size2-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size3-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size3-Regular.woff) format("woff"),url(fonts/KaTeX_Size3-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size4-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size4-Regular.woff) format("woff"),url(fonts/KaTeX_Size4-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(fonts/KaTeX_Typewriter-Regular.woff) format("woff"),url(fonts/KaTeX_Typewriter-Regular.ttf) format("truetype")}.katex{text-rendering:auto;font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.4"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo} diff --git a/contributors.md b/contributors.md new file mode 100644 index 0000000..43e714a --- /dev/null +++ b/contributors.md @@ -0,0 +1,11 @@ +EMPTY + +### Subject Matter Experts +| SNo. | Name | Email | Institute | ID | +| :---: | :---: | :---: | :---: | :---: | +| 1 | name | email | institute | id | + +### Developers +| SNo. | Name | Email | Institute | ID | +| :---: | :---: | :---: | :---: | :---: | +| 1 | name | email | institute | id | \ No newline at end of file diff --git a/eslint.log b/eslint.log new file mode 100644 index 0000000..e6fce9c --- /dev/null +++ b/eslint.log @@ -0,0 +1,1822 @@ + +/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/simulation/helper/cable/js/demo.js + 7:9 warning 'connections' is not defined no-undef + 12:9 warning 'connections' is not defined no-undef + 17:9 warning 'connections' is not defined no-undef + 33:27 warning 'connections' is not defined no-undef + 34:20 warning 'connections' is not defined no-undef + 34:44 warning 'connections' is not defined no-undef + 54:11 warning 'isConnectionRight' is assigned a value but never used no-unused-vars + 66:4 warning 'showConnectionInfo' is not defined no-undef + 69:6 warning 'hideConnectionInfo' is not defined no-undef + 72:6 warning 'connections' is not defined no-undef + 73:6 warning 'updateConnections' is not defined no-undef + 74:20 warning 'connections' is not defined no-undef + 77:29 warning 'connections' is not defined no-undef + 78:15 warning 'connections' is not defined no-undef + 83:24 warning 'connections' is not defined no-undef + 85:11 warning 'connections' is not defined no-undef + 87:29 warning 'connections' is not defined no-undef + 88:22 warning 'connections' is not defined no-undef + 88:46 warning 'connections' is not defined no-undef + 91:9 warning 'showConnectionInfo' is not defined no-undef + 95:3 warning 'jsPlumb' is not defined no-undef + 96:20 warning 'jsPlumb' is not defined no-undef + 101:51 warning 'originalEvent' is defined but never used no-unused-vars + 102:9 warning 'updateConnections' is not defined no-undef + 104:59 warning 'originalEvent' is defined but never used no-unused-vars + 105:9 warning 'updateConnections' is not defined no-undef + 108:56 warning 'originalEvent' is defined but never used no-unused-vars + 112:9 warning 'updateConnections' is not defined no-undef + 228:26 warning 'jsPlumb' is not defined no-undef + 230:23 warning 'jsPlumb' is not defined no-undef + 233:9 warning 'jsPlumbUtil' is not defined no-undef + 236:23 warning 'jsPlumb' is not defined no-undef + 240:9 warning 'jsPlumbUtil' is not defined no-undef + 243:25 warning 'jsPlumb' is not defined no-undef + 246:9 warning 'jsPlumbUtil' is not defined no-undef + 253:9 warning 'showConnectionInfo' is not defined no-undef + 254:9 warning 'jsPlumbUtil' is not defined no-undef + 258:5 warning 'jsPlumb' is not defined no-undef + +/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/simulation/helper/cable/js/jsplumb.js + 68:9 warning 'root' is assigned a value but never used no-unused-vars + 130:18 warning 'i' is already defined no-redeclare + 184:18 warning 'i' is already defined no-redeclare + 242:22 warning 'j' is already defined no-redeclare + 264:56 warning 't' is defined but never used no-unused-vars + 279:26 warning 'j' is already defined no-redeclare + 590:9 warning 'exports' is not defined no-undef + 624:1 warning Unnecessary semicolon no-extra-semi + 634:9 warning 'exports' is not defined no-undef + 669:9 warning '_normal' is assigned a value but never used no-unused-vars + 680:9 warning '_lineLength' is assigned a value but never used no-unused-vars + 714:9 warning '_theta' is assigned a value but never used no-unused-vars + 733:9 warning '_intersects' is assigned a value but never used no-unused-vars + 755:9 warning '_encloses' is assigned a value but never used no-unused-vars + 772:9 warning '_pointOnLine' is assigned a value but never used no-unused-vars + 789:9 warning '_perpendicularLineTo' is assigned a value but never used no-unused-vars + 797:1 warning Unnecessary semicolon no-extra-semi + 854:28 warning 'view' is defined but never used no-unused-vars + 854:34 warning 'target' is defined but never used no-unused-vars + 854:42 warning 'pageX' is defined but never used no-unused-vars + 854:49 warning 'pageY' is defined but never used no-unused-vars + 854:56 warning 'screenX' is defined but never used no-unused-vars + 854:65 warning 'screenY' is defined but never used no-unused-vars + 854:74 warning 'clientX' is defined but never used no-unused-vars + 854:83 warning 'clientY' is defined but never used no-unused-vars + 1048:58 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1090:39 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1140:9 warning 'touchstart' is assigned a value but never used no-unused-vars + 1140:36 warning 'touchend' is assigned a value but never used no-unused-vars + 1140:59 warning 'touchmove' is assigned a value but never used no-unused-vars + 1145:54 warning Unnecessary escape character: \. no-useless-escape + 1231:73 warning Invalid typeof comparison value valid-typeof + 1294:38 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1296:51 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1318:29 warning 'el' is defined but never used no-unused-vars + 1318:33 warning 'event' is defined but never used no-unused-vars + 1318:40 warning 'children' is defined but never used no-unused-vars + 1318:50 warning 'fn' is defined but never used no-unused-vars + 1465:9 warning 'exports' is not defined no-undef + 1498:1 warning Unnecessary semicolon no-extra-semi + 1612:54 warning Unnecessary escape character: \. no-useless-escape + 1736:42 warning 'scope' is defined but never used no-unused-vars + 1744:13 warning 'scroll' is assigned a value but never used no-unused-vars + 1894:13 warning '_addFilter' is assigned a value but never used no-unused-vars + 1895:13 warning '_removeFilter' is assigned a value but never used no-unused-vars + 2110:31 warning Empty block statement no-empty + 2299:42 warning 'scope' is defined but never used no-unused-vars + 2319:56 warning 'drag' is defined but never used no-unused-vars + 2407:13 warning '_getMatchingDroppables' is assigned a value but never used no-unused-vars + 2451:18 warning 'i' is already defined no-redeclare + 2773:40 warning 'spec' is defined but never used no-unused-vars + 2796:38 warning 'spec' is defined but never used no-unused-vars + 2881:9 warning 'exports' is not defined no-undef + 2893:42 warning 'exports' is not defined no-undef + 2942:19 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 3038:26 warning Unnecessary escape character: \. no-useless-escape + 3039:40 warning Unnecessary escape character: \[ no-useless-escape + 3249:36 warning '_protoFn' is defined but never used no-unused-vars + 3257:45 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 3257:83 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 3270:41 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 3270:79 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 3333:42 warning Empty block statement no-empty + 3415:23 warning Empty block statement no-empty + 3584:2 warning Unnecessary semicolon no-extra-semi + 3639:1 warning Unnecessary semicolon no-extra-semi + 3642:44 warning 'ep' is defined but never used no-unused-vars + 3642:48 warning 'conn' is defined but never used no-unused-vars + 3772:38 warning 'e' is defined but never used no-unused-vars + 3877:1 warning Unnecessary semicolon no-extra-semi + 3909:9 warning 'eventFilters' is assigned a value but never used no-unused-vars + 3928:9 warning '_each' is assigned a value but never used no-unused-vars + 4601:29 warning 'o' is assigned a value but never used no-unused-vars + 4923:13 warning '_setDraggable' is assigned a value but never used no-unused-vars + 5147:56 warning 'args' is defined but never used no-unused-vars + 5195:60 warning 'cEl' is assigned a value but never used no-unused-vars + 5826:13 warning '_unmanage' is assigned a value but never used no-unused-vars + 5922:68 warning 'jsPlumbInstance' is assigned a value but never used no-unused-vars + 6492:39 warning 'scope' is defined but never used no-unused-vars + 7179:9 warning 'exports' is not defined no-undef + 7194:1 warning Unnecessary semicolon no-extra-semi + 7312:36 warning 'ignoreAttachedElements' is defined but never used no-unused-vars + 7504:1 warning Unnecessary semicolon no-extra-semi + 7749:41 warning 'doNotRepaint' is defined but never used no-unused-vars + 7754:50 warning 'doNotRepaint' is defined but never used no-unused-vars + 7819:53 warning 'fireEvent' is defined but never used no-unused-vars + 7819:64 warning 'originalEvent' is defined but never used no-unused-vars + 7933:52 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 7979:39 warning 'startParams' is defined but never used no-unused-vars + 8556:17 warning 'elId' is assigned a value but never used no-unused-vars + 8793:1 warning Unnecessary semicolon no-extra-semi + 9312:52 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 9337:52 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 9349:21 warning 'jsPlumb' is not defined no-undef + 9449:1 warning Unnecessary semicolon no-extra-semi + 10157:27 warning 'Biltong' is not defined no-undef + 10509:23 warning 'jsPlumbUtil' is not defined no-undef + 10742:1 warning Unnecessary semicolon no-extra-semi + 10772:53 warning 'x' is defined but never used no-unused-vars + 10772:56 warning 'y' is defined but never used no-unused-vars + 10799:46 warning 'x1' is defined but never used no-unused-vars + 10799:50 warning 'y1' is defined but never used no-unused-vars + 10799:54 warning 'x2' is defined but never used no-unused-vars + 10799:58 warning 'y2' is defined but never used no-unused-vars + 10832:17 warning '_super' is assigned a value but never used no-unused-vars + 10890:46 warning '_' is defined but never used no-unused-vars + 11092:17 warning '_super' is assigned a value but never used no-unused-vars + 11324:17 warning '_super' is assigned a value but never used no-unused-vars + 11683:13 warning 'dumpSegmentsToConsole' is assigned a value but never used no-unused-vars + 11739:48 warning 'anchorPoint' is defined but never used no-unused-vars + 11739:61 warning 'orientation' is defined but never used no-unused-vars + 11739:74 warning 'endpointStyle' is defined but never used no-unused-vars + 11739:89 warning 'connectorPaintStyle' is defined but never used no-unused-vars + 11772:13 warning '_super' is assigned a value but never used no-unused-vars + 11778:76 warning 'connectorPaintStyle' is defined but never used no-unused-vars + 11799:13 warning '_super' is assigned a value but never used no-unused-vars + 11804:76 warning 'connectorPaintStyle' is defined but never used no-unused-vars + 11815:40 warning 'params' is defined but never used no-unused-vars + 11893:48 warning 'orientation' is defined but never used no-unused-vars + 11893:61 warning 'endpointStyle' is defined but never used no-unused-vars + 11893:76 warning 'connectorPaintStyle' is defined but never used no-unused-vars + 11919:40 warning 'd' is defined but never used no-unused-vars + 11919:43 warning 'style' is defined but never used no-unused-vars + 11919:50 warning 'anchor' is defined but never used no-unused-vars + 11962:13 warning '_super' is assigned a value but never used no-unused-vars + 11965:48 warning 'orientation' is defined but never used no-unused-vars + 11965:61 warning 'endpointStyle' is defined but never used no-unused-vars + 11965:76 warning 'connectorPaintStyle' is defined but never used no-unused-vars + 11981:32 warning 'style' is defined but never used no-unused-vars + 11981:39 warning 'anchor' is defined but never used no-unused-vars + 12014:76 warning 'connectorPaintStyle' is defined but never used no-unused-vars + 12043:27 warning 'instance' is defined but never used no-unused-vars + 12043:37 warning 'component' is defined but never used no-unused-vars + 12112:43 warning 'component' is defined but never used no-unused-vars + 12276:17 warning 'jsPlumb' is not defined no-undef + 12383:37 warning 'component' is defined but never used no-unused-vars + 12393:29 warning 'containerExtents' is defined but never used no-unused-vars + 12421:37 warning 'params' is defined but never used no-unused-vars + 12434:42 warning 'currentConnectionPaintStyle' is defined but never used no-unused-vars + 12478:13 warning 'labelWidth' is assigned a value but never used no-unused-vars + 12478:32 warning 'labelHeight' is assigned a value but never used no-unused-vars + 12478:52 warning 'labelText' is assigned a value but never used no-unused-vars + 12478:70 warning 'labelPadding' is assigned a value but never used no-unused-vars + 12568:1 warning Unnecessary semicolon no-extra-semi + 12623:32 warning 'g' is assigned a value but never used no-unused-vars + 12623:42 warning 'child' is assigned a value but never used no-unused-vars + 13026:35 warning 'conn' is defined but never used no-unused-vars + 13026:41 warning 'endpointIndex' is defined but never used no-unused-vars + 13030:37 warning 'conn' is defined but never used no-unused-vars + 13030:43 warning 'endpointIndex' is defined but never used no-unused-vars + 13043:56 warning 'jsPlumb' is not defined no-undef + 13079:38 warning '_el' is defined but never used no-unused-vars + 13079:43 warning 'targetGroup' is defined but never used no-unused-vars + 13132:29 warning 'jsPlumbUtil' is not defined no-undef + 13481:25 warning 'child' is assigned a value but never used no-unused-vars + 13505:1 warning Unnecessary semicolon no-extra-semi + 13521:41 warning 'lastOrientation' is assigned a value but never used no-unused-vars + 13525:13 warning 'loopbackRadius' is assigned a value but never used no-unused-vars + 13526:13 warning 'isLoopbackCurrently' is assigned a value but never used no-unused-vars + 13870:1 warning Unnecessary semicolon no-extra-semi + 13879:13 warning 'curviness' is assigned a value but never used no-unused-vars + 13881:13 warning 'proximityLimit' is assigned a value but never used no-unused-vars + 13884:13 warning 'isLoopbackCurrently' is assigned a value but never used no-unused-vars + 14023:1 warning Unnecessary semicolon no-extra-semi + 14118:13 warning 'clockwise' is assigned a value but never used no-unused-vars + 14218:1 warning Unnecessary semicolon no-extra-semi + 14225:30 warning 'params' is defined but never used no-unused-vars + 14229:46 warning '_' is defined but never used no-unused-vars + 14250:1 warning Unnecessary semicolon no-extra-semi + 14655:35 warning 'style' is defined but never used no-unused-vars + 14678:35 warning 'style' is defined but never used no-unused-vars + 14714:13 warning 'self' is assigned a value but never used no-unused-vars + 14875:1 warning Unnecessary semicolon no-extra-semi + 15070:39 warning 'jsPlumb' is not defined no-undef + 15099:29 warning 'jsPlumb' is not defined no-undef + 15106:38 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 15107:39 warning 'jsPlumb' is not defined no-undef + 15174:40 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 15265:22 warning 'jsPlumb' is not defined no-undef + 15270:24 warning 'jsPlumb' is not defined no-undef + 15396:26 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 15409:13 warning 'jsPlumb' is not defined no-undef + 15414:18 warning 'jsPlumb' is not defined no-undef + 15423:13 warning 'jsPlumb' is not defined no-undef + 15428:17 warning 'jsPlumb' is not defined no-undef + 15429:17 warning 'jsPlumb' is not defined no-undef + 15431:17 warning 'jsPlumb' is not defined no-undef + 15435:13 warning 'jsPlumb' is not defined no-undef + 15441:17 warning 'jsPlumb' is not defined no-undef + 15479:18 warning 'jsPlumb' is not defined no-undef + 15527:22 warning 'jsPlumb' is not defined no-undef + 15632:20 warning 'jsPlumb' is not defined no-undef + 15646:13 warning 'jsPlumb' is not defined no-undef + 15658:18 warning 'jsPlumb' is not defined no-undef + 15661:25 warning 'jsPlumb' is not defined no-undef + 15663:35 warning 'jsPlumb' is not defined no-undef + 15664:30 warning 'jsPlumb' is not defined no-undef + 15665:45 warning 'jsPlumb' is not defined no-undef + 15666:45 warning 'jsPlumb' is not defined no-undef + 15667:46 warning 'jsPlumb' is not defined no-undef + 15783:36 warning 'el' is defined but never used no-unused-vars + 15783:40 warning 'options' is defined but never used no-unused-vars + 15786:36 warning 'el' is defined but never used no-unused-vars + 15786:40 warning 'options' is defined but never used no-unused-vars + 15802:45 warning 'zoom' is defined but never used no-unused-vars + 15842:33 warning 'spec' is defined but never used no-unused-vars + 15851:31 warning 'spec' is defined but never used no-unused-vars + 15860:38 warning 'posseId' is defined but never used no-unused-vars + 15919:23 warning 'el' is defined but never used no-unused-vars + 15919:27 warning 'event' is defined but never used no-unused-vars + 15919:34 warning 'callback' is defined but never used no-unused-vars + 15928:24 warning 'el' is defined but never used no-unused-vars + 15928:28 warning 'event' is defined but never used no-unused-vars + 15928:35 warning 'callback' is defined but never used no-unused-vars + +/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/simulation/helper/sliders.js + 82:26 warning 'rot' is assigned a value but never used no-unused-vars + +/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/simulation/iframes/data/browsersupport.js + 1:105 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 6:80 warning Unnecessary semicolon no-extra-semi + 6:160 warning 'Modernizr' is not defined no-undef + +/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/simulation/iframes/data/player.js + 6:311 warning 'global' is not defined no-undef + 10:152 warning 'b' is defined but never used no-unused-vars + 10:154 warning 'c' is defined but never used no-unused-vars + 10:211 warning 'c' is defined but never used no-unused-vars + 11:13 warning 'a' is defined but never used no-unused-vars + 11:15 warning 'b' is defined but never used no-unused-vars + 11:17 warning 'c' is defined but never used no-unused-vars + 11:20 warning 'ta' is a function no-func-assign + 11:162 warning 'b' is defined but never used no-unused-vars + 12:135 warning 'f' is defined but never used no-unused-vars + 12:279 warning Unnecessary semicolon no-extra-semi + 12:723 warning 'b' is defined but never used no-unused-vars + 12:802 warning Unnecessary semicolon no-extra-semi + 15:359 warning 'a' is defined but never used no-unused-vars + 16:120 warning 'b' is defined but never used no-unused-vars + 16:299 warning 'b' is defined but never used no-unused-vars + 16:301 warning 'c' is defined but never used no-unused-vars + 16:303 warning 'd' is defined but never used no-unused-vars + 18:121 warning Unnecessary semicolon no-extra-semi + 19:373 warning Unexpected control character(s) in regular expression: \x00 no-control-regex + 19:384 warning Unexpected control character(s) in regular expression: \x00 no-control-regex + 20:496 warning Unnecessary semicolon no-extra-semi + 20:602 warning Unnecessary semicolon no-extra-semi + 20:936 warning Unnecessary semicolon no-extra-semi + 20:1047 warning Unnecessary semicolon no-extra-semi + 20:1200 warning Unnecessary semicolon no-extra-semi + 21:58 warning Unnecessary escape character: \) no-useless-escape + 21:103 warning Unnecessary escape character: \. no-useless-escape + 21:151 warning Unnecessary escape character: \) no-useless-escape + 21:235 warning Unnecessary escape character: \/ no-useless-escape + 24:15 warning 'b' is defined but never used no-unused-vars + 24:190 warning Unnecessary semicolon no-extra-semi + 24:427 warning Unnecessary semicolon no-extra-semi + 24:911 warning Unnecessary escape character: \/ no-useless-escape + 26:13 warning 'a' is defined but never used no-unused-vars + 27:595 warning Unnecessary semicolon no-extra-semi + 31:372 warning Unnecessary escape character: \- no-useless-escape + 32:108 warning Unnecessary semicolon no-extra-semi + 33:261 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 33:381 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 34:155 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 37:13 warning 'a' is defined but never used no-unused-vars + 37:15 warning 'b' is defined but never used no-unused-vars + 37:17 warning 'c' is defined but never used no-unused-vars + 39:425 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 44:419 warning 'b' is defined but never used no-unused-vars + 45:892 warning 'Wd.prototype.timestamp' is assigned to itself no-self-assign + 45:970 warning 'Wd.prototype.started' is assigned to itself no-self-assign + 45:1042 warning 'Wd.prototype.state' is assigned to itself no-self-assign + 45:1120 warning 'Wd.prototype.suspended' is assigned to itself no-self-assign + 46:480 warning Unnecessary semicolon no-extra-semi + 46:530 warning 'this.Bx' is assigned to itself no-self-assign + 46:546 warning 'this.op' is assigned to itself no-self-assign + 46:1326 warning Unnecessary semicolon no-extra-semi + 46:1449 warning Expected to return a value in method 'get' getter-return + 46:1561 warning Empty block statement no-empty + 46:1627 warning Unnecessary semicolon no-extra-semi + 47:182 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 47:255 warning Empty block statement no-empty + 49:556 warning Unnecessary semicolon no-extra-semi + 49:777 warning Unnecessary semicolon no-extra-semi + 50:236 warning 'a' is assigned a value but never used no-unused-vars + 51:128 warning Unnecessary semicolon no-extra-semi + 51:178 warning 'ue' is assigned a value but never used no-unused-vars + 54:275 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 54:409 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 55:340 warning Unnecessary semicolon no-extra-semi + 61:494 warning Unnecessary semicolon no-extra-semi + 62:374 warning Unnecessary semicolon no-extra-semi + 64:344 warning 'C.prototype.removeHandler' is assigned to itself no-self-assign + 64:393 warning 'C.prototype.addHandler' is assigned to itself no-self-assign + 64:1000 warning 'hf.prototype.duration' is assigned to itself no-self-assign + 64:1081 warning 'hf.prototype.startTime' is assigned to itself no-self-assign + 64:1240 warning 'jf.prototype.count' is assigned to itself no-self-assign + 64:1387 warning 'kf.prototype.count' is assigned to itself no-self-assign + 64:1529 warning 'kf.prototype.duration' is assigned to itself no-self-assign + 64:1606 warning 'kf.prototype.getTime' is assigned to itself no-self-assign + 64:1771 warning 'lf.prototype.duration' is assigned to itself no-self-assign + 64:1883 warning Unnecessary semicolon no-extra-semi + 64:2178 warning Unnecessary semicolon no-extra-semi + 64:2260 warning Unnecessary semicolon no-extra-semi + 64:2350 warning Unnecessary semicolon no-extra-semi + 64:2441 warning 'qf.prototype.name' is assigned to itself no-self-assign + 64:2479 warning 'qf.prototype.params' is assigned to itself no-self-assign + 64:2626 warning 'rf.prototype.name' is assigned to itself no-self-assign + 64:2728 warning 'rf.prototype.params' is assigned to itself no-self-assign + 64:2998 warning 'sf.prototype.count' is assigned to itself no-self-assign + 64:3326 warning 'tf.prototype.duration' is assigned to itself no-self-assign + 64:3421 warning 'tf.prototype.startTime' is assigned to itself no-self-assign + 64:3680 warning 'uf.prototype.count' is assigned to itself no-self-assign + 64:3921 warning 'uf.prototype.duration' is assigned to itself no-self-assign + 65:90 warning 'uf.prototype.getTime' is assigned to itself no-self-assign + 65:249 warning Unnecessary semicolon no-extra-semi + 65:405 warning Unnecessary semicolon no-extra-semi + 65:527 warning Unnecessary semicolon no-extra-semi + 65:593 warning Unnecessary semicolon no-extra-semi + 65:693 warning Unnecessary semicolon no-extra-semi + 65:962 warning Unnecessary semicolon no-extra-semi + 67:413 warning Unnecessary semicolon no-extra-semi + 67:719 warning Unnecessary semicolon no-extra-semi + 67:784 warning Unnecessary semicolon no-extra-semi + 67:1031 warning 'Nf.prototype.duration' is assigned to itself no-self-assign + 67:1322 warning Unnecessary semicolon no-extra-semi + 67:1621 warning Unnecessary semicolon no-extra-semi + 73:524 warning Unnecessary semicolon no-extra-semi + 73:847 warning Unnecessary semicolon no-extra-semi + 77:241 warning 'dg.prototype.text' is assigned to itself no-self-assign + 77:324 warning 'dg.prototype.startTime' is assigned to itself no-self-assign + 77:408 warning 'dg.prototype.duration' is assigned to itself no-self-assign + 77:454 warning 'dg.prototype.transition' is assigned to itself no-self-assign + 78:60 warning 'dg.prototype.title' is assigned to itself no-self-assign + 78:138 warning 'dg.prototype.visible' is assigned to itself no-self-assign + 78:220 warning 'dg.prototype.index' is assigned to itself no-self-assign + 78:255 warning 'dg.prototype.id' is assigned to itself no-self-assign + 78:289 warning 'dg.prototype.type' is assigned to itself no-self-assign + 83:69 warning 'fg.prototype.duration' is assigned to itself no-self-assign + 83:110 warning 'fg.prototype.count' is assigned to itself no-self-assign + 83:594 warning Unnecessary semicolon no-extra-semi + 83:786 warning Unnecessary semicolon no-extra-semi + 83:938 warning 'ng.prototype.displayObject' is assigned to itself no-self-assign + 83:1018 warning 'ng.prototype.resize' is assigned to itself no-self-assign + 83:1089 warning 'ng.prototype.width' is assigned to itself no-self-assign + 83:1161 warning 'ng.prototype.height' is assigned to itself no-self-assign + 83:1403 warning Unnecessary semicolon no-extra-semi + 83:1459 warning Unnecessary semicolon no-extra-semi + 83:1991 warning Unnecessary semicolon no-extra-semi + 83:2269 warning 'vg.prototype.enabled' is assigned to itself no-self-assign + 83:2505 warning Unnecessary semicolon no-extra-semi + 83:2706 warning Unnecessary semicolon no-extra-semi + 83:2882 warning Unnecessary semicolon no-extra-semi + 83:3300 warning Unnecessary semicolon no-extra-semi + 83:3349 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 84:591 warning Unnecessary semicolon no-extra-semi + 85:294 warning Unnecessary semicolon no-extra-semi + 85:420 warning Unnecessary semicolon no-extra-semi + 85:927 warning Unnecessary semicolon no-extra-semi + 85:1367 warning Unnecessary semicolon no-extra-semi + 86:432 warning Empty block statement no-empty + 88:425 warning Unnecessary semicolon no-extra-semi + 88:588 warning Unnecessary semicolon no-extra-semi + 89:482 warning Unnecessary semicolon no-extra-semi + 90:426 warning Expected a 'break' statement before 'case' no-fallthrough + 92:266 warning Unnecessary semicolon no-extra-semi + 94:386 warning Unexpected control character(s) in regular expression: \x00, \x1f no-control-regex + 94:415 warning Unexpected control character(s) in regular expression: \x00, \x1f no-control-regex + 95:149 warning Unnecessary semicolon no-extra-semi + 101:290 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 104:331 warning Unnecessary semicolon no-extra-semi + 104:778 warning Unnecessary semicolon no-extra-semi + 104:1127 warning 'gi.prototype.BYTES_PER_ELEMENT' is assigned to itself no-self-assign + 104:1175 warning 'gi.prototype.set' is assigned to itself no-self-assign + 104:1214 warning 'gi.prototype.toString' is assigned to itself no-self-assign + 104:1589 warning Empty block statement no-empty + 104:1622 warning 'hi.prototype.BYTES_PER_ELEMENT' is assigned to itself no-self-assign + 104:1670 warning 'hi.prototype.set' is assigned to itself no-self-assign + 104:1709 warning 'hi.prototype.toString' is assigned to itself no-self-assign + 104:1752 warning Unnecessary semicolon no-extra-semi + 104:2209 warning Unnecessary semicolon no-extra-semi + 104:2394 warning Unnecessary semicolon no-extra-semi + 108:160 warning Unnecessary semicolon no-extra-semi + 108:179 warning 'd' is defined but never used no-unused-vars + 112:376 warning Empty block statement no-empty + 112:393 warning Unnecessary semicolon no-extra-semi + 113:35 warning Empty block statement no-empty + 113:324 warning Empty block statement no-empty + 116:4 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 118:468 warning Unnecessary escape character: \) no-useless-escape + 119:287 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 128:19 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 134:348 warning Unnecessary semicolon no-extra-semi + 135:105 warning Move function declaration to function body root no-inner-declarations + 135:177 warning Move function declaration to function body root no-inner-declarations + 136:256 warning Unnecessary semicolon no-extra-semi + 136:533 warning Unnecessary semicolon no-extra-semi + 136:587 warning Unnecessary semicolon no-extra-semi + 136:885 warning Unnecessary semicolon no-extra-semi + 136:1068 warning Unnecessary semicolon no-extra-semi + 140:66 warning 'rk.prototype.slide' is assigned to itself no-self-assign + 141:390 warning Unnecessary semicolon no-extra-semi + 141:631 warning Unnecessary semicolon no-extra-semi + 142:452 warning Unnecessary semicolon no-extra-semi + 143:243 warning Unnecessary semicolon no-extra-semi + 143:258 warning 'b' is defined but never used no-unused-vars + 144:101 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 147:390 warning Unnecessary semicolon no-extra-semi + 147:1295 warning Unnecessary semicolon no-extra-semi + 149:99 warning Unnecessary semicolon no-extra-semi + 149:547 warning Unnecessary semicolon no-extra-semi + 149:770 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 149:926 warning Unnecessary semicolon no-extra-semi + 149:1170 warning Unnecessary semicolon no-extra-semi + 149:1437 warning Unnecessary semicolon no-extra-semi + 149:1713 warning Unnecessary semicolon no-extra-semi + 149:1801 warning Unnecessary semicolon no-extra-semi + 149:2005 warning Unnecessary semicolon no-extra-semi + 149:2463 warning Unnecessary semicolon no-extra-semi + 150:177 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 150:235 warning Unnecessary semicolon no-extra-semi + 150:426 warning Unnecessary semicolon no-extra-semi + 150:568 warning Unnecessary semicolon no-extra-semi + 152:191 warning Unnecessary semicolon no-extra-semi + 154:101 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 154:248 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 156:495 warning Unnecessary semicolon no-extra-semi + 157:456 warning Unnecessary semicolon no-extra-semi + 157:865 warning Unnecessary semicolon no-extra-semi + 161:386 warning Unnecessary semicolon no-extra-semi + 161:630 warning Unnecessary semicolon no-extra-semi + 161:694 warning Unnecessary semicolon no-extra-semi + 161:893 warning Unnecessary semicolon no-extra-semi + 161:981 warning Unnecessary semicolon no-extra-semi + 162:219 warning Unnecessary semicolon no-extra-semi + 163:452 warning Unnecessary semicolon no-extra-semi + 166:82 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 169:70 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 169:168 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 169:417 warning Unnecessary semicolon no-extra-semi + 170:680 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 172:451 warning Unnecessary semicolon no-extra-semi + 173:137 warning Unnecessary semicolon no-extra-semi + 173:296 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 173:327 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 176:294 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 178:379 warning Unnecessary semicolon no-extra-semi + 178:671 warning 'Mn.prototype.preventAction' is assigned to itself no-self-assign + 178:783 warning 'Mn.prototype.actionPrevented' is assigned to itself no-self-assign + 185:17 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 186:494 warning Unnecessary semicolon no-extra-semi + 186:1237 warning Unnecessary semicolon no-extra-semi + 191:2635 warning Unnecessary semicolon no-extra-semi + 192:70 warning Unnecessary semicolon no-extra-semi + 192:295 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 193:220 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 193:377 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 194:91 warning 'a' is defined but never used no-unused-vars + 196:193 warning Empty block statement no-empty + 203:543 warning Empty block statement no-empty + 203:891 warning Empty block statement no-empty + 203:1150 warning Unnecessary semicolon no-extra-semi + 205:4 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 205:90 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 208:233 warning Unnecessary semicolon no-extra-semi + 208:471 warning 'canvg' is not defined no-undef + 208:549 warning Empty block statement no-empty + 209:647 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 213:980 warning Unnecessary semicolon no-extra-semi + 213:1081 warning Unnecessary semicolon no-extra-semi + 214:225 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 214:261 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 214:343 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 220:116 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 220:358 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 221:476 warning Empty block statement no-empty + 222:193 warning Unnecessary semicolon no-extra-semi + 222:375 warning Unnecessary semicolon no-extra-semi + 225:1124 warning Unnecessary semicolon no-extra-semi + 229:129 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 233:1492 warning Unnecessary semicolon no-extra-semi + 234:203 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 234:206 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 240:335 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 242:429 warning Unnecessary semicolon no-extra-semi + 243:362 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 246:369 warning Unnecessary semicolon no-extra-semi + 246:546 warning Unnecessary semicolon no-extra-semi + 246:759 warning Unnecessary semicolon no-extra-semi + 246:1065 warning Unnecessary semicolon no-extra-semi + 246:1323 warning Unnecessary semicolon no-extra-semi + 246:1504 warning Unnecessary semicolon no-extra-semi + 247:13 warning Unnecessary semicolon no-extra-semi + 247:431 warning Unnecessary semicolon no-extra-semi + 247:592 warning Unnecessary semicolon no-extra-semi + 248:148 warning Unnecessary semicolon no-extra-semi + 249:13 warning Unnecessary semicolon no-extra-semi + 251:32 warning Unnecessary semicolon no-extra-semi + 251:241 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 253:395 warning Unnecessary semicolon no-extra-semi + 257:153 warning Unnecessary semicolon no-extra-semi + 257:220 warning Unnecessary semicolon no-extra-semi + 257:470 warning Unnecessary semicolon no-extra-semi + 260:418 warning Unnecessary semicolon no-extra-semi + 260:446 warning Unnecessary semicolon no-extra-semi + 261:158 warning Unnecessary semicolon no-extra-semi + 265:224 warning Unnecessary semicolon no-extra-semi + 266:278 warning Unnecessary semicolon no-extra-semi + 266:512 warning 'mr.prototype.count' is assigned to itself no-self-assign + 266:744 warning Unnecessary semicolon no-extra-semi + 266:806 warning Unnecessary semicolon no-extra-semi + 266:1366 warning 'rr.prototype.playbackStateChangedEvent' is assigned to itself no-self-assign + 266:1432 warning 'rr.prototype.playbackState' is assigned to itself no-self-assign + 266:1652 warning 'sr.prototype.audio' is assigned to itself no-self-assign + 266:1902 warning 'tr.prototype.count' is assigned to itself no-self-assign + 266:2321 warning 'vr.prototype.height' is assigned to itself no-self-assign + 266:2360 warning 'vr.prototype.width' is assigned to itself no-self-assign + 266:2398 warning 'vr.prototype.video' is assigned to itself no-self-assign + 266:3048 warning 'yr.prototype.navigate' is assigned to itself no-self-assign + 266:3090 warning 'yr.prototype.target' is assigned to itself no-self-assign + 266:3127 warning 'yr.prototype.url' is assigned to itself no-self-assign + 266:3163 warning 'yr.prototype.title' is assigned to itself no-self-assign + 266:3200 warning 'yr.prototype.type' is assigned to itself no-self-assign + 266:3449 warning 'zr.prototype.count' is assigned to itself no-self-assign + 266:3643 warning Unnecessary semicolon no-extra-semi + 266:3733 warning 'Cr.prototype.fitToWindow' is assigned to itself no-self-assign + 266:4185 warning 'Er.prototype.navigationType' is assigned to itself no-self-assign + 277:96 warning Unnecessary semicolon no-extra-semi + 277:745 warning Unnecessary semicolon no-extra-semi + 277:1533 warning 'bs.prototype.skin' is assigned to itself no-self-assign + 277:1861 warning Unnecessary semicolon no-extra-semi + 278:344 warning 'es.prototype.resources' is assigned to itself no-self-assign + 279:23 warning 'es.prototype.settings' is assigned to itself no-self-assign + 279:70 warning 'es.prototype.slideHeight' is assigned to itself no-self-assign + 279:119 warning 'es.prototype.slideWidth' is assigned to itself no-self-assign + 279:162 warning 'es.prototype.title' is assigned to itself no-self-assign + 279:201 warning 'es.prototype.slides' is assigned to itself no-self-assign + 295:750 warning Unnecessary semicolon no-extra-semi + 295:841 warning Unnecessary semicolon no-extra-semi + 296:242 warning Unnecessary semicolon no-extra-semi + 303:347 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 305:74 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 313:368 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 320:266 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 320:269 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 320:366 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 321:370 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 322:114 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 325:496 warning Unexpected lexical declaration in case block no-case-declarations + 329:151 warning 'Ss.prototype.playbackState' is assigned to itself no-self-assign + 330:284 warning 'Ss.prototype.pause' is assigned to itself no-self-assign + 330:321 warning 'Ss.prototype.play' is assigned to itself no-self-assign + 331:85 warning Unnecessary semicolon no-extra-semi + 331:140 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 331:231 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 332:80 warning Unnecessary semicolon no-extra-semi + 332:356 warning Unnecessary semicolon no-extra-semi + 332:949 warning Unnecessary semicolon no-extra-semi + 332:1152 warning Unnecessary semicolon no-extra-semi + 345:5 warning Unnecessary semicolon no-extra-semi + 349:28 warning 'Jt.prototype.displayObject' is assigned to itself no-self-assign + 355:677 warning Unnecessary semicolon no-extra-semi + 356:137 warning Unnecessary semicolon no-extra-semi + 362:985 warning Unnecessary semicolon no-extra-semi + 366:280 warning Unnecessary semicolon no-extra-semi + 367:29 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 370:469 warning Unnecessary semicolon no-extra-semi + 370:844 warning Unnecessary semicolon no-extra-semi + 381:416 warning Unnecessary semicolon no-extra-semi + 383:11 warning Unnecessary semicolon no-extra-semi + 383:305 warning Unnecessary semicolon no-extra-semi + 385:391 warning 'Pu.prototype.type' is assigned to itself no-self-assign + 390:434 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 391:67 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 395:445 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 395:448 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 397:387 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 397:460 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 398:387 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 400:220 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 400:364 warning 'Q.prototype.play' is assigned to itself no-self-assign + 400:490 warning 'Q.prototype.pause' is assigned to itself no-self-assign + 404:406 warning 'Q.prototype.playbackState' is assigned to itself no-self-assign + 408:291 warning Unnecessary semicolon no-extra-semi + 408:724 warning Unnecessary semicolon no-extra-semi + 408:1032 warning Unnecessary semicolon no-extra-semi + 408:1406 warning 'hv.prototype.timestamp' is assigned to itself no-self-assign + 408:1498 warning 'hv.prototype.started' is assigned to itself no-self-assign + 409:157 warning 'hv.prototype.state' is assigned to itself no-self-assign + 409:249 warning 'hv.prototype.suspended' is assigned to itself no-self-assign + 412:758 warning Unnecessary semicolon no-extra-semi + 412:1220 warning Unnecessary semicolon no-extra-semi + 412:1498 warning Unnecessary semicolon no-extra-semi + 412:1621 warning Unnecessary semicolon no-extra-semi + 412:1950 warning Unnecessary semicolon no-extra-semi + 413:121 warning Unnecessary semicolon no-extra-semi + 413:437 warning Unnecessary semicolon no-extra-semi + 413:773 warning 'rv.prototype.state' is assigned to itself no-self-assign + 421:291 warning Unnecessary semicolon no-extra-semi + 422:301 warning Empty block statement no-empty + 432:164 warning Unnecessary semicolon no-extra-semi + 433:497 warning Unnecessary semicolon no-extra-semi + 457:131 warning Unnecessary semicolon no-extra-semi + 457:176 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 469:114 warning Unnecessary semicolon no-extra-semi + 473:249 warning Unnecessary semicolon no-extra-semi + 483:550 warning Unnecessary semicolon no-extra-semi + 499:198 warning Empty block statement no-empty + 506:323 warning Unnecessary semicolon no-extra-semi + 508:77 warning 'this.Kq' is assigned to itself no-self-assign + 513:77 warning Unnecessary semicolon no-extra-semi + 529:429 warning Unnecessary semicolon no-extra-semi + 596:325 warning Unnecessary semicolon no-extra-semi + 596:723 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 602:55 warning Unnecessary semicolon no-extra-semi + 604:151 warning Unnecessary semicolon no-extra-semi + 604:360 warning Unnecessary semicolon no-extra-semi + 609:212 warning Unnecessary semicolon no-extra-semi + 609:251 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 613:265 warning 'Modernizr' is not defined no-undef + 616:1001 warning Unnecessary semicolon no-extra-semi + 667:373 warning Unnecessary semicolon no-extra-semi + 671:139 warning Unnecessary semicolon no-extra-semi + 718:377 warning Unnecessary semicolon no-extra-semi + 745:319 warning Unnecessary semicolon no-extra-semi + 773:329 warning Unnecessary semicolon no-extra-semi + 786:21 warning 'YB.prototype.resize' is assigned to itself no-self-assign + 786:61 warning 'YB.prototype.height' is assigned to itself no-self-assign + 786:100 warning 'YB.prototype.width' is assigned to itself no-self-assign + 786:191 warning 'YB.prototype.displayObject' is assigned to itself no-self-assign + 786:247 warning 'YB.prototype.soundController' is assigned to itself no-self-assign + 786:457 warning Unnecessary semicolon no-extra-semi + 792:121 warning Unnecessary semicolon no-extra-semi + 792:479 warning Unnecessary semicolon no-extra-semi + 795:231 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 796:460 warning Unnecessary semicolon no-extra-semi + 798:173 warning Unnecessary semicolon no-extra-semi + 812:26 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 813:107 warning Unnecessary semicolon no-extra-semi + 813:708 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 814:44 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 819:108 warning Unnecessary semicolon no-extra-semi + 819:397 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 819:494 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 819:533 warning Unnecessary semicolon no-extra-semi + 819:669 warning Unnecessary semicolon no-extra-semi + 819:725 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 819:785 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 819:850 warning Unnecessary escape character: \) no-useless-escape + 819:865 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 819:935 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 819:1007 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 819:1271 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 819:1355 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 820:37 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 821:498 warning Unnecessary semicolon no-extra-semi + 822:115 warning Unnecessary semicolon no-extra-semi + 822:474 warning Unnecessary semicolon no-extra-semi + 822:968 warning Unnecessary semicolon no-extra-semi + 822:1258 warning Unnecessary semicolon no-extra-semi + 823:253 warning Unnecessary semicolon no-extra-semi + 823:516 warning Unnecessary semicolon no-extra-semi + 825:119 warning Unnecessary semicolon no-extra-semi + 830:346 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 836:130 warning Unnecessary semicolon no-extra-semi + 839:21 warning Unnecessary semicolon no-extra-semi + 839:276 warning Unnecessary semicolon no-extra-semi + 841:231 warning Unnecessary semicolon no-extra-semi + 846:140 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 853:283 warning Unnecessary semicolon no-extra-semi + 856:429 warning 'SD.prototype.muted' is assigned to itself no-self-assign + 857:24 warning 'SD.prototype.setVolume' is assigned to itself no-self-assign + 857:67 warning 'SD.prototype.volume' is assigned to itself no-self-assign + 857:436 warning 'a' is defined but never used no-unused-vars + 857:615 warning 'a' is defined but never used no-unused-vars + 857:898 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 859:144 warning Unnecessary semicolon no-extra-semi + 860:163 warning 'b' is defined but never used no-unused-vars + 860:251 warning Unnecessary semicolon no-extra-semi + 860:625 warning Unnecessary semicolon no-extra-semi + 860:880 warning Unnecessary semicolon no-extra-semi + 860:1812 warning Empty block statement no-empty + 864:5 warning 'YKU' is not defined no-undef + 864:800 warning Empty block statement no-empty + 866:443 warning 'YT' is not defined no-undef + 870:456 warning Unnecessary semicolon no-extra-semi + 871:217 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 875:1 warning Unnecessary semicolon no-extra-semi + 876:242 warning Unnecessary semicolon no-extra-semi + 878:134 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 878:185 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 879:50 warning Unnecessary semicolon no-extra-semi + 879:205 warning Unnecessary semicolon no-extra-semi + 882:568 warning Unnecessary semicolon no-extra-semi + 883:310 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 883:313 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 889:89 warning Unnecessary semicolon no-extra-semi + 889:371 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 893:180 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 900:290 warning Unnecessary semicolon no-extra-semi + 900:382 warning Unnecessary semicolon no-extra-semi + 900:477 warning Unnecessary semicolon no-extra-semi + 900:577 warning Unnecessary semicolon no-extra-semi + 900:933 warning Unnecessary semicolon no-extra-semi + 900:1324 warning Unnecessary semicolon no-extra-semi + 900:1545 warning Unnecessary semicolon no-extra-semi + 900:1681 warning 'jF.prototype.displayObject' is assigned to itself no-self-assign + 900:1783 warning 'jF.prototype.resize' is assigned to itself no-self-assign + 900:1876 warning 'jF.prototype.width' is assigned to itself no-self-assign + 900:1971 warning 'jF.prototype.height' is assigned to itself no-self-assign + 901:281 warning Unnecessary semicolon no-extra-semi + 902:229 warning 'lF.prototype.view' is assigned to itself no-self-assign + 902:710 warning 'nF.prototype.action' is assigned to itself no-self-assign + 905:421 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 906:203 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 906:292 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 906:381 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 906:441 warning Unnecessary semicolon no-extra-semi + 908:172 warning 'vF.prototype.resume' is assigned to itself no-self-assign + 908:211 warning 'vF.prototype.start' is assigned to itself no-self-assign + 910:162 warning Empty block statement no-empty + 911:94 warning Empty block statement no-empty + 913:23 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 913:86 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 913:135 warning Unnecessary semicolon no-extra-semi + 915:301 warning 'ISPlayer' is not defined no-undef + 917:250 warning 'FF.prototype.view' is assigned to itself no-self-assign + 917:336 warning 'FF.prototype.version' is assigned to itself no-self-assign + 917:444 warning 'FF.prototype.persistState' is assigned to itself no-self-assign + 919:135 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 919:345 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 919:348 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 919:470 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 919:483 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 920:277 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 921:486 warning 'FF.prototype.startupCompletedEvent' is assigned to itself no-self-assign + 923:234 warning Empty block statement no-empty + 923:325 warning 'FF.prototype.closeWindowEvent' is assigned to itself no-self-assign + 923:444 warning 'FF.prototype.stateChangedEvent' is assigned to itself no-self-assign + 924:212 warning 'FF.prototype.gestureNavigationEnabled' is assigned to itself no-self-assign + 924:270 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 927:229 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 929:30 warning 'FF.prototype.actionAvailable' is assigned to itself no-self-assign + 930:567 warning Unnecessary semicolon no-extra-semi + 930:637 warning 'b' is assigned a value but never used no-unused-vars + 931:422 warning Empty block statement no-empty + 934:143 warning Unnecessary semicolon no-extra-semi + 934:979 warning Unnecessary semicolon no-extra-semi + 934:1183 warning Empty block statement no-empty + 934:1208 warning Unnecessary semicolon no-extra-semi + 934:1245 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 934:1315 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 934:1408 warning Unnecessary semicolon no-extra-semi + 934:1487 warning Unnecessary semicolon no-extra-semi + 942:467 warning Unnecessary semicolon no-extra-semi + 951:415 warning Unnecessary semicolon no-extra-semi + 1014:415 warning Unnecessary semicolon no-extra-semi + 1102:415 warning Unnecessary semicolon no-extra-semi + 1146:415 warning Unnecessary semicolon no-extra-semi + 1191:415 warning Unnecessary semicolon no-extra-semi + 1252:415 warning Unnecessary semicolon no-extra-semi + 1252:475 warning Unnecessary semicolon no-extra-semi + 1253:1 warning Unnecessary semicolon no-extra-semi + 1253:149 warning Unnecessary semicolon no-extra-semi + 1253:260 warning Unnecessary semicolon no-extra-semi + 1255:238 warning Unnecessary semicolon no-extra-semi + 1258:840 warning Unnecessary semicolon no-extra-semi + 1258:1012 warning Unnecessary semicolon no-extra-semi + 1258:1372 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1260:878 warning Unnecessary semicolon no-extra-semi + 1260:977 warning Unnecessary semicolon no-extra-semi + 1261:173 warning Unexpected control character(s) in regular expression: \x0b no-control-regex + 1262:123 warning Unnecessary semicolon no-extra-semi + 1262:217 warning Unnecessary semicolon no-extra-semi + 1262:484 warning Unnecessary semicolon no-extra-semi + 1262:956 warning Unnecessary semicolon no-extra-semi + 1262:1248 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1264:494 warning Unnecessary semicolon no-extra-semi + 1264:645 warning Unnecessary semicolon no-extra-semi + 1264:935 warning Unnecessary semicolon no-extra-semi + 1264:1081 warning Unnecessary semicolon no-extra-semi + 1264:1211 warning Unnecessary semicolon no-extra-semi + 1264:1334 warning Unnecessary semicolon no-extra-semi + 1268:301 warning Unnecessary semicolon no-extra-semi + 1268:626 warning Unnecessary semicolon no-extra-semi + 1268:972 warning Unnecessary semicolon no-extra-semi + 1268:1111 warning Unnecessary semicolon no-extra-semi + 1269:268 warning Unnecessary semicolon no-extra-semi + 1275:374 warning Unnecessary semicolon no-extra-semi + 1275:658 warning 'ActiveXObject' is not defined no-undef + 1275:707 warning Empty block statement no-empty + 1275:840 warning 'ActiveXObject' is not defined no-undef + 1276:131 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1277:34 warning 'XDomainRequest' is not defined no-undef + 1279:165 warning Unnecessary semicolon no-extra-semi + 1279:344 warning Unnecessary semicolon no-extra-semi + 1279:554 warning Unnecessary escape character: \{ no-useless-escape + 1279:564 warning Unnecessary escape character: \{ no-useless-escape + 1280:228 warning Empty block statement no-empty + 1280:238 warning Unnecessary semicolon no-extra-semi + 1280:445 warning Unnecessary semicolon no-extra-semi + 1280:958 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1281:147 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1281:431 warning Unnecessary semicolon no-extra-semi + 1281:586 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1282:341 warning Unnecessary semicolon no-extra-semi + 1282:831 warning Unnecessary semicolon no-extra-semi + 1282:1155 warning Unnecessary semicolon no-extra-semi + 1282:1546 warning Unnecessary semicolon no-extra-semi + 1282:1751 warning Unnecessary semicolon no-extra-semi + 1282:1807 warning Unnecessary semicolon no-extra-semi + 1282:1855 warning Unnecessary semicolon no-extra-semi + 1286:152 warning Unnecessary semicolon no-extra-semi + 1286:433 warning Unnecessary semicolon no-extra-semi + 1286:484 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1287:141 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1287:431 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1288:315 warning Unnecessary semicolon no-extra-semi + 1288:729 warning Unnecessary semicolon no-extra-semi + 1288:962 warning Empty block statement no-empty + 1288:1029 warning Unnecessary semicolon no-extra-semi + 1289:236 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1290:166 warning Unnecessary semicolon no-extra-semi + 1301:98 warning Unnecessary semicolon no-extra-semi + 1301:161 warning Unnecessary semicolon no-extra-semi + 1301:573 warning 'WI.prototype.logo' is assigned to itself no-self-assign + 1301:978 warning 'XI.prototype.phone' is assigned to itself no-self-assign + 1301:1016 warning 'XI.prototype.email' is assigned to itself no-self-assign + 1302:96 warning 'XI.prototype.name' is assigned to itself no-self-assign + 1303:103 warning 'YI.prototype.load' is assigned to itself no-self-assign + 1303:143 warning 'YI.prototype.progress' is assigned to itself no-self-assign + 1304:44 warning 'd' is defined but never used no-unused-vars + 1304:46 warning 'e' is defined but never used no-unused-vars + 1304:48 warning 'f' is defined but never used no-unused-vars + 1304:119 warning 'g' is assigned a value but never used no-unused-vars + 1305:411 warning 'aJ.prototype.height' is assigned to itself no-self-assign + 1305:450 warning 'aJ.prototype.width' is assigned to itself no-self-assign + 1305:487 warning 'aJ.prototype.path' is assigned to itself no-self-assign + 1305:564 warning 'bJ.prototype.url' is assigned to itself no-self-assign + 1307:246 warning Unnecessary semicolon no-extra-semi + 1309:574 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1314:129 warning Unnecessary semicolon no-extra-semi + 1314:225 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1314:243 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1315:782 warning Unnecessary semicolon no-extra-semi + 1317:454 warning Unnecessary semicolon no-extra-semi + 1323:98 warning Unnecessary escape character: \. no-useless-escape + 1324:1 warning Unnecessary semicolon no-extra-semi + 1333:497 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1340:714 warning 'QK.prototype.text' is assigned to itself no-self-assign + 1344:138 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1349:154 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1366:262 warning Expected a 'break' statement before 'case' no-fallthrough + 1376:84 warning Unnecessary semicolon no-extra-semi + 1380:475 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1381:424 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1381:643 warning Unnecessary semicolon no-extra-semi + 1381:1071 warning Unnecessary semicolon no-extra-semi + 1381:1266 warning Unnecessary semicolon no-extra-semi + 1381:1486 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1381:1743 warning Unnecessary semicolon no-extra-semi + 1383:96 warning Unnecessary semicolon no-extra-semi + 1383:410 warning Unnecessary semicolon no-extra-semi + 1384:784 warning Unnecessary semicolon no-extra-semi + 1384:859 warning Unnecessary semicolon no-extra-semi + 1385:32 warning Unnecessary semicolon no-extra-semi + 1385:57 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1385:250 warning Unnecessary semicolon no-extra-semi + 1385:272 warning Unnecessary semicolon no-extra-semi + 1386:200 warning Unnecessary semicolon no-extra-semi + 1388:220 warning Unnecessary semicolon no-extra-semi + 1389:329 warning Unnecessary semicolon no-extra-semi + 1392:436 warning Unnecessary semicolon no-extra-semi + 1393:1 warning Unnecessary semicolon no-extra-semi + 1393:104 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1393:152 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1395:364 warning Unnecessary semicolon no-extra-semi + 1400:72 warning Unnecessary semicolon no-extra-semi + 1400:327 warning Unnecessary semicolon no-extra-semi + 1400:551 warning Unnecessary semicolon no-extra-semi + 1401:454 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1402:250 warning Unnecessary semicolon no-extra-semi + 1408:157 warning Unnecessary semicolon no-extra-semi + 1409:59 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1410:99 warning Unnecessary semicolon no-extra-semi + 1412:458 warning Unnecessary semicolon no-extra-semi + 1413:502 warning 'IScroll' is not defined no-undef + 1415:73 warning Unnecessary semicolon no-extra-semi + 1415:522 warning Unnecessary semicolon no-extra-semi + 1415:631 warning Unnecessary semicolon no-extra-semi + 1415:819 warning Unnecessary semicolon no-extra-semi + 1419:20 warning Unnecessary semicolon no-extra-semi + 1421:70 warning Unnecessary semicolon no-extra-semi + 1421:456 warning Unnecessary semicolon no-extra-semi + 1421:893 warning Empty block statement no-empty + 1425:37 warning Unnecessary semicolon no-extra-semi + 1425:250 warning Unnecessary semicolon no-extra-semi + 1425:445 warning Unnecessary semicolon no-extra-semi + 1425:617 warning Unnecessary semicolon no-extra-semi + 1427:1 warning Unnecessary semicolon no-extra-semi + 1427:437 warning Unnecessary semicolon no-extra-semi + 1431:311 warning Unnecessary semicolon no-extra-semi + 1431:531 warning Unnecessary semicolon no-extra-semi + 1431:695 warning 'ISPlayer' is not defined no-undef + 1431:718 warning Unnecessary semicolon no-extra-semi + 1431:860 warning Unnecessary semicolon no-extra-semi + 1431:960 warning 'ISPlayer' is not defined no-undef + 1431:1048 warning Unnecessary semicolon no-extra-semi + 1432:345 warning Unnecessary semicolon no-extra-semi + 1432:492 warning Unnecessary semicolon no-extra-semi + 1432:596 warning Unnecessary semicolon no-extra-semi + 1432:823 warning Unnecessary semicolon no-extra-semi + 1432:927 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1437:31 warning Unnecessary semicolon no-extra-semi + 1437:306 warning Unnecessary semicolon no-extra-semi + 1437:511 warning Unnecessary semicolon no-extra-semi + 1439:203 warning Unnecessary semicolon no-extra-semi + 1447:624 warning Unnecessary semicolon no-extra-semi + 1447:1024 warning Unnecessary semicolon no-extra-semi + 1447:1469 warning Unnecessary semicolon no-extra-semi + 1447:1714 warning Unnecessary semicolon no-extra-semi + 1450:27 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1450:260 warning Unnecessary semicolon no-extra-semi + 1450:497 warning Unnecessary semicolon no-extra-semi + 1451:93 warning Unnecessary semicolon no-extra-semi + 1453:1 warning Unnecessary semicolon no-extra-semi + 1453:81 warning Unnecessary semicolon no-extra-semi + 1454:26 warning Unnecessary semicolon no-extra-semi + 1455:69 warning Unnecessary semicolon no-extra-semi + 1457:469 warning Unnecessary semicolon no-extra-semi + 1457:688 warning Unnecessary semicolon no-extra-semi + 1458:114 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1461:75 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1461:497 warning Unnecessary semicolon no-extra-semi + 1461:755 warning Unnecessary semicolon no-extra-semi + 1462:417 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1464:408 warning Unnecessary semicolon no-extra-semi + 1464:516 warning Unnecessary semicolon no-extra-semi + 1465:447 warning Unnecessary semicolon no-extra-semi + 1469:406 warning Unnecessary semicolon no-extra-semi + 1469:794 warning Unnecessary semicolon no-extra-semi + 1470:369 warning Unnecessary semicolon no-extra-semi + 1470:595 warning 'canvg' is not defined no-undef + 1470:621 warning 'canvg' is not defined no-undef + 1470:640 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1474:231 warning Unnecessary semicolon no-extra-semi + 1475:405 warning Unnecessary semicolon no-extra-semi + 1478:273 warning Unnecessary semicolon no-extra-semi + 1480:474 warning Unnecessary semicolon no-extra-semi + 1481:361 warning Unnecessary semicolon no-extra-semi + 1481:826 warning Unnecessary semicolon no-extra-semi + 1487:28 warning Unnecessary semicolon no-extra-semi + 1489:191 warning Unnecessary semicolon no-extra-semi + 1490:132 warning Unnecessary semicolon no-extra-semi + 1494:478 warning Unnecessary semicolon no-extra-semi + 1494:549 warning Unnecessary semicolon no-extra-semi + 1497:275 warning Unnecessary semicolon no-extra-semi + 1498:421 warning Unnecessary semicolon no-extra-semi + 1498:524 warning Unnecessary semicolon no-extra-semi + 1498:615 warning Unnecessary semicolon no-extra-semi + 1500:246 warning Unnecessary semicolon no-extra-semi + 1500:346 warning Unnecessary semicolon no-extra-semi + 1500:603 warning Unnecessary semicolon no-extra-semi + 1500:849 warning Unnecessary semicolon no-extra-semi + 1501:432 warning Unnecessary semicolon no-extra-semi + 1509:47 warning Unnecessary semicolon no-extra-semi + 1512:223 warning Unnecessary semicolon no-extra-semi + 1518:330 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1519:156 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1522:205 warning Unnecessary semicolon no-extra-semi + 1525:76 warning Unnecessary semicolon no-extra-semi + 1527:130 warning Unnecessary semicolon no-extra-semi + 1529:497 warning Unnecessary semicolon no-extra-semi + 1536:138 warning Unnecessary semicolon no-extra-semi + 1536:394 warning Unnecessary semicolon no-extra-semi + 1537:321 warning Unnecessary semicolon no-extra-semi + 1537:727 warning Unnecessary semicolon no-extra-semi + 1539:448 warning Unnecessary semicolon no-extra-semi + 1539:617 warning Unnecessary semicolon no-extra-semi + 1540:448 warning Unnecessary semicolon no-extra-semi + 1540:893 warning Unnecessary semicolon no-extra-semi + 1540:1050 warning Unnecessary semicolon no-extra-semi + 1545:130 warning Unnecessary semicolon no-extra-semi + 1556:170 warning Unnecessary semicolon no-extra-semi + 1556:287 warning Unnecessary semicolon no-extra-semi + 1556:399 warning Unnecessary semicolon no-extra-semi + 1559:286 warning Unnecessary semicolon no-extra-semi + 1559:453 warning Unnecessary semicolon no-extra-semi + 1562:438 warning Unnecessary semicolon no-extra-semi + 1563:360 warning Unnecessary semicolon no-extra-semi + 1564:419 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1565:163 warning Unnecessary semicolon no-extra-semi + 1565:226 warning Unnecessary semicolon no-extra-semi + 1565:581 warning Unnecessary semicolon no-extra-semi + 1571:259 warning Unnecessary semicolon no-extra-semi + 1571:532 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1575:32 warning Unnecessary semicolon no-extra-semi + 1578:351 warning Unnecessary semicolon no-extra-semi + 1582:232 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1583:61 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1583:206 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1585:165 warning Unnecessary semicolon no-extra-semi + 1585:349 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1586:280 warning Unnecessary semicolon no-extra-semi + 1597:144 warning Unnecessary semicolon no-extra-semi + 1597:440 warning Unnecessary semicolon no-extra-semi + 1602:112 warning Unnecessary semicolon no-extra-semi + 1604:200 warning Unnecessary semicolon no-extra-semi + 1604:223 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1605:176 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1605:465 warning Unnecessary semicolon no-extra-semi + 1609:206 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1609:401 warning Unnecessary semicolon no-extra-semi + 1609:474 warning Unnecessary semicolon no-extra-semi + 1609:576 warning Unnecessary semicolon no-extra-semi + 1616:233 warning Unnecessary semicolon no-extra-semi + 1616:597 warning Unnecessary semicolon no-extra-semi + 1616:789 warning Unnecessary semicolon no-extra-semi + 1620:55 warning Unnecessary semicolon no-extra-semi + 1622:58 warning Unexpected lexical declaration in case block no-case-declarations + 1622:96 warning Unexpected lexical declaration in case block no-case-declarations + 1632:20 warning Unnecessary semicolon no-extra-semi + 1635:423 warning Unnecessary semicolon no-extra-semi + 1636:1 warning Unnecessary semicolon no-extra-semi + 1643:306 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1652:154 warning Unnecessary semicolon no-extra-semi + 1660:30 warning Unnecessary semicolon no-extra-semi + 1661:141 warning Unnecessary semicolon no-extra-semi + 1662:53 warning Unnecessary semicolon no-extra-semi + 1662:506 warning Unnecessary semicolon no-extra-semi + 1662:753 warning Unnecessary semicolon no-extra-semi + 1662:1000 warning Unnecessary semicolon no-extra-semi + 1665:333 warning Unnecessary semicolon no-extra-semi + 1666:318 warning Unnecessary semicolon no-extra-semi + 1671:457 warning Unnecessary semicolon no-extra-semi + 1674:1 warning Unnecessary semicolon no-extra-semi + 1676:31 warning 'OT.prototype.isOutlineVisible' is assigned to itself no-self-assign + 1676:90 warning 'OT.prototype.menuClosedEvent' is assigned to itself no-self-assign + 1676:148 warning 'OT.prototype.showBottomPanel' is assigned to itself no-self-assign + 1676:203 warning 'OT.prototype.showTopPanel' is assigned to itself no-self-assign + 1676:254 warning 'OT.prototype.showOutline' is assigned to itself no-self-assign + 1676:350 warning Unnecessary semicolon no-extra-semi + 1676:738 warning Unnecessary semicolon no-extra-semi + 1676:828 warning Unnecessary semicolon no-extra-semi + 1682:151 warning Unnecessary semicolon no-extra-semi + 1684:482 warning Unnecessary semicolon no-extra-semi + 1686:476 warning Unnecessary semicolon no-extra-semi + 1687:269 warning Unnecessary semicolon no-extra-semi + 1690:330 warning Unnecessary semicolon no-extra-semi + 1691:32 warning Unnecessary semicolon no-extra-semi + 1692:266 warning Unnecessary semicolon no-extra-semi + 1692:473 warning Unnecessary semicolon no-extra-semi + 1692:542 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1692:542 warning Unexpected constant condition no-constant-condition + 1692:669 warning Unnecessary semicolon no-extra-semi + 1692:812 warning Unnecessary semicolon no-extra-semi + 1695:255 warning Unnecessary semicolon no-extra-semi + 1696:75 warning Unnecessary semicolon no-extra-semi + 1697:271 warning Unnecessary semicolon no-extra-semi + 1697:666 warning Empty block statement no-empty + 1698:185 warning Unnecessary semicolon no-extra-semi + 1699:39 warning Unnecessary semicolon no-extra-semi + 1700:277 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1700:424 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1710:30 warning 'iScroll' is not defined no-undef + 1732:23 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1733:207 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1735:162 warning Unnecessary semicolon no-extra-semi + 1738:35 warning Unnecessary semicolon no-extra-semi + 1738:341 warning Unnecessary semicolon no-extra-semi + 1738:740 warning Unnecessary semicolon no-extra-semi + 1740:73 warning Unnecessary semicolon no-extra-semi + 1740:355 warning Unnecessary semicolon no-extra-semi + 1742:146 warning Unnecessary semicolon no-extra-semi + 1742:238 warning Unnecessary semicolon no-extra-semi + 1743:6 warning Unnecessary semicolon no-extra-semi + 1743:119 warning Unnecessary semicolon no-extra-semi + 1744:373 warning Unnecessary semicolon no-extra-semi + 1748:315 warning Unnecessary semicolon no-extra-semi + 1748:619 warning Unnecessary semicolon no-extra-semi + 1749:467 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1750:241 warning Unnecessary semicolon no-extra-semi + 1751:112 warning Unnecessary semicolon no-extra-semi + 1753:157 warning Unnecessary semicolon no-extra-semi + 1753:317 warning Unnecessary semicolon no-extra-semi + 1754:475 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1755:378 warning Unnecessary semicolon no-extra-semi + 1755:464 warning Unnecessary semicolon no-extra-semi + 1756:210 warning Unnecessary semicolon no-extra-semi + 1757:17 warning Unnecessary semicolon no-extra-semi + 1759:71 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1759:460 warning Unnecessary semicolon no-extra-semi + 1760:432 warning Unnecessary semicolon no-extra-semi + 1760:583 warning Unnecessary semicolon no-extra-semi + 1760:848 warning Unnecessary semicolon no-extra-semi + 1765:106 warning 'ISPlayer' is not defined no-undef + 1774:77 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1775:161 warning 'XV.prototype.showBottomPanel' is assigned to itself no-self-assign + 1775:216 warning 'XV.prototype.showTopPanel' is assigned to itself no-self-assign + 1780:67 warning Unnecessary semicolon no-extra-semi + 1781:1 warning Unnecessary semicolon no-extra-semi + 1782:367 warning Unnecessary semicolon no-extra-semi + 1787:298 warning Unnecessary semicolon no-extra-semi + 1792:50 warning Unnecessary semicolon no-extra-semi + 1803:286 warning Unnecessary semicolon no-extra-semi + 1804:284 warning Empty block statement no-empty + 1805:1 warning Unnecessary semicolon no-extra-semi + 1812:427 warning Unnecessary semicolon no-extra-semi + 1812:842 warning 'Ea' is a function no-func-assign + 1815:6212 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1815:15271 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1815:24004 warning 'i' is defined but never used no-unused-vars + 1816:2227 warning 'module' is not defined no-undef + 1816:2242 warning 'module' is not defined no-undef + 1816:2286 warning 'define' is not defined no-undef + 1816:2297 warning 'define' is not defined no-undef + 1816:16571 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1816:17912 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1816:18244 warning 'z' is assigned a value but never used no-unused-vars + 1816:18435 warning 'm' is assigned a value but never used no-unused-vars + 1816:23379 warning 'exports' is not defined no-undef + 1816:23528 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1817:1 warning 'glMatrixArrayType' is not defined no-undef + 1817:101 warning 'WebGLFloatArray' is not defined no-undef + 1817:169 warning 'glMatrixArrayType' is not defined no-undef + 1821:35 warning 'glMatrixArrayType' is not defined no-undef + 1823:168 warning 'glMatrixArrayType' is not defined no-undef + 1841:281 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1841:374 warning Expected a conditional expression and instead saw an assignment no-cond-assign + 1842:297 warning 'quat4' is not defined no-undef + 1842:306 warning 'quat4' is not defined no-undef + 1842:341 warning 'glMatrixArrayType' is not defined no-undef + 1842:418 warning 'quat4' is not defined no-undef + 1843:1 warning 'quat4' is not defined no-undef + 1843:192 warning 'quat4' is not defined no-undef + 1843:319 warning 'quat4' is not defined no-undef + 1844:1 warning 'quat4' is not defined no-undef + 1844:199 warning 'quat4' is not defined no-undef + 1845:1 warning 'quat4' is not defined no-undef + 1845:245 warning 'quat4' is not defined no-undef + 1846:1 warning 'quat4' is not defined no-undef + 1846:315 warning 'quat4' is not defined no-undef + 1847:1 warning 'quat4' is not defined no-undef + 1848:4114 warning 'r' is already defined no-redeclare + 1848:4508 warning Empty block statement no-empty + 1848:4520 warning 'canvg' is not defined no-undef + 1848:5573 warning 'ActiveXObject' is not defined no-undef + 1848:5816 warning 'ActiveXObject' is not defined no-undef + 1848:6553 warning Unnecessary escape character: \) no-useless-escape + 1848:6841 warning 'e' is defined but never used no-unused-vars + 1848:15175 warning 'e' is defined but never used no-unused-vars + 1848:15207 warning 'e' is defined but never used no-unused-vars + 1848:15541 warning 'n' is already defined no-redeclare + 1848:15902 warning 'o' is already defined no-redeclare + 1848:15980 warning 'o' is already defined no-redeclare + 1848:16098 warning 'n' is already defined no-redeclare + 1848:16160 warning 'o' is already defined no-redeclare + 1848:16856 warning 'n' is already defined no-redeclare + 1848:18713 warning 'r' is already defined no-redeclare + 1848:18876 warning 'r' is already defined no-redeclare + 1848:20642 warning 'e.Element.svg' is assigned to itself no-self-assign + 1848:21546 warning 'e.Element.rect' is assigned to itself no-self-assign + 1848:21978 warning 'e.Element.circle' is assigned to itself no-self-assign + 1848:22648 warning 'e.Element.ellipse' is assigned to itself no-self-assign + 1848:23313 warning 'e.Element.line' is assigned to itself no-self-assign + 1848:24052 warning 'e.Element.polyline' is assigned to itself no-self-assign + 1848:24361 warning 'e.Element.polygon' is assigned to itself no-self-assign + 1848:24795 warning Unnecessary escape character: \- no-useless-escape + 1848:30595 warning 'e.Element.path' is assigned to itself no-self-assign + 1848:30715 warning 'n' is defined but never used no-unused-vars + 1848:31402 warning 'e.Element.pattern' is assigned to itself no-self-assign + 1849:1 warning Unexpected newline between function and ( of function call no-unexpected-multiline + 1849:127 warning 'e.Element.marker' is assigned to itself no-self-assign + 1849:237 warning 'e' is defined but never used no-unused-vars + 1849:309 warning 'e.Element.defs' is assigned to itself no-self-assign + 1849:2602 warning 'e.Element.linearGradient' is assigned to itself no-self-assign + 1849:3646 warning 'e.Element.radialGradient' is assigned to itself no-self-assign + 1849:4004 warning 'e.Element.stop' is assigned to itself no-self-assign + 1849:5516 warning 'e.Element.animate' is assigned to itself no-self-assign + 1849:6039 warning 'e.Element.animateColor' is assigned to itself no-self-assign + 1849:6229 warning 'e.Element.animateTransform' is assigned to itself no-self-assign + 1849:6976 warning 'e.Element.font' is assigned to itself no-self-assign + 1849:7288 warning 'e.Element.fontface' is assigned to itself no-self-assign + 1849:7473 warning 'e.Element.missingglyph' is assigned to itself no-self-assign + 1849:7777 warning 'e.Element.glyph' is assigned to itself no-self-assign + 1849:9211 warning 'e.Element.text' is assigned to itself no-self-assign + 1849:11777 warning 'e.Element.tspan' is assigned to itself no-self-assign + 1849:12069 warning 'e.Element.tref' is assigned to itself no-self-assign + 1849:12939 warning 'e.Element.a' is assigned to itself no-self-assign + 1849:13685 warning 'e.Element.image' is assigned to itself no-self-assign + 1849:14003 warning 'e.Element.g' is assigned to itself no-self-assign + 1849:14582 warning 'e.Element.symbol' is assigned to itself no-self-assign + 1849:14782 warning Unnecessary escape character: \/ no-useless-escape + 1849:14874 warning 'r' is already defined no-redeclare + 1849:15659 warning 'e.Element.style' is assigned to itself no-self-assign + 1849:16542 warning 'e.Element.use' is assigned to itself no-self-assign + 1849:17336 warning 'e' is defined but never used no-unused-vars + 1849:17408 warning 'e.Element.mask' is assigned to itself no-self-assign + 1849:17642 warning 'e' is defined but never used no-unused-vars + 1849:17722 warning 'e.Element.clipPath' is assigned to itself no-self-assign + 1849:18502 warning 'e' is defined but never used no-unused-vars + 1849:18578 warning 'e.Element.filter' is assigned to itself no-self-assign + 1849:18849 warning 'n' is already defined no-redeclare + 1849:19748 warning 'e' is defined but never used no-unused-vars + 1849:19821 warning 'e.Element.title' is assigned to itself no-self-assign + 1849:19861 warning 'e' is defined but never used no-unused-vars + 1849:19932 warning 'e.Element.desc' is assigned to itself no-self-assign + 1849:19974 warning 'e' is defined but never used no-unused-vars + 1849:20113 warning Unnecessary escape character: \- no-useless-escape + 1850:69 warning 'module' is not defined no-undef + 1850:115 warning 'define' is not defined no-undef + 1850:126 warning 'define' is not defined no-undef + 1850:531 warning 'i' is already defined no-redeclare + 1850:1677 warning 'i' is already defined no-redeclare + 1850:3860 warning 'n' is already defined no-redeclare + 1850:5577 warning 'e' is already defined no-redeclare + +/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/simulation/iframes/overplayer.js + 51:11 warning 'err' is assigned a value but never used no-unused-vars + 66:15 warning '$' is not defined no-undef + 104:11 warning 'playBtnName' is assigned a value but never used no-unused-vars + +/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/simulation/js/cables.js + 1:10 warning 'cab' is defined but never used no-unused-vars + 6:13 warning 'Dom' is not defined no-undef + 11:7 warning 'connections' is not defined no-undef + 16:7 warning 'connections' is not defined no-undef + 21:7 warning 'connections' is not defined no-undef + 37:25 warning 'connections' is not defined no-undef + 38:18 warning 'connections' is not defined no-undef + 38:42 warning 'connections' is not defined no-undef + 58:9 warning 'isConnectionRight' is assigned a value but never used no-unused-vars + 70:2 warning 'showConnectionInfo' is not defined no-undef + 73:4 warning 'hideConnectionInfo' is not defined no-undef + 76:4 warning 'connections' is not defined no-undef + 77:4 warning 'updateConnections' is not defined no-undef + 78:18 warning 'connections' is not defined no-undef + 81:27 warning 'connections' is not defined no-undef + 82:13 warning 'connections' is not defined no-undef + 87:22 warning 'connections' is not defined no-undef + 89:9 warning 'connections' is not defined no-undef + 91:27 warning 'connections' is not defined no-undef + 92:20 warning 'connections' is not defined no-undef + 92:44 warning 'connections' is not defined no-undef + 95:7 warning 'showConnectionInfo' is not defined no-undef + 99:1 warning 'jsPlumb' is not defined no-undef + 100:18 warning 'jsPlumb' is not defined no-undef + 105:49 warning 'originalEvent' is defined but never used no-unused-vars + 106:7 warning 'updateConnections' is not defined no-undef + 108:57 warning 'originalEvent' is defined but never used no-unused-vars + 109:7 warning 'updateConnections' is not defined no-undef + 112:54 warning 'originalEvent' is defined but never used no-unused-vars + 116:7 warning 'updateConnections' is not defined no-undef + 232:24 warning 'jsPlumb' is not defined no-undef + 234:21 warning 'jsPlumb' is not defined no-undef + 237:7 warning 'jsPlumbUtil' is not defined no-undef + 240:21 warning 'jsPlumb' is not defined no-undef + 244:7 warning 'jsPlumbUtil' is not defined no-undef + 247:23 warning 'jsPlumb' is not defined no-undef + 250:7 warning 'jsPlumbUtil' is not defined no-undef + 257:7 warning 'showConnectionInfo' is not defined no-undef + 258:7 warning 'jsPlumbUtil' is not defined no-undef + 262:3 warning 'jsPlumb' is not defined no-undef + +/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/simulation/js/formulas.js + 41:49 warning 'rc' is assigned a value but never used no-unused-vars + 60:49 warning 'rc' is assigned a value but never used no-unused-vars + 97:49 warning 'rc' is assigned a value but never used no-unused-vars + 136:5 warning 'values' is assigned a value but never used no-unused-vars + 142:10 warning 'updateValues' is defined but never used no-unused-vars + +/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/simulation/js/jsplumb.js + 68:9 warning 'root' is assigned a value but never used no-unused-vars + 130:18 warning 'i' is already defined no-redeclare + 184:18 warning 'i' is already defined no-redeclare + 242:22 warning 'j' is already defined no-redeclare + 264:56 warning 't' is defined but never used no-unused-vars + 279:26 warning 'j' is already defined no-redeclare + 590:9 warning 'exports' is not defined no-undef + 624:1 warning Unnecessary semicolon no-extra-semi + 634:9 warning 'exports' is not defined no-undef + 669:9 warning '_normal' is assigned a value but never used no-unused-vars + 680:9 warning '_lineLength' is assigned a value but never used no-unused-vars + 714:9 warning '_theta' is assigned a value but never used no-unused-vars + 733:9 warning '_intersects' is assigned a value but never used no-unused-vars + 755:9 warning '_encloses' is assigned a value but never used no-unused-vars + 772:9 warning '_pointOnLine' is assigned a value but never used no-unused-vars + 789:9 warning '_perpendicularLineTo' is assigned a value but never used no-unused-vars + 797:1 warning Unnecessary semicolon no-extra-semi + 854:28 warning 'view' is defined but never used no-unused-vars + 854:34 warning 'target' is defined but never used no-unused-vars + 854:42 warning 'pageX' is defined but never used no-unused-vars + 854:49 warning 'pageY' is defined but never used no-unused-vars + 854:56 warning 'screenX' is defined but never used no-unused-vars + 854:65 warning 'screenY' is defined but never used no-unused-vars + 854:74 warning 'clientX' is defined but never used no-unused-vars + 854:83 warning 'clientY' is defined but never used no-unused-vars + 1048:58 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1090:39 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1140:9 warning 'touchstart' is assigned a value but never used no-unused-vars + 1140:36 warning 'touchend' is assigned a value but never used no-unused-vars + 1140:59 warning 'touchmove' is assigned a value but never used no-unused-vars + 1145:54 warning Unnecessary escape character: \. no-useless-escape + 1231:73 warning Invalid typeof comparison value valid-typeof + 1294:38 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1296:51 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 1318:29 warning 'el' is defined but never used no-unused-vars + 1318:33 warning 'event' is defined but never used no-unused-vars + 1318:40 warning 'children' is defined but never used no-unused-vars + 1318:50 warning 'fn' is defined but never used no-unused-vars + 1465:9 warning 'exports' is not defined no-undef + 1498:1 warning Unnecessary semicolon no-extra-semi + 1612:54 warning Unnecessary escape character: \. no-useless-escape + 1736:42 warning 'scope' is defined but never used no-unused-vars + 1744:13 warning 'scroll' is assigned a value but never used no-unused-vars + 1894:13 warning '_addFilter' is assigned a value but never used no-unused-vars + 1895:13 warning '_removeFilter' is assigned a value but never used no-unused-vars + 2110:31 warning Empty block statement no-empty + 2299:42 warning 'scope' is defined but never used no-unused-vars + 2319:56 warning 'drag' is defined but never used no-unused-vars + 2407:13 warning '_getMatchingDroppables' is assigned a value but never used no-unused-vars + 2451:18 warning 'i' is already defined no-redeclare + 2773:40 warning 'spec' is defined but never used no-unused-vars + 2796:38 warning 'spec' is defined but never used no-unused-vars + 2881:9 warning 'exports' is not defined no-undef + 2893:42 warning 'exports' is not defined no-undef + 2942:19 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 3038:26 warning Unnecessary escape character: \. no-useless-escape + 3039:40 warning Unnecessary escape character: \[ no-useless-escape + 3249:36 warning '_protoFn' is defined but never used no-unused-vars + 3257:45 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 3257:83 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 3270:41 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 3270:79 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 3333:42 warning Empty block statement no-empty + 3415:23 warning Empty block statement no-empty + 3584:2 warning Unnecessary semicolon no-extra-semi + 3639:1 warning Unnecessary semicolon no-extra-semi + 3642:44 warning 'ep' is defined but never used no-unused-vars + 3642:48 warning 'conn' is defined but never used no-unused-vars + 3772:38 warning 'e' is defined but never used no-unused-vars + 3877:1 warning Unnecessary semicolon no-extra-semi + 3909:9 warning 'eventFilters' is assigned a value but never used no-unused-vars + 3928:9 warning '_each' is assigned a value but never used no-unused-vars + 4601:29 warning 'o' is assigned a value but never used no-unused-vars + 4923:13 warning '_setDraggable' is assigned a value but never used no-unused-vars + 5147:56 warning 'args' is defined but never used no-unused-vars + 5195:60 warning 'cEl' is assigned a value but never used no-unused-vars + 5826:13 warning '_unmanage' is assigned a value but never used no-unused-vars + 5922:68 warning 'jsPlumbInstance' is assigned a value but never used no-unused-vars + 6492:39 warning 'scope' is defined but never used no-unused-vars + 7179:9 warning 'exports' is not defined no-undef + 7194:1 warning Unnecessary semicolon no-extra-semi + 7312:36 warning 'ignoreAttachedElements' is defined but never used no-unused-vars + 7504:1 warning Unnecessary semicolon no-extra-semi + 7749:41 warning 'doNotRepaint' is defined but never used no-unused-vars + 7754:50 warning 'doNotRepaint' is defined but never used no-unused-vars + 7819:53 warning 'fireEvent' is defined but never used no-unused-vars + 7819:64 warning 'originalEvent' is defined but never used no-unused-vars + 7933:52 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 7979:39 warning 'startParams' is defined but never used no-unused-vars + 8556:17 warning 'elId' is assigned a value but never used no-unused-vars + 8793:1 warning Unnecessary semicolon no-extra-semi + 9312:52 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 9337:52 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 9349:21 warning 'jsPlumb' is not defined no-undef + 9449:1 warning Unnecessary semicolon no-extra-semi + 10157:27 warning 'Biltong' is not defined no-undef + 10509:23 warning 'jsPlumbUtil' is not defined no-undef + 10742:1 warning Unnecessary semicolon no-extra-semi + 10772:53 warning 'x' is defined but never used no-unused-vars + 10772:56 warning 'y' is defined but never used no-unused-vars + 10799:46 warning 'x1' is defined but never used no-unused-vars + 10799:50 warning 'y1' is defined but never used no-unused-vars + 10799:54 warning 'x2' is defined but never used no-unused-vars + 10799:58 warning 'y2' is defined but never used no-unused-vars + 10832:17 warning '_super' is assigned a value but never used no-unused-vars + 10890:46 warning '_' is defined but never used no-unused-vars + 11092:17 warning '_super' is assigned a value but never used no-unused-vars + 11324:17 warning '_super' is assigned a value but never used no-unused-vars + 11683:13 warning 'dumpSegmentsToConsole' is assigned a value but never used no-unused-vars + 11739:48 warning 'anchorPoint' is defined but never used no-unused-vars + 11739:61 warning 'orientation' is defined but never used no-unused-vars + 11739:74 warning 'endpointStyle' is defined but never used no-unused-vars + 11739:89 warning 'connectorPaintStyle' is defined but never used no-unused-vars + 11772:13 warning '_super' is assigned a value but never used no-unused-vars + 11778:76 warning 'connectorPaintStyle' is defined but never used no-unused-vars + 11799:13 warning '_super' is assigned a value but never used no-unused-vars + 11804:76 warning 'connectorPaintStyle' is defined but never used no-unused-vars + 11815:40 warning 'params' is defined but never used no-unused-vars + 11893:48 warning 'orientation' is defined but never used no-unused-vars + 11893:61 warning 'endpointStyle' is defined but never used no-unused-vars + 11893:76 warning 'connectorPaintStyle' is defined but never used no-unused-vars + 11919:40 warning 'd' is defined but never used no-unused-vars + 11919:43 warning 'style' is defined but never used no-unused-vars + 11919:50 warning 'anchor' is defined but never used no-unused-vars + 11962:13 warning '_super' is assigned a value but never used no-unused-vars + 11965:48 warning 'orientation' is defined but never used no-unused-vars + 11965:61 warning 'endpointStyle' is defined but never used no-unused-vars + 11965:76 warning 'connectorPaintStyle' is defined but never used no-unused-vars + 11981:32 warning 'style' is defined but never used no-unused-vars + 11981:39 warning 'anchor' is defined but never used no-unused-vars + 12014:76 warning 'connectorPaintStyle' is defined but never used no-unused-vars + 12043:27 warning 'instance' is defined but never used no-unused-vars + 12043:37 warning 'component' is defined but never used no-unused-vars + 12112:43 warning 'component' is defined but never used no-unused-vars + 12276:17 warning 'jsPlumb' is not defined no-undef + 12383:37 warning 'component' is defined but never used no-unused-vars + 12393:29 warning 'containerExtents' is defined but never used no-unused-vars + 12421:37 warning 'params' is defined but never used no-unused-vars + 12434:42 warning 'currentConnectionPaintStyle' is defined but never used no-unused-vars + 12478:13 warning 'labelWidth' is assigned a value but never used no-unused-vars + 12478:32 warning 'labelHeight' is assigned a value but never used no-unused-vars + 12478:52 warning 'labelText' is assigned a value but never used no-unused-vars + 12478:70 warning 'labelPadding' is assigned a value but never used no-unused-vars + 12568:1 warning Unnecessary semicolon no-extra-semi + 12623:32 warning 'g' is assigned a value but never used no-unused-vars + 12623:42 warning 'child' is assigned a value but never used no-unused-vars + 13026:35 warning 'conn' is defined but never used no-unused-vars + 13026:41 warning 'endpointIndex' is defined but never used no-unused-vars + 13030:37 warning 'conn' is defined but never used no-unused-vars + 13030:43 warning 'endpointIndex' is defined but never used no-unused-vars + 13043:56 warning 'jsPlumb' is not defined no-undef + 13079:38 warning '_el' is defined but never used no-unused-vars + 13079:43 warning 'targetGroup' is defined but never used no-unused-vars + 13132:29 warning 'jsPlumbUtil' is not defined no-undef + 13481:25 warning 'child' is assigned a value but never used no-unused-vars + 13505:1 warning Unnecessary semicolon no-extra-semi + 13521:41 warning 'lastOrientation' is assigned a value but never used no-unused-vars + 13525:13 warning 'loopbackRadius' is assigned a value but never used no-unused-vars + 13526:13 warning 'isLoopbackCurrently' is assigned a value but never used no-unused-vars + 13870:1 warning Unnecessary semicolon no-extra-semi + 13879:13 warning 'curviness' is assigned a value but never used no-unused-vars + 13881:13 warning 'proximityLimit' is assigned a value but never used no-unused-vars + 13884:13 warning 'isLoopbackCurrently' is assigned a value but never used no-unused-vars + 14023:1 warning Unnecessary semicolon no-extra-semi + 14118:13 warning 'clockwise' is assigned a value but never used no-unused-vars + 14218:1 warning Unnecessary semicolon no-extra-semi + 14225:30 warning 'params' is defined but never used no-unused-vars + 14229:46 warning '_' is defined but never used no-unused-vars + 14250:1 warning Unnecessary semicolon no-extra-semi + 14655:35 warning 'style' is defined but never used no-unused-vars + 14678:35 warning 'style' is defined but never used no-unused-vars + 14714:13 warning 'self' is assigned a value but never used no-unused-vars + 14875:1 warning Unnecessary semicolon no-extra-semi + 15070:39 warning 'jsPlumb' is not defined no-undef + 15099:29 warning 'jsPlumb' is not defined no-undef + 15106:38 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 15107:39 warning 'jsPlumb' is not defined no-undef + 15174:40 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 15265:22 warning 'jsPlumb' is not defined no-undef + 15270:24 warning 'jsPlumb' is not defined no-undef + 15396:26 warning Do not access Object.prototype method 'hasOwnProperty' from target object no-prototype-builtins + 15409:13 warning 'jsPlumb' is not defined no-undef + 15414:18 warning 'jsPlumb' is not defined no-undef + 15423:13 warning 'jsPlumb' is not defined no-undef + 15428:17 warning 'jsPlumb' is not defined no-undef + 15429:17 warning 'jsPlumb' is not defined no-undef + 15431:17 warning 'jsPlumb' is not defined no-undef + 15435:13 warning 'jsPlumb' is not defined no-undef + 15441:17 warning 'jsPlumb' is not defined no-undef + 15479:18 warning 'jsPlumb' is not defined no-undef + 15527:22 warning 'jsPlumb' is not defined no-undef + 15632:20 warning 'jsPlumb' is not defined no-undef + 15646:13 warning 'jsPlumb' is not defined no-undef + 15658:18 warning 'jsPlumb' is not defined no-undef + 15661:25 warning 'jsPlumb' is not defined no-undef + 15663:35 warning 'jsPlumb' is not defined no-undef + 15664:30 warning 'jsPlumb' is not defined no-undef + 15665:45 warning 'jsPlumb' is not defined no-undef + 15666:45 warning 'jsPlumb' is not defined no-undef + 15667:46 warning 'jsPlumb' is not defined no-undef + 15783:36 warning 'el' is defined but never used no-unused-vars + 15783:40 warning 'options' is defined but never used no-unused-vars + 15786:36 warning 'el' is defined but never used no-unused-vars + 15786:40 warning 'options' is defined but never used no-unused-vars + 15802:45 warning 'zoom' is defined but never used no-unused-vars + 15842:33 warning 'spec' is defined but never used no-unused-vars + 15851:31 warning 'spec' is defined but never used no-unused-vars + 15860:38 warning 'posseId' is defined but never used no-unused-vars + 15919:23 warning 'el' is defined but never used no-unused-vars + 15919:27 warning 'event' is defined but never used no-unused-vars + 15919:34 warning 'callback' is defined but never used no-unused-vars + 15928:24 warning 'el' is defined but never used no-unused-vars + 15928:28 warning 'event' is defined but never used no-unused-vars + 15928:35 warning 'callback' is defined but never used no-unused-vars + +/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/simulation/js/layout.js + 9:10 warning 'nextDrawerItem' is defined but never used no-unused-vars + 20:10 warning 'backDrawerItem' is defined but never used no-unused-vars + +/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/simulation/js/main.js + 189:7 warning 'ChartGraph' is assigned a value but never used no-unused-vars + 193:6 warning 'Graph1' is not defined no-undef + 197:6 warning 'Graph2' is not defined no-undef + 201:6 warning 'Graph3' is not defined no-undef + 205:6 warning 'Graph4' is not defined no-undef + 221:23 warning 'Chart' is not defined no-undef + 255:5 warning 'isPerformNext' is assigned a value but never used no-unused-vars + 296:7 warning 'opacity' is assigned a value but never used no-unused-vars + 302:7 warning 'hideAll' is assigned a value but never used no-unused-vars + 302:28 warning 'disp' is assigned a value but never used no-unused-vars + 308:7 warning 'showAll' is assigned a value but never used no-unused-vars + 308:28 warning 'disp' is assigned a value but never used no-unused-vars + 315:7 warning 'set' is assigned a value but never used no-unused-vars + 358:15 warning 'Typed' is not defined no-undef + 379:19 warning 'src' is not defined no-undef + 519:17 warning 'anime' is not defined no-undef + 558:17 warning 'anime' is not defined no-undef + 582:10 warning 'cursorPointer' is defined but never used no-unused-vars + 901:10 warning 'i' is not defined no-undef + 902:18 warning 'i' is not defined no-undef + 904:10 warning 'i' is not defined no-undef + 905:11 warning 'i' is not defined no-undef + 905:28 warning 'i' is not defined no-undef + 905:48 warning 'i' is not defined no-undef + 908:25 warning 'i' is not defined no-undef + 933:6 warning 'intro' is not defined no-undef + 961:18 warning 'anime' is not defined no-undef + 983:15 warning 'intru' is not defined no-undef + 983:27 warning 'Typed' is not defined no-undef + 1001:16 warning 'intru' is not defined no-undef + 1017:6 warning 'objective' is not defined no-undef + 1052:6 warning 'step1' is not defined no-undef + 1091:7 warning 'anime' is not defined no-undef + 1120:9 warning 'anime' is not defined no-undef + 1146:15 warning 'connections' is not defined no-undef + 1152:15 warning 'connections' is not defined no-undef + 1168:33 warning 'connections' is not defined no-undef + 1169:26 warning 'connections' is not defined no-undef + 1169:50 warning 'connections' is not defined no-undef + 1188:17 warning 'isConnectionRight' is assigned a value but never used no-unused-vars + 1218:10 warning 'showConnectionInfo' is not defined no-undef + 1218:41 warning 'listDiv' is defined but never used no-unused-vars + 1220:10 warning 'hideConnectionInfo' is not defined no-undef + 1223:10 warning 'connections' is not defined no-undef + 1224:10 warning 'updateConnections' is not defined no-undef + 1225:24 warning 'connections' is not defined no-undef + 1228:33 warning 'connections' is not defined no-undef + 1229:19 warning 'connections' is not defined no-undef + 1234:28 warning 'connections' is not defined no-undef + 1236:15 warning 'connections' is not defined no-undef + 1238:33 warning 'connections' is not defined no-undef + 1239:26 warning 'connections' is not defined no-undef + 1239:50 warning 'connections' is not defined no-undef + 1242:13 warning 'showConnectionInfo' is not defined no-undef + 1246:9 warning 'jsPlumb' is not defined no-undef + 1247:26 warning 'jsPlumb' is not defined no-undef + 1252:57 warning 'originalEvent' is defined but never used no-unused-vars + 1253:15 warning 'updateConnections' is not defined no-undef + 1255:65 warning 'originalEvent' is defined but never used no-unused-vars + 1256:15 warning 'updateConnections' is not defined no-undef + 1259:62 warning 'originalEvent' is defined but never used no-unused-vars + 1263:15 warning 'updateConnections' is not defined no-undef + 1379:32 warning 'jsPlumb' is not defined no-undef + 1381:29 warning 'jsPlumb' is not defined no-undef + 1384:15 warning 'jsPlumbUtil' is not defined no-undef + 1387:29 warning 'jsPlumb' is not defined no-undef + 1391:15 warning 'jsPlumbUtil' is not defined no-undef + 1394:31 warning 'jsPlumb' is not defined no-undef + 1397:15 warning 'jsPlumbUtil' is not defined no-undef + 1404:15 warning 'showConnectionInfo' is not defined no-undef + 1405:15 warning 'jsPlumbUtil' is not defined no-undef + 1409:11 warning 'jsPlumb' is not defined no-undef + 1424:6 warning 'step2' is not defined no-undef + 1446:9 warning 'sliders' is not defined no-undef + 1447:11 warning 'sliderV' is not defined no-undef + 1448:11 warning 'sliders' is not defined no-undef + 1452:11 warning 'sliders' is not defined no-undef + 1456:13 warning 'sliders' is not defined no-undef + 1584:9 warning 'anime' is not defined no-undef + 1640:37 warning 'sliders' is not defined no-undef + 1641:38 warning 'sliders' is not defined no-undef + 1642:25 warning 'sliders' is not defined no-undef + 1643:9 warning 'updateValues' is not defined no-undef + 1645:25 warning 'Formulas' is not defined no-undef + 1645:43 warning 'values' is not defined no-undef + 1646:26 warning 'Formulas' is not defined no-undef + 1646:45 warning 'values' is not defined no-undef + 1647:25 warning 'Formulas' is not defined no-undef + 1647:43 warning 'values' is not defined no-undef + 1648:25 warning 'Formulas' is not defined no-undef + 1648:43 warning 'values' is not defined no-undef + 1649:25 warning 'Formulas' is not defined no-undef + 1649:43 warning 'values' is not defined no-undef + 1710:11 warning 'updateValues' is not defined no-undef + 1721:11 warning 'updateValues' is not defined no-undef + 1732:11 warning 'updateValues' is not defined no-undef + 1748:6 warning 'step3' is not defined no-undef + 1812:7 warning 'sliders' is not defined no-undef + 1879:6 warning 'step4' is not defined no-undef + 1910:11 warning 'table1' is assigned a value but never used no-unused-vars + 1911:11 warning 'table2' is assigned a value but never used no-unused-vars + 1918:11 warning 'tableHeadTitle' is assigned a value but never used no-unused-vars + 1923:7 warning 'disableSlider' is not defined no-undef + 1933:9 warning 'sliders' is not defined no-undef + 1937:11 warning 'sliders' is not defined no-undef + 1985:22 warning 'Chart' is not defined no-undef + 2051:22 warning 'Chart' is not defined no-undef + 2130:9 warning 'sliders' is not defined no-undef + 2192:11 warning 'disableSlider' is not defined no-undef + 2193:11 warning 'disableSlider' is not defined no-undef + 2209:11 warning 'sliders' is not defined no-undef + 2210:11 warning 'sliders' is not defined no-undef + 2214:11 warning 'sliders' is not defined no-undef + 2215:11 warning 'sliders' is not defined no-undef + 2228:11 warning 'disableSlider' is not defined no-undef + 2229:11 warning 'disableSlider' is not defined no-undef + 2237:37 warning 'idx' is defined but never used no-unused-vars + 2257:9 warning 'sliders' is not defined no-undef + 2299:31 warning 'sliders' is not defined no-undef + 2300:37 warning 'sliders' is not defined no-undef + 2301:38 warning 'sliders' is not defined no-undef + 2317:11 warning 'sliders' is not defined no-undef + 2320:11 warning 'sliders' is not defined no-undef + 2329:11 warning 'disableSlider' is not defined no-undef + 2332:9 warning 'updateValues' is not defined no-undef + 2347:11 warning Move function declaration to function body root no-inner-declarations + 2383:48 warning 'Formulas' is not defined no-undef + 2383:66 warning 'values' is not defined no-undef + 2384:48 warning 'Formulas' is not defined no-undef + 2384:65 warning 'values' is not defined no-undef + 2398:6 warning 'step5' is not defined no-undef + 2468:21 warning 'Chart' is not defined no-undef + 2538:13 warning 'sliders' is not defined no-undef + 2539:15 warning 'sliderV' is not defined no-undef + 2540:15 warning 'sliders' is not defined no-undef + 2584:8 warning 'disableSlider' is not defined no-undef + 2585:8 warning 'disableSlider' is not defined no-undef + 2593:13 warning 'resetAll' is assigned a value but never used no-unused-vars + 2636:9 warning 'disableSlider' is not defined no-undef + 2659:35 warning 'sliders' is not defined no-undef + 2673:15 warning 'disableSlider' is not defined no-undef + 2682:13 warning 'updateValues' is not defined no-undef + 2689:50 warning 'Formulas' is not defined no-undef + 2689:71 warning 'values' is not defined no-undef + 2690:50 warning 'Formulas' is not defined no-undef + 2690:70 warning 'values' is not defined no-undef + 2693:28 warning 'Formulas' is not defined no-undef + 2693:48 warning 'values' is not defined no-undef + 2712:35 warning 'sliders' is not defined no-undef + 2733:13 warning 'updateValues' is not defined no-undef + 2741:50 warning 'Formulas' is not defined no-undef + 2741:71 warning 'values' is not defined no-undef + 2742:50 warning 'Formulas' is not defined no-undef + 2742:70 warning 'values' is not defined no-undef + 2745:28 warning 'Formulas' is not defined no-undef + 2745:48 warning 'values' is not defined no-undef + 2762:35 warning 'sliders' is not defined no-undef + 2782:14 warning 'updateValues' is not defined no-undef + 2789:50 warning 'Formulas' is not defined no-undef + 2789:71 warning 'values' is not defined no-undef + 2790:50 warning 'Formulas' is not defined no-undef + 2790:70 warning 'values' is not defined no-undef + 2793:29 warning 'Formulas' is not defined no-undef + 2793:49 warning 'values' is not defined no-undef + 2815:6 warning 'step6' is not defined no-undef + 2848:11 warning 'xLabel' is assigned a value but never used no-unused-vars + 2851:13 warning 'x' is assigned a value but never used no-unused-vars + 2851:21 warning 'Chart' is not defined no-undef + 2924:9 warning 'sliders' is not defined no-undef + 2925:11 warning 'sliderV' is not defined no-undef + 2926:11 warning 'sliders' is not defined no-undef + 2930:11 warning 'sliders' is not defined no-undef + 2934:13 warning 'sliders' is not defined no-undef + 2938:15 warning 'sliders' is not defined no-undef + 2980:9 warning 'disableSlider' is not defined no-undef + 3004:11 warning 'disableSlider' is not defined no-undef + 3023:9 warning 'sliders' is not defined no-undef + 3035:13 warning 'sliders' is not defined no-undef + 3039:15 warning 'sliders' is not defined no-undef + 3045:31 warning 'sliders' is not defined no-undef + 3046:37 warning 'sliders' is not defined no-undef + 3047:38 warning 'sliders' is not defined no-undef + 3048:9 warning 'updateValues' is not defined no-undef + 3061:11 warning Move function declaration to function body root no-inner-declarations + 3109:11 warning 'disableSlider' is not defined no-undef + 3110:11 warning 'disableSlider' is not defined no-undef + 3116:46 warning 'Formulas' is not defined no-undef + 3116:73 warning 'values' is not defined no-undef + 3117:46 warning 'Formulas' is not defined no-undef + 3117:72 warning 'values' is not defined no-undef + 3118:46 warning 'Formulas' is not defined no-undef + 3118:74 warning 'values' is not defined no-undef + 3119:46 warning 'Formulas' is not defined no-undef + 3119:73 warning 'values' is not defined no-undef + 3120:46 warning 'Formulas' is not defined no-undef + 3120:74 warning 'values' is not defined no-undef + 3121:46 warning 'Formulas' is not defined no-undef + 3121:73 warning 'values' is not defined no-undef + 3122:47 warning 'Formulas' is not defined no-undef + 3122:75 warning 'values' is not defined no-undef + 3147:6 warning 'step7' is not defined no-undef + 3167:11 warning 'styles' is assigned a value but never used no-unused-vars + 3181:11 warning 'graph_w' is assigned a value but never used no-unused-vars + 3253:20 warning 'Chart' is not defined no-undef + 3305:20 warning 'Chart' is not defined no-undef + 3316:11 warning 'slidersBox' is assigned a value but never used no-unused-vars + 3323:9 warning 'sliders' is not defined no-undef + 3324:11 warning 'sliderV' is not defined no-undef + 3325:11 warning 'sliders' is not defined no-undef + 3329:11 warning 'sliders' is not defined no-undef + 3333:13 warning 'sliders' is not defined no-undef + 3337:15 warning 'sliders' is not defined no-undef + 3385:32 warning 'sliders' is not defined no-undef + 3386:38 warning 'sliders' is not defined no-undef + 3387:39 warning 'sliders' is not defined no-undef + 3389:10 warning 'updateValues' is not defined no-undef + 3395:49 warning 'Formulas' is not defined no-undef + 3395:68 warning 'values' is not defined no-undef + 3396:49 warning 'Formulas' is not defined no-undef + 3396:67 warning 'values' is not defined no-undef + 3397:49 warning 'Formulas' is not defined no-undef + 3397:68 warning 'values' is not defined no-undef + 3398:49 warning 'Formulas' is not defined no-undef + 3398:68 warning 'values' is not defined no-undef + 3401:26 warning 'Formulas' is not defined no-undef + 3401:45 warning 'values' is not defined no-undef + 3402:26 warning 'Formulas' is not defined no-undef + 3402:45 warning 'values' is not defined no-undef + 3403:26 warning 'Formulas' is not defined no-undef + 3403:45 warning 'values' is not defined no-undef + 3403:55 warning 'Formulas' is not defined no-undef + 3403:74 warning 'values' is not defined no-undef + 3404:27 warning 'Formulas' is not defined no-undef + 3404:47 warning 'values' is not defined no-undef + 3405:27 warning 'Formulas' is not defined no-undef + 3405:47 warning 'values' is not defined no-undef + 3453:6 warning 'step8' is not defined no-undef + 3519:28 warning 'anime' is not defined no-undef + 3570:6 warning 'step9' is not defined no-undef + 3595:6 warning 'step10' is not defined no-undef + 3620:6 warning 'step11' is not defined no-undef + 3645:6 warning 'step12' is not defined no-undef + 3702:7 warning 'backDrawerItem' is not defined no-undef + 3703:7 warning 'backProgressBar' is not defined no-undef + 3726:11 warning 'nextDrawerItem' is not defined no-undef + 3727:11 warning 'nextProgressBar' is not defined no-undef + 3731:12 warning Empty block statement no-empty + +/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/simulation/js/progressBar.js + 2:7 warning 'prevBtns' is assigned a value but never used no-unused-vars + 3:7 warning 'nextBtns' is assigned a value but never used no-unused-vars + 12:7 warning 'nextProgressBar' is assigned a value but never used no-unused-vars + 19:7 warning 'backProgressBar' is assigned a value but never used no-unused-vars + +/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/simulation/js/sliders.js + 96:26 warning 'rot' is assigned a value but never used no-unused-vars + +/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment/simulation/toolkit/toolkit.js + 42:5 warning '$' is not defined no-undef + 48:48 warning 'Scenes' is not defined no-undef + 50:9 warning '$' is not defined no-undef + 51:9 warning '$' is not defined no-undef + 53:9 warning '$' is not defined no-undef + 54:9 warning '$' is not defined no-undef + 58:5 warning 'intervalForCheck' is assigned a value but never used no-unused-vars + 68:42 warning 'Scenes' is not defined no-undef + 72:46 warning 'Scenes' is not defined no-undef + 73:10 warning 'isRunning' is not defined no-undef + 78:40 warning 'Scenes' is not defined no-undef + 104:26 warning 'Dom' is not defined no-undef + 119:17 warning 'anime' is not defined no-undef + 134:34 warning 'anime' is not defined no-undef + 148:5 warning '$' is not defined no-undef + 195:5 warning '$' is not defined no-undef + 196:5 warning '$' is not defined no-undef + 199:7 warning '$' is not defined no-undef + 200:7 warning '$' is not defined no-undef + 231:7 warning '$' is not defined no-undef + 235:7 warning '$' is not defined no-undef + 236:7 warning '$' is not defined no-undef + 247:1 warning '$' is not defined no-undef + 253:5 warning 'Dom' is not defined no-undef + 254:5 warning 'Dom' is not defined no-undef + +✖ 1790 problems (0 errors, 1790 warnings) + 0 errors and 535 warnings potentially fixable with the `--fix` option. + diff --git a/experiment-name.md b/experiment-name.md new file mode 100644 index 0000000..96e0d2c --- /dev/null +++ b/experiment-name.md @@ -0,0 +1 @@ +## Performance Measurement and Analysis of Non-isolated DC-DC Boost Converter diff --git a/feedback.html b/feedback.html new file mode 100644 index 0000000..c0610e5 --- /dev/null +++ b/feedback.html @@ -0,0 +1,414 @@ + + + + + + + + + + + + + + + + + + + + + + Virtual Labs + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +
+
+

Performance Measurement and Analysis of Non-isolated DC-DC Boost Converter

+ +
+

Feedback

+

Dear User,

+ +

Thanks for using Virtual Labs. Your opinion is valuable to us. To help us improve, we'd like to ask you a few questions about your experience. It will only take 3 minutes and your answers will help us make Virtual Labs better for you and other users. +


+ +

+

+

Thanks for your time !
+ The Virtual Labs Team +

+
+
+ + +
+
+ + + + + + + + + \ No newline at end of file diff --git a/feedback.md b/feedback.md new file mode 100644 index 0000000..33fd134 --- /dev/null +++ b/feedback.md @@ -0,0 +1,12 @@ +

Feedback

+

Dear User,

+ +

Thanks for using Virtual Labs. Your opinion is valuable to us. To help us improve, we'd like to ask you a few questions about your experience. It will only take 3 minutes and your answers will help us make Virtual Labs better for you and other users. +


+ + +

+ +

Thanks for your time !
+ The Virtual Labs Team +

\ No newline at end of file diff --git a/images/README.md b/images/README.md new file mode 100644 index 0000000..5723b13 --- /dev/null +++ b/images/README.md @@ -0,0 +1 @@ +### This folder contains images used in round 3 documentation. diff --git a/images/expl1.png b/images/expl1.png new file mode 100644 index 0000000..d04485f Binary files /dev/null and b/images/expl1.png differ diff --git a/images/expl2.png b/images/expl2.png new file mode 100644 index 0000000..a3ab6c1 Binary files /dev/null and b/images/expl2.png differ diff --git a/images/expl3.png b/images/expl3.png new file mode 100644 index 0000000..4763b00 Binary files /dev/null and b/images/expl3.png differ diff --git a/images/pos1.png b/images/pos1.png new file mode 100644 index 0000000..ef3ec24 Binary files /dev/null and b/images/pos1.png differ diff --git a/images/pre1.png b/images/pre1.png new file mode 100644 index 0000000..9be6c8d Binary files /dev/null and b/images/pre1.png differ diff --git a/images/proced1.png b/images/proced1.png new file mode 100644 index 0000000..bc9118a Binary files /dev/null and b/images/proced1.png differ diff --git a/images/th1.jpg b/images/th1.jpg new file mode 100644 index 0000000..f1c0b24 Binary files /dev/null and b/images/th1.jpg differ diff --git a/images/th10.png b/images/th10.png new file mode 100644 index 0000000..b4457f5 Binary files /dev/null and b/images/th10.png differ diff --git a/images/th11.png b/images/th11.png new file mode 100644 index 0000000..3820d7d Binary files /dev/null and b/images/th11.png differ diff --git a/images/th12.png b/images/th12.png new file mode 100644 index 0000000..fc9e7ff Binary files /dev/null and b/images/th12.png differ diff --git a/images/th13.png b/images/th13.png new file mode 100644 index 0000000..d23a8ce Binary files /dev/null and b/images/th13.png differ diff --git a/images/th14.png b/images/th14.png new file mode 100644 index 0000000..2bd7c50 Binary files /dev/null and b/images/th14.png differ diff --git a/images/th15.png b/images/th15.png new file mode 100644 index 0000000..b6838db Binary files /dev/null and b/images/th15.png differ diff --git a/images/th16.png b/images/th16.png new file mode 100644 index 0000000..2b3b795 Binary files /dev/null and b/images/th16.png differ diff --git a/images/th17.png b/images/th17.png new file mode 100644 index 0000000..dfcdf69 Binary files /dev/null and b/images/th17.png differ diff --git a/images/th18.png b/images/th18.png new file mode 100644 index 0000000..6ee1967 Binary files /dev/null and b/images/th18.png differ diff --git a/images/th19.png b/images/th19.png new file mode 100644 index 0000000..22c67d7 Binary files /dev/null and b/images/th19.png differ diff --git a/images/th2.jpg b/images/th2.jpg new file mode 100644 index 0000000..aa170c6 Binary files /dev/null and b/images/th2.jpg differ diff --git a/images/th20.png b/images/th20.png new file mode 100644 index 0000000..51f8228 Binary files /dev/null and b/images/th20.png differ diff --git a/images/th21.png b/images/th21.png new file mode 100644 index 0000000..738da99 Binary files /dev/null and b/images/th21.png differ diff --git a/images/th22.png b/images/th22.png new file mode 100644 index 0000000..81b3e9b Binary files /dev/null and b/images/th22.png differ diff --git a/images/th23.png b/images/th23.png new file mode 100644 index 0000000..a8280f5 Binary files /dev/null and b/images/th23.png differ diff --git a/images/th23a.png b/images/th23a.png new file mode 100644 index 0000000..915f4c9 Binary files /dev/null and b/images/th23a.png differ diff --git a/images/th23b.png b/images/th23b.png new file mode 100644 index 0000000..ec480d1 Binary files /dev/null and b/images/th23b.png differ diff --git a/images/th23c.png b/images/th23c.png new file mode 100644 index 0000000..28b0888 Binary files /dev/null and b/images/th23c.png differ diff --git a/images/th24.png b/images/th24.png new file mode 100644 index 0000000..caed675 Binary files /dev/null and b/images/th24.png differ diff --git a/images/th25.png b/images/th25.png new file mode 100644 index 0000000..352aabf Binary files /dev/null and b/images/th25.png differ diff --git a/images/th26.png b/images/th26.png new file mode 100644 index 0000000..c1dab3f Binary files /dev/null and b/images/th26.png differ diff --git a/images/th27.png b/images/th27.png new file mode 100644 index 0000000..63306f1 Binary files /dev/null and b/images/th27.png differ diff --git a/images/th28.png b/images/th28.png new file mode 100644 index 0000000..b75e9b4 Binary files /dev/null and b/images/th28.png differ diff --git a/images/th29.png b/images/th29.png new file mode 100644 index 0000000..15d83d8 Binary files /dev/null and b/images/th29.png differ diff --git a/images/th3.jpg b/images/th3.jpg new file mode 100644 index 0000000..f019352 Binary files /dev/null and b/images/th3.jpg differ diff --git a/images/th30.png b/images/th30.png new file mode 100644 index 0000000..03a7a17 Binary files /dev/null and b/images/th30.png differ diff --git a/images/th31.png b/images/th31.png new file mode 100644 index 0000000..0cbd55c Binary files /dev/null and b/images/th31.png differ diff --git a/images/th32.png b/images/th32.png new file mode 100644 index 0000000..eb0faf0 Binary files /dev/null and b/images/th32.png differ diff --git a/images/th33.png b/images/th33.png new file mode 100644 index 0000000..40280ea Binary files /dev/null and b/images/th33.png differ diff --git a/images/th34.png b/images/th34.png new file mode 100644 index 0000000..c0bbf7c Binary files /dev/null and b/images/th34.png differ diff --git a/images/th35.png b/images/th35.png new file mode 100644 index 0000000..c0bbf7c Binary files /dev/null and b/images/th35.png differ diff --git a/images/th36.png b/images/th36.png new file mode 100644 index 0000000..b1767fc Binary files /dev/null and b/images/th36.png differ diff --git a/images/th37.png b/images/th37.png new file mode 100644 index 0000000..7c2d919 Binary files /dev/null and b/images/th37.png differ diff --git a/images/th38.png b/images/th38.png new file mode 100644 index 0000000..ecd5b42 Binary files /dev/null and b/images/th38.png differ diff --git a/images/th39.png b/images/th39.png new file mode 100644 index 0000000..bf2ee54 Binary files /dev/null and b/images/th39.png differ diff --git a/images/th4.png b/images/th4.png new file mode 100644 index 0000000..ecc44b5 Binary files /dev/null and b/images/th4.png differ diff --git a/images/th40.png b/images/th40.png new file mode 100644 index 0000000..1e7bca5 Binary files /dev/null and b/images/th40.png differ diff --git a/images/th41.png b/images/th41.png new file mode 100644 index 0000000..1119d42 Binary files /dev/null and b/images/th41.png differ diff --git a/images/th42.png b/images/th42.png new file mode 100644 index 0000000..d21e8d9 Binary files /dev/null and b/images/th42.png differ diff --git a/images/th43.png b/images/th43.png new file mode 100644 index 0000000..512140f Binary files /dev/null and b/images/th43.png differ diff --git a/images/th44.png b/images/th44.png new file mode 100644 index 0000000..b05a427 Binary files /dev/null and b/images/th44.png differ diff --git a/images/th45.png b/images/th45.png new file mode 100644 index 0000000..4f312bc Binary files /dev/null and b/images/th45.png differ diff --git a/images/th46.png b/images/th46.png new file mode 100644 index 0000000..6bf3f97 Binary files /dev/null and b/images/th46.png differ diff --git a/images/th47.png b/images/th47.png new file mode 100644 index 0000000..ef7775a Binary files /dev/null and b/images/th47.png differ diff --git a/images/th5.png b/images/th5.png new file mode 100644 index 0000000..be3936a Binary files /dev/null and b/images/th5.png differ diff --git a/images/th6.png b/images/th6.png new file mode 100644 index 0000000..fdd5f3b Binary files /dev/null and b/images/th6.png differ diff --git a/images/th7.png b/images/th7.png new file mode 100644 index 0000000..e22c750 Binary files /dev/null and b/images/th7.png differ diff --git a/images/th8.jpg b/images/th8.jpg new file mode 100644 index 0000000..ed38f1f Binary files /dev/null and b/images/th8.jpg differ diff --git a/images/th8.png b/images/th8.png new file mode 100644 index 0000000..5d604c6 Binary files /dev/null and b/images/th8.png differ diff --git a/images/th9.png b/images/th9.png new file mode 100644 index 0000000..df5b9f9 Binary files /dev/null and b/images/th9.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..395c7df --- /dev/null +++ b/index.html @@ -0,0 +1,409 @@ + + + + + + + + + + + + + + + + + + + + + + Virtual Labs + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +
+
+

Performance Measurement and Analysis of Non-isolated DC-DC Boost Converter

+ +
+

To examine and understand the Boost Converter performance in respect of:

+
a) Principle of operation followed by performance measurement of the boost converter.
+
b) The impact of non-idealities (ESL, ESR, RDS(ON), VFD, R) on voltage boosting capability of the converter.
+
c) The loading effect on efficiency of the converter.
+
d) The voltage and current stress of components and device selection.
+ +
+
+ + +
+
+ + + + + + + + + \ No newline at end of file diff --git a/links.log b/links.log new file mode 100644 index 0000000..365a207 --- /dev/null +++ b/links.log @@ -0,0 +1,9 @@ +feedback.html http://outreach.vlabs.ac.in/ +index.html http://outreach.vlabs.ac.in/ +performance-report.html http://vlab.co.in +posttest.html http://outreach.vlabs.ac.in/ +pretest.html http://outreach.vlabs.ac.in/ +procedure.html http://outreach.vlabs.ac.in/ +references.html http://outreach.vlabs.ac.in/ +theory.html http://outreach.vlabs.ac.in/ +validator-report.html http://vlab.co.in diff --git a/performance-report.html b/performance-report.html new file mode 100644 index 0000000..c7179b6 --- /dev/null +++ b/performance-report.html @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + Virtual Labs + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + +
+
+
+

Performance Measurement and Analysis of Non-isolated DC-DC Boost Converter

+ +
+
+
+
+
+
+ +
+
+ +
+
+
Pagewise Performance Summary
+
+
+ +
+
+
+
+ +
+
+
    +
  • Critical
  • +
  • Needs Work
  • +
  • Good
  • +
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ +
+ *NOTE: The scores may slightly vary between the detailed report and the given summary due to the use of different APIs for each. Learn more. +
+ + + + + diff --git a/plugins/svc-rating/.github/workflows/deployment-script.yml b/plugins/svc-rating/.github/workflows/deployment-script.yml new file mode 100644 index 0000000..6540937 --- /dev/null +++ b/plugins/svc-rating/.github/workflows/deployment-script.yml @@ -0,0 +1,39 @@ +name: Deploy Main Branch +on: + push: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Setup node + uses: actions/setup-node@v2 + with: + node-version: '16' + check-latest: true + + - run: | + mkdir js + cp -rf *.js js/ + if [ ! -d "images" ]; then + mkdir images + cp -rf images/*.{svg,jpg,png} images/ + fi + git config --local user.email "admin@vlabs.ac.in" + git config --local user.name "vleadadmin" + git checkout --orphan gh-pages + git reset + git add js/* -f + git add images/* -f + git mv js/* ./ -f + git mv images/* ./ -f + git commit -m "https://virtual-labs.github.io/${{ github.repository }} click on the link to test your code." + + - uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.ORG_OWNER_GITHUB_TOKEN }} + force: true + branch: gh-pages \ No newline at end of file diff --git a/plugins/svc-rating/LICENSE b/plugins/svc-rating/LICENSE new file mode 100644 index 0000000..0ad25db --- /dev/null +++ b/plugins/svc-rating/LICENSE @@ -0,0 +1,661 @@ + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. diff --git a/plugins/svc-rating/README.md b/plugins/svc-rating/README.md new file mode 100644 index 0000000..87dd058 --- /dev/null +++ b/plugins/svc-rating/README.md @@ -0,0 +1,85 @@ +# Lit Based Rating Web Component for Virtual Labs +---- + +This repository contains the source code for the rating web component for virtual labs. The web component is written and packaged as a lit component, with some customisable parameters for the web-component. + +The rating component is further split into the following components: + +1. **`rating-display`** : This component has the display of the submitted rating as `stars`, it reads the data from the google sheet using the sheet API. + +2. **`rating-submit`** : This packs the Rate experiment button and the rating-modal, which could be placed on the experiment page and which is used for collecting the rating of the web component, and submits the rating to the google analytics, and gets stored into the google analytics. + +## Features + +The following are the features of the rating web-component: + +- **rating-display** : + - the `rating-display` component could be used separately for displaying the rating of the given experiment, + - The following parameters are to be supplied to the rating-display web component : + + 1. **numberOfStars** : + + The number of stars to display the rating out of. + 2. **spreadsheetID** : + + The id of the spreadsheet to read the rating from. + 3. sheetName : + + The name of the sheet, to read rating from in the spreadsheet. + 4. columnName : + + The column-name, to read-rating from. + + 5. columnValue : + + The unique identifier, whose rating is to be displayed. Say, in case of experiments, it is the experiment short name. + + Following is the sample usage : + + + `` + + The positioning of the stars could be adjusted, by placing the component into a div and adjusting the div's position accordingly. The component being placed relative to the corresponding div. + +- **rating-submit** : + The rating submit component, comprises of a button, which on clicking opens up a modal for submitting the rating from the user. + The `rating-submit` buttons comes with the following parameters : + + 1. **title** : The title to be displayed on the rating modal. + + - The title of the rating modal could be varied, and passed as parameter along the component. + example usage: + `` + - Sample Usage : + ` + ` + + # Changing of building environments + The rating components are included in the following files in the ph-3 repository, for including it into the experiment and lab pages. These could be changed, or tweaked as per convenience: + + 1. **config.json [`LAB`]** - include the js modules in the `list-of-experiments-ctnt` object, which should be changed accordingly if the links get updated. + + 2. **plugin-config-production.js and plugin-config-testing.js** - same as above, but for, loading the modules for experiment pages. + + 3. **list-of-experiments-ctnt.handlebars** : this file in the page-templates folder, encloses the display rating component for the lab-list-of-experiments pages. + + - Directory : './templates/partials/' + 4. **content.handlebars** + 5. **header.handlebars** + 6. **simulation-header.handlebars** + + The tags above have been included in the conditional **testing** environment using the if clause + ```js + {{# if testing}} + //rating component + {{/if}} + ``` + to include it into production, removing/changing the clause should be done in each of the files, wherever the component needs to be included. + # Events + +- on submitting the rating, an event named `vl-rating-submit` is created, that is later captured by the GA4 analytics, and later stored into the google sheet. +- The event is handled and managed in the file `./templates/assets/js/event-handler.js` file, wherein the event is created and pushed to the data layer for further analytics. diff --git a/plugins/svc-rating/checkEventSubmission.js b/plugins/svc-rating/checkEventSubmission.js new file mode 100644 index 0000000..736310a --- /dev/null +++ b/plugins/svc-rating/checkEventSubmission.js @@ -0,0 +1,35 @@ +import { + LitElement, + html, +} from "https://cdn.jsdelivr.net/gh/lit/dist@3/core/lit-core.min.js"; + +class MyListener extends LitElement { + static properties = { + canCheck: {}, + }; + connectedCallback() { + super.connectedCallback(); + window.addEventListener("submit-rating", this.onSubmitRating); + } + onSubmitRating(e) { + console.debug(e); + alert(e.detail.data); + } + + constructor() { + super(); + this.canCheck = false; + this.addEventListener("submit-rating", this._checkedHandler); + } + render() { + return html` +
{ + console.debug(e); + }} + > +
+ `; + } +} +customElements.define("my-listener", MyListener); diff --git a/plugins/svc-rating/config.js b/plugins/svc-rating/config.js new file mode 100644 index 0000000..bf2fabc --- /dev/null +++ b/plugins/svc-rating/config.js @@ -0,0 +1,2 @@ +const googleApiKey = "AIzaSyAJ9pMGaHcmOiNeHEXQLGCiJcr5k3TV4F8"; +const timeLimit = 4*60*60*1000; \ No newline at end of file diff --git a/plugins/svc-rating/imageData.js b/plugins/svc-rating/imageData.js new file mode 100644 index 0000000..f6f049a --- /dev/null +++ b/plugins/svc-rating/imageData.js @@ -0,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g+XsDdL8jdBQB7s9GRizzoIj8GrAw6HI61wLuN5yRkhDMyBpNxsJiNXbMRHtwOMvkBJ4Zq8zFxsRZ4GZSFsWDKCGjzGY4Fc3Uy8mEBaObWxhpwrHEbhtXDEka93kIQbtuTyWQRwbqe38BMaIexwLrAH8/CLkPACcOwLm7ZTJ7lexxr4Ggrk8/kex7WJEFbiIUGYmOhv71IwOLa6qFJLTwsAv4YKoxi416G3Q2GWkCsCw9rnAfHOnMdvOsyRgwL9G478DnMbDLDHlzjRAKLnk9Qv3w0CNPvAOaS5+BtLLh0AlXsuYXT4yoBa2ZjgcJAW+MrG2s2uoMOYRsk4jIurpjRXveFK9SW7TKgS8JojN11LB7bwVYyQH8FDmzihpr+YjRqg3/ITEajRY/pccy0csfAhf5ohN5FsAMd+tgb7HR7ABobLfoT5gl7E2jEcViEzbYBTNg5IPXv7gY99ISjxTVcLIzu5qxcGGGMEfC212Ese1UpwD18RywK8WK7bGD/wz/CILAWhaUoP+zZqQePM4KTiGR6A6+UN+C2D6cEfoxfB+7dnSvYJywR2WcvY1cC/Qteb+32t7KVrWxlK59a/g3WFLiPo/+K9gAAAABJRU5ErkJggg=="; +export {imageData}; diff --git a/plugins/svc-rating/images/empty-star.svg b/plugins/svc-rating/images/empty-star.svg new file mode 100644 index 0000000..99b6849 --- /dev/null +++ b/plugins/svc-rating/images/empty-star.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/plugins/svc-rating/images/half-star.svg b/plugins/svc-rating/images/half-star.svg new file mode 100644 index 0000000..b879312 --- /dev/null +++ b/plugins/svc-rating/images/half-star.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/plugins/svc-rating/images/logo.jpg b/plugins/svc-rating/images/logo.jpg new file mode 100644 index 0000000..f412942 Binary files /dev/null and b/plugins/svc-rating/images/logo.jpg differ diff --git a/plugins/svc-rating/images/mobile-icon.svg b/plugins/svc-rating/images/mobile-icon.svg new file mode 100644 index 0000000..2cd1313 --- /dev/null +++ b/plugins/svc-rating/images/mobile-icon.svg @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/svc-rating/images/mobile_rating_icon.png b/plugins/svc-rating/images/mobile_rating_icon.png new file mode 100644 index 0000000..9d8b503 Binary files /dev/null and b/plugins/svc-rating/images/mobile_rating_icon.png differ diff --git a/plugins/svc-rating/images/star.svg b/plugins/svc-rating/images/star.svg new file mode 100644 index 0000000..4c213e8 --- /dev/null +++ b/plugins/svc-rating/images/star.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/plugins/svc-rating/index.html b/plugins/svc-rating/index.html new file mode 100644 index 0000000..f264662 --- /dev/null +++ b/plugins/svc-rating/index.html @@ -0,0 +1,26 @@ + + + + + + + + Document + + + + + + + + + + diff --git a/plugins/svc-rating/index.js b/plugins/svc-rating/index.js new file mode 100644 index 0000000..5334fba --- /dev/null +++ b/plugins/svc-rating/index.js @@ -0,0 +1,6 @@ +import "./rating.js"; +import "./rating-submit.js"; +import "./rating-display.js" +import "./checkEventSubmission.js"; + + diff --git a/plugins/svc-rating/package-lock.json b/plugins/svc-rating/package-lock.json new file mode 100644 index 0000000..0471a90 --- /dev/null +++ b/plugins/svc-rating/package-lock.json @@ -0,0 +1,9560 @@ +{ + "name": "svc-rating", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "dependencies": { + "lit": "^2.2.5", + "lit-fontawesome": "^0.1.3", + "lit-modal": "^1.2.38" + }, + "devDependencies": { + "@rollup/plugin-node-resolve": "^15.0.0", + "@web/rollup-plugin-copy": "^0.3.0", + "@web/rollup-plugin-html": "^1.11.0", + "es-dev-server": "^2.1.0", + "rollup": "^2.79.1", + "rollup-plugin-minify-html-literals": "^1.2.6", + "rollup-plugin-summary": "^1.4.3", + "rollup-plugin-terser": "^7.0.2" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", + "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.1.0", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "dev": true, + "dependencies": { + "@babel/highlight": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.17.10", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.10.tgz", + "integrity": "sha512-GZt/TCsG70Ms19gfZO1tM4CVnXsPgEPBCpJu+Qz3L0LUDsY5nZqFZglIoPC1kIYOtNBZlrnFT+klg12vFGZXrw==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.2.tgz", + "integrity": "sha512-A8pri1YJiC5UnkdrWcmfZTJTV85b4UXTAfImGmCfYmax4TR9Cw8sDS0MOk++Gp2mE/BefVJ5nwy5yzqNJbP/DQ==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.18.2", + "@babel/helper-compilation-targets": "^7.18.2", + "@babel/helper-module-transforms": "^7.18.0", + "@babel/helpers": "^7.18.2", + "@babel/parser": "^7.18.0", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.18.2", + "@babel/types": "^7.18.2", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.1", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.2.tgz", + "integrity": "sha512-W1lG5vUwFvfMd8HVXqdfbuG7RuaSrTCCD8cl8fP8wOivdbtbIg2Db3IWUcgvfxKbbn6ZBGYRW/Zk1MIwK49mgw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.18.2", + "@jridgewell/gen-mapping": "^0.3.0", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", + "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", + "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.0", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/helper-annotate-as-pure": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz", + "integrity": "sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.7.tgz", + "integrity": "sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA==", + "dev": true, + "dependencies": { + "@babel/helper-explode-assignable-expression": "^7.16.7", + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.2.tgz", + "integrity": "sha512-s1jnPotJS9uQnzFtiZVBUxe67CuBa679oWFHpxYYnTpRL/1ffhyX44R9uYiXoa/pLXcY9H2moJta0iaanlk/rQ==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.17.10", + "@babel/helper-validator-option": "^7.16.7", + "browserslist": "^4.20.2", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.18.0.tgz", + "integrity": "sha512-Kh8zTGR9de3J63e5nS0rQUdRs/kbtwoeQQ0sriS0lItjC96u8XXZN6lKpuyWd2coKSU13py/y+LTmThLuVX0Pg==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.17.9", + "@babel/helper-member-expression-to-functions": "^7.17.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-create-regexp-features-plugin": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.12.tgz", + "integrity": "sha512-b2aZrV4zvutr9AIa6/gA3wsZKRwTKYoDxYiFKcESS3Ug2GTXzwBEvMuuFLhCQpEnRXs1zng4ISAXSUxxKBIcxw==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "regexpu-core": "^5.0.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-define-polyfill-provider": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.1.tgz", + "integrity": "sha512-J9hGMpJQmtWmj46B3kBHmL38UhJGhYX7eqkcq+2gsstyYt341HmPeWspihX43yVRA0mS+8GGk2Gckc7bY/HCmA==", + "dev": true, + "dependencies": { + "@babel/helper-compilation-targets": "^7.13.0", + "@babel/helper-module-imports": "^7.12.13", + "@babel/helper-plugin-utils": "^7.13.0", + "@babel/traverse": "^7.13.0", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2", + "semver": "^6.1.2" + }, + "peerDependencies": { + "@babel/core": "^7.4.0-0" + } + }, + "node_modules/@babel/helper-environment-visitor": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.2.tgz", + "integrity": "sha512-14GQKWkX9oJzPiQQ7/J36FTXcD4kSp8egKjO9nINlSKiHITRA9q/R74qu8S9xlc/b/yjsJItQUeeh3xnGN0voQ==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-explode-assignable-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz", + "integrity": "sha512-KyUenhWMC8VrxzkGP0Jizjo4/Zx+1nNZhgocs+gLzyZyB8SHidhoq9KK/8Ato4anhwsivfkBLftky7gvzbZMtQ==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-function-name": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", + "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", + "dev": true, + "dependencies": { + "@babel/template": "^7.16.7", + "@babel/types": "^7.17.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-hoist-variables": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", + "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.17.7", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.17.7.tgz", + "integrity": "sha512-thxXgnQ8qQ11W2wVUObIqDL4p148VMxkt5T/qpN5k2fboRyzFGFmKsTGViquyM5QHKUy48OZoca8kw4ajaDPyw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.17.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", + "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.0.tgz", + "integrity": "sha512-kclUYSUBIjlvnzN2++K9f2qzYKFgjmnmjwL4zlmU5f8ZtzgWe8s0rUPSTGy2HmK4P8T52MQsS+HTQAgZd3dMEA==", + "dev": true, + "dependencies": { + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-simple-access": "^7.17.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.18.0", + "@babel/types": "^7.18.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-optimise-call-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.7.tgz", + "integrity": "sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.17.12.tgz", + "integrity": "sha512-JDkf04mqtN3y4iAbO1hv9U2ARpPyPL1zqyWs/2WG1pgSq9llHFjStX5jdxb84himgJm+8Ng+x0oiWF/nw/XQKA==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-remap-async-to-generator": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.8.tgz", + "integrity": "sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-wrap-function": "^7.16.8", + "@babel/types": "^7.16.8" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-replace-supers": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.18.2.tgz", + "integrity": "sha512-XzAIyxx+vFnrOxiQrToSUOzUOn0e1J2Li40ntddek1Y69AXUTXoDJ40/D5RdjFu7s7qHiaeoTiempZcbuVXh2Q==", + "dev": true, + "dependencies": { + "@babel/helper-environment-visitor": "^7.18.2", + "@babel/helper-member-expression-to-functions": "^7.17.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/traverse": "^7.18.2", + "@babel/types": "^7.18.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-simple-access": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.18.2.tgz", + "integrity": "sha512-7LIrjYzndorDY88MycupkpQLKS1AFfsVRm2k/9PtKScSy5tZq0McZTj+DiMRynboZfIqOKvo03pmhTaUgiD6fQ==", + "dev": true, + "dependencies": { + "@babel/types": "^7.18.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz", + "integrity": "sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", + "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", + "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", + "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-wrap-function": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.16.8.tgz", + "integrity": "sha512-8RpyRVIAW1RcDDGTA+GpPAwV22wXCfKOoM9bet6TLkGIFTkRQSkH1nMQ5Yet4MpoXe1ZwHPVtNasc2w0uZMqnw==", + "dev": true, + "dependencies": { + "@babel/helper-function-name": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.16.8", + "@babel/types": "^7.16.8" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.2.tgz", + "integrity": "sha512-j+d+u5xT5utcQSzrh9p+PaJX94h++KN+ng9b9WEJq7pkUPAd61FGqhjuUEdfknb3E/uDBb7ruwEeKkIxNJPIrg==", + "dev": true, + "dependencies": { + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.18.2", + "@babel/types": "^7.18.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", + "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.16.7", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.18.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.4.tgz", + "integrity": "sha512-FDge0dFazETFcxGw/EXzOkN8uJp0PC7Qbm+Pe9T+av2zlBpOgunFHkQPPn+eRuClU73JF+98D531UgayY89tow==", + "dev": true, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.17.12.tgz", + "integrity": "sha512-xCJQXl4EeQ3J9C4yOmpTrtVGmzpm2iSzyxbkZHw7UCnZBftHpF/hpII80uWVyVrc40ytIClHjgWGTG1g/yB+aw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.17.12.tgz", + "integrity": "sha512-/vt0hpIw0x4b6BLKUkwlvEoiGZYYLNZ96CzyHYPbtG2jZGz6LBe7/V+drYrc/d+ovrF9NBi0pmtvmNb/FsWtRQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-proposal-optional-chaining": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.13.0" + } + }, + "node_modules/@babel/plugin-proposal-async-generator-functions": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.17.12.tgz", + "integrity": "sha512-RWVvqD1ooLKP6IqWTA5GyFVX2isGEgC5iFxKzfYOIy/QEFdxYyCybBDtIGjipHpb9bDWHzcqGqFakf+mVmBTdQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-remap-async-to-generator": "^7.16.8", + "@babel/plugin-syntax-async-generators": "^7.8.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-class-properties": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.17.12.tgz", + "integrity": "sha512-U0mI9q8pW5Q9EaTHFPwSVusPMV/DV9Mm8p7csqROFLtIE9rBF5piLqyrBGigftALrBcsBGu4m38JneAe7ZDLXw==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.17.12", + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-class-static-block": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.0.tgz", + "integrity": "sha512-t+8LsRMMDE74c6sV7KShIw13sqbqd58tlqNrsWoWBTIMw7SVQ0cZ905wLNS/FBCy/3PyooRHLFFlfrUNyyz5lA==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.18.0", + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/plugin-syntax-class-static-block": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0" + } + }, + "node_modules/@babel/plugin-proposal-dynamic-import": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.7.tgz", + "integrity": "sha512-I8SW9Ho3/8DRSdmDdH3gORdyUuYnk1m4cMxUAdu5oy4n3OfN8flDEH+d60iG7dUfi0KkYwSvoalHzzdRzpWHTg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-dynamic-import": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-export-namespace-from": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.17.12.tgz", + "integrity": "sha512-j7Ye5EWdwoXOpRmo5QmRyHPsDIe6+u70ZYZrd7uz+ebPYFKfRcLcNu3Ro0vOlJ5zuv8rU7xa+GttNiRzX56snQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-json-strings": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.17.12.tgz", + "integrity": "sha512-rKJ+rKBoXwLnIn7n6o6fulViHMrOThz99ybH+hKHcOZbnN14VuMnH9fo2eHE69C8pO4uX1Q7t2HYYIDmv8VYkg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/plugin-syntax-json-strings": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-logical-assignment-operators": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.17.12.tgz", + "integrity": "sha512-EqFo2s1Z5yy+JeJu7SFfbIUtToJTVlC61/C7WLKDntSw4Sz6JNAIfL7zQ74VvirxpjB5kz/kIx0gCcb+5OEo2Q==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-nullish-coalescing-operator": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.17.12.tgz", + "integrity": "sha512-ws/g3FSGVzv+VH86+QvgtuJL/kR67xaEIF2x0iPqdDfYW6ra6JF3lKVBkWynRLcNtIC1oCTfDRVxmm2mKzy+ag==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-numeric-separator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.7.tgz", + "integrity": "sha512-vQgPMknOIgiuVqbokToyXbkY/OmmjAzr/0lhSIbG/KmnzXPGwW/AdhdKpi+O4X/VkWiWjnkKOBiqJrTaC98VKw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-numeric-separator": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-object-rest-spread": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.0.tgz", + "integrity": "sha512-nbTv371eTrFabDfHLElkn9oyf9VG+VKK6WMzhY2o4eHKaG19BToD9947zzGMO6I/Irstx9d8CwX6njPNIAR/yw==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.17.10", + "@babel/helper-compilation-targets": "^7.17.10", + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-optional-catch-binding": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.7.tgz", + "integrity": "sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-optional-chaining": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.17.12.tgz", + "integrity": "sha512-7wigcOs/Z4YWlK7xxjkvaIw84vGhDv/P1dFGQap0nHkc8gFKY/r+hXc8Qzf5k1gY7CvGIcHqAnOagVKJJ1wVOQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-private-methods": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.17.12.tgz", + "integrity": "sha512-SllXoxo19HmxhDWm3luPz+cPhtoTSKLJE9PXshsfrOzBqs60QP0r8OaJItrPhAj0d7mZMnNF0Y1UUggCDgMz1A==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.17.12", + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-private-property-in-object": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.17.12.tgz", + "integrity": "sha512-/6BtVi57CJfrtDNKfK5b66ydK2J5pXUKBKSPD2G1whamMuEnZWgoOIfO8Vf9F/DoD4izBLD/Au4NMQfruzzykg==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-create-class-features-plugin": "^7.17.12", + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-unicode-property-regex": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.17.12.tgz", + "integrity": "sha512-Wb9qLjXf3ZazqXA7IvI7ozqRIXIGPtSo+L5coFmEkhTQK18ao4UDDD0zdTGAarmbLj2urpRwrc6893cu5Bfh0A==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.17.12", + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", + "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-dynamic-import": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", + "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-export-namespace-from": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", + "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-assertions": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.17.12.tgz", + "integrity": "sha512-n/loy2zkq9ZEM8tEOwON9wTQSTNDTDEz6NujPtJGLU7qObzT1N4c4YZZf8E6ATB2AjNQg/Ib2AIpO03EZaCehw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-arrow-functions": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.17.12.tgz", + "integrity": "sha512-PHln3CNi/49V+mza4xMwrg+WGYevSF1oaiXaC2EQfdp4HWlSjRsrDXWJiQBKpP7749u6vQ9mcry2uuFOv5CXvA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-async-to-generator": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.17.12.tgz", + "integrity": "sha512-J8dbrWIOO3orDzir57NRsjg4uxucvhby0L/KZuGsWDj0g7twWK3g7JhJhOrXtuXiw8MeiSdJ3E0OW9H8LYEzLQ==", + "dev": true, + "dependencies": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-remap-async-to-generator": "^7.16.8" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-block-scoped-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.7.tgz", + "integrity": "sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-block-scoping": { + "version": "7.18.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.4.tgz", + "integrity": "sha512-+Hq10ye+jlvLEogSOtq4mKvtk7qwcUQ1f0Mrueai866C82f844Yom2cttfJdMdqRLTxWpsbfbkIkOIfovyUQXw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-classes": { + "version": "7.18.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.18.4.tgz", + "integrity": "sha512-e42NSG2mlKWgxKUAD9EJJSkZxR67+wZqzNxLSpc51T8tRU5SLFHsPmgYR5yr7sdgX4u+iHA1C5VafJ6AyImV3A==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-environment-visitor": "^7.18.2", + "@babel/helper-function-name": "^7.17.9", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-replace-supers": "^7.18.2", + "@babel/helper-split-export-declaration": "^7.16.7", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-computed-properties": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.17.12.tgz", + "integrity": "sha512-a7XINeplB5cQUWMg1E/GI1tFz3LfK021IjV1rj1ypE+R7jHm+pIHmHl25VNkZxtx9uuYp7ThGk8fur1HHG7PgQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-destructuring": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.0.tgz", + "integrity": "sha512-Mo69klS79z6KEfrLg/1WkmVnB8javh75HX4pi2btjvlIoasuxilEyjtsQW6XPrubNd7AQy0MMaNIaQE4e7+PQw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-dotall-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.7.tgz", + "integrity": "sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-duplicate-keys": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.17.12.tgz", + "integrity": "sha512-EA5eYFUG6xeerdabina/xIoB95jJ17mAkR8ivx6ZSu9frKShBjpOGZPn511MTDTkiCO+zXnzNczvUM69YSf3Zw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-exponentiation-operator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.7.tgz", + "integrity": "sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA==", + "dev": true, + "dependencies": { + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-for-of": { + "version": "7.18.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.1.tgz", + "integrity": "sha512-+TTB5XwvJ5hZbO8xvl2H4XaMDOAK57zF4miuC9qQJgysPNEAZZ9Z69rdF5LJkozGdZrjBIUAIyKUWRMmebI7vg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-function-name": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.7.tgz", + "integrity": "sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA==", + "dev": true, + "dependencies": { + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-literals": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.17.12.tgz", + "integrity": "sha512-8iRkvaTjJciWycPIZ9k9duu663FT7VrBdNqNgxnVXEFwOIp55JWcZd23VBRySYbnS3PwQ3rGiabJBBBGj5APmQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-member-expression-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.7.tgz", + "integrity": "sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-amd": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.0.tgz", + "integrity": "sha512-h8FjOlYmdZwl7Xm2Ug4iX2j7Qy63NANI+NQVWQzv6r25fqgg7k2dZl03p95kvqNclglHs4FZ+isv4p1uXMA+QA==", + "dev": true, + "dependencies": { + "@babel/helper-module-transforms": "^7.18.0", + "@babel/helper-plugin-utils": "^7.17.12", + "babel-plugin-dynamic-import-node": "^2.3.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-commonjs": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.2.tgz", + "integrity": "sha512-f5A865gFPAJAEE0K7F/+nm5CmAE3y8AWlMBG9unu5j9+tk50UQVK0QS8RNxSp7MJf0wh97uYyLWt3Zvu71zyOQ==", + "dev": true, + "dependencies": { + "@babel/helper-module-transforms": "^7.18.0", + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-simple-access": "^7.18.2", + "babel-plugin-dynamic-import-node": "^2.3.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-systemjs": { + "version": "7.18.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.18.4.tgz", + "integrity": "sha512-lH2UaQaHVOAeYrUUuZ8i38o76J/FnO8vu21OE+tD1MyP9lxdZoSfz+pDbWkq46GogUrdrMz3tiz/FYGB+bVThg==", + "dev": true, + "dependencies": { + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-module-transforms": "^7.18.0", + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-validator-identifier": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-umd": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.0.tgz", + "integrity": "sha512-d/zZ8I3BWli1tmROLxXLc9A6YXvGK8egMxHp+E/rRwMh1Kip0AP77VwZae3snEJ33iiWwvNv2+UIIhfalqhzZA==", + "dev": true, + "dependencies": { + "@babel/helper-module-transforms": "^7.18.0", + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.17.12.tgz", + "integrity": "sha512-vWoWFM5CKaTeHrdUJ/3SIOTRV+MBVGybOC9mhJkaprGNt5demMymDW24yC74avb915/mIRe3TgNb/d8idvnCRA==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.17.12", + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-transform-new-target": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.17.12.tgz", + "integrity": "sha512-CaOtzk2fDYisbjAD4Sd1MTKGVIpRtx9bWLyj24Y/k6p4s4gQ3CqDGJauFJxt8M/LEx003d0i3klVqnN73qvK3w==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-object-super": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.7.tgz", + "integrity": "sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-parameters": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.17.12.tgz", + "integrity": "sha512-6qW4rWo1cyCdq1FkYri7AHpauchbGLXpdwnYsfxFb+KtddHENfsY5JZb35xUwkK5opOLcJ3BNd2l7PhRYGlwIA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-property-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.7.tgz", + "integrity": "sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-regenerator": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.0.tgz", + "integrity": "sha512-C8YdRw9uzx25HSIzwA7EM7YP0FhCe5wNvJbZzjVNHHPGVcDJ3Aie+qGYYdS1oVQgn+B3eAIJbWFLrJ4Jipv7nw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12", + "regenerator-transform": "^0.15.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-reserved-words": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.17.12.tgz", + "integrity": "sha512-1KYqwbJV3Co03NIi14uEHW8P50Md6KqFgt0FfpHdK6oyAHQVTosgPuPSiWud1HX0oYJ1hGRRlk0fP87jFpqXZA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-shorthand-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.7.tgz", + "integrity": "sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-spread": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.17.12.tgz", + "integrity": "sha512-9pgmuQAtFi3lpNUstvG9nGfk9DkrdmWNp9KeKPFmuZCpEnxRzYlS8JgwPjYj+1AWDOSvoGN0H30p1cBOmT/Svg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-sticky-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.7.tgz", + "integrity": "sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-template-literals": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.2.tgz", + "integrity": "sha512-/cmuBVw9sZBGZVOMkpAEaVLwm4JmK2GZ1dFKOGGpMzEHWFmyZZ59lUU0PdRr8YNYeQdNzTDwuxP2X2gzydTc9g==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-typeof-symbol": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.17.12.tgz", + "integrity": "sha512-Q8y+Jp7ZdtSPXCThB6zjQ74N3lj0f6TDh1Hnf5B+sYlzQ8i5Pjp8gW0My79iekSpT4WnI06blqP6DT0OmaXXmw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.17.12" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-escapes": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.7.tgz", + "integrity": "sha512-TAV5IGahIz3yZ9/Hfv35TV2xEm+kaBDaZQCn2S/hG9/CZ0DktxJv9eKfPc7yYCvOYR4JGx1h8C+jcSOvgaaI/Q==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.7.tgz", + "integrity": "sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/preset-env": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.2.tgz", + "integrity": "sha512-PfpdxotV6afmXMU47S08F9ZKIm2bJIQ0YbAAtDfIENX7G1NUAXigLREh69CWDjtgUy7dYn7bsMzkgdtAlmS68Q==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.17.10", + "@babel/helper-compilation-targets": "^7.18.2", + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-validator-option": "^7.16.7", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.17.12", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.17.12", + "@babel/plugin-proposal-async-generator-functions": "^7.17.12", + "@babel/plugin-proposal-class-properties": "^7.17.12", + "@babel/plugin-proposal-class-static-block": "^7.18.0", + "@babel/plugin-proposal-dynamic-import": "^7.16.7", + "@babel/plugin-proposal-export-namespace-from": "^7.17.12", + "@babel/plugin-proposal-json-strings": "^7.17.12", + "@babel/plugin-proposal-logical-assignment-operators": "^7.17.12", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.17.12", + "@babel/plugin-proposal-numeric-separator": "^7.16.7", + "@babel/plugin-proposal-object-rest-spread": "^7.18.0", + "@babel/plugin-proposal-optional-catch-binding": "^7.16.7", + "@babel/plugin-proposal-optional-chaining": "^7.17.12", + "@babel/plugin-proposal-private-methods": "^7.17.12", + "@babel/plugin-proposal-private-property-in-object": "^7.17.12", + "@babel/plugin-proposal-unicode-property-regex": "^7.17.12", + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3", + "@babel/plugin-syntax-import-assertions": "^7.17.12", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5", + "@babel/plugin-transform-arrow-functions": "^7.17.12", + "@babel/plugin-transform-async-to-generator": "^7.17.12", + "@babel/plugin-transform-block-scoped-functions": "^7.16.7", + "@babel/plugin-transform-block-scoping": "^7.17.12", + "@babel/plugin-transform-classes": "^7.17.12", + "@babel/plugin-transform-computed-properties": "^7.17.12", + "@babel/plugin-transform-destructuring": "^7.18.0", + "@babel/plugin-transform-dotall-regex": "^7.16.7", + "@babel/plugin-transform-duplicate-keys": "^7.17.12", + "@babel/plugin-transform-exponentiation-operator": "^7.16.7", + "@babel/plugin-transform-for-of": "^7.18.1", + "@babel/plugin-transform-function-name": "^7.16.7", + "@babel/plugin-transform-literals": "^7.17.12", + "@babel/plugin-transform-member-expression-literals": "^7.16.7", + "@babel/plugin-transform-modules-amd": "^7.18.0", + "@babel/plugin-transform-modules-commonjs": "^7.18.2", + "@babel/plugin-transform-modules-systemjs": "^7.18.0", + "@babel/plugin-transform-modules-umd": "^7.18.0", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.17.12", + "@babel/plugin-transform-new-target": "^7.17.12", + "@babel/plugin-transform-object-super": "^7.16.7", + "@babel/plugin-transform-parameters": "^7.17.12", + "@babel/plugin-transform-property-literals": "^7.16.7", + "@babel/plugin-transform-regenerator": "^7.18.0", + "@babel/plugin-transform-reserved-words": "^7.17.12", + "@babel/plugin-transform-shorthand-properties": "^7.16.7", + "@babel/plugin-transform-spread": "^7.17.12", + "@babel/plugin-transform-sticky-regex": "^7.16.7", + "@babel/plugin-transform-template-literals": "^7.18.2", + "@babel/plugin-transform-typeof-symbol": "^7.17.12", + "@babel/plugin-transform-unicode-escapes": "^7.16.7", + "@babel/plugin-transform-unicode-regex": "^7.16.7", + "@babel/preset-modules": "^0.1.5", + "@babel/types": "^7.18.2", + "babel-plugin-polyfill-corejs2": "^0.3.0", + "babel-plugin-polyfill-corejs3": "^0.5.0", + "babel-plugin-polyfill-regenerator": "^0.3.0", + "core-js-compat": "^3.22.1", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/preset-modules": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz", + "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", + "@babel/plugin-transform-dotall-regex": "^7.4.4", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.3.tgz", + "integrity": "sha512-38Y8f7YUhce/K7RMwTp7m0uCumpv9hZkitCbBClqQIow1qSbCvGkcegKOXpEWCQLfWmevgRiWokZ1GkpfhbZug==", + "dev": true, + "dependencies": { + "regenerator-runtime": "^0.13.4" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/template": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", + "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.16.7", + "@babel/parser": "^7.16.7", + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.2.tgz", + "integrity": "sha512-9eNwoeovJ6KH9zcCNnENY7DMFwTU9JdGCFtqNLfUAqtUHRCOsTOqWoffosP8vKmNYeSBUv3yVJXjfd8ucwOjUA==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.18.2", + "@babel/helper-environment-visitor": "^7.18.2", + "@babel/helper-function-name": "^7.17.9", + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/parser": "^7.18.0", + "@babel/types": "^7.18.2", + "debug": "^4.1.0", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.18.4", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.4.tgz", + "integrity": "sha512-ThN1mBcMq5pG/Vm2IcBmPPfyPXbd8S02rS+OBIDENdufvqC7Z/jHPCv9IcP01277aKtDI8g/2XysBN4hA8niiw==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.16.7", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", + "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", + "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.0", + "@jridgewell/sourcemap-codec": "^1.4.10" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz", + "integrity": "sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.1.tgz", + "integrity": "sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/source-map": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.2.tgz", + "integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + } + }, + "node_modules/@jridgewell/source-map/node_modules/@jridgewell/gen-mapping": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", + "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", + "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.13", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz", + "integrity": "sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==", + "dev": true + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.13.tgz", + "integrity": "sha512-o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@koa/cors": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/@koa/cors/-/cors-3.3.0.tgz", + "integrity": "sha512-lzlkqLlL5Ond8jb6JLnVVDmD2OPym0r5kvZlMgAWiS9xle+Q5ulw1T358oW+RVguxUkANquZQz82i/STIRmsqQ==", + "dev": true, + "dependencies": { + "vary": "^1.1.2" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/@lit/reactive-element": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-1.3.2.tgz", + "integrity": "sha512-A2e18XzPMrIh35nhIdE4uoqRzoIpEU5vZYuQN4S3Ee1zkGdYC27DP12pewbw/RLgPHzaE4kx/YqxMzebOpm0dA==" + }, + "node_modules/@open-wc/building-utils": { + "version": "2.18.4", + "resolved": "https://registry.npmjs.org/@open-wc/building-utils/-/building-utils-2.18.4.tgz", + "integrity": "sha512-wjNp9oE1SFsiBEqaI67ff60KHDpDbGMNF+82pvCHe412SFY4q8DNy8A+hesj1nZsuZHH1/olDfzBDbYKAnmgMg==", + "dev": true, + "dependencies": { + "@babel/core": "^7.11.1", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@webcomponents/shadycss": "^1.10.2", + "@webcomponents/webcomponentsjs": "^2.5.0", + "arrify": "^2.0.1", + "browserslist": "^4.16.0", + "chokidar": "^3.4.3", + "clean-css": "^4.2.3", + "clone": "^2.1.2", + "core-js-bundle": "^3.8.1", + "deepmerge": "^4.2.2", + "es-module-shims": "^0.4.7", + "html-minifier-terser": "^5.1.1", + "lru-cache": "^5.1.1", + "minimatch": "^3.0.4", + "parse5": "^5.1.1", + "path-is-inside": "^1.0.2", + "regenerator-runtime": "^0.13.7", + "resolve": "^1.19.0", + "rimraf": "^3.0.2", + "shady-css-scoped-element": "^0.0.2", + "systemjs": "^6.8.3", + "terser": "^4.6.7", + "valid-url": "^1.0.9", + "whatwg-fetch": "^3.5.0", + "whatwg-url": "^7.1.0" + } + }, + "node_modules/@rollup/plugin-node-resolve": { + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.0.0.tgz", + "integrity": "sha512-iwJbzfTzlzDDQcGmkS7EkCKwe2kSkdBrjX87Fy/KrNjr6UNnLpod0t6X66e502LRe5JJCA4FFqrEscWPnZAkig==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^4.2.1", + "@types/resolve": "1.20.2", + "deepmerge": "^4.2.2", + "is-builtin-module": "^3.2.0", + "is-module": "^1.0.0", + "resolve": "^1.22.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "rollup": "^2.78.0||^3.0.0" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } + } + }, + "node_modules/@rollup/plugin-node-resolve/node_modules/@rollup/pluginutils": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", + "integrity": "sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==", + "dev": true, + "dependencies": { + "estree-walker": "^2.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/@rollup/plugin-node-resolve/node_modules/estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "dev": true + }, + "node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@types/accepts": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/accepts/-/accepts-1.3.5.tgz", + "integrity": "sha512-jOdnI/3qTpHABjM5cx1Hc0sKsPoYCp+DP/GJRGtDlPd7fiV9oXGGIcjW/ZOxLIvjGz8MA+uMZI9metHlgqbgwQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/babel__core": { + "version": "7.1.19", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.19.tgz", + "integrity": "sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz", + "integrity": "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz", + "integrity": "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.17.1", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.17.1.tgz", + "integrity": "sha512-kVzjari1s2YVi77D3w1yuvohV2idweYXMCDzqBiVNN63TcDWrIlTVOYpqVrvbbyOE/IyzBoTKF0fdnLPEORFxA==", + "dev": true, + "dependencies": { + "@babel/types": "^7.3.0" + } + }, + "node_modules/@types/body-parser": { + "version": "1.19.2", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", + "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==", + "dev": true, + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "node_modules/@types/browserslist": { + "version": "4.15.0", + "resolved": "https://registry.npmjs.org/@types/browserslist/-/browserslist-4.15.0.tgz", + "integrity": "sha512-h9LyKErRGZqMsHh9bd+FE8yCIal4S0DxKTOeui56VgVXqa66TKiuaIUxCAI7c1O0LjaUzOTcsMyOpO9GetozRA==", + "deprecated": "This is a stub types definition. browserslist provides its own type definitions, so you do not need this installed.", + "dev": true, + "dependencies": { + "browserslist": "*" + } + }, + "node_modules/@types/browserslist-useragent": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/browserslist-useragent/-/browserslist-useragent-3.0.4.tgz", + "integrity": "sha512-S/AhrluMHi8EcuxxCtTDBGr8u+XvwUfLvZdARuIS2LFZ/lHoeaeJJYCozD68GKH6wm52FbIHq4WWPF/Ec6a9qA==", + "dev": true + }, + "node_modules/@types/caniuse-api": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/caniuse-api/-/caniuse-api-3.0.2.tgz", + "integrity": "sha512-YfCDMn7R59n7GFFfwjPAM0zLJQy4UvveC32rOJBmTqJJY8uSRqM4Dc7IJj8V9unA48Qy4nj5Bj3jD6Q8VZ1Seg==", + "dev": true + }, + "node_modules/@types/clean-css": { + "version": "4.2.6", + "resolved": "https://registry.npmjs.org/@types/clean-css/-/clean-css-4.2.6.tgz", + "integrity": "sha512-Ze1tf+LnGPmG6hBFMi0B4TEB0mhF7EiMM5oyjLDNPE9hxrPU0W+5+bHvO+eFPA+bt0iC1zkQMoU/iGdRVjcRbw==", + "dev": true, + "dependencies": { + "@types/node": "*", + "source-map": "^0.6.0" + } + }, + "node_modules/@types/command-line-args": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@types/command-line-args/-/command-line-args-5.2.0.tgz", + "integrity": "sha512-UuKzKpJJ/Ief6ufIaIzr3A/0XnluX7RvFgwkV89Yzvm77wCh1kFaFmqN8XEnGcN62EuHdedQjEMb8mYxFLGPyA==", + "dev": true + }, + "node_modules/@types/command-line-usage": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@types/command-line-usage/-/command-line-usage-5.0.2.tgz", + "integrity": "sha512-n7RlEEJ+4x4TS7ZQddTmNSxP+zziEG0TNsMfiRIxcIVXt71ENJ9ojeXmGO3wPoTdn7pJcU2xc3CJYMktNT6DPg==", + "dev": true + }, + "node_modules/@types/connect": { + "version": "3.4.35", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", + "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/content-disposition": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/@types/content-disposition/-/content-disposition-0.5.5.tgz", + "integrity": "sha512-v6LCdKfK6BwcqMo+wYW05rLS12S0ZO0Fl4w1h4aaZMD7bqT3gVUns6FvLJKGZHQmYn3SX55JWGpziwJRwVgutA==", + "dev": true + }, + "node_modules/@types/cookies": { + "version": "0.7.7", + "resolved": "https://registry.npmjs.org/@types/cookies/-/cookies-0.7.7.tgz", + "integrity": "sha512-h7BcvPUogWbKCzBR2lY4oqaZbO3jXZksexYJVFvkrFeLgbZjQkU4x8pRq6eg2MHXQhY0McQdqmmsxRWlVAHooA==", + "dev": true, + "dependencies": { + "@types/connect": "*", + "@types/express": "*", + "@types/keygrip": "*", + "@types/node": "*" + } + }, + "node_modules/@types/debounce": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@types/debounce/-/debounce-1.2.1.tgz", + "integrity": "sha512-epMsEE85fi4lfmJUH/89/iV/LI+F5CvNIvmgs5g5jYFPfhO2S/ae8WSsLOKWdwtoaZw9Q2IhJ4tQ5tFCcS/4HA==", + "dev": true + }, + "node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "node_modules/@types/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/@types/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-bsKkeSqN7HYyYntFRAmzcwx/dKW4Wa+KVMTInANlI72PWLQmOpZu96j0OqHZGArW4VQwCmJPteQlXaUDeOB0WQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/express": { + "version": "4.17.13", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.13.tgz", + "integrity": "sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA==", + "dev": true, + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.18", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "node_modules/@types/express-serve-static-core": { + "version": "4.17.28", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.28.tgz", + "integrity": "sha512-P1BJAEAW3E2DJUlkgq4tOL3RyMunoWXqbSCygWo5ZIWTjUgN1YnaXWW4VWl/oc8vs/XoYibEGBKP0uZyF4AHig==", + "dev": true, + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "node_modules/@types/html-minifier": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/@types/html-minifier/-/html-minifier-3.5.3.tgz", + "integrity": "sha512-j1P/4PcWVVCPEy5lofcHnQ6BtXz9tHGiFPWzqm7TtGuWZEfCHEP446HlkSNc9fQgNJaJZ6ewPtp2aaFla/Uerg==", + "dev": true, + "dependencies": { + "@types/clean-css": "*", + "@types/relateurl": "*", + "@types/uglify-js": "*" + } + }, + "node_modules/@types/http-assert": { + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/@types/http-assert/-/http-assert-1.5.3.tgz", + "integrity": "sha512-FyAOrDuQmBi8/or3ns4rwPno7/9tJTijVW6aQQjK02+kOQ8zmoNg2XJtAuQhvQcy1ASJq38wirX5//9J1EqoUA==", + "dev": true + }, + "node_modules/@types/http-errors": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-1.8.2.tgz", + "integrity": "sha512-EqX+YQxINb+MeXaIqYDASb6U6FCHbWjkj4a1CKDBks3d/QiB2+PqBLyO72vLDgAO1wUI4O+9gweRcQK11bTL/w==", + "dev": true + }, + "node_modules/@types/keygrip": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@types/keygrip/-/keygrip-1.0.2.tgz", + "integrity": "sha512-GJhpTepz2udxGexqos8wgaBx4I/zWIDPh/KOGEwAqtuGDkOUJu5eFvwmdBX4AmB8Odsr+9pHCQqiAqDL/yKMKw==", + "dev": true + }, + "node_modules/@types/koa": { + "version": "2.13.4", + "resolved": "https://registry.npmjs.org/@types/koa/-/koa-2.13.4.tgz", + "integrity": "sha512-dfHYMfU+z/vKtQB7NUrthdAEiSvnLebvBjwHtfFmpZmB7em2N3WVQdHgnFq+xvyVgxW5jKDmjWfLD3lw4g4uTw==", + "dev": true, + "dependencies": { + "@types/accepts": "*", + "@types/content-disposition": "*", + "@types/cookies": "*", + "@types/http-assert": "*", + "@types/http-errors": "*", + "@types/keygrip": "*", + "@types/koa-compose": "*", + "@types/node": "*" + } + }, + "node_modules/@types/koa__cors": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/@types/koa__cors/-/koa__cors-3.3.0.tgz", + "integrity": "sha512-FUN8YxcBakIs+walVe3+HcNP+Bxd0SB8BJHBWkglZ5C1XQWljlKcEFDG/dPiCIqwVCUbc5X0nYDlH62uEhdHMA==", + "dev": true, + "dependencies": { + "@types/koa": "*" + } + }, + "node_modules/@types/koa-compose": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/@types/koa-compose/-/koa-compose-3.2.5.tgz", + "integrity": "sha512-B8nG/OoE1ORZqCkBVsup/AKcvjdgoHnfi4pZMn5UwAPCbhk/96xyv284eBYW8JlQbQ7zDmnpFr68I/40mFoIBQ==", + "dev": true, + "dependencies": { + "@types/koa": "*" + } + }, + "node_modules/@types/koa-compress": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@types/koa-compress/-/koa-compress-2.0.9.tgz", + "integrity": "sha512-1Sa9OsbHd2N2N7gLpdIRHe8W99EZbfIR31D7Iisx16XgwZCnWUtGXzXQejhu74Y1pE/wILqBP6VL49ch/MVpZw==", + "dev": true, + "dependencies": { + "@types/koa": "*", + "@types/node": "*" + } + }, + "node_modules/@types/koa-etag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/koa-etag/-/koa-etag-3.0.0.tgz", + "integrity": "sha512-gXQUtKGEnCy0sZLG+uE3wL4mvY1CBPcb6ECjpAoD8RGYy/8ACY1B084k8LTFPIdVcmy7GD6Y4n3up3jnupofcQ==", + "dev": true, + "dependencies": { + "@types/etag": "*", + "@types/koa": "*" + } + }, + "node_modules/@types/koa-send": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@types/koa-send/-/koa-send-4.1.3.tgz", + "integrity": "sha512-daaTqPZlgjIJycSTNjKpHYuKhXYP30atFc1pBcy6HHqB9+vcymDgYTguPdx9tO4HMOqNyz6bz/zqpxt5eLR+VA==", + "dev": true, + "dependencies": { + "@types/koa": "*" + } + }, + "node_modules/@types/koa-static": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/koa-static/-/koa-static-4.0.2.tgz", + "integrity": "sha512-ns/zHg+K6XVPMuohjpOlpkR1WLa4VJ9czgUP9bxkCDn0JZBtUWbD/wKDZzPGDclkQK1bpAEScufCHOy8cbfL0w==", + "dev": true, + "dependencies": { + "@types/koa": "*", + "@types/koa-send": "*" + } + }, + "node_modules/@types/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@types/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw==", + "dev": true + }, + "node_modules/@types/mime": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", + "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==", + "dev": true + }, + "node_modules/@types/mime-types": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@types/mime-types/-/mime-types-2.1.1.tgz", + "integrity": "sha512-vXOTGVSLR2jMw440moWTC7H19iUyLtP3Z1YTj7cSsubOICinjMxFeb/V57v9QdyyPGbbWolUFSSmSiRSn94tFw==", + "dev": true + }, + "node_modules/@types/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", + "dev": true + }, + "node_modules/@types/node": { + "version": "17.0.42", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.42.tgz", + "integrity": "sha512-Q5BPGyGKcvQgAMbsr7qEGN/kIPN6zZecYYABeTDBizOsau+2NMdSVTar9UQw21A2+JyA2KRNDYaYrPB0Rpk2oQ==", + "dev": true + }, + "node_modules/@types/parse5": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/@types/parse5/-/parse5-6.0.3.tgz", + "integrity": "sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==", + "dev": true + }, + "node_modules/@types/path-is-inside": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/path-is-inside/-/path-is-inside-1.0.0.tgz", + "integrity": "sha512-hfnXRGugz+McgX2jxyy5qz9sB21LRzlGn24zlwN2KEgoPtEvjzNRrLtUkOOebPDPZl3Rq7ywKxYvylVcEZDnEw==", + "dev": true + }, + "node_modules/@types/qs": { + "version": "6.9.7", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", + "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==", + "dev": true + }, + "node_modules/@types/range-parser": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz", + "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==", + "dev": true + }, + "node_modules/@types/relateurl": { + "version": "0.2.29", + "resolved": "https://registry.npmjs.org/@types/relateurl/-/relateurl-0.2.29.tgz", + "integrity": "sha512-QSvevZ+IRww2ldtfv1QskYsqVVVwCKQf1XbwtcyyoRvLIQzfyPhj/C+3+PKzSDRdiyejaiLgnq//XTkleorpLg==", + "dev": true + }, + "node_modules/@types/resolve": { + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.20.2.tgz", + "integrity": "sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==", + "dev": true + }, + "node_modules/@types/serve-static": { + "version": "1.13.10", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.10.tgz", + "integrity": "sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==", + "dev": true, + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "node_modules/@types/trusted-types": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.2.tgz", + "integrity": "sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg==" + }, + "node_modules/@types/uglify-js": { + "version": "3.17.0", + "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.17.0.tgz", + "integrity": "sha512-3HO6rm0y+/cqvOyA8xcYLweF0TKXlAxmQASjbOi49Co51A1N4nR4bEwBgRoD9kNM+rqFGArjKr654SLp2CoGmQ==", + "dev": true, + "dependencies": { + "source-map": "^0.6.1" + } + }, + "node_modules/@types/whatwg-url": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-6.4.0.tgz", + "integrity": "sha512-tonhlcbQ2eho09am6RHnHOgvtDfDYINd5rgxD+2YSkKENooVCFsWizJz139MQW/PV8FfClyKrNe9ZbdHrSCxGg==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@web/parse5-utils": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@web/parse5-utils/-/parse5-utils-1.3.0.tgz", + "integrity": "sha512-Pgkx3ECc8EgXSlS5EyrgzSOoUbM6P8OKS471HLAyvOBcP1NCBn0to4RN/OaKASGq8qa3j+lPX9H14uA5AHEnQg==", + "dev": true, + "dependencies": { + "@types/parse5": "^6.0.1", + "parse5": "^6.0.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/@web/parse5-utils/node_modules/parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "dev": true + }, + "node_modules/@web/rollup-plugin-copy": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@web/rollup-plugin-copy/-/rollup-plugin-copy-0.3.0.tgz", + "integrity": "sha512-QNNtE7Svhk0/p21etaR0JQXYhlMgTAg/HmRXDMmQHMf3uOUWsWMGiJa96P49RRVJut1ECB5FDFeBUgFEmegysQ==", + "dev": true, + "dependencies": { + "glob": "^7.1.6" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/@web/rollup-plugin-html": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@web/rollup-plugin-html/-/rollup-plugin-html-1.11.0.tgz", + "integrity": "sha512-EqUcV5plGYTV/utdbX8g5t8Yq/z6VfFuQuPD39ckOQuRj7Rj6HD15FHwLHpFAWOR0+GrDnNzR74RvI4ipGm0qQ==", + "dev": true, + "dependencies": { + "@web/parse5-utils": "^1.3.0", + "glob": "^7.1.6", + "html-minifier-terser": "^6.0.0", + "parse5": "^6.0.1" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@web/rollup-plugin-html/node_modules/clean-css": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.1.tgz", + "integrity": "sha512-lCr8OHhiWCTw4v8POJovCoh4T7I9U11yVsPjMWWnnMmp9ZowCxyad1Pathle/9HjaDp+fdQKjO9fQydE6RHTZg==", + "dev": true, + "dependencies": { + "source-map": "~0.6.0" + }, + "engines": { + "node": ">= 10.0" + } + }, + "node_modules/@web/rollup-plugin-html/node_modules/commander": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "dev": true, + "engines": { + "node": ">= 12" + } + }, + "node_modules/@web/rollup-plugin-html/node_modules/html-minifier-terser": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz", + "integrity": "sha512-YXxSlJBZTP7RS3tWnQw74ooKa6L9b9i9QYXY21eUEvhZ3u9XLfv6OnFsQq6RxkhHygsaUMvYsZRV5rU/OVNZxw==", + "dev": true, + "dependencies": { + "camel-case": "^4.1.2", + "clean-css": "^5.2.2", + "commander": "^8.3.0", + "he": "^1.2.0", + "param-case": "^3.0.4", + "relateurl": "^0.2.7", + "terser": "^5.10.0" + }, + "bin": { + "html-minifier-terser": "cli.js" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@web/rollup-plugin-html/node_modules/parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "dev": true + }, + "node_modules/@web/rollup-plugin-html/node_modules/terser": { + "version": "5.15.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.15.1.tgz", + "integrity": "sha512-K1faMUvpm/FBxjBXud0LWVAGxmvoPbZbfTCYbSgaaYQaIXI3/TdI7a7ZGA73Zrou6Q8Zmz3oeUTsp/dj+ag2Xw==", + "dev": true, + "dependencies": { + "@jridgewell/source-map": "^0.3.2", + "acorn": "^8.5.0", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@web/rollup-plugin-html/node_modules/terser/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/@webcomponents/shadycss": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webcomponents/shadycss/-/shadycss-1.11.0.tgz", + "integrity": "sha512-L5O/+UPum8erOleNjKq6k58GVl3fNsEQdSOyh0EUhNmi7tHUyRuCJy1uqJiWydWcLARE5IPsMoPYMZmUGrz1JA==", + "dev": true + }, + "node_modules/@webcomponents/webcomponentsjs": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@webcomponents/webcomponentsjs/-/webcomponentsjs-2.6.0.tgz", + "integrity": "sha512-Moog+Smx3ORTbWwuPqoclr+uvfLnciVd6wdCaVscHPrxbmQ/IJKm3wbB7hpzJtXWjAq2l/6QMlO85aZiOdtv5Q==", + "dev": true + }, + "node_modules/abortcontroller-polyfill": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.3.tgz", + "integrity": "sha512-zetDJxd89y3X99Kvo4qFx8GKlt6GsvN3UcRZHwU6iFA/0KiOmhkTVhe8oRoTBiTVPZu09x3vCra47+w8Yz1+2Q==", + "dev": true + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dev": true, + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/acorn": { + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/ansi-regex": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true + }, + "node_modules/anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/array-back": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", + "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/arrify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", + "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/async": { + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", + "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", + "dev": true, + "dependencies": { + "lodash": "^4.17.14" + } + }, + "node_modules/babel-plugin-dynamic-import-node": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", + "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", + "dev": true, + "dependencies": { + "object.assign": "^4.1.0" + } + }, + "node_modules/babel-plugin-polyfill-corejs2": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.1.tgz", + "integrity": "sha512-v7/T6EQcNfVLfcN2X8Lulb7DjprieyLWJK/zOWH5DUYcAgex9sP3h25Q+DLsX9TloXe3y1O8l2q2Jv9q8UVB9w==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.13.11", + "@babel/helper-define-polyfill-provider": "^0.3.1", + "semver": "^6.1.1" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/babel-plugin-polyfill-corejs3": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.2.tgz", + "integrity": "sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ==", + "dev": true, + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.3.1", + "core-js-compat": "^3.21.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/babel-plugin-polyfill-regenerator": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.1.tgz", + "integrity": "sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A==", + "dev": true, + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.3.1" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/brotli-size": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/brotli-size/-/brotli-size-4.0.0.tgz", + "integrity": "sha512-uA9fOtlTRC0iqKfzff1W34DXUA3GyVqbUaeo3Rw3d4gd1eavKVCETXrn3NzO74W+UVkG3UHu8WxUi+XvKI/huA==", + "dev": true, + "dependencies": { + "duplexer": "0.1.1" + }, + "engines": { + "node": ">= 10.16.0" + } + }, + "node_modules/browserslist": { + "version": "4.20.4", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.4.tgz", + "integrity": "sha512-ok1d+1WpnU24XYN7oC3QWgTyMhY/avPJ/r9T00xxvUOIparA/gc+UPUMaod3i+G6s+nI2nUb9xZ5k794uIwShw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001349", + "electron-to-chromium": "^1.4.147", + "escalade": "^3.1.1", + "node-releases": "^2.0.5", + "picocolors": "^1.0.0" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/browserslist-useragent": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/browserslist-useragent/-/browserslist-useragent-3.1.4.tgz", + "integrity": "sha512-o9V55790uae98Kwn+vwyO+ww07OreiH1BUc9bjjlUbIL3Fh43fyoasZxZ2EiI4ErfEIKwbycQ1pvwOBlySJ7ow==", + "dev": true, + "dependencies": { + "browserslist": "^4.19.1", + "electron-to-chromium": "^1.4.67", + "semver": "^7.3.5", + "useragent": "^2.3.0", + "yamlparser": "^0.0.2" + }, + "engines": { + "node": ">= 6.x.x" + } + }, + "node_modules/browserslist-useragent/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/browserslist-useragent/node_modules/semver": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/browserslist-useragent/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true + }, + "node_modules/builtin-modules": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", + "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", + "dev": true, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/cache-content-type": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-content-type/-/cache-content-type-1.0.1.tgz", + "integrity": "sha512-IKufZ1o4Ut42YUrZSo8+qnMTrFuKkvyoLXUywKz9GJ5BrhOFGhLdkx9sG4KAnVvbY6kEcSFjLQul+DVmBm2bgA==", + "dev": true, + "dependencies": { + "mime-types": "^2.1.18", + "ylru": "^1.2.0" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/camel-case": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz", + "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==", + "dev": true, + "dependencies": { + "pascal-case": "^3.1.2", + "tslib": "^2.0.3" + } + }, + "node_modules/camel-case/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "dev": true + }, + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/caniuse-api": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz", + "integrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==", + "dev": true, + "dependencies": { + "browserslist": "^4.0.0", + "caniuse-lite": "^1.0.0", + "lodash.memoize": "^4.1.2", + "lodash.uniq": "^4.5.0" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001352", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001352.tgz", + "integrity": "sha512-GUgH8w6YergqPQDGWhJGt8GDRnY0L/iJVQcU3eJ46GYf52R8tk0Wxp0PymuFVZboJYXGiCqwozAYZNRjVj6IcA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + } + ] + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/clean-css": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.4.tgz", + "integrity": "sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A==", + "dev": true, + "dependencies": { + "source-map": "~0.6.0" + }, + "engines": { + "node": ">= 4.0" + } + }, + "node_modules/cli-table3": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.3.tgz", + "integrity": "sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0" + }, + "engines": { + "node": "10.* || >= 12.*" + }, + "optionalDependencies": { + "@colors/colors": "1.5.0" + } + }, + "node_modules/clone": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", + "integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==", + "dev": true, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", + "dev": true, + "engines": { + "iojs": ">= 1.0.0", + "node": ">= 0.12.0" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "node_modules/command-line-args": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.2.1.tgz", + "integrity": "sha512-H4UfQhZyakIjC74I9d34fGYDwk3XpSr17QhEd0Q3I9Xq1CETHo4Hcuo87WyWHpAF1aSLjLRf5lD9ZGX2qStUvg==", + "dev": true, + "dependencies": { + "array-back": "^3.1.0", + "find-replace": "^3.0.0", + "lodash.camelcase": "^4.3.0", + "typical": "^4.0.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/command-line-usage": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-6.1.3.tgz", + "integrity": "sha512-sH5ZSPr+7UStsloltmDh7Ce5fb8XPlHyoPzTpyyMuYCtervL65+ubVZ6Q61cFtFl62UyJlc8/JwERRbAFPUqgw==", + "dev": true, + "dependencies": { + "array-back": "^4.0.2", + "chalk": "^2.4.2", + "table-layout": "^1.0.2", + "typical": "^5.2.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/command-line-usage/node_modules/array-back": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.2.tgz", + "integrity": "sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/command-line-usage/node_modules/typical": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", + "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/compressible": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", + "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", + "dev": true, + "dependencies": { + "mime-db": ">= 1.43.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dev": true, + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-disposition/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/convert-source-map": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", + "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.1.1" + } + }, + "node_modules/cookies": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/cookies/-/cookies-0.8.0.tgz", + "integrity": "sha512-8aPsApQfebXnuI+537McwYsDtjVxGm8gTIzQI3FDW6t5t/DAhERxtnbEPN/8RX+uZthoz4eCOgloXaE5cYyNow==", + "dev": true, + "dependencies": { + "depd": "~2.0.0", + "keygrip": "~1.1.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/core-js-bundle": { + "version": "3.22.8", + "resolved": "https://registry.npmjs.org/core-js-bundle/-/core-js-bundle-3.22.8.tgz", + "integrity": "sha512-Q99g5q/MqLRk3QaouZWCVs9Vfy51iKS1h5icZ73bGFOHEBk8Mx721qPcRIBR3G93sCu1WPneIugdu5kDKrBErg==", + "dev": true, + "hasInstallScript": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/core-js-compat": { + "version": "3.22.8", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.22.8.tgz", + "integrity": "sha512-pQnwg4xtuvc2Bs/5zYQPaEYYSuTxsF7LBWF0SvnVhthZo/Qe+rJpcEekrdNK5DWwDJ0gv0oI9NNX5Mppdy0ctg==", + "dev": true, + "dependencies": { + "browserslist": "^4.20.3", + "semver": "7.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/core-js-compat/node_modules/semver": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", + "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/debounce": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/debounce/-/debounce-1.2.1.tgz", + "integrity": "sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==", + "dev": true + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-equal": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", + "integrity": "sha512-bHtC0iYvWhyaTzvV3CZgPeZQqCOBGyGsVV7v4eevpdkLHfiSrXUdBG+qAuSz4RI70sszvjQ1QSZ98An1yNwpSw==", + "dev": true + }, + "node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/define-properties": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", + "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", + "dev": true, + "dependencies": { + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==", + "dev": true + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "dev": true, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/dot-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/dot-case/-/dot-case-3.0.4.tgz", + "integrity": "sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==", + "dev": true, + "dependencies": { + "no-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "node_modules/dot-case/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "dev": true + }, + "node_modules/duplexer": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", + "integrity": "sha512-sxNZ+ljy+RA1maXoUReeqBBpBC6RLKmg5ewzV+x+mSETmWNoKdZN6vcQjpFROemza23hGFskJtFNoUWUaQ+R4Q==", + "dev": true + }, + "node_modules/dynamic-import-polyfill": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/dynamic-import-polyfill/-/dynamic-import-polyfill-0.1.1.tgz", + "integrity": "sha512-m953zv0w5oDagTItWm6Auhmk/pY7EiejaqiVbnzSS3HIjh1FCUeK7WzuaVtWPNs58A+/xpIE+/dVk6pKsrua8g==", + "dev": true + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "dev": true + }, + "node_modules/electron-to-chromium": { + "version": "1.4.152", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.152.tgz", + "integrity": "sha512-jk4Ju5SGZAQQJ1iI4Rgru7dDlvkQPLpNPWH9gIZmwCD4YteA5Bbk1xPcPDUf5jUYs3e1e80RXdi8XgKQZaigeg==", + "dev": true + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/es-dev-server": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-dev-server/-/es-dev-server-2.1.0.tgz", + "integrity": "sha512-Vrq/4PyMzWz33QmOdSncvoWLTJVcv2e96z8FLHQwP9zK7DyLeDZCckII8VTW+btUGtM7aErvLH/d/R2pjjjs8w==", + "dev": true, + "dependencies": { + "@babel/core": "^7.11.1", + "@babel/plugin-proposal-dynamic-import": "^7.10.4", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4", + "@babel/plugin-proposal-optional-chaining": "^7.11.0", + "@babel/plugin-syntax-class-properties": "^7.8.3", + "@babel/plugin-syntax-import-meta": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-transform-template-literals": "^7.8.3", + "@babel/preset-env": "^7.9.0", + "@koa/cors": "^3.1.0", + "@open-wc/building-utils": "^2.18.3", + "@rollup/plugin-node-resolve": "^11.0.0", + "@rollup/pluginutils": "^3.0.0", + "@types/babel__core": "^7.1.3", + "@types/browserslist": "^4.8.0", + "@types/browserslist-useragent": "^3.0.0", + "@types/caniuse-api": "^3.0.0", + "@types/command-line-args": "^5.0.0", + "@types/command-line-usage": "^5.0.1", + "@types/debounce": "^1.2.0", + "@types/koa": "^2.0.48", + "@types/koa__cors": "^3.0.1", + "@types/koa-compress": "^2.0.9", + "@types/koa-etag": "^3.0.0", + "@types/koa-static": "^4.0.1", + "@types/lru-cache": "^5.1.0", + "@types/mime-types": "^2.1.0", + "@types/minimatch": "^3.0.3", + "@types/path-is-inside": "^1.0.0", + "@types/whatwg-url": "^6.4.0", + "browserslist": "^4.9.1", + "browserslist-useragent": "^3.0.2", + "builtin-modules": "^3.1.0", + "camelcase": "^5.3.1", + "caniuse-api": "^3.0.0", + "caniuse-lite": "^1.0.30001033", + "chokidar": "^3.0.0", + "command-line-args": "^5.0.2", + "command-line-usage": "^6.1.0", + "debounce": "^1.2.0", + "deepmerge": "^4.2.2", + "es-module-lexer": "^0.3.13", + "get-stream": "^5.1.0", + "is-stream": "^2.0.0", + "isbinaryfile": "^4.0.2", + "koa": "^2.7.0", + "koa-compress": "^3.0.0", + "koa-etag": "^3.0.0", + "koa-static": "^5.0.0", + "lru-cache": "^5.1.1", + "mime-types": "^2.1.27", + "minimatch": "^3.0.4", + "open": "^7.0.3", + "parse5": "^5.1.1", + "path-is-inside": "^1.0.2", + "polyfills-loader": "^1.7.4", + "portfinder": "^1.0.21", + "rollup": "^2.7.2", + "strip-ansi": "^5.2.0", + "systemjs": "^6.3.1", + "tslib": "^1.11.1", + "useragent": "^2.3.0", + "whatwg-url": "^7.0.0" + }, + "bin": { + "es-dev-server": "dist/cli.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/es-dev-server/node_modules/@rollup/plugin-node-resolve": { + "version": "11.2.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-11.2.1.tgz", + "integrity": "sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "@types/resolve": "1.17.1", + "builtin-modules": "^3.1.0", + "deepmerge": "^4.2.2", + "is-module": "^1.0.0", + "resolve": "^1.19.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/es-dev-server/node_modules/@types/resolve": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", + "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/es-module-lexer": { + "version": "0.3.26", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.3.26.tgz", + "integrity": "sha512-Va0Q/xqtrss45hWzP8CZJwzGSZJjDM5/MJRE3IXXnUCcVLElR9BRaE9F62BopysASyc4nM3uwhSW7FFB9nlWAA==", + "dev": true + }, + "node_modules/es-module-shims": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/es-module-shims/-/es-module-shims-0.4.7.tgz", + "integrity": "sha512-0LTiSQoPWwdcaTVIQXhGlaDwTneD0g9/tnH1PNs3zHFFH+xoCeJclDM3rQeqF9nurXPfMKm3l9+kfPRa5VpbKg==", + "dev": true + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "dev": true + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/filesize": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/filesize/-/filesize-8.0.7.tgz", + "integrity": "sha512-pjmC+bkIF8XI7fWaH8KxHcZL3DPybs1roSKP4rKDvy20tAWwIObE4+JIseG2byfGKhud5ZnM4YSGKBz7Sh0ndQ==", + "dev": true, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-replace": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-replace/-/find-replace-3.0.0.tgz", + "integrity": "sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==", + "dev": true, + "dependencies": { + "array-back": "^3.0.1" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-intrinsic": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz", + "integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dev": true, + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/gzip-size": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-7.0.0.tgz", + "integrity": "sha512-O1Ld7Dr+nqPnmGpdhzLmMTQ4vAsD+rHwMm1NLUmoUFFymBOMKxCCrtDxqdBRYXdeEPEi3SyoR4TizJLQrnKBNA==", + "dev": true, + "dependencies": { + "duplexer": "^0.1.2" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/gzip-size/node_modules/duplexer": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", + "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", + "dev": true + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", + "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true, + "bin": { + "he": "bin/he" + } + }, + "node_modules/html-minifier": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/html-minifier/-/html-minifier-4.0.0.tgz", + "integrity": "sha512-aoGxanpFPLg7MkIl/DDFYtb0iWz7jMFGqFhvEDZga6/4QTjneiD8I/NXL1x5aaoCp7FSIT6h/OhykDdPsbtMig==", + "dev": true, + "dependencies": { + "camel-case": "^3.0.0", + "clean-css": "^4.2.1", + "commander": "^2.19.0", + "he": "^1.2.0", + "param-case": "^2.1.1", + "relateurl": "^0.2.7", + "uglify-js": "^3.5.1" + }, + "bin": { + "html-minifier": "cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/html-minifier-terser": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/html-minifier-terser/-/html-minifier-terser-5.1.1.tgz", + "integrity": "sha512-ZPr5MNObqnV/T9akshPKbVgyOqLmy+Bxo7juKCfTfnjNniTAMdy4hz21YQqoofMBJD2kdREaqPPdThoR78Tgxg==", + "dev": true, + "dependencies": { + "camel-case": "^4.1.1", + "clean-css": "^4.2.3", + "commander": "^4.1.1", + "he": "^1.2.0", + "param-case": "^3.0.3", + "relateurl": "^0.2.7", + "terser": "^4.6.3" + }, + "bin": { + "html-minifier-terser": "cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/html-minifier/node_modules/camel-case": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz", + "integrity": "sha512-+MbKztAYHXPr1jNTSKQF52VpcFjwY5RkR7fxksV8Doo4KAYc5Fl4UJRgthBbTmEx8C54DqahhbLJkDwjI3PI/w==", + "dev": true, + "dependencies": { + "no-case": "^2.2.0", + "upper-case": "^1.1.1" + } + }, + "node_modules/html-minifier/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/html-minifier/node_modules/lower-case": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz", + "integrity": "sha512-2Fgx1Ycm599x+WGpIYwJOvsjmXFzTSc34IwDWALRA/8AopUKAVPwfJ+h5+f85BCp0PWmmJcWzEpxOpoXycMpdA==", + "dev": true + }, + "node_modules/html-minifier/node_modules/no-case": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz", + "integrity": "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==", + "dev": true, + "dependencies": { + "lower-case": "^1.1.1" + } + }, + "node_modules/html-minifier/node_modules/param-case": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/param-case/-/param-case-2.1.1.tgz", + "integrity": "sha512-eQE845L6ot89sk2N8liD8HAuH4ca6Vvr7VWAWwt7+kvvG5aBcPmmphQ68JsEG2qa9n1TykS2DLeMt363AAH8/w==", + "dev": true, + "dependencies": { + "no-case": "^2.2.0" + } + }, + "node_modules/http-assert": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/http-assert/-/http-assert-1.5.0.tgz", + "integrity": "sha512-uPpH7OKX4H25hBmU6G1jWNaqJGpTXxey+YOUizJUAgu0AjLUeC8D73hTrhvDS5D+GJN1DN1+hhc/eF/wpxtp0w==", + "dev": true, + "dependencies": { + "deep-equal": "~1.0.1", + "http-errors": "~1.8.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/http-errors": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "dev": true, + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/http-errors/node_modules/depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "node_modules/intersection-observer": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/intersection-observer/-/intersection-observer-0.7.0.tgz", + "integrity": "sha512-Id0Fij0HsB/vKWGeBe9PxeY45ttRiBmhFyyt/geBdDHBYNctMRTE3dC1U3ujzz3lap+hVXlEcVaB56kZP/eEUg==", + "dev": true + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-builtin-module": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.0.tgz", + "integrity": "sha512-phDA4oSGt7vl1n5tJvTWooWWAsXLY+2xCnxNqvKhGEzujg+A43wPlPOyDg3C8XQHN+6k/JTQWJ/j0dQh/qr+Hw==", + "dev": true, + "dependencies": { + "builtin-modules": "^3.3.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-core-module": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", + "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", + "dev": true, + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-generator-function": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", + "integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==", + "dev": true + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/isbinaryfile": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-4.0.10.tgz", + "integrity": "sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw==", + "dev": true, + "engines": { + "node": ">= 8.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/gjtorikian/" + } + }, + "node_modules/jest-worker": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", + "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", + "dev": true, + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^7.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/jest-worker/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/json5": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", + "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "dev": true, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/kailib": { + "version": "1.0.48", + "resolved": "https://registry.npmjs.org/kailib/-/kailib-1.0.48.tgz", + "integrity": "sha512-bEANFfmAWWaG4qEPxnOhsp8YQ97ZGJpgg+Ou04CybZg1pPQRAU3UdXNU7Z/LbzDTahSgKMmdfC2uotYTB75VYQ==" + }, + "node_modules/keygrip": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/keygrip/-/keygrip-1.1.0.tgz", + "integrity": "sha512-iYSchDJ+liQ8iwbSI2QqsQOvqv58eJCEanyJPJi+Khyu8smkcKSFUCbPwzFcL7YVtZ6eONjqRX/38caJ7QjRAQ==", + "dev": true, + "dependencies": { + "tsscmp": "1.0.6" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/koa": { + "version": "2.13.4", + "resolved": "https://registry.npmjs.org/koa/-/koa-2.13.4.tgz", + "integrity": "sha512-43zkIKubNbnrULWlHdN5h1g3SEKXOEzoAlRsHOTFpnlDu8JlAOZSMJBLULusuXRequboiwJcj5vtYXKB3k7+2g==", + "dev": true, + "dependencies": { + "accepts": "^1.3.5", + "cache-content-type": "^1.0.0", + "content-disposition": "~0.5.2", + "content-type": "^1.0.4", + "cookies": "~0.8.0", + "debug": "^4.3.2", + "delegates": "^1.0.0", + "depd": "^2.0.0", + "destroy": "^1.0.4", + "encodeurl": "^1.0.2", + "escape-html": "^1.0.3", + "fresh": "~0.5.2", + "http-assert": "^1.3.0", + "http-errors": "^1.6.3", + "is-generator-function": "^1.0.7", + "koa-compose": "^4.1.0", + "koa-convert": "^2.0.0", + "on-finished": "^2.3.0", + "only": "~0.0.2", + "parseurl": "^1.3.2", + "statuses": "^1.5.0", + "type-is": "^1.6.16", + "vary": "^1.1.2" + }, + "engines": { + "node": "^4.8.4 || ^6.10.1 || ^7.10.1 || >= 8.1.4" + } + }, + "node_modules/koa-compose": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/koa-compose/-/koa-compose-4.1.0.tgz", + "integrity": "sha512-8ODW8TrDuMYvXRwra/Kh7/rJo9BtOfPc6qO8eAfC80CnCvSjSl0bkRM24X6/XBBEyj0v1nRUQ1LyOy3dbqOWXw==", + "dev": true + }, + "node_modules/koa-compress": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/koa-compress/-/koa-compress-3.1.0.tgz", + "integrity": "sha512-0m24/yS/GbhWI+g9FqtvStY+yJwTObwoxOvPok6itVjRen7PBWkjsJ8pre76m+99YybXLKhOJ62mJ268qyBFMQ==", + "dev": true, + "dependencies": { + "bytes": "^3.0.0", + "compressible": "^2.0.0", + "koa-is-json": "^1.0.0", + "statuses": "^1.0.0" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/koa-convert": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/koa-convert/-/koa-convert-2.0.0.tgz", + "integrity": "sha512-asOvN6bFlSnxewce2e/DK3p4tltyfC4VM7ZwuTuepI7dEQVcvpyFuBcEARu1+Hxg8DIwytce2n7jrZtRlPrARA==", + "dev": true, + "dependencies": { + "co": "^4.6.0", + "koa-compose": "^4.1.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/koa-etag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/koa-etag/-/koa-etag-3.0.0.tgz", + "integrity": "sha512-HYU1zIsH4S9xOlUZGuZIP1PIiJ0EkBXgwL8PjFECb/pUYmAee8gfcvIovregBMYxECDhLulEWT2+ZRsA/lczCQ==", + "dev": true, + "dependencies": { + "etag": "^1.3.0", + "mz": "^2.1.0" + } + }, + "node_modules/koa-is-json": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/koa-is-json/-/koa-is-json-1.0.0.tgz", + "integrity": "sha512-+97CtHAlWDx0ndt0J8y3P12EWLwTLMXIfMnYDev3wOTwH/RpBGMlfn4bDXlMEg1u73K6XRE9BbUp+5ZAYoRYWw==", + "dev": true + }, + "node_modules/koa-send": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/koa-send/-/koa-send-5.0.1.tgz", + "integrity": "sha512-tmcyQ/wXXuxpDxyNXv5yNNkdAMdFRqwtegBXUaowiQzUKqJehttS0x2j0eOZDQAyloAth5w6wwBImnFzkUz3pQ==", + "dev": true, + "dependencies": { + "debug": "^4.1.1", + "http-errors": "^1.7.3", + "resolve-path": "^1.4.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/koa-static": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/koa-static/-/koa-static-5.0.0.tgz", + "integrity": "sha512-UqyYyH5YEXaJrf9S8E23GoJFQZXkBVJ9zYYMPGz919MSX1KuvAcycIuS0ci150HCoPf4XQVhQ84Qf8xRPWxFaQ==", + "dev": true, + "dependencies": { + "debug": "^3.1.0", + "koa-send": "^5.0.0" + }, + "engines": { + "node": ">= 7.6.0" + } + }, + "node_modules/koa-static/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/lit": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/lit/-/lit-2.2.5.tgz", + "integrity": "sha512-Ln463c0xJZfzVxBcHddNvFQQ8Z22NK7KgNmrzwFF1iESHUud412RRExzepj18wpTbusgwoTnOYuoTpo9uyNBaQ==", + "dependencies": { + "@lit/reactive-element": "^1.3.0", + "lit-element": "^3.2.0", + "lit-html": "^2.2.0" + } + }, + "node_modules/lit-element": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-3.2.0.tgz", + "integrity": "sha512-HbE7yt2SnUtg5DCrWt028oaU4D5F4k/1cntAFHTkzY8ZIa8N0Wmu92PxSxucsQSOXlODFrICkQ5x/tEshKi13g==", + "dependencies": { + "@lit/reactive-element": "^1.3.0", + "lit-html": "^2.2.0" + } + }, + "node_modules/lit-fontawesome": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/lit-fontawesome/-/lit-fontawesome-0.1.3.tgz", + "integrity": "sha512-Ze///hwsmQZpS4KqbsjxxJXvdhlZG//2z3jNuxIcDGSagE4mtvYXYQYFdhiFudUfyP6PimWtWd+f2ERBooKSPQ==", + "dependencies": { + "lit-element": "^2.2.1" + } + }, + "node_modules/lit-fontawesome/node_modules/lit-element": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-2.5.1.tgz", + "integrity": "sha512-ogu7PiJTA33bEK0xGu1dmaX5vhcRjBXCFexPja0e7P7jqLhTpNKYRPmE+GmiCaRVAbiQKGkUgkh/i6+bh++dPQ==", + "dependencies": { + "lit-html": "^1.1.1" + } + }, + "node_modules/lit-fontawesome/node_modules/lit-html": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-1.4.1.tgz", + "integrity": "sha512-B9btcSgPYb1q4oSOb/PrOT6Z/H+r6xuNzfH4lFli/AWhYwdtrgQkQWBbIc6mdnf6E2IL3gDXdkkqNktpU0OZQA==" + }, + "node_modules/lit-html": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-2.2.5.tgz", + "integrity": "sha512-e56Y9V+RNA+SGYsWP2DGb/wad5Ccd3xUZYjmcmbeZcnc0wP4zFQRXeXn7W3bbfBekmHDK2dOnuYNYkg0bQjh/w==", + "dependencies": { + "@types/trusted-types": "^2.0.2" + } + }, + "node_modules/lit-modal": { + "version": "1.2.38", + "resolved": "https://registry.npmjs.org/lit-modal/-/lit-modal-1.2.38.tgz", + "integrity": "sha512-jSC3xO6TXI5CxNmvdWYlUPSwjftnUySpwzJvgn50ME3bCqCQWXXcVOnfGQY/7mHOe+nDRKFE6Xp3tr1H5iuwpg==", + "dependencies": { + "kailib": "latest" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", + "dev": true + }, + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", + "dev": true + }, + "node_modules/lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", + "dev": true + }, + "node_modules/lodash.sortby": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", + "integrity": "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==", + "dev": true + }, + "node_modules/lodash.uniq": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", + "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==", + "dev": true + }, + "node_modules/lower-case": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", + "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", + "dev": true, + "dependencies": { + "tslib": "^2.0.3" + } + }, + "node_modules/lower-case/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "dev": true + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "dev": true, + "dependencies": { + "sourcemap-codec": "^1.4.8" + } + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/minify-html-literals": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/minify-html-literals/-/minify-html-literals-1.3.5.tgz", + "integrity": "sha512-p8T8ryePRR8FVfJZLVFmM53WY25FL0moCCTycUDuAu6rf9GMLwy0gNjXBGNin3Yun7Y+tIWd28axOf0t2EpAlQ==", + "dev": true, + "dependencies": { + "@types/html-minifier": "^3.5.3", + "clean-css": "^4.2.1", + "html-minifier": "^4.0.0", + "magic-string": "^0.25.0", + "parse-literals": "^1.2.1" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", + "dev": true + }, + "node_modules/mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dev": true, + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/no-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", + "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==", + "dev": true, + "dependencies": { + "lower-case": "^2.0.2", + "tslib": "^2.0.3" + } + }, + "node_modules/no-case/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "dev": true + }, + "node_modules/node-releases": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.5.tgz", + "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==", + "dev": true + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dev": true, + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/only": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/only/-/only-0.0.2.tgz", + "integrity": "sha512-Fvw+Jemq5fjjyWz6CpKx6w9s7xxqo3+JCyM0WXWeCSOboZ8ABkyvP8ID4CZuChA/wxSx+XSJmdOm8rGVyJ1hdQ==", + "dev": true + }, + "node_modules/open": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz", + "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==", + "dev": true, + "dependencies": { + "is-docker": "^2.0.0", + "is-wsl": "^2.1.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/param-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/param-case/-/param-case-3.0.4.tgz", + "integrity": "sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==", + "dev": true, + "dependencies": { + "dot-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "node_modules/param-case/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "dev": true + }, + "node_modules/parse-literals": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/parse-literals/-/parse-literals-1.2.1.tgz", + "integrity": "sha512-Ml0w104Ph2wwzuRdxrg9booVWsngXbB4bZ5T2z6WyF8b5oaNkUmBiDtahi34yUIpXD8Y13JjAK6UyIyApJ73RQ==", + "dev": true, + "dependencies": { + "typescript": "^2.9.2 || ^3.0.0 || ^4.0.0" + } + }, + "node_modules/parse5": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", + "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", + "dev": true + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/pascal-case": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz", + "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==", + "dev": true, + "dependencies": { + "no-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "node_modules/pascal-case/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "dev": true + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha512-DUWJr3+ULp4zXmol/SZkFf3JGsS9/SIv+Y3Rt93/UjPpDpklB5f1er4O3POIbUuUJ3FXgqte2Q7SrU6zAqwk8w==", + "dev": true + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/polyfills-loader": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/polyfills-loader/-/polyfills-loader-1.7.6.tgz", + "integrity": "sha512-AiLIgmGFmzcvsqewyKsqWb7H8CnWNTSQBoM0u+Mauzmp0DsjObXmnZdeqvTn0HNwc1wYHHTOta82WjSjG341eQ==", + "dev": true, + "dependencies": { + "@babel/core": "^7.11.1", + "@open-wc/building-utils": "^2.18.3", + "@webcomponents/webcomponentsjs": "^2.4.0", + "abortcontroller-polyfill": "^1.4.0", + "core-js-bundle": "^3.6.0", + "deepmerge": "^4.2.2", + "dynamic-import-polyfill": "^0.1.1", + "es-module-shims": "^0.4.6", + "intersection-observer": "^0.7.0", + "parse5": "^5.1.1", + "regenerator-runtime": "^0.13.3", + "resize-observer-polyfill": "^1.5.1", + "systemjs": "^6.3.1", + "terser": "^4.6.7", + "whatwg-fetch": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/portfinder": { + "version": "1.0.28", + "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz", + "integrity": "sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA==", + "dev": true, + "dependencies": { + "async": "^2.6.2", + "debug": "^3.1.1", + "mkdirp": "^0.5.5" + }, + "engines": { + "node": ">= 0.12.0" + } + }, + "node_modules/portfinder/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==", + "dev": true + }, + "node_modules/pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/reduce-flatten": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-2.0.0.tgz", + "integrity": "sha512-EJ4UNY/U1t2P/2k6oqotuX2Cc3T6nxJwsM0N0asT7dhrtH1ltUxDn4NalSYmPE2rCkVpcf/X6R0wDwcFpzhd4w==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/regenerate": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", + "dev": true + }, + "node_modules/regenerate-unicode-properties": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz", + "integrity": "sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw==", + "dev": true, + "dependencies": { + "regenerate": "^1.4.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.13.9", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", + "dev": true + }, + "node_modules/regenerator-transform": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz", + "integrity": "sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.8.4" + } + }, + "node_modules/regexpu-core": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.0.1.tgz", + "integrity": "sha512-CriEZlrKK9VJw/xQGJpQM5rY88BtuL8DM+AEwvcThHilbxiTAy8vq4iJnd2tqq8wLmjbGZzP7ZcKFjbGkmEFrw==", + "dev": true, + "dependencies": { + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.0.1", + "regjsgen": "^0.6.0", + "regjsparser": "^0.8.2", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regjsgen": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz", + "integrity": "sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA==", + "dev": true + }, + "node_modules/regjsparser": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz", + "integrity": "sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA==", + "dev": true, + "dependencies": { + "jsesc": "~0.5.0" + }, + "bin": { + "regjsparser": "bin/parser" + } + }, + "node_modules/regjsparser/node_modules/jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + } + }, + "node_modules/relateurl": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz", + "integrity": "sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog==", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/resize-observer-polyfill": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz", + "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==", + "dev": true + }, + "node_modules/resolve": { + "version": "1.22.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", + "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", + "dev": true, + "dependencies": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-path": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/resolve-path/-/resolve-path-1.4.0.tgz", + "integrity": "sha512-i1xevIst/Qa+nA9olDxLWnLk8YZbi8R/7JPbCMcgyWaFR6bKWaexgJgEB5oc2PKMjYdrHynyz0NY+if+H98t1w==", + "dev": true, + "dependencies": { + "http-errors": "~1.6.2", + "path-is-absolute": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/resolve-path/node_modules/depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/resolve-path/node_modules/http-errors": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "integrity": "sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A==", + "dev": true, + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/resolve-path/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==", + "dev": true + }, + "node_modules/resolve-path/node_modules/setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rollup": { + "version": "2.79.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", + "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", + "dev": true, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=10.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/rollup-plugin-minify-html-literals": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/rollup-plugin-minify-html-literals/-/rollup-plugin-minify-html-literals-1.2.6.tgz", + "integrity": "sha512-JRq2fjlCTiw0zu+1Sy3ClHGCxA79dWGr4HLHWSQgd060StVW9fBVksuj8Xw/suPkNSGClJf/4xNQ1MF6JeXPaw==", + "dev": true, + "dependencies": { + "minify-html-literals": "^1.3.5", + "rollup-pluginutils": "^2.8.2" + }, + "peerDependencies": { + "rollup": "^0.65.2 || ^1.0.0 || ^2.0.0" + } + }, + "node_modules/rollup-plugin-summary": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/rollup-plugin-summary/-/rollup-plugin-summary-1.4.3.tgz", + "integrity": "sha512-m1xViwOlgocoIaaUX8AdWQVFHzti69MXqrdBsxFsXnQOIqtoU9KSNMZjlToAJvV8pjB85+boAw/P3Yu6F/VIaA==", + "dev": true, + "dependencies": { + "brotli-size": "^4.0.0", + "cli-table3": "^0.6.1", + "filesize": "^8.0.7", + "gzip-size": "^7.0.0", + "terser": "^5.12.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "rollup": "^2.0.0" + } + }, + "node_modules/rollup-plugin-summary/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/rollup-plugin-summary/node_modules/terser": { + "version": "5.15.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.15.1.tgz", + "integrity": "sha512-K1faMUvpm/FBxjBXud0LWVAGxmvoPbZbfTCYbSgaaYQaIXI3/TdI7a7ZGA73Zrou6Q8Zmz3oeUTsp/dj+ag2Xw==", + "dev": true, + "dependencies": { + "@jridgewell/source-map": "^0.3.2", + "acorn": "^8.5.0", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/rollup-plugin-terser": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", + "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.10.4", + "jest-worker": "^26.2.1", + "serialize-javascript": "^4.0.0", + "terser": "^5.0.0" + }, + "peerDependencies": { + "rollup": "^2.0.0" + } + }, + "node_modules/rollup-plugin-terser/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/rollup-plugin-terser/node_modules/terser": { + "version": "5.15.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.15.1.tgz", + "integrity": "sha512-K1faMUvpm/FBxjBXud0LWVAGxmvoPbZbfTCYbSgaaYQaIXI3/TdI7a7ZGA73Zrou6Q8Zmz3oeUTsp/dj+ag2Xw==", + "dev": true, + "dependencies": { + "@jridgewell/source-map": "^0.3.2", + "acorn": "^8.5.0", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/rollup-pluginutils": { + "version": "2.8.2", + "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", + "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", + "dev": true, + "dependencies": { + "estree-walker": "^0.6.1" + } + }, + "node_modules/rollup-pluginutils/node_modules/estree-walker": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz", + "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", + "dev": true + }, + "node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/serialize-javascript": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", + "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", + "dev": true, + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "dev": true + }, + "node_modules/shady-css-scoped-element": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/shady-css-scoped-element/-/shady-css-scoped-element-0.0.2.tgz", + "integrity": "sha512-Dqfl70x6JiwYDujd33ZTbtCK0t52E7+H2swdWQNSTzfsolSa6LJHnTpN4T9OpJJEq4bxuzHRLFO9RBcy/UfrMQ==", + "dev": true + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", + "dev": true + }, + "node_modules/statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "dependencies": { + "ansi-regex": "^4.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/systemjs": { + "version": "6.12.1", + "resolved": "https://registry.npmjs.org/systemjs/-/systemjs-6.12.1.tgz", + "integrity": "sha512-hqTN6kW+pN6/qro6G9OZ7ceDQOcYno020zBQKpZQLsJhYTDMCMNfXi/Y8duF5iW+4WWZr42ry0MMkcRGpbwG2A==", + "dev": true + }, + "node_modules/table-layout": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-1.0.2.tgz", + "integrity": "sha512-qd/R7n5rQTRFi+Zf2sk5XVVd9UQl6ZkduPFC3S7WEGJAmetDTjY3qPN50eSKzwuzEyQKy5TN2TiZdkIjos2L6A==", + "dev": true, + "dependencies": { + "array-back": "^4.0.1", + "deep-extend": "~0.6.0", + "typical": "^5.2.0", + "wordwrapjs": "^4.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/table-layout/node_modules/array-back": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.2.tgz", + "integrity": "sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/table-layout/node_modules/typical": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", + "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/terser": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", + "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", + "dev": true, + "dependencies": { + "commander": "^2.20.0", + "source-map": "~0.6.1", + "source-map-support": "~0.5.12" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/terser/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "dependencies": { + "os-tmpdir": "~1.0.2" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "dev": true, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/tr46": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", + "integrity": "sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "node_modules/tsscmp": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/tsscmp/-/tsscmp-1.0.6.tgz", + "integrity": "sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA==", + "dev": true, + "engines": { + "node": ">=0.6.x" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dev": true, + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/typescript": { + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", + "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, + "node_modules/typical": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-4.0.0.tgz", + "integrity": "sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/uglify-js": { + "version": "3.17.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.3.tgz", + "integrity": "sha512-JmMFDME3iufZnBpyKL+uS78LRiC+mK55zWfM5f/pWBJfpOttXAqYfdDGRukYhJuyRinvPVAtUhvy7rlDybNtFg==", + "dev": true, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/unicode-canonical-property-names-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", + "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", + "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", + "dev": true, + "dependencies": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-value-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", + "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-property-aliases-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", + "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/upper-case": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz", + "integrity": "sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA==", + "dev": true + }, + "node_modules/useragent": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/useragent/-/useragent-2.3.0.tgz", + "integrity": "sha512-4AoH4pxuSvHCjqLO04sU6U/uE65BYza8l/KKBS0b0hnUPWi+cQ2BpeTEwejCSx9SPV5/U03nniDTrWx5NrmKdw==", + "dev": true, + "dependencies": { + "lru-cache": "4.1.x", + "tmp": "0.0.x" + } + }, + "node_modules/useragent/node_modules/lru-cache": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", + "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", + "dev": true, + "dependencies": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "node_modules/useragent/node_modules/yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", + "dev": true + }, + "node_modules/valid-url": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/valid-url/-/valid-url-1.0.9.tgz", + "integrity": "sha512-QQDsV8OnSf5Uc30CKSwG9lnhMPe6exHtTXLRYX8uMwKENy640pU+2BgBL0LRbDh/eYRahNCS7aewCx0wf3NYVA==", + "dev": true + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/webidl-conversions": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", + "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", + "dev": true + }, + "node_modules/whatwg-fetch": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz", + "integrity": "sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA==", + "dev": true + }, + "node_modules/whatwg-url": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", + "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", + "dev": true, + "dependencies": { + "lodash.sortby": "^4.7.0", + "tr46": "^1.0.1", + "webidl-conversions": "^4.0.2" + } + }, + "node_modules/wordwrapjs": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-4.0.1.tgz", + "integrity": "sha512-kKlNACbvHrkpIw6oPeYDSmdCTu2hdMHoyXLTcUKala++lx5Y+wjJ/e474Jqv5abnVmwxw08DiTuHmw69lJGksA==", + "dev": true, + "dependencies": { + "reduce-flatten": "^2.0.0", + "typical": "^5.2.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/wordwrapjs/node_modules/typical": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", + "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true + }, + "node_modules/yamlparser": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/yamlparser/-/yamlparser-0.0.2.tgz", + "integrity": "sha1-Mjk+avxwyMoGa2ZQrGc4tIFnjrw=", + "dev": true + }, + "node_modules/ylru": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/ylru/-/ylru-1.3.2.tgz", + "integrity": "sha512-RXRJzMiK6U2ye0BlGGZnmpwJDPgakn6aNQ0A7gHRbD4I0uvK4TW6UqkK1V0pp9jskjJBAXd3dRrbzWkqJ+6cxA==", + "dev": true, + "engines": { + "node": ">= 4.0.0" + } + } + }, + "dependencies": { + "@ampproject/remapping": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", + "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", + "dev": true, + "requires": { + "@jridgewell/gen-mapping": "^0.1.0", + "@jridgewell/trace-mapping": "^0.3.9" + } + }, + "@babel/code-frame": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "dev": true, + "requires": { + "@babel/highlight": "^7.16.7" + } + }, + "@babel/compat-data": { + "version": "7.17.10", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.10.tgz", + "integrity": "sha512-GZt/TCsG70Ms19gfZO1tM4CVnXsPgEPBCpJu+Qz3L0LUDsY5nZqFZglIoPC1kIYOtNBZlrnFT+klg12vFGZXrw==", + "dev": true + }, + "@babel/core": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.2.tgz", + "integrity": "sha512-A8pri1YJiC5UnkdrWcmfZTJTV85b4UXTAfImGmCfYmax4TR9Cw8sDS0MOk++Gp2mE/BefVJ5nwy5yzqNJbP/DQ==", + "dev": true, + "requires": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.18.2", + "@babel/helper-compilation-targets": "^7.18.2", + "@babel/helper-module-transforms": "^7.18.0", + "@babel/helpers": "^7.18.2", + "@babel/parser": "^7.18.0", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.18.2", + "@babel/types": "^7.18.2", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.1", + "semver": "^6.3.0" + } + }, + "@babel/generator": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.2.tgz", + "integrity": "sha512-W1lG5vUwFvfMd8HVXqdfbuG7RuaSrTCCD8cl8fP8wOivdbtbIg2Db3IWUcgvfxKbbn6ZBGYRW/Zk1MIwK49mgw==", + "dev": true, + "requires": { + "@babel/types": "^7.18.2", + "@jridgewell/gen-mapping": "^0.3.0", + "jsesc": "^2.5.1" + }, + "dependencies": { + "@jridgewell/gen-mapping": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", + "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", + "dev": true, + "requires": { + "@jridgewell/set-array": "^1.0.0", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + } + } + } + }, + "@babel/helper-annotate-as-pure": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz", + "integrity": "sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.7.tgz", + "integrity": "sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA==", + "dev": true, + "requires": { + "@babel/helper-explode-assignable-expression": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-compilation-targets": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.2.tgz", + "integrity": "sha512-s1jnPotJS9uQnzFtiZVBUxe67CuBa679oWFHpxYYnTpRL/1ffhyX44R9uYiXoa/pLXcY9H2moJta0iaanlk/rQ==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.17.10", + "@babel/helper-validator-option": "^7.16.7", + "browserslist": "^4.20.2", + "semver": "^6.3.0" + } + }, + "@babel/helper-create-class-features-plugin": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.18.0.tgz", + "integrity": "sha512-Kh8zTGR9de3J63e5nS0rQUdRs/kbtwoeQQ0sriS0lItjC96u8XXZN6lKpuyWd2coKSU13py/y+LTmThLuVX0Pg==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.17.9", + "@babel/helper-member-expression-to-functions": "^7.17.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7" + } + }, + "@babel/helper-create-regexp-features-plugin": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.12.tgz", + "integrity": "sha512-b2aZrV4zvutr9AIa6/gA3wsZKRwTKYoDxYiFKcESS3Ug2GTXzwBEvMuuFLhCQpEnRXs1zng4ISAXSUxxKBIcxw==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "regexpu-core": "^5.0.1" + } + }, + "@babel/helper-define-polyfill-provider": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.1.tgz", + "integrity": "sha512-J9hGMpJQmtWmj46B3kBHmL38UhJGhYX7eqkcq+2gsstyYt341HmPeWspihX43yVRA0mS+8GGk2Gckc7bY/HCmA==", + "dev": true, + "requires": { + "@babel/helper-compilation-targets": "^7.13.0", + "@babel/helper-module-imports": "^7.12.13", + "@babel/helper-plugin-utils": "^7.13.0", + "@babel/traverse": "^7.13.0", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2", + "semver": "^6.1.2" + } + }, + "@babel/helper-environment-visitor": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.2.tgz", + "integrity": "sha512-14GQKWkX9oJzPiQQ7/J36FTXcD4kSp8egKjO9nINlSKiHITRA9q/R74qu8S9xlc/b/yjsJItQUeeh3xnGN0voQ==", + "dev": true + }, + "@babel/helper-explode-assignable-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz", + "integrity": "sha512-KyUenhWMC8VrxzkGP0Jizjo4/Zx+1nNZhgocs+gLzyZyB8SHidhoq9KK/8Ato4anhwsivfkBLftky7gvzbZMtQ==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-function-name": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", + "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", + "dev": true, + "requires": { + "@babel/template": "^7.16.7", + "@babel/types": "^7.17.0" + } + }, + "@babel/helper-hoist-variables": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", + "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-member-expression-to-functions": { + "version": "7.17.7", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.17.7.tgz", + "integrity": "sha512-thxXgnQ8qQ11W2wVUObIqDL4p148VMxkt5T/qpN5k2fboRyzFGFmKsTGViquyM5QHKUy48OZoca8kw4ajaDPyw==", + "dev": true, + "requires": { + "@babel/types": "^7.17.0" + } + }, + "@babel/helper-module-imports": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", + "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-module-transforms": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.0.tgz", + "integrity": "sha512-kclUYSUBIjlvnzN2++K9f2qzYKFgjmnmjwL4zlmU5f8ZtzgWe8s0rUPSTGy2HmK4P8T52MQsS+HTQAgZd3dMEA==", + "dev": true, + "requires": { + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-simple-access": "^7.17.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.18.0", + "@babel/types": "^7.18.0" + } + }, + "@babel/helper-optimise-call-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.7.tgz", + "integrity": "sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-plugin-utils": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.17.12.tgz", + "integrity": "sha512-JDkf04mqtN3y4iAbO1hv9U2ARpPyPL1zqyWs/2WG1pgSq9llHFjStX5jdxb84himgJm+8Ng+x0oiWF/nw/XQKA==", + "dev": true + }, + "@babel/helper-remap-async-to-generator": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.8.tgz", + "integrity": "sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-wrap-function": "^7.16.8", + "@babel/types": "^7.16.8" + } + }, + "@babel/helper-replace-supers": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.18.2.tgz", + "integrity": "sha512-XzAIyxx+vFnrOxiQrToSUOzUOn0e1J2Li40ntddek1Y69AXUTXoDJ40/D5RdjFu7s7qHiaeoTiempZcbuVXh2Q==", + "dev": true, + "requires": { + "@babel/helper-environment-visitor": "^7.18.2", + "@babel/helper-member-expression-to-functions": "^7.17.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/traverse": "^7.18.2", + "@babel/types": "^7.18.2" + } + }, + "@babel/helper-simple-access": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.18.2.tgz", + "integrity": "sha512-7LIrjYzndorDY88MycupkpQLKS1AFfsVRm2k/9PtKScSy5tZq0McZTj+DiMRynboZfIqOKvo03pmhTaUgiD6fQ==", + "dev": true, + "requires": { + "@babel/types": "^7.18.2" + } + }, + "@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz", + "integrity": "sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==", + "dev": true, + "requires": { + "@babel/types": "^7.16.0" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", + "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", + "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "dev": true + }, + "@babel/helper-validator-option": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", + "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", + "dev": true + }, + "@babel/helper-wrap-function": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.16.8.tgz", + "integrity": "sha512-8RpyRVIAW1RcDDGTA+GpPAwV22wXCfKOoM9bet6TLkGIFTkRQSkH1nMQ5Yet4MpoXe1ZwHPVtNasc2w0uZMqnw==", + "dev": true, + "requires": { + "@babel/helper-function-name": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.16.8", + "@babel/types": "^7.16.8" + } + }, + "@babel/helpers": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.2.tgz", + "integrity": "sha512-j+d+u5xT5utcQSzrh9p+PaJX94h++KN+ng9b9WEJq7pkUPAd61FGqhjuUEdfknb3E/uDBb7ruwEeKkIxNJPIrg==", + "dev": true, + "requires": { + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.18.2", + "@babel/types": "^7.18.2" + } + }, + "@babel/highlight": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", + "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.16.7", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.18.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.4.tgz", + "integrity": "sha512-FDge0dFazETFcxGw/EXzOkN8uJp0PC7Qbm+Pe9T+av2zlBpOgunFHkQPPn+eRuClU73JF+98D531UgayY89tow==", + "dev": true + }, + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.17.12.tgz", + "integrity": "sha512-xCJQXl4EeQ3J9C4yOmpTrtVGmzpm2iSzyxbkZHw7UCnZBftHpF/hpII80uWVyVrc40ytIClHjgWGTG1g/yB+aw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.17.12.tgz", + "integrity": "sha512-/vt0hpIw0x4b6BLKUkwlvEoiGZYYLNZ96CzyHYPbtG2jZGz6LBe7/V+drYrc/d+ovrF9NBi0pmtvmNb/FsWtRQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-proposal-optional-chaining": "^7.17.12" + } + }, + "@babel/plugin-proposal-async-generator-functions": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.17.12.tgz", + "integrity": "sha512-RWVvqD1ooLKP6IqWTA5GyFVX2isGEgC5iFxKzfYOIy/QEFdxYyCybBDtIGjipHpb9bDWHzcqGqFakf+mVmBTdQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-remap-async-to-generator": "^7.16.8", + "@babel/plugin-syntax-async-generators": "^7.8.4" + } + }, + "@babel/plugin-proposal-class-properties": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.17.12.tgz", + "integrity": "sha512-U0mI9q8pW5Q9EaTHFPwSVusPMV/DV9Mm8p7csqROFLtIE9rBF5piLqyrBGigftALrBcsBGu4m38JneAe7ZDLXw==", + "dev": true, + "requires": { + "@babel/helper-create-class-features-plugin": "^7.17.12", + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-proposal-class-static-block": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.0.tgz", + "integrity": "sha512-t+8LsRMMDE74c6sV7KShIw13sqbqd58tlqNrsWoWBTIMw7SVQ0cZ905wLNS/FBCy/3PyooRHLFFlfrUNyyz5lA==", + "dev": true, + "requires": { + "@babel/helper-create-class-features-plugin": "^7.18.0", + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/plugin-syntax-class-static-block": "^7.14.5" + } + }, + "@babel/plugin-proposal-dynamic-import": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.7.tgz", + "integrity": "sha512-I8SW9Ho3/8DRSdmDdH3gORdyUuYnk1m4cMxUAdu5oy4n3OfN8flDEH+d60iG7dUfi0KkYwSvoalHzzdRzpWHTg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-dynamic-import": "^7.8.3" + } + }, + "@babel/plugin-proposal-export-namespace-from": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.17.12.tgz", + "integrity": "sha512-j7Ye5EWdwoXOpRmo5QmRyHPsDIe6+u70ZYZrd7uz+ebPYFKfRcLcNu3Ro0vOlJ5zuv8rU7xa+GttNiRzX56snQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + } + }, + "@babel/plugin-proposal-json-strings": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.17.12.tgz", + "integrity": "sha512-rKJ+rKBoXwLnIn7n6o6fulViHMrOThz99ybH+hKHcOZbnN14VuMnH9fo2eHE69C8pO4uX1Q7t2HYYIDmv8VYkg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/plugin-syntax-json-strings": "^7.8.3" + } + }, + "@babel/plugin-proposal-logical-assignment-operators": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.17.12.tgz", + "integrity": "sha512-EqFo2s1Z5yy+JeJu7SFfbIUtToJTVlC61/C7WLKDntSw4Sz6JNAIfL7zQ74VvirxpjB5kz/kIx0gCcb+5OEo2Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + } + }, + "@babel/plugin-proposal-nullish-coalescing-operator": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.17.12.tgz", + "integrity": "sha512-ws/g3FSGVzv+VH86+QvgtuJL/kR67xaEIF2x0iPqdDfYW6ra6JF3lKVBkWynRLcNtIC1oCTfDRVxmm2mKzy+ag==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + } + }, + "@babel/plugin-proposal-numeric-separator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.7.tgz", + "integrity": "sha512-vQgPMknOIgiuVqbokToyXbkY/OmmjAzr/0lhSIbG/KmnzXPGwW/AdhdKpi+O4X/VkWiWjnkKOBiqJrTaC98VKw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-numeric-separator": "^7.10.4" + } + }, + "@babel/plugin-proposal-object-rest-spread": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.0.tgz", + "integrity": "sha512-nbTv371eTrFabDfHLElkn9oyf9VG+VKK6WMzhY2o4eHKaG19BToD9947zzGMO6I/Irstx9d8CwX6njPNIAR/yw==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.17.10", + "@babel/helper-compilation-targets": "^7.17.10", + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.17.12" + } + }, + "@babel/plugin-proposal-optional-catch-binding": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.7.tgz", + "integrity": "sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" + } + }, + "@babel/plugin-proposal-optional-chaining": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.17.12.tgz", + "integrity": "sha512-7wigcOs/Z4YWlK7xxjkvaIw84vGhDv/P1dFGQap0nHkc8gFKY/r+hXc8Qzf5k1gY7CvGIcHqAnOagVKJJ1wVOQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + } + }, + "@babel/plugin-proposal-private-methods": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.17.12.tgz", + "integrity": "sha512-SllXoxo19HmxhDWm3luPz+cPhtoTSKLJE9PXshsfrOzBqs60QP0r8OaJItrPhAj0d7mZMnNF0Y1UUggCDgMz1A==", + "dev": true, + "requires": { + "@babel/helper-create-class-features-plugin": "^7.17.12", + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-proposal-private-property-in-object": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.17.12.tgz", + "integrity": "sha512-/6BtVi57CJfrtDNKfK5b66ydK2J5pXUKBKSPD2G1whamMuEnZWgoOIfO8Vf9F/DoD4izBLD/Au4NMQfruzzykg==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-create-class-features-plugin": "^7.17.12", + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5" + } + }, + "@babel/plugin-proposal-unicode-property-regex": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.17.12.tgz", + "integrity": "sha512-Wb9qLjXf3ZazqXA7IvI7ozqRIXIGPtSo+L5coFmEkhTQK18ao4UDDD0zdTGAarmbLj2urpRwrc6893cu5Bfh0A==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.17.12", + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.12.13" + } + }, + "@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", + "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, + "@babel/plugin-syntax-dynamic-import": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", + "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-export-namespace-from": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", + "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-syntax-import-assertions": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.17.12.tgz", + "integrity": "sha512-n/loy2zkq9ZEM8tEOwON9wTQSTNDTDEz6NujPtJGLU7qObzT1N4c4YZZf8E6ATB2AjNQg/Ib2AIpO03EZaCehw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, + "@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, + "@babel/plugin-transform-arrow-functions": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.17.12.tgz", + "integrity": "sha512-PHln3CNi/49V+mza4xMwrg+WGYevSF1oaiXaC2EQfdp4HWlSjRsrDXWJiQBKpP7749u6vQ9mcry2uuFOv5CXvA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-transform-async-to-generator": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.17.12.tgz", + "integrity": "sha512-J8dbrWIOO3orDzir57NRsjg4uxucvhby0L/KZuGsWDj0g7twWK3g7JhJhOrXtuXiw8MeiSdJ3E0OW9H8LYEzLQ==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-remap-async-to-generator": "^7.16.8" + } + }, + "@babel/plugin-transform-block-scoped-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.7.tgz", + "integrity": "sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-block-scoping": { + "version": "7.18.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.4.tgz", + "integrity": "sha512-+Hq10ye+jlvLEogSOtq4mKvtk7qwcUQ1f0Mrueai866C82f844Yom2cttfJdMdqRLTxWpsbfbkIkOIfovyUQXw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-transform-classes": { + "version": "7.18.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.18.4.tgz", + "integrity": "sha512-e42NSG2mlKWgxKUAD9EJJSkZxR67+wZqzNxLSpc51T8tRU5SLFHsPmgYR5yr7sdgX4u+iHA1C5VafJ6AyImV3A==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-environment-visitor": "^7.18.2", + "@babel/helper-function-name": "^7.17.9", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-replace-supers": "^7.18.2", + "@babel/helper-split-export-declaration": "^7.16.7", + "globals": "^11.1.0" + } + }, + "@babel/plugin-transform-computed-properties": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.17.12.tgz", + "integrity": "sha512-a7XINeplB5cQUWMg1E/GI1tFz3LfK021IjV1rj1ypE+R7jHm+pIHmHl25VNkZxtx9uuYp7ThGk8fur1HHG7PgQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-transform-destructuring": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.0.tgz", + "integrity": "sha512-Mo69klS79z6KEfrLg/1WkmVnB8javh75HX4pi2btjvlIoasuxilEyjtsQW6XPrubNd7AQy0MMaNIaQE4e7+PQw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-transform-dotall-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.7.tgz", + "integrity": "sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-duplicate-keys": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.17.12.tgz", + "integrity": "sha512-EA5eYFUG6xeerdabina/xIoB95jJ17mAkR8ivx6ZSu9frKShBjpOGZPn511MTDTkiCO+zXnzNczvUM69YSf3Zw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-transform-exponentiation-operator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.7.tgz", + "integrity": "sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA==", + "dev": true, + "requires": { + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-for-of": { + "version": "7.18.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.1.tgz", + "integrity": "sha512-+TTB5XwvJ5hZbO8xvl2H4XaMDOAK57zF4miuC9qQJgysPNEAZZ9Z69rdF5LJkozGdZrjBIUAIyKUWRMmebI7vg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-transform-function-name": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.7.tgz", + "integrity": "sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA==", + "dev": true, + "requires": { + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-literals": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.17.12.tgz", + "integrity": "sha512-8iRkvaTjJciWycPIZ9k9duu663FT7VrBdNqNgxnVXEFwOIp55JWcZd23VBRySYbnS3PwQ3rGiabJBBBGj5APmQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-transform-member-expression-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.7.tgz", + "integrity": "sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-modules-amd": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.0.tgz", + "integrity": "sha512-h8FjOlYmdZwl7Xm2Ug4iX2j7Qy63NANI+NQVWQzv6r25fqgg7k2dZl03p95kvqNclglHs4FZ+isv4p1uXMA+QA==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.18.0", + "@babel/helper-plugin-utils": "^7.17.12", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-commonjs": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.2.tgz", + "integrity": "sha512-f5A865gFPAJAEE0K7F/+nm5CmAE3y8AWlMBG9unu5j9+tk50UQVK0QS8RNxSp7MJf0wh97uYyLWt3Zvu71zyOQ==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.18.0", + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-simple-access": "^7.18.2", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-systemjs": { + "version": "7.18.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.18.4.tgz", + "integrity": "sha512-lH2UaQaHVOAeYrUUuZ8i38o76J/FnO8vu21OE+tD1MyP9lxdZoSfz+pDbWkq46GogUrdrMz3tiz/FYGB+bVThg==", + "dev": true, + "requires": { + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-module-transforms": "^7.18.0", + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-validator-identifier": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-umd": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.0.tgz", + "integrity": "sha512-d/zZ8I3BWli1tmROLxXLc9A6YXvGK8egMxHp+E/rRwMh1Kip0AP77VwZae3snEJ33iiWwvNv2+UIIhfalqhzZA==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.18.0", + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.17.12.tgz", + "integrity": "sha512-vWoWFM5CKaTeHrdUJ/3SIOTRV+MBVGybOC9mhJkaprGNt5demMymDW24yC74avb915/mIRe3TgNb/d8idvnCRA==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.17.12", + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-transform-new-target": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.17.12.tgz", + "integrity": "sha512-CaOtzk2fDYisbjAD4Sd1MTKGVIpRtx9bWLyj24Y/k6p4s4gQ3CqDGJauFJxt8M/LEx003d0i3klVqnN73qvK3w==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-transform-object-super": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.7.tgz", + "integrity": "sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7" + } + }, + "@babel/plugin-transform-parameters": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.17.12.tgz", + "integrity": "sha512-6qW4rWo1cyCdq1FkYri7AHpauchbGLXpdwnYsfxFb+KtddHENfsY5JZb35xUwkK5opOLcJ3BNd2l7PhRYGlwIA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-transform-property-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.7.tgz", + "integrity": "sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-regenerator": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.0.tgz", + "integrity": "sha512-C8YdRw9uzx25HSIzwA7EM7YP0FhCe5wNvJbZzjVNHHPGVcDJ3Aie+qGYYdS1oVQgn+B3eAIJbWFLrJ4Jipv7nw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12", + "regenerator-transform": "^0.15.0" + } + }, + "@babel/plugin-transform-reserved-words": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.17.12.tgz", + "integrity": "sha512-1KYqwbJV3Co03NIi14uEHW8P50Md6KqFgt0FfpHdK6oyAHQVTosgPuPSiWud1HX0oYJ1hGRRlk0fP87jFpqXZA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-transform-shorthand-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.7.tgz", + "integrity": "sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-spread": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.17.12.tgz", + "integrity": "sha512-9pgmuQAtFi3lpNUstvG9nGfk9DkrdmWNp9KeKPFmuZCpEnxRzYlS8JgwPjYj+1AWDOSvoGN0H30p1cBOmT/Svg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0" + } + }, + "@babel/plugin-transform-sticky-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.7.tgz", + "integrity": "sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-template-literals": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.2.tgz", + "integrity": "sha512-/cmuBVw9sZBGZVOMkpAEaVLwm4JmK2GZ1dFKOGGpMzEHWFmyZZ59lUU0PdRr8YNYeQdNzTDwuxP2X2gzydTc9g==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-transform-typeof-symbol": { + "version": "7.17.12", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.17.12.tgz", + "integrity": "sha512-Q8y+Jp7ZdtSPXCThB6zjQ74N3lj0f6TDh1Hnf5B+sYlzQ8i5Pjp8gW0My79iekSpT4WnI06blqP6DT0OmaXXmw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.17.12" + } + }, + "@babel/plugin-transform-unicode-escapes": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.7.tgz", + "integrity": "sha512-TAV5IGahIz3yZ9/Hfv35TV2xEm+kaBDaZQCn2S/hG9/CZ0DktxJv9eKfPc7yYCvOYR4JGx1h8C+jcSOvgaaI/Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-unicode-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.7.tgz", + "integrity": "sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/preset-env": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.2.tgz", + "integrity": "sha512-PfpdxotV6afmXMU47S08F9ZKIm2bJIQ0YbAAtDfIENX7G1NUAXigLREh69CWDjtgUy7dYn7bsMzkgdtAlmS68Q==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.17.10", + "@babel/helper-compilation-targets": "^7.18.2", + "@babel/helper-plugin-utils": "^7.17.12", + "@babel/helper-validator-option": "^7.16.7", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.17.12", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.17.12", + "@babel/plugin-proposal-async-generator-functions": "^7.17.12", + "@babel/plugin-proposal-class-properties": "^7.17.12", + "@babel/plugin-proposal-class-static-block": "^7.18.0", + "@babel/plugin-proposal-dynamic-import": "^7.16.7", + "@babel/plugin-proposal-export-namespace-from": "^7.17.12", + "@babel/plugin-proposal-json-strings": "^7.17.12", + "@babel/plugin-proposal-logical-assignment-operators": "^7.17.12", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.17.12", + "@babel/plugin-proposal-numeric-separator": "^7.16.7", + "@babel/plugin-proposal-object-rest-spread": "^7.18.0", + "@babel/plugin-proposal-optional-catch-binding": "^7.16.7", + "@babel/plugin-proposal-optional-chaining": "^7.17.12", + "@babel/plugin-proposal-private-methods": "^7.17.12", + "@babel/plugin-proposal-private-property-in-object": "^7.17.12", + "@babel/plugin-proposal-unicode-property-regex": "^7.17.12", + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3", + "@babel/plugin-syntax-import-assertions": "^7.17.12", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5", + "@babel/plugin-transform-arrow-functions": "^7.17.12", + "@babel/plugin-transform-async-to-generator": "^7.17.12", + "@babel/plugin-transform-block-scoped-functions": "^7.16.7", + "@babel/plugin-transform-block-scoping": "^7.17.12", + "@babel/plugin-transform-classes": "^7.17.12", + "@babel/plugin-transform-computed-properties": "^7.17.12", + "@babel/plugin-transform-destructuring": "^7.18.0", + "@babel/plugin-transform-dotall-regex": "^7.16.7", + "@babel/plugin-transform-duplicate-keys": "^7.17.12", + "@babel/plugin-transform-exponentiation-operator": "^7.16.7", + "@babel/plugin-transform-for-of": "^7.18.1", + "@babel/plugin-transform-function-name": "^7.16.7", + "@babel/plugin-transform-literals": "^7.17.12", + "@babel/plugin-transform-member-expression-literals": "^7.16.7", + "@babel/plugin-transform-modules-amd": "^7.18.0", + "@babel/plugin-transform-modules-commonjs": "^7.18.2", + "@babel/plugin-transform-modules-systemjs": "^7.18.0", + "@babel/plugin-transform-modules-umd": "^7.18.0", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.17.12", + "@babel/plugin-transform-new-target": "^7.17.12", + "@babel/plugin-transform-object-super": "^7.16.7", + "@babel/plugin-transform-parameters": "^7.17.12", + "@babel/plugin-transform-property-literals": "^7.16.7", + "@babel/plugin-transform-regenerator": "^7.18.0", + "@babel/plugin-transform-reserved-words": "^7.17.12", + "@babel/plugin-transform-shorthand-properties": "^7.16.7", + "@babel/plugin-transform-spread": "^7.17.12", + "@babel/plugin-transform-sticky-regex": "^7.16.7", + "@babel/plugin-transform-template-literals": "^7.18.2", + "@babel/plugin-transform-typeof-symbol": "^7.17.12", + "@babel/plugin-transform-unicode-escapes": "^7.16.7", + "@babel/plugin-transform-unicode-regex": "^7.16.7", + "@babel/preset-modules": "^0.1.5", + "@babel/types": "^7.18.2", + "babel-plugin-polyfill-corejs2": "^0.3.0", + "babel-plugin-polyfill-corejs3": "^0.5.0", + "babel-plugin-polyfill-regenerator": "^0.3.0", + "core-js-compat": "^3.22.1", + "semver": "^6.3.0" + } + }, + "@babel/preset-modules": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz", + "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", + "@babel/plugin-transform-dotall-regex": "^7.4.4", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + } + }, + "@babel/runtime": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.3.tgz", + "integrity": "sha512-38Y8f7YUhce/K7RMwTp7m0uCumpv9hZkitCbBClqQIow1qSbCvGkcegKOXpEWCQLfWmevgRiWokZ1GkpfhbZug==", + "dev": true, + "requires": { + "regenerator-runtime": "^0.13.4" + } + }, + "@babel/template": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", + "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.7", + "@babel/parser": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/traverse": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.2.tgz", + "integrity": "sha512-9eNwoeovJ6KH9zcCNnENY7DMFwTU9JdGCFtqNLfUAqtUHRCOsTOqWoffosP8vKmNYeSBUv3yVJXjfd8ucwOjUA==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.18.2", + "@babel/helper-environment-visitor": "^7.18.2", + "@babel/helper-function-name": "^7.17.9", + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/parser": "^7.18.0", + "@babel/types": "^7.18.2", + "debug": "^4.1.0", + "globals": "^11.1.0" + } + }, + "@babel/types": { + "version": "7.18.4", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.4.tgz", + "integrity": "sha512-ThN1mBcMq5pG/Vm2IcBmPPfyPXbd8S02rS+OBIDENdufvqC7Z/jHPCv9IcP01277aKtDI8g/2XysBN4hA8niiw==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.16.7", + "to-fast-properties": "^2.0.0" + } + }, + "@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "dev": true, + "optional": true + }, + "@jridgewell/gen-mapping": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", + "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", + "dev": true, + "requires": { + "@jridgewell/set-array": "^1.0.0", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "@jridgewell/resolve-uri": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz", + "integrity": "sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==", + "dev": true + }, + "@jridgewell/set-array": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.1.tgz", + "integrity": "sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==", + "dev": true + }, + "@jridgewell/source-map": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.2.tgz", + "integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==", + "dev": true, + "requires": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "dependencies": { + "@jridgewell/gen-mapping": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", + "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", + "dev": true, + "requires": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + } + } + } + }, + "@jridgewell/sourcemap-codec": { + "version": "1.4.13", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz", + "integrity": "sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==", + "dev": true + }, + "@jridgewell/trace-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.13.tgz", + "integrity": "sha512-o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w==", + "dev": true, + "requires": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "@koa/cors": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/@koa/cors/-/cors-3.3.0.tgz", + "integrity": "sha512-lzlkqLlL5Ond8jb6JLnVVDmD2OPym0r5kvZlMgAWiS9xle+Q5ulw1T358oW+RVguxUkANquZQz82i/STIRmsqQ==", + "dev": true, + "requires": { + "vary": "^1.1.2" + } + }, + "@lit/reactive-element": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-1.3.2.tgz", + "integrity": "sha512-A2e18XzPMrIh35nhIdE4uoqRzoIpEU5vZYuQN4S3Ee1zkGdYC27DP12pewbw/RLgPHzaE4kx/YqxMzebOpm0dA==" + }, + "@open-wc/building-utils": { + "version": "2.18.4", + "resolved": "https://registry.npmjs.org/@open-wc/building-utils/-/building-utils-2.18.4.tgz", + "integrity": "sha512-wjNp9oE1SFsiBEqaI67ff60KHDpDbGMNF+82pvCHe412SFY4q8DNy8A+hesj1nZsuZHH1/olDfzBDbYKAnmgMg==", + "dev": true, + "requires": { + "@babel/core": "^7.11.1", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@webcomponents/shadycss": "^1.10.2", + "@webcomponents/webcomponentsjs": "^2.5.0", + "arrify": "^2.0.1", + "browserslist": "^4.16.0", + "chokidar": "^3.4.3", + "clean-css": "^4.2.3", + "clone": "^2.1.2", + "core-js-bundle": "^3.8.1", + "deepmerge": "^4.2.2", + "es-module-shims": "^0.4.7", + "html-minifier-terser": "^5.1.1", + "lru-cache": "^5.1.1", + "minimatch": "^3.0.4", + "parse5": "^5.1.1", + "path-is-inside": "^1.0.2", + "regenerator-runtime": "^0.13.7", + "resolve": "^1.19.0", + "rimraf": "^3.0.2", + "shady-css-scoped-element": "^0.0.2", + "systemjs": "^6.8.3", + "terser": "^4.6.7", + "valid-url": "^1.0.9", + "whatwg-fetch": "^3.5.0", + "whatwg-url": "^7.1.0" + } + }, + "@rollup/plugin-node-resolve": { + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.0.0.tgz", + "integrity": "sha512-iwJbzfTzlzDDQcGmkS7EkCKwe2kSkdBrjX87Fy/KrNjr6UNnLpod0t6X66e502LRe5JJCA4FFqrEscWPnZAkig==", + "dev": true, + "requires": { + "@rollup/pluginutils": "^4.2.1", + "@types/resolve": "1.20.2", + "deepmerge": "^4.2.2", + "is-builtin-module": "^3.2.0", + "is-module": "^1.0.0", + "resolve": "^1.22.1" + }, + "dependencies": { + "@rollup/pluginutils": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", + "integrity": "sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==", + "dev": true, + "requires": { + "estree-walker": "^2.0.1", + "picomatch": "^2.2.2" + } + }, + "estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "dev": true + } + } + }, + "@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "requires": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + } + }, + "@types/accepts": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/accepts/-/accepts-1.3.5.tgz", + "integrity": "sha512-jOdnI/3qTpHABjM5cx1Hc0sKsPoYCp+DP/GJRGtDlPd7fiV9oXGGIcjW/ZOxLIvjGz8MA+uMZI9metHlgqbgwQ==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/babel__core": { + "version": "7.1.19", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.19.tgz", + "integrity": "sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==", + "dev": true, + "requires": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "@types/babel__generator": { + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz", + "integrity": "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0" + } + }, + "@types/babel__template": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz", + "integrity": "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==", + "dev": true, + "requires": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "@types/babel__traverse": { + "version": "7.17.1", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.17.1.tgz", + "integrity": "sha512-kVzjari1s2YVi77D3w1yuvohV2idweYXMCDzqBiVNN63TcDWrIlTVOYpqVrvbbyOE/IyzBoTKF0fdnLPEORFxA==", + "dev": true, + "requires": { + "@babel/types": "^7.3.0" + } + }, + "@types/body-parser": { + "version": "1.19.2", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", + "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==", + "dev": true, + "requires": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "@types/browserslist": { + "version": "4.15.0", + "resolved": "https://registry.npmjs.org/@types/browserslist/-/browserslist-4.15.0.tgz", + "integrity": "sha512-h9LyKErRGZqMsHh9bd+FE8yCIal4S0DxKTOeui56VgVXqa66TKiuaIUxCAI7c1O0LjaUzOTcsMyOpO9GetozRA==", + "dev": true, + "requires": { + "browserslist": "*" + } + }, + "@types/browserslist-useragent": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/browserslist-useragent/-/browserslist-useragent-3.0.4.tgz", + "integrity": "sha512-S/AhrluMHi8EcuxxCtTDBGr8u+XvwUfLvZdARuIS2LFZ/lHoeaeJJYCozD68GKH6wm52FbIHq4WWPF/Ec6a9qA==", + "dev": true + }, + "@types/caniuse-api": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/caniuse-api/-/caniuse-api-3.0.2.tgz", + "integrity": "sha512-YfCDMn7R59n7GFFfwjPAM0zLJQy4UvveC32rOJBmTqJJY8uSRqM4Dc7IJj8V9unA48Qy4nj5Bj3jD6Q8VZ1Seg==", + "dev": true + }, + "@types/clean-css": { + "version": "4.2.6", + "resolved": "https://registry.npmjs.org/@types/clean-css/-/clean-css-4.2.6.tgz", + "integrity": "sha512-Ze1tf+LnGPmG6hBFMi0B4TEB0mhF7EiMM5oyjLDNPE9hxrPU0W+5+bHvO+eFPA+bt0iC1zkQMoU/iGdRVjcRbw==", + "dev": true, + "requires": { + "@types/node": "*", + "source-map": "^0.6.0" + } + }, + "@types/command-line-args": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@types/command-line-args/-/command-line-args-5.2.0.tgz", + "integrity": "sha512-UuKzKpJJ/Ief6ufIaIzr3A/0XnluX7RvFgwkV89Yzvm77wCh1kFaFmqN8XEnGcN62EuHdedQjEMb8mYxFLGPyA==", + "dev": true + }, + "@types/command-line-usage": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@types/command-line-usage/-/command-line-usage-5.0.2.tgz", + "integrity": "sha512-n7RlEEJ+4x4TS7ZQddTmNSxP+zziEG0TNsMfiRIxcIVXt71ENJ9ojeXmGO3wPoTdn7pJcU2xc3CJYMktNT6DPg==", + "dev": true + }, + "@types/connect": { + "version": "3.4.35", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", + "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/content-disposition": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/@types/content-disposition/-/content-disposition-0.5.5.tgz", + "integrity": "sha512-v6LCdKfK6BwcqMo+wYW05rLS12S0ZO0Fl4w1h4aaZMD7bqT3gVUns6FvLJKGZHQmYn3SX55JWGpziwJRwVgutA==", + "dev": true + }, + "@types/cookies": { + "version": "0.7.7", + "resolved": "https://registry.npmjs.org/@types/cookies/-/cookies-0.7.7.tgz", + "integrity": "sha512-h7BcvPUogWbKCzBR2lY4oqaZbO3jXZksexYJVFvkrFeLgbZjQkU4x8pRq6eg2MHXQhY0McQdqmmsxRWlVAHooA==", + "dev": true, + "requires": { + "@types/connect": "*", + "@types/express": "*", + "@types/keygrip": "*", + "@types/node": "*" + } + }, + "@types/debounce": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@types/debounce/-/debounce-1.2.1.tgz", + "integrity": "sha512-epMsEE85fi4lfmJUH/89/iV/LI+F5CvNIvmgs5g5jYFPfhO2S/ae8WSsLOKWdwtoaZw9Q2IhJ4tQ5tFCcS/4HA==", + "dev": true + }, + "@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "@types/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/@types/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-bsKkeSqN7HYyYntFRAmzcwx/dKW4Wa+KVMTInANlI72PWLQmOpZu96j0OqHZGArW4VQwCmJPteQlXaUDeOB0WQ==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/express": { + "version": "4.17.13", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.13.tgz", + "integrity": "sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA==", + "dev": true, + "requires": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.18", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "@types/express-serve-static-core": { + "version": "4.17.28", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.28.tgz", + "integrity": "sha512-P1BJAEAW3E2DJUlkgq4tOL3RyMunoWXqbSCygWo5ZIWTjUgN1YnaXWW4VWl/oc8vs/XoYibEGBKP0uZyF4AHig==", + "dev": true, + "requires": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "@types/html-minifier": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/@types/html-minifier/-/html-minifier-3.5.3.tgz", + "integrity": "sha512-j1P/4PcWVVCPEy5lofcHnQ6BtXz9tHGiFPWzqm7TtGuWZEfCHEP446HlkSNc9fQgNJaJZ6ewPtp2aaFla/Uerg==", + "dev": true, + "requires": { + "@types/clean-css": "*", + "@types/relateurl": "*", + "@types/uglify-js": "*" + } + }, + "@types/http-assert": { + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/@types/http-assert/-/http-assert-1.5.3.tgz", + "integrity": "sha512-FyAOrDuQmBi8/or3ns4rwPno7/9tJTijVW6aQQjK02+kOQ8zmoNg2XJtAuQhvQcy1ASJq38wirX5//9J1EqoUA==", + "dev": true + }, + "@types/http-errors": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-1.8.2.tgz", + "integrity": "sha512-EqX+YQxINb+MeXaIqYDASb6U6FCHbWjkj4a1CKDBks3d/QiB2+PqBLyO72vLDgAO1wUI4O+9gweRcQK11bTL/w==", + "dev": true + }, + "@types/keygrip": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@types/keygrip/-/keygrip-1.0.2.tgz", + "integrity": "sha512-GJhpTepz2udxGexqos8wgaBx4I/zWIDPh/KOGEwAqtuGDkOUJu5eFvwmdBX4AmB8Odsr+9pHCQqiAqDL/yKMKw==", + "dev": true + }, + "@types/koa": { + "version": "2.13.4", + "resolved": "https://registry.npmjs.org/@types/koa/-/koa-2.13.4.tgz", + "integrity": "sha512-dfHYMfU+z/vKtQB7NUrthdAEiSvnLebvBjwHtfFmpZmB7em2N3WVQdHgnFq+xvyVgxW5jKDmjWfLD3lw4g4uTw==", + "dev": true, + "requires": { + "@types/accepts": "*", + "@types/content-disposition": "*", + "@types/cookies": "*", + "@types/http-assert": "*", + "@types/http-errors": "*", + "@types/keygrip": "*", + "@types/koa-compose": "*", + "@types/node": "*" + } + }, + "@types/koa__cors": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/@types/koa__cors/-/koa__cors-3.3.0.tgz", + "integrity": "sha512-FUN8YxcBakIs+walVe3+HcNP+Bxd0SB8BJHBWkglZ5C1XQWljlKcEFDG/dPiCIqwVCUbc5X0nYDlH62uEhdHMA==", + "dev": true, + "requires": { + "@types/koa": "*" + } + }, + "@types/koa-compose": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/@types/koa-compose/-/koa-compose-3.2.5.tgz", + "integrity": "sha512-B8nG/OoE1ORZqCkBVsup/AKcvjdgoHnfi4pZMn5UwAPCbhk/96xyv284eBYW8JlQbQ7zDmnpFr68I/40mFoIBQ==", + "dev": true, + "requires": { + "@types/koa": "*" + } + }, + "@types/koa-compress": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@types/koa-compress/-/koa-compress-2.0.9.tgz", + "integrity": "sha512-1Sa9OsbHd2N2N7gLpdIRHe8W99EZbfIR31D7Iisx16XgwZCnWUtGXzXQejhu74Y1pE/wILqBP6VL49ch/MVpZw==", + "dev": true, + "requires": { + "@types/koa": "*", + "@types/node": "*" + } + }, + "@types/koa-etag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/koa-etag/-/koa-etag-3.0.0.tgz", + "integrity": "sha512-gXQUtKGEnCy0sZLG+uE3wL4mvY1CBPcb6ECjpAoD8RGYy/8ACY1B084k8LTFPIdVcmy7GD6Y4n3up3jnupofcQ==", + "dev": true, + "requires": { + "@types/etag": "*", + "@types/koa": "*" + } + }, + "@types/koa-send": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@types/koa-send/-/koa-send-4.1.3.tgz", + "integrity": "sha512-daaTqPZlgjIJycSTNjKpHYuKhXYP30atFc1pBcy6HHqB9+vcymDgYTguPdx9tO4HMOqNyz6bz/zqpxt5eLR+VA==", + "dev": true, + "requires": { + "@types/koa": "*" + } + }, + "@types/koa-static": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/koa-static/-/koa-static-4.0.2.tgz", + "integrity": "sha512-ns/zHg+K6XVPMuohjpOlpkR1WLa4VJ9czgUP9bxkCDn0JZBtUWbD/wKDZzPGDclkQK1bpAEScufCHOy8cbfL0w==", + "dev": true, + "requires": { + "@types/koa": "*", + "@types/koa-send": "*" + } + }, + "@types/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@types/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw==", + "dev": true + }, + "@types/mime": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", + "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==", + "dev": true + }, + "@types/mime-types": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@types/mime-types/-/mime-types-2.1.1.tgz", + "integrity": "sha512-vXOTGVSLR2jMw440moWTC7H19iUyLtP3Z1YTj7cSsubOICinjMxFeb/V57v9QdyyPGbbWolUFSSmSiRSn94tFw==", + "dev": true + }, + "@types/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", + "dev": true + }, + "@types/node": { + "version": "17.0.42", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.42.tgz", + "integrity": "sha512-Q5BPGyGKcvQgAMbsr7qEGN/kIPN6zZecYYABeTDBizOsau+2NMdSVTar9UQw21A2+JyA2KRNDYaYrPB0Rpk2oQ==", + "dev": true + }, + "@types/parse5": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/@types/parse5/-/parse5-6.0.3.tgz", + "integrity": "sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==", + "dev": true + }, + "@types/path-is-inside": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/path-is-inside/-/path-is-inside-1.0.0.tgz", + "integrity": "sha512-hfnXRGugz+McgX2jxyy5qz9sB21LRzlGn24zlwN2KEgoPtEvjzNRrLtUkOOebPDPZl3Rq7ywKxYvylVcEZDnEw==", + "dev": true + }, + "@types/qs": { + "version": "6.9.7", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", + "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==", + "dev": true + }, + "@types/range-parser": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz", + "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==", + "dev": true + }, + "@types/relateurl": { + "version": "0.2.29", + "resolved": "https://registry.npmjs.org/@types/relateurl/-/relateurl-0.2.29.tgz", + "integrity": "sha512-QSvevZ+IRww2ldtfv1QskYsqVVVwCKQf1XbwtcyyoRvLIQzfyPhj/C+3+PKzSDRdiyejaiLgnq//XTkleorpLg==", + "dev": true + }, + "@types/resolve": { + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.20.2.tgz", + "integrity": "sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==", + "dev": true + }, + "@types/serve-static": { + "version": "1.13.10", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.10.tgz", + "integrity": "sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==", + "dev": true, + "requires": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "@types/trusted-types": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.2.tgz", + "integrity": "sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg==" + }, + "@types/uglify-js": { + "version": "3.17.0", + "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.17.0.tgz", + "integrity": "sha512-3HO6rm0y+/cqvOyA8xcYLweF0TKXlAxmQASjbOi49Co51A1N4nR4bEwBgRoD9kNM+rqFGArjKr654SLp2CoGmQ==", + "dev": true, + "requires": { + "source-map": "^0.6.1" + } + }, + "@types/whatwg-url": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-6.4.0.tgz", + "integrity": "sha512-tonhlcbQ2eho09am6RHnHOgvtDfDYINd5rgxD+2YSkKENooVCFsWizJz139MQW/PV8FfClyKrNe9ZbdHrSCxGg==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@web/parse5-utils": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@web/parse5-utils/-/parse5-utils-1.3.0.tgz", + "integrity": "sha512-Pgkx3ECc8EgXSlS5EyrgzSOoUbM6P8OKS471HLAyvOBcP1NCBn0to4RN/OaKASGq8qa3j+lPX9H14uA5AHEnQg==", + "dev": true, + "requires": { + "@types/parse5": "^6.0.1", + "parse5": "^6.0.1" + }, + "dependencies": { + "parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "dev": true + } + } + }, + "@web/rollup-plugin-copy": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@web/rollup-plugin-copy/-/rollup-plugin-copy-0.3.0.tgz", + "integrity": "sha512-QNNtE7Svhk0/p21etaR0JQXYhlMgTAg/HmRXDMmQHMf3uOUWsWMGiJa96P49RRVJut1ECB5FDFeBUgFEmegysQ==", + "dev": true, + "requires": { + "glob": "^7.1.6" + } + }, + "@web/rollup-plugin-html": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@web/rollup-plugin-html/-/rollup-plugin-html-1.11.0.tgz", + "integrity": "sha512-EqUcV5plGYTV/utdbX8g5t8Yq/z6VfFuQuPD39ckOQuRj7Rj6HD15FHwLHpFAWOR0+GrDnNzR74RvI4ipGm0qQ==", + "dev": true, + "requires": { + "@web/parse5-utils": "^1.3.0", + "glob": "^7.1.6", + "html-minifier-terser": "^6.0.0", + "parse5": "^6.0.1" + }, + "dependencies": { + "clean-css": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.1.tgz", + "integrity": "sha512-lCr8OHhiWCTw4v8POJovCoh4T7I9U11yVsPjMWWnnMmp9ZowCxyad1Pathle/9HjaDp+fdQKjO9fQydE6RHTZg==", + "dev": true, + "requires": { + "source-map": "~0.6.0" + } + }, + "commander": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "dev": true + }, + "html-minifier-terser": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz", + "integrity": "sha512-YXxSlJBZTP7RS3tWnQw74ooKa6L9b9i9QYXY21eUEvhZ3u9XLfv6OnFsQq6RxkhHygsaUMvYsZRV5rU/OVNZxw==", + "dev": true, + "requires": { + "camel-case": "^4.1.2", + "clean-css": "^5.2.2", + "commander": "^8.3.0", + "he": "^1.2.0", + "param-case": "^3.0.4", + "relateurl": "^0.2.7", + "terser": "^5.10.0" + } + }, + "parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "dev": true + }, + "terser": { + "version": "5.15.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.15.1.tgz", + "integrity": "sha512-K1faMUvpm/FBxjBXud0LWVAGxmvoPbZbfTCYbSgaaYQaIXI3/TdI7a7ZGA73Zrou6Q8Zmz3oeUTsp/dj+ag2Xw==", + "dev": true, + "requires": { + "@jridgewell/source-map": "^0.3.2", + "acorn": "^8.5.0", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "dependencies": { + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + } + } + } + } + }, + "@webcomponents/shadycss": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webcomponents/shadycss/-/shadycss-1.11.0.tgz", + "integrity": "sha512-L5O/+UPum8erOleNjKq6k58GVl3fNsEQdSOyh0EUhNmi7tHUyRuCJy1uqJiWydWcLARE5IPsMoPYMZmUGrz1JA==", + "dev": true + }, + "@webcomponents/webcomponentsjs": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@webcomponents/webcomponentsjs/-/webcomponentsjs-2.6.0.tgz", + "integrity": "sha512-Moog+Smx3ORTbWwuPqoclr+uvfLnciVd6wdCaVscHPrxbmQ/IJKm3wbB7hpzJtXWjAq2l/6QMlO85aZiOdtv5Q==", + "dev": true + }, + "abortcontroller-polyfill": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.3.tgz", + "integrity": "sha512-zetDJxd89y3X99Kvo4qFx8GKlt6GsvN3UcRZHwU6iFA/0KiOmhkTVhe8oRoTBiTVPZu09x3vCra47+w8Yz1+2Q==", + "dev": true + }, + "accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dev": true, + "requires": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + } + }, + "acorn": { + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", + "dev": true + }, + "ansi-regex": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true + }, + "anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dev": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "array-back": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", + "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", + "dev": true + }, + "arrify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", + "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", + "dev": true + }, + "async": { + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", + "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", + "dev": true, + "requires": { + "lodash": "^4.17.14" + } + }, + "babel-plugin-dynamic-import-node": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", + "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", + "dev": true, + "requires": { + "object.assign": "^4.1.0" + } + }, + "babel-plugin-polyfill-corejs2": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.1.tgz", + "integrity": "sha512-v7/T6EQcNfVLfcN2X8Lulb7DjprieyLWJK/zOWH5DUYcAgex9sP3h25Q+DLsX9TloXe3y1O8l2q2Jv9q8UVB9w==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.13.11", + "@babel/helper-define-polyfill-provider": "^0.3.1", + "semver": "^6.1.1" + } + }, + "babel-plugin-polyfill-corejs3": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.2.tgz", + "integrity": "sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ==", + "dev": true, + "requires": { + "@babel/helper-define-polyfill-provider": "^0.3.1", + "core-js-compat": "^3.21.0" + } + }, + "babel-plugin-polyfill-regenerator": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.1.tgz", + "integrity": "sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A==", + "dev": true, + "requires": { + "@babel/helper-define-polyfill-provider": "^0.3.1" + } + }, + "balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "brotli-size": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/brotli-size/-/brotli-size-4.0.0.tgz", + "integrity": "sha512-uA9fOtlTRC0iqKfzff1W34DXUA3GyVqbUaeo3Rw3d4gd1eavKVCETXrn3NzO74W+UVkG3UHu8WxUi+XvKI/huA==", + "dev": true, + "requires": { + "duplexer": "0.1.1" + } + }, + "browserslist": { + "version": "4.20.4", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.4.tgz", + "integrity": "sha512-ok1d+1WpnU24XYN7oC3QWgTyMhY/avPJ/r9T00xxvUOIparA/gc+UPUMaod3i+G6s+nI2nUb9xZ5k794uIwShw==", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30001349", + "electron-to-chromium": "^1.4.147", + "escalade": "^3.1.1", + "node-releases": "^2.0.5", + "picocolors": "^1.0.0" + } + }, + "browserslist-useragent": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/browserslist-useragent/-/browserslist-useragent-3.1.4.tgz", + "integrity": "sha512-o9V55790uae98Kwn+vwyO+ww07OreiH1BUc9bjjlUbIL3Fh43fyoasZxZ2EiI4ErfEIKwbycQ1pvwOBlySJ7ow==", + "dev": true, + "requires": { + "browserslist": "^4.19.1", + "electron-to-chromium": "^1.4.67", + "semver": "^7.3.5", + "useragent": "^2.3.0", + "yamlparser": "^0.0.2" + }, + "dependencies": { + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "semver": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + } + } + }, + "buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true + }, + "builtin-modules": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", + "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", + "dev": true + }, + "bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "dev": true + }, + "cache-content-type": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-content-type/-/cache-content-type-1.0.1.tgz", + "integrity": "sha512-IKufZ1o4Ut42YUrZSo8+qnMTrFuKkvyoLXUywKz9GJ5BrhOFGhLdkx9sG4KAnVvbY6kEcSFjLQul+DVmBm2bgA==", + "dev": true, + "requires": { + "mime-types": "^2.1.18", + "ylru": "^1.2.0" + } + }, + "call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, + "camel-case": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz", + "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==", + "dev": true, + "requires": { + "pascal-case": "^3.1.2", + "tslib": "^2.0.3" + }, + "dependencies": { + "tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "dev": true + } + } + }, + "camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true + }, + "caniuse-api": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz", + "integrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==", + "dev": true, + "requires": { + "browserslist": "^4.0.0", + "caniuse-lite": "^1.0.0", + "lodash.memoize": "^4.1.2", + "lodash.uniq": "^4.5.0" + } + }, + "caniuse-lite": { + "version": "1.0.30001352", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001352.tgz", + "integrity": "sha512-GUgH8w6YergqPQDGWhJGt8GDRnY0L/iJVQcU3eJ46GYf52R8tk0Wxp0PymuFVZboJYXGiCqwozAYZNRjVj6IcA==", + "dev": true + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + } + }, + "clean-css": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.4.tgz", + "integrity": "sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A==", + "dev": true, + "requires": { + "source-map": "~0.6.0" + } + }, + "cli-table3": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.3.tgz", + "integrity": "sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==", + "dev": true, + "requires": { + "@colors/colors": "1.5.0", + "string-width": "^4.2.0" + } + }, + "clone": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", + "integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==", + "dev": true + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", + "dev": true + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "command-line-args": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.2.1.tgz", + "integrity": "sha512-H4UfQhZyakIjC74I9d34fGYDwk3XpSr17QhEd0Q3I9Xq1CETHo4Hcuo87WyWHpAF1aSLjLRf5lD9ZGX2qStUvg==", + "dev": true, + "requires": { + "array-back": "^3.1.0", + "find-replace": "^3.0.0", + "lodash.camelcase": "^4.3.0", + "typical": "^4.0.0" + } + }, + "command-line-usage": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-6.1.3.tgz", + "integrity": "sha512-sH5ZSPr+7UStsloltmDh7Ce5fb8XPlHyoPzTpyyMuYCtervL65+ubVZ6Q61cFtFl62UyJlc8/JwERRbAFPUqgw==", + "dev": true, + "requires": { + "array-back": "^4.0.2", + "chalk": "^2.4.2", + "table-layout": "^1.0.2", + "typical": "^5.2.0" + }, + "dependencies": { + "array-back": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.2.tgz", + "integrity": "sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg==", + "dev": true + }, + "typical": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", + "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", + "dev": true + } + } + }, + "commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true + }, + "compressible": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", + "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", + "dev": true, + "requires": { + "mime-db": ">= 1.43.0 < 2" + } + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dev": true, + "requires": { + "safe-buffer": "5.2.1" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + } + } + }, + "content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "dev": true + }, + "convert-source-map": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", + "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.1" + } + }, + "cookies": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/cookies/-/cookies-0.8.0.tgz", + "integrity": "sha512-8aPsApQfebXnuI+537McwYsDtjVxGm8gTIzQI3FDW6t5t/DAhERxtnbEPN/8RX+uZthoz4eCOgloXaE5cYyNow==", + "dev": true, + "requires": { + "depd": "~2.0.0", + "keygrip": "~1.1.0" + } + }, + "core-js-bundle": { + "version": "3.22.8", + "resolved": "https://registry.npmjs.org/core-js-bundle/-/core-js-bundle-3.22.8.tgz", + "integrity": "sha512-Q99g5q/MqLRk3QaouZWCVs9Vfy51iKS1h5icZ73bGFOHEBk8Mx721qPcRIBR3G93sCu1WPneIugdu5kDKrBErg==", + "dev": true + }, + "core-js-compat": { + "version": "3.22.8", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.22.8.tgz", + "integrity": "sha512-pQnwg4xtuvc2Bs/5zYQPaEYYSuTxsF7LBWF0SvnVhthZo/Qe+rJpcEekrdNK5DWwDJ0gv0oI9NNX5Mppdy0ctg==", + "dev": true, + "requires": { + "browserslist": "^4.20.3", + "semver": "7.0.0" + }, + "dependencies": { + "semver": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", + "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", + "dev": true + } + } + }, + "debounce": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/debounce/-/debounce-1.2.1.tgz", + "integrity": "sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==", + "dev": true + }, + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "deep-equal": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", + "integrity": "sha512-bHtC0iYvWhyaTzvV3CZgPeZQqCOBGyGsVV7v4eevpdkLHfiSrXUdBG+qAuSz4RI70sszvjQ1QSZ98An1yNwpSw==", + "dev": true + }, + "deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true + }, + "deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "dev": true + }, + "define-properties": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", + "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", + "dev": true, + "requires": { + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + } + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==", + "dev": true + }, + "depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "dev": true + }, + "destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "dev": true + }, + "dot-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/dot-case/-/dot-case-3.0.4.tgz", + "integrity": "sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==", + "dev": true, + "requires": { + "no-case": "^3.0.4", + "tslib": "^2.0.3" + }, + "dependencies": { + "tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "dev": true + } + } + }, + "duplexer": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", + "integrity": "sha512-sxNZ+ljy+RA1maXoUReeqBBpBC6RLKmg5ewzV+x+mSETmWNoKdZN6vcQjpFROemza23hGFskJtFNoUWUaQ+R4Q==", + "dev": true + }, + "dynamic-import-polyfill": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/dynamic-import-polyfill/-/dynamic-import-polyfill-0.1.1.tgz", + "integrity": "sha512-m953zv0w5oDagTItWm6Auhmk/pY7EiejaqiVbnzSS3HIjh1FCUeK7WzuaVtWPNs58A+/xpIE+/dVk6pKsrua8g==", + "dev": true + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "dev": true + }, + "electron-to-chromium": { + "version": "1.4.152", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.152.tgz", + "integrity": "sha512-jk4Ju5SGZAQQJ1iI4Rgru7dDlvkQPLpNPWH9gIZmwCD4YteA5Bbk1xPcPDUf5jUYs3e1e80RXdi8XgKQZaigeg==", + "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "dev": true + }, + "end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "requires": { + "once": "^1.4.0" + } + }, + "es-dev-server": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-dev-server/-/es-dev-server-2.1.0.tgz", + "integrity": "sha512-Vrq/4PyMzWz33QmOdSncvoWLTJVcv2e96z8FLHQwP9zK7DyLeDZCckII8VTW+btUGtM7aErvLH/d/R2pjjjs8w==", + "dev": true, + "requires": { + "@babel/core": "^7.11.1", + "@babel/plugin-proposal-dynamic-import": "^7.10.4", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4", + "@babel/plugin-proposal-optional-chaining": "^7.11.0", + "@babel/plugin-syntax-class-properties": "^7.8.3", + "@babel/plugin-syntax-import-meta": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-transform-template-literals": "^7.8.3", + "@babel/preset-env": "^7.9.0", + "@koa/cors": "^3.1.0", + "@open-wc/building-utils": "^2.18.3", + "@rollup/plugin-node-resolve": "^11.0.0", + "@rollup/pluginutils": "^3.0.0", + "@types/babel__core": "^7.1.3", + "@types/browserslist": "^4.8.0", + "@types/browserslist-useragent": "^3.0.0", + "@types/caniuse-api": "^3.0.0", + "@types/command-line-args": "^5.0.0", + "@types/command-line-usage": "^5.0.1", + "@types/debounce": "^1.2.0", + "@types/koa": "^2.0.48", + "@types/koa__cors": "^3.0.1", + "@types/koa-compress": "^2.0.9", + "@types/koa-etag": "^3.0.0", + "@types/koa-static": "^4.0.1", + "@types/lru-cache": "^5.1.0", + "@types/mime-types": "^2.1.0", + "@types/minimatch": "^3.0.3", + "@types/path-is-inside": "^1.0.0", + "@types/whatwg-url": "^6.4.0", + "browserslist": "^4.9.1", + "browserslist-useragent": "^3.0.2", + "builtin-modules": "^3.1.0", + "camelcase": "^5.3.1", + "caniuse-api": "^3.0.0", + "caniuse-lite": "^1.0.30001033", + "chokidar": "^3.0.0", + "command-line-args": "^5.0.2", + "command-line-usage": "^6.1.0", + "debounce": "^1.2.0", + "deepmerge": "^4.2.2", + "es-module-lexer": "^0.3.13", + "get-stream": "^5.1.0", + "is-stream": "^2.0.0", + "isbinaryfile": "^4.0.2", + "koa": "^2.7.0", + "koa-compress": "^3.0.0", + "koa-etag": "^3.0.0", + "koa-static": "^5.0.0", + "lru-cache": "^5.1.1", + "mime-types": "^2.1.27", + "minimatch": "^3.0.4", + "open": "^7.0.3", + "parse5": "^5.1.1", + "path-is-inside": "^1.0.2", + "polyfills-loader": "^1.7.4", + "portfinder": "^1.0.21", + "rollup": "^2.7.2", + "strip-ansi": "^5.2.0", + "systemjs": "^6.3.1", + "tslib": "^1.11.1", + "useragent": "^2.3.0", + "whatwg-url": "^7.0.0" + }, + "dependencies": { + "@rollup/plugin-node-resolve": { + "version": "11.2.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-11.2.1.tgz", + "integrity": "sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==", + "dev": true, + "requires": { + "@rollup/pluginutils": "^3.1.0", + "@types/resolve": "1.17.1", + "builtin-modules": "^3.1.0", + "deepmerge": "^4.2.2", + "is-module": "^1.0.0", + "resolve": "^1.19.0" + } + }, + "@types/resolve": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", + "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", + "dev": true, + "requires": { + "@types/node": "*" + } + } + } + }, + "es-module-lexer": { + "version": "0.3.26", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.3.26.tgz", + "integrity": "sha512-Va0Q/xqtrss45hWzP8CZJwzGSZJjDM5/MJRE3IXXnUCcVLElR9BRaE9F62BopysASyc4nM3uwhSW7FFB9nlWAA==", + "dev": true + }, + "es-module-shims": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/es-module-shims/-/es-module-shims-0.4.7.tgz", + "integrity": "sha512-0LTiSQoPWwdcaTVIQXhGlaDwTneD0g9/tnH1PNs3zHFFH+xoCeJclDM3rQeqF9nurXPfMKm3l9+kfPRa5VpbKg==", + "dev": true + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true + }, + "estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "dev": true + }, + "filesize": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/filesize/-/filesize-8.0.7.tgz", + "integrity": "sha512-pjmC+bkIF8XI7fWaH8KxHcZL3DPybs1roSKP4rKDvy20tAWwIObE4+JIseG2byfGKhud5ZnM4YSGKBz7Sh0ndQ==", + "dev": true + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "find-replace": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-replace/-/find-replace-3.0.0.tgz", + "integrity": "sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==", + "dev": true, + "requires": { + "array-back": "^3.0.1" + } + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "dev": true + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true + }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "optional": true + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true + }, + "get-intrinsic": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz", + "integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.3" + } + }, + "get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dev": true, + "requires": { + "pump": "^3.0.0" + } + }, + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + }, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true + }, + "gzip-size": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-7.0.0.tgz", + "integrity": "sha512-O1Ld7Dr+nqPnmGpdhzLmMTQ4vAsD+rHwMm1NLUmoUFFymBOMKxCCrtDxqdBRYXdeEPEi3SyoR4TizJLQrnKBNA==", + "dev": true, + "requires": { + "duplexer": "^0.1.2" + }, + "dependencies": { + "duplexer": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", + "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", + "dev": true + } + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true + }, + "has-property-descriptors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", + "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "dev": true, + "requires": { + "get-intrinsic": "^1.1.1" + } + }, + "has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "dev": true + }, + "has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, + "requires": { + "has-symbols": "^1.0.2" + } + }, + "he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true + }, + "html-minifier": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/html-minifier/-/html-minifier-4.0.0.tgz", + "integrity": "sha512-aoGxanpFPLg7MkIl/DDFYtb0iWz7jMFGqFhvEDZga6/4QTjneiD8I/NXL1x5aaoCp7FSIT6h/OhykDdPsbtMig==", + "dev": true, + "requires": { + "camel-case": "^3.0.0", + "clean-css": "^4.2.1", + "commander": "^2.19.0", + "he": "^1.2.0", + "param-case": "^2.1.1", + "relateurl": "^0.2.7", + "uglify-js": "^3.5.1" + }, + "dependencies": { + "camel-case": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz", + "integrity": "sha512-+MbKztAYHXPr1jNTSKQF52VpcFjwY5RkR7fxksV8Doo4KAYc5Fl4UJRgthBbTmEx8C54DqahhbLJkDwjI3PI/w==", + "dev": true, + "requires": { + "no-case": "^2.2.0", + "upper-case": "^1.1.1" + } + }, + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "lower-case": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz", + "integrity": "sha512-2Fgx1Ycm599x+WGpIYwJOvsjmXFzTSc34IwDWALRA/8AopUKAVPwfJ+h5+f85BCp0PWmmJcWzEpxOpoXycMpdA==", + "dev": true + }, + "no-case": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz", + "integrity": "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==", + "dev": true, + "requires": { + "lower-case": "^1.1.1" + } + }, + "param-case": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/param-case/-/param-case-2.1.1.tgz", + "integrity": "sha512-eQE845L6ot89sk2N8liD8HAuH4ca6Vvr7VWAWwt7+kvvG5aBcPmmphQ68JsEG2qa9n1TykS2DLeMt363AAH8/w==", + "dev": true, + "requires": { + "no-case": "^2.2.0" + } + } + } + }, + "html-minifier-terser": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/html-minifier-terser/-/html-minifier-terser-5.1.1.tgz", + "integrity": "sha512-ZPr5MNObqnV/T9akshPKbVgyOqLmy+Bxo7juKCfTfnjNniTAMdy4hz21YQqoofMBJD2kdREaqPPdThoR78Tgxg==", + "dev": true, + "requires": { + "camel-case": "^4.1.1", + "clean-css": "^4.2.3", + "commander": "^4.1.1", + "he": "^1.2.0", + "param-case": "^3.0.3", + "relateurl": "^0.2.7", + "terser": "^4.6.3" + } + }, + "http-assert": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/http-assert/-/http-assert-1.5.0.tgz", + "integrity": "sha512-uPpH7OKX4H25hBmU6G1jWNaqJGpTXxey+YOUizJUAgu0AjLUeC8D73hTrhvDS5D+GJN1DN1+hhc/eF/wpxtp0w==", + "dev": true, + "requires": { + "deep-equal": "~1.0.1", + "http-errors": "~1.8.0" + } + }, + "http-errors": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "dev": true, + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.1" + }, + "dependencies": { + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", + "dev": true + } + } + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "intersection-observer": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/intersection-observer/-/intersection-observer-0.7.0.tgz", + "integrity": "sha512-Id0Fij0HsB/vKWGeBe9PxeY45ttRiBmhFyyt/geBdDHBYNctMRTE3dC1U3ujzz3lap+hVXlEcVaB56kZP/eEUg==", + "dev": true + }, + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-builtin-module": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.0.tgz", + "integrity": "sha512-phDA4oSGt7vl1n5tJvTWooWWAsXLY+2xCnxNqvKhGEzujg+A43wPlPOyDg3C8XQHN+6k/JTQWJ/j0dQh/qr+Hw==", + "dev": true, + "requires": { + "builtin-modules": "^3.3.0" + } + }, + "is-core-module": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", + "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", + "dev": true, + "requires": { + "has": "^1.0.3" + } + }, + "is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "is-generator-function": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", + "integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==", + "dev": true + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true + }, + "is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "requires": { + "is-docker": "^2.0.0" + } + }, + "isbinaryfile": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-4.0.10.tgz", + "integrity": "sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw==", + "dev": true + }, + "jest-worker": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", + "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", + "dev": true, + "requires": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^7.0.0" + }, + "dependencies": { + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true + }, + "json5": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", + "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "dev": true + }, + "kailib": { + "version": "1.0.48", + "resolved": "https://registry.npmjs.org/kailib/-/kailib-1.0.48.tgz", + "integrity": "sha512-bEANFfmAWWaG4qEPxnOhsp8YQ97ZGJpgg+Ou04CybZg1pPQRAU3UdXNU7Z/LbzDTahSgKMmdfC2uotYTB75VYQ==" + }, + "keygrip": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/keygrip/-/keygrip-1.1.0.tgz", + "integrity": "sha512-iYSchDJ+liQ8iwbSI2QqsQOvqv58eJCEanyJPJi+Khyu8smkcKSFUCbPwzFcL7YVtZ6eONjqRX/38caJ7QjRAQ==", + "dev": true, + "requires": { + "tsscmp": "1.0.6" + } + }, + "koa": { + "version": "2.13.4", + "resolved": "https://registry.npmjs.org/koa/-/koa-2.13.4.tgz", + "integrity": "sha512-43zkIKubNbnrULWlHdN5h1g3SEKXOEzoAlRsHOTFpnlDu8JlAOZSMJBLULusuXRequboiwJcj5vtYXKB3k7+2g==", + "dev": true, + "requires": { + "accepts": "^1.3.5", + "cache-content-type": "^1.0.0", + "content-disposition": "~0.5.2", + "content-type": "^1.0.4", + "cookies": "~0.8.0", + "debug": "^4.3.2", + "delegates": "^1.0.0", + "depd": "^2.0.0", + "destroy": "^1.0.4", + "encodeurl": "^1.0.2", + "escape-html": "^1.0.3", + "fresh": "~0.5.2", + "http-assert": "^1.3.0", + "http-errors": "^1.6.3", + "is-generator-function": "^1.0.7", + "koa-compose": "^4.1.0", + "koa-convert": "^2.0.0", + "on-finished": "^2.3.0", + "only": "~0.0.2", + "parseurl": "^1.3.2", + "statuses": "^1.5.0", + "type-is": "^1.6.16", + "vary": "^1.1.2" + } + }, + "koa-compose": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/koa-compose/-/koa-compose-4.1.0.tgz", + "integrity": "sha512-8ODW8TrDuMYvXRwra/Kh7/rJo9BtOfPc6qO8eAfC80CnCvSjSl0bkRM24X6/XBBEyj0v1nRUQ1LyOy3dbqOWXw==", + "dev": true + }, + "koa-compress": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/koa-compress/-/koa-compress-3.1.0.tgz", + "integrity": "sha512-0m24/yS/GbhWI+g9FqtvStY+yJwTObwoxOvPok6itVjRen7PBWkjsJ8pre76m+99YybXLKhOJ62mJ268qyBFMQ==", + "dev": true, + "requires": { + "bytes": "^3.0.0", + "compressible": "^2.0.0", + "koa-is-json": "^1.0.0", + "statuses": "^1.0.0" + } + }, + "koa-convert": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/koa-convert/-/koa-convert-2.0.0.tgz", + "integrity": "sha512-asOvN6bFlSnxewce2e/DK3p4tltyfC4VM7ZwuTuepI7dEQVcvpyFuBcEARu1+Hxg8DIwytce2n7jrZtRlPrARA==", + "dev": true, + "requires": { + "co": "^4.6.0", + "koa-compose": "^4.1.0" + } + }, + "koa-etag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/koa-etag/-/koa-etag-3.0.0.tgz", + "integrity": "sha512-HYU1zIsH4S9xOlUZGuZIP1PIiJ0EkBXgwL8PjFECb/pUYmAee8gfcvIovregBMYxECDhLulEWT2+ZRsA/lczCQ==", + "dev": true, + "requires": { + "etag": "^1.3.0", + "mz": "^2.1.0" + } + }, + "koa-is-json": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/koa-is-json/-/koa-is-json-1.0.0.tgz", + "integrity": "sha512-+97CtHAlWDx0ndt0J8y3P12EWLwTLMXIfMnYDev3wOTwH/RpBGMlfn4bDXlMEg1u73K6XRE9BbUp+5ZAYoRYWw==", + "dev": true + }, + "koa-send": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/koa-send/-/koa-send-5.0.1.tgz", + "integrity": "sha512-tmcyQ/wXXuxpDxyNXv5yNNkdAMdFRqwtegBXUaowiQzUKqJehttS0x2j0eOZDQAyloAth5w6wwBImnFzkUz3pQ==", + "dev": true, + "requires": { + "debug": "^4.1.1", + "http-errors": "^1.7.3", + "resolve-path": "^1.4.0" + } + }, + "koa-static": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/koa-static/-/koa-static-5.0.0.tgz", + "integrity": "sha512-UqyYyH5YEXaJrf9S8E23GoJFQZXkBVJ9zYYMPGz919MSX1KuvAcycIuS0ci150HCoPf4XQVhQ84Qf8xRPWxFaQ==", + "dev": true, + "requires": { + "debug": "^3.1.0", + "koa-send": "^5.0.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "lit": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/lit/-/lit-2.2.5.tgz", + "integrity": "sha512-Ln463c0xJZfzVxBcHddNvFQQ8Z22NK7KgNmrzwFF1iESHUud412RRExzepj18wpTbusgwoTnOYuoTpo9uyNBaQ==", + "requires": { + "@lit/reactive-element": "^1.3.0", + "lit-element": "^3.2.0", + "lit-html": "^2.2.0" + } + }, + "lit-element": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-3.2.0.tgz", + "integrity": "sha512-HbE7yt2SnUtg5DCrWt028oaU4D5F4k/1cntAFHTkzY8ZIa8N0Wmu92PxSxucsQSOXlODFrICkQ5x/tEshKi13g==", + "requires": { + "@lit/reactive-element": "^1.3.0", + "lit-html": "^2.2.0" + } + }, + "lit-fontawesome": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/lit-fontawesome/-/lit-fontawesome-0.1.3.tgz", + "integrity": "sha512-Ze///hwsmQZpS4KqbsjxxJXvdhlZG//2z3jNuxIcDGSagE4mtvYXYQYFdhiFudUfyP6PimWtWd+f2ERBooKSPQ==", + "requires": { + "lit-element": "^2.2.1" + }, + "dependencies": { + "lit-element": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-2.5.1.tgz", + "integrity": "sha512-ogu7PiJTA33bEK0xGu1dmaX5vhcRjBXCFexPja0e7P7jqLhTpNKYRPmE+GmiCaRVAbiQKGkUgkh/i6+bh++dPQ==", + "requires": { + "lit-html": "^1.1.1" + } + }, + "lit-html": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-1.4.1.tgz", + "integrity": "sha512-B9btcSgPYb1q4oSOb/PrOT6Z/H+r6xuNzfH4lFli/AWhYwdtrgQkQWBbIc6mdnf6E2IL3gDXdkkqNktpU0OZQA==" + } + } + }, + "lit-html": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-2.2.5.tgz", + "integrity": "sha512-e56Y9V+RNA+SGYsWP2DGb/wad5Ccd3xUZYjmcmbeZcnc0wP4zFQRXeXn7W3bbfBekmHDK2dOnuYNYkg0bQjh/w==", + "requires": { + "@types/trusted-types": "^2.0.2" + } + }, + "lit-modal": { + "version": "1.2.38", + "resolved": "https://registry.npmjs.org/lit-modal/-/lit-modal-1.2.38.tgz", + "integrity": "sha512-jSC3xO6TXI5CxNmvdWYlUPSwjftnUySpwzJvgn50ME3bCqCQWXXcVOnfGQY/7mHOe+nDRKFE6Xp3tr1H5iuwpg==", + "requires": { + "kailib": "latest" + } + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", + "dev": true + }, + "lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", + "dev": true + }, + "lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", + "dev": true + }, + "lodash.sortby": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", + "integrity": "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==", + "dev": true + }, + "lodash.uniq": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", + "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==", + "dev": true + }, + "lower-case": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", + "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", + "dev": true, + "requires": { + "tslib": "^2.0.3" + }, + "dependencies": { + "tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "dev": true + } + } + }, + "lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "requires": { + "yallist": "^3.0.2" + } + }, + "magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "dev": true, + "requires": { + "sourcemap-codec": "^1.4.8" + } + }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "dev": true + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true + }, + "mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "requires": { + "mime-db": "1.52.0" + } + }, + "minify-html-literals": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/minify-html-literals/-/minify-html-literals-1.3.5.tgz", + "integrity": "sha512-p8T8ryePRR8FVfJZLVFmM53WY25FL0moCCTycUDuAu6rf9GMLwy0gNjXBGNin3Yun7Y+tIWd28axOf0t2EpAlQ==", + "dev": true, + "requires": { + "@types/html-minifier": "^3.5.3", + "clean-css": "^4.2.1", + "html-minifier": "^4.0.0", + "magic-string": "^0.25.0", + "parse-literals": "^1.2.1" + } + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", + "dev": true + }, + "mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dev": true, + "requires": { + "minimist": "^1.2.6" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, + "requires": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true + }, + "no-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", + "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==", + "dev": true, + "requires": { + "lower-case": "^2.0.2", + "tslib": "^2.0.3" + }, + "dependencies": { + "tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "dev": true + } + } + }, + "node-releases": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.5.tgz", + "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==", + "dev": true + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "dev": true + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true + }, + "object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } + }, + "on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dev": true, + "requires": { + "ee-first": "1.1.1" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "only": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/only/-/only-0.0.2.tgz", + "integrity": "sha512-Fvw+Jemq5fjjyWz6CpKx6w9s7xxqo3+JCyM0WXWeCSOboZ8ABkyvP8ID4CZuChA/wxSx+XSJmdOm8rGVyJ1hdQ==", + "dev": true + }, + "open": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz", + "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==", + "dev": true, + "requires": { + "is-docker": "^2.0.0", + "is-wsl": "^2.1.1" + } + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", + "dev": true + }, + "param-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/param-case/-/param-case-3.0.4.tgz", + "integrity": "sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==", + "dev": true, + "requires": { + "dot-case": "^3.0.4", + "tslib": "^2.0.3" + }, + "dependencies": { + "tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "dev": true + } + } + }, + "parse-literals": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/parse-literals/-/parse-literals-1.2.1.tgz", + "integrity": "sha512-Ml0w104Ph2wwzuRdxrg9booVWsngXbB4bZ5T2z6WyF8b5oaNkUmBiDtahi34yUIpXD8Y13JjAK6UyIyApJ73RQ==", + "dev": true, + "requires": { + "typescript": "^2.9.2 || ^3.0.0 || ^4.0.0" + } + }, + "parse5": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", + "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", + "dev": true + }, + "parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "dev": true + }, + "pascal-case": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz", + "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==", + "dev": true, + "requires": { + "no-case": "^3.0.4", + "tslib": "^2.0.3" + }, + "dependencies": { + "tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "dev": true + } + } + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true + }, + "path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha512-DUWJr3+ULp4zXmol/SZkFf3JGsS9/SIv+Y3Rt93/UjPpDpklB5f1er4O3POIbUuUJ3FXgqte2Q7SrU6zAqwk8w==", + "dev": true + }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true + }, + "polyfills-loader": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/polyfills-loader/-/polyfills-loader-1.7.6.tgz", + "integrity": "sha512-AiLIgmGFmzcvsqewyKsqWb7H8CnWNTSQBoM0u+Mauzmp0DsjObXmnZdeqvTn0HNwc1wYHHTOta82WjSjG341eQ==", + "dev": true, + "requires": { + "@babel/core": "^7.11.1", + "@open-wc/building-utils": "^2.18.3", + "@webcomponents/webcomponentsjs": "^2.4.0", + "abortcontroller-polyfill": "^1.4.0", + "core-js-bundle": "^3.6.0", + "deepmerge": "^4.2.2", + "dynamic-import-polyfill": "^0.1.1", + "es-module-shims": "^0.4.6", + "intersection-observer": "^0.7.0", + "parse5": "^5.1.1", + "regenerator-runtime": "^0.13.3", + "resize-observer-polyfill": "^1.5.1", + "systemjs": "^6.3.1", + "terser": "^4.6.7", + "whatwg-fetch": "^3.0.0" + } + }, + "portfinder": { + "version": "1.0.28", + "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz", + "integrity": "sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA==", + "dev": true, + "requires": { + "async": "^2.6.2", + "debug": "^3.1.1", + "mkdirp": "^0.5.5" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==", + "dev": true + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + }, + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "requires": { + "picomatch": "^2.2.1" + } + }, + "reduce-flatten": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-2.0.0.tgz", + "integrity": "sha512-EJ4UNY/U1t2P/2k6oqotuX2Cc3T6nxJwsM0N0asT7dhrtH1ltUxDn4NalSYmPE2rCkVpcf/X6R0wDwcFpzhd4w==", + "dev": true + }, + "regenerate": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", + "dev": true + }, + "regenerate-unicode-properties": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz", + "integrity": "sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw==", + "dev": true, + "requires": { + "regenerate": "^1.4.2" + } + }, + "regenerator-runtime": { + "version": "0.13.9", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", + "dev": true + }, + "regenerator-transform": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz", + "integrity": "sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==", + "dev": true, + "requires": { + "@babel/runtime": "^7.8.4" + } + }, + "regexpu-core": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.0.1.tgz", + "integrity": "sha512-CriEZlrKK9VJw/xQGJpQM5rY88BtuL8DM+AEwvcThHilbxiTAy8vq4iJnd2tqq8wLmjbGZzP7ZcKFjbGkmEFrw==", + "dev": true, + "requires": { + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.0.1", + "regjsgen": "^0.6.0", + "regjsparser": "^0.8.2", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.0.0" + } + }, + "regjsgen": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz", + "integrity": "sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA==", + "dev": true + }, + "regjsparser": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz", + "integrity": "sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA==", + "dev": true, + "requires": { + "jsesc": "~0.5.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==", + "dev": true + } + } + }, + "relateurl": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz", + "integrity": "sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog==", + "dev": true + }, + "resize-observer-polyfill": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz", + "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==", + "dev": true + }, + "resolve": { + "version": "1.22.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", + "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", + "dev": true, + "requires": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "resolve-path": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/resolve-path/-/resolve-path-1.4.0.tgz", + "integrity": "sha512-i1xevIst/Qa+nA9olDxLWnLk8YZbi8R/7JPbCMcgyWaFR6bKWaexgJgEB5oc2PKMjYdrHynyz0NY+if+H98t1w==", + "dev": true, + "requires": { + "http-errors": "~1.6.2", + "path-is-absolute": "1.0.1" + }, + "dependencies": { + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", + "dev": true + }, + "http-errors": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "integrity": "sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A==", + "dev": true, + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==", + "dev": true + }, + "setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + } + } + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "rollup": { + "version": "2.79.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", + "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", + "dev": true, + "requires": { + "fsevents": "~2.3.2" + } + }, + "rollup-plugin-minify-html-literals": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/rollup-plugin-minify-html-literals/-/rollup-plugin-minify-html-literals-1.2.6.tgz", + "integrity": "sha512-JRq2fjlCTiw0zu+1Sy3ClHGCxA79dWGr4HLHWSQgd060StVW9fBVksuj8Xw/suPkNSGClJf/4xNQ1MF6JeXPaw==", + "dev": true, + "requires": { + "minify-html-literals": "^1.3.5", + "rollup-pluginutils": "^2.8.2" + } + }, + "rollup-plugin-summary": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/rollup-plugin-summary/-/rollup-plugin-summary-1.4.3.tgz", + "integrity": "sha512-m1xViwOlgocoIaaUX8AdWQVFHzti69MXqrdBsxFsXnQOIqtoU9KSNMZjlToAJvV8pjB85+boAw/P3Yu6F/VIaA==", + "dev": true, + "requires": { + "brotli-size": "^4.0.0", + "cli-table3": "^0.6.1", + "filesize": "^8.0.7", + "gzip-size": "^7.0.0", + "terser": "^5.12.1" + }, + "dependencies": { + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "terser": { + "version": "5.15.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.15.1.tgz", + "integrity": "sha512-K1faMUvpm/FBxjBXud0LWVAGxmvoPbZbfTCYbSgaaYQaIXI3/TdI7a7ZGA73Zrou6Q8Zmz3oeUTsp/dj+ag2Xw==", + "dev": true, + "requires": { + "@jridgewell/source-map": "^0.3.2", + "acorn": "^8.5.0", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + } + } + } + }, + "rollup-plugin-terser": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", + "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.10.4", + "jest-worker": "^26.2.1", + "serialize-javascript": "^4.0.0", + "terser": "^5.0.0" + }, + "dependencies": { + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "terser": { + "version": "5.15.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.15.1.tgz", + "integrity": "sha512-K1faMUvpm/FBxjBXud0LWVAGxmvoPbZbfTCYbSgaaYQaIXI3/TdI7a7ZGA73Zrou6Q8Zmz3oeUTsp/dj+ag2Xw==", + "dev": true, + "requires": { + "@jridgewell/source-map": "^0.3.2", + "acorn": "^8.5.0", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + } + } + } + }, + "rollup-pluginutils": { + "version": "2.8.2", + "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", + "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", + "dev": true, + "requires": { + "estree-walker": "^0.6.1" + }, + "dependencies": { + "estree-walker": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz", + "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", + "dev": true + } + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + }, + "serialize-javascript": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", + "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", + "dev": true, + "requires": { + "randombytes": "^2.1.0" + } + }, + "setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "dev": true + }, + "shady-css-scoped-element": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/shady-css-scoped-element/-/shady-css-scoped-element-0.0.2.tgz", + "integrity": "sha512-Dqfl70x6JiwYDujd33ZTbtCK0t52E7+H2swdWQNSTzfsolSa6LJHnTpN4T9OpJJEq4bxuzHRLFO9RBcy/UfrMQ==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", + "dev": true + }, + "statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==", + "dev": true + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "requires": { + "ansi-regex": "^4.1.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true + }, + "systemjs": { + "version": "6.12.1", + "resolved": "https://registry.npmjs.org/systemjs/-/systemjs-6.12.1.tgz", + "integrity": "sha512-hqTN6kW+pN6/qro6G9OZ7ceDQOcYno020zBQKpZQLsJhYTDMCMNfXi/Y8duF5iW+4WWZr42ry0MMkcRGpbwG2A==", + "dev": true + }, + "table-layout": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-1.0.2.tgz", + "integrity": "sha512-qd/R7n5rQTRFi+Zf2sk5XVVd9UQl6ZkduPFC3S7WEGJAmetDTjY3qPN50eSKzwuzEyQKy5TN2TiZdkIjos2L6A==", + "dev": true, + "requires": { + "array-back": "^4.0.1", + "deep-extend": "~0.6.0", + "typical": "^5.2.0", + "wordwrapjs": "^4.0.0" + }, + "dependencies": { + "array-back": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.2.tgz", + "integrity": "sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg==", + "dev": true + }, + "typical": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", + "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", + "dev": true + } + } + }, + "terser": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", + "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", + "dev": true, + "requires": { + "commander": "^2.20.0", + "source-map": "~0.6.1", + "source-map-support": "~0.5.12" + }, + "dependencies": { + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + } + } + }, + "thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, + "requires": { + "any-promise": "^1.0.0" + } + }, + "thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, + "requires": { + "thenify": ">= 3.1.0 < 4" + } + }, + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "requires": { + "os-tmpdir": "~1.0.2" + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "dev": true + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "dev": true + }, + "tr46": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", + "integrity": "sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "tsscmp": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/tsscmp/-/tsscmp-1.0.6.tgz", + "integrity": "sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA==", + "dev": true + }, + "type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dev": true, + "requires": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + } + }, + "typescript": { + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", + "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", + "dev": true + }, + "typical": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-4.0.0.tgz", + "integrity": "sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==", + "dev": true + }, + "uglify-js": { + "version": "3.17.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.3.tgz", + "integrity": "sha512-JmMFDME3iufZnBpyKL+uS78LRiC+mK55zWfM5f/pWBJfpOttXAqYfdDGRukYhJuyRinvPVAtUhvy7rlDybNtFg==", + "dev": true + }, + "unicode-canonical-property-names-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", + "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", + "dev": true + }, + "unicode-match-property-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", + "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", + "dev": true, + "requires": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + } + }, + "unicode-match-property-value-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", + "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", + "dev": true + }, + "unicode-property-aliases-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", + "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==", + "dev": true + }, + "upper-case": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz", + "integrity": "sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA==", + "dev": true + }, + "useragent": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/useragent/-/useragent-2.3.0.tgz", + "integrity": "sha512-4AoH4pxuSvHCjqLO04sU6U/uE65BYza8l/KKBS0b0hnUPWi+cQ2BpeTEwejCSx9SPV5/U03nniDTrWx5NrmKdw==", + "dev": true, + "requires": { + "lru-cache": "4.1.x", + "tmp": "0.0.x" + }, + "dependencies": { + "lru-cache": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", + "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", + "dev": true, + "requires": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", + "dev": true + } + } + }, + "valid-url": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/valid-url/-/valid-url-1.0.9.tgz", + "integrity": "sha512-QQDsV8OnSf5Uc30CKSwG9lnhMPe6exHtTXLRYX8uMwKENy640pU+2BgBL0LRbDh/eYRahNCS7aewCx0wf3NYVA==", + "dev": true + }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "dev": true + }, + "webidl-conversions": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", + "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", + "dev": true + }, + "whatwg-fetch": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz", + "integrity": "sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA==", + "dev": true + }, + "whatwg-url": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", + "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", + "dev": true, + "requires": { + "lodash.sortby": "^4.7.0", + "tr46": "^1.0.1", + "webidl-conversions": "^4.0.2" + } + }, + "wordwrapjs": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-4.0.1.tgz", + "integrity": "sha512-kKlNACbvHrkpIw6oPeYDSmdCTu2hdMHoyXLTcUKala++lx5Y+wjJ/e474Jqv5abnVmwxw08DiTuHmw69lJGksA==", + "dev": true, + "requires": { + "reduce-flatten": "^2.0.0", + "typical": "^5.2.0" + }, + "dependencies": { + "typical": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", + "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", + "dev": true + } + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true + }, + "yamlparser": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/yamlparser/-/yamlparser-0.0.2.tgz", + "integrity": "sha1-Mjk+avxwyMoGa2ZQrGc4tIFnjrw=", + "dev": true + }, + "ylru": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/ylru/-/ylru-1.3.2.tgz", + "integrity": "sha512-RXRJzMiK6U2ye0BlGGZnmpwJDPgakn6aNQ0A7gHRbD4I0uvK4TW6UqkK1V0pp9jskjJBAXd3dRrbzWkqJ+6cxA==", + "dev": true + } + } +} diff --git a/plugins/svc-rating/package.json b/plugins/svc-rating/package.json new file mode 100644 index 0000000..f6de68b --- /dev/null +++ b/plugins/svc-rating/package.json @@ -0,0 +1,22 @@ +{ + "dependencies": { + "lit": "^2.2.5", + "lit-fontawesome": "^0.1.3", + "lit-modal": "^1.2.38" + }, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "serve": "es-dev-server --app-component index.html --node-resolve --watch --open", + "build": "rollup -c" + }, + "devDependencies": { + "@rollup/plugin-node-resolve": "^15.0.0", + "@web/rollup-plugin-copy": "^0.3.0", + "@web/rollup-plugin-html": "^1.11.0", + "es-dev-server": "^2.1.0", + "rollup": "^2.79.1", + "rollup-plugin-minify-html-literals": "^1.2.6", + "rollup-plugin-summary": "^1.4.3", + "rollup-plugin-terser": "^7.0.2" + } +} diff --git a/plugins/svc-rating/rating-display.js b/plugins/svc-rating/rating-display.js new file mode 100644 index 0000000..304f6df --- /dev/null +++ b/plugins/svc-rating/rating-display.js @@ -0,0 +1,308 @@ +import { + LitElement, + html, + css, +} from "https://cdn.jsdelivr.net/gh/lit/dist@3/core/lit-core.min.js"; + +/* ----------------------------------------------------------------- */ +const googleApiKey = "AIzaSyAJ9pMGaHcmOiNeHEXQLGCiJcr5k3TV4F8"; // Google API Key +const timeLimit = 4 * 60 * 60 * 1000; // time limit for the rating data to be cached +/* ----------------------------------------------------------------- */ + +export class DisplayRating extends LitElement { + static get styles() { + return [ + css` + .star-images { + width: 22px; + } + + .empty-star { + margin: 0px 3px; + } + .fa::before { + color: #ffb931; + } + .fa-star-o { + color: #ffb931; + } + `, + ]; + } + + static get properties() { + return { + numberOfStars: { + type: Number, + }, + rating: { + type: Number, + }, + roundRating: { + type: Number, + }, + title: { + type: String, + }, + fullStars: { + type: Number, + }, + halfStars: { + type: Number, + }, + + // the sheet parameters + spreadsheetID: { + // the sheet ID to be referenced for the fetching the rating data + type: String, + }, + sheetName: { + // the sheet Name to be referenced in the main spreadsheet for the fetching the rating data + type: String, + }, + columnName: { + // the column name to be referenced for the fetching the rating data + type: String, + }, + columnValue: { + // the column value to be referenced for the fetching the rating data + // should be a unique identifier + // lab_name for lab rating + // exp_name for experiment rating + type: String, + }, + imagesDirectory: { + // the directory where the images are stored + type: String, + } + }; + } + // function too fetch the rating data from the google sheet + parse_local_storage_object(object, key) { + // function to parse the local storage object and return the rating data + // returns a dictionary with timeFetched and rating + if (object === null) { + return null; + } + const parsedObject = JSON.parse(object); + if (parsedObject[key] === undefined) { + return null; + } + + const newObject = { + timeFetched: parsedObject.timeFetched, + rating: parsedObject["rating"][key], + }; + return newObject; + } + async get_rating() { + // get the rating data from the experiment from local storage + console.debug("Getting the rating....", this.columnValue); + const key = this.columnValue; + + const dataObject = this.parse_local_storage_object( + localStorage.getItem("vl_data"), + key + ); + + const rating = localStorage.getItem(this.columnValue); + // see the time threshold for the rating data + const timeFetched = localStorage.getItem("timeFetched"); + const currentTime = new Date().getTime(); + // caching + if ( + dataObject && + dataObject.rating && + timeFetched && + currentTime - timeFetched < timeLimit + ) { + // set the rating data + this.rating = dataObject.rating; + return; + } else { + // need to make a request to the backend and save the data into the local storage of the browser + const url = `https://sheets.googleapis.com/v4/spreadsheets/${this.spreadsheetID}/values/${this.sheetName}!A:O?key=${googleApiKey}`; + const vl_data = {}; + vl_data["rating"] = {}; + try { + console.debug("Fetching the data"); + console.debug(url); + const response = await fetch(url); + if (!response.ok) { + throw new Error("HTTP error " + response.status); + } + const data = await response.json(); + console.debug(data); + const values = data.values; + // get the column index of the column name + const colIndex = values[1].indexOf(this.columnName); + const ratingIndex = values[1].indexOf("Rating"); + // go over the entire fetched data and cache it for next reference + + for (let i = 1; i < values.length; i++) { + vl_data["rating"][values[i][colIndex]] = values[i][ratingIndex]; + if (values[i][colIndex] === this.columnValue) { + // set the rating for the current display + this.rating = values[i][ratingIndex]; + } + } + // update the time fetched + vl_data["timeFetched"] = new Date().getTime(); + localStorage.setItem("vl_data", JSON.stringify(vl_data)); + } catch { + this.rating = 0; + console.debug("Something went wrong"); + } + console.debug("Rating is ", this.rating); + if (vl_data["rating"] == {}) { + console.debug("Something went wrong"); + this.rating = 0; + } + } + } + // as soon as the web component is loaded into the browser window + // the connectedCallback() method is called + connectedCallback() { + super.connectedCallback(); + console.debug("Connected Callback"); + this.rating = 0; + this.get_rating(this.experimentURL, this.experimentName); + } + // get and set methods for the properties + get sheetName() { + return this._sheetName; + } + set sheetName(name) { + this._sheetName = name; + this.requestUpdate(); + } + set spreadsheetID(id) { + this._spreadsheetID = id; + this.requestUpdate(); + } + get spreadsheetID() { + return this._spreadsheetID; + } + set columnName(name) { + this._columnName = name; + this.requestUpdate(); + } + get columnName() { + return this._columnName; + } + set imagesDirectory(directory) { + this._imagesDirectory = directory; + console.debug("Set"+this._imagesDirectory); + this.requestUpdate(); + } + get imagesDirectory() { + console.debug("Get"+this._imagesDirectory); + return this._imagesDirectory; + } + set columnValue(value) { + this._columnValue = value; + this.requestUpdate(); + } + get columnValue() { + return this._columnValue; + } + get fullStars() { + return this._fullStars; + } + set fullStars(newVal) { + this._fullStars = newVal; + this.requestUpdate(); + } + get halfStars() { + return this._halfStars; + } + set halfStars(newVal) { + this._halfStars = newVal; + this.requestUpdate(); + } + set rating(newRating) { + console.debug("New Rating is ", newRating); + this._rating = newRating; + this._roundRating = Math.round(2 * newRating) / 2; + if (this._roundRating % 1 === 0) { + this._fullStars = this._roundRating; + this._halfStars = 0; + } else { + this._fullStars = Math.floor(this._roundRating); + this._halfStars = 1; + } + console.debug(this._fullStars, this._halfStars); + this.requestUpdate(); + } + get rating() { + return this._rating; + } + set title(newTitle) { + this._title = newTitle; + } + get title() { + return this._title; + } + get numberOfStars() { + return this._numberOfStars; + } + set numberOfStars(newVal) { + this._numberOfStars = newVal; + this.requestUpdate(); + } + // constructor + constructor() { + super(); + this._numberOfStars = 5; + if (this._roundRating % 1 === 0) { + this._fullStars = this._roundRating; + this._halfStars = 0; + } else { + this._fullStars = Math.floor(this._roundRating); + this._halfStars = 1; + } + const fa = document.createElement("link"); + fa.rel = "stylesheet"; + fa.type = "text/javascript"; + fa.href = "https://unpkg.com/fontawesome@5.6.3/index.js"; + document.head.appendChild(fa); + } + render() { + console.debug(this._fullStars, this._halfStars); + const stars = []; + for (let i = 0; i < this._fullStars; i++) { + stars.push( + html`` + // html`` + ); + } + for (let i = 0; i < this._halfStars; i++) { + // stars.push(html``); + stars.push( + html`` + + // html`` + ); + } + console.debug(this._numberOfStars, this._fullStars, this._halfStars); + for ( + let i = 0; + i < this._numberOfStars - this._fullStars - this._halfStars; + i++ + ) { + stars.push( + html`` + + // html`` + ); + // stars.push(html``) + } + console.debug(this.rating); + return html`
+

${this.title}

+
${stars}
+
`; + } +} + +customElements.define("rating-display", DisplayRating); diff --git a/plugins/svc-rating/rating-submit.js b/plugins/svc-rating/rating-submit.js new file mode 100644 index 0000000..7086282 --- /dev/null +++ b/plugins/svc-rating/rating-submit.js @@ -0,0 +1,255 @@ +import { LitElement, html, css } from "https://cdn.jsdelivr.net/gh/lit/dist@3/core/lit-core.min.js"; +import { imageData } from "./imageData.js"; +// import event + +export class SubmitRating extends LitElement { + static get styles() { + return css` + :host { + font-family: Arial, Helvetica, sans-serif; + } + + #submit-button, + #cancel-button { + border: none; + color: #ffffff; + background-color: #288ec8; + text-align: center; + font-size: 1.05rem; + border-radius: 1em; + padding: 0.6em 1.2em; + cursor: pointer; + } + #cancel-button { + background-color: grey; + } + #cancel-button:hover { + background-color: #888; + } + + #rating-button:hover, + #submit-button:hover { + background-color: #a9a9a9; + } + + #rating-button { + margin-top: 1rem; + } + h1 { + margin-bottom: 0rem; + margin-top: 1rem; + } + .modal { + display: none; + position: fixed; + z-index: 1; + top: 0; + left: 0; + width: 100%; + height: 100%; + overflow: auto; + background-color: rgba(0, 0, 0, 0.4); + justify-content: right; + align-items: center; + } + + .vl-mobile-rating-button{ + position: fixed; + bottom : 80px; + right : 20px; + z-index: 1; + font-size: 0; + border: none; + padding: 25px; + background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Facebook_Like_button.svg/1024px-Facebook_Like_button.svg.png); + background-repeat: no-repeat; + background-position: center; + background-size: 50px; + border-radius: 50%; + } + + @media (min-width: 992px) { + .vl-mobile-rating-button{ + display: none; + } + .rating-button{ + display: block; + } + } + @media (max-width: 992px) { + .rating-button{ + display: none; + } + .vl-mobile-rating-button{ + display: block; + } + } + .modal-content { + position: relative; + top: 1px; + right: 1px; + background-color: #fefefe; + padding: 20px; + border: 1px solid #888; + display: flex; + flex-direction: column; + /* justify-content: center; */ + align-items: center; + border-radius: 14px; + transform: translate(-100%,-100%); + } + .close { + color: #aaaaaa; + font-size: 28px; + font-weight: bold; + } + .fa { + color: orange; + } + .modal { + display: none; + height: 100vh; + } + .rating-div { + display: flex; + justify-content: center; + align-items: center; + width: 100%; + height: 100%; + position: relative; + margin: 20px; + } + .rating-header { + width: 100%; + display: flex; + justify-content: space-between; + margin-bottom: 10px; + } + + .rating-header > img { + height: 48px; + } + .rating-button { + position: inherit; + border-radius: 1em; + padding: 0.6em 1.2em; + margin: 15px 0px; + font-size: 1.05rem; + border: none; + color: #ffffff; + background-color: #288ec8; + text-align: center; + font-size: 1.05rem; + border-radius: 1em; + padding: 0.76em 1.2em; + cursor: pointer; + + } + .rating-button:hover { + background-color: #288ec8; + } + #submit-button { + margin-right: 1rem; + } + + .close:hover, + .close:focus { + color: #000; + text-decoration: none; + cursor: pointer; + } + `; + } + open() { + this.shadowRoot.querySelector(".modal").style.display = "flex"; + } + close() { + this.shadowRoot.querySelector(".modal").style.display = "none"; + } + connectedCallback() { + super.connectedCallback(); + // add event listener and extract data + window.addEventListener("vl-rating-click", this.updateRating.bind(this)); + } + + updateRating(e){ + this.experiment_rating = e.detail; + } + handleSubmit(e) { + e.preventDefault(); + + const data = { + rating_name : this.rating_name, + rating: this.experiment_rating, + lab_rating: this.lab_rating, + }; + const myEvent = new CustomEvent("vl-rating-submit", { + detail: data, + bubbles: true, + composed: true, + }); + this.dispatchEvent(myEvent); + this.close(); + } + static properties = { + rating_name:{type: String}, + title : {type : String}, + text: { type: String }, + experiment_rating: { type: Number }, + lab_rating: { type: Number }, + }; + constructor() { + super(); + this.rating_name = "NULL"; + this.experiment_rating = 4.5; + this.lab_rating = 4.5; + } + get rating_name() { + return this._rating_name; + } + set rating_name(rating_name) { + this._rating_name = rating_name; + // console.debug("New Rating Nammeeee",this._rating_name); + this.requestUpdate(); + } + get title() { + return this._title; + } + set title(title) { + this._title = title; + this.requestUpdate(); + } + render() { + return html` +
+ + + + +
+ `; + } +} + +customElements.define("rating-submit", SubmitRating); diff --git a/plugins/svc-rating/rating.js b/plugins/svc-rating/rating.js new file mode 100644 index 0000000..5773756 --- /dev/null +++ b/plugins/svc-rating/rating.js @@ -0,0 +1,135 @@ +import { LitElement, html, css } from "https://cdn.jsdelivr.net/gh/lit/dist@3/core/lit-core.min.js"; + +export class RatingElement extends LitElement { + static styles = css` + :host { + display: block; + width: 100%; + height: 100%; + margin: 0 auto; + padding: 0; + font-family: Arial, Helvetica, sans-serif; + } + .star-div { + display: flex; + justify-content: center; + align-items: center; + width: 100%; + height: 100%; + margin: 0 auto; + padding: 0; + unicode-bidi: bidi-override; + direction: rtl; + } + input { + display: none; + } + + label::before { + content: "\u2606"; + position: relative; + top: 0px; + line-height: 26px; + } + label { + width: 30px; + height: 30px; + font-family: Verdana; + font-size: 30px; + color: orange; + transition: 0.2s ease; + } + label:hover { + color: #ffb931; + transition: 0.2s ease; + cursor: pointer; + } + input:checked ~ label::before { + content: "\u2605"; + } + `; + static get properties() { + return { + rating: { + type: Number, + }, + checked: { + type: Number, + }, + values: { + type: Array, + }, + ids: { + type: Array, + }, + }; + } + set rating(val) { + this._rating = val; + let arr = [], + idarr = []; + for (let i = this._rating; i > 0; i--) { + arr.push(i); + idarr.push(`star-${i}`); + } + this.values = arr; + this.ids = idarr; + this.checked = 0; + } + get rating() { + return this._rating; + } + handleClick(e) { + this.checked = e.target.value; + this._rating = parseInt(e.target.id.split("-")[1]); + + // dispatch event to submit rating from clicked element + const data = { + rating: this._rating + }; + const clickEvent = new CustomEvent("vl-rating-click", { + detail: this._rating, + bubbles: true, + composed: true, + }); + console.debug("My data: ", data); + console.debug("My event: ", clickEvent); + this.dispatchEvent(clickEvent); + + } + + constructor() { + super(); + this._rating = 0; + let arr = [], + idarr = []; + for (let i = this._rating; i > 0; i--) { + arr.push(i); + idarr.push(`star-${i}`); + } + this.values = arr; + this.ids = idarr; + this.checked = 0; + } + + render() { + return html` +
+ ${this.values.map( + (value, index) => + html` + + + ` + )} +
+ `; + } +} + +customElements.define("rating-element", RatingElement); \ No newline at end of file diff --git a/plugins/tool-performance/LICENSE b/plugins/tool-performance/LICENSE new file mode 100644 index 0000000..0ad25db --- /dev/null +++ b/plugins/tool-performance/LICENSE @@ -0,0 +1,661 @@ + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. diff --git a/plugins/tool-performance/README.md b/plugins/tool-performance/README.md new file mode 100644 index 0000000..f4eab19 --- /dev/null +++ b/plugins/tool-performance/README.md @@ -0,0 +1,149 @@ +# Performance-Tool + +## Overview + +This tool generates performance reports which include various scores and metrics as well as suggestions for improvement. The reports are broadly divided into 4 categories: +1. Performance: Performance is the speed at which a page loads. +2. Accessibility: Measures how accessible and easy to operate the page is. +3. Best Practices: Checks for common mistakes in the web development process. +4. Search Engine Optimization (SEO): Optimizes for search engine rankings. + +These reports are generated using a lighthouse API. [Learn More](https://web.dev/learn/#lighthouse). + +Additionally, this tool also informs on whether a page is mobile-friendly or not, and in the case that it is not, it points out the issues/reasons for this. We make use of a google search console (GSC) API for this. [Learn More](https://search.google.com/test/mobile-friendly). + +Note that the tool does the above tasks for all the pages accessible from the base URL where it is hosted, i.e, if it is hosted on an experiment, it will generate the above reports for all the pages part of that experiment. This tool has been integrated into the testing build script for VLABS experiments and will be available for all experiments. + +## Target Audience + +This tool primarily is to help developers better enhance the pages they are building by giving them comprehensive insights into the various aspects of their pages. It allows developers to improve the overall user experience. + +## Technology Used + +The entire tool has been built in nodejs (javascript). Additionally, we make use of the APIs provided by Google by simple HTTP requests. + +## Overall Architecture + +The performance page is organised as per a tab structure where each tab pertains to a learning unit or task of the experiment. For learning units, a second layer of tabs is used for all the tasks under that specific LU. The basic page structure (including the tabs) is set up by a template file. + +Whenever the performance page is loaded, we obtain the links to all the tasks using the 'data-url' attribute set for all the tabs. Then, we check if the local storage already contains valid reports for all the tasks (tab). By valid, we mean that we first check if the timestamp stored for the current set of reports in the local storage is expired (we give a 2 hour lifetime). If it is expired or not at all set (in case this is the first-ever run of the tool or local storage was manually cleared), a new report is generated for all the tasks. + +We loop through all the tasks and color code the tabs as per their lighthouse mobile device performance score for each tab/task. In the case of LU tabs, the tab is color-coded with the color of the worst-performing task under that LU. If the report is being newly generated, the color is added as and when the report is ready. During this loop, we also check if the current task under consideration is the currently active tab and accordingly populate the page with the report for that tab/task. + +Whenever we switch tabs, we check if the report is available for that task and accordingly populate the page with the report. For the population, we have divided the page into two segments, one for the lighthouse report and the other for the mobile friendliness report. + +For the report generation, we use the lighthouse and mobile-friendliness test API (part of Google Search Console tools) APIs. We use separate API keys and parameters for each. It should be noted that the lighthouse API is run twice for each task as we run it once for a desktop device environment and once for a mobile device environment. We use these APIs by simply sending HTTP requests to the relevant URLs with all the parameters encoded within the URL. + +We make sure to generate the reports for a maximum of 5 tasks simultaneously as the lighthouse API has a limit of a maximum of 10 requests at a time, and since each task sends two requests, we make use of all the 10 requests. We enforce this limit by dividing the original array with the links to all the tasks into 5 subarrays and run 5 promises at a time but within the subarrays, only call the API for 1 task at a time. + +## Code Explanation + +The code has been made in a highly modular way such that each file consists of functions that achieve a single common task. + +1. Handlebars + + The handlebar files are used to set up the basic template for the page where the reports will be displayed. + + 1. 'handlebars/performance-report.handlebars' + + This is the main file that setups the entire page template. It imports all the required CSS and js files, which will be covered later on in this document. It sets up all the essential components such as the title, legend, etc, as well as the divs where the data will be populated. + + The most important part is where it sets up the tabs for each of the experiment units with a data attribute 'data-url' set with the relative path to the page/directory of that unit. In the case of learning units, the path is to the directory of that unit, and for tasks, the path is to the page itself. + + For experiments with learning units, the handlebar further sets up the second layer of tabs (nested tabs) for each learning unit. However, here it is assumed that the learning unit itself does not consist of any nested learning units, and hence the tab hierarchy is restricted to a maximum of two levels. To easily identify this second layer as being nested (belonging to another unit), the enclosing 'columns' div id is set to the learning unit's name/label followed by the phrase 'SubTabs'. + + We make use of separate divs for the lighthouse and mobile-friendliness reports. The same divs are used by each of the tabs and these are treated as a common area. + +2. CSS + + The CSS files help format and beautify the performance page. + + 1. 'css/main.css' + + We only make use of a single CSS file, 'main.css'. This file contains all the stylings applied to the various classes. + +3. JS + + The js files are where the main processing occurs, including the parsing of the HTML file setup by the handlebar templates to obtain the pages for which the reports are to be run, the actual report generation using the APIs, the population of the HTML file with the concerned data, etc. + + 1. 'js/main.js' + + This is the main js file where all the functionality is tied together. This file mainly involves the calling of the concerned functions and some basic logic to tie everything together. + + The 'clear' function is to clear the main common area where the data is populated. + + The 'colorClear' function removes the color formatting for all the tabs (both levels). + + The 'newReport' function resets the page to the initial conditions where all data and formatting is cleared from the HTML page, the runtime variables ('reports' and 'luColors'), and the local storage. After this is done, it also starts the generation of new reports for all the pages. + + The 'getDate' function mainly takes a timestamp as input and returns the formatted stamp in a readable form. + + The 'expiryCheck' function checks if the local storage timestamp is set or not. If not, it sets it to the current time and sets the validity duration to 2 hours. If it is already set, it checks if the timestamp is older than the set duration, in which case the storage is considered expired, is reset, and new reports are generated for all the pages. If it has not expired or has just been set, it populates the appropriate div with the timestamp. The timestamp mentioned is considered to be the report timestamp, i.e, the time of when the latest report was generated. + + The 'isElement' function checks if a given element is an HTML element or not. + + The 'changeActive' function is the function that is called whenever tabs are switched by adding it as the callback function for the 'click' event for all the tab divs. First, it removes the 'is-active' class from all the siblings of the newly selected tab and sets it for the new tab. Next, it checks if the previously selected tab was a learning unit tab (in the 1st layer) and not a parent of the new tab. If it satisfies these conditions, it removes the display for the 2nd layer of tabs for that learning unit. Next, it checks if the new tab is a task tab or a learning unit tab. For a task tab, it checks if the report is available and accordingly calls a function to populate the common area with the report. For a learning unit tab, it displays the second layer of tabs and also calls itself for the task tab that is supposed to be active in the 2nd layer. + + The 'populate' function calls the suitable functions for each report segment (lighthouse and GSC) to populate the common area with a given report. + + The 'reportGen' function generates the reports for all the pages 5 at a time (this restriction is due to the limitations of the APIs) by calling the appropriate functions to send the required HTTP requests and obtain the data. But first, it checks if a valid (non-expired) report is directly available in the local storage and only if it is not that it generates a new report for that task and updates the local storage with the new report. It then sets the color coding for the tab (also sets for the parent LU tab if the current task is in the 2nd layer, the parent LU color is set as per the task with the lowest score) and populates the common area with the report if the task tab is the currently active one. + + We call 'parse' upon loading the page directly to obtain the paths for all the tasks and LUs and then call 'reportGen'. We also set a 'click' event for the 'Refresh Report' button to generate a new report when clicked. + + 2. 'js/parse.js' + + It takes all the tabs as input and first resets each of their 'data-url' attributes to the absolute URL using the base URL of the performance page and the relative path given in the old value of the attribute. It returns two arrays, one with the URLs of all the task tabs and the second with the labels of all the LUs. It makes this distinction for each tab by checking if an element exists in the page with the id as the 'data-url' value + the phrase 'SubTabs'. + + 3. 'js/commonData.js' + + It contains all the common data to be shared across multiple files such as API keys, score descriptions, etc. + + 4. 'js/api/lighthouse.js' + + It generates the lighthouse report for a given link for different devices (mobile and desktop) by sending separate HTTP requests for each device with the required parameters (including the API key). It organizes the obtained results into an object with only the required scores and metrics. It also includes a link to generate the detailed report (including suggestions, etc). This link is a direct link to the lighthouse report viewer with various parameters (like device, page, and API key) set. + + 5. 'js/api/gsc.js' + + It sends a HTTP request to the Google Search Console (GSC) mobile-friendliness API with the required parameters (including API key) set appropriately. It checks if the returned status says 'MOBILE_FRIENDLY' or not. If not, then the API will also have returned some issues to fix, which are also included in the report. + + 6. 'js/populate/lighthouse.js' + + The 'genLink' function returns a HTML link element for the detailed report link passed to it. + + The 'drawCircle' function uses HTML canvas to render the dials used for the main lighthouse scores. + + The 'scoreDial' function handles all the main logic and formatting for each lighthouse score dial, including the filling of the dial with the score text, etc. + + The 'genTitle' function is responsible for the device titles 'Mobile' and 'Desktop' for the two lighthouse reports generated per page/task. + + The 'lighthousePopulate' function encapsulates the overall rendering of the entire lighthouse reports by generating the required divs and columns and calling the required functions to populate each of those with the required segments like the titles, dials, metric tables, etc. It loops through all the keys for each report and populates the corresponding data in the appropriate parts. + + 7. 'js/populate/gsc.js' + + The 'gscPopulate' function handles the entire rendering of the mobile-friendliness report. It sets the dropdown's/card's title to the status returned by the report and checks if the issues array has any entries and accordingly populates the droppable segment. It also adds the 'click' event listener for the dropdown/card so that the issues are displayed upon click. + + 8. 'js/util.js' + + This file consists of various functions that may need to be shared across files. + + The 'splitToChunks' function divides a given array into the given number of subarrays. We use this to divide the pages/tasks array (contains all the links for which reports are to be generated) into 5 arrays to loop through the 5 arrays simultaneously to generate reports 5 at a time. + + The 'setUpQuery' function is used to set up the link/API to which we send a HTTP request. It takes the API's base URL, the API key, and the various parameters and sets up the URL to which the request/query is to be sent. It is used for generating both reports (lighthouse and mobile-friendliness). + + The 'genCols' function returns a Bulma columns div appended as a child to the passed div/element. + + The 'genColumn' function returns a Bulma column div appended as a child to the passed div/element (usually appended to a Bulma columns div). + + The 'genText' function appends/adds a given text to a given element/div with the required text formatting. If the flag is set, then it also calls the required function to generate a tooltip for that particular text. + + The 'genToolTip' function handles the generation of a tooltip (hoverable text, usually to give an explanation for the given text) for a given text. + + The 'colorScheme' function returns the appropriate color code based on a given score. This is used for the color-coding of tabs and dials based on the lighthouse scores. + +## Note + +All the code and function calls related to the GSC mobile-friendliness API have been commented out for now as it was found to be inadequate as it runs only very basic tests which most experiments satisfy and misleads developers to believe the experiment is mobile-friendly even though it is not. Possible solutons include: + +1. Adding some tests (manually designed) in addition to the ones run by the API for a more rigorous and accurate result. +2. Using an alternatve tool instead of this API. +3. Changing the nomenclature to more accurately describe the test and to explain that this is only a very basic check and does not guarentee mobile-friendliness. diff --git a/plugins/tool-performance/config.json b/plugins/tool-performance/config.json new file mode 100644 index 0000000..647b269 --- /dev/null +++ b/plugins/tool-performance/config.json @@ -0,0 +1,11 @@ +{ + "jsFiles": [], + "cssFiles": [], + "divs": [], + "pages": [ + { + "targetPage": "", + "template": "" + } + ] +} diff --git a/plugins/tool-performance/css/main.css b/plugins/tool-performance/css/main.css new file mode 100644 index 0000000..a854771 --- /dev/null +++ b/plugins/tool-performance/css/main.css @@ -0,0 +1,120 @@ +.loader { + position: absolute; + left: 50%; + top: 50%; + z-index: 1; + width: 120px; + height: 120px; + margin: -76px 0 0 -76px; + border: 16px solid #f3f3f3; + border-radius: 50%; + border-top: 16px solid #3498db; + -webkit-animation: spin 2s linear infinite; + animation: spin 2s linear infinite; +} + +@-webkit-keyframes spin { + 0% { -webkit-transform: rotate(0deg); } + 100% { -webkit-transform: rotate(360deg); } +} + +@keyframes spin { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } +} + +.red { + color: red; +} + +.orange { + color: orange; +} + +.green { + color: green; +} + +.lined { + border-style: solid; + border-width: 2px; + border-color: #bbb; +} + +.no-show { + display: none; +} + +.legend { + list-style: none; + display: inline; +} + +.legend-common::before { + content: "• "; + font-size: 200%; + vertical-align: middle; +} + +.legend-red::before { + color: red; +} + +.legend-orange::before { + color: orange; +} + +.legend-green::before { + color: green; +} + +.tool-tip { + position: relative; + cursor: pointer; +} + +.tooltip-text { + visibility: hidden; + width: 200px; + background-color: black; + color: #fff; + text-align: center; + border-radius: 6px; + padding: 5px 0; + + /* Position the tooltip */ + position: absolute; + z-index: 1; + bottom: 100%; + left: 50%; + margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */ +} + +.tool-tip:hover .tooltip-text { + visibility: visible; +} + +.link { + text-decoration: underline; +} + +.time-stamp { + color: #2c99ce; +} + +.card-header { + background-color: #ffffff; + color: green; + border: 1px solid #bbbbbb; +} + +.card-header:hover { + cursor: pointer; + background-color: #ffffc2; +} + +.issue { + background-color: #ffffff; + color: red; + border: 1px solid #bbbbbb; +} diff --git a/plugins/tool-performance/handlebars/performance-report.handlebars b/plugins/tool-performance/handlebars/performance-report.handlebars new file mode 100644 index 0000000..37371e1 --- /dev/null +++ b/plugins/tool-performance/handlebars/performance-report.handlebars @@ -0,0 +1,120 @@ + + + + {{> meta }} + {{> commons }} + + + + + + +
+
+
+ + + +
+
+
+ {{{this.experiment_name}}} +
+
+
+
+
+
+ +
+
+ +
+
+
Pagewise Performance Summary
+
+
+ +
+
+
+
+ +
+
+
    +
  • Critical
  • +
  • Needs Work
  • +
  • Good
  • +
+
+
+ +
+
+
+ +
+
+
+ + {{#each units}} + {{#if this.units}} +
+
+
+ +
+
+
+ {{/if}} + {{/each}} + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ +
+ *NOTE: The scores may slightly vary between the detailed report and the given summary due to the use of different APIs for each. Learn more. +
+ + + + + diff --git a/plugins/tool-performance/index.html b/plugins/tool-performance/index.html new file mode 100644 index 0000000..2d1f456 --- /dev/null +++ b/plugins/tool-performance/index.html @@ -0,0 +1,16 @@ + + + + + + + + + +
+ +
+ + diff --git a/plugins/tool-performance/js/api/gsc.js b/plugins/tool-performance/js/api/gsc.js new file mode 100644 index 0000000..65a9b4c --- /dev/null +++ b/plugins/tool-performance/js/api/gsc.js @@ -0,0 +1,20 @@ +import * as util from '../util.js'; + +export async function gscApi(link, api) { + const parameters = { key: api.key }, url = util.setUpQuery(link, api.url, parameters), result = {}; + + const response = await axios.post(url, { + "url": link, + "requestScreenshot": false + }); + + const json = response.data; + result['Status'] = json['mobileFriendliness']; + result['Issues'] = []; + + if (json.mobileFriendlyIssues) { + result['Issues'] = json['mobileFriendlyIssues']; + } + + return {...result}; +}; diff --git a/plugins/tool-performance/js/api/lighthouse.js b/plugins/tool-performance/js/api/lighthouse.js new file mode 100644 index 0000000..21e6479 --- /dev/null +++ b/plugins/tool-performance/js/api/lighthouse.js @@ -0,0 +1,48 @@ +import * as util from '../util.js'; + +function detailedLink(url, strategy) { + return 'https://googlechrome.github.io/lighthouse/viewer/?psiurl=' + url + '&strategy=' + strategy; +} + +export async function lighthouseApi(link, api) { + const strategy = ['mobile', 'desktop'], pageData = {}; + + const proms = strategy.map(async (val, ind) => { + const parameters = { + url: encodeURIComponent(link), + key: api.key, + category: ['performance', 'accessibility', 'best-practices', 'seo'/*, 'pwa'*/], + strategy: val + }, url = util.setUpQuery(link, api.url, parameters); + + + const response = await axios.get(url); + const json = response.data; + + //const cruxMetrics = { + //"First Contentful Paint": json.loadingExperience.metrics.FIRST_CONTENTFUL_PAINT_MS.category, + //"First Input Delay": json.loadingExperience.metrics.FIRST_INPUT_DELAY_MS.category + //}; + + const lighthouse = json.lighthouseResult; + const metrics = { + 'Time To Interactive': lighthouse.audits['interactive'].displayValue, + 'Speed Index': lighthouse.audits['speed-index'].displayValue, + 'First Contentful Paint': lighthouse.audits['first-contentful-paint'].displayValue, + 'Total Blocking Time': lighthouse.audits['total-blocking-time'].displayValue, + 'Largest Contentful Paint': lighthouse.audits['largest-contentful-paint'].displayValue, + 'Cumulative Layout Shift': lighthouse.audits['cumulative-layout-shift'].displayValue, + }; + + metrics['Scores'] = {}; + Object.keys(lighthouse.categories).forEach(function(category, index) { + metrics['Scores'][category] = lighthouse.categories[category].score * 100; + }); + + metrics['Detailed Report'] = detailedLink(link, val); + pageData[val] = metrics; + }); + + await Promise.all(proms); + return {...pageData}; +}; diff --git a/plugins/tool-performance/js/commonData.js b/plugins/tool-performance/js/commonData.js new file mode 100644 index 0000000..adbcc8b --- /dev/null +++ b/plugins/tool-performance/js/commonData.js @@ -0,0 +1,30 @@ +export const commonData = { + "api": { + "lighthouse": { + "url": "https://www.googleapis.com/pagespeedonline/v5/runPagespeed", + "key": "AIzaSyAVkdhwABn964MsgQmYvLF7MQsASFNSEQ8", + }, + "gsc": { + "url": "https://searchconsole.googleapis.com/v1/urlTestingTools/mobileFriendlyTest:run", + "key": "AIzaSyBJ5sSM3HpctL3mQyxibLr6ceYQHlPL7oc", + }, + }, + "scoreMap": { + "performance": "Performance", + "accessibility": "Accessibility", + "best-practices": "Best Practices", + "seo": "SEO", + }, + "descriptions": { + "performance": "Performance is the speed at which a website loads. Learn more.", + "accessibility": "These checks highlight opportunities to improve the accessibility of your web app. A site is said to be accessible if the site's content is available and its functionality can be operated by literally anyone.", + "best-practices": "Best Practices is a list of audits that check common mistakes in web development. Learn more.", + "seo": "It stands for Search Engine Optimization. These checks ensure that your page is optimized for search engine results ranking. Learn more.", + "First Contentful Paint": "First Contentful Paint marks the time at which the first text or image is painted. Learn more.", + "Speed Index": "Speed Index shows how quickly the contents of a page are visibly populated. Learn more.", + "Largest Contentful Paint": "Largest Contentful Paint marks the time at which the largest text or image is painted. Learn more", + "Time To Interactive": "Time to interactive is the amount of time it takes for the page to become fully interactive. Learn more.", + "Total Blocking Time": "Sum of all time periods between FCP and Time to Interactive, when task length exceeds 50ms, expressed in milliseconds. Learn more.", + "Cumulative Layout Shift": "Cumulative Layout Shift measures the movement of visible elements within the viewport. Learn more.", + }, +}; diff --git a/plugins/tool-performance/js/main.js b/plugins/tool-performance/js/main.js new file mode 100644 index 0000000..afe43d9 --- /dev/null +++ b/plugins/tool-performance/js/main.js @@ -0,0 +1,201 @@ +'use strict'; + +import * as util from './util.js'; +import {commonData} from './commonData.js'; +import {parse} from './parse.js'; +import {lighthouseApi} from './api/lighthouse.js'; +//import {gscApi} from './api/gsc.js'; +import {lighthousePopulate} from './populate/lighthouse.js'; +//import {gscPopulate} from './populate/gsc.js'; + +document.addEventListener('DOMContentLoaded', async function() { + + function clear() { + document.getElementById('mobile').innerHTML = ''; + document.getElementById('desktop').innerHTML = ''; + //document.getElementById('gscStatus').innerHTML = ''; + //document.getElementById('gscIssues').innerHTML = ''; + }; + + function colorClear(elemIds) { + elemIds.forEach((elemId) => { + const element = document.querySelector(`[data-url='${elemId}']`); + element.children[0].children[0].classList.remove(...colors); + }); + }; + + function newReport() { + clear(); + reports = {}; + luColors = {}; + colorClear(pages); + colorClear(LUs); + storage.clear(); + document.getElementById('loader').style.display = 'block'; + reportGen(); + }; + + function getDate(ts) + { + const date = new Date(ts), days = ["Sun", "Mon", "Tue", "Wed", "Thurs", "Fri", "Sat"]; + const dateStrg = `${days[date.getDay()]}, ${date.getDate()}/${('0' + String(date.getMonth())).slice(-2)}/${date.getFullYear()} ${('0' + String(date.getHours())).slice(-2)}:${('0' + String(date.getMinutes())).slice(-2)}:${('0' + String(date.getSeconds())).slice(-2)}`; + return dateStrg; + }; + + function expiryCheck(storage) { + let timeStamp = JSON.parse(storage.getItem('timeStamp')), duration = JSON.parse(storage.getItem('duration')); + if (timeStamp === null) { + timeStamp = Date.now(); + duration = 2 * 60 * 60 * 1000; + storage.setItem('timeStamp', JSON.stringify(timeStamp)); + storage.setItem('duration', JSON.stringify(duration)); + } + + else if (Date.now() > timeStamp + duration) { + newReport(); + return true; + } + + document.getElementById("timeStamp").innerHTML = getDate(timeStamp); + return false; + }; + + function isElement(element) { + return element instanceof Element || element instanceof HTMLDocument; + }; + + async function changeActive(elem) { + const siblingTabs = elem.parentNode.children, subtabs = document.getElementById(elem.getAttribute('data-url') + 'SubTabs'); + Object.keys(siblingTabs).forEach((key, i) => { + siblingTabs[key].classList.remove('is-active'); + }); + + elem.classList.add('is-active'); + if(isElement(active) && !active.contains(elem)) + { + active.classList.add('no-show'); + active.style.display = 'none'; + active = {}; + } + + if(subtabs === null) + { + if(!(elem.getAttribute('data-url') in reports)) + { + document.getElementById('loader').style.display = 'block'; + clear(); + } + + else + { + document.getElementById('loader').style.display = 'none'; + populate(elem.getAttribute('data-url'), reports[elem.getAttribute('data-url')]); + } + } + + else + { + subtabs.classList.remove('no-show'); + subtabs.style.display = 'block'; + active = subtabs; + + const currTabs = document.getElementsByClassName('is-active'); + Object.keys(currTabs).forEach((key, ind) => { + if(subtabs.contains(currTabs[key])) + { + changeActive(currTabs[key]); + } + }); + } + }; + + function populate(link, report) { + lighthousePopulate(link, report['lighthouse']); + //gscPopulate(link, report['gsc']); + }; + + const storage = window.localStorage, tabs = document.getElementsByClassName('v-tabs'), colors = ['red', 'orange', 'green']; + let active = {}, luColors = {}; + const [pages, LUs] = parse(tabs); + + const subArrs = util.splitToChunks([...pages], 5); + let reports = {}; + + function reportGen() { + const promises = subArrs.map(async (pages, i) => { + for(let i = 0; i < pages.length; i += 1) + { + const report = JSON.parse(storage.getItem(pages[i])); + + if(expiryCheck(storage)) + { + break; + } + + if(report !== null && /*Object.keys(report.gsc).length &&*/ Object.keys(report.lighthouse).length) + { + reports[pages[i]] = {...report}; + } + + else + { + const lighthouseRes = await lighthouseApi(pages[i], commonData.api['lighthouse']); + //gscRes = await gscApi(pages[i], commonData.api['gsc']); + reports[pages[i]] = { + lighthouse: {...lighthouseRes}, + //gsc: {...gscRes} + }; + + storage.setItem(pages[i], JSON.stringify(reports[pages[i]])); + } + + const mobPerfScore = reports[pages[i]]['lighthouse']['mobile']['Scores']['performance'], tab = document.querySelector(`[data-url='${pages[i]}']`), currColor = util.colorScheme(mobPerfScore); + let parentLU = null; + + LUs.forEach((lu, ix) => { + const luElem = document.getElementById(lu + 'SubTabs'); + if(luElem.contains(tab)) + { + parentLU = document.querySelector(`[data-url='${lu}']`); + const parentTabText = parentLU.children[0].children[0]; + if(!(lu in luColors)) + { + luColors[lu] = currColor; + parentTabText.classList.add(colors[currColor]); + } + + else if(luColors[lu] > currColor) + { + parentTabText.classList.remove(colors[luColors[lu]]); + luColors[lu] = currColor; + parentTabText.classList.add(colors[currColor]); + } + } + }); + + tab.children[0].children[0].classList.add(colors[currColor]); + + if(tab.classList.contains('is-active')) + { + if(parentLU === null || parentLU.classList.contains('is-active')) + { + document.getElementById('loader').style.display = 'none'; + populate(pages[i], reports[pages[i]]); + } + } + } + }); + + Promise.all(promises); + }; + + reportGen(); + Object.keys(tabs).forEach((listIdx, ix) => { + const tabList = tabs[listIdx].children[0].children; + Object.keys(tabList).forEach((tab, ix) => { + tabList[tab].addEventListener("click", (event) => changeActive(event.currentTarget)); + }); + }); + + document.getElementById('newReport').addEventListener("click", (event) => newReport()); +}); diff --git a/plugins/tool-performance/js/parse.js b/plugins/tool-performance/js/parse.js new file mode 100644 index 0000000..c199bfd --- /dev/null +++ b/plugins/tool-performance/js/parse.js @@ -0,0 +1,32 @@ +export function parse(tabs) { + let pages = [], LUs = []; + const origin = window.location.origin, pathArray = window.location.pathname.split('/'); + let base_url = origin; + pathArray.forEach((part, ix) => { + if(ix !== pathArray.length - 1) + { + base_url += "/" + part; + } + }); + + //base_url = "https://virtual-labs.github.io/temp-exp-bubble-sort-iiith"; + Object.keys(tabs).forEach((listIdx, ix) => { + const tabList = tabs[listIdx].children[0].children; + Object.keys(tabList).forEach((tab, ix) => { + const subtabs = document.getElementById(tabList[tab].getAttribute('data-url') + 'SubTabs'); + if(subtabs === null) + { + tabList[tab].setAttribute('data-url', base_url + '/' + tabList[tab].getAttribute('data-url')); + pages.push(tabList[tab].getAttribute('data-url')); + } + + else + { + subtabs.style.display = 'none'; + LUs.push(tabList[tab].getAttribute('data-url')); + } + }); + }); + + return [pages, LUs]; +}; diff --git a/plugins/tool-performance/js/populate/gsc.js b/plugins/tool-performance/js/populate/gsc.js new file mode 100644 index 0000000..1d13da7 --- /dev/null +++ b/plugins/tool-performance/js/populate/gsc.js @@ -0,0 +1,35 @@ +import * as util from '../util.js'; + +export function gscPopulate(link, data) +{ + const statusElem = document.getElementById('gscStatus'); + statusElem.innerHTML = ''; + util.genText(statusElem, "Mobile Friendliness Status: " + data['Status'], "Mobile Friendliness Status: " + data['Status'].replace(/_/g, " ")); + + const issuesElem = document.getElementById('gscIssues'); + issuesElem.innerHTML = ''; + if(data['Issues'].length) + { + document.getElementById('gscIcon').style.display = 'inline-block'; + document.getElementById('card-toggle').style.color = 'red'; + data['Issues'].forEach((issue, idx) => { + const issueDiv = document.createElement("div"); + util.genText(issueDiv, issue, issue); + issueDiv.classList.add('issue'); + issuesElem.appendChild(issueDiv); + }); + } + + else + { + document.getElementById('gscIcon').style.display = 'none'; + document.getElementById('card-toggle').style.color = 'green'; + } + + const cardToggles = document.getElementsByClassName('card-toggle'); + Object.keys(cardToggles).forEach((key, ind) => { + cardToggles[ind].addEventListener('click', e => { + e.currentTarget.parentNode.children[1].classList.toggle('is-hidden'); + }); + }); +}; diff --git a/plugins/tool-performance/js/populate/lighthouse.js b/plugins/tool-performance/js/populate/lighthouse.js new file mode 100644 index 0000000..cc4621f --- /dev/null +++ b/plugins/tool-performance/js/populate/lighthouse.js @@ -0,0 +1,106 @@ +import {commonData} from '../commonData.js'; +import * as util from '../util.js'; + +function genLink(elem, link) +{ + const a = document.createElement('a'); + a.textContent = 'Detailed Report'; + a.href = link; + a.target = "_blank"; + a.classList.add('is-size-4', 'link'); + elem.appendChild(a); +}; + +function drawCircle(ctx, radius, color, percent) { + percent = Math.min(Math.max(0, percent || 1), 1); + ctx.beginPath(); + ctx.arc(0, 0, radius, 0, Math.PI * 2 * percent, false); + ctx.strokeStyle = color; + ctx.stroke(); +}; + +function scoreDial(segment, score) +{ + const canvas = document.createElement('canvas'), ctx = canvas.getContext('2d'); + const options = { + size: 100, + lineWidth: 5, + rotate: 0 + }; + + canvas.width = canvas.height = options.size; + ctx.translate(options.size / 2, options.size / 2); // change center + ctx.rotate((-1 / 2 + options.rotate / 180) * Math.PI); // rotate -90 deg + + const radius = (options.size - options.lineWidth) / 2; + ctx.lineCap = 'round'; + ctx.lineWidth = options.lineWidth; + const colors = ['red', 'orange', 'green']; + const color = colors[util.colorScheme(score)]; + + drawCircle(ctx, radius, '#efefef', 100 / 100); + drawCircle(ctx, radius, color, score / 100); + + ctx.rotate((1 / 2 + options.rotate / 180) * Math.PI); // rotate 90 deg to original config + ctx.font = "30px Arial"; + ctx.fillStyle = color; + ctx.fillText(score, -15, 10); + + segment.appendChild(canvas); +}; + +function genTitle(elem, title) { + const titleDiv = document.createElement("div"); + titleDiv.classList.add('subtitle', 'is-2'); + const text = document.createTextNode(title); + titleDiv.appendChild(text); + elem.appendChild(titleDiv); +}; + +export function lighthousePopulate(link, data) +{ + Object.keys(data).forEach((device, idx) => { + const segment = document.getElementById(device); + segment.innerHTML = ''; + + const titleCols = util.genColumnsContainer(segment), linkCols = util.genColumnsContainer(segment), dialsCols = util.genColumnsContainer(segment), metricCols = util.genColumnsContainer(segment); + const titleColumn = util.genColumn(titleCols), metricColumn = util.genColumn(metricCols), half = Math.floor((Object.keys(data[device]).length - 2) / 2), table = document.createElement('table'); + table.classList.add('table', 'is-bordered'); + metricColumn.appendChild(table); + + let ctr = 0, row = table.insertRow(); + genTitle(titleColumn, device[0].toUpperCase() + device.slice(1)); + + Object.keys(data[device]).reverse().forEach(function(metric, ind) { + if(metric === 'Scores') + { + Object.keys(data[device]['Scores']).forEach((key, ix) => { + const column = util.genColumn(dialsCols); + scoreDial(column, data[device]['Scores'][key]); + util.genText(column, key, commonData.scoreMap[key], true); + }); + } + + else if(metric === 'Detailed Report') + { + const column = util.genColumn(linkCols); + column.innerHTML = "*"; + genLink(column, data[device]['Detailed Report']); + } + + else + { + if(Object.keys(row.children).length === 4) + { + row = table.insertRow(); + } + + let cell = row.insertCell(); + util.genText(cell, metric, metric, true); + cell = row.insertCell(); + util.genText(cell, data[device][metric], data[device][metric]); + ctr += 1; + } + }); + }); +}; diff --git a/plugins/tool-performance/js/util.js b/plugins/tool-performance/js/util.js new file mode 100644 index 0000000..622a6e0 --- /dev/null +++ b/plugins/tool-performance/js/util.js @@ -0,0 +1,90 @@ +import {commonData} from './commonData.js'; + +export function splitToChunks(array, parts) { + let result = []; + for (let i = parts; i > 0; i--) { + result.push(array.splice(0, Math.ceil(array.length / i))); + } + return result; +}; + +export function setUpQuery(link, api, parameters) { + let query = `${api}?`; + Object.keys(parameters).forEach(function(key, i) { + if(Array.isArray(parameters[key])) + { + parameters[key].forEach(function(elem, idx) { + query += `${key}=${elem}&`; + }); + } + + else + { + query += `${key}=${parameters[key]}&`; + } + }); + + query = query.slice(0, -1); + return query; +}; + +export function genColumnsContainer(elem) { + const cols = document.createElement("div"); + cols.classList.add('columns', 'is-centered'); + elem.appendChild(cols); + return cols; +}; + +export function genColumn(elem) { + const column = document.createElement("div"); + column.classList.add('column', 'has-text-centered'); + elem.appendChild(column); + return column; +}; + +export function genText(elem, metric, content, toolTipFlag) { + const textElem = document.createElement("div"); + textElem.classList.add('is-size-5'); + const text = content[0].toUpperCase() + content.slice(1); + textElem.innerHTML = text; + + if(toolTipFlag) + { + const infoIcon = document.createElement("i"); + infoIcon.classList.add('fa', 'fa-info-circle'); + genToolTip(infoIcon, commonData.descriptions[metric]); + textElem.innerHTML += " "; + textElem.appendChild(infoIcon); + } + elem.appendChild(textElem); +}; + + +export function genToolTip(elem, text) { + elem.classList.add('tool-tip'); + const desc = document.createElement("span"); + desc.classList.add('tooltip-text'); + desc.innerHTML = text; + elem.appendChild(desc); +}; + +export function colorScheme(score) { + const colors = { + "red": 0, + "orange": 1, + "green": 2, + }; + let color = colors.green; + + if(score < 50) + { + color = colors.red; + } + + else if(score < 90) + { + color = colors.orange; + } + + return color; +}; diff --git a/plugins/tool-validation/.gitignore b/plugins/tool-validation/.gitignore new file mode 100644 index 0000000..b512c09 --- /dev/null +++ b/plugins/tool-validation/.gitignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/plugins/tool-validation/README.md b/plugins/tool-validation/README.md new file mode 100644 index 0000000..2af3698 --- /dev/null +++ b/plugins/tool-validation/README.md @@ -0,0 +1,48 @@ +# Build-Validation + +This repository contains the code that validates code after the experiments are build. + +## Plugin Information + +1. This repository is acting like a plugin for the repository ph3-lab-mgmt. +2. It is integrated with the build process for that you could check the `validation-plugin-Aditya` branch. +3. For integrating this plugin a new pluginscope by the name `POSTBUILD` is created as well a new plugin function `processPostBuildPlugins` in plugin.js has been created. +4. The below function is called after experiment builds in experiment.js. +5. The information of this plugin is in file `plugin-config.testing.js` + +## [link_validation.js](https://github.com/virtual-labs/build-validation/blob/main/link_validation.js) + +This file has 2 functions: +1. `findFiles` : This function recursively finds all the html files in the directory. Since this repository is a plugin for the main repository the path to directory is hard-coded as `let testFolder = '../../../build/';`. + +2. `checkLinks`: This function checks if the links in the html files contains only valid links, i.e. the link must start with `https:` not with `http:`. For this purpose JSDOM is used. + +## How to Run it on a Local Machine - For Developers + +1. For running this you must have a node.js and npm installed on your local machine. +2. Preferred version of node.js is 16.14.2 and npm is 8.5.0. +3. Run the following command: +``` +npm install +node node link_validation.js +``` + +# Eslint configuration + +The repository [ph3-lab-mgmt](https://github.com/virtual-labs/ph3-lab-mgmt) has an eslint configuration file [.eslintrc.js](https://github.com/virtual-labs/ph3-lab-mgmt/blob/master/.eslintrc.js). Click here for eslint documentation: [eslint.org](https://eslint.org/docs/latest/user-guide/configuring/). + +Eslint is configured with the eslint recommended, with plugin as only warning. The warnings can be changed to error by adding it in the rules section of eslintrc.js. + +## How to Run it on a Local Machine - For Developers + +The command to run eslint is `npx eslint -c ./.eslintrc.js ../experiment` which is also added in the [package.json](https://github.com/virtual-labs/ph3-lab-mgmt/blob/master/package.json). + +## Fixing Issues using ESLINT +Add the relevant issue is the .eslintrc.js file and run `npx eslint -c ./.eslintrc.js ../experiment --fix`. +For example: +``` +"rules": { + "semi": [2, "always"] +}, +``` +Then run the command `npx eslint -c ./.eslintrc.js ../experiment --fix` it will add semi-colon at end of those line where semi-colon is not present. diff --git a/plugins/tool-validation/config.json b/plugins/tool-validation/config.json new file mode 100644 index 0000000..647b269 --- /dev/null +++ b/plugins/tool-validation/config.json @@ -0,0 +1,11 @@ +{ + "jsFiles": [], + "cssFiles": [], + "divs": [], + "pages": [ + { + "targetPage": "", + "template": "" + } + ] +} diff --git a/plugins/tool-validation/css/main.css b/plugins/tool-validation/css/main.css new file mode 100644 index 0000000..0a489e8 --- /dev/null +++ b/plugins/tool-validation/css/main.css @@ -0,0 +1,293 @@ +.loader { + position: absolute; + left: 50%; + top: 50%; + z-index: 1; + width: 120px; + height: 120px; + margin: -76px 0 0 -76px; + border: 16px solid #f3f3f3; + border-radius: 50%; + border-top: 16px solid #3498db; + -webkit-animation: spin 2s linear infinite; + animation: spin 2s linear infinite; +} + +@-webkit-keyframes spin { + 0% { + -webkit-transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + } +} + +@keyframes spin { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} + +.red { + color: red; +} + +.orange { + color: orange; +} + +.green { + color: green; +} + +.lined { + border-style: solid; + border-width: 2px; + border-color: #bbb; +} + +.no-show { + display: none; +} + +.legend { + list-style: none; + display: inline; +} + +.legend-common::before { + content: "• "; + font-size: 200%; + vertical-align: middle; +} + +.legend-red::before { + color: red; +} + +.legend-orange::before { + color: orange; +} + +.legend-green::before { + color: green; +} + +.tool-tip { + position: relative; + cursor: pointer; +} + +.tooltip-text { + visibility: hidden; + width: 200px; + background-color: black; + color: #fff; + text-align: center; + border-radius: 6px; + padding: 5px 0; + + /* Position the tooltip */ + position: absolute; + z-index: 1; + bottom: 100%; + left: 50%; + margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */ +} + +.tool-tip:hover .tooltip-text { + visibility: visible; +} + +.link { + text-decoration: underline; +} + +.time-stamp { + color: #2c99ce; +} + +.card-header { + background-color: #ffffff; + color: green; + border: 1px solid #bbbbbb; +} + +.card-header:hover { + cursor: pointer; + background-color: #ffffc2; +} + +.issue { + background-color: #ffffff; + color: red; + border: 1px solid #bbbbbb; +} + +/* Card */ + +.card { + background: #fff; + border-radius: 2px; + display: inline-block; + width: 98%; + margin: 1rem; + padding: 2rem; + position: relative; + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); +} + +.card-title { + font-size: 1.5rem; + padding: 1rem; + font-weight: 700; + color: black; +} + +.tabs { + overflow: hidden; + box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5); + border-radius: 8px; + width: 95%; + margin: auto; +} +.tab { + width: 100%; + color: white; + overflow: hidden; + margin-bottom: -8px; +} +.tab-label { + display: flex; + justify-content: space-between; + padding: 1em; + background: #2c99ce; + font-weight: bold; + cursor: pointer; + /* Icon */ +} +.tab-label:hover { + background: #22759f; +} +.tab-label::after { + content: "\276F"; + width: 1em; + height: 1em; + text-align: center; + transition: all 0.35s; +} +.tab-content { + max-height: 0; + padding: 0 1em; + color: #808080; + background: white; + transition: all 0.35s; +} +.tab-close { + display: flex; + justify-content: flex-end; + padding: 1em; + font-size: 0.75em; + background: #2c99ce; + cursor: pointer; +} + +.cb { + position: absolute; + opacity: 0; + z-index: -1; +} + +.tab-close:hover { + background: #22759f; +} +input:checked + .tab-label { + background: #22759f; +} +input:checked + .tab-label::after { + transform: rotate(90deg); +} +input:checked ~ .tab-content { + max-height: 80vh; + padding: 1em 2em 2em 2em; + overflow-y: scroll; +} + +.data-table { + width: 100%; + table-layout: fixed; +} + +.table-cell { + padding: 5px 0px; + vertical-align: middle; + text-align: left; +} + +.eslint-message { + overflow: hidden; + text-overflow: ellipsis; + margin-right: 10%; +} + +.table-row { + border-bottom: 1px solid #e0e0e0; +} + +.status-chip { + padding: 5px 10px; + border-radius: 50px; + display: inline-flex; + width: 4.5rem; + justify-content: center; + align-items: center; +} + +.background-warning { + background: #f0ad4e; + color: #ffffff; +} + +.background-error { + background: #d9534f; + color: #ffffff; +} + +/* panel */ +.panel { + background: #fff; + border-radius: 2px; + display: inline-block; + width: 100%; + margin: 1rem; + padding: 2rem; + position: relative; + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); +} + +.panel-label { + font-size: 1.3rem; + font-weight: bold; + margin-top: 1rem; +} + + +.collapse-icon { + /* top-right */ + position: absolute; + top: 0; + right: 0; + padding: 3rem 6rem 0 0; + cursor: pointer; +} + +.small-btn { + margin-top: 1rem; + height: 2rem; + font-size: 1rem; + padding: 0.2rem 0.5rem; + border-radius: 10px; +} \ No newline at end of file diff --git a/plugins/tool-validation/handlebars/validator-report.handlebars b/plugins/tool-validation/handlebars/validator-report.handlebars new file mode 100644 index 0000000..fb9f16a --- /dev/null +++ b/plugins/tool-validation/handlebars/validator-report.handlebars @@ -0,0 +1,125 @@ + + + + {{> meta }} + {{> commons }} + + + + + + +
+
+
+ + + +
+
+
+ {{{this.experiment_name}}} +
+
+
+
+
+
+ + {{!--
+
--}} + +
+
+
Validator
+
+
+ + +
+
+
+ + + + + + + + + +
+ Severity +
+ + + + + + +
+
+
+
+
+ ESLint +
+
+ +
+
+
+
+
+
+ HTTPS +
+
+ +
+
+
+
+
+
+ Experiment Descriptor +
+
+ +
+
+
+
+
+
+ Assesment Task +
+
+ +
+
+
+
+
+
+ + + diff --git a/plugins/tool-validation/index.html b/plugins/tool-validation/index.html new file mode 100644 index 0000000..7f73631 --- /dev/null +++ b/plugins/tool-validation/index.html @@ -0,0 +1,16 @@ + + + + + + + + + +
+
+ Validator +
+
+ + diff --git a/plugins/tool-validation/js/link_validation.js b/plugins/tool-validation/js/link_validation.js new file mode 100644 index 0000000..13ca772 --- /dev/null +++ b/plugins/tool-validation/js/link_validation.js @@ -0,0 +1,52 @@ +let testFolder = process.argv[2]; +const fs = require('fs'); +// const got = require('got'); +const { JSDOM } = require("jsdom"); +const filename = testFolder + 'links.log'; + +function appendToFile(filename,data) +{ + fs.appendFile(filename, data, function (err) { + if (err) throw err; + }); +} + +function main() { + findFiles(testFolder); +} + +main(); + +function checkLinks(file) { + const html = fs.readFileSync(file); + const dom = new JSDOM(html); + const { document } = dom.window; + const shortenedFile = file.replace(testFolder, ''); + + const links = document.querySelectorAll('a'); + links.forEach(link => { + const href = link.getAttribute('href'); + if (href !== null) { + if (href.startsWith('http://')) { + appendToFile(filename, shortenedFile + ' ' + href + '\n'); + } + } + }); +} + +function findFiles(folder) { + fs.readdir(folder, { withFileTypes: true }, (err, files) => { + if (err) { + console.log(err); + } + files.forEach(file => { + if (file.isDirectory()) { + findFiles(folder + file.name + "/"); + } else { + if (file.name.endsWith('.html')) { + checkLinks(folder + file.name); + } + } + }); + }); +} \ No newline at end of file diff --git a/plugins/tool-validation/js/main.js b/plugins/tool-validation/js/main.js new file mode 100644 index 0000000..0755f0d --- /dev/null +++ b/plugins/tool-validation/js/main.js @@ -0,0 +1,422 @@ +"use strict"; + +function display(text) { + let logs = text.split("\n"); + let output = ""; + logs.forEach((log) => { + output += `

${log}\n

`; + }); + document.getElementById("output").innerHTML = output; +} + +async function getLog(file, type) { + let x = await fetch(file); + let y = await x.text(); + let output = ""; + if (type === "eslint") { + output = generateTabs(handleDataEslint(y), type); + document.getElementById("output-eslint").innerHTML = output; + } else if (type === "https") { + output = generateTabs(handleDataHttps(y), type); + document.getElementById("output-https").innerHTML = output; + } else if (type === "descriptor") { + output = generateTabs(handleDataDescriptor(y), type); + document.getElementById("output-descriptor").innerHTML = output; + } else if (type === "assesment") { + output = generateTabs(handleAssesment(y), type); + document.getElementById("output-assesment").innerHTML = output; + } +} + +function handleAssesment(data){ + let logs = data.split("\n"); + let formatted_data = {}; + let currentKey = ""; + let totalFiles = 0; + let count = 0; + for (let i=0;i 0){ + count++; + formatted_data[currentKey].push(logs[i]); + } + } + let stats = `Total Files: ${totalFiles}
+ ✖ ${count} problems (0 errors, ${count} warnings)`; + formatted_data["FINAL_STATS"] = stats; + return formatted_data; +} + +function getFilenameFromPath(path) { + // get filename from path by splitting path by last occurence of / or \ + const filename = path.split(/[\\/]/).pop(); + return filename; +} + + +function handleDataEslint(data) { + let logs = data.split("\n"); + let formatted_data = {}; + let stats = ""; + let flag = false; + let last_key = ""; + for (let i = 0; i < logs.length; i++) { + if (flag == true) { + if (logs[i].startsWith(" ")) { + formatted_data[last_key].push(logs[i]); + } else { + flag = false; + } + } else { + if (logs[i].length > 0) { + if (logs[i].startsWith("✖")) { + stats = logs[i]; + continue; + } + const filename = getFilenameFromPath(logs[i]); + formatted_data[filename] = []; + last_key = filename; + flag = true; + } + } + } + formatted_data["FINAL_STATS"] = stats; + return formatted_data; +} + +function handleDataHttps(data) { + let logs = data.split("\n"); + let formatted_data = {}; + let count = 0; + for (let i = 0; i < logs.length; i++) { + if (logs[i].length == 0) continue; + let log = logs[i].split(" "); + const key = log[0]; + const value = log[1] || ""; + if (value !== "") { + count++; + } else { + continue; + } + if (key in formatted_data) { + formatted_data[key].push(value); + } else { + formatted_data[key] = [value]; + } + } + let stats = `Total Links: ${count}
+ ✖ ${count} problems (0 errors, ${count} warnings)`; + + formatted_data["FINAL_STATS"] = stats; + // console.log(formatted_data); + return formatted_data; +} + +function handleDataDescriptor(data) { + let logs = data.split("\n"); + // remove first 6 lines and last 2 lines + logs = logs.slice(6, logs.length - 2); + let formatted_data = {}; + let count = 0; + for (let i = 0; i < logs.length; i++) { + // check if line starts with / + if (logs[i].startsWith("/")) { + count++; + // get filename + const head = logs[i].split(":")[0]; + let text = logs[i].split(":")[1]; + text = text.trim(); + const filename = head[i].split("/")[1]; + + // get index + let index = ""; + let path = head.split("/"); + for (let i = 0; i < path.length; i++) { + // if path[i] is a string of numbers + if (!isNaN(path[i])) { + if (index === "") { + index = path[i]; + } else { + index += `.${path[i]}`; + } + } + } + // add index to text + text = `${index}: ${text}`; + if (filename in formatted_data) { + formatted_data[filename].push(text); + } else { + formatted_data[filename] = [text]; + } + } else if (logs[i].startsWith("Json Error:")) { + if("base" in formatted_data) { + formatted_data["base"].push(`0: ${logs[i].split(":")[1].trim()}`); + } else { + formatted_data["base"] = [`0: ${logs[i].split(":")[1].trim()}`]; + } + count++; + } + } + let stats = `✖ ${count} problems (0 errors, ${count} warnings)`; + + formatted_data["FINAL_STATS"] = stats; + // console.log(formatted_data); + return formatted_data; +} + +function generateTab(filename, data, index, type) { + const tabulated_data = generateTable(data, type); + const tab = ` +
+ + +
+ ${tabulated_data} +
+
`; + return tab; +} + +// data is a dictionary with key as filename and value as array of data strings +function generateTabs(data, type) { + let stats = ""; + stats = data["FINAL_STATS"]; + delete data["FINAL_STATS"]; + let tabs = ""; + let index = 0; + for (let filename in data) { + index++; + tabs += generateTab(filename, data[filename], `-${type}${index}`, type); + } + return ` +
+ ${tabs} +
+
+

${stats}

+
`; +} + +function generateTable(data, type) { + let table = ""; + for (let i = 0; i < data.length; i++) { + table += generateRow(data[i], type); + } + const headers = generateHeaders(type); + return ` + + ${headers} + + ${table} + +
`; +} + +function generateHeaders(type) { + let headers = ""; + if (type === "eslint") { + headers = ` + Position + Severity + Message + Rule`; + } else if (type === "https" || type === "assesment") { + headers = `Severity + Link`; + } + else if (type === "descriptor") { + headers = `Index + Severity + Message`; + } + let head = `${headers}`; + return head; +} + +function generateRow(data, type) { + let row = ""; + // split with tab + let split_data = data.split(" "); + // remove all empty strings + split_data = split_data.filter(function (el) { + return el != ""; + }); + + let severity = ""; + + if (type === "eslint") { + // check severity + // clear all whitespaces + split_data[1] = split_data[1].replace(/\s/g, ""); + severity = split_data[1]; + if (split_data[1] == "error") { + split_data[1] = `
${split_data[1]}
`; + } else if (split_data[1] == "warning") { + split_data[1] = `
${split_data[1]}
`; + } + + // message + split_data[2] = `
${split_data[2]}
`; + } else if (type === "https" || type === "assesment") { + split_data.unshift( + `
warning
` + ); + severity = "warning"; + // link + split_data[1] = ``; + } + else if (type === "descriptor") { + split_data = [] + split_data.push(data.split(":")[0]); + split_data.push(`
warning
`); + split_data.push(data.split(":")[1]); + } + + for (let i = 0; i < split_data.length; i++) { + row += `${split_data[i]}`; + } + return `${row}`; +} + +window.toggleEslint = () => { + const eslint = document.getElementById("eslint"); + const checkbox = document.getElementById("checkbox-eslint"); + if (checkbox.checked) { + eslint.style.display = "inline-block"; + } else { + eslint.style.display = "none"; + } +}; + +window.toggleHttps = () => { + const https = document.getElementById("https"); + const checkbox = document.getElementById("checkbox-https"); + if (checkbox.checked) { + https.style.display = "inline-block"; + } else { + https.style.display = "none"; + } +}; + +window.toggleDescriptor = () => { + const descriptor = document.getElementById("descriptor"); + const checkbox = document.getElementById("checkbox-descriptor"); + if (checkbox.checked) { + descriptor.style.display = "inline-block"; + } else { + descriptor.style.display = "none"; + } +}; + +window.toggleAssesment = () => { + const assesment = document.getElementById("assesment"); + const checkbox = document.getElementById("checkbox-assesment"); + if (checkbox.checked) { + assesment.style.display = "inline-block"; + } else { + assesment.style.display = "none"; + } +}; + +function collapseEslint() { + const eslint = document.getElementById("eslint"); + const checkboxes = eslint.querySelectorAll(".cb"); + for (let i = 0; i < checkboxes.length; i++) { + checkboxes[i].checked = false; + } +} + +function collapseHttps() { + const https = document.getElementById("https"); + const checkboxes = https.querySelectorAll(".cb"); + for (let i = 0; i < checkboxes.length; i++) { + checkboxes[i].checked = false; + } +} + +function collapseDescriptor() { + const descriptor = document.getElementById("descriptor"); + const checkboxes = descriptor.querySelectorAll(".cb"); + for (let i = 0; i < checkboxes.length; i++) { + checkboxes[i].checked = false; + } +} + +function collapseAssesment() { + const assesment = document.getElementById("assesment"); + const checkboxes = assesment.querySelectorAll(".cb"); + for (let i = 0; i < checkboxes.length; i++) { + checkboxes[i].checked = false; + } +} + +function toggleWarning() { + const checkbox = document.getElementById("checkbox-warning"); + const warnings = document.getElementsByClassName("is-warning"); + + if (checkbox.checked) { + for (let i = 0; i < warnings.length; i++) { + warnings[i].style.display = "table-row"; + } + } else { + for (let i = 0; i < warnings.length; i++) { + warnings[i].style.display = "none"; + } + } +} + +function toggleError() { + const checkbox = document.getElementById("checkbox-error"); + const errors = document.getElementsByClassName("is-error"); + + if (checkbox.checked) { + for (let i = 0; i < errors.length; i++) { + errors[i].style.display = "table-row"; + } + } else { + for (let i = 0; i < errors.length; i++) { + errors[i].style.display = "none"; + } + } +} + +function collapseAll() { + collapseEslint(); + collapseHttps(); + collapseDescriptor(); + collapseAssesment(); +} + +window.collapseEslint = collapseEslint; +window.collapseHttps = collapseHttps; +window.collapseDescriptor = collapseDescriptor; +window.collapseAssesment = collapseAssesment; +window.collapseAll = collapseAll; + +window.toggleWarning = toggleWarning; +window.toggleError = toggleError; + +await getLog("eslint.log", "eslint"); +await getLog("links.log", "https"); +await getLog("assesment.log", "assesment"); +await getLog("validate.log", "descriptor"); diff --git a/plugins/tool-validation/package-lock.json b/plugins/tool-validation/package-lock.json new file mode 100644 index 0000000..1ee31d9 --- /dev/null +++ b/plugins/tool-validation/package-lock.json @@ -0,0 +1,1645 @@ +{ + "name": "validation", + "version": "1.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "validation", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "fs": "^0.0.1-security", + "got": "^10.4.0", + "jsdom": "^16.2.1" + } + }, + "node_modules/@sindresorhus/is": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-2.1.1.tgz", + "integrity": "sha512-/aPsuoj/1Dw/kzhkgz+ES6TxG0zfTMGLwuK2ZG00k/iJzYHTLCE8mVU8EPqEOp/lmxPoq1C1C9RYToRKb2KEfg==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/is?sponsor=1" + } + }, + "node_modules/@szmarczak/http-timer": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz", + "integrity": "sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==", + "dependencies": { + "defer-to-connect": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@tootallnate/once": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", + "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/@types/cacheable-request": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@types/cacheable-request/-/cacheable-request-6.0.2.tgz", + "integrity": "sha512-B3xVo+dlKM6nnKTcmm5ZtY/OL8bOAOd2Olee9M1zft65ox50OzjEHW91sDiU9j6cvW8Ejg1/Qkf4xd2kugApUA==", + "dependencies": { + "@types/http-cache-semantics": "*", + "@types/keyv": "*", + "@types/node": "*", + "@types/responselike": "*" + } + }, + "node_modules/@types/http-cache-semantics": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz", + "integrity": "sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ==" + }, + "node_modules/@types/json-buffer": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/json-buffer/-/json-buffer-3.0.0.tgz", + "integrity": "sha512-3YP80IxxFJB4b5tYC2SUPwkg0XQLiu0nWvhRgEatgjf+29IcWO9X1k8xRv5DGssJ/lCrjYTjQPcobJr2yWIVuQ==" + }, + "node_modules/@types/keyv": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/@types/keyv/-/keyv-3.1.4.tgz", + "integrity": "sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/node": { + "version": "18.0.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.3.tgz", + "integrity": "sha512-HzNRZtp4eepNitP+BD6k2L6DROIDG4Q0fm4x+dwfsr6LGmROENnok75VGw40628xf+iR24WeMFcHuuBDUAzzsQ==" + }, + "node_modules/@types/responselike": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/responselike/-/responselike-1.0.0.tgz", + "integrity": "sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/abab": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", + "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==" + }, + "node_modules/acorn": { + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", + "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-globals": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz", + "integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==", + "dependencies": { + "acorn": "^7.1.1", + "acorn-walk": "^7.1.1" + } + }, + "node_modules/acorn-globals/node_modules/acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-walk": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", + "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, + "node_modules/browser-process-hrtime": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", + "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==" + }, + "node_modules/cacheable-lookup": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-2.0.1.tgz", + "integrity": "sha512-EMMbsiOTcdngM/K6gV/OxF2x0t07+vMOWxZNSCRQMjO2MY2nhZQ6OYhOOpyQrbhqsgtvKGI7hcq6xjnA92USjg==", + "dependencies": { + "@types/keyv": "^3.1.1", + "keyv": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/cacheable-request": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.2.tgz", + "integrity": "sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew==", + "dependencies": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^4.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^6.0.1", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/clone-response": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", + "integrity": "sha512-yjLXh88P599UOyPTFX0POsd7WxnbsVsGohcwzHOLspIhhpalPw1BcqED8NblyZLKcGrL8dTgMlcaZxV2jAD41Q==", + "dependencies": { + "mimic-response": "^1.0.0" + } + }, + "node_modules/clone-response/node_modules/mimic-response": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", + "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", + "engines": { + "node": ">=4" + } + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/compress-brotli": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/compress-brotli/-/compress-brotli-1.3.8.tgz", + "integrity": "sha512-lVcQsjhxhIXsuupfy9fmZUFtAIdBmXA7EGY6GBdgZ++qkM9zG4YFT8iU7FoBxzryNDMOpD1HIFHUSX4D87oqhQ==", + "dependencies": { + "@types/json-buffer": "~3.0.0", + "json-buffer": "~3.0.1" + }, + "engines": { + "node": ">= 12" + } + }, + "node_modules/cssom": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz", + "integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==" + }, + "node_modules/cssstyle": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz", + "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", + "dependencies": { + "cssom": "~0.3.6" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cssstyle/node_modules/cssom": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", + "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==" + }, + "node_modules/data-urls": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", + "integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==", + "dependencies": { + "abab": "^2.0.3", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decimal.js": { + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz", + "integrity": "sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==" + }, + "node_modules/decompress-response": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-5.0.0.tgz", + "integrity": "sha512-TLZWWybuxWgoW7Lykv+gq9xvzOsUjQ9tF09Tj6NSTYGMTCHNXzrPnD6Hi+TgZq19PyTAGH4Ll/NIM/eTGglnMw==", + "dependencies": { + "mimic-response": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" + }, + "node_modules/defer-to-connect": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz", + "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==", + "engines": { + "node": ">=10" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/domexception": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz", + "integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==", + "dependencies": { + "webidl-conversions": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/domexception/node_modules/webidl-conversions": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", + "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==", + "engines": { + "node": ">=8" + } + }, + "node_modules/duplexer3": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", + "integrity": "sha512-CEj8FwwNA4cVH2uFCoHUrmojhYh1vmCdOaneKJXwkeY1i9jnlslVo9dx+hQ5Hl9GnH/Bwy/IjxAyOePyPKYnzA==" + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/escodegen": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.0.0.tgz", + "integrity": "sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" + }, + "node_modules/form-data": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fs": { + "version": "0.0.1-security", + "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", + "integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w==" + }, + "node_modules/get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/got": { + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/got/-/got-10.7.0.tgz", + "integrity": "sha512-aWTDeNw9g+XqEZNcTjMMZSy7B7yE9toWOFYip7ofFTLleJhvZwUxxTxkTpKvF+p1SAA4VHmuEy7PiHTHyq8tJg==", + "dependencies": { + "@sindresorhus/is": "^2.0.0", + "@szmarczak/http-timer": "^4.0.0", + "@types/cacheable-request": "^6.0.1", + "cacheable-lookup": "^2.0.0", + "cacheable-request": "^7.0.1", + "decompress-response": "^5.0.0", + "duplexer3": "^0.1.4", + "get-stream": "^5.0.0", + "lowercase-keys": "^2.0.0", + "mimic-response": "^2.1.0", + "p-cancelable": "^2.0.0", + "p-event": "^4.0.0", + "responselike": "^2.0.0", + "to-readable-stream": "^2.0.0", + "type-fest": "^0.10.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/got?sponsor=1" + } + }, + "node_modules/html-encoding-sniffer": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", + "integrity": "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==", + "dependencies": { + "whatwg-encoding": "^1.0.5" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/http-cache-semantics": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", + "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" + }, + "node_modules/http-proxy-agent": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", + "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", + "dependencies": { + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-potential-custom-element-name": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", + "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==" + }, + "node_modules/jsdom": { + "version": "16.7.0", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz", + "integrity": "sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==", + "dependencies": { + "abab": "^2.0.5", + "acorn": "^8.2.4", + "acorn-globals": "^6.0.0", + "cssom": "^0.4.4", + "cssstyle": "^2.3.0", + "data-urls": "^2.0.0", + "decimal.js": "^10.2.1", + "domexception": "^2.0.1", + "escodegen": "^2.0.0", + "form-data": "^3.0.0", + "html-encoding-sniffer": "^2.0.1", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-potential-custom-element-name": "^1.0.1", + "nwsapi": "^2.2.0", + "parse5": "6.0.1", + "saxes": "^5.0.1", + "symbol-tree": "^3.2.4", + "tough-cookie": "^4.0.0", + "w3c-hr-time": "^1.0.2", + "w3c-xmlserializer": "^2.0.0", + "webidl-conversions": "^6.1.0", + "whatwg-encoding": "^1.0.5", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.5.0", + "ws": "^7.4.6", + "xml-name-validator": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "canvas": "^2.5.0" + }, + "peerDependenciesMeta": { + "canvas": { + "optional": true + } + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==" + }, + "node_modules/keyv": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.3.2.tgz", + "integrity": "sha512-kn8WmodVBe12lmHpA6W8OY7SNh6wVR+Z+wZESF4iF5FCazaVXGWOtnbnvX0tMQ1bO+/TmOD9LziuYMvrIIs0xw==", + "dependencies": { + "compress-brotli": "^1.3.8", + "json-buffer": "3.0.1" + } + }, + "node_modules/levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", + "dependencies": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "node_modules/lowercase-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", + "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", + "engines": { + "node": ">=8" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mimic-response": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-2.1.0.tgz", + "integrity": "sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/normalize-url": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", + "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/nwsapi": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.1.tgz", + "integrity": "sha512-JYOWTeFoS0Z93587vRJgASD5Ut11fYl5NyihP3KrYBvMe1FRRs6RN7m20SA/16GM4P6hTnZjT+UmDOt38UeXNg==" + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/optionator": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "dependencies": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-cancelable": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz", + "integrity": "sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/p-event": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/p-event/-/p-event-4.2.0.tgz", + "integrity": "sha512-KXatOjCRXXkSePPb1Nbi0p0m+gQAwdlbhi4wQKJPI1HsMQS9g+Sqp2o+QHziPr7eYJyOZet836KoHEVM1mwOrQ==", + "dependencies": { + "p-timeout": "^3.1.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==", + "engines": { + "node": ">=4" + } + }, + "node_modules/p-timeout": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", + "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==" + }, + "node_modules/prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/psl": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", + "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==" + }, + "node_modules/pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "engines": { + "node": ">=6" + } + }, + "node_modules/responselike": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/responselike/-/responselike-2.0.0.tgz", + "integrity": "sha512-xH48u3FTB9VsZw7R+vvgaKeLKzT6jOogbQhEe/jewwnZgzPcnyWui2Av6JpoYZF/91uueC+lqhWqeURw5/qhCw==", + "dependencies": { + "lowercase-keys": "^2.0.0" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/saxes": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz", + "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", + "dependencies": { + "xmlchars": "^2.2.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/symbol-tree": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", + "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==" + }, + "node_modules/to-readable-stream": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-2.1.0.tgz", + "integrity": "sha512-o3Qa6DGg1CEXshSdvWNX2sN4QHqg03SPq7U6jPXRahlQdl5dK8oXjkU/2/sGrnOZKeGV1zLSO8qPwyKklPPE7w==", + "engines": { + "node": ">=8" + } + }, + "node_modules/tough-cookie": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz", + "integrity": "sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.1.2" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tr46": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz", + "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", + "dependencies": { + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", + "dependencies": { + "prelude-ls": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.10.0.tgz", + "integrity": "sha512-EUV9jo4sffrwlg8s0zDhP0T2WD3pru5Xi0+HTE3zTUmBaZNhfkite9PdSJwdXLwPVW0jnAHT56pZHIOYckPEiw==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/w3c-hr-time": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", + "integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==", + "dependencies": { + "browser-process-hrtime": "^1.0.0" + } + }, + "node_modules/w3c-xmlserializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz", + "integrity": "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==", + "dependencies": { + "xml-name-validator": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/webidl-conversions": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", + "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", + "engines": { + "node": ">=10.4" + } + }, + "node_modules/whatwg-encoding": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz", + "integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==", + "dependencies": { + "iconv-lite": "0.4.24" + } + }, + "node_modules/whatwg-mimetype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz", + "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==" + }, + "node_modules/whatwg-url": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz", + "integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==", + "dependencies": { + "lodash": "^4.7.0", + "tr46": "^2.1.0", + "webidl-conversions": "^6.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "node_modules/ws": { + "version": "7.5.8", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.8.tgz", + "integrity": "sha512-ri1Id1WinAX5Jqn9HejiGb8crfRio0Qgu8+MtL36rlTA6RLsMdWt1Az/19A2Qij6uSHUMphEFaTKa4WG+UNHNw==", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/xml-name-validator": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", + "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==" + }, + "node_modules/xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==" + } + }, + "dependencies": { + "@sindresorhus/is": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-2.1.1.tgz", + "integrity": "sha512-/aPsuoj/1Dw/kzhkgz+ES6TxG0zfTMGLwuK2ZG00k/iJzYHTLCE8mVU8EPqEOp/lmxPoq1C1C9RYToRKb2KEfg==" + }, + "@szmarczak/http-timer": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz", + "integrity": "sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==", + "requires": { + "defer-to-connect": "^2.0.0" + } + }, + "@tootallnate/once": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", + "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==" + }, + "@types/cacheable-request": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@types/cacheable-request/-/cacheable-request-6.0.2.tgz", + "integrity": "sha512-B3xVo+dlKM6nnKTcmm5ZtY/OL8bOAOd2Olee9M1zft65ox50OzjEHW91sDiU9j6cvW8Ejg1/Qkf4xd2kugApUA==", + "requires": { + "@types/http-cache-semantics": "*", + "@types/keyv": "*", + "@types/node": "*", + "@types/responselike": "*" + } + }, + "@types/http-cache-semantics": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz", + "integrity": "sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ==" + }, + "@types/json-buffer": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/json-buffer/-/json-buffer-3.0.0.tgz", + "integrity": "sha512-3YP80IxxFJB4b5tYC2SUPwkg0XQLiu0nWvhRgEatgjf+29IcWO9X1k8xRv5DGssJ/lCrjYTjQPcobJr2yWIVuQ==" + }, + "@types/keyv": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/@types/keyv/-/keyv-3.1.4.tgz", + "integrity": "sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==", + "requires": { + "@types/node": "*" + } + }, + "@types/node": { + "version": "18.0.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.3.tgz", + "integrity": "sha512-HzNRZtp4eepNitP+BD6k2L6DROIDG4Q0fm4x+dwfsr6LGmROENnok75VGw40628xf+iR24WeMFcHuuBDUAzzsQ==" + }, + "@types/responselike": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/responselike/-/responselike-1.0.0.tgz", + "integrity": "sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==", + "requires": { + "@types/node": "*" + } + }, + "abab": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", + "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==" + }, + "acorn": { + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", + "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==" + }, + "acorn-globals": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz", + "integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==", + "requires": { + "acorn": "^7.1.1", + "acorn-walk": "^7.1.1" + }, + "dependencies": { + "acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==" + } + } + }, + "acorn-walk": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", + "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==" + }, + "agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "requires": { + "debug": "4" + } + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, + "browser-process-hrtime": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", + "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==" + }, + "cacheable-lookup": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-2.0.1.tgz", + "integrity": "sha512-EMMbsiOTcdngM/K6gV/OxF2x0t07+vMOWxZNSCRQMjO2MY2nhZQ6OYhOOpyQrbhqsgtvKGI7hcq6xjnA92USjg==", + "requires": { + "@types/keyv": "^3.1.1", + "keyv": "^4.0.0" + } + }, + "cacheable-request": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.2.tgz", + "integrity": "sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew==", + "requires": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^4.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^6.0.1", + "responselike": "^2.0.0" + } + }, + "clone-response": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", + "integrity": "sha512-yjLXh88P599UOyPTFX0POsd7WxnbsVsGohcwzHOLspIhhpalPw1BcqED8NblyZLKcGrL8dTgMlcaZxV2jAD41Q==", + "requires": { + "mimic-response": "^1.0.0" + }, + "dependencies": { + "mimic-response": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", + "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==" + } + } + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "compress-brotli": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/compress-brotli/-/compress-brotli-1.3.8.tgz", + "integrity": "sha512-lVcQsjhxhIXsuupfy9fmZUFtAIdBmXA7EGY6GBdgZ++qkM9zG4YFT8iU7FoBxzryNDMOpD1HIFHUSX4D87oqhQ==", + "requires": { + "@types/json-buffer": "~3.0.0", + "json-buffer": "~3.0.1" + } + }, + "cssom": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz", + "integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==" + }, + "cssstyle": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz", + "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", + "requires": { + "cssom": "~0.3.6" + }, + "dependencies": { + "cssom": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", + "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==" + } + } + }, + "data-urls": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", + "integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==", + "requires": { + "abab": "^2.0.3", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0" + } + }, + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "requires": { + "ms": "2.1.2" + } + }, + "decimal.js": { + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz", + "integrity": "sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==" + }, + "decompress-response": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-5.0.0.tgz", + "integrity": "sha512-TLZWWybuxWgoW7Lykv+gq9xvzOsUjQ9tF09Tj6NSTYGMTCHNXzrPnD6Hi+TgZq19PyTAGH4Ll/NIM/eTGglnMw==", + "requires": { + "mimic-response": "^2.0.0" + } + }, + "deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" + }, + "defer-to-connect": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz", + "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==" + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" + }, + "domexception": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz", + "integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==", + "requires": { + "webidl-conversions": "^5.0.0" + }, + "dependencies": { + "webidl-conversions": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", + "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==" + } + } + }, + "duplexer3": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", + "integrity": "sha512-CEj8FwwNA4cVH2uFCoHUrmojhYh1vmCdOaneKJXwkeY1i9jnlslVo9dx+hQ5Hl9GnH/Bwy/IjxAyOePyPKYnzA==" + }, + "end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "requires": { + "once": "^1.4.0" + } + }, + "escodegen": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.0.0.tgz", + "integrity": "sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==", + "requires": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.6.1" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" + }, + "form-data": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + }, + "fs": { + "version": "0.0.1-security", + "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", + "integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w==" + }, + "get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "requires": { + "pump": "^3.0.0" + } + }, + "got": { + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/got/-/got-10.7.0.tgz", + "integrity": "sha512-aWTDeNw9g+XqEZNcTjMMZSy7B7yE9toWOFYip7ofFTLleJhvZwUxxTxkTpKvF+p1SAA4VHmuEy7PiHTHyq8tJg==", + "requires": { + "@sindresorhus/is": "^2.0.0", + "@szmarczak/http-timer": "^4.0.0", + "@types/cacheable-request": "^6.0.1", + "cacheable-lookup": "^2.0.0", + "cacheable-request": "^7.0.1", + "decompress-response": "^5.0.0", + "duplexer3": "^0.1.4", + "get-stream": "^5.0.0", + "lowercase-keys": "^2.0.0", + "mimic-response": "^2.1.0", + "p-cancelable": "^2.0.0", + "p-event": "^4.0.0", + "responselike": "^2.0.0", + "to-readable-stream": "^2.0.0", + "type-fest": "^0.10.0" + } + }, + "html-encoding-sniffer": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", + "integrity": "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==", + "requires": { + "whatwg-encoding": "^1.0.5" + } + }, + "http-cache-semantics": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", + "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" + }, + "http-proxy-agent": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", + "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", + "requires": { + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + } + }, + "https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "requires": { + "agent-base": "6", + "debug": "4" + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "is-potential-custom-element-name": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", + "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==" + }, + "jsdom": { + "version": "16.7.0", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz", + "integrity": "sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==", + "requires": { + "abab": "^2.0.5", + "acorn": "^8.2.4", + "acorn-globals": "^6.0.0", + "cssom": "^0.4.4", + "cssstyle": "^2.3.0", + "data-urls": "^2.0.0", + "decimal.js": "^10.2.1", + "domexception": "^2.0.1", + "escodegen": "^2.0.0", + "form-data": "^3.0.0", + "html-encoding-sniffer": "^2.0.1", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-potential-custom-element-name": "^1.0.1", + "nwsapi": "^2.2.0", + "parse5": "6.0.1", + "saxes": "^5.0.1", + "symbol-tree": "^3.2.4", + "tough-cookie": "^4.0.0", + "w3c-hr-time": "^1.0.2", + "w3c-xmlserializer": "^2.0.0", + "webidl-conversions": "^6.1.0", + "whatwg-encoding": "^1.0.5", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.5.0", + "ws": "^7.4.6", + "xml-name-validator": "^3.0.0" + } + }, + "json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==" + }, + "keyv": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.3.2.tgz", + "integrity": "sha512-kn8WmodVBe12lmHpA6W8OY7SNh6wVR+Z+wZESF4iF5FCazaVXGWOtnbnvX0tMQ1bO+/TmOD9LziuYMvrIIs0xw==", + "requires": { + "compress-brotli": "^1.3.8", + "json-buffer": "3.0.1" + } + }, + "levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", + "requires": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + } + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "lowercase-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", + "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==" + }, + "mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" + }, + "mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "requires": { + "mime-db": "1.52.0" + } + }, + "mimic-response": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-2.1.0.tgz", + "integrity": "sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA==" + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "normalize-url": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", + "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==" + }, + "nwsapi": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.1.tgz", + "integrity": "sha512-JYOWTeFoS0Z93587vRJgASD5Ut11fYl5NyihP3KrYBvMe1FRRs6RN7m20SA/16GM4P6hTnZjT+UmDOt38UeXNg==" + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "requires": { + "wrappy": "1" + } + }, + "optionator": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "requires": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + } + }, + "p-cancelable": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz", + "integrity": "sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==" + }, + "p-event": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/p-event/-/p-event-4.2.0.tgz", + "integrity": "sha512-KXatOjCRXXkSePPb1Nbi0p0m+gQAwdlbhi4wQKJPI1HsMQS9g+Sqp2o+QHziPr7eYJyOZet836KoHEVM1mwOrQ==", + "requires": { + "p-timeout": "^3.1.0" + } + }, + "p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==" + }, + "p-timeout": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", + "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", + "requires": { + "p-finally": "^1.0.0" + } + }, + "parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==" + }, + "prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==" + }, + "psl": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", + "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==" + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + }, + "responselike": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/responselike/-/responselike-2.0.0.tgz", + "integrity": "sha512-xH48u3FTB9VsZw7R+vvgaKeLKzT6jOogbQhEe/jewwnZgzPcnyWui2Av6JpoYZF/91uueC+lqhWqeURw5/qhCw==", + "requires": { + "lowercase-keys": "^2.0.0" + } + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "saxes": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz", + "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", + "requires": { + "xmlchars": "^2.2.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "optional": true + }, + "symbol-tree": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", + "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==" + }, + "to-readable-stream": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-2.1.0.tgz", + "integrity": "sha512-o3Qa6DGg1CEXshSdvWNX2sN4QHqg03SPq7U6jPXRahlQdl5dK8oXjkU/2/sGrnOZKeGV1zLSO8qPwyKklPPE7w==" + }, + "tough-cookie": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz", + "integrity": "sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==", + "requires": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.1.2" + } + }, + "tr46": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz", + "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", + "requires": { + "punycode": "^2.1.1" + } + }, + "type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", + "requires": { + "prelude-ls": "~1.1.2" + } + }, + "type-fest": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.10.0.tgz", + "integrity": "sha512-EUV9jo4sffrwlg8s0zDhP0T2WD3pru5Xi0+HTE3zTUmBaZNhfkite9PdSJwdXLwPVW0jnAHT56pZHIOYckPEiw==" + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" + }, + "w3c-hr-time": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", + "integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==", + "requires": { + "browser-process-hrtime": "^1.0.0" + } + }, + "w3c-xmlserializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz", + "integrity": "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==", + "requires": { + "xml-name-validator": "^3.0.0" + } + }, + "webidl-conversions": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", + "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==" + }, + "whatwg-encoding": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz", + "integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==", + "requires": { + "iconv-lite": "0.4.24" + } + }, + "whatwg-mimetype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz", + "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==" + }, + "whatwg-url": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz", + "integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==", + "requires": { + "lodash": "^4.7.0", + "tr46": "^2.1.0", + "webidl-conversions": "^6.1.0" + } + }, + "word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==" + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "ws": { + "version": "7.5.8", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.8.tgz", + "integrity": "sha512-ri1Id1WinAX5Jqn9HejiGb8crfRio0Qgu8+MtL36rlTA6RLsMdWt1Az/19A2Qij6uSHUMphEFaTKa4WG+UNHNw==", + "requires": {} + }, + "xml-name-validator": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", + "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==" + }, + "xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==" + } + } +} diff --git a/plugins/tool-validation/package.json b/plugins/tool-validation/package.json new file mode 100644 index 0000000..7dedd07 --- /dev/null +++ b/plugins/tool-validation/package.json @@ -0,0 +1,16 @@ +{ + "name": "validation", + "version": "1.0.0", + "description": "", + "main": "list-files.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "", + "license": "ISC", + "dependencies": { + "fs": "^0.0.1-security", + "got": "^10.4.0", + "jsdom": "^16.2.1" + } +} diff --git a/posttest.html b/posttest.html new file mode 100644 index 0000000..5fd3519 --- /dev/null +++ b/posttest.html @@ -0,0 +1,630 @@ + + + + + + + + + + + + + + + + + + + + + + Virtual Labs + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +
+
+

Performance Measurement and Analysis of Non-isolated DC-DC Boost Converter

+ +
+
+ + + + +
+ +
+ + +
+ Answer the questions given below (refer Fig.2):


Fig. 2. Circuit configuration of boost converter.


1. When switch (Sw) is in OFF-state, the inductor current: +
+ +
+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ +
+ 2. What will be the voltage across inductor (VL) when diode (Di) is in conducting state? +
+ +
+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ +
+ 3. A solar array of 120 V is used to deliver the power to a 400 V DC grid through a boost converter operating at 50 kHz switching frequency. What should be the duty ratio (D1) of boost converter? What will be the required duty ratio (D2) when the switching frequency changes to 100 kHz? +
+ +
+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ +
+ 4. A boost converter delivering an output power of 1.0 kW has an efficiency of 92%. Calculate the total losses (PLoss) of the converter. +
+ +
+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ +
+ 5. Voltage stress of switch (vSw) and diode (vDi) are : +
+ +
+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+
+ +
+
+ + + +
+ + +
+
+ + + + + + + + + \ No newline at end of file diff --git a/posttest.json b/posttest.json new file mode 100644 index 0000000..02b6edf --- /dev/null +++ b/posttest.json @@ -0,0 +1,95 @@ +{ + "version": 2.0, + "questions": [ + { + "question": "Answer the questions given below (refer Fig.2):


Fig. 2. Circuit configuration of boost converter.


1. When switch (Sw) is in OFF-state, the inductor current:", + "answers": { + "a": "Increases", + "b": "Decreases", + "c": "Remains constant", + "d": "is zero" + }, + "explanations": { + "a": "Explanation 1", + "b": "Explanation 2: During switch-ON condition, the inductor stores the energy and it releases during diode conduction period (Switch-OFF duration) and hence inductor current gradually decreases.", + "c": "Explanation 3", + "d": "Explanation 4" + }, + "correctAnswer": "b", + "difficulty": "beginner" + }, + + { + "question": "2. What will be the voltage across inductor (VL) when diode (Di) is in conducting state?", + "answers": { + "a": "Zero", + "b": "V0", + "c": "Vin", + "d": "(Vg - V0)" + }, + "explanations": { + "a": "Explanation 1", + "b": "Explanation 2", + "c": "Explanation 3", + "d": "Explanation 4: Applying “KVL” gives the voltage across inductor as (Vg - V0)." + }, + "correctAnswer": "d", + "difficulty": "beginner" + }, + + { + "question": "3. A solar array of 120 V is used to deliver the power to a 400 V DC grid through a boost converter operating at 50 kHz switching frequency. What should be the duty ratio (D1) of boost converter? What will be the required duty ratio (D2) when the switching frequency changes to 100 kHz?", + "answers": { + "a": "D1 = 0.7 ; D2 = 0.35", + "b": "D1 = 0.35 ; D2 = 0.7", + "c": "D1 = 0.7 ; D2 = 0.7", + "d": "D1 = 0.7 ; D2 = 0.175" + }, + "explanations": { + "a": "Explanation 1", + "b": "Explanation 2", + "c": "Explanation 3: From this the resulting duty ratio is 0.7. The duty ratio is independent of switching frequency and hence D2=0.7.", + "d": "Explanation 4" + }, + "correctAnswer": "c", + "difficulty": "beginner" + }, + + { + "question": "4. A boost converter delivering an output power of 1.0 kW has an efficiency of 92%. Calculate the total losses (PLoss) of the converter.", + "answers": { + + "a": "PLoss = 80 W", + "b": "PLoss = 87 W", + "c": "PLoss = 73 W", + "d": "PLoss = 92 W" + }, + "explanations": { + "a": "Explanation 1", + "b": "Explanation 2: ", + "c": "Explanation 3", + "d": "Explanation 4" + }, + "correctAnswer": "b", + "difficulty": "beginner" + }, + + { + "question": "5. Voltage stress of switch (vSw) and diode (vDi) are :", + "answers": { + "a": "vSw = V0 & vDi = Vg", + "b": "vSw = Vg & vDi = Vg", + "c": "vSw = Vg & vDi = V0", + "d": "vSw = V0 & vDi = V0" + }, + "explanations": { + "a": "Explanation 1", + "b": "Explanation 2", + "c": "Explanation 3", + "d": "Explanation 4: When switch is in OFF state the voltage across it will be equal to load voltage and when switch is in ON state the voltage across diode will be equal to load voltage." + }, + "correctAnswer": "d", + "difficulty": "beginner" + } + ] +} diff --git a/pretest.html b/pretest.html new file mode 100644 index 0000000..da56caa --- /dev/null +++ b/pretest.html @@ -0,0 +1,630 @@ + + + + + + + + + + + + + + + + + + + + + + Virtual Labs + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +
+
+

Performance Measurement and Analysis of Non-isolated DC-DC Boost Converter

+ +
+
+ + + + +
+ +
+ + +
+ Answer the questions given below (refer Fig.1):


Fig. 1. Circuit configuration of boost converter.


1. Which of the following statements is true for an ideal boost converter? +
+ +
+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ +
+ 2. Voltage conversion ratio of boost converter is: +
+ +
+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ +
+ 3. When high PWM gate signal is given to the switch (Sw): +
+ +
+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ +
+ 4. According to the principle of volt-sec balance: +
+ +
+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ +
+ 5. Calculate the average source current in an ideal boost converter delivering a load current of 2A at a duty ratio of 0.6. +
+ +
+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+ + Explanation +
+

Explanation

+
+
+ +
+
+ + + +
+ + +
+
+ + + + + + + + + \ No newline at end of file diff --git a/pretest.json b/pretest.json new file mode 100644 index 0000000..3874544 --- /dev/null +++ b/pretest.json @@ -0,0 +1,94 @@ +{ + "version": 2.0, + "questions": [ + { + "question": "Answer the questions given below (refer Fig.1):


Fig. 1. Circuit configuration of boost converter.


1. Which of the following statements is true for an ideal boost converter?", + "answers": { + "a": "It boosts the source current.", + "b": "It boosts the source voltage.", + "c": "It boosts the input power.", + "d": "It boosts the switching frequency." + }, + "explanations": { + "a": "Explanation 1", + "b": "Explanation 2: Boost converter step-up the low input voltage to high load voltage and step-down the high input current to low load current.", + "c": "Explanation 3", + "d": "Explanation 4" + }, + "correctAnswer": "b", + "difficulty": "beginner" + }, + + { + "question": "2. Voltage conversion ratio of boost converter is:", + "answers": { + "a": "D", + "b": "(1-D)", + "c": "1/(1-D)", + "d": "D/(1-D)" + }, + "explanations": { + "a": "Explanation 1", + "b": "Explanation 2", + "c": "Explanation 3: Among all the options, option (c) gives only boosting for the entire duty ratio range.", + "d": "Explanation 4" + }, + "correctAnswer": "c", + "difficulty": "beginner" + }, + + { + "question": "3. When high PWM gate signal is given to the switch (Sw):", + "answers": { + "a": "Switch turns-ON and diode turns-OFF", + "b": "Switch turns-OFF and diode turns-ON", + "c": "Both switch and diode turn-OFF", + "d": "Both switch and diode turn-ON" + }, + "explanations": { + "a": "Explanation 1: When switch turns-ON the inductor is impressed with “+Vg” when it turns-OFF voltage across inductor changes its polarity (-Vg) and thus diode becomes forward biased.", + "b": "Explanation 2", + "c": "Explanation 3", + "d": "Explanation 4" + }, + "correctAnswer": "a", + "difficulty": "beginner" + }, + + { + "question": "4. According to the principle of volt-sec balance:", + "answers": { + "a": "Average voltage across capacitor is zero", + "b": "Average voltage across inductor is zero", + "c": "Average voltage across diode is zero", + "d": "Average voltage across switch is zero" + }, + "explanations": { + "a": "Explanation 1", + "b": "Explanation 2: The volt-second balance states that the average value of voltage applied across the inductor one complete cycle is zero.", + "c": "Explanation 3", + "d": "Explanation 4" + }, + "correctAnswer": "b", + "difficulty": "beginner" + }, + + { + "question": "5. Calculate the average source current in an ideal boost converter delivering a load current of 2A at a duty ratio of 0.6.", + "answers": { + "a": "1.2 A", + "b": "2.0 A", + "c": "5.0 A", + "d": "3.33 A" + }, + "explanations": { + "a": "Explanation 1", + "b": "Explanation 2", + "c": "Explanation 3: ", + "d": "Explanation 4" + }, + "correctAnswer": "c", + "difficulty": "beginner" + } + ] +} diff --git a/procedure.html b/procedure.html new file mode 100644 index 0000000..e187c74 --- /dev/null +++ b/procedure.html @@ -0,0 +1,430 @@ + + + + + + + + + + + + + + + + + + + + + + Virtual Labs + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +
+
+

Performance Measurement and Analysis of Non-isolated DC-DC Boost Converter

+ +
+

Procedure

+

a) Circuit formulation: +

+
    +
  1. Connect the circuit to form a Boost converter by dragging the mouse from one terminal to other.
  2. +
  3. After completing all connections click on check connection button and verify the connections.
    + a) If all connections are correct then click on circuit diagram button to see the correct circuit
    + b) If any connection is wrong then click on red button to remove the wrong connections and redraw the right connections.
  4. +
+

b) Operating the circuit: +

+
    +
  1. Set the values of Source Voltage (Vg), Load Resistance (R) and Duty Ratio (D).
  2. +
  3. Press “RECORD” button to simulate the circuit and observe various waveforms.
  4. +
  5. Change “Vg, R and D” to observe the waveforms at different operating conditions.
  6. +
+

c) Performance analysis of the circuit: +

+
    +
  1. Set the values of Source Voltage (Vg), Load Resistance (R) and Duty Ratio (D).
  2. +
  3. Select the “ICONS” in sequence to analyse and understand the circuit operation and performance.
  4. +
  5. Follow the instructions given in respective experiment slide and press the “RECORD” button to fill the observation table.
  6. +
+
+ +
+ +
+
+ + +
+
+ + + + + + + + + \ No newline at end of file diff --git a/procedure.md b/procedure.md new file mode 100644 index 0000000..d114620 --- /dev/null +++ b/procedure.md @@ -0,0 +1,25 @@ +### Procedure + +a) Circuit formulation: +
+1. Connect the circuit to form a Boost converter by dragging the mouse from one terminal to other. +2. After completing all connections click on check connection button and verify the connections.
+ a) If all connections are correct then click on circuit diagram button to see the correct circuit
+ b) If any connection is wrong then click on red button to remove the wrong connections and redraw the right connections. + +b) Operating the circuit: +
+1) Set the values of Source Voltage (Vg), Load Resistance (R) and Duty Ratio (D).
+2) Press “RECORD” button to simulate the circuit and observe various waveforms.
+3) Change “Vg, R and D” to observe the waveforms at different operating conditions.
+ + +c) Performance analysis of the circuit: +
+1) Set the values of Source Voltage (Vg), Load Resistance (R) and Duty Ratio (D).
+2) Select the “ICONS” in sequence to analyse and understand the circuit operation and performance.
+3) Follow the instructions given in respective experiment slide and press the “RECORD” button to fill the observation table.
+ +
+ +
diff --git a/references.html b/references.html new file mode 100644 index 0000000..cf901d5 --- /dev/null +++ b/references.html @@ -0,0 +1,411 @@ + + + + + + + + + + + + + + + + + + + + + + Virtual Labs + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +
+
+

Performance Measurement and Analysis of Non-isolated DC-DC Boost Converter

+ +
+

References

+
    +
  1. M. Kazimierczuk, Pulse-Width Modulated DC-DC Power Converters, Hoboken, NJ, USA: John Wiley, 2008.
  2. +
  3. R. W. Erickson and D. Maksimovic, Fundamentals of Power Electronics, Berlin, Germany: Springer, 2007.
  4. +
  5. M. H. Rashid, Power Electronics Circuits Devices and Applications, NJ, Englewood Cliffs: Prentice-Hall, 1998.
  6. +
  7. M. H. Rashid, Power Electronics Hand Book, Elsevier, 2007.
  8. +
+ +
+
+ + +
+
+ + + + + + + + + \ No newline at end of file diff --git a/references.md b/references.md new file mode 100644 index 0000000..53df397 --- /dev/null +++ b/references.md @@ -0,0 +1,6 @@ +### References + +1. M. Kazimierczuk, Pulse-Width Modulated DC-DC Power Converters, Hoboken, NJ, USA: John Wiley, 2008. +2. R. W. Erickson and D. Maksimovic, Fundamentals of Power Electronics, Berlin, Germany: Springer, 2007. +3. M. H. Rashid, Power Electronics Circuits Devices and Applications, NJ, Englewood Cliffs: Prentice-Hall, 1998. +4. M. H. Rashid, Power Electronics Hand Book, Elsevier, 2007. diff --git a/simulation.html b/simulation.html new file mode 100644 index 0000000..024262c --- /dev/null +++ b/simulation.html @@ -0,0 +1,361 @@ + + + + + + + + + + + + + + + + + + + + + + Virtual Labs + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+

Performance Measurement and Analysis of Non-isolated DC-DC Boost Converter

+ +
+
+ + + +
+
+
+ + +
+
+ + + + + + + + \ No newline at end of file diff --git a/simulation/css/certificate.css b/simulation/css/certificate.css new file mode 100644 index 0000000..6fbf347 --- /dev/null +++ b/simulation/css/certificate.css @@ -0,0 +1,72 @@ +@import url("https://fonts.googleapis.com/css?family=Open+Sans|Pinyon+Script|Rochester|Homemade+Apple"); + +.certificate { + position: absolute; + box-shadow: inset 0px 0px 20px 12px #3d246c; + min-width: 800px; + min-height: 400px; + border: 14px solid #3d246c; + flex-direction: column; + display: none; + padding-top: 35px; +} + +.certificate .header { + transform: translateY(-25px); + display: flex; + align-items: center; + flex-direction: column; +} + +.certificate .student-detail { + display: flex; + flex-direction: column; + gap: 5px; + align-items: center; +} + +.cursive { + font-size: 1.8rem; + font-family: "Pinyon Script", cursive !important; + font-family: "Rochester", cursive !important; + font-style: italic; + /* font-family: "Homemade Apple", cursive !important; */ +} + +.certificate hr { + width: 90%; +} + +.sans { + font-family: "Open Sans", sans-serif; + text-align: center; +} + +.title {} + +.bold { + font-weight: bold; +} + +.red{ + color: red; +} + +.certificate .logo { + height: 80px; + /* transform: translateY(-25px); */ +} + +.certificate .row { + display: flex; + flex-direction: column; +} + +.btn-save{ + display: none; +} + +.certificate #certificateStuName{ + font-size: 1.8rem; + border-bottom: 2px solid black; +} \ No newline at end of file diff --git a/simulation/css/chart.css b/simulation/css/chart.css new file mode 100644 index 0000000..2fab3e3 --- /dev/null +++ b/simulation/css/chart.css @@ -0,0 +1,15 @@ +.chart { + display: none; + position: absolute; + padding: 10px; + width: fit-content; + border-radius: 20px; + box-shadow: 3px 3px 12px 0px; + height: 220px !important; + width: 364px !important; +} + +.chart #myChart { + height: 100%!important; + width: 100%!important; +} \ No newline at end of file diff --git a/simulation/css/component_styling.css b/simulation/css/component_styling.css new file mode 100644 index 0000000..fb877ed --- /dev/null +++ b/simulation/css/component_styling.css @@ -0,0 +1,649 @@ + + +.qs{ + cursor: pointer; + display: none; + position: absolute; + /* display: flex; */ + text-align: center; + box-shadow: 1px 1px 5px lime; + border-radius: 10px; + font-size: 3.5em; + font-weight: bolder; + color: white; + height: 70px; + width: 70px; + background-color: #05bc57; + justify-content: center; + align-items: center; + align-content: center; +} + +/* * Slider */ +.slider-box{ + /* display: none; */ + position: absolute; + top: -50px; + left: -50px; + /* user-select: none; */ + pointer-events: none; + } + + +/* table styling */ +.part3_table_one{ + display: none; + /* display: flex; */ + flex-direction: row; + bottom: 0px; + position: absolute; + text-align: center; + left: 30px; + gap: 20px; +} +.part3_table_one table{ + height: 200px; + width: 180px; +} +.part3_table_one table thead tr th{ + width: 70px; + padding: 5px; +} +.part3_table_one table tbody tr,td{ + height: 10px!important; +} +.part3_table_one table{ + border-collapse: collapse; +} + +.part3_table_one td,tr,th,td{ + font-size: 1.05em; + border: 1px solid black; + font-weight: bold; +} +.part3_table_one table thead tr th{ + background-color: #c55a11; +} + +/* Color change different */ +.part3_table_one table th{ + background-color: #c55a11; + color: white; +} +.part3_table_one table td:nth-child(1){ + background-color: #d9d9d9; +} + +.part3_table_one table .table-title{ +} +.part3_table_one table:nth-child(1) .table-title{ + background-color: red; + /* border: 5px ridge red; */ + box-shadow: inset 2px 2px 5px 1px black; +} +.part3_table_one table:nth-child(2) .table-title{ + background-color: #05bc57; + /* border: 5px ridge blue; */ + box-shadow: inset 2px 2px 5px 1px black; +} +.part3_table_one table:nth-child(3) .table-title{ + background-color: blue; + /* border: 5px ridge #05bc57; */ + box-shadow: inset 2px 2px 5px 1px black; +} + + +.part3_table_one tbody tr td{ + height: 24px!important; + width: 10px!important; +} + +/* part3 second table */ +.part3_table_two{ + /* display: flex; */ + display: none; + bottom: 0px; + position: absolute; + text-align: center; + left: 30px; + gap: 20px; +} +.part3_table_two table{ + height: 200px; +} +.part3_table_two table thead tr th{ + width: 70px; + padding: 5px; +} +.part3_table_two table tbody tr,td{ + height: 10px!important; +} +.part3_table_two table{ + border-collapse: collapse; +} + +.part3_table_two td,tr,th,td{ + font-size: 1.05em; + border: 1px solid black; + font-weight: bold; +} +.part3_table_two table thead tr th{ + background-color: #c55a11; +} + +/* Adding slider of table */ +.part3_table_two .table-slider{ + position: relative; + z-index: 2000; + background-color: red; + color: white; + border-radius: 10px; + border: 2px solid black; + box-shadow: 2px 2px 1px black; +} +.part3_table_two .table-slider .labels{ + display: flex; + justify-content: center; + gap: 20px; + position: absolute; + font-size: 15px; + top: 7px; + left: 49px; + color: white; + font-weight: bolder!important; +} +.part3_table_two .table-slider .lines{ + display: flex; + position: absolute; + color: black; + font-weight: bolder; + font-size: 10px; + gap: 49px; + left: 63px; + top: 25px; +} +.part3_table_two .table-slider .table-slider-box{ + display: flex; + justify-content: space-evenly; + height: 50px; + color: white; +} +.part3_table_two .table-slider .table-slider-box .title{ + /* background-color: white; + color: red; + padding: 1px 4px; + border-radius: 5px; */ + position: relative; + top: -3px; +} +.part3_table_two .table-slider .table-slider-box input[type=range]{ + /* width: 180px; */ + position: relative; + top: 13px; +} + + +/* Color change different */ +.part3_table_two table th{ + background-color: #c55a11; + color: white; +} +.part3_table_two table td:nth-child(1){ + background-color: #d9d9d9; +} + +/* part3 table */ +.part3_table_three{ + display: none; + bottom: 0px; + position: absolute; + right: 10px; + text-align: center; + gap: 20px; + border-collapse: collapse; +} +.part3_table_three td,tr,th{ + border: 1px solid black; +} +.part3_table_three thead{ + background-color: #c55a11; + color: white; +} +.part3_table_three thead tr th{ + width: 64px; +} +.part3_table_three tbody tr{ + height: 30px; +} +.part3_table_three td{ + text-align: center; + font-weight: bold; +} +.part3_table_three td:nth-child(2){ + background-color: rgb(194, 194, 194); +} +.part3_table_three td:nth-child(3){ + background-color: rgb(194, 194, 194); +} +.part3_table_three td:nth-child(4){ + background-color: rgb(194, 194, 194); +} +.part3_table_three td:nth-child(10){ + background-color: #ffff00; +} +.part3_table_three td:nth-child(11){ + background-color: #ffc000; +} +/* table four */ +.part3_table_four{ + display: none; + bottom: 0px; + position: absolute; + left: 205px; + text-align: center; + gap: 20px; + border-collapse: collapse; +} +.part3_table_four td,tr,th{ + border: 1px solid black; +} +.part3_table_four thead{ + background-color: #0579cc; + color: white; +} +.part3_table_four thead tr th{ + width: 64px; +} +.part3_table_four tbody tr{ + height: 30px; +} +.part3_table_four td{ + text-align: center; + font-weight: bold; +} + +/* part 4 two */ +/* table four */ +.part3_table_four_2{ + display: none; + top: 160px; + position: absolute; + left: 205px; + text-align: center; + border-collapse: collapse; +} +.part3_table_four_2 td,tr,th{ + border: 1px solid black; +} +.part3_table_four_2 thead{ + background-color: #0579cc; + color: white; +} +.part3_table_four_2 thead tr th{ + width: 140px; +} +.part3_table_four_2 tbody tr{ + height: 40px; +} +.part3_table_four_2 td{ + text-align: center; + font-weight: bolder; +} + +.part3_table_four_2 tbody tr:nth-child(1){ + color: #ff0505!important; +} +.part3_table_four_2 tbody tr:nth-child(2){ + color: #0909ff!important; +} +.part3_table_four_2 tbody tr:nth-child(3){ + color: #05833d!important; +} +.deactive{ + pointer-events: none; + cursor:not-allowed; + user-select: none; + opacity: 0.5; + box-shadow: none!important; +} + +.graph_box{ + position: absolute; + right: 10px; + top: -70px; + box-sizing: border-box; + background-color: white; + border-radius: 20px; + box-shadow: 2px 2px 4px; +} + +.graph{ + /* background-color: white; */ + padding: 5px; + /* background-color: #202020; */ + display: none; +} + +/* ! Next Btn Deactive class */ +.btn-deactive{ + transition: 1s; + opacity: 0.7!important; + cursor: not-allowed; + background-color: rgb(97, 97, 97)!important; + box-shadow: none; + color: black; +} + +.btn-deactive:hover { + box-shadow: none!important; +} + +.btn-deactive:active{ + opacity: none!important; + transform: none!important; +} + +/* * Part 3 table two btns */ +.btn-box1 button{ + background-color: #0000ff; +} + +.btn-box2 button{ + background-color: #d26315; +} +.btn-box3 button{ + background-color: #5d8c3b; +} + +.table-btn{ + color: white; + position: relative; + width: 31.5%; + padding: 5px; + font-size: 1.2em; + font-weight: bold; + z-index: 1000; + border-radius: 10px; + cursor: pointer; + border: 2px solid black +} +.table-btn:hover{ + border-color: white; + transition: 0.2s; +} +.table-btn:active{ + transition: 0s; + border-color: black; + background-color: black; +} + +/* ! Delte reset */ +.btn-delete{ + background-color: #ff0505!important; + color: white; + font-weight: bold; + display: none; + z-index: 1000; + position: absolute; + /* top: 360px; + left: 10px; */ + +} + +.btn-reset{ + background-color: #0579cc!important; + color: white; + font-weight: bold; + display: none; + z-index: 1000; + position: absolute; + /* top: 360px; + left: 120px; */ + +} + +/* ! check connection and circuit diagram btn */ +.btn-check-connections{ + background-color: #d26315!important; + color: white; + font-weight: bold; + display: none; + z-index: 1000; + position: absolute; +} + +.btn-circuit-diagram{ + background-color: #7937aa; + color: white; + font-weight: bold; + display: none; + z-index: 1000; + position: absolute; +} + + + + +.bg-black{ + background-color: black!important; +} + +/* Record btn */ +.btn-record:hover{ + opacity: 0.9!important; + transform: scale(1.03)!important; +} +.btn-record:active{ + opacity: 0.9!important; + transform: scale(0.99)!important; +} + +.theory{ + height: 495px; + width: 950px; + top: -46px; + left: 0; + z-index: 1001; +} + + +.btn-transparent { + display: block; + position: absolute; + width: 92px; + height: 35px; + bottom: -95px; + right: -3px; + border-radius: 8px; + font-weight: bolder; + z-index: 6000; + } + + + .btn-transparent:active { + box-shadow: #422800 2px 2px 0 0; + transform: translate(4px, 4px); + } + + .btn-disabled{ + color: gray; + box-shadow: none; + background-color: #f1f2f4; + user-select: none; + cursor: not-allowed; + /* pointer-events: none; */ + } + .btn-disabled:active{ + opacity: none!important; + transform: none!important; + } + .btn-disabled:hover{ + border: none; + box-shadow: none; + } + + /* Pop window */ + .btn-popup-box{ + display: flex; + position: relative; + left: 23px; + justify-content: center; + align-items: center; + background-color: rgba(0, 0, 0, 0.619); + padding: 0 2px; + height: 40px; + border-radius: 10px; + z-index: 10000; + } + + .btn-popup{ + padding: 5px; + margin: 0 2px; + font-size: 17px; + font-weight: bold; + cursor:help; + transition: 0.1s; + } + + .btn-popup:nth-child(1){ + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; + background-color: green; + } + .btn-popup:nth-child(2){ + background-color: red; + } + .btn-popup:nth-child(3){ + border-top-right-radius: 7px; + border-bottom-right-radius: 7px; + background-color: blue; + } + + .btn-popup:hover ~ .btn-popup-window{ + display: block!important; + } + .btn-popup:hover{ + scale: 0.94; + background-color: transparent; + } + + .btn-popup-window{ + display: none; + position: absolute; + left: -422px; + top: 39px; + width: 950px; + height: 495px; + z-index: 5001; + } + + .blur{ + display: none; + top: 45px; + z-index: 5000; + background-color: rgba(0, 0, 0, 0.389); + filter: blur(7px); + -webkit-filter: blur(7px); + } + + /* vertex */ + .vertex-box{ + display: none; + } + .vertex-box .vertex{ + /* display: none; */ + position: absolute; + /* background-color: black; + width: 20px; + height: 20px; + z-index: 2000; + color: white; + border-radius: 100vh; */ + /* left: 10px; + top: 20px; */ + } + + #vertex1{ + left: 124px; + top: 23px; +} + #vertex2{ + left: 124px; + top: 162px; +} +#vertex3{ + left: 165px; + top: 309px; +} +#vertex4{ + left: 301px; + top: 308px; +} +#vertex5{ + left: 684px; + top: 31px; +} + +#vertex6 { + left: 682px; + top: 181px; +} +#vertex7 { + left: 427px; + top: -16px; +} +#vertex8 { + left: 573px; + top: -16px; +} +#vertex9 { + left: 437px; + top: 307px; +} +#vertex10 { + left: 542px; + top: 307px; +} + +.vertex-box .text{ + position: relative; + font-size: 20px; + font-weight: bolder; + left: -27px; + top: -10px; +} + +.vertex-box #vertex3 .text, +.vertex-box #vertex4 .text, +.vertex-box #vertex7 .text, +.vertex-box #vertex8 .text, +.vertex-box #vertex9 .text, +.vertex-box #vertex10 .text{ + left: 0; + top: 20px +} + +.concept_development{ + display: none; +} + +.btn-connections{ + display: none; +} + +#overPlayerNextBtn{ + display: none; +} + +.btn-img{ + cursor: pointer; + transition: 0.05s; + z-index: 5000; +} +.btn-img:hover{ + filter: brightness(1.1) drop-shadow(1px 1px 1px black); + cursor: pointer; +} +.btn-img:active{ + filter: drop-shadow(0px 0px 0px black); +} \ No newline at end of file diff --git a/simulation/css/imgs.css b/simulation/css/imgs.css new file mode 100644 index 0000000..b0f5aae --- /dev/null +++ b/simulation/css/imgs.css @@ -0,0 +1,63 @@ +.anime-main{ + position: relative; + height: 404px; + width: 946px; + /* overflow: hidden!important; */ +} + +.markings{ + /* display: none; */ + opacity: 0; + height: 4.8px; + width: 38px; + height: 10px; + top: -30px; + left: 212px; + z-index: 5; + position: relative; + /* position: absolute; */ + /* visibility: hidden; */ + filter: brightness(0); +} + +.markings2{ + height: 25px; + z-index: 5; + position: relative; + left: -410px; + top: -57px; + opacity: 0; + display: none; +} +.markings3{ + height: 10px; + z-index: 9; + position: absolute; + left: 59px; + filter: brightness(0); + top: 120px; + opacity: 0; + display: none; +} +.main-window-imgs{ + display: none; + position: absolute; + +} +.blinkArrow{ + display: none; + filter:brightness(200); + position: absolute; + z-index: 2000; + +} +.blinkArrowRed{ + display: none; + position: absolute; + z-index: 2000; +} + +.main-window-videos{ + display: none; + position: absolute; +} diff --git a/simulation/css/layout.css b/simulation/css/layout.css new file mode 100644 index 0000000..b35b784 --- /dev/null +++ b/simulation/css/layout.css @@ -0,0 +1,380 @@ +/* #drawer */ +@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap'); +body{ + margin: 0; + display: flex; + justify-content: center; + /* padding-top: 70px; */ + font-family: Roboto; +} +#drawer{ + font-family: Roboto,Noto,sans-serif; + min-width: 230px; + max-width: 230px; + padding: 10px; + background-color: #f8f9fa; + height: 638px; + overflow-y: auto; + grid-area: drawer; + grid-column-start: 1; +} + +#drawer ol{ + list-style: none; + margin: 0px auto !important; + padding: 0; +} + +#drawer ol li{ + display: flex; + justify-content: start; + align-items: center; + margin: 6px 0; + padding: 3px 10px; + min-height: 48px; + border-radius: 5px; + border: 1px solid rgb(218, 220, 224); + counter-increment: li-count; + opacity: 0.7; + line-height: 20px; + font-stretch: 100%; +} + +#drawer ol li a .step{ + display: flex; + justify-content: center; + align-items: center; +} +#drawer ol li a .step::before{ + content: counter(li-count); + display: flex; + justify-content: center; + align-items: center; + height: 26px; + min-width: 26px; + border-radius: 50%; + background-color: gray; + margin-right: 8px; + font-size: 14px; + font-weight: bold; + color: white; +} + +.right-container{ + /* overflow: hidden; */ + width: 100%; + display: flex; +} + +.active{ + box-shadow: 2px 2px 4px rgba(0,0,0,.15); + font-weight: bold!important; + opacity: 1!important; +} + +.active .step::before{ + background-color: #2b80ee!important; +} + +.completed{ + opacity: 1!important; + font-weight: 400; +} + +.completed .step::before{ + background-color: #2b80ee!important; +} + +/* Other */ +.main-container{ + display: flex; + /* gap: 25px; */ + /* display: grid; */ + /* grid-template-areas: "drawer progressBar" */ + /* "drawer mainWindow"; */ +} + +.main-window{ + background-color: #f1ece3; + position: relative; + grid-area: mainWindow; + display: flex; + flex-direction: column; + justify-content: space-between; + /* height: calc(100vh - 78px - 60px); */ + min-height: calc(404px + 200px); + width: 950px; + border: 2px solid; + overflow: hidden; +} + +.main-window .anime-header{ + display: flex; + justify-content: center; + align-items: center; + font-size: 2rem; + font-weight: bold; + font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + height: 50px; + color: white; + background-color: #3D246C; +} +.main-window .anime-footer{ + display: flex; + align-items: center; + justify-content: space-between; + /* height: 70px; */ + height: 55px; + color: white; + background-color: #5C4B99; +} + +.right-box{ + display: flex; + margin-left: 1%; + flex-direction: column; + overflow: hiddenw1; +} + +.anime-footer .steps-subtitle{ + display: flex; + align-items: center; + gap: 10px; +} +.anime-footer .steps-subtitle .user-name{ + font-size: 1.05rem; + font-weight: bold; + background-color: #fff; + padding: 10px; + border-radius: 10px; +} +.anime-footer .steps-subtitle .subtitle{ + font-size: 1.1rem; + font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; + font-weight: bold; +} + +/* Steps Title description */ +.step-heading{ + display: none; + gap: 10px; + margin-left: 20px; + align-items: center; +} +.step-heading .step-title{ + background-color: #9F91CC; + border-radius: 20px; + font-weight: bold; + padding: 10px 15px; +} + +.step-heading .step-description{ + font-weight: bold; +} + +.anime-main .measurements{ + position: absolute; + z-index: 300; + /* border: 1px solid; */ + display: none; +} +.anime-main .measurements .cell{ + border: 1px solid; +} + +/* temp text */ +.anime-main .temp-text, .temp-text2{ + position: absolute; + background-color: white; + padding: 5px 10px; + display: none; +} + +/* Project Welcome */ +.welcome-box{ + display: none; + flex-direction: column; + align-items: center; + position: absolute; + } + .welcome-box .title{ + display: flex; + flex-direction: column; + align-items: center; + margin-top: 25px; + gap: 4px; + } + .welcome-box .iit-logo{ + height: 140px; + width: 200px; + } + .welcome-box .prof-img{ + /* margin-top: 20px; */ + height: 120px; + width: 100px; + } + .welcome-box .title span{ + font-size: 1.5rem; + } + .welcome-box .title span:nth-child(2n - 1){ + color: red + } + .welcome-box .title span:nth-child(2n){ + font-weight: bold; + color: black; + font-family: Roboto; + } + .welcome-box .prof-description{ + font-size: 0.8rem; + transform: translate(40px,15px); + display: flex; + flex-direction: column; + align-items: end; + padding: 5px; + font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; + border: 2px solid; + border-radius: 5px; + align-self: end; + } + + /* Mute Btn */ +.btn-mute{ + z-index: 500; +} + +/* Video box */ +.video-box{ + position: absolute; + display:none ; + /* display: flex; */ + flex-direction: column; + border: 2px solid; + box-shadow: 5px 5px 10px 2px black; + align-items: center; + justify-content: center; + z-index: 10; + width: fit-content; + height: fit-content; + border-radius: 3px; + overflow: hidden; +} + +/* .video-box .video{ + /* height: 150px!important; */ +/* } */ + +.video-box .title{ + background-color: purple; + margin: 0; + text-align: center; + color: white; + padding: 3px; + font-size: 1.2em; + +} + +.video-box .controls{ + display: flex; + background-color: purple; + align-items: center; + justify-content: space-around; + width: 100%; +} +.video-box .controls img{ + height: 26px; + +} + +.video-box .controls .restart{ + padding: 2px; + display: flex; + justify-content: center; + align-items: center; +} + +/* Temp texts/titles */ +.temp{ + display: none; + font-weight: bold; + font-size: 1.0rem; + position: absolute; + text-align: justify; + background-color: black; + color: white; + width: 35px; + padding: 0 1px; + border-radius: 4px; +} + + +/* Content Adder Boxc */ +.content-adder-box{ + padding: 10px 5px; + /* display: flex; */ + display: none; + flex-direction: column; + gap: 5px; + height: fit-content; + width: fit-content; + z-index: 1000; + border-radius: 10px; + background-color: #5c4b99; + box-shadow: 3px 3px 5px ; + position: absolute; + right: 20px; + top: 80px!important; +} + + + /* print */ + @media print{ + #drawer, .progress-bar, .anime-header, .anime-footer{ + display: none!important; + } + .main-window{ + border: none; + } + .certificate{ + display: flex; + transform: translateY(400px) rotate(90deg) scale(1.5,2); + + + } + } + /* for transparent box */ + .transparent-box{ + display: none; + height: 100% ; + width: 950px; + background-color: transparent; + z-index: 500; + position: absolute; + + } + + + .image-box{ + /* display: flex; */ + display: none; + border: 2px solid; + text-align: center; + flex-direction: column; + justify-content: center; + /* background-color: white; */ + height: fit-content; + width: fit-content; + position: absolute; + padding: 3px; + border-radius: 10px; + box-shadow: 5px 5px 14px ; + } + .image-box .title{ + margin: 0; + font-weight: bold; + } + .image-box .image{ + border-radius: 10px; + } + + + \ No newline at end of file diff --git a/simulation/css/progressBar.css b/simulation/css/progressBar.css new file mode 100644 index 0000000..44c7781 --- /dev/null +++ b/simulation/css/progressBar.css @@ -0,0 +1,128 @@ +:root { + --primary-color: rgb(11, 78, 179); + --gray: #e5e5e5; + --gray2: #808080; + --blue: #2183dd; + --primary: #0d6efc; + --green: #009900; + --white: #ffffff; +} + +*, +*::before, +*::after { + box-sizing: border-box; +} + + + + + + + +/* Progressbar */ +.progress-bar { + /* width: clamp(320px, 30%, 430px); */ + grid-area: progressBar; + font-family: Roboto; + width: 100%; + margin-bottom: 10px; +} + +.progressbar { + position: relative; + display: flex; + justify-content: space-between; + counter-reset: step; +} + +.progressbar::before, +.progress { + content: ""; + position: absolute; + top: 50%; + transform: translateY(-50%); + height: 5px; + width: 100%; + background-color: var(--gray); + z-index: -1; +} + +.progress { + background-color: var(--primary); + width: 0%; + transition: 0.3s; +} + +.progress-step { + width: 1.5rem; + height: 1.5rem; + /* background-color: var(--gray); */ + background-color: white; + border-radius: 50%; + border: 2px solid var(--gray2); + display: flex; + justify-content: center; + align-items: center; +} + +.progress-step::before { + counter-increment: step; + content: counter(step); + font-weight: bold; + /* content: "\f00c"; */ +} + +.progress-step::after { + display: none; + content: attr(data-title); + position: absolute; + top: calc(100% + 0.5rem); + font-size: 0.85rem; + color: #666; +} + +.progress-step-active { + background-color: var(--primary); + color: #f3f3f3; +} + +/* Form */ + + + +/* Button */ +.btns-group { + display: grid; + grid-template-columns: repeat(2, 1fr); + gap: 1.5rem; +} + +.btn { + box-shadow: 3px 2px 4px 0px black; + padding: 0.75rem; + display: block; + text-decoration: none; + /* background-color: var(--primary); */ + background-color: #FFDBC3; + color: black; + text-align: center; + border: none; + border-radius: 0.25rem; + cursor: pointer; + transition: 0.7s; + height: fit-content; + margin: 0 10px; + font-family: Roboto; + font-weight: bold; + +} + +.btn:hover { + box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--green); +} + +.btn:active{ + opacity: 0.8; + transform: scale(0.9); +} diff --git a/simulation/css/quiz.css b/simulation/css/quiz.css new file mode 100644 index 0000000..512981b --- /dev/null +++ b/simulation/css/quiz.css @@ -0,0 +1,86 @@ +.quiz-container { + z-index: 501; + top: 0; + position: absolute; + color: #000000; + border-radius: 10px; + box-shadow: 3px 3px 20px 1px black; + overflow: hidden; + width: 350px; + min-height: 350px; + height: fit-content; + max-width: 100%; + /* background-color: #fff5; */ + background-color: #ffffffc2; + backdrop-filter: blur(10px); + padding: 0.9rem; + display: none; + /* border: 2px solid ; */ + } + + + .quiz-container h2 { + padding: 1rem; + font-size: 1.2rem; + text-align: center; + margin: 0; + } + + .quiz-container ul { + list-style-type: none; + padding: 0; + } + + .quiz-container ul li { + font-size: 1.2rem; + margin: 1rem 0; + } + + .quiz-container ul li label { + cursor: pointer; + } + + .quiz-container button { + background-color: #aa84bb; + border: none; + color: white; + cursor: pointer; + display: block; + font-family: inherit; + font-size: 1.1rem; + width: 100%; + padding: 1rem; + border-radius: 5px; + } + + .quiz-container button:hover { + background-color: #732d91; + } + + .quiz-container button:focus { + background-color: #5e3370; + outline: none; + } + + .quiz-container #quizAns{ + display: none; + } + + .quiz-container #closeQuiz{ + margin: 10px; + right: 0; + top: 0; + position: absolute; + font-size: 1rem; + color: white; + padding: 4px 10px; + height: fit-content; + font-weight: bold; + background-color: #732d91; + cursor: pointer; + border-radius: 50%; +} + .quiz-container .title{ + display: flex; + justify-content: space-between; + } \ No newline at end of file diff --git a/simulation/css/resultTable.css b/simulation/css/resultTable.css new file mode 100644 index 0000000..44aeb3f --- /dev/null +++ b/simulation/css/resultTable.css @@ -0,0 +1,142 @@ +/* +Responsive HTML Table With Pure CSS - Web Design/UI Design + +Code written by: +👨🏻‍⚕️ Coding Design (Jeet Saru) + +> You can do whatever you want with the code. However if you love my content, you can **SUBSCRIBED** my YouTube Channel. + +🌎link: www.youtube.com/codingdesign +*/ + + + +main.table { + width: 82vw; + height: 90vh; + background-color: #fff5; + + backdrop-filter: blur(7px); + box-shadow: 0 .4rem .8rem #0005; + border-radius: .8rem; + + overflow: hidden; +} + +main.table__header { + width: 100%; + height: 10%; + background-color: #fff4; + padding: .8rem 1rem; + + display: flex; + justify-content: space-between; + align-items: center; +} + + + + + +main.table__body { + width: 95%; + max-height: calc(89% - 1.6rem); + background-color: #fffb; + + margin: .8rem auto; + border-radius: .6rem; + + overflow: auto; + overflow: overlay; +} + +main.table__body::-webkit-scrollbar{ + width: 0.5rem; + height: 0.5rem; +} + +main.table__body::-webkit-scrollbar-thumb{ + border-radius: .5rem; + background-color: #0004; + visibility: hidden; +} + +main.table__body:hover::-webkit-scrollbar-thumb{ + visibility: visible; +} + +main table { + width: 100%; +} + +main td img { + width: 36px; + height: 36px; + margin-right: .5rem; + border-radius: 50%; + + vertical-align: middle; +} + +main table, th, td { + border-collapse: collapse; + padding: 1rem; + text-align: left; +} + +main thead th { + position: sticky; + top: 0; + left: 0; + background-color: #d5d1defe; + cursor: pointer; + text-transform: capitalize; +} + +main tbody tr:nth-child(even) { + background-color: #0000000b; +} + +main tbody tr { + --delay: .1s; + transition: .5s ease-in-out var(--delay), background-color 0s; +} + +main tbody tr.hide { + opacity: 0; + transform: translateX(100%); +} + +main tbody tr:hover { + background-color: #fff6 !important; +} + +main tbody tr td, +main tbody tr td p, +main tbody tr td img { + transition: .2s ease-in-out; +} + +main tbody tr.hide td, +main tbody tr.hide td p { + padding: 0; + font: 0 / 0 sans-serif; + transition: .2s ease-in-out .5s; +} + +main tbody tr.hide td img { + width: 0; + height: 0; + transition: .2s ease-in-out .5s; +} + + + +main thead th:hover { + color: #6c00bd; +} + +main thead th.active,tbody td.active { + color: #6c00bd; +} + diff --git a/simulation/css/scenes.css b/simulation/css/scenes.css new file mode 100644 index 0000000..f666763 --- /dev/null +++ b/simulation/css/scenes.css @@ -0,0 +1,118 @@ +.anime-main{ + display: flex; + justify-content: center; + align-items: center; +} + +/* Scene 1 */ +/* step1 */ +.user-input{ + font-size: 1.5rem; + flex-direction: column; + display: none; + gap: 10px; + position: absolute; + left: 200; +} +.user-input p{ + margin: 0; +} +.user-input *{ + padding: 10px; + +} + + + +.anime-header{ + display: none; + position: relative; + top: 0px; + z-index: 6000; +} + +/* step2 - project intro */ +.project-intro{ + top: 50px; + padding: 10px; + display: none; + position: absolute; +} + +.project-intro .heading{ + font-weight: bold; + font-size: 1.1rem; +} +.project-intro .description{ + margin: 5px 0 15px 0; + color: rgb(48, 48, 48); +} + + + + +/* Mouse position */ + +#demo { + height: 100%; + width: 100%; + background-color: #222831; +} + +#info { + z-index: 200; + padding-left: 10px; + border-radius: 10px; + position: absolute; + user-select: none; + font-size: 2em; + width: 120px; + color: #EEEEEE; + background-color: #FD7013; +} + +/* step3 */ +/* input template */ +.temp-input{ + position: absolute; + font-size: 1.5rem; + display: none; +} +.temp-input span{ + margin: 5px; +} +.error{ + color: red; + font-size: 1rem; + text-align: center; + display: none; +} +.temp-input .input{ + font-size: 1.5rem; + width: 100px; + padding: 5px; +} + +.temp-input .submit-btn{ + margin: 20px 0; +} + +/* step 7 */ +.utm-button{ + cursor: pointer; + background-color: rgb(0, 255, 0); + padding: 4px; + box-shadow: 1px 1px 10px 3px green; + border-radius: 50%; + /* border: 1px solid; */ + left: 251px; + top: 147px; + position: absolute; + z-index: 6; + opacity: 0; +} + +.celebration{ + display: none; + position: absolute; +} \ No newline at end of file diff --git a/simulation/css/sliders.css b/simulation/css/sliders.css new file mode 100644 index 0000000..dcaa827 --- /dev/null +++ b/simulation/css/sliders.css @@ -0,0 +1,156 @@ +/* body{ + background-color: #f1ece3; +} */ +.universal-slider{ + position: absolute; + top: -60px; + left:-30px; +} +.universal-slider .slider-circuit{ + position: relative; + left: 8px; + top: 8px; + z-index: 20; +} +.universal-slider .slider .slider_R,.range-slider{ + position: absolute; + left: 557px; + top: 115px; + z-index: 499; + -webkit-appearance: none; + appearance: none; + transform: rotate(-90deg); + width: 80px; + height: 30px; + height: 10px; + border-radius: 5px; + /* background: #d3d3d3; */ + background: transparent; + outline: none; + opacity: 0.9; + -webkit-transition: .2s; + transition: opacity .2s; +} +.universal-slider .slider .slider_R::-webkit-slider-thumb,.range-slider::-webkit-slider-thumb{ + -webkit-appearance: none; + appearance: none; + height: 30px; + width: 30px; + border: 0; + transform: rotate(90deg); + background: url('../src/images/sliders/slider_tip.png'); + background-position: center; + background-size: cover; + background-repeat: no-repeat; + cursor: pointer; + +} +/* .universal-slider .slider .slider_R::-moz-range-thumb,.range-slider::-moz-range-thumb{ + -webkit-appearance: none; + appearance: none; + height: 30px; + width: 30px; + border: 0; + transform: rotate(90deg); + background: url('./img/slider_tip.png'); + background-position: center; + background-size: cover; + background-repeat: no-repeat; + cursor: pointer; + +} */ +.universal-slider .slider .slider_R:hover,.range-slider:hover{ + /* background-color: black; */ + opacity: 1; +} + +.universal-slider .slider .slider_R+img{ + position: absolute; + left: 569px; + top: 120px; + z-index: 498; +} +.universal-slider .slider .value-box{ + background-color: white; + text-align: black; + border: 1px solid black; + width: fit-content; + display: flex; + padding: 0 3px; +} +.universal-slider .slider .value-box input{ + border: none; + outline: none; + width: 30px; + font-weight: bold; +} + + + + +/* ! Fix positions of all slider input value */ +.universal-slider .slider .r .value-box{ + position: absolute; + left: 588px; + top: 54px; + z-index: 500; +} +/* slider d */ +.universal-slider .slider .slider_D{ + transform: rotate(0deg); + left: 281px; + top: 143.8px; + width: 80px; + background-color: transparent; +} + +.universal-slider .slider .d .value-box{ + position: absolute; + left: 299px; + top: 97px; + z-index: 500; +} +.universal-slider .slider .slider_D+img{ + position: absolute; + left: 218px; + top: 141px; + width: 80px; + z-index: 10; +} + +/* slider v */ +.universal-slider .slider .v .meter{ + width: 113px; + position: absolute; + top: 12px; + left: 70px; +} + +.universal-slider .slider .v .slider-V-arrow{ + width: 35px; + cursor: pointer; + position: absolute; + z-index: 200; +} + +.slider-v-r1{ + transform: rotate(0deg); + top: 65px; + left: 100px; +} +.slider-v-r2{ + transform: rotate(50deg); + top: 62px; + left: 110px; +} +.slider-v-r3{ + transform: rotate(110deg); + top: 67px; + left: 119px; +} +.universal-slider .slider .v .value-box{ + position: absolute; + top: 103px; + left: 116px; + z-index: 200; +} diff --git a/simulation/css/table.css b/simulation/css/table.css new file mode 100644 index 0000000..91dbed8 --- /dev/null +++ b/simulation/css/table.css @@ -0,0 +1,163 @@ +table { + background-color: #fff5; + + backdrop-filter: blur(7px); + box-shadow: 0 .4rem .8rem #0005; + border-radius: .8rem; + + overflow: hidden; +} + +main.table { + min-width: 600px; + height: 430px; + background-color: #fff5; + + backdrop-filter: blur(7px); + box-shadow: 0 .4rem .8rem #0005; + border-radius: .8rem; + + overflow: overlay; +} +.table__header .input-group { + width: 35%; + height: 100%; + background-color: #fff5; + padding: 0 .8rem; + border-radius: 2rem; + + display: flex; + justify-content: center; + align-items: center; + + transition: .2s; +} + +.table__header .input-group:hover { + width: 45%; + background-color: #fff8; + box-shadow: 0 .0.7rem .4rem #0002; +} + +.table__header .input-group img { + width: 1.2rem; + height: 1.2rem; +} + +.table__header .input-group input { + width: 100%; + padding: 0 .5rem 0 .3rem; + background-color: transparent; + border: none; + outline: none; +} + +main .table__body { + /* width: 95%; */ + /* max-height: calc(89% - 1.6rem); */ + background-color: #fffb; + display: flex; + justify-content: center; + border-radius: .6rem; + + overflow: auto; + /* overflow: overlay!important; */ +} + +.table__body::-webkit-scrollbar{ + width: 0.5rem; + height: 0.5rem; +} + +.table__body::-webkit-scrollbar-thumb{ + border-radius: .5rem; + background-color: #0004; + visibility: hidden; +} + +.table__body:hover::-webkit-scrollbar-thumb{ + visibility: visible; +} + + +td img { + width: 36px; + height: 36px; + margin-right: .5rem; + border-radius: 50%; + + vertical-align: middle; +} + +table, th, td { + border-collapse: collapse; + padding: 0.7rem; + text-align: left; +} +table{ + padding: 0.3rem; +} + +thead th { + position: sticky; + top: 0; + left: 0; + background-color: #d5d1defe; + cursor: pointer; + text-transform: capitalize; +} + +tbody tr:nth-child(even) { + background-color: #0000000b; +} + +tbody tr { + --delay: .1s; + transition: .5s ease-in-out var(--delay), background-color 0s; +} + +tbody tr.hide { + opacity: 0; + transform: translateX(100%); +} + +tbody tr:hover { + background-color: #fff6 !important; +} + +tbody tr td, +tbody tr td p, +tbody tr td img { + transition: .2s ease-in-out; +} + +tbody tr.hide td, +tbody tr.hide td p { + padding: 0; + font: 0 / 0 sans-serif; + transition: .2s ease-in-out .5s; +} + +tbody tr.hide td img { + width: 0; + height: 0; + transition: .2s ease-in-out .5s; +} + + + +.result-table{ + position: absolute; + left: 400; + display: none; +} + +.result-table .table__header{ + height: ""; + min-width: 600px!important; +} +.result-table th{ + display: flex; + align-items: center; +} + diff --git a/simulation/helper/GRAPH/graph.html b/simulation/helper/GRAPH/graph.html new file mode 100644 index 0000000..8bd3618 --- /dev/null +++ b/simulation/helper/GRAPH/graph.html @@ -0,0 +1,78 @@ + + + + + Horizontal Bar Chart with Rotated Y-axis Labels + + + +
+ +
+ + + + diff --git a/simulation/helper/cable/css/simstyle.css b/simulation/helper/cable/css/simstyle.css new file mode 100644 index 0000000..eb0fbe5 --- /dev/null +++ b/simulation/helper/cable/css/simstyle.css @@ -0,0 +1,150 @@ +.exp { + position: absolute; + top: 0em; + border: 5px; + left: 0%; + height: 48em; + width: 89em; + border-style: groove; + background-color: white; + /* width: 1422px; */ +} +/* input { + background: #228b22; + color: white; + padding: 10px 10px; + border: none; + border-radius: 3px; +} */ + #dragDropWindow1{ + left: 19.9em; + top: 27.6em; + position: fixed; + } + #dragDropWindow6{ + left: 17.5em; + top: 27.6em; + position: fixed; + } + #dragDropWindow8{ + left: 62.1em; + top: 29.3em; + position: fixed; + } + #dragDropWindow4{ + left: 73.55em; + top: 23.1em; + position: fixed; + } + #dragDropWindow5{ + left: 42.5em; + top: 27em; + position: fixed; + } + #dragDropWindow2{ + left: 27.7em; + top: 24em; + position: fixed; + } + #dragDropWindow7{ + left: 71.3em; + top: 23.1em; + position: absolute; + } + #dragDropWindow3{ + left: 62.1em; + top: 25.7em; + position: fixed; + } + .image{ + position:relative; + margin-top:100px; + } + .top{ + position:absolute; + bottom:50px; + right:30px; + /*z-index:10;*/ + } + .instruct{ + float:right; + } + .b1:hover{ + background-color:yellow; + color:red; + cursor:pointer; + } + .b2:hover{ + background-color:red; + color:white; + cursor:pointer; + } + .button{ + display:inline-flex; + margin-right:50px; + } + .modal { + display: none; + position: fixed; + z-index: 1; + padding-top: 100px; + left: 0; + top: 0; + width: 100%; + height: 100%; + overflow: auto; + } + .modal-content { + background-color: #fefefe; + margin: auto; + padding: 20px; + border: 1px solid #888; + width: 80%; + -webkit-animation-name: animatetop; + -webkit-animation-duration: 0.4s; + animation-name: animatetop; + animation-duration: 0.4s + } + @-webkit-keyframes animatetop { + from {top:-300px; opacity:0} + to {top:0; opacity:1} + } + @keyframes animatetop { + from {top:-300px; opacity:0} + to {top:0; opacity:1} + } + .close { + color: #ffffff; + float: right; + font-size: 28px; + font-weight: bold; + } + .close:hover, + .close:focus { + text-decoration: none; + cursor: pointer; + } + .modal-header { + padding: 2px 16px; + background-color: #044ca3; + color: white; + } + .modal-body {padding: 2px 16px;} + .modal-footer { + padding: 2px 16px; + background-color: #044ca3; + color: white; + } + path, .jtk-endpoint { cursor:pointer; } + .cmdLink { font-size:0.80em;} + .drag-drop-demo a, .drag-drop-demo a:visited { + color:#057D9F; + } + .demo { + /* for IE10+ touch devices */ + touch-action:none; + } + body{ + margin-left: 15px!important; + margin-top: -23px!important; + } \ No newline at end of file diff --git a/simulation/helper/cable/images/Log.png b/simulation/helper/cable/images/Log.png new file mode 100644 index 0000000..33a261a Binary files /dev/null and b/simulation/helper/cable/images/Log.png differ diff --git a/simulation/helper/cable/images/meter.png b/simulation/helper/cable/images/meter.png new file mode 100644 index 0000000..cde49fa Binary files /dev/null and b/simulation/helper/cable/images/meter.png differ diff --git a/simulation/helper/cable/images/meter2.png b/simulation/helper/cable/images/meter2.png new file mode 100644 index 0000000..f6efa4e Binary files /dev/null and b/simulation/helper/cable/images/meter2.png differ diff --git a/simulation/helper/cable/images/setup.PNG b/simulation/helper/cable/images/setup.PNG new file mode 100644 index 0000000..56f5f66 Binary files /dev/null and b/simulation/helper/cable/images/setup.PNG differ diff --git a/simulation/helper/cable/js/demo.js b/simulation/helper/cable/js/demo.js new file mode 100644 index 0000000..cc5ade7 --- /dev/null +++ b/simulation/helper/cable/js/demo.js @@ -0,0 +1,261 @@ +(function () { + var yy = document.getElementById("check"); + yy.onclick = checkk; + + // ! check + function checkk() { + if (connections.length == 0) { + alert("Please make the connections first"); + return false; + } + + if (connections.length < 6) { + alert("Wrong Connections\nPlease go through the instructions once"); + return false; + } + let isConnectionRight = false + if (connections.length >= 6) { + let matrixForCheckGraph = [ + // 0 1 2 3 4 5 6 7 8 9 10 + [0,0,0,0,0,0,0,0,0,0,0], // 0 + [0,0,0,1,0,0,0,0,0,0,0], // 1 + [0,0,0,0,0,0,1,0,1,0,0], // 2 + [0,1,0,0,0,0,0,0,0,0,0], // 3 + [0,0,0,0,0,0,0,1,0,1,0], // 4 + [0,0,0,0,0,0,0,0,0,0,1], // 5 + [0,0,1,0,0,0,0,0,1,0,0], // 6 + [0,0,0,0,1,0,0,0,0,1,0], // 7 + [0,0,1,0,0,0,1,0,0,0,0], // 8 + [0,0,0,0,1,0,0,1,0,0,0], // 9 + [0,0,0,0,0,1,0,0,0,0,0], // 10 + ] + var listDiv = []; + for (var j = 0; j < connections.length; j++) { + let pos = [connections[j].targetId,connections[j].sourceId] + listDiv.push(pos) + } + for(let i=0;i 0) { + var listDiv = []; + for (var j = 0; j < connections.length; j++) { + let pos = [connections[j].targetId,connections[j].sourceId] + listDiv.push(pos) + } + showConnectionInfo(listDiv); + } + }); + + jsPlumb.ready(function () { + var instance = jsPlumb.getInstance(); + + // suspend drawing and initialise. + instance.batch(function () { + // bind to connection/connectionDetached events, and update the list of connections on screen. + instance.bind("connection", function (info, originalEvent) { + updateConnections(info.connection); + }); + instance.bind("connectionDetached", function (info, originalEvent) { + updateConnections(info.connection, true); + }); + + instance.bind("connectionMoved", function (info, originalEvent) { + // only remove here, because a 'connection' event is also fired. + // in a future release of jsplumb this extra connection event will not + // be fired. + updateConnections(info.connection, true); + }); + + // configure some drop options for use by all endpoints. + var exampleDropOptions = { + tolerance: "touch", + hoverClass: "dropHover", + activeClass: "dragActive", + }; + let radius = 14 + var exampleEndpoint1 = { + endpoint: ["Dot", { radius: radius }], + paintStyle: { fill: "pink" }, + isSource: true, + scope: "green", + connectorStyle: { stroke: "pink", strokeWidth: 6 }, + connector: ["Bezier", { curviness: 10 }], + maxConnections: 1, + isTarget: true, + dropOptions: exampleDropOptions, + }; + var exampleEndpoint2 = { + endpoint: ["Dot", { radius: radius }], + paintStyle: { fill: "black" }, + isSource: true, + scope: "green", + connectorStyle: { stroke: "black", strokeWidth: 6 }, + connector: ["Bezier", { curviness: -50 }], + maxConnections: 3, + isTarget: true, + dropOptions: exampleDropOptions, + }; + var exampleEndpoint3 = { + endpoint: ["Dot", { radius: radius }], + paintStyle: { fill: "red" }, + isSource: true, + scope: "green", + connectorStyle: { stroke: "red", strokeWidth: 6 }, + connector: ["Bezier", { curviness: -30 }], + maxConnections: 3, + isTarget: true, + dropOptions: exampleDropOptions, + }; + var exampleEndpoint4 = { + endpoint: ["Dot", { radius: radius }], + paintStyle: { fill: "green" }, + isSource: true, + scope: "green", + connectorStyle: { stroke: "green", strokeWidth: 6 }, + connector: ["Bezier", { curviness: -50 }], + maxConnections: 1, + isTarget: true, + dropOptions: exampleDropOptions, + }; + // conn 1 + instance.addEndpoint( + "dragDropWindow1", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint1 + ); + instance.addEndpoint( + "dragDropWindow3", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint1 + ); + + // conn 2 + instance.addEndpoint( + "dragDropWindow4", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint2 + ); + instance.addEndpoint( + "dragDropWindow7", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint2 + ); + instance.addEndpoint( + "dragDropWindow9", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint2 + ); + + // conn 3 + instance.addEndpoint( + "dragDropWindow8", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint3 + ); + instance.addEndpoint( + "dragDropWindow6", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint3 + ); + instance.addEndpoint( + "dragDropWindow2", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint3 + ); + + // conn 4 + instance.addEndpoint( + "dragDropWindow10", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint4 + ); + instance.addEndpoint( + "dragDropWindow5", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint4 + ); + /*instance.addEndpoint("dragDropWindow9", { anchor: [0.75, 0, 0, -1] }, exampleEndpoint4); + instance.addEndpoint("dragDropWindow10", { anchor: [0.75, 0, 0, -1] }, exampleEndpoint4); + instance.addEndpoint("dragDropWindow11", { anchor: [0.75, 0, 0, -1] }, exampleEndpoint3); + instance.addEndpoint("dragDropWindow12", { anchor: [0.75, 0, 0, -1] }, exampleEndpoint3);*/ + + instance.draggable(jsPlumb.getSelector(".drag-drop-demo .window")); + + var hideLinks = jsPlumb.getSelector(".drag-drop-demo .hide"); + instance.on(hideLinks, "click", function (e) { + instance.toggleVisible(this.getAttribute("rel")); + jsPlumbUtil.consume(e); + }); + + var dragLinks = jsPlumb.getSelector(".drag-drop-demo .drag"); + instance.on(dragLinks, "click", function (e) { + var s = instance.toggleDraggable(this.getAttribute("rel")); + this.innerHTML = s ? "disable dragging" : "enable dragging"; + jsPlumbUtil.consume(e); + }); + + var detachLinks = jsPlumb.getSelector(".drag-drop-demo .detach"); + instance.on(detachLinks, "click", function (e) { + instance.deleteConnectionsForElement(this.getAttribute("rel")); + jsPlumbUtil.consume(e); + }); + + // ! reset + instance.on(document.getElementById("reset"), "click", function (e) { + // instance.detachEveryConnection(); + instance.deleteEveryConnection() + showConnectionInfo(""); + jsPlumbUtil.consume(e); + }); + }); + + jsPlumb.fire("jsPlumbDemoLoaded", instance); + }); + +})(); diff --git a/simulation/helper/cable/js/jsplumb.js b/simulation/helper/cable/js/jsplumb.js new file mode 100644 index 0000000..5c66789 --- /dev/null +++ b/simulation/helper/cable/js/jsplumb.js @@ -0,0 +1,15949 @@ +/** + * jsBezier + * + * Copyright (c) 2010 - 2017 jsPlumb (hello@jsplumbtoolkit.com) + * + * licensed under the MIT license. + * + * a set of Bezier curve functions that deal with Beziers, used by jsPlumb, and perhaps useful for other people. These functions work with Bezier + * curves of arbitrary degree. + * + * - functions are all in the 'jsBezier' namespace. + * + * - all input points should be in the format {x:.., y:..}. all output points are in this format too. + * + * - all input curves should be in the format [ {x:.., y:..}, {x:.., y:..}, {x:.., y:..}, {x:.., y:..} ] + * + * - 'location' as used as an input here refers to a decimal in the range 0-1 inclusive, which indicates a point some proportion along the length + * of the curve. location as output has the same format and meaning. + * + * + * Function List: + * -------------- + * + * distanceFromCurve(point, curve) + * + * Calculates the distance that the given point lies from the given Bezier. Note that it is computed relative to the center of the Bezier, + * so if you have stroked the curve with a wide pen you may wish to take that into account! The distance returned is relative to the values + * of the curve and the point - it will most likely be pixels. + * + * gradientAtPoint(curve, location) + * + * Calculates the gradient to the curve at the given location, as a decimal between 0 and 1 inclusive. + * + * gradientAtPointAlongCurveFrom (curve, location) + * + * Calculates the gradient at the point on the given curve that is 'distance' units from location. + * + * nearestPointOnCurve(point, curve) + * + * Calculates the nearest point to the given point on the given curve. The return value of this is a JS object literal, containing both the + *point's coordinates and also the 'location' of the point (see above), for example: { point:{x:551,y:150}, location:0.263365 }. + * + * pointOnCurve(curve, location) + * + * Calculates the coordinates of the point on the given Bezier curve at the given location. + * + * pointAlongCurveFrom(curve, location, distance) + * + * Calculates the coordinates of the point on the given curve that is 'distance' units from location. 'distance' should be in the same coordinate + * space as that used to construct the Bezier curve. For an HTML Canvas usage, for example, distance would be a measure of pixels. + * + * locationAlongCurveFrom(curve, location, distance) + * + * Calculates the location on the given curve that is 'distance' units from location. 'distance' should be in the same coordinate + * space as that used to construct the Bezier curve. For an HTML Canvas usage, for example, distance would be a measure of pixels. + * + * perpendicularToCurveAt(curve, location, length, distance) + * + * Calculates the perpendicular to the given curve at the given location. length is the length of the line you wish for (it will be centered + * on the point at 'location'). distance is optional, and allows you to specify a point along the path from the given location as the center of + * the perpendicular returned. The return value of this is an array of two points: [ {x:...,y:...}, {x:...,y:...} ]. + * + * + */ + + (function() { + + var root = this; + + if(typeof Math.sgn == "undefined") { + Math.sgn = function(x) { return x == 0 ? 0 : x > 0 ? 1 :-1; }; + } + + var Vectors = { + subtract : function(v1, v2) { return {x:v1.x - v2.x, y:v1.y - v2.y }; }, + dotProduct : function(v1, v2) { return (v1.x * v2.x) + (v1.y * v2.y); }, + square : function(v) { return Math.sqrt((v.x * v.x) + (v.y * v.y)); }, + scale : function(v, s) { return {x:v.x * s, y:v.y * s }; } + }, + + maxRecursion = 64, + flatnessTolerance = Math.pow(2.0,-maxRecursion-1); + + /** + * Calculates the distance that the point lies from the curve. + * + * @param point a point in the form {x:567, y:3342} + * @param curve a Bezier curve in the form [{x:..., y:...}, {x:..., y:...}, {x:..., y:...}, {x:..., y:...}]. note that this is currently + * hardcoded to assume cubiz beziers, but would be better off supporting any degree. + * @return a JS object literal containing location and distance, for example: {location:0.35, distance:10}. Location is analogous to the location + * argument you pass to the pointOnPath function: it is a ratio of distance travelled along the curve. Distance is the distance in pixels from + * the point to the curve. + */ + var _distanceFromCurve = function(point, curve) { + var candidates = [], + w = _convertToBezier(point, curve), + degree = curve.length - 1, higherDegree = (2 * degree) - 1, + numSolutions = _findRoots(w, higherDegree, candidates, 0), + v = Vectors.subtract(point, curve[0]), dist = Vectors.square(v), t = 0.0; + + for (var i = 0; i < numSolutions; i++) { + v = Vectors.subtract(point, _bezier(curve, degree, candidates[i], null, null)); + var newDist = Vectors.square(v); + if (newDist < dist) { + dist = newDist; + t = candidates[i]; + } + } + v = Vectors.subtract(point, curve[degree]); + newDist = Vectors.square(v); + if (newDist < dist) { + dist = newDist; + t = 1.0; + } + return {location:t, distance:dist}; + }; + /** + * finds the nearest point on the curve to the given point. + */ + var _nearestPointOnCurve = function(point, curve) { + var td = _distanceFromCurve(point, curve); + return {point:_bezier(curve, curve.length - 1, td.location, null, null), location:td.location}; + }; + var _convertToBezier = function(point, curve) { + var degree = curve.length - 1, higherDegree = (2 * degree) - 1, + c = [], d = [], cdTable = [], w = [], + z = [ [1.0, 0.6, 0.3, 0.1], [0.4, 0.6, 0.6, 0.4], [0.1, 0.3, 0.6, 1.0] ]; + + for (var i = 0; i <= degree; i++) c[i] = Vectors.subtract(curve[i], point); + for (var i = 0; i <= degree - 1; i++) { + d[i] = Vectors.subtract(curve[i+1], curve[i]); + d[i] = Vectors.scale(d[i], 3.0); + } + for (var row = 0; row <= degree - 1; row++) { + for (var column = 0; column <= degree; column++) { + if (!cdTable[row]) cdTable[row] = []; + cdTable[row][column] = Vectors.dotProduct(d[row], c[column]); + } + } + for (i = 0; i <= higherDegree; i++) { + if (!w[i]) w[i] = []; + w[i].y = 0.0; + w[i].x = parseFloat(i) / higherDegree; + } + var n = degree, m = degree-1; + for (var k = 0; k <= n + m; k++) { + var lb = Math.max(0, k - m), + ub = Math.min(k, n); + for (i = lb; i <= ub; i++) { + var j = k - i; + w[i+j].y += cdTable[j][i] * z[j][i]; + } + } + return w; + }; + /** + * counts how many roots there are. + */ + var _findRoots = function(w, degree, t, depth) { + var left = [], right = [], + left_count, right_count, + left_t = [], right_t = []; + + switch (_getCrossingCount(w, degree)) { + case 0 : { + return 0; + } + case 1 : { + if (depth >= maxRecursion) { + t[0] = (w[0].x + w[degree].x) / 2.0; + return 1; + } + if (_isFlatEnough(w, degree)) { + t[0] = _computeXIntercept(w, degree); + return 1; + } + break; + } + } + _bezier(w, degree, 0.5, left, right); + left_count = _findRoots(left, degree, left_t, depth+1); + right_count = _findRoots(right, degree, right_t, depth+1); + for (var i = 0; i < left_count; i++) t[i] = left_t[i]; + for (var i = 0; i < right_count; i++) t[i+left_count] = right_t[i]; + return (left_count+right_count); + }; + var _getCrossingCount = function(curve, degree) { + var n_crossings = 0, sign, old_sign; + sign = old_sign = Math.sgn(curve[0].y); + for (var i = 1; i <= degree; i++) { + sign = Math.sgn(curve[i].y); + if (sign != old_sign) n_crossings++; + old_sign = sign; + } + return n_crossings; + }; + var _isFlatEnough = function(curve, degree) { + var error, + intercept_1, intercept_2, left_intercept, right_intercept, + a, b, c, det, dInv, a1, b1, c1, a2, b2, c2; + a = curve[0].y - curve[degree].y; + b = curve[degree].x - curve[0].x; + c = curve[0].x * curve[degree].y - curve[degree].x * curve[0].y; + + var max_distance_above, max_distance_below; + max_distance_above = max_distance_below = 0.0; + + for (var i = 1; i < degree; i++) { + var value = a * curve[i].x + b * curve[i].y + c; + if (value > max_distance_above) + max_distance_above = value; + else if (value < max_distance_below) + max_distance_below = value; + } + + a1 = 0.0; b1 = 1.0; c1 = 0.0; a2 = a; b2 = b; + c2 = c - max_distance_above; + det = a1 * b2 - a2 * b1; + dInv = 1.0/det; + intercept_1 = (b1 * c2 - b2 * c1) * dInv; + a2 = a; b2 = b; c2 = c - max_distance_below; + det = a1 * b2 - a2 * b1; + dInv = 1.0/det; + intercept_2 = (b1 * c2 - b2 * c1) * dInv; + left_intercept = Math.min(intercept_1, intercept_2); + right_intercept = Math.max(intercept_1, intercept_2); + error = right_intercept - left_intercept; + return (error < flatnessTolerance)? 1 : 0; + }; + var _computeXIntercept = function(curve, degree) { + var XLK = 1.0, YLK = 0.0, + XNM = curve[degree].x - curve[0].x, YNM = curve[degree].y - curve[0].y, + XMK = curve[0].x - 0.0, YMK = curve[0].y - 0.0, + det = XNM*YLK - YNM*XLK, detInv = 1.0/det, + S = (XNM*YMK - YNM*XMK) * detInv; + return 0.0 + XLK * S; + }; + var _bezier = function(curve, degree, t, left, right) { + var temp = [[]]; + for (var j =0; j <= degree; j++) temp[0][j] = curve[j]; + for (var i = 1; i <= degree; i++) { + for (var j =0 ; j <= degree - i; j++) { + if (!temp[i]) temp[i] = []; + if (!temp[i][j]) temp[i][j] = {}; + temp[i][j].x = (1.0 - t) * temp[i-1][j].x + t * temp[i-1][j+1].x; + temp[i][j].y = (1.0 - t) * temp[i-1][j].y + t * temp[i-1][j+1].y; + } + } + if (left != null) + for (j = 0; j <= degree; j++) left[j] = temp[j][0]; + if (right != null) + for (j = 0; j <= degree; j++) right[j] = temp[degree-j][j]; + + return (temp[degree][0]); + }; + + var _curveFunctionCache = {}; + var _getCurveFunctions = function(order) { + var fns = _curveFunctionCache[order]; + if (!fns) { + fns = []; + var f_term = function() { return function(t) { return Math.pow(t, order); }; }, + l_term = function() { return function(t) { return Math.pow((1-t), order); }; }, + c_term = function(c) { return function(t) { return c; }; }, + t_term = function() { return function(t) { return t; }; }, + one_minus_t_term = function() { return function(t) { return 1-t; }; }, + _termFunc = function(terms) { + return function(t) { + var p = 1; + for (var i = 0; i < terms.length; i++) p = p * terms[i](t); + return p; + }; + }; + + fns.push(new f_term()); // first is t to the power of the curve order + for (var i = 1; i < order; i++) { + var terms = [new c_term(order)]; + for (var j = 0 ; j < (order - i); j++) terms.push(new t_term()); + for (var j = 0 ; j < i; j++) terms.push(new one_minus_t_term()); + fns.push(new _termFunc(terms)); + } + fns.push(new l_term()); // last is (1-t) to the power of the curve order + + _curveFunctionCache[order] = fns; + } + + return fns; + }; + + + /** + * calculates a point on the curve, for a Bezier of arbitrary order. + * @param curve an array of control points, eg [{x:10,y:20}, {x:50,y:50}, {x:100,y:100}, {x:120,y:100}]. For a cubic bezier this should have four points. + * @param location a decimal indicating the distance along the curve the point should be located at. this is the distance along the curve as it travels, taking the way it bends into account. should be a number from 0 to 1, inclusive. + */ + var _pointOnPath = function(curve, location) { + var cc = _getCurveFunctions(curve.length - 1), + _x = 0, _y = 0; + for (var i = 0; i < curve.length ; i++) { + _x = _x + (curve[i].x * cc[i](location)); + _y = _y + (curve[i].y * cc[i](location)); + } + + return {x:_x, y:_y}; + }; + + var _dist = function(p1,p2) { + return Math.sqrt(Math.pow(p1.x - p2.x, 2) + Math.pow(p1.y - p2.y, 2)); + }; + + var _isPoint = function(curve) { + return curve[0].x === curve[1].x && curve[0].y === curve[1].y; + }; + + /** + * finds the point that is 'distance' along the path from 'location'. this method returns both the x,y location of the point and also + * its 'location' (proportion of travel along the path); the method below - _pointAlongPathFrom - calls this method and just returns the + * point. + */ + var _pointAlongPath = function(curve, location, distance) { + + if (_isPoint(curve)) { + return { + point:curve[0], + location:location + }; + } + + var prev = _pointOnPath(curve, location), + tally = 0, + curLoc = location, + direction = distance > 0 ? 1 : -1, + cur = null; + + while (tally < Math.abs(distance)) { + curLoc += (0.005 * direction); + cur = _pointOnPath(curve, curLoc); + tally += _dist(cur, prev); + prev = cur; + } + + return {point:cur, location:curLoc}; + }; + + var _length = function(curve) { + + var d = new Date().getTime(); + + if (_isPoint(curve)) return 0; + + var prev = _pointOnPath(curve, 0), + tally = 0, + curLoc = 0, + direction = 1, + cur = null; + + while (curLoc < 1) { + curLoc += (0.005 * direction); + cur = _pointOnPath(curve, curLoc); + tally += _dist(cur, prev); + prev = cur; + } + console.log("length", new Date().getTime() - d); + + return tally; + }; + + /** + * finds the point that is 'distance' along the path from 'location'. + */ + var _pointAlongPathFrom = function(curve, location, distance) { + return _pointAlongPath(curve, location, distance).point; + }; + + /** + * finds the location that is 'distance' along the path from 'location'. + */ + var _locationAlongPathFrom = function(curve, location, distance) { + return _pointAlongPath(curve, location, distance).location; + }; + + /** + * returns the gradient of the curve at the given location, which is a decimal between 0 and 1 inclusive. + * + * thanks // http://bimixual.org/AnimationLibrary/beziertangents.html + */ + var _gradientAtPoint = function(curve, location) { + + var p1 = _pointOnPath(curve, location), + p2 = _pointOnPath(curve.slice(0, curve.length - 1), location), + dy = p2.y - p1.y, dx = p2.x - p1.x; + + return dy === 0 ? Infinity : Math.atan(dy / dx); + }; + + /** + returns the gradient of the curve at the point which is 'distance' from the given location. + if this point is greater than location 1, the gradient at location 1 is returned. + if this point is less than location 0, the gradient at location 0 is returned. + */ + var _gradientAtPointAlongPathFrom = function(curve, location, distance) { + var p = _pointAlongPath(curve, location, distance); + if (p.location > 1) p.location = 1; + if (p.location < 0) p.location = 0; + return _gradientAtPoint(curve, p.location); + }; + + /** + * calculates a line that is 'length' pixels long, perpendicular to, and centered on, the path at 'distance' pixels from the given location. + * if distance is not supplied, the perpendicular for the given location is computed (ie. we set distance to zero). + */ + var _perpendicularToPathAt = function(curve, location, length, distance) { + distance = distance == null ? 0 : distance; + var p = _pointAlongPath(curve, location, distance), + m = _gradientAtPoint(curve, p.location), + _theta2 = Math.atan(-1 / m), + y = length / 2 * Math.sin(_theta2), + x = length / 2 * Math.cos(_theta2); + return [{x:p.point.x + x, y:p.point.y + y}, {x:p.point.x - x, y:p.point.y - y}]; + }; + + /** + * Calculates all intersections of the given line with the given curve. + * @param x1 + * @param y1 + * @param x2 + * @param y2 + * @param curve + * @returns {Array} + */ + var _lineIntersection = function(x1, y1, x2, y2, curve) { + var a = y2 - y1, + b = x1 - x2, + c = (x1 * (y1 - y2)) + (y1 * (x2-x1)), + coeffs = _computeCoefficients(curve), + p = [ + (a*coeffs[0][0]) + (b * coeffs[1][0]), + (a*coeffs[0][1])+(b*coeffs[1][1]), + (a*coeffs[0][2])+(b*coeffs[1][2]), + (a*coeffs[0][3])+(b*coeffs[1][3]) + c + ], + r = _cubicRoots.apply(null, p), + intersections = []; + + if (r != null) { + + for (var i = 0; i < 3; i++) { + var t = r[i], + t2 = Math.pow(t, 2), + t3 = Math.pow(t, 3), + x = [ + (coeffs[0][0] * t3) + (coeffs[0][1] * t2) + (coeffs[0][2] * t) + coeffs[0][3], + (coeffs[1][0] * t3) + (coeffs[1][1] * t2) + (coeffs[1][2] * t) + coeffs[1][3] + ]; + + // check bounds of the line + var s; + if ((x2 - x1) !== 0) { + s = (x[0] - x1) / (x2 - x1); + } + else { + s = (x[1] - y1) / (y2 - y1); + } + + if (t >= 0 && t <= 1.0 && s >= 0 && s <= 1.0) { + intersections.push(x); + } + } + } + + return intersections; + }; + + /** + * Calculates all intersections of the given box with the given curve. + * @param x X position of top left corner of box + * @param y Y position of top left corner of box + * @param w width of box + * @param h height of box + * @param curve + * @returns {Array} + */ + var _boxIntersection = function(x, y, w, h, curve) { + var i = []; + i.push.apply(i, _lineIntersection(x, y, x + w, y, curve)); + i.push.apply(i, _lineIntersection(x + w, y, x + w, y + h, curve)); + i.push.apply(i, _lineIntersection(x + w, y + h, x, y + h, curve)); + i.push.apply(i, _lineIntersection(x, y + h, x, y, curve)); + return i; + }; + + /** + * Calculates all intersections of the given bounding box with the given curve. + * @param boundingBox Bounding box, in { x:.., y:..., w:..., h:... } format. + * @param curve + * @returns {Array} + */ + var _boundingBoxIntersection = function(boundingBox, curve) { + var i = []; + i.push.apply(i, _lineIntersection(boundingBox.x, boundingBox.y, boundingBox.x + boundingBox.w, boundingBox.y, curve)); + i.push.apply(i, _lineIntersection(boundingBox.x + boundingBox.w, boundingBox.y, boundingBox.x + boundingBox.w, boundingBox.y + boundingBox.h, curve)); + i.push.apply(i, _lineIntersection(boundingBox.x + boundingBox.w, boundingBox.y + boundingBox.h, boundingBox.x, boundingBox.y + boundingBox.h, curve)); + i.push.apply(i, _lineIntersection(boundingBox.x, boundingBox.y + boundingBox.h, boundingBox.x, boundingBox.y, curve)); + return i; + }; + + + function _computeCoefficientsForAxis(curve, axis) { + return [ + -(curve[0][axis]) + (3*curve[1][axis]) + (-3 * curve[2][axis]) + curve[3][axis], + (3*(curve[0][axis])) - (6*(curve[1][axis])) + (3*(curve[2][axis])), + -3*curve[0][axis] + 3*curve[1][axis], + curve[0][axis] + ]; + } + + function _computeCoefficients(curve) + { + return [ + _computeCoefficientsForAxis(curve, "x"), + _computeCoefficientsForAxis(curve, "y") + ]; + } + + function sgn(x) { + return x < 0 ? -1 : x > 0 ? 1 : 0; + } + + function _cubicRoots(a, b, c, d) { + var A = b / a, + B = c / a, + C = d / a, + Q = (3*B - Math.pow(A, 2))/9, + R = (9*A*B - 27*C - 2*Math.pow(A, 3))/54, + D = Math.pow(Q, 3) + Math.pow(R, 2), + S, + T, + t = []; + + if (D >= 0) // complex or duplicate roots + { + S = sgn(R + Math.sqrt(D))*Math.pow(Math.abs(R + Math.sqrt(D)),(1/3)); + T = sgn(R - Math.sqrt(D))*Math.pow(Math.abs(R - Math.sqrt(D)),(1/3)); + + t[0] = -A/3 + (S + T); + t[1] = -A/3 - (S + T)/2; + t[2] = -A/3 - (S + T)/2; + + /*discard complex roots*/ + if (Math.abs(Math.sqrt(3)*(S - T)/2) !== 0) { + t[1] = -1; + t[2] = -1; + } + } + else // distinct real roots + { + var th = Math.acos(R/Math.sqrt(-Math.pow(Q, 3))); + t[0] = 2*Math.sqrt(-Q)*Math.cos(th/3) - A/3; + t[1] = 2*Math.sqrt(-Q)*Math.cos((th + 2*Math.PI)/3) - A/3; + t[2] = 2*Math.sqrt(-Q)*Math.cos((th + 4*Math.PI)/3) - A/3; + } + + // discard out of spec roots + for (var i = 0; i < 3; i++) { + if (t[i] < 0 || t[i] > 1.0) { + t[i] = -1; + } + } + + return t; + } + + var jsBezier = this.jsBezier = { + distanceFromCurve : _distanceFromCurve, + gradientAtPoint : _gradientAtPoint, + gradientAtPointAlongCurveFrom : _gradientAtPointAlongPathFrom, + nearestPointOnCurve : _nearestPointOnCurve, + pointOnCurve : _pointOnPath, + pointAlongCurveFrom : _pointAlongPathFrom, + perpendicularToCurveAt : _perpendicularToPathAt, + locationAlongCurveFrom:_locationAlongPathFrom, + getLength:_length, + lineIntersection:_lineIntersection, + boxIntersection:_boxIntersection, + boundingBoxIntersection:_boundingBoxIntersection, + version:"0.9.0" + }; + + if (typeof exports !== "undefined") { + exports.jsBezier = jsBezier; + } + +}).call(typeof window !== 'undefined' ? window : this); + +/** + * Biltong v0.4.0 + * + * Various geometry functions written as part of jsPlumb and perhaps useful for others. + * + * Copyright (c) 2017 jsPlumb + * https://jsplumbtoolkit.com + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ +;(function() { + + "use strict"; + var root = this; + + var Biltong = root.Biltong = { + version:"0.4.0" + }; + + if (typeof exports !== "undefined") { + exports.Biltong = Biltong; + } + + var _isa = function(a) { return Object.prototype.toString.call(a) === "[object Array]"; }, + _pointHelper = function(p1, p2, fn) { + p1 = _isa(p1) ? p1 : [p1.x, p1.y]; + p2 = _isa(p2) ? p2 : [p2.x, p2.y]; + return fn(p1, p2); + }, + /** + * @name Biltong.gradient + * @function + * @desc Calculates the gradient of a line between the two points. + * @param {Point} p1 First point, either as a 2 entry array or object with `left` and `top` properties. + * @param {Point} p2 Second point, either as a 2 entry array or object with `left` and `top` properties. + * @return {Float} The gradient of a line between the two points. + */ + _gradient = Biltong.gradient = function(p1, p2) { + return _pointHelper(p1, p2, function(_p1, _p2) { + if (_p2[0] == _p1[0]) + return _p2[1] > _p1[1] ? Infinity : -Infinity; + else if (_p2[1] == _p1[1]) + return _p2[0] > _p1[0] ? 0 : -0; + else + return (_p2[1] - _p1[1]) / (_p2[0] - _p1[0]); + }); + }, + /** + * @name Biltong.normal + * @function + * @desc Calculates the gradient of a normal to a line between the two points. + * @param {Point} p1 First point, either as a 2 entry array or object with `left` and `top` properties. + * @param {Point} p2 Second point, either as a 2 entry array or object with `left` and `top` properties. + * @return {Float} The gradient of a normal to a line between the two points. + */ + _normal = Biltong.normal = function(p1, p2) { + return -1 / _gradient(p1, p2); + }, + /** + * @name Biltong.lineLength + * @function + * @desc Calculates the length of a line between the two points. + * @param {Point} p1 First point, either as a 2 entry array or object with `left` and `top` properties. + * @param {Point} p2 Second point, either as a 2 entry array or object with `left` and `top` properties. + * @return {Float} The length of a line between the two points. + */ + _lineLength = Biltong.lineLength = function(p1, p2) { + return _pointHelper(p1, p2, function(_p1, _p2) { + return Math.sqrt(Math.pow(_p2[1] - _p1[1], 2) + Math.pow(_p2[0] - _p1[0], 2)); + }); + }, + /** + * @name Biltong.quadrant + * @function + * @desc Calculates the quadrant in which the angle between the two points lies. + * @param {Point} p1 First point, either as a 2 entry array or object with `left` and `top` properties. + * @param {Point} p2 Second point, either as a 2 entry array or object with `left` and `top` properties. + * @return {Integer} The quadrant - 1 for upper right, 2 for lower right, 3 for lower left, 4 for upper left. + */ + _quadrant = Biltong.quadrant = function(p1, p2) { + return _pointHelper(p1, p2, function(_p1, _p2) { + if (_p2[0] > _p1[0]) { + return (_p2[1] > _p1[1]) ? 2 : 1; + } + else if (_p2[0] == _p1[0]) { + return _p2[1] > _p1[1] ? 2 : 1; + } + else { + return (_p2[1] > _p1[1]) ? 3 : 4; + } + }); + }, + /** + * @name Biltong.theta + * @function + * @desc Calculates the angle between the two points. + * @param {Point} p1 First point, either as a 2 entry array or object with `left` and `top` properties. + * @param {Point} p2 Second point, either as a 2 entry array or object with `left` and `top` properties. + * @return {Float} The angle between the two points. + */ + _theta = Biltong.theta = function(p1, p2) { + return _pointHelper(p1, p2, function(_p1, _p2) { + var m = _gradient(_p1, _p2), + t = Math.atan(m), + s = _quadrant(_p1, _p2); + if ((s == 4 || s== 3)) t += Math.PI; + if (t < 0) t += (2 * Math.PI); + + return t; + }); + }, + /** + * @name Biltong.intersects + * @function + * @desc Calculates whether or not the two rectangles intersect. + * @param {Rectangle} r1 First rectangle, as a js object in the form `{x:.., y:.., w:.., h:..}` + * @param {Rectangle} r2 Second rectangle, as a js object in the form `{x:.., y:.., w:.., h:..}` + * @return {Boolean} True if the rectangles intersect, false otherwise. + */ + _intersects = Biltong.intersects = function(r1, r2) { + var x1 = r1.x, x2 = r1.x + r1.w, y1 = r1.y, y2 = r1.y + r1.h, + a1 = r2.x, a2 = r2.x + r2.w, b1 = r2.y, b2 = r2.y + r2.h; + + return ( (x1 <= a1 && a1 <= x2) && (y1 <= b1 && b1 <= y2) ) || + ( (x1 <= a2 && a2 <= x2) && (y1 <= b1 && b1 <= y2) ) || + ( (x1 <= a1 && a1 <= x2) && (y1 <= b2 && b2 <= y2) ) || + ( (x1 <= a2 && a1 <= x2) && (y1 <= b2 && b2 <= y2) ) || + ( (a1 <= x1 && x1 <= a2) && (b1 <= y1 && y1 <= b2) ) || + ( (a1 <= x2 && x2 <= a2) && (b1 <= y1 && y1 <= b2) ) || + ( (a1 <= x1 && x1 <= a2) && (b1 <= y2 && y2 <= b2) ) || + ( (a1 <= x2 && x1 <= a2) && (b1 <= y2 && y2 <= b2) ); + }, + /** + * @name Biltong.encloses + * @function + * @desc Calculates whether or not r2 is completely enclosed by r1. + * @param {Rectangle} r1 First rectangle, as a js object in the form `{x:.., y:.., w:.., h:..}` + * @param {Rectangle} r2 Second rectangle, as a js object in the form `{x:.., y:.., w:.., h:..}` + * @param {Boolean} [allowSharedEdges=false] If true, the concept of enclosure allows for one or more edges to be shared by the two rectangles. + * @return {Boolean} True if r1 encloses r2, false otherwise. + */ + _encloses = Biltong.encloses = function(r1, r2, allowSharedEdges) { + var x1 = r1.x, x2 = r1.x + r1.w, y1 = r1.y, y2 = r1.y + r1.h, + a1 = r2.x, a2 = r2.x + r2.w, b1 = r2.y, b2 = r2.y + r2.h, + c = function(v1, v2, v3, v4) { return allowSharedEdges ? v1 <= v2 && v3>= v4 : v1 < v2 && v3 > v4; }; + + return c(x1,a1,x2,a2) && c(y1,b1,y2,b2); + }, + _segmentMultipliers = [null, [1, -1], [1, 1], [-1, 1], [-1, -1] ], + _inverseSegmentMultipliers = [null, [-1, -1], [-1, 1], [1, 1], [1, -1] ], + /** + * @name Biltong.pointOnLine + * @function + * @desc Calculates a point on the line from `fromPoint` to `toPoint` that is `distance` units along the length of the line. + * @param {Point} p1 First point, either as a 2 entry array or object with `left` and `top` properties. + * @param {Point} p2 Second point, either as a 2 entry array or object with `left` and `top` properties. + * @return {Point} Point on the line, in the form `{ x:..., y:... }`. + */ + _pointOnLine = Biltong.pointOnLine = function(fromPoint, toPoint, distance) { + var m = _gradient(fromPoint, toPoint), + s = _quadrant(fromPoint, toPoint), + segmentMultiplier = distance > 0 ? _segmentMultipliers[s] : _inverseSegmentMultipliers[s], + theta = Math.atan(m), + y = Math.abs(distance * Math.sin(theta)) * segmentMultiplier[1], + x = Math.abs(distance * Math.cos(theta)) * segmentMultiplier[0]; + return { x:fromPoint.x + x, y:fromPoint.y + y }; + }, + /** + * @name Biltong.perpendicularLineTo + * @function + * @desc Calculates a line of length `length` that is perpendicular to the line from `fromPoint` to `toPoint` and passes through `toPoint`. + * @param {Point} p1 First point, either as a 2 entry array or object with `left` and `top` properties. + * @param {Point} p2 Second point, either as a 2 entry array or object with `left` and `top` properties. + * @return {Line} Perpendicular line, in the form `[ { x:..., y:... }, { x:..., y:... } ]`. + */ + _perpendicularLineTo = Biltong.perpendicularLineTo = function(fromPoint, toPoint, length) { + var m = _gradient(fromPoint, toPoint), + theta2 = Math.atan(-1 / m), + y = length / 2 * Math.sin(theta2), + x = length / 2 * Math.cos(theta2); + return [{x:toPoint.x + x, y:toPoint.y + y}, {x:toPoint.x - x, y:toPoint.y - y}]; + }; +}).call(typeof window !== 'undefined' ? window : this); +; +(function () { + + "use strict"; + + /** + * Creates a Touch object. + * @param view + * @param target + * @param pageX + * @param pageY + * @param screenX + * @param screenY + * @param clientX + * @param clientY + * @returns {Touch} + * @private + */ + function _touch(view, target, pageX, pageY, screenX, screenY, clientX, clientY) { + + return new Touch({ + target:target, + identifier:_uuid(), + pageX: pageX, + pageY: pageY, + screenX: screenX, + screenY: screenY, + clientX: clientX || screenX, + clientY: clientY || screenY + }); + } + + /** + * Create a synthetic touch list from the given list of Touch objects. + * @returns {Array} + * @private + */ + function _touchList() { + var list = []; + Array.prototype.push.apply(list, arguments); + list.item = function(index) { return this[index]; }; + return list; + } + + /** + * Create a Touch object and then insert it into a synthetic touch list, returning the list.s + * @param view + * @param target + * @param pageX + * @param pageY + * @param screenX + * @param screenY + * @param clientX + * @param clientY + * @returns {Array} + * @private + */ + function _touchAndList(view, target, pageX, pageY, screenX, screenY, clientX, clientY) { + return _touchList(_touch.apply(null, arguments)); + } + + var root = this, + matchesSelector = function (el, selector, ctx) { + ctx = ctx || el.parentNode; + var possibles = ctx.querySelectorAll(selector); + for (var i = 0; i < possibles.length; i++) { + if (possibles[i] === el) { + return true; + } + } + return false; + }, + _gel = function (el) { + return (typeof el == "string" || el.constructor === String) ? document.getElementById(el) : el; + }, + _t = function (e) { + return e.srcElement || e.target; + }, + // + // gets path info for the given event - the path from target to obj, in the event's bubble chain. if doCompute + // is false we just return target for the path. + // + _pi = function(e, target, obj, doCompute) { + if (!doCompute) return { path:[target], end:1 }; + else if (typeof e.path !== "undefined" && e.path.indexOf) { + return { path: e.path, end: e.path.indexOf(obj) }; + } else { + var out = { path:[], end:-1 }, _one = function(el) { + out.path.push(el); + if (el === obj) { + out.end = out.path.length - 1; + } + else if (el.parentNode != null) { + _one(el.parentNode) + } + }; + _one(target); + return out; + } + }, + _d = function (l, fn) { + for (var i = 0, j = l.length; i < j; i++) { + if (l[i] == fn) break; + } + if (i < l.length) l.splice(i, 1); + }, + guid = 1, + // + // this function generates a guid for every handler, sets it on the handler, then adds + // it to the associated object's map of handlers for the given event. this is what enables us + // to unbind all events of some type, or all events (the second of which can be requested by the user, + // but it also used by Mottle when an element is removed.) + _store = function (obj, event, fn) { + var g = guid++; + obj.__ta = obj.__ta || {}; + obj.__ta[event] = obj.__ta[event] || {}; + // store each handler with a unique guid. + obj.__ta[event][g] = fn; + // set the guid on the handler. + fn.__tauid = g; + return g; + }, + _unstore = function (obj, event, fn) { + obj.__ta && obj.__ta[event] && delete obj.__ta[event][fn.__tauid]; + // a handler might have attached extra functions, so we unbind those too. + if (fn.__taExtra) { + for (var i = 0; i < fn.__taExtra.length; i++) { + _unbind(obj, fn.__taExtra[i][0], fn.__taExtra[i][1]); + } + fn.__taExtra.length = 0; + } + // a handler might have attached an unstore callback + fn.__taUnstore && fn.__taUnstore(); + }, + _curryChildFilter = function (children, obj, fn, evt) { + if (children == null) return fn; + else { + var c = children.split(","), + _fn = function (e) { + _fn.__tauid = fn.__tauid; + var t = _t(e), target = t; // t is the target element on which the event occurred. it is the + // element we will wish to pass to any callbacks. + var pathInfo = _pi(e, t, obj, children != null) + if (pathInfo.end != -1) { + for (var p = 0; p < pathInfo.end; p++) { + target = pathInfo.path[p]; + for (var i = 0; i < c.length; i++) { + if (matchesSelector(target, c[i], obj)) { + fn.apply(target, arguments); + } + } + } + } + }; + registerExtraFunction(fn, evt, _fn); + return _fn; + } + }, + // + // registers an 'extra' function on some event listener function we were given - a function that we + // created and bound to the element as part of our housekeeping, and which we want to unbind and remove + // whenever the given function is unbound. + registerExtraFunction = function (fn, evt, newFn) { + fn.__taExtra = fn.__taExtra || []; + fn.__taExtra.push([evt, newFn]); + }, + DefaultHandler = function (obj, evt, fn, children) { + if (isTouchDevice && touchMap[evt]) { + var tfn = _curryChildFilter(children, obj, fn, touchMap[evt]); + _bind(obj, touchMap[evt], tfn , fn); + } + if (evt === "focus" && obj.getAttribute("tabindex") == null) { + obj.setAttribute("tabindex", "1"); + } + _bind(obj, evt, _curryChildFilter(children, obj, fn, evt), fn); + }, + SmartClickHandler = function (obj, evt, fn, children) { + if (obj.__taSmartClicks == null) { + var down = function (e) { + obj.__tad = _pageLocation(e); + }, + up = function (e) { + obj.__tau = _pageLocation(e); + }, + click = function (e) { + if (obj.__tad && obj.__tau && obj.__tad[0] === obj.__tau[0] && obj.__tad[1] === obj.__tau[1]) { + for (var i = 0; i < obj.__taSmartClicks.length; i++) + obj.__taSmartClicks[i].apply(_t(e), [ e ]); + } + }; + DefaultHandler(obj, "mousedown", down, children); + DefaultHandler(obj, "mouseup", up, children); + DefaultHandler(obj, "click", click, children); + obj.__taSmartClicks = []; + } + + // store in the list of callbacks + obj.__taSmartClicks.push(fn); + // the unstore function removes this function from the object's listener list for this type. + fn.__taUnstore = function () { + _d(obj.__taSmartClicks, fn); + }; + }, + _tapProfiles = { + "tap": {touches: 1, taps: 1}, + "dbltap": {touches: 1, taps: 2}, + "contextmenu": {touches: 2, taps: 1} + }, + TapHandler = function (clickThreshold, dblClickThreshold) { + return function (obj, evt, fn, children) { + // if event is contextmenu, for devices which are mouse only, we want to + // use the default bind. + if (evt == "contextmenu" && isMouseDevice) + DefaultHandler(obj, evt, fn, children); + else { + // the issue here is that this down handler gets registered only for the + // child nodes in the first registration. in fact it should be registered with + // no child selector and then on down we should cycle through the registered + // functions to see if one of them matches. on mouseup we should execute ALL of + // the functions whose children are either null or match the element. + if (obj.__taTapHandler == null) { + var tt = obj.__taTapHandler = { + tap: [], + dbltap: [], + contextmenu: [], + down: false, + taps: 0, + downSelectors: [] + }; + var down = function (e) { + var target = _t(e), pathInfo = _pi(e, target, obj, children != null), finished = false; + for (var p = 0; p < pathInfo.end; p++) { + if (finished) return; + target = pathInfo.path[p]; + for (var i = 0; i < tt.downSelectors.length; i++) { + if (tt.downSelectors[i] == null || matchesSelector(target, tt.downSelectors[i], obj)) { + tt.down = true; + setTimeout(clearSingle, clickThreshold); + setTimeout(clearDouble, dblClickThreshold); + finished = true; + break; // we only need one match on mousedown + } + } + } + }, + up = function (e) { + if (tt.down) { + var target = _t(e), currentTarget, pathInfo; + tt.taps++; + var tc = _touchCount(e); + for (var eventId in _tapProfiles) { + if (_tapProfiles.hasOwnProperty(eventId)) { + var p = _tapProfiles[eventId]; + if (p.touches === tc && (p.taps === 1 || p.taps === tt.taps)) { + for (var i = 0; i < tt[eventId].length; i++) { + pathInfo = _pi(e, target, obj, tt[eventId][i][1] != null); + for (var pLoop = 0; pLoop < pathInfo.end; pLoop++) { + currentTarget = pathInfo.path[pLoop]; + // this is a single event registration handler. + if (tt[eventId][i][1] == null || matchesSelector(currentTarget, tt[eventId][i][1], obj)) { + tt[eventId][i][0].apply(currentTarget, [ e ]); + break; + } + } + } + } + } + } + } + }, + clearSingle = function () { + tt.down = false; + }, + clearDouble = function () { + tt.taps = 0; + }; + + DefaultHandler(obj, "mousedown", down); + DefaultHandler(obj, "mouseup", up); + } + // add this child selector (it can be null, that's fine). + obj.__taTapHandler.downSelectors.push(children); + + obj.__taTapHandler[evt].push([fn, children]); + // the unstore function removes this function from the object's listener list for this type. + fn.__taUnstore = function () { + _d(obj.__taTapHandler[evt], fn); + }; + } + }; + }, + meeHelper = function (type, evt, obj, target) { + for (var i in obj.__tamee[type]) { + if (obj.__tamee[type].hasOwnProperty(i)) { + obj.__tamee[type][i].apply(target, [ evt ]); + } + } + }, + MouseEnterExitHandler = function () { + var activeElements = []; + return function (obj, evt, fn, children) { + if (!obj.__tamee) { + // __tamee holds a flag saying whether the mouse is currently "in" the element, and a list of + // both mouseenter and mouseexit functions. + obj.__tamee = { over: false, mouseenter: [], mouseexit: [] }; + // register over and out functions + var over = function (e) { + var t = _t(e); + if ((children == null && (t == obj && !obj.__tamee.over)) || (matchesSelector(t, children, obj) && (t.__tamee == null || !t.__tamee.over))) { + meeHelper("mouseenter", e, obj, t); + t.__tamee = t.__tamee || {}; + t.__tamee.over = true; + activeElements.push(t); + } + }, + out = function (e) { + var t = _t(e); + // is the current target one of the activeElements? and is the + // related target NOT a descendant of it? + for (var i = 0; i < activeElements.length; i++) { + if (t == activeElements[i] && !matchesSelector((e.relatedTarget || e.toElement), "*", t)) { + t.__tamee.over = false; + activeElements.splice(i, 1); + meeHelper("mouseexit", e, obj, t); + } + } + }; + + _bind(obj, "mouseover", _curryChildFilter(children, obj, over, "mouseover"), over); + _bind(obj, "mouseout", _curryChildFilter(children, obj, out, "mouseout"), out); + } + + fn.__taUnstore = function () { + delete obj.__tamee[evt][fn.__tauid]; + }; + + _store(obj, evt, fn); + obj.__tamee[evt][fn.__tauid] = fn; + }; + }, + isTouchDevice = "ontouchstart" in document.documentElement || navigator.maxTouchPoints, + isMouseDevice = "onmousedown" in document.documentElement, + touchMap = { "mousedown": "touchstart", "mouseup": "touchend", "mousemove": "touchmove" }, + touchstart = "touchstart", touchend = "touchend", touchmove = "touchmove", + iev = (function () { + var rv = -1; + if (navigator.appName == 'Microsoft Internet Explorer') { + var ua = navigator.userAgent, + re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); + if (re.exec(ua) != null) + rv = parseFloat(RegExp.$1); + } + return rv; + })(), + isIELT9 = iev > -1 && iev < 9, + _genLoc = function (e, prefix) { + if (e == null) return [ 0, 0 ]; + var ts = _touches(e), t = _getTouch(ts, 0); + return [t[prefix + "X"], t[prefix + "Y"]]; + }, + _pageLocation = function (e) { + if (e == null) return [ 0, 0 ]; + if (isIELT9) { + return [ e.clientX + document.documentElement.scrollLeft, e.clientY + document.documentElement.scrollTop ]; + } + else { + return _genLoc(e, "page"); + } + }, + _screenLocation = function (e) { + return _genLoc(e, "screen"); + }, + _clientLocation = function (e) { + return _genLoc(e, "client"); + }, + _getTouch = function (touches, idx) { + return touches.item ? touches.item(idx) : touches[idx]; + }, + _touches = function (e) { + return e.touches && e.touches.length > 0 ? e.touches : + e.changedTouches && e.changedTouches.length > 0 ? e.changedTouches : + e.targetTouches && e.targetTouches.length > 0 ? e.targetTouches : + [ e ]; + }, + _touchCount = function (e) { + return _touches(e).length; + }, + //http://www.quirksmode.org/blog/archives/2005/10/_and_the_winner_1.html + _bind = function (obj, type, fn, originalFn) { + _store(obj, type, fn); + originalFn.__tauid = fn.__tauid; + if (obj.addEventListener) + obj.addEventListener(type, fn, false); + else if (obj.attachEvent) { + var key = type + fn.__tauid; + obj["e" + key] = fn; + // TODO look at replacing with .call(..) + obj[key] = function () { + obj["e" + key] && obj["e" + key](window.event); + }; + obj.attachEvent("on" + type, obj[key]); + } + }, + _unbind = function (obj, type, fn) { + if (fn == null) return; + _each(obj, function () { + var _el = _gel(this); + _unstore(_el, type, fn); + // it has been bound if there is a tauid. otherwise it was not bound and we can ignore it. + if (fn.__tauid != null) { + if (_el.removeEventListener) { + _el.removeEventListener(type, fn, false); + if (isTouchDevice && touchMap[type]) _el.removeEventListener(touchMap[type], fn, false); + } + else if (this.detachEvent) { + var key = type + fn.__tauid; + _el[key] && _el.detachEvent("on" + type, _el[key]); + _el[key] = null; + _el["e" + key] = null; + } + } + + // if a touch event was also registered, deregister now. + if (fn.__taTouchProxy) { + _unbind(obj, fn.__taTouchProxy[1], fn.__taTouchProxy[0]); + } + }); + }, + _each = function (obj, fn) { + if (obj == null) return; + // if a list (or list-like), use it. if a string, get a list + // by running the string through querySelectorAll. else, assume + // it's an Element. + // obj.top is "unknown" in IE8. + obj = (typeof Window !== "undefined" && (typeof obj.top !== "unknown" && obj == obj.top)) ? [ obj ] : + (typeof obj !== "string") && (obj.tagName == null && obj.length != null) ? obj : + typeof obj === "string" ? document.querySelectorAll(obj) + : [ obj ]; + + for (var i = 0; i < obj.length; i++) + fn.apply(obj[i]); + }, + _uuid = function () { + return ('xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { + var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8); + return v.toString(16); + })); + }; + + /** + * Mottle offers support for abstracting out the differences + * between touch and mouse devices, plus "smart click" functionality + * (don't fire click if the mouse has moved between mousedown and mouseup), + * and synthesized click/tap events. + * @class Mottle + * @constructor + * @param {Object} params Constructor params + * @param {Number} [params.clickThreshold=250] Threshold, in milliseconds beyond which a touchstart followed by a touchend is not considered to be a click. + * @param {Number} [params.dblClickThreshold=450] Threshold, in milliseconds beyond which two successive tap events are not considered to be a click. + * @param {Boolean} [params.smartClicks=false] If true, won't fire click events if the mouse has moved between mousedown and mouseup. Note that this functionality + * requires that Mottle consume the mousedown event, and so may not be viable in all use cases. + */ + root.Mottle = function (params) { + params = params || {}; + var clickThreshold = params.clickThreshold || 250, + dblClickThreshold = params.dblClickThreshold || 450, + mouseEnterExitHandler = new MouseEnterExitHandler(), + tapHandler = new TapHandler(clickThreshold, dblClickThreshold), + _smartClicks = params.smartClicks, + _doBind = function (obj, evt, fn, children) { + if (fn == null) return; + _each(obj, function () { + var _el = _gel(this); + if (_smartClicks && evt === "click") + SmartClickHandler(_el, evt, fn, children); + else if (evt === "tap" || evt === "dbltap" || evt === "contextmenu") { + tapHandler(_el, evt, fn, children); + } + else if (evt === "mouseenter" || evt == "mouseexit") + mouseEnterExitHandler(_el, evt, fn, children); + else + DefaultHandler(_el, evt, fn, children); + }); + }; + + /** + * Removes an element from the DOM, and deregisters all event handlers for it. You should use this + * to ensure you don't leak memory. + * @method remove + * @param {String|Element} el Element, or id of the element, to remove. + * @return {Mottle} The current Mottle instance; you can chain this method. + */ + this.remove = function (el) { + _each(el, function () { + var _el = _gel(this); + if (_el.__ta) { + for (var evt in _el.__ta) { + if (_el.__ta.hasOwnProperty(evt)) { + for (var h in _el.__ta[evt]) { + if (_el.__ta[evt].hasOwnProperty(h)) + _unbind(_el, evt, _el.__ta[evt][h]); + } + } + } + } + _el.parentNode && _el.parentNode.removeChild(_el); + }); + return this; + }; + + /** + * Register an event handler, optionally as a delegate for some set of descendant elements. Note + * that this method takes either 3 or 4 arguments - if you supply 3 arguments it is assumed you have + * omitted the `children` parameter, and that the event handler should be bound directly to the given element. + * @method on + * @param {Element[]|Element|String} el Either an Element, or a CSS spec for a list of elements, or an array of Elements. + * @param {String} [children] Comma-delimited list of selectors identifying allowed children. + * @param {String} event Event ID. + * @param {Function} fn Event handler function. + * @return {Mottle} The current Mottle instance; you can chain this method. + */ + this.on = function (el, event, children, fn) { + var _el = arguments[0], + _c = arguments.length == 4 ? arguments[2] : null, + _e = arguments[1], + _f = arguments[arguments.length - 1]; + + _doBind(_el, _e, _f, _c); + return this; + }; + + /** + * Cancel delegate event handling for the given function. Note that unlike with 'on' you do not supply + * a list of child selectors here: it removes event delegation from all of the child selectors for which the + * given function was registered (if any). + * @method off + * @param {Element[]|Element|String} el Element - or ID of element - from which to remove event listener. + * @param {String} event Event ID. + * @param {Function} fn Event handler function. + * @return {Mottle} The current Mottle instance; you can chain this method. + */ + this.off = function (el, event, fn) { + _unbind(el, event, fn); + return this; + }; + + /** + * Triggers some event for a given element. + * @method trigger + * @param {Element} el Element for which to trigger the event. + * @param {String} event Event ID. + * @param {Event} originalEvent The original event. Should be optional of course, but currently is not, due + * to the jsPlumb use case that caused this method to be added. + * @param {Object} [payload] Optional object to set as `payload` on the generated event; useful for message passing. + * @return {Mottle} The current Mottle instance; you can chain this method. + */ + this.trigger = function (el, event, originalEvent, payload) { + // MouseEvent undefined in old IE; that's how we know it's a mouse event. A fine Microsoft paradox. + var originalIsMouse = isMouseDevice && (typeof MouseEvent === "undefined" || originalEvent == null || originalEvent.constructor === MouseEvent); + + var eventToBind = (isTouchDevice && !isMouseDevice && touchMap[event]) ? touchMap[event] : event, + bindingAMouseEvent = !(isTouchDevice && !isMouseDevice && touchMap[event]); + + var pl = _pageLocation(originalEvent), sl = _screenLocation(originalEvent), cl = _clientLocation(originalEvent); + _each(el, function () { + var _el = _gel(this), evt; + originalEvent = originalEvent || { + screenX: sl[0], + screenY: sl[1], + clientX: cl[0], + clientY: cl[1] + }; + + var _decorate = function (_evt) { + if (payload) _evt.payload = payload; + }; + + var eventGenerators = { + "TouchEvent": function (evt) { + + var touchList = _touchAndList(window, _el, 0, pl[0], pl[1], sl[0], sl[1], cl[0], cl[1]), + init = evt.initTouchEvent || evt.initEvent; + + init(eventToBind, true, true, window, null, sl[0], sl[1], + cl[0], cl[1], false, false, false, false, + touchList, touchList, touchList, 1, 0); + }, + "MouseEvents": function (evt) { + evt.initMouseEvent(eventToBind, true, true, window, 0, + sl[0], sl[1], + cl[0], cl[1], + false, false, false, false, 1, _el); + } + }; + + if (document.createEvent) { + + var ite = !bindingAMouseEvent && !originalIsMouse && (isTouchDevice && touchMap[event]), + evtName = ite ? "TouchEvent" : "MouseEvents"; + + evt = document.createEvent(evtName); + eventGenerators[evtName](evt); + _decorate(evt); + _el.dispatchEvent(evt); + } + else if (document.createEventObject) { + evt = document.createEventObject(); + evt.eventType = evt.eventName = eventToBind; + evt.screenX = sl[0]; + evt.screenY = sl[1]; + evt.clientX = cl[0]; + evt.clientY = cl[1]; + _decorate(evt); + _el.fireEvent('on' + eventToBind, evt); + } + }); + return this; + } + }; + + /** + * Static method to assist in 'consuming' an element: uses `stopPropagation` where available, or sets + * `e.returnValue=false` where it is not. + * @method Mottle.consume + * @param {Event} e Event to consume + * @param {Boolean} [doNotPreventDefault=false] If true, does not call `preventDefault()` on the event. + */ + root.Mottle.consume = function (e, doNotPreventDefault) { + if (e.stopPropagation) + e.stopPropagation(); + else + e.returnValue = false; + + if (!doNotPreventDefault && e.preventDefault) + e.preventDefault(); + }; + + /** + * Gets the page location corresponding to the given event. For touch events this means get the page location of the first touch. + * @method Mottle.pageLocation + * @param {Event} e Event to get page location for. + * @return {Number[]} [left, top] for the given event. + */ + root.Mottle.pageLocation = _pageLocation; + + /** + * Forces touch events to be turned "on". Useful for testing: even if you don't have a touch device, you can still + * trigger a touch event when this is switched on and it will be captured and acted on. + * @method setForceTouchEvents + * @param {Boolean} value If true, force touch events to be on. + */ + root.Mottle.setForceTouchEvents = function (value) { + isTouchDevice = value; + }; + + /** + * Forces mouse events to be turned "on". Useful for testing: even if you don't have a mouse, you can still + * trigger a mouse event when this is switched on and it will be captured and acted on. + * @method setForceMouseEvents + * @param {Boolean} value If true, force mouse events to be on. + */ + root.Mottle.setForceMouseEvents = function (value) { + isMouseDevice = value; + }; + + root.Mottle.version = "0.8.0"; + + if (typeof exports !== "undefined") { + exports.Mottle = root.Mottle; + } + +}).call(typeof window === "undefined" ? this : window); + +/** + drag/drop functionality for use with jsPlumb but with + no knowledge of jsPlumb. supports multiple scopes (separated by whitespace), dragging + multiple elements, constrain to parent, drop filters, drag start filters, custom + css classes. + + a lot of the functionality of this script is expected to be plugged in: + + addClass + removeClass + + addEvent + removeEvent + + getPosition + setPosition + getSize + + indexOf + intersects + + the name came from here: + + http://mrsharpoblunto.github.io/foswig.js/ + + copyright 2016 jsPlumb + */ + +;(function() { + + "use strict"; + var root = this; + + var _suggest = function(list, item, head) { + if (list.indexOf(item) === -1) { + head ? list.unshift(item) : list.push(item); + return true; + } + return false; + }; + + var _vanquish = function(list, item) { + var idx = list.indexOf(item); + if (idx !== -1) list.splice(idx, 1); + }; + + var _difference = function(l1, l2) { + var d = []; + for (var i = 0; i < l1.length; i++) { + if (l2.indexOf(l1[i]) === -1) + d.push(l1[i]); + } + return d; + }; + + var _isString = function(f) { + return f == null ? false : (typeof f === "string" || f.constructor === String); + }; + + var getOffsetRect = function (elem) { + // (1) + var box = elem.getBoundingClientRect(), + body = document.body, + docElem = document.documentElement, + // (2) + scrollTop = window.pageYOffset || docElem.scrollTop || body.scrollTop, + scrollLeft = window.pageXOffset || docElem.scrollLeft || body.scrollLeft, + // (3) + clientTop = docElem.clientTop || body.clientTop || 0, + clientLeft = docElem.clientLeft || body.clientLeft || 0, + // (4) + top = box.top + scrollTop - clientTop, + left = box.left + scrollLeft - clientLeft; + + return { top: Math.round(top), left: Math.round(left) }; + }; + + var matchesSelector = function(el, selector, ctx) { + ctx = ctx || el.parentNode; + var possibles = ctx.querySelectorAll(selector); + for (var i = 0; i < possibles.length; i++) { + if (possibles[i] === el) + return true; + } + return false; + }; + + var findDelegateElement = function(parentElement, childElement, selector) { + if (matchesSelector(childElement, selector, parentElement)) { + return childElement; + } else { + var currentParent = childElement.parentNode; + while (currentParent != null && currentParent !== parentElement) { + if (matchesSelector(currentParent, selector, parentElement)) { + return currentParent; + } else { + currentParent = currentParent.parentNode; + } + } + } + }; + + /** + * Finds all elements matching the given selector, for the given parent. In order to support "scoped root" selectors, + * ie. things like "> .someClass", that is .someClass elements that are direct children of `parentElement`, we have to + * jump through a small hoop here: when a delegate draggable is registered, we write a `katavorio-draggable` attribute + * on the element on which the draggable is registered. Then when this method runs, we grab the value of that attribute and + * prepend it as part of the selector we're looking for. So "> .someClass" ends up being written as + * "[katavorio-draggable='...' > .someClass]", which works with querySelectorAll. + * + * @param availableSelectors + * @param parentElement + * @param childElement + * @returns {*} + */ + var findMatchingSelector = function(availableSelectors, parentElement, childElement) { + var el = null; + var draggableId = parentElement.getAttribute("katavorio-draggable"), + prefix = draggableId != null ? "[katavorio-draggable='" + draggableId + "'] " : ""; + + for (var i = 0; i < availableSelectors.length; i++) { + el = findDelegateElement(parentElement, childElement, prefix + availableSelectors[i].selector); + if (el != null) { + if (availableSelectors[i].filter) { + var matches = matchesSelector(childElement, availableSelectors[i].filter, el), + exclude = availableSelectors[i].filterExclude === true; + + if ( (exclude && !matches) || matches) { + return null; + } + + } + return [ availableSelectors[i], el ]; + } + } + return null; + }; + + var iev = (function() { + var rv = -1; + if (navigator.appName === 'Microsoft Internet Explorer') { + var ua = navigator.userAgent, + re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); + if (re.exec(ua) != null) + rv = parseFloat(RegExp.$1); + } + return rv; + })(), + DEFAULT_GRID_X = 10, + DEFAULT_GRID_Y = 10, + isIELT9 = iev > -1 && iev < 9, + isIE9 = iev === 9, + _pl = function(e) { + if (isIELT9) { + return [ e.clientX + document.documentElement.scrollLeft, e.clientY + document.documentElement.scrollTop ]; + } + else { + var ts = _touches(e), t = _getTouch(ts, 0); + // for IE9 pageX might be null if the event was synthesized. We try for pageX/pageY first, + // falling back to clientX/clientY if necessary. In every other browser we want to use pageX/pageY. + return isIE9 ? [t.pageX || t.clientX, t.pageY || t.clientY] : [t.pageX, t.pageY]; + } + }, + _getTouch = function(touches, idx) { return touches.item ? touches.item(idx) : touches[idx]; }, + _touches = function(e) { + return e.touches && e.touches.length > 0 ? e.touches : + e.changedTouches && e.changedTouches.length > 0 ? e.changedTouches : + e.targetTouches && e.targetTouches.length > 0 ? e.targetTouches : + [ e ]; + }, + _classes = { + delegatedDraggable:"katavorio-delegated-draggable", // elements that are the delegated drag handler for a bunch of other elements + draggable:"katavorio-draggable", // draggable elements + droppable:"katavorio-droppable", // droppable elements + drag : "katavorio-drag", // elements currently being dragged + selected:"katavorio-drag-selected", // elements in current drag selection + active : "katavorio-drag-active", // droppables that are targets of a currently dragged element + hover : "katavorio-drag-hover", // droppables over which a matching drag element is hovering + noSelect : "katavorio-drag-no-select", // added to the body to provide a hook to suppress text selection + ghostProxy:"katavorio-ghost-proxy", // added to a ghost proxy element in use when a drag has exited the bounds of its parent. + clonedDrag:"katavorio-clone-drag" // added to a node that is a clone of an element created at the start of a drag + }, + _defaultScope = "katavorio-drag-scope", + _events = [ "stop", "start", "drag", "drop", "over", "out", "beforeStart" ], + _devNull = function() {}, + _true = function() { return true; }, + _foreach = function(l, fn, from) { + for (var i = 0; i < l.length; i++) { + if (l[i] != from) + fn(l[i]); + } + }, + _setDroppablesActive = function(dd, val, andHover, drag) { + _foreach(dd, function(e) { + e.setActive(val); + if (val) e.updatePosition(); + if (andHover) e.setHover(drag, val); + }); + }, + _each = function(obj, fn) { + if (obj == null) return; + obj = !_isString(obj) && (obj.tagName == null && obj.length != null) ? obj : [ obj ]; + for (var i = 0; i < obj.length; i++) + fn.apply(obj[i], [ obj[i] ]); + }, + _consume = function(e) { + if (e.stopPropagation) { + e.stopPropagation(); + e.preventDefault(); + } + else { + e.returnValue = false; + } + }, + _defaultInputFilterSelector = "input,textarea,select,button,option", + // + // filters out events on all input elements, like textarea, checkbox, input, select. + _inputFilter = function(e, el, _katavorio) { + var t = e.srcElement || e.target; + return !matchesSelector(t, _katavorio.getInputFilterSelector(), el); + }; + + var Super = function(el, params, css, scope) { + this.params = params || {}; + this.el = el; + this.params.addClass(this.el, this._class); + this.uuid = _uuid(); + var enabled = true; + this.setEnabled = function(e) { enabled = e; }; + this.isEnabled = function() { return enabled; }; + this.toggleEnabled = function() { enabled = !enabled; }; + this.setScope = function(scopes) { + this.scopes = scopes ? scopes.split(/\s+/) : [ scope ]; + }; + this.addScope = function(scopes) { + var m = {}; + _each(this.scopes, function(s) { m[s] = true;}); + _each(scopes ? scopes.split(/\s+/) : [], function(s) { m[s] = true;}); + this.scopes = []; + for (var i in m) this.scopes.push(i); + }; + this.removeScope = function(scopes) { + var m = {}; + _each(this.scopes, function(s) { m[s] = true;}); + _each(scopes ? scopes.split(/\s+/) : [], function(s) { delete m[s];}); + this.scopes = []; + for (var i in m) this.scopes.push(i); + }; + this.toggleScope = function(scopes) { + var m = {}; + _each(this.scopes, function(s) { m[s] = true;}); + _each(scopes ? scopes.split(/\s+/) : [], function(s) { + if (m[s]) delete m[s]; + else m[s] = true; + }); + this.scopes = []; + for (var i in m) this.scopes.push(i); + }; + this.setScope(params.scope); + this.k = params.katavorio; + return params.katavorio; + }; + + var TRUE = function() { return true; }; + var FALSE = function() { return false; }; + + var Drag = function(el, params, css, scope) { + this._class = css.draggable; + var k = Super.apply(this, arguments); + this.rightButtonCanDrag = this.params.rightButtonCanDrag; + var downAt = [0,0], posAtDown = null, pagePosAtDown = null, pageDelta = [0,0], moving = false, initialScroll = [0,0], + consumeStartEvent = this.params.consumeStartEvent !== false, + dragEl = this.el, + clone = this.params.clone, + scroll = this.params.scroll, + _multipleDrop = params.multipleDrop !== false, + isConstrained = false, + useGhostProxy = params.ghostProxy === true ? TRUE : params.ghostProxy && typeof params.ghostProxy === "function" ? params.ghostProxy : FALSE, + ghostProxy = function(el) { return el.cloneNode(true); }, + elementToDrag = null, + availableSelectors = [], + activeSelectorParams = null, // which, if any, selector config is currently active. + ghostProxyParent = params.ghostProxyParent, + currentParentPosition, + ghostParentPosition, + ghostDx, + ghostDy; + + // if an initial selector was provided, push the entire set of params as a selector config. + if (params.selector) { + var draggableId = el.getAttribute("katavorio-draggable"); + if (draggableId == null) { + draggableId = "" + new Date().getTime(); + el.setAttribute("katavorio-draggable", draggableId); + } + + availableSelectors.push(params); + } + + var snapThreshold = params.snapThreshold, + _snap = function(pos, gridX, gridY, thresholdX, thresholdY) { + var _dx = Math.floor(pos[0] / gridX), + _dxl = gridX * _dx, + _dxt = _dxl + gridX, + _x = Math.abs(pos[0] - _dxl) <= thresholdX ? _dxl : Math.abs(_dxt - pos[0]) <= thresholdX ? _dxt : pos[0]; + + var _dy = Math.floor(pos[1] / gridY), + _dyl = gridY * _dy, + _dyt = _dyl + gridY, + _y = Math.abs(pos[1] - _dyl) <= thresholdY ? _dyl : Math.abs(_dyt - pos[1]) <= thresholdY ? _dyt : pos[1]; + + return [ _x, _y]; + }; + + this.posses = []; + this.posseRoles = {}; + + this.toGrid = function(pos) { + if (this.params.grid == null) { + return pos; + } + else { + var tx = this.params.grid ? this.params.grid[0] / 2 : snapThreshold ? snapThreshold : DEFAULT_GRID_X / 2, + ty = this.params.grid ? this.params.grid[1] / 2 : snapThreshold ? snapThreshold : DEFAULT_GRID_Y / 2; + + return _snap(pos, this.params.grid[0], this.params.grid[1], tx, ty); + } + }; + + this.snap = function(x, y) { + if (dragEl == null) return; + x = x || (this.params.grid ? this.params.grid[0] : DEFAULT_GRID_X); + y = y || (this.params.grid ? this.params.grid[1] : DEFAULT_GRID_Y); + var p = this.params.getPosition(dragEl), + tx = this.params.grid ? this.params.grid[0] / 2 : snapThreshold, + ty = this.params.grid ? this.params.grid[1] / 2 : snapThreshold, + snapped = _snap(p, x, y, tx, ty); + + this.params.setPosition(dragEl, snapped); + return snapped; + }; + + this.setUseGhostProxy = function(val) { + useGhostProxy = val ? TRUE : FALSE; + }; + + var constrain; + var negativeFilter = function(pos) { + return (params.allowNegative === false) ? [ Math.max (0, pos[0]), Math.max(0, pos[1]) ] : pos; + }; + + var _setConstrain = function(value) { + constrain = typeof value === "function" ? value : value ? function(pos, dragEl, _constrainRect, _size) { + return negativeFilter([ + Math.max(0, Math.min(_constrainRect.w - _size[0], pos[0])), + Math.max(0, Math.min(_constrainRect.h - _size[1], pos[1])) + ]); + }.bind(this) : function(pos) { return negativeFilter(pos); }; + }.bind(this); + + _setConstrain(typeof this.params.constrain === "function" ? this.params.constrain : (this.params.constrain || this.params.containment)); + + + /** + * Sets whether or not the Drag is constrained. A value of 'true' means constrain to parent bounds; a function + * will be executed and returns true if the position is allowed. + * @param value + */ + this.setConstrain = function(value) { + _setConstrain(value); + }; + + var revertFunction; + /** + * Sets a function to call on drag stop, which, if it returns true, indicates that the given element should + * revert to its position before the previous drag. + * @param fn + */ + this.setRevert = function(fn) { + revertFunction = fn; + }; + + if (this.params.revert) { + revertFunction = this.params.revert; + } + + var _assignId = function(obj) { + if (typeof obj === "function") { + obj._katavorioId = _uuid(); + return obj._katavorioId; + } else { + return obj; + } + }, + // a map of { spec -> [ fn, exclusion ] } entries. + _filters = {}, + _testFilter = function(e) { + for (var key in _filters) { + var f = _filters[key]; + var rv = f[0](e); + if (f[1]) rv = !rv; + if (!rv) return false; + } + return true; + }, + _setFilter = this.setFilter = function(f, _exclude) { + if (f) { + var key = _assignId(f); + _filters[key] = [ + function(e) { + var t = e.srcElement || e.target, m; + if (_isString(f)) { + m = matchesSelector(t, f, el); + } + else if (typeof f === "function") { + m = f(e, el); + } + return m; + }, + _exclude !== false + ]; + + } + }, + _addFilter = this.addFilter = _setFilter, + _removeFilter = this.removeFilter = function(f) { + var key = typeof f === "function" ? f._katavorioId : f; + delete _filters[key]; + }; + + this.clearAllFilters = function() { + _filters = {}; + }; + + this.canDrag = this.params.canDrag || _true; + + var constrainRect, + matchingDroppables = [], + intersectingDroppables = []; + + this.addSelector = function(params) { + if (params.selector) { + availableSelectors.push(params); + } + }; + + this.downListener = function(e) { + if (e.defaultPrevented) { return; } + var isNotRightClick = this.rightButtonCanDrag || (e.which !== 3 && e.button !== 2); + if (isNotRightClick && this.isEnabled() && this.canDrag()) { + + var _f = _testFilter(e) && _inputFilter(e, this.el, this.k); + if (_f) { + + activeSelectorParams = null; + elementToDrag = null; + + // if (selector) { + // elementToDrag = findDelegateElement(this.el, e.target || e.srcElement, selector); + // if(elementToDrag == null) { + // return; + // } + // } + if (availableSelectors.length > 0) { + var match = findMatchingSelector(availableSelectors, this.el, e.target || e.srcElement); + if (match != null) { + activeSelectorParams = match[0]; + elementToDrag = match[1]; + } + // elementToDrag = findDelegateElement(this.el, e.target || e.srcElement, selector); + if(elementToDrag == null) { + return; + } + } + else { + elementToDrag = this.el; + } + + if (clone) { + dragEl = elementToDrag.cloneNode(true); + this.params.addClass(dragEl, _classes.clonedDrag); + + dragEl.setAttribute("id", null); + dragEl.style.position = "absolute"; + + if (this.params.parent != null) { + var p = this.params.getPosition(this.el); + dragEl.style.left = p[0] + "px"; + dragEl.style.top = p[1] + "px"; + this.params.parent.appendChild(dragEl); + } else { + // the clone node is added to the body; getOffsetRect gives us a value + // relative to the body. + var b = getOffsetRect(elementToDrag); + dragEl.style.left = b.left + "px"; + dragEl.style.top = b.top + "px"; + + document.body.appendChild(dragEl); + } + + } else { + dragEl = elementToDrag; + } + + consumeStartEvent && _consume(e); + downAt = _pl(e); + if (dragEl && dragEl.parentNode) + { + initialScroll = [dragEl.parentNode.scrollLeft, dragEl.parentNode.scrollTop]; + } + // + this.params.bind(document, "mousemove", this.moveListener); + this.params.bind(document, "mouseup", this.upListener); + k.markSelection(this); + k.markPosses(this); + this.params.addClass(document.body, css.noSelect); + _dispatch("beforeStart", {el:this.el, pos:posAtDown, e:e, drag:this}); + } + else if (this.params.consumeFilteredEvents) { + _consume(e); + } + } + }.bind(this); + + this.moveListener = function(e) { + if (downAt) { + if (!moving) { + var _continue = _dispatch("start", {el:this.el, pos:posAtDown, e:e, drag:this}); + if (_continue !== false) { + if (!downAt) { + return; + } + this.mark(true); + moving = true; + } else { + this.abort(); + } + } + + // it is possible that the start event caused the drag to be aborted. So we check + // again that we are currently dragging. + if (downAt) { + intersectingDroppables.length = 0; + var pos = _pl(e), dx = pos[0] - downAt[0], dy = pos[1] - downAt[1], + z = this.params.ignoreZoom ? 1 : k.getZoom(); + if (dragEl && dragEl.parentNode) + { + dx += dragEl.parentNode.scrollLeft - initialScroll[0]; + dy += dragEl.parentNode.scrollTop - initialScroll[1]; + } + dx /= z; + dy /= z; + this.moveBy(dx, dy, e); + k.updateSelection(dx, dy, this); + k.updatePosses(dx, dy, this); + } + } + }.bind(this); + + this.upListener = function(e) { + if (downAt) { + downAt = null; + this.params.unbind(document, "mousemove", this.moveListener); + this.params.unbind(document, "mouseup", this.upListener); + this.params.removeClass(document.body, css.noSelect); + this.unmark(e); + k.unmarkSelection(this, e); + k.unmarkPosses(this, e); + this.stop(e); + + k.notifyPosseDragStop(this, e); + moving = false; + intersectingDroppables.length = 0; + + if (clone) { + dragEl && dragEl.parentNode && dragEl.parentNode.removeChild(dragEl); + dragEl = null; + } else { + if (revertFunction && revertFunction(dragEl, this.params.getPosition(dragEl)) === true) { + this.params.setPosition(dragEl, posAtDown); + _dispatch("revert", dragEl); + } + } + + } + }.bind(this); + + this.getFilters = function() { return _filters; }; + + this.abort = function() { + if (downAt != null) { + this.upListener(); + } + }; + + /** + * Returns the element that was last dragged. This may be some original element from the DOM, or if `clone` is + * set, then its actually a copy of some original DOM element. In some client calls to this method, it is the + * actual element that was dragged that is desired. In others, it is the original DOM element that the user + * wishes to get - in which case, pass true for `retrieveOriginalElement`. + * + * @returns {*} + */ + this.getDragElement = function(retrieveOriginalElement) { + return retrieveOriginalElement ? elementToDrag || this.el : dragEl || this.el; + }; + + var listeners = {"start":[], "drag":[], "stop":[], "over":[], "out":[], "beforeStart":[], "revert":[] }; + if (params.events.start) listeners.start.push(params.events.start); + if (params.events.beforeStart) listeners.beforeStart.push(params.events.beforeStart); + if (params.events.stop) listeners.stop.push(params.events.stop); + if (params.events.drag) listeners.drag.push(params.events.drag); + if (params.events.revert) listeners.revert.push(params.events.revert); + + this.on = function(evt, fn) { + if (listeners[evt]) listeners[evt].push(fn); + }; + + this.off = function(evt, fn) { + if (listeners[evt]) { + var l = []; + for (var i = 0; i < listeners[evt].length; i++) { + if (listeners[evt][i] !== fn) l.push(listeners[evt][i]); + } + listeners[evt] = l; + } + }; + + var _dispatch = function(evt, value) { + var result = null; + if (activeSelectorParams && activeSelectorParams[evt]) { + result = activeSelectorParams[evt](value); + } else if (listeners[evt]) { + for (var i = 0; i < listeners[evt].length; i++) { + try { + var v = listeners[evt][i](value); + if (v != null) { + result = v; + } + } + catch (e) { } + } + } + return result; + }; + + this.notifyStart = function(e) { + _dispatch("start", {el:this.el, pos:this.params.getPosition(dragEl), e:e, drag:this}); + }; + + this.stop = function(e, force) { + if (force || moving) { + var positions = [], + sel = k.getSelection(), + dPos = this.params.getPosition(dragEl); + + if (sel.length > 0) { + for (var i = 0; i < sel.length; i++) { + var p = this.params.getPosition(sel[i].el); + positions.push([ sel[i].el, { left: p[0], top: p[1] }, sel[i] ]); + } + } + else { + positions.push([ dragEl, {left:dPos[0], top:dPos[1]}, this ]); + } + + _dispatch("stop", { + el: dragEl, + pos: ghostProxyOffsets || dPos, + finalPos:dPos, + e: e, + drag: this, + selection:positions + }); + } + }; + + this.mark = function(andNotify) { + posAtDown = this.params.getPosition(dragEl); + pagePosAtDown = this.params.getPosition(dragEl, true); + pageDelta = [pagePosAtDown[0] - posAtDown[0], pagePosAtDown[1] - posAtDown[1]]; + this.size = this.params.getSize(dragEl); + matchingDroppables = k.getMatchingDroppables(this); + _setDroppablesActive(matchingDroppables, true, false, this); + this.params.addClass(dragEl, this.params.dragClass || css.drag); + + var cs; + if (this.params.getConstrainingRectangle) { + cs = this.params.getConstrainingRectangle(dragEl) + } else { + cs = this.params.getSize(dragEl.parentNode); + } + constrainRect = {w: cs[0], h: cs[1]}; + + ghostDx = 0; + ghostDy = 0; + + if (andNotify) { + k.notifySelectionDragStart(this); + } + }; + var ghostProxyOffsets; + this.unmark = function(e, doNotCheckDroppables) { + _setDroppablesActive(matchingDroppables, false, true, this); + + if (isConstrained && useGhostProxy(elementToDrag, dragEl)) { + ghostProxyOffsets = [dragEl.offsetLeft - ghostDx, dragEl.offsetTop - ghostDy]; + dragEl.parentNode.removeChild(dragEl); + dragEl = elementToDrag; + } + else { + ghostProxyOffsets = null; + } + + this.params.removeClass(dragEl, this.params.dragClass || css.drag); + matchingDroppables.length = 0; + isConstrained = false; + if (!doNotCheckDroppables) { + if (intersectingDroppables.length > 0 && ghostProxyOffsets) { + params.setPosition(elementToDrag, ghostProxyOffsets); + } + intersectingDroppables.sort(_rankSort); + for (var i = 0; i < intersectingDroppables.length; i++) { + var retVal = intersectingDroppables[i].drop(this, e); + if (retVal === true) break; + } + } + }; + this.moveBy = function(dx, dy, e) { + intersectingDroppables.length = 0; + + var desiredLoc = this.toGrid([posAtDown[0] + dx, posAtDown[1] + dy]), + cPos = constrain(desiredLoc, dragEl, constrainRect, this.size); + + // if we should use a ghost proxy... + if (useGhostProxy(this.el, dragEl)) { + // and the element has been dragged outside of its parent bounds + if (desiredLoc[0] !== cPos[0] || desiredLoc[1] !== cPos[1]) { + + // ...if ghost proxy not yet created + if (!isConstrained) { + // create it + var gp = ghostProxy(elementToDrag); + params.addClass(gp, _classes.ghostProxy); + + if (ghostProxyParent) { + ghostProxyParent.appendChild(gp); + // find offset between drag el's parent the ghost parent + currentParentPosition = params.getPosition(elementToDrag.parentNode, true); + ghostParentPosition = params.getPosition(params.ghostProxyParent, true); + ghostDx = currentParentPosition[0] - ghostParentPosition[0]; + ghostDy = currentParentPosition[1] - ghostParentPosition[1]; + + } else { + elementToDrag.parentNode.appendChild(gp); + } + + // the ghost proxy is the drag element + dragEl = gp; + // set this flag so we dont recreate the ghost proxy + isConstrained = true; + } + // now the drag position can be the desired position, as the ghost proxy can support it. + cPos = desiredLoc; + } + else { + // if the element is not outside of its parent bounds, and ghost proxy is in place, + if (isConstrained) { + // remove the ghost proxy from the dom + dragEl.parentNode.removeChild(dragEl); + // reset the drag element to the original element + dragEl = elementToDrag; + // clear this flag. + isConstrained = false; + currentParentPosition = null; + ghostParentPosition = null; + ghostDx = 0; + ghostDy = 0; + } + } + } + + var rect = { x:cPos[0], y:cPos[1], w:this.size[0], h:this.size[1]}, + pageRect = { x:rect.x + pageDelta[0], y:rect.y + pageDelta[1], w:rect.w, h:rect.h}, + focusDropElement = null; + + this.params.setPosition(dragEl, [cPos[0] + ghostDx, cPos[1] + ghostDy]); + + for (var i = 0; i < matchingDroppables.length; i++) { + var r2 = { x:matchingDroppables[i].pagePosition[0], y:matchingDroppables[i].pagePosition[1], w:matchingDroppables[i].size[0], h:matchingDroppables[i].size[1]}; + if (this.params.intersects(pageRect, r2) && (_multipleDrop || focusDropElement == null || focusDropElement === matchingDroppables[i].el) && matchingDroppables[i].canDrop(this)) { + if (!focusDropElement) focusDropElement = matchingDroppables[i].el; + intersectingDroppables.push(matchingDroppables[i]); + matchingDroppables[i].setHover(this, true, e); + } + else if (matchingDroppables[i].isHover()) { + matchingDroppables[i].setHover(this, false, e); + } + } + + _dispatch("drag", {el:this.el, pos:cPos, e:e, drag:this}); + + /* test to see if the parent needs to be scrolled (future) + if (scroll) { + var pnsl = dragEl.parentNode.scrollLeft, pnst = dragEl.parentNode.scrollTop; + console.log("scroll!", pnsl, pnst); + }*/ + }; + this.destroy = function() { + this.params.unbind(this.el, "mousedown", this.downListener); + this.params.unbind(document, "mousemove", this.moveListener); + this.params.unbind(document, "mouseup", this.upListener); + this.downListener = null; + this.upListener = null; + this.moveListener = null; + }; + + // init:register mousedown, and perhaps set a filter + this.params.bind(this.el, "mousedown", this.downListener); + + // if handle provided, use that. otherwise, try to set a filter. + // note that a `handle` selector always results in filterExclude being set to false, ie. + // the selector defines the handle element(s). + if (this.params.handle) + _setFilter(this.params.handle, false); + else + _setFilter(this.params.filter, this.params.filterExclude); + }; + + var Drop = function(el, params, css, scope) { + this._class = css.droppable; + this.params = params || {}; + this.rank = params.rank || 0; + this._activeClass = this.params.activeClass || css.active; + this._hoverClass = this.params.hoverClass || css.hover; + Super.apply(this, arguments); + var hover = false; + this.allowLoopback = this.params.allowLoopback !== false; + + this.setActive = function(val) { + this.params[val ? "addClass" : "removeClass"](this.el, this._activeClass); + }; + + this.updatePosition = function() { + this.position = this.params.getPosition(this.el); + this.pagePosition = this.params.getPosition(this.el, true); + this.size = this.params.getSize(this.el); + }; + + this.canDrop = this.params.canDrop || function(drag) { + return true; + }; + + this.isHover = function() { return hover; }; + + this.setHover = function(drag, val, e) { + // if turning off hover but this was not the drag that caused the hover, ignore. + if (val || this.el._katavorioDragHover == null || this.el._katavorioDragHover === drag.el._katavorio) { + this.params[val ? "addClass" : "removeClass"](this.el, this._hoverClass); + this.el._katavorioDragHover = val ? drag.el._katavorio : null; + if (hover !== val) { + this.params.events[val ? "over" : "out"]({el: this.el, e: e, drag: drag, drop: this}); + } + hover = val; + } + }; + + /** + * A drop event. `drag` is the corresponding Drag object, which may be a Drag for some specific element, or it + * may be a Drag on some element acting as a delegate for elements contained within it. + * @param drag + * @param event + * @returns {*} + */ + this.drop = function(drag, event) { + return this.params.events["drop"]({ drag:drag, e:event, drop:this }); + }; + + this.destroy = function() { + this._class = null; + this._activeClass = null; + this._hoverClass = null; + hover = null; + }; + }; + + var _uuid = function() { + return ('xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { + var r = Math.random()*16|0, v = c === 'x' ? r : (r&0x3|0x8); + return v.toString(16); + })); + }; + + var _rankSort = function(a,b) { + return a.rank < b.rank ? 1 : a.rank > b.rank ? -1 : 0; + }; + + var _gel = function(el) { + if (el == null) return null; + el = (typeof el === "string" || el.constructor === String) ? document.getElementById(el) : el; + if (el == null) return null; + el._katavorio = el._katavorio || _uuid(); + return el; + }; + + root.Katavorio = function(katavorioParams) { + + var _selection = [], + _selectionMap = {}; + + this._dragsByScope = {}; + this._dropsByScope = {}; + var _zoom = 1, + _reg = function(obj, map) { + _each(obj, function(_obj) { + for(var i = 0; i < _obj.scopes.length; i++) { + map[_obj.scopes[i]] = map[_obj.scopes[i]] || []; + map[_obj.scopes[i]].push(_obj); + } + }); + }, + _unreg = function(obj, map) { + var c = 0; + _each(obj, function(_obj) { + for(var i = 0; i < _obj.scopes.length; i++) { + if (map[_obj.scopes[i]]) { + var idx = katavorioParams.indexOf(map[_obj.scopes[i]], _obj); + if (idx !== -1) { + map[_obj.scopes[i]].splice(idx, 1); + c++; + } + } + } + }); + + return c > 0 ; + }, + _getMatchingDroppables = this.getMatchingDroppables = function(drag) { + var dd = [], _m = {}; + for (var i = 0; i < drag.scopes.length; i++) { + var _dd = this._dropsByScope[drag.scopes[i]]; + if (_dd) { + for (var j = 0; j < _dd.length; j++) { + if (_dd[j].canDrop(drag) && !_m[_dd[j].uuid] && (_dd[j].allowLoopback || _dd[j].el !== drag.el)) { + _m[_dd[j].uuid] = true; + dd.push(_dd[j]); + } + } + } + } + dd.sort(_rankSort); + return dd; + }, + _prepareParams = function(p) { + p = p || {}; + var _p = { + events:{} + }, i; + for (i in katavorioParams) _p[i] = katavorioParams[i]; + for (i in p) _p[i] = p[i]; + // events + + for (i = 0; i < _events.length; i++) { + _p.events[_events[i]] = p[_events[i]] || _devNull; + } + _p.katavorio = this; + return _p; + }.bind(this), + _mistletoe = function(existingDrag, params) { + for (var i = 0; i < _events.length; i++) { + if (params[_events[i]]) { + existingDrag.on(_events[i], params[_events[i]]); + } + } + }.bind(this), + _css = {}, + overrideCss = katavorioParams.css || {}, + _scope = katavorioParams.scope || _defaultScope; + + // prepare map of css classes based on defaults frst, then optional overrides + for (var i in _classes) _css[i] = _classes[i]; + for (var i in overrideCss) _css[i] = overrideCss[i]; + + var inputFilterSelector = katavorioParams.inputFilterSelector || _defaultInputFilterSelector; + /** + * Gets the selector identifying which input elements to filter from drag events. + * @method getInputFilterSelector + * @return {String} Current input filter selector. + */ + this.getInputFilterSelector = function() { return inputFilterSelector; }; + + /** + * Sets the selector identifying which input elements to filter from drag events. + * @method setInputFilterSelector + * @param {String} selector Input filter selector to set. + * @return {Katavorio} Current instance; method may be chained. + */ + this.setInputFilterSelector = function(selector) { + inputFilterSelector = selector; + return this; + }; + + /** + * Either makes the given element draggable, or identifies it as an element inside which some identified list + * of elements may be draggable. + * @param el + * @param params + * @returns {Array} + */ + this.draggable = function(el, params) { + var o = []; + _each(el, function (_el) { + _el = _gel(_el); + if (_el != null) { + if (_el._katavorioDrag == null) { + var p = _prepareParams(params); + _el._katavorioDrag = new Drag(_el, p, _css, _scope); + _reg(_el._katavorioDrag, this._dragsByScope); + o.push(_el._katavorioDrag); + katavorioParams.addClass(_el, p.selector ? _css.delegatedDraggable : _css.draggable); + } + else { + _mistletoe(_el._katavorioDrag, params); + } + } + }.bind(this)); + return o; + }; + + this.droppable = function(el, params) { + var o = []; + _each(el, function(_el) { + _el = _gel(_el); + if (_el != null) { + var drop = new Drop(_el, _prepareParams(params), _css, _scope); + _el._katavorioDrop = _el._katavorioDrop || []; + _el._katavorioDrop.push(drop); + _reg(drop, this._dropsByScope); + o.push(drop); + katavorioParams.addClass(_el, _css.droppable); + } + }.bind(this)); + return o; + }; + + /** + * @name Katavorio#select + * @function + * @desc Adds an element to the current selection (for multiple node drag) + * @param {Element|String} DOM element - or id of the element - to add. + */ + this.select = function(el) { + _each(el, function() { + var _el = _gel(this); + if (_el && _el._katavorioDrag) { + if (!_selectionMap[_el._katavorio]) { + _selection.push(_el._katavorioDrag); + _selectionMap[_el._katavorio] = [ _el, _selection.length - 1 ]; + katavorioParams.addClass(_el, _css.selected); + } + } + }); + return this; + }; + + /** + * @name Katavorio#deselect + * @function + * @desc Removes an element from the current selection (for multiple node drag) + * @param {Element|String} DOM element - or id of the element - to remove. + */ + this.deselect = function(el) { + _each(el, function() { + var _el = _gel(this); + if (_el && _el._katavorio) { + var e = _selectionMap[_el._katavorio]; + if (e) { + var _s = []; + for (var i = 0; i < _selection.length; i++) + if (_selection[i].el !== _el) _s.push(_selection[i]); + _selection = _s; + delete _selectionMap[_el._katavorio]; + katavorioParams.removeClass(_el, _css.selected); + } + } + }); + return this; + }; + + this.deselectAll = function() { + for (var i in _selectionMap) { + var d = _selectionMap[i]; + katavorioParams.removeClass(d[0], _css.selected); + } + + _selection.length = 0; + _selectionMap = {}; + }; + + this.markSelection = function(drag) { + _foreach(_selection, function(e) { e.mark(); }, drag); + }; + + this.markPosses = function(drag) { + if (drag.posses) { + _each(drag.posses, function(p) { + if (drag.posseRoles[p] && _posses[p]) { + _foreach(_posses[p].members, function (d) { + d.mark(); + }, drag); + } + }) + } + }; + + this.unmarkSelection = function(drag, event) { + _foreach(_selection, function(e) { e.unmark(event); }, drag); + }; + + this.unmarkPosses = function(drag, event) { + if (drag.posses) { + _each(drag.posses, function(p) { + if (drag.posseRoles[p] && _posses[p]) { + _foreach(_posses[p].members, function (d) { + d.unmark(event, true); + }, drag); + } + }); + } + }; + + this.getSelection = function() { return _selection.slice(0); }; + + this.updateSelection = function(dx, dy, drag) { + _foreach(_selection, function(e) { e.moveBy(dx, dy); }, drag); + }; + + var _posseAction = function(fn, drag) { + if (drag.posses) { + _each(drag.posses, function(p) { + if (drag.posseRoles[p] && _posses[p]) { + _foreach(_posses[p].members, function (e) { + fn(e); + }, drag); + } + }); + } + }; + + this.updatePosses = function(dx, dy, drag) { + _posseAction(function(e) { e.moveBy(dx, dy); }, drag); + }; + + this.notifyPosseDragStop = function(drag, evt) { + _posseAction(function(e) { e.stop(evt, true); }, drag); + }; + + this.notifySelectionDragStop = function(drag, evt) { + _foreach(_selection, function(e) { e.stop(evt, true); }, drag); + }; + + this.notifySelectionDragStart = function(drag, evt) { + _foreach(_selection, function(e) { e.notifyStart(evt);}, drag); + }; + + this.setZoom = function(z) { _zoom = z; }; + this.getZoom = function() { return _zoom; }; + + // does the work of changing scopes + var _scopeManip = function(kObj, scopes, map, fn) { + _each(kObj, function(_kObj) { + _unreg(_kObj, map); // deregister existing scopes + _kObj[fn](scopes); // set scopes + _reg(_kObj, map); // register new ones + }); + }; + + _each([ "set", "add", "remove", "toggle"], function(v) { + this[v + "Scope"] = function(el, scopes) { + _scopeManip(el._katavorioDrag, scopes, this._dragsByScope, v + "Scope"); + _scopeManip(el._katavorioDrop, scopes, this._dropsByScope, v + "Scope"); + }.bind(this); + this[v + "DragScope"] = function(el, scopes) { + _scopeManip(el.constructor === Drag ? el : el._katavorioDrag, scopes, this._dragsByScope, v + "Scope"); + }.bind(this); + this[v + "DropScope"] = function(el, scopes) { + _scopeManip(el.constructor === Drop ? el : el._katavorioDrop, scopes, this._dropsByScope, v + "Scope"); + }.bind(this); + }.bind(this)); + + this.snapToGrid = function(x, y) { + for (var s in this._dragsByScope) { + _foreach(this._dragsByScope[s], function(d) { d.snap(x, y); }); + } + }; + + this.getDragsForScope = function(s) { return this._dragsByScope[s]; }; + this.getDropsForScope = function(s) { return this._dropsByScope[s]; }; + + var _destroy = function(el, type, map) { + el = _gel(el); + if (el[type]) { + + // remove from selection, if present. + var selIdx = _selection.indexOf(el[type]); + if (selIdx >= 0) { + _selection.splice(selIdx, 1); + } + + if (_unreg(el[type], map)) { + _each(el[type], function(kObj) { kObj.destroy() }); + } + + delete el[type]; + } + }; + + var _removeListener = function(el, type, evt, fn) { + el = _gel(el); + if (el[type]) { + el[type].off(evt, fn); + } + }; + + this.elementRemoved = function(el) { + this.destroyDraggable(el); + this.destroyDroppable(el); + }; + + /** + * Either completely remove drag functionality from the given element, or remove a specific event handler. If you + * call this method with a single argument - the element - all drag functionality is removed from it. Otherwise, if + * you provide an event name and listener function, this function is de-registered (if found). + * @param el Element to update + * @param {string} [evt] Optional event name to unsubscribe + * @param {Function} [fn] Optional function to unsubscribe + */ + this.destroyDraggable = function(el, evt, fn) { + if (arguments.length === 1) { + _destroy(el, "_katavorioDrag", this._dragsByScope); + } else { + _removeListener(el, "_katavorioDrag", evt, fn); + } + }; + + /** + * Either completely remove drop functionality from the given element, or remove a specific event handler. If you + * call this method with a single argument - the element - all drop functionality is removed from it. Otherwise, if + * you provide an event name and listener function, this function is de-registered (if found). + * @param el Element to update + * @param {string} [evt] Optional event name to unsubscribe + * @param {Function} [fn] Optional function to unsubscribe + */ + this.destroyDroppable = function(el, evt, fn) { + if (arguments.length === 1) { + _destroy(el, "_katavorioDrop", this._dropsByScope); + } else { + _removeListener(el, "_katavorioDrop", evt, fn); + } + }; + + this.reset = function() { + this._dragsByScope = {}; + this._dropsByScope = {}; + _selection = []; + _selectionMap = {}; + _posses = {}; + }; + + // ----- groups + var _posses = {}; + + var _processOneSpec = function(el, _spec, dontAddExisting) { + var posseId = _isString(_spec) ? _spec : _spec.id; + var active = _isString(_spec) ? true : _spec.active !== false; + var posse = _posses[posseId] || (function() { + var g = {name:posseId, members:[]}; + _posses[posseId] = g; + return g; + })(); + _each(el, function(_el) { + if (_el._katavorioDrag) { + + if (dontAddExisting && _el._katavorioDrag.posseRoles[posse.name] != null) return; + + _suggest(posse.members, _el._katavorioDrag); + _suggest(_el._katavorioDrag.posses, posse.name); + _el._katavorioDrag.posseRoles[posse.name] = active; + } + }); + return posse; + }; + + /** + * Add the given element to the posse with the given id, creating the group if it at first does not exist. + * @method addToPosse + * @param {Element} el Element to add. + * @param {String...|Object...} spec Variable args parameters. Each argument can be a either a String, indicating + * the ID of a Posse to which the element should be added as an active participant, or an Object containing + * `{ id:"posseId", active:false/true}`. In the latter case, if `active` is not provided it is assumed to be + * true. + * @returns {Posse|Posse[]} The Posse(s) to which the element(s) was/were added. + */ + this.addToPosse = function(el, spec) { + + var posses = []; + + for (var i = 1; i < arguments.length; i++) { + posses.push(_processOneSpec(el, arguments[i])); + } + + return posses.length === 1 ? posses[0] : posses; + }; + + /** + * Sets the posse(s) for the element with the given id, creating those that do not yet exist, and removing from + * the element any current Posses that are not specified by this method call. This method will not change the + * active/passive state if it is given a posse in which the element is already a member. + * @method setPosse + * @param {Element} el Element to set posse(s) on. + * @param {String...|Object...} spec Variable args parameters. Each argument can be a either a String, indicating + * the ID of a Posse to which the element should be added as an active participant, or an Object containing + * `{ id:"posseId", active:false/true}`. In the latter case, if `active` is not provided it is assumed to be + * true. + * @returns {Posse|Posse[]} The Posse(s) to which the element(s) now belongs. + */ + this.setPosse = function(el, spec) { + + var posses = []; + + for (var i = 1; i < arguments.length; i++) { + posses.push(_processOneSpec(el, arguments[i], true).name); + } + + _each(el, function(_el) { + if (_el._katavorioDrag) { + var diff = _difference(_el._katavorioDrag.posses, posses); + var p = []; + Array.prototype.push.apply(p, _el._katavorioDrag.posses); + for (var i = 0; i < diff.length; i++) { + this.removeFromPosse(_el, diff[i]); + } + } + }.bind(this)); + + return posses.length === 1 ? posses[0] : posses; + }; + + /** + * Remove the given element from the given posse(s). + * @method removeFromPosse + * @param {Element} el Element to remove. + * @param {String...} posseId Varargs parameter: one value for each posse to remove the element from. + */ + this.removeFromPosse = function(el, posseId) { + if (arguments.length < 2) throw new TypeError("No posse id provided for remove operation"); + for(var i = 1; i < arguments.length; i++) { + posseId = arguments[i]; + _each(el, function (_el) { + if (_el._katavorioDrag && _el._katavorioDrag.posses) { + var d = _el._katavorioDrag; + _each(posseId, function (p) { + _vanquish(_posses[p].members, d); + _vanquish(d.posses, p); + delete d.posseRoles[p]; + }); + } + }); + } + }; + + /** + * Remove the given element from all Posses to which it belongs. + * @method removeFromAllPosses + * @param {Element|Element[]} el Element to remove from Posses. + */ + this.removeFromAllPosses = function(el) { + _each(el, function(_el) { + if (_el._katavorioDrag && _el._katavorioDrag.posses) { + var d = _el._katavorioDrag; + _each(d.posses, function(p) { + _vanquish(_posses[p].members, d); + }); + d.posses.length = 0; + d.posseRoles = {}; + } + }); + }; + + /** + * Changes the participation state for the element in the Posse with the given ID. + * @param {Element|Element[]} el Element(s) to change state for. + * @param {String} posseId ID of the Posse to change element state for. + * @param {Boolean} state True to make active, false to make passive. + */ + this.setPosseState = function(el, posseId, state) { + var posse = _posses[posseId]; + if (posse) { + _each(el, function(_el) { + if (_el._katavorioDrag && _el._katavorioDrag.posses) { + _el._katavorioDrag.posseRoles[posse.name] = state; + } + }); + } + }; + + }; + + root.Katavorio.version = "1.0.0"; + + if (typeof exports !== "undefined") { + exports.Katavorio = root.Katavorio; + } + +}).call(typeof window !== 'undefined' ? window : this); + + +(function() { + + var root = this; + root.jsPlumbUtil = root.jsPlumbUtil || {}; + var jsPlumbUtil = root.jsPlumbUtil; + + if (typeof exports !=='undefined') { exports.jsPlumbUtil = jsPlumbUtil;} + + + /** + * Tests if the given object is an Array. + * @param a + */ + function isArray(a) { + return Object.prototype.toString.call(a) === "[object Array]"; + } + jsPlumbUtil.isArray = isArray; + /** + * Tests if the given object is a Number. + * @param n + */ + function isNumber(n) { + return Object.prototype.toString.call(n) === "[object Number]"; + } + jsPlumbUtil.isNumber = isNumber; + function isString(s) { + return typeof s === "string"; + } + jsPlumbUtil.isString = isString; + function isBoolean(s) { + return typeof s === "boolean"; + } + jsPlumbUtil.isBoolean = isBoolean; + function isNull(s) { + return s == null; + } + jsPlumbUtil.isNull = isNull; + function isObject(o) { + return o == null ? false : Object.prototype.toString.call(o) === "[object Object]"; + } + jsPlumbUtil.isObject = isObject; + function isDate(o) { + return Object.prototype.toString.call(o) === "[object Date]"; + } + jsPlumbUtil.isDate = isDate; + function isFunction(o) { + return Object.prototype.toString.call(o) === "[object Function]"; + } + jsPlumbUtil.isFunction = isFunction; + function isNamedFunction(o) { + return isFunction(o) && o.name != null && o.name.length > 0; + } + jsPlumbUtil.isNamedFunction = isNamedFunction; + function isEmpty(o) { + for (var i in o) { + if (o.hasOwnProperty(i)) { + return false; + } + } + return true; + } + jsPlumbUtil.isEmpty = isEmpty; + function clone(a) { + if (isString(a)) { + return "" + a; + } + else if (isBoolean(a)) { + return !!a; + } + else if (isDate(a)) { + return new Date(a.getTime()); + } + else if (isFunction(a)) { + return a; + } + else if (isArray(a)) { + var b = []; + for (var i = 0; i < a.length; i++) { + b.push(clone(a[i])); + } + return b; + } + else if (isObject(a)) { + var c = {}; + for (var j in a) { + c[j] = clone(a[j]); + } + return c; + } + else { + return a; + } + } + jsPlumbUtil.clone = clone; + function merge(a, b, collations, overwrites) { + // first change the collations array - if present - into a lookup table, because its faster. + var cMap = {}, ar, i, oMap = {}; + collations = collations || []; + overwrites = overwrites || []; + for (i = 0; i < collations.length; i++) { + cMap[collations[i]] = true; + } + for (i = 0; i < overwrites.length; i++) { + oMap[overwrites[i]] = true; + } + var c = clone(a); + for (i in b) { + if (c[i] == null || oMap[i]) { + c[i] = b[i]; + } + else if (isString(b[i]) || isBoolean(b[i])) { + if (!cMap[i]) { + c[i] = b[i]; // if we dont want to collate, just copy it in. + } + else { + ar = []; + // if c's object is also an array we can keep its values. + ar.push.apply(ar, isArray(c[i]) ? c[i] : [c[i]]); + ar.push.apply(ar, isBoolean(b[i]) ? b[i] : [b[i]]); + c[i] = ar; + } + } + else { + if (isArray(b[i])) { + ar = []; + // if c's object is also an array we can keep its values. + if (isArray(c[i])) { + ar.push.apply(ar, c[i]); + } + ar.push.apply(ar, b[i]); + c[i] = ar; + } + else if (isObject(b[i])) { + // overwrite c's value with an object if it is not already one. + if (!isObject(c[i])) { + c[i] = {}; + } + for (var j in b[i]) { + c[i][j] = b[i][j]; + } + } + } + } + return c; + } + jsPlumbUtil.merge = merge; + function replace(inObj, path, value) { + if (inObj == null) { + return; + } + var q = inObj, t = q; + path.replace(/([^\.])+/g, function (term, lc, pos, str) { + var array = term.match(/([^\[0-9]+){1}(\[)([0-9+])/), last = pos + term.length >= str.length, _getArray = function () { + return t[array[1]] || (function () { + t[array[1]] = []; + return t[array[1]]; + })(); + }; + if (last) { + // set term = value on current t, creating term as array if necessary. + if (array) { + _getArray()[array[3]] = value; + } + else { + t[term] = value; + } + } + else { + // set to current t[term], creating t[term] if necessary. + if (array) { + var a_1 = _getArray(); + t = a_1[array[3]] || (function () { + a_1[array[3]] = {}; + return a_1[array[3]]; + })(); + } + else { + t = t[term] || (function () { + t[term] = {}; + return t[term]; + })(); + } + } + return ""; + }); + return inObj; + } + jsPlumbUtil.replace = replace; + // + // chain a list of functions, supplied by [ object, method name, args ], and return on the first + // one that returns the failValue. if none return the failValue, return the successValue. + // + function functionChain(successValue, failValue, fns) { + for (var i = 0; i < fns.length; i++) { + var o = fns[i][0][fns[i][1]].apply(fns[i][0], fns[i][2]); + if (o === failValue) { + return o; + } + } + return successValue; + } + jsPlumbUtil.functionChain = functionChain; + /** + * + * Take the given model and expand out any parameters. 'functionPrefix' is optional, and if present, helps jsplumb figure out what to do if a value is a Function. + * if you do not provide it (and doNotExpandFunctions is null, or false), jsplumb will run the given values through any functions it finds, and use the function's + * output as the value in the result. if you do provide the prefix, only functions that are named and have this prefix + * will be executed; other functions will be passed as values to the output. + * + * @param model + * @param values + * @param functionPrefix + * @param doNotExpandFunctions + * @returns {any} + */ + function populate(model, values, functionPrefix, doNotExpandFunctions) { + // for a string, see if it has parameter matches, and if so, try to make the substitutions. + var getValue = function (fromString) { + var matches = fromString.match(/(\${.*?})/g); + if (matches != null) { + for (var i = 0; i < matches.length; i++) { + var val = values[matches[i].substring(2, matches[i].length - 1)] || ""; + if (val != null) { + fromString = fromString.replace(matches[i], val); + } + } + } + return fromString; + }; + // process one entry. + var _one = function (d) { + if (d != null) { + if (isString(d)) { + return getValue(d); + } + else if (isFunction(d) && !doNotExpandFunctions && (functionPrefix == null || (d.name || "").indexOf(functionPrefix) === 0)) { + return d(values); + } + else if (isArray(d)) { + var r = []; + for (var i = 0; i < d.length; i++) { + r.push(_one(d[i])); + } + return r; + } + else if (isObject(d)) { + var s = {}; + for (var j in d) { + s[j] = _one(d[j]); + } + return s; + } + else { + return d; + } + } + }; + return _one(model); + } + jsPlumbUtil.populate = populate; + /** + * Find the index of a given object in an array. + * @param a The array to search + * @param f The function to run on each element. Return true if the element matches. + * @returns {number} -1 if not found, otherwise the index in the array. + */ + function findWithFunction(a, f) { + if (a) { + for (var i = 0; i < a.length; i++) { + if (f(a[i])) { + return i; + } + } + } + return -1; + } + jsPlumbUtil.findWithFunction = findWithFunction; + /** + * Remove some element from an array by matching each element in the array against some predicate function. Note that this + * is an in-place removal; the array is altered. + * @param a The array to search + * @param f The function to run on each element. Return true if the element matches. + * @returns {boolean} true if removed, false otherwise. + */ + function removeWithFunction(a, f) { + var idx = findWithFunction(a, f); + if (idx > -1) { + a.splice(idx, 1); + } + return idx !== -1; + } + jsPlumbUtil.removeWithFunction = removeWithFunction; + /** + * Remove some element from an array by simple lookup in the array for the given element. Note that this + * is an in-place removal; the array is altered. + * @param l The array to search + * @param v The value to remove. + * @returns {boolean} true if removed, false otherwise. + */ + function remove(l, v) { + var idx = l.indexOf(v); + if (idx > -1) { + l.splice(idx, 1); + } + return idx !== -1; + } + jsPlumbUtil.remove = remove; + /** + * Add some element to the given array, unless it is determined that it is already in the array. + * @param list The array to add the element to. + * @param item The item to add. + * @param hashFunction A function to use to determine if the given item already exists in the array. + */ + function addWithFunction(list, item, hashFunction) { + if (findWithFunction(list, hashFunction) === -1) { + list.push(item); + } + } + jsPlumbUtil.addWithFunction = addWithFunction; + /** + * Add some element to a list that is contained in a map of lists. + * @param map The map of [ key -> list ] entries + * @param key The name of the list to insert into + * @param value The value to insert + * @param insertAtStart Whether or not to insert at the start; defaults to false. + */ + function addToList(map, key, value, insertAtStart) { + var l = map[key]; + if (l == null) { + l = []; + map[key] = l; + } + l[insertAtStart ? "unshift" : "push"](value); + return l; + } + jsPlumbUtil.addToList = addToList; + /** + * Add an item to a list, unless it is already in the list. The test for pre-existence is a simple list lookup. + * If you want to do something more complex, perhaps #addWithFunction might help. + * @param list List to add the item to + * @param item Item to add + * @param insertAtHead Whether or not to insert at the start; defaults to false. + */ + function suggest(list, item, insertAtHead) { + if (list.indexOf(item) === -1) { + if (insertAtHead) { + list.unshift(item); + } + else { + list.push(item); + } + return true; + } + return false; + } + jsPlumbUtil.suggest = suggest; + /** + * Extends the given obj (which can be an array) with the given constructor function, prototype functions, and class members, any of which may be null. + * @param child + * @param parent + * @param _protoFn + */ + function extend(child, parent, _protoFn) { + var i; + parent = isArray(parent) ? parent : [parent]; + var _copyProtoChain = function (focus) { + var proto = focus.__proto__; + while (proto != null) { + if (proto.prototype != null) { + for (var j in proto.prototype) { + if (proto.prototype.hasOwnProperty(j) && !child.prototype.hasOwnProperty(j)) { + child.prototype[j] = proto.prototype[j]; + } + } + proto = proto.prototype.__proto__; + } + else { + proto = null; + } + } + }; + for (i = 0; i < parent.length; i++) { + for (var j in parent[i].prototype) { + if (parent[i].prototype.hasOwnProperty(j) && !child.prototype.hasOwnProperty(j)) { + child.prototype[j] = parent[i].prototype[j]; + } + } + _copyProtoChain(parent[i]); + } + var _makeFn = function (name, protoFn) { + return function () { + for (i = 0; i < parent.length; i++) { + if (parent[i].prototype[name]) { + parent[i].prototype[name].apply(this, arguments); + } + } + return protoFn.apply(this, arguments); + }; + }; + var _oneSet = function (fns) { + for (var k in fns) { + child.prototype[k] = _makeFn(k, fns[k]); + } + }; + if (arguments.length > 2) { + for (i = 2; i < arguments.length; i++) { + _oneSet(arguments[i]); + } + } + return child; + } + jsPlumbUtil.extend = extend; + /** + * Generate a UUID. + */ + // export function uuid(): string { + // return ('xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { + // let r = Math.random() * 16 | 0, v = c === 'x' ? r : (r & 0x3 | 0x8); + // return v.toString(16); + // })); + // } + var lut = []; + for (var i = 0; i < 256; i++) { + lut[i] = (i < 16 ? '0' : '') + (i).toString(16); + } + function uuid() { + var d0 = Math.random() * 0xffffffff | 0; + var d1 = Math.random() * 0xffffffff | 0; + var d2 = Math.random() * 0xffffffff | 0; + var d3 = Math.random() * 0xffffffff | 0; + return lut[d0 & 0xff] + lut[d0 >> 8 & 0xff] + lut[d0 >> 16 & 0xff] + lut[d0 >> 24 & 0xff] + '-' + + lut[d1 & 0xff] + lut[d1 >> 8 & 0xff] + '-' + lut[d1 >> 16 & 0x0f | 0x40] + lut[d1 >> 24 & 0xff] + '-' + + lut[d2 & 0x3f | 0x80] + lut[d2 >> 8 & 0xff] + '-' + lut[d2 >> 16 & 0xff] + lut[d2 >> 24 & 0xff] + + lut[d3 & 0xff] + lut[d3 >> 8 & 0xff] + lut[d3 >> 16 & 0xff] + lut[d3 >> 24 & 0xff]; + } + jsPlumbUtil.uuid = uuid; + /** + * Trim a string. + * @param s String to trim + * @returns the String with leading and trailing whitespace removed. + */ + function fastTrim(s) { + if (s == null) { + return null; + } + var str = s.replace(/^\s\s*/, ''), ws = /\s/, i = str.length; + while (ws.test(str.charAt(--i))) { + } + return str.slice(0, i + 1); + } + jsPlumbUtil.fastTrim = fastTrim; + function each(obj, fn) { + obj = obj.length == null || typeof obj === "string" ? [obj] : obj; + for (var i = 0; i < obj.length; i++) { + fn(obj[i]); + } + } + jsPlumbUtil.each = each; + function map(obj, fn) { + var o = []; + for (var i = 0; i < obj.length; i++) { + o.push(fn(obj[i])); + } + return o; + } + jsPlumbUtil.map = map; + function mergeWithParents(type, map, parentAttribute) { + parentAttribute = parentAttribute || "parent"; + var _def = function (id) { + return id ? map[id] : null; + }; + var _parent = function (def) { + return def ? _def(def[parentAttribute]) : null; + }; + var _one = function (parent, def) { + if (parent == null) { + return def; + } + else { + var overrides = ["anchor", "anchors", "cssClass", "connector", "paintStyle", "hoverPaintStyle", "endpoint", "endpoints"]; + if (def.mergeStrategy === "override") { + Array.prototype.push.apply(overrides, ["events", "overlays"]); + } + var d_1 = merge(parent, def, [], overrides); + return _one(_parent(parent), d_1); + } + }; + var _getDef = function (t) { + if (t == null) { + return {}; + } + if (typeof t === "string") { + return _def(t); + } + else if (t.length) { + var done = false, i = 0, _dd = void 0; + while (!done && i < t.length) { + _dd = _getDef(t[i]); + if (_dd) { + done = true; + } + else { + i++; + } + } + return _dd; + } + }; + var d = _getDef(type); + if (d) { + return _one(_parent(d), d); + } + else { + return {}; + } + } + jsPlumbUtil.mergeWithParents = mergeWithParents; + jsPlumbUtil.logEnabled = true; + function log() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + if (jsPlumbUtil.logEnabled && typeof console !== "undefined") { + try { + var msg = arguments[arguments.length - 1]; + console.log(msg); + } + catch (e) { + } + } + } + jsPlumbUtil.log = log; + /** + * Wraps one function with another, creating a placeholder for the + * wrapped function if it was null. this is used to wrap the various + * drag/drop event functions - to allow jsPlumb to be notified of + * important lifecycle events without imposing itself on the user's + * drag/drop functionality. + * @method jsPlumbUtil.wrap + * @param {Function} wrappedFunction original function to wrap; may be null. + * @param {Function} newFunction function to wrap the original with. + * @param {Object} [returnOnThisValue] Optional. Indicates that the wrappedFunction should + * not be executed if the newFunction returns a value matching 'returnOnThisValue'. + * note that this is a simple comparison and only works for primitives right now. + */ + function wrap(wrappedFunction, newFunction, returnOnThisValue) { + return function () { + var r = null; + try { + if (newFunction != null) { + r = newFunction.apply(this, arguments); + } + } + catch (e) { + log("jsPlumb function failed : " + e); + } + if ((wrappedFunction != null) && (returnOnThisValue == null || (r !== returnOnThisValue))) { + try { + r = wrappedFunction.apply(this, arguments); + } + catch (e) { + log("wrapped function failed : " + e); + } + } + return r; + }; + } + jsPlumbUtil.wrap = wrap; + var EventGenerator = /** @class */ (function () { + function EventGenerator() { + var _this = this; + this._listeners = {}; + this.eventsSuspended = false; + this.tick = false; + // this is a list of events that should re-throw any errors that occur during their dispatch. + this.eventsToDieOn = { "ready": true }; + this.queue = []; + this.bind = function (event, listener, insertAtStart) { + var _one = function (evt) { + addToList(_this._listeners, evt, listener, insertAtStart); + listener.__jsPlumb = listener.__jsPlumb || {}; + listener.__jsPlumb[uuid()] = evt; + }; + if (typeof event === "string") { + _one(event); + } + else if (event.length != null) { + for (var i = 0; i < event.length; i++) { + _one(event[i]); + } + } + return _this; + }; + this.fire = function (event, value, originalEvent) { + if (!this.tick) { + this.tick = true; + if (!this.eventsSuspended && this._listeners[event]) { + var l = this._listeners[event].length, i = 0, _gone = false, ret = null; + if (!this.shouldFireEvent || this.shouldFireEvent(event, value, originalEvent)) { + while (!_gone && i < l && ret !== false) { + // doing it this way rather than catching and then possibly re-throwing means that an error propagated by this + // method will have the whole call stack available in the debugger. + if (this.eventsToDieOn[event]) { + this._listeners[event][i].apply(this, [value, originalEvent]); + } + else { + try { + ret = this._listeners[event][i].apply(this, [value, originalEvent]); + } + catch (e) { + log("jsPlumb: fire failed for event " + event + " : " + e); + } + } + i++; + if (this._listeners == null || this._listeners[event] == null) { + _gone = true; + } + } + } + } + this.tick = false; + this._drain(); + } + else { + this.queue.unshift(arguments); + } + return this; + }; + this._drain = function () { + var n = _this.queue.pop(); + if (n) { + _this.fire.apply(_this, n); + } + }; + this.unbind = function (eventOrListener, listener) { + if (arguments.length === 0) { + this._listeners = {}; + } + else if (arguments.length === 1) { + if (typeof eventOrListener === "string") { + delete this._listeners[eventOrListener]; + } + else if (eventOrListener.__jsPlumb) { + var evt = void 0; + for (var i in eventOrListener.__jsPlumb) { + evt = eventOrListener.__jsPlumb[i]; + remove(this._listeners[evt] || [], eventOrListener); + } + } + } + else if (arguments.length === 2) { + remove(this._listeners[eventOrListener] || [], listener); + } + return this; + }; + this.getListener = function (forEvent) { + return _this._listeners[forEvent]; + }; + this.setSuspendEvents = function (val) { + _this.eventsSuspended = val; + }; + this.isSuspendEvents = function () { + return _this.eventsSuspended; + }; + this.silently = function (fn) { + _this.setSuspendEvents(true); + try { + fn(); + } + catch (e) { + log("Cannot execute silent function " + e); + } + _this.setSuspendEvents(false); + }; + this.cleanupListeners = function () { + for (var i in _this._listeners) { + _this._listeners[i] = null; + } + }; + } + return EventGenerator; + }()); + jsPlumbUtil.EventGenerator = EventGenerator; + +}).call(typeof window !== 'undefined' ? window : this); + +/* + * This file contains utility functions that run in browsers only. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ + ;(function() { + + "use strict"; + + var root = this; + + root.jsPlumbUtil.matchesSelector = function(el, selector, ctx) { + ctx = ctx || el.parentNode; + var possibles = ctx.querySelectorAll(selector); + for (var i = 0; i < possibles.length; i++) { + if (possibles[i] === el) { + return true; + } + } + return false; + }; + + root.jsPlumbUtil.consume = function(e, doNotPreventDefault) { + if (e.stopPropagation) { + e.stopPropagation(); + } + else { + e.returnValue = false; + } + + if (!doNotPreventDefault && e.preventDefault){ + e.preventDefault(); + } + }; + + /* + * Function: sizeElement + * Helper to size and position an element. You would typically use + * this when writing your own Connector or Endpoint implementation. + * + * Parameters: + * x - [int] x position for the element origin + * y - [int] y position for the element origin + * w - [int] width of the element + * h - [int] height of the element + * + */ + root.jsPlumbUtil.sizeElement = function(el, x, y, w, h) { + if (el) { + el.style.height = h + "px"; + el.height = h; + el.style.width = w + "px"; + el.width = w; + el.style.left = x + "px"; + el.style.top = y + "px"; + } + }; + + }).call(typeof window !== 'undefined' ? window : this); + +;(function() { + + var DEFAULT_OPTIONS = { + deriveAnchor:function(edge, index, ep, conn) { + return { + top:["TopRight", "TopLeft"], + bottom:["BottomRight", "BottomLeft"] + }[edge][index]; + } + }; + + var root = this; + + var ListManager = function(jsPlumbInstance, params) { + + this.count = 0; + this.instance = jsPlumbInstance; + this.lists = {}; + this.options = params || {}; + + this.instance.addList = function(el, options) { + return this.listManager.addList(el, options); + }; + + this.instance.removeList = function(el) { + this.listManager.removeList(el); + }; + + this.instance.bind("manageElement", function(p) { + + //look for [jtk-scrollable-list] elements and attach scroll listeners if necessary + var scrollableLists = this.instance.getSelector(p.el, "[jtk-scrollable-list]"); + for (var i = 0; i < scrollableLists.length; i++) { + this.addList(scrollableLists[i]); + } + + }.bind(this)); + + this.instance.bind("unmanageElement", function(p) { + this.removeList(p.el); + }); + + + this.instance.bind("connection", function(c, evt) { + if (evt == null) { + // not added by mouse. look for an ancestor of the source and/or target element that is a scrollable list, and run + // its scroll method. + this._maybeUpdateParentList(c.source); + this._maybeUpdateParentList(c.target); + } + }.bind(this)); + }; + + root.jsPlumbListManager = ListManager; + + ListManager.prototype = { + + addList : function(el, options) { + var dp = this.instance.extend({}, DEFAULT_OPTIONS); + this.instance.extend(dp, this.options); + options = this.instance.extend(dp, options || {}); + var id = [this.instance.getInstanceIndex(), this.count++].join("_"); + this.lists[id] = new List(this.instance, el, options, id); + }, + + removeList:function(el) { + var list = this.lists[el._jsPlumbList]; + if (list) { + list.destroy(); + delete this.lists[el._jsPlumbList]; + } + }, + + _maybeUpdateParentList:function (el) { + var parent = el.parentNode, container = this.instance.getContainer(); + while(parent != null && parent !== container) { + if (parent._jsPlumbList != null && this.lists[parent._jsPlumbList] != null) { + parent._jsPlumbScrollHandler(); + return + } + parent = parent.parentNode; + } + } + + + }; + + var List = function(instance, el, options, id) { + + el["_jsPlumbList"] = id; + + // + // Derive an anchor to use for the current situation. In contrast to the way we derive an endpoint, here we use `anchor` from the options, if present, as + // our first choice, and then `deriveAnchor` as our next choice. There is a default `deriveAnchor` implementation that uses TopRight/TopLeft for top and + // BottomRight/BottomLeft for bottom. + // + // edge - "top" or "bottom" + // index - 0 when endpoint is connection source, 1 when endpoint is connection target + // ep - the endpoint that is being proxied + // conn - the connection that is being proxied + // + function deriveAnchor(edge, index, ep, conn) { + return options.anchor ? options.anchor : options.deriveAnchor(edge, index, ep, conn); + } + + // + // Derive an endpoint to use for the current situation. We'll use a `deriveEndpoint` function passed in to the options as our first choice, + // followed by `endpoint` (an endpoint spec) from the options, and failing either of those we just use the `type` of the endpoint that is being proxied. + // + // edge - "top" or "bottom" + // index - 0 when endpoint is connection source, 1 when endpoint is connection target + // endpoint - the endpoint that is being proxied + // connection - the connection that is being proxied + // + function deriveEndpoint(edge, index, ep, conn) { + return options.deriveEndpoint ? options.deriveEndpoint(edge, index, ep, conn) : options.endpoint ? options.endpoint : ep.type; + } + + // + // look for a parent of the given scrollable list that is draggable, and then update the child offsets for it. this should not + // be necessary in the delegated drag stuff from the upcoming 3.0.0 release. + // + function _maybeUpdateDraggable(el) { + var parent = el.parentNode, container = instance.getContainer(); + while(parent != null && parent !== container) { + if (instance.hasClass(parent, "jtk-managed")) { + instance.recalculateOffsets(parent); + return + } + parent = parent.parentNode; + } + } + + var scrollHandler = function(e) { + + var children = instance.getSelector(el, ".jtk-managed"); + var elId = instance.getId(el); + + for (var i = 0; i < children.length; i++) { + + if (children[i].offsetTop < el.scrollTop) { + if (!children[i]._jsPlumbProxies) { + children[i]._jsPlumbProxies = children[i]._jsPlumbProxies || []; + instance.select({source: children[i]}).each(function (c) { + + + instance.proxyConnection(c, 0, el, elId, function () { + return deriveEndpoint("top", 0, c.endpoints[0], c); + }, function () { + return deriveAnchor("top", 0, c.endpoints[0], c); + }); + children[i]._jsPlumbProxies.push([c, 0]); + }); + + instance.select({target: children[i]}).each(function (c) { + instance.proxyConnection(c, 1, el, elId, function () { + return deriveEndpoint("top", 1, c.endpoints[1], c); + }, function () { + return deriveAnchor("top", 1, c.endpoints[1], c); + }); + children[i]._jsPlumbProxies.push([c, 1]); + }); + } + } + // + else if (children[i].offsetTop + children[i].offsetHeight > el.scrollTop + el.offsetHeight) { + if (!children[i]._jsPlumbProxies) { + children[i]._jsPlumbProxies = children[i]._jsPlumbProxies || []; + + instance.select({source: children[i]}).each(function (c) { + instance.proxyConnection(c, 0, el, elId, function () { + return deriveEndpoint("bottom", 0, c.endpoints[0], c); + }, function () { + return deriveAnchor("bottom", 0, c.endpoints[0], c); + }); + children[i]._jsPlumbProxies.push([c, 0]); + }); + + instance.select({target: children[i]}).each(function (c) { + instance.proxyConnection(c, 1, el, elId, function () { + return deriveEndpoint("bottom", 1, c.endpoints[1], c); + }, function () { + return deriveAnchor("bottom", 1, c.endpoints[1], c); + }); + children[i]._jsPlumbProxies.push([c, 1]); + }); + } + } else if (children[i]._jsPlumbProxies) { + for (var j = 0; j < children[i]._jsPlumbProxies.length; j++) { + instance.unproxyConnection(children[i]._jsPlumbProxies[j][0], children[i]._jsPlumbProxies[j][1], elId); + } + + delete children[i]._jsPlumbProxies; + } + + instance.revalidate(children[i]); + } + + _maybeUpdateDraggable(el); + }; + + instance.setAttribute(el, "jtk-scrollable-list", "true"); + el._jsPlumbScrollHandler = scrollHandler; + instance.on(el, "scroll", scrollHandler); + scrollHandler(); // run it once; there may be connections already. + + this.destroy = function() { + instance.off(el, "scroll", scrollHandler); + delete el._jsPlumbScrollHandler; + + var children = instance.getSelector(el, ".jtk-managed"); + var elId = instance.getId(el); + + for (var i = 0; i < children.length; i++) { + if (children[i]._jsPlumbProxies) { + for (var j = 0; j < children[i]._jsPlumbProxies.length; j++) { + instance.unproxyConnection(children[i]._jsPlumbProxies[j][0], children[i]._jsPlumbProxies[j][1], elId); + } + + delete children[i]._jsPlumbProxies; + } + } + }; + }; + + +}).call(typeof window !== 'undefined' ? window : this); + +/* + * This file contains the core code. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +;(function () { + + "use strict"; + + var root = this; + + var _ju = root.jsPlumbUtil, + + /** + * creates a timestamp, using milliseconds since 1970, but as a string. + */ + _timestamp = function () { + return "" + (new Date()).getTime(); + }, + + // helper method to update the hover style whenever it, or paintStyle, changes. + // we use paintStyle as the foundation and merge hoverPaintStyle over the + // top. + _updateHoverStyle = function (component) { + if (component._jsPlumb.paintStyle && component._jsPlumb.hoverPaintStyle) { + var mergedHoverStyle = {}; + jsPlumb.extend(mergedHoverStyle, component._jsPlumb.paintStyle); + jsPlumb.extend(mergedHoverStyle, component._jsPlumb.hoverPaintStyle); + delete component._jsPlumb.hoverPaintStyle; + // we want the fill of paintStyle to override a gradient, if possible. + if (mergedHoverStyle.gradient && component._jsPlumb.paintStyle.fill) { + delete mergedHoverStyle.gradient; + } + component._jsPlumb.hoverPaintStyle = mergedHoverStyle; + } + }, + events = ["tap", "dbltap", "click", "dblclick", "mouseover", "mouseout", "mousemove", "mousedown", "mouseup", "contextmenu" ], + eventFilters = { "mouseout": "mouseleave", "mouseexit": "mouseleave" }, + _updateAttachedElements = function (component, state, timestamp, sourceElement) { + var affectedElements = component.getAttachedElements(); + if (affectedElements) { + for (var i = 0, j = affectedElements.length; i < j; i++) { + if (!sourceElement || sourceElement !== affectedElements[i]) { + affectedElements[i].setHover(state, true, timestamp); // tell the attached elements not to inform their own attached elements. + } + } + } + }, + _splitType = function (t) { + return t == null ? null : t.split(" "); + }, + _mapType = function(map, obj, typeId) { + for (var i in obj) { + map[i] = typeId; + } + }, + _each = function(fn, obj) { + obj = _ju.isArray(obj) || (obj.length != null && !_ju.isString(obj)) ? obj : [ obj ]; + for (var i = 0; i < obj.length; i++) { + try { + fn.apply(obj[i], [ obj[i] ]); + } + catch (e) { + _ju.log(".each iteration failed : " + e); + } + } + }, + _applyTypes = function (component, params, doNotRepaint) { + if (component.getDefaultType) { + var td = component.getTypeDescriptor(), map = {}; + var defType = component.getDefaultType(); + var o = _ju.merge({}, defType); + _mapType(map, defType, "__default"); + for (var i = 0, j = component._jsPlumb.types.length; i < j; i++) { + var tid = component._jsPlumb.types[i]; + if (tid !== "__default") { + var _t = component._jsPlumb.instance.getType(tid, td); + if (_t != null) { + + var overrides = ["anchor", "anchors", "connector", "paintStyle", "hoverPaintStyle", "endpoint", "endpoints", "connectorOverlays", "connectorStyle", "connectorHoverStyle", "endpointStyle", "endpointHoverStyle"]; + var collations = [ ]; + + if (_t.mergeStrategy === "override") { + Array.prototype.push.apply(overrides, ["events", "overlays", "cssClass"]); + } else { + collations.push("cssClass"); + } + + o = _ju.merge(o, _t, collations, overrides); + _mapType(map, _t, tid); + } + } + } + + if (params) { + o = _ju.populate(o, params, "_"); + } + + component.applyType(o, doNotRepaint, map); + if (!doNotRepaint) { + component.repaint(); + } + } + }, + +// ------------------------------ BEGIN jsPlumbUIComponent -------------------------------------------- + + jsPlumbUIComponent = root.jsPlumbUIComponent = function (params) { + + _ju.EventGenerator.apply(this, arguments); + + var self = this, + a = arguments, + idPrefix = self.idPrefix, + id = idPrefix + (new Date()).getTime(); + + this._jsPlumb = { + instance: params._jsPlumb, + parameters: params.parameters || {}, + paintStyle: null, + hoverPaintStyle: null, + paintStyleInUse: null, + hover: false, + beforeDetach: params.beforeDetach, + beforeDrop: params.beforeDrop, + overlayPlacements: [], + hoverClass: params.hoverClass || params._jsPlumb.Defaults.HoverClass, + types: [], + typeCache:{} + }; + + this.cacheTypeItem = function(key, item, typeId) { + this._jsPlumb.typeCache[typeId] = this._jsPlumb.typeCache[typeId] || {}; + this._jsPlumb.typeCache[typeId][key] = item; + }; + this.getCachedTypeItem = function(key, typeId) { + return this._jsPlumb.typeCache[typeId] ? this._jsPlumb.typeCache[typeId][key] : null; + }; + + this.getId = function () { + return id; + }; + +// ----------------------------- default type -------------------------------------------- + + + var o = params.overlays || [], oo = {}; + if (this.defaultOverlayKeys) { + for (var i = 0; i < this.defaultOverlayKeys.length; i++) { + Array.prototype.push.apply(o, this._jsPlumb.instance.Defaults[this.defaultOverlayKeys[i]] || []); + } + + for (i = 0; i < o.length; i++) { + // if a string, convert to object representation so that we can store the typeid on it. + // also assign an id. + var fo = jsPlumb.convertToFullOverlaySpec(o[i]); + oo[fo[1].id] = fo; + } + } + + var _defaultType = { + overlays:oo, + parameters: params.parameters || {}, + scope: params.scope || this._jsPlumb.instance.getDefaultScope() + }; + this.getDefaultType = function() { + return _defaultType; + }; + this.appendToDefaultType = function(obj) { + for (var i in obj) { + _defaultType[i] = obj[i]; + } + }; + +// ----------------------------- end default type -------------------------------------------- + + // all components can generate events + + if (params.events) { + for (var evtName in params.events) { + self.bind(evtName, params.events[evtName]); + } + } + + // all components get this clone function. + // TODO issue 116 showed a problem with this - it seems 'a' that is in + // the clone function's scope is shared by all invocations of it, the classic + // JS closure problem. for now, jsPlumb does a version of this inline where + // it used to call clone. but it would be nice to find some time to look + // further at this. + this.clone = function () { + var o = Object.create(this.constructor.prototype); + this.constructor.apply(o, a); + return o; + }.bind(this); + + // user can supply a beforeDetach callback, which will be executed before a detach + // is performed; returning false prevents the detach. + this.isDetachAllowed = function (connection) { + var r = true; + if (this._jsPlumb.beforeDetach) { + try { + r = this._jsPlumb.beforeDetach(connection); + } + catch (e) { + _ju.log("jsPlumb: beforeDetach callback failed", e); + } + } + return r; + }; + + // user can supply a beforeDrop callback, which will be executed before a dropped + // connection is confirmed. user can return false to reject connection. + this.isDropAllowed = function (sourceId, targetId, scope, connection, dropEndpoint, source, target) { + var r = this._jsPlumb.instance.checkCondition("beforeDrop", { + sourceId: sourceId, + targetId: targetId, + scope: scope, + connection: connection, + dropEndpoint: dropEndpoint, + source: source, target: target + }); + if (this._jsPlumb.beforeDrop) { + try { + r = this._jsPlumb.beforeDrop({ + sourceId: sourceId, + targetId: targetId, + scope: scope, + connection: connection, + dropEndpoint: dropEndpoint, + source: source, target: target + }); + } + catch (e) { + _ju.log("jsPlumb: beforeDrop callback failed", e); + } + } + return r; + }; + + var domListeners = []; + + // sets the component associated with listener events. for instance, an overlay delegates + // its events back to a connector. but if the connector is swapped on the underlying connection, + // then this component must be changed. This is called by setConnector in the Connection class. + this.setListenerComponent = function (c) { + for (var i = 0; i < domListeners.length; i++) { + domListeners[i][3] = c; + } + }; + + + }; + + var _removeTypeCssHelper = function (component, typeIndex) { + var typeId = component._jsPlumb.types[typeIndex], + type = component._jsPlumb.instance.getType(typeId, component.getTypeDescriptor()); + + if (type != null && type.cssClass && component.canvas) { + component._jsPlumb.instance.removeClass(component.canvas, type.cssClass); + } + }; + + _ju.extend(root.jsPlumbUIComponent, _ju.EventGenerator, { + + getParameter: function (name) { + return this._jsPlumb.parameters[name]; + }, + + setParameter: function (name, value) { + this._jsPlumb.parameters[name] = value; + }, + + getParameters: function () { + return this._jsPlumb.parameters; + }, + + setParameters: function (p) { + this._jsPlumb.parameters = p; + }, + + getClass:function() { + return jsPlumb.getClass(this.canvas); + }, + + hasClass:function(clazz) { + return jsPlumb.hasClass(this.canvas, clazz); + }, + + addClass: function (clazz) { + jsPlumb.addClass(this.canvas, clazz); + }, + + removeClass: function (clazz) { + jsPlumb.removeClass(this.canvas, clazz); + }, + + updateClasses: function (classesToAdd, classesToRemove) { + jsPlumb.updateClasses(this.canvas, classesToAdd, classesToRemove); + }, + + setType: function (typeId, params, doNotRepaint) { + this.clearTypes(); + this._jsPlumb.types = _splitType(typeId) || []; + _applyTypes(this, params, doNotRepaint); + }, + + getType: function () { + return this._jsPlumb.types; + }, + + reapplyTypes: function (params, doNotRepaint) { + _applyTypes(this, params, doNotRepaint); + }, + + hasType: function (typeId) { + return this._jsPlumb.types.indexOf(typeId) !== -1; + }, + + addType: function (typeId, params, doNotRepaint) { + var t = _splitType(typeId), _cont = false; + if (t != null) { + for (var i = 0, j = t.length; i < j; i++) { + if (!this.hasType(t[i])) { + this._jsPlumb.types.push(t[i]); + _cont = true; + } + } + if (_cont) { + _applyTypes(this, params, doNotRepaint); + } + } + }, + + removeType: function (typeId, params, doNotRepaint) { + var t = _splitType(typeId), _cont = false, _one = function (tt) { + var idx = this._jsPlumb.types.indexOf(tt); + if (idx !== -1) { + // remove css class if necessary + _removeTypeCssHelper(this, idx); + this._jsPlumb.types.splice(idx, 1); + return true; + } + return false; + }.bind(this); + + if (t != null) { + for (var i = 0, j = t.length; i < j; i++) { + _cont = _one(t[i]) || _cont; + } + if (_cont) { + _applyTypes(this, params, doNotRepaint); + } + } + }, + clearTypes: function (params, doNotRepaint) { + var i = this._jsPlumb.types.length; + for (var j = 0; j < i; j++) { + _removeTypeCssHelper(this, 0); + this._jsPlumb.types.splice(0, 1); + } + _applyTypes(this, params, doNotRepaint); + }, + + toggleType: function (typeId, params, doNotRepaint) { + var t = _splitType(typeId); + if (t != null) { + for (var i = 0, j = t.length; i < j; i++) { + var idx = this._jsPlumb.types.indexOf(t[i]); + if (idx !== -1) { + _removeTypeCssHelper(this, idx); + this._jsPlumb.types.splice(idx, 1); + } + else { + this._jsPlumb.types.push(t[i]); + } + } + + _applyTypes(this, params, doNotRepaint); + } + }, + applyType: function (t, doNotRepaint) { + this.setPaintStyle(t.paintStyle, doNotRepaint); + this.setHoverPaintStyle(t.hoverPaintStyle, doNotRepaint); + if (t.parameters) { + for (var i in t.parameters) { + this.setParameter(i, t.parameters[i]); + } + } + this._jsPlumb.paintStyleInUse = this.getPaintStyle(); + }, + setPaintStyle: function (style, doNotRepaint) { + // this._jsPlumb.paintStyle = jsPlumb.extend({}, style); + // TODO figure out if we want components to clone paintStyle so as not to share it. + this._jsPlumb.paintStyle = style; + this._jsPlumb.paintStyleInUse = this._jsPlumb.paintStyle; + _updateHoverStyle(this); + if (!doNotRepaint) { + this.repaint(); + } + }, + getPaintStyle: function () { + return this._jsPlumb.paintStyle; + }, + setHoverPaintStyle: function (style, doNotRepaint) { + //this._jsPlumb.hoverPaintStyle = jsPlumb.extend({}, style); + // TODO figure out if we want components to clone paintStyle so as not to share it. + this._jsPlumb.hoverPaintStyle = style; + _updateHoverStyle(this); + if (!doNotRepaint) { + this.repaint(); + } + }, + getHoverPaintStyle: function () { + return this._jsPlumb.hoverPaintStyle; + }, + destroy: function (force) { + if (force || this.typeId == null) { + this.cleanupListeners(); // this is on EventGenerator + this.clone = null; + this._jsPlumb = null; + } + }, + + isHover: function () { + return this._jsPlumb.hover; + }, + + setHover: function (hover, ignoreAttachedElements, timestamp) { + // while dragging, we ignore these events. this keeps the UI from flashing and + // swishing and whatevering. + if (this._jsPlumb && !this._jsPlumb.instance.currentlyDragging && !this._jsPlumb.instance.isHoverSuspended()) { + + this._jsPlumb.hover = hover; + var method = hover ? "addClass" : "removeClass"; + + if (this.canvas != null) { + if (this._jsPlumb.instance.hoverClass != null) { + this._jsPlumb.instance[method](this.canvas, this._jsPlumb.instance.hoverClass); + } + if (this._jsPlumb.hoverClass != null) { + this._jsPlumb.instance[method](this.canvas, this._jsPlumb.hoverClass); + } + } + if (this._jsPlumb.hoverPaintStyle != null) { + this._jsPlumb.paintStyleInUse = hover ? this._jsPlumb.hoverPaintStyle : this._jsPlumb.paintStyle; + if (!this._jsPlumb.instance.isSuspendDrawing()) { + timestamp = timestamp || _timestamp(); + this.repaint({timestamp: timestamp, recalc: false}); + } + } + // get the list of other affected elements, if supported by this component. + // for a connection, its the endpoints. for an endpoint, its the connections! surprise. + if (this.getAttachedElements && !ignoreAttachedElements) { + _updateAttachedElements(this, hover, _timestamp(), this); + } + } + } + }); + +// ------------------------------ END jsPlumbUIComponent -------------------------------------------- + + var _jsPlumbInstanceIndex = 0, + getInstanceIndex = function () { + var i = _jsPlumbInstanceIndex + 1; + _jsPlumbInstanceIndex++; + return i; + }; + + var jsPlumbInstance = root.jsPlumbInstance = function (_defaults) { + + this.version = "2.13.2"; + + this.Defaults = { + Anchor: "Bottom", + Anchors: [ null, null ], + ConnectionsDetachable: true, + ConnectionOverlays: [ ], + Connector: "Bezier", + Container: null, + DoNotThrowErrors: false, + DragOptions: { }, + DropOptions: { }, + Endpoint: "Dot", + EndpointOverlays: [ ], + Endpoints: [ null, null ], + EndpointStyle: { fill: "#456" }, + EndpointStyles: [ null, null ], + EndpointHoverStyle: null, + EndpointHoverStyles: [ null, null ], + HoverPaintStyle: null, + LabelStyle: { color: "black" }, + ListStyle: { }, + LogEnabled: false, + Overlays: [ ], + MaxConnections: 1, + PaintStyle: { "stroke-width": 4, stroke: "#456" }, + ReattachConnections: false, + RenderMode: "svg", + Scope: "jsPlumb_DefaultScope" + }; + + if (_defaults) { + jsPlumb.extend(this.Defaults, _defaults); + } + + this.logEnabled = this.Defaults.LogEnabled; + this._connectionTypes = {}; + this._endpointTypes = {}; + + _ju.EventGenerator.apply(this); + + var _currentInstance = this, + _instanceIndex = getInstanceIndex(), + _bb = _currentInstance.bind, + _initialDefaults = {}, + _zoom = 1, + _info = function (el) { + if (el == null) { + return null; + } + else if (el.nodeType === 3 || el.nodeType === 8) { + return { el:el, text:true }; + } + else { + var _el = _currentInstance.getElement(el); + return { el: _el, id: (_ju.isString(el) && _el == null) ? el : _getId(_el) }; + } + }; + + this.getInstanceIndex = function () { + return _instanceIndex; + }; + + // CONVERTED + this.setZoom = function (z, repaintEverything) { + _zoom = z; + _currentInstance.fire("zoom", _zoom); + if (repaintEverything) { + _currentInstance.repaintEverything(); + } + return true; + }; + // CONVERTED + this.getZoom = function () { + return _zoom; + }; + + for (var i in this.Defaults) { + _initialDefaults[i] = this.Defaults[i]; + } + + var _container, _containerDelegations = []; + this.unbindContainer = function() { + if (_container != null && _containerDelegations.length > 0) { + for (var i = 0; i < _containerDelegations.length; i++) { + _currentInstance.off(_container, _containerDelegations[i][0], _containerDelegations[i][1]); + } + } + }; + this.setContainer = function (c) { + + this.unbindContainer(); + + // get container as dom element. + c = this.getElement(c); + // move existing connections and endpoints, if any. + this.select().each(function (conn) { + conn.moveParent(c); + }); + this.selectEndpoints().each(function (ep) { + ep.moveParent(c); + }); + + // set container. + var previousContainer = _container; + _container = c; + _containerDelegations.length = 0; + var eventAliases = { + "endpointclick":"endpointClick", + "endpointdblclick":"endpointDblClick" + }; + + var _oneDelegateHandler = function (id, e, componentType) { + var t = e.srcElement || e.target, + jp = (t && t.parentNode ? t.parentNode._jsPlumb : null) || (t ? t._jsPlumb : null) || (t && t.parentNode && t.parentNode.parentNode ? t.parentNode.parentNode._jsPlumb : null); + if (jp) { + jp.fire(id, jp, e); + var alias = componentType ? eventAliases[componentType + id] || id : id; + // jsplumb also fires every event coming from components/overlays. That's what the test for `jp.component` is for. + _currentInstance.fire(alias, jp.component || jp, e); + } + }; + + var _addOneDelegate = function(eventId, selector, fn) { + _containerDelegations.push([eventId, fn]); + _currentInstance.on(_container, eventId, selector, fn); + }; + + // delegate one event on the container to jsplumb elements. it might be possible to + // abstract this out: each of endpoint, connection and overlay could register themselves with + // jsplumb as "component types" or whatever, and provide a suitable selector. this would be + // done by the renderer (although admittedly from 2.0 onwards we're not supporting vml anymore) + var _oneDelegate = function (id) { + // connections. + _addOneDelegate(id, ".jtk-connector", function (e) { + _oneDelegateHandler(id, e); + }); + // endpoints. note they can have an enclosing div, or not. + _addOneDelegate(id, ".jtk-endpoint", function (e) { + _oneDelegateHandler(id, e, "endpoint"); + }); + // overlays + _addOneDelegate(id, ".jtk-overlay", function (e) { + _oneDelegateHandler(id, e); + }); + }; + + for (var i = 0; i < events.length; i++) { + _oneDelegate(events[i]); + } + + // managed elements + for (var elId in managedElements) { + var el = managedElements[elId].el; + if (el.parentNode === previousContainer) { + previousContainer.removeChild(el); + _container.appendChild(el); + } + } + + }; + this.getContainer = function () { + return _container; + }; + + this.bind = function (event, fn) { + if ("ready" === event && initialized) { + fn(); + } + else { + _bb.apply(_currentInstance, [event, fn]); + } + }; + + _currentInstance.importDefaults = function (d) { + for (var i in d) { + _currentInstance.Defaults[i] = d[i]; + } + if (d.Container) { + _currentInstance.setContainer(d.Container); + } + + return _currentInstance; + }; + + _currentInstance.restoreDefaults = function () { + _currentInstance.Defaults = jsPlumb.extend({}, _initialDefaults); + return _currentInstance; + }; + + var log = null, + initialized = false, + // TODO remove from window scope + connections = [], + // map of element id -> endpoint lists. an element can have an arbitrary + // number of endpoints on it, and not all of them have to be connected + // to anything. + endpointsByElement = {}, + endpointsByUUID = {}, + managedElements = {}, + offsets = {}, + offsetTimestamps = {}, + draggableStates = {}, + connectionBeingDragged = false, + sizes = [], + _suspendDrawing = false, + _suspendedAt = null, + DEFAULT_SCOPE = this.Defaults.Scope, + _curIdStamp = 1, + _idstamp = function () { + return "" + _curIdStamp++; + }, + + // + // appends an element to some other element, which is calculated as follows: + // + // 1. if Container exists, use that element. + // 2. if the 'parent' parameter exists, use that. + // 3. otherwise just use the root element. + // + // + _appendElement = function (el, parent) { + if (_container) { + _container.appendChild(el); + } + else if (!parent) { + this.appendToRoot(el); + } + else { + this.getElement(parent).appendChild(el); + } + }.bind(this), + + // + // Draws an endpoint and its connections. this is the main entry point into drawing connections as well + // as endpoints, since jsPlumb is endpoint-centric under the hood. + // + // @param element element to draw (of type library specific element object) + // @param ui UI object from current library's event system. optional. + // @param timestamp timestamp for this paint cycle. used to speed things up a little by cutting down the amount of offset calculations we do. + // @param clearEdits defaults to false; indicates that mouse edits for connectors should be cleared + /// + _draw = function (element, ui, timestamp, clearEdits) { + + if (!_suspendDrawing) { + + element = _currentInstance.getElement(element); + + if (element != null) { + + var id = _getId(element), + repaintEls = element.querySelectorAll(".jtk-managed"); + + if (timestamp == null) { + timestamp = _timestamp(); + } + + // update the offset of everything _before_ we try to draw anything. + var o = _updateOffset({elId: id, offset: ui, recalc: false, timestamp: timestamp}); + + for (var i = 0; i < repaintEls.length; i++) { + _updateOffset({ + elId: repaintEls[i].getAttribute("id"), + // offset: { + // left: o.o.left + repaintEls[i].offset.left, + // top: o.o.top + repaintEls[i].offset.top + // }, + recalc: true, + timestamp: timestamp + }); + } + + _currentInstance.anchorManager.redraw(id, ui, timestamp, null, clearEdits); + + if (repaintEls) { + for (var j = 0; j < repaintEls.length; j++) { + _currentInstance.anchorManager.redraw(repaintEls[j].getAttribute("id"), null, timestamp, null, clearEdits, true); + } + } + } + } + }, + + // + // gets an Endpoint by uuid. + // + _getEndpoint = function (uuid) { + return endpointsByUUID[uuid]; + }, + + /** + * inits a draggable if it's not already initialised. + * TODO: somehow abstract this to the adapter, because the concept of "draggable" has no + * place on the server. + */ + + + _scopeMatch = function (e1, e2) { + var s1 = e1.scope.split(/\s/), s2 = e2.scope.split(/\s/); + for (var i = 0; i < s1.length; i++) { + for (var j = 0; j < s2.length; j++) { + if (s2[j] === s1[i]) { + return true; + } + } + } + + return false; + }, + + _mergeOverrides = function (def, values) { + var m = jsPlumb.extend({}, def); + for (var i in values) { + if (values[i]) { + m[i] = values[i]; + } + } + return m; + }, + + /* + * prepares a final params object that can be passed to _newConnection, taking into account defaults, events, etc. + */ + _prepareConnectionParams = function (params, referenceParams) { + var _p = jsPlumb.extend({ }, params); + if (referenceParams) { + jsPlumb.extend(_p, referenceParams); + } + + // hotwire endpoints passed as source or target to sourceEndpoint/targetEndpoint, respectively. + if (_p.source) { + if (_p.source.endpoint) { + _p.sourceEndpoint = _p.source; + } + else { + _p.source = _currentInstance.getElement(_p.source); + } + } + if (_p.target) { + if (_p.target.endpoint) { + _p.targetEndpoint = _p.target; + } + else { + _p.target = _currentInstance.getElement(_p.target); + } + } + + // test for endpoint uuids to connect + if (params.uuids) { + _p.sourceEndpoint = _getEndpoint(params.uuids[0]); + _p.targetEndpoint = _getEndpoint(params.uuids[1]); + } + + // now ensure that if we do have Endpoints already, they're not full. + // source: + if (_p.sourceEndpoint && _p.sourceEndpoint.isFull()) { + _ju.log(_currentInstance, "could not add connection; source endpoint is full"); + return; + } + + // target: + if (_p.targetEndpoint && _p.targetEndpoint.isFull()) { + _ju.log(_currentInstance, "could not add connection; target endpoint is full"); + return; + } + + // if source endpoint mandates connection type and nothing specified in our params, use it. + if (!_p.type && _p.sourceEndpoint) { + _p.type = _p.sourceEndpoint.connectionType; + } + + // copy in any connectorOverlays that were specified on the source endpoint. + // it doesnt copy target endpoint overlays. i'm not sure if we want it to or not. + if (_p.sourceEndpoint && _p.sourceEndpoint.connectorOverlays) { + _p.overlays = _p.overlays || []; + for (var i = 0, j = _p.sourceEndpoint.connectorOverlays.length; i < j; i++) { + _p.overlays.push(_p.sourceEndpoint.connectorOverlays[i]); + } + } + + // scope + if (_p.sourceEndpoint && _p.sourceEndpoint.scope) { + _p.scope = _p.sourceEndpoint.scope; + } + + // pointer events + if (!_p["pointer-events"] && _p.sourceEndpoint && _p.sourceEndpoint.connectorPointerEvents) { + _p["pointer-events"] = _p.sourceEndpoint.connectorPointerEvents; + } + + + var _addEndpoint = function (el, def, idx) { + var params = _mergeOverrides(def, { + anchor: _p.anchors ? _p.anchors[idx] : _p.anchor, + endpoint: _p.endpoints ? _p.endpoints[idx] : _p.endpoint, + paintStyle: _p.endpointStyles ? _p.endpointStyles[idx] : _p.endpointStyle, + hoverPaintStyle: _p.endpointHoverStyles ? _p.endpointHoverStyles[idx] : _p.endpointHoverStyle + }); + return _currentInstance.addEndpoint(el, params); + }; + + // check for makeSource/makeTarget specs. + + var _oneElementDef = function (type, idx, defs, matchType) { + if (_p[type] && !_p[type].endpoint && !_p[type + "Endpoint"] && !_p.newConnection) { + var tid = _getId(_p[type]), tep = defs[tid]; + + tep = tep ? tep[matchType] : null; + + if (tep) { + // if not enabled, return. + if (!tep.enabled) { + return false; + } + + var epDef = jsPlumb.extend({}, tep.def); + delete epDef.label; + + var newEndpoint = tep.endpoint != null && tep.endpoint._jsPlumb ? tep.endpoint : _addEndpoint(_p[type], epDef, idx); + if (newEndpoint.isFull()) { + return false; + } + _p[type + "Endpoint"] = newEndpoint; + if (!_p.scope && epDef.scope) { + _p.scope = epDef.scope; + } // provide scope if not already provided and endpoint def has one. + if (tep.uniqueEndpoint) { + if (!tep.endpoint) { + tep.endpoint = newEndpoint; + newEndpoint.setDeleteOnEmpty(false); + } + else { + newEndpoint.finalEndpoint = tep.endpoint; + } + } else { + newEndpoint.setDeleteOnEmpty(true); + } + + // + // copy in connector overlays if present on the source definition. + // + if (idx === 0 && tep.def.connectorOverlays) { + _p.overlays = _p.overlays || []; + Array.prototype.push.apply(_p.overlays, tep.def.connectorOverlays); + } + } + } + }; + + if (_oneElementDef("source", 0, this.sourceEndpointDefinitions, _p.type || "default") === false) { + return; + } + if (_oneElementDef("target", 1, this.targetEndpointDefinitions, _p.type || "default") === false) { + return; + } + + // last, ensure scopes match + if (_p.sourceEndpoint && _p.targetEndpoint) { + if (!_scopeMatch(_p.sourceEndpoint, _p.targetEndpoint)) { + _p = null; + } + } + + return _p; + }.bind(_currentInstance), + + _newConnection = function (params) { + var connectionFunc = _currentInstance.Defaults.ConnectionType || _currentInstance.getDefaultConnectionType(); + + params._jsPlumb = _currentInstance; + params.newConnection = _newConnection; + params.newEndpoint = _newEndpoint; + params.endpointsByUUID = endpointsByUUID; + params.endpointsByElement = endpointsByElement; + params.finaliseConnection = _finaliseConnection; + params.id = "con_" + _idstamp(); + var con = new connectionFunc(params); + + // if the connection is draggable, then maybe we need to tell the target endpoint to init the + // dragging code. it won't run again if it already configured to be draggable. + if (con.isDetachable()) { + con.endpoints[0].initDraggable("_jsPlumbSource"); + con.endpoints[1].initDraggable("_jsPlumbTarget"); + } + + return con; + }, + + // + // adds the connection to the backing model, fires an event if necessary and then redraws + // + _finaliseConnection = _currentInstance.finaliseConnection = function (jpc, params, originalEvent, doInformAnchorManager) { + params = params || {}; + // add to list of connections (by scope). + if (!jpc.suspendedEndpoint) { + connections.push(jpc); + } + + jpc.pending = null; + + // turn off isTemporarySource on the source endpoint (only viable on first draw) + jpc.endpoints[0].isTemporarySource = false; + + // always inform the anchor manager + // except that if jpc has a suspended endpoint it's not true to say the + // connection is new; it has just (possibly) moved. the question is whether + // to make that call here or in the anchor manager. i think perhaps here. + if (doInformAnchorManager !== false) { + _currentInstance.anchorManager.newConnection(jpc); + } + + // force a paint + _draw(jpc.source); + + // fire an event + if (!params.doNotFireConnectionEvent && params.fireEvent !== false) { + + var eventArgs = { + connection: jpc, + source: jpc.source, target: jpc.target, + sourceId: jpc.sourceId, targetId: jpc.targetId, + sourceEndpoint: jpc.endpoints[0], targetEndpoint: jpc.endpoints[1] + }; + + _currentInstance.fire("connection", eventArgs, originalEvent); + } + }, + + /* + factory method to prepare a new endpoint. this should always be used instead of creating Endpoints + manually, since this method attaches event listeners and an id. + */ + _newEndpoint = function (params, id) { + var endpointFunc = _currentInstance.Defaults.EndpointType || jsPlumb.Endpoint; + var _p = jsPlumb.extend({}, params); + //delete _p.label; // not supported by endpoint. + _p._jsPlumb = _currentInstance; + _p.newConnection = _newConnection; + _p.newEndpoint = _newEndpoint; + _p.endpointsByUUID = endpointsByUUID; + _p.endpointsByElement = endpointsByElement; + _p.fireDetachEvent = fireDetachEvent; + _p.elementId = id || _getId(_p.source); + var ep = new endpointFunc(_p); + ep.id = "ep_" + _idstamp(); + _manage(_p.elementId, _p.source); + + if (!jsPlumb.headless) { + _currentInstance.getDragManager().endpointAdded(_p.source, id); + } + + return ep; + }, + + /* + * performs the given function operation on all the connections found + * for the given element id; this means we find all the endpoints for + * the given element, and then for each endpoint find the connectors + * connected to it. then we pass each connection in to the given + * function. + */ + _operation = function (elId, func, endpointFunc) { + var endpoints = endpointsByElement[elId]; + if (endpoints && endpoints.length) { + for (var i = 0, ii = endpoints.length; i < ii; i++) { + for (var j = 0, jj = endpoints[i].connections.length; j < jj; j++) { + var retVal = func(endpoints[i].connections[j]); + // if the function passed in returns true, we exit. + // most functions return false. + if (retVal) { + return; + } + } + if (endpointFunc) { + endpointFunc(endpoints[i]); + } + } + } + }, + + _setDraggable = function (element, draggable) { + return jsPlumb.each(element, function (el) { + if (_currentInstance.isDragSupported(el)) { + draggableStates[_currentInstance.getAttribute(el, "id")] = draggable; + _currentInstance.setElementDraggable(el, draggable); + } + }); + }, + /* + * private method to do the business of hiding/showing. + * + * @param el + * either Id of the element in question or a library specific + * object for the element. + * @param state + * String specifying a value for the css 'display' property + * ('block' or 'none'). + */ + _setVisible = function (el, state, alsoChangeEndpoints) { + state = state === "block"; + var endpointFunc = null; + if (alsoChangeEndpoints) { + endpointFunc = function (ep) { + ep.setVisible(state, true, true); + }; + } + var info = _info(el); + _operation(info.id, function (jpc) { + if (state && alsoChangeEndpoints) { + // this test is necessary because this functionality is new, and i wanted to maintain backwards compatibility. + // this block will only set a connection to be visible if the other endpoint in the connection is also visible. + var oidx = jpc.sourceId === info.id ? 1 : 0; + if (jpc.endpoints[oidx].isVisible()) { + jpc.setVisible(true); + } + } + else { // the default behaviour for show, and what always happens for hide, is to just set the visibility without getting clever. + jpc.setVisible(state); + } + }, endpointFunc); + }, + /** + * private method to do the business of toggling hiding/showing. + */ + _toggleVisible = function (elId, changeEndpoints) { + var endpointFunc = null; + if (changeEndpoints) { + endpointFunc = function (ep) { + var state = ep.isVisible(); + ep.setVisible(!state); + }; + } + _operation(elId, function (jpc) { + var state = jpc.isVisible(); + jpc.setVisible(!state); + }, endpointFunc); + }, + + // TODO comparison performance + _getCachedData = function (elId) { + var o = offsets[elId]; + if (!o) { + return _updateOffset({elId: elId}); + } + else { + return {o: o, s: sizes[elId]}; + } + }, + + /** + * gets an id for the given element, creating and setting one if + * necessary. the id is of the form + * + * jsPlumb__ + * + * where "index in instance" is a monotonically increasing integer that starts at 0, + * for each instance. this method is used not only to assign ids to elements that do not + * have them but also to connections and endpoints. + */ + _getId = function (element, uuid, doNotCreateIfNotFound) { + if (_ju.isString(element)) { + return element; + } + if (element == null) { + return null; + } + var id = _currentInstance.getAttribute(element, "id"); + if (!id || id === "undefined") { + // check if fixed uuid parameter is given + if (arguments.length === 2 && arguments[1] !== undefined) { + id = uuid; + } + else if (arguments.length === 1 || (arguments.length === 3 && !arguments[2])) { + id = "jsPlumb_" + _instanceIndex + "_" + _idstamp(); + } + + if (!doNotCreateIfNotFound) { + _currentInstance.setAttribute(element, "id", id); + } + } + return id; + }; + + this.setConnectionBeingDragged = function (v) { + connectionBeingDragged = v; + }; + this.isConnectionBeingDragged = function () { + return connectionBeingDragged; + }; + + /** + * Returns a map of all the elements this jsPlumbInstance is currently managing. + * @returns {Object} Map of [id-> {el, endpoint[], connection, position}] information. + */ + this.getManagedElements = function() { + return managedElements; + }; + + this.connectorClass = "jtk-connector"; + this.connectorOutlineClass = "jtk-connector-outline"; + this.connectedClass = "jtk-connected"; + this.hoverClass = "jtk-hover"; + this.endpointClass = "jtk-endpoint"; + this.endpointConnectedClass = "jtk-endpoint-connected"; + this.endpointFullClass = "jtk-endpoint-full"; + this.endpointDropAllowedClass = "jtk-endpoint-drop-allowed"; + this.endpointDropForbiddenClass = "jtk-endpoint-drop-forbidden"; + this.overlayClass = "jtk-overlay"; + this.draggingClass = "jtk-dragging";// CONVERTED + this.elementDraggingClass = "jtk-element-dragging";// CONVERTED + this.sourceElementDraggingClass = "jtk-source-element-dragging"; // CONVERTED + this.targetElementDraggingClass = "jtk-target-element-dragging";// CONVERTED + this.endpointAnchorClassPrefix = "jtk-endpoint-anchor"; + this.hoverSourceClass = "jtk-source-hover"; + this.hoverTargetClass = "jtk-target-hover"; + this.dragSelectClass = "jtk-drag-select"; + + this.Anchors = {}; + this.Connectors = { "svg": {} }; + this.Endpoints = { "svg": {} }; + this.Overlays = { "svg": {} } ; + this.ConnectorRenderers = {}; + this.SVG = "svg"; + +// --------------------------- jsPlumbInstance public API --------------------------------------------------------- + + + this.addEndpoint = function (el, params, referenceParams) { + referenceParams = referenceParams || {}; + var p = jsPlumb.extend({}, referenceParams); + jsPlumb.extend(p, params); + p.endpoint = p.endpoint || _currentInstance.Defaults.Endpoint; + p.paintStyle = p.paintStyle || _currentInstance.Defaults.EndpointStyle; + + var results = [], + inputs = (_ju.isArray(el) || (el.length != null && !_ju.isString(el))) ? el : [ el ]; + + for (var i = 0, j = inputs.length; i < j; i++) { + p.source = _currentInstance.getElement(inputs[i]); + _ensureContainer(p.source); + + var id = _getId(p.source), e = _newEndpoint(p, id); + + // ensure element is managed. force a recalc if drawing not suspended, to ensure the cached value is fresh + var myOffset = _manage(id, p.source, null, !_suspendDrawing).info.o; + _ju.addToList(endpointsByElement, id, e); + + if (!_suspendDrawing) { + e.paint({ + anchorLoc: e.anchor.compute({ xy: [ myOffset.left, myOffset.top ], wh: sizes[id], element: e, timestamp: _suspendedAt }), + timestamp: _suspendedAt + }); + } + + results.push(e); + } + + return results.length === 1 ? results[0] : results; + }; + + this.addEndpoints = function (el, endpoints, referenceParams) { + var results = []; + for (var i = 0, j = endpoints.length; i < j; i++) { + var e = _currentInstance.addEndpoint(el, endpoints[i], referenceParams); + if (_ju.isArray(e)) { + Array.prototype.push.apply(results, e); + } + else { + results.push(e); + } + } + return results; + }; + + this.animate = function (el, properties, options) { + if (!this.animationSupported) { + return false; + } + + options = options || {}; + var del = _currentInstance.getElement(el), + id = _getId(del), + stepFunction = jsPlumb.animEvents.step, + completeFunction = jsPlumb.animEvents.complete; + + options[stepFunction] = _ju.wrap(options[stepFunction], function () { + _currentInstance.revalidate(id); + }); + + // onComplete repaints, just to make sure everything looks good at the end of the animation. + options[completeFunction] = _ju.wrap(options[completeFunction], function () { + _currentInstance.revalidate(id); + }); + + _currentInstance.doAnimate(del, properties, options); + }; + + /** + * checks for a listener for the given condition, executing it if found, passing in the given value. + * condition listeners would have been attached using "bind" (which is, you could argue, now overloaded, since + * firing click events etc is a bit different to what this does). i thought about adding a "bindCondition" + * or something, but decided against it, for the sake of simplicity. jsPlumb will never fire one of these + * condition events anyway. + */ + this.checkCondition = function (conditionName, args) { + var l = _currentInstance.getListener(conditionName), + r = true; + + if (l && l.length > 0) { + var values = Array.prototype.slice.call(arguments, 1); + try { + for (var i = 0, j = l.length; i < j; i++) { + r = r && l[i].apply(l[i], values); + } + } + catch (e) { + _ju.log(_currentInstance, "cannot check condition [" + conditionName + "]" + e); + } + } + return r; + }; + + this.connect = function (params, referenceParams) { + // prepare a final set of parameters to create connection with + var _p = _prepareConnectionParams(params, referenceParams), jpc; + // TODO probably a nicer return value if the connection was not made. _prepareConnectionParams + // will return null (and log something) if either endpoint was full. what would be nicer is to + // create a dedicated 'error' object. + if (_p) { + if (_p.source == null && _p.sourceEndpoint == null) { + _ju.log("Cannot establish connection - source does not exist"); + return; + } + if (_p.target == null && _p.targetEndpoint == null) { + _ju.log("Cannot establish connection - target does not exist"); + return; + } + _ensureContainer(_p.source); + // create the connection. it is not yet registered + jpc = _newConnection(_p); + // now add it the model, fire an event, and redraw + _finaliseConnection(jpc, _p); + } + return jpc; + }; + + var stTypes = [ + { el: "source", elId: "sourceId", epDefs: "sourceEndpointDefinitions" }, + { el: "target", elId: "targetId", epDefs: "targetEndpointDefinitions" } + ]; + + var _set = function (c, el, idx, doNotRepaint) { + var ep, _st = stTypes[idx], cId = c[_st.elId], cEl = c[_st.el], sid, sep, + oldEndpoint = c.endpoints[idx]; + + var evtParams = { + index: idx, + originalSourceId: idx === 0 ? cId : c.sourceId, + newSourceId: c.sourceId, + originalTargetId: idx === 1 ? cId : c.targetId, + newTargetId: c.targetId, + connection: c + }; + + if (el.constructor === jsPlumb.Endpoint) { + ep = el; + ep.addConnection(c); + el = ep.element; + } + else { + sid = _getId(el); + sep = this[_st.epDefs][sid]; + + if (sid === c[_st.elId]) { + ep = null; // dont change source/target if the element is already the one given. + } + else if (sep) { + for (var t in sep) { + if (!sep[t].enabled) { + return; + } + ep = sep[t].endpoint != null && sep[t].endpoint._jsPlumb ? sep[t].endpoint : this.addEndpoint(el, sep[t].def); + if (sep[t].uniqueEndpoint) { + sep[t].endpoint = ep; + } + ep.addConnection(c); + } + } + else { + ep = c.makeEndpoint(idx === 0, el, sid); + } + } + + if (ep != null) { + oldEndpoint.detachFromConnection(c); + c.endpoints[idx] = ep; + c[_st.el] = ep.element; + c[_st.elId] = ep.elementId; + evtParams[idx === 0 ? "newSourceId" : "newTargetId"] = ep.elementId; + + fireMoveEvent(evtParams); + + if (!doNotRepaint) { + c.repaint(); + } + } + + evtParams.element = el; + return evtParams; + + }.bind(this); + + this.setSource = function (connection, el, doNotRepaint) { + var p = _set(connection, el, 0, doNotRepaint); + this.anchorManager.sourceChanged(p.originalSourceId, p.newSourceId, connection, p.el); + }; + this.setTarget = function (connection, el, doNotRepaint) { + var p = _set(connection, el, 1, doNotRepaint); + this.anchorManager.updateOtherEndpoint(p.originalSourceId, p.originalTargetId, p.newTargetId, connection); + }; + + this.deleteEndpoint = function (object, dontUpdateHover, deleteAttachedObjects) { + var endpoint = (typeof object === "string") ? endpointsByUUID[object] : object; + if (endpoint) { + _currentInstance.deleteObject({ endpoint: endpoint, dontUpdateHover: dontUpdateHover, deleteAttachedObjects:deleteAttachedObjects }); + } + return _currentInstance; + }; + + this.deleteEveryEndpoint = function () { + var _is = _currentInstance.setSuspendDrawing(true); + for (var id in endpointsByElement) { + var endpoints = endpointsByElement[id]; + if (endpoints && endpoints.length) { + for (var i = 0, j = endpoints.length; i < j; i++) { + _currentInstance.deleteEndpoint(endpoints[i], true); + } + } + } + endpointsByElement = {}; + managedElements = {}; + endpointsByUUID = {}; + offsets = {}; + offsetTimestamps = {}; + _currentInstance.anchorManager.reset(); + var dm = _currentInstance.getDragManager(); + if (dm) { + dm.reset(); + } + if (!_is) { + _currentInstance.setSuspendDrawing(false); + } + return _currentInstance; + }; + + var fireDetachEvent = function (jpc, doFireEvent, originalEvent) { + // may have been given a connection, or in special cases, an object + var connType = _currentInstance.Defaults.ConnectionType || _currentInstance.getDefaultConnectionType(), + argIsConnection = jpc.constructor === connType, + params = argIsConnection ? { + connection: jpc, + source: jpc.source, target: jpc.target, + sourceId: jpc.sourceId, targetId: jpc.targetId, + sourceEndpoint: jpc.endpoints[0], targetEndpoint: jpc.endpoints[1] + } : jpc; + + if (doFireEvent) { + _currentInstance.fire("connectionDetached", params, originalEvent); + } + + // always fire this. used by internal jsplumb stuff. + _currentInstance.fire("internal.connectionDetached", params, originalEvent); + + _currentInstance.anchorManager.connectionDetached(params); + }; + + var fireMoveEvent = _currentInstance.fireMoveEvent = function (params, evt) { + _currentInstance.fire("connectionMoved", params, evt); + }; + + this.unregisterEndpoint = function (endpoint) { + if (endpoint._jsPlumb.uuid) { + endpointsByUUID[endpoint._jsPlumb.uuid] = null; + } + _currentInstance.anchorManager.deleteEndpoint(endpoint); + // TODO at least replace this with a removeWithFunction call. + for (var e in endpointsByElement) { + var endpoints = endpointsByElement[e]; + if (endpoints) { + var newEndpoints = []; + for (var i = 0, j = endpoints.length; i < j; i++) { + if (endpoints[i] !== endpoint) { + newEndpoints.push(endpoints[i]); + } + } + + endpointsByElement[e] = newEndpoints; + } + if (endpointsByElement[e].length < 1) { + delete endpointsByElement[e]; + } + } + }; + + var IS_DETACH_ALLOWED = "isDetachAllowed"; + var BEFORE_DETACH = "beforeDetach"; + var CHECK_CONDITION = "checkCondition"; + + /** + * Deletes a Connection. + * @method deleteConnection + * @param connection Connection to delete + * @param {Object} [params] Optional delete parameters + * @param {Boolean} [params.doNotFireEvent=false] If true, a connection detached event will not be fired. Otherwise one will. + * @param {Boolean} [params.force=false] If true, the connection will be deleted even if a beforeDetach interceptor tries to stop the deletion. + * @returns {Boolean} True if the connection was deleted, false otherwise. + */ + this.deleteConnection = function(connection, params) { + + if (connection != null) { + params = params || {}; + + if (params.force || _ju.functionChain(true, false, [ + [ connection.endpoints[0], IS_DETACH_ALLOWED, [ connection ] ], + [ connection.endpoints[1], IS_DETACH_ALLOWED, [ connection ] ], + [ connection, IS_DETACH_ALLOWED, [ connection ] ], + [ _currentInstance, CHECK_CONDITION, [ BEFORE_DETACH, connection ] ] + ])) { + + connection.setHover(false); + fireDetachEvent(connection, !connection.pending && params.fireEvent !== false, params.originalEvent); + + connection.endpoints[0].detachFromConnection(connection); + connection.endpoints[1].detachFromConnection(connection); + _ju.removeWithFunction(connections, function (_c) { + return connection.id === _c.id; + }); + + connection.cleanup(); + connection.destroy(); + return true; + } + } + return false; + }; + + /** + * Remove all Connections from all elements, but leaves Endpoints in place ((unless a connection is set to auto delete its Endpoints). + * @method deleteEveryConnection + * @param {Object} [params] optional params object for the call + * @param {Boolean} [params.fireEvent=true] Whether or not to fire detach events + * @param {Boolean} [params.forceDetach=false] If true, this call will ignore any `beforeDetach` interceptors. + * @returns {Number} The number of connections that were deleted. + */ + this.deleteEveryConnection = function (params) { + params = params || {}; + var count = connections.length, deletedCount = 0; + _currentInstance.batch(function () { + for (var i = 0; i < count; i++) { + deletedCount += _currentInstance.deleteConnection(connections[0], params) ? 1 : 0; + } + }); + return deletedCount; + }; + + /** + * Removes all an element's Connections. + * @method deleteConnectionsForElement + * @param {Object} el Either the id of the element, or a selector for the element. + * @param {Object} [params] Optional parameters. + * @param {Boolean} [params.fireEvent=true] Whether or not to fire the detach event. + * @param {Boolean} [params.forceDetach=false] If true, this call will ignore any `beforeDetach` interceptors. + * @return {jsPlumbInstance} The current jsPlumb instance. + */ + this.deleteConnectionsForElement = function (el, params) { + params = params || {}; + el = _currentInstance.getElement(el); + var id = _getId(el), endpoints = endpointsByElement[id]; + if (endpoints && endpoints.length) { + for (var i = 0, j = endpoints.length; i < j; i++) { + endpoints[i].deleteEveryConnection(params); + } + } + return _currentInstance; + }; + + /// not public. but of course its exposed. how to change this. + this.deleteObject = function (params) { + var result = { + endpoints: {}, + connections: {}, + endpointCount: 0, + connectionCount: 0 + }, + deleteAttachedObjects = params.deleteAttachedObjects !== false; + + var unravelConnection = function (connection) { + if (connection != null && result.connections[connection.id] == null) { + if (!params.dontUpdateHover && connection._jsPlumb != null) { + connection.setHover(false); + } + result.connections[connection.id] = connection; + result.connectionCount++; + } + }; + var unravelEndpoint = function (endpoint) { + if (endpoint != null && result.endpoints[endpoint.id] == null) { + if (!params.dontUpdateHover && endpoint._jsPlumb != null) { + endpoint.setHover(false); + } + result.endpoints[endpoint.id] = endpoint; + result.endpointCount++; + + if (deleteAttachedObjects) { + for (var i = 0; i < endpoint.connections.length; i++) { + var c = endpoint.connections[i]; + unravelConnection(c); + } + } + } + }; + + if (params.connection) { + unravelConnection(params.connection); + } + else { + unravelEndpoint(params.endpoint); + } + + // loop through connections + for (var i in result.connections) { + var c = result.connections[i]; + if (c._jsPlumb) { + _ju.removeWithFunction(connections, function (_c) { + return c.id === _c.id; + }); + + fireDetachEvent(c, params.fireEvent === false ? false : !c.pending, params.originalEvent); + var doNotCleanup = params.deleteAttachedObjects == null ? null : !params.deleteAttachedObjects; + + c.endpoints[0].detachFromConnection(c, null, doNotCleanup); + c.endpoints[1].detachFromConnection(c, null, doNotCleanup); + + c.cleanup(true); + c.destroy(true); + } + } + + // loop through endpoints + for (var j in result.endpoints) { + var e = result.endpoints[j]; + if (e._jsPlumb) { + _currentInstance.unregisterEndpoint(e); + // FIRE some endpoint deleted event? + e.cleanup(true); + e.destroy(true); + } + } + + return result; + }; + + + // helpers for select/selectEndpoints + var _setOperation = function (list, func, args, selector) { + for (var i = 0, j = list.length; i < j; i++) { + list[i][func].apply(list[i], args); + } + return selector(list); + }, + _getOperation = function (list, func, args) { + var out = []; + for (var i = 0, j = list.length; i < j; i++) { + out.push([ list[i][func].apply(list[i], args), list[i] ]); + } + return out; + }, + setter = function (list, func, selector) { + return function () { + return _setOperation(list, func, arguments, selector); + }; + }, + getter = function (list, func) { + return function () { + return _getOperation(list, func, arguments); + }; + }, + prepareList = function (input, doNotGetIds) { + var r = []; + if (input) { + if (typeof input === 'string') { + if (input === "*") { + return input; + } + r.push(input); + } + else { + if (doNotGetIds) { + r = input; + } + else { + if (input.length) { + for (var i = 0, j = input.length; i < j; i++) { + r.push(_info(input[i]).id); + } + } + else { + r.push(_info(input).id); + } + } + } + } + return r; + }, + filterList = function (list, value, missingIsFalse) { + if (list === "*") { + return true; + } + return list.length > 0 ? list.indexOf(value) !== -1 : !missingIsFalse; + }; + + // get some connections, specifying source/target/scope + this.getConnections = function (options, flat) { + if (!options) { + options = {}; + } else if (options.constructor === String) { + options = { "scope": options }; + } + var scope = options.scope || _currentInstance.getDefaultScope(), + scopes = prepareList(scope, true), + sources = prepareList(options.source), + targets = prepareList(options.target), + results = (!flat && scopes.length > 1) ? {} : [], + _addOne = function (scope, obj) { + if (!flat && scopes.length > 1) { + var ss = results[scope]; + if (ss == null) { + ss = results[scope] = []; + } + ss.push(obj); + } else { + results.push(obj); + } + }; + + for (var j = 0, jj = connections.length; j < jj; j++) { + var c = connections[j], + sourceId = c.proxies && c.proxies[0] ? c.proxies[0].originalEp.elementId : c.sourceId, + targetId = c.proxies && c.proxies[1] ? c.proxies[1].originalEp.elementId : c.targetId; + + if (filterList(scopes, c.scope) && filterList(sources, sourceId) && filterList(targets, targetId)) { + _addOne(c.scope, c); + } + } + + return results; + }; + + var _curryEach = function (list, executor) { + return function (f) { + for (var i = 0, ii = list.length; i < ii; i++) { + f(list[i]); + } + return executor(list); + }; + }, + _curryGet = function (list) { + return function (idx) { + return list[idx]; + }; + }; + + var _makeCommonSelectHandler = function (list, executor) { + var out = { + length: list.length, + each: _curryEach(list, executor), + get: _curryGet(list) + }, + setters = ["setHover", "removeAllOverlays", "setLabel", "addClass", "addOverlay", "removeOverlay", + "removeOverlays", "showOverlay", "hideOverlay", "showOverlays", "hideOverlays", "setPaintStyle", + "setHoverPaintStyle", "setSuspendEvents", "setParameter", "setParameters", "setVisible", + "repaint", "addType", "toggleType", "removeType", "removeClass", "setType", "bind", "unbind" ], + + getters = ["getLabel", "getOverlay", "isHover", "getParameter", "getParameters", "getPaintStyle", + "getHoverPaintStyle", "isVisible", "hasType", "getType", "isSuspendEvents" ], + i, ii; + + for (i = 0, ii = setters.length; i < ii; i++) { + out[setters[i]] = setter(list, setters[i], executor); + } + + for (i = 0, ii = getters.length; i < ii; i++) { + out[getters[i]] = getter(list, getters[i]); + } + + return out; + }; + + var _makeConnectionSelectHandler = function (list) { + var common = _makeCommonSelectHandler(list, _makeConnectionSelectHandler); + return jsPlumb.extend(common, { + // setters + setDetachable: setter(list, "setDetachable", _makeConnectionSelectHandler), + setReattach: setter(list, "setReattach", _makeConnectionSelectHandler), + setConnector: setter(list, "setConnector", _makeConnectionSelectHandler), + delete: function () { + for (var i = 0, ii = list.length; i < ii; i++) { + _currentInstance.deleteConnection(list[i]); + } + }, + // getters + isDetachable: getter(list, "isDetachable"), + isReattach: getter(list, "isReattach") + }); + }; + + var _makeEndpointSelectHandler = function (list) { + var common = _makeCommonSelectHandler(list, _makeEndpointSelectHandler); + return jsPlumb.extend(common, { + setEnabled: setter(list, "setEnabled", _makeEndpointSelectHandler), + setAnchor: setter(list, "setAnchor", _makeEndpointSelectHandler), + isEnabled: getter(list, "isEnabled"), + deleteEveryConnection: function () { + for (var i = 0, ii = list.length; i < ii; i++) { + list[i].deleteEveryConnection(); + } + }, + "delete": function () { + for (var i = 0, ii = list.length; i < ii; i++) { + _currentInstance.deleteEndpoint(list[i]); + } + } + }); + }; + + this.select = function (params) { + params = params || {}; + params.scope = params.scope || "*"; + return _makeConnectionSelectHandler(params.connections || _currentInstance.getConnections(params, true)); + }; + + this.selectEndpoints = function (params) { + params = params || {}; + params.scope = params.scope || "*"; + var noElementFilters = !params.element && !params.source && !params.target, + elements = noElementFilters ? "*" : prepareList(params.element), + sources = noElementFilters ? "*" : prepareList(params.source), + targets = noElementFilters ? "*" : prepareList(params.target), + scopes = prepareList(params.scope, true); + + var ep = []; + + for (var el in endpointsByElement) { + var either = filterList(elements, el, true), + source = filterList(sources, el, true), + sourceMatchExact = sources !== "*", + target = filterList(targets, el, true), + targetMatchExact = targets !== "*"; + + // if they requested 'either' then just match scope. otherwise if they requested 'source' (not as a wildcard) then we have to match only endpoints that have isSource set to to true, and the same thing with isTarget. + if (either || source || target) { + inner: + for (var i = 0, ii = endpointsByElement[el].length; i < ii; i++) { + var _ep = endpointsByElement[el][i]; + if (filterList(scopes, _ep.scope, true)) { + + var noMatchSource = (sourceMatchExact && sources.length > 0 && !_ep.isSource), + noMatchTarget = (targetMatchExact && targets.length > 0 && !_ep.isTarget); + + if (noMatchSource || noMatchTarget) { + continue inner; + } + + ep.push(_ep); + } + } + } + } + + return _makeEndpointSelectHandler(ep); + }; + + // get all connections managed by the instance of jsplumb. + this.getAllConnections = function () { + return connections; + }; + this.getDefaultScope = function () { + return DEFAULT_SCOPE; + }; + // get an endpoint by uuid. + this.getEndpoint = _getEndpoint; + /** + * Gets the list of Endpoints for a given element. + * @method getEndpoints + * @param {String|Element|Selector} el The element to get endpoints for. + * @return {Endpoint[]} An array of Endpoints for the specified element. + */ + this.getEndpoints = function (el) { + return endpointsByElement[_info(el).id] || []; + }; + // gets the default endpoint type. used when subclassing. see wiki. + this.getDefaultEndpointType = function () { + return jsPlumb.Endpoint; + }; + // gets the default connection type. used when subclassing. see wiki. + this.getDefaultConnectionType = function () { + return jsPlumb.Connection; + }; + /* + * Gets an element's id, creating one if necessary. really only exposed + * for the lib-specific functionality to access; would be better to pass + * the current instance into the lib-specific code (even though this is + * a static call. i just don't want to expose it to the public API). + */ + this.getId = _getId; + this.draw = _draw; + this.info = _info; + + this.appendElement = _appendElement; + + var _hoverSuspended = false; + this.isHoverSuspended = function () { + return _hoverSuspended; + }; + this.setHoverSuspended = function (s) { + _hoverSuspended = s; + }; + + // set an element's connections to be hidden + this.hide = function (el, changeEndpoints) { + _setVisible(el, "none", changeEndpoints); + return _currentInstance; + }; + + // exposed for other objects to use to get a unique id. + this.idstamp = _idstamp; + + // ensure that, if the current container exists, it is a DOM element and not a selector. + // if it does not exist and `candidate` is supplied, the offset parent of that element will be set as the Container. + // this is used to do a better default behaviour for the case that the user has not set a container: + // addEndpoint, makeSource, makeTarget and connect all call this method with the offsetParent of the + // element in question (for connect it is the source element). So if no container is set, it is inferred + // to be the offsetParent of the first element the user tries to connect. + var _ensureContainer = function (candidate) { + if (!_container && candidate) { + var can = _currentInstance.getElement(candidate); + if (can.offsetParent) { + _currentInstance.setContainer(can.offsetParent); + } + } + }; + + var _getContainerFromDefaults = function () { + if (_currentInstance.Defaults.Container) { + _currentInstance.setContainer(_currentInstance.Defaults.Container); + } + }; + + // check if a given element is managed or not. if not, add to our map. if drawing is not suspended then + // we'll also stash its dimensions; otherwise we'll do this in a lazy way through updateOffset. + var _manage = _currentInstance.manage = function (id, element, _transient, _recalc) { + if (!managedElements[id]) { + managedElements[id] = { + el: element, + endpoints: [], + connections: [] + }; + + managedElements[id].info = _updateOffset({ elId: id, timestamp: _suspendedAt }); + _currentInstance.addClass(element, "jtk-managed"); + + if (!_transient) { + _currentInstance.fire("manageElement", { id:id, info:managedElements[id].info, el:element }); + } + } else { + if (_recalc) { + managedElements[id].info = _updateOffset({ elId: id, timestamp: _suspendedAt, recalc:true }); + } + } + + return managedElements[id]; + }; + + var _unmanage = _currentInstance.unmanage = function(id) { + if (managedElements[id]) { + var el = managedElements[id].el; + _currentInstance.removeClass(el, "jtk-managed"); + delete managedElements[id]; + _currentInstance.fire("unmanageElement", {id:id, el:el}); + } + }; + + /** + * updates the offset and size for a given element, and stores the + * values. if 'offset' is not null we use that (it would have been + * passed in from a drag call) because it's faster; but if it is null, + * or if 'recalc' is true in order to force a recalculation, we get the current values. + * @method updateOffset + */ + var _updateOffset = function (params) { + + var timestamp = params.timestamp, recalc = params.recalc, offset = params.offset, elId = params.elId, s; + if (_suspendDrawing && !timestamp) { + timestamp = _suspendedAt; + } + if (!recalc) { + if (timestamp && timestamp === offsetTimestamps[elId]) { + return {o: params.offset || offsets[elId], s: sizes[elId]}; + } + } + if (recalc || (!offset && offsets[elId] == null)) { // if forced repaint or no offset available, we recalculate. + + // get the current size and offset, and store them + s = managedElements[elId] ? managedElements[elId].el : null; + if (s != null) { + sizes[elId] = _currentInstance.getSize(s); + offsets[elId] = _currentInstance.getOffset(s); + offsetTimestamps[elId] = timestamp; + } + } else { + offsets[elId] = offset || offsets[elId]; + if (sizes[elId] == null) { + s = managedElements[elId].el; + if (s != null) { + sizes[elId] = _currentInstance.getSize(s); + } + } + offsetTimestamps[elId] = timestamp; + } + + if (offsets[elId] && !offsets[elId].right) { + offsets[elId].right = offsets[elId].left + sizes[elId][0]; + offsets[elId].bottom = offsets[elId].top + sizes[elId][1]; + offsets[elId].width = sizes[elId][0]; + offsets[elId].height = sizes[elId][1]; + offsets[elId].centerx = offsets[elId].left + (offsets[elId].width / 2); + offsets[elId].centery = offsets[elId].top + (offsets[elId].height / 2); + } + + return {o: offsets[elId], s: sizes[elId]}; + }; + + this.updateOffset = _updateOffset; + + /** + * callback from the current library to tell us to prepare ourselves (attach + * mouse listeners etc; can't do that until the library has provided a bind method) + */ + this.init = function () { + if (!initialized) { + _getContainerFromDefaults(); + _currentInstance.anchorManager = new root.jsPlumb.AnchorManager({jsPlumbInstance: _currentInstance}); + initialized = true; + _currentInstance.fire("ready", _currentInstance); + } + }.bind(this); + + this.log = log; + this.jsPlumbUIComponent = jsPlumbUIComponent; + + /* + * Creates an anchor with the given params. + * + * + * Returns: The newly created Anchor. + * Throws: an error if a named anchor was not found. + */ + this.makeAnchor = function () { + var pp, _a = function (t, p) { + if (root.jsPlumb.Anchors[t]) { + return new root.jsPlumb.Anchors[t](p); + } + if (!_currentInstance.Defaults.DoNotThrowErrors) { + throw { msg: "jsPlumb: unknown anchor type '" + t + "'" }; + } + }; + if (arguments.length === 0) { + return null; + } + var specimen = arguments[0], elementId = arguments[1], jsPlumbInstance = arguments[2], newAnchor = null; + // if it appears to be an anchor already... + if (specimen.compute && specimen.getOrientation) { + return specimen; + } //TODO hazy here about whether it should be added or is already added somehow. + // is it the name of an anchor type? + else if (typeof specimen === "string") { + newAnchor = _a(arguments[0], {elementId: elementId, jsPlumbInstance: _currentInstance}); + } + // is it an array? it will be one of: + // an array of [spec, params] - this defines a single anchor, which may be dynamic, but has parameters. + // an array of arrays - this defines some dynamic anchors + // an array of numbers - this defines a single anchor. + else if (_ju.isArray(specimen)) { + if (_ju.isArray(specimen[0]) || _ju.isString(specimen[0])) { + // if [spec, params] format + if (specimen.length === 2 && _ju.isObject(specimen[1])) { + // if first arg is a string, its a named anchor with params + if (_ju.isString(specimen[0])) { + pp = root.jsPlumb.extend({elementId: elementId, jsPlumbInstance: _currentInstance}, specimen[1]); + newAnchor = _a(specimen[0], pp); + } + // otherwise first arg is array, second is params. we treat as a dynamic anchor, which is fine + // even if the first arg has only one entry. you could argue all anchors should be implicitly dynamic in fact. + else { + pp = root.jsPlumb.extend({elementId: elementId, jsPlumbInstance: _currentInstance, anchors: specimen[0]}, specimen[1]); + newAnchor = new root.jsPlumb.DynamicAnchor(pp); + } + } + else { + newAnchor = new jsPlumb.DynamicAnchor({anchors: specimen, selector: null, elementId: elementId, jsPlumbInstance: _currentInstance}); + } + + } + else { + var anchorParams = { + x: specimen[0], y: specimen[1], + orientation: (specimen.length >= 4) ? [ specimen[2], specimen[3] ] : [0, 0], + offsets: (specimen.length >= 6) ? [ specimen[4], specimen[5] ] : [ 0, 0 ], + elementId: elementId, + jsPlumbInstance: _currentInstance, + cssClass: specimen.length === 7 ? specimen[6] : null + }; + newAnchor = new root.jsPlumb.Anchor(anchorParams); + newAnchor.clone = function () { + return new root.jsPlumb.Anchor(anchorParams); + }; + } + } + + if (!newAnchor.id) { + newAnchor.id = "anchor_" + _idstamp(); + } + return newAnchor; + }; + + /** + * makes a list of anchors from the given list of types or coords, eg + * ["TopCenter", "RightMiddle", "BottomCenter", [0, 1, -1, -1] ] + */ + this.makeAnchors = function (types, elementId, jsPlumbInstance) { + var r = []; + for (var i = 0, ii = types.length; i < ii; i++) { + if (typeof types[i] === "string") { + r.push(root.jsPlumb.Anchors[types[i]]({elementId: elementId, jsPlumbInstance: jsPlumbInstance})); + } + else if (_ju.isArray(types[i])) { + r.push(_currentInstance.makeAnchor(types[i], elementId, jsPlumbInstance)); + } + } + return r; + }; + + /** + * Makes a dynamic anchor from the given list of anchors (which may be in shorthand notation as strings or dimension arrays, or Anchor + * objects themselves) and the given, optional, anchorSelector function (jsPlumb uses a default if this is not provided; most people will + * not need to provide this - i think). + */ + this.makeDynamicAnchor = function (anchors, anchorSelector) { + return new root.jsPlumb.DynamicAnchor({anchors: anchors, selector: anchorSelector, elementId: null, jsPlumbInstance: _currentInstance}); + }; + +// --------------------- makeSource/makeTarget ---------------------------------------------- + + this.targetEndpointDefinitions = {}; + this.sourceEndpointDefinitions = {}; + + var selectorFilter = function (evt, _el, selector, _instance, negate) { + var t = evt.target || evt.srcElement, ok = false, + sel = _instance.getSelector(_el, selector); + for (var j = 0; j < sel.length; j++) { + if (sel[j] === t) { + ok = true; + break; + } + } + return negate ? !ok : ok; + }; + + var _makeElementDropHandler = function (elInfo, p, dropOptions, isSource, isTarget) { + var proxyComponent = new jsPlumbUIComponent(p); + var _drop = p._jsPlumb.EndpointDropHandler({ + jsPlumb: _currentInstance, + enabled: function () { + return elInfo.def.enabled; + }, + isFull: function () { + var targetCount = _currentInstance.select({target: elInfo.id}).length; + return elInfo.def.maxConnections > 0 && targetCount >= elInfo.def.maxConnections; + }, + element: elInfo.el, + elementId: elInfo.id, + isSource: isSource, + isTarget: isTarget, + addClass: function (clazz) { + _currentInstance.addClass(elInfo.el, clazz); + }, + removeClass: function (clazz) { + _currentInstance.removeClass(elInfo.el, clazz); + }, + onDrop: function (jpc) { + var source = jpc.endpoints[0]; + source.anchor.unlock(); + }, + isDropAllowed: function () { + return proxyComponent.isDropAllowed.apply(proxyComponent, arguments); + }, + isRedrop:function(jpc) { + return (jpc.suspendedElement != null && jpc.suspendedEndpoint != null && jpc.suspendedEndpoint.element === elInfo.el); + }, + getEndpoint: function (jpc) { + + // make a new Endpoint for the target, or get it from the cache if uniqueEndpoint + // is set. if its a redrop the new endpoint will be immediately cleaned up. + + var newEndpoint = elInfo.def.endpoint; + + // if no cached endpoint, or there was one but it has been cleaned up + // (ie. detached), create a new one + if (newEndpoint == null || newEndpoint._jsPlumb == null) { + var eps = _currentInstance.deriveEndpointAndAnchorSpec(jpc.getType().join(" "), true); + var pp = eps.endpoints ? root.jsPlumb.extend(p, { + endpoint:elInfo.def.def.endpoint || eps.endpoints[1] + }) :p; + if (eps.anchors) { + pp = root.jsPlumb.extend(pp, { + anchor:elInfo.def.def.anchor || eps.anchors[1] + }); + } + newEndpoint = _currentInstance.addEndpoint(elInfo.el, pp); + newEndpoint._mtNew = true; + } + + if (p.uniqueEndpoint) { + elInfo.def.endpoint = newEndpoint; + } + + newEndpoint.setDeleteOnEmpty(true); + + // if connection is detachable, init the new endpoint to be draggable, to support that happening. + if (jpc.isDetachable()) { + newEndpoint.initDraggable(); + } + + // if the anchor has a 'positionFinder' set, then delegate to that function to find + // out where to locate the anchor. + if (newEndpoint.anchor.positionFinder != null) { + var dropPosition = _currentInstance.getUIPosition(arguments, _currentInstance.getZoom()), + elPosition = _currentInstance.getOffset(elInfo.el), + elSize = _currentInstance.getSize(elInfo.el), + ap = dropPosition == null ? [0,0] : newEndpoint.anchor.positionFinder(dropPosition, elPosition, elSize, newEndpoint.anchor.constructorParams); + + newEndpoint.anchor.x = ap[0]; + newEndpoint.anchor.y = ap[1]; + // now figure an orientation for it..kind of hard to know what to do actually. probably the best thing i can do is to + // support specifying an orientation in the anchor's spec. if one is not supplied then i will make the orientation + // be what will cause the most natural link to the source: it will be pointing at the source, but it needs to be + // specified in one axis only, and so how to make that choice? i think i will use whichever axis is the one in which + // the target is furthest away from the source. + } + + return newEndpoint; + }, + maybeCleanup: function (ep) { + if (ep._mtNew && ep.connections.length === 0) { + _currentInstance.deleteObject({endpoint: ep}); + } + else { + delete ep._mtNew; + } + } + }); + + // wrap drop events as needed and initialise droppable + var dropEvent = root.jsPlumb.dragEvents.drop; + dropOptions.scope = dropOptions.scope || (p.scope || _currentInstance.Defaults.Scope); + dropOptions[dropEvent] = _ju.wrap(dropOptions[dropEvent], _drop, true); + dropOptions.rank = p.rank || 0; + + // if target, return true from the over event. this will cause katavorio to stop setting drops to hover + // if multipleDrop is set to false. + if (isTarget) { + dropOptions[root.jsPlumb.dragEvents.over] = function () { return true; }; + } + + // vanilla jsplumb only + if (p.allowLoopback === false) { + dropOptions.canDrop = function (_drag) { + var de = _drag.getDragElement()._jsPlumbRelatedElement; + return de !== elInfo.el; + }; + } + _currentInstance.initDroppable(elInfo.el, dropOptions, "internal"); + + return _drop; + + }; + + // see API docs + this.makeTarget = function (el, params, referenceParams) { + + // put jsplumb ref into params without altering the params passed in + var p = root.jsPlumb.extend({_jsPlumb: this}, referenceParams); + root.jsPlumb.extend(p, params); + + var maxConnections = p.maxConnections || -1, + + _doOne = function (el) { + + // get the element's id and store the endpoint definition for it. jsPlumb.connect calls will look for one of these, + // and use the endpoint definition if found. + // decode the info for this element (id and element) + var elInfo = _info(el), + elid = elInfo.id, + dropOptions = root.jsPlumb.extend({}, p.dropOptions || {}), + type = p.connectionType || "default"; + + this.targetEndpointDefinitions[elid] = this.targetEndpointDefinitions[elid] || {}; + + _ensureContainer(elid); + + // if this is a group and the user has not mandated a rank, set to -1 so that Nodes takes + // precedence. + if (elInfo.el._isJsPlumbGroup && dropOptions.rank == null) { + dropOptions.rank = -1; + } + + // store the definition + var _def = { + def: root.jsPlumb.extend({}, p), + uniqueEndpoint: p.uniqueEndpoint, + maxConnections: maxConnections, + enabled: true + }; + + if (p.createEndpoint) { + _def.uniqueEndpoint = true; + _def.endpoint = _currentInstance.addEndpoint(el, _def.def); + _def.endpoint.setDeleteOnEmpty(false); + } + + elInfo.def = _def; + this.targetEndpointDefinitions[elid][type] = _def; + _makeElementDropHandler(elInfo, p, dropOptions, p.isSource === true, true); + // stash the definition on the drop + elInfo.el._katavorioDrop[elInfo.el._katavorioDrop.length - 1].targetDef = _def; + + }.bind(this); + + // make an array if only given one element + var inputs = el.length && el.constructor !== String ? el : [ el ]; + + // register each one in the list. + for (var i = 0, ii = inputs.length; i < ii; i++) { + _doOne(inputs[i]); + } + + return this; + }; + + // see api docs + this.unmakeTarget = function (el, doNotClearArrays) { + var info = _info(el); + _currentInstance.destroyDroppable(info.el, "internal"); + if (!doNotClearArrays) { + delete this.targetEndpointDefinitions[info.id]; + } + + return this; + }; + + // see api docs + this.makeSource = function (el, params, referenceParams) { + var p = root.jsPlumb.extend({_jsPlumb: this}, referenceParams); + root.jsPlumb.extend(p, params); + var type = p.connectionType || "default"; + var aae = _currentInstance.deriveEndpointAndAnchorSpec(type); + p.endpoint = p.endpoint || aae.endpoints[0]; + p.anchor = p.anchor || aae.anchors[0]; + var maxConnections = p.maxConnections || -1, + onMaxConnections = p.onMaxConnections, + _doOne = function (elInfo) { + // get the element's id and store the endpoint definition for it. jsPlumb.connect calls will look for one of these, + // and use the endpoint definition if found. + var elid = elInfo.id, + _del = this.getElement(elInfo.el); + + this.sourceEndpointDefinitions[elid] = this.sourceEndpointDefinitions[elid] || {}; + _ensureContainer(elid); + + var _def = { + def:root.jsPlumb.extend({}, p), + uniqueEndpoint: p.uniqueEndpoint, + maxConnections: maxConnections, + enabled: true + }; + + if (p.createEndpoint) { + _def.uniqueEndpoint = true; + _def.endpoint = _currentInstance.addEndpoint(el, _def.def); + _def.endpoint.setDeleteOnEmpty(false); + } + + this.sourceEndpointDefinitions[elid][type] = _def; + elInfo.def = _def; + + var stopEvent = root.jsPlumb.dragEvents.stop, + dragEvent = root.jsPlumb.dragEvents.drag, + dragOptions = root.jsPlumb.extend({ }, p.dragOptions || {}), + existingDrag = dragOptions.drag, + existingStop = dragOptions.stop, + ep = null, + endpointAddedButNoDragYet = false; + + // set scope if its not set in dragOptions but was passed in in params + dragOptions.scope = dragOptions.scope || p.scope; + + dragOptions[dragEvent] = _ju.wrap(dragOptions[dragEvent], function () { + if (existingDrag) { + existingDrag.apply(this, arguments); + } + endpointAddedButNoDragYet = false; + }); + + dragOptions[stopEvent] = _ju.wrap(dragOptions[stopEvent], function () { + + if (existingStop) { + existingStop.apply(this, arguments); + } + this.currentlyDragging = false; + if (ep._jsPlumb != null) { // if not cleaned up... + + // reset the anchor to the anchor that was initially provided. the one we were using to drag + // the connection was just a placeholder that was located at the place the user pressed the + // mouse button to initiate the drag. + var anchorDef = p.anchor || this.Defaults.Anchor, + oldAnchor = ep.anchor, + oldConnection = ep.connections[0]; + + var newAnchor = this.makeAnchor(anchorDef, elid, this), + _el = ep.element; + + // if the anchor has a 'positionFinder' set, then delegate to that function to find + // out where to locate the anchor. issue 117. + if (newAnchor.positionFinder != null) { + var elPosition = _currentInstance.getOffset(_el), + elSize = this.getSize(_el), + dropPosition = { left: elPosition.left + (oldAnchor.x * elSize[0]), top: elPosition.top + (oldAnchor.y * elSize[1]) }, + ap = newAnchor.positionFinder(dropPosition, elPosition, elSize, newAnchor.constructorParams); + + newAnchor.x = ap[0]; + newAnchor.y = ap[1]; + } + + ep.setAnchor(newAnchor, true); + ep.repaint(); + this.repaint(ep.elementId); + if (oldConnection != null) { + this.repaint(oldConnection.targetId); + } + } + }.bind(this)); + + // when the user presses the mouse, add an Endpoint, if we are enabled. + var mouseDownListener = function (e) { + // on right mouse button, abort. + if (e.which === 3 || e.button === 2) { + return; + } + + elid = this.getId(this.getElement(elInfo.el)); // elid might have changed since this method was called to configure the element. + + // TODO store def on element. + var def = this.sourceEndpointDefinitions[elid][type]; + + // if disabled, return. + if (!def.enabled) { + return; + } + + // if a filter was given, run it, and return if it says no. + if (p.filter) { + var r = _ju.isString(p.filter) ? selectorFilter(e, elInfo.el, p.filter, this, p.filterExclude) : p.filter(e, elInfo.el); + if (r === false) { + return; + } + } + + // if maxConnections reached + var sourceCount = this.select({source: elid}).length; + if (def.maxConnections >= 0 && (sourceCount >= def.maxConnections)) { + if (onMaxConnections) { + onMaxConnections({ + element: elInfo.el, + maxConnections: maxConnections + }, e); + } + return false; + } + + // find the position on the element at which the mouse was pressed; this is where the endpoint + // will be located. + var elxy = root.jsPlumb.getPositionOnElement(e, _del, _zoom); + + // we need to override the anchor in here, and force 'isSource', but we don't want to mess with + // the params passed in, because after a connection is established we're going to reset the endpoint + // to have the anchor we were given. + var tempEndpointParams = {}; + root.jsPlumb.extend(tempEndpointParams, def.def); + tempEndpointParams.isTemporarySource = true; + tempEndpointParams.anchor = [ elxy[0], elxy[1] , 0, 0]; + tempEndpointParams.dragOptions = dragOptions; + + if (def.def.scope) { + tempEndpointParams.scope = def.def.scope; + } + + ep = this.addEndpoint(elid, tempEndpointParams); + endpointAddedButNoDragYet = true; + ep.setDeleteOnEmpty(true); + + // if unique endpoint and it's already been created, push it onto the endpoint we create. at the end + // of a successful connection we'll switch to that endpoint. + // TODO this is the same code as the programmatic endpoints create on line 1050 ish + if (def.uniqueEndpoint) { + if (!def.endpoint) { + def.endpoint = ep; + ep.setDeleteOnEmpty(false); + } + else { + ep.finalEndpoint = def.endpoint; + } + } + + var _delTempEndpoint = function () { + // this mouseup event is fired only if no dragging occurred, by jquery and yui, but for mootools + // it is fired even if dragging has occurred, in which case we would blow away a perfectly + // legitimate endpoint, were it not for this check. the flag is set after adding an + // endpoint and cleared in a drag listener we set in the dragOptions above. + _currentInstance.off(ep.canvas, "mouseup", _delTempEndpoint); + _currentInstance.off(elInfo.el, "mouseup", _delTempEndpoint); + if (endpointAddedButNoDragYet) { + endpointAddedButNoDragYet = false; + _currentInstance.deleteEndpoint(ep); + } + }; + + _currentInstance.on(ep.canvas, "mouseup", _delTempEndpoint); + _currentInstance.on(elInfo.el, "mouseup", _delTempEndpoint); + + // optionally check for attributes to extract from the source element + var payload = {}; + if (def.def.extract) { + for (var att in def.def.extract) { + var v = (e.srcElement || e.target).getAttribute(att); + if (v) { + payload[def.def.extract[att]] = v; + } + } + } + + // and then trigger its mousedown event, which will kick off a drag, which will start dragging + // a new connection from this endpoint. + _currentInstance.trigger(ep.canvas, "mousedown", e, payload); + + _ju.consume(e); + + }.bind(this); + + this.on(elInfo.el, "mousedown", mouseDownListener); + _def.trigger = mouseDownListener; + + // if a filter was provided, set it as a dragFilter on the element, + // to prevent the element drag function from kicking in when we want to + // drag a new connection + if (p.filter && (_ju.isString(p.filter) || _ju.isFunction(p.filter))) { + _currentInstance.setDragFilter(elInfo.el, p.filter); + } + + var dropOptions = root.jsPlumb.extend({}, p.dropOptions || {}); + + _makeElementDropHandler(elInfo, p, dropOptions, true, p.isTarget === true); + + }.bind(this); + + var inputs = el.length && el.constructor !== String ? el : [ el ]; + for (var i = 0, ii = inputs.length; i < ii; i++) { + _doOne(_info(inputs[i])); + } + + return this; + }; + + // see api docs + this.unmakeSource = function (el, connectionType, doNotClearArrays) { + var info = _info(el); + _currentInstance.destroyDroppable(info.el, "internal"); + var eldefs = this.sourceEndpointDefinitions[info.id]; + if (eldefs) { + for (var def in eldefs) { + if (connectionType == null || connectionType === def) { + var mouseDownListener = eldefs[def].trigger; + if (mouseDownListener) { + _currentInstance.off(info.el, "mousedown", mouseDownListener); + } + if (!doNotClearArrays) { + delete this.sourceEndpointDefinitions[info.id][def]; + } + } + } + } + + return this; + }; + + // see api docs + this.unmakeEverySource = function () { + for (var i in this.sourceEndpointDefinitions) { + _currentInstance.unmakeSource(i, null, true); + } + + this.sourceEndpointDefinitions = {}; + return this; + }; + + var _getScope = function (el, types, connectionType) { + types = _ju.isArray(types) ? types : [ types ]; + var id = _getId(el); + connectionType = connectionType || "default"; + for (var i = 0; i < types.length; i++) { + var eldefs = this[types[i]][id]; + if (eldefs && eldefs[connectionType]) { + return eldefs[connectionType].def.scope || this.Defaults.Scope; + } + } + }.bind(this); + + var _setScope = function (el, scope, types, connectionType) { + types = _ju.isArray(types) ? types : [ types ]; + var id = _getId(el); + connectionType = connectionType || "default"; + for (var i = 0; i < types.length; i++) { + var eldefs = this[types[i]][id]; + if (eldefs && eldefs[connectionType]) { + eldefs[connectionType].def.scope = scope; + } + } + + }.bind(this); + + this.getScope = function (el, scope) { + return _getScope(el, [ "sourceEndpointDefinitions", "targetEndpointDefinitions" ]); + }; + this.getSourceScope = function (el) { + return _getScope(el, "sourceEndpointDefinitions"); + }; + this.getTargetScope = function (el) { + return _getScope(el, "targetEndpointDefinitions"); + }; + this.setScope = function (el, scope, connectionType) { + this.setSourceScope(el, scope, connectionType); + this.setTargetScope(el, scope, connectionType); + }; + this.setSourceScope = function (el, scope, connectionType) { + _setScope(el, scope, "sourceEndpointDefinitions", connectionType); + // we get the source scope during the mousedown event, but we also want to set this. + this.setDragScope(el, scope); + }; + this.setTargetScope = function (el, scope, connectionType) { + _setScope(el, scope, "targetEndpointDefinitions", connectionType); + this.setDropScope(el, scope); + }; + + // see api docs + this.unmakeEveryTarget = function () { + for (var i in this.targetEndpointDefinitions) { + _currentInstance.unmakeTarget(i, true); + } + + this.targetEndpointDefinitions = {}; + return this; + }; + + // does the work of setting a source enabled or disabled. + var _setEnabled = function (type, el, state, toggle, connectionType) { + var a = type === "source" ? this.sourceEndpointDefinitions : this.targetEndpointDefinitions, + originalState, info, newState; + + connectionType = connectionType || "default"; + + // a selector or an array + if (el.length && !_ju.isString(el)) { + originalState = []; + for (var i = 0, ii = el.length; i < ii; i++) { + info = _info(el[i]); + if (a[info.id] && a[info.id][connectionType]) { + originalState[i] = a[info.id][connectionType].enabled; + newState = toggle ? !originalState[i] : state; + a[info.id][connectionType].enabled = newState; + _currentInstance[newState ? "removeClass" : "addClass"](info.el, "jtk-" + type + "-disabled"); + } + } + } + // otherwise a DOM element or a String ID. + else { + info = _info(el); + var id = info.id; + if (a[id] && a[id][connectionType]) { + originalState = a[id][connectionType].enabled; + newState = toggle ? !originalState : state; + a[id][connectionType].enabled = newState; + _currentInstance[newState ? "removeClass" : "addClass"](info.el, "jtk-" + type + "-disabled"); + } + } + return originalState; + }.bind(this); + + var _first = function (el, fn) { + if (_ju.isString(el) || !el.length) { + return fn.apply(this, [ el ]); + } + else if (el.length) { + return fn.apply(this, [ el[0] ]); + } + + }.bind(this); + + this.toggleSourceEnabled = function (el, connectionType) { + _setEnabled("source", el, null, true, connectionType); + return this.isSourceEnabled(el, connectionType); + }; + + this.setSourceEnabled = function (el, state, connectionType) { + return _setEnabled("source", el, state, null, connectionType); + }; + this.isSource = function (el, connectionType) { + connectionType = connectionType || "default"; + return _first(el, function (_el) { + var eldefs = this.sourceEndpointDefinitions[_info(_el).id]; + return eldefs != null && eldefs[connectionType] != null; + }.bind(this)); + }; + this.isSourceEnabled = function (el, connectionType) { + connectionType = connectionType || "default"; + return _first(el, function (_el) { + var sep = this.sourceEndpointDefinitions[_info(_el).id]; + return sep && sep[connectionType] && sep[connectionType].enabled === true; + }.bind(this)); + }; + + this.toggleTargetEnabled = function (el, connectionType) { + _setEnabled("target", el, null, true, connectionType); + return this.isTargetEnabled(el, connectionType); + }; + + this.isTarget = function (el, connectionType) { + connectionType = connectionType || "default"; + return _first(el, function (_el) { + var eldefs = this.targetEndpointDefinitions[_info(_el).id]; + return eldefs != null && eldefs[connectionType] != null; + }.bind(this)); + }; + this.isTargetEnabled = function (el, connectionType) { + connectionType = connectionType || "default"; + return _first(el, function (_el) { + var tep = this.targetEndpointDefinitions[_info(_el).id]; + return tep && tep[connectionType] && tep[connectionType].enabled === true; + }.bind(this)); + }; + this.setTargetEnabled = function (el, state, connectionType) { + return _setEnabled("target", el, state, null, connectionType); + }; + +// --------------------- end makeSource/makeTarget ---------------------------------------------- + + this.ready = function (fn) { + _currentInstance.bind("ready", fn); + }; + + var _elEach = function(el, fn) { + // support both lists... + if (typeof el === 'object' && el.length) { + for (var i = 0, ii = el.length; i < ii; i++) { + fn(el[i]); + } + } + else {// ...and single strings or elements. + fn(el); + } + + return _currentInstance; + }; + + // repaint some element's endpoints and connections + this.repaint = function (el, ui, timestamp) { + return _elEach(el, function(_el) { + _draw(_el, ui, timestamp); + }); + }; + + this.revalidate = function (el, timestamp, isIdAlready) { + return _elEach(el, function(_el) { + var elId = isIdAlready ? _el : _currentInstance.getId(_el); + _currentInstance.updateOffset({ elId: elId, recalc: true, timestamp:timestamp }); + var dm = _currentInstance.getDragManager(); + if (dm) { + dm.updateOffsets(elId); + } + _currentInstance.repaint(_el); + }); + }; + + // repaint every endpoint and connection. + this.repaintEverything = function () { + // TODO this timestamp causes continuous anchors to not repaint properly. + // fix this. do not just take out the timestamp. it runs a lot faster with + // the timestamp included. + var timestamp = _timestamp(), elId; + + for (elId in endpointsByElement) { + _currentInstance.updateOffset({ elId: elId, recalc: true, timestamp: timestamp }); + } + + for (elId in endpointsByElement) { + _draw(elId, null, timestamp); + } + + return this; + }; + + this.removeAllEndpoints = function (el, recurse, affectedElements) { + affectedElements = affectedElements || []; + var _one = function (_el) { + var info = _info(_el), + ebe = endpointsByElement[info.id], + i, ii; + + if (ebe) { + affectedElements.push(info); + for (i = 0, ii = ebe.length; i < ii; i++) { + _currentInstance.deleteEndpoint(ebe[i], false); + } + } + delete endpointsByElement[info.id]; + + if (recurse) { + if (info.el && info.el.nodeType !== 3 && info.el.nodeType !== 8) { + for (i = 0, ii = info.el.childNodes.length; i < ii; i++) { + _one(info.el.childNodes[i]); + } + } + } + + }; + _one(el); + return this; + }; + + var _doRemove = function(info, affectedElements) { + _currentInstance.removeAllEndpoints(info.id, true, affectedElements); + var dm = _currentInstance.getDragManager(); + var _one = function(_info) { + + if (dm) { + dm.elementRemoved(_info.id); + } + _currentInstance.anchorManager.clearFor(_info.id); + _currentInstance.anchorManager.removeFloatingConnection(_info.id); + + if (_currentInstance.isSource(_info.el)) { + _currentInstance.unmakeSource(_info.el); + } + if (_currentInstance.isTarget(_info.el)) { + _currentInstance.unmakeTarget(_info.el); + } + _currentInstance.destroyDraggable(_info.el); + _currentInstance.destroyDroppable(_info.el); + + + delete _currentInstance.floatingConnections[_info.id]; + delete managedElements[_info.id]; + delete offsets[_info.id]; + if (_info.el) { + _currentInstance.removeElement(_info.el); + _info.el._jsPlumb = null; + } + }; + + // remove all affected child elements + for (var ae = 1; ae < affectedElements.length; ae++) { + _one(affectedElements[ae]); + } + // and always remove the requested one from the dom. + _one(info); + }; + + /** + * Remove the given element, including cleaning up all endpoints registered for it. + * This is exposed in the public API but also used internally by jsPlumb when removing the + * element associated with a connection drag. + */ + this.remove = function (el, doNotRepaint) { + var info = _info(el), affectedElements = []; + if (info.text && info.el.parentNode) { + info.el.parentNode.removeChild(info.el); + } + else if (info.id) { + _currentInstance.batch(function () { + _doRemove(info, affectedElements); + }, doNotRepaint === true); + } + return _currentInstance; + }; + + this.empty = function (el, doNotRepaint) { + var affectedElements = []; + var _one = function(el, dontRemoveFocus) { + var info = _info(el); + if (info.text) { + info.el.parentNode.removeChild(info.el); + } + else if (info.el) { + while(info.el.childNodes.length > 0) { + _one(info.el.childNodes[0]); + } + if (!dontRemoveFocus) { + _doRemove(info, affectedElements); + } + } + }; + + _currentInstance.batch(function() { + _one(el, true); + }, doNotRepaint === false); + + return _currentInstance; + }; + + this.reset = function (doNotUnbindInstanceEventListeners) { + _currentInstance.silently(function() { + _hoverSuspended = false; + _currentInstance.removeAllGroups(); + _currentInstance.removeGroupManager(); + _currentInstance.deleteEveryEndpoint(); + if (!doNotUnbindInstanceEventListeners) { + _currentInstance.unbind(); + } + this.targetEndpointDefinitions = {}; + this.sourceEndpointDefinitions = {}; + connections.length = 0; + if (this.doReset) { + this.doReset(); + } + }.bind(this)); + }; + + var _clearObject = function (obj) { + if (obj.canvas && obj.canvas.parentNode) { + obj.canvas.parentNode.removeChild(obj.canvas); + } + obj.cleanup(); + obj.destroy(); + }; + + this.clear = function () { + _currentInstance.select().each(_clearObject); + _currentInstance.selectEndpoints().each(_clearObject); + + endpointsByElement = {}; + endpointsByUUID = {}; + }; + + this.setDefaultScope = function (scope) { + DEFAULT_SCOPE = scope; + return _currentInstance; + }; + + this.deriveEndpointAndAnchorSpec = function(type, dontPrependDefault) { + var bits = ((dontPrependDefault ? "" : "default ") + type).split(/[\s]/), eps = null, ep = null, a = null, as = null; + for (var i = 0; i < bits.length; i++) { + var _t = _currentInstance.getType(bits[i], "connection"); + if (_t) { + if (_t.endpoints) { + eps = _t.endpoints; + } + if (_t.endpoint) { + ep = _t.endpoint; + } + if (_t.anchors) { + as = _t.anchors; + } + if (_t.anchor) { + a = _t.anchor; + } + } + } + return { endpoints: eps ? eps : [ ep, ep ], anchors: as ? as : [a, a ]}; + }; + + // sets the id of some element, changing whatever we need to to keep track. + this.setId = function (el, newId, doNotSetAttribute) { + // + var id; + + if (_ju.isString(el)) { + id = el; + } + else { + el = this.getElement(el); + id = this.getId(el); + } + + var sConns = this.getConnections({source: id, scope: '*'}, true), + tConns = this.getConnections({target: id, scope: '*'}, true); + + newId = "" + newId; + + if (!doNotSetAttribute) { + el = this.getElement(id); + this.setAttribute(el, "id", newId); + } + else { + el = this.getElement(newId); + } + + endpointsByElement[newId] = endpointsByElement[id] || []; + for (var i = 0, ii = endpointsByElement[newId].length; i < ii; i++) { + endpointsByElement[newId][i].setElementId(newId); + endpointsByElement[newId][i].setReferenceElement(el); + } + delete endpointsByElement[id]; + + this.sourceEndpointDefinitions[newId] = this.sourceEndpointDefinitions[id]; + delete this.sourceEndpointDefinitions[id]; + this.targetEndpointDefinitions[newId] = this.targetEndpointDefinitions[id]; + delete this.targetEndpointDefinitions[id]; + + this.anchorManager.changeId(id, newId); + var dm = this.getDragManager(); + if (dm) { + dm.changeId(id, newId); + } + managedElements[newId] = managedElements[id]; + delete managedElements[id]; + + var _conns = function (list, epIdx, type) { + for (var i = 0, ii = list.length; i < ii; i++) { + list[i].endpoints[epIdx].setElementId(newId); + list[i].endpoints[epIdx].setReferenceElement(el); + list[i][type + "Id"] = newId; + list[i][type] = el; + } + }; + _conns(sConns, 0, "source"); + _conns(tConns, 1, "target"); + + this.repaint(newId); + }; + + this.setDebugLog = function (debugLog) { + log = debugLog; + }; + + this.setSuspendDrawing = function (val, repaintAfterwards) { + var curVal = _suspendDrawing; + _suspendDrawing = val; + if (val) { + _suspendedAt = new Date().getTime(); + } else { + _suspendedAt = null; + } + if (repaintAfterwards) { + this.repaintEverything(); + } + return curVal; + }; + + // returns whether or not drawing is currently suspended. + this.isSuspendDrawing = function () { + return _suspendDrawing; + }; + + // return timestamp for when drawing was suspended. + this.getSuspendedAt = function () { + return _suspendedAt; + }; + + this.batch = function (fn, doNotRepaintAfterwards) { + var _wasSuspended = this.isSuspendDrawing(); + if (!_wasSuspended) { + this.setSuspendDrawing(true); + } + try { + fn(); + } + catch (e) { + _ju.log("Function run while suspended failed", e); + } + if (!_wasSuspended) { + this.setSuspendDrawing(false, !doNotRepaintAfterwards); + } + }; + + this.doWhileSuspended = this.batch; + + this.getCachedData = _getCachedData; + this.timestamp = _timestamp; + this.show = function (el, changeEndpoints) { + _setVisible(el, "block", changeEndpoints); + return _currentInstance; + }; + + // TODO: update this method to return the current state. + this.toggleVisible = _toggleVisible; + this.addListener = this.bind; + + var floatingConnections = []; + this.registerFloatingConnection = function(info, conn, ep) { + floatingConnections[info.id] = conn; + // only register for the target endpoint; we will not be dragging the source at any time + // before this connection is either discarded or made into a permanent connection. + _ju.addToList(endpointsByElement, info.id, ep); + }; + this.getFloatingConnectionFor = function(id) { + return floatingConnections[id]; + }; + + this.listManager = new root.jsPlumbListManager(this, this.Defaults.ListStyle); + }; + + _ju.extend(root.jsPlumbInstance, _ju.EventGenerator, { + setAttribute: function (el, a, v) { + this.setAttribute(el, a, v); + }, + getAttribute: function (el, a) { + return this.getAttribute(root.jsPlumb.getElement(el), a); + }, + convertToFullOverlaySpec: function(spec) { + if (_ju.isString(spec)) { + spec = [ spec, { } ]; + } + spec[1].id = spec[1].id || _ju.uuid(); + return spec; + }, + registerConnectionType: function (id, type) { + this._connectionTypes[id] = root.jsPlumb.extend({}, type); + if (type.overlays) { + var to = {}; + for (var i = 0; i < type.overlays.length; i++) { + // if a string, convert to object representation so that we can store the typeid on it. + // also assign an id. + var fo = this.convertToFullOverlaySpec(type.overlays[i]); + to[fo[1].id] = fo; + } + this._connectionTypes[id].overlays = to; + } + }, + registerConnectionTypes: function (types) { + for (var i in types) { + this.registerConnectionType(i, types[i]); + } + }, + registerEndpointType: function (id, type) { + this._endpointTypes[id] = root.jsPlumb.extend({}, type); + if (type.overlays) { + var to = {}; + for (var i = 0; i < type.overlays.length; i++) { + // if a string, convert to object representation so that we can store the typeid on it. + // also assign an id. + var fo = this.convertToFullOverlaySpec(type.overlays[i]); + to[fo[1].id] = fo; + } + this._endpointTypes[id].overlays = to; + } + }, + registerEndpointTypes: function (types) { + for (var i in types) { + this.registerEndpointType(i, types[i]); + } + }, + getType: function (id, typeDescriptor) { + return typeDescriptor === "connection" ? this._connectionTypes[id] : this._endpointTypes[id]; + }, + setIdChanged: function (oldId, newId) { + this.setId(oldId, newId, true); + }, + // set parent: change the parent for some node and update all the registrations we need to. + setParent: function (el, newParent) { + var _dom = this.getElement(el), + _id = this.getId(_dom), + _pdom = this.getElement(newParent), + _pid = this.getId(_pdom), + dm = this.getDragManager(); + + _dom.parentNode.removeChild(_dom); + _pdom.appendChild(_dom); + if (dm) { + dm.setParent(_dom, _id, _pdom, _pid); + } + }, + extend: function (o1, o2, names) { + var i; + if (names) { + for (i = 0; i < names.length; i++) { + o1[names[i]] = o2[names[i]]; + } + } + else { + for (i in o2) { + o1[i] = o2[i]; + } + } + + return o1; + }, + floatingConnections: {}, + getFloatingAnchorIndex: function (jpc) { + return jpc.endpoints[0].isFloating() ? 0 : jpc.endpoints[1].isFloating() ? 1 : -1; + }, + proxyConnection :function(connection, index, proxyEl, proxyElId, endpointGenerator, anchorGenerator) { + var proxyEp, + originalElementId = connection.endpoints[index].elementId, + originalEndpoint = connection.endpoints[index]; + + connection.proxies = connection.proxies || []; + if(connection.proxies[index]) { + proxyEp = connection.proxies[index].ep; + }else { + proxyEp = this.addEndpoint(proxyEl, { + endpoint:endpointGenerator(connection, index), + anchor:anchorGenerator(connection, index), + parameters:{ + isProxyEndpoint:true + } + }); + } + proxyEp.setDeleteOnEmpty(true); + + // for this index, stash proxy info: the new EP, the original EP. + connection.proxies[index] = { ep:proxyEp, originalEp: originalEndpoint }; + + // and advise the anchor manager + if (index === 0) { + // TODO why are there two differently named methods? Why is there not one method that says "some end of this + // connection changed (you give the index), and here's the new element and element id." + this.anchorManager.sourceChanged(originalElementId, proxyElId, connection, proxyEl); + } + else { + this.anchorManager.updateOtherEndpoint(connection.endpoints[0].elementId, originalElementId, proxyElId, connection); + connection.target = proxyEl; + connection.targetId = proxyElId; + } + + // detach the original EP from the connection. + originalEndpoint.detachFromConnection(connection, null, true); + + // set the proxy as the new ep + proxyEp.connections = [ connection ]; + connection.endpoints[index] = proxyEp; + + originalEndpoint.setVisible(false); + + connection.setVisible(true); + + this.revalidate(proxyEl); + }, + unproxyConnection : function(connection, index, proxyElId) { + // if connection cleaned up, no proxies, or none for this end of the connection, abort. + if (connection._jsPlumb == null || connection.proxies == null || connection.proxies[index] == null) { + return; + } + + var originalElement = connection.proxies[index].originalEp.element, + originalElementId = connection.proxies[index].originalEp.elementId; + + connection.endpoints[index] = connection.proxies[index].originalEp; + // and advise the anchor manager + if (index === 0) { + // TODO why are there two differently named methods? Why is there not one method that says "some end of this + // connection changed (you give the index), and here's the new element and element id." + this.anchorManager.sourceChanged(proxyElId, originalElementId, connection, originalElement); + } + else { + this.anchorManager.updateOtherEndpoint(connection.endpoints[0].elementId, proxyElId, originalElementId, connection); + connection.target = originalElement; + connection.targetId = originalElementId; + } + + // detach the proxy EP from the connection (which will cause it to be removed as we no longer need it) + connection.proxies[index].ep.detachFromConnection(connection, null); + + connection.proxies[index].originalEp.addConnection(connection); + if(connection.isVisible()) { + connection.proxies[index].originalEp.setVisible(true); + } + + // cleanup + delete connection.proxies[index]; + } + }); + +// --------------------- static instance + module registration ------------------------------------------- + +// create static instance and assign to window if window exists. + var jsPlumb = new jsPlumbInstance(); + // register on 'root' (lets us run on server or browser) + root.jsPlumb = jsPlumb; + // add 'getInstance' method to static instance + jsPlumb.getInstance = function (_defaults, overrideFns) { + var j = new jsPlumbInstance(_defaults); + if (overrideFns) { + for (var ovf in overrideFns) { + j[ovf] = overrideFns[ovf]; + } + } + j.init(); + return j; + }; + jsPlumb.each = function (spec, fn) { + if (spec == null) { + return; + } + if (typeof spec === "string") { + fn(jsPlumb.getElement(spec)); + } + else if (spec.length != null) { + for (var i = 0; i < spec.length; i++) { + fn(jsPlumb.getElement(spec[i])); + } + } + else { + fn(spec); + } // assume it's an element. + }; + + // CommonJS + if (typeof exports !== 'undefined') { + exports.jsPlumb = jsPlumb; + } + +// --------------------- end static instance + AMD registration ------------------------------------------- + +}).call(typeof window !== 'undefined' ? window : this); + +/* + * 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +;(function() { + + "use strict"; + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil; + + // ------------------------------ BEGIN OverlayCapablejsPlumbUIComponent -------------------------------------------- + + var _internalLabelOverlayId = "__label", + // this is a shortcut helper method to let people add a label as + // overlay. + _makeLabelOverlay = function (component, params) { + + var _params = { + cssClass: params.cssClass, + labelStyle: component.labelStyle, + id: _internalLabelOverlayId, + component: component, + _jsPlumb: component._jsPlumb.instance // TODO not necessary, since the instance can be accessed through the component. + }, + mergedParams = _jp.extend(_params, params); + + return new _jp.Overlays[component._jsPlumb.instance.getRenderMode()].Label(mergedParams); + }, + _processOverlay = function (component, o) { + var _newOverlay = null; + if (_ju.isArray(o)) { // this is for the shorthand ["Arrow", { width:50 }] syntax + // there's also a three arg version: + // ["Arrow", { width:50 }, {location:0.7}] + // which merges the 3rd arg into the 2nd. + var type = o[0], + // make a copy of the object so as not to mess up anyone else's reference... + p = _jp.extend({component: component, _jsPlumb: component._jsPlumb.instance}, o[1]); + if (o.length === 3) { + _jp.extend(p, o[2]); + } + _newOverlay = new _jp.Overlays[component._jsPlumb.instance.getRenderMode()][type](p); + } else if (o.constructor === String) { + _newOverlay = new _jp.Overlays[component._jsPlumb.instance.getRenderMode()][o]({component: component, _jsPlumb: component._jsPlumb.instance}); + } else { + _newOverlay = o; + } + + _newOverlay.id = _newOverlay.id || _ju.uuid(); + component.cacheTypeItem("overlay", _newOverlay, _newOverlay.id); + component._jsPlumb.overlays[_newOverlay.id] = _newOverlay; + + return _newOverlay; + }; + + _jp.OverlayCapableJsPlumbUIComponent = function (params) { + + root.jsPlumbUIComponent.apply(this, arguments); + this._jsPlumb.overlays = {}; + this._jsPlumb.overlayPositions = {}; + + if (params.label) { + this.getDefaultType().overlays[_internalLabelOverlayId] = ["Label", { + label: params.label, + location: params.labelLocation || this.defaultLabelLocation || 0.5, + labelStyle: params.labelStyle || this._jsPlumb.instance.Defaults.LabelStyle, + id:_internalLabelOverlayId + }]; + } + + this.setListenerComponent = function (c) { + if (this._jsPlumb) { + for (var i in this._jsPlumb.overlays) { + this._jsPlumb.overlays[i].setListenerComponent(c); + } + } + }; + }; + + _jp.OverlayCapableJsPlumbUIComponent.applyType = function (component, t) { + if (t.overlays) { + // loop through the ones in the type. if already present on the component, + // dont remove or re-add. + var keep = {}, i; + + for (i in t.overlays) { + + var existing = component._jsPlumb.overlays[t.overlays[i][1].id]; + if (existing) { + // maybe update from data, if there were parameterised values for instance. + existing.updateFrom(t.overlays[i][1]); + keep[t.overlays[i][1].id] = true; + + existing.reattach(component._jsPlumb.instance, component); + } + else { + var c = component.getCachedTypeItem("overlay", t.overlays[i][1].id); + if (c != null) { + c.reattach(component._jsPlumb.instance, component); + c.setVisible(true); + // maybe update from data, if there were parameterised values for instance. + c.updateFrom(t.overlays[i][1]); + component._jsPlumb.overlays[c.id] = c; + } + else { + c = component.addOverlay(t.overlays[i], true); + } + keep[c.id] = true; + } + } + + // now loop through the full overlays and remove those that we dont want to keep + for (i in component._jsPlumb.overlays) { + if (keep[component._jsPlumb.overlays[i].id] == null) { + component.removeOverlay(component._jsPlumb.overlays[i].id, true); // remove overlay but dont clean it up. + // that would remove event listeners etc; overlays are never discarded by the types stuff, they are + // just detached/reattached. + } + } + } + }; + + _ju.extend(_jp.OverlayCapableJsPlumbUIComponent, root.jsPlumbUIComponent, { + + setHover: function (hover, ignoreAttachedElements) { + if (this._jsPlumb && !this._jsPlumb.instance.isConnectionBeingDragged()) { + for (var i in this._jsPlumb.overlays) { + this._jsPlumb.overlays[i][hover ? "addClass" : "removeClass"](this._jsPlumb.instance.hoverClass); + } + } + }, + addOverlay: function (overlay, doNotRepaint) { + var o = _processOverlay(this, overlay); + + if (this.getData && o.type === "Label" && _ju.isArray(overlay)) { + // + // component data might contain label location - look for it here. + var d = this.getData(), p = overlay[1]; + if (d) { + var locationAttribute = p.labelLocationAttribute || "labelLocation"; + var loc = d ? d[locationAttribute] : null; + + if (loc) { + o.loc = loc; + } + } + } + + if (!doNotRepaint) { + this.repaint(); + } + return o; + }, + getOverlay: function (id) { + return this._jsPlumb.overlays[id]; + }, + getOverlays: function () { + return this._jsPlumb.overlays; + }, + hideOverlay: function (id) { + var o = this.getOverlay(id); + if (o) { + o.hide(); + } + }, + hideOverlays: function () { + for (var i in this._jsPlumb.overlays) { + this._jsPlumb.overlays[i].hide(); + } + }, + showOverlay: function (id) { + var o = this.getOverlay(id); + if (o) { + o.show(); + } + }, + showOverlays: function () { + for (var i in this._jsPlumb.overlays) { + this._jsPlumb.overlays[i].show(); + } + }, + removeAllOverlays: function (doNotRepaint) { + for (var i in this._jsPlumb.overlays) { + if (this._jsPlumb.overlays[i].cleanup) { + this._jsPlumb.overlays[i].cleanup(); + } + } + + this._jsPlumb.overlays = {}; + this._jsPlumb.overlayPositions = null; + this._jsPlumb.overlayPlacements= {}; + if (!doNotRepaint) { + this.repaint(); + } + }, + removeOverlay: function (overlayId, dontCleanup) { + var o = this._jsPlumb.overlays[overlayId]; + if (o) { + o.setVisible(false); + if (!dontCleanup && o.cleanup) { + o.cleanup(); + } + delete this._jsPlumb.overlays[overlayId]; + if (this._jsPlumb.overlayPositions) { + delete this._jsPlumb.overlayPositions[overlayId]; + } + + if (this._jsPlumb.overlayPlacements) { + delete this._jsPlumb.overlayPlacements[overlayId]; + } + } + }, + removeOverlays: function () { + for (var i = 0, j = arguments.length; i < j; i++) { + this.removeOverlay(arguments[i]); + } + }, + moveParent: function (newParent) { + if (this.bgCanvas) { + this.bgCanvas.parentNode.removeChild(this.bgCanvas); + newParent.appendChild(this.bgCanvas); + } + + if (this.canvas && this.canvas.parentNode) { + this.canvas.parentNode.removeChild(this.canvas); + newParent.appendChild(this.canvas); + + for (var i in this._jsPlumb.overlays) { + if (this._jsPlumb.overlays[i].isAppendedAtTopLevel) { + var el = this._jsPlumb.overlays[i].getElement(); + el.parentNode.removeChild(el); + newParent.appendChild(el); + } + } + } + }, + getLabel: function () { + var lo = this.getOverlay(_internalLabelOverlayId); + return lo != null ? lo.getLabel() : null; + }, + getLabelOverlay: function () { + return this.getOverlay(_internalLabelOverlayId); + }, + setLabel: function (l) { + var lo = this.getOverlay(_internalLabelOverlayId); + if (!lo) { + var params = l.constructor === String || l.constructor === Function ? { label: l } : l; + lo = _makeLabelOverlay(this, params); + this._jsPlumb.overlays[_internalLabelOverlayId] = lo; + } + else { + if (l.constructor === String || l.constructor === Function) { + lo.setLabel(l); + } + else { + if (l.label) { + lo.setLabel(l.label); + } + if (l.location) { + lo.setLocation(l.location); + } + } + } + + if (!this._jsPlumb.instance.isSuspendDrawing()) { + this.repaint(); + } + }, + cleanup: function (force) { + for (var i in this._jsPlumb.overlays) { + this._jsPlumb.overlays[i].cleanup(force); + this._jsPlumb.overlays[i].destroy(force); + } + if (force) { + this._jsPlumb.overlays = {}; + this._jsPlumb.overlayPositions = null; + } + }, + setVisible: function (v) { + this[v ? "showOverlays" : "hideOverlays"](); + }, + setAbsoluteOverlayPosition: function (overlay, xy) { + this._jsPlumb.overlayPositions[overlay.id] = xy; + }, + getAbsoluteOverlayPosition: function (overlay) { + return this._jsPlumb.overlayPositions ? this._jsPlumb.overlayPositions[overlay.id] : null; + }, + _clazzManip:function(action, clazz, dontUpdateOverlays) { + if (!dontUpdateOverlays) { + for (var i in this._jsPlumb.overlays) { + this._jsPlumb.overlays[i][action + "Class"](clazz); + } + } + }, + addClass:function(clazz, dontUpdateOverlays) { + this._clazzManip("add", clazz, dontUpdateOverlays); + }, + removeClass:function(clazz, dontUpdateOverlays) { + this._clazzManip("remove", clazz, dontUpdateOverlays); + } + }); + +// ------------------------------ END OverlayCapablejsPlumbUIComponent -------------------------------------------- + +}).call(typeof window !== 'undefined' ? window : this); + +/* + * This file contains the code for Endpoints. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +;(function () { + + "use strict"; + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil; + + // create the drag handler for a connection + var _makeConnectionDragHandler = function (endpoint, placeholder, _jsPlumb) { + var stopped = false; + return { + drag: function () { + if (stopped) { + stopped = false; + return true; + } + + if (placeholder.element) { + var _ui = _jsPlumb.getUIPosition(arguments, _jsPlumb.getZoom()); + if (_ui != null) { + _jsPlumb.setPosition(placeholder.element, _ui); + } + _jsPlumb.repaint(placeholder.element, _ui); + // always repaint the source endpoint, because only continuous/dynamic anchors cause the endpoint + // to be repainted, so static anchors need to be told (or the endpoint gets dragged around) + endpoint.paint({anchorPoint:endpoint.anchor.getCurrentLocation({element:endpoint})}); + } + }, + stopDrag: function () { + stopped = true; + } + }; + }; + + // creates a placeholder div for dragging purposes, adds it, and pre-computes its offset. + var _makeDraggablePlaceholder = function (placeholder, _jsPlumb, ipco, ips) { + var n = _jsPlumb.createElement("div", { position : "absolute" }); + _jsPlumb.appendElement(n); + var id = _jsPlumb.getId(n); + _jsPlumb.setPosition(n, ipco); + n.style.width = ips[0] + "px"; + n.style.height = ips[1] + "px"; + _jsPlumb.manage(id, n, true); // TRANSIENT MANAGE + // create and assign an id, and initialize the offset. + placeholder.id = id; + placeholder.element = n; + }; + + // create a floating endpoint (for drag connections) + var _makeFloatingEndpoint = function (paintStyle, referenceAnchor, endpoint, referenceCanvas, sourceElement, _jsPlumb, _newEndpoint, scope) { + var floatingAnchor = new _jp.FloatingAnchor({ reference: referenceAnchor, referenceCanvas: referenceCanvas, jsPlumbInstance: _jsPlumb }); + //setting the scope here should not be the way to fix that mootools issue. it should be fixed by not + // adding the floating endpoint as a droppable. that makes more sense anyway! + // TRANSIENT MANAGE + return _newEndpoint({ + paintStyle: paintStyle, + endpoint: endpoint, + anchor: floatingAnchor, + source: sourceElement, + scope: scope + }); + }; + + var typeParameters = [ "connectorStyle", "connectorHoverStyle", "connectorOverlays", + "connector", "connectionType", "connectorClass", "connectorHoverClass" ]; + + // a helper function that tries to find a connection to the given element, and returns it if so. if elementWithPrecedence is null, + // or no connection to it is found, we return the first connection in our list. + var findConnectionToUseForDynamicAnchor = function (ep, elementWithPrecedence) { + var idx = 0; + if (elementWithPrecedence != null) { + for (var i = 0; i < ep.connections.length; i++) { + if (ep.connections[i].sourceId === elementWithPrecedence || ep.connections[i].targetId === elementWithPrecedence) { + idx = i; + break; + } + } + } + + return ep.connections[idx]; + }; + + _jp.Endpoint = function (params) { + var _jsPlumb = params._jsPlumb, + _newConnection = params.newConnection, + _newEndpoint = params.newEndpoint; + + this.idPrefix = "_jsplumb_e_"; + this.defaultLabelLocation = [ 0.5, 0.5 ]; + this.defaultOverlayKeys = ["Overlays", "EndpointOverlays"]; + _jp.OverlayCapableJsPlumbUIComponent.apply(this, arguments); + +// TYPE + + this.appendToDefaultType({ + connectionType:params.connectionType, + maxConnections: params.maxConnections == null ? this._jsPlumb.instance.Defaults.MaxConnections : params.maxConnections, // maximum number of connections this endpoint can be the source of., + paintStyle: params.endpointStyle || params.paintStyle || params.style || this._jsPlumb.instance.Defaults.EndpointStyle || _jp.Defaults.EndpointStyle, + hoverPaintStyle: params.endpointHoverStyle || params.hoverPaintStyle || this._jsPlumb.instance.Defaults.EndpointHoverStyle || _jp.Defaults.EndpointHoverStyle, + connectorStyle: params.connectorStyle, + connectorHoverStyle: params.connectorHoverStyle, + connectorClass: params.connectorClass, + connectorHoverClass: params.connectorHoverClass, + connectorOverlays: params.connectorOverlays, + connector: params.connector, + connectorTooltip: params.connectorTooltip + }); + +// END TYPE + + this._jsPlumb.enabled = !(params.enabled === false); + this._jsPlumb.visible = true; + this.element = _jp.getElement(params.source); + this._jsPlumb.uuid = params.uuid; + this._jsPlumb.floatingEndpoint = null; + var inPlaceCopy = null; + if (this._jsPlumb.uuid) { + params.endpointsByUUID[this._jsPlumb.uuid] = this; + } + this.elementId = params.elementId; + this.dragProxy = params.dragProxy; + + this._jsPlumb.connectionCost = params.connectionCost; + this._jsPlumb.connectionsDirected = params.connectionsDirected; + this._jsPlumb.currentAnchorClass = ""; + this._jsPlumb.events = {}; + + var deleteOnEmpty = params.deleteOnEmpty === true; + this.setDeleteOnEmpty = function(d) { + deleteOnEmpty = d; + }; + + var _updateAnchorClass = function () { + // stash old, get new + var oldAnchorClass = _jsPlumb.endpointAnchorClassPrefix + "-" + this._jsPlumb.currentAnchorClass; + this._jsPlumb.currentAnchorClass = this.anchor.getCssClass(); + var anchorClass = _jsPlumb.endpointAnchorClassPrefix + (this._jsPlumb.currentAnchorClass ? "-" + this._jsPlumb.currentAnchorClass : ""); + + this.removeClass(oldAnchorClass); + this.addClass(anchorClass); + // add and remove at the same time to reduce the number of reflows. + _jp.updateClasses(this.element, anchorClass, oldAnchorClass); + }.bind(this); + + this.prepareAnchor = function(anchorParams) { + var a = this._jsPlumb.instance.makeAnchor(anchorParams, this.elementId, _jsPlumb); + a.bind("anchorChanged", function (currentAnchor) { + this.fire("anchorChanged", {endpoint: this, anchor: currentAnchor}); + _updateAnchorClass(); + }.bind(this)); + return a; + }; + + this.setPreparedAnchor = function(anchor, doNotRepaint) { + this._jsPlumb.instance.continuousAnchorFactory.clear(this.elementId); + this.anchor = anchor; + _updateAnchorClass(); + + if (!doNotRepaint) { + this._jsPlumb.instance.repaint(this.elementId); + } + + return this; + }; + + this.setAnchor = function (anchorParams, doNotRepaint) { + var a = this.prepareAnchor(anchorParams); + this.setPreparedAnchor(a, doNotRepaint); + return this; + }; + + var internalHover = function (state) { + if (this.connections.length > 0) { + for (var i = 0; i < this.connections.length; i++) { + this.connections[i].setHover(state, false); + } + } + else { + this.setHover(state); + } + }.bind(this); + + this.bind("mouseover", function () { + internalHover(true); + }); + this.bind("mouseout", function () { + internalHover(false); + }); + + // ANCHOR MANAGER + if (!params._transient) { // in place copies, for example, are transient. they will never need to be retrieved during a paint cycle, because they dont move, and then they are deleted. + this._jsPlumb.instance.anchorManager.add(this, this.elementId); + } + + this.prepareEndpoint = function(ep, typeId) { + var _e = function (t, p) { + var rm = _jsPlumb.getRenderMode(); + if (_jp.Endpoints[rm][t]) { + return new _jp.Endpoints[rm][t](p); + } + if (!_jsPlumb.Defaults.DoNotThrowErrors) { + throw { msg: "jsPlumb: unknown endpoint type '" + t + "'" }; + } + }; + + var endpointArgs = { + _jsPlumb: this._jsPlumb.instance, + cssClass: params.cssClass, + container: params.container, + tooltip: params.tooltip, + connectorTooltip: params.connectorTooltip, + endpoint: this + }; + + var endpoint; + + if (_ju.isString(ep)) { + endpoint = _e(ep, endpointArgs); + } + else if (_ju.isArray(ep)) { + endpointArgs = _ju.merge(ep[1], endpointArgs); + endpoint = _e(ep[0], endpointArgs); + } + else { + endpoint = ep.clone(); + } + + // assign a clone function using a copy of endpointArgs. this is used when a drag starts: the endpoint that was dragged is cloned, + // and the clone is left in its place while the original one goes off on a magical journey. + // the copy is to get around a closure problem, in which endpointArgs ends up getting shared by + // the whole world. + //var argsForClone = jsPlumb.extend({}, endpointArgs); + endpoint.clone = function () { + // TODO this, and the code above, can be refactored to be more dry. + if (_ju.isString(ep)) { + return _e(ep, endpointArgs); + } + else if (_ju.isArray(ep)) { + endpointArgs = _ju.merge(ep[1], endpointArgs); + return _e(ep[0], endpointArgs); + } + }.bind(this); + + endpoint.typeId = typeId; + return endpoint; + }; + + this.setEndpoint = function(ep, doNotRepaint) { + var _ep = this.prepareEndpoint(ep); + this.setPreparedEndpoint(_ep, true); + }; + + this.setPreparedEndpoint = function (ep, doNotRepaint) { + if (this.endpoint != null) { + this.endpoint.cleanup(); + this.endpoint.destroy(); + } + this.endpoint = ep; + this.type = this.endpoint.type; + this.canvas = this.endpoint.canvas; + }; + + _jp.extend(this, params, typeParameters); + + this.isSource = params.isSource || false; + this.isTemporarySource = params.isTemporarySource || false; + this.isTarget = params.isTarget || false; + + this.connections = params.connections || []; + this.connectorPointerEvents = params["connector-pointer-events"]; + + this.scope = params.scope || _jsPlumb.getDefaultScope(); + this.timestamp = null; + this.reattachConnections = params.reattach || _jsPlumb.Defaults.ReattachConnections; + this.connectionsDetachable = _jsPlumb.Defaults.ConnectionsDetachable; + if (params.connectionsDetachable === false || params.detachable === false) { + this.connectionsDetachable = false; + } + this.dragAllowedWhenFull = params.dragAllowedWhenFull !== false; + + if (params.onMaxConnections) { + this.bind("maxConnections", params.onMaxConnections); + } + + // + // add a connection. not part of public API. + // + this.addConnection = function (connection) { + this.connections.push(connection); + this[(this.connections.length > 0 ? "add" : "remove") + "Class"](_jsPlumb.endpointConnectedClass); + this[(this.isFull() ? "add" : "remove") + "Class"](_jsPlumb.endpointFullClass); + }; + + this.detachFromConnection = function (connection, idx, doNotCleanup) { + idx = idx == null ? this.connections.indexOf(connection) : idx; + if (idx >= 0) { + this.connections.splice(idx, 1); + this[(this.connections.length > 0 ? "add" : "remove") + "Class"](_jsPlumb.endpointConnectedClass); + this[(this.isFull() ? "add" : "remove") + "Class"](_jsPlumb.endpointFullClass); + } + + if (!doNotCleanup && deleteOnEmpty && this.connections.length === 0) { + _jsPlumb.deleteObject({ + endpoint: this, + fireEvent: false, + deleteAttachedObjects: doNotCleanup !== true + }); + } + }; + + this.deleteEveryConnection = function(params) { + var c = this.connections.length; + for (var i = 0; i < c; i++) { + _jsPlumb.deleteConnection(this.connections[0], params); + } + }; + + this.detachFrom = function (targetEndpoint, fireEvent, originalEvent) { + var c = []; + for (var i = 0; i < this.connections.length; i++) { + if (this.connections[i].endpoints[1] === targetEndpoint || this.connections[i].endpoints[0] === targetEndpoint) { + c.push(this.connections[i]); + } + } + for (var j = 0, count = c.length; j < count; j++) { + _jsPlumb.deleteConnection(c[0]); + } + return this; + }; + + this.getElement = function () { + return this.element; + }; + + this.setElement = function (el) { + var parentId = this._jsPlumb.instance.getId(el), + curId = this.elementId; + // remove the endpoint from the list for the current endpoint's element + _ju.removeWithFunction(params.endpointsByElement[this.elementId], function (e) { + return e.id === this.id; + }.bind(this)); + this.element = _jp.getElement(el); + this.elementId = _jsPlumb.getId(this.element); + _jsPlumb.anchorManager.rehomeEndpoint(this, curId, this.element); + _jsPlumb.dragManager.endpointAdded(this.element); + _ju.addToList(params.endpointsByElement, parentId, this); + return this; + }; + + /** + * private but must be exposed. + */ + this.makeInPlaceCopy = function () { + var loc = this.anchor.getCurrentLocation({element: this}), + o = this.anchor.getOrientation(this), + acc = this.anchor.getCssClass(), + inPlaceAnchor = { + bind: function () { + }, + compute: function () { + return [ loc[0], loc[1] ]; + }, + getCurrentLocation: function () { + return [ loc[0], loc[1] ]; + }, + getOrientation: function () { + return o; + }, + getCssClass: function () { + return acc; + } + }; + + return _newEndpoint({ + dropOptions: params.dropOptions, + anchor: inPlaceAnchor, + source: this.element, + paintStyle: this.getPaintStyle(), + endpoint: params.hideOnDrag ? "Blank" : this.endpoint, + _transient: true, + scope: this.scope, + reference:this + }); + }; + + /** + * returns a connection from the pool; used when dragging starts. just gets the head of the array if it can. + */ + this.connectorSelector = function () { + return this.connections[0]; + }; + + this.setStyle = this.setPaintStyle; + + this.paint = function (params) { + params = params || {}; + var timestamp = params.timestamp, recalc = !(params.recalc === false); + if (!timestamp || this.timestamp !== timestamp) { + + var info = _jsPlumb.updateOffset({ elId: this.elementId, timestamp: timestamp }); + + var xy = params.offset ? params.offset.o : info.o; + if (xy != null) { + var ap = params.anchorPoint, connectorPaintStyle = params.connectorPaintStyle; + if (ap == null) { + var wh = params.dimensions || info.s, + anchorParams = { xy: [ xy.left, xy.top ], wh: wh, element: this, timestamp: timestamp }; + if (recalc && this.anchor.isDynamic && this.connections.length > 0) { + var c = findConnectionToUseForDynamicAnchor(this, params.elementWithPrecedence), + oIdx = c.endpoints[0] === this ? 1 : 0, + oId = oIdx === 0 ? c.sourceId : c.targetId, + oInfo = _jsPlumb.getCachedData(oId), + oOffset = oInfo.o, oWH = oInfo.s; + + anchorParams.index = oIdx === 0 ? 1 : 0; + anchorParams.connection = c; + anchorParams.txy = [ oOffset.left, oOffset.top ]; + anchorParams.twh = oWH; + anchorParams.tElement = c.endpoints[oIdx]; + } else if (this.connections.length > 0) { + anchorParams.connection = this.connections[0]; + } + ap = this.anchor.compute(anchorParams); + } + + this.endpoint.compute(ap, this.anchor.getOrientation(this), this._jsPlumb.paintStyleInUse, connectorPaintStyle || this.paintStyleInUse); + this.endpoint.paint(this._jsPlumb.paintStyleInUse, this.anchor); + this.timestamp = timestamp; + + // paint overlays + for (var i in this._jsPlumb.overlays) { + if (this._jsPlumb.overlays.hasOwnProperty(i)) { + var o = this._jsPlumb.overlays[i]; + if (o.isVisible()) { + this._jsPlumb.overlayPlacements[i] = o.draw(this.endpoint, this._jsPlumb.paintStyleInUse); + o.paint(this._jsPlumb.overlayPlacements[i]); + } + } + } + } + } + }; + + this.getTypeDescriptor = function () { + return "endpoint"; + }; + this.isVisible = function () { + return this._jsPlumb.visible; + }; + + this.repaint = this.paint; + + var draggingInitialised = false; + this.initDraggable = function () { + + // is this a connection source? we make it draggable and have the + // drag listener maintain a connection with a floating endpoint. + if (!draggingInitialised && _jp.isDragSupported(this.element)) { + var placeholderInfo = { id: null, element: null }, + jpc = null, + existingJpc = false, + existingJpcParams = null, + _dragHandler = _makeConnectionDragHandler(this, placeholderInfo, _jsPlumb), + dragOptions = params.dragOptions || {}, + defaultOpts = {}, + startEvent = _jp.dragEvents.start, + stopEvent = _jp.dragEvents.stop, + dragEvent = _jp.dragEvents.drag, + beforeStartEvent = _jp.dragEvents.beforeStart, + payload; + + // respond to beforeStart from katavorio; this will have, optionally, a payload of attribute values + // that were placed there by the makeSource mousedown listener. + var beforeStart = function(beforeStartParams) { + payload = beforeStartParams.e.payload || {}; + }; + + var start = function (startParams) { + +// ------------- first, get a connection to drag. this may be null, in which case we are dragging a new one. + + jpc = this.connectorSelector(); + +// -------------------------------- now a bunch of tests about whether or not to proceed ------------------------- + + var _continue = true; + // if not enabled, return + if (!this.isEnabled()) { + _continue = false; + } + // if no connection and we're not a source - or temporarily a source, as is the case with makeSource - return. + if (jpc == null && !this.isSource && !this.isTemporarySource) { + _continue = false; + } + // otherwise if we're full and not allowed to drag, also return false. + if (this.isSource && this.isFull() && !(jpc != null && this.dragAllowedWhenFull)) { + _continue = false; + } + // if the connection was setup as not detachable or one of its endpoints + // was setup as connectionsDetachable = false, or Defaults.ConnectionsDetachable + // is set to false... + if (jpc != null && !jpc.isDetachable(this)) { + // .. and the endpoint is full + if (this.isFull()) { + _continue = false; + } else { + // otherwise, if not full, set the connection to null, and we will now proceed + // to drag a new connection. + jpc = null; + } + } + + var beforeDrag = _jsPlumb.checkCondition(jpc == null ? "beforeDrag" : "beforeStartDetach", { + endpoint:this, + source:this.element, + sourceId:this.elementId, + connection:jpc + }); + if (beforeDrag === false) { + _continue = false; + } + // else we might have been given some data. we'll pass it in to a new connection as 'data'. + // here we also merge in the optional payload we were given on mousedown. + else if (typeof beforeDrag === "object") { + _jp.extend(beforeDrag, payload || {}); + } + else { + // or if no beforeDrag data, maybe use the payload on its own. + beforeDrag = payload || {}; + } + + if (_continue === false) { + // this is for mootools and yui. returning false from this causes jquery to stop drag. + // the events are wrapped in both mootools and yui anyway, but i don't think returning + // false from the start callback would stop a drag. + if (_jsPlumb.stopDrag) { + _jsPlumb.stopDrag(this.canvas); + } + _dragHandler.stopDrag(); + return false; + } + +// --------------------------------------------------------------------------------------------------------------------- + + // ok to proceed. + + // clear hover for all connections for this endpoint before continuing. + for (var i = 0; i < this.connections.length; i++) { + this.connections[i].setHover(false); + } + + this.addClass("endpointDrag"); + _jsPlumb.setConnectionBeingDragged(true); + + // if we're not full but there was a connection, make it null. we'll create a new one. + if (jpc && !this.isFull() && this.isSource) { + jpc = null; + } + + _jsPlumb.updateOffset({ elId: this.elementId }); + +// ---------------- make the element we will drag around, and position it ----------------------------- + + var ipco = this._jsPlumb.instance.getOffset(this.canvas), + canvasElement = this.canvas, + ips = this._jsPlumb.instance.getSize(this.canvas); + + _makeDraggablePlaceholder(placeholderInfo, _jsPlumb, ipco, ips); + + // store the id of the dragging div and the source element. the drop function will pick these up. + _jsPlumb.setAttributes(this.canvas, { + "dragId": placeholderInfo.id, + "elId": this.elementId + }); + +// ------------------- create an endpoint that will be our floating endpoint ------------------------------------ + + var endpointToFloat = this.dragProxy || this.endpoint; + if (this.dragProxy == null && this.connectionType != null) { + var aae = this._jsPlumb.instance.deriveEndpointAndAnchorSpec(this.connectionType); + if (aae.endpoints[1]) { + endpointToFloat = aae.endpoints[1]; + } + } + var centerAnchor = this._jsPlumb.instance.makeAnchor("Center"); + centerAnchor.isFloating = true; + this._jsPlumb.floatingEndpoint = _makeFloatingEndpoint(this.getPaintStyle(), centerAnchor, endpointToFloat, this.canvas, placeholderInfo.element, _jsPlumb, _newEndpoint, this.scope); + var _savedAnchor = this._jsPlumb.floatingEndpoint.anchor; + + + if (jpc == null) { + + this.setHover(false, false); + // create a connection. one end is this endpoint, the other is a floating endpoint. + jpc = _newConnection({ + sourceEndpoint: this, + targetEndpoint: this._jsPlumb.floatingEndpoint, + source: this.element, // for makeSource with parent option. ensure source element is represented correctly. + target: placeholderInfo.element, + anchors: [ this.anchor, this._jsPlumb.floatingEndpoint.anchor ], + paintStyle: params.connectorStyle, // this can be null. Connection will use the default. + hoverPaintStyle: params.connectorHoverStyle, + connector: params.connector, // this can also be null. Connection will use the default. + overlays: params.connectorOverlays, + type: this.connectionType, + cssClass: this.connectorClass, + hoverClass: this.connectorHoverClass, + scope:params.scope, + data:beforeDrag + }); + jpc.pending = true; + jpc.addClass(_jsPlumb.draggingClass); + this._jsPlumb.floatingEndpoint.addClass(_jsPlumb.draggingClass); + this._jsPlumb.floatingEndpoint.anchor = _savedAnchor; + // fire an event that informs that a connection is being dragged + _jsPlumb.fire("connectionDrag", jpc); + + // register the new connection on the drag manager. This connection, at this point, is 'pending', + // and has as its target a temporary element (the 'placeholder'). If the connection subsequently + // becomes established, the anchor manager is informed that the target of the connection has + // changed. + + _jsPlumb.anchorManager.newConnection(jpc); + + } else { + existingJpc = true; + jpc.setHover(false); + // new anchor idx + var anchorIdx = jpc.endpoints[0].id === this.id ? 0 : 1; + this.detachFromConnection(jpc, null, true); // detach from the connection while dragging is occurring. but dont cleanup automatically. + + // store the original scope (issue 57) + var dragScope = _jsPlumb.getDragScope(canvasElement); + _jsPlumb.setAttribute(this.canvas, "originalScope", dragScope); + + // fire an event that informs that a connection is being dragged. we do this before + // replacing the original target with the floating element info. + _jsPlumb.fire("connectionDrag", jpc); + + // now we replace ourselves with the temporary div we created above: + if (anchorIdx === 0) { + existingJpcParams = [ jpc.source, jpc.sourceId, canvasElement, dragScope ]; + _jsPlumb.anchorManager.sourceChanged(jpc.endpoints[anchorIdx].elementId, placeholderInfo.id, jpc, placeholderInfo.element); + + } else { + existingJpcParams = [ jpc.target, jpc.targetId, canvasElement, dragScope ]; + jpc.target = placeholderInfo.element; + jpc.targetId = placeholderInfo.id; + + _jsPlumb.anchorManager.updateOtherEndpoint(jpc.sourceId, jpc.endpoints[anchorIdx].elementId, jpc.targetId, jpc); + } + + // store the original endpoint and assign the new floating endpoint for the drag. + jpc.suspendedEndpoint = jpc.endpoints[anchorIdx]; + + // PROVIDE THE SUSPENDED ELEMENT, BE IT A SOURCE OR TARGET (ISSUE 39) + jpc.suspendedElement = jpc.endpoints[anchorIdx].getElement(); + jpc.suspendedElementId = jpc.endpoints[anchorIdx].elementId; + jpc.suspendedElementType = anchorIdx === 0 ? "source" : "target"; + + jpc.suspendedEndpoint.setHover(false); + this._jsPlumb.floatingEndpoint.referenceEndpoint = jpc.suspendedEndpoint; + jpc.endpoints[anchorIdx] = this._jsPlumb.floatingEndpoint; + + jpc.addClass(_jsPlumb.draggingClass); + this._jsPlumb.floatingEndpoint.addClass(_jsPlumb.draggingClass); + } + + _jsPlumb.registerFloatingConnection(placeholderInfo, jpc, this._jsPlumb.floatingEndpoint); + + // // register it and register connection on it. + // _jsPlumb.floatingConnections[placeholderInfo.id] = jpc; + // + // // only register for the target endpoint; we will not be dragging the source at any time + // // before this connection is either discarded or made into a permanent connection. + // _ju.addToList(params.endpointsByElement, placeholderInfo.id, this._jsPlumb.floatingEndpoint); + + + // tell jsplumb about it + _jsPlumb.currentlyDragging = true; + }.bind(this); + + var stop = function () { + _jsPlumb.setConnectionBeingDragged(false); + + if (jpc && jpc.endpoints != null) { + // get the actual drop event (decode from library args to stop function) + var originalEvent = _jsPlumb.getDropEvent(arguments); + // unlock the other endpoint (if it is dynamic, it would have been locked at drag start) + var idx = _jsPlumb.getFloatingAnchorIndex(jpc); + jpc.endpoints[idx === 0 ? 1 : 0].anchor.unlock(); + // TODO: Dont want to know about css classes inside jsplumb, ideally. + jpc.removeClass(_jsPlumb.draggingClass); + + // if we have the floating endpoint then the connection has not been dropped + // on another endpoint. If it is a new connection we throw it away. If it is an + // existing connection we check to see if we should reattach it, throwing it away + // if not. + if (this._jsPlumb && (jpc.deleteConnectionNow || jpc.endpoints[idx] === this._jsPlumb.floatingEndpoint)) { + // 6a. if the connection was an existing one... + if (existingJpc && jpc.suspendedEndpoint) { + // fix for issue35, thanks Sylvain Gizard: when firing the detach event make sure the + // floating endpoint has been replaced. + if (idx === 0) { + jpc.floatingElement = jpc.source; + jpc.floatingId = jpc.sourceId; + jpc.floatingEndpoint = jpc.endpoints[0]; + jpc.floatingIndex = 0; + jpc.source = existingJpcParams[0]; + jpc.sourceId = existingJpcParams[1]; + } else { + // keep a copy of the floating element; the anchor manager will want to clean up. + jpc.floatingElement = jpc.target; + jpc.floatingId = jpc.targetId; + jpc.floatingEndpoint = jpc.endpoints[1]; + jpc.floatingIndex = 1; + jpc.target = existingJpcParams[0]; + jpc.targetId = existingJpcParams[1]; + } + + var fe = this._jsPlumb.floatingEndpoint; // store for later removal. + // restore the original scope (issue 57) + _jsPlumb.setDragScope(existingJpcParams[2], existingJpcParams[3]); + jpc.endpoints[idx] = jpc.suspendedEndpoint; + // if the connection should be reattached, or the other endpoint refuses detach, then + // reset the connection to its original state + if (jpc.isReattach() || jpc._forceReattach || jpc._forceDetach || !_jsPlumb.deleteConnection(jpc, {originalEvent: originalEvent})) { + + jpc.setHover(false); + jpc._forceDetach = null; + jpc._forceReattach = null; + this._jsPlumb.floatingEndpoint.detachFromConnection(jpc); + jpc.suspendedEndpoint.addConnection(jpc); + + // TODO this code is duplicated in lots of places...and there is nothing external + // in the code; it all refers to the connection itself. we could add a + // `checkSanity(connection)` method to anchorManager that did this. + if (idx === 1) { + _jsPlumb.anchorManager.updateOtherEndpoint(jpc.sourceId, jpc.floatingId, jpc.targetId, jpc); + } + else { + _jsPlumb.anchorManager.sourceChanged(jpc.floatingId, jpc.sourceId, jpc, jpc.source); + } + + _jsPlumb.repaint(existingJpcParams[1]); + } + else { + _jsPlumb.deleteObject({endpoint: fe}); + } + } + } + + // makeTargets sets this flag, to tell us we have been replaced and should delete this object. + if (this.deleteAfterDragStop) { + _jsPlumb.deleteObject({endpoint: this}); + } + else { + if (this._jsPlumb) { + this.paint({recalc: false}); + } + } + + // although the connection is no longer valid, there are use cases where this is useful. + _jsPlumb.fire("connectionDragStop", jpc, originalEvent); + // fire this event to give people more fine-grained control (connectionDragStop fires a lot) + if (jpc.pending) { + _jsPlumb.fire("connectionAborted", jpc, originalEvent); + } + // tell jsplumb that dragging is finished. + _jsPlumb.currentlyDragging = false; + jpc.suspendedElement = null; + jpc.suspendedEndpoint = null; + jpc = null; + } + + // if no endpoints, jpc already cleaned up. but still we want to ensure we're reset properly. + // remove the element associated with the floating endpoint + // (and its associated floating endpoint and visual artefacts) + if (placeholderInfo && placeholderInfo.element) { + _jsPlumb.remove(placeholderInfo.element, false, false); + } + // remove the inplace copy + if (inPlaceCopy) { + _jsPlumb.deleteObject({endpoint: inPlaceCopy}); + } + + if (this._jsPlumb) { + // make our canvas visible (TODO: hand off to library; we should not know about DOM) + this.canvas.style.visibility = "visible"; + // unlock our anchor + this.anchor.unlock(); + // clear floating anchor. + this._jsPlumb.floatingEndpoint = null; + } + + }.bind(this); + + dragOptions = _jp.extend(defaultOpts, dragOptions); + dragOptions.scope = this.scope || dragOptions.scope; + dragOptions[beforeStartEvent] = _ju.wrap(dragOptions[beforeStartEvent], beforeStart, false); + dragOptions[startEvent] = _ju.wrap(dragOptions[startEvent], start, false); + // extracted drag handler function so can be used by makeSource + dragOptions[dragEvent] = _ju.wrap(dragOptions[dragEvent], _dragHandler.drag); + dragOptions[stopEvent] = _ju.wrap(dragOptions[stopEvent], stop); + dragOptions.multipleDrop = false; + + dragOptions.canDrag = function () { + return this.isSource || this.isTemporarySource || (this.connections.length > 0 && this.connectionsDetachable !== false); + }.bind(this); + + _jsPlumb.initDraggable(this.canvas, dragOptions, "internal"); + + this.canvas._jsPlumbRelatedElement = this.element; + + draggingInitialised = true; + } + }; + + var ep = params.endpoint || this._jsPlumb.instance.Defaults.Endpoint || _jp.Defaults.Endpoint; + this.setEndpoint(ep, true); + var anchorParamsToUse = params.anchor ? params.anchor : params.anchors ? params.anchors : (_jsPlumb.Defaults.Anchor || "Top"); + this.setAnchor(anchorParamsToUse, true); + + // finally, set type if it was provided + var type = [ "default", (params.type || "")].join(" "); + this.addType(type, params.data, true); + this.canvas = this.endpoint.canvas; + this.canvas._jsPlumb = this; + + this.initDraggable(); + + // pulled this out into a function so we can reuse it for the inPlaceCopy canvas; you can now drop detached connections + // back onto the endpoint you detached it from. + var _initDropTarget = function (canvas, isTransient, endpoint, referenceEndpoint) { + + if (_jp.isDropSupported(this.element)) { + var dropOptions = params.dropOptions || _jsPlumb.Defaults.DropOptions || _jp.Defaults.DropOptions; + dropOptions = _jp.extend({}, dropOptions); + dropOptions.scope = dropOptions.scope || this.scope; + var dropEvent = _jp.dragEvents.drop, + overEvent = _jp.dragEvents.over, + outEvent = _jp.dragEvents.out, + _ep = this, + drop = _jsPlumb.EndpointDropHandler({ + getEndpoint: function () { + return _ep; + }, + jsPlumb: _jsPlumb, + enabled: function () { + return endpoint != null ? endpoint.isEnabled() : true; + }, + isFull: function () { + return endpoint.isFull(); + }, + element: this.element, + elementId: this.elementId, + isSource: this.isSource, + isTarget: this.isTarget, + addClass: function (clazz) { + _ep.addClass(clazz); + }, + removeClass: function (clazz) { + _ep.removeClass(clazz); + }, + isDropAllowed: function () { + return _ep.isDropAllowed.apply(_ep, arguments); + }, + reference:referenceEndpoint, + isRedrop:function(jpc, dhParams) { + return jpc.suspendedEndpoint && dhParams.reference && (jpc.suspendedEndpoint.id === dhParams.reference.id); + } + }); + + dropOptions[dropEvent] = _ju.wrap(dropOptions[dropEvent], drop, true); + dropOptions[overEvent] = _ju.wrap(dropOptions[overEvent], function () { + var draggable = _jp.getDragObject(arguments), + id = _jsPlumb.getAttribute(_jp.getElement(draggable), "dragId"), + _jpc = _jsPlumb.getFloatingConnectionFor(id);//_jsPlumb.floatingConnections[id]; + + if (_jpc != null) { + var idx = _jsPlumb.getFloatingAnchorIndex(_jpc); + // here we should fire the 'over' event if we are a target and this is a new connection, + // or we are the same as the floating endpoint. + var _cont = (this.isTarget && idx !== 0) || (_jpc.suspendedEndpoint && this.referenceEndpoint && this.referenceEndpoint.id === _jpc.suspendedEndpoint.id); + if (_cont) { + var bb = _jsPlumb.checkCondition("checkDropAllowed", { + sourceEndpoint: _jpc.endpoints[idx], + targetEndpoint: this, + connection: _jpc + }); + this[(bb ? "add" : "remove") + "Class"](_jsPlumb.endpointDropAllowedClass); + this[(bb ? "remove" : "add") + "Class"](_jsPlumb.endpointDropForbiddenClass); + _jpc.endpoints[idx].anchor.over(this.anchor, this); + } + } + }.bind(this)); + + dropOptions[outEvent] = _ju.wrap(dropOptions[outEvent], function () { + var draggable = _jp.getDragObject(arguments), + id = draggable == null ? null : _jsPlumb.getAttribute(_jp.getElement(draggable), "dragId"), + _jpc = id ? _jsPlumb.getFloatingConnectionFor(id) : null; + + if (_jpc != null) { + var idx = _jsPlumb.getFloatingAnchorIndex(_jpc); + var _cont = (this.isTarget && idx !== 0) || (_jpc.suspendedEndpoint && this.referenceEndpoint && this.referenceEndpoint.id === _jpc.suspendedEndpoint.id); + if (_cont) { + this.removeClass(_jsPlumb.endpointDropAllowedClass); + this.removeClass(_jsPlumb.endpointDropForbiddenClass); + _jpc.endpoints[idx].anchor.out(); + } + } + }.bind(this)); + + _jsPlumb.initDroppable(canvas, dropOptions, "internal", isTransient); + } + }.bind(this); + + // Initialise the endpoint's canvas as a drop target. The drop handler will take care of the logic of whether + // something can actually be dropped. + if (!this.anchor.isFloating) { + _initDropTarget(this.canvas, !(params._transient || this.anchor.isFloating), this, params.reference); + } + + return this; + }; + + _ju.extend(_jp.Endpoint, _jp.OverlayCapableJsPlumbUIComponent, { + + setVisible: function (v, doNotChangeConnections, doNotNotifyOtherEndpoint) { + this._jsPlumb.visible = v; + if (this.canvas) { + this.canvas.style.display = v ? "block" : "none"; + } + this[v ? "showOverlays" : "hideOverlays"](); + if (!doNotChangeConnections) { + for (var i = 0; i < this.connections.length; i++) { + this.connections[i].setVisible(v); + if (!doNotNotifyOtherEndpoint) { + var oIdx = this === this.connections[i].endpoints[0] ? 1 : 0; + // only change the other endpoint if this is its only connection. + if (this.connections[i].endpoints[oIdx].connections.length === 1) { + this.connections[i].endpoints[oIdx].setVisible(v, true, true); + } + } + } + } + }, + getAttachedElements: function () { + return this.connections; + }, + applyType: function (t, doNotRepaint) { + this.setPaintStyle(t.endpointStyle || t.paintStyle, doNotRepaint); + this.setHoverPaintStyle(t.endpointHoverStyle || t.hoverPaintStyle, doNotRepaint); + if (t.maxConnections != null) { + this._jsPlumb.maxConnections = t.maxConnections; + } + if (t.scope) { + this.scope = t.scope; + } + _jp.extend(this, t, typeParameters); + if (t.cssClass != null && this.canvas) { + this._jsPlumb.instance.addClass(this.canvas, t.cssClass); + } + _jp.OverlayCapableJsPlumbUIComponent.applyType(this, t); + }, + isEnabled: function () { + return this._jsPlumb.enabled; + }, + setEnabled: function (e) { + this._jsPlumb.enabled = e; + }, + cleanup: function () { + var anchorClass = this._jsPlumb.instance.endpointAnchorClassPrefix + (this._jsPlumb.currentAnchorClass ? "-" + this._jsPlumb.currentAnchorClass : ""); + _jp.removeClass(this.element, anchorClass); + this.anchor = null; + this.endpoint.cleanup(true); + this.endpoint.destroy(); + this.endpoint = null; + // drag/drop + this._jsPlumb.instance.destroyDraggable(this.canvas, "internal"); + this._jsPlumb.instance.destroyDroppable(this.canvas, "internal"); + }, + setHover: function (h) { + if (this.endpoint && this._jsPlumb && !this._jsPlumb.instance.isConnectionBeingDragged()) { + this.endpoint.setHover(h); + } + }, + isFull: function () { + return this._jsPlumb.maxConnections === 0 ? true : !(this.isFloating() || this._jsPlumb.maxConnections < 0 || this.connections.length < this._jsPlumb.maxConnections); + }, + /** + * private but needs to be exposed. + */ + isFloating: function () { + return this.anchor != null && this.anchor.isFloating; + }, + isConnectedTo: function (endpoint) { + var found = false; + if (endpoint) { + for (var i = 0; i < this.connections.length; i++) { + if (this.connections[i].endpoints[1] === endpoint || this.connections[i].endpoints[0] === endpoint) { + found = true; + break; + } + } + } + return found; + }, + getConnectionCost: function () { + return this._jsPlumb.connectionCost; + }, + setConnectionCost: function (c) { + this._jsPlumb.connectionCost = c; + }, + areConnectionsDirected: function () { + return this._jsPlumb.connectionsDirected; + }, + setConnectionsDirected: function (b) { + this._jsPlumb.connectionsDirected = b; + }, + setElementId: function (_elId) { + this.elementId = _elId; + this.anchor.elementId = _elId; + }, + setReferenceElement: function (_el) { + this.element = _jp.getElement(_el); + }, + setDragAllowedWhenFull: function (allowed) { + this.dragAllowedWhenFull = allowed; + }, + equals: function (endpoint) { + return this.anchor.equals(endpoint.anchor); + }, + getUuid: function () { + return this._jsPlumb.uuid; + }, + computeAnchor: function (params) { + return this.anchor.compute(params); + } + }); + + root.jsPlumbInstance.prototype.EndpointDropHandler = function (dhParams) { + return function (e) { + + var _jsPlumb = dhParams.jsPlumb; + + // remove the classes that are added dynamically. drop is neither forbidden nor allowed now that + // the drop is finishing. + dhParams.removeClass(_jsPlumb.endpointDropAllowedClass); + dhParams.removeClass(_jsPlumb.endpointDropForbiddenClass); + + var originalEvent = _jsPlumb.getDropEvent(arguments), + draggable = _jsPlumb.getDragObject(arguments), + id = _jsPlumb.getAttribute(draggable, "dragId"), + elId = _jsPlumb.getAttribute(draggable, "elId"), + scope = _jsPlumb.getAttribute(draggable, "originalScope"), + jpc = _jsPlumb.getFloatingConnectionFor(id); + + // if no active connection, bail. + if (jpc == null) { + return; + } + + // calculate if this is an existing connection. + var existingConnection = jpc.suspendedEndpoint != null; + + // if suspended endpoint exists but has been cleaned up, bail. This means it's an existing connection + // that has been detached and will shortly be discarded. + if (existingConnection && jpc.suspendedEndpoint._jsPlumb == null) { + return; + } + + // get the drop endpoint. for a normal connection this is just the one that would replace the currently + // floating endpoint. for a makeTarget this is a new endpoint that is created on drop. But we leave that to + // the handler to figure out. + var _ep = dhParams.getEndpoint(jpc); + + // If we're not given an endpoint to use, bail. + if (_ep == null) { + return; + } + + // if this is a drop back where the connection came from, mark it force reattach and + // return; the stop handler will reattach. without firing an event. + if (dhParams.isRedrop(jpc, dhParams)) { + jpc._forceReattach = true; + jpc.setHover(false); + if (dhParams.maybeCleanup) { + dhParams.maybeCleanup(_ep); + } + return; + } + + // ensure we dont bother trying to drop sources on non-source eps, and same for target. + var idx = _jsPlumb.getFloatingAnchorIndex(jpc); + if ((idx === 0 && !dhParams.isSource)|| (idx === 1 && !dhParams.isTarget)){ + if (dhParams.maybeCleanup) { + dhParams.maybeCleanup(_ep); + } + return; + } + + if (dhParams.onDrop) { + dhParams.onDrop(jpc); + } + + // restore the original scope if necessary (issue 57) + if (scope) { + _jsPlumb.setDragScope(draggable, scope); + } + + // if the target of the drop is full, fire an event (we abort below) + // makeTarget: keep. + var isFull = dhParams.isFull(e); + if (isFull) { + _ep.fire("maxConnections", { + endpoint: this, + connection: jpc, + maxConnections: _ep._jsPlumb.maxConnections + }, originalEvent); + } + // + // if endpoint enabled, not full, and matches the index of the floating endpoint... + if (!isFull && dhParams.enabled()) { + var _doContinue = true; + + // before testing for beforeDrop, reset the connection's source/target to be the actual DOM elements + // involved (that is, stash any temporary stuff used for dragging. but we need to keep it around in + // order that the anchor manager can clean things up properly). + if (idx === 0) { + jpc.floatingElement = jpc.source; + jpc.floatingId = jpc.sourceId; + jpc.floatingEndpoint = jpc.endpoints[0]; + jpc.floatingIndex = 0; + jpc.source = dhParams.element; + jpc.sourceId = _jsPlumb.getId(dhParams.element); + } else { + jpc.floatingElement = jpc.target; + jpc.floatingId = jpc.targetId; + jpc.floatingEndpoint = jpc.endpoints[1]; + jpc.floatingIndex = 1; + jpc.target = dhParams.element; + jpc.targetId = _jsPlumb.getId(dhParams.element); + } + + // if this is an existing connection and detach is not allowed we won't continue. The connection's + // endpoints have been reinstated; everything is back to how it was. + if (existingConnection && jpc.suspendedEndpoint.id !== _ep.id) { + if (!jpc.isDetachAllowed(jpc) || !jpc.endpoints[idx].isDetachAllowed(jpc) || !jpc.suspendedEndpoint.isDetachAllowed(jpc) || !_jsPlumb.checkCondition("beforeDetach", jpc)) { + _doContinue = false; + } + } + +// ------------ wrap the execution path in a function so we can support asynchronous beforeDrop + + var continueFunction = function (optionalData) { + // remove this jpc from the current endpoint, which is a floating endpoint that we will + // subsequently discard. + jpc.endpoints[idx].detachFromConnection(jpc); + + // if there's a suspended endpoint, detach it from the connection. + if (jpc.suspendedEndpoint) { + jpc.suspendedEndpoint.detachFromConnection(jpc); + } + + jpc.endpoints[idx] = _ep; + _ep.addConnection(jpc); + + // copy our parameters in to the connection: + var params = _ep.getParameters(); + for (var aParam in params) { + jpc.setParameter(aParam, params[aParam]); + } + + if (!existingConnection) { + // if not an existing connection and + if (params.draggable) { + _jsPlumb.initDraggable(this.element, dhParams.dragOptions, "internal", _jsPlumb); + } + } + else { + var suspendedElementId = jpc.suspendedEndpoint.elementId; + _jsPlumb.fireMoveEvent({ + index: idx, + originalSourceId: idx === 0 ? suspendedElementId : jpc.sourceId, + newSourceId: idx === 0 ? _ep.elementId : jpc.sourceId, + originalTargetId: idx === 1 ? suspendedElementId : jpc.targetId, + newTargetId: idx === 1 ? _ep.elementId : jpc.targetId, + originalSourceEndpoint: idx === 0 ? jpc.suspendedEndpoint : jpc.endpoints[0], + newSourceEndpoint: idx === 0 ? _ep : jpc.endpoints[0], + originalTargetEndpoint: idx === 1 ? jpc.suspendedEndpoint : jpc.endpoints[1], + newTargetEndpoint: idx === 1 ? _ep : jpc.endpoints[1], + connection: jpc + }, originalEvent); + } + + if (idx === 1) { + _jsPlumb.anchorManager.updateOtherEndpoint(jpc.sourceId, jpc.floatingId, jpc.targetId, jpc); + } + else { + _jsPlumb.anchorManager.sourceChanged(jpc.floatingId, jpc.sourceId, jpc, jpc.source); + } + + // when makeSource has uniqueEndpoint:true, we want to create connections with new endpoints + // that are subsequently deleted. So makeSource sets `finalEndpoint`, which is the Endpoint to + // which the connection should be attached. The `detachFromConnection` call below results in the + // temporary endpoint being cleaned up. + if (jpc.endpoints[0].finalEndpoint) { + var _toDelete = jpc.endpoints[0]; + _toDelete.detachFromConnection(jpc); + jpc.endpoints[0] = jpc.endpoints[0].finalEndpoint; + jpc.endpoints[0].addConnection(jpc); + } + + // if optionalData was given, merge it onto the connection's data. + if (_ju.isObject(optionalData)) { + jpc.mergeData(optionalData); + } + // finalise will inform the anchor manager and also add to + // connectionsByScope if necessary. + _jsPlumb.finaliseConnection(jpc, null, originalEvent, false); + jpc.setHover(false); + + // SP continuous anchor flush + _jsPlumb.revalidate(jpc.endpoints[0].element); + + }.bind(this); + + var dontContinueFunction = function () { + // otherwise just put it back on the endpoint it was on before the drag. + if (jpc.suspendedEndpoint) { + jpc.endpoints[idx] = jpc.suspendedEndpoint; + jpc.setHover(false); + jpc._forceDetach = true; + if (idx === 0) { + jpc.source = jpc.suspendedEndpoint.element; + jpc.sourceId = jpc.suspendedEndpoint.elementId; + } else { + jpc.target = jpc.suspendedEndpoint.element; + jpc.targetId = jpc.suspendedEndpoint.elementId; + } + jpc.suspendedEndpoint.addConnection(jpc); + + // TODO checkSanity + if (idx === 1) { + _jsPlumb.anchorManager.updateOtherEndpoint(jpc.sourceId, jpc.floatingId, jpc.targetId, jpc); + } + else { + _jsPlumb.anchorManager.sourceChanged(jpc.floatingId, jpc.sourceId, jpc, jpc.source); + } + + _jsPlumb.repaint(jpc.sourceId); + jpc._forceDetach = false; + } + }; + +// -------------------------------------- + // now check beforeDrop. this will be available only on Endpoints that are setup to + // have a beforeDrop condition (although, secretly, under the hood all Endpoints and + // the Connection have them, because they are on jsPlumbUIComponent. shhh!), because + // it only makes sense to have it on a target endpoint. + _doContinue = _doContinue && dhParams.isDropAllowed(jpc.sourceId, jpc.targetId, jpc.scope, jpc, _ep);// && jpc.pending; + + if (_doContinue) { + continueFunction(_doContinue); + return true; + } + else { + dontContinueFunction(); + } + } + + if (dhParams.maybeCleanup) { + dhParams.maybeCleanup(_ep); + } + + _jsPlumb.currentlyDragging = false; + }; + }; +}).call(typeof window !== 'undefined' ? window : this); + +/* + * This file contains the code for Connections. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + + "use strict"; + var root = this, + _jp = root.jsPlumb, + _ju = root.jsPlumbUtil; + + var makeConnector = function (_jsPlumb, renderMode, connectorName, connectorArgs, forComponent) { + // first make sure we have a cache for the specified renderer + _jp.Connectors[renderMode] = _jp.Connectors[renderMode] || {}; + + // now see if the one we want exists; if not we will try to make it + if (_jp.Connectors[renderMode][connectorName] == null) { + + if (_jp.Connectors[connectorName] == null) { + if (!_jsPlumb.Defaults.DoNotThrowErrors) { + throw new TypeError("jsPlumb: unknown connector type '" + connectorName + "'"); + } else { + return null; + } + } + + _jp.Connectors[renderMode][connectorName] = function() { + _jp.Connectors[connectorName].apply(this, arguments); + _jp.ConnectorRenderers[renderMode].apply(this, arguments); + }; + + _ju.extend(_jp.Connectors[renderMode][connectorName], [ _jp.Connectors[connectorName], _jp.ConnectorRenderers[renderMode]]); + + } + + return new _jp.Connectors[renderMode][connectorName](connectorArgs, forComponent); + }, + _makeAnchor = function (anchorParams, elementId, _jsPlumb) { + return (anchorParams) ? _jsPlumb.makeAnchor(anchorParams, elementId, _jsPlumb) : null; + }, + _updateConnectedClass = function (conn, element, _jsPlumb, remove) { + if (element != null) { + element._jsPlumbConnections = element._jsPlumbConnections || {}; + if (remove) { + delete element._jsPlumbConnections[conn.id]; + } + else { + element._jsPlumbConnections[conn.id] = true; + } + + if (_ju.isEmpty(element._jsPlumbConnections)) { + _jsPlumb.removeClass(element, _jsPlumb.connectedClass); + } + else { + _jsPlumb.addClass(element, _jsPlumb.connectedClass); + } + } + }; + + _jp.Connection = function (params) { + var _newEndpoint = params.newEndpoint; + + this.id = params.id; + this.connector = null; + this.idPrefix = "_jsplumb_c_"; + this.defaultLabelLocation = 0.5; + this.defaultOverlayKeys = ["Overlays", "ConnectionOverlays"]; + // if a new connection is the result of moving some existing connection, params.previousConnection + // will have that Connection in it. listeners for the jsPlumbConnection event can look for that + // member and take action if they need to. + this.previousConnection = params.previousConnection; + this.source = _jp.getElement(params.source); + this.target = _jp.getElement(params.target); + + + _jp.OverlayCapableJsPlumbUIComponent.apply(this, arguments); + + // sourceEndpoint and targetEndpoint override source/target, if they are present. but + // source is not overridden if the Endpoint has declared it is not the final target of a connection; + // instead we use the source that the Endpoint declares will be the final source element. + if (params.sourceEndpoint) { + this.source = params.sourceEndpoint.getElement(); + this.sourceId = params.sourceEndpoint.elementId; + } else { + this.sourceId = this._jsPlumb.instance.getId(this.source); + } + + if (params.targetEndpoint) { + this.target = params.targetEndpoint.getElement(); + this.targetId = params.targetEndpoint.elementId; + } else { + this.targetId = this._jsPlumb.instance.getId(this.target); + } + + + this.scope = params.scope; // scope may have been passed in to the connect call. if it wasn't, we will pull it from the source endpoint, after having initialised the endpoints. + this.endpoints = []; + this.endpointStyles = []; + + var _jsPlumb = this._jsPlumb.instance; + + _jsPlumb.manage(this.sourceId, this.source); + _jsPlumb.manage(this.targetId, this.target); + + this._jsPlumb.visible = true; + + this._jsPlumb.params = { + cssClass: params.cssClass, + container: params.container, + "pointer-events": params["pointer-events"], + editorParams: params.editorParams, + overlays: params.overlays + }; + this._jsPlumb.lastPaintedAt = null; + + // listen to mouseover and mouseout events passed from the container delegate. + this.bind("mouseover", function () { + this.setHover(true); + }.bind(this)); + this.bind("mouseout", function () { + this.setHover(false); + }.bind(this)); + + +// INITIALISATION CODE + + this.makeEndpoint = function (isSource, el, elId, ep, definition) { + elId = elId || this._jsPlumb.instance.getId(el); + return this.prepareEndpoint(_jsPlumb, _newEndpoint, this, ep, isSource ? 0 : 1, params, el, elId, definition); + }; + + // if type given, get the endpoint definitions mapping to that type from the jsplumb instance, and use those. + // we apply types at the end of this constructor but endpoints are only honoured in a type definition at + // create time. + if (params.type) { + params.endpoints = params.endpoints || this._jsPlumb.instance.deriveEndpointAndAnchorSpec(params.type).endpoints; + } + + var eS = this.makeEndpoint(true, this.source, this.sourceId, params.sourceEndpoint), + eT = this.makeEndpoint(false, this.target, this.targetId, params.targetEndpoint); + + if (eS) { + _ju.addToList(params.endpointsByElement, this.sourceId, eS); + } + if (eT) { + _ju.addToList(params.endpointsByElement, this.targetId, eT); + } + // if scope not set, set it to be the scope for the source endpoint. + if (!this.scope) { + this.scope = this.endpoints[0].scope; + } + + // if explicitly told to (or not to) delete endpoints when empty, override endpoint's preferences + if (params.deleteEndpointsOnEmpty != null) { + this.endpoints[0].setDeleteOnEmpty(params.deleteEndpointsOnEmpty); + this.endpoints[1].setDeleteOnEmpty(params.deleteEndpointsOnEmpty); + } + +// -------------------------- DEFAULT TYPE --------------------------------------------- + + // DETACHABLE + var _detachable = _jsPlumb.Defaults.ConnectionsDetachable; + if (params.detachable === false) { + _detachable = false; + } + if (this.endpoints[0].connectionsDetachable === false) { + _detachable = false; + } + if (this.endpoints[1].connectionsDetachable === false) { + _detachable = false; + } + // REATTACH + var _reattach = params.reattach || this.endpoints[0].reattachConnections || this.endpoints[1].reattachConnections || _jsPlumb.Defaults.ReattachConnections; + + this.appendToDefaultType({ + detachable: _detachable, + reattach: _reattach, + paintStyle:this.endpoints[0].connectorStyle || this.endpoints[1].connectorStyle || params.paintStyle || _jsPlumb.Defaults.PaintStyle || _jp.Defaults.PaintStyle, + hoverPaintStyle:this.endpoints[0].connectorHoverStyle || this.endpoints[1].connectorHoverStyle || params.hoverPaintStyle || _jsPlumb.Defaults.HoverPaintStyle || _jp.Defaults.HoverPaintStyle + }); + + var _suspendedAt = _jsPlumb.getSuspendedAt(); + if (!_jsPlumb.isSuspendDrawing()) { + // paint the endpoints + var myInfo = _jsPlumb.getCachedData(this.sourceId), + myOffset = myInfo.o, myWH = myInfo.s, + otherInfo = _jsPlumb.getCachedData(this.targetId), + otherOffset = otherInfo.o, + otherWH = otherInfo.s, + initialTimestamp = _suspendedAt || _jsPlumb.timestamp(), + anchorLoc = this.endpoints[0].anchor.compute({ + xy: [ myOffset.left, myOffset.top ], wh: myWH, element: this.endpoints[0], + elementId: this.endpoints[0].elementId, + txy: [ otherOffset.left, otherOffset.top ], twh: otherWH, tElement: this.endpoints[1], + timestamp: initialTimestamp + }); + + this.endpoints[0].paint({ anchorLoc: anchorLoc, timestamp: initialTimestamp }); + + anchorLoc = this.endpoints[1].anchor.compute({ + xy: [ otherOffset.left, otherOffset.top ], wh: otherWH, element: this.endpoints[1], + elementId: this.endpoints[1].elementId, + txy: [ myOffset.left, myOffset.top ], twh: myWH, tElement: this.endpoints[0], + timestamp: initialTimestamp + }); + this.endpoints[1].paint({ anchorLoc: anchorLoc, timestamp: initialTimestamp }); + } + + this.getTypeDescriptor = function () { + return "connection"; + }; + this.getAttachedElements = function () { + return this.endpoints; + }; + + this.isDetachable = function (ep) { + return this._jsPlumb.detachable === false ? false : ep != null ? ep.connectionsDetachable === true : this._jsPlumb.detachable === true; + }; + this.setDetachable = function (detachable) { + this._jsPlumb.detachable = detachable === true; + }; + this.isReattach = function () { + return this._jsPlumb.reattach === true || this.endpoints[0].reattachConnections === true || this.endpoints[1].reattachConnections === true; + }; + this.setReattach = function (reattach) { + this._jsPlumb.reattach = reattach === true; + }; + +// END INITIALISATION CODE + + +// COST + DIRECTIONALITY + // if cost not supplied, try to inherit from source endpoint + this._jsPlumb.cost = params.cost || this.endpoints[0].getConnectionCost(); + this._jsPlumb.directed = params.directed; + // inherit directed flag if set no source endpoint + if (params.directed == null) { + this._jsPlumb.directed = this.endpoints[0].areConnectionsDirected(); + } +// END COST + DIRECTIONALITY + +// PARAMETERS + // merge all the parameters objects into the connection. parameters set + // on the connection take precedence; then source endpoint params, then + // finally target endpoint params. + var _p = _jp.extend({}, this.endpoints[1].getParameters()); + _jp.extend(_p, this.endpoints[0].getParameters()); + _jp.extend(_p, this.getParameters()); + this.setParameters(_p); +// END PARAMETERS + +// PAINTING + + this.setConnector(this.endpoints[0].connector || this.endpoints[1].connector || params.connector || _jsPlumb.Defaults.Connector || _jp.Defaults.Connector, true); + var data = params.data == null || !_ju.isObject(params.data) ? {} : params.data; + this.getData = function() { return data; }; + this.setData = function(d) { data = d || {}; }; + this.mergeData = function(d) { data = _jp.extend(data, d); }; + + // the very last thing we do is apply types, if there are any. + var _types = [ "default", this.endpoints[0].connectionType, this.endpoints[1].connectionType, params.type ].join(" "); + if (/[^\s]/.test(_types)) { + this.addType(_types, params.data, true); + } + + this.updateConnectedClass(); + +// END PAINTING + }; + + _ju.extend(_jp.Connection, _jp.OverlayCapableJsPlumbUIComponent, { + applyType: function (t, doNotRepaint, typeMap) { + + var _connector = null; + if (t.connector != null) { + _connector = this.getCachedTypeItem("connector", typeMap.connector); + if (_connector == null) { + _connector = this.prepareConnector(t.connector, typeMap.connector); + this.cacheTypeItem("connector", _connector, typeMap.connector); + } + this.setPreparedConnector(_connector); + } + + // none of these things result in the creation of objects so can be ignored. + if (t.detachable != null) { + this.setDetachable(t.detachable); + } + if (t.reattach != null) { + this.setReattach(t.reattach); + } + if (t.scope) { + this.scope = t.scope; + } + + if (t.cssClass != null && this.canvas) { + this._jsPlumb.instance.addClass(this.canvas, t.cssClass); + } + + var _anchors = null; + // this also results in the creation of objects. + if (t.anchor) { + // note that even if the param was anchor, we store `anchors`. + _anchors = this.getCachedTypeItem("anchors", typeMap.anchor); + if (_anchors == null) { + _anchors = [ this._jsPlumb.instance.makeAnchor(t.anchor), this._jsPlumb.instance.makeAnchor(t.anchor) ]; + this.cacheTypeItem("anchors", _anchors, typeMap.anchor); + } + } + else if (t.anchors) { + _anchors = this.getCachedTypeItem("anchors", typeMap.anchors); + if (_anchors == null) { + _anchors = [ + this._jsPlumb.instance.makeAnchor(t.anchors[0]), + this._jsPlumb.instance.makeAnchor(t.anchors[1]) + ]; + this.cacheTypeItem("anchors", _anchors, typeMap.anchors); + } + } + if (_anchors != null) { + this.endpoints[0].anchor = _anchors[0]; + this.endpoints[1].anchor = _anchors[1]; + if (this.endpoints[1].anchor.isDynamic) { + this._jsPlumb.instance.repaint(this.endpoints[1].elementId); + } + } + + _jp.OverlayCapableJsPlumbUIComponent.applyType(this, t); + }, + addClass: function (c, informEndpoints) { + if (informEndpoints) { + this.endpoints[0].addClass(c); + this.endpoints[1].addClass(c); + if (this.suspendedEndpoint) { + this.suspendedEndpoint.addClass(c); + } + } + if (this.connector) { + this.connector.addClass(c); + } + }, + removeClass: function (c, informEndpoints) { + if (informEndpoints) { + this.endpoints[0].removeClass(c); + this.endpoints[1].removeClass(c); + if (this.suspendedEndpoint) { + this.suspendedEndpoint.removeClass(c); + } + } + if (this.connector) { + this.connector.removeClass(c); + } + }, + isVisible: function () { + return this._jsPlumb.visible; + }, + setVisible: function (v) { + this._jsPlumb.visible = v; + if (this.connector) { + this.connector.setVisible(v); + } + this.repaint(); + }, + cleanup: function () { + this.updateConnectedClass(true); + this.endpoints = null; + this.source = null; + this.target = null; + if (this.connector != null) { + this.connector.cleanup(true); + this.connector.destroy(true); + } + this.connector = null; + }, + updateConnectedClass:function(remove) { + if (this._jsPlumb) { + _updateConnectedClass(this, this.source, this._jsPlumb.instance, remove); + _updateConnectedClass(this, this.target, this._jsPlumb.instance, remove); + } + }, + setHover: function (state) { + if (this.connector && this._jsPlumb && !this._jsPlumb.instance.isConnectionBeingDragged()) { + this.connector.setHover(state); + root.jsPlumb[state ? "addClass" : "removeClass"](this.source, this._jsPlumb.instance.hoverSourceClass); + root.jsPlumb[state ? "addClass" : "removeClass"](this.target, this._jsPlumb.instance.hoverTargetClass); + } + }, + getUuids:function() { + return [ this.endpoints[0].getUuid(), this.endpoints[1].getUuid() ]; + }, + getCost: function () { + return this._jsPlumb ? this._jsPlumb.cost : -Infinity; + }, + setCost: function (c) { + this._jsPlumb.cost = c; + }, + isDirected: function () { + return this._jsPlumb.directed; + }, + getConnector: function () { + return this.connector; + }, + prepareConnector:function(connectorSpec, typeId) { + var connectorArgs = { + _jsPlumb: this._jsPlumb.instance, + cssClass: this._jsPlumb.params.cssClass, + container: this._jsPlumb.params.container, + "pointer-events": this._jsPlumb.params["pointer-events"] + }, + renderMode = this._jsPlumb.instance.getRenderMode(), + connector; + + if (_ju.isString(connectorSpec)) { + connector = makeConnector(this._jsPlumb.instance, renderMode, connectorSpec, connectorArgs, this); + } // lets you use a string as shorthand. + else if (_ju.isArray(connectorSpec)) { + if (connectorSpec.length === 1) { + connector = makeConnector(this._jsPlumb.instance, renderMode, connectorSpec[0], connectorArgs, this); + } + else { + connector = makeConnector(this._jsPlumb.instance, renderMode, connectorSpec[0], _ju.merge(connectorSpec[1], connectorArgs), this); + } + } + if (typeId != null) { + connector.typeId = typeId; + } + return connector; + }, + setPreparedConnector: function(connector, doNotRepaint, doNotChangeListenerComponent, typeId) { + + if (this.connector !== connector) { + + var previous, previousClasses = ""; + // the connector will not be cleaned up if it was set as part of a type, because `typeId` will be set on it + // and we havent passed in `true` for "force" here. + if (this.connector != null) { + previous = this.connector; + previousClasses = previous.getClass(); + this.connector.cleanup(); + this.connector.destroy(); + } + + this.connector = connector; + if (typeId) { + this.cacheTypeItem("connector", connector, typeId); + } + + this.canvas = this.connector.canvas; + this.bgCanvas = this.connector.bgCanvas; + + this.connector.reattach(this._jsPlumb.instance); + + // put classes from prior connector onto the canvas + this.addClass(previousClasses); + + // new: instead of binding listeners per connector, we now just have one delegate on the container. + // so for that handler we set the connection as the '_jsPlumb' member of the canvas element, and + // bgCanvas, if it exists, which it does right now in the VML renderer, so it won't from v 2.0.0 onwards. + if (this.canvas) { + this.canvas._jsPlumb = this; + } + if (this.bgCanvas) { + this.bgCanvas._jsPlumb = this; + } + + if (previous != null) { + var o = this.getOverlays(); + for (var i = 0; i < o.length; i++) { + if (o[i].transfer) { + o[i].transfer(this.connector); + } + } + } + + if (!doNotChangeListenerComponent) { + this.setListenerComponent(this.connector); + } + if (!doNotRepaint) { + this.repaint(); + } + } + }, + setConnector: function (connectorSpec, doNotRepaint, doNotChangeListenerComponent, typeId) { + var connector = this.prepareConnector(connectorSpec, typeId); + this.setPreparedConnector(connector, doNotRepaint, doNotChangeListenerComponent, typeId); + }, + paint: function (params) { + + if (!this._jsPlumb.instance.isSuspendDrawing() && this._jsPlumb.visible) { + params = params || {}; + var timestamp = params.timestamp, + // if the moving object is not the source we must transpose the two references. + swap = false, + tId = swap ? this.sourceId : this.targetId, sId = swap ? this.targetId : this.sourceId, + tIdx = swap ? 0 : 1, sIdx = swap ? 1 : 0; + + if (timestamp == null || timestamp !== this._jsPlumb.lastPaintedAt) { + var sourceInfo = this._jsPlumb.instance.updateOffset({elId:sId}).o, + targetInfo = this._jsPlumb.instance.updateOffset({elId:tId}).o, + sE = this.endpoints[sIdx], tE = this.endpoints[tIdx]; + + var sAnchorP = sE.anchor.getCurrentLocation({xy: [sourceInfo.left, sourceInfo.top], wh: [sourceInfo.width, sourceInfo.height], element: sE, timestamp: timestamp}), + tAnchorP = tE.anchor.getCurrentLocation({xy: [targetInfo.left, targetInfo.top], wh: [targetInfo.width, targetInfo.height], element: tE, timestamp: timestamp}); + + this.connector.resetBounds(); + + this.connector.compute({ + sourcePos: sAnchorP, + targetPos: tAnchorP, + sourceOrientation:sE.anchor.getOrientation(sE), + targetOrientation:tE.anchor.getOrientation(tE), + sourceEndpoint: this.endpoints[sIdx], + targetEndpoint: this.endpoints[tIdx], + "stroke-width": this._jsPlumb.paintStyleInUse.strokeWidth, + sourceInfo: sourceInfo, + targetInfo: targetInfo + }); + + var overlayExtents = { minX: Infinity, minY: Infinity, maxX: -Infinity, maxY: -Infinity }; + + // compute overlays. we do this first so we can get their placements, and adjust the + // container if needs be (if an overlay would be clipped) + for (var i in this._jsPlumb.overlays) { + if (this._jsPlumb.overlays.hasOwnProperty(i)) { + var o = this._jsPlumb.overlays[i]; + if (o.isVisible()) { + this._jsPlumb.overlayPlacements[i] = o.draw(this.connector, this._jsPlumb.paintStyleInUse, this.getAbsoluteOverlayPosition(o)); + overlayExtents.minX = Math.min(overlayExtents.minX, this._jsPlumb.overlayPlacements[i].minX); + overlayExtents.maxX = Math.max(overlayExtents.maxX, this._jsPlumb.overlayPlacements[i].maxX); + overlayExtents.minY = Math.min(overlayExtents.minY, this._jsPlumb.overlayPlacements[i].minY); + overlayExtents.maxY = Math.max(overlayExtents.maxY, this._jsPlumb.overlayPlacements[i].maxY); + } + } + } + + var lineWidth = parseFloat(this._jsPlumb.paintStyleInUse.strokeWidth || 1) / 2, + outlineWidth = parseFloat(this._jsPlumb.paintStyleInUse.strokeWidth || 0), + extents = { + xmin: Math.min(this.connector.bounds.minX - (lineWidth + outlineWidth), overlayExtents.minX), + ymin: Math.min(this.connector.bounds.minY - (lineWidth + outlineWidth), overlayExtents.minY), + xmax: Math.max(this.connector.bounds.maxX + (lineWidth + outlineWidth), overlayExtents.maxX), + ymax: Math.max(this.connector.bounds.maxY + (lineWidth + outlineWidth), overlayExtents.maxY) + }; + // paint the connector. + this.connector.paintExtents = extents; + this.connector.paint(this._jsPlumb.paintStyleInUse, null, extents); + // and then the overlays + for (var j in this._jsPlumb.overlays) { + if (this._jsPlumb.overlays.hasOwnProperty(j)) { + var p = this._jsPlumb.overlays[j]; + if (p.isVisible()) { + p.paint(this._jsPlumb.overlayPlacements[j], extents); + } + } + } + } + this._jsPlumb.lastPaintedAt = timestamp; + } + }, + repaint: function (params) { + var p = jsPlumb.extend(params || {}, {}); + p.elId = this.sourceId; + this.paint(p); + }, + prepareEndpoint: function (_jsPlumb, _newEndpoint, conn, existing, index, params, element, elementId, definition) { + var e; + if (existing) { + conn.endpoints[index] = existing; + existing.addConnection(conn); + } else { + if (!params.endpoints) { + params.endpoints = [ null, null ]; + } + var ep = definition || params.endpoints[index] || params.endpoint || _jsPlumb.Defaults.Endpoints[index] || _jp.Defaults.Endpoints[index] || _jsPlumb.Defaults.Endpoint || _jp.Defaults.Endpoint; + if (!params.endpointStyles) { + params.endpointStyles = [ null, null ]; + } + if (!params.endpointHoverStyles) { + params.endpointHoverStyles = [ null, null ]; + } + var es = params.endpointStyles[index] || params.endpointStyle || _jsPlumb.Defaults.EndpointStyles[index] || _jp.Defaults.EndpointStyles[index] || _jsPlumb.Defaults.EndpointStyle || _jp.Defaults.EndpointStyle; + // Endpoints derive their fill from the connector's stroke, if no fill was specified. + if (es.fill == null && params.paintStyle != null) { + es.fill = params.paintStyle.stroke; + } + + if (es.outlineStroke == null && params.paintStyle != null) { + es.outlineStroke = params.paintStyle.outlineStroke; + } + if (es.outlineWidth == null && params.paintStyle != null) { + es.outlineWidth = params.paintStyle.outlineWidth; + } + + var ehs = params.endpointHoverStyles[index] || params.endpointHoverStyle || _jsPlumb.Defaults.EndpointHoverStyles[index] || _jp.Defaults.EndpointHoverStyles[index] || _jsPlumb.Defaults.EndpointHoverStyle || _jp.Defaults.EndpointHoverStyle; + // endpoint hover fill style is derived from connector's hover stroke style + if (params.hoverPaintStyle != null) { + if (ehs == null) { + ehs = {}; + } + if (ehs.fill == null) { + ehs.fill = params.hoverPaintStyle.stroke; + } + } + var a = params.anchors ? params.anchors[index] : + params.anchor ? params.anchor : + _makeAnchor(_jsPlumb.Defaults.Anchors[index], elementId, _jsPlumb) || + _makeAnchor(_jp.Defaults.Anchors[index], elementId, _jsPlumb) || + _makeAnchor(_jsPlumb.Defaults.Anchor, elementId, _jsPlumb) || + _makeAnchor(_jp.Defaults.Anchor, elementId, _jsPlumb), + u = params.uuids ? params.uuids[index] : null; + + e = _newEndpoint({ + paintStyle: es, hoverPaintStyle: ehs, endpoint: ep, connections: [ conn ], + uuid: u, anchor: a, source: element, scope: params.scope, + reattach: params.reattach || _jsPlumb.Defaults.ReattachConnections, + detachable: params.detachable || _jsPlumb.Defaults.ConnectionsDetachable + }); + if (existing == null) { + e.setDeleteOnEmpty(true); + } + conn.endpoints[index] = e; + + if (params.drawEndpoints === false) { + e.setVisible(false, true, true); + } + + } + return e; + }, + replaceEndpoint:function(idx, endpointDef) { + + var current = this.endpoints[idx], + elId = current.elementId, + ebe = this._jsPlumb.instance.getEndpoints(elId), + _idx = ebe.indexOf(current), + _new = this.makeEndpoint(idx === 0, current.element, elId, null, endpointDef); + + this.endpoints[idx] = _new; + + ebe.splice(_idx, 1, _new); + this._jsPlumb.instance.deleteObject({endpoint:current, deleteAttachedObjects:false}); + this._jsPlumb.instance.fire("endpointReplaced", {previous:current, current:_new}); + + this._jsPlumb.instance.anchorManager.updateOtherEndpoint(this.endpoints[0].elementId, this.endpoints[1].elementId, this.endpoints[1].elementId, this); + + } + + }); // END Connection class +}).call(typeof window !== 'undefined' ? window : this); + +/* + * This file contains the code for creating and manipulating anchors. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + + "use strict"; + + var root = this, + _ju = root.jsPlumbUtil, + _jp = root.jsPlumb; + + // + // manages anchors for all elements. + // + _jp.AnchorManager = function (params) { + var _amEndpoints = {}, + continuousAnchorLocations = {}, + continuousAnchorOrientations = {}, + connectionsByElementId = {}, + self = this, + anchorLists = {}, + jsPlumbInstance = params.jsPlumbInstance, + floatingConnections = {}, + // used by placeAnchors function + placeAnchorsOnLine = function (desc, elementDimensions, elementPosition, connections, horizontal, otherMultiplier, reverse) { + var a = [], step = elementDimensions[horizontal ? 0 : 1] / (connections.length + 1); + + for (var i = 0; i < connections.length; i++) { + var val = (i + 1) * step, other = otherMultiplier * elementDimensions[horizontal ? 1 : 0]; + if (reverse) { + val = elementDimensions[horizontal ? 0 : 1] - val; + } + + var dx = (horizontal ? val : other), x = elementPosition[0] + dx, xp = dx / elementDimensions[0], + dy = (horizontal ? other : val), y = elementPosition[1] + dy, yp = dy / elementDimensions[1]; + + a.push([ x, y, xp, yp, connections[i][1], connections[i][2] ]); + } + + return a; + }, + rightAndBottomSort = function(a, b) { + return b[0][0] - a[0][0]; + }, + // used by edgeSortFunctions + leftAndTopSort = function (a, b) { + var p1 = a[0][0] < 0 ? -Math.PI - a[0][0] : Math.PI - a[0][0], + p2 = b[0][0] < 0 ? -Math.PI - b[0][0] : Math.PI - b[0][0]; + + return p1 - p2; + }, + // used by placeAnchors + edgeSortFunctions = { + "top":leftAndTopSort, + "right": rightAndBottomSort, + "bottom": rightAndBottomSort, + "left": leftAndTopSort + }, + // used by placeAnchors + _sortHelper = function (_array, _fn) { + return _array.sort(_fn); + }, + // used by AnchorManager.redraw + placeAnchors = function (elementId, _anchorLists) { + var cd = jsPlumbInstance.getCachedData(elementId), sS = cd.s, sO = cd.o, + placeSomeAnchors = function (desc, elementDimensions, elementPosition, unsortedConnections, isHorizontal, otherMultiplier, orientation) { + if (unsortedConnections.length > 0) { + var sc = _sortHelper(unsortedConnections, edgeSortFunctions[desc]), // puts them in order based on the target element's pos on screen + reverse = desc === "right" || desc === "top", + anchors = placeAnchorsOnLine(desc, elementDimensions, + elementPosition, sc, + isHorizontal, otherMultiplier, reverse); + + // takes a computed anchor position and adjusts it for parent offset and scroll, then stores it. + var _setAnchorLocation = function (endpoint, anchorPos) { + continuousAnchorLocations[endpoint.id] = [ anchorPos[0], anchorPos[1], anchorPos[2], anchorPos[3] ]; + continuousAnchorOrientations[endpoint.id] = orientation; + }; + + for (var i = 0; i < anchors.length; i++) { + var c = anchors[i][4], weAreSource = c.endpoints[0].elementId === elementId, weAreTarget = c.endpoints[1].elementId === elementId; + if (weAreSource) { + _setAnchorLocation(c.endpoints[0], anchors[i]); + } + if (weAreTarget) { + _setAnchorLocation(c.endpoints[1], anchors[i]); + } + } + } + }; + + placeSomeAnchors("bottom", sS, [sO.left, sO.top], _anchorLists.bottom, true, 1, [0, 1]); + placeSomeAnchors("top", sS, [sO.left, sO.top], _anchorLists.top, true, 0, [0, -1]); + placeSomeAnchors("left", sS, [sO.left, sO.top], _anchorLists.left, false, 0, [-1, 0]); + placeSomeAnchors("right", sS, [sO.left, sO.top], _anchorLists.right, false, 1, [1, 0]); + }; + + this.reset = function () { + _amEndpoints = {}; + connectionsByElementId = {}; + anchorLists = {}; + }; + this.addFloatingConnection = function (key, conn) { + floatingConnections[key] = conn; + }; + this.removeFloatingConnection = function (key) { + delete floatingConnections[key]; + }; + this.newConnection = function (conn) { + var sourceId = conn.sourceId, targetId = conn.targetId, + ep = conn.endpoints, + doRegisterTarget = true, + registerConnection = function (otherIndex, otherEndpoint, otherAnchor, elId, c) { + if ((sourceId === targetId) && otherAnchor.isContinuous) { + // remove the target endpoint's canvas. we dont need it. + conn._jsPlumb.instance.removeElement(ep[1].canvas); + doRegisterTarget = false; + } + _ju.addToList(connectionsByElementId, elId, [c, otherEndpoint, otherAnchor.constructor === _jp.DynamicAnchor]); + }; + + registerConnection(0, ep[0], ep[0].anchor, targetId, conn); + if (doRegisterTarget) { + registerConnection(1, ep[1], ep[1].anchor, sourceId, conn); + } + }; + var removeEndpointFromAnchorLists = function (endpoint) { + (function (list, eId) { + if (list) { // transient anchors dont get entries in this list. + var f = function (e) { + return e[4] === eId; + }; + _ju.removeWithFunction(list.top, f); + _ju.removeWithFunction(list.left, f); + _ju.removeWithFunction(list.bottom, f); + _ju.removeWithFunction(list.right, f); + } + })(anchorLists[endpoint.elementId], endpoint.id); + }; + this.connectionDetached = function (connInfo, doNotRedraw) { + var connection = connInfo.connection || connInfo, + sourceId = connInfo.sourceId, + targetId = connInfo.targetId, + ep = connection.endpoints, + removeConnection = function (otherIndex, otherEndpoint, otherAnchor, elId, c) { + _ju.removeWithFunction(connectionsByElementId[elId], function (_c) { + return _c[0].id === c.id; + }); + }; + + removeConnection(1, ep[1], ep[1].anchor, sourceId, connection); + removeConnection(0, ep[0], ep[0].anchor, targetId, connection); + if (connection.floatingId) { + removeConnection(connection.floatingIndex, connection.floatingEndpoint, connection.floatingEndpoint.anchor, connection.floatingId, connection); + removeEndpointFromAnchorLists(connection.floatingEndpoint); + } + + // remove from anchorLists + removeEndpointFromAnchorLists(connection.endpoints[0]); + removeEndpointFromAnchorLists(connection.endpoints[1]); + + if (!doNotRedraw) { + self.redraw(connection.sourceId); + if (connection.targetId !== connection.sourceId) { + self.redraw(connection.targetId); + } + } + }; + this.add = function (endpoint, elementId) { + _ju.addToList(_amEndpoints, elementId, endpoint); + }; + this.changeId = function (oldId, newId) { + connectionsByElementId[newId] = connectionsByElementId[oldId]; + _amEndpoints[newId] = _amEndpoints[oldId]; + delete connectionsByElementId[oldId]; + delete _amEndpoints[oldId]; + }; + this.getConnectionsFor = function (elementId) { + return connectionsByElementId[elementId] || []; + }; + this.getEndpointsFor = function (elementId) { + return _amEndpoints[elementId] || []; + }; + this.deleteEndpoint = function (endpoint) { + _ju.removeWithFunction(_amEndpoints[endpoint.elementId], function (e) { + return e.id === endpoint.id; + }); + removeEndpointFromAnchorLists(endpoint); + }; + this.clearFor = function (elementId) { + delete _amEndpoints[elementId]; + _amEndpoints[elementId] = []; + }; + // updates the given anchor list by either updating an existing anchor's info, or adding it. this function + // also removes the anchor from its previous list, if the edge it is on has changed. + // all connections found along the way (those that are connected to one of the faces this function + // operates on) are added to the connsToPaint list, as are their endpoints. in this way we know to repaint + // them wthout having to calculate anything else about them. + var _updateAnchorList = function (lists, theta, order, conn, aBoolean, otherElId, idx, reverse, edgeId, elId, connsToPaint, endpointsToPaint) { + // first try to find the exact match, but keep track of the first index of a matching element id along the way.s + var exactIdx = -1, + firstMatchingElIdx = -1, + endpoint = conn.endpoints[idx], + endpointId = endpoint.id, + oIdx = [1, 0][idx], + values = [ + [ theta, order ], + conn, + aBoolean, + otherElId, + endpointId + ], + listToAddTo = lists[edgeId], + listToRemoveFrom = endpoint._continuousAnchorEdge ? lists[endpoint._continuousAnchorEdge] : null, + i, + candidate; + + if (listToRemoveFrom) { + var rIdx = _ju.findWithFunction(listToRemoveFrom, function (e) { + return e[4] === endpointId; + }); + if (rIdx !== -1) { + listToRemoveFrom.splice(rIdx, 1); + // get all connections from this list + for (i = 0; i < listToRemoveFrom.length; i++) { + candidate = listToRemoveFrom[i][1]; + _ju.addWithFunction(connsToPaint, candidate, function (c) { + return c.id === candidate.id; + }); + _ju.addWithFunction(endpointsToPaint, listToRemoveFrom[i][1].endpoints[idx], function (e) { + return e.id === candidate.endpoints[idx].id; + }); + _ju.addWithFunction(endpointsToPaint, listToRemoveFrom[i][1].endpoints[oIdx], function (e) { + return e.id === candidate.endpoints[oIdx].id; + }); + } + } + } + + for (i = 0; i < listToAddTo.length; i++) { + candidate = listToAddTo[i][1]; + if (params.idx === 1 && listToAddTo[i][3] === otherElId && firstMatchingElIdx === -1) { + firstMatchingElIdx = i; + } + _ju.addWithFunction(connsToPaint, candidate, function (c) { + return c.id === candidate.id; + }); + _ju.addWithFunction(endpointsToPaint, listToAddTo[i][1].endpoints[idx], function (e) { + return e.id === candidate.endpoints[idx].id; + }); + _ju.addWithFunction(endpointsToPaint, listToAddTo[i][1].endpoints[oIdx], function (e) { + return e.id === candidate.endpoints[oIdx].id; + }); + } + if (exactIdx !== -1) { + listToAddTo[exactIdx] = values; + } + else { + var insertIdx = reverse ? firstMatchingElIdx !== -1 ? firstMatchingElIdx : 0 : listToAddTo.length; // of course we will get this from having looked through the array shortly. + listToAddTo.splice(insertIdx, 0, values); + } + + // store this for next time. + endpoint._continuousAnchorEdge = edgeId; + }; + + // + // find the entry in an endpoint's list for this connection and update its target endpoint + // with the current target in the connection. + // This method and sourceChanged need to be folder into one. + // + this.updateOtherEndpoint = function (sourceElId, oldTargetId, newTargetId, connection) { + var sIndex = _ju.findWithFunction(connectionsByElementId[sourceElId], function (i) { + return i[0].id === connection.id; + }), + tIndex = _ju.findWithFunction(connectionsByElementId[oldTargetId], function (i) { + return i[0].id === connection.id; + }); + + // update or add data for source + if (sIndex !== -1) { + connectionsByElementId[sourceElId][sIndex][0] = connection; + connectionsByElementId[sourceElId][sIndex][1] = connection.endpoints[1]; + connectionsByElementId[sourceElId][sIndex][2] = connection.endpoints[1].anchor.constructor === _jp.DynamicAnchor; + } + + // remove entry for previous target (if there) + if (tIndex > -1) { + connectionsByElementId[oldTargetId].splice(tIndex, 1); + // add entry for new target + _ju.addToList(connectionsByElementId, newTargetId, [connection, connection.endpoints[0], connection.endpoints[0].anchor.constructor === _jp.DynamicAnchor]); + } + + connection.updateConnectedClass(); + }; + + // + // notification that the connection given has changed source from the originalId to the newId. + // This involves: + // 1. removing the connection from the list of connections stored for the originalId + // 2. updating the source information for the target of the connection + // 3. re-registering the connection in connectionsByElementId with the newId + // + this.sourceChanged = function (originalId, newId, connection, newElement) { + if (originalId !== newId) { + + connection.sourceId = newId; + connection.source = newElement; + + // remove the entry that points from the old source to the target + _ju.removeWithFunction(connectionsByElementId[originalId], function (info) { + return info[0].id === connection.id; + }); + // find entry for target and update it + var tIdx = _ju.findWithFunction(connectionsByElementId[connection.targetId], function (i) { + return i[0].id === connection.id; + }); + if (tIdx > -1) { + connectionsByElementId[connection.targetId][tIdx][0] = connection; + connectionsByElementId[connection.targetId][tIdx][1] = connection.endpoints[0]; + connectionsByElementId[connection.targetId][tIdx][2] = connection.endpoints[0].anchor.constructor === _jp.DynamicAnchor; + } + // add entry for new source + _ju.addToList(connectionsByElementId, newId, [connection, connection.endpoints[1], connection.endpoints[1].anchor.constructor === _jp.DynamicAnchor]); + + // TODO SP not final on this yet. when a user drags an existing connection and it turns into a self + // loop, then this code hides the target endpoint (by removing it from the DOM) But I think this should + // occur only if the anchor is Continuous + if (connection.endpoints[1].anchor.isContinuous) { + if (connection.source === connection.target) { + connection._jsPlumb.instance.removeElement(connection.endpoints[1].canvas); + } + else { + if (connection.endpoints[1].canvas.parentNode == null) { + connection._jsPlumb.instance.appendElement(connection.endpoints[1].canvas); + } + } + } + + connection.updateConnectedClass(); + } + }; + + // + // moves the given endpoint from `currentId` to `element`. + // This involves: + // + // 1. changing the key in _amEndpoints under which the endpoint is stored + // 2. changing the source or target values in all of the endpoint's connections + // 3. changing the array in connectionsByElementId in which the endpoint's connections + // are stored (done by either sourceChanged or updateOtherEndpoint) + // + this.rehomeEndpoint = function (ep, currentId, element) { + var eps = _amEndpoints[currentId] || [], + elementId = jsPlumbInstance.getId(element); + + if (elementId !== currentId) { + var idx = eps.indexOf(ep); + if (idx > -1) { + var _ep = eps.splice(idx, 1)[0]; + self.add(_ep, elementId); + } + } + + for (var i = 0; i < ep.connections.length; i++) { + if (ep.connections[i].sourceId === currentId) { + self.sourceChanged(currentId, ep.elementId, ep.connections[i], ep.element); + } + else if (ep.connections[i].targetId === currentId) { + ep.connections[i].targetId = ep.elementId; + ep.connections[i].target = ep.element; + self.updateOtherEndpoint(ep.connections[i].sourceId, currentId, ep.elementId, ep.connections[i]); + } + } + }; + + this.redraw = function (elementId, ui, timestamp, offsetToUI, clearEdits, doNotRecalcEndpoint) { + + if (!jsPlumbInstance.isSuspendDrawing()) { + // get all the endpoints for this element + var ep = _amEndpoints[elementId] || [], + endpointConnections = connectionsByElementId[elementId] || [], + connectionsToPaint = [], + endpointsToPaint = [], + anchorsToUpdate = []; + + timestamp = timestamp || jsPlumbInstance.timestamp(); + // offsetToUI are values that would have been calculated in the dragManager when registering + // an endpoint for an element that had a parent (somewhere in the hierarchy) that had been + // registered as draggable. + offsetToUI = offsetToUI || {left: 0, top: 0}; + if (ui) { + ui = { + left: ui.left + offsetToUI.left, + top: ui.top + offsetToUI.top + }; + } + + // valid for one paint cycle. + var myOffset = jsPlumbInstance.updateOffset({ elId: elementId, offset: ui, recalc: false, timestamp: timestamp }), + orientationCache = {}; + + // actually, first we should compute the orientation of this element to all other elements to which + // this element is connected with a continuous anchor (whether both ends of the connection have + // a continuous anchor or just one) + + for (var i = 0; i < endpointConnections.length; i++) { + var conn = endpointConnections[i][0], + sourceId = conn.sourceId, + targetId = conn.targetId, + sourceContinuous = conn.endpoints[0].anchor.isContinuous, + targetContinuous = conn.endpoints[1].anchor.isContinuous; + + if (sourceContinuous || targetContinuous) { + var oKey = sourceId + "_" + targetId, + o = orientationCache[oKey], + oIdx = conn.sourceId === elementId ? 1 : 0; + + if (sourceContinuous && !anchorLists[sourceId]) { + anchorLists[sourceId] = { top: [], right: [], bottom: [], left: [] }; + } + if (targetContinuous && !anchorLists[targetId]) { + anchorLists[targetId] = { top: [], right: [], bottom: [], left: [] }; + } + + if (elementId !== targetId) { + jsPlumbInstance.updateOffset({ elId: targetId, timestamp: timestamp }); + } + if (elementId !== sourceId) { + jsPlumbInstance.updateOffset({ elId: sourceId, timestamp: timestamp }); + } + + var td = jsPlumbInstance.getCachedData(targetId), + sd = jsPlumbInstance.getCachedData(sourceId); + + if (targetId === sourceId && (sourceContinuous || targetContinuous)) { + // here we may want to improve this by somehow determining the face we'd like + // to put the connector on. ideally, when drawing, the face should be calculated + // by determining which face is closest to the point at which the mouse button + // was released. for now, we're putting it on the top face. + _updateAnchorList( anchorLists[sourceId], -Math.PI / 2, 0, conn, false, targetId, 0, false, "top", sourceId, connectionsToPaint, endpointsToPaint); + _updateAnchorList( anchorLists[targetId], -Math.PI / 2, 0, conn, false, sourceId, 1, false, "top", targetId, connectionsToPaint, endpointsToPaint); + } + else { + if (!o) { + o = this.calculateOrientation(sourceId, targetId, sd.o, td.o, conn.endpoints[0].anchor, conn.endpoints[1].anchor, conn); + orientationCache[oKey] = o; + // this would be a performance enhancement, but the computed angles need to be clamped to + //the (-PI/2 -> PI/2) range in order for the sorting to work properly. + /* orientationCache[oKey2] = { + orientation:o.orientation, + a:[o.a[1], o.a[0]], + theta:o.theta + Math.PI, + theta2:o.theta2 + Math.PI + };*/ + } + if (sourceContinuous) { + _updateAnchorList(anchorLists[sourceId], o.theta, 0, conn, false, targetId, 0, false, o.a[0], sourceId, connectionsToPaint, endpointsToPaint); + } + if (targetContinuous) { + _updateAnchorList(anchorLists[targetId], o.theta2, -1, conn, true, sourceId, 1, true, o.a[1], targetId, connectionsToPaint, endpointsToPaint); + } + } + + if (sourceContinuous) { + _ju.addWithFunction(anchorsToUpdate, sourceId, function (a) { + return a === sourceId; + }); + } + if (targetContinuous) { + _ju.addWithFunction(anchorsToUpdate, targetId, function (a) { + return a === targetId; + }); + } + _ju.addWithFunction(connectionsToPaint, conn, function (c) { + return c.id === conn.id; + }); + if ((sourceContinuous && oIdx === 0) || (targetContinuous && oIdx === 1)) { + _ju.addWithFunction(endpointsToPaint, conn.endpoints[oIdx], function (e) { + return e.id === conn.endpoints[oIdx].id; + }); + } + } + } + + // place Endpoints whose anchors are continuous but have no Connections + for (i = 0; i < ep.length; i++) { + if (ep[i].connections.length === 0 && ep[i].anchor.isContinuous) { + if (!anchorLists[elementId]) { + anchorLists[elementId] = { top: [], right: [], bottom: [], left: [] }; + } + _updateAnchorList(anchorLists[elementId], -Math.PI / 2, 0, {endpoints: [ep[i], ep[i]], paint: function () { + }}, false, elementId, 0, false, ep[i].anchor.getDefaultFace(), elementId, connectionsToPaint, endpointsToPaint); + _ju.addWithFunction(anchorsToUpdate, elementId, function (a) { + return a === elementId; + }); + } + } + + // now place all the continuous anchors we need to; + for (i = 0; i < anchorsToUpdate.length; i++) { + placeAnchors(anchorsToUpdate[i], anchorLists[anchorsToUpdate[i]]); + } + + // now that continuous anchors have been placed, paint all the endpoints for this element + for (i = 0; i < ep.length; i++) { + ep[i].paint({ timestamp: timestamp, offset: myOffset, dimensions: myOffset.s, recalc: doNotRecalcEndpoint !== true }); + } + + // ... and any other endpoints we came across as a result of the continuous anchors. + for (i = 0; i < endpointsToPaint.length; i++) { + var cd = jsPlumbInstance.getCachedData(endpointsToPaint[i].elementId); + //endpointsToPaint[i].paint({ timestamp: timestamp, offset: cd, dimensions: cd.s }); + endpointsToPaint[i].paint({ timestamp: null, offset: cd, dimensions: cd.s }); + } + + // paint all the standard and "dynamic connections", which are connections whose other anchor is + // static and therefore does need to be recomputed; we make sure that happens only one time. + + // TODO we could have compiled a list of these in the first pass through connections; might save some time. + for (i = 0; i < endpointConnections.length; i++) { + var otherEndpoint = endpointConnections[i][1]; + if (otherEndpoint.anchor.constructor === _jp.DynamicAnchor) { + otherEndpoint.paint({ elementWithPrecedence: elementId, timestamp: timestamp }); + _ju.addWithFunction(connectionsToPaint, endpointConnections[i][0], function (c) { + return c.id === endpointConnections[i][0].id; + }); + // all the connections for the other endpoint now need to be repainted + for (var k = 0; k < otherEndpoint.connections.length; k++) { + if (otherEndpoint.connections[k] !== endpointConnections[i][0]) { + _ju.addWithFunction(connectionsToPaint, otherEndpoint.connections[k], function (c) { + return c.id === otherEndpoint.connections[k].id; + }); + } + } + } else { + _ju.addWithFunction(connectionsToPaint, endpointConnections[i][0], function (c) { + return c.id === endpointConnections[i][0].id; + }); + } + } + + // paint current floating connection for this element, if there is one. + var fc = floatingConnections[elementId]; + if (fc) { + fc.paint({timestamp: timestamp, recalc: false, elId: elementId}); + } + + // paint all the connections + for (i = 0; i < connectionsToPaint.length; i++) { + connectionsToPaint[i].paint({elId: elementId, timestamp: null, recalc: false, clearEdits: clearEdits}); + } + } + }; + + var ContinuousAnchor = function (anchorParams) { + _ju.EventGenerator.apply(this); + this.type = "Continuous"; + this.isDynamic = true; + this.isContinuous = true; + var faces = anchorParams.faces || ["top", "right", "bottom", "left"], + clockwise = !(anchorParams.clockwise === false), + availableFaces = { }, + opposites = { "top": "bottom", "right": "left", "left": "right", "bottom": "top" }, + clockwiseOptions = { "top": "right", "right": "bottom", "left": "top", "bottom": "left" }, + antiClockwiseOptions = { "top": "left", "right": "top", "left": "bottom", "bottom": "right" }, + secondBest = clockwise ? clockwiseOptions : antiClockwiseOptions, + lastChoice = clockwise ? antiClockwiseOptions : clockwiseOptions, + cssClass = anchorParams.cssClass || "", + _currentFace = null, _lockedFace = null, X_AXIS_FACES = ["left", "right"], Y_AXIS_FACES = ["top", "bottom"], + _lockedAxis = null; + + for (var i = 0; i < faces.length; i++) { + availableFaces[faces[i]] = true; + } + + this.getDefaultFace = function () { + return faces.length === 0 ? "top" : faces[0]; + }; + + this.isRelocatable = function() { return true; }; + this.isSnapOnRelocate = function() { return true; }; + + // if the given edge is supported, returns it. otherwise looks for a substitute that _is_ + // supported. if none supported we also return the request edge. + this.verifyEdge = function (edge) { + if (availableFaces[edge]) { + return edge; + } + else if (availableFaces[opposites[edge]]) { + return opposites[edge]; + } + else if (availableFaces[secondBest[edge]]) { + return secondBest[edge]; + } + else if (availableFaces[lastChoice[edge]]) { + return lastChoice[edge]; + } + return edge; // we have to give them something. + }; + + this.isEdgeSupported = function (edge) { + return _lockedAxis == null ? + + (_lockedFace == null ? availableFaces[edge] === true : _lockedFace === edge) + + : _lockedAxis.indexOf(edge) !== -1; + }; + + this.setCurrentFace = function(face, overrideLock) { + _currentFace = face; + // if currently locked, and the user wants to override, do that. + if (overrideLock && _lockedFace != null) { + _lockedFace = _currentFace; + } + }; + + this.getCurrentFace = function() { return _currentFace; }; + this.getSupportedFaces = function() { + var af = []; + for (var k in availableFaces) { + if (availableFaces[k]) { + af.push(k); + } + } + return af; + }; + + this.lock = function() { + _lockedFace = _currentFace; + }; + this.unlock = function() { + _lockedFace = null; + }; + this.isLocked = function() { + return _lockedFace != null; + }; + + this.lockCurrentAxis = function() { + if (_currentFace != null) { + _lockedAxis = (_currentFace === "left" || _currentFace === "right") ? X_AXIS_FACES : Y_AXIS_FACES; + } + }; + + this.unlockCurrentAxis = function() { + _lockedAxis = null; + }; + + this.compute = function (params) { + return continuousAnchorLocations[params.element.id] || [0, 0]; + }; + this.getCurrentLocation = function (params) { + return continuousAnchorLocations[params.element.id] || [0, 0]; + }; + this.getOrientation = function (endpoint) { + return continuousAnchorOrientations[endpoint.id] || [0, 0]; + }; + this.getCssClass = function () { + return cssClass; + }; + }; + + // continuous anchors + jsPlumbInstance.continuousAnchorFactory = { + get: function (params) { + return new ContinuousAnchor(params); + }, + clear: function (elementId) { + delete continuousAnchorLocations[elementId]; + } + }; + }; + + _jp.AnchorManager.prototype.calculateOrientation = function (sourceId, targetId, sd, td, sourceAnchor, targetAnchor) { + + var Orientation = { HORIZONTAL: "horizontal", VERTICAL: "vertical", DIAGONAL: "diagonal", IDENTITY: "identity" }, + axes = ["left", "top", "right", "bottom"]; + + if (sourceId === targetId) { + return { + orientation: Orientation.IDENTITY, + a: ["top", "top"] + }; + } + + var theta = Math.atan2((td.centery - sd.centery), (td.centerx - sd.centerx)), + theta2 = Math.atan2((sd.centery - td.centery), (sd.centerx - td.centerx)); + +// -------------------------------------------------------------------------------------- + + // improved face calculation. get midpoints of each face for source and target, then put in an array with all combinations of + // source/target faces. sort this array by distance between midpoints. the entry at index 0 is our preferred option. we can + // go through the array one by one until we find an entry in which each requested face is supported. + var candidates = [], midpoints = { }; + (function (types, dim) { + for (var i = 0; i < types.length; i++) { + midpoints[types[i]] = { + "left": [ dim[i].left, dim[i].centery ], + "right": [ dim[i].right, dim[i].centery ], + "top": [ dim[i].centerx, dim[i].top ], + "bottom": [ dim[i].centerx , dim[i].bottom] + }; + } + })([ "source", "target" ], [ sd, td ]); + + for (var sf = 0; sf < axes.length; sf++) { + for (var tf = 0; tf < axes.length; tf++) { + candidates.push({ + source: axes[sf], + target: axes[tf], + dist: Biltong.lineLength(midpoints.source[axes[sf]], midpoints.target[axes[tf]]) + }); + } + } + + candidates.sort(function (a, b) { + return a.dist < b.dist ? -1 : a.dist > b.dist ? 1 : 0; + }); + + // now go through this list and try to get an entry that satisfies both (there will be one, unless one of the anchors + // declares no available faces) + var sourceEdge = candidates[0].source, targetEdge = candidates[0].target; + for (var i = 0; i < candidates.length; i++) { + + if (!sourceAnchor.isContinuous || sourceAnchor.isEdgeSupported(candidates[i].source)) { + sourceEdge = candidates[i].source; + } + else { + sourceEdge = null; + } + + if (!targetAnchor.isContinuous || targetAnchor.isEdgeSupported(candidates[i].target)) { + targetEdge = candidates[i].target; + } + else { + targetEdge = null; + } + + if (sourceEdge != null && targetEdge != null) { + break; + } + } + + if (sourceAnchor.isContinuous) { + sourceAnchor.setCurrentFace(sourceEdge); + } + + if (targetAnchor.isContinuous) { + targetAnchor.setCurrentFace(targetEdge); + } + +// -------------------------------------------------------------------------------------- + + return { + a: [ sourceEdge, targetEdge ], + theta: theta, + theta2: theta2 + }; + }; + + /** + * Anchors model a position on some element at which an Endpoint may be located. They began as a first class citizen of jsPlumb, ie. a user + * was required to create these themselves, but over time this has been replaced by the concept of referring to them either by name (eg. "TopMiddle"), + * or by an array describing their coordinates (eg. [ 0, 0.5, 0, -1 ], which is the same as "TopMiddle"). jsPlumb now handles all of the + * creation of Anchors without user intervention. + */ + _jp.Anchor = function (params) { + this.x = params.x || 0; + this.y = params.y || 0; + this.elementId = params.elementId; + this.cssClass = params.cssClass || ""; + this.userDefinedLocation = null; + this.orientation = params.orientation || [ 0, 0 ]; + this.lastReturnValue = null; + this.offsets = params.offsets || [ 0, 0 ]; + this.timestamp = null; + + var relocatable = params.relocatable !== false; + this.isRelocatable = function() { return relocatable; }; + this.setRelocatable = function(_relocatable) { relocatable = _relocatable; }; + var snapOnRelocate = params.snapOnRelocate !== false; + this.isSnapOnRelocate = function() { return snapOnRelocate; }; + + var locked = false; + this.lock = function() { locked = true; }; + this.unlock = function() { locked = false; }; + this.isLocked = function() { return locked; }; + + _ju.EventGenerator.apply(this); + + this.compute = function (params) { + + var xy = params.xy, wh = params.wh, timestamp = params.timestamp; + + if (params.clearUserDefinedLocation) { + this.userDefinedLocation = null; + } + + if (timestamp && timestamp === this.timestamp) { + return this.lastReturnValue; + } + + if (this.userDefinedLocation != null) { + this.lastReturnValue = this.userDefinedLocation; + } + else { + this.lastReturnValue = [ xy[0] + (this.x * wh[0]) + this.offsets[0], xy[1] + (this.y * wh[1]) + this.offsets[1], this.x, this.y ]; + } + + this.timestamp = timestamp; + return this.lastReturnValue; + }; + + this.getCurrentLocation = function (params) { + params = params || {}; + return (this.lastReturnValue == null || (params.timestamp != null && this.timestamp !== params.timestamp)) ? this.compute(params) : this.lastReturnValue; + }; + + this.setPosition = function(x, y, ox, oy, overrideLock) { + if (!locked || overrideLock) { + this.x = x; + this.y = y; + this.orientation = [ ox, oy ]; + this.lastReturnValue = null; + } + }; + }; + _ju.extend(_jp.Anchor, _ju.EventGenerator, { + equals: function (anchor) { + if (!anchor) { + return false; + } + var ao = anchor.getOrientation(), + o = this.getOrientation(); + return this.x === anchor.x && this.y === anchor.y && this.offsets[0] === anchor.offsets[0] && this.offsets[1] === anchor.offsets[1] && o[0] === ao[0] && o[1] === ao[1]; + }, + getUserDefinedLocation: function () { + return this.userDefinedLocation; + }, + setUserDefinedLocation: function (l) { + this.userDefinedLocation = l; + }, + clearUserDefinedLocation: function () { + this.userDefinedLocation = null; + }, + getOrientation: function () { + return this.orientation; + }, + getCssClass: function () { + return this.cssClass; + } + }); + + /** + * An Anchor that floats. its orientation is computed dynamically from + * its position relative to the anchor it is floating relative to. It is used when creating + * a connection through drag and drop. + * + * TODO FloatingAnchor could totally be refactored to extend Anchor just slightly. + */ + _jp.FloatingAnchor = function (params) { + + _jp.Anchor.apply(this, arguments); + + // this is the anchor that this floating anchor is referenced to for + // purposes of calculating the orientation. + var ref = params.reference, + // the canvas this refers to. + refCanvas = params.referenceCanvas, + size = _jp.getSize(refCanvas), + // these are used to store the current relative position of our + // anchor wrt the reference anchor. they only indicate + // direction, so have a value of 1 or -1 (or, very rarely, 0). these + // values are written by the compute method, and read + // by the getOrientation method. + xDir = 0, yDir = 0, + // temporary member used to store an orientation when the floating + // anchor is hovering over another anchor. + orientation = null, + _lastResult = null; + + // clear from parent. we want floating anchor orientation to always be computed. + this.orientation = null; + + // set these to 0 each; they are used by certain types of connectors in the loopback case, + // when the connector is trying to clear the element it is on. but for floating anchor it's not + // very important. + this.x = 0; + this.y = 0; + + this.isFloating = true; + + this.compute = function (params) { + var xy = params.xy, + result = [ xy[0] + (size[0] / 2), xy[1] + (size[1] / 2) ]; // return origin of the element. we may wish to improve this so that any object can be the drag proxy. + _lastResult = result; + return result; + }; + + this.getOrientation = function (_endpoint) { + if (orientation) { + return orientation; + } + else { + var o = ref.getOrientation(_endpoint); + // here we take into account the orientation of the other + // anchor: if it declares zero for some direction, we declare zero too. this might not be the most awesome. perhaps we can come + // up with a better way. it's just so that the line we draw looks like it makes sense. maybe this wont make sense. + return [ Math.abs(o[0]) * xDir * -1, + Math.abs(o[1]) * yDir * -1 ]; + } + }; + + /** + * notification the endpoint associated with this anchor is hovering + * over another anchor; we want to assume that anchor's orientation + * for the duration of the hover. + */ + this.over = function (anchor, endpoint) { + orientation = anchor.getOrientation(endpoint); + }; + + /** + * notification the endpoint associated with this anchor is no + * longer hovering over another anchor; we should resume calculating + * orientation as we normally do. + */ + this.out = function () { + orientation = null; + }; + + this.getCurrentLocation = function (params) { + return _lastResult == null ? this.compute(params) : _lastResult; + }; + }; + _ju.extend(_jp.FloatingAnchor, _jp.Anchor); + + var _convertAnchor = function (anchor, jsPlumbInstance, elementId) { + return anchor.constructor === _jp.Anchor ? anchor : jsPlumbInstance.makeAnchor(anchor, elementId, jsPlumbInstance); + }; + + /* + * A DynamicAnchor is an Anchor that contains a list of other Anchors, which it cycles + * through at compute time to find the one that is located closest to + * the center of the target element, and returns that Anchor's compute + * method result. this causes endpoints to follow each other with + * respect to the orientation of their target elements, which is a useful + * feature for some applications. + * + */ + _jp.DynamicAnchor = function (params) { + _jp.Anchor.apply(this, arguments); + + this.isDynamic = true; + this.anchors = []; + this.elementId = params.elementId; + this.jsPlumbInstance = params.jsPlumbInstance; + + for (var i = 0; i < params.anchors.length; i++) { + this.anchors[i] = _convertAnchor(params.anchors[i], this.jsPlumbInstance, this.elementId); + } + + this.getAnchors = function () { + return this.anchors; + }; + + var _curAnchor = this.anchors.length > 0 ? this.anchors[0] : null, + _lastAnchor = _curAnchor, + self = this, + + // helper method to calculate the distance between the centers of the two elements. + _distance = function (anchor, cx, cy, xy, wh) { + var ax = xy[0] + (anchor.x * wh[0]), ay = xy[1] + (anchor.y * wh[1]), + acx = xy[0] + (wh[0] / 2), acy = xy[1] + (wh[1] / 2); + return (Math.sqrt(Math.pow(cx - ax, 2) + Math.pow(cy - ay, 2)) + + Math.sqrt(Math.pow(acx - ax, 2) + Math.pow(acy - ay, 2))); + }, + // default method uses distance between element centers. you can provide your own method in the dynamic anchor + // constructor (and also to jsPlumb.makeDynamicAnchor). the arguments to it are four arrays: + // xy - xy loc of the anchor's element + // wh - anchor's element's dimensions + // txy - xy loc of the element of the other anchor in the connection + // twh - dimensions of the element of the other anchor in the connection. + // anchors - the list of selectable anchors + _anchorSelector = params.selector || function (xy, wh, txy, twh, anchors) { + var cx = txy[0] + (twh[0] / 2), cy = txy[1] + (twh[1] / 2); + var minIdx = -1, minDist = Infinity; + for (var i = 0; i < anchors.length; i++) { + var d = _distance(anchors[i], cx, cy, xy, wh); + if (d < minDist) { + minIdx = i + 0; + minDist = d; + } + } + return anchors[minIdx]; + }; + + this.compute = function (params) { + var xy = params.xy, wh = params.wh, txy = params.txy, twh = params.twh; + + this.timestamp = params.timestamp; + + var udl = self.getUserDefinedLocation(); + if (udl != null) { + return udl; + } + + // if anchor is locked or an opposite element was not given, we + // maintain our state. anchor will be locked + // if it is the source of a drag and drop. + if (this.isLocked() || txy == null || twh == null) { + return _curAnchor.compute(params); + } + else { + params.timestamp = null; // otherwise clear this, i think. we want the anchor to compute. + } + + _curAnchor = _anchorSelector(xy, wh, txy, twh, this.anchors); + this.x = _curAnchor.x; + this.y = _curAnchor.y; + + if (_curAnchor !== _lastAnchor) { + this.fire("anchorChanged", _curAnchor); + } + + _lastAnchor = _curAnchor; + + return _curAnchor.compute(params); + }; + + this.getCurrentLocation = function (params) { + return this.getUserDefinedLocation() || (_curAnchor != null ? _curAnchor.getCurrentLocation(params) : null); + }; + + this.getOrientation = function (_endpoint) { + return _curAnchor != null ? _curAnchor.getOrientation(_endpoint) : [ 0, 0 ]; + }; + this.over = function (anchor, endpoint) { + if (_curAnchor != null) { + _curAnchor.over(anchor, endpoint); + } + }; + this.out = function () { + if (_curAnchor != null) { + _curAnchor.out(); + } + }; + + this.setAnchor = function(a) { + _curAnchor = a; + }; + + this.getCssClass = function () { + return (_curAnchor && _curAnchor.getCssClass()) || ""; + }; + + /** + * Attempt to match an anchor with the given coordinates and then set it. + * @param coords + * @returns true if matching anchor found, false otherwise. + */ + this.setAnchorCoordinates = function(coords) { + var idx = jsPlumbUtil.findWithFunction(this.anchors, function(a) { + return a.x === coords[0] && a.y === coords[1]; + }); + if (idx !== -1) { + this.setAnchor(this.anchors[idx]); + return true; + } else { + return false; + } + }; + }; + _ju.extend(_jp.DynamicAnchor, _jp.Anchor); + +// -------- basic anchors ------------------ + var _curryAnchor = function (x, y, ox, oy, type, fnInit) { + _jp.Anchors[type] = function (params) { + var a = params.jsPlumbInstance.makeAnchor([ x, y, ox, oy, 0, 0 ], params.elementId, params.jsPlumbInstance); + a.type = type; + if (fnInit) { + fnInit(a, params); + } + return a; + }; + }; + + _curryAnchor(0.5, 0, 0, -1, "TopCenter"); + _curryAnchor(0.5, 1, 0, 1, "BottomCenter"); + _curryAnchor(0, 0.5, -1, 0, "LeftMiddle"); + _curryAnchor(1, 0.5, 1, 0, "RightMiddle"); + + _curryAnchor(0.5, 0, 0, -1, "Top"); + _curryAnchor(0.5, 1, 0, 1, "Bottom"); + _curryAnchor(0, 0.5, -1, 0, "Left"); + _curryAnchor(1, 0.5, 1, 0, "Right"); + _curryAnchor(0.5, 0.5, 0, 0, "Center"); + _curryAnchor(1, 0, 0, -1, "TopRight"); + _curryAnchor(1, 1, 0, 1, "BottomRight"); + _curryAnchor(0, 0, 0, -1, "TopLeft"); + _curryAnchor(0, 1, 0, 1, "BottomLeft"); + +// ------- dynamic anchors ------------------- + + // default dynamic anchors chooses from Top, Right, Bottom, Left + _jp.Defaults.DynamicAnchors = function (params) { + return params.jsPlumbInstance.makeAnchors(["TopCenter", "RightMiddle", "BottomCenter", "LeftMiddle"], params.elementId, params.jsPlumbInstance); + }; + + // default dynamic anchors bound to name 'AutoDefault' + _jp.Anchors.AutoDefault = function (params) { + var a = params.jsPlumbInstance.makeDynamicAnchor(_jp.Defaults.DynamicAnchors(params)); + a.type = "AutoDefault"; + return a; + }; + +// ------- continuous anchors ------------------- + + var _curryContinuousAnchor = function (type, faces) { + _jp.Anchors[type] = function (params) { + var a = params.jsPlumbInstance.makeAnchor(["Continuous", { faces: faces }], params.elementId, params.jsPlumbInstance); + a.type = type; + return a; + }; + }; + + _jp.Anchors.Continuous = function (params) { + return params.jsPlumbInstance.continuousAnchorFactory.get(params); + }; + + _curryContinuousAnchor("ContinuousLeft", ["left"]); + _curryContinuousAnchor("ContinuousTop", ["top"]); + _curryContinuousAnchor("ContinuousBottom", ["bottom"]); + _curryContinuousAnchor("ContinuousRight", ["right"]); + +// ------- position assign anchors ------------------- + + // this anchor type lets you assign the position at connection time. + _curryAnchor(0, 0, 0, 0, "Assign", function (anchor, params) { + // find what to use as the "position finder". the user may have supplied a String which represents + // the id of a position finder in jsPlumb.AnchorPositionFinders, or the user may have supplied the + // position finder as a function. we find out what to use and then set it on the anchor. + var pf = params.position || "Fixed"; + anchor.positionFinder = pf.constructor === String ? params.jsPlumbInstance.AnchorPositionFinders[pf] : pf; + // always set the constructor params; the position finder might need them later (the Grid one does, + // for example) + anchor.constructorParams = params; + }); + + // these are the default anchor positions finders, which are used by the makeTarget function. supplying + // a position finder argument to that function allows you to specify where the resulting anchor will + // be located + root.jsPlumbInstance.prototype.AnchorPositionFinders = { + "Fixed": function (dp, ep, es) { + return [ (dp.left - ep.left) / es[0], (dp.top - ep.top) / es[1] ]; + }, + "Grid": function (dp, ep, es, params) { + var dx = dp.left - ep.left, dy = dp.top - ep.top, + gx = es[0] / (params.grid[0]), gy = es[1] / (params.grid[1]), + mx = Math.floor(dx / gx), my = Math.floor(dy / gy); + return [ ((mx * gx) + (gx / 2)) / es[0], ((my * gy) + (gy / 2)) / es[1] ]; + } + }; + +// ------- perimeter anchors ------------------- + + _jp.Anchors.Perimeter = function (params) { + params = params || {}; + var anchorCount = params.anchorCount || 60, + shape = params.shape; + + if (!shape) { + throw new Error("no shape supplied to Perimeter Anchor type"); + } + + var _circle = function () { + var r = 0.5, step = Math.PI * 2 / anchorCount, current = 0, a = []; + for (var i = 0; i < anchorCount; i++) { + var x = r + (r * Math.sin(current)), + y = r + (r * Math.cos(current)); + a.push([ x, y, 0, 0 ]); + current += step; + } + return a; + }, + _path = function (segments) { + var anchorsPerFace = anchorCount / segments.length, a = [], + _computeFace = function (x1, y1, x2, y2, fractionalLength, ox, oy) { + anchorsPerFace = anchorCount * fractionalLength; + var dx = (x2 - x1) / anchorsPerFace, dy = (y2 - y1) / anchorsPerFace; + for (var i = 0; i < anchorsPerFace; i++) { + a.push([ + x1 + (dx * i), + y1 + (dy * i), + ox == null ? 0 : ox, + oy == null ? 0 : oy + ]); + } + }; + + for (var i = 0; i < segments.length; i++) { + _computeFace.apply(null, segments[i]); + } + + return a; + }, + _shape = function (faces) { + var s = []; + for (var i = 0; i < faces.length; i++) { + s.push([faces[i][0], faces[i][1], faces[i][2], faces[i][3], 1 / faces.length, faces[i][4], faces[i][5]]); + } + return _path(s); + }, + _rectangle = function () { + return _shape([ + [ 0, 0, 1, 0, 0, -1 ], + [ 1, 0, 1, 1, 1, 0 ], + [ 1, 1, 0, 1, 0, 1 ], + [ 0, 1, 0, 0, -1, 0 ] + ]); + }; + + var _shapes = { + "Circle": _circle, + "Ellipse": _circle, + "Diamond": function () { + return _shape([ + [ 0.5, 0, 1, 0.5 ], + [ 1, 0.5, 0.5, 1 ], + [ 0.5, 1, 0, 0.5 ], + [ 0, 0.5, 0.5, 0 ] + ]); + }, + "Rectangle": _rectangle, + "Square": _rectangle, + "Triangle": function () { + return _shape([ + [ 0.5, 0, 1, 1 ], + [ 1, 1, 0, 1 ], + [ 0, 1, 0.5, 0] + ]); + }, + "Path": function (params) { + var points = params.points, p = [], tl = 0; + for (var i = 0; i < points.length - 1; i++) { + var l = Math.sqrt(Math.pow(points[i][2] - points[i][0]) + Math.pow(points[i][3] - points[i][1])); + tl += l; + p.push([points[i][0], points[i][1], points[i + 1][0], points[i + 1][1], l]); + } + for (var j = 0; j < p.length; j++) { + p[j][4] = p[j][4] / tl; + } + return _path(p); + } + }, + _rotate = function (points, amountInDegrees) { + var o = [], theta = amountInDegrees / 180 * Math.PI; + for (var i = 0; i < points.length; i++) { + var _x = points[i][0] - 0.5, + _y = points[i][1] - 0.5; + + o.push([ + 0.5 + ((_x * Math.cos(theta)) - (_y * Math.sin(theta))), + 0.5 + ((_x * Math.sin(theta)) + (_y * Math.cos(theta))), + points[i][2], + points[i][3] + ]); + } + return o; + }; + + if (!_shapes[shape]) { + throw new Error("Shape [" + shape + "] is unknown by Perimeter Anchor type"); + } + + var da = _shapes[shape](params); + if (params.rotation) { + da = _rotate(da, params.rotation); + } + var a = params.jsPlumbInstance.makeDynamicAnchor(da); + a.type = "Perimeter"; + return a; + }; +}).call(typeof window !== 'undefined' ? window : this); + +/* + * This file contains the default Connectors, Endpoint and Overlay definitions. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + + "use strict"; + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil, _jg = root.Biltong; + + _jp.Segments = { + + /* + * Class: AbstractSegment + * A Connector is made up of 1..N Segments, each of which has a Type, such as 'Straight', 'Arc', + * 'Bezier'. This is new from 1.4.2, and gives us a lot more flexibility when drawing connections: things such + * as rounded corners for flowchart connectors, for example, or a straight line stub for Bezier connections, are + * much easier to do now. + * + * A Segment is responsible for providing coordinates for painting it, and also must be able to report its length. + * + */ + AbstractSegment: function (params) { + this.params = params; + + /** + * Function: findClosestPointOnPath + * Finds the closest point on this segment to the given [x, y], + * returning both the x and y of the point plus its distance from + * the supplied point, and its location along the length of the + * path inscribed by the segment. This implementation returns + * Infinity for distance and null values for everything else; + * subclasses are expected to override. + */ + this.findClosestPointOnPath = function (x, y) { + return { + d: Infinity, + x: null, + y: null, + l: null + }; + }; + + this.getBounds = function () { + return { + minX: Math.min(params.x1, params.x2), + minY: Math.min(params.y1, params.y2), + maxX: Math.max(params.x1, params.x2), + maxY: Math.max(params.y1, params.y2) + }; + }; + + /** + * Computes the list of points on the segment that intersect the given line. + * @method lineIntersection + * @param {number} x1 + * @param {number} y1 + * @param {number} x2 + * @param {number} y2 + * @returns {Array<[number, number]>} + */ + this.lineIntersection = function(x1, y1, x2, y2) { + return []; + }; + + /** + * Computes the list of points on the segment that intersect the box with the given origin and size. + * @method boxIntersection + * @param {number} x1 + * @param {number} y1 + * @param {number} w + * @param {number} h + * @returns {Array<[number, number]>} + */ + this.boxIntersection = function(x, y, w, h) { + var a = []; + a.push.apply(a, this.lineIntersection(x, y, x + w, y)); + a.push.apply(a, this.lineIntersection(x + w, y, x + w, y + h)); + a.push.apply(a, this.lineIntersection(x + w, y + h, x, y + h)); + a.push.apply(a, this.lineIntersection(x, y + h, x, y)); + return a; + }; + + /** + * Computes the list of points on the segment that intersect the given bounding box, which is an object of the form { x:.., y:.., w:.., h:.. }. + * @method lineIntersection + * @param {BoundingRectangle} box + * @returns {Array<[number, number]>} + */ + this.boundingBoxIntersection = function(box) { + return this.boxIntersection(box.x, box.y, box.w, box.y); + }; + }, + Straight: function (params) { + var _super = _jp.Segments.AbstractSegment.apply(this, arguments), + length, m, m2, x1, x2, y1, y2, + _recalc = function () { + length = Math.sqrt(Math.pow(x2 - x1, 2) + Math.pow(y2 - y1, 2)); + m = _jg.gradient({x: x1, y: y1}, {x: x2, y: y2}); + m2 = -1 / m; + }; + + this.type = "Straight"; + + this.getLength = function () { + return length; + }; + this.getGradient = function () { + return m; + }; + + this.getCoordinates = function () { + return { x1: x1, y1: y1, x2: x2, y2: y2 }; + }; + this.setCoordinates = function (coords) { + x1 = coords.x1; + y1 = coords.y1; + x2 = coords.x2; + y2 = coords.y2; + _recalc(); + }; + this.setCoordinates({x1: params.x1, y1: params.y1, x2: params.x2, y2: params.y2}); + + this.getBounds = function () { + return { + minX: Math.min(x1, x2), + minY: Math.min(y1, y2), + maxX: Math.max(x1, x2), + maxY: Math.max(y1, y2) + }; + }; + + /** + * returns the point on the segment's path that is 'location' along the length of the path, where 'location' is a decimal from + * 0 to 1 inclusive. for the straight line segment this is simple maths. + */ + this.pointOnPath = function (location, absolute) { + if (location === 0 && !absolute) { + return { x: x1, y: y1 }; + } + else if (location === 1 && !absolute) { + return { x: x2, y: y2 }; + } + else { + var l = absolute ? location > 0 ? location : length + location : location * length; + return _jg.pointOnLine({x: x1, y: y1}, {x: x2, y: y2}, l); + } + }; + + /** + * returns the gradient of the segment at the given point - which for us is constant. + */ + this.gradientAtPoint = function (_) { + return m; + }; + + /** + * returns the point on the segment's path that is 'distance' along the length of the path from 'location', where + * 'location' is a decimal from 0 to 1 inclusive, and 'distance' is a number of pixels. + * this hands off to jsPlumbUtil to do the maths, supplying two points and the distance. + */ + this.pointAlongPathFrom = function (location, distance, absolute) { + var p = this.pointOnPath(location, absolute), + farAwayPoint = distance <= 0 ? {x: x1, y: y1} : {x: x2, y: y2 }; + + /* + location == 1 ? { + x:x1 + ((x2 - x1) * 10), + y:y1 + ((y1 - y2) * 10) + } : + */ + + if (distance <= 0 && Math.abs(distance) > 1) { + distance *= -1; + } + + return _jg.pointOnLine(p, farAwayPoint, distance); + }; + + // is c between a and b? + var within = function (a, b, c) { + return c >= Math.min(a, b) && c <= Math.max(a, b); + }; + // find which of a and b is closest to c + var closest = function (a, b, c) { + return Math.abs(c - a) < Math.abs(c - b) ? a : b; + }; + + /** + Function: findClosestPointOnPath + Finds the closest point on this segment to [x,y]. See + notes on this method in AbstractSegment. + */ + this.findClosestPointOnPath = function (x, y) { + var out = { + d: Infinity, + x: null, + y: null, + l: null, + x1: x1, + x2: x2, + y1: y1, + y2: y2 + }; + + if (m === 0) { + out.y = y1; + out.x = within(x1, x2, x) ? x : closest(x1, x2, x); + } + else if (m === Infinity || m === -Infinity) { + out.x = x1; + out.y = within(y1, y2, y) ? y : closest(y1, y2, y); + } + else { + // closest point lies on normal from given point to this line. + var b = y1 - (m * x1), + b2 = y - (m2 * x), + // y1 = m.x1 + b and y1 = m2.x1 + b2 + // so m.x1 + b = m2.x1 + b2 + // x1(m - m2) = b2 - b + // x1 = (b2 - b) / (m - m2) + _x1 = (b2 - b) / (m - m2), + _y1 = (m * _x1) + b; + + out.x = within(x1, x2, _x1) ? _x1 : closest(x1, x2, _x1);//_x1; + out.y = within(y1, y2, _y1) ? _y1 : closest(y1, y2, _y1);//_y1; + } + + var fractionInSegment = _jg.lineLength([ out.x, out.y ], [ x1, y1 ]); + out.d = _jg.lineLength([x, y], [out.x, out.y]); + out.l = fractionInSegment / length; + return out; + }; + + var _pointLiesBetween = function(q, p1, p2) { + return (p2 > p1) ? (p1 <= q && q <= p2) : (p1 >= q && q >= p2); + }, _plb = _pointLiesBetween; + + /** + * Calculates all intersections of the given line with this segment. + * @param _x1 + * @param _y1 + * @param _x2 + * @param _y2 + * @returns {Array} + */ + this.lineIntersection = function(_x1, _y1, _x2, _y2) { + var m2 = Math.abs(_jg.gradient({x: _x1, y: _y1}, {x: _x2, y: _y2})), + m1 = Math.abs(m), + b = m1 === Infinity ? x1 : y1 - (m1 * x1), + out = [], + b2 = m2 === Infinity ? _x1 : _y1 - (m2 * _x1); + + // if lines parallel, no intersection + if (m2 !== m1) { + // perpendicular, segment horizontal + if(m2 === Infinity && m1 === 0) { + if (_plb(_x1, x1, x2) && _plb(y1, _y1, _y2)) { + out = [ _x1, y1 ]; // we return X on the incident line and Y from the segment + } + } else if(m2 === 0 && m1 === Infinity) { + // perpendicular, segment vertical + if(_plb(_y1, y1, y2) && _plb(x1, _x1, _x2)) { + out = [x1, _y1]; // we return X on the segment and Y from the incident line + } + } else { + var X, Y; + if (m2 === Infinity) { + // test line is a vertical line. where does it cross the segment? + X = _x1; + if (_plb(X, x1, x2)) { + Y = (m1 * _x1) + b; + if (_plb(Y, _y1, _y2)) { + out = [ X, Y ]; + } + } + } else if (m2 === 0) { + Y = _y1; + // test line is a horizontal line. where does it cross the segment? + if (_plb(Y, y1, y2)) { + X = (_y1 - b) / m1; + if (_plb(X, _x1, _x2)) { + out = [ X, Y ]; + } + } + } else { + // mX + b = m2X + b2 + // mX - m2X = b2 - b + // X(m - m2) = b2 - b + // X = (b2 - b) / (m - m2) + // Y = mX + b + X = (b2 - b) / (m1 - m2); + Y = (m1 * X) + b; + if(_plb(X, x1, x2) && _plb(Y, y1, y2)) { + out = [ X, Y]; + } + } + } + } + + return out; + }; + + /** + * Calculates all intersections of the given box with this segment. By default this method simply calls `lineIntersection` with each of the four + * faces of the box; subclasses can override this if they think there's a faster way to compute the entire box at once. + * @param x X position of top left corner of box + * @param y Y position of top left corner of box + * @param w width of box + * @param h height of box + * @returns {Array} + */ + this.boxIntersection = function(x, y, w, h) { + var a = []; + a.push.apply(a, this.lineIntersection(x, y, x + w, y)); + a.push.apply(a, this.lineIntersection(x + w, y, x + w, y + h)); + a.push.apply(a, this.lineIntersection(x + w, y + h, x, y + h)); + a.push.apply(a, this.lineIntersection(x, y + h, x, y)); + return a; + }; + + /** + * Calculates all intersections of the given bounding box with this segment. By default this method simply calls `lineIntersection` with each of the four + * faces of the box; subclasses can override this if they think there's a faster way to compute the entire box at once. + * @param box Bounding box, in { x:.., y:..., w:..., h:... } format. + * @returns {Array} + */ + this.boundingBoxIntersection = function(box) { + return this.boxIntersection(box.x, box.y, box.w, box.h); + }; + }, + + /* + Arc Segment. You need to supply: + + r - radius + cx - center x for the arc + cy - center y for the arc + ac - whether the arc is anticlockwise or not. default is clockwise. + + and then either: + + startAngle - startAngle for the arc. + endAngle - endAngle for the arc. + + or: + + x1 - x for start point + y1 - y for start point + x2 - x for end point + y2 - y for end point + + */ + Arc: function (params) { + var _super = _jp.Segments.AbstractSegment.apply(this, arguments), + _calcAngle = function (_x, _y) { + return _jg.theta([params.cx, params.cy], [_x, _y]); + }, + _calcAngleForLocation = function (segment, location) { + if (segment.anticlockwise) { + var sa = segment.startAngle < segment.endAngle ? segment.startAngle + TWO_PI : segment.startAngle, + s = Math.abs(sa - segment.endAngle); + return sa - (s * location); + } + else { + var ea = segment.endAngle < segment.startAngle ? segment.endAngle + TWO_PI : segment.endAngle, + ss = Math.abs(ea - segment.startAngle); + + return segment.startAngle + (ss * location); + } + }, + TWO_PI = 2 * Math.PI; + + this.radius = params.r; + this.anticlockwise = params.ac; + this.type = "Arc"; + + if (params.startAngle && params.endAngle) { + this.startAngle = params.startAngle; + this.endAngle = params.endAngle; + this.x1 = params.cx + (this.radius * Math.cos(params.startAngle)); + this.y1 = params.cy + (this.radius * Math.sin(params.startAngle)); + this.x2 = params.cx + (this.radius * Math.cos(params.endAngle)); + this.y2 = params.cy + (this.radius * Math.sin(params.endAngle)); + } + else { + this.startAngle = _calcAngle(params.x1, params.y1); + this.endAngle = _calcAngle(params.x2, params.y2); + this.x1 = params.x1; + this.y1 = params.y1; + this.x2 = params.x2; + this.y2 = params.y2; + } + + if (this.endAngle < 0) { + this.endAngle += TWO_PI; + } + if (this.startAngle < 0) { + this.startAngle += TWO_PI; + } + + // segment is used by vml + //this.segment = _jg.quadrant([this.x1, this.y1], [this.x2, this.y2]); + + // we now have startAngle and endAngle as positive numbers, meaning the + // absolute difference (|d|) between them is the sweep (s) of this arc, unless the + // arc is 'anticlockwise' in which case 's' is given by 2PI - |d|. + + var ea = this.endAngle < this.startAngle ? this.endAngle + TWO_PI : this.endAngle; + this.sweep = Math.abs(ea - this.startAngle); + if (this.anticlockwise) { + this.sweep = TWO_PI - this.sweep; + } + var circumference = 2 * Math.PI * this.radius, + frac = this.sweep / TWO_PI, + length = circumference * frac; + + this.getLength = function () { + return length; + }; + + this.getBounds = function () { + return { + minX: params.cx - params.r, + maxX: params.cx + params.r, + minY: params.cy - params.r, + maxY: params.cy + params.r + }; + }; + + var VERY_SMALL_VALUE = 0.0000000001, + gentleRound = function (n) { + var f = Math.floor(n), r = Math.ceil(n); + if (n - f < VERY_SMALL_VALUE) { + return f; + } + else if (r - n < VERY_SMALL_VALUE) { + return r; + } + return n; + }; + + /** + * returns the point on the segment's path that is 'location' along the length of the path, where 'location' is a decimal from + * 0 to 1 inclusive. + */ + this.pointOnPath = function (location, absolute) { + + if (location === 0) { + return { x: this.x1, y: this.y1, theta: this.startAngle }; + } + else if (location === 1) { + return { x: this.x2, y: this.y2, theta: this.endAngle }; + } + + if (absolute) { + location = location / length; + } + + var angle = _calcAngleForLocation(this, location), + _x = params.cx + (params.r * Math.cos(angle)), + _y = params.cy + (params.r * Math.sin(angle)); + + return { x: gentleRound(_x), y: gentleRound(_y), theta: angle }; + }; + + /** + * returns the gradient of the segment at the given point. + */ + this.gradientAtPoint = function (location, absolute) { + var p = this.pointOnPath(location, absolute); + var m = _jg.normal([ params.cx, params.cy ], [p.x, p.y ]); + if (!this.anticlockwise && (m === Infinity || m === -Infinity)) { + m *= -1; + } + return m; + }; + + this.pointAlongPathFrom = function (location, distance, absolute) { + var p = this.pointOnPath(location, absolute), + arcSpan = distance / circumference * 2 * Math.PI, + dir = this.anticlockwise ? -1 : 1, + startAngle = p.theta + (dir * arcSpan), + startX = params.cx + (this.radius * Math.cos(startAngle)), + startY = params.cy + (this.radius * Math.sin(startAngle)); + + return {x: startX, y: startY}; + }; + + // TODO: lineIntersection + }, + + Bezier: function (params) { + this.curve = [ + { x: params.x1, y: params.y1}, + { x: params.cp1x, y: params.cp1y }, + { x: params.cp2x, y: params.cp2y }, + { x: params.x2, y: params.y2 } + ]; + + var _isPoint = function(c) { + return c[0].x === c[1].x && c[0].y === c[1].y; + }; + + var _dist = function(p1, p2 ) { + return Math.sqrt(Math.pow(p1.x - p2.x, 2) + Math.pow(p1.y - p2.y, 2)); + }; + + var _compute = function(loc) { + + var EMPTY_POINT = {x:0, y:0}; + + if (loc === 0) { + return this.curve[0]; + } + + var degree = this.curve.length - 1; + + if (loc === 1) { + return this.curve[degree]; + } + + var o = this.curve; + var s = 1 - loc; + + if (degree === 0) { + return this.curve[0]; + } + + if (degree === 1) { + return { + x: s * o[0].x + loc * o[1].x, + y: s * o[0].y + loc * o[1].y + }; + } + + if (degree < 4) { + + var l = s * s, h = loc * loc, u = 0, m, g, f; + + if (degree === 2) { + o = [o[0], o[1], o[2], EMPTY_POINT]; + m = l; + g = 2 * (s * loc); + f = h; + } else if (degree === 3) { + m = l * s; + g = 3 * (l * loc); + f = 3 * (s * h); + u = loc * h; + } + + return { + x: m * o[0].x + g * o[1].x + f * o[2].x + u * o[3].x, + y: m * o[0].y + g * o[1].y + f * o[2].y + u * o[3].y + }; + } else { + return EMPTY_POINT; // not supported. + } + }.bind(this); + + var _getLUT = function(steps) { + var out = []; + steps--; + for (var n = 0; n <= steps; n++) { + out.push(_compute(n / steps)); + } + return out; + }; + + var _computeLength = function() { + + if (_isPoint(this.curve)) { + this.length = 0; + } + + var steps = 16; + var lut = _getLUT(steps); + this.length = 0; + + for (var i = 0; i < steps - 1; i++) { + var a = lut[i], b = lut[i + 1]; + this.length += _dist(a, b); + } + }.bind(this); + + var _super = _jp.Segments.AbstractSegment.apply(this, arguments); + // although this is not a strictly rigorous determination of bounds + // of a bezier curve, it works for the types of curves that this segment + // type produces. + this.bounds = { + minX: Math.min(params.x1, params.x2, params.cp1x, params.cp2x), + minY: Math.min(params.y1, params.y2, params.cp1y, params.cp2y), + maxX: Math.max(params.x1, params.x2, params.cp1x, params.cp2x), + maxY: Math.max(params.y1, params.y2, params.cp1y, params.cp2y) + }; + + this.type = "Bezier"; + + _computeLength(); + + var _translateLocation = function (_curve, location, absolute) { + if (absolute) { + location = root.jsBezier.locationAlongCurveFrom(_curve, location > 0 ? 0 : 1, location); + } + + return location; + }; + + /** + * returns the point on the segment's path that is 'location' along the length of the path, where 'location' is a decimal from + * 0 to 1 inclusive. + */ + this.pointOnPath = function (location, absolute) { + location = _translateLocation(this.curve, location, absolute); + return root.jsBezier.pointOnCurve(this.curve, location); + }; + + /** + * returns the gradient of the segment at the given point. + */ + this.gradientAtPoint = function (location, absolute) { + location = _translateLocation(this.curve, location, absolute); + return root.jsBezier.gradientAtPoint(this.curve, location); + }; + + this.pointAlongPathFrom = function (location, distance, absolute) { + location = _translateLocation(this.curve, location, absolute); + return root.jsBezier.pointAlongCurveFrom(this.curve, location, distance); + }; + + this.getLength = function () { + return this.length; + }; + + this.getBounds = function () { + return this.bounds; + }; + + this.findClosestPointOnPath = function (x, y) { + var p = root.jsBezier.nearestPointOnCurve({x:x,y:y}, this.curve); + return { + d:Math.sqrt(Math.pow(p.point.x - x, 2) + Math.pow(p.point.y - y, 2)), + x:p.point.x, + y:p.point.y, + l:1 - p.location, + s:this + }; + }; + + this.lineIntersection = function(x1, y1, x2, y2) { + return root.jsBezier.lineIntersection(x1, y1, x2, y2, this.curve); + }; + } + }; + + _jp.SegmentRenderer = { + getPath: function (segment, isFirstSegment) { + return ({ + "Straight": function (isFirstSegment) { + var d = segment.getCoordinates(); + return (isFirstSegment ? "M " + d.x1 + " " + d.y1 + " " : "") + "L " + d.x2 + " " + d.y2; + }, + "Bezier": function (isFirstSegment) { + var d = segment.params; + return (isFirstSegment ? "M " + d.x2 + " " + d.y2 + " " : "") + + "C " + d.cp2x + " " + d.cp2y + " " + d.cp1x + " " + d.cp1y + " " + d.x1 + " " + d.y1; + }, + "Arc": function (isFirstSegment) { + var d = segment.params, + laf = segment.sweep > Math.PI ? 1 : 0, + sf = segment.anticlockwise ? 0 : 1; + + return (isFirstSegment ? "M" + segment.x1 + " " + segment.y1 + " " : "") + "A " + segment.radius + " " + d.r + " 0 " + laf + "," + sf + " " + segment.x2 + " " + segment.y2; + } + })[segment.type](isFirstSegment); + } + }; + + /* + Class: UIComponent + Superclass for Connector and AbstractEndpoint. + */ + var AbstractComponent = function () { + this.resetBounds = function () { + this.bounds = { minX: Infinity, minY: Infinity, maxX: -Infinity, maxY: -Infinity }; + }; + this.resetBounds(); + }; + + /* + * Class: Connector + * Superclass for all Connectors; here is where Segments are managed. This is exposed on jsPlumb just so it + * can be accessed from other files. You should not try to instantiate one of these directly. + * + * When this class is asked for a pointOnPath, or gradient etc, it must first figure out which segment to dispatch + * that request to. This is done by keeping track of the total connector length as segments are added, and also + * their cumulative ratios to the total length. Then when the right segment is found it is a simple case of dispatching + * the request to it (and adjusting 'location' so that it is relative to the beginning of that segment.) + */ + _jp.Connectors.AbstractConnector = function (params) { + + AbstractComponent.apply(this, arguments); + + var segments = [], + totalLength = 0, + segmentProportions = [], + segmentProportionalLengths = [], + stub = params.stub || 0, + sourceStub = _ju.isArray(stub) ? stub[0] : stub, + targetStub = _ju.isArray(stub) ? stub[1] : stub, + gap = params.gap || 0, + sourceGap = _ju.isArray(gap) ? gap[0] : gap, + targetGap = _ju.isArray(gap) ? gap[1] : gap, + userProvidedSegments = null, + paintInfo = null; + + this.getPathData = function() { + var p = ""; + for (var i = 0; i < segments.length; i++) { + p += _jp.SegmentRenderer.getPath(segments[i], i === 0); + p += " "; + } + return p; + }; + + /** + * Function: findSegmentForPoint + * Returns the segment that is closest to the given [x,y], + * null if nothing found. This function returns a JS + * object with: + * + * d - distance from segment + * l - proportional location in segment + * x - x point on the segment + * y - y point on the segment + * s - the segment itself. + * connectorLocation - the location on the connector of the point, expressed as a decimal between 0 and 1 inclusive. + */ + this.findSegmentForPoint = function (x, y) { + var out = { d: Infinity, s: null, x: null, y: null, l: null }; + for (var i = 0; i < segments.length; i++) { + var _s = segments[i].findClosestPointOnPath(x, y); + if (_s.d < out.d) { + out.d = _s.d; + out.l = _s.l; + out.x = _s.x; + out.y = _s.y; + out.s = segments[i]; + out.x1 = _s.x1; + out.x2 = _s.x2; + out.y1 = _s.y1; + out.y2 = _s.y2; + out.index = i; + out.connectorLocation = segmentProportions[i][0] + (_s.l * (segmentProportions[i][1] - segmentProportions[i][0])); + } + } + + return out; + }; + + this.lineIntersection = function(x1, y1, x2, y2) { + var out = []; + for (var i = 0; i < segments.length; i++) { + out.push.apply(out, segments[i].lineIntersection(x1, y1, x2, y2)); + } + return out; + }; + + this.boxIntersection = function(x, y, w, h) { + var out = []; + for (var i = 0; i < segments.length; i++) { + out.push.apply(out, segments[i].boxIntersection(x, y, w, h)); + } + return out; + }; + + this.boundingBoxIntersection = function(box) { + var out = []; + for (var i = 0; i < segments.length; i++) { + out.push.apply(out, segments[i].boundingBoxIntersection(box)); + } + return out; + }; + + var _updateSegmentProportions = function () { + var curLoc = 0; + for (var i = 0; i < segments.length; i++) { + var sl = segments[i].getLength(); + segmentProportionalLengths[i] = sl / totalLength; + segmentProportions[i] = [curLoc, (curLoc += (sl / totalLength)) ]; + } + }, + + /** + * returns [segment, proportion of travel in segment, segment index] for the segment + * that contains the point which is 'location' distance along the entire path, where + * 'location' is a decimal between 0 and 1 inclusive. in this connector type, paths + * are made up of a list of segments, each of which contributes some fraction to + * the total length. + * From 1.3.10 this also supports the 'absolute' property, which lets us specify a location + * as the absolute distance in pixels, rather than a proportion of the total path. + */ + _findSegmentForLocation = function (location, absolute) { + + var idx, i, inSegmentProportion; + + if (absolute) { + location = location > 0 ? location / totalLength : (totalLength + location) / totalLength; + } + + // if location 1 we know its the last segment + if (location === 1) { + idx = segments.length - 1; + inSegmentProportion = 1; + } else if (location === 0) { + // if location 0 we know its the first segment + inSegmentProportion = 0; + idx = 0; + } else { + + // if location >= 0.5, traverse backwards (of course not exact, who knows the segment proportions. but + // an educated guess at least) + if (location >= 0.5) { + + idx = 0; + inSegmentProportion = 0; + for (i = segmentProportions.length - 1; i > -1; i--) { + if (segmentProportions[i][1] >= location && segmentProportions[i][0] <= location) { + idx = i; + inSegmentProportion = (location - segmentProportions[i][0]) / segmentProportionalLengths[i]; + break; + } + } + + } else { + idx = segmentProportions.length - 1; + inSegmentProportion = 1; + for (i = 0; i < segmentProportions.length; i++) { + if (segmentProportions[i][1] >= location) { + idx = i; + inSegmentProportion = (location - segmentProportions[i][0]) / segmentProportionalLengths[i]; + break; + } + } + } + } + + return { segment: segments[idx], proportion: inSegmentProportion, index: idx }; + }, + _addSegment = function (conn, type, params) { + if (params.x1 === params.x2 && params.y1 === params.y2) { + return; + } + var s = new _jp.Segments[type](params); + segments.push(s); + totalLength += s.getLength(); + conn.updateBounds(s); + }, + _clearSegments = function () { + totalLength = segments.length = segmentProportions.length = segmentProportionalLengths.length = 0; + }; + + this.setSegments = function (_segs) { + userProvidedSegments = []; + totalLength = 0; + for (var i = 0; i < _segs.length; i++) { + userProvidedSegments.push(_segs[i]); + totalLength += _segs[i].getLength(); + } + }; + + this.getLength = function() { + return totalLength; + }; + + var _prepareCompute = function (params) { + this.strokeWidth = params.strokeWidth; + var segment = _jg.quadrant(params.sourcePos, params.targetPos), + swapX = params.targetPos[0] < params.sourcePos[0], + swapY = params.targetPos[1] < params.sourcePos[1], + lw = params.strokeWidth || 1, + so = params.sourceEndpoint.anchor.getOrientation(params.sourceEndpoint), + to = params.targetEndpoint.anchor.getOrientation(params.targetEndpoint), + x = swapX ? params.targetPos[0] : params.sourcePos[0], + y = swapY ? params.targetPos[1] : params.sourcePos[1], + w = Math.abs(params.targetPos[0] - params.sourcePos[0]), + h = Math.abs(params.targetPos[1] - params.sourcePos[1]); + + // if either anchor does not have an orientation set, we derive one from their relative + // positions. we fix the axis to be the one in which the two elements are further apart, and + // point each anchor at the other element. this is also used when dragging a new connection. + if (so[0] === 0 && so[1] === 0 || to[0] === 0 && to[1] === 0) { + var index = w > h ? 0 : 1, oIndex = [1, 0][index]; + so = []; + to = []; + so[index] = params.sourcePos[index] > params.targetPos[index] ? -1 : 1; + to[index] = params.sourcePos[index] > params.targetPos[index] ? 1 : -1; + so[oIndex] = 0; + to[oIndex] = 0; + } + + var sx = swapX ? w + (sourceGap * so[0]) : sourceGap * so[0], + sy = swapY ? h + (sourceGap * so[1]) : sourceGap * so[1], + tx = swapX ? targetGap * to[0] : w + (targetGap * to[0]), + ty = swapY ? targetGap * to[1] : h + (targetGap * to[1]), + oProduct = ((so[0] * to[0]) + (so[1] * to[1])); + + var result = { + sx: sx, sy: sy, tx: tx, ty: ty, lw: lw, + xSpan: Math.abs(tx - sx), + ySpan: Math.abs(ty - sy), + mx: (sx + tx) / 2, + my: (sy + ty) / 2, + so: so, to: to, x: x, y: y, w: w, h: h, + segment: segment, + startStubX: sx + (so[0] * sourceStub), + startStubY: sy + (so[1] * sourceStub), + endStubX: tx + (to[0] * targetStub), + endStubY: ty + (to[1] * targetStub), + isXGreaterThanStubTimes2: Math.abs(sx - tx) > (sourceStub + targetStub), + isYGreaterThanStubTimes2: Math.abs(sy - ty) > (sourceStub + targetStub), + opposite: oProduct === -1, + perpendicular: oProduct === 0, + orthogonal: oProduct === 1, + sourceAxis: so[0] === 0 ? "y" : "x", + points: [x, y, w, h, sx, sy, tx, ty ], + stubs:[sourceStub, targetStub] + }; + result.anchorOrientation = result.opposite ? "opposite" : result.orthogonal ? "orthogonal" : "perpendicular"; + return result; + }; + + this.getSegments = function () { + return segments; + }; + + this.updateBounds = function (segment) { + var segBounds = segment.getBounds(); + this.bounds.minX = Math.min(this.bounds.minX, segBounds.minX); + this.bounds.maxX = Math.max(this.bounds.maxX, segBounds.maxX); + this.bounds.minY = Math.min(this.bounds.minY, segBounds.minY); + this.bounds.maxY = Math.max(this.bounds.maxY, segBounds.maxY); + }; + + var dumpSegmentsToConsole = function () { + console.log("SEGMENTS:"); + for (var i = 0; i < segments.length; i++) { + console.log(segments[i].type, segments[i].getLength(), segmentProportions[i]); + } + }; + + this.pointOnPath = function (location, absolute) { + var seg = _findSegmentForLocation(location, absolute); + return seg.segment && seg.segment.pointOnPath(seg.proportion, false) || [0, 0]; + }; + + this.gradientAtPoint = function (location, absolute) { + var seg = _findSegmentForLocation(location, absolute); + return seg.segment && seg.segment.gradientAtPoint(seg.proportion, false) || 0; + }; + + this.pointAlongPathFrom = function (location, distance, absolute) { + var seg = _findSegmentForLocation(location, absolute); + // TODO what happens if this crosses to the next segment? + return seg.segment && seg.segment.pointAlongPathFrom(seg.proportion, distance, false) || [0, 0]; + }; + + this.compute = function (params) { + paintInfo = _prepareCompute.call(this, params); + + _clearSegments(); + this._compute(paintInfo, params); + this.x = paintInfo.points[0]; + this.y = paintInfo.points[1]; + this.w = paintInfo.points[2]; + this.h = paintInfo.points[3]; + this.segment = paintInfo.segment; + _updateSegmentProportions(); + }; + + return { + addSegment: _addSegment, + prepareCompute: _prepareCompute, + sourceStub: sourceStub, + targetStub: targetStub, + maxStub: Math.max(sourceStub, targetStub), + sourceGap: sourceGap, + targetGap: targetGap, + maxGap: Math.max(sourceGap, targetGap) + }; + }; + _ju.extend(_jp.Connectors.AbstractConnector, AbstractComponent); + + + // ********************************* END OF CONNECTOR TYPES ******************************************************************* + + // ********************************* ENDPOINT TYPES ******************************************************************* + + _jp.Endpoints.AbstractEndpoint = function (params) { + AbstractComponent.apply(this, arguments); + var compute = this.compute = function (anchorPoint, orientation, endpointStyle, connectorPaintStyle) { + var out = this._compute.apply(this, arguments); + this.x = out[0]; + this.y = out[1]; + this.w = out[2]; + this.h = out[3]; + this.bounds.minX = this.x; + this.bounds.minY = this.y; + this.bounds.maxX = this.x + this.w; + this.bounds.maxY = this.y + this.h; + return out; + }; + return { + compute: compute, + cssClass: params.cssClass + }; + }; + _ju.extend(_jp.Endpoints.AbstractEndpoint, AbstractComponent); + + /** + * Class: Endpoints.Dot + * A round endpoint, with default radius 10 pixels. + */ + + /** + * Function: Constructor + * + * Parameters: + * + * radius - radius of the endpoint. defaults to 10 pixels. + */ + _jp.Endpoints.Dot = function (params) { + this.type = "Dot"; + var _super = _jp.Endpoints.AbstractEndpoint.apply(this, arguments); + params = params || {}; + this.radius = params.radius || 10; + this.defaultOffset = 0.5 * this.radius; + this.defaultInnerRadius = this.radius / 3; + + this._compute = function (anchorPoint, orientation, endpointStyle, connectorPaintStyle) { + this.radius = endpointStyle.radius || this.radius; + var x = anchorPoint[0] - this.radius, + y = anchorPoint[1] - this.radius, + w = this.radius * 2, + h = this.radius * 2; + + if (endpointStyle.stroke) { + var lw = endpointStyle.strokeWidth || 1; + x -= lw; + y -= lw; + w += (lw * 2); + h += (lw * 2); + } + return [ x, y, w, h, this.radius ]; + }; + }; + _ju.extend(_jp.Endpoints.Dot, _jp.Endpoints.AbstractEndpoint); + + _jp.Endpoints.Rectangle = function (params) { + this.type = "Rectangle"; + var _super = _jp.Endpoints.AbstractEndpoint.apply(this, arguments); + params = params || {}; + this.width = params.width || 20; + this.height = params.height || 20; + + this._compute = function (anchorPoint, orientation, endpointStyle, connectorPaintStyle) { + var width = endpointStyle.width || this.width, + height = endpointStyle.height || this.height, + x = anchorPoint[0] - (width / 2), + y = anchorPoint[1] - (height / 2); + + return [ x, y, width, height]; + }; + }; + _ju.extend(_jp.Endpoints.Rectangle, _jp.Endpoints.AbstractEndpoint); + + var DOMElementEndpoint = function (params) { + _jp.jsPlumbUIComponent.apply(this, arguments); + this._jsPlumb.displayElements = []; + }; + _ju.extend(DOMElementEndpoint, _jp.jsPlumbUIComponent, { + getDisplayElements: function () { + return this._jsPlumb.displayElements; + }, + appendDisplayElement: function (el) { + this._jsPlumb.displayElements.push(el); + } + }); + + /** + * Class: Endpoints.Image + * Draws an image as the Endpoint. + */ + /** + * Function: Constructor + * + * Parameters: + * + * src - location of the image to use. + + TODO: multiple references to self. not sure quite how to get rid of them entirely. perhaps self = null in the cleanup + function will suffice + + TODO this class still might leak memory. + + */ + _jp.Endpoints.Image = function (params) { + + this.type = "Image"; + DOMElementEndpoint.apply(this, arguments); + _jp.Endpoints.AbstractEndpoint.apply(this, arguments); + + var _onload = params.onload, + src = params.src || params.url, + clazz = params.cssClass ? " " + params.cssClass : ""; + + this._jsPlumb.img = new Image(); + this._jsPlumb.ready = false; + this._jsPlumb.initialized = false; + this._jsPlumb.deleted = false; + this._jsPlumb.widthToUse = params.width; + this._jsPlumb.heightToUse = params.height; + this._jsPlumb.endpoint = params.endpoint; + + this._jsPlumb.img.onload = function () { + if (this._jsPlumb != null) { + this._jsPlumb.ready = true; + this._jsPlumb.widthToUse = this._jsPlumb.widthToUse || this._jsPlumb.img.width; + this._jsPlumb.heightToUse = this._jsPlumb.heightToUse || this._jsPlumb.img.height; + if (_onload) { + _onload(this); + } + } + }.bind(this); + + /* + Function: setImage + Sets the Image to use in this Endpoint. + + Parameters: + img - may be a URL or an Image object + onload - optional; a callback to execute once the image has loaded. + */ + this._jsPlumb.endpoint.setImage = function (_img, onload) { + var s = _img.constructor === String ? _img : _img.src; + _onload = onload; + this._jsPlumb.img.src = s; + + if (this.canvas != null) { + this.canvas.setAttribute("src", this._jsPlumb.img.src); + } + }.bind(this); + + this._jsPlumb.endpoint.setImage(src, _onload); + this._compute = function (anchorPoint, orientation, endpointStyle, connectorPaintStyle) { + this.anchorPoint = anchorPoint; + if (this._jsPlumb.ready) { + return [anchorPoint[0] - this._jsPlumb.widthToUse / 2, anchorPoint[1] - this._jsPlumb.heightToUse / 2, + this._jsPlumb.widthToUse, this._jsPlumb.heightToUse]; + } + else { + return [0, 0, 0, 0]; + } + }; + + this.canvas = _jp.createElement("img", { + position:"absolute", + margin:0, + padding:0, + outline:0 + }, this._jsPlumb.instance.endpointClass + clazz); + + if (this._jsPlumb.widthToUse) { + this.canvas.setAttribute("width", this._jsPlumb.widthToUse); + } + if (this._jsPlumb.heightToUse) { + this.canvas.setAttribute("height", this._jsPlumb.heightToUse); + } + this._jsPlumb.instance.appendElement(this.canvas); + + this.actuallyPaint = function (d, style, anchor) { + if (!this._jsPlumb.deleted) { + if (!this._jsPlumb.initialized) { + this.canvas.setAttribute("src", this._jsPlumb.img.src); + this.appendDisplayElement(this.canvas); + this._jsPlumb.initialized = true; + } + var x = this.anchorPoint[0] - (this._jsPlumb.widthToUse / 2), + y = this.anchorPoint[1] - (this._jsPlumb.heightToUse / 2); + _ju.sizeElement(this.canvas, x, y, this._jsPlumb.widthToUse, this._jsPlumb.heightToUse); + } + }; + + this.paint = function (style, anchor) { + if (this._jsPlumb != null) { // may have been deleted + if (this._jsPlumb.ready) { + this.actuallyPaint(style, anchor); + } + else { + root.setTimeout(function () { + this.paint(style, anchor); + }.bind(this), 200); + } + } + }; + }; + _ju.extend(_jp.Endpoints.Image, [ DOMElementEndpoint, _jp.Endpoints.AbstractEndpoint ], { + cleanup: function (force) { + if (force) { + this._jsPlumb.deleted = true; + if (this.canvas) { + this.canvas.parentNode.removeChild(this.canvas); + } + this.canvas = null; + } + } + }); + + /* + * Class: Endpoints.Blank + * An Endpoint that paints nothing (visible) on the screen. Supports cssClass and hoverClass parameters like all Endpoints. + */ + _jp.Endpoints.Blank = function (params) { + var _super = _jp.Endpoints.AbstractEndpoint.apply(this, arguments); + this.type = "Blank"; + DOMElementEndpoint.apply(this, arguments); + this._compute = function (anchorPoint, orientation, endpointStyle, connectorPaintStyle) { + return [anchorPoint[0], anchorPoint[1], 10, 0]; + }; + + var clazz = params.cssClass ? " " + params.cssClass : ""; + + this.canvas = _jp.createElement("div", { + display: "block", + width: "1px", + height: "1px", + background: "transparent", + position: "absolute" + }, this._jsPlumb.instance.endpointClass + clazz); + + this._jsPlumb.instance.appendElement(this.canvas); + + this.paint = function (style, anchor) { + _ju.sizeElement(this.canvas, this.x, this.y, this.w, this.h); + }; + }; + _ju.extend(_jp.Endpoints.Blank, [_jp.Endpoints.AbstractEndpoint, DOMElementEndpoint], { + cleanup: function () { + if (this.canvas && this.canvas.parentNode) { + this.canvas.parentNode.removeChild(this.canvas); + } + } + }); + + /* + * Class: Endpoints.Triangle + * A triangular Endpoint. + */ + /* + * Function: Constructor + * + * Parameters: + * + * width width of the triangle's base. defaults to 55 pixels. + * height height of the triangle from base to apex. defaults to 55 pixels. + */ + _jp.Endpoints.Triangle = function (params) { + this.type = "Triangle"; + _jp.Endpoints.AbstractEndpoint.apply(this, arguments); + var self = this; + params = params || { }; + params.width = params.width || 55; + params.height = params.height || 55; + this.width = params.width; + this.height = params.height; + this._compute = function (anchorPoint, orientation, endpointStyle, connectorPaintStyle) { + var width = endpointStyle.width || self.width, + height = endpointStyle.height || self.height, + x = anchorPoint[0] - (width / 2), + y = anchorPoint[1] - (height / 2); + return [ x, y, width, height ]; + }; + }; +// ********************************* END OF ENDPOINT TYPES ******************************************************************* + + +// ********************************* OVERLAY DEFINITIONS *********************************************************************** + + var AbstractOverlay = _jp.Overlays.AbstractOverlay = function (params) { + this.visible = true; + this.isAppendedAtTopLevel = true; + this.component = params.component; + this.loc = params.location == null ? 0.5 : params.location; + this.endpointLoc = params.endpointLocation == null ? [ 0.5, 0.5] : params.endpointLocation; + this.visible = params.visible !== false; + }; + AbstractOverlay.prototype = { + cleanup: function (force) { + if (force) { + this.component = null; + this.canvas = null; + this.endpointLoc = null; + } + }, + reattach:function(instance, component) { }, + setVisible: function (val) { + this.visible = val; + this.component.repaint(); + }, + isVisible: function () { + return this.visible; + }, + hide: function () { + this.setVisible(false); + }, + show: function () { + this.setVisible(true); + }, + incrementLocation: function (amount) { + this.loc += amount; + this.component.repaint(); + }, + setLocation: function (l) { + this.loc = l; + this.component.repaint(); + }, + getLocation: function () { + return this.loc; + }, + updateFrom:function() { } + }; + + + /* + * Class: Overlays.Arrow + * + * An arrow overlay, defined by four points: the head, the two sides of the tail, and a 'foldback' point at some distance along the length + * of the arrow that lines from each tail point converge into. The foldback point is defined using a decimal that indicates some fraction + * of the length of the arrow and has a default value of 0.623. A foldback point value of 1 would mean that the arrow had a straight line + * across the tail. + */ + /* + * @constructor + * + * @param {Object} params Constructor params. + * @param {Number} [params.length] Distance in pixels from head to tail baseline. default 20. + * @param {Number} [params.width] Width in pixels of the tail baseline. default 20. + * @param {String} [params.fill] Style to use when filling the arrow. defaults to "black". + * @param {String} [params.stroke] Style to use when stroking the arrow. defaults to null, which means the arrow is not stroked. + * @param {Number} [params.stroke-width] Line width to use when stroking the arrow. defaults to 1, but only used if stroke is not null. + * @param {Number} [params.foldback] Distance (as a decimal from 0 to 1 inclusive) along the length of the arrow marking the point the tail points should fold back to. defaults to 0.623. + * @param {Number} [params.location] Distance (as a decimal from 0 to 1 inclusive) marking where the arrow should sit on the connector. defaults to 0.5. + * @param {NUmber} [params.direction] Indicates the direction the arrow points in. valid values are -1 and 1; 1 is default. + */ + _jp.Overlays.Arrow = function (params) { + this.type = "Arrow"; + AbstractOverlay.apply(this, arguments); + this.isAppendedAtTopLevel = false; + params = params || {}; + var self = this; + + this.length = params.length || 20; + this.width = params.width || 20; + this.id = params.id; + this.direction = (params.direction || 1) < 0 ? -1 : 1; + var paintStyle = params.paintStyle || { "stroke-width": 1 }, + // how far along the arrow the lines folding back in come to. default is 62.3%. + foldback = params.foldback || 0.623; + + this.computeMaxSize = function () { + return self.width * 1.5; + }; + + this.elementCreated = function(p, component) { + this.path = p; + if (params.events) { + for (var i in params.events) { + _jp.on(p, i, params.events[i]); + } + } + }; + + this.draw = function (component, currentConnectionPaintStyle) { + + var hxy, mid, txy, tail, cxy; + if (component.pointAlongPathFrom) { + + if (_ju.isString(this.loc) || this.loc > 1 || this.loc < 0) { + var l = parseInt(this.loc, 10), + fromLoc = this.loc < 0 ? 1 : 0; + hxy = component.pointAlongPathFrom(fromLoc, l, false); + mid = component.pointAlongPathFrom(fromLoc, l - (this.direction * this.length / 2), false); + txy = _jg.pointOnLine(hxy, mid, this.length); + } + else if (this.loc === 1) { + hxy = component.pointOnPath(this.loc); + mid = component.pointAlongPathFrom(this.loc, -(this.length)); + txy = _jg.pointOnLine(hxy, mid, this.length); + + if (this.direction === -1) { + var _ = txy; + txy = hxy; + hxy = _; + } + } + else if (this.loc === 0) { + txy = component.pointOnPath(this.loc); + mid = component.pointAlongPathFrom(this.loc, this.length); + hxy = _jg.pointOnLine(txy, mid, this.length); + if (this.direction === -1) { + var __ = txy; + txy = hxy; + hxy = __; + } + } + else { + hxy = component.pointAlongPathFrom(this.loc, this.direction * this.length / 2); + mid = component.pointOnPath(this.loc); + txy = _jg.pointOnLine(hxy, mid, this.length); + } + + tail = _jg.perpendicularLineTo(hxy, txy, this.width); + cxy = _jg.pointOnLine(hxy, txy, foldback * this.length); + + var d = { hxy: hxy, tail: tail, cxy: cxy }, + stroke = paintStyle.stroke || currentConnectionPaintStyle.stroke, + fill = paintStyle.fill || currentConnectionPaintStyle.stroke, + lineWidth = paintStyle.strokeWidth || currentConnectionPaintStyle.strokeWidth; + + return { + component: component, + d: d, + "stroke-width": lineWidth, + stroke: stroke, + fill: fill, + minX: Math.min(hxy.x, tail[0].x, tail[1].x), + maxX: Math.max(hxy.x, tail[0].x, tail[1].x), + minY: Math.min(hxy.y, tail[0].y, tail[1].y), + maxY: Math.max(hxy.y, tail[0].y, tail[1].y) + }; + } + else { + return {component: component, minX: 0, maxX: 0, minY: 0, maxY: 0}; + } + }; + }; + _ju.extend(_jp.Overlays.Arrow, AbstractOverlay, { + updateFrom:function(d) { + this.length = d.length || this.length; + this.width = d.width|| this.width; + this.direction = d.direction != null ? d.direction : this.direction; + this.foldback = d.foldback|| this.foldback; + }, + cleanup:function() { + if (this.path && this.path.parentNode) { + this.path.parentNode.removeChild(this.path); + } + } + }); + + /* + * Class: Overlays.PlainArrow + * + * A basic arrow. This is in fact just one instance of the more generic case in which the tail folds back on itself to some + * point along the length of the arrow: in this case, that foldback point is the full length of the arrow. so it just does + * a 'call' to Arrow with foldback set appropriately. + */ + /* + * Function: Constructor + * See for allowed parameters for this overlay. + */ + _jp.Overlays.PlainArrow = function (params) { + params = params || {}; + var p = _jp.extend(params, {foldback: 1}); + _jp.Overlays.Arrow.call(this, p); + this.type = "PlainArrow"; + }; + _ju.extend(_jp.Overlays.PlainArrow, _jp.Overlays.Arrow); + + /* + * Class: Overlays.Diamond + * + * A diamond. Like PlainArrow, this is a concrete case of the more generic case of the tail points converging on some point...it just + * happens that in this case, that point is greater than the length of the the arrow. + * + * this could probably do with some help with positioning...due to the way it reuses the Arrow paint code, what Arrow thinks is the + * center is actually 1/4 of the way along for this guy. but we don't have any knowledge of pixels at this point, so we're kind of + * stuck when it comes to helping out the Arrow class. possibly we could pass in a 'transpose' parameter or something. the value + * would be -l/4 in this case - move along one quarter of the total length. + */ + /* + * Function: Constructor + * See for allowed parameters for this overlay. + */ + _jp.Overlays.Diamond = function (params) { + params = params || {}; + var l = params.length || 40, + p = _jp.extend(params, {length: l / 2, foldback: 2}); + _jp.Overlays.Arrow.call(this, p); + this.type = "Diamond"; + }; + _ju.extend(_jp.Overlays.Diamond, _jp.Overlays.Arrow); + + var _getDimensions = function (component, forceRefresh) { + if (component._jsPlumb.cachedDimensions == null || forceRefresh) { + component._jsPlumb.cachedDimensions = component.getDimensions(); + } + return component._jsPlumb.cachedDimensions; + }; + + // abstract superclass for overlays that add an element to the DOM. + var AbstractDOMOverlay = function (params) { + _jp.jsPlumbUIComponent.apply(this, arguments); + AbstractOverlay.apply(this, arguments); + + // hand off fired events to associated component. + var _f = this.fire; + this.fire = function () { + _f.apply(this, arguments); + if (this.component) { + this.component.fire.apply(this.component, arguments); + } + }; + + this.detached=false; + this.id = params.id; + this._jsPlumb.div = null; + this._jsPlumb.initialised = false; + this._jsPlumb.component = params.component; + this._jsPlumb.cachedDimensions = null; + this._jsPlumb.create = params.create; + this._jsPlumb.initiallyInvisible = params.visible === false; + + this.getElement = function () { + if (this._jsPlumb.div == null) { + var div = this._jsPlumb.div = _jp.getElement(this._jsPlumb.create(this._jsPlumb.component)); + div.style.position = "absolute"; + jsPlumb.addClass(div, this._jsPlumb.instance.overlayClass + " " + + (this.cssClass ? this.cssClass : + params.cssClass ? params.cssClass : "")); + this._jsPlumb.instance.appendElement(div); + this._jsPlumb.instance.getId(div); + this.canvas = div; + + // in IE the top left corner is what it placed at the desired location. This will not + // be fixed. IE8 is not going to be supported for much longer. + var ts = "translate(-50%, -50%)"; + div.style.webkitTransform = ts; + div.style.mozTransform = ts; + div.style.msTransform = ts; + div.style.oTransform = ts; + div.style.transform = ts; + + // write the related component into the created element + div._jsPlumb = this; + + if (params.visible === false) { + div.style.display = "none"; + } + } + return this._jsPlumb.div; + }; + + this.draw = function (component, currentConnectionPaintStyle, absolutePosition) { + var td = _getDimensions(this); + if (td != null && td.length === 2) { + var cxy = { x: 0, y: 0 }; + + // absolutePosition would have been set by a call to connection.setAbsoluteOverlayPosition. + if (absolutePosition) { + cxy = { x: absolutePosition[0], y: absolutePosition[1] }; + } + else if (component.pointOnPath) { + var loc = this.loc, absolute = false; + if (_ju.isString(this.loc) || this.loc < 0 || this.loc > 1) { + loc = parseInt(this.loc, 10); + absolute = true; + } + cxy = component.pointOnPath(loc, absolute); // a connection + } + else { + var locToUse = this.loc.constructor === Array ? this.loc : this.endpointLoc; + cxy = { x: locToUse[0] * component.w, + y: locToUse[1] * component.h }; + } + + var minx = cxy.x - (td[0] / 2), + miny = cxy.y - (td[1] / 2); + + return { + component: component, + d: { minx: minx, miny: miny, td: td, cxy: cxy }, + minX: minx, + maxX: minx + td[0], + minY: miny, + maxY: miny + td[1] + }; + } + else { + return {minX: 0, maxX: 0, minY: 0, maxY: 0}; + } + }; + }; + _ju.extend(AbstractDOMOverlay, [_jp.jsPlumbUIComponent, AbstractOverlay], { + getDimensions: function () { + return [1,1]; + }, + setVisible: function (state) { + if (this._jsPlumb.div) { + this._jsPlumb.div.style.display = state ? "block" : "none"; + // if initially invisible, dimensions are 0,0 and never get updated + if (state && this._jsPlumb.initiallyInvisible) { + _getDimensions(this, true); + this.component.repaint(); + this._jsPlumb.initiallyInvisible = false; + } + } + }, + /* + * Function: clearCachedDimensions + * Clears the cached dimensions for the label. As a performance enhancement, label dimensions are + * cached from 1.3.12 onwards. The cache is cleared when you change the label text, of course, but + * there are other reasons why the text dimensions might change - if you make a change through CSS, for + * example, you might change the font size. in that case you should explicitly call this method. + */ + clearCachedDimensions: function () { + this._jsPlumb.cachedDimensions = null; + }, + cleanup: function (force) { + if (force) { + if (this._jsPlumb.div != null) { + this._jsPlumb.div._jsPlumb = null; + this._jsPlumb.instance.removeElement(this._jsPlumb.div); + } + } + else { + // if not a forced cleanup, just detach child from parent for now. + if (this._jsPlumb && this._jsPlumb.div && this._jsPlumb.div.parentNode) { + this._jsPlumb.div.parentNode.removeChild(this._jsPlumb.div); + } + this.detached = true; + } + + }, + reattach:function(instance, component) { + if (this._jsPlumb.div != null) { + instance.getContainer().appendChild(this._jsPlumb.div); + } + this.detached = false; + }, + computeMaxSize: function () { + var td = _getDimensions(this); + return Math.max(td[0], td[1]); + }, + paint: function (p, containerExtents) { + if (!this._jsPlumb.initialised) { + this.getElement(); + p.component.appendDisplayElement(this._jsPlumb.div); + this._jsPlumb.initialised = true; + if (this.detached) { + this._jsPlumb.div.parentNode.removeChild(this._jsPlumb.div); + } + } + this._jsPlumb.div.style.left = (p.component.x + p.d.minx) + "px"; + this._jsPlumb.div.style.top = (p.component.y + p.d.miny) + "px"; + } + }); + + /* + * Class: Overlays.Custom + * A Custom overlay. You supply a 'create' function which returns some DOM element, and jsPlumb positions it. + * The 'create' function is passed a Connection or Endpoint. + */ + /* + * Function: Constructor + * + * Parameters: + * create - function for jsPlumb to call that returns a DOM element. + * location - distance (as a decimal from 0 to 1 inclusive) marking where the label should sit on the connector. defaults to 0.5. + * id - optional id to use for later retrieval of this overlay. + * + */ + _jp.Overlays.Custom = function (params) { + this.type = "Custom"; + AbstractDOMOverlay.apply(this, arguments); + }; + _ju.extend(_jp.Overlays.Custom, AbstractDOMOverlay); + + _jp.Overlays.GuideLines = function () { + var self = this; + self.length = 50; + self.strokeWidth = 5; + this.type = "GuideLines"; + AbstractOverlay.apply(this, arguments); + _jp.jsPlumbUIComponent.apply(this, arguments); + this.draw = function (connector, currentConnectionPaintStyle) { + + var head = connector.pointAlongPathFrom(self.loc, self.length / 2), + mid = connector.pointOnPath(self.loc), + tail = _jg.pointOnLine(head, mid, self.length), + tailLine = _jg.perpendicularLineTo(head, tail, 40), + headLine = _jg.perpendicularLineTo(tail, head, 20); + + return { + connector: connector, + head: head, + tail: tail, + headLine: headLine, + tailLine: tailLine, + minX: Math.min(head.x, tail.x, headLine[0].x, headLine[1].x), + minY: Math.min(head.y, tail.y, headLine[0].y, headLine[1].y), + maxX: Math.max(head.x, tail.x, headLine[0].x, headLine[1].x), + maxY: Math.max(head.y, tail.y, headLine[0].y, headLine[1].y) + }; + }; + + // this.cleanup = function() { }; // nothing to clean up for GuideLines + }; + + /* + * Class: Overlays.Label + + */ + /* + * Function: Constructor + * + * Parameters: + * cssClass - optional css class string to append to css class. This string is appended "as-is", so you can of course have multiple classes + * defined. This parameter is preferred to using labelStyle, borderWidth and borderStyle. + * label - the label to paint. May be a string or a function that returns a string. Nothing will be painted if your label is null or your + * label function returns null. empty strings _will_ be painted. + * location - distance (as a decimal from 0 to 1 inclusive) marking where the label should sit on the connector. defaults to 0.5. + * id - optional id to use for later retrieval of this overlay. + * + * + */ + _jp.Overlays.Label = function (params) { + this.labelStyle = params.labelStyle; + + var labelWidth = null, labelHeight = null, labelText = null, labelPadding = null; + this.cssClass = this.labelStyle != null ? this.labelStyle.cssClass : null; + var p = _jp.extend({ + create: function () { + return _jp.createElement("div"); + }}, params); + _jp.Overlays.Custom.call(this, p); + this.type = "Label"; + this.label = params.label || ""; + this.labelText = null; + if (this.labelStyle) { + var el = this.getElement(); + this.labelStyle.font = this.labelStyle.font || "12px sans-serif"; + el.style.font = this.labelStyle.font; + el.style.color = this.labelStyle.color || "black"; + if (this.labelStyle.fill) { + el.style.background = this.labelStyle.fill; + } + if (this.labelStyle.borderWidth > 0) { + var dStyle = this.labelStyle.borderStyle ? this.labelStyle.borderStyle : "black"; + el.style.border = this.labelStyle.borderWidth + "px solid " + dStyle; + } + if (this.labelStyle.padding) { + el.style.padding = this.labelStyle.padding; + } + } + + }; + _ju.extend(_jp.Overlays.Label, _jp.Overlays.Custom, { + cleanup: function (force) { + if (force) { + this.div = null; + this.label = null; + this.labelText = null; + this.cssClass = null; + this.labelStyle = null; + } + }, + getLabel: function () { + return this.label; + }, + /* + * Function: setLabel + * sets the label's, um, label. you would think i'd call this function + * 'setText', but you can pass either a Function or a String to this, so + * it makes more sense as 'setLabel'. This uses innerHTML on the label div, so keep + * that in mind if you need escaped HTML. + */ + setLabel: function (l) { + this.label = l; + this.labelText = null; + this.clearCachedDimensions(); + this.update(); + this.component.repaint(); + }, + getDimensions: function () { + this.update(); + return AbstractDOMOverlay.prototype.getDimensions.apply(this, arguments); + }, + update: function () { + if (typeof this.label === "function") { + var lt = this.label(this); + this.getElement().innerHTML = lt.replace(/\r\n/g, "
"); + } + else { + if (this.labelText == null) { + this.labelText = this.label; + this.getElement().innerHTML = this.labelText.replace(/\r\n/g, "
"); + } + } + }, + updateFrom:function(d) { + if(d.label != null){ + this.setLabel(d.label); + } + } + }); + + // ********************************* END OF OVERLAY DEFINITIONS *********************************************************************** + +}).call(typeof window !== 'undefined' ? window : this); + +/* + * Copyright (c) 2010 - 2020 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +;(function() { + "use strict"; + + var root = this, + _ju = root.jsPlumbUtil, + _jpi = root.jsPlumbInstance; + + var GROUP_COLLAPSED_CLASS = "jtk-group-collapsed"; + var GROUP_EXPANDED_CLASS = "jtk-group-expanded"; + var GROUP_CONTAINER_SELECTOR = "[jtk-group-content]"; + var ELEMENT_DRAGGABLE_EVENT = "elementDraggable"; + var STOP = "stop"; + var REVERT = "revert"; + var GROUP_MANAGER = "_groupManager"; + var GROUP = "_jsPlumbGroup"; + var GROUP_DRAG_SCOPE = "_jsPlumbGroupDrag"; + var EVT_CHILD_ADDED = "group:addMember"; + var EVT_CHILD_REMOVED = "group:removeMember"; + var EVT_GROUP_ADDED = "group:add"; + var EVT_GROUP_REMOVED = "group:remove"; + var EVT_EXPAND = "group:expand"; + var EVT_COLLAPSE = "group:collapse"; + var EVT_GROUP_DRAG_STOP = "groupDragStop"; + var EVT_CONNECTION_MOVED = "connectionMoved"; + var EVT_INTERNAL_CONNECTION_DETACHED = "internal.connectionDetached"; + + var CMD_REMOVE_ALL = "removeAll"; + var CMD_ORPHAN_ALL = "orphanAll"; + var CMD_SHOW = "show"; + var CMD_HIDE = "hide"; + + var GroupManager = function(_jsPlumb) { + var _managedGroups = {}, _connectionSourceMap = {}, _connectionTargetMap = {}, self = this; + + // function findGroupFor(el) { + // var c = _jsPlumb.getContainer(); + // var abort = false, g = null, child = null; + // while (!abort) { + // if (el == null || el === c) { + // abort = true; + // } else { + // if (el[GROUP]) { + // g = el[GROUP]; + // child = el; + // abort = true; + // } else { + // el = el.parentNode; + // } + // } + // } + // return g; + // } + + function isDescendant(el, parentEl) { + var c = _jsPlumb.getContainer(); + var abort = false, g = null, child = null; + while (!abort) { + if (el == null || el === c) { + return false; + } else { + if (el === parentEl) { + return true; + } else { + el = el.parentNode; + } + } + } + } + + _jsPlumb.bind("connection", function(p) { + + var sourceGroup = _jsPlumb.getGroupFor(p.source); + var targetGroup = _jsPlumb.getGroupFor(p.target); + + if (sourceGroup != null && targetGroup != null && sourceGroup === targetGroup) { + _connectionSourceMap[p.connection.id] = sourceGroup; + _connectionTargetMap[p.connection.id] = sourceGroup; + } + else { + if (sourceGroup != null) { + _ju.suggest(sourceGroup.connections.source, p.connection); + _connectionSourceMap[p.connection.id] = sourceGroup; + } + if (targetGroup != null) { + _ju.suggest(targetGroup.connections.target, p.connection); + _connectionTargetMap[p.connection.id] = targetGroup; + } + } + }); + + function _cleanupDetachedConnection(conn) { + delete conn.proxies; + var group = _connectionSourceMap[conn.id], f; + if (group != null) { + f = function(c) { return c.id === conn.id; }; + _ju.removeWithFunction(group.connections.source, f); + _ju.removeWithFunction(group.connections.target, f); + delete _connectionSourceMap[conn.id]; + } + + group = _connectionTargetMap[conn.id]; + if (group != null) { + f = function(c) { return c.id === conn.id; }; + _ju.removeWithFunction(group.connections.source, f); + _ju.removeWithFunction(group.connections.target, f); + delete _connectionTargetMap[conn.id]; + } + } + + _jsPlumb.bind(EVT_INTERNAL_CONNECTION_DETACHED, function(p) { + _cleanupDetachedConnection(p.connection); + }); + + _jsPlumb.bind(EVT_CONNECTION_MOVED, function(p) { + var connMap = p.index === 0 ? _connectionSourceMap : _connectionTargetMap; + var group = connMap[p.connection.id]; + if (group) { + var list = group.connections[p.index === 0 ? "source" : "target"]; + var idx = list.indexOf(p.connection); + if (idx !== -1) { + list.splice(idx, 1); + } + } + }); + + this.addGroup = function(group) { + _jsPlumb.addClass(group.getEl(), GROUP_EXPANDED_CLASS); + _managedGroups[group.id] = group; + group.manager = this; + _updateConnectionsForGroup(group); + _jsPlumb.fire(EVT_GROUP_ADDED, { group:group }); + }; + + this.addToGroup = function(group, el, doNotFireEvent) { + group = this.getGroup(group); + if (group) { + var groupEl = group.getEl(); + + if (el._isJsPlumbGroup) { + return; + } + var currentGroup = el._jsPlumbGroup; + // if already a member of this group, do nothing + if (currentGroup !== group) { + + _jsPlumb.removeFromDragSelection(el); + + var elpos = _jsPlumb.getOffset(el, true); + var cpos = group.collapsed ? _jsPlumb.getOffset(groupEl, true) : _jsPlumb.getOffset(group.getDragArea(), true); + + // otherwise, transfer to this group. + if (currentGroup != null) { + currentGroup.remove(el, false, doNotFireEvent, false, group); + self.updateConnectionsForGroup(currentGroup); + } + group.add(el, doNotFireEvent/*, currentGroup*/); + + var handleDroppedConnections = function (list, index) { + var oidx = index === 0 ? 1 : 0; + list.each(function (c) { + c.setVisible(false); + if (c.endpoints[oidx].element._jsPlumbGroup === group) { + c.endpoints[oidx].setVisible(false); + _expandConnection(c, oidx, group); + } + else { + c.endpoints[index].setVisible(false); + _collapseConnection(c, index, group); + } + }); + }; + + if (group.collapsed) { + handleDroppedConnections(_jsPlumb.select({source: el}), 0); + handleDroppedConnections(_jsPlumb.select({target: el}), 1); + } + + var elId = _jsPlumb.getId(el); + _jsPlumb.dragManager.setParent(el, elId, groupEl, _jsPlumb.getId(groupEl), elpos); + + var newPosition = { left: elpos.left - cpos.left, top: elpos.top - cpos.top }; + + _jsPlumb.setPosition(el, newPosition); + + _jsPlumb.dragManager.revalidateParent(el, elId, elpos); + + self.updateConnectionsForGroup(group); + + _jsPlumb.revalidate(elId); + + if (!doNotFireEvent) { + var p = {group: group, el: el, pos:newPosition}; + if (currentGroup) { + p.sourceGroup = currentGroup; + } + _jsPlumb.fire(EVT_CHILD_ADDED, p); + } + } + } + }; + + this.removeFromGroup = function(group, el, doNotFireEvent) { + group = this.getGroup(group); + if (group) { + + // if this group is currently collapsed then any proxied connections for the given el (or its descendants) need + // to be put back on their original element, and unproxied + if (group.collapsed) { + var _expandSet = function (conns, index) { + for (var i = 0; i < conns.length; i++) { + var c = conns[i]; + if (c.proxies) { + for(var j = 0; j < c.proxies.length; j++) { + if (c.proxies[j] != null) { + var proxiedElement = c.proxies[j].originalEp.element; + if (proxiedElement === el || isDescendant(proxiedElement, el)) { + _expandConnection(c, index, group); + } + } + + } + } + } + }; + + // setup proxies for sources and targets + _expandSet(group.connections.source.slice(), 0); + _expandSet(group.connections.target.slice(), 1); + } + + group.remove(el, null, doNotFireEvent); + } + }; + + this.getGroup = function(groupId) { + var group = groupId; + if (_ju.isString(groupId)) { + group = _managedGroups[groupId]; + if (group == null) { + throw new TypeError("No such group [" + groupId + "]"); + } + } + return group; + }; + + this.getGroups = function() { + var o = []; + for (var g in _managedGroups) { + o.push(_managedGroups[g]); + } + return o; + }; + + this.removeGroup = function(group, deleteMembers, manipulateDOM, doNotFireEvent) { + group = this.getGroup(group); + this.expandGroup(group, true); // this reinstates any original connections and removes all proxies, but does not fire an event. + var newPositions = group[deleteMembers ? CMD_REMOVE_ALL : CMD_ORPHAN_ALL](manipulateDOM, doNotFireEvent); + _jsPlumb.remove(group.getEl()); + delete _managedGroups[group.id]; + delete _jsPlumb._groups[group.id]; + _jsPlumb.fire(EVT_GROUP_REMOVED, { group:group }); + return newPositions; // this will be null in the case or remove, but be a map of {id->[x,y]} in the case of orphan + }; + + this.removeAllGroups = function(deleteMembers, manipulateDOM, doNotFireEvent) { + for (var g in _managedGroups) { + this.removeGroup(_managedGroups[g], deleteMembers, manipulateDOM, doNotFireEvent); + } + }; + + function _setVisible(group, state) { + + // TODO discovering the list of elements would ideally be a pluggable function. + var m = group.getEl().querySelectorAll(".jtk-managed"); + for (var i = 0; i < m.length; i++) { + _jsPlumb[state ? CMD_SHOW : CMD_HIDE](m[i], true); + } + } + + var _collapseConnection = function(c, index, group) { + + var otherEl = c.endpoints[index === 0 ? 1 : 0].element; + if (otherEl[GROUP] && (!otherEl[GROUP].shouldProxy() && otherEl[GROUP].collapsed)) { + return; + } + + var groupEl = group.getEl(), groupElId = _jsPlumb.getId(groupEl); + + _jsPlumb.proxyConnection(c, index, groupEl, groupElId, function(c, index) { return group.getEndpoint(c, index); }, function(c, index) { return group.getAnchor(c, index); }); + }; + + this.collapseGroup = function(group) { + group = this.getGroup(group); + if (group == null || group.collapsed) { + return; + } + var groupEl = group.getEl(); + + // todo remove old proxy endpoints first, just in case? + //group.proxies.length = 0; + + // hide all connections + _setVisible(group, false); + + if (group.shouldProxy()) { + // collapses all connections in a group. + var _collapseSet = function (conns, index) { + for (var i = 0; i < conns.length; i++) { + var c = conns[i]; + _collapseConnection(c, index, group); + } + }; + + // setup proxies for sources and targets + _collapseSet(group.connections.source, 0); + _collapseSet(group.connections.target, 1); + } + + group.collapsed = true; + _jsPlumb.removeClass(groupEl, GROUP_EXPANDED_CLASS); + _jsPlumb.addClass(groupEl, GROUP_COLLAPSED_CLASS); + _jsPlumb.revalidate(groupEl); + _jsPlumb.fire(EVT_COLLAPSE, { group:group }); + }; + + var _expandConnection = function(c, index, group) { + _jsPlumb.unproxyConnection(c, index, _jsPlumb.getId(group.getEl())); + }; + + this.expandGroup = function(group, doNotFireEvent) { + + group = this.getGroup(group); + + if (group == null || !group.collapsed) { + return; + } + var groupEl = group.getEl(); + + _setVisible(group, true); + + if (group.shouldProxy()) { + // expands all connections in a group. + var _expandSet = function (conns, index) { + for (var i = 0; i < conns.length; i++) { + var c = conns[i]; + _expandConnection(c, index, group); + } + }; + + // setup proxies for sources and targets + _expandSet(group.connections.source, 0); + _expandSet(group.connections.target, 1); + } + + group.collapsed = false; + _jsPlumb.addClass(groupEl, GROUP_EXPANDED_CLASS); + _jsPlumb.removeClass(groupEl, GROUP_COLLAPSED_CLASS); + _jsPlumb.revalidate(groupEl); + this.repaintGroup(group); + if (!doNotFireEvent) { + _jsPlumb.fire(EVT_EXPAND, { group: group}); + } + }; + + this.repaintGroup = function(group) { + group = this.getGroup(group); + var m = group.getMembers(); + for (var i = 0; i < m.length; i++) { + _jsPlumb.revalidate(m[i]); + } + }; + + // TODO refactor this with the code that responds to `connection` events. + function _updateConnectionsForGroup(group) { + var members = group.getMembers().slice(); + + var childMembers = []; + for (var i = 0; i < members.length; i++) { + Array.prototype.push.apply(childMembers, members[i].querySelectorAll(".jtk-managed")); + } + Array.prototype.push.apply(members, childMembers); + + var c1 = _jsPlumb.getConnections({source:members, scope:"*"}, true); + var c2 = _jsPlumb.getConnections({target:members, scope:"*"}, true); + + var processed = {}; + group.connections.source.length = 0; + group.connections.target.length = 0; + var oneSet = function(c) { + for (var i = 0; i < c.length; i++) { + if (processed[c[i].id]) { + continue; + } + processed[c[i].id] = true; + var gs = _jsPlumb.getGroupFor(c[i].source), + gt = _jsPlumb.getGroupFor(c[i].target); + + if (gs === group) { + if (gt !== group) { + group.connections.source.push(c[i]); + } + _connectionSourceMap[c[i].id] = group; + } + else if (gt === group) { + group.connections.target.push(c[i]); + _connectionTargetMap[c[i].id] = group; + } + } + }; + oneSet(c1); oneSet(c2); + } + + this.updateConnectionsForGroup = _updateConnectionsForGroup; + this.refreshAllGroups = function() { + for (var g in _managedGroups) { + _updateConnectionsForGroup(_managedGroups[g]); + _jsPlumb.dragManager.updateOffsets(_jsPlumb.getId(_managedGroups[g].getEl())); + } + }; + }; + + /** + * + * @param {jsPlumbInstance} _jsPlumb Associated jsPlumb instance. + * @param {Object} params + * @param {Element} params.el The DOM element representing the Group. + * @param {String} [params.id] Optional ID for the Group. A UUID will be assigned as the Group's ID if you do not provide one. + * @param {Boolean} [params.constrain=false] If true, child elements will not be able to be dragged outside of the Group container. + * @param {Boolean} [params.revert=true] By default, child elements revert to the container if dragged outside. You can change this by setting `revert:false`. This behaviour is also overridden if you set `orphan` or `prune`. + * @param {Boolean} [params.orphan=false] If true, child elements dropped outside of the Group container will be removed from the Group (but not from the DOM). + * @param {Boolean} [params.prune=false] If true, child elements dropped outside of the Group container will be removed from the Group and also from the DOM. + * @param {Boolean} [params.dropOverride=false] If true, a child element that has been dropped onto some other Group will not be subject to the controls imposed by `prune`, `revert` or `orphan`. + * @constructor + */ + var Group = function(_jsPlumb, params) { + var self = this; + var el = params.el; + this.getEl = function() { return el; }; + this.id = params.id || _ju.uuid(); + el._isJsPlumbGroup = true; + + var getDragArea = this.getDragArea = function() { + var da = _jsPlumb.getSelector(el, GROUP_CONTAINER_SELECTOR); + return da && da.length > 0 ? da[0] : el; + }; + + var ghost = params.ghost === true; + var constrain = ghost || (params.constrain === true); + var revert = params.revert !== false; + var orphan = params.orphan === true; + var prune = params.prune === true; + var dropOverride = params.dropOverride === true; + var proxied = params.proxied !== false; + var elements = []; + this.connections = { source:[], target:[], internal:[] }; + + // this function, and getEndpoint below, are stubs for a future setup in which we can choose endpoint + // and anchor based upon the connection and the index (source/target) of the endpoint to be proxied. + this.getAnchor = function(conn, endpointIndex) { + return params.anchor || "Continuous"; + }; + + this.getEndpoint = function(conn, endpointIndex) { + return params.endpoint || [ "Dot", { radius:10 }]; + }; + + this.collapsed = false; + if (params.draggable !== false) { + var opts = { + drag:function() { + for (var i = 0; i < elements.length; i++) { + _jsPlumb.draw(elements[i]); + } + }, + stop:function(params) { + _jsPlumb.fire(EVT_GROUP_DRAG_STOP, jsPlumb.extend(params, {group:self})); + }, + scope:GROUP_DRAG_SCOPE + }; + if (params.dragOptions) { + root.jsPlumb.extend(opts, params.dragOptions); + } + _jsPlumb.draggable(params.el, opts); + } + if (params.droppable !== false) { + _jsPlumb.droppable(params.el, { + drop:function(p) { + var el = p.drag.el; + if (el._isJsPlumbGroup) { + return; + } + var currentGroup = el._jsPlumbGroup; + if (currentGroup !== self) { + if (currentGroup != null) { + if (currentGroup.overrideDrop(el, self)) { + return; + } + } + _jsPlumb.getGroupManager().addToGroup(self, el, false); + } + + } + }); + } + var _each = function(_el, fn) { + var els = _el.nodeType == null ? _el : [ _el ]; + for (var i = 0; i < els.length; i++) { + fn(els[i]); + } + }; + + this.overrideDrop = function(_el, targetGroup) { + return dropOverride && (revert || prune || orphan); + }; + + this.add = function(_el, doNotFireEvent/*, sourceGroup*/) { + var dragArea = getDragArea(); + _each(_el, function(__el) { + + if (__el._jsPlumbGroup != null) { + if (__el._jsPlumbGroup === self) { + return; + } else { + __el._jsPlumbGroup.remove(__el, true, doNotFireEvent, false); + } + } + + __el._jsPlumbGroup = self; + elements.push(__el); + // test if draggable and add handlers if so. + if (_jsPlumb.isAlreadyDraggable(__el)) { + _bindDragHandlers(__el); + } + + if (__el.parentNode !== dragArea) { + dragArea.appendChild(__el); + } + + // if (!doNotFireEvent) { + // var p = {group: self, el: __el}; + // if (sourceGroup) { + // p.sourceGroup = sourceGroup; + // } + // //_jsPlumb.fire(EVT_CHILD_ADDED, p); + // } + }); + + _jsPlumb.getGroupManager().updateConnectionsForGroup(self); + }; + + this.remove = function(el, manipulateDOM, doNotFireEvent, doNotUpdateConnections, targetGroup) { + + _each(el, function(__el) { + if (__el._jsPlumbGroup === self) { + delete __el._jsPlumbGroup; + _ju.removeWithFunction(elements, function (e) { + return e === __el; + }); + + + if (manipulateDOM) { + try { + self.getDragArea().removeChild(__el); + } catch (e) { + jsPlumbUtil.log("Could not remove element from Group " + e); + } + } + _unbindDragHandlers(__el); + + if (!doNotFireEvent) { + var p = {group: self, el: __el}; + if (targetGroup) { + p.targetGroup = targetGroup; + } + _jsPlumb.fire(EVT_CHILD_REMOVED, p); + } + } + }); + if (!doNotUpdateConnections) { + _jsPlumb.getGroupManager().updateConnectionsForGroup(self); + } + }; + this.removeAll = function(manipulateDOM, doNotFireEvent) { + for (var i = 0, l = elements.length; i < l; i++) { + var el = elements[0]; + self.remove(el, manipulateDOM, doNotFireEvent, true); + _jsPlumb.remove(el, true); + } + elements.length = 0; + _jsPlumb.getGroupManager().updateConnectionsForGroup(self); + }; + this.orphanAll = function() { + var orphanedPositions = {}; + for (var i = 0; i < elements.length; i++) { + var newPosition = _orphan(elements[i]); + orphanedPositions[newPosition[0]] = newPosition[1]; + } + elements.length = 0; + + return orphanedPositions; + }; + this.getMembers = function() { return elements; }; + + el[GROUP] = this; + + _jsPlumb.bind(ELEMENT_DRAGGABLE_EVENT, function(dragParams) { + // if its for the current group, + if (dragParams.el._jsPlumbGroup === this) { + _bindDragHandlers(dragParams.el); + } + }.bind(this)); + + function _findParent(_el) { + return _el.offsetParent; + } + + function _isInsideParent(_el, pos) { + var p = _findParent(_el), + s = _jsPlumb.getSize(p), + ss = _jsPlumb.getSize(_el), + leftEdge = pos[0], + rightEdge = leftEdge + ss[0], + topEdge = pos[1], + bottomEdge = topEdge + ss[1]; + + return rightEdge > 0 && leftEdge < s[0] && bottomEdge > 0 && topEdge < s[1]; + } + + // + // orphaning an element means taking it out of the group and adding it to the main jsplumb container. + // we return the new calculated position from this method and the element's id. + // + function _orphan(_el) { + var id = _jsPlumb.getId(_el); + var pos = _jsPlumb.getOffset(_el); + _el.parentNode.removeChild(_el); + _jsPlumb.getContainer().appendChild(_el); + _jsPlumb.setPosition(_el, pos); + _unbindDragHandlers(_el); + _jsPlumb.dragManager.clearParent(_el, id); + return [id, pos]; + } + + // + // remove an element from the group, then either prune it from the jsplumb instance, or just orphan it. + // + function _pruneOrOrphan(p) { + + var out = []; + + function _one(el, left, top) { + var orphanedPosition = null; + if (!_isInsideParent(el, [left, top])) { + var group = el._jsPlumbGroup; + if (prune) { + _jsPlumb.remove(el); + } else { + orphanedPosition = _orphan(el); + } + + group.remove(el); + } + + return orphanedPosition; + } + + for (var i = 0; i < p.selection.length; i++) { + out.push(_one(p.selection[i][0], p.selection[i][1].left, p.selection[i][1].top)); + } + + return out.length === 1 ? out[0] : out; + + } + + // + // redraws the element + // + function _revalidate(_el) { + var id = _jsPlumb.getId(_el); + _jsPlumb.revalidate(_el); + _jsPlumb.dragManager.revalidateParent(_el, id); + } + + // + // unbind the group specific drag/revert handlers. + // + function _unbindDragHandlers(_el) { + if (!_el._katavorioDrag) { + return; + } + if (prune || orphan) { + _el._katavorioDrag.off(STOP, _pruneOrOrphan); + } + if (!prune && !orphan && revert) { + _el._katavorioDrag.off(REVERT, _revalidate); + _el._katavorioDrag.setRevert(null); + } + } + + function _bindDragHandlers(_el) { + if (!_el._katavorioDrag) { + return; + } + if (prune || orphan) { + _el._katavorioDrag.on(STOP, _pruneOrOrphan); + } + + if (constrain) { + _el._katavorioDrag.setConstrain(true); + } + + if (ghost) { + _el._katavorioDrag.setUseGhostProxy(true); + } + + if (!prune && !orphan && revert) { + _el._katavorioDrag.on(REVERT, _revalidate); + _el._katavorioDrag.setRevert(function(__el, pos) { + return !_isInsideParent(__el, pos); + }); + } + } + + this.shouldProxy = function() { + return proxied; + }; + + _jsPlumb.getGroupManager().addGroup(this); + }; + + /** + * Adds a group to the jsPlumb instance. + * @method addGroup + * @param {Object} params + * @return {Group} The newly created Group. + */ + _jpi.prototype.addGroup = function(params) { + var j = this; + j._groups = j._groups || {}; + if (j._groups[params.id] != null) { + throw new TypeError("cannot create Group [" + params.id + "]; a Group with that ID exists"); + } + if (params.el[GROUP] != null) { + throw new TypeError("cannot create Group [" + params.id + "]; the given element is already a Group"); + } + var group = new Group(j, params); + j._groups[group.id] = group; + if (params.collapsed) { + this.collapseGroup(group); + } + return group; + }; + + /** + * Add an element to a group. + * @method addToGroup + * @param {String} group Group, or ID of the group, to add the element to. + * @param {Element} el Element to add to the group. + */ + _jpi.prototype.addToGroup = function(group, el, doNotFireEvent) { + + var _one = function(_el) { + var id = this.getId(_el); + this.manage(id, _el); + this.getGroupManager().addToGroup(group, _el, doNotFireEvent); + }.bind(this); + + if (Array.isArray(el)) { + for (var i = 0; i < el.length; i++) { + _one(el[i]); + } + } else { + _one(el); + } + }; + + /** + * Remove an element from a group, and sets its DOM element to be a child of the container again. ?? + * @method removeFromGroup + * @param {String} group Group, or ID of the group, to remove the element from. + * @param {Element} el Element to add to the group. + */ + _jpi.prototype.removeFromGroup = function(group, el, doNotFireEvent) { + this.getGroupManager().removeFromGroup(group, el, doNotFireEvent); + this.getContainer().appendChild(el); + }; + + /** + * Remove a group, and optionally remove its members from the jsPlumb instance. + * @method removeGroup + * @param {String|Group} group Group to delete, or ID of Group to delete. + * @param {Boolean} [deleteMembers=false] If true, group members will be removed along with the group. Otherwise they will + * just be 'orphaned' (returned to the main container). + * @returns {Map[String, Position}} When deleteMembers is false, this method returns a map of {id->position} + */ + _jpi.prototype.removeGroup = function(group, deleteMembers, manipulateDOM, doNotFireEvent) { + return this.getGroupManager().removeGroup(group, deleteMembers, manipulateDOM, doNotFireEvent); + }; + + /** + * Remove all groups, and optionally remove their members from the jsPlumb instance. + * @method removeAllGroup + * @param {Boolean} [deleteMembers=false] If true, group members will be removed along with the groups. Otherwise they will + * just be 'orphaned' (returned to the main container). + */ + _jpi.prototype.removeAllGroups = function(deleteMembers, manipulateDOM, doNotFireEvent) { + this.getGroupManager().removeAllGroups(deleteMembers, manipulateDOM, doNotFireEvent); + }; + + /** + * Get a Group + * @method getGroup + * @param {String} groupId ID of the group to get + * @return {Group} Group with the given ID, null if not found. + */ + _jpi.prototype.getGroup = function(groupId) { + return this.getGroupManager().getGroup(groupId); + }; + + /** + * Gets all the Groups managed by the jsPlumb instance. + * @returns {Group[]} List of Groups. Empty if none. + */ + _jpi.prototype.getGroups = function() { + return this.getGroupManager().getGroups(); + }; + + /** + * Expands a group element. jsPlumb doesn't do "everything" for you here, because what it means to expand a Group + * will vary from application to application. jsPlumb does these things: + * + * - Hides any connections that are internal to the group (connections between members, and connections from member of + * the group to the group itself) + * - Proxies all connections for which the source or target is a member of the group. + * - Hides the proxied connections. + * - Adds the jtk-group-expanded class to the group's element + * - Removes the jtk-group-collapsed class from the group's element. + * + * @method expandGroup + * @param {String|Group} group Group to expand, or ID of Group to expand. + */ + _jpi.prototype.expandGroup = function(group) { + this.getGroupManager().expandGroup(group); + }; + + /** + * Collapses a group element. jsPlumb doesn't do "everything" for you here, because what it means to collapse a Group + * will vary from application to application. jsPlumb does these things: + * + * - Shows any connections that are internal to the group (connections between members, and connections from member of + * the group to the group itself) + * - Removes proxies for all connections for which the source or target is a member of the group. + * - Shows the previously proxied connections. + * - Adds the jtk-group-collapsed class to the group's element + * - Removes the jtk-group-expanded class from the group's element. + * + * @method expandGroup + * @param {String|Group} group Group to expand, or ID of Group to expand. + */ + _jpi.prototype.collapseGroup = function(groupId) { + this.getGroupManager().collapseGroup(groupId); + }; + + + _jpi.prototype.repaintGroup = function(group) { + this.getGroupManager().repaintGroup(group); + }; + + /** + * Collapses or expands a group element depending on its current state. See notes in the collapseGroup and expandGroup method. + * + * @method toggleGroup + * @param {String|Group} group Group to expand/collapse, or ID of Group to expand/collapse. + */ + _jpi.prototype.toggleGroup = function(group) { + group = this.getGroupManager().getGroup(group); + if (group != null) { + this.getGroupManager()[group.collapsed ? "expandGroup" : "collapseGroup"](group); + } + }; + + // + // lazy init a group manager for the given jsplumb instance. + // + _jpi.prototype.getGroupManager = function() { + var mgr = this[GROUP_MANAGER]; + if (mgr == null) { + mgr = this[GROUP_MANAGER] = new GroupManager(this); + } + return mgr; + }; + + _jpi.prototype.removeGroupManager = function() { + delete this[GROUP_MANAGER]; + }; + + /** + * Gets the Group that the given element belongs to, null if none. + * @method getGroupFor + * @param {String|Element} el Element, or element ID. + * @returns {Group} A Group, if found, or null. + */ + _jpi.prototype.getGroupFor = function(el) { + el = this.getElement(el); + if (el) { + var c = this.getContainer(); + var abort = false, g = null, child = null; + while (!abort) { + if (el == null || el === c) { + abort = true; + } else { + if (el[GROUP]) { + g = el[GROUP]; + child = el; + abort = true; + } else { + el = el.parentNode; + } + } + } + return g; + } + }; + +}).call(typeof window !== 'undefined' ? window : this); + + +/* + * This file contains the 'flowchart' connectors, consisting of vertical and horizontal line segments. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + + "use strict"; + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil; + var STRAIGHT = "Straight"; + var ARC = "Arc"; + + var Flowchart = function (params) { + this.type = "Flowchart"; + params = params || {}; + params.stub = params.stub == null ? 30 : params.stub; + var segments, + _super = _jp.Connectors.AbstractConnector.apply(this, arguments), + midpoint = params.midpoint == null ? 0.5 : params.midpoint, + alwaysRespectStubs = params.alwaysRespectStubs === true, + lastx = null, lasty = null, lastOrientation, + cornerRadius = params.cornerRadius != null ? params.cornerRadius : 0, + + // TODO now common between this and AbstractBezierEditor; refactor into superclass? + loopbackRadius = params.loopbackRadius || 25, + isLoopbackCurrently = false, + + sgn = function (n) { + return n < 0 ? -1 : n === 0 ? 0 : 1; + }, + segmentDirections = function(segment) { + return [ + sgn( segment[2] - segment[0] ), + sgn( segment[3] - segment[1] ) + ]; + }, + /** + * helper method to add a segment. + */ + addSegment = function (segments, x, y, paintInfo) { + if (lastx === x && lasty === y) { + return; + } + var lx = lastx == null ? paintInfo.sx : lastx, + ly = lasty == null ? paintInfo.sy : lasty, + o = lx === x ? "v" : "h"; + + lastx = x; + lasty = y; + segments.push([ lx, ly, x, y, o ]); + }, + segLength = function (s) { + return Math.sqrt(Math.pow(s[0] - s[2], 2) + Math.pow(s[1] - s[3], 2)); + }, + _cloneArray = function (a) { + var _a = []; + _a.push.apply(_a, a); + return _a; + }, + writeSegments = function (conn, segments, paintInfo) { + var current = null, next, currentDirection, nextDirection; + for (var i = 0; i < segments.length - 1; i++) { + + current = current || _cloneArray(segments[i]); + next = _cloneArray(segments[i + 1]); + + currentDirection = segmentDirections(current); + nextDirection = segmentDirections(next); + + if (cornerRadius > 0 && current[4] !== next[4]) { + + var minSegLength = Math.min(segLength(current), segLength(next)); + var radiusToUse = Math.min(cornerRadius, minSegLength / 2); + + current[2] -= currentDirection[0] * radiusToUse; + current[3] -= currentDirection[1] * radiusToUse; + next[0] += nextDirection[0] * radiusToUse; + next[1] += nextDirection[1] * radiusToUse; + + var ac = (currentDirection[1] === nextDirection[0] && nextDirection[0] === 1) || + ((currentDirection[1] === nextDirection[0] && nextDirection[0] === 0) && currentDirection[0] !== nextDirection[1]) || + (currentDirection[1] === nextDirection[0] && nextDirection[0] === -1), + sgny = next[1] > current[3] ? 1 : -1, + sgnx = next[0] > current[2] ? 1 : -1, + sgnEqual = sgny === sgnx, + cx = (sgnEqual && ac || (!sgnEqual && !ac)) ? next[0] : current[2], + cy = (sgnEqual && ac || (!sgnEqual && !ac)) ? current[3] : next[1]; + + _super.addSegment(conn, STRAIGHT, { + x1: current[0], y1: current[1], x2: current[2], y2: current[3] + }); + + _super.addSegment(conn, ARC, { + r: radiusToUse, + x1: current[2], + y1: current[3], + x2: next[0], + y2: next[1], + cx: cx, + cy: cy, + ac: ac + }); + } + else { + // dx + dy are used to adjust for line width. + var dx = (current[2] === current[0]) ? 0 : (current[2] > current[0]) ? (paintInfo.lw / 2) : -(paintInfo.lw / 2), + dy = (current[3] === current[1]) ? 0 : (current[3] > current[1]) ? (paintInfo.lw / 2) : -(paintInfo.lw / 2); + + _super.addSegment(conn, STRAIGHT, { + x1: current[0] - dx, y1: current[1] - dy, x2: current[2] + dx, y2: current[3] + dy + }); + } + current = next; + } + if (next != null) { + // last segment + _super.addSegment(conn, STRAIGHT, { + x1: next[0], y1: next[1], x2: next[2], y2: next[3] + }); + } + }; + + this._compute = function (paintInfo, params) { + + segments = []; + lastx = null; + lasty = null; + lastOrientation = null; + + var commonStubCalculator = function () { + return [paintInfo.startStubX, paintInfo.startStubY, paintInfo.endStubX, paintInfo.endStubY]; + }, + stubCalculators = { + perpendicular: commonStubCalculator, + orthogonal: commonStubCalculator, + opposite: function (axis) { + var pi = paintInfo, + idx = axis === "x" ? 0 : 1, + areInProximity = { + "x": function () { + return ( (pi.so[idx] === 1 && ( + ( (pi.startStubX > pi.endStubX) && (pi.tx > pi.startStubX) ) || + ( (pi.sx > pi.endStubX) && (pi.tx > pi.sx))))) || + + ( (pi.so[idx] === -1 && ( + ( (pi.startStubX < pi.endStubX) && (pi.tx < pi.startStubX) ) || + ( (pi.sx < pi.endStubX) && (pi.tx < pi.sx))))); + }, + "y": function () { + return ( (pi.so[idx] === 1 && ( + ( (pi.startStubY > pi.endStubY) && (pi.ty > pi.startStubY) ) || + ( (pi.sy > pi.endStubY) && (pi.ty > pi.sy))))) || + + ( (pi.so[idx] === -1 && ( + ( (pi.startStubY < pi.endStubY) && (pi.ty < pi.startStubY) ) || + ( (pi.sy < pi.endStubY) && (pi.ty < pi.sy))))); + } + }; + + if (!alwaysRespectStubs && areInProximity[axis]()) { + return { + "x": [(paintInfo.sx + paintInfo.tx) / 2, paintInfo.startStubY, (paintInfo.sx + paintInfo.tx) / 2, paintInfo.endStubY], + "y": [paintInfo.startStubX, (paintInfo.sy + paintInfo.ty) / 2, paintInfo.endStubX, (paintInfo.sy + paintInfo.ty) / 2] + }[axis]; + } + else { + return [paintInfo.startStubX, paintInfo.startStubY, paintInfo.endStubX, paintInfo.endStubY]; + } + } + }; + + // calculate Stubs. + var stubs = stubCalculators[paintInfo.anchorOrientation](paintInfo.sourceAxis), + idx = paintInfo.sourceAxis === "x" ? 0 : 1, + oidx = paintInfo.sourceAxis === "x" ? 1 : 0, + ss = stubs[idx], + oss = stubs[oidx], + es = stubs[idx + 2], + oes = stubs[oidx + 2]; + + // add the start stub segment. use stubs for loopback as it will look better, with the loop spaced + // away from the element. + addSegment(segments, stubs[0], stubs[1], paintInfo); + + // if its a loopback and we should treat it differently. + // if (false && params.sourcePos[0] === params.targetPos[0] && params.sourcePos[1] === params.targetPos[1]) { + // + // // we use loopbackRadius here, as statemachine connectors do. + // // so we go radius to the left from stubs[0], then upwards by 2*radius, to the right by 2*radius, + // // down by 2*radius, left by radius. + // addSegment(segments, stubs[0] - loopbackRadius, stubs[1], paintInfo); + // addSegment(segments, stubs[0] - loopbackRadius, stubs[1] - (2 * loopbackRadius), paintInfo); + // addSegment(segments, stubs[0] + loopbackRadius, stubs[1] - (2 * loopbackRadius), paintInfo); + // addSegment(segments, stubs[0] + loopbackRadius, stubs[1], paintInfo); + // addSegment(segments, stubs[0], stubs[1], paintInfo); + // + // } + // else { + + + var midx = paintInfo.startStubX + ((paintInfo.endStubX - paintInfo.startStubX) * midpoint), + midy = paintInfo.startStubY + ((paintInfo.endStubY - paintInfo.startStubY) * midpoint); + + var orientations = {x: [0, 1], y: [1, 0]}, + lineCalculators = { + perpendicular: function (axis) { + var pi = paintInfo, + sis = { + x: [ + [[1, 2, 3, 4], null, [2, 1, 4, 3]], + null, + [[4, 3, 2, 1], null, [3, 4, 1, 2]] + ], + y: [ + [[3, 2, 1, 4], null, [2, 3, 4, 1]], + null, + [[4, 1, 2, 3], null, [1, 4, 3, 2]] + ] + }, + stubs = { + x: [[pi.startStubX, pi.endStubX], null, [pi.endStubX, pi.startStubX]], + y: [[pi.startStubY, pi.endStubY], null, [pi.endStubY, pi.startStubY]] + }, + midLines = { + x: [[midx, pi.startStubY], [midx, pi.endStubY]], + y: [[pi.startStubX, midy], [pi.endStubX, midy]] + }, + linesToEnd = { + x: [[pi.endStubX, pi.startStubY]], + y: [[pi.startStubX, pi.endStubY]] + }, + startToEnd = { + x: [[pi.startStubX, pi.endStubY], [pi.endStubX, pi.endStubY]], + y: [[pi.endStubX, pi.startStubY], [pi.endStubX, pi.endStubY]] + }, + startToMidToEnd = { + x: [[pi.startStubX, midy], [pi.endStubX, midy], [pi.endStubX, pi.endStubY]], + y: [[midx, pi.startStubY], [midx, pi.endStubY], [pi.endStubX, pi.endStubY]] + }, + otherStubs = { + x: [pi.startStubY, pi.endStubY], + y: [pi.startStubX, pi.endStubX] + }, + soIdx = orientations[axis][0], toIdx = orientations[axis][1], + _so = pi.so[soIdx] + 1, + _to = pi.to[toIdx] + 1, + otherFlipped = (pi.to[toIdx] === -1 && (otherStubs[axis][1] < otherStubs[axis][0])) || (pi.to[toIdx] === 1 && (otherStubs[axis][1] > otherStubs[axis][0])), + stub1 = stubs[axis][_so][0], + stub2 = stubs[axis][_so][1], + segmentIndexes = sis[axis][_so][_to]; + + if (pi.segment === segmentIndexes[3] || (pi.segment === segmentIndexes[2] && otherFlipped)) { + return midLines[axis]; + } + else if (pi.segment === segmentIndexes[2] && stub2 < stub1) { + return linesToEnd[axis]; + } + else if ((pi.segment === segmentIndexes[2] && stub2 >= stub1) || (pi.segment === segmentIndexes[1] && !otherFlipped)) { + return startToMidToEnd[axis]; + } + else if (pi.segment === segmentIndexes[0] || (pi.segment === segmentIndexes[1] && otherFlipped)) { + return startToEnd[axis]; + } + }, + orthogonal: function (axis, startStub, otherStartStub, endStub, otherEndStub) { + var pi = paintInfo, + extent = { + "x": pi.so[0] === -1 ? Math.min(startStub, endStub) : Math.max(startStub, endStub), + "y": pi.so[1] === -1 ? Math.min(startStub, endStub) : Math.max(startStub, endStub) + }[axis]; + + return { + "x": [ + [extent, otherStartStub], + [extent, otherEndStub], + [endStub, otherEndStub] + ], + "y": [ + [otherStartStub, extent], + [otherEndStub, extent], + [otherEndStub, endStub] + ] + }[axis]; + }, + opposite: function (axis, ss, oss, es) { + var pi = paintInfo, + otherAxis = {"x": "y", "y": "x"}[axis], + dim = {"x": "height", "y": "width"}[axis], + comparator = pi["is" + axis.toUpperCase() + "GreaterThanStubTimes2"]; + + if (params.sourceEndpoint.elementId === params.targetEndpoint.elementId) { + var _val = oss + ((1 - params.sourceEndpoint.anchor[otherAxis]) * params.sourceInfo[dim]) + _super.maxStub; + return { + "x": [ + [ss, _val], + [es, _val] + ], + "y": [ + [_val, ss], + [_val, es] + ] + }[axis]; + + } + else if (!comparator || (pi.so[idx] === 1 && ss > es) || (pi.so[idx] === -1 && ss < es)) { + return { + "x": [ + [ss, midy], + [es, midy] + ], + "y": [ + [midx, ss], + [midx, es] + ] + }[axis]; + } + else if ((pi.so[idx] === 1 && ss < es) || (pi.so[idx] === -1 && ss > es)) { + return { + "x": [ + [midx, pi.sy], + [midx, pi.ty] + ], + "y": [ + [pi.sx, midy], + [pi.tx, midy] + ] + }[axis]; + } + } + }; + + // compute the rest of the line + var p = lineCalculators[paintInfo.anchorOrientation](paintInfo.sourceAxis, ss, oss, es, oes); + if (p) { + for (var i = 0; i < p.length; i++) { + addSegment(segments, p[i][0], p[i][1], paintInfo); + } + } + + // line to end stub + addSegment(segments, stubs[2], stubs[3], paintInfo); + + //} + + // end stub to end (common) + addSegment(segments, paintInfo.tx, paintInfo.ty, paintInfo); + + + + // write out the segments. + writeSegments(this, segments, paintInfo); + + }; + }; + + _jp.Connectors.Flowchart = Flowchart; + _ju.extend(_jp.Connectors.Flowchart, _jp.Connectors.AbstractConnector); + +}).call(typeof window !== 'undefined' ? window : this); +/* + * This file contains the code for the Bezier connector type. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + + "use strict"; + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil; + + _jp.Connectors.AbstractBezierConnector = function(params) { + params = params || {}; + var showLoopback = params.showLoopback !== false, + curviness = params.curviness || 10, + margin = params.margin || 5, + proximityLimit = params.proximityLimit || 80, + clockwise = params.orientation && params.orientation === "clockwise", + loopbackRadius = params.loopbackRadius || 25, + isLoopbackCurrently = false, + _super; + + this._compute = function (paintInfo, p) { + + var sp = p.sourcePos, + tp = p.targetPos, + _w = Math.abs(sp[0] - tp[0]), + _h = Math.abs(sp[1] - tp[1]); + + if (!showLoopback || (p.sourceEndpoint.elementId !== p.targetEndpoint.elementId)) { + isLoopbackCurrently = false; + this._computeBezier(paintInfo, p, sp, tp, _w, _h); + } else { + isLoopbackCurrently = true; + // a loopback connector. draw an arc from one anchor to the other. + var x1 = p.sourcePos[0], y1 = p.sourcePos[1] - margin, + cx = x1, cy = y1 - loopbackRadius, + // canvas sizing stuff, to ensure the whole painted area is visible. + _x = cx - loopbackRadius, + _y = cy - loopbackRadius; + + _w = 2 * loopbackRadius; + _h = 2 * loopbackRadius; + + paintInfo.points[0] = _x; + paintInfo.points[1] = _y; + paintInfo.points[2] = _w; + paintInfo.points[3] = _h; + + // ADD AN ARC SEGMENT. + _super.addSegment(this, "Arc", { + loopback: true, + x1: (x1 - _x) + 4, + y1: y1 - _y, + startAngle: 0, + endAngle: 2 * Math.PI, + r: loopbackRadius, + ac: !clockwise, + x2: (x1 - _x) - 4, + y2: y1 - _y, + cx: cx - _x, + cy: cy - _y + }); + } + }; + + _super = _jp.Connectors.AbstractConnector.apply(this, arguments); + return _super; + }; + _ju.extend(_jp.Connectors.AbstractBezierConnector, _jp.Connectors.AbstractConnector); + + var Bezier = function (params) { + params = params || {}; + this.type = "Bezier"; + + var _super = _jp.Connectors.AbstractBezierConnector.apply(this, arguments), + majorAnchor = params.curviness || 150, + minorAnchor = 10; + + this.getCurviness = function () { + return majorAnchor; + }; + + this._findControlPoint = function (point, sourceAnchorPosition, targetAnchorPosition, sourceEndpoint, targetEndpoint, soo, too) { + // determine if the two anchors are perpendicular to each other in their orientation. we swap the control + // points around if so (code could be tightened up) + var perpendicular = soo[0] !== too[0] || soo[1] === too[1], + p = []; + + if (!perpendicular) { + if (soo[0] === 0) { + p.push(sourceAnchorPosition[0] < targetAnchorPosition[0] ? point[0] + minorAnchor : point[0] - minorAnchor); + } + else { + p.push(point[0] - (majorAnchor * soo[0])); + } + + if (soo[1] === 0) { + p.push(sourceAnchorPosition[1] < targetAnchorPosition[1] ? point[1] + minorAnchor : point[1] - minorAnchor); + } + else { + p.push(point[1] + (majorAnchor * too[1])); + } + } + else { + if (too[0] === 0) { + p.push(targetAnchorPosition[0] < sourceAnchorPosition[0] ? point[0] + minorAnchor : point[0] - minorAnchor); + } + else { + p.push(point[0] + (majorAnchor * too[0])); + } + + if (too[1] === 0) { + p.push(targetAnchorPosition[1] < sourceAnchorPosition[1] ? point[1] + minorAnchor : point[1] - minorAnchor); + } + else { + p.push(point[1] + (majorAnchor * soo[1])); + } + } + + return p; + }; + + this._computeBezier = function (paintInfo, p, sp, tp, _w, _h) { + + var _CP, _CP2, + _sx = sp[0] < tp[0] ? _w : 0, + _sy = sp[1] < tp[1] ? _h : 0, + _tx = sp[0] < tp[0] ? 0 : _w, + _ty = sp[1] < tp[1] ? 0 : _h; + + _CP = this._findControlPoint([_sx, _sy], sp, tp, p.sourceEndpoint, p.targetEndpoint, paintInfo.so, paintInfo.to); + _CP2 = this._findControlPoint([_tx, _ty], tp, sp, p.targetEndpoint, p.sourceEndpoint, paintInfo.to, paintInfo.so); + + + _super.addSegment(this, "Bezier", { + x1: _sx, y1: _sy, x2: _tx, y2: _ty, + cp1x: _CP[0], cp1y: _CP[1], cp2x: _CP2[0], cp2y: _CP2[1] + }); + }; + + + }; + + _jp.Connectors.Bezier = Bezier; + _ju.extend(Bezier, _jp.Connectors.AbstractBezierConnector); + +}).call(typeof window !== 'undefined' ? window : this); +/* + * This file contains the state machine connectors, which extend AbstractBezierConnector. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + + "use strict"; + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil; + + var _segment = function (x1, y1, x2, y2) { + if (x1 <= x2 && y2 <= y1) { + return 1; + } + else if (x1 <= x2 && y1 <= y2) { + return 2; + } + else if (x2 <= x1 && y2 >= y1) { + return 3; + } + return 4; + }, + + // the control point we will use depends on the faces to which each end of the connection is assigned, specifically whether or not the + // two faces are parallel or perpendicular. if they are parallel then the control point lies on the midpoint of the axis in which they + // are parellel and varies only in the other axis; this variation is proportional to the distance that the anchor points lie from the + // center of that face. if the two faces are perpendicular then the control point is at some distance from both the midpoints; the amount and + // direction are dependent on the orientation of the two elements. 'seg', passed in to this method, tells you which segment the target element + // lies in with respect to the source: 1 is top right, 2 is bottom right, 3 is bottom left, 4 is top left. + // + // sourcePos and targetPos are arrays of info about where on the source and target each anchor is located. their contents are: + // + // 0 - absolute x + // 1 - absolute y + // 2 - proportional x in element (0 is left edge, 1 is right edge) + // 3 - proportional y in element (0 is top edge, 1 is bottom edge) + // + _findControlPoint = function (midx, midy, segment, sourceEdge, targetEdge, dx, dy, distance, proximityLimit) { + // TODO (maybe) + // - if anchor pos is 0.5, make the control point take into account the relative position of the elements. + if (distance <= proximityLimit) { + return [midx, midy]; + } + + if (segment === 1) { + if (sourceEdge[3] <= 0 && targetEdge[3] >= 1) { + return [ midx + (sourceEdge[2] < 0.5 ? -1 * dx : dx), midy ]; + } + else if (sourceEdge[2] >= 1 && targetEdge[2] <= 0) { + return [ midx, midy + (sourceEdge[3] < 0.5 ? -1 * dy : dy) ]; + } + else { + return [ midx + (-1 * dx) , midy + (-1 * dy) ]; + } + } + else if (segment === 2) { + if (sourceEdge[3] >= 1 && targetEdge[3] <= 0) { + return [ midx + (sourceEdge[2] < 0.5 ? -1 * dx : dx), midy ]; + } + else if (sourceEdge[2] >= 1 && targetEdge[2] <= 0) { + return [ midx, midy + (sourceEdge[3] < 0.5 ? -1 * dy : dy) ]; + } + else { + return [ midx + dx, midy + (-1 * dy) ]; + } + } + else if (segment === 3) { + if (sourceEdge[3] >= 1 && targetEdge[3] <= 0) { + return [ midx + (sourceEdge[2] < 0.5 ? -1 * dx : dx), midy ]; + } + else if (sourceEdge[2] <= 0 && targetEdge[2] >= 1) { + return [ midx, midy + (sourceEdge[3] < 0.5 ? -1 * dy : dy) ]; + } + else { + return [ midx + (-1 * dx) , midy + (-1 * dy) ]; + } + } + else if (segment === 4) { + if (sourceEdge[3] <= 0 && targetEdge[3] >= 1) { + return [ midx + (sourceEdge[2] < 0.5 ? -1 * dx : dx), midy ]; + } + else if (sourceEdge[2] <= 0 && targetEdge[2] >= 1) { + return [ midx, midy + (sourceEdge[3] < 0.5 ? -1 * dy : dy) ]; + } + else { + return [ midx + dx , midy + (-1 * dy) ]; + } + } + + }; + + var StateMachine = function (params) { + params = params || {}; + this.type = "StateMachine"; + + var _super = _jp.Connectors.AbstractBezierConnector.apply(this, arguments), + curviness = params.curviness || 10, + margin = params.margin || 5, + proximityLimit = params.proximityLimit || 80, + clockwise = params.orientation && params.orientation === "clockwise", + _controlPoint; + + this._computeBezier = function(paintInfo, params, sp, tp, w, h) { + var _sx = params.sourcePos[0] < params.targetPos[0] ? 0 : w, + _sy = params.sourcePos[1] < params.targetPos[1] ? 0 : h, + _tx = params.sourcePos[0] < params.targetPos[0] ? w : 0, + _ty = params.sourcePos[1] < params.targetPos[1] ? h : 0; + + // now adjust for the margin + if (params.sourcePos[2] === 0) { + _sx -= margin; + } + if (params.sourcePos[2] === 1) { + _sx += margin; + } + if (params.sourcePos[3] === 0) { + _sy -= margin; + } + if (params.sourcePos[3] === 1) { + _sy += margin; + } + if (params.targetPos[2] === 0) { + _tx -= margin; + } + if (params.targetPos[2] === 1) { + _tx += margin; + } + if (params.targetPos[3] === 0) { + _ty -= margin; + } + if (params.targetPos[3] === 1) { + _ty += margin; + } + + // + // these connectors are quadratic bezier curves, having a single control point. if both anchors + // are located at 0.5 on their respective faces, the control point is set to the midpoint and you + // get a straight line. this is also the case if the two anchors are within 'proximityLimit', since + // it seems to make good aesthetic sense to do that. outside of that, the control point is positioned + // at 'curviness' pixels away along the normal to the straight line connecting the two anchors. + // + // there may be two improvements to this. firstly, we might actually support the notion of avoiding nodes + // in the UI, or at least making a good effort at doing so. if a connection would pass underneath some node, + // for example, we might increase the distance the control point is away from the midpoint in a bid to + // steer it around that node. this will work within limits, but i think those limits would also be the likely + // limits for, once again, aesthetic good sense in the layout of a chart using these connectors. + // + // the second possible change is actually two possible changes: firstly, it is possible we should gradually + // decrease the 'curviness' as the distance between the anchors decreases; start tailing it off to 0 at some + // point (which should be configurable). secondly, we might slightly increase the 'curviness' for connectors + // with respect to how far their anchor is from the center of its respective face. this could either look cool, + // or stupid, and may indeed work only in a way that is so subtle as to have been a waste of time. + // + + var _midx = (_sx + _tx) / 2, + _midy = (_sy + _ty) / 2, + segment = _segment(_sx, _sy, _tx, _ty), + distance = Math.sqrt(Math.pow(_tx - _sx, 2) + Math.pow(_ty - _sy, 2)), + cp1x, cp2x, cp1y, cp2y; + + + // calculate the control point. this code will be where we'll put in a rudimentary element avoidance scheme; it + // will work by extending the control point to force the curve to be, um, curvier. + _controlPoint = _findControlPoint(_midx, + _midy, + segment, + params.sourcePos, + params.targetPos, + curviness, curviness, + distance, + proximityLimit); + + cp1x = _controlPoint[0]; + cp2x = _controlPoint[0]; + cp1y = _controlPoint[1]; + cp2y = _controlPoint[1]; + + _super.addSegment(this, "Bezier", { + x1: _tx, y1: _ty, x2: _sx, y2: _sy, + cp1x: cp1x, cp1y: cp1y, + cp2x: cp2x, cp2y: cp2y + }); + }; + }; + + _jp.Connectors.StateMachine = StateMachine; + _ju.extend(StateMachine, _jp.Connectors.AbstractBezierConnector); + +}).call(typeof window !== 'undefined' ? window : this); +/* + * This file contains the 'flowchart' connectors, consisting of vertical and horizontal line segments. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + + "use strict"; + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil; + var STRAIGHT = "Straight"; + + var Straight = function (params) { + this.type = STRAIGHT; + var _super = _jp.Connectors.AbstractConnector.apply(this, arguments); + + this._compute = function (paintInfo, _) { + _super.addSegment(this, STRAIGHT, {x1: paintInfo.sx, y1: paintInfo.sy, x2: paintInfo.startStubX, y2: paintInfo.startStubY}); + _super.addSegment(this, STRAIGHT, {x1: paintInfo.startStubX, y1: paintInfo.startStubY, x2: paintInfo.endStubX, y2: paintInfo.endStubY}); + _super.addSegment(this, STRAIGHT, {x1: paintInfo.endStubX, y1: paintInfo.endStubY, x2: paintInfo.tx, y2: paintInfo.ty}); + }; + }; + + _jp.Connectors.Straight = Straight; + _ju.extend(Straight, _jp.Connectors.AbstractConnector); + +}).call(typeof window !== 'undefined' ? window : this); +/* + * This file contains the SVG renderers. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + +// ************************** SVG utility methods ******************************************** + + "use strict"; + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil; + + var svgAttributeMap = { + "stroke-linejoin": "stroke-linejoin", + "stroke-dashoffset": "stroke-dashoffset", + "stroke-linecap": "stroke-linecap" + }, + STROKE_DASHARRAY = "stroke-dasharray", + DASHSTYLE = "dashstyle", + LINEAR_GRADIENT = "linearGradient", + RADIAL_GRADIENT = "radialGradient", + DEFS = "defs", + FILL = "fill", + STOP = "stop", + STROKE = "stroke", + STROKE_WIDTH = "stroke-width", + STYLE = "style", + NONE = "none", + JSPLUMB_GRADIENT = "jsplumb_gradient_", + LINE_WIDTH = "strokeWidth", + ns = { + svg: "http://www.w3.org/2000/svg" + }, + _attr = function (node, attributes) { + for (var i in attributes) { + node.setAttribute(i, "" + attributes[i]); + } + }, + _node = function (name, attributes) { + attributes = attributes || {}; + attributes.version = "1.1"; + attributes.xmlns = ns.svg; + return _jp.createElementNS(ns.svg, name, null, null, attributes); + }, + _pos = function (d) { + return "position:absolute;left:" + d[0] + "px;top:" + d[1] + "px"; + }, + _clearGradient = function (parent) { + var els = parent.querySelectorAll(" defs,linearGradient,radialGradient"); + for (var i = 0; i < els.length; i++) { + els[i].parentNode.removeChild(els[i]); + } + }, + _updateGradient = function (parent, node, style, dimensions, uiComponent) { + var id = JSPLUMB_GRADIENT + uiComponent._jsPlumb.instance.idstamp(); + // first clear out any existing gradient + _clearGradient(parent); + // this checks for an 'offset' property in the gradient, and in the absence of it, assumes + // we want a linear gradient. if it's there, we create a radial gradient. + // it is possible that a more explicit means of defining the gradient type would be + // better. relying on 'offset' means that we can never have a radial gradient that uses + // some default offset, for instance. + // issue 244 suggested the 'gradientUnits' attribute; without this, straight/flowchart connectors with gradients would + // not show gradients when the line was perfectly horizontal or vertical. + var g; + if (!style.gradient.offset) { + g = _node(LINEAR_GRADIENT, {id: id, gradientUnits: "userSpaceOnUse"}); + } + else { + g = _node(RADIAL_GRADIENT, { id: id }); + } + + var defs = _node(DEFS); + parent.appendChild(defs); + defs.appendChild(g); + + // the svg radial gradient seems to treat stops in the reverse + // order to how canvas does it. so we want to keep all the maths the same, but + // iterate the actual style declarations in reverse order, if the x indexes are not in order. + for (var i = 0; i < style.gradient.stops.length; i++) { + var styleToUse = uiComponent.segment === 1 || uiComponent.segment === 2 ? i : style.gradient.stops.length - 1 - i, + stopColor = style.gradient.stops[styleToUse][1], + s = _node(STOP, {"offset": Math.floor(style.gradient.stops[i][0] * 100) + "%", "stop-color": stopColor}); + + g.appendChild(s); + } + var applyGradientTo = style.stroke ? STROKE : FILL; + node.setAttribute(applyGradientTo, "url(#" + id + ")"); + }, + _applyStyles = function (parent, node, style, dimensions, uiComponent) { + + node.setAttribute(FILL, style.fill ? style.fill : NONE); + node.setAttribute(STROKE, style.stroke ? style.stroke : NONE); + + if (style.gradient) { + _updateGradient(parent, node, style, dimensions, uiComponent); + } + else { + // make sure we clear any existing gradient + _clearGradient(parent); + node.setAttribute(STYLE, ""); + } + + if (style.strokeWidth) { + node.setAttribute(STROKE_WIDTH, style.strokeWidth); + } + + // in SVG there is a stroke-dasharray attribute we can set, and its syntax looks like + // the syntax in VML but is actually kind of nasty: values are given in the pixel + // coordinate space, whereas in VML they are multiples of the width of the stroked + // line, which makes a lot more sense. for that reason, jsPlumb is supporting both + // the native svg 'stroke-dasharray' attribute, and also the 'dashstyle' concept from + // VML, which will be the preferred method. the code below this converts a dashstyle + // attribute given in terms of stroke width into a pixel representation, by using the + // stroke's lineWidth. + if (style[DASHSTYLE] && style[LINE_WIDTH] && !style[STROKE_DASHARRAY]) { + var sep = style[DASHSTYLE].indexOf(",") === -1 ? " " : ",", + parts = style[DASHSTYLE].split(sep), + styleToUse = ""; + parts.forEach(function (p) { + styleToUse += (Math.floor(p * style.strokeWidth) + sep); + }); + node.setAttribute(STROKE_DASHARRAY, styleToUse); + } + else if (style[STROKE_DASHARRAY]) { + node.setAttribute(STROKE_DASHARRAY, style[STROKE_DASHARRAY]); + } + + // extra attributes such as join type, dash offset. + for (var i in svgAttributeMap) { + if (style[i]) { + node.setAttribute(svgAttributeMap[i], style[i]); + } + } + }, + _appendAtIndex = function (svg, path, idx) { + if (svg.childNodes.length > idx) { + svg.insertBefore(path, svg.childNodes[idx]); + } + else { + svg.appendChild(path); + } + }; + + /** + utility methods for other objects to use. + */ + _ju.svg = { + node: _node, + attr: _attr, + pos: _pos + }; + + // ************************** / SVG utility methods ******************************************** + + /* + * Base class for SVG components. + */ + var SvgComponent = function (params) { + var pointerEventsSpec = params.pointerEventsSpec || "all", renderer = {}; + + _jp.jsPlumbUIComponent.apply(this, params.originalArgs); + this.canvas = null; + this.path = null; + this.svg = null; + this.bgCanvas = null; + + var clazz = params.cssClass + " " + (params.originalArgs[0].cssClass || ""), + svgParams = { + "style": "", + "width": 0, + "height": 0, + "pointer-events": pointerEventsSpec, + "position": "absolute" + }; + + this.svg = _node("svg", svgParams); + + if (params.useDivWrapper) { + this.canvas = _jp.createElement("div", { position : "absolute" }); + _ju.sizeElement(this.canvas, 0, 0, 1, 1); + this.canvas.className = clazz; + } + else { + _attr(this.svg, { "class": clazz }); + this.canvas = this.svg; + } + + params._jsPlumb.appendElement(this.canvas, params.originalArgs[0].parent); + if (params.useDivWrapper) { + this.canvas.appendChild(this.svg); + } + + var displayElements = [ this.canvas ]; + this.getDisplayElements = function () { + return displayElements; + }; + + this.appendDisplayElement = function (el) { + displayElements.push(el); + }; + + this.paint = function (style, anchor, extents) { + if (style != null) { + + var xy = [ this.x, this.y ], wh = [ this.w, this.h ], p; + if (extents != null) { + if (extents.xmin < 0) { + xy[0] += extents.xmin; + } + if (extents.ymin < 0) { + xy[1] += extents.ymin; + } + wh[0] = extents.xmax + ((extents.xmin < 0) ? -extents.xmin : 0); + wh[1] = extents.ymax + ((extents.ymin < 0) ? -extents.ymin : 0); + } + + if (params.useDivWrapper) { + _ju.sizeElement(this.canvas, xy[0], xy[1], wh[0], wh[1]); + xy[0] = 0; + xy[1] = 0; + p = _pos([ 0, 0 ]); + } + else { + p = _pos([ xy[0], xy[1] ]); + } + + renderer.paint.apply(this, arguments); + + _attr(this.svg, { + "style": p, + "width": wh[0] || 0, + "height": wh[1] || 0 + }); + } + }; + + return { + renderer: renderer + }; + }; + + _ju.extend(SvgComponent, _jp.jsPlumbUIComponent, { + cleanup: function (force) { + if (force || this.typeId == null) { + if (this.canvas) { + this.canvas._jsPlumb = null; + } + if (this.svg) { + this.svg._jsPlumb = null; + } + if (this.bgCanvas) { + this.bgCanvas._jsPlumb = null; + } + + if (this.canvas && this.canvas.parentNode) { + this.canvas.parentNode.removeChild(this.canvas); + } + if (this.bgCanvas && this.bgCanvas.parentNode) { + this.canvas.parentNode.removeChild(this.canvas); + } + + this.svg = null; + this.canvas = null; + this.path = null; + this.group = null; + } + else { + // if not a forced cleanup, just detach from DOM for now. + if (this.canvas && this.canvas.parentNode) { + this.canvas.parentNode.removeChild(this.canvas); + } + if (this.bgCanvas && this.bgCanvas.parentNode) { + this.bgCanvas.parentNode.removeChild(this.bgCanvas); + } + } + }, + reattach:function(instance) { + var c = instance.getContainer(); + if (this.canvas && this.canvas.parentNode == null) { + c.appendChild(this.canvas); + } + if (this.bgCanvas && this.bgCanvas.parentNode == null) { + c.appendChild(this.bgCanvas); + } + }, + setVisible: function (v) { + if (this.canvas) { + this.canvas.style.display = v ? "block" : "none"; + } + } + }); + + /* + * Base class for SVG connectors. + */ + _jp.ConnectorRenderers.svg = function (params) { + var self = this, + _super = SvgComponent.apply(this, [ + { + cssClass: params._jsPlumb.connectorClass, + originalArgs: arguments, + pointerEventsSpec: "none", + _jsPlumb: params._jsPlumb + } + ]); + + _super.renderer.paint = function (style, anchor, extents) { + + var segments = self.getSegments(), p = "", offset = [0, 0]; + if (extents.xmin < 0) { + offset[0] = -extents.xmin; + } + if (extents.ymin < 0) { + offset[1] = -extents.ymin; + } + + if (segments.length > 0) { + + p = self.getPathData(); + + var a = { + d: p, + transform: "translate(" + offset[0] + "," + offset[1] + ")", + "pointer-events": params["pointer-events"] || "visibleStroke" + }, + outlineStyle = null, + d = [self.x, self.y, self.w, self.h]; + + // outline style. actually means drawing an svg object underneath the main one. + if (style.outlineStroke) { + var outlineWidth = style.outlineWidth || 1, + outlineStrokeWidth = style.strokeWidth + (2 * outlineWidth); + outlineStyle = _jp.extend({}, style); + delete outlineStyle.gradient; + outlineStyle.stroke = style.outlineStroke; + outlineStyle.strokeWidth = outlineStrokeWidth; + + if (self.bgPath == null) { + self.bgPath = _node("path", a); + _jp.addClass(self.bgPath, _jp.connectorOutlineClass); + _appendAtIndex(self.svg, self.bgPath, 0); + } + else { + _attr(self.bgPath, a); + } + + _applyStyles(self.svg, self.bgPath, outlineStyle, d, self); + } + + if (self.path == null) { + self.path = _node("path", a); + _appendAtIndex(self.svg, self.path, style.outlineStroke ? 1 : 0); + } + else { + _attr(self.path, a); + } + + _applyStyles(self.svg, self.path, style, d, self); + } + }; + }; + _ju.extend(_jp.ConnectorRenderers.svg, SvgComponent); + +// ******************************* svg segment renderer ***************************************************** + + +// ******************************* /svg segments ***************************************************** + + /* + * Base class for SVG endpoints. + */ + var SvgEndpoint = _jp.SvgEndpoint = function (params) { + var _super = SvgComponent.apply(this, [ + { + cssClass: params._jsPlumb.endpointClass, + originalArgs: arguments, + pointerEventsSpec: "all", + useDivWrapper: true, + _jsPlumb: params._jsPlumb + } + ]); + + _super.renderer.paint = function (style) { + var s = _jp.extend({}, style); + if (s.outlineStroke) { + s.stroke = s.outlineStroke; + } + + if (this.node == null) { + this.node = this.makeNode(s); + this.svg.appendChild(this.node); + } + else if (this.updateNode != null) { + this.updateNode(this.node); + } + _applyStyles(this.svg, this.node, s, [ this.x, this.y, this.w, this.h ], this); + _pos(this.node, [ this.x, this.y ]); + }.bind(this); + + }; + _ju.extend(SvgEndpoint, SvgComponent); + + /* + * SVG Dot Endpoint + */ + _jp.Endpoints.svg.Dot = function () { + _jp.Endpoints.Dot.apply(this, arguments); + SvgEndpoint.apply(this, arguments); + this.makeNode = function (style) { + return _node("circle", { + "cx": this.w / 2, + "cy": this.h / 2, + "r": this.radius + }); + }; + this.updateNode = function (node) { + _attr(node, { + "cx": this.w / 2, + "cy": this.h / 2, + "r": this.radius + }); + }; + }; + _ju.extend(_jp.Endpoints.svg.Dot, [_jp.Endpoints.Dot, SvgEndpoint]); + + /* + * SVG Rectangle Endpoint + */ + _jp.Endpoints.svg.Rectangle = function () { + _jp.Endpoints.Rectangle.apply(this, arguments); + SvgEndpoint.apply(this, arguments); + this.makeNode = function (style) { + return _node("rect", { + "width": this.w, + "height": this.h + }); + }; + this.updateNode = function (node) { + _attr(node, { + "width": this.w, + "height": this.h + }); + }; + }; + _ju.extend(_jp.Endpoints.svg.Rectangle, [_jp.Endpoints.Rectangle, SvgEndpoint]); + + /* + * SVG Image Endpoint is the default image endpoint. + */ + _jp.Endpoints.svg.Image = _jp.Endpoints.Image; + /* + * Blank endpoint in svg renderer is the default Blank endpoint. + */ + _jp.Endpoints.svg.Blank = _jp.Endpoints.Blank; + /* + * Label overlay in svg renderer is the default Label overlay. + */ + _jp.Overlays.svg.Label = _jp.Overlays.Label; + /* + * Custom overlay in svg renderer is the default Custom overlay. + */ + _jp.Overlays.svg.Custom = _jp.Overlays.Custom; + + var AbstractSvgArrowOverlay = function (superclass, originalArgs) { + superclass.apply(this, originalArgs); + _jp.jsPlumbUIComponent.apply(this, originalArgs); + this.isAppendedAtTopLevel = false; + var self = this; + this.path = null; + this.paint = function (params, containerExtents) { + // only draws on connections, not endpoints. + if (params.component.svg && containerExtents) { + if (this.path == null) { + this.path = _node("path", { + "pointer-events": "all" + }); + params.component.svg.appendChild(this.path); + if (this.elementCreated) { + this.elementCreated(this.path, params.component); + } + + this.canvas = params.component.svg; // for the sake of completeness; this behaves the same as other overlays + } + var clazz = originalArgs && (originalArgs.length === 1) ? (originalArgs[0].cssClass || "") : "", + offset = [0, 0]; + + if (containerExtents.xmin < 0) { + offset[0] = -containerExtents.xmin; + } + if (containerExtents.ymin < 0) { + offset[1] = -containerExtents.ymin; + } + + _attr(this.path, { + "d": makePath(params.d), + "class": clazz, + stroke: params.stroke ? params.stroke : null, + fill: params.fill ? params.fill : null, + transform: "translate(" + offset[0] + "," + offset[1] + ")" + }); + } + }; + var makePath = function (d) { + return (isNaN(d.cxy.x) || isNaN(d.cxy.y)) ? "" : "M" + d.hxy.x + "," + d.hxy.y + + " L" + d.tail[0].x + "," + d.tail[0].y + + " L" + d.cxy.x + "," + d.cxy.y + + " L" + d.tail[1].x + "," + d.tail[1].y + + " L" + d.hxy.x + "," + d.hxy.y; + }; + this.transfer = function(target) { + if (target.canvas && this.path && this.path.parentNode) { + this.path.parentNode.removeChild(this.path); + target.canvas.appendChild(this.path); + } + }; + }; + + var svgProtoFunctions = { + cleanup : function (force) { + if (this.path != null) { + if (force) { + this._jsPlumb.instance.removeElement(this.path); + } + else { + if (this.path.parentNode) { + this.path.parentNode.removeChild(this.path); + } + } + } + }, reattach :function(instance, component) { + if (this.path && component.canvas) { + component.canvas.appendChild(this.path); + } + }, + setVisible : function (v) { + if (this.path != null) { + (this.path.style.display = (v ? "block" : "none")); + } + } + }; + + _ju.extend(AbstractSvgArrowOverlay, [_jp.jsPlumbUIComponent, _jp.Overlays.AbstractOverlay]); + + _jp.Overlays.svg.Arrow = function () { + AbstractSvgArrowOverlay.apply(this, [_jp.Overlays.Arrow, arguments]); + }; + _ju.extend(_jp.Overlays.svg.Arrow, [ _jp.Overlays.Arrow, AbstractSvgArrowOverlay ], svgProtoFunctions); + + _jp.Overlays.svg.PlainArrow = function () { + AbstractSvgArrowOverlay.apply(this, [_jp.Overlays.PlainArrow, arguments]); + }; + _ju.extend(_jp.Overlays.svg.PlainArrow, [ _jp.Overlays.PlainArrow, AbstractSvgArrowOverlay ], svgProtoFunctions); + + _jp.Overlays.svg.Diamond = function () { + AbstractSvgArrowOverlay.apply(this, [_jp.Overlays.Diamond, arguments]); + }; + _ju.extend(_jp.Overlays.svg.Diamond, [ _jp.Overlays.Diamond, AbstractSvgArrowOverlay ], svgProtoFunctions); + + // a test + _jp.Overlays.svg.GuideLines = function () { + var path = null, self = this, p1_1, p1_2; + _jp.Overlays.GuideLines.apply(this, arguments); + this.paint = function (params, containerExtents) { + if (path == null) { + path = _node("path"); + params.connector.svg.appendChild(path); + self.attachListeners(path, params.connector); + self.attachListeners(path, self); + + p1_1 = _node("path"); + params.connector.svg.appendChild(p1_1); + self.attachListeners(p1_1, params.connector); + self.attachListeners(p1_1, self); + + p1_2 = _node("path"); + params.connector.svg.appendChild(p1_2); + self.attachListeners(p1_2, params.connector); + self.attachListeners(p1_2, self); + } + + var offset = [0, 0]; + if (containerExtents.xmin < 0) { + offset[0] = -containerExtents.xmin; + } + if (containerExtents.ymin < 0) { + offset[1] = -containerExtents.ymin; + } + + _attr(path, { + "d": makePath(params.head, params.tail), + stroke: "red", + fill: null, + transform: "translate(" + offset[0] + "," + offset[1] + ")" + }); + + _attr(p1_1, { + "d": makePath(params.tailLine[0], params.tailLine[1]), + stroke: "blue", + fill: null, + transform: "translate(" + offset[0] + "," + offset[1] + ")" + }); + + _attr(p1_2, { + "d": makePath(params.headLine[0], params.headLine[1]), + stroke: "green", + fill: null, + transform: "translate(" + offset[0] + "," + offset[1] + ")" + }); + }; + + var makePath = function (d1, d2) { + return "M " + d1.x + "," + d1.y + + " L" + d2.x + "," + d2.y; + }; + }; + _ju.extend(_jp.Overlays.svg.GuideLines, _jp.Overlays.GuideLines); +}).call(typeof window !== 'undefined' ? window : this); + +/* + * This file contains code used when jsPlumb is being rendered in a DOM. + * + * Copyright (c) 2010 - 2019 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + + "use strict"; + + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil, + _jk = root.Katavorio, _jg = root.Biltong; + + var _getEventManager = function(instance) { + var e = instance._mottle; + if (!e) { + e = instance._mottle = new root.Mottle(); + } + return e; + }; + + var _getDragManager = function (instance, category) { + + category = category || "main"; + var key = "_katavorio_" + category; + var k = instance[key], + e = instance.getEventManager(); + + if (!k) { + k = new _jk({ + bind: e.on, + unbind: e.off, + getSize: _jp.getSize, + getConstrainingRectangle:function(el) { + return [ el.parentNode.scrollWidth, el.parentNode.scrollHeight ]; + }, + getPosition: function (el, relativeToRoot) { + // if this is a nested draggable then compute the offset against its own offsetParent, otherwise + // compute against the Container's origin. see also the getUIPosition method below. + var o = instance.getOffset(el, relativeToRoot, el._katavorioDrag ? el.offsetParent : null); + return [o.left, o.top]; + }, + setPosition: function (el, xy) { + el.style.left = xy[0] + "px"; + el.style.top = xy[1] + "px"; + }, + addClass: _jp.addClass, + removeClass: _jp.removeClass, + intersects: _jg.intersects, + indexOf: function(l, i) { return l.indexOf(i); }, + scope:instance.getDefaultScope(), + css: { + noSelect: instance.dragSelectClass, + droppable: "jtk-droppable", + draggable: "jtk-draggable", + drag: "jtk-drag", + selected: "jtk-drag-selected", + active: "jtk-drag-active", + hover: "jtk-drag-hover", + ghostProxy:"jtk-ghost-proxy" + } + }); + k.setZoom(instance.getZoom()); + instance[key] = k; + instance.bind("zoom", k.setZoom); + } + return k; + }; + + var _dragStart=function(params) { + var options = params.el._jsPlumbDragOptions; + var cont = true; + if (options.canDrag) { + cont = options.canDrag(); + } + if (cont) { + this.setHoverSuspended(true); + this.select({source: params.el}).addClass(this.elementDraggingClass + " " + this.sourceElementDraggingClass, true); + this.select({target: params.el}).addClass(this.elementDraggingClass + " " + this.targetElementDraggingClass, true); + this.setConnectionBeingDragged(true); + } + return cont; + }; + var _dragMove=function(params) { + var ui = this.getUIPosition(arguments, this.getZoom()); + if (ui != null) { + var o = params.el._jsPlumbDragOptions; + this.draw(params.el, ui, null, true); + if (o._dragging) { + this.addClass(params.el, "jtk-dragged"); + } + o._dragging = true; + } + }; + var _dragStop=function(params) { + var elements = params.selection, uip; + + var _one = function (_e) { + if (_e[1] != null) { + // run the reported offset through the code that takes parent containers + // into account, to adjust if necessary (issue 554) + uip = this.getUIPosition([{ + el:_e[2].el, + pos:[_e[1].left, _e[1].top] + }]); + this.draw(_e[2].el, uip); + } + + if (_e[0]._jsPlumbDragOptions != null) { + delete _e[0]._jsPlumbDragOptions._dragging; + } + + this.removeClass(_e[0], "jtk-dragged"); + this.select({source: _e[2].el}).removeClass(this.elementDraggingClass + " " + this.sourceElementDraggingClass, true); + this.select({target: _e[2].el}).removeClass(this.elementDraggingClass + " " + this.targetElementDraggingClass, true); + this.getDragManager().dragEnded(_e[2].el); + }.bind(this); + + for (var i = 0; i < elements.length; i++) { + _one(elements[i]); + } + + this.setHoverSuspended(false); + this.setConnectionBeingDragged(false); + }; + + var _animProps = function (o, p) { + var _one = function (pName) { + if (p[pName] != null) { + if (_ju.isString(p[pName])) { + var m = p[pName].match(/-=/) ? -1 : 1, + v = p[pName].substring(2); + return o[pName] + (m * v); + } + else { + return p[pName]; + } + } + else { + return o[pName]; + } + }; + return [ _one("left"), _one("top") ]; + }; + + var _genLoc = function (prefix, e) { + if (e == null) { + return [ 0, 0 ]; + } + var ts = _touches(e), t = _getTouch(ts, 0); + return [t[prefix + "X"], t[prefix + "Y"]]; + }, + _pageLocation = _genLoc.bind(this, "page"), + _screenLocation = _genLoc.bind(this, "screen"), + _clientLocation = _genLoc.bind(this, "client"), + _getTouch = function (touches, idx) { + return touches.item ? touches.item(idx) : touches[idx]; + }, + _touches = function (e) { + return e.touches && e.touches.length > 0 ? e.touches : + e.changedTouches && e.changedTouches.length > 0 ? e.changedTouches : + e.targetTouches && e.targetTouches.length > 0 ? e.targetTouches : + [ e ]; + }; + + /** + Manages dragging for some instance of jsPlumb. + + TODO instead of this being accessed directly, it should subscribe to events on the jsPlumb instance: every method + in here is called directly by jsPlumb. But what should happen is that we have unpublished events that this listens + to. The only trick is getting one of these instantiated with every jsPlumb instance: it needs to have a hook somehow. + Basically the general idea is to pull ALL the drag code out (prototype method registrations plus this) into a + dedicated drag script), that does not necessarily need to be included. + + + */ + var DragManager = function (_currentInstance) { + var _draggables = {}, _dlist = [], _delements = {}, _elementsWithEndpoints = {}, + // elementids mapped to the draggable to which they belong. + _draggablesForElements = {}; + + /** + register some element as draggable. right now the drag init stuff is done elsewhere, and it is + possible that will continue to be the case. + */ + this.register = function (el) { + var id = _currentInstance.getId(el), + parentOffset; + + if (!_draggables[id]) { + _draggables[id] = el; + _dlist.push(el); + _delements[id] = {}; + } + + // look for child elements that have endpoints and register them against this draggable. + var _oneLevel = function (p) { + if (p) { + for (var i = 0; i < p.childNodes.length; i++) { + if (p.childNodes[i].nodeType !== 3 && p.childNodes[i].nodeType !== 8) { + var cEl = jsPlumb.getElement(p.childNodes[i]), + cid = _currentInstance.getId(p.childNodes[i], null, true); + if (cid && _elementsWithEndpoints[cid] && _elementsWithEndpoints[cid] > 0) { + if (!parentOffset) { + parentOffset = _currentInstance.getOffset(el); + } + var cOff = _currentInstance.getOffset(cEl); + _delements[id][cid] = { + id: cid, + offset: { + left: cOff.left - parentOffset.left, + top: cOff.top - parentOffset.top + } + }; + _draggablesForElements[cid] = id; + } + _oneLevel(p.childNodes[i]); + } + } + } + }; + + _oneLevel(el); + }; + + // refresh the offsets for child elements of this element. + this.updateOffsets = function (elId, childOffsetOverrides) { + if (elId != null) { + childOffsetOverrides = childOffsetOverrides || {}; + var domEl = jsPlumb.getElement(elId), + id = _currentInstance.getId(domEl), + children = _delements[id], + parentOffset; + + if (children) { + for (var i in children) { + if (children.hasOwnProperty(i)) { + var cel = jsPlumb.getElement(i), + cOff = childOffsetOverrides[i] || _currentInstance.getOffset(cel); + + // do not update if we have a value already and we'd just be writing 0,0 + if (cel.offsetParent == null && _delements[id][i] != null) { + continue; + } + + if (!parentOffset) { + parentOffset = _currentInstance.getOffset(domEl); + } + + _delements[id][i] = { + id: i, + offset: { + left: cOff.left - parentOffset.left, + top: cOff.top - parentOffset.top + } + }; + _draggablesForElements[i] = id; + } + } + } + } + }; + + /** + notification that an endpoint was added to the given el. we go up from that el's parent + node, looking for a parent that has been registered as a draggable. if we find one, we add this + el to that parent's list of elements to update on drag (if it is not there already) + */ + this.endpointAdded = function (el, id) { + + id = id || _currentInstance.getId(el); + + var b = document.body, + p = el.parentNode; + + _elementsWithEndpoints[id] = _elementsWithEndpoints[id] ? _elementsWithEndpoints[id] + 1 : 1; + + while (p != null && p !== b) { + var pid = _currentInstance.getId(p, null, true); + if (pid && _draggables[pid]) { + var pLoc = _currentInstance.getOffset(p); + + if (_delements[pid][id] == null) { + var cLoc = _currentInstance.getOffset(el); + _delements[pid][id] = { + id: id, + offset: { + left: cLoc.left - pLoc.left, + top: cLoc.top - pLoc.top + } + }; + _draggablesForElements[id] = pid; + } + break; + } + p = p.parentNode; + } + }; + + this.endpointDeleted = function (endpoint) { + if (_elementsWithEndpoints[endpoint.elementId]) { + _elementsWithEndpoints[endpoint.elementId]--; + if (_elementsWithEndpoints[endpoint.elementId] <= 0) { + for (var i in _delements) { + if (_delements.hasOwnProperty(i) && _delements[i]) { + delete _delements[i][endpoint.elementId]; + delete _draggablesForElements[endpoint.elementId]; + } + } + } + } + }; + + this.changeId = function (oldId, newId) { + _delements[newId] = _delements[oldId]; + _delements[oldId] = {}; + _draggablesForElements[newId] = _draggablesForElements[oldId]; + _draggablesForElements[oldId] = null; + }; + + this.getElementsForDraggable = function (id) { + return _delements[id]; + }; + + this.elementRemoved = function (elementId) { + var elId = _draggablesForElements[elementId]; + if (elId) { + delete _delements[elId][elementId]; + delete _draggablesForElements[elementId]; + } + }; + + this.reset = function () { + _draggables = {}; + _dlist = []; + _delements = {}; + _elementsWithEndpoints = {}; + }; + + // + // notification drag ended. We check automatically if need to update some + // ancestor's offsets. + // + this.dragEnded = function (el) { + if (el.offsetParent != null) { + var id = _currentInstance.getId(el), + ancestor = _draggablesForElements[id]; + + if (ancestor) { + this.updateOffsets(ancestor); + } + } + }; + + this.setParent = function (el, elId, p, pId, currentChildLocation) { + var current = _draggablesForElements[elId]; + if (!_delements[pId]) { + _delements[pId] = {}; + } + var pLoc = _currentInstance.getOffset(p), + cLoc = currentChildLocation || _currentInstance.getOffset(el); + + if (current && _delements[current]) { + delete _delements[current][elId]; + } + + _delements[pId][elId] = { + id:elId, + offset : { + left: cLoc.left - pLoc.left, + top: cLoc.top - pLoc.top + } + }; + _draggablesForElements[elId] = pId; + }; + + this.clearParent = function(el, elId) { + var current = _draggablesForElements[elId]; + if (current) { + delete _delements[current][elId]; + delete _draggablesForElements[elId]; + } + }; + + this.revalidateParent = function(el, elId, childOffset) { + var current = _draggablesForElements[elId]; + if (current) { + var co = {}; + co[elId] = childOffset; + this.updateOffsets(current, co); + _currentInstance.revalidate(current); + } + }; + + this.getDragAncestor = function (el) { + var de = jsPlumb.getElement(el), + id = _currentInstance.getId(de), + aid = _draggablesForElements[id]; + + if (aid) { + return jsPlumb.getElement(aid); + } + else { + return null; + } + }; + + }; + + var _setClassName = function (el, cn, classList) { + cn = _ju.fastTrim(cn); + if (typeof el.className.baseVal !== "undefined") { + el.className.baseVal = cn; + } + else { + el.className = cn; + } + + // recent (i currently have 61.0.3163.100) version of chrome do not update classList when you set the base val + // of an svg element's className. in the long run we'd like to move to just using classList anyway + try { + var cl = el.classList; + if (cl != null) { + while (cl.length > 0) { + cl.remove(cl.item(0)); + } + for (var i = 0; i < classList.length; i++) { + if (classList[i]) { + cl.add(classList[i]); + } + } + } + } + catch(e) { + // not fatal + _ju.log("JSPLUMB: cannot set class list", e); + } + }, + _getClassName = function (el) { + return (typeof el.className.baseVal === "undefined") ? el.className : el.className.baseVal; + }, + _classManip = function (el, classesToAdd, classesToRemove) { + classesToAdd = classesToAdd == null ? [] : _ju.isArray(classesToAdd) ? classesToAdd : classesToAdd.split(/\s+/); + classesToRemove = classesToRemove == null ? [] : _ju.isArray(classesToRemove) ? classesToRemove : classesToRemove.split(/\s+/); + + var className = _getClassName(el), + curClasses = className.split(/\s+/); + + var _oneSet = function (add, classes) { + for (var i = 0; i < classes.length; i++) { + if (add) { + if (curClasses.indexOf(classes[i]) === -1) { + curClasses.push(classes[i]); + } + } + else { + var idx = curClasses.indexOf(classes[i]); + if (idx !== -1) { + curClasses.splice(idx, 1); + } + } + } + }; + + _oneSet(true, classesToAdd); + _oneSet(false, classesToRemove); + + _setClassName(el, curClasses.join(" "), curClasses); + }; + + root.jsPlumb.extend(root.jsPlumbInstance.prototype, { + + headless: false, + + pageLocation: _pageLocation, + screenLocation: _screenLocation, + clientLocation: _clientLocation, + + getDragManager:function() { + if (this.dragManager == null) { + this.dragManager = new DragManager(this); + } + + return this.dragManager; + }, + + recalculateOffsets:function(elId) { + this.getDragManager().updateOffsets(elId); + }, + + createElement:function(tag, style, clazz, atts) { + return this.createElementNS(null, tag, style, clazz, atts); + }, + + createElementNS:function(ns, tag, style, clazz, atts) { + var e = ns == null ? document.createElement(tag) : document.createElementNS(ns, tag); + var i; + style = style || {}; + for (i in style) { + e.style[i] = style[i]; + } + + if (clazz) { + e.className = clazz; + } + + atts = atts || {}; + for (i in atts) { + e.setAttribute(i, "" + atts[i]); + } + + return e; + }, + + getAttribute: function (el, attName) { + return el.getAttribute != null ? el.getAttribute(attName) : null; + }, + + setAttribute: function (el, a, v) { + if (el.setAttribute != null) { + el.setAttribute(a, v); + } + }, + + setAttributes: function (el, atts) { + for (var i in atts) { + if (atts.hasOwnProperty(i)) { + el.setAttribute(i, atts[i]); + } + } + }, + appendToRoot: function (node) { + document.body.appendChild(node); + }, + getRenderModes: function () { + return [ "svg" ]; + }, + getClass:_getClassName, + addClass: function (el, clazz) { + jsPlumb.each(el, function (e) { + _classManip(e, clazz); + }); + }, + hasClass: function (el, clazz) { + el = jsPlumb.getElement(el); + if (el.classList) { + return el.classList.contains(clazz); + } + else { + return _getClassName(el).indexOf(clazz) !== -1; + } + }, + removeClass: function (el, clazz) { + jsPlumb.each(el, function (e) { + _classManip(e, null, clazz); + }); + }, + toggleClass:function(el, clazz) { + if (jsPlumb.hasClass(el, clazz)) { + jsPlumb.removeClass(el, clazz); + } else { + jsPlumb.addClass(el, clazz); + } + }, + updateClasses: function (el, toAdd, toRemove) { + jsPlumb.each(el, function (e) { + _classManip(e, toAdd, toRemove); + }); + }, + setClass: function (el, clazz) { + if (clazz != null) { + jsPlumb.each(el, function (e) { + _setClassName(e, clazz, clazz.split(/\s+/)); + }); + } + }, + setPosition: function (el, p) { + el.style.left = p.left + "px"; + el.style.top = p.top + "px"; + }, + getPosition: function (el) { + var _one = function (prop) { + var v = el.style[prop]; + return v ? v.substring(0, v.length - 2) : 0; + }; + return { + left: _one("left"), + top: _one("top") + }; + }, + getStyle:function(el, prop) { + if (typeof window.getComputedStyle !== 'undefined') { + return getComputedStyle(el, null).getPropertyValue(prop); + } else { + return el.currentStyle[prop]; + } + }, + getSelector: function (ctx, spec) { + var sel = null; + if (arguments.length === 1) { + sel = ctx.nodeType != null ? ctx : document.querySelectorAll(ctx); + } + else { + sel = ctx.querySelectorAll(spec); + } + + return sel; + }, + getOffset:function(el, relativeToRoot, container) { + el = jsPlumb.getElement(el); + container = container || this.getContainer(); + var out = { + left: el.offsetLeft, + top: el.offsetTop + }, + op = (relativeToRoot || (container != null && (el !== container && el.offsetParent !== container))) ? el.offsetParent : null, + _maybeAdjustScroll = function(offsetParent) { + if (offsetParent != null && offsetParent !== document.body && (offsetParent.scrollTop > 0 || offsetParent.scrollLeft > 0)) { + out.left -= offsetParent.scrollLeft; + out.top -= offsetParent.scrollTop; + } + }.bind(this); + + while (op != null) { + out.left += op.offsetLeft; + out.top += op.offsetTop; + _maybeAdjustScroll(op); + op = relativeToRoot ? op.offsetParent : + op.offsetParent === container ? null : op.offsetParent; + } + + // if container is scrolled and the element (or its offset parent) is not absolute or fixed, adjust accordingly. + if (container != null && !relativeToRoot && (container.scrollTop > 0 || container.scrollLeft > 0)) { + var pp = el.offsetParent != null ? this.getStyle(el.offsetParent, "position") : "static", + p = this.getStyle(el, "position"); + if (p !== "absolute" && p !== "fixed" && pp !== "absolute" && pp !== "fixed") { + out.left -= container.scrollLeft; + out.top -= container.scrollTop; + } + } + return out; + }, + // + // return x+y proportion of the given element's size corresponding to the location of the given event. + // + getPositionOnElement: function (evt, el, zoom) { + var box = typeof el.getBoundingClientRect !== "undefined" ? el.getBoundingClientRect() : { left: 0, top: 0, width: 0, height: 0 }, + body = document.body, + docElem = document.documentElement, + scrollTop = window.pageYOffset || docElem.scrollTop || body.scrollTop, + scrollLeft = window.pageXOffset || docElem.scrollLeft || body.scrollLeft, + clientTop = docElem.clientTop || body.clientTop || 0, + clientLeft = docElem.clientLeft || body.clientLeft || 0, + pst = 0, + psl = 0, + top = box.top + scrollTop - clientTop + (pst * zoom), + left = box.left + scrollLeft - clientLeft + (psl * zoom), + cl = jsPlumb.pageLocation(evt), + w = box.width || (el.offsetWidth * zoom), + h = box.height || (el.offsetHeight * zoom), + x = (cl[0] - left) / w, + y = (cl[1] - top) / h; + + return [ x, y ]; + }, + + /** + * Gets the absolute position of some element as read from the left/top properties in its style. + * @method getAbsolutePosition + * @param {Element} el The element to retrieve the absolute coordinates from. **Note** this is a DOM element, not a selector from the underlying library. + * @return {Number[]} [left, top] pixel values. + */ + getAbsolutePosition: function (el) { + var _one = function (s) { + var ss = el.style[s]; + if (ss) { + return parseFloat(ss.substring(0, ss.length - 2)); + } + }; + return [ _one("left"), _one("top") ]; + }, + + /** + * Sets the absolute position of some element by setting the left/top properties in its style. + * @method setAbsolutePosition + * @param {Element} el The element to set the absolute coordinates on. **Note** this is a DOM element, not a selector from the underlying library. + * @param {Number[]} xy x and y coordinates + * @param {Number[]} [animateFrom] Optional previous xy to animate from. + * @param {Object} [animateOptions] Options for the animation. + */ + setAbsolutePosition: function (el, xy, animateFrom, animateOptions) { + if (animateFrom) { + this.animate(el, { + left: "+=" + (xy[0] - animateFrom[0]), + top: "+=" + (xy[1] - animateFrom[1]) + }, animateOptions); + } + else { + el.style.left = xy[0] + "px"; + el.style.top = xy[1] + "px"; + } + }, + /** + * gets the size for the element, in an array : [ width, height ]. + */ + getSize: function (el) { + return [ el.offsetWidth, el.offsetHeight ]; + }, + getWidth: function (el) { + return el.offsetWidth; + }, + getHeight: function (el) { + return el.offsetHeight; + }, + getRenderMode : function() { return "svg"; }, + draggable : function (el, options) { + var info; + el = _ju.isArray(el) || (el.length != null && !_ju.isString(el)) ? el: [ el ]; + Array.prototype.slice.call(el).forEach(function(_el) { + info = this.info(_el); + if (info.el) { + this._initDraggableIfNecessary(info.el, true, options, info.id, true); + } + }.bind(this)); + return this; + }, + snapToGrid : function(el, x, y) { + var out = []; + var _oneEl = function(_el) { + var info = this.info(_el); + if (info.el != null && info.el._katavorioDrag) { + var snapped = info.el._katavorioDrag.snap(x, y); + this.revalidate(info.el); + out.push([info.el, snapped]); + } + }.bind(this); + + // if you call this method with 0 arguments or 2 arguments it is assumed you want to snap all managed elements to + // a grid. if you supply one argument or 3, then you are assumed to be specifying one element. + if(arguments.length === 1 || arguments.length === 3) { + _oneEl(el, x, y); + } else { + var _me = this.getManagedElements(); + for (var mel in _me) { + _oneEl(mel, arguments[0], arguments[1]); + } + } + + return out; + }, + initDraggable: function (el, options, category) { + _getDragManager(this, category).draggable(el, options); + el._jsPlumbDragOptions = options; + }, + destroyDraggable: function (el, category) { + _getDragManager(this, category).destroyDraggable(el); + delete el._jsPlumbDragOptions; + }, + unbindDraggable: function (el, evt, fn, category) { + _getDragManager(this, category).destroyDraggable(el, evt, fn); + }, + setDraggable : function (element, draggable) { + return jsPlumb.each(element, function (el) { + if (this.isDragSupported(el)) { + this._draggableStates[this.getAttribute(el, "id")] = draggable; + this.setElementDraggable(el, draggable); + } + }.bind(this)); + }, + _draggableStates : {}, + /* + * toggles the draggable state of the given element(s). + * el is either an id, or an element object, or a list of ids/element objects. + */ + toggleDraggable : function (el) { + var state; + jsPlumb.each(el, function (el) { + var elId = this.getAttribute(el, "id"); + state = this._draggableStates[elId] == null ? false : this._draggableStates[elId]; + state = !state; + this._draggableStates[elId] = state; + this.setDraggable(el, state); + return state; + }.bind(this)); + return state; + }, + _initDraggableIfNecessary : function (element, isDraggable, dragOptions, id, fireEvent) { + // TODO FIRST: move to DragManager. including as much of the decision to init dragging as possible. + if (!jsPlumb.headless) { + var _draggable = isDraggable == null ? false : isDraggable; + if (_draggable) { + if (jsPlumb.isDragSupported(element, this)) { + var options = dragOptions || this.Defaults.DragOptions; + options = jsPlumb.extend({}, options); // make a copy. + if (!jsPlumb.isAlreadyDraggable(element, this)) { + var dragEvent = jsPlumb.dragEvents.drag, + stopEvent = jsPlumb.dragEvents.stop, + startEvent = jsPlumb.dragEvents.start; + + this.manage(id, element); + + options[startEvent] = _ju.wrap(options[startEvent], _dragStart.bind(this)); + + options[dragEvent] = _ju.wrap(options[dragEvent], _dragMove.bind(this)); + + options[stopEvent] = _ju.wrap(options[stopEvent], _dragStop.bind(this)); + + var elId = this.getId(element); // need ID + + this._draggableStates[elId] = true; + var draggable = this._draggableStates[elId]; + + options.disabled = draggable == null ? false : !draggable; + this.initDraggable(element, options); + this.getDragManager().register(element); + if (fireEvent) { + this.fire("elementDraggable", {el:element, options:options}); + } + } + else { + // already draggable. attach any start, drag or stop listeners to the current Drag. + if (dragOptions.force) { + this.initDraggable(element, options); + } + } + } + } + } + }, + animationSupported:true, + getElement: function (el) { + if (el == null) { + return null; + } + // here we pluck the first entry if el was a list of entries. + // this is not my favourite thing to do, but previous versions of + // jsplumb supported jquery selectors, and it is possible a selector + // will be passed in here. + el = typeof el === "string" ? el : el.length != null && el.enctype == null ? el[0] : el; + return typeof el === "string" ? document.getElementById(el) : el; + }, + removeElement: function (element) { + _getDragManager(this).elementRemoved(element); + this.getEventManager().remove(element); + }, + // + // this adapter supports a rudimentary animation function. no easing is supported. only + // left/top properties are supported. property delta args are expected to be in the form + // + // +=x.xxxx + // + // or + // + // -=x.xxxx + // + doAnimate: function (el, properties, options) { + options = options || {}; + var o = this.getOffset(el), + ap = _animProps(o, properties), + ldist = ap[0] - o.left, + tdist = ap[1] - o.top, + d = options.duration || 250, + step = 15, steps = d / step, + linc = (step / d) * ldist, + tinc = (step / d) * tdist, + idx = 0, + _int = setInterval(function () { + _jp.setPosition(el, { + left: o.left + (linc * (idx + 1)), + top: o.top + (tinc * (idx + 1)) + }); + if (options.step != null) { + options.step(idx, Math.ceil(steps)); + } + idx++; + if (idx >= steps) { + window.clearInterval(_int); + if (options.complete != null) { + options.complete(); + } + } + }, step); + }, + // DRAG/DROP + + + destroyDroppable: function (el, category) { + _getDragManager(this, category).destroyDroppable(el); + }, + unbindDroppable: function (el, evt, fn, category) { + _getDragManager(this, category).destroyDroppable(el, evt, fn); + }, + + droppable :function(el, options) { + el = _ju.isArray(el) || (el.length != null && !_ju.isString(el)) ? el: [ el ]; + var info; + options = options || {}; + options.allowLoopback = false; + Array.prototype.slice.call(el).forEach(function(_el) { + info = this.info(_el); + if (info.el) { + this.initDroppable(info.el, options); + } + }.bind(this)); + return this; + }, + + initDroppable: function (el, options, category) { + _getDragManager(this, category).droppable(el, options); + }, + isAlreadyDraggable: function (el) { + return el._katavorioDrag != null; + }, + isDragSupported: function (el, options) { + return true; + }, + isDropSupported: function (el, options) { + return true; + }, + isElementDraggable: function (el) { + el = _jp.getElement(el); + return el._katavorioDrag && el._katavorioDrag.isEnabled(); + }, + getDragObject: function (eventArgs) { + return eventArgs[0].drag.getDragElement(); + }, + getDragScope: function (el) { + return el._katavorioDrag && el._katavorioDrag.scopes.join(" ") || ""; + }, + getDropEvent: function (args) { + return args[0].e; + }, + getUIPosition: function (eventArgs, zoom) { + // here the position reported to us by Katavorio is relative to the element's offsetParent. For top + // level nodes that is fine, but if we have a nested draggable then its offsetParent is actually + // not going to be the jsplumb container; it's going to be some child of that element. In that case + // we want to adjust the UI position to account for the offsetParent's position relative to the Container + // origin. + var el = eventArgs[0].el; + if (el.offsetParent == null) { + return null; + } + var finalPos = eventArgs[0].finalPos || eventArgs[0].pos; + var p = { left:finalPos[0], top:finalPos[1] }; + if (el._katavorioDrag && el.offsetParent !== this.getContainer()) { + var oc = this.getOffset(el.offsetParent); + p.left += oc.left; + p.top += oc.top; + } + return p; + }, + setDragFilter: function (el, filter, _exclude) { + if (el._katavorioDrag) { + el._katavorioDrag.setFilter(filter, _exclude); + } + }, + setElementDraggable: function (el, draggable) { + el = _jp.getElement(el); + if (el._katavorioDrag) { + el._katavorioDrag.setEnabled(draggable); + } + }, + setDragScope: function (el, scope) { + if (el._katavorioDrag) { + el._katavorioDrag.k.setDragScope(el, scope); + } + }, + setDropScope:function(el, scope) { + if (el._katavorioDrop && el._katavorioDrop.length > 0) { + el._katavorioDrop[0].k.setDropScope(el, scope); + } + }, + addToPosse:function(el, spec) { + var specs = Array.prototype.slice.call(arguments, 1); + var dm = _getDragManager(this); + _jp.each(el, function(_el) { + _el = [ _jp.getElement(_el) ]; + _el.push.apply(_el, specs ); + dm.addToPosse.apply(dm, _el); + }); + }, + setPosse:function(el, spec) { + var specs = Array.prototype.slice.call(arguments, 1); + var dm = _getDragManager(this); + _jp.each(el, function(_el) { + _el = [ _jp.getElement(_el) ]; + _el.push.apply(_el, specs ); + dm.setPosse.apply(dm, _el); + }); + }, + removeFromPosse:function(el, posseId) { + var specs = Array.prototype.slice.call(arguments, 1); + var dm = _getDragManager(this); + _jp.each(el, function(_el) { + _el = [ _jp.getElement(_el) ]; + _el.push.apply(_el, specs ); + dm.removeFromPosse.apply(dm, _el); + }); + }, + removeFromAllPosses:function(el) { + var dm = _getDragManager(this); + _jp.each(el, function(_el) { dm.removeFromAllPosses(_jp.getElement(_el)); }); + }, + setPosseState:function(el, posseId, state) { + var dm = _getDragManager(this); + _jp.each(el, function(_el) { dm.setPosseState(_jp.getElement(_el), posseId, state); }); + }, + dragEvents: { + 'start': 'start', 'stop': 'stop', 'drag': 'drag', 'step': 'step', + 'over': 'over', 'out': 'out', 'drop': 'drop', 'complete': 'complete', + 'beforeStart':'beforeStart' + }, + animEvents: { + 'step': "step", 'complete': 'complete' + }, + stopDrag: function (el) { + if (el._katavorioDrag) { + el._katavorioDrag.abort(); + } + }, + addToDragSelection: function (spec) { + var el = this.getElement(spec); + if (el != null && (el._isJsPlumbGroup || el._jsPlumbGroup == null)) { + _getDragManager(this).select(spec); + } + }, + removeFromDragSelection: function (spec) { + _getDragManager(this).deselect(spec); + }, + getDragSelection:function() { + return _getDragManager(this).getSelection(); + }, + clearDragSelection: function () { + _getDragManager(this).deselectAll(); + }, + trigger: function (el, event, originalEvent, payload) { + this.getEventManager().trigger(el, event, originalEvent, payload); + }, + doReset:function() { + // look for katavorio instances and reset each one if found. + for (var key in this) { + if (key.indexOf("_katavorio_") === 0) { + this[key].reset(); + } + } + }, + getEventManager:function() { + return _getEventManager(this); + }, + on : function(el, event, callback) { + // TODO: here we would like to map the tap event if we know its + // an internal bind to a click. we have to know its internal because only + // then can we be sure that the UP event wont be consumed (tap is a synthesized + // event from a mousedown followed by a mouseup). + //event = { "click":"tap", "dblclick":"dbltap"}[event] || event; + this.getEventManager().on.apply(this, arguments); + return this; + }, + off : function(el, event, callback) { + this.getEventManager().off.apply(this, arguments); + return this; + } + + }); + + var ready = function (f) { + var _do = function () { + if (/complete|loaded|interactive/.test(document.readyState) && typeof(document.body) !== "undefined" && document.body != null) { + f(); + } + else { + setTimeout(_do, 9); + } + }; + + _do(); + }; + ready(_jp.init); + +}).call(typeof window !== 'undefined' ? window : this); diff --git a/simulation/helper/cable/simulate.html b/simulation/helper/cable/simulate.html new file mode 100644 index 0000000..d650bcc --- /dev/null +++ b/simulation/helper/cable/simulate.html @@ -0,0 +1,117 @@ + + + Log Amplifier + + + + + + + +
+ +

Log Amplifier

+ + + + +
+

1

+

2

+

3

+

4

+

5

+

6

+

7

+

8

+

9

+

10

+
+ + + +
+
+
+
+
+
+
+
+ +
+
+ Copyright©2019 | Lab developed by Virtual Labs, IIT Roorkee
+
+ + +
+ + + + + + + \ No newline at end of file diff --git a/simulation/helper/cable/temp.html b/simulation/helper/cable/temp.html new file mode 100644 index 0000000..8311e75 --- /dev/null +++ b/simulation/helper/cable/temp.html @@ -0,0 +1,76 @@ + + + + + + JsPlumb Circuit Simulator + + + + + + +
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+ + + + + diff --git a/simulation/helper/img/slider_D_blank.png b/simulation/helper/img/slider_D_blank.png new file mode 100644 index 0000000..d7893b4 Binary files /dev/null and b/simulation/helper/img/slider_D_blank.png differ diff --git a/simulation/helper/img/slider_R_arrow.png b/simulation/helper/img/slider_R_arrow.png new file mode 100644 index 0000000..cbbb9c5 Binary files /dev/null and b/simulation/helper/img/slider_R_arrow.png differ diff --git a/simulation/helper/img/slider_V_arrow.png b/simulation/helper/img/slider_V_arrow.png new file mode 100644 index 0000000..b855b94 Binary files /dev/null and b/simulation/helper/img/slider_V_arrow.png differ diff --git a/simulation/helper/img/slider_V_back.png b/simulation/helper/img/slider_V_back.png new file mode 100644 index 0000000..14ddcee Binary files /dev/null and b/simulation/helper/img/slider_V_back.png differ diff --git a/simulation/helper/img/slider_circuit.png b/simulation/helper/img/slider_circuit.png new file mode 100644 index 0000000..f58870f Binary files /dev/null and b/simulation/helper/img/slider_circuit.png differ diff --git a/simulation/helper/img/slider_tip.png b/simulation/helper/img/slider_tip.png new file mode 100644 index 0000000..13c5348 Binary files /dev/null and b/simulation/helper/img/slider_tip.png differ diff --git a/simulation/helper/sliders.css b/simulation/helper/sliders.css new file mode 100644 index 0000000..6a7e6fc --- /dev/null +++ b/simulation/helper/sliders.css @@ -0,0 +1,137 @@ +body{ + background-color: #f1ece3; +} +.universal-slider{ + +} +.universal-slider .slider-circuit{ + position: relative; + z-index: 20; +} +.slider .slider_R,.range-slider{ + position: absolute; + left: 557px; + top: 115px; + z-index: 499; + -webkit-appearance: none; + appearance: none; + transform: rotate(-90deg); + width: 80px; + height: 30px; + height: 10px; + border-radius: 5px; + /* background: #d3d3d3; */ + background: transparent; + outline: none; + opacity: 0.9; + -webkit-transition: .2s; + transition: opacity .2s; +} +.slider .slider_R::-webkit-slider-thumb,.range-slider::-webkit-slider-thumb{ + -webkit-appearance: none; + appearance: none; + height: 30px; + width: 30px; + border: 0; + transform: rotate(90deg); + background: url('./img/slider_tip.png'); + background-position: center; + background-size: cover; + background-repeat: no-repeat; + cursor: pointer; + +} +.slider .slider_R:hover,.range-slider:hover{ + /* background-color: black; */ + opacity: 1; +} + +.slider .slider_R+img{ + position: absolute; + left: 569px; + top: 120px; + z-index: 498; +} +.slider .value-box{ + background-color: white; + text-align: black; + border: 1px solid black; + width: fit-content; + display: flex; + padding: 0 3px; +} +.slider .value-box input{ + border: none; + outline: none; + width: 25px; + font-weight: bold; +} + + + + +/* ! Fix positions of all slider input value */ +.slider .r .value-box{ + position: absolute; + left: 588px; + top: 54px; + z-index: 500; +} +/* slider d */ +.slider .slider_D{ + transform: rotate(0deg); + left: 281px; + top: 143.8px; + width: 80px; + background-color: transparent; +} + +.slider .d .value-box{ + position: absolute; + left: 299px; + top: 97px; + z-index: 500; +} +.slider .slider_D+img{ + position: absolute; + left: 218px; + top: 141px; + width: 80px; + z-index: 10; +} + +/* slider v */ +.slider .v .meter{ + width: 113px; + position: absolute; + top: 12px; + left: 70px; +} + +.slider .v .slider-V-arrow{ + width: 35px; + position: absolute; + z-index: 200; +} + +.slider-v-r1{ + transform: rotate(0deg); + top: 65px; + left: 100px; +} +.slider-v-r2{ + transform: rotate(50deg); + top: 62px; + left: 110px; +} +.slider-v-r3{ + transform: rotate(110deg); + top: 67px; + left: 119px; +} +.slider .v .value-box{ + position: absolute; + top: 103px; + left: 116px; + z-index: 200; +} diff --git a/simulation/helper/sliders.js b/simulation/helper/sliders.js new file mode 100644 index 0000000..eadb1ec --- /dev/null +++ b/simulation/helper/sliders.js @@ -0,0 +1,103 @@ +function sliderR(){ + let slider_R = document.querySelector(".slider_R") + let sliderImg = document.querySelector(".slider-R-arrow") + let sliderValueInput = document.querySelector(".r .value-box input") + // ratio to move 450/50 = 1:10 + // max img 71px -> min 120 px + let val = 0 + + // slider function + function slide(e){ + e = e instanceof Event + if(e){ + sliderValueInput.value = slider_R.value + } + else{ + slider_R.value = sliderValueInput.value + } + val = (slider_R.value / 9.3) - 5 + sliderImg.style.top = `${120 - val}px` + } + + const slideInput = ()=>{ + let val = sliderValueInput.value + if(val > 500){ + val = 500 + } + sliderValueInput.value = val + slide(false) + } + + slider_R.oninput = slide + sliderValueInput.onkeyup = slideInput + sliderValueInput.addEventListener("focusout",()=>{ + if(sliderValueInput.value < 50){ + sliderValueInput.value = 50 + } + slide(false) + }) +} +function sliderD(){ + let slider_D = document.querySelector(".slider_D") + let sliderImg = document.querySelector(".slider-D-arrow") + let sliderValueInput = document.querySelector(".d .value-box input") + let val = 0 + + // slider function + function slide(e){ + e = e instanceof Event + if(e){ + sliderValueInput.value = slider_D.value + } + else{ + slider_D.value = sliderValueInput.value + } + val = ((slider_D.value*100) / 1.7) - 5 + sliderImg.style.left = `${218 + val}px` + } + + const slideInput = ()=>{ + let val = sliderValueInput.value + if(val > 0.95){ + val = 0.95 + } + sliderValueInput.value = val + slide(false) + } + + slider_D.oninput = slide + sliderValueInput.onkeyup = slideInput + sliderValueInput.addEventListener("focusout",()=>{ + if(sliderValueInput.value < 0.1){ + sliderValueInput.value = 0.1 + } + slide(false) + }) +} +function sliderV(){ + let sliderArrow = document.querySelector(".slider-V-arrow") + let sliderValueInput = document.querySelector(".v .value-box input") + + // slider function + function rotateArrow(rot=0){ + if(sliderArrow.classList.contains("slider-v-r3")){ + sliderArrow.classList.remove("slider-v-r3") + sliderArrow.classList.add("slider-v-r1") + sliderValueInput.value = 24 + + }else if(sliderArrow.classList.contains("slider-v-r1")){ + sliderArrow.classList.remove("slider-v-r1") + sliderArrow.classList.add("slider-v-r2") + sliderValueInput.value = 48 + }else if(sliderArrow.classList.contains("slider-v-r2")){ + sliderArrow.classList.remove("slider-v-r2") + sliderArrow.classList.add("slider-v-r3") + sliderValueInput.value = 72 + } + } + + sliderArrow.onclick = rotateArrow +} +sliderV() +sliderR() +sliderD() \ No newline at end of file diff --git a/simulation/helper/temp.html b/simulation/helper/temp.html new file mode 100644 index 0000000..dfc03af --- /dev/null +++ b/simulation/helper/temp.html @@ -0,0 +1,44 @@ + + + + + + Document + + + + + +
+ +
+ +
+ + +
+ + V +
+
+
+ + +
+ + +
+
+
+ + +
+ + 𝜴 +
+
+
+
+ + + diff --git a/simulation/helper/temp.py b/simulation/helper/temp.py new file mode 100644 index 0000000..4355eff --- /dev/null +++ b/simulation/helper/temp.py @@ -0,0 +1,48 @@ +import os +def html(name): + return ''' + {0} + '''.format(name) + +def src(name :str,i :int): + return name[0:name.find('.')] + ":this.allImgsDom[{0}],\n".format(i) + + +def dom(name): + name1 = name[0: name.find(".")] + return f'{name1} : new Dom("{name1}"),\n' + + +names = os.listdir("S:\\Users\\Utkarsh\\Documents\\Project2\\EE\\EE1\\src\\images\\temp\\temp23") + +# namesStr = '' +# for name in names: +# namesStr = namesStr + f'{name}\n' + +# open("temp3.txt","w").write(namesStr) + +BASE_COUNT = 13 +count = 134 + +srcs = '' +doms = '' +htms = '' +for i in range(len(names)): + htms = htms + html(names[i]) + doms = doms + dom(names[i]) + srcs = srcs + src(names[i],i+count) + + + + +# open("temp.txt","w").write() +allItems = f'{htms}\n\n{srcs}\n\n{doms}' +open("temp2.txt","w").write(allItems) + +print("Done 👍") +# print(os.__path__) +# \ No newline at end of file diff --git a/simulation/helper/temp.txt b/simulation/helper/temp.txt new file mode 100644 index 0000000..e69de29 diff --git a/simulation/helper/temp2.py b/simulation/helper/temp2.py new file mode 100644 index 0000000..6554647 --- /dev/null +++ b/simulation/helper/temp2.py @@ -0,0 +1,325 @@ +domitems = ''' + anchor_plate.webp + anchor_plate.webp + anchor_plate.webp + anchor_plate.webp + + beam_3d_1.png + beam_3d_1.png + + beam_3d_with_holes.png + beam_3d_with_holes.png + + ct_prop.png + ct_prop.png + ct_prop.png + ct_prop.png + ct_prop.png + ct_prop.png + + foot_adapter.png + foot_adapter.png + foot_adapter.png + + head_adapter.webp + head_adapter.webp + full_column.jpeg + drill_machine.png + hammer.png + nail.png + objective.png + real_foot_adapter.png + real_head_adapter.png + + sheathing.png + sheathing.png + sheathing.png + sheathing.png + sheathing.png + + steel_waler.png + steel_waler.png + steel_waler.png + tie_rod.png + tie_rod.png + tie_rod.png + tie_rod.png + wing_nut_top-cutout.png + wing_nut_top-cutout.png + wing_nut_top-cutout.png + wing_nut_top-cutout.png + wing_nut_top-cutout.png + wing_nut_full.png +''' + +names = '''anchor_plate +anchor_plate +anchor_plate +anchor_plate +beam_3d_1 +beam_3d_1 +beam_3d_with_holes +beam_3d_with_holes +ct_prop +ct_prop +ct_prop +ct_prop +ct_prop +ct_prop +foot_adapter +foot_adapter +foot_adapter +head_adapter +head_adapter +full_column +drill_machine +hammer +nail +objective +real_foot_adapter +real_head_adapter +sheathing +sheathing +sheathing +sheathing +sheathing +steel +steel +steel +tie_rod +tie_rod +tie_rod +tie_rod +wing_nut_top +wing_nut_top +wing_nut_top +wing_nut_top +wing_nut_top +wing_nut_full +''' + +names = names.split("\n") +for i in range(27,len(names)+27): + l = names[i-27] + ": this.allImgsDom[{0}],".format(i) + print(l) + \ No newline at end of file diff --git a/simulation/helper/temp2.txt b/simulation/helper/temp2.txt new file mode 100644 index 0000000..a802c50 --- /dev/null +++ b/simulation/helper/temp2.txt @@ -0,0 +1,68 @@ + + formulas_component_stress.png + + formulas_efficiency.png + + formulas_ideal.png + + formulas_nomenclautre.png + + formulas_non_ideal.png + + formulas_procedure.png + + formulas_universal.png + + graph2_arrow.png + + +formulas_component_stress:this.allImgsDom[134], +formulas_efficiency:this.allImgsDom[135], +formulas_ideal:this.allImgsDom[136], +formulas_nomenclautre:this.allImgsDom[137], +formulas_non_ideal:this.allImgsDom[138], +formulas_procedure:this.allImgsDom[139], +formulas_universal:this.allImgsDom[140], +graph2_arrow:this.allImgsDom[141], + + +formulas_component_stress : new Dom("formulas_component_stress"), +formulas_efficiency : new Dom("formulas_efficiency"), +formulas_ideal : new Dom("formulas_ideal"), +formulas_nomenclautre : new Dom("formulas_nomenclautre"), +formulas_non_ideal : new Dom("formulas_non_ideal"), +formulas_procedure : new Dom("formulas_procedure"), +formulas_universal : new Dom("formulas_universal"), +graph2_arrow : new Dom("graph2_arrow"), diff --git a/simulation/helper/temp3.txt b/simulation/helper/temp3.txt new file mode 100644 index 0000000..56fbe1c --- /dev/null +++ b/simulation/helper/temp3.txt @@ -0,0 +1,90 @@ +slide_1.png +slide_2.png +slide_3_page_1.png +slide_3_page_2.png +slide_3_page_3.png +slide_3_page_4.png +slide_4_page_1.png +slide_4_page_1_fan.png +slide_4_page_2_battery_1.png +slide_4_page_2_battery_2.png +slide_4_page_2_battery_3.png +slide_4_page_2_volt_text.png +slide_4_page_3_text_1.png +slide_4_page_3_text_2.png +slide_4_page_3_wire.png +slide_5_page_1.png +slide_5_page_2_text_1.png +slide_5_page_2_volt_text.png +slide_5_page_3_1_text_1.png +slide_5_page_3_2_wire.png +slide_5_page_3_3_light.png +slide_5_page_3_4_blast.gif +slide_5_page_3_5_cross.png +slide_5_page_3_6_emoji.png +slide_5_page_3_7_text_2.png +slide_5_page_3_8_text_3.png +slide_5_page_4_1_text_1.png +slide_6_page_1.png +slide_6_page_2_1_text_1.png +slide_6_page_2_2_emoji_blink.png +slide_6_page_3_1_text_1.png +slide_6_page_3_2_emoji_blink.png +slide_7_page_1_1.png +slide_7_page_1_2.png +slide_7_page_1_3.png +slide_8_page_1.png +slide_8_page_2_and_rotate_the_fan.png +slide_8_page_3_1.png +slide_8_page_3_2_light.png +slide_8_page_3_3_blank.png +slide_8_page_3_4_emoji.png +slide_8_page_3_5_text.png +slide_9.png +slide_10_page_1.png +slide_10_page_2.png +slide_10_page_3.png +slide_10_page_4_1.png +slide_10_page_4_2_plus.png +slide_10_page_4_3_minus.png +slide_10_page_4_4_arrow.png +slide_10_page_4_5_text.png +slide_11_page_1.png +slide_11_page_2_1.png +slide_11_page_2_2_blink.png +slide_11_page_3_1.png +slide_11_page_3_2_rotate_it.png +slide_11_page_3_3_text_and_arrow.png +slide_12_page_1.png +slide_12_page_2_1_pwm_blink.png +slide_12_page_2_2.png +slide_12_page_2_3_text.png +slide_12_page_3_1_pwn_blink.png +slide_12_page_3_2.png +slide_12_page_3_3_text.png +slide_12_page_3_4_text_2.png +slide_13_page_1.png +slide_13_page_2.png +slide_13_page_3_1_plus.png +slide_13_page_3_2_minus_rotate_both.png +slide_13_page_3_4.png +slide_13_page_3_5_text.png +['slide_14_helper.png', +'slide_14_page_1.png', +'slide_14_page_1_ball.png', +'slide_14_page_2_1_blink.png', +'slide_14_page_2_2_text.png', +'slide_14_page_3_1_symbols.png', +'slide_14_page_3_2_green_graph_and_start_ball.png', +'slide_14_page_3_3_white_image_for_blue_line.png', +'slide_15_page_1.png', +'slide_15_page_1_ball.png', +'slide_15_page_1_green_graph.png', +'slide_15_page_1_minus.png', +'slide_15_page_1_plus.png', +'slide_15_page_2_1_blink.png', +'slide_15_page_2_2_text.png', +'slide_15_page_3_1_arrow_and_text.png', +'slide_15_page_3_1_white.png', +'slide_15_page_3_2_graph.png', +'slide_15_page_3_3_text.png',] \ No newline at end of file diff --git a/simulation/helper/tempCodeRunnerFile.py b/simulation/helper/tempCodeRunnerFile.py new file mode 100644 index 0000000..0b8a6fb --- /dev/null +++ b/simulation/helper/tempCodeRunnerFile.py @@ -0,0 +1,42 @@ +import os + +def html(name): + return ''' + {0} + '''.format(name) + +def src(name :str,i :int): + return name[0:name.find('.')] + ":this.allImgsDom[{0}],\n".format(i) + + +def dom(name): + name1 = name[0: name.find(".")] + return f'{name1} : new Dom("{name1}"),\n' + + +names = os.listdir("S:\\Users\\Utkarsh\\Documents\\Project2\\CE8\\src\\images\\Beam and Slab") + +count = 108 + +srcs = '' +doms = '' +htms = '' +for i in range(len(names)): + htms = htms + html(names[i]) + doms = doms + dom(names[i]) + srcs = srcs + src(names[i],i+count) + + + +# open("temp.txt","w").write() +allItems = f'{htms}\n\n{srcs}\n\n{doms}' +open("temp2.txt","w").write(allItems) + +print("Done 👍") +# print(os.__path__) +# \ No newline at end of file diff --git a/simulation/iframes/data/apple-touch-icon.png b/simulation/iframes/data/apple-touch-icon.png new file mode 100644 index 0000000..5add869 Binary files /dev/null and b/simulation/iframes/data/apple-touch-icon.png differ diff --git a/simulation/iframes/data/browsersupport.js b/simulation/iframes/data/browsersupport.js new file mode 100644 index 0000000..9608730 --- /dev/null +++ b/simulation/iframes/data/browsersupport.js @@ -0,0 +1,6 @@ +!function(e,n,s){function t(e,n){return typeof e===n}function o(){var e,n,s,o,a,i,l;for(var c in f)if(f.hasOwnProperty(c)){if(e=[],n=f[c],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(s=0;si;i++){var r=g[i],f=r.toUpperCase()+"_"+t;if(f in a)return"@-"+r.toLowerCase()+"-"+n}return!1};l.atRule=m;var g=l._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];l._prefixes=g,o(),a(r),delete l.addTest,delete l.addAsyncTest;for(var v=0;v + + + + + + + + + Page Not Available + + + + + + \ No newline at end of file diff --git a/simulation/iframes/data/img0.png b/simulation/iframes/data/img0.png new file mode 100644 index 0000000..af52915 Binary files /dev/null and b/simulation/iframes/data/img0.png differ diff --git a/simulation/iframes/data/img1.png b/simulation/iframes/data/img1.png new file mode 100644 index 0000000..a6a430e Binary files /dev/null and b/simulation/iframes/data/img1.png differ diff --git a/simulation/iframes/data/img10.png b/simulation/iframes/data/img10.png new file mode 100644 index 0000000..8e9389f Binary files /dev/null and b/simulation/iframes/data/img10.png differ diff --git a/simulation/iframes/data/img11.png b/simulation/iframes/data/img11.png new file mode 100644 index 0000000..a0a9a55 Binary files /dev/null and b/simulation/iframes/data/img11.png differ diff --git a/simulation/iframes/data/img12.png b/simulation/iframes/data/img12.png new file mode 100644 index 0000000..794f658 Binary files /dev/null and b/simulation/iframes/data/img12.png differ diff --git a/simulation/iframes/data/img13.png b/simulation/iframes/data/img13.png new file mode 100644 index 0000000..d70039e Binary files /dev/null and b/simulation/iframes/data/img13.png differ diff --git a/simulation/iframes/data/img14.png b/simulation/iframes/data/img14.png new file mode 100644 index 0000000..c48460c Binary files /dev/null and b/simulation/iframes/data/img14.png differ diff --git a/simulation/iframes/data/img15.png b/simulation/iframes/data/img15.png new file mode 100644 index 0000000..45333e1 Binary files /dev/null and b/simulation/iframes/data/img15.png differ diff --git a/simulation/iframes/data/img16.png b/simulation/iframes/data/img16.png new file mode 100644 index 0000000..3ece842 Binary files /dev/null and b/simulation/iframes/data/img16.png differ diff --git a/simulation/iframes/data/img17.png b/simulation/iframes/data/img17.png new file mode 100644 index 0000000..f7565ea Binary files /dev/null and b/simulation/iframes/data/img17.png differ diff --git a/simulation/iframes/data/img18.jpg b/simulation/iframes/data/img18.jpg new file mode 100644 index 0000000..b3000bc Binary files /dev/null and b/simulation/iframes/data/img18.jpg differ diff --git a/simulation/iframes/data/img19.png b/simulation/iframes/data/img19.png new file mode 100644 index 0000000..feffe22 Binary files /dev/null and b/simulation/iframes/data/img19.png differ diff --git a/simulation/iframes/data/img2.png b/simulation/iframes/data/img2.png new file mode 100644 index 0000000..e5d91c0 Binary files /dev/null and b/simulation/iframes/data/img2.png differ diff --git a/simulation/iframes/data/img20.gif b/simulation/iframes/data/img20.gif new file mode 100644 index 0000000..0ae6bc4 Binary files /dev/null and b/simulation/iframes/data/img20.gif differ diff --git a/simulation/iframes/data/img21.jpg b/simulation/iframes/data/img21.jpg new file mode 100644 index 0000000..fc50b22 Binary files /dev/null and b/simulation/iframes/data/img21.jpg differ diff --git a/simulation/iframes/data/img22.png b/simulation/iframes/data/img22.png new file mode 100644 index 0000000..907874d Binary files /dev/null and b/simulation/iframes/data/img22.png differ diff --git a/simulation/iframes/data/img23.png b/simulation/iframes/data/img23.png new file mode 100644 index 0000000..b2f7470 Binary files /dev/null and b/simulation/iframes/data/img23.png differ diff --git a/simulation/iframes/data/img24.png b/simulation/iframes/data/img24.png new file mode 100644 index 0000000..4fbef6a Binary files /dev/null and b/simulation/iframes/data/img24.png differ diff --git a/simulation/iframes/data/img25.jpg b/simulation/iframes/data/img25.jpg new file mode 100644 index 0000000..7c0f03a Binary files /dev/null and b/simulation/iframes/data/img25.jpg differ diff --git a/simulation/iframes/data/img26.png b/simulation/iframes/data/img26.png new file mode 100644 index 0000000..741b6d2 Binary files /dev/null and b/simulation/iframes/data/img26.png differ diff --git a/simulation/iframes/data/img27.png b/simulation/iframes/data/img27.png new file mode 100644 index 0000000..fd472dd Binary files /dev/null and b/simulation/iframes/data/img27.png differ diff --git a/simulation/iframes/data/img28.png b/simulation/iframes/data/img28.png new file mode 100644 index 0000000..aa7688c Binary files /dev/null and b/simulation/iframes/data/img28.png differ diff --git a/simulation/iframes/data/img29.png b/simulation/iframes/data/img29.png new file mode 100644 index 0000000..6b5539e Binary files /dev/null and b/simulation/iframes/data/img29.png differ diff --git a/simulation/iframes/data/img3.png b/simulation/iframes/data/img3.png new file mode 100644 index 0000000..16a0a28 Binary files /dev/null and b/simulation/iframes/data/img3.png differ diff --git a/simulation/iframes/data/img30.png b/simulation/iframes/data/img30.png new file mode 100644 index 0000000..d3db9b0 Binary files /dev/null and b/simulation/iframes/data/img30.png differ diff --git a/simulation/iframes/data/img31.jpg b/simulation/iframes/data/img31.jpg new file mode 100644 index 0000000..f234184 Binary files /dev/null and b/simulation/iframes/data/img31.jpg differ diff --git a/simulation/iframes/data/img32.png b/simulation/iframes/data/img32.png new file mode 100644 index 0000000..628d316 Binary files /dev/null and b/simulation/iframes/data/img32.png differ diff --git a/simulation/iframes/data/img33.png b/simulation/iframes/data/img33.png new file mode 100644 index 0000000..24f2d5c Binary files /dev/null and b/simulation/iframes/data/img33.png differ diff --git a/simulation/iframes/data/img34.png b/simulation/iframes/data/img34.png new file mode 100644 index 0000000..6d84fec Binary files /dev/null and b/simulation/iframes/data/img34.png differ diff --git a/simulation/iframes/data/img35.png b/simulation/iframes/data/img35.png new file mode 100644 index 0000000..c3a64a8 Binary files /dev/null and b/simulation/iframes/data/img35.png differ diff --git a/simulation/iframes/data/img36.png b/simulation/iframes/data/img36.png new file mode 100644 index 0000000..e6dfa65 Binary files /dev/null and b/simulation/iframes/data/img36.png differ diff --git a/simulation/iframes/data/img37.png b/simulation/iframes/data/img37.png new file mode 100644 index 0000000..0ace6cc Binary files /dev/null and b/simulation/iframes/data/img37.png differ diff --git a/simulation/iframes/data/img38.png b/simulation/iframes/data/img38.png new file mode 100644 index 0000000..fcea0ee Binary files /dev/null and b/simulation/iframes/data/img38.png differ diff --git a/simulation/iframes/data/img39.png b/simulation/iframes/data/img39.png new file mode 100644 index 0000000..f694c0c Binary files /dev/null and b/simulation/iframes/data/img39.png differ diff --git a/simulation/iframes/data/img4.png b/simulation/iframes/data/img4.png new file mode 100644 index 0000000..3489d27 Binary files /dev/null and b/simulation/iframes/data/img4.png differ diff --git a/simulation/iframes/data/img40.png b/simulation/iframes/data/img40.png new file mode 100644 index 0000000..136038e Binary files /dev/null and b/simulation/iframes/data/img40.png differ diff --git a/simulation/iframes/data/img41.png b/simulation/iframes/data/img41.png new file mode 100644 index 0000000..0dbf5ed Binary files /dev/null and b/simulation/iframes/data/img41.png differ diff --git a/simulation/iframes/data/img42.png b/simulation/iframes/data/img42.png new file mode 100644 index 0000000..a7e8bd0 Binary files /dev/null and b/simulation/iframes/data/img42.png differ diff --git a/simulation/iframes/data/img43.png b/simulation/iframes/data/img43.png new file mode 100644 index 0000000..1e82cc6 Binary files /dev/null and b/simulation/iframes/data/img43.png differ diff --git a/simulation/iframes/data/img44.png b/simulation/iframes/data/img44.png new file mode 100644 index 0000000..6d6e089 Binary files /dev/null and b/simulation/iframes/data/img44.png differ diff --git a/simulation/iframes/data/img45.png b/simulation/iframes/data/img45.png new file mode 100644 index 0000000..123be8d Binary files /dev/null and b/simulation/iframes/data/img45.png differ diff --git a/simulation/iframes/data/img46.png b/simulation/iframes/data/img46.png new file mode 100644 index 0000000..3467b48 Binary files /dev/null and b/simulation/iframes/data/img46.png differ diff --git a/simulation/iframes/data/img47.png b/simulation/iframes/data/img47.png new file mode 100644 index 0000000..7bc2e0d Binary files /dev/null and b/simulation/iframes/data/img47.png differ diff --git a/simulation/iframes/data/img48.png b/simulation/iframes/data/img48.png new file mode 100644 index 0000000..bc21a01 Binary files /dev/null and b/simulation/iframes/data/img48.png differ diff --git a/simulation/iframes/data/img49.png b/simulation/iframes/data/img49.png new file mode 100644 index 0000000..1f7a847 Binary files /dev/null and b/simulation/iframes/data/img49.png differ diff --git a/simulation/iframes/data/img5.png b/simulation/iframes/data/img5.png new file mode 100644 index 0000000..d216188 Binary files /dev/null and b/simulation/iframes/data/img5.png differ diff --git a/simulation/iframes/data/img50.png b/simulation/iframes/data/img50.png new file mode 100644 index 0000000..5863a67 Binary files /dev/null and b/simulation/iframes/data/img50.png differ diff --git a/simulation/iframes/data/img51.png b/simulation/iframes/data/img51.png new file mode 100644 index 0000000..dbcd1ea Binary files /dev/null and b/simulation/iframes/data/img51.png differ diff --git a/simulation/iframes/data/img52.png b/simulation/iframes/data/img52.png new file mode 100644 index 0000000..138e2ae Binary files /dev/null and b/simulation/iframes/data/img52.png differ diff --git a/simulation/iframes/data/img53.png b/simulation/iframes/data/img53.png new file mode 100644 index 0000000..95ea5df Binary files /dev/null and b/simulation/iframes/data/img53.png differ diff --git a/simulation/iframes/data/img54.png b/simulation/iframes/data/img54.png new file mode 100644 index 0000000..cd9f574 Binary files /dev/null and b/simulation/iframes/data/img54.png differ diff --git a/simulation/iframes/data/img55.png b/simulation/iframes/data/img55.png new file mode 100644 index 0000000..e63ad99 Binary files /dev/null and b/simulation/iframes/data/img55.png differ diff --git a/simulation/iframes/data/img56.png b/simulation/iframes/data/img56.png new file mode 100644 index 0000000..034c10c Binary files /dev/null and b/simulation/iframes/data/img56.png differ diff --git a/simulation/iframes/data/img57.png b/simulation/iframes/data/img57.png new file mode 100644 index 0000000..902b05f Binary files /dev/null and b/simulation/iframes/data/img57.png differ diff --git a/simulation/iframes/data/img58.png b/simulation/iframes/data/img58.png new file mode 100644 index 0000000..fb74701 Binary files /dev/null and b/simulation/iframes/data/img58.png differ diff --git a/simulation/iframes/data/img59.png b/simulation/iframes/data/img59.png new file mode 100644 index 0000000..221e3fc Binary files /dev/null and b/simulation/iframes/data/img59.png differ diff --git a/simulation/iframes/data/img6.png b/simulation/iframes/data/img6.png new file mode 100644 index 0000000..0426d29 Binary files /dev/null and b/simulation/iframes/data/img6.png differ diff --git a/simulation/iframes/data/img60.png b/simulation/iframes/data/img60.png new file mode 100644 index 0000000..5e2021b Binary files /dev/null and b/simulation/iframes/data/img60.png differ diff --git a/simulation/iframes/data/img61.png b/simulation/iframes/data/img61.png new file mode 100644 index 0000000..281d3d4 Binary files /dev/null and b/simulation/iframes/data/img61.png differ diff --git a/simulation/iframes/data/img62.png b/simulation/iframes/data/img62.png new file mode 100644 index 0000000..c591c18 Binary files /dev/null and b/simulation/iframes/data/img62.png differ diff --git a/simulation/iframes/data/img63.png b/simulation/iframes/data/img63.png new file mode 100644 index 0000000..83fd10d Binary files /dev/null and b/simulation/iframes/data/img63.png differ diff --git a/simulation/iframes/data/img64.png b/simulation/iframes/data/img64.png new file mode 100644 index 0000000..2114370 Binary files /dev/null and b/simulation/iframes/data/img64.png differ diff --git a/simulation/iframes/data/img65.png b/simulation/iframes/data/img65.png new file mode 100644 index 0000000..5c1d9ac Binary files /dev/null and b/simulation/iframes/data/img65.png differ diff --git a/simulation/iframes/data/img66.png b/simulation/iframes/data/img66.png new file mode 100644 index 0000000..e0745a1 Binary files /dev/null and b/simulation/iframes/data/img66.png differ diff --git a/simulation/iframes/data/img67.png b/simulation/iframes/data/img67.png new file mode 100644 index 0000000..185edb8 Binary files /dev/null and b/simulation/iframes/data/img67.png differ diff --git a/simulation/iframes/data/img68.png b/simulation/iframes/data/img68.png new file mode 100644 index 0000000..998498b Binary files /dev/null and b/simulation/iframes/data/img68.png differ diff --git a/simulation/iframes/data/img69.png b/simulation/iframes/data/img69.png new file mode 100644 index 0000000..d7e1ac1 Binary files /dev/null and b/simulation/iframes/data/img69.png differ diff --git a/simulation/iframes/data/img7.png b/simulation/iframes/data/img7.png new file mode 100644 index 0000000..21447c1 Binary files /dev/null and b/simulation/iframes/data/img7.png differ diff --git a/simulation/iframes/data/img70.png b/simulation/iframes/data/img70.png new file mode 100644 index 0000000..5427d63 Binary files /dev/null and b/simulation/iframes/data/img70.png differ diff --git a/simulation/iframes/data/img71.png b/simulation/iframes/data/img71.png new file mode 100644 index 0000000..daf2a26 Binary files /dev/null and b/simulation/iframes/data/img71.png differ diff --git a/simulation/iframes/data/img72.png b/simulation/iframes/data/img72.png new file mode 100644 index 0000000..05eca40 Binary files /dev/null and b/simulation/iframes/data/img72.png differ diff --git a/simulation/iframes/data/img73.png b/simulation/iframes/data/img73.png new file mode 100644 index 0000000..619deed Binary files /dev/null and b/simulation/iframes/data/img73.png differ diff --git a/simulation/iframes/data/img74.png b/simulation/iframes/data/img74.png new file mode 100644 index 0000000..a989b97 Binary files /dev/null and b/simulation/iframes/data/img74.png differ diff --git a/simulation/iframes/data/img75.png b/simulation/iframes/data/img75.png new file mode 100644 index 0000000..c3a5ea1 Binary files /dev/null and b/simulation/iframes/data/img75.png differ diff --git a/simulation/iframes/data/img76.png b/simulation/iframes/data/img76.png new file mode 100644 index 0000000..30ee624 Binary files /dev/null and b/simulation/iframes/data/img76.png differ diff --git a/simulation/iframes/data/img77.png b/simulation/iframes/data/img77.png new file mode 100644 index 0000000..cf4939f Binary files /dev/null and b/simulation/iframes/data/img77.png differ diff --git a/simulation/iframes/data/img78.png b/simulation/iframes/data/img78.png new file mode 100644 index 0000000..a882109 Binary files /dev/null and b/simulation/iframes/data/img78.png differ diff --git a/simulation/iframes/data/img79.png b/simulation/iframes/data/img79.png new file mode 100644 index 0000000..4c76533 Binary files /dev/null and b/simulation/iframes/data/img79.png differ diff --git a/simulation/iframes/data/img8.png b/simulation/iframes/data/img8.png new file mode 100644 index 0000000..b2cb31c Binary files /dev/null and b/simulation/iframes/data/img8.png differ diff --git a/simulation/iframes/data/img80.png b/simulation/iframes/data/img80.png new file mode 100644 index 0000000..18608ab Binary files /dev/null and b/simulation/iframes/data/img80.png differ diff --git a/simulation/iframes/data/img81.png b/simulation/iframes/data/img81.png new file mode 100644 index 0000000..a60af80 Binary files /dev/null and b/simulation/iframes/data/img81.png differ diff --git a/simulation/iframes/data/img82.png b/simulation/iframes/data/img82.png new file mode 100644 index 0000000..6ca52de Binary files /dev/null and b/simulation/iframes/data/img82.png differ diff --git a/simulation/iframes/data/img83.png b/simulation/iframes/data/img83.png new file mode 100644 index 0000000..b3a0c57 Binary files /dev/null and b/simulation/iframes/data/img83.png differ diff --git a/simulation/iframes/data/img84.png b/simulation/iframes/data/img84.png new file mode 100644 index 0000000..723d2e3 Binary files /dev/null and b/simulation/iframes/data/img84.png differ diff --git a/simulation/iframes/data/img85.png b/simulation/iframes/data/img85.png new file mode 100644 index 0000000..7f1a68e Binary files /dev/null and b/simulation/iframes/data/img85.png differ diff --git a/simulation/iframes/data/img86.png b/simulation/iframes/data/img86.png new file mode 100644 index 0000000..d5f469e Binary files /dev/null and b/simulation/iframes/data/img86.png differ diff --git a/simulation/iframes/data/img87.png b/simulation/iframes/data/img87.png new file mode 100644 index 0000000..5e85507 Binary files /dev/null and b/simulation/iframes/data/img87.png differ diff --git a/simulation/iframes/data/img88.png b/simulation/iframes/data/img88.png new file mode 100644 index 0000000..5ca3981 Binary files /dev/null and b/simulation/iframes/data/img88.png differ diff --git a/simulation/iframes/data/img89.png b/simulation/iframes/data/img89.png new file mode 100644 index 0000000..4b064d0 Binary files /dev/null and b/simulation/iframes/data/img89.png differ diff --git a/simulation/iframes/data/img9.png b/simulation/iframes/data/img9.png new file mode 100644 index 0000000..84290b0 Binary files /dev/null and b/simulation/iframes/data/img9.png differ diff --git a/simulation/iframes/data/img90.jpg b/simulation/iframes/data/img90.jpg new file mode 100644 index 0000000..5079e89 Binary files /dev/null and b/simulation/iframes/data/img90.jpg differ diff --git a/simulation/iframes/data/img91.png b/simulation/iframes/data/img91.png new file mode 100644 index 0000000..5400763 Binary files /dev/null and b/simulation/iframes/data/img91.png differ diff --git a/simulation/iframes/data/img92.png b/simulation/iframes/data/img92.png new file mode 100644 index 0000000..d024b83 Binary files /dev/null and b/simulation/iframes/data/img92.png differ diff --git a/simulation/iframes/data/img93.png b/simulation/iframes/data/img93.png new file mode 100644 index 0000000..c1d5763 Binary files /dev/null and b/simulation/iframes/data/img93.png differ diff --git a/simulation/iframes/data/img94.png b/simulation/iframes/data/img94.png new file mode 100644 index 0000000..f393b9a Binary files /dev/null and b/simulation/iframes/data/img94.png differ diff --git a/simulation/iframes/data/img95.png b/simulation/iframes/data/img95.png new file mode 100644 index 0000000..3d03c6c Binary files /dev/null and b/simulation/iframes/data/img95.png differ diff --git a/simulation/iframes/data/img96.png b/simulation/iframes/data/img96.png new file mode 100644 index 0000000..ad2dd61 Binary files /dev/null and b/simulation/iframes/data/img96.png differ diff --git a/simulation/iframes/data/img97.png b/simulation/iframes/data/img97.png new file mode 100644 index 0000000..6fd0827 Binary files /dev/null and b/simulation/iframes/data/img97.png differ diff --git a/simulation/iframes/data/img98.png b/simulation/iframes/data/img98.png new file mode 100644 index 0000000..5170d07 Binary files /dev/null and b/simulation/iframes/data/img98.png differ diff --git a/simulation/iframes/data/lock.cur b/simulation/iframes/data/lock.cur new file mode 100644 index 0000000..e92f527 Binary files /dev/null and b/simulation/iframes/data/lock.cur differ diff --git a/simulation/iframes/data/marker.cur b/simulation/iframes/data/marker.cur new file mode 100644 index 0000000..0726e17 Binary files /dev/null and b/simulation/iframes/data/marker.cur differ diff --git a/simulation/iframes/data/player.js b/simulation/iframes/data/player.js new file mode 100644 index 0000000..b0ef552 --- /dev/null +++ b/simulation/iframes/data/player.js @@ -0,0 +1,1851 @@ +(function(){/* + + Copyright The Closure Library Authors. + SPDX-License-Identifier: Apache-2.0 +*/ +var k,ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};function ca(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b>>0),pa=0;function qa(a,b,c){return a.call.apply(a.bind,arguments)}function sa(a,b,c){if(!a)throw Error();if(2b?null:"string"===typeof a?a.charAt(b):a[b]}function Pa(a,b){return 0<=Ia(a,b)}function Ra(a,b){b=Ia(a,b);let c;(c=0<=b)&&Sa(a,b);return c}function Sa(a,b){Array.prototype.splice.call(a,b,1)}function Ta(a){return Array.prototype.concat.apply([],arguments)} +function Ua(a){const b=a.length;if(0=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)} +function Za(a){let b=0,c=0;const d={};for(;cb?1:a")&&(a=a.replace(mb,">"));-1!=a.indexOf('"')&&(a=a.replace(ob,"""));-1!=a.indexOf("'")&&(a=a.replace(pb,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(qb,"�"));return a}var kb=/&/g,lb=//g,ob=/"/g,pb=/'/g,qb=/\x00/g,jb=/[\x00&<>"']/; +function rb(a,b){let c=0;a=hb(String(a)).split(".");b=hb(String(b)).split(".");const d=Math.max(a.length,b.length);for(let g=0;0==c&&gb?1:0};function ub(){var a=ia.navigator;return a&&(a=a.userAgent)?a:""}function vb(a){return-1!=ub().indexOf(a)};function xb(){return vb("Firefox")||vb("FxiOS")}function yb(){return vb("Safari")&&!(zb()||vb("Coast")||vb("Opera")||vb("Edge")||vb("Edg/")||vb("OPR")||xb()||vb("Silk")||vb("Android"))}function zb(){return(vb("Chrome")||vb("CriOS"))&&!vb("Edge")||vb("Silk")}function Ab(){return vb("Android")&&!(zb()||xb()||vb("Opera")||vb("Silk"))};function Bb(){return vb("iPhone")&&!vb("iPod")&&!vb("iPad")}function Db(){return Bb()||vb("iPad")||vb("iPod")};function Eb(a){Eb[" "](a);return a}Eb[" "]=function(){};function Gb(a,b,c,d){d=d?d(b):b;return Object.prototype.hasOwnProperty.call(a,d)?a[d]:a[d]=c(b)};var Hb=vb("Opera"),Ib=vb("Trident")||vb("MSIE"),Jb=vb("Edge"),Kb=Jb||Ib,Lb=vb("Gecko")&&!(-1!=ub().toLowerCase().indexOf("webkit")&&!vb("Edge"))&&!(vb("Trident")||vb("MSIE"))&&!vb("Edge"),Mb=-1!=ub().toLowerCase().indexOf("webkit")&&!vb("Edge"),Nb=vb("Macintosh"),Ob=vb("Windows"),Pb=vb("Linux")||vb("CrOS"),Qb=vb("Android"),Rb=Bb(),Sb=vb("iPad"),Tb=vb("iPod");function Ub(){var a=ia.document;return a?a.documentMode:void 0}var Vb; +a:{var Wb="",Xb=function(){var a=ub();if(Lb)return/rv:([^\);]+)(\)|;)/.exec(a);if(Jb)return/Edge\/([\d\.]+)/.exec(a);if(Ib)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Mb)return/WebKit\/(\S+)/.exec(a);if(Hb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Xb&&(Wb=Xb?Xb[1]:"");if(Ib){var Yb=Ub();if(null!=Yb&&Yb>parseFloat(Wb)){Vb=String(Yb);break a}}Vb=Wb}var Zb={};function $b(a){return Gb(Zb,a,function(){return 0<=rb(Vb,a)})}var bc; +if(ia.document&&Ib){var cc=Ub();bc=cc?cc:parseInt(Vb,10)||void 0}else bc=void 0;var dc=bc;var ec=Ib||Mb;function fc(a,b,c){for(const d in a)b.call(c,a[d],d,a)}function gc(a,b){const c={};for(const d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function hc(a,b){const c={};for(const d in a)c[d]=b.call(void 0,a[d],d,a);return c}function ic(a){const b=[];let c=0;for(const d in a)b[c++]=a[d];return b}function jc(a){const b=[];let c=0;for(const d in a)b[c++]=d;return b}function kc(a,b){return null!==a&&b in a}function mc(a,b){for(const c in a)if(b.call(void 0,a[c],c,a))return c} +function nc(){var a=oc;for(const b in a)return!1;return!0}function pc(a,b,c){if(null!==a&&b in a)throw Error(`The object already contains the key "${b}"`);a[b]=c}function v(a,b,c){return null!==a&&b in a?a[b]:c}function qc(a){const b={};for(const c in a)b[c]=a[c];return b}const sc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "); +function tc(a,b){let c,d;for(let e=1;e{Array.isArray(e)?e.forEach(d):(e=Jc(e),c.push(Hc(e).toString()))};a.forEach(d);return Kc(c.join(Hc(b).toString()))} +function Nc(a){return Lc(Array.prototype.slice.call(arguments))}class Ic{constructor(a,b){this.GR=b===Gc?a:"";this.Px=!0}Jx(){return this.GR.toString()}toString(){return this.GR.toString()}}var Mc=new Ic(ia.trustedTypes&&ia.trustedTypes.emptyHTML||"",Gc),Oc=Kc("
");var Qc={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Rc=function(a){let b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=Hc(Mc);return!b.parentElement}); +function Sc(a,b){if(a.tagName&&Qc[a.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+a.tagName+".");if(Rc())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=Hc(b)}function Tc(a,b,c,d){a=a instanceof Ac?a:Ec(a);b=b||ia;c instanceof wc?c instanceof wc&&c.constructor===wc&&c.X2===yc?c=c.o2:(Ga("expected object of type Const, got '"+c+"'"),c="type_error:Const"):c=c||"";return void 0!==d?b.open(Bc(a),c,d):b.open(Bc(a),c)}var Uc=/^[\w+/_-]+[=]{0,2}$/;function Vc(a,b,c){return Math.min(Math.max(a,b),c)}function Wc(a,b,c){return a+c*(b-a)};function Xc(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}k=Xc.prototype;k.clone=function(){return new Xc(this.x,this.y)};k.Pm=function(a){return a instanceof Xc&&Yc(this,a)};function Yc(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}function Zc(a,b){var c=a.x-b.x;a=a.y-b.y;return Math.sqrt(c*c+a*a)}function $c(a,b){var c=a.x-b.x;a=a.y-b.y;return c*c+a*a}function ad(a,b){return new Xc(a.x-b.x,a.y-b.y)}function bd(a,b){return new Xc(a.x+b.x,a.y+b.y)} +k.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};k.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};k.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};k.translate=function(a,b){a instanceof Xc?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};k.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};function cd(a,b){this.width=a;this.height=b}function dd(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}k=cd.prototype;k.clone=function(){return new cd(this.width,this.height)};k.area=function(){return this.width*this.height};k.aspectRatio=function(){return this.width/this.height};k.xi=function(){return!this.area()};k.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; +k.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};k.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};k.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};function ed(a){const b={"&":"&","<":"<",">":">",""":'"'};let c;c=ia.document.createElement("div");return a.replace(fd,function(d,e){let f=b[d];if(f)return f;"#"==e.charAt(0)&&(e=Number("0"+e.slice(1)),isNaN(e)||(f=String.fromCharCode(e)));f||(Sc(c,Kc(d+" ")),f=c.firstChild.nodeValue.slice(0,-1));return b[d]=f})} +function gd(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:return"#"!=c.charAt(0)||(c=Number("0"+c.slice(1)),isNaN(c))?b:String.fromCharCode(c)}})}var fd=/&([^;\s<&]+);?/g,hd={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},id={"'":"\\'"},jd=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)}; +function kd(a,b){if(!Number.isFinite(a))return String(a);a=String(a);let c=a.indexOf(".");-1===c&&(c=a.length);const d="-"===a[0]?"-":"";d&&(a=a.substring(1));return d+jd("0",Math.max(0,b-c))+a}function ld(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^wa()).toString(36)}function md(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})} +function nd(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};function od(a){return a?new pd(qd(a)):Ba||(Ba=new pd)}function rd(a,b){return"string"===typeof b?a.getElementById(b):b} +function sd(a,b,c){var d=document;c=c||d;a=a&&"*"!=a?String(a).toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(a||b))return c.querySelectorAll(a+(b?"."+b:""));if(b&&c.getElementsByClassName){c=c.getElementsByClassName(b);if(a){d={};for(var e=0,f=0,g;g=c[f];f++)a==g.nodeName&&(d[e++]=g);d.length=e;return d}return c}c=c.getElementsByTagName(a||"*");if(b){d={};for(f=e=0;g=c[f];f++)a=g.className,"function"==typeof a.split&&Pa(a.split(/\s+/),b)&&(d[e++]=g);d.length=e;return d}return c} +function td(a,b){fc(b,function(c,d){c&&"object"==typeof c&&c.Px&&(c=c.Jx());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:ud.hasOwnProperty(d)?a.setAttribute(ud[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})} +var ud={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"}; +function vd(a){var b=a.scrollingElement?a.scrollingElement:Mb||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement;a=a.parentWindow||a.defaultView;return Ib&&$b("10")&&a.pageYOffset!=b.scrollTop?new Xc(b.scrollLeft,b.scrollTop):new Xc(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)} +function wd(a,b,c){var d=arguments,e=document,f=d[1],g=xd(e,String(d[0]));f&&("string"===typeof f?g.className=f:Array.isArray(f)?g.className=f.join(" "):td(g,f));2{},b),ia.removeEventListener("test",()=>{},b)}catch(c){}return a}();function fe(a){return Mb?"webkit"+a:a.toLowerCase()};var ge=fe("AnimationEnd"),he=fe("TransitionEnd");function ie(a,b){be.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.te=null;a&&this.yr(a,b)}r(ie,be);var je={2:"touch",3:"pen",4:"mouse"}; +ie.prototype.yr=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;if(b=a.relatedTarget){if(Lb){a:{try{Eb(b.nodeName);var e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY= +d.screenY||0):(this.offsetX=Mb||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Mb||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId= +a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:je[a.pointerType]||"";this.state=a.state;this.te=a;a.defaultPrevented&&ie.Mb.preventDefault.call(this)};ie.prototype.stopPropagation=function(){ie.Mb.stopPropagation.call(this);this.te.stopPropagation?this.te.stopPropagation():this.te.cancelBubble=!0};ie.prototype.preventDefault=function(){ie.Mb.preventDefault.call(this);var a=this.te;a.preventDefault?a.preventDefault():a.returnValue=!1};var ke="closure_listenable_"+(1E6*Math.random()|0);function le(a){return!(!a||!a[ke])};var me=0;function ne(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.oI=e;this.key=++me;this.fD=this.ZH=!1}function oe(a){a.fD=!0;a.listener=null;a.proxy=null;a.src=null;a.oI=null};function pe(a){this.src=a;this.Zg={};this.yD=0}pe.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.Zg[f];a||(a=this.Zg[f]=[],this.yD++);var g=qe(a,b,d,e);-1>>0);function xe(a){if("function"===typeof a)return a;a[Ge]||(a[Ge]=function(b){return a.handleEvent(b)});return a[Ge]};function He(){Yd.call(this);this.Bl=new pe(this);this.I$=this;this.wR=null}r(He,Yd);He.prototype[ke]=!0;k=He.prototype;k.addEventListener=function(a,b,c,d){ve(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){De(this,a,b,c,d)}; +k.dispatchEvent=function(a){var b,c=this.wR;if(c)for(b=[];c;c=c.wR)b.push(c);c=this.I$;var d=a.type||a;if("string"===typeof a)a=new be(a,c);else if(a instanceof be)a.target=a.target||c;else{var e=a;a=new be(d,c);tc(a,e)}e=!0;if(b)for(var f=b.length-1;!a.bD&&0<=f;f--){var g=a.currentTarget=b[f];e=Ie(g,d,!0,a)&&e}a.bD||(g=a.currentTarget=c,e=Ie(g,d,!0,a)&&e,a.bD||(e=Ie(g,d,!1,a)&&e));if(b)for(f=0;!a.bD&&f{a:{var g={yQ:b,Ex:c,context:d,priority:void 0};for(const h in f)if(!(h in g)||f[h]!==g[h]){f=!1;break a}for(const h in g)if(!(h in f)){f=!1;break a}f=!0}return f});e&&Ke(a,e)}function Qe(a,b,c,d){const e=(...f)=>{c.apply(d,f);Pe(a,b,e,d)};z(a,b,e,d)}function Re(a,b){if(b){if(a.Bj){var c=gc(a.Bj,d=>d.yQ.GX==b);for(const d of Object.keys(c))Ke(a,d)}if(a.Wd){const d=Le(b);c=Ka(a.Wd,e=>e.src==d);for(const e of c)Oe(a,e)}}} +function B(a,b){a.Sp=a.Sp||[];a.Sp.push(b);return b}function Se(a,...b){if(a.Sp)for(const c of b)c&&(a.ks(c),b=Ia(a.Sp,c),0<=b&&(a.Sp.splice(b,1),Te(c)))}function Ue(a,...b){for(const c of b)c&&a.ks(c)}class Ve{constructor(){this.Sp=this.Bj=this.Wd=null}gd(){this.vd();if(this.Sp)for(const a of this.Sp)Te(a);if(this.Wd){for(const a of this.Wd)if(Array.isArray(a))for(const b of a)Ee(b);else Ee(a);this.Wd=null}if(this.Bj)for(const a of Object.keys(this.Bj))Ke(this,a)}ks(a){Re(this,a)}vd(){}};function We(a,b){return 0==b?a.qx:a.Tt[b]}function Xe(a,b){return 0==b?a.qx||[]:b in a.Tt?We(a,b):[]}function af(a){if(!a.Tt)return a.qx?a.qx.slice():[];const b=[],c=a.FG;for(let d=0;d>>1);let l;l=d(b,c[h]);0d&&Wa(c,-(d+1),0,b)}We(this,b).push(a)}remove(a,b){(b=We(this,b))&&Ra(b,a)}};function cf(a){return a.Ti?af(a.Ti).length:0}function df(a,b){a.SA||(a.SA=[]);a.SA.push(b)} +class C extends Ve{constructor(a=null){super();this.SA=this.Ti=null;this.GX=a}Haa(){return this.GX}addHandler(a,b,c){this.Ti=this.Ti||new bf;this.Ti.push({Ex:a,context:b},c||0)}removeHandler(a,b,c){c=c||0;if(this.Ti){var d=Xe(this.Ti,c),e=d.length;for(let f=0;f{b.C(...a)})}vd(){super.vd()}}C.prototype.dispatch=C.prototype.C;C.prototype.hasHandler=C.prototype.VQ;C.prototype.removeHandler=C.prototype.removeHandler;C.prototype.addHandler=C.prototype.addHandler;C.prototype.eventOwner=C.prototype.Haa;function ff(a,b){return a.L()!=b.L()?a.L()-b.L():a.Ba()!=b.Ba()?a.Ba()-b.Ba():a.ib()-b.ib()}class gf{constructor(a,b,c){this.Ld=a||0;this.SB=b||0;this.mj=c||0}L(){return this.Ld}Ba(){return this.SB}ib(){return this.mj}}gf.prototype.timeOffset=gf.prototype.ib;gf.prototype.stepIndex=gf.prototype.Ba;gf.prototype.slideIndex=gf.prototype.L;function hf(){}q("ispring.presenter.presentation.slides.IAnimationStep",hf);hf.prototype.Al=function(){};hf.prototype.automaticAdvance=hf.prototype.Al;hf.prototype.duration=function(){};hf.prototype.duration=hf.prototype.duration;hf.prototype.startTime=function(){};hf.prototype.startTime=hf.prototype.startTime;function jf(){}q("ispring.presenter.presentation.meta.IMetaCommands",jf);jf.prototype.getMetaCommand=jf.prototype.MC;jf.prototype.count=jf.prototype.count;function kf(){}q("ispring.presenter.presentation.slides.IAnimationSteps",kf);kf.prototype.count=function(){};kf.prototype.count=kf.prototype.count;kf.prototype.sc=function(){};kf.prototype.getStep=kf.prototype.sc;kf.prototype.duration=function(){};kf.prototype.duration=kf.prototype.duration;kf.prototype.getTime=function(){};kf.prototype.getTime=kf.prototype.getTime;function lf(){}q("ispring.presenter.presentation.slides.ISlideShowTransition",lf);lf.prototype.effectType=lf.prototype.J0;lf.prototype.duration=lf.prototype.duration;class mf{constructor(a,b){this.Jf=a;this.Ha=b}src(){return this.Jf}type(){return this.Ha}};class nf{constructor(a,b){this.Tb=a;this.Oz=b}id(){return this.Tb}wi(){return this.Oz}rj(){return!1}sources(){const a=[],b=this.Oz.match(//g);if(b)for(let d=0;da||a>=this.count())throw Error("index is out of bounds");return this.Fd[a]};sf.prototype.getMetaCommand=sf.prototype.MC;sf.prototype.count=function(){return this.Fd.length};sf.prototype.count=sf.prototype.count;function tf(a,b,c){this.TX=a;this.JN=null!=b?b:0;this.$r=void 0!==c?c:!0;this.Xj=0}tf.prototype.animationDuration=function(){return this.TX};tf.prototype.Al=function(){return this.$r};tf.prototype.automaticAdvance=tf.prototype.Al;tf.prototype.duration=function(){return this.TX+this.JN};tf.prototype.duration=tf.prototype.duration;tf.prototype.startTime=function(){return this.Xj};tf.prototype.startTime=tf.prototype.startTime;tf.prototype.gS=function(a){this.Xj=a};function uf(){this.TB=[]}uf.prototype.Fa=0;uf.prototype.add=function(a){a.gS(this.Fa);this.TB.push(a);this.Fa+=a.duration()};uf.prototype.count=function(){return this.TB.length};uf.prototype.count=uf.prototype.count;uf.prototype.sc=function(a){if(0>a||a>=this.TB.length)throw Error("stepIndex is out of range");return this.TB[a]};uf.prototype.getStep=uf.prototype.sc;uf.prototype.duration=function(){return this.Fa};uf.prototype.duration=uf.prototype.duration; +uf.prototype.getTime=function(a,b){return this.sc(a).startTime()+b};uf.prototype.getTime=uf.prototype.getTime;let vf=0;class wf{constructor(a,b){this.$h=a;this.Md=b;this.Tb=`${vf++}`}name(){return this.$h}time(){return this.Md}id(){return this.Tb}};function xf(a,b){if(0>b||b>=a.count())throw Error();return a.gs[b]}class yf{constructor(){this.gs=[]}count(){return this.gs.length}add(a){this.gs.push(a)}};class zf{constructor(a,b,c){this.Ha=a;this.Am=b;this.zm=c}type(){return this.Ha}Lb(){return this.Am}Gi(){return this.zm}};class Af{constructor(){this.Fd=[]}count(){return this.Fd.length}};class Bf{constructor(a,b,c){this.Q3=a;this.Am=b;this.hL=c}Lb(){return this.Am}qf(){return this.hL}};function Cf(a){if(0>=a.count())throw Error("index is out of range");return a.$i[0]}function Df(a,b){for(let c=0;cff(b,d.qf()))return d}return null}class Ef{constructor(a){this.$i=a}count(){return this.$i.length}};function Ff(a,b,c){c&&!Gf(a,b,c)&&(c=null);c||(c=Hf(a,b));a.$i.push(new Bf(b,b.Lb(),c))}function Gf(a,b,c){a=Hf(a,b);return 0<=ff(a,c)} +function Hf(a,b){const c=a.Ye;var d=c.wm,e=c.Pj,f=null;if("number"===typeof d)f=c.duration(),f=f-(b.Gi()||0)+f*(d-1);else switch(d){case "untilNextClick":e=-1;break;case "untilNextSlide":e=Math.max(e,0)}b=b.Lb();e=0>e?new gf(b.L(),b.Ba()+1,0):new gf(b.L()+e+1,-1,0);d=null;null!==f&&(a=a.M,b=a.ti(b,!0,!1),f=Math.min(b+f,a.duration()),d=a.Xo(f,!0,!1));return d&&0>ff(d,e)?d:e} +class If{constructor(a,b){this.Ye=a;this.M=b;this.$i=[];a=this.Ye.Fd;b=null;for(let e=0;ed||d>=c.count())throw Error("index is out of range");c=c.Fd[d];d=c.Lb();switch(c.type()){case "play":b&&Ff(this,b,d);b=c;break;case "togglePlay":b&&Gf(this,b,d)?(Ff(this,b,d),b=null):(b&&Ff(this,b),b=c);break;case "stop":b&&(Ff(this,b,d),b=null)}}b&&Ff(this,b)}oQ(){return new Ef(this.$i)}};function Kf(a,b){a.$i||(a.$i=(new If(a,b)).oQ());return a.$i}class Lf{constructor(a,b,c){this.Tb=a;this.Ni=b;this.Fa=c;this.Pj=-1;this.Le=this.wm=1;this.gs=new yf;this.Fd=new Af;this.$i=null}id(){return this.Tb}duration(){return this.Fa}volume(){return this.Le}setVolume(a){this.Le=a}ik(){return this.gs}};class Mf extends Lf{constructor(a,b,c){super(a,b,c);this.Kv=!1}};function Nf(a,b,c,d){this.zv=a;this.Fa=b;this.If=c||null;this.TZ=d||!1}Nf.prototype.If=null;Nf.prototype.J0=function(){return this.zv};Nf.prototype.effectType=Nf.prototype.J0;Nf.prototype.duration=function(){return this.Fa};Nf.prototype.duration=Nf.prototype.duration;Nf.prototype.clone=function(){return new Nf(this.zv,this.Fa,this.If,this.TZ)};function Of(){}Of.prototype.uW=null;Of.prototype.mY=null;Of.prototype.kp=function(){return this.uW};function Pf(a,b){a.uW=b}Of.prototype.ey=function(){return this.mY};function Qf(a,b){a.mY=b};function Rf(a,b){if(0>b||b>=a.Qs.length)throw Error("index is out of range");return a.Qs[b]}function Sf(a,b){for(let c=0;c=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1}; +k.expand=function(a,b,c,d){la(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};k.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; +k.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};k.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this}; +k.translate=function(a,b){a instanceof Xc?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};function Wf(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}k=Wf.prototype;k.clone=function(){return new Wf(this.left,this.top,this.width,this.height)};k.contains=function(a){return a instanceof Xc?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height}; +k.G0=function(){var a=(void 0).xl-n);this.M=g}id(){return this.Tb}xy(){return this.M9}Ya(){return this.Af}duration(){return this.a$}slides(){return this.M}Kr(){return this.E8}hn(){return this.Z8}rotation(){return this.Kw}};function Zf(a,b){return Oa(a.Si,c=>c.id()==b)}function $f(a,b){return Oa(a.Si,c=>!!c.slides().length&&c.slides()[0]==b)}function ag(a){let b=[];for(var c of a.Si)b=b.concat(c.slides());if(!b.length)return!0;b.sort((d,e)=>d-e);a=b[0];for(c=0;ca)throw Error("negative time not accepted");let c=0;b&&null!=this.transition()&&(b=this.transition().duration(),b=a)break;a-=d.duration()}if(c==b.count())if(.001>=a)--c,a=b.sc(c).duration();else throw Error("time out of bounds");}return new gf(this.index(),c,a)}} +dg.prototype.convertTimeToTimestamp=dg.prototype.Xo;dg.prototype.zoomEffects=dg.prototype.Bk;dg.prototype.navigationSettings=dg.prototype.ou;dg.prototype.presenter=dg.prototype.Qf;dg.prototype.metaCommands=dg.prototype.jp;dg.prototype.text=dg.prototype.text;dg.prototype.nestingLevel=dg.prototype.tc;dg.prototype.startTime=dg.prototype.startTime;dg.prototype.thumbnail=dg.prototype.Ku;dg.prototype.duration=dg.prototype.duration;dg.prototype.transition=dg.prototype.transition; +dg.prototype.slideNotes=dg.prototype.Ei;dg.prototype.title=dg.prototype.title;dg.prototype.isLoaded=dg.prototype.uf;dg.prototype.visible=dg.prototype.visible;dg.prototype.visibleIndex=dg.prototype.Mi;dg.prototype.index=dg.prototype.index;dg.prototype.id=dg.prototype.id;dg.prototype.type=dg.prototype.type;dg.prototype.animationSteps=dg.prototype.sb;function eg(a,b){b.Hj=a.M.length;b.gS(a.duration());a.M.push(b);if(b.visible()){b.S_=a.iC.length;a.iC.push(b);const c=b.duration(),d=b.transition()?b.transition().duration():0;a.XP+=c;a.WP+=c-d}b.T_.addHandler(c=>{a.HZ.C(c)},a)} +class fg{constructor(){this.M=[];this.iC=[];this.WP=this.XP=0;this.HZ=new C}la(a){if(0>a||a>=this.M.length)throw Error("slideIndex is out of range");return this.M[a]}count(){return this.M.length}duration(){if(0==this.count())return 0;const a=this.M[this.M.length-1];return a.startTime()+a.duration()}laa(a,b,c){return new gf(a,b,c)}ti(a,b,c){if(!a)throw Error("Invalid timestamp");var d=a.L();if(d>=this.count())throw Error("Slide index is out of bounds");if(0>d)return NaN;void 0===b&&(b=!0);void 0=== +c&&(c=!0);let e=0;for(var f=0;f=a.count())throw Error("stepIndex is out of bounds");a=a.sc(g);f>a.duration()&&(f=a.duration());e+=a.startTime()+f}else b&&(f>h.duration()&&(f=h.duration()),e+=f);return e}Xo(a,b,c){if(isNaN(a))throw Error("NaN time not accepted");if(0>a)throw Error("negative time not accepted"); +let d=null;for(var e=0;e=a||f&&.001>=a-g)break;a-=g}if(e==this.count()&&0<=a)throw Error("time out of bounds");c=0;b&&(b=d.transition().duration(),b=a)break;a-=e.duration()}if(c==b.count())if(.001>=a)--c,a=b.sc(c).duration();else throw Error("time out of bounds"); +}return new gf(d.index(),c,a)}Cp(){return this.iC.length}mI(a){if(0>a||a>=this.Cp())throw Error("Slide index is out of range");return this.iC[a]}tda(){return this.XP}Pu(){return this.WP}}fg.prototype.visibleAnimationStepsDuration=fg.prototype.Pu;fg.prototype.visibleSlidesDuration=fg.prototype.tda;fg.prototype.getVisibleSlide=fg.prototype.mI;fg.prototype.visibleSlidesCount=fg.prototype.Cp;fg.prototype.convertTimeToTimestamp=fg.prototype.Xo;fg.prototype.convertTimestampToTime=fg.prototype.ti; +fg.prototype.createTimestamp=fg.prototype.laa;fg.prototype.duration=fg.prototype.duration;fg.prototype.count=fg.prototype.count;fg.prototype.getSlide=fg.prototype.la;function gg(a){0<=a.W&&--a.W;return 0<=a.W}function hg(a){for(;a.CI()&&!a.fa().visible(););return!!a.fa()}function ig(a){for(;gg(a)&&!a.fa().visible(););return!!a.fa()}class jg{constructor(a,b){this.j8=a;this.Vw=b;this.mE=b.length;this.W=-1}seekTo(a){this.W=Vc(a,-1,this.mE);return!0}CI(){this.Wb||b>=a.count())throw Error("actionIndex is out of range");return a.nc[b]};function ug(){this.nc=new sg}ug.prototype.Hb=!0;ug.prototype.enabled=function(){return this.Hb};ug.prototype.qa=function(a){this.Hb=a};ug.prototype.actions=function(){return this.nc};function vg(){this.Hb=!0}vg.prototype.enabled=function(){return this.Hb};vg.prototype.enabled=vg.prototype.enabled;vg.prototype.qa=function(a){this.Hb=a};vg.prototype.$g=function(){return this.De};function E(a,b){const c=new C(a);B(a,c);if(b)if(Array.isArray(b))for(const d of b)df(d,c);else df(b,c);return c}class wg extends Ve{};const xg=[.75,1,1.25,1.5,2];class yg extends wg{constructor(){super();this.NN=1;this.lx=!1;this.Qj=E(this)}playbackRate(){return this.NN}wk(a){this.NN!=a&&(this.NN=a,this.Qj.C())}ED(){return this.lx}};function zg(){return Mb?"Webkit":Lb?"Moz":Ib?"ms":null}function Ag(a,b){if(b&&a in b)return a;var c=zg();return c?(c=c.toLowerCase(),a=c+nd(a),void 0===b||a in b?a:null):null};var Bg=class extends be{constructor(a,b){super("visibilitychange");this.hidden=a;this.visibilityState=b}};const Cg=new WeakMap;function Dg(a){var b=Eg;const c=ma(a),d=([,...f])=>b(c,f),e=([f,...g])=>a.apply(f,g);return function(...f){const g=this||ia;let h=Cg.get(g);h||(h={},Cg.set(g,h));return Gb(h,[this,...f],e,d)}}function Eg(a,b){a=[a];for(let c=b.length-1;0<=c;--c)a.push(typeof b[c],b[c]);return a.join("\v")};function Fg(a){He.call(this);this.EC=a||od();if(this.M0=this.Saa())this.Gaa=ve(this.EC.od,this.M0,ta(this.Zaa,this))}r(Fg,He);k=Fg.prototype;k.Saa=Dg(function(){var a=!!this.KC(),b="hidden"!=this.KC();return a?b?((zg()||"")+"visibilitychange").toLowerCase():"visibilitychange":null});k.KC=Dg(function(){return Ag("hidden",this.EC.od)});k.Vaa=Dg(function(){return Ag("visibilityState",this.EC.od)});function Gg(a){return!!a.EC.od[a.KC()]} +k.Zaa=function(){var a=this.KC()?this.EC.od[this.Vaa()]:null;a=new Bg(Gg(this),a);this.dispatchEvent(a)};k.pf=function(){Ee(this.Gaa);Fg.Mb.pf.call(this)};class Hg{constructor(){this.M=[];this.BF=1;this.Un=this.Ie=0;this.hg=!1}push(a){this.hg||(this.M[this.Un]=a,this.Un=(this.Un+1)%this.BF,this.Ie=Math.min(this.Ie+1,this.BF))}pop(){if(this.hg||this.xi())return null;this.Un=0>this.Un-1?this.BF-1:this.Un-1;this.Ie--;return this.M[this.Un]}top(){return this.xi()?null:this.M[0>this.Un-1?this.BF-1:this.Un-1]}xi(){return!this.Ie}size(){return this.Ie}lock(){this.hg=!0}unlock(){this.hg=!1}};var Ig={Vfa:"playingSlide",Wfa:"playingTransition",Rfa:"pausedTransition",Qfa:"pausedSlide",Y2:"suspended",KS:"buffering"};q("ispring.presenter.player.PresentationPlaybackState",Ig);q("PLAYING_SLIDE","playingSlide",Ig);q("PAUSED_SLIDE","pausedSlide",Ig);q("SUSPENDED","suspended",Ig);q("PLAYING_TRANSITION","playingTransition",Ig);q("PAUSED_TRANSITION","pausedTransition",Ig);q("BUFFERING","buffering",Ig);function Jg(a){this.Ha=a}Jg.prototype.type=function(){return this.Ha};function Kg(a){this.Ha="gotoSlide";this.Ld=a}r(Kg,Jg);Kg.prototype.L=function(){return this.Ld};function Lg(a){this.B=a}Lg.prototype.EQ=function(a){switch(a.type()){case "closePlayerWindow":this.B.BE.C();return;case "gotoNextSlide":Mg(this.B,!0,!0,!0);return;case "gotoSlide":this.CL(a.L());return}throw Error("unknown action type");};Lg.prototype.CL=function(a){this.B.ue(a)};function Qg(a,b,c,d,e){this.HG=a;this.vY=b;this.GG=c;this.WS=d;this.I_=e}Qg.prototype.quizState=function(){return this.vY};Qg.prototype.quizPassed=function(){return this.GG};Qg.prototype.allowRetakeQuiz=function(){return this.WS};Qg.prototype.wD=function(){return{type:this.HG,state:this.vY,passed:this.GG,retake:this.WS,attempts:this.I_}}; +function Rg(a){const b=a.quiz().isGraded()?"graded":"survey";var c=a.currentSession();if(c){const d=c.evaluation();c=c.sessionMode();const e=a.usedAttemptsCount();let f=!1,g=!1;d&&(f=d.quizPassed(),g=a.allowRetakeQuiz());return new Qg(b,c,f,g,e)}return new Qg(b,null,!1,a.allowRetakeQuiz(),0)};function Sg(a){return"graded"==a.HG?a.quizPassed():Tg(a)}function Tg(a){a=a.quizState();return"completed"==a||"reviewing"==a};function Ug(a){this.Ha=a}Ug.prototype.type=function(){return this.Ha};function Vg(a){this.Ha="gotoSlide";this.Ld=a}r(Vg,Ug);Vg.prototype.L=function(){return this.Ld};function Wg(a){this.B=a}Wg.prototype.EQ=function(a){switch(a.type()){case "closePlayerWindow":this.B.BE.C();return;case "gotoNextSlide":Mg(this.B,!0,!0,!0);return;case "gotoSlide":this.CL(a.L());return}throw Error("unknown action type");};Wg.prototype.CL=function(a){this.B.ue(a)};class Xg{constructor(a,b,c){this.Tw=a;this.JY=b;this.q9=c}};var Yg={pha:"started",Y2:"suspended",KS:"buffering",qha:"stopped",Cga:"rewinding"};q("ispring.presenter.player.clock.PresentationClockState",Yg);q("STARTED","started",Yg);q("SUSPENDED","suspended",Yg);q("BUFFERING","buffering",Yg);q("STOPPED","stopped",Yg);q("REWINDING","rewinding",Yg);class Zg extends Lf{constructor(a,b,c,d){super(a,b,c);this.PX=d;this.SX=this.LY=this.XU=!1}XQ(){return this.XU}XI(){return this.LY}yR(){return this.SX}};var $g=xb(),ah=Bb()||vb("iPod"),bh=vb("iPad"),ch=Ab(),dh=zb(),eh=yb()&&!Db();function fh(a,b){b||(b={});var c=window;if(a instanceof Ac)var d=a;else d="undefined"!=typeof a.href?a.href:String(a),d instanceof Ac||(d="object"==typeof d&&d.Px?d.Jx():String(d),Dc.test(d)?d=new Ac(d,zc):(d=String(d),d=d.replace(/(%0A|%0D)/g,""),d=d.match(Cc)?new Ac(d,zc):null)),d=d||Fc;var e=void 0!==self.crossOriginIsolated,f="strict-origin-when-cross-origin";window.Request&&(f=(new Request("/")).referrerPolicy);const g="unsafe-url"===f;f=b.noreferrer;if(e&&f){if(g)throw Error("Cannot use the noreferrer option on a page that sets a referrer-policy of `unsafe-url` in modern browsers!"); +f=!1}a=b.target||a.target;e=[];for(var h in b)switch(h){case "width":case "height":case "top":case "left":e.push(h+"="+b[h]);break;case "target":case "noopener":case "noreferrer":break;default:e.push(h+"="+(b[h]?1:0))}h=e.join(",");if(Db()&&c.navigator&&c.navigator.standalone&&a&&"_self"!=a){b=zd("A");a:{try{var l=b&&b.ownerDocument,n=l&&(l.defaultView||l.parentWindow);n=n||ia;if(n.Element&&n.Location){var m=n;break a}}catch(t){}m=null}if(m&&"undefined"!=typeof m.HTMLAnchorElement&&(!b||!(b instanceof +m.HTMLAnchorElement)&&(b instanceof m.Location||b instanceof m.Element))){if(la(b))try{var p=b.constructor.displayName||b.constructor.name||Object.prototype.toString.call(b)}catch(t){p=""}else p=void 0===b?"undefined":null===b?"null":typeof b;Ga("Argument is not a %s (or a non-Element, non-Location mock); got: %s","HTMLAnchorElement",p)}m=d instanceof Ac?d:Ec(d);b.href=Bc(m);b.target=a;f&&(b.rel="noreferrer");m=document.createEvent("MouseEvent");m.initMouseEvent("click", +!0,!0,c,1);b.dispatchEvent(m);c={}}else f?(c=Tc("",c,a,h),b=Bc(d),c&&(Kb&&-1!=b.indexOf(";")&&(b="'"+b.replace(/'/g,"%27")+"'"),c.opener=null,""===b&&(b="javascript:''"),b=ib(b),b=Kc(''),(m=c.document)&&m.write&&(m.write(Hc(b)),m.close()))):((c=Tc(d,c,a,h))&&b.noopener&&(c.opener=null),c&&b.noreferrer&&(c.opener=null));return c};let gh;function hh(a){a instanceof ie&&(a=a.te);gh||(gh=new WeakMap);return gh.has(a)}function ih(a){a instanceof ie&&(a=a.te);return a.defaultPrevented?!0:hh(a)};function jh(a,b){He.call(this);this.Rx=a||1;this.vD=b||ia;this.p0=ta(this.gda,this);this.d1=wa()}r(jh,He);k=jh.prototype;k.enabled=!1;k.Ol=null;k.setInterval=function(a){this.Rx=a;this.Ol&&this.enabled?(this.stop(),this.start()):this.Ol&&this.stop()};k.gda=function(){if(this.enabled){var a=wa()-this.d1;0>=8);b[c++]=e}a=void 0;void 0===a&&(a=0);rh();a=lh[a];c=Array(Math.floor(b.length/3));d=a[64]||"";let n=0;for(e=0;n>2];f=a[(f&3)<<4|g>>4];g=a[(g&15)<<2|h>>6];h=a[h&63];c[e++]=""+l+f+g+h}l=0;h=d;switch(b.length-n){case 2:l=b[n+1],h=a[(l&15)<<2]||d;case 1:b=b[n],c[e]=""+a[b>>2]+a[(b&3)<<4|l>>4]+h+d}b=c.join("")}return b} +function sh(a){if(ph)return ia.atob(a);var b="";th(a,function(c){b+=String.fromCharCode(c)});return b}function uh(a){var b=[];th(a,function(c){b.push(c)});return b}function th(a,b){function c(l){for(;d>4);64!=g&&(b(f<<4&240|g>>2),64!=h&&b(g<<6&192|h))}} +function rh(){if(!mh){mh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));lh[c]=d;for(var e=0;e{Fd(b)},100)}catch(b){return!1}return!0};function gi(a){this.length=a.length||a;for(let b=0;b{a.apply(b||null,e)},c)}function Hi(){return Ii&&!Ji?"about:blank":""}function Ki(){const a=Li();return Math.max(1,Math.min(a.width,a.height)/420)} +function Li(){if(Mi)return new cd(document.documentElement.clientWidth,document.documentElement.clientHeight);if(Ii&&Ib)return new cd(screen.width,screen.height);var a=void 0!==window.devicePixelRatio?window.devicePixelRatio:1;return Ji?new cd(screen.width/a,screen.height/a):Ii?Ni&&(a=Math.max(screen.width,screen.height),document.documentElement.clientWidth>a)?new cd(Math.max(document.documentElement.clientWidth,a),Math.max(document.documentElement.clientHeight,Math.min(screen.width,screen.height))): +new cd(screen.width,screen.height):new cd(screen.width*a,screen.height*a)}function Oi(){var a=window.location.search.substr(1);if(a){var b={};a=a.split("&");for(let e=0;e{setTimeout(()=>{if(!ih(d.te)){const e=d.currentTarget;Ri(e.href,e.target||"_blank")}})});ve(c,"click",d=>{d.preventDefault()})}}function Ri(a,b){ei?(new di("openWindow",[a])).Dx():fh(a,b?{target:b}:void 0)}function Si(a){if(!a)return!1;for(;a;){if("A"==a.nodeName.toLocaleUpperCase())return!0;a=a.parentNode}return!1}function Ti(a){return a&&"VIDEO"==a.nodeName&&a.controls} +function Ui(a){const b=wd("script",{type:"text/javascript",charset:"UTF-8"});document.body.appendChild(b);b.src=a;return b}function Vi(){return 0==window.location.href.indexOf("file:")}function Wi(){const a=wd("DIV");try{Di(a,"100px")}catch(b){return!1}return!0}function Xi(){let a;try{const b=wd("CANVAS");a=b.getContext("webgl")||b.getContext("experimental-webgl")}catch(b){}return a?!0:!1};(function(){function a(b){try{return b.ISPlayer&&(window.ISPlayer=b.ISPlayer),b.ISPVideoPlayer&&(window.ISPVideoPlayer=b.ISPVideoPlayer),b.ISPQuizPlayer&&(window.ISPQuizPlayer=b.ISPQuizPlayer),b.ISPInteractionPlayerCore&&(window.ISPInteractionPlayerCore=b.ISPInteractionPlayerCore),b.ISPBookPlayer&&(window.ISPBookPlayer=b.ISPBookPlayer),b.ISPScenarioPlayer&&(window.ISPScenarioPlayer=b.ISPScenarioPlayer),b.ISPFlipPlayer&&(window.ISPFlipPlayer=b.ISPFlipPlayer),!0}catch(c){return!1}}if(function(){let b; +try{b=window.frameElement}catch(c){}return null!=b}()){let b=window,c=7;for(;b&&b.parent!=b&&0!=c--&&!a(b.parent);)b=b.parent}})();var Yi;const Zi=Oi().user_agent;Yi=Zi?Zi:ub()||"";var Ni=bh||ah,Mi="1"==Oi().small_screen,$i="1"==Oi().tablet_screen,aj;let bj;try{bj=window.top.location.href?window.frameElement:null}catch(a){}var cj=(aj=null!=bj)&&window.frameElement&&window.frameElement.parentNode&&"FRAMESET"==window.frameElement.parentNode.tagName?!0:!1,dj=ah&&aj; +function ej(){const a=Yi.toLowerCase();return-1!=a.indexOf("android")||-1!=a.indexOf("mobile")||-1!=a.indexOf("wpdesktop")||Mi||$i}var fj=-1!=Yi.toLowerCase().indexOf("chrome"),gj=Mb&&!fj,hj=-1!=Yi.indexOf("CriOS"),ij=-1==Yi.toLowerCase().indexOf("windows phone")&&-1!=Yi.toLowerCase().indexOf("android"),Ii=ej(),jj=Ii&&(ej()?"ontouchstart"in window||void 0!==window.DocumentTouch&&document instanceof window.DocumentTouch||-1!=Yi.toLowerCase().indexOf("touch"):!1);let kj=""; +if(Ni){const a=/CPU.+OS\s(\d+)_(\d+)/.exec(Yi);kj=a?a[1]+"."+a[2]:""}var lj=parseInt(kj,10),mj=Ni&&6>=lj,nj=Ni&&7<=lj,oj=Ni&&8<=lj,pj=Ni&&9<=lj,qj=Ni&&10<=lj,rj=Ni&&12<=lj,sj=Ib&&"9."==Vb.substr(0,2),tj=Ib&&"10."==Vb.substr(0,3),vj=uj&&Ib,Ji=ij&&!fj&&!$g&&!Hb,wj=-1!=Yi.toLowerCase().indexOf("micromessenger"),ei=-1!=Yi.indexOf("ismobile"),xj=ei&&ah,yj=ei&&ij,zj; +if(zj=!window._ispringFullsizeSkin){var Aj;if(!(Aj=Mi))if(window._ispringFullsizeSkin)Aj=!1;else{var Bj=Li();Aj=(ah||700>Math.min(Bj.width,Bj.height))&&!$i}zj=Aj}var uj=zj,Cj=ah&&!xj&&10>lj||vj&&uj,Dj=void 0!==window.ISPlayer,Ej=Dj&&uj,Fj=Ii&&!Dj,Gj=!1,Hj=Ni||vj||ij||jj;const Ij=document.createElement("audio"),Jj=Ij.play&&Ij.play(); +Jj&&Jj.then(()=>{Ij.pause()},a=>{if(0=HTMLMediaElement.HAVE_METADATA}function Sj(a){var b=(b=a.lg)?b.error?"error":b.ended?"ended":Tj(a)?"paused":a.Bf?"buffering":"playing":"disposed";const c=a.Pa;c!=b&&(a.Pa=b,a.Sq.C(a,c))}function Tj(a){const b=a.mediaElement();return Ni||!a.rj()?!a.fd:b.paused}function Rj(a){return!!a.lg&&!a.lg.error&&void 0!==a.lg.play}function Uj(a){a.Uy&&(clearInterval(a.Uy),a.Uy=void 0)}function Vj(a){0>a.Ty&&(a.Ty=setInterval(a.J3.bind(a),500))} +function Wj(a){0=HTMLMediaElement.HAVE_CURRENT_DATA)||we(a,"canplay",this.hN,!1,this);Sj(this)}mediaElement(){if(!this.lg)throw Error("media player was disposed");return this.lg}state(){return this.Pa}playbackRate(){return this.lg.playbackRate}wk(a){this.lg&&a!=this.playbackRate()&&(this.lg.playbackRate= +a,this.lg.defaultPlaybackRate=a,this.Qj.C())}ready(){return Rj(this)&&this.ki}Sz(){const a=this.vn;var b=this.mediaElement().getAttribute("preload");b=b&&"metadata"!=b?$g?HTMLMediaElement.HAVE_CURRENT_DATA:HTMLMediaElement.HAVE_FUTURE_DATA:HTMLMediaElement.HAVE_METADATA;$g&&this.mediaElement().readyState>=HTMLMediaElement.HAVE_CURRENT_DATA&&!this.ki?this.hN():(this.vn=this.ki&&Rj(this)&&this.mediaElement().readyState>=b,!this.vn&&Ii&&1==this.mediaElement().networkState&&1==this.p5&&(this.vn=!0,this.Z7.C(this)), +this.vn||this.Ks?this.vn&&(clearInterval(this.Ks),this.Ks=void 0):this.Ks=setInterval(this.Sz.bind(this),2E3),!a&&this.vn&&this.Kp.C(this),this.p5=this.mediaElement().networkState)}xC(){this.Sz();return this.vn}XM(){this.Sz()}playing(){return this.fd}play(){if(Rj(this)){this.fd=!0;Ni&&"VIDEO"==this.mediaElement().tagName&&this.src()&&!this.mediaElement().src&&(this.mediaElement().src=this.src());const a=this.mediaElement().play();a&&a.catch(b=>window.console.log(b));if(nj){const b=this.mediaElement().currentTime; +let c=0;clearInterval(this.Uy);this.Uy=setInterval(()=>{++c;this.mediaElement().currentTime=d&&e>=Math.min(this.currentTime()+5,this.duration())){c=!1;this.mediaElement().paused&&this.mediaElement().play();break}}this.Bf!=c&&(this.Bf=c,Sj(this))}}Zo(a){this.mediaElement().controls=a}rj(){return this.mediaElement().controls|| +ah}Ih(a){if(this.lg&&this.lg.play){if("string"!==typeof a)a:{Array.isArray(a)||(a=[a]);for(let c=0;c{});c.pause();d.push(c)}function b(){if(30>ek.length)for(var c=ek.length;30>c;++c){var d=dk();a(d,ek)}if(30>fk.length)for(c=fk.length;30>c;++c)d=zd("VIDEO"),d.setAttribute("preload","metadata"),qj&&d.setAttribute("playsinline",""),a(d,fk)}if(Fj){let c=!1;document.body.addEventListener("touchstart",()=>{c=!0});document.body.addEventListener("touchmove", +d=>{if(Ni||!d.defaultPrevented)c=!1});document.body.addEventListener("touchend",d=>{!1!==d.isTrusted&&c&&b()})}else Ib||Jb||document.body.addEventListener("mouseup",()=>b());window.ismediacreator=[ek,fk]}function gk(){return ek&&ek.length?ek.shift():dk()};class hk extends Xj{constructor(a){super(a);this.hA=0;this.LL=!1}fN(){this.LL?this.LL=!1:super.fN()}iN(){super.iN();this.hA=Date.now()}pw(){super.pw();if(this.ready()&&Ji){var a=100>Date.now()-this.hA;this.playing()||a||(this.LL=!0,a=this.mediaElement(),a.play(),a.pause())}}};class ik extends ck{constructor(a){super(new hk(a))}};class jk{constructor(a,b,c){this.nm=a;this.SB=b;this.mj=c;0>this.mj&&(this.mj=0);this.nm&&0>this.nm.m.t&&(this.nm.m.t=0)}Ba(){return this.SB}ib(){return this.mj}OR(){const a={s:this.SB,t:this.mj};this.nm&&(a.S=qc(this.nm));return a}clone(){return new jk(this.nm?qc(this.nm):null,this.SB,this.mj)}};function kk(a,b){return a.sa.querySelector(`#${b}`)}class lk{constructor(a,b){this.sa=a;this.Yv=b}content(){return this.sa}ky(a,b){this.sa!=a&&(this.sa=a,this.Yv=b,this.gZ())}gZ(){}};function mk(a,b,c){a.Da.Ji(a.L(),b,c,!0)}function nk(a){a.HI(a.Uu.count()-1)}function ok(a){a.pause();mk(a,0,0)}function pk(a){const b=a.Da.$().timestamp();if(null==a.Wa||b.L()!=a.L()||0>b.Ba())throw Error("playback controller not active");}function qk(a,b){b&&a.wq!=b&&(a.wq=b,a.ft())} +class rk{constructor(a,b,c){this.ya=a;this.pa=b;this.Da=c;this.kY=this.Wa=null;this.Uu=a.sb();this.Ld=a.index();this.wq=!1;this.RB=new C;this.Ef=new C;this.Tq=new C}slide(){return this.ya}view(){return this.pa}activate(a){this.Wa=a;this.Da.$().Zb().addHandler(this.Ab,this)}deactivate(){this.Wa=null;this.Da.$().Zb().removeHandler(this.Ab,this)}play(){this.Da.start()}pause(){this.Da.stop()}L(){return this.Ld}TH(){}vQ(){}HI(a){const b=this.Uu.sc(a);this.pause();mk(this,a,b.duration())}sb(){return this.Uu}cI(){pk(this); +return this.Da.$().timestamp().Ba()}uQ(){pk(this);const a=this.sb().sc(this.cI());return Math.min(a.duration(),this.Da.$().timestamp().ib())}paa(){pk(this);const a=this.sb().sc(this.cI());return 0=d.time){a=d.freeze?d.OQ:d.OQ+a-d.time;break a}}throw Error("invalid clock");}return a}sk.prototype.add=function(a){const b=this.Yf();b.Md+=a;return b};sk.prototype.Yf=function(){return new sk(this.ET,this.Md)}; +function uk(a){this.Rq=new sk(this);this.ND=[];this.Dm=[{time:0,OQ:a,freeze:!1}]}function vk(a,b,c,d){b={time:b,OQ:c,freeze:d||!1};0==a.Dm.length?a.Dm.push(b):(c=a.Dm[a.Dm.length-1],c.time!=b.time&&wk(a,c.time,b.time)?a.Dm.push(b):a.Dm.splice(a.Dm.length-1,1,b))}uk.prototype.persistState=function(){return{t:this.Rq.time(),p:Ua(this.Dm)}};function wk(a,b,c){return La(a.ND,d=>d>=b&&d<=c)};class xk{constructor(a,b){this.caa=a[ia.Symbol.iterator]();this.wba=b}[Symbol.iterator](){return this}next(){const a=this.caa.next();return{value:a.done?void 0:this.wba.call(void 0,a.value),done:a.done}}}function yk(a,b){return new xk(a,b)};function zk(){}zk.prototype.next=function(){return Ak};var Ak={done:!0,value:void 0};function Bk(a){return{value:a,done:!1}}zk.prototype.Aj=function(){return this};function Ck(a){if(a instanceof zk)return a;if("function"==typeof a.Aj)return a.Aj(!1);if(ka(a)){let b=0;const c=new zk;c.next=function(){for(;;){if(b>=a.length)return Ak;if(b in a)return Bk(a[b++]);b++}};return c}throw Error("Not implemented");} +function Dk(a,b){if(ka(a))u(a,b);else for(a=Ck(a);;){const {done:c,value:d}=a.next();if(c)break;b.call(void 0,d,void 0,a)}}function Ek(a,b,c){let d=0,e=a,f=c||1;1=e||0>f&&d<=e)return Ak;const h=d;d+=f;return Bk(h)};return g}function Fk(a){if(ka(a))return Ua(a);a=Ck(a);const b=[];Dk(a,function(c){b.push(c)});return b};function Gk(a){if(a instanceof Hk||a instanceof Ik||a instanceof Jk)return a;if("function"==typeof a.next)return new Hk(()=>a);if("function"==typeof a[Symbol.iterator])return new Hk(()=>a[Symbol.iterator]());if("function"==typeof a.Aj)return new Hk(()=>a.Aj());throw Error("Not an iterator or iterable.");}class Hk{constructor(a){this.QQ=a}Aj(){return new Ik(this.QQ())}[Symbol.iterator](){return new Jk(this.QQ())}uJ(){return new Jk(this.QQ())}} +class Ik extends zk{constructor(a){super();this.VC=a}next(){return this.VC.next()}[Symbol.iterator](){return new Jk(this.VC)}uJ(){return new Jk(this.VC)}}class Jk extends Hk{constructor(a){super(()=>a);this.VC=a}next(){return this.VC.next()}};function Kk(a,b){this.Gl={};this.hd=[];this.BD=this.size=0;var c=arguments.length;if(12*this.size&&Mk(this),!0):!1}; +function Mk(a){if(a.size!=a.hd.length){for(var b=0,c=0;b=d.hd.length)return Ak;var f=d.hd[b++];return Bk(a?f:d.Gl[f])};return e};function Nk(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function Pk(){this.ns=[[]]}function Qk(a){return a.ns[a.ns.length-1]}k=Pk.prototype;k.add=function(a){let b=Qk(this);Array.isArray(a)?(b=Ta(b,a),this.ns[this.ns.length-1]=b):b.push(a)};k.push=function(){this.ns.push([])};k.pop=function(){if(1>=this.ns.length)throw Error("");const a=this.ns.pop();this.add(a);return a};k.clear=function(a,b){const c=Qk(this);a=void 0!==a?a:0;b=void 0!==b?b:c.length;c.splice(a,b-a)};k.apply=function(a){const b=Qk(this);for(let c=0;c=l?(e-f)/(2*l):(e-f)/(2-2*l));c=[Math.round(g+360)%360,h,l]}else c=b;d=c;"rgb"==a?(b=d[1],c=d[2],a=d[0]/360,0==b?c=d=a=255*c:(b=.5>c?c*(1+b):c+b-b*c,e=2*c-b,c=255*Vk(e,b,a+1/3),d=255*Vk(e,b,a),a=255*Vk(e,b,a-1/3)),a=[Math.round(c),Math.round(d),Math.round(a)]):a=d}return a}Pm(a){const b= +this.je==a.je?this.Sb:this.Mc(a.je);return bb(b,a.Sb)}clone(){return new Tk(this.je,Ua(this.Sb))}};class Wk extends Sk{constructor(a,b,c,d,e){super(c,d,e);this.Zf=a;this.Vr=[];this.Bq=b||0}color(){return this.Zf}priority(){return this.Bq}pu(){const a=this.Yf();a.Zf.multiple(-1);return a}Yf(){const a=new Wk(this.Zf.clone(),this.Bq,this.absolute(),this.$(),this.completed());a.Vr=Ua(this.Vr);return a}QD(a){if(this.absolute()){this.Zf.add(a.Zf);for(let b=0;b=a)return 0;if(1<=a)return 1;const b=this.Z2,c=this.j4,d=1-(b+c),e=1/(b/2+d+c/2);let f=0;0b?b:a,2)/2,a-=b);0d?d:a),a-=d);0a||a>this.duration())throw Error("invalid action's run time");return this.Mt?this.Mt.normalize(a,this.duration(),b):a};function Fl(){}r(Fl,El);function Gl(a){let b=0;a instanceof El&&(b=a.duration());return b}function Hl(){}Hl.prototype.xe=function(a,b,c,d){a.xe(b,c,d)};Hl.prototype.complete=function(a,b,c){if(a instanceof Al)a.xe(b,c);else if(a instanceof El)a.complete(b,c);else throw Error("unknown action");};var Il=null;function Jl(){Il||(Il=new Hl);return Il}function Kl(){}Kl.prototype.xe=function(a,b,c,d){a.tk(b,c,d)}; +Kl.prototype.complete=function(a,b,c){if(a instanceof Al)a.tk(b,c);else if(a instanceof El)a.gD(b,c);else throw Error("unknown action");};var Ll=null;function Ml(){Ll||(Ll=new Kl);return Ll};function Nl(a){this.nc=a||[];this.nO=a?a.slice().reverse():[]}r(Nl,Fl);k=Nl.prototype;k.Fa=-1;k.Ah=function(a){if(0<=this.Fa)throw Error("ActionsSequence was already initialized");this.nc.push(a);this.nO.splice(0,0,a)};k.hK=function(){let a=0;for(let b=0;bthis.Fa&&(this.Fa=this.hK());return this.Fa};k.xe=function(a,b,c){a=this.Xi(a);this.yc(this.nc,Jl(),a,b,c)};k.complete=function(a,b){this.Kh(this.nc,Jl(),a,b)}; +k.tk=function(a,b,c){a=this.Xi(a,!0);this.yc(this.nO,Ml(),a,b,c)};k.gD=function(a,b){this.Kh(this.nO,Ml(),a,b)}; +k.yc=function(a,b,c,d,e){const f=ma(this)+"",g=d.Fd;g.push();var h=0;let l=0,n=d.Dv.get(f);var m;if(m=n)m=n,m=tk(m.$())==tk(e)&&m.time()<=c;m&&(h=n.d3+1,l=n.duration(),g.add(n.Fd));n=null;m=!1;const p=a.length;for(let t=h;ta||a>=this.count()?null:this.Wn[a]};fm.prototype.Kl=function(a){for(let b=0;bb.push(c));return b}function sm(a){if(a.Tc){var b=a.Tc.Ya,c=a.Ya,d=a.zr;c=new Wf(c.left-.5*d,c.top-.5*d,c.width+d,c.height+d);d=Math.abs(b.top-c.top);var e=Math.abs(b.width-c.width),f=Math.abs(b.height-c.height);a.uC=1E-4>Math.abs(b.left-c.left)&&1E-4>d&&1E-4>e&&1E-4>f&&!a.o0}} +class tm{constructor(a,b,c){this.type=a;this.Ya=b;this.zIndex=c;this.Nl=[];this.pr=[];this.Tc=null;this.o0=!1;this.text="";this.Pl=this.Dl=!1;this.rotation=0;this.se=this.vj=void 0;this.zr=0;this.uC=!1;this.Fx=new qm}};var um={hga:"slide",N2:"interaction",V2:"quiz",W2:"scenario"};q("ispring.presenter.presentation.slides.SlideType",um);q("PRESENTATION_SLIDE","slide",um);q("INTERACTION_SLIDE","interaction",um);q("QUIZ_SLIDE","quiz",um);q("SCENARIO_SLIDE","scenario",um);function vm(a,b,c,d,e,f,g){this.T3=a;this.zh=b;this.Va=c;this.Na=d;this.mj=e;this.D3=void 0==f?"":f;this.b$=g;this.vl=1}k=vm.prototype;k.containerId=function(){return this.T3};k.url=function(){return this.zh};k.width=function(){return this.Va};k.height=function(){return this.Na};k.ib=function(){return this.mj*this.vl};k.Kl=function(a){this.vl=a};k.bgColor=function(){return this.D3};k.w2=function(){return this.b$};function wm(){this.Az=[]}wm.prototype.count=function(){return this.Az.length};wm.prototype.Kl=function(a){for(let b=0;b{a.jC.push(e)}),c=!0);c||a.jC.push(b)} +class Am extends dg{constructor(){var a=new em;super("slide");this.fM=!0;this.Uv=new bm(a);this.rV=[];this.Tu=new nm;this.Yd=[];this.jC=[];this.bV=[];this.Po=new ym;this.xz=new fm;this.bL=new wm;this.Sw=[];this.Xg=a}persistState(a){a=super.persistState(a);a.visitedHyperlinks=this.jC;return a}To(a,b){super.To(a,b);this.jC=v(a,"visitedHyperlinks",!1)}yJ(){return this.jC}xD(){return this.Yd}Bh(a){0>Ia(this.Yd,a)&&this.Yd.push(a)}GD(){return this.Po}};function Bm(a,b){this.ya=a;this.Ht=b}k=Bm.prototype;k.Za=null;k.cJ=function(a){this.Za=a};function Cm(a,b){return Sf(a.ya.Dd(),b)}function Dm(a,b){return Sf(a.ya.ie(),b)}k.playVideo=function(a,b,c){a=Dm(this,a);if(null!=this.Ht.Wa&&a){var d=this.Za;Em(d,a,d.Y.timestamp(),null!=b?b:null,c||!1)}};k.stopVideo=function(a,b){a=Dm(this,a);null!=this.Ht.Wa&&a&&Fm(this.Za,a,b)}; +k.pauseVideo=function(a,b){a=Dm(this,a);if(null!=this.Ht.Wa&&a){var c=this.Za;const d=Gm(c,a);d.playing()?(d.pause(),c.Vl==d&&(c.Vl=null)):Em(c,a,c.Y.timestamp(),null,b||!1)}};function Hm(a,b,c,d,e){this.Tb=a;this.L3=b;this.M3=c;this.S8=d;this.T8=e}k=Hm.prototype;k.id=function(){return this.Tb};k.clientX=function(){return this.L3};k.clientY=function(){return this.M3};k.screenX=function(){return this.S8};k.screenY=function(){return this.T8};function Im(a,b){this.jL=a;this.T9=b}function Jm(a){const b=[];for(let c=0;cd&&(d=h,e=g)}return e?(c.eu().defaultPrevented?e.nr():e.WH(c),!0):!1}function Qm(a,b){a.Lk[b.Hx()]=b}function Wm(a,b){b=b.Hx();b in a.Lk&&delete a.Lk[b]}function Xm(a,b){return b in a.Lk?a.Lk[b]:null};function Ym(){this.VB=new C;this.eU=new C;this.kP=new C;this.jP=new C}k=Ym.prototype;k.Do=null;k.EH=!1;k.Hx=function(){return"tap"};k.nI=function(a,b){if("touchEnd"==a)return this.EH?1:0;const c=new Xc(b.touches()[0].clientX(),b.touches()[0].clientY());if("touchStart"==a&&1==b.touches().length)return this.Do=c,this.EH=!0,this.kP.C(),vj||ve(window,"scroll",this.nr,!1,this),0;if(!this.Do)return 0;50>=$c(c,this.Do)||this.EH&&this.nr();return 0}; +k.WH=function(a){this.VB.C(this.Do.x,this.Do.y,a.eu());let b=!1;const c=Date.now();this.IV&&1E3>c-this.IV&&50>=$c(this.r5,this.Do)&&(b=!0,this.eU.C(this.Do.x,this.Do.y,a.eu()));this.IV=b?null:c;this.r5=this.Do};k.nr=function(){De(window,"scroll",this.nr,!1,this);this.EH=!1;this.jP.C()};var Zm={},$m=!1,an=-1;function bn(a){return a in Zm?Zm[a]:null}function cn(a,b,c,d,e){this.Na=a;this.A$=b;this.l_=c;this.F3=d||!1;this.h5=e||!1}cn.prototype.height=function(){return this.Na};cn.prototype.HS=function(){return this.A$};cn.prototype.bold=function(){return this.F3};cn.prototype.italic=function(){return this.h5};function dn(a){a=a||document.styleSheets;for(var b=[],c=en(a),d=0;a=c[d];d++){var e=fn(a);if(e&&e.length)for(var f=0,g=0,h=e.length,l;gparseInt(Vb,10);let d=Ib,e;d&&(e=parseInt(Vb,10),11<=e&&(d=!1));const f=a.content();a=f.querySelectorAll("span");const g=new Ln(()=>{yn(f)});for(let w=0;wl.length)continue;h=3;if(0<=l[0].search("rgb")||0<=l[0].search("#"))h=0;var n= +l.splice(h,l.length-3).join(""),m=parseFloat(l[2]);l=parseFloat(D.top)||0;h=parseFloat(D.left)||0;let I=1,A=1;var p=0,t=D.msTransform;t&&(t=t.match(/matrix\(\s*([\d.-]+),\s*([\d.-]+),\s*([\d.-]+),\s*([\d.-]+),\s*[\d.-]+,\s*[\d.-]+\s*\)/))&&5==t.length&&(I=parseFloat(t[1]),A=parseFloat(t[4]),p=parseFloat(t[3]));if(10>e)y.style.color=n,0null!=d.onclick)&&(b=new Mn,this.Ot.C(a.Nu,b),b.actionPrevented()&&c.preventDefault())}};function Sn(a,b){this.C5=a;this.ZV=b||null}var Tn=[];Sn.prototype.ZV=null;Sn.prototype.Wx=function(){return this.C5};Sn.prototype.yi=function(){return this.ZV};function Un(a,b,c,d,e,f,g,h){this.ID=a;this.KD=b;this.x1=c;this.y1=d;this.x2=e;this.y2=f;this.JD=g;this.LD=h}Un.prototype.clone=function(){return new Un(this.ID,this.KD,this.x1,this.y1,this.x2,this.y2,this.JD,this.LD)};Un.prototype.Pm=function(a){return this.ID==a.ID&&this.KD==a.KD&&this.x1==a.x1&&this.y1==a.y1&&this.x2==a.x2&&this.y2==a.y2&&this.JD==a.JD&&this.LD==a.LD};function Vn(a,b){const c=zd("canvas");void 0!==a&&(c.width=a);void 0!==b&&(c.height=b);return c}function Wn(a,b){b=b instanceof gm?[b.pd,b.ge,b.fe,b.Od,b.ve,b.we]:b;a.transform(b[0],b[1],b[2],b[3],b[4],b[5])};function Xn(a,b,c){this.iq=a;this.Id=this.Nh(b||100,c||100);this.kg=this.Id.getContext("2d");this.kg.fillStyle="rgba(255,255,255,1)";this.Vv=Yn}Xn.prototype.Vv="";Xn.prototype.Yz=!1;Xn.prototype.Nh=function(a,b){return Vn(a,b)};Xn.prototype.apply=function(a,b){const c=a.getContext("2d");c.save();this.oj(this.Yz?1-b:b);b=this.Id;c.scale(a.width/b.width,a.height/b.height);c.globalCompositeOperation=this.Vv==Yn?"destination-in":"destination-out";c.drawImage(b,0,0);c.restore()}; +function Zn(a){a.kg.clearRect(-a.Id.width,-a.Id.height,2*a.Id.width,2*a.Id.height)}function $n(a,b){const c=a.Id.width,d=a.Id.height;a=a.kg;switch(b){case ao[90]:a.rotate(.5*Math.PI);a.translate(0,-d);break;case ao[180]:a.rotate(Math.PI);a.translate(-c,-d);break;case ao[270]:a.rotate(1.5*Math.PI),a.translate(-c,0)}}var Yn="maskIn",ao={0:"0",90:"90",180:"180",270:"270"};function bo(a){Xn.call(this,a);a=a.yi();a&1&&$n(this,ao[90]);a&4&&(this.Vv="maskOut",this.Yz=!0)}r(bo,Xn);bo.prototype.oj=function(a){const b=this.Id;Zn(this);a*=b.width;this.kg.fillRect(b.width/2-a/2,0,a,b.height)};function co(a,b,c,d){Xn.call(this,a,102,102);this.P3=d;this.I8=c;b||$n(this,ao[90]);a=Math.ceil(this.Id.width/d);c=Math.ceil(this.Id.height/c);this.yz=this.Nh(a,c);this.OG=this.Nh(this.Id.width+a,c)}r(co,Xn); +co.prototype.oj=function(a){Zn(this);var b=this.yz.width,c=this.yz.height,d=this.yz.getContext("2d");d.clearRect(0,0,b,c);d.fillStyle="rgba(255,255,255,1)";d.fillRect(0,0,b*a,c);a=this.OG.getContext("2d");a.clearRect(0,0,this.OG.width,this.OG.height);b=this.yz;for(c=0;ca;++a)this.IN.push(mo(100)),this.HN.push(this.Nh(20,20));const b=mo(25);for(a=0;aa;++a)for(c=20*a,d=0;5>d;++d)b.drawImage(this.HN[this.Y7[5*a+d]],c,20*d)};function no(a){Xn.call(this,a);a.yi()&2&&$n(this,ao[90]);this.wY=Fk(Ek(0,100));db(this.wY)}r(no,Xn);no.prototype.oj=function(a){Zn(this);const b=this.kg,c=this.Id.width;a=Math.floor(100*a);for(let d=0;dd;++d)c.fillRect(0,6*d,b?6*(16-d-1):6*d,6);a&32&&$n(this,ao[180])}r(oo,Xn);oo.prototype.oj=function(a){Zn(this);this.kg.drawImage(this.WZ,-192*(1-a),0)};function po(a){Xn.call(this,a);a.yi()&16&&(this.Vv="maskOut",this.Yz=!0);$n(this,ao[270])}r(po,Xn);po.prototype.oj=function(a){Zn(this);const b=this.kg;a*=Math.PI;const c=this.Id.width;b.save();b.translate(c/2,c/2);b.beginPath();b.moveTo(0,0);b.arc(0,0,c,-a,a,!1);b.lineTo(0,0);b.fill();b.restore()};function qo(a,b){Xn.call(this,a);this.HT=a.yi();b||(this.Vv="maskOut",this.Yz=!0);$n(this,ao[270])}r(qo,Xn);qo.prototype.oj=function(a){Zn(this);const b=this.kg,c=this.Id.width,d=2*Math.PI/this.HT;a*=d;b.save();b.translate(c/2,c/2);b.beginPath();for(let e=0;e=c&&0<=e&&255>=e&&0<=d&&255>=d){c=[c,e,d];break a}}c=[]}if(c.length)return b.pI=Uk(c[0],c[1],c[2]),b.type="rgb",b;if(Go&&(c=Go[a.toLowerCase()]))return b.pI=c,b.type="named",b;throw Error(a+" is not a valid color string");}var Lo=/#(.)(.)(.)/; +function Jo(a){if(!Io.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(Lo,"#$1$1$2$2$3$3"));return a.toLowerCase()}function Mo(a){a=Jo(a);a=parseInt(a.slice(1),16);return[a>>16,a>>8&255,a&255]}function Uk(a,b,c){a=Number(a);b=Number(b);c=Number(c);if(a!=(a&255)||b!=(b&255)||c!=(c&255))throw Error('"('+a+","+b+","+c+'") is not a valid RGB color');b=a<<16|b<<8|c;return 16>a?"#"+(16777216|b).toString(16).slice(1):"#"+b.toString(16)} +function Vk(a,b,c){0>c?c+=1:16*c?a+6*(b-a)*c:1>2*c?b:2>3*c?a+(b-a)*(2/3-c)*6:a}var Io=/^#(?:[0-9a-f]{3}){1,2}$/i,Ko=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function No(){}r(No,Do);No.prototype.ln=function(a,b){No.Mb.ln.call(this,a,b);Eo(this,a,b.context());var c=b.context();try{const d=Fh(a,"backgroundColor"),e=a.style.width,f=a.style.height;if(""!=d&&"transparent"!=d&&""!=e&&""!=f){const g=Ho(d);c.save();c.fillStyle=g.pI;c.fillRect(0,0,parseFloat(e),parseFloat(f));c.restore()}}catch(d){}"block"==ia.window.getComputedStyle(a,null).display&&(b.KK=0)};function Ro(){}r(Ro,Do);Ro.prototype.ln=function(a,b){Ro.Mb.ln.call(this,a,b);Eo(this,a,b.context());try{if(a.complete&&0{var e=d=d.clone(),f=-d.we;e.ve+=-d.ve;e.we+=f;hm(b,d)});return b} +function Vo(a,b,c,d){const e=parseFloat(c.fontSize);let f=parseFloat(c.letterSpacing);var g=parseFloat(c.lineHeight);isNaN(g)&&(g=parseFloat(c.height));var h=bn(c.fontFamily);!h||isNaN(g)?isNaN(g)?(a.textBaseline="alphabetic",g=e):(a.textBaseline="middle",g*=.5):(a.textBaseline="alphabetic",g=.5*(e*h.height()+g)-e*(h.HS()+h.l_));if(isNaN(f))a.fillText(b,0,g),b=a.measureText(b).width;else{const l=[];let n=0;for(h=0;ha.indexOf("http://www.w3.org/2000/svg")&&(a=']*>/g,"").replace(/<\/a>/g,"")}k.P1=function(){};function $o(){this.Go={};this.aK=this.p4.bind(this)}$o.prototype.nT=null;$o.prototype.EV=null;$o.prototype.rK=null;$o.prototype.p4=function(){const a=this.Go,b=this.EV;let c;for(;c=b.next();){const d=a[c.nodeName.toLowerCase()],e=d.async(),f=this.nT;b.a1()?e?d.k0(f,this.aK):d.s2(f):e?d.l0(c,f,this.aK):d.ln(c,f);if(e)return}c||this.rK&&this.rK()}; +function ap(a,b,c,d){const e=b.getContext("2d");e.clearRect(0,0,b.width,b.height);d&&(b.setAttribute("data-scale-x",d.width),e.scale(d.width,d.height));b=new $o;b.Go.div=new No;b.Go.a=new No;b.Go.img=new Ro;b.Go.span=new To;b.Go.svg=new Wo;b.Go.canvas=new Fo;b.Go.video=new Fo;b.nT=new Co(e);e.ux=[];b.rK=c||null;b.EV=new bp(a,b.Go,b.aK)} +function bp(a,b,c){this.jb=[];const d=new Fn(a),e=this;setTimeout(()=>{const f=new Bo(a);for(;;){var g=f.next();if(g.done)break;g=g.value;if(g!==a){var h=g.nodeName.toLowerCase();if(h in b){var l=f.UC();h=b[h];const n=g.hasAttribute("data-draw-ignore");l&&!h.isVisible(g)||n?(g=f,l=g.Dh?-1:1,g.Gh==l&&(g.Gh=-1*l,g.depth+=g.Gh*(g.Dh?-1:1))):(l&&h.P1(g),e.jb.push({element:g,UC:l}))}}}Jn(d);c()},0)}bp.prototype.Oh=-1; +bp.prototype.next=function(){this.Oh{var f=b.iq;var g=ma(f)+"";g in vo?g=vo[g]:(f=wo(f),g=vo[g]=f);g.apply(e,b.progress());yi(e,"50% 50%");on(e,a.B5);yo(d,!0)}),c&&.1>b.progress()&&yo(d,!0)):(d.Fq=null,d.bE&&(yo(d,!1),Ib&&qp(a)))}function qp(a){if(a=a.Vd.querySelector("video")){const b=Ld(a),c=Qh(b);c.width&&(Oh(b,c.width+1),setTimeout(()=>{Oh(b,c.width)},0))}} +function lp(a,b,c){c=c||a.Vd;a=jc(b.ji);for(let d=0;d{const f=e.getContext("2d");try{const g=f.getImageData(0,0,e.width,e.height),h=g.data;for(e=0;e=e&&g<=f&&c.xe(b,d.add(g))}};function Pp(a,b){this.Xg=a;this.fk=b;this.ze=new Qp(Ql(b.wt),a);this.jW=[new Kp(b),new Np(b)];this.X3=new Kk;this.reset(0);this.ix=new C}k=Pp.prototype;k.Md=0;k.Ay=function(){return this.ix};k.timeline=function(){return this.fk};k.time=function(){return this.Md};k.resume=function(a){const b=Lp(this.ze);b&&vk(Mp(this.ze,b),this.Md,a)}; +k.seek=function(a,b){if(aa)break}else if(l=h.Ak(),l.required())break;else f=new uk(tk(f.add(g))),this.ze.Bh(l,f),f=f.Rq,a-=g,g=0}this.Md=a;b=new yl(b,this.X3);for(h=0;h{a.push(c.id())},this);const b=[];u(this.cC,c=>{b.push(c.persistState())},this);return{t:a,at:b}};Qp.prototype.Bh=function(a,b){b.ND=this.ND[this.cC.length];this.Yd.push(a);this.cC.push(b)}; +function Mp(a,b){b=Ia(a.Yd,b);if(0>b)throw Error("trigger wasn't activated");return a.cC[b]}function Lp(a){const b=a.Yd.length;return 0{b=b.$();c=c.$();return!!b!=!!c?b?1:-1:b&&c?tk(b)-tk(c):0})};function Zp(a){const b=a.ya;var c=b.Uv;if(!c)throw Error("slide must contain main timeline");$p(a);a.ig=new Pp(b.Xg,c);a.ig.Ay().addHandler(()=>{a.ix.C(a.Ld)});c=b.rV;a.Sk=[];for(let d=0;d{a.ix.C(a.Ld)})}} +function $p(a){a.ya.fM&&a.ya.Tu.Mc().forEach(b=>{if(!a.UL.includes(b.id())){var c=a.Ep.get(b.id());aq(a,b)&&(jl(c,"moveX",!0).add(new bl(b.Ya().left,!0)),jl(c,"moveY",!0).add(new bl(b.Ya().top,!0)));if(c=(c=sp(a.R_,b,c))?c.S4:null)c=new Up(b.id(),c),a.ya.Uv.RL.Ah(c),a.ya.Uv.wt.Ah(b.id(),new Vp(0),0),a.UL.push(b.id())}})}function aq(a,b){return!a.ya.Sw.find(c=>c.Tc&&c.Tc.id==b.id()||!!c.Nl.find(d=>d.id==b.id()))}function bq(a,b){a&&(a.reset(b),a.timeline().wt.reset())} +function cq(a){if(!a.ig)throw Error("animation controller isn't activated");}function dq(a){return"completed"==a.ig.playbackState().state()?a.ya.sb().count()-1:a.ig.ze.Yd.length-1-1}function eq(a){if(a.Sk){const b=a.Bn();for(let c=0;cb.Ba()||c!=a.Ld?!1:!0} +class gq{constructor(a,b,c,d,e){this.ya=a;this.Y=c;this.Ee=e;this.ix=new C;this.Ld=a.index();this.Ep=new xl;this.R_=new rp(a,b);this.J5=new tp(d);this.Sk=this.ig=null;this.Nb=!1;this.UL=[];a.Sw.forEach(f=>rm(f).forEach(g=>this.Ep.set(g.id,g.state)))}Ay(){return this.ix}persistState(){const a=[];u(this.Sk,b=>{a.push(b.persistState())},this);return{m:this.ig.persistState(),i:a}}restoreState(a){this.ig||Zp(this);this.ig.restoreState(a.m);this.WI(a);this.Jo(0,0)}WI(a){u(a.i,(b,c)=>{this.Sk[c].restoreState(b)})}reset(a, +b){void 0===a&&(a=-1);void 0===b&&(b=0);this.ig||Zp(this);this.EG=this.Bn();this.nY=a;this.oY=b;bq(this.ig,this.EG);0<=a&&(this.Jo(0,0),this.seek(a,b));this.Jo(0,0,!1)}SI(){this.ya.Tu.Mc().some(a=>!this.UL.includes(a.id()))&&(this.ya.Uv.RL.Fa=-1,$p(this),this.reset(0,0))}activate(){if(this.Nb)throw Error("already activated");this.Nb=!0;this.Y.Zb().addHandler(this.Ab,this);this.Y.Ml().addHandler(this.DW,this)}deactivate(){cq(this);this.Nb=!1;this.Y.Zb().removeHandler(this.Ab,this);this.Y.Ml().removeHandler(this.DW, +this)}play(){cq(this);this.ig.resume(this.Bn())}pause(){cq(this)}Jo(a,b,c){var d=[];c=void 0!==c?c:this.Y.Kg();a=this.ig.Ji(a,this.Ep,c);d.push(a);for(a=0;a +w.level())p=w;m=p}else if(m instanceof Xk){m=Yp(p);p=null;for(t=0;t=this.ig.ze.Yd.length?0:this.ig.time();if(a>d||a==d&&(void 0===b||e<=b)){for(;dq(this)!=a;)this.ig.sx("__step",c),e=0;void 0!== +b&&0e)){c=c.ik();const f=[];for(let g=0;g=d&&l<=e&&f.push(h)}d=f;for(e=0;e{(e=kk(a.pa,e.PX))?(lq(d,e),b=!0):c=!0});a.RP=b&&!c}function mq(a){kq(a,b=>b.LR())}function nq(a){kq(a,b=>{b.stop();Lj&&b.qQ()})}function oq(a){kq(a,b=>pq(b));a.RP=!1}function kq(a,b){const c=a.Wa.me;a.ya.ie().Mc().forEach(d=>{if(!(0b?a.Gp:a.M[b]).pl)}Cu(a){Th(this.slide(),a)}width(){return this.Va}height(){return this.Na}slide(){return this.ya}clone(){return this.Yf}Iv(a){Oq(this,a.yb,a.slideBackground()); +Pq(this)}Ir(){this.Uc();this.ya=zd("DIV");F(this.ya,"position","absolute");this.Rw=zd("DIV");F(this.Rw,"position","absolute");this.ya.appendChild(this.Rw);Qq(this,this.Hv);this.cH=zd("DIV");F(this.cH,"position","absolute");this.ya.appendChild(this.cH);this.cH.appendChild(this.yb);this.pl.appendChild(this.ya);Pq(this)}$0(a){Qq(this,a);this.ya&&Pq(this)}rI(){return this.Hv}Uc(){this.ya&&(Fd(this.ya),this.ya=null)}content(){return this.cH}background(){return this.Rw}hX(a){this.Iv(a)}resize(a,b){if(this.Va!= +a||this.Na!=b)this.Va=a,this.Na=b,this.Gw(a,b)}Gw(a,b){a=Math.min(a/this.FX,b/this.EX,this.aW);this.yb&&Rq(this,this.yb,a);this.Co&&Rq(this,this.Co,a)}};class Tq{constructor(a){this.c4=a}displayObject(){return this.c4}};class Uq{constructor({nk:a,MD:b}){this.oh=a.concat();this.bQ=b.concat()}nk(){return this.oh.concat()}MD(){return this.bQ.concat()}persistState(){const a={};a.indexes=this.oh;a.zoomStates=this.bQ;return a}sQ(){return new Uq({nk:this.oh,MD:this.bQ})}};function Vq(a){for(let b=a.Si.length-1;0<=b;--b)if(a.Si[b])return a.Si[b];return null}function Wq(a,b=null){a.YD=b?new Tq(b):null;a.Ps=null}function Xq(a,b){const c=[];for(let d=0;dd.includes(e))} +function Zq(a,b,c,d,e,f){function g(l){if(e&&!f.la(c).visible())return l;for(;l{Kq(a.Yl,a.ni,g,c,l=>{a.IZ.set(a.gH[e],l);h(l)},f.rI())})} +function gr(a,b,c,d,e,f){const g=a.Da.$().timestamp(),h=er(g,b,f,d,e);if(a.sE[h])return Promise.resolve(a.RT.get(a.sE[h]));a.sE[h]={hash:h};const l=a.zc.Gd[c],n=fr(a,c);return new Promise(m=>{Mq(a.Yl,a.ni,n,e,d,f,p=>{a.RT.set(a.sE[h],p);p.setAttribute("id",b);m(p)},l.rI())})} +function hr(a,b,c){function d(){return new Promise(n=>{dr(l,h).then(m=>{l.Rb.WR(m);c.WR(l.Rb.fR());n()})})}function e(){return new Promise(n=>{gr(l,g.id(),h,g.Ya(),g.rotation(),[g.xy()]).then(m=>{l.Rb.YD=new Tq(m);n()})})}b=0<=b?a.M.la(b):void 0;var f=b instanceof cr||b instanceof tq||b instanceof Bq;if(!c||f)return Promise.resolve();const g=c.effect(),h=c.Qr(),l=a;g&&g.hn()&&(Wq(a.Rb),a.Rb.tV.C(b));b=g&&!g.hn()&&!c.oa();f=!!c.sp();a=[];if(f&&b)b=new Promise(n=>{d().then(()=>{e().then(()=>{n()})})}), +a.push(b);else if(f||b)f&&(f=d(),a.push(f)),b&&(b=e(),a.push(b));return Promise.all(a)}function er(a,b,c,d,e){c=c.join(",");a=[a.Ba(),a.ib(),b,c];d&&a.push(d.toString());void 0!==e&&a.push(e);return a.join("_")}function fr(a,b){const c=a.zc.Gd[b];b=a.M.la(b);var d=c.CZ;b.fM=!1;d=new br({content:d,xD:b.xD()});a=new qq(b,d,a.Da,a.Ee);a.tI();var e=a.sb();d=e.sc(e.count()-1);e=e.count()-1;d=d.duration();a.Se.activate();a.Se.reset(e,1E3*d);b.fM=!0;return c.clone()} +class ir{constructor({Vca:a,kn:b,Hda:c,Wo:d,slides:e,aI:f,JI:g}){this.ni=a;this.zc=b;this.Da=d;this.M=e;this.Wa=f;this.Ee=g;this.Yl=new Nq;this.IZ=new WeakMap;this.gH={};this.RT=new WeakMap;this.sE={};this.Rb=c;this.Pz={}}};function jr(a){this.sa=a.content;this.V3=""==a.contentHover?a.content:a.contentHover;this.zh=a.url;this.Va=a.width;this.Na=a.height;this.c$=a.zy;this.o5=a.language;this.f4=a.yx;this.e4=a.xx;this.g4=a.zx;this.h4=a.Ax}k=jr.prototype;k.content=function(){return this.sa};k.contentHover=function(){return this.V3};k.url=function(){return this.zh};k.width=function(){return this.Va};k.height=function(){return this.Na};k.zy=function(){return this.c$};k.language=function(){return this.o5};k.yx=function(){return this.f4}; +k.xx=function(){return this.e4};k.zx=function(){return this.g4};k.Ax=function(){return this.h4};function kr(a){jr.call(this,a)}r(kr,jr);class lr{constructor(a,b,c){this.$h=a;this.y5=b;this.k$=[].concat(c)}name(){return this.$h}localName(){return this.y5}urls(){return this.k$}};class mr{constructor(){this.ZA=[]}count(){return this.ZA.length}U0(a){if(0>a||a>=this.count())throw Error("index is out of range");return this.ZA[a]}J$(a){this.ZA.push(a)}}mr.prototype.getPresenter=mr.prototype.U0;mr.prototype.count=mr.prototype.count;class nr{constructor(a,b){this.Jf=a;this.hs=b;this.th=1;this.zh=null;this.Uq="_self"}src(){return this.Jf}Ya(){return this.hs}opacity(){return this.th}Rf(a){this.th=a}url(){return this.zh}target(){return this.Uq}};class or{constructor(){this.Wu={}}FQ(a){return a in this.Wu}};var pr={Ida:"activated",Cea:"deactivated",KS:"buffering"};q("ispring.presenter.presentation.narration.NarrationTrackPlaybackState",pr);q("ACTIVATED","activated",pr);q("DEACTIVATED","deactivated",pr);q("BUFFERING","buffering",pr);function qr(a,b){a.ii!=b&&(a.ii=b,a.VX.C(a))}class rr{constructor(a,b,c){this.Am=a;this.hL=b;this.Le=void 0!==c?c:1;this.ii="deactivated";this.VX=new C}Lb(){return this.Am}qf(){return this.hL}volume(){return this.Le}playbackState(){return this.ii}playbackStateChangedEvent(){return this.VX}}rr.prototype.playbackStateChangedEvent=rr.prototype.playbackStateChangedEvent;rr.prototype.playbackState=rr.prototype.playbackState;rr.prototype.endTimestamp=rr.prototype.qf;rr.prototype.startTimestamp=rr.prototype.Lb;class sr extends rr{constructor(a,b,c,d){super(b,c,d);this.o3=a}audio(){return this.o3}}sr.prototype.audio=sr.prototype.audio;class tr{constructor(){this.Fm=[]}get v2(){return this.Fm}count(){return this.Fm.length}NC(a){if(0>a||a>=this.count())throw Error("index is out of range");return this.Fm[a]}}tr.prototype.getTrack=tr.prototype.NC;tr.prototype.count=tr.prototype.count;class ur extends tr{S0(a){return this.NC(a)}d0(a){this.Fm.push(a)}Mc(){const a=[];for(let b=0;ba||a>=this.count())throw Error("index is out of range");return this.Ew[a]}Mc(){return this.Ew}}zr.prototype.getReference=zr.prototype.SQ;zr.prototype.count=zr.prototype.count;class Ar{constructor(){this.Ew=new zr}Ai(){return this.Ew}}Ar.prototype.references=Ar.prototype.Ai;class Br{constructor(){this.Hb=!1}enabled(){return this.Hb}qa(a){this.Hb=a}};class Cr{constructor(){this.zz=!0}fitToWindow(){return this.zz}}Cr.prototype.fitToWindow=Cr.prototype.fitToWindow;var Dr={$ea:"free",wga:"restricted",Qga:"sequential"};q("ispring.presenter.presentation.settings.NavigationType",Dr);q("FREE","free",Dr);q("RESTRICTED","restricted",Dr);q("SEQUENTIAL","sequential",Dr);class Er{constructor(){this.N5=new vg;this.eA=new ug;this.E4=new pg;this.Qn="free"}Um(){return this.N5}keyboard(){return this.eA}Gx(){return this.E4}navigationType(){return this.Qn}YR(a){this.Qn=a}}Er.prototype.navigationType=Er.prototype.navigationType;Er.prototype.mouse=Er.prototype.Um;var Fr={jga:"prompt",Lda:"always",yfa:"never"};q("ispring.presenter.presentation.settings.PresentationResumeMode",Fr);q("PROMPT_TO_RESUME","prompt",Fr);q("ALWAYS_RESUME","always",Fr);q("NEVER_RESUME","never",Fr);class Gr{constructor(){this.PG=this.Fp=this.WV=!1;this.Iw="never"}Tm(){return this.WV}Oca(a){this.WV=a}mf(){return this.Fp}bJ(a){this.Fp=a}wu(){return this.Iw}NR(){return this.PG}}Gr.prototype.resumeMode=Gr.prototype.wu;Gr.prototype.autoStart=Gr.prototype.mf;Gr.prototype.loopPlayback=Gr.prototype.Tm;var Hr={Kea:["BC","AD"],Jea:["Before Christ","Anno Domini"],wfa:"JFMAMJJASOND".split(""),kha:"JFMAMJJASOND".split(""),sfa:"January February March April May June July August September October November December".split(" "),jha:"January February March April May June July August September October November December".split(" "),Uga:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),mha:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Sha:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), +oha:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Wga:"Sun Mon Tue Wed Thu Fri Sat".split(" "),nha:"Sun Mon Tue Wed Thu Fri Sat".split(" "),xfa:"SMTWTFS".split(""),lha:"SMTWTFS".split(""),Vga:["Q1","Q2","Q3","Q4"],oga:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Mda:["AM","PM"],Aea:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],Bha:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],Bea:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],K2:6,Tha:[5,6], +L2:5},Ir=Hr;Ir=Hr;function Jr(a,b,c,d,e,f){"string"===typeof a?(this.zj=a==Kr?b:0,this.uj=a==Lr?b:0,this.days=a==Mr?b:0,this.mk=a==Nr?b:0,this.pk=a==Or?b:0,this.uk=a==Pr?b:0):(this.zj=a||0,this.uj=b||0,this.days=c||0,this.mk=d||0,this.pk=e||0,this.uk=f||0)} +Jr.prototype.vJ=function(){var a=Math.min(this.zj,this.uj,this.days,this.mk,this.pk,this.uk),b=Math.max(this.zj,this.uj,this.days,this.mk,this.pk,this.uk);if(0>a&&0a&&b.push("-");b.push("P");this.zj&&b.push(Math.abs(this.zj)+"Y");this.uj&&b.push(Math.abs(this.uj)+"M");this.days&&b.push(Math.abs(this.days)+"D");if(this.mk||this.pk||this.uk)b.push("T"),this.mk&&b.push(Math.abs(this.mk)+"H"),this.pk&&b.push(Math.abs(this.pk)+"M"),this.uk&&b.push(Math.abs(this.uk)+ +"S");return b.join("")};Jr.prototype.Pm=function(a){return a.zj==this.zj&&a.uj==this.uj&&a.days==this.days&&a.mk==this.mk&&a.pk==this.pk&&a.uk==this.uk};Jr.prototype.clone=function(){return new Jr(this.zj,this.uj,this.days,this.mk,this.pk,this.uk)};var Kr="y",Lr="m",Mr="d",Nr="h",Or="n",Pr="s";Jr.prototype.add=function(a){this.zj+=a.zj;this.uj+=a.uj;this.days+=a.days;this.mk+=a.mk;this.pk+=a.pk;this.uk+=a.uk}; +function Qr(a,b,c){"number"===typeof a?(this.jc=Rr(a,b||0,c||1),Sr(this,c||1)):la(a)?(this.jc=Rr(a.getFullYear(),a.getMonth(),a.getDate()),Sr(this,a.getDate())):(this.jc=new Date(wa()),a=this.jc.getDate(),this.jc.setHours(0),this.jc.setMinutes(0),this.jc.setSeconds(0),this.jc.setMilliseconds(0),Sr(this,a))}function Rr(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}k=Qr.prototype;k.O0=Ir.K2;k.Q0=Ir.L2; +k.clone=function(){var a=new Qr(this.jc);a.O0=this.O0;a.Q0=this.Q0;return a};k.getFullYear=function(){return this.jc.getFullYear()};k.getYear=function(){return this.getFullYear()};k.getMonth=function(){return this.jc.getMonth()};k.getDate=function(){return this.jc.getDate()};k.getTime=function(){return this.jc.getTime()};k.getDay=function(){return this.jc.getDay()};k.getUTCFullYear=function(){return this.jc.getUTCFullYear()};k.getUTCMonth=function(){return this.jc.getUTCMonth()};k.getUTCDate=function(){return this.jc.getUTCDate()}; +k.getUTCDay=function(){return this.jc.getDay()};k.getUTCHours=function(){return this.jc.getUTCHours()};k.getUTCMinutes=function(){return this.jc.getUTCMinutes()};k.getTimezoneOffset=function(){return this.jc.getTimezoneOffset()};k.set=function(a){this.jc=new Date(a.getFullYear(),a.getMonth(),a.getDate())};k.setFullYear=function(a){this.jc.setFullYear(a)};k.setYear=function(a){this.setFullYear(a)};k.setMonth=function(a){this.jc.setMonth(a)};k.setDate=function(a){this.jc.setDate(a)};k.setTime=function(a){this.jc.setTime(a)}; +k.setUTCFullYear=function(a){this.jc.setUTCFullYear(a)};k.setUTCMonth=function(a){this.jc.setUTCMonth(a)};k.setUTCDate=function(a){this.jc.setUTCDate(a)}; +k.add=function(a){if(a.zj||a.uj){var b=this.getMonth()+a.uj+12*a.zj,c=this.getYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);a:{switch(b){case 1:var d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.days&&(c=this.getYear(),b=0<=c&&99>=c?-1900:0,a=new Date((new Date(c,this.getMonth(),this.getDate(),12)).getTime()+864E5*a.days),this.setDate(1),this.setFullYear(a.getFullYear()+ +b),this.setMonth(a.getMonth()),this.setDate(a.getDate()),Sr(this,a.getDate()))};k.vJ=function(){var a=this.getFullYear();const b=0>a?"-":1E4<=a?"+":"";return[b+kd(Math.abs(a),b?6:4),kd(this.getMonth()+1,2),kd(this.getDate(),2)].join("")+""};k.Pm=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};k.toString=function(){return this.vJ()};function Sr(a,b){a.getDate()!=b&&a.jc.setUTCHours(a.jc.getUTCHours()+(a.getDate()=this.i2.valueOf()&&a.valueOf()<=this.GC.valueOf()};Ur.prototype.iterator=function(){return new Vr(this)};function Vr(a){this.oR=a.getStartDate().clone();this.GC=Number(a.GC.vJ())}r(Vr,zk);Vr.prototype.next=function(){if(Number(this.oR.vJ())>this.GC)return Ak;var a=this.oR.clone();this.oR.add(new Jr(Mr,1));return Bk(a)};function Wr(a,b){a.e_=b}class Xr{constructor(){this.GN=void 0;this.dU=this.e_=null}password(){return this.GN}yy(){return this.e_}fI(){return this.dU}};function Yr(){}Yr.prototype.zZ=null;Yr.prototype.eY=null;Yr.prototype.kJ=function(){return this.zZ};function Zr(a,b){a.zZ=b}Yr.prototype.NI=function(){return this.eY};function $r(a,b){a.eY=b}function as(a,b){this.zh=a;this.Uq=b}as.prototype.url=function(){return this.zh};as.prototype.target=function(){return this.Uq};as.prototype.open=function(){fh(this.zh,{target:this.Uq})};class bs{constructor(){this.FM=new Er;this.ON=new Gr;this.l3=new Cr;this.I=this.cF=this.Xa=null;this.Oq="";this.w$=new Yr;this.r8=new Xr;this.c3=new Br}navigation(){return this.FM}Vc(){return this.ON}kr(){return this.l3}qJ(){return this.Oq}skin(){return this.Xa}ga(){return this.I}RR(a){this.I=a}Qu(){return this.w$}gy(){return this.r8}Yt(){return this.c3}}bs.prototype.i18n=bs.prototype.ga;bs.prototype.skin=bs.prototype.skin;bs.prototype.appearance=bs.prototype.kr;bs.prototype.playback=bs.prototype.Vc;function cs(){this.bP=[]}cs.prototype.count=function(){return this.bP.length};cs.prototype.add=function(a){this.bP.push(a)};function ds(a,b){const c=a.count();for(let d=0;d{hr(a.RH,b,n).then(()=>{a.QU(b,c,d,e,f,g,h,l,n);m&&a.Rb.reset();a.TF&&a.TF();a.TF=null})},t=n?n.Qr():b,w=a.M.la(t);!n||w.uf()?p():(a.jf.ql.addHandler(y=>{y.index()===t&&p()}),a.jf.Au(t))} +function qs(a,b=!0){if(a.PG){var c=a.$().timestamp();if(0<=c.L()&&0<=c.Ba()){var d=a.rf(c.L());d=d instanceof qq?d.persistState():null;d=new jk(d,c.Ba(),c.ib());a=a.Wa.Ge;b&&(a.YB=!0);rs(a,c.L(),d);a.invalidate()}}}function ss(a){var b=a.Y.timestamp(),c=b.Ba();b=b.ib();const d=a.Td.sb();c=0<=c?d.sc(c):null;return"suspended"==a.Y.state()||null!==c&&b>=c.duration()}function ts(a,b){const c=ns(a)?os(a).Uw:void 0;return new hs(a.G.slides(),b.id(),b,c)} +function us(a,b,c,d,e){c=c?d&&d.sp()?new gf(d.Qr(),0,0):e||a.Y.timestamp():null;a.Kf.push(new Xg(b,c,a.Ue));b=lg(b);0>b&&(b=0);a.Ue=b}function vs(a,b,c){const d=Vq(a.Rb)||void 0,e=d?!1:void 0;if(d){var f=d.effect();const g=ts(a,f),h=new gf(d.Qr(),0,0);d.oa()||us(a,g,f.Kr(),d,h);f=lg(g);0>f&&(f=0);a.Ue=f}ps(a,{L:b,mf:c,qD:e,Jr:!0,eQ:!1,Ey:d})} +function ws(a){if(0a.M.la(d).visible()&&d>os(a).slides()[a.Ue]);if(void 0===c)for(b=a.Kf.length-2;-1<=b;--b)c=a.Kf[b],c=(c?c.Tw:a.Zh).slides().find(d=>a.M.la(d).visible()&&d>os(a).slides()[a.Ue]);return void 0!==c?c:-1}c=ns(a)?os(a).Uw:void 0; +b=b?Zq(a.Rb,b.index(),a.W,a.fa().Bk(),c,a.M):-1;return b>=a.M.count()?-1:b}return-1}function Bs(a){if(!a.Rb.xi()){var b=a.Rb.wI();if(-1!=b)return b}var c=a.fa();b=zs(a);if(!ns(a)&&a.W!=b)return os(a).slides()[0];b=kg(os(a));if(b.seekTo(a.Ue)){for(c=c.visible();gg(b);){const d=b.fa();if(d&&d.Dy()||!c||c&&d&&d.visible())break}b=b.fa();return!b&&ns(a)&&xs(a)?(b=As(a).slides().concat().reverse().find(d=>da.Kf.length)return a.Zh;const b=a.Kf[a.Kf.length-2];return b?b.Tw:a.Zh}function Fs(a,b,c,d,e){us(a,b,c,d);ps(a,{L:b.slides()[a.Ue],qD:!0,Ey:d,vu:e})}function Gs(a,b,c){const d=ts(a,b);c=Ds(a,b,!1,c);Fs(a,d,b.Kr(),c)}function Hs(a,b){a.Kf.length||a.BE.C();var c=ns(a),d=a.Kf.pop();const e=c?d.Tw.a0:void 0;e&&Wq(a.Rb);(c=d.JY)?(a.Ue=d.q9,d=e?Ds(a,e,!0):void 0,ps(a,{L:c.L(),Jr:!1,Ey:d,vu:b})):a.Ue=a.W} +function Mg(a,b,c,d){if(0>a.W)throw Error("current slide is null");var e=!!a.fa().pj().kp();const f=d?ws(a):a.fh();0<=f?(d=()=>{a.ot=!0;const g=Is(a,f);g?Gs(a,g.u1,g.sp):0=a.M.count())){if(!a.M.la(b).visible())return ys(a,b+1);b=a.W==b?void 0:$f(a.fa().Bk(),b);var c=ns(a)?os(a).Uw:void 0;return b&&Yq(a.Rb,b.slides(),c)?ys(a,Math.max.apply(a,b.slides())+1):b}}function Js(a){a.xG||(a.xG=!0,a.pm.C())}function Ls(a){return"accessible"==a.zc.Ib} +function Ms(a,b){a.TF=b}function Ns(a,b,c,d,e){a.W!=b&&(c&&0<=a.W&&a.UE.push(a.M.la(a.W)),d&&0<=a.W&&(d=ns(a)?os(a).Uw:void 0,a.Rb.push(a.M.la(a.W),e,d)),a.Td&&(a.Td.vQ(),a.Td.deactivate()),e=os(a).slides(),d=-1,null!==a.ot&&(d=a.ot?e.indexOf(b,a.Ue):e.lastIndexOf(b,a.Ue)),e=0<=d?d:e.indexOf(b),0<=e&&(a.Ue=e),a.ot=null,a.W=b,e=a.M.la(b),e.Dy()||cg(e,!0),Ls(a)&&!e.completed()&&(e.Dj=!0),c&&Os(a.Wa.Ge,b),a.Td=a.rf(b),a.xZ.C(b),Ps(a,e),a.BZ.C(b))} +function Qs(a){if(a.Td){var b=a.Td;qk(b,a.Nb);b.activate(a.Wa);a.Td instanceof qq&&(a.Td.tI(),a.Td.SI())}}function Ps(a,b){const c=b.index(),d=a.rf(c);b=b.persistState(d);a=a.Wa.Ge;a.Mq[c]=b;a.ul=!0;a.invalidate()}function Rs(a){var b=a.Wa.Ge.Jm;if(b){var c=b.nk();b=b.MD();for(let e=0;e{this.yP.$().Ml().C()},this);this.Y.Pr().addHandler(()=>{this.yP.$().Pr().C()},this); +this.Ke.wJ().addHandler(this.sX,this);this.Ke.Mu().addHandler(()=>{this.q_.C()},this);this.Ke.wJ().addHandler(()=>{this.p_.C();ms(this)},this);this.t9=[];this.UE=new Hg;this.Zh=a.zI();this.Kf=[];a=new cd(this.G.slideWidth(),this.G.slideHeight());this.Rb=new ar(this.Wa.Ge);this.Rb.bX.addHandler(()=>{this.RH.Pz={};ns(this)&&(this.Kf.pop(),this.Ue=this.W);ms(this)},this);this.Rb.tV.addHandler(n=>{ms(this,n)},this);this.RH=new ir({Vca:a,kn:b,Hda:this.Rb,Wo:e,slides:this.M,aI:f,JI:this.fj});b=this.Y.timestamp().L(); +0<=b&&(this.Y.started()?ps(this,{L:b,e0:!1,$m:!1}):this.Ab(this.Y));this.lM=Date.now();this.YS=new is;this.YS.Zb().addHandler(this.Z5,this);this.YS.start();this.XJ=new C;this.Wr=new C;this.BZ=new C;this.RB=new C;this.xZ=new C;this.BE=new C;this.AU=new C;this.q_=new C;this.p_=new C;this.vU=new C;this.Qj=new C;this.EN=new Fg;this.EN.KC()&&ve(this.EN,"visibilitychange",this.O7,!1,this);ve(window,"beforeunload",()=>{qs(this,!1)});this.TV=new C;this.u_=new C;this.fj.Qj.addHandler(this.L6,this)}play(){0> +this.W?ps(this,{L:this.Pf(),Jr:!1}):ss(this)&&!this.Y.nd()?this.fp():this.Td.play()}pause(){this.Td&&this.Td.pause()}ue(a,b,c=!0){this.Rb.reset();ps(this,{L:a,mf:b,Jr:!c,vu:!0})}wI(){const a=this.UE.top();return a?a.index():-1}Lx(a){this.Rb.reset();if(!this.UE.xi()){void 0===a&&(a=!0);var b=this.UE.pop();b&&ps(this,{L:b.index(),mf:a,e0:!1,vu:!0})}}Pf(){const a=kg(this.Zh);return hg(a)?a.fa().index():this.Zh.slides()[0]}Sm(){var a=kg(this.Zh);a.W=a.Vw.length;if(ig(a))return a.fa().index();a=this.Zh.slides().length; +return this.Zh.slides()[a-1]}wr(a){this.Rb.reset();ps(this,{L:this.Pf(),mf:a,vu:!0})}xr(a){this.Rb.reset();ps(this,{L:this.Sm(),mf:a,vu:!0})}sf(a){Mg(this,void 0!==a?a:!0,!0)}vi(a){void 0===a&&(a=!0);if(0>this.W)throw Error("current slide is null");this.BL(a,!1)}fp(){if(0>this.W)throw Error("Slide has not been loaded");var a=this.Y.timestamp(),b=a.Ba(),c=a.ib();a=this.Td;var d=a.sb();const e=0<=b?d.sc(b):null,f=e?e.duration():0;d=b==d.count()-1&&(c>=f||e&&e.Al());0>b?(Ks(this.Ke),this.aC&&Mg(this, +!0,!1)):d?(nk(a),Mg(this,!0,!0)):(this.WE=f<=c,b=a.ya.sb(),c=a.Da.$().timestamp().Ba(),c==b.count()-1?nk(a):(b=c+1,a.play(),mk(a,b,0)),Cs(this),this.WE=!1)}lk(a,b,c,d){void 0==d&&(d=!1);if(a>this.M.count()||0>a)throw Error("slideIndex is out of bounds");var e=this.M.la(a);if(0>b)c=b=0;else{var f=e.sb().count();b>f-1&&(b=f-1)}"idle"!=this.Ke.state()&&Ks(this.Ke);if(f=a!=this.W){qs(this);this.jf.Au(a);if(!e.uf()){this.Xp=arguments;this.Gz=this.lk.bind(this);this.Xp.L=a;Ts(this.Da,!0,this.jf);return}this.Xp&& +(this.Gz=this.Xp=null,Ts(this.Da,!1,this.jf));if(0==b&&0==c){ps(this,{L:a,mf:d,qD:!1});return}e=this.rf(a);if(e instanceof qq){e.Se.reset(b,1E3*c);var g=Us(this.Wa.Ge,a);(g=g?g.nm:null)&&e.WI(g)}}this.Da.Ji(a,b,c,!0);f&&this.Wr.C(a);d?this.Da.start():this.Da.stop();Cs(this)}BL(a,b,c=!1){void 0!==this.AL?this.jY=arguments:this.AL=setTimeout(this.OU.bind(this,a,b,c),0)}OU(a,b,c=!1){clearTimeout(this.AL);this.AL=void 0;var d=this.jY;if(d)this.jY=null,this.OU.apply(this,d);else{d=this.gh();if(0>d){if(0> +this.W)return;d=this.W}this.ot=!1;if(!this.Rb.xi()&&this.Rb.wI()==d){const {slide:g,Caa:h}=this.Rb.pop();if(g){d=void 0;if(h){var e=h.Qr()==g.index();d=void 0;var f=h.effect();h.sp()&&(f=h.sp(),d=h.effect());d=Ds(this,f,e,d);e&&Wq(this.Rb,Vs(this.zc,g.index()).rI())}ns(this)&&xs(this)&&(this.Kf.pop(),this.Ue=this.W);d&&!ns(this)&&(e=d.effect(),f=ts(this,e),us(this,f,e.Kr(),d));ps(this,{L:g.index(),mf:a,oa:b,Jr:c,eQ:!1,Ey:d});return}}ps(this,{L:d,mf:a,oa:b,Jr:c,eQ:!1})}}gh(){if(0>this.W)return-1;const a= +this.fa().pj().ey();return a?Es(a):Bs(this)}ju(){const a=this.rf(this.W);let b=!0;var c=this.Y.timestamp();const d=c.Ba();0>d?(Ks(this.Ke),this.aC||(this.BL(!1,!0,!0),b=!1)):0this.W)){var b=this.Y.Kg(),c=b?(this.lM-a)/1E3:0,d=this.Y.timestamp();a=d.L();var e=d.Ba();d=d.ib();var f=this.fj.playbackRate();d+=c*f;if(b&&0<=e&&(b=this.fa().sb(),c=b.sc(e),d>=c.duration()))if(c.Al()){++e;if(e==b.count()){this.Da.Ji(a,e-1,c.duration());Mg(this,!0,!1);return}d=0}else{this.Da.Ji(a,e,c.duration());Ws(this.Da,!0);return}this.Da.Ji(a,e,d)}}sX(){this.jf.qa(!0);const a=this.rf(this.W);a.TH();const b=Us(this.Wa.Ge,this.W), +c=b?b.nm:null;this.WE=!0;b&&this.A8?(this.Da.Ji(this.W,b.Ba(),b.ib()),this.Td instanceof qq&&c&&this.Td.restoreState(c),this.Fp?a.play():a.pause()):this.Fp?(a.play(),mk(a,0,0)):ok(a);this.WE=!1;(this.aC||b)&&Cs(this)}fh(){if(0>this.W)return-1;const a=this.fa().pj().kp();return a?Es(a):ws(this)}QU(a,b,c,d,e,f,g,h,l){a<<=0;if(a>=this.M.count()||0>a)throw Error("Invalid slide index");void 0==b&&(b=!0);void 0==c&&(c=!0);void 0==d&&(d=!1);void 0==e&&(e=!0);void 0==f&&(f=!0);void 0==g&&(g=!0);void 0==h&& +(h=!0);if(a!=this.W){var n=~this.W?this.M.la(this.W).type():null,m=this.M.la(a).type(),p=Ls(this);this.XJ.C(n,m);n="quiz"==m||this.Oa();m="interaction"==m||this.fb();if(n||m||p)f=!1;"idle"!=this.Ke.state()&&Ks(this.Ke);this.jf.Au(a);if(2!=this.jf.Ix(a))this.Xp=arguments,this.Xp.L=a,this.Gz=this.QU.bind(this),Ts(this.Da,!0,this.jf);else{this.Gz=this.Xp=null;this.jf.qa(!1);m=l?l.effect():void 0;this.Fp=p?!1:b;this.aC=l?void 0===m.duration()?null===this.ot?!1:!this.ot:l.oa():d;this.A8=g;p=this.aC?0> +this.W?a:this.W:a;this.Dg=this.M.la(p).transition().clone();l&&(void 0===m.duration()?m=null:(m=m.duration(),m=new Nf("Zoom",m,null,!1)),this.Dg=m||this.Dg);this.AU.C(this.Dg,this.W,a);qs(this);this.Da.Ji(p,-1,0);p=this.rf(a);p instanceof qq&&(g||rs(this.Wa.Ge,a),(m=(m=Us(this.Wa.Ge,a))?m.nm:null)?p.restoreState(m):(eq(p.Se),p.Se.reset(0,0)));Ns(this,a,c,h,l);if(p=f&&0m.W;m.Zn=A?I.background():m.zc.Gd[m.W];m.ew=I.Gd[t];I=[];0<=m.W&&(I=m.G.slides().la(m.W),I=I instanceof Am?I.Sw:[]);var J=m.G.slides().la(t);J=J instanceof Am?J.Sw:[];m.W=t;Xs(m);w=t=new Ys(m.zg,m.yg,y,m.ew,m.Zn,m.fg,w,D);y=J;w.Ys=I;w.Vs=y;t.iw=A;A=n;n=t;"RandomTransition"==A&&(A=Zs[Math.floor(Math.random()*Zs.length)],A=A[Math.floor(Math.random()*A.length)]);n=(A=$s[A])?A(n):new at(n);m.jh=n;m.jh.mu()&&(A=m.jh,A.Y=m.Y,A.Y.Ml().addHandler(A.BW,A),A.Y.Pr().addHandler(A.AW,A),m.jh.ke.addHandler(m.rX, +m));n.Ux()?bt(m):n.fB.addHandler(m.yN,m)}else ct(this.Ke,a),ms(this);Qs(this);this.Wr.C(a);this.Da.start(d);f&&((n=this.Dg.If)?(m=this.Wa.mediaController(),dt(m,n,m.Y.timestamp(),0)):this.Dg.TZ&&Hp(this.Wa.mediaController()));p||this.sX();e&&Cs(this)}}}playbackState(){const a=this.Y.state(),b=this.Y.timestamp().Ba();return"stopped"==a?0>b?"pausedTransition":"pausedSlide":"suspended"==a?"suspended":"buffering"==a?"buffering":0>b?"playingTransition":"playingSlide"}Ab(a){a=a.timestamp();const b=a.L(), +c=a.Ba();var d=a.ib();if(0>c){var e=d,f=0;if(this.Dg&&"null"!=this.Dg.zv){var g=this.Ke.hP*this.Dg.duration();isNaN(g)&&(g=0);f=Math.max(0,this.Dg.duration()-g);e-=g}this.yP.Lg(0{ft(a,b.yl())},1E3)}yl(){return 0this.W)throw Error("Current slide is undefined");return this.M.la(this.W)}$d(){if(!this.Td)throw Error("Current slide is undefined");return this.Td}rf(a,b=!0){if(!this.M.la(a).uf())return null;const c= +this.t9;let d=c[a]||null;!d&&b&&(d=gt(this.s9,a),c[a]=d,d.stateChangedEvent().addHandler(this.s7,this),d instanceof qq?d.Ay().addHandler(e=>{this.W==e&&qs(this)}):d instanceof xq?d.Oa().quizPlayerEvent().addHandler(this.U6,this):d instanceof Cq&&d.tb().scenarioPlayerEvent().addHandler(this.c7,this));return d}U6(a){switch(a){case "gotoPreviousSlide":this.vi();break;case "skipQuizSlide":this.sf();break;case "quizFinished":a=this.fa();var b=this.$d();b=Rg(b.Oa());a=Sg(b)?a.nG:a.EE;b=this.fa();const c= +this.$d().Oa(),d=Rg(c);"graded"==d.HG&&Tg(d)&&!Sg(d)&&b.KR()&&c.restartQuiz();(new Lg(this)).EQ(a);break;case "lockPresentationViewMode":this.TV.C();break;case "unlockPresentationViewMode":this.u_.C()}}c7(a){switch(a){case "gotoPreviousSlide":this.vi();break;case "gotoNextSlide":this.sf();break;case "skipScenarioSlide":this.sf();break;case "scenarioRestarted":case "scenarioRestored":this.vU.C(a);break;case "scenarioFinished":a=this.fa();var b=this.$d();a=zq(b.tb()).scenarioPassed()?a.oG:a.FE;(new Wg(this)).EQ(a)}}s7(a){Ps(this, +a)}Il(){return this.fj}vc(){return this.BZ}Mu(){return this.q_}zS(){return this.p_}HQ(){return this.vU}vy(){return this.RB}lS(){return this.xZ}qp(){return this.pm}hX(a){const b=this.Xp,c=this.Gz;c&&b&&b.L==a.index()&&(this.Gz=this.Xp=null,Ts(this.Da,!1,this.jf),c.apply(this,b))}Oa(){return 0>this.W||!(this.fa()instanceof cr)?null:this.$d().Oa()}fb(){return 0>this.W||!(this.fa()instanceof tq)?null:this.$d().fb()}tb(){return 0>this.W||!(this.fa()instanceof Bq)?null:this.$d().tb()}rD(){return this.Ke}lu(){return this.Wa.lu()}t6(a){var b= +this.rf(this.W);b&&(b=b.view(),b instanceof Rn&&b.Ot.C(a,new Mn,!0))}O7(){Gg(this.EN)?(this.N3=this.Y.Kg(),this.pause()):this.N3&&Gi(()=>{this.play()},this,100)}L6(){this.Qj.C()}}Ss.prototype.slideTransitionController=Ss.prototype.rD;Ss.prototype.scenarioPlayer=Ss.prototype.tb;Ss.prototype.interactionPlayer=Ss.prototype.fb;Ss.prototype.quizPlayer=Ss.prototype.Oa;Ss.prototype.playbackCompleteEvent=Ss.prototype.qp;Ss.prototype.stepChangeEvent=Ss.prototype.vy;Ss.prototype.slideChangeEvent=Ss.prototype.vc; +Ss.prototype.currentSlide=Ss.prototype.fa;Ss.prototype.currentSlideIndex=Ss.prototype.ma;Ss.prototype.clock=Ss.prototype.$;Ss.prototype.playbackState=Ss.prototype.playbackState;Ss.prototype.nextSlideIndex=Ss.prototype.fh;Ss.prototype.gotoPreviousStep=Ss.prototype.ju;Ss.prototype.previousSlideIndex=Ss.prototype.gh;Ss.prototype.gotoTimestamp=Ss.prototype.lk;Ss.prototype.gotoNextStep=Ss.prototype.fp;Ss.prototype.gotoPreviousSlide=Ss.prototype.vi;Ss.prototype.gotoNextSlide=Ss.prototype.sf; +Ss.prototype.gotoLastSlide=Ss.prototype.xr;Ss.prototype.gotoFirstSlide=Ss.prototype.wr;Ss.prototype.lastSlideIndex=Ss.prototype.Sm;Ss.prototype.firstSlideIndex=Ss.prototype.Pf;Ss.prototype.gotoLastSlideViewed=Ss.prototype.Lx;Ss.prototype.gotoSlide=Ss.prototype.ue;Ss.prototype.pause=Ss.prototype.pause;Ss.prototype.play=Ss.prototype.play;let ht;function it(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")}function jt(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(ht||(ht={atomic:!1,autocomplete:"none",dropeffect:"none",haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:"vertical",readonly:!1,relevant:"additions text",required:!1,sort:"none",busy:!1,disabled:!1,hidden:!1,invalid:"false"}),c=ht,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)} +function kt(a,b){a=a.getAttribute("aria-"+b);return null==a||void 0==a?"":String(a)};class lt{constructor(a){this.pg=a}ia(a,b,c){c=this.pg.hasOwnProperty(a)?this.pg[a]:c;if(void 0!==c){if(void 0!==b){a=this.JU;for(let d in b)if(b.hasOwnProperty(d)){const e=b[d];a&&(d=a(d));c=c.replace(new RegExp(d,"g"),e)}}return c}Ga("unknown message id: "+a);return a}messages(){return this.pg}JU(a){return"%"+a.toUpperCase()+"%"}}lt.prototype.getMessage=lt.prototype.ia;class mt{constructor(a){this.pa=a;this.vW=!1;this.Db=zd("DIV");mn(this.Db,"framesLayer");this.vh=new C;a.Qe().addHandler(this.KA,this)}KA(a,b,c,d){this.pa.uI()?Gh(this.Db,0,0):Gh(this.Db,c,d);F(this.Db,"pointer-events","none");c="";this.vW||(c="rect(0px,"+a+"px,"+b+"px,0px)");F(this.Db,"clip",c);this.vh.C()}Qe(){return this.vh}position(a,b){const c=this.pa.Fi();return this.yq(c.querySelector("#"+a),c,b||this.scale())}scale(){return this.pa.scale()}yq(a,b,c){let d=new Xc(0,0);if(!a)return d;a=Kh(a); +b=Kh(b);d=ad(a,b);return d=new Xc(d.x/c,d.y/c)}displayObject(){return this.Db}};function nt(a,b){return`${a.className()}_${b}`}function ot(a,b,c){return`${nt(a,b)}_${c}`}function pt(a,b,c){b=jn(b);const d=ot(a,c,"");return Oa(b,e=>0==e.indexOf(d))}class qt{constructor(a,b){this.cK=a;this.Vd=b}className(){return this.Vd?`${this.cK}__${this.Vd}`:this.cK}};var rt=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||setTimeout;function st(a){return"string"!==typeof a.className}function tt(a,b){a.className.baseVal=b}function ut(a){return st(a)?(a=a.className.baseVal,"string"===typeof a&&a.match(/\S+/g)||[]):jn(a)}function vt(a,b){return st(a)?Pa(ut(a),b):ln(a,b)}function wt(a,b){if(st(a)){if(!vt(a,b)){let c=a.className.baseVal;c+=0c!=b).join(" ")):nn(a,b)};class yt extends C{constructor(a){super(a);this.Jz=B(this,new C);this.DL=B(this,new C)}addHandler(a,b,c){super.addHandler(a,b,c);this.Jz.C()}removeHandler(a,b,c){super.removeHandler(a,b,c);this.DL.C()}};let zt;const At=[];if(window.MutationObserver){zt=new MutationObserver(b=>{b&&b.forEach(c=>{for(const d of c.removedNodes)for(const e of At)"function"===typeof d.contains&&d.contains(e.displayObject())&&e.hj(!1)})});const a={subtree:!0,childList:!0};rt(()=>{zt.observe(document.body,a)})}function Bt(a,b){a.Oy.push(b);wt(a.U,b.className())} +function Ct(a){const b=new ResizeObserver(c=>{for(const d of c)void 0!==d.target&&0{1==cf(b)&&Rm(c);x(a,a.U,"mouseover",()=>{a.enabled()&&0{a.hj(!1)})});z(a,b.DL,()=>{0==cf(b)&&Sm(c)});const d=new Ym;z(a,d.VB,(e,f,g)=>{a.hj(!1);a.enabled()&&a.Rp(g);a.Aq&&g.target==a.U&&g.preventDefault()});z(a,d.jP,()=>{a.hj(!0)});z(a,d.kP,()=>{a.enabled()&&a.Jy()});Qm(c,d)} +function Et(a){zt?At.push(a):Ib?x(a,window,"DOMNodeRemoved",b=>{Md(b.target,a.U)&&a.hj(!1)}):x(a,a.U,"DOMNodeRemovedFromDocument",()=>{a.hj(!1)})}function L(a,b,c){F(a.U,b,c)}function M(a,b,c){B(a,b);null!=c?a.Me(b,c):a.O(b)}function Ft(a,b){for(const c of Object.keys(b))F(a.U,c,b[c])}function Gt(a,b){b instanceof qt||(b=new qt(b));Bt(a,b)}function O(a,b){return new qt(a.Oy[0].cK,b)} +function Ht(a,b,c=b){const d=a.U.scrollTop;b=Math.min(0,b-d-a.O_);c=Math.max(0,c-(d+a.U.clientHeight)+a.O_);0!=b?a.U.scrollTop+=b:0!=c&&(a.U.scrollTop+=c)}function It(a,b,c,d){const e=a.ha.bind(a),f=()=>{var g="string"===typeof c?c:c();g=b.ia(g,d&&d());e(g)};z(a,b.og,g=>{const h="string"===typeof c?c:c();g==h&&f()});f();a.WL=f} +class P extends wg{constructor(a){let {ka:b,F:c,K0:d,za:e,Yb:f,OI:g,i0:h,jI:l,zf:n,Cia:m=0,aJ:p,tabIndex:t,K$:w}=a||{};super();e||(e=wd(f||"DIV"));this.U=e;this.Oy=[];if(b||c)b=b||new qt(c,d),Bt(this,b);this.Aq=void 0!==g?g:!0;this.th=this.Na=this.Va=this.Xb=this.Wb=this.vs=void 0;this.O_=m;this.kt=1;this.WL=null;this.VZ={};this.Ra=null;n&&(this.tt=Ct(this));(this.X8=p)&&this.Eh(!1);void 0!==t&&this.oy(t);this.ja=B(this,new yt(this));Dt(this,this.ja);l&&z(this,this.ja,()=>{});w&&Et(this);this.vh= +E(this);if(!1===h){let y=!1;x(this,this.displayObject(),"mousedown",()=>{y=!0});x(this,this.displayObject(),"focusout",D=>{D.target==D.currentTarget&&(y=!1)});x(this,this.displayObject(),"focusin",D=>{y&&D.target==D.currentTarget&&rt(()=>{this.displayObject().blur()})})}}Qe(){return this.vh}focus(){(()=>{this.U.focus()})()}getAttribute(a){return this.U.getAttribute(a)}setAttribute(a,b){(()=>{this.U.setAttribute(a,b)})()}removeAttribute(a){(()=>{this.U.removeAttribute(a)})()}oy(a){this.vs=a;this.vB(a)}xj(a){this.Wb= +a;(()=>{this.U.style.left=a+"px"})()}Tf(a){this.Xb=a;(()=>{this.U.style.top=a+"px"})()}move(a,b){this.xj(a);this.Tf(b)}Kb(a){this.resize(a)}Wc(a){this.resize(void 0,a)}resize(a,b){this.Gw(a,b);void 0!==a&&(this.Va=a);void 0!==b&&(this.Na=b);this.Qa(this.width(),this.height());this.vh.C(this)}qa(a){void 0!==this.vs&&this.vB(a?this.vs:-1);(()=>{a?this.U.removeAttribute("disabled"):this.U.setAttribute("disabled","")})()}J(a){this.Ra=a;(()=>{this.Ra=null;Th(this.U,a)})()}Rf(a){(()=>{L(this,"opacity", +a)})();this.th=a}O(a){const b=this.Nk(a);(()=>{this.U.appendChild(b)})()}Me(a,b){const c=this.Nk(a);this.U==c.parentNode&&this.U.childNodes[b]==c||(()=>{Ed(this.U,c,b)})()}removeChild(a){const b=this.Nk(a);this.tf(b)&&(()=>{this.U.removeChild(b)})()}tp(){(()=>{Cd(this.U)})()}ha(a){(()=>{Nd(this.U,a)})()}wp(a){(()=>{this.U.innerHTML=a})()}SR(a){(()=>{this.U.id=a})()}vp(a){this.wf("label",a)}vf(a){Array.isArray(a)&&(a=a.join(" "));(()=>{it(this.U,a)})()}vk(a){this.wf("hidden",a)}wf(a,b){(()=>{jt(this.U, +a,b)})()}X(a,b){if(this.Oy.length)for(const c of this.Oy)if("string"===typeof b){const d=pt(c,this.U,a);d&&(delete this.VZ[a],(()=>{xt(this.U,d)})());if(b){const e=ot(c,a,b);this.VZ[a]=e;(()=>{wt(this.U,e)})()}}else{const d=nt(c,a);(()=>{var e=this.U,f=d;b?mn(e,f):nn(e,f)})()}else(()=>{var c=this.U;b?mn(c,a):nn(c,a)})(),Ga("component has no bemInfo")}OC(a){const b=this.Oy[0];a=b?nt(b,a):a;return vt(this.U,a)}Eh(a){this.wf("selected",a)}selected(){return"true"==kt(this.U,"selected")}xb(){this.Qa(this.width(), +this.height());this.vh.C()}tf(a){return this.Nk(a).parentNode==this.displayObject()}x(){return void 0!==this.Wb?this.Wb:Ih(this.displayObject()).x}y(){return void 0!==this.Xb?this.Xb:Ih(this.displayObject()).y}width(){return void 0!==this.Va?this.Va:this.wL()}height(){return void 0!==this.Na?this.Na:this.vL()}enabled(){return!this.U.hasAttribute("disabled")}visible(){return"boolean"===typeof this.Ra?this.Ra:"none"!=this.displayObject().style.display}opacity(){if(void 0!==this.th)return this.th;const a= +Sh(this.U);return"number"===typeof a?a:1}displayObject(){return this.U}setScale(a,b="0 0"){(()=>{wn(this.U,a,a);yi(this.U,b)})()}setParentScale(a){this.kt=a;this.GA()}contains(a){if(!a)return!1;a=this.Nk(a);return Md(this.U,a)}ks(a){(a instanceof Node||"function"===typeof a.displayObject)&&this.removeChild(a);super.ks(a)}Nk(a){return a instanceof Node?a:a.displayObject()}wL(){const a=this.U;return a.tagName.toUpperCase()=="SVG".toString()?a.width.baseVal.value:Vh(a).width}vL(){const a=this.U;return a.tagName.toUpperCase()== +"SVG".toString()?a.height.baseVal.value:Vh(a).height}Gw(a,b){(()=>{void 0!==a&&Oh(this.U,a);void 0!==b&&Ph(this.U,b)})()}Qa(){}GA(){}Rp(a){this.ja.C(this,a)}Jy(){this.X("active",!0)}hj(){this.X("active",!1)}Ky(){x(this,this.U,"keydown",this.ZM,this)}ZM(a){document.activeElement!=this.displayObject()||a.defaultPrevented||13!=a.keyCode&&32!=a.keyCode||(a.preventDefault(),this.Rp())}vB(a){(()=>{this.setAttribute("tabindex",a+"")})()}vd(){this.tt&&this.tt.disconnect();const a=At.indexOf(this);0<=a&&At.splice(a, +1)}};function Jt(a){Jd(a)?this.fs=this.U=a:(this.U=wd("DIV",Kt("component_container",a)),this.fs=this.KT(Kt("component_base",a)),this.U.appendChild(this.fs));this.Wd=[];this.Aq=!1;if(jj){const b=new Pm(this.wy());this.ja=new yt;this.ja.Jz.addHandler(function(){1==cf(this.ja)&&Rm(b)},this);this.ja.DL.addHandler(function(){0==cf(this.ja)&&Sm(b)},this);a=new Ym;a.VB.addHandler(function(c,d,e){this.hj(!1);this.Aq&&e.preventDefault();this.enabled()&&this.Rp(e)},this);a.jP.addHandler(function(){this.hj(!0)}, +this);a.kP.addHandler(function(){this.enabled()&&this.Jy()},this);Qm(b,a)}else this.Aq=!0,this.ja=new yt,this.ja.Jz.addHandler(function c(){this.ja.Jz.removeHandler(c,this);var d=ve(this.wy(),"mouseover",function(){this.enabled()&&0{for(const b of a)void 0!==b.target&&(a=b.contentRect,this.Va=a.width,this.Na=a.height,this.Qa(a.width,a.height),this.vh.C(this))});this.tt.observe(this.U);this.Qa(parseInt(this.U.style.width,10),parseInt(this.U.style.height,10));this.vh.C(this)};k.Jy=function(){this.X("active",!0)};k.hj=function(){this.X("active",!1)};k.za=function(){return this.fs};Jt.prototype.baseElement=Jt.prototype.za;Jt.prototype.displayObject=function(){return this.U}; +Jt.prototype.displayObject=Jt.prototype.displayObject;k=Jt.prototype;k.width=function(){return void 0!==this.Va?this.Va:this.wL(this.za())};k.wL=function(a){return"SVG"==a.tagName.toUpperCase()?a.width.baseVal.value:Vh(a).width};k.Kb=function(a){this.resize(a)};k.height=function(){return void 0!==this.Na?this.Na:this.vL(this.za())};k.vL=function(a){return"SVG"==a.tagName.toUpperCase()?a.height.baseVal.value:Vh(a).height};k.Wc=function(a){this.resize(void 0,a)}; +k.resize=function(a,b){if(void 0!==this.tt)throw Error("ResizeObserver is turned on");this.Gw(a,b);void 0!==a&&(this.Va=a);void 0!==b&&(this.Na=b);this.vh.C(this)};k.Gw=function(a,b){void 0!==a&&(Oh(this.displayObject(),a),Oh(this.za(),a));void 0!==b&&(Ph(this.displayObject(),b),Ph(this.za(),b));void 0!==a&&void 0!==b&&this.Qa(a,b)};k.Qa=function(){};k.x=function(){return void 0!==this.Wb?this.Wb:Ih(this.displayObject()).x};k.xj=function(a){this.Wb=a;this.displayObject().style.left=a+"px"}; +k.y=function(){return void 0!==this.Xb?this.Xb:Ih(this.displayObject()).y};k.Tf=function(a){this.Xb=a;this.displayObject().style.top=a+"px"};k.move=function(a,b){this.xj(a);this.Tf(b)};k.enabled=function(){return!this.za().hasAttribute("disabled")};k.qa=function(a){void 0!==this.vs&&this.vB(a?this.vs:-1);a?this.za().removeAttribute("disabled"):this.za().setAttribute("disabled","")};k.visible=function(){return"none"!=this.displayObject().style.display};k.J=function(a){Th(this.displayObject(),a)}; +k.opacity=function(){return this.th};k.Rf=function(a){Lt(this,"opacity",a);this.th=a};k.O=function(a){a=this.Nk(a);this.displayObject().appendChild(a)};k.Me=function(a,b){a=this.Nk(a);Ed(this.displayObject(),a,b)};k.removeChild=function(a){a=this.Nk(a);this.tf(a)&&this.displayObject().removeChild(a)};k.tp=function(){const a=this.displayObject();for(;a.firstChild;)a.removeChild(a.firstChild)};k.tf=function(a){return(a instanceof Jt?a.displayObject():a).parentNode==this.displayObject()}; +k.ha=function(a){Nd(this.za(),a)};k.wp=function(a){this.za().innerHTML=a};function Lt(a,b,c){F(a.displayObject(),b,c)}k.vp=function(a){this.wf("label",a)};k.vf=function(a){Array.isArray(a)&&(a=a.join(" "));it(this.BH?this.fs:this.U,a)};k.vk=function(a){this.wf("hidden",a)};k.wf=function(a,b){jt(this.BH?this.fs:this.U,a,b)};k.KT=function(a){return wd("DIV",a)};function Kt(a,b){return void 0===b?a:b instanceof Array?(b=Ua(b),b.push(a),b):[a,b]} +k.X=function(a,b){a=this.ZJ?nt(this.ZJ,a):a;var c=this.U;b?mn(c,a):nn(c,a);this.U!=this.fs&&(c=this.fs,b?mn(c,a):nn(c,a))};k.OC=function(a){a=this.ZJ?nt(this.ZJ,a):a;return ln(this.U,a)};k.Ky=function(){ve(this.displayObject(),"keydown",this.ZM,!1,this)};k.ZM=function(a){document.activeElement!=this.displayObject()||a.defaultPrevented||13!=a.keyCode&&32!=a.keyCode||(a.preventDefault(),this.Rp(null))};k.vB=function(a){this.setAttribute("tabindex",a+"")}; +k.gd=function(){for(let a=0;a{d.stopPropagation();c= +this.ZD.url();Ri(c)},this);F(this.displayObject(),"z-index","1000")}Ya(){return this.hs}displayObject(){return this.Ri.displayObject()}};function Rt(){this.yE=new C;this.A3=new C;this.hU=new C;this.fU=new C}k=Rt.prototype;k.wv=!1;k.vv=!1;k.jH=null;k.$A=null;k.Hx=function(){return"drag"};k.nI=function(a,b){if(1==b.touches().length){if("touchStart"==a)return this.wv&&(this.vv=this.wv=!1),this.vv=!1,1;if("touchMove"==a&&this.vv)return 1}this.wv&&(this.vv=this.wv=!1,this.fU.C(this.$A.x,this.$A.y));return 0}; +k.WH=function(a){a=new Xc(a.touches()[0].clientX(),a.touches()[0].clientY());this.vv?(a=ad(a,this.jH),Yc(a,this.$A)||(this.wv||(this.wv=!0,this.hU.C(this.jH.x,this.jH.y)),this.$A=a,this.yE.C(a.x,a.y))):(this.vv=!0,this.jH=a,this.$A=new Xc,this.A3.C())};k.nr=function(){};function St(){this.K8=new C;this.Lw=new C;this.XY=new C;this.yE=new C;this.fA=null;this.tO=!1}k=St.prototype;k.gA=-1;k.$E=0;k.Hx=function(){return"scale"};k.nI=function(a,b){a=2==b.touches().length;const c=!a&&0c.x&&0>d.x||0c.y&&0>d.y||0=Math.abs(a.y-b.y)};Vt.prototype.J_=function(a,b){const c=b.x-a.x;return 40=Math.abs(a.y-b.y)};function Wt(){this.pB=new C}r(Wt,Ut);Wt.prototype.Hx=function(){return"scrollRight"};Wt.prototype.L_=function(a,b){return a.x>=b.x};Wt.prototype.K_=function(a,b){return a.x-b.x>=Math.abs(a.y-b.y)}; +Wt.prototype.J_=function(a,b){const c=a.x-b.x;return 40=Math.abs(a.y-b.y)};function Xt(){He.call(this);this.Yc=Yt;this.endTime=this.startTime=null}r(Xt,He);var Yt=0;Xt.prototype.mp=function(){this.Ch("begin")};Xt.prototype.Hl=function(){this.Ch("end")};Xt.prototype.Ch=function(a){this.dispatchEvent(a)};function Zt(a,b,c){Yd.call(this);this.dR=a;this.Rx=b||0;this.Mx=c;this.aaa=ta(this.zaa,this)}r(Zt,Yd);k=Zt.prototype;k.PC=0;k.pf=function(){Zt.Mb.pf.call(this);this.stop();delete this.dR;delete this.Mx};k.start=function(a){this.stop();this.PC=kh(this.aaa,void 0!==a?a:this.Rx)};k.stop=function(){this.isActive()&&ia.clearTimeout(this.PC);this.PC=0};k.isActive=function(){return 0!=this.PC};k.zaa=function(){this.PC=0;this.dR&&this.dR.call(this.Mx)};var oc={},$t=null;function au(a){a=ma(a);delete oc[a];nc()&&$t&&$t.stop()}function bu(){$t||($t=new Zt(function(){cu()},20));var a=$t;a.isActive()||a.start()}function cu(){var a=wa();fc(oc,function(b){du(b,a)});nc()||bu()};function eu(a,b,c,d){Xt.call(this);if(!Array.isArray(a)||!Array.isArray(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.tD=a;this.Eaa=b;this.duration=c;this.c0=d;this.coords=[];this.AD=!1;this.progress=0}r(eu,Xt);k=eu.prototype; +k.play=function(a){if(a||this.Yc==Yt)this.progress=0,this.coords=this.tD;else if(1==this.Yc)return!1;au(this);this.startTime=a=wa();-1==this.Yc&&(this.startTime-=this.duration*this.progress);this.endTime=this.startTime+this.duration;this.progress||this.mp();this.Ch("play");-1==this.Yc&&this.Ch("resume");this.Yc=1;var b=ma(this);b in oc||(oc[b]=this);bu();du(this,a);return!0};k.stop=function(a){au(this);this.Yc=Yt;a&&(this.progress=1);fu(this,this.progress);this.Ch("stop");this.Hl()}; +k.pause=function(){1==this.Yc&&(au(this),this.Yc=-1,this.Ch("pause"))};k.Lg=function(a){this.progress=a;1==this.Yc&&(this.startTime=wa()-this.duration*this.progress,this.endTime=this.startTime+this.duration)};k.pf=function(){this.Yc==Yt||this.stop(!1);this.C1();eu.Mb.pf.call(this)};k.destroy=function(){this.gd()}; +function du(a,b){bthis.lH&&(ku(this),this.lH=this.hq);lu(this,Vc(this.lH*a,1,4))};k.L7=function(){this.lH=-1};k.J7=function(a,b){1b.ie().Mc())}function su(a){return new ru(a,b=>b.Dd().Mc())}function tu(a,b,c){return pu(a.Pq[b]||[],a.Pq[c]||[])}class ru{constructor(a,b){this.Pq=[];for(let e=0;e{var c=a.$e.Rr();c.Fe()&&c.xE(c.n9)&&c.G.settings().navigation().Um().enabled()&&c.B.fa().nC()&&xu(c)});z(a,Xm(b,"scrollRight").pB,()=>{var c=a.$e.Rr();c.Fe()&&c.xE(c.o9)&&c.G.settings().navigation().Um().enabled()&&c.B.fa().nC()&&c.rc.vi()});Rm(b);if(Hj){const c=new Ym;z(a,c.VB,a.f6,a);z(a,c.eU,a.e6,a);Qm(b,c)}return b} +function yu(a){var b=Hd(a.Ve.displayObject());if(b.length)for(const c of b)ln(c,"framesLayerContent")&&(b=c,b.setAttribute("data-width",a.Va),b.setAttribute("data-height",a.Na))}function zu(a){var b=a.B;-1!=b.ma()&&(b=b.$d().view(),b instanceof Aq&&b.tb().setParentScale(a.ra),uj||(b instanceof wq?b.Oa().resize(a.Va,a.Na):b instanceof sq&&b.fb().resize(a.Va,a.Na)))}function Au(a,b,c){for(let d=0;d{null!=e.id&&0{let m=16*Math.random()|0;return("x"==n?m:m&3|8).toString(16)}));let f;if(kc(a.ML,e.id)){var g=v(a.ML,e.id);f=g.transform.clone();var h=g.origin.clone();var l=g.width;g=g.height}else f=sn(e),null===f&&(f=new gm),h=tn(e),null===h&&(h=new Xc), +yi(e,h.x+"px "+h.y+"px"),l=parseFloat(e.getAttribute("width")),g=parseFloat(e.getAttribute("height")),pc(a.ML,e.id,{transform:f.clone(),origin:h.clone(),width:l,height:g});g*=a.ra;Oh(e,l*a.ra);Ph(e,g);l=1/a.ra;g=1/a.ra;h=ad(new Xc,h);h=new gm(l,0,0,g,h.x-l*h.x,h.y-g*h.y);on(e,hm(f,h))},a)}}function Hu(a){a.Sh&&(Fd(a.Sh),a.Sh=null)} +class Iu extends wg{constructor({Ca:a,dca:b,yI:c,pJ:d,Fi:e,tr:f,wa:g,lJ:h,V:l,kda:n}){super();this.G=a;this.$e=b;this.Ga=c;this.rl=d;this.Je=e;this.Ve=f;this.fg=g;this.Gt=h;uu(this);this.Va=a.slideWidth();this.Na=a.slideHeight();this.ra=1;this.Mk=vu(this);const {width:m,height:p}=this.ni();b=new iu(this.Ga,this.Mk,m,p);ju(b,!1);z(this,b.Lw,this.L8,this);this.UP=b;this.QG=E(this);this.Gc=null;this.oF=!1;this.B=l;this.Ke=n;this.ML={};this.Zk=!1;this.Sh=null;a=a.slides();this.Qq=qu(a)}width(){return this.Va}height(){return this.Na}scale(){return this.ra}resize(a, +b){this.Va=a;this.Na=b;Nh(this.Ga,a,b);var c=this.UP;c.xc=nu(c,bd(c.xc,new Xc((a-c.KH)/2,(b-c.JH)/2)));c.KH=a;c.JH=b;c.bT=Math.min(a/c.zg,b/c.yg,c.D5);lu(c,c.hq);yu(this);zu(this)}B1(a){var b=this.B,c=this.Gc?this.Gc.index():-1;const d=b.ma();this.Gc=0<=d?b.fa():null;b=this.Gc instanceof cr;const e=this.Gc instanceof tq,f=this.Gc instanceof Bq;this.oF=(this.Ve.vW=b)||e||f;this.rl.style.opacity=this.oF?"0":"";this.Rt();a&&F(a.displayObject(),"display",f?"none":"");a=tu(this.Qq,c,d);c=tu(this.Qq,d, +c);Au(this,a,!1);Au(this,c,!0);this.Zk&&(Cu(this,a),Du(this,c));yu(this);Eu(this)}g0(a){lu(this.UP,1);Fu(this);zu(this);Gu(this);var b=this.B;-1!=b.ma()&&void 0!==a&&(b=(b=b.$d())&&b.view(),b instanceof wq?b.Oa().setBannerView(a.displayObject()):b instanceof sq?b.fb().setBannerView(a.displayObject()):b instanceof Aq&&b.tb().setBannerView(a.displayObject()))}setOverlayDisplayed(a){if(this.Zk!=a){this.Zk=a;if(this.Gc){var b=this.Gc.index();b=this.Qq.Pq[b]||[];a?Du(this,b):Cu(this,b);(b=this.B.Oa())&& +b.setOverlayDisplayed(a)}Eu(this)}}qI(a){this.Je.style.display="";this.rl.style.display="";Ju(a);Fu(this)}uI(){return this.oF}gV(){const a=this.Ga;a.setAttribute("role","main");a.setAttribute("aria-live","polite");a.style.overflow="hidden";Nh(a,this.ni().width,this.ni().height);ah&&(a.style["-webkit-text-size-adjust"]="none")}jV(){const a=this.rl;Ld(a)||Ed(this.Ga,this.rl,0);a.style.display="none";const {width:b,height:c}=this.ni();Nh(a,b-2,c-2);Gh(a,1,1)}kV(){const a=this.Je;a.removeAttribute("class"); +a.style.overflow="hidden";a.style.position="absolute";Nh(a,this.ni().width,this.ni().height);yi(a,"0 0")}eV(){const a=this.Ve.displayObject();F(a,"z-index","2");Ld(a)||this.Ga.appendChild(a)}fV(){Ld(this.fg)||this.Je.appendChild(this.fg)}hV(){nn(this.Gt,"slide-displays-parent")}e6(a,b,c){a=c.target;a instanceof HTMLVideoElement&&a.controls?c.stopPropagation():Md(this.Je,a)&&(c.preventDefault(),c=this.$e.Rr(),c.xE(c.m9))}f6(a,b,c){Si(c.target)||(a=c.target,a instanceof HTMLVideoElement&&a.controls? +c.stopPropagation():Md(this.Je,a)&&(c.preventDefault(),rq(this.$e.Rr(),this,c)))}L8(a,b,c){b=Math.round(b);c=Math.round(c);var d=this.G.slideWidth(),e=this.G.slideHeight();d*=a;e*=a;const f=this.ra!=a;f&&(this.ra=a,wn(this.Je,a),Ku(this.$e.me,this.ra),zu(this),Gu(this),Nh(this.rl,d-2,e-2));Gh(this.Je,b,c);Gh(this.rl,b+1,c+1);this.QG.C(d,e,b,c);f&&Ii&&yn(this.Ga)}ni(){return new cd(this.G.slideWidth(),this.G.slideHeight())}Rt(){Hu(this);0<=this.B.ma()&&(this.HP()||this.EP()||this.IP())}HP(){if(this.B.fa()instanceof +cr){const a=this.B.Oa();a.setOverlayDisplayed(this.Zk);uj||(this.Sh=a.skin().displayObject(),this.Ga.appendChild(this.Sh));return!0}return!1}EP(){if(this.B.fa()instanceof tq){const a=this.B.fb();a.setOverlayDisplayed(this.Zk);uj||(this.Sh=a.displayObject(),this.Ga.appendChild(this.Sh));return!0}return!1}IP(){this.B.fa()instanceof Bq&&this.B.tb().setOverlayDisplayed(this.Zk)}vd(){super.vd();Sm(this.Mk);Hu(this)}};class Lu extends wg{constructor({Ca:a,V:b,yI:c,pJ:d,Fi:e,tr:f,wa:g,lJ:h}){super();this.G=a;this.B=b;this.Ga=c;this.rl=d;this.Je=e;this.Ve=f;this.fg=g;this.Gt=h;this.QG=E(this);this.Sh=null;uu(this);z(this,this.B.HQ(),this.Rt,this)}width(){return 0}height(){return 0}scale(){return 1}resize(){}B1(a){a&&F(a.displayObject(),"display","");this.Rt();this.QG.C()}g0(){}setOverlayDisplayed(){}qI(){Th(this.Je,!0)}uI(){return!1}gV(){this.Ga.removeAttribute("role");this.Ga.removeAttribute("aria-live");this.Ga.removeAttribute("style")}jV(){Fd(this.rl)}kV(){this.Je.removeAttribute("style"); +mn(this.Je,"slides-container")}eV(){Fd(this.Ve.displayObject())}fV(){Fd(this.fg)}hV(){mn(this.Gt,"slide-displays-parent")}Rt(){Hu(this);0<=this.B.ma()&&(this.HP()||this.EP()||this.IP())}HP(){return this.B.fa()instanceof cr?(this.Sh=this.B.Oa().skin().displayObject(),this.Ga.appendChild(this.Sh),!0):!1}EP(){return this.B.fa()instanceof tq?(this.Sh=this.B.fb().displayObject(),this.Ga.appendChild(this.Sh),!0):!1}IP(){this.B.fa()instanceof Bq&&(this.Sh=this.B.tb().displayObject(),this.Ga.appendChild(this.Sh))}vd(){super.vd(); +Hu(this)}};class Mu{constructor(a){this.Ck=a}create(a){switch(a){case "normal":return new Iu(this.Ck);case "accessible":return new Lu({Ca:this.Ck.Ca,V:this.Ck.V,yI:this.Ck.yI,pJ:this.Ck.pJ,Fi:this.Ck.Fi,tr:this.Ck.tr,wa:this.Ck.wa,lJ:this.Ck.lJ});default:throw Error("unknown presentation view mode");}}};var Nu={xha:"switchToNextSlide",zha:"switchToPreviousSlide",Nda:"arbitrarySlideSwitching",eha:"slideShowControl",yha:"switchToNextStep",Aha:"switchToPreviousStep",Xfa:"playPauseControl",fga:"presentationSeeking",dha:"slideSeeking",rga:"quizSwitchToNextSlide",sga:"quizSwitchToNextSlideWithoutBranching",pga:"quizArbitrarySlideSwitching",Oga:"scenarioSwitchToNextSlide",Pga:"scenarioSwitchToNextSlideWithoutBranching",Mga:"ScenarioArbitrarySlideSwitching"}; +q("ispring.presenter.player.restriction.NavigationActionType",Nu);function Ou(){return"switchToNextSlide switchToPreviousSlide arbitrarySlideSwitching slideShowControl switchToNextStep switchToPreviousStep playPauseControl presentationSeeking slideSeeking".split(" ")}Nu.all=Ou;q("SWITCH_TO_NEXT_SLIDE","switchToNextSlide",Nu);q("SWITCH_TO_PREVIOUS_SLIDE","switchToPreviousSlide",Nu);q("ARBITRARY_SLIDE_SWITCHING","arbitrarySlideSwitching",Nu);q("SLIDE_SHOW_CONTROL","slideShowControl",Nu); +q("SWITCH_TO_NEXT_STEP","switchToNextStep",Nu);q("SWITCH_TO_PREVIOUS_STEP","switchToPreviousStep",Nu);q("PLAY_PAUSE_CONTROL","playPauseControl",Nu);q("PRESENTATION_SEEKING","presentationSeeking",Nu);q("SLIDE_SEEKING","slideSeeking",Nu);class Pu{constructor(a,b){this.Ha=a;this.x8=b}type(){return this.Ha}Pd(){return this.x8}}Pu.prototype.relatedSlideIndex=Pu.prototype.Pd;Pu.prototype.type=Pu.prototype.type;class Qu{constructor(a,b,c,d,e,f){this.Q5=a;this.D8=b;this.C8=c;this.Ld=null!=d?d:null;this.Mf=e||null;this.Tw=f||null}lR(){return this.Q5}up(){return this.D8}rd(){return this.C8}Pd(){return this.Ld}yca(){return this.Mf}xca(){return this.Tw}}Qu.prototype.relatedSlideShow=Qu.prototype.xca;Qu.prototype.relatedTimestamp=Qu.prototype.yca;Qu.prototype.relatedSlideIndex=Qu.prototype.Pd;Qu.prototype.restrictionReason=Qu.prototype.rd;Qu.prototype.restrictionSource=Qu.prototype.up; +Qu.prototype.navigationAction=Qu.prototype.lR;var Ru={vea:"currentSlideIsLocked",wea:"currentSlideIsNotCompleted",sea:"currentSlideIsFirstSlide",uea:"currentSlideIsLastSlide",tea:"currentSlideIsInteraction",Qda:"backwardNavigationIsRestricted",Yea:"forwardNavigationIsRestricted",gga:"presentationSeekingDisabled",qfa:"interactionNotCompleted",$fa:"precedingQuizNotPassed",Zfa:"precedingQuizNotCompleted",Yfa:"precedingQuizFailed",bga:"precedingScenarioNotCompleted",cga:"precedingScenarioNotPassed",aga:"precedingScenarioFailed"}; +q("ispring.presenter.player.restriction.NavigationRestrictionReasonType",Ru);q("CURRENT_SLIDE_IS_LOCKED","currentSlideIsLocked",Ru);q("CURRENT_SLIDE_IS_NOT_COMPLETED","currentSlideIsNotCompleted",Ru);q("CURRENT_SLIDE_IS_LAST_SLIDE","currentSlideIsLastSlide",Ru);q("CURRENT_SLIDE_IS_FIRST_SLIDE","currentSlideIsFirstSlide",Ru);q("BACKWARD_NAVIGATION_IS_RESTRICTED","backwardNavigationIsRestricted",Ru);q("FORWARD_NAVIGATION_IS_RESTRICTED","forwardNavigationIsRestricted",Ru); +q("PRESENTATION_SEEKING_DISABLED","presentationSeekingDisabled",Ru);q("PRECEDING_QUIZ_NOT_PASSED","precedingQuizNotPassed",Ru);q("PRECEDING_QUIZ_NOT_COMPLETED","precedingQuizNotCompleted",Ru);q("PRECEDING_QUIZ_FAILED","precedingQuizFailed",Ru);q("PRECEDING_SCENARIO_NOT_COMPLETED","precedingScenarioNotCompleted",Ru);q("PRECEDING_SCENARIO_FAILED","precedingScenarioFailed",Ru);q("PRECEDING_SCENARIO_NOT_PASSED","precedingScenarioNotPassed",Ru);var Su={ega:"presentationNavigationType",cha:"slideNavigationSettings",qga:"quizNavigationSettings",Nga:"scenarioNavigationSettings",dga:"presentationFlow"};q("ispring.presenter.player.restriction.NavigationRestrictionSource",Su);q("PRESENTATION_NAVIGATION_TYPE","presentationNavigationType",Su);q("SLIDE_NAVIGATION_SETTINGS","slideNavigationSettings",Su);q("PRESENTATION_FLOW","presentationFlow",Su);function Q(a,b){this.B=a;this.G=b;this.qW=new C}Q.prototype.rf=function(a){return this.B.rf(a)}; +Q.prototype.nf=function(a,b,c,d){const e={};var f;a:{if(Tu(this,a)){if((f=-1==this.B.fh())&&!(f=this.fa().pj().kp())&&(f=!this.G.settings().Vc().Tm())){var g=this.B,h=g.Y.timestamp();f=h.Ba();h=h.ib();g=g.Td.sb();f=f==g.count()-1?g.sc(f):null;f=null!==f&&h>=f.duration()}if(f){f=new Pu("currentSlideIsLastSlide");break a}}else if(Uu(this,a)&&-1==this.B.gh()&&(f=this.B.$().timestamp(),0==f.Ba()&&0==f.ib()||this.fa().pj().ey())){f=new Pu("currentSlideIsFirstSlide");break a}f=null}e.presentationFlow=f; +"quizSwitchToNextSlide"!=a&&"quizSwitchToNextSlideWithoutBranching"!=a&&"scenarioSwitchToNextSlide"!=a&&"scenarioSwitchToNextSlideWithoutBranching"!=a&&(e.presentationNavigationType=Vu(this,a,b));f="quizSwitchToNextSlideWithoutBranching"==a||"scenarioSwitchToNextSlideWithoutBranching"==a?ws(this.B):this.B.fh();e.quizNavigationSettings=Wu(this,a,b,f);e.scenarioNavigationSettings=Xu(this,a,b,f);f="playPauseControl"!=a||Tu(this,a)?(f=0<=this.B.ma()?this.B.fa():null)?f.ou().q1(a)?null:new Pu("currentSlideIsLocked"): +null:null;e.slideNavigationSettings=f;h=f=null;for(const l in e)e.hasOwnProperty(l)&&(g=e[l])&&(f=l,h=g);return null!==f?new Qu(a,f,h,b,c,d):null};Q.prototype.checkNavigationRestriction=Q.prototype.nf; +function Vu(a,b,c){const d=a.B,e=a.G.settings().navigation().navigationType(),f=0<=d.ma()?d.fa():null;if(!f)return null;{const l=a.B;var g=0<=l.ma()?l.fa():null;if(g){var h=a.G.slides();switch(b){case "arbitrarySlideSwitching":g=h.la(c);break;case "switchToNextSlide":case "switchToNextStep":case "playPauseControl":Tu(a,b)&&(c=l.fh(),0<=c?g=h.la(c):(c=!!a.fa().pj().kp(),a.G.settings().Vc().Tm()&&!c&&(g=h.la(a.Pf()))));break;case "switchToPreviousSlide":case "switchToPreviousStep":Uu(a,b)&&(a=l.gh(), +0<=a&&(g=h.la(a)));break;case "presentationSeeking":g=null}h=g}else h=null}if(h==f)return null;if(!h)return"presentationSeeking"==b&&"free"!=e?new Pu("presentationSeekingDisabled"):null;switch(e){case "restricted":if(h.Dy())break;if(h.index()!=d.fh()&&h.index()!=d.gh())return new Pu("forwardNavigationIsRestricted");if("slide"==f.type()&&!f.completed())return new Pu("currentSlideIsNotCompleted");break;case "sequential":if(h.index()!=d.fh()&&(0!=h.index()||"switchToNextSlide"!=b))return h.Dy()?new Pu("backwardNavigationIsRestricted"): +new Pu("forwardNavigationIsRestricted");if("slide"==f.type()&&!f.completed())return new Pu("currentSlideIsNotCompleted")}return null} +function Wu(a,b,c,d){Tu(a,b)?c=d:Uu(a,b)&&(c=a.gh());if(void 0===c)return null;d=a.B.$d().view();if((d instanceof wq||d instanceof sq)&&!d.ty()&&c!=a.B.ma())return new Pu("interactionNotCompleted");if(!(0=a.ib()}return!1}function $u(a,b,c,d){return(b=a.nf(b,c,d,null))?(a.qW.C(b),!1):!0}Q.prototype.play=function(){$u(this,"playPauseControl",this.B.ma(),null)&&this.B.play()};Q.prototype.play=Q.prototype.play;Q.prototype.pause=function(){$u(this,"playPauseControl",this.B.ma(),null)&&this.B.pause()};Q.prototype.pause=Q.prototype.pause; +Q.prototype.ue=function(a,b){$u(this,"arbitrarySlideSwitching",a,null)&&this.B.ue(a,b)};Q.prototype.gotoSlide=Q.prototype.ue;Q.prototype.Lx=function(a){const b=this.B.wI();-1!=b&&$u(this,"arbitrarySlideSwitching",b,null)&&this.B.Lx(a)};Q.prototype.gotoLastSlideViewed=Q.prototype.Lx;Q.prototype.wr=function(a){$u(this,"arbitrarySlideSwitching",this.B.Pf(),null)&&this.B.wr(a)};Q.prototype.gotoFirstSlide=Q.prototype.wr;Q.prototype.xr=function(a){$u(this,"arbitrarySlideSwitching",this.B.Sm(),null)&&this.B.xr(a)}; +Q.prototype.gotoLastSlide=Q.prototype.xr;Q.prototype.sf=function(a){$u(this,"switchToNextSlide",this.B.fh(),null)&&this.B.sf(a)};Q.prototype.gotoNextSlide=Q.prototype.sf;Q.prototype.vi=function(a){$u(this,"switchToPreviousSlide",this.B.gh(),null)&&this.B.vi(a)};Q.prototype.gotoPreviousSlide=Q.prototype.vi;Q.prototype.fp=function(){$u(this,"switchToNextStep",this.B.ma(),null)&&this.B.fp()};Q.prototype.gotoNextStep=Q.prototype.fp; +Q.prototype.ju=function(){$u(this,"switchToPreviousStep",this.B.ma(),null)&&this.B.ju()};Q.prototype.gotoPreviousStep=Q.prototype.ju;Q.prototype.lk=function(a,b,c,d){$u(this,a==this.B.ma()?"slideSeeking":"presentationSeeking",a,new gf(a,b,c))&&this.B.lk(a,b,c,d)};Q.prototype.gotoTimestamp=Q.prototype.lk;Q.prototype.Pf=function(){return this.B.Pf()};Q.prototype.firstSlideIndex=Q.prototype.Pf;Q.prototype.Sm=function(){return this.B.Sm()};Q.prototype.lastSlideIndex=Q.prototype.Sm;Q.prototype.fh=function(){return this.B.fh()}; +Q.prototype.nextSlideIndex=Q.prototype.fh;Q.prototype.gh=function(){return this.B.gh()};Q.prototype.previousSlideIndex=Q.prototype.gh;Q.prototype.ma=function(){return this.B.ma()};Q.prototype.currentSlideIndex=Q.prototype.ma;Q.prototype.fa=function(){return this.B.fa()};Q.prototype.currentSlide=Q.prototype.fa;Q.prototype.playbackState=function(){return this.B.playbackState()};Q.prototype.playbackState=Q.prototype.playbackState;Q.prototype.$=function(){return this.B.$()};Q.prototype.clock=Q.prototype.$; +Q.prototype.vc=function(){return this.B.vc()};Q.prototype.slideChangeEvent=Q.prototype.vc;Q.prototype.vy=function(){return this.B.vy()};Q.prototype.stepChangeEvent=Q.prototype.vy;k=Q.prototype;k.lS=function(){return this.B.lS()};k.Mu=function(){return this.B.Mu()};k.HQ=function(){return this.B.HQ()};k.zS=function(){return this.B.zS()};k.qp=function(){return this.B.qp()};Q.prototype.playbackCompleteEvent=Q.prototype.qp;Q.prototype.Yx=function(){return this.qW}; +Q.prototype.navigationRestrictedEvent=Q.prototype.Yx;Q.prototype.AR=function(){return this.B.AR()};Q.prototype.$d=function(){return this.B.$d()};Q.prototype.Oa=function(){return this.B.Oa()};Q.prototype.quizPlayer=Q.prototype.Oa;Q.prototype.tb=function(){return this.B.tb()};Q.prototype.scenarioPlayer=Q.prototype.tb;Q.prototype.fb=function(){return this.B.fb()};Q.prototype.rD=function(){return this.B.rD()};Q.prototype.slideTransitionController=Q.prototype.rD;k=Q.prototype;k.lu=function(){return this.B.lu()}; +k.pS=function(a,b){this.B.pS(a,b)};k.uD=function(a){this.B.uD(a)};k.BQ=function(){this.B.BQ()};k.JR=function(){this.B.JR()};k.Il=function(){return this.B.Il()};function Ju(a){a.Yu.forEach(b=>b.displayObject().style.display="")}function av(a,b){a.Yu.push(b);b=b.displayObject();yi(b,"0 0");Ed(a.pa.displayObject(),b,0)}function bv(a){a.Yu.forEach(b=>b.displayObject().style.display="none")}function cv(a,b){a.Yu.forEach(c=>Ed(b,c.displayObject(),0))}function dv(a,b){a.Yu.forEach(c=>b(c))} +class ev extends wg{constructor(a){super();this.pa=a;this.Yu=[];z(this,this.pa.Qe(),this.HA,this)}HA(a,b,c,d){for(const f of this.Yu){a=f;b=c;var e=d;const g=a.displayObject(),h=this.pa.scale();wn(g,h);const [l,n]="accessible"==this.pa.Ib?[0,0]:[b+h*a.Ya().left,e+h*a.Ya().top];Gh(g,l,n)}}};class fv extends Qt{constructor(a,b){var c=a.content(),d=RegExp('',"gi");const e=[];for(var f=d.exec(c);f;)e.push(f[1]),f=d.exec(c);for(d=0;de&&a.hv.push(c):0<=e&&a.hv.splice(e,1);jv(a);a.nd()!=d&&a.eK.C(a);a.fK.C(a)} +function kv(a,b,c){const d=a.nd(),e=a.$w.indexOf(c);b?0>e&&a.$w.push(c):0<=e&&a.$w.splice(e,1);jv(a);a.nd()!=d&&a.eK.C(a);a.fK.C(a)}hv.prototype.Zb=function(){return this.Wq};hv.prototype.tickEvent=hv.prototype.Zb;hv.prototype.Ml=function(){return this.kH};hv.prototype.startEvent=hv.prototype.Ml;hv.prototype.Pr=function(){return this.mH};hv.prototype.stopEvent=hv.prototype.Pr;hv.prototype.Ec=function(){return this.Sq};hv.prototype.stateChangeEvent=hv.prototype.Ec;hv.prototype.YH=function(){return this.eK}; +hv.prototype.bufferStateChangeEvent=hv.prototype.YH;hv.prototype.wC=function(){return this.fK};hv.prototype.bufferedObjectChangeEvent=hv.prototype.wC;function iv(a,b){return a.Fo||a.Bf(b)||a.Zj(b)}function jv(a){let b="stopped";a.Eo&&(b=a.Fo?"suspended":a.nd()?"buffering":a.MG?"rewinding":"started");a.Pa!=b&&(a.Pa=b,a.Sq.C(a))}hv.prototype.Bf=function(a){return 1{h.setViewMode(g)})}fb(){return this.Ni.fb()}Cu(a){this.slide().style.opacity=""+(a?1:0)}mr(a){a?a.appendChild(this.yb):Fd(this.yb)}};class mv extends Sq{constructor(a,b,c,d,e,f,g){super(a,b,c,d,e,f);this.Ni=f;this.gO=null;f.Oa()?this.wB(g):Qe(this,f.uY,()=>this.wB(g))}Oa(){return this.Ni.Oa()}Cu(a){this.slide().style.opacity=""+(a?1:0)}mr(a){a?a.appendChild(this.yb):Fd(this.yb)}wB(a){const b=this.Ni.Oa();b.onPresentationViewModeChanged(a);this.gO=b.skin().displayObject();this.yb.appendChild(this.gO);this.bH.innerHTML=this.yb.innerHTML;Th(this.Co,"normal"==a)}vd(){super.vd();Fd(this.gO)}};class nv extends wg{constructor(a){super();this.ya=a;this.Pa=0;this.ql=E(this);this.Gy=this.Co=this.yb=null}slide(){return this.ya}yr(a,b,c){this.yb=a;this.Co=b;this.Gy=c;this.Pa=2;this.ql.C(this)}slideBackground(){return this.Co}uf(){return 2==this.Pa}state(){return this.Pa}};class ov extends nv{constructor(a){super(a);this.Hf=null;this.$Y=E(this)}tb(){return this.Hf}dS(a){this.Hf=a;this.$Y.C()}};class pv extends Sq{constructor(a,b,c,d,e,f,g){super(a,b,c,d,e,f);this.Ni=f;f.Hf?this.wB(g):Qe(this,f.$Y,()=>this.wB(g))}tb(){return this.Ni.tb()}Cu(a){this.slide().style.opacity=""+(a?1:0)}mr(a){a?a.appendChild(this.yb):Fd(this.yb)}wB(a){this.Ni.tb().setViewMode(a);this.bH.innerHTML=this.yb.innerHTML;Th(this.Co,"normal"==a)}};function gt(a,b){const c=a.M.la(b);b=a.zc.Gd[b];if(c instanceof Am){b.Ir();b.Cu(!1);var d=new Rn({content:b.pl,mode:a.zc.Ib,yJ:c.yJ(),xD:c.xD()});d=new qq(c,d,a.Da,a.Ee)}else if(c instanceof cr){if(!b.Oa())return null;d=new wq({content:b.pl,mode:a.zc.Ib,Oa:b.Oa(),qC:c.qC()});d=new xq(c,d,a.Da)}else if(c instanceof tq){if(!b.fb())return null;d=new sq({content:b.pl,mode:a.zc.Ib,fb:b.fb(),pC:c.pC()});d=new uq(c,d,a.Da)}else if(c instanceof Bq){if(!b.tb())return null;d=new Aq({content:b.pl,mode:a.zc.Ib, +tb:b.tb(),rC:c.rC()});d=new Cq(c,d,a.Da)}return d}class qv{constructor(a,b,c,d){this.Da=c;this.M=b;this.zc=a;this.Ee=d}};class Ys{constructor(a,b,c,d,e,f,g,h){this.Ys=[];this.Vs=[];this.iw=!1;this.zg=a;this.yg=b;this.Zz=c;this.Tg=d;this.Vg=e||null;this.fg=f;this.AE=g;this.E$=h}Ey(){return this.E$}slideWidth(){return this.zg}slideHeight(){return this.yg}oa(){return this.Zz}lb(){return this.Tg}uc(){return this.Vg}wa(){return this.fg}};function rv(a,b,c,d,e,f){this.G=a;this.zc=b;this.Y=c;this.zg=d;this.yg=e;this.fg=f;this.lU=new C;this.kU=new C}rv.prototype.W=-1;rv.prototype.lda=function(){return this.Y.progress()};rv.prototype.transitionProgress=rv.prototype.lda;rv.prototype.state=function(){return this.jh?this.Y.c1()?"playing":"paused":"idle"};rv.prototype.state=rv.prototype.state;rv.prototype.Mu=function(){return this.lU};rv.prototype.transitionEffectStartEvent=rv.prototype.Mu;rv.prototype.wJ=function(){return this.kU}; +rv.prototype.transitionEffectCompleteEvent=rv.prototype.wJ;function Ks(a){a.jh&&sv(a,!1)}function ct(a,b){const c=a.zc;c.Gd[b].Ir();0<=a.W&&c.Gd[a.W].Uc();a.W=b}function Xs(a){a.Zn.Ig();a.ew.Ir();a.Zn.Ir()}function bt(a){a.jh.start();a.mU=!0;Ji&&(a.w8=setInterval(a.v8,100));a.Y.Zb().addHandler(a.qX,a);a.lU.C(a.W);sj&&document.body&&yn(document.body)}k=rv.prototype;k.v8=function(){if(Ji&&document.body)return yn(document.body)};k.rX=function(){sv(this)}; +k.yN=function(a){this.jh.fB.removeHandler(this.yN,this);a&&bt(this)};k.qX=function(a){isNaN(this.hP)&&(this.hP=a,a=0);this.jh.mu()||(1>a?this.jh.Lg(a):sv(this))};function sv(a,b){void 0===b&&(b=oj);a.mU&&(a.Y.Zb().removeHandler(a.qX,a),a.mU=!1);Ji&&clearInterval(a.w8);a.jh.Ux()||a.jh.fB.removeHandler(a.yN,a);a.jh.mu()&&a.jh.ke.removeHandler(a.rX,a);a.jh.terminate();a.jh=null;Xs(a);a.Zn&&(a.Zn.Uc(),a.Zn=null);a.ew=null;b?Gi(a.FW,a):a.FW()}k.FW=function(){Cd(this.fg);this.kU.C(this.W)};function tv(){this.Wq=new C;this.kH=new C;this.mH=new C}k=tv.prototype;k.pe=0;k.iM=!1;k.progress=function(){return this.pe};k.Lg=function(a){this.pe=a;this.Wq.C(a)};k.c1=function(){return this.iM};k.start=function(){this.iM=!0};k.stop=function(){this.iM=!1};k.Zb=function(){return this.Wq};k.Ml=function(){return this.kH};k.Pr=function(){return this.mH};k.$=function(){return this};function R(a){this.Zz=a.oa();this.ew=a.lb();this.Zn=a.uc();this.aA=!0;this.W7=a;this.zg=a.slideWidth();this.yg=a.slideHeight();this.fB=new C;this.ke=new C;this.fg=a.wa();this.AE=a.AE;this.zg>this.yg?(this.tM=Math.min(this.zg,1024),this.Os=this.tM/this.zg,this.sM=this.yg*this.Os):(this.sM=Math.min(this.yg,1024),this.Os=this.sM/this.yg,this.tM=this.zg*this.Os);this.uO=wd("DIV");wn(this.uO,1/this.Os,1/this.Os);this.lf=Ii}k=R.prototype; +k.start=function(){this.fg.appendChild(this.uO);var a=this.uc().slide();mn(a,"transitionSlide");a=this.lb().slide();mn(a,"transitionSlide");this.initialize();this.Lg(0)};k.terminate=function(){this.Lg(1);this.eI();this.Y&&(this.Y.Ml().removeHandler(this.BW,this),this.Y.Pr().removeHandler(this.AW,this));var a=this.uc().slide();nn(a,"transitionSlide");a=this.lb().slide();nn(a,"transitionSlide");Cd(this.fg)}; +function uv(a,b){b?(b=a.uc().slide(),mn(b,"paused"),a=a.lb().slide(),mn(a,"paused")):(b=a.uc().slide(),nn(b,"paused"),a=a.lb().slide(),nn(a,"paused"))}k.Lg=function(a){if(this.Ux()){var b=this.Ia;a=this.oa()?1-a:a;b.call(this,a)}};k.Ux=function(){return this.aA};k.iw=function(){return this.W7.iw};k.oa=function(){return this.Zz};k.initialize=function(){};k.eI=function(){};k.Ia=function(){};k.lb=function(){return this.oa()?this.Zn:this.ew};k.uc=function(){return this.oa()?this.ew:this.Zn}; +function vv(a,b){null!=a.uc()&&a.uc().Cu(b)}function wv(a,b){a.lb().Cu(b)} +k.Ma=function(a,b,c,d,e,f){function g(){if(!--h){var A=t,J=w,T=y,U=D,X=I;this.qb=p;this.Ea=A;this.Rn=J;this.IF=U;this.pq=T;this.OF=X;this.iX();1!=this.aA&&(this.aA=!0,this.fB.C(!0))}}0!=this.aA&&(this.aA=!1,this.fB.C(!1));let h=0;for(var l=0;l>1;a|=a>>2;a|=a>>4;a|=a>>8;return(a|a>>16)+1}function zv(a,b){b=b||0;return Math.round(a*Math.pow(10,b))/Math.pow(10,b)};function Av(a){R.call(this,a)}var Bv,Cv;r(Av,R);function Dv(a,b){a.Hs();a.Qz(b);b=a.N;a.mb=mat4.create();a.IX=mat4.create();b.viewport(0,0,b.F2,b.E2);b.clear(b.COLOR_BUFFER_BIT|b.DEPTH_BUFFER_BIT);const c=.5*a.slideHeight()/Math.tan(22.5*Math.PI/180);mat4.perspective(45,b.F2/b.E2,1,1E4,a.IX);mat4.identity(a.mb);mat4.translate(a.mb,[0,0,-c])}k=Av.prototype; +k.Hs=function(){this.Kq=!0;void 0===Bv&&(Bv=S(this.slideWidth()+3,this.slideHeight()+3),F(Bv,"left","-1px"),F(Bv,"top","-1px"));void 0===Cv&&(Cv=Bv.getContext("webgl")||Bv.getContext("experimental-webgl"));this.wa().appendChild(Bv);try{Cv.F2=Bv.width,Cv.E2=Bv.height,Cv.enable(Cv.DEPTH_TEST)}catch(b){}const a=this.N=Cv;this.sL=Ev(this,a.FRAGMENT_SHADER,this.Th());this.PP=Ev(this,a.VERTEX_SHADER,this.Uh());null!==this.sL&&null!==this.PP&&(this.Jq=a.createProgram(),a.attachShader(this.Jq,this.PP),a.attachShader(this.Jq, +this.sL),a.linkProgram(this.Jq),a.getProgramParameter(this.Jq,a.LINK_STATUS)?(a.useProgram(this.Jq),this.gi()):this.Kq=!1)};k.eI=function(){this.N&&(this.Qh(),Fv(this,this.OP),Fv(this,this.mP),Fv(this,this.ZX),Fv(this,this.nW),this.Rh(),this.N.deleteTexture(this.IB),this.N.deleteShader(this.sL),this.N.deleteShader(this.PP),this.N.deleteProgram(this.Jq))};k.Rh=function(){alert("override _disableAttributes")};k.Qh=function(){}; +function Gv(a,b){a.N.bindBuffer(a.N.ARRAY_BUFFER,null);a.N.deleteBuffer(b.ug);a.N.deleteBuffer(b.gg);a.N.deleteBuffer(b.Bg);a.N.deleteBuffer(b.Vn)}k.Qz=function(a){this.IB=Hv(this,this.N.TEXTURE0,this.Gj(),0,a)}; +function Hv(a,b,c,d,e,f){const g=a.N;var h=a.slideWidth(),l=a.slideHeight();h=yv(h);l=yv(l);a=a.N.getParameter(a.N.MAX_TEXTURE_SIZE);if(Math.max(h,l)>a){var n=h/l;h>l?(h=a,l=h/n):(l=a,h=l*n)}a=new cd(h,l);h=a.width;l=a.height;a=S(h,l);n=a.getContext("2d");void 0!==f?f(n,e,h,l):n.drawImage(e,0,0,h,l);e=g.createTexture();g.activeTexture(b);g.bindTexture(g.TEXTURE_2D,e);g.texImage2D(g.TEXTURE_2D,0,g.RGBA,g.RGBA,g.UNSIGNED_BYTE,a);g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MAG_FILTER,g.LINEAR);g.texParameteri(g.TEXTURE_2D, +g.TEXTURE_MIN_FILTER,g.LINEAR_MIPMAP_LINEAR);g.generateMipmap(g.TEXTURE_2D);g.texParameteri(g.TEXTURE_2D,g.TEXTURE_WRAP_S,g.CLAMP_TO_EDGE);g.texParameteri(g.TEXTURE_2D,g.TEXTURE_WRAP_T,g.CLAMP_TO_EDGE);g.bindTexture(g.TEXTURE_2D,null);g.activeTexture(b);g.bindTexture(g.TEXTURE_2D,e);g.uniform1i(c,d);return e}k.Th=function(){alert("Please override _getFragmentShaderSource");return""};k.Uh=function(){alert("Please override _getVertexShaderSource");return""};k.gi=function(){}; +function Ev(a,b,c){const d=a.N;b=d.createShader(b);d.shaderSource(b,c);d.compileShader(b);return d.getShaderParameter(b,d.COMPILE_STATUS)?b:(a.Kq=!1,null)}function Iv(a,b,c){a=a.N;const d=b.length/c,e=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,e);a.bufferData(a.ARRAY_BUFFER,new Float32Array(b),a.DYNAMIC_DRAW);e.Vx=c;e.v1=d;return e} +function Jv(a,b){a=a.N;const c=b.length/1,d=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,d);a.bufferData(a.ELEMENT_ARRAY_BUFFER,new Uint16Array(b),a.DYNAMIC_DRAW);d.Vx=1;d.v1=c;return d}function Kv(a){if(0==a.EM.length)throw"Invalid popMatrix!";a.mb=a.EM.pop()}function Lv(a){const b=mat4.create();mat4.set(a.mb,b);a.EM.push(b)}function Mv(a,b,c,d){mat4.translate(a.mb,[-d[0],-d[1],-d[2]]);mat4.rotate(a.mb,b*Math.PI/180,c);mat4.translate(a.mb,d)} +function Nv(a,b,c,d,e){const f=a.N,g=b.ug;f.bindBuffer(f.ARRAY_BUFFER,g);void 0!==d&&d();f.vertexAttribPointer(a.OP,g.Vx,f.FLOAT,!1,0,0);b.Vn&&(d=b.Vn,f.bindBuffer(f.ARRAY_BUFFER,d),void 0!==e&&e(),f.vertexAttribPointer(a.Fz(),d.Vx,f.FLOAT,!1,0,0));e=b.Bg;f.bindBuffer(f.ARRAY_BUFFER,e);f.vertexAttribPointer(a.mP,e.Vx,f.FLOAT,!1,0,0);a.$J();a=b.gg;f.bindBuffer(f.ELEMENT_ARRAY_BUFFER,a);void 0===c&&(c=f.TRIANGLES);f.drawElements(c,a.v1,f.UNSIGNED_SHORT,0)} +k.Fz=function(){alert("override _getVertexNormalAttributeLocation");return-1};k.Gj=function(){alert("override _getSamplerUniform");return null};k.$J=function(){};function Ov(a){a.OP=Pv(a,"aVertexPosition");a.mP=Pv(a,"aTextureCoord");a.ZX=Qv(a,"uPMVMatrix");a.nW=Qv(a,"uNMatrix")} +function Rv(a,b){let c=0;for(let e=0;ea){var b=Y(0,0,.3,1)(a);this.xs(b,!0);this.xs(b,!1)}b=this.slideWidth();var c=this.slideHeight();c=Math.max(b,c);const d=this.P==mw?1:-1;Lv(this);.1<=a&&(.1=a?(a=Y(.1,0,.4,1)(a),nw(this,a),mat4.translate(this.mb,[0,0,-a*c/4]),Mv(this,-60*a,[1,0,0],[-d*b/4,0,0]),Mv(this,45*d*a,[0,0,1],[-d*b/4,0,0])):.4=a?(a=Y(.4,0,.5,1)(a),nw(this,1),mat4.translate(this.mb,[0,0,-c/4]),mat4.translate(this.mb,[d*a*c/50,-a*c/50,a*c/50]),Mv(this, +-60,[1,0,0],[-d*b/4,0,0]),Mv(this,45*d,[0,0,1],[-d*b/4,0,0])):.5a?(a=Y(.5,0,.55,1)(a),nw(this,1),mat4.translate(this.mb,[0,0,-c/4]),mat4.translate(this.mb,[d*c/50,-c/50,c/50]),Mv(this,-60,[1,0,0],[-d*b/4,0,0]),Mv(this,45*d,[0,0,1],[-d*b/4,0,0]),Mv(this,-1*a,[1,0,0],[0,0,0])):.55h;++h){var d=g,e=a,f=b;d=3*(1-3*f+3*e)*d*d+2*(3*f-6*e)*d+3*e;if(0==d)break;g-=((((1-3*b+3*a)*g+(3*b-6*a))*g+3*a)*g-c)/d}c=(-2*g+3)*g*g}return c}}var Ew=Dw(.42,.58);function Y(a,b,c,d){return function(e){return b+(d-b)/(c-a)*(e-a)}}function pw(a,b,c){if(c=b)return 1;a=(c-a)/(b-a);return-2*Math.pow(a,3)+3*Math.pow(a,2)} +function Fw(a,b,c,d){if(d>1)}const c=this.Ea,d=this.qb;var e=this.slideWidth(),f=this.slideHeight();e=Math.floor(e/7);f=Math.floor(f/5);const g=c.width-6*e,h=c.height-4*f;this.wn=[];for(let l=0;5>l;++l){const n=b(5,l),m=n*f,p=4==n?h:f+1;for(let t=0;7>t;++t){const w=b(7,t),y=new Mw(c,d,w*e,m,6==w?g:e+1,p,a,this.As,this.Bc);this.vt.appendChild(y.Tp);this.wn[7*n+w]=y}}Nw(this)}; +Kw.prototype.NL=function(){const a=this.slideWidth(),b=this.slideHeight();Nh(this.vt,a,b);var c=(.5*a).toString()+"px "+(.5*b).toString()+"px";Di(this.vt,this.UA.toString()+"px");Ei(this.vt,c);Lb&&(c=zd("DIV"),this.vt.appendChild(c),Nh(c,a,b),F(c,"position","absolute"),Ci(c,"preserve-3d"),this.vt=c)}; +function Nw(a){var b=.7-.15,c=a.P==Lw?b/4:0,d=a.P==Ow?b/6:0;b=0;var e=1;for(var f=0;5>f;++f)for(let g=0;7>g;++g){const h=f*c+g*d+.15*Math.random();b=Math.max(h,b);e=Math.min(h,e);a.wn[g+7*f].jQ=h}c=e;b=.7/(b-c);for(d=0;5>d;++d)for(e=0;7>e;++e)f=a.wn[e+7*d],f.jQ=(f.jQ-c)*b}Kw.prototype.Ia=function(a){const b=this.wn.length;for(let c=0;ce:1=c&&Qw(a,!0);xi(a.Tp,(a.Nz?"rotateX(-":"rotateY(")+b.toString()+"deg)")}else a.nF?90<=b&&Qw(a,!1):90>=b&&Qw(a,!0),xi(a.Tp,(a.Nz?"scaleY(":"scaleX(")+Math.cos(a.cE*Math.PI/180).toString()+")");G(a.VG,.5*Math.sin(a.cE*Math.PI/180))}} +function Qw(a,b){const c=b?a.HU:a.WD,d=b?a.WD:a.HU;a.nF=b;F(c,"visibility","visible");F(d,"visibility","hidden")};function Rw(a,b){R.call(this,a);this.P=b;this.lf=!1;this.Ma(!1,!0);this.P==Sw?(this.Pg=(1-Tw)/(Uw-1),this.RS=2*this.slideWidth()/Math.pow(Tw,2)):(this.Pg=.25,this.RS=2*this.slideHeight()/Math.pow(Tw,2))}r(Rw,R);function Vw(a,b,c,d,e,f){const g=S(e+1,f+1);g.getContext("2d").drawImage(a.Ea,c,d,e,f,0,0,e+1,f+1);b.push(new Ww(g,c,d,e,f))} +Rw.prototype.initialize=function(){let a;a=this.P==Sw?Uw:Xw;const b=this.slideWidth(),c=this.slideHeight();this.fv=[];this.gv=[];const d=b/a,e=c/a;let f=0;for(let h=0;h=b?0:a.RS*Math.pow(b,2)/2}function Zw(a,b){const c=a.slideHeight();let d=0,e=a.Pg,f=0,g=1,h=e,l=1;a.oa()&&(d=c,e=1-e,f=1-f,g=1-g,h=e,l=1-l);if(!a.oa()){if(be)return d;return c*(f+(g-f)/(l-h)*(b-h))} +Rw.prototype.Ia=function(a){let b,c,d;const e=this.Ea.getContext("2d");e.clearRect(0,0,this.slideWidth(),this.slideHeight());if(this.P==Sw){for(b=0;b1-ex?1-a:ex;var b=Math.max(this.slideWidth(),this.slideHeight());b=Y(0,0,ex,.2*-b);const c=Y(0,0,ex,10);yi(this.pa,"50% 100%");xi(this.pa,"rotateX("+c(a)+"deg) translateZ("+b(a)+"px)")}; +k.PL=function(a){const b=this.slideWidth(),c=this.slideHeight();this.jl=this.il=this.Xl=this.Wl=0;switch(a){case fx:this.Xl=1;this.il=gx*b;this.jl=-gx*c;break;case hx:this.Xl=-1;this.il=-gx*b;this.jl=gx*c;break;case ix:this.Wl=-1;this.il=gx*b;this.jl=gx*c;break;case jx:this.Wl=1;this.il=-gx*b;this.jl=-gx*c;break;case kx:this.Xl=this.Wl=-1;this.il=-gx*b;this.jl=gx*c;break;case lx:this.Wl=-1;this.Xl=1;this.il=-gx*b;this.jl=-gx*c;break;case mx:this.Wl=1;this.Xl=-1;this.il=gx*b;this.jl=gx*c;break;case nx:this.Xl= +this.Wl=1,this.il=gx*b,this.jl=-gx*c}this.We?(this.Xl*=-1,this.jl*=-1):(this.Wl*=-1,this.il*=-1)}; +k.Ia=function(a){this.We&&(a=1-a);this.DM(a);if(a>=ox&&a=px&&(this.oa()||this.We?this.oa()&&this.We&&wv(this,!1):vv(this,!1),F(this.Ow,"visibility","hidden"))};var hx=0,ix=1,jx=2,fx=3,lx=4,kx=5,nx=6,mx=7,ex=.4,ox=.1,px=.7,qx=800,rx=.5,cx=.3,bx=50,gx=1,dx=1;function sx(a,b,c){R.call(this,a);this.P=b;this.We=c;this.lf=!1;this.PL(b)}r(sx,R);k=sx.prototype;k.initialize=function(){vv(this,!0);wv(this,!0);this.Gn().Ig()};k.Gn=function(){return this.We?this.uc():this.lb()};k.Ez=function(){return this.We?this.lb():this.uc()}; +k.PL=function(a){const b=this.slideWidth(),c=this.slideHeight();this.tl=this.sl=0;switch(a){case fx:this.tl=c;break;case hx:this.tl=-c;break;case ix:this.sl=b;break;case jx:this.sl=-b;break;case kx:this.sl=b;this.tl=-c;break;case lx:this.sl=b;this.tl=c;break;case mx:this.sl=-b;this.tl=-c;break;case nx:this.sl=-b,this.tl=c}this.We&&(this.sl*=-1,this.tl*=-1)};k.Ia=function(a){a=Ew(a);this.We&&(a=1-a);const b=Y(0,this.sl,1,0),c=Y(0,this.tl,1,0);Gh(this.Gn().slide(),b(a),c(a))};function tx(a,b,c){var d=new W;this.Sr=a;this.By=b;this.Cy=c;this.n=d};function ux(a){R.call(this,a);this.Ma(!1,!0)}r(ux,Av); +var vx=[0,1,2,3,2,4,5,4,6,7,6,8,9,8,10,11,10,12,13,12,14,15,14,16,17,16,18,19,18,20,21,20,22,1,23,24,2,24,25,4,25,26,6,26,27,8,27,28,10,28,29,12,29,30,14,30,31,16,31,32,18,32,33,20,33,34,23,35,36,24,36,37,25,37,38,26,38,39,27,39,40,28,40,41,29,41,42,30,42,43,31,43,44,32,44,45,33,45,46,35,47,48,36,48,49,37,49,50,38,50,51,39,51,52,40,52,53,41,53,54,42,54,55,43,55,56,44,56,57,45,57,58,47,59,60,48,60,61,49,61,62,50,62,63,51,63,64,52,64,65,53,65,66,54,66,67,55,67,68,56,68,69,57,69,70,59,71,72,60,72,73, +61,73,74,62,74,75,63,75,76,64,76,77,65,77,78,66,78,79,67,79,80,68,80,81,69,81,82,71,83,84,72,84,85,73,85,86,74,86,87,75,87,88,76,88,89,77,89,90,78,90,91,79,91,92,80,92,93,81,93,94,83,95,96,84,96,97,85,97,98,86,98,99,87,99,100,88,100,101,89,101,102,90,102,103,91,103,104,92,104,105,93,105,106,0,2,3,3,4,5,5,6,7,7,8,9,9,10,11,11,12,13,13,14,15,15,16,17,17,18,19,19,20,21,21,22,107,1,24,2,2,25,4,4,26,6,6,27,8,8,28,10,10,29,12,12,30,14,14,31,16,16,32,18,18,33,20,20,34,22,23,36,24,24,37,25,25,38,26,26,39, +27,27,40,28,28,41,29,29,42,30,30,43,31,31,44,32,32,45,33,33,46,34,35,48,36,36,49,37,37,50,38,38,51,39,39,52,40,40,53,41,41,54,42,42,55,43,43,56,44,44,57,45,45,58,46,47,60,48,48,61,49,49,62,50,50,63,51,51,64,52,52,65,53,53,66,54,54,67,55,55,68,56,56,69,57,57,70,58,59,72,60,60,73,61,61,74,62,62,75,63,63,76,64,64,77,65,65,78,66,66,79,67,67,80,68,68,81,69,69,82,70,71,84,72,72,85,73,73,86,74,74,87,75,75,88,76,76,89,77,77,90,78,78,91,79,79,92,80,80,93,81,81,94,82,83,96,84,84,97,85,85,98,86,86,99,87,87, +100,88,88,101,89,89,102,90,90,103,91,91,104,92,92,105,93,93,106,94],wx="/+8MAP/rSADoi0gA6I8MANFLSADRTwwAuitIALovDACi60gAou8MAIurSACLrwwAC6tIAAuvDAAi60gAIu8MADorSAA6LwwAUUtIAFFPDABoi0gAaI8MAH/rSAD/54QA6IeEANFHhAC6J4QAoueEAIunhAALp4QAIueEADonhABRR4QAaIeEAH/nhAD/48AA6IPAANFDwAC6I8AAouPAAIujwAALo8AAIuPAADojwABRQ8AAaIPAAH/jwAD/4AAA6IAAANFAAAC6IAAAouAAAIugAAALoAAAIuAAADogAABRQAAAaIAAAH/gAAD/88AA6JPAANFTwAC6M8AAovPAAIuzwAALs8AAIvPAADozwABRU8AAaJPAAH/zwAD/94QA6JeEANFXhAC6N4QAoveEAIu3hAALt4QAIveEADo3hABRV4QAaJeEAH/3hAD/+0gA6JtIANFbSAC6O0gAovtIAIu7SAALu0gAIvtIADo7SABRW0gAaJtIAH/7SAD//wwA6J8MANFfDAC6PwwAov8MAIu/DAALvwwAIv8MADo/DABRXwwAaJ8MAH//DAB/7wwA 8u/+EviMJALjCzwa4S7kSs1rNAHNrw4Gt0s8DLfPDAyhC0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TNW7U1QiurTg4aaXKOibNs2gh1jBWApWmP4cE9VKItFIqCazjWInkfCnL1OFXz7T8LC1tuQGrldww6XXLYOSub1nAFip3RN2fYgktt0MJZSEXCjWzRgsFOxiMlbVGjEVFGCvNdiSoVm8lZn55VuKeMnmBrr5aRmZqWIgGbi3H5eUDyW5/Mkn+BAbKdng4TF4sCcpZXiK".split(" "); +k=ux.prototype;k.initialize=function(){vv(this,!1);wv(this,!0);Dv(this,this.Ea);this.Hd();this.N.enable(this.N.DEPTH_TEST);const a=mat4.create();mat4.identity(a);a[0]=this.slideWidth()/921.6;a[5]=this.slideHeight()/518.4;this.mb=mat4.multiply(this.mb,a,this.mb);this.UB=mat4.create();mat4.set(this.mb,this.UB)};k.jK=function(a){for(let b=0;b>>=0;e.push(new W(yx((0==(g>>31&1)?1:-1)*((g&2145386496)>>21),460.8,11),yx((0==(g>>20&1)?1:-1)*((g&1047552)>>10),275.3,11),yx((0==(g>>9&1)?1:-1)*(g&511),211.2,10)))}for(f=0;fwx.length-1&&(c=wx.length-1,b=0);if(0!=b||this.oa()&&!this.e5){if(this.m5!=c){var d=c!=wx.length-1?wx[c+1]:null;this.n5=xx(this,wx[c],!0);this.tW=null!=d?xx(this,d,!0):null}for(d=0;da?(f=Y(0,90,45,0),f=.5*Math.sin(f(e)*Math.PI/180),G(this.Hp,f)):(f=Y(45,0,90,90),f=.5*Math.sin(f(e)*Math.PI/180),G(this.Ip,f)));this.Bc?(a=e-n(a),0>=a?(G(this.Pc,0),G(this.Hp,0)):90<=a?(G(this.Qc,0),G(this.Ip,0)):(G(this.Pc,1),G(this.Qc,1)),xi(this.Pp,b)):(xi(this.Qc,c),xi(this.Pc,d),xi(this.Ip,c),xi(this.Hp,d))}; +var Bx=0,Ax=1,Cx=2,Dx=3;function Ex(a,b,c,d){d/=a-1;c/=b-1;const e=new aw,f=new W(0,0,1);for(let g=0;gg;++g)for(let h=c;h= max)\n\t\t{\n\t\t\treturn 1.0;\n\t\t}\n\n\t\tfloat value = (x - min) / (max - min);\n\t\tfloat squaredValue = value * value;\n\n\t\treturn -2.0 * squaredValue * value + 3.0 * squaredValue;\n\t}\n\n\tfloat calcAmp()\n\t{\n\t\tfloat periodKoef = linearInterpolation(uPhase, waveStartAppearTime, 1.0, waveStartAppearTime + WAVE_APPEAR_DURATION, MIN_AMP_KOEF);\n\t\tperiodKoef = clamp(periodKoef, MIN_AMP_KOEF, 1.0);\n\n\t\treturn calcAmpKoef(periodKoef) * uSlideWidth / WAVES_COUNT;\n\t}\n\n\tfloat calcX()\n\t{\n\t\tfloat forcedX = smoothStep(xTimesPart1.x, xTimesPart1.y, uPhase) * forcedXPath + smoothStep(xTimesPart1.z, xTimesPart1.w, uPhase) * 0.75;\n\t\tfloat dampAmpKoef = (uPhase <= xTimesPart2.w + 0.35) ? 1.0 : (diagonalRatio == 0.0 ? 1.0 : diagonalRatio);\n\t\tfloat stretchWidth = smoothStep(xTimesPart2.w, xTimesPart3.x, uPhase);\n\t\tfloat compressionWidth = smoothStep(xTimesPart3.x, xTimesPart3.y, uPhase);\n\t\tfloat deltaWidthKoef = (linearInterpolation(diagonalRatio, 0.0, 0.0, 1.0, compressionWidth) - linearInterpolation(diagonalRatio, 0.0, 0.0, 1.0, stretchWidth)) * STRETCH_KOEF;\n\n\t\tfloat dampX = smoothStep(xTimesPart2.x, xTimesPart2.y, uPhase);\n\t\tdampX -= smoothStep(xTimesPart2.y, xTimesPart2.z, uPhase) * 1.25;\n\t\tdampX += deltaWidthKoef;\n\n\t\treturn (forcedX + dampX * xDampAmp / dampAmpKoef) * uSlideWidth;\n\t}\n\n\tfloat calcY(vec3 vertex)\n\t{\n\t\tfloat cornerBounceAtStartKoef = linearInterpolation(uPhase, yTimesPart1.y, 0.0, yTimesPart1.z, MAX_CORNER_BOUNCE_AT_START_KOEF);\n\t\tfloat x0 = uLeftCurtain ? uSlideWidth * 0.25 : uSlideWidth * 0.5;\n\t\tfloat x1 = uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth * 0.75;\n\t\tfloat fx0 = uLeftCurtain ? cornerBounceAtStartKoef : MAX_CORNER_BOUNCE_AT_START_KOEF;\n\t\tfloat fx1 = uLeftCurtain ? MAX_CORNER_BOUNCE_AT_START_KOEF: cornerBounceAtStartKoef ;\n\t\tfloat colBounceAtStartKoef = linearInterpolation(vertex.x, x0, fx0, x1, fx1);\n\t\tcolBounceAtStartKoef = clamp(colBounceAtStartKoef, 0.0, MAX_CORNER_BOUNCE_AT_START_KOEF);\n\n\t\tfloat cornerBounceAtEndKoef = linearInterpolation(uPhase, yTimesPart2.y, 0.0, yTimesPart2.z, MAX_CORNER_BOUNCE_AT_END_KOEF);\n\t\tx0 = uLeftCurtain ? 0.0 : uSlideWidth * 0.5;\n\t\tx1 = uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth;\n\t\tfx0 = uLeftCurtain ? cornerBounceAtEndKoef : MAX_CORNER_BOUNCE_AT_END_KOEF;\n\t\tfx1 = uLeftCurtain ? MAX_CORNER_BOUNCE_AT_END_KOEF: cornerBounceAtEndKoef ;\n\t\tfloat colBounceAtEndKoef = linearInterpolation(vertex.x, x0, fx0, x1, fx1);\n\n\t\tfloat y0 = -smoothStep(yTimesPart1.x, yTimesPart1.y, uPhase) * colBounceAtStartKoef;\n\t\ty0 += smoothStep(yTimesPart1.y, yTimesPart1.z, uPhase) * MAX_CORNER_BOUNCE_AT_START_KOEF;\n\t\ty0 -= smoothStep(yTimesPart1.z, yTimesPart1.w, uPhase) * 0.25;\n\t\ty0 += smoothStep(yTimesPart1.w, yTimesPart2.x, uPhase) * 0.25;\n\t\ty0 -= smoothStep(yTimesPart2.x, yTimesPart2.y, uPhase) * colBounceAtEndKoef;\n\t\ty0 += smoothStep(yTimesPart2.y, yTimesPart2.z, uPhase) * (MAX_CORNER_BOUNCE_AT_END_KOEF + 1.0);\n\n\t\treturn (y0 * yAmp + rowRatio) * uSlideHeight;\n\t}\n\n\tvec3 getVertexPosition(vec3 vertex)\n\t{\n\t\tfloat amp = calcAmp();\n\t\tfloat z = -amp * sinX;\n\t\tfloat xKoef = uLeftCurtain ? 1.0 : -1.0;\n\n\t\treturn vec3(vertex.x - calcX() * xKoef, -calcY(vertex), z);\n\t}\n\n\tvoid initVertexParams(vec3 vertex)\n\t{\n\t\tfloat periodWidth = uSlideWidth / WAVES_COUNT;\n\t\tfloat frequency = PI * 2.0 / periodWidth;\n\t\tsinX = sin(frequency * vertex.x);\n\n\t\trowRatio = vertex.y / uSlideHeight;\n\n\t\tfloat halfRowRatio = rowRatio * 0.5;\n\t\tfloat halfSquaredRowRatio = rowRatio * halfRowRatio;\n\n\t\tfloat maxDT = 0.1;\n\t\tfloat dtAmp = 2.0 * maxDT;\n\t\tfloat dt = dtAmp * halfRowRatio;\n\n\t\tfloat distT = (0.6 - dt);\n\n\t\tfloat xT1 = dt;\n\t\tfloat xT2 = 0.4 + dt;\n\t\tfloat xT3 = xT2 + distT * 0.5;\n\t\tfloat xT4 = 1.0 + (1.0 - xT3);\n\n\t\tfloat xDampT1 = (xT1 + xT2) * 0.45;\n\t\tfloat xDampT2 = xT2;\n\t\tfloat xDampT3 = xT3;\n\t\tfloat xDampT4 = xDampT2 + (xDampT3 - xDampT2) * 0.5;\n\t\tfloat xDampT5 = xDampT3 + 0.075;\n\t\tfloat xDampT6 = 1.0;\n\n\t\tdistT = (0.7 - dt);\n\n\t\tfloat yT2 = 0.3 + dt;\n\t\tfloat yT3 = yT2 + distT * 0.5;\n\n\t\tfloat yDampT1 = 0.0;\n\t\tfloat yDampT2 = (yDampT1 * 2.0 + 0.35) * 0.5;\n\t\tfloat yDampT3 = yT2;\n\t\tfloat yDampT4 = (yT2 + yT2 + yT3) / 3.0;\n\t\tfloat yDampT5 = (yT2 + yT3 + yT3) / 3.0;\n\t\tfloat yDampT6 = yT3 + 0.1175;\n\t\tfloat yDampT7 = 1.0;\n\n\t\txTimesPart1 = vec4(xT1, xT2, xT3 - 0.125, xT4);\n\t\txTimesPart2 = vec4(xDampT1, xDampT2, xDampT3, xDampT4);\n\t\txTimesPart3 = vec2(xDampT5, xDampT6);\n\n\t\tyTimesPart1 = vec4(yDampT1 + 0.05, yDampT2, yDampT3, yDampT4);\n\t\tyTimesPart2 = vec3(yDampT5, yDampT6, yDampT7);\n\n\t\twaveStartAppearTime = linearInterpolation(vertex.y, 0.0, WAVES_START_APPEAR_PHASE, uSlideHeight, WAVES_READY_PHASE - WAVE_APPEAR_DURATION);\n\n\t\tfloat colRatio = (uLeftCurtain ? vertex.x : uSlideWidth - vertex.x) / (uSlideWidth * 0.5);\n\t\tdiagonalRatio = (colRatio + rowRatio) * 0.5;\n\n\t\tfloat x0 = uLeftCurtain ? 0.0 : uSlideWidth * 0.5;\n\t\tfloat x1 = uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth;\n\t\tfloat fx0 = uLeftCurtain ? 0.2 : 0.0;\n\t\tfloat fx1 = uLeftCurtain ? 0.0 : 0.2;\n\t\tforcedXPath = 0.2 * (colRatio + linearInterpolation(vertex.x, x0, fx0, x1, fx1));\n\n\t\tfloat mxDampAmp = 0.1 * diagonalRatio;\n\t\tfloat dampAcc = 2.0 * mxDampAmp;\n\t\txDampAmp = dampAcc * halfRowRatio;\n\n\t\tfloat maxYAmp = 0.02;\n\t\tfloat dyAmp = 2.0 * maxYAmp * diagonalRatio * rowRatio;\n\t\tyAmp = dyAmp * halfSquaredRowRatio;\n\t}\n\n\tvec3 getVertexNormal(vec3 vertex, vec3 p)\n\t{\n\t\tbool rightSideXPos = vertex.x == (uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth);\n\t\tfloat deltaWidth = rightSideXPos ? -DELTA_W : DELTA_W;\n\n\t\tvec3 rightVertex = vec3(vertex.x + deltaWidth, vertex.y, vertex.z);\n\t\tinitVertexParams(rightVertex);\n\t\tvec3 right = getVertexPosition(rightVertex);\n\n\t\tvec3 downVertex = vec3(vertex.x, vertex.y + DELTA_H, vertex.z);\n\t\tinitVertexParams(downVertex);\n\t\tvec3 down = getVertexPosition(downVertex);\n\n\t\tvec3 v1 = vec3(right.x - p.x, right.y - p.y, right.z - p.z);\n\t\tvec3 v2 = vec3(down.x - p.x, down.y - p.y, down.z - p.z);\n\n\t\tvec3 n = rightSideXPos ? cross(v1, v2) : cross(v2, v1);\n\t\tn = normalize(n);\n\n\t\treturn n;\n\t}\n\n\tvoid main(void)\n\t{\n\t\tvTextureCoord = aTextureCoord;\n\n\t\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z);\n\t\tinitVertexParams(vertex);\n\t\tvec3 p = getVertexPosition(vertex);\n\n\t\tvec3 pNormal = getVertexNormal(vertex, p);\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\n\t\tif (vertex.y == 0.0)\n\t\t{\n\t\t\tfloat maxDY = calcAmpKoef(MIN_AMP_KOEF) * uSlideWidth / WAVES_COUNT * 0.4;\n\t\t\tp.y += max(0.0, min(maxDY, linearInterpolation(uPhase, WAVES_START_APPEAR_PHASE, 0.0, WAVES_START_APPEAR_PHASE + WAVE_APPEAR_DURATION, maxDY)));\n\t\t}\n\t\tgl_Position = uPMVMatrix * vec4(p, 1.0);\n\t}"}; +k.sS=function(){if(void 0!==this.Kq)return this.Kq;this.Hs();return this.Kq=this.Kq};k.Hs=function(){void 0===this.N&&Ix.Mb.Hs.call(this)};k.Ia=function(a){this.N.uniform1f(this.tg,a);this.iU=!0;Nv(this,this.iA,this.N.TRIANGLE_STRIP);this.iU=!1;Nv(this,this.kB,this.N.TRIANGLE_STRIP)}; +k.gi=function(){Ov(this);this.gf=Qv(this,"uSampler");this.tg=Qv(this,"uPhase");this.s5=Qv(this,"uLeftCurtain");const a=Qv(this,"uSlideWidth");this.N.uniform1f(Qv(this,"uSlideHeight"),this.slideHeight());this.N.uniform1f(a,this.slideWidth())};k.Qh=function(){Gv(this,this.iA);Gv(this,this.kB)};k.Rh=function(){};k.$J=function(){this.N.uniform1i(this.s5,this.iU?1:0)}; +k.Hd=function(){var a=this.slideWidth();const b=this.slideHeight();this.LV=Fx(a,b,0,31);this.NY=Fx(a,b,30,61);this.Ce=Gx(15,31);this.iA=new Wv;a=Iv(this,cw(this.LV),3);this.iA.ug=a;a=Iv(this,dw(this.LV),2);this.iA.Bg=a;a=Jv(this,this.Ce);this.iA.gg=a;this.kB=new Wv;a=Iv(this,cw(this.NY),3);this.kB.ug=a;a=Iv(this,dw(this.NY),2);this.kB.Bg=a;a=Jv(this,this.Ce);this.kB.gg=a};k.Gj=function(){return this.gf};function Jx(a){R.call(this,a);this.lb().Ig();this.lf=!1}r(Jx,R);Jx.prototype.initialize=function(){vv(this,!0);wv(this,!0)};Jx.prototype.Ia=function(a){.3>a?G(this.lb().slide(),0):G(this.lb().slide(),1)};function Kx(a){R.call(this,a);this.lb().Ig();this.lf=!1}r(Kx,R);Kx.prototype.initialize=function(){vv(this,!0);wv(this,!0);this.Ng=document.createElement("div");Oh(this.Ng,this.slideWidth());Ph(this.Ng,this.slideHeight());F(this.Ng,"backgroundColor","#000000");F(this.Ng,"position","relative");this.wa().appendChild(this.Ng)};Kx.prototype.Ia=function(a){.5>a?(G(this.lb().slide(),0),G(this.Ng,0)):.8>a?G(this.Ng,1):(G(this.Ng,0),G(this.lb().slide(),1))};function Lx(a){R.call(this,a);this.lf=!1;this.Ma(!1,!0);this.OM=0;a=this.slideWidth();const b=this.slideHeight(),c=Mx!=a||Nx!=b;if(!Ox||c)Ox=[],Mx=a,Nx=b,Px(a,b)}var Ox,Mx,Nx;r(Lx,R);Lx.prototype.initialize=function(){vv(this,!1);wv(this,!0);const a=this.Ea;this.wa().appendChild(a);this.CA=S(this.slideWidth(),this.slideHeight());this.CA.getContext("2d").drawImage(a,0,0)}; +function Px(a,b){var c=Ox;a/=54;const d=b/42;let e=0,f=0;for(b=0;54>b;++b){f=0;const g=Math.round((b+1)*a)-e,h=e;for(let l=0;42>l;++l){const n=Math.round((l+1)*d)-f,m=new Qx(h,f,g,n);m.Nr=Math.random();c.push(m);f+=n}e+=g}c.sort(function(g,h){return g.Nrh.Nr?1:0});a=c.length;for(b=0;b time)\n\t\t{\n\t\t\treturn linearInterpolation(phase, time, ANGLE_3, 1.0, ANGLE_2);\n\t\t}\n\t\tfloat angle = linearInterpolation(phase, constAngleTime, ANGLE_2, time, ANGLE_3);\n\t\treturn angle;\n\t}\n\n\tfloat getRowAngleByPhase(vec3 pos, float phase)\n\t{\n\t\tconst float HORIZONTAL_DELAY = 0.05;\n\t\tfloat colDelay = uDirectionIsLeft\n\t\t\t? linearInterpolation(pos.x, 0.0, 0.0, uSlideWidth, HORIZONTAL_DELAY)\n\t\t\t: linearInterpolation(pos.x, 0.0, HORIZONTAL_DELAY, uSlideWidth, 0.0);\n\n\t\tphase = linearInterpolation(phase, 0.0, colDelay, 1.0, 1.0);\n\n\t\tfloat constAngleTime = linearInterpolation(pos.y, 0.0, TIME_2, uSlideHeight, TIME_1);\n\t\tif (phase > constAngleTime)\n\t\t{\n\t\t\treturn goBack(pos.y, phase, constAngleTime);\n\t\t}\n\n\t\tfloat angle = linearInterpolation(phase, 0.0, ANGLE_1, constAngleTime, ANGLE_2);\n\t\treturn angle;\n\t}\n\n\tvec3 getVertexPosition(float phase, vec3 pos)\n\t{\n\t\tfloat R_1 = uSlideHeight;\n\t\tfloat R_2 = uSlideHeight * 0.25;\n\t\tvec2 r = vec2(linearInterpolation(pos.y, 0.0, R_1, uSlideHeight, 0.0), linearInterpolation(pos.y, 0.0, R_2, uSlideHeight, 0.0));\n\n\t\tfloat angle = getRowAngleByPhase(pos, phase);\n\t\tvec3 v = ellipse(angle, pos, vec2(0.0, 0.0), r);\n\t\treturn v;\n\t}\n\tvec3 getVertexNormal(float phase, vec3 pos)\n\t{\n\t\tconst float DELTA_W = 1.0;\n\t\tconst float DELTA_H = 1.0;\n\n\t\tfloat deltaWidth = (pos.x == uSlideWidth) ? -DELTA_W : DELTA_W;\n\t\tfloat deltaHeight = (pos.y == uSlideHeight) ? -DELTA_H : DELTA_H;\n\n\t\tvec3 right = getVertexPosition(phase, vec3(pos.x + deltaWidth, pos.y, pos.z));\n\t\tvec3 down = getVertexPosition(phase, vec3(pos.x, pos.y + deltaHeight, pos.z));\n\t\tvec3 p = getVertexPosition(phase, vec3(pos.x, pos.y, pos.z));\n\n\t\tvec3 v1 = right - p;\n\t\tvec3 v2 = down - p;\n\n\t\tvec3 n = (pos.x == uSlideWidth) ? cross(v1, v2) : cross(v2, v1);\n\n\t\treturn normalize(n);\n\t}\n\n\tvoid main(void)\n\t{\n\t\tfloat phase = uPhase;\n\t\tif (phase < START_PHASE)\n\t\t{\n\t\t\tphase = 0.0;\n\t\t}\n\t\telse if (phase > END_PHASE)\n\t\t{\n\t\t\tphase = 1.0;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tphase = linearInterpolation(phase, START_PHASE, 0.0, END_PHASE, 1.0);\n\t\t}\n\t\t\n\t\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z);\n\t\tvec4 p = vec4(getVertexPosition(phase, vertex), 1.0);\n\t\tgl_Position = uPMVMatrix * p;\n\t\tvTextureCoord = aTextureCoord;\n\n\t\tvec3 pNormal = getVertexNormal(phase, vertex);\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\t}"}; +k.Ia=function(a){this.N.uniform1f(this.tg,a);Nv(this,this.sz,this.N.TRIANGLE_STRIP)};k.gi=function(){Ov(this);this.gf=Qv(this,"uSampler");this.tg=Qv(this,"uPhase");const a=Qv(this,"uDirectionIsLeft"),b=Qv(this,"uSlideWidth");this.N.uniform1f(Qv(this,"uSlideHeight"),this.slideHeight());this.N.uniform1f(b,this.slideWidth());this.N.uniform1i(a,this.P==Vx?1:0)};k.Rh=function(){}; +k.Hd=function(){this.mg=Ex(30,30,this.slideWidth(),this.slideHeight());this.Ce=this.P==Vx?Hx(30,30):Gx(30,30);this.sz=new Wv;var a=Iv(this,cw(this.mg),3);this.sz.ug=a;a=Iv(this,dw(this.mg),2);this.sz.Bg=a;a=Jv(this,this.Ce);this.sz.gg=a};k.Qz=function(a){this.IB=Hv(this,this.N.TEXTURE0,this.Gj(),0,a,this.qL.bind(this))};k.Qh=function(){Gv(this,this.sz)};k.qL=function(a,b,c,d){a.translate(0,d);a.scale(1,-1);a.drawImage(b,0,0,c,d)};k.Gj=function(){return this.gf};var Vx=0;function at(a){R.call(this,a)}r(at,R);function Wx(a){R.call(this,a);this.lb().Ig();this.lf=!1}r(Wx,R);Wx.prototype.initialize=function(){};Wx.prototype.Ia=function(a){G(this.lb().slide(),a)};function Xx(a){R.call(this,a);this.lb().Ig()}r(Xx,R);Xx.prototype.initialize=function(){vv(this,!0);this.lf=!1;this.Ng=document.createElement("div");Oh(this.Ng,this.slideWidth());Ph(this.Ng,this.slideHeight());F(this.Ng,"backgroundColor","#000000");F(this.Ng,"position","relative");this.wa().appendChild(this.Ng)};Xx.prototype.Ia=function(a){.5>a?(G(this.Ng,1-2*(.5-a)),wv(this,!1)):(G(this.Ng,1-2*(a-.5)),wv(this,!0))};function Yx(a,b){R.call(this,a);this.P=b;this.Ma(!1,!0)}r(Yx,Av);k=Yx.prototype;k.initialize=function(){vv(this,!1);wv(this,!0);Dv(this,this.Ea);this.Hd();mat4.translate(this.mb,[-this.slideWidth()/2,-this.slideHeight()/2,0]);Vv(this)};k.Th=function(){return"precision mediump float; \n\n\tvarying vec2 vTextureCoord; \n\tvarying vec3 vNormal; \n\n\tuniform sampler2D uSampler; \n\n\tvoid main(void) \n\t{ \n\t\tvec3 n = normalize(vNormal); \n\t\tvec3 lightingDirection = vec3(0.0, 0.0, 1.0); \n\t\tfloat directionalLightWeighting = dot(n, lightingDirection); \n\t\tfloat intentsity = 0.55 + 0.45 * directionalLightWeighting; \n\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \n\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \n\t}"}; +k.Uh=function(){return"attribute vec3 aVertexPosition;\n\tattribute vec2 aTextureCoord;\n\n\tuniform mat4 uPMVMatrix;\n\tuniform mat3 uNMatrix;\n\n\tuniform float uPhase;\n\tuniform bool uDirectionIsLeft;\n\tuniform float uSlideHeight;\n\tuniform float uSlideWidth;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tconst float DELAY_ANGLE = 5.0;\n\tconst float SLIDE_WIDTH_KOEF = 0.2;\n\tconst float PI = 3.14159265358979323846264;\n\tconst vec2 CENTER = vec2(0.0, 0.0);\n\tconst float DELTA_W = 0.5;\n\tconst float DELTA_H = 0.5;\n\n\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t{\n\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t}\n\n\tvec2 ellipse(float angle, vec2 center, vec2 radius)\n\t{\n\t\tfloat ang = radians(angle);\n\t\treturn vec2((center.x + radius.x * cos(ang)), -(center.y + radius.y * sin(ang)));\n\t}\n\n\tfloat accelerationFunc(float progress)\n\t{\n\t\tfloat a = 3.0;\n\t\tfloat b = 1.0;\n\t\tfloat c = 1.0;\n\t\tfloat d = 1.0;\n\n\t\tfloat squaredProgress = progress * progress;\n\t\treturn a * squaredProgress * progress + b * squaredProgress + c * progress + d;\n\t}\n\n\tfloat getRowAngleByPhase(vec3 vertex)\n\t{\n\t\tfloat endAngle = atan(uSlideHeight * 0.5 / max(uSlideWidth, uSlideHeight)) * 180.0 / PI + 90.0 + DELAY_ANGLE * 4.0;\n\n\t\tfloat a = -0.6;\n\t\tfloat b = 2.0 + a;\n\n\t\tfloat phase = linearInterpolation(uPhase, 0.0, a, 1.0, b);\n\t\tphase = accelerationFunc(phase);\n\n\t\tfloat angle = linearInterpolation(phase, accelerationFunc(a), 0.0, accelerationFunc(b), endAngle);\n\t\tfloat rowDelayAngle = linearInterpolation(vertex.y, 0.0, DELAY_ANGLE, uSlideHeight, 0.0);\n\t\tfloat extraAngle = linearInterpolation(uPhase, 0.5, 0.0, 0.8, DELAY_ANGLE);\n\t\tfloat maxDelayAngle = DELAY_ANGLE + max(0.0, min(DELAY_ANGLE, extraAngle));\n\t\tfloat colAngle = uDirectionIsLeft\n\t\t\t? linearInterpolation(vertex.x, 0.0, maxDelayAngle * 0.5, uSlideWidth, maxDelayAngle)\n\t\t\t: linearInterpolation(vertex.x, 0.0, maxDelayAngle, uSlideWidth, maxDelayAngle * 0.5);\n\n\t\tfloat colDelayAngle = uDirectionIsLeft\n\t\t\t? linearInterpolation(vertex.x, 0.0, 0.0, uSlideWidth, colAngle)\n\t\t\t: linearInterpolation(vertex.x, 0.0, colAngle, uSlideWidth, 0.0);\n\n\n\t\treturn max(0.0, angle - rowDelayAngle - colDelayAngle);\n\t}\n\n\tvec3 getVertexPosition(vec3 vertex)\n\t{\n\t\tfloat maxXRadius = uSlideHeight;\n\t\tfloat maxYRadius = sqrt(uSlideWidth * SLIDE_WIDTH_KOEF * uSlideWidth * SLIDE_WIDTH_KOEF + uSlideHeight * uSlideHeight);\n\n\t\tfloat xRadius = linearInterpolation(vertex.y, 0.0, maxXRadius, uSlideHeight, 0.0);\n\t\tfloat yRadius = linearInterpolation(vertex.y, 0.0, maxYRadius, uSlideHeight, 0.0);\n\n\t\treturn vec3(vertex.x, ellipse(getRowAngleByPhase(vertex), CENTER, vec2(xRadius, yRadius)));\n\t}\n\n\tvec3 getVertexNormal(vec3 pos, vec3 p)\n\t{\n\t\tbool rightSideXPos = pos.x == uSlideWidth;\n\t\tfloat deltaWidth = rightSideXPos ? -DELTA_W : DELTA_W;\n\n\t\tvec3 right = getVertexPosition(vec3(pos.x + deltaWidth, pos.y, pos.z));\n\t\tvec3 down = getVertexPosition(vec3(pos.x, pos.y + DELTA_H, pos.z));\n\n\t\tvec3 v1 = right - p;\n\t\tvec3 v2 = down - p;\n\n\t\tvec3 n = rightSideXPos ? cross(v1, v2) : cross(v2, v1);\n\t\tn = normalize(n);\n\n\t\treturn n;\n\t}\n\n\tvoid main(void)\n\t{\n\t\tvTextureCoord = aTextureCoord;\n\n\t\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z);\n\t\tvec4 p = vec4(getVertexPosition(vertex), 1.0);\n\t\tgl_Position = uPMVMatrix * p;\n\n\t\tvec3 pNormal = getVertexNormal(vertex, vec3(p.xyz));\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\t}"}; +k.Ia=function(a){this.N.uniform1f(this.tg,a);Nv(this,this.ng,this.N.TRIANGLE_STRIP)};k.gi=function(){Ov(this);this.gf=Qv(this,"uSampler");this.tg=Qv(this,"uPhase");const a=Qv(this,"uDirectionIsLeft"),b=Qv(this,"uSlideWidth");this.N.uniform1f(Qv(this,"uSlideHeight"),this.slideHeight());this.N.uniform1f(b,this.slideWidth());this.N.uniform1i(a,0==this.P?1:0)};k.Rh=function(){};k.Qh=function(){Gv(this,this.ng)}; +k.Hd=function(){var a=this.slideWidth();const b=this.slideHeight();this.mg=Ex(15,15,a,b);this.Ce=Gx(15,15);this.ng=new Wv;a=Iv(this,cw(this.mg),3);this.ng.ug=a;a=Iv(this,dw(this.mg),2);this.ng.Bg=a;a=Jv(this,this.Ce);this.ng.gg=a};k.Gj=function(){return this.gf};function Zx(a,b){R.call(this,a);this.P=b;this.Ma(!1,!1,!0,!0,!0,!0)}r(Zx,R);k=Zx.prototype; +k.initialize=function(){vv(this,!1);wv(this,!1);const a=this.slideWidth(),b=this.slideHeight();var c=S(a,b);F(c,"position","absolute");this.wa().appendChild(c);c.getContext("2d").drawImage(this.IF,0,0);this.Us=c;c=S(a,b);F(c,"position","absolute");this.wa().appendChild(c);c.getContext("2d").drawImage(this.OF,0,0);this.Xs=c;this.Te=this.pc(a,b);this.wa().appendChild(this.Te);var d=S(a,b);c=S(a,b);this.hH=this.pc(a,b);this.sh=this.pc(a,b);this.rh=this.pc(a,b);this.sh.appendChild(d);this.rh.appendChild(c); +this.Te.appendChild(this.hH);this.hH.appendChild(this.sh);this.hH.appendChild(this.rh);d=d.getContext("2d");c=c.getContext("2d");d.drawImage(this.pq,0,0);c.drawImage(this.Rn,0,0);Di(this.Te,Math.max(a,b)+"px");Ei(this.Te,a/2+"px "+b/2+"px");Ci(this.hH,"preserve-3d")}; +k.Ia=function(a){const b=this.slideWidth(),c=this.slideHeight();G(this.Xs,1-a);G(this.Us,a);a=pw(0,1,a);const d=this.P==$x?1:-1,e=d*this.Q2*b*(1-a),f=-this.R2*c*(1-a),g=-Math.max(b,c)*(1-a),h=-this.OS*(1-a),l=-d*this.PS*(1-a),n=d*this.S2*(1-a);xi(this.sh,"translateZ("+Math.max(b,c)*a+"px) translateY("+c*a+"px) translateX("+-d*this.T2*b*a+"px) rotateX("+this.OS*a+"deg) rotateY("+d*this.PS*a+"deg) rotateZ("+-d*this.U2*a+"deg)");xi(this.rh,"translateZ("+g+"px) translateY("+f+"px) translateX("+e+"px) rotateX("+ +h+"deg) rotateY("+l+"deg) rotateZ("+n+"deg)")};k.pc=function(a,b){const c=zd("DIV");Oh(c,a);Ph(c,b);F(c,"position","absolute");return c};k.T2=.1;k.Q2=.5;k.R2=1.75;k.S2=30;k.U2=10;k.OS=80;k.PS=30;var $x=1;function ay(a){R.call(this,a);this.lf=!1;this.Ma(!0,!0)}r(ay,R);ay.prototype.initialize=function(){this.dH=!1;vv(this,!1);wv(this,!1);const a=this.slideWidth(),b=this.slideHeight(),c=this.qb,d=this.Ea;F(c,"position","absolute");F(d,"position","absolute");var e=this.wa(),f=this.oa()?d:c;e.appendChild(f);e=this.wa();f=this.oa()?c:d;e.appendChild(f);this.CA=S(a,b);e=this.CA.getContext("2d");this.sW=S(a,b);this.sW.getContext("2d").drawImage(c,0,0);e.drawImage(d,0,0)}; +ay.prototype.Ia=function(a){const b=this.qb,c=this.Ea;.2>a?(!this.dH&&this.oa()&&(this.dH=!0,Fd(b)),by(this,c,this.CA,a/.2)):(this.dH||this.oa()||(this.dH=!0,Fd(c)),by(this,b,this.sW,(1-a)/.8))};function by(a,b,c,d){b=b.getContext("2d");const e=a.slideWidth();a=a.slideHeight();b.drawImage(c,0,0,e,a);b.save();b.globalCompositeOperation="lighter";b.fillStyle="rgba(255, 255, 255,"+zn(d)+")";b.rect(0,0,e,a);b.fill();b.restore()};function cy(a,b,c){R.call(this,a);this.Bc=c;this.oa()?this.lb().Ig():this.uc().Ig();this.Ma(!0,!0);this.P=b}r(cy,R);cy.prototype.initialize=function(){vv(this,!1);wv(this,!1);this.Kn()}; +cy.prototype.Ia=function(a){a=pw(0,1,a);let b;if(this.Bc){var c=-this.slideWidth()/2;.5>a?(b=Y(0,0,.5,-90),this.oz=b(a),b=Y(0,0,.5,-45),this.ws=b(a),b=Y(0,0,.5,40),a=this.P==dy?"translateX("+-c+"px) translateZ("+this.oz+"px) rotateY("+this.ws+"deg) rotateX("+b(a)+"deg) translateX("+c+"px)":"translateX("+c+"px) translateZ("+this.oz+"px) rotateY("+-this.ws+"deg) rotateX("+b(a)+"deg) translateX("+-c+"px)"):.85>a?(b=Y(.5,-90,.85,0),this.oz=b(a),b=Y(.5,-45,.85,0),this.ws=b(a),b=Y(.5,40,.85,90),a=this.P== +dy?"translateX("+-c+"px) translateZ("+this.oz+"px) rotateY("+this.ws+"deg) rotateX("+b(a)+"deg) translateX("+c+"px)":"translateX("+c+"px) translateZ("+this.oz+"px) rotateY("+-this.ws+"deg) rotateX("+b(a)+"deg) translateX("+-c+"px)"):(this.oa()&&(this.ws=0),b=Y(.85,90,1,180),a="translateX("+-c+"px) rotateY("+this.ws+"deg) rotateX("+b(a)+"deg) translateX("+c+"px)");xi(this.Be,a)}else.5>a?(b=Y(0,1,.5,0),a="scaleY("+b(a)+")",G(this.Qc,1),G(this.Pc,0),xi(this.Qc,a)):(b=Y(.5,0,1,1),a="scaleY("+b(a)+")", +G(this.Pc,1),G(this.Qc,0),xi(this.Pc,a))}; +cy.prototype.Kn=function(){this.Qc=this.Ea;this.Pc=this.qb;const a=wd("DIV");this.Be=wd("DIV");const b=this.slideWidth(),c=this.slideHeight();try{Di(a,b+"px"),Ei(a,b/2+"px "+c/2+"px"),Ci(this.Be,"preserve-3d"),this.Be.appendChild(this.Qc),this.Be.appendChild(this.Pc),a.appendChild(this.Be),this.wa().appendChild(a)}catch(d){this.wa().appendChild(this.Qc),this.wa().appendChild(this.Pc)}F(this.Qc,"position","absolute");F(this.Pc,"position","absolute");Nh(this.Be,b,c);Nh(this.Qc,b,c);Nh(this.Pc,b,c); +this.Bc&&(xi(this.Qc,"translateZ(10px)"),xi(this.Pc,"rotateX(180deg)"))};var dy=1;function ey(a,b,c){R.call(this,a);this.Bc=c;this.oa()?this.lb().Ig():this.uc().Ig();this.Ma(!0,!0);this.qo=b==dy}r(ey,R); +ey.prototype.initialize=function(){vv(this,!1);wv(this,!1);this.Qc=this.Ea;this.Pc=this.qb;const a=wd("DIV");this.Be=wd("DIV");const b=this.slideWidth(),c=this.slideHeight();try{Di(a,Math.max(b,c)+"px"),Ei(a,b/2+"px "+c/2+"px"),Ci(this.Be,"preserve-3d"),Fi(this.Be,"hidden"),this.qo?(this.Be.appendChild(this.Qc),this.Be.appendChild(this.Pc)):(this.Be.appendChild(this.Pc),this.Be.appendChild(this.Qc)),a.appendChild(this.Be),this.wa().appendChild(a)}catch(d){this.qo?(this.Be.appendChild(this.Qc),this.Be.appendChild(this.Pc)): +(this.Be.appendChild(this.Pc),this.Be.appendChild(this.Qc))}F(this.Qc,"position","absolute");F(this.Pc,"position","absolute");Nh(this.Be,b,c);Nh(this.Qc,b,c);Nh(this.Pc,b,c);this.Bc&&(this.qo?xi(this.Qc,"rotateY(180deg)"):xi(this.Pc,"rotateY(180deg)"))};ey.prototype.Ia=function(a){this.Bc?this.kO(a):this.mL(a)}; +ey.prototype.kO=function(a){a=this.qo?1-a:a;const b=.25*(1-Math.cos(2*a*Math.PI));a=Dw(.63,.43)(a);const c=Math.max(this.slideWidth(),this.slideHeight());xi(this.Be,"rotateY("+-180*a+"deg)translateZ("+b*c*-.3+"px)")};ey.prototype.mL=function(a){a=Dw(.63,.43)(a);if(.5>a){var b=Y(0,1,.5,0);a="scaleX("+b(a)+")";G(this.Qc,1);G(this.Pc,0);xi(this.Qc,a)}else b=Y(.5,0,1,1),a="scaleX("+b(a)+")",G(this.Pc,1),G(this.Qc,0),xi(this.Pc,a)};function fy(a){R.call(this,a);this.Ma(!1,!0)}r(fy,Av);k=fy.prototype;k.Gj=function(){return this.gf}; +k.initialize=function(){vv(this,!1);wv(this,!0);Dv(this,this.Ea);this.N.disable(this.N.DEPTH_TEST);var a=[new V(.1806930693069307,0),new V(.3725247524752475,0),new V(.4603960396039604,0),new V(.6856435643564357,0),new V(.7673267326732673,0),new V(.8849009900990099,0),new V(.9987623762376238,.02103960396039604),new V(0,.027227722772277228),new V(0,.15841584158415842),new V(.47,.16955445544554457),new V(.4876237623762376,.16955445544554457),new V(.5284653465346535,.17202970297029702),new V(.41707920792079206, +.1745049504950495),new V(1,.18316831683168316),new V(0,.19554455445544555),new V(.6076732673267327,.2042079207920792),new V(.32,.21658415841584158),new V(.6485148514851485,.2202970297029703),new V(.7141089108910891,.22153465346534654),new V(0,.2623762376237624),new V(.275990099009901,.2908415841584158),new V(.2524752475247525,.33292079207920794),new V(.22153465346534654,.38242574257425743),new V(.8081683168316832,.41336633663366334),new V(0,.44183168316831684),new V(.18935643564356436,.46410891089108913), +new V(.4752475247524752,.47029702970297027),new V(.4665841584158416,.4715346534653465),new V(.4938118811881188,.4814356435643564),new V(.5024752475247525,.48267326732673266),new V(.5099009900990099,.4863861386138614),new V(.5123762376237624,.49133663366336633),new V(.801980198019802,.4938118811881188),new V(.5148514851485149,.49876237623762376),new V(.47896039603960394,.5),new V(.47,.5),new V(.5,.5),new V(.5148514851485149,.5012376237623762),new V(.4801980198019802,.5061881188118812),new V(.5136138613861386, +.5099009900990099),new V(.48267326732673266,.5123762376237624),new V(.5099009900990099,.5136138613861386),new V(.48514851485148514,.5148514851485149),new V(.504950495049505,.5160891089108911),new V(.48886138613861385,.5185643564356436),new V(.4938118811881188,.5185643564356436),new V(.4975247524752475,.5185643564356436),new V(.5334158415841584,.5334158415841584),new V(1,.5346534653465347),new V(.4962871287128713,.5371287128712872),new V(.47648514851485146,.5396039603960396),new V(.18811881188118812, +.568069306930693),new V(0,.6485148514851485),new V(.2537128712871287,.6534653465346535),new V(.7982673267326733,.6670792079207921),new V(.28589108910891087,.7066831683168316),new V(.775,.7351485148514851),new V(1,.7784653465346535),new V(.3341584158415842,.7945544554455446),new V(.7066831683168316,.8032178217821783),new V(0,.8106435643564357),new V(.38985148514851486,.8477722772277227),new V(.47,.8564356435643564),new V(.6150990099009901,.8601485148514851),new V(1,.943069306930693),new V(0,.9826732673267327), +new V(.21905940594059406,1),new V(.34034653465346537,1),new V(.4752475247524752,1),new V(.6596534653465347,1),new V(.8403465346534653,1),new V(0,0),new V(1,0),new V(1,1),new V(0,1)],b=new aw,c=new W(0,0,1);for(var d=0;d=1-this.Ru&&(b=!1,xi(this.Fc,"translateZ("+this.JS*(1-a)+"px) rotateY("+(1-a)/this.Ru*c*this.MS+"deg)"),this.qF||this.oa()||(this.qF=this.$v=!0));if(b||this.$v)b=this.slideWidth()+this.QS,a=this.$v?this.oa()?0:1:(a-this.Ru)/(1-2*this.Ru),this.$v&&(this.$v=!1),a=a*c*b,xi(this.Vg, +"translateX("+a+"px)"),this.oo&&xi(this.jw,"translate("+a+"px, "+(this.slideHeight()+this.Fy)+"px)"),xi(this.Tg,"translateX("+(a-c*b)+"px)"),this.oo&&xi(this.fw,"translate("+(a-c*b)+"px, "+(this.slideHeight()+this.Fy)+"px)")}};k.pc=function(a,b){const c=zd("DIV");Oh(c,a);Ph(c,b);F(c,"position","absolute");return c}; +function jy(a,b,c){b=b.getContext("2d");b.save();b.translate(0,a.slideHeight()/4);b.scale(1,-1);b.drawImage(c,0,.75*a.slideHeight(),a.slideWidth(),a.slideHeight()/4,0,0,a.slideWidth(),a.slideHeight()/4);b.restore();b.globalCompositeOperation="destination-out";c=b.createLinearGradient(a.slideWidth()/4,0,a.slideWidth()/4,a.slideHeight()/4);c.addColorStop(0,"rgba(0, 255, 0, 0)");c.addColorStop(.8,"rgba(0, 255, 0, 1)");b.fillStyle=c;b.beginPath();b.rect(0,0,a.slideWidth(),a.slideHeight()/4);b.fill()} +k.$v=!1;k.qF=!1;k.Fy=7.5;k.Ru=.3;k.MS=20;k.LS=20;k.JS=-100;k.QS=70;var ky=0,ly=1;function my(a,b,c){R.call(this,a);this.Ha=b;this.P=c;this.Ma(!0,!0)}r(my,R); +my.prototype.initialize=function(){vv(this,!1);wv(this,!1);if(this.oa())switch(this.P){case ny:this.P=oy;break;case oy:this.P=ny;break;case py:this.P=qy;break;default:this.P=py}const a=this.oa()?this.qb:this.Ea,b=this.oa()?this.Ea:this.qb;this.Ha==ry?(this.PH=16,this.aQ=8):(this.PH=16,this.aQ=12);this.B$=2*this.aQ+1;const c=this.slideWidth()/this.PH,d=c/2,e=this.slideHeight()/this.aQ,f=e/2;this.ni=this.P==py||this.P==qy?this.slideWidth():this.slideHeight();this.Jt=2*this.ni;this.wn=[];let g;const h= +-f;let l;for(let n=0;nthis.NS&&(f.cM=!0)}};function sy(a,b,c){b=S(b,c);F(b,"position","absolute");a.wa().appendChild(b);return b} +function uy(a,b,c,d,e,f){b=b.getContext("2d");b.save();b.fillStyle="#FFFFFF";dh&&(zy(a,b,c,d),b.globalCompositeOperation="destination-in");b.beginPath();const g=Math.round(.5*e),h=Math.round(.5*f);e=Math.round(e);f=Math.round(f);b.moveTo(g,-1);b.lineTo(e+1,h);b.lineTo(g,f+1);b.lineTo(-1,h);b.lineTo(g,-1);b.fill();dh||(b.globalCompositeOperation="source-in",zy(a,b,c,d));b.restore()} +function vy(a,b,c,d,e,f){b=b.getContext("2d");b.save();b.fillStyle="#FFFFFF";dh&&(zy(a,b,c,d),b.globalCompositeOperation="destination-in");const g=Math.round(.5*e)+.5;e=Math.round(e)+.5;const h=Math.round(f)+.5;b.beginPath();b.moveTo(g,-1);b.lineTo(e,Math.round(.25*f)-1);b.lineTo(e,Math.round(.75*f)+1);b.lineTo(g,h);b.lineTo(-1,Math.round(.75*f)+1);b.lineTo(-1,Math.round(.25*f)-1);b.lineTo(g,1);b.fill();dh||(b.globalCompositeOperation="source-in",zy(a,b,c,d));b.restore()} +function zy(a,b,c,d){c=Math.round(c);d=Math.round(d);b.drawImage(a,-c,-d)}function yy(a,b,c){switch(a.P){case ny:return b.Xb>=c?b.Xb-c:0;case oy:return b.Xb<=c?c-b.Xb:0;case py:return b.Wb>=c?b.Wb-c:0}return b.Wb<=c?c-b.Wb:0}my.prototype.NS=.3;my.prototype.BJ=.7;var ry=0,ny=0,oy=1,py=2,qy=3;function ty(){}k=ty.prototype;k.Wb=0;k.Xb=0;k.AV=!0;k.BV=!0;k.Wf=0;k.Fv=!0;k.NB=0;k.cM=!1;k.mF=!1;k.xj=function(a){this.Wb=a;this.Mg()};k.Tf=function(a){this.Xb=a;this.Mg()}; +function wy(a,b){a.AV=b;null!=a.CB&&G(a.CB,b?1:0);b&&a.Mg()}function xy(a,b){a.BV=b;null!=a.Pw&&G(a.Pw,b?1:0);b&&a.Mg()}k.Mg=function(){null!=this.CB&&this.AV&&Gh(this.CB,this.Wb,this.Xb);null!=this.Pw&&this.BV&&Gh(this.Pw,this.Wb,this.Xb)};function Ay(a){R.call(this,a);this.Ma(!0,!0)}r(Ay,R);Ay.prototype.initialize=function(){vv(this,!1);wv(this,!1);this.OL();this.Kn()}; +Ay.prototype.Kn=function(){const a=this.slideWidth(),b=this.slideHeight();this.jm=S(a,b);this.LM=this.jm.getContext("2d");this.$U=S(a,b);this.aV=this.$U.getContext("2d");this.YV=S(a,b);this.Wv=this.YV.getContext("2d");this.KZ=S(a,b);this.z9=this.KZ.getContext("2d");this.QF=S(a,b);this.VM=this.QF.getContext("2d");this.YU=S(a,b);this.ZU=this.YU.getContext("2d");this.Oc=S(a,b);this.jg=this.Oc.getContext("2d");this.JZ=S(a,b);this.y9=this.JZ.getContext("2d");this.wa().appendChild(this.jm);this.wa().appendChild(this.QF); +F(this.jm,"position","absolute");F(this.QF,"position","absolute")}; +Ay.prototype.Ia=function(a){var b=this.slideWidth();const c=this.slideHeight();this.LM.clearRect(0,0,b,c);this.VM.clearRect(0,0,b,c);this.jg.clearRect(0,0,b,c);this.ZU.clearRect(0,0,b,c);this.jg.drawImage(this.Ea,0,0);this.jg.save();this.jg.globalCompositeOperation="destination-in";By(this,this.ZU,this.oT,a);this.jg.drawImage(this.YU,0,0);this.jg.restore();Cy(this,this.y9,this.Ea,a/Dy,!1);this.VM.drawImage(this.Oc,0,0);this.VM.drawImage(this.JZ,0,0);if(a>Ey&&a<1-Ey){var d=Y(Ey,1,1-Ey,4),e=Y(Ey,0, +1-Ey,-30);xi(this.QF,"rotate("+e(a)+"deg) scale("+d(a)+", "+d(a)+")")}a>Fy&&(this.Wv.clearRect(0,0,b,c),this.aV.clearRect(0,0,b,c),this.Wv.drawImage(this.qb,0,0),this.Wv.save(),this.Wv.globalCompositeOperation="destination-in",By(this,this.aV,this.pT,a),this.Wv.drawImage(this.$U,0,0),this.Wv.restore(),this.LM.drawImage(this.YV,0,0),a=e.sJ&&d<=e.sJ+.05){var g=(d-e.sJ)/.05;f=e.wQ?1-g:g}else f=d{b.push(new Ry(e.element,e.id))},this);u(this.Qw,e=>{b.push(new Ry(e.element,e.id))},this);const c=[0,.005,.01,.015,.02,.025,.03,.035,.04,.045,.05,.1,.15,.2,.25,.3,.35,.4,.45,.46,.47,.48,.49,.495,.498,.499];u(c,function(e){const f=this.Lo(e);u(b,g=>{const h=f[g.id];h.Lg(e);g.Or.push(h)},this)},this);Ja(c,function(e){e=1-e;const f=this.Lo(e);u(b,g=>{const h=f[g.id];h.Lg(e);g.Or.push(h)},this)},this);this.kv=0;this.vP=b.length;let d="";u(b,function(e){d+=Sy(e); +const f=e.element;f?(f.style.animation=e.id+" "+a+"s 1 linear",f.firstElementChild&&(f.firstElementChild.style.animation=e.id+"_ "+a+"s 1 linear"),ve(f,ge,this.Hk,!1,this)):this.Hk()},this);this.$f=gn(d)};k.update=function(a){this.q5!=a&&this.Lo(a);this.q5=a};k.Hk=function(){this.kv++;this.kv==this.vP&&this.ke.C()}; +function Sy(a){let b="@keyframes "+a.id+" {\n";u(a.Or,d=>{b+=d.xR+" {transform: "+d.transform+";opacity:"+d.opacity+";z-index:"+d.zIndex+"}\n"});b+="}\n";let c="";a.Or[0].yC&&(c="@keyframes "+a.id+"_ {\n",u(a.Or,d=>{c+=d.xR+" {transform:"+d.yC+"}\n"}),c+="}\n");return b+c} +k.Lo=function(a){const b=this.Bo[0];let c=this.M8*a+1;c*=b.iD;let d=this.O8*a+1;d*=b.jD;const e=Math.round(this.D$*a)+this.C$;let f=this.G8*a;f+=b.rotation;const g=this.N8*a+1,h=this.P8*a+1;if(this.ym)var l=new Vf((this.vz.top-this.ym.top)*a+this.ym.top,(this.vz.right-this.ym.right)*a+this.ym.right,(this.vz.bottom-this.ym.bottom)*a+this.ym.bottom,(this.vz.left-this.ym.left)*a+this.ym.left);const n={};u(this.Bo,function(m){if(this.fT)var p=1;else p=1-Math.pow(a,2),.425>a&&(p=a*(1-Math.pow(.425,2)- +1)/.425+1);let t=!0,w=l;this.TU&&(this.Y3?(w=this.ym,t=!1):w=void 0);p=Ty(m,c,d,f,g,h,this.TY*a,this.X_*a,this.Y_*a,p,e,w,Uy(this,m,a,!1),t);Vy(this,p);n[m.id]=p},this);u(this.Qw,function(m,p){p=Math.min(this.Bo.length-1,p);p=this.Bo[p];const t=Wy(-p.dx,-p.dy,f,c,d),w=Wy(-m.dx,-m.dy,f,c,d);if(this.fT)var y=a;else y=1+Math.pow(a-1,3),.425Math.PI?a-=2*Math.PI:a<-Math.PI&&(a+=2*Math.PI);return a==Math.PI||a==-Math.PI?-a:a} +function Uy(a,b,c,d){var e="13"==b.b2;if(!a.Bc||e){var f=e=1;"bg"==b.type&&(c=d?2*(c-.5):2*(.5-c),a.Zp!=a.PE&&(e=c),a.Zq!=a.CH&&(f=c));a="scaleX("+e+") scaleY("+f+")"}else e=a.Zp!=a.PE,f=a.Zq!=a.CH,"bg"!=b.type||!e&&!f?a="":f&&!e?a="rotateX("+(a.Zq&&!a.CH?-1:1)*c*180+"deg)"+(d?" scaleY(-1)":""):e&&!f?a="rotateY("+(a.Zp&&!a.PE?1:-1)*c*180+"deg)"+(d?" scaleX(-1)":""):a.Zp&&!a.Zq||!a.Zp&&a.Zq?(b=pw(0,1,c),a="rotateX("+-90*pw(0,1,.5>c?2*b:2*(1-b))+"deg) rotateZ("+180*(a.Zp&&!a.Zq?1:!a.Zp&&a.Zq?-1:1)* +b+"deg)"+(d?" scaleX(-1) scaleY(-1) ":"")):(b=pw(0,1,c),a="rotateX("+90*pw(0,1,.5>c?2*b:2*(1-b))+"deg) rotateZ("+180*(a.CH&&a.PE?1:a.Zq&&a.Zp?-1:1)*b+"deg)"+(d?" scaleX(-1) scaleY(-1) ":""));return a} +function Ty(a,b,c,d,e,f,g,h,l,n,m,p,t,w){var y=new gm;y.translate(a.Dda,a.Eda);y.rotate(d,0,0);y.scale(b,c);(b=a.yj)&&(y=hm(y,b));(b=a.zk)&&(y=hm(b.clone(),y));b=new gm;b.rotate(-a.Pca,0,0);b.translate(a.dx,a.dy);b=hm(b,a.yj);hm(b,im(y));c=im(b);e="rotate("+g+"rad) "+t+(" scaleX("+e+") scaleY("+f+")");h=jm(h,l);l=rn(h)+" "+rn(c)+" "+e+" "+rn(b)+" "+rn(y);h=new My(a.element);h.transform=l;""!=a.opacity&&(n*=a.opacity);h.opacity=n;h.zIndex=m;p?(n=(1-a.se.right-a.se.left)/(1-p.right-p.left),m=(1-a.se.top- +a.se.bottom)/(1-p.top-p.bottom),h.yC=a.sI+" translate("+-(a.Dl?p.right:p.left)*a.haa*n+"px, "+-(a.Pl?p.bottom:p.top)*a.gaa*m+"px) scale("+n+", "+m+")"):w&&(h.yC=a.sI);return h}function Wy(a,b,c,d,e){const f=new Eq(a,b);f.rotate(c);f.scale(d,e);f.Ii(new Eq(a,b));return f}function Ry(a,b){this.element=a;this.id=b;this.Or=[]};function Xy(a,b){this.W5=a;this.X5=b;this.o4=Zc(Xf(a.Ya),Xf(b.Ya));a=a.Fx;b=b.Fx;let c;c=a.line!=b.line?1:0;c+=a.fill!=b.fill?1:0;c+=a.iu!=b.iu?1:0;c+=a.uu!=b.uu?1:0;c+=a.Du!=b.Du?1:0;c+=a.Iu!=b.Iu?1:0;this.m4=c+=a.Ju!=b.Ju?2:0}Xy.prototype.G0=function(){return this.o4};Xy.prototype.lI=function(){return 1E3*this.m4+this.G0()/1E3};function Yy(a,b){if(a instanceof Yy)this.Hg=a.Mc();else{var c;if(c=ka(a))a:{for(var d=c=0;d=Math.abs(this.Hg[b][c]-a.Hg[b][c])))return!1;return!0};k.T0=function(){if(this.Rd.width!=this.Rd.height)throw Error("A determinant can only be take on a square matrix");return bz(this)};k.Cl=function(){return this.Rd};function cz(a,b,c){return 0<=b&&b=b?f+1:f])},a);return c}function ez(a,b){var c=new Yy(a.Rd.height,b.Cl().width);$y(c,function(d,e,f){for(var g=d=0;g{b.forEach(g=>{dz(e.lv,f.index(),g.index(),c(f,g))})});jz(this)}function jz(a){const b=a.lv.Cl().width+1,c=[];for(let d=0;da.MM.size())for(f= +1;f<=a.WM.size()-a.MM.size();f++)if(d+1==f+a.MM.size()){d=-1;break}b.push(d)}return b}function lz(a,b){const c=[];for(let d=0;d>16&255,a>>8&255,a&255]};function oz(a,b,c){this.SM=a.content();this.JM=a.content();this.links=[];this.FF=[];this.EF=[];a=pz(this,this.JM,c);b=pz(this,this.SM,b);const d={},e={};u(a,g=>{const h=g.type;d[h]=!0;e[h]?e[h].push(g):e[h]=[g]});const f={};u(b,g=>{const h=g.type;d[h]=!0;f[h]?f[h].push(g):f[h]=[g]});this.t1=[];this.z1=[];this.s1=[];this.w1=[];u(jc(d),g=>{qz(this,f[g]||[],e[g]||[])},this)} +oz.prototype.F4=function(a,b){a=a.object();b=b.object();const c=new Xy(a,b),d=rz(a,b),e=c.W5.rotation!=c.X5.rotation;c.lI()||e||!d||(this.EF.push(sz(a,b,!1)),this.EF.push(sz(a,b,!0)));d||(this.FF.push(sz(a,b,!1)),this.FF.push(sz(a,b,!0)));return d?c.lI():1E13};function sz(a,b,c){return c?ma(b)+"_"+ma(a):ma(a)+"_"+ma(b)} +function qz(a,b,c){function d(m){const p=new hz;for(let t=0;t{tz(a, +a.z1,a.SM,m)},a);u(c,m=>{tz(a,a.t1,a.JM,m)},a);u(h,m=>{tz(a,a.w1,a.SM,m)},a);u(l,m=>{tz(a,a.s1,a.JM,m)},a)}function pz(a,b,c){return Ka(c,d=>{const e=d.Tc;if(e)return"none"!=b.querySelector(`#${e.id}`).style.display;d=d.Nl||[];return d.length?"none"!=b.querySelector(`#${d[0].id}`).style.display:!0},a)}function tz(a,b,c,d){const e=d.Tc;e&&uz(b,c,e.id);u(d.Nl,f=>{uz(b,c,f.id)},a)}function uz(a,b,c){(b=b.querySelector("#"+c))&&"none"!=b.style.display&&a.push(b)} +function rz(a,b){if(a.type!=b.type||a.text!=b.text)return!1;if("6"==a.type){if(a.pr.length!=b.pr.length)return!1;for(let c=0;cvz(d.vj,e.vj)}return!0}return a.vj&&b.vj?.0325>vz(a.vj,b.vj):!0} +function vz(a,b){const c=a.length,d=[0,0,0];for(let e=0;e{g.Tc&&b(g.Tc.id,c,g.zIndex, +this.lC);u(g.Nl,h=>{b(h.id,c,g.zIndex,this.lC)},this)},this);u(a,g=>{g.Tc&&b(g.Tc.id,d,g.zIndex,this.lC);u(g.Nl,h=>{b(h.id,d,g.zIndex,this.lC)},this)},this);this.gC=[];u(f.links,g=>{g=new Ny(this.AE,c,d,g[0],g[1],this.mu(),this.slideWidth(),this.slideHeight());g.ke.addHandler(this.Hk,this);this.gC.push(g)},this);this.Tn=this.lb().background().firstChild;this.iw()&&F(this.Tn,"top",0);this.uc().background().appendChild(this.Tn);this.Ys=f.z1;this.UM=f.w1;this.Vs=f.t1;this.KM=f.s1;this.kv=0;this.vP=this.gC.length+ +this.Vs.length+this.Ys.length+1;this.mu()&&this.SL()}r(wz,R);k=wz.prototype; +k.SL=function(){const a=this.AE;this.$f=gn("@keyframes newSlideBackground {0% {opacity:0} 100% {opacity:1}} @keyframes oldSlideObjects {0% {opacity:1} 50% {opacity:0} 100% {opacity:0}} @keyframes newSlideObjects {0% {opacity:0} 50% {opacity:0} 100% {opacity:1}}");this.Tn.style.animation="newSlideBackground "+a+"s 1 linear";G(this.Tn,1);ve(this.Tn,ge,this.Hk,!1,this);u(this.Ys,b=>{b.style.animation="oldSlideObjects "+a+"s 1 linear";G(b,0);ve(b,ge,this.Hk,!1,this)},this);u(this.Vs,b=>{b.style.animation= +"newSlideObjects "+a+"s 1 linear";G(b,1);ve(b,ge,this.Hk,!1,this)},this);u(this.UM,b=>{G(b,0)},this);u(this.KM,b=>{G(b,1)},this)};k.initialize=function(){wz.Mb.initialize.call(this)};k.Hk=function(){this.kv++;this.kv==this.vP&&this.ke.C()};k.mu=function(){const a=Modernizr.atRule("@keyframes");return Ni?!1:Ii?a:!1}; +k.Ia=function(a){if(!this.mu()){a=this.oa()?1-a:a;u(this.gC,d=>{d.update(a)},this);var b=1-Math.min(1,2*a),c=2*Math.max(0,a-.5);u(this.Ys,d=>{d&&G(d,b)},this);u(this.Vs,d=>{d&&G(d,c)},this);u(this.UM,d=>{d&&G(d,0)},this);u(this.KM,d=>{d&&G(d,1)},this);G(this.Tn,a);1<=a&&this.ke.C();fj&&yn(document.body)}}; +k.eI=function(){wz.Mb.eI.call(this);u(this.Vp,a=>{this.lb().content().firstElementChild.removeChild(a);this.uc().content().firstElementChild.appendChild(a)},this);this.Vp=[];this.$f&&Fd(this.$f);De(this.Tn,ge,this.Hk,!1,this);this.kv=0;u(this.gC,a=>{a.clear()},this);this.Tn.style.animation="";this.iw()&&F(this.Tn,"top","");u(this.Ys,a=>{a.style.animation="";G(a,1);De(a,ge,this.Hk,!1,this)},this);u(this.Vs,a=>{a.style.animation="";G(a,1);De(a,ge,this.Hk,!1,this)},this);u(this.UM,a=>{G(a,1)},this); +u(this.KM,a=>{G(a,1)},this);u(this.gC,a=>{a.ke.removeHandler(this.Hk,this)},this);u(this.lC,a=>{a.style.zIndex=""},this)};function xz(a){R.call(this,a);this.lb().Ig()}r(xz,R);xz.prototype.initialize=function(){vv(this,!0);wv(this,!0)};xz.prototype.Ia=function(a){const b=this.lb().slide();var c=this.slideWidth();const d=this.slideHeight(),e="scale("+a+") rotate("+-360*a+"deg)";c=c/2+"px "+d/2+"px";G(b,a);F(b,"MozTransform",e);F(b,"MozTransformOrigin",c);F(b,"webkitTransform",e);F(b,"webkitTransformOrigin",c);F(b,"OTransform",e);F(b,"OTransformOrigin",c);F(b,"msTransform",e);F(b,"msTransformOrigin",c)};function yz(a,b,c){this.a=a;this.b=b;this.c=c}function zz(a,b){var c=-a.b;const d=a.a,e=-c*b.x()-d*b.y();c=Az(a,new yz(c,d,e));a=2*c.x()-b.x();b=2*c.y()-b.y();return new V(a,b)}function Az(a,b){const c=a.a*b.b-b.a*a.b;return 1E-9>Math.abs(c)?null:new V((a.b*b.c-b.b)*a.c/c,(a.c*b.a-b.c*a.a)/c)}function Bz(a,b){const c=a.y()-b.y(),d=b.x()-a.x();a=a.x()*b.y()-b.x()*a.y();return new yz(c,d,a)};function Cz(a,b){R.call(this,a);this.P=b;this.Ma(!0,!0)}r(Cz,Av);k=Cz.prototype; +k.initialize=function(){vv(this,!1);wv(this,!0);Dv(this,this.Ea);var a=this.slideWidth(),b=-this.slideHeight()/2;a=a/2-.2*a;var c=3*b/4,d=Bz(new V(-a,-b),new V(a/2,-b/2)),e=Bz(new V(-a/4,-b),new V(0,0)),f=Bz(new V(a/2,-b/2),new V(a,b)),g=Bz(new V(0,0),new V(a,b/4)),h=Az(d,e),l=Az(f,g);const n=new V(Y(0,.5,a,.8)(l.x()),Y(0,.5,b,1)(l.y())),m=new V(Y(-a,.2,0,.5)(h.x()),Y(-b,0,0,.5)(h.y()));var p=new W(5*a/8,3*-b/8,-(10*c/16));const t=new W(-a/8,-b/2,15*-c/32),w=new W(a/2,b/8,15*-c/32);var y=new W(5* +-a/8,5*-b/16,9*-c/8),D=new W(a/2,b/4,5*-c/6),I=new W(-a/10,b/10,-c),A=new W(4*-a/8,-b/8,3*-c/16),J=new W(-a/16,5*b/8,3*-c/16),T=new W(5*a/16,5*b/8,-c),U=new W(14*-a/32,4*-b/8,0),X=new W(4*a/8,23*b/32,0),aa=new W(5*-a/16,3*-b/16,-c/4),ha=new W(3*a/16,5*b/16,0);e=new W(3*-a/4,3*b/4,0);f=new Dz(new W(a,-b,0),new W(15*a/16,9*-b/16,-c),new V(.8,0));g=new Dz(new W(7*a/8,7*-b/8,0),new W(9*a/12,-b/2,-(46*c/48)),new V(.7625,.0625));d=new Dz(new W(a/2,-b,0),new W(6*a/9,8*-b/12,47*-c/48),new V(.65,0));c=new Dz(new W(a, +-b/2,0),new W(19*a/24,4*-b/9,47*-c/48),new V(.8,.25));var ra=new Dz(new W(a/2,-b/2,0),p,new V(.65,.25));h=new Dz(new W(h.x(),h.y(),0),t,new V(m.x(),m.y()));l=new Dz(new W(l.x(),l.y(),0),w,new V(n.x(),n.y()));p=new Dz(new W(-a/4,-b,0),p,new V(.425,0));D=new Dz(new W(a,b/4,0),D,new V(.8,.625));I=new Dz(new W(0,0,0),I,new V(.5,.5));A=new Dz(new W(-a/2,-b/2,0),A,new V(.35,.25));J=new Dz(new W(a/2,b/2,0),J,new V(.65,.75));y=new Dz(new W(-a,-b,0),y,new V(.2,0));T=new Dz(new W(a,b,0),T,new V(.8,1));U=new Dz(new W(-a, +-b/2,0),U,new V(.2,.25));X=new Dz(new W(a/2,b,0),X,new V(.65,1));aa=new Dz(new W(-a/2,0,0),aa,new V(.35,.5));ha=new Dz(new W(0,b/2,0),ha,new V(.5,.75));b=new Dz(new W(-a,b,0),e,new V(.2,1));this.Nj=[f,f,g,g,d,c,g,g,d,c,ra,ra,d,c,h,l,ra,ra,d,c,h,l,p,D,ra,ra,h,l,I,I,h,l,I,I,A,J,h,l,p,D,y,T,h,l,A,J,y,T,I,I,aa,ha,A,J,A,J,y,T,U,X,A,J,U,X,aa,ha,I,I,aa,ha,b,b,aa,ha,U,X,b,b];if(this.P==Ez){b=[];a=this.slideHeight();a=Bz(new V(0,-a/2),new V(0,a/2));for(f=0;f=a?Jz(this,a):.2>=a?(d=Y(.1,.1,.2,1),a=d(a),Mv(this,-60*a,[1,0,0],[0,0,0]),mat4.translate(this.mb,[0,0,20*-a]),this.Xk=Gz(a,this.Nj),Mv(this,-15*c*a,[0,0,1],[0,0,0])):.4>=a?(this.Xk=Gz(1,this.Nj),Mv(this,-60,[1,0,0],[0,0,0]),Mv(this,-15*c,[0,0,1],[0,0,0]),mat4.translate(this.mb,[0,0,-20]),d=Y(.2,0,.4,1),a=Math.pow(d(a),3),mat4.translate(this.mb,[0,0,-a*b/20])):.5>a?(this.Xk=Gz(1,this.Nj), +Mv(this,-60,[1,0,0],[0,0,0]),Mv(this,-15*c,[0,0,1],[0,0,0]),mat4.translate(this.mb,[0,0,-(20+b/20)]),d=Y(.4,0,.5,1),a=d(a),mat4.translate(this.mb,[0,0,-a*b/30]),Kz(a,this.Nj,this.Xk,8)):(this.Xk=Gz(1,this.Nj),Mv(this,-60,[1,0,0],[0,0,0]),Mv(this,-15*c,[0,0,1],[0,0,0]),mat4.translate(this.mb,[0,0,-(20+b/20+b/30)]),d=Y(.5,0,1,1),a=d(a),Kz(a,this.Nj,this.Xk,40),a=pw(0,1,a),mat4.translate(this.mb,[c*a*b,a*b/2,a*b/2]),Mv(this,-30*c*a,[0,0,1],[0,0,0]),Mv(this,-60*c*a,[0,1,0],[0,0,0]));Vv(this);Nv(this, +this.BX,this.N.TRIANGLES,this.$L.bind(this),this.YL.bind(this));Kv(this)};k.$L=function(){this.N.bufferSubData(this.N.ARRAY_BUFFER,0,new Float32Array(cw(this.Xk)))};k.YL=function(){Rv(this.Xk,this.CN);this.N.bufferSubData(this.N.ARRAY_BUFFER,0,new Float32Array(kw(this.Xk)))}; +function Jz(a,b){var c=Y(0,0,.1,.1);a.Xk=Gz(c(b),a.Nj);Mv(a,-60*c(b),[1,0,0],[0,0,0]);c=Y(0,0,.1,1);a.jA=Gz(c(b),a.pM);a.lB=Gz(c(b),a.pO);Vv(a);Nv(a,a.MV,a.N.TRIANGLES,ta(function(){this.N.bufferSubData(this.N.ARRAY_BUFFER,0,new Float32Array(cw(this.jA)))},a),ta(function(){Rv(this.jA,this.oM);this.N.bufferSubData(this.N.ARRAY_BUFFER,0,new Float32Array(kw(this.jA)))},a));Nv(a,a.OY,a.N.TRIANGLES,ta(function(){this.N.bufferSubData(this.N.ARRAY_BUFFER,0,new Float32Array(cw(this.lB)))},a),ta(function(){Rv(this.lB, +this.oO);this.N.bufferSubData(this.N.ARRAY_BUFFER,0,new Float32Array(kw(this.lB)))},a))} +function Kz(a,b,c,d){void 0===d&&(d=50);const e=[new Lz([0,1],0,0,-5),new Lz([2,3,6,7],0,0,-5),new Lz([4,8,12,18],0,0,-5),new Lz([5,9,13,19],0,0,-5),new Lz([20,14,26,30,42,36],0,0,15),new Lz([15,21,37,43,31,27],0,0,15),new Lz([44,34,52,60,54],0,0,20),new Lz([35,45,55,61,53],0,0,20),new Lz([40,46,56],0,0,30),new Lz([41,47,57],20,20,30),new Lz([58,62,74],20,20,15),new Lz([75,63,59],0,0,15),new Lz([76,70,71,77],0,0,-20)];for(let p=0;p= 0.0 && phase <= CHANGE_PHASE)\n\t\t{\n\t\t\tangle = -ANGLE * (phase + (PHASE_OFFSET_FUNC1(x) * PHASE_FUNC(phase)));\n\t\t}\n\t\telse\n\t\t{\n\t\t\tangle = -ANGLE * (phase + PHASE_OFFSET_FUNC1(x));\n\t\t}\n\t\treturn max(angle, -ANGLE);\n\t}\n\n\tvec2 getPosition(float x)\n\t{\n\t\tfloat a = uSlideWidth * 0.5 * C_FUNC1(x);\n\t\tfloat b = a * COEF_1;\n\t\tvec2 center = vec2(uSlideWidth * 0.5, 0.0);\n\t\tfloat angle = getAngleInDoubleLeft(x, uPhase);\n\n\t\tvec2 pos = ellipse(angle, center, vec2(a, b));\n\t\tpos.y = pos.y - (b * C_FUNC1(x) * PHASE_FUNC1(uPhase));\n\t\tpos.y = max(pos.y, 1.0);\n\t\treturn pos;\n\t}\n\n\tvoid main(void)\n\t{\n\t\tvec3 pNormal;\n\t\tfloat x = aVertexPosition.x;\n\t\tif (x <= uSlideWidth * 0.5)\n\t\t{\n\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\n\t\t\tpNormal = vec3(0.0, 0.0, 1.0);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tvec2 pos = getPosition(x);\n\t\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y);\n\t\t\tgl_Position = uPMVMatrix * vec4(v, 1.0);\n\n\t\t\tfloat nextX = x + uDeltaX;\n\t\t\tvec2 pr = getPosition(nextX);\n\t\t\tpNormal = getNormal(v, pr);\n\t\t}\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\t\tvTextureCoord = aTextureCoord;\n\t}";case 1:return"\n\tfloat C_FUNC2(float x)\n\t{\n\t\treturn linearInterpolation(x, 0.0, 1.0, uSlideWidth * 0.5, 0.0);\n\t}\n\tfloat PHASE_OFFSET_FUNC2(float x)\n\t{\n\t\treturn linearInterpolation(x, 0.0, 0.0, uSlideWidth * 0.5, PHASE_OFFSET);\n\t}\n\n\tfloat getAngleInDoubleRight(float x, float phase)\n\t{\n\t\tfloat angle;\n\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE)\n\t\t{\n\t\t\tangle = ANGLE * (1.0 + phase + (PHASE_OFFSET_FUNC2(x) * PHASE_FUNC(phase)));\n\t\t}\n\t\telse\n\t\t{\n\t\t\tangle = ANGLE * (1.0 + phase + PHASE_OFFSET_FUNC2(x));\n\t\t}\n\t\treturn min(angle, ANGLE * 2.0);\n\t}\n\n\tvec2 getPosition(float x)\n\t{\n\t\tfloat a = uSlideWidth * 0.5 * C_FUNC2(x);\n\t\tfloat b = a * COEF_1;\n\t\tvec2 center = vec2(uSlideWidth * 0.5, 0.0);\n\t\tfloat angle = getAngleInDoubleRight(x, uPhase);\n\n\t\tvec2 pos = ellipse(angle, center, vec2(a, b));\n\t\tpos.y = pos.y - (b * C_FUNC2(x) * PHASE_FUNC1(uPhase));\n\t\tpos.y = max(pos.y, 1.0);\n\t\treturn pos;\n\t}\n\n\tvoid main(void)\n\t{\n\t\tvec3 pNormal;\n\t\tfloat x = aVertexPosition.x;\n\t\tif (x >= uSlideWidth * 0.5)\n\t\t{\n\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\n\t\t\tpNormal = vec3(0.0, 0.0, 1.0);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tvec2 pos = getPosition(x);\n\t\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y);\n\t\t\tgl_Position = uPMVMatrix * vec4(v, 1.0);\n\n\t\t\tfloat nextX = x + uDeltaX;\n\t\t\tvec2 pr = getPosition(nextX);\n\t\t\tpNormal = getNormal(v, pr);\n\t\t}\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\t\tvTextureCoord = aTextureCoord;\n\t}"; +case 2:return"\n\tfloat C_FUNC3(float x)\n\t{\n\t\treturn linearInterpolation(x, 0.0, 0.0, uSlideWidth, 1.0);\n\t}\n\n\tfloat PHASE_OFFSET_FUNC3(float x)\n\t{\n\t\treturn linearInterpolation(x, 0.0, 0.0, uSlideWidth, PHASE_OFFSET);\n\t}\n\n\tfloat getAngleInSingleLeft(float x, float phase)\n\t{\n\t\tfloat angle;\n\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE)\n\t\t{\n\t\t\tangle = -ANGLE * (phase - (PHASE_OFFSET_FUNC3(x) * PHASE_FUNC(phase)));\n\t\t}\n\t\telse\n\t\t{\n\t\t\tangle = -ANGLE * (phase - PHASE_OFFSET_FUNC3(x));\n\t\t}\n\t\treturn min(angle, 0.0);\n\t}\n\n\tvec2 getPosition(float x)\n\t{\n\t\tfloat a = uSlideWidth * C_FUNC3(x);\n\t\tfloat b = a * COEF_2;\n\t\tvec2 center = vec2(0.0, 0.0);\n\t\tfloat angle = getAngleInSingleLeft(x, uPhase);\n\n\t\tvec2 pos = ellipse(angle, center, vec2(a, b));\n\t\tpos.y = pos.y - (b * C_FUNC3(x) * PHASE_FUNC2(uPhase));\n\t\tpos.y = max(pos.y, 0.0);\n\t\treturn pos;\n\t}\n\n\tvoid main(void)\n\t{\n\t\tvec2 pos = getPosition(aVertexPosition.x);\n\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y);\n\t\tgl_Position = uPMVMatrix * vec4(v, 1.0);\n\t\tvTextureCoord = aTextureCoord;\n\n\t\tfloat nextX = aVertexPosition.x + uDeltaX;\n\t\tvec2 pr = getPosition(nextX);\n\t\tvec3 pNormal = getNormal(v, pr);\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\t}"; +case 3:return"\n\tfloat C_FUNC4(float x)\n\t{\n\t\treturn linearInterpolation(x, 0.0, 1.0, uSlideWidth, 0.0);\n\t}\n\n\tfloat PHASE_OFFSET_FUNC4(float x)\n\t{\n\t\treturn linearInterpolation(x, 0.0, PHASE_OFFSET, uSlideWidth, 0.0);\n\t}\n\n\tfloat getAngleInSingleRight(float x, float phase)\n\t{\n\t\tfloat angle;\n\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE)\n\t\t{\n\t\t\tangle = ANGLE * (1.0 + phase - (PHASE_OFFSET_FUNC4(x) * PHASE_FUNC(phase)));\n\t\t}\n\t\telse\n\t\t{\n\t\t\tangle = ANGLE * (1.0 + phase - PHASE_OFFSET_FUNC4(x));\n\t\t}\n\t\treturn max(angle, ANGLE);\n\t}\n\n\tvec2 getPosition(float x)\n\t{\n\t\tfloat a = uSlideWidth * C_FUNC4(x);\n\t\tfloat b = a * COEF_2;\n\t\tvec2 center = vec2(uSlideWidth, 0.0);\n\t\tfloat angle = getAngleInSingleRight(x, uPhase);\n\n\t\tvec2 pos = ellipse(angle, center, vec2(a, b));\n\t\tpos.y = pos.y - (b * C_FUNC4(x) * PHASE_FUNC2(uPhase));\n\t\tpos.y = max(pos.y, 0.0);\n\t\treturn pos;\n\t}\n\n\tvoid main(void)\n\t{\n\t\tvec2 pos = getPosition(aVertexPosition.x);\n\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y);\n\t\tgl_Position = uPMVMatrix * vec4(v, 1.0);\n\t\tvTextureCoord = aTextureCoord;\n\n\t\tfloat nextX = aVertexPosition.x + uDeltaX;\n\t\tvec2 pr = getPosition(nextX);\n\t\tvec3 pNormal = getNormal(v, pr);\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\t}"; +default:throw Error("Unknown transition page curl type");}}k.Hd=function(){var a=this.slideWidth();const b=this.slideHeight();this.mg=Ex(2,40,a,b);this.Ce=Gx(2,40);this.RA=new Wv;a=Iv(this,cw(this.mg),3);this.RA.ug=a;a=Iv(this,dw(this.mg),2);this.RA.Bg=a;a=Jv(this,this.Ce);this.RA.gg=a};function Oz(a,b,c){R.call(this,a);this.P=b;this.dK=c}r(Oz,R);Oz.prototype.initialize=function(){vv(this,!0);wv(this,!0);this.lb().Ig();this.lf=!1;var a=this.wa(),b=this.uc().content();a.appendChild(b);a=this.wa();b=this.lb().content();a.appendChild(b)}; +Oz.prototype.Ia=function(a){const b=this.slideWidth(),c=this.slideHeight();var d=0,e=0;let f=0,g=0;this.P==Pz||this.P==Qz?(d=this.P==Pz?1:-1,f=this.P==Pz?-1:1):(e=this.P==Rz?1:-1,g=this.P==Rz?-1:1);const h=this.dK?Fw(0,.7,7,a):Ew(a);d=Math.floor(h*d*b);e=Math.floor(h*e*c);Gh(this.uc().content(),d,e);Gh(this.lb().content(),f*b+d,g*c+e);G(this.lb().background(),a)};var Rz=0,Qz=1,Pz=2;function Sz(a,b){R.call(this,a);this.P=b;this.Ma(!1,!0)}r(Sz,Av);k=Sz.prototype;k.initialize=function(){vv(this,!1);wv(this,!0);Dv(this,this.Ea);this.Hd();mat4.translate(this.mb,[(this.P==Tz?-1:1)*this.slideWidth()/2,this.slideHeight()/2,0]);Vv(this)};k.Th=function(){return"precision mediump float;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tuniform sampler2D uSampler;\n\n\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\tconst float AMBIENT_INTENSITY = 0.4;\n\tconst float DIFFUSE_INTENSITY = 0.6;\n\n\tvoid main(void) \n\t{ \n\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \n\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \n\t}"}; +k.Uh=function(){return"attribute vec3 aVertexPosition;\n\tattribute vec2 aTextureCoord;\n\n\tuniform mat4 uPMVMatrix;\n\tuniform mat3 uNMatrix;\n\n\tuniform float uPhase;\n\tuniform bool uDirectionIsLeft;\n\tuniform float uSlideHeight;\n\tuniform float uSlideWidth;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tconst float ANGLE = 45.0;\n\tconst float PI = 3.14159265358979323846264;\n\n\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t{\n\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t}\n\n\tmat4 rotationZmatrix(float angle)\n\t{\n\t \tfloat ang = radians(angle);\n\t \tfloat cosA = cos(ang);\n\t \tfloat sinA = sin(ang);\n\n\t \tmat4 m = mat4(1.0);\n\t \tm[0] = vec4(cosA, sinA, 0, 0);\n\t \tm[1] = vec4(-sinA, cosA, 0, 0);\n\t \treturn m;\n\t}\n\n\tvec3 getOriginPos(vec3 pos)\n\t{\n\t\tvec3 v = vec3(pos.x, pos.y, 0.0);;\n\t\tmat4 m;\n\n\t\tvec2 p;\n\t\tif (uDirectionIsLeft)\n\t\t{\n\t\t\tm = rotationZmatrix(ANGLE);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tv.x = pos.x - uSlideWidth;\n\t\t\tm = rotationZmatrix(-ANGLE);\n\t\t}\n\t\tv = (m * vec4(v.xyz, 1.0)).xyz;\n\t\treturn vec3(v.x, v.y, 0.0);\n\t}\n\n\tfloat calcX(float phase, float u, float r, float maxSide)\n\t{\n\t\tfloat coeff = (u < 0.0) ? -1.0 : 1.0;\n\t\tfloat centerX = linearInterpolation(phase, 0.0, maxSide, 1.0, 0.0);\n\t\tfloat m = PI * r;\n\n\t\tif (centerX > coeff * u)\n\t\t{\n\t\t\treturn u;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tfloat a = 180.0 * (maxSide - centerX) / (PI * r);\n\t\t\tfloat b = linearInterpolation(coeff * u, centerX, -90.0, maxSide + 1.0, a - 90.0);\n\n\t\t\tif (coeff * u >= centerX + m)\n\t\t\t{\n\t\t\t\treturn coeff * (centerX - (coeff * u - centerX - m));\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfloat ang = b * PI / 180.0;\n\t\t\t\treturn coeff * (centerX + r * cos(ang));\n\t\t\t}\n\t\t}\n\t}\n\n\tfloat calcY(float phase, float u, float r, float maxSide)\n\t{\n\t\tu = abs(u);\n\n\t\tfloat centerX = linearInterpolation(phase, 0.0, maxSide, 1.0, 0.0);\n\t\tfloat centerY = r;\n\n\t\tfloat m = PI * r;\n\t\tif (centerX >= u)\n\t\t{\n\t\t\treturn 0.0;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tif (u > centerX + m)\n\t\t\t{\n\t\t\t\treturn linearInterpolation(u, centerX + m, r * 2.0, centerX + m + m, r * 2.5);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfloat a = 180.0 * (maxSide - centerX) / (PI * r);\n\t\t\t\tfloat b = linearInterpolation(u, centerX, -90.0, maxSide+1.0, a - 90.0);\n\n\t\t\t\tfloat ang = b * PI / 180.0;\n\t\t\t\treturn centerY + r * sin(ang);\n\t\t\t}\n\t\t}\n\t}\n\n\tvec3 getVertexPosition(float phase, vec3 pos)\n\t{\n\t\tvec3 originPos = getOriginPos(pos);\n\t\tfloat maxSide = sqrt(uSlideWidth * uSlideWidth + uSlideHeight * uSlideHeight);\n\n\t\tfloat r = max(uSlideWidth, uSlideHeight) / 4.0;\n\t\tvec3 v = vec3(calcX(phase, originPos.x, r, maxSide), originPos.y, calcY(phase, originPos.x, r, maxSide));\n\n\t\tmat4 m;\n\t\tif (uDirectionIsLeft)\n\t\t{\n\t\t\tm = rotationZmatrix(-ANGLE);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tm = rotationZmatrix(ANGLE);\n\t\t}\n\n\t\treturn (m * vec4(v.xyz, 1.0)).xyz;\n\t}\n\n\tvec3 getVertexNormal(float phase, vec3 pos)\n\t{\n\t\tconst float DELTA_W = 1.0;\n\t\tconst float DELTA_H = 1.0;\n\n\t\tvec3 right = getVertexPosition(phase, vec3(pos.x + DELTA_W, pos.y, pos.z));\n\t\tvec3 down = getVertexPosition(phase, vec3(pos.x, pos.y + DELTA_H, pos.z));\n\t\tvec3 p = getVertexPosition(phase, vec3(pos.x, pos.y, pos.z));\n\n\t\tvec3 v1 = right - p;\n\t\tvec3 v2 = down - p;\n\n\t\treturn normalize(cross(v2, v1));\n\t}\n\n\tvoid main(void)\n\t{\n\t\tfloat phase = uPhase;\n\t\tvec3 vertex = vec3(aVertexPosition.x, aVertexPosition.y, aVertexPosition.z);\n\t\tvec4 p = vec4(getVertexPosition(phase, vertex), 1.0);\n\t\tgl_Position = uPMVMatrix * p;\n\t\tvTextureCoord = aTextureCoord;\n\n\t\tvec3 pNormal = getVertexNormal(phase, vertex);\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\t}"}; +k.Ia=function(a){a=Y(0,0,1,1.2)(a);this.N.uniform1f(this.tg,a);Nv(this,this.ng,this.N.TRIANGLE_STRIP)};k.gi=function(){Ov(this);this.gf=Qv(this,"uSampler");this.tg=Qv(this,"uPhase");const a=Qv(this,"uDirectionIsLeft"),b=Qv(this,"uSlideWidth");this.N.uniform1f(Qv(this,"uSlideHeight"),this.slideHeight());this.N.uniform1f(b,this.slideWidth());this.N.uniform1i(a,this.P==Tz?1:0)};k.Rh=function(){}; +k.Hd=function(){this.mg=Ex(30,30,this.slideWidth(),this.slideHeight());this.Ce=Gx(30,30);this.ng=new Wv;var a=Iv(this,cw(this.mg),3);this.ng.ug=a;a=Iv(this,dw(this.mg),2);this.ng.Bg=a;a=Jv(this,this.Ce);this.ng.gg=a};k.Gj=function(){return this.gf};k.Qh=function(){Gv(this,this.ng)};var Tz=0;function Uz(a){R.call(this,a);this.Ma(!1,!0)}r(Uz,Av);k=Uz.prototype;k.initialize=function(){vv(this,!1);wv(this,!0);Dv(this,this.Ea);this.Hd();mat4.translate(this.mb,[-this.slideWidth()/2,this.slideHeight()/2,0]);Vv(this)};k.sS=function(){if(void 0!==Vz)return Vz;this.Hs();return Vz=this.Kq};k.Hs=function(){void 0===this.N&&Uz.Mb.Hs.call(this)};k.Ia=function(a){this.N.uniform1f(this.tg,a);Nv(this,this.ng,this.N.TRIANGLE_STRIP)}; +k.Hd=function(){this.mg=Ex(10,35,this.slideWidth(),this.slideHeight());this.Ce=Gx(10,35);this.ng=new Wv;var a=Iv(this,cw(this.mg),3);this.ng.ug=a;a=Iv(this,dw(this.mg),2);this.ng.Bg=a;a=Jv(this,this.Ce);this.ng.gg=a};k.Qh=function(){Gv(this,this.ng)};k.gi=function(){Ov(this);this.gf=Qv(this,"uSampler");this.tg=Qv(this,"uPhase");const a=Qv(this,"uSlideWidth");this.N.uniform1f(Qv(this,"uSlideHeight"),this.slideHeight());this.N.uniform1f(a,this.slideWidth())};k.Rh=function(){};k.Gj=function(){return this.gf}; +k.Th=function(){return"precision mediump float;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tuniform sampler2D uSampler;\n\n\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\tconst float AMBIENT_INTENSITY = 0.3;\n\tconst float DIFFUSE_INTENSITY = 0.7;\n\n\tvoid main(void)\n\t{\n\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord);\n\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a);\n\t}"}; +k.Uh=function(){return"attribute vec3 aVertexPosition;\n\tattribute vec3 aVertexNormal;\n\tattribute vec2 aTextureCoord;\n\n\tuniform mat4 uPMVMatrix;\n\tuniform mat3 uNMatrix;\n\n\tuniform float uPhase;\n\tuniform float uSlideHeight;\n\tuniform float uSlideWidth;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tconst float START_EFFECT_TIME = 0.0;\n\tconst float START_FLY_EFFECT_TIME = 0.4;\n\tconst float STOP_FLY_EFFECT_TIME = 0.8;\n\tconst float START_TOP_CENTER = 0.0;\n\tconst float START_TOP_CORNERS_TIME = 0.1;\n\tconst float START_BOTTOM_CORNERS_TIME = 0.0;\n\n\tconst float HORIZONTAL_WAVES_COUNT = 3.0;\n\tfloat HORIZONTAL_MAX_AMPLITUDE;\n\tconst float HORIZONTAL_WAVE_RUNNING_START_TIME = 0.0;\n\n\tconst float MAX_FLEX_DELAY = 0.1;\n\n\tfloat MAX_STRETCHING_Z;\n\tfloat MAX_STRETCHING_Y;\n\tfloat HORIZONTAL_TOP_STRETCHING;\n\tfloat VERTICAL_TOP_STRETCHING;\n\n\tconst float PI = 3.141592654;\n\n\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t{\n\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t}\n\tvec2 getMirrorPoint(vec2 a, vec2 b, vec2 p)\n\t{\n\t\treturn a + reflect(a - p, b - a);\n\t}\n\tfloat calcCenterWave(float x, float phase, float A, float F, float dx, float dy)\n\t{\n\t\tfloat CENTER_LINE_POS = uSlideWidth * 0.5;\n\t\tfloat startX = CENTER_LINE_POS;\n\t\tif (x < startX)\n\t\t{\n\t\t\tx = getMirrorPoint(vec2(CENTER_LINE_POS, 0), vec2(CENTER_LINE_POS , uSlideHeight), vec2(x, 0)).x;\n\t\t}\n\t\tfloat s = linearInterpolation(phase, 0.0, startX, 1.0, uSlideWidth);\n\t\tif ((x < startX) || (x < s))\n\t\t{\n\t\t\treturn 0.0;\n\t\t}\n\t\tfloat x0 = - linearInterpolation(phase, 0.0, 2.0 * PI * startX / uSlideWidth * HORIZONTAL_WAVES_COUNT, 1.0, PI * 2.0 * HORIZONTAL_WAVES_COUNT);\n\t\treturn A + A * sin(F * x +-PI / 2.0 + x0);\n\t}\n\tfloat getColWaveDelay(float phase, vec3 pos)\n\t{\n\t\tphase = linearInterpolation(phase, HORIZONTAL_WAVE_RUNNING_START_TIME, 0.0, 1.0, 1.0);\n\t\tfloat MAX_AMPLITUDE = linearInterpolation(phase, 0.0, 0.0, 1.0, HORIZONTAL_MAX_AMPLITUDE);\n\t\tfloat A = linearInterpolation(pos.y, 0.0, 0.0, uSlideHeight, MAX_AMPLITUDE);\n\t\tfloat F = (PI * 2.0 / uSlideWidth) * HORIZONTAL_WAVES_COUNT;\n\t\treturn calcCenterWave(pos.x, phase, A, F, 0.0, 0.0);\n\t}\n\tvec3 getVertexPosition(float phase, vec3 pos)\n\t{\n\t\tfloat CENTER = uSlideWidth * 0.5;\n\t\tphase = pow(phase, 4.0);\n\t\tfloat modifiedPhase = phase;\n\n\t\tfloat deltaZVertical = linearInterpolation(abs(pos.y), 0.0, 1.0, uSlideHeight / 2.0, 0.0);\n\t\tif (abs(pos.y) > uSlideHeight * 0.5)\n\t\t{\n\t\t\tdeltaZVertical = 0.0;\n\t\t}\n\t\tbool isLeft = (pos.x < CENTER);\n\t\tfloat stretch;\n\t\tfloat yDelay;\n\t\tvec3 delta = vec3(0, 0, 0);\n\t\tif (modifiedPhase > START_TOP_CENTER)\n\t\t{\n\t\t\tif (isLeft)\n\t\t\t{\n\t\t\t\tyDelay = linearInterpolation(pos.x, 0.0, MAX_FLEX_DELAY, CENTER, 0.0);\n\t\t\t\tstretch = linearInterpolation(pos.x, 0.0, 0.0, CENTER, 1.0);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tyDelay = linearInterpolation(pos.x, CENTER, 0.0, uSlideWidth, MAX_FLEX_DELAY);\n\t\t\t\tstretch = linearInterpolation(pos.x, CENTER, 1.0, uSlideWidth, 0.0);\n\t\t\t}\n\t\t\tfloat deltaZHorizontal = pow(stretch, 3.0);\n\t\t\tmodifiedPhase = linearInterpolation(modifiedPhase, START_TOP_CENTER, 0.0, 1.0, 1.0);\n\t\t\tif (modifiedPhase >= yDelay)\n\t\t\t{\n\t\t\t\tdelta.y = linearInterpolation(modifiedPhase, yDelay, 0.0, 1.0, MAX_STRETCHING_Y * deltaZHorizontal * deltaZVertical);\n\t\t\t\tdelta.z = linearInterpolation(modifiedPhase, yDelay, 0.0, 1.0, MAX_STRETCHING_Z * deltaZHorizontal * deltaZVertical);\n\t\t\t}\n\t\t\tdelta.y = -delta.y;\n\t\t}\n\t\tif (phase > HORIZONTAL_WAVE_RUNNING_START_TIME)\n\t\t{\n\t\t\tdelta.z += getColWaveDelay(phase, pos);\n\t\t}\n\t\treturn pos - delta;\n\t}\n\tfloat getPower(float h1, float h2, float v1, float v2, vec2 pos, float max2)\n\t{\n\t float a1 = min(max(linearInterpolation(pos.x, h1, 1.0, h2, 0.0), 0.0), 1.0);\n\t float a2 = linearInterpolation(pos.y, v1, 1.0, v2, max2);\n\t return a1 * a2;\n\t}\n\tvec3 updateVertex(float phase, vec3 translation)\n\t{\n\t\tfloat pPhase = phase;\n\t\tvec3 delta = vec3(0, 0, 0);\n\t\tvec3 v0 = getVertexPosition(phase, aVertexPosition);\n\n\t\tif (phase > START_TOP_CORNERS_TIME)\n\t\t{\n\t\t\tpPhase = linearInterpolation(phase, START_TOP_CORNERS_TIME, 0.0, 1.0, 1.0);\n\t\t\tpPhase = pow(pPhase, 4.0);\n\n\t\t\tfloat p1 = getPower(0.0, uSlideWidth * 0.5, 0.0, uSlideHeight, v0.xy, 2.0);\n\t\t\tfloat p2 = getPower(uSlideWidth, uSlideWidth * 0.5, 0.0, uSlideHeight, v0.xy, 2.0);\n\n\t\t\tdelta += vec3(p2 - p1, -p1 - p2, 0) * vec3(HORIZONTAL_TOP_STRETCHING, VERTICAL_TOP_STRETCHING, 0) * vec3(pPhase, pPhase, 0);\n\t\t}\n\t\tif (phase > START_BOTTOM_CORNERS_TIME)\n\t\t{\n\t\t\tpPhase = linearInterpolation(phase, START_BOTTOM_CORNERS_TIME, 0.0, 1.0, 1.0);\n\t\t\tpPhase = pow(pPhase, 4.0);\n\n\t\t\tfloat p1 = getPower(0.0, uSlideWidth * 0.25, uSlideHeight, 0.0, v0.xy, 0.0);\n\t\t\tfloat p2 = getPower(uSlideWidth, uSlideWidth * 0.75, uSlideHeight, 0.0, v0.xy, 0.0);\n\n\t\t\tdelta += vec3(0.5, 1, 0.25) * vec3(p2 - p1, p2, p2) * vec3(uSlideWidth, uSlideHeight, uSlideHeight) * vec3(pPhase, pPhase, pPhase);\n\t\t}\n\t\tdelta.y = -min(uSlideHeight * 0.75, abs(delta.y));\n\t\treturn (translation + v0 + delta);\n\t}\n\tvec3 getPosition(float phase, vec3 pos)\n\t{\n\t \tfloat maxSide = sqrt(uSlideHeight * uSlideHeight + (uSlideWidth * 0.5) * (uSlideWidth * 0.5)) * 2.0;\n\t\tvec3 translation = vec3(0.0);\n\t\tif ((phase >= START_FLY_EFFECT_TIME) && (phase <= STOP_FLY_EFFECT_TIME))\n\t\t{\n\t\t\tfloat modifiedPhase = linearInterpolation(phase, START_FLY_EFFECT_TIME, 0.0, STOP_FLY_EFFECT_TIME, 1.0);\n\t\t\tmodifiedPhase = pow(modifiedPhase, 4.0);\n\t\t\ttranslation = vec3(0.0, modifiedPhase * maxSide, 0.0);\n\t\t}\n\t\telse if (phase > STOP_FLY_EFFECT_TIME)\n\t\t{\n\t\t\ttranslation = vec3(0.0, maxSide, 0.0);\n\t\t}\n\t\tif (phase >= START_EFFECT_TIME)\n\t\t{\n\t\t\tfloat modifiedPhase = linearInterpolation(phase, START_EFFECT_TIME, 0.0, 1.0, 1.0);\n\t\t\treturn updateVertex(modifiedPhase, translation);\n\t\t}\n\t\treturn updateVertex(0.0, translation);\n\t}\n\n\tvec3 getVertexNormal(float phase, vec3 pos)\n\t{\n\t\tfloat deltaWidth = (pos.x == uSlideWidth) ? -1.0 : 1.0;\n\t\tfloat deltaHeight = 1.0;\n\n\t\tvec3 right = getVertexPosition(phase, vec3(pos.x + deltaWidth, pos.y, pos.z));\n\t\tvec3 down = getVertexPosition(phase, vec3(pos.x, pos.y + deltaHeight, pos.z));\n\t\tvec3 p = getVertexPosition(phase, vec3(pos.x, pos.y, pos.z));\n\n\t\tvec3 v1 = right - p;\n\t\tvec3 v2 = down - p;\n\n\t\tvec3 n = (pos.x == uSlideWidth) ? cross(v1, v2) : cross(v2, v1);\n\t\tn = normalize(n);\n\n\t\treturn n;\n\t}\n\tvoid main()\n\t{\n\t\tMAX_STRETCHING_Z = 0.74 * uSlideHeight;\n\t\tMAX_STRETCHING_Y = 0.74 * uSlideHeight;\n\t\tHORIZONTAL_TOP_STRETCHING = 0.42 * uSlideWidth;\n\t\tVERTICAL_TOP_STRETCHING = 0.05 * uSlideHeight;\n\t\tHORIZONTAL_MAX_AMPLITUDE = 0.93 * uSlideHeight;\n\n\t \tvTextureCoord = aTextureCoord;\n\n\t\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z);\n\t\tvec4 p = vec4(getPosition(uPhase, vertex), 1.0);\n\t\tgl_Position = uPMVMatrix * p;\n\n\t\tvec3 transformedNormal = uNMatrix * getVertexNormal(uPhase, vertex);\n\t\tvNormal = transformedNormal;\n\t}"}; +var Vz=void 0;function Wz(a,b){R.call(this,a);this.P=b;this.Ma(!0,!0)}r(Wz,R);Wz.prototype.initialize=function(){vv(this,!1);wv(this,!1);const a=S(this.slideWidth(),this.slideHeight());F(a,"position","absolute");this.wa().appendChild(a);this.aH=a}; +Wz.prototype.Ia=function(a){const b=this.slideWidth(),c=this.slideHeight(),d=b*pw(0,b,Math.floor(a*b));a=c*pw(0,c,Math.floor(a*c));const e=this.aH.getContext("2d");e.clearRect(0,0,b,c);switch(this.P){case Xz:e.drawImage(this.qb,0,a-c);e.drawImage(this.Ea,0,a);break;case Yz:e.drawImage(this.qb,b-d,0);e.drawImage(this.Ea,-d,0);break;case Zz:e.drawImage(this.qb,d-b,0);e.drawImage(this.Ea,d,0);break;case $z:e.drawImage(this.qb,0,c-a),e.drawImage(this.Ea,0,-a)}};var Xz=0,Yz=1,Zz=2,$z=3;function aA(a,b){R.call(this,a);this.VS=b;this.Ma(!1,!0);this.Ny=[];a=this.slideWidth();switch(this.VS){case bA:a=this.slideHeight();break;case cA:a=this.slideWidth()}this.Zu=Math.floor(a/7);a=[];for(b=0;bd.YI?1:0});for(b=0;b=this.Ny[c].getStartTime()+.2?b.addColorStop(g,f):d>=this.Ny[c].getStartTime()?b.addColorStop(g,"rgba(255,255,255,"+h+")"):b.addColorStop(g,a)}e.fillStyle=b;e.beginPath();e.rect(0,0,this.slideWidth(),this.slideHeight());e.fill();e.restore()};var bA=0,cA=1;function dA(a,b){this.yq=a;this.Xj=b}dA.prototype.getStartTime=function(){return this.Xj};function eA(a,b){R.call(this,a);this.P=b;this.lf=!1;this.Ma(!1,!1,!0,!0,!1,!1)}r(eA,R);eA.prototype.initialize=function(){vv(this,!1);wv(this,!1);var a=this.wa(),b=this.lb().background();a.appendChild(b);a=this.wa();b=this.uc().background();a.appendChild(b);this.iE=S(this.slideWidth(),this.slideHeight());F(this.iE,"position","absolute");this.wa().appendChild(this.iE);this.bK=S(this.slideWidth(),this.slideHeight());F(this.bK,"position","absolute");this.wa().appendChild(this.bK)}; +eA.prototype.Ia=function(a){var b=this.slideWidth(),c=this.slideHeight(),d=this.iE.getContext("2d");d.clearRect(0,0,b,c);var e=.5>a?this.P==fA||this.P==gA?Y(0,-b,.5,b):Y(0,b,.5,-b):this.P==fA||this.P==gA?Y(.5,b,1,-b):Y(.5,-b,1,b);e=d.createLinearGradient(e(a),0,e(a)+b,0);this.P==fA||this.P==gA?(e.addColorStop(0,"rgba(0, 0, 0, 1)"),e.addColorStop(1,"rgba(0, 0, 0, 0)")):(e.addColorStop(0,"rgba(0, 0, 0, 0)"),e.addColorStop(1,"rgba(0, 0, 0, 1)"));this.P==hA||this.P==gA?(G(this.uc().background(),1-a), +.5>a?d.drawImage(this.pq,0,0):d.drawImage(this.Rn,0,0),d.save(),d.globalCompositeOperation="destination-out",d.fillStyle=e,d.fillRect(0,0,this.slideWidth(),this.slideHeight()),d.restore()):(.5>a?(G(this.uc().background(),1),d.drawImage(this.pq,0,0)):(G(this.uc().background(),0),d.drawImage(this.Rn,0,0)),d=this.bK.getContext("2d"),d.clearRect(0,0,b,c),d.fillStyle=e,d.fillRect(0,0,this.slideWidth(),this.slideHeight()));.5>a?(b=Y(0,0,.5,iA),c=Y(0,0,.5,jA),d=Y(0,1,.5,1+kA)):(b=Y(.5,-iA,1,0),c=Y(.5,jA, +1,0),d=Y(.5,1+kA,1,1));a="scale("+d(a)+") translate("+b(a)+"px,"+c(a)+"px)";xi(this.iE,a)};var iA=-30,jA=-20,kA=.1,hA=0,gA=1,fA=2;function lA(a,b){R.call(this,a);this.Ha=b;this.lf=!1;this.Ma(!1,!0)}r(lA,R);lA.prototype.initialize=function(){vv(this,!1);wv(this,!0);const a=this.slideWidth(),b=this.slideHeight();this.W_=Math.sqrt(a*a+b*b)*(this.Ha==mA?.5:1);this.nx=a/2;this.ox=b/2;switch(this.Ha){case nA:this.nx=a;this.ox=b;break;case oA:this.nx=a;this.ox=0;break;case pA:this.nx=0;this.ox=b;break;case qA:this.ox=this.nx=0}this.Yn=S(a,b);F(this.Yn,"position","relative");this.wa().appendChild(this.Yn);this.RM=this.Yn.getContext("2d")}; +lA.prototype.Ia=function(a){this.RM.drawImage(this.Ea,0,0);var b=this.RM,c=this.nx,d=this.ox,e=this.W_;b.save();b.globalCompositeOperation="destination-in";c=b.createRadialGradient(c,d,0,c,d,e);d=1.2*a;e=1;var f=d,g=0,h=d-.2;.2>d?(g=1-d/.2,h=0):1<=d&&(e=1-(d-1)/.2,f=1);c.addColorStop(h,"rgba(0,0,0,"+zn(g)+")");c.addColorStop(f,"rgba(0,0,0,"+zn(e)+")");b.fillStyle=c;b.fillRect(0,0,this.slideWidth(),this.slideHeight());b.restore();b=.8-.2;c=this.RM;e=0;for(d=[1];;){f=2*a-.03125*e;if(0>=f)break;else 1> +f&&d.push(f);++e}d.push(0);e=this.nx;f=this.ox;e=c.createRadialGradient(e,f,0,e,f,this.W_);f=d.length;for(--f;0<=f;--f){g=d[f];h=a;h*=2;h=1-pw(h-.2,h,g);var l=a;l*=2;h=.3*(.5*Math.cos(8*Math.PI*(g-2*a))+.5)*h*pw(l-.2-b-.2,l-.2-b,g);h*=1-.5*g;e.addColorStop(g,"rgba(0,0,0,alpha)".replace("alpha",zn(h).toString()))}c.fillStyle=e;c.fillRect(0,0,this.slideWidth(),this.slideHeight())};var mA=0,pA=1,nA=2,oA=3,qA=4;function rA(a,b){R.call(this,a);this.P=b;this.Ma(!0,!0)}r(rA,Av);k=rA.prototype;k.initialize=function(){vv(this,!1);wv(this,!1);Dv(this,this.Ea);this.Hd();mat4.translate(this.mb,[-this.slideWidth()/2,this.slideHeight()/2,0]);Vv(this)};k.Hd=function(){this.mg=Ex(50,50,this.slideWidth(),this.slideHeight());this.Ce=Gx(50,50);this.ol=new Wv;var a=Iv(this,cw(this.mg),3);this.ol.ug=a;a=Iv(this,dw(this.mg),2);this.ol.Bg=a;a=Jv(this,this.Ce);this.ol.gg=a};k.Qh=function(){Gv(this,this.ol);this.N.deleteTexture(this.JB)}; +k.gi=function(){Ov(this);this.mB=Qv(this,"uSampler1");this.nB=Qv(this,"uSampler2");this.tg=Qv(this,"uPhase");const a=Qv(this,"uSlideSize"),b=Qv(this,"uWaveCenter"),c=Qv(this,"uWaveRadius"),d=this.slideWidth(),e=this.slideHeight();let f;switch(this.P){case mA:f=new V(d/2,e/2);break;case oA:f=new V(d,0);break;case qA:f=new V(0,0);break;case pA:f=new V(0,e);break;case nA:f=new V(d,e);break;default:throw Error("Unknown direction");}let g=Math.sqrt(d*d+e*e);this.P==mA&&(g=Math.sqrt(f.x()*f.x()+f.y()*f.y())); +this.N.uniform2fv(a,[d,e]);this.N.uniform2fv(b,[f.x(),f.y()]);this.N.uniform1f(c,g)};k.Rh=function(){};k.Ia=function(a){this.N.uniform1f(this.tg,a);Nv(this,this.ol,this.N.TRIANGLE_STRIP)};k.Uh=function(){return"precision mediump float;\n\n\tattribute vec3 aVertexPosition;\n\tattribute vec2 aTextureCoord;\n\n\tuniform mat4 uPMVMatrix;\n\tuniform mat3 uNMatrix;\n\n\tconst float FREQUENCY = 12.566371; // 4.0 * PI\n\tconst float SHADOW = 0.3;\n\n\tuniform float uPhase;\n\tuniform vec2 uSlideSize;\n\tuniform vec2 uWaveCenter;\n\tuniform float uWaveRadius;\n\n\tvarying mediump vec2 vTextureCoord;\n\tvarying mediump float vShadow;\n\tvarying mediump float vAlpha;\n\n\tvoid main(void)\n\t{\n\t\tvec2 texCoord = aTextureCoord;\n\t\tvec2 screenCoord = texCoord * uSlideSize;\n\t\tvec2 centerToPoint = screenCoord - uWaveCenter;\n\n\t\tfloat angle = atan(centerToPoint.y, centerToPoint.x);\n\t\tfloat radius = length(centerToPoint);\n\n\t\tfloat phaseOffset = radius / uWaveRadius;\n\t\tfloat phaseOffsetFixed = (uPhase + uPhase) - phaseOffset;\n\t\tfloat offset = sin(phaseOffsetFixed * FREQUENCY) * smoothstep(1.0, 0.85, phaseOffsetFixed) * smoothstep(0.0, 0.15, phaseOffsetFixed) * (phaseOffset);\n\n\t\tfloat AMPLITUDE = min(uSlideSize.x, uSlideSize.y) / 15.0;\n\t\tradius = radius + offset * AMPLITUDE;\n\t\tcenterToPoint = vec2(radius * cos(angle), radius * sin(angle));\n\n\t\ttexCoord =(uWaveCenter + centerToPoint) / uSlideSize;\n\t\tfloat alpha = smoothstep(0.0, 1.0, phaseOffsetFixed);\n\t\tfloat shadow = (1.0 - SHADOW * abs(offset));\n\n\t\tvTextureCoord = texCoord;\n\t\tvShadow = shadow;\n\t\tvAlpha = alpha;\n\n\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\n\t}"}; +k.Th=function(){return"precision mediump float;\n\n\tvarying mediump vec2 vTextureCoord;\n\tvarying mediump float vShadow;\n\tvarying mediump float vAlpha;\n\n\tuniform sampler2D uSampler1;\n\tuniform sampler2D uSampler2;\n\n\tvoid main(void) \n\t{ \n\t\tif (vTextureCoord.x < 0.0 || vTextureCoord.x > 1.0 || vTextureCoord.y < 0.0 || vTextureCoord.y > 1.0) \n\t\t{ \n\t\t\tgl_FragColor = mix(vec4(0.0), vec4(0.0), 0.0);\n\t\t\treturn;\n\t\t} \n\t\tvec4 color1 = texture2D(uSampler1, vTextureCoord);\n\t\tvec4 color2 = texture2D(uSampler2, vTextureCoord);\n\t\tvec4 mixedColor = mix(color1, color2, vAlpha);\n\t\tgl_FragColor = vec4(vShadow * mixedColor.rgb, mixedColor.a);\n\t}"}; +k.Qz=function(){this.IB=Hv(this,this.N.TEXTURE0,this.mB,0,this.Ea);this.JB=Hv(this,this.N.TEXTURE1,this.nB,1,this.qb)};function sA(a){R.call(this,a);this.Ma(!1,!0)}r(sA,R);sA.prototype.initialize=function(){vv(this,!1);this.Yn=S(this.slideWidth(),this.slideHeight());this.wa().appendChild(this.Yn);this.Cj=this.Yn.getContext("2d")}; +sA.prototype.Ia=function(a){const b=this.slideWidth(),c=this.slideHeight();var d=this.Ea;const e=this.Cj;e.clearRect(0,0,b,c);e.drawImage(d,0,0);e.save();d=a*Math.max(b,c);e.globalCompositeOperation="destination-out";const f=e.createRadialGradient(b/2,c/2,a*d,b/2,c/2,d);f.addColorStop(0,"#FFFFFF");f.addColorStop(.15,"rgba(255,255,255,128)");f.addColorStop(1,"rgba(255,255,255,0)");e.fillStyle=f;e.beginPath();e.arc(b/2,c/2,d,0,2*Math.PI,!0);e.fill();e.restore();this.oa()&&0>=a&&wv(this,!1)};function tA(a){R.call(this,a);this.Ma(!0,!1)}r(tA,R);tA.prototype.initialize=function(){wv(this,!1);vv(this,!0);this.rW=S(this.slideWidth(),this.slideHeight());this.wa().appendChild(this.rW);this.S5=this.qb.getContext("2d");this.T5=this.rW.getContext("2d")}; +tA.prototype.Ia=function(a){if(0!=a||this.oa()){var b=this.slideWidth(),c=this.slideHeight(),d=this.qb,e=this.T5;e.clearRect(0,0,b,c);e.drawImage(d,0,0);e.save();e.globalCompositeOperation="destination-out";d=uA(this,b/2,c/2,b/2+b*a,c/2+c*a,a,!1,!1);var f=b/2,g=c/2,h=b/2,l=c/2;e.fillStyle=d;e.beginPath();e.rect(f,g,h,l);e.fill();d=uA(this,b/2,c/2,b/2+b*a,-a*c+c/2,a,!0,!1);f=b/2;g=b/2;h=c/2;e.fillStyle=d;e.beginPath();e.rect(f,0,g,h);e.fill();d=uA(this,b/2,c/2,-a*b+b/2,c/2+c*a,a,!1,!0);f=c/2;g=b/2; +h=c/2;e.fillStyle=d;e.beginPath();e.rect(0,f,g,h);e.fill();a=uA(this,b/2,c/2,-a*b+b/2,-a*c+c/2,a,!0,!0);b/=2;c/=2;e.fillStyle=a;e.beginPath();e.rect(0,0,b,c);e.fill();e.restore()}}; +function uA(a,b,c,d,e,f,g,h){const l=a.S5;a=a.slideHeight()>a.slideWidth()?l.createLinearGradient(b,c,(h?-b:b)*f*2+d,e):l.createLinearGradient(b,c,d,(g?-c:c)*f*2+e);a.addColorStop(0,"rgba(255,255,255,0)");a.addColorStop(.2f?f+.2:1,"#FFFFFF");a.addColorStop(1,"#FFFFFF");return a};function vA(a){R.call(this,a);this.Ma(!1,!0)}r(vA,R);vA.prototype.initialize=function(){vv(this,!1);wv(this,!0);this.Oc=S(this.slideWidth(),this.slideHeight());this.wa().appendChild(this.Oc)}; +vA.prototype.Ia=function(a){var b=(this.slideWidth()/2+50)*(1-a),c=b-50,d=(this.slideHeight()/2+50)*(1-a);let e=d-50;const f=this.Oc.getContext("2d");f.clearRect(0,0,this.slideWidth(),this.slideHeight());f.drawImage(this.Ea,0,0);f.save();f.globalCompositeOperation="destination-out";d=f.createLinearGradient(0,d,0,e);d.addColorStop(0,"rgba(255, 255, 255, 1)");d.addColorStop(1,"rgba(255, 255, 255, 0)");b=f.createLinearGradient(b,0,c,0);b.addColorStop(0,"rgba(255, 255, 255, 1)");b.addColorStop(1,"rgba(255, 255, 255, 0)"); +c=this.slideWidth()/2+(this.slideWidth()/2+50)*a;c=f.createLinearGradient(c-50,0,c,0);c.addColorStop(0,"rgba(255, 255, 255, 1)");c.addColorStop(1,"rgba(255, 255, 255, 0)");e=this.slideHeight()/2+(this.slideHeight()/2+50)*a;a=f.createLinearGradient(0,e-50,0,e);a.addColorStop(0,"rgba(255, 255, 255, 1)");a.addColorStop(1,"rgba(255, 255, 255, 0)");f.fillStyle=d;f.fillRect(0,0,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=b;f.fillRect(0,0,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=a; +f.fillRect(0,this.slideHeight()/2,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=b;f.fillRect(0,this.slideHeight()/2,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=d;f.fillRect(this.slideWidth()/2,0,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=c;f.fillRect(this.slideWidth()/2,0,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=a;f.fillRect(this.slideWidth()/2,this.slideHeight()/2,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=c;f.fillRect(this.slideWidth()/2,this.slideHeight()/ +2,this.slideWidth()/2,this.slideHeight()/2);f.restore()};function wA(){var a=Array(2);xA(a,0,0);return a}function xA(a,b,c){a[0]=b;a[1]=c};function yA(a,b){R.call(this,a);this.Ha=b;this.Ma(!0,!0)}r(yA,R);k=yA.prototype; +k.initialize=function(){vv(this,!1);wv(this,!1);this.kK=this.a_=!1;this.JF=[];this.PF=[];var a=this.slideWidth(),b=this.slideHeight();this.zM=Math.max(a,b);var c=this.yn(this.wa(),a,b,!0);Di(c,this.zM+"px");this.pa=this.yn(c,a,b,!0);this.TM=this.yn(this.pa,a,b,!0);this.KF=this.yn(this.pa,a,b,!0);F(this.KF,"visibility","hidden");if(this.Ha==zA||this.Ha==AA){b=Ni?4:8;c=this.oa()?this.qb:this.Ea;const p=this.oa()?this.Ea:this.qb;var d=this.slideWidth(),e=this.slideHeight(),f=b/2-1;for(a=0;aMath.random()?-1:1));this.PF[a]=this.ov(this.TM,d,e,g,l,h);this.JF[a]=this.ov(this.KF,d,e,g,l,h)}d/=128;e/=96;f=0;h=[];for(a=0;128>a;++a){g=0;l=Math.round((a+1)*d)-f;const t=f;for(let w=0;96>w;++w){if(0==h.length)for(var n=0;nc&&(T=c-J);if(!w&&J+T>=c)if(T>.5*g+h)T=h;else{X.iy=void 0;y=wA();xA(y,X.Vo.x,0);D=wA();xA(D,J+T,U);X.Vo.Fr.x+=T;X.Vo.Fr.y=d;continue}w?(y=wA(),xA(y,J,0),D=wA(),xA(D,J+T,U),X.Vo={YC:y,Fr:D}):(y=wA(),xA(y,J,U),D=wA(),xA(D,J+T,d),X.iy={YC:y,Fr:D},m.push({WC:void 0,Vo:void 0,iy:void 0}),p=m[++t],y=wA(),xA(y,J,0),D=wA(),xA(D,J+T,U),p.WC={YC:y,Fr:D});p=T;w= +!w}const I=a.oa()?a.qb:a.Ea,A=a.oa()?a.Ea:a.qb;e=.5>Math.random()?-1:1;for(f=0;f=a)&&(this.kK=!0);if(0<=a&&.4>a){var d=Y(0,0,.4,1);a=d(a)}else.6<=a&&1>a?(d=Y(.6,1,1,0),a=d(a)):a=1;d=-this.zM*a/2;let e=30*a*(this.kK?-1:1);c&&b&&(e=-e);xi(this.pa,"translateZ("+d+"px) rotateY("+e+"deg) rotateX("+-15*a+"deg)")}; +k.Ia=function(a){if(1!=a||!this.oa()){this.DM(a);const f=2*this.zM;var b=this.oa();let g=this.PF;if(b&&.47>=a||!b&&.47<=a)g=this.JF,this.a_||(this.a_=!0,F(this.KF,"visibility","visible"),F(this.TM,"visibility","hidden"));b=g.length;for(let h=0;hc){var d=Y(0,0,.4,1);c=d(c)}else.522<=c&&.922>c?(d=Y(.522,1,.922,0),c=d(c)):c=.4<=c&&.522>c?1:0;c*=l.yaa;d=a;if(.401<=d&&.461>d){var e=Y(.401,0,.461,1);d=e(d)}else.461<=d&&.521>d?(e=Y(.461,1,.521,0),d=e(d)):d=0;xi(l.canvas, +"translateZ("+(d*f*l.direction+c)+"px)")}}};function CA(a,b,c,d){this.canvas=a;this.startTime=b;this.yaa=c;this.direction=d}var DA=1,zA=2,AA=3;function EA(a,b){R.call(this,a);this.Ma(!1,!0);this.P=b}r(EA,R);EA.prototype.initialize=function(){vv(this,!1);wv(this,!0);this.Oc=S(this.slideWidth(),this.slideHeight());this.wa().appendChild(this.Oc)}; +EA.prototype.Ia=function(a){var b=0;let c=0,d=0,e=0;var f=0;let g=0,h=0,l=0;switch(this.P){case FA:e=(this.slideHeight()/2+200)*a;c=e-200;h=this.slideHeight()-a*(this.slideHeight()/2+200);l=h+200;break;case GA:c=(this.slideHeight()/2+200)*(1-a);e=c-200;l=this.slideHeight()-(1-a)*(this.slideHeight()/2+200);h=l+200;break;case HA:d=(this.slideWidth()/2+200)*a;b=d-200;f=this.slideWidth()-a*(this.slideWidth()/2+200);g=f+200;break;case IA:b=(this.slideWidth()/2+200)*(1-a),d=b-200,g=this.slideWidth()-(1- +a)*(this.slideWidth()/2+200),f=g+200}a=this.Oc.getContext("2d");a.clearRect(0,0,this.slideWidth(),this.slideHeight());a.drawImage(this.Ea,0,0);a.save();a.globalCompositeOperation="destination-out";b=a.createLinearGradient(b,c,d,e);b.addColorStop(0,"rgba(255, 255, 255, 1)");b.addColorStop(1,"rgba(255, 255, 255, 0)");a.fillStyle=b;this.P==HA||this.P==IA?a.fillRect(0,0,this.slideWidth()/2,this.slideHeight()):a.fillRect(0,0,this.slideWidth(),this.slideHeight()/2);f=a.createLinearGradient(f,h,g,l);f.addColorStop(0, +"rgba(255, 255, 255, 0)");f.addColorStop(1,"rgba(255, 255, 255, 1)");a.fillStyle=f;this.P==HA||this.P==IA?a.fillRect(this.slideWidth()/2,0,this.slideWidth()/2,this.slideHeight()):a.fillRect(0,this.slideHeight()/2,this.slideWidth(),this.slideHeight()/2);a.restore()};var HA=0,IA=1,FA=2,GA=3;function JA(a,b){R.call(this,a);this.Ma(!1,!0);this.P=b}r(JA,R);JA.prototype.initialize=function(){vv(this,!1);wv(this,!0);this.Oc=S(this.slideWidth(),this.slideHeight());F(this.Oc,"position","relative");this.wa().appendChild(this.Oc)}; +JA.prototype.Ia=function(a){var b=0;let c=0,d=0,e=0;switch(this.P){case KA:e=(this.slideHeight()+400)*a;c=e-200;b=(this.slideWidth()+400)*(1-a);d=b-200;break;case LA:c=(this.slideHeight()+400)*(1-a);e=c-200;b=(this.slideWidth()+400)*(1-a);d=b-200;break;case MA:e=(this.slideHeight()+400)*a;c=e-200;d=(this.slideWidth()+400)*a;b=d-200;break;case NA:d=(this.slideWidth()+400)*a,b=d-200,c=(this.slideHeight()+400)*(1-a),e=c-200}a=this.Oc.getContext("2d");a.clearRect(0,0,this.slideWidth(),this.slideHeight()); +a.drawImage(this.Ea,0,0);a.save();a.globalCompositeOperation="destination-out";b=a.createLinearGradient(b,c,d,e);b.addColorStop(0,"rgba(255, 255, 255, 1)");b.addColorStop(1,"rgba(255, 255, 255, 0)");a.fillStyle=b;a.fillRect(0,0,this.slideWidth(),this.slideHeight());a.restore()};var KA=0,LA=1,MA=2,NA=3;function OA(a,b,c){R.call(this,a);this.P=b;this.$z=c;this.Ma(!0,!0)}r(OA,R);k=OA.prototype; +k.initialize=function(){vv(this,!1);wv(this,!1);const a=this.slideWidth(),b=this.slideHeight();this.Te=this.pc(a,b);this.wa().appendChild(this.Te);var c=S(a,b),d=S(a,b);this.Fc=this.pc(a,b);this.sh=this.pc(a,b);this.rh=this.pc(a,b);this.$z||(this.Sn=S(a,b));this.sh.appendChild(c);this.rh.appendChild(d);this.Te.appendChild(this.Fc);this.Fc.appendChild(this.rh);this.Fc.appendChild(this.sh);this.$z||(F(this.Sn,"position","absolute"),this.Fc.appendChild(this.Sn));c=c.getContext("2d");d=d.getContext("2d"); +c.drawImage(this.Ea,0,0);d.drawImage(this.qb,0,0);this.$z||(this.Sn.getContext("2d").drawImage(this.qb,0,0),this.oa()||G(this.Sn,0));this.rF=!1;this.$z&&(Di(this.Te,Math.max(a,b)+"px"),Ei(this.Te,this.slideWidth()/2+"px "+this.slideHeight()/2+"px"),Ci(this.Fc,"preserve-3d"))};k.pc=function(a,b){const c=zd("DIV");Oh(c,a);Ph(c,b);F(c,"position","absolute");return c}; +k.Ia=function(a){const b=this.P==PA?-1:1;if(this.$z){var c=.25*(1-Math.cos(2*a*Math.PI));var d=Math.max(this.slideHeight(),this.slideWidth()),e=this.O2,f=this.P2,g=this.AJ,h=-b*c*this.slideWidth()/2,l=c*this.slideHeight()*1.5;xi(this.Fc,"translateZ("+d+"px) translateY("+l+"px) translateX("+h+"px) rotateX("+-e*c+"deg) rotateY("+-b*f*c+"deg) rotateZ("+b*g*c+"deg)");QA(this,a,!1);QA(this,a,!0)}else e=this.slideHeight()/2,c=.25*(1-Math.cos(2*a*Math.PI)),d=-e*c,e=(this.slideHeight()+e)*c,Gh(this.sh,0, +d),Gh(this.rh,0,e),Gh(this.Sn,0,e),e=new gm,d=new gm,e.rotate(this.AJ*Math.PI/180*b*c,0,0),d.rotate(this.AJ*Math.PI/180*b*c,0,0),on(this.sh,e),on(this.rh,d),on(this.Sn,d),c=Math.max(1-a,.8),e.scale(c,c),on(this.sh,e),c=this.oa()?Math.max(a,.8):Math.max(.5>a?1-a:a,.8),d.scale(c,c),on(this.rh,d),on(this.Sn,d),.5<=a&&!this.rF&&!this.oa()?(this.rF=!0,G(this.Sn,1)):.5>=a&&!this.rF&&this.oa()&&(this.rF=!0,G(this.Sn,0))}; +function QA(a,b,c){var d=a.slideHeight()/2;const e=.25*(1-Math.cos(2*b*Math.PI));d=(c?-(d+a.Ql):a.slideHeight()+d+a.Ql)*e;b=-(c?1+b:2-b)*Math.max(a.slideWidth(),a.slideHeight());xi(c?a.sh:a.rh,"translateY("+d+"px) translateZ("+b+"px)")}k.O2=30;k.P2=20;k.AJ=30;k.Ql=20;var PA=1;function RA(a,b,c){R.call(this,a);this.Bc=c;this.Ma(!0,!0);this.qo=b==PA}r(RA,R);k=RA.prototype; +k.initialize=function(){vv(this,!1);wv(this,!1);const a=this.slideWidth(),b=this.slideHeight();this.OH=this.pc(a,b);this.wa().appendChild(this.OH);this.Jp=this.pc(a,b);this.Vg=this.pc(a,b);this.Tg=this.pc(a,b);this.qo?(this.Vg.appendChild(this.qb),this.Tg.appendChild(this.Ea)):(this.Vg.appendChild(this.Ea),this.Tg.appendChild(this.qb));this.OH.appendChild(this.Jp);this.qo?(this.Jp.appendChild(this.Vg),this.Jp.appendChild(this.Tg)):(this.Jp.appendChild(this.Tg),this.Jp.appendChild(this.Vg));this.QH= +!1;this.Bc&&(Di(this.OH,Math.max(a,b)+"px"),Ei(this.OH,this.slideWidth()/2+"px "+this.slideHeight()/2+"px"),Ci(this.Jp,"preserve-3d"))};k.Ia=function(a){a=this.qo?1-a:a;this.Bc?this.kO(a):this.mL(a)}; +k.kO=function(a){function b(g){const h=g?-1:1,l=g?this.Vg:this.Tg;g="translateZ("+(g?e:f).call(this,a)*d+"px)rotateY("+-30*h*c+"deg)translateX("+h*c*this.slideWidth()*1.05+"px)";xi(l,g)}const c=.25*(1-Math.cos(2*a*Math.PI)),d=Math.max(this.slideWidth(),this.slideHeight()),e=Y(0,0,1,-.3),f=Y(0,-.3,1,0);b.call(this,!0);b.call(this,!1)}; +k.mL=function(a){function b(d){const e=d?-1:1;d=d?this.Vg:this.Tg;const f=new gm;f.scale(1-.5*c,1-.5*c);f.translate(e*c*this.slideWidth()*1.05,0);on(d,f)}this.qo?.5>a&&!this.QH&&(this.Jp.appendChild(this.Vg),this.QH=!0):.5<=a&&!this.QH&&(this.Jp.appendChild(this.Tg),this.QH=!0);const c=.25*(1-Math.cos(2*a*Math.PI));this.slideWidth();this.slideHeight();b.call(this,!0);b.call(this,!1)};k.pc=function(a,b){const c=zd("DIV");Oh(c,a);Ph(c,b);F(c,"position","absolute");return c};function SA(a,b){R.call(this,a);this.P=b;this.Ma(!0,!0);this.yr()}var TA,UA,VA,WA,XA,YA,ZA;r(SA,R); +SA.prototype.yr=function(){var a=this.slideWidth(),b=this.slideHeight(),c=YA!=a||ZA!=b;if(!(TA&&UA&&VA&&WA&&XA)||c){YA=a;ZA=b;TA=[];UA=[];VA=[];WA=[];XA=[];a=this.slideWidth();b=this.slideHeight();c=TA;const g=UA,h=VA;for(var d=0;d<$A;++d)c[d]=aB(a,b),g[d]=aB(a,b),h[d]=aB(a,b);d=bB/cB;const l=dB/cB,n=[],m=a/bB,p=b/dB;let t=0,w;for(let y=0;y=Ma.uR;m=Ma;var t=lc,w=p;p=ha;var y=ra,D=sb,I=Cb;const $k=this.P==iB||this.P==jB,al=this.oa();var A=this.slideWidth(), +J=this.slideHeight();const wu=this.XD.getContext("2d"),Oo=TA;var T=UA,U=VA;const Po=this.Ea,Qo=this.qb;w&&(w=Oo[t],t=($k?T:U)[t],T=m.NQ.getContext("2d"),U=m.lQ.getContext("2d"),A-=p+D,J-=y+I,T.drawImage(w,p,y,D,I,0,0,D,I),U.drawImage(t,A,J,D,I,0,0,D,I),T.save(),T.globalCompositeOperation="source-out",T.drawImage(Po,p,y,D,I,0,0,D,I),T.restore(),U.save(),U.globalCompositeOperation="source-out",U.drawImage(Qo,A,J,D,I,0,0,D,I),U.restore(),wu.clearRect(al&&$k?A:p,al&&!$k?J:y,D,I),m.b1=!0)}Ma.BS(a,g,h, +aa.naa)}}};function lB(a,b,c){this.X7=a;this.e1=[];this.H8=b;this.uF=c}lB.prototype.BS=function(a){const b=this.uF;a=(a-this.H8)/gB;a=Math.min(Math.max(a,0),1);a=Math.PI*a*(b?1:-1);xi(this.X7,(b?"rotateY":"rotateX")+"("+a+"rad)");this.naa=a}; +function hB(a,b,c,d,e,f,g,h,l,n,m,p){this.NQ=b;this.lQ=c;xi(c,(m?"rotateY":"rotateX")+"(180deg)");this.Ie=f;this.wc=a;this.sl=d;this.tl=e;this.As=n;this.uR=g;this.HX=g+(h-g)/2;this.U7=.8+this.uR-.2;this.I1=.8+this.HX-.2;this.n4=0>l?-1:1;this.F5=Math.abs(l);this.U5=p;this.uF=m;this.b1=!1;mB(this,!0)} +hB.prototype.BS=function(a,b,c,d){var e=this.wc,f=this.F5,g=this.Ie,h=nB(a,this.uR,this.U7,f);a=nB(a,this.HX,this.I1,f);f=this.uF;var l=this.U5,n=this.n4,m=l?-n:n;f&&(m=l?n:-n);l=l?Math.max(h,a):Math.min(h,a);g=Math.atan2(h-a,g)*m;h>a?yi(e,"0% 0%"):yi(e,"100% 100%");l*=n;xi(e,"translateZ("+l+"px)"+((f?"rotateY":"rotateX")+"("+g+"rad)"));f=l;e=this.sl;h=this.tl;n=this.Ie;m=this.uF;a=Array(16);a[0]=0;a[1]=0;a[2]=0;a[3]=0;a[4]=0;a[5]=0;a[6]=0;a[7]=0;a[8]=0;a[9]=0;a[10]=0;a[11]=0;a[12]=0;a[13]=0;a[14]= +0;a[15]=0;a[0]=1;a[1]=0;a[2]=0;a[3]=0;a[4]=0;a[5]=1;a[6]=0;a[7]=0;a[8]=0;a[9]=0;a[10]=1;a[11]=0;a[12]=0;a[13]=0;a[14]=0;a[15]=1;m?(b-=(e-n)/2,ti(a,b,0,0),vi(a,d),ti(a,-b,0,0),ti(a,0,0,f),vi(a,g)):(b=c-(h-n)/2,ti(a,0,b,0),ui(a,d),ti(a,0,-b,0),ti(a,0,0,f),ui(a,g));b=pi();qi(b,e,h,0,1);si(a,b,b);d=pi();qi(d,b[0],b[1],b[2],0);ri(d,this.As,d);b=pi();qi(b,e,h,1,0);c=pi();qi(c,e,h,0,0);ri(b,c,b);si(a,b,b);d=ni(b,d);this.nF?0<=d&&mB(this,!1):0>=d&&mB(this,!0)}; +function mB(a,b){const c=b?a.NQ:a.lQ,d=b?a.lQ:a.NQ;a.nF=b;F(c,"visibility","visible");F(d,"visibility","hidden")}function nB(a,b,c,d){return a>=b&&a<=b+.2?d*(a-b)/.2:a>=c?Math.max(d-d*(a-c)/.2,0):a>=b?d:0}var iB=0,jB=2,kB=3;function oB(a,b){R.call(this,a);this.P=b;this.Ma(!0,!0)}r(oB,Av);k=oB.prototype;k.initialize=function(){vv(this,!1);wv(this,!1);Dv(this,this.Ea);this.Hd();mat4.translate(this.mb,[-this.slideWidth()/2,this.slideHeight()/2,0]);Vv(this)}; +k.gi=function(){Ov(this);this.ZT=Pv(this,"aDelay");this.$V=Pv(this,"aMaxDistance");this.mB=Qv(this,"uSampler1");this.nB=Qv(this,"uSampler2");this.tg=Qv(this,"uPhase");const a=Qv(this,"uSlideWidth"),b=Qv(this,"uHorizontal");this.N.uniform1f(Qv(this,"uSlideHeight"),this.slideHeight());this.N.uniform1f(a,this.slideWidth());this.N.uniform1i(b,this.P==iB||this.P==jB?1:0)};k.Rh=function(){Fv(this,this.ZT);Fv(this,this.$V)}; +k.$J=function(){const a=this.N;a.bindBuffer(a.ARRAY_BUFFER,this.TK);a.vertexAttribPointer(this.ZT,this.TK.Vx,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.XK);a.vertexAttribPointer(this.$V,this.XK.Vx,a.FLOAT,!1,0,0)}; +k.Hd=function(){var a=this.slideWidth();const b=this.slideHeight();var c=ij&&Ii,d=Ni&&Ii||c;c=d?26:50;d=d?20:45;const e=a/c,f=b/d;this.jb=new pB;for(let g=0;g endTime)\n\t\t{\n\t\t\tpPhase = 1.0;\n\t\t}\n\t\tfloat z = 4.0 * aMaxDistance * pPhase * (pPhase - 1.0);\n\t\tfloat rotation = 180.0 * pPhase;\n\n\t\tmat4 m = mat4(1.0);\n\n\t\tvec3 pivotPoint = vec3(- uSlideWidth / 2.0, uSlideHeight / 2.0, 0.0);\n\t\tm = m * translationMatrix(-pivotPoint.x, -pivotPoint.y, -pivotPoint.z);\n\t\tif (uHorizontal)\n\t\t{\n\t\t m = m * rotationYmatrix(rotation);//left right\n\t\t}\n\t\telse \n\t\t{\n\t\t\tm = m * rotationXmatrix(rotation);//top bottom\n\t\t}\n\t\tm = m * translationMatrix(pivotPoint.x, pivotPoint.y, pivotPoint.z);\n\t\tm = m * translationMatrix(0.0, 0.0, z);\n\n\t\treturn m;\n\t}\n\n\tvec3 getVertexPosition() \n\t{ \n\t\tmat4 m = positionMatrix();\n\t\tvec4 v = m * vec4(aVertexPosition, 1.0);\n\t\treturn v.xyz;\n\t} \n\tvec3 getNormal() \n\t{\n\t\tmat4 m = positionMatrix();\n\t\tvec4 v = m * vec4(0 ,0, 1, 0.0);\n\t\treturn v.xyz;\n\t}\n\tvoid main(void)\n\t{\n\t\tvTextureCoord = aTextureCoord;\n\n\t\tvec3 pos = getVertexPosition();\n\t\tvec3 n = getNormal();\n\t\tn = normalize(n);\n\t\tgl_Position = uPMVMatrix * vec4(pos, 1.0); \n\t\tvNormal = uNMatrix * n;\n\t}"}; +function pB(){this.GT=0;this.VN=[];this.UK=[];this.YK=[];this.nP=[];this.oh=[]}k=pB.prototype;k.tx=function(a){this.VN=this.VN.concat(a.FR());this.UK=this.UK.concat(a.xQ());this.YK=this.YK.concat(a.zQ());this.nP=this.nP.concat(a.vS());const b=4*this.GT;for(let c=0;c=1.5*Math.PI&&(d.beginPath(),d.moveTo(b,c),d.arc(b,c,this.Yg,3*Math.PI-a,a,!1),d.lineTo(b,c),d.fillStyle="#000",d.fill());d=this.QA;d.drawImage(this.qb,0,0);d.save();d.globalCompositeOperation="destination-in";d.drawImage(this.Oc,0,0);d.restore()}; +vB.prototype.zE=function(a,b,c,d,e,f,g){const h=this.jg;h.fillStyle="rgba(0,0,0,"+g.toString()+")";h.beginPath();h.moveTo(a,b);h.lineTo(c,d);h.lineTo(e,f);h.fill()}; +vB.prototype.ZK=function(a,b){const c=.5*this.slideWidth(),d=.5*this.slideHeight();let e=wB;b-=a;var f=a;f<1.5*Math.PI&&(e=(1.5*Math.PI-a)/b,f=1.5*Math.PI);let g=c+this.Yg*Math.cos(f),h=d+this.Yg*Math.sin(f),l=c+this.Yg*Math.cos(3*Math.PI-f);for(f=d+this.Yg*Math.sin(3*Math.PI-f);1>=e;){let n=a+e*b;n>2.5*Math.PI&&(n=2.5*Math.PI);const m=c+this.Yg*Math.cos(n),p=d+this.Yg*Math.sin(n);this.zE(c,d,g,h,m,p,1-e);const t=c+this.Yg*Math.cos(3*Math.PI-n),w=d+this.Yg*Math.sin(3*Math.PI-n);this.zE(c,d,l,f,t, +w,1-e);e+=wB;g=m;h=p;l=t;f=w;if(n==2.5*Math.PI)break}};function xB(a,b){R.call(this,a);this.po=!1;0>b&&(b=-b,this.po=!0);this.gP=b;this.Ma(!0,!1)}r(xB,R);xB.prototype.initialize=function(){var a=this.slideWidth();const b=this.slideHeight();wv(this,!1);const c=S(a,b);this.QA=c.getContext("2d");this.Oc=S(a,b);this.jg=this.Oc.getContext("2d");this.jg.scale(1,b/a);a*=.5;this.Yg=Math.sqrt(2*a*a);F(c,"position","absolute");this.wa().appendChild(c)};var yB=1/15; +xB.prototype.Ia=function(a){var b=this.slideWidth();this.slideHeight();const c=this.jg;let d=2/this.gP,e=.2/this.gP;this.po&&(d=-d,e=-e);c.clearRect(0,0,b,b);for(b=0;b=f)g.beginPath(),g.moveTo(l,l),this.po?g.arc(l,l,this.Yg,f,h,!0):g.arc(l,l,this.Yg,f,h,!1),g.lineTo(l,l),g.fillStyle="#000",g.fill()}a=this.QA;a.drawImage(this.qb,0,0);a.save(); +a.globalCompositeOperation="destination-in";a.drawImage(this.Oc,0,0);a.restore()};xB.prototype.zE=function(a,b,c,d,e,f,g){const h=this.jg;h.fillStyle="rgba(0,0,0,"+zn(g).toString()+")";h.beginPath();h.moveTo(a,b);h.lineTo(c,d);h.lineTo(e,f);h.fill()}; +xB.prototype.ZK=function(a,b,c,d){const e=.5*this.slideWidth();let f=yB;b-=a;var g=a;if(this.po&&g>c||!this.po&&g=f;){let h=a+f*b;if(this.po&&hd)h=d;const l=e+this.Yg*Math.cos(h),n=e+this.Yg*Math.sin(h);this.zE(e,e,c,g,l,n,1-f);f+=yB;c=l;g=n;if(h==d)break}};function zB(a,b){R.call(this,a);this.P=b;this.Ma(!1,!0)}r(zB,Av);k=zB.prototype;k.initialize=function(){vv(this,!1);wv(this,!0);Dv(this,this.Ea);this.Hd();this.N.enable(this.N.DEPTH_TEST);mat4.translate(this.mb,[-this.slideWidth()/2,this.slideHeight()/2,0]);this.UB=mat4.create();mat4.set(this.mb,this.UB)}; +k.Hd=function(){this.rg=Ex(20,20,this.slideWidth(),this.slideHeight());for(var a=0==this.P?Hx(20,20):Gx(20,20),b=[],c=0,d=a.length;c+2e)){var f=a[c++];if(!(0>f))for(var g=!0;ch)break;e!=f&&e!=h&&f!=h&&b.push(e,f,h);g?e=h:f=h;g=!g}}}this.Ce=b;this.$q=new aw;for(a=0;am;m++)w[0].push(AB(3,m,n));for(m=0;4>m;m++)w[1].push(AB(3,m,p));for(m=0;2>m;m++)w[2].push(AB(1,m,t));this.M_.push(w)}this.uh=[];for(c=0;4>c;c++)for(d=0;4>d;d++)for(e=0;2>e;e++)f=this.Hj(c,d,e),g=a,h=b,l=d,n=e,p=[0,0,0],p[0]=g[0]+c/3*(h[0]-g[0]),p[1]=g[1]+l/3*(h[1]-g[1]),p[2]=g[2]+n/1*(h[2]-g[2]),g=p,this.uh[f]= +g[0],this.uh[f+1]=g[1],this.uh[f+2]=g[2];this.XA={}};function AB(a,b,c){let d=1;for(let e=1;e<=b;e++)d*=(a-(b-e))/e;return d*Math.pow(c,b)*Math.pow(1-c,a-b)}k.Hj=function(a,b,c){return 3*(a+4*b+16*c)};k.Qh=function(){Gv(this,this.Oi)};k.Rh=function(){Fv(this,this.xl)};k.Th=function(){return"precision mediump float;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tuniform sampler2D uSampler;\n\n\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\tconst float AMBIENT_INTENSITY = 0.4;\n\tconst float DIFFUSE_INTENSITY = 0.6;\n\n\tvoid main(void)\n\t{\n\t\tfloat diffuseFactor = dot(normalize(vNormal), LIGHT_DIRECTION);\n\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * diffuseFactor * diffuseFactor;\n\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord);\n\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a);\n\t}"}; +k.Uh=function(){return"attribute vec3 aVertexPosition;\n\tattribute vec3 aVertexNormal;\n\tattribute vec2 aTextureCoord;\n\n\tuniform mat4 uPMVMatrix;\n\n\tuniform mat3 uNMatrix;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tvoid main(void)\n\t{\n\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\n\t\tvTextureCoord = aTextureCoord;\n\t\tvNormal = uNMatrix * normalize(aVertexNormal);\n\t}"};k.gi=function(){Ov(this);this.xl=Pv(this,"aVertexNormal");this.gf=Qv(this,"uSampler")}; +k.Gj=function(){return this.gf};function BB(a,b,c,d){let e=a.Hj(b,c,0);const f=b.toString()+c.toString();let g;void 0===a.XA[f]?(g=[a.uh[e+0],a.uh[e+1],a.uh[e+2]],a.XA[f]=[g[0],g[1],g[2]]):g=[a.XA[f][0],a.XA[f][1],a.XA[f][2]];mat4.multiplyVec3(d,g,g);a.uh[e+0]=g[0];a.uh[e+1]=g[1];a.uh[e+2]=g[2];e=a.Hj(b,c,1);a.uh[e+0]=g[0];a.uh[e+1]=g[1];a.uh[e+2]=g[2]}k.Fz=function(){return this.xl}; +k.jK=function(){for(let a=0;ab&&DB(a,e,0,.2*a.slideHeight(),b);.6<=b&&DB(a,f,.2*a.slideHeight(),-.7*a.slideHeight(),b);mat4.identity(g);mat4.translate(g,[0,0,-.3*a.slideHeight()*Math.sin(1.5*Math.PI*d)]);c=0==a.P?0:3;BB(a,c,0,g)} +function FB(a,b){for(var c=0;c.2*a.slideWidth()?CB(a,d,b):0:d.position().x()<.8*a.slideWidth()?CB(a,d,b):0;var e=a.$q.kb[c],f=a,g=a.M_[c];let h;const l=new W;for(let n=0;4>n;n++){const m=new W;for(let p=0;4>p;p++){const t=new W;for(let w=0;2>w;w++){const y=f.Hj(n,p,w);h=g[2][w];Xv(t,new W(f.uh[y+0]*h,f.uh[y+1]*h,f.uh[y+2]*h))}h=g[1][p];Xv(m,new W(t.x()*h,t.y()*h,t.z()*h))}h=g[0][n];Xv(l,new W(m.x()*h,m.y()*h,m.z()*h))}$v(e,l.add(new W(0, +0,d)));Uv(a.$q.kb[c],new W)}a.jK();for(b=0;b=parseFloat(Vb)?!1:Wi(),d=Xi();if(!$s){const e={"null":function(h){return new at(h)},Cut:function(h){return new Jx(h)},CutThroughBlack:function(h){return new Kx(h)}};c?(e.BlindsHorizontal=function(h){return new ow(h,1)},e.BlindsVertical=function(h){return new ow(h,qw)}):(e.BlindsHorizontal=function(h){return new vw(h,1)},e.BlindsVertical=function(h){return new vw(h,ww)});e.CheckerboardAcross=function(h){return new Kw(h,Ow)};e.CheckerboardDown=function(h){return new Kw(h, +Lw)};e.Dissolve=function(h){return new Lx(h)};e.FadeThroughBlack=function(h){return new Xx(h)};b&&2013>a&&2007!=a?(e.CoverLeft=function(h){return new $w(h,ix,!1)},e.CoverUp=function(h){return new $w(h,fx,!1)},e.CoverRight=function(h){return new $w(h,jx,!1)},e.CoverDown=function(h){return new $w(h,hx,!1)},e.CoverLeftUp=function(h){return new $w(h,lx,!1)},e.CoverRightUp=function(h){return new $w(h,nx,!1)},e.CoverLeftDown=function(h){return new $w(h,kx,!1)},e.CoverRightDown=function(h){return new $w(h, +mx,!1)},e.UncoverLeft=function(h){return new $w(h,ix,!0)},e.UncoverUp=function(h){return new $w(h,fx,!0)},e.UncoverRight=function(h){return new $w(h,jx,!0)},e.UncoverDown=function(h){return new $w(h,hx,!0)},e.UncoverLeftUp=function(h){return new $w(h,lx,!0)},e.UncoverRightUp=function(h){return new $w(h,nx,!0)},e.UncoverLeftDown=function(h){return new $w(h,kx,!0)},e.UncoverRightDown=function(h){return new $w(h,mx,!0)}):(e.CoverLeft=function(h){return new sx(h,ix,!1)},e.CoverUp=function(h){return new sx(h, +fx,!1)},e.CoverRight=function(h){return new sx(h,jx,!1)},e.CoverDown=function(h){return new sx(h,hx,!1)},e.CoverLeftUp=function(h){return new sx(h,lx,!1)},e.CoverRightUp=function(h){return new sx(h,nx,!1)},e.CoverLeftDown=function(h){return new sx(h,kx,!1)},e.CoverRightDown=function(h){return new sx(h,mx,!1)},e.UncoverLeft=function(h){return new sx(h,ix,!0)},e.UncoverUp=function(h){return new sx(h,fx,!0)},e.UncoverRight=function(h){return new sx(h,jx,!0)},e.UncoverDown=function(h){return new sx(h, +hx,!0)},e.UncoverLeftUp=function(h){return new sx(h,lx,!0)},e.UncoverRightUp=function(h){return new sx(h,nx,!0)},e.UncoverLeftDown=function(h){return new sx(h,kx,!0)},e.UncoverRightDown=function(h){return new sx(h,mx,!0)});e.RandomBarsHorizontal=function(h){return new aA(h,bA)};e.RandomBarsVertical=function(h){return new aA(h,cA)};e.StripsLeftUp=function(h){return new JA(h,LA)};e.StripsRightUp=function(h){return new JA(h,NA)};e.StripsLeftDown=function(h){return new JA(h,KA)};e.StripsRightDown=function(h){return new JA(h, +MA)};e.WipeLeft=function(h){return new HB(h,KB)};e.WipeUp=function(h){return new HB(h,JB)};e.WipeRight=function(h){return new HB(h,LB)};e.WipeDown=function(h){return new HB(h,IB)};e.BoxOut=function(h){return new zw(h,Aw)};e.BoxIn=function(h){return new zw(h,Bw)};e.SplitHorizontalOut=function(h){return new EA(h,GA)};e.SplitHorizontalIn=function(h){return new EA(h,FA)};e.SplitVerticalOut=function(h){return new EA(h,IA)};e.SplitVerticalIn=function(h){return new EA(h,HA)};e.ShapeCircle=function(h){return new sA(h)}; +e.ShapeDiamond=function(h){return new tA(h)};e.CombHorizontal=function(h){return new Rw(h,Sw)};e.CombVertical=function(h){return new Rw(h,1)};e.FadeSmoothly=function(h){return new Wx(h)};e.Newsflash=function(h){return new xz(h)};e.ShapePlus=function(h){return new vA(h)};e.PushDown=function(h){return new Wz(h,Xz)};e.PushLeft=function(h){return new Wz(h,Yz)};e.PushRight=function(h){return new Wz(h,Zz)};e.PushUp=function(h){return new Wz(h,$z)};e.Wedge=function(h){return new vB(h)};e.Wheel1Spoke=function(h){return new xB(h, +1)};e.Wheel2Spokes=function(h){return new xB(h,2)};e.Wheel3Spokes=function(h){return new xB(h,3)};e.Wheel4Spokes=function(h){return new xB(h,4)};e.Wheel8Spokes=function(h){return new xB(h,8)};e.WheelReverse1Spoke=function(h){return new xB(h,-1)};e.MorphByObject=function(h){return new wz(h)};e.MorphByWord=function(h){return new wz(h)};e.MorphByChar=function(h){return new wz(h)};b?d?(e.VortexLeft=function(h){return new oB(h,iB)},e.VortexUp=function(h){return new oB(h,1)},e.VortexRight=function(h){return new oB(h, +jB)},e.VortexDown=function(h){return new oB(h,kB)}):(e.VortexLeft=function(h){return new SA(h,iB)},e.VortexUp=function(h){return new SA(h,1)},e.VortexRight=function(h){return new SA(h,jB)},e.VortexDown=function(h){return new SA(h,kB)}):(e.VortexLeft=function(h){return new Lx(h)},e.VortexUp=function(h){return new Lx(h)},e.VortexRight=function(h){return new Lx(h)},e.VortexDown=function(h){return new Lx(h)});!d||Ni||ij?(e.RippleCenter=function(h){return new lA(h,mA)},e.RippleRightUp=function(h){return new lA(h, +pA)},e.RippleLeftUp=function(h){return new lA(h,nA)},e.RippleLeftDown=function(h){return new lA(h,oA)},e.RippleRightDown=function(h){return new lA(h,qA)}):(e.RippleCenter=function(h){return new rA(h,mA)},e.RippleRightUp=function(h){return new rA(h,pA)},e.RippleLeftUp=function(h){return new rA(h,nA)},e.RippleLeftDown=function(h){return new rA(h,oA)},e.RippleRightDown=function(h){return new rA(h,qA)});e.GlitterDiamondLeft=function(h){return new my(h,ry,py)};e.GlitterDiamondUp=function(h){return new my(h, +ry,ny)};e.GlitterDiamondRight=function(h){return new my(h,ry,qy)};e.GlitterDiamondDown=function(h){return new my(h,ry,oy)};e.GlitterHexagonLeft=function(h){return new my(h,1,py)};e.GlitterHexagonUp=function(h){return new my(h,1,ny)};e.GlitterHexagonRight=function(h){return new my(h,1,qy)};e.GlitterHexagonDown=function(h){return new my(h,1,oy)};b?(e.GalleryLeft=function(h){return new iy(h,ky,!1)},e.GalleryRight=function(h){return new iy(h,ly,!1)}):(e.GalleryLeft=function(h){return new Wz(h,Yz)},e.GalleryRight= +function(h){return new Wz(h,Zz)});b?(e.ConveyorLeft=function(h){return new iy(h,ky,!0)},e.ConveyorRight=function(h){return new iy(h,ly,!0)}):(e.ConveyorLeft=function(h){return new Oz(h,Qz,!0)},e.ConveyorRight=function(h){return new Oz(h,Pz,!0)});e.DoorsVertical=function(h){return new Rx(h,Sx,!1,!0)};e.DoorsHorizontal=function(h){return new Rx(h,Tx,!1,!0)};e.WindowVertical=function(h){return new Rx(h,Sx,!0,2013>a)};e.WindowHorizontal=function(h){return new Rx(h,Tx,!0,2013>a)};e.WarpIn=function(h){return new rB(h, +sB,!1,!1)};e.WarpOut=function(h){return new rB(h,1,!1,!1)};e.FlyThroughIn=function(h){return new rB(h,sB,!0,!1)};e.FlyThroughOut=function(h){return new rB(h,1,!0,!1)};e.FlyThroughInBounce=function(h){return new rB(h,sB,!0,!0)};e.FlyThroughOutBounce=function(h){return new rB(h,1,!0,!0)};e.RevealSmoothLeft=function(h){return new eA(h,hA)};e.RevealSmoothRight=function(h){return new eA(h,gA)};e.RevealBlackLeft=function(h){return new eA(h,fA)};e.RevealBlackRight=function(h){return new eA(h,3)};e.Honeycomb= +function(h){return new Ay(h)};b?(e.FerrisWheelLeft=function(h){return new Zx(h,0)},e.FerrisWheelRight=function(h){return new Zx(h,$x)}):(e.FerrisWheelLeft=function(h){return new Oz(h,Rz,!0)},e.FerrisWheelRight=function(h){return new Oz(h,Rz,!0)});const f=2013<=a?RA:OA,g=2013<=a?ey:cy;e.SwitchLeft=function(h){return new f(h,0,c)};e.SwitchRight=function(h){return new f(h,PA,c)};e.FlipLeft=function(h){return new g(h,0,c)};e.FlipRight=function(h){return new g(h,dy,c)};e.Flashbulb=function(h){return new ay(h)}; +c?(e.ShredStripsIn=function(h){return new yA(h,0)},e.ShredStripsOut=function(h){return new yA(h,DA)},e.ShredRectangleIn=function(h){return new yA(h,zA)},e.ShredRectangleOut=function(h){return new yA(h,AA)}):(e.ShredStripsIn=function(h){return new Lx(h)},e.ShredStripsOut=function(h){return new Lx(h)},e.ShredRectangleIn=function(h){return new Lx(h)},e.ShredRectangleOut=function(h){return new Lx(h)});e.CubeLeft=function(h){return new zx(h,Cx,!1,c)};e.CubeUp=function(h){return new zx(h,Bx,!1,c)};e.CubeRight= +function(h){return new zx(h,Dx,!1,c)};e.CubeDown=function(h){return new zx(h,Ax,!1,c)};e.RotateLeft=function(h){return new zx(h,Cx,!0,c)};e.RotateUp=function(h){return new zx(h,Bx,!0,c)};e.RotateRight=function(h){return new zx(h,Dx,!0,c)};e.RotateDown=function(h){return new zx(h,Ax,!0,c)};c?(e.BoxLeft=function(h){return new Gw(h,Jw,!1)},e.BoxUp=function(h){return new Gw(h,0,!1)},e.BoxRight=function(h){return new Gw(h,Hw,!1)},e.BoxDown=function(h){return new Gw(h,Iw,!1)},e.OrbitLeft=function(h){return new Gw(h, +Jw,!0)},e.OrbitUp=function(h){return new Gw(h,0,!0)},e.OrbitRight=function(h){return new Gw(h,Hw,!0)},e.OrbitDown=function(h){return new Gw(h,Iw,!0)}):(e.BoxLeft=function(h){return new Wz(h,Yz)},e.BoxUp=function(h){return new Wz(h,$z)},e.BoxRight=function(h){return new Wz(h,Zz)},e.BoxDown=function(h){return new Wz(h,Xz)},e.OrbitLeft=function(h){return new Oz(h,Qz,!0)},e.OrbitUp=function(h){return new Oz(h,3,!0)},e.OrbitRight=function(h){return new Oz(h,Pz,!0)},e.OrbitDown=function(h){return new Oz(h, +Rz,!0)});e.PanLeft=function(h){return new Oz(h,Qz,2013>a)};e.PanUp=function(h){return new Oz(h,3,2013>a)};e.PanRight=function(h){return new Oz(h,Pz,2013>a)};e.PanDown=function(h){return new Oz(h,Rz,2013>a)};d?(e.AirplaneLeft=function(h){return new lw(h,mw)},e.AirplaneRight=function(h){return new lw(h,1)},e.OrigamiLeft=function(h){return new Cz(h,Ez)},e.OrigamiRight=function(h){return new Cz(h,Iz)},e.DrapeLeft=function(h){return new Ux(h,Vx)},e.DrapeRight=function(h){return new Ux(h,1)},e.FallOverLeft= +function(h){return new Yx(h,0)},e.FallOverRight=function(h){return new Yx(h,1)},e.Curtains=function(h){const l=new Ix(h);return l.sS()?l:new Wx(h)},e.Fracture=function(h){return new fy(h)},e.Crush=function(h){return new ux(h)},e.WindRight=function(h){return new zB(h,0)},e.WindLeft=function(h){return new zB(h,1)},e.PeelOffLeft=function(h){return new Sz(h,Tz)},e.PeelOffRight=function(h){return new Sz(h,1)},e.Prestige=function(h){const l=new Uz(h);return l.sS()?l:new Wx(h)},e.PageCurlDoubleLeft=function(h){return new Mz(h, +0)},e.PageCurlDoubleRight=function(h){return new Mz(h,1)},e.PageCurlSingleLeft=function(h){return new Mz(h,2)},e.PageCurlSingleRight=function(h){return new Mz(h,3)}):(e.AirplaneLeft=function(h){return new Wx(h)},e.AirplaneRight=function(h){return new Wx(h)},e.OrigamiLeft=function(h){return new Wx(h)},e.OrigamiRight=function(h){return new Wx(h)},e.DrapeLeft=function(h){return new Wx(h)},e.DrapeRight=function(h){return new Wx(h)},e.FallOverLeft=function(h){return new Wx(h)},e.FallOverRight=function(h){return new Wx(h)}, +e.Curtains=function(h){return new Wx(h)},e.Fracture=function(h){return new Wx(h)},e.Crush=function(h){return new Wx(h)},e.WindRight=function(h){return new Wx(h)},e.WindLeft=function(h){return new Wx(h)},e.PeelOffLeft=function(h){return new Wx(h)},e.PeelOffRight=function(h){return new Wx(h)},e.Prestige=function(h){return new Wx(h)},e.PageCurlDoubleLeft=function(h){return new Wx(h)},e.PageCurlDoubleRight=function(h){return new Wx(h)},e.PageCurlSingleLeft=function(h){return new Wx(h)},e.PageCurlSingleRight= +function(h){return new Wx(h)});e.Zoom=function(h){return new NB(h)};$s=e}} +var $s,Zs=[["PushUp","PushLeft","PushRight","PushDown"],["ShapePlus","ShapeCircle","ShapeDiamond"],["BlindsVertical","BlindsHorizontal"],["BoxIn","BoxOut"],["CheckerboardAcross","CheckerboardDown"],["Flashbulb"],["WipeDown","WipeUp","WipeLeft","WipeRight"],["RandomBarsVertical","RandomBarsHorizontal"],["FadeSmoothly","FadeThroughBlack"],["null"],["Cut","CutThroughBlack"],["CombHorizontal","CombVertical"],["Dissolve"],["FlyThroughIn","FlyThroughOut","FlyThroughInBounce","FlyThroughOutBounce"],["WarpIn", +"WarpOut"],["Newsflash"],["BoxLeft","BoxUp","BoxRight","BoxDown"],["OrbitUp","OrbitDown","OrbitLeft","OrbitRight"],["WindowHorizontal","WindowVertical"],["DoorsHorizontal","DoorsVertical"],["FerrisWheelLeft","FerrisWheelRight"],["SwitchLeft","SwitchRight"],["GalleryLeft","GalleryRight"],["RippleCenter","RippleRightUp","RippleLeftUp","RippleLeftDown","RippleRightDown"],["VortexLeft","VortexRight","VortexUp","VortexDown"],["ShredStripsIn","ShredStripsOut","ShredRectangleIn","ShredRectangleOut"],["FlipLeft", +"FlipRight"],"CoverLeft CoverUp CoverRight CoverDown CoverLeftUp CoverRightUp CoverLeftDown CoverRightDown".split(" "),"UncoverDown UncoverLeft UncoverLeftDown UncoverLeftUp UncoverRight UncoverRightDown UncoverRightUp UncoverUp".split(" "),["StripsLeftDown","StripsLeftUp","StripsRightDown","StripsRightUp"],["Honeycomb"],["SplitVerticalIn","SplitVerticalOut","SplitHorizontalIn","SplitHorizontalOut"],"Wedge Wheel1Spoke Wheel2Spokes Wheel3Spokes Wheel4Spokes Wheel8Spokes WheelReverse1Spoke".split(" "), +["RevealSmoothLeft","RevealSmoothRight","RevealBlackLeft","RevealBlackRight"],["CubeLeft","CubeUp","CubeRight","CubeDown"],["RotateLeft","RotateUp","RotateRight","RotateDown"],"GlitterDiamondDown GlitterDiamondUp GlitterDiamondLeft GlitterDiamondRight GlitterHexagonDown GlitterHexagonUp GlitterHexagonLeft GlitterHexagonRight".split(" "),["ConveyorLeft","ConveyorRight"],["PanLeft","PanUp","PanRight","PanDown"],["AirplaneLeft","AirplaneRight"],["OrigamiLeft","OrigamiRight"],["DrapeLeft","DrapeRight"], +["FallOverLeft","FallOverRight"],["Curtains"],["Fracture"],["Crush"],["WindRight","WindLeft"],["PeelOffLeft","PeelOffRight"],["Prestige"],["PageCurlDoubleLeft","PageCurlDoubleRight","PageCurlSingleLeft","PageCurlSingleRight"]];function PB(){}k=PB.prototype;k.qH=null;k.rH=null;k.start=function(a,b,c,d){b=jd(b[0],8);const e={};e.family=a;e.bold=!0===c;e.italic=!0===d;this.qH=new QB(e,"arial,'URW Gothic L',sans-serif",b);this.rH=new QB(e,"Georgia,'Century Schoolbook L',serif",b)};k.finish=function(){this.qH.gd();this.qH=null;this.rH.gd();this.rH=null};k.check=function(){return RB(this.qH)||RB(this.rH)}; +function QB(a,b,c){var d=v(a,"family","");d=String(d);const e=['"'];for(let n=0;ng)l=f;else if(l=f,l in id)l=id[l];else if(l in hd)l=id[l]=hd[l];else{g=l.charCodeAt(0);if(31g)f=l;else{if(256>g){if(f="\\x",16>g||256g&&(f+="0");f+=g.toString(16).toUpperCase()}l=id[l]=f}e[h]=l}e.push('"');d=e.join("");this.It=zd("span");this.It.innerHTML=c;F(this.It,{position:"absolute",top:"-999px", +left:"-999px",fontSize:"100px",fontFamily:b,fontWeight:v(a,"bold",!1)?"bold":"normal",fontStyle:v(a,"italic",!1)?"italic":"normal",opacity:"0"});document.body.appendChild(this.It);this.DX=Qh(this.It).width;F(this.It,"fontFamily",d+","+b)}QB.prototype.gd=function(){Fd(this.It)};function RB(a){return!!a.DX&&Qh(a.It).width!=a.DX};var SB={};function TB(a,b,c,d){d=d||c;let e="",f=!1,g=!1;"string"!==typeof a?(e=v(a,"family",""),f=v(a,"bold",!1),g=v(a,"italic",!1)):e=a;e=e.replace(/^"|"$/g,"");if(e in SB)(SB[e]?c:d)();else{var h=h||5E3;var l=new PB;l.start(e,b,f,g);var n=Date.now(),m=setInterval(()=>{let p=!1,t=!1;l.check()?t=p=!0:Date.now()-n>h&&(p=!0,t=!1);p&&(clearInterval(m),l.finish(),t?c():d&&(Ga(`can't preload font ${a&&a.family}`),d()))},50)}} +function UB(a,b){Array.isArray(b)||(b=[b]);const c=[];u(b,d=>{c.push(d.C9+"('"+d.src()+"')"+(d.format()?" format('"+d.format()+"')":""))});return`@font-face { + font-family: '${a}'; + src: ${c.join(",")}; + ${""} + ${""} + }`}function VB(a,b){this.C9=a;this.Jf=b;this.D4=null}VB.prototype.src=function(){return this.Jf};VB.prototype.format=function(){return this.D4};function WB(a,b){b=a.m8.create(b);B(a,b);z(a,b.QG,a.a7,a);return b}function XB(a){"normal"==a.Ib&&cv(a.rn,a.Ga);dv(a.rn,b=>{if(b instanceof gv){const c="normal"==a.Ib?"":"none";b.displayObject().style.display=c}})} +class YB extends wg{constructor(a,b,c){super();this.$e=a;this.G=b;this.fj=c;this.Ib="normal";this.vh=new C;this.Ga=this.pc();this.rl=this.pc("slidesBackground");this.Je=this.pc();this.Ve=new mt(this);this.Gt=this.pc();this.fg=this.pc("frontLayers");this.Ga.appendChild(this.rl);this.Ga.appendChild(this.Je);a=this.Ve.displayObject();this.Ga.appendChild(a);this.Je.appendChild(this.Gt);this.Je.appendChild(this.fg);this.Je.style.display="none";this.zc=ZB(this.$e.hy(),{mS:this.Gt,width:this.G.slideWidth(), +height:this.G.slideHeight(),zba:Number.MAX_VALUE,backgroundColor:"#000000",FS:this.Ib});a=new tv;this.Ke=new rv(this.G,this.zc,a,this.G.slideWidth(),this.G.slideHeight(),this.fg);c=new hv;var d=new qv(this.zc,this.G.slides(),c,this.fj);this.B=new Ss(this.G,this.zc,this.$e.hy().jf,d,c,this.$e,this.Ke,a,this.fj);z(this,this.B.vc(),this.Mj,this);z(this,this.B.Wr,this.PJ,this);a=this.B;this.$e.JL.Ot.addHandler(a.t6,a);z(this,this.B.XJ,this.a6,this);z(this,this.B.Wr,this.Y5,this);this.rc=new Q(this.B, +this.G);this.m8=new Mu({Ca:this.G,dca:this.$e,yI:this.Ga,pJ:this.rl,Fi:this.Je,tr:this.Ve,wa:this.fg,lJ:this.Gt,V:this.B,kda:this.Ke,kn:this.zc});this.Rj=WB(this,"normal");b=b.fonts();a=$g||Ib;c=[];for(d=0;d{this.tL.C(jC())},!1,this)}};function aC(a,b){a.kM!=b&&((a.kM=b)&&a.eA.enabled()?(ve(document,"keydown",a.nw,!1,a),ve(document,"keyup",a.QW,!1,a)):(De(document,"keydown",a.nw,!1,a),De(document,"keyup",a.QW,!1,a)))} +function mC(a,b){const c=a.B;if(!(0>c.ma())){var d=c.$(),e=a.M;0>a.OB&&(a.OB=Date.now(),a.om=d.Kg(),c.pause());a=(1+(Date.now()-a.OB)/1E3)*(b?1:-1);d=d.timestamp();b=e.ti(d,!1,!0);e=e.Xo(Vc(b+a,0,e.Pu()),!1,!0);a=c.$d();e.L()>d.L()?1==a.M1()?c.sf(!1):nk(a):e.L(){let c=!1,d=!1;a.Zb().removeHandler(this.Ab,this);a.Kg()||(d=(c=tC(this,a.timestamp()))&&uC(this,a.timestamp()),this.eE=a.timestamp(),a.Zb().addHandler(this.Ab,this));sC(this,a,c,d,!1)};this.pK?b():setTimeout(b,0)};k.Ab=function(a){var b=a.timestamp(),c;(c=!this.eE)||(c=this.eE,c=!(c.L()==b.L()&&c.Ba()==b.Ba()&&0>=Math.abs(c.ib()-b.ib())));c&&(this.eE=b,c=(b=tC(this,a.timestamp()))&&uC(this,a.timestamp()),sC(this,a,b,c,!0))}; +function tC(a,b){a=a.G.slides().la(b.L());if(0>b.Ba())return!1;a=a.sb().sc(b.Ba());return b.ib()>=a.duration()}function uC(a,b){a=a.G.slides().la(b.L());return b.Ba()==a.sb().count()-1}k.gN=function(a){this.remove(a)};k.eN=function(a){Ts(this.Da,a.nd(),a)};function vC(a){this.HI=!1;this.aca=a}var rC=new vC(!1),wC=new vC(!0),xC=new vC(!0);function yC(a,b,c,d){this.M=a;this.Y=b;this.If=c;this.D=d;this.pm=new C;this.Og=new C}k=yC.prototype;k.Mf=null;k.Fe=!1;k.wl=!1;k.playing=function(){return this.D.playing()};k.nd=function(){return this.D.nd()};k.play=function(a){this.pp(this.Y.timestamp(),a||0)}; +k.pp=function(a,b){this.hB();this.D.Ec().addHandler(this.UF,this);this.D.Og.addHandler(this.qq,this);this.Mf=a;this.wl=!1;this.Fe=!0;this.D.activate();var c=this.D,d=c.Dr;const e=this.M;a=(e.ti(this.Y.timestamp(),!0,!1)-e.ti(a,!0,!1)+b)%this.If.duration();d.call(c,a)};k.pause=function(){this.stop()};k.stop=function(){this.Fe&&(this.lm(),this.D.stop(),this.D.deactivate())};k.hB=function(){this.D.Ec().removeHandler(this.UF,this);this.D.Og.removeHandler(this.qq,this)}; +k.UF=function(){if("ended"==this.D.state()){let a=!0;if("untilNextSound"==this.If.wm){const b=this.Mf.L();this.Y.timestamp().L()>=b&&(this.D.seek(0),this.D.play(),a=!1)}a&&(this.lm(),this.D.deactivate())}};k.qq=function(){this.Og.C(this);!this.nd()&&this.playing()&&this.wl&&this.D.pause()};k.q2=function(){this.wl=!1;this.D.play()};k.p2=function(){this.wl=!0;this.nd()||this.D.pause()};k.lm=function(){this.Fe&&(this.Fe=!1,this.hB(),this.pm.C(this))};k.qp=function(){return this.pm};function zC(a,b,c,d){this.M=a;this.Y=b;this.Ye=c;this.D=d;this.pm=new C;this.Og=new C;this.D.Ec().addHandler(this.UF,this);this.D.sB.addHandler(this.DY,this)}k=zC.prototype;k.Mf=null;k.wG=0;k.zm=null;k.Fe=!1;k.wl=!1;k.iP=!1;k.activate=function(){this.Nb=!0;this.D.Nb||this.D.activate()};k.deactivate=function(){this.D.playing()||this.D.deactivate();this.Nb=!1};k.kc=function(){return this.D};k.playing=function(){return this.D.playing()};k.nd=function(){return this.Fe&&(this.D.nd()||!this.D.xC())}; +k.play=function(a){this.pp(this.Y.timestamp(),void 0!==a?a:null,!1)};function AC(a,b){var c=Df(Kf(a.Ye,a.M),b);b=c?c.Lb():b;c=a.D;if(Ii&&c instanceof ck){const d=c.kc(),e=d.src();d.Ih(Hi());d.play();setTimeout(()=>{d.Ih(e);a.pp(b,0,!0)},0)}else a.pp(b,0,!0)} +k.pp=function(a,b,c){this.hB();const d=this.D;this.Y.Zb().addHandler(this.Ab,this);d.Og.addHandler(this.qq,this);d.Kp.addHandler(this.qq,this);d.kx.addHandler(this.tX,this);this.Fe=!0;this.wl=!1;this.iP=c;this.Mf=a;this.zm=null!=b?b:null;if(this.iP){const e=this;a=function(){BC(e,!0);d.play();e.qq()};gj&&!Ii?setTimeout(a,150):(ij&&d.Ih(d.src()),a())}else null!=b?d.Dr(b):d.play()};k.pause=function(){this.lm();this.D.pause();CC(this)}; +k.stop=function(a){this.lm();this.D.pause();const b=this.Ye instanceof Zg&&this.Ye.XI();a=a||b?0:this.D.duration();this.D.seek(a);CC(this);DC(this)};k.hB=function(){this.Y.Zb().removeHandler(this.Ab,this);this.D.Og.removeHandler(this.qq,this);this.D.Kp.removeHandler(this.qq,this);this.D.kx.removeHandler(this.tX,this)}; +k.Ab=function(){if(this.Mf){var a=this.Mf;const d=this.Y.timestamp();var b=d.L()-a.L(),c=0==b;a=c?d.Ba()-a.Ba():0;c=c&&0==a;0>b||0>a?b=!0:(a=this.Ye.Pj,b=0>a?!c:b>a);b&&(this.lm(),this.D.pause(),CC(this))}}; +k.UF=function(){const a=this.D.state();if("ended"==a){++this.wG;let c=!1;const d=this.Ye.wm;if("number"!==typeof d){var b=this.Mf;const e=this.Y.timestamp();b=b.L()!=e.L()||b.Ba()!=e.Ba();switch(d){case "untilNextClick":c=!b;break;case "untilNextSlide":c=!0}}else c=this.wGe?a.pH(f):c.seek(f)}}k.pH=function(a){this.Zj||this.nd()||(this.Zj=!0,kv(this.Y,!0,this),this.D.Ef.addHandler(function c(){.1>a-this.D.currentTime()&&(this.D.Ef.removeHandler(c,this),EC(this))},this))};function EC(a){a.Zj&&(a.Zj=!1,kv(a.Y,!1,a))} +k.$F=function(){this.Am=this.Y.timestamp();this.Y.Zb().addHandler(this.xT,this);this.Y.Ec().addHandler(this.wT,this);if(this.Ye instanceof Zg){const a=this.D;a.show(!0);this.Ye.yR()&&a.ly(!0);FC(a,!1)}};function DC(a){a.Am=void 0;a.Y.Zb().removeHandler(a.xT,a);a.Y.Ec().removeHandler(a.wT,a);a.VE=!1;a.HV="ended";if(a.Ye instanceof Zg){const b=a.D;a.Ye.XI()&&b.stop();b.ly(!1);a.Ye.XQ()&&b.show(!1)}a.Og.C(a);EC(a)} +k.wT=function(){var a;if(a=this.Fe)a:if(this.Y.suspended()){a=this.Y.timestamp();if(0{Pa(a.OD,c)||(Gp(a,c).activate(),a.OD.push(c))},a);Gi(a.i4,a)} +function dt(a,b,c,d){if(a.gq.v0()){var e=KC(a,b);HC(a,b,e,!0);e.pp(c,d)}}function MC(a,b){return"accessible"==a.Ib?null:a.G.slides().la(b).Py} +class NC{constructor(a,b,c){this.Nb=!1;this.G=a;this.me=b;this.gq=c;this.Y=null;this.On=new qC(a);this.YE=this.Vl=this.uv=this.ev=null;this.Ib="normal";this.cP={};this.KB={};this.zP={};this.W=-1;this.Qq=qu(a.slides());this.hC=[];this.sV=new C;this.pV={};this.OD=[];a=this.me;b=gk();b=new OC(b);z(a,b.Iy,a.cG,a);this.q3=b}bS(a,b){this.Y=a;this.On.bS(a,b);a.Zb().addHandler(this.Ab,this)}fn(a){this.Ib=a;this.gq.fn(a)}activate(){this.Nb=!0;this.Vl&&AC(this.Vl,this.Y.timestamp());this.ev&&this.ev.activate(); +const a=this.Y.timestamp().L();0<=a&&LC(this,a)}Ab(a){a=a.timestamp().L();a!=this.W&&this.Mj(a)}i4(){const a=this.Y.timestamp().L(),b=this.G.slides().la(a).Dd().Mc();u(this.OD,c=>{Pa(b,c)||(Gp(this,c).deactivate(),Ra(this.OD,c))},this)}Mj(a){JC(this);this.Nb&&LC(this,a);const b=(f,g)=>{for(let h=0;h{g.kx.removeHandler(this.uX,this);Ra(d,g)});b(c,(f,g)=>{g.kx.addHandler(this.uX, +this)});this.me.tS();$B(this,MC(this,a))}uX(a,b){var c=this.hC;Pa(c,a)||c.push(a);"play"==b&&this.sV.C(a)}};class PC{constructor(){this.Ob={};this.$S={};this.Le=1}forEach(a){fc(this.Ob,a,this)}get(a){a=a.id();return this.Ob[a]}set(a,b,c){this.Ob[a.id()]=b;this.$S[a.id()]=c;b.setVolume(this.Le*c)}FQ(a){return a.id()in this.Ob}setVolume(a){if(this.Le!=a){this.Le=a;for(const b in this.Ob)this.Ob.hasOwnProperty(b)&&this.Ob[b].setVolume(this.Le*this.$S[b])}}GI(){for(const a in this.Ob)this.Ob.hasOwnProperty(a)&&this.Ob[a].pause()}};class OC extends ik{constructor(a){super(a);this.rm=null}aS(a){this.rm!=a&&(a?this.Ih(a.Zt()[0].sources()):this.D.Ih(Hi()),this.rm=a)}};(function(){if(Ob){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(ub()))?a[1]:"0"}return Nb?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(ub()))?a[0].replace(/_/g,"."):"10"):Qb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(ub()))?a[1]:""):Rb||Sb||Tb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(ub()))?a[1].replace(/_/g,"."):""):""})();function QC(a){return(a=a.exec(ub()))?a[1]:""}(function(){if($g)return QC(/Firefox\/([0-9.]+)/);if(Ib||Jb||Hb)return Vb;if(dh){if(Db()||vb("Macintosh")){var a=QC(/CriOS\/([0-9.]+)/);if(a)return a}return QC(/Chrome\/([0-9.]+)/)}if(eh&&!Db())return QC(/Version\/([0-9.]+)/);if(ah||bh){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(ub()))return a[1]+"."+a[2]}else if(ch)return(a=QC(/Android\s+([0-9.]+)/))?a:QC(/Version\/([0-9.]+)/);return""})();function RC(a,b,c,d,e){eu.call(this,b,c,d,e);this.element=a}r(RC,eu);RC.prototype.Bp=function(){};RC.prototype.DI=function(){this.Bp();RC.Mb.DI.call(this)};RC.prototype.Hl=function(){this.Bp();RC.Mb.Hl.call(this)};RC.prototype.mp=function(){this.Bp();RC.Mb.mp.call(this)};function SC(a,b,c,d,e){if(2!=b.length||2!=c.length)throw Error("Start and end points must be 2D");RC.call(this,a,b,c,d,e)}r(SC,RC); +SC.prototype.Bp=function(){var a;if(a=this.AD)void 0===this.hD&&(this.hD=Uh(this.element)),a=this.hD;this.element.style[a?"right":"left"]=Math.round(this.coords[0])+"px";this.element.style.top=Math.round(this.coords[1])+"px"};function TC(a,b,c,d,e){"number"===typeof b&&(b=[b]);"number"===typeof c&&(c=[c]);RC.call(this,a,b,c,d,e);if(1!=b.length||1!=c.length)throw Error("Start and end points must be 1D");this.vI=UC}r(TC,RC);var VC=1/1024,UC=-1;k=TC.prototype; +k.Bp=function(){var a=this.coords[0];Math.abs(a-this.vI)>=VC&&(G(this.element,a),this.vI=a)};k.mp=function(){this.vI=UC;TC.Mb.mp.call(this)};k.Hl=function(){this.vI=UC;TC.Mb.Hl.call(this)};k.show=function(){this.element.style.display=""};k.Uc=function(){this.element.style.display="none"};function WC(a,b,c){TC.call(this,a,1,0,b,c)}r(WC,TC);function XC(a,b,c){TC.call(this,a,0,1,b,c)}r(XC,TC);class YC extends RC{constructor(a,b,c){super(null,[b],[c],200);this.U=a}Bp(){this.U.Rf(this.coords[0])}};class ZC extends P{constructor({ka:a,F:b,K0:c,OI:d,i0:e,tabIndex:f,yia:g,toggle:h,zf:l}){super({ka:a,F:b,K0:c,OI:d,i0:e,tabIndex:f,Yb:"BUTTON",K$:!0,zf:l});g&&(a=g.top,b=g.right,c=g.bottom,g=g.left,this.ri=new P,M(this,this.ri),L(this.ri,"position","absolute"),L(this.ri,"top",a?`${-a}px`:0),L(this.ri,"right",b?`${-b}px`:0),L(this.ri,"bottom",c?`${-c}px`:0),L(this.ri,"left",g?`${-g}px`:0));(this.S9=h)&&this.Dc(!1);this.Ky()}Dc(a){this.wf("pressed",a)}selected(){return!1}Eh(){}pressed(){return"true"== +kt(this.U,"pressed")}ha(a){super.ha(a);this.ri&&this.Me(this.ri,0)}wp(a){super.wp(a);this.ri&&this.Me(this.ri,0)}};class $C extends P{constructor(a,b){super({F:"bookmark"});this.D=a;this.Qy=b;this.J(!1);a.duration()?this.aF():Qe(this,a.gW,this.aF,this);x(this,this.displayObject(),Km,this.E6,this,!1)}aF(){L(this,"left",`${this.Qy.time()/this.D.duration()*100}%`);this.J(!0)}E6(a){a.stopPropagation();this.D.seek(this.Qy.time());return yn(this.displayObject().parentNode)}};function aD(a,b){null!==b&&0>b&&(b=null);null!==a.mi&&a.jb[a.mi].Eh(!1);a.mi=b;null!==b&&a.jb[b].Eh(!0);if(null!==a.mi){var c=a.jb[a.mi];b=c.displayObject().offsetTop;c=b+c.displayObject().offsetHeight;Ht(a,b,c)}}function bD(a,b){b=a.jG.indexOf(b);aD(a,0<=b?b:null)}class cD extends P{constructor({F:a,zf:b,options:c}){super({F:a,zf:b});this.vf("listbox");L(this,"position","absolute");this.jG=c.slice();Object.freeze(this.jG);this.jb=[];this.mi=null;this.DO=E(this)}options(){return this.jG}};class dD extends cD{constructor({F:a,options:b,C0:c}){super({F:a,options:b});for(const d of b){const e=c(d);e.vf("option");e.Eh(!1);Gt(e,O(this,"item"));M(this,e);this.jb.push(e);z(this,e.ja,()=>{aD(this,this.jb.indexOf(e));this.DO.C()})}}Qa(a,b){super.Qa(a,b);this.jb.forEach(c=>c.xb())}};const eD=[{value:.75,toString:()=>"0.75x"},{value:1,toString:()=>"1x"},{value:1.25,toString:()=>"1.25x"},{value:1.5,toString:()=>"1.5x"},{value:2,toString:()=>"2x"}];function fD(a){const b=eD.find(c=>("number"===typeof a.mi?a.jG[a.mi]:null)==c.toString());return b?b.value:null}function gD(a,b){const c=eD.find(d=>d.value==b);bD(a,c?c.toString():null)} +class hD extends dD{constructor(a){super({F:"playback-rate-menu",options:eD.map(c=>c.toString()),C0:c=>{const d=new P({aJ:!0});d.ha(c);return d}});const b=new P({ka:O(this,"caption")});b.ha(a.ia("PB_PLAYBACK_RATE_MENU_CAPTION",{},"Rate"));M(this,b,0)}};class iD extends dD{constructor(a,b){super({F:"subtitles-list",options:[b.ia("PB_SUBTITLES_OFF",{},"Off"),...a],C0:c=>{const d=new P({aJ:!0});d.ha(c);return d}});a=new P({ka:O(this,"caption")});a.ha(b.ia("PB_SUBTITLES_MENU_CAPTION",{},"Subtitles"));M(this,a,0)}};function jD(a,b){void 0===b&&(b=a.D.muted()?0:a.D.volume());L(a.VT,"height",`${100*(1-b)}%`);return yn(a.displayObject())} +class kD extends P{constructor(a){super({F:"volume_popup"});this.D=a;this.kC=new P({F:"volume"});M(this,this.kC);this.VT=new P({F:"back"});M(this.kC,this.VT);jD(this,this.D.volume());z(this,this.D.GF,()=>jD(this));z(this,this.D.YP,()=>jD(this));x(this,this.kC.displayObject(),Km,this.Q7,this)}Q7(a){x(this,document,Mm,this.gG,this);x(this,document,Lm,this.xX,this);this.gG(a);this.D.qk(!1)}gG(a){this.visible()&&(a=Lh(a,this.kC.displayObject()).y,a=Math.min(1,a/this.kC.height()),a=Math.max(0,a),a=1-a, +this.D.setVolume(a),jD(this,a))}xX(a){Ne(this,document,Mm,this.gG,this);Ne(this,document,Lm,this.xX,this);this.gG(a)}};function lD(a){const b=new ZC({F:"play",toggle:!0});b.vk(!0);z(a,b.ja,()=>a.D.playing()?a.D.pause():a.D.play());return b} +function mD(a){if(a.lx){const b=new ZC({F:"rate",toggle:!0});b.vk(!0);b.X("subtitle-button-next",nD(a));const c=new hD(a.I);c.J(!1);c.X("subtitle-button-next",nD(a));gD(c,a.D.playbackRate());z(a,b.ja,()=>{if(c.visible()){const d=new TC(c.displayObject(),1,0,150);d.play();Me(a,d,"finish",()=>{c.J(!1);b.Dc(!1);xt(b.displayObject(),"selected")})}else oD(a,{button:b,Er:c,F1:()=>{b.Dc(!1);xt(b.displayObject(),"selected")}}),b.Dc(!0),wt(b.displayObject(),"selected")});z(a,c.DO,()=>{a.D.wk(fD(c));c.J(!1)}); +return{N1:b,O1:c}}return{N1:null,O1:null}}function pD(a){const b=new ZC({F:"mute",toggle:!0});b.vk(!0);const c=new kD(a.D);c.J(!1);z(a,b.ja,()=>{const d=!a.D.muted();a.D.qk(d);b.Dc(d);d?wt(b.displayObject(),"selected"):xt(b.displayObject(),"selected")});z(a,a.D.GF,()=>{const d=a.D.muted();b.Dc(d);d?wt(b.displayObject(),"selected"):xt(b.displayObject(),"selected")});x(a,b.displayObject(),"mouseover",()=>{c.visible()||oD(a,{button:b,Er:c})});return{Fba:b,uda:c}} +function qD(a,b){var c=a.b8.displayObject(),d=a.va.width()-2;a=Lh(b,c).x/a.lO*a.ra;d=Math.min(1,a/d);return d=Math.max(0,d)}function rD(a){function b(e){e=e.toString();1==e.length&&(e="0"+e);return e}a=Math.round(a);const c=Math.floor(a/3600);a%=3600;const d=Math.floor(a/60);a%=60;return b(c)+":"+b(d)+":"+b(a)}function nD(a){return!!a.Lf&&!!sD(a.Lf).length} +function oD(a,{button:b,Er:c,F1:d}){c.J(!0);let e=new TC(c.displayObject(),0,1,150);e.play();let f=!1;x(a,document,Mm,g=>{g=tD({button:b,Er:c,Iaa:g});if(g==f){const h=parseFloat(Eh(c.displayObject(),"opacity"));e.stop();g?(f=!1,e=new TC(c.displayObject(),h,1,150),e.play()):(f=!0,e=new TC(c.displayObject(),h,0,150),e.play(),Me(a,e,"finish",()=>{c.J(!1);d&&d()}))}})} +function uD(a){const b=new ZC({F:"subtitles",toggle:!0});b.vk(!0);z(a,b.ja,()=>{a.Yj&&a.pi&&!a.Yj.visible()&&(oD(a,{button:a.pi,Er:a.Yj,F1:()=>{a.pi&&(a.pi.Dc(!1),xt(a.pi.displayObject(),"selected"))}}),a.pi.Dc(!0),wt(a.pi.displayObject(),"selected"))});a.pi=b;a.O(b)}function vD(a,b){b=new iD(b,a.I);b.J(!1);z(a,b.DO,()=>{if(a.Lf&&a.Yj){var c=(c=a.Yj.mi)?c-1:null;"number"===typeof c?a.Lf.select(c):a.Lf.show(!1);a.Yj.J(!1)}});a.Yj=b;a.O(b)} +function tD({button:a,Er:b,Iaa:c}){const d=Lh(c,b.displayObject());if(0>d.x||d.x>b.width()||0>d.y)return!1;b=Lh(c,a.displayObject());return 0>=b.y||0<=b.x&&b.x<=a.width()&&b.y<=a.height()} +class wD extends P{constructor({kc:a,dda:b,ga:c,ik:d,ED:e}){super({F:"controls",jI:!0});this.D=a;this.Lf=b;this.I=c;this.lx=e;this.hb=lD(this);M(this,this.hb);const {fca:f,lc:g}=this.rs(d);this.b8=f;this.va=g;M(this,this.va);const {N1:h,O1:l}=mD(this);(this.yG=h)&&M(this,this.yG);(this.zG=l)&&M(this,this.zG);this.Yj=this.pi=null;this.Lf&&(this.D_(),z(this,this.Lf.rT,this.D_,this),z(this,this.Lf.tT,this.E_,this));const {Fba:n,uda:m}=pD(this);this.O5=n;M(this,this.O5);this.v$=m;M(this,this.v$);this.Wp= +this.yK();M(this,this.Wp);this.j_=new C;this.UV=new C;this.hg=this.om=!1;this.lO=this.ra=1;z(this,this.D.Ec(),this.gt,this);z(this,this.D.Qj,this.M6,this);yi(this.displayObject(),"left bottom")}locked(){return this.hg}yK(){const a=new ZC({F:"toggle_fullscreen",toggle:!0});a.vk(!0);z(this,a.ja,()=>this.j_.C());return a}rs(a){const b=new P({F:"progress"}),c=new P({F:"loading"});M(b,c);const d=new P({F:"playing"});M(b,d);const e=new P({F:"tooltip"});e.J(!1);M(b,e);if(a)for(let f=0;f{L(c,"width",100*this.D.xI()+"%")});z(this,this.D.Ef,()=>{L(d,"width",this.D.currentTime()/this.D.duration()*100+"%")});x(this,b,"mouseover",()=>{e.J(!0)});x(this,b,"mouseout",()=>{e.J(!1)});x(this,b,Mm,f=>{f=qD(this,f);L(e,"left",`${100*f}%`);e.ha(rD(f*this.D.duration()))},this);x(this,b,Km,this.rw,this);return{fca:d,lc:b}}D_(){this.Yj&&(this.removeChild(this.Yj),this.Yj=null);nD(this)&&(this.pi||uD(this),vD(this,sD(this.Lf)));this.E_()}E_(){var a=nD(this); +this.pi&&this.pi.J(a);if(this.Yj){const b=this.Lf;a=a&&b.isVisible()?b.At:null;aD(this.Yj,null==a?0:a+1)}}rw(a){this.hg=!0;x(this,document,Mm,this.qw,this);x(this,document,Lm,this.aG,this);this.D.playing()&&(this.D.pause(),this.om=!0);this.qw(a);a.preventDefault()}qw(a){this.D.seek(qD(this,a)*this.D.duration())}aG(a){Ne(this,document,Mm,this.qw,this);Ne(this,document,Lm,this.aG,this);this.qw(a);this.om&&(this.D.play(),this.om=!1);this.hg=!1;this.UV.C()}gt(){const a=this.D.playing();this.hb.Dc(a); +a?wt(this.hb.displayObject(),"selected"):xt(this.hb.displayObject(),"selected")}M6(){this.zG&&gD(this.zG,this.D.playbackRate())}};const xD=$g?{snapToLines:!1,line:83,lineAlign:"end"}:{snapToLines:!0,line:-4,lineAlign:"end"},yD=(a,b)=>{b?a.mode="showing":"showing"===a.mode&&(a.mode="hidden")},zD=a=>{for(let b=0;b{a.snapToLines=b.snapToLines;a.line=b.line;a.lineAlign=b.lineAlign},BD=a=>{if(a&&a.cues){const b=[];for(let c=0;c{this.select(zD(this.nj));this.tT.C(this)};a=()=>{this.select(zD(this.nj));this.rT.C(this)};this.nj.onaddtrack=a;this.nj.onremovetrack=a}select(a){this.At=null!==a&&ac&&"SOURCE"==c.nodeName&&"video/mp4"==c.getAttribute("type"));b&&a.appendChild(b)}return new FD(a)} +function HD(a){if(!Ii){const b=a.mediaElement().getAttribute("poster");a.mediaElement().removeAttribute("poster");if(b)return a=new P({F:"poster"}),L(a,"background",`url(${b})`),L(a,"background-size","100% 100%"),a}return null}function ID(a){if(!Ii)if(a=a.mediaElement(),tj)JD(a);else if(!sj&&la(a.textTracks)&&void 0!==a.textTracks.length)return new ED(a.textTracks);return null} +function JD(a){const b=c=>c&&"TRACK"===c.nodeName&&c.hasAttribute("kind")?(c=c.getAttribute("kind"),!!c&&("captions"===c||"subtitles"===c)):!1;Pd(a,c=>c&&b(c)&&c.hasAttribute("default"))||(a=Pd(a,b))&&a.setAttribute("default","")};function lq(a,b){a.uw=b;Bd(b,a.$a.displayObject());Ii&&KD(a,a.D.mediaElement().width,a.D.mediaElement().height);Ii&&(Fj?void 0!==window.TouchEvent&&window.event instanceof window.TouchEvent||window.event instanceof MouseEvent:1)&&(a.D.play(),a.D.pause());sj&&(a.$a.resize(a.$a.width()+1),Gi(()=>a.$a.resize(a.$a.width()-1)))} +function pq(a){a.uw=null;if(Fd(a.$a.displayObject())&&Ii){const b=a.D,c=GD(a.p$);Cj?(a.$a.removeChild(b.mediaElement()),a.$a.O(c.mediaElement())):a.$a=new P({za:c.mediaElement()});ak(a,c);b.gd()}}function Bu(a,b){a.Ej&&(b?a.eF||(a.eF=setInterval(()=>LD(a),100)):(clearInterval(a.eF),a.eF=void 0,a.ly(!1)))} +function FC(a,b){if(a.ff){const c=Vi()?"poster_frame_hide_video":"poster_frame";b?wt(a.$a.displayObject(),c):xt(a.$a.displayObject(),c);a.ff.Rf(b?1:0);!b&&a.BG&&(MD(a,a.BG),a.BG=void 0);Ib&&!Ii&&Th(a.D.mediaElement(),!b)}} +function ND(a,b){const c=new wD({kc:a.D,dda:a.Lf,ga:a.I,ik:b,ED:a.lx});c.resize(a.D.mediaElement().width);c.Rf(0);c.j_.addHandler(()=>{a.ly(!a.$l);return yn(c.displayObject())},a);c.UV.addHandler(()=>{a.BM||OD(a,!1)},a);ve(a.$a.displayObject(),"mouseenter",()=>{a.BM=!0;OD(a,!0)},!1,a);ve(a.$a.displayObject(),"mouseleave",()=>{a.BM=!1;c.locked()||OD(a,!1)},!1,a);return c}function MD(a,b){a.ff&&L(a.ff,"background-image",`url(${b})`)} +function PD(a,b,c){a.ff||(a.ff=new P({F:"poster"}),L(a.ff,"background-size","contain"),L(a.ff,"background-position","center"),L(a.ff,"background-repeat","no-repeat"),L(a.ff,"position","absolute"),L(a.ff,"top","0"),Ii?a.$a.displayObject().parentNode.appendChild(a.ff.displayObject()):a.$a.O(a.ff),a.ff.resize(a.$a.width(),a.$a.height()));!c&&Ii&&a.ff.opacity()?a.BG=b:MD(a,b)} +function LD(a){var b=a.$a.displayObject().parentNode;if(b&&"none"!=b.style.display){var c=Qh(a.$a.displayObject());a.Ej.resize(c.width);b=(b=sn(b))?b.pd:1;b=tj||a.$l?b*a.$N:b;a=a.Ej;b&&(a.lO=b,b=a.width())&&(a.ra=Math.max(a.lO,240/b),c=Math.round(11/a.ra),L(a,"left",`${c}px`),L(a,"bottom",`${c}px`),b=Math.round(b*a.ra)-22,wn(a.displayObject(),1/a.ra),c=b-173,a.pi&&a.pi.visible()&&(c-=a.pi.width()),a.yG&&(c-=a.yG.width()),a.va.resize(c),a.Kb(b))}} +function KD(a,b,c){const d=tj||a.$l?1:a.$N,e=new gm;e.scale(1/d,1/d);on(a.$a.displayObject(),e);a.$a.resize(b*d,c*d)}function OD(a,b){var c=b?1:0;(new YC(a.Ej,a.Ej.opacity(),c)).play();a.Lf&&(b?(a=a.Lf,a.Yq||(a.Yq=BD(DD(a)))):CD(a.Lf))} +class QD extends ck{constructor(a,b,c,d=null){const e=GD(a);super(e);this.p$=a;this.I=new lt(d||{});this.ff=HD(e);this.Lf=ID(e);this.Ej=null;this.BG=void 0;this.BM=this.$l=!1;this.$N=1;this.FH=!1;this.eF=void 0;this.uw=null;this.lx=b;Ii?Cj?(this.$a=new P({F:"video_player"}),Gt(this.$a,"iphone"),this.$a.O(this.D.mediaElement()),this.$a.resize(this.D.mediaElement().width,this.D.mediaElement().height),c=this.D.mediaElement().getAttribute("poster"),this.D.mediaElement().removeAttribute("poster"),c&&(L(this.$a, +"background","url("+c+")"),L(this.$a,"background-size","100% 100%")),this.Zo(this.rj())):this.$a=new P({za:this.D.mediaElement()}):(a=this.rj(),super.Zo(!1),this.$a=new P({F:"video_player"}),this.Ej=ND(this,c),this.ff&&this.$a.O(this.ff),this.$a.O(this.D.mediaElement()),this.$a.O(this.Ej),this.$a.resize(this.D.mediaElement().width,this.D.mediaElement().height),this.Zo(a),ve(this.D.mediaElement(),"loadeddata",this.hF,!1,this));FC(this,!0);pj&&this.D.Ec().addHandler(f=>{"playing"==f.state()&&this.uw&& +(f=this.uw.style.opacity,this.uw.style.opacity="0.99",this.uw.style.opacity=f)},this)}Zo(a){this.Ej?this.Ej.J(a):Cj?a?xt(this.$a.displayObject(),"without_controls"):wt(this.$a.displayObject(),"without_controls"):this.D.Zo(a);a?this.FH||(ij?x(this,this.$a,"click",this.fG,this):z(this,this.$a.ja,this.fG,this),x(this,this.$a,"click",this.SZ,this),this.FH=!0):this.FH&&(ij?Ne(this,this.$a,"click",this.fG,this):Pe(this,this.$a.ja,this.fG,this),Ne(this,this.$a,"click",this.SZ,this),this.FH=!1)}rj(){return this.Ej? +this.Ej.visible():super.rj()}qQ(){this.D&&this.D.qQ()}LR(){this.D&&this.D.LR()}setScale(a){this.$N=a;KD(this,this.D.mediaElement().width,this.D.mediaElement().height)}videoWidth(){return this.D.videoWidth()}videoHeight(){return this.D.videoHeight()}resize(a,b){this.$a&&(KD(this,a,b),this.Ej&&LD(this));const c=this.D.mediaElement();c.width=a;c.height=b;this.hF();this.ff&&this.ff.resize(this.$a.width(),this.$a.height())}Ih(a){a=super.Ih(a);this.hF();return a}hF(){if(Ib||Jb){var a=this.D.mediaElement(); +L(this.$a,"background","#000000");F(a,"width","");F(a,"height","");this.$l||(a.videoWidth/a.videoHeight{c.setScale(b)})}function RD(a){const b=a.Pn?0:a.Le;b!=a.hO&&(a.hO=b,a.xY.C(),a.Ww.setVolume(b),a.Ut.setVolume(b))} +class SD extends wg{constructor(a){super();this.Ee=a;this.Ww=new PC;this.Ut=new PC;this.Le=1;this.Pn=!1;this.hO=1;this.zl=E(this);this.xY=E(this);this.mW=E(this);this.NX=E(this);this.LZ=E(this);this.s$=E(this);this.ra=1;this.I=null;z(this,this.Ee.Qj,this.tS,this)}TQ(a){var b=a.Ni;a=a.volume();a=void 0!==a?a:1;if(this.Ww.FQ(b))var c=this.Ww.get(b);else c=null,b.lr()?c=rd(document,b.lr()):b.wi()&&(c=Ad(Kc(b.wi()))),c=new ik(c),c.wk(this.Ee.playbackRate()),z(this,c.Iy,this.cG,this),this.Ww.set(b,c,a); +return c}Rm(a){var b=a.Ni,c=a.volume();a=a.ik();c=void 0!==c?c:1;this.Ut.FQ(b)?a=this.Ut.get(b):(a=new QD(b.wi(),this.Ee.ED(),a,this.I),z(this,a.Iy,this.F7,this),a.setScale(this.ra),a.wk(this.Ee.playbackRate()),this.Ut.set(b,a,c));return a}tS(){const a=this.Ee.playbackRate();this.Ww.forEach(b=>b.wk(a));this.Ut.forEach(b=>b.wk(a))}volume(){return this.Le}setVolume(a){if(0>a||1new jk(d.S,d.s,d.t)),b.YB=!0;return b}function Us(a,b){return b in a.Nq?a.Nq[b]:null}function rs(a,b,c){c?a.Nq[b]=c:delete a.Nq[b];a.ul=!0}function ft(a,b){a.yl!=b&&(a.yl=b,a.ul=!0,a.wV.Dx())}function Os(a,b){a.Ns!=b&&(a.Ns=b,a.ul=!0)} +class WD{constructor(){this.Ns=null;this.yl=0;this.Jm=null;this.Mq={};this.Nq={};this.ul=!1;this.wV=new UD(this.Y4.bind(this));this.Tq=new C;this.YB=!1}cR(){return this.Ns}Ix(a){return a in this.Mq?this.Mq[a]:null}OR(){const a={};a.lastViewedSlide=this.Ns;a.viewDuration=this.yl;a.slideStates=qc(this.Mq);this.Jm&&(a.zoomState=this.Jm.persistState());this.YB&&(a.slideTimelineStates=hc(this.Nq,b=>b.OR()));return a}sQ(a){this.Ns=a.Ns;this.yl=a.yl;this.Mq=qc(a.Mq);this.YB=a.YB;this.Jm=a.Jm?a.Jm.sQ():null; +this.Nq=hc(a.Nq,b=>b.clone());this.ul=!0}invalidate(){this.wV.Jaa()}Y4(){this.ul&&(this.ul=!1,this.Tq.C())}stateChangedEvent(){return this.Tq}};function rq(a,b,c){a.Fe()&&a.xE(a.yZ,b,c)&&(b=a.G.settings().Qu().kJ(),c="quiz"==a.B.fa().type(),b&&!c?b.open():a.B.fa().nC()&&!uj&&xu(a))}function xu(a){const b=a.rc,c=b.$(),d=a.G.settings().Vc().Tm(),e=b.AR()&&0>b.fh();c.started()||e?!d&&e?et(a.Za.On):"bySlides"==a.G.settings().navigation().Um().$g()?b.sf():b.fp():b.play()} +class XD{constructor(a,b){this.G=a;this.Za=b;this.rc=this.B=null;this.yZ=new C;this.n9=new C;this.o9=new C;this.m9=new C}Fe(){return!!this.B&&0<=this.B.ma()}xE(a,b){const c=new Mn,d=Xa(Ua(arguments),1);a.C(...d.concat(c));return!c.actionPrevented()}};var YD=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function ZD(a,b,c){if(Array.isArray(b))for(var d=0;d{aE=!0;cE(a)&&a.Ab(a.Y)});const c=window.location.toString().match(YD)[1]||null;b.src="https"==c?"https://players.youku.com/jsapi":"http://player.youku.com/jsapi";document.body.appendChild(b)};function dE(a,b){this.Tb=a;this.Q_=b}k=dE.prototype;k.Tb="";k.Q_="";k.Va=0;k.Na=0;k.mj=0;k.vl=1;k.width=function(){return this.Va};k.Kb=function(a){this.Va=a};k.height=function(){return this.Na};k.Wc=function(a){this.Na=a};k.id=function(){return this.Tb};k.Li=function(){return this.Q_};k.ib=function(){return this.mj*this.vl};k.Kl=function(a){this.vl=a};function eE(a,b,c){dE.call(this,a,b);this.BT=c}r(eE,dE);eE.prototype.BT="";eE.prototype.clientId=function(){return this.BT};function fE(a,b){this.D=null;this.In=!1;this.Db=a;this.qm=b;this.Gq=new C;this.wc=zd("DIV");this.wc.style.position="absolute";a.displayObject().appendChild(this.wc);Th(this.wc,this.lh);this.Nf(a)}k=fE.prototype;k.In=!1;k.lh=!1;k.rR=function(){this.In=!0;this.Mg(this.Db);this.yB(this.lh);this.Gq.C(this)};k.Rba=function(){};k.Qba=function(){};k.ki=function(){return this.In&&null!=this.D};k.stop=function(){if(this.ki())try{this.D.pauseVideo()}catch(a){}};k.visible=function(){return this.lh}; +k.Mg=function(a){this.Nf(a);if(this.ki()){const c=this.sa;var b=a.scale();a=b*this.qm.width();b*=this.qm.height();Nh(c,a,b)}};k.Nf=function(a){a=a.position(this.qm.id(),1);Gh(this.wc,a.x,a.y)};k.iJ=function(a){this.lh!=a&&(this.lh=a,this.yB(a))}; +k.yB=function(a){if(a){if(!this.D){var b=this.wc,c=this.Db.scale();const e=this.qm,f={styleid:"0",client_id:e.clientId(),vid:e.Li(),autoplay:!1,show_related:!1,events:{onPlayerReady:this.rR.bind(this),onPlayStart:this.Rba.bind(this),onPlayEnd:this.Qba.bind(this)}},g="_"+e.id(),h=zd("DIV");h.setAttribute("id",g);var d=c*e.width();c*=e.height();Nh(h,d,c);F(h,"background","#494949");d=zd("DIV");F(d,"position","absolute");F(d,"top","50%");F(d,"left","50%");F(d,"transform","translate(-50%, -50%)");h.appendChild(d); +c=zd("DIV");mn(c,"preloader");F(c,"position","relative");d.appendChild(c);c=zd("DIV");Nd(c,"\u8bf7\u7a0d\u540e");F(c,"position","relative");F(c,"font-family",'Tahoma, Arial, Helvetica, "Microsoft YaHei New", "Microsoft Yahei", "\u5fae\u8f6f\u96c5\u9ed1", \u5b8b\u4f53, SimSun, STXihei, "\u534e\u6587\u7ec6\u9ed1", sans-serif');F(c,"font-weight","lighter");F(c,"font-size","32px");F(c,"color","white");F(c,"text-align","center");F(c,"margin-top","12px");d.appendChild(c);b.appendChild(h);this.sa=h;this.D= +new YKU.Player(g,f);this.Mg(this.Db)}}else Cd(this.wc),this.D=null,this.In=!1;Th(this.wc,a)};k.readyEvent=function(){return this.Gq};var gE,hE=!1;q("onYouTubePlayerAPIReady",function(){hE=!0;var a=gE;cE(a)&&a.Ab(a.Y);gE=null});function iE(a,b){dE.call(this,a,b)}r(iE,dE);function jE(a,b){this.D=null;this.In=!1;this.Db=a;this.qm=b;this.Gq=new C;this.wc=zd("DIV");this.wc.style.position="absolute";a.displayObject().appendChild(this.wc);Th(this.wc,this.lh);this.Nf(a)}k=jE.prototype;k.In=!1;k.lh=!1;k.rR=function(){this.In=!0;this.Mg(this.Db);this.yB(this.lh);this.Gq.C(this)};k.Tba=function(){};k.Uba=function(){};k.Sba=function(){};k.ki=function(){return this.In&&null!=this.D};k.sa=function(){return this.ki()?this.D.getIframe():null};k.stop=function(){if(this.ki())try{this.D.stopVideo()}catch(a){}}; +k.visible=function(){return this.lh};k.Mg=function(a){this.Nf(a);const b=this.sa();if(b){var c=a.scale();a=c*this.qm.width();c*=this.qm.height();Nh(b,a,c)}};k.Nf=function(a){const b=this.qm.id();a=a.position(b,1);Gh(this.wc,a.x,a.y)};k.iJ=function(a){this.lh!=a&&(this.lh=a,this.yB(a))}; +k.yB=function(a){if(a){if(!this.D){var b=this.wc,c=this.Db.scale(),d=this.qm;c={width:c*d.width(),height:c*d.height(),videoId:d.Li(),playerVars:{controls:1,loop:0,enablejsapi:1,autohide:2,autoplay:0,showinfo:1,rel:0},events:{onReady:this.rR.bind(this),onPlaybackQualityChange:this.Tba.bind(this),onStateChange:this.Uba.bind(this),onError:this.Sba.bind(this)}};d="_"+d.id();const e=zd("DIV");e.setAttribute("id",d);b.appendChild(e);this.D=new YT.Player(d,c);this.Mg(this.Db)}}else Cd(this.wc),this.D=null, +this.In=!1;Th(this.wc,a)};k.readyEvent=function(){return this.Gq};function kE(a,b,c){this.Ob={};this.Db=a;this.M=c;this.Y=b;a.Qe().addHandler(this.KA,this);b.Zb().addHandler(this.Ab,this)}k=kE.prototype;k.W=-1;k.$_=!1;k.Z_=!1;function lE(a,b,c){let d=0;if(0>b||b>=a.M.count())return d;a=a.M.la(b);if(a instanceof Am)for(a=a.xz,b=0;bb||b>=a.M.count())&&(b=a.M.la(b),b instanceof Am)){b=b.xz;for(let f=0;fa/uE.width||1>b)&&F(c,"backgroundSize","contain")}}; +k.Uc=function(){if(this.Ra)if(this.Ra=!1,this.BU){this.Db.Qe().removeHandler(this.SW,this);var a;null==(a=this.Cv)||a.gd();this.Cv=null}else{const b=sE(this);b&&(a=tE(),nn(b,a),Cd(b))}};function rE(a){const b=a.Db.scale(),c=a.Bv;a.Cv.setSize(c.width()*b,c.height()*b)}function qE(a){var b=document.getElementById(a.Bv.containerId());const c=a.Db.scale(),d=sn(b);if(d){var e=d.ve;b=d.we}else e=parseFloat(Eh(b,"left")),b=parseFloat(Eh(b,"top"));a=rd(a.Cv.od);Gh(a,e*c,b*c)}k.SW=function(){qE(this);rE(this)}; +function sE(a){if(a.IE)return a.IE;a.IE=rd(document,a.Bv.containerId());return a.IE}var uE=new cd(74,89); +function tE(){if(void 0!==pE)return pE;const a="_sf"+ld();pE=a;gn("."+a+" {background: #A42222;}."+a+" div {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEoAAABZCAYAAACZkrJEAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwQAADsEBuJFr7QAAABp0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuMTAw9HKhAAAFA0lEQVR4Xu3c21MTVxwHcP/B+i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4rDJ2abUWpAESIW2ynin2369BKU9bBJRInYJ27T92otAGdIMfSPRKtzadhy2EKmISJTx3rsrz9z09Px5yG7+C8UsIhEmg9vk6jbe7MFMdXSCYrOR4mihJ/ECNHtsXHwfa5Bie4lAad0Sxu1zcbKNHMQYTqJTHR3VOH/shcDYKA6xDd1wVPgM7qOR4+PiM8UMtsWkvOjtFQlqF6GMT/jlC3GQqv/9C5GMTvzdilhIZkE9aGsTECqNjTIwjy9dEg+p2qh0CqGMifPnG2IiGQm1eOeOuEhGQTluCNwkdRFX2E2CXklHFZi5eFHsJukNFV/xw/CxY3IgMaw8Noo67tu36wKN4rNRnPjkQzUz+NCa3/E9FvUCPsDXLFz8+PIRKoFQNIlhi0ZPnWr45BTNU54dCBfRfO0ZHgE7vscPVAqRDplYwA/TTcxFWhiGwnBUmElsmU0WqLXnz5oCUjFqG8Te/7OvD9yfwJbxIYAcNWoHG9V41j0LMHvlCskJ1DaKofw99wxUoDBPD2CvhxQL+GDt+RzYf7oOlnPnSHC0DdFCqcPsKT7MhoV9jiuosZMngWW0JtxUvnUgLQGpBD4AN9FCi/luT4wAAAAASUVORK5CYII=) no-repeat;background-position: center;}");return a} +;function vE(a,b,c,d){this.R=a;this.Db=b;this.Y=c;this.M=d;this.pL=[];c.Zb().addHandler(this.Ab,this)}vE.prototype.W=-1;vE.prototype.Ab=function(){var a=this.Y.timestamp(),b=a.L();if(b!=this.W){if(0<=this.W){var c=this.M.la(this.W);c instanceof Am&&wE(this,c,-1)}this.W=b}if(0<=b&&(c=this.M.la(b),c instanceof Am)){b=c;const d=a.Ba();a=0>d?-1:b.sb().sc(d).startTime()+a.ib();wE(this,c,a)}}; +function wE(a,b,c){b=b.bL;for(let g=0;ge||e>=d.count())throw Error("index is out of range");d=d.Az[e];e=a;var f=d;const h=ma(f)+"";h in e.pL||(e.pL[h]=new oE(f,e.R,e.Db));e=e.pL[h];c>=d.ib()?e.show():e.Uc()}};function xE(a){ei&&a.uU.addHandler(this.q6,this)}xE.prototype.q6=function(a,b){"string"!==typeof a&&(a=a.baseVal);this.BN(a)&&(b.AT=!0)};xE.prototype.BN=function(a){return(new di("openWindow",[a])).Dx()};function yE(a,b,c,d){this.Ve=b;this.B=c;this.me=d;this.IH=zE(a);this.XO=[];this.QX={};this.FZ={};this.U=zd("div");this.Ve.displayObject().appendChild(this.U);c.$().Zb().addHandler(this.Ab,this);b.Qe().addHandler(this.S6,this)}k=yE.prototype;k.W=-1;k.Nb=!1;k.activate=function(){this.Nb=!0;const a=this.B.$().timestamp();0<=a.L()&&0<=a.Ba()&&this.Mj(a.L())};function zE(a){return new ru(a,b=>{b=b.ie();const c=[];for(let d=0;d{c.playbackStateChangedEvent().removeHandler(b.bN,b)});this.Rz=[];this.Ij.audioStartingEvent().removeHandler(this.MW,this);this.Ij.audioStartedEvent().removeHandler(this.LW,this);this.Ij.videoStartingEvent().removeHandler(this.OW,this);this.Ij.videoStartedEvent().removeHandler(this.NW,this);this.dF=this.Ij=null}const a=this.B.Oa()||this.B.tb()||this.B.fb();a&&(this.Ij=a.mediaController())&&(this.Ij.audioStartingEvent().addHandler(this.MW,this), +this.Ij.audioStartedEvent().addHandler(this.LW,this),this.Ij.videoStartingEvent().addHandler(this.OW,this),this.Ij.videoStartedEvent().addHandler(this.NW,this),this.dF=a.soundController(),this.A_())};k.MW=function(a,b,c){this.cW.s0(b)||c.suspend()};k.LW=function(a){a.ready()||a.readyEvent().addHandler(this.KW,this)};k.KW=function(a){a.readyEvent().removeHandler(this.KW,this);this.T4.C()};k.OW=function(a,b,c){this.cW.t0(b)||c.suspend()}; +k.NW=function(a){Pa(this.Rz,a)||(this.Rz.push(a),a.playbackStateChangedEvent().addHandler(this.bN,this),this.W4.C())};k.bN=function(a){a.playing()||(a.playbackStateChangedEvent().removeHandler(this.bN,this),Ra(this.Rz,a))};k.A_=function(){this.dF&&this.dF.setVolume(this.hc.dD())};function DE(){}DE.prototype.activate=function(){};class EE{constructor(a,b,c){const d=c.duration();b=new gf(b.index(),-1,0);const e=c.ti(b,!0,!1);a="untilNextSound"==a.wm?d:Math.min(d,e+a.duration());c=c.Xo(a,!0,!1);this.$i=new Ef([new Bf(new zf("play",b,0),b,c)])}oQ(){return this.$i}};function FE(a,b,c,d){this.M=a;this.Za=b;this.CF=[];this.Y=c;c.Ec().addHandler(this.kw,this,1);for(b=0;b=ff(d,Cf(c.zR).Lb()),c.rS(d))}}} +FE.prototype.kw=function(){this.Y.Kg()&&this.GM&&(GE(this),this.GM=!1)};FE.prototype.iV=function(a){const b=this.M;for(var c=a.Dd(),d=0;d=b.Ba()&&0==b.ib()?!LE(a)&&!ME(a):!0} +function OE(a){const b=a.G.slides(),c=a.Mf();var d=g=>{let h=null,l=null;for(let m=0;mff(c.Lb(),d.Lb()));return b}};function QE(a){this.UJ=new RE;this.kG={};a.LZ.addHandler(this.cG,this)}r(QE,DE);QE.prototype.activate=function(){this.UJ.activate()};QE.prototype.cG=function(a,b){if(b){b=ma(a)+"";var c=a.kc();var d=this.UJ;var e=c.src();let f=null;0a;++a){const b=new hk(zd("audio"));this.Ob.push(b)}} +RE.prototype.activate=function(){u(this.Ob,a=>{a=a.mediaElement();a.play();a.pause()})};RE.prototype.release=function(a){this.Ob.push(a)};function SE(a,b){const c=TE(a,b);UE(c);c.deactivate();a.V9.C(b)}function TE(a,b){const c=ma(b)+"";c in a.xP||(a.xP[c]=a.W9.sr(b,a.Y,a.Da));return a.xP[c]}function VE(a,b,c){if(a.Nb){b=WE(a,b);for(let d=0;d=b&&c.push(e)}return c} +function YE(a,b,c){c=ZE(a,c);const d=ZE(a,b.Lb());a=ZE(a,b.qf())-d;return Vc(c-d,0,a)}function ZE(a,b){return a.M.ti(b,!0,!1)} +class $E{constructor(a,b,c,d,e){this.M=a;this.Y=b;this.Da=c;this.W9=e;this.W=-1;this.BA=void 0;this.Nb=this.nK=!1;this.Fm=this.iH(d);this.Dp=[];this.xP={};this.U9=new C;this.V9=new C;b.Zb().addHandler(this.Ab,this);b.Ec().addHandler(this.kw,this)}activate(){this.Nb=!0;this.kw(this.Y)}Au(a){this.BA=a}F0(){this.Dp.forEach(a=>SE(this,a));this.Dp=[]}iH(a){const b=[];for(let c=0;cff(c.Lb(),d.Lb()));return b}Mj(a,b){this.nK=!0;if(0<=this.W){const c=WE(this,this.W); +for(let d=0;d=ff(e.qf(),b)||0{c.TC()||d()},this)}kw(a){if(this.Nb){a.started()&& +VE(this,this.W,a.timestamp());var b=this.Dp;for(let e=0;ethis.qc.wk(f.playbackRate()))}uf(){return 1==this.qc.xI()}TC(){return this.Bf||this.Zj||this.Wt}pH(a){this.Zj||this.Bf||(this.Zj=!0,kv(this.Da,!0,this),this.J9=a,a=1E3*(a-this.qc.currentTime())+500,this.ZZ=setTimeout(this.iZ.bind(this),a),this.qc.Ef.addHandler(this.yT,this))}iZ(){clearTimeout(this.ZZ); +this.ZZ=void 0;this.qc.Ef.removeHandler(this.yT,this);this.fd||this.qc.pause();this.Zj=!1;kv(this.Da,!1,this)}yT(){.1>this.J9-this.qc.currentTime()&&this.iZ()}preload(a){const b=this.qc,c=aF(this);if(!c&&!this.XN){this.XN=!0;const d=this.f$.bind(this);setTimeout(d,300);Ji&&(this.BP=setInterval(d,1E3))}!a||b.xC()&&c||this.Wt||(this.Wt=!0,Ts(this.Da,!0,this),b.Kp.addHandler(this.mN,this))}f$(){bF(this);this.qc.ready()?clearInterval(this.BP):this.qc.load()}mN(){Ji&&1==this.qc.duration()?this.vT=setInterval(this.K3.bind(this), +200):UE(this)}K3(){1!=this.qc.duration()&&UE(this)}activate(){qr(this.wP,"activated");this.qc.Ec().addHandler(this.VW,this)}deactivate(){qr(this.wP,"deactivated");this.qc.Ec().removeHandler(this.VW,this);this.Bf&&(this.Bf=!1,Ts(this.Da,!1,this));this.fd=!1;this.qc.pause()}$m(a,b,c){if(!this.Bf||b){bF(this);var d=this.qc,e=a-d.currentTime(),f=b?.01:.5;e>f&&!b&&!this.Bf&&!c?this.pH(a):Math.abs(e)>f&&d.MQ(a);this.fd&&!this.qc.playing()&&this.qc.play()}}play(a){this.fd||this.Wt||(this.$m(a,!this.qc.playing()), +this.fd=!0,this.qc.play())}pause(){this.fd&&(this.fd=!1,this.Bf||this.Zj||this.qc.pause())}VW(){var a=!1;"buffering"==this.qc.state()&&(a=!0);this.Bf!=a&&(this.Bf=a,qr(this.wP,a?"buffering":"activated"),Ts(this.Da,a,this),a||this.fd||this.qc.pause(),this.Og.C())}FP(){this.qc.Ih(this.XX)}};class dF extends cF{constructor(a,b,c,d,e){super(a,b,a.audio().sources(),c,d,e);this.Zr=b}};class eF{constructor(a,b){this.Zr=a;this.Ee=b}sr(a,b,c){return new dF(a,this.Zr,b,c,this.Ee)}};class fF{constructor(a){this.Ee=a}sr(a,b,c){var d=gk();d=new ik(d);return new dF(a,d,b,c,this.Ee)}};class gF extends $E{constructor(a,b,c,d,e,f){var g=gk();g=new ik(g);super(a,b,c,d,Ii?new eF(g,f):new fF(f));this.Zr=g;this.hc=e;e.eD().addHandler(this.Gm,this);this.Gm()}activate(){if(Ii){const a=this.Zr.kc().mediaElement();a.src=Hi();a.play()}super.activate()}Gm(){this.Zr.setVolume(this.hc.dD())}Hy(a){super.Hy(a);Ii||(this.Zr=TE(this,a).Zr,this.Gm())}};class hF extends cF{constructor({track:a,DD:b,$:c,Wo:d,su:e,JI:f}){super(a,b,a.video().sources(),c,d,f);this.Nd=b;this.zw=e}DD(){return this.Nd}activate(a){super.activate(a);this.zw&&PD(this.Nd,this.zw,!0)}FP(){this.zw&&(PD(this.Nd,this.zw,!0),FC(this.Nd,!0),this.Nd.Ef.addHandler(function b(){0!=this.Nd.currentTime()&&(this.Nd.Ef.removeHandler(b,this),FC(this.Nd,!1))},this));super.FP()}};class iF{constructor(a){this.Ee=a}sr(a,b,c){const d=new QD("",this.Ee.ED()),e=a.video().su();e&&PD(d,e,!0);return new hF({track:a,DD:d,$:b,Wo:c,su:a.video().su(),JI:this.Ee})}};function jF(a){this.Nd=a;this.U=zd("div");lq(a,this.U)}jF.prototype.displayObject=function(){return this.U};jF.prototype.displayObject=jF.prototype.displayObject;jF.prototype.resize=function(a,b){this.Nd.resize(a,b)};jF.prototype.resize=jF.prototype.resize;jF.prototype.width=function(){return this.Nd.width()};jF.prototype.width=jF.prototype.width;jF.prototype.height=function(){return this.Nd.height()};jF.prototype.height=jF.prototype.height; +jF.prototype.DS=function(a){a.resize(this.Nd.width(),this.Nd.height());pq(this.Nd);this.Nd=a;lq(a,this.U)};jF.prototype.updatePlayer=jF.prototype.DS;class kF{constructor(a,b){this.Nd=a;this.Ee=b}sr(a,b,c){return new hF({track:a,DD:this.Nd,$:b,Wo:c,su:a.video().su(),JI:this.Ee})}};class lF extends $E{constructor(a,b,c,d,e,f){const g=new QD(ah&&10>lj?"":"",f.ED());super(a,b,c,d,Ii?new kF(g,f):new iF(f));this.Nd=g;this.pa=new jF(g);this.hc=e;this.hc.eD().addHandler(this.Gm,this);this.Gm();this.bY=new P;this.bY.Rf(0);document.body.appendChild(this.bY.displayObject())}activate(){if(Fj){const a=this.Nd.kc().mediaElement();a.src=Hi();a.play();a.pause()}super.activate()}view(){return this.pa}WN(a){super.WN(a);Ii&&(clearTimeout(this.f8), +a.length&&(this.f8=Gi(()=>{const b=a[0].video().su();b&&PD(TE(this,a[0]).DD(),b)},this,500)))}Gm(){this.Nd.setVolume(this.hc.dD())}Hy(a){super.Hy(a);Ii||(this.Nd=TE(this,a).DD(),this.pa.DS(this.Nd),this.Gm())}}lF.prototype.view=lF.prototype.view;const mF={xga:"resumePlayback",nfa:"gotoSlide",Dea:"delayStartup"};class nF{constructor(a){this.Zw=a;this.Ld=0;this.Rl="gotoSlide";this.Fp=!1}L(){return this.Ld}Y1(a){this.Ld=a}action(){return this.Rl}xu(a){this.Rl=a}mf(){return this.Fp}bJ(a){this.Fp=a}$ca(){return this.Zw}}nF.prototype.startupController=nF.prototype.$ca;nF.prototype.setAutoStart=nF.prototype.bJ;nF.prototype.autoStart=nF.prototype.mf;nF.prototype.setAction=nF.prototype.xu;nF.prototype.action=nF.prototype.action;nF.prototype.setSlideIndex=nF.prototype.Y1;nF.prototype.slideIndex=nF.prototype.L; +q("ispring.presenter.player.startup.PresentationStartup.Action",mF);q("RESUME_PLAYBACK","resumePlayback",mF);q("GOTO_SLIDE","gotoSlide",mF);q("DELAY_STARTUP","delayStartup",mF);function oF(a){return a.s3.some(b=>a.B8.some(c=>c(b)))} +class pF{constructor(a,b,c){this.G=a;this.B=b;b=this.slides;var d=c;c=[];do if(c.push(d),"slide"==d.type()&&d.Al()){var e=b;const f=d.pj().kp();(d=f&&"gotoSlide"==f.type()?e.la(f.L()):d.index()b.Lb().L()<=a.index()&&b.qf().L()>=a.index())}t3(a){return!!a.Py}v3(a){return this.v9.some(b=>{a:{b:{var c=Kf(b,this.slides);if(0=b.L()&&a.index()<=c.L())){b={Lb:b,qf:c};break b}b=null}if(c=b){b=c.Lb;c=c.qf;if(a.index()==b.L()){if(0!!Df(Kf(c,this.slides),b))}return!1}t8(a){return a instanceof cr?(a=this.V.rf(a.index()))?!a.Oa().autoStartAvailable():!0:!1}Q8(a){return a instanceof Bq?(a=this.V.rf(a.index()))?!a.tb().autoStartAvailable():!0:!1}U4(a){return a instanceof tq?(a=this.V.rf(a.index()))?!a.fb().autoStartAvailable():!0:!1}};function qF(a,b,c,d,e){if(a.k8)throw Error("presentation was already started");if(e){var f=a.D;const l=f.Wa.Ge;l.sQ(e);ft(l,0);e=f.G.slides();for(f=0;f{Os(a.D.aI().Ge,b);a.D.pa.qI();const h=!(e instanceof Am);h&&f.lk(b,0,0,!1);let l=!1;if(void 0===c){c=d.settings().Vc().mf();const n=new pF(d,f,e);c&&(Fj||Gj)&&oF(n)&&(c=!1,l=!0)}l&&Ms(f,()=>{uF(a.D,b,!1,l)});l&&!h&&f.lk(b,0,0,!1);l||(vs(f,b,c),uF(a.D,b,c,l))};if(e.uf())g();else{const h=f.Wo();Ts(h,!0,a);const l=a.D.aI().hy().jf,n=m=>{m===e&&(Ts(h,!1,a),l.ql.removeHandler(n),g())};l.ql.addHandler(n)}} +class vF{constructor(a,b){this.D=a;this.H9=b;this.QZ=this.k8=!1}start(a,b){qF(this,a,b,"gotoSlide")}resume(a,b){qF(this,a,b,"resumePlayback",this.H9)}}vF.prototype.resume=vF.prototype.resume;vF.prototype.start=vF.prototype.start;function wF(a,b,c){this.sa=null;this.Oo=b;this.PN=c;b.DC()&&(this.wc=zd("DIV"),a.displayObject().appendChild(this.wc),this.wc.style.overflow="hidden",this.wc.style.position="absolute",Ni&&(this.wc.style["-webkit-overflow-scrolling"]="touch",this.wc.style.overflow="auto"),a=zd("IFRAME"),a.setAttribute("src",this.Oo.url()),a.style.border=0,a.style.backgroundColor="#ffffff",a.setAttribute("webkitallowfullscreen",""),a.setAttribute("mozallowfullscreen",""),a.setAttribute("allowfullscreen",""),this.sa= +a)}k=wF.prototype;k.lh=!1;k.Mg=function(a){const b=this.Oo;if(this.sa&&this.wc&&b.DC()){var c=a.scale();const d=c*b.width();c*=b.height();a=a.position(b.id(),1);Nh(this.wc,d,c);Gh(this.wc,a.x,a.y);Nh(this.sa,d,c)}};k.visible=function(){return this.lh}; +k.iJ=function(a){if(this.lh!=a)if(this.lh=a,this.Oo.DC()){if(a){this.wc.appendChild(this.sa);try{this.sa.contentWindow.ispringPresentationPlayer=this.PN}catch(b){}}else Cd(this.wc);Th(this.wc,a)}else if(a){if(!this.sa){a=this.Oo;const b={resizable:!0,statusbar:!1,toolbar:!1,location:!1,scrollbars:!1,menubar:!1},c=this.Oo.width()||this.Oo.height();a.PQ()?(b.width=screen.availWidth,b.height=screen.availHeight,b.top=0,b.left=0):c&&(b.width=Math.max(this.Oo.width(),100),b.height=Math.max(this.Oo.height(), +100));this.sa=ei?this.BN(a.url()):fh(a.url(),b)}}else{if(this.sa)try{this.sa.close()}catch(b){}this.sa=null}};k.BN=function(a){(new di("openWindow",[a])).Dx();return null};function xF(a,b,c,d){this.Ob={};this.PN=d;this.Db=a;this.M=c;b.Zb().addHandler(this.Ab,this);a.Qe().addHandler(this.KA,this)}k=xF.prototype;k.W=-1;k.Ab=function(a){a=a.timestamp();this.W!=a.L()&&yF(this,this.W,-1);this.W=a.L();-1!=a.Ba()&&(a=this.dP(a),yF(this,this.W,a))};k.D=function(a){const b=a.id();this.Ob[b]||(this.Ob[b]=new wF(this.Db,a,this.PN));return this.Ob[b]};k.KA=function(){const a=this;zF(this,this.W,function(b){b.Mg(a.Db)})}; +function yF(a,b,c){a.$O(b);zF(a,a.W,function(d){const e=d.Oo.timeout()<=c;e&&(d.visible()||d.Mg(a.Db));d.iJ(e)})}k.Po=function(a){return this.eH(a)&&(a=this.M.la(a),a instanceof Am)?a.GD():null};k.$O=function(a){this.eH(a)&&this.M.la(a).sb().duration()};k.dP=function(a){const b=a.Ba(),c=a.L();return this.M.la(c).sb().sc(b).startTime()+a.ib()};k.eH=function(a){return 0<=a&&af||f>=e.count()?null:e.Po[f])e=a.D(e),c(e)}}};var AF={M2:"gotoPreviousSlide",I2:"continuePresentation",J2:"finishAction",aha:"skipQuiz"};q("ispring.quiz.player.QuizPlayerControllerActionType",AF);q("GOTO_PREVIOUS_SLIDE","gotoPreviousSlide",AF);q("CONTINUE_PRESENTATION","continuePresentation",AF);q("FINISH_ACTION","finishAction",AF);q("SKIP_QUIZ","skipQuiz",AF);var BF={I2:"continuePresentation",J2:"finishAction",bha:"skipScenario",M2:"gotoPreviousSlide",lfa:"gotoNextSlide"};q("ispring.scenario.player.ScenarioPlayerControllerActionType",BF);q("CONTINUE_PRESENTATION","continuePresentation",BF);q("FINISH_ACTION","finishAction",BF);q("SKIP_SCENARIO","skipScenario",BF);q("GOTO_PREVIOUS_SLIDE","gotoPreviousSlide",BF);q("GOTO_NEXT_SLIDE","gotoNextSlide",BF);var CF={pfa:"initializing",Pda:"authorizating",rfa:"inProgress",cea:"completed"};q("ispring.scenario.session.ScenarioState",CF);q("INITIALIZING","initializing",CF);q("IN_PROGRESS","inProgress",CF);q("COMPLETED","completed",CF);q("AUTHORIZATING","authorizating",CF);var DF=null,EF=null;function FF(a,b,c){this.G=a;var d=Oi();if("1"==d.resume||"review"==window.launchMode)a.settings().Vc().Iw="always";else if("0"==d.resume||"browse"==window.launchMode)a.settings().Vc().Iw="never";d=Fj?new PE(a):new BE;const e=new eC,f=new yg,g=new SD(f);g.RR(a.settings().ga());const h=new NC(a,g,d);var l=new XD(a,h);this.Qg=new lC;var n=new nC(a.settings().navigation().keyboard(),a.slides(),g,this.Qg),m=new WD;m.stateChangedEvent().addHandler(this.NA,this);this.Wa=new vq(e,c,h,g,g,l,n,this,m);new OB(b); +this.pa=new YB(this.Wa,a,f);b=this.pa.V();m=this.pa.Cd();d.yr(b.$());h.bS(b.$(),b.Wo());n.lD(m);l.B=b;l.rc=m;e.lD(b);e.cJ(h);GF(this,e);l=this.pa.tr();n=l.displayObject();c.jf.Ve=n;new kE(l,b.$(),a.slides());new xF(l,b.$(),a.slides(),this);new vE(this.pa,l,b.$(),a.slides());this.fW=new TD(a);this.fW.lD(b);this.RZ=new C;this.PZ=new C;this.nV=new C;this.DT=new C;this.Tq=new C;this.BY=new C;this.VD=new gF(a.slides(),b.$(),b.Wo(),a.qd().Lm(),g,f);this.GH=new lF(a.slides(),b.$(),b.Wo(),a.qd().Vf(),g,f); +this.I5=new FE(a.slides(),h,b.$(),c.jf);new CE(b,g,d);Ii&&new xE(e);this.a4=new yE(a.slides(),l,b,g);this.H5=Fj?new QE(g):new DE(g);b.IY.addHandler(this.X6,this);b.qp().addHandler(this.lm,this);b.BE.addHandler(this.p6,this);b.AU.addHandler(this.z4,this);b.vc().addHandler(this.io,this);this.me=g;Dj&&ISPlayer.setPauseMediaCallback(this.pG.bind(this))}k=FF.prototype;k.zU=!1;k.kk=function(){return this.Qg};k.aI=function(){return this.Wa}; +function GF(a,b){const c=wd("DIV");c.getCore=function(){return b};c.setAttribute("id",a.G.settings().qJ());a.pa.displayObject().appendChild(c)}function uF(a,b,c,d){const e=a.pa.V().$(),f=!d;f&&a.ft();c&&tF(a);f&&c||e.Ec().addHandler(function h(){e.started()&&(e.Ec().removeHandler(h,this,-1),f||a.ft(),c||tF(a))},a,-1);a.nV.C(b,c,d)}k.ft=function(){this.a4.activate();this.pa.V().activate()}; +function tF(a){a.zU||(a.zU=!0,a.H5.activate(),a.VD.activate(),a.GH.activate(),a.Wa.mediaController().activate())}k.Ca=function(){return this.G};FF.prototype.presentation=FF.prototype.Ca;FF.prototype.view=function(){return this.pa};FF.prototype.view=FF.prototype.view;FF.prototype.version=function(){return"8.3.0"};FF.prototype.version=FF.prototype.version;FF.prototype.persistState=function(){return this.Wa.Ge.OR()};FF.prototype.persistState=FF.prototype.persistState; +FF.prototype.Uaa=function(a,b){var c={width:a,height:b,q0:!1};this.BY.C(c);return c.q0?new cd(c.width,c.height):(c=Math.min(a/this.G.slideWidth(),b/this.G.slideHeight()),new cd(a*c,b*c))};FF.prototype.getOptimalPlayerSize=FF.prototype.Uaa;FF.prototype.NA=function(){this.Tq.C(new Mn)}; +FF.prototype.start=function(a){var b=null;a&&(b=VD(a));a=this.G.settings().Vc();var c=this.view().V(),d=b,e=this.view().V().Pf(),f;if(f=d)a:{f=this.G.slides().count();var g=this.view().V().Pf();for(let h=0;hf||f>=this.G.slides().count();d="review"==window.launchMode;d=g&&null!=e&&0<=e&&("never"!=a.wu()||d);g&&(f=c.Pf());c=d?e:f;b=new vF(this,b);e=new nF(b); +e.bJ(a.mf());e.xu(d?"resumePlayback":"gotoSlide");e.Y1(c);this.RZ.C(e);switch(e.action()){case "resumePlayback":b.resume(e.L());break;case "gotoSlide":b.start(e.L());break;case "delayStartup":b.QZ=!0;break;default:throw Error("unknown startup action");}};FF.prototype.hy=function(){return this.Wa.hy()};FF.prototype.uy=function(){return this.RZ};FF.prototype.startupEvent=FF.prototype.uy;FF.prototype.startupCompletedEvent=function(){return this.PZ};FF.prototype.startupCompletedEvent=FF.prototype.startupCompletedEvent; +FF.prototype.Qx=function(){return this.nV};FF.prototype.initialSlideShownEvent=FF.prototype.Qx;FF.prototype.X6=function(){this.VD.$m();this.GH.$m();this.I5.$m()};FF.prototype.lm=function(){const a=this.G.settings().Qu().NI();a&&a.open()};FF.prototype.HC=function(){return this.fW.HC()};FF.prototype.executeMetaCommandEvent=FF.prototype.HC;FF.prototype.m0=function(){return this.VD};FF.prototype.audioNarrationController=FF.prototype.m0;FF.prototype.Tr=function(){return this.GH}; +FF.prototype.videoNarrationController=FF.prototype.Tr;FF.prototype.p6=function(){const a=new Mn;this.DT.C(a);if(!a.actionPrevented())if(ei)(new di("closeWindow")).Dx();else try{Ji||(window.open("","_self",""),window.close())}catch(b){}};FF.prototype.closeWindowEvent=function(){return this.DT};FF.prototype.closeWindowEvent=FF.prototype.closeWindowEvent;FF.prototype.stateChangedEvent=function(){return this.Tq};FF.prototype.stateChangedEvent=FF.prototype.stateChangedEvent; +FF.prototype.fn=function(a){this.pa.Ib!=a&&(this.pG(),this.pa.fn(a))};FF.prototype.gestureNavigationEnabled=function(){return this.G.settings().navigation().Um().enabled()};FF.prototype.gestureNavigationEnabled=FF.prototype.gestureNavigationEnabled;function HF(a,b){if(b=null==a.pa.Cd().nf(b))b=!(-1==a.pa.V().fh()&&-1==a.pa.V().gh());return b}function IF(a,b){return null==a.pa.Cd().nf("quizArbitrarySlideSwitching",b)}function JF(a,b){return null==a.pa.Cd().nf("ScenarioArbitrarySlideSwitching",b)} +function KF(a,b){var c=a.pa.V(),d=c.fa();c=c.$d().view();c=zq(c.tb());switch(b){case "gotoPreviousSlide":return-1!=a.pa.V().gh();case "skipScenario":return"atAnyTime"==d.Im&&HF(a,"switchToNextSlide");case "continuePresentation":return b=c.scenarioPassed()?d.oG:d.FE,d=0,b instanceof Vg&&(d=b.L()),"gotoSlide"==b.type()&&JF(a,d)||"gotoNextSlide"==b.type()&&HF(a,"scenarioSwitchToNextSlideWithoutBranching");case "finishAction":return b=c.scenarioPassed()?d.oG:d.FE,d=0,b instanceof Vg&&(d=b.L()),"closePlayerWindow"== +b.type()||"gotoSlide"==b.type()&&JF(a,d)||"gotoNextSlide"==b.type()&&HF(a,"scenarioSwitchToNextSlide")}return!1} +function LF(a,b){var c=a.pa.V();const d=c.fa();c=c.$d().view();const e=Rg(c.Oa());switch(b){case "gotoPreviousSlide":return"sequential"!=a.G.settings().navigation().navigationType()&&c.ty()&&-1!=a.pa.V().gh();case "skipQuiz":if(b="atAnyTime"==d.Im)b=HF(a,"switchToNextSlide")&&-1!=a.pa.V().fh();return b;case "continuePresentation":return b=Sg(e)?d.nG:d.EE,"gotoSlide"==b.type()?IF(a,b.L()):"gotoNextSlide"==b.type()&&HF(a,"quizSwitchToNextSlideWithoutBranching");case "finishAction":return b=Sg(e)?d.nG: +d.EE,"gotoSlide"==b.type()?IF(a,b.L()):"closePlayerWindow"==b.type()||"gotoNextSlide"==b.type()&&HF(a,"quizSwitchToNextSlide")}return!1}FF.prototype.actionAvailable=function(a){var b=this.pa.V().fa();if(b instanceof cr)a=LF(this,a);else if(b instanceof tq)a:{b=this.pa.V().$d().view();switch(a){case "gotoNextPresentationSlide":a=HF(this,"switchToNextSlide");break a;case "gotoPreviousPresentationSlide":a=b.ty()&&-1!=this.pa.V().gh();break a}a=!1}else a=b instanceof Bq?KF(this,a):!1;return a}; +FF.prototype.actionAvailable=FF.prototype.actionAvailable;FF.prototype.z4=function(a,b,c){const d=this.G.slides();b=0<=b?d.la(b):null;c=0<=c?d.la(c):null;if(b instanceof cr||c instanceof cr||b instanceof tq||c instanceof tq||b instanceof Bq||c instanceof Bq)uj?(a.zv="null",a.Fa=0):a.zv="FadeSmoothly"};FF.prototype.io=function(){const a=this.pa.V().fh();this.VD.Au(a);this.GH.Au(a)}; +FF.prototype.pG=function(){const a=this.pa.V();if(!(0>a.ma())){a.pause();this.me.GI();var b=this.pa.V().Oa();b&&b.pauseMedia();(b=this.pa.V().tb())&&b.pauseMedia();b=a.fa();b instanceof tq&&a.rf(b.index()).fb().pauseMedia()}};function MF(a){this.BI=a}MF.prototype.set=function(a,b){void 0===b?this.BI.remove(a):this.BI.set(a,vh(b))};MF.prototype.get=function(a){let b;try{b=this.BI.get(a)}catch(c){return}if(null!==b)try{return JSON.parse(b)}catch(c){throw"Storage: Invalid value was encountered";}};MF.prototype.remove=function(a){this.BI.remove(a)};function NF(){};function OF(){}r(OF,NF);OF.prototype.kI=function(){let a=0;for(const b of this)a++;return a};OF.prototype[Symbol.iterator]=function(){return Gk(this.Aj(!0)).uJ()};OF.prototype.clear=function(){const a=Array.from(this);for(const b of a)this.remove(b)};function PF(a){this.yk=a}r(PF,OF);k=PF.prototype;k.aR=function(){if(!this.yk)return!1;try{return this.yk.setItem("__sak","1"),this.yk.removeItem("__sak"),!0}catch(a){return!1}};k.set=function(a,b){try{this.yk.setItem(a,b)}catch(c){if(0==this.yk.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};k.get=function(a){a=this.yk.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};k.remove=function(a){this.yk.removeItem(a)}; +k.kI=function(){return this.yk.length};k.Aj=function(a){var b=0,c=this.yk,d=new zk;d.next=function(){if(b>=c.length)return Ak;var e=c.key(b++);if(a)return Bk(e);e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return Bk(e)};return d};k.clear=function(){this.yk.clear()};k.key=function(a){return this.yk.key(a)};function QF(){var a=null;try{a=window.localStorage||null}catch(b){}this.yk=a}r(QF,PF);function RF(a,b){this.n2=a;this.Fh=null;if(Ib&&!(9<=Number(dc))){SF||(SF=new Kk);this.Fh=SF.get(a);this.Fh||(b?this.Fh=document.getElementById(b):(this.Fh=document.createElement("userdata"),this.Fh.addBehavior("#default#userData"),document.body.appendChild(this.Fh)),SF.set(a,this.Fh));try{this.Fh.load(this.n2)}catch(c){this.Fh=null}}}r(RF,OF);var TF={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},SF=null; +function UF(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return TF[b]})}k=RF.prototype;k.aR=function(){return!!this.Fh};k.set=function(a,b){this.Fh.setAttribute(UF(a),b);VF(this)};k.get=function(a){a=this.Fh.getAttribute(UF(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};k.remove=function(a){this.Fh.removeAttribute(UF(a));VF(this)};k.kI=function(){return WF(this).attributes.length}; +k.Aj=function(a){var b=0,c=WF(this).attributes,d=new zk;d.next=function(){if(b>=c.length)return Ak;var e=c[b++];if(a)return Bk(decodeURIComponent(e.nodeName.replace(/\./g,"%")).slice(1));e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return Bk(e)};return d};k.clear=function(){for(var a=WF(this),b=a.attributes.length;0{if(!e.actionPrevented()){e.preventAction();e=c.persistState();const f=$F();try{f.set(d,e)}catch(g){}}},null,99);c.start(b)};function cG(a,b){for(const c in a)a.hasOwnProperty(c)&&dG(a[c],c,b)}function dG(a,b,c){for(const d in a)a.hasOwnProperty(d)&&(d==c?b=a[c]:"toString"!=d&&dG(a[d],d,c));a.toString=function(){return b}};function eG(){var a={A:""};a:{for(const b in a){a=b;break a}a=void 0}return a};function fG(){const a={id:{A:"i"},title:{A:"t"},courseTitle:{A:"ct"},slideWidth:{A:"w"},slideHeight:{A:"h"},B0:{A:"c"},hca:{A:"pv"},slides:{A:"s",id:{A:"I"},sD:{A:"st",slide:{A:"s"},quiz:{A:"q"},interaction:{A:"i"},scenario:{A:"S"}},title:{A:"t"},visible:{A:"v"},D0:{A:"c"},src:{A:"s"},h2:{A:"sl"},qj:{A:"o"},lp:{A:"n"},hba:{A:"N"},G$:{A:"an"},text:{A:"x"},Ku:{A:"T",QC:{A:"i"},width:{A:"w"},height:{A:"h"}},nC:{A:"a"},L$:{A:"d"},tc:{A:"l"},kca:{A:"p"},S$:{A:"B"},X0:{A:"hi"},Hi:{A:"e",L1:{A:"p"},K1:{A:"a"}}, +timeline:{A:"i"},transition:{A:"q",type:{A:"t"},duration:{A:"d"},xk:{A:"s"}},Dd:{A:"S",id:{A:"i"},lr:{A:"a"},slides:{A:"s"},repeat:{A:"r",A2:{A:"s"},z2:{A:"c"},B2:{A:"n"}},volume:{A:"v"},effect:{A:"e"},ik:{A:"b",name:{A:"n"},time:{A:"t"}},duration:{A:"d"}},ie:{A:"V",id:{A:"i"},lr:{A:"a"},slides:{A:"s"},repeat:{A:"r",A2:{A:"s"},z2:{A:"c"},B2:{A:"n"}},yR:{A:"f"},XQ:{A:"H"},XI:{A:"R"},volume:{A:"v"},wi:{A:"h"},ik:{A:"b",name:{A:"n"},time:{A:"t"}},duration:{A:"d"}},GD:{A:"wo",containerId:{A:"c"},url:{A:"u"}, +timeout:{A:"to"},width:{A:"w"},height:{A:"h"},PQ:{A:"f"},DC:{A:"ds"}},Gda:{A:"y",containerId:{A:"c"},Li:{A:"v"},width:{A:"w"},height:{A:"h"},ib:{A:"to"}},Fda:{A:"yk",containerId:{A:"c"},Li:{A:"v"},width:{A:"w"},height:{A:"h"},ib:{A:"to"},clientId:{A:"cl"}},jp:{A:"m",name:{A:"n"},params:{A:"p",name:{A:"n"},value:{A:"v"}}},pj:{A:"b",action:{type:{A:"t",Lba:{A:"n"},ue:{A:"g"}},L:{A:"s"}},kp:{A:"n"},ey:{A:"p"}},ou:{A:"r",lock:{A:"l"}},Bk:{A:"z",id:{A:"i"},xy:{A:"t"},Kr:{A:"r"},hn:{A:"bg"},AS:{A:"tt"}, +Mm:{A:"b"},Dl:{A:"hF"},Pl:{A:"vF"},rotation:{A:"R"},slides:{A:"s"}},LQ:{A:"f",containerId:{A:"c"},width:{A:"w"},height:{A:"h"},url:{A:"u"},ib:{A:"to"},bgColor:{A:"b"},w2:{A:"t"}},Uca:{A:"si",fJ:{A:"shapes",item:{id:{A:"id"},Mm:{A:"bbox"},yj:{A:"transformBefore"},zk:{A:"transformAfter"}},Tc:{A:"bg"},Nl:{A:"textItems"},pr:{A:"childItems"},type:{A:"type"},text:{A:"text"},Mm:{A:"bbox"},Dl:{A:"hFlip"},Pl:{A:"vFlip"},rotation:{A:"rotation"},zr:{A:"lineWeight"},vj:{A:"normalizedPic"},aba:{A:"hasTransparency"}, +se:{A:"crop",left:{A:"l"},top:{A:"t"},right:{A:"r"},bottom:{A:"b"}},line:{A:"line"},fill:{A:"fill"},iu:{A:"glow"},uu:{A:"reflection"},Du:{A:"shadow"},Iu:{A:"softEdge"},Ju:{A:"threeD"}}},rca:{A:"qb"},sca:{A:"qB",qC:{A:"i"},KR:{A:"r"},hQ:{A:"n",kQ:{A:"t"},fQ:{A:"a"},gQ:{A:"p"}},JQ:{A:"f",qu:{A:"p",type:{A:"t",rQ:{A:"w"},sf:{A:"n"},ue:{A:"s"}},L:{A:"s"}},IQ:{A:"f"}}},tca:{A:"qt"},Hca:{A:"sB",rC:{A:"i"},hQ:{A:"n",kQ:{A:"t"},fQ:{A:"a"},gQ:{A:"p"}},JQ:{A:"f",qu:{A:"p",type:{A:"t",rQ:{A:"w"},sf:{A:"n"}, +ue:{A:"s"}},L:{A:"s"}},IQ:{A:"f"}}},YQ:{A:"it"},rp:{A:"pp"},kba:{A:"ip",navigationType:{A:"nt"},pC:{A:"ai"}}},settings:{A:"e",navigation:{A:"n",Um:{A:"m",enabled:{A:"e"},target:{A:"t",step:{A:"s"},slide:{A:"l"}}},keyboard:{A:"k",enabled:{A:"e"},actions:{A:"a",name:{A:"n",cca:{A:"pp"},CI:{A:"ns"},lca:{A:"ps"},Kba:{A:"nt"},mca:{A:"pt"},Lca:{A:"sf"},Kca:{A:"sb"},Laa:{A:"fs"},rba:{A:"ls"},cR:{A:"lv"},Wca:{A:"ss"},Tca:{A:"se"},wda:{A:"vu"},vda:{A:"vd"},hda:{A:"tf"}},Eu:{A:"s",key:{A:"k"},bI:{A:"c"},shift:{A:"s"}}}}, +Gx:{A:"g",IS:{A:"z"}}},Vc:{A:"p",NR:{A:"s"},mf:{A:"a"},resume:{A:"r",prompt:{A:"p"},M$:{A:"a"},Hba:{A:"n"}},Tm:{A:"l"},navigationType:{A:"n",sia:{A:"n"},zca:{A:"r"},Mca:{A:"s"}}},kr:{A:"a",fitToWindow:{A:"f"}},Qu:{A:"w",link:{url:{A:"u"},target:{A:"t"}},kJ:{A:"s"},NI:{A:"p"}},gy:{A:"P",password:{A:"p"},yy:{A:"t",vaa:{A:"a"},waa:{A:"u"}},fI:{A:"d"}},Yt:{A:"A",enabled:{A:"e"}}},oJ:{A:"S",name:{A:"n"},slides:{A:"s"}},zI:{A:"sS"},skinSettings:{A:"k"},ga:{A:"I"},tC:{A:"b",content:{A:"c"},contentHover:{A:"ch"}, +url:{A:"u"},width:{A:"w"},height:{A:"h"},zy:{A:"t"},language:{A:"l"},yx:{A:"x"},xx:{A:"d"},zx:{A:"xx"},Ax:{A:"xy"}},FD:{A:"W",src:{A:"s"},left:{A:"l"},top:{A:"t"},width:{A:"w"},height:{A:"h"},opacity:{A:"o"},url:{A:"u"},target:{A:"T"}},fonts:{A:"f",name:{A:"n"},localName:{A:"l"},urls:{A:"u"},Ada:{A:"A"},HS:{A:"D"},N$:{A:"a"},raa:{A:"d"},Raa:{A:"g"},bold:{A:"b"},italic:{A:"i"}},Zd:{A:"C",logo:{A:"l",QC:{A:"i"},width:{A:"w"},height:{A:"h"}},td:{A:"w"},HD:{A:"t"}},tu:{A:"p",name:{A:"n"},ip:{A:"j"},Nm:{A:"b"}, +td:{A:"w"},email:{A:"e"},phone:{A:"p"},Zd:{A:"C"},Cr:{A:"P",QC:{A:"i"},width:{A:"w"},height:{A:"h"}}},Dd:{A:"o",id:{A:"i"},wi:{A:"h"}},ie:{A:"v",id:{A:"i"},wi:{A:"h"},poster:{A:"p"}},qd:{A:"n",Lm:{A:"a"},Vf:{A:"v"},track:{$C:{A:"i"},volume:{A:"v"},Lb:{A:"st"},qf:{A:"et"},timestamp:{L:{A:"s"},Ba:{A:"t"},ib:{A:"i"}}}},Ai:{A:"r",type:{A:"t",O$:{A:"a"},wca:{A:"r"}},title:{A:"i"},url:{A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NDAuMjI2MSAzNy45MTI4IDM5LjMyNDEgMzguMDg2NSAzOC40NTM5QzM4LjI2MDEgMzcuNTgzNiAzOC42ODg3IDM2Ljc4NDMgMzkuMzE4IDM2LjE1NjlDMzkuOTQ3NCAzNS41Mjk1IDQwLjc0OTIgMzUuMTAyMiA0MS42MjIxIDM0LjkyOTFDNDIuNDk1IDM0Ljc1NiA0My4zOTk4IDM0Ljg0NDkgNDQuMjIyMSAzNS4xODQ0QzQ1LjA0NDMgMzUuNTI0IDQ1Ljc0NzEgMzYuMDk5IDQ2LjI0MTYgMzYuODM2N0M0Ni43MzYxIDM3LjU3NDQgNDcgMzguNDQxOCA0NyAzOS4zMjkxQzQ3IDQwLjUxODkgNDYuNTI1OSA0MS42NTk5IDQ1LjY4MiA0Mi41MDEyQzQ0LjgzODEgNDMuMzQyNSA0My42OTM1IDQzLjgxNTIgNDIuNSA0My44MTUyWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTUwIDQ5LjkxNDFMMTQgMTMuOTE0MSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIzIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMCI+CjxyZWN0IHdpZHRoPSI0MCIgaGVpZ2h0PSIzOS44NzY3IiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTIgMTEuOTE0MSkiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K"]; +c=".trial_banner {position: relative;transform: translateZ(0); } .trial_banner .banner-content, .trial_banner .banner-content_hover {position: absolute;left: 0;right: 0;top: 0;bottom: 0;width: 100%;height: 100%; } .trial_banner .banner-content {visibility: visible;z-index: 1; } .trial_banner .banner-content_hover {visibility: hidden;z-index: 0; } .trial_banner .days_remaining {position: absolute;font-family: 'Open Sans', Arial, sans-serif;font-weight: normal;font-size: 13px;left: 65px;top: 41px;color: #7C1645;z-index: 1; } .trial_banner:hover .banner-content {visibility: hidden;z-index: 0; } .trial_banner:hover .banner-content_hover {visibility: visible;z-index: 1; }body {margin: 0;overflow-y: auto;overflow-x: hidden; } body .password_form, body .info_panel {position: absolute;background: #F7F7F7;border-radius: 4px;width: 513px;height: 210px;font-family: Arial; } body .password_form *, body .info_panel * {box-sizing: border-box; } body .password_form .password_label {position: absolute;color: #3A3A3A;font-size: 15px;top: 63px;left: 55px; } body .password_form .wrong_password_label {position: absolute;color: #DD4A37;font-size: 12px;top: 131px;left: 55px; } body .password_form input {position: absolute;width: 330px;height: 32px;background: #FFFFFF;border: 1px solid #D1D2D4;padding: 1px;border-radius: 2px;font-size: 18px;color: #231F20;left: 54px;top: 94px;padding-left: 8px; } body .password_form button {border: transparent;background: transparent;color: #343434;font-family: Arial;font-size: 15px;text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); } body .password_form button::before {background: linear-gradient(to bottom, #D3D3D3, #BABABA);position: absolute;content: '';top: 0;right: 0;bottom: 0;left: 0;border-radius: 4px;z-index: -1; } body .password_form button::after {background: linear-gradient(to bottom, #DCDCDC, #D1D1D1);position: absolute;content: '';top: 1px;right: 1px;bottom: 1px;left: 1px;border-radius: 4px;z-index: -1; } body .password_form .btn_ok {position: absolute;top: 94px;right: 55px;width: 60px;height: 32px;opacity: 0.99; } body .info_panel {display: table; } body .info_panel .label {position: static;display: table-cell;vertical-align: middle;width: 100%;padding-left: 120px;padding-right: 40px;color: #3A3A3A;font-size: 15px; } body .info_panel::after {position: absolute;content: '';width: 63px;height: 63px;top: 73px;left: 46px; } body .info_panel.domain::after {background: transparent url("+ +c[0]+"); } body .info_panel.time::after {background: transparent url("+c[1]+"); }#playerView * {position: static; }#playerView {position: static; }#content {display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;padding: 0 96px;background: #CED1D3; }.presentation-view-mode-switch-control {width: 64px;height: 64px;position: fixed;left: 16px;top: 16px;cursor: pointer;border: none;background: url("+c[2]+") no-repeat center; } .presentation-view-mode-switch-control:hover {background: url("+ +c[3]+") no-repeat center; } .presentation-view-mode-switch-control:active {background: url("+c[4]+") no-repeat center; } .presentation-view-mode-switch-control:focus {outline: none; }.ppt-accessible-skin {font-family: Segoe UI, sans-serif;font-size: 20px;font-weight: normal;min-width: 0;padding: 20px 64px 20px 64px;box-sizing: border-box;background: #FFFFFF; }.accessible-null-skin {font-family: Segoe UI, sans-serif;font-size: 20px;font-weight: normal;min-width: 0;padding: 20px 64px 20px 64px;box-sizing: border-box;background: #FFFFFF; }.ppt-accessible-slide {margin-bottom: 20px; } .ppt-accessible-slide img, .ppt-accessible-slide video, .ppt-accessible-slide audio {display: block;margin: 32px 0 32px 0; } .ppt-accessible-slide img {max-width: 100%;max-height: 30%; } .ppt-accessible-slide video {max-width: 100%; }.ppt-accessible-top-panel {margin-bottom: 20px; } .ppt-accessible-top-panel__slide-status {font-size: 20px;font-weight: 400; }.ppt-accessible-narration {margin: 16px 0; } .ppt-accessible-narration video {max-width: 100%; }.ppt-accessible-slide-content p {margin: 16px 0; }.ppt-accessible-slide-content h2 {font-size: 30px;margin: 0; }.ppt-accessible-skip-link-container {position: relative;height: 27px; }.ppt-accessible-skip-link {position: absolute !important;display: block;left: -10000px;width: 1px;height: 1px;overflow: hidden; } .ppt-accessible-skip-link:focus {left: auto;width: auto;height: auto; }.simple-navigation-panel {margin-top: 32px;margin-bottom: 32px;float: left;direction: rtl; } .simple-navigation-panel__button {width: 217px;height: 46px;font-family: Segoe UI, sans-serif;font-size: 20px;font-weight: normal; } .simple-navigation-panel__button:nth-child(1) {margin-left: 12px; }.ppt-accessible-slide-list-wrapper {clear: both; }.ppt-accessible-slide-list {clear: both;margin: 16px 0;margin-top: 0; } .ppt-accessible-slide-list summary {font-weight: 600;margin-bottom: 8px; } .ppt-accessible-slide-list ul {padding: 0;margin: 0; } .ppt-accessible-slide-list__item {list-style: none; } .ppt-accessible-slide-list__item {cursor: pointer; } .ppt-accessible-slide-list__item.ppt-accessible-slide-list__item_active {color: #A52A2A; }.ppt-accessible-slide-notes {clear: both;margin: 16px 0; } .ppt-accessible-slide-notes summary {font-weight: 600;margin-bottom: 8px; } .ppt-accessible-slide-notes ul {padding: 0;margin: 0; } .ppt-accessible-slide-notes__item {list-style: none; } .ppt-accessible-slide-notes p {margin: 0; }.ppt-accessible-resources {clear: both;margin: 16px 0; } .ppt-accessible-resources summary {font-weight: 600;margin-bottom: 8px; } .ppt-accessible-resources ul {padding: 0;margin: 0; } .ppt-accessible-resources__item {list-style: none; }.ppt-accessible-presenter {clear: both;margin: 16px 0; } .ppt-accessible-presenter summary {font-weight: 600;margin-bottom: 8px; } .ppt-accessible-presenter ul {padding: 0;margin: 0; } .ppt-accessible-presenter__item {list-style: none; } .ppt-accessible-presenter p {margin: 6px 0;white-space: pre-line; } .ppt-accessible-presenter a, .ppt-accessible-presenter img {display: block;margin: 6px 0; }.quiz-accessible-skin {width: 100%;position: static !important; }.quiz-accessible-top-panel {padding-left: 0 !important;padding-right: 0 !important; }.quiz-accessible-slide {padding-left: 0 !important;padding-right: 0 !important; }.quiz-accessible-hidden-link-container {padding: 0 !important; }.quiz-accessible-control-panel {padding: 0 !important;margin-top: 32px;margin-bottom: 32px; }.quiz-accessible-slide-list {padding: 0 !important;margin: 16px 0 !important; }.accessible-quiz-review {padding: 0 !important;margin-bottom: 20px; }.ppt-accessible-scenario-slide-content {padding-top: 32px; }.scenario-accessible-skin {width: 100%;padding: 0 !important; }.ppt-accessible-footer .page-controls {position: relative;margin-top: 32px;margin-bottom: 32px;left: 0;top: 0;direction: rtl;float: left; } .ppt-accessible-footer .page-controls button {margin: 0;min-width: 217px;min-height: 46px;font-family: 'Segoe UI', sans-serif;font-size: 20px; } .ppt-accessible-footer .page-controls button:first-child {margin-left: 12px; }.ppt-accessible-footer .items-list {clear: both;margin-bottom: 16px;padding: 0;font-size: 20px; } .ppt-accessible-footer .items-list summary {margin-bottom: 8px;font-weight: 600; }.ppt-accessible-footer .scenario-accessible-bottom-panel__button {width: 217px;height: 46px;font-family: Segoe UI, sans-serif;font-size: 20px;font-weight: normal; }"; +let d;for(const [f,g]of Object.entries(null!=(d=a)?d:{}))a=`__${f.replace(RegExp("\\.","g"),"_")}__`,c=c.replace(new RegExp(a,"g"),g);let e;for(const [f,g]of Object.entries(null!=(e=b)?e:{}))c=c.replace(new RegExp(f,"g"),g);c=c.replace(/__verticalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.Pk);c=c.replace(/__horizontalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.Ok);return gn(c)}Pk(a,b,c){return`url(data:image/svg+xml;base64,${qh(``)})`}Ok(a, +b,c){return`url(data:image/svg+xml;base64,${qh(``)})`}};class hG{Yo(a,b){const c=g=>{g=sh(g);let h;for(const [l,n]of Object.entries(null!=(h=a)?h:{}))g=g.replace(new RegExp(`{${l}}`,"g"),n);return qh(g)};let d=function(){var g=["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAouGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn/M55zw+AERImkeaiagA5UoU8Otgfj09IxMm9gAIVSOAEIBDmy8JnBcUAAPADeXh+dLA//AGvbwACAHDVLiQSx+H/g7pQJlcAIJEA4CIS5wsBkFIAyC5UyBQAyBgAsFOzZAoAlAAAbHl8QiIAqg0A7PRJPgUA2KmT3BcA2KIcqQgAjQEAmShHJAJAuwBgVYFSLALAwgCgrEAiLgTArgGAWbYyRwKAvQUAdo5YkA9AYACAmUIszAAgOAIAQx4TzQMgTAOgMNK/4KlfcIW4SAEAwMuVzZdL0jMUuJXQGnfy8ODiIeLCbLFCYRcpEGYJ5CKcl5sjE0jn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DI2IDM5LjVDMjYgNDAuNjkzNSAyNS41MjU5IDQxLjgzODEgMjQuNjgyIDQyLjY4MkMyMy44MzgxIDQzLjUyNTkgMjIuNjkzNSA0NCAyMS41IDQ0Wk00Mi41IDQ0QzQxLjYxIDQ0IDQwLjc0IDQzLjczNjEgMzkuOTk5OSA0My4yNDE2QzM5LjI1OTkgNDIuNzQ3MSAzOC42ODMxIDQyLjA0NDMgMzguMzQyNSA0MS4yMjIxQzM4LjAwMTkgNDAuMzk5OCAzNy45MTI4IDM5LjQ5NSAzOC4wODY1IDM4LjYyMjFDMzguMjYwMSAzNy43NDkyIDM4LjY4ODcgMzYuOTQ3NCAzOS4zMTggMzYuMzE4QzM5Ljk0NzQgMzUuNjg4NyA0MC43NDkyIDM1LjI2MDEgNDEuNjIyMSAzNS4wODY1QzQyLjQ5NSAzNC45MTI4IDQzLjM5OTggMzUuMDAxOSA0NC4yMjIxIDM1LjM0MjVDNDUuMDQ0MyAzNS42ODMxIDQ1Ljc0NzEgMzYuMjU5OSA0Ni4yNDE2IDM2Ljk5OTlDNDYuNzM2MSAzNy43NCA0NyAzOC42MSA0NyAzOS41QzQ3IDQwLjY5MzUgNDYuNTI1OSA0MS44MzgxIDQ1LjY4MiA0Mi42ODJDNDQuODM4MSA0My41MjU5IDQzLjY5MzUgNDQgNDIuNSA0NFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo="]; +return"/* reset styles */* {box-sizing: border-box;-webkit-touch-callout: none;-webkit-user-select: none;-ms-user-select: none;user-select: none; }input,textarea {-webkit-user-select: text;-ms-user-select: text;user-select: text; }html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {margin: 0;padding: 0;border: 0; }/* HTML5 display-role reset for older browsers */article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {display: block; }ol,ul {list-style: none; }table {border-collapse: collapse;border-spacing: 0; }div {-webkit-tap-highlight-color: rgba(0, 0, 0, 0);-webkit-user-drag: none; }input {-webkit-appearance: none;-moz-appearance: none; } input::-ms-clear {display: none; }.clear {clear: both; }*::-moz-focus-inner {border: 0; }.popup-layer {top: 0;right: 0;bottom: 0;left: 0;z-index: 1;position: absolute;border-radius: inherit; }.modal-layer {background: #000000;opacity: 0.4;position: absolute;width: 100%;height: 100%;border-radius: inherit; }.slide-transiting .quiz-uikit-primary-button {transition: none; }.slide-transiting .quiz-uikit-secondary-button {transition: none; }.slide-transiting .quiz-uikit-link-button {transition: none; }.slide-transiting .visuals-uikit-primary-button {transition: none; }.slide-transiting .visuals-uikit-secondary-button {transition: none; }.slide-transiting .visuals-uikit-link-button {transition: none; }.uikit-primary-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-primary-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .uikit-primary-button.uikit-primary-button_size_medium {padding: 10px; } .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text {font-size: 17px;line-height: 20px; } .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text:first-child {margin-left: 10px; } .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text:last-child {margin-right: 10px; } .uikit-primary-button.uikit-primary-button_size_small {padding: 6px 12px; } .uikit-primary-button.uikit-primary-button_size_small .uikit-primary-button__button-text {font-size: 14px;line-height: 20px; } .uikit-primary-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-primary-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-primary-button__button-text {margin-right: 8px; } .uikit-primary-button__left-icon {margin-right: 8px; } .uikit-primary-button__button-text:first-child {margin-left: 0; } .uikit-primary-button__button-text:last-child {margin-right: 0; } .uikit-primary-button__left-icon:first-child {margin-left: 0; } .uikit-primary-button__left-icon:last-child {margin-right: 0; } .uikit-primary-button__right-icon:first-child {margin-left: 0; } .uikit-primary-button__right-icon:last-child {margin-right: 0; } .uikit-primary-button[disabled] {opacity: 0.4; } .uikit-primary-button.uikit-primary-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .uikit-primary-button.uikit-primary-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-secondary-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-secondary-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .uikit-secondary-button.uikit-secondary-button_size_medium {padding: 10px; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text {font-size: 17px;line-height: 20px; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text:first-child {margin-left: 10px; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text:last-child {margin-right: 10px; } .uikit-secondary-button.uikit-secondary-button_size_small {padding: 6px 12px; } .uikit-secondary-button.uikit-secondary-button_size_small .uikit-secondary-button__button-text {font-size: 14px;line-height: 20px; } .uikit-secondary-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-secondary-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-secondary-button__button-text {margin-right: 8px; } .uikit-secondary-button__left-icon {margin-right: 8px; } .uikit-secondary-button__button-text:first-child {margin-left: 0; } .uikit-secondary-button__button-text:last-child {margin-right: 0; } .uikit-secondary-button__left-icon:first-child {margin-left: 0; } .uikit-secondary-button__left-icon:last-child {margin-right: 0; } .uikit-secondary-button__right-icon:first-child {margin-left: 0; } .uikit-secondary-button__right-icon:last-child {margin-right: 0; } .uikit-secondary-button[disabled] {opacity: 0.4; } .uikit-secondary-button.uikit-secondary-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .uikit-secondary-button.uikit-secondary-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-link-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-link-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .uikit-link-button.uikit-link-button_size_medium {padding: 10px; } .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text {font-size: 17px;line-height: 20px; } .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text:first-child {margin-left: 10px; } .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text:last-child {margin-right: 10px; } .uikit-link-button.uikit-link-button_size_small {padding: 6px 12px; } .uikit-link-button.uikit-link-button_size_small .uikit-link-button__button-text {font-size: 14px;line-height: 20px; } .uikit-link-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-link-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-link-button__button-text {margin-right: 8px; } .uikit-link-button__left-icon {margin-right: 8px; } .uikit-link-button__button-text:first-child {margin-left: 0; } .uikit-link-button__button-text:last-child {margin-right: 0; } .uikit-link-button__left-icon:first-child {margin-left: 0; } .uikit-link-button__left-icon:last-child {margin-right: 0; } .uikit-link-button__right-icon:first-child {margin-left: 0; } .uikit-link-button__right-icon:last-child {margin-right: 0; } .uikit-link-button[disabled] {opacity: 0.4; } .uikit-link-button.uikit-link-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .uikit-link-button.uikit-link-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-primary-button {background: var(--primary-button-background-color);color: var(--primary-button-text-color); } .uikit-primary-button::after {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;border-radius: inherit;border: 1px solid transparent;background: var(--primary-button-border-color);background-origin: border-box;transition: inherit;-webkit-mask: linear-gradient(#FFFFFF 0, #FFFFFF 0) border-box, linear-gradient(#FFFFFF 0, #FFFFFF 0) padding-box;mask: linear-gradient(#FFFFFF 0 0) border-box, linear-gradient(#FFFFFF 0 0) padding-box;-webkit-mask-composite: xor;mask-composite: exclude;pointer-events: none; } .uikit-primary-button__button-text {font-family: var(--font-family-bold);font-weight: 700; } .uikit-primary-button.uikit-primary-button_active, .uikit-primary-button[aria-pressed='true'], .uikit-primary-button:focus {background: var(--primary-button-background-color-active);color: var(--primary-button-text-color-active); } .uikit-primary-button.uikit-primary-button_active::after, .uikit-primary-button[aria-pressed='true']::after, .uikit-primary-button:focus::after {background: var(--primary-button-border-color-active);background-origin: border-box; }.uikit-secondary-button {background: var(--secondary-button-background-color);color: var(--secondary-button-text-color); } .uikit-secondary-button::after {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;border-radius: inherit;border: 1px solid transparent;background: var(--secondary-button-border-color);background-origin: border-box;transition: inherit;-webkit-mask: linear-gradient(#FFFFFF 0, #FFFFFF 0) border-box, linear-gradient(#FFFFFF 0, #FFFFFF 0) padding-box;mask: linear-gradient(#FFFFFF 0 0) border-box, linear-gradient(#FFFFFF 0 0) padding-box;-webkit-mask-composite: xor;mask-composite: exclude;pointer-events: none; } .uikit-secondary-button__button-text {font-family: var(--font-family-normal); } .uikit-secondary-button.uikit-secondary-button_active, .uikit-secondary-button[aria-pressed='true'], .uikit-secondary-button:focus {background: var(--secondary-button-background-color-active);color: var(--secondary-button-text-color-active); } .uikit-secondary-button.uikit-secondary-button_active::after, .uikit-secondary-button[aria-pressed='true']::after, .uikit-secondary-button:focus::after {background: var(--secondary-button-border-color-active);background-origin: border-box; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text {font-size: 15px; }.uikit-link-button {background: var(--link-button-background-color);color: var(--link-button-text-color);border: none; } .uikit-link-button.uikit-link-button_active, .uikit-link-button[aria-pressed='true'] {background: var(--link-button-background-color); }.uikit-collapsed-control {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;position: relative;overflow: hidden;padding: 10px;border: none;border-radius: var(--button-border-radius);background: var(--secondary-button-background-color-active);color: var(--secondary-button-text-color-active);transition-property: background, color;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-collapsed-control::after {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;border-radius: inherit;border: 1px solid transparent;background: var(--secondary-button-border-color-active);background-origin: border-box;transition: inherit;-webkit-mask: linear-gradient(#FFFFFF 0, #FFFFFF 0) border-box, linear-gradient(#FFFFFF 0, #FFFFFF 0) padding-box;mask: linear-gradient(#FFFFFF 0 0) border-box, linear-gradient(#FFFFFF 0 0) padding-box;-webkit-mask-composite: xor;mask-composite: exclude;pointer-events: none; } .uikit-collapsed-control__collapsed-component {cursor: pointer;display: -ms-flexbox;display: flex; } .uikit-collapsed-control__expanded-component {margin-left: 8px;opacity: 1;transition-property: width, opacity;transition-duration: 300ms;transition-timing-function: ease; } .uikit-collapsed-control.uikit-collapsed-control_collapsed {background: var(--secondary-button-background-color);color: var(--secondary-button-text-color);padding-right: 2px; } .uikit-collapsed-control.uikit-collapsed-control_collapsed::after {background: var(--secondary-button-border-color);background-origin: border-box; } .uikit-collapsed-control.uikit-collapsed-control_collapsed .uikit-collapsed-control__expanded-component {width: 0;opacity: 0; } .uikit-collapsed-control[data-tooltip]::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 0; } .uikit-collapsed-control[data-tooltip]:hover::before {opacity: 1;visibility: visible; }.menu-base {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-flex-align: start;align-items: start;font-family: var(--font-family-normal); }.menu-base-item {width: 100%;box-sizing: border-box;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;height: 44px;padding: 0 20px;color: var(--popup-text-color); } .menu-base-item__label {-ms-flex-positive: 1;flex-grow: 1;font-size: 15px;line-height: 20px;margin-left: 12px; } .menu-base-item__icon {width: 20px;height: 20px;-ms-flex-negative: 0;flex-shrink: 0;color: var(--popup-text-color); } .menu-base-item__value {-ms-flex-negative: 0;flex-shrink: 0;margin-left: 16px; } .menu-base-item.menu-base-item_clickable:hover {cursor: pointer;background: var(--popup-background-hover-color);color: var(--popup-text-hover-color); } .menu-base-item.menu-base-item_clickable:hover .menu-base-item__icon {color: var(--popup-text-hover-color); }.rate-menu {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;width: 100%;padding: 12px 0; } .rate-menu__caption {padding: 8px 20px;color: var(--popup-text-color);font-size: 16px;line-height: 22px;font-family: var(--font-family-bold);font-weight: 700; } .rate-menu__delimiter {width: 100%;height: 1px;background: var(--popup-text-color);opacity: 0.08;margin: 8px 0; }.presenter-info {font-family: var(--font-family-normal);box-sizing: border-box;position: relative;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;color: var(--panel-text-color); } .presenter-info__main {display: -ms-flexbox;display: flex;-ms-flex-align: start;align-items: start; } .presenter-info__info {display: inline-block;-ms-flex-positive: 1;flex-grow: 1; } .presenter-info__photo {width: 64px;height: 64px;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-pack: center;justify-content: center;overflow: hidden;border-radius: 50%;-ms-flex-negative: 0;flex-shrink: 0;background-repeat: no-repeat;background-position: center;margin-right: 20px; } .presenter-info__photo img {width: auto;height: auto; } .presenter-info__name {font-family: var(--font-family-bold);font-weight: 700;word-wrap: break-word;overflow: hidden;font-size: 16px;line-height: 22px;margin-bottom: 8px;max-height: 53px; } .presenter-info__job {word-wrap: break-word;overflow: hidden;font-size: 14px;line-height: 18px;margin-bottom: 8px; } .presenter-info__phone {word-wrap: break-word;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 15px;line-height: 20px; } .presenter-info__links {display: -ms-flexbox;display: flex;margin-top: 8px; } .presenter-info__link {border: 1px solid var(--presenter-info-link-border-color);border-radius: 10px;width: 36px;height: 28px;display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;position: relative;color: var(--panel-text-color); } .presenter-info__link:not(:last-child) {margin-right: 8px; } .presenter-info__link::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 6px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .presenter-info__link:hover::before {opacity: 1;visibility: visible; } .presenter-info__link-icon {width: 20px;height: 20px; } .presenter-info .bio-container {position: relative;display: -webkit-box;white-space: normal;text-overflow: ellipsis;margin-right: -20px;margin-top: 20px;padding-right: 10px;font-size: 14px;line-height: 20px;-ms-flex-positive: 1;flex-grow: 1;height: 100%;max-height: 120px;overflow: hidden; } .presenter-info .bio-container.bio-container_collapsed {max-height: 60px; } .presenter-info .bio-container.bio-container_collapsed .scroll-area__bio {display: -webkit-box;-webkit-line-clamp: 3;/*! autoprefixer: off */ -webkit-box-orient: vertical;-ms-box-orient: vertical;-moz-box-orient: vertical;/* autoprefixer: on */ } .presenter-info .bio-container .scroll-area {word-break: break-word;overflow: hidden; } .presenter-info .bio-container .container-top-shadow {background: __verticalGradient(var(--panel-color), transparent);background: linear-gradient(to bottom, var(--panel-color), transparent);position: absolute;top: 0;left: 0;right: 0;height: 60px;pointer-events: none; } .presenter-info .bio-container .container-bottom-shadow {background: __verticalGradient(transparent, var(--panel-color));background: linear-gradient(to bottom, transparent, var(--panel-color));position: absolute;bottom: 0;left: 0;right: 0;height: 60px;pointer-events: none;border-radius: inherit; } .presenter-info__show-more {font-size: 14px;line-height: 20px;height: 20px;opacity: 0.6;text-decoration: underline; } .presenter-info__show-more:hover {cursor: pointer;opacity: 0.8; } .presenter-info.presenter-info_popup {margin-bottom: 0; } .presenter-info.presenter-info_no-photo .presenter-info__info {width: 100%; }.attachments-info {font-family: var(--font-family-normal);position: relative;width: 100%;overflow: hidden;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column; } .attachments-info__scroll-area {height: 100%;overflow: hidden; } .attachments-info__delimiter {height: 1px;margin: 8px 20px 8px 62px;background: var(--popup-text-color);opacity: 0.08; } .attachments-info .container-top-shadow {background: __verticalGradient(var(--panel-color), transparent);background: linear-gradient(to bottom, var(--panel-color), transparent);position: absolute;top: 0;left: 0;right: 0;height: 60px;pointer-events: none; } .attachments-info .container-bottom-shadow {background: __verticalGradient(transparent, var(--panel-color));background: linear-gradient(to bottom, transparent, var(--panel-color));position: absolute;bottom: 0;left: 0;right: 0;height: 60px;pointer-events: none;border-radius: inherit; }.attach-item {padding: 8px 20px;box-sizing: border-box;display: -ms-flexbox;display: flex;-ms-flex-align: start;align-items: start;cursor: pointer; } .attach-item__icon-container {width: 36px;height: 36px;border-radius: 50%;background: var(--top-panel-icon-container-color);display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;-ms-flex-negative: 0;flex-shrink: 0;margin-right: 6px; } .attach-item__icon {width: 20px;height: 20px;color: var(--popup-text-color);opacity: 0.72; } .attach-item__info-container {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-flex-positive: 1;flex-grow: 1;padding-left: 6px; } .attach-item__title {font-size: 15px;line-height: 20px;margin-bottom: 4px;color: var(--popup-text-color);word-break: break-word;max-height: 60px;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 3;/*! autoprefixer: off */ -webkit-box-orient: vertical;-ms-box-orient: vertical;-moz-box-orient: vertical;/* autoprefixer: on */ } .attach-item__subtitle {font-size: 14px;line-height: 18px;color: var(--popup-text-color);opacity: 0.6; } .attach-item:hover {background: var(--list-item-background-hover-color); } .attach-item:hover .attach-item__title {color: var(--popup-text-hover-color); } .attach-item:hover .attach-item__subtitle {color: var(--popup-text-hover-color); } .attach-item:hover .attach-item__icon {color: var(--popup-text-hover-color); }:root {--page-background-color: __pageBackground__;--button-background-color: __primaryButtonBackground__;--button-hover-background-color: __primaryButtonBackgroundHover__;--button-hover-text-color: __primaryButtonTextHover__;--button-text-color: __primaryButtonText__;--company-logo-background-color: __asideLogoBackground__;--font-family-bold: PFnb;--font-family-bold-italic: PFnbi;--font-family-italic: PFni;--font-family-normal: PFn;--font-family-semibold: PFnsb, PFn;--font-family-semibold-italic: PFnsbi, PFni;--hyperlink-text-color: __hyperlink__;--list-item-background-hover-color: __asideElementBackgroundHover__;--list-item-background-pressed-color: __asideElementBackgroundActive__;--list-item-text-hover-color: __asideElementTextHover__;--list-item-text-pressed-color: __asideElementTextActive__;--list-item-text-visited-color: __asideElementTextVisited__;--panel-color: __asideBackground__;--panel-text-color: __asideElementText__;--panel-video-stub-background-color: __panelVideoStubBackgroundColor__;--panel-video-stub-color: __panelVideoStubColor__;--player-background-color: __playerBackground__;--progressbar-background-color: __progressBackground__;--progressbar-playback-color: __progressPlayback__;--slide-border-color: __slideBorder__;--text-color: __playerText__;--topbar-hover-background-color: __secondaryButtonBackgroundHover__;--topbar-text-color: __secondaryButtonText__;--primary-button-text-color: __primaryButtonText__;--primary-button-text-color-active: __primaryButtonTextHover__;--primary-button-background-color-active: __primaryButtonBackgroundHover__;--primary-button-background-color: __primaryButtonBackground__;--primary-button-border-color: __primaryButtonBorder__;--primary-button-border-color-active: __primaryButtonBorderHover__;--secondary-button-background-color: __secondaryButtonBackground__;--secondary-button-background-color-active: __secondaryButtonBackgroundHover__;--secondary-button-text-color: __secondaryButtonText__;--secondary-button-text-color-active: __secondaryButtonTextHover__;--secondary-button-border-color: __secondaryButtonBorder__;--secondary-button-border-color-active: __secondaryButtonBorderHover__;--volume-control-background-color: __volumeControlBackgroundColor__;--volume-control-playback-color: __volumeControlPlaybackColor__;--volume-control-thumb-color: __volumeControlThumbColor__;--more-menu-volume-control-background-color: __moreMenuVolumeControlBackgroundColor__;--more-menu-volume-control-playbackColor: __moreMenuVolumeControlPlaybackColor__;--more-menu-volume-control-thumb-color: __moreMenuVolumeControlThumbColor__;--popup-background-color: __popupBackground__;--popup-transparent-background-color: __transparentPopupBackground__;--popup-border: __popupBorder__;--popup-background-hover-color: __popupBackgroundHover__;--popup-text-color: __popupText__;--popup-text-hover-color: __popupTextHover__;--link-button-background-color: transparent;--link-button-text-color: __linkButtonTextColor__;--player-text: __playerText__;--button-border-radius: __borderRadius__;--presenter-info-link-border-color: __presenterInfoLinkBorderColor__;--search-field-background-color: __searchFieldBackgroundColor__;--hovered-tab-background-color: __hoveredTabBackgroundColor__;--selected-tab-background-color: __selectedTabBackgroundColor__;--top-panel-icon-container-color: __topPanelIconContainerColor__;--mini-skin-menu-button-text: __miniSkinMenuButtonText__;--mini-skin-menu-button-background-active: __miniSkinMenuButtonBackgroundActive__;--mini-skin-top-bottom-panel-border: __miniSkinTopBottomPanelBorder__;--mini-skin-presenter-delimiter-color: __miniSkinPresenterDelimiterColor__;--top-bottom-panel-border-color: __topBottomPanelBorderColor__; }.logo-container {display: -ms-flexbox;display: flex; } .logo-container > a {display: -ms-flexbox;display: flex; }.top-panel {display: -ms-flexbox;display: flex;-ms-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;justify-content: space-between;height: 52px;padding: 0 16px;border-bottom: 1px solid var(--top-bottom-panel-border-color);box-sizing: border-box;will-change: transform; } .top-panel.top-panel_reversed {-ms-flex-direction: row-reverse;flex-direction: row-reverse; } .top-panel__container {display: -ms-flexbox;display: flex;-ms-flex-direction: row;flex-direction: row;-ms-flex-align: center;align-items: center; } .top-panel__presenter-info {max-width: 400px;padding: 32px 28px; }.top-main-container {display: -ms-flexbox;display: flex;-ms-flex-positive: 1;flex-grow: 1;-ms-flex-pack: justify;justify-content: space-between;max-height: 100%; } .top-main-container .info-container {margin-left: auto; } .top-main-container .info-container__item:first-child {margin-right: 20px; } .top-main-container .info-container__item:last-child {margin-right: 0; } .top-main-container.top-main-container_reversed {-ms-flex-direction: row-reverse;flex-direction: row-reverse; } .top-main-container.top-main-container_reversed .info-container {margin-right: auto;margin-left: 0;-ms-flex-direction: row-reverse;flex-direction: row-reverse; } .top-main-container.top-main-container_reversed .info-container__item:first-child {margin-right: 0; } .top-main-container.top-main-container_reversed .info-container__item:last-child {margin-right: 20px; }.buttons-container {-ms-flex-negative: 0;flex-shrink: 0; } .buttons-container__button {margin-right: 8px; }.info-container {overflow: hidden; } .info-container__title {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;overflow: hidden;color: var(--text-color);max-width: 480px; } .info-container__title > div {font-family: var(--font-family-normal);font-size: 14px;line-height: 20px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; }.popups-layer {position: absolute;margin-left: 0 !important;left: 0;top: 0;width: 100%; } .popups-layer .popup {background: var(--popup-background-color);border: 1px solid var(--popup-border);box-shadow: 0 20px 32px rgba(0, 0, 0, 0.16);-webkit-backdrop-filter: blur(8px);backdrop-filter: blur(8px);border-radius: 10px;position: absolute;top: 0;left: 0; } .popups-layer .popup.popup_outline-popup {width: 280px; } .popups-layer .popup.popup_presenter .mask {width: calc(100% - 2px);left: 1px;bottom: 12px; } .popups-layer .popup.popup_attachments {width: 368px;box-sizing: border-box; }.notes-popup {position: relative;font-size: 15px;line-height: 20px;word-wrap: break-word;width: 372px;padding: 16px;border-radius: inherit; } .notes-popup__scroll-area {overflow: hidden;height: 100%; } .notes-popup .notes-text {word-wrap: break-word; } .notes-popup .notes-text p {margin-top: 0;margin-bottom: 0;white-space: pre-wrap; } .notes-popup .notes-text p, .notes-popup .notes-text span {color: var(--panel-text-color) !important; } .notes-popup .notes-text p:first-child {margin-top: 0; } .notes-popup .notes-text p:last-child {margin-bottom: 0; } .notes-popup .notes-text p, .notes-popup .notes-text p.bold span.nobold, .notes-popup .notes-text p.italic span.noitalic, .notes-popup .notes-text p.bold.italic span.nobold.noitalic {font-family: var(--font-family-normal); } .notes-popup .notes-text p span.bold, .notes-popup .notes-text p.bold, .notes-popup .notes-text p.italic span.bold.noitalic, .notes-popup .notes-text p.bold.italic span.noitalic {font-family: var(--font-family-bold); } .notes-popup .notes-text p span.italic, .notes-popup .notes-text p.bold span.nobold.italic, .notes-popup .notes-text p.italic, .notes-popup .notes-text p.bold.italic span.nobold {font-family: var(--font-family-italic); } .notes-popup .notes-text p span.bold.italic, .notes-popup .notes-text p.bold span.italic, .notes-popup .notes-text p.italic span.bold, .notes-popup .notes-text p.bold.italic {font-family: var(--font-family-bold-italic); }.attachments-popup {padding: 12px 0;border-radius: inherit; }.progress-tooltip {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-flex-align: center;align-items: center;-ms-flex-pack: center;justify-content: center;z-index: 1; } .progress-tooltip__thumbnail-tooltip {border: 2px var(--top-bottom-bar-background-color) solid;border-radius: 3px;width: 140px;height: 80px;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out; } .progress-tooltip__timing-tooltip {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: 4px; }.universal-skin-separator {position: relative;width: 100%;padding-top: 1px; } .universal-skin-separator::after {content: '';display: block;height: 1px;background: var(--top-bottom-panel-border-color); }.progressbar {position: relative;height: 2px;width: 100%; } .progressbar__progress {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background-color: var(--progressbar-background-color);transition: transform 0.3s ease-in-out; } .progressbar__progress-background {position: absolute;background: var(--progressbar-playback-color);top: 0;left: 0;height: 100%;transition: transform 0.3s ease-in-out; } .progressbar__thumb {width: 12px;height: 12px;border-radius: 50%;background: var(--progressbar-playback-color);bottom: -5px;position: absolute;left: -6px;cursor: pointer; } .progressbar__progress-tooltip {position: absolute;top: -14px;-ms-transform: translateY(-100%);transform: translateY(-100%); }:root {--page-background-color: __pageBackground__;--button-background-color: __primaryButtonBackground__;--button-hover-background-color: __primaryButtonBackgroundHover__;--button-hover-text-color: __primaryButtonTextHover__;--button-text-color: __primaryButtonText__;--company-logo-background-color: __asideLogoBackground__;--font-family-bold: PFnb;--font-family-bold-italic: PFnbi;--font-family-italic: PFni;--font-family-normal: PFn;--font-family-semibold: PFnsb, PFn;--font-family-semibold-italic: PFnsbi, PFni;--hyperlink-text-color: __hyperlink__;--list-item-background-hover-color: __asideElementBackgroundHover__;--list-item-background-pressed-color: __asideElementBackgroundActive__;--list-item-text-hover-color: __asideElementTextHover__;--list-item-text-pressed-color: __asideElementTextActive__;--list-item-text-visited-color: __asideElementTextVisited__;--panel-color: __asideBackground__;--panel-text-color: __asideElementText__;--panel-video-stub-background-color: __panelVideoStubBackgroundColor__;--panel-video-stub-color: __panelVideoStubColor__;--player-background-color: __playerBackground__;--progressbar-background-color: __progressBackground__;--progressbar-playback-color: __progressPlayback__;--slide-border-color: __slideBorder__;--text-color: __playerText__;--topbar-hover-background-color: __secondaryButtonBackgroundHover__;--topbar-text-color: __secondaryButtonText__;--primary-button-text-color: __primaryButtonText__;--primary-button-text-color-active: __primaryButtonTextHover__;--primary-button-background-color-active: __primaryButtonBackgroundHover__;--primary-button-background-color: __primaryButtonBackground__;--primary-button-border-color: __primaryButtonBorder__;--primary-button-border-color-active: __primaryButtonBorderHover__;--secondary-button-background-color: __secondaryButtonBackground__;--secondary-button-background-color-active: __secondaryButtonBackgroundHover__;--secondary-button-text-color: __secondaryButtonText__;--secondary-button-text-color-active: __secondaryButtonTextHover__;--secondary-button-border-color: __secondaryButtonBorder__;--secondary-button-border-color-active: __secondaryButtonBorderHover__;--volume-control-background-color: __volumeControlBackgroundColor__;--volume-control-playback-color: __volumeControlPlaybackColor__;--volume-control-thumb-color: __volumeControlThumbColor__;--more-menu-volume-control-background-color: __moreMenuVolumeControlBackgroundColor__;--more-menu-volume-control-playbackColor: __moreMenuVolumeControlPlaybackColor__;--more-menu-volume-control-thumb-color: __moreMenuVolumeControlThumbColor__;--popup-background-color: __popupBackground__;--popup-transparent-background-color: __transparentPopupBackground__;--popup-border: __popupBorder__;--popup-background-hover-color: __popupBackgroundHover__;--popup-text-color: __popupText__;--popup-text-hover-color: __popupTextHover__;--link-button-background-color: transparent;--link-button-text-color: __linkButtonTextColor__;--player-text: __playerText__;--button-border-radius: __borderRadius__;--presenter-info-link-border-color: __presenterInfoLinkBorderColor__;--search-field-background-color: __searchFieldBackgroundColor__;--hovered-tab-background-color: __hoveredTabBackgroundColor__;--selected-tab-background-color: __selectedTabBackgroundColor__;--top-panel-icon-container-color: __topPanelIconContainerColor__;--mini-skin-menu-button-text: __miniSkinMenuButtonText__;--mini-skin-menu-button-background-active: __miniSkinMenuButtonBackgroundActive__;--mini-skin-top-bottom-panel-border: __miniSkinTopBottomPanelBorder__;--mini-skin-presenter-delimiter-color: __miniSkinPresenterDelimiterColor__;--top-bottom-panel-border-color: __topBottomPanelBorderColor__; }.more-menu-popup {padding: 12px 0; } .more-menu-popup .volume-slider-wrapper {width: 86px; } .more-menu-popup .volume-slider {position: relative;width: 80px;height: 3px; } .more-menu-popup .volume-slider__enlarged-click-area {position: absolute;cursor: pointer;width: 100%;height: 40px;top: 50%;-ms-transform: translateY(-50%);transform: translateY(-50%); } .more-menu-popup .volume-slider__background {position: absolute;width: 100%;height: 100%;background: var(--more-menu-volume-control-background-color); } .more-menu-popup .volume-slider__volume {position: absolute;background: var(--more-menu-volume-control-playbackColor);bottom: 0;left: 0;height: 100%;border-radius: 4px; } .more-menu-popup .volume-slider__track {position: relative;height: 100%; } .more-menu-popup .volume-slider__thumb {position: absolute;width: 12px;height: 12px;border-radius: 50%;background: var(--more-menu-volume-control-thumb-color);bottom: -4.5px;margin-left: -6px; }.collapsable-buttons-group {vertical-align: middle;display: -ms-inline-flexbox;display: inline-flex;-ms-flex-align: center;align-items: center;overflow: hidden;-ms-flex-positive: 1;flex-grow: 1;-ms-flex-negative: 1;flex-shrink: 1; } .collapsable-buttons-group__collapsable-button {margin-right: 8px; }.navigation-controls {display: -ms-flexbox;display: flex;-ms-flex-direction: row;flex-direction: row;-ms-flex-align: center;align-items: center;position: relative; } .navigation-controls__button.navigation-controls__button_next {margin-left: 8px; } .navigation-controls__button.navigation-controls__button_prev {margin-left: 20px; } .navigation-controls__button.navigation-controls__button_locked {pointer-events: auto;cursor: url(data/lock.cur), no-drop; } .navigation-controls__label {font-size: 14px;color: var(--text-color);opacity: 0.72; }.play-controls-container {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;position: relative;-ms-flex-positive: 1;flex-grow: 1;-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;margin: 14px 16px; } .play-controls-container::before {content: '';display: inline-block;height: 100%;vertical-align: middle; } .play-controls-container__play-pause-button {margin-right: 8px; } .play-controls-container__outline-button {margin-right: 8px; }.universal-control-panel {font-family: var(--font-family-normal);display: -ms-flexbox;display: flex;-ms-flex-direction: row;flex-direction: row;width: 100%;position: relative;-ms-transform-origin: 0 0;transform-origin: 0 0;min-height: 66px;will-change: transform; } .universal-control-panel .volume-slider-wrapper {width: 86px; } .universal-control-panel .volume-slider {position: relative;width: 80px;height: 3px; } .universal-control-panel .volume-slider__enlarged-click-area {position: absolute;cursor: pointer;width: 100%;height: 40px;top: 50%;-ms-transform: translateY(-50%);transform: translateY(-50%); } .universal-control-panel .volume-slider__background {position: absolute;width: 100%;height: 100%;background: var(--volume-control-background-color); } .universal-control-panel .volume-slider__volume {position: absolute;background: var(--volume-control-playback-color);bottom: 0;left: 0;height: 100%;border-radius: 4px; } .universal-control-panel .volume-slider__track {position: relative;height: 100%; } .universal-control-panel .volume-slider__thumb {position: absolute;width: 12px;height: 12px;border-radius: 50%;background: var(--volume-control-thumb-color);bottom: -4.5px;margin-left: -6px; } .universal-control-panel__navigation-controls {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;position: relative;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;margin: 14px 16px 14px auto; } .universal-control-panel.universal-control-panel_interaction-mode .universal-control-panel__play-controls-container {display: none; } .universal-control-panel.universal-control-panel_hide-controls {visibility: hidden; }.universal-side-panel {width: 280px;height: 100%;overflow: hidden;z-index: 0;position: relative;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-transform-origin: left center;transform-origin: left center;background: var(--panel-color);color: var(--panel-text-color);vertical-align: top;-ms-flex-negative: 0;flex-shrink: 0; } .universal-side-panel__presenter-info {padding: 24px 20px;-ms-flex-negative: 0;flex-shrink: 0; } .universal-side-panel__presenter-info.universal-side-panel__presenter-info_with-delimiter::after {content: '';height: 1px;width: 240px;background: var(--popup-text-color);opacity: 0.08;position: absolute;bottom: 0;left: 20px; } .universal-side-panel .logo {width: 100%;display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;-ms-flex-negative: 0;flex-shrink: 0;position: relative;background: var(--company-logo-background-color); } .universal-side-panel .logo.logo_has-logo {padding: 12px 0;min-height: 75px;max-height: 180px;max-width: 280px; } .universal-side-panel .logo a {display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;height: 100%; } .universal-side-panel .logo a canvas {max-height: 156px;max-width: 280px; } .universal-side-panel .logo.logo_with-delimiter::after {content: '';height: 1px;width: 240px;background: var(--popup-text-color);opacity: 0.08;position: absolute;bottom: 0;left: 20px; } .universal-side-panel .video-container {box-sizing: border-box;overflow: hidden;margin-bottom: 12px;position: relative;-ms-flex-negative: 0;flex-shrink: 0; } .universal-side-panel .video-container::before {content: '';box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);position: absolute;z-index: 1;left: 0;top: 0;width: 100%;height: 100%;pointer-events: none; } .universal-side-panel__video-stub {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-pack: center;justify-content: center;box-sizing: border-box;-ms-flex-negative: 0;flex-shrink: 0;height: 158px;margin-bottom: 12px;background: var(--panel-video-stub-background-color);color: var(--panel-video-stub-color); } .universal-side-panel .playerView {box-sizing: border-box;overflow: hidden;position: relative;margin-bottom: 12px;-ms-flex-negative: 0;flex-shrink: 0; } .universal-side-panel .playerView::before {content: '';box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);position: absolute;z-index: 1;left: 0;top: 0;width: 100%;height: 100%;pointer-events: none; } .universal-side-panel__maximized {margin: 0;position: absolute;width: 36px;height: 36px;background: rgba(69, 69, 69, 0.84);color: #FFFFFF;border-radius: 10px;-webkit-backdrop-filter: blur(8px);backdrop-filter: blur(8px);left: 8px;bottom: 5px;z-index: 3;display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center; } .universal-side-panel__maximized.universal-side-panel__maximized_at-left {right: 8px;left: auto; } .universal-side-panel__maximized.universal-side-panel__maximized_active {background: #454545; } .universal-side-panel__panel-title {color: var(--text-color);padding: 5px 8px 12px 8px; }.outline-info-panel {font-family: var(--font-family-normal);-ms-flex-positive: 1;flex-grow: 1;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;overflow: hidden;border-radius: inherit;height: 100%; } .outline-info-panel .outline-panel-header {display: -ms-flexbox;display: flex;-ms-flex-negative: 0;flex-shrink: 0;-ms-flex-align: center;align-items: center;width: 100%;height: 68px;padding: 16px 16px 16px 20px; } .outline-info-panel .outline-panel-header__switcher {display: -ms-flexbox;display: flex;-ms-flex-negative: 0;flex-shrink: 0;-ms-flex-positive: 1;flex-grow: 1; } .outline-info-panel .outline-panel-header__panel-title {font-family: var(--font-family-bold);font-size: 16px;line-height: 20px;color: var(--panel-text-color);-ms-flex-negative: 0;flex-shrink: 0;-ms-flex-positive: 1;flex-grow: 1; } .outline-info-panel .search-button {width: 36px;height: 36px;display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;color: var(--popup-text-color);cursor: pointer; } .outline-info-panel .search-button svg {width: 20px;height: 20px; } .outline-info-panel .clear-button {width: 36px;height: 36px;display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;color: var(--popup-text-color);cursor: pointer; } .outline-info-panel .clear-button svg {width: 20px;height: 20px; } .outline-info-panel .search-button {opacity: 0.72; } .outline-info-panel .clear-button {position: absolute;right: 4px;top: 2px;opacity: 0.6; } .outline-info-panel .search-wrapper {-ms-flex-positive: 1;flex-grow: 1;position: relative; } .outline-info-panel .search-field {position: relative;height: 40px;width: 100%;background: var(--search-field-background-color);border-radius: 8px;padding: 10px 44px 10px 16px;font-size: 15px;line-height: 20px;color: var(--panel-text-color);border: none;outline: none; } .outline-info-panel .search-field:-ms-input-placeholder {opacity: 0.4; } .outline-info-panel .search-field::placeholder {opacity: 0.4; } .outline-info-panel .panel-tab-button {font-family: var(--font-family-bold);display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;height: 36px;padding: 0 16px;border-radius: var(--button-border-radius);color: var(--panel-text-color);background: transparent;opacity: 0.72;transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease; } .outline-info-panel .panel-tab-button.panel-tab-button_active {background: var(--hovered-tab-background-color);color: var(--list-item-text-hover-color);opacity: 1; } .outline-info-panel .panel-tab-button.panel-tab-button_chosen {background: var(--selected-tab-background-color);color: var(--list-item-text-pressed-color);opacity: 1; } .outline-info-panel .panel-tab-button:not(:last-child) {margin-right: 4px; } .outline-info-panel.outline-info-panel_mode_notes .outline-info-panel__outline-container {display: none; } .outline-info-panel__notes-container {-ms-flex-positive: 1;flex-grow: 1;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;overflow: hidden;height: 100%; } .outline-info-panel__outline-container {-ms-flex-positive: 1;flex-grow: 1;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;overflow: hidden;height: 100%; } .outline-info-panel__outline-container {border-radius: inherit;border-top-left-radius: 0;border-top-right-radius: 0;height: 100%; } .outline-info-panel__notes-container {padding-bottom: 10px; } .outline-info-panel .outline {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;overflow: hidden;border-radius: inherit;height: 100%; } .outline-info-panel .notes {height: 100%;position: relative;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;padding-left: 12px; } .outline-info-panel .notes .notes-text {word-wrap: break-word;padding-right: 10px; } .outline-info-panel .notes .notes-text p {margin-top: 0;margin-bottom: 0;white-space: pre-wrap; } .outline-info-panel .notes .notes-text p, .outline-info-panel .notes .notes-text span {color: var(--panel-text-color) !important; } .outline-info-panel .notes .notes-text p:first-child {margin-top: 0; } .outline-info-panel .notes .notes-text p:last-child {margin-bottom: 0; } .outline-info-panel .notes .notes-text p, .outline-info-panel .notes .notes-text p.bold span.nobold, .outline-info-panel .notes .notes-text p.italic span.noitalic, .outline-info-panel .notes .notes-text p.bold.italic span.nobold.noitalic {font-family: var(--font-family-normal); } .outline-info-panel .notes .notes-text p span.bold, .outline-info-panel .notes .notes-text p.bold, .outline-info-panel .notes .notes-text p.italic span.bold.noitalic, .outline-info-panel .notes .notes-text p.bold.italic span.noitalic {font-family: var(--font-family-bold); } .outline-info-panel .notes .notes-text p span.italic, .outline-info-panel .notes .notes-text p.bold span.nobold.italic, .outline-info-panel .notes .notes-text p.italic, .outline-info-panel .notes .notes-text p.bold.italic span.nobold {font-family: var(--font-family-italic); } .outline-info-panel .notes .notes-text p span.bold.italic, .outline-info-panel .notes .notes-text p.bold span.italic, .outline-info-panel .notes .notes-text p.italic span.bold, .outline-info-panel .notes .notes-text p.bold.italic {font-family: var(--font-family-bold-italic); } .outline-info-panel .notes__scroll-area {overflow: hidden; } .outline-info-panel.outline-info-panel_mode_outline .outline-info-panel__notes-container {display: none; }.video-container.video-container_force-fit-video video {position: absolute;width: 100%;height: 100%;margin: auto;top: 0;right: 0;bottom: 0;left: 0; }.video-container video {background-color: black; }.marker-panel {font-family: var(--font-family-normal);padding: 12px 0;width: 260px; } .marker-panel__separator {position: relative;background: var(--popup-text-color);opacity: 0.08;height: 1px;margin: 3px 0; }.marker-panel-button {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;position: relative;padding: 4px 20px;opacity: 1;background-color: transparent;transition: background-color 0.28s ease-in-out;width: 100%; } .marker-panel-button__text {font-size: 15px;text-align: left;color: var(--popup-text-color); } .marker-panel-button.marker-panel-button_type_eraseAll, .marker-panel-button.marker-panel-button_type_endDrawing {padding: 14px 20px 14px 24px; } .marker-panel-button:focus, .marker-panel-button:hover {background-color: var(--list-item-background-hover-color); } .marker-panel-button:focus .marker-panel-button__text, .marker-panel-button:hover .marker-panel-button__text {color: var(--popup-text-hover-color); } .marker-panel-button:focus .marker-panel-button__item-icon, .marker-panel-button:hover .marker-panel-button__item-icon {color: var(--popup-text-hover-color); } .marker-panel-button[disabled] {opacity: 0.5;color: var(--popup-text-color);pointer-events: none; } .marker-panel-button[aria-selected='true'] {background-color: var(--list-item-background-pressed-color);color: var(--list-item-text-pressed-color); }.item-icon {width: 40px;height: 40px;background-color: var(--top-panel-icon-container-color);border-radius: 50%;margin-right: 10px;display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;color: var(--popup-text-color); } .item-icon__item-icon-image {width: 28px;height: 28px;color: inherit; }.marker-tool-container {position: absolute;top: 0; } .marker-tool-container.marker-tool-container_tool_line {cursor: url(data/marker.cur) 3 3, crosshair; } .marker-tool-container.marker-tool-container_tool_marker {cursor: url(data/highlighter.cur) 3 10, crosshair; } .marker-tool-container.marker-tool-container_tool_eraser {cursor: url(data/eraser.cur) 5 5, crosshair; }.draw-control {position: absolute; }.closed-caption-panel {position: absolute;height: 110px;width: 100%;bottom: 0;background-color: rgba(0, 0, 0, 0.5);padding: 13px 4px 7px 14px; } .closed-caption-panel__scroll-area {height: 100%; }.closed-captions {font-family: var(--font-family-normal);color: #FFFFFF;line-height: 19px;font-size: 14px;width: 100%;padding-right: 30px;word-wrap: break-word;white-space: pre-wrap;text-shadow: -1.4px 1.4px 2px rgba(0, 0, 0, 0.48); } .closed-captions p {position: relative !important;margin: 0; }.show-side-panel-button {position: absolute;top: 6px;z-index: 1001; } .show-side-panel-button.show-side-panel-button_side_left {left: 0; } .show-side-panel-button.show-side-panel-button_side_left .show-side-panel-button__button {left: -9px;border-radius: 0 25px 25px 0; } .show-side-panel-button.show-side-panel-button_side_right {right: 0; } .show-side-panel-button.show-side-panel-button_side_right .show-side-panel-button__button {left: 9px;border-radius: 25px 0 0 25px; } .show-side-panel-button.show-side-panel-button_side_right .show-side-panel-button__button.show-side-panel-button__button_active, .show-side-panel-button.show-side-panel-button_side_right .show-side-panel-button__button[aria-pressed='true'], .show-side-panel-button.show-side-panel-button_side_left .show-side-panel-button__button.show-side-panel-button__button_active, .show-side-panel-button.show-side-panel-button_side_left .show-side-panel-button__button[aria-pressed='true'] {background: var(--player-background-color);left: 0; } .show-side-panel-button__button {background: var(--player-background-color);box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);transition-property: left; }@keyframes preloader_spin {0% {transform: rotate(0deg); } 100% {transform: rotate(360deg); } }.message-box {background: var(--player-background-color);position: absolute;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;border-radius: 7px;min-width: 280px;padding: 40px;box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08); } .message-box::after {content: '';box-sizing: border-box;border: 1px solid var(--popup-border);width: 100%;height: 100%;position: absolute;left: 0;top: 0;border-radius: 7px;pointer-events: none; } .message-box__content {position: relative;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-direction: column;flex-direction: column; } .message-box__icon {width: 24px;height: 24px;margin-bottom: 24px;position: relative;display: inline-block;color: var(--text-color);opacity: 0.72; } .message-box .message-box-buttons {position: relative;width: 100%;height: 36px; } .message-box .message-box-buttons__buttons {display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center; } .message-box .message-box-buttons__window-button {margin: 0 4px; } .message-box .vertical-scrollbar {top: 40px; } .message-box__message-container {overflow: hidden;display: inline-block;max-width: 480px;vertical-align: top;position: relative; } .message-box__message {text-align: center;font-size: 16px;color: var(--text-color);text-overflow: ellipsis;overflow: hidden;position: relative;font-family: var(--font-family-normal); } .message-box__buttons {margin-top: 28px; }body {overflow: hidden;cursor: default; }:focus {outline: none; }button {cursor: pointer;margin: 0;border: 0;background: transparent; }#content {width: 100%;height: 100%; }.universal {font-family: var(--font-family-normal);display: -ms-flexbox;display: flex;overflow: hidden;position: relative;background: var(--player-background-color);-ms-transform-origin: 0 0;transform-origin: 0 0; } .universal.universal_left-panel {-ms-flex-direction: row-reverse;flex-direction: row-reverse; } .universal.universal_side-panel-hidden .universal__main-container {width: 100%; } .universal.universal_embedded-mode::after {content: '';top: 0;bottom: 0;left: 0;right: 0;position: absolute;border: 1px solid rgba(0, 0, 0, 0.12);pointer-events: none; }.main-container {position: relative;display: inline-block;z-index: 0;-ms-flex-positive: 1;flex-grow: 1; }.content-area {margin-left: auto;margin-right: auto;left: 0;right: 0;position: relative; } .content-area > div {position: absolute !important;top: 0;bottom: 0;margin-top: auto;margin-bottom: auto; } .content-area #playerView {position: absolute; } .content-area .preloader {width: 50px;height: 50px;position: absolute;top: 0;left: 0;bottom: 0;right: 0;margin: auto;border-radius: 10px;background-color: rgba(0, 0, 0, 0.5); } .content-area .preloader::after {content: '';position: absolute;background: url("+ +g[0]+");background-size: cover;top: 0;left: 0;bottom: 0;right: 0;animation: preloader_spin 1s infinite linear; } .content-area .float-panel-overlay {width: 100%;height: 100%;position: absolute;top: 0;left: 0; }.treecontrol {position: relative;-webkit-overflow-scrolling: touch;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;overflow: hidden;border-radius: inherit; } .treecontrol .container-top-shadow {background: __verticalGradient(var(--panel-color), transparent);background: linear-gradient(to bottom, var(--panel-color), transparent);position: absolute;top: 0;left: 0;right: 0;height: 60px;pointer-events: none; } .treecontrol .container-bottom-shadow {background: __verticalGradient(transparent, var(--panel-color));background: linear-gradient(to bottom, transparent, var(--panel-color));position: absolute;bottom: 0;left: 0;right: 0;height: 60px;pointer-events: none;border-radius: inherit; } .treecontrol.treecontrol_locked {cursor: url(data/lock.cur), no-drop; }.launch-screen {z-index: 100;position: fixed;top: 0;right: 0;bottom: 0;left: 0;background-color: rgba(0, 0, 0, 0.48); } .launch-screen .launch-screen-button {top: 0;bottom: 0;margin: auto;right: 0;left: 0;border-radius: 100%;width: 96px;height: 96px;position: absolute; } .launch-screen .launch-screen-button__play-icon {background-color: #FFFFFF;position: absolute;top: 0;bottom: 0;margin: auto;right: 0;left: 0;border-radius: 100%;width: 90px;height: 90px;box-shadow: 0 12px 50px 0 rgba(0, 0, 0, 0.2);transition: 0.3s ease-in-out; } .launch-screen .launch-screen-button__icon {background: url("+ +g[1]+") no-repeat center;position: absolute;top: 0;bottom: 0;margin: auto;right: 0;left: 6px;width: 90px;height: 90px; } .launch-screen .launch-screen-button.launch-screen-button_active .launch-screen-button__play-icon {width: 96px;height: 96px; } .launch-screen .launch-screen-button.launch-screen-button_active .launch-screen-button__icon {background: url("+g[2]+") no-repeat center; }body {margin: 0;padding: 0;overflow: hidden;cursor: default;-ms-touch-action: pan-y;touch-action: pan-y;-webkit-tap-highlight-color: rgba(0, 0, 0, 0); } body .password_form, body .info_panel {position: absolute;background: #F7F7F7;border-radius: 4px;width: 513px;height: 210px;font-family: Arial; } body .password_form *, body .info_panel * {box-sizing: border-box; } body .password_form .password_label {position: absolute;color: #3A3A3A;font-size: 15px;top: 63px;left: 55px; } body .password_form .wrong_password_label {position: absolute;color: #DD4A37;font-size: 12px;top: 131px;left: 55px; } body .password_form input {position: absolute;width: 330px;height: 32px;background: #FFFFFF;border: 1px solid #D1D2D4;padding: 1px;border-radius: 2px;font-size: 18px;color: #231F20;left: 54px;top: 94px;padding-left: 8px; } body .password_form button {border: transparent;background: transparent;color: #343434;font-family: Arial;font-size: 15px;text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); } body .password_form button::before {background: linear-gradient(to bottom, #D3D3D3, #BABABA);position: absolute;content: '';top: 0;right: 0;bottom: 0;left: 0;border-radius: 4px;z-index: -1; } body .password_form button::after {background: linear-gradient(to bottom, #DCDCDC, #D1D1D1);position: absolute;content: '';top: 1px;right: 1px;bottom: 1px;left: 1px;border-radius: 4px;z-index: -1; } body .password_form .btn_ok {position: absolute;top: 94px;right: 55px;width: 60px;height: 32px;opacity: 0.99; } body .info_panel {display: table; } body .info_panel .label {position: static;display: table-cell;vertical-align: middle;width: 100%;padding-left: 120px;padding-right: 40px;color: #3A3A3A;font-size: 15px; } body .info_panel::after {position: absolute;content: '';width: 63px;height: 63px;top: 73px;left: 46px; } body .info_panel.domain::after {background: transparent url("+ +g[3]+"); } body .info_panel.time::after {background: transparent url("+g[4]+"); }.component_base,.component_container {position: absolute; }:focus {outline: none; }::-moz-focus-inner {border: 0; }input {-webkit-appearance: none;appearance: none; }button {cursor: pointer;margin: 0;border: 0; }button[disabled] {cursor: default; }.__player_view_id__ {position: absolute; } .__player_view_id__ > * {position: absolute; } .__player_view_id__ .slide {white-space: nowrap;font-size: 0; } .__player_view_id__ .slide a {text-decoration: none;cursor: pointer; } .__player_view_id__ .slide a img {border: 0; } .__player_view_id__ .slide * {-ms-transform-origin: 0 0;transform-origin: 0 0; } .__player_view_id__ .slide.relpos, .__player_view_id__ .slide .relpos {position: relative !important;vertical-align: top; } .__player_view_id__ .slide.kern, .__player_view_id__ .slide .kern {text-rendering: optimizeLegibility;font-feature-settings: 'kern' 1, 'liga' 0; } .__player_view_id__ .slide.nokern, .__player_view_id__ .slide .nokern {text-rendering: optimizeSpeed;font-feature-settings: 'kern' 0, 'liga' 0; } .__player_view_id__ .fullscreen {-ms-transform: none !important;transform: none !important;top: 0 !important;left: 0 !important; } .__player_view_id__ .fullscreen > video, .__player_view_id__ .fullscreen .video_player {background-color: black;width: __slide_width__ !important;height: __slide_height__ !important;z-index: 100;-ms-transform: none !important;transform: none !important; } .__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen {background: url("+ +g[5]+") no-repeat; } .__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen:hover {background: url("+g[6]+") no-repeat; } .__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen:active {background: url("+g[7]+") no-repeat; } .__player_view_id__ .video_player video {width: 100%;height: 100%;margin: auto;top: 0;right: 0;bottom: 0;left: 0; } .__player_view_id__ .video_player video::cue {color: #FFFFFF;background-color: rgba(8, 8, 8, 0.75);border-radius: 4px;font-family: Helvetica, Roboto, Arial, sans-serif;line-height: 1.1; } .__player_view_id__ .video_player.poster_frame_hide_video video {display: none; } .__player_view_id__ .video_player.poster_frame video {opacity: 0; } .__player_view_id__ .video_player.poster_frame_hide_video .poster, .__player_view_id__ .video_player.poster_frame .poster {position: absolute;width: 100%;height: 100%; } .__player_view_id__ .video_player .controls {height: 36px;background: rgba(45, 50, 55, 0.85098);border: 1px solid #444648;cursor: default;border-radius: 4px; } .__player_view_id__ .video_player .controls, .__player_view_id__ .video_player .controls * {-webkit-backface-visibility: hidden;backface-visibility: hidden; } .__player_view_id__ .video_player .controls .progress {background-color: #75787A;height: 14px;left: 64px;top: 0;bottom: 0;margin-top: auto;margin-bottom: auto;cursor: pointer; } .__player_view_id__ .video_player .controls .progress .bookmark {width: 10px;height: 10px;margin-top: -5px;margin-left: -5px;top: 50%;background: url("+ +g[8]+") no-repeat;cursor: pointer; } .__player_view_id__ .video_player .controls .progress .bookmark:hover, .__player_view_id__ .video_player .controls .progress .bookmark:active {background: url("+g[9]+") no-repeat; } .__player_view_id__ .video_player .controls .progress .loading {background-color: #B1B3B5;height: 100%; } .__player_view_id__ .video_player .controls .progress .playing {background-color: #FFFFFF;height: 100%; } .__player_view_id__ .video_player .controls .progress .tooltip {background: url("+ +g[10]+") no-repeat;width: 60px;height: 25px;top: -33px;margin-left: -30px;font-family: Arial;font-size: 12px;padding-top: 2px;text-align: center; } .__player_view_id__ .video_player .controls .volume_popup {border-radius: 3px;background: rgba(45, 50, 55, 0.85098);top: -67px;right: 65px;padding: 8px;box-sizing: border-box;width: 28px;height: 64px; } .__player_view_id__ .video_player .controls .volume_popup .volume {background: url("+g[11]+");position: relative;cursor: pointer;width: 12px;height: 48px; } .__player_view_id__ .video_player .controls .volume_popup .volume .back {background: url("+ +g[12]+");width: 100%; } .__player_view_id__ .video_player .controls button {width: 100%;height: 100%; } .__player_view_id__ .video_player .controls button.rate {background: url("+g[13]+") no-repeat center; } .__player_view_id__ .video_player .controls button.rate.selected {background-color: rgba(255, 255, 255, 0.1); } .__player_view_id__ .video_player .controls button.mute {background: url("+g[14]+"); } .__player_view_id__ .video_player .controls button.mute:hover {background: url("+ +g[15]+"); } .__player_view_id__ .video_player .controls button.mute:active {background: url("+g[16]+"); } .__player_view_id__ .video_player .controls button.mute.selected {background: url("+g[17]+"); } .__player_view_id__ .video_player .controls button.mute.selected:hover {background: url("+g[18]+"); } .__player_view_id__ .video_player .controls button.mute.selected:active {background: url("+g[19]+"); } .__player_view_id__ .video_player .controls button.subtitles {background: url("+ +g[20]+") no-repeat center; } .__player_view_id__ .video_player .controls button.subtitles.selected {background-color: rgba(255, 255, 255, 0.1); } .__player_view_id__ .video_player .controls button.play {background: url("+g[21]+") no-repeat; } .__player_view_id__ .video_player .controls button.play:hover {background: url("+g[22]+") no-repeat; } .__player_view_id__ .video_player .controls button.play:active {background: url("+g[23]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected {background: url("+ +g[24]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected:hover {background: url("+g[25]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected:active {background: url("+g[26]+") no-repeat; } .__player_view_id__ .video_player .controls button.play::after {background: url("+g[27]+");width: 1px;height: 32px;right: 0;top: 1px;position: absolute;content: ''; } .__player_view_id__ .video_player .controls button.toggle_fullscreen {background: url("+ +g[28]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen:hover {background: url("+g[29]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen:active {background: url("+g[30]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen::before {background: url("+g[27]+") no-repeat;width: 1px;height: 32px;left: 0;top: 1px;position: absolute;content: ''; } .__player_view_id__ .video_player .controls .subtitles-list {width: 195px;right: 0;border-radius: 4px;border: solid 1px #444648;background-color: rgba(45, 50, 55, 0.85);font-family: Helvetica, Roboto, Arial, sans-serif;font-size: 14px;font-weight: normal;font-stretch: normal;font-style: normal;line-height: normal;letter-spacing: normal;padding: 3px 0;bottom: 37px; } .__player_view_id__ .video_player .controls .subtitles-list__caption {position: relative !important;padding: 12px 0 22px 0;color: #b8b8b8;text-align: center; } .__player_view_id__ .video_player .controls .subtitles-list__caption::after {position: absolute;content: '';width: calc(100% - 20px);left: 0;right: 0;bottom: 5px;margin: auto;border-bottom: 1px solid #444648; } .__player_view_id__ .video_player .controls .subtitles-list__item {color: #b8b8b8;position: relative !important;padding: 10px 2px 10px 35px;cursor: pointer;overflow: hidden;text-overflow: ellipsis; } .__player_view_id__ .video_player .controls .subtitles-list__item.subtitles-list__item_active {background-color: rgba(255, 255, 255, 0.1);color: #FFFFFF; } .__player_view_id__ .video_player .controls .subtitles-list__item[aria-selected='true'] {background-color: rgba(0, 0, 0, 0.24);color: #FFFFFF;padding-left: 12px; } .__player_view_id__ .video_player .controls .subtitles-list__item[aria-selected='true']::before {background: url("+ +g[31]+") no-repeat;width: 14px;height: 15px;padding-right: 23px;content: ''; } .__player_view_id__ .video_player .controls .toggle_fullscreen {width: 52px;height: 34px; } .__player_view_id__ .video_player .controls .play {width: 52px;height: 34px; } .__player_view_id__ .video_player .controls .rate {width: 32px;height: 34px;right: 95px;top: 0; } .__player_view_id__ .video_player .controls .rate.rate_subtitle-button-next {right: 127px; } .__player_view_id__ .video_player .controls .playback-rate-menu {width: 120px;right: 51px;border-radius: 4px;border: solid 1px #444648;background-color: rgba(45, 50, 55, 0.85);font-family: Helvetica, Roboto, Arial, sans-serif;font-size: 14px;font-weight: normal;font-stretch: normal;font-style: normal;line-height: normal;letter-spacing: normal;padding: 3px 0;bottom: 37px; } .__player_view_id__ .video_player .controls .playback-rate-menu.playback-rate-menu_subtitle-button-next {right: 83px; } .__player_view_id__ .video_player .controls .playback-rate-menu__caption {position: relative !important;padding: 12px 0 22px 0;color: #b8b8b8;text-align: center; } .__player_view_id__ .video_player .controls .playback-rate-menu__caption::after {position: absolute;content: '';width: calc(100% - 20px);left: 0;right: 0;bottom: 5px;margin: auto;border-bottom: 1px solid #444648; } .__player_view_id__ .video_player .controls .playback-rate-menu__item {color: #b8b8b8;position: relative !important;padding: 10px 2px 10px 35px;cursor: pointer;overflow: hidden;text-overflow: ellipsis; } .__player_view_id__ .video_player .controls .playback-rate-menu__item.playback-rate-menu__item_active {background-color: rgba(255, 255, 255, 0.1);color: #FFFFFF; } .__player_view_id__ .video_player .controls .playback-rate-menu__item[aria-selected='true'] {background-color: rgba(0, 0, 0, 0.24);color: #FFFFFF;padding-left: 12px; } .__player_view_id__ .video_player .controls .playback-rate-menu__item[aria-selected='true']::before {background: url("+ +g[31]+") no-repeat;width: 14px;height: 15px;padding-right: 23px;content: ''; } .__player_view_id__ .video_player .controls .subtitles {width: 32px;height: 34px;right: 95px;top: 0; } .__player_view_id__ .video_player .controls .toggle_fullscreen {right: -1px; } .__player_view_id__ .video_player .controls .mute {width: 22px;height: 22px;right: 67px;top: 6px; }.popup_layer {position: absolute; } .popup_layer .modal_layer {background: #000000;opacity: 0.4;z-index: 10;width: 100%;height: 100%; } .popup_layer .message_box, .popup_layer .confirm_window {background: #FFFFFF;border-radius: 5px;border: 1px solid rgba(0, 0, 0, 0.75);width: 357px;height: 150px;position: absolute;top: 0;right: 0;bottom: 0;left: 0;margin: auto;z-index: 10; } .popup_layer .message_box::after, .popup_layer .confirm_window::after {background-color: #E6E6E6;width: 100%;height: 1px;top: 30px;position: absolute;content: ''; } .popup_layer .message_box .title, .popup_layer .message_box .message, .popup_layer .confirm_window .title, .popup_layer .confirm_window .message {font-family: Helvetica, Roboto, Arial, sans-serif;font-size: 14px;color: #323232; } .popup_layer .message_box .title, .popup_layer .confirm_window .title {position: absolute;left: 13px;top: 7px;font-weight: bold;background: transparent; } .popup_layer .message_box .message, .popup_layer .confirm_window .message {position: absolute;top: 47px;left: 69px;margin-right: 25px; } .popup_layer .message_box .message::before, .popup_layer .confirm_window .message::before {background-color: #E6E6E6;width: 35px;height: 35px;left: -45px;position: absolute;content: ''; } .popup_layer .message_box button, .popup_layer .confirm_window button {font-size: 14px;border-radius: 5px;color: #323232;width: 68px;height: 30px; } .popup_layer .message_box button, .popup_layer .message_box button.mobile:hover, .popup_layer .message_box button.mobile:active, .popup_layer .confirm_window button, .popup_layer .confirm_window button.mobile:hover, .popup_layer .confirm_window button.mobile:active {background: #D4D4D4; } .popup_layer .message_box button:hover, .popup_layer .message_box button:active, .popup_layer .message_box button.mobile.active, .popup_layer .confirm_window button:hover, .popup_layer .confirm_window button:active, .popup_layer .confirm_window button.mobile.active {background: #B8B8B8; } .popup_layer .confirm_window button.btn_yes {left: 101px;top: 98px; } .popup_layer .confirm_window button.btn_no {left: 181px;top: 98px; } .popup_layer .confirm_window .message::before {background: url("+ +g[32]+"); } .popup_layer .message_box button.btn_ok {left: 141px;top: 98px; } .popup_layer .message_box .message::before {background: url("+g[33]+"); }.transitionSlide.paused * {animation-play-state: paused !important; }.framesLayer .video_player {-ms-transform-origin: 0 0;transform-origin: 0 0; }.framesLayer *:not(.framesLayerContent) {pointer-events: all; }.framesLayer .framesLayerContent {position: absolute; } .framesLayer .framesLayerContent > div {pointer-events: all; }.trial_banner {position: relative;transform: translateZ(0); } .trial_banner .banner-content, .trial_banner .banner-content_hover {position: absolute;left: 0;right: 0;top: 0;bottom: 0;width: 100%;height: 100%; } .trial_banner .banner-content {visibility: visible;z-index: 1; } .trial_banner .banner-content_hover {visibility: hidden;z-index: 0; } .trial_banner .days_remaining {position: absolute;font-family: 'Open Sans', Arial, sans-serif;font-weight: normal;font-size: 13px;left: 65px;top: 41px;color: #7C1645;z-index: 1; } .trial_banner:hover .banner-content {visibility: hidden;z-index: 0; } .trial_banner:hover .banner-content_hover {visibility: visible;z-index: 1; }.outline {font-family: var(--font-family-normal);position: relative; }.search-result {font-family: var(--font-family-bold);padding: 16px 0 8px 20px;position: relative;font-size: 15px;line-height: 20px;color: var(--popup-text-color); } .search-result.search-result_no-results {font-family: var(--font-family-normal);height: 100%;text-align: center;padding: 60px 0 0;opacity: 0.6; }.slide-item-view {position: relative;overflow: hidden;display: table;width: 100%;color: var(--panel-text-color);transition: background 0.28s ease; } .slide-item-view__content {height: 100%;display: table-row; } .slide-item-view__content > * {display: table-cell;vertical-align: middle; } .slide-item-view__open-button {width: 12px;height: 12px;margin: 0 8px 0 12px;opacity: 0.6;padding: 0;color: var(--popup-text-color);transition: transform 0.3s ease;background: transparent; } .slide-item-view__open-button[aria-pressed='true'] {-ms-transform: rotate(90deg);transform: rotate(90deg); } .slide-item-view__thumb {max-width: 100px;max-height: 60px;vertical-align: middle;margin-top: 1px;border: 1px solid rgba(0, 0, 0, 0.04);border-radius: 4px;background-color: var(--player-background-color); } .slide-item-view__status {position: absolute;width: 18px;height: 18px;background-size: 18px 18px; } .slide-item-view__status.slide-item-view__status_status_correct {background-image: url("+ +g[34]+"); } .slide-item-view__status.slide-item-view__status_status_partially {background-image: url("+g[35]+"); } .slide-item-view__status.slide-item-view__status_status_incorrect {background-image: url("+g[36]+"); } .slide-item-view__status.slide-item-view__status_status_answered {background-image: url("+g[37]+"); } .slide-item-view__status.slide-item-view__status_answered {background-image: url("+g[38]+"); } .slide-item-view__mark {position: absolute;width: 12px;height: 18px;top: 0;bottom: 0;margin: auto;background-image: url("+ +g[39]+");background-size: 12px 18px;background-repeat: no-repeat;margin-left: -40px; } .slide-item-view__mark.slide-item-view__mark_with-status {left: 8px; } .slide-item-view__title-container {width: 100%; } .slide-item-view__title {padding: 0 16px;font-size: 14px;line-height: 18px;max-height: 60px;word-break: break-word;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 3;/*! autoprefixer: off */ -webkit-box-orient: vertical;-ms-box-orient: vertical;-moz-box-orient: vertical;/* autoprefixer: on */ } .slide-item-view__title.slide-item-view__title_minimized {max-height: 70px; } .slide-item-view.slide-item-view_with-thumbnail .slide-item-view__title {padding-left: 11px; } .slide-item-view.slide-item-view_with-thumbnail .slide-item-view__mark {margin-left: -20px; } .slide-item-view.slide-item-view_active {background: var(--list-item-background-hover-color);color: var(--list-item-text-hover-color); } .slide-item-view.slide-item-view_active .slide-item-view__mark {background-image: url("+ +g[40]+"); } .slide-item-view[aria-selected='true'] {background: var(--list-item-background-pressed-color);color: var(--list-item-text-pressed-color); } .slide-item-view[aria-selected='true'] .slide-item-view__mark {background-image: url("+g[41]+"); }.treecontrol.treecontrol_highlight-viewed .slide-item-view.slide-item-view_viewed {color: var(--list-item-text-visited-color); }.treecontrol.treecontrol_highlight-viewed .slide-item-view.slide-item-view_viewed.slide-item-view_active {background: var(--list-item-background-hover-color);color: var(--list-item-text-hover-color); }.treecontrol.treecontrol_highlight-viewed .slide-item-view.slide-item-view_viewed[aria-selected='true'] {background: var(--list-item-background-pressed-color);color: var(--list-item-text-pressed-color); }.highlighted {font-family: var(--font-family-bold);padding: 2px 3px;margin: -2px -3px;font-size: 14px;line-height: 18px;color: var(--popup-text-color);opacity: 1; }.search-context {font-size: 14px;line-height: 18px;color: var(--popup-text-color);opacity: 0.6; }.container-top-shadow {background: __verticalGradient(var(--popup-background-color), var(--popup-transparent-background-color));background: linear-gradient(to bottom, var(--popup-background-color), var(--popup-transparent-background-color));position: absolute;top: 0;left: 0;right: 0;height: 60px;pointer-events: none; }.container-bottom-shadow {background: __verticalGradient(var(--popup-transparent-background-color), var(--popup-background-color));background: linear-gradient(to bottom, var(--popup-transparent-background-color), var(--popup-background-color));position: absolute;bottom: 0;left: 0;right: 0;height: 60px;pointer-events: none;border-radius: inherit; }.vertical-scrollbar {position: absolute;right: 0;top: 4px;bottom: 4px;width: 14px;transition: opacity 0.2s ease; } .vertical-scrollbar .thumb {position: absolute;width: 8px;right: 3px;padding: 1px;border-radius: 5px; } .vertical-scrollbar .thumb__background {height: 100%;border-radius: 4px;background-color: rgba(0, 0, 0, 0.32);border: 1px solid rgba(255, 255, 255, 0.12); }.vertical-scrollbar {transition: none;opacity: 0.5 !important; }.vertical-scrollbar .thumb {padding: 0;right: 0; } .vertical-scrollbar .thumb__background {height: 100%;border-radius: 20px;background-color: rgba(0, 0, 0, 0.16);border: 1px solid rgba(255, 255, 255, 0.12); }.presentation-view-mode-switch-control {width: 64px;height: 64px;position: fixed;left: 16px;top: 16px;cursor: pointer;border: none;background: url("+ +g[42]+") no-repeat center; } .presentation-view-mode-switch-control:not([disabled]):hover {background: url("+g[43]+") no-repeat center; } .presentation-view-mode-switch-control:not([disabled]):active {background: url("+g[44]+") no-repeat center; } .presentation-view-mode-switch-control:not([disabled]):focus {outline: none; } .presentation-view-mode-switch-control:not([disabled]):focus::before {content: '';position: absolute;top: 3px;bottom: 3px;left: 3px;right: 3px;border: 1px dotted #FFFFFF;opacity: 0.6; }"}(); +var e;for(const [g,h]of Object.entries(null!=(e=a)?e:{}))e=`__${g.replace(RegExp("\\.","g"),"_")}__`,d=d.replace(new RegExp(e,"g"),h);let f;for(const [g,h]of Object.entries(null!=(f=b)?f:{}))d=d.replace(new RegExp(g,"g"),h);d=d.replace(/__verticalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.Pk);d=d.replace(/__horizontalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.Ok);return gn(d)}Pk(a,b,c){return`url(data:image/svg+xml;base64,${qh(``)})`}Ok(a, +b,c){return`url(data:image/svg+xml;base64,${qh(``)})`}};var iG={mb_question_icon:'', +mb_warning_icon:'', +arrows_left:'',arrows_right:'', +"attachment-doc":'', +"attachment-image":'', +"attachment-link":'',"attachment-unknown":'', +"attachment-video":'', +attachments_button_icon:'', +"btn_pause_big.svg":' \t\t', +"btn_play_big.svg":' ', +cc:'', +cc_on:'', +chevron_left:'',chevron_right:'',collapse_icon:'', +erase_search:'', +exit_fullscreen:'', +"external-link":'',fullscreen:'', +"mail-link":'', +marker_eraser:'', +marker_highlighter:'', +marker_panel_button_icon:'', +marker_pen:'', +more:'', +next_btn:'',next_btn_mobile:'', +notes_button_icon:'', +outline:'', +outline_button_icon:'', +pause:'',play:'',play_pause_btn:' ', +presenter_info_button_icon:'',prev_btn:' ', +prev_btn_mobile:'',"rate-0.75x":'', +"rate-1.25x":'', +"rate-1.5x":'', +"rate-1x":'', +"rate-2x":'', +replay:'',search:'', +"tab-left":'',"tab-right":'',tab1:'', +tab2:'',tick:'', +video_maximize:'',"video_stub.svg":'', +volume_high:'', +volume_middle:'', +volume_mute:''};class jG{Yo(a,b){var c="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx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4NCjwvc3ZnPg== data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNyIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDcgMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQo8cGF0aCBkPSJNNiAxTDEgNkw2IDExIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+DQo8L3N2Zz4= data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNyIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDcgMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQo8cGF0aCBkPSJNNiAxTDEgNkw2IDExIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+DQo8L3N2Zz4= data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNCAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik0xIDlMNSAxM0wxMyAxLjUiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLXdpZHRoPSIyIi8+DQo8L3N2Zz4NCg==".split(" "); +c=".popup-layer {top: 0;right: 0;bottom: 0;left: 0;z-index: 1;position: absolute;border-radius: inherit; }.modal-layer {background: #000000;opacity: 0.4;position: absolute;width: 100%;height: 100%;border-radius: inherit; }body {margin: 0;padding: 0;cursor: default;-ms-touch-action: pan-y;touch-action: pan-y;overflow-y: auto; } body .info_panel {position: relative;top: 0;background: #FFFFFF;font-family: Helvetica, Roboto, Arial;padding-top: 161px;padding-bottom: 50px; } body .info_panel, body .info_panel * {box-sizing: border-box; } body .info_panel.domain::before {background: transparent url("+ +c[0]+") no-repeat center; } body .info_panel.time::before {background: transparent url("+c[1]+") no-repeat center; } body .info_panel.password::before {background: transparent url("+c[2]+") no-repeat center; } body .info_panel::before {position: absolute;width: 100%;top: 55px;height: 63px;content: ''; } body .info_panel .message {position: relative;color: #414A5B;font-size: 16px;padding-left: 15px;padding-right: 15px;text-align: center; } body .password .password_field {position: relative;margin-left: 20px;margin-right: 20px;padding-top: 23px;padding-bottom: 26px; } body .password .password_field input {position: relative;width: 100%;height: 34px;border: 1px solid #D6D6D6;border-top: 1px solid #BABABA;padding-left: 8px;font-size: 20px; } body .password .wrong_password_label {position: absolute;font-size: 12px;color: #DD4A37;left: 22px;right: 22px;margin-top: -21px; } body .ok.component_container {position: fixed;bottom: 0;height: 50px;background: #434E50; } body .ok.component_container.active {background: #637375; } body .ok.component_container button {top: 0;bottom: 0;left: 0;width: 100%;position: absolute;background: transparent;border: 0;line-height: 50px;color: #E2E2E2;font-size: 16px; } body .ok.component_container button[disabled] {color: #647577; }.launch-screen {z-index: 999 !important; }.component_base,.component_container {position: absolute; }:focus {outline: none; }::-moz-focus-inner {border: 0; }input {-webkit-appearance: none;appearance: none; }button {cursor: pointer;margin: 0;border: 0; }button[disabled] {cursor: default; }.__player_view_id__ > * {position: absolute; }.__player_view_id__ .slide {white-space: nowrap;font-size: 0; } .__player_view_id__ .slide a {text-decoration: none;cursor: pointer; } .__player_view_id__ .slide a img {border: 0; } .__player_view_id__ .slide * {-ms-transform-origin: 0 0;transform-origin: 0 0; } .__player_view_id__ .slide.relpos, .__player_view_id__ .slide .relpos {position: relative !important;vertical-align: top; } .__player_view_id__ .slide.kern, .__player_view_id__ .slide .kern {text-rendering: optimizeLegibility;font-feature-settings: 'kern' 1, 'liga' 0; } .__player_view_id__ .slide.nokern, .__player_view_id__ .slide .nokern {text-rendering: optimizeSpeed;font-feature-settings: 'kern' 0, 'liga' 0; }.__player_view_id__ .fullscreen {-ms-transform: none !important;transform: none !important;top: 0 !important;left: 0 !important; } .__player_view_id__ .fullscreen > video {background-color: black;width: __slide_width__ !important;height: __slide_height__ !important;z-index: 100; }.__player_view_id__ .video_player video {width: 100%;height: 100%; } .__player_view_id__ .video_player video::cue {color: #FFFFFF;background-color: rgba(8, 8, 8, 0.75);border-radius: 4px;font-family: Helvetica, Roboto, Arial;line-height: 1.1; }.__player_view_id__ .video_player.iphone::after {background: rgba(0, 0, 0, 0) url("+ +c[3]+") no-repeat center;position: absolute;width: 100%;height: 100%;top: 0;right: 0;content: ''; }.__player_view_id__ .video_player.iphone video {opacity: 0; }.__player_view_id__ .video_player.iphone.without_controls video {display: none; }.__player_view_id__ .video_player .controls {height: 36px;background: rgba(45, 50, 55, 0.85098);border: 1px solid #444648;cursor: default;border-radius: 4px; } .__player_view_id__ .video_player .controls .progress {background-color: #75787A;height: 14px;left: 62px;top: 0;bottom: 0;margin-top: auto;margin-bottom: auto;cursor: pointer; } .__player_view_id__ .video_player .controls .progress .bookmark {width: 10px;height: 10px;margin-top: -5px;margin-left: -5px;top: 50%;background: url("+ +c[4]+") no-repeat;cursor: pointer; } .__player_view_id__ .video_player .controls .progress .bookmark:hover, .__player_view_id__ .video_player .controls .progress .bookmark:active {background: url("+c[5]+") no-repeat; } .__player_view_id__ .video_player .controls .progress .loading {background-color: #B1B3B5;height: 100%; } .__player_view_id__ .video_player .controls .progress .playing {background-color: #FFFFFF;height: 100%; } .__player_view_id__ .video_player .controls .progress .tooltip {background: url("+ +c[6]+") no-repeat;width: 60px;height: 25px;top: -33px;margin-left: -30px;font-family: Helvetica, Roboto, Arial;font-size: 12px;padding-top: 2px;text-align: center; } .__player_view_id__ .video_player .controls .volume_popup {border-radius: 3px;background: rgba(45, 50, 55, 0.85098);top: -67px;right: 55px;padding: 8px; } .__player_view_id__ .video_player .controls .volume_popup .volume {background: url("+c[7]+");position: relative;cursor: pointer;width: 12px;height: 48px; } .__player_view_id__ .video_player .controls .volume_popup .volume .back {background: url("+ +c[8]+");width: 100%; } .__player_view_id__ .video_player .controls button {width: 100%;height: 100%; } .__player_view_id__ .video_player .controls button.mute {background: url("+c[9]+"); } .__player_view_id__ .video_player .controls button.mute:hover {background: url("+c[10]+"); } .__player_view_id__ .video_player .controls button.mute:active {background: url("+c[11]+"); } .__player_view_id__ .video_player .controls button.mute.selected {background: url("+c[12]+"); } .__player_view_id__ .video_player .controls button.mute.selected:hover {background: url("+ +c[13]+"); } .__player_view_id__ .video_player .controls button.mute.selected:active {background: url("+c[14]+"); } .__player_view_id__ .video_player .controls button.play {background: url("+c[15]+") no-repeat; } .__player_view_id__ .video_player .controls button.play:hover {background: url("+c[16]+") no-repeat; } .__player_view_id__ .video_player .controls button.play:active {background: url("+c[17]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected {background: url("+ +c[18]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected:hover {background: url("+c[19]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected:active {background: url("+c[20]+") no-repeat; } .__player_view_id__ .video_player .controls button.play::after {background: url("+c[21]+");width: 1px;height: 32px;right: 0;top: 1px;position: absolute;content: ''; } .__player_view_id__ .video_player .controls button.toggle_fullscreen {background: url("+ +c[22]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen:hover {background: url("+c[23]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen:active {background: url("+c[24]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen::before {background: url("+c[21]+") no-repeat;width: 1px;height: 32px;left: 0;top: 1px;position: absolute;content: ''; } .__player_view_id__ .video_player .controls .component_container.toggle_fullscreen, .__player_view_id__ .video_player .controls .component_container.play {width: 52px;height: 34px; } .__player_view_id__ .video_player .controls .component_container.toggle_fullscreen {right: -1px; } .__player_view_id__ .video_player .controls .component_container.mute {width: 22px;height: 22px;right: 58px;top: 6px; }.modal_layer {background: #000000;opacity: 0.7;z-index: 1;width: 100%;height: 100%; }.message_box,.confirm_window {border-radius: 4px;min-height: 150px;min-width: 300px;z-index: 1;background: #FFFFFF;position: absolute;width: 300px;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .message_box .title, .confirm_window .title {display: none !important; } .message_box .message, .confirm_window .message {padding: 34px 34px 24px 34px;font-size: 14px;line-height: 18px;color: #231F20;font-family: Helvetica, Roboto, Arial; }.message_box .btn_ok.component_container {padding-bottom: 24px;position: relative;text-align: center;height: 44px;width: 100%; } .message_box .btn_ok.component_container button {vertical-align: middle;line-height: 44px;height: 44px;padding-left: 20px;padding-right: 20px;min-width: 110px;margin-left: 5px;margin-right: 5px;position: static;-webkit-appearance: none;appearance: none;border: 0;border-radius: 4px;font-size: 16px;background: #339BE0;color: #FFFFFF; } .message_box .btn_ok.component_container button.active {background: #058ACC; }.confirm_window .buttons_panel {text-align: center;position: relative;padding-bottom: 24px;height: 44px;width: 100%; } .confirm_window .buttons_panel > div {width: 50%;float: right;position: relative; } .confirm_window .buttons_panel > div button {vertical-align: middle;line-height: 44px;height: 44px;padding-left: 20px;padding-right: 20px;min-width: 110px;margin-left: 5px;margin-right: 5px;position: static;-webkit-appearance: none;appearance: none;border: 0;border-radius: 4px;font-size: 16px;background: #339BE0;color: #FFFFFF; } .confirm_window .buttons_panel > div.active button {background: #058ACC; } .confirm_window .buttons_panel > div:only-child {width: 100%;text-align: center !important; } .confirm_window .buttons_panel > div:nth-child(1) {text-align: left; } .confirm_window .buttons_panel > div:nth-child(2) {text-align: right; }.back_to_app {height: 100%;position: absolute;left: 0; } .back_to_app__text {color: #3DA0E1;font-size: 16px;font-family: Helvetica Neue, Helvetica, Roboto, Arial;text-overflow: ellipsis;overflow: hidden;position: absolute;bottom: 0;top: 0;height: 24px;line-height: 24px;margin: auto;padding-left: 25px;max-width: 80px; } .back_to_app__text::before {content: '';background: url("+ +c[25]+") no-repeat center;height: 24px;width: 14px;left: 8px;position: absolute; }.trial_banner {position: relative;transform: translateZ(0); } .trial_banner .banner-content, .trial_banner .banner-content_hover {position: absolute;left: 0;right: 0;top: 0;bottom: 0;width: 100%;height: 100%; } .trial_banner .banner-content {visibility: visible;z-index: 1; } .trial_banner .banner-content_hover {visibility: hidden;z-index: 0; } .trial_banner .days_remaining {position: absolute;font-family: 'Open Sans', Arial, sans-serif;font-weight: normal;font-size: 13px;left: 65px;top: 41px;color: #7C1645;z-index: 1; } .trial_banner:hover .banner-content {visibility: hidden;z-index: 0; } .trial_banner:hover .banner-content_hover {visibility: visible;z-index: 1; }.slide-transiting .quiz-uikit-primary-button {transition: none; }.slide-transiting .quiz-uikit-secondary-button {transition: none; }.slide-transiting .quiz-uikit-link-button {transition: none; }.slide-transiting .visuals-uikit-primary-button {transition: none; }.slide-transiting .visuals-uikit-secondary-button {transition: none; }.slide-transiting .visuals-uikit-link-button {transition: none; }@keyframes preloader_spin {0% {transform: rotate(0deg); } 100% {transform: rotate(360deg); } }html,body {background-color: #F7F7F7 !important; }.universal_mini {overflow: hidden;background-color: #F7F7F7; } .universal_mini div {-webkit-tap-highlight-color: rgba(0, 0, 0, 0);-webkit-user-select: none;-ms-user-select: none;user-select: none;-webkit-touch-callout: none;-webkit-user-drag: none; } .universal_mini .launch-screen {z-index: 100;position: fixed;top: 0;right: 0;bottom: 0;left: 0;background-color: rgba(0, 0, 0, 0.48); } .universal_mini .launch-screen .launch-screen-button {top: 0;bottom: 0;margin: auto;right: 0;left: 0;border-radius: 100%;width: 96px;height: 96px;position: absolute; } .universal_mini .launch-screen .launch-screen-button__play-icon {background-color: #FFFFFF;position: absolute;top: 0;bottom: 0;margin: auto;right: 0;left: 0;border-radius: 100%;width: 90px;height: 90px;box-shadow: 0 12px 50px 0 rgba(0, 0, 0, 0.2);transition: 0.3s ease-in-out; } .universal_mini .launch-screen .launch-screen-button__icon {background: url("+ +c[26]+") no-repeat center;position: absolute;top: 0;bottom: 0;margin: auto;right: 0;left: 6px;width: 90px;height: 90px; } .universal_mini .launch-screen .launch-screen-button.launch-screen-button_active .launch-screen-button__play-icon {width: 96px;height: 96px; } .universal_mini .launch-screen .launch-screen-button.launch-screen-button_active .launch-screen-button__icon {background: url("+c[27]+") no-repeat center; } .universal_mini .playerView {-ms-transform: translateX(0);transform: translateX(0); } .universal_mini.not_loaded .top-panel, .universal_mini.not_loaded .bottom-panel, .universal_mini.not_loaded .landscape-bottom-panel {display: none; } .universal_mini.landscape > .bottom-panel {display: none; } .universal_mini.landscape > .top-panel {display: none !important; } .universal_mini.landscape .landscape-bottom-panel {display: block !important; } .universal_mini.landscape.quiz_mode .top-panel, .universal_mini.landscape.quiz_mode .landscape-bottom-panel {display: initial; } .universal_mini.landscape.quiz_mode > .bottom-panel {display: none; } .universal_mini > .top-panel {width: 100%;background: #FFFFFF;position: absolute;box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);height: 46px;top: 0; } .universal_mini > .top-panel::before, .universal_mini > .top-panel::after {top: 100%; } .universal_mini > .top-panel .menu {width: 46px;height: 100%;position: absolute;right: 0;cursor: pointer; } .universal_mini > .top-panel .menu::after {content: '';position: absolute;width: 22px;height: 19px;background-image: url("+ +c[28]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .universal_mini > .top-panel .menu.menu_active::after {background-image: url("+c[28]+"); } .universal_mini > .top-panel .slide-info {width: 100%;position: absolute;color: #2B3B46;text-align: center;font-size: 15px;font-weight: bold;line-height: 46px;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;z-index: 1;pointer-events: none;font-family: Helvetica Neue, Helvetica, Roboto, Arial; } .universal_mini > .bottom-panel {width: 100%;background: #FFFFFF;position: absolute;bottom: 0;box-shadow: 0 -2px 12px 0 rgba(0, 0, 0, 0.1);height: 66px;top: auto; } .universal_mini > .bottom-panel .play {position: absolute; } .universal_mini > .bottom-panel .prev {position: absolute; } .universal_mini > .bottom-panel .next {position: absolute; } .universal_mini > .bottom-panel .rate {position: absolute; } .universal_mini > .bottom-panel .play {width: 54px;height: 100%; } .universal_mini > .bottom-panel .play::after {content: '';position: absolute;width: 24px;height: 28px;background-image: url("+ +c[29]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .universal_mini > .bottom-panel .play.play_active::after {background-image: url("+c[29]+"); } .universal_mini > .bottom-panel .play.play_active[disabled]::after {background-image: url("+c[30]+"); } .universal_mini > .bottom-panel .play[disabled]::after {background-image: url("+c[30]+"); } .universal_mini > .bottom-panel .play.play_is-playing::after {background-image: url("+ +c[31]+");width: 34px;height: 34px;left: -3px; } .universal_mini > .bottom-panel .rate {width: 54px;height: 100%; } .universal_mini > .bottom-panel .rate::after {content: '';position: absolute;width: 30px;height: 30px;background-image: url("+c[32]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .universal_mini > .bottom-panel .rate.rate_active::after {background-image: url("+c[32]+"); } .universal_mini > .bottom-panel .rate.rate_active[disabled]::after {background-image: url("+ +c[32]+"); } .universal_mini > .bottom-panel .rate[disabled]::after {background-image: url("+c[32]+"); } .universal_mini > .bottom-panel .prev {width: 54px;height: 100%; } .universal_mini > .bottom-panel .prev::after {content: '';position: absolute;width: 30px;height: 30px;background-image: url("+c[33]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .universal_mini > .bottom-panel .prev.prev_active::after {background-image: url("+ +c[33]+"); } .universal_mini > .bottom-panel .prev.prev_active[disabled]::after {background-image: url("+c[34]+"); } .universal_mini > .bottom-panel .prev[disabled]::after {background-image: url("+c[34]+"); } .universal_mini > .bottom-panel .next {width: 54px;height: 100%; } .universal_mini > .bottom-panel .next::after {content: '';position: absolute;width: 30px;height: 30px;background-image: url("+c[35]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .universal_mini > .bottom-panel .next.next_active::after {background-image: url("+ +c[35]+"); } .universal_mini > .bottom-panel .next.next_active[disabled]::after {background-image: url("+c[36]+"); } .universal_mini > .bottom-panel .next[disabled]::after {background-image: url("+c[36]+"); } .universal_mini > .bottom-panel .play.play_first {left: 15px; } .universal_mini > .bottom-panel .play.play_is-playing {left: 14px; } .universal_mini > .bottom-panel .rate.rate_first {left: 17px; } .universal_mini > .bottom-panel .rate.rate_second {left: 79px; } .universal_mini > .bottom-panel .prev {right: 72px; } .universal_mini > .bottom-panel .prev.prev_next-button-hidden {right: 12px; } .universal_mini > .bottom-panel .next {right: 12px; } .universal_mini > .progress {position: absolute;top: auto;left: 0;height: 3px;background: linear-gradient(90deg, #3FA9F5 var(--play-progress), transparent var(--play-progress)); } .universal_mini > .top-panel > button {background: transparent; } .universal_mini > .landscape-bottom-panel > button {background: transparent; } .universal_mini > .bottom-panel > button {background: transparent; } .universal_mini > .landscape-bottom-panel {width: 100%;background: #FFFFFF;position: absolute;bottom: 0;display: none;right: 0;top: 0;width: 56px;box-shadow: -2px 0 12px 0 rgba(0, 0, 0, 0.1); } .universal_mini > .landscape-bottom-panel .play {position: absolute; } .universal_mini > .landscape-bottom-panel .prev {position: absolute; } .universal_mini > .landscape-bottom-panel .next {position: absolute; } .universal_mini > .landscape-bottom-panel .rate {position: absolute; } .universal_mini > .landscape-bottom-panel .play {width: 100%;height: 30px; } .universal_mini > .landscape-bottom-panel .play::after {content: '';position: absolute;width: 24px;height: 28px;background-image: url("+ +c[29]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .universal_mini > .landscape-bottom-panel .play.play_active::after {background-image: url("+c[29]+"); } .universal_mini > .landscape-bottom-panel .play.play_active[disabled]::after {background-image: url("+c[30]+"); } .universal_mini > .landscape-bottom-panel .play[disabled]::after {background-image: url("+c[30]+"); } .universal_mini > .landscape-bottom-panel .play.play_is-playing::after {background-image: url("+ +c[31]+");width: 34px;height: 34px;left: -3px; } .universal_mini > .landscape-bottom-panel .rate {width: 100%;height: 30px; } .universal_mini > .landscape-bottom-panel .rate::after {content: '';position: absolute;width: 30px;height: 30px;background-image: url("+c[32]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .universal_mini > .landscape-bottom-panel .rate.rate_active::after {background-image: url("+c[32]+"); } .universal_mini > .landscape-bottom-panel .rate.rate_active[disabled]::after {background-image: url("+ +c[32]+"); } .universal_mini > .landscape-bottom-panel .rate[disabled]::after {background-image: url("+c[32]+"); } .universal_mini > .landscape-bottom-panel .prev {width: 100%;height: 30px; } .universal_mini > .landscape-bottom-panel .prev::after {content: '';position: absolute;width: 30px;height: 30px;background-image: url("+c[33]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .universal_mini > .landscape-bottom-panel .prev.prev_active::after {background-image: url("+ +c[33]+"); } .universal_mini > .landscape-bottom-panel .prev.prev_active[disabled]::after {background-image: url("+c[34]+"); } .universal_mini > .landscape-bottom-panel .prev[disabled]::after {background-image: url("+c[34]+"); } .universal_mini > .landscape-bottom-panel .next {width: 100%;height: 30px; } .universal_mini > .landscape-bottom-panel .next::after {content: '';position: absolute;width: 30px;height: 30px;background-image: url("+c[35]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .universal_mini > .landscape-bottom-panel .next.next_active::after {background-image: url("+ +c[35]+"); } .universal_mini > .landscape-bottom-panel .next.next_active[disabled]::after {background-image: url("+c[36]+"); } .universal_mini > .landscape-bottom-panel .next[disabled]::after {background-image: url("+c[36]+"); } .universal_mini > .landscape-bottom-panel .menu {width: 100%;height: 46px;position: absolute; } .universal_mini > .landscape-bottom-panel .menu.menu_first {top: 12px; } .universal_mini > .landscape-bottom-panel .menu::after {content: '';position: absolute;width: 22px;height: 19px;background-image: url("+ +c[28]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .universal_mini > .landscape-bottom-panel .menu.menu_active::after {background-image: url("+c[28]+"); } .universal_mini > .landscape-bottom-panel .play.play_first {top: 12px; } .universal_mini > .landscape-bottom-panel .play.play_second {top: 70px; } .universal_mini > .landscape-bottom-panel .rate.rate_first {top: 12px; } .universal_mini > .landscape-bottom-panel .rate.rate_second {top: 69px; } .universal_mini > .landscape-bottom-panel .rate.rate_third {top: 117px; } .universal_mini > .landscape-bottom-panel .prev {bottom: 78px; } .universal_mini > .landscape-bottom-panel .next {bottom: 18px; } .universal_mini.quiz_mode {overflow: visible;height: auto !important; } .universal_mini.quiz_mode #playerView, .universal_mini.quiz_mode .video-container {display: none; } .universal_mini.quiz_mode.interaction_slide .bottom-panel {box-shadow: 0 -2px 12px 0 rgba(0, 0, 0, 0.1);position: fixed;bottom: 0 !important; } .universal_mini.quiz_mode.interaction_slide .bottom-panel .play, .universal_mini.quiz_mode.interaction_slide .bottom-panel .progress {display: none; } .universal_mini.quiz_mode .top-panel {position: fixed;top: -1px;height: 46px; } .universal_mini.quiz_mode .top-panel .slide-info {top: 1px; } .universal_mini.quiz_mode .top-panel .menu.component_container {top: 1px;height: 46px; } .universal_mini, .universal_mini > div {position: absolute;top: 0; } .universal_mini .launch_layer {width: 100%;height: 100%;background: url("+ +c[26]+") no-repeat center;background-color: rgba(0, 0, 0, 0.75); } .universal_mini .launch_layer:active {background-image: url("+c[27]+"); } .universal_mini .launch_layer[disabled], .universal_mini .launch_layer:active[disabled] {background-image: none; } .universal_mini .video-container video {position: absolute; } .universal_mini .change-layout-button {width: 44px;height: 44px;border-radius: 100%;background: #333333;position: absolute;left: 10px;bottom: 10px;border: 1px solid rgba(255, 255, 255, 0.3);box-sizing: border-box; } .universal_mini .change-layout-button::after {content: '';position: absolute;width: 20px;height: 20px;background: url("+ +c[37]+");background-size: cover;margin: auto;top: 0;left: 0;bottom: 0;right: 0; } .universal_mini .preloader {width: 50px;height: 50px;position: absolute;top: 0;left: 0;bottom: 0;right: 0;margin: auto;border-radius: 10px;background-color: rgba(0, 0, 0, 0.5); } .universal_mini .preloader::after {content: '';position: absolute;background: url("+c[38]+");background-size: cover;top: 0;left: 0;bottom: 0;right: 0;animation: preloader_spin 1s infinite linear; } .universal_mini .menu_layer {position: absolute;background: #FFFFFF;z-index: 10; } .universal_mini .menu_layer .menu-layer-top-panel {position: absolute;height: 46px;background: #FFFFFF;display: block;z-index: 1;box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); } .universal_mini .menu_layer .menu-layer-top-panel .tab-title {position: absolute;color: #2B3B46;top: 1px;text-align: center;font-size: 15px;font-weight: bold;line-height: 46px;left: 44px;right: 44px;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;z-index: 1;pointer-events: none;font-family: Helvetica Neue, Helvetica, Roboto, Arial; } .universal_mini .menu_layer .menu-layer-top-panel .search, .universal_mini .menu_layer .menu-layer-top-panel .close, .universal_mini .menu_layer .menu-layer-top-panel .back {position: absolute;height: 46px;top: 0;border: 0;background: transparent;cursor: pointer; } .universal_mini .menu_layer .menu-layer-top-panel .search {width: 58px;height: 46px; } .universal_mini .menu_layer .menu-layer-top-panel .search::after {content: '';position: absolute;width: 18px;height: 18px;background-image: url("+ +c[39]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .universal_mini .menu_layer .menu-layer-top-panel .search.search_active::after {background-image: url("+c[39]+"); } .universal_mini .menu_layer .menu-layer-top-panel .close {width: 46px;height: 46px;right: 0; } .universal_mini .menu_layer .menu-layer-top-panel .close::after {content: '';position: absolute;width: 20px;height: 20px;background-image: url("+c[40]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .universal_mini .menu_layer .menu-layer-top-panel .close.close_active::after {background-image: url("+ +c[40]+"); } .universal_mini .menu_layer .menu-layer-top-panel .search.component_container {left: 0; } .universal_mini .menu_layer .menu-layer-top-panel .back {width: 46px;height: 46px;left: 0; } .universal_mini .menu_layer .menu-layer-top-panel .back::after {content: '';position: absolute;width: 14px;height: 20px;background-image: url("+c[41]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .universal_mini .menu_layer .menu-layer-top-panel .back.back_active::after {background-image: url("+ +c[41]+"); } .universal_mini .menu_layer .menu-layer-top-panel.with_search .back {right: 44px; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel {position: absolute;background: #FFFFFF;top: 0;right: 0;bottom: 0;left: 0;z-index: 1; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel .search_container {background: rgba(142, 142, 147, 0.12);border-radius: 8px;position: absolute;top: 0;bottom: 0;left: 16px;height: 34px;margin: auto; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel .search_container::before {content: '';position: absolute;width: 14px;height: 14px;background: url("+ +c[42]+");background-size: cover;left: 10px;top: 11px; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel .search_container.empty .clear {display: none; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel .search_container .clear {position: absolute;width: 38px;height: 100%;right: 0;background-image: url("+c[43]+");background-position: center;background-repeat: no-repeat; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel .search_container .search_input {position: absolute;top: 0;right: 30px;bottom: 0;border: 0;font-family: Helvetica Neue, Helvetica, Roboto, Arial;font-size: 15px;padding: 0;background: transparent;margin: 0;left: 33px;color: #2B3B46;width: calc(100% - 63px); } .universal_mini .menu_layer .menu-layer-top-panel .search_panel .search_container .search_input:-ms-input-placeholder {font-family: Helvetica Neue, Helvetica, Roboto, Arial;font-size: 15px; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel .search_container .search_input::placeholder {font-family: Helvetica Neue, Helvetica, Roboto, Arial;font-size: 15px; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel .search_container .search_input:-ms-input-placeholder {color: #8E8E93; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel .search_container .search_input::placeholder {color: #8E8E93; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel .cancel.component_container {position: absolute;top: 0;right: 0; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel .cancel.component_container button {background: transparent;border: 0;position: relative;line-height: 46px;padding: 0 18px;color: #3DA0E1;font-family: Helvetica Neue, Helvetica, Roboto, Arial;font-size: 15px; } .universal_mini .menu_layer.tab_control .content.component_container {bottom: 66px; } .universal_mini .menu_layer.tab_control .bottom-panel {position: absolute;bottom: 0;height: 66px;background: #FFFFFF;box-shadow: 0 -2px 12px 0 rgba(0, 0, 0, 0.1);display: block; } .universal_mini .menu_layer.tab_control .bottom-panel > div {cursor: pointer;height: 100%;position: relative;float: left; } .universal_mini .menu_layer.tab_control .bottom-panel > div button {position: absolute;width: 100%;height: 100%;background: transparent;border: 0;color: #84919D;font-family: Helvetica Neue, Helvetica, Roboto, Arial;font-size: 12px;font-weight: 500;line-height: 13px;padding-top: 35px;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;opacity: 1; } .universal_mini .menu_layer.tab_control .bottom-panel > div button::after {content: '';position: absolute;width: 27px;height: 27px;top: 10px;left: 0;right: 0;margin: auto;background-size: contain;background-repeat: no-repeat;background-position: center; } .universal_mini .menu_layer.tab_control .bottom-panel > div button.selected {color: #2B3B46;opacity: 1; } .universal_mini .menu_layer.tab_control .bottom-panel > div.outline button::after {background-image: url("+ +c[44]+"); } .universal_mini .menu_layer.tab_control .bottom-panel > div.outline button.selected::after {background-image: url("+c[45]+"); } .universal_mini .menu_layer.tab_control .bottom-panel > div.resources button::after {background-image: url("+c[46]+"); } .universal_mini .menu_layer.tab_control .bottom-panel > div.resources button.selected::after {background-image: url("+c[47]+"); } .universal_mini .menu_layer.tab_control .bottom-panel > div.presenter button::after {background-image: url("+ +c[48]+"); } .universal_mini .menu_layer.tab_control .bottom-panel > div.presenter button.selected::after {background-image: url("+c[49]+"); } .universal_mini .menu_layer.tab_control .bottom-panel > div.notes button::after {background-image: url("+c[50]+"); } .universal_mini .menu_layer.tab_control .bottom-panel > div.notes button.selected::after {background-image: url("+c[51]+"); } .universal_mini .menu_layer .content.component_container {position: absolute;top: 46px;bottom: 0;width: 100%;background: initial; } .universal_mini .menu_layer .content.component_container.animation .content.component_base > div {position: absolute; } .universal_mini .menu_layer .content.component_container .content.component_base {width: 100%;position: relative; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .separator, .universal_mini .menu_layer .content.component_container .content.component_base .resources .separator {background: #E5E5E5;position: relative;width: calc(100% - 20px);height: 1px;left: 10px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .separator:first-child, .universal_mini .menu_layer .content.component_container .content.component_base .resources .separator:first-child {position: absolute;top: -1px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .separator:last-child, .universal_mini .menu_layer .content.component_container .content.component_base .resources .separator:last-child {position: absolute;bottom: -1px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list {position: relative; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item {position: relative;min-height: 54px;font-family: Helvetica Neue, Helvetica, Roboto, Arial;font-size: 15px;color: rgba(43, 59, 70, 0.8);margin-bottom: 1px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level1 {padding-left: 24px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level1::after {left: 34px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level2 {padding-left: 48px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level2::after {left: 58px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level3 {padding-left: 72px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level3::after {left: 82px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level4 {padding-left: 96px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level4::after {left: 106px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item::after {content: '';position: absolute;left: 10px;right: 10px;bottom: -1px;height: 1px;background: #E5E5E5; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item .image {float: left;margin: 5px 8px 6px 12px;border: solid 2px rgba(0, 0, 0, 0.12);box-sizing: content-box; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item .text {position: relative;margin: 0;padding-right: 10px;padding-bottom: 1px;line-height: 21px;word-break: break-word;max-height: 63px;overflow: hidden; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.text_only .text {padding-left: 13px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.visited {color: rgba(43, 59, 70, 0.8); } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.active, .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.selected {background: rgba(61, 160, 225, 0.1);color: rgba(43, 59, 70, 0.8); } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.parent::before {content: '';position: absolute;top: 0;bottom: 0;right: 19px;width: 8px;height: 12px;margin: auto;background: url("+ +c[52]+");background-size: contain;background-repeat: no-repeat; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.parent .text {padding-right: 25px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .separator::after {right: 10px;left: 10px; } .universal_mini .menu_layer .content.component_container .content.component_base .resources .item {width: 100%;height: 56px;position: relative;display: block; } .universal_mini .menu_layer .content.component_container .content.component_base .resources .item.active {background: rgba(61, 160, 225, 0.1);z-index: 1; } .universal_mini .menu_layer .content.component_container .content.component_base .resources .item .attachment-icon, .universal_mini .menu_layer .content.component_container .content.component_base .resources .item .url-icon {position: absolute;left: 28px;top: 0;bottom: 0;margin: auto; } .universal_mini .menu_layer .content.component_container .content.component_base .resources .item .attachment-icon, .universal_mini .menu_layer .content.component_container .content.component_base .resources .item .url-icon {width: 20px;height: 20px; } .universal_mini .menu_layer .content.component_container .content.component_base .resources .item .attachment-icon {background: url("+ +c[53]+"); } .universal_mini .menu_layer .content.component_container .content.component_base .resources .item .url-icon {background: url("+c[54]+"); } .universal_mini .menu_layer .content.component_container .content.component_base .resources .item .text {position: absolute;height: 56px;left: 61px;right: 20px;font-size: 15px;color: #3DA0E1;font-family: Helvetica Neue, Helvetica, Roboto, Arial;line-height: 56px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .universal_mini .menu_layer .content.component_container .content.component_base .resources .separator::after {right: 20px;left: 20px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .top-container {background-color: #FAFAFA;border-bottom: 1px solid #E5E5E5;padding-bottom: 30px;padding-top: 40px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .top-container .name, .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .top-container .job {word-wrap: break-word;padding-left: 24px;padding-right: 24px;position: relative;font-family: Helvetica Neue, Helvetica, Roboto, Arial;text-align: center; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .top-container .name {color: #2B3B46;font-size: 25px;font-weight: bold;padding-bottom: 12px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .top-container .job {color: #84919D;font-size: 15px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .bottom-container {padding-top: 18px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .bottom-container .bottom-container-text {position: absolute;height: 47px;left: 61px;right: 16px;font-size: 15px;color: #3DA0E1;font-family: Helvetica Neue, Helvetica, Roboto, Arial;line-height: 47px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .photo_container {position: relative;margin-left: auto;margin-right: auto;margin-bottom: 10px;border-radius: 100%; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .photo_container canvas, .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .photo_container svg {position: absolute;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .name_photo_container {width: 75px;height: 75px;background: #9EAEB9;border-radius: 100%;left: 0;right: 0;margin: auto;margin-bottom: 10px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .name_photo_container .letter {font-size: 24px;line-height: 75px;text-align: center;color: #FFFFFF;font-family: Helvetica Neue, Helvetica, Roboto, Arial; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .no_presenter_container {margin-bottom: 10px;display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .no_presenter_photo {width: 106px;height: 134px;background: url("+ +c[55]+"); } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .no_presenter_label {position: relative;font-family: Helvetica Neue, Helvetica, Roboto, Arial;font-size: 15px;color: #2B3B46;padding: 0 40px;text-align: center; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item {width: 100%;height: 47px;position: relative; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item.active {background: rgba(61, 160, 225, 0.1);margin-top: -1px;margin-bottom: -1px;height: 49px;z-index: 1; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item.active .text {top: 1px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item.active svg {top: 1px;bottom: 1px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item .phone-icon, .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item .email-icon, .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item .url-icon {position: absolute;left: 30px;top: 0;bottom: 0;margin: auto; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item .phone-icon, .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item .email-icon, .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item .url-icon {width: 20px;height: 20px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item .phone-icon {background: url("+ +c[56]+"); } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item .email-icon {background: url("+c[57]+"); } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item .url-icon {background: url("+c[54]+"); } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .bio-item {height: initial;width: 100%;position: relative; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .bio-item .person-info {position: absolute;left: 30px;top: 20px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .bio-item .person-info {width: 20px;height: 20px;background: url("+ +c[58]+"); } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .bio-item .bio {position: relative;padding-right: 24px;padding-left: 61px;font-size: 15px;color: #2B3B46;font-family: Helvetica Neue, Helvetica, Roboto, Arial;overflow: hidden;text-overflow: ellipsis;white-space: pre-wrap;line-height: 26px;padding-top: 17px;padding-bottom: 24px; } .universal_mini .menu_layer .content.component_container .content.component_base .empty_results {color: #84919D;font-family: Helvetica Neue, Helvetica, Roboto, Arial;font-size: 15px;text-align: center;position: absolute;top: 30px;width: 100%; } .universal_mini .menu_layer .content.component_container .content.component_base .notes {padding: 18px 20px;font-family: Helvetica Neue, Helvetica, Roboto, Arial;font-size: 15px;color: initial;width: auto !important;white-space: pre-wrap;word-wrap: break-word; }body {margin: 0;padding: 0;cursor: default;-ms-touch-action: pan-y;touch-action: pan-y;overflow-y: auto; } body .info_panel {position: relative;top: 0;background: #FFFFFF;font-family: Helvetica, Roboto, Arial;padding-top: 161px;padding-bottom: 50px; } body .info_panel, body .info_panel * {box-sizing: border-box; } body .info_panel.domain::before {background: transparent url("+ +c[0]+") no-repeat center; } body .info_panel.time::before {background: transparent url("+c[1]+") no-repeat center; } body .info_panel.password::before {background: transparent url("+c[2]+") no-repeat center; } body .info_panel::before {position: absolute;width: 100%;top: 55px;height: 63px;content: ''; } body .info_panel .message {position: relative;color: #414A5B;font-size: 16px;padding-left: 15px;padding-right: 15px;text-align: center; } body .password .password_field {position: relative;margin-left: 20px;margin-right: 20px;padding-top: 23px;padding-bottom: 26px; } body .password .password_field input {position: relative;width: 100%;height: 34px;border: 1px solid #D6D6D6;border-top: 1px solid #BABABA;padding-left: 8px;font-size: 20px; } body .password .wrong_password_label {position: absolute;font-size: 12px;color: #DD4A37;left: 22px;right: 22px;margin-top: -21px; } body .ok.component_container {position: fixed;bottom: 0;height: 50px;background: #434E50; } body .ok.component_container.active {background: #637375; } body .ok.component_container button {top: 0;bottom: 0;left: 0;width: 100%;position: absolute;background: transparent;border: 0;line-height: 50px;color: #E2E2E2;font-size: 16px; } body .ok.component_container button[disabled] {color: #647577; }.launch-screen {z-index: 999 !important; }.component_base,.component_container {position: absolute; }:focus {outline: none; }::-moz-focus-inner {border: 0; }input {-webkit-appearance: none;appearance: none; }button {cursor: pointer;margin: 0;border: 0; }button[disabled] {cursor: default; }.__player_view_id__ > * {position: absolute; }.__player_view_id__ .slide {white-space: nowrap;font-size: 0; } .__player_view_id__ .slide a {text-decoration: none;cursor: pointer; } .__player_view_id__ .slide a img {border: 0; } .__player_view_id__ .slide * {-ms-transform-origin: 0 0;transform-origin: 0 0; } .__player_view_id__ .slide.relpos, .__player_view_id__ .slide .relpos {position: relative !important;vertical-align: top; } .__player_view_id__ .slide.kern, .__player_view_id__ .slide .kern {text-rendering: optimizeLegibility;font-feature-settings: 'kern' 1, 'liga' 0; } .__player_view_id__ .slide.nokern, .__player_view_id__ .slide .nokern {text-rendering: optimizeSpeed;font-feature-settings: 'kern' 0, 'liga' 0; }.__player_view_id__ .fullscreen {-ms-transform: none !important;transform: none !important;top: 0 !important;left: 0 !important; } .__player_view_id__ .fullscreen > video {background-color: black;width: __slide_width__ !important;height: __slide_height__ !important;z-index: 100; }.__player_view_id__ .video_player video {width: 100%;height: 100%; } .__player_view_id__ .video_player video::cue {color: #FFFFFF;background-color: rgba(8, 8, 8, 0.75);border-radius: 4px;font-family: Helvetica, Roboto, Arial;line-height: 1.1; }.__player_view_id__ .video_player.iphone::after {background: rgba(0, 0, 0, 0) url("+ +c[3]+") no-repeat center;position: absolute;width: 100%;height: 100%;top: 0;right: 0;content: ''; }.__player_view_id__ .video_player.iphone video {opacity: 0; }.__player_view_id__ .video_player.iphone.without_controls video {display: none; }.__player_view_id__ .video_player .controls {height: 36px;background: rgba(45, 50, 55, 0.85098);border: 1px solid #444648;cursor: default;border-radius: 4px; } .__player_view_id__ .video_player .controls .progress {background-color: #75787A;height: 14px;left: 62px;top: 0;bottom: 0;margin-top: auto;margin-bottom: auto;cursor: pointer; } .__player_view_id__ .video_player .controls .progress .bookmark {width: 10px;height: 10px;margin-top: -5px;margin-left: -5px;top: 50%;background: url("+ +c[4]+") no-repeat;cursor: pointer; } .__player_view_id__ .video_player .controls .progress .bookmark:hover, .__player_view_id__ .video_player .controls .progress .bookmark:active {background: url("+c[5]+") no-repeat; } .__player_view_id__ .video_player .controls .progress .loading {background-color: #B1B3B5;height: 100%; } .__player_view_id__ .video_player .controls .progress .playing {background-color: #FFFFFF;height: 100%; } .__player_view_id__ .video_player .controls .progress .tooltip {background: url("+ +c[6]+") no-repeat;width: 60px;height: 25px;top: -33px;margin-left: -30px;font-family: Helvetica, Roboto, Arial;font-size: 12px;padding-top: 2px;text-align: center; } .__player_view_id__ .video_player .controls .volume_popup {border-radius: 3px;background: rgba(45, 50, 55, 0.85098);top: -67px;right: 55px;padding: 8px; } .__player_view_id__ .video_player .controls .volume_popup .volume {background: url("+c[7]+");position: relative;cursor: pointer;width: 12px;height: 48px; } .__player_view_id__ .video_player .controls .volume_popup .volume .back {background: url("+ +c[8]+");width: 100%; } .__player_view_id__ .video_player .controls button {width: 100%;height: 100%; } .__player_view_id__ .video_player .controls button.mute {background: url("+c[9]+"); } .__player_view_id__ .video_player .controls button.mute:hover {background: url("+c[10]+"); } .__player_view_id__ .video_player .controls button.mute:active {background: url("+c[11]+"); } .__player_view_id__ .video_player .controls button.mute.selected {background: url("+c[12]+"); } .__player_view_id__ .video_player .controls button.mute.selected:hover {background: url("+ +c[13]+"); } .__player_view_id__ .video_player .controls button.mute.selected:active {background: url("+c[14]+"); } .__player_view_id__ .video_player .controls button.play {background: url("+c[15]+") no-repeat; } .__player_view_id__ .video_player .controls button.play:hover {background: url("+c[16]+") no-repeat; } .__player_view_id__ .video_player .controls button.play:active {background: url("+c[17]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected {background: url("+ +c[18]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected:hover {background: url("+c[19]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected:active {background: url("+c[20]+") no-repeat; } .__player_view_id__ .video_player .controls button.play::after {background: url("+c[21]+");width: 1px;height: 32px;right: 0;top: 1px;position: absolute;content: ''; } .__player_view_id__ .video_player .controls button.toggle_fullscreen {background: url("+ +c[22]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen:hover {background: url("+c[23]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen:active {background: url("+c[24]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen::before {background: url("+c[21]+") no-repeat;width: 1px;height: 32px;left: 0;top: 1px;position: absolute;content: ''; } .__player_view_id__ .video_player .controls .component_container.toggle_fullscreen, .__player_view_id__ .video_player .controls .component_container.play {width: 52px;height: 34px; } .__player_view_id__ .video_player .controls .component_container.toggle_fullscreen {right: -1px; } .__player_view_id__ .video_player .controls .component_container.mute {width: 22px;height: 22px;right: 58px;top: 6px; }.modal_layer {background: #000000;opacity: 0.7;z-index: 1;width: 100%;height: 100%; }.message_box,.confirm_window {border-radius: 4px;min-height: 150px;min-width: 300px;z-index: 1;background: #FFFFFF;position: absolute;width: 300px;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .message_box .title, .confirm_window .title {display: none !important; } .message_box .message, .confirm_window .message {padding: 34px 34px 24px 34px;font-size: 14px;line-height: 18px;color: #231F20;font-family: Helvetica, Roboto, Arial; }.message_box .btn_ok.component_container {padding-bottom: 24px;position: relative;text-align: center;height: 44px;width: 100%; } .message_box .btn_ok.component_container button {vertical-align: middle;line-height: 44px;height: 44px;padding-left: 20px;padding-right: 20px;min-width: 110px;margin-left: 5px;margin-right: 5px;position: static;-webkit-appearance: none;appearance: none;border: 0;border-radius: 4px;font-size: 16px;background: #339BE0;color: #FFFFFF; } .message_box .btn_ok.component_container button.active {background: #058ACC; }.confirm_window .buttons_panel {text-align: center;position: relative;padding-bottom: 24px;height: 44px;width: 100%; } .confirm_window .buttons_panel > div {width: 50%;float: right;position: relative; } .confirm_window .buttons_panel > div button {vertical-align: middle;line-height: 44px;height: 44px;padding-left: 20px;padding-right: 20px;min-width: 110px;margin-left: 5px;margin-right: 5px;position: static;-webkit-appearance: none;appearance: none;border: 0;border-radius: 4px;font-size: 16px;background: #339BE0;color: #FFFFFF; } .confirm_window .buttons_panel > div.active button {background: #058ACC; } .confirm_window .buttons_panel > div:only-child {width: 100%;text-align: center !important; } .confirm_window .buttons_panel > div:nth-child(1) {text-align: left; } .confirm_window .buttons_panel > div:nth-child(2) {text-align: right; }.back_to_app {height: 100%;position: absolute;left: 0; } .back_to_app__text {color: #3DA0E1;font-size: 16px;font-family: Helvetica Neue, Helvetica, Roboto, Arial;text-overflow: ellipsis;overflow: hidden;position: absolute;bottom: 0;top: 0;height: 24px;line-height: 24px;margin: auto;padding-left: 25px;max-width: 80px; } .back_to_app__text::before {content: '';background: url("+ +c[25]+") no-repeat center;height: 24px;width: 14px;left: 8px;position: absolute; }.trial_banner {position: relative;transform: translateZ(0); } .trial_banner .banner-content, .trial_banner .banner-content_hover {position: absolute;left: 0;right: 0;top: 0;bottom: 0;width: 100%;height: 100%; } .trial_banner .banner-content {visibility: visible;z-index: 1; } .trial_banner .banner-content_hover {visibility: hidden;z-index: 0; } .trial_banner .days_remaining {position: absolute;font-family: 'Open Sans', Arial, sans-serif;font-weight: normal;font-size: 13px;left: 65px;top: 41px;color: #7C1645;z-index: 1; } .trial_banner:hover .banner-content {visibility: hidden;z-index: 0; } .trial_banner:hover .banner-content_hover {visibility: visible;z-index: 1; }.popup_layer {z-index: 1; } .popup_layer .modal_layer {z-index: initial; }.framesLayer iframe {pointer-events: all; }.uikit-primary-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: 4px;position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-primary-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .uikit-primary-button.uikit-primary-button_size_medium {padding: 10px; } .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text {font-size: 17px;line-height: 20px; } .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text:first-child {margin-left: 10px; } .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text:last-child {margin-right: 10px; } .uikit-primary-button.uikit-primary-button_size_small {padding: 6px 12px; } .uikit-primary-button.uikit-primary-button_size_small .uikit-primary-button__button-text {font-size: 14px;line-height: 20px; } .uikit-primary-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-primary-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-primary-button__button-text {margin-right: 8px; } .uikit-primary-button__left-icon {margin-right: 8px; } .uikit-primary-button__button-text:first-child {margin-left: 0; } .uikit-primary-button__button-text:last-child {margin-right: 0; } .uikit-primary-button__left-icon:first-child {margin-left: 0; } .uikit-primary-button__left-icon:last-child {margin-right: 0; } .uikit-primary-button__right-icon:first-child {margin-left: 0; } .uikit-primary-button__right-icon:last-child {margin-right: 0; } .uikit-primary-button[disabled] {opacity: 0.4; } .uikit-primary-button.uikit-primary-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .uikit-primary-button.uikit-primary-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-secondary-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: 4px;position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-secondary-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .uikit-secondary-button.uikit-secondary-button_size_medium {padding: 10px; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text {font-size: 17px;line-height: 20px; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text:first-child {margin-left: 10px; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text:last-child {margin-right: 10px; } .uikit-secondary-button.uikit-secondary-button_size_small {padding: 6px 12px; } .uikit-secondary-button.uikit-secondary-button_size_small .uikit-secondary-button__button-text {font-size: 14px;line-height: 20px; } .uikit-secondary-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-secondary-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-secondary-button__button-text {margin-right: 8px; } .uikit-secondary-button__left-icon {margin-right: 8px; } .uikit-secondary-button__button-text:first-child {margin-left: 0; } .uikit-secondary-button__button-text:last-child {margin-right: 0; } .uikit-secondary-button__left-icon:first-child {margin-left: 0; } .uikit-secondary-button__left-icon:last-child {margin-right: 0; } .uikit-secondary-button__right-icon:first-child {margin-left: 0; } .uikit-secondary-button__right-icon:last-child {margin-right: 0; } .uikit-secondary-button[disabled] {opacity: 0.4; } .uikit-secondary-button.uikit-secondary-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .uikit-secondary-button.uikit-secondary-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-link-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: 4px;position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-link-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .uikit-link-button.uikit-link-button_size_medium {padding: 10px; } .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text {font-size: 17px;line-height: 20px; } .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text:first-child {margin-left: 10px; } .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text:last-child {margin-right: 10px; } .uikit-link-button.uikit-link-button_size_small {padding: 6px 12px; } .uikit-link-button.uikit-link-button_size_small .uikit-link-button__button-text {font-size: 14px;line-height: 20px; } .uikit-link-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-link-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-link-button__button-text {margin-right: 8px; } .uikit-link-button__left-icon {margin-right: 8px; } .uikit-link-button__button-text:first-child {margin-left: 0; } .uikit-link-button__button-text:last-child {margin-right: 0; } .uikit-link-button__left-icon:first-child {margin-left: 0; } .uikit-link-button__left-icon:last-child {margin-right: 0; } .uikit-link-button__right-icon:first-child {margin-left: 0; } .uikit-link-button__right-icon:last-child {margin-right: 0; } .uikit-link-button[disabled] {opacity: 0.4; } .uikit-link-button.uikit-link-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .uikit-link-button.uikit-link-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-primary-button {background: #339BE0;color: #FFFFFF; } .uikit-primary-button::after {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;border-radius: inherit;border: 1px solid transparent;background: #339BE0;background-origin: border-box;transition: inherit;-webkit-mask: linear-gradient(#FFFFFF 0, #FFFFFF 0) border-box, linear-gradient(#FFFFFF 0, #FFFFFF 0) padding-box;mask: linear-gradient(#FFFFFF 0 0) border-box, linear-gradient(#FFFFFF 0 0) padding-box;-webkit-mask-composite: xor;mask-composite: exclude;pointer-events: none; } .uikit-primary-button__button-text {font-family: Helvetica Neue, Helvetica, Roboto, Arial;font-weight: 700; } .uikit-primary-button.uikit-primary-button_active, .uikit-primary-button[aria-pressed='true'], .uikit-primary-button:focus {background: #058ACC;color: #FFFFFF; } .uikit-primary-button.uikit-primary-button_active::after, .uikit-primary-button[aria-pressed='true']::after, .uikit-primary-button:focus::after {background: #058ACC;background-origin: border-box; }.message-box {background: #F7F7F7;position: absolute;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;border-radius: 7px;min-width: 280px;padding: 40px;box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08); } .message-box::after {content: '';box-sizing: border-box;border: 1px solid rgba(43, 59, 70, 0.08);width: 100%;height: 100%;position: absolute;left: 0;top: 0;border-radius: 7px;pointer-events: none; } .message-box__content {position: relative;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-direction: column;flex-direction: column; } .message-box__icon {width: 24px;height: 24px;margin-bottom: 24px;position: relative;display: inline-block;color: #2B3B46;opacity: 0.72; } .message-box .message-box-buttons {position: relative;width: 100%;height: 36px; } .message-box .message-box-buttons__buttons {display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center; } .message-box .message-box-buttons__window-button {margin: 0 4px; } .message-box .vertical-scrollbar {top: 40px; } .message-box__message-container {overflow: hidden;display: inline-block;max-width: 480px;vertical-align: top;position: relative; } .message-box__message {text-align: center;font-size: 15px;color: #2B3B46;text-overflow: ellipsis;overflow: hidden;position: relative;font-family: Helvetica Neue, Helvetica, Roboto, Arial; } .message-box__buttons {margin-top: 28px; }.rate-menu-item {position: relative;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;height: 40px;border-radius: 4px;background-repeat: no-repeat;padding-left: 37px; } .rate-menu-item.rate-menu-item_active {color: #58646D;background-color: #EBF5FC; } .rate-menu-item.rate-menu-item_caption {margin-bottom: 9px;background-image: url("+ +c[59]+");background-position: 14px; } .rate-menu-item.rate-menu-item_caption[disabled] {padding-left: 0;background-image: none; } .rate-menu-item.rate-menu-item_caption[disabled] .rate-menu-item__label {text-align: center; } .rate-menu-item.rate-menu-item_caption::after {position: absolute;content: '';width: 100%;left: 0;right: 0;bottom: -5px;margin: auto;border-bottom: 1px solid rgba(0, 0, 0, 0.12); } .rate-menu-item.rate-menu-item_caption.rate-menu-item_active {background-image: url("+ +c[60]+"); } .rate-menu-item__label {-ms-flex-positive: 1;flex-grow: 1; } .rate-menu-item_selected, .rate-menu-item_selected.rate-menu-item_active {background-color: #EBF5FC;background-image: url("+c[61]+");background-position: 14px 12px;color: #58646D; }.rate-menu {padding: 8px 10px;font-family: Open Sans, Arial, sans-serif, PFn;font-size: 13px;color: #58646D;width: 140px;position: absolute;box-sizing: border-box;background-color: #FFFFFF;border-radius: 5px;box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.3);left: 40px;bottom: 70px; } .rate-menu.rate-menu_rate-button-first {left: 4px;bottom: 70px; } .rate-menu.rate-menu_landscape {right: 60px;top: 4px;left: unset;bottom: unset; }"; +let d;for(const [f,g]of Object.entries(null!=(d=a)?d:{}))a=`__${f.replace(RegExp("\\.","g"),"_")}__`,c=c.replace(new RegExp(a,"g"),g);let e;for(const [f,g]of Object.entries(null!=(e=b)?e:{}))c=c.replace(new RegExp(f,"g"),g);c=c.replace(/__verticalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.Pk);c=c.replace(/__horizontalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.Ok);return gn(c)}Pk(a,b,c){return`url(data:image/svg+xml;base64,${qh(``)})`}Ok(a, +b,c){return`url(data:image/svg+xml;base64,${qh(``)})`}};var kG={mb_question_icon:'', +mb_warning_icon:'', +"attachment-doc":'', +"attachment-image":'', +"attachment-link":'',"attachment-unknown":'', +"attachment-video":'', +attachments:'', +attachment_icon:'\t', +back:'',back_to_app:'', +bio:'', +close:'', +mail:'', +next:'',notes:'', +outline:'', +outline_landscape:'', +pause:'',phone:'', +play:'',presenter_info:'', +prev:'',"rate-0.75x":'', +"rate-1.25x":'', +"rate-1.5x":'', +"rate-1x":'', +"rate-2x":'', +rate:'', +search:'', +site:'', +tick:'',url_icon:'\t'};class pG{Yo(a,b){var c="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB3aWR0aD0iMjhweCIgaGVpZ2h0PSIzM3B4IiB2aWV3Qm94PSIwIDAgMjguMzAyIDMzLjI0MiI+DQoJPHBhdGggZD0iTTAsMS44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2IDM2Ljk5OTlDNDYuNzM2MSAzNy43NCA0NyAzOC42MSA0NyAzOS41QzQ3IDQwLjY5MzUgNDYuNTI1OSA0MS44MzgxIDQ1LjY4MiA0Mi42ODJDNDQuODM4MSA0My41MjU5IDQzLjY5MzUgNDQgNDIuNSA0NFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=".split(" "); +c=":root {--text-color: __playerText__;--panel-color: __asideBackground__;--button-background-color: __primaryButtonBackground__;--button-text-color: __primaryButtonText__;--button-hover-background-color: __primaryButtonBackgroundHover__;--button-hover-text-color: __primaryButtonTextHover__;--button-border-color: __primaryButtonBorder__;--button-hover-border-color: __primaryButtonBorderHover__;--page-background-color: __pageBackground__;--font-family-bold: nPFnb;--font-family-bold-italic: nPFnbi;--font-family-italic: nPFni;--font-family-normal: nPFn;--font-family-semibold: nPFnsb, nPFn;--font-family-semibold-italic: nPFnsbi, nPFni;--button-border-radius: __borderRadius__;--popup-border: __popupBorder__; }.none {position: absolute; } .none .launch-screen {z-index: 100;position: fixed;top: 0;right: 0;bottom: 0;left: 0;background-color: rgba(0, 0, 0, 0.48); } .none .launch-screen .launch-screen-button {top: 0;bottom: 0;margin: auto;right: 0;left: 0;border-radius: 100%;width: 96px;height: 96px;position: absolute; } .none .launch-screen .launch-screen-button__play-icon {background-color: #FFFFFF;position: absolute;top: 0;bottom: 0;margin: auto;right: 0;left: 0;border-radius: 100%;width: 90px;height: 90px;box-shadow: 0 12px 50px 0 rgba(0, 0, 0, 0.2);transition: 0.3s ease-in-out; } .none .launch-screen .launch-screen-button__icon {background: url("+ +c[0]+") no-repeat center;position: absolute;top: 0;bottom: 0;margin: auto;right: 0;left: 6px;width: 90px;height: 90px; } .none .launch-screen .launch-screen-button.launch-screen-button_active .launch-screen-button__play-icon {width: 96px;height: 96px; } .none .launch-screen .launch-screen-button.launch-screen-button_active .launch-screen-button__icon {background: url("+c[1]+") no-repeat center; } .none .playerView .preloader {width: 50px;height: 50px;position: absolute;top: 0;left: 0;bottom: 0;right: 0;margin: auto;border-radius: 10px;background-color: rgba(0, 0, 0, 0.5); } .none .playerView .preloader::after {content: '';position: absolute;background: url("+ +c[2]+");background-size: cover;top: 0;left: 0;bottom: 0;right: 0;animation: preloader_spin 1s infinite linear; } .none .title-panel {width: 100%;background: var(--panel-color);position: absolute;box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);height: 46px; } .none.none_landscape .title-panel {display: none; }.android_default * {text-rendering: auto !important; }body {margin: 0;padding: 0;overflow: hidden;cursor: default;-ms-touch-action: pan-y;touch-action: pan-y;-webkit-tap-highlight-color: rgba(0, 0, 0, 0); } body .password_form, body .info_panel {position: absolute;background: #F7F7F7;border-radius: 4px;width: 513px;height: 210px;font-family: Arial; } body .password_form *, body .info_panel * {box-sizing: border-box; } body .password_form .password_label {position: absolute;color: #3A3A3A;font-size: 15px;top: 63px;left: 55px; } body .password_form .wrong_password_label {position: absolute;color: #DD4A37;font-size: 12px;top: 131px;left: 55px; } body .password_form input {position: absolute;width: 330px;height: 32px;background: #FFFFFF;border: 1px solid #D1D2D4;padding: 1px;border-radius: 2px;font-size: 18px;color: #231F20;left: 54px;top: 94px;padding-left: 8px; } body .password_form button {border: transparent;background: transparent;color: #343434;font-family: Arial;font-size: 15px;text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); } body .password_form button::before {background: linear-gradient(to bottom, #D3D3D3, #BABABA);position: absolute;content: '';top: 0;right: 0;bottom: 0;left: 0;border-radius: 4px;z-index: -1; } body .password_form button::after {background: linear-gradient(to bottom, #DCDCDC, #D1D1D1);position: absolute;content: '';top: 1px;right: 1px;bottom: 1px;left: 1px;border-radius: 4px;z-index: -1; } body .password_form .btn_ok {position: absolute;top: 94px;right: 55px;width: 60px;height: 32px;opacity: 0.99; } body .info_panel {display: table; } body .info_panel .label {position: static;display: table-cell;vertical-align: middle;width: 100%;padding-left: 120px;padding-right: 40px;color: #3A3A3A;font-size: 15px; } body .info_panel::after {position: absolute;content: '';width: 63px;height: 63px;top: 73px;left: 46px; } body .info_panel.domain::after {background: transparent url("+ +c[3]+"); } body .info_panel.time::after {background: transparent url("+c[4]+"); }.component_base,.component_container {position: absolute; }:focus {outline: none; }::-moz-focus-inner {border: 0; }input {-webkit-appearance: none;appearance: none; }button {cursor: pointer;margin: 0;border: 0; }button[disabled] {cursor: default; }.__player_view_id__ {position: absolute; } .__player_view_id__ > * {position: absolute; } .__player_view_id__ .slide {white-space: nowrap;font-size: 0; } .__player_view_id__ .slide a {text-decoration: none;cursor: pointer; } .__player_view_id__ .slide a img {border: 0; } .__player_view_id__ .slide * {-ms-transform-origin: 0 0;transform-origin: 0 0; } .__player_view_id__ .slide.relpos, .__player_view_id__ .slide .relpos {position: relative !important;vertical-align: top; } .__player_view_id__ .slide.kern, .__player_view_id__ .slide .kern {text-rendering: optimizeLegibility;font-feature-settings: 'kern' 1, 'liga' 0; } .__player_view_id__ .slide.nokern, .__player_view_id__ .slide .nokern {text-rendering: optimizeSpeed;font-feature-settings: 'kern' 0, 'liga' 0; } .__player_view_id__ .fullscreen {-ms-transform: none !important;transform: none !important;top: 0 !important;left: 0 !important; } .__player_view_id__ .fullscreen > video, .__player_view_id__ .fullscreen .video_player {background-color: black;width: __slide_width__ !important;height: __slide_height__ !important;z-index: 100;-ms-transform: none !important;transform: none !important; } .__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen {background: url("+ +c[5]+") no-repeat; } .__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen:hover {background: url("+c[6]+") no-repeat; } .__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen:active {background: url("+c[7]+") no-repeat; } .__player_view_id__ .video_player video {width: 100%;height: 100%;margin: auto;top: 0;right: 0;bottom: 0;left: 0; } .__player_view_id__ .video_player video::cue {color: #FFFFFF;background-color: rgba(8, 8, 8, 0.75);border-radius: 4px;font-family: Helvetica, Roboto, Arial, sans-serif;line-height: 1.1; } .__player_view_id__ .video_player.poster_frame_hide_video video {display: none; } .__player_view_id__ .video_player.poster_frame video {opacity: 0; } .__player_view_id__ .video_player.poster_frame_hide_video .poster, .__player_view_id__ .video_player.poster_frame .poster {position: absolute;width: 100%;height: 100%; } .__player_view_id__ .video_player .controls {height: 36px;background: rgba(45, 50, 55, 0.85098);border: 1px solid #444648;cursor: default;border-radius: 4px; } .__player_view_id__ .video_player .controls, .__player_view_id__ .video_player .controls * {-webkit-backface-visibility: hidden;backface-visibility: hidden; } .__player_view_id__ .video_player .controls .progress {background-color: #75787A;height: 14px;left: 64px;top: 0;bottom: 0;margin-top: auto;margin-bottom: auto;cursor: pointer; } .__player_view_id__ .video_player .controls .progress .bookmark {width: 10px;height: 10px;margin-top: -5px;margin-left: -5px;top: 50%;background: url("+ +c[8]+") no-repeat;cursor: pointer; } .__player_view_id__ .video_player .controls .progress .bookmark:hover, .__player_view_id__ .video_player .controls .progress .bookmark:active {background: url("+c[9]+") no-repeat; } .__player_view_id__ .video_player .controls .progress .loading {background-color: #B1B3B5;height: 100%; } .__player_view_id__ .video_player .controls .progress .playing {background-color: #FFFFFF;height: 100%; } .__player_view_id__ .video_player .controls .progress .tooltip {background: url("+ +c[10]+") no-repeat;width: 60px;height: 25px;top: -33px;margin-left: -30px;font-family: Arial;font-size: 12px;padding-top: 2px;text-align: center; } .__player_view_id__ .video_player .controls .volume_popup {border-radius: 3px;background: rgba(45, 50, 55, 0.85098);top: -67px;right: 65px;padding: 8px;box-sizing: border-box;width: 28px;height: 64px; } .__player_view_id__ .video_player .controls .volume_popup .volume {background: url("+c[11]+");position: relative;cursor: pointer;width: 12px;height: 48px; } .__player_view_id__ .video_player .controls .volume_popup .volume .back {background: url("+ +c[12]+");width: 100%; } .__player_view_id__ .video_player .controls button {width: 100%;height: 100%; } .__player_view_id__ .video_player .controls button.rate {background: url("+c[13]+") no-repeat center; } .__player_view_id__ .video_player .controls button.rate.selected {background-color: rgba(255, 255, 255, 0.1); } .__player_view_id__ .video_player .controls button.mute {background: url("+c[14]+"); } .__player_view_id__ .video_player .controls button.mute:hover {background: url("+ +c[15]+"); } .__player_view_id__ .video_player .controls button.mute:active {background: url("+c[16]+"); } .__player_view_id__ .video_player .controls button.mute.selected {background: url("+c[17]+"); } .__player_view_id__ .video_player .controls button.mute.selected:hover {background: url("+c[18]+"); } .__player_view_id__ .video_player .controls button.mute.selected:active {background: url("+c[19]+"); } .__player_view_id__ .video_player .controls button.subtitles {background: url("+ +c[20]+") no-repeat center; } .__player_view_id__ .video_player .controls button.subtitles.selected {background-color: rgba(255, 255, 255, 0.1); } .__player_view_id__ .video_player .controls button.play {background: url("+c[21]+") no-repeat; } .__player_view_id__ .video_player .controls button.play:hover {background: url("+c[22]+") no-repeat; } .__player_view_id__ .video_player .controls button.play:active {background: url("+c[23]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected {background: url("+ +c[24]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected:hover {background: url("+c[25]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected:active {background: url("+c[26]+") no-repeat; } .__player_view_id__ .video_player .controls button.play::after {background: url("+c[27]+");width: 1px;height: 32px;right: 0;top: 1px;position: absolute;content: ''; } .__player_view_id__ .video_player .controls button.toggle_fullscreen {background: url("+ +c[28]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen:hover {background: url("+c[29]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen:active {background: url("+c[30]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen::before {background: url("+c[27]+") no-repeat;width: 1px;height: 32px;left: 0;top: 1px;position: absolute;content: ''; } .__player_view_id__ .video_player .controls .subtitles-list {width: 195px;right: 0;border-radius: 4px;border: solid 1px #444648;background-color: rgba(45, 50, 55, 0.85);font-family: Helvetica, Roboto, Arial, sans-serif;font-size: 14px;font-weight: normal;font-stretch: normal;font-style: normal;line-height: normal;letter-spacing: normal;padding: 3px 0;bottom: 37px; } .__player_view_id__ .video_player .controls .subtitles-list__caption {position: relative !important;padding: 12px 0 22px 0;color: #b8b8b8;text-align: center; } .__player_view_id__ .video_player .controls .subtitles-list__caption::after {position: absolute;content: '';width: calc(100% - 20px);left: 0;right: 0;bottom: 5px;margin: auto;border-bottom: 1px solid #444648; } .__player_view_id__ .video_player .controls .subtitles-list__item {color: #b8b8b8;position: relative !important;padding: 10px 2px 10px 35px;cursor: pointer;overflow: hidden;text-overflow: ellipsis; } .__player_view_id__ .video_player .controls .subtitles-list__item.subtitles-list__item_active {background-color: rgba(255, 255, 255, 0.1);color: #FFFFFF; } .__player_view_id__ .video_player .controls .subtitles-list__item[aria-selected='true'] {background-color: rgba(0, 0, 0, 0.24);color: #FFFFFF;padding-left: 12px; } .__player_view_id__ .video_player .controls .subtitles-list__item[aria-selected='true']::before {background: url("+ +c[31]+") no-repeat;width: 14px;height: 15px;padding-right: 23px;content: ''; } .__player_view_id__ .video_player .controls .toggle_fullscreen {width: 52px;height: 34px; } .__player_view_id__ .video_player .controls .play {width: 52px;height: 34px; } .__player_view_id__ .video_player .controls .rate {width: 32px;height: 34px;right: 95px;top: 0; } .__player_view_id__ .video_player .controls .rate.rate_subtitle-button-next {right: 127px; } .__player_view_id__ .video_player .controls .playback-rate-menu {width: 120px;right: 51px;border-radius: 4px;border: solid 1px #444648;background-color: rgba(45, 50, 55, 0.85);font-family: Helvetica, Roboto, Arial, sans-serif;font-size: 14px;font-weight: normal;font-stretch: normal;font-style: normal;line-height: normal;letter-spacing: normal;padding: 3px 0;bottom: 37px; } .__player_view_id__ .video_player .controls .playback-rate-menu.playback-rate-menu_subtitle-button-next {right: 83px; } .__player_view_id__ .video_player .controls .playback-rate-menu__caption {position: relative !important;padding: 12px 0 22px 0;color: #b8b8b8;text-align: center; } .__player_view_id__ .video_player .controls .playback-rate-menu__caption::after {position: absolute;content: '';width: calc(100% - 20px);left: 0;right: 0;bottom: 5px;margin: auto;border-bottom: 1px solid #444648; } .__player_view_id__ .video_player .controls .playback-rate-menu__item {color: #b8b8b8;position: relative !important;padding: 10px 2px 10px 35px;cursor: pointer;overflow: hidden;text-overflow: ellipsis; } .__player_view_id__ .video_player .controls .playback-rate-menu__item.playback-rate-menu__item_active {background-color: rgba(255, 255, 255, 0.1);color: #FFFFFF; } .__player_view_id__ .video_player .controls .playback-rate-menu__item[aria-selected='true'] {background-color: rgba(0, 0, 0, 0.24);color: #FFFFFF;padding-left: 12px; } .__player_view_id__ .video_player .controls .playback-rate-menu__item[aria-selected='true']::before {background: url("+ +c[31]+") no-repeat;width: 14px;height: 15px;padding-right: 23px;content: ''; } .__player_view_id__ .video_player .controls .subtitles {width: 32px;height: 34px;right: 95px;top: 0; } .__player_view_id__ .video_player .controls .toggle_fullscreen {right: -1px; } .__player_view_id__ .video_player .controls .mute {width: 22px;height: 22px;right: 67px;top: 6px; }.popup_layer {position: absolute; } .popup_layer .modal_layer {background: #000000;opacity: 0.4;z-index: 10;width: 100%;height: 100%; } .popup_layer .message_box, .popup_layer .confirm_window {background: #FFFFFF;border-radius: 5px;border: 1px solid rgba(0, 0, 0, 0.75);width: 357px;height: 150px;position: absolute;top: 0;right: 0;bottom: 0;left: 0;margin: auto;z-index: 10; } .popup_layer .message_box::after, .popup_layer .confirm_window::after {background-color: #E6E6E6;width: 100%;height: 1px;top: 30px;position: absolute;content: ''; } .popup_layer .message_box .title, .popup_layer .message_box .message, .popup_layer .confirm_window .title, .popup_layer .confirm_window .message {font-family: Helvetica, Roboto, Arial, sans-serif;font-size: 14px;color: #323232; } .popup_layer .message_box .title, .popup_layer .confirm_window .title {position: absolute;left: 13px;top: 7px;font-weight: bold;background: transparent; } .popup_layer .message_box .message, .popup_layer .confirm_window .message {position: absolute;top: 47px;left: 69px;margin-right: 25px; } .popup_layer .message_box .message::before, .popup_layer .confirm_window .message::before {background-color: #E6E6E6;width: 35px;height: 35px;left: -45px;position: absolute;content: ''; } .popup_layer .message_box button, .popup_layer .confirm_window button {font-size: 14px;border-radius: 5px;color: #323232;width: 68px;height: 30px; } .popup_layer .message_box button, .popup_layer .message_box button.mobile:hover, .popup_layer .message_box button.mobile:active, .popup_layer .confirm_window button, .popup_layer .confirm_window button.mobile:hover, .popup_layer .confirm_window button.mobile:active {background: #D4D4D4; } .popup_layer .message_box button:hover, .popup_layer .message_box button:active, .popup_layer .message_box button.mobile.active, .popup_layer .confirm_window button:hover, .popup_layer .confirm_window button:active, .popup_layer .confirm_window button.mobile.active {background: #B8B8B8; } .popup_layer .confirm_window button.btn_yes {left: 101px;top: 98px; } .popup_layer .confirm_window button.btn_no {left: 181px;top: 98px; } .popup_layer .confirm_window .message::before {background: url("+ +c[32]+"); } .popup_layer .message_box button.btn_ok {left: 141px;top: 98px; } .popup_layer .message_box .message::before {background: url("+c[33]+"); }.transitionSlide.paused * {animation-play-state: paused !important; }.framesLayer .video_player {-ms-transform-origin: 0 0;transform-origin: 0 0; }.framesLayer *:not(.framesLayerContent) {pointer-events: all; }.framesLayer .framesLayerContent {position: absolute; } .framesLayer .framesLayerContent > div {pointer-events: all; }.trial_banner {position: relative;transform: translateZ(0); } .trial_banner .banner-content, .trial_banner .banner-content_hover {position: absolute;left: 0;right: 0;top: 0;bottom: 0;width: 100%;height: 100%; } .trial_banner .banner-content {visibility: visible;z-index: 1; } .trial_banner .banner-content_hover {visibility: hidden;z-index: 0; } .trial_banner .days_remaining {position: absolute;font-family: 'Open Sans', Arial, sans-serif;font-weight: normal;font-size: 13px;left: 65px;top: 41px;color: #7C1645;z-index: 1; } .trial_banner:hover .banner-content {visibility: hidden;z-index: 0; } .trial_banner:hover .banner-content_hover {visibility: visible;z-index: 1; }.back_to_app {height: 100%;position: absolute;left: 0; } .back_to_app__text {color: #3DA0E1;font-size: 16px;font-family: Helvetica Neue, Helvetica, Roboto, Arial;text-overflow: ellipsis;overflow: hidden;position: absolute;bottom: 0;top: 0;height: 24px;line-height: 24px;margin: auto;padding-left: 25px;max-width: 80px; } .back_to_app__text::before {content: '';background: url("+ +c[34]+") no-repeat center;height: 24px;width: 14px;left: 8px;position: absolute; }.popup-layer {top: 0;right: 0;bottom: 0;left: 0;z-index: 1;position: absolute;border-radius: inherit; }.modal-layer {background: #000000;opacity: 0.4;position: absolute;width: 100%;height: 100%;border-radius: inherit; }.uikit-primary-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-primary-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .uikit-primary-button.uikit-primary-button_size_medium {padding: 10px; } .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text {font-size: 17px;line-height: 20px; } .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text:first-child {margin-left: 10px; } .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text:last-child {margin-right: 10px; } .uikit-primary-button.uikit-primary-button_size_small {padding: 6px 12px; } .uikit-primary-button.uikit-primary-button_size_small .uikit-primary-button__button-text {font-size: 14px;line-height: 20px; } .uikit-primary-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-primary-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-primary-button__button-text {margin-right: 8px; } .uikit-primary-button__left-icon {margin-right: 8px; } .uikit-primary-button__button-text:first-child {margin-left: 0; } .uikit-primary-button__button-text:last-child {margin-right: 0; } .uikit-primary-button__left-icon:first-child {margin-left: 0; } .uikit-primary-button__left-icon:last-child {margin-right: 0; } .uikit-primary-button__right-icon:first-child {margin-left: 0; } .uikit-primary-button__right-icon:last-child {margin-right: 0; } .uikit-primary-button[disabled] {opacity: 0.4; } .uikit-primary-button.uikit-primary-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .uikit-primary-button.uikit-primary-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-secondary-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-secondary-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .uikit-secondary-button.uikit-secondary-button_size_medium {padding: 10px; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text {font-size: 17px;line-height: 20px; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text:first-child {margin-left: 10px; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text:last-child {margin-right: 10px; } .uikit-secondary-button.uikit-secondary-button_size_small {padding: 6px 12px; } .uikit-secondary-button.uikit-secondary-button_size_small .uikit-secondary-button__button-text {font-size: 14px;line-height: 20px; } .uikit-secondary-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-secondary-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-secondary-button__button-text {margin-right: 8px; } .uikit-secondary-button__left-icon {margin-right: 8px; } .uikit-secondary-button__button-text:first-child {margin-left: 0; } .uikit-secondary-button__button-text:last-child {margin-right: 0; } .uikit-secondary-button__left-icon:first-child {margin-left: 0; } .uikit-secondary-button__left-icon:last-child {margin-right: 0; } .uikit-secondary-button__right-icon:first-child {margin-left: 0; } .uikit-secondary-button__right-icon:last-child {margin-right: 0; } .uikit-secondary-button[disabled] {opacity: 0.4; } .uikit-secondary-button.uikit-secondary-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .uikit-secondary-button.uikit-secondary-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-link-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-link-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .uikit-link-button.uikit-link-button_size_medium {padding: 10px; } .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text {font-size: 17px;line-height: 20px; } .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text:first-child {margin-left: 10px; } .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text:last-child {margin-right: 10px; } .uikit-link-button.uikit-link-button_size_small {padding: 6px 12px; } .uikit-link-button.uikit-link-button_size_small .uikit-link-button__button-text {font-size: 14px;line-height: 20px; } .uikit-link-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-link-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-link-button__button-text {margin-right: 8px; } .uikit-link-button__left-icon {margin-right: 8px; } .uikit-link-button__button-text:first-child {margin-left: 0; } .uikit-link-button__button-text:last-child {margin-right: 0; } .uikit-link-button__left-icon:first-child {margin-left: 0; } .uikit-link-button__left-icon:last-child {margin-right: 0; } .uikit-link-button__right-icon:first-child {margin-left: 0; } .uikit-link-button__right-icon:last-child {margin-right: 0; } .uikit-link-button[disabled] {opacity: 0.4; } .uikit-link-button.uikit-link-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .uikit-link-button.uikit-link-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-primary-button {background: var(--button-background-color);color: var(--button-text-color); } .uikit-primary-button::after {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;border-radius: inherit;border: 1px solid transparent;background: var(--button-border-color);background-origin: border-box;transition: inherit;-webkit-mask: linear-gradient(#FFFFFF 0, #FFFFFF 0) border-box, linear-gradient(#FFFFFF 0, #FFFFFF 0) padding-box;mask: linear-gradient(#FFFFFF 0 0) border-box, linear-gradient(#FFFFFF 0 0) padding-box;-webkit-mask-composite: xor;mask-composite: exclude;pointer-events: none; } .uikit-primary-button__button-text {font-family: var(--font-family-normal);font-weight: 700; } .uikit-primary-button.uikit-primary-button_active, .uikit-primary-button[aria-pressed='true'], .uikit-primary-button:focus {background: var(--button-hover-background-color);color: var(--button-hover-text-color); } .uikit-primary-button.uikit-primary-button_active::after, .uikit-primary-button[aria-pressed='true']::after, .uikit-primary-button:focus::after {background: var(--button-hover-border-color);background-origin: border-box; }.message-box {background: var(--panel-color);position: absolute;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;border-radius: 7px;min-width: 280px;padding: 40px;box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08); } .message-box::after {content: '';box-sizing: border-box;border: 1px solid var(--popup-border);width: 100%;height: 100%;position: absolute;left: 0;top: 0;border-radius: 7px;pointer-events: none; } .message-box__content {position: relative;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-direction: column;flex-direction: column; } .message-box__icon {width: 24px;height: 24px;margin-bottom: 24px;position: relative;display: inline-block;color: var(--text-color);opacity: 0.72; } .message-box .message-box-buttons {position: relative;width: 100%;height: 36px; } .message-box .message-box-buttons__buttons {display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center; } .message-box .message-box-buttons__window-button {margin: 0 4px; } .message-box .vertical-scrollbar {top: 40px; } .message-box__message-container {overflow: hidden;display: inline-block;max-width: 480px;vertical-align: top;position: relative; } .message-box__message {text-align: center;font-size: 16px;color: var(--text-color);text-overflow: ellipsis;overflow: hidden;position: relative;font-family: var(--font-family-normal); } .message-box__buttons {margin-top: 28px; }.container-top-shadow {background: __verticalGradient(#FFFFFF, rgba(255, 255, 255, 0));background: linear-gradient(to bottom, #FFFFFF, rgba(255, 255, 255, 0));position: absolute;top: 0;left: 0;right: 0;height: 60px;pointer-events: none; }.container-bottom-shadow {background: __verticalGradient(rgba(255, 255, 255, 0), #FFFFFF);background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #FFFFFF);position: absolute;bottom: 0;left: 0;right: 0;height: 60px;pointer-events: none;border-radius: inherit; }.vertical-scrollbar {position: absolute;right: 0;top: 4px;bottom: 4px;width: 14px;transition: opacity 0.2s ease; } .vertical-scrollbar .thumb {position: absolute;width: 8px;right: 3px;padding: 1px;border-radius: 5px; } .vertical-scrollbar .thumb__background {height: 100%;border-radius: 4px;background-color: rgba(0, 0, 0, 0.32);border: 1px solid rgba(255, 255, 255, 0.12); }.vertical-scrollbar {transition: none;opacity: 0.5 !important; }.presentation-view-mode-switch-control {width: 64px;height: 64px;position: fixed;left: 16px;top: 16px;cursor: pointer;border: none;background: url("+ +c[35]+") no-repeat center; } .presentation-view-mode-switch-control:not([disabled]):hover {background: url("+c[36]+") no-repeat center; } .presentation-view-mode-switch-control:not([disabled]):active {background: url("+c[37]+") no-repeat center; } .presentation-view-mode-switch-control:not([disabled]):focus {outline: none; } .presentation-view-mode-switch-control:not([disabled]):focus::before {content: '';position: absolute;top: 3px;bottom: 3px;left: 3px;right: 3px;border: 1px dotted #FFFFFF;opacity: 0.6; }"; +let d;for(const [f,g]of Object.entries(null!=(d=a)?d:{}))a=`__${f.replace(RegExp("\\.","g"),"_")}__`,c=c.replace(new RegExp(a,"g"),g);let e;for(const [f,g]of Object.entries(null!=(e=b)?e:{}))c=c.replace(new RegExp(f,"g"),g);c=c.replace(/__verticalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.Pk);c=c.replace(/__horizontalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.Ok);return gn(c)}Pk(a,b,c){return`url(data:image/svg+xml;base64,${qh(``)})`}Ok(a, +b,c){return`url(data:image/svg+xml;base64,${qh(``)})`}};class IG{Yo(a,b){var c=sh("PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMTA2cHgiIGhlaWdodD0iMTM0cHgiI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k4MjI2NDIsNzQuMDQzMDgyNiAyMy45Njg3OTQzLDc0LjAzMDE1MTUgTDE2LjEyNDgyMjksNjYuNSBMMjMuOTY4Nzk0Myw1OC45Njk4NDg1IEMyNC41MTU1MjgzLDU4LjQ0NDk4ODEgMjQuNTMzMjYwMyw1Ny41NzYyODkyIDI0LjAwODM5OTksNTcuMDI5NTU1MiBDMjMuOTk1NDY4OSw1Ny4wMTYwODUyIDIzLjk4MjI2NDIsNTcuMDAyODgwNiAyMy45Njg3OTQzLDU2Ljk4OTk0OTUgTDIzLjk2ODc5NDMsNTYuOTg5OTQ5NSBDMjMuMzkyNTkyLDU2LjQzNjc5OTggMjIuNDgyNTg1LDU2LjQzNjc5OTggMjEuOTA2MzgyOCw1Ni45ODk5NDk1IFoiIGlkPSJCYWNrLUFycm93Ij48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="]; +c=".popup-layer {top: 0;right: 0;bottom: 0;left: 0;z-index: 1;position: absolute;border-radius: inherit; }.modal-layer {background: #000000;opacity: 0.4;position: absolute;width: 100%;height: 100%;border-radius: inherit; }:root {--page-background-color: __pageBackground__;--button-background-color: __primaryButtonBackground__;--button-hover-background-color: __primaryButtonBackgroundHover__;--button-hover-text-color: __primaryButtonTextHover__;--button-text-color: __primaryButtonText__;--company-logo-background-color: __asideLogoBackground__;--font-family-bold: PFnb;--font-family-bold-italic: PFnbi;--font-family-italic: PFni;--font-family-normal: PFn;--font-family-semibold: PFnsb, PFn;--font-family-semibold-italic: PFnsbi, PFni;--hyperlink-text-color: __hyperlink__;--list-item-background-hover-color: __asideElementBackgroundHover__;--list-item-background-pressed-color: __asideElementBackgroundActive__;--list-item-text-hover-color: __asideElementTextHover__;--list-item-text-pressed-color: __asideElementTextActive__;--list-item-text-visited-color: __asideElementTextVisited__;--panel-color: __asideBackground__;--panel-text-color: __asideElementText__;--panel-video-stub-background-color: __panelVideoStubBackgroundColor__;--panel-video-stub-color: __panelVideoStubColor__;--player-background-color: __playerBackground__;--progressbar-background-color: __progressBackground__;--progressbar-playback-color: __progressPlayback__;--slide-border-color: __slideBorder__;--text-color: __playerText__;--topbar-hover-background-color: __secondaryButtonBackgroundHover__;--topbar-text-color: __secondaryButtonText__;--primary-button-text-color: __primaryButtonText__;--primary-button-text-color-active: __primaryButtonTextHover__;--primary-button-background-color-active: __primaryButtonBackgroundHover__;--primary-button-background-color: __primaryButtonBackground__;--primary-button-border-color: __primaryButtonBorder__;--primary-button-border-color-active: __primaryButtonBorderHover__;--secondary-button-background-color: __secondaryButtonBackground__;--secondary-button-background-color-active: __secondaryButtonBackgroundHover__;--secondary-button-text-color: __secondaryButtonText__;--secondary-button-text-color-active: __secondaryButtonTextHover__;--secondary-button-border-color: __secondaryButtonBorder__;--secondary-button-border-color-active: __secondaryButtonBorderHover__;--volume-control-background-color: __volumeControlBackgroundColor__;--volume-control-playback-color: __volumeControlPlaybackColor__;--volume-control-thumb-color: __volumeControlThumbColor__;--more-menu-volume-control-background-color: __moreMenuVolumeControlBackgroundColor__;--more-menu-volume-control-playbackColor: __moreMenuVolumeControlPlaybackColor__;--more-menu-volume-control-thumb-color: __moreMenuVolumeControlThumbColor__;--popup-background-color: __popupBackground__;--popup-transparent-background-color: __transparentPopupBackground__;--popup-border: __popupBorder__;--popup-background-hover-color: __popupBackgroundHover__;--popup-text-color: __popupText__;--popup-text-hover-color: __popupTextHover__;--link-button-background-color: transparent;--link-button-text-color: __linkButtonTextColor__;--player-text: __playerText__;--button-border-radius: __borderRadius__;--presenter-info-link-border-color: __presenterInfoLinkBorderColor__;--search-field-background-color: __searchFieldBackgroundColor__;--hovered-tab-background-color: __hoveredTabBackgroundColor__;--selected-tab-background-color: __selectedTabBackgroundColor__;--top-panel-icon-container-color: __topPanelIconContainerColor__;--mini-skin-menu-button-text: __miniSkinMenuButtonText__;--mini-skin-menu-button-background-active: __miniSkinMenuButtonBackgroundActive__;--mini-skin-top-bottom-panel-border: __miniSkinTopBottomPanelBorder__;--mini-skin-presenter-delimiter-color: __miniSkinPresenterDelimiterColor__;--top-bottom-panel-border-color: __topBottomPanelBorderColor__; }:root {--page-background-color: __pageBackground__;--button-background-color: __primaryButtonBackground__;--button-hover-background-color: __primaryButtonBackgroundHover__;--button-hover-text-color: __primaryButtonTextHover__;--button-text-color: __primaryButtonText__;--company-logo-background-color: __asideLogoBackground__;--font-family-bold: PFnb;--font-family-bold-italic: PFnbi;--font-family-italic: PFni;--font-family-normal: PFn;--font-family-semibold: PFnsb, PFn;--font-family-semibold-italic: PFnsbi, PFni;--hyperlink-text-color: __hyperlink__;--list-item-background-hover-color: __asideElementBackgroundHover__;--list-item-background-pressed-color: __asideElementBackgroundActive__;--list-item-text-hover-color: __asideElementTextHover__;--list-item-text-pressed-color: __asideElementTextActive__;--list-item-text-visited-color: __asideElementTextVisited__;--panel-color: __asideBackground__;--panel-text-color: __asideElementText__;--panel-video-stub-background-color: __panelVideoStubBackgroundColor__;--panel-video-stub-color: __panelVideoStubColor__;--player-background-color: __playerBackground__;--progressbar-background-color: __progressBackground__;--progressbar-playback-color: __progressPlayback__;--slide-border-color: __slideBorder__;--text-color: __playerText__;--topbar-hover-background-color: __secondaryButtonBackgroundHover__;--topbar-text-color: __secondaryButtonText__;--primary-button-text-color: __primaryButtonText__;--primary-button-text-color-active: __primaryButtonTextHover__;--primary-button-background-color-active: __primaryButtonBackgroundHover__;--primary-button-background-color: __primaryButtonBackground__;--primary-button-border-color: __primaryButtonBorder__;--primary-button-border-color-active: __primaryButtonBorderHover__;--secondary-button-background-color: __secondaryButtonBackground__;--secondary-button-background-color-active: __secondaryButtonBackgroundHover__;--secondary-button-text-color: __secondaryButtonText__;--secondary-button-text-color-active: __secondaryButtonTextHover__;--secondary-button-border-color: __secondaryButtonBorder__;--secondary-button-border-color-active: __secondaryButtonBorderHover__;--volume-control-background-color: __volumeControlBackgroundColor__;--volume-control-playback-color: __volumeControlPlaybackColor__;--volume-control-thumb-color: __volumeControlThumbColor__;--more-menu-volume-control-background-color: __moreMenuVolumeControlBackgroundColor__;--more-menu-volume-control-playbackColor: __moreMenuVolumeControlPlaybackColor__;--more-menu-volume-control-thumb-color: __moreMenuVolumeControlThumbColor__;--popup-background-color: __popupBackground__;--popup-transparent-background-color: __transparentPopupBackground__;--popup-border: __popupBorder__;--popup-background-hover-color: __popupBackgroundHover__;--popup-text-color: __popupText__;--popup-text-hover-color: __popupTextHover__;--link-button-background-color: transparent;--link-button-text-color: __linkButtonTextColor__;--player-text: __playerText__;--button-border-radius: __borderRadius__;--presenter-info-link-border-color: __presenterInfoLinkBorderColor__;--search-field-background-color: __searchFieldBackgroundColor__;--hovered-tab-background-color: __hoveredTabBackgroundColor__;--selected-tab-background-color: __selectedTabBackgroundColor__;--top-panel-icon-container-color: __topPanelIconContainerColor__;--mini-skin-menu-button-text: __miniSkinMenuButtonText__;--mini-skin-menu-button-background-active: __miniSkinMenuButtonBackgroundActive__;--mini-skin-top-bottom-panel-border: __miniSkinTopBottomPanelBorder__;--mini-skin-presenter-delimiter-color: __miniSkinPresenterDelimiterColor__;--top-bottom-panel-border-color: __topBottomPanelBorderColor__; }@keyframes preloader_spin {0% {transform: rotate(0deg); } 100% {transform: rotate(360deg); } }html,body {background-color: var(--page-background-color) !important; }.universal_mini {overflow: hidden;background: var(--player-background-color); } .universal_mini div {-webkit-tap-highlight-color: rgba(0, 0, 0, 0);-webkit-user-select: none;-ms-user-select: none;user-select: none;-webkit-touch-callout: none;-webkit-user-drag: none; } .universal_mini .launch-screen {z-index: 100;position: fixed;top: 0;right: 0;bottom: 0;left: 0;background-color: rgba(0, 0, 0, 0.48); } .universal_mini .launch-screen .launch-screen-button {top: 0;bottom: 0;margin: auto;right: 0;left: 0;border-radius: 100%;width: 96px;height: 96px;position: absolute; } .universal_mini .launch-screen .launch-screen-button__play-icon {background-color: #FFFFFF;position: absolute;top: 0;bottom: 0;margin: auto;right: 0;left: 0;border-radius: 100%;width: 90px;height: 90px;box-shadow: 0 12px 50px 0 rgba(0, 0, 0, 0.2);transition: 0.3s ease-in-out; } .universal_mini .launch-screen .launch-screen-button__icon {background: url("+ +c[0]+") no-repeat center;position: absolute;top: 0;bottom: 0;margin: auto;right: 0;left: 6px;width: 90px;height: 90px; } .universal_mini .launch-screen .launch-screen-button.launch-screen-button_active .launch-screen-button__play-icon {width: 96px;height: 96px; } .universal_mini .launch-screen .launch-screen-button.launch-screen-button_active .launch-screen-button__icon {background: url("+c[1]+") no-repeat center; } .universal_mini .playerView {-ms-transform: translateX(0);transform: translateX(0); } .universal_mini.not_loaded .top-panel, .universal_mini.not_loaded .bottom-panel, .universal_mini.not_loaded .landscape-bottom-panel {display: none; } .universal_mini:not(.landscape) .landscape-bottom-panel {display: none; } .universal_mini.landscape > .bottom-panel {display: none; } .universal_mini.landscape > .top-panel {display: none !important; } .universal_mini.landscape.quiz_mode .top-panel, .universal_mini.landscape.quiz_mode .landscape-bottom-panel {display: initial; } .universal_mini.landscape.quiz_mode > .bottom-panel {display: none; } .universal_mini > .top-panel {width: 100%;background: var(--player-background-color);position: absolute;box-sizing: border-box;box-shadow: 0 1px 0 var(--mini-skin-top-bottom-panel-border);height: 52px;top: 0; } .universal_mini > .top-panel::before, .universal_mini > .top-panel::after {top: 100%; } .universal_mini > .top-panel .menu {cursor: pointer;position: absolute;top: 6px;right: 12px;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-flex-align: center;align-items: center;padding: 8px;background: transparent;color: var(--mini-skin-menu-button-text);border-radius: var(--button-border-radius); } .universal_mini > .top-panel .menu.menu_active {background: var(--mini-skin-menu-button-background-active);color: var(--text-color); } .universal_mini > .top-panel .slide-info {font-family: var(--font-family-bold);width: 100%;position: absolute;font-size: 17px;line-height: 52px;text-align: center;color: var(--text-color);text-overflow: ellipsis;overflow: hidden;white-space: nowrap;z-index: 1;pointer-events: none; } .universal_mini > .bottom-panel {width: 100%;background: var(--player-background-color);position: absolute;box-sizing: border-box;bottom: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;padding: 0 12px;height: 56px;top: auto; } .universal_mini > .bottom-panel .navigation-controls {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .universal_mini > .bottom-panel > button:not(:first-child) {margin-left: 12px; } .universal_mini > .bottom-panel .navigation-controls {margin-left: auto; } .universal_mini > .bottom-panel .navigation-controls button:not(:first-child) {margin-left: 12px; } .universal_mini > .bottom-panel.bottom-panel_with-border {border-top: 1px solid var(--mini-skin-top-bottom-panel-border); } .universal_mini > .bottom-panel .rate-menu-popup {background: var(--popup-background-color);border: 1px solid var(--popup-border);box-shadow: 0 20px 32px rgba(0, 0, 0, 0.16);-webkit-backdrop-filter: blur(8px);backdrop-filter: blur(8px);border-radius: 10px;position: absolute; } .universal_mini > .progress {position: absolute;top: auto;left: 0;height: 2px;background: var(--progressbar-background-color); } .universal_mini > .progress > .playback-progress {position: absolute;top: 0;left: 0;width: 0;height: 100%;background: var(--progressbar-playback-color); } .universal_mini > .landscape-bottom-panel {width: 100%;background: var(--player-background-color);position: absolute;box-sizing: border-box;bottom: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;right: 0;top: 0;width: 52px;-ms-flex-direction: column;flex-direction: column;align-items: center;padding: 16px 0;border-left: 1px solid rgba(97, 104, 112, 0.1); } .universal_mini > .landscape-bottom-panel .navigation-controls {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .universal_mini > .landscape-bottom-panel > button:not(:last-child) {margin-bottom: 12px; } .universal_mini > .landscape-bottom-panel .navigation-controls {margin-top: auto;-ms-flex-direction: column;flex-direction: column; } .universal_mini > .landscape-bottom-panel .navigation-controls button:not(:first-child) {margin-top: 12px; } .universal_mini > .landscape-bottom-panel .rate-menu-popup {background: var(--popup-background-color);border: 1px solid var(--popup-border);box-shadow: 0 20px 32px rgba(0, 0, 0, 0.16);-webkit-backdrop-filter: blur(8px);backdrop-filter: blur(8px);border-radius: 10px;position: absolute; } .universal_mini #playerView {border: 1px solid rgba(0, 0, 0, 0.04); } .universal_mini.quiz_mode {overflow: visible;height: auto !important; } .universal_mini.quiz_mode #playerView, .universal_mini.quiz_mode .video-container {display: none; } .universal_mini.quiz_mode.interaction_slide .bottom-panel {box-shadow: 0 -2px 12px 0 rgba(0, 0, 0, 0.1);position: fixed;bottom: 0 !important; } .universal_mini.quiz_mode.interaction_slide .bottom-panel .play, .universal_mini.quiz_mode.interaction_slide .bottom-panel .progress-bar {display: none; } .universal_mini.quiz_mode .top-panel {position: fixed;top: -1px;height: 52px; } .universal_mini.quiz_mode .top-panel .slide-info {top: 1px; } .universal_mini.quiz_mode .top-panel .menu.component_container {top: 1px;height: 52px; } .universal_mini, .universal_mini > div {position: absolute;top: 0; } .universal_mini .launch_layer {width: 100%;height: 100%;background: url("+ +c[0]+") no-repeat center;background-color: rgba(0, 0, 0, 0.75); } .universal_mini .launch_layer:active {background-image: url("+c[1]+"); } .universal_mini .launch_layer[disabled], .universal_mini .launch_layer:active[disabled] {background-image: none; } .universal_mini .video-container video {position: absolute; } .universal_mini .change-layout-button {width: 44px;height: 44px;border-radius: 100%;background: #333333;position: absolute;left: 10px;bottom: 10px;border: 1px solid rgba(255, 255, 255, 0.3);box-sizing: border-box; } .universal_mini .change-layout-button::after {content: '';position: absolute;width: 20px;height: 20px;background: url("+ +c[2]+");background-size: cover;margin: auto;top: 0;left: 0;bottom: 0;right: 0; } .universal_mini .preloader {width: 50px;height: 50px;position: absolute;top: 0;left: 0;bottom: 0;right: 0;margin: auto;border-radius: 10px;background-color: rgba(0, 0, 0, 0.5); } .universal_mini .preloader::after {content: '';position: absolute;background: url("+c[3]+");background-size: cover;top: 0;left: 0;bottom: 0;right: 0;animation: preloader_spin 1s infinite linear; } .universal_mini .menu_layer {position: absolute;background: var(--panel-color);z-index: 10; } .universal_mini .menu_layer .menu-layer-top-panel {position: absolute;height: 52px;background: var(--panel-color);display: block;z-index: 1; } .universal_mini .menu_layer .menu-layer-top-panel .tab-title {font-family: var(--font-family-bold);position: absolute;color: var(--panel-text-color);left: 0;top: 0;width: 100%;height: 52px;font-size: 18px;line-height: 52px;text-align: center;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;pointer-events: none; } .universal_mini .menu_layer .menu-layer-top-panel .search-button, .universal_mini .menu_layer .menu-layer-top-panel .close-button, .universal_mini .menu_layer .menu-layer-top-panel .back-button {position: absolute;top: 0;cursor: pointer; } .universal_mini .menu_layer .menu-layer-top-panel > .search-button, .universal_mini .menu_layer .menu-layer-top-panel > .close-button, .universal_mini .menu_layer .menu-layer-top-panel > .back-button {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-pack: center;justify-content: center;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;padding: 8px 8px;color: var(--panel-text-color);background: transparent; } .universal_mini .menu_layer .menu-layer-top-panel > .search-button {top: 6px;left: 12px; } .universal_mini .menu_layer .menu-layer-top-panel > .close-button {top: 6px;right: 12px; } .universal_mini .menu_layer .menu-layer-top-panel > .back-button {top: 6px;left: 12px; } .universal_mini .menu_layer .menu-layer-top-panel.with_search .back {right: 44px; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel {position: absolute;background: var(--player-background-color);top: 0;right: 0;bottom: 0;left: 0;z-index: 1;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;padding: 8px 12px;box-shadow: 0 1px 0 var(--mini-skin-top-bottom-panel-border); } .universal_mini .menu_layer .menu-layer-top-panel .search_panel__cancel-button {cursor: pointer; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel__search-icon {width: 24px;height: 24px;margin: 6px 8px;color: var(--text-color);-ms-flex-negative: 0;flex-shrink: 0; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel__cancel-button {width: 24px;height: 24px;margin: 6px 8px;color: var(--text-color);-ms-flex-negative: 0;flex-shrink: 0; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel .search_input {font-family: var(--font-family-normal);-ms-flex-positive: 1;flex-grow: 1;border: none;height: 100%;font-size: 15px;line-height: 20px;color: var(--text-color);background: transparent;min-width: 0; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel .search_input:-ms-input-placeholder {opacity: 0.4; } .universal_mini .menu_layer .menu-layer-top-panel .search_panel .search_input::placeholder {opacity: 0.4; } .universal_mini .menu_layer.tab_control .content.component_container {bottom: 56px; } .universal_mini .menu_layer.tab_control .bottom-panel {position: absolute;bottom: 0;height: 56px;background: var(--player-background-color);box-shadow: 0 -1px 0 var(--mini-skin-top-bottom-panel-border);box-sizing: border-box;padding: 7px 12px;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .universal_mini .menu_layer.tab_control .bottom-panel .menu-tab-button {font-family: var(--font-family-normal);cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-flex-align: center;align-items: center;background: transparent;color: var(--text-color);font-size: 12px;line-height: 16px;opacity: 0.4; } .universal_mini .menu_layer.tab_control .bottom-panel .menu-tab-button[aria-selected='true'] {opacity: 1; } .universal_mini .menu_layer.tab_control .bottom-panel .menu-tab-button__text {margin-top: 2px; } .universal_mini .menu_layer .content.component_container {position: absolute;top: 64px;bottom: 0;width: 100%; } .universal_mini .menu_layer .content.component_container.animation .content.component_base > div {position: absolute; } .universal_mini .menu_layer .content.component_container .content.component_base {width: 100%;position: relative; } .universal_mini .menu_layer .content.component_container .content.component_base .search-result-layout .result-label {font-family: var(--font-family-bold);margin-top: 28px;margin-left: 20px;font-size: 16px;line-height: 22px;color: var(--panel-text-color); } .universal_mini .menu_layer .content.component_container .content.component_base .search-result-layout .no-matches-label {font-family: var(--font-family-normal);font-size: 15px;line-height: 20px;color: var(--panel-text-color);opacity: 0.6;text-align: center;margin-top: 80px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .separator {background: rgba(0, 0, 0, 0.08);position: relative;width: calc(100% - 20px);height: 1px;left: 10px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .separator:first-child {position: absolute;top: -1px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .separator:last-child {position: absolute;bottom: -1px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list {position: relative; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list.slides_list_highlight-visited .item.visited:not(.active):not(.selected) {color: var(--list-item-text-visited-color); } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;position: relative;min-height: 76px;color: var(--panel-text-color);margin-bottom: 1px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level1 {padding-left: 24px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level2 {padding-left: 48px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level3 {padding-left: 72px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level4 {padding-left: 96px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item .image {float: left;margin: 10px 16px 10px 20px;border-radius: 4px;border: 1px solid rgba(0, 0, 0, 0.04);box-sizing: content-box;max-height: 56px;max-width: 100px;-ms-flex-negative: 0;flex-shrink: 0; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item .text {font-family: var(--font-family-normal);position: relative;margin: 0;padding-right: 10px;padding-bottom: 1px;font-size: 14px;line-height: 18px;word-break: break-word;max-height: 54px;overflow: hidden;text-overflow: ellipsis;flex-grow: 1;display: -webkit-box;-webkit-line-clamp: 3;/*! autoprefixer: off */ -webkit-box-orient: vertical;-ms-box-orient: vertical;-moz-box-orient: vertical;/* autoprefixer: on */ } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item .text .highlighted {font-family: var(--font-family-bold); } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item .text .search-context {opacity: 0.6; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.text_only .text {padding-left: 13px; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.active, .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.selected {background: var(--list-item-background-pressed-color);color: var(--list-item-text-pressed-color); } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.parent::before {content: '';position: absolute;top: 0;bottom: 0;right: 19px;width: 8px;height: 12px;margin: auto;background: url("+ +c[4]+");background-size: contain;background-repeat: no-repeat; } .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.parent .text {padding-right: 25px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-flex-align: center;align-items: center; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .top-container {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-flex-align: center;align-items: center;background-color: transparent;padding: 8px 24px 28px;margin: 0 24px;width: 100%;box-sizing: border-box; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .top-container .name, .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .top-container .job {word-wrap: break-word;position: relative;text-align: center; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .top-container .name {font-family: var(--font-family-bold);color: var(--panel-text-color);font-size: 24px;line-height: 28px;margin-bottom: 8px;margin-top: 16px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .top-container .job {font-family: var(--font-family-normal);color: var(--panel-text-color);opacity: 0.72;font-size: 14px;line-height: 18px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .bottom-container {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-flex-align: center;align-items: center;padding: 28px 0;margin: 0 24px;color: var(--panel-text-color);box-sizing: border-box;width: calc(100% - 48px);border-top: 1px solid var(--mini-skin-presenter-delimiter-color); } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .bottom-container a {color: var(--panel-text-color); } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .bottom-container .item {font-family: var(--font-family-normal);display: -ms-flexbox;display: flex;-ms-flex-align: start;align-items: flex-start;width: 100%;color: var(--panel-text-color); } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .bottom-container .item .item-icon {margin-right: 8px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .bottom-container .item .bottom-container-text {font-size: 15px;line-height: 20px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .bottom-container .item:not(:last-child) {margin-bottom: 16px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .photo_container {position: relative;width: 80px;height: 80px;border-radius: 100%; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .name_photo_container {width: 75px;height: 75px;background: #9EAEB9;border-radius: 100%;left: 0;right: 0;margin: auto;margin-bottom: 10px; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .name_photo_container .letter {font-size: 24px;line-height: 75px;text-align: center;color: #FFFFFF;font-family: Helvetica Neue, Helvetica, Roboto, Arial; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .no_presenter_container {margin-bottom: 10px;display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center; } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .no_presenter_photo {width: 106px;height: 134px;background: url("+ +c[5]+"); } .universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .no_presenter_label {position: relative;font-family: Helvetica Neue, Helvetica, Roboto, Arial;font-size: 15px;color: var(--panel-text-color);padding: 0 40px;text-align: center; } .universal_mini .menu_layer .content.component_container .content.component_base .notes {font-family: var(--font-family-normal);padding: 12px 24px;font-size: 15px;line-height: 20px;color: var(--panel-text-color);width: auto !important;white-space: pre-wrap;word-wrap: break-word; }body {margin: 0;padding: 0;cursor: default;-ms-touch-action: pan-y;touch-action: pan-y;overflow-y: auto; } body .info_panel {position: relative;top: 0;background: #FFFFFF;font-family: Helvetica, Roboto, Arial;padding-top: 161px;padding-bottom: 50px; } body .info_panel, body .info_panel * {box-sizing: border-box; } body .info_panel.domain::before {background: transparent url("+ +c[6]+") no-repeat center; } body .info_panel.time::before {background: transparent url("+c[7]+") no-repeat center; } body .info_panel.password::before {background: transparent url("+c[8]+") no-repeat center; } body .info_panel::before {position: absolute;width: 100%;top: 55px;height: 63px;content: ''; } body .info_panel .message {position: relative;color: #414A5B;font-size: 16px;padding-left: 15px;padding-right: 15px;text-align: center; } body .password .password_field {position: relative;margin-left: 20px;margin-right: 20px;padding-top: 23px;padding-bottom: 26px; } body .password .password_field input {position: relative;width: 100%;height: 34px;border: 1px solid #D6D6D6;border-top: 1px solid #BABABA;padding-left: 8px;font-size: 20px; } body .password .wrong_password_label {position: absolute;font-size: 12px;color: #DD4A37;left: 22px;right: 22px;margin-top: -21px; } body .ok.component_container {position: fixed;bottom: 0;height: 50px;background: #434E50; } body .ok.component_container.active {background: #637375; } body .ok.component_container button {top: 0;bottom: 0;left: 0;width: 100%;position: absolute;background: transparent;border: 0;line-height: 50px;color: #E2E2E2;font-size: 16px; } body .ok.component_container button[disabled] {color: #647577; }.launch-screen {z-index: 999 !important; }.component_base,.component_container {position: absolute; }:focus {outline: none; }::-moz-focus-inner {border: 0; }input {-webkit-appearance: none;appearance: none; }button {cursor: pointer;margin: 0;border: 0; }button[disabled] {cursor: default; }.__player_view_id__ > * {position: absolute; }.__player_view_id__ .slide {white-space: nowrap;font-size: 0; } .__player_view_id__ .slide a {text-decoration: none;cursor: pointer; } .__player_view_id__ .slide a img {border: 0; } .__player_view_id__ .slide * {-ms-transform-origin: 0 0;transform-origin: 0 0; } .__player_view_id__ .slide.relpos, .__player_view_id__ .slide .relpos {position: relative !important;vertical-align: top; } .__player_view_id__ .slide.kern, .__player_view_id__ .slide .kern {text-rendering: optimizeLegibility;font-feature-settings: 'kern' 1, 'liga' 0; } .__player_view_id__ .slide.nokern, .__player_view_id__ .slide .nokern {text-rendering: optimizeSpeed;font-feature-settings: 'kern' 0, 'liga' 0; }.__player_view_id__ .fullscreen {-ms-transform: none !important;transform: none !important;top: 0 !important;left: 0 !important; } .__player_view_id__ .fullscreen > video {background-color: black;width: __slide_width__ !important;height: __slide_height__ !important;z-index: 100; }.__player_view_id__ .video_player video {width: 100%;height: 100%; } .__player_view_id__ .video_player video::cue {color: #FFFFFF;background-color: rgba(8, 8, 8, 0.75);border-radius: 4px;font-family: Helvetica, Roboto, Arial;line-height: 1.1; }.__player_view_id__ .video_player.iphone::after {background: rgba(0, 0, 0, 0) url("+ +c[9]+") no-repeat center;position: absolute;width: 100%;height: 100%;top: 0;right: 0;content: ''; }.__player_view_id__ .video_player.iphone video {opacity: 0; }.__player_view_id__ .video_player.iphone.without_controls video {display: none; }.__player_view_id__ .video_player .controls {height: 36px;background: rgba(45, 50, 55, 0.85098);border: 1px solid #444648;cursor: default;border-radius: 4px; } .__player_view_id__ .video_player .controls .progress {background-color: #75787A;height: 14px;left: 62px;top: 0;bottom: 0;margin-top: auto;margin-bottom: auto;cursor: pointer; } .__player_view_id__ .video_player .controls .progress .bookmark {width: 10px;height: 10px;margin-top: -5px;margin-left: -5px;top: 50%;background: url("+ +c[10]+") no-repeat;cursor: pointer; } .__player_view_id__ .video_player .controls .progress .bookmark:hover, .__player_view_id__ .video_player .controls .progress .bookmark:active {background: url("+c[11]+") no-repeat; } .__player_view_id__ .video_player .controls .progress .loading {background-color: #B1B3B5;height: 100%; } .__player_view_id__ .video_player .controls .progress .playing {background-color: #FFFFFF;height: 100%; } .__player_view_id__ .video_player .controls .progress .tooltip {background: url("+ +c[12]+") no-repeat;width: 60px;height: 25px;top: -33px;margin-left: -30px;font-family: Helvetica, Roboto, Arial;font-size: 12px;padding-top: 2px;text-align: center; } .__player_view_id__ .video_player .controls .volume_popup {border-radius: 3px;background: rgba(45, 50, 55, 0.85098);top: -67px;right: 55px;padding: 8px; } .__player_view_id__ .video_player .controls .volume_popup .volume {background: url("+c[13]+");position: relative;cursor: pointer;width: 12px;height: 48px; } .__player_view_id__ .video_player .controls .volume_popup .volume .back {background: url("+ +c[14]+");width: 100%; } .__player_view_id__ .video_player .controls button {width: 100%;height: 100%; } .__player_view_id__ .video_player .controls button.mute {background: url("+c[15]+"); } .__player_view_id__ .video_player .controls button.mute:hover {background: url("+c[16]+"); } .__player_view_id__ .video_player .controls button.mute:active {background: url("+c[17]+"); } .__player_view_id__ .video_player .controls button.mute.selected {background: url("+c[18]+"); } .__player_view_id__ .video_player .controls button.mute.selected:hover {background: url("+ +c[19]+"); } .__player_view_id__ .video_player .controls button.mute.selected:active {background: url("+c[20]+"); } .__player_view_id__ .video_player .controls button.play {background: url("+c[21]+") no-repeat; } .__player_view_id__ .video_player .controls button.play:hover {background: url("+c[22]+") no-repeat; } .__player_view_id__ .video_player .controls button.play:active {background: url("+c[23]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected {background: url("+ +c[24]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected:hover {background: url("+c[25]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected:active {background: url("+c[26]+") no-repeat; } .__player_view_id__ .video_player .controls button.play::after {background: url("+c[27]+");width: 1px;height: 32px;right: 0;top: 1px;position: absolute;content: ''; } .__player_view_id__ .video_player .controls button.toggle_fullscreen {background: url("+ +c[28]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen:hover {background: url("+c[29]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen:active {background: url("+c[30]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen::before {background: url("+c[27]+") no-repeat;width: 1px;height: 32px;left: 0;top: 1px;position: absolute;content: ''; } .__player_view_id__ .video_player .controls .component_container.toggle_fullscreen, .__player_view_id__ .video_player .controls .component_container.play {width: 52px;height: 34px; } .__player_view_id__ .video_player .controls .component_container.toggle_fullscreen {right: -1px; } .__player_view_id__ .video_player .controls .component_container.mute {width: 22px;height: 22px;right: 58px;top: 6px; }.modal_layer {background: #000000;opacity: 0.7;z-index: 1;width: 100%;height: 100%; }.message_box,.confirm_window {border-radius: 4px;min-height: 150px;min-width: 300px;z-index: 1;background: #FFFFFF;position: absolute;width: 300px;top: 0;right: 0;bottom: 0;left: 0;margin: auto; } .message_box .title, .confirm_window .title {display: none !important; } .message_box .message, .confirm_window .message {padding: 34px 34px 24px 34px;font-size: 14px;line-height: 18px;color: #231F20;font-family: Helvetica, Roboto, Arial; }.message_box .btn_ok.component_container {padding-bottom: 24px;position: relative;text-align: center;height: 44px;width: 100%; } .message_box .btn_ok.component_container button {vertical-align: middle;line-height: 44px;height: 44px;padding-left: 20px;padding-right: 20px;min-width: 110px;margin-left: 5px;margin-right: 5px;position: static;-webkit-appearance: none;appearance: none;border: 0;border-radius: 4px;font-size: 16px;background: #339BE0;color: #FFFFFF; } .message_box .btn_ok.component_container button.active {background: #058ACC; }.confirm_window .buttons_panel {text-align: center;position: relative;padding-bottom: 24px;height: 44px;width: 100%; } .confirm_window .buttons_panel > div {width: 50%;float: right;position: relative; } .confirm_window .buttons_panel > div button {vertical-align: middle;line-height: 44px;height: 44px;padding-left: 20px;padding-right: 20px;min-width: 110px;margin-left: 5px;margin-right: 5px;position: static;-webkit-appearance: none;appearance: none;border: 0;border-radius: 4px;font-size: 16px;background: #339BE0;color: #FFFFFF; } .confirm_window .buttons_panel > div.active button {background: #058ACC; } .confirm_window .buttons_panel > div:only-child {width: 100%;text-align: center !important; } .confirm_window .buttons_panel > div:nth-child(1) {text-align: left; } .confirm_window .buttons_panel > div:nth-child(2) {text-align: right; }.back_to_app {height: 100%;position: absolute;left: 0; } .back_to_app__text {color: #3DA0E1;font-size: 16px;font-family: Helvetica Neue, Helvetica, Roboto, Arial;text-overflow: ellipsis;overflow: hidden;position: absolute;bottom: 0;top: 0;height: 24px;line-height: 24px;margin: auto;padding-left: 25px;max-width: 80px; } .back_to_app__text::before {content: '';background: url("+ +c[31]+") no-repeat center;height: 24px;width: 14px;left: 8px;position: absolute; }.trial_banner {position: relative;transform: translateZ(0); } .trial_banner .banner-content, .trial_banner .banner-content_hover {position: absolute;left: 0;right: 0;top: 0;bottom: 0;width: 100%;height: 100%; } .trial_banner .banner-content {visibility: visible;z-index: 1; } .trial_banner .banner-content_hover {visibility: hidden;z-index: 0; } .trial_banner .days_remaining {position: absolute;font-family: 'Open Sans', Arial, sans-serif;font-weight: normal;font-size: 13px;left: 65px;top: 41px;color: #7C1645;z-index: 1; } .trial_banner:hover .banner-content {visibility: hidden;z-index: 0; } .trial_banner:hover .banner-content_hover {visibility: visible;z-index: 1; }.popup_layer {z-index: 1; } .popup_layer .modal_layer {z-index: initial; }.framesLayer iframe {pointer-events: all; }.slide-transiting .quiz-uikit-primary-button {transition: none; }.slide-transiting .quiz-uikit-secondary-button {transition: none; }.slide-transiting .quiz-uikit-link-button {transition: none; }.slide-transiting .visuals-uikit-primary-button {transition: none; }.slide-transiting .visuals-uikit-secondary-button {transition: none; }.slide-transiting .visuals-uikit-link-button {transition: none; }.uikit-primary-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-primary-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .uikit-primary-button.uikit-primary-button_size_medium {padding: 10px; } .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text {font-size: 17px;line-height: 20px; } .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text:first-child {margin-left: 10px; } .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text:last-child {margin-right: 10px; } .uikit-primary-button.uikit-primary-button_size_small {padding: 6px 12px; } .uikit-primary-button.uikit-primary-button_size_small .uikit-primary-button__button-text {font-size: 14px;line-height: 20px; } .uikit-primary-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-primary-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-primary-button__button-text {margin-right: 8px; } .uikit-primary-button__left-icon {margin-right: 8px; } .uikit-primary-button__button-text:first-child {margin-left: 0; } .uikit-primary-button__button-text:last-child {margin-right: 0; } .uikit-primary-button__left-icon:first-child {margin-left: 0; } .uikit-primary-button__left-icon:last-child {margin-right: 0; } .uikit-primary-button__right-icon:first-child {margin-left: 0; } .uikit-primary-button__right-icon:last-child {margin-right: 0; } .uikit-primary-button[disabled] {opacity: 0.4; } .uikit-primary-button.uikit-primary-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .uikit-primary-button.uikit-primary-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-secondary-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-secondary-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .uikit-secondary-button.uikit-secondary-button_size_medium {padding: 10px; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text {font-size: 17px;line-height: 20px; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text:first-child {margin-left: 10px; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text:last-child {margin-right: 10px; } .uikit-secondary-button.uikit-secondary-button_size_small {padding: 6px 12px; } .uikit-secondary-button.uikit-secondary-button_size_small .uikit-secondary-button__button-text {font-size: 14px;line-height: 20px; } .uikit-secondary-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-secondary-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-secondary-button__button-text {margin-right: 8px; } .uikit-secondary-button__left-icon {margin-right: 8px; } .uikit-secondary-button__button-text:first-child {margin-left: 0; } .uikit-secondary-button__button-text:last-child {margin-right: 0; } .uikit-secondary-button__left-icon:first-child {margin-left: 0; } .uikit-secondary-button__left-icon:last-child {margin-right: 0; } .uikit-secondary-button__right-icon:first-child {margin-left: 0; } .uikit-secondary-button__right-icon:last-child {margin-right: 0; } .uikit-secondary-button[disabled] {opacity: 0.4; } .uikit-secondary-button.uikit-secondary-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .uikit-secondary-button.uikit-secondary-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-link-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-link-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .uikit-link-button.uikit-link-button_size_medium {padding: 10px; } .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text {font-size: 17px;line-height: 20px; } .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text:first-child {margin-left: 10px; } .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text:last-child {margin-right: 10px; } .uikit-link-button.uikit-link-button_size_small {padding: 6px 12px; } .uikit-link-button.uikit-link-button_size_small .uikit-link-button__button-text {font-size: 14px;line-height: 20px; } .uikit-link-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-link-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-link-button__button-text {margin-right: 8px; } .uikit-link-button__left-icon {margin-right: 8px; } .uikit-link-button__button-text:first-child {margin-left: 0; } .uikit-link-button__button-text:last-child {margin-right: 0; } .uikit-link-button__left-icon:first-child {margin-left: 0; } .uikit-link-button__left-icon:last-child {margin-right: 0; } .uikit-link-button__right-icon:first-child {margin-left: 0; } .uikit-link-button__right-icon:last-child {margin-right: 0; } .uikit-link-button[disabled] {opacity: 0.4; } .uikit-link-button.uikit-link-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .uikit-link-button.uikit-link-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-primary-button {background: var(--primary-button-background-color);color: var(--primary-button-text-color); } .uikit-primary-button::after {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;border-radius: inherit;border: 1px solid transparent;background: var(--primary-button-border-color);background-origin: border-box;transition: inherit;-webkit-mask: linear-gradient(#FFFFFF 0, #FFFFFF 0) border-box, linear-gradient(#FFFFFF 0, #FFFFFF 0) padding-box;mask: linear-gradient(#FFFFFF 0 0) border-box, linear-gradient(#FFFFFF 0 0) padding-box;-webkit-mask-composite: xor;mask-composite: exclude;pointer-events: none; } .uikit-primary-button__button-text {font-family: var(--font-family-bold);font-weight: 700; } .uikit-primary-button.uikit-primary-button_active, .uikit-primary-button[aria-pressed='true'], .uikit-primary-button:focus {background: var(--primary-button-background-color-active);color: var(--primary-button-text-color-active); } .uikit-primary-button.uikit-primary-button_active::after, .uikit-primary-button[aria-pressed='true']::after, .uikit-primary-button:focus::after {background: var(--primary-button-border-color-active);background-origin: border-box; }.uikit-secondary-button {background: var(--secondary-button-background-color);color: var(--secondary-button-text-color); } .uikit-secondary-button::after {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;border-radius: inherit;border: 1px solid transparent;background: var(--secondary-button-border-color);background-origin: border-box;transition: inherit;-webkit-mask: linear-gradient(#FFFFFF 0, #FFFFFF 0) border-box, linear-gradient(#FFFFFF 0, #FFFFFF 0) padding-box;mask: linear-gradient(#FFFFFF 0 0) border-box, linear-gradient(#FFFFFF 0 0) padding-box;-webkit-mask-composite: xor;mask-composite: exclude;pointer-events: none; } .uikit-secondary-button__button-text {font-family: var(--font-family-normal); } .uikit-secondary-button.uikit-secondary-button_active, .uikit-secondary-button[aria-pressed='true'], .uikit-secondary-button:focus {background: var(--secondary-button-background-color-active);color: var(--secondary-button-text-color-active); } .uikit-secondary-button.uikit-secondary-button_active::after, .uikit-secondary-button[aria-pressed='true']::after, .uikit-secondary-button:focus::after {background: var(--secondary-button-border-color-active);background-origin: border-box; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text {font-size: 15px; }.uikit-link-button {background: var(--link-button-background-color);color: var(--link-button-text-color);border: none; } .uikit-link-button.uikit-link-button_active, .uikit-link-button[aria-pressed='true'] {background: var(--link-button-background-color); }.uikit-collapsed-control {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;position: relative;overflow: hidden;padding: 10px;border: none;border-radius: var(--button-border-radius);background: var(--secondary-button-background-color-active);color: var(--secondary-button-text-color-active);transition-property: background, color;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-collapsed-control::after {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;border-radius: inherit;border: 1px solid transparent;background: var(--secondary-button-border-color-active);background-origin: border-box;transition: inherit;-webkit-mask: linear-gradient(#FFFFFF 0, #FFFFFF 0) border-box, linear-gradient(#FFFFFF 0, #FFFFFF 0) padding-box;mask: linear-gradient(#FFFFFF 0 0) border-box, linear-gradient(#FFFFFF 0 0) padding-box;-webkit-mask-composite: xor;mask-composite: exclude;pointer-events: none; } .uikit-collapsed-control__collapsed-component {cursor: pointer;display: -ms-flexbox;display: flex; } .uikit-collapsed-control__expanded-component {margin-left: 8px;opacity: 1;transition-property: width, opacity;transition-duration: 300ms;transition-timing-function: ease; } .uikit-collapsed-control.uikit-collapsed-control_collapsed {background: var(--secondary-button-background-color);color: var(--secondary-button-text-color);padding-right: 2px; } .uikit-collapsed-control.uikit-collapsed-control_collapsed::after {background: var(--secondary-button-border-color);background-origin: border-box; } .uikit-collapsed-control.uikit-collapsed-control_collapsed .uikit-collapsed-control__expanded-component {width: 0;opacity: 0; } .uikit-collapsed-control[data-tooltip]::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 0; } .uikit-collapsed-control[data-tooltip]:hover::before {opacity: 1;visibility: visible; }.menu-base {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-flex-align: start;align-items: start;font-family: var(--font-family-normal); }.menu-base-item {width: 100%;box-sizing: border-box;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;height: 44px;padding: 0 20px;color: var(--popup-text-color); } .menu-base-item__label {-ms-flex-positive: 1;flex-grow: 1;font-size: 15px;line-height: 20px;margin-left: 12px; } .menu-base-item__icon {width: 20px;height: 20px;-ms-flex-negative: 0;flex-shrink: 0;color: var(--popup-text-color); } .menu-base-item__value {-ms-flex-negative: 0;flex-shrink: 0;margin-left: 16px; } .menu-base-item.menu-base-item_clickable:hover {cursor: pointer;background: var(--popup-background-hover-color);color: var(--popup-text-hover-color); } .menu-base-item.menu-base-item_clickable:hover .menu-base-item__icon {color: var(--popup-text-hover-color); }.rate-menu {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;width: 100%;padding: 12px 0; } .rate-menu__caption {padding: 8px 20px;color: var(--popup-text-color);font-size: 16px;line-height: 22px;font-family: var(--font-family-bold);font-weight: 700; } .rate-menu__delimiter {width: 100%;height: 1px;background: var(--popup-text-color);opacity: 0.08;margin: 8px 0; }.presenter-info {font-family: var(--font-family-normal);box-sizing: border-box;position: relative;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;color: var(--panel-text-color); } .presenter-info__main {display: -ms-flexbox;display: flex;-ms-flex-align: start;align-items: start; } .presenter-info__info {display: inline-block;-ms-flex-positive: 1;flex-grow: 1; } .presenter-info__photo {width: 64px;height: 64px;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-pack: center;justify-content: center;overflow: hidden;border-radius: 50%;-ms-flex-negative: 0;flex-shrink: 0;background-repeat: no-repeat;background-position: center;margin-right: 20px; } .presenter-info__photo img {width: auto;height: auto; } .presenter-info__name {font-family: var(--font-family-bold);font-weight: 700;word-wrap: break-word;overflow: hidden;font-size: 16px;line-height: 22px;margin-bottom: 8px;max-height: 53px; } .presenter-info__job {word-wrap: break-word;overflow: hidden;font-size: 14px;line-height: 18px;margin-bottom: 8px; } .presenter-info__phone {word-wrap: break-word;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 15px;line-height: 20px; } .presenter-info__links {display: -ms-flexbox;display: flex;margin-top: 8px; } .presenter-info__link {border: 1px solid var(--presenter-info-link-border-color);border-radius: 10px;width: 36px;height: 28px;display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;position: relative;color: var(--panel-text-color); } .presenter-info__link:not(:last-child) {margin-right: 8px; } .presenter-info__link::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 6px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .presenter-info__link:hover::before {opacity: 1;visibility: visible; } .presenter-info__link-icon {width: 20px;height: 20px; } .presenter-info .bio-container {position: relative;display: -webkit-box;white-space: normal;text-overflow: ellipsis;margin-right: -20px;margin-top: 20px;padding-right: 10px;font-size: 14px;line-height: 20px;-ms-flex-positive: 1;flex-grow: 1;height: 100%;max-height: 120px;overflow: hidden; } .presenter-info .bio-container.bio-container_collapsed {max-height: 60px; } .presenter-info .bio-container.bio-container_collapsed .scroll-area__bio {display: -webkit-box;-webkit-line-clamp: 3;/*! autoprefixer: off */ -webkit-box-orient: vertical;-ms-box-orient: vertical;-moz-box-orient: vertical;/* autoprefixer: on */ } .presenter-info .bio-container .scroll-area {word-break: break-word;overflow: hidden; } .presenter-info .bio-container .container-top-shadow {background: __verticalGradient(var(--panel-color), transparent);background: linear-gradient(to bottom, var(--panel-color), transparent);position: absolute;top: 0;left: 0;right: 0;height: 60px;pointer-events: none; } .presenter-info .bio-container .container-bottom-shadow {background: __verticalGradient(transparent, var(--panel-color));background: linear-gradient(to bottom, transparent, var(--panel-color));position: absolute;bottom: 0;left: 0;right: 0;height: 60px;pointer-events: none;border-radius: inherit; } .presenter-info__show-more {font-size: 14px;line-height: 20px;height: 20px;opacity: 0.6;text-decoration: underline; } .presenter-info__show-more:hover {cursor: pointer;opacity: 0.8; } .presenter-info.presenter-info_popup {margin-bottom: 0; } .presenter-info.presenter-info_no-photo .presenter-info__info {width: 100%; }.attachments-info {font-family: var(--font-family-normal);position: relative;width: 100%;overflow: hidden;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column; } .attachments-info__scroll-area {height: 100%;overflow: hidden; } .attachments-info__delimiter {height: 1px;margin: 8px 20px 8px 62px;background: var(--popup-text-color);opacity: 0.08; } .attachments-info .container-top-shadow {background: __verticalGradient(var(--panel-color), transparent);background: linear-gradient(to bottom, var(--panel-color), transparent);position: absolute;top: 0;left: 0;right: 0;height: 60px;pointer-events: none; } .attachments-info .container-bottom-shadow {background: __verticalGradient(transparent, var(--panel-color));background: linear-gradient(to bottom, transparent, var(--panel-color));position: absolute;bottom: 0;left: 0;right: 0;height: 60px;pointer-events: none;border-radius: inherit; }.attach-item {padding: 8px 20px;box-sizing: border-box;display: -ms-flexbox;display: flex;-ms-flex-align: start;align-items: start;cursor: pointer; } .attach-item__icon-container {width: 36px;height: 36px;border-radius: 50%;background: var(--top-panel-icon-container-color);display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;-ms-flex-negative: 0;flex-shrink: 0;margin-right: 6px; } .attach-item__icon {width: 20px;height: 20px;color: var(--popup-text-color);opacity: 0.72; } .attach-item__info-container {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-flex-positive: 1;flex-grow: 1;padding-left: 6px; } .attach-item__title {font-size: 15px;line-height: 20px;margin-bottom: 4px;color: var(--popup-text-color);word-break: break-word;max-height: 60px;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 3;/*! autoprefixer: off */ -webkit-box-orient: vertical;-ms-box-orient: vertical;-moz-box-orient: vertical;/* autoprefixer: on */ } .attach-item__subtitle {font-size: 14px;line-height: 18px;color: var(--popup-text-color);opacity: 0.6; } .attach-item:hover {background: var(--list-item-background-hover-color); } .attach-item:hover .attach-item__title {color: var(--popup-text-hover-color); } .attach-item:hover .attach-item__subtitle {color: var(--popup-text-hover-color); } .attach-item:hover .attach-item__icon {color: var(--popup-text-hover-color); }.message-box {background: var(--player-background-color);position: absolute;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;border-radius: 7px;min-width: 280px;padding: 40px;box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08); } .message-box::after {content: '';box-sizing: border-box;border: 1px solid var(--popup-border);width: 100%;height: 100%;position: absolute;left: 0;top: 0;border-radius: 7px;pointer-events: none; } .message-box__content {position: relative;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-direction: column;flex-direction: column; } .message-box__icon {width: 24px;height: 24px;margin-bottom: 24px;position: relative;display: inline-block;color: var(--text-color);opacity: 0.72; } .message-box .message-box-buttons {position: relative;width: 100%;height: 36px; } .message-box .message-box-buttons__buttons {display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center; } .message-box .message-box-buttons__window-button {margin: 0 4px; } .message-box .vertical-scrollbar {top: 40px; } .message-box__message-container {overflow: hidden;display: inline-block;max-width: 480px;vertical-align: top;position: relative; } .message-box__message {text-align: center;font-size: 15px;color: var(--text-color);text-overflow: ellipsis;overflow: hidden;position: relative;font-family: Helvetica Neue, Helvetica, Roboto, Arial; } .message-box__buttons {margin-top: 28px; }.back-to-app-button {position: absolute;top: 6px;left: 12px;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-pack: center;justify-content: center;width: 40px;height: 40px; } .back-to-app-button svg path {fill: var(--text-color); }.quiz-tablet-skin {background: var(--player-background-color); } .quiz-tablet-skin .smartphone-top-panel.smartphone-top-panel_mode_reviewing .smartphone-top-panel__button.smartphone-top-panel__button_outline {-ms-grid-column: 1;grid-column: 1; }.smartphone-slide-list-slides * {box-sizing: border-box; }.universal_mini.mobile .playerView {background-color: var(--player-background-color); }.universal_mini.mobile:not(.landscape) .slide-list-header__awarded-points-cell {display: none; }.universal_mini.mobile:not(.landscape) .slide-list-header__max-points-cell {display: none; }.universal_mini.mobile:not(.landscape) .slide-state-list-row__awarded-points {display: none; }.universal_mini.mobile:not(.landscape) .slide-state-list-row__points {display: none; }.menu_layer .component_base.content {min-height: 100%; }.menu_layer .smartphone-slide-list-slides {height: 100%; }"; +let e;for(const [g,h]of Object.entries(null!=(e=a)?e:{}))a=`__${g.replace(RegExp("\\.","g"),"_")}__`,c=c.replace(new RegExp(a,"g"),h);let f;for(const [g,h]of Object.entries(null!=(f=b)?f:{}))c=c.replace(new RegExp(g,"g"),h);c=c.replace(/__verticalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.Pk);c=c.replace(/__horizontalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.Ok);return gn(c)}Pk(a,b,c){return`url(data:image/svg+xml;base64,${qh(``)})`}Ok(a, +b,c){return`url(data:image/svg+xml;base64,${qh(``)})`}};class JG{Yo(a,b){const c=g=>{g=sh(g);let h;for(const [l,n]of Object.entries(null!=(h=a)?h:{}))g=g.replace(new RegExp(`{${l}}`,"g"),n);return qh(g)};let d=function(){var g=["data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wL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gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/PjwvbWV0YWRhdGE+CjxkZWZzPgogICAgPHN0eWxlPgogICAgICAuY2xzLTEgewogICAgICAgIGZpbGw6ICNmZmY7CiAgICAgICAgZmlsbC1ydWxlOiBldmVub2RkOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cGF0aCBpZD0iU2hhcGVfMTUwMF9jb3B5XzciIGRhdGEtbmFtZT0iU2hhcGUgMTUwMCBjb3B5IDciIGNsYXNzPSJjbHMtMSIgZD0iTTY3NDUsNjc3bC01LTUsNS01djNoMTB2NGgtMTB2M1ptNy0xLDUsNS01LDV2LTNoLTEwdi00aDEwdi0zWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTY3NDAgLTY2NykiLz4KPC9zdmc+Cg==", +"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOSIgaGVpZ2h0PSIxNyIgdmlld0JveD0iMCAwIDE5IDE3Ij4KICA8bWV0YWRhdGE+PD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIi8+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/PjwvbWV0YWRhdGE+CjxkZWZzPgogICAgPHN0eWxlPgogICAgICAuY2xzLTEgewogICAgICAgIGZpbGw6ICNmZmY7CiAgICAgICAgZmlsbC1ydWxlOiBldmVub2RkOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cGF0aCBpZD0iU2hhcGVfMTUwMF9jb3B5XzciIGRhdGEtbmFtZT0iU2hhcGUgMTUwMCBjb3B5IDciIGNsYXNzPSJjbHMtMSIgZD0iTTY3NDksNjgwbC01LDUtNS01aDNWNjcwaDR2MTBoM1ptLTEtNyw1LTUsNSw1aC0zdjEwaC00VjY3M2gtM1oiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC02NzM5IC02NjgpIi8+Cjwvc3ZnPgo=", +"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB3aWR0aD0iMjhweCIgaGVpZ2h0PSIzM3B4IiB2aWV3Qm94PSIwIDAgMjguMzAyIDMzLjI0MiI+DQoJPHBhdGggZD0iTTAsMS44VjMxLjQ0MmExLjgsMS44LDAsMCwwLDIuNzI2LDEuNTQzbDI0LjctMTQuODJhMS44LDEuOCwwLDAsMCwwLTMuMDg3TDIuNzI2LjI1N0ExLjgsMS44LDAsMCwwLDAsMS44WiIgc3R5bGU9ImZpbGw6IzMzMyIvPg0KPC9zdmc+","data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOHB4IiBoZWlnaHQ9IjMzcHgiIHZpZXdCb3g9IjAgMCAyOC4zMDIgMzMuMjQyIj4NCgk8cGF0aCBkPSJNMCwxLjhWMzEuNDQyYTEuOCwxLjgsMCwwLDAsMi43MjYsMS41NDNsMjQuNy0xNC44MmExLjgsMS44LDAsMCwwLDAtMy4wODdMMi43MjYuMjU3QTEuOCwxLjgsMCwwLDAsMCwxLjhaIiBzdHlsZT0iZmlsbDojNTI4YmRmIi8+DQo8L3N2Zz4="]; +return"/* reset styles */* {box-sizing: border-box;-webkit-touch-callout: none;-webkit-user-select: none;-ms-user-select: none;user-select: none; }input,textarea {-webkit-user-select: text;-ms-user-select: text;user-select: text; }html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {margin: 0;padding: 0;border: 0; }/* HTML5 display-role reset for older browsers */article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {display: block; }ol,ul {list-style: none; }table {border-collapse: collapse;border-spacing: 0; }div {-webkit-tap-highlight-color: rgba(0, 0, 0, 0);-webkit-user-drag: none; }input {-webkit-appearance: none;-moz-appearance: none; } input::-ms-clear {display: none; }.clear {clear: both; }*::-moz-focus-inner {border: 0; }body {margin: 0;padding: 0;overflow: hidden;cursor: default;-ms-touch-action: pan-y;touch-action: pan-y;-webkit-tap-highlight-color: rgba(0, 0, 0, 0); } body .password_form, body .info_panel {position: absolute;background: #F7F7F7;border-radius: 4px;width: 513px;height: 210px;font-family: Arial; } body .password_form *, body .info_panel * {box-sizing: border-box; } body .password_form .password_label {position: absolute;color: #3A3A3A;font-size: 15px;top: 63px;left: 55px; } body .password_form .wrong_password_label {position: absolute;color: #DD4A37;font-size: 12px;top: 131px;left: 55px; } body .password_form input {position: absolute;width: 330px;height: 32px;background: #FFFFFF;border: 1px solid #D1D2D4;padding: 1px;border-radius: 2px;font-size: 18px;color: #231F20;left: 54px;top: 94px;padding-left: 8px; } body .password_form button {border: transparent;background: transparent;color: #343434;font-family: Arial;font-size: 15px;text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); } body .password_form button::before {background: linear-gradient(to bottom, #D3D3D3, #BABABA);position: absolute;content: '';top: 0;right: 0;bottom: 0;left: 0;border-radius: 4px;z-index: -1; } body .password_form button::after {background: linear-gradient(to bottom, #DCDCDC, #D1D1D1);position: absolute;content: '';top: 1px;right: 1px;bottom: 1px;left: 1px;border-radius: 4px;z-index: -1; } body .password_form .btn_ok {position: absolute;top: 94px;right: 55px;width: 60px;height: 32px;opacity: 0.99; } body .info_panel {display: table; } body .info_panel .label {position: static;display: table-cell;vertical-align: middle;width: 100%;padding-left: 120px;padding-right: 40px;color: #3A3A3A;font-size: 15px; } body .info_panel::after {position: absolute;content: '';width: 63px;height: 63px;top: 73px;left: 46px; } body .info_panel.domain::after {background: transparent url("+ +g[0]+"); } body .info_panel.time::after {background: transparent url("+g[1]+"); }.component_base,.component_container {position: absolute; }:focus {outline: none; }::-moz-focus-inner {border: 0; }input {-webkit-appearance: none;appearance: none; }button {cursor: pointer;margin: 0;border: 0; }button[disabled] {cursor: default; }.__player_view_id__ {position: absolute; } .__player_view_id__ > * {position: absolute; } .__player_view_id__ .slide {white-space: nowrap;font-size: 0; } .__player_view_id__ .slide a {text-decoration: none;cursor: pointer; } .__player_view_id__ .slide a img {border: 0; } .__player_view_id__ .slide * {-ms-transform-origin: 0 0;transform-origin: 0 0; } .__player_view_id__ .slide.relpos, .__player_view_id__ .slide .relpos {position: relative !important;vertical-align: top; } .__player_view_id__ .slide.kern, .__player_view_id__ .slide .kern {text-rendering: optimizeLegibility;font-feature-settings: 'kern' 1, 'liga' 0; } .__player_view_id__ .slide.nokern, .__player_view_id__ .slide .nokern {text-rendering: optimizeSpeed;font-feature-settings: 'kern' 0, 'liga' 0; } .__player_view_id__ .fullscreen {-ms-transform: none !important;transform: none !important;top: 0 !important;left: 0 !important; } .__player_view_id__ .fullscreen > video, .__player_view_id__ .fullscreen .video_player {background-color: black;width: __slide_width__ !important;height: __slide_height__ !important;z-index: 100;-ms-transform: none !important;transform: none !important; } .__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen {background: url("+ +g[2]+") no-repeat; } .__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen:hover {background: url("+g[3]+") no-repeat; } .__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen:active {background: url("+g[4]+") no-repeat; } .__player_view_id__ .video_player video {width: 100%;height: 100%;margin: auto;top: 0;right: 0;bottom: 0;left: 0; } .__player_view_id__ .video_player video::cue {color: #FFFFFF;background-color: rgba(8, 8, 8, 0.75);border-radius: 4px;font-family: Helvetica, Roboto, Arial, sans-serif;line-height: 1.1; } .__player_view_id__ .video_player.poster_frame_hide_video video {display: none; } .__player_view_id__ .video_player.poster_frame video {opacity: 0; } .__player_view_id__ .video_player.poster_frame_hide_video .poster, .__player_view_id__ .video_player.poster_frame .poster {position: absolute;width: 100%;height: 100%; } .__player_view_id__ .video_player .controls {height: 36px;background: rgba(45, 50, 55, 0.85098);border: 1px solid #444648;cursor: default;border-radius: 4px; } .__player_view_id__ .video_player .controls, .__player_view_id__ .video_player .controls * {-webkit-backface-visibility: hidden;backface-visibility: hidden; } .__player_view_id__ .video_player .controls .progress {background-color: #75787A;height: 14px;left: 64px;top: 0;bottom: 0;margin-top: auto;margin-bottom: auto;cursor: pointer; } .__player_view_id__ .video_player .controls .progress .bookmark {width: 10px;height: 10px;margin-top: -5px;margin-left: -5px;top: 50%;background: url("+ +g[5]+") no-repeat;cursor: pointer; } .__player_view_id__ .video_player .controls .progress .bookmark:hover, .__player_view_id__ .video_player .controls .progress .bookmark:active {background: url("+g[6]+") no-repeat; } .__player_view_id__ .video_player .controls .progress .loading {background-color: #B1B3B5;height: 100%; } .__player_view_id__ .video_player .controls .progress .playing {background-color: #FFFFFF;height: 100%; } .__player_view_id__ .video_player .controls .progress .tooltip {background: url("+ +g[7]+") no-repeat;width: 60px;height: 25px;top: -33px;margin-left: -30px;font-family: Arial;font-size: 12px;padding-top: 2px;text-align: center; } .__player_view_id__ .video_player .controls .volume_popup {border-radius: 3px;background: rgba(45, 50, 55, 0.85098);top: -67px;right: 65px;padding: 8px;box-sizing: border-box;width: 28px;height: 64px; } .__player_view_id__ .video_player .controls .volume_popup .volume {background: url("+g[8]+");position: relative;cursor: pointer;width: 12px;height: 48px; } .__player_view_id__ .video_player .controls .volume_popup .volume .back {background: url("+ +g[9]+");width: 100%; } .__player_view_id__ .video_player .controls button {width: 100%;height: 100%; } .__player_view_id__ .video_player .controls button.rate {background: url("+g[10]+") no-repeat center; } .__player_view_id__ .video_player .controls button.rate.selected {background-color: rgba(255, 255, 255, 0.1); } .__player_view_id__ .video_player .controls button.mute {background: url("+g[11]+"); } .__player_view_id__ .video_player .controls button.mute:hover {background: url("+ +g[12]+"); } .__player_view_id__ .video_player .controls button.mute:active {background: url("+g[13]+"); } .__player_view_id__ .video_player .controls button.mute.selected {background: url("+g[14]+"); } .__player_view_id__ .video_player .controls button.mute.selected:hover {background: url("+g[15]+"); } .__player_view_id__ .video_player .controls button.mute.selected:active {background: url("+g[16]+"); } .__player_view_id__ .video_player .controls button.subtitles {background: url("+ +g[17]+") no-repeat center; } .__player_view_id__ .video_player .controls button.subtitles.selected {background-color: rgba(255, 255, 255, 0.1); } .__player_view_id__ .video_player .controls button.play {background: url("+g[18]+") no-repeat; } .__player_view_id__ .video_player .controls button.play:hover {background: url("+g[19]+") no-repeat; } .__player_view_id__ .video_player .controls button.play:active {background: url("+g[20]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected {background: url("+ +g[21]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected:hover {background: url("+g[22]+") no-repeat; } .__player_view_id__ .video_player .controls button.play.selected:active {background: url("+g[23]+") no-repeat; } .__player_view_id__ .video_player .controls button.play::after {background: url("+g[24]+");width: 1px;height: 32px;right: 0;top: 1px;position: absolute;content: ''; } .__player_view_id__ .video_player .controls button.toggle_fullscreen {background: url("+ +g[25]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen:hover {background: url("+g[26]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen:active {background: url("+g[27]+") no-repeat; } .__player_view_id__ .video_player .controls button.toggle_fullscreen::before {background: url("+g[24]+") no-repeat;width: 1px;height: 32px;left: 0;top: 1px;position: absolute;content: ''; } .__player_view_id__ .video_player .controls .subtitles-list {width: 195px;right: 0;border-radius: 4px;border: solid 1px #444648;background-color: rgba(45, 50, 55, 0.85);font-family: Helvetica, Roboto, Arial, sans-serif;font-size: 14px;font-weight: normal;font-stretch: normal;font-style: normal;line-height: normal;letter-spacing: normal;padding: 3px 0;bottom: 37px; } .__player_view_id__ .video_player .controls .subtitles-list__caption {position: relative !important;padding: 12px 0 22px 0;color: #b8b8b8;text-align: center; } .__player_view_id__ .video_player .controls .subtitles-list__caption::after {position: absolute;content: '';width: calc(100% - 20px);left: 0;right: 0;bottom: 5px;margin: auto;border-bottom: 1px solid #444648; } .__player_view_id__ .video_player .controls .subtitles-list__item {color: #b8b8b8;position: relative !important;padding: 10px 2px 10px 35px;cursor: pointer;overflow: hidden;text-overflow: ellipsis; } .__player_view_id__ .video_player .controls .subtitles-list__item.subtitles-list__item_active {background-color: rgba(255, 255, 255, 0.1);color: #FFFFFF; } .__player_view_id__ .video_player .controls .subtitles-list__item[aria-selected='true'] {background-color: rgba(0, 0, 0, 0.24);color: #FFFFFF;padding-left: 12px; } .__player_view_id__ .video_player .controls .subtitles-list__item[aria-selected='true']::before {background: url("+ +g[28]+") no-repeat;width: 14px;height: 15px;padding-right: 23px;content: ''; } .__player_view_id__ .video_player .controls .toggle_fullscreen {width: 52px;height: 34px; } .__player_view_id__ .video_player .controls .play {width: 52px;height: 34px; } .__player_view_id__ .video_player .controls .rate {width: 32px;height: 34px;right: 95px;top: 0; } .__player_view_id__ .video_player .controls .rate.rate_subtitle-button-next {right: 127px; } .__player_view_id__ .video_player .controls .playback-rate-menu {width: 120px;right: 51px;border-radius: 4px;border: solid 1px #444648;background-color: rgba(45, 50, 55, 0.85);font-family: Helvetica, Roboto, Arial, sans-serif;font-size: 14px;font-weight: normal;font-stretch: normal;font-style: normal;line-height: normal;letter-spacing: normal;padding: 3px 0;bottom: 37px; } .__player_view_id__ .video_player .controls .playback-rate-menu.playback-rate-menu_subtitle-button-next {right: 83px; } .__player_view_id__ .video_player .controls .playback-rate-menu__caption {position: relative !important;padding: 12px 0 22px 0;color: #b8b8b8;text-align: center; } .__player_view_id__ .video_player .controls .playback-rate-menu__caption::after {position: absolute;content: '';width: calc(100% - 20px);left: 0;right: 0;bottom: 5px;margin: auto;border-bottom: 1px solid #444648; } .__player_view_id__ .video_player .controls .playback-rate-menu__item {color: #b8b8b8;position: relative !important;padding: 10px 2px 10px 35px;cursor: pointer;overflow: hidden;text-overflow: ellipsis; } .__player_view_id__ .video_player .controls .playback-rate-menu__item.playback-rate-menu__item_active {background-color: rgba(255, 255, 255, 0.1);color: #FFFFFF; } .__player_view_id__ .video_player .controls .playback-rate-menu__item[aria-selected='true'] {background-color: rgba(0, 0, 0, 0.24);color: #FFFFFF;padding-left: 12px; } .__player_view_id__ .video_player .controls .playback-rate-menu__item[aria-selected='true']::before {background: url("+ +g[28]+") no-repeat;width: 14px;height: 15px;padding-right: 23px;content: ''; } .__player_view_id__ .video_player .controls .subtitles {width: 32px;height: 34px;right: 95px;top: 0; } .__player_view_id__ .video_player .controls .toggle_fullscreen {right: -1px; } .__player_view_id__ .video_player .controls .mute {width: 22px;height: 22px;right: 67px;top: 6px; }.popup_layer {position: absolute; } .popup_layer .modal_layer {background: #000000;opacity: 0.4;z-index: 10;width: 100%;height: 100%; } .popup_layer .message_box, .popup_layer .confirm_window {background: #FFFFFF;border-radius: 5px;border: 1px solid rgba(0, 0, 0, 0.75);width: 357px;height: 150px;position: absolute;top: 0;right: 0;bottom: 0;left: 0;margin: auto;z-index: 10; } .popup_layer .message_box::after, .popup_layer .confirm_window::after {background-color: #E6E6E6;width: 100%;height: 1px;top: 30px;position: absolute;content: ''; } .popup_layer .message_box .title, .popup_layer .message_box .message, .popup_layer .confirm_window .title, .popup_layer .confirm_window .message {font-family: Helvetica, Roboto, Arial, sans-serif;font-size: 14px;color: #323232; } .popup_layer .message_box .title, .popup_layer .confirm_window .title {position: absolute;left: 13px;top: 7px;font-weight: bold;background: transparent; } .popup_layer .message_box .message, .popup_layer .confirm_window .message {position: absolute;top: 47px;left: 69px;margin-right: 25px; } .popup_layer .message_box .message::before, .popup_layer .confirm_window .message::before {background-color: #E6E6E6;width: 35px;height: 35px;left: -45px;position: absolute;content: ''; } .popup_layer .message_box button, .popup_layer .confirm_window button {font-size: 14px;border-radius: 5px;color: #323232;width: 68px;height: 30px; } .popup_layer .message_box button, .popup_layer .message_box button.mobile:hover, .popup_layer .message_box button.mobile:active, .popup_layer .confirm_window button, .popup_layer .confirm_window button.mobile:hover, .popup_layer .confirm_window button.mobile:active {background: #D4D4D4; } .popup_layer .message_box button:hover, .popup_layer .message_box button:active, .popup_layer .message_box button.mobile.active, .popup_layer .confirm_window button:hover, .popup_layer .confirm_window button:active, .popup_layer .confirm_window button.mobile.active {background: #B8B8B8; } .popup_layer .confirm_window button.btn_yes {left: 101px;top: 98px; } .popup_layer .confirm_window button.btn_no {left: 181px;top: 98px; } .popup_layer .confirm_window .message::before {background: url("+ +g[29]+"); } .popup_layer .message_box button.btn_ok {left: 141px;top: 98px; } .popup_layer .message_box .message::before {background: url("+g[30]+"); }.transitionSlide.paused * {animation-play-state: paused !important; }.framesLayer .video_player {-ms-transform-origin: 0 0;transform-origin: 0 0; }.framesLayer *:not(.framesLayerContent) {pointer-events: all; }.framesLayer .framesLayerContent {position: absolute; } .framesLayer .framesLayerContent > div {pointer-events: all; }.trial_banner {position: relative;transform: translateZ(0); } .trial_banner .banner-content, .trial_banner .banner-content_hover {position: absolute;left: 0;right: 0;top: 0;bottom: 0;width: 100%;height: 100%; } .trial_banner .banner-content {visibility: visible;z-index: 1; } .trial_banner .banner-content_hover {visibility: hidden;z-index: 0; } .trial_banner .days_remaining {position: absolute;font-family: 'Open Sans', Arial, sans-serif;font-weight: normal;font-size: 13px;left: 65px;top: 41px;color: #7C1645;z-index: 1; } .trial_banner:hover .banner-content {visibility: hidden;z-index: 0; } .trial_banner:hover .banner-content_hover {visibility: visible;z-index: 1; }.popup-layer {top: 0;right: 0;bottom: 0;left: 0;z-index: 1;position: absolute;border-radius: inherit; }.modal-layer {background: #000000;opacity: 0.4;position: absolute;width: 100%;height: 100%;border-radius: inherit; }.slide-transiting .quiz-uikit-primary-button {transition: none; }.slide-transiting .quiz-uikit-secondary-button {transition: none; }.slide-transiting .quiz-uikit-link-button {transition: none; }.slide-transiting .visuals-uikit-primary-button {transition: none; }.slide-transiting .visuals-uikit-secondary-button {transition: none; }.slide-transiting .visuals-uikit-link-button {transition: none; }.uikit-primary-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-primary-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .uikit-primary-button.uikit-primary-button_size_medium {padding: 10px; } .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text {font-size: 17px;line-height: 20px; } .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text:first-child {margin-left: 10px; } .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text:last-child {margin-right: 10px; } .uikit-primary-button.uikit-primary-button_size_small {padding: 6px 12px; } .uikit-primary-button.uikit-primary-button_size_small .uikit-primary-button__button-text {font-size: 14px;line-height: 20px; } .uikit-primary-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-primary-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-primary-button__button-text {margin-right: 8px; } .uikit-primary-button__left-icon {margin-right: 8px; } .uikit-primary-button__button-text:first-child {margin-left: 0; } .uikit-primary-button__button-text:last-child {margin-right: 0; } .uikit-primary-button__left-icon:first-child {margin-left: 0; } .uikit-primary-button__left-icon:last-child {margin-right: 0; } .uikit-primary-button__right-icon:first-child {margin-left: 0; } .uikit-primary-button__right-icon:last-child {margin-right: 0; } .uikit-primary-button[disabled] {opacity: 0.4; } .uikit-primary-button.uikit-primary-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .uikit-primary-button.uikit-primary-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-secondary-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-secondary-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .uikit-secondary-button.uikit-secondary-button_size_medium {padding: 10px; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text {font-size: 17px;line-height: 20px; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text:first-child {margin-left: 10px; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text:last-child {margin-right: 10px; } .uikit-secondary-button.uikit-secondary-button_size_small {padding: 6px 12px; } .uikit-secondary-button.uikit-secondary-button_size_small .uikit-secondary-button__button-text {font-size: 14px;line-height: 20px; } .uikit-secondary-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-secondary-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-secondary-button__button-text {margin-right: 8px; } .uikit-secondary-button__left-icon {margin-right: 8px; } .uikit-secondary-button__button-text:first-child {margin-left: 0; } .uikit-secondary-button__button-text:last-child {margin-right: 0; } .uikit-secondary-button__left-icon:first-child {margin-left: 0; } .uikit-secondary-button__left-icon:last-child {margin-right: 0; } .uikit-secondary-button__right-icon:first-child {margin-left: 0; } .uikit-secondary-button__right-icon:last-child {margin-right: 0; } .uikit-secondary-button[disabled] {opacity: 0.4; } .uikit-secondary-button.uikit-secondary-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .uikit-secondary-button.uikit-secondary-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-link-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-link-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; } .uikit-link-button.uikit-link-button_size_medium {padding: 10px; } .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text {font-size: 17px;line-height: 20px; } .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text:first-child {margin-left: 10px; } .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text:last-child {margin-right: 10px; } .uikit-link-button.uikit-link-button_size_small {padding: 6px 12px; } .uikit-link-button.uikit-link-button_size_small .uikit-link-button__button-text {font-size: 14px;line-height: 20px; } .uikit-link-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-link-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; } .uikit-link-button__button-text {margin-right: 8px; } .uikit-link-button__left-icon {margin-right: 8px; } .uikit-link-button__button-text:first-child {margin-left: 0; } .uikit-link-button__button-text:last-child {margin-right: 0; } .uikit-link-button__left-icon:first-child {margin-left: 0; } .uikit-link-button__left-icon:last-child {margin-right: 0; } .uikit-link-button__right-icon:first-child {margin-left: 0; } .uikit-link-button__right-icon:last-child {margin-right: 0; } .uikit-link-button[disabled] {opacity: 0.4; } .uikit-link-button.uikit-link-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .uikit-link-button.uikit-link-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-primary-button {background: var(--primary-button-background-color);color: var(--primary-button-text-color); } .uikit-primary-button::after {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;border-radius: inherit;border: 1px solid transparent;background: var(--primary-button-border-color);background-origin: border-box;transition: inherit;-webkit-mask: linear-gradient(#FFFFFF 0, #FFFFFF 0) border-box, linear-gradient(#FFFFFF 0, #FFFFFF 0) padding-box;mask: linear-gradient(#FFFFFF 0 0) border-box, linear-gradient(#FFFFFF 0 0) padding-box;-webkit-mask-composite: xor;mask-composite: exclude;pointer-events: none; } .uikit-primary-button__button-text {font-family: var(--font-family-bold);font-weight: 700; } .uikit-primary-button.uikit-primary-button_active, .uikit-primary-button[aria-pressed='true'], .uikit-primary-button:focus {background: var(--primary-button-background-color-active);color: var(--primary-button-text-color-active); } .uikit-primary-button.uikit-primary-button_active::after, .uikit-primary-button[aria-pressed='true']::after, .uikit-primary-button:focus::after {background: var(--primary-button-border-color-active);background-origin: border-box; }.uikit-secondary-button {background: var(--secondary-button-background-color);color: var(--secondary-button-text-color); } .uikit-secondary-button::after {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;border-radius: inherit;border: 1px solid transparent;background: var(--secondary-button-border-color);background-origin: border-box;transition: inherit;-webkit-mask: linear-gradient(#FFFFFF 0, #FFFFFF 0) border-box, linear-gradient(#FFFFFF 0, #FFFFFF 0) padding-box;mask: linear-gradient(#FFFFFF 0 0) border-box, linear-gradient(#FFFFFF 0 0) padding-box;-webkit-mask-composite: xor;mask-composite: exclude;pointer-events: none; } .uikit-secondary-button__button-text {font-family: var(--font-family-normal); } .uikit-secondary-button.uikit-secondary-button_active, .uikit-secondary-button[aria-pressed='true'], .uikit-secondary-button:focus {background: var(--secondary-button-background-color-active);color: var(--secondary-button-text-color-active); } .uikit-secondary-button.uikit-secondary-button_active::after, .uikit-secondary-button[aria-pressed='true']::after, .uikit-secondary-button:focus::after {background: var(--secondary-button-border-color-active);background-origin: border-box; } .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text {font-size: 15px; }.uikit-link-button {background: var(--link-button-background-color);color: var(--link-button-text-color);border: none; } .uikit-link-button.uikit-link-button_active, .uikit-link-button[aria-pressed='true'] {background: var(--link-button-background-color); }.uikit-collapsed-control {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;position: relative;overflow: hidden;padding: 10px;border: none;border-radius: var(--button-border-radius);background: var(--secondary-button-background-color-active);color: var(--secondary-button-text-color-active);transition-property: background, color;transition-duration: 0.28s;transition-timing-function: ease; } .uikit-collapsed-control::after {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;border-radius: inherit;border: 1px solid transparent;background: var(--secondary-button-border-color-active);background-origin: border-box;transition: inherit;-webkit-mask: linear-gradient(#FFFFFF 0, #FFFFFF 0) border-box, linear-gradient(#FFFFFF 0, #FFFFFF 0) padding-box;mask: linear-gradient(#FFFFFF 0 0) border-box, linear-gradient(#FFFFFF 0 0) padding-box;-webkit-mask-composite: xor;mask-composite: exclude;pointer-events: none; } .uikit-collapsed-control__collapsed-component {cursor: pointer;display: -ms-flexbox;display: flex; } .uikit-collapsed-control__expanded-component {margin-left: 8px;opacity: 1;transition-property: width, opacity;transition-duration: 300ms;transition-timing-function: ease; } .uikit-collapsed-control.uikit-collapsed-control_collapsed {background: var(--secondary-button-background-color);color: var(--secondary-button-text-color);padding-right: 2px; } .uikit-collapsed-control.uikit-collapsed-control_collapsed::after {background: var(--secondary-button-border-color);background-origin: border-box; } .uikit-collapsed-control.uikit-collapsed-control_collapsed .uikit-collapsed-control__expanded-component {width: 0;opacity: 0; } .uikit-collapsed-control[data-tooltip]::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 0; } .uikit-collapsed-control[data-tooltip]:hover::before {opacity: 1;visibility: visible; }.menu-base {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-flex-align: start;align-items: start;font-family: var(--font-family-normal); }.menu-base-item {width: 100%;box-sizing: border-box;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;height: 44px;padding: 0 20px;color: var(--popup-text-color); } .menu-base-item__label {-ms-flex-positive: 1;flex-grow: 1;font-size: 15px;line-height: 20px;margin-left: 12px; } .menu-base-item__icon {width: 20px;height: 20px;-ms-flex-negative: 0;flex-shrink: 0;color: var(--popup-text-color); } .menu-base-item__value {-ms-flex-negative: 0;flex-shrink: 0;margin-left: 16px; } .menu-base-item.menu-base-item_clickable:hover {cursor: pointer;background: var(--popup-background-hover-color);color: var(--popup-text-hover-color); } .menu-base-item.menu-base-item_clickable:hover .menu-base-item__icon {color: var(--popup-text-hover-color); }.rate-menu {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;width: 100%;padding: 12px 0; } .rate-menu__caption {padding: 8px 20px;color: var(--popup-text-color);font-size: 16px;line-height: 22px;font-family: var(--font-family-bold);font-weight: 700; } .rate-menu__delimiter {width: 100%;height: 1px;background: var(--popup-text-color);opacity: 0.08;margin: 8px 0; }.presenter-info {font-family: var(--font-family-normal);box-sizing: border-box;position: relative;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;color: var(--panel-text-color); } .presenter-info__main {display: -ms-flexbox;display: flex;-ms-flex-align: start;align-items: start; } .presenter-info__info {display: inline-block;-ms-flex-positive: 1;flex-grow: 1; } .presenter-info__photo {width: 64px;height: 64px;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-pack: center;justify-content: center;overflow: hidden;border-radius: 50%;-ms-flex-negative: 0;flex-shrink: 0;background-repeat: no-repeat;background-position: center;margin-right: 20px; } .presenter-info__photo img {width: auto;height: auto; } .presenter-info__name {font-family: var(--font-family-bold);font-weight: 700;word-wrap: break-word;overflow: hidden;font-size: 16px;line-height: 22px;margin-bottom: 8px;max-height: 53px; } .presenter-info__job {word-wrap: break-word;overflow: hidden;font-size: 14px;line-height: 18px;margin-bottom: 8px; } .presenter-info__phone {word-wrap: break-word;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 15px;line-height: 20px; } .presenter-info__links {display: -ms-flexbox;display: flex;margin-top: 8px; } .presenter-info__link {border: 1px solid var(--presenter-info-link-border-color);border-radius: 10px;width: 36px;height: 28px;display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;position: relative;color: var(--panel-text-color); } .presenter-info__link:not(:last-child) {margin-right: 8px; } .presenter-info__link::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 6px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); } .presenter-info__link:hover::before {opacity: 1;visibility: visible; } .presenter-info__link-icon {width: 20px;height: 20px; } .presenter-info .bio-container {position: relative;display: -webkit-box;white-space: normal;text-overflow: ellipsis;margin-right: -20px;margin-top: 20px;padding-right: 10px;font-size: 14px;line-height: 20px;-ms-flex-positive: 1;flex-grow: 1;height: 100%;max-height: 120px;overflow: hidden; } .presenter-info .bio-container.bio-container_collapsed {max-height: 60px; } .presenter-info .bio-container.bio-container_collapsed .scroll-area__bio {display: -webkit-box;-webkit-line-clamp: 3;/*! autoprefixer: off */ -webkit-box-orient: vertical;-ms-box-orient: vertical;-moz-box-orient: vertical;/* autoprefixer: on */ } .presenter-info .bio-container .scroll-area {word-break: break-word;overflow: hidden; } .presenter-info .bio-container .container-top-shadow {background: __verticalGradient(var(--panel-color), transparent);background: linear-gradient(to bottom, var(--panel-color), transparent);position: absolute;top: 0;left: 0;right: 0;height: 60px;pointer-events: none; } .presenter-info .bio-container .container-bottom-shadow {background: __verticalGradient(transparent, var(--panel-color));background: linear-gradient(to bottom, transparent, var(--panel-color));position: absolute;bottom: 0;left: 0;right: 0;height: 60px;pointer-events: none;border-radius: inherit; } .presenter-info__show-more {font-size: 14px;line-height: 20px;height: 20px;opacity: 0.6;text-decoration: underline; } .presenter-info__show-more:hover {cursor: pointer;opacity: 0.8; } .presenter-info.presenter-info_popup {margin-bottom: 0; } .presenter-info.presenter-info_no-photo .presenter-info__info {width: 100%; }.attachments-info {font-family: var(--font-family-normal);position: relative;width: 100%;overflow: hidden;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column; } .attachments-info__scroll-area {height: 100%;overflow: hidden; } .attachments-info__delimiter {height: 1px;margin: 8px 20px 8px 62px;background: var(--popup-text-color);opacity: 0.08; } .attachments-info .container-top-shadow {background: __verticalGradient(var(--panel-color), transparent);background: linear-gradient(to bottom, var(--panel-color), transparent);position: absolute;top: 0;left: 0;right: 0;height: 60px;pointer-events: none; } .attachments-info .container-bottom-shadow {background: __verticalGradient(transparent, var(--panel-color));background: linear-gradient(to bottom, transparent, var(--panel-color));position: absolute;bottom: 0;left: 0;right: 0;height: 60px;pointer-events: none;border-radius: inherit; }.attach-item {padding: 8px 20px;box-sizing: border-box;display: -ms-flexbox;display: flex;-ms-flex-align: start;align-items: start;cursor: pointer; } .attach-item__icon-container {width: 36px;height: 36px;border-radius: 50%;background: var(--top-panel-icon-container-color);display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;-ms-flex-negative: 0;flex-shrink: 0;margin-right: 6px; } .attach-item__icon {width: 20px;height: 20px;color: var(--popup-text-color);opacity: 0.72; } .attach-item__info-container {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-flex-positive: 1;flex-grow: 1;padding-left: 6px; } .attach-item__title {font-size: 15px;line-height: 20px;margin-bottom: 4px;color: var(--popup-text-color);word-break: break-word;max-height: 60px;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 3;/*! autoprefixer: off */ -webkit-box-orient: vertical;-ms-box-orient: vertical;-moz-box-orient: vertical;/* autoprefixer: on */ } .attach-item__subtitle {font-size: 14px;line-height: 18px;color: var(--popup-text-color);opacity: 0.6; } .attach-item:hover {background: var(--list-item-background-hover-color); } .attach-item:hover .attach-item__title {color: var(--popup-text-hover-color); } .attach-item:hover .attach-item__subtitle {color: var(--popup-text-hover-color); } .attach-item:hover .attach-item__icon {color: var(--popup-text-hover-color); }:root {--page-background-color: __pageBackground__;--button-background-color: __primaryButtonBackground__;--button-hover-background-color: __primaryButtonBackgroundHover__;--button-hover-text-color: __primaryButtonTextHover__;--button-text-color: __primaryButtonText__;--company-logo-background-color: __asideLogoBackground__;--font-family-bold: PFnb;--font-family-bold-italic: PFnbi;--font-family-italic: PFni;--font-family-normal: PFn;--font-family-semibold: PFnsb, PFn;--font-family-semibold-italic: PFnsbi, PFni;--hyperlink-text-color: __hyperlink__;--list-item-background-hover-color: __asideElementBackgroundHover__;--list-item-background-pressed-color: __asideElementBackgroundActive__;--list-item-text-hover-color: __asideElementTextHover__;--list-item-text-pressed-color: __asideElementTextActive__;--list-item-text-visited-color: __asideElementTextVisited__;--panel-color: __asideBackground__;--panel-text-color: __asideElementText__;--panel-video-stub-background-color: __panelVideoStubBackgroundColor__;--panel-video-stub-color: __panelVideoStubColor__;--player-background-color: __playerBackground__;--progressbar-background-color: __progressBackground__;--progressbar-playback-color: __progressPlayback__;--slide-border-color: __slideBorder__;--text-color: __playerText__;--topbar-hover-background-color: __secondaryButtonBackgroundHover__;--topbar-text-color: __secondaryButtonText__;--primary-button-text-color: __primaryButtonText__;--primary-button-text-color-active: __primaryButtonTextHover__;--primary-button-background-color-active: __primaryButtonBackgroundHover__;--primary-button-background-color: __primaryButtonBackground__;--primary-button-border-color: __primaryButtonBorder__;--primary-button-border-color-active: __primaryButtonBorderHover__;--secondary-button-background-color: __secondaryButtonBackground__;--secondary-button-background-color-active: __secondaryButtonBackgroundHover__;--secondary-button-text-color: __secondaryButtonText__;--secondary-button-text-color-active: __secondaryButtonTextHover__;--secondary-button-border-color: __secondaryButtonBorder__;--secondary-button-border-color-active: __secondaryButtonBorderHover__;--volume-control-background-color: __volumeControlBackgroundColor__;--volume-control-playback-color: __volumeControlPlaybackColor__;--volume-control-thumb-color: __volumeControlThumbColor__;--more-menu-volume-control-background-color: __moreMenuVolumeControlBackgroundColor__;--more-menu-volume-control-playbackColor: __moreMenuVolumeControlPlaybackColor__;--more-menu-volume-control-thumb-color: __moreMenuVolumeControlThumbColor__;--popup-background-color: __popupBackground__;--popup-transparent-background-color: __transparentPopupBackground__;--popup-border: __popupBorder__;--popup-background-hover-color: __popupBackgroundHover__;--popup-text-color: __popupText__;--popup-text-hover-color: __popupTextHover__;--link-button-background-color: transparent;--link-button-text-color: __linkButtonTextColor__;--player-text: __playerText__;--button-border-radius: __borderRadius__;--presenter-info-link-border-color: __presenterInfoLinkBorderColor__;--search-field-background-color: __searchFieldBackgroundColor__;--hovered-tab-background-color: __hoveredTabBackgroundColor__;--selected-tab-background-color: __selectedTabBackgroundColor__;--top-panel-icon-container-color: __topPanelIconContainerColor__;--mini-skin-menu-button-text: __miniSkinMenuButtonText__;--mini-skin-menu-button-background-active: __miniSkinMenuButtonBackgroundActive__;--mini-skin-top-bottom-panel-border: __miniSkinTopBottomPanelBorder__;--mini-skin-presenter-delimiter-color: __miniSkinPresenterDelimiterColor__;--top-bottom-panel-border-color: __topBottomPanelBorderColor__; }.universal-side-panel {width: 280px;height: 100%;overflow: hidden;z-index: 0;position: relative;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-transform-origin: left center;transform-origin: left center;background: var(--panel-color);color: var(--panel-text-color);vertical-align: top;-ms-flex-negative: 0;flex-shrink: 0; } .universal-side-panel__presenter-info {padding: 24px 20px;-ms-flex-negative: 0;flex-shrink: 0; } .universal-side-panel__presenter-info.universal-side-panel__presenter-info_with-delimiter::after {content: '';height: 1px;width: 240px;background: var(--popup-text-color);opacity: 0.08;position: absolute;bottom: 0;left: 20px; } .universal-side-panel .logo {width: 100%;display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;-ms-flex-negative: 0;flex-shrink: 0;position: relative;background: var(--company-logo-background-color); } .universal-side-panel .logo.logo_has-logo {padding: 12px 0;min-height: 75px;max-height: 180px;max-width: 280px; } .universal-side-panel .logo a {display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;height: 100%; } .universal-side-panel .logo a canvas {max-height: 156px;max-width: 280px; } .universal-side-panel .logo.logo_with-delimiter::after {content: '';height: 1px;width: 240px;background: var(--popup-text-color);opacity: 0.08;position: absolute;bottom: 0;left: 20px; } .universal-side-panel .video-container {box-sizing: border-box;overflow: hidden;margin-bottom: 12px;position: relative;-ms-flex-negative: 0;flex-shrink: 0; } .universal-side-panel .video-container::before {content: '';box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);position: absolute;z-index: 1;left: 0;top: 0;width: 100%;height: 100%;pointer-events: none; } .universal-side-panel__video-stub {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-pack: center;justify-content: center;box-sizing: border-box;-ms-flex-negative: 0;flex-shrink: 0;height: 158px;margin-bottom: 12px;background: var(--panel-video-stub-background-color);color: var(--panel-video-stub-color); } .universal-side-panel .playerView {box-sizing: border-box;overflow: hidden;position: relative;margin-bottom: 12px;-ms-flex-negative: 0;flex-shrink: 0; } .universal-side-panel .playerView::before {content: '';box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);position: absolute;z-index: 1;left: 0;top: 0;width: 100%;height: 100%;pointer-events: none; } .universal-side-panel__maximized {margin: 0;position: absolute;width: 36px;height: 36px;background: rgba(69, 69, 69, 0.84);color: #FFFFFF;border-radius: 10px;-webkit-backdrop-filter: blur(8px);backdrop-filter: blur(8px);left: 8px;bottom: 5px;z-index: 3;display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center; } .universal-side-panel__maximized.universal-side-panel__maximized_at-left {right: 8px;left: auto; } .universal-side-panel__maximized.universal-side-panel__maximized_active {background: #454545; } .universal-side-panel__panel-title {color: var(--text-color);padding: 5px 8px 12px 8px; }.outline-info-panel {font-family: var(--font-family-normal);-ms-flex-positive: 1;flex-grow: 1;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;overflow: hidden;border-radius: inherit;height: 100%; } .outline-info-panel .outline-panel-header {display: -ms-flexbox;display: flex;-ms-flex-negative: 0;flex-shrink: 0;-ms-flex-align: center;align-items: center;width: 100%;height: 68px;padding: 16px 16px 16px 20px; } .outline-info-panel .outline-panel-header__switcher {display: -ms-flexbox;display: flex;-ms-flex-negative: 0;flex-shrink: 0;-ms-flex-positive: 1;flex-grow: 1; } .outline-info-panel .outline-panel-header__panel-title {font-family: var(--font-family-bold);font-size: 16px;line-height: 20px;color: var(--panel-text-color);-ms-flex-negative: 0;flex-shrink: 0;-ms-flex-positive: 1;flex-grow: 1; } .outline-info-panel .search-button {width: 36px;height: 36px;display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;color: var(--popup-text-color);cursor: pointer; } .outline-info-panel .search-button svg {width: 20px;height: 20px; } .outline-info-panel .clear-button {width: 36px;height: 36px;display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;color: var(--popup-text-color);cursor: pointer; } .outline-info-panel .clear-button svg {width: 20px;height: 20px; } .outline-info-panel .search-button {opacity: 0.72; } .outline-info-panel .clear-button {position: absolute;right: 4px;top: 2px;opacity: 0.6; } .outline-info-panel .search-wrapper {-ms-flex-positive: 1;flex-grow: 1;position: relative; } .outline-info-panel .search-field {position: relative;height: 40px;width: 100%;background: var(--search-field-background-color);border-radius: 8px;padding: 10px 44px 10px 16px;font-size: 15px;line-height: 20px;color: var(--panel-text-color);border: none;outline: none; } .outline-info-panel .search-field:-ms-input-placeholder {opacity: 0.4; } .outline-info-panel .search-field::placeholder {opacity: 0.4; } .outline-info-panel .panel-tab-button {font-family: var(--font-family-bold);display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;height: 36px;padding: 0 16px;border-radius: var(--button-border-radius);color: var(--panel-text-color);background: transparent;opacity: 0.72;transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease; } .outline-info-panel .panel-tab-button.panel-tab-button_active {background: var(--hovered-tab-background-color);color: var(--list-item-text-hover-color);opacity: 1; } .outline-info-panel .panel-tab-button.panel-tab-button_chosen {background: var(--selected-tab-background-color);color: var(--list-item-text-pressed-color);opacity: 1; } .outline-info-panel .panel-tab-button:not(:last-child) {margin-right: 4px; } .outline-info-panel.outline-info-panel_mode_notes .outline-info-panel__outline-container {display: none; } .outline-info-panel__notes-container {-ms-flex-positive: 1;flex-grow: 1;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;overflow: hidden;height: 100%; } .outline-info-panel__outline-container {-ms-flex-positive: 1;flex-grow: 1;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;overflow: hidden;height: 100%; } .outline-info-panel__outline-container {border-radius: inherit;border-top-left-radius: 0;border-top-right-radius: 0;height: 100%; } .outline-info-panel__notes-container {padding-bottom: 10px; } .outline-info-panel .outline {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;overflow: hidden;border-radius: inherit;height: 100%; } .outline-info-panel .notes {height: 100%;position: relative;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;padding-left: 12px; } .outline-info-panel .notes .notes-text {word-wrap: break-word;padding-right: 10px; } .outline-info-panel .notes .notes-text p {margin-top: 0;margin-bottom: 0;white-space: pre-wrap; } .outline-info-panel .notes .notes-text p, .outline-info-panel .notes .notes-text span {color: var(--panel-text-color) !important; } .outline-info-panel .notes .notes-text p:first-child {margin-top: 0; } .outline-info-panel .notes .notes-text p:last-child {margin-bottom: 0; } .outline-info-panel .notes .notes-text p, .outline-info-panel .notes .notes-text p.bold span.nobold, .outline-info-panel .notes .notes-text p.italic span.noitalic, .outline-info-panel .notes .notes-text p.bold.italic span.nobold.noitalic {font-family: var(--font-family-normal); } .outline-info-panel .notes .notes-text p span.bold, .outline-info-panel .notes .notes-text p.bold, .outline-info-panel .notes .notes-text p.italic span.bold.noitalic, .outline-info-panel .notes .notes-text p.bold.italic span.noitalic {font-family: var(--font-family-bold); } .outline-info-panel .notes .notes-text p span.italic, .outline-info-panel .notes .notes-text p.bold span.nobold.italic, .outline-info-panel .notes .notes-text p.italic, .outline-info-panel .notes .notes-text p.bold.italic span.nobold {font-family: var(--font-family-italic); } .outline-info-panel .notes .notes-text p span.bold.italic, .outline-info-panel .notes .notes-text p.bold span.italic, .outline-info-panel .notes .notes-text p.italic span.bold, .outline-info-panel .notes .notes-text p.bold.italic {font-family: var(--font-family-bold-italic); } .outline-info-panel .notes__scroll-area {overflow: hidden; } .outline-info-panel.outline-info-panel_mode_outline .outline-info-panel__notes-container {display: none; }.logo-container {display: -ms-flexbox;display: flex; } .logo-container > a {display: -ms-flexbox;display: flex; }.top-panel {display: -ms-flexbox;display: flex;-ms-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;justify-content: space-between;height: 52px;padding: 0 16px;border-bottom: 1px solid var(--top-bottom-panel-border-color);box-sizing: border-box;will-change: transform; } .top-panel.top-panel_reversed {-ms-flex-direction: row-reverse;flex-direction: row-reverse; } .top-panel__container {display: -ms-flexbox;display: flex;-ms-flex-direction: row;flex-direction: row;-ms-flex-align: center;align-items: center; } .top-panel__presenter-info {max-width: 400px;padding: 32px 28px; }.top-main-container {display: -ms-flexbox;display: flex;-ms-flex-positive: 1;flex-grow: 1;-ms-flex-pack: justify;justify-content: space-between;max-height: 100%; } .top-main-container .info-container {margin-left: auto; } .top-main-container .info-container__item:first-child {margin-right: 20px; } .top-main-container .info-container__item:last-child {margin-right: 0; } .top-main-container.top-main-container_reversed {-ms-flex-direction: row-reverse;flex-direction: row-reverse; } .top-main-container.top-main-container_reversed .info-container {margin-right: auto;margin-left: 0;-ms-flex-direction: row-reverse;flex-direction: row-reverse; } .top-main-container.top-main-container_reversed .info-container__item:first-child {margin-right: 0; } .top-main-container.top-main-container_reversed .info-container__item:last-child {margin-right: 20px; }.buttons-container {-ms-flex-negative: 0;flex-shrink: 0; } .buttons-container__button {margin-right: 8px; }.info-container {overflow: hidden; } .info-container__title {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;overflow: hidden;color: var(--text-color);max-width: 480px; } .info-container__title > div {font-family: var(--font-family-normal);font-size: 14px;line-height: 20px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; }:root {--page-background-color: __pageBackground__;--button-background-color: __primaryButtonBackground__;--button-hover-background-color: __primaryButtonBackgroundHover__;--button-hover-text-color: __primaryButtonTextHover__;--button-text-color: __primaryButtonText__;--company-logo-background-color: __asideLogoBackground__;--font-family-bold: PFnb;--font-family-bold-italic: PFnbi;--font-family-italic: PFni;--font-family-normal: PFn;--font-family-semibold: PFnsb, PFn;--font-family-semibold-italic: PFnsbi, PFni;--hyperlink-text-color: __hyperlink__;--list-item-background-hover-color: __asideElementBackgroundHover__;--list-item-background-pressed-color: __asideElementBackgroundActive__;--list-item-text-hover-color: __asideElementTextHover__;--list-item-text-pressed-color: __asideElementTextActive__;--list-item-text-visited-color: __asideElementTextVisited__;--panel-color: __asideBackground__;--panel-text-color: __asideElementText__;--panel-video-stub-background-color: __panelVideoStubBackgroundColor__;--panel-video-stub-color: __panelVideoStubColor__;--player-background-color: __playerBackground__;--progressbar-background-color: __progressBackground__;--progressbar-playback-color: __progressPlayback__;--slide-border-color: __slideBorder__;--text-color: __playerText__;--topbar-hover-background-color: __secondaryButtonBackgroundHover__;--topbar-text-color: __secondaryButtonText__;--primary-button-text-color: __primaryButtonText__;--primary-button-text-color-active: __primaryButtonTextHover__;--primary-button-background-color-active: __primaryButtonBackgroundHover__;--primary-button-background-color: __primaryButtonBackground__;--primary-button-border-color: __primaryButtonBorder__;--primary-button-border-color-active: __primaryButtonBorderHover__;--secondary-button-background-color: __secondaryButtonBackground__;--secondary-button-background-color-active: __secondaryButtonBackgroundHover__;--secondary-button-text-color: __secondaryButtonText__;--secondary-button-text-color-active: __secondaryButtonTextHover__;--secondary-button-border-color: __secondaryButtonBorder__;--secondary-button-border-color-active: __secondaryButtonBorderHover__;--volume-control-background-color: __volumeControlBackgroundColor__;--volume-control-playback-color: __volumeControlPlaybackColor__;--volume-control-thumb-color: __volumeControlThumbColor__;--more-menu-volume-control-background-color: __moreMenuVolumeControlBackgroundColor__;--more-menu-volume-control-playbackColor: __moreMenuVolumeControlPlaybackColor__;--more-menu-volume-control-thumb-color: __moreMenuVolumeControlThumbColor__;--popup-background-color: __popupBackground__;--popup-transparent-background-color: __transparentPopupBackground__;--popup-border: __popupBorder__;--popup-background-hover-color: __popupBackgroundHover__;--popup-text-color: __popupText__;--popup-text-hover-color: __popupTextHover__;--link-button-background-color: transparent;--link-button-text-color: __linkButtonTextColor__;--player-text: __playerText__;--button-border-radius: __borderRadius__;--presenter-info-link-border-color: __presenterInfoLinkBorderColor__;--search-field-background-color: __searchFieldBackgroundColor__;--hovered-tab-background-color: __hoveredTabBackgroundColor__;--selected-tab-background-color: __selectedTabBackgroundColor__;--top-panel-icon-container-color: __topPanelIconContainerColor__;--mini-skin-menu-button-text: __miniSkinMenuButtonText__;--mini-skin-menu-button-background-active: __miniSkinMenuButtonBackgroundActive__;--mini-skin-top-bottom-panel-border: __miniSkinTopBottomPanelBorder__;--mini-skin-presenter-delimiter-color: __miniSkinPresenterDelimiterColor__;--top-bottom-panel-border-color: __topBottomPanelBorderColor__; }.more-menu-popup {padding: 12px 0; } .more-menu-popup .volume-slider-wrapper {width: 86px; } .more-menu-popup .volume-slider {position: relative;width: 80px;height: 3px; } .more-menu-popup .volume-slider__enlarged-click-area {position: absolute;cursor: pointer;width: 100%;height: 40px;top: 50%;-ms-transform: translateY(-50%);transform: translateY(-50%); } .more-menu-popup .volume-slider__background {position: absolute;width: 100%;height: 100%;background: var(--more-menu-volume-control-background-color); } .more-menu-popup .volume-slider__volume {position: absolute;background: var(--more-menu-volume-control-playbackColor);bottom: 0;left: 0;height: 100%;border-radius: 4px; } .more-menu-popup .volume-slider__track {position: relative;height: 100%; } .more-menu-popup .volume-slider__thumb {position: absolute;width: 12px;height: 12px;border-radius: 50%;background: var(--more-menu-volume-control-thumb-color);bottom: -4.5px;margin-left: -6px; }.collapsable-buttons-group {vertical-align: middle;display: -ms-inline-flexbox;display: inline-flex;-ms-flex-align: center;align-items: center;overflow: hidden;-ms-flex-positive: 1;flex-grow: 1;-ms-flex-negative: 1;flex-shrink: 1; } .collapsable-buttons-group__collapsable-button {margin-right: 8px; }.navigation-controls {display: -ms-flexbox;display: flex;-ms-flex-direction: row;flex-direction: row;-ms-flex-align: center;align-items: center;position: relative; } .navigation-controls__button.navigation-controls__button_next {margin-left: 8px; } .navigation-controls__button.navigation-controls__button_prev {margin-left: 20px; } .navigation-controls__button.navigation-controls__button_locked {pointer-events: auto;cursor: url(data/lock.cur), no-drop; } .navigation-controls__label {font-size: 14px;color: var(--text-color);opacity: 0.72; }.play-controls-container {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;position: relative;-ms-flex-positive: 1;flex-grow: 1;-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;margin: 14px 16px; } .play-controls-container::before {content: '';display: inline-block;height: 100%;vertical-align: middle; } .play-controls-container__play-pause-button {margin-right: 8px; } .play-controls-container__outline-button {margin-right: 8px; }.universal-control-panel {font-family: var(--font-family-normal);display: -ms-flexbox;display: flex;-ms-flex-direction: row;flex-direction: row;width: 100%;position: relative;-ms-transform-origin: 0 0;transform-origin: 0 0;min-height: 66px;will-change: transform; } .universal-control-panel .volume-slider-wrapper {width: 86px; } .universal-control-panel .volume-slider {position: relative;width: 80px;height: 3px; } .universal-control-panel .volume-slider__enlarged-click-area {position: absolute;cursor: pointer;width: 100%;height: 40px;top: 50%;-ms-transform: translateY(-50%);transform: translateY(-50%); } .universal-control-panel .volume-slider__background {position: absolute;width: 100%;height: 100%;background: var(--volume-control-background-color); } .universal-control-panel .volume-slider__volume {position: absolute;background: var(--volume-control-playback-color);bottom: 0;left: 0;height: 100%;border-radius: 4px; } .universal-control-panel .volume-slider__track {position: relative;height: 100%; } .universal-control-panel .volume-slider__thumb {position: absolute;width: 12px;height: 12px;border-radius: 50%;background: var(--volume-control-thumb-color);bottom: -4.5px;margin-left: -6px; } .universal-control-panel__navigation-controls {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;position: relative;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;margin: 14px 16px 14px auto; } .universal-control-panel.universal-control-panel_interaction-mode .universal-control-panel__play-controls-container {display: none; } .universal-control-panel.universal-control-panel_hide-controls {visibility: hidden; }.progress-tooltip {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-flex-align: center;align-items: center;-ms-flex-pack: center;justify-content: center;z-index: 1; } .progress-tooltip__thumbnail-tooltip {border: 2px var(--top-bottom-bar-background-color) solid;border-radius: 3px;width: 140px;height: 80px;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out; } .progress-tooltip__timing-tooltip {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: 4px; }.universal-skin-separator {position: relative;width: 100%;padding-top: 1px; } .universal-skin-separator::after {content: '';display: block;height: 1px;background: var(--top-bottom-panel-border-color); }.progressbar {position: relative;height: 2px;width: 100%; } .progressbar__progress {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background-color: var(--progressbar-background-color);transition: transform 0.3s ease-in-out; } .progressbar__progress-background {position: absolute;background: var(--progressbar-playback-color);top: 0;left: 0;height: 100%;transition: transform 0.3s ease-in-out; } .progressbar__thumb {width: 12px;height: 12px;border-radius: 50%;background: var(--progressbar-playback-color);bottom: -5px;position: absolute;left: -6px;cursor: pointer; } .progressbar__progress-tooltip {position: absolute;top: -14px;-ms-transform: translateY(-100%);transform: translateY(-100%); }.show-side-panel-button {position: absolute;top: 6px;z-index: 1001; } .show-side-panel-button.show-side-panel-button_side_left {left: 0; } .show-side-panel-button.show-side-panel-button_side_left .show-side-panel-button__button {left: -9px;border-radius: 0 25px 25px 0; } .show-side-panel-button.show-side-panel-button_side_right {right: 0; } .show-side-panel-button.show-side-panel-button_side_right .show-side-panel-button__button {left: 9px;border-radius: 25px 0 0 25px; } .show-side-panel-button.show-side-panel-button_side_right .show-side-panel-button__button.show-side-panel-button__button_active, .show-side-panel-button.show-side-panel-button_side_right .show-side-panel-button__button[aria-pressed='true'], .show-side-panel-button.show-side-panel-button_side_left .show-side-panel-button__button.show-side-panel-button__button_active, .show-side-panel-button.show-side-panel-button_side_left .show-side-panel-button__button[aria-pressed='true'] {background: var(--player-background-color);left: 0; } .show-side-panel-button__button {background: var(--player-background-color);box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);transition-property: left; }.popups-layer {position: absolute;margin-left: 0 !important;left: 0;top: 0;width: 100%; } .popups-layer .popup {background: var(--popup-background-color);border: 1px solid var(--popup-border);box-shadow: 0 20px 32px rgba(0, 0, 0, 0.16);-webkit-backdrop-filter: blur(8px);backdrop-filter: blur(8px);border-radius: 10px;position: absolute;top: 0;left: 0; } .popups-layer .popup.popup_outline-popup {width: 280px; } .popups-layer .popup.popup_presenter .mask {width: calc(100% - 2px);left: 1px;bottom: 12px; } .popups-layer .popup.popup_attachments {width: 368px;box-sizing: border-box; }.notes-popup {position: relative;font-size: 15px;line-height: 20px;word-wrap: break-word;width: 372px;padding: 16px;border-radius: inherit; } .notes-popup__scroll-area {overflow: hidden;height: 100%; } .notes-popup .notes-text {word-wrap: break-word; } .notes-popup .notes-text p {margin-top: 0;margin-bottom: 0;white-space: pre-wrap; } .notes-popup .notes-text p, .notes-popup .notes-text span {color: var(--panel-text-color) !important; } .notes-popup .notes-text p:first-child {margin-top: 0; } .notes-popup .notes-text p:last-child {margin-bottom: 0; } .notes-popup .notes-text p, .notes-popup .notes-text p.bold span.nobold, .notes-popup .notes-text p.italic span.noitalic, .notes-popup .notes-text p.bold.italic span.nobold.noitalic {font-family: var(--font-family-normal); } .notes-popup .notes-text p span.bold, .notes-popup .notes-text p.bold, .notes-popup .notes-text p.italic span.bold.noitalic, .notes-popup .notes-text p.bold.italic span.noitalic {font-family: var(--font-family-bold); } .notes-popup .notes-text p span.italic, .notes-popup .notes-text p.bold span.nobold.italic, .notes-popup .notes-text p.italic, .notes-popup .notes-text p.bold.italic span.nobold {font-family: var(--font-family-italic); } .notes-popup .notes-text p span.bold.italic, .notes-popup .notes-text p.bold span.italic, .notes-popup .notes-text p.italic span.bold, .notes-popup .notes-text p.bold.italic {font-family: var(--font-family-bold-italic); }.attachments-popup {padding: 12px 0;border-radius: inherit; }.marker-panel {font-family: var(--font-family-normal);padding: 12px 0;width: 260px; } .marker-panel__separator {position: relative;background: var(--popup-text-color);opacity: 0.08;height: 1px;margin: 3px 0; }.marker-panel-button {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;position: relative;padding: 4px 20px;opacity: 1;background-color: transparent;transition: background-color 0.28s ease-in-out;width: 100%; } .marker-panel-button__text {font-size: 15px;text-align: left;color: var(--popup-text-color); } .marker-panel-button.marker-panel-button_type_eraseAll, .marker-panel-button.marker-panel-button_type_endDrawing {padding: 14px 20px 14px 24px; } .marker-panel-button:focus, .marker-panel-button:hover {background-color: var(--list-item-background-hover-color); } .marker-panel-button:focus .marker-panel-button__text, .marker-panel-button:hover .marker-panel-button__text {color: var(--popup-text-hover-color); } .marker-panel-button:focus .marker-panel-button__item-icon, .marker-panel-button:hover .marker-panel-button__item-icon {color: var(--popup-text-hover-color); } .marker-panel-button[disabled] {opacity: 0.5;color: var(--popup-text-color);pointer-events: none; } .marker-panel-button[aria-selected='true'] {background-color: var(--list-item-background-pressed-color);color: var(--list-item-text-pressed-color); }.item-icon {width: 40px;height: 40px;background-color: var(--top-panel-icon-container-color);border-radius: 50%;margin-right: 10px;display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;color: var(--popup-text-color); } .item-icon__item-icon-image {width: 28px;height: 28px;color: inherit; }.outline {font-family: var(--font-family-normal);position: relative; }.search-result {font-family: var(--font-family-bold);padding: 16px 0 8px 20px;position: relative;font-size: 15px;line-height: 20px;color: var(--popup-text-color); } .search-result.search-result_no-results {font-family: var(--font-family-normal);height: 100%;text-align: center;padding: 60px 0 0;opacity: 0.6; }.slide-item-view {position: relative;overflow: hidden;display: table;width: 100%;color: var(--panel-text-color);transition: background 0.28s ease; } .slide-item-view__content {height: 100%;display: table-row; } .slide-item-view__content > * {display: table-cell;vertical-align: middle; } .slide-item-view__open-button {width: 12px;height: 12px;margin: 0 8px 0 12px;opacity: 0.6;padding: 0;color: var(--popup-text-color);transition: transform 0.3s ease;background: transparent; } .slide-item-view__open-button[aria-pressed='true'] {-ms-transform: rotate(90deg);transform: rotate(90deg); } .slide-item-view__thumb {max-width: 100px;max-height: 60px;vertical-align: middle;margin-top: 1px;border: 1px solid rgba(0, 0, 0, 0.04);border-radius: 4px;background-color: var(--player-background-color); } .slide-item-view__status {position: absolute;width: 18px;height: 18px;background-size: 18px 18px; } .slide-item-view__status.slide-item-view__status_status_correct {background-image: url("+ +g[31]+"); } .slide-item-view__status.slide-item-view__status_status_partially {background-image: url("+g[32]+"); } .slide-item-view__status.slide-item-view__status_status_incorrect {background-image: url("+g[33]+"); } .slide-item-view__status.slide-item-view__status_status_answered {background-image: url("+g[34]+"); } .slide-item-view__status.slide-item-view__status_answered {background-image: url("+g[35]+"); } .slide-item-view__mark {position: absolute;width: 12px;height: 18px;top: 0;bottom: 0;margin: auto;background-image: url("+ +g[36]+");background-size: 12px 18px;background-repeat: no-repeat;margin-left: -40px; } .slide-item-view__mark.slide-item-view__mark_with-status {left: 8px; } .slide-item-view__title-container {width: 100%; } .slide-item-view__title {padding: 0 16px;font-size: 14px;line-height: 18px;max-height: 60px;word-break: break-word;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 3;/*! autoprefixer: off */ -webkit-box-orient: vertical;-ms-box-orient: vertical;-moz-box-orient: vertical;/* autoprefixer: on */ } .slide-item-view__title.slide-item-view__title_minimized {max-height: 70px; } .slide-item-view.slide-item-view_with-thumbnail .slide-item-view__title {padding-left: 11px; } .slide-item-view.slide-item-view_with-thumbnail .slide-item-view__mark {margin-left: -20px; } .slide-item-view.slide-item-view_active {background: var(--list-item-background-hover-color);color: var(--list-item-text-hover-color); } .slide-item-view.slide-item-view_active .slide-item-view__mark {background-image: url("+ +g[37]+"); } .slide-item-view[aria-selected='true'] {background: var(--list-item-background-pressed-color);color: var(--list-item-text-pressed-color); } .slide-item-view[aria-selected='true'] .slide-item-view__mark {background-image: url("+g[38]+"); }.treecontrol.treecontrol_highlight-viewed .slide-item-view.slide-item-view_viewed {color: var(--list-item-text-visited-color); }.treecontrol.treecontrol_highlight-viewed .slide-item-view.slide-item-view_viewed.slide-item-view_active {background: var(--list-item-background-hover-color);color: var(--list-item-text-hover-color); }.treecontrol.treecontrol_highlight-viewed .slide-item-view.slide-item-view_viewed[aria-selected='true'] {background: var(--list-item-background-pressed-color);color: var(--list-item-text-pressed-color); }.highlighted {font-family: var(--font-family-bold);padding: 2px 3px;margin: -2px -3px;font-size: 14px;line-height: 18px;color: var(--popup-text-color);opacity: 1; }.search-context {font-size: 14px;line-height: 18px;color: var(--popup-text-color);opacity: 0.6; }@keyframes preloader_spin {0% {transform: rotate(0deg); } 100% {transform: rotate(360deg); } }.message-box {background: var(--player-background-color);position: absolute;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;border-radius: 7px;min-width: 280px;padding: 40px;box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08); } .message-box::after {content: '';box-sizing: border-box;border: 1px solid var(--popup-border);width: 100%;height: 100%;position: absolute;left: 0;top: 0;border-radius: 7px;pointer-events: none; } .message-box__content {position: relative;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-direction: column;flex-direction: column; } .message-box__icon {width: 24px;height: 24px;margin-bottom: 24px;position: relative;display: inline-block;color: var(--text-color);opacity: 0.72; } .message-box .message-box-buttons {position: relative;width: 100%;height: 36px; } .message-box .message-box-buttons__buttons {display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center; } .message-box .message-box-buttons__window-button {margin: 0 4px; } .message-box .vertical-scrollbar {top: 40px; } .message-box__message-container {overflow: hidden;display: inline-block;max-width: 480px;vertical-align: top;position: relative; } .message-box__message {text-align: center;font-size: 16px;color: var(--text-color);text-overflow: ellipsis;overflow: hidden;position: relative;font-family: var(--font-family-normal); } .message-box__buttons {margin-top: 28px; }.universal-tablet {font-family: var(--font-family-normal);position: relative;background: var(--player-background-color); } .universal-tablet__popups-layer {position: absolute;top: 0;left: 0;z-index: 1; } .universal-tablet__popup-layer {z-index: 1; }.universal-layout {width: 100%;height: 100%;display: -ms-flexbox;display: flex;overflow: hidden; } .universal-layout.universal-layout_left-panel {-ms-flex-direction: row-reverse;flex-direction: row-reverse; }.universal-content-area {position: relative;-ms-flex-positive: 1;flex-grow: 1;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;overflow: hidden; } .universal-content-area__cc {font-family: var(--font-family-normal);width: 100%;height: 110px;margin-top: -110px;background: rgba(41, 41, 41, 0.56);z-index: 1;overflow-x: hidden;overflow-y: auto;-webkit-overflow-scrolling: touch;padding: 0 34px 0 14px;border-width: 13px 0 7px 0;border-style: solid;border-color: transparent;color: #FFFFFF;font-size: 14px;text-shadow: -1.4px 1.4px 2px rgba(0, 0, 0, 0.48);word-wrap: break-word;white-space: pre-wrap; }.video-narration-view {position: relative;top: 0;left: 0;margin-right: 12px;margin-bottom: 12px;border: 1px solid rgba(0, 0, 0, 0.14); } .video-narration-view video {background-color: #000000; } .video-narration-view.video-narration-view_draggable {position: absolute;box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.24); } .video-narration-view.video-narration-view_maximized {margin: 12px; }.content-area {-ms-flex-positive: 1;flex-grow: 1;overflow: hidden;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;position: relative; } .content-area__items-container {display: -ms-flexbox;display: flex;-ms-flex-align: start;align-items: flex-start;-ms-grid-column-align: center;justify-items: center;overflow: hidden;margin: auto; } .content-area .playerView {z-index: 0;position: relative;margin: 0 12px;top: 0;left: 0; } .content-area .playerView.draggable {position: absolute;box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.24); } .content-area .playerView .with-border::after {content: '';position: absolute;top: 0;bottom: 0;left: 0;right: 0;border: 1px solid var(--slide-border-color);pointer-events: none; } .content-area.content-area_portrait .content-area__items-container {flex-direction: column-reverse;align-items: flex-end;/* autoprefixer: off */ -webkit-box-orient: vertical;-webkit-box-direction: reverse;/* autoprefixer: on */ } .content-area.content-area_presentation-minimized .playerView {margin: 0 12px 12px 0; } .content-area.content-area_presentation-minimized .content-area__narration-view {margin: 0 12px; } .content-area .preloader {width: 50px;height: 50px;position: absolute;top: 0;left: 0;bottom: 0;right: 0;margin: auto;border-radius: 10px;background-color: rgba(0, 0, 0, 0.5); } .content-area .preloader::after {content: '';position: absolute;background: url("+ +g[39]+");background-size: cover;top: 0;left: 0;bottom: 0;right: 0;animation: preloader_spin 1s infinite linear; }.maximize-button {width: 38px;height: 38px;border: 1px solid #FFFFFF;border-radius: 19px;background: url("+g[40]+") no-repeat center;background-size: 13px 15px;background-color: #4D4D4D;position: absolute;top: 0;left: 0; } .maximize-button.maximize-button_portrait {background-image: url("+g[41]+");background-size: 15px 13px; }.launch-screen {z-index: 100;position: fixed;top: 0;right: 0;bottom: 0;left: 0;background-color: rgba(0, 0, 0, 0.48); } .launch-screen .launch-screen-button {top: 0;bottom: 0;margin: auto;right: 0;left: 0;border-radius: 100%;width: 96px;height: 96px;position: absolute; } .launch-screen .launch-screen-button__play-icon {background-color: #FFFFFF;position: absolute;top: 0;bottom: 0;margin: auto;right: 0;left: 0;border-radius: 100%;width: 90px;height: 90px;box-shadow: 0 12px 50px 0 rgba(0, 0, 0, 0.2);transition: 0.3s ease-in-out; } .launch-screen .launch-screen-button__icon {background: url("+ +g[42]+") no-repeat center;position: absolute;top: 0;bottom: 0;margin: auto;right: 0;left: 6px;width: 90px;height: 90px; } .launch-screen .launch-screen-button.launch-screen-button_active .launch-screen-button__play-icon {width: 96px;height: 96px; } .launch-screen .launch-screen-button.launch-screen-button_active .launch-screen-button__icon {background: url("+g[43]+") no-repeat center; }.marker-tool-container {position: absolute;top: 0; }.draw-control {position: absolute; }.treecontrol {background-color: var(--panel-color);position: relative;overflow-y: hidden;border-radius: inherit; }.container-top-shadow {background: __verticalGradient(var(--popup-background-color), var(--popup-transparent-background-color));background: linear-gradient(to bottom, var(--popup-background-color), var(--popup-transparent-background-color));position: absolute;top: 0;left: 0;right: 0;height: 60px;pointer-events: none; }.container-bottom-shadow {background: __verticalGradient(var(--popup-transparent-background-color), var(--popup-background-color));background: linear-gradient(to bottom, var(--popup-transparent-background-color), var(--popup-background-color));position: absolute;bottom: 0;left: 0;right: 0;height: 60px;pointer-events: none;border-radius: inherit; }.mobile-vertical-scrollbar {position: absolute;width: 10px;top: 6px;bottom: 6px;right: 0;opacity: 0; } .mobile-vertical-scrollbar__thumb {position: absolute;width: 3px !important;right: 3px;padding: 1px;border-radius: 5px;background-color: rgba(0, 0, 0, 0.5); }"}(); +var e;for(const [g,h]of Object.entries(null!=(e=a)?e:{}))e=`__${g.replace(RegExp("\\.","g"),"_")}__`,d=d.replace(new RegExp(e,"g"),h);let f;for(const [g,h]of Object.entries(null!=(f=b)?f:{}))d=d.replace(new RegExp(g,"g"),h);d=d.replace(/__verticalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.Pk);d=d.replace(/__horizontalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.Ok);return gn(d)}Pk(a,b,c){return`url(data:image/svg+xml;base64,${qh(``)})`}Ok(a, +b,c){return`url(data:image/svg+xml;base64,${qh(``)})`}};class KG extends lt{constructor(a){super(a);this.og=new C}};class LG extends P{constructor(a){super({F:a});a=this.displayObject();document.body.appendChild(a);this.Nf();x(this,window,"resize",this.Nf,this)}Nf(){var a=document.documentElement.clientWidth,b=document.documentElement.clientHeight;const c=Math.min(1,(document.documentElement.clientWidth-20)/this.width());wn(this.displayObject(),c);yi(this.displayObject(),"0 0");a=Math.max(10,Math.round((a-this.width()*c)/2));b=Math.max(0,Math.round((b-this.height()*c)/2));this.move(a,b)}vd(){super.vd();Fd(this.displayObject())}} +;class MG extends LG{constructor(a,b){super("info_panel");Gt(this,b);b=new P({F:"label"});b.ha(a);b.vf("alert");b.wf("live","assertive");M(this,b)}};class NG extends Mt{constructor(a){super(a,"input");this.za().type="password"}value(){return this.za().value}};function OG(a,b,c,d=!0){a=new P({Yb:a,F:b});a.ha(c);a.J(d);return a}function PG(a){x(a,a.ko.za(),"input",()=>{a.kT.qa(!!a.ko.value())});x(a,a.ko.za(),"keypress",b=>{13==b.keyCode&&a.dG()})} +class QG extends LG{constructor(a,b,c,d){super("password_form");this.vf("dialog");this.setAttribute("tabindex","-1");this.dG=this.dG.bind(this,d);this.nM=OG("LABEL","password_label",a);M(this,this.nM);this.ko=new NG("password_field");M(this,this.ko);this.xF=OG("DIV","wrong_password_label",b,!1);M(this,this.xF);this.kT=this.Ae("btn_ok",c,this.dG);M(this,this.kT);a=ld();b=ld();this.nM.setAttribute("id",a);this.nM.setAttribute("for",b);this.ko.setAttribute("id",b);this.ko.wf("labelledby",a);this.ko.wf("required", +!0);this.xF.vf("alert");this.xF.wf("live","assertive");PG(this);Ii||this.ko.displayObject().focus()}Ae(a,b,c){a=new ZC({F:a});a.ha(b);a.qa(!1);z(this,a.ja,c,this);return a}dG(...a){a=a[0];const b=this.ko.value();b&&(a(b),this.xF.J(!0))}};function RG(a,b,c){Ii&&(this.ri=wd("DIV"),mn(this.ri,"tap_area"));Jt.call(this,b);this.ri&&this.O(this.ri);this.BH=!0;this.g5=c?!0:!1;c&&this.Dc(!1);a&&this.ja.addHandler(this.DA,this);Ii&&(a=this.za(),mn(a,"mobile"));this.oy(0);this.za().setAttribute("tabindex","-1");this.Ky()}r(RG,Jt);k=RG.prototype;k.zt=!1;k.Hb=!0;k.KT=function(a){a=wd("BUTTON",a);Ib&&8>=Vb||(a.type="button");return a};k.selected=function(){return this.zt}; +k.Eh=function(a){if(a){var b=this.za();mn(b,"selected")}else b=this.za(),nn(b,"selected");this.g5&&this.Dc(a);this.zt=a};k.enabled=function(){return this.Hb};k.qa=function(a){RG.Mb.qa.call(this,a);const b=this.za();b.disabled=a?"":"disabled";if(a){var c=this.displayObject();nn(c,"disabled")}else c=this.displayObject(),mn(c,"disabled");!a&&b.blur&&b.blur();this.Hb=a};k.Dc=function(a){this.za().setAttribute("aria-pressed",a)};k.DA=function(){this.Eh(!this.zt)}; +k.hj=function(a){RG.Mb.hj.call(this,a);-1==this.vs&&this.za().blur()};k.wy=function(){return RG.Mb.wy.call(this)};k.Rp=function(a){this.enabled()&&RG.Mb.Rp.call(this,a)};k.vk=function(a){this.BH=!1;RG.Mb.vk.call(this,a);this.BH=!0};function SG(a,b,c,d){Mt.call(this,"info_panel "+a);this.NF=c;this.ra=Ki();a=new Mt("message");a.ha(b);this.O(a);b=this.displayObject();document.body.appendChild(b);this.NF&&(this.Xn=new RG(!1,"ok"),this.Xn.ha(d),d=this.Xn.displayObject(),document.body.appendChild(d));yi(this.displayObject(),"0 0");wn(this.displayObject(),this.ra);this.NF&&(yi(this.Xn.displayObject(),"0 100%"),wn(this.Xn.displayObject(),this.ra));this.Nf();ve(window,"resize",this.Nf,!1,this)}r(SG,Mt); +SG.prototype.gd=function(){Fd(this.displayObject());this.NF&&Fd(this.Xn.displayObject());De(window,"resize",this.Nf,!1,this)};SG.prototype.Nf=function(){const a=document.documentElement.clientWidth/this.ra;let b=document.documentElement.clientHeight/this.ra;this.Kb(a);this.NF&&this.Xn.Kb(a);ij&&(b+=2);Lt(this,"min-height",b+"px")};function TG(a,b,c,d){SG.call(this,"password",a,!0,c);a=new Mt("password_field");this.O(a);this.Xn.qa(!1);const e=new NG("");a.O(e);const f=new Mt("wrong_password_label");f.ha(b);f.J(!1);this.O(f);const g=()=>{const h=e.value();h&&(d(h),f.J(!0))};ve(e.za(),"input",()=>{this.Xn.qa(!!e.value())},!1,this);ve(e.za(),"keypress",h=>{13==h.keyCode&&g()},!1,this);this.Xn.ja.addHandler(g,this)}r(TG,SG);class UG extends lv{Ir(){super.Ir();F(this.background(),"display","none");F(this.content(),"display","none")}};function VG(a){const b=Object.assign({},a),c={};for(const d in b)"object"==typeof b[d]&&(b[d]=VG(b[d]),a=b[d],a._d&&(c[a._d]=a));b.toString=()=>b._;b.uia=d=>c[d];return b};const WG={type:"t",id:"i",url:"u",target:"g",kD:"S",mJ:"s",nJ:"n",gJ:"r"};var XG={fJ:{_:"s",text:{_:"t"},t2:{_:"f",$ba:{_:"p",Gi:"s",length:"l",fu:"b",ZI:{_:"r",Gi:"s",length:"l",bold:"b",italic:"i",mda:"u",Ox:Object.assign({_:"h"},WG)}}},j0:{_:"a"},Ox:Object.assign({_:"h"},WG),Z1:{_:"b"},xk:{_:"s"},Li:{_:"v"},nba:{_:"T"}}};const YG={};for(const a in XG)XG.hasOwnProperty(a)&&(YG[a]=VG(XG[a]));var ZG=class{constructor(a,b,c){this.type=a;this.id=b;this.gJ=this.nJ=this.mJ=this.target=this.url=this.kD=void 0;this.iba=c}};const $G=new Map;function aH(a,b,c){c=new ZG(a[b.type],a[b.id],c);c.kD=a[b.kD];c.url=a[b.url];c.target=a[b.target];c.mJ=a[b.mJ];c.nJ=a[b.nJ];a=a[b.gJ];"boolean"===typeof a&&(c.gJ=a.toString());a=$G.get(c.type);if(void 0===a)throw Error("unknown hyperlink type");return a(c)}function bH(a,b){return`${a.iba||""}`}$G.set("u",function(a){return bH(a,"return document.getElementById('$coreSprPlaceholder').getCore().gotoLink(this);")}); +$G.set("N",function(a){return bH(a,`document.getElementById('$coreSprPlaceholder').getCore().gotoSlide(${a.mJ}, this);return false;`)});$G.set("f",function(a){return bH(a,"document.getElementById('$coreSprPlaceholder').getCore().gotoFirstSlide(this);return false;")});$G.set("l",function(a){return bH(a,"document.getElementById('$coreSprPlaceholder').getCore().gotoLastSlide(this);return false;")});$G.set("v",function(a){return bH(a,"document.getElementById('$coreSprPlaceholder').getCore().gotoLastViewedSlide(this);return false;")}); +$G.set("n",function(a){return bH(a,"document.getElementById('$coreSprPlaceholder').getCore().gotoNextSlide(this);return false;")});$G.set("p",function(a){return bH(a,"document.getElementById('$coreSprPlaceholder').getCore().gotoPreviousSlide(this);return false;")});$G.set("s",function(a){return bH(a,`document.getElementById('$coreSprPlaceholder').getCore().startSlideshow(this, '${a.nJ}', ${a.gJ});return false;`)});$G.set("e",function(a){return bH(a,"document.getElementById('$coreSprPlaceholder').getCore().endSlideshow(this);return false;")});function cH(a,b){a:switch(b[0].fu){case "n":var c="ol";break a;case "u":c="ul";break a;default:c="p"}"p"==c?b.forEach(d=>{a+=`

${d.J1}

`}):(a+=`<${c}>`,b.forEach(d=>{a+=`
  • ${d.J1}
  • `}),a+=``);return a}function dH(a){let b="";const c=[];a.forEach(d=>{d.fu!=b&&(c.push([]),b=d.fu);c[c.length-1].push(d)});return c};class eH{constructor(a){this.Ag=a}then(a){this.Ag=a(this.Ag);return this}result(){return this.Ag}};function fH(a,b){const c=a[b.text];a=a[b.t2];if(!c||!a)return c?`${c}`:"";const d=b.t2.$ba;b=a[d].map(e=>gH(c,e,d));return dH(b).reduce(cH,"")}function gH(a,b,c){const {Gi:d,length:e,fu:f,ZI:g,Eca:h}={Gi:b[c.Gi],length:b[c.length],fu:b[c.fu],ZI:b[c.ZI],Eca:c.ZI},l=a.substr(d,e);return{J1:g.map(n=>hH(l,n,h)).join(""),fu:f}} +function hH(a,b,c){var d=b[c.Gi],e=b[c.length],f=b[c.bold]||!1,g=b[c.italic]||!1,h=b[c.mda]||!1,l=b[c.Ox],n=c.Ox;return(new eH(a)).then(m=>m.substr(d,e)).then(m=>m.replace(/\u000b/g,"
    ")).then(m=>iH(m)).then(m=>{g&&(m=`<${"i"}>${m}`);return m}).then(m=>{f&&(m=`<${"b"}>${m}`);return m}).then(m=>{h&&(m=`<${"u"}>${m}`);return m}).then(m=>{l&&(m=aH(l,n,m));return m}).result()} +function iH(a){return(new eH(a)).then(b=>b.replace(/(\r\n|\r|\n)+/g," ")).then(b=>b.replace(/\xa0|[ \t]+/g," ")).result()};function jH(a,b){return a[b.nba]?(new eH(fH(a,b))).then(c=>c?`

    ${c}

    `:"").result():""};function kH(a,b,c){return a.map(d=>{var e=d[b.xk]||d[b.Li];if(!(e=e?c.get(e):""))if(d[b.Z1]&&(d[b.text]||d[b.j0]||d[b.Ox])){e=`${d[b.j0]||d[b.text]||`;const f=d[b.Ox];e=f?aH(f,b.Ox,e):e}else e="";return e||jH(d,b)||fH(d,b)}).join("")};function lH(a){a=[...a.Dd().Mc(),...a.ie().Mc()];return new Map(a.map(b=>{var c=b.Ni;c=c.wi()||mH(c);return[b.id(),nH(c)]}))}function mH(a){a=document.getElementById(a.id());return Od(a)}function nH(a){return(new eH(a)).then(b=>b.includes("controls")?b:b.replace(">"," controls>")).then(b=>oH(b,"width")).then(b=>oH(b,"height")).then(b=>b.replace(RegExp('id="\\w+"'),"")).result()}function oH(a,b){return a.includes(b)?a.replace(new RegExp(`${b}="\\d*\\.*\\d+px"`),""):a};function pH(a,b){b.uf()?qH(a,b):Qe(a,b.ql,()=>qH(a,b))}function rH(a){a.ya&&(Fd(a.yb),Fd(a.dT),Fd(a.ya),a.ya=null)}function qH(a,b){var c=b.Gy;b=lH(b.slide());c=JSON.parse(c);const d=YG.fJ;b=kH(c[d],d,b).replace(/\$coreSprPlaceholder/g,a.Oq);b=Ad(Kc(b));a.yb.appendChild(b);it(a.yb,"main");(b=a.yb.querySelector("h2"))?(b.id=ld(),jt(a.yb,"labelledby",b.id)):jt(a.yb,"label",a.pg.PB_ACCESSIBLE_ARIA_LABEL_SLIDE)} +class sH extends wg{constructor(a,b,c){super();this.Ni=a;this.pg=b;this.Oq=c;this.DZ=ld();b=zd("DIV");td(b,{"class":"ppt-accessible-slide-display"});this.pl=b;this.ya=null;b=zd("DIV");td(b,{"class":"ppt-accessible-slide-content"});b.setAttribute("tabindex","-1");b.id=this.DZ;this.yb=b;b=zd("A");td(b,{"class":"ppt-accessible-skip-link"});b.innerText=this.pg.PB_ACCESSIBLE_ARIA_LABEL_BACK_TO_BEGIN;b.href=`#${this.DZ}`;c=zd("DIV");td(c,{"class":"ppt-accessible-skip-link-container"});c.appendChild(b); +this.dT=c;pH(this,a)}Ig(){}Cu(a){Th(this.ya,a)}width(){return 0}height(){return 0}slide(){return this.ya}content(){return this.yb}background(){throw Error("no background in accessible mode");}resize(){}Ir(){rH(this);this.ya=zd("DIV");td(this.ya,{"class":"ppt-accessible-slide"});this.ya.appendChild(this.yb);this.ya.appendChild(this.dT);this.pl.appendChild(this.ya)}Uc(){rH(this)}$0(){}clone(){throw Error("no clone in accessible mode");}rI(){throw Error("no background in accessible mode");}};class tH extends Sq{constructor(a,b,c,d,e,f){super(a,b,c,d,e,f);f&&f.uf()&&u((f.yb||document).getElementsByTagName("IMG"),g=>{g.style.transform=""})}};function uH(a){const b=document.createElement("div");b.style.width=`${a.width()}px`;b.style.height=`${a.height()}px`;b.style.backgroundColor=a.x3;b.style.position="relative";return b}class vH extends Sq{constructor(a,b,c,d){super(a,-1,b,c);this.x3=d||"#000000";Oq(this,uH(this),uH(this))}};function wH(a,b){a.Gp=b;a.YO.appendChild(b.pl)}function xH(a){a.M.splice(0,a.M.length)}class yH{constructor(a){this.M=[];this.YO=a;this.Gp=null}};class zH extends nv{constructor(a){super(a);this.ph=null;this.qV=E(this)}fb(){return this.ph}TR(a){this.ph=a;this.qV.C(this.ph)}};class AH extends nv{constructor(a){super(a);this.Bb=null;this.uY=E(this)}Oa(){return this.Bb}cS(a){this.Bb=a;this.uY.C()}};function Vs(a,b){return a.Gd[b]}function BH(a){F(a.FB,"position","normal"==a.Ib?"absolute":"")}function CH(a){a.UD.forEach(b=>{b.uf()?a.WY(b):Qe(a,b.ql,a.WY,a)})} +function DH(a){Se(a,...a.Gd);a.Gd.splice(0,a.Gd.length);Cd(a.FB);xH(a.Fk);wH(a.Fk,a.Gp);EH(a);FH(a);a.UD.forEach(b=>{if(b instanceof AH)GH(a,new mv(a.Fk,a.Gd.length,a.Va,a.Na,a.sA,b,a.Ib));else if(b instanceof zH){a:switch(a.Ib){case "normal":b=new lv(a.Fk,a.Gd.length,a.Va,a.Na,a.sA,b,a.Ib);break a;case "accessible":b=new UG(a.Fk,a.Gd.length,a.Va,a.Na,a.sA,b,a.Ib);break a;default:throw Error("unknown presentation view mode");}GH(a,b)}else if(b instanceof ov)GH(a,new pv(a.Fk,a.Gd.length,a.Va,a.Na, +a.sA,b,a.Ib));else{a:switch(a.Ib){case "normal":b=new tH(a.Fk,a.Gd.length,a.Va,a.Na,a.sA,b);break a;case "accessible":b=new sH(b,a.pg,a.Oq);break a;default:throw Error("unknown presentation view mode");}GH(a,b)}})}function EH(a){a.SK.forEach((b,c)=>{yi(c,`${b.origin.x}px ${b.origin.y}px`);on(c,b.transform)})}function FH(a){Array.from(a.SK.keys()).forEach(b=>{b.style.width="";b.style.height=""})}function GH(a,b){B(a,b);var c=a.Fk;c.M.push(b);c.YO.appendChild(b.pl);a.Gd.push(b)} +class HH extends wg{constructor({mS:a,Zt:b,width:c,height:d,Aba:e,qJ:f,backgroundColor:g,FS:h,messages:l}){super();this.UD=b;this.Va=c;this.Na=d;this.sA=e;this.Oq=f;this.Ib=h;this.pg=l;this.SK=new Map;this.Gd=[];this.FB=zd("DIV");mn(this.FB,"slide-displays-root");a.appendChild(this.FB);BH(this);this.Fk=new yH(this.FB);this.Gp=new vH(this.Fk,c,d,g);CH(this);DH(this)}width(){return this.Va}height(){return this.Na}background(){return this.Gp}resize(a,b){if(this.Va!=a||this.Na!=b)this.Va=a,this.Na=b, +this.Gp.resize(a,b),this.Gd.forEach(c=>c.resize(a,b))}fn(a){this.Ib!=a&&(this.Ib=a,BH(this),DH(this))}WY(a){const b=Array.from(sd("IMG",null,a.yb));a=Array.from(sd("IMG",null,a.slideBackground()));b.concat(a).forEach(c=>{const d=sn(c)||new gm,e=tn(c)||new Xc;this.SK.set(c,{transform:d,origin:e})})}};class IH{constructor(a,b,c,d){this.ya=a;this.zg=b;this.yg=c;this.Ve=d;this.Hf=this.ph=this.Bb=this.Gy=this.yb=null}slide(){return this.ya}slideWidth(){return this.zg}slideHeight(){return this.yg}Oa(){return this.Bb}cS(a){this.Bb=a}fb(){return this.ph}TR(a){this.ph=a}tb(){return this.Hf}dS(a){this.Hf=a}tr(){return this.Ve}};class JH{constructor(a){this.pe=0;this.x$=void 0!==a?a:0;this.nA=new C;this.pA=new C;this.eO=new C;this.Lh=null}weight(){return this.x$}progress(){return this.pe}context(){return this.Lh}start(a){this.Lh=a}Ar(){return this.nA}XC(){return this.pA}Ct(a){this.pe!=a&&(this.pe=a,this.eO.C(this))}Xh(){this.pe=1;this.nA.C(this)}oA(){this.pA.C(this)}};class KH extends JH{constructor(a){super();this.sK=a}start(a){super.start(a);const b=rd(document,this.sK);b?(a.yb=b,this.Xh()):this.oA()}};var LH,MH,NH=[],OH=new C,PH=new C,QH=new C;q("iSpring.InteractionPlayerFactory.registerCreateQuizPlayerFunction",function(a){LH=a;OH.C()});q("iSpring.InteractionPlayerFactory.registerCreateScenarioPlayerFunction",function(a){MH=a;PH.C()});q("iSpring.InteractionPlayerFactory.registerCreateInteractionPlayerFunction",function(a,b){NH[a]=b;QH.C(a)});function RH(a,b,c,d,e,f,g,h,l,n,m,p){const t=LH;if(!t)throw Error("quiz player is not loaded");t(a,b,c,d,e,f,g,h,l,n,m,p)} +function SH(a,b,c,d,e,f,g,h,l,n,m,p){const t=NH[a];if(!t)throw Error(a+" player is not loaded");t(b,c,d,e,f,g,h,l,n,m,p)}function TH(a,b,c,d,e,f,g,h,l,n,m,p,t,w,y,D,I){const A=MH;if(!A)throw Error("scenario player is not loaded");A(a,b,c,d,e,f,g,h,l,n,m,p,t,w,y,D,I)};function UH(a,b,c){VH[b]=c;a="q_"+a;window[a]||(window[a]=function(d,e,f,g,h){(0,VH[d])(e,f,g,h);VH[d]=null})}function WH(a,b,c){VH[b]=c;a="i_"+a;window[a]||(window[a]=function(d,e,f,g){const h=VH[d];h&&(h(e,f,g),VH[d]=null)})}function XH(a,b,c){VH[b]=c;a="s_"+a;window[a]||(window[a]=function(d,e,f,g,h,l,n,m){const p=VH[d];p&&(p(e,f,g,h,l,n,m),VH[d]=null)})}function YH(a,b,c){VH[b]=c;a="sl_"+a;window[a]||(window[a]=function(d,e,f){const g=VH[d];g&&(g(e,f||null),VH[d]=null)})} +function ZH(a){Fd(a.aZ);a.aZ=void 0}function $H(a,b,c,d){const e=a.os.substr(0,a.os.lastIndexOf("/")+1);var f=wd("div");const g=wd("div");var h=new P;const l=a.context();h.resize(l.slideWidth(),l.slideHeight());f.appendChild(h.displayObject());f.appendChild(g);l.yb=f;f=aI(a);h=l.slide();const n=h.YQ(),m=bI(a.H.cF,a.H.ga()),p=SH.bind(void 0,n,b,c,d,g,f,l.slideWidth(),l.slideHeight(),a.P4.bind(a),e,h.index(),m);void 0!==NH[n]?p():(QH.addHandler(t=>{t==n&&p()}),Ui(h.rp()))} +function cI(a,b,c,d,e,f,g,h){const l=a.os.substr(0,a.os.lastIndexOf("/")+1);var n=wd("div");const m=wd("div");var p=new P;const t=a.context();p.resize(t.slideWidth(),t.slideHeight());n.appendChild(p.displayObject());n.appendChild(m);t.yb=n;n=aI(a);p=t.slide();const w=dI(a.H.cF),y=TH.bind(void 0,b,c,d,e,m,n,t.slideWidth(),t.slideHeight(),a.R4.bind(a),l,p.index(),f,g,h,a.H.Yt().enabled(),w);void 0!==MH?y():(PH.addHandler(()=>{y()}),Ui(p.rp()))} +function aI(a){const b=wd("div");a.context().tr().appendChild(b);mn(b,"framesLayerContent");return b} +class eI extends JH{constructor(a,b,c,d){super(70);this.CG=a;this.Ld=b;this.os=c;this.H=d}start(a){super.start(a);const b=a.slide()instanceof cr,c=a.slide()instanceof tq;a=a.slide()instanceof Bq;b?UH(this.CG,this.Ld,this.T6.bind(this)):c?WH(this.CG,this.Ld,this.z6.bind(this)):a?XH(this.CG,this.Ld,this.b7.bind(this)):YH(this.CG,this.Ld,this.r7.bind(this));this.aZ=Ui(this.os)}r7(a,b){a=ij&&fj&&navigator.connection&&navigator.connection.saveData?a.replace(/{this.ss=gn(b.response());this.ke.C(this.ss)});b.send(a,"GET",{})}};let oI=null,pI=0;function qI(a,b){if(sj)if(a=`@import "${b}";`,!oI||30<=pI)oI=gn(a).styleSheet,pI=1;else{var c=a;a=oI;b=void 0;if(void 0==b||0>b)b=fn(a).length;if(a.insertRule)a.insertRule(c,b);else if(c=/^([^\{]+)\{([^\{]+)\}/.exec(c),3==c.length)a.addRule(c[1],c[2],b);else throw Error("Your CSSRule appears to be ill-formatted.");++pI}else a.lA=wd("link",{rel:"stylesheet",type:"text/css",href:b}),sd("head")[0].appendChild(a.lA)} +class rI{constructor(){this.lA=null;this.ke=new C}load(a){const b=Ib||Hb?dn:en,c=b().length;qI(this,a);const d=this,e=setInterval(()=>{try{if(null!=d.lA&&null!=d.lA.sheet||b().length!=c)clearInterval(e),d.ke.C(this.lA)}catch(f){}},100)}};class sI extends JH{constructor(a){super(30);this.b4=a;this.ss=null}get maa(){return this.ss}start(a){super.start(a);a=Vi()||sj?new rI:new nI;a.ke.addHandler(b=>{this.ss=b;this.Xh()},this);a.load(this.b4)}};class tI extends JH{constructor(){super();this.lE=this.kE=0;this.y$=1}weight(){return this.y$*this.kE}start(a){super.start(a);var b=a.yb;if(b){a={};b=b.querySelectorAll("span");for(var c=0;c=b.charCodeAt(c)){c=!0;break a}c=!1}TB(h,c?b.substr(0,1):"0",g,a)}this.gk()}else this.Xh()}s6(){++this.lE;this.gk()}r6(){++this.lE;this.gk()}gk(){this.lE==this.kE?this.Xh():this.Ct(this.lE/this.kE)}};class uI extends JH{constructor(){super();this.z$=1;this.mv=0;this.qA=[];this.yU={};this.HE=-1}weight(){return this.z$*this.mv}start(a){super.start(a);if(a=a.yb){a=a.querySelectorAll("img");this.mv=a.length;for(let b=0;b=a.Mn.length)a.Xh();else{var b=a.context(),c=a.Mn[a.Zy];vI(a,c);c.start(b)}}class BI extends xI{constructor(a){super(a)}start(a){super.start(a);AI(this)}sw(a){super.sw(a);AI(this)}};class CI{constructor(a){this.sK=a}qj(){return this.sK}};class DI{constructor(a,b){this.N4=a;this.ST=b}};const EI=Ii?[0,1,2,-1,3,4,-2,5]:[0,1,2,-1,3,4,-2,5,6,7,8,9,10]; +function FI(a,b){a.yF=b;const c=a.$G[b];c.Pa=1;const d=c.slide();var e=a.y3;const f=[],g=d.src();if(!g)throw Error("slide src can't be null");let h=null;g instanceof DI?(b=new eI(a.G.Ou(),b,e+g.N4,a.G.settings()),g.ST?(h=new sI(e+g.ST),f.push(new yI([h,b],20))):f.push(b)):(e=g.qj(),f.push(new KH(e)));"slide"==d.type()&&f.push(new zI);e=new IH(d,a.G.slideWidth(),a.G.slideHeight(),a.Ve);const l=new BI(f);z(a,l.Ar(),n=>{Ue(a,l);var m=n.context();d.yV=!0;n=m.yb;const p=Hd(n);c.yr(p[1],p[0],m.Gy);c instanceof +AH?(m=m.Oa(),c.cS(m)):c instanceof zH?(m=m.fb(),c.TR(m)):c instanceof ov&&(m=m.tb(),c.dS(m));d instanceof Am&&(n=a.aP.create(d,n,h?h.maa:null),GI(n.i8.Sw,n.p9),n.lP&&n.MX());HI(a);a.ql.C(d)});z(a,l.XC(),()=>{Ue(a,l);HI(a);a.r9.C(d)});l.start(e)}function rF(a){kh(a.w5,100,a)}function HI(a){a.SV[a.yF]=!0;a.yF=void 0;rF(a)} +class II extends wg{constructor(a,b){super();this.G=a;this.aP=b;this.y3="";a=a.slides();b=[];for(let d=0;d{d==b&&(c.gd(),MI(a))})}function MI(a){var b=new JI(new II(a.G,a.aP),a.G.settings().qJ(),a.G.settings().ga()||{});b=new FF(a.G,a.e8,b);a.xw.C(b)} +class NI extends wg{constructor(a,b,c){super();this.G=a;this.e8=b;this.aP=c;this.xw=E(this)}sr(){var a=this.G.settings().gy(),b=a.fI(),c;if(c=b){a:{c=window.location.hostname;for(var d=0;dTr(b, +d),f=0>=Tr(c,b);if(0>Tr(c,d)){b=e&&f;break a}if(0>Tr(d,c)){b=e||f;break a}}b=c&&0>Tr(b,c)?!1:!(d&&0<=Tr(b,d))}b=!b}b?(a=KI(this,"PB_TIME_RESTRICTION","Sorry, the presentation's creator disabled viewing the presentation at the moment"),uj?new SG("time",a,!1):new MG(a,"time")):a.GN?LI(this,a.password()):MI(this)}}};function OI(a){a=a.querySelectorAll("*");const b=[];for(const c of a)/^txt\w*/.test(c.id)&&b.push(c);return b}function PI(a,b){const c=new Map;OI(a).forEach(d=>{var e=b.find(f=>!!f.selectorText.match(d.id));(e=e?e.style:null)&&c.set(d,e)});return c}function GI(a,b){a.forEach(c=>{rm(c).forEach(d=>{const e=b.querySelector("#"+d.id);Gh(e,0,0);let f=jm(d.Ya.left,d.Ya.top);f=hm(d.zk.clone(),hm(f,d.yj));on(e,f)})})};function QI(a,b){const c=[];a.fda.forEach((d,e)=>{b(d)&&c.push({element:e,E0:d})});return c}class RI{constructor(a,b,c){this.i8=a;this.p9=b;this.ss=c;this.lP=null;if(c&&c.sheet)try{this.lP=PI(b,Array.from(c.sheet.cssRules))}catch(d){}}get styleSheet(){return this.ss.sheet}get fda(){return this.lP}};function SI(a){return QI(a,b=>/text-decoration-line: underline/.test(b.cssText))} +class TI extends RI{MX(){for(const {element:e,E0:f}of SI(this)){var a=e,b={},c=f.cssText.match(/text-decoration-.*?(?=;)/g);if(c)for(const g of c){const [h,l]=g.split(": ");b[h]=l}a:{var d=b;c=["solid","dashed","dotted","double"];if(d.hasOwnProperty("text-decoration-style")&&(d=d["text-decoration-style"],-1!=c.indexOf(d))){c=d;break a}c="solid"}if((d=b["text-decoration-thickness"]||"")&&"double"==c){const g=2*parseFloat(d);isNaN(g)||(d=`${g}px`)}a.style.borderBottom=`${c} ${d} ${b["text-decoration-color"]|| +""}`}for(const {element:e}of this.yL())e.style.textDecoration="line-through"}yL(){return QI(this,a=>/text-decoration-line: underline line-through/.test(a.cssText))}};class UI extends RI{MX(){this.yL().forEach(({element:a,E0:b})=>{b.removeProperty("text-decoration-line");b.setProperty("text-decoration-line","underline");const c=b.getPropertyValue("text-decoration-thickness");b=b.getPropertyValue("color")||"black";this.styleSheet.insertRule(`#${a.id}::after { + position: absolute; + content: ''; + width: 100%; + height: 0; + border-top: ${c} solid ${b}; + top: 0; + right: 0; + bottom: 0; + left: 0; + margin: auto; + }`)})}yL(){return QI(this,a=>/text-decoration-line: underline line-through/.test(a.cssText))}};class VI{create(a,b,c){return Ib?new TI(a,b,c):new UI(a,b,c)}};class WI extends wg{constructor(){super();this.Cf=null;this.px="";this.$P="_blank";this.vM=E(this)}logo(){return this.Cf}td(){return this.px}jS(a){this.px=a}HD(){return this.$P}isEqual(a){if(a.td()!==this.px||a.HD()!==this.$P)return!1;a=a.logo();return this.Cf||a?!!this.Cf&&!!a&&this.Cf.path()===a.path():!0}}WI.prototype.webSiteTarget=WI.prototype.HD;WI.prototype.webSiteUrl=WI.prototype.td;WI.prototype.logo=WI.prototype.logo;class XI{constructor(){this.lt=this.Zl=this.px=this.hT=this.FV=this.$h="";this.OX=this.Cb=null}name(){return this.$h}ip(){return this.FV}Nm(){return this.hT}td(){return this.px}jS(a){this.px=a}email(){return this.Zl}phone(){return this.lt}Zd(){return this.Cb}yu(a){this.Cb=a}Cr(){return this.OX}}XI.prototype.photo=XI.prototype.Cr;XI.prototype.company=XI.prototype.Zd;XI.prototype.phone=XI.prototype.phone;XI.prototype.email=XI.prototype.email;XI.prototype.webSiteUrl=XI.prototype.td; +XI.prototype.biography=XI.prototype.Nm;XI.prototype.jobTitle=XI.prototype.ip;XI.prototype.name=XI.prototype.name;class YI extends wg{constructor(){super();this.Rv=this.Sv=!1;this.pe=0;this.nA=E(this);this.pA=E(this);this.QV=E(this)}uf(){return this.Sv}progress(){return this.pe}load(){this.Sv||this.Rv||(this.Rv=!0,this.Yh())}Yh(){}t_(){}nda(){if(this.Sv||this.Rv)this.t_(),this.Rv=this.Sv=!1,this.Ct(0)}Ct(a){this.pe!=a&&(this.pe=a,this.QV.C(this))}Ar(){return this.nA}XC(){return this.pA}vba(){return this.QV}}YI.prototype.loadProgressEvent=YI.prototype.vba;YI.prototype.loadFailedEvent=YI.prototype.XC; +YI.prototype.loadCompleteEvent=YI.prototype.Ar;YI.prototype.unload=YI.prototype.nda;YI.prototype.load=YI.prototype.load;YI.prototype.progress=YI.prototype.progress;YI.prototype.isLoaded=YI.prototype.uf;function ZI(a){a.Rg&&(a.Rg.onload=null,a.Rg.onerror=null)}function $I(a){if(!a.uf())throw Error("asset not loaded");} +class aJ extends YI{constructor(a,b,c){var d,e,f;super();this.Rg=null;var g=a.startsWith("data:")?null:void 0;this.TA=g=a;this.Va=b;this.Na=c}Yh(){this.Rg=new Image;this.Rg.onload=this.SF.bind(this);this.Rg.onerror=this.v6.bind(this);this.Rg.src=this.TA}SF(){ZI(this);this.Rv=!1;this.Sv=!0;this.Ct(1);this.nA.C(this)}v6(){ZI(this);this.Rv=this.Sv=!1;this.pA.C(this);this.Ct(0)}t_(){this.Rg&&(ZI(this),this.Rg.src="",this.Rg=null)}path(){return this.TA}width(){if(null!=this.Va)return this.Va;if(!this.Rg)return 0; +$I(this);return this.Rg.width}height(){if(null!=this.Na)return this.Na;if(!this.Rg)return 0;$I(this);return this.Rg.height}CC(){$I(this);const a=zd("canvas");a.width=this.width();a.height=this.height();a.getContext("2d").drawImage(this.Rg,0,0);return a}kaa(){$I(this);return this.Rg.cloneNode(!0)}}aJ.prototype.createImgInstance=aJ.prototype.kaa;aJ.prototype.createInstance=aJ.prototype.CC;aJ.prototype.height=aJ.prototype.height;aJ.prototype.width=aJ.prototype.width;aJ.prototype.path=aJ.prototype.path;class bJ extends aJ{url(){return this.TA}}bJ.prototype.url=bJ.prototype.url;function cJ(a,b){const c=a.Ta.actions,d=new rg(dJ(a,b));b[c.Eu].forEach(e=>{d.kZ.push(new qg(e[c.Eu.key],v(e,c.Eu.bI,!1),v(e,c.Eu.shift,!1)))});return d} +function dJ(a,b){a=a.Ta.actions.name;switch(b[a]){case a.cca+"":return"playPause";case a.CI+"":return"nextSlide";case a.lca+"":return"previousSlide";case a.Kba+"":return"nextStep";case a.mca+"":return"previousStep";case a.Lca+"":return"seekForward";case a.Kca+"":return"seekBackward";case a.Laa+"":return"firstSlide";case a.rba+"":return"lastSlide";case a.cR+"":return"lastViewedSlide";case a.Wca+"":return"slideStart";case a.Tca+"":return"slideEnd";case a.wda+"":return"volumeUp";case a.vda+"":return"volumeDown"; +case a.hda+"":return"toggleFullscreen"}throw Error("unknown action type");}class eJ{constructor(a){this.Ta=a}eR(a,b){a.qa(v(b,this.Ta.enabled,!1));const c=a.actions();c.nc.length=0;a.enabled()&&b[this.Ta.actions].forEach(d=>{c.Ah(cJ(this,d))})}};function fJ(a){this.Fa=a}r(fJ,El);fJ.prototype.Fa=0;fJ.prototype.duration=function(){return this.Fa};fJ.prototype.xe=function(){};fJ.prototype.tk=function(){};function gJ(a){this.nc=a||[]}r(gJ,Fl);k=gJ.prototype;k.NM=null;k.Fa=-1;k.Ah=function(a){if(0<=this.Fa)throw Error("ParallelActions was already initialized");this.nc.push(a)};k.hK=function(){let a=0;for(let b=0;bthis.Fa&&(this.Fa=this.hK());return this.Fa}; +function hJ(a){if(a.NM)return a.NM;const b=[],c=a.duration(),d=a.nc.length;for(let e=0;e=this.JK.duration()?a.complete(this.JK,c,d):a.xe(this.JK,b,c,d)}};k.Kh=function(a,b,c){a.complete(this.GV,b,c)};function nJ(a){this.Rl=a}r(nJ,Fl);k=nJ.prototype;k.duration=function(){return Gl(this.Rl)};k.xe=function(a,b,c){a=this.Xi(a);this.yc(Ml(),a,b,c)};k.complete=function(a,b){this.Kh(Ml(),a,b)};k.tk=function(a,b,c){a=this.Xi(a,!0);this.yc(Jl(),a,b,c)};k.gD=function(a,b){this.Kh(Jl(),a,b)};k.yc=function(a,b,c,d){if(b==this.duration())this.Kh(a,c,d);else{if(!(this.Rl instanceof El))throw Error("can't run not prolonged action");a.xe(this.Rl,b,c,d)}};k.Kh=function(a,b,c){a.complete(this.Rl,b,c)};function oJ(a){this.jb=a;this.i_=[];let b=0;for(let c=0;cthis.Fa)return!1;if(0==a&&b>=this.Fa)return!0;const c=this.jb.length;for(let d=0;dthis.Fa)return!1;if(0==a&&b>=this.Fa)return!0;const c=this.st,d=this.Rl.duration();var e=Math.floor(a/(d+c));const f=Math.floor(b/(d+c));if(1=g&&this.Rl.SC(Math.max(a-g,0),b-g))return!0}return!1};pJ.prototype.yS=function(){return[this.Fa]};function qJ(a,b,c,d){this.fi="__mediaTransforms";this.Jb=a;this.iG=b;this.sO=c;this.Wh=d}qJ.prototype.Wm=function(){return this.iG};qJ.prototype.xe=function(a,b){a.Fd.add(new Tp(this.fi,this.Jb,new Wp(this.iG,this.Wh,b)))};function rJ(){}k=rJ.prototype;k.Ta=null;k.ZB=0;k.Pg=0;k.f_=0;k.initialize=function(a,b,c,d){this.Ta=a;this.ZB=b;this.Pg=c;this.f_=d}; +k.load=function(a){const b=this.Ta;var c=this.Ta;if(a[c.xk]||a[c.Li]){c=this.Ta;const e=a[c.xk]||a[c.Li];a:{var d=this.Ta;switch(a[d.Wm]){case d.Wm.play+"":d=yp;break a;case d.Wm.pause+"":d=zp;break a;case d.Wm.stop+"":d=Ap;break a}throw Error("unknown media operation");}c=new xp(e,d,c.Gi in a?a[c.Gi]:null)}else c=new Bp;return new qJ(b.Li in a?"video":"sound",c,a[b.timing][b.timing.start]*this.ZB+this.Pg,this.f_)};function sJ(){}k=sJ.prototype;k.Ta=null;k.uP=0;k.My=null;k.Wh=0;k.initialize=function(a,b,c,d){this.Ta=a;this.uP=c;this.My=b;this.Wh=d};k.ta=function(){if(!this.Ta)throw Error("BehaviorLoader isn't initialized");return this.Ta};function tJ(a){if(!a.My)throw Error("BehaviorLoader isn't initialized");return a.My}function uJ(a){if(!a.My)throw Error("BehaviorLoader isn't initialized");return a.My.id()}k.level=function(){return this.Wh}; +k.load=function(a){const b=this.RV(a);let c=this.Yh(a,b);c=this.OJ(c,a,b);b.Bi()&&(a=ma(c)+"_rewind",c=new Nl([new kJ(uJ(this),a),c,new lJ(uJ(this),a)]));return 0=a.Fa?1:b/a.Fa}wJ.prototype.xe=function(a,b,c){const d=this.Xi(a);this.yc(d>=this.Fa?1:d/this.Fa,b,c,!1,a==this.Fa)};wJ.prototype.tk=function(a,b,c){const d=this.Xi(a,!0);this.yc(1-(d>=this.Fa?1:d/this.Fa),b,c,!0,a==this.Fa)};function yJ(a,b,c,d){b.Fd.add(new Tp(a.fi,c,d))} +function zJ(a,b,c,d){const e=ma(a),f=b.Dv.get(e);f?d=f.value:(a=b.o8.get(a.fi),d=d(a),b.Dv.set(e,{value:d,oia:tk(c)}));return d};function AJ(a,b,c){wJ.call(this,a,b);this.t4=c}r(AJ,wJ);AJ.prototype.yc=function(a,b,c,d,e){if(d=zJ(this,b,c,f=>(f=ul(f))?"font-size"in f.ji?f.ji["font-size"]:"":""))a=Yk("font-size",(this.t4-d)*a+d,c,e),yJ(this,b,"cssTextProperties",a)};function BJ(){}r(BJ,sJ);BJ.prototype.RV=function(a){const b=this.ta().timing;return new CJ(this.uP,a[b],b)};function DJ(a){return eval("("+a+")")}BJ.prototype.OJ=function(a,b,c){if(0f&&(e-=360)}return[(e-f)*c+f,(b[1]-a[1])*c+a[1],(b[2]-a[2])*c+a[2]]};function HJ(a,b,c,d){this.je=a;this.E9=b;this.eL=c;this.Bq=d}HJ.prototype.getTransform=function(a,b,c,d,e,f){return new Wk(new Tk(this.je,GJ(this.E9,this.eL,b,this.je)),this.Bq,!0,d,f)};function IJ(a,b,c,d){this.Jb=a;this.je=b;this.eL=c;this.Bq=d}IJ.prototype.getTransform=function(a,b,c,d,e,f){const g=this.Jb;a=zJ(a,c,d,h=>{let l=null;switch(g){case "textColor":l=kl(h,"textColor");break;case "strokeColor":l=kl(h,"strokeColor");break;case "fillColor":l=kl(h,"fillColor");break;case "imgColor":l=kl(h,"imgColor")}return l?l.color():null});if(!a)return null;a=a.Mc(this.je);return new Wk(new Tk(this.je,GJ(a,this.eL,b,this.je)),this.Bq,!0,d,f)};function JJ(a,b,c,d){wJ.call(this,a,b);this.Jb=c;this.Rk=d}r(JJ,wJ);JJ.prototype.yc=function(a,b,c,d,e){(a=this.Rk.getTransform(this,a,b,c,d,e))&&yJ(this,b,this.Jb,a)};function KJ(){}r(KJ,BJ); +KJ.prototype.Yh=function(a,b){var c=this.ta();c=LJ(this,a[c.target]);const d=[];for(let p=0;pa||1=this.no&&(b=this.hY,c=this.iY);let d=null;for(;ba){d=e.MI((a-c)/(f-c));break}c=f}this.no=a;this.hY=b;this.iY=c;return d?d:this.end()};function UJ(a){this.Fa=a}UJ.prototype.duration=function(){return this.Fa};function QJ(a){this.Fa=0;this.yq=a}r(QJ,UJ);QJ.prototype.end=function(){return this.yq}; +function RJ(a,b,c){this.Fa=a;this.KE=b;this.wH=c}r(RJ,UJ);RJ.prototype.end=function(){return this.wH};RJ.prototype.MI=function(a){const b=this.KE,c=this.wH;return new Xc((c.x-b.x)*a+b.x,(c.y-b.y)*a+b.y)};function TJ(a,b,c,d,e){this.Fa=a;this.cL=e;this.C3=new Un(b.x,b.y,c.x,c.y,d.x,d.y,e.x,e.y)}r(TJ,UJ);TJ.prototype.end=function(){return this.cL}; +TJ.prototype.MI=function(a){var b=this.C3;if(0==a)var c=b.ID;else if(1==a)c=b.JD;else{c=Wc(b.ID,b.x1,a);var d=Wc(b.x1,b.x2,a),e=Wc(b.x2,b.JD,a);c=Wc(c,d,a);d=Wc(d,e,a);c=Wc(c,d,a)}0==a?a=b.KD:1==a?a=b.LD:(d=Wc(b.KD,b.y1,a),e=Wc(b.y1,b.y2,a),b=Wc(b.y2,b.LD,a),d=Wc(d,e,a),e=Wc(e,b,a),a=Wc(d,e,a));return new Xc(c,a)};function VJ(a,b,c){wJ.call(this,a,b);this.TA=c}r(VJ,wJ);VJ.prototype.yc=function(a,b,c,d,e){a=this.TA.MI(a);yJ(this,b,"moveX",new bl(a.x,!0,c,e));yJ(this,b,"moveY",new bl(a.y,!0,c,e))};function WJ(){}r(WJ,BJ);WJ.prototype.Yh=function(a,b){const c=this.ta();return new VJ(uJ(this),b.duration(),XJ(this,a[c.path]))}; +function XJ(a,b){function c(){return new Xc(d()+f,d()+g)}function d(){const h=b.match(/^\s*([-0-9\.]+)/);if(h)return b=b.substr(h[0].length),parseFloat(h[1]);throw Error("incorrect path");}function e(){const h=b.match(/^\s*([m|l|c])/i);return h?(b=b.substr(h[0].length),h[1].toLowerCase()):null}a=tJ(a);const f=a.Ya().left,g=a.Ya().top;b=b.replace(/,/g," ");for(a=new PJ;;){const h=e();if(!h)break;switch(h){case "m":a.moveTo(c());break;case "l":a.lineTo(d(),c());break;case "c":SJ(a,d(),c(),c(),c())}}return a} +;function YJ(a,b){this.rt=a;this.qO=b}YJ.prototype.getTransform=function(a,b,c,d,e,f){b=this.ih(b,d,f);this.rt&&e&&this.qO&&(a=this.ih(xJ(a),d,f),b=b.add(a.pu()));return b};function ZJ(a,b,c){YJ.call(this,b,c);this.d8=a}r(ZJ,YJ);ZJ.prototype.ih=function(a,b,c){return new bl(this.d8(a),!this.rt,b,c)};function $J(a,b){YJ.call(this,!0,b);this.d4=a}r($J,YJ);$J.prototype.ih=function(a,b,c){return new bl(this.d4*a,!1,b,c)};function aK(a,b,c,d){YJ.call(this,c,d);this.KE=a;this.wH=b}r(aK,YJ);aK.prototype.ih=function(a,b,c){return new bl((this.wH-this.KE)*a+this.KE,!this.rt,b,c)};function bK(a,b){this.u4=a;this.Jb=b}bK.prototype.getTransform=function(a,b,c,d,e,f){const g=this.Jb;a=zJ(a,c,d,h=>"moveX"==g?nl(h).xc:ol(h).xc);return null===a?null:new bl((this.u4-a)*b+a,!0,d,f)};function cK(a,b,c,d){wJ.call(this,a,b);this.Jb=c;this.Rk=d}r(cK,wJ);cK.prototype.yc=function(a,b,c,d,e){(a=this.Rk.getTransform(this,a,b,c,d,e))&&yJ(this,b,this.Jb,a)};function dK(a){this.Jb=a}r(dK,BJ);dK.prototype.Yh=function(a,b){const c=this.ta();if(c.Uo in a){var d=uJ(this),e=b.duration();b=!b.Bi();a=new cK(d,e,this.Jb,new $J(a[c.Uo],b))}else if(c.iI in a){d=uJ(this);e=b.duration();var f=DJ(a[c.iI]);b=!b.Bi();a=new cK(d,e,this.Jb,new ZJ(f,v(a,c.TI,!1),b))}else c.from in a?(d=uJ(this),e=b.duration(),b=!b.Bi(),a=new cK(d,e,this.Jb,new aK(a[c.from],a[c.Hh],v(a,c.TI,!1),b))):(d=uJ(this),b=b.duration(),e=this.Jb,a=new cK(d,b,e,new bK(a[c.Hh],e)));return a}; +function eK(){this.Jb="moveX"}r(eK,dK);function fK(){this.Jb="moveY"}r(fK,dK);function gK(a,b,c){this.MZ=a;this.dL=b;this.Wh=c}gK.prototype.getTransform=function(a,b,c,d,e,f){return new ip((this.dL-this.MZ)*b+this.MZ,this.Wh,d,f)};function hK(a,b){this.dL=a;this.Wh=b}hK.prototype.getTransform=function(a,b,c,d,e,f){a=zJ(a,c,d,g=>(g=kl(g,"filter"))&&g instanceof ip?g.alpha():1);return null===a?null:new ip((this.dL-a)*b+a,this.Wh,d,f)};function iK(a,b,c){wJ.call(this,a,b);this.Rk=c}r(iK,wJ);iK.prototype.yc=function(a,b,c,d,e){(a=this.Rk.getTransform(this,a,b,c,d,e))&&yJ(this,b,"filter",a)};function jK(){}r(jK,BJ);jK.prototype.Yh=function(a,b){const c=this.ta();if(c.Uo in a)throw uJ(this),b.duration(),this.level(),Error("not implemented");if(c.from in a){var d=uJ(this);b=b.duration();var e=this.level();a=new iK(d,b,new gK(a[c.from],a[c.Hh],e))}else d=uJ(this),b=b.duration(),e=this.level(),a=new iK(d,b,new hK(a[c.Hh],e));return a};function kK(a,b){this.Wf=a;this.rO=b}kK.prototype.ih=function(a,b,c){return new cl(this.Wf*a,!1,b,c)};kK.prototype.getTransform=function(a,b,c,d,e,f){b=this.ih(b,d,f);e&&this.rO&&(a=this.ih(xJ(a),d,f),b=b.add(a.pu()));return b};function lK(a,b){this.GU=a;this.R9=b}lK.prototype.getTransform=function(a,b,c,d,e,f){return new cl((this.R9-this.GU)*b+this.GU,!0,d,f)};function mK(a){this.Wf=a}mK.prototype.getTransform=function(a,b,c,d,e,f){a=zJ(a,c,d,g=>ll(g).angle()+ml(g).angle());return null===a?null:new cl((this.Wf-a)*b+a,!0,d,f)};function nK(a,b,c,d){wJ.call(this,a,b);this.Jb=c;this.Rk=d}r(nK,wJ);nK.prototype.yc=function(a,b,c,d,e){(a=this.Rk.getTransform(this,a,b,c,d,e))&&yJ(this,b,this.Jb,a)};function oK(){}r(oK,BJ);oK.prototype.Yh=function(a,b){const c=this.ta();if(c.Uo in a){var d=uJ(this),e=b.duration();b=!b.Bi();a=new nK(d,e,"rotateBy",new kK(a[c.Uo]*Math.PI/180,b))}else c.from in a?(d=uJ(this),b=b.duration(),a=new nK(d,b,"rotateTo",new lK(a[c.from]*Math.PI/180,a[c.Hh]*Math.PI/180))):(d=uJ(this),b=b.duration(),a=new nK(d,b,"rotateTo",new mK(a[c.Hh]*Math.PI/180)));return a};function pK(a,b){this.rt=a;this.qO=b}pK.prototype.getTransform=function(a,b,c,d,e,f){b=this.ih(b,d,f);this.rt&&e&&this.qO&&(a=this.ih(xJ(a),d,f),b=b.add(a.pu()));return b};function qK(a,b,c){pK.call(this,b,c);this.J8=a}r(qK,pK);qK.prototype.ih=function(a,b,c){return new dl(this.J8(a),!this.rt,b,c)};function rK(a,b){pK.call(this,!0,b);this.ra=a}r(rK,pK);rK.prototype.ih=function(a,b,c){return new dl((this.ra-1)*a+1,!1,b,c)};function sK(a,b,c,d){pK.call(this,c,d);this.eT=a;this.fL=b}r(sK,pK);sK.prototype.ih=function(a,b,c){return new dl((this.fL-this.eT)*a+this.eT,!this.rt,b,c)};function tK(a,b){this.fL=a;this.Jb=b}tK.prototype.getTransform=function(a,b,c,d,e,f){const g=this.Jb;a=zJ(a,c,d,h=>{switch(g){case "scaleX":return pl(h).scale();case "scaleX2":return ql(h).scale();case "scaleY":return rl(h).scale();case "scaleY2":return sl(h).scale()}return null});return null===a?null:new dl((this.fL-a)*b+a,!0,d,f)};function uK(a,b,c,d){wJ.call(this,a,b);this.Jb=c;this.Rk=d}r(uK,wJ);uK.prototype.yc=function(a,b,c,d,e){(a=this.Rk.getTransform(this,a,b,c,d,e))&&yJ(this,b,this.Jb,a)};function vK(a){this.Jb=a}r(vK,BJ);vK.prototype.Yh=function(a,b){const c=this.ta();if(c.Uo in a){var d=uJ(this),e=b.duration();b=!b.Bi();a=new uK(d,e,this.Jb,new rK(a[c.Uo],b))}else if(c.iI in a){d=uJ(this);e=b.duration();var f=DJ(a[c.iI]);b=!b.Bi();a=new uK(d,e,this.Jb,new qK(f,v(a,c.TI,!1),b))}else c.from in a?(d=uJ(this),e=b.duration(),b=!b.Bi(),a=new uK(d,e,this.Jb,new sK(a[c.from],a[c.Hh],v(a,c.TI,!1),b))):(d=uJ(this),b=b.duration(),e=this.Jb,a=new uK(d,b,e,new tK(a[c.Hh],e)));return a}; +function wK(){this.Jb="scaleX"}r(wK,vK);function xK(){this.Jb="scaleY"}r(xK,vK);function yK(){this.Jb="scaleX2"}r(yK,vK);function zK(){this.Jb="scaleY2"}r(zK,vK);function AK(a,b,c,d){this.fi=a;this.p8=b;this.q8=c;this.Jb=d?"cssTextProperties":"cssProperties"}r(AK,Al);AK.prototype.xe=function(a,b){b=Yk(this.p8,this.q8,b,!0);a.Fd.add(new Tp(this.fi,this.Jb,b))};AK.prototype.tk=function(){};function BK(){}r(BK,sJ);BK.prototype.Yh=function(a){const b=this.ta(),c=a[b.pca],d=a[b.mba];if(d){var e=tJ(this);Pa(e.RJ,c)||e.RJ.push(c)}else e=tJ(this),Pa(e.QJ,c)||e.QJ.push(c);return new AK(uJ(this),c,a[b.Hh],d)};function CK(a,b){this.NZ=a;this.gL=b}CK.prototype.getTransform=function(a,b,c,d,e,f){return new el((this.gL-this.NZ)*b+this.NZ,d,f)};function DK(a){this.gL=a}DK.prototype.getTransform=function(a,b,c,d,e,f){a=zJ(a,c,d,g=>tl(g).shift());return null===a?null:new el((this.gL-a)*b+a,d,f)};function EK(a,b,c){wJ.call(this,a,b);this.Rk=c}r(EK,wJ);EK.prototype.yc=function(a,b,c,d,e){(a=this.Rk.getTransform(this,a,b,c,d,e))&&yJ(this,b,"shiftX",a)};function FK(){}r(FK,BJ);FK.prototype.Yh=function(a,b){const c=this.ta();if(c.from in a){var d=uJ(this);b=b.duration();a=new EK(d,b,new CK(a[c.from],a[c.Hh]))}else d=uJ(this),b=b.duration(),a=new EK(d,b,new DK(a[c.Hh]));return a};function GK(a,b){this.fi=a;this.Ra=b}r(GK,Al);GK.prototype.xe=function(a,b){this.yc(this.Ra,a,b)};GK.prototype.tk=function(a,b){this.yc(!this.Ra,a,b)};GK.prototype.yc=function(a,b,c){b.Fd.add(new Tp(this.fi,"visibility",new il(a,c)))};function HK(){}r(HK,sJ);HK.prototype.Yh=function(a){const b=this.ta();return new GK(uJ(this),a[b.Hh])};function IK(a){this.Xg=a;this.vl=1;this.F9=0}var JK; +IK.prototype.load=function(a,b){var c=this.ta();c.iQ in b&&KK(this,a,b[c.iQ]);var d=this.ta(),e=null;d.gR in b&&d.Hi in b[d.gR]&&(e=b[d.gR]);var f=e?e[d.Hi].length:0,g=a.sb().count(),h=!1;if(g==f+1)f=a.Uv,g=a.sb().sc(0),f.Bh(Tl(this.Xg,"__step",!0)),Vl(f,new fJ(1E3*g.duration())),h=!0;else if(g!==f)throw Error("count of slide animation steps must be equal to steps in mainSequence");e&&LK(this,a,a.Tu,a.Uv,0,e[d.Hi],new MK(a,this,h));if(c.ZQ in b)for(b=b[c.ZQ],c=0;cp?p/(D+.001):1;D>m.F9&&(m.vl=p);m=p;p=new gJ;w=!1;n=n[h.hk];for(t=0;t{const w=new tm(p[m.type],e(p[m.Mm]),t),y=m.item;p[m.Tc]&&(w.Tc=f(p[m.Tc],y),w.o0= +p[m.Tc][m.aba]);u(p[m.Nl],D=>{D=f(D,y);w.Nl.push(D)});u(p[m.pr]||[],D=>{D=new l(D[m.type],D[m.text],D[m.vj]);w.pr.push(D)});w.text=p[m.text];w.zr=p[m.zr]||0;w.rotation=p[m.rotation]/180*Math.PI;w.Dl=p[m.Dl];w.Pl=p[m.Pl];w.vj=p[m.vj];t=w.Fx;t.line=p[m.line];t.fill=p[m.fill];t.iu=p[m.iu];t.uu=p[m.uu];t.Du=p[m.Du];t.Iu=p[m.Iu];t.Ju=p[m.Ju];sm(w);p[m.se]&&(w.se=g(p[m.se],m.se));b.Sw.push(w)},a)}} +function cL(a,b,c){function d(f){switch(f[e.action.type]){case e.action.type.Lba+"":return new RK;case e.action.type.ue+"":return new fs(f[e.action.L])}throw Error("unknown branching action");}const e=a.ta().slides.pj;e.kp in c&&Pf(b,d(c[e.kp]));e.ey in c&&Qf(b,d(c[e.ey]))}function dL(a,b,c){function d(f){return new as(f[e.link.url],f[e.link.target])}const e=a.ta().settings.Qu;Zr(b,e.kJ in c?d(c[e.kJ]):null);$r(b,e.NI in c?d(c[e.NI]):null)} +function eL(a,b,c){function d(e){return e?new Qr(new Date(1E3*e)):null}a=a.ta().settings.gy;a.password in c&&(b.GN=c[a.password]);if(a.yy in c){const e=c[a.yy];Wr(b,new Ur(d(e[a.yy.vaa]),d(e[a.yy.waa])))}a.fI in c&&(b.dU=c[a.fI])}function YK(a,b){if(!a)return 1;if("number"===typeof a)return a;switch(a){case b.repeat.z2+"":return"untilNextClick";case b.repeat.A2+"":return"untilNextSlide";case b.repeat.B2+"":return"untilNextSound"}return 1} +function ZK(a,b,c){if(c.ik in b){b=b[c.ik];for(let e=0;e{d.push(a.fP.Wu[e]||null)});return new pf(d,c)} +function XK(a,b,c){const d=a.ta();if(d.qd in c){const e=b.qd();c=c[d.qd];if(d.qd.Lm in c){const f=b.fP,g=e.Lm();fL(a,c[d.qd.Lm],(h,l,n,m)=>{g.d0(new sr(f.Wu[h]||null,n,m,l))})}if(d.qd.Vf in c){const f=b.P_,g=e.Vf();fL(a,c[d.qd.Vf],(h,l,n,m)=>{g.f0(new vr(f.Wu[h]||null,n,m,l))})}}}function fL(a,b,c){const d=a.ta().qd.track;for(let f=0;fn;++n)l.push(m),m+=1<<(n>>1);for(n=0;3>n;++n)d.push(n+16);for(n=0;7>=n;++n)d.push((8-n)%8),d.push(8+n);for(n=1;3>n;++n)e.push(n);for(n=0;28>n;++n){var p=n>>1<<16;m=n%8;p+=(l[m]<< +(n-m)/2)+1;e.push(p)}for(n=3;7>n;++n)f.push(n);m=7;for(n=0;24>n;++n)l=n>>2,p=(l<<16)+m,m+=1<n;++n)f.push(258)})();c.prototype.CQ=function(l){var n=this.XH,m=n?n.length:0;if(l>l; +this.AC=n-l;this.vx=t;return m&(1<>16;m&=65535;(0==l||l>n;this.AC=l-n;this.vx=w;return m};c.prototype.JC=function(l){for(var n=l.length,m=0,p=0;pm&&(m=l[p]);for(var t=1<>=1;for(p=J;p< +t;p+=I)w[p]=y<<16|A;++D}return[w,m]};c.prototype.vca=function(){function l(J,T,U,X,aa){for(J=J.ur(U)+X;0>=1;if(0==n){var m=this.nQ,p=this.vx,t;b(t=m[p++])&&a();var w=t;b(t=m[p++])&&a();w|=t<<8;b(t=m[p++])&&a();n=t;b(t=m[p++])&&a();(n|t<<8)!=(~w&65535)&&a();this.AC=this.zC=0;t=this.vC;n=this.CQ(t+w);this.vC=w=t+w;for(var y=t;y=D;++D)m[D]=8; +for(;255>=D;++D)m[D]=9;for(;279>=D;++D)m[D]=7;for(;287>=D;++D)m[D]=8;g=this.JC(m);n=Array(31);for(D=0;32>D;++D)n[D]=5;h=this.JC(n);h[0][15]=0;h[0][31]=0}p=g;t=h}else if(2==n){n=this.ur(5)+257;t=this.ur(5)+1;p=this.ur(4)+4;m=Array(d.length);for(D=0;DI)y+1>=w&&(n=this.CQ(y+1),w=n.length),n[y++]=I;else{if(256==I){this.vC=y;break}I-=257;I=f[I];var A=I>>16;0>16;0=w&&(n=this.CQ(y+m),w=n.length);for(A=0;Ae?(c[++h]=String.fromCharCode(e),++d):191e?(f=a[d+1],c[++h]=String.fromCharCode((e&31)<<6|f&63),d+=2):(f=a[d+1],g=a[d+2],c[++h]=String.fromCharCode((e&15)<<12|(f&63)<<6|g&63),d+=3):++d;b(c.join(""))};function jL(a,b,c,d){var e=(new SK(c)).load(b);b=parseInt(v(b,c.hca,"2007"),10);c=new VI;a.dY.C(e);e=new NI(e,b,c);Qe(a,e.xw,f=>{f.view().Fi().id=d;mn(f.view().displayObject(),d);a.xw.C(f)});e.sr()}function kL(a,b,c,d){iL(b,e=>{e=JSON.parse(e);if(!e)throw Error("invalid presentation json!");jL(a,e,c,d)})}class lL extends wg{constructor(){super();this.xw=E(this);this.dY=E(this)}sr(a,b,c){la(a)?jL(this,a,b,c):kL(this,a,b,c)}};function mL(){return nL()||void 0===window.orientation?window.innerWidth>window.innerHeight:!!(window.orientation%180)}function nL(){return 0<=window.location.search.indexOf("ispringpreview=1")};function oL(a,b){z(a,b.TV,a.rM,a);z(a,b.u_,a.CP,a);b=b.rD();z(a,b.Mu(),a.rM,a);z(a,b.wJ(),a.CP,a)}function pL(a,b){z(a,b.ll,a.rM,a);z(a,b.Qk,a.CP,a)}class qL extends wg{constructor(a){super();this.GJ=a;a=Oi();this.Ib=a.hasOwnProperty("accessibility")&&"1"==a.accessibility&&this.Km()?"accessible":"normal";this.TP=!1;this.fY=E(this);this.VV=E(this);this.v_=E(this)}mode(){return this.Ib}Km(){return this.GJ&&!Ii&&!nL()}rM(){this.TP=!0;this.VV.C()}CP(){this.TP=!1;this.v_.C()}};function rL(a,b,c,d){if(a.Km()){const e=new P({Yb:"SECTION"});e.vf("region");e.vp(d.PB_ACCESSIBLE_ARIA_LABEL_SETTINGS);d=rd(document,c);c=e.displayObject();d.appendChild(c);c=new ZC({F:"presentation-view-mode-switch-control",tabIndex:0});M(e,c);sL(c,a);tL(c,a);uL(c,b);return c}return null} +function sL(a,b){a.ja.addHandler(()=>{if(b.TP)Ga("view mode change is locked");else{const d="normal"==b.Ib?"accessible":"normal";a:switch(d){case "normal":var c=!0;break a;case "accessible":c=b.Km();break a;default:throw Error("unknown presentation view mode");}c&&(b.Ib=d,b.fY.C(d))}})}function tL(a,b){let c=!1;b.VV.addHandler(()=>{document.activeElement==a.displayObject()&&(c=!0);a.qa(!1)});b.v_.addHandler(()=>{a.qa(!0);c&&(a.focus(),c=!1)})} +function uL(a,b){b.Jn.addHandler(()=>{a.focus()});b.US.addHandler(c=>{"normal"==c&&a.focus()})};function vL(a,b){var c=Mo(a).concat(b);a=c[0];b=c[1];var d=c[2];c=c[3];if(isNaN(a)||0>a||255b||255d||255c||1vL(b.color,b.opacity)).join(", ");return`linear-gradient(${this.nz}deg, ${a})`}jd(a){return zL({sj:this.nz,tj:this.Hz.map(b=>({color:b,opacity:b.opacity*a}))})}Om(){return zL({sj:this.nz,tj:this.Hz.map(a=>({color:a.color,opacity:a.opacity}))})}};function BL(a){const b={};Object.keys(a).forEach(c=>{const d=a[c];"SOLID"===d.type?b[c]=xL({color:d.color,opacity:d.opacity}):"GRADIENT"===d.type&&(b[c]=zL({sj:d.degree,tj:d.gradient}))});return b}function CL(a){const b={};for(const [c,d]of Object.entries(a))b[c]=d.tJ();return b};class DL{constructor(){var a=new gG;this.Nba=new pG;this.mC=a;this.RC=iG}};class EL{constructor({Ca:a,DR:b,colors:c,Zm:d}){this.G=a;this.RN=b;this.Sb=c;this.ut=d;this.$f=null;(a=this.Sb)&&(a.popupBorder=a.playerText.jd(.08))}dQ(a){Fd(this.$f);this.$f=null;if("normal"==a){a=this.ut.Nba;const b={__slide_width__:`${this.G.slideWidth()}px`,__slide_height__:`${this.G.slideHeight()}px`,__player_view_id__:this.RN,__borderRadius__:`${this.G.settings().skin().borderRadius}px`};this.$f=a.Yo(this.Sb&&CL(this.Sb),b)}else if("accessible"==a)this.KJ();else throw Error("unknown presentation view mode"); +}KJ(){this.$f=this.ut.mC.Yo()}};function Z(a,b){if(a.Ud.hasOwnProperty(b))a=a.Ud[b];else throw Error("unknown template id: "+b);a=Ad(Kc(a));return a instanceof DocumentFragment?a.firstChild:a}class FL{constructor(a){this.Ud=a}JU(a){return"{"+a+"}"}};class GL extends FL{};function HL(a){if(a.na&&a.na.visible()){a.na.focus();var b=!0}else b=!1;b||(a.qh&&a.qh.isActive()?(a.qh.focus(),b=!0):b=!1);!b&&(a=a.zc.Gd[a.B.ma()].content(),a=void 0!==a.firstElementChild?a.firstElementChild:Id(a.firstChild))&&(a.setAttribute("tabindex",0),a.focus())}function IL(a,{H2:b,pia:c=200}){if(a.tF()||a.bA())b?setTimeout(()=>HL(a),c):HL(a)} +class JL extends wg{constructor({V:a,kn:b}){super();this.B=a;this.zc=b;this.qh=this.na=null}tF(){return-1!=this.B.ma()&&this.B.fa()instanceof Am}bA(){return-1!=this.B.ma()&&this.B.fa()instanceof Bq}};function KL(a){if(0NL(a,b)).map(b=>b.audio())}function OL(a){return a.qh.Vf().Mc().filter(b=>NL(a,b)).map(b=>b.video())}function NL(a,b){return a.W()>=b.Lb().L()&&a.W()<=b.qf().L()}function LL(a,b){return a.I.ia(b instanceof HTMLAudioElement?"PB_ACCESSIBLE_AUDIO_NARRATION_LABEL":"PB_ACCESSIBLE_VIDEO_NARRATION_LABEL")} +class PL extends P{constructor({qd:a,V:b,ga:c}){super({Yb:"SECTION",F:"ppt-accessible-narration"});this.qh=a;this.B=b;this.I=c;this.Lj=[];this.oW=new Map;z(this,this.B.vc(),this.h$,this)}isActive(){return 0Fd(b));this.Lj.splice(0,this.Lj.length);[...ML(this),...OL(this)].forEach(b=>{var c=this.Lj,d=c.push,e;if(!(e=this.oW.get(b.id()))){e=nH(b.wi()||mH(b));e=Ad(Kc(e));const f=LL(this,e);jt(e, +"label",f);e=this.oW.set(b.id(),e).get(b.id())}d.call(c,e)});this.Lj.forEach(b=>{!a.includes(b)&&b.readyState&&(b.currentTime=0)});this.Lj.forEach(b=>this.O(b));this.J(!!this.Lj.length);KL(this)}W(){return this.B.ma()}};class QL extends P{constructor({V:a,eca:b,ga:c}){super({Yb:"NAV",F:"simple-navigation-panel"});this.vf("navigation");this.vp(c.ia("PB_ACCESSIBLE_ARIA_LABEL_NAVIGATION_BUTTONS"));this.B=a;this.ON=b;this.I=c;this.PU=E(this);this.NU=E(this);const {Z$:d,X$:e}=this.nv();M(this,e);M(this,d);z(this,this.B.vc(),()=>{setTimeout(()=>{var f=d.qa,g=!this.B.nf("switchToPreviousSlide"),h=-1!=this.B.gh();f.call(d,g&&h);f=e.qa;g=!this.B.nf("switchToNextSlide");h=-1!=this.B.fh();f.call(e,g&&h||this.B.ma()==this.B.Sm()&& +this.ON.Tm())},200)})}nv(){const a=this.Ae({caption:this.I.ia("PB_ACCESSIBLE_NAVIGATION_PREV_BUTTON"),w0:()=>this.PU.C()}),b=this.Ae({caption:this.I.ia("PB_ACCESSIBLE_NAVIGATION_NEXT_BUTTON"),w0:()=>this.NU.C()});return{Z$:a,X$:b}}Ae({caption:a,w0:b}){const c=new ZC({ka:O(this,"button")});c.ha(a);z(this,c.ja,b,this);return c}};function RL(a){a.pb.C()}class SL extends wg{constructor(){super();this.Ra=!1;this.KO=this.Hb=!0;this.Yv=TL;this.pb=E(this);this.Cc=E(this)}get visible(){return this.Ra}set visible(a){this.Ra!=a&&(this.Ra=a,this.Cc.C())}get enabled(){return this.Hb}set enabled(a){this.Hb!=a&&(this.Hb=a,RL(this))}get Lr(){return this.KO}set Lr(a){this.KO!=a&&(this.KO=a,RL(this))}get mode(){return this.Yv}set mode(a){this.Yv!=a&&(this.Yv=a,RL(this))}}var TL="presentationTimeline";class UL extends wg{constructor(){super();this.Et=this.Vb=this.Ra=!1;this.va=new SL;this.wo=this.yo=this.UO=this.Ft=this.GO=this.WO=this.QO=!1;this.De=VL;this.VO=!1;this.pb=E(this);this.Cc=E(this)}get visible(){return this.Ra}set visible(a){this.Ra!=a&&(this.Ra=a,this.Cc.C())}get showOutline(){return this.Vb}set showOutline(a){this.Vb!=a&&(this.Vb=a,RL(this))}get xf(){return this.Et}set xf(a){this.Et!=a&&(this.Et=a,RL(this))}get lc(){return this.va}get sy(){return this.QO}set sy(a){this.QO!=a&&(this.QO= +a,RL(this))}get Mr(){return this.WO}set Mr(a){this.WO!=a&&(this.WO=a,RL(this))}get Ll(){return this.GO}set Ll(a){this.GO!=a&&(this.GO=a,RL(this))}get Qd(){return this.Ft}set Qd(a){this.Ft!=a&&(this.Ft=a,RL(this))}get Hu(){return this.UO}set Hu(a){this.UO!=a&&(this.UO=a,RL(this))}get yf(){return this.yo}set yf(a){this.yo!=a&&(this.yo=a,RL(this))}get Re(){return this.wo}set Re(a){this.wo!=a&&(this.wo=a,RL(this))}get $g(){return this.De}set $g(a){this.De!=a&&(this.De=a,RL(this))}get zp(){return this.VO}set zp(a){this.VO!= +a&&(this.VO=a,RL(this))}}var VL="bySlides";function WL(a){return("presentationNavigationType"!=a.up()||"presentationSeeking"==a.lR())&&"quizNavigationSettings"!=a.up()&&"scenarioNavigationSettings"!=a.up()} +class XL extends wg{constructor(a,b){super();this.B=a;this.De=b}Ec(){return this.B.$().Ec()}isNextAvailable(){const a=this.B.nf(this.De==VL?"switchToNextSlide":"switchToNextStep");return!(a&&WL(a))}isPrevAvailable(){const a=this.B.nf(this.De?"switchToPreviousSlide":"switchToPreviousStep");return!(a&&WL(a))}prev(){this.De==VL?this.B.vi():"bySteps"==this.De&&this.B.ju()}next(){this.De==VL?this.B.sf():"bySteps"==this.De&&this.B.fp()}};class YL extends wg{constructor(a,b,c){super();this.B=a;this.vg=b;this.sF=c;z(this,this.vg.Ec(),()=>{this.B.invalidate()})}isNextAvailable(){return this.sF?this.vg.isNextAvailable():this.B.isNextAvailable()||this.vg.isNextAvailable()}isPrevAvailable(){return this.sF?this.vg.isPrevAvailable():this.B.isPrevAvailable()||this.vg.isPrevAvailable()}prev(){this.sF?this.vg.prev():this.B.isPrevAvailable()?this.B.prev():this.vg.prev()}next(){this.sF?this.vg.next():this.B.isNextAvailable()?this.B.next():this.vg.next()}} +;function ZL(a,b,c){const d=a.rd().type();var e=b.settings().navigation().navigationType();c=c.fa();if(e=$L(d,e,c)){c={};b=b.slides();a=a.rd().Pd();if(a=null!=a?`${b.la(a).Mi()+1}`:"")b=c,"precedingQuizFailed precedingQuizNotPassed precedingQuizNotCompleted precedingScenarioNotPassed precedingScenarioFailed precedingScenarioNotCompleted".split(" ").includes(d)&&(b.SLIDE_INDEX=a);return{Jg:e,o1:c}}return null} +function $L(a,b,c){switch(a){case "currentSlideIsNotCompleted":return"PB_CURRENT_SLIDE_IS_NOT_COMPLETED";case "backwardNavigationIsRestricted":case "forwardNavigationIsRestricted":return"sequential"==b?"PB_NAVIGATION_IS_SEQUENTIAL":"PB_NAVIGATION_IS_RESTRICTED";case "interactionNotCompleted":return c instanceof Bq?"PB_SCENARIO_SLIDE_WINDOW_TEXT":c instanceof tq?"PB_INTERACTION_SLIDE_WINDOW_TEXT":"PB_QUIZ_SLIDE_WINDOW_TEXT";case "precedingQuizFailed":return"PB_PRECEDING_QUIZ_FAILED_WINDOW_TEXT";case "precedingQuizNotPassed":return"PB_PRECEDING_QUIZ_NOT_PASSED_WINDOW_TEXT"; +case "precedingQuizNotCompleted":return"PB_PRECEDING_QUIZ_NOT_COMPLETED_WINDOW_TEXT";case "precedingScenarioNotPassed":return"PB_PRECEDING_SCENARIO_NOT_PASSED_WINDOW_TEXT";case "precedingScenarioFailed":return"PB_PRECEDING_SCENARIO_FAILED_WINDOW_TEXT";case "precedingScenarioNotCompleted":return"PB_PRECEDING_SCENARIO_NOT_COMPLETED_WINDOW_TEXT";default:return""}};function aM(a){const b=a.B;z(a,a.D.uy(),a.fo,a);z(a,a.R.Cd().Yx(),a.$n,a);z(a,b.vc(),a.oe,a);z(a,b.XJ,a.z3,a);z(a,b.Wr,a.PJ,a);Qe(a,a.D.Qx(),a.y6,a);z(a,a.zA.PU,()=>{bM(a,a.B.vi.bind(a.B,!1))});z(a,a.zA.NU,()=>{bM(a,a.B.sf.bind(a.B,!1))})}function bM(a,b){const c=cM(a);c&&a.wf("busy","true");b();c&&setTimeout(()=>a.wf("busy","false"),200)}function cM(a){return a.fH?"slide"==a.fH.oaa&&"slide"==a.fH.Jba:!1} +class dM extends P{constructor({F:a,kc:b,messages:c,skinSettings:d}){super({F:a});this.D=b;this.Xa=d;this.I=new KG(c);this.G=b.Ca();this.R=b.view();this.B=this.R.V();this.rc=this.R.Cd();this.Da=this.B.$();this.rn=this.R.rn;this.vg=B(this,new XL(this.rc,VL));this.Bz=B(this,new JL({V:this.B,kn:this.R.kn()}));this.zA=new QL({V:this.rc,eca:this.G.settings().Vc(),ga:this.I});a=this.G.qd();this.qh=a.Lm().count()||a.Vf().count()?new PL({qd:a,V:this.B,ga:this.I}):null;a=new P({Yb:"SECTION",F:"ppt-accessible-footer"}); +a.vf("region");a.vp(this.I.ia("PB_ACCESSIBLE_ARIA_LABEL_BOTTOM_PANEL"));this.Fj=a;this.fH=null;cv(this.rn,this.displayObject());aM(this);this.Kb(this.G.slideWidth());-1==this.B.ma()&&this.J(!1);x(this,window,"resize",this.C_,this);this.C_()}fo(a){var b=a.action(),c=this.G.settings().Vc().wu();"resumePlayback"==b&&"prompt"==c&&(a.xu("delayStartup"),b=a.Zw,c=this.I.ia("PB_RESUME_PRESENTATION_WINDOW_TEXT"),confirm(c)?b.resume(a.L(),!0):b.start(this.B.Pf(),!0))}y6(){this.J(!0);IL(this.Bz,{H2:!1})}oe(){if(this.Gc()instanceof +tq){var a=this.B.fb(),b=this.Gc(),c=a,d=c.setExternalNavigationController;a=new YL(a.playerController(),this.vg,2==b.Qn);d.call(c,a)}this.zA.J(this.tF()||this.bA())}z3(a,b){this.Gc()instanceof cr?this.B.Oa().skin().bottomPanel().setExternalParent(null):this.Gc()instanceof tq?this.B.fb().setExternalParentForAccessibleNavigationControls(null):this.bA()&&this.B.tb().setExternalParentForAccessibleBottomPanel(null);this.fH={oaa:a,Jba:b}}PJ(){if(this.Gc()instanceof cr){var a=this.Fj;this.B.Oa().skin().bottomPanel().setExternalParent(a? +a.displayObject():null)}else this.Gc()instanceof tq?(a=this.Fj,this.B.fb().setExternalParentForAccessibleNavigationControls(a?a.displayObject():null)):this.bA()&&(a=this.Fj,this.B.tb().setExternalParentForAccessibleBottomPanel(a?a.displayObject():null));IL(this.Bz,{H2:cM(this)})}Gc(){return-1!=this.B.ma()?this.B.fa():null}tF(){return this.Gc()instanceof Am}bA(){return this.Gc()instanceof Bq}$n(a){(a=ZL(a,this.G,this.B))&&this.vo(a)}vo({Jg:a,o1:b}){const c=this.B.$().suspended();Ws(this.Da,!0);alert(this.I.ia(a, +b));Ws(this.Da,c)}C_(){L(this,"min-height",`${window.innerHeight}px`)}};class eM extends dM{constructor({kc:a,messages:b,skinSettings:c}){super({F:"accessible-null-skin",kc:a,messages:b,skinSettings:c});(a=this.qh)&&M(this,a);this.O(this.R.displayObject());(a=this.zA)&&M(this.Fj,a);(a=this.Fj)&&M(this,a);this.Bz.qh=this.qh}};class fM extends P{constructor(){super({F:"launch-screen"});const a=new P({F:"launch-screen-button"});Ii||z(this,a.ja,()=>this.ja.C());const b=new P({ka:O(a,"play-icon")}),c=new P({ka:O(a,"icon")});a.O(b);a.O(c);this.O(a)}};function gM(a){return a.Hc?new P({za:a.Hc.element,ka:O(a,`${a.Hc.Ne}-icon`)}):null}function hM(a){if(a.Ag){const b=new P({Yb:"SPAN",ka:O(a,"button-text")});b.ha(a.Ag);return b}return null} +class iM extends P{constructor({icon:a,type:b,size:c="medium",text:d,prefix:e}){super({F:`${e?e:""}${b}`,Yb:"BUTTON"});this.lo=!1;this.Ag=d||null;this.Hc=a||null;this.Fs=gM(this);(this.Vq=hM(this))&&M(this,this.Vq,this.Hc?"right"===this.Hc.Ne?0:1:0);this.Fs&&M(this,this.Fs,this.Hc?"right"===this.Hc.Ne?1:0:0);this.s4=E(this);this.X("size",c);this.Ky()}pressed(){return this.lo}Dc(a){this.lo=a;this.wf("pressed",a);this.X("withTooltip",!this.lo)}ha(a){(this.Ag=a)?this.Vq?this.Vq.ha(a):(this.Vq=hM(this), +M(this,this.Vq,this.Hc?"right"===this.Hc.Ne?0:1:0)):(Se(this,this.Vq),this.Vq=null)}on(a){this.Fs&&Se(this,this.Fs);this.Hc={element:a,Ne:"left"};(this.Fs=gM(this))&&M(this,this.Fs,this.Hc?"right"===this.Hc.Ne?1:0:0)}qa(a){super.qa(a);this.s4.C(a)}};function jM(a,b){He.call(this);this.FC=a;a=Jd(this.FC)?this.FC:this.FC?this.FC.body:null;this.lba=!!a&&Uh(a);this.h1=ve(this.FC,Lb?"DOMMouseScroll":"mousewheel",this,b)}r(jM,He); +jM.prototype.handleEvent=function(a){var b=0,c=0,d=a.te;"mousewheel"==d.type?(a=kM(-d.wheelDelta),void 0!==d.wheelDeltaX?(b=kM(-d.wheelDeltaX),c=kM(-d.wheelDeltaY)):c=a):(a=d.detail,100a&&(a=-3),void 0!==d.axis&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);"number"===typeof this.l1&&(b=Vc(b,-this.l1,this.l1));"number"===typeof this.m1&&(c=Vc(c,-this.m1,this.m1));this.lba&&(b=-b);b=new lM(a,d,b,c);this.dispatchEvent(b)};function kM(a){return Mb&&(Nb||Pb)&&0!=a%40?a:a/40} +jM.prototype.pf=function(){jM.Mb.pf.call(this);Ee(this.h1);this.h1=null};function lM(a,b,c,d){ie.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d}r(lM,ie);function mM(a){return a.Kj-a.Vi} +class nM extends P{constructor(a){super({F:a.F,zf:!0});this.DF=15;this.Eb=this.Kj=this.Vi=this.$k=0;this.kA=a.Oe||1;this.KG=this.jt=0;this.y8=100;this.kf=B(this,new P({ka:O(this,"up")}));this.O(this.kf);this.La=B(this,new P({F:"thumb"}));this.O(this.La);this.La.O(B(this,new P({ka:O(this.La,"background")})));this.mh=B(this,new P({ka:O(this,"down")}));this.O(this.mh);this.Hq=this.vm=null;this.jj=E(this);this.XB=E(this);this.ij=new jh(this.y8);x(this,this.ij,"tick",this.rN,this);x(this,this,Km,this.hx, +this,Om);x(this,this.kf,Km,this.zN,this,Om);x(this,this.La,Km,this.MA,this,Om);x(this,this.mh,Km,this.$M,this,Om);x(this,document.body,Lm,this.RF,this)}Sf(a){this.Dt(a)}Oe(){return this.kA}scale(){return this.kt}setScale(a){this.setParentScale(a)}Ci(a,b,c,d=0){this.$k=a;this.Vi=b;this.Kj=c;this.jt=d;this.Ls();this.Sf(this.Eb)}Dt(a){a=xv(a,this.Vi,this.Kj);this.Eb!=a&&(this.Eb=a,this.fq(),this.jj.C())}xt(a){this.Dt(this.Eb+a)}hx(){}zN(a){a.preventDefault();this.xt(-this.Oe());this.MB(this.kf,-this.Oe())}$M(a){a.preventDefault(); +this.xt(this.Oe());this.MB(this.mh,this.Oe())}MB(a,b){this.vm=a;x(this,this.vm,"mouseover",this.JA,this);x(this,this.vm,"mouseout",this.IA,this);x(this,document,Lm,this.jB,this);this.ij.stop();this.Hq=function(){this.xt(this.KG)};this.KG=b;this.ij.start()}jB(){Ne(this,this.vm,"mouseover",this.JA,this);Ne(this,this.vm,"mouseout",this.IA,this);Ne(this,document,Lm,this.jB,this);this.ij.stop();this.Hq=null}JA(){this.ij.start()}IA(){this.ij.stop()}rN(){this.Hq&&this.Hq()}MA(a){this.XB.C();a.preventDefault(); +x(this,document.body,Mm,this.mm,this);this.LP(!0)}LP(a){this.La.X("active",a)}RF(){Ne(this,document.body,Mm,this.mm,this);this.LP(!1)}mm(){}Qa(){this.Ls()}};class oM extends nM{constructor(a){super(a);this.kW=0}Ls(){const a=this.height()-this.kf.height()-this.mh.height();this.La.Wc(0==mM(this)?a:Math.max(this.DF,Math.ceil(this.$k/(mM(this)+this.$k)*a)));this.fq()}fq(){const a=this.si();0==mM(this)?this.La.Tf(a.top):this.La.Tf(a.top+Math.round((this.Eb-this.Vi)/mM(this)*a.height));this.kf.qa(!!this.Eb);this.mh.qa(this.Eb!=this.Kj)}si(){const a=new Wf(0,0,0,0);a.top=this.kf.height();a.height=this.height()-this.mh.height()-this.La.height()-a.top;a.left= +this.La.x();return a}oP(){return this.si()}hx(a){var b;if(b=!a.defaultPrevented)b=this.La.displayObject().getBoundingClientRect(),b=!(a.clientY>=b.top&&a.clientY<=b.top+b.height);if(b){b=this.displayObject().getBoundingClientRect();var c=this.si(),d=0==this.jt?this.$k:this.jt;a=(a.clientY-(b.top-c.top))/this.kt<=this.La.y()?-d:d;this.Sf(this.Eb+a)}}MA(a){super.MA(a);const b=this.La.displayObject().getBoundingClientRect();this.kW=a.clientY-Math.round(b.top);this.mm(a)}mm(a){const b=this.displayObject().getBoundingClientRect(), +c=this.si();this.Dt((a.clientY-b.top-c.top*this.kt-this.kW)/(c.height*this.kt)*mM(this)+this.Vi)}};var pM=new ae;function qM(a){a.L4&&a.Rf(a.c_||a.CM?.5:0)}function rM(a,b){x(a,new jM(b.displayObject(),{passive:!0}),pM,c=>{!ih(c.te)&&c.deltaY&&(c=0{c.displayObject().scrollTop=this.Eb});x(this,c,"scroll",()=>{this.Sf(c.displayObject().scrollTop)},this);this.qB?rM(this,this.qB):(rM(this,this.Fw),rM(this,this));d?(this.Rf(0),this.qB?(x(this,this.qB,"mouseenter",this.sq,this),x(this,this.qB,"mouseleave",this.km,this)):(x(this,this.Fw,"mouseover",this.sq,this),x(this,this, +"mouseover",this.sq,this),x(this,this.Fw,"mouseout",this.km,this),x(this,this,"mouseout",this.km,this))):this.Rf(1)}Ci(a,b,c,d=0){this.J(0{this.LA.C()})}scrollY(){return this.U.scrollTop}FI(){return this.LA}ny(a){this.U.scrollTop=a}} +class wM extends wg{constructor({F:a="vertical-scrollbar",via:b="mobile-vertical-scrollbar",Gr:c,Aia:d,mQ:e,U1:f=null,Oe:g=20,preventDefault:h=!0}){super();this.ua=this.wd=null;this.m_=d||null;this.iT=e||null;this.Kj=0;if(Ii){const l=E(this);a={fadeScrollbars:!0,scrollX:!1,scrollY:!0,bounce:!1,deceleration:.006,useTransition:!1,preventDefault:h,disablePointer:!0,disableTouch:!1,disableMouse:!1,onScrollHandler:()=>{l.C()}};b=new tM(b);a.indicators={el:b.displayObject(),shrink:"scale"};this.wd=new IScroll(c.displayObject(), +a);this.li=new uM(this.wd,l)}else this.ua=B(this,new sM({F:a,Oe:g,Gr:c,bba:!0,U1:f})),this.li=new vM(c.displayObject()),b=this.ua;z(this,this.li.FI(),this.yY,this);this.W8=b}jk(){return this.W8}Ci(a,b){this.Kj=Math.max(0,b-a);this.wd?this.wd.setScrollHeight(b):this.ua&&this.ua.Ci(a,0,Math.max(this.Kj,0));this.yY()}setParentScale(a){this.ua&&this.ua.setParentScale(a)}Tx(){this.ua&&this.ua.Tx()}yY(){if(this.m_){var a=Math.min(this.li.scrollY(),60);Ph(this.m_,a)}this.iT&&(a=this.Kj-this.li.scrollY(), +Ph(this.iT,Math.min(a,60)))}vd(){super.vd();this.wd&&this.wd.destroy()}};class xM extends P{constructor(){super({F:"message-box"});this.vf("alertdialog");this.AN=E(this);this.gE=E(this);this.hG=!1}open(){this.hG=!0;this.OA();this.AN.C(this)}close(){this.hG=!1;this.J(!1);this.gE.C(this);Ne(this,document,"keydown",this.lY,this)}J(a){super.J(a);this.lq&&this.lq.J(a)}qr(){return this.gE}lY(a){const b=a.target.nodeName;"INPUT"!=b&&"TEXTAREA"!=b&&a.preventDefault()}OA(){this.J(!0);x(this,document,"keydown",this.lY,this)}};class yM extends RC{constructor(a){super(null,[0],[1],75,b=>b*b);this.l4=a}Bp(){this.l4.Rf(this.coords[0])}};class zM extends xM{constructor(){super();this.RK=this.tE=void 0}OA(){Ii&&super.OA();this.tE&&this.tE.stop();this.J(!0);!Ii&&this.RK&&this.RK.focus();this.tE=new yM(this);this.tE.play()}};function AM(a){var b=a.lq;const c=Math.floor(.5*(b.width()-a.width()));b=Math.floor(.5*(b.height()-a.height()));a.move(c,b)} +class BM extends zM{constructor({mn:a,icon:b,buttons:c,ga:d,Kx:e}){super();if(this.lq)throw Error("already modal");this.lq=new P({F:"modal-layer"});this.I=d;this.sa=new P({ka:O(this,"content")});this.Hc=null;b&&(this.Hc=new P({za:b,ka:O(this,"icon")}),this.sa.O(this.Hc));this.Tl=new P({ka:O(this,"message-container")});this.Xv=new P({ka:O(this,"message"),tabIndex:-1});It(this.Xv,this.I,a,e);M(this.sa,this.Tl);this.O(this.sa);this.RK=this.Xv.displayObject();this.cZ=new P({});M(this.cZ,this.Xv);M(this.Tl, +this.cZ);this.Ed=new P({F:"message-box-buttons"});Gt(this.Ed,O(this,"buttons"));M(this,this.Ed);this.nv(c);this.ua=new wM({Gr:this.Tl});this.sa.O(this.ua.jk());B(this,this.ua);this.GY=""}GA(){super.GA();this.ua.setParentScale(this.kt)}OA(){super.OA();this.xb();Gi(()=>{AM(this)},this,0)}nv(a){const b=new P({ka:O(this.Ed,"buttons")});a.forEach(({Jg:c,result:d})=>{const e=new iM({type:"uikit-primary-button"});Gt(e,O(this.Ed,"window-button"));It(e,this.I,c);M(b,e);z(this,e.ja,()=>{this.GY=d;this.close()})}); +this.Ed.O(b)}Qa(){var a=$h(this.sa.displayObject()),b=this.Hc?$h(this.Hc.displayObject()):null;b=this.Hc?this.Hc.width()+b.left+b.right:0;L(this.Tl,"max-width",Math.min(screen.width-b-a.right-a.left-80,480)+"px");L(this.Tl,"height","");a=this.lq;b=$h(this.Tl.displayObject());const c=$h(this.Ed.displayObject());a=.9*a.height()-b.top-b.bottom-this.Ed.height()-c.top-c.bottom;b=Math.min(a,this.Xv.height());a=Vb||yi(this.Ro.displayObject(),"0 0");x(this,a,"touchstart",c=>{for(let d=0;d{const g=new BM({mn:b,icon:c,buttons:d,ga:a.I,Kx:e});CM(a.Gg,g);g.open();z(a,g.qr(),()=>{var h=a.Gg,l=Ia(h.NH,g);0<=l&&(Sa(h.NH,l),g.hG&&g.close(),Ue(h,g),Fd(g.displayObject()),(l=g.lq)&&Fd(l.displayObject()));h.Ro.J(0{Ni&&uj?setTimeout(()=>{KM(this)},100):KM(this)})).observe(this.U);window.invalidatePlayerSize=()=> +{};window.setPlayerSize=()=>{};window.removeResizeListeners=()=>{};document.addEventListener("touchend",c=>{0==c.touches.length&&(this.xH=!1,setTimeout(()=>{KM(this,!1,!1)},100))},!0);document.addEventListener("touchstart",c=>{1==window.event.touches.length&&(this.xH=!0);1{b&&b();KM(this)};a.onorientationchange=()=>{const c=Ud();c&&Ii&&(Ni?setTimeout(()=>{c.blur();rj&&KM(this)},800):c.blur())};dj&&window.frameElement&&window.frameElement.setAttribute("scrolling", +"no")}JM.prototype.IC=function(){KM(this,!0)}; +function KM(a,b=!1,c=!0){function d(m,p){if(b||n.mz!=m||n.LK!=p){const t=n.mz;n.mz=m;n.LK=p;n.LB.C(n.mz,n.LK);t!=n.mz&&Ni&&!n.xH&&setTimeout(()=>{e(0,0)},100)}}const e=HM;if(b||!a.xH){var f=Ni?2*a.U.clientHeight:a.U.clientHeight;if(aj||!(ij&&.7>f/screen.height||ah&&.7>window.innerHeight/f)){var g=1,h=a.U.clientWidth;c&&dj&&window.frameElement&&(h=0,g=h/window.innerWidth);var l=window.innerHeight*g,n=a;d(h,l);c&&dj&&window.frameElement&&setTimeout(()=>{h=window.frameElement.clientWidth;g=h/window.innerWidth; +l=window.innerHeight*g;d(h,l)},0)}}};function LM(a,b,c){null==a.oi&&(a.oi=new JM,a.oi.LB.addHandler(a.u7,a));a.QE=b;a.Lh=c}class MM{constructor(){this.Lh=this.QE=this.oi=null}IC(){this.oi&&this.oi.IC()}u7(a,b){this.QE&&this.QE.apply(this.Lh,[a,b])}};const NM=[{Cx:Ib,F:"ie"},{Cx:Ji,F:"android_default"},{Cx:Mb,F:"webkit"},{Cx:Hb,F:"opera"},{Cx:Lb,F:"gecko"}];function OM(a){Gt(a,Ii?"mobile":"desktop");NM.find(b=>{b.Cx&&Gt(a,b.F);return b.Cx})};class PM{constructor(a){this.dA=a;this.Fo=!1;this.MK=void 0}suspend(){this.MK=this.dA.kM;aC(this.dA,!1);this.Fo=!0}resume(){aC(this.dA,this.MK);this.MK=void 0;this.Fo=!1}};function QM(a,b){if(a.Zk){var c=a.Lv;a=a.D.view();b=b||a.displayObject();b.appendChild(c.displayObject())}}function RM(a,b){Me(a,b,"click",a.Aq,a);setTimeout(()=>{Ne(a,b,"click",a.Aq,a)},500)} +class SM extends wg{constructor(a,b){super();this.D=a;this.Lv=b;this.VA=E(this);this.Zk=!1;B(this,this.Lv)}show(a){const b=this.Lv;b.qa(!1);const c=this.D.view(),d=c.V().$();this.Zk=!0;QM(this,a);c.setOverlayDisplayed(!0);z(this,d.Ml(),this.$F,this);b.qa(!0);z(this,b.ja,this.$F,this)}$F(){const a=this.D.view();var b=a.V().$();this.ks(b);this.ks(this.Lv);(Ji||yj)&&(b=Ld(this.Lv.displayObject()))&&RM(this,b);Fd(this.Lv.displayObject());a.setOverlayDisplayed(!1);this.Zk=!1;this.VA.C()}Aq(a){a.preventDefault()}} +;class TM extends P{constructor(){super({F:"preloader"});this.OZ=0;this.Ao=!1;this.J(!1)}show(){this.Ao||(this.Ao=!0,clearTimeout(this.Mz),clearTimeout(this.BB),this.BB=Gi(this.c9,this,800))}Uc(){if(this.Ao&&(this.Ao=!1,clearTimeout(this.Mz),clearTimeout(this.BB),this.visible())){var a=500-(this.Bn()-this.OZ);0{h?(f=new fM,f=new SM(a,f),Qe(this,f.VA,()=>{this.Is();this.B.play()}),f.show()):this.Is()});e?LM(e,this.Jj,this):(this.oi=new JM,z(this,this.oi.LB,this.Jj,this),Gi(this.oi.IC,this.oi));this.Ln=new PM(this.B.lu());this.ll=E(this);this.Qk=E(this);this.Jn=E(this);this.Is()}fz(){const a=new TM;this.R.displayObject().appendChild(a.displayObject());return a}Is(){this.fC();z(this,this.B.$().wC(),this.fC,this)}fC(){this.B.$().nd()? +this.Ff.show():this.Ff.Uc()}Jj(a,b){const c=this.u$?170:0,d=a-c,e=b-c;this.SN{this.Ln.resume();this.R.setOverlayDisplayed(!1);this.Qk.C();this.Jn.C();"yes"==e?d.resume(c,!0):d.start(b,!0)});this.Ln.suspend();this.R.setOverlayDisplayed(!0);this.ll.C()}}$n(a){(a=ZL(a,this.G,this.B))&&this.vo(a)}vo({Jg:a,o1:b}){const c=this.B.$().suspended();this.Ln.suspend(); +this.R.setOverlayDisplayed(!0);this.ll.C();FM(this.Gk,{mn:a,icon:Z(this.K,"mb_warning_icon"),buttons:[{Jg:"PB_MESSAGE_BOX_OK",result:"ok"}],Kx:()=>b}).then(()=>{this.Ln.resume();this.R.setOverlayDisplayed(!1);this.Qk.C();this.FA(c)})}FA(a){Ws(this.Da,a)}vd(){super.vd();jt(this.R.displayObject(),"hidden",!1)}};class VM extends wg{constructor({sk:a,messages:b,qj:c}){super();this.Bw=a;this.pg=b;this.oi=new MM;this.l9=rd(document,c);this.nl=null;this.ll=E(this);this.Qk=E(this);this.Jn=E(this);this.US=E(this)}D(){return this.Bw}};class WM extends P{constructor({F:a="back_to_app",label:b,eda:c}){super({F:a});b&&(a=new P({ka:O(this,"text")}),a.ha(b),this.O(a));c&&this.O(c);z(this,this.ja,()=>ISPlayer.backToApp())}};class XM extends P{constructor({ga:a}){super({F:"title-panel"});this.Xu=new WM({label:a.ia("PB_BACK_TO_APP_BUTTON_LABEL")});this.O(this.Xu)}};class YM extends UM{constructor(a,b,c){super(a,b,c,!1);this.wb=new XM({ga:this.I});this.O(this.wb);ISPlayer.initWithData(vh({version:9.3}))}Jj(a,b){this.X("landscape",a>b);super.Jj(a,b)}};function ZM(a){if(Dj)return new YM(a.D(),a.K,a.pg);const b=new UM(a.D(),a.K,a.pg,a.b3,a.oi);z(a,b.ll,()=>a.ll.C());z(a,b.Qk,()=>a.Qk.C());z(a,b.Jn,()=>a.Jn.C());return b} +class $M extends VM{constructor({sk:a,messages:b,qj:c,Zm:d,Km:e}){super({sk:a,messages:b,qj:c});this.b3=e;this.K=this.HK(d)}HK(a){return new GL(a.RC)}QT(a){"normal"==a?this.nl=ZM(this):"accessible"==a&&(this.nl=new eM({kc:this.Bw,messages:this.pg,skinSettings:this.wK()}));B(this,this.nl)}wK(){return{f2:!1,showSlideList:!1,ye:!1,e2:!1,d2:!1}}};class aN{constructor({sk:a,skinSettings:b,ga:c}){this.D=a;this.Xa=b;this.I=c}sk(){return this.D}skinSettings(){return this.Xa}ga(){return this.I}};class bN{constructor(a){this.tQ=a.tQ;this.uS=a.uS;this.jR=a.jR;this.mC=a.mC;this.RC=a.RC;this.kR=a.kR}};function cN(a){const b="SOLID"===a.type?a:null;if(!b)return a.Om();a=Mo(b.color.toUpperCase());return 60Math.min(c+10,255))),opacity:.8}):xL({color:Uk(...a.map(c=>Math.max(c-10,0))),opacity:.8})};class dN{constructor({Ca:a,DR:b,colors:c,Zm:d}){this.G=a;this.RN=b;this.Sb=c;this.ut=d;this.$f=null;if(a=this.Sb)a.transparentPopupBackground=a.asideBackground.jd(0),a.progressBackground=a.playerText.jd(.1),c=a.playerBackground,b=a.primaryButtonBackground,b=b instanceof yL&&c instanceof yL&&b.color==c.color||c instanceof yL&&0==c.opacity?a.primaryButtonText.Om():a.primaryButtonBackground.Om(),a.progressPlayback=b,a.slideBorder=xL({color:"#000000",opacity:.06}),a.asideElementTextVisited=a.asideElementBackgroundActive.jd(.4), +a.hyperlink=a.asideElementText.jd(.6),a.popupBackground=a.asideBackground.jd(.92),a.popupBackgroundHover=a.asideElementBackgroundHover.Om(),a.popupText=a.asideElementText.Om(),a.popupTextHover=a.asideElementTextHover.Om(),a.popupBorder=a.asideBackground.jd(.08),a.linkButtonTextColor=a.playerText.jd(.72),a.presenterInfoLinkBorderColor=a.asideElementText.jd(.16),a.searchFieldBackgroundColor=a.asideElementBackgroundActive.jd(.6),a.hoveredTabBackgroundColor=a.asideElementBackgroundHover.jd(.8),a.selectedTabBackgroundColor= +a.asideElementBackgroundActive.jd(.8),a.topPanelIconContainerColor=cN(a.asideBackground),a.volumeControlBackgroundColor=a.secondaryButtonTextHover.jd(.2),a.volumeControlPlaybackColor=a.secondaryButtonTextHover.jd(.8),a.volumeControlThumbColor=a.secondaryButtonTextHover.Om(),a.moreMenuVolumeControlBackgroundColor=a.popupText.jd(.2),a.moreMenuVolumeControlPlaybackColor=a.popupText.jd(.8),a.moreMenuVolumeControlThumbColor=a.popupText.Om(),a.moreMenuVolumeControlBackgroundColor=a.asideElementText.jd(.2), +a.moreMenuVolumeControlPlaybackColor=a.asideElementText.jd(.8),a.moreMenuVolumeControlThumbColor=a.asideElementText.Om(),a.miniSkinMenuButtonText=a.playerText.jd(.72),a.miniSkinMenuButtonBackgroundActive=a.playerText.jd(.1),a.miniSkinTopBottomPanelBorder=a.playerText.jd(.1),a.miniSkinPresenterDelimiterColor=a.popupText.jd(.08),a.panelVideoStubColor=a.asideElementTextActive.jd(.6),a.panelVideoStubBackgroundColor=a.asideElementBackgroundActive.jd(.4),a.topBottomPanelBorderColor=a.playerText.jd(.1)}dQ(a){if("normal"== +a)Fd(this.$f),this.$f=null,a={__slide_width__:`${this.G.slideWidth()}px`,__slide_height__:`${this.G.slideHeight()}px`,__player_view_id__:this.RN,__borderRadius__:`${this.G.settings().skin().borderRadius}px`},this.Sb&&this.Sb.contentBackground&&Object.assign(a,{__skin_background__:this.Sb.contentBackground.tJ()}),this.$f=(uj?this.ut.jR:Ii?this.ut.uS:this.ut.tQ).Yo(this.Sb&&CL(this.Sb),a);else if("accessible"==a)this.KJ();else throw Error("unknown presentation view mode");}KJ(){Fd(this.$f);this.$f= +null;this.$f=this.ut.mC.Yo()}};class eN extends P{constructor({F:a,title:b}){super({Yb:"DETAILS",F:a});a=new P({Yb:"SUMMARY",ka:O(this,"summary")});a.ha(b);this.oH=a;M(this,this.oH);x(this,this,"toggle",this.w_,this);this.w_()}w_(){const a=this.displayObject().hasAttribute("open");this.wf("expanded",a)}};class fN extends eN{constructor(a){super({F:"ppt-accessible-slide-notes",title:a.ia("PB_TAB_NOTES_LABEL")});this.wW=new P({ka:O(this,"notes-container")});M(this,this.wW)}ZR(a){this.wW.wp(fH(a.a3,YG.fJ))}};function gN(a){if(a){const b=new P({Yb:"P"});b.ha(a);return b}return null}function hN({uba:a="",link:b,title:c,text:d}){if(b){const e=new P({Yb:"A"});e.setAttribute("href",`${a}${b}`);e.setAttribute("title",c||b);e.ha(d);return e}return null} +class iN extends eN{constructor({Qf:a,ga:b}){super({F:"ppt-accessible-presenter",title:b.ia("PB_ACCESSIBLE_PRESENTER_INFO")});this.Ub=a;this.I=b;this.AK().forEach(c=>c&&M(this,c))}AK(){const a=[];var b=this.Ub.Cr();var c=this.I.ia("PB_ACCESSIBLE_SKIN_PRESENTER_PHOTO");if(b){const d=new P({Yb:"IMG"});d.setAttribute("src",b.path());d.setAttribute("alt",c);b=d}else b=null;b&&a.push(b);(b=gN(this.Ub.name()))&&a.push(b);(b=gN(this.Ub.ip()))&&a.push(b);(b=hN({link:this.Ub.td(),title:this.Ub.td(),text:this.I.ia("PB_PRESENTER_WEBSITE")}))&& +a.push(b);(b=hN({uba:"mailto:",link:this.Ub.email(),title:this.Ub.email(),text:this.I.ia("PB_PRESENTER_EMAIL")}))&&a.push(b);(b=gN(this.Ub.phone()))&&a.push(b);(b=gN(this.Ub.Nm()))&&a.push(b);return a}};const jN={image:[".jpg","jpeg",".png",".gif"],video:[".mp4"],document:[".doc",".docx",".xls",".xlsx",".pdf"]};function kN(a){let b=a.url();try{if("attachment"==a.type()){const c=b.lastIndexOf("/");b=b.substring(0,c+1)+encodeURIComponent(b.substring(c+1))}}catch(c){b=""}return b} +function lN(a){const b=a.title(),c=a.type(),d=kN(a);a=a.target();if("webLink"==c)return{type:"link",title:b,N0:null,href:d,target:a};const e=b.substring(b.lastIndexOf("."));return{type:Object.keys(jN).find(f=>jN[f].includes(e))||"file",title:b,N0:e,href:d,target:a}}function mN(a){const b=nN(a);if(!b)return null;a=new P({ka:O(a,"subtitle")});a.ha(b);return a} +function oN(a){switch(a.Yr.type){case "file":return Z(a.K,"attachment-unknown");case "image":return Z(a.K,"attachment-image");case "link":return Z(a.K,"attachment-link");case "video":return Z(a.K,"attachment-video");case "document":return Z(a.K,"attachment-doc")}return null} +function nN(a){const b=a.Yr.N0;switch(a.Yr.type){case "file":return a.I.ia(a.$j.file,{EXTENSION:b});case "document":return a.I.ia(a.$j.document,{EXTENSION:b});case "image":return a.I.ia(a.$j.image);case "link":return a.I.ia(a.$j.link);case "video":return a.I.ia(a.$j.video)}return null} +class pN extends P{constructor(a,b,c,d){super({F:"attach-item",tabIndex:0});this.K=b;this.I=c;this.$j=d;this.Yr=lN(a);(a=this.zn())&&M(this,a);a=this.zK();M(this,a);b=this.sv();M(a,b);(this.nH=mN(this))&&M(a,this.nH);this.vf("row");const e=this.CK();z(this,this.ja,()=>e.click());z(this,this.I.og,this.Eg,this)}zn(){var a=oN(this);if(!a)return null;const b=new P({ka:O(this,"icon-container")});a=new P({za:a,ka:O(this,"icon")});M(b,a);return b}sv(){const a=new P({ka:O(this,"title")});a.ha(this.Yr.title); +return a}zK(){return new P({ka:O(this,"info-container")})}CK(){const a=wd("A");a.setAttribute("title",this.Yr.href);a.setAttribute("href",this.Yr.href);a.setAttribute("target",this.Yr.target);return a}Eg(a){switch(a){case this.$j.file:case this.$j.document:case this.$j.image:case this.$j.link:case this.$j.video:(a=nN(this))&&this.nH&&this.nH.ha(a)}}}function qN(a,b){b=new pN(b,a.K,a.I,a.$j);z(a,b.ja,()=>{Gi(()=>{a.aT.C()},a,1E3)},a);return b} +function rN(a){a.ua.Ci(a.ro.height(),a.cA.height());a.ua.Tx()} +var sN=class extends P{constructor(a,b,c){super({F:"attachments-info",tabIndex:-1});this.aT=E(this);this.K=b;this.I=c;this.$j={file:"PB_ATTACHMENT_FILE_SUBTITLE",document:"PB_ATTACHMENT_DOCUMENT_SUBTITLE",link:"PB_ATTACHMENT_LINK_SUBTITLE",video:"PB_ATTACHMENT_VIDEO_SUBTITLE",image:"PB_ATTACHMENT_IMAGE_SUBTITLE"};this.ro=new P({ka:O(this,"scroll-area")});M(this,this.ro);this.cA=new P;M(this.ro,this.cA);b=new P({F:"container-bottom-shadow"});M(this,b);this.ua=new wM({Gr:this.ro,mQ:b.displayObject()}); +B(this,this.ua);this.O(this.ua.jk());this.DK(a);this.vf("region");this.vp("Resources")}DK(a){const b=a.count();for(let d=0;dM(this.OV,d))}DK(){return new P({Yb:"UL"})}};class wN extends vN{constructor({resources:a,ga:b}){super({F:"ppt-accessible-resources",title:b.ia("PB_ACCESSIBLE_TITLE_PANEL_ATTACHMENTS"),g1:a})}NT(a){return a.Ai().Mc().map(b=>this.EK(b))}EK(a){const b=uN(this,!1);a=this.CK(a);M(b,a);return b}CK(a){const b=new P({Yb:"A"});b.setAttribute("title",a.url());b.setAttribute("href",kN(a));b.setAttribute("target",a.target());b.ha(a.title());return b}};class xN extends vN{constructor({slides:a,ga:b}){super({F:"ppt-accessible-slide-list",title:b.ia("PB_ACCESSIBLE_SLIDES"),g1:a});this.vf("navigation");this.oH.vf("heading");this.oH.setAttribute("aria-level","2");a=this.oH;a.U.id||a.SR(ld());this.wf("labelledby",a.U.id);this.eZ=E(this)}NT(a){return a.iC.map(b=>this.EK(b))}EK(a){const b=uN(this),c=a.title()?a.title():"---";b.ha(`${a.index()+1}. ${c}`);z(this,b.ja,()=>{this.eZ.C(a)});return b}};class yN extends P{constructor(a){super({Yb:"SECTION",F:"ppt-accessible-top-panel",tabIndex:-1});this.vf("region");this.vp(a.ia("PB_ACCESSIBLE_ARIA_LABEL_TOP_PANEL"));this.I=a;this.GZ=new P({Yb:"H1",ka:O(this,"slide-status")});M(this,this.GZ)}};function zN(a){a.GB&&z(a,a.GB.eZ,b=>{a.rc.ue(b.index())})} +class AN extends dM{constructor({kc:a,messages:b,skinSettings:c}){super({F:"ppt-accessible-skin",kc:a,messages:b,skinSettings:c});this.na=this.Op();this.GB=this.Xa.showSlideList?new xN({slides:this.G.slides(),ga:this.I}):null;this.qg=this.Xa.ye?new fN(this.I):null;this.Hw=this.Xa.e2&&this.G.resources().Ai().count()?new wN({resources:this.G.resources(),ga:this.I}):null;this.Ub=null;this.aF()}Op(){return this.Xa.f2?new yN(this.I):null}aF(){var a=this.zA;a&&M(this.Fj,a);this.GB&&(Ib||Jb)?(a=new P({F:"ppt-accessible-slide-list-wrapper"}), +M(a,this.GB)):a=this.GB;a&&M(this.Fj,a);(a=this.qg)&&M(this.Fj,a);(a=this.Hw)&&M(this.Fj,a);(a=this.na)&&M(this,a);(a=this.qh)&&M(this,a);this.O(this.R.displayObject());(a=this.Fj)&&M(this,a);this.Bz.na=this.na;this.Bz.qh=this.qh;zN(this)}oe(){super.oe();if(this.na)if(this.tF()){var a=-1!=this.B.ma()&&this.B.fa().visible()?`${this.B.fa().Mi()+1}`:"-";const c=this.G.slides().Cp();var b=this.na;a=b.I.ia("PB_ACCESSIBLE_SLIDE_N_OF_COUNT",{SLIDE_NUMBER:a,TOTAL_SLIDES:c});b.GZ.ha(a);this.na.J(!0)}else this.na.J(!1); +this.Xa.ye&&this.qg&&((b=(b=this.Gc())?b.Ei():null)&&b.text()?(this.qg.ZR(b),this.qg.J(!0)):this.qg.J(!1));this.GP()}GP(){this.Ub&&(Se(this.Fj,this.Ub),this.Ub=null);const a=this.Gc().Qf();this.Xa.d2&&a&&(this.Ub=new iN({Qf:a,ga:this.I}),M(this.Fj,this.Ub))}};function BN(a){const b=[],c=[];let d=-1;for(let f=0;fd?d+=1:e{var d=a[c];var e="SOLID"===d.type?d:null;d="GRADIENT"===d.type?d:null;if(e)d={type:"solid",value:{color:IN(e.color),alpha:e.opacity}};else if(!d||2!==d.tj.length||180!==d.sj&&90!==d.sj)d=null;else{e=d.sj;const f=d.tj[0];d=d.tj[1];d={type:"gradient",value:{firstColor:{color:IN(f.color),alpha:f.opacity},secondColor:{color:IN(d.color),alpha:d.opacity},direction:180===e?"vertical":"horizontal"}}}b[c]=d;return b},{})};function MN(a,b){var c=0-1!=b.indexOf(c))} +class SN extends wg{constructor({Ca:a,V:b,settings:c,ga:d,view:e,sidePanelController:f}){super();this.G=a;this.B=b;z(this,this.B.vc(),this.oe,this);this.H=c;this.I=d;this.pa=e;this.Fb=f;z(this,this.pa.Qe(),this.Q6,this);z(this,this.pa.np(),this.lw,this);this.Bb=null}ES(a){this.Fb=a}oe(){this.Bb&&(Pe(this,this.Bb.showTopPanelPopupEvent(),this.fX,this),Pe(this,this.Bb.showOutlineEvent(),this.eX,this),this.lw());if(this.Bb=this.B.Oa()){z(this,this.Bb.showTopPanelPopupEvent(),this.fX,this);z(this,this.Bb.showOutlineEvent(), +this.eX,this);var a=this.B.fa(),b=this.MU(a),c=b&&this.oZ()?b.logo():null;a=this.Bb.skin();var d=a.setPresentationContext,e=this.Fb,f=RN(this),g=!!this.G.resources().Ai().count();c=c?c.path():null;var h=b?b.td():"";b=b?b.HD():"";var l=this.HO(),n=this.G.courseTitle(),m;m=(m=this.H.Aa.Lc||null)&&m.visible&&DN(m,"outline")?!0:(m=this.H.Aa.Xc||null)&&m.visible&&m.showOutline?!0:(m=this.H.Aa.controlPanel||null)&&m.visible&&m.showOutline?!0:!1;d.call(a,{sidePanelController:e,buttonsOrder:f,resourcesButtonEnabled:g, +logo:c,logoUrl:h,logoTarget:b,showTitle:l,courseTitle:n,hasOutline:m})}}Q6(){this.Bb&&this.Bb.setPanelScale(this.pa.scale())}MU(a){return(a=a.Qf())&&a.Zd()?a.Zd():this.G.Zd()}oZ(){const a=this.H.Aa.Lc;return a?a.visible&&a.sd:!1}HO(){const a=this.H.Aa.Lc||null;return a?a.visible&&a.rr:!1}fX(a){this.pa.g2(a)}eX(a){this.pa.pD(a)}lw(){this.Bb&&(this.Bb.onTopPanelPopupClosed(),this.Bb.outlinePopupClosed())}};function TN(a,b,c){return(a-2/3*c)/(b+c/3)}function UN(a){if(1>=a)return a;a=1+(a-1)/3;return Ib?zv(a,4):a};function VN(a,b){this.Ac=a;this.Hn=b}VN.prototype.getData=function(a){return null==this.Ud?null:this.Ud[a]};VN.prototype.setData=function(a,b){null==this.Ud&&(this.Ud={});this.Ud[a]=b};function WN(a,b){F(a.Ac,"pointer-events",b)}function XN(a,b){for(const c in b)a.Ac.setAttribute(c,b[c])}VN.prototype.remove=function(){var a=this.Hn;const b=a.Lp.indexOf(this);if(-1==b)throw Error();a.Lp.splice(b,1);a.Ac.removeChild(this.Ac)};function YN(a){x(a,a.xh.Ac,Km,a.uN,a,Nm);x(a,a.Qo,Lm,a.v7,a)} +class ZN extends wg{constructor(a){super();this.xh=a;this.PD=null;this.ra=1;this.Qo=window;this.yv=E(this);this.xv=E(this)}setScale(a){this.ra=a}Dz(a){a=Lh(a,this.xh.Ac);return new Xc(a.x/this.ra,a.y/this.ra)}uN(a){this.yv.C();a.preventDefault();a.stopPropagation();a=this.Dz(a);this.PD.H1(a.x,a.y);x(this,this.Qo,Mm,this.jX,this)}jX(a){const b=this.Dz(a);this.PD.EI(b.x,b.y);a.preventDefault()}v7(){Ne(this,this.Qo,Mm,this.jX,this);this.xv.C()}};function $N(a,b,c){VN.call(this,a,b);this.Ac.setAttribute("d",c)}r($N,VN);function aO(a,b){VN.call(this,a,b);this.Lp=[]}r(aO,VN);function bO(a,b){const c=document.createElementNS("http://www.w3.org/2000/svg","path");b=new $N(c,a,b);a.Ac.appendChild(c);a.Lp.push(b);return b}function cO(a){const b=document.createElementNS("http://www.w3.org/2000/svg","g"),c=new aO(b,a);a.Ac.appendChild(b);a.Lp.push(c);return c}aO.prototype.forEach=function(a){for(let b=0;b{d.Ac===b&&(c=d)});return c}aO.prototype.Hr=function(){this.Lp=[];Cd(this.Ac)};function eO(a,b,c){const d=document.createElementNS("http://www.w3.org/2000/svg","svg");d.setAttribute("width",b);d.setAttribute("height",c);d.setAttribute("version","1.1");F(d,{overflow:"hidden",position:"relative"});a.appendChild(d);aO.call(this,d,this)}r(eO,aO);function fO(a,b){a.Hn.forEach(c=>{c!==a.xh&&b(c)})}function gO(a){x(a,a.xh.Ac,Km,a.vN,a,Nm);x(a,a.Qo,Lm,a.kX,a);fO(a,b=>{WN(b,"painted");x(a,b.Ac,Km,a.WF,a,Nm)})}function hO(a){Ne(a,a.xh.Ac,Km,a.vN,a);Ne(a,a.Qo,Lm,a.kX,a);fO(a,b=>{WN(b,"none");Ne(a,b.Ac,Km,a.WF,a)})} +function iO(a,b){if(b&&b!==a.xh.Ac&&b instanceof SVGElement&&(b=dO(a.Hn,b))){var c=b.getData("drawingId");if(c){const d=[];a.Hn.forEach(e=>{e.getData("drawingId")===c&&d.push(e)});for(b=0;bd?[["M",c-5,",",d-10],["L",c+5,",",d-10],["L",e+5,",",f-10],["L",e+5,",",f+10],["L",e-5,",",f+10],["L",c-5,",",d+10]]:[["M",c-5,",",d-10],["L",e-5,",",f-10],["L",e+5,",",f-10],["L",e+5,",", +f+10],["L",c+5,",",d+10],["L",c-5,",",d+10]];for(d=0;d"g"==f.nodeName);c.removeAttribute("opacity");var d=zd("div");d.appendChild(b);Fd(c);const e=d.innerHTML;Cd(b);b.appendChild(c);b={ignoreMouse:!0,ignoreAnimation:!0};canvg(a.wM,d.innerHTML,b);canvg(a.qM,e,b);if(d=a.Pi.getContext("2d"))d.clearRect(0,0,a.Pi.width,a.Pi.height),d.globalAlpha=.4,d.drawImage(a.wM,0,0),d.globalAlpha=1,d.drawImage(a.qM,0,0)} +function nO(a,b){a.EO=b;a.yA("nothing"!=b);switch(b){case "nothing":b=a.Yl;Ne(b,b.xh.Ac,Km,b.uN,b);hO(a.zs);break;case "line":b=a.Yl;b.PD=a.u5;YN(b);hO(a.zs);break;case "marker":b=a.Yl;b.PD=a.A5;YN(b);hO(a.zs);break;case "eraser":b=a.Yl,Ne(b,b.xh.Ac,Km,b.uN,b),gO(a.zs)}} +class oO extends P{constructor(a,b){super({F:"draw-control"});this.qM=this.wM=this.Pi=null;var c=this.hi=new eO(this.displayObject(),a,b);const d=document.createElementNS("http://www.w3.org/2000/svg","rect"),e=new VN(d,c);XN(e,{x:0,y:0,width:a,height:b});c.Ac.appendChild(d);c.Lp.push(e);this.xh=e;XN(this.xh,{opacity:0});this.Yl=new ZN(this.xh);this.xM=cO(this.hi);XN(this.xM,{opacity:.4});this.t5=cO(this.hi);this.u5=new kO(this.t5);this.A5=new lO(this.xM,new Wf(0,0,a,b));this.zs=new jO({group:this.hi, +Xca:this.xh,Zba:this.hi,Bda:void 0});this.EO="nothing";if(eh||Ni)this.Pi=zd("canvas"),F(this.Pi,"position","relative"),this.Pi.width=a,this.Pi.height=b,this.wM=zd("canvas"),this.qM=zd("canvas");this.yv=E(this,[this.Yl.yv,this.zs.yv]);this.xv=E(this,[this.Yl.xv,this.zs.xv]);this.yA(!1)}setScale(a,b){super.setScale(a,b);this.Yl.setScale(a);this.zs.setScale(a)}yA(a){L(this,"pointer-events",a?"all":"none");if(eh||Ni){const b=null!=this.hi.Ac.parentNode;a&&!b?Gd(this.hi.Ac,this.Pi):!a&&b&&(mO(this),Gd(this.Pi, +this.hi.Ac))}}hI(){this.xM.Hr();const a=[];this.hi.forEach(b=>{b!==this.xh&&a.push(b)});for(let b=0;b{a++});return 1==a}};class pO{constructor(a){this.Sd=a;a instanceof YB&&(this.JG=this.width()/this.height())}O(a){a=a.displayObject();(this.Sd instanceof Element?this.Sd:this.Sd.displayObject()).appendChild(a)}removeChild(a){a=a.displayObject();this.EL(a)&&this.displayObject().removeChild(a)}EL(a){return a.parentNode==this.displayObject()}displayObject(){return this.Sd instanceof Element?this.Sd:this.Sd.displayObject()}ratio(){return this.JG}width(){return this.Sd instanceof Element?this.Sd.offsetWidth:this.Sd.width()}Kb(a){const b= +Math.round(a/this.JG);this.Sd instanceof Element?Nh(this.Sd,a,b):this.Sd.resize(a,b)}height(){return this.Sd instanceof Element?this.Sd.offsetHeight:this.Sd.height()}Wc(a){const b=Math.round(a*this.JG);this.Sd instanceof Element?Nh(this.Sd,b,a):this.Sd.resize(b,a)}resize(a,b){this.Sd instanceof YB&&this.Sd.resize(a||this.Sd.width(),b||this.Sd.height())}Jl(a,b){a/b>this.JG?this.resize(a,b):this.Kb(a)}};function qO(a){a.tf(a.R.displayObject())&&a.R.resize(a.width(),a.height());a.Iq()}function rO(a,b){"nothing"!=b&&(a.vb||a.QL());a.Xe&&a.Xe.X("tool",b);a.vb&&nO(a.vb,b)} +class sO extends P{constructor(a){super({F:"content-area"});this.vb=null;this.G=a.Ca();a=a.view();this.rc=a.Cd();this.B=a.V();z(this,this.B.vc(),this.oe,this);this.R=new pO(a);z(this,a.Qe(),this.HA,this);this.O(this.R.displayObject());B(this,this.R);this.Xe=this.FK();this.uz=[];this.ra=1;this.aO=new cd(this.R.width(),this.R.height())}setScale(a){this.ra=a;qO(this)}hI(){this.vb&&this.vb.hI()}invalidate(a,b){this.zz=b;this.resize(a.width,a.height)}$x(){return this.R}HA(a,b,c,d){this.ZN=a/this.R.width(); +this.Aw=new Xc(c,d);this.Iq()}Iq(){if(this.vb){this.vb.move(this.Aw.x,this.Aw.y);const a=this.R.width()/this.aO.width*this.ZN;this.vb.setScale(a);this.vb.setParentScale(a)}}oe(){this.Xe&&this.IO()}IO(){let a="nothing";this.vb&&(a=this.B.Oa()||this.B.tb()||this.B.fb()?"nothing":this.vb.EO,nO(this.vb,"nothing"));const b=this.B.ma();Cd(this.Xe.displayObject());const c=d=>{-1!=d.timestamp().Ba()&&(Pe(this,d.Zb(),c,this),this.vb&&this.Xe.O(this.vb),rO(this,a))};this.vb=this.uz[b];z(this,this.B.$().Zb(), +c,this);this.Iq()}FK(){const a=new P({F:"marker-tool-container"});this.R.O(a);return a}QL(){this.vb=new oO(this.aO.width,this.aO.height);this.Xe.O(this.vb);this.vb.setParentScale(this.ra);this.uz[this.B.ma()]=this.vb;this.Iq()}vd(){super.vd();this.R.removeChild(this.Xe)}};function tO(a,b,c,d){eu.call(this,a,b,c,d);this.B3=new C;this.j3=new C;this.oU=new C}r(tO,eu);function uO(a,b){a.Vu=b}tO.prototype.DI=function(){this.Vu&&this.Vu.animate(this.coords);this.j3.C()};tO.prototype.C1=function(){};tO.prototype.Hl=function(){this.Vu&&this.Vu.animate(this.coords);this.oU.C()};tO.prototype.mp=function(){this.B3.C();this.Vu&&this.Vu.animate(this.coords)};function vO(a,b){const c=b.displayObject();yi(c,"0 0");a.U.O(c);a.fr=b}function wO(a,b,c){a.SP=new cd(b,c);a.zF&&a.lF()} +class xO{constructor(a){this.l$=a||!1;this.zF=!1;this.Wk=this.jq=this.Na=this.Va=0;this.SP=new cd(0,0);this.fr=null;this.Ra=!0;this.Ff=new TM;this.U=new P({F:"video-container"});this.U.O(this.Ff);this.U.X("force-fit-video",Ib||Jb)}displayObject(){return this.U.displayObject()}visible(){return this.Ra}J(a){this.Ra=a;this.l$?(G(this.displayObject(),a?1:0),F(this.displayObject(),"pointer-events",a?"":"none")):Th(this.displayObject(),a)}width(){return this.Va}height(){return this.Na}Jl(a,b){this.hZ(a); +this.Wk=b;this.lF();this.zF=!0}hZ(a){this.jq=a}lF(){const a=this.SP.width/this.SP.height,b=this.jq;this.resize(Math.round(b),Math.round(this.jq/this.Wk>a||isNaN(a)?this.Wk:b/a));this.zF=!0}resize(a,b){this.Va=a;this.Na=b;this.fr&&this.fr.resize(a,b);this.U.resize(a,b);this.zF=!1}O(a){a=a.displayObject();this.displayObject().appendChild(a)}removeChild(a){a=a.displayObject();this.EL(a)&&this.displayObject().removeChild(a)}EL(a){return a.parentNode==this.displayObject()}};class yO extends P{constructor({ka:a,F:b,C2:c=!0,zf:d=!0,oda:e=!0}){super({ka:a,F:b,zf:d});this.m$=c;this.n$=e;this.XE=this.Pt=!1;this.e$=E(this)}Qa(a,b){super.Qa(a,b);this.XE=!0;a=this.Pt;const c=this.displayObject().textContent;this.jZ(c,Jb||Ib?b+1:b);this.XE=!1;a!=this.Pt&&(this.m$&&this.setAttribute("title",this.Pt?kt(this.U,"label"):""),this.e$.C())}jZ(a,b){function c(){g=f=e)&&(this.Pt=!0,this.n$)){var f=Math.floor(b/d.displayObject().scrollHeight*a.length),g="";for(c();d.displayObject().scrollHeight<=b;)f+=10,c();for(;0b;)c(),--f;c()}}}ha(a){super.ha(a);this.XE||(this.vp(a),this.xb())}wp(){throw Error("html text is not supported");}};function zO(a,b){const c=a instanceof Jt?a.za():a instanceof P?a.displayObject():a;b&&"slideNavigationSettings"==b.up()?a instanceof P?a.X("locked",!0):mn(c,"locked"):a instanceof P?a.X("locked",!1):nn(c,"locked");b=b&&("presentationNavigationType"!=b.up()||"presentationSeeking"==b.lR())&&"quizNavigationSettings"!=b.up()&&"scenarioNavigationSettings"!=b.up();a instanceof Jt||a instanceof P?a.qa(!b):b?c.setAttribute("disabled",""):c.removeAttribute("disabled")};function AO(a){if(a.H.Hu){const b=new yO({ka:O(a,"label")});It(b,a.I,"PB_CONTROL_PANEL_SLIDE_COUNTER",a.G4.bind(a));return b}return null}function BO(a){if(a.Wj){const b=-1!=a.B.ma()&&a.B.fa().visible();a.Wj.J(b);a=a.Wj;a.WL?a.WL():Ga("bindI18nMessage is required")}} +class CO extends P{constructor({ga:a,V:b,settings:c,xa:d,rJ:e}){super({F:"navigation-controls"});this.I=a;this.K=d;this.B=b;this.H=c;this.De=c.$g;this.kz=this.vg=new XL(this.B,this.De);this.w9=e;(this.Wj=AO(this))&&M(this,this.Wj);(this.rb=this.rv())&&M(this,this.rb);(this.gb=this.pv())&&M(this,this.gb);z(this,this.B.$().Zb(),this.Ab,this);z(this,this.B.vc(),this.io,this);z(this,this.I.og,this.DP,this)}yo(a){a&&!this.rb&&(this.rb=this.rv())&&M(this,this.rb,this.fm("prevButton"));this.rb&&this.rb.J(a)}wo(a){a&& +!this.gb&&(this.gb=this.pv())&&M(this,this.gb,this.fm("nextButton"));this.gb&&this.gb.J(a)}Qa(){var a=this.B.fb();this.yo(this.H.visible&&this.H.yf||!!a);this.wo(this.H.visible&&this.H.Re||!!a);a=this.H.visible&&this.H.Hu;this.Wj?this.Wj.J(a):a&&((this.Wj=AO(this))&&M(this,this.Wj,this.fm("slidesCounterLabel")),BO(this))}fm(a){const b=[this.Wj,this.rb,this.gb].filter(c=>c);switch(a){case "slidesCounterLabel":return b.indexOf(this.Wj);case "prevButton":return b.indexOf(this.rb);case "nextButton":return b.indexOf(this.gb); +default:return-1}}pv(){var a=this.B.fb();return this.H.Re||a?(a=new iM({type:"uikit-primary-button",icon:{element:Z(this.K,"chevron_right"),Ne:"right"},text:this.I.ia("PB_CONTROL_PANEL_NEXT")}),Gt(a,O(this,"button")),a.X("next",!0),z(this,a.ja,this.jN,this),a):null}rv(){var a=this.B.fb();return this.H.yf||a?(a=new iM({type:"uikit-secondary-button",icon:{element:Z(this.K,"chevron_left"),Ne:"left"},text:this.I.ia("PB_CONTROL_PANEL_PREV")}),Gt(a,O(this,"button")),a.X("prev",!0),z(this,a.ja,this.nN,this), +a):null}jN(){this.enabled()&&this.kz.next()}nN(){this.enabled()&&this.kz.prev()}io(){BO(this);const a=this.B.fb();if(a){const b=this.B.fa();this.kz=new YL(a.playerController(),this.vg,2==b.Qn);a.setExternalNavigationController(this.kz)}else this.kz=this.vg}Ab(){if(this.rb){var a=this.B.nf(this.De==VL?"switchToPreviousSlide":"switchToPreviousStep");zO(this.rb,a)}this.gb&&(a=this.B.nf(this.De==VL?"switchToNextSlide":"switchToNextStep"),zO(this.gb,a));var b=this.B.tb();this.gb&&b&&(a=this.B.fa(),b=b.currentSession().completed(), +a="atAnyTime"!=a.Im,!b&&a&&this.gb.qa(!1));a=this.B.fb();(this.rb||this.gb)&&a&&1==this.B.fa().navigationType()&&(a=a.playerController(),this.rb&&this.rb.qa(this.rb.enabled()||a.isPrevAvailable()),this.gb&&this.gb.qa(this.gb.enabled()||a.isNextAvailable()))}G4(){let a="-";-1!=this.B.ma()&&this.B.fa().visible()&&(a=this.B.fa().Mi()+1);return{SLIDE_NUMBER:a,TOTAL_SLIDES:this.w9}}DP(a){switch(a){case "PB_CONTROL_PANEL_NEXT":this.gb&&this.gb.ha(this.I.ia(a));break;case "PB_CONTROL_PANEL_PREV":this.rb&& +this.rb.ha(this.I.ia(a))}}};function DO(a){a.ua.Ci(a.displayObject().offsetHeight-2*a.N_,a.gm.height());a.ua.Tx()} +class EO extends P{constructor({F:a,V:b}){super({F:a,zf:!0});this.B=b;this.N_=0;this.ro=new P({ka:O(this,"scroll-area")});M(this,this.ro);this.gm=new P({F:"notes-text"});M(this.ro,this.gm);a=new P({F:"container-bottom-shadow"});M(this,a);this.ua=new wM({Gr:this.ro,mQ:a.displayObject()});B(this,this.ua);this.O(this.ua.jk());this.qg=null;this.vf("tabpanel");z(this,this.B.vc(),this.ZF,this);-1!=this.B.ma()&&this.ZF();DO(this)}Qa(a,b){super.Qa(a,b);a=Zh(this.displayObject());a=a.top+a.bottom;this.ro.Wc(this.height()- +a);DO(this)}ZF(){var a=this.B.fa().Ei();this.qg!=a&&(this.qg=a,this.gm.J(!!this.qg),this.qg&&(a=this.qg.wi().replace(//g,"
    "),this.gm.wp(a)),DO(this),this.ua.li.ny(0),this.ua.Tx())}};class FO extends P{constructor({ka:a,F:b,prompt:c}){super({ka:a,F:b,Yb:"INPUT"});c&&this.setAttribute("placeholder",c);this.rL=!1;this.dE=E(this);x(this,this,"change",()=>{this.dE.C()});this.bF=E(this);x(this,this,"input",()=>{this.bF.C()});this.A4=E(this);x(this,this,"focus",()=>{this.rL=!0;this.A4.C()});this.E3=E(this);x(this,this,"blur",()=>{this.rL=!1;this.E3.C()});x(this,this,"keydown",this.nw,this)}focused(){return this.rL}value(){return this.displayObject().value}gn(a){a!=this.value()&&(this.displayObject().value= +a)}nw(a){switch(a.keyCode){case 46:this.focused()&&a.stopPropagation();break;case 13:this.focused()&&this.displayObject().blur()}}};class GO extends P{constructor({selected:a}){super({F:"panel-tab-button",Yb:"BUTTON"});this.X("chosen",a)}selected(){return this.OC("chosen")}Eh(a){this.X("chosen",a)}}function HO(a){if(a.zd&&!a.Vb||!a.zd&&a.Vb){const b=new P({ka:O(a,"panel-title")}),c=a.Vb?"PB_TAB_OUTLINE_LABEL":"PB_TAB_NOTES_LABEL";b.ha(a.I.ia(c));It(b,a.I,c);return b}return null} +function IO(a){a.Uj=new P({F:"search-wrapper"});M(a,a.Uj);a.xg=new FO({F:"search-field",prompt:a.I.ia("PB_SEARCH_PANEL_DEFAULT_TEXT")});M(a.Uj,a.xg);const b=new P({F:"clear-button"}),c=new P({za:Z(a.K,"erase_search")});M(b,c);z(a,b.ja,a.c6,a);a.Qi=b;M(a.Uj,a.Qi);a.qe=a.pE();M(a,a.qe);z(a,a.xg.bF,a.J4,a)}function JO(a){a.Jc&&a.Jc.J(!a.so);a.fl&&a.fl.J(!a.so);a.qe&&a.qe.J(!a.so);a.Uj&&a.Uj.J(a.so);a.xg&&a.xg.J(a.so);a.Qi&&a.Qi.J(a.so)} +class KO extends P{constructor({ga:a,Fu:b,Gu:c,rk:d,xa:e}){super({F:"outline-panel-header"});this.K=e;this.I=a;this.so=!1;this.sg=d;this.xA=E(this);this.xO=E(this);this.Qi=this.qe=this.xg=this.Uj=null;this.Vb=c;this.zd=b;(this.Jc=this.Np())&&M(this,this.Jc);(this.fl=HO(this))&&M(this,this.fl);this.sg.search&&this.Vb&&IO(this);z(this,this.I.og,this.Eg,this);z(this,this.sg.pb,this.B_,this);JO(this)}fS(a){this.Vb=a}eS(a){this.zd=a}qa(a){super.qa(a);this.xg&&this.xg.qa(a)}B_(){!this.sg.search||!this.Vb|| +this.xg||this.qe||this.Qi||this.Uj||IO(this);(!this.sg.search||!this.Vb)&&this.xg&&this.qe&&this.Qi&&this.Uj&&(Se(this.Uj,this.xg),Se(this.Uj,this.Qi),Se(this,this.Uj),Se(this,this.qe),this.Uj=this.Qi=this.qe=this.xg=null,this.so=!1);JO(this)}J4(){this.xO.C(this.xg.value())}pE(){const a=new P({F:"search-button"}),b=new P({za:Z(this.K,"search")});M(a,b);z(this,a.ja,this.f7,this);return a}f7(){this.so=!0;this.xA.C("outline");JO(this);this.xg.displayObject().focus()}c6(){this.so=!1;this.xg.gn("");this.xg.displayObject().blur(); +JO(this);this.xO.C("")}Np(){if(this.Vb&&this.zd){const a=new P({ka:O(this,"switcher")}),b=new GO({selected:!0});It(b,this.I,"PB_TAB_OUTLINE_LABEL");M(a,b);const c=new GO({selected:!1});It(c,this.I,"PB_TAB_NOTES_LABEL");M(a,c);z(this,this.xA,d=>{b.Eh("outline"===d);c.Eh("notes"===d)});z(this,b.ja,()=>{this.xA.C("outline")});z(this,c.ja,()=>{this.xA.C("notes")});return a}return null}Eg(){this.xg&&this.xg.setAttribute("placeholder",this.I.ia("PB_SEARCH_PANEL_DEFAULT_TEXT"))}};class LO extends wg{constructor(){super();this.Bs="";this.nL=E(this)}};class MO extends wg{constructor(a){super();this.U=a;this.LA=E(this);x(this,this.U,"scroll",()=>{this.LA.C()})}scrollY(){return this.U.scrollTop}FI(){return this.LA}ny(a){this.U.scrollTop=a}}function NO(a,b){Se(a,a.li);a.li=b;B(a,a.li);z(a,a.li.FI(),()=>{document.body.contains(a.displayObject())&&a.G.Sf(a.li.scrollY())})} +function OO(a){const b=PO(a.G);a.Vt.forEach((c,d)=>{0>b.indexOf(d)&&(a.Vt.delete(d),a.sa.removeChild(c),Se(a,c))});for(let c=0;cthis.G.gr);this.sa.Wc(this.G.Nt);this.li.ny(this.G.Eb);L(this.sa,"padding-top",this.G.GL+"px");OO(this)}};function PO(a){return a.jb.slice(a.GE,a.GE+a.DV)}function SO(a){a.Eb=xv(a.Eb,0,Math.max(a.Nt-a.gr,0));a.Js()} +class TO extends wg{constructor(){super();this.Uk=this.Nt=this.gr=this.Eb=0;this.jb=[];this.DV=this.GE=this.GL=0;this.dE=E(this)}invalidate(){this.Js()}bR(){return this.Uk}Sf(a){void 0!==this.gr&&this.Eb!=a&&(this.Eb=a,SO(this))}Js(){this.GE=Math.floor(Math.max(0,this.Eb-(Ii?this.gr:0))/this.Uk);this.GL=this.Uk*this.GE;this.DV=Math.ceil((Math.min(this.Nt,this.Eb+this.gr+(Ii?this.gr:0))-this.GL)/this.Uk);this.dE.C()}};class UO extends P{constructor(a){super({F:"slide-item-view",aJ:!0});this.i5=a}item(){return this.i5}};function VO(a){a.Ku()?a=Promise.resolve(a.Ku()):(a.id(),a=Promise.resolve(null));return a};function WO(a,b){const c=Math.round(a.width());let d=b.toLocaleLowerCase().indexOf(a.Lh),e=d+a.Lh.length;const f=(g,h)=>`${0{const g=f(d-1,e+1).split(" ");for(let h=0;2>h;++h){let l=c;for(;l&&g.length;){const n=7*g[0].length+4;n<=l?(l-=n,g.shift()):l=0}}return!g.length};f(d,e)!=b&&a();)--d,++e;return{Yca:d,Daa:e}} +class XO extends yO{constructor({ka:a,F:b,C2:c}){super({ka:a,F:b,C2:c});this.Lh="";this.YA=0}ha(a){if(this.Lh){const b=a.slice(0,this.YA)+a.slice(this.YA).replace(new RegExp(`(${this.Lh})`,"gi"),"$1");this.displayObject().innerHTML=b}else super.ha(a);this.XE||(this.vp(a),this.xb())}jZ(a,b){if(b){this.Pt=!1;var c=this;c.ha(a);var d=a.substr(0,this.YA);a=a.substr(this.YA);if(void 0!==b&&this.displayObject().parentNode&&(c.displayObject().style.height="",!(b>=c.displayObject().scrollHeight))){var {Yca:e, +Daa:f}=WO(this,a),g=()=>{c.ha(`${d}${0{var h=this.Pa,l=!this.uq.pressed();h.wz!=l&&(h.wz=l,h.CE.C())});z(this,this.Pa.CE,this.uV,this);this.uV();this.uq.J(a.RE&&!g.Bs);a.zo&& +(this.Ad=new P({ka:O(this,"thumb"),Yb:"IMG"}),cP(this,this.Ad),this.Ad.J(!1),VO(a.slide()).then(h=>{if(h){const l=An({width:h.width(),height:h.height(),boundingWidth:d,boundingHeight:e,oC:!1});this.Ad.resize(l.width,l.height);this.Ad.setAttribute("src",h.url().replace(/\\/g,"/"));this.Ad.J(!0);this.X("with-thumbnail",!0)}}));this.re=this.sv(a);b=cP(this,this.re,"title-container");this.Cs=new XO({ka:O(this,"title")});this.Cs.X("minimized",!a.zo);M(b,this.Cs);z(this,this.Pa.sT,this.yW,this);this.yW(); +z(this,this.Pa.uT,this.zW,this);this.zW();z(this,g.nL,()=>{this.uq.J(a.RE&&!g.Bs);dP(this);eP(this)});z(this,this.I.og,this.Eg,this);eP(this);dP(this);this.qa(a.enabled());rt(()=>{this.re.visible()?this.re.xb():this.Cs.xb()})}zW(){this.X("viewed",this.Pa.LH)}yW(){this.Eh(this.Pa.selected())}uV(){this.uq.Dc(this.Pa.Qm())}sv(a){const b=new yO({ka:O(this,"title"),oda:!1});b.X("minimized",!a.zo);b.ha(this.Ud.prefix()+a.title());b.vp(a.title());return b}iK(a,b,c,d){let e=null,f=null;b.some(g=>{if(0>g.toLocaleLowerCase().indexOf(a))return!1; +e=g;f=`${this.I.ia(d)}
    `+c;return!0});return e&&f?{text:e,Iba:f}:null}aM(){if(this.yh)if(this.yh.X("answered",!1),this.wg.submitted()){if(this.Sj.WK||this.Sj.zV){var a=this.wg.review();a=a?a.status():"answered";this.yh.X("status",a)}}else"allAtOnce"==this.Sj.submitType()&&(a=this.wg.hasBeenVisited()&&(this.wg.submitted()||this.wg.initiated()),this.yh.X("answered",a));this.Nn&&this.Nn.X("with-status",this.wg.submitted())}c5(){this.wg&&this.Nn&&this.Nn.J(this.wg.isMarked())}Qa(a, +b){super.Qa(a,b);if(this.yh)if(a=this.yh.U.getBoundingClientRect().width/this.yh.width(),b=this.U.getBoundingClientRect(),this.Ad){var c=this.Ad.U.getBoundingClientRect(),d=(c.bottom-b.top)/a;this.yh.move((c.left-b.left)/a-this.yh.width()/2,d-this.yh.height()+2)}else{c=this.re.U.getBoundingClientRect();d=(c.top-b.top)/a;const e=c.height/a;this.yh.move((c.left-b.left)/a-this.yh.width()-7,d+(e-this.yh.height())/2)}this.Nn&&this.wg&&this.Nn.X("with-status",this.wg.submitted())}Eg(a){"PB_SEARCH_RESULT_IN_TEXT_LABEL"!== +a&&"PB_SEARCH_RESULT_IN_NOTES"!==a||eP(this)}};class gP{constructor(){this.L=-1;this.lp=this.text=this.title=0}}var hP={value:1E4,name:"title"},iP={value:100,name:"text"},jP={value:1,name:"notes"};function kP(a){const b=[];for(let c=0;c({id:e.id,slide:e.slide,location:e.location}))} +class nP{R3(a,b){function c(d,e){return d.L>e.L?-1:d.Lb.title?1:a.titleb.text?1:a.textb.lp?1:a.lp{a.enabled()&&!e.defaultPrevented&&(d=b.cD(),void 0!==d?a.Wg.slidePoolState().activeSlideIndex()!=d&&a.Wg.slidePoolState().setActiveSlideIndex(d):(a.B.ue(b.slide().index()),a.Vz()))});return c}function pP(a,b){return Oa(a.Wi,c=>c.slide().index()==b)} +function qP(a,b,c,d){if(!(0>c||c>=a.Wi.length)){b=b||a.Wi[c];var e=rP(a,b.Ou());if(e){e.Eh(d);if(d)for(e=Number.MAX_VALUE;0<=c;--c){const f=a.Wi[c];f.hwa)){a*=b.Uk;var c=a+b.Uk;a>=b.Eb&&c<=b.Eb+b.gr||(b.Eb=a{0==d.tc()&&(d=vP(a,b,e,c+"."),a.oK.push(d),++c)});a.QB.clear();u(a.Wi,d=>{a.QB.set(d.Ou(),d.state())});u(a.oK,()=>{})}function wP(a,b){a.Wi=[];a.oK=[];uP(a,b);a.Wi.sort((c,d)=>c.id()-d.id());a.Vz();a.Js()}function rP(a,b){return a.QB.has(b)?a.QB.get(b):null} +function vP(a,b,c,d,e=!1){var f=[];const g=b[c];for(var h=c+1;hb)return b;a=a.M.la(b);return a.visible()?a.Mi():-1} +class yP extends RO{constructor(a,b,c,d,e,f){const g=a.Vm,h=a.gp,l=a.nn,n=a.locked,m=a.zi,p=a.bR,t=a.qba,w=a.pba,y=a.xS,D=a.wS,I=new TO;a=new P;super({zf:!0,F:"treecontrol",Ca:I,iaa:a});B(this,I);M(this,a);this.hg=n;this.X("locked",this.hg);this.M=b;this.B=c;this.Kk=d;this.Wg=this.Bb=null;this.Ts=m;this.zo=l;this.$p=h;this.zH=!1;this.MO=g;this.I=e;this.K=f;this.Uk=p;this.k5=t;this.j5=w;this.P9=y;this.O9=D;this.QB=new Map;this.ZO=new Map;this.Wi=[];this.oK=[];this.mi=0;this.UG=null;z(this,this.Kk.nL, +this.Js,this);this.gF();z(this,c.vc(),this.sR,this);z(this,b.HZ,this.t7,this);this.X("highlight-viewed",this.$p);b=new P({F:"container-bottom-shadow"});M(this,b);this.ua=new wM({Gr:a,mQ:b.displayObject()});B(this,this.ua);this.O(this.ua.jk());(b=this.ua.li)&&NO(this,b);Ft(a,{height:"inherit"})}xi(){return 0==this.G.Nt}t7(a){if(a=pP(this,a))a=a.state(),1!=a.LH&&(a.LH=!0,a.uT.C())}reset(){}Js(){const a=[];if(this.Kk.Bs){var b=mP(this.M,this.Kk.Bs);for(var c of b)b=c.slide.index(),b=pP(this,b),b.state().XZ= +c.location,a.push(b)}else{c=Number.MAX_VALUE;for(b of this.Wi){const d=rP(this,b.Ou());b.hw<=c&&d&&(a.push(b),c=d.Qm()?Number.MAX_VALUE:b.hw)}}c=this.G;if(b=this.zo?this.k5:this.Uk)c.Uk=b;c.jb=a;c.Nt=c.Uk*a.length;c.Js();this.kF()}Iv(a){wP(this,a)}gF(){const a=this.Wg&&"completed"!=this.Wg.sessionMode()&&this.Wg.slidePoolState().slides(),b=xP(this),c=[];for(let e=0;e{const n=h.slide().description().text(),m=this.Bb.skinSettings().questionListInfo().displayQuestionStatus(),p="free"==this.Bb.navigationType(),t=this.Wg.settings().submitType(),w="reviewing"==this.Wg.sessionMode();c.push(new ZO(n,g+1,f,l,p,new YO(h,m,t,w)))})}}this.Iv(c);this.Vz()}sR(){Ue(this,this.Bb);(this.Bb=this.B.Oa())&&z(this,this.Bb.currentSessionChangedEvent(),this.dX,this);this.dX(); +this.Vz()}GA(){super.GA();this.ua.setParentScale(this.kt)}dX(){const a=this.Wg,b=this.B.Oa();this.Wg=this.B.fa().visible()&&b&&b.skinSettings().questionListInfo().showSlideList()?b.currentSession()&&b.currentSession().started()?b.currentSession():null:null;a!=this.Wg&&(a&&Ue(this,a,a.slidePoolState()),this.gF(),this.Wg&&(z(this,this.Wg.slidePoolState().activeSlideChangedEvent(),this.Vz,this),z(this,this.Wg.sessionModeChangedEvent(),this.gF,this)))}Vz(){const a=xP(this);if(this.Wg&&"completed"!=this.Wg.sessionMode()){const b= +this.Wg.slidePoolState().activeSlideIndex()+1;tP(this,this.Wi[a+b],a+b)}else tP(this,this.Wi[a],a)}Qa(a,b){super.Qa(a,b);this.kF();sP(this)}kF(){const a=this.height();this.ua&&a&&this.ua.Ci(a,this.G.Nt)}};function zP(a){return a.H.search?(a=new P({F:"search-result"}),a.J(!1),a):null}function AP(a){if(a.gl&&a.gl.visible()){const b=a.Ko.xi();a.gl.ha(a.I.ia(b?"PB_SEARCH_NO_RESULTS_LABEL":"PB_SEARCH_RESULTS_LABEL"));a.gl.X("no-results",b)}} +class BP extends P{constructor(a,b,c,d,e){super({F:"outline",zf:!0});this.vf("tabpanel");this.M=a;this.B=b;this.H=c;this.I=d;this.K=e;(this.gl=zP(this))&&M(this,this.gl);this.Kk=new LO;this.Ko=new yP({locked:this.H.locked,zi:this.H.zi,Vm:this.H.Vm,nn:this.H.nn,gp:this.H.gp,bR:60,qba:76,pba:20,wS:56,xS:120},a,b,this.Kk,this.I,this.K);M(this,this.Ko);z(this,this.B.vc(),this.ZF,this);z(this,this.H.pb,this.J6,this);z(this,this.I.og,this.Eg,this)}invalidate(){Ga("deprecated");this.xb()}J6(){this.H.search&& +!this.gl&&(this.gl=zP(this))&&M(this,this.gl,0);var a=this.Ko,b=this.H.nn,c=this.H.Vm,d=this.H.gp,e=this.H.zi;if(b!==a.zo||c!==a.MO||e!==a.Ts)a.zo=b,a.MO=c,a.Ts=e,a.ZO.clear(),a.gF();a.$p!==d&&(a.$p=d,a.X("highlight-viewed",a.$p))}ZF(){for(let f=0;fc.gB===b?(Se(a,c),!1):!0)}function MP(a,b,c,d){NP(a,b,c,d);c.Rf(0);c.G1();a.Db.O(c);a.kh=c;a.lZ="top"===d.jn;a.$X.C()}function OP(a,b,c,d={jn:"top",align:"center"}){JP(a);b&&(b=a.AG.find(e=>e.gB===c))&&MP(a,c,b,d)} +function LP(a){if(a.wh){var b=150;1==a.wh.Yc&&(b*=a.kL.progress,a.wh.stop(!1),a.wh.gd());var c=Sh(a.kh.displayObject());"number"!==typeof c&&(c=1);var d=Dh(a.kh.displayObject(),"top");d=Number(d.substr(0,d.length-2));a.wh=new GP;var e=new TC(a.kh.displayObject(),c,0,b);a.wh.add(e);c=[a.yw.x,d];d=[a.yw.x,a.yw.y+(a.lZ?10:-10)];b=new SC(a.kh.displayObject(),c,d,b);a.wh.add(b);a.wh.play();var f=a.kh,g=()=>{e.zD("finish",g,!1,a);e.zD("stop",g,!1,a);a.Db.removeChild(f)};e.Fl("finish",g,!1,a);e.Fl("stop", +g,!1,a);a.kh=void 0;a.CT.C()}}function PP(a,b){!a.kh||Md(a.kh.displayObject(),b)||Md(a.kh.gB,b)||JP(a)} +function NP(a,b,c,d){Gi(()=>{c.PR(1,a.Wk);var e="top"===d.jn?a.FJ:a.YJ,f=QP(a,b,c,d.align);const g=b.getBoundingClientRect(),h=a.Db.displayObject().getBoundingClientRect(),{x:l,y:n}=RP(a,new Xc(f,(g.top-h.top)/e),c,{relativeElement:b,jn:d.jn||"top",Oba:0});a.yw=new Xc(l,n);e=c.displayObject();f=d.jn||"bottom";a.wh&&(a.wh.stop(!1),a.wh.gd());a.wh=new GP;a.kL=new TC(e,0,1,150);a.wh.add(a.kL);e=new SC(e,[l,n+("top"===f?10:-10)],[l,n],150);a.wh.add(e);a.wh.play()})} +function QP(a,b,c,d="center"){if(void 0!==c.yw)c=c.yw;else a:{b=b.getBoundingClientRect();a=a.Db.displayObject().getBoundingClientRect();a=b.left-a.left;const e=a+b.width;b=a+b.width/2;switch(d){case "center":c=b-c.width()/2;break a;case "left":c=a;break a;case "right":c=e-c.width();break a;default:throw Error(`unknown horizontal align: ${d}`);}}return c} +function RP(a,b,c,{relativeElement:d,jn:e,Oba:f}){e="top"===e;let g=b.x;b=b.y;d=d.getBoundingClientRect();const h=e?a.FJ:a.YJ,l=Ii?Math.min(1,a.Wk/c.height()):h;c.PR(l,a.Wk);yi(c.displayObject(),"0 0");b=e?b-(c.height()+(6+f)*l):b+(d.height/h+(12+f));g+=(h-l)*c.width()/2;g=Math.round(xv(g,a.KV*h,a.MY*h-c.width()*l));b=Math.round(b*h);e&&(b+=Math.round((h-l)*c.height()));return new Xc(g,b)} +class SP extends wg{constructor(a){super();this.Db=a;this.AG=[];this.kh=void 0;this.YJ=this.FJ=this.Wk=this.MY=this.KV=0;this.wh=null;this.lZ=!0;this.kL=this.yw=void 0;this.CT=E(this);this.$X=E(this);x(this,document,Km,this.DA,this,Nm);x(this,document,"keydown",this.nw,this,!0);x(this,document,"focus",this.l6,this,!0)}np(){return this.CT}Jl(a,b,c){this.KV=a;this.MY=b;this.Wk=c}setScale(a,b){this.YJ=a;this.FJ=b}createPopup(a,b,c){a=new HP(a);a.ky(b);a.X(c,!0);IP(this,a);return a}DA(a){this.kh&&PP(this, +a.target)}nw(a){this.kh&&27==a.keyCode&&(a=this.kh.gB,JP(this),a.focus())}l6(a){Ib&&a.target==document.body||this.kh&&PP(this,a.target)}};class TP extends iM{constructor({xa:a,wj:b}){super({type:"uikit-primary-button",icon:{element:Z(a,"outline"),Ne:"left"}});this.AY=E(this);z(this,this.ja,this.Iz,this);z(this,b.np(),this.lw,this)}Iz(){this.Dc(!this.lo);this.AY.C(this.lo)}lw(){this.Dc(!1)}};class UP extends iM{constructor({xa:a,V:b,slides:c}){super({type:"uikit-primary-button",icon:{element:Z(a,"play"),Ne:"left"}});this.K=a;this.B=b;this.M=c;this.KN=!1;z(this,this.ja,this.Iz,this);-1==this.B.ma()&&(this.qa(!1),Qe(this,this.B.vc(),()=>{this.qa(!0)}));z(this,this.B.$().Ec(),this.Tz,this);z(this,this.B.$().Zb(),this.Ab,this);this.Tz()}Iz(){const a=this.B.$().state();"stopped"===a||"suspended"===a?this.B.play():this.B.pause()}Ab(){if(-1!=this.B.ma()){var a=this.B.fa(),b=a.startTime()+a.duration(); +const c=this.M.ti(this.B.$().timestamp());a=a.type();"interaction"!=a&&"quiz"!=a&&"scenario"!=a||c!=b?(b=this.B.nf("playPauseControl"),zO(this,b)):this.qa(!1)}}Tz(){var a=this.B.$().state();a=!("started"==a||"buffering"==a);if(this.KN!=a){const b=Z(this.K,a?"play":"pause");this.on(b);this.KN=!this.KN}a||zO(this,null)}};function VP(a){a.Dc(!1);OP(a.Ja,!1,a.displayObject(),a.jU)}class WP extends iM{constructor({Y$:a,Aaa:b,wj:c,Baa:d}){super({icon:a.icon,type:a.type,size:a.size,text:a.text,toggle:!0});this.Ja=c;this.q4=b;this.jU=d;this.Ja.createPopup(this.displayObject(),this.q4,"");z(this,this.ja,this.Iz,this);z(this,this.Ja.np(),()=>this.Dc(!1))}Iz(){this.Dc(!this.lo);OP(this.Ja,this.lo,this.displayObject(),this.jU)}};class XP extends P{constructor({id:a,icon:b,textContent:c,value:d,x0:e=!0}){super({F:"menu-base-item"});this.Tb=a;(this.Hc=this.zn(b))&&M(this,this.Hc);this.gm=this.BK(c);M(this,this.gm);(this.Hm=this.rE(d))&&M(this,this.Hm);this.X(a,!0);this.X("clickable",e)}get id(){return this.Tb}UR(a){this.gm.ha(a)}gn(a){this.Hm&&Se(this,this.Hm);(this.Hm=this.rE(a))&&M(this,this.Hm,2)}zn(a){return new P({za:a,ka:O(this,"icon")})}BK(a){const b=new P({ka:O(this,"label")});b.ha(a);return b}rE(a){return a?(Gt(a, +O(this,"value")),a):null}}function YP(a,b,c){a.to(b,d=>{Se(d,d.Hc);d.Hc=d.zn(c);M(d,d.Hc,0)})} +class ZP extends P{constructor(){super({F:"menu-base"});this.jb=new Map;this.uA=E(this)}nu(){return this.uA}X1(a,b){this.to(a,c=>c.J(b))}my(a,b){this.to(a,c=>c.UR(b))}W1(a,b){this.to(a,c=>c.qa(b))}tx({id:a,textContent:b,icon:c,value:d,x0:e}){if(!this.jb.has(a)){const f=new XP({id:a,textContent:b,icon:c,value:d,x0:e});this.jb.set(a,f);M(this,f);z(this,f.ja,()=>this.uA.C(this.vF(f)))}}vF(a){return a.id}to(a,b){this.jb.has(a)&&b(this.jb.get(a))}};function $P(a,{id:b,value:c}){a.tx({id:b,textContent:c,icon:(new P).displayObject()})}class aQ extends ZP{constructor({xa:a}){super();this.tB=null;this.Q9=Z(a,"tick")}};function bQ(a,b){const c=new P({ka:O(a,"caption")});It(c,b,a.I3);return c}function cQ(a,b,c){const d=new aQ({xa:b});a.Dw.forEach((e,f)=>{$P(d,{id:String(e),value:f})});z(a,c.og,e=>{e==a.XT&&(e=c.ia(e),d.my("1",e))});return d} +class dQ extends P{constructor(a,b){super({F:"rate-menu"});this.XT="PB_RATE_MENU_DEFAULT_RATE";this.I3="PB_RATE_MENU_CAPTION";this.Dw=new Map(xg.map(d=>{const e=String(d);return 1===d?[a.ia(this.XT),e]:[e,e]}));var c=bQ(this,a);M(this,c);c=new P({ka:O(this,"delimiter")});M(this,c);this.BO=cQ(this,b,a);M(this,this.BO)}$I(a){var b=this.BO;a=String(a);b.tB&&YP(b,b.tB,(new P).displayObject());b.tB=a;b.tB&&YP(b,b.tB,b.Q9)}nu(){return this.BO.nu()}};function eQ(a,b,c){b=b instanceof P?b:new P({za:b});Gt(b,O(a,"collapsed"===c?"collapsed-component":"expanded-component"));M(a,b)}function fQ(a){a.OC("active")||a.X("collapsed",!0)}class gQ extends P{constructor({eaa:a,Kaa:b}){super({F:"uikit-collapsed-control"});eQ(this,a,"collapsed");eQ(this,b,"expanded");x(this,this.displayObject(),"mouseenter",()=>{this.X("collapsed",!1)});x(this,this.displayObject(),"mouseleave",()=>fQ(this));fQ(this)}};class hQ extends P{constructor({ka:a,volume:b}){super({ka:a,jI:!0});this.setVolume(b)}setVolume(a){this.Lo(a)}Lo(a){L(this,"left",`${Math.round(100*a)}%`)}};var iQ=class extends P{constructor(){super({F:"volume-slider"});this.Le=1;this.zl=E(this);this.Pn=!1;this.mq=E(this);this.Gp=new P({ka:O(this,"background")});M(this,this.Gp);this.V_=new P({ka:O(this,"volume")});M(this,this.V_);this.pP=new P({ka:O(this,"track")});M(this,this.pP);this.La=new hQ({ka:O(this,"thumb"),volume:this.Le});M(this.pP,this.La);this.pU=new P({ka:O(this,"enlarged-click-area")});M(this,this.pU);this.rz=E(this);this.qz=E(this);x(this,this.pU.displayObject(),Km,this.w7,this,Nm);this.Lo()}pn(){return this.zl}Xx(){return this.mq}setVolume(a){this.Le!== +a&&(this.Le=a,this.zl.C(a),this.Lo())}volume(){return this.Le}zu(a){this.Pn!==a&&(this.Pn=a,this.mq.C(a),this.Lo())}muted(){return this.Pn}w7(a){this.rz.C();this.aN(a);x(this,document,Mm,this.aN,this);x(this,document,Lm,this.GW,this)}aN(a){a=a.clientX-this.displayObject().getBoundingClientRect().x;const b=this.pP.width();a=parseFloat(xv(xv(a,0,b)/b,0,1).toFixed(2));isNaN(a)||(this.zu(!1),this.setVolume(a))}GW(){this.qz.C();Ne(this,document,Mm,this.aN,this);Ne(this,document,Lm,this.GW,this)}Lo(){const a= +this.Pn?0:this.Le;L(this.V_,"width",`${Math.round(100*a)}%`);this.La.setVolume(a)}};class jQ extends P{constructor(){super({F:"volume-slider-wrapper"});this.zl=E(this);this.mq=E(this);this.rz=E(this);this.qz=E(this);this.Bd=new iQ;df(this.Bd.pn(),this.zl);df(this.Bd.Xx(),this.mq);df(this.Bd.rz,this.rz);df(this.Bd.qz,this.qz);M(this,this.Bd)}pn(){return this.zl}Xx(){return this.mq}setVolume(a){this.Bd.setVolume(a)}volume(){return this.Bd.volume()}zu(a){this.Bd.zu(a)}muted(){return this.Bd.muted()}} +class kQ extends P{constructor({GS:a}){super();a=this.zn(a.high);M(this,a)}on(a){this.tp();a=this.zn(a);M(this,a)}zn(a){return new P({za:a})}}function lQ(a){const b=a.zL(a.Bd.volume(),a.Bd.muted());a.U_.on(b)} +class mQ extends gQ{constructor({GS:a}){const b=new jQ,c=new kQ({GS:a});super({eaa:c,Kaa:b});this.ZP=a;this.zl=E(this);this.mq=E(this);this.Bd=b;df(this.Bd.pn(),this.zl);df(this.Bd.Xx(),this.mq);this.U_=c;z(this,this.U_.ja,this.P7,this);z(this,this.Bd.rz,this.k6,this);z(this,this.Bd.qz,this.j6,this)}setVolume(a){this.Bd.setVolume(a);lQ(this)}zu(a){this.Bd.zu(a);lQ(this)}pn(){return this.zl}Xx(){return this.mq}P7(){this.zu(!this.Bd.muted())}k6(){this.X("active",!0)}j6(){this.X("active",!1)}zL(a,b){if(0=== +a||b)return this.ZP.qk;if(0=a)return this.ZP.Bba;if(.5=a)return this.ZP.high;throw Error(`incorrect volume ${a}`);}};const nQ=["volume","fullscreen"];function oQ(a){a.U.tp();a.sn.filter(b=>nQ.includes(b.type)).forEach(b=>a.U.O(b.jk));pQ(a)}function qQ(a){a.U.tp();3a.U.O(b.jk));pQ(a)}function pQ(a){a.lT.C(new Map(a.sn.map(b=>[b.type,a.U.tf(b.jk)])))}function rQ(a){var b=3;--b;for(let c=0;c=b);++c)a.U.O(a.sn[c].jk);a.U.O(a.Zv.jk)} +var sQ=class extends wg{constructor(a){super();this.U=a;this.sn=[];this.Zv=null;this.lT=E(this)}get $$(){return this.lT}cQ(a){"more"==a.type?this.Zv=a:this.sn.push(a)}Mg(a){a?oQ(this):qQ(this)}};function tQ(a){const b=new iQ;z(a,b.pn(),c=>a.hc.setVolume(c));return b} +var uQ=class extends P{constructor({oba:a,ga:b,xa:c,soundController:d}){super({F:"more-menu-popup"});this.Rs=new ZP;M(this,this.Rs);this.hc=d;this.Bd=null;this.MJ(a,b,c);z(this,b.og,()=>{this.Rs.my("volume",b.ia("PB_CONTROL_PANEL_VOLUME_CONTROL"));this.Rs.my("replay",b.ia("PB_CONTROL_PANEL_REPLAY"))})}get Pe(){return this.Rs}MJ(a,b,c){a.includes("replay")&&this.Rs.tx({id:"replay",textContent:b.ia("PB_CONTROL_PANEL_REPLAY"),icon:Z(c,"replay")});a.includes("fullscreen")&&this.Rs.tx({id:"fullscreen", +textContent:b.ia("PB_CONTROL_PANEL_FULL_SCREEN"),icon:Z(c,"fullscreen")});a.includes("volume")&&(this.Bd=tQ(this),this.Rs.tx({id:"volume",textContent:b.ia("PB_CONTROL_PANEL_VOLUME_CONTROL"),icon:Z(c,"volume_high"),value:this.Bd}))}};const vQ=["replay","fullscreen","volume"];function wQ(a,b,c){a.hE.cQ({type:c,jk:b})} +function xQ(a){a.Kc||(a.Kc=a.gz());if(!a.nb){if(a.H.Qd&&a.Kc){var b=a.fj.playbackRate();b=yQ(a,Z(a.K,`rate-${b}x`),a.Kc)}else b=null;a.nb=b}a.ms||(a.ms=zQ(a));a.LG||(a.H.sy?(b=a.Ae(Z(a.K,"replay")),z(a,b.ja,a.aX,a)):b=null,a.LG=b);a.Wp||(a.Wp=a.yK());a.hr||(a.hr=AQ(a));b=a.hE;b.sn.splice(0,b.sn.length);a.H.Qd&&a.nb&&wQ(a,a.nb,"rate");a.H.Ll&&a.ms&&wQ(a,a.ms,"cc");a.H.sy&&a.LG&&wQ(a,a.LG,"replay");a.H.zp&&a.Wp&&wQ(a,a.Wp,"fullscreen");a.H.Mr&&a.hr&&wQ(a,a.hr,"volume")} +function zQ(a){if(a.H.Ll){const b=a.Ae(BQ(a));z(a,b.ja,a.d6,a);z(a,a.Ek.Yy,()=>{a.ms&&a.ms.on(BQ(a))});return b}return null}function AQ(a){if(a.H.Mr){const b=new mQ({GS:{qk:Z(a.K,"volume_mute"),Bba:Z(a.K,"volume_middle"),high:Z(a.K,"volume_high")}});Gt(b,O(a,"collapsable-button"));z(a,b.pn(),c=>a.hc.setVolume(c));z(a,b.Xx(),c=>a.hc.qk(c));return B(a,b)}return null}function BQ(a){return a.Ek.kd.visible()?Z(a.K,"cc_on"):Z(a.K,"cc")} +function yQ(a,b,c,d){b=new WP({Y$:{type:"uikit-secondary-button",icon:{Ne:"left",element:b}},wj:a.Ja,Aaa:c,Baa:{jn:"top",align:d}});Gt(b,O(a,"collapsable-button"));return B(a,b)}function CQ(a){var b=a.zL(a.hc.volume(),a.hc.muted());YP(a.Ss.Pe,"volume",b);b=a.Ss;a=a.hc.volume();b.Bd&&b.Bd.setVolume(a)}function DQ(a){const b=jC()?"PB_CONTROL_PANEL_EXIT_FULL_SCREEN":"PB_CONTROL_PANEL_FULL_SCREEN";a.Ss.Pe.my("fullscreen",a.I.ia(b));YP(a.Ss.Pe,"fullscreen",EQ(a))} +function EQ(a){return jC()?Z(a.K,"exit_fullscreen"):Z(a.K,"fullscreen")}function FQ(a){z(a,a.hc.p1(),()=>{a.hr&&a.hr.zu(a.hc.muted())});z(a,a.hc.pn(),()=>{a.hr&&(a.hr.setVolume(a.hc.volume()),CQ(a))})}function GQ(a){z(a,a.fj.Qj,()=>{a.jx();if(a.nb){var b=a.fj.playbackRate();b=Z(a.K,`rate-${b}x`);a.nb.on(b)}})}function HQ(a){z(a,a.Qg.tL,()=>{a.Wp&&(a.Wp.on(EQ(a)),DQ(a))})}function IQ(a){z(a,a.I.og,()=>{DQ(a)})} +class JQ extends P{constructor({settings:a,wj:b,soundController:c,ica:d,ga:e,kk:f,wx:g,xa:h}){super({F:"collapsable-buttons-group"});this.H=a;this.Ja=b;this.hc=c;this.h8=d;this.I=e;this.Qg=f;this.Ek=g;this.K=h;this.hW=!1;this.fj=d.Il();this.hE=new sQ(this);this.LG=this.Wp=this.hr=this.ms=this.nb=this.Kc=null;a=new uQ({oba:vQ,ga:this.I,xa:this.K,soundController:this.hc});z(this,a.Pe.nu(),this.D6,this);this.Ss=a;B(this,this.Ss);this.Zv=yQ(this,Z(this.K,"more"),this.Ss,"left");wQ(this,this.Zv,"more"); +xQ(this);FQ(this);GQ(this);HQ(this);z(this,this.hE.$$,this.b6,this);IQ(this);this.jx();CQ(this);DQ(this)}XR(a){this.hW=a;this.Qa()}Qt(){!this.H.Ll&&this.Ek.kd.visible()&&KQ(this.Ek)}Qa(){this.nb&&this.nb.lo&&VP(this.nb);this.Zv.lo&&VP(this.Zv);this.hE.Mg(this.hW)}yK(){if(this.H.zp&&kC()){const a=this.Ae(Z(this.K,"fullscreen"));z(this,a.ja,this.qT,this);return a}return null}d6(){this.enabled()&&this.ms&&(this.Ek.kd.visible()?KQ(this.Ek):this.Ek.c2())}gz(){if(this.H.Qd){const a=new dQ(this.I,this.K); +z(this,a.nu(),this.pN,this);return a}return null}pN(a){this.fj.wk(Number(a));JP(this.Ja)}jx(){this.Kc&&this.Kc.$I(this.fj.playbackRate())}D6(a){switch(a){case "replay":JP(this.Ja);this.aX();break;case "fullscreen":this.qT()}}zL(a,b){if(0===a||b)return Z(this.K,"volume_mute");if(0=a)return Z(this.K,"volume_middle");if(.5=a)return Z(this.K,"volume_high");throw Error(`incorrect volume ${a}`);}Ae(a){a=new iM({type:"uikit-secondary-button",icon:{Ne:"left",element:a}});Gt(a,O(this,"collapsable-button")); +return B(this,a)}b6(a){(new Map(vQ.map(b=>[b,a.has(b)?!a.get(b):!1]))).forEach((b,c)=>this.Ss.Pe.X1(c,b))}qT(){kC()&&(jC()?iC():hC())}aX(){this.enabled()&&this.h8.JR()}};class LQ extends HP{PR(a,b){const c=this.content();b/=a;c&&c.Wc(b);this.Wc(b);this.xb();wn(this.displayObject(),a)}};class MQ extends LQ{constructor(a,b){super(a);this.fc=b;this.ky(this.fc)}G1(){var a=this.fc.ht;a.Ko&&sP(a.Ko)}};function NQ(a){if(a.Ul.showOutline){const b=new TP({xa:a.K,wj:a.Ja});Gt(b,O(a,"outline-button"));z(a,b.AY,a.NO,a);a.fc=new EP({Fu:!1,Gu:!0,rk:a.sg,xa:a.K,ga:a.I,V:a.B,slides:a.M});a.mG=new MQ(b.displayObject(),a.fc);a.mG.X("outline-popup",!0);IP(a.Ja,a.mG);return b}return null}function OQ(a){return PQ(a)?new JQ({settings:a.Ul,wj:a.Ja,soundController:a.hc,ica:a.B,ga:a.I,kk:a.Qg,wx:a.Ek,xa:a.K}):null}function PQ(a){return a.Ul.sy||a.Ul.Mr||a.Ul.Ll||a.Ul.Qd||a.Ul.zp} +class QQ extends P{constructor({jaa:a,rk:b,wj:c,ga:d,xa:e,V:f,slides:g,kk:h,soundController:l,wx:n}){super({F:"play-controls-container"});this.Ul=a;this.B=f;this.Ja=c;this.I=d;this.K=e;this.M=g;this.Qg=h;this.hc=l;this.Ek=n;this.sg=b;this.Eq=this.mG=this.fc=null;this.Yk=NQ(this);this.hb=this.qv();this.Jh=OQ(this);this.Yk&&M(this,this.Yk);this.hb&&M(this,this.hb);this.Jh&&M(this,this.Jh)}eJ(a){this.mG&&this.fc&&this.fc.resize(void 0,a)}qa(a){this.Jh&&this.Jh.qa(a)}XR(a){this.hb&&this.hb.J(!a);this.Jh&& +this.Jh.XR(a)}Qa(){var a=this.Ul.xf;a&&!this.hb&&(this.hb=this.qv())&&M(this,this.hb,this.fm("playButton"));this.hb&&this.hb.J(a);(a=this.Ul.showOutline)&&!this.Yk&&(this.Yk=NQ(this))&&M(this,this.Yk,this.fm("outlineButton"));this.Yk&&this.Yk.J(a);PQ(this)&&!this.Jh&&(this.Jh=OQ(this))&&M(this,this.Jh,this.fm("collapsableButtons"));this.Jh&&(a=this.Jh,xQ(a),a.Qa(),a.Qt(),a.jx(),CQ(a),DQ(a))}fm(a){const b=[this.Yk,this.hb,this.Jh].filter(c=>c);switch(a){case "outlineButton":return b.indexOf(this.Yk); +case "playButton":return b.indexOf(this.hb);case "collapsableButtons":return b.indexOf(this.Jh);default:return-1}}qv(){if(this.Ul.xf){const a=new UP({xa:this.K,V:this.B,slides:this.M});Gt(a,O(this,"play-pause-button"));return a}return null}NO(a){OP(this.Ja,a,this.Yk.displayObject())}};function RQ(a){let b=!1,c=!1,d=!1;for(let e=0;e=a?"":b.I.ia("PB_CONTROL_PANEL_NEXT"),b.gb.ha(a))}}$y(){var a=this.H.visible&&(this.H.Re||this.H.yf||this.H.Hu);return this.Lz||a?(a=new CO({ga:this.I,V:this.B,xa:this.K,settings:this.H,rJ:this.M.Cp()}),Gt(a,O(this,"navigation-controls")),a):null}Qa(){TQ(this);UQ(this)}io(){var a=this.B.fb();const b=this.B.tb();a=!!a||!!b;UQ(this);this.Df&&this.Df.XR(a);this.Df&&(a=this.Df,a.Eq&&KP(a.Ja,a.Eq.relativeElement),a.Eq=null)}};class WQ extends P{constructor({Yb:a,ka:b}){super({Yb:a,ka:b});this.VK=!1;x(this,this.displayObject(),he,()=>{this.VK&&this.J(!1)})}show(){this.J(!0);this.VK=!1;requestAnimationFrame(()=>{Ft(this,{opacity:1})})}Uc(){this.VK=!0;requestAnimationFrame(()=>{Ft(this,{opacity:0})})}} +class XQ extends P{constructor(){super({F:"progress-tooltip"});this.Pv=0;this.rP=this.tH=!1;var a=new WQ({Yb:"img",ka:O(this,"thumbnail-tooltip")});a.Uc();this.ex=a;M(this,this.ex);a=new WQ({ka:O(this,"timing-tooltip")});a.Uc();this.gx=a;M(this,this.gx)}show(){this.tH&&this.ex.show();this.rP&&this.gx.show()}Uc(){this.ex&&this.ex.Uc();this.gx&&this.gx.Uc()}};function YQ(a,b,c,d,e){if(2!=b.length||2!=c.length)throw Error("Start and end points must be 2D");RC.call(this,null,b,c,d,e);this.Y8=a}r(YQ,RC);YQ.prototype.Bp=function(){this.Y8(this.coords[0],this.coords[1])};function ZQ(a){const b=d=>1-Math.pow(1-d,2),c=d=>{a.ra=d;a.Nf()};Gi(()=>{var d=6/a.height(),e=new YQ(c,[d,d],[1,1],200,b);const f=new XC(a.displayObject(),200);a.Kt=new GP;a.Kt.add(e);a.Kt.add(f);d=new YQ(c,[1,1],[d,d],400,b);e=new WC(a.displayObject(),400);a.Lt=new GP;a.Lt.add(d);a.Lt.add(e)},a)} +class $Q extends P{constructor(a){super();this.QM=0;this.ra=1;this.Io=this.Lt=this.Kt=null;(Ii||sj)&&a||this.Rf(0);sj||(ZQ(this),this.Io=new jh(500),this.Io.Fl("tick",this.x7,!1,this))}offset(){return this.QM}qa(a){Ii&&!sj?a?this.show():this.Uc():sj&&this.Rf(a?1:0)}show(){this.Io&&this.Lt&&this.Kt&&(this.Io.enabled?this.Io.stop():(this.Lt.stop(),1!=Dh(this.displayObject(),"opacity")&&this.Kt.play()))}Uc(){var a;if(a=this.Io)a=Sh(this.displayObject()),a=0!==("number"===typeof a?a:1);a&&this.Io.start()}Nf(){const a= +new gm;a.translate(this.QM,0);a.scale(this.ra,this.ra);on(this.displayObject(),a)}x7(){this.Io&&this.Lt&&this.Kt&&(this.Io.stop(),this.Kt.stop(),this.Lt.play())}};function bR(a){a=a.toString();1==a.length&&(a="0"+a);return a};class qR extends wg{constructor(a){super();this.S3=a;this.gM=!1;this.QY=E(this);this.lW=E(this);this.PY=E(this);a.forEach(b=>{x(this,b,"mouseover",this.sq,this);x(this,b,Mm,this.XF,this);x(this,b,"mouseout",this.km,this)},this)}sq(a){this.gM||(this.gM=!0,this.QY.C(a))}XF(a){this.lW.C(a)}km(a){-1==Ia(this.S3,a.relatedTarget)&&(this.gM=!1,this.PY.C(a))}};function BR(a,b){Ii||(b?(z(a,a.NG.QY,a.Z6,a),z(a,a.NG.lW,a.G6,a),z(a,a.NG.PY,a.Y6,a)):a.ks(a.NG))}function CR(a){L(a,"cursor",a.rB?"pointer":"default")}function FR(a){return a.B.fa().sb().duration()}function GR(a,b){const c=a.displayObject().getBoundingClientRect();a=Lh(b,a.displayObject());return Vc(a.x/c.width,0,1)}function HR(a,b){b=a.M.Xo(b*a.M.Pu(),!1,!0);a=a.M.la(b.L());return VO(a)} +function IR(a,b){b=b.target===a.La.displayObject()?a.La.offset():b.offsetX;var c=a.width(),d=b/c;a.H.mode===TL&&JR(a,d);if(a.H.Lr){d="slideTimeline"===a.H.mode?d*FR(a):d*a.M.Pu();d=Math.round(d);if(3600<=d){const e=Math.floor(d/3600);d-=3600*e;d=e+":"+bR(Math.floor(d/60))+":"+bR(d%60)}else d=Math.floor(d/60)+":"+bR(d%60);a.Cq.gx.ha(d)}a=a.Cq;a.Pv=b-a.width()/2;d=a.tH?a.ex.width():a.gx.width();c-=b+d/2;b-=d/2;0>c&&(a.Pv-=Math.abs(c));0>b&&(a.Pv+=Math.abs(b));L(a,"left",`${a.Pv}px`)} +function JR(a,b){HR(a,b).then(c=>{c=c.url();a.Cq.ex.setAttribute("src",c)})} +class KR extends P{constructor({settings:a,slides:b,V:c}){super({F:"progressbar",zf:!0});this.M=b;this.B=c;this.H=a;this.An=0;this.rB=this.H.enabled;this.PK=null;this.qY=E(this);this.rY=E(this);this.pY=E(this);this.pe=new P({ka:O(this,"progress")});this.NK=new P({ka:O(this,"progress-background")});a=new $Q(this.rB);Gt(a,O(this,"thumb"));this.La=a;a=new XQ;a.tH=this.H.mode===TL;a.rP=this.H.Lr;Gt(a,O(this,"progress-tooltip"));this.Cq=a;this.NG=new qR([this.pe.displayObject(),this.NK.displayObject(), +this.La.displayObject()]);M(this,this.pe);M(this,this.La);M(this,this.Cq);M(this.pe,this.NK);BR(this,this.H.enabled);x(this,this.pe.displayObject(),Km,this.rw,this,Nm);x(this,this.La.displayObject(),Km,this.rw,this,Nm);z(this,this.H.pb,this.sN,this);CR(this)}Lg(a){this.width()&&(this.An=xv(a,0,1),this.xb())}progress(){return this.An}finished(){return 1===Vc(this.An,0,1)}Qa(a,b){super.Qa(a,b);a*=this.An;this.NK.Kb(a);b=this.La;b.QM=a;b.Nf()}sN(){const a=(this.rB=this.H.enabled)&&this.H.Lr;this.Cq.tH= +this.H.enabled&&this.H.mode===TL;this.Cq.rP=a;this.H.enabled||wn(this.pe.displayObject(),1,1);this.H.enabled?this.La.qa(!0):this.La.Uc();CR(this);BR(this,this.rB)}rw(a){this.rB&&this.enabled()&&(x(this,document,Mm,this.XF,this),x(this,document,Lm,this.YF,this),this.Lg(GR(this,a)),this.rY.C())}XF(a){this.Lg(GR(this,a));this.qY.C()}YF(a){Ne(this,document,Mm,this.XF,this);Ne(this,document,Lm,this.YF,this);this.Lg(GR(this,a));this.pY.C();if(Ii)return yn(this.displayObject())}Z6(a){clearTimeout(this.PK); +this.H.enabled&&(IR(this,a),this.Cq.show());this.La.show();a=6/this.height();wn(this.pe.displayObject(),1,a)}G6(a){this.H.enabled&&IR(this,a)}Y6(){clearTimeout(this.PK);this.La.Uc();this.PK=setTimeout(()=>{this.Cq.Uc();wn(this.pe.displayObject(),1,1)},400)}};function LR(a,b){if(-1!==a.B.ma()){var c=b&&a.om;a.AO.C(!0);var d=a.va.progress();"slideTimeline"===a.uH?(b=a.B.fa(),d*=FR(a),d=b.Xo(d,!1),a.B.lk(d.L(),d.Ba(),d.ib(),c)):(d*=a.M.Pu(),d=a.M.Xo(d,!1,!0),(b||"slide"===a.M.la(d.L()).type())&&a.B.lk(d.L(),d.Ba(),d.ib(),c));if(c=a.B.nf("presentationSeeking",d.L(),d)){c=c.rd().Pd();if(null==c)return;d=a.M.la(c).sb();b=d.count()-1;d=d.sc(b).duration();a.B.lk(c,b,d,!1)}a.AO.C(!1)}} +function MR(a){var b=a.B.$().timestamp();a=a.B.fa().sb();b=0<=b.Ba()?a.getTime(b.Ba(),b.ib()):0;a=a.duration();return 0{LR(this,!1)},100)}sN(){this.uH=this.gj.mode;this.gk()}Ab(){if(!this.bB&&this.va){const a=-1===this.B.$().timestamp().Ba()&&!!this.va.An,b=this.va.finished()&&MR(this)*FR(this)===FR(this);a||b||this.gk()}}gk(){if("slideTimeline"===this.uH)-1!==this.B.ma()&&this.va.Lg(MR(this));else{var a=this.B.$().timestamp();a=this.M.ti(a,!1,!0);this.va.Lg(a/this.M.Pu())}}Uz(){var a=this.B.nf("slideTimeline"===this.uH?"slideSeeking":"presentationSeeking"); +zO(this.va.displayObject(),a)}};class OR{constructor(a){this.Hc=a}animate(a){this.Hc.Rf(a[0]);wn(this.Hc.displayObject(),a[1])}}function PR(a){a.ob=new xO;a.ob.J(!1);yi(a.ob.displayObject(),"left top");vO(a.ob,a.D.Tr().view());const b=a.G.qd().Vf();for(let c=0;c{a.ob.removeChild(b)},a);return c} +class RR extends wg{constructor({kc:a,xa:b,controlPanel:c,oca:d}){super();this.D=a;this.K=b;this.ub=c;this.um=d;this.G=this.D.Ca();this.B=this.D.view().V();this.rc=this.D.view().Cd();this.ls=null;this.Ph=void 0;this.hf=!1;this.ww=null;this.$T=!1;this.Gb=void 0;this.QP=E(this);PR(this);this.um&&z(this,this.um.AO,e=>{this.$T=e})}invalidate(){const a=this.uL();void 0!==a?(this.hf=!0,wO(this.ob,a.width(),a.height())):this.hf=!1}vX(){const a=this.rc;a.$().Kg()?a.pause():a.play()}EW(a){if(!this.$T){var b= +this.ls;this.ls=a.state();a="started"==this.ls||"buffering"==this.ls;if("suspended"!=b&&"suspended"!=this.ls&&"rewinding"!=this.ls&&(!b||("started"==b||"buffering"==b)!=a)){a=!a;this.ww&&1==this.ww.Yc&&this.ww.stop(!0);b=new P;a?b.O(Z(this.K,"btn_pause_big.svg")):b.O(Z(this.K,"btn_play_big.svg"));b.resize(104,76);L(b,"position","absolute");L(b,"pointer-events","none");var c=this.ob;a=(c.width()-b.width())/2;c=(c.height()-b.height())/2;b.move(a,c);this.ob.O(b);Ue(this,this.ww);this.ww=QR(this,b);this.ww.play()}}}uL(){let a= +this.Ph;const b=this.G.qd().Vf();if(!a)for(let c=0;c=this.B.ma()){a=d;break}}return a}N6(a){"activated"==a.playbackState()?this.Ph!=a&&(this.Ph=a,wO(this.ob,a.width(),a.height()),this.QP.C()):"deactivated"==a.playbackState()&&(this.Ph=void 0,this.QP.C())}video(){return this.ob}};function SR(a,b,c){const d=new P({ka:O(a,"link"),Yb:"A",jI:!0,OI:!1});d.setAttribute("target","_blank");d.setAttribute("data-tooltip",c);a=new P({ka:O(a,"link-icon"),za:b});M(d,a);return d}function TR(a){const b=a.Dk.displayObject().offsetHeight;a.ua.Ci(b,b)}function UR(a){const b=new P({ka:O(a,"show-more")});b.ha(a.I.ia(a.Ho.GQ));z(a,b.ja,()=>VR(a));return b}function VR(a){var b=!a.Qm();a.Dk.X("collapsed",!b);a.Qm()?a.Lq.ha(a.I.ia(a.Ho.y0)):a.Lq.ha(a.I.ia(a.Ho.GQ));a.tU.C();WR(a)} +function WR(a){a.Qm()?(a.ua.Ci(a.Dk.height(),a.aE.height()),a.ua.Tx()):TR(a)} +class YR extends P{constructor(a,b,c){super({F:"presenter-info",zf:!0});this.I=a;this.Ho={L0:"PB_PRESENTER_EMAIL",G2:"PB_PRESENTER_WEBSITE",y0:"PB_PRESENTER_COLLAPSE_BIO",GQ:"PB_PRESENTER_EXPAND_BIO"};this.YG=c;this.X("popup",this.YG);this.Ub=null;this.Ga=new P({ka:O(this,"main")});M(this,this.Ga);this.pt=new P({ka:O(this,"photo")});M(this.Ga,this.pt);c=new P({ka:O(this,"info")});M(this.Ga,c);this.$h=new yO({ka:O(this,"name")});M(c,this.$h);const d=new yO({ka:O(this,"job")});$g&&L(d,"line-height", +"20px");this.jM=d;M(c,this.jM);this.lt=new P({ka:O(this,"phone"),Yb:Ii?"A":"DIV",jI:!0,OI:!Ii});M(c,this.lt);this.mA=new P({ka:O(this,"links")});M(c,this.mA);this.Zl=SR(this,Z(b,"mail-link"),this.I.ia(this.Ho.L0));B(this,this.Zl);this.Xt=SR(this,Z(b,"external-link"),this.I.ia(this.Ho.G2));B(this,this.Xt);this.Dk=new P({F:"bio-container"});M(this,this.Dk);b=new P({F:"scroll-area"});M(this.Dk,b);this.aE=new P({ka:O(b,"bio")});M(b,this.aE);this.ua=new wM({Gr:b});this.Dk.O(this.ua.jk());TR(this);this.YG|| +this.Dk.X("collapsed",!0);this.Lq=UR(this);M(this,this.Lq);this.J(!1);this.tU=E(this);this.R5=E(this);this.oL=!0;z(this,this.pt.Qe(),this.R5.C,this);z(this,a.og,this.Eg,this)}Qm(){return!this.Dk.OC("collapsed")}nD(a){this.Ub!=a&&((this.Ub=a)?(this.J(!0),a=this.Ub.Cr(),this.X("no-photo",!a),this.pt.J(!!a),this.pt.tp(),a&&(a.uf()?this.SU(a):(a.load(),z(this,a.Ar(),this.SU,this))),a=this.Ub.name(),this.$h.J(!!a),a&&this.$h.ha(a),a=this.Ub.ip(),this.jM.J(!!a),a&&this.jM.ha(a),a=this.Ub.phone(),this.lt.J(!!a), +a&&(this.lt.ha(a),this.lt.setAttribute("href",`tel:${a}`)),(a=this.Ub.email())?(this.Zl.setAttribute("href",`mailto:${a}`),this.Zl.setAttribute("title",a),this.mA.O(this.Zl)):this.mA.removeChild(this.Zl),(a=this.Ub.td())?(this.Xt.setAttribute("href",a),this.Xt.setAttribute("title",a),this.mA.O(this.Xt)):this.mA.removeChild(this.Xt),a=this.Ub.Nm(),this.Dk.J(!!a),a&&this.aE.ha(a),this.oL=!0,this.YG?this.Lq.J(!1):(this.Lq.J(this.Dk.visible()),!this.Dk.visible()&&this.Qm()&&VR(this)),this.ua.li.ny(0), +WR(this)):this.J(!1))}SU(a){const b=a.width(),c=a.height();L(this.pt,"background-image",Pi(a.path()));bc.offsetHeight);this.oL=!1}WR(this)}}Eg(a){switch(a){case this.Ho.y0:this.Qm()&&this.Lq.ha(this.I.ia(a));break;case this.Ho.GQ:this.Qm()||this.Lq.ha(this.I.ia(a)); +break;case this.Ho.L0:this.Zl&&this.Zl.setAttribute("data-tooltip",this.I.ia(a));break;case this.Ho.G2:this.Xt&&this.Xt.setAttribute("data-tooltip",this.I.ia(a))}}};class ZR extends P{constructor(){super({F:"logo"});this.jq=280;this.uM=this.Cf=this.Cb=null;E(this)}yu(a){this.Cb!=a&&(this.X("has-logo",!1),this.Cb&&Ue(this,this.Cb.logo(),this.Cb),(this.Cb=a)?(z(this,this.Cb.vM,this.eC,this),this.eC()):this.cN(null))}eC(){if(this.Cb){var a=this.Cb.logo();a.uf()?this.cN(a):(a.load(),z(this,a.Ar(),this.cN,this))}}cN(a){a?(Cd(this.displayObject()),this.Cf=new P({Yb:"A"}),this.Cb&&this.Cb.td()&&""!=this.Cb.td()?(this.Cf.setAttribute("href",this.Cb.td()),this.Cf.setAttribute("target", +"_blank"),this.Cf.setAttribute("title",this.Cb.td())):(this.Cf.removeAttribute("title"),this.Cf.removeAttribute("href"),this.Cf.removeAttribute("target")),this.uM=a.CC(),this.O(this.Cf),this.Cf.O(this.uM),this.X("has-logo",!0)):this.Cf&&(this.removeChild(this.Cf),this.uM=null)}};function $R(a){const b=new ZC({ka:O(a,"maximized")}),c=new P({za:Z(a.K,"video_maximize")});M(b,c);b.X("at-left",a.Ua.he);b.Rf(0);z(a,b.ja,()=>a.dN.C());return b}function aS(a){if(a.Ua.sd){const b=new ZR;z(a,a.G.qK,a.fZ,a);z(a,b.Qe(),()=>{bS(a)});a.Me(b,0);return b}return null} +function cS(a){if(a.Ua.hh){const b=new YR(a.I,a.K,!1);Gt(b,O(a,"presenter-info"));b.J(!1);z(a,b.tU,()=>{if(a.Rc&&a.Rc.visible())if(a.Rc.Qm()){var c=Zh(a.displayObject());c=a.height()-a.Rc.y()-c.bottom;L(a.Rc,"max-height",`${c}px`)}else L(a.Rc,"max-height","");a.xb()});return b}return null}function dS(a){return a.Ua.showOutline||a.Ua.ye?new EP({Gu:a.Ua.showOutline,Fu:a.Ua.ye,rk:a.sg,V:a.B,slides:a.G.slides(),xa:a.K,ga:a.I}):null} +function bS(a){if(a.ic){var b=Zh(a.displayObject());b=a.fc?Math.max(.2*a.height(),156)+b.bottom:0;b=a.height()-b;if(!a.ud||0>=a.ud.height())var c=0;else c=$h(a.ud.displayObject()),c=a.ud.height()+c.top+c.bottom;b-=c;a.ic.Jl(a.width(),b)}}function eS(a){let b=Sh(a.kq.displayObject());"number"!==typeof b&&(b=0);a.xU=new TC(a.kq.displayObject(),b,0,250,c=>Math.max(0,250*c)/250);a.xU.play()} +function fS(a){a.Rc&&(a.ic?a.tf(a.Rc)&&a.removeChild(a.Rc):a.ud?Dd(a.Rc.displayObject(),a.ud.displayObject()):a.Me(a.Rc,0))} +function gS(a,b){a.HH&&a.HH&&a.tf(a.HH.displayObject())&&a.removeChild(a.HH.displayObject());a.ic&&a.ic&&(a.tf(a.ic.displayObject())&&a.removeChild(a.ic.displayObject()),a.ic.removeChild(a.kq),a.ic.removeChild(a.JE),Ne(a,a.ic.displayObject(),"mouseover",a.sq,a),Ne(a,a.ic.displayObject(),"mouseout",a.km,a));a.ic=b;a.ic&&(a.ud?Dd(a.ic.displayObject(),a.ud.displayObject()):a.Me(a.ic.displayObject(),0),x(a,a.ic.displayObject(),"mouseover",a.sq,a),x(a,a.ic.displayObject(),"mouseout",a.km,a),a.ic.O(a.kq), +a.ic.O(a.JE));bS(a);fS(a);a.xb()} +class hS extends P{constructor(a,b,c,d,e,f=!0){super({F:"universal-side-panel",Yb:"ASIDE"});this.G=b;this.B=c;this.I=d;this.K=e;this.Ua=a.Aa.Xc;this.sg=a.outline;this.xU=this.wU=void 0;this.ra=1;this.ic=void 0;this.HH=null;this.vZ=f;this.kq=$R(this);B(this,this.kq);this.JE=new P({F:"float-panel-overlay"});B(this,this.JE);(this.ud=aS(this))&&B(this,this.ud);(this.Rc=cS(this))&&B(this,this.Rc);(this.fc=dS(this))&&M(this,this.fc);this.dN=E(this);this.wZ=E(this);z(this,this.B.vc(),this.oe,this);z(this, +this.Ua.pb,this.i$,this);this.oe()}show(a){this.vZ=a;L(this,"transition","margin 300ms ease-in-out");Gi(()=>L(this,"transition",""),this,300);this.wZ.C()}showed(){return this.vZ}showedStateChanged(){return this.wZ}setScale(a,b){this.ra=a;super.setScale(a,b)}J(a){this.visible()!=a&&(super.J(a),a&&this.xb())}qa(a){super.qa(a);this.fc&&this.fc.qa(a)}i$(){this.Ua.sd?this.ud||(this.ud=aS(this),B(this,this.ud)):this.ud&&(this.removeChild(this.ud.displayObject()),Se(this,this.ud),this.ud=null);this.Ua.hh? +this.Rc||(this.Rc=cS(this),B(this,this.Rc)):this.Rc&&(this.removeChild(this.Rc.displayObject()),Se(this,this.Rc),this.Rc=null);var a=this.Ua.showOutline,b=this.Ua.ye;if(a||b)if(this.fc){this.fc.fS(a);this.fc.eS(b);a=this.fc;if(a.Vb||a.zd)if(a.Yi){a.Yi.fS(a.Vb);a.Yi.eS(a.zd);b=a.Yi;if(b.Vb&&b.zd)b.Jc||(b.Jc=b.Np(),b.Jc&&M(b,b.Jc,0)),b.fl&&(Se(b,b.fl),b.fl=null);else if(b.Vb||b.zd)b.fl||(b.fl=HO(b),b.fl&&M(b,b.fl,0)),b.Jc&&(Se(b,b.Jc),b.Jc=null);b.B_()}else a.Yi=CP(a),a.Yi&&M(a,a.Yi);else Se(a,a.Yi), +a.Yi=null;a.zd?(a.Ws||DP(a),a.X("mode","notes"),a.LF.xb()):a.Ws&&(Se(a,a.Ws),a.Ws=null);a.Vb?(a.it||a.ez(),a.X("mode","outline")):a.it&&(Se(a,a.it),a.it=null)}else(this.fc=dS(this))&&M(this,this.fc);else Se(this,this.fc),this.fc=null;this.oe()}sq(a){a.relatedTarget&&Md(this.ic.displayObject(),a.relatedTarget)||(a=Sh(this.kq.displayObject()),"number"!==typeof a&&(a=0),this.wU=new TC(this.kq.displayObject(),a,1,150),this.wU.play())}km(a){a.relatedTarget&&Md(this.ic.displayObject(),a.relatedTarget)|| +eS(this)}oe(){-1!=this.B.ma()&&(fS(this),this.GP(),this.fZ(),this.xb())}fZ(){if(this.ud&&-1!=this.B.ma()){var a=this.B.fa().Qf();a?(a=a.Zd())&&a.logo()?this.ud.yu(a):this.uB():this.uB()}}uB(){const a=this.G.Zd();a&&a.logo()?this.ud.yu(a):this.ud.yu(null)}GP(){if(this.Rc&&-1!=this.B.ma()){var a=this.B.fa();this.Rc.nD(a.Qf())}}Qa(){if(this.visible()){var a=!!this.ud&&this.ud.visible(),b=!!this.Rc&&this.Rc.visible(),c=!!this.fc&&this.fc.visible(),d=!!this.ic&&!!this.tf(this.ic.displayObject());a&&this.ud.X("with-delimiter", +b||!b&&!d&&c);b&&this.Rc.X("with-delimiter",c);this.Rc&&this.Rc.xb()}}vd(){super.vd();Fd(this.JE.displayObject());Fd(this.kq.displayObject())}};function iS({sd:a,fa:b,Ca:c,Qf:d}){const e=d&&d.Zd(),f=e&&e.logo(),g=(c=c.Zd())&&c.logo();return a&&(!!b&&!!d&&!!e&&!!f||!!c&&!!g)}function jS({V:a,Ap:b,Ca:c,CD:d}){let e=null;0<=a.ma()&&(e=a.fa());a=e&&e.Qf();c=iS({sd:b.sd,Qf:a,Ca:c,fa:e});return!!(b.ye||b.showOutline||c||b.hh&&e&&a||d&&d.hf)};function kS(a,b){a.Gb=b;b=a.Fg;b.Gb=a.Gb;a=b.B.$().Ec();const c=b.ob.displayObject();Ne(b,c,Km,b.vX,b);Pe(b,a,b.EW,b);"MaximizedVideo"==b.Gb&&(x(b,c,Km,b.vX,b),b.ls=null,z(b,a,b.EW,b))}function lS(a,b){const c=a.G.slides().la(b).jp();let d;for(let e=0;e{this.x_()});Gt(a,O(this,"button"));L(a,"padding","9px 10px");z(this,a.ja,()=>{this.Fb.show(!this.Fb.showed())});return a}};function tS(a){return(a=a.B.Oa())?a.skin().controlPanel().displayObject():null} +class uS extends wg{constructor({V:a,u2:b,A0:c}){super();this.B=a;this.g8=this.tv=c;this.l8=this.us=b;z(this,a.vc(),this.I9,this);this.JX=E(this)}I9(){var a,b=this.B.Oa();(a=(b=b&&b.skin().topPanel())?b.displayObject():null)&&F(a,"height",`${this.us.offsetHeight}px`);(b=tS(this))&&F(b,"height",`${this.tv.offsetHeight}px`);b=!1;a=a||this.l8;a!=this.us&&(Gd(a,this.us),this.us=a,b=!0);a=tS(this)||this.g8;a!=this.tv&&(Gd(a,this.tv),this.tv=a,b=!0);b&&this.JX.C()}};function vS(a,b){switch(b){case "pen":return Z(a.K,"marker_pen");case "highlighter":return Z(a.K,"marker_highlighter");case "eraser":return Z(a.K,"marker_eraser");default:return null}} +class wS extends P{constructor({type:a,ga:b,Jg:c,xa:d}){super({F:"marker-panel-button",tabIndex:0});this.K=d;this.X("mobile",Ii);this.X("type",a);a=this.zn(a);d=new P({ka:O(this,"text")});It(d,b,c);a&&M(this,a);M(this,d)}zn(a){var b=vS(this,a);if(!b)return null;a=new P({F:"item-icon"});Gt(a,O(this,"item-icon"));b=new P({ka:O(a,"item-icon-image"),za:b});M(a,b);return a}} +function xS(a,b,c){c=new wS({type:b,ga:a.I,Jg:c,xa:a.K});z(a,c.ja,()=>a.rq(b),a);x(a,c.displayObject(),"keydown",d=>{if(13==d.keyCode||32==d.keyCode)a.rq(b),d.stopPropagation(),d.preventDefault()},a);M(a,c);return c}function yS(a,b){a.nU=b;a.Xf.has("endDrawing")&&a.Xf.get("endDrawing").qa(b)} +class zS extends P{constructor(a,b){super({F:"marker-panel"});this.Xf=new Map;this.qU=this.nU=!0;this.k_=E(this);this.rU=E(this);this.Cz=[];this.I=a;this.K=b}open(){for(const a of this.Xf.values())a&&Se(this,a);this.tp();this.AK();this.Cz=[]}AK(){var a=xS(this,"pen","PB_DRAWING_TOOLS_PEN");this.Xf.set("pen",a);a=xS(this,"highlighter","PB_DRAWING_TOOLS_HIGHLIGHTER");this.Xf.set("highlighter",a);a=xS(this,"eraser","PB_DRAWING_TOOLS_ERASER");this.Xf.set("eraser",a);a=new P({ka:O(this,"separator")}); +this.O(a);a=xS(this,"eraseAll","PB_DRAWING_TOOLS_ERASE_ALL");this.Xf.set("eraseAll",a);a.qa(this.qU);a=xS(this,"endDrawing","PB_DRAWING_TOOLS_END_DRAWING");this.Xf.set("endDrawing",a);a.qa(this.nU)}rq(a){(a={pen:"line",highlighter:"marker",eraser:"eraser",endDrawing:"nothing"}[a])?this.k_.C(a):this.rU.C()}freeze(){this.Cz=[];for(const a of this.Xf.values())a.enabled()&&(a.qa(!1),this.Cz.push(a))}};class AS extends EO{constructor({F:a,V:b}){super({F:a,V:b});this.N_=16}};class BS extends LQ{constructor(a,b){super(a);this.nq=b;L(this.nq,"height","100%");this.ky(this.nq)}};const CS={markerTools:"PB_TITLE_PANEL_MARKER_TOOLS",attachments:"PB_TITLE_PANEL_ATTACHMENTS",marker:"PB_DRAWING_TOOLS_PEN",highlighter:"PB_DRAWING_TOOLS_HIGHLIGHTER",eraser:"PB_DRAWING_TOOLS_ERASER",presenterInfo:"PB_TITLE_PANEL_PRESENTER_INFO",notes:"PB_TITLE_PANEL_NOTES",outline:"PB_TITLE_PANEL_OUTLINE"};function DS(a,b,c,d){b&&(a=d?"":a.I.ia(CS[c]),b.ha(a))}function ES(a){a.buttons().forEach(b=>b.Dc(!1))} +function FS(a,{xba:b,Mba:c,jca:d,P$:e}){var f=a.yd;f&&f.qa(b);(b=a.Vj)&&b.qa(c);(c=a.xm)&&c.qa(d);(a=a.kl)&&a.qa(e)} +class GS extends P{constructor({settings:a,xa:b,ga:c}){super({F:"buttons-container"});this.K=b;this.I=c;this.mZ=E(this);this.pZ=E(this);this.tZ=E(this);this.qZ=E(this);this.rZ=E(this);this.ml=this.Vj=this.xm=this.yd=this.kl=null;this.tn={};this.H=a;this.Nw="nothing";a=Z(b,"attachments_button_icon");const d=Z(b,"marker_panel_button_icon"),e=Z(b,"presenter_info_button_icon"),f=Z(b,"notes_button_icon");b=Z(b,"outline_button_icon");this.tn.attachments={icon:a,label:c.ia("PB_TITLE_PANEL_ATTACHMENTS")}; +this.tn.markerTools={icon:d,label:c.ia("PB_TITLE_PANEL_MARKER_TOOLS")};this.tn.marker={icon:d,label:c.ia("PB_DRAWING_TOOLS_PEN")};this.tn.highlighter={icon:d,label:c.ia("PB_DRAWING_TOOLS_HIGHLIGHTER")};this.tn.eraser={icon:d,label:c.ia("PB_DRAWING_TOOLS_ERASER")};this.tn.presenterInfo={icon:e,label:c.ia("PB_TITLE_PANEL_PRESENTER_INFO")};this.tn.notes={icon:f,label:c.ia("PB_TITLE_PANEL_NOTES")};this.tn.outline={icon:b,label:c.ia("PB_TITLE_PANEL_OUTLINE")};this.nv();z(this,this.I.og,this.DP,this)}buttons(){return[this.kl, +this.yd,this.xm,this.Vj,this.ml].filter(a=>!!a)}invalidate(){Se(this,this.yd);Se(this,this.Vj);Se(this,this.xm);Se(this,this.kl);Se(this,this.ml);this.nv()}nv(){if(this.H.visible){var a=this.H.buttonsOrder;for(let b=0;bc);switch(a){case "logo":return b.indexOf(this.le);case "courseTitle":return b.indexOf(this.Mh);default:return-1}}eC(){if(this.Cb){var a=this.Cb.logo();a&&(a.uf()?this.UW(a):(a.load(),z(this,a.Ar(),this.UW,this)))}}uB(){const a=this.G.Zd(),b=a&&a.logo();a&&b?(this.le&&this.le.J(!0),this.Cb!=a&&OS(this,a)):(this.Cb=null,this.le&&(this.le.J(!1),HS(this.le)))}UW(a){if(this.le){var b=this.le;b.hm.tp();const c=a.CC();b.hm.O(c);const d=Ni?a.width():c.width;a=Ni?a.height():c.height; +b=Math.min(1,Math.min(b.jq/d,b.Wk/a));Nh(c,d*b,a*b)}}};function QS(a){const b=new GS({parent:a,settings:a.Qb,xa:a.K,ga:a.I});Gt(b,O(a,"container"));var c=0!=a.G.resources().Ai().count(),d=b.kl;d&&d.qa(c);z(a,b.tZ,a.xo,a);z(a,b.mZ,a.xB,a);z(a,b.rZ,a.Vb,a);z(a,b.qZ,a.zd,a);z(a,b.pZ,a.d9,a);return b}function RS(a){return a.Ed.Vj?new AS({F:"notes-popup",V:a.B}):null}function SS(a){a=new MQ(a.Ed.ml.displayObject(),a.fc);a.X("outline-popup",!0);return a} +function TS(a){if(a.Ed.yd){const b=new zS(a.I,a.K);yS(b,!1);z(a,b.k_,a.rq,a);z(a,b.rU,a.o6,a);return b}return null}function US(a){a.Ed.buttons().forEach(b=>{KP(a.Ja,b.displayObject())})}function VS(a){const b=!!a.B.fa().Qf(),c=!a.B.Oa()&&!a.B.tb()&&!a.B.fb(),d=WS(a);FS(a.Ed,{Mba:d,xba:c,jca:b,P$:!!a.G.resources().Ai().count()});c||a.rq("nothing")}function XS(a){a.Pb&&a.Pb.on(a.Ua.he?YS(a):ZS(a))} +function $S(a,b){switch(b.buttonType){case "attachments":const c=b.pressed;b=b.relativeElement;const d=aT(a,b);OP(a.Ja,c,b,{jn:"bottom"});d.focus();break;case "outline":a.NO(b)}}function ZS(a){return a.Fb.showed()?Z(a.K,"arrows_right"):Z(a.K,"arrows_left")}function YS(a){return a.Fb.showed()?Z(a.K,"arrows_left"):Z(a.K,"arrows_right")}function WS(a){return(a=a.B.fa().Ei())&&""!=a.text().replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")} +function aT(a,b){b=new LQ(b);b.ky(bT(a));b.X("attachments",!0);IP(a.Ja,b);return b}function bT(a){const b=new sN(a.G.resources().Ai(),a.K,a.I);Gt(b,"attachments-popup");z(a,b.aT,()=>{JP(a.Ja)},a);return b}function cT(a,b){OP(a.Ja,b.pressed(),b.displayObject(),{jn:"bottom",align:"left"})} +class dT extends P{constructor({Lu:a,rk:b,Ap:c,Ca:d,V:e,wj:f,xa:g,ga:h,sidePanelController:l}){super({F:"top-panel",zf:!0});this.Qb=a;this.sg=b;this.Ua=c;this.Fb=l;this.G=d;this.B=e;this.Ja=f;this.K=g;this.I=h;this.dB=this.cO=this.gw=this.Cb=null;this.yM=E(this);this.XV=E(this);this.iL=E(this);this.Ga=new P({F:"top-main-container"});M(this,this.Ga);this.X("reversed",this.Ua.he);this.Ga.X("reversed",!this.Qb.gu);this.Ed=QS(this);M(this.Ga,this.Ed);this.ZE=this.zK();M(this.Ga,this.ZE);(this.Pb=this.hz())&& +M(this,this.Pb);this.fc=this.ez();this.nq=RS(this);this.fc&&(B(this,this.fc),a=SS(this),IP(this.Ja,a));(this.Sg=TS(this))&&B(this,this.Sg);z(this,this.Qb.pb,this.ho,this);z(this,this.G.qK,()=>NS(this.ZE),this);z(this,this.B.vc(),this.io,this);z(this,this.B.Mu(),this.B7,this);z(this,this.B.zS(),this.A7,this);z(this,this.Ja.np(),this.lw,this);z(this,this.Ua.pb,this.p7,this)}ho(){JP(this.Ja);US(this);this.ZE.invalidate();this.Ga.X("reversed",!this.Qb.gu);this.Ed.invalidate();VS(this);this.xb()}p7(){this.X("reversed", +this.Ua.he);XS(this)}yp(a){this.Fb=a;this.Ua.visible&&this.Fb&&this.Fb.visible()?this.Pb||(this.Pb=this.hz())&&M(this,this.Pb):(Se(this,this.Pb),this.Pb=null)}qa(a){super.qa(a);this.Ed.qa(a)}hz(){if(this.Fb&&this.Fb.visible()){const a=new iM({type:"uikit-link-button",size:"small",icon:{element:this.Ua.he?YS(this):ZS(this),Ne:"left"}});L(a,"padding","4px");z(this,this.Fb.showedStateChanged(),()=>{XS(this)});z(this,a.ja,()=>{this.Fb.show(!this.Fb.showed())});return a}return null}zK(){const a=new PS({Lu:this.Qb, +Ca:this.G,V:this.B});Gt(a,O(this,"container"));a.X("reversed",this.Ua.he);return a}io(){if(-1!=this.B.ma()){this.dB=null;var a=WS(this);this.gw&&this.gw.visible()&&!a&&JP(this.Ja);VS(this);a=this.B.fa().Qf();const b=!!a;this.cO&&this.cO.visible()&&(b?this.cO.content().nD(a):JP(this.Ja));NS(this.ZE)}}NO(a){const b=a.pressed;a=a.relativeElement;if(!this.dB){const c=new EP({Fu:!1,Gu:!0,rk:this.sg,xa:this.K,ga:this.I,V:this.B,slides:this.G.slides()});c.ht.Ko.sR();this.dB=new MQ(a,c);this.dB.X("outline-popup", +!0);IP(this.Ja,this.dB)}OP(this.Ja,b,a,{jn:"bottom"})}ez(){return this.Ed.ml?new EP({Fu:!1,Gu:!0,rk:this.sg,xa:this.K,ga:this.I,V:this.B,slides:this.G.slides()}):null}Vb(a){a.Dc(!a.pressed());this.fc||(this.fc=this.ez())&&B(this,this.fc);const b=a.pressed(),c=SS(this);IP(this.Ja,c);b!=a.pressed()&&a.Dc(b);cT(this,a)}xB(a){a.Dc(!a.pressed());const b=a.pressed(),c=aT(this,a.displayObject());b!=a.pressed()&&a.Dc(b);cT(this,a);c.focus()}zd(a){this.nq||(this.nq=RS(this))&&B(this,this.nq);if(!this.gw){var b= +new BS(this.Ed.Vj.displayObject(),this.nq);b.X("notes-popup",!0);this.gw=b;IP(this.Ja,this.gw)}b=a.pressed();a.Dc(!b);cT(this,a)}d9(a){var b=!a.pressed();a.Dc(b);if(b){this.Sg||(this.Sg=TS(this))&&B(this,this.Sg);b&&this.Sg.open();b=a.pressed();var c=this.Ja.createPopup(a.displayObject(),this.Sg,"marker");b!=a.pressed()&&a.Dc(b);cT(this,a);this.XV.C();c.focus()}else JP(this.Ja)}xo(a){const b=this.B.fa().Qf();a.Dc(!a.pressed());const c=new YR(this.I,this.K,!0);Gt(c,O(this,"presenter-info"));const d= +a.pressed();this.bO=this.Ja.createPopup(a.displayObject(),c,"presenter");d!=a.pressed()&&a.Dc(d);cT(this,a);c.nD(b);c.xb();this.bO&&this.bO.focus()}rq(a){if(this.Sg){var b=this.Ed;if(b.yd)switch(b.Nw=a,b.Nw){case "nothing":b.yd.ha(b.I.ia("PB_TITLE_PANEL_MARKER_TOOLS"));break;case "line":b.yd.ha(b.I.ia("PB_DRAWING_TOOLS_PEN"));break;case "marker":b.yd.ha(b.I.ia("PB_DRAWING_TOOLS_HIGHLIGHTER"));break;case "eraser":b.yd.ha(b.I.ia("PB_DRAWING_TOOLS_ERASER"))}this.yM.C(a);JP(this.Ja);yS(this.Sg,"nothing"!= +a)}}o6(){this.iL.C();JP(this.Ja)}lw(){ES(this.Ed);this.bO=this.gw=null}B7(){const a=this.Ed.yd;a&&this.Sg&&(a.qa(!1),this.Sg.freeze())}A7(){var a=this.Ed.yd;if(a&&this.Sg){a.qa(!0);a=this.Sg;for(const b of a.Cz)b.qa(!0);a.Cz=[]}}Qa(a){var b=this.Pb?`calc(100% - ${this.Pb.width()}px)`:"100%";L(this.Ga,"width",b);b=this.displayObject();const c=qn().getTransform(b);b=this.Ed;a=480>a*(c?c.pd:1);DS(b,b.kl,"attachments",a);DS(b,b.yd,"markerTools",a);DS(b,b.xm,"presenterInfo",a);DS(b,b.Vj,"notes",a);DS(b, +b.ml,"outline",a)}};function eT(a,b,c,d){var e,f=d=null!=(e=d)?e:fT(a);e=a.OE();var g=new cd(a.EB()+24,gT(a)+16);var h=new cd(b,c);e.width+g.width=c?c:Math.min(TN(b.width,a.width,d.width),TN(b.height,a.height,d.height))}function jT(a){a=iT(a);return UN(a)}function hT(a){return jC()||a.C4} +function gT(a){let b=0;if(a.Jc){const c=a.Jc.us,d=a.Jc.tv;c&&(b+=Vh(c).height);b+=Vh(d).height}else b+=a.wb&&a.wb.visible()?a.wb.height():0,b+=a.ub&&a.ub.visible()?a.ub.height():0;b+=a.va&&a.va.visible()?a.va.height():0;return b+=a.Xd&&a.Xd.visible()?a.Xd.height():0}function fT(a){if(hT(a)||a.zz)return!0;const b=eT(a,a.Yw,a.Xw,!1);return b.width>a.Yw||b.height>a.Xw} +class kT{constructor({Ca:a,kk:b,Yba:c,Lc:d,controlPanel:e,Xc:f,lc:g,separator:h}){this.G=a;this.Qg=b;this.Jc=c;this.wb=d;this.ub=e;this.Z=f;this.va=g;this.Xd=h;this.zz=this.G.settings().kr().fitToWindow();this.C4=1==Oi().fit_content;this.Xw=this.Yw=0}oD(a,b){this.Yw=a;this.Xw=b}OE(){let a=this.G.slideWidth(),b=this.G.slideHeight(),c=Math.max(540/a,540/b);c=Math.max(c,1);return new cd(a*c,b*c)}EB(){return this.Z?280:0}};class lT extends P{constructor(){super({F:"closed-caption-panel"});x(this,this.displayObject(),"click",this.UZ,this);x(this,this.displayObject(),Km,this.UZ,this,Nm);const a=new P({ka:O(this,"scroll-area")});M(this,a);this.qg=new P({F:"closed-captions"});M(a,this.qg);this.ua=new wM({Gr:a});B(this,this.ua);this.O(this.ua.jk())}UZ(a){a.stopPropagation()}ZR(a){this.qg.ha(a)}Qa(a,b){super.Qa(a,b);a=Zh(this.displayObject());a=a.top&&a.bottom?a.top+a.bottom:0;this.ua.Ci(this.height()-a,this.qg.height())}} +;function KQ(a){a.kd.visible()&&(a.kd.J(!1),a.Yy.C())}function mT(a){const b=new SP(a.aY);B(a,b);z(a,b.$X,()=>{a.vk(!0)},a);z(a,b.np(),()=>{a.vk(!1)},a);return b}function nT(a){const b=new RR({kc:a.D,xa:a.K,controlPanel:a.ub,oca:a.um});B(a,b);z(a,b.QP,a.E7,a);return b}function oT(a){return new kT({Ca:a.G,kk:a.Qg,Yba:a.Jc,Lc:a.wb,controlPanel:a.ub,Xc:a.Z,lc:a.va,separator:a.Xd})}function pT(a,b){a.wb&&a.wb.qa(b);a.ub&&a.ub.qa(b);a.Z&&a.Z.qa(b)} +function qT(a,b){var c=a.Ov;c="MaximizedVideo"==c.Gb?c.Fg.video().width():c.R.width();a.kd.Kb(c/b);const d=new gm;d.translate((c-c/b)/2,110*(1-b)/2);d.scale(b,b);on(a.kd.displayObject(),d);a.kd.xb()}function rT(a){a.Qb.visible||!a.Ua.visible||a.Es||a.Pb?(a.Qb.visible||!a.Ua.visible||a.Es)&&a.Pb&&a.Pb&&(a.Ga.removeChild(a.Pb),Se(a,a.Pb),a.Pb=null):a.hz();a.Pb&&a.Ga.Me(a.Pb,0)} +function sT(a){(a.FL||a.Lz||a.ps.visible)&&!a.ub?(a.ub=a.MT(),B(a,a.ub)):a.FL||a.Lz||a.ps.visible||!a.ub||a.zY();a.ub&&a.Ga.O(a.ub)}function tT(a){a.Xd=new P({F:"universal-skin-separator"});B(a,a.Xd)}function uT(a){a.wb=new dT({Lu:a.Qb,rk:a.H.outline,Ap:a.Ua,sidePanelController:a.Z,Ca:a.G,V:a.rc,wj:a.Ja,xa:a.K,ga:a.I});a.wb.X("hide-controls",!a.Qb.visible);B(a,a.wb);z(a,a.wb.XV,a.B6,a);z(a,a.wb.iL,a.n6,a);DN(a.Qb,"markerTools")&&z(a,a.wb.yM,b=>rO(a.zb,b))} +class vT extends P{constructor({kc:a,settings:b,ga:c,xa:d}){super({F:"universal"});Ib?(this.X("ie",!0),sj&&this.X("ie9",!0)):Mb?this.X("webkit",!0):Hb?this.X("opera",!0):Lb&&this.X("gecko",!0);L(this,"opacity",0);this.X("embedded-mode",Kj);this.D=a;this.H=b;this.I=c;this.K=d;this.md=new cd(0,0);this.G=this.D.Ca();this.R=this.D.view();this.rc=this.R.Cd();this.B=this.R.V();this.Qg=this.D.kk();this.aY=new P({F:"popups-layer"});this.Ja=mT(this);this.Nv=E(this);this.YM=E(this,this.Ja.np());this.Yy=E(this); +this.y_=E(this);a=new P({F:"main-container"});M(this,a);this.Ga=a;M(this,this.aY);this.kd=new lT;B(this,this.kd);this.kd.J(!1);const {V0:e,W0:f,WQ:g}=RQ(this.G.slides());this.FL=e;this.Es=f;this.Lz=g;this.Qb=this.H.Aa.Lc;this.ps=this.H.Aa.controlPanel;this.gj=this.ps.lc;this.Ua=this.H.Aa.Xc;this.zb=this.xK();a=new P({F:"presentation-container"});M(this.Ga,a);this.YN=a;M(this.YN,this.zb);this.um=this.Xd=this.va=this.Z=this.ub=this.Pb=this.wb=null;this.Fg=nT(this);this.Tk();a=new pS({kc:this.D,settings:this.H, +CD:this.Fg,BC:this.zb,Xc:this.Z});B(this,a);z(this,a.Nv,this.EA,this);this.Ov=a;this.Jc=this.Np();this.Sa=oT(this);z(this,this.D.BY,this.W6,this);z(this,this.B.vc(),this.io,this);z(this,this.Qg.tL,this.HW,this);z(this,this.Qb.Cc,this.z7,this);z(this,this.ps.Cc,this.ho,this);z(this,this.gj.Cc,this.ho,this);z(this,this.Ua.Cc,this.ho,this);z(this,this.Ua.pb,this.ho,this);this.HW()}scale(){var a=this.Sa;({scale:a}=eT(a,a.Yw,a.Xw));return a}np(){return this.YM}initialize(a){lS(this.Ov,a)}resize(a,b){if(a&& +b){this.md=new cd(a,b);Mb&&Nh(document.body,`${a}px`,`${b}px`);var c=Kj||hT(this.Sa)?new Wf(0,0,a,b):new Wf(16,16,a-32,b-32);this.H.accessibilityModeEnabled&&!jC()&&(c.width-=150);this.Sa.oD(c.width,c.height);hT(this.Sa)?(super.resize(a,b),this.move(0,0)):({LI:c}=eT(this.Sa,c.width,c.height),this.move(Math.floor((a-c.width)/2),Math.floor((b-c.height)/2)),super.resize(c.width,c.height));L(this,"opacity","")}}pD(a){this.ub&&this.ub.pD(a)}g2(a){this.wb&&$S(this.wb,a)}Qa(a,b){this.Ui(a,b);this.Ov.invalidate()}Ui(a){var b= +iT(this.Sa);const c=jT(this.Sa);var d=this.Sa;({LI:g}=eT(d,d.Yw,d.Xw));var e=jT(d),f=gT(d)*e;e*=d.EB();d=iT(d);var g=(new cd(g.width-(e+24*d),g.height-(f+16*d))).round();f=g.height/b;d="100%";this.Z&&this.Z.showed()&&(d=`calc(100% - ${this.Z.width()*c}px)`);L(this.Ga,"width",d);this.Uz(c);if(this.Jc){if(d=this.Jc.us)wn(d,c),yi(d,"0 0"),F(d,"width",`calc(100% / ${c})`);d=this.Jc.tv;wn(d,c);yi(d,"0 0");F(d,"width",`calc(100% / ${c})`);F(d,"top","")}this.wb&&!this.Jc&&(wn(this.wb.displayObject(),c), +yi(this.wb.displayObject(),"0 0"),F(this.wb.displayObject(),"width",`calc(100% / ${c})`));this.zb.invalidate(g,fT(this.Sa));this.zb.setScale(b);d=this.Jc?this.Jc.us:this.wb&&this.wb.displayObject();e=8*b;const h=12*b;L(this.YN,"margin-top",`${-(d?Vh(d).height:0)*(1-c)}px`);L(this.YN,"padding",`${e}px ${h}px`);this.ub&&(this.ub.eJ(f-20),this.ub.xb());this.Z&&this.Z.visible()&&(this.Z.setScale(c),L(this.Z,"height",`calc(100% / ${c})`),this.Z.xb(),this.Ua.he?this.JP(c):this.KP(c));f=this.scale();a={left:12+ +(this.Z&&this.Z.showed()&&this.Ua.he?this.Z.width():0),right:a/f-12};const {left:l,right:n}=a;this.Ja.Jl(l,n,g.height);this.Ja.setScale(b,b);JP(this.Ja);b=Kj?0:Math.round(7*c);L(this,"-webkit-border-radius",`${b}px`);L(this,"-moz-border-radius",`${b}px`);L(this,"border-radius",`${b}px`);qT(this,c)}JP(a){this.Z.showed()?L(this.Z,"margin-left",""):L(this.Z,"margin-left",`${-280*a}px`);L(this.Z,"margin-right",`${-280*(1-a)}px`)}KP(a){this.Z.showed()?L(this.Z,"margin-right",`${-280*(1-a)}px`):L(this.Z, +"margin-right","-280px");L(this.Z,"margin-left","")}Uz(a){if(this.va){const b=this.va.displayObject();wn(b,a);yi(b,"0 0");F(b,"width",`calc(100% / ${a})`);F(b,"top","")}}E7(){this.Z&&this.Z.xb()}EA(){this.X("side-panel-hidden",!this.Z||!this.Z.visible());this.resize(this.md.width,this.md.height);this.kd.visible()&&mS(this.Ov).appendChild(this.kd.displayObject());qT(this,this.scale());this.Nv.C()}W6(a){const {LI:b}=eT(this.Sa,a.width,a.height);a.width=b.width;a.height=b.height;a.q0=!0}io(){var a=this.B.Oa(), +b=this.B.fb();const c=this.B.tb();this.va&&this.va.J(!a&&!b&&!c);this.Xd&&this.Xd.J(!this.va||!this.va.visible());(a||b||c)&&KQ(this);JP(this.Ja);this.Wz();Se(this,this.Sa);this.Sa=oT(this);a=this.Ov;b=this.Z;a.Z!==b&&(a.Z=b,a.Z&&a.Z.dN.addHandler(a.YZ,a),kS(a,a.Z?"Full":"NoSidebar"),a.Ui());this.Qt();this.EA();this.wb&&this.wb.yp(this.Z);this.Pb&&this.Pb.yp(this.Z)}Qt(){if(this.kd){const a=this.B.fa().Ei();this.kd.ZR(a?a.text():"")}}HW(){document.body.style.overflow=fT(this.Sa)?"hidden":"auto";sj|| +requestAnimationFrame(()=>{this.resize(this.md.width,this.md.height)})}xK(){return new sO(this.D)}Tk(){this.Wz();this.bM();rT(this);this.Jv();sT(this)}Jv(){!this.Xd&&tT(this);this.gj.visible?(!this.va&&this.rs(),this.Xd.J(!1)):(this.va&&this.iB(),this.Xd.J(!0));this.va&&M(this.Ga,this.va);this.Xd&&M(this.Ga,this.Xd)}iB(){Se(this.Ga,this.va);this.um=this.va=null}rs(){this.va=new KR({slides:this.G.slides(),settings:this.gj,V:this.rc});this.um=new NR({lc:this.va,V:this.rc,Ca:this.G,settings:this.gj}); +B(this,this.va)}bM(){this.HM()?uT(this):this.IM()&&(this.Ga.removeChild(this.wb),Se(this,this.wb),this.wb=null);this.wb&&this.Ga.Me(this.wb,0)}HM(){return(this.Es||this.Qb.visible)&&!this.wb}IM(){return!(this.Es||this.Qb.visible)&&!!this.wb}hz(){this.Pb=new sS({Lu:this.Qb,Ap:this.Ua,xa:this.K,sidePanelController:this.Z});B(this,this.Pb)}MT(){return new VQ({skinSettings:this.H,Ca:this.G,V:this.rc,soundController:this.R.soundController(),wj:this.Ja,ga:this.I,xa:this.K,kk:this.Qg,wx:this})}zY(){this.Ga.removeChild(this.ub); +Se(this,this.ub);this.ub=null}Wz(){!this.Z&&this.Kz()&&this.Ua.visible?this.GK():!this.Z||this.Kz()&&this.Ua.visible||this.iO();this.Z&&this.Me(this.Z,1);this.y_.C(this.Z)}Kz(){return jS({Ca:this.G,V:this.B,CD:this.Fg,Ap:this.Ua})}GK(){this.Z=new hS(this.H,this.G,this.rc,this.I,this.K);B(this,this.Z);this.X("left-panel",this.Ua.he);z(this,this.Z.showedStateChanged(),()=>this.xb())}iO(){Se(this,this.Z);this.Z=null}Np(){if(this.ub){const a=new uS({V:this.B,u2:this.wb&&this.wb.displayObject(),A0:this.ub.displayObject()}); +B(this,a);z(this,a.JX,this.xb,this);return a}return null}B6(){var a=this.wb;var b=this.zb;b=b.vb?b.vb.xi():!0;a.Sg&&(a=a.Sg,b=!b,a.qU=b,a.Xf.has("eraseAll")&&a.Xf.get("eraseAll").qa(b))}n6(){this.zb.hI()}ho(){this.Tk();Se(this,this.Jc);this.Jc=this.Np();Se(this,this.Sa);this.Sa=oT(this);Se(this,this.Fg);this.Fg=nT(this);this.EA();this.X("left-panel",this.Ua.he);this.wb&&this.wb.yp(this.Z);this.Pb&&this.Pb.yp(this.Z)}z7(){this.ho();this.wb&&(VS(this.wb),this.wb.X("hide-controls",!this.Qb.visible))}vd(){super.vd(); +Fd(this.kd.displayObject())}c2(){this.kd.visible()||(this.kd.J(!0),this.Qt(),mS(this.Ov).appendChild(this.kd.displayObject()),this.kd.xb(),this.Yy.C())}};function wT(a,b){const c=a.R,d=b.Zw,e=b.L();a.Ln.suspend();c.setOverlayDisplayed(!0);a.ll.C();FM(a.Gk,{mn:"PB_RESUME_PRESENTATION_WINDOW_TEXT",icon:Z(a.K,"mb_question_icon"),buttons:[{Jg:"PB_MESSAGE_BOX_YES",result:"yes"},{Jg:"PB_MESSAGE_BOX_NO",result:"no"}]}).then(f=>{a.Ln.resume();c.setOverlayDisplayed(!1);a.Qk.C();a.Jn.C();"yes"==f?(a.pa.initialize(e),d.resume(e,!0)):(f=a.B.Pf(),d.start(f,!0))})} +class xT extends wg{constructor(a,b,c,d,e){super();e&&LM(e,this.resize,this);a.kk();var f=b.Aa;e=f.Lc;const g=f.controlPanel;f=f.Xc;e.sd&&f.visible&&(e.sd=!1,f.sd=!0);g.visible&&!kC()&&(g.zp=!1);this.D=a;z(this,this.D.uy(),this.fo,this);z(this,this.D.Qx(),this.x6,this);this.H=b;this.I=c;this.K=d;this.G=this.D.Ca();this.R=this.D.view();this.rc=this.R.Cd();z(this,this.rc.Yx(),this.$n,this);this.B=this.R.V();this.Ff=this.fz();this.wF=new SM(this.D,new fM);B(this,this.wF);a=B(this,new vT({kc:this.D,settings:this.H, +ga:this.I,xa:this.K}));a.Ga.vk(!0);a.Z&&a.Z.vk(!0);z(this,a.Qe(),this.K7,this);z(this,a.Nv,this.EA,this);this.pa=a;this.Gg=B(this,new EM(this.pa.displayObject()));this.Gk=new GM({ga:this.I,zJ:this.Gg});this.Cw=new SN({Ca:this.G,V:this.B,settings:this.H,ga:this.I,view:this.pa,sidePanelController:null});B(this,this.Cw);this.Ln=new PM(this.B.lu());this.ll=E(this);this.Qk=E(this);this.Jn=E(this);this.Is(this.Ff,this.D.Tr());z(this,this.pa.y_,this.Cw.ES,this.Cw)}resize(a,b){this.pa.resize(a,b)}displayObject(){return this.pa.displayObject()}fz(){const a= +new TM;this.R.displayObject().appendChild(a.displayObject());return a}K7(){const a=this.pa.scale();wn(this.Ff.displayObject(),this.pa.scale(),this.pa.scale());this.Gg.Jl(this.pa.width()/a,this.pa.height()/a);this.Gg.setScale(a)}EA(){let a;null==(a=this.wF)||QM(a)}x6(a,b,c){c?(pT(this.pa,!1),Qe(this,this.wF.VA,()=>{pT(this.pa,!0);this.Is(this.Ff,this.D.Tr());this.B.play()},this),this.wF.show(this.displayObject())):this.Is(this.Ff,this.D.Tr())}Is(a,b){this.fC(a,b);z(this,this.B.$().wC(),()=>{this.fC(a, +b)},this)}fC(a,b){const c=this.B.$().nd();b=b.TC()&&this.pa.Fg.video().visible();c&&!b?a.show():a.Uc();a=this.pa.Fg.video();b?a.Ff.show():a.Ff.Uc()}fo(a){if("resumePlayback"==a.action()){const b=this.B.Pf();this.pa.initialize(b);"prompt"==this.G.settings().Vc().wu()&&(a.xu("delayStartup"),wT(this,a))}else"gotoSlide"==a.action()&&this.pa.initialize(a.L())}vo(a,b){if(!(0b}).then(()=>{this.Ln.resume();c.setOverlayDisplayed(!1);Ws(d,e);this.Qk.C()})}}$n(a){const b={},c=this.G.slides(),d=f=>{f=c.la(f).Mi();if(this.H.outline.zi){const g=BN(c);b.SLIDE_INDEX=g[f]}else b.SLIDE_INDEX=f+1};let e="";switch(a.rd().type()){case "currentSlideIsNotCompleted":e="PB_CURRENT_SLIDE_IS_NOT_COMPLETED";break;case "backwardNavigationIsRestricted":case "forwardNavigationIsRestricted":e= +"sequential"==this.G.settings().navigation().navigationType()?"PB_NAVIGATION_IS_SEQUENTIAL":"PB_NAVIGATION_IS_RESTRICTED";break;case "interactionNotCompleted":e="PB_QUIZ_SLIDE_WINDOW_TEXT";a=this.B.fa();a instanceof Bq?e="PB_SCENARIO_SLIDE_WINDOW_TEXT":a instanceof tq&&(e="PB_INTERACTION_SLIDE_WINDOW_TEXT");break;case "precedingQuizFailed":e="PB_PRECEDING_QUIZ_FAILED_WINDOW_TEXT";d.call(this,a.rd().Pd());break;case "precedingQuizNotPassed":e="PB_PRECEDING_QUIZ_NOT_PASSED_WINDOW_TEXT";d.call(this, +a.rd().Pd());break;case "precedingQuizNotCompleted":e="PB_PRECEDING_QUIZ_NOT_COMPLETED_WINDOW_TEXT";d.call(this,a.rd().Pd());break;case "precedingScenarioNotPassed":e="PB_PRECEDING_SCENARIO_NOT_PASSED_WINDOW_TEXT";d.call(this,a.rd().Pd());break;case "precedingScenarioFailed":e="PB_PRECEDING_SCENARIO_FAILED_WINDOW_TEXT";d.call(this,a.rd().Pd());break;case "precedingScenarioNotCompleted":e="PB_PRECEDING_SCENARIO_NOT_COMPLETED_WINDOW_TEXT";d.call(this,a.rd().Pd());break;default:return}this.vo(e,b)}vd(){super.vd(); +Fd(this.Ff.displayObject())}};class yT{constructor(a){this.Xa=a}create(){return{f2:this.Xa.Aa.controlPanel.visible&&this.Xa.Aa.controlPanel.lc.visible&&this.Xa.Aa.controlPanel.lc.Lr,showSlideList:this.DB()&&this.Xa.Aa.Xc.showOutline||this.Xa.Aa.Lc.visible&&DN(this.Xa.Aa.Lc,"outline")||this.Xa.Aa.controlPanel.visible&&this.Xa.Aa.controlPanel.showOutline,ye:this.DB()&&this.Xa.Aa.Xc.ye||this.Xa.Aa.Lc.visible&&DN(this.Xa.Aa.Lc,"notes")||this.Xa.Aa.controlPanel.visible&&this.Xa.Aa.controlPanel.Ll,e2:this.Xa.Aa.Lc.visible&&DN(this.Xa.Aa.Lc, +"attachments"),d2:this.Xa.Aa.Lc.visible&&DN(this.Xa.Aa.Lc,"presenterInfo")||this.DB()&&this.Xa.Aa.Xc.hh}}DB(){return this.Xa.Aa.Xc.visible}};class zT extends wg{constructor(){super();this.wo=this.yo=this.Et=this.Ra=!1;this.De="";this.Ft=!1;this.pb=E(this);this.Cc=E(this)}set visible(a){this.Ra!==a&&(this.Ra=a,this.Cc.C())}get visible(){return this.Ra}set xf(a){this.Et!==a&&(this.Et=a,this.pb.C())}get xf(){return this.Et}set yf(a){this.yo!==a&&(this.yo=a,this.pb.C())}get yf(){return this.yo}set Re(a){this.wo!==a&&(this.wo=a,this.pb.C())}get Re(){return this.wo}set $g(a){this.De!==a&&(this.De=a,this.pb.C())}get $g(){return this.De}set Qd(a){this.Ft!== +a&&(this.Ft=a,this.pb.C())}get Qd(){return this.Ft}};class AT extends wg{constructor(a){super();this.S7=a;this.zd=this.Vb=this.xo=this.xB=!1;this.pb=E(this);this.Cc=E(this)}get outline(){return this.S7}set hJ(a){this.xB!==a&&(this.xB=a,this.pb.C())}get hJ(){return this.xB}set hh(a){this.xo!==a&&(this.xo=a,this.pb.C())}get hh(){return this.xo}set showOutline(a){this.Vb!==a&&(this.Vb=a,this.pb.C())}get showOutline(){return this.Vb}set ye(a){this.zd!==a&&(this.zd=a,this.pb.C())}get ye(){return this.zd}};class BT extends wg{constructor(){super();this.dO=this.Ra=!1;this.pb=E(this);this.Cc=E(this)}get visible(){return this.Ra}set visible(a){this.Ra!==a&&(this.Ra=a,this.Cc.C())}get QI(){return this.dO}set QI(a){this.dO!==a&&(this.dO=a,this.pb.C())}};class CT extends wg{constructor(){super();this.LO=this.Ra=!1;this.pb=E(this);this.Cc=E(this)}set visible(a){this.Ra!==a&&(this.Ra=a,this.Cc.C())}get visible(){return this.Ra}set Di(a){this.LO!==a&&(this.LO=a,this.pb.C())}get Di(){return this.LO}};class DT extends wg{constructor(a,b){super();this.G=a;this.H=b;a:{for(a=0;aa.height}function FT(a){return ET(a)?a.DB()?new Vf(0,a.EB(),0,0):new Vf(0,0,0,0):new Vf(a.Xa.topPanel.visible?a.Xa.ui?52:46:0,0,a.Xa.bottomPanel.visible?a.Xa.ui?55:66:0,0)}function GT(a){const b=FT(a);return new Wf(b.left,b.top,a.md.width-b.right-b.left,a.md.height-b.top-b.bottom)}function HT(a,b){a=b?a.wA:GT(a);return new cd(a.width,a.height)} +class IT{constructor(a){this.Xa=a;this.wA=this.md=null}oD(a){this.md=a}Fn(a){a=a?this.wA:GT(this);return new Xc(a.left,a.top)}DB(){return this.Xa.topPanel.visible||this.Xa.bottomPanel.visible?this.Xa.topPanel.Di||this.Xa.bottomPanel.Re||this.Xa.bottomPanel.yf||this.Xa.bottomPanel.xf:!1}EB(){return this.Xa.ui?52:56}};function JT(){let a=Ii?"mobile":"desktop";Ib?a+=" ie":Ji?a+=" android_default":Mb?a+=" webkit":Hb?a+=" opera":Lb&&(a+=" gecko");return a} +class KT extends P{constructor({kc:a,xa:b,ga:c,F:d,Q$:e}){super({F:d});JT().split(" ").forEach(f=>Gt(this,f));this.D=a;this.R=a.view();this.G=a.Ca();this.B=a.view().V();this.Da=this.B.$();this.rc=a.view().Cd();this.Gg=new EM(this.displayObject());this.I=c;this.K=b;this.Gk=new GM({ga:this.I,zJ:this.Gg});if(e){const f=new JM;z(this,f.LB,(g,h)=>this.Jj(g,h));setTimeout(()=>f.IC())}z(this,a.uy(),this.fo,this);z(this,a.view().Cd().Yx(),this.$n,this)}Jj(a,b){this.resize(a,b);this.Gg.Jl(a,b)}fo(a){if("resumePlayback"== +a.action()&&"prompt"==this.G.settings().Vc().wu()){const b=this.B.Pf(),c=a.L();a.xu("delayStartup");const d=a.Zw;(()=>{FM(this.Gk,{mn:"PB_RESUME_PRESENTATION_WINDOW_TEXT",icon:Z(this.K,"mb_question_icon"),buttons:[{Jg:"PB_MESSAGE_BOX_YES",result:"yes"},{Jg:"PB_MESSAGE_BOX_NO",result:"no"}]}).then(e=>{this.R.setOverlayDisplayed(!1);"yes"==e?d.resume(c,!0):d.start(b,!0)});this.R.setOverlayDisplayed(!0)})()}}nh(a,b){return(a.la(b).Mi()+1).toString()}$n(a){const b={},c=this.G.slides();let d;switch(a.rd().type()){case "currentSlideIsNotCompleted":d= +"PB_CURRENT_SLIDE_IS_NOT_COMPLETED";break;case "backwardNavigationIsRestricted":case "forwardNavigationIsRestricted":d="sequential"==this.G.settings().navigation().navigationType()?"PB_NAVIGATION_IS_SEQUENTIAL":"PB_NAVIGATION_IS_RESTRICTED";break;case "interactionNotCompleted":d="PB_QUIZ_SLIDE_WINDOW_TEXT";a=this.B.fa();a instanceof Bq?d="PB_SCENARIO_SLIDE_WINDOW_TEXT":a instanceof tq&&(d="PB_INTERACTION_SLIDE_WINDOW_TEXT");break;case "precedingQuizFailed":d="PB_PRECEDING_QUIZ_FAILED_WINDOW_TEXT"; +b.SLIDE_INDEX=this.nh(c,a.rd().Pd());break;case "precedingQuizNotPassed":d="PB_PRECEDING_QUIZ_NOT_PASSED_WINDOW_TEXT";b.SLIDE_INDEX=this.nh(c,a.rd().Pd());break;case "precedingQuizNotCompleted":d="PB_PRECEDING_QUIZ_NOT_COMPLETED_WINDOW_TEXT";b.SLIDE_INDEX=this.nh(c,a.rd().Pd());break;case "precedingScenarioNotPassed":d="PB_PRECEDING_SCENARIO_NOT_PASSED_WINDOW_TEXT";b.SLIDE_INDEX=this.nh(c,a.rd().Pd());break;case "precedingScenarioFailed":d="PB_PRECEDING_SCENARIO_FAILED_WINDOW_TEXT";b.SLIDE_INDEX= +this.nh(c,a.rd().Pd());break;case "precedingScenarioNotCompleted":d="PB_PRECEDING_SCENARIO_NOT_COMPLETED_WINDOW_TEXT";b.SLIDE_INDEX=this.nh(c,a.rd().Pd());break;default:return}this.vo(d,b)}FA(a){Ws(this.Da,a)}vo(a,b){const c=this.B.$().suspended(),d=this.R;Ws(this.Da,!0);FM(this.Gk,{mn:a,icon:Z(this.K,"mb_warning_icon"),buttons:[{Jg:"PB_MESSAGE_BOX_OK",result:"ok"}],Kx:()=>b}).then(()=>{d.setOverlayDisplayed(!1);this.FA(c)});d.setOverlayDisplayed(!0)}};function LT(a){var b=a.B.ma();-1!=b&&(b=Vs(a.R.kn(),b),b instanceof mv?b.Oa().resize(a.width(),a.height()):b instanceof lv?b.fb().resize(a.width(),a.height()):b instanceof pv&&b.tb().resize(a.width(),a.height()))}function MT(a){a.hM()?(a=a.displayObject(),mn(a,"quiz_mode")):(a=a.displayObject(),nn(a,"quiz_mode"))} +class NT extends KT{constructor(a,b,c){super({kc:a,ga:b,xa:c,F:"universal_mini",Q$:!0});this.G=a.Ca();this.ra=Ki();this.dW=new C;b=a.view();this.O(b.displayObject());z(this,this.B.Wr,this.oe,this);z(this,a.HC(),this.VF,this)}VF(){}ZL(a,b){this.R.resize(a,b)}Jj(a,b){L(this,"min-height",`${b+0}px`);this.ZL(a,b,0);super.Jj(a,b);LT(this)}oe(){var a=this.B.ma();const b=-1!=a?this.B.fa():null;this.vE&&(this.vE.mr(),this.vE=void 0);this.uE&&(this.uE.mr(),this.uE=void 0);this.wE&&(this.wE.mr(),this.wE=void 0); +var c=this.displayObject();nn(c,"interaction_slide");b instanceof cr?(this.Dq=!0,this.IJ(Vs(this.R.kn(),a)),LT(this),MT(this)):b instanceof tq?(this.Dq=!0,this.HJ(Vs(this.R.kn(),a)),LT(this),MT(this),a=this.displayObject(),mn(a,"interaction_slide")):b instanceof Bq?(this.Dq=!0,this.JJ(Vs(this.R.kn(),a)),LT(this),MT(this)):(this.Dq=!1,MT(this),this.J(!0));0{if((a instanceof Node||a.enabled())&&!(1{1{1{var d=a.Sa.wA;d=new Xc(d.left,d.top);a.Dn||(a.sm=d.x,a.tm=d.y);b=a.sm;c=a.tm},D1:d=>{a.Dn=!0;var e=a.Sa.md;a.sm=xv(b+d.x,0,e.width-FT(a.Sa).right-a.Zc.width());a.tm=xv(c+d.y,0,e.height-a.Zc.height());d=a.Zc.width();e=a.Zc.height();a.Sa.wA=new Wf(a.sm,a.tm,d,e);vn(a.Zc.displayObject(),a.sm,a.tm)},Pba:()=>{}});B(a,a.Ik)}}else VT(a)} +function XT(a){var b=a.Zc==a.ob;var c=a.Sa;var d=c.md;if(ET(c)){c=Math.floor(.4*d.width);var e=Math.floor(.4*d.height);d=b?new cd(c,e):new cd(d.width,d.height)}else d=new cd(d.width,Math.floor((d.height-48)*(1-.8)));a.ob.Jl(d.width,d.height);!a.Dn&&b&&(b=a.Sa,d=a.Zc.width(),a=a.Zc.height(),c=FT(b),b.wA=new Wf(Math.floor(b.md.width-c.right-d),c.top,d,a))} +class ZT extends wg{constructor({rda:a,$x:b,pQ:c}){super();this.dM=!1;this.Sa=c;this.ob=a;this.R=b;this.Zc=a;this.hf=!1;ST(this,!1);this.sm=1;this.tm=0;this.Ik=null;this.Dn=!1;this.js=new P({F:"change-layout-button"});B(this,this.js);this.ob.O(this.js);z(this,this.js.ja,()=>{this.xp(this.Zc==this.ob?this.R:this.ob)},this);this.vA=E(this);TT(this,!1)}Br(){return this.Zc}xp(a){VT(this);const b=this.Zc!=a;this.Zc=a;this.vA.C(b);UT(this);WT(this)}El(){this.jF();this.XL()}VR(a){this.dM="MaximizedVideo"== +a;this.xp(this.dM?this.R:this.ob)}jF(){var a=this.hf?this.Zc==this.R:!1;var b=this.Sa;if(ET(b))var c=HT(b,a);else this.hf?(c=b.md,b=FT(b),c=new cd(c.width,Math.floor(.8*(c.height-b.bottom-b.top)))):(c=GT(b),c=new cd(c.width,c.height));b=this.Sa;var d=this.hf;const e=FT(b);a=ET(b)?b.Fn(a):d?new Xc(e.left,e.top+Math.floor((b.md.height-e.bottom-e.top)*(1-.8))-24):new Xc(e.left,e.top);this.R.resize(c.width,c.height);this.Bt(this.R.displayObject(),a);!ET(this.Sa)&&this.hf&&(b=this.R.Fi().getBoundingClientRect(), +a.y+=c.height-b.height,this.R.resize(b.width,b.height),this.Bt(this.R.displayObject(),a))}XL(){var a=this.Zc==this.ob;var b=this.Sa;if(ET(b))var c=HT(b,a);else c=b.md,b=FT(b),c=new cd(c.width,Math.floor(.5*(c.height-b.bottom-b.top)));b=this.Sa;const d=FT(b);a=ET(b)?b.Fn(a):new Xc(d.left,d.top);this.ob.resize(c.width,c.height);this.Bt(this.ob.displayObject(),a);!ET(this.Sa)&&this.hf&&(a=FT(this.Sa),this.ob.resize(c.width,Math.floor(this.Sa.md.height-a.bottom-a.top-this.R.height()-24)))}Bt(a,b){F(a, +"transform",`translate(${b.x}px, ${b.y}px)`)}oD(a){const b=this.Sa.md;!a||b&&b.width==a.width&&b.height==a.height||(this.Sa.oD(a),WT(this));XT(this)}};function $T(a){var b=a.oc.$g===VL;const c=a.B.nf(b?"switchToNextSlide":"switchToNextStep");b=a.B.nf(b?"switchToPreviousSlide":"switchToPreviousStep");var d=a.Ka;d.gb&&zO(d.gb.displayObject(),c);a=a.Ka;a.rb&&zO(a.rb.displayObject(),b)} +class aU extends wg{constructor({Of:a,Uf:b,V:c,bottomPanel:d}){super();this.oc=a;this.Xq=b;this.B=c;this.Ka=d;this.vG=void 0;z(this,this.B.$().Ec(),this.Tz,this);z(this,this.B.$().Zb(),this.Ab,this);$T(this);this.Tz();z(this,this.Ka.lN,this.K6,this);z(this,this.Ka.kN,this.jN,this);z(this,this.Ka.oN,this.nN,this);z(this,this.Ka.qN,this.pN,this)}K6(){const a=this.B.$().state();"started"===a||"buffering"===a?this.B.pause():this.B.play()}nN(){this.Ka.enabled()&&(this.oc.$g===VL?this.B.vi():"bySteps"=== +this.oc.$g&&this.B.ju())}jN(){this.Ka.enabled()&&(this.oc.$g===VL?this.B.sf():"bySteps"===this.oc.$g&&this.B.fp())}pN(a){this.B.Il().wk(a);this.Ka.Nx()}Ab(){if(!this.B.$().Kg()&&-1!=this.B.ma()){const a=this.B.nf("playPauseControl");bU(this.Ka,a)}$T(this)}Tz(){var a=this.B.$().state();const b="started"===a||"buffering"===a;this.vG&&(clearTimeout(this.vG),this.vG=void 0);this.vG=setTimeout(()=>this.Ka.CS(b),50);-1!==this.B.ma()&&(a=this.B.nf("playPauseControl"),bU(this.Ka,a))}};function bU(a,b){a.hb&&zO(a.hb.displayObject(),b)} +class cU extends P{constructor({F:a,xa:b,Of:c,Uf:d,V:e,ga:f}){super({F:a});this.oc=c;this.Xq=d;this.B=e;this.I=f;this.K=b;this.Ic=this.qs();this.hb=this.qv();this.nb=this.oE();this.gb=this.pv();this.rb=this.rv();this.ra=Ki();wn(this.displayObject(),this.ra);yi(this.displayObject(),"0 100%");this.lN=E(this);this.oN=E(this);this.kN=E(this);this.qN=E(this);B(this,new aU({Of:c,Uf:d,V:e,bottomPanel:this}));z(this,this.oc.pb,this.Ki,this);z(this,this.Xq.pb,this.Ki,this)}jr(){return!this.oc.Re&&!this.oc.yf&& +!this.oc.xf&&!this.oc.Qd}Ki(){this.Xq.Di&&!this.Ic&&(this.Ic=this.qs());this.Ic&&this.Ic.J(this.Xq.Di);this.oc.xf&&!this.hb&&(this.hb=this.qv());this.hb&&this.hb.J(this.oc.xf);this.oc.Qd&&!this.nb&&(this.nb=this.oE());this.nb&&this.nb.J(this.oc.Qd);this.oc.Qd||this.Nx();this.oc.yf&&!this.rb&&(this.rb=this.rv());this.rb&&this.rb.J(this.oc.yf);this.oc.Re&&!this.gb&&(this.gb=this.pv());this.gb&&this.gb.J(this.oc.Re);this.Sy()}Nx(){}qy(){}CS(){}Sx(){}qs(){return null}Sy(){}};class dU extends P{constructor(a,b,c){super({F:c});this.Tb=a;this.gm=this.BK(b);M(this,this.gm);this.Hm=this.rE();M(this,this.Hm);this.X(a,!0)}get id(){return this.Tb}UR(a){this.gm.ha(a)}gn(a){this.Hm.ha(a)}BK(a){const b=new P({ka:O(this,"label")});b.ha(a);return b}rE(){return new P({ka:O(this,"value")})}}function eU(a,b,c){a.to(b,d=>d.X("selected",c))}function fU(a,b,c){if(!a.jb.has(b)){const d=new dU(b,c,a.CV());a.jb.set(b,d);M(a,d);z(a,d.ja,()=>a.uA.C(a.vF(d)))}} +class gU extends P{constructor(){super({F:"rate-menu"});this.jb=new Map;this.uA=E(this)}get nu(){return this.uA}X1(a,b){this.to(a,c=>c.J(b))}my(a,b){this.to(a,c=>c.UR(b))}W1(a,b){this.to(a,c=>c.qa(b))}CV(){}vF(a){return a.id}to(a,b){this.jb.has(a)&&b(this.jb.get(a))}};var hU=class extends gU{constructor(a){super();this.I=a;this.Dw=new Map(xg.map(b=>[`${b}x`,b]));this.MJ();z(this,this.I.og,this.Eg,this)}$I(a){this.Dw.forEach((b,c)=>eU(this,c,b==a))}CV(){return"rate-menu-item"}vF(a){return this.Dw.has(a.id)?this.Dw.get(a.id):a.id}MJ(){fU(this,"caption",this.I.ia("PB_RATE_MENU_CAPTION"));this.Dw.forEach((a,b)=>fU(this,b,b))}Eg(a){"PB_RATE_MENU_CAPTION"===a&&this.my("caption",this.I.ia("PB_RATE_MENU_CAPTION"))}};function iU(a,b){a&&b.forEach(c=>{a&&a.X(c,!1)})} +class jU extends cU{constructor({F:a,Uf:b,xa:c,Of:d,V:e,ga:f}){super({F:a,Of:d,Uf:b,V:e,ga:f,xa:c});this.hb&&M(this,this.hb);this.nb&&M(this,this.nb);this.rb&&M(this,this.rb);this.gb&&M(this,this.gb);(this.Kc=this.gz())&&M(this,this.Kc);this.nb&&(this.NJ(),z(this,this.B.Il().Qj,this.jx,this));this.jx()}Ki(){super.Ki();this.hb&&!this.tf(this.hb)&&M(this,this.hb);this.nb&&!this.tf(this.nb)&&M(this,this.nb);this.gb&&!this.tf(this.gb)&&M(this,this.gb);this.rb&&!this.tf(this.rb)&&M(this,this.rb)}Nx(){this.Kc&& +this.Kc.J(!1)}CS(a){this.hb&&this.hb.X("is-playing",a)}qv(){if(this.oc.xf){const a=new ZC({F:"play"});z(this,a.ja,()=>this.lN.C(),this);-1==this.B.ma()&&(a.qa(!1),Qe(this,this.B.vc(),()=>a.qa(!0)));return a}return null}oE(){if(this.oc.Qd){const a=new ZC({F:"rate"});z(this,a.ja,this.bG,this);return a}return null}rv(){if(this.oc.yf){const a=new ZC({F:"prev"});z(this,a.ja,()=>this.oN.C(),this);return a}return null}pv(){if(this.oc.Re){const a=new ZC({F:"next"});z(this,a.ja,()=>this.kN.C(),this);return a}return null}gz(){const a= +new hU(this.I);a.W1("caption",!1);a.J(!1);z(this,a.nu,b=>this.qN.C(Number(b)),this);return a}NJ(){x(this,document,Km,a=>{this.Kc.visible()&&(a=a.target,Md(this.nb.displayObject(),a)||Md(this.Kc.displayObject(),a)||this.Kc.J(!1))})}jx(){this.Kc&&this.Kc.$I(this.B.Il().playbackRate())}bG(){this.Kc&&this.Kc.J(!this.Kc.visible())}};class kU extends jU{constructor({V:a,Uf:b,xa:c,slides:d,Of:e,ga:f}){super({F:"bottom-panel",Of:e,Uf:b,V:a,ga:f,xa:c});this.M=d;this.jr()&&this.Wc(0);this.dC()}Ki(){super.Ki();this.dC()}Kb(a){super.Kb(a/this.ra)}dC(){const a=["first","second"];iU(this.hb,a);iU(this.nb,a);this.hb&&this.hb.visible()&&this.hb.X(a.shift(),!0);this.nb&&this.nb.visible()&&this.nb.X(a.shift(),!0);this.nb&&this.nb.visible()&&this.Kc&&this.Kc.X("rate-button-first",this.nb.OC("first"));this.rb&&this.rb.X("next-button-hidden", +!this.gb||!this.gb.visible())}};class lU extends jU{constructor({Of:a,xa:b,Uf:c,V:d,ga:e}){super({F:"landscape-bottom-panel",Of:a,Uf:c,V:d,ga:e,xa:b});this.Ic&&M(this,this.Ic);this.dC();this.Sy()}Ki(){super.Ki();this.Ic&&!this.tf(this.Ic)&&M(this,this.Ic);this.dC()}jr(){return!this.Xq.Di&&super.jr()}qy(){return this.Ic?this.Ic.ja:new C}Wc(a){super.Wc(a/this.ra)}Sy(){this.jr()?this.Kb(0):L(this,"width","")}qs(){return this.Xq.Di?new ZC({F:"menu"}):null}dC(){const a=["first","second","third"];iU(this.hb,a);iU(this.nb,a);iU(this.Ic, +a);this.Ic&&this.Ic.visible()&&this.Ic.X(a.shift(),!0);this.hb&&this.hb.visible()&&this.hb.X(a.shift(),!0);this.nb&&this.nb.visible()&&this.nb.X(a.shift(),!0);this.Kc&&this.Kc.X("landscape",!0);this.rb&&this.rb.X("next-button-hidden",!this.gb||!this.gb.visible())}};class mU extends P{constructor(){super({F:"progress"});this.An=0;this.ra=Ki();wn(this.displayObject(),this.ra);yi(this.displayObject(),"0 100%")}Lg(a){this.An=xv(a,0,1);this.xb()}Kb(a){super.Kb(a/this.ra)}};class nU extends mU{Qa(a,b){super.Qa(a,b);a=this.displayObject();b=(b=`${100*this.An}%`)?b+"":"";var c=a.style.getPropertyValue("--play-progress");b!=c&&a.style.setProperty("--play-progress",b)}};class oU extends mU{constructor(){super();this.UX=new P({F:"playback-progress"});M(this,this.UX)}Qa(a,b){super.Qa(a,b);this.UX.Kb(a*this.An)}};class pU extends cU{constructor({F:a,Uf:b,Of:c,V:d,ga:e,xa:f}){super({F:a,Of:c,Uf:b,V:d,ga:e,xa:f});this.hb&&M(this,this.hb);this.nb&&M(this,this.nb);this.Kd=this.$y();this.Tj=new P({F:"rate-menu-popup"});M(this,this.Tj);this.Kc=this.gz();M(this.Tj,this.Kc);this.nb&&(this.NJ(),z(this,this.B.Il().Qj,this.AH,this),this.AH())}Ki(){super.Ki();this.hb&&!this.tf(this.hb)&&M(this,this.hb,1);this.nb&&!this.tf(this.nb)&&M(this,this.nb,2);!this.rb&&!this.gb||this.Kd||(this.Kd=this.$y())&&M(this,this.Kd);this.Kd&& +(this.Kd.J(!!this.rb||!!this.gb),this.rb&&!this.Kd.tf(this.rb)&&M(this.Kd,this.rb,0),this.gb&&!this.Kd.tf(this.gb)&&M(this.Kd,this.gb,1))}Nx(){this.Tj.J(!1)}CS(a){this.hb&&this.hb.on(Z(this.K,a?"pause":"play"))}AH(){const a=this.B.Il().playbackRate();this.Kc.$I(a)}bG(){const a=!this.Tj.visible();a&&this.Sx();this.Tj.J(a)}$y(){if(this.rb||this.gb){const a=new P({F:"navigation-controls"});M(this,a);this.rb&&M(a,this.rb);this.gb&&M(a,this.gb);return a}return null}qv(){if(this.oc.xf){const a=new iM({type:"uikit-secondary-button", +icon:{element:Z(this.K,"play"),Ne:"left"}});z(this,a.ja,()=>this.lN.C(),this);-1==this.B.ma()&&(a.qa(!1),Qe(this,this.B.vc(),()=>a.qa(!0)));return a}return null}rv(){if(this.oc.yf){const a=new iM({type:"uikit-secondary-button",icon:{element:Z(this.K,"prev"),Ne:"left"}});z(this,a.ja,()=>this.oN.C(),this);this.oc.Re||a.X("next-button-hidden",!0);return a}return null}pv(){if(this.oc.Re){const a=new iM({type:"uikit-primary-button",icon:{element:Z(this.K,"next"),Ne:"left"}});z(this,a.ja,()=>this.kN.C(), +this);return a}return null}gz(){const a=new dQ(this.I,this.K);z(this,a.nu(),b=>this.qN.C(Number(b)),this);return a}NJ(){x(this,document,Km,a=>{this.Tj.visible()&&(a=a.target,Md(this.nb.displayObject(),a)||Md(this.Tj.displayObject(),a)||this.Tj.J(!1))})}};class qU extends pU{constructor({V:a,Uf:b,slides:c,Of:d,ga:e,xa:f}){super({F:"bottom-panel",Of:d,Uf:b,V:a,ga:e,xa:f});this.M=c;this.jr()&&this.Wc(0);this.Sx()}Ki(){super.Ki();this.Sx()}Kb(a){super.Kb(a/this.ra)}Sx(){if(this.nb){const a=this.nb.displayObject().offsetLeft;L(this.Tj,"left",`${a}px`);L(this.Tj,"bottom","56px")}}oE(){if(this.oc.Qd){var a=Z(this.K,`rate-${this.B.Il().playbackRate()}x`);a=new iM({type:"uikit-secondary-button",icon:{element:a,Ne:"left"}});z(this,a.ja,this.bG,this);return a}return null}AH(){const a= +this.B.Il().playbackRate();this.nb.on(Z(this.K,`rate-${a}x`));super.AH()}};class rU extends pU{constructor({Of:a,Uf:b,V:c,ga:d,xa:e}){super({F:"landscape-bottom-panel",Of:a,Uf:b,V:c,ga:d,xa:e});this.Ic&&M(this,this.Ic,0);this.Kc&&this.Kc.X("landscape",!0);this.Sy();this.Sx();this.AB=E(this)}Ki(){super.Ki();this.Ic&&!this.tf(this.Ic)&&M(this,this.Ic,0)}jr(){return!this.Xq.Di&&super.jr()}qy(){return this.AB}Wc(a){super.Wc(a/this.ra)}Sx(){this.nb&&(L(this.Tj,"right","56px"),L(this.Tj,"top","8px"))}Sy(){this.jr()?this.Kb(0):L(this,"width","")}qs(){if(this.Xq.Di){const a=new iM({type:"uikit-secondary-button", +icon:{element:Z(this.K,"outline_landscape"),Ne:"left"}});z(this,a.ja,()=>this.AB.C(),this);return a}return null}oE(){if(this.oc.Qd){const a=new iM({type:"uikit-secondary-button",icon:{element:Z(this.K,"rate"),Ne:"left"}});z(this,a.ja,this.bG,this);return a}return null}};class sU extends P{constructor(a){super({F:"item"});"attachment"==a.type()?this.O(new P({F:"attachment-icon"})):"webLink"==a.type()&&this.O(new P({F:"url-icon"}));const b=new P({F:"text"});b.ha(a.title());this.O(b);this.ja.addHandler(()=>{try{let c=a.url();if("attachment"==a.type()){const d=c.lastIndexOf("/");c=c.substring(0,d+1)+encodeURIComponent(c.substring(d+1))}Ri(c,a.target())}catch(c){}},this)}} +class tU extends P{constructor(a){super({F:"resources"});this.O(new P({F:"separator"}));for(let b=0;bthis.Y0)if(this.dispatchEvent(new BU("start",this,a.clientX,a.clientY,a)))this.hu=!0;else{this.Bx||this.gI(a);return}}c=EU(this,b,c);b=c.x;c=c.y;this.hu&&this.dispatchEvent(new BU("beforedrag",this,a.clientX,a.clientY,a,b,c))&& +(FU(this,a,b,c),a.preventDefault())}};function EU(a,b,c){var d=vd(od(a.od).od);b+=d.x-a.vR.x;c+=d.y-a.vR.y;a.vR=d;a.deltaX+=b;a.deltaY+=c;return new Xc(CU(a,a.deltaX),DU(a,a.deltaY))}k.Vba=function(a){var b=EU(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;FU(this,a,b.x,b.y)};function FU(a,b,c,d){a.AD&&AU(a)?a.target.style.right=c+"px":a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new BU("drag",a,b.clientX,b.clientY,b,c,d))} +function CU(a,b){var c=a.f1;a=isNaN(c.left)?null:c.left;c=isNaN(c.width)?0:c.width;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))}function DU(a,b){var c=a.f1;a=isNaN(c.top)?null:c.top;c=isNaN(c.height)?0:c.height;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))}function BU(a,b,c,d,e,f,g){be.call(this,a);this.clientX=c;this.clientY=d;this.eu=e;this.left=void 0!==f?f:b.deltaX;this.top=void 0!==g?g:b.deltaY}r(BU,be);function GU(a,b,c,d,e){Jt.call(this,a);void 0===e&&(e={});void 0!==d&&(e.snap=d);HU(this,e,b,c);this.jj=new C}r(GU,Jt); +function HU(a,b,c,d){d=d||"auto";c=c||"auto";if(Ii){Lt(a,"overflow","hidden");a.sa=new Jt(a.za());let e=!1;b.hideScrollbar=void 0!==b.hideScrollbar?b.hideScrollbar:!0;b.onBeforeScrollEnd=function(f){e&&(f.preventDefault(),f instanceof ie&&(f=f.te),gh||(gh=new WeakMap),gh.set(f,!0))};b.vScroll="hidden"!=d;b.hScroll="hidden"!=c;b.scrollbarClass="scrollbar";b.onBeforeScrollMove=function(f){f.preventDefault()};b.onBeforeScrollStart=function(f){e=!1;f.target&&"INPUT"!=f.target.nodeName&&"A"!=f.target.nodeName&& +f.preventDefault()};a.wd=new iScroll(a.displayObject(),b);a.wd.options.onScrollMove=function(){e=!0;a.jj.C()};a.wd.options.onScrollEnd=function(){a.jj.C()}}else F(a.za(),"overflow","hidden"),F(a.za(),"width","100%"),F(a.za(),"height","100%"),a.sa=new Mt,a.sa.displayObject().className=a.za().className,Bd(a.za(),a.sa.displayObject()),"hidden"!=d&&(a.ua=IU(a),a.ua.XB.addHandler(a.mX,a),a.O(a.ua)),"hidden"!=c&&(a.Nc=JU(a),a.Nc.XB.addHandler(a.mX,a),a.O(a.Nc)),b=new jM(a.displayObject()),a.V8=!0,ve(a.displayObject(), +"mouseover",a.h9,!1,a),ve(a.displayObject(),"mouseout",a.km,!1,a),ve(b,"mousewheel",a.F6,!1,a),ve(document,Lm,a.YF,!1,a),ve(a.za(),"scroll",a.e7,!1,a)}k=GU.prototype;k.eM=!1;k.pF=!1;k.invalidate=function(){const a=this;setTimeout(()=>{a.wd?a.wd.refresh():KU(a)},0)};k.mX=function(){this.pF=!0};k.YF=function(a){this.pF&&(a.te.stopImmediatePropagation(),this.pF=!1,!this.eM&&this.V8&&LU(this))}; +k.F6=function(a){if(this.ua&&a.deltaY){var b=0c)throw Error("minScrollPosition must be less or equal than maxScrollPosition");this.$k=a;this.Vi=b;this.Kj=c;this.jt=d;this.Ls();this.Sf(this.Eb)}; +k.Ls=function(){};k.fq=function(){};k.Dt=function(a){a=xv(a,this.Vi,this.Kj);this.Eb!=a&&(this.Eb=a,this.jj.C())};k.xt=function(a){this.Sf(this.Eb+a)};k.hx=function(){};k.zN=function(a){a.stopPropagation();this.xt(-this.Oe());this.MB(this.kf,-this.Oe())};k.$M=function(a){a.stopPropagation();this.xt(this.Oe());this.MB(this.mh,this.Oe())}; +k.MB=function(a,b){this.vm=a;ve(this.vm.displayObject(),"mouseover",this.JA,!1,this);ve(this.vm.displayObject(),"mouseout",this.IA,!1,this);ve(document,Lm,this.jB,!1,this);this.ij.stop();this.Hq=function(){this.xt(this.KG)};this.KG=b;this.ij.start()};k.jB=function(){De(this.vm.displayObject(),"mouseover",this.JA,!1,this);De(this.vm.displayObject(),"mouseout",this.IA,!1,this);De(document,Lm,this.jB,!1,this);this.ij.stop();this.Hq=null};k.JA=function(){this.ij.start()};k.IA=function(){this.ij.stop()}; +k.rN=function(){this.Hq&&this.Hq()};k.MA=function(a){this.XB.C();a.stopPropagation();const b=this.oP();this.ts=new yU(this.La.displayObject(),null,b);this.ts.nS(a);this.ts.deltaY=this.La.displayObject().offsetTop-this.kf.height();this.ts.deltaX=this.La.displayObject().offsetLeft-this.kf.width();ve(this.ts,"drag",this.mm,!1,this);a=this.La.displayObject();mn(a,"active")};k.RF=function(a){this.ts&&(a.preventDefault(),this.ts.gd(),this.ts=void 0,a=this.La.displayObject(),nn(a,"active"))};k.mm=function(){}; +k.resize=function(a,b){TU.Mb.resize.call(this,a,b);this.Ls()};k.gd=function(){Te(this.La);Te(this.mh);Te(this.kf)};function OU(){TU.call(this,"vscrollbar")}r(OU,TU);k=OU.prototype;k.Ls=function(){const a=this.height()-this.kf.height()-this.mh.height();0==mM(this)?this.La.Wc(a):this.La.Wc(Math.max(this.DF,Math.ceil(this.$k/(mM(this)+this.$k)*a)));this.fq()};k.fq=function(){const a=this.si();0==mM(this)?this.La.Tf(a.top):this.La.Tf(Math.round((this.Eb-this.Vi)/mM(this)*a.height))}; +k.si=function(){const a=new Wf(0,0,0,0);a.top=this.kf.height();a.height=this.height()-this.mh.height()-this.La.height()-a.top;a.left=this.La.x();return a};k.oP=function(){const a=this.si();a.top=0;return a};k.hx=function(a){var b=this.si();a=a.offsetY-this.kf.height()-this.La.height()/2;a=xv(a,0,b.height);b=0!=this.jt?this.jt:this.$k;b=a<=this.La.y()?-b:b;this.Sf(this.Eb+b);this.mm()};k.mm=function(){var a=this.si();a=parseFloat(this.La.displayObject().style.top)/a.height;this.Dt(a*mM(this)+this.Vi)}; +function QU(){TU.call(this,"hscrollbar")}r(QU,TU);k=QU.prototype;k.Ls=function(){const a=this.width()-this.kf.width()-this.mh.width();0==mM(this)?this.La.Kb(a):this.La.Kb(Math.max(this.DF,Math.ceil(this.$k/(mM(this)+this.$k)*a)));this.fq()};k.fq=function(){const a=this.si();0==mM(this)?this.La.xj(a.left):this.La.xj(Math.round((this.Eb-this.Vi)/mM(this)*a.width))}; +k.si=function(){const a=new Wf(0,0,0,0);a.left=this.kf.width();a.width=this.width()-this.mh.width()-this.La.width()-a.left;a.top=this.La.y();return a};k.oP=function(){const a=this.si();a.left=0;return a};k.hx=function(a){const b=this.si();a=a.offsetX-this.kf.width()-this.La.width()/2;a=xv(a,0,b.width);this.La.xj(a);this.mm()};k.mm=function(){var a=this.si();a=parseFloat(this.La.displayObject().style.left)/a.width;this.Dt(a*mM(this)+this.Vi)};function UU(a){a.tw=[a.H.showOutline&&"outline",a.H.ye&&"notes",a.H.hh&&"presenterInfo",a.H.hJ&&"attachments"].filter(b=>!!b);VU(a)}function WU(a,b,c){const d=b&&a.tw.includes(b)?b:a.tw[0];if(c||a.Qp!=b)a.Qp=d,a.na.VR(d),a.Ka&&XU(a.Ka,d),(b=a.LU(d))&&YU(a,b)} +function VU(a){var b=a.displayObject();nn(b,"tab_control");Se(a,a.Ka);a.Ka=null;if(1d||(d=f,fb.top?e=b.top:c+lb.left?f=b.left:d+h{var d=this.sa.displayObject();nn(d,"animation");this.Oj&&this.sa.content().removeChild(this.Oj);this.Oj=c;RU(this.sa, +0,0);this.vq=a;this.fF()},!1,this);b.play()}aU(){this.qr().C()}f9(){this.SO(void 0,!0)}fF(){var a=this.na;a.vq=this.vq;a.xb();this.sa.invalidate();this.na.xb()}};function XU(a,b){Object.keys(a.Xf).forEach(c=>{a.Xf[c].Eh(b===c)})}function cV(a,b){switch(b){case "outline":return a.I.ia("PB_TITLE_PANEL_OUTLINE");case "notes":return a.I.ia("PB_TITLE_PANEL_NOTES");case "attachments":return a.I.ia("PB_TITLE_PANEL_ATTACHMENTS");case "presenterInfo":return a.I.ia("PB_TITLE_PANEL_PRESENTER_INFO")}throw Error("unknown page type");} +function dV(a){switch(a){case "PB_TITLE_PANEL_OUTLINE":return"outline";case "PB_TITLE_PANEL_NOTES":return"notes";case "PB_TITLE_PANEL_PRESENTER_INFO":return"presenterInfo";case "PB_TITLE_PANEL_ATTACHMENTS":return"attachments"}throw Error("unexpected message id");} +class eV extends P{constructor(a){super({F:"bottom-panel"});this.I=a;this.Xf={};this.un=[];this.sZ=new C;z(this,this.I.og,this.X4,this)}cQ(a){const b=this.Ae(a);this.O(b);z(this,b.ja,()=>this.sZ.C(a));this.Xf[a]=b;this.un.push(a)}resize(a,b){super.resize(a,b);b=Math.floor(a);a=Math.floor(b/this.un.length);b-=this.un.length*a;for(let c=0;c{a.hp?this.nZ.C(this):this.uZ.C(this)})}slide(){return this.ya}$Q(){}mO(){}};class nV{constructor(a,b,c){this.slide=a;this.tc=b;this.ku=c||"";this.selected=this.hp=!1}};class oV extends mV{constructor(a,b){super({selected:a.selected,tc:a.tc,hp:a.hp,slide:a.slide},b);this.Vh=a;this.Cm.ha(this.ME())}$Q(){var a=parseFloat(Eh(this.displayObject(),"min-height"));const b=lV(this),c=this.Cm?this.Cm.height():0;a=Math.max(a,b,c);this.Cm&&this.Cm.Tf(a>c?Math.floor((a-c)/2):0);this.Wc(a)}ME(){let a=this.ya.title()||"---";this.Vh.ku&&(a=this.Vh.ku+". "+a);return a}mO(){const a=Math.min(1,77/this.Ad.width(),58/this.Ad.height());this.Zi.resize(Math.round(this.Ad.width()*a),Math.round(this.Ad.height()* +a))}};class pV extends kV{constructor(a,b){super();this.O(new P({F:"separator"}));a.forEach(c=>jV(this,new oV(c,b)))}};class qV extends P{constructor(a){super({F:"search_panel"});this.I=a;this.yt=new C;this.Gs=!1;this.SG=new P({F:"search_container"});M(this,this.SG);this.He=new FO({F:"search_input",prompt:a.ia("PB_SEARCH_PANEL_DEFAULT_TEXT")});M(this.SG,this.He);this.Qi=new RG(!1,"clear");M(this.SG,this.Qi);this.jv=new RG(!1,"cancel");this.jv.ha(a.ia("PB_SEARCH_CANCEL"));this.O(this.jv);z(this,this.He.bF,this.eG,this);z(this,this.Qi.ja,this.DA,this);z(this,a.og,this.Eg,this)}UI(){this.He.displayObject().blur()}J(a){super.J(a); +a?(this.xb(),this.Qi.J(""!=this.He.value())):(this.Gs=!0,this.He.gn(""),this.Gs=!1)}Bu(a){this.He.gn(a)}Qa(){L(this.SG,"right",this.jv.width()+"px")}DA(){this.He.gn("");this.eG()}eG(){this.Qi.J(""!=this.He.value());this.Gs||this.yt.C(this.He.value())}Eg(a){"PB_SEARCH_PANEL_DEFAULT_TEXT"===a&&this.He.setAttribute("placeholder",this.I.ia("PB_SEARCH_PANEL_DEFAULT_TEXT"))}};function rV(a){let b;"outline"==a.Gb&&void 0!==a.vq?(b=a.KX,a.Xu.J(!0),sV(a,!1)):(a.Xu.J(!1),"outline"===a.Gb&&a.H.outline.search&&sV(a,!0));void 0===b&&(b=tV(a,a.Gb));a.re.ha(b)}function sV(a,b){a.qe&&a.qe.J(b)}function uV(a){return a.H.outline.search&&"outline"===a.Gb&&(!a.Sc||!a.Sc.visible())} +function tV(a,b){switch(b){case "outline":return a.I.ia("PB_TITLE_PANEL_OUTLINE");case "notes":return a.I.ia("PB_TITLE_PANEL_NOTES");case "attachments":return a.I.ia("PB_TITLE_PANEL_ATTACHMENTS");case "presenterInfo":return a.I.ia("PB_TITLE_PANEL_PRESENTER_INFO")}throw Error("unknown page type");} +class vV extends P{constructor(a,b,c){super({F:"menu-layer-top-panel"});this.I=a;this.K=b;this.H=c;this.vq=void 0;this.KX="";this.Gb="outline";this.yt=E(this);this.cT=E(this);this.gE=E(this);this.re=this.sv();M(this,this.re);this.fE=this.LT();z(this,this.fE.ja,()=>this.qr().C());M(this,this.fE);this.Sc=this.qe=null;this.xV();this.Xu=this.JT();z(this,this.Xu.ja,()=>this.cT.C());M(this,this.Xu);z(this,this.H.outline.pb,this.xV,this);z(this,this.I.og,this.d5,this)}qr(){return this.gE}VR(a){this.Gb=a; +rV(this);"outline"==this.Gb&&this.H.outline.search?sV(this,!0):(sV(this,!1),this.HL())}UI(){this.Sc&&this.Sc.UI()}Bu(a){this.Sc&&(this.Sc.Bu(a),a&&this.RO(!1))}xV(){!this.H.outline.search||this.qe||this.Sc||(this.qe=this.pE(),this.qe.J(uV(this)),M(this,this.qe),z(this,this.qe.ja,this.RO,this),this.Sc=this.PT(),this.Sc.J(!1),z(this,this.qe.ja,this.g7,this),M(this,this.Sc),z(this,this.Sc.jv.ja,this.xW));this.Sc&&this.Sc.visible()&&!(this.H.outline.search&&"outline"===this.Gb&&this.Sc&&this.Sc.visible())&& +this.xW();this.qe&&this.qe.J(uV(this))}g7(a){this.yt.C(a)}xW(){this.yt.C("");this.HL()}Qa(){rV(this);this.Sc&&this.Sc.visible()&&this.Sc.xb()}$R(a){this.KX=a}d5(a){switch(a){case "PB_TITLE_PANEL_OUTLINE":case "PB_TITLE_PANEL_NOTES":case "PB_TITLE_PANEL_ATTACHMENTS":case "PB_TITLE_PANEL_PRESENTER_INFO":rV(this)}}};class wV extends vV{LT(){return new ZC({F:"close"})}pE(){return new ZC({F:"search"})}PT(){return new qV(this.I)}JT(){return new ZC({F:"back"})}sv(){return new P({F:"tab-title"})}RO(a){this.H.outline.search&&(void 0===a&&(a=!0),this.Sc.J(!0),a&&this.Sc.He.focus())}HL(){let a;null==(a=this.Sc)||a.J(!1)}};class xV extends aV{constructor({ga:a,xa:b,slides:c,resources:d,settings:e}){super({ga:a,xa:b,slides:c,resources:d,settings:e})}Op(){return new wV(this.I,this.K,this.H)}nE(){return new gV(this.I)}LU(a){if("outline"==a){if(this.kj){this.na.Bu(this.kj);return}return ZU(this,this.vq)&&this.Gf?new P({za:this.Gf.displayObject()}):this.qE()}if("attachments"==a)return new tU(this.Hw);if("presenterInfo"==a)return new iV(this.I,this.K,this.hl.Qf());if("notes"==a){a=new P({F:"notes"});const b=this.hl.Ei(); +b&&b.text()&&a.ha(b.text());return a}throw Error("unknown page type");}qE(){const a=[];for(let c=0;c{if(0>g.toLocaleLowerCase().indexOf(a))return!1;e=g.replace(new RegExp(`(${a.toLocaleLowerCase()})`,"gi"),"$1");f=`${this.I.ia(d)}
    `+c;return!0});return e&&f?f+e:null}ME(){const a=this.Vh.ku?this.Vh.ku+". ":"";if(this.Vh.jy&&this.Vh.location&&(-1$1"),a+(b||"---")):a+(b||"---")}Eg(a){switch(a){case "PB_SEARCH_RESULT_IN_TEXT_LABEL":case "PB_SEARCH_RESULT_IN_NOTES":this.Cm.wp(this.ME())}}};class EV extends kV{constructor(a,b,c){super();a.forEach(d=>jV(this,new DV(d,b,c)))}};class FV extends P{constructor(a,b){super({F:"search_panel"});this.I=a;this.yt=new C;this.Gs=!1;this.K=b;b=new P({za:Z(this.K,"search"),ka:O(this,"search-icon")});M(this,b);this.He=new FO({F:"search_input",prompt:a.ia("PB_SEARCH_PANEL_DEFAULT_TEXT")});M(this,this.He);b=new P({ka:O(this,"cancel-button")});const c=new P({za:Z(this.K,"close")});M(b,c);this.jv=b;M(this,this.jv);z(this,this.He.bF,this.eG,this);z(this,a.og,this.Eg,this)}UI(){this.He.displayObject().blur()}J(a){super.J(a);a||(this.Gs=!0, +this.He.gn(""),this.Gs=!1)}Bu(a){this.He.gn(a)}eG(){this.Gs||this.yt.C(this.He.value())}Eg(a){"PB_SEARCH_PANEL_DEFAULT_TEXT"===a&&this.He.setAttribute("placeholder",this.I.ia("PB_SEARCH_PANEL_DEFAULT_TEXT"))}};class GV extends vV{LT(){return this.Ae(Z(this.K,"close"),"close-button")}pE(){return this.Ae(Z(this.K,"search"),"search-button")}PT(){return new FV(this.I,this.K)}JT(){return this.Ae(Z(this.K,"back"),"back-button")}sv(){return new P({F:"tab-title"})}Ae(a,b){b=new P({F:b});a=new P({za:a});M(b,a);return b}RO(a){void 0===a&&(a=!0);this.Sc.J(!0);this.qe.J(!1);this.fE.J(!1);this.re.J(!1);a&&this.Sc.He.focus()}HL(){this.Sc&&(this.Sc.J(!1),this.fE.J(!0),this.re.J(!0),"outline"===this.Gb&&this.H.outline.search&& +this.qe.J(!0))}};class HV extends aV{constructor({ga:a,xa:b,slides:c,resources:d,settings:e}){super({ga:a,xa:b,slides:c,resources:d,settings:e})}Op(){return new GV(this.I,this.K,this.H)}nE(){return new AV(this.I,this.K)}LU(a){if("outline"==a){if(this.kj){this.na.Bu(this.kj);return}return ZU(this,this.vq)&&this.Gf?new P({za:this.Gf.displayObject()}):this.qE()}if("attachments"==a)return new sN(this.Hw,this.K,this.I);if("presenterInfo"==a)return new BV(this.I,this.K,this.hl.Qf());if("notes"==a){a=new P({F:"notes"}); +const b=this.hl.Ei();b&&b.text()&&a.ha(b.text());return a}throw Error("unknown page type");}qE(){const a=[];for(let c=0;cthis.jz(a.slide,!0,$U(this,a.slide),a.location))}};function IV(a,b){a.EZ.wp(b)}function JV(a){a.Ic&&z(a,a.Ic.ja,()=>a.AB.C(),a)} +class KV extends P{constructor(a,b,c){super({F:"top-panel"});this.K=a;this.B=b;this.H=c;this.AB=E(this);this.ra=Ki();this.EZ=new P({F:"slide-info"});M(this,this.EZ);this.Ic=null;this.vV();wn(this.displayObject(),this.ra);yi(this.displayObject(),"0 0");z(this,this.H.pb,this.vV,this)}qy(){return this.AB}Kb(a){super.Kb(a/this.ra)}vV(){this.H.Di&&!this.Ic&&(this.Ic=this.qs(),JV(this),M(this,this.Ic));this.Ic&&this.Ic.J(this.H.Di)}};class LV extends KV{constructor(a,b,c,d){super(a,b,c);Dj&&this.O(new WM({label:d.ia("PB_BACK_TO_APP_BUTTON_LABEL")}))}qs(){return new ZC({F:"menu"})}};class MV extends KV{constructor(a,b,c){super(a,b,c);Dj&&this.O(new WM({F:"back-to-app-button",eda:Z(a,"back_to_app")}))}qs(){const a=new P({F:"menu-button"});Gt(a,"menu");z(this,a.ja,()=>this.qy().C(),this);const b=new P({za:Z(this.K,"outline")});M(a,b);return a}};function NV(a,b){a.ob=new RT(!Mi);a.ob.J(!1);yi(a.ob.displayObject(),"left top");a.O(a.ob.displayObject());x(a,a.ob.displayObject(),"click",a.tN,a,!0);z(a,a.B.$().Ec(),()=>{const c="buffering"==a.B.$().state();var d=a.ob;c?d.Ff.show():d.Ff.Uc()});vO(a.ob,b.Tr().view());b=a.G.qd().Vf();for(let c=0;c{"activated"==e.playbackState()?(wO(a.ob,e.width(),e.height()),XT(a.ld),a.Ph!=e&&(a.Ph=e)):"deactivated"==e.playbackState()&&(a.Ph=void 0); +a.Xz()})}a.ld=new ZT({rda:a.ob,$x:a.R,pQ:new IT(a.H)});z(a,a.ld.vA,a.xN,a)}function OV(a){if(a.va){const b=a.Ka?a.Ka.height()*a.ra:0;L(a.va,"bottom",`${b}px`)}}function PV(a,b){z(a,b.yZ,(c,d,e)=>{QV(a)&&(e.preventAction(),a.tN())})} +function RV(a){if(a.H.topPanel.Di){var b=a.D.Ca().resources().Ai();b={ga:a.I,xa:a.K,slides:a.D.Ca().slides(),resources:b,settings:a.H.Pe};a.Jd=a.H.ui?new HV(b):new xV(b);a.Jd.J(!1);B(a,a.Jd);z(a,a.Jd.qr(),a.O3,a);z(a,a.Jd.RU,c=>{a.Xy();a.R.Cd().ue(c.index(),!0)});1a.zB())}function TV(a){if(a.H.lc.QI)return!0;if(-1===a.B.ma())return!1;a=a.B.fa().sb();return 1{xt(this.displayObject(),"not_loaded");OV(this);g&&(e=new fM,e=new SM(a,e),Qe(this,e.VA,()=>this.B.play()),e.show(this.displayObject()))});b=this.fz();this.R.displayObject().appendChild(b.displayObject());PV(this,a.view().Rr());x(this,this.R.displayObject(), +"click",this.tN,this,!0);z(this,this.B.$().Zb(),this.Uz,this);z(this,this.H.topPanel.Cc,this.Tk,this);z(this,this.H.topPanel.pb,this.Tk,this);z(this,this.H.bottomPanel.Cc,this.Tk,this);z(this,this.H.lc.Cc,this.Tk,this)}Tk(){this.H.topPanel.visible&&!this.na?this.Op():!this.H.topPanel.visible&&this.na&&this.jO();this.na&&this.O(this.na);this.H.bottomPanel.visible&&!this.Ka?this.nE():!this.H.bottomPanel.visible&&this.Ka&&(Se(this,this.Ka),this.Ka=null);this.Ka&&this.O(this.Ka);this.Jv();!this.H.bottomPanel.visible&& +!this.H.topPanel.visible||this.xd?this.H.bottomPanel.visible||this.H.topPanel.visible||!this.xd||(Se(this,this.xd),this.xd=null):SV(this);this.xd&&this.O(this.xd);this.H.topPanel.Di&&!this.Jd?RV(this):!this.H.topPanel.Di&&this.Jd&&(this.Jd.visible()&&this.Xy(),Se(this,this.Jd),this.Jd=null);this.Jd&&this.O(this.Jd);this.Jj(this.md.width,this.md.height);this.H.ui&&this.Ka&&this.Ka.X("with-border",!this.va)}jO(){Se(this,this.na);this.na=null}Op(){this.H.topPanel.visible&&(this.na=this.H.ui?new MV(this.K, +this.rc,this.H.topPanel):new LV(this.K,this.rc,this.H.topPanel,this.I),z(this,this.na.ja,()=>this.Ui()),z(this,this.na.qy(),()=>this.zB()),B(this,this.na))}nE(){this.H.bottomPanel.visible&&(this.Ka=this.H.ui?new qU({V:this.R.Cd(),slides:this.D.Ca().slides(),Of:this.H.bottomPanel,Uf:this.H.topPanel,ga:this.I,xa:this.K}):new kU({V:this.R.Cd(),slides:this.D.Ca().slides(),Of:this.H.bottomPanel,Uf:this.H.topPanel,ga:this.I,xa:this.K}),B(this,this.Ka),z(this,this.Ka.ja,()=>this.Ui()))}Jv(){(this.H.ui?this.H.lc.visible&& +TV(this)&&!this.va:this.H.lc.visible&&!this.va)?this.rs():(this.H.ui?this.H.lc.visible&&TV(this)||!this.va:this.H.lc.visible||!this.va)||this.iB();this.va&&this.O(this.va)}iB(){Se(this,this.va);this.va=null}rs(){this.H.lc.visible&&(this.va=this.H.ui?new oU:new nU,B(this,this.va))}Uz(){if(this.va){var a=this.D.Ca().slides();if(this.H.lc.QI){var b=this.B.$().timestamp();a=a.ti(b,!1,!0)/a.Pu()}else{var c=this.B;if(-1==c.ma())a=0;else{var d=c.fa();b=c.$().timestamp();b=a.ti(b,!1,!1);c=-1==c.ma()?0:c.fa().sb().duration(); +d=new gf(d.index(),0,0);a=a.ti(d,!1,!1);a=0a.J(b.nd()));return a}zB(a,b){super.zB(a,b);this.Jd&&(this.Jd.$R(b||""),this.Jd.show(this.B.fa(),a));this.na&&this.na.J(!1);this.Ka&&this.Ka.J(!1);this.xd&&this.xd.J(!1)}Xy(){this.Jd&&this.Jd.Uc();const a=this.Dq;this.na&&this.na.J(!a);this.Ka&&this.Ka.J(!a);this.xd&&this.xd.J(!a);super.Xy()}VF(a){"changeLayout"==a.name()&&(a=a.params().type,this.ld.VR(a), +this.Ui())}Jj(a,b){this.md=new cd(a,b);a>b?(wt(this.displayObject(),"landscape"),this.ob&&wt(this.ob.displayObject(),"landscape")):(xt(this.displayObject(),"landscape"),this.ob&&xt(this.ob.displayObject(),"landscape"));this.xd&&this.xd.Nx();this.Ka&&this.Ka.Nx();this.ld.oD(this.md);super.Jj(a,b)}ZL(a,b,c){var d=QV(this);var e=0;if(this.na&&!QV(this)){var f=parseFloat(Eh(this.na.displayObject(),"height"));isNaN(f)||(e+=f)}this.Dq&&(e=0);a:{if(this.Ka&&!QV(this)&&(f=parseFloat(Eh(this.Ka.displayObject(), +"height")),!isNaN(f)))break a;f=0}e+=f;f=0;this.xd&&d&&(d=this.xd.width(),f+=d*this.ra,this.xd.Wc(b),this.xd.Tf(-(b/this.ra)+b),L(this.xd,"right",`${-d*(1-this.ra)}px`));d=a-f;super.ZL(d,b-e,c);UV(this,!0);this.Xz();OV(this);this.Jd&&(e=this.H.ui?1:this.ra,this.Jd.resize(a/e,b/e),this.Jd.visible()&&this.Jd.xb());this.va&&this.va.Kb(d);this.na&&this.na.Kb(a);this.Ka&&(L(this.Ka,"bottom",`${c}px`),this.Ka.Kb(a))}Xz(){ST(this.ld,this.hf&&!!this.Ph);this.ld.El();QV(this)||this.ld.xp(this.ob)}xN(a){this.ld.El(); +a&&(this.ld.Br()==this.R?this.displayObject().insertBefore(this.ob.displayObject(),this.R.displayObject()):this.displayObject().insertBefore(this.R.displayObject(),this.ob.displayObject()))}oe(){super.oe();var a=this.Ph,b=this.G.qd().Vf();if(!a)for(var c=0;c=this.B.ma()){a=e;break}}this.hf=!!a;ST(this.ld,this.hf);a=-1!=this.B.ma()?this.B.fa():null;this.na&&(b="-",a&&a.visible()&&(b=this.B.fa().Mi()+1),IV(this.na,b+"/"+this.G.slides().Cp())); +const d=this.Dq;[this.na,this.Ka,this.va,this.xd].forEach(e=>e&&e.J(!d));if(a=this.B.fb())b=this.B.fa(),c=new XL(this.rc,VL),b=new YL(a.playerController(),c,2==b.Qn),a.setExternalNavigationController(b);this.Ui();UV(this);this.Jv();this.Jj(this.md.width,this.md.height);this.ld.El()}Ui(){yj&&this.hf&&yn(this.ob.displayObject())}tN(a){if(QV(this)){var b=!1,c=this.B.$d();a&&a.target&&(b=c.view(),b=null===b.Gv?!1:-1!=Ia(b.Gv,Ld(a.target)));a=!1;this.na&&(a=0==this.na.opacity());b&&a||WV(this,a)}}showTopPanel(a){this.na&& +L(this.na,"z-index",a?"99":"")}showBottomPanel(a){this.Ka&&L(this.Ka,"z-index",a?"99":"");this.xd&&L(this.xd,"z-index",a?"99":"")}}XV.prototype.showBottomPanel=XV.prototype.showBottomPanel;XV.prototype.showTopPanel=XV.prototype.showTopPanel;class YV extends P{constructor({F:a,kc:b,ga:c,xa:d}){super({F:a,zf:!0});this.D=b;this.R=b.view();this.G=b.Ca();this.I=c;this.K=d;this.B=b.view().V();this.Da=this.B.$();this.rc=b.view().Cd();this.Gg=new EM(this.displayObject(),"popup-layer");Gt(this.Gg.Ro,O(this,"popup-layer"));this.Gk=new GM({ga:this.I,zJ:this.Gg});this.ra=1;z(this,b.uy(),this.fo,this);z(this,b.view().Cd().Yx(),this.$n,this);z(this,b.Qx(),(e,f,g)=>{if(g){e=new fM;e=new SM(b,e);var h=z(this,e.VA,()=>{Ke(this,h);this.B.play()},this); +e.show(this.displayObject())}},this)}Qa(a,b){a&&b&&this.Gg.Jl(a,b)}fo(a){if("resumePlayback"==a.action()&&"prompt"==this.G.settings().Vc().wu()){const b=this.B.Pf();this.TL(b);const c=a.L();a.xu("delayStartup");const d=a.Zw;(()=>{FM(this.Gk,{mn:"PB_RESUME_PRESENTATION_WINDOW_TEXT",icon:Z(this.K,"mb_question_icon"),buttons:[{Jg:"PB_MESSAGE_BOX_YES",result:"yes"},{Jg:"PB_MESSAGE_BOX_NO",result:"no"}]}).then(e=>{this.R.setOverlayDisplayed(!1);"yes"==e?d.resume(c,!0):d.start(b,!0)});this.R.setOverlayDisplayed(!0)})()}else"gotoSlide"== +a.action()&&this.TL(a.L())}TL(){}nh(a,b){return(a.la(b).Mi()+1).toString()}$n(a){const b={},c=this.G.slides();let d;switch(a.rd().type()){case "currentSlideIsNotCompleted":d="PB_CURRENT_SLIDE_IS_NOT_COMPLETED";break;case "backwardNavigationIsRestricted":case "forwardNavigationIsRestricted":d="sequential"==this.G.settings().navigation().navigationType()?"PB_NAVIGATION_IS_SEQUENTIAL":"PB_NAVIGATION_IS_RESTRICTED";break;case "interactionNotCompleted":d="PB_QUIZ_SLIDE_WINDOW_TEXT";a=this.B.fa();a instanceof +Bq?d="PB_SCENARIO_SLIDE_WINDOW_TEXT":a instanceof tq&&(d="PB_INTERACTION_SLIDE_WINDOW_TEXT");break;case "precedingQuizFailed":d="PB_PRECEDING_QUIZ_FAILED_WINDOW_TEXT";b.SLIDE_INDEX=this.nh(c,a.rd().Pd());break;case "precedingQuizNotPassed":d="PB_PRECEDING_QUIZ_NOT_PASSED_WINDOW_TEXT";b.SLIDE_INDEX=this.nh(c,a.rd().Pd());break;case "precedingQuizNotCompleted":d="PB_PRECEDING_QUIZ_NOT_COMPLETED_WINDOW_TEXT";b.SLIDE_INDEX=this.nh(c,a.rd().Pd());break;case "precedingScenarioNotPassed":d="PB_PRECEDING_SCENARIO_NOT_PASSED_WINDOW_TEXT"; +b.SLIDE_INDEX=this.nh(c,a.rd().Pd());break;case "precedingScenarioFailed":d="PB_PRECEDING_SCENARIO_FAILED_WINDOW_TEXT";b.SLIDE_INDEX=this.nh(c,a.rd().Pd());break;case "precedingScenarioNotCompleted":d="PB_PRECEDING_SCENARIO_NOT_COMPLETED_WINDOW_TEXT";b.SLIDE_INDEX=this.nh(c,a.rd().Pd());break;default:return}this.vo(d,b)}FA(a){Ws(this.Da,a)}vo(a,b){const c=this.B.$().suspended();this.R.setOverlayDisplayed(!0);FM(this.Gk,{mn:a,icon:Z(this.K,"mb_warning_icon"),buttons:[{Jg:"PB_MESSAGE_BOX_OK",result:"ok"}], +Kx:()=>b}).then(()=>{this.R.setOverlayDisplayed(!1);this.FA(c)})}};class ZV extends P{constructor(){super({F:"preloader"});this.a9=800;this.L5=500;this.Ao=!1;this.b9=E(this);this.K4=E(this);this.J(!1)}show(){this.Ao||(this.Ao=!0,clearTimeout(this.Mz),clearTimeout(this.BB),this.BB=Gi(this.o7,this,this.a9))}Uc(){if(this.Ao&&(this.Ao=!1,clearTimeout(this.Mz),clearTimeout(this.BB),this.visible())){var a=this.L5-((new Date).getTime()-this.g9);0{this.im.contains(g.target)||(this.Ze.contains(g.target)||!this.R.displayObject().contains(g.target)? +(eW(this,!this.im.visible()),fW(this),g.preventDefault()):eW(this,!1))},Nm)}Br(){return this.Zc}AI(){return this.Zc==this.Ze?this.R:this.Ze}El(){this.jF();this.XL();var a=this.zb;if($V(this.Sa))a.Ze.X("draggable",!1),hW(a,!1);else{const b=a.ld.Br();a.Ze.X("draggable",b==a.Ze);hW(a,b==a.R)}fW(this)}jF(){const a=this.OE(),b=this.Fn(this.R);this.R.resize(a.width,a.height);this.Bt(this.R.displayObject(),b)}OE(){if(this.Zc==this.R){var a=this.Sa;var b=a.G.slideWidth();var c=a.G.slideHeight();a=bW(a);const {width:d, +height:e}=An({width:b,height:c,boundingWidth:a.width,boundingHeight:a.height,oC:!0});b=new cd(d,e)}else b=this.Sa,a=null,c=b.B,-1!=c.ma()&&(c.Oa()&&(a=c.Oa().quiz().quizSize(),a=new cd(a.width,a.height)),c.fb()&&(a=c.fb().currentSession().interaction().interactionSize(),a=new cd(a.width,a.height)),c.tb()),c=a||new cd(b.G.slideWidth(),b.G.slideHeight()),b=cW(b,c.width,c.height);return b}XL(){if(this.Zc==this.Ze)var a=bW(this.Sa);else a=this.Sa,a=a.Cn?cW(a,a.Cn.width(),a.Cn.height()):new cd(0,0);this.Ze.resize(a.width, +a.height);const b=ci(this.Ze.displayObject());this.fr.resize(a.width-b.left-b.right,a.height-b.top-b.bottom);this.Xz()}Xz(){const a=this.Fn(this.Ze);this.Bt(this.Ze.displayObject(),a)}Fn(a){a=this.Zc!=a;return $V(this.Sa)||a?new Xc(0,0):this.Dn?new Xc(this.sm,this.tm):aW(this.Sa)}Bt(a,b){F(a,"transform",`translate(${b.x}px, ${b.y}px)`)}gX(){this.El();this.Ik&&Se(this,this.Ik);this.Dn=!1;eW(this,!1);if(mL()&&this.Fb&&this.Fb.showed()){let a=0,b=0;this.Ik=new QT(this.Zc.displayObject(),{E1:()=>{if(!this.Dn){const c= +aW(this.Sa);this.sm=c.x;this.tm=c.y}a=this.sm;b=this.tm},D1:c=>{this.Dn=!0;this.sm=xv(a+c.x,0,this.zb.width()-this.Zc.width());this.tm=xv(b+c.y,0,this.zb.height()-this.Zc.height());this.jF();this.Xz()},Pba:()=>{}});B(this,this.Ik)}}xN(){this.xp(this.AI())}xp(a){this.Zc=a;eW(this,!1);this.vA.C()}};function iW(a){const b=new P({F:"video-narration-view"});Gt(b,O(a,"narration-view"));b.J(!1);b.O(a.fr);M(a.Ri,b);return b}function jW(a,b){return new dW({BC:a,sidePanelController:a.Fb,Ca:b.Ca(),V:b.view().V()})}function kW(a){const b=new gW({BC:a,pQ:a.Sa,Gba:a.Ze,$x:a.R,sidePanelController:a.Fb,sda:a.fr});B(a,b);z(a,b.vA,a.WW,a);return b}function lW(a){const b=a.uL(),c=void 0!==b;mW(a,c);c?a.Sa.Cn=b:(a.Sa.Cn=null,a.ld.xp(a.Ze))} +function nW(a,b){for(let c=0;c{"activated"==e.playbackState()?a.Ph!=e&&(a.Ph=e,mW(a,!0),a.Sa.Cn=e):"deactivated"==e.playbackState()&&(a.Ph=void 0,lW(a));a.ld.El()},a)}}function oW(a,b){const c=a.G.slides().la(b).jp();let d;for(let e=0;e{var f=this.ld;f.El();f.gX();eW(f,!1)},this);z(this,this.B.$().wC(),this.b5,this);z(this,this.B.vc(),()=>{lW(this);this.ld.El()}, +this);nW(this,d);this.WW();this.X("portrait",!mL())}xn(a){"MaximizedVideo"==a&&this.ld.xp(this.R)}Br(){return this.ld.Br()}AI(){return this.ld.AI()}uL(){let a=this.Ph;const b=this.G.qd().Vf();if(!a)for(let c=0;c=this.B.ma()){a=d;break}}return a}Qa(a,b){super.Qa(a,b);this.ld.El();this.X("portrait",!mL())}b5(){this.B.$().nd()?this.Ff.show():this.Ff.Uc()}WW(){this.ld.El();const a=this.ld.Br()==this.R;this.X("presentation-minimized", +a);a?this.Ri.Me(this.Ze,0):this.Ri.Me(this.R,0)}};function qW(a){a=new P({ka:O(a.Ga,"cc")});a.J(!1);return a}function rW(a){const b=new SN({Ca:a.G,V:a.R.V(),settings:a.H,ga:a.I,view:a,sidePanelController:a.Z});B(a,b);return b}function sW(a){a.H.Aa.Xc.he?a.JP():a.KP()} +class tW extends YV{constructor(a,b,c,d){super({F:"universal-tablet",kc:a,ga:c,xa:d});this.H=b;this.Qg=a.kk();this.Yy=E(this);this.Aw=new Xc(0,0);this.ZN=1;this.vb=this.Xe=null;this.uz=[];this.Xd=this.um=this.va=this.Pb=this.ub=this.na=this.Z=null;const {WQ:e,V0:f,W0:g}=RQ(this.G.slides());this.FL=f;this.Es=g;this.Lz=e;this.Qb=this.H.Aa.Lc;this.ps=this.H.Aa.controlPanel;this.gj=this.ps.lc;this.Ua=this.H.Aa.Xc;this.Mv=new P({F:"universal-layout",zf:!0});this.Mv.X("left-panel",this.Ua.he);M(this,this.Mv, +0);this.Ga=new P({F:"universal-content-area"});M(this.Mv,this.Ga);b=new P({F:"popups-layer"});Gt(b,O(this,"popups-layer"));M(this,b);this.Ja=new SP(b);this.Ja.setScale(1,1);this.YM=E(this,this.Ja.np());a.view();this.zb=this.xK();M(this.Ga,this.zb);this.kd=qW(this);M(this.Ga,this.kd);this.Cw=rW(this);this.Tk();this.Jc=this.Np();z(this,this.R.Qe(),this.HA,this);z(this,this.B.vc(),this.oe,this);z(this,this.Ua.pb,this.tq,this);z(this,this.Ua.Cc,this.tq,this);z(this,this.Qb.Cc,this.tq,this);z(this,this.ps.Cc, +this.tq,this);z(this,this.gj.Cc,this.tq,this);a=new JM;z(this,a.LB,(h,l)=>this.resize(h,l))}TL(a){oW(this.zb,a)}g2(a){this.na&&$S(this.na,a)}pD(a){this.ub&&this.ub.pD(a)}np(){return this.YM}scale(){return 1}tq(){this.Tk();Se(this,this.Jc);this.Jc=this.Np();this.Mv.X("left-panel",this.Ua.he);this.na&&this.na.yp(this.Z);this.Pb&&this.Pb.yp(this.Z);this.xb()}Tk(){this.Wz();this.bM();this.Jv();sT(this);rT(this)}zY(){Se(this.Ga,this.ub);this.ub=null}MT(){return new VQ({skinSettings:this.H,Ca:this.G,V:this.R.Cd(), +soundController:this.R.soundController(),wj:this.Ja,ga:this.I,xa:this.K,kk:this.Qg,wx:this})}Kz(){return jS({Ca:this.G,V:this.B,CD:null,Ap:this.Ua})}Wz(){!this.Z&&this.Kz()&&this.Ua.visible?this.GK():!this.Z||this.Kz()&&this.Ua.visible||this.iO();this.Z&&this.Mv.Me(this.Z,1);this.Cw.ES(this.Z)}iO(){Se(this.Mv,this.Z);this.Z=null}GK(){this.Z=new hS(this.H,this.G,this.rc,this.I,this.K,!1);B(this,this.Z);sW(this);z(this,this.Z.showedStateChanged(),this.xb,this);this.Cw.ES(this.Z)}bM(){this.HM()?this.Op(): +this.IM()&&this.jO();this.na&&this.Ga.Me(this.na,0)}HM(){return(this.Es||this.Qb.visible)&&!this.na}IM(){return!(this.Es||this.Qb.visible)&&!!this.na}jO(){Se(this.Ga,this.na);this.na=null}Op(){this.na=new dT({Lu:this.Qb,rk:this.H.outline,Ap:this.Ua,Ca:this.G,V:this.rc,wj:this.Ja,ga:this.I,xa:this.K,sidePanelController:this.Z});B(this,this.na);z(this,this.na.yM,this.rq,this);z(this,this.na.iL,this.m6,this)}hz(){this.Pb=new sS({Lu:this.Qb,Ap:this.Ua,xa:this.K,sidePanelController:this.Z});B(this,this.Pb)}xK(){return new pW({V:this.B, +kc:this.D,sidePanelController:this.Z,Ca:this.G,Vf:this.G.qd().Vf()})}Np(){if(this.ub){const a=new uS({V:this.B,u2:this.na&&this.na.displayObject(),A0:this.ub.displayObject()});B(this,a);return a}return null}Jv(){!this.Xd&&tT(this);this.gj.visible?(!this.va&&this.rs(),this.Xd.J(!1)):(this.va&&this.iB(),this.Xd.J(!0));this.va&&M(this.Ga,this.va);this.Xd&&M(this.Ga,this.Xd)}iB(){Se(this.Ga,this.va);this.um=this.va=null}rs(){this.gj.visible&&(this.va=new KR({slides:this.G.slides(),settings:this.gj,V:this.rc}), +this.um=new NR({lc:this.va,V:this.rc,Ca:this.G,settings:this.gj}),B(this,this.va),B(this,this.um))}Qa(a,b){super.Qa(a,b);a&&b&&(a=(a=this.H.Aa.Xc)&&a.visible&&a.he,a=this.Z&&this.Z.showed()&&a?this.Z.width():0,this.Ja.Jl(12+a,this.width()-12,this.zb.height()),JP(this.Ja),a=0+(this.na&&this.na.visible()?this.na.height():12),a+=this.ub&&this.ub.visible()?this.ub.height():12,b-=a,this.na&&this.na.xb(),this.ub&&(this.ub.eJ(b-40),this.ub.xb()),this.Z&&(sW(this),this.Z.xb()),this.zb.xb())}JP(){this.Z.showed()? +L(this.Z,"margin-left",""):L(this.Z,"margin-left","-280px");L(this.Z,"margin-right","")}KP(){this.Z.showed()?L(this.Z,"margin-right",""):L(this.Z,"margin-right","-280px");L(this.Z,"margin-left","")}oZ(){const a=this.H.Aa.Lc;return a?a.visible&&a.sd:!1}MU(a){return(a=a.Qf())&&a.Zd()?a.Zd():this.G.Zd()}m6(){this.vb&&this.vb.hI()}rq(a){"nothing"!=a&&(this.Xe||this.FK(),this.vb||this.QL());this.Xe&&this.Xe.X("tool",a);this.vb&&nO(this.vb,a)}FK(){this.Xe=new P({F:"marker-tool-container"});this.Xe.Tf(0); +this.R.displayObject().appendChild(this.Xe.displayObject())}QL(){this.vb=new oO(this.R.Fi().offsetWidth,this.R.Fi().offsetHeight);this.Xe.O(this.vb);this.vb.setScale(1);this.uz[this.B.ma()]=this.vb;this.Iq()}Iq(){if(this.vb){this.vb.move(this.Aw.x,this.Aw.y);const a=this.R.scale();this.vb.setScale(a)}}HA(a,b,c,d){this.ZN=a/this.R.width();this.Aw=new Xc(c,d);this.Iq()}oe(){var a=this.B.Oa(),b=this.B.fb();a||b?xn(this.R.Fi(),"with-border")&&(a=this.R.Fi(),nn(a,"with-border")):(a=this.R.Fi(),mn(a,"with-border")); +JP(this.Ja);a=this.B.Oa();b=this.B.fb();const c=this.B.tb();this.va&&this.va.J(!a&&!b&&!c);this.Xd&&this.Xd.J(!this.va||!this.va.visible());this.Qt();this.Xe&&this.IO();this.ub&&(a=!!this.B.fb()||!!this.B.tb(),this.ub.X("minimize",a));this.Wz();this.na&&this.na.yp(this.Z);this.Pb&&this.Pb.yp(this.Z)}IO(){let a="nothing";this.vb&&(a=this.vb.EO,nO(this.vb,"nothing"));const b=this.B.ma();Cd(this.Xe.displayObject());this.vb=this.uz[b];const c=this.B.$(),d=z(this,c.Zb(),()=>{-1!=c.timestamp().Ba()&&(Ke(this, +d),this.vb&&this.Xe&&this.Xe.O(this.vb),this.rq(a))},this);this.Iq()}nh(a,b){b=a.la(b).Mi();return this.H.outline.zi?BN(a)[b]:(b+1).toString()}Qt(){if(this.kd.visible()){const a=this.B.fa().Ei();this.kd.ha(a?a.text():"")}}c2(){this.kd.visible()||(this.kd.J(!0),this.Qt(),this.Yy.C())}};function uW(a){const b=new xT(a.D(),a.Xa,a.I,a.K,a.oi);z(a,b.ll,()=>a.ll.C());z(a,b.Qk,()=>a.Qk.C());z(a,b.Jn,()=>a.Jn.C());return b} +class vW extends VM{constructor({sk:a,skinSettings:b,messages:c,ga:d,qj:e,Zm:f}){super({sk:a,messages:c,qj:e});this.Xa=b;this.I=d;this.K=this.HK(f)}HK(a){return new GL(uj?a.kR:a.RC)}QT(a){if("normal"==a){if(uj){a=this.D();var b=this.Xa,c=this.I,d=this.K;try{window.isLearn()}catch(e){}a=new XV(a,b,c,d)}else a=Ii?new tW(this.D(),this.Xa,this.I,this.K):uW(this);this.nl=a}else"accessible"==a&&(this.nl=new AN({kc:this.Bw,messages:this.pg,skinSettings:this.wK()}));B(this,this.nl)}wK(){return(new yT(this.Xa)).create()}} +;var wW=class{constructor(){const a={colors:{A:"colors"},controlPanel:{A:"controlPanel",visible:{A:"visible"},showOutline:{A:"showOutline"},xf:{A:"showPlayPause"},lc:{A:"progressBar",visible:{A:"visible"},enabled:{A:"enabled"},Lr:{A:"showLabels"},mode:{A:"mode"}},Sca:{A:"showRewind"},Mr:{A:"showVolumeControl"},Ll:{A:"showCCButton"},zp:{A:"showSlideOnlyButton"},Hu:{A:"showSlideNumbers"},yf:{A:"showPrevButton"},Re:{A:"showNextButton"},$g:{A:"navigationMode"},Qd:{A:"showPlaybackRateButton"}},Xc:{A:"sidePanel", +visible:{A:"visible"},he:{A:"showAtLeft"},sd:{A:"showLogo"},hh:{A:"showPresenterInfo"},jJ:{A:"showPresenterVideo"},ye:{A:"showNotes"},showOutline:{A:"showOutline"}},Lc:{A:"titlePanel",rr:{A:"courseTitleVisible"},gu:{A:"buttonsAtLeft"},sd:{A:"showLogo"},buttons:{A:"buttons"},visible:{A:"visible"}},tR:{A:"outlinePanel",Vm:{A:"numberEntries"},gp:{A:"highlightViewedEntries"},nn:{A:"thumbnails"},search:{A:"search"},zi:{A:"multilevel"}},miniskinCustomizationEnabled:{A:"miniskinCustomizationEnabled"},fontFamily:{A:"fontFamily"}, +borderRadius:{A:"borderRadius"}},b=eG();cG(a,b);this.Ta=a}eR(a={}){const b=new QN;a[this.Ta.colors]&&(b.colors=BL(a[this.Ta.colors]));if(a[this.Ta.Lc]){var c=a[this.Ta.Lc],d=b.Aa.Lc,e=this.Ta.Lc;d.sd=c[e.sd];d.rr=c[e.rr];d.gu=c[e.gu];d.buttonsOrder=c[e.buttons];d.visible=c[e.visible]}a[this.Ta.Xc]&&(c=a[this.Ta.Xc],d=b.Aa.Xc,e=this.Ta.Xc,d.visible=c[e.visible],d.he=c[e.he],d.sd=c[e.sd],d.hh=c[e.hh],d.jJ=c[e.jJ],d.ye=c[e.ye],d.showOutline=c[e.showOutline]);if(a[this.Ta.controlPanel]){c=a[this.Ta.controlPanel]; +e=b.Aa.controlPanel;const f=this.Ta.controlPanel;e.visible=c[f.visible];e.showOutline=c[f.showOutline];e.xf=c[f.xf];e.Ll=c[f.Ll];e.Qd=c[f.Qd];e.zp=c[f.zp];e.sy=c[f.Sca];e.$g=c[f.$g];if(c[f.lc]){d=c[f.lc];const g=b.Aa.controlPanel.lc,h=this.Ta.controlPanel.lc;g.visible=d[h.visible];g.enabled=d[h.enabled];g.Lr=d[h.Lr];g.mode=d[h.mode]}e.Mr=!Ii&&c[f.Mr];e.Hu=c[f.Hu];e.yf=c[f.yf];e.Re=c[f.Re]}a[this.Ta.tR]&&(c=a[this.Ta.tR],d=b.outline,e=this.Ta.tR,d.Vm=c[e.Vm],d.gp=c[e.gp],d.nn=c[e.nn],d.search=c[e.search], +d.zi=c[e.zi]);void 0!==a[this.Ta.miniskinCustomizationEnabled]&&(b.miniskinCustomizationEnabled=a[this.Ta.miniskinCustomizationEnabled]);a[this.Ta.fontFamily]&&(b.fontFamily=a[this.Ta.fontFamily]);null!==a[this.Ta.borderRadius]&&(b.borderRadius=a[this.Ta.borderRadius]);return b}};function xW(a,b,c,d,e){return new Promise(f=>{const g=new lL;e&&g.xw.addHandler(e);let h=null,l=null,n,m=!1,p,t;g.dY.addHandler(w=>{l=w;w=new wW;const y=l.settings();p=new qL(y.Yt().enabled());h=w.eR(y.skin());h.accessibilityModeEnabled=p.Km();l.settings().cF=h;m=MN(Ii&&!h.Aa.Xc.visible&&!h.Aa.Lc.visible&&!h.Aa.controlPanel.visible,l);w=h.colors;m?(n=new DL,t=new EL({Ca:l,DR:d,colors:w,Zm:n})):(n=new bN({tQ:new hG,uS:new JG,jR:h.miniskinCustomizationEnabled?new IG:new jG,mC:new gG,RC:iG,kR:kG}),t= +new dN({Ca:l,DR:d,colors:w,Zm:n}));t.dQ(p.mode())});g.xw.addHandler(w=>{const y=yW(l),D=new KG(y),I=w.view().V();I.Il().lx=h.Aa.controlPanel.Qd;oL(p,I);const A=zW({sk:w,skinSettings:h,messages:y,ga:D,qj:c,Rca:m,Zm:n,Km:p.Km()});pL(p,A);const J=rL(p,A,c,y),T=U=>{w.fn(U);if(A.nl){Fd(A.nl.displayObject());var X=A.oi;X.QE=null;X.Lh=null;Se(A,A.nl);A.nl=null}A.QT(U);X=A.nl.displayObject();A.l9.appendChild(X);A.oi.IC();X=A.Bw.view().V();const aa=X.ma();-1!=aa&&(X.vc().C(aa),ok(X.$d()),A.Bw.m0().F0(),A.Bw.Tr().F0(), +X.Wr.C());"accessible"==U&&document.body.removeAttribute("style");A.US.C(U);J&&("accessible"==U?(J.setAttribute("title",y.PB_ACCESSIBLE_SKIN_ENABLE_NORMAL_MODE),J.oy(-1),J.wf("hidden",!0)):(J.setAttribute("title",y.PB_ACCESSIBLE_SKIN_ENABLE_ACCESSIBILITY_MODE),J.oy(0),J.displayObject().removeAttribute("aria-hidden")))};T(p.mode());p.fY.addHandler(U=>{t.dQ(U);T(U)});f(new aN({sk:w,skinSettings:h,ga:D}))});g.sr(a,b,d)})} +function yW(a){a=qc(a.settings().ga());a.PB_ACCESSIBLE_SLIDES=a.PB_TAB_OUTLINE_LABEL;a.PB_ACCESSIBLE_PRESENTER_INFO=a.PB_TITLE_PANEL_PRESENTER_INFO;a.PB_ACCESSIBLE_TITLE_PANEL_ATTACHMENTS=a.PB_TITLE_PANEL_ATTACHMENTS;return a}function zW(a){const b=a.sk,c=a.skinSettings,d=a.messages,e=a.ga,f=a.qj,g=a.Km;return a.Rca?new $M({sk:b,messages:d,qj:f,Km:g,Zm:a.Zm}):new vW({sk:b,skinSettings:c,messages:d,ga:e,qj:f,Zm:a.Zm,Km:g})};q("PresentationPlayer.start",function(a,b,c,d,e){xW(a,fG(),b,c,d).then(f=>{bG(f,e)})});let Pj=()=>!1;function Te(a){a&&("function"===typeof a.gd&&a.gd(),a.disposed=!0)}function AW(a,b){Pj()&&(b?ia.console.error(a):ia.console.warn(a))}function ef(a,b){const c=a.stack||a.toString();0>String(c).indexOf(a.message)&&AW(a.message,b);AW(c,b)}window.onerror=function(...a){const [b,,,,c]=a;c?ef(c,!0):AW(b,!0);return!0};Ea=a=>{try{throw Error(a.message);}catch(b){ef(b,!1)}}; +ia.console||(window._log="",ia.console={log:function(a){window._log+="\n"+a},warn:function(a){window._log+="\nwarn: "+a},error:function(a){window._log+="\nerror: "+a}});})(); +/*! iScroll v5.2.0-snapshot ~ (c) 2008-2018 Matteo Spinelli ~ http://cubiq.org/license */ +!function(t,i,s){function e(s,e){this.wrapper="string"==typeof s?i.querySelector(s):s,this.scroller=this.wrapper.children[0],this.scrollerStyle=this.scroller.style,this.options={resizeScrollbars:!0,mouseWheelSpeed:20,snapThreshold:.334,disablePointer:!h.hasPointer,disableTouch:h.hasPointer||!h.hasTouch,disableMouse:h.hasPointer||h.hasTouch,startX:0,startY:0,scrollY:!0,directionLockThreshold:5,momentum:!0,onScrollHandler:Function.prototype,bounce:!0,bounceTime:600,bounceEasing:"",preventDefault:!0,preventDefaultException:{tagName:/^(A|INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:"undefined"==typeof t.onmousedown};for(var o in e)this.options[o]=e[o];this.translateZ=this.options.HWCompositing&&h.hasPerspective?" translateZ(0)":"",this.options.useTransition=h.hasTransition&&this.options.useTransition,this.options.useTransform=h.hasTransform&&this.options.useTransform,this.options.eventPassthrough=this.options.eventPassthrough===!0?"vertical":this.options.eventPassthrough,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollY="vertical"!=this.options.eventPassthrough&&this.options.scrollY,this.options.scrollX="horizontal"!=this.options.eventPassthrough&&this.options.scrollX,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,this.options.bounceEasing="string"==typeof this.options.bounceEasing?h.ease[this.options.bounceEasing]||h.ease.circular:this.options.bounceEasing,this.options.resizePolling=void 0===this.options.resizePolling?60:this.options.resizePolling,this.options.tap===!0&&(this.options.tap="tap"),this.options.useTransition||this.options.useTransform||/relative|absolute/i.test(this.scrollerStyle.position)||(this.scrollerStyle.position="relative"),"scale"==this.options.shrinkScrollbars&&(this.options.useTransition=!1),this.options.invertWheelDirection=this.options.invertWheelDirection?-1:1,this.x=0,this.y=0,this.directionX=0,this.directionY=0,this._events={},this._init(),this.refresh(),this.scrollTo(this.options.startX,this.options.startY),this.enable()}function o(t,s,e){var o=i.createElement("div"),n=i.createElement("div");return e===!0&&(o.style.cssText="position:absolute;z-index:9999",n.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px"),n.className="iScrollIndicator","h"==t?(e===!0&&(o.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",n.style.height="100%"),o.className="iScrollHorizontalScrollbar"):(e===!0&&(o.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",n.style.width="100%"),o.className="iScrollVerticalScrollbar"),o.style.cssText+=";overflow:hidden",s||(o.style.pointerEvents="none"),o.appendChild(n),o}function n(s,e){this.wrapper="string"==typeof e.el?i.querySelector(e.el):e.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=s,this.options={listenX:!0,listenY:!0,interactive:!1,resize:!0,defaultScrollbars:!1,shrink:!1,fade:!1,speedRatioX:0,speedRatioY:0};for(var o in e)this.options[o]=e[o];if(this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.options.interactive&&(this.options.disableTouch||(h.addEvent(this.indicator,"touchstart",this),h.addEvent(t,"touchend",this)),this.options.disablePointer||(h.addEvent(this.indicator,h.prefixPointerEvent("pointerdown"),this),h.addEvent(t,h.prefixPointerEvent("pointerup"),this)),this.options.disableMouse||(h.addEvent(this.indicator,"mousedown",this),h.addEvent(t,"mouseup",this))),this.options.fade){this.wrapperStyle[h.style.transform]=this.scroller.translateZ;var n=h.style.transitionDuration;if(!n)return;this.wrapperStyle[n]=h.isBadAndroid?"0.0001ms":"0ms";var a=this;h.isBadAndroid&&r(function(){"0.0001ms"===a.wrapperStyle[n]&&(a.wrapperStyle[n]="0s")}),this.wrapperStyle.opacity="0"}}var r=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(i){t.setTimeout(i,1e3/60)},h=function(){function e(t){return r!==!1&&(""===r?t:r+t.charAt(0).toUpperCase()+t.substr(1))}var o={},n=i.createElement("div").style,r=function(){for(var t,i=["t","webkitT","MozT","msT","OT"],s=0,e=i.length;s0&&(h=n?n/2.5*(c/8):0,l=s.abs(t)+h,a=l/c),{destination:s.round(h),duration:a}};var h=e("transform");return o.extend(o,{hasTransform:h!==!1,hasPerspective:e("perspective")in n,hasTouch:"ontouchstart"in t,hasPointer:!(!t.PointerEvent&&!t.MSPointerEvent),hasTransition:e("transition")in n}),o.isBadAndroid=function(){var i=t.navigator.appVersion;if(/Android/.test(i)&&!/Chrome\/\d/.test(i)){var s=i.match(/Safari\/(\d+.\d)/);return!(s&&"object"==typeof s&&s.length>=2)||parseFloat(s[1])<535.19}return!1}(),o.extend(o.style={},{transform:h,transitionTimingFunction:e("transitionTimingFunction"),transitionDuration:e("transitionDuration"),transitionDelay:e("transitionDelay"),transformOrigin:e("transformOrigin"),touchAction:e("touchAction")}),o.hasClass=function(t,i){var s=new RegExp("(^|\\s)"+i+"(\\s|$)");return s.test(t.className)},o.addClass=function(t,i){if(!o.hasClass(t,i)){var s=t.className.split(" ");s.push(i),t.className=s.join(" ")}},o.removeClass=function(t,i){if(o.hasClass(t,i)){var s=new RegExp("(^|\\s)"+i+"(\\s|$)","g");t.className=t.className.replace(s," ")}},o.offset=function(t){for(var i=-t.offsetLeft,s=-t.offsetTop;t=t.offsetParent;)i-=t.offsetLeft,s-=t.offsetTop;return{left:i,top:s}},o.isHyperlink=function(t){if(!t)return!1;for(;t;){if("A"==t.nodeName.toLocaleUpperCase())return!0;t=t.parentNode}return!1},o.preventDefaultException=function(t,i){if(o.isHyperlink(t))return!0;for(var s in i)if(i[s].test(t[s]))return!0;return!1},o.extend(o.eventType={},{touchstart:1,touchmove:1,touchend:1,mousedown:2,mousemove:2,mouseup:2,pointerdown:3,pointermove:3,pointerup:3,MSPointerDown:3,MSPointerMove:3,MSPointerUp:3}),o.extend(o.ease={},{quadratic:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},circular:{style:"cubic-bezier(0.1, 0.57, 0.1, 1)",fn:function(t){return s.sqrt(1- --t*t)}},back:{style:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",fn:function(t){var i=4;return(t-=1)*t*((i+1)*t+i)+1}},bounce:{style:"",fn:function(t){return(t/=1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}},elastic:{style:"",fn:function(t){var i=.22,e=.4;return 0===t?0:1==t?1:e*s.pow(2,-10*t)*s.sin((t-i/4)*(2*s.PI)/i)+1}}}),o.tap=function(t,s){var e=i.createEvent("Event");e.initEvent(s,!0,!0),e.pageX=t.pageX,e.pageY=t.pageY,t.target.dispatchEvent(e)},o.click=function(s){var e,o=s.target;/(SELECT|INPUT|TEXTAREA)/i.test(o.tagName)||(e=i.createEvent(t.MouseEvent?"MouseEvents":"Event"),e.initEvent("click",!0,!0),e.view=s.view||t,e.detail=1,e.screenX=o.screenX||0,e.screenY=o.screenY||0,e.clientX=o.clientX||0,e.clientY=o.clientY||0,e.ctrlKey=!!s.ctrlKey,e.altKey=!!s.altKey,e.shiftKey=!!s.shiftKey,e.metaKey=!!s.metaKey,e.button=0,e.relatedTarget=null,e._constructed=!0,o.dispatchEvent(e))},o.getTouchAction=function(t,i){var s="none";return"vertical"===t?s="pan-y":"horizontal"===t&&(s="pan-x"),i&&"none"!=s&&(s+=" pinch-zoom"),s},o.getRect=function(t){if(t instanceof SVGElement){var i=t.getBoundingClientRect();return{top:i.top,left:i.left,width:i.width,height:i.height}}return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}},o}();e.prototype={version:"5.2.0-snapshot",_init:function(){this._initEvents(),(this.options.scrollbars||this.options.indicators)&&this._initIndicators(),this.options.mouseWheel&&this._initWheel(),this.options.snap&&this._initSnap(),this.options.keyBindings&&this._initKeys()},destroy:function(){this._initEvents(!0),clearTimeout(this.resizeTimeout),this.resizeTimeout=null,this._execEvent("destroy")},setScrollHeight:function(t){this.scrollHeight=t,this.refresh()},_transitionEnd:function(t){t.target==this.scroller&&this.isInTransition&&(this._transitionTime(),this.resetPosition(this.options.bounceTime)||(this.isInTransition=!1,this._execEvent("scrollEnd")))},_start:function(t){if(1!=h.eventType[t.type]){var i;if(i=t.which?t.button:t.button<2?0:4==t.button?1:2,0!==i)return}if(this.enabled&&(!this.initiated||h.eventType[t.type]===this.initiated)){!this.options.preventDefault||h.isBadAndroid||h.preventDefaultException(t.target,this.options.preventDefaultException)||t.preventDefault();var e,o=t.touches?t.touches[0]:t;this.initiated=h.eventType[t.type],this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.directionLocked=0,this.startTime=h.getTime(),this.options.useTransition&&this.isInTransition?(this._transitionTime(),this.isInTransition=!1,e=this.getComputedPosition(),this._translate(s.round(e.x),s.round(e.y)),this._execEvent("scrollEnd")):!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,this._execEvent("scrollEnd")),this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=o.pageX,this.pointY=o.pageY,this._execEvent("beforeScrollStart")}},_move:function(t){if(this.enabled&&h.eventType[t.type]===this.initiated){this.options.preventDefault&&!h.preventDefaultException(t.target,this.options.preventDefaultException)&&t.preventDefault();var i,e,o,n,r=t.touches?t.touches[0]:t,a=r.pageX-this.pointX,l=r.pageY-this.pointY,c=h.getTime();if(this.pointX=r.pageX,this.pointY=r.pageY,this.distX+=a,this.distY+=l,o=s.abs(this.distX),n=s.abs(this.distY),!(c-this.endTime>300&&o<10&&n<10)){if(this.directionLocked||this.options.freeScroll||(o>n+this.options.directionLockThreshold?this.directionLocked="h":n>=o+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"==this.directionLocked){if("vertical"==this.options.eventPassthrough)t.preventDefault();else if("horizontal"==this.options.eventPassthrough)return void(this.initiated=!1);l=0}else if("v"==this.directionLocked){if("horizontal"==this.options.eventPassthrough)t.preventDefault();else if("vertical"==this.options.eventPassthrough)return void(this.initiated=!1);a=0}a=this.hasHorizontalScroll?a:0,l=this.hasVerticalScroll?l:0,i=this.x+a,e=this.y+l,(i>0||i0?0:this.maxScrollX),(e>0||e0?0:this.maxScrollY),this.directionX=a>0?-1:a<0?1:0,this.directionY=l>0?-1:l<0?1:0,this.moved||this._execEvent("scrollStart"),this.moved=!0,this._translate(i,e),c-this.startTime>300&&(this.startTime=c,this.startX=this.x,this.startY=this.y)}}},_end:function(t){if(this.enabled&&h.eventType[t.type]===this.initiated){this.options.preventDefault&&!h.preventDefaultException(t.target,this.options.preventDefaultException)&&t.preventDefault();var i,e,o=(t.changedTouches?t.changedTouches[0]:t,h.getTime()-this.startTime),n=s.round(this.x),r=s.round(this.y),a=s.abs(n-this.startX),l=s.abs(r-this.startY),c=0,p="";if(this.isInTransition=0,this.initiated=0,this.endTime=h.getTime(),!this.resetPosition(this.options.bounceTime)){if(this.scrollTo(n,r),!this.moved)return this.options.tap&&h.tap(t,this.options.tap),this.options.click&&h.click(t),void this._execEvent("scrollCancel");if(this._events.flick&&o<200&&a<100&&l<100)return void this._execEvent("flick");if(this.options.momentum&&o<300&&(i=this.hasHorizontalScroll?h.momentum(this.x,this.startX,o,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options.deceleration):{destination:n,duration:0},e=this.hasVerticalScroll?h.momentum(this.y,this.startY,o,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options.deceleration):{destination:r,duration:0},n=i.destination,r=e.destination,c=s.max(i.duration,e.duration),this.isInTransition=1),this.options.snap){var d=this._nearestSnap(n,r);this.currentPage=d,c=this.options.snapSpeed||s.max(s.max(s.min(s.abs(n-d.x),1e3),s.min(s.abs(r-d.y),1e3)),300),n=d.x,r=d.y,this.directionX=0,this.directionY=0,p=this.options.bounceEasing}return n!=this.x||r!=this.y?((n>0||n0||r0?i=0:this.x0?s=0:this.y-1&&this._events[t].splice(s,1)}},_execEvent:function(t){if(this._events[t]){var i=0,s=this._events[t].length;if(s)for(;i0;var o=this.options.useTransition&&e.style;!s||o?(o&&(this._transitionTimingFunction(e.style),this._transitionTime(s)),this._translate(t,i)):this._animate(t,i,s,e.fn)},scrollToElement:function(t,i,e,o,n){if(t=t.nodeType?t:this.scroller.querySelector(t)){var r=h.offset(t);r.left-=this.wrapperOffset.left,r.top-=this.wrapperOffset.top;var a=h.getRect(t),l=h.getRect(this.wrapper);e===!0&&(e=s.round(a.width/2-l.width/2)),o===!0&&(o=s.round(a.height/2-l.height/2)),r.left-=e||0,r.top-=o||0,r.left=r.left>0?0:r.left0?0:r.top0?o--:i<0&&o++,e>0?n--:e<0&&n++,void this.goToPage(o,n);o=this.x+s.round(this.hasHorizontalScroll?i:0),n=this.y+s.round(this.hasVerticalScroll?e:0),this.directionX=i>0?-1:i<0?1:0,this.directionY=e>0?-1:e<0?1:0,o>0?o=0:o0?n=0:n-this.scrollerWidth;){for(this.pages[l]=[],t=0,n=0;n>-this.scrollerHeight;)this.pages[l][t]={x:s.max(p,this.maxScrollX),y:s.max(n,this.maxScrollY),width:d,height:u,cx:p-e,cy:n-o},n-=u,t++;p-=d,l++}else for(r=this.options.snap,t=r.length,i=-1;lthis.maxScrollX&&c++;this.goToPage(this.currentPage.pageX||0,this.currentPage.pageY||0,0),this.options.snapThreshold%1===0?(this.snapThresholdX=this.options.snapThreshold,this.snapThresholdY=this.options.snapThreshold):(this.snapThresholdX=s.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width*this.options.snapThreshold),this.snapThresholdY=s.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height*this.options.snapThreshold))}}),this.on("flick",function(){var t=this.options.snapSpeed||s.max(s.max(s.min(s.abs(this.x-this.startX),1e3),s.min(s.abs(this.y-this.startY),1e3)),300);this.goToPage(this.currentPage.pageX+this.directionX,this.currentPage.pageY+this.directionY,t)})},_nearestSnap:function(t,i){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var e=0,o=this.pages.length,n=0;if(s.abs(t-this.absStartX)0?t=0:t0?i=0:i=this.pages[e][0].cx){t=this.pages[e][0].x;break}for(o=this.pages[e].length;n=this.pages[0][n].cy){i=this.pages[0][n].y;break}return e==this.currentPage.pageX&&(e+=this.directionX,e<0?e=0:e>=this.pages.length&&(e=this.pages.length-1),t=this.pages[e][0].x),n==this.currentPage.pageY&&(n+=this.directionY,n<0?n=0:n>=this.pages[0].length&&(n=this.pages[0].length-1),i=this.pages[0][n].y),{x:t,y:i,pageX:e,pageY:n}},goToPage:function(t,i,e,o){o=o||this.options.bounceEasing,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),i>=this.pages[t].length?i=this.pages[t].length-1:i<0&&(i=0);var n=this.pages[t][i].x,r=this.pages[t][i].y;e=void 0===e?this.options.snapSpeed||s.max(s.max(s.min(s.abs(n-this.x),1e3),s.min(s.abs(r-this.y),1e3)),300):e,this.currentPage={x:n,y:r,pageX:t,pageY:i},this.scrollTo(n,r,e,o)},next:function(t,i){var s=this.currentPage.pageX,e=this.currentPage.pageY;s++,s>=this.pages.length&&this.hasVerticalScroll&&(s=0,e++),this.goToPage(s,e,t,i)},prev:function(t,i){var s=this.currentPage.pageX,e=this.currentPage.pageY;s--,s<0&&this.hasVerticalScroll&&(s=0,e--),this.goToPage(s,e,t,i)},_initKeys:function(i){var s,e={pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40};if("object"==typeof this.options.keyBindings)for(s in this.options.keyBindings)"string"==typeof this.options.keyBindings[s]&&(this.options.keyBindings[s]=this.options.keyBindings[s].toUpperCase().charCodeAt(0));else this.options.keyBindings={};for(s in e)this.options.keyBindings[s]=this.options.keyBindings[s]||e[s];h.addEvent(t,"keydown",this),this.on("destroy",function(){h.removeEvent(t,"keydown",this)})},_key:function(t){if(this.enabled){var i,e=this.options.snap,o=e?this.currentPage.pageX:this.x,n=e?this.currentPage.pageY:this.y,r=h.getTime(),a=this.keyTime||0,l=.25;switch(this.options.useTransition&&this.isInTransition&&(i=this.getComputedPosition(),this._translate(s.round(i.x),s.round(i.y)),this.isInTransition=!1),this.keyAcceleration=r-a<200?s.min(this.keyAcceleration+l,50):0,t.keyCode){case this.options.keyBindings.pageUp:this.hasHorizontalScroll&&!this.hasVerticalScroll?o+=e?1:this.wrapperWidth:n+=e?1:this.wrapperHeight;break;case this.options.keyBindings.pageDown:this.hasHorizontalScroll&&!this.hasVerticalScroll?o-=e?1:this.wrapperWidth:n-=e?1:this.wrapperHeight;break;case this.options.keyBindings.end:o=e?this.pages.length-1:this.maxScrollX,n=e?this.pages[0].length-1:this.maxScrollY;break;case this.options.keyBindings.home:o=0,n=0;break;case this.options.keyBindings.left:o+=e?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.up:n+=e?1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.right:o-=e?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.down:n-=e?1:5+this.keyAcceleration>>0;break;default:return}if(e)return void this.goToPage(o,n);o>0?(o=0,this.keyAcceleration=0):o0?(n=0,this.keyAcceleration=0):n=p?(n.isAnimating=!1,n._translate(t,i),void(n.resetPosition(n.options.bounceTime)||n._execEvent("scrollEnd"))):(f=(f-c)/s,m=e(f),d=(t-a)*m+a,u=(i-l)*m+l,n._translate(d,u),void(n.isAnimating&&r(o)))}var n=this,a=this.x,l=this.y,c=h.getTime(),p=c+s;this.isAnimating=!0,o()},handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":t.defaultPrevented||this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":t.defaultPrevented||this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._wheel(t);break;case"keydown":this._key(t);break;case"click":this.enabled&&!t._constructed}}},n.prototype={handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t)}},destroy:function(){this.options.fadeScrollbars&&(clearTimeout(this.fadeTimeout),this.fadeTimeout=null),this.options.interactive&&(h.removeEvent(this.indicator,"touchstart",this),h.removeEvent(this.indicator,h.prefixPointerEvent("pointerdown"),this),h.removeEvent(this.indicator,"mousedown",this),h.removeEvent(t,"touchmove",this),h.removeEvent(t,h.prefixPointerEvent("pointermove"),this),h.removeEvent(t,"mousemove",this),h.removeEvent(t,"touchend",this),h.removeEvent(t,h.prefixPointerEvent("pointerup"),this),h.removeEvent(t,"mouseup",this)),this.options.defaultScrollbars&&this.wrapper.parentNode&&this.wrapper.parentNode.removeChild(this.wrapper)},_start:function(i){var s=i.touches?i.touches[0]:i;i.preventDefault(),i.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=s.pageX,this.lastPointY=s.pageY,this.startTime=h.getTime(),this.options.disableTouch||h.addEvent(t,"touchmove",this),this.options.disablePointer||h.addEvent(t,h.prefixPointerEvent("pointermove"),this),this.options.disableMouse||h.addEvent(t,"mousemove",this),this.scroller._execEvent("beforeScrollStart")},_move:function(t){var i,s,e,o,n=t.touches?t.touches[0]:t;h.getTime();this.moved||this.scroller._execEvent("scrollStart"),this.moved=!0,i=n.pageX-this.lastPointX,this.lastPointX=n.pageX,s=n.pageY-this.lastPointY,this.lastPointY=n.pageY,e=this.x+i,o=this.y+s,this._pos(e,o),t.preventDefault(),t.stopPropagation()},_end:function(i){if(this.initiated){if(this.initiated=!1,i.preventDefault(),i.stopPropagation(),h.removeEvent(t,"touchmove",this),h.removeEvent(t,h.prefixPointerEvent("pointermove"),this),h.removeEvent(t,"mousemove",this),this.scroller.options.snap){var e=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),o=this.options.snapSpeed||s.max(s.max(s.min(s.abs(this.scroller.x-e.x),1e3),s.min(s.abs(this.scroller.y-e.y),1e3)),300);this.scroller.x==e.x&&this.scroller.y==e.y||(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=e,this.scroller.scrollTo(e.x,e.y,o,this.scroller.options.bounceEasing))}this.moved&&this.scroller._execEvent("scrollEnd")}},transitionTime:function(t){t=t||0;var i=h.style.transitionDuration;if(i&&(this.indicatorStyle[i]=t+"ms",!t&&h.isBadAndroid)){this.indicatorStyle[i]="0.0001ms";var s=this;r(function(){"0.0001ms"===s.indicatorStyle[i]&&(s.indicatorStyle[i]="0s")})}},transitionTimingFunction:function(t){this.indicatorStyle[h.style.transitionTimingFunction]=t},refresh:function(){this.transitionTime(),this.options.listenX&&!this.options.listenY?this.indicatorStyle.display=this.scroller.hasHorizontalScroll?"block":"none":this.options.listenY&&!this.options.listenX?this.indicatorStyle.display=this.scroller.hasVerticalScroll?"block":"none":this.indicatorStyle.display=this.scroller.hasHorizontalScroll||this.scroller.hasVerticalScroll?"block":"none",this.scroller.hasHorizontalScroll&&this.scroller.hasVerticalScroll?(h.addClass(this.wrapper,"iScrollBothScrollbars"),h.removeClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="8px":this.wrapper.style.bottom="8px")):(h.removeClass(this.wrapper,"iScrollBothScrollbars"),h.addClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="2px":this.wrapper.style.bottom="2px")),h.getRect(this.wrapper),this.options.listenX&&(this.wrapperWidth=this.wrapper.clientWidth,this.options.resize?(this.indicatorWidth=s.max(s.round(this.wrapperWidth*this.wrapperWidth/(this.scroller.scrollerWidth||this.wrapperWidth||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px"):this.indicatorWidth=this.indicator.clientWidth,this.maxPosX=this.wrapperWidth-this.indicatorWidth,"clip"==this.options.shrink?(this.minBoundaryX=-this.indicatorWidth+8,this.maxBoundaryX=this.wrapperWidth-8):(this.minBoundaryX=0,this.maxBoundaryX=this.maxPosX),this.sizeRatioX=this.options.speedRatioX||this.scroller.maxScrollX&&this.maxPosX/this.scroller.maxScrollX),this.options.listenY&&(this.wrapperHeight=this.wrapper.clientHeight,this.options.resize?(this.indicatorHeight=s.max(s.round(this.wrapperHeight*this.wrapperHeight/(this.scroller.scrollerHeight||this.wrapperHeight||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px"):this.indicatorHeight=this.indicator.clientHeight,this.maxPosY=this.wrapperHeight-this.indicatorHeight,"clip"==this.options.shrink?(this.minBoundaryY=-this.indicatorHeight+8,this.maxBoundaryY=this.wrapperHeight-8):(this.minBoundaryY=0,this.maxBoundaryY=this.maxPosY), +this.maxPosY=this.wrapperHeight-this.indicatorHeight,this.sizeRatioY=this.options.speedRatioY||this.scroller.maxScrollY&&this.maxPosY/this.scroller.maxScrollY),this.updatePosition()},updatePosition:function(){var t=this.options.listenX&&s.round(this.sizeRatioX*this.scroller.x)||0,i=this.options.listenY&&s.round(this.sizeRatioY*this.scroller.y)||0;this.options.ignoreBoundaries||(tthis.maxBoundaryX?"scale"==this.options.shrink?(this.width=s.max(this.indicatorWidth-(t-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",t=this.maxPosX+this.indicatorWidth-this.width):t=this.maxBoundaryX:"scale"==this.options.shrink&&this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),ithis.maxBoundaryY?"scale"==this.options.shrink?(this.height=s.max(this.indicatorHeight-3*(i-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",i=this.maxPosY+this.indicatorHeight-this.height):i=this.maxBoundaryY:"scale"==this.options.shrink&&this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px")),this.x=t,this.y=i,this.scroller.options.useTransform?this.indicatorStyle[h.style.transform]="translate("+t+"px,"+i+"px)"+this.scroller.translateZ:(this.indicatorStyle.left=t+"px",this.indicatorStyle.top=i+"px")},_pos:function(t,i){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),i<0?i=0:i>this.maxPosY&&(i=this.maxPosY),t=this.options.listenX?s.round(t/this.sizeRatioX):this.scroller.x,i=this.options.listenY?s.round(i/this.sizeRatioY):this.scroller.y,this.scroller.scrollTo(t,i)},fade:function(t,i){if(!i||this.visible){clearTimeout(this.fadeTimeout),this.fadeTimeout=null;var s=t?250:500,e=t?0:300;t=t?"1":"0",this.wrapperStyle[h.style.transitionDuration]=s+"ms",this.fadeTimeout=setTimeout(function(t){this.wrapperStyle.opacity=t,this.visible=+t}.bind(this,t),e)}}},e.utils=h,"undefined"!=typeof module&&module.exports?module.exports=e:"function"==typeof define&&define.amd?define(function(){return e}):t.IScroll=e}(window,document,Math);(function(){var r=Math,d=function(m){return m>>0},v=(/webkit/i).test(navigator.appVersion)?"webkit":(/firefox/i).test(navigator.userAgent)?"Moz":(/trident/i).test(navigator.userAgent)?"ms":"opera" in window?"O":"",w=(/android/gi).test(navigator.appVersion),i=(/iphone|ipad/gi).test(navigator.appVersion),c=(/playbook/gi).test(navigator.appVersion),n=(/hp-tablet/gi).test(navigator.appVersion),k=false,u="ontouchstart" in window&&!n,f=v+"Transform" in document.documentElement.style,g=i||c,o=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(m){return setTimeout(m,1)}})(),l=(function(){return window.cancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout})(),h="onorientationchange" in window?"orientationchange":"resize",b=u?"touchstart":"mousedown",p=u?"touchmove":"mousemove",e=u?"touchend":"mouseup",t=u?"touchcancel":"mouseup",q=v=="Moz"?"DOMMouseScroll":"mousewheel",a="translate"+(k?"3d(":"("),j=k?",0)":")",s=function(y,m){var z=this,A=document,x;z.wrapper=typeof y=="object"?y:A.getElementById(y);z.wrapper.style.overflow="hidden";z.scroller=z.wrapper.children[0];z.options={hScroll:true,vScroll:true,x:0,y:0,bounce:true,bounceLock:false,momentum:true,lockDirection:true,useTransform:true,useTransition:false,topOffset:0,checkDOMChanges:false,handleClick:true,ignoreEmptyScroll:false,minThumbSize:16,hScrollbar:true,vScrollbar:true,fixedScrollbar:w,hideScrollbar:i,fadeScrollbar:i&&k,scrollbarClass:"",zoom:false,zoomMin:1,zoomMax:4,doubleTapZoom:2,wheelAction:"scroll",snap:false,snapThreshold:1,onRefresh:null,onBeforeScrollStart:function(B){B.preventDefault()},onScrollStart:null,onBeforeScrollMove:null,onScrollMove:null,onBeforeScrollEnd:null,onScrollEnd:null,onTouchEnd:null,onDestroy:null,onZoomStart:null,onZoom:null,onZoomEnd:null};for(x in m){z.options[x]=m[x]}z.x=z.options.x;z.y=z.options.y;z.options.useTransform=f?z.options.useTransform:false;z.options.hScrollbar=z.options.hScroll&&z.options.hScrollbar;z.options.vScrollbar=z.options.vScroll&&z.options.vScrollbar;z.options.zoom=z.options.useTransform&&z.options.zoom;z.options.useTransition=g&&z.options.useTransition;if(z.options.zoom&&w){a="translate(";j=")"}z.scroller.style[v+"TransformOrigin"]="0 0";if(z.options.useTransition){z.scroller.style[v+"TransitionProperty"]=z.options.useTransform?"-"+v.toLowerCase()+"-transform":"top left";z.scroller.style[v+"TransitionDuration"]="0";z.scroller.style[v+"TransitionTimingFunction"]="cubic-bezier(0.33,0.66,0.66,1)"}if(z.options.useTransform){z.scroller.style[v+"Transform"]=a+z.x+"px,"+z.y+"px"+j}else{z.scroller.style.cssText+=";position:absolute;top:"+z.y+"px;left:"+z.x+"px"}if(z.options.useTransition){z.options.fixedScrollbar=true}z.refresh();z._bind(h,window);z._bind(b);if(!u){z._bind("mouseout",z.wrapper);if(z.options.wheelAction!="none"){z._bind(q)}}if(z.options.checkDOMChanges){z.checkDOMTime=setInterval(function(){z._checkDOMChanges()},500)}};s.prototype={enabled:true,x:0,y:0,steps:[],scale:1,currPageX:0,currPageY:0,pagesX:[],pagesY:[],aniTime:null,wheelZoomCount:0,handleEvent:function(x){var m=this;switch(x.type){case b:if(!u&&x.button!==0){return}m._start(x);break;case p:m._move(x);break;case e:case t:m._end(x);break;case h:m._resize();break;case q:m._wheel(x);break;case"mouseout":m._mouseout(x);break;case"webkitTransitionEnd":m._transitionEnd(x);break}},_checkDOMChanges:function(){if(this.moved||this.zoomed||this.animating||(this.scrollerW==this.scroller.offsetWidth*this.scale&&this.scrollerH==this.scroller.offsetHeight*this.scale)){return}this.refresh()},_scrollbar:function(m){var y=this,z=document,x;if(!y[m+"Scrollbar"]){if(y[m+"ScrollbarWrapper"]){if(f){y[m+"ScrollbarIndicator"].style[v+"Transform"]=""}y[m+"ScrollbarWrapper"].parentNode.removeChild(y[m+"ScrollbarWrapper"]);y[m+"ScrollbarWrapper"]=null;y[m+"ScrollbarIndicator"]=null}return}if(!y[m+"ScrollbarWrapper"]){x=z.createElement("div");if(y.options.scrollbarClass){x.className=m+y.options.scrollbarClass}else{x.style.cssText="position:absolute;z-index:100;"+(m=="h"?"height:7px;bottom:1px;left:2px;right:"+(y.vScrollbar?"7":"2")+"px":"width:7px;bottom:"+(y.hScrollbar?"7":"2")+"px;top:2px;right:1px")}x.style.cssText+=";pointer-events:none;opacity:"+(y.options.hideScrollbar?"0":"1");y.wrapper.appendChild(x);y[m+"ScrollbarWrapper"]=x;x=z.createElement("div");x.id=m+"Thumb";x.className="thumb";if(!y.options.scrollbarClass){x.style.cssText="position:absolute;z-index:100;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.5);-"+v+"-background-clip:border-box;-"+v+"-box-sizing:content-box;"+(m=="h"?"height:100%":"width:100%")+";-"+v+"-border-radius:4px;border-radius:4px;"+(m=="h"?"bottom":"right")+":2px;"}x.style.cssText+=";pointer-events:none;-"+v+"-transform:"+a+"0,0"+j;if(y.options.useTransition){x.style.cssText+=";-"+v+"-transition-timing-function:cubic-bezier(0.33,0.66,0.66,1)"}y[m+"ScrollbarWrapper"].appendChild(x);y[m+"ScrollbarIndicator"]=x}if(m=="h"){y.hScrollbarSize=y.hScrollbarWrapper.clientWidth;y.hScrollbarIndicatorSize=r.max(d(y.hScrollbarSize*y.hScrollbarSize/y.scrollerW),y.options.minThumbSize);y.hScrollbarIndicator.style.width=y.hScrollbarIndicatorSize+"px";y.hScrollbarMaxScroll=y.hScrollbarSize-y.hScrollbarIndicatorSize;y.hScrollbarProp=y.hScrollbarMaxScroll/y.maxScrollX}else{y.vScrollbarSize=y.vScrollbarWrapper.clientHeight;y.vScrollbarIndicatorSize=r.max(d(y.vScrollbarSize*y.vScrollbarSize/y.scrollerH),y.options.minThumbSize);y.vScrollbarIndicator.style.height=y.vScrollbarIndicatorSize+"px";y.vScrollbarMaxScroll=y.vScrollbarSize-y.vScrollbarIndicatorSize;y.vScrollbarProp=y.vScrollbarMaxScroll/y.maxScrollY}y._scrollbarPos(m,true)},_resize:function(){var m=this;setTimeout(function(){m.refresh()},w?200:0)},_pos:function(m,z){this._posImpl(m,z);this._scrollbarPos("h");this._scrollbarPos("v")},_posImpl:function(m,z){if(this.zoomed){return}m=this.hScroll?m:0;z=this.vScroll?z:0;if(this.options.useTransform){this.scroller.style[v+"Transform"]=a+m+"px,"+z+"px"+j+" scale("+this.scale+")"}else{m=d(m);z=d(z);this.scroller.style.left=m+"px";this.scroller.style.top=z+"px"}this.x=m;this.y=z;if(this.options.onScrollMove){this.options.onScrollMove.call(this)}},_scrollbarPos:function(m,z){var y=this,A=m=="h"?y.x:y.y,x;if(!y[m+"Scrollbar"]){return}A=y[m+"ScrollbarProp"]*A;if(A<0){if(!y.options.fixedScrollbar){x=y[m+"ScrollbarIndicatorSize"]+d(A*3);if(x<8){x=8}y[m+"ScrollbarIndicator"].style[m=="h"?"width":"height"]=x+"px"}A=0}else{if(A>y[m+"ScrollbarMaxScroll"]){if(!y.options.fixedScrollbar){x=y[m+"ScrollbarIndicatorSize"]-d((A-y[m+"ScrollbarMaxScroll"])*3);if(x<8){x=8}y[m+"ScrollbarIndicator"].style[m=="h"?"width":"height"]=x+"px";A=y[m+"ScrollbarMaxScroll"]+(y[m+"ScrollbarIndicatorSize"]-x)}else{A=y[m+"ScrollbarMaxScroll"]}}}y[m+"ScrollbarWrapper"].style.opacity=z&&y.options.hideScrollbar?"0":"1";y[m+"ScrollbarIndicator"].style[v+"Transform"]=a+(m=="h"?A+"px,0":"0,"+A+"px")+j},_start:function(E){var D=this,z=u?E.touches[0]:E,A,m,F,C,B;if(!D.enabled){return}if(D.options.onBeforeScrollStart){D.options.onBeforeScrollStart.call(D,E)}if(D.options.useTransition||D.options.zoom){D._transitionTime(0)}D.moved=false;D.animating=false;D.zoomed=false;D.distX=0;D.distY=0;D.absDistX=0;D.absDistY=0;D.dirX=0;D.dirY=0;if(D.options.zoom&&u&&E.touches.length>1){C=r.abs(E.touches[0].pageX-E.touches[1].pageX);B=r.abs(E.touches[0].pageY-E.touches[1].pageY);D.touchesDistStart=r.sqrt(C*C+B*B);D.originX=r.abs(E.touches[0].pageX+E.touches[1].pageX-D.wrapperOffsetLeft*2)/2-D.x;D.originY=r.abs(E.touches[0].pageY+E.touches[1].pageY-D.wrapperOffsetTop*2)/2-D.y;if(D.options.onZoomStart){D.options.onZoomStart.call(D,E)}}if(D.options.momentum){if(D.options.useTransform){A=getComputedStyle(D.scroller,null)[v+"Transform"].replace(/[^0-9-.,]/g,"").split(",");m=A[4]*1;F=A[5]*1}else{m=getComputedStyle(D.scroller,null).left.replace(/[^0-9-]/g,"")*1;F=getComputedStyle(D.scroller,null).top.replace(/[^0-9-]/g,"")*1}if(m!=D.x||F!=D.y){if(D.options.useTransition){D._unbind("webkitTransitionEnd")}else{l(D.aniTime)}D.steps=[];D._pos(m,F)}}D.absStartX=D.x;D.absStartY=D.y;D.startX=D.x;D.startY=D.y;D.pointX=z.pageX;D.pointY=z.pageY;D.startTime=E.timeStamp||Date.now();if(D.options.onScrollStart){D.options.onScrollStart.call(D,E)}D._bind(p);D._bind(e);D._bind(t)},_move:function(E){var C=this,F=u?E.touches[0]:E,A=F.pageX-C.pointX,y=F.pageY-C.pointY,m=C.x+A,G=C.y+y,B,z,x,D=E.timeStamp||Date.now();if(C.options.ignoreEmptyScroll){if(C.maxScrollY==C.minScrollY){y=0}if(C.maxScrollX==0){A=0}}if(C.options.onBeforeScrollMove){C.options.onBeforeScrollMove.call(C,E)}if(C.options.zoom&&u&&E.touches.length>1){B=r.abs(E.touches[0].pageX-E.touches[1].pageX);z=r.abs(E.touches[0].pageY-E.touches[1].pageY);C.touchesDist=r.sqrt(B*B+z*z);C.zoomed=true;x=1/C.touchesDistStart*C.touchesDist*this.scale;if(xC.options.zoomMax){x=2*C.options.zoomMax*Math.pow(0.5,C.options.zoomMax/x)}}C.lastScale=x/this.scale;m=this.originX-this.originX*C.lastScale+this.x,G=this.originY-this.originY*C.lastScale+this.y;this.scroller.style[v+"Transform"]=a+m+"px,"+G+"px"+j+" scale("+x+")";if(C.options.onZoom){C.options.onZoom.call(C,E)}return}C.pointX=F.pageX;C.pointY=F.pageY;if(m>0||m=0||C.maxScrollX>=0?0:C.maxScrollX}if(G>C.minScrollY||G=C.minScrollY||C.maxScrollY>=0?C.minScrollY:C.maxScrollY}C.distX+=A;C.distY+=y;C.absDistX=r.abs(C.distX);C.absDistY=r.abs(C.distY);if(C.absDistX<6&&C.absDistY<6){return}if(C.options.lockDirection){if(C.absDistX>C.absDistY+5){G=C.y;y=0}else{if(C.absDistY>C.absDistX+5){m=C.x;A=0}}}C.moved=true;C._pos(m,G);C.dirX=A>0?-1:A<0?1:0;C.dirY=y>0?-1:y<0?1:0;if(D-C.startTime>300){C.startTime=D;C.startX=C.x;C.startY=C.y}if(C.options.onScrollMove){C.options.onScrollMove.call(C,E)}},_end:function(E){if(u&&E.touches.length!=0){return}var C=this,K=u?E.changedTouches[0]:E,F,J,y={dist:0,time:0},m={dist:0,time:0},B=(E.timeStamp||Date.now())-C.startTime,G=C.x,D=C.y,I,H,x,A,z;C._unbind(p);C._unbind(e);C._unbind(t);if(C.options.onBeforeScrollEnd){C.options.onBeforeScrollEnd.call(C,E)}if(C.zoomed){z=C.scale*C.lastScale;z=Math.max(C.options.zoomMin,z);z=Math.min(C.options.zoomMax,z);C.lastScale=z/C.scale;C.scale=z;C.x=C.originX-C.originX*C.lastScale+C.x;C.y=C.originY-C.originY*C.lastScale+C.y;C.scroller.style[v+"TransitionDuration"]="200ms";C.scroller.style[v+"Transform"]=a+C.x+"px,"+C.y+"px"+j+" scale("+C.scale+")";C.zoomed=false;C.refresh();if(C.options.onZoomEnd){C.options.onZoomEnd.call(C,E)}return}if(!C.moved){if(u){if(C.doubleTapTimer&&C.options.zoom){clearTimeout(C.doubleTapTimer);C.doubleTapTimer=null;if(C.options.onZoomStart){C.options.onZoomStart.call(C,E)}C.zoom(C.pointX,C.pointY,C.scale==1?C.options.doubleTapZoom:1);if(C.options.onZoomEnd){setTimeout(function(){C.options.onZoomEnd.call(C,E)},200)}}else{if(this.options.handleClick){C.doubleTapTimer=setTimeout(function(){C.doubleTapTimer=null;F=K.target;while(F.nodeType!=1){F=F.parentNode}if(F.tagName!="SELECT"&&F.tagName!="INPUT"&&F.tagName!="TEXTAREA"){J=document.createEvent("MouseEvents");J.initMouseEvent("click",true,true,E.view,1,K.screenX,K.screenY,K.clientX,K.clientY,E.ctrlKey,E.altKey,E.shiftKey,E.metaKey,0,null);J._fake=true;F.dispatchEvent(J)}},C.options.zoom?250:0)}}}C._resetPos(200);if(C.options.onTouchEnd){C.options.onTouchEnd.call(C,E)}return}if(B<300&&C.options.momentum){y=G?C._momentum(G-C.startX,B,-C.x,C.scrollerW-C.wrapperW+C.x,C.options.bounce?C.wrapperW:0):y;m=D?C._momentum(D-C.startY,B,-C.y,(C.maxScrollY<0?C.scrollerH-C.wrapperH+C.y-C.minScrollY:0),C.options.bounce?C.wrapperH:0):m;G=C.x+y.dist;D=C.y+m.dist;if((C.x>0&&G>0)||(C.xC.minScrollY&&D>C.minScrollY)||(C.y=0?0:m.x=m.minScrollY||m.maxScrollY>0?m.minScrollY:m.yz.options.zoomMax){C=z.options.zoomMax}if(C!=z.scale){if(!z.wheelZoomCount&&z.options.onZoomStart){z.options.onZoomStart.call(z,B)}z.wheelZoomCount++;z.zoom(B.pageX,B.pageY,C,400);setTimeout(function(){z.wheelZoomCount--;if(!z.wheelZoomCount&&z.options.onZoomEnd){z.options.onZoomEnd.call(z,B)}},400)}return}x=z.x+A;m=z.y+y;if(x>0){x=0}else{if(xz.minScrollY){m=z.minScrollY}else{if(m=A+B.time){C._pos(B.x,B.y);C.animating=false;if(C.options.onAnimationEnd){C.options.onAnimationEnd.call(C)}C._startAni();return}D=(D-A)/B.time-1;z=r.sqrt(1-D*D);F=(B.x-x)*z+x;E=(B.y-m)*z+m;C._pos(F,E);if(C.animating){C.aniTime=o(y)}};y()},_transitionTime:function(m){m+="ms";this.scroller.style[v+"TransitionDuration"]=m;if(this.hScrollbar){this.hScrollbarIndicator.style[v+"TransitionDuration"]=m}if(this.vScrollbar){this.vScrollbarIndicator.style[v+"TransitionDuration"]=m}},_momentum:function(D,x,B,m,F){var C=0.0006,y=r.abs(D)/x,z=(y*y)/(2*C),E=0,A=0;if(D>0&&z>B){A=F/(6/(z/y*C));B=B+A;y=y*B/z;z=B}else{if(D<0&&z>m){A=F/(6/(z/y*C));m=m+A;y=y*m/z;z=m}}z=z*(D<0?-1:1);E=y/C;return{dist:z,time:d(E)}},_offset:function(m){var y=-m.offsetLeft,x=-m.offsetTop;while(m=m.offsetParent){y-=m.offsetLeft;x-=m.offsetTop}if(m!=this.wrapper){y*=this.scale;x*=this.scale}return{left:y,top:x}},_snap:function(G,F){var D=this,C,B,E,A,z,m;E=D.pagesX.length-1;for(C=0,B=D.pagesX.length;C=D.pagesX[C]){E=C;break}}if(E==D.currPageX&&E>0&&D.dirX<0){E--}G=D.pagesX[E];z=r.abs(G-D.pagesX[D.currPageX]);z=z?r.abs(D.x-G)/z*500:0;D.currPageX=E;E=D.pagesY.length-1;for(C=0;C=D.pagesY[C]){E=C;break}}if(E==D.currPageY&&E>0&&D.dirY<0){E--}F=D.pagesY[E];m=r.abs(F-D.pagesY[D.currPageY]);m=m?r.abs(D.y-F)/m*500:0;D.currPageY=E;A=200;return{x:G,y:F,time:A}},_bind:function(y,x,m){(x||this.scroller).addEventListener(y,this,!!m)},_unbind:function(y,x,m){(x||this.scroller).removeEventListener(y,this,!!m)},resize:function(x,m){if(x){this.wrapperWidth=x}if(m){this.wrapperHeight=m}this.refresh()},destroy:function(){var m=this;m.scroller.style[v+"Transform"]="";m.hScrollbar=false;m.vScrollbar=false;m._scrollbar("h");m._scrollbar("v");m._unbind(h,window);m._unbind(b);m._unbind(p);m._unbind(e);m._unbind(t);if(!m.options.hasTouch){m._unbind("mouseout",m.wrapper);m._unbind(q)}if(m.options.useTransition){m._unbind("webkitTransitionEnd")}if(m.options.checkDOMChanges){clearInterval(m.checkDOMTime)}if(m.options.onDestroy){m.options.onDestroy.call(m)}},refresh:function(){var B=this,y,A,x,z,D=0,C=0;if(B.scaleB.wrapperH);B.hScrollbar=B.hScroll&&B.options.hScrollbar&&B.maxScrollX<0;B.vScrollbar=B.vScroll&&B.options.vScrollbar&&B.maxScrollY<0;y=B._offset(B.wrapper);B.wrapperOffsetLeft=-y.left;B.wrapperOffsetTop=-y.top;var E=document.defaultView.getComputedStyle(B.scroller,null);B.wrapperOffsetTop+=parseInt(E["padding-top"]);if(typeof B.options.snap=="string"){B.pagesX=[];B.pagesY=[];z=B.scroller.querySelectorAll(B.options.snap);for(A=0,x=z.length;A=B.maxScrollX){B.pagesX[C]=D;D=D-B.wrapperW;C++}if(B.maxScrollX%B.wrapperW){B.pagesX[B.pagesX.length]=B.maxScrollX-B.pagesX[B.pagesX.length-1]+B.pagesX[B.pagesX.length-1]}D=0;C=0;B.pagesY=[];while(D>=B.maxScrollY){B.pagesY[C]=D;D=D-B.wrapperH;C++}if(B.maxScrollY%B.wrapperH){B.pagesY[B.pagesY.length]=B.maxScrollY-B.pagesY[B.pagesY.length-1]+B.pagesY[B.pagesY.length-1]}}}B._scrollbar("h");B._scrollbar("v");if(!B.zoomed){B._resetPos(200)}},scrollTo:function(m,F,E,D){var C=this,B=m,A,z;if(!E){C._posImpl(m,F);return}C.stop();if(!B.length){B=[{x:m,y:F,time:E,relative:D}]}for(A=0,z=B.length;A=x.y-x.wrapper.clientHeight){return}else{if(z.topx.x-x.wrapper.clientWidth){return}else{if(z.left0?0:z.leftx.minScrollY?x.minScrollY:z.topB.pagesX.length-1?B.pagesX.length-1:A;z=z<0?0:z>B.pagesY.length-1?B.pagesY.length-1:z;B.currPageX=A;B.currPageY=z;m=B.pagesX[A];D=B.pagesY[z]}else{m=-B.wrapperW*A;D=-B.wrapperH*z;if(m0?0:z.xz.minScrollY?z.minScrollY:z.yi;i++){var r=g[i],f=r.toUpperCase()+"_"+t;if(f in a)return"@-"+r.toLowerCase()+"-"+n}return!1};l.atRule=m;var g=l._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];l._prefixes=g,o(),a(r),delete l.addTest,delete l.addAsyncTest;for(var v=0;v255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return e.length==1&&(e="0"+e),t.length==1&&(t="0"+t),n.length==1&&(n="0"+n),"#"+e+t+n},this.getHelpXML=function(){var e=new Array;for(var r=0;r "+f.toRGB()+" -> "+f.toHex());a.appendChild(l),a.appendChild(c),u.appendChild(a)}catch(h){}return u}}canvg=function(){function t(){var e={};return e.FRAMERATE=30,e.MAX_VIRTUAL_PIXELS=3e4,e.init=function(t){e.Definitions={},e.Styles={},e.Animations=[],e.Images=[],e.ctx=t,e.ViewPort=new function(){this.viewPorts=[],this.Clear=function(){this.viewPorts=[]},this.SetCurrent=function(e,t){this.viewPorts.push({width:e,height:t})},this.RemoveCurrent=function(){this.viewPorts.pop()},this.Current=function(){return this.viewPorts[this.viewPorts.length-1]},this.width=function(){return this.Current().width},this.height=function(){return this.Current().height},this.ComputeSize=function(e){return e!=null&&typeof e=="number"?e:e=="x"?this.width():e=="y"?this.height():Math.sqrt(Math.pow(this.width(),2)+Math.pow(this.height(),2))/Math.sqrt(2)}}},e.init(),e.ImagesLoaded=function(){for(var t=0;t]*>/,"");var n=new ActiveXObject("Microsoft.XMLDOM");return n.async="false",n.loadXML(e),n},e.Property=function(t,n){this.name=t,this.value=n,this.hasValue=function(){return this.value!=null&&this.value!==""},this.numValue=function(){if(!this.hasValue())return 0;var e=parseFloat(this.value);return(this.value+"").match(/%$/)&&(e/=100),e},this.valueOrDefault=function(e){return this.hasValue()?this.value:e},this.numValueOrDefault=function(e){return this.hasValue()?this.numValue():e};var r=this;this.Color={addOpacity:function(t){var n=r.value;if(t!=null&&t!=""){var i=new RGBColor_(r.value);i.ok&&(n="rgba("+i.r+", "+i.g+", "+i.b+", "+t+")")}return new e.Property(r.name,n)}},this.Definition={getDefinition:function(){var t=r.value.replace(/^(url\()?#([^\)]+)\)?$/,"$2");return e.Definitions[t]},isUrl:function(){return r.value.indexOf("url(")==0},getFillStyle:function(t){var n=this.getDefinition();return n!=null&&n.createGradient?n.createGradient(e.ctx,t):n!=null&&n.createPattern?n.createPattern(e.ctx,t):null}},this.Length={DPI:function(e){return 96},EM:function(t){var n=12,r=new e.Property("fontSize",e.Font.Parse(e.ctx.font).fontSize);return r.hasValue()&&(n=r.Length.toPixels(t)),n},toPixels:function(t){if(!r.hasValue())return 0;var n=r.value+"";return n.match(/em$/)?r.numValue()*this.EM(t):n.match(/ex$/)?r.numValue()*this.EM(t)/2:n.match(/px$/)?r.numValue():n.match(/pt$/)?r.numValue()*1.25:n.match(/pc$/)?r.numValue()*15:n.match(/cm$/)?r.numValue()*this.DPI(t)/2.54:n.match(/mm$/)?r.numValue()*this.DPI(t)/25.4:n.match(/in$/)?r.numValue()*this.DPI(t):n.match(/%$/)?r.numValue()*e.ViewPort.ComputeSize(t):r.numValue()}},this.Time={toMilliseconds:function(){if(!r.hasValue())return 0;var e=r.value+"";return e.match(/s$/)?r.numValue()*1e3:e.match(/ms$/)?r.numValue():r.numValue()}},this.Angle={toRadians:function(){if(!r.hasValue())return 0;var e=r.value+"";return e.match(/deg$/)?r.numValue()*(Math.PI/180):e.match(/grad$/)?r.numValue()*(Math.PI/200):e.match(/rad$/)?r.numValue():r.numValue()*(Math.PI/180)}}},e.Font=new function(){this.Styles=["normal","italic","oblique","inherit"],this.Variants=["normal","small-caps","inherit"],this.Weights=["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900","inherit"],this.CreateFont=function(t,n,r,i,s,o){var u=o!=null?this.Parse(o):this.CreateFont("","","","","",e.ctx.font);return{fontFamily:s||u.fontFamily,fontSize:i||u.fontSize,fontStyle:t||u.fontStyle,fontWeight:r||u.fontWeight,fontVariant:n||u.fontVariant,toString:function(){return[this.fontStyle,this.fontVariant,this.fontWeight,this.fontSize,this.fontFamily].join(" ")}}};var t=this;this.Parse=function(n){var r={},i=e.trim(e.compressSpaces(n||"")).split(" "),s={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1},o="";for(var u=0;uthis.x2&&(this.x2=e)}if(t!=null){if(isNaN(this.y1)||isNaN(this.y2))this.y1=t,this.y2=t;tthis.y2&&(this.y2=t)}},this.addX=function(e){this.addPoint(e,null)},this.addY=function(e){this.addPoint(null,e)},this.addBoundingBox=function(e){this.addPoint(e.x1,e.y1),this.addPoint(e.x2,e.y2)},this.addQuadraticCurve=function(e,t,n,r,i,s){var o=e+2/3*(n-e),u=t+2/3*(r-t),a=o+1/3*(i-e),f=u+1/3*(s-t);this.addBezierCurve(e,t,o,a,u,f,i,s)},this.addBezierCurve=function(e,t,n,r,i,s,o,u){var a=[e,t],f=[n,r],l=[i,s],c=[o,u];this.addPoint(a[0],a[1]),this.addPoint(c[0],c[1]);for(var h=0;h<=1;h++){var p=function(e){return Math.pow(1-e,3)*a[h]+3*Math.pow(1-e,2)*e*f[h]+3*(1-e)*Math.pow(e,2)*l[h]+Math.pow(e,3)*c[h]},d=6*a[h]-12*f[h]+6*l[h],v=-3*a[h]+9*f[h]-9*l[h]+3*c[h],m=3*f[h]-3*a[h];if(v==0){if(d==0)continue;var g=-m/d;0=this.tokens.length-1},this.isCommandOrEnd=function(){return this.isEnd()?!0:this.tokens[this.i+1].match(/^[A-Za-z]$/)!=null},this.isRelativeCommand=function(){return this.command==this.command.toLowerCase()},this.getToken=function(){return this.i=this.i+1,this.tokens[this.i]},this.getScalar=function(){return parseFloat(this.getToken())},this.nextCommand=function(){this.previousCommand=this.command,this.command=this.getToken()},this.getPoint=function(){var t=new e.Point(this.getScalar(),this.getScalar());return this.makeAbsolute(t)},this.getAsControlPoint=function(){var e=this.getPoint();return this.control=e,e},this.getAsCurrentPoint=function(){var e=this.getPoint();return this.current=e,e},this.getReflectedControlPoint=function(){if(this.previousCommand.toLowerCase()!="c"&&this.previousCommand.toLowerCase()!="s")return this.current;var t=new e.Point(2*this.current.x-this.control.x,2*this.current.y-this.control.y);return t},this.makeAbsolute=function(e){return this.isRelativeCommand()&&(e.x=this.current.x+e.x,e.y=this.current.y+e.y),e},this.addMarker=function(e,t,n){n!=null&&this.angles.length>0&&this.angles[this.angles.length-1]==null&&(this.angles[this.angles.length-1]=this.points[this.points.length-1].angleTo(n)),this.addMarkerAngle(e,t==null?null:t.angleTo(e))},this.addMarkerAngle=function(e,t){this.points.push(e),this.angles.push(t)},this.getMarkerPoints=function(){return this.points},this.getMarkerAngles=function(){for(var e=0;e1&&(c*=Math.sqrt(g),h*=Math.sqrt(g));var y=(d==v?-1:1)*Math.sqrt((Math.pow(c,2)*Math.pow(h,2)-Math.pow(c,2)*Math.pow(m.y,2)-Math.pow(h,2)*Math.pow(m.x,2))/(Math.pow(c,2)*Math.pow(m.y,2)+Math.pow(h,2)*Math.pow(m.x,2)));isNaN(y)&&(y=0);var b=new e.Point(y*c*m.y/h,y*-h*m.x/c),w=new e.Point((u.x+l.x)/2+Math.cos(p)*b.x-Math.sin(p)*b.y,(u.y+l.y)/2+Math.sin(p)*b.x+Math.cos(p)*b.y),E=function(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2))},S=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(E(e)*E(t))},x=function(e,t){return(e[0]*t[1]=1&&(k=0),v==0&&k>0&&(k-=2*Math.PI),v==1&&k<0&&(k+=2*Math.PI);var L=new e.Point(w.x-c*Math.cos((T+k)/2),w.y-h*Math.sin((T+k)/2));n.addMarkerAngle(L,(T+k)/2+(v==0?1:-1)*Math.PI/2),n.addMarkerAngle(l,k+(v==0?1:-1)*Math.PI/2),r.addPoint(l.x,l.y);if(t!=null){S=c>h?c:h;var A=c>h?1:c/h,O=c>h?h/c:1;t.translate(w.x,w.y),t.rotate(p),t.scale(A,O),t.arc(0,0,S,T,T+k,1-v),t.scale(1/A,1/O),t.rotate(-p),t.translate(-w.x,-w.y)}}break;case"Z":t!=null&&t.closePath(),n.current=n.start}}return r},this.getMarkers=function(){var e=this.PathParser.getMarkerPoints(),t=this.PathParser.getMarkerAngles(),n=[];for(var r=0;rthis.maxDuration){if(this.attribute("repeatCount").value!="indefinite")return this.attribute("fill").valueOrDefault("remove")=="remove"&&!this.removed?(this.removed=!0,this.getProperty().value=this.initialValue,!0):!1;this.duration=0}this.duration=this.duration+e;var t=!1;if(this.begin0&&t[n-1]!=" "&&n0&&t[n-1]!=" "&&(n==t.length-1||t[n+1]==" ")&&(s="initial"),typeof e.glyphs[r]!="undefined"&&(i=e.glyphs[r][s],i==null&&e.glyphs[r].type=="glyph"&&(i=e.glyphs[r]))}else i=e.glyphs[r];return i==null&&(i=e.missingGlyph),i},this.renderChildren=function(t){var n=this.parent.style("font-family").Definition.getDefinition();if(n!=null){var r=this.parent.style("font-size").numValueOrDefault(e.Font.Parse(e.ctx.font).fontSize),i=this.parent.style("font-style").valueOrDefault(e.Font.Parse(e.ctx.font).fontStyle),s=this.getText();n.isRTL&&(s=s.split("").reverse().join(""));var o=e.ToNumberArray(this.parent.attribute("dx").value);for(var u=0;u0?t.childNodes[0].value:t.text,this.getText=function(){return this.text}},e.Element.tspan.prototype=new e.Element.TextElementBase,e.Element.tspan=e.Element.tspan,e.Element.tref=function(t){this.base=e.Element.TextElementBase,this.base(t),this.getText=function(){var e=this.attribute("xlink:href").Definition.getDefinition();if(e!=null)return e.children[0].getText()}},e.Element.tref.prototype=new e.Element.TextElementBase,e.Element.tref=e.Element.tref,e.Element.a=function(t){this.base=e.Element.TextElementBase,this.base(t),this.hasText=!0;for(var n=0;n0){var y=m[g].indexOf("url"),b=m[g].indexOf(")",y),w=m[g].substr(y+5,b-y-6),E=e.parseXml(e.ajax(w)),S=E.getElementsByTagName("font");for(var x=0;x1?n-1:0),i=1;i=i.length)break;a=i[s++]}else{if(s=i.next(),s.done)break;a=s.value}var u=a,c=t["padding-"+u];r[u]=e(c)}return r}function i(t,e,n,r){return{width:t,height:e,top:n,right:t+r,bottom:e+n,left:r}}function o(t){var e=t.getBBox();return i(e.width,e.height,0,0)}function s(){var n=t(document.documentElement),r=e(n.width),o=e(n.height);return i(r,o,0,0)}function a(o){var s=o.clientWidth,a=o.clientHeight;if(!s&&!a)return O;var u=t(o),c=r(u),h=c.left+c.right,f=c.top+c.bottom,l=e(u.width),p=e(u.height);"border-box"===u.boxSizing&&(Math.round(l+h)!==s&&(l-=n(u,"left","right")+h),Math.round(p+f)!==a&&(p-=n(u,"top","bottom")+f));var d=Math.round(l+h)-s,_=Math.round(p+f)-a;return 1!==Math.abs(d)&&(l-=d),1!==Math.abs(_)&&(p-=_),i(l,p,c.top,c.left)}function u(t){return t instanceof window.SVGElement}function c(t){return t===document.documentElement}function h(t){return u(t)?o(t):c(t)?s():a(t)}function f(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={configurable:n.configurable||!1,writable:n.writable||!1,enumerable:n.enumerable||!1},i=Object.keys(e),o=Array.isArray(i),s=0,i=o?i:i[Symbol.iterator]();;){var a;if(o){if(s>=i.length)break;a=i[s++]}else{if(s=i.next(),s.done)break;a=s.value}var u=a;r.value=e[u],Object.defineProperty(t,u,r)}return t}var l=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},p=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:null,n=this.__entries__,r=Array.isArray(n),i=0,n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var s=o;t.call(e,s[1],s[0])}},p(e,[{key:"size",get:function(){return this.__entries__.length}}]),e}(v)}(),w=function(){return"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame:function(t){return setTimeout(function(){return t(Date.now())},1e3/60)}}(),g=function(t){function e(){t.apply.apply(t,s),s=null,a&&(r.apply.apply(r,a),a=null)}function n(){o?w(e):e()}function r(){for(var t=arguments.length,e=Array(t),r=0;r1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=null,a=null;return r},m="function"==typeof window.MutationObserver,E=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];l(this,t),this._isCycleContinuous=!m||e,this._listenersEnabled=!1,this._mutationsObserver=null,this._observers=[],this.refresh=g(this.refresh.bind(this),30,!0),this._continuousUpdateHandler=g(this.refresh,70)}return t.prototype.connect=function(t){this.isConnected(t)||this._observers.push(t),this._listenersEnabled||this._addListeners()},t.prototype.disconnect=function(t){var e=this._observers,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this._listenersEnabled&&this._removeListeners()},t.prototype.isConnected=function(t){return!!~this._observers.indexOf(t)},t.prototype.refresh=function(){var t=this._updateObservers();t?this.refresh():this._isCycleContinuous&&this._listenersEnabled&&this._continuousUpdateHandler()},t.prototype._updateObservers=function(){for(var t=!1,e=this._observers,n=Array.isArray(e),r=0,e=n?e:e[Symbol.iterator]();;){var i;if(n){if(r>=e.length)break;i=e[r++]}else{if(r=e.next(),r.done)break;i=r.value}var o=i;o.gatherActive(),o.hasActive()&&(t=!0,o.broadcastActive())}return t},t.prototype._addListeners=function(){this._listenersEnabled||(window.addEventListener("resize",this.refresh),m&&(this._mutationsObserver=new MutationObserver(this.refresh),this._mutationsObserver.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._listenersEnabled=!0,this._isCycleContinuous&&this.refresh())},t.prototype._removeListeners=function(){this._listenersEnabled&&(window.removeEventListener("resize",this.refresh),this._mutationsObserver&&this._mutationsObserver.disconnect(),this._mutationsObserver=null,this._listenersEnabled=!1)},p(t,[{key:"continuousUpdates",get:function(){return this._isCycleContinuous},set:function(t){m&&(this._isCycleContinuous=t,this._listenersEnabled&&t&&this.refresh())}}]),t}(),O=i(0,0,0,0),A=function(){function t(e){l(this,t),this.target=e,this._contentRect=O,this.broadcastWidth=0,this.broadcastHeight=0}return t.prototype.broadcastRect=function(){var t=this._contentRect;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t.prototype.isActive=function(){var t=h(this.target);return this._contentRect=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t}(),ResizeObserverEntry=function ResizeObserverEntry(t,e){l(this,ResizeObserverEntry);var n=window.ClientRect||Object,r=Object.create(n.prototype);f(r,e,{configurable:!0}),f(this,{target:t,contentRect:r},{configurable:!0})},k=function(){function ResizeObserver(t,e,n){if(l(this,ResizeObserver),"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this._callback=t,this._targets=new y,this._activeTargets=[],this._controller=e,this._publicObserver=n}return ResizeObserver.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(t instanceof Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this._targets;e.has(t)||(e.set(t,new A(t)),this._controller.isConnected(this)||this._controller.connect(this),this._controller.refresh())},ResizeObserver.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(t instanceof Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this._targets;e.has(t)&&(e.delete(t),e.size||this.disconnect())},ResizeObserver.prototype.disconnect=function(){this.clearActive(),this._targets.clear(),this._controller.disconnect(this)},ResizeObserver.prototype.gatherActive=function(){this.clearActive();var t=this._activeTargets;this._targets.forEach(function(e){e.isActive()&&t.push(e)})},ResizeObserver.prototype.broadcastActive=function(){if(this.hasActive()){var t=this._publicObserver,e=this._activeTargets.map(function(t){return new ResizeObserverEntry(t.target,t.broadcastRect())});this.clearActive(),this._callback.call(t,e,t)}},ResizeObserver.prototype.clearActive=function(){this._activeTargets.splice(0)},ResizeObserver.prototype.hasActive=function(){return!!this._activeTargets.length},ResizeObserver}(),T=new E,C=new v,ResizeObserver=function(){function ResizeObserver(t){if(l(this,ResizeObserver),!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var e=new k(t,T,this);C.set(this,e)}return p(ResizeObserver,null,[{key:"continuousUpdates",get:function(){return T.continuousUpdates},set:function(t){if("boolean"!=typeof t)throw new TypeError('type of "continuousUpdates" value must be boolean.');T.continuousUpdates=t}}]),ResizeObserver}();["observe","unobserve","disconnect"].forEach(function(t){ResizeObserver.prototype[t]=function(){var e;return(e=C.get(this))[t].apply(e,arguments)}}),"function"!=typeof window.ResizeObserver&&Object.defineProperty(window,"ResizeObserver",{value:ResizeObserver,writable:!0,configurable:!0});var x=window.ResizeObserver;return x}); + diff --git a/simulation/iframes/data/slide1.css b/simulation/iframes/data/slide1.css new file mode 100644 index 0000000..55902f9 --- /dev/null +++ b/simulation/iframes/data/slide1.css @@ -0,0 +1 @@ +#spr1_568b78c {clip:rect(0px,960px,540px,0px);}#txt0_568b78c,#txt1_568b78c {font-family:fnt4; font-size:40px; line-height:56px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt2_568b78c,#txt3_568b78c {font-family:fnt4; font-size:40px; line-height:56px; font-weight:bold; color:#ffffff;} \ No newline at end of file diff --git a/simulation/iframes/data/slide1.js b/simulation/iframes/data/slide1.js new file mode 100644 index 0000000..edee998 --- /dev/null +++ b/simulation/iframes/data/slide1.js @@ -0,0 +1 @@ +(function(){var loadHandler=window['sl_{33EC1F32-8FA7-4A05-8E7A-7B4383B6C09F}'];loadHandler&&loadHandler(0, '
    Concept
    Development
    Concept
    Development
    ', '{"s":[]}');})(); \ No newline at end of file diff --git a/simulation/iframes/data/slide10.css b/simulation/iframes/data/slide10.css new file mode 100644 index 0000000..0ad2b5d --- /dev/null +++ b/simulation/iframes/data/slide10.css @@ -0,0 +1 @@ +#spr1_5690500 {clip:rect(0px,960px,540px,0px);}#txt0_5690500,#txt1_5690500,#txt2_5690500,#txt3_5690500 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; text-decoration-line:underline; text-decoration-skip:none; text-decoration-skip-ink:none; text-decoration-thickness:1.867px; text-decoration-style:solid; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt4_5690500,#txt5_5690500,#txt6_5690500,#txt7_5690500 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; text-decoration-line:underline; text-decoration-skip:none; text-decoration-skip-ink:none; text-decoration-thickness:1.867px; text-decoration-style:solid; color:#443bf5;}#txt8_5690500,#txt22_5690500 {font-family:PFn; font-size:28px; line-height:32px; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt9_5690500,#txt10_5690500,#txt11_5690500,#txt12_5690500,#txt13_5690500,#txt14_5690500,#txt23_5690500,#txt24_5690500,#txt25_5690500,#txt26_5690500,#txt27_5690500 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt15_5690500 {font-family:PFn; font-size:28px; line-height:32px; color:#006600;}#txt16_5690500,#txt17_5690500,#txt18_5690500,#txt19_5690500,#txt20_5690500,#txt21_5690500 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#006600;}#txt28_5690500 {font-family:PFn; font-size:28px; line-height:32px; color:#b10f9e;}#txt29_5690500,#txt30_5690500,#txt31_5690500,#txt32_5690500,#txt33_5690500 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#b10f9e;}#txt34_5690500 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#ffffff;}#spr6_5690500,#spr11_5690500,#spr16_5690500,#spr19_5690500 {display:none;}#svg0_5690500,#svg42_5690500,#svg52_5690500,#svg94_5690500,#svg117_5690500,#svg118_5690500 {pointer-events:none;}#txt35_5690500,#txt41_5690500 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#c00000;}#svg2_5690500,#svg54_5690500 {-webkit-transform-origin:0px -0px; -moz-transform-origin:0px -0px; -o-transform-origin:0px -0px; -ms-transform-origin:0px -0px; transform-origin:0px -0px;}#txt36_5690500,#txt39_5690500 {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt37_5690500,#txt40_5690500 {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:#ffffff;}#svg5_5690500,#svg57_5690500 {-webkit-transform-origin:6.75px 6.75px; -moz-transform-origin:6.75px 6.75px; -o-transform-origin:6.75px 6.75px; -ms-transform-origin:6.75px 6.75px; transform-origin:6.75px 6.75px;}#svg6_5690500 {-webkit-transform-origin:5.983px 3px; -moz-transform-origin:5.983px 3px; -o-transform-origin:5.983px 3px; -ms-transform-origin:5.983px 3px; transform-origin:5.983px 3px;}#svg12_5690500,#svg24_5690500,#svg30_5690500,#svg64_5690500,#svg76_5690500,#svg82_5690500 {-webkit-transform-origin:6px 3px; -moz-transform-origin:6px 3px; -o-transform-origin:6px 3px; -ms-transform-origin:6px 3px; transform-origin:6px 3px;}#svg18_5690500,#svg36_5690500,#svg70_5690500,#svg88_5690500 {-webkit-transform-origin:3px 6px; -moz-transform-origin:3px 6px; -o-transform-origin:3px 6px; -ms-transform-origin:3px 6px; transform-origin:3px 6px;}#txt38_5690500,#txt42_5690500 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#000000;}#svg50_5690500 {-webkit-transform-origin:5.971px 0.173px; -moz-transform-origin:5.971px 0.173px; -o-transform-origin:5.971px 0.173px; -ms-transform-origin:5.971px 0.173px; transform-origin:5.971px 0.173px;}#svg51_5690500 {-webkit-transform-origin:1.5px 1.5px; -moz-transform-origin:1.5px 1.5px; -o-transform-origin:1.5px 1.5px; -ms-transform-origin:1.5px 1.5px; transform-origin:1.5px 1.5px;}#svg58_5690500 {-webkit-transform-origin:5.982px 3px; -moz-transform-origin:5.982px 3px; -o-transform-origin:5.982px 3px; -ms-transform-origin:5.982px 3px; transform-origin:5.982px 3px;}#svg105_5690500,#svg116_5690500,#svg129_5690500,#svg140_5690500 {-webkit-transform-origin:12px 9px; -moz-transform-origin:12px 9px; -o-transform-origin:12px 9px; -ms-transform-origin:12px 9px; transform-origin:12px 9px;}#txt43_5690500,#txt44_5690500,#txt45_5690500,#txt46_5690500,#txt47_5690500,#txt48_5690500,#txt49_5690500,#txt50_5690500,#txt51_5690500,#txt52_5690500,#txt53_5690500,#txt54_5690500,#txt55_5690500,#txt56_5690500,#txt57_5690500,#txt58_5690500,#txt59_5690500,#txt60_5690500,#txt61_5690500,#txt62_5690500,#txt63_5690500,#txt64_5690500,#txt65_5690500,#txt66_5690500 {font-family:fnt5; font-size:14px; line-height:20px; font-weight:bold; color:#ffffff;} \ No newline at end of file diff --git a/simulation/iframes/data/slide10.js b/simulation/iframes/data/slide10.js new file mode 100644 index 0000000..3920241 --- /dev/null +++ b/simulation/iframes/data/slide10.js @@ -0,0 +1 @@ +(function(){var loadHandler=window['sl_{33EC1F32-8FA7-4A05-8E7A-7B4383B6C09F}'];loadHandler&&loadHandler(9, '
    Functionality   of   MOSFET   (Sw):
    Functionality   of   MOSFET   (Sw):
    Can  operate  in  two  modes:  ON/OFF
    Can  operate  in  two  modes:  ON/OFF
    Controlled  by  “Gate  PWM  Signal”
    Controlled  by  “Gate  PWM  Signal”
    Functionality of Semiconductor Devices in DC-DC Converter Topologies
    Short Circuit
    MOSFET - ON
    MOSFET - ON
    V
    MOSFET - OFF
    MOSFET - OFF
    Open Circuit
    V
    Low PWM Signal
    High PWM Signal
    controlled  switch  (MOSFET  or  IGBT)  under  forward  biased  condition,  starts  conducting  against  “High  PWM  signal”  and  turns-OFF  with  “Low
    PWM  signal”.
    ', '{"s":[]}');})(); \ No newline at end of file diff --git a/simulation/iframes/data/slide11.css b/simulation/iframes/data/slide11.css new file mode 100644 index 0000000..c4e7f65 --- /dev/null +++ b/simulation/iframes/data/slide11.css @@ -0,0 +1 @@ +#spr1_5690d0f {clip:rect(0px,960px,540px,0px);}#txt0_5690d0f {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#ffffff;}#svg0_5690d0f {-webkit-transform-origin:1.5px 1.5px; -moz-transform-origin:1.5px 1.5px; -o-transform-origin:1.5px 1.5px; -ms-transform-origin:1.5px 1.5px; transform-origin:1.5px 1.5px;}#txt1_5690d0f,#txt2_5690d0f,#txt3_5690d0f,#txt4_5690d0f {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; text-decoration-line:underline; text-decoration-skip:none; text-decoration-skip-ink:none; text-decoration-thickness:1.867px; text-decoration-style:solid; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt5_5690d0f,#txt6_5690d0f,#txt7_5690d0f,#txt8_5690d0f {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; text-decoration-line:underline; text-decoration-skip:none; text-decoration-skip-ink:none; text-decoration-thickness:1.867px; text-decoration-style:solid; color:#443bf5;}#txt9_5690d0f {font-family:PFn; font-size:28px; line-height:32px; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt10_5690d0f,#txt11_5690d0f,#txt12_5690d0f,#txt13_5690d0f,#txt14_5690d0f,#txt15_5690d0f {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt16_5690d0f {font-family:PFn; font-size:28px; line-height:32px; color:#006600;}#txt17_5690d0f,#txt18_5690d0f,#txt19_5690d0f,#txt20_5690d0f,#txt21_5690d0f,#txt22_5690d0f {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#006600;}#spr6_5690d0f,#spr11_5690d0f,#spr17_5690d0f,#spr24_5690d0f {display:none;}#svg1_5690d0f,#svg2_5690d0f,#svg3_5690d0f,#svg4_5690d0f,#svg5_5690d0f,#svg6_5690d0f,#svg7_5690d0f,#svg49_5690d0f,#svg50_5690d0f,#svg51_5690d0f,#svg60_5690d0f,#svg102_5690d0f,#svg103_5690d0f,#svg104_5690d0f {pointer-events:none;}#txt23_5690d0f,#txt26_5690d0f,#txt41_5690d0f,#txt42_5690d0f,#txt43_5690d0f,#txt44_5690d0f,#txt45_5690d0f,#txt46_5690d0f,#txt47_5690d0f,#txt48_5690d0f,#txt49_5690d0f,#txt50_5690d0f,#txt51_5690d0f,#txt52_5690d0f,#txt53_5690d0f,#txt54_5690d0f,#txt55_5690d0f,#txt56_5690d0f,#txt57_5690d0f {font-family:fnt5; font-size:14px; line-height:20px; font-weight:bold; color:#ffffff;}#txt24_5690d0f,#txt27_5690d0f {font-family:fnt5; font-size:18px; line-height:26px; font-weight:bold; color:#000000;}#txt25_5690d0f,#txt28_5690d0f {font-family:fnt5; font-size:18px; line-height:26px; font-weight:bold; color:#ff00ff;}#txt29_5690d0f,#txt36_5690d0f {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt30_5690d0f,#txt37_5690d0f {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:#ffffff;}#txt31_5690d0f,#txt35_5690d0f {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#c00000;}#svg9_5690d0f,#svg62_5690d0f {-webkit-transform-origin:0px -0px; -moz-transform-origin:0px -0px; -o-transform-origin:0px -0px; -ms-transform-origin:0px -0px; transform-origin:0px -0px;}#svg12_5690d0f,#svg65_5690d0f {-webkit-transform-origin:6.75px 6.75px; -moz-transform-origin:6.75px 6.75px; -o-transform-origin:6.75px 6.75px; -ms-transform-origin:6.75px 6.75px; transform-origin:6.75px 6.75px;}#svg13_5690d0f {-webkit-transform-origin:5.982px 8.93px; -moz-transform-origin:5.982px 8.93px; -o-transform-origin:5.982px 8.93px; -ms-transform-origin:5.982px 8.93px; transform-origin:5.982px 8.93px;}#svg19_5690d0f,#svg37_5690d0f,#svg72_5690d0f,#svg90_5690d0f {-webkit-transform-origin:6px 3px; -moz-transform-origin:6px 3px; -o-transform-origin:6px 3px; -ms-transform-origin:6px 3px; transform-origin:6px 3px;}#svg25_5690d0f,#svg43_5690d0f,#svg78_5690d0f,#svg96_5690d0f {-webkit-transform-origin:3px 6px; -moz-transform-origin:3px 6px; -o-transform-origin:3px 6px; -ms-transform-origin:3px 6px; transform-origin:3px 6px;}#svg31_5690d0f,#svg84_5690d0f {-webkit-transform-origin:0px 8.93px; -moz-transform-origin:0px 8.93px; -o-transform-origin:0px 8.93px; -ms-transform-origin:0px 8.93px; transform-origin:0px 8.93px;}#txt32_5690d0f,#txt38_5690d0f {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#000000;}#txt33_5690d0f,#txt34_5690d0f,#txt39_5690d0f,#txt40_5690d0f {font-family:fnt5; font-size:18px; line-height:26px; font-weight:bold; color:#ffff00;}#svg59_5690d0f {-webkit-transform-origin:5.989px 0.064px; -moz-transform-origin:5.989px 0.064px; -o-transform-origin:5.989px 0.064px; -ms-transform-origin:5.989px 0.064px; transform-origin:5.989px 0.064px;}#svg66_5690d0f {-webkit-transform-origin:5.983px 8.93px; -moz-transform-origin:5.983px 8.93px; -o-transform-origin:5.983px 8.93px; -ms-transform-origin:5.983px 8.93px; transform-origin:5.983px 8.93px;} \ No newline at end of file diff --git a/simulation/iframes/data/slide11.js b/simulation/iframes/data/slide11.js new file mode 100644 index 0000000..b910e08 --- /dev/null +++ b/simulation/iframes/data/slide11.js @@ -0,0 +1 @@ +(function(){var loadHandler=window['sl_{33EC1F32-8FA7-4A05-8E7A-7B4383B6C09F}'];loadHandler&&loadHandler(10, '
    Functionality of Semiconductor Devices in DC-DC Converter Topologies
    Functionality   of   Diode   (Di):
    Functionality   of   Diode   (Di):
    Can  operate  in  two  modes:  ON/OFF
    Can  operate  in  two  modes:  ON/OFF
    Forward Biased
    K (-)
    A (+)
    Reverse Biased
    K (+)
    A (-)
    Diode - OFF
    Diode - OFF
    Open Circuit
    V
    A
    K
    Short Circuit
    Diode - ON
    Diode - ON
    V
    A
    K
    An  uncontrolled  diode  “conducts”  under  forward  biased  condition  and  acts  as  “Open  circuit”  under  reverse  biased  condition.
    ', '{"s":[]}');})(); \ No newline at end of file diff --git a/simulation/iframes/data/slide12.css b/simulation/iframes/data/slide12.css new file mode 100644 index 0000000..1450f62 --- /dev/null +++ b/simulation/iframes/data/slide12.css @@ -0,0 +1 @@ +#spr1_569151d {clip:rect(0px,960px,540px,0px);}#svg109_569151d {-webkit-transform-origin:3px 5.959px; -moz-transform-origin:3px 5.959px; -o-transform-origin:3px 5.959px; -ms-transform-origin:3px 5.959px; transform-origin:3px 5.959px;}#svg112_569151d {-webkit-transform-origin:3px 5.975px; -moz-transform-origin:3px 5.975px; -o-transform-origin:3px 5.975px; -ms-transform-origin:3px 5.975px; transform-origin:3px 5.975px;}#svg13_569151d {-webkit-transform-origin:6px -0px; -moz-transform-origin:6px -0px; -o-transform-origin:6px -0px; -ms-transform-origin:6px -0px; transform-origin:6px -0px;}#svg116_569151d,#svg168_569151d {-webkit-transform-origin:0px -0px; -moz-transform-origin:0px -0px; -o-transform-origin:0px -0px; -ms-transform-origin:0px -0px; transform-origin:0px -0px;}#svg117_569151d,#svg126_569151d {-webkit-transform-origin:3px 6px; -moz-transform-origin:3px 6px; -o-transform-origin:3px 6px; -ms-transform-origin:3px 6px; transform-origin:3px 6px;}#svg120_569151d {-webkit-transform-origin:5.992px 3px; -moz-transform-origin:5.992px 3px; -o-transform-origin:5.992px 3px; -ms-transform-origin:5.992px 3px; transform-origin:5.992px 3px;}#svg123_569151d {-webkit-transform-origin:3px 5.994px; -moz-transform-origin:3px 5.994px; -o-transform-origin:3px 5.994px; -ms-transform-origin:3px 5.994px; transform-origin:3px 5.994px;}#svg129_569151d {-webkit-transform-origin:3px 5.958px; -moz-transform-origin:3px 5.958px; -o-transform-origin:3px 5.958px; -ms-transform-origin:3px 5.958px; transform-origin:3px 5.958px;}#svg132_569151d {-webkit-transform-origin:5.976px 3px; -moz-transform-origin:5.976px 3px; -o-transform-origin:5.976px 3px; -ms-transform-origin:5.976px 3px; transform-origin:5.976px 3px;}#svg47_569151d,#svg108_569151d {-webkit-transform-origin:2.25px -0px; -moz-transform-origin:2.25px -0px; -o-transform-origin:2.25px -0px; -ms-transform-origin:2.25px -0px; transform-origin:2.25px -0px;}#svg135_569151d {-webkit-transform-origin:2.25px 1.125px; -moz-transform-origin:2.25px 1.125px; -o-transform-origin:2.25px 1.125px; -ms-transform-origin:2.25px 1.125px; transform-origin:2.25px 1.125px; display:none;}#svg138_569151d,#svg141_569151d {-webkit-transform-origin:0.5px 1px; -moz-transform-origin:0.5px 1px; -o-transform-origin:0.5px 1px; -ms-transform-origin:0.5px 1px; transform-origin:0.5px 1px;}#svg144_569151d {-webkit-transform-origin:2.028px 1.147px; -moz-transform-origin:2.028px 1.147px; -o-transform-origin:2.028px 1.147px; -ms-transform-origin:2.028px 1.147px; transform-origin:2.028px 1.147px; display:none;}#txt0_569151d,#txt4_569151d {font-family:fnt5; font-size:18px; line-height:26px; font-weight:bold; color:#ff0000;}#txt1_569151d,#txt5_569151d {font-family:fnt5; font-size:12px; line-height:17px; font-weight:bold; color:#ff0000;}#txt2_569151d {font-family:fnt5; font-size:18px; line-height:26px; font-weight:bold; color:#443bf5;}#txt3_569151d {font-family:fnt5; font-size:12px; line-height:17px; font-weight:bold; color:#443bf5;}#svg75_569151d {-webkit-transform-origin:-0px 0px; -moz-transform-origin:-0px 0px; -o-transform-origin:-0px 0px; -ms-transform-origin:-0px 0px; transform-origin:-0px 0px; pointer-events:none;}#svg83_569151d {-webkit-transform-origin:0.009px 0.019px; -moz-transform-origin:0.009px 0.019px; -o-transform-origin:0.009px 0.019px; -ms-transform-origin:0.009px 0.019px; transform-origin:0.009px 0.019px; pointer-events:none;}#txt6_569151d,#txt63_569151d {font-family:fnt5; font-size:14px; line-height:20px; font-weight:bold; color:#00b050;}#txt7_569151d,#txt64_569151d {font-family:fnt5; font-size:9.333px; line-height:13px; font-weight:bold; color:#00b050;}#svg149_569151d {-webkit-transform-origin:2.016px 1.15px; -moz-transform-origin:2.016px 1.15px; -o-transform-origin:2.016px 1.15px; -ms-transform-origin:2.016px 1.15px; transform-origin:2.016px 1.15px; display:none;}#txt8_569151d,#txt10_569151d {font-family:fnt5; font-size:18px; line-height:26px; font-weight:bold; color:#2208e1;}#txt9_569151d,#txt11_569151d {font-family:fnt5; font-size:12px; line-height:17px; font-weight:bold; color:#2208e1;}#spr23_569151d,#spr41_569151d,#spr53_569151d,#spr54_569151d,#spr55_569151d,#spr66_569151d,#svg194_569151d,#spr77_569151d,#spr78_569151d,#svg195_569151d,#spr79_569151d,#svg196_569151d,#spr80_569151d,#svg201_569151d {display:none;}#svg152_569151d {pointer-events:none;}#svg153_569151d {-webkit-transform-origin:2.25px 1.125px; -moz-transform-origin:2.25px 1.125px; -o-transform-origin:2.25px 1.125px; -ms-transform-origin:2.25px 1.125px; transform-origin:2.25px 1.125px;}#svg159_569151d {-webkit-transform-origin:1.125px 2.247px; -moz-transform-origin:1.125px 2.247px; -o-transform-origin:1.125px 2.247px; -ms-transform-origin:1.125px 2.247px; transform-origin:1.125px 2.247px;}#svg166_569151d {-webkit-transform-origin:0px 0px; -moz-transform-origin:0px 0px; -o-transform-origin:0px 0px; -ms-transform-origin:0px 0px; transform-origin:0px 0px;}#txt12_569151d,#txt13_569151d,#txt14_569151d,#txt15_569151d {font-family:fnt5; font-size:36px; line-height:52px; font-weight:bold; color:#ffffff;}#txt16_569151d {font-family:fnt5; font-size:40px; line-height:58px; font-weight:bold; color:#c55a11;}#txt17_569151d {font-family:fnt5; font-size:26.667px; line-height:38px; font-weight:bold; color:#c55a11;}#svg169_569151d {-webkit-transform-origin:5.997px 3px; -moz-transform-origin:5.997px 3px; -o-transform-origin:5.997px 3px; -ms-transform-origin:5.997px 3px; transform-origin:5.997px 3px;}#txt18_569151d {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#ffffff;}#txt19_569151d {font-family:fnt5; font-size:18px; line-height:26px; font-weight:bold; color:#ffffff;}#svg172_569151d,#svg178_569151d {-webkit-transform-origin:3px 5.997px; -moz-transform-origin:3px 5.997px; -o-transform-origin:3px 5.997px; -ms-transform-origin:3px 5.997px; transform-origin:3px 5.997px;}#svg185_569151d,#svg187_569151d,#svg198_569151d {-webkit-transform-origin:1.5px 1.5px; -moz-transform-origin:1.5px 1.5px; -o-transform-origin:1.5px 1.5px; -ms-transform-origin:1.5px 1.5px; transform-origin:1.5px 1.5px;}#txt20_569151d,#txt22_569151d,#txt24_569151d,#txt26_569151d {font-family:fnt5; font-size:36px; line-height:52px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt21_569151d {font-family:fnt5; font-size:36px; line-height:52px; font-weight:bold; color:#443bf5;}#txt23_569151d,#txt25_569151d,#txt28_569151d {font-family:fnt5; font-size:36px; line-height:52px; font-weight:bold; color:#2208e1;}#txt27_569151d {font-family:fnt5; font-size:24px; line-height:35px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt29_569151d {font-family:fnt5; font-size:24px; line-height:35px; font-weight:bold; color:#2208e1;}#svg188_569151d {-webkit-transform-origin:5.998px 3px; -moz-transform-origin:5.998px 3px; -o-transform-origin:5.998px 3px; -ms-transform-origin:5.998px 3px; transform-origin:5.998px 3px;}#svg191_569151d {-webkit-transform-origin:1.5px 5.889px; -moz-transform-origin:1.5px 5.889px; -o-transform-origin:1.5px 5.889px; -ms-transform-origin:1.5px 5.889px; transform-origin:1.5px 5.889px; pointer-events:none;}#txt30_569151d,#txt31_569151d,#txt32_569151d,#txt33_569151d,#txt34_569151d,#txt35_569151d,#txt36_569151d,#txt37_569151d,#txt38_569151d,#txt41_569151d,#txt42_569151d,#txt43_569151d,#txt44_569151d,#txt45_569151d,#txt46_569151d,#txt47_569151d,#txt48_569151d,#txt49_569151d,#txt50_569151d,#txt51_569151d,#txt52_569151d,#txt53_569151d,#txt54_569151d,#txt55_569151d,#txt56_569151d,#txt57_569151d,#txt58_569151d {font-family:fnt5; font-size:18px; line-height:26px; font-weight:bold; color:#000000;}#txt39_569151d,#txt59_569151d {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt40_569151d,#txt60_569151d {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:#ffffff;}#txt61_569151d {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:#056f05;}#txt62_569151d {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:#ff0000;}#svg100_569151d {-webkit-transform-origin:0px 0px; -moz-transform-origin:0px 0px; -o-transform-origin:0px 0px; -ms-transform-origin:0px 0px; transform-origin:0px 0px; pointer-events:none;}#svg200_569151d {-webkit-transform-origin:-0px 0px; -moz-transform-origin:-0px 0px; -o-transform-origin:-0px 0px; -ms-transform-origin:-0px 0px; transform-origin:-0px 0px;}#txt65_569151d,#txt66_569151d {font-family:fnt5; font-size:14px; line-height:20px; font-weight:bold; color:#ffffff;} \ No newline at end of file diff --git a/simulation/iframes/data/slide12.js b/simulation/iframes/data/slide12.js new file mode 100644 index 0000000..db1d6c6 --- /dev/null +++ b/simulation/iframes/data/slide12.js @@ -0,0 +1 @@ +(function(){var loadHandler=window['sl_{33EC1F32-8FA7-4A05-8E7A-7B4383B6C09F}'];loadHandler&&loadHandler(11, '
    V L
    I L
    T S
    (1-D)T S
    V g
    -V g
    L
    o
    a
    d
    V 0
    Boost Converter : Circuit Operation
    1
    L
    L
    Di
    Di
    C
    C
    V g
    V g
    Mode
    Sw
    Di
    I
    ON
    OFF
    II
    OFF
    ON
    Mode - I
    Mode - I
    Mode
    Sw
    Di
    I
    ON
    OFF
    II
    OFF
    ON
    Mode
    Sw
    Di
    I
    ON
    OFF
    II
    OFF
    ON
    Mode - II
    Mode - II
    Inductor Charging
    Inductor Discharging
    (D)T S
    The boost converter operation under switch-ON and OFF condition is displayed where the inductor is drawing the energy from the input Solar
    Panel and Releasing it to the Load
    ', '{"s":[]}');})(); \ No newline at end of file diff --git a/simulation/iframes/data/slide2.css b/simulation/iframes/data/slide2.css new file mode 100644 index 0000000..e581682 --- /dev/null +++ b/simulation/iframes/data/slide2.css @@ -0,0 +1 @@ +#spr1_568b9bf {clip:rect(0px,960px,540px,0px);}#txt0_568b9bf,#txt23_568b9bf,#txt24_568b9bf,#txt25_568b9bf,#txt26_568b9bf {font-family:fnt5; font-size:24px; line-height:35px; font-weight:bold; color:#ffffff;}#txt1_568b9bf,#txt12_568b9bf {font-family:fnt5; font-size:32px; line-height:46px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt2_568b9bf,#txt13_568b9bf {font-family:fnt5; font-size:32px; line-height:46px; font-weight:bold; color:#ffffff;}#spr7_568b9bf,#spr8_568b9bf,#spr9_568b9bf,#spr13_568b9bf {display:none;}#txt3_568b9bf {font-family:fnt5; font-size:24px; line-height:35px; font-weight:bold; color:#0505ff;}#svg0_568b9bf,#svg1_568b9bf,#svg2_568b9bf,#svg3_568b9bf,#svg5_568b9bf,#svg36_568b9bf,#svg37_568b9bf,#svg52_568b9bf,#svg53_568b9bf,#svg54_568b9bf {pointer-events:none;}#txt4_568b9bf,#txt5_568b9bf,#txt6_568b9bf,#txt7_568b9bf,#txt8_568b9bf,#txt9_568b9bf,#txt10_568b9bf {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:#ffffff;}#txt11_568b9bf {font-family:fnt5; font-size:88px; line-height:127px; font-weight:bold; color:#ffffff;}#spr17_568b9bf {-webkit-transform:matrix(0.950519,-0.310665,0.310665,0.950519,0,0); -o-transform:matrix(0.950519,-0.310665,0.310665,0.950519,0,0); -ms-transform:matrix(0.950519,-0.310665,0.310665,0.950519,0,0); -moz-transform:matrix(0.950519,-0.310665,0.310665,0.950519,0,0); transform:matrix(0.950519,-0.310665,0.310665,0.950519,0,0); display:none;}#svg4_568b9bf {-webkit-transform-origin:1.5px 1.5px; -moz-transform-origin:1.5px 1.5px; -o-transform-origin:1.5px 1.5px; -ms-transform-origin:1.5px 1.5px; transform-origin:1.5px 1.5px;}#txt14_568b9bf {font-family:fnt5; font-size:14px; line-height:20px; font-weight:bold; color:#ffffff;}#txt15_568b9bf {font-family:fnt5; font-size:18px; line-height:26px; font-weight:bold; color:#b10f9e;}#svg6_568b9bf {-webkit-transform-origin:4.856px 3.227px; -moz-transform-origin:4.856px 3.227px; -o-transform-origin:4.856px 3.227px; -ms-transform-origin:4.856px 3.227px; transform-origin:4.856px 3.227px;}#svg12_568b9bf {-webkit-transform-origin:5.191px 3.111px; -moz-transform-origin:5.191px 3.111px; -o-transform-origin:5.191px 3.111px; -ms-transform-origin:5.191px 3.111px; transform-origin:5.191px 3.111px;}#svg18_568b9bf,#svg21_568b9bf {-webkit-transform-origin:1.5px 7.5px; -moz-transform-origin:1.5px 7.5px; -o-transform-origin:1.5px 7.5px; -ms-transform-origin:1.5px 7.5px; transform-origin:1.5px 7.5px;}#svg24_568b9bf,#svg55_568b9bf,#svg61_568b9bf {-webkit-transform-origin:6px 3px; -moz-transform-origin:6px 3px; -o-transform-origin:6px 3px; -ms-transform-origin:6px 3px; transform-origin:6px 3px;}#svg30_568b9bf {-webkit-transform-origin:5.972px 3px; -moz-transform-origin:5.972px 3px; -o-transform-origin:5.972px 3px; -ms-transform-origin:5.972px 3px; transform-origin:5.972px 3px;}#txt16_568b9bf,#txt18_568b9bf {font-family:fnt5; font-size:36px; line-height:52px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt17_568b9bf {font-family:fnt5; font-size:36px; line-height:52px; font-weight:bold; color:#ff0000;}#txt19_568b9bf {font-family:fnt5; font-size:36px; line-height:52px; font-weight:bold; color:#000000;}#svg38_568b9bf,#svg44_568b9bf {-webkit-transform-origin:4.5px 2.25px; -moz-transform-origin:4.5px 2.25px; -o-transform-origin:4.5px 2.25px; -ms-transform-origin:4.5px 2.25px; transform-origin:4.5px 2.25px;}#svg50_568b9bf {-webkit-transform-origin:0.005px 14.031px; -moz-transform-origin:0.005px 14.031px; -o-transform-origin:0.005px 14.031px; -ms-transform-origin:0.005px 14.031px; transform-origin:0.005px 14.031px;}#svg51_568b9bf {-webkit-transform-origin:0.005px 28.452px; -moz-transform-origin:0.005px 28.452px; -o-transform-origin:0.005px 28.452px; -ms-transform-origin:0.005px 28.452px; transform-origin:0.005px 28.452px;}#txt20_568b9bf,#txt21_568b9bf {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:#ffff00;}#txt22_568b9bf {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:#056f05;} \ No newline at end of file diff --git a/simulation/iframes/data/slide2.js b/simulation/iframes/data/slide2.js new file mode 100644 index 0000000..7a2c7fe --- /dev/null +++ b/simulation/iframes/data/slide2.js @@ -0,0 +1 @@ +(function(){var loadHandler=window['sl_{33EC1F32-8FA7-4A05-8E7A-7B4383B6C09F}'];loadHandler&&loadHandler(1, '
    Requirement of Voltage Boosting to feed power to DC BUS (Illustrative Examples)
    400V
    400V
    Rating of PV-Panel: 24 V
    Required load
    voltage is different
    from the PV panel
    voltage
    What to do
    to Power the
    DC BUS
    <
    24 V
    24 V
    It is demonstrated that a 24 Volt Solar Panel is insufficient to supply the power to the 400 Volt DC BUS, hence they can not be connected
    DC BUS : 400 V
    +
    +
    _
    _
    AC
    DC
    Rectifier
    L
    o
    a
    d
    ', '{"s":[]}');})(); \ No newline at end of file diff --git a/simulation/iframes/data/slide3.css b/simulation/iframes/data/slide3.css new file mode 100644 index 0000000..b68bfc9 --- /dev/null +++ b/simulation/iframes/data/slide3.css @@ -0,0 +1 @@ +#spr1_568c2a8 {clip:rect(0px,960px,540px,0px);}#spr3_568c2a8,#spr4_568c2a8,#spr6_568c2a8,#spr7_568c2a8,#svg33_568c2a8,#spr10_568c2a8,#spr11_568c2a8,#spr12_568c2a8,#spr13_568c2a8,#spr14_568c2a8,#spr15_568c2a8,#svg34_568c2a8,#spr18_568c2a8,#spr19_568c2a8,#spr25_568c2a8,#svg50_568c2a8,#spr31_568c2a8,#spr33_568c2a8,#spr34_568c2a8,#spr35_568c2a8,#spr36_568c2a8 {display:none;}#txt0_568c2a8,#txt1_568c2a8,#txt2_568c2a8,#txt9_568c2a8,#txt10_568c2a8,#txt16_568c2a8 {font-family:fnt5; font-size:24px; line-height:35px; font-weight:bold; color:#ffffff;}#svg3_568c2a8,#svg9_568c2a8 {-webkit-transform-origin:1.125px 2.25px; -moz-transform-origin:1.125px 2.25px; -o-transform-origin:1.125px 2.25px; -ms-transform-origin:1.125px 2.25px; transform-origin:1.125px 2.25px;}#svg15_568c2a8 {-webkit-transform-origin:3.749px 1.875px; -moz-transform-origin:3.749px 1.875px; -o-transform-origin:3.749px 1.875px; -ms-transform-origin:3.749px 1.875px; transform-origin:3.749px 1.875px;}#svg21_568c2a8 {-webkit-transform-origin:3.492px 1.75px; -moz-transform-origin:3.492px 1.75px; -o-transform-origin:3.492px 1.75px; -ms-transform-origin:3.492px 1.75px; transform-origin:3.492px 1.75px;}#svg27_568c2a8 {-webkit-transform-origin:1.75px 3.495px; -moz-transform-origin:1.75px 3.495px; -o-transform-origin:1.75px 3.495px; -ms-transform-origin:1.75px 3.495px; transform-origin:1.75px 3.495px;}#txt3_568c2a8,#txt4_568c2a8 {font-family:fnt5; font-size:66px; line-height:95px; font-weight:bold; color:#ff0000;}#txt5_568c2a8,#txt6_568c2a8 {font-family:fnt5; font-size:32px; line-height:46px; font-weight:bold; color:#ffffff;}#txt7_568c2a8,#txt8_568c2a8 {font-family:fnt5; font-size:24px; line-height:35px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt11_568c2a8,#txt12_568c2a8,#txt13_568c2a8 {font-family:fnt5; font-size:32px; line-height:46px; font-weight:bold; color:#ff0000;}#txt14_568c2a8 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#b10f9e;}#spr21_568c2a8,#spr22_568c2a8,#spr23_568c2a8,#spr24_568c2a8,#spr26_568c2a8,#spr27_568c2a8,#spr30_568c2a8 {-webkit-transform:matrix(0,-1,1,0,0,0); -o-transform:matrix(0,-1,1,0,0,0); -ms-transform:matrix(0,-1,1,0,0,0); -moz-transform:matrix(0,-1,1,0,0,0); transform:matrix(0,-1,1,0,0,0);}#svg35_568c2a8 {-webkit-transform-origin:2.994px 1.5px; -moz-transform-origin:2.994px 1.5px; -o-transform-origin:2.994px 1.5px; -ms-transform-origin:2.994px 1.5px; transform-origin:2.994px 1.5px; display:none;}#svg38_568c2a8 {-webkit-transform-origin:1.5px 1.5px; -moz-transform-origin:1.5px 1.5px; -o-transform-origin:1.5px 1.5px; -ms-transform-origin:1.5px 1.5px; transform-origin:1.5px 1.5px;}#svg39_568c2a8,#svg40_568c2a8,#svg42_568c2a8,#svg43_568c2a8 {-webkit-transform-origin:0.001px 29.808px; -moz-transform-origin:0.001px 29.808px; -o-transform-origin:0.001px 29.808px; -ms-transform-origin:0.001px 29.808px; transform-origin:0.001px 29.808px;}#spr28_568c2a8,#spr29_568c2a8 {-webkit-transform:matrix(-0,1,-1,-0,0,0); -o-transform:matrix(-0,1,-1,-0,0,0); -ms-transform:matrix(-0,1,-1,-0,0,0); -moz-transform:matrix(-0,1,-1,-0,0,0); transform:matrix(-0,1,-1,-0,0,0);}#svg41_568c2a8 {-webkit-transform-origin:1.501px 31.308px; -moz-transform-origin:1.501px 31.308px; -o-transform-origin:1.501px 31.308px; -ms-transform-origin:1.501px 31.308px; transform-origin:1.501px 31.308px;}#svg44_568c2a8 {-webkit-transform-origin:4.478px 2.25px; -moz-transform-origin:4.478px 2.25px; -o-transform-origin:4.478px 2.25px; -ms-transform-origin:4.478px 2.25px; transform-origin:4.478px 2.25px;}#txt15_568c2a8 {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:#ff0000;}#txt17_568c2a8,#txt18_568c2a8,#txt19_568c2a8,#txt20_568c2a8,#txt21_568c2a8,#txt22_568c2a8,#txt23_568c2a8,#txt24_568c2a8,#txt25_568c2a8,#txt26_568c2a8,#txt27_568c2a8,#txt28_568c2a8,#txt29_568c2a8,#txt30_568c2a8,#txt31_568c2a8,#txt32_568c2a8,#txt33_568c2a8,#txt34_568c2a8,#txt35_568c2a8,#txt36_568c2a8,#txt37_568c2a8,#txt38_568c2a8 {font-family:fnt6; font-size:16px; line-height:23px; color:#ffffff;}#svg51_568c2a8,#svg52_568c2a8,#svg53_568c2a8,#svg54_568c2a8,#svg55_568c2a8,#svg56_568c2a8,#svg57_568c2a8,#svg58_568c2a8 {pointer-events:none;}#txt39_568c2a8,#txt43_568c2a8,#txt45_568c2a8,#txt47_568c2a8 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt40_568c2a8,#txt44_568c2a8,#txt46_568c2a8,#txt48_568c2a8 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#ff0000;}#txt41_568c2a8,#txt49_568c2a8,#txt51_568c2a8,#txt53_568c2a8 {font-family:fnt5; font-size:32px; line-height:46px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt42_568c2a8,#txt50_568c2a8,#txt52_568c2a8,#txt54_568c2a8 {font-family:fnt5; font-size:32px; line-height:46px; font-weight:bold; color:#000000;} \ No newline at end of file diff --git a/simulation/iframes/data/slide3.js b/simulation/iframes/data/slide3.js new file mode 100644 index 0000000..2a8e45a --- /dev/null +++ b/simulation/iframes/data/slide3.js @@ -0,0 +1 @@ +(function(){var loadHandler=window['sl_{33EC1F32-8FA7-4A05-8E7A-7B4383B6C09F}'];loadHandler&&loadHandler(2, '
    Let’s try connecting
    them in series and
    see what happens!!
    <
    >
    Not a
    “feasible solution”
    17-Panels are in series:
    408 V > 400 V
    17-Panels are in series:
    408 V > 400 V
    24 V
    400 V
    408 V
    Adding more Panels in series to meet the DC BUS voltage
    24 (V) x 17 (panels) = 408 V
    Requirement of Voltage Boosting to feed power to DC BUS (Illustrative Examples)
    Series  connection  of  solar  panel  is  not  feasible  when  the  DC  BUS  voltage  is  not  an  integral  multiple  of  PV  panel  voltage
    +
    +
    _
    _
    +
    +
    +
    +
    +
    +
    _
    _
    _
    _
    _
    _
    ', '{"s":[]}');})(); \ No newline at end of file diff --git a/simulation/iframes/data/slide4.css b/simulation/iframes/data/slide4.css new file mode 100644 index 0000000..706a550 --- /dev/null +++ b/simulation/iframes/data/slide4.css @@ -0,0 +1 @@ +#spr1_568ccf8 {clip:rect(0px,960px,540px,0px);}#spr3_568ccf8,#spr4_568ccf8 {display:none;}#txt0_568ccf8,#txt1_568ccf8 {font-family:fnt5; font-size:44px; line-height:63px; font-weight:bold; color:#ffffff;}#txt2_568ccf8 {font-family:fnt5; font-size:88px; line-height:127px; font-weight:bold; color:#ffffff;}#txt3_568ccf8,#txt5_568ccf8,#txt6_568ccf8,#txt7_568ccf8,#txt8_568ccf8,#txt9_568ccf8 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#ffffff;}#txt4_568ccf8 {font-family:fnt5; font-size:32px; line-height:46px; font-weight:bold; color:#ffff00;}#svg21_568ccf8 {-webkit-transform-origin:1.5px 1.5px; -moz-transform-origin:1.5px 1.5px; -o-transform-origin:1.5px 1.5px; -ms-transform-origin:1.5px 1.5px; transform-origin:1.5px 1.5px;}#txt10_568ccf8 {font-family:fnt6; font-size:16px; line-height:23px; color:#ffffff;}#svg22_568ccf8 {-webkit-transform-origin:3.491px 1.75px; -moz-transform-origin:3.491px 1.75px; -o-transform-origin:3.491px 1.75px; -ms-transform-origin:3.491px 1.75px; transform-origin:3.491px 1.75px;}#svg25_568ccf8,#svg62_568ccf8,#svg77_568ccf8,#svg89_568ccf8 {-webkit-transform-origin:1.75px 3.5px; -moz-transform-origin:1.75px 3.5px; -o-transform-origin:1.75px 3.5px; -ms-transform-origin:1.75px 3.5px; transform-origin:1.75px 3.5px;}#spr15_568ccf8,#spr16_568ccf8,#spr19_568ccf8,#spr28_568ccf8,#spr29_568ccf8,#spr30_568ccf8,#spr31_568ccf8,#spr32_568ccf8 {-webkit-transform:matrix(0,-1,1,0,0,0); -o-transform:matrix(0,-1,1,0,0,0); -ms-transform:matrix(0,-1,1,0,0,0); -moz-transform:matrix(0,-1,1,0,0,0); transform:matrix(0,-1,1,0,0,0);}#svg28_568ccf8,#svg29_568ccf8,#svg31_568ccf8,#svg32_568ccf8 {-webkit-transform-origin:0.001px 29.808px; -moz-transform-origin:0.001px 29.808px; -o-transform-origin:0.001px 29.808px; -ms-transform-origin:0.001px 29.808px; transform-origin:0.001px 29.808px;}#spr17_568ccf8,#spr18_568ccf8 {-webkit-transform:matrix(-0,1,-1,-0,0,0); -o-transform:matrix(-0,1,-1,-0,0,0); -ms-transform:matrix(-0,1,-1,-0,0,0); -moz-transform:matrix(-0,1,-1,-0,0,0); transform:matrix(-0,1,-1,-0,0,0);}#svg30_568ccf8 {-webkit-transform-origin:1.501px 31.308px; -moz-transform-origin:1.501px 31.308px; -o-transform-origin:1.501px 31.308px; -ms-transform-origin:1.501px 31.308px; transform-origin:1.501px 31.308px;}#svg33_568ccf8 {-webkit-transform-origin:4.478px 2.25px; -moz-transform-origin:4.478px 2.25px; -o-transform-origin:4.478px 2.25px; -ms-transform-origin:4.478px 2.25px; transform-origin:4.478px 2.25px;}#svg39_568ccf8,#svg40_568ccf8,#svg41_568ccf8,#svg42_568ccf8,#svg43_568ccf8,#svg44_568ccf8,#svg45_568ccf8,#svg46_568ccf8 {pointer-events:none;}#txt11_568ccf8,#txt15_568ccf8,#txt17_568ccf8,#txt19_568ccf8 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt12_568ccf8,#txt16_568ccf8,#txt18_568ccf8,#txt20_568ccf8 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#ff0000;}#txt13_568ccf8,#txt21_568ccf8,#txt23_568ccf8,#txt25_568ccf8 {font-family:fnt5; font-size:32px; line-height:46px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt14_568ccf8,#txt22_568ccf8,#txt24_568ccf8,#txt26_568ccf8 {font-family:fnt5; font-size:32px; line-height:46px; font-weight:bold; color:#000000;}#svg47_568ccf8 {-webkit-transform-origin:3.75px 1.875px; -moz-transform-origin:3.75px 1.875px; -o-transform-origin:3.75px 1.875px; -ms-transform-origin:3.75px 1.875px; transform-origin:3.75px 1.875px;}#svg53_568ccf8 {-webkit-transform-origin:2.996px 1.5px; -moz-transform-origin:2.996px 1.5px; -o-transform-origin:2.996px 1.5px; -ms-transform-origin:2.996px 1.5px; transform-origin:2.996px 1.5px;}#svg59_568ccf8,#svg65_568ccf8,#svg71_568ccf8,#svg86_568ccf8 {-webkit-transform-origin:3.5px 1.75px; -moz-transform-origin:3.5px 1.75px; -o-transform-origin:3.5px 1.75px; -ms-transform-origin:3.5px 1.75px; transform-origin:3.5px 1.75px;}#svg83_568ccf8 {-webkit-transform-origin:2.992px 1.5px; -moz-transform-origin:2.992px 1.5px; -o-transform-origin:2.992px 1.5px; -ms-transform-origin:2.992px 1.5px; transform-origin:2.992px 1.5px;} \ No newline at end of file diff --git a/simulation/iframes/data/slide4.js b/simulation/iframes/data/slide4.js new file mode 100644 index 0000000..e2517e5 --- /dev/null +++ b/simulation/iframes/data/slide4.js @@ -0,0 +1 @@ +(function(){var loadHandler=window['sl_{33EC1F32-8FA7-4A05-8E7A-7B4383B6C09F}'];loadHandler&&loadHandler(3, '
    120 V
    400 V
    <
    How to “ Boost”  the voltage level to the DC BUS Voltage?
    Here, it is
    necessary to boost the
    PV-array voltage to
    400 V
    The need of voltage boosting as per the load requirement is demonstrated here
    +
    +
    _
    _
    +
    +
    +
    +
    +
    +
    _
    _
    _
    _
    _
    _
    ', '{"s":[]}');})(); \ No newline at end of file diff --git a/simulation/iframes/data/slide5.css b/simulation/iframes/data/slide5.css new file mode 100644 index 0000000..76f6754 --- /dev/null +++ b/simulation/iframes/data/slide5.css @@ -0,0 +1 @@ +#spr1_568d2e4 {clip:rect(0px,960px,540px,0px);}#svg26_568d2e4,#svg83_568d2e4 {-webkit-transform-origin:1.5px 1.5px; -moz-transform-origin:1.5px 1.5px; -o-transform-origin:1.5px 1.5px; -ms-transform-origin:1.5px 1.5px; transform-origin:1.5px 1.5px;}#txt0_568d2e4 {font-family:fnt6; font-size:16px; line-height:23px; color:#ffffff;}#txt1_568d2e4,#txt2_568d2e4 {font-family:fnt7; font-size:24px; line-height:34px; font-weight:bold; color:#b10f9e;}#svg27_568d2e4,#svg36_568d2e4,#svg39_568d2e4,#svg59_568d2e4,#svg62_568d2e4,#svg65_568d2e4 {-webkit-transform-origin:6px 3px; -moz-transform-origin:6px 3px; -o-transform-origin:6px 3px; -ms-transform-origin:6px 3px; transform-origin:6px 3px;}#svg30_568d2e4,#svg33_568d2e4 {-webkit-transform-origin:1.5px 7.5px; -moz-transform-origin:1.5px 7.5px; -o-transform-origin:1.5px 7.5px; -ms-transform-origin:1.5px 7.5px; transform-origin:1.5px 7.5px;}#txt3_568d2e4,#txt5_568d2e4 {font-family:fnt5; font-size:36px; line-height:52px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt4_568d2e4 {font-family:fnt5; font-size:36px; line-height:52px; font-weight:bold; color:#ff0000;}#txt6_568d2e4 {font-family:fnt5; font-size:36px; line-height:52px; font-weight:bold; color:#000000;}#svg42_568d2e4,#svg48_568d2e4 {-webkit-transform-origin:4.5px 2.25px; -moz-transform-origin:4.5px 2.25px; -o-transform-origin:4.5px 2.25px; -ms-transform-origin:4.5px 2.25px; transform-origin:4.5px 2.25px;}#svg54_568d2e4 {-webkit-transform-origin:0.005px 14.031px; -moz-transform-origin:0.005px 14.031px; -o-transform-origin:0.005px 14.031px; -ms-transform-origin:0.005px 14.031px; transform-origin:0.005px 14.031px;}#svg55_568d2e4 {-webkit-transform-origin:0.005px 28.452px; -moz-transform-origin:0.005px 28.452px; -o-transform-origin:0.005px 28.452px; -ms-transform-origin:0.005px 28.452px; transform-origin:0.005px 28.452px;}#svg56_568d2e4,#svg57_568d2e4,#svg58_568d2e4,#svg70_568d2e4,#svg88_568d2e4,#svg101_568d2e4,#svg102_568d2e4,#svg103_568d2e4,#svg104_568d2e4,#svg105_568d2e4 {pointer-events:none;}#txt7_568d2e4,#txt8_568d2e4 {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:#ffff00;}#txt9_568d2e4,#txt16_568d2e4,#txt30_568d2e4,#txt33_568d2e4 {font-family:fnt7; font-size:20px; line-height:28px; font-weight:bold; color:#000000;}#txt10_568d2e4,#txt11_568d2e4 {font-family:fnt5; font-size:54px; line-height:78px; font-weight:bold; color:#ffffff;}#svg68_568d2e4 {-webkit-transform-origin:0.006px 13.627px; -moz-transform-origin:0.006px 13.627px; -o-transform-origin:0.006px 13.627px; -ms-transform-origin:0.006px 13.627px; transform-origin:0.006px 13.627px;}#svg69_568d2e4 {-webkit-transform-origin:0.006px 27.645px; -moz-transform-origin:0.006px 27.645px; -o-transform-origin:0.006px 27.645px; -ms-transform-origin:0.006px 27.645px; transform-origin:0.006px 27.645px;}#txt12_568d2e4,#txt13_568d2e4,#txt14_568d2e4 {font-family:fnt7; font-size:20px; line-height:28px; font-weight:bold; color:#0505ff;}#txt15_568d2e4,#txt17_568d2e4,#txt29_568d2e4,#txt31_568d2e4 {font-family:fnt7; font-size:20px; line-height:28px; font-weight:bold; color:#056f05;}#txt18_568d2e4,#txt26_568d2e4,#txt27_568d2e4,#txt28_568d2e4,#txt32_568d2e4 {font-family:fnt7; font-size:20px; line-height:28px; font-weight:bold; color:#c55a11;}#spr20_568d2e4 {display:none;}#txt19_568d2e4 {font-family:fnt5; font-size:44px; line-height:63px; font-weight:bold; color:#ffffff;}#svg71_568d2e4 {-webkit-transform-origin:0.026px 6.698px; -moz-transform-origin:0.026px 6.698px; -o-transform-origin:0.026px 6.698px; -ms-transform-origin:0.026px 6.698px; transform-origin:0.026px 6.698px;}#svg77_568d2e4 {-webkit-transform-origin:-0px 6.698px; -moz-transform-origin:-0px 6.698px; -o-transform-origin:-0px 6.698px; -ms-transform-origin:-0px 6.698px; transform-origin:-0px 6.698px;}#txt20_568d2e4 {font-family:fnt4; font-size:14px; line-height:20px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt21_568d2e4 {font-family:fnt4; font-size:14px; line-height:20px; font-weight:bold; color:#000000;}#svg89_568d2e4,#svg95_568d2e4 {-webkit-transform-origin:4.5px 6.698px; -moz-transform-origin:4.5px 6.698px; -o-transform-origin:4.5px 6.698px; -ms-transform-origin:4.5px 6.698px; transform-origin:4.5px 6.698px;}#spr24_568d2e4 {-webkit-transform:matrix(0.950519,-0.310665,0.310665,0.950519,0,0); -o-transform:matrix(0.950519,-0.310665,0.310665,0.950519,0,0); -ms-transform:matrix(0.950519,-0.310665,0.310665,0.950519,0,0); -moz-transform:matrix(0.950519,-0.310665,0.310665,0.950519,0,0); transform:matrix(0.950519,-0.310665,0.310665,0.950519,0,0);}#txt22_568d2e4 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt23_568d2e4 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#ff0000;}#txt24_568d2e4 {font-family:fnt5; font-size:32px; line-height:46px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt25_568d2e4 {font-family:fnt5; font-size:32px; line-height:46px; font-weight:bold; color:#000000;}#txt34_568d2e4,#txt35_568d2e4 {font-family:fnt7; font-size:24px; line-height:34px; font-weight:bold; color:#1f4e79;}#txt36_568d2e4 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#ffffff;}#svg25_568d2e4 {-webkit-transform-origin:-0px 0px; -moz-transform-origin:-0px 0px; -o-transform-origin:-0px 0px; -ms-transform-origin:-0px 0px; transform-origin:-0px 0px;}#txt37_568d2e4,#txt38_568d2e4 {font-family:fnt7; font-size:18px; line-height:25px; font-weight:bold; color:#00b050;} \ No newline at end of file diff --git a/simulation/iframes/data/slide5.js b/simulation/iframes/data/slide5.js new file mode 100644 index 0000000..1259b04 --- /dev/null +++ b/simulation/iframes/data/slide5.js @@ -0,0 +1 @@ +(function(){var loadHandler=window['sl_{33EC1F32-8FA7-4A05-8E7A-7B4383B6C09F}'];loadHandler&&loadHandler(4, '
    Connecting Solar PV-Array to DC BUS using Boost converter is demonstrated here
    DC BUS
    400 V
    +
    +
    _
    _
    AC
    DC
    Rectifier
    DC
    Loads
    AC
    Source
    AC   -   DC
    120 V
    Boost Converter
    Boost Converter
    +
    +
    _
    _
    DC
    Source
    DC     DC
    Converter
    PV-Array
    120 V
    Feeding Power to DC BUS
    400 V
    DC BUS
    ', '{"s":[]}');})(); \ No newline at end of file diff --git a/simulation/iframes/data/slide6.css b/simulation/iframes/data/slide6.css new file mode 100644 index 0000000..feb93ed --- /dev/null +++ b/simulation/iframes/data/slide6.css @@ -0,0 +1 @@ +#spr1_568d9d9 {clip:rect(0px,960px,540px,0px);}#spr5_568d9d9,#spr12_568d9d9 {display:none;}#txt0_568d9d9,#txt8_568d9d9,#txt9_568d9d9 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#ffffff;}#txt1_568d9d9,#txt3_568d9d9 {font-family:fnt5; font-size:36px; line-height:52px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt2_568d9d9,#txt4_568d9d9 {font-family:fnt5; font-size:36px; line-height:52px; font-weight:bold; color:#ffffff;}#txt5_568d9d9,#txt6_568d9d9 {font-family:fnt5; font-size:40px; line-height:58px; font-weight:bold; color:#ffffff;}#svg3_568d9d9 {-webkit-transform-origin:1.5px 1.5px; -moz-transform-origin:1.5px 1.5px; -o-transform-origin:1.5px 1.5px; -ms-transform-origin:1.5px 1.5px; transform-origin:1.5px 1.5px;}#txt7_568d9d9 {font-family:fnt5; font-size:16px; line-height:23px; font-weight:bold; color:#ffffff;}#svg4_568d9d9 {-webkit-transform-origin:5.955px 3px; -moz-transform-origin:5.955px 3px; -o-transform-origin:5.955px 3px; -ms-transform-origin:5.955px 3px; transform-origin:5.955px 3px;} \ No newline at end of file diff --git a/simulation/iframes/data/slide6.js b/simulation/iframes/data/slide6.js new file mode 100644 index 0000000..aed81cc --- /dev/null +++ b/simulation/iframes/data/slide6.js @@ -0,0 +1 @@ +(function(){var loadHandler=window['sl_{33EC1F32-8FA7-4A05-8E7A-7B4383B6C09F}'];loadHandler&&loadHandler(5, '
    Recommended Practice: DC-DC Boost converter
    120 V
    120 V
    400 V
    400 V
    Load
    Source
    A DC-DC boost converter is more appropriate to boost voltage of PV Array to power the 400 volt DC BUS
    Boost
    Converter
    ', '{"s":[]}');})(); \ No newline at end of file diff --git a/simulation/iframes/data/slide7.css b/simulation/iframes/data/slide7.css new file mode 100644 index 0000000..a505ba2 --- /dev/null +++ b/simulation/iframes/data/slide7.css @@ -0,0 +1 @@ +#spr1_568e8cd {clip:rect(0px,960px,540px,0px);}#txt0_568e8cd,#txt2_568e8cd,#txt4_568e8cd {font-family:fnt4; font-size:40px; line-height:56px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt1_568e8cd,#txt3_568e8cd,#txt5_568e8cd {font-family:fnt4; font-size:40px; line-height:56px; font-weight:bold; color:#ffffff;} \ No newline at end of file diff --git a/simulation/iframes/data/slide7.js b/simulation/iframes/data/slide7.js new file mode 100644 index 0000000..e23def7 --- /dev/null +++ b/simulation/iframes/data/slide7.js @@ -0,0 +1 @@ +(function(){var loadHandler=window['sl_{33EC1F32-8FA7-4A05-8E7A-7B4383B6C09F}'];loadHandler&&loadHandler(6, '
    Principle operation
    Principle operation
    of
    of
    Boost Converter
    Boost Converter
    ', '{"s":[]}');})(); \ No newline at end of file diff --git a/simulation/iframes/data/slide8.css b/simulation/iframes/data/slide8.css new file mode 100644 index 0000000..a637827 --- /dev/null +++ b/simulation/iframes/data/slide8.css @@ -0,0 +1 @@ +#spr1_568eb9c {clip:rect(0px,960px,540px,0px);}#svg34_568eb9c {-webkit-transform-origin:0.004px 8.93px; -moz-transform-origin:0.004px 8.93px; -o-transform-origin:0.004px 8.93px; -ms-transform-origin:0.004px 8.93px; transform-origin:0.004px 8.93px;}#svg37_568eb9c {-webkit-transform-origin:5.999px 8.93px; -moz-transform-origin:5.999px 8.93px; -o-transform-origin:5.999px 8.93px; -ms-transform-origin:5.999px 8.93px; transform-origin:5.999px 8.93px;}#svg13_568eb9c {-webkit-transform-origin:6.315px 6.315px; -moz-transform-origin:6.315px 6.315px; -o-transform-origin:6.315px 6.315px; -ms-transform-origin:6.315px 6.315px; transform-origin:6.315px 6.315px; display:none;}#txt0_568eb9c {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; text-decoration-line:underline; text-decoration-skip:none; text-decoration-skip-ink:none; text-decoration-thickness:1.867px; text-decoration-style:solid; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt1_568eb9c {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; text-decoration-line:underline; text-decoration-skip:none; text-decoration-skip-ink:none; text-decoration-thickness:1.867px; text-decoration-style:solid; color:#443bf5;}#txt2_568eb9c,#txt10_568eb9c {font-family:PFn; font-size:28px; line-height:32px; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt3_568eb9c,#txt4_568eb9c,#txt5_568eb9c,#txt11_568eb9c {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt6_568eb9c {font-family:PFn; font-size:28px; line-height:32px; color:#006600;}#txt7_568eb9c,#txt8_568eb9c,#txt9_568eb9c {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#006600;}#txt12_568eb9c {font-family:PFn; font-size:28px; line-height:32px; color:#b10f9e;}#txt13_568eb9c {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#b10f9e;}#txt14_568eb9c {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#ffffff;}#svg42_568eb9c,#svg44_568eb9c {-webkit-transform-origin:0px -0px; -moz-transform-origin:0px -0px; -o-transform-origin:0px -0px; -ms-transform-origin:0px -0px; transform-origin:0px -0px;}#spr6_568eb9c,#spr7_568eb9c,#spr29_568eb9c,#spr30_568eb9c {display:none;}#txt15_568eb9c,#txt24_568eb9c {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt16_568eb9c,#txt25_568eb9c {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:#ffffff;}#svg45_568eb9c {-webkit-transform-origin:1.5px 1.5px; -moz-transform-origin:1.5px 1.5px; -o-transform-origin:1.5px 1.5px; -ms-transform-origin:1.5px 1.5px; transform-origin:1.5px 1.5px;}#svg46_568eb9c {-webkit-transform-origin:6px 3px; -moz-transform-origin:6px 3px; -o-transform-origin:6px 3px; -ms-transform-origin:6px 3px; transform-origin:6px 3px;}#svg49_568eb9c,#svg52_568eb9c {-webkit-transform-origin:3px 6px; -moz-transform-origin:3px 6px; -o-transform-origin:3px 6px; -ms-transform-origin:3px 6px; transform-origin:3px 6px;}#spr8_568eb9c {-webkit-transform:matrix(-0,1,-1,-0,0,0); -o-transform:matrix(-0,1,-1,-0,0,0); -ms-transform:matrix(-0,1,-1,-0,0,0); -moz-transform:matrix(-0,1,-1,-0,0,0); transform:matrix(-0,1,-1,-0,0,0);}#spr9_568eb9c,#spr10_568eb9c,#spr11_568eb9c,#spr12_568eb9c,#spr13_568eb9c,#spr14_568eb9c,#spr15_568eb9c,#spr16_568eb9c,#spr17_568eb9c,#spr18_568eb9c,#spr19_568eb9c,#spr20_568eb9c,#spr21_568eb9c {-webkit-transform:matrix(-0,-1,1,-0,0,0); -o-transform:matrix(-0,-1,1,-0,0,0); -ms-transform:matrix(-0,-1,1,-0,0,0); -moz-transform:matrix(-0,-1,1,-0,0,0); transform:matrix(-0,-1,1,-0,0,0);}#svg55_568eb9c {-webkit-transform-origin:8.93px 0px; -moz-transform-origin:8.93px 0px; -o-transform-origin:8.93px 0px; -ms-transform-origin:8.93px 0px; transform-origin:8.93px 0px;}#txt17_568eb9c,#txt18_568eb9c,#txt19_568eb9c,#txt20_568eb9c {font-family:fnt5; font-size:24px; line-height:35px; font-weight:bold; color:#ffffff;}#svg33_568eb9c {-webkit-transform-origin:6px 0px; -moz-transform-origin:6px 0px; -o-transform-origin:6px 0px; -ms-transform-origin:6px 0px; transform-origin:6px 0px; -webkit-transform:matrix(-0,1,-1,-0,0,0); -o-transform:matrix(-0,1,-1,-0,0,0); -ms-transform:matrix(-0,1,-1,-0,0,0); -moz-transform:matrix(-0,1,-1,-0,0,0); transform:matrix(-0,1,-1,-0,0,0);}#svg58_568eb9c {-webkit-transform-origin:6.75px 6.75px; -moz-transform-origin:6.75px 6.75px; -o-transform-origin:6.75px 6.75px; -ms-transform-origin:6.75px 6.75px; transform-origin:6.75px 6.75px;}#svg59_568eb9c,#svg60_568eb9c {pointer-events:none;}#txt21_568eb9c,#txt22_568eb9c {font-family:fnt5; font-size:40px; line-height:58px; font-weight:bold; color:#ff0000;}#spr27_568eb9c {-webkit-transform:matrix(0,-1,1,0,0,0); -o-transform:matrix(0,-1,1,0,0,0); -ms-transform:matrix(0,-1,1,0,0,0); -moz-transform:matrix(0,-1,1,0,0,0); transform:matrix(0,-1,1,0,0,0);}#txt23_568eb9c {font-family:fnt5; font-size:16px; line-height:23px; font-weight:bold; color:#ff0000;}#txt26_568eb9c {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#00b050;}#txt27_568eb9c {font-family:fnt5; font-size:18.667px; line-height:27px; font-weight:bold; color:#00b050;}#txt28_568eb9c {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#ff0000;}#txt29_568eb9c {font-family:fnt5; font-size:18.667px; line-height:27px; font-weight:bold; color:#ff0000;}#txt30_568eb9c,#txt31_568eb9c {font-family:fnt5; font-size:14px; line-height:20px; font-weight:bold; color:#ffffff;} \ No newline at end of file diff --git a/simulation/iframes/data/slide8.js b/simulation/iframes/data/slide8.js new file mode 100644 index 0000000..c26e782 --- /dev/null +++ b/simulation/iframes/data/slide8.js @@ -0,0 +1 @@ +(function(){var loadHandler=window['sl_{33EC1F32-8FA7-4A05-8E7A-7B4383B6C09F}'];loadHandler&&loadHandler(7, '
    Features of inductor (L):
    Features of inductor (L):
    Doesn’t allow sudden
    change of current flowing
    through it.
    Doesn’t allow sudden
    change of current flowing
    through it.
    Satisfies “Volt-sec balance”.
    Satisfies “Volt-sec balance”.
    Features of L-C Elements in DC-DC Converter Topologies
    Storing energy
    Storing energy
    L
    O
    A
    D
    +
    _
    Voltage source
    Releasing energy
    Releasing energy
    v L
    i L
    The inductor used in DC-DC converter circuits satisfies volt-second balance, stores and releases the energy due to switching action and its voltage
    polarity changes
    ', '{"s":[]}');})(); \ No newline at end of file diff --git a/simulation/iframes/data/slide9.css b/simulation/iframes/data/slide9.css new file mode 100644 index 0000000..b3d8770 --- /dev/null +++ b/simulation/iframes/data/slide9.css @@ -0,0 +1 @@ +#spr1_568fa04 {clip:rect(0px,960px,540px,0px);}#svg37_568fa04 {-webkit-transform-origin:0.004px 8.93px; -moz-transform-origin:0.004px 8.93px; -o-transform-origin:0.004px 8.93px; -ms-transform-origin:0.004px 8.93px; transform-origin:0.004px 8.93px;}#svg40_568fa04 {-webkit-transform-origin:5.999px 8.93px; -moz-transform-origin:5.999px 8.93px; -o-transform-origin:5.999px 8.93px; -ms-transform-origin:5.999px 8.93px; transform-origin:5.999px 8.93px;}#svg13_568fa04 {-webkit-transform-origin:6.315px 6.315px; -moz-transform-origin:6.315px 6.315px; -o-transform-origin:6.315px 6.315px; -ms-transform-origin:6.315px 6.315px; transform-origin:6.315px 6.315px; display:none;}#txt0_568fa04 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#ffffff;}#svg45_568fa04 {-webkit-transform-origin:0px -0px; -moz-transform-origin:0px -0px; -o-transform-origin:0px -0px; -ms-transform-origin:0px -0px; transform-origin:0px -0px;}#spr5_568fa04,#spr6_568fa04,#spr13_568fa04,#spr14_568fa04 {display:none;}#txt1_568fa04,#txt10_568fa04 {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt2_568fa04,#txt11_568fa04 {font-family:fnt5; font-size:20px; line-height:29px; font-weight:bold; color:#ffffff;}#svg48_568fa04 {-webkit-transform-origin:1.5px 1.5px; -moz-transform-origin:1.5px 1.5px; -o-transform-origin:1.5px 1.5px; -ms-transform-origin:1.5px 1.5px; transform-origin:1.5px 1.5px;}#svg49_568fa04 {-webkit-transform-origin:6px 3px; -moz-transform-origin:6px 3px; -o-transform-origin:6px 3px; -ms-transform-origin:6px 3px; transform-origin:6px 3px;}#svg52_568fa04 {-webkit-transform-origin:3px 6px; -moz-transform-origin:3px 6px; -o-transform-origin:3px 6px; -ms-transform-origin:3px 6px; transform-origin:3px 6px;}#svg55_568fa04 {-webkit-transform-origin:3px 5.983px; -moz-transform-origin:3px 5.983px; -o-transform-origin:3px 5.983px; -ms-transform-origin:3px 5.983px; transform-origin:3px 5.983px;}#svg58_568fa04 {-webkit-transform-origin:9.674px 0.114px; -moz-transform-origin:9.674px 0.114px; -o-transform-origin:9.674px 0.114px; -ms-transform-origin:9.674px 0.114px; transform-origin:9.674px 0.114px;}#txt3_568fa04,#txt4_568fa04,#txt5_568fa04,#txt6_568fa04 {font-family:fnt5; font-size:24px; line-height:35px; font-weight:bold; color:#ffffff;}#svg33_568fa04 {-webkit-transform-origin:6px 0px; -moz-transform-origin:6px 0px; -o-transform-origin:6px 0px; -ms-transform-origin:6px 0px; transform-origin:6px 0px; -webkit-transform:matrix(-0,1,-1,-0,0,0); -o-transform:matrix(-0,1,-1,-0,0,0); -ms-transform:matrix(-0,1,-1,-0,0,0); -moz-transform:matrix(-0,1,-1,-0,0,0); transform:matrix(-0,1,-1,-0,0,0);}#svg61_568fa04 {-webkit-transform-origin:6.75px 6.75px; -moz-transform-origin:6.75px 6.75px; -o-transform-origin:6.75px 6.75px; -ms-transform-origin:6.75px 6.75px; transform-origin:6.75px 6.75px;}#svg62_568fa04,#svg63_568fa04 {pointer-events:none;}#txt7_568fa04,#txt8_568fa04 {font-family:fnt5; font-size:40px; line-height:58px; font-weight:bold; color:#ff0000;}#spr12_568fa04 {-webkit-transform:matrix(0,-1,1,0,0,0); -o-transform:matrix(0,-1,1,0,0,0); -ms-transform:matrix(0,-1,1,0,0,0); -moz-transform:matrix(0,-1,1,0,0,0); transform:matrix(0,-1,1,0,0,0);}#txt9_568fa04 {font-family:fnt5; font-size:16px; line-height:23px; font-weight:bold; color:#ff0000;}#spr15_568fa04 {-webkit-transform:matrix(-0,1,-1,-0,0,0); -o-transform:matrix(-0,1,-1,-0,0,0); -ms-transform:matrix(-0,1,-1,-0,0,0); -moz-transform:matrix(-0,1,-1,-0,0,0); transform:matrix(-0,1,-1,-0,0,0);}#spr16_568fa04,#spr17_568fa04,#spr18_568fa04,#spr19_568fa04 {-webkit-transform:matrix(-0,-1,1,-0,0,0); -o-transform:matrix(-0,-1,1,-0,0,0); -ms-transform:matrix(-0,-1,1,-0,0,0); -moz-transform:matrix(-0,-1,1,-0,0,0); transform:matrix(-0,-1,1,-0,0,0);}#svg64_568fa04 {-webkit-transform-origin:3.25px 6.493px; -moz-transform-origin:3.25px 6.493px; -o-transform-origin:3.25px 6.493px; -ms-transform-origin:3.25px 6.493px; transform-origin:3.25px 6.493px;}#txt12_568fa04 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; text-decoration-line:underline; text-decoration-skip:none; text-decoration-skip-ink:none; text-decoration-thickness:1.867px; text-decoration-style:solid; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt13_568fa04 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; text-decoration-line:underline; text-decoration-skip:none; text-decoration-skip-ink:none; text-decoration-thickness:1.867px; text-decoration-style:solid; color:#443bf5;}#txt14_568fa04,#txt20_568fa04 {font-family:PFn; font-size:28px; line-height:32px; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt15_568fa04,#txt16_568fa04,#txt21_568fa04 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:rgba(0,0,0,0); text-shadow:0 0 2px rgba(0,0,0,0.427); Text-shadow:0 0 2px 0.01em rgba(0,0,0,0.427);}#txt17_568fa04 {font-family:PFn; font-size:28px; line-height:32px; color:#006600;}#txt18_568fa04,#txt19_568fa04 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#006600;}#txt22_568fa04 {font-family:PFn; font-size:28px; line-height:32px; color:#b10f9e;}#txt23_568fa04 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#b10f9e;}#txt24_568fa04 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#00b050;}#txt25_568fa04 {font-family:fnt5; font-size:18.667px; line-height:27px; font-weight:bold; color:#00b050;}#txt26_568fa04 {font-family:fnt5; font-size:28px; line-height:40px; font-weight:bold; color:#ff0000;}#txt27_568fa04 {font-family:fnt5; font-size:18.667px; line-height:27px; font-weight:bold; color:#ff0000;}#txt28_568fa04,#txt29_568fa04,#txt30_568fa04,#txt31_568fa04,#txt32_568fa04,#txt33_568fa04,#txt34_568fa04,#txt35_568fa04,#txt36_568fa04,#txt37_568fa04,#txt38_568fa04,#txt39_568fa04,#txt40_568fa04,#txt41_568fa04,#txt42_568fa04,#txt43_568fa04,#txt44_568fa04,#txt45_568fa04,#txt46_568fa04,#txt47_568fa04,#txt48_568fa04,#txt49_568fa04,#txt50_568fa04,#txt51_568fa04 {font-family:fnt5; font-size:14px; line-height:20px; font-weight:bold; color:#ffffff;} \ No newline at end of file diff --git a/simulation/iframes/data/slide9.js b/simulation/iframes/data/slide9.js new file mode 100644 index 0000000..fb4383a --- /dev/null +++ b/simulation/iframes/data/slide9.js @@ -0,0 +1 @@ +(function(){var loadHandler=window['sl_{33EC1F32-8FA7-4A05-8E7A-7B4383B6C09F}'];loadHandler&&loadHandler(8, '
    Features of L-C Elements in DC-DC Converter Topologies
    Storing Charge
    Storing Charge
    L
    O
    A
    D
    Source
    Releasing Charge
    Releasing Charge
    Features of capacitor (C):
    Features of capacitor (C):
    Doesn’t allow sudden change of
    voltage across it.
    Doesn’t allow sudden change of
    voltage across it.
    Satisfies “Charge-sec balance”.
    Satisfies “Charge-sec balance”.
    v C
    i C
    The  capacitor  used  in  DC-DC  converter  circuits  satisfies  charge-second  balance,  stores  and  releases  the  energy  due  to  switching  action  and  its
    current  direction  changes.
    ', '{"s":[]}');})(); \ No newline at end of file diff --git a/simulation/iframes/data/sound1.mp3 b/simulation/iframes/data/sound1.mp3 new file mode 100644 index 0000000..a97be22 Binary files /dev/null and b/simulation/iframes/data/sound1.mp3 differ diff --git a/simulation/iframes/data/sound10.mp3 b/simulation/iframes/data/sound10.mp3 new file mode 100644 index 0000000..788f7ef Binary files /dev/null and b/simulation/iframes/data/sound10.mp3 differ diff --git a/simulation/iframes/data/sound11.mp3 b/simulation/iframes/data/sound11.mp3 new file mode 100644 index 0000000..1bc6ab7 Binary files /dev/null and b/simulation/iframes/data/sound11.mp3 differ diff --git a/simulation/iframes/data/sound2.mp3 b/simulation/iframes/data/sound2.mp3 new file mode 100644 index 0000000..26f42df Binary files /dev/null and b/simulation/iframes/data/sound2.mp3 differ diff --git a/simulation/iframes/data/sound3.mp3 b/simulation/iframes/data/sound3.mp3 new file mode 100644 index 0000000..5d0547b Binary files /dev/null and b/simulation/iframes/data/sound3.mp3 differ diff --git a/simulation/iframes/data/sound4.mp3 b/simulation/iframes/data/sound4.mp3 new file mode 100644 index 0000000..86dc1b8 Binary files /dev/null and b/simulation/iframes/data/sound4.mp3 differ diff --git a/simulation/iframes/data/sound5.mp3 b/simulation/iframes/data/sound5.mp3 new file mode 100644 index 0000000..d8209a3 Binary files /dev/null and b/simulation/iframes/data/sound5.mp3 differ diff --git a/simulation/iframes/data/sound6.mp3 b/simulation/iframes/data/sound6.mp3 new file mode 100644 index 0000000..61758e5 Binary files /dev/null and b/simulation/iframes/data/sound6.mp3 differ diff --git a/simulation/iframes/data/sound7.mp3 b/simulation/iframes/data/sound7.mp3 new file mode 100644 index 0000000..99de73f Binary files /dev/null and b/simulation/iframes/data/sound7.mp3 differ diff --git a/simulation/iframes/data/sound8.mp3 b/simulation/iframes/data/sound8.mp3 new file mode 100644 index 0000000..ec4138a Binary files /dev/null and b/simulation/iframes/data/sound8.mp3 differ diff --git a/simulation/iframes/data/sound9.mp3 b/simulation/iframes/data/sound9.mp3 new file mode 100644 index 0000000..a3f31bb Binary files /dev/null and b/simulation/iframes/data/sound9.mp3 differ diff --git a/simulation/iframes/data/temp.html b/simulation/iframes/data/temp.html new file mode 100644 index 0000000..e69de29 diff --git a/simulation/iframes/data/thmb1.png b/simulation/iframes/data/thmb1.png new file mode 100644 index 0000000..2f86f99 Binary files /dev/null and b/simulation/iframes/data/thmb1.png differ diff --git a/simulation/iframes/data/thmb10.png b/simulation/iframes/data/thmb10.png new file mode 100644 index 0000000..36a02fd Binary files /dev/null and b/simulation/iframes/data/thmb10.png differ diff --git a/simulation/iframes/data/thmb11.png b/simulation/iframes/data/thmb11.png new file mode 100644 index 0000000..d312024 Binary files /dev/null and b/simulation/iframes/data/thmb11.png differ diff --git a/simulation/iframes/data/thmb12.png b/simulation/iframes/data/thmb12.png new file mode 100644 index 0000000..0bf859f Binary files /dev/null and b/simulation/iframes/data/thmb12.png differ diff --git a/simulation/iframes/data/thmb2.png b/simulation/iframes/data/thmb2.png new file mode 100644 index 0000000..7075b67 Binary files /dev/null and b/simulation/iframes/data/thmb2.png differ diff --git a/simulation/iframes/data/thmb3.png b/simulation/iframes/data/thmb3.png new file mode 100644 index 0000000..abb86a5 Binary files /dev/null and b/simulation/iframes/data/thmb3.png differ diff --git a/simulation/iframes/data/thmb4.png b/simulation/iframes/data/thmb4.png new file mode 100644 index 0000000..9bbe679 Binary files /dev/null and b/simulation/iframes/data/thmb4.png differ diff --git a/simulation/iframes/data/thmb5.png b/simulation/iframes/data/thmb5.png new file mode 100644 index 0000000..ede05bd Binary files /dev/null and b/simulation/iframes/data/thmb5.png differ diff --git a/simulation/iframes/data/thmb6.png b/simulation/iframes/data/thmb6.png new file mode 100644 index 0000000..8b62991 Binary files /dev/null and b/simulation/iframes/data/thmb6.png differ diff --git a/simulation/iframes/data/thmb7.png b/simulation/iframes/data/thmb7.png new file mode 100644 index 0000000..505c0af Binary files /dev/null and b/simulation/iframes/data/thmb7.png differ diff --git a/simulation/iframes/data/thmb8.png b/simulation/iframes/data/thmb8.png new file mode 100644 index 0000000..96883e2 Binary files /dev/null and b/simulation/iframes/data/thmb8.png differ diff --git a/simulation/iframes/data/thmb9.png b/simulation/iframes/data/thmb9.png new file mode 100644 index 0000000..8eda9f7 Binary files /dev/null and b/simulation/iframes/data/thmb9.png differ diff --git a/simulation/iframes/index.html b/simulation/iframes/index.html new file mode 100644 index 0000000..50ccf96 --- /dev/null +++ b/simulation/iframes/index.html @@ -0,0 +1,119 @@ + + + + + Exp-2a (Boost-Electrical) Concept Development - Gridd + + + + + +
    + + +
    +
    + + + + \ No newline at end of file diff --git a/simulation/iframes/overplayer.js b/simulation/iframes/overplayer.js new file mode 100644 index 0000000..458dbba --- /dev/null +++ b/simulation/iframes/overplayer.js @@ -0,0 +1,137 @@ +const overPlayer = { + trial_banner: null, + playBtn: null, + playerNextBtn: null, + headTitle: null, + sliderIsPlaying: false, + + init() { + this.trial_banner = document.querySelector(".trial_banner") + this.playBtn = document.querySelector(".play-controls-container__play-pause-button") + this.playerNextBtn = document.querySelector(".navigation-controls__button_next") + this.headTitle = document.querySelector(".info-container__title div") + + this.hideTrialBanner(); + this.updateTitle(); + + // * Hide player next btn + this.playerNextBtn.style.opacity = 0 + + // * slide is running state + localStorage.setItem("isSlideEnded",false) + + + // remove wher do you left + for(let key in localStorage){ + if(key.indexOf("ispring")!=-1){ + localStorage.removeItem(key) + break + } + } + }, + + slidePlay() { + const touchStartOn = function (el, x, y) { + var e, err; + if (x == null) { + x = 0; + } + if (y == null) { + y = 0; + } + try { + e = document.createEvent("TouchEvent"); + e.initTouchEvent("touchstart", true, true); + } catch (error) { + err = error; + try { + e = document.createEvent("UIEvent"); + e.initUIEvent("touchstart", true, true); + } catch (error) { + err = error; + e = document.createEvent("Event"); + e.initEvent("touchstart", true, true); + } + } + e.targetTouches = [ + { + pageX: x, + pageY: y, + }, + ]; + console.log(e) + return el.dispatchEvent(e); + }; + + let btn = $(this.playBtn) + let btnOffset = btn.offset() + + touchStartOn(this.playBtn, btnOffset.left + 5, btnOffset.top + 5) + }, + slidePause() {}, + hideTrialBanner() { + this.trial_banner.style.opacity = 0; + }, + updateTitle() { + this.headTitle.innerHTML = "Buck Converter"; + }, + isSlidePlaying() { + let playBtnPath = document.querySelector( + ".play-controls-container__play-pause-button svg path" + ); + // if playing then the path.d[1] == 5 else == 7 pause + // ! playing + if (playBtnPath.attributes.d.value[1] == 5) { + return true; + } + // ! pause + return false; + }, + addClassNameListener(elemId, callback) { + var elem = document.getElementById(elemId); + var lastClassName = elem.className; + window.setInterval( function() { + var className = elem.className; + if (className !== lastClassName) { + callback(); + lastClassName = className; + } + },10) + }, + onPlayBtn(){ + window.setInterval(()=>{ + let pauseBtnName = 7 + let playBtnName = 5 + let btnName = this.playBtn.firstChild.firstChild.attributes.d.value[1] + if(btnName == pauseBtnName){ + // capturing pause + console.log(btnName,"pause") + }else{ + // capturing play + console.log(btnName,"Play") + } + },1000) + }, + onSlidesEnd(){ + // * Capture the slides end + + var interval = window.setInterval(()=>{ + let isSlideEnded = localStorage.getItem("isSlideEnded") + if(isSlideEnded=="false"){ + if(this.playerNextBtn.disabled == true){ + localStorage.setItem("isSlideEnded",true) + } + }else{ + window.clearInterval(interval) + } + + },1000) + }, +}; + +overPlayer.init() +window.setTimeout(()=>{ + overPlayer.onSlidesEnd() +},2000) +// overPlayer.onPlayBtn() + diff --git a/simulation/index.html b/simulation/index.html new file mode 100644 index 0000000..02d33c0 --- /dev/null +++ b/simulation/index.html @@ -0,0 +1,1359 @@ + + + + + + + + Document + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +

    For Better User Experience, reset zoom to 100%
    (by pressing 'Ctrl + 0')
    and + refresh the page (by pressing 'Ctrl + R') +

    +
    + + + + +
    + + +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + +
    +
    +

    BOost converter

    +
    +

    Procedure

    +

    Nomenclature

    +

    Mathematical Expressions

    + +
    +
    +
    + + +
    + +
    + Objective: +

    To Set the Beam and Slab using Flex System.

    + Apparatus Materials: +

    + Tripod Stand, CT prop, fourway head, Aluminium Beam, Timber Beam, Plywood Sheathing, Beam Forming support. +

    +
    + +
    +

    Step 1

    +

    + Calculation of cross-sectional area: +

    +
    + +
      + +
    + + +
    + + +
    + +
    + Welcome to + Foundation in Beam Formwork Experiment + of Formwork Technology in Civil Engineering Virtual + Lab + developed by Prof. K. N. Jha, Department of Civil + Engineering, IIT Delhi. +
    +
    + Prof. K. N. Jha Image + Prof. K. N. Jha + IIT Delhi +
    +
    + +
    +

    Enter your name:

    + +

    Please enter your name before start

    + +
    + + + + + + + + + + + + + + + + + + + +
    Calculations:
    Total Length(m)
    Weight(kg)
    + Cross-sectional area (mm2) +
    + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    + + +
    +

    1

    +

    2

    +

    3

    +

    4

    +

    5

    +

    6

    +

    7

    +

    8

    +

    9

    +

    10

    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + Vg = 24 V +
    DV0(V)M
    0.1
    0.9
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + Vg = 48 V +
    DV0(V)M
    0.1
    0.9
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + Vg = 72 V +
    DV0(V)M
    0.1
    0.9
    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + 50𝜴 + 60𝜴 + 70𝜴 +
    +
    + + + +
    +
    +

    R1

    + +
    +
    +
    DV0(V)M
    0.1
    0.5
    0.8
    0.84
    0.87
    0.9
    0.93
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + 130𝜴 + 150𝜴 + 170𝜴 +
    +
    + + + +
    +
    +

    R2

    + +
    +
    +
    DV0(V)M
    0.1
    0.5
    0.8
    0.84
    0.87
    0.9
    0.93
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + 275𝜴 + 300𝜴 + 325𝜴 +
    +
    + + + +
    +
    +

    R3

    + +
    +
    +
    DV0(V)M
    0.1
    0.5
    0.8
    0.84
    0.87
    0.9
    0.93
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    S.No.Vg(V)DRV0(V)MIin(A)I0(A)Pin(W)P0(W)η(%)
    1
    2
    3
    4
    5
    6
    7
    + + + + + + + + + + + + + + + + + + + + + + + + +
    vg(V)DRv0(V)MI2(A)I0(A)
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ComponentVoltage Rating (V)Current Rating (A)Power (W)
    Switch(vSw, iSw)> v0 (value)> i2 (value)> PSw (value)
    Diode(vDi, iDi)> v0 (value)> i2 (value)> PDi (value)
    Capacitor(vC, iC)> v0 (value)> (i2-i0) (value)
    + + + +
    + +
    + +
    + +

    + + +
    + +
    + +
    +
    +
    +

    Question text

    + +
    +
      +
    • + + + +
    • +
    • + + +
    • +
    • + + +
    • +
    • + + +
    • +
    • +

      India

      +
    • +
    +
    + +
    + +
    +
    + + Certificate of Completion +
    +
    +
    + Sneha Jadon +
    +
    + has succesfully performed Virtaul Lab Experiment on + + Foundation in + foamwork +
    +
    + + Date 10-10-2023 +
    +
    + which is developed by + VIRTUAL LABS - IIT Delhi + +
    +
    +
    + + +
    + +
    + +
    + + +
    + + V +
    +
    +
    + + +
    + + +
    +
    +
    + + +
    + + 𝜴 +
    +
    +
    +
    + + + +
    + Reset +
    +
    + Delete +
    +
    + Check Connections +
    +
    + Circuit Diagram +
    +
    + Reset +
    + + + + + + + + + + arrow + + laerrow + laerrow2 + logo + man + measurearrow + measurearrow2 + redsize + speech_off_btn + speech_on_btn + talk_cloud + iit-delhi-logo + + box_img.png + component_battery.png + component_capacitor.png + component_diode.png + component_inductor.png + component_mosfet.png + component_register.png + full_circuit.png + full_circuit2.png + circuit_full_2.png + circuit_full_3.png + part_3_graph_arrow.png + part_3_option_1.png + part_3_option_2.png + part_3_option_3.png + part_3_option_4.png + + + + + + + + right_tick.png + right_tick.png + right_tick.png + right_tick.png + + + + + + slide_1.png + slide_2.png + slide_3_page_1.png + slide_3_page_2.png + slide_3_page_3.png + slide_3_page_4.png + slide_4_page_1.png + slide_4_page_1_fan.png + slide_4_page_2_battery_1.png + slide_4_page_2_battery_2.png + slide_4_page_2_battery_3.png + slide_4_page_2_volt_text.png + slide_4_page_3_text_1.png + slide_4_page_3_text_2.png + slide_4_page_3_wire.png + slide_5_page_1.png + slide_5_page_2_text_1.png + slide_5_page_2_volt_text.png + slide_5_page_3_1_text_1.png + slide_5_page_3_2_wire.png + slide_5_page_3_3_light.png + slide_5_page_3_4_blast.gif + slide_5_page_3_5_cross.png + slide_5_page_3_6_emoji.png + slide_5_page_3_7_text_2.png + slide_5_page_3_8_text_3.png + slide_5_page_4_1_text_1.png + slide_6_page_1.png + slide_6_page_2_1_text_1.png + slide_6_page_2_2_emoji_blink.png + slide_6_page_3_1_text_1.png + slide_6_page_3_2_emoji_blink.png + slide_7_page_1_1.png + slide_7_page_1_2.png + slide_7_page_1_3.png + slide_8_page_1.png + slide_8_page_2_and_rotate_the_fan.png + slide_8_page_3_1.png + slide_8_page_3_2_light.png + slide_8_page_3_3_blank.png + slide_8_page_3_4_emoji.png + slide_8_page_3_5_text.png + slide_9.png + slide_10_page_1.png + slide_10_page_2.png + slide_10_page_3.png + slide_10_page_4_1.png + slide_10_page_4_2_plus.png + slide_10_page_4_3_minus.png + slide_10_page_4_4_arrow.png + slide_10_page_4_5_text.png + slide_11_page_1.png + slide_11_page_2_1.png + slide_11_page_2_2_blink.png + slide_11_page_3_1.png + slide_11_page_3_2_rotate_it.png + slide_11_page_3_3_text_and_arrow.png + slide_12_page_1.png + slide_12_page_2_1_pwm_blink.png + slide_12_page_2_2.png + slide_12_page_2_3_text.png + slide_12_page_3_1_pwn_blink.png + slide_12_page_3_2.png + slide_12_page_3_3_text.png + slide_12_page_3_4_text_2.png + slide_13_page_1.png + slide_13_page_2.png + slide_13_page_3_1_plus.png + slide_13_page_3_2_minus_rotate_both.png + slide_13_page_3_4.png + slide_13_page_3_5_text.png + slide_14_helper.png + slide_14_page_1.png + slide_14_page_1_ball.png + slide_14_page_2_1_blink.png + slide_14_page_2_2_text.png + slide_14_page_3_1_symbols.png + slide_14_page_3_2_green_graph_and_start_ball.png + slide_14_page_3_3_white_image_for_blue_line.png + slide_15_page_1.png + slide_15_page_1_ball.png + slide_15_page_1_green_graph.png + slide_15_page_1_minus.png + slide_15_page_1_plus.png + slide_15_page_2_1_blink.png + slide_15_page_2_2_text.png + slide_15_page_3_1_arrow_and_text.png + slide_15_page_3_1_white.png + slide_15_page_3_2_graph.png + slide_15_page_3_3_text.png + formulas_component_stress.png + formulas_efficiency.png + formulas_ideal.png + formulas_nomenclautre.png + formulas_non_ideal.png + formulas_procedure.png + formulas_universal.png + + part_3_option_select + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + Title + +
    +
    + +
    ?
    +
    ?
    +
    ?
    +
    ?
    +
    ?
    +
    ?
    + +
    + +

    Image Box

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +
    +
    + + +
    + +
    +
    + + + + + + + + + + + + \ No newline at end of file diff --git a/simulation/indexing b/simulation/indexing new file mode 100644 index 0000000..cd620dc --- /dev/null +++ b/simulation/indexing @@ -0,0 +1,55 @@ +Existing: 1. Calculation of Pressure on Formwork Using ACI, CIRIA, and IS Code method +Updated: Foundation formwork (PERI) - https://github.com/virtual-labs/exp-foundation-formwork-peri-iitd + +Existing: 5. Formwork for slab and beam +Updated: Formwork for beam and slab using HD Towers - https://github.com/virtual-labs/exp-formwork-beam-and-slab-using-hd-towers-iitd + +Existing: 6. Formwork for bridge components +Updated: Beam forming formwork - https://github.com/virtual-labs/exp-beam-forming-formwork-iitd + +Existing: 7. Flying formwork. +Updated: Beam and slab using Flex System - https://github.com/virtual-labs/exp-beam-and-slab-using-flex-system-iitd + +Existing: 8. Slipform +Updated: Column (PERI) - https://github.com/virtual-labs/exp-column-peri-iitd + +Existing: 9. Formwork for tunnels +Updated: Wall (PERI) - https://github.com/virtual-labs/exp-wall-peri-iitd + +Existing: 10. Avoiding collapses in formwork in multi-storied building construction +Updated: Monolithic - https://github.com/virtual-labs/exp-monolithic-iitd + + + + + +1) FOUNDATION FORMWORK (PERI) +https://virtual-labs.github.io/exp-foundation-formwork-peri-iitd + + +2) FOUNDATION FORMWORK +https://virtual-labs.github.io/exp-formwork-for-foundation-iitd + +3) COLUMN FORMWORK +https://virtual-labs.github.io/exp-formwork-for-column-iitd + +4) WALL FORMWORK +https://virtual-labs.github.io/exp-formwork-for-wall-iitd + +5) BEAM FORMWORK +https://virtual-labs.github.io/exp-beam-forming-formwork-iitd + +6) BEAM AND SLAB HD TOWER +https://virtual-labs.github.io/exp-formwork-beam-and-slab-using-hd-towers-iitd + +7) BEAM AND SLAB FLEX SYSTEM +https://virtual-labs.github.io/exp-beam-and-slab-using-flex-system-iitd + +8) COLUMN FORMWORK (PERI) +https://virtual-labs.github.io/exp-column-peri-iitd + +9) WALL FORMWORK (PERI) +https://virtual-labs.github.io/exp-wall-peri-iitd + +10) MONOLITHIC FORMWORK +https://virtual-labs.github.io/exp-monolithic-iitd diff --git a/simulation/js/cables.js b/simulation/js/cables.js new file mode 100644 index 0000000..c8ecf51 --- /dev/null +++ b/simulation/js/cables.js @@ -0,0 +1,264 @@ +function cab(){ + // todo change this check with yours +// var yy = document.getElementById("check"); +// yy.onclick = checkk; + +let a = new Dom(".btn-check-connections") +a.get().onclick = checkCableConnection() + +// ! check +function checkCableConnection() { + if (connections.length == 0) { + alert("Please make the connections first"); + return false; + } + + if (connections.length < 6) { + alert("Wrong Connections\nPlease go through the instructions once"); + return false; + } + let isConnectionRight = false + if (connections.length >= 6) { + let matrixForCheckGraph = [ + // 0 1 2 3 4 5 6 7 8 9 10 + [0,0,0,0,0,0,0,0,0,0,0], // 0 + [0,0,0,1,0,0,0,0,0,0,0], // 1 + [0,0,0,0,0,0,1,0,1,0,0], // 2 + [0,1,0,0,0,0,0,0,0,0,0], // 3 + [0,0,0,0,0,0,0,1,0,1,0], // 4 + [0,0,0,0,0,0,0,0,0,0,1], // 5 + [0,0,1,0,0,0,0,0,1,0,0], // 6 + [0,0,0,0,1,0,0,0,0,1,0], // 7 + [0,0,1,0,0,0,1,0,0,0,0], // 8 + [0,0,0,0,1,0,0,1,0,0,0], // 9 + [0,0,0,0,0,1,0,0,0,0,0], // 10 + ] + var listDiv = []; + for (var j = 0; j < connections.length; j++) { + let pos = [connections[j].targetId,connections[j].sourceId] + listDiv.push(pos) + } + for(let i=0;i 0) { + var listDiv = []; + for (var j = 0; j < connections.length; j++) { + let pos = [connections[j].targetId,connections[j].sourceId] + listDiv.push(pos) + } + showConnectionInfo(listDiv); + } + }); + +jsPlumb.ready(function () { + var instance = jsPlumb.getInstance(); + + // suspend drawing and initialise. + instance.batch(function () { + // bind to connection/connectionDetached events, and update the list of connections on screen. + instance.bind("connection", function (info, originalEvent) { + updateConnections(info.connection); + }); + instance.bind("connectionDetached", function (info, originalEvent) { + updateConnections(info.connection, true); + }); + + instance.bind("connectionMoved", function (info, originalEvent) { + // only remove here, because a 'connection' event is also fired. + // in a future release of jsplumb this extra connection event will not + // be fired. + updateConnections(info.connection, true); + }); + + // configure some drop options for use by all endpoints. + var exampleDropOptions = { + tolerance: "touch", + hoverClass: "dropHover", + activeClass: "dragActive", + }; + let radius = 14 + var exampleEndpoint1 = { + endpoint: ["Dot", { radius: radius }], + paintStyle: { fill: "pink" }, + isSource: true, + scope: "green", + connectorStyle: { stroke: "pink", strokeWidth: 6 }, + connector: ["Bezier", { curviness: 10 }], + maxConnections: 1, + isTarget: true, + dropOptions: exampleDropOptions, + }; + var exampleEndpoint2 = { + endpoint: ["Dot", { radius: radius }], + paintStyle: { fill: "black" }, + isSource: true, + scope: "green", + connectorStyle: { stroke: "black", strokeWidth: 6 }, + connector: ["Bezier", { curviness: -50 }], + maxConnections: 2, + isTarget: true, + dropOptions: exampleDropOptions, + }; + var exampleEndpoint3 = { + endpoint: ["Dot", { radius: radius }], + paintStyle: { fill: "red" }, + isSource: true, + scope: "green", + connectorStyle: { stroke: "red", strokeWidth: 6 }, + connector: ["Bezier", { curviness: -30 }], + maxConnections: 2, + isTarget: true, + dropOptions: exampleDropOptions, + }; + var exampleEndpoint4 = { + endpoint: ["Dot", { radius: radius }], + paintStyle: { fill: "green" }, + isSource: true, + scope: "green", + connectorStyle: { stroke: "green", strokeWidth: 6 }, + connector: ["Bezier", { curviness: -50 }], + maxConnections: 1, + isTarget: true, + dropOptions: exampleDropOptions, + }; + // conn 1 + instance.addEndpoint( + "vertex1", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint1 + ); + instance.addEndpoint( + "vertex3", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint1 + ); + + // conn 2 + instance.addEndpoint( + "vertex4", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint2 + ); + instance.addEndpoint( + "vertex7", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint2 + ); + instance.addEndpoint( + "vertex9", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint2 + ); + + // conn 3 + instance.addEndpoint( + "vertex8", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint3 + ); + instance.addEndpoint( + "vertex6", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint3 + ); + instance.addEndpoint( + "vertex2", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint3 + ); + + // conn 4 + instance.addEndpoint( + "vertex10", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint4 + ); + instance.addEndpoint( + "vertex5", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint4 + ); + /*instance.addEndpoint("vertex9", { anchor: [0.75, 0, 0, -1] }, exampleEndpoint4); + instance.addEndpoint("vertex10", { anchor: [0.75, 0, 0, -1] }, exampleEndpoint4); + instance.addEndpoint("vertex11", { anchor: [0.75, 0, 0, -1] }, exampleEndpoint3); + instance.addEndpoint("vertex12", { anchor: [0.75, 0, 0, -1] }, exampleEndpoint3);*/ + + instance.draggable(jsPlumb.getSelector(".drag-drop-demo .window")); + + var hideLinks = jsPlumb.getSelector(".drag-drop-demo .hide"); + instance.on(hideLinks, "click", function (e) { + instance.toggleVisible(this.getAttribute("rel")); + jsPlumbUtil.consume(e); + }); + + var dragLinks = jsPlumb.getSelector(".drag-drop-demo .drag"); + instance.on(dragLinks, "click", function (e) { + var s = instance.toggleDraggable(this.getAttribute("rel")); + this.innerHTML = s ? "disable dragging" : "enable dragging"; + jsPlumbUtil.consume(e); + }); + + var detachLinks = jsPlumb.getSelector(".drag-drop-demo .detach"); + instance.on(detachLinks, "click", function (e) { + instance.deleteConnectionsForElement(this.getAttribute("rel")); + jsPlumbUtil.consume(e); + }); + + // ! reset + instance.on(document.getElementById("reset"), "click", function (e) { + // instance.detachEveryConnection(); + instance.deleteEveryConnection() + showConnectionInfo(""); + jsPlumbUtil.consume(e); + }); + }); + + jsPlumb.fire("jsPlumbDemoLoaded", instance); +}); +} diff --git a/simulation/js/formulas.js b/simulation/js/formulas.js new file mode 100644 index 0000000..f0ede1c --- /dev/null +++ b/simulation/js/formulas.js @@ -0,0 +1,148 @@ +const Formulas = { + one_minus_D(D){ + return 1 - D + }, + step2:{ + v0(values){ + let ans = values.vIn / Formulas.one_minus_D(values.D) + return Number(ans.toFixed(4)) + }, + i0(values){ + let ans = this.v0(values) / values.R + return Number(ans.toFixed(4)) + }, + iIn(values){ + let ans = this.i0(values) / Formulas.one_minus_D(values.D) + return Number(ans.toFixed(4)) + } + }, + ideal:{ + v0(values){ + let ans = values.vIn / Formulas.one_minus_D(values.D) + return Number(ans.toFixed(4)) + }, + + M(values){ + let ans = 1 / Formulas.one_minus_D(values.D) + return Number(ans.toFixed(4)) + }, + iIn(values){ + let ans = values.vIn / ( Math.pow(Formulas.one_minus_D(values.D),2) * values.R ) + return Number(ans.toFixed(4)) + }, + + i0(values){ + let ans = values.vIn / (Formulas.one_minus_D(values.D) * values.R) + return Number(ans.toFixed(4)) + }, + }, + nonIdeal:{ + M(values){ + const rl = 1, rSW = 0.4, vFD = 0.7, rc = 0.45 + + let upper = 1 - ((vFD * Formulas.one_minus_D(values.D)) / values.vIn) + let bottom = Formulas.one_minus_D(values.D) * (1 + (( rl + rSW * values.D) / (values.R * Math.pow(Formulas.one_minus_D(values.D),2)) ) ) + + let ans = upper / bottom + return Number(ans.toFixed(4)) + }, + v0(values){ + let ans = this.M(values) * values.vIn + return Number(ans.toFixed(4)) + }, + }, + efficiencyPlot:{ + v0(values){ + let ans = this.M(values) * values.vIn + return Number(ans.toFixed(4)) + }, + M(values){ + const rl = 1, rSW = 0.4, vFD = 0.7, rc = 0.45 + + let upper = 1 - ((vFD * Formulas.one_minus_D(values.D)) / values.vIn) + let bottom = Formulas.one_minus_D(values.D) * (1 + (( rl + rSW * values.D) / (values.R * Math.pow(Formulas.one_minus_D(values.D),2)) ) ) + + let ans = upper / bottom + return Number(ans.toFixed(4)) + }, + iIn(values){ + let ans = this.i0(values) / Formulas.one_minus_D(values.D) + return Number(ans.toFixed(4)) + }, + i0(values){ + let ans = this.v0(values) / values.R + return Number(ans.toFixed(4)) + }, + pIn(values){ + let ans = values.vIn * this.iIn(values) + return Number(ans.toFixed(4)) + }, + + p0(values){ + let ans = this.v0(values) * this.i0(values) + return Number(ans.toFixed(4)) + }, + + eff(values){ + let ans = (this.p0(values) * 100) / this.pIn(values) + return Number(ans.toFixed(4)) + } + }, + stress:{ + v0(values){ + let ans = this.M(values) * values.vIn + return Number(ans.toFixed(4)) + }, + M(values){ + const rl = 1, rSW = 0.4, vFD = 0.7, rc = 0.45 + + let upper = 1 - ((vFD * Formulas.one_minus_D(values.D)) / values.vIn) + let bottom = Formulas.one_minus_D(values.D) * (1 + (( rl + rSW * values.D) / (values.R * Math.pow(Formulas.one_minus_D(values.D),2)) ) ) + + let ans = upper / bottom + return Number(ans.toFixed(4)) + }, + i_In(values){ + let ans = this.i0(values) / Formulas.one_minus_D(values.D) + return Number(ans.toFixed(4)) + }, + i0(values){ + let ans = this.v0(values) / values.R + return Number(ans.toFixed(4)) + }, + i2(values){ + let L = 2 * Math.pow(10,-3) + let fs = 50 * Math.pow(10,3) + + let upper = values.D * values.vIn + let lower = 2 * L * fs + + let ans = this.i_In(values) + (upper / lower) + + return Number(ans.toFixed(4)) + }, + pSw(values){ + let ans = this.v0(values) * this.i0(values) + return Number(ans.toFixed(4)) + }, + pDi(values){ + let ans = this.v0(values) * this.i0(values) + return Number(ans.toFixed(4)) + }, + + }, +} + +let values = { + vIn:0, + D:0, + R:0, +} + +function updateValues(vIn,D,R){ + values = { + vIn:vIn, + D:D, + R:R, + } +} \ No newline at end of file diff --git a/simulation/js/graph.js b/simulation/js/graph.js new file mode 100644 index 0000000..e69de29 diff --git a/simulation/js/jsplumb.js b/simulation/js/jsplumb.js new file mode 100644 index 0000000..5c66789 --- /dev/null +++ b/simulation/js/jsplumb.js @@ -0,0 +1,15949 @@ +/** + * jsBezier + * + * Copyright (c) 2010 - 2017 jsPlumb (hello@jsplumbtoolkit.com) + * + * licensed under the MIT license. + * + * a set of Bezier curve functions that deal with Beziers, used by jsPlumb, and perhaps useful for other people. These functions work with Bezier + * curves of arbitrary degree. + * + * - functions are all in the 'jsBezier' namespace. + * + * - all input points should be in the format {x:.., y:..}. all output points are in this format too. + * + * - all input curves should be in the format [ {x:.., y:..}, {x:.., y:..}, {x:.., y:..}, {x:.., y:..} ] + * + * - 'location' as used as an input here refers to a decimal in the range 0-1 inclusive, which indicates a point some proportion along the length + * of the curve. location as output has the same format and meaning. + * + * + * Function List: + * -------------- + * + * distanceFromCurve(point, curve) + * + * Calculates the distance that the given point lies from the given Bezier. Note that it is computed relative to the center of the Bezier, + * so if you have stroked the curve with a wide pen you may wish to take that into account! The distance returned is relative to the values + * of the curve and the point - it will most likely be pixels. + * + * gradientAtPoint(curve, location) + * + * Calculates the gradient to the curve at the given location, as a decimal between 0 and 1 inclusive. + * + * gradientAtPointAlongCurveFrom (curve, location) + * + * Calculates the gradient at the point on the given curve that is 'distance' units from location. + * + * nearestPointOnCurve(point, curve) + * + * Calculates the nearest point to the given point on the given curve. The return value of this is a JS object literal, containing both the + *point's coordinates and also the 'location' of the point (see above), for example: { point:{x:551,y:150}, location:0.263365 }. + * + * pointOnCurve(curve, location) + * + * Calculates the coordinates of the point on the given Bezier curve at the given location. + * + * pointAlongCurveFrom(curve, location, distance) + * + * Calculates the coordinates of the point on the given curve that is 'distance' units from location. 'distance' should be in the same coordinate + * space as that used to construct the Bezier curve. For an HTML Canvas usage, for example, distance would be a measure of pixels. + * + * locationAlongCurveFrom(curve, location, distance) + * + * Calculates the location on the given curve that is 'distance' units from location. 'distance' should be in the same coordinate + * space as that used to construct the Bezier curve. For an HTML Canvas usage, for example, distance would be a measure of pixels. + * + * perpendicularToCurveAt(curve, location, length, distance) + * + * Calculates the perpendicular to the given curve at the given location. length is the length of the line you wish for (it will be centered + * on the point at 'location'). distance is optional, and allows you to specify a point along the path from the given location as the center of + * the perpendicular returned. The return value of this is an array of two points: [ {x:...,y:...}, {x:...,y:...} ]. + * + * + */ + + (function() { + + var root = this; + + if(typeof Math.sgn == "undefined") { + Math.sgn = function(x) { return x == 0 ? 0 : x > 0 ? 1 :-1; }; + } + + var Vectors = { + subtract : function(v1, v2) { return {x:v1.x - v2.x, y:v1.y - v2.y }; }, + dotProduct : function(v1, v2) { return (v1.x * v2.x) + (v1.y * v2.y); }, + square : function(v) { return Math.sqrt((v.x * v.x) + (v.y * v.y)); }, + scale : function(v, s) { return {x:v.x * s, y:v.y * s }; } + }, + + maxRecursion = 64, + flatnessTolerance = Math.pow(2.0,-maxRecursion-1); + + /** + * Calculates the distance that the point lies from the curve. + * + * @param point a point in the form {x:567, y:3342} + * @param curve a Bezier curve in the form [{x:..., y:...}, {x:..., y:...}, {x:..., y:...}, {x:..., y:...}]. note that this is currently + * hardcoded to assume cubiz beziers, but would be better off supporting any degree. + * @return a JS object literal containing location and distance, for example: {location:0.35, distance:10}. Location is analogous to the location + * argument you pass to the pointOnPath function: it is a ratio of distance travelled along the curve. Distance is the distance in pixels from + * the point to the curve. + */ + var _distanceFromCurve = function(point, curve) { + var candidates = [], + w = _convertToBezier(point, curve), + degree = curve.length - 1, higherDegree = (2 * degree) - 1, + numSolutions = _findRoots(w, higherDegree, candidates, 0), + v = Vectors.subtract(point, curve[0]), dist = Vectors.square(v), t = 0.0; + + for (var i = 0; i < numSolutions; i++) { + v = Vectors.subtract(point, _bezier(curve, degree, candidates[i], null, null)); + var newDist = Vectors.square(v); + if (newDist < dist) { + dist = newDist; + t = candidates[i]; + } + } + v = Vectors.subtract(point, curve[degree]); + newDist = Vectors.square(v); + if (newDist < dist) { + dist = newDist; + t = 1.0; + } + return {location:t, distance:dist}; + }; + /** + * finds the nearest point on the curve to the given point. + */ + var _nearestPointOnCurve = function(point, curve) { + var td = _distanceFromCurve(point, curve); + return {point:_bezier(curve, curve.length - 1, td.location, null, null), location:td.location}; + }; + var _convertToBezier = function(point, curve) { + var degree = curve.length - 1, higherDegree = (2 * degree) - 1, + c = [], d = [], cdTable = [], w = [], + z = [ [1.0, 0.6, 0.3, 0.1], [0.4, 0.6, 0.6, 0.4], [0.1, 0.3, 0.6, 1.0] ]; + + for (var i = 0; i <= degree; i++) c[i] = Vectors.subtract(curve[i], point); + for (var i = 0; i <= degree - 1; i++) { + d[i] = Vectors.subtract(curve[i+1], curve[i]); + d[i] = Vectors.scale(d[i], 3.0); + } + for (var row = 0; row <= degree - 1; row++) { + for (var column = 0; column <= degree; column++) { + if (!cdTable[row]) cdTable[row] = []; + cdTable[row][column] = Vectors.dotProduct(d[row], c[column]); + } + } + for (i = 0; i <= higherDegree; i++) { + if (!w[i]) w[i] = []; + w[i].y = 0.0; + w[i].x = parseFloat(i) / higherDegree; + } + var n = degree, m = degree-1; + for (var k = 0; k <= n + m; k++) { + var lb = Math.max(0, k - m), + ub = Math.min(k, n); + for (i = lb; i <= ub; i++) { + var j = k - i; + w[i+j].y += cdTable[j][i] * z[j][i]; + } + } + return w; + }; + /** + * counts how many roots there are. + */ + var _findRoots = function(w, degree, t, depth) { + var left = [], right = [], + left_count, right_count, + left_t = [], right_t = []; + + switch (_getCrossingCount(w, degree)) { + case 0 : { + return 0; + } + case 1 : { + if (depth >= maxRecursion) { + t[0] = (w[0].x + w[degree].x) / 2.0; + return 1; + } + if (_isFlatEnough(w, degree)) { + t[0] = _computeXIntercept(w, degree); + return 1; + } + break; + } + } + _bezier(w, degree, 0.5, left, right); + left_count = _findRoots(left, degree, left_t, depth+1); + right_count = _findRoots(right, degree, right_t, depth+1); + for (var i = 0; i < left_count; i++) t[i] = left_t[i]; + for (var i = 0; i < right_count; i++) t[i+left_count] = right_t[i]; + return (left_count+right_count); + }; + var _getCrossingCount = function(curve, degree) { + var n_crossings = 0, sign, old_sign; + sign = old_sign = Math.sgn(curve[0].y); + for (var i = 1; i <= degree; i++) { + sign = Math.sgn(curve[i].y); + if (sign != old_sign) n_crossings++; + old_sign = sign; + } + return n_crossings; + }; + var _isFlatEnough = function(curve, degree) { + var error, + intercept_1, intercept_2, left_intercept, right_intercept, + a, b, c, det, dInv, a1, b1, c1, a2, b2, c2; + a = curve[0].y - curve[degree].y; + b = curve[degree].x - curve[0].x; + c = curve[0].x * curve[degree].y - curve[degree].x * curve[0].y; + + var max_distance_above, max_distance_below; + max_distance_above = max_distance_below = 0.0; + + for (var i = 1; i < degree; i++) { + var value = a * curve[i].x + b * curve[i].y + c; + if (value > max_distance_above) + max_distance_above = value; + else if (value < max_distance_below) + max_distance_below = value; + } + + a1 = 0.0; b1 = 1.0; c1 = 0.0; a2 = a; b2 = b; + c2 = c - max_distance_above; + det = a1 * b2 - a2 * b1; + dInv = 1.0/det; + intercept_1 = (b1 * c2 - b2 * c1) * dInv; + a2 = a; b2 = b; c2 = c - max_distance_below; + det = a1 * b2 - a2 * b1; + dInv = 1.0/det; + intercept_2 = (b1 * c2 - b2 * c1) * dInv; + left_intercept = Math.min(intercept_1, intercept_2); + right_intercept = Math.max(intercept_1, intercept_2); + error = right_intercept - left_intercept; + return (error < flatnessTolerance)? 1 : 0; + }; + var _computeXIntercept = function(curve, degree) { + var XLK = 1.0, YLK = 0.0, + XNM = curve[degree].x - curve[0].x, YNM = curve[degree].y - curve[0].y, + XMK = curve[0].x - 0.0, YMK = curve[0].y - 0.0, + det = XNM*YLK - YNM*XLK, detInv = 1.0/det, + S = (XNM*YMK - YNM*XMK) * detInv; + return 0.0 + XLK * S; + }; + var _bezier = function(curve, degree, t, left, right) { + var temp = [[]]; + for (var j =0; j <= degree; j++) temp[0][j] = curve[j]; + for (var i = 1; i <= degree; i++) { + for (var j =0 ; j <= degree - i; j++) { + if (!temp[i]) temp[i] = []; + if (!temp[i][j]) temp[i][j] = {}; + temp[i][j].x = (1.0 - t) * temp[i-1][j].x + t * temp[i-1][j+1].x; + temp[i][j].y = (1.0 - t) * temp[i-1][j].y + t * temp[i-1][j+1].y; + } + } + if (left != null) + for (j = 0; j <= degree; j++) left[j] = temp[j][0]; + if (right != null) + for (j = 0; j <= degree; j++) right[j] = temp[degree-j][j]; + + return (temp[degree][0]); + }; + + var _curveFunctionCache = {}; + var _getCurveFunctions = function(order) { + var fns = _curveFunctionCache[order]; + if (!fns) { + fns = []; + var f_term = function() { return function(t) { return Math.pow(t, order); }; }, + l_term = function() { return function(t) { return Math.pow((1-t), order); }; }, + c_term = function(c) { return function(t) { return c; }; }, + t_term = function() { return function(t) { return t; }; }, + one_minus_t_term = function() { return function(t) { return 1-t; }; }, + _termFunc = function(terms) { + return function(t) { + var p = 1; + for (var i = 0; i < terms.length; i++) p = p * terms[i](t); + return p; + }; + }; + + fns.push(new f_term()); // first is t to the power of the curve order + for (var i = 1; i < order; i++) { + var terms = [new c_term(order)]; + for (var j = 0 ; j < (order - i); j++) terms.push(new t_term()); + for (var j = 0 ; j < i; j++) terms.push(new one_minus_t_term()); + fns.push(new _termFunc(terms)); + } + fns.push(new l_term()); // last is (1-t) to the power of the curve order + + _curveFunctionCache[order] = fns; + } + + return fns; + }; + + + /** + * calculates a point on the curve, for a Bezier of arbitrary order. + * @param curve an array of control points, eg [{x:10,y:20}, {x:50,y:50}, {x:100,y:100}, {x:120,y:100}]. For a cubic bezier this should have four points. + * @param location a decimal indicating the distance along the curve the point should be located at. this is the distance along the curve as it travels, taking the way it bends into account. should be a number from 0 to 1, inclusive. + */ + var _pointOnPath = function(curve, location) { + var cc = _getCurveFunctions(curve.length - 1), + _x = 0, _y = 0; + for (var i = 0; i < curve.length ; i++) { + _x = _x + (curve[i].x * cc[i](location)); + _y = _y + (curve[i].y * cc[i](location)); + } + + return {x:_x, y:_y}; + }; + + var _dist = function(p1,p2) { + return Math.sqrt(Math.pow(p1.x - p2.x, 2) + Math.pow(p1.y - p2.y, 2)); + }; + + var _isPoint = function(curve) { + return curve[0].x === curve[1].x && curve[0].y === curve[1].y; + }; + + /** + * finds the point that is 'distance' along the path from 'location'. this method returns both the x,y location of the point and also + * its 'location' (proportion of travel along the path); the method below - _pointAlongPathFrom - calls this method and just returns the + * point. + */ + var _pointAlongPath = function(curve, location, distance) { + + if (_isPoint(curve)) { + return { + point:curve[0], + location:location + }; + } + + var prev = _pointOnPath(curve, location), + tally = 0, + curLoc = location, + direction = distance > 0 ? 1 : -1, + cur = null; + + while (tally < Math.abs(distance)) { + curLoc += (0.005 * direction); + cur = _pointOnPath(curve, curLoc); + tally += _dist(cur, prev); + prev = cur; + } + + return {point:cur, location:curLoc}; + }; + + var _length = function(curve) { + + var d = new Date().getTime(); + + if (_isPoint(curve)) return 0; + + var prev = _pointOnPath(curve, 0), + tally = 0, + curLoc = 0, + direction = 1, + cur = null; + + while (curLoc < 1) { + curLoc += (0.005 * direction); + cur = _pointOnPath(curve, curLoc); + tally += _dist(cur, prev); + prev = cur; + } + console.log("length", new Date().getTime() - d); + + return tally; + }; + + /** + * finds the point that is 'distance' along the path from 'location'. + */ + var _pointAlongPathFrom = function(curve, location, distance) { + return _pointAlongPath(curve, location, distance).point; + }; + + /** + * finds the location that is 'distance' along the path from 'location'. + */ + var _locationAlongPathFrom = function(curve, location, distance) { + return _pointAlongPath(curve, location, distance).location; + }; + + /** + * returns the gradient of the curve at the given location, which is a decimal between 0 and 1 inclusive. + * + * thanks // http://bimixual.org/AnimationLibrary/beziertangents.html + */ + var _gradientAtPoint = function(curve, location) { + + var p1 = _pointOnPath(curve, location), + p2 = _pointOnPath(curve.slice(0, curve.length - 1), location), + dy = p2.y - p1.y, dx = p2.x - p1.x; + + return dy === 0 ? Infinity : Math.atan(dy / dx); + }; + + /** + returns the gradient of the curve at the point which is 'distance' from the given location. + if this point is greater than location 1, the gradient at location 1 is returned. + if this point is less than location 0, the gradient at location 0 is returned. + */ + var _gradientAtPointAlongPathFrom = function(curve, location, distance) { + var p = _pointAlongPath(curve, location, distance); + if (p.location > 1) p.location = 1; + if (p.location < 0) p.location = 0; + return _gradientAtPoint(curve, p.location); + }; + + /** + * calculates a line that is 'length' pixels long, perpendicular to, and centered on, the path at 'distance' pixels from the given location. + * if distance is not supplied, the perpendicular for the given location is computed (ie. we set distance to zero). + */ + var _perpendicularToPathAt = function(curve, location, length, distance) { + distance = distance == null ? 0 : distance; + var p = _pointAlongPath(curve, location, distance), + m = _gradientAtPoint(curve, p.location), + _theta2 = Math.atan(-1 / m), + y = length / 2 * Math.sin(_theta2), + x = length / 2 * Math.cos(_theta2); + return [{x:p.point.x + x, y:p.point.y + y}, {x:p.point.x - x, y:p.point.y - y}]; + }; + + /** + * Calculates all intersections of the given line with the given curve. + * @param x1 + * @param y1 + * @param x2 + * @param y2 + * @param curve + * @returns {Array} + */ + var _lineIntersection = function(x1, y1, x2, y2, curve) { + var a = y2 - y1, + b = x1 - x2, + c = (x1 * (y1 - y2)) + (y1 * (x2-x1)), + coeffs = _computeCoefficients(curve), + p = [ + (a*coeffs[0][0]) + (b * coeffs[1][0]), + (a*coeffs[0][1])+(b*coeffs[1][1]), + (a*coeffs[0][2])+(b*coeffs[1][2]), + (a*coeffs[0][3])+(b*coeffs[1][3]) + c + ], + r = _cubicRoots.apply(null, p), + intersections = []; + + if (r != null) { + + for (var i = 0; i < 3; i++) { + var t = r[i], + t2 = Math.pow(t, 2), + t3 = Math.pow(t, 3), + x = [ + (coeffs[0][0] * t3) + (coeffs[0][1] * t2) + (coeffs[0][2] * t) + coeffs[0][3], + (coeffs[1][0] * t3) + (coeffs[1][1] * t2) + (coeffs[1][2] * t) + coeffs[1][3] + ]; + + // check bounds of the line + var s; + if ((x2 - x1) !== 0) { + s = (x[0] - x1) / (x2 - x1); + } + else { + s = (x[1] - y1) / (y2 - y1); + } + + if (t >= 0 && t <= 1.0 && s >= 0 && s <= 1.0) { + intersections.push(x); + } + } + } + + return intersections; + }; + + /** + * Calculates all intersections of the given box with the given curve. + * @param x X position of top left corner of box + * @param y Y position of top left corner of box + * @param w width of box + * @param h height of box + * @param curve + * @returns {Array} + */ + var _boxIntersection = function(x, y, w, h, curve) { + var i = []; + i.push.apply(i, _lineIntersection(x, y, x + w, y, curve)); + i.push.apply(i, _lineIntersection(x + w, y, x + w, y + h, curve)); + i.push.apply(i, _lineIntersection(x + w, y + h, x, y + h, curve)); + i.push.apply(i, _lineIntersection(x, y + h, x, y, curve)); + return i; + }; + + /** + * Calculates all intersections of the given bounding box with the given curve. + * @param boundingBox Bounding box, in { x:.., y:..., w:..., h:... } format. + * @param curve + * @returns {Array} + */ + var _boundingBoxIntersection = function(boundingBox, curve) { + var i = []; + i.push.apply(i, _lineIntersection(boundingBox.x, boundingBox.y, boundingBox.x + boundingBox.w, boundingBox.y, curve)); + i.push.apply(i, _lineIntersection(boundingBox.x + boundingBox.w, boundingBox.y, boundingBox.x + boundingBox.w, boundingBox.y + boundingBox.h, curve)); + i.push.apply(i, _lineIntersection(boundingBox.x + boundingBox.w, boundingBox.y + boundingBox.h, boundingBox.x, boundingBox.y + boundingBox.h, curve)); + i.push.apply(i, _lineIntersection(boundingBox.x, boundingBox.y + boundingBox.h, boundingBox.x, boundingBox.y, curve)); + return i; + }; + + + function _computeCoefficientsForAxis(curve, axis) { + return [ + -(curve[0][axis]) + (3*curve[1][axis]) + (-3 * curve[2][axis]) + curve[3][axis], + (3*(curve[0][axis])) - (6*(curve[1][axis])) + (3*(curve[2][axis])), + -3*curve[0][axis] + 3*curve[1][axis], + curve[0][axis] + ]; + } + + function _computeCoefficients(curve) + { + return [ + _computeCoefficientsForAxis(curve, "x"), + _computeCoefficientsForAxis(curve, "y") + ]; + } + + function sgn(x) { + return x < 0 ? -1 : x > 0 ? 1 : 0; + } + + function _cubicRoots(a, b, c, d) { + var A = b / a, + B = c / a, + C = d / a, + Q = (3*B - Math.pow(A, 2))/9, + R = (9*A*B - 27*C - 2*Math.pow(A, 3))/54, + D = Math.pow(Q, 3) + Math.pow(R, 2), + S, + T, + t = []; + + if (D >= 0) // complex or duplicate roots + { + S = sgn(R + Math.sqrt(D))*Math.pow(Math.abs(R + Math.sqrt(D)),(1/3)); + T = sgn(R - Math.sqrt(D))*Math.pow(Math.abs(R - Math.sqrt(D)),(1/3)); + + t[0] = -A/3 + (S + T); + t[1] = -A/3 - (S + T)/2; + t[2] = -A/3 - (S + T)/2; + + /*discard complex roots*/ + if (Math.abs(Math.sqrt(3)*(S - T)/2) !== 0) { + t[1] = -1; + t[2] = -1; + } + } + else // distinct real roots + { + var th = Math.acos(R/Math.sqrt(-Math.pow(Q, 3))); + t[0] = 2*Math.sqrt(-Q)*Math.cos(th/3) - A/3; + t[1] = 2*Math.sqrt(-Q)*Math.cos((th + 2*Math.PI)/3) - A/3; + t[2] = 2*Math.sqrt(-Q)*Math.cos((th + 4*Math.PI)/3) - A/3; + } + + // discard out of spec roots + for (var i = 0; i < 3; i++) { + if (t[i] < 0 || t[i] > 1.0) { + t[i] = -1; + } + } + + return t; + } + + var jsBezier = this.jsBezier = { + distanceFromCurve : _distanceFromCurve, + gradientAtPoint : _gradientAtPoint, + gradientAtPointAlongCurveFrom : _gradientAtPointAlongPathFrom, + nearestPointOnCurve : _nearestPointOnCurve, + pointOnCurve : _pointOnPath, + pointAlongCurveFrom : _pointAlongPathFrom, + perpendicularToCurveAt : _perpendicularToPathAt, + locationAlongCurveFrom:_locationAlongPathFrom, + getLength:_length, + lineIntersection:_lineIntersection, + boxIntersection:_boxIntersection, + boundingBoxIntersection:_boundingBoxIntersection, + version:"0.9.0" + }; + + if (typeof exports !== "undefined") { + exports.jsBezier = jsBezier; + } + +}).call(typeof window !== 'undefined' ? window : this); + +/** + * Biltong v0.4.0 + * + * Various geometry functions written as part of jsPlumb and perhaps useful for others. + * + * Copyright (c) 2017 jsPlumb + * https://jsplumbtoolkit.com + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ +;(function() { + + "use strict"; + var root = this; + + var Biltong = root.Biltong = { + version:"0.4.0" + }; + + if (typeof exports !== "undefined") { + exports.Biltong = Biltong; + } + + var _isa = function(a) { return Object.prototype.toString.call(a) === "[object Array]"; }, + _pointHelper = function(p1, p2, fn) { + p1 = _isa(p1) ? p1 : [p1.x, p1.y]; + p2 = _isa(p2) ? p2 : [p2.x, p2.y]; + return fn(p1, p2); + }, + /** + * @name Biltong.gradient + * @function + * @desc Calculates the gradient of a line between the two points. + * @param {Point} p1 First point, either as a 2 entry array or object with `left` and `top` properties. + * @param {Point} p2 Second point, either as a 2 entry array or object with `left` and `top` properties. + * @return {Float} The gradient of a line between the two points. + */ + _gradient = Biltong.gradient = function(p1, p2) { + return _pointHelper(p1, p2, function(_p1, _p2) { + if (_p2[0] == _p1[0]) + return _p2[1] > _p1[1] ? Infinity : -Infinity; + else if (_p2[1] == _p1[1]) + return _p2[0] > _p1[0] ? 0 : -0; + else + return (_p2[1] - _p1[1]) / (_p2[0] - _p1[0]); + }); + }, + /** + * @name Biltong.normal + * @function + * @desc Calculates the gradient of a normal to a line between the two points. + * @param {Point} p1 First point, either as a 2 entry array or object with `left` and `top` properties. + * @param {Point} p2 Second point, either as a 2 entry array or object with `left` and `top` properties. + * @return {Float} The gradient of a normal to a line between the two points. + */ + _normal = Biltong.normal = function(p1, p2) { + return -1 / _gradient(p1, p2); + }, + /** + * @name Biltong.lineLength + * @function + * @desc Calculates the length of a line between the two points. + * @param {Point} p1 First point, either as a 2 entry array or object with `left` and `top` properties. + * @param {Point} p2 Second point, either as a 2 entry array or object with `left` and `top` properties. + * @return {Float} The length of a line between the two points. + */ + _lineLength = Biltong.lineLength = function(p1, p2) { + return _pointHelper(p1, p2, function(_p1, _p2) { + return Math.sqrt(Math.pow(_p2[1] - _p1[1], 2) + Math.pow(_p2[0] - _p1[0], 2)); + }); + }, + /** + * @name Biltong.quadrant + * @function + * @desc Calculates the quadrant in which the angle between the two points lies. + * @param {Point} p1 First point, either as a 2 entry array or object with `left` and `top` properties. + * @param {Point} p2 Second point, either as a 2 entry array or object with `left` and `top` properties. + * @return {Integer} The quadrant - 1 for upper right, 2 for lower right, 3 for lower left, 4 for upper left. + */ + _quadrant = Biltong.quadrant = function(p1, p2) { + return _pointHelper(p1, p2, function(_p1, _p2) { + if (_p2[0] > _p1[0]) { + return (_p2[1] > _p1[1]) ? 2 : 1; + } + else if (_p2[0] == _p1[0]) { + return _p2[1] > _p1[1] ? 2 : 1; + } + else { + return (_p2[1] > _p1[1]) ? 3 : 4; + } + }); + }, + /** + * @name Biltong.theta + * @function + * @desc Calculates the angle between the two points. + * @param {Point} p1 First point, either as a 2 entry array or object with `left` and `top` properties. + * @param {Point} p2 Second point, either as a 2 entry array or object with `left` and `top` properties. + * @return {Float} The angle between the two points. + */ + _theta = Biltong.theta = function(p1, p2) { + return _pointHelper(p1, p2, function(_p1, _p2) { + var m = _gradient(_p1, _p2), + t = Math.atan(m), + s = _quadrant(_p1, _p2); + if ((s == 4 || s== 3)) t += Math.PI; + if (t < 0) t += (2 * Math.PI); + + return t; + }); + }, + /** + * @name Biltong.intersects + * @function + * @desc Calculates whether or not the two rectangles intersect. + * @param {Rectangle} r1 First rectangle, as a js object in the form `{x:.., y:.., w:.., h:..}` + * @param {Rectangle} r2 Second rectangle, as a js object in the form `{x:.., y:.., w:.., h:..}` + * @return {Boolean} True if the rectangles intersect, false otherwise. + */ + _intersects = Biltong.intersects = function(r1, r2) { + var x1 = r1.x, x2 = r1.x + r1.w, y1 = r1.y, y2 = r1.y + r1.h, + a1 = r2.x, a2 = r2.x + r2.w, b1 = r2.y, b2 = r2.y + r2.h; + + return ( (x1 <= a1 && a1 <= x2) && (y1 <= b1 && b1 <= y2) ) || + ( (x1 <= a2 && a2 <= x2) && (y1 <= b1 && b1 <= y2) ) || + ( (x1 <= a1 && a1 <= x2) && (y1 <= b2 && b2 <= y2) ) || + ( (x1 <= a2 && a1 <= x2) && (y1 <= b2 && b2 <= y2) ) || + ( (a1 <= x1 && x1 <= a2) && (b1 <= y1 && y1 <= b2) ) || + ( (a1 <= x2 && x2 <= a2) && (b1 <= y1 && y1 <= b2) ) || + ( (a1 <= x1 && x1 <= a2) && (b1 <= y2 && y2 <= b2) ) || + ( (a1 <= x2 && x1 <= a2) && (b1 <= y2 && y2 <= b2) ); + }, + /** + * @name Biltong.encloses + * @function + * @desc Calculates whether or not r2 is completely enclosed by r1. + * @param {Rectangle} r1 First rectangle, as a js object in the form `{x:.., y:.., w:.., h:..}` + * @param {Rectangle} r2 Second rectangle, as a js object in the form `{x:.., y:.., w:.., h:..}` + * @param {Boolean} [allowSharedEdges=false] If true, the concept of enclosure allows for one or more edges to be shared by the two rectangles. + * @return {Boolean} True if r1 encloses r2, false otherwise. + */ + _encloses = Biltong.encloses = function(r1, r2, allowSharedEdges) { + var x1 = r1.x, x2 = r1.x + r1.w, y1 = r1.y, y2 = r1.y + r1.h, + a1 = r2.x, a2 = r2.x + r2.w, b1 = r2.y, b2 = r2.y + r2.h, + c = function(v1, v2, v3, v4) { return allowSharedEdges ? v1 <= v2 && v3>= v4 : v1 < v2 && v3 > v4; }; + + return c(x1,a1,x2,a2) && c(y1,b1,y2,b2); + }, + _segmentMultipliers = [null, [1, -1], [1, 1], [-1, 1], [-1, -1] ], + _inverseSegmentMultipliers = [null, [-1, -1], [-1, 1], [1, 1], [1, -1] ], + /** + * @name Biltong.pointOnLine + * @function + * @desc Calculates a point on the line from `fromPoint` to `toPoint` that is `distance` units along the length of the line. + * @param {Point} p1 First point, either as a 2 entry array or object with `left` and `top` properties. + * @param {Point} p2 Second point, either as a 2 entry array or object with `left` and `top` properties. + * @return {Point} Point on the line, in the form `{ x:..., y:... }`. + */ + _pointOnLine = Biltong.pointOnLine = function(fromPoint, toPoint, distance) { + var m = _gradient(fromPoint, toPoint), + s = _quadrant(fromPoint, toPoint), + segmentMultiplier = distance > 0 ? _segmentMultipliers[s] : _inverseSegmentMultipliers[s], + theta = Math.atan(m), + y = Math.abs(distance * Math.sin(theta)) * segmentMultiplier[1], + x = Math.abs(distance * Math.cos(theta)) * segmentMultiplier[0]; + return { x:fromPoint.x + x, y:fromPoint.y + y }; + }, + /** + * @name Biltong.perpendicularLineTo + * @function + * @desc Calculates a line of length `length` that is perpendicular to the line from `fromPoint` to `toPoint` and passes through `toPoint`. + * @param {Point} p1 First point, either as a 2 entry array or object with `left` and `top` properties. + * @param {Point} p2 Second point, either as a 2 entry array or object with `left` and `top` properties. + * @return {Line} Perpendicular line, in the form `[ { x:..., y:... }, { x:..., y:... } ]`. + */ + _perpendicularLineTo = Biltong.perpendicularLineTo = function(fromPoint, toPoint, length) { + var m = _gradient(fromPoint, toPoint), + theta2 = Math.atan(-1 / m), + y = length / 2 * Math.sin(theta2), + x = length / 2 * Math.cos(theta2); + return [{x:toPoint.x + x, y:toPoint.y + y}, {x:toPoint.x - x, y:toPoint.y - y}]; + }; +}).call(typeof window !== 'undefined' ? window : this); +; +(function () { + + "use strict"; + + /** + * Creates a Touch object. + * @param view + * @param target + * @param pageX + * @param pageY + * @param screenX + * @param screenY + * @param clientX + * @param clientY + * @returns {Touch} + * @private + */ + function _touch(view, target, pageX, pageY, screenX, screenY, clientX, clientY) { + + return new Touch({ + target:target, + identifier:_uuid(), + pageX: pageX, + pageY: pageY, + screenX: screenX, + screenY: screenY, + clientX: clientX || screenX, + clientY: clientY || screenY + }); + } + + /** + * Create a synthetic touch list from the given list of Touch objects. + * @returns {Array} + * @private + */ + function _touchList() { + var list = []; + Array.prototype.push.apply(list, arguments); + list.item = function(index) { return this[index]; }; + return list; + } + + /** + * Create a Touch object and then insert it into a synthetic touch list, returning the list.s + * @param view + * @param target + * @param pageX + * @param pageY + * @param screenX + * @param screenY + * @param clientX + * @param clientY + * @returns {Array} + * @private + */ + function _touchAndList(view, target, pageX, pageY, screenX, screenY, clientX, clientY) { + return _touchList(_touch.apply(null, arguments)); + } + + var root = this, + matchesSelector = function (el, selector, ctx) { + ctx = ctx || el.parentNode; + var possibles = ctx.querySelectorAll(selector); + for (var i = 0; i < possibles.length; i++) { + if (possibles[i] === el) { + return true; + } + } + return false; + }, + _gel = function (el) { + return (typeof el == "string" || el.constructor === String) ? document.getElementById(el) : el; + }, + _t = function (e) { + return e.srcElement || e.target; + }, + // + // gets path info for the given event - the path from target to obj, in the event's bubble chain. if doCompute + // is false we just return target for the path. + // + _pi = function(e, target, obj, doCompute) { + if (!doCompute) return { path:[target], end:1 }; + else if (typeof e.path !== "undefined" && e.path.indexOf) { + return { path: e.path, end: e.path.indexOf(obj) }; + } else { + var out = { path:[], end:-1 }, _one = function(el) { + out.path.push(el); + if (el === obj) { + out.end = out.path.length - 1; + } + else if (el.parentNode != null) { + _one(el.parentNode) + } + }; + _one(target); + return out; + } + }, + _d = function (l, fn) { + for (var i = 0, j = l.length; i < j; i++) { + if (l[i] == fn) break; + } + if (i < l.length) l.splice(i, 1); + }, + guid = 1, + // + // this function generates a guid for every handler, sets it on the handler, then adds + // it to the associated object's map of handlers for the given event. this is what enables us + // to unbind all events of some type, or all events (the second of which can be requested by the user, + // but it also used by Mottle when an element is removed.) + _store = function (obj, event, fn) { + var g = guid++; + obj.__ta = obj.__ta || {}; + obj.__ta[event] = obj.__ta[event] || {}; + // store each handler with a unique guid. + obj.__ta[event][g] = fn; + // set the guid on the handler. + fn.__tauid = g; + return g; + }, + _unstore = function (obj, event, fn) { + obj.__ta && obj.__ta[event] && delete obj.__ta[event][fn.__tauid]; + // a handler might have attached extra functions, so we unbind those too. + if (fn.__taExtra) { + for (var i = 0; i < fn.__taExtra.length; i++) { + _unbind(obj, fn.__taExtra[i][0], fn.__taExtra[i][1]); + } + fn.__taExtra.length = 0; + } + // a handler might have attached an unstore callback + fn.__taUnstore && fn.__taUnstore(); + }, + _curryChildFilter = function (children, obj, fn, evt) { + if (children == null) return fn; + else { + var c = children.split(","), + _fn = function (e) { + _fn.__tauid = fn.__tauid; + var t = _t(e), target = t; // t is the target element on which the event occurred. it is the + // element we will wish to pass to any callbacks. + var pathInfo = _pi(e, t, obj, children != null) + if (pathInfo.end != -1) { + for (var p = 0; p < pathInfo.end; p++) { + target = pathInfo.path[p]; + for (var i = 0; i < c.length; i++) { + if (matchesSelector(target, c[i], obj)) { + fn.apply(target, arguments); + } + } + } + } + }; + registerExtraFunction(fn, evt, _fn); + return _fn; + } + }, + // + // registers an 'extra' function on some event listener function we were given - a function that we + // created and bound to the element as part of our housekeeping, and which we want to unbind and remove + // whenever the given function is unbound. + registerExtraFunction = function (fn, evt, newFn) { + fn.__taExtra = fn.__taExtra || []; + fn.__taExtra.push([evt, newFn]); + }, + DefaultHandler = function (obj, evt, fn, children) { + if (isTouchDevice && touchMap[evt]) { + var tfn = _curryChildFilter(children, obj, fn, touchMap[evt]); + _bind(obj, touchMap[evt], tfn , fn); + } + if (evt === "focus" && obj.getAttribute("tabindex") == null) { + obj.setAttribute("tabindex", "1"); + } + _bind(obj, evt, _curryChildFilter(children, obj, fn, evt), fn); + }, + SmartClickHandler = function (obj, evt, fn, children) { + if (obj.__taSmartClicks == null) { + var down = function (e) { + obj.__tad = _pageLocation(e); + }, + up = function (e) { + obj.__tau = _pageLocation(e); + }, + click = function (e) { + if (obj.__tad && obj.__tau && obj.__tad[0] === obj.__tau[0] && obj.__tad[1] === obj.__tau[1]) { + for (var i = 0; i < obj.__taSmartClicks.length; i++) + obj.__taSmartClicks[i].apply(_t(e), [ e ]); + } + }; + DefaultHandler(obj, "mousedown", down, children); + DefaultHandler(obj, "mouseup", up, children); + DefaultHandler(obj, "click", click, children); + obj.__taSmartClicks = []; + } + + // store in the list of callbacks + obj.__taSmartClicks.push(fn); + // the unstore function removes this function from the object's listener list for this type. + fn.__taUnstore = function () { + _d(obj.__taSmartClicks, fn); + }; + }, + _tapProfiles = { + "tap": {touches: 1, taps: 1}, + "dbltap": {touches: 1, taps: 2}, + "contextmenu": {touches: 2, taps: 1} + }, + TapHandler = function (clickThreshold, dblClickThreshold) { + return function (obj, evt, fn, children) { + // if event is contextmenu, for devices which are mouse only, we want to + // use the default bind. + if (evt == "contextmenu" && isMouseDevice) + DefaultHandler(obj, evt, fn, children); + else { + // the issue here is that this down handler gets registered only for the + // child nodes in the first registration. in fact it should be registered with + // no child selector and then on down we should cycle through the registered + // functions to see if one of them matches. on mouseup we should execute ALL of + // the functions whose children are either null or match the element. + if (obj.__taTapHandler == null) { + var tt = obj.__taTapHandler = { + tap: [], + dbltap: [], + contextmenu: [], + down: false, + taps: 0, + downSelectors: [] + }; + var down = function (e) { + var target = _t(e), pathInfo = _pi(e, target, obj, children != null), finished = false; + for (var p = 0; p < pathInfo.end; p++) { + if (finished) return; + target = pathInfo.path[p]; + for (var i = 0; i < tt.downSelectors.length; i++) { + if (tt.downSelectors[i] == null || matchesSelector(target, tt.downSelectors[i], obj)) { + tt.down = true; + setTimeout(clearSingle, clickThreshold); + setTimeout(clearDouble, dblClickThreshold); + finished = true; + break; // we only need one match on mousedown + } + } + } + }, + up = function (e) { + if (tt.down) { + var target = _t(e), currentTarget, pathInfo; + tt.taps++; + var tc = _touchCount(e); + for (var eventId in _tapProfiles) { + if (_tapProfiles.hasOwnProperty(eventId)) { + var p = _tapProfiles[eventId]; + if (p.touches === tc && (p.taps === 1 || p.taps === tt.taps)) { + for (var i = 0; i < tt[eventId].length; i++) { + pathInfo = _pi(e, target, obj, tt[eventId][i][1] != null); + for (var pLoop = 0; pLoop < pathInfo.end; pLoop++) { + currentTarget = pathInfo.path[pLoop]; + // this is a single event registration handler. + if (tt[eventId][i][1] == null || matchesSelector(currentTarget, tt[eventId][i][1], obj)) { + tt[eventId][i][0].apply(currentTarget, [ e ]); + break; + } + } + } + } + } + } + } + }, + clearSingle = function () { + tt.down = false; + }, + clearDouble = function () { + tt.taps = 0; + }; + + DefaultHandler(obj, "mousedown", down); + DefaultHandler(obj, "mouseup", up); + } + // add this child selector (it can be null, that's fine). + obj.__taTapHandler.downSelectors.push(children); + + obj.__taTapHandler[evt].push([fn, children]); + // the unstore function removes this function from the object's listener list for this type. + fn.__taUnstore = function () { + _d(obj.__taTapHandler[evt], fn); + }; + } + }; + }, + meeHelper = function (type, evt, obj, target) { + for (var i in obj.__tamee[type]) { + if (obj.__tamee[type].hasOwnProperty(i)) { + obj.__tamee[type][i].apply(target, [ evt ]); + } + } + }, + MouseEnterExitHandler = function () { + var activeElements = []; + return function (obj, evt, fn, children) { + if (!obj.__tamee) { + // __tamee holds a flag saying whether the mouse is currently "in" the element, and a list of + // both mouseenter and mouseexit functions. + obj.__tamee = { over: false, mouseenter: [], mouseexit: [] }; + // register over and out functions + var over = function (e) { + var t = _t(e); + if ((children == null && (t == obj && !obj.__tamee.over)) || (matchesSelector(t, children, obj) && (t.__tamee == null || !t.__tamee.over))) { + meeHelper("mouseenter", e, obj, t); + t.__tamee = t.__tamee || {}; + t.__tamee.over = true; + activeElements.push(t); + } + }, + out = function (e) { + var t = _t(e); + // is the current target one of the activeElements? and is the + // related target NOT a descendant of it? + for (var i = 0; i < activeElements.length; i++) { + if (t == activeElements[i] && !matchesSelector((e.relatedTarget || e.toElement), "*", t)) { + t.__tamee.over = false; + activeElements.splice(i, 1); + meeHelper("mouseexit", e, obj, t); + } + } + }; + + _bind(obj, "mouseover", _curryChildFilter(children, obj, over, "mouseover"), over); + _bind(obj, "mouseout", _curryChildFilter(children, obj, out, "mouseout"), out); + } + + fn.__taUnstore = function () { + delete obj.__tamee[evt][fn.__tauid]; + }; + + _store(obj, evt, fn); + obj.__tamee[evt][fn.__tauid] = fn; + }; + }, + isTouchDevice = "ontouchstart" in document.documentElement || navigator.maxTouchPoints, + isMouseDevice = "onmousedown" in document.documentElement, + touchMap = { "mousedown": "touchstart", "mouseup": "touchend", "mousemove": "touchmove" }, + touchstart = "touchstart", touchend = "touchend", touchmove = "touchmove", + iev = (function () { + var rv = -1; + if (navigator.appName == 'Microsoft Internet Explorer') { + var ua = navigator.userAgent, + re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); + if (re.exec(ua) != null) + rv = parseFloat(RegExp.$1); + } + return rv; + })(), + isIELT9 = iev > -1 && iev < 9, + _genLoc = function (e, prefix) { + if (e == null) return [ 0, 0 ]; + var ts = _touches(e), t = _getTouch(ts, 0); + return [t[prefix + "X"], t[prefix + "Y"]]; + }, + _pageLocation = function (e) { + if (e == null) return [ 0, 0 ]; + if (isIELT9) { + return [ e.clientX + document.documentElement.scrollLeft, e.clientY + document.documentElement.scrollTop ]; + } + else { + return _genLoc(e, "page"); + } + }, + _screenLocation = function (e) { + return _genLoc(e, "screen"); + }, + _clientLocation = function (e) { + return _genLoc(e, "client"); + }, + _getTouch = function (touches, idx) { + return touches.item ? touches.item(idx) : touches[idx]; + }, + _touches = function (e) { + return e.touches && e.touches.length > 0 ? e.touches : + e.changedTouches && e.changedTouches.length > 0 ? e.changedTouches : + e.targetTouches && e.targetTouches.length > 0 ? e.targetTouches : + [ e ]; + }, + _touchCount = function (e) { + return _touches(e).length; + }, + //http://www.quirksmode.org/blog/archives/2005/10/_and_the_winner_1.html + _bind = function (obj, type, fn, originalFn) { + _store(obj, type, fn); + originalFn.__tauid = fn.__tauid; + if (obj.addEventListener) + obj.addEventListener(type, fn, false); + else if (obj.attachEvent) { + var key = type + fn.__tauid; + obj["e" + key] = fn; + // TODO look at replacing with .call(..) + obj[key] = function () { + obj["e" + key] && obj["e" + key](window.event); + }; + obj.attachEvent("on" + type, obj[key]); + } + }, + _unbind = function (obj, type, fn) { + if (fn == null) return; + _each(obj, function () { + var _el = _gel(this); + _unstore(_el, type, fn); + // it has been bound if there is a tauid. otherwise it was not bound and we can ignore it. + if (fn.__tauid != null) { + if (_el.removeEventListener) { + _el.removeEventListener(type, fn, false); + if (isTouchDevice && touchMap[type]) _el.removeEventListener(touchMap[type], fn, false); + } + else if (this.detachEvent) { + var key = type + fn.__tauid; + _el[key] && _el.detachEvent("on" + type, _el[key]); + _el[key] = null; + _el["e" + key] = null; + } + } + + // if a touch event was also registered, deregister now. + if (fn.__taTouchProxy) { + _unbind(obj, fn.__taTouchProxy[1], fn.__taTouchProxy[0]); + } + }); + }, + _each = function (obj, fn) { + if (obj == null) return; + // if a list (or list-like), use it. if a string, get a list + // by running the string through querySelectorAll. else, assume + // it's an Element. + // obj.top is "unknown" in IE8. + obj = (typeof Window !== "undefined" && (typeof obj.top !== "unknown" && obj == obj.top)) ? [ obj ] : + (typeof obj !== "string") && (obj.tagName == null && obj.length != null) ? obj : + typeof obj === "string" ? document.querySelectorAll(obj) + : [ obj ]; + + for (var i = 0; i < obj.length; i++) + fn.apply(obj[i]); + }, + _uuid = function () { + return ('xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { + var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8); + return v.toString(16); + })); + }; + + /** + * Mottle offers support for abstracting out the differences + * between touch and mouse devices, plus "smart click" functionality + * (don't fire click if the mouse has moved between mousedown and mouseup), + * and synthesized click/tap events. + * @class Mottle + * @constructor + * @param {Object} params Constructor params + * @param {Number} [params.clickThreshold=250] Threshold, in milliseconds beyond which a touchstart followed by a touchend is not considered to be a click. + * @param {Number} [params.dblClickThreshold=450] Threshold, in milliseconds beyond which two successive tap events are not considered to be a click. + * @param {Boolean} [params.smartClicks=false] If true, won't fire click events if the mouse has moved between mousedown and mouseup. Note that this functionality + * requires that Mottle consume the mousedown event, and so may not be viable in all use cases. + */ + root.Mottle = function (params) { + params = params || {}; + var clickThreshold = params.clickThreshold || 250, + dblClickThreshold = params.dblClickThreshold || 450, + mouseEnterExitHandler = new MouseEnterExitHandler(), + tapHandler = new TapHandler(clickThreshold, dblClickThreshold), + _smartClicks = params.smartClicks, + _doBind = function (obj, evt, fn, children) { + if (fn == null) return; + _each(obj, function () { + var _el = _gel(this); + if (_smartClicks && evt === "click") + SmartClickHandler(_el, evt, fn, children); + else if (evt === "tap" || evt === "dbltap" || evt === "contextmenu") { + tapHandler(_el, evt, fn, children); + } + else if (evt === "mouseenter" || evt == "mouseexit") + mouseEnterExitHandler(_el, evt, fn, children); + else + DefaultHandler(_el, evt, fn, children); + }); + }; + + /** + * Removes an element from the DOM, and deregisters all event handlers for it. You should use this + * to ensure you don't leak memory. + * @method remove + * @param {String|Element} el Element, or id of the element, to remove. + * @return {Mottle} The current Mottle instance; you can chain this method. + */ + this.remove = function (el) { + _each(el, function () { + var _el = _gel(this); + if (_el.__ta) { + for (var evt in _el.__ta) { + if (_el.__ta.hasOwnProperty(evt)) { + for (var h in _el.__ta[evt]) { + if (_el.__ta[evt].hasOwnProperty(h)) + _unbind(_el, evt, _el.__ta[evt][h]); + } + } + } + } + _el.parentNode && _el.parentNode.removeChild(_el); + }); + return this; + }; + + /** + * Register an event handler, optionally as a delegate for some set of descendant elements. Note + * that this method takes either 3 or 4 arguments - if you supply 3 arguments it is assumed you have + * omitted the `children` parameter, and that the event handler should be bound directly to the given element. + * @method on + * @param {Element[]|Element|String} el Either an Element, or a CSS spec for a list of elements, or an array of Elements. + * @param {String} [children] Comma-delimited list of selectors identifying allowed children. + * @param {String} event Event ID. + * @param {Function} fn Event handler function. + * @return {Mottle} The current Mottle instance; you can chain this method. + */ + this.on = function (el, event, children, fn) { + var _el = arguments[0], + _c = arguments.length == 4 ? arguments[2] : null, + _e = arguments[1], + _f = arguments[arguments.length - 1]; + + _doBind(_el, _e, _f, _c); + return this; + }; + + /** + * Cancel delegate event handling for the given function. Note that unlike with 'on' you do not supply + * a list of child selectors here: it removes event delegation from all of the child selectors for which the + * given function was registered (if any). + * @method off + * @param {Element[]|Element|String} el Element - or ID of element - from which to remove event listener. + * @param {String} event Event ID. + * @param {Function} fn Event handler function. + * @return {Mottle} The current Mottle instance; you can chain this method. + */ + this.off = function (el, event, fn) { + _unbind(el, event, fn); + return this; + }; + + /** + * Triggers some event for a given element. + * @method trigger + * @param {Element} el Element for which to trigger the event. + * @param {String} event Event ID. + * @param {Event} originalEvent The original event. Should be optional of course, but currently is not, due + * to the jsPlumb use case that caused this method to be added. + * @param {Object} [payload] Optional object to set as `payload` on the generated event; useful for message passing. + * @return {Mottle} The current Mottle instance; you can chain this method. + */ + this.trigger = function (el, event, originalEvent, payload) { + // MouseEvent undefined in old IE; that's how we know it's a mouse event. A fine Microsoft paradox. + var originalIsMouse = isMouseDevice && (typeof MouseEvent === "undefined" || originalEvent == null || originalEvent.constructor === MouseEvent); + + var eventToBind = (isTouchDevice && !isMouseDevice && touchMap[event]) ? touchMap[event] : event, + bindingAMouseEvent = !(isTouchDevice && !isMouseDevice && touchMap[event]); + + var pl = _pageLocation(originalEvent), sl = _screenLocation(originalEvent), cl = _clientLocation(originalEvent); + _each(el, function () { + var _el = _gel(this), evt; + originalEvent = originalEvent || { + screenX: sl[0], + screenY: sl[1], + clientX: cl[0], + clientY: cl[1] + }; + + var _decorate = function (_evt) { + if (payload) _evt.payload = payload; + }; + + var eventGenerators = { + "TouchEvent": function (evt) { + + var touchList = _touchAndList(window, _el, 0, pl[0], pl[1], sl[0], sl[1], cl[0], cl[1]), + init = evt.initTouchEvent || evt.initEvent; + + init(eventToBind, true, true, window, null, sl[0], sl[1], + cl[0], cl[1], false, false, false, false, + touchList, touchList, touchList, 1, 0); + }, + "MouseEvents": function (evt) { + evt.initMouseEvent(eventToBind, true, true, window, 0, + sl[0], sl[1], + cl[0], cl[1], + false, false, false, false, 1, _el); + } + }; + + if (document.createEvent) { + + var ite = !bindingAMouseEvent && !originalIsMouse && (isTouchDevice && touchMap[event]), + evtName = ite ? "TouchEvent" : "MouseEvents"; + + evt = document.createEvent(evtName); + eventGenerators[evtName](evt); + _decorate(evt); + _el.dispatchEvent(evt); + } + else if (document.createEventObject) { + evt = document.createEventObject(); + evt.eventType = evt.eventName = eventToBind; + evt.screenX = sl[0]; + evt.screenY = sl[1]; + evt.clientX = cl[0]; + evt.clientY = cl[1]; + _decorate(evt); + _el.fireEvent('on' + eventToBind, evt); + } + }); + return this; + } + }; + + /** + * Static method to assist in 'consuming' an element: uses `stopPropagation` where available, or sets + * `e.returnValue=false` where it is not. + * @method Mottle.consume + * @param {Event} e Event to consume + * @param {Boolean} [doNotPreventDefault=false] If true, does not call `preventDefault()` on the event. + */ + root.Mottle.consume = function (e, doNotPreventDefault) { + if (e.stopPropagation) + e.stopPropagation(); + else + e.returnValue = false; + + if (!doNotPreventDefault && e.preventDefault) + e.preventDefault(); + }; + + /** + * Gets the page location corresponding to the given event. For touch events this means get the page location of the first touch. + * @method Mottle.pageLocation + * @param {Event} e Event to get page location for. + * @return {Number[]} [left, top] for the given event. + */ + root.Mottle.pageLocation = _pageLocation; + + /** + * Forces touch events to be turned "on". Useful for testing: even if you don't have a touch device, you can still + * trigger a touch event when this is switched on and it will be captured and acted on. + * @method setForceTouchEvents + * @param {Boolean} value If true, force touch events to be on. + */ + root.Mottle.setForceTouchEvents = function (value) { + isTouchDevice = value; + }; + + /** + * Forces mouse events to be turned "on". Useful for testing: even if you don't have a mouse, you can still + * trigger a mouse event when this is switched on and it will be captured and acted on. + * @method setForceMouseEvents + * @param {Boolean} value If true, force mouse events to be on. + */ + root.Mottle.setForceMouseEvents = function (value) { + isMouseDevice = value; + }; + + root.Mottle.version = "0.8.0"; + + if (typeof exports !== "undefined") { + exports.Mottle = root.Mottle; + } + +}).call(typeof window === "undefined" ? this : window); + +/** + drag/drop functionality for use with jsPlumb but with + no knowledge of jsPlumb. supports multiple scopes (separated by whitespace), dragging + multiple elements, constrain to parent, drop filters, drag start filters, custom + css classes. + + a lot of the functionality of this script is expected to be plugged in: + + addClass + removeClass + + addEvent + removeEvent + + getPosition + setPosition + getSize + + indexOf + intersects + + the name came from here: + + http://mrsharpoblunto.github.io/foswig.js/ + + copyright 2016 jsPlumb + */ + +;(function() { + + "use strict"; + var root = this; + + var _suggest = function(list, item, head) { + if (list.indexOf(item) === -1) { + head ? list.unshift(item) : list.push(item); + return true; + } + return false; + }; + + var _vanquish = function(list, item) { + var idx = list.indexOf(item); + if (idx !== -1) list.splice(idx, 1); + }; + + var _difference = function(l1, l2) { + var d = []; + for (var i = 0; i < l1.length; i++) { + if (l2.indexOf(l1[i]) === -1) + d.push(l1[i]); + } + return d; + }; + + var _isString = function(f) { + return f == null ? false : (typeof f === "string" || f.constructor === String); + }; + + var getOffsetRect = function (elem) { + // (1) + var box = elem.getBoundingClientRect(), + body = document.body, + docElem = document.documentElement, + // (2) + scrollTop = window.pageYOffset || docElem.scrollTop || body.scrollTop, + scrollLeft = window.pageXOffset || docElem.scrollLeft || body.scrollLeft, + // (3) + clientTop = docElem.clientTop || body.clientTop || 0, + clientLeft = docElem.clientLeft || body.clientLeft || 0, + // (4) + top = box.top + scrollTop - clientTop, + left = box.left + scrollLeft - clientLeft; + + return { top: Math.round(top), left: Math.round(left) }; + }; + + var matchesSelector = function(el, selector, ctx) { + ctx = ctx || el.parentNode; + var possibles = ctx.querySelectorAll(selector); + for (var i = 0; i < possibles.length; i++) { + if (possibles[i] === el) + return true; + } + return false; + }; + + var findDelegateElement = function(parentElement, childElement, selector) { + if (matchesSelector(childElement, selector, parentElement)) { + return childElement; + } else { + var currentParent = childElement.parentNode; + while (currentParent != null && currentParent !== parentElement) { + if (matchesSelector(currentParent, selector, parentElement)) { + return currentParent; + } else { + currentParent = currentParent.parentNode; + } + } + } + }; + + /** + * Finds all elements matching the given selector, for the given parent. In order to support "scoped root" selectors, + * ie. things like "> .someClass", that is .someClass elements that are direct children of `parentElement`, we have to + * jump through a small hoop here: when a delegate draggable is registered, we write a `katavorio-draggable` attribute + * on the element on which the draggable is registered. Then when this method runs, we grab the value of that attribute and + * prepend it as part of the selector we're looking for. So "> .someClass" ends up being written as + * "[katavorio-draggable='...' > .someClass]", which works with querySelectorAll. + * + * @param availableSelectors + * @param parentElement + * @param childElement + * @returns {*} + */ + var findMatchingSelector = function(availableSelectors, parentElement, childElement) { + var el = null; + var draggableId = parentElement.getAttribute("katavorio-draggable"), + prefix = draggableId != null ? "[katavorio-draggable='" + draggableId + "'] " : ""; + + for (var i = 0; i < availableSelectors.length; i++) { + el = findDelegateElement(parentElement, childElement, prefix + availableSelectors[i].selector); + if (el != null) { + if (availableSelectors[i].filter) { + var matches = matchesSelector(childElement, availableSelectors[i].filter, el), + exclude = availableSelectors[i].filterExclude === true; + + if ( (exclude && !matches) || matches) { + return null; + } + + } + return [ availableSelectors[i], el ]; + } + } + return null; + }; + + var iev = (function() { + var rv = -1; + if (navigator.appName === 'Microsoft Internet Explorer') { + var ua = navigator.userAgent, + re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); + if (re.exec(ua) != null) + rv = parseFloat(RegExp.$1); + } + return rv; + })(), + DEFAULT_GRID_X = 10, + DEFAULT_GRID_Y = 10, + isIELT9 = iev > -1 && iev < 9, + isIE9 = iev === 9, + _pl = function(e) { + if (isIELT9) { + return [ e.clientX + document.documentElement.scrollLeft, e.clientY + document.documentElement.scrollTop ]; + } + else { + var ts = _touches(e), t = _getTouch(ts, 0); + // for IE9 pageX might be null if the event was synthesized. We try for pageX/pageY first, + // falling back to clientX/clientY if necessary. In every other browser we want to use pageX/pageY. + return isIE9 ? [t.pageX || t.clientX, t.pageY || t.clientY] : [t.pageX, t.pageY]; + } + }, + _getTouch = function(touches, idx) { return touches.item ? touches.item(idx) : touches[idx]; }, + _touches = function(e) { + return e.touches && e.touches.length > 0 ? e.touches : + e.changedTouches && e.changedTouches.length > 0 ? e.changedTouches : + e.targetTouches && e.targetTouches.length > 0 ? e.targetTouches : + [ e ]; + }, + _classes = { + delegatedDraggable:"katavorio-delegated-draggable", // elements that are the delegated drag handler for a bunch of other elements + draggable:"katavorio-draggable", // draggable elements + droppable:"katavorio-droppable", // droppable elements + drag : "katavorio-drag", // elements currently being dragged + selected:"katavorio-drag-selected", // elements in current drag selection + active : "katavorio-drag-active", // droppables that are targets of a currently dragged element + hover : "katavorio-drag-hover", // droppables over which a matching drag element is hovering + noSelect : "katavorio-drag-no-select", // added to the body to provide a hook to suppress text selection + ghostProxy:"katavorio-ghost-proxy", // added to a ghost proxy element in use when a drag has exited the bounds of its parent. + clonedDrag:"katavorio-clone-drag" // added to a node that is a clone of an element created at the start of a drag + }, + _defaultScope = "katavorio-drag-scope", + _events = [ "stop", "start", "drag", "drop", "over", "out", "beforeStart" ], + _devNull = function() {}, + _true = function() { return true; }, + _foreach = function(l, fn, from) { + for (var i = 0; i < l.length; i++) { + if (l[i] != from) + fn(l[i]); + } + }, + _setDroppablesActive = function(dd, val, andHover, drag) { + _foreach(dd, function(e) { + e.setActive(val); + if (val) e.updatePosition(); + if (andHover) e.setHover(drag, val); + }); + }, + _each = function(obj, fn) { + if (obj == null) return; + obj = !_isString(obj) && (obj.tagName == null && obj.length != null) ? obj : [ obj ]; + for (var i = 0; i < obj.length; i++) + fn.apply(obj[i], [ obj[i] ]); + }, + _consume = function(e) { + if (e.stopPropagation) { + e.stopPropagation(); + e.preventDefault(); + } + else { + e.returnValue = false; + } + }, + _defaultInputFilterSelector = "input,textarea,select,button,option", + // + // filters out events on all input elements, like textarea, checkbox, input, select. + _inputFilter = function(e, el, _katavorio) { + var t = e.srcElement || e.target; + return !matchesSelector(t, _katavorio.getInputFilterSelector(), el); + }; + + var Super = function(el, params, css, scope) { + this.params = params || {}; + this.el = el; + this.params.addClass(this.el, this._class); + this.uuid = _uuid(); + var enabled = true; + this.setEnabled = function(e) { enabled = e; }; + this.isEnabled = function() { return enabled; }; + this.toggleEnabled = function() { enabled = !enabled; }; + this.setScope = function(scopes) { + this.scopes = scopes ? scopes.split(/\s+/) : [ scope ]; + }; + this.addScope = function(scopes) { + var m = {}; + _each(this.scopes, function(s) { m[s] = true;}); + _each(scopes ? scopes.split(/\s+/) : [], function(s) { m[s] = true;}); + this.scopes = []; + for (var i in m) this.scopes.push(i); + }; + this.removeScope = function(scopes) { + var m = {}; + _each(this.scopes, function(s) { m[s] = true;}); + _each(scopes ? scopes.split(/\s+/) : [], function(s) { delete m[s];}); + this.scopes = []; + for (var i in m) this.scopes.push(i); + }; + this.toggleScope = function(scopes) { + var m = {}; + _each(this.scopes, function(s) { m[s] = true;}); + _each(scopes ? scopes.split(/\s+/) : [], function(s) { + if (m[s]) delete m[s]; + else m[s] = true; + }); + this.scopes = []; + for (var i in m) this.scopes.push(i); + }; + this.setScope(params.scope); + this.k = params.katavorio; + return params.katavorio; + }; + + var TRUE = function() { return true; }; + var FALSE = function() { return false; }; + + var Drag = function(el, params, css, scope) { + this._class = css.draggable; + var k = Super.apply(this, arguments); + this.rightButtonCanDrag = this.params.rightButtonCanDrag; + var downAt = [0,0], posAtDown = null, pagePosAtDown = null, pageDelta = [0,0], moving = false, initialScroll = [0,0], + consumeStartEvent = this.params.consumeStartEvent !== false, + dragEl = this.el, + clone = this.params.clone, + scroll = this.params.scroll, + _multipleDrop = params.multipleDrop !== false, + isConstrained = false, + useGhostProxy = params.ghostProxy === true ? TRUE : params.ghostProxy && typeof params.ghostProxy === "function" ? params.ghostProxy : FALSE, + ghostProxy = function(el) { return el.cloneNode(true); }, + elementToDrag = null, + availableSelectors = [], + activeSelectorParams = null, // which, if any, selector config is currently active. + ghostProxyParent = params.ghostProxyParent, + currentParentPosition, + ghostParentPosition, + ghostDx, + ghostDy; + + // if an initial selector was provided, push the entire set of params as a selector config. + if (params.selector) { + var draggableId = el.getAttribute("katavorio-draggable"); + if (draggableId == null) { + draggableId = "" + new Date().getTime(); + el.setAttribute("katavorio-draggable", draggableId); + } + + availableSelectors.push(params); + } + + var snapThreshold = params.snapThreshold, + _snap = function(pos, gridX, gridY, thresholdX, thresholdY) { + var _dx = Math.floor(pos[0] / gridX), + _dxl = gridX * _dx, + _dxt = _dxl + gridX, + _x = Math.abs(pos[0] - _dxl) <= thresholdX ? _dxl : Math.abs(_dxt - pos[0]) <= thresholdX ? _dxt : pos[0]; + + var _dy = Math.floor(pos[1] / gridY), + _dyl = gridY * _dy, + _dyt = _dyl + gridY, + _y = Math.abs(pos[1] - _dyl) <= thresholdY ? _dyl : Math.abs(_dyt - pos[1]) <= thresholdY ? _dyt : pos[1]; + + return [ _x, _y]; + }; + + this.posses = []; + this.posseRoles = {}; + + this.toGrid = function(pos) { + if (this.params.grid == null) { + return pos; + } + else { + var tx = this.params.grid ? this.params.grid[0] / 2 : snapThreshold ? snapThreshold : DEFAULT_GRID_X / 2, + ty = this.params.grid ? this.params.grid[1] / 2 : snapThreshold ? snapThreshold : DEFAULT_GRID_Y / 2; + + return _snap(pos, this.params.grid[0], this.params.grid[1], tx, ty); + } + }; + + this.snap = function(x, y) { + if (dragEl == null) return; + x = x || (this.params.grid ? this.params.grid[0] : DEFAULT_GRID_X); + y = y || (this.params.grid ? this.params.grid[1] : DEFAULT_GRID_Y); + var p = this.params.getPosition(dragEl), + tx = this.params.grid ? this.params.grid[0] / 2 : snapThreshold, + ty = this.params.grid ? this.params.grid[1] / 2 : snapThreshold, + snapped = _snap(p, x, y, tx, ty); + + this.params.setPosition(dragEl, snapped); + return snapped; + }; + + this.setUseGhostProxy = function(val) { + useGhostProxy = val ? TRUE : FALSE; + }; + + var constrain; + var negativeFilter = function(pos) { + return (params.allowNegative === false) ? [ Math.max (0, pos[0]), Math.max(0, pos[1]) ] : pos; + }; + + var _setConstrain = function(value) { + constrain = typeof value === "function" ? value : value ? function(pos, dragEl, _constrainRect, _size) { + return negativeFilter([ + Math.max(0, Math.min(_constrainRect.w - _size[0], pos[0])), + Math.max(0, Math.min(_constrainRect.h - _size[1], pos[1])) + ]); + }.bind(this) : function(pos) { return negativeFilter(pos); }; + }.bind(this); + + _setConstrain(typeof this.params.constrain === "function" ? this.params.constrain : (this.params.constrain || this.params.containment)); + + + /** + * Sets whether or not the Drag is constrained. A value of 'true' means constrain to parent bounds; a function + * will be executed and returns true if the position is allowed. + * @param value + */ + this.setConstrain = function(value) { + _setConstrain(value); + }; + + var revertFunction; + /** + * Sets a function to call on drag stop, which, if it returns true, indicates that the given element should + * revert to its position before the previous drag. + * @param fn + */ + this.setRevert = function(fn) { + revertFunction = fn; + }; + + if (this.params.revert) { + revertFunction = this.params.revert; + } + + var _assignId = function(obj) { + if (typeof obj === "function") { + obj._katavorioId = _uuid(); + return obj._katavorioId; + } else { + return obj; + } + }, + // a map of { spec -> [ fn, exclusion ] } entries. + _filters = {}, + _testFilter = function(e) { + for (var key in _filters) { + var f = _filters[key]; + var rv = f[0](e); + if (f[1]) rv = !rv; + if (!rv) return false; + } + return true; + }, + _setFilter = this.setFilter = function(f, _exclude) { + if (f) { + var key = _assignId(f); + _filters[key] = [ + function(e) { + var t = e.srcElement || e.target, m; + if (_isString(f)) { + m = matchesSelector(t, f, el); + } + else if (typeof f === "function") { + m = f(e, el); + } + return m; + }, + _exclude !== false + ]; + + } + }, + _addFilter = this.addFilter = _setFilter, + _removeFilter = this.removeFilter = function(f) { + var key = typeof f === "function" ? f._katavorioId : f; + delete _filters[key]; + }; + + this.clearAllFilters = function() { + _filters = {}; + }; + + this.canDrag = this.params.canDrag || _true; + + var constrainRect, + matchingDroppables = [], + intersectingDroppables = []; + + this.addSelector = function(params) { + if (params.selector) { + availableSelectors.push(params); + } + }; + + this.downListener = function(e) { + if (e.defaultPrevented) { return; } + var isNotRightClick = this.rightButtonCanDrag || (e.which !== 3 && e.button !== 2); + if (isNotRightClick && this.isEnabled() && this.canDrag()) { + + var _f = _testFilter(e) && _inputFilter(e, this.el, this.k); + if (_f) { + + activeSelectorParams = null; + elementToDrag = null; + + // if (selector) { + // elementToDrag = findDelegateElement(this.el, e.target || e.srcElement, selector); + // if(elementToDrag == null) { + // return; + // } + // } + if (availableSelectors.length > 0) { + var match = findMatchingSelector(availableSelectors, this.el, e.target || e.srcElement); + if (match != null) { + activeSelectorParams = match[0]; + elementToDrag = match[1]; + } + // elementToDrag = findDelegateElement(this.el, e.target || e.srcElement, selector); + if(elementToDrag == null) { + return; + } + } + else { + elementToDrag = this.el; + } + + if (clone) { + dragEl = elementToDrag.cloneNode(true); + this.params.addClass(dragEl, _classes.clonedDrag); + + dragEl.setAttribute("id", null); + dragEl.style.position = "absolute"; + + if (this.params.parent != null) { + var p = this.params.getPosition(this.el); + dragEl.style.left = p[0] + "px"; + dragEl.style.top = p[1] + "px"; + this.params.parent.appendChild(dragEl); + } else { + // the clone node is added to the body; getOffsetRect gives us a value + // relative to the body. + var b = getOffsetRect(elementToDrag); + dragEl.style.left = b.left + "px"; + dragEl.style.top = b.top + "px"; + + document.body.appendChild(dragEl); + } + + } else { + dragEl = elementToDrag; + } + + consumeStartEvent && _consume(e); + downAt = _pl(e); + if (dragEl && dragEl.parentNode) + { + initialScroll = [dragEl.parentNode.scrollLeft, dragEl.parentNode.scrollTop]; + } + // + this.params.bind(document, "mousemove", this.moveListener); + this.params.bind(document, "mouseup", this.upListener); + k.markSelection(this); + k.markPosses(this); + this.params.addClass(document.body, css.noSelect); + _dispatch("beforeStart", {el:this.el, pos:posAtDown, e:e, drag:this}); + } + else if (this.params.consumeFilteredEvents) { + _consume(e); + } + } + }.bind(this); + + this.moveListener = function(e) { + if (downAt) { + if (!moving) { + var _continue = _dispatch("start", {el:this.el, pos:posAtDown, e:e, drag:this}); + if (_continue !== false) { + if (!downAt) { + return; + } + this.mark(true); + moving = true; + } else { + this.abort(); + } + } + + // it is possible that the start event caused the drag to be aborted. So we check + // again that we are currently dragging. + if (downAt) { + intersectingDroppables.length = 0; + var pos = _pl(e), dx = pos[0] - downAt[0], dy = pos[1] - downAt[1], + z = this.params.ignoreZoom ? 1 : k.getZoom(); + if (dragEl && dragEl.parentNode) + { + dx += dragEl.parentNode.scrollLeft - initialScroll[0]; + dy += dragEl.parentNode.scrollTop - initialScroll[1]; + } + dx /= z; + dy /= z; + this.moveBy(dx, dy, e); + k.updateSelection(dx, dy, this); + k.updatePosses(dx, dy, this); + } + } + }.bind(this); + + this.upListener = function(e) { + if (downAt) { + downAt = null; + this.params.unbind(document, "mousemove", this.moveListener); + this.params.unbind(document, "mouseup", this.upListener); + this.params.removeClass(document.body, css.noSelect); + this.unmark(e); + k.unmarkSelection(this, e); + k.unmarkPosses(this, e); + this.stop(e); + + k.notifyPosseDragStop(this, e); + moving = false; + intersectingDroppables.length = 0; + + if (clone) { + dragEl && dragEl.parentNode && dragEl.parentNode.removeChild(dragEl); + dragEl = null; + } else { + if (revertFunction && revertFunction(dragEl, this.params.getPosition(dragEl)) === true) { + this.params.setPosition(dragEl, posAtDown); + _dispatch("revert", dragEl); + } + } + + } + }.bind(this); + + this.getFilters = function() { return _filters; }; + + this.abort = function() { + if (downAt != null) { + this.upListener(); + } + }; + + /** + * Returns the element that was last dragged. This may be some original element from the DOM, or if `clone` is + * set, then its actually a copy of some original DOM element. In some client calls to this method, it is the + * actual element that was dragged that is desired. In others, it is the original DOM element that the user + * wishes to get - in which case, pass true for `retrieveOriginalElement`. + * + * @returns {*} + */ + this.getDragElement = function(retrieveOriginalElement) { + return retrieveOriginalElement ? elementToDrag || this.el : dragEl || this.el; + }; + + var listeners = {"start":[], "drag":[], "stop":[], "over":[], "out":[], "beforeStart":[], "revert":[] }; + if (params.events.start) listeners.start.push(params.events.start); + if (params.events.beforeStart) listeners.beforeStart.push(params.events.beforeStart); + if (params.events.stop) listeners.stop.push(params.events.stop); + if (params.events.drag) listeners.drag.push(params.events.drag); + if (params.events.revert) listeners.revert.push(params.events.revert); + + this.on = function(evt, fn) { + if (listeners[evt]) listeners[evt].push(fn); + }; + + this.off = function(evt, fn) { + if (listeners[evt]) { + var l = []; + for (var i = 0; i < listeners[evt].length; i++) { + if (listeners[evt][i] !== fn) l.push(listeners[evt][i]); + } + listeners[evt] = l; + } + }; + + var _dispatch = function(evt, value) { + var result = null; + if (activeSelectorParams && activeSelectorParams[evt]) { + result = activeSelectorParams[evt](value); + } else if (listeners[evt]) { + for (var i = 0; i < listeners[evt].length; i++) { + try { + var v = listeners[evt][i](value); + if (v != null) { + result = v; + } + } + catch (e) { } + } + } + return result; + }; + + this.notifyStart = function(e) { + _dispatch("start", {el:this.el, pos:this.params.getPosition(dragEl), e:e, drag:this}); + }; + + this.stop = function(e, force) { + if (force || moving) { + var positions = [], + sel = k.getSelection(), + dPos = this.params.getPosition(dragEl); + + if (sel.length > 0) { + for (var i = 0; i < sel.length; i++) { + var p = this.params.getPosition(sel[i].el); + positions.push([ sel[i].el, { left: p[0], top: p[1] }, sel[i] ]); + } + } + else { + positions.push([ dragEl, {left:dPos[0], top:dPos[1]}, this ]); + } + + _dispatch("stop", { + el: dragEl, + pos: ghostProxyOffsets || dPos, + finalPos:dPos, + e: e, + drag: this, + selection:positions + }); + } + }; + + this.mark = function(andNotify) { + posAtDown = this.params.getPosition(dragEl); + pagePosAtDown = this.params.getPosition(dragEl, true); + pageDelta = [pagePosAtDown[0] - posAtDown[0], pagePosAtDown[1] - posAtDown[1]]; + this.size = this.params.getSize(dragEl); + matchingDroppables = k.getMatchingDroppables(this); + _setDroppablesActive(matchingDroppables, true, false, this); + this.params.addClass(dragEl, this.params.dragClass || css.drag); + + var cs; + if (this.params.getConstrainingRectangle) { + cs = this.params.getConstrainingRectangle(dragEl) + } else { + cs = this.params.getSize(dragEl.parentNode); + } + constrainRect = {w: cs[0], h: cs[1]}; + + ghostDx = 0; + ghostDy = 0; + + if (andNotify) { + k.notifySelectionDragStart(this); + } + }; + var ghostProxyOffsets; + this.unmark = function(e, doNotCheckDroppables) { + _setDroppablesActive(matchingDroppables, false, true, this); + + if (isConstrained && useGhostProxy(elementToDrag, dragEl)) { + ghostProxyOffsets = [dragEl.offsetLeft - ghostDx, dragEl.offsetTop - ghostDy]; + dragEl.parentNode.removeChild(dragEl); + dragEl = elementToDrag; + } + else { + ghostProxyOffsets = null; + } + + this.params.removeClass(dragEl, this.params.dragClass || css.drag); + matchingDroppables.length = 0; + isConstrained = false; + if (!doNotCheckDroppables) { + if (intersectingDroppables.length > 0 && ghostProxyOffsets) { + params.setPosition(elementToDrag, ghostProxyOffsets); + } + intersectingDroppables.sort(_rankSort); + for (var i = 0; i < intersectingDroppables.length; i++) { + var retVal = intersectingDroppables[i].drop(this, e); + if (retVal === true) break; + } + } + }; + this.moveBy = function(dx, dy, e) { + intersectingDroppables.length = 0; + + var desiredLoc = this.toGrid([posAtDown[0] + dx, posAtDown[1] + dy]), + cPos = constrain(desiredLoc, dragEl, constrainRect, this.size); + + // if we should use a ghost proxy... + if (useGhostProxy(this.el, dragEl)) { + // and the element has been dragged outside of its parent bounds + if (desiredLoc[0] !== cPos[0] || desiredLoc[1] !== cPos[1]) { + + // ...if ghost proxy not yet created + if (!isConstrained) { + // create it + var gp = ghostProxy(elementToDrag); + params.addClass(gp, _classes.ghostProxy); + + if (ghostProxyParent) { + ghostProxyParent.appendChild(gp); + // find offset between drag el's parent the ghost parent + currentParentPosition = params.getPosition(elementToDrag.parentNode, true); + ghostParentPosition = params.getPosition(params.ghostProxyParent, true); + ghostDx = currentParentPosition[0] - ghostParentPosition[0]; + ghostDy = currentParentPosition[1] - ghostParentPosition[1]; + + } else { + elementToDrag.parentNode.appendChild(gp); + } + + // the ghost proxy is the drag element + dragEl = gp; + // set this flag so we dont recreate the ghost proxy + isConstrained = true; + } + // now the drag position can be the desired position, as the ghost proxy can support it. + cPos = desiredLoc; + } + else { + // if the element is not outside of its parent bounds, and ghost proxy is in place, + if (isConstrained) { + // remove the ghost proxy from the dom + dragEl.parentNode.removeChild(dragEl); + // reset the drag element to the original element + dragEl = elementToDrag; + // clear this flag. + isConstrained = false; + currentParentPosition = null; + ghostParentPosition = null; + ghostDx = 0; + ghostDy = 0; + } + } + } + + var rect = { x:cPos[0], y:cPos[1], w:this.size[0], h:this.size[1]}, + pageRect = { x:rect.x + pageDelta[0], y:rect.y + pageDelta[1], w:rect.w, h:rect.h}, + focusDropElement = null; + + this.params.setPosition(dragEl, [cPos[0] + ghostDx, cPos[1] + ghostDy]); + + for (var i = 0; i < matchingDroppables.length; i++) { + var r2 = { x:matchingDroppables[i].pagePosition[0], y:matchingDroppables[i].pagePosition[1], w:matchingDroppables[i].size[0], h:matchingDroppables[i].size[1]}; + if (this.params.intersects(pageRect, r2) && (_multipleDrop || focusDropElement == null || focusDropElement === matchingDroppables[i].el) && matchingDroppables[i].canDrop(this)) { + if (!focusDropElement) focusDropElement = matchingDroppables[i].el; + intersectingDroppables.push(matchingDroppables[i]); + matchingDroppables[i].setHover(this, true, e); + } + else if (matchingDroppables[i].isHover()) { + matchingDroppables[i].setHover(this, false, e); + } + } + + _dispatch("drag", {el:this.el, pos:cPos, e:e, drag:this}); + + /* test to see if the parent needs to be scrolled (future) + if (scroll) { + var pnsl = dragEl.parentNode.scrollLeft, pnst = dragEl.parentNode.scrollTop; + console.log("scroll!", pnsl, pnst); + }*/ + }; + this.destroy = function() { + this.params.unbind(this.el, "mousedown", this.downListener); + this.params.unbind(document, "mousemove", this.moveListener); + this.params.unbind(document, "mouseup", this.upListener); + this.downListener = null; + this.upListener = null; + this.moveListener = null; + }; + + // init:register mousedown, and perhaps set a filter + this.params.bind(this.el, "mousedown", this.downListener); + + // if handle provided, use that. otherwise, try to set a filter. + // note that a `handle` selector always results in filterExclude being set to false, ie. + // the selector defines the handle element(s). + if (this.params.handle) + _setFilter(this.params.handle, false); + else + _setFilter(this.params.filter, this.params.filterExclude); + }; + + var Drop = function(el, params, css, scope) { + this._class = css.droppable; + this.params = params || {}; + this.rank = params.rank || 0; + this._activeClass = this.params.activeClass || css.active; + this._hoverClass = this.params.hoverClass || css.hover; + Super.apply(this, arguments); + var hover = false; + this.allowLoopback = this.params.allowLoopback !== false; + + this.setActive = function(val) { + this.params[val ? "addClass" : "removeClass"](this.el, this._activeClass); + }; + + this.updatePosition = function() { + this.position = this.params.getPosition(this.el); + this.pagePosition = this.params.getPosition(this.el, true); + this.size = this.params.getSize(this.el); + }; + + this.canDrop = this.params.canDrop || function(drag) { + return true; + }; + + this.isHover = function() { return hover; }; + + this.setHover = function(drag, val, e) { + // if turning off hover but this was not the drag that caused the hover, ignore. + if (val || this.el._katavorioDragHover == null || this.el._katavorioDragHover === drag.el._katavorio) { + this.params[val ? "addClass" : "removeClass"](this.el, this._hoverClass); + this.el._katavorioDragHover = val ? drag.el._katavorio : null; + if (hover !== val) { + this.params.events[val ? "over" : "out"]({el: this.el, e: e, drag: drag, drop: this}); + } + hover = val; + } + }; + + /** + * A drop event. `drag` is the corresponding Drag object, which may be a Drag for some specific element, or it + * may be a Drag on some element acting as a delegate for elements contained within it. + * @param drag + * @param event + * @returns {*} + */ + this.drop = function(drag, event) { + return this.params.events["drop"]({ drag:drag, e:event, drop:this }); + }; + + this.destroy = function() { + this._class = null; + this._activeClass = null; + this._hoverClass = null; + hover = null; + }; + }; + + var _uuid = function() { + return ('xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { + var r = Math.random()*16|0, v = c === 'x' ? r : (r&0x3|0x8); + return v.toString(16); + })); + }; + + var _rankSort = function(a,b) { + return a.rank < b.rank ? 1 : a.rank > b.rank ? -1 : 0; + }; + + var _gel = function(el) { + if (el == null) return null; + el = (typeof el === "string" || el.constructor === String) ? document.getElementById(el) : el; + if (el == null) return null; + el._katavorio = el._katavorio || _uuid(); + return el; + }; + + root.Katavorio = function(katavorioParams) { + + var _selection = [], + _selectionMap = {}; + + this._dragsByScope = {}; + this._dropsByScope = {}; + var _zoom = 1, + _reg = function(obj, map) { + _each(obj, function(_obj) { + for(var i = 0; i < _obj.scopes.length; i++) { + map[_obj.scopes[i]] = map[_obj.scopes[i]] || []; + map[_obj.scopes[i]].push(_obj); + } + }); + }, + _unreg = function(obj, map) { + var c = 0; + _each(obj, function(_obj) { + for(var i = 0; i < _obj.scopes.length; i++) { + if (map[_obj.scopes[i]]) { + var idx = katavorioParams.indexOf(map[_obj.scopes[i]], _obj); + if (idx !== -1) { + map[_obj.scopes[i]].splice(idx, 1); + c++; + } + } + } + }); + + return c > 0 ; + }, + _getMatchingDroppables = this.getMatchingDroppables = function(drag) { + var dd = [], _m = {}; + for (var i = 0; i < drag.scopes.length; i++) { + var _dd = this._dropsByScope[drag.scopes[i]]; + if (_dd) { + for (var j = 0; j < _dd.length; j++) { + if (_dd[j].canDrop(drag) && !_m[_dd[j].uuid] && (_dd[j].allowLoopback || _dd[j].el !== drag.el)) { + _m[_dd[j].uuid] = true; + dd.push(_dd[j]); + } + } + } + } + dd.sort(_rankSort); + return dd; + }, + _prepareParams = function(p) { + p = p || {}; + var _p = { + events:{} + }, i; + for (i in katavorioParams) _p[i] = katavorioParams[i]; + for (i in p) _p[i] = p[i]; + // events + + for (i = 0; i < _events.length; i++) { + _p.events[_events[i]] = p[_events[i]] || _devNull; + } + _p.katavorio = this; + return _p; + }.bind(this), + _mistletoe = function(existingDrag, params) { + for (var i = 0; i < _events.length; i++) { + if (params[_events[i]]) { + existingDrag.on(_events[i], params[_events[i]]); + } + } + }.bind(this), + _css = {}, + overrideCss = katavorioParams.css || {}, + _scope = katavorioParams.scope || _defaultScope; + + // prepare map of css classes based on defaults frst, then optional overrides + for (var i in _classes) _css[i] = _classes[i]; + for (var i in overrideCss) _css[i] = overrideCss[i]; + + var inputFilterSelector = katavorioParams.inputFilterSelector || _defaultInputFilterSelector; + /** + * Gets the selector identifying which input elements to filter from drag events. + * @method getInputFilterSelector + * @return {String} Current input filter selector. + */ + this.getInputFilterSelector = function() { return inputFilterSelector; }; + + /** + * Sets the selector identifying which input elements to filter from drag events. + * @method setInputFilterSelector + * @param {String} selector Input filter selector to set. + * @return {Katavorio} Current instance; method may be chained. + */ + this.setInputFilterSelector = function(selector) { + inputFilterSelector = selector; + return this; + }; + + /** + * Either makes the given element draggable, or identifies it as an element inside which some identified list + * of elements may be draggable. + * @param el + * @param params + * @returns {Array} + */ + this.draggable = function(el, params) { + var o = []; + _each(el, function (_el) { + _el = _gel(_el); + if (_el != null) { + if (_el._katavorioDrag == null) { + var p = _prepareParams(params); + _el._katavorioDrag = new Drag(_el, p, _css, _scope); + _reg(_el._katavorioDrag, this._dragsByScope); + o.push(_el._katavorioDrag); + katavorioParams.addClass(_el, p.selector ? _css.delegatedDraggable : _css.draggable); + } + else { + _mistletoe(_el._katavorioDrag, params); + } + } + }.bind(this)); + return o; + }; + + this.droppable = function(el, params) { + var o = []; + _each(el, function(_el) { + _el = _gel(_el); + if (_el != null) { + var drop = new Drop(_el, _prepareParams(params), _css, _scope); + _el._katavorioDrop = _el._katavorioDrop || []; + _el._katavorioDrop.push(drop); + _reg(drop, this._dropsByScope); + o.push(drop); + katavorioParams.addClass(_el, _css.droppable); + } + }.bind(this)); + return o; + }; + + /** + * @name Katavorio#select + * @function + * @desc Adds an element to the current selection (for multiple node drag) + * @param {Element|String} DOM element - or id of the element - to add. + */ + this.select = function(el) { + _each(el, function() { + var _el = _gel(this); + if (_el && _el._katavorioDrag) { + if (!_selectionMap[_el._katavorio]) { + _selection.push(_el._katavorioDrag); + _selectionMap[_el._katavorio] = [ _el, _selection.length - 1 ]; + katavorioParams.addClass(_el, _css.selected); + } + } + }); + return this; + }; + + /** + * @name Katavorio#deselect + * @function + * @desc Removes an element from the current selection (for multiple node drag) + * @param {Element|String} DOM element - or id of the element - to remove. + */ + this.deselect = function(el) { + _each(el, function() { + var _el = _gel(this); + if (_el && _el._katavorio) { + var e = _selectionMap[_el._katavorio]; + if (e) { + var _s = []; + for (var i = 0; i < _selection.length; i++) + if (_selection[i].el !== _el) _s.push(_selection[i]); + _selection = _s; + delete _selectionMap[_el._katavorio]; + katavorioParams.removeClass(_el, _css.selected); + } + } + }); + return this; + }; + + this.deselectAll = function() { + for (var i in _selectionMap) { + var d = _selectionMap[i]; + katavorioParams.removeClass(d[0], _css.selected); + } + + _selection.length = 0; + _selectionMap = {}; + }; + + this.markSelection = function(drag) { + _foreach(_selection, function(e) { e.mark(); }, drag); + }; + + this.markPosses = function(drag) { + if (drag.posses) { + _each(drag.posses, function(p) { + if (drag.posseRoles[p] && _posses[p]) { + _foreach(_posses[p].members, function (d) { + d.mark(); + }, drag); + } + }) + } + }; + + this.unmarkSelection = function(drag, event) { + _foreach(_selection, function(e) { e.unmark(event); }, drag); + }; + + this.unmarkPosses = function(drag, event) { + if (drag.posses) { + _each(drag.posses, function(p) { + if (drag.posseRoles[p] && _posses[p]) { + _foreach(_posses[p].members, function (d) { + d.unmark(event, true); + }, drag); + } + }); + } + }; + + this.getSelection = function() { return _selection.slice(0); }; + + this.updateSelection = function(dx, dy, drag) { + _foreach(_selection, function(e) { e.moveBy(dx, dy); }, drag); + }; + + var _posseAction = function(fn, drag) { + if (drag.posses) { + _each(drag.posses, function(p) { + if (drag.posseRoles[p] && _posses[p]) { + _foreach(_posses[p].members, function (e) { + fn(e); + }, drag); + } + }); + } + }; + + this.updatePosses = function(dx, dy, drag) { + _posseAction(function(e) { e.moveBy(dx, dy); }, drag); + }; + + this.notifyPosseDragStop = function(drag, evt) { + _posseAction(function(e) { e.stop(evt, true); }, drag); + }; + + this.notifySelectionDragStop = function(drag, evt) { + _foreach(_selection, function(e) { e.stop(evt, true); }, drag); + }; + + this.notifySelectionDragStart = function(drag, evt) { + _foreach(_selection, function(e) { e.notifyStart(evt);}, drag); + }; + + this.setZoom = function(z) { _zoom = z; }; + this.getZoom = function() { return _zoom; }; + + // does the work of changing scopes + var _scopeManip = function(kObj, scopes, map, fn) { + _each(kObj, function(_kObj) { + _unreg(_kObj, map); // deregister existing scopes + _kObj[fn](scopes); // set scopes + _reg(_kObj, map); // register new ones + }); + }; + + _each([ "set", "add", "remove", "toggle"], function(v) { + this[v + "Scope"] = function(el, scopes) { + _scopeManip(el._katavorioDrag, scopes, this._dragsByScope, v + "Scope"); + _scopeManip(el._katavorioDrop, scopes, this._dropsByScope, v + "Scope"); + }.bind(this); + this[v + "DragScope"] = function(el, scopes) { + _scopeManip(el.constructor === Drag ? el : el._katavorioDrag, scopes, this._dragsByScope, v + "Scope"); + }.bind(this); + this[v + "DropScope"] = function(el, scopes) { + _scopeManip(el.constructor === Drop ? el : el._katavorioDrop, scopes, this._dropsByScope, v + "Scope"); + }.bind(this); + }.bind(this)); + + this.snapToGrid = function(x, y) { + for (var s in this._dragsByScope) { + _foreach(this._dragsByScope[s], function(d) { d.snap(x, y); }); + } + }; + + this.getDragsForScope = function(s) { return this._dragsByScope[s]; }; + this.getDropsForScope = function(s) { return this._dropsByScope[s]; }; + + var _destroy = function(el, type, map) { + el = _gel(el); + if (el[type]) { + + // remove from selection, if present. + var selIdx = _selection.indexOf(el[type]); + if (selIdx >= 0) { + _selection.splice(selIdx, 1); + } + + if (_unreg(el[type], map)) { + _each(el[type], function(kObj) { kObj.destroy() }); + } + + delete el[type]; + } + }; + + var _removeListener = function(el, type, evt, fn) { + el = _gel(el); + if (el[type]) { + el[type].off(evt, fn); + } + }; + + this.elementRemoved = function(el) { + this.destroyDraggable(el); + this.destroyDroppable(el); + }; + + /** + * Either completely remove drag functionality from the given element, or remove a specific event handler. If you + * call this method with a single argument - the element - all drag functionality is removed from it. Otherwise, if + * you provide an event name and listener function, this function is de-registered (if found). + * @param el Element to update + * @param {string} [evt] Optional event name to unsubscribe + * @param {Function} [fn] Optional function to unsubscribe + */ + this.destroyDraggable = function(el, evt, fn) { + if (arguments.length === 1) { + _destroy(el, "_katavorioDrag", this._dragsByScope); + } else { + _removeListener(el, "_katavorioDrag", evt, fn); + } + }; + + /** + * Either completely remove drop functionality from the given element, or remove a specific event handler. If you + * call this method with a single argument - the element - all drop functionality is removed from it. Otherwise, if + * you provide an event name and listener function, this function is de-registered (if found). + * @param el Element to update + * @param {string} [evt] Optional event name to unsubscribe + * @param {Function} [fn] Optional function to unsubscribe + */ + this.destroyDroppable = function(el, evt, fn) { + if (arguments.length === 1) { + _destroy(el, "_katavorioDrop", this._dropsByScope); + } else { + _removeListener(el, "_katavorioDrop", evt, fn); + } + }; + + this.reset = function() { + this._dragsByScope = {}; + this._dropsByScope = {}; + _selection = []; + _selectionMap = {}; + _posses = {}; + }; + + // ----- groups + var _posses = {}; + + var _processOneSpec = function(el, _spec, dontAddExisting) { + var posseId = _isString(_spec) ? _spec : _spec.id; + var active = _isString(_spec) ? true : _spec.active !== false; + var posse = _posses[posseId] || (function() { + var g = {name:posseId, members:[]}; + _posses[posseId] = g; + return g; + })(); + _each(el, function(_el) { + if (_el._katavorioDrag) { + + if (dontAddExisting && _el._katavorioDrag.posseRoles[posse.name] != null) return; + + _suggest(posse.members, _el._katavorioDrag); + _suggest(_el._katavorioDrag.posses, posse.name); + _el._katavorioDrag.posseRoles[posse.name] = active; + } + }); + return posse; + }; + + /** + * Add the given element to the posse with the given id, creating the group if it at first does not exist. + * @method addToPosse + * @param {Element} el Element to add. + * @param {String...|Object...} spec Variable args parameters. Each argument can be a either a String, indicating + * the ID of a Posse to which the element should be added as an active participant, or an Object containing + * `{ id:"posseId", active:false/true}`. In the latter case, if `active` is not provided it is assumed to be + * true. + * @returns {Posse|Posse[]} The Posse(s) to which the element(s) was/were added. + */ + this.addToPosse = function(el, spec) { + + var posses = []; + + for (var i = 1; i < arguments.length; i++) { + posses.push(_processOneSpec(el, arguments[i])); + } + + return posses.length === 1 ? posses[0] : posses; + }; + + /** + * Sets the posse(s) for the element with the given id, creating those that do not yet exist, and removing from + * the element any current Posses that are not specified by this method call. This method will not change the + * active/passive state if it is given a posse in which the element is already a member. + * @method setPosse + * @param {Element} el Element to set posse(s) on. + * @param {String...|Object...} spec Variable args parameters. Each argument can be a either a String, indicating + * the ID of a Posse to which the element should be added as an active participant, or an Object containing + * `{ id:"posseId", active:false/true}`. In the latter case, if `active` is not provided it is assumed to be + * true. + * @returns {Posse|Posse[]} The Posse(s) to which the element(s) now belongs. + */ + this.setPosse = function(el, spec) { + + var posses = []; + + for (var i = 1; i < arguments.length; i++) { + posses.push(_processOneSpec(el, arguments[i], true).name); + } + + _each(el, function(_el) { + if (_el._katavorioDrag) { + var diff = _difference(_el._katavorioDrag.posses, posses); + var p = []; + Array.prototype.push.apply(p, _el._katavorioDrag.posses); + for (var i = 0; i < diff.length; i++) { + this.removeFromPosse(_el, diff[i]); + } + } + }.bind(this)); + + return posses.length === 1 ? posses[0] : posses; + }; + + /** + * Remove the given element from the given posse(s). + * @method removeFromPosse + * @param {Element} el Element to remove. + * @param {String...} posseId Varargs parameter: one value for each posse to remove the element from. + */ + this.removeFromPosse = function(el, posseId) { + if (arguments.length < 2) throw new TypeError("No posse id provided for remove operation"); + for(var i = 1; i < arguments.length; i++) { + posseId = arguments[i]; + _each(el, function (_el) { + if (_el._katavorioDrag && _el._katavorioDrag.posses) { + var d = _el._katavorioDrag; + _each(posseId, function (p) { + _vanquish(_posses[p].members, d); + _vanquish(d.posses, p); + delete d.posseRoles[p]; + }); + } + }); + } + }; + + /** + * Remove the given element from all Posses to which it belongs. + * @method removeFromAllPosses + * @param {Element|Element[]} el Element to remove from Posses. + */ + this.removeFromAllPosses = function(el) { + _each(el, function(_el) { + if (_el._katavorioDrag && _el._katavorioDrag.posses) { + var d = _el._katavorioDrag; + _each(d.posses, function(p) { + _vanquish(_posses[p].members, d); + }); + d.posses.length = 0; + d.posseRoles = {}; + } + }); + }; + + /** + * Changes the participation state for the element in the Posse with the given ID. + * @param {Element|Element[]} el Element(s) to change state for. + * @param {String} posseId ID of the Posse to change element state for. + * @param {Boolean} state True to make active, false to make passive. + */ + this.setPosseState = function(el, posseId, state) { + var posse = _posses[posseId]; + if (posse) { + _each(el, function(_el) { + if (_el._katavorioDrag && _el._katavorioDrag.posses) { + _el._katavorioDrag.posseRoles[posse.name] = state; + } + }); + } + }; + + }; + + root.Katavorio.version = "1.0.0"; + + if (typeof exports !== "undefined") { + exports.Katavorio = root.Katavorio; + } + +}).call(typeof window !== 'undefined' ? window : this); + + +(function() { + + var root = this; + root.jsPlumbUtil = root.jsPlumbUtil || {}; + var jsPlumbUtil = root.jsPlumbUtil; + + if (typeof exports !=='undefined') { exports.jsPlumbUtil = jsPlumbUtil;} + + + /** + * Tests if the given object is an Array. + * @param a + */ + function isArray(a) { + return Object.prototype.toString.call(a) === "[object Array]"; + } + jsPlumbUtil.isArray = isArray; + /** + * Tests if the given object is a Number. + * @param n + */ + function isNumber(n) { + return Object.prototype.toString.call(n) === "[object Number]"; + } + jsPlumbUtil.isNumber = isNumber; + function isString(s) { + return typeof s === "string"; + } + jsPlumbUtil.isString = isString; + function isBoolean(s) { + return typeof s === "boolean"; + } + jsPlumbUtil.isBoolean = isBoolean; + function isNull(s) { + return s == null; + } + jsPlumbUtil.isNull = isNull; + function isObject(o) { + return o == null ? false : Object.prototype.toString.call(o) === "[object Object]"; + } + jsPlumbUtil.isObject = isObject; + function isDate(o) { + return Object.prototype.toString.call(o) === "[object Date]"; + } + jsPlumbUtil.isDate = isDate; + function isFunction(o) { + return Object.prototype.toString.call(o) === "[object Function]"; + } + jsPlumbUtil.isFunction = isFunction; + function isNamedFunction(o) { + return isFunction(o) && o.name != null && o.name.length > 0; + } + jsPlumbUtil.isNamedFunction = isNamedFunction; + function isEmpty(o) { + for (var i in o) { + if (o.hasOwnProperty(i)) { + return false; + } + } + return true; + } + jsPlumbUtil.isEmpty = isEmpty; + function clone(a) { + if (isString(a)) { + return "" + a; + } + else if (isBoolean(a)) { + return !!a; + } + else if (isDate(a)) { + return new Date(a.getTime()); + } + else if (isFunction(a)) { + return a; + } + else if (isArray(a)) { + var b = []; + for (var i = 0; i < a.length; i++) { + b.push(clone(a[i])); + } + return b; + } + else if (isObject(a)) { + var c = {}; + for (var j in a) { + c[j] = clone(a[j]); + } + return c; + } + else { + return a; + } + } + jsPlumbUtil.clone = clone; + function merge(a, b, collations, overwrites) { + // first change the collations array - if present - into a lookup table, because its faster. + var cMap = {}, ar, i, oMap = {}; + collations = collations || []; + overwrites = overwrites || []; + for (i = 0; i < collations.length; i++) { + cMap[collations[i]] = true; + } + for (i = 0; i < overwrites.length; i++) { + oMap[overwrites[i]] = true; + } + var c = clone(a); + for (i in b) { + if (c[i] == null || oMap[i]) { + c[i] = b[i]; + } + else if (isString(b[i]) || isBoolean(b[i])) { + if (!cMap[i]) { + c[i] = b[i]; // if we dont want to collate, just copy it in. + } + else { + ar = []; + // if c's object is also an array we can keep its values. + ar.push.apply(ar, isArray(c[i]) ? c[i] : [c[i]]); + ar.push.apply(ar, isBoolean(b[i]) ? b[i] : [b[i]]); + c[i] = ar; + } + } + else { + if (isArray(b[i])) { + ar = []; + // if c's object is also an array we can keep its values. + if (isArray(c[i])) { + ar.push.apply(ar, c[i]); + } + ar.push.apply(ar, b[i]); + c[i] = ar; + } + else if (isObject(b[i])) { + // overwrite c's value with an object if it is not already one. + if (!isObject(c[i])) { + c[i] = {}; + } + for (var j in b[i]) { + c[i][j] = b[i][j]; + } + } + } + } + return c; + } + jsPlumbUtil.merge = merge; + function replace(inObj, path, value) { + if (inObj == null) { + return; + } + var q = inObj, t = q; + path.replace(/([^\.])+/g, function (term, lc, pos, str) { + var array = term.match(/([^\[0-9]+){1}(\[)([0-9+])/), last = pos + term.length >= str.length, _getArray = function () { + return t[array[1]] || (function () { + t[array[1]] = []; + return t[array[1]]; + })(); + }; + if (last) { + // set term = value on current t, creating term as array if necessary. + if (array) { + _getArray()[array[3]] = value; + } + else { + t[term] = value; + } + } + else { + // set to current t[term], creating t[term] if necessary. + if (array) { + var a_1 = _getArray(); + t = a_1[array[3]] || (function () { + a_1[array[3]] = {}; + return a_1[array[3]]; + })(); + } + else { + t = t[term] || (function () { + t[term] = {}; + return t[term]; + })(); + } + } + return ""; + }); + return inObj; + } + jsPlumbUtil.replace = replace; + // + // chain a list of functions, supplied by [ object, method name, args ], and return on the first + // one that returns the failValue. if none return the failValue, return the successValue. + // + function functionChain(successValue, failValue, fns) { + for (var i = 0; i < fns.length; i++) { + var o = fns[i][0][fns[i][1]].apply(fns[i][0], fns[i][2]); + if (o === failValue) { + return o; + } + } + return successValue; + } + jsPlumbUtil.functionChain = functionChain; + /** + * + * Take the given model and expand out any parameters. 'functionPrefix' is optional, and if present, helps jsplumb figure out what to do if a value is a Function. + * if you do not provide it (and doNotExpandFunctions is null, or false), jsplumb will run the given values through any functions it finds, and use the function's + * output as the value in the result. if you do provide the prefix, only functions that are named and have this prefix + * will be executed; other functions will be passed as values to the output. + * + * @param model + * @param values + * @param functionPrefix + * @param doNotExpandFunctions + * @returns {any} + */ + function populate(model, values, functionPrefix, doNotExpandFunctions) { + // for a string, see if it has parameter matches, and if so, try to make the substitutions. + var getValue = function (fromString) { + var matches = fromString.match(/(\${.*?})/g); + if (matches != null) { + for (var i = 0; i < matches.length; i++) { + var val = values[matches[i].substring(2, matches[i].length - 1)] || ""; + if (val != null) { + fromString = fromString.replace(matches[i], val); + } + } + } + return fromString; + }; + // process one entry. + var _one = function (d) { + if (d != null) { + if (isString(d)) { + return getValue(d); + } + else if (isFunction(d) && !doNotExpandFunctions && (functionPrefix == null || (d.name || "").indexOf(functionPrefix) === 0)) { + return d(values); + } + else if (isArray(d)) { + var r = []; + for (var i = 0; i < d.length; i++) { + r.push(_one(d[i])); + } + return r; + } + else if (isObject(d)) { + var s = {}; + for (var j in d) { + s[j] = _one(d[j]); + } + return s; + } + else { + return d; + } + } + }; + return _one(model); + } + jsPlumbUtil.populate = populate; + /** + * Find the index of a given object in an array. + * @param a The array to search + * @param f The function to run on each element. Return true if the element matches. + * @returns {number} -1 if not found, otherwise the index in the array. + */ + function findWithFunction(a, f) { + if (a) { + for (var i = 0; i < a.length; i++) { + if (f(a[i])) { + return i; + } + } + } + return -1; + } + jsPlumbUtil.findWithFunction = findWithFunction; + /** + * Remove some element from an array by matching each element in the array against some predicate function. Note that this + * is an in-place removal; the array is altered. + * @param a The array to search + * @param f The function to run on each element. Return true if the element matches. + * @returns {boolean} true if removed, false otherwise. + */ + function removeWithFunction(a, f) { + var idx = findWithFunction(a, f); + if (idx > -1) { + a.splice(idx, 1); + } + return idx !== -1; + } + jsPlumbUtil.removeWithFunction = removeWithFunction; + /** + * Remove some element from an array by simple lookup in the array for the given element. Note that this + * is an in-place removal; the array is altered. + * @param l The array to search + * @param v The value to remove. + * @returns {boolean} true if removed, false otherwise. + */ + function remove(l, v) { + var idx = l.indexOf(v); + if (idx > -1) { + l.splice(idx, 1); + } + return idx !== -1; + } + jsPlumbUtil.remove = remove; + /** + * Add some element to the given array, unless it is determined that it is already in the array. + * @param list The array to add the element to. + * @param item The item to add. + * @param hashFunction A function to use to determine if the given item already exists in the array. + */ + function addWithFunction(list, item, hashFunction) { + if (findWithFunction(list, hashFunction) === -1) { + list.push(item); + } + } + jsPlumbUtil.addWithFunction = addWithFunction; + /** + * Add some element to a list that is contained in a map of lists. + * @param map The map of [ key -> list ] entries + * @param key The name of the list to insert into + * @param value The value to insert + * @param insertAtStart Whether or not to insert at the start; defaults to false. + */ + function addToList(map, key, value, insertAtStart) { + var l = map[key]; + if (l == null) { + l = []; + map[key] = l; + } + l[insertAtStart ? "unshift" : "push"](value); + return l; + } + jsPlumbUtil.addToList = addToList; + /** + * Add an item to a list, unless it is already in the list. The test for pre-existence is a simple list lookup. + * If you want to do something more complex, perhaps #addWithFunction might help. + * @param list List to add the item to + * @param item Item to add + * @param insertAtHead Whether or not to insert at the start; defaults to false. + */ + function suggest(list, item, insertAtHead) { + if (list.indexOf(item) === -1) { + if (insertAtHead) { + list.unshift(item); + } + else { + list.push(item); + } + return true; + } + return false; + } + jsPlumbUtil.suggest = suggest; + /** + * Extends the given obj (which can be an array) with the given constructor function, prototype functions, and class members, any of which may be null. + * @param child + * @param parent + * @param _protoFn + */ + function extend(child, parent, _protoFn) { + var i; + parent = isArray(parent) ? parent : [parent]; + var _copyProtoChain = function (focus) { + var proto = focus.__proto__; + while (proto != null) { + if (proto.prototype != null) { + for (var j in proto.prototype) { + if (proto.prototype.hasOwnProperty(j) && !child.prototype.hasOwnProperty(j)) { + child.prototype[j] = proto.prototype[j]; + } + } + proto = proto.prototype.__proto__; + } + else { + proto = null; + } + } + }; + for (i = 0; i < parent.length; i++) { + for (var j in parent[i].prototype) { + if (parent[i].prototype.hasOwnProperty(j) && !child.prototype.hasOwnProperty(j)) { + child.prototype[j] = parent[i].prototype[j]; + } + } + _copyProtoChain(parent[i]); + } + var _makeFn = function (name, protoFn) { + return function () { + for (i = 0; i < parent.length; i++) { + if (parent[i].prototype[name]) { + parent[i].prototype[name].apply(this, arguments); + } + } + return protoFn.apply(this, arguments); + }; + }; + var _oneSet = function (fns) { + for (var k in fns) { + child.prototype[k] = _makeFn(k, fns[k]); + } + }; + if (arguments.length > 2) { + for (i = 2; i < arguments.length; i++) { + _oneSet(arguments[i]); + } + } + return child; + } + jsPlumbUtil.extend = extend; + /** + * Generate a UUID. + */ + // export function uuid(): string { + // return ('xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { + // let r = Math.random() * 16 | 0, v = c === 'x' ? r : (r & 0x3 | 0x8); + // return v.toString(16); + // })); + // } + var lut = []; + for (var i = 0; i < 256; i++) { + lut[i] = (i < 16 ? '0' : '') + (i).toString(16); + } + function uuid() { + var d0 = Math.random() * 0xffffffff | 0; + var d1 = Math.random() * 0xffffffff | 0; + var d2 = Math.random() * 0xffffffff | 0; + var d3 = Math.random() * 0xffffffff | 0; + return lut[d0 & 0xff] + lut[d0 >> 8 & 0xff] + lut[d0 >> 16 & 0xff] + lut[d0 >> 24 & 0xff] + '-' + + lut[d1 & 0xff] + lut[d1 >> 8 & 0xff] + '-' + lut[d1 >> 16 & 0x0f | 0x40] + lut[d1 >> 24 & 0xff] + '-' + + lut[d2 & 0x3f | 0x80] + lut[d2 >> 8 & 0xff] + '-' + lut[d2 >> 16 & 0xff] + lut[d2 >> 24 & 0xff] + + lut[d3 & 0xff] + lut[d3 >> 8 & 0xff] + lut[d3 >> 16 & 0xff] + lut[d3 >> 24 & 0xff]; + } + jsPlumbUtil.uuid = uuid; + /** + * Trim a string. + * @param s String to trim + * @returns the String with leading and trailing whitespace removed. + */ + function fastTrim(s) { + if (s == null) { + return null; + } + var str = s.replace(/^\s\s*/, ''), ws = /\s/, i = str.length; + while (ws.test(str.charAt(--i))) { + } + return str.slice(0, i + 1); + } + jsPlumbUtil.fastTrim = fastTrim; + function each(obj, fn) { + obj = obj.length == null || typeof obj === "string" ? [obj] : obj; + for (var i = 0; i < obj.length; i++) { + fn(obj[i]); + } + } + jsPlumbUtil.each = each; + function map(obj, fn) { + var o = []; + for (var i = 0; i < obj.length; i++) { + o.push(fn(obj[i])); + } + return o; + } + jsPlumbUtil.map = map; + function mergeWithParents(type, map, parentAttribute) { + parentAttribute = parentAttribute || "parent"; + var _def = function (id) { + return id ? map[id] : null; + }; + var _parent = function (def) { + return def ? _def(def[parentAttribute]) : null; + }; + var _one = function (parent, def) { + if (parent == null) { + return def; + } + else { + var overrides = ["anchor", "anchors", "cssClass", "connector", "paintStyle", "hoverPaintStyle", "endpoint", "endpoints"]; + if (def.mergeStrategy === "override") { + Array.prototype.push.apply(overrides, ["events", "overlays"]); + } + var d_1 = merge(parent, def, [], overrides); + return _one(_parent(parent), d_1); + } + }; + var _getDef = function (t) { + if (t == null) { + return {}; + } + if (typeof t === "string") { + return _def(t); + } + else if (t.length) { + var done = false, i = 0, _dd = void 0; + while (!done && i < t.length) { + _dd = _getDef(t[i]); + if (_dd) { + done = true; + } + else { + i++; + } + } + return _dd; + } + }; + var d = _getDef(type); + if (d) { + return _one(_parent(d), d); + } + else { + return {}; + } + } + jsPlumbUtil.mergeWithParents = mergeWithParents; + jsPlumbUtil.logEnabled = true; + function log() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + if (jsPlumbUtil.logEnabled && typeof console !== "undefined") { + try { + var msg = arguments[arguments.length - 1]; + console.log(msg); + } + catch (e) { + } + } + } + jsPlumbUtil.log = log; + /** + * Wraps one function with another, creating a placeholder for the + * wrapped function if it was null. this is used to wrap the various + * drag/drop event functions - to allow jsPlumb to be notified of + * important lifecycle events without imposing itself on the user's + * drag/drop functionality. + * @method jsPlumbUtil.wrap + * @param {Function} wrappedFunction original function to wrap; may be null. + * @param {Function} newFunction function to wrap the original with. + * @param {Object} [returnOnThisValue] Optional. Indicates that the wrappedFunction should + * not be executed if the newFunction returns a value matching 'returnOnThisValue'. + * note that this is a simple comparison and only works for primitives right now. + */ + function wrap(wrappedFunction, newFunction, returnOnThisValue) { + return function () { + var r = null; + try { + if (newFunction != null) { + r = newFunction.apply(this, arguments); + } + } + catch (e) { + log("jsPlumb function failed : " + e); + } + if ((wrappedFunction != null) && (returnOnThisValue == null || (r !== returnOnThisValue))) { + try { + r = wrappedFunction.apply(this, arguments); + } + catch (e) { + log("wrapped function failed : " + e); + } + } + return r; + }; + } + jsPlumbUtil.wrap = wrap; + var EventGenerator = /** @class */ (function () { + function EventGenerator() { + var _this = this; + this._listeners = {}; + this.eventsSuspended = false; + this.tick = false; + // this is a list of events that should re-throw any errors that occur during their dispatch. + this.eventsToDieOn = { "ready": true }; + this.queue = []; + this.bind = function (event, listener, insertAtStart) { + var _one = function (evt) { + addToList(_this._listeners, evt, listener, insertAtStart); + listener.__jsPlumb = listener.__jsPlumb || {}; + listener.__jsPlumb[uuid()] = evt; + }; + if (typeof event === "string") { + _one(event); + } + else if (event.length != null) { + for (var i = 0; i < event.length; i++) { + _one(event[i]); + } + } + return _this; + }; + this.fire = function (event, value, originalEvent) { + if (!this.tick) { + this.tick = true; + if (!this.eventsSuspended && this._listeners[event]) { + var l = this._listeners[event].length, i = 0, _gone = false, ret = null; + if (!this.shouldFireEvent || this.shouldFireEvent(event, value, originalEvent)) { + while (!_gone && i < l && ret !== false) { + // doing it this way rather than catching and then possibly re-throwing means that an error propagated by this + // method will have the whole call stack available in the debugger. + if (this.eventsToDieOn[event]) { + this._listeners[event][i].apply(this, [value, originalEvent]); + } + else { + try { + ret = this._listeners[event][i].apply(this, [value, originalEvent]); + } + catch (e) { + log("jsPlumb: fire failed for event " + event + " : " + e); + } + } + i++; + if (this._listeners == null || this._listeners[event] == null) { + _gone = true; + } + } + } + } + this.tick = false; + this._drain(); + } + else { + this.queue.unshift(arguments); + } + return this; + }; + this._drain = function () { + var n = _this.queue.pop(); + if (n) { + _this.fire.apply(_this, n); + } + }; + this.unbind = function (eventOrListener, listener) { + if (arguments.length === 0) { + this._listeners = {}; + } + else if (arguments.length === 1) { + if (typeof eventOrListener === "string") { + delete this._listeners[eventOrListener]; + } + else if (eventOrListener.__jsPlumb) { + var evt = void 0; + for (var i in eventOrListener.__jsPlumb) { + evt = eventOrListener.__jsPlumb[i]; + remove(this._listeners[evt] || [], eventOrListener); + } + } + } + else if (arguments.length === 2) { + remove(this._listeners[eventOrListener] || [], listener); + } + return this; + }; + this.getListener = function (forEvent) { + return _this._listeners[forEvent]; + }; + this.setSuspendEvents = function (val) { + _this.eventsSuspended = val; + }; + this.isSuspendEvents = function () { + return _this.eventsSuspended; + }; + this.silently = function (fn) { + _this.setSuspendEvents(true); + try { + fn(); + } + catch (e) { + log("Cannot execute silent function " + e); + } + _this.setSuspendEvents(false); + }; + this.cleanupListeners = function () { + for (var i in _this._listeners) { + _this._listeners[i] = null; + } + }; + } + return EventGenerator; + }()); + jsPlumbUtil.EventGenerator = EventGenerator; + +}).call(typeof window !== 'undefined' ? window : this); + +/* + * This file contains utility functions that run in browsers only. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ + ;(function() { + + "use strict"; + + var root = this; + + root.jsPlumbUtil.matchesSelector = function(el, selector, ctx) { + ctx = ctx || el.parentNode; + var possibles = ctx.querySelectorAll(selector); + for (var i = 0; i < possibles.length; i++) { + if (possibles[i] === el) { + return true; + } + } + return false; + }; + + root.jsPlumbUtil.consume = function(e, doNotPreventDefault) { + if (e.stopPropagation) { + e.stopPropagation(); + } + else { + e.returnValue = false; + } + + if (!doNotPreventDefault && e.preventDefault){ + e.preventDefault(); + } + }; + + /* + * Function: sizeElement + * Helper to size and position an element. You would typically use + * this when writing your own Connector or Endpoint implementation. + * + * Parameters: + * x - [int] x position for the element origin + * y - [int] y position for the element origin + * w - [int] width of the element + * h - [int] height of the element + * + */ + root.jsPlumbUtil.sizeElement = function(el, x, y, w, h) { + if (el) { + el.style.height = h + "px"; + el.height = h; + el.style.width = w + "px"; + el.width = w; + el.style.left = x + "px"; + el.style.top = y + "px"; + } + }; + + }).call(typeof window !== 'undefined' ? window : this); + +;(function() { + + var DEFAULT_OPTIONS = { + deriveAnchor:function(edge, index, ep, conn) { + return { + top:["TopRight", "TopLeft"], + bottom:["BottomRight", "BottomLeft"] + }[edge][index]; + } + }; + + var root = this; + + var ListManager = function(jsPlumbInstance, params) { + + this.count = 0; + this.instance = jsPlumbInstance; + this.lists = {}; + this.options = params || {}; + + this.instance.addList = function(el, options) { + return this.listManager.addList(el, options); + }; + + this.instance.removeList = function(el) { + this.listManager.removeList(el); + }; + + this.instance.bind("manageElement", function(p) { + + //look for [jtk-scrollable-list] elements and attach scroll listeners if necessary + var scrollableLists = this.instance.getSelector(p.el, "[jtk-scrollable-list]"); + for (var i = 0; i < scrollableLists.length; i++) { + this.addList(scrollableLists[i]); + } + + }.bind(this)); + + this.instance.bind("unmanageElement", function(p) { + this.removeList(p.el); + }); + + + this.instance.bind("connection", function(c, evt) { + if (evt == null) { + // not added by mouse. look for an ancestor of the source and/or target element that is a scrollable list, and run + // its scroll method. + this._maybeUpdateParentList(c.source); + this._maybeUpdateParentList(c.target); + } + }.bind(this)); + }; + + root.jsPlumbListManager = ListManager; + + ListManager.prototype = { + + addList : function(el, options) { + var dp = this.instance.extend({}, DEFAULT_OPTIONS); + this.instance.extend(dp, this.options); + options = this.instance.extend(dp, options || {}); + var id = [this.instance.getInstanceIndex(), this.count++].join("_"); + this.lists[id] = new List(this.instance, el, options, id); + }, + + removeList:function(el) { + var list = this.lists[el._jsPlumbList]; + if (list) { + list.destroy(); + delete this.lists[el._jsPlumbList]; + } + }, + + _maybeUpdateParentList:function (el) { + var parent = el.parentNode, container = this.instance.getContainer(); + while(parent != null && parent !== container) { + if (parent._jsPlumbList != null && this.lists[parent._jsPlumbList] != null) { + parent._jsPlumbScrollHandler(); + return + } + parent = parent.parentNode; + } + } + + + }; + + var List = function(instance, el, options, id) { + + el["_jsPlumbList"] = id; + + // + // Derive an anchor to use for the current situation. In contrast to the way we derive an endpoint, here we use `anchor` from the options, if present, as + // our first choice, and then `deriveAnchor` as our next choice. There is a default `deriveAnchor` implementation that uses TopRight/TopLeft for top and + // BottomRight/BottomLeft for bottom. + // + // edge - "top" or "bottom" + // index - 0 when endpoint is connection source, 1 when endpoint is connection target + // ep - the endpoint that is being proxied + // conn - the connection that is being proxied + // + function deriveAnchor(edge, index, ep, conn) { + return options.anchor ? options.anchor : options.deriveAnchor(edge, index, ep, conn); + } + + // + // Derive an endpoint to use for the current situation. We'll use a `deriveEndpoint` function passed in to the options as our first choice, + // followed by `endpoint` (an endpoint spec) from the options, and failing either of those we just use the `type` of the endpoint that is being proxied. + // + // edge - "top" or "bottom" + // index - 0 when endpoint is connection source, 1 when endpoint is connection target + // endpoint - the endpoint that is being proxied + // connection - the connection that is being proxied + // + function deriveEndpoint(edge, index, ep, conn) { + return options.deriveEndpoint ? options.deriveEndpoint(edge, index, ep, conn) : options.endpoint ? options.endpoint : ep.type; + } + + // + // look for a parent of the given scrollable list that is draggable, and then update the child offsets for it. this should not + // be necessary in the delegated drag stuff from the upcoming 3.0.0 release. + // + function _maybeUpdateDraggable(el) { + var parent = el.parentNode, container = instance.getContainer(); + while(parent != null && parent !== container) { + if (instance.hasClass(parent, "jtk-managed")) { + instance.recalculateOffsets(parent); + return + } + parent = parent.parentNode; + } + } + + var scrollHandler = function(e) { + + var children = instance.getSelector(el, ".jtk-managed"); + var elId = instance.getId(el); + + for (var i = 0; i < children.length; i++) { + + if (children[i].offsetTop < el.scrollTop) { + if (!children[i]._jsPlumbProxies) { + children[i]._jsPlumbProxies = children[i]._jsPlumbProxies || []; + instance.select({source: children[i]}).each(function (c) { + + + instance.proxyConnection(c, 0, el, elId, function () { + return deriveEndpoint("top", 0, c.endpoints[0], c); + }, function () { + return deriveAnchor("top", 0, c.endpoints[0], c); + }); + children[i]._jsPlumbProxies.push([c, 0]); + }); + + instance.select({target: children[i]}).each(function (c) { + instance.proxyConnection(c, 1, el, elId, function () { + return deriveEndpoint("top", 1, c.endpoints[1], c); + }, function () { + return deriveAnchor("top", 1, c.endpoints[1], c); + }); + children[i]._jsPlumbProxies.push([c, 1]); + }); + } + } + // + else if (children[i].offsetTop + children[i].offsetHeight > el.scrollTop + el.offsetHeight) { + if (!children[i]._jsPlumbProxies) { + children[i]._jsPlumbProxies = children[i]._jsPlumbProxies || []; + + instance.select({source: children[i]}).each(function (c) { + instance.proxyConnection(c, 0, el, elId, function () { + return deriveEndpoint("bottom", 0, c.endpoints[0], c); + }, function () { + return deriveAnchor("bottom", 0, c.endpoints[0], c); + }); + children[i]._jsPlumbProxies.push([c, 0]); + }); + + instance.select({target: children[i]}).each(function (c) { + instance.proxyConnection(c, 1, el, elId, function () { + return deriveEndpoint("bottom", 1, c.endpoints[1], c); + }, function () { + return deriveAnchor("bottom", 1, c.endpoints[1], c); + }); + children[i]._jsPlumbProxies.push([c, 1]); + }); + } + } else if (children[i]._jsPlumbProxies) { + for (var j = 0; j < children[i]._jsPlumbProxies.length; j++) { + instance.unproxyConnection(children[i]._jsPlumbProxies[j][0], children[i]._jsPlumbProxies[j][1], elId); + } + + delete children[i]._jsPlumbProxies; + } + + instance.revalidate(children[i]); + } + + _maybeUpdateDraggable(el); + }; + + instance.setAttribute(el, "jtk-scrollable-list", "true"); + el._jsPlumbScrollHandler = scrollHandler; + instance.on(el, "scroll", scrollHandler); + scrollHandler(); // run it once; there may be connections already. + + this.destroy = function() { + instance.off(el, "scroll", scrollHandler); + delete el._jsPlumbScrollHandler; + + var children = instance.getSelector(el, ".jtk-managed"); + var elId = instance.getId(el); + + for (var i = 0; i < children.length; i++) { + if (children[i]._jsPlumbProxies) { + for (var j = 0; j < children[i]._jsPlumbProxies.length; j++) { + instance.unproxyConnection(children[i]._jsPlumbProxies[j][0], children[i]._jsPlumbProxies[j][1], elId); + } + + delete children[i]._jsPlumbProxies; + } + } + }; + }; + + +}).call(typeof window !== 'undefined' ? window : this); + +/* + * This file contains the core code. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +;(function () { + + "use strict"; + + var root = this; + + var _ju = root.jsPlumbUtil, + + /** + * creates a timestamp, using milliseconds since 1970, but as a string. + */ + _timestamp = function () { + return "" + (new Date()).getTime(); + }, + + // helper method to update the hover style whenever it, or paintStyle, changes. + // we use paintStyle as the foundation and merge hoverPaintStyle over the + // top. + _updateHoverStyle = function (component) { + if (component._jsPlumb.paintStyle && component._jsPlumb.hoverPaintStyle) { + var mergedHoverStyle = {}; + jsPlumb.extend(mergedHoverStyle, component._jsPlumb.paintStyle); + jsPlumb.extend(mergedHoverStyle, component._jsPlumb.hoverPaintStyle); + delete component._jsPlumb.hoverPaintStyle; + // we want the fill of paintStyle to override a gradient, if possible. + if (mergedHoverStyle.gradient && component._jsPlumb.paintStyle.fill) { + delete mergedHoverStyle.gradient; + } + component._jsPlumb.hoverPaintStyle = mergedHoverStyle; + } + }, + events = ["tap", "dbltap", "click", "dblclick", "mouseover", "mouseout", "mousemove", "mousedown", "mouseup", "contextmenu" ], + eventFilters = { "mouseout": "mouseleave", "mouseexit": "mouseleave" }, + _updateAttachedElements = function (component, state, timestamp, sourceElement) { + var affectedElements = component.getAttachedElements(); + if (affectedElements) { + for (var i = 0, j = affectedElements.length; i < j; i++) { + if (!sourceElement || sourceElement !== affectedElements[i]) { + affectedElements[i].setHover(state, true, timestamp); // tell the attached elements not to inform their own attached elements. + } + } + } + }, + _splitType = function (t) { + return t == null ? null : t.split(" "); + }, + _mapType = function(map, obj, typeId) { + for (var i in obj) { + map[i] = typeId; + } + }, + _each = function(fn, obj) { + obj = _ju.isArray(obj) || (obj.length != null && !_ju.isString(obj)) ? obj : [ obj ]; + for (var i = 0; i < obj.length; i++) { + try { + fn.apply(obj[i], [ obj[i] ]); + } + catch (e) { + _ju.log(".each iteration failed : " + e); + } + } + }, + _applyTypes = function (component, params, doNotRepaint) { + if (component.getDefaultType) { + var td = component.getTypeDescriptor(), map = {}; + var defType = component.getDefaultType(); + var o = _ju.merge({}, defType); + _mapType(map, defType, "__default"); + for (var i = 0, j = component._jsPlumb.types.length; i < j; i++) { + var tid = component._jsPlumb.types[i]; + if (tid !== "__default") { + var _t = component._jsPlumb.instance.getType(tid, td); + if (_t != null) { + + var overrides = ["anchor", "anchors", "connector", "paintStyle", "hoverPaintStyle", "endpoint", "endpoints", "connectorOverlays", "connectorStyle", "connectorHoverStyle", "endpointStyle", "endpointHoverStyle"]; + var collations = [ ]; + + if (_t.mergeStrategy === "override") { + Array.prototype.push.apply(overrides, ["events", "overlays", "cssClass"]); + } else { + collations.push("cssClass"); + } + + o = _ju.merge(o, _t, collations, overrides); + _mapType(map, _t, tid); + } + } + } + + if (params) { + o = _ju.populate(o, params, "_"); + } + + component.applyType(o, doNotRepaint, map); + if (!doNotRepaint) { + component.repaint(); + } + } + }, + +// ------------------------------ BEGIN jsPlumbUIComponent -------------------------------------------- + + jsPlumbUIComponent = root.jsPlumbUIComponent = function (params) { + + _ju.EventGenerator.apply(this, arguments); + + var self = this, + a = arguments, + idPrefix = self.idPrefix, + id = idPrefix + (new Date()).getTime(); + + this._jsPlumb = { + instance: params._jsPlumb, + parameters: params.parameters || {}, + paintStyle: null, + hoverPaintStyle: null, + paintStyleInUse: null, + hover: false, + beforeDetach: params.beforeDetach, + beforeDrop: params.beforeDrop, + overlayPlacements: [], + hoverClass: params.hoverClass || params._jsPlumb.Defaults.HoverClass, + types: [], + typeCache:{} + }; + + this.cacheTypeItem = function(key, item, typeId) { + this._jsPlumb.typeCache[typeId] = this._jsPlumb.typeCache[typeId] || {}; + this._jsPlumb.typeCache[typeId][key] = item; + }; + this.getCachedTypeItem = function(key, typeId) { + return this._jsPlumb.typeCache[typeId] ? this._jsPlumb.typeCache[typeId][key] : null; + }; + + this.getId = function () { + return id; + }; + +// ----------------------------- default type -------------------------------------------- + + + var o = params.overlays || [], oo = {}; + if (this.defaultOverlayKeys) { + for (var i = 0; i < this.defaultOverlayKeys.length; i++) { + Array.prototype.push.apply(o, this._jsPlumb.instance.Defaults[this.defaultOverlayKeys[i]] || []); + } + + for (i = 0; i < o.length; i++) { + // if a string, convert to object representation so that we can store the typeid on it. + // also assign an id. + var fo = jsPlumb.convertToFullOverlaySpec(o[i]); + oo[fo[1].id] = fo; + } + } + + var _defaultType = { + overlays:oo, + parameters: params.parameters || {}, + scope: params.scope || this._jsPlumb.instance.getDefaultScope() + }; + this.getDefaultType = function() { + return _defaultType; + }; + this.appendToDefaultType = function(obj) { + for (var i in obj) { + _defaultType[i] = obj[i]; + } + }; + +// ----------------------------- end default type -------------------------------------------- + + // all components can generate events + + if (params.events) { + for (var evtName in params.events) { + self.bind(evtName, params.events[evtName]); + } + } + + // all components get this clone function. + // TODO issue 116 showed a problem with this - it seems 'a' that is in + // the clone function's scope is shared by all invocations of it, the classic + // JS closure problem. for now, jsPlumb does a version of this inline where + // it used to call clone. but it would be nice to find some time to look + // further at this. + this.clone = function () { + var o = Object.create(this.constructor.prototype); + this.constructor.apply(o, a); + return o; + }.bind(this); + + // user can supply a beforeDetach callback, which will be executed before a detach + // is performed; returning false prevents the detach. + this.isDetachAllowed = function (connection) { + var r = true; + if (this._jsPlumb.beforeDetach) { + try { + r = this._jsPlumb.beforeDetach(connection); + } + catch (e) { + _ju.log("jsPlumb: beforeDetach callback failed", e); + } + } + return r; + }; + + // user can supply a beforeDrop callback, which will be executed before a dropped + // connection is confirmed. user can return false to reject connection. + this.isDropAllowed = function (sourceId, targetId, scope, connection, dropEndpoint, source, target) { + var r = this._jsPlumb.instance.checkCondition("beforeDrop", { + sourceId: sourceId, + targetId: targetId, + scope: scope, + connection: connection, + dropEndpoint: dropEndpoint, + source: source, target: target + }); + if (this._jsPlumb.beforeDrop) { + try { + r = this._jsPlumb.beforeDrop({ + sourceId: sourceId, + targetId: targetId, + scope: scope, + connection: connection, + dropEndpoint: dropEndpoint, + source: source, target: target + }); + } + catch (e) { + _ju.log("jsPlumb: beforeDrop callback failed", e); + } + } + return r; + }; + + var domListeners = []; + + // sets the component associated with listener events. for instance, an overlay delegates + // its events back to a connector. but if the connector is swapped on the underlying connection, + // then this component must be changed. This is called by setConnector in the Connection class. + this.setListenerComponent = function (c) { + for (var i = 0; i < domListeners.length; i++) { + domListeners[i][3] = c; + } + }; + + + }; + + var _removeTypeCssHelper = function (component, typeIndex) { + var typeId = component._jsPlumb.types[typeIndex], + type = component._jsPlumb.instance.getType(typeId, component.getTypeDescriptor()); + + if (type != null && type.cssClass && component.canvas) { + component._jsPlumb.instance.removeClass(component.canvas, type.cssClass); + } + }; + + _ju.extend(root.jsPlumbUIComponent, _ju.EventGenerator, { + + getParameter: function (name) { + return this._jsPlumb.parameters[name]; + }, + + setParameter: function (name, value) { + this._jsPlumb.parameters[name] = value; + }, + + getParameters: function () { + return this._jsPlumb.parameters; + }, + + setParameters: function (p) { + this._jsPlumb.parameters = p; + }, + + getClass:function() { + return jsPlumb.getClass(this.canvas); + }, + + hasClass:function(clazz) { + return jsPlumb.hasClass(this.canvas, clazz); + }, + + addClass: function (clazz) { + jsPlumb.addClass(this.canvas, clazz); + }, + + removeClass: function (clazz) { + jsPlumb.removeClass(this.canvas, clazz); + }, + + updateClasses: function (classesToAdd, classesToRemove) { + jsPlumb.updateClasses(this.canvas, classesToAdd, classesToRemove); + }, + + setType: function (typeId, params, doNotRepaint) { + this.clearTypes(); + this._jsPlumb.types = _splitType(typeId) || []; + _applyTypes(this, params, doNotRepaint); + }, + + getType: function () { + return this._jsPlumb.types; + }, + + reapplyTypes: function (params, doNotRepaint) { + _applyTypes(this, params, doNotRepaint); + }, + + hasType: function (typeId) { + return this._jsPlumb.types.indexOf(typeId) !== -1; + }, + + addType: function (typeId, params, doNotRepaint) { + var t = _splitType(typeId), _cont = false; + if (t != null) { + for (var i = 0, j = t.length; i < j; i++) { + if (!this.hasType(t[i])) { + this._jsPlumb.types.push(t[i]); + _cont = true; + } + } + if (_cont) { + _applyTypes(this, params, doNotRepaint); + } + } + }, + + removeType: function (typeId, params, doNotRepaint) { + var t = _splitType(typeId), _cont = false, _one = function (tt) { + var idx = this._jsPlumb.types.indexOf(tt); + if (idx !== -1) { + // remove css class if necessary + _removeTypeCssHelper(this, idx); + this._jsPlumb.types.splice(idx, 1); + return true; + } + return false; + }.bind(this); + + if (t != null) { + for (var i = 0, j = t.length; i < j; i++) { + _cont = _one(t[i]) || _cont; + } + if (_cont) { + _applyTypes(this, params, doNotRepaint); + } + } + }, + clearTypes: function (params, doNotRepaint) { + var i = this._jsPlumb.types.length; + for (var j = 0; j < i; j++) { + _removeTypeCssHelper(this, 0); + this._jsPlumb.types.splice(0, 1); + } + _applyTypes(this, params, doNotRepaint); + }, + + toggleType: function (typeId, params, doNotRepaint) { + var t = _splitType(typeId); + if (t != null) { + for (var i = 0, j = t.length; i < j; i++) { + var idx = this._jsPlumb.types.indexOf(t[i]); + if (idx !== -1) { + _removeTypeCssHelper(this, idx); + this._jsPlumb.types.splice(idx, 1); + } + else { + this._jsPlumb.types.push(t[i]); + } + } + + _applyTypes(this, params, doNotRepaint); + } + }, + applyType: function (t, doNotRepaint) { + this.setPaintStyle(t.paintStyle, doNotRepaint); + this.setHoverPaintStyle(t.hoverPaintStyle, doNotRepaint); + if (t.parameters) { + for (var i in t.parameters) { + this.setParameter(i, t.parameters[i]); + } + } + this._jsPlumb.paintStyleInUse = this.getPaintStyle(); + }, + setPaintStyle: function (style, doNotRepaint) { + // this._jsPlumb.paintStyle = jsPlumb.extend({}, style); + // TODO figure out if we want components to clone paintStyle so as not to share it. + this._jsPlumb.paintStyle = style; + this._jsPlumb.paintStyleInUse = this._jsPlumb.paintStyle; + _updateHoverStyle(this); + if (!doNotRepaint) { + this.repaint(); + } + }, + getPaintStyle: function () { + return this._jsPlumb.paintStyle; + }, + setHoverPaintStyle: function (style, doNotRepaint) { + //this._jsPlumb.hoverPaintStyle = jsPlumb.extend({}, style); + // TODO figure out if we want components to clone paintStyle so as not to share it. + this._jsPlumb.hoverPaintStyle = style; + _updateHoverStyle(this); + if (!doNotRepaint) { + this.repaint(); + } + }, + getHoverPaintStyle: function () { + return this._jsPlumb.hoverPaintStyle; + }, + destroy: function (force) { + if (force || this.typeId == null) { + this.cleanupListeners(); // this is on EventGenerator + this.clone = null; + this._jsPlumb = null; + } + }, + + isHover: function () { + return this._jsPlumb.hover; + }, + + setHover: function (hover, ignoreAttachedElements, timestamp) { + // while dragging, we ignore these events. this keeps the UI from flashing and + // swishing and whatevering. + if (this._jsPlumb && !this._jsPlumb.instance.currentlyDragging && !this._jsPlumb.instance.isHoverSuspended()) { + + this._jsPlumb.hover = hover; + var method = hover ? "addClass" : "removeClass"; + + if (this.canvas != null) { + if (this._jsPlumb.instance.hoverClass != null) { + this._jsPlumb.instance[method](this.canvas, this._jsPlumb.instance.hoverClass); + } + if (this._jsPlumb.hoverClass != null) { + this._jsPlumb.instance[method](this.canvas, this._jsPlumb.hoverClass); + } + } + if (this._jsPlumb.hoverPaintStyle != null) { + this._jsPlumb.paintStyleInUse = hover ? this._jsPlumb.hoverPaintStyle : this._jsPlumb.paintStyle; + if (!this._jsPlumb.instance.isSuspendDrawing()) { + timestamp = timestamp || _timestamp(); + this.repaint({timestamp: timestamp, recalc: false}); + } + } + // get the list of other affected elements, if supported by this component. + // for a connection, its the endpoints. for an endpoint, its the connections! surprise. + if (this.getAttachedElements && !ignoreAttachedElements) { + _updateAttachedElements(this, hover, _timestamp(), this); + } + } + } + }); + +// ------------------------------ END jsPlumbUIComponent -------------------------------------------- + + var _jsPlumbInstanceIndex = 0, + getInstanceIndex = function () { + var i = _jsPlumbInstanceIndex + 1; + _jsPlumbInstanceIndex++; + return i; + }; + + var jsPlumbInstance = root.jsPlumbInstance = function (_defaults) { + + this.version = "2.13.2"; + + this.Defaults = { + Anchor: "Bottom", + Anchors: [ null, null ], + ConnectionsDetachable: true, + ConnectionOverlays: [ ], + Connector: "Bezier", + Container: null, + DoNotThrowErrors: false, + DragOptions: { }, + DropOptions: { }, + Endpoint: "Dot", + EndpointOverlays: [ ], + Endpoints: [ null, null ], + EndpointStyle: { fill: "#456" }, + EndpointStyles: [ null, null ], + EndpointHoverStyle: null, + EndpointHoverStyles: [ null, null ], + HoverPaintStyle: null, + LabelStyle: { color: "black" }, + ListStyle: { }, + LogEnabled: false, + Overlays: [ ], + MaxConnections: 1, + PaintStyle: { "stroke-width": 4, stroke: "#456" }, + ReattachConnections: false, + RenderMode: "svg", + Scope: "jsPlumb_DefaultScope" + }; + + if (_defaults) { + jsPlumb.extend(this.Defaults, _defaults); + } + + this.logEnabled = this.Defaults.LogEnabled; + this._connectionTypes = {}; + this._endpointTypes = {}; + + _ju.EventGenerator.apply(this); + + var _currentInstance = this, + _instanceIndex = getInstanceIndex(), + _bb = _currentInstance.bind, + _initialDefaults = {}, + _zoom = 1, + _info = function (el) { + if (el == null) { + return null; + } + else if (el.nodeType === 3 || el.nodeType === 8) { + return { el:el, text:true }; + } + else { + var _el = _currentInstance.getElement(el); + return { el: _el, id: (_ju.isString(el) && _el == null) ? el : _getId(_el) }; + } + }; + + this.getInstanceIndex = function () { + return _instanceIndex; + }; + + // CONVERTED + this.setZoom = function (z, repaintEverything) { + _zoom = z; + _currentInstance.fire("zoom", _zoom); + if (repaintEverything) { + _currentInstance.repaintEverything(); + } + return true; + }; + // CONVERTED + this.getZoom = function () { + return _zoom; + }; + + for (var i in this.Defaults) { + _initialDefaults[i] = this.Defaults[i]; + } + + var _container, _containerDelegations = []; + this.unbindContainer = function() { + if (_container != null && _containerDelegations.length > 0) { + for (var i = 0; i < _containerDelegations.length; i++) { + _currentInstance.off(_container, _containerDelegations[i][0], _containerDelegations[i][1]); + } + } + }; + this.setContainer = function (c) { + + this.unbindContainer(); + + // get container as dom element. + c = this.getElement(c); + // move existing connections and endpoints, if any. + this.select().each(function (conn) { + conn.moveParent(c); + }); + this.selectEndpoints().each(function (ep) { + ep.moveParent(c); + }); + + // set container. + var previousContainer = _container; + _container = c; + _containerDelegations.length = 0; + var eventAliases = { + "endpointclick":"endpointClick", + "endpointdblclick":"endpointDblClick" + }; + + var _oneDelegateHandler = function (id, e, componentType) { + var t = e.srcElement || e.target, + jp = (t && t.parentNode ? t.parentNode._jsPlumb : null) || (t ? t._jsPlumb : null) || (t && t.parentNode && t.parentNode.parentNode ? t.parentNode.parentNode._jsPlumb : null); + if (jp) { + jp.fire(id, jp, e); + var alias = componentType ? eventAliases[componentType + id] || id : id; + // jsplumb also fires every event coming from components/overlays. That's what the test for `jp.component` is for. + _currentInstance.fire(alias, jp.component || jp, e); + } + }; + + var _addOneDelegate = function(eventId, selector, fn) { + _containerDelegations.push([eventId, fn]); + _currentInstance.on(_container, eventId, selector, fn); + }; + + // delegate one event on the container to jsplumb elements. it might be possible to + // abstract this out: each of endpoint, connection and overlay could register themselves with + // jsplumb as "component types" or whatever, and provide a suitable selector. this would be + // done by the renderer (although admittedly from 2.0 onwards we're not supporting vml anymore) + var _oneDelegate = function (id) { + // connections. + _addOneDelegate(id, ".jtk-connector", function (e) { + _oneDelegateHandler(id, e); + }); + // endpoints. note they can have an enclosing div, or not. + _addOneDelegate(id, ".jtk-endpoint", function (e) { + _oneDelegateHandler(id, e, "endpoint"); + }); + // overlays + _addOneDelegate(id, ".jtk-overlay", function (e) { + _oneDelegateHandler(id, e); + }); + }; + + for (var i = 0; i < events.length; i++) { + _oneDelegate(events[i]); + } + + // managed elements + for (var elId in managedElements) { + var el = managedElements[elId].el; + if (el.parentNode === previousContainer) { + previousContainer.removeChild(el); + _container.appendChild(el); + } + } + + }; + this.getContainer = function () { + return _container; + }; + + this.bind = function (event, fn) { + if ("ready" === event && initialized) { + fn(); + } + else { + _bb.apply(_currentInstance, [event, fn]); + } + }; + + _currentInstance.importDefaults = function (d) { + for (var i in d) { + _currentInstance.Defaults[i] = d[i]; + } + if (d.Container) { + _currentInstance.setContainer(d.Container); + } + + return _currentInstance; + }; + + _currentInstance.restoreDefaults = function () { + _currentInstance.Defaults = jsPlumb.extend({}, _initialDefaults); + return _currentInstance; + }; + + var log = null, + initialized = false, + // TODO remove from window scope + connections = [], + // map of element id -> endpoint lists. an element can have an arbitrary + // number of endpoints on it, and not all of them have to be connected + // to anything. + endpointsByElement = {}, + endpointsByUUID = {}, + managedElements = {}, + offsets = {}, + offsetTimestamps = {}, + draggableStates = {}, + connectionBeingDragged = false, + sizes = [], + _suspendDrawing = false, + _suspendedAt = null, + DEFAULT_SCOPE = this.Defaults.Scope, + _curIdStamp = 1, + _idstamp = function () { + return "" + _curIdStamp++; + }, + + // + // appends an element to some other element, which is calculated as follows: + // + // 1. if Container exists, use that element. + // 2. if the 'parent' parameter exists, use that. + // 3. otherwise just use the root element. + // + // + _appendElement = function (el, parent) { + if (_container) { + _container.appendChild(el); + } + else if (!parent) { + this.appendToRoot(el); + } + else { + this.getElement(parent).appendChild(el); + } + }.bind(this), + + // + // Draws an endpoint and its connections. this is the main entry point into drawing connections as well + // as endpoints, since jsPlumb is endpoint-centric under the hood. + // + // @param element element to draw (of type library specific element object) + // @param ui UI object from current library's event system. optional. + // @param timestamp timestamp for this paint cycle. used to speed things up a little by cutting down the amount of offset calculations we do. + // @param clearEdits defaults to false; indicates that mouse edits for connectors should be cleared + /// + _draw = function (element, ui, timestamp, clearEdits) { + + if (!_suspendDrawing) { + + element = _currentInstance.getElement(element); + + if (element != null) { + + var id = _getId(element), + repaintEls = element.querySelectorAll(".jtk-managed"); + + if (timestamp == null) { + timestamp = _timestamp(); + } + + // update the offset of everything _before_ we try to draw anything. + var o = _updateOffset({elId: id, offset: ui, recalc: false, timestamp: timestamp}); + + for (var i = 0; i < repaintEls.length; i++) { + _updateOffset({ + elId: repaintEls[i].getAttribute("id"), + // offset: { + // left: o.o.left + repaintEls[i].offset.left, + // top: o.o.top + repaintEls[i].offset.top + // }, + recalc: true, + timestamp: timestamp + }); + } + + _currentInstance.anchorManager.redraw(id, ui, timestamp, null, clearEdits); + + if (repaintEls) { + for (var j = 0; j < repaintEls.length; j++) { + _currentInstance.anchorManager.redraw(repaintEls[j].getAttribute("id"), null, timestamp, null, clearEdits, true); + } + } + } + } + }, + + // + // gets an Endpoint by uuid. + // + _getEndpoint = function (uuid) { + return endpointsByUUID[uuid]; + }, + + /** + * inits a draggable if it's not already initialised. + * TODO: somehow abstract this to the adapter, because the concept of "draggable" has no + * place on the server. + */ + + + _scopeMatch = function (e1, e2) { + var s1 = e1.scope.split(/\s/), s2 = e2.scope.split(/\s/); + for (var i = 0; i < s1.length; i++) { + for (var j = 0; j < s2.length; j++) { + if (s2[j] === s1[i]) { + return true; + } + } + } + + return false; + }, + + _mergeOverrides = function (def, values) { + var m = jsPlumb.extend({}, def); + for (var i in values) { + if (values[i]) { + m[i] = values[i]; + } + } + return m; + }, + + /* + * prepares a final params object that can be passed to _newConnection, taking into account defaults, events, etc. + */ + _prepareConnectionParams = function (params, referenceParams) { + var _p = jsPlumb.extend({ }, params); + if (referenceParams) { + jsPlumb.extend(_p, referenceParams); + } + + // hotwire endpoints passed as source or target to sourceEndpoint/targetEndpoint, respectively. + if (_p.source) { + if (_p.source.endpoint) { + _p.sourceEndpoint = _p.source; + } + else { + _p.source = _currentInstance.getElement(_p.source); + } + } + if (_p.target) { + if (_p.target.endpoint) { + _p.targetEndpoint = _p.target; + } + else { + _p.target = _currentInstance.getElement(_p.target); + } + } + + // test for endpoint uuids to connect + if (params.uuids) { + _p.sourceEndpoint = _getEndpoint(params.uuids[0]); + _p.targetEndpoint = _getEndpoint(params.uuids[1]); + } + + // now ensure that if we do have Endpoints already, they're not full. + // source: + if (_p.sourceEndpoint && _p.sourceEndpoint.isFull()) { + _ju.log(_currentInstance, "could not add connection; source endpoint is full"); + return; + } + + // target: + if (_p.targetEndpoint && _p.targetEndpoint.isFull()) { + _ju.log(_currentInstance, "could not add connection; target endpoint is full"); + return; + } + + // if source endpoint mandates connection type and nothing specified in our params, use it. + if (!_p.type && _p.sourceEndpoint) { + _p.type = _p.sourceEndpoint.connectionType; + } + + // copy in any connectorOverlays that were specified on the source endpoint. + // it doesnt copy target endpoint overlays. i'm not sure if we want it to or not. + if (_p.sourceEndpoint && _p.sourceEndpoint.connectorOverlays) { + _p.overlays = _p.overlays || []; + for (var i = 0, j = _p.sourceEndpoint.connectorOverlays.length; i < j; i++) { + _p.overlays.push(_p.sourceEndpoint.connectorOverlays[i]); + } + } + + // scope + if (_p.sourceEndpoint && _p.sourceEndpoint.scope) { + _p.scope = _p.sourceEndpoint.scope; + } + + // pointer events + if (!_p["pointer-events"] && _p.sourceEndpoint && _p.sourceEndpoint.connectorPointerEvents) { + _p["pointer-events"] = _p.sourceEndpoint.connectorPointerEvents; + } + + + var _addEndpoint = function (el, def, idx) { + var params = _mergeOverrides(def, { + anchor: _p.anchors ? _p.anchors[idx] : _p.anchor, + endpoint: _p.endpoints ? _p.endpoints[idx] : _p.endpoint, + paintStyle: _p.endpointStyles ? _p.endpointStyles[idx] : _p.endpointStyle, + hoverPaintStyle: _p.endpointHoverStyles ? _p.endpointHoverStyles[idx] : _p.endpointHoverStyle + }); + return _currentInstance.addEndpoint(el, params); + }; + + // check for makeSource/makeTarget specs. + + var _oneElementDef = function (type, idx, defs, matchType) { + if (_p[type] && !_p[type].endpoint && !_p[type + "Endpoint"] && !_p.newConnection) { + var tid = _getId(_p[type]), tep = defs[tid]; + + tep = tep ? tep[matchType] : null; + + if (tep) { + // if not enabled, return. + if (!tep.enabled) { + return false; + } + + var epDef = jsPlumb.extend({}, tep.def); + delete epDef.label; + + var newEndpoint = tep.endpoint != null && tep.endpoint._jsPlumb ? tep.endpoint : _addEndpoint(_p[type], epDef, idx); + if (newEndpoint.isFull()) { + return false; + } + _p[type + "Endpoint"] = newEndpoint; + if (!_p.scope && epDef.scope) { + _p.scope = epDef.scope; + } // provide scope if not already provided and endpoint def has one. + if (tep.uniqueEndpoint) { + if (!tep.endpoint) { + tep.endpoint = newEndpoint; + newEndpoint.setDeleteOnEmpty(false); + } + else { + newEndpoint.finalEndpoint = tep.endpoint; + } + } else { + newEndpoint.setDeleteOnEmpty(true); + } + + // + // copy in connector overlays if present on the source definition. + // + if (idx === 0 && tep.def.connectorOverlays) { + _p.overlays = _p.overlays || []; + Array.prototype.push.apply(_p.overlays, tep.def.connectorOverlays); + } + } + } + }; + + if (_oneElementDef("source", 0, this.sourceEndpointDefinitions, _p.type || "default") === false) { + return; + } + if (_oneElementDef("target", 1, this.targetEndpointDefinitions, _p.type || "default") === false) { + return; + } + + // last, ensure scopes match + if (_p.sourceEndpoint && _p.targetEndpoint) { + if (!_scopeMatch(_p.sourceEndpoint, _p.targetEndpoint)) { + _p = null; + } + } + + return _p; + }.bind(_currentInstance), + + _newConnection = function (params) { + var connectionFunc = _currentInstance.Defaults.ConnectionType || _currentInstance.getDefaultConnectionType(); + + params._jsPlumb = _currentInstance; + params.newConnection = _newConnection; + params.newEndpoint = _newEndpoint; + params.endpointsByUUID = endpointsByUUID; + params.endpointsByElement = endpointsByElement; + params.finaliseConnection = _finaliseConnection; + params.id = "con_" + _idstamp(); + var con = new connectionFunc(params); + + // if the connection is draggable, then maybe we need to tell the target endpoint to init the + // dragging code. it won't run again if it already configured to be draggable. + if (con.isDetachable()) { + con.endpoints[0].initDraggable("_jsPlumbSource"); + con.endpoints[1].initDraggable("_jsPlumbTarget"); + } + + return con; + }, + + // + // adds the connection to the backing model, fires an event if necessary and then redraws + // + _finaliseConnection = _currentInstance.finaliseConnection = function (jpc, params, originalEvent, doInformAnchorManager) { + params = params || {}; + // add to list of connections (by scope). + if (!jpc.suspendedEndpoint) { + connections.push(jpc); + } + + jpc.pending = null; + + // turn off isTemporarySource on the source endpoint (only viable on first draw) + jpc.endpoints[0].isTemporarySource = false; + + // always inform the anchor manager + // except that if jpc has a suspended endpoint it's not true to say the + // connection is new; it has just (possibly) moved. the question is whether + // to make that call here or in the anchor manager. i think perhaps here. + if (doInformAnchorManager !== false) { + _currentInstance.anchorManager.newConnection(jpc); + } + + // force a paint + _draw(jpc.source); + + // fire an event + if (!params.doNotFireConnectionEvent && params.fireEvent !== false) { + + var eventArgs = { + connection: jpc, + source: jpc.source, target: jpc.target, + sourceId: jpc.sourceId, targetId: jpc.targetId, + sourceEndpoint: jpc.endpoints[0], targetEndpoint: jpc.endpoints[1] + }; + + _currentInstance.fire("connection", eventArgs, originalEvent); + } + }, + + /* + factory method to prepare a new endpoint. this should always be used instead of creating Endpoints + manually, since this method attaches event listeners and an id. + */ + _newEndpoint = function (params, id) { + var endpointFunc = _currentInstance.Defaults.EndpointType || jsPlumb.Endpoint; + var _p = jsPlumb.extend({}, params); + //delete _p.label; // not supported by endpoint. + _p._jsPlumb = _currentInstance; + _p.newConnection = _newConnection; + _p.newEndpoint = _newEndpoint; + _p.endpointsByUUID = endpointsByUUID; + _p.endpointsByElement = endpointsByElement; + _p.fireDetachEvent = fireDetachEvent; + _p.elementId = id || _getId(_p.source); + var ep = new endpointFunc(_p); + ep.id = "ep_" + _idstamp(); + _manage(_p.elementId, _p.source); + + if (!jsPlumb.headless) { + _currentInstance.getDragManager().endpointAdded(_p.source, id); + } + + return ep; + }, + + /* + * performs the given function operation on all the connections found + * for the given element id; this means we find all the endpoints for + * the given element, and then for each endpoint find the connectors + * connected to it. then we pass each connection in to the given + * function. + */ + _operation = function (elId, func, endpointFunc) { + var endpoints = endpointsByElement[elId]; + if (endpoints && endpoints.length) { + for (var i = 0, ii = endpoints.length; i < ii; i++) { + for (var j = 0, jj = endpoints[i].connections.length; j < jj; j++) { + var retVal = func(endpoints[i].connections[j]); + // if the function passed in returns true, we exit. + // most functions return false. + if (retVal) { + return; + } + } + if (endpointFunc) { + endpointFunc(endpoints[i]); + } + } + } + }, + + _setDraggable = function (element, draggable) { + return jsPlumb.each(element, function (el) { + if (_currentInstance.isDragSupported(el)) { + draggableStates[_currentInstance.getAttribute(el, "id")] = draggable; + _currentInstance.setElementDraggable(el, draggable); + } + }); + }, + /* + * private method to do the business of hiding/showing. + * + * @param el + * either Id of the element in question or a library specific + * object for the element. + * @param state + * String specifying a value for the css 'display' property + * ('block' or 'none'). + */ + _setVisible = function (el, state, alsoChangeEndpoints) { + state = state === "block"; + var endpointFunc = null; + if (alsoChangeEndpoints) { + endpointFunc = function (ep) { + ep.setVisible(state, true, true); + }; + } + var info = _info(el); + _operation(info.id, function (jpc) { + if (state && alsoChangeEndpoints) { + // this test is necessary because this functionality is new, and i wanted to maintain backwards compatibility. + // this block will only set a connection to be visible if the other endpoint in the connection is also visible. + var oidx = jpc.sourceId === info.id ? 1 : 0; + if (jpc.endpoints[oidx].isVisible()) { + jpc.setVisible(true); + } + } + else { // the default behaviour for show, and what always happens for hide, is to just set the visibility without getting clever. + jpc.setVisible(state); + } + }, endpointFunc); + }, + /** + * private method to do the business of toggling hiding/showing. + */ + _toggleVisible = function (elId, changeEndpoints) { + var endpointFunc = null; + if (changeEndpoints) { + endpointFunc = function (ep) { + var state = ep.isVisible(); + ep.setVisible(!state); + }; + } + _operation(elId, function (jpc) { + var state = jpc.isVisible(); + jpc.setVisible(!state); + }, endpointFunc); + }, + + // TODO comparison performance + _getCachedData = function (elId) { + var o = offsets[elId]; + if (!o) { + return _updateOffset({elId: elId}); + } + else { + return {o: o, s: sizes[elId]}; + } + }, + + /** + * gets an id for the given element, creating and setting one if + * necessary. the id is of the form + * + * jsPlumb__ + * + * where "index in instance" is a monotonically increasing integer that starts at 0, + * for each instance. this method is used not only to assign ids to elements that do not + * have them but also to connections and endpoints. + */ + _getId = function (element, uuid, doNotCreateIfNotFound) { + if (_ju.isString(element)) { + return element; + } + if (element == null) { + return null; + } + var id = _currentInstance.getAttribute(element, "id"); + if (!id || id === "undefined") { + // check if fixed uuid parameter is given + if (arguments.length === 2 && arguments[1] !== undefined) { + id = uuid; + } + else if (arguments.length === 1 || (arguments.length === 3 && !arguments[2])) { + id = "jsPlumb_" + _instanceIndex + "_" + _idstamp(); + } + + if (!doNotCreateIfNotFound) { + _currentInstance.setAttribute(element, "id", id); + } + } + return id; + }; + + this.setConnectionBeingDragged = function (v) { + connectionBeingDragged = v; + }; + this.isConnectionBeingDragged = function () { + return connectionBeingDragged; + }; + + /** + * Returns a map of all the elements this jsPlumbInstance is currently managing. + * @returns {Object} Map of [id-> {el, endpoint[], connection, position}] information. + */ + this.getManagedElements = function() { + return managedElements; + }; + + this.connectorClass = "jtk-connector"; + this.connectorOutlineClass = "jtk-connector-outline"; + this.connectedClass = "jtk-connected"; + this.hoverClass = "jtk-hover"; + this.endpointClass = "jtk-endpoint"; + this.endpointConnectedClass = "jtk-endpoint-connected"; + this.endpointFullClass = "jtk-endpoint-full"; + this.endpointDropAllowedClass = "jtk-endpoint-drop-allowed"; + this.endpointDropForbiddenClass = "jtk-endpoint-drop-forbidden"; + this.overlayClass = "jtk-overlay"; + this.draggingClass = "jtk-dragging";// CONVERTED + this.elementDraggingClass = "jtk-element-dragging";// CONVERTED + this.sourceElementDraggingClass = "jtk-source-element-dragging"; // CONVERTED + this.targetElementDraggingClass = "jtk-target-element-dragging";// CONVERTED + this.endpointAnchorClassPrefix = "jtk-endpoint-anchor"; + this.hoverSourceClass = "jtk-source-hover"; + this.hoverTargetClass = "jtk-target-hover"; + this.dragSelectClass = "jtk-drag-select"; + + this.Anchors = {}; + this.Connectors = { "svg": {} }; + this.Endpoints = { "svg": {} }; + this.Overlays = { "svg": {} } ; + this.ConnectorRenderers = {}; + this.SVG = "svg"; + +// --------------------------- jsPlumbInstance public API --------------------------------------------------------- + + + this.addEndpoint = function (el, params, referenceParams) { + referenceParams = referenceParams || {}; + var p = jsPlumb.extend({}, referenceParams); + jsPlumb.extend(p, params); + p.endpoint = p.endpoint || _currentInstance.Defaults.Endpoint; + p.paintStyle = p.paintStyle || _currentInstance.Defaults.EndpointStyle; + + var results = [], + inputs = (_ju.isArray(el) || (el.length != null && !_ju.isString(el))) ? el : [ el ]; + + for (var i = 0, j = inputs.length; i < j; i++) { + p.source = _currentInstance.getElement(inputs[i]); + _ensureContainer(p.source); + + var id = _getId(p.source), e = _newEndpoint(p, id); + + // ensure element is managed. force a recalc if drawing not suspended, to ensure the cached value is fresh + var myOffset = _manage(id, p.source, null, !_suspendDrawing).info.o; + _ju.addToList(endpointsByElement, id, e); + + if (!_suspendDrawing) { + e.paint({ + anchorLoc: e.anchor.compute({ xy: [ myOffset.left, myOffset.top ], wh: sizes[id], element: e, timestamp: _suspendedAt }), + timestamp: _suspendedAt + }); + } + + results.push(e); + } + + return results.length === 1 ? results[0] : results; + }; + + this.addEndpoints = function (el, endpoints, referenceParams) { + var results = []; + for (var i = 0, j = endpoints.length; i < j; i++) { + var e = _currentInstance.addEndpoint(el, endpoints[i], referenceParams); + if (_ju.isArray(e)) { + Array.prototype.push.apply(results, e); + } + else { + results.push(e); + } + } + return results; + }; + + this.animate = function (el, properties, options) { + if (!this.animationSupported) { + return false; + } + + options = options || {}; + var del = _currentInstance.getElement(el), + id = _getId(del), + stepFunction = jsPlumb.animEvents.step, + completeFunction = jsPlumb.animEvents.complete; + + options[stepFunction] = _ju.wrap(options[stepFunction], function () { + _currentInstance.revalidate(id); + }); + + // onComplete repaints, just to make sure everything looks good at the end of the animation. + options[completeFunction] = _ju.wrap(options[completeFunction], function () { + _currentInstance.revalidate(id); + }); + + _currentInstance.doAnimate(del, properties, options); + }; + + /** + * checks for a listener for the given condition, executing it if found, passing in the given value. + * condition listeners would have been attached using "bind" (which is, you could argue, now overloaded, since + * firing click events etc is a bit different to what this does). i thought about adding a "bindCondition" + * or something, but decided against it, for the sake of simplicity. jsPlumb will never fire one of these + * condition events anyway. + */ + this.checkCondition = function (conditionName, args) { + var l = _currentInstance.getListener(conditionName), + r = true; + + if (l && l.length > 0) { + var values = Array.prototype.slice.call(arguments, 1); + try { + for (var i = 0, j = l.length; i < j; i++) { + r = r && l[i].apply(l[i], values); + } + } + catch (e) { + _ju.log(_currentInstance, "cannot check condition [" + conditionName + "]" + e); + } + } + return r; + }; + + this.connect = function (params, referenceParams) { + // prepare a final set of parameters to create connection with + var _p = _prepareConnectionParams(params, referenceParams), jpc; + // TODO probably a nicer return value if the connection was not made. _prepareConnectionParams + // will return null (and log something) if either endpoint was full. what would be nicer is to + // create a dedicated 'error' object. + if (_p) { + if (_p.source == null && _p.sourceEndpoint == null) { + _ju.log("Cannot establish connection - source does not exist"); + return; + } + if (_p.target == null && _p.targetEndpoint == null) { + _ju.log("Cannot establish connection - target does not exist"); + return; + } + _ensureContainer(_p.source); + // create the connection. it is not yet registered + jpc = _newConnection(_p); + // now add it the model, fire an event, and redraw + _finaliseConnection(jpc, _p); + } + return jpc; + }; + + var stTypes = [ + { el: "source", elId: "sourceId", epDefs: "sourceEndpointDefinitions" }, + { el: "target", elId: "targetId", epDefs: "targetEndpointDefinitions" } + ]; + + var _set = function (c, el, idx, doNotRepaint) { + var ep, _st = stTypes[idx], cId = c[_st.elId], cEl = c[_st.el], sid, sep, + oldEndpoint = c.endpoints[idx]; + + var evtParams = { + index: idx, + originalSourceId: idx === 0 ? cId : c.sourceId, + newSourceId: c.sourceId, + originalTargetId: idx === 1 ? cId : c.targetId, + newTargetId: c.targetId, + connection: c + }; + + if (el.constructor === jsPlumb.Endpoint) { + ep = el; + ep.addConnection(c); + el = ep.element; + } + else { + sid = _getId(el); + sep = this[_st.epDefs][sid]; + + if (sid === c[_st.elId]) { + ep = null; // dont change source/target if the element is already the one given. + } + else if (sep) { + for (var t in sep) { + if (!sep[t].enabled) { + return; + } + ep = sep[t].endpoint != null && sep[t].endpoint._jsPlumb ? sep[t].endpoint : this.addEndpoint(el, sep[t].def); + if (sep[t].uniqueEndpoint) { + sep[t].endpoint = ep; + } + ep.addConnection(c); + } + } + else { + ep = c.makeEndpoint(idx === 0, el, sid); + } + } + + if (ep != null) { + oldEndpoint.detachFromConnection(c); + c.endpoints[idx] = ep; + c[_st.el] = ep.element; + c[_st.elId] = ep.elementId; + evtParams[idx === 0 ? "newSourceId" : "newTargetId"] = ep.elementId; + + fireMoveEvent(evtParams); + + if (!doNotRepaint) { + c.repaint(); + } + } + + evtParams.element = el; + return evtParams; + + }.bind(this); + + this.setSource = function (connection, el, doNotRepaint) { + var p = _set(connection, el, 0, doNotRepaint); + this.anchorManager.sourceChanged(p.originalSourceId, p.newSourceId, connection, p.el); + }; + this.setTarget = function (connection, el, doNotRepaint) { + var p = _set(connection, el, 1, doNotRepaint); + this.anchorManager.updateOtherEndpoint(p.originalSourceId, p.originalTargetId, p.newTargetId, connection); + }; + + this.deleteEndpoint = function (object, dontUpdateHover, deleteAttachedObjects) { + var endpoint = (typeof object === "string") ? endpointsByUUID[object] : object; + if (endpoint) { + _currentInstance.deleteObject({ endpoint: endpoint, dontUpdateHover: dontUpdateHover, deleteAttachedObjects:deleteAttachedObjects }); + } + return _currentInstance; + }; + + this.deleteEveryEndpoint = function () { + var _is = _currentInstance.setSuspendDrawing(true); + for (var id in endpointsByElement) { + var endpoints = endpointsByElement[id]; + if (endpoints && endpoints.length) { + for (var i = 0, j = endpoints.length; i < j; i++) { + _currentInstance.deleteEndpoint(endpoints[i], true); + } + } + } + endpointsByElement = {}; + managedElements = {}; + endpointsByUUID = {}; + offsets = {}; + offsetTimestamps = {}; + _currentInstance.anchorManager.reset(); + var dm = _currentInstance.getDragManager(); + if (dm) { + dm.reset(); + } + if (!_is) { + _currentInstance.setSuspendDrawing(false); + } + return _currentInstance; + }; + + var fireDetachEvent = function (jpc, doFireEvent, originalEvent) { + // may have been given a connection, or in special cases, an object + var connType = _currentInstance.Defaults.ConnectionType || _currentInstance.getDefaultConnectionType(), + argIsConnection = jpc.constructor === connType, + params = argIsConnection ? { + connection: jpc, + source: jpc.source, target: jpc.target, + sourceId: jpc.sourceId, targetId: jpc.targetId, + sourceEndpoint: jpc.endpoints[0], targetEndpoint: jpc.endpoints[1] + } : jpc; + + if (doFireEvent) { + _currentInstance.fire("connectionDetached", params, originalEvent); + } + + // always fire this. used by internal jsplumb stuff. + _currentInstance.fire("internal.connectionDetached", params, originalEvent); + + _currentInstance.anchorManager.connectionDetached(params); + }; + + var fireMoveEvent = _currentInstance.fireMoveEvent = function (params, evt) { + _currentInstance.fire("connectionMoved", params, evt); + }; + + this.unregisterEndpoint = function (endpoint) { + if (endpoint._jsPlumb.uuid) { + endpointsByUUID[endpoint._jsPlumb.uuid] = null; + } + _currentInstance.anchorManager.deleteEndpoint(endpoint); + // TODO at least replace this with a removeWithFunction call. + for (var e in endpointsByElement) { + var endpoints = endpointsByElement[e]; + if (endpoints) { + var newEndpoints = []; + for (var i = 0, j = endpoints.length; i < j; i++) { + if (endpoints[i] !== endpoint) { + newEndpoints.push(endpoints[i]); + } + } + + endpointsByElement[e] = newEndpoints; + } + if (endpointsByElement[e].length < 1) { + delete endpointsByElement[e]; + } + } + }; + + var IS_DETACH_ALLOWED = "isDetachAllowed"; + var BEFORE_DETACH = "beforeDetach"; + var CHECK_CONDITION = "checkCondition"; + + /** + * Deletes a Connection. + * @method deleteConnection + * @param connection Connection to delete + * @param {Object} [params] Optional delete parameters + * @param {Boolean} [params.doNotFireEvent=false] If true, a connection detached event will not be fired. Otherwise one will. + * @param {Boolean} [params.force=false] If true, the connection will be deleted even if a beforeDetach interceptor tries to stop the deletion. + * @returns {Boolean} True if the connection was deleted, false otherwise. + */ + this.deleteConnection = function(connection, params) { + + if (connection != null) { + params = params || {}; + + if (params.force || _ju.functionChain(true, false, [ + [ connection.endpoints[0], IS_DETACH_ALLOWED, [ connection ] ], + [ connection.endpoints[1], IS_DETACH_ALLOWED, [ connection ] ], + [ connection, IS_DETACH_ALLOWED, [ connection ] ], + [ _currentInstance, CHECK_CONDITION, [ BEFORE_DETACH, connection ] ] + ])) { + + connection.setHover(false); + fireDetachEvent(connection, !connection.pending && params.fireEvent !== false, params.originalEvent); + + connection.endpoints[0].detachFromConnection(connection); + connection.endpoints[1].detachFromConnection(connection); + _ju.removeWithFunction(connections, function (_c) { + return connection.id === _c.id; + }); + + connection.cleanup(); + connection.destroy(); + return true; + } + } + return false; + }; + + /** + * Remove all Connections from all elements, but leaves Endpoints in place ((unless a connection is set to auto delete its Endpoints). + * @method deleteEveryConnection + * @param {Object} [params] optional params object for the call + * @param {Boolean} [params.fireEvent=true] Whether or not to fire detach events + * @param {Boolean} [params.forceDetach=false] If true, this call will ignore any `beforeDetach` interceptors. + * @returns {Number} The number of connections that were deleted. + */ + this.deleteEveryConnection = function (params) { + params = params || {}; + var count = connections.length, deletedCount = 0; + _currentInstance.batch(function () { + for (var i = 0; i < count; i++) { + deletedCount += _currentInstance.deleteConnection(connections[0], params) ? 1 : 0; + } + }); + return deletedCount; + }; + + /** + * Removes all an element's Connections. + * @method deleteConnectionsForElement + * @param {Object} el Either the id of the element, or a selector for the element. + * @param {Object} [params] Optional parameters. + * @param {Boolean} [params.fireEvent=true] Whether or not to fire the detach event. + * @param {Boolean} [params.forceDetach=false] If true, this call will ignore any `beforeDetach` interceptors. + * @return {jsPlumbInstance} The current jsPlumb instance. + */ + this.deleteConnectionsForElement = function (el, params) { + params = params || {}; + el = _currentInstance.getElement(el); + var id = _getId(el), endpoints = endpointsByElement[id]; + if (endpoints && endpoints.length) { + for (var i = 0, j = endpoints.length; i < j; i++) { + endpoints[i].deleteEveryConnection(params); + } + } + return _currentInstance; + }; + + /// not public. but of course its exposed. how to change this. + this.deleteObject = function (params) { + var result = { + endpoints: {}, + connections: {}, + endpointCount: 0, + connectionCount: 0 + }, + deleteAttachedObjects = params.deleteAttachedObjects !== false; + + var unravelConnection = function (connection) { + if (connection != null && result.connections[connection.id] == null) { + if (!params.dontUpdateHover && connection._jsPlumb != null) { + connection.setHover(false); + } + result.connections[connection.id] = connection; + result.connectionCount++; + } + }; + var unravelEndpoint = function (endpoint) { + if (endpoint != null && result.endpoints[endpoint.id] == null) { + if (!params.dontUpdateHover && endpoint._jsPlumb != null) { + endpoint.setHover(false); + } + result.endpoints[endpoint.id] = endpoint; + result.endpointCount++; + + if (deleteAttachedObjects) { + for (var i = 0; i < endpoint.connections.length; i++) { + var c = endpoint.connections[i]; + unravelConnection(c); + } + } + } + }; + + if (params.connection) { + unravelConnection(params.connection); + } + else { + unravelEndpoint(params.endpoint); + } + + // loop through connections + for (var i in result.connections) { + var c = result.connections[i]; + if (c._jsPlumb) { + _ju.removeWithFunction(connections, function (_c) { + return c.id === _c.id; + }); + + fireDetachEvent(c, params.fireEvent === false ? false : !c.pending, params.originalEvent); + var doNotCleanup = params.deleteAttachedObjects == null ? null : !params.deleteAttachedObjects; + + c.endpoints[0].detachFromConnection(c, null, doNotCleanup); + c.endpoints[1].detachFromConnection(c, null, doNotCleanup); + + c.cleanup(true); + c.destroy(true); + } + } + + // loop through endpoints + for (var j in result.endpoints) { + var e = result.endpoints[j]; + if (e._jsPlumb) { + _currentInstance.unregisterEndpoint(e); + // FIRE some endpoint deleted event? + e.cleanup(true); + e.destroy(true); + } + } + + return result; + }; + + + // helpers for select/selectEndpoints + var _setOperation = function (list, func, args, selector) { + for (var i = 0, j = list.length; i < j; i++) { + list[i][func].apply(list[i], args); + } + return selector(list); + }, + _getOperation = function (list, func, args) { + var out = []; + for (var i = 0, j = list.length; i < j; i++) { + out.push([ list[i][func].apply(list[i], args), list[i] ]); + } + return out; + }, + setter = function (list, func, selector) { + return function () { + return _setOperation(list, func, arguments, selector); + }; + }, + getter = function (list, func) { + return function () { + return _getOperation(list, func, arguments); + }; + }, + prepareList = function (input, doNotGetIds) { + var r = []; + if (input) { + if (typeof input === 'string') { + if (input === "*") { + return input; + } + r.push(input); + } + else { + if (doNotGetIds) { + r = input; + } + else { + if (input.length) { + for (var i = 0, j = input.length; i < j; i++) { + r.push(_info(input[i]).id); + } + } + else { + r.push(_info(input).id); + } + } + } + } + return r; + }, + filterList = function (list, value, missingIsFalse) { + if (list === "*") { + return true; + } + return list.length > 0 ? list.indexOf(value) !== -1 : !missingIsFalse; + }; + + // get some connections, specifying source/target/scope + this.getConnections = function (options, flat) { + if (!options) { + options = {}; + } else if (options.constructor === String) { + options = { "scope": options }; + } + var scope = options.scope || _currentInstance.getDefaultScope(), + scopes = prepareList(scope, true), + sources = prepareList(options.source), + targets = prepareList(options.target), + results = (!flat && scopes.length > 1) ? {} : [], + _addOne = function (scope, obj) { + if (!flat && scopes.length > 1) { + var ss = results[scope]; + if (ss == null) { + ss = results[scope] = []; + } + ss.push(obj); + } else { + results.push(obj); + } + }; + + for (var j = 0, jj = connections.length; j < jj; j++) { + var c = connections[j], + sourceId = c.proxies && c.proxies[0] ? c.proxies[0].originalEp.elementId : c.sourceId, + targetId = c.proxies && c.proxies[1] ? c.proxies[1].originalEp.elementId : c.targetId; + + if (filterList(scopes, c.scope) && filterList(sources, sourceId) && filterList(targets, targetId)) { + _addOne(c.scope, c); + } + } + + return results; + }; + + var _curryEach = function (list, executor) { + return function (f) { + for (var i = 0, ii = list.length; i < ii; i++) { + f(list[i]); + } + return executor(list); + }; + }, + _curryGet = function (list) { + return function (idx) { + return list[idx]; + }; + }; + + var _makeCommonSelectHandler = function (list, executor) { + var out = { + length: list.length, + each: _curryEach(list, executor), + get: _curryGet(list) + }, + setters = ["setHover", "removeAllOverlays", "setLabel", "addClass", "addOverlay", "removeOverlay", + "removeOverlays", "showOverlay", "hideOverlay", "showOverlays", "hideOverlays", "setPaintStyle", + "setHoverPaintStyle", "setSuspendEvents", "setParameter", "setParameters", "setVisible", + "repaint", "addType", "toggleType", "removeType", "removeClass", "setType", "bind", "unbind" ], + + getters = ["getLabel", "getOverlay", "isHover", "getParameter", "getParameters", "getPaintStyle", + "getHoverPaintStyle", "isVisible", "hasType", "getType", "isSuspendEvents" ], + i, ii; + + for (i = 0, ii = setters.length; i < ii; i++) { + out[setters[i]] = setter(list, setters[i], executor); + } + + for (i = 0, ii = getters.length; i < ii; i++) { + out[getters[i]] = getter(list, getters[i]); + } + + return out; + }; + + var _makeConnectionSelectHandler = function (list) { + var common = _makeCommonSelectHandler(list, _makeConnectionSelectHandler); + return jsPlumb.extend(common, { + // setters + setDetachable: setter(list, "setDetachable", _makeConnectionSelectHandler), + setReattach: setter(list, "setReattach", _makeConnectionSelectHandler), + setConnector: setter(list, "setConnector", _makeConnectionSelectHandler), + delete: function () { + for (var i = 0, ii = list.length; i < ii; i++) { + _currentInstance.deleteConnection(list[i]); + } + }, + // getters + isDetachable: getter(list, "isDetachable"), + isReattach: getter(list, "isReattach") + }); + }; + + var _makeEndpointSelectHandler = function (list) { + var common = _makeCommonSelectHandler(list, _makeEndpointSelectHandler); + return jsPlumb.extend(common, { + setEnabled: setter(list, "setEnabled", _makeEndpointSelectHandler), + setAnchor: setter(list, "setAnchor", _makeEndpointSelectHandler), + isEnabled: getter(list, "isEnabled"), + deleteEveryConnection: function () { + for (var i = 0, ii = list.length; i < ii; i++) { + list[i].deleteEveryConnection(); + } + }, + "delete": function () { + for (var i = 0, ii = list.length; i < ii; i++) { + _currentInstance.deleteEndpoint(list[i]); + } + } + }); + }; + + this.select = function (params) { + params = params || {}; + params.scope = params.scope || "*"; + return _makeConnectionSelectHandler(params.connections || _currentInstance.getConnections(params, true)); + }; + + this.selectEndpoints = function (params) { + params = params || {}; + params.scope = params.scope || "*"; + var noElementFilters = !params.element && !params.source && !params.target, + elements = noElementFilters ? "*" : prepareList(params.element), + sources = noElementFilters ? "*" : prepareList(params.source), + targets = noElementFilters ? "*" : prepareList(params.target), + scopes = prepareList(params.scope, true); + + var ep = []; + + for (var el in endpointsByElement) { + var either = filterList(elements, el, true), + source = filterList(sources, el, true), + sourceMatchExact = sources !== "*", + target = filterList(targets, el, true), + targetMatchExact = targets !== "*"; + + // if they requested 'either' then just match scope. otherwise if they requested 'source' (not as a wildcard) then we have to match only endpoints that have isSource set to to true, and the same thing with isTarget. + if (either || source || target) { + inner: + for (var i = 0, ii = endpointsByElement[el].length; i < ii; i++) { + var _ep = endpointsByElement[el][i]; + if (filterList(scopes, _ep.scope, true)) { + + var noMatchSource = (sourceMatchExact && sources.length > 0 && !_ep.isSource), + noMatchTarget = (targetMatchExact && targets.length > 0 && !_ep.isTarget); + + if (noMatchSource || noMatchTarget) { + continue inner; + } + + ep.push(_ep); + } + } + } + } + + return _makeEndpointSelectHandler(ep); + }; + + // get all connections managed by the instance of jsplumb. + this.getAllConnections = function () { + return connections; + }; + this.getDefaultScope = function () { + return DEFAULT_SCOPE; + }; + // get an endpoint by uuid. + this.getEndpoint = _getEndpoint; + /** + * Gets the list of Endpoints for a given element. + * @method getEndpoints + * @param {String|Element|Selector} el The element to get endpoints for. + * @return {Endpoint[]} An array of Endpoints for the specified element. + */ + this.getEndpoints = function (el) { + return endpointsByElement[_info(el).id] || []; + }; + // gets the default endpoint type. used when subclassing. see wiki. + this.getDefaultEndpointType = function () { + return jsPlumb.Endpoint; + }; + // gets the default connection type. used when subclassing. see wiki. + this.getDefaultConnectionType = function () { + return jsPlumb.Connection; + }; + /* + * Gets an element's id, creating one if necessary. really only exposed + * for the lib-specific functionality to access; would be better to pass + * the current instance into the lib-specific code (even though this is + * a static call. i just don't want to expose it to the public API). + */ + this.getId = _getId; + this.draw = _draw; + this.info = _info; + + this.appendElement = _appendElement; + + var _hoverSuspended = false; + this.isHoverSuspended = function () { + return _hoverSuspended; + }; + this.setHoverSuspended = function (s) { + _hoverSuspended = s; + }; + + // set an element's connections to be hidden + this.hide = function (el, changeEndpoints) { + _setVisible(el, "none", changeEndpoints); + return _currentInstance; + }; + + // exposed for other objects to use to get a unique id. + this.idstamp = _idstamp; + + // ensure that, if the current container exists, it is a DOM element and not a selector. + // if it does not exist and `candidate` is supplied, the offset parent of that element will be set as the Container. + // this is used to do a better default behaviour for the case that the user has not set a container: + // addEndpoint, makeSource, makeTarget and connect all call this method with the offsetParent of the + // element in question (for connect it is the source element). So if no container is set, it is inferred + // to be the offsetParent of the first element the user tries to connect. + var _ensureContainer = function (candidate) { + if (!_container && candidate) { + var can = _currentInstance.getElement(candidate); + if (can.offsetParent) { + _currentInstance.setContainer(can.offsetParent); + } + } + }; + + var _getContainerFromDefaults = function () { + if (_currentInstance.Defaults.Container) { + _currentInstance.setContainer(_currentInstance.Defaults.Container); + } + }; + + // check if a given element is managed or not. if not, add to our map. if drawing is not suspended then + // we'll also stash its dimensions; otherwise we'll do this in a lazy way through updateOffset. + var _manage = _currentInstance.manage = function (id, element, _transient, _recalc) { + if (!managedElements[id]) { + managedElements[id] = { + el: element, + endpoints: [], + connections: [] + }; + + managedElements[id].info = _updateOffset({ elId: id, timestamp: _suspendedAt }); + _currentInstance.addClass(element, "jtk-managed"); + + if (!_transient) { + _currentInstance.fire("manageElement", { id:id, info:managedElements[id].info, el:element }); + } + } else { + if (_recalc) { + managedElements[id].info = _updateOffset({ elId: id, timestamp: _suspendedAt, recalc:true }); + } + } + + return managedElements[id]; + }; + + var _unmanage = _currentInstance.unmanage = function(id) { + if (managedElements[id]) { + var el = managedElements[id].el; + _currentInstance.removeClass(el, "jtk-managed"); + delete managedElements[id]; + _currentInstance.fire("unmanageElement", {id:id, el:el}); + } + }; + + /** + * updates the offset and size for a given element, and stores the + * values. if 'offset' is not null we use that (it would have been + * passed in from a drag call) because it's faster; but if it is null, + * or if 'recalc' is true in order to force a recalculation, we get the current values. + * @method updateOffset + */ + var _updateOffset = function (params) { + + var timestamp = params.timestamp, recalc = params.recalc, offset = params.offset, elId = params.elId, s; + if (_suspendDrawing && !timestamp) { + timestamp = _suspendedAt; + } + if (!recalc) { + if (timestamp && timestamp === offsetTimestamps[elId]) { + return {o: params.offset || offsets[elId], s: sizes[elId]}; + } + } + if (recalc || (!offset && offsets[elId] == null)) { // if forced repaint or no offset available, we recalculate. + + // get the current size and offset, and store them + s = managedElements[elId] ? managedElements[elId].el : null; + if (s != null) { + sizes[elId] = _currentInstance.getSize(s); + offsets[elId] = _currentInstance.getOffset(s); + offsetTimestamps[elId] = timestamp; + } + } else { + offsets[elId] = offset || offsets[elId]; + if (sizes[elId] == null) { + s = managedElements[elId].el; + if (s != null) { + sizes[elId] = _currentInstance.getSize(s); + } + } + offsetTimestamps[elId] = timestamp; + } + + if (offsets[elId] && !offsets[elId].right) { + offsets[elId].right = offsets[elId].left + sizes[elId][0]; + offsets[elId].bottom = offsets[elId].top + sizes[elId][1]; + offsets[elId].width = sizes[elId][0]; + offsets[elId].height = sizes[elId][1]; + offsets[elId].centerx = offsets[elId].left + (offsets[elId].width / 2); + offsets[elId].centery = offsets[elId].top + (offsets[elId].height / 2); + } + + return {o: offsets[elId], s: sizes[elId]}; + }; + + this.updateOffset = _updateOffset; + + /** + * callback from the current library to tell us to prepare ourselves (attach + * mouse listeners etc; can't do that until the library has provided a bind method) + */ + this.init = function () { + if (!initialized) { + _getContainerFromDefaults(); + _currentInstance.anchorManager = new root.jsPlumb.AnchorManager({jsPlumbInstance: _currentInstance}); + initialized = true; + _currentInstance.fire("ready", _currentInstance); + } + }.bind(this); + + this.log = log; + this.jsPlumbUIComponent = jsPlumbUIComponent; + + /* + * Creates an anchor with the given params. + * + * + * Returns: The newly created Anchor. + * Throws: an error if a named anchor was not found. + */ + this.makeAnchor = function () { + var pp, _a = function (t, p) { + if (root.jsPlumb.Anchors[t]) { + return new root.jsPlumb.Anchors[t](p); + } + if (!_currentInstance.Defaults.DoNotThrowErrors) { + throw { msg: "jsPlumb: unknown anchor type '" + t + "'" }; + } + }; + if (arguments.length === 0) { + return null; + } + var specimen = arguments[0], elementId = arguments[1], jsPlumbInstance = arguments[2], newAnchor = null; + // if it appears to be an anchor already... + if (specimen.compute && specimen.getOrientation) { + return specimen; + } //TODO hazy here about whether it should be added or is already added somehow. + // is it the name of an anchor type? + else if (typeof specimen === "string") { + newAnchor = _a(arguments[0], {elementId: elementId, jsPlumbInstance: _currentInstance}); + } + // is it an array? it will be one of: + // an array of [spec, params] - this defines a single anchor, which may be dynamic, but has parameters. + // an array of arrays - this defines some dynamic anchors + // an array of numbers - this defines a single anchor. + else if (_ju.isArray(specimen)) { + if (_ju.isArray(specimen[0]) || _ju.isString(specimen[0])) { + // if [spec, params] format + if (specimen.length === 2 && _ju.isObject(specimen[1])) { + // if first arg is a string, its a named anchor with params + if (_ju.isString(specimen[0])) { + pp = root.jsPlumb.extend({elementId: elementId, jsPlumbInstance: _currentInstance}, specimen[1]); + newAnchor = _a(specimen[0], pp); + } + // otherwise first arg is array, second is params. we treat as a dynamic anchor, which is fine + // even if the first arg has only one entry. you could argue all anchors should be implicitly dynamic in fact. + else { + pp = root.jsPlumb.extend({elementId: elementId, jsPlumbInstance: _currentInstance, anchors: specimen[0]}, specimen[1]); + newAnchor = new root.jsPlumb.DynamicAnchor(pp); + } + } + else { + newAnchor = new jsPlumb.DynamicAnchor({anchors: specimen, selector: null, elementId: elementId, jsPlumbInstance: _currentInstance}); + } + + } + else { + var anchorParams = { + x: specimen[0], y: specimen[1], + orientation: (specimen.length >= 4) ? [ specimen[2], specimen[3] ] : [0, 0], + offsets: (specimen.length >= 6) ? [ specimen[4], specimen[5] ] : [ 0, 0 ], + elementId: elementId, + jsPlumbInstance: _currentInstance, + cssClass: specimen.length === 7 ? specimen[6] : null + }; + newAnchor = new root.jsPlumb.Anchor(anchorParams); + newAnchor.clone = function () { + return new root.jsPlumb.Anchor(anchorParams); + }; + } + } + + if (!newAnchor.id) { + newAnchor.id = "anchor_" + _idstamp(); + } + return newAnchor; + }; + + /** + * makes a list of anchors from the given list of types or coords, eg + * ["TopCenter", "RightMiddle", "BottomCenter", [0, 1, -1, -1] ] + */ + this.makeAnchors = function (types, elementId, jsPlumbInstance) { + var r = []; + for (var i = 0, ii = types.length; i < ii; i++) { + if (typeof types[i] === "string") { + r.push(root.jsPlumb.Anchors[types[i]]({elementId: elementId, jsPlumbInstance: jsPlumbInstance})); + } + else if (_ju.isArray(types[i])) { + r.push(_currentInstance.makeAnchor(types[i], elementId, jsPlumbInstance)); + } + } + return r; + }; + + /** + * Makes a dynamic anchor from the given list of anchors (which may be in shorthand notation as strings or dimension arrays, or Anchor + * objects themselves) and the given, optional, anchorSelector function (jsPlumb uses a default if this is not provided; most people will + * not need to provide this - i think). + */ + this.makeDynamicAnchor = function (anchors, anchorSelector) { + return new root.jsPlumb.DynamicAnchor({anchors: anchors, selector: anchorSelector, elementId: null, jsPlumbInstance: _currentInstance}); + }; + +// --------------------- makeSource/makeTarget ---------------------------------------------- + + this.targetEndpointDefinitions = {}; + this.sourceEndpointDefinitions = {}; + + var selectorFilter = function (evt, _el, selector, _instance, negate) { + var t = evt.target || evt.srcElement, ok = false, + sel = _instance.getSelector(_el, selector); + for (var j = 0; j < sel.length; j++) { + if (sel[j] === t) { + ok = true; + break; + } + } + return negate ? !ok : ok; + }; + + var _makeElementDropHandler = function (elInfo, p, dropOptions, isSource, isTarget) { + var proxyComponent = new jsPlumbUIComponent(p); + var _drop = p._jsPlumb.EndpointDropHandler({ + jsPlumb: _currentInstance, + enabled: function () { + return elInfo.def.enabled; + }, + isFull: function () { + var targetCount = _currentInstance.select({target: elInfo.id}).length; + return elInfo.def.maxConnections > 0 && targetCount >= elInfo.def.maxConnections; + }, + element: elInfo.el, + elementId: elInfo.id, + isSource: isSource, + isTarget: isTarget, + addClass: function (clazz) { + _currentInstance.addClass(elInfo.el, clazz); + }, + removeClass: function (clazz) { + _currentInstance.removeClass(elInfo.el, clazz); + }, + onDrop: function (jpc) { + var source = jpc.endpoints[0]; + source.anchor.unlock(); + }, + isDropAllowed: function () { + return proxyComponent.isDropAllowed.apply(proxyComponent, arguments); + }, + isRedrop:function(jpc) { + return (jpc.suspendedElement != null && jpc.suspendedEndpoint != null && jpc.suspendedEndpoint.element === elInfo.el); + }, + getEndpoint: function (jpc) { + + // make a new Endpoint for the target, or get it from the cache if uniqueEndpoint + // is set. if its a redrop the new endpoint will be immediately cleaned up. + + var newEndpoint = elInfo.def.endpoint; + + // if no cached endpoint, or there was one but it has been cleaned up + // (ie. detached), create a new one + if (newEndpoint == null || newEndpoint._jsPlumb == null) { + var eps = _currentInstance.deriveEndpointAndAnchorSpec(jpc.getType().join(" "), true); + var pp = eps.endpoints ? root.jsPlumb.extend(p, { + endpoint:elInfo.def.def.endpoint || eps.endpoints[1] + }) :p; + if (eps.anchors) { + pp = root.jsPlumb.extend(pp, { + anchor:elInfo.def.def.anchor || eps.anchors[1] + }); + } + newEndpoint = _currentInstance.addEndpoint(elInfo.el, pp); + newEndpoint._mtNew = true; + } + + if (p.uniqueEndpoint) { + elInfo.def.endpoint = newEndpoint; + } + + newEndpoint.setDeleteOnEmpty(true); + + // if connection is detachable, init the new endpoint to be draggable, to support that happening. + if (jpc.isDetachable()) { + newEndpoint.initDraggable(); + } + + // if the anchor has a 'positionFinder' set, then delegate to that function to find + // out where to locate the anchor. + if (newEndpoint.anchor.positionFinder != null) { + var dropPosition = _currentInstance.getUIPosition(arguments, _currentInstance.getZoom()), + elPosition = _currentInstance.getOffset(elInfo.el), + elSize = _currentInstance.getSize(elInfo.el), + ap = dropPosition == null ? [0,0] : newEndpoint.anchor.positionFinder(dropPosition, elPosition, elSize, newEndpoint.anchor.constructorParams); + + newEndpoint.anchor.x = ap[0]; + newEndpoint.anchor.y = ap[1]; + // now figure an orientation for it..kind of hard to know what to do actually. probably the best thing i can do is to + // support specifying an orientation in the anchor's spec. if one is not supplied then i will make the orientation + // be what will cause the most natural link to the source: it will be pointing at the source, but it needs to be + // specified in one axis only, and so how to make that choice? i think i will use whichever axis is the one in which + // the target is furthest away from the source. + } + + return newEndpoint; + }, + maybeCleanup: function (ep) { + if (ep._mtNew && ep.connections.length === 0) { + _currentInstance.deleteObject({endpoint: ep}); + } + else { + delete ep._mtNew; + } + } + }); + + // wrap drop events as needed and initialise droppable + var dropEvent = root.jsPlumb.dragEvents.drop; + dropOptions.scope = dropOptions.scope || (p.scope || _currentInstance.Defaults.Scope); + dropOptions[dropEvent] = _ju.wrap(dropOptions[dropEvent], _drop, true); + dropOptions.rank = p.rank || 0; + + // if target, return true from the over event. this will cause katavorio to stop setting drops to hover + // if multipleDrop is set to false. + if (isTarget) { + dropOptions[root.jsPlumb.dragEvents.over] = function () { return true; }; + } + + // vanilla jsplumb only + if (p.allowLoopback === false) { + dropOptions.canDrop = function (_drag) { + var de = _drag.getDragElement()._jsPlumbRelatedElement; + return de !== elInfo.el; + }; + } + _currentInstance.initDroppable(elInfo.el, dropOptions, "internal"); + + return _drop; + + }; + + // see API docs + this.makeTarget = function (el, params, referenceParams) { + + // put jsplumb ref into params without altering the params passed in + var p = root.jsPlumb.extend({_jsPlumb: this}, referenceParams); + root.jsPlumb.extend(p, params); + + var maxConnections = p.maxConnections || -1, + + _doOne = function (el) { + + // get the element's id and store the endpoint definition for it. jsPlumb.connect calls will look for one of these, + // and use the endpoint definition if found. + // decode the info for this element (id and element) + var elInfo = _info(el), + elid = elInfo.id, + dropOptions = root.jsPlumb.extend({}, p.dropOptions || {}), + type = p.connectionType || "default"; + + this.targetEndpointDefinitions[elid] = this.targetEndpointDefinitions[elid] || {}; + + _ensureContainer(elid); + + // if this is a group and the user has not mandated a rank, set to -1 so that Nodes takes + // precedence. + if (elInfo.el._isJsPlumbGroup && dropOptions.rank == null) { + dropOptions.rank = -1; + } + + // store the definition + var _def = { + def: root.jsPlumb.extend({}, p), + uniqueEndpoint: p.uniqueEndpoint, + maxConnections: maxConnections, + enabled: true + }; + + if (p.createEndpoint) { + _def.uniqueEndpoint = true; + _def.endpoint = _currentInstance.addEndpoint(el, _def.def); + _def.endpoint.setDeleteOnEmpty(false); + } + + elInfo.def = _def; + this.targetEndpointDefinitions[elid][type] = _def; + _makeElementDropHandler(elInfo, p, dropOptions, p.isSource === true, true); + // stash the definition on the drop + elInfo.el._katavorioDrop[elInfo.el._katavorioDrop.length - 1].targetDef = _def; + + }.bind(this); + + // make an array if only given one element + var inputs = el.length && el.constructor !== String ? el : [ el ]; + + // register each one in the list. + for (var i = 0, ii = inputs.length; i < ii; i++) { + _doOne(inputs[i]); + } + + return this; + }; + + // see api docs + this.unmakeTarget = function (el, doNotClearArrays) { + var info = _info(el); + _currentInstance.destroyDroppable(info.el, "internal"); + if (!doNotClearArrays) { + delete this.targetEndpointDefinitions[info.id]; + } + + return this; + }; + + // see api docs + this.makeSource = function (el, params, referenceParams) { + var p = root.jsPlumb.extend({_jsPlumb: this}, referenceParams); + root.jsPlumb.extend(p, params); + var type = p.connectionType || "default"; + var aae = _currentInstance.deriveEndpointAndAnchorSpec(type); + p.endpoint = p.endpoint || aae.endpoints[0]; + p.anchor = p.anchor || aae.anchors[0]; + var maxConnections = p.maxConnections || -1, + onMaxConnections = p.onMaxConnections, + _doOne = function (elInfo) { + // get the element's id and store the endpoint definition for it. jsPlumb.connect calls will look for one of these, + // and use the endpoint definition if found. + var elid = elInfo.id, + _del = this.getElement(elInfo.el); + + this.sourceEndpointDefinitions[elid] = this.sourceEndpointDefinitions[elid] || {}; + _ensureContainer(elid); + + var _def = { + def:root.jsPlumb.extend({}, p), + uniqueEndpoint: p.uniqueEndpoint, + maxConnections: maxConnections, + enabled: true + }; + + if (p.createEndpoint) { + _def.uniqueEndpoint = true; + _def.endpoint = _currentInstance.addEndpoint(el, _def.def); + _def.endpoint.setDeleteOnEmpty(false); + } + + this.sourceEndpointDefinitions[elid][type] = _def; + elInfo.def = _def; + + var stopEvent = root.jsPlumb.dragEvents.stop, + dragEvent = root.jsPlumb.dragEvents.drag, + dragOptions = root.jsPlumb.extend({ }, p.dragOptions || {}), + existingDrag = dragOptions.drag, + existingStop = dragOptions.stop, + ep = null, + endpointAddedButNoDragYet = false; + + // set scope if its not set in dragOptions but was passed in in params + dragOptions.scope = dragOptions.scope || p.scope; + + dragOptions[dragEvent] = _ju.wrap(dragOptions[dragEvent], function () { + if (existingDrag) { + existingDrag.apply(this, arguments); + } + endpointAddedButNoDragYet = false; + }); + + dragOptions[stopEvent] = _ju.wrap(dragOptions[stopEvent], function () { + + if (existingStop) { + existingStop.apply(this, arguments); + } + this.currentlyDragging = false; + if (ep._jsPlumb != null) { // if not cleaned up... + + // reset the anchor to the anchor that was initially provided. the one we were using to drag + // the connection was just a placeholder that was located at the place the user pressed the + // mouse button to initiate the drag. + var anchorDef = p.anchor || this.Defaults.Anchor, + oldAnchor = ep.anchor, + oldConnection = ep.connections[0]; + + var newAnchor = this.makeAnchor(anchorDef, elid, this), + _el = ep.element; + + // if the anchor has a 'positionFinder' set, then delegate to that function to find + // out where to locate the anchor. issue 117. + if (newAnchor.positionFinder != null) { + var elPosition = _currentInstance.getOffset(_el), + elSize = this.getSize(_el), + dropPosition = { left: elPosition.left + (oldAnchor.x * elSize[0]), top: elPosition.top + (oldAnchor.y * elSize[1]) }, + ap = newAnchor.positionFinder(dropPosition, elPosition, elSize, newAnchor.constructorParams); + + newAnchor.x = ap[0]; + newAnchor.y = ap[1]; + } + + ep.setAnchor(newAnchor, true); + ep.repaint(); + this.repaint(ep.elementId); + if (oldConnection != null) { + this.repaint(oldConnection.targetId); + } + } + }.bind(this)); + + // when the user presses the mouse, add an Endpoint, if we are enabled. + var mouseDownListener = function (e) { + // on right mouse button, abort. + if (e.which === 3 || e.button === 2) { + return; + } + + elid = this.getId(this.getElement(elInfo.el)); // elid might have changed since this method was called to configure the element. + + // TODO store def on element. + var def = this.sourceEndpointDefinitions[elid][type]; + + // if disabled, return. + if (!def.enabled) { + return; + } + + // if a filter was given, run it, and return if it says no. + if (p.filter) { + var r = _ju.isString(p.filter) ? selectorFilter(e, elInfo.el, p.filter, this, p.filterExclude) : p.filter(e, elInfo.el); + if (r === false) { + return; + } + } + + // if maxConnections reached + var sourceCount = this.select({source: elid}).length; + if (def.maxConnections >= 0 && (sourceCount >= def.maxConnections)) { + if (onMaxConnections) { + onMaxConnections({ + element: elInfo.el, + maxConnections: maxConnections + }, e); + } + return false; + } + + // find the position on the element at which the mouse was pressed; this is where the endpoint + // will be located. + var elxy = root.jsPlumb.getPositionOnElement(e, _del, _zoom); + + // we need to override the anchor in here, and force 'isSource', but we don't want to mess with + // the params passed in, because after a connection is established we're going to reset the endpoint + // to have the anchor we were given. + var tempEndpointParams = {}; + root.jsPlumb.extend(tempEndpointParams, def.def); + tempEndpointParams.isTemporarySource = true; + tempEndpointParams.anchor = [ elxy[0], elxy[1] , 0, 0]; + tempEndpointParams.dragOptions = dragOptions; + + if (def.def.scope) { + tempEndpointParams.scope = def.def.scope; + } + + ep = this.addEndpoint(elid, tempEndpointParams); + endpointAddedButNoDragYet = true; + ep.setDeleteOnEmpty(true); + + // if unique endpoint and it's already been created, push it onto the endpoint we create. at the end + // of a successful connection we'll switch to that endpoint. + // TODO this is the same code as the programmatic endpoints create on line 1050 ish + if (def.uniqueEndpoint) { + if (!def.endpoint) { + def.endpoint = ep; + ep.setDeleteOnEmpty(false); + } + else { + ep.finalEndpoint = def.endpoint; + } + } + + var _delTempEndpoint = function () { + // this mouseup event is fired only if no dragging occurred, by jquery and yui, but for mootools + // it is fired even if dragging has occurred, in which case we would blow away a perfectly + // legitimate endpoint, were it not for this check. the flag is set after adding an + // endpoint and cleared in a drag listener we set in the dragOptions above. + _currentInstance.off(ep.canvas, "mouseup", _delTempEndpoint); + _currentInstance.off(elInfo.el, "mouseup", _delTempEndpoint); + if (endpointAddedButNoDragYet) { + endpointAddedButNoDragYet = false; + _currentInstance.deleteEndpoint(ep); + } + }; + + _currentInstance.on(ep.canvas, "mouseup", _delTempEndpoint); + _currentInstance.on(elInfo.el, "mouseup", _delTempEndpoint); + + // optionally check for attributes to extract from the source element + var payload = {}; + if (def.def.extract) { + for (var att in def.def.extract) { + var v = (e.srcElement || e.target).getAttribute(att); + if (v) { + payload[def.def.extract[att]] = v; + } + } + } + + // and then trigger its mousedown event, which will kick off a drag, which will start dragging + // a new connection from this endpoint. + _currentInstance.trigger(ep.canvas, "mousedown", e, payload); + + _ju.consume(e); + + }.bind(this); + + this.on(elInfo.el, "mousedown", mouseDownListener); + _def.trigger = mouseDownListener; + + // if a filter was provided, set it as a dragFilter on the element, + // to prevent the element drag function from kicking in when we want to + // drag a new connection + if (p.filter && (_ju.isString(p.filter) || _ju.isFunction(p.filter))) { + _currentInstance.setDragFilter(elInfo.el, p.filter); + } + + var dropOptions = root.jsPlumb.extend({}, p.dropOptions || {}); + + _makeElementDropHandler(elInfo, p, dropOptions, true, p.isTarget === true); + + }.bind(this); + + var inputs = el.length && el.constructor !== String ? el : [ el ]; + for (var i = 0, ii = inputs.length; i < ii; i++) { + _doOne(_info(inputs[i])); + } + + return this; + }; + + // see api docs + this.unmakeSource = function (el, connectionType, doNotClearArrays) { + var info = _info(el); + _currentInstance.destroyDroppable(info.el, "internal"); + var eldefs = this.sourceEndpointDefinitions[info.id]; + if (eldefs) { + for (var def in eldefs) { + if (connectionType == null || connectionType === def) { + var mouseDownListener = eldefs[def].trigger; + if (mouseDownListener) { + _currentInstance.off(info.el, "mousedown", mouseDownListener); + } + if (!doNotClearArrays) { + delete this.sourceEndpointDefinitions[info.id][def]; + } + } + } + } + + return this; + }; + + // see api docs + this.unmakeEverySource = function () { + for (var i in this.sourceEndpointDefinitions) { + _currentInstance.unmakeSource(i, null, true); + } + + this.sourceEndpointDefinitions = {}; + return this; + }; + + var _getScope = function (el, types, connectionType) { + types = _ju.isArray(types) ? types : [ types ]; + var id = _getId(el); + connectionType = connectionType || "default"; + for (var i = 0; i < types.length; i++) { + var eldefs = this[types[i]][id]; + if (eldefs && eldefs[connectionType]) { + return eldefs[connectionType].def.scope || this.Defaults.Scope; + } + } + }.bind(this); + + var _setScope = function (el, scope, types, connectionType) { + types = _ju.isArray(types) ? types : [ types ]; + var id = _getId(el); + connectionType = connectionType || "default"; + for (var i = 0; i < types.length; i++) { + var eldefs = this[types[i]][id]; + if (eldefs && eldefs[connectionType]) { + eldefs[connectionType].def.scope = scope; + } + } + + }.bind(this); + + this.getScope = function (el, scope) { + return _getScope(el, [ "sourceEndpointDefinitions", "targetEndpointDefinitions" ]); + }; + this.getSourceScope = function (el) { + return _getScope(el, "sourceEndpointDefinitions"); + }; + this.getTargetScope = function (el) { + return _getScope(el, "targetEndpointDefinitions"); + }; + this.setScope = function (el, scope, connectionType) { + this.setSourceScope(el, scope, connectionType); + this.setTargetScope(el, scope, connectionType); + }; + this.setSourceScope = function (el, scope, connectionType) { + _setScope(el, scope, "sourceEndpointDefinitions", connectionType); + // we get the source scope during the mousedown event, but we also want to set this. + this.setDragScope(el, scope); + }; + this.setTargetScope = function (el, scope, connectionType) { + _setScope(el, scope, "targetEndpointDefinitions", connectionType); + this.setDropScope(el, scope); + }; + + // see api docs + this.unmakeEveryTarget = function () { + for (var i in this.targetEndpointDefinitions) { + _currentInstance.unmakeTarget(i, true); + } + + this.targetEndpointDefinitions = {}; + return this; + }; + + // does the work of setting a source enabled or disabled. + var _setEnabled = function (type, el, state, toggle, connectionType) { + var a = type === "source" ? this.sourceEndpointDefinitions : this.targetEndpointDefinitions, + originalState, info, newState; + + connectionType = connectionType || "default"; + + // a selector or an array + if (el.length && !_ju.isString(el)) { + originalState = []; + for (var i = 0, ii = el.length; i < ii; i++) { + info = _info(el[i]); + if (a[info.id] && a[info.id][connectionType]) { + originalState[i] = a[info.id][connectionType].enabled; + newState = toggle ? !originalState[i] : state; + a[info.id][connectionType].enabled = newState; + _currentInstance[newState ? "removeClass" : "addClass"](info.el, "jtk-" + type + "-disabled"); + } + } + } + // otherwise a DOM element or a String ID. + else { + info = _info(el); + var id = info.id; + if (a[id] && a[id][connectionType]) { + originalState = a[id][connectionType].enabled; + newState = toggle ? !originalState : state; + a[id][connectionType].enabled = newState; + _currentInstance[newState ? "removeClass" : "addClass"](info.el, "jtk-" + type + "-disabled"); + } + } + return originalState; + }.bind(this); + + var _first = function (el, fn) { + if (_ju.isString(el) || !el.length) { + return fn.apply(this, [ el ]); + } + else if (el.length) { + return fn.apply(this, [ el[0] ]); + } + + }.bind(this); + + this.toggleSourceEnabled = function (el, connectionType) { + _setEnabled("source", el, null, true, connectionType); + return this.isSourceEnabled(el, connectionType); + }; + + this.setSourceEnabled = function (el, state, connectionType) { + return _setEnabled("source", el, state, null, connectionType); + }; + this.isSource = function (el, connectionType) { + connectionType = connectionType || "default"; + return _first(el, function (_el) { + var eldefs = this.sourceEndpointDefinitions[_info(_el).id]; + return eldefs != null && eldefs[connectionType] != null; + }.bind(this)); + }; + this.isSourceEnabled = function (el, connectionType) { + connectionType = connectionType || "default"; + return _first(el, function (_el) { + var sep = this.sourceEndpointDefinitions[_info(_el).id]; + return sep && sep[connectionType] && sep[connectionType].enabled === true; + }.bind(this)); + }; + + this.toggleTargetEnabled = function (el, connectionType) { + _setEnabled("target", el, null, true, connectionType); + return this.isTargetEnabled(el, connectionType); + }; + + this.isTarget = function (el, connectionType) { + connectionType = connectionType || "default"; + return _first(el, function (_el) { + var eldefs = this.targetEndpointDefinitions[_info(_el).id]; + return eldefs != null && eldefs[connectionType] != null; + }.bind(this)); + }; + this.isTargetEnabled = function (el, connectionType) { + connectionType = connectionType || "default"; + return _first(el, function (_el) { + var tep = this.targetEndpointDefinitions[_info(_el).id]; + return tep && tep[connectionType] && tep[connectionType].enabled === true; + }.bind(this)); + }; + this.setTargetEnabled = function (el, state, connectionType) { + return _setEnabled("target", el, state, null, connectionType); + }; + +// --------------------- end makeSource/makeTarget ---------------------------------------------- + + this.ready = function (fn) { + _currentInstance.bind("ready", fn); + }; + + var _elEach = function(el, fn) { + // support both lists... + if (typeof el === 'object' && el.length) { + for (var i = 0, ii = el.length; i < ii; i++) { + fn(el[i]); + } + } + else {// ...and single strings or elements. + fn(el); + } + + return _currentInstance; + }; + + // repaint some element's endpoints and connections + this.repaint = function (el, ui, timestamp) { + return _elEach(el, function(_el) { + _draw(_el, ui, timestamp); + }); + }; + + this.revalidate = function (el, timestamp, isIdAlready) { + return _elEach(el, function(_el) { + var elId = isIdAlready ? _el : _currentInstance.getId(_el); + _currentInstance.updateOffset({ elId: elId, recalc: true, timestamp:timestamp }); + var dm = _currentInstance.getDragManager(); + if (dm) { + dm.updateOffsets(elId); + } + _currentInstance.repaint(_el); + }); + }; + + // repaint every endpoint and connection. + this.repaintEverything = function () { + // TODO this timestamp causes continuous anchors to not repaint properly. + // fix this. do not just take out the timestamp. it runs a lot faster with + // the timestamp included. + var timestamp = _timestamp(), elId; + + for (elId in endpointsByElement) { + _currentInstance.updateOffset({ elId: elId, recalc: true, timestamp: timestamp }); + } + + for (elId in endpointsByElement) { + _draw(elId, null, timestamp); + } + + return this; + }; + + this.removeAllEndpoints = function (el, recurse, affectedElements) { + affectedElements = affectedElements || []; + var _one = function (_el) { + var info = _info(_el), + ebe = endpointsByElement[info.id], + i, ii; + + if (ebe) { + affectedElements.push(info); + for (i = 0, ii = ebe.length; i < ii; i++) { + _currentInstance.deleteEndpoint(ebe[i], false); + } + } + delete endpointsByElement[info.id]; + + if (recurse) { + if (info.el && info.el.nodeType !== 3 && info.el.nodeType !== 8) { + for (i = 0, ii = info.el.childNodes.length; i < ii; i++) { + _one(info.el.childNodes[i]); + } + } + } + + }; + _one(el); + return this; + }; + + var _doRemove = function(info, affectedElements) { + _currentInstance.removeAllEndpoints(info.id, true, affectedElements); + var dm = _currentInstance.getDragManager(); + var _one = function(_info) { + + if (dm) { + dm.elementRemoved(_info.id); + } + _currentInstance.anchorManager.clearFor(_info.id); + _currentInstance.anchorManager.removeFloatingConnection(_info.id); + + if (_currentInstance.isSource(_info.el)) { + _currentInstance.unmakeSource(_info.el); + } + if (_currentInstance.isTarget(_info.el)) { + _currentInstance.unmakeTarget(_info.el); + } + _currentInstance.destroyDraggable(_info.el); + _currentInstance.destroyDroppable(_info.el); + + + delete _currentInstance.floatingConnections[_info.id]; + delete managedElements[_info.id]; + delete offsets[_info.id]; + if (_info.el) { + _currentInstance.removeElement(_info.el); + _info.el._jsPlumb = null; + } + }; + + // remove all affected child elements + for (var ae = 1; ae < affectedElements.length; ae++) { + _one(affectedElements[ae]); + } + // and always remove the requested one from the dom. + _one(info); + }; + + /** + * Remove the given element, including cleaning up all endpoints registered for it. + * This is exposed in the public API but also used internally by jsPlumb when removing the + * element associated with a connection drag. + */ + this.remove = function (el, doNotRepaint) { + var info = _info(el), affectedElements = []; + if (info.text && info.el.parentNode) { + info.el.parentNode.removeChild(info.el); + } + else if (info.id) { + _currentInstance.batch(function () { + _doRemove(info, affectedElements); + }, doNotRepaint === true); + } + return _currentInstance; + }; + + this.empty = function (el, doNotRepaint) { + var affectedElements = []; + var _one = function(el, dontRemoveFocus) { + var info = _info(el); + if (info.text) { + info.el.parentNode.removeChild(info.el); + } + else if (info.el) { + while(info.el.childNodes.length > 0) { + _one(info.el.childNodes[0]); + } + if (!dontRemoveFocus) { + _doRemove(info, affectedElements); + } + } + }; + + _currentInstance.batch(function() { + _one(el, true); + }, doNotRepaint === false); + + return _currentInstance; + }; + + this.reset = function (doNotUnbindInstanceEventListeners) { + _currentInstance.silently(function() { + _hoverSuspended = false; + _currentInstance.removeAllGroups(); + _currentInstance.removeGroupManager(); + _currentInstance.deleteEveryEndpoint(); + if (!doNotUnbindInstanceEventListeners) { + _currentInstance.unbind(); + } + this.targetEndpointDefinitions = {}; + this.sourceEndpointDefinitions = {}; + connections.length = 0; + if (this.doReset) { + this.doReset(); + } + }.bind(this)); + }; + + var _clearObject = function (obj) { + if (obj.canvas && obj.canvas.parentNode) { + obj.canvas.parentNode.removeChild(obj.canvas); + } + obj.cleanup(); + obj.destroy(); + }; + + this.clear = function () { + _currentInstance.select().each(_clearObject); + _currentInstance.selectEndpoints().each(_clearObject); + + endpointsByElement = {}; + endpointsByUUID = {}; + }; + + this.setDefaultScope = function (scope) { + DEFAULT_SCOPE = scope; + return _currentInstance; + }; + + this.deriveEndpointAndAnchorSpec = function(type, dontPrependDefault) { + var bits = ((dontPrependDefault ? "" : "default ") + type).split(/[\s]/), eps = null, ep = null, a = null, as = null; + for (var i = 0; i < bits.length; i++) { + var _t = _currentInstance.getType(bits[i], "connection"); + if (_t) { + if (_t.endpoints) { + eps = _t.endpoints; + } + if (_t.endpoint) { + ep = _t.endpoint; + } + if (_t.anchors) { + as = _t.anchors; + } + if (_t.anchor) { + a = _t.anchor; + } + } + } + return { endpoints: eps ? eps : [ ep, ep ], anchors: as ? as : [a, a ]}; + }; + + // sets the id of some element, changing whatever we need to to keep track. + this.setId = function (el, newId, doNotSetAttribute) { + // + var id; + + if (_ju.isString(el)) { + id = el; + } + else { + el = this.getElement(el); + id = this.getId(el); + } + + var sConns = this.getConnections({source: id, scope: '*'}, true), + tConns = this.getConnections({target: id, scope: '*'}, true); + + newId = "" + newId; + + if (!doNotSetAttribute) { + el = this.getElement(id); + this.setAttribute(el, "id", newId); + } + else { + el = this.getElement(newId); + } + + endpointsByElement[newId] = endpointsByElement[id] || []; + for (var i = 0, ii = endpointsByElement[newId].length; i < ii; i++) { + endpointsByElement[newId][i].setElementId(newId); + endpointsByElement[newId][i].setReferenceElement(el); + } + delete endpointsByElement[id]; + + this.sourceEndpointDefinitions[newId] = this.sourceEndpointDefinitions[id]; + delete this.sourceEndpointDefinitions[id]; + this.targetEndpointDefinitions[newId] = this.targetEndpointDefinitions[id]; + delete this.targetEndpointDefinitions[id]; + + this.anchorManager.changeId(id, newId); + var dm = this.getDragManager(); + if (dm) { + dm.changeId(id, newId); + } + managedElements[newId] = managedElements[id]; + delete managedElements[id]; + + var _conns = function (list, epIdx, type) { + for (var i = 0, ii = list.length; i < ii; i++) { + list[i].endpoints[epIdx].setElementId(newId); + list[i].endpoints[epIdx].setReferenceElement(el); + list[i][type + "Id"] = newId; + list[i][type] = el; + } + }; + _conns(sConns, 0, "source"); + _conns(tConns, 1, "target"); + + this.repaint(newId); + }; + + this.setDebugLog = function (debugLog) { + log = debugLog; + }; + + this.setSuspendDrawing = function (val, repaintAfterwards) { + var curVal = _suspendDrawing; + _suspendDrawing = val; + if (val) { + _suspendedAt = new Date().getTime(); + } else { + _suspendedAt = null; + } + if (repaintAfterwards) { + this.repaintEverything(); + } + return curVal; + }; + + // returns whether or not drawing is currently suspended. + this.isSuspendDrawing = function () { + return _suspendDrawing; + }; + + // return timestamp for when drawing was suspended. + this.getSuspendedAt = function () { + return _suspendedAt; + }; + + this.batch = function (fn, doNotRepaintAfterwards) { + var _wasSuspended = this.isSuspendDrawing(); + if (!_wasSuspended) { + this.setSuspendDrawing(true); + } + try { + fn(); + } + catch (e) { + _ju.log("Function run while suspended failed", e); + } + if (!_wasSuspended) { + this.setSuspendDrawing(false, !doNotRepaintAfterwards); + } + }; + + this.doWhileSuspended = this.batch; + + this.getCachedData = _getCachedData; + this.timestamp = _timestamp; + this.show = function (el, changeEndpoints) { + _setVisible(el, "block", changeEndpoints); + return _currentInstance; + }; + + // TODO: update this method to return the current state. + this.toggleVisible = _toggleVisible; + this.addListener = this.bind; + + var floatingConnections = []; + this.registerFloatingConnection = function(info, conn, ep) { + floatingConnections[info.id] = conn; + // only register for the target endpoint; we will not be dragging the source at any time + // before this connection is either discarded or made into a permanent connection. + _ju.addToList(endpointsByElement, info.id, ep); + }; + this.getFloatingConnectionFor = function(id) { + return floatingConnections[id]; + }; + + this.listManager = new root.jsPlumbListManager(this, this.Defaults.ListStyle); + }; + + _ju.extend(root.jsPlumbInstance, _ju.EventGenerator, { + setAttribute: function (el, a, v) { + this.setAttribute(el, a, v); + }, + getAttribute: function (el, a) { + return this.getAttribute(root.jsPlumb.getElement(el), a); + }, + convertToFullOverlaySpec: function(spec) { + if (_ju.isString(spec)) { + spec = [ spec, { } ]; + } + spec[1].id = spec[1].id || _ju.uuid(); + return spec; + }, + registerConnectionType: function (id, type) { + this._connectionTypes[id] = root.jsPlumb.extend({}, type); + if (type.overlays) { + var to = {}; + for (var i = 0; i < type.overlays.length; i++) { + // if a string, convert to object representation so that we can store the typeid on it. + // also assign an id. + var fo = this.convertToFullOverlaySpec(type.overlays[i]); + to[fo[1].id] = fo; + } + this._connectionTypes[id].overlays = to; + } + }, + registerConnectionTypes: function (types) { + for (var i in types) { + this.registerConnectionType(i, types[i]); + } + }, + registerEndpointType: function (id, type) { + this._endpointTypes[id] = root.jsPlumb.extend({}, type); + if (type.overlays) { + var to = {}; + for (var i = 0; i < type.overlays.length; i++) { + // if a string, convert to object representation so that we can store the typeid on it. + // also assign an id. + var fo = this.convertToFullOverlaySpec(type.overlays[i]); + to[fo[1].id] = fo; + } + this._endpointTypes[id].overlays = to; + } + }, + registerEndpointTypes: function (types) { + for (var i in types) { + this.registerEndpointType(i, types[i]); + } + }, + getType: function (id, typeDescriptor) { + return typeDescriptor === "connection" ? this._connectionTypes[id] : this._endpointTypes[id]; + }, + setIdChanged: function (oldId, newId) { + this.setId(oldId, newId, true); + }, + // set parent: change the parent for some node and update all the registrations we need to. + setParent: function (el, newParent) { + var _dom = this.getElement(el), + _id = this.getId(_dom), + _pdom = this.getElement(newParent), + _pid = this.getId(_pdom), + dm = this.getDragManager(); + + _dom.parentNode.removeChild(_dom); + _pdom.appendChild(_dom); + if (dm) { + dm.setParent(_dom, _id, _pdom, _pid); + } + }, + extend: function (o1, o2, names) { + var i; + if (names) { + for (i = 0; i < names.length; i++) { + o1[names[i]] = o2[names[i]]; + } + } + else { + for (i in o2) { + o1[i] = o2[i]; + } + } + + return o1; + }, + floatingConnections: {}, + getFloatingAnchorIndex: function (jpc) { + return jpc.endpoints[0].isFloating() ? 0 : jpc.endpoints[1].isFloating() ? 1 : -1; + }, + proxyConnection :function(connection, index, proxyEl, proxyElId, endpointGenerator, anchorGenerator) { + var proxyEp, + originalElementId = connection.endpoints[index].elementId, + originalEndpoint = connection.endpoints[index]; + + connection.proxies = connection.proxies || []; + if(connection.proxies[index]) { + proxyEp = connection.proxies[index].ep; + }else { + proxyEp = this.addEndpoint(proxyEl, { + endpoint:endpointGenerator(connection, index), + anchor:anchorGenerator(connection, index), + parameters:{ + isProxyEndpoint:true + } + }); + } + proxyEp.setDeleteOnEmpty(true); + + // for this index, stash proxy info: the new EP, the original EP. + connection.proxies[index] = { ep:proxyEp, originalEp: originalEndpoint }; + + // and advise the anchor manager + if (index === 0) { + // TODO why are there two differently named methods? Why is there not one method that says "some end of this + // connection changed (you give the index), and here's the new element and element id." + this.anchorManager.sourceChanged(originalElementId, proxyElId, connection, proxyEl); + } + else { + this.anchorManager.updateOtherEndpoint(connection.endpoints[0].elementId, originalElementId, proxyElId, connection); + connection.target = proxyEl; + connection.targetId = proxyElId; + } + + // detach the original EP from the connection. + originalEndpoint.detachFromConnection(connection, null, true); + + // set the proxy as the new ep + proxyEp.connections = [ connection ]; + connection.endpoints[index] = proxyEp; + + originalEndpoint.setVisible(false); + + connection.setVisible(true); + + this.revalidate(proxyEl); + }, + unproxyConnection : function(connection, index, proxyElId) { + // if connection cleaned up, no proxies, or none for this end of the connection, abort. + if (connection._jsPlumb == null || connection.proxies == null || connection.proxies[index] == null) { + return; + } + + var originalElement = connection.proxies[index].originalEp.element, + originalElementId = connection.proxies[index].originalEp.elementId; + + connection.endpoints[index] = connection.proxies[index].originalEp; + // and advise the anchor manager + if (index === 0) { + // TODO why are there two differently named methods? Why is there not one method that says "some end of this + // connection changed (you give the index), and here's the new element and element id." + this.anchorManager.sourceChanged(proxyElId, originalElementId, connection, originalElement); + } + else { + this.anchorManager.updateOtherEndpoint(connection.endpoints[0].elementId, proxyElId, originalElementId, connection); + connection.target = originalElement; + connection.targetId = originalElementId; + } + + // detach the proxy EP from the connection (which will cause it to be removed as we no longer need it) + connection.proxies[index].ep.detachFromConnection(connection, null); + + connection.proxies[index].originalEp.addConnection(connection); + if(connection.isVisible()) { + connection.proxies[index].originalEp.setVisible(true); + } + + // cleanup + delete connection.proxies[index]; + } + }); + +// --------------------- static instance + module registration ------------------------------------------- + +// create static instance and assign to window if window exists. + var jsPlumb = new jsPlumbInstance(); + // register on 'root' (lets us run on server or browser) + root.jsPlumb = jsPlumb; + // add 'getInstance' method to static instance + jsPlumb.getInstance = function (_defaults, overrideFns) { + var j = new jsPlumbInstance(_defaults); + if (overrideFns) { + for (var ovf in overrideFns) { + j[ovf] = overrideFns[ovf]; + } + } + j.init(); + return j; + }; + jsPlumb.each = function (spec, fn) { + if (spec == null) { + return; + } + if (typeof spec === "string") { + fn(jsPlumb.getElement(spec)); + } + else if (spec.length != null) { + for (var i = 0; i < spec.length; i++) { + fn(jsPlumb.getElement(spec[i])); + } + } + else { + fn(spec); + } // assume it's an element. + }; + + // CommonJS + if (typeof exports !== 'undefined') { + exports.jsPlumb = jsPlumb; + } + +// --------------------- end static instance + AMD registration ------------------------------------------- + +}).call(typeof window !== 'undefined' ? window : this); + +/* + * 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +;(function() { + + "use strict"; + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil; + + // ------------------------------ BEGIN OverlayCapablejsPlumbUIComponent -------------------------------------------- + + var _internalLabelOverlayId = "__label", + // this is a shortcut helper method to let people add a label as + // overlay. + _makeLabelOverlay = function (component, params) { + + var _params = { + cssClass: params.cssClass, + labelStyle: component.labelStyle, + id: _internalLabelOverlayId, + component: component, + _jsPlumb: component._jsPlumb.instance // TODO not necessary, since the instance can be accessed through the component. + }, + mergedParams = _jp.extend(_params, params); + + return new _jp.Overlays[component._jsPlumb.instance.getRenderMode()].Label(mergedParams); + }, + _processOverlay = function (component, o) { + var _newOverlay = null; + if (_ju.isArray(o)) { // this is for the shorthand ["Arrow", { width:50 }] syntax + // there's also a three arg version: + // ["Arrow", { width:50 }, {location:0.7}] + // which merges the 3rd arg into the 2nd. + var type = o[0], + // make a copy of the object so as not to mess up anyone else's reference... + p = _jp.extend({component: component, _jsPlumb: component._jsPlumb.instance}, o[1]); + if (o.length === 3) { + _jp.extend(p, o[2]); + } + _newOverlay = new _jp.Overlays[component._jsPlumb.instance.getRenderMode()][type](p); + } else if (o.constructor === String) { + _newOverlay = new _jp.Overlays[component._jsPlumb.instance.getRenderMode()][o]({component: component, _jsPlumb: component._jsPlumb.instance}); + } else { + _newOverlay = o; + } + + _newOverlay.id = _newOverlay.id || _ju.uuid(); + component.cacheTypeItem("overlay", _newOverlay, _newOverlay.id); + component._jsPlumb.overlays[_newOverlay.id] = _newOverlay; + + return _newOverlay; + }; + + _jp.OverlayCapableJsPlumbUIComponent = function (params) { + + root.jsPlumbUIComponent.apply(this, arguments); + this._jsPlumb.overlays = {}; + this._jsPlumb.overlayPositions = {}; + + if (params.label) { + this.getDefaultType().overlays[_internalLabelOverlayId] = ["Label", { + label: params.label, + location: params.labelLocation || this.defaultLabelLocation || 0.5, + labelStyle: params.labelStyle || this._jsPlumb.instance.Defaults.LabelStyle, + id:_internalLabelOverlayId + }]; + } + + this.setListenerComponent = function (c) { + if (this._jsPlumb) { + for (var i in this._jsPlumb.overlays) { + this._jsPlumb.overlays[i].setListenerComponent(c); + } + } + }; + }; + + _jp.OverlayCapableJsPlumbUIComponent.applyType = function (component, t) { + if (t.overlays) { + // loop through the ones in the type. if already present on the component, + // dont remove or re-add. + var keep = {}, i; + + for (i in t.overlays) { + + var existing = component._jsPlumb.overlays[t.overlays[i][1].id]; + if (existing) { + // maybe update from data, if there were parameterised values for instance. + existing.updateFrom(t.overlays[i][1]); + keep[t.overlays[i][1].id] = true; + + existing.reattach(component._jsPlumb.instance, component); + } + else { + var c = component.getCachedTypeItem("overlay", t.overlays[i][1].id); + if (c != null) { + c.reattach(component._jsPlumb.instance, component); + c.setVisible(true); + // maybe update from data, if there were parameterised values for instance. + c.updateFrom(t.overlays[i][1]); + component._jsPlumb.overlays[c.id] = c; + } + else { + c = component.addOverlay(t.overlays[i], true); + } + keep[c.id] = true; + } + } + + // now loop through the full overlays and remove those that we dont want to keep + for (i in component._jsPlumb.overlays) { + if (keep[component._jsPlumb.overlays[i].id] == null) { + component.removeOverlay(component._jsPlumb.overlays[i].id, true); // remove overlay but dont clean it up. + // that would remove event listeners etc; overlays are never discarded by the types stuff, they are + // just detached/reattached. + } + } + } + }; + + _ju.extend(_jp.OverlayCapableJsPlumbUIComponent, root.jsPlumbUIComponent, { + + setHover: function (hover, ignoreAttachedElements) { + if (this._jsPlumb && !this._jsPlumb.instance.isConnectionBeingDragged()) { + for (var i in this._jsPlumb.overlays) { + this._jsPlumb.overlays[i][hover ? "addClass" : "removeClass"](this._jsPlumb.instance.hoverClass); + } + } + }, + addOverlay: function (overlay, doNotRepaint) { + var o = _processOverlay(this, overlay); + + if (this.getData && o.type === "Label" && _ju.isArray(overlay)) { + // + // component data might contain label location - look for it here. + var d = this.getData(), p = overlay[1]; + if (d) { + var locationAttribute = p.labelLocationAttribute || "labelLocation"; + var loc = d ? d[locationAttribute] : null; + + if (loc) { + o.loc = loc; + } + } + } + + if (!doNotRepaint) { + this.repaint(); + } + return o; + }, + getOverlay: function (id) { + return this._jsPlumb.overlays[id]; + }, + getOverlays: function () { + return this._jsPlumb.overlays; + }, + hideOverlay: function (id) { + var o = this.getOverlay(id); + if (o) { + o.hide(); + } + }, + hideOverlays: function () { + for (var i in this._jsPlumb.overlays) { + this._jsPlumb.overlays[i].hide(); + } + }, + showOverlay: function (id) { + var o = this.getOverlay(id); + if (o) { + o.show(); + } + }, + showOverlays: function () { + for (var i in this._jsPlumb.overlays) { + this._jsPlumb.overlays[i].show(); + } + }, + removeAllOverlays: function (doNotRepaint) { + for (var i in this._jsPlumb.overlays) { + if (this._jsPlumb.overlays[i].cleanup) { + this._jsPlumb.overlays[i].cleanup(); + } + } + + this._jsPlumb.overlays = {}; + this._jsPlumb.overlayPositions = null; + this._jsPlumb.overlayPlacements= {}; + if (!doNotRepaint) { + this.repaint(); + } + }, + removeOverlay: function (overlayId, dontCleanup) { + var o = this._jsPlumb.overlays[overlayId]; + if (o) { + o.setVisible(false); + if (!dontCleanup && o.cleanup) { + o.cleanup(); + } + delete this._jsPlumb.overlays[overlayId]; + if (this._jsPlumb.overlayPositions) { + delete this._jsPlumb.overlayPositions[overlayId]; + } + + if (this._jsPlumb.overlayPlacements) { + delete this._jsPlumb.overlayPlacements[overlayId]; + } + } + }, + removeOverlays: function () { + for (var i = 0, j = arguments.length; i < j; i++) { + this.removeOverlay(arguments[i]); + } + }, + moveParent: function (newParent) { + if (this.bgCanvas) { + this.bgCanvas.parentNode.removeChild(this.bgCanvas); + newParent.appendChild(this.bgCanvas); + } + + if (this.canvas && this.canvas.parentNode) { + this.canvas.parentNode.removeChild(this.canvas); + newParent.appendChild(this.canvas); + + for (var i in this._jsPlumb.overlays) { + if (this._jsPlumb.overlays[i].isAppendedAtTopLevel) { + var el = this._jsPlumb.overlays[i].getElement(); + el.parentNode.removeChild(el); + newParent.appendChild(el); + } + } + } + }, + getLabel: function () { + var lo = this.getOverlay(_internalLabelOverlayId); + return lo != null ? lo.getLabel() : null; + }, + getLabelOverlay: function () { + return this.getOverlay(_internalLabelOverlayId); + }, + setLabel: function (l) { + var lo = this.getOverlay(_internalLabelOverlayId); + if (!lo) { + var params = l.constructor === String || l.constructor === Function ? { label: l } : l; + lo = _makeLabelOverlay(this, params); + this._jsPlumb.overlays[_internalLabelOverlayId] = lo; + } + else { + if (l.constructor === String || l.constructor === Function) { + lo.setLabel(l); + } + else { + if (l.label) { + lo.setLabel(l.label); + } + if (l.location) { + lo.setLocation(l.location); + } + } + } + + if (!this._jsPlumb.instance.isSuspendDrawing()) { + this.repaint(); + } + }, + cleanup: function (force) { + for (var i in this._jsPlumb.overlays) { + this._jsPlumb.overlays[i].cleanup(force); + this._jsPlumb.overlays[i].destroy(force); + } + if (force) { + this._jsPlumb.overlays = {}; + this._jsPlumb.overlayPositions = null; + } + }, + setVisible: function (v) { + this[v ? "showOverlays" : "hideOverlays"](); + }, + setAbsoluteOverlayPosition: function (overlay, xy) { + this._jsPlumb.overlayPositions[overlay.id] = xy; + }, + getAbsoluteOverlayPosition: function (overlay) { + return this._jsPlumb.overlayPositions ? this._jsPlumb.overlayPositions[overlay.id] : null; + }, + _clazzManip:function(action, clazz, dontUpdateOverlays) { + if (!dontUpdateOverlays) { + for (var i in this._jsPlumb.overlays) { + this._jsPlumb.overlays[i][action + "Class"](clazz); + } + } + }, + addClass:function(clazz, dontUpdateOverlays) { + this._clazzManip("add", clazz, dontUpdateOverlays); + }, + removeClass:function(clazz, dontUpdateOverlays) { + this._clazzManip("remove", clazz, dontUpdateOverlays); + } + }); + +// ------------------------------ END OverlayCapablejsPlumbUIComponent -------------------------------------------- + +}).call(typeof window !== 'undefined' ? window : this); + +/* + * This file contains the code for Endpoints. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +;(function () { + + "use strict"; + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil; + + // create the drag handler for a connection + var _makeConnectionDragHandler = function (endpoint, placeholder, _jsPlumb) { + var stopped = false; + return { + drag: function () { + if (stopped) { + stopped = false; + return true; + } + + if (placeholder.element) { + var _ui = _jsPlumb.getUIPosition(arguments, _jsPlumb.getZoom()); + if (_ui != null) { + _jsPlumb.setPosition(placeholder.element, _ui); + } + _jsPlumb.repaint(placeholder.element, _ui); + // always repaint the source endpoint, because only continuous/dynamic anchors cause the endpoint + // to be repainted, so static anchors need to be told (or the endpoint gets dragged around) + endpoint.paint({anchorPoint:endpoint.anchor.getCurrentLocation({element:endpoint})}); + } + }, + stopDrag: function () { + stopped = true; + } + }; + }; + + // creates a placeholder div for dragging purposes, adds it, and pre-computes its offset. + var _makeDraggablePlaceholder = function (placeholder, _jsPlumb, ipco, ips) { + var n = _jsPlumb.createElement("div", { position : "absolute" }); + _jsPlumb.appendElement(n); + var id = _jsPlumb.getId(n); + _jsPlumb.setPosition(n, ipco); + n.style.width = ips[0] + "px"; + n.style.height = ips[1] + "px"; + _jsPlumb.manage(id, n, true); // TRANSIENT MANAGE + // create and assign an id, and initialize the offset. + placeholder.id = id; + placeholder.element = n; + }; + + // create a floating endpoint (for drag connections) + var _makeFloatingEndpoint = function (paintStyle, referenceAnchor, endpoint, referenceCanvas, sourceElement, _jsPlumb, _newEndpoint, scope) { + var floatingAnchor = new _jp.FloatingAnchor({ reference: referenceAnchor, referenceCanvas: referenceCanvas, jsPlumbInstance: _jsPlumb }); + //setting the scope here should not be the way to fix that mootools issue. it should be fixed by not + // adding the floating endpoint as a droppable. that makes more sense anyway! + // TRANSIENT MANAGE + return _newEndpoint({ + paintStyle: paintStyle, + endpoint: endpoint, + anchor: floatingAnchor, + source: sourceElement, + scope: scope + }); + }; + + var typeParameters = [ "connectorStyle", "connectorHoverStyle", "connectorOverlays", + "connector", "connectionType", "connectorClass", "connectorHoverClass" ]; + + // a helper function that tries to find a connection to the given element, and returns it if so. if elementWithPrecedence is null, + // or no connection to it is found, we return the first connection in our list. + var findConnectionToUseForDynamicAnchor = function (ep, elementWithPrecedence) { + var idx = 0; + if (elementWithPrecedence != null) { + for (var i = 0; i < ep.connections.length; i++) { + if (ep.connections[i].sourceId === elementWithPrecedence || ep.connections[i].targetId === elementWithPrecedence) { + idx = i; + break; + } + } + } + + return ep.connections[idx]; + }; + + _jp.Endpoint = function (params) { + var _jsPlumb = params._jsPlumb, + _newConnection = params.newConnection, + _newEndpoint = params.newEndpoint; + + this.idPrefix = "_jsplumb_e_"; + this.defaultLabelLocation = [ 0.5, 0.5 ]; + this.defaultOverlayKeys = ["Overlays", "EndpointOverlays"]; + _jp.OverlayCapableJsPlumbUIComponent.apply(this, arguments); + +// TYPE + + this.appendToDefaultType({ + connectionType:params.connectionType, + maxConnections: params.maxConnections == null ? this._jsPlumb.instance.Defaults.MaxConnections : params.maxConnections, // maximum number of connections this endpoint can be the source of., + paintStyle: params.endpointStyle || params.paintStyle || params.style || this._jsPlumb.instance.Defaults.EndpointStyle || _jp.Defaults.EndpointStyle, + hoverPaintStyle: params.endpointHoverStyle || params.hoverPaintStyle || this._jsPlumb.instance.Defaults.EndpointHoverStyle || _jp.Defaults.EndpointHoverStyle, + connectorStyle: params.connectorStyle, + connectorHoverStyle: params.connectorHoverStyle, + connectorClass: params.connectorClass, + connectorHoverClass: params.connectorHoverClass, + connectorOverlays: params.connectorOverlays, + connector: params.connector, + connectorTooltip: params.connectorTooltip + }); + +// END TYPE + + this._jsPlumb.enabled = !(params.enabled === false); + this._jsPlumb.visible = true; + this.element = _jp.getElement(params.source); + this._jsPlumb.uuid = params.uuid; + this._jsPlumb.floatingEndpoint = null; + var inPlaceCopy = null; + if (this._jsPlumb.uuid) { + params.endpointsByUUID[this._jsPlumb.uuid] = this; + } + this.elementId = params.elementId; + this.dragProxy = params.dragProxy; + + this._jsPlumb.connectionCost = params.connectionCost; + this._jsPlumb.connectionsDirected = params.connectionsDirected; + this._jsPlumb.currentAnchorClass = ""; + this._jsPlumb.events = {}; + + var deleteOnEmpty = params.deleteOnEmpty === true; + this.setDeleteOnEmpty = function(d) { + deleteOnEmpty = d; + }; + + var _updateAnchorClass = function () { + // stash old, get new + var oldAnchorClass = _jsPlumb.endpointAnchorClassPrefix + "-" + this._jsPlumb.currentAnchorClass; + this._jsPlumb.currentAnchorClass = this.anchor.getCssClass(); + var anchorClass = _jsPlumb.endpointAnchorClassPrefix + (this._jsPlumb.currentAnchorClass ? "-" + this._jsPlumb.currentAnchorClass : ""); + + this.removeClass(oldAnchorClass); + this.addClass(anchorClass); + // add and remove at the same time to reduce the number of reflows. + _jp.updateClasses(this.element, anchorClass, oldAnchorClass); + }.bind(this); + + this.prepareAnchor = function(anchorParams) { + var a = this._jsPlumb.instance.makeAnchor(anchorParams, this.elementId, _jsPlumb); + a.bind("anchorChanged", function (currentAnchor) { + this.fire("anchorChanged", {endpoint: this, anchor: currentAnchor}); + _updateAnchorClass(); + }.bind(this)); + return a; + }; + + this.setPreparedAnchor = function(anchor, doNotRepaint) { + this._jsPlumb.instance.continuousAnchorFactory.clear(this.elementId); + this.anchor = anchor; + _updateAnchorClass(); + + if (!doNotRepaint) { + this._jsPlumb.instance.repaint(this.elementId); + } + + return this; + }; + + this.setAnchor = function (anchorParams, doNotRepaint) { + var a = this.prepareAnchor(anchorParams); + this.setPreparedAnchor(a, doNotRepaint); + return this; + }; + + var internalHover = function (state) { + if (this.connections.length > 0) { + for (var i = 0; i < this.connections.length; i++) { + this.connections[i].setHover(state, false); + } + } + else { + this.setHover(state); + } + }.bind(this); + + this.bind("mouseover", function () { + internalHover(true); + }); + this.bind("mouseout", function () { + internalHover(false); + }); + + // ANCHOR MANAGER + if (!params._transient) { // in place copies, for example, are transient. they will never need to be retrieved during a paint cycle, because they dont move, and then they are deleted. + this._jsPlumb.instance.anchorManager.add(this, this.elementId); + } + + this.prepareEndpoint = function(ep, typeId) { + var _e = function (t, p) { + var rm = _jsPlumb.getRenderMode(); + if (_jp.Endpoints[rm][t]) { + return new _jp.Endpoints[rm][t](p); + } + if (!_jsPlumb.Defaults.DoNotThrowErrors) { + throw { msg: "jsPlumb: unknown endpoint type '" + t + "'" }; + } + }; + + var endpointArgs = { + _jsPlumb: this._jsPlumb.instance, + cssClass: params.cssClass, + container: params.container, + tooltip: params.tooltip, + connectorTooltip: params.connectorTooltip, + endpoint: this + }; + + var endpoint; + + if (_ju.isString(ep)) { + endpoint = _e(ep, endpointArgs); + } + else if (_ju.isArray(ep)) { + endpointArgs = _ju.merge(ep[1], endpointArgs); + endpoint = _e(ep[0], endpointArgs); + } + else { + endpoint = ep.clone(); + } + + // assign a clone function using a copy of endpointArgs. this is used when a drag starts: the endpoint that was dragged is cloned, + // and the clone is left in its place while the original one goes off on a magical journey. + // the copy is to get around a closure problem, in which endpointArgs ends up getting shared by + // the whole world. + //var argsForClone = jsPlumb.extend({}, endpointArgs); + endpoint.clone = function () { + // TODO this, and the code above, can be refactored to be more dry. + if (_ju.isString(ep)) { + return _e(ep, endpointArgs); + } + else if (_ju.isArray(ep)) { + endpointArgs = _ju.merge(ep[1], endpointArgs); + return _e(ep[0], endpointArgs); + } + }.bind(this); + + endpoint.typeId = typeId; + return endpoint; + }; + + this.setEndpoint = function(ep, doNotRepaint) { + var _ep = this.prepareEndpoint(ep); + this.setPreparedEndpoint(_ep, true); + }; + + this.setPreparedEndpoint = function (ep, doNotRepaint) { + if (this.endpoint != null) { + this.endpoint.cleanup(); + this.endpoint.destroy(); + } + this.endpoint = ep; + this.type = this.endpoint.type; + this.canvas = this.endpoint.canvas; + }; + + _jp.extend(this, params, typeParameters); + + this.isSource = params.isSource || false; + this.isTemporarySource = params.isTemporarySource || false; + this.isTarget = params.isTarget || false; + + this.connections = params.connections || []; + this.connectorPointerEvents = params["connector-pointer-events"]; + + this.scope = params.scope || _jsPlumb.getDefaultScope(); + this.timestamp = null; + this.reattachConnections = params.reattach || _jsPlumb.Defaults.ReattachConnections; + this.connectionsDetachable = _jsPlumb.Defaults.ConnectionsDetachable; + if (params.connectionsDetachable === false || params.detachable === false) { + this.connectionsDetachable = false; + } + this.dragAllowedWhenFull = params.dragAllowedWhenFull !== false; + + if (params.onMaxConnections) { + this.bind("maxConnections", params.onMaxConnections); + } + + // + // add a connection. not part of public API. + // + this.addConnection = function (connection) { + this.connections.push(connection); + this[(this.connections.length > 0 ? "add" : "remove") + "Class"](_jsPlumb.endpointConnectedClass); + this[(this.isFull() ? "add" : "remove") + "Class"](_jsPlumb.endpointFullClass); + }; + + this.detachFromConnection = function (connection, idx, doNotCleanup) { + idx = idx == null ? this.connections.indexOf(connection) : idx; + if (idx >= 0) { + this.connections.splice(idx, 1); + this[(this.connections.length > 0 ? "add" : "remove") + "Class"](_jsPlumb.endpointConnectedClass); + this[(this.isFull() ? "add" : "remove") + "Class"](_jsPlumb.endpointFullClass); + } + + if (!doNotCleanup && deleteOnEmpty && this.connections.length === 0) { + _jsPlumb.deleteObject({ + endpoint: this, + fireEvent: false, + deleteAttachedObjects: doNotCleanup !== true + }); + } + }; + + this.deleteEveryConnection = function(params) { + var c = this.connections.length; + for (var i = 0; i < c; i++) { + _jsPlumb.deleteConnection(this.connections[0], params); + } + }; + + this.detachFrom = function (targetEndpoint, fireEvent, originalEvent) { + var c = []; + for (var i = 0; i < this.connections.length; i++) { + if (this.connections[i].endpoints[1] === targetEndpoint || this.connections[i].endpoints[0] === targetEndpoint) { + c.push(this.connections[i]); + } + } + for (var j = 0, count = c.length; j < count; j++) { + _jsPlumb.deleteConnection(c[0]); + } + return this; + }; + + this.getElement = function () { + return this.element; + }; + + this.setElement = function (el) { + var parentId = this._jsPlumb.instance.getId(el), + curId = this.elementId; + // remove the endpoint from the list for the current endpoint's element + _ju.removeWithFunction(params.endpointsByElement[this.elementId], function (e) { + return e.id === this.id; + }.bind(this)); + this.element = _jp.getElement(el); + this.elementId = _jsPlumb.getId(this.element); + _jsPlumb.anchorManager.rehomeEndpoint(this, curId, this.element); + _jsPlumb.dragManager.endpointAdded(this.element); + _ju.addToList(params.endpointsByElement, parentId, this); + return this; + }; + + /** + * private but must be exposed. + */ + this.makeInPlaceCopy = function () { + var loc = this.anchor.getCurrentLocation({element: this}), + o = this.anchor.getOrientation(this), + acc = this.anchor.getCssClass(), + inPlaceAnchor = { + bind: function () { + }, + compute: function () { + return [ loc[0], loc[1] ]; + }, + getCurrentLocation: function () { + return [ loc[0], loc[1] ]; + }, + getOrientation: function () { + return o; + }, + getCssClass: function () { + return acc; + } + }; + + return _newEndpoint({ + dropOptions: params.dropOptions, + anchor: inPlaceAnchor, + source: this.element, + paintStyle: this.getPaintStyle(), + endpoint: params.hideOnDrag ? "Blank" : this.endpoint, + _transient: true, + scope: this.scope, + reference:this + }); + }; + + /** + * returns a connection from the pool; used when dragging starts. just gets the head of the array if it can. + */ + this.connectorSelector = function () { + return this.connections[0]; + }; + + this.setStyle = this.setPaintStyle; + + this.paint = function (params) { + params = params || {}; + var timestamp = params.timestamp, recalc = !(params.recalc === false); + if (!timestamp || this.timestamp !== timestamp) { + + var info = _jsPlumb.updateOffset({ elId: this.elementId, timestamp: timestamp }); + + var xy = params.offset ? params.offset.o : info.o; + if (xy != null) { + var ap = params.anchorPoint, connectorPaintStyle = params.connectorPaintStyle; + if (ap == null) { + var wh = params.dimensions || info.s, + anchorParams = { xy: [ xy.left, xy.top ], wh: wh, element: this, timestamp: timestamp }; + if (recalc && this.anchor.isDynamic && this.connections.length > 0) { + var c = findConnectionToUseForDynamicAnchor(this, params.elementWithPrecedence), + oIdx = c.endpoints[0] === this ? 1 : 0, + oId = oIdx === 0 ? c.sourceId : c.targetId, + oInfo = _jsPlumb.getCachedData(oId), + oOffset = oInfo.o, oWH = oInfo.s; + + anchorParams.index = oIdx === 0 ? 1 : 0; + anchorParams.connection = c; + anchorParams.txy = [ oOffset.left, oOffset.top ]; + anchorParams.twh = oWH; + anchorParams.tElement = c.endpoints[oIdx]; + } else if (this.connections.length > 0) { + anchorParams.connection = this.connections[0]; + } + ap = this.anchor.compute(anchorParams); + } + + this.endpoint.compute(ap, this.anchor.getOrientation(this), this._jsPlumb.paintStyleInUse, connectorPaintStyle || this.paintStyleInUse); + this.endpoint.paint(this._jsPlumb.paintStyleInUse, this.anchor); + this.timestamp = timestamp; + + // paint overlays + for (var i in this._jsPlumb.overlays) { + if (this._jsPlumb.overlays.hasOwnProperty(i)) { + var o = this._jsPlumb.overlays[i]; + if (o.isVisible()) { + this._jsPlumb.overlayPlacements[i] = o.draw(this.endpoint, this._jsPlumb.paintStyleInUse); + o.paint(this._jsPlumb.overlayPlacements[i]); + } + } + } + } + } + }; + + this.getTypeDescriptor = function () { + return "endpoint"; + }; + this.isVisible = function () { + return this._jsPlumb.visible; + }; + + this.repaint = this.paint; + + var draggingInitialised = false; + this.initDraggable = function () { + + // is this a connection source? we make it draggable and have the + // drag listener maintain a connection with a floating endpoint. + if (!draggingInitialised && _jp.isDragSupported(this.element)) { + var placeholderInfo = { id: null, element: null }, + jpc = null, + existingJpc = false, + existingJpcParams = null, + _dragHandler = _makeConnectionDragHandler(this, placeholderInfo, _jsPlumb), + dragOptions = params.dragOptions || {}, + defaultOpts = {}, + startEvent = _jp.dragEvents.start, + stopEvent = _jp.dragEvents.stop, + dragEvent = _jp.dragEvents.drag, + beforeStartEvent = _jp.dragEvents.beforeStart, + payload; + + // respond to beforeStart from katavorio; this will have, optionally, a payload of attribute values + // that were placed there by the makeSource mousedown listener. + var beforeStart = function(beforeStartParams) { + payload = beforeStartParams.e.payload || {}; + }; + + var start = function (startParams) { + +// ------------- first, get a connection to drag. this may be null, in which case we are dragging a new one. + + jpc = this.connectorSelector(); + +// -------------------------------- now a bunch of tests about whether or not to proceed ------------------------- + + var _continue = true; + // if not enabled, return + if (!this.isEnabled()) { + _continue = false; + } + // if no connection and we're not a source - or temporarily a source, as is the case with makeSource - return. + if (jpc == null && !this.isSource && !this.isTemporarySource) { + _continue = false; + } + // otherwise if we're full and not allowed to drag, also return false. + if (this.isSource && this.isFull() && !(jpc != null && this.dragAllowedWhenFull)) { + _continue = false; + } + // if the connection was setup as not detachable or one of its endpoints + // was setup as connectionsDetachable = false, or Defaults.ConnectionsDetachable + // is set to false... + if (jpc != null && !jpc.isDetachable(this)) { + // .. and the endpoint is full + if (this.isFull()) { + _continue = false; + } else { + // otherwise, if not full, set the connection to null, and we will now proceed + // to drag a new connection. + jpc = null; + } + } + + var beforeDrag = _jsPlumb.checkCondition(jpc == null ? "beforeDrag" : "beforeStartDetach", { + endpoint:this, + source:this.element, + sourceId:this.elementId, + connection:jpc + }); + if (beforeDrag === false) { + _continue = false; + } + // else we might have been given some data. we'll pass it in to a new connection as 'data'. + // here we also merge in the optional payload we were given on mousedown. + else if (typeof beforeDrag === "object") { + _jp.extend(beforeDrag, payload || {}); + } + else { + // or if no beforeDrag data, maybe use the payload on its own. + beforeDrag = payload || {}; + } + + if (_continue === false) { + // this is for mootools and yui. returning false from this causes jquery to stop drag. + // the events are wrapped in both mootools and yui anyway, but i don't think returning + // false from the start callback would stop a drag. + if (_jsPlumb.stopDrag) { + _jsPlumb.stopDrag(this.canvas); + } + _dragHandler.stopDrag(); + return false; + } + +// --------------------------------------------------------------------------------------------------------------------- + + // ok to proceed. + + // clear hover for all connections for this endpoint before continuing. + for (var i = 0; i < this.connections.length; i++) { + this.connections[i].setHover(false); + } + + this.addClass("endpointDrag"); + _jsPlumb.setConnectionBeingDragged(true); + + // if we're not full but there was a connection, make it null. we'll create a new one. + if (jpc && !this.isFull() && this.isSource) { + jpc = null; + } + + _jsPlumb.updateOffset({ elId: this.elementId }); + +// ---------------- make the element we will drag around, and position it ----------------------------- + + var ipco = this._jsPlumb.instance.getOffset(this.canvas), + canvasElement = this.canvas, + ips = this._jsPlumb.instance.getSize(this.canvas); + + _makeDraggablePlaceholder(placeholderInfo, _jsPlumb, ipco, ips); + + // store the id of the dragging div and the source element. the drop function will pick these up. + _jsPlumb.setAttributes(this.canvas, { + "dragId": placeholderInfo.id, + "elId": this.elementId + }); + +// ------------------- create an endpoint that will be our floating endpoint ------------------------------------ + + var endpointToFloat = this.dragProxy || this.endpoint; + if (this.dragProxy == null && this.connectionType != null) { + var aae = this._jsPlumb.instance.deriveEndpointAndAnchorSpec(this.connectionType); + if (aae.endpoints[1]) { + endpointToFloat = aae.endpoints[1]; + } + } + var centerAnchor = this._jsPlumb.instance.makeAnchor("Center"); + centerAnchor.isFloating = true; + this._jsPlumb.floatingEndpoint = _makeFloatingEndpoint(this.getPaintStyle(), centerAnchor, endpointToFloat, this.canvas, placeholderInfo.element, _jsPlumb, _newEndpoint, this.scope); + var _savedAnchor = this._jsPlumb.floatingEndpoint.anchor; + + + if (jpc == null) { + + this.setHover(false, false); + // create a connection. one end is this endpoint, the other is a floating endpoint. + jpc = _newConnection({ + sourceEndpoint: this, + targetEndpoint: this._jsPlumb.floatingEndpoint, + source: this.element, // for makeSource with parent option. ensure source element is represented correctly. + target: placeholderInfo.element, + anchors: [ this.anchor, this._jsPlumb.floatingEndpoint.anchor ], + paintStyle: params.connectorStyle, // this can be null. Connection will use the default. + hoverPaintStyle: params.connectorHoverStyle, + connector: params.connector, // this can also be null. Connection will use the default. + overlays: params.connectorOverlays, + type: this.connectionType, + cssClass: this.connectorClass, + hoverClass: this.connectorHoverClass, + scope:params.scope, + data:beforeDrag + }); + jpc.pending = true; + jpc.addClass(_jsPlumb.draggingClass); + this._jsPlumb.floatingEndpoint.addClass(_jsPlumb.draggingClass); + this._jsPlumb.floatingEndpoint.anchor = _savedAnchor; + // fire an event that informs that a connection is being dragged + _jsPlumb.fire("connectionDrag", jpc); + + // register the new connection on the drag manager. This connection, at this point, is 'pending', + // and has as its target a temporary element (the 'placeholder'). If the connection subsequently + // becomes established, the anchor manager is informed that the target of the connection has + // changed. + + _jsPlumb.anchorManager.newConnection(jpc); + + } else { + existingJpc = true; + jpc.setHover(false); + // new anchor idx + var anchorIdx = jpc.endpoints[0].id === this.id ? 0 : 1; + this.detachFromConnection(jpc, null, true); // detach from the connection while dragging is occurring. but dont cleanup automatically. + + // store the original scope (issue 57) + var dragScope = _jsPlumb.getDragScope(canvasElement); + _jsPlumb.setAttribute(this.canvas, "originalScope", dragScope); + + // fire an event that informs that a connection is being dragged. we do this before + // replacing the original target with the floating element info. + _jsPlumb.fire("connectionDrag", jpc); + + // now we replace ourselves with the temporary div we created above: + if (anchorIdx === 0) { + existingJpcParams = [ jpc.source, jpc.sourceId, canvasElement, dragScope ]; + _jsPlumb.anchorManager.sourceChanged(jpc.endpoints[anchorIdx].elementId, placeholderInfo.id, jpc, placeholderInfo.element); + + } else { + existingJpcParams = [ jpc.target, jpc.targetId, canvasElement, dragScope ]; + jpc.target = placeholderInfo.element; + jpc.targetId = placeholderInfo.id; + + _jsPlumb.anchorManager.updateOtherEndpoint(jpc.sourceId, jpc.endpoints[anchorIdx].elementId, jpc.targetId, jpc); + } + + // store the original endpoint and assign the new floating endpoint for the drag. + jpc.suspendedEndpoint = jpc.endpoints[anchorIdx]; + + // PROVIDE THE SUSPENDED ELEMENT, BE IT A SOURCE OR TARGET (ISSUE 39) + jpc.suspendedElement = jpc.endpoints[anchorIdx].getElement(); + jpc.suspendedElementId = jpc.endpoints[anchorIdx].elementId; + jpc.suspendedElementType = anchorIdx === 0 ? "source" : "target"; + + jpc.suspendedEndpoint.setHover(false); + this._jsPlumb.floatingEndpoint.referenceEndpoint = jpc.suspendedEndpoint; + jpc.endpoints[anchorIdx] = this._jsPlumb.floatingEndpoint; + + jpc.addClass(_jsPlumb.draggingClass); + this._jsPlumb.floatingEndpoint.addClass(_jsPlumb.draggingClass); + } + + _jsPlumb.registerFloatingConnection(placeholderInfo, jpc, this._jsPlumb.floatingEndpoint); + + // // register it and register connection on it. + // _jsPlumb.floatingConnections[placeholderInfo.id] = jpc; + // + // // only register for the target endpoint; we will not be dragging the source at any time + // // before this connection is either discarded or made into a permanent connection. + // _ju.addToList(params.endpointsByElement, placeholderInfo.id, this._jsPlumb.floatingEndpoint); + + + // tell jsplumb about it + _jsPlumb.currentlyDragging = true; + }.bind(this); + + var stop = function () { + _jsPlumb.setConnectionBeingDragged(false); + + if (jpc && jpc.endpoints != null) { + // get the actual drop event (decode from library args to stop function) + var originalEvent = _jsPlumb.getDropEvent(arguments); + // unlock the other endpoint (if it is dynamic, it would have been locked at drag start) + var idx = _jsPlumb.getFloatingAnchorIndex(jpc); + jpc.endpoints[idx === 0 ? 1 : 0].anchor.unlock(); + // TODO: Dont want to know about css classes inside jsplumb, ideally. + jpc.removeClass(_jsPlumb.draggingClass); + + // if we have the floating endpoint then the connection has not been dropped + // on another endpoint. If it is a new connection we throw it away. If it is an + // existing connection we check to see if we should reattach it, throwing it away + // if not. + if (this._jsPlumb && (jpc.deleteConnectionNow || jpc.endpoints[idx] === this._jsPlumb.floatingEndpoint)) { + // 6a. if the connection was an existing one... + if (existingJpc && jpc.suspendedEndpoint) { + // fix for issue35, thanks Sylvain Gizard: when firing the detach event make sure the + // floating endpoint has been replaced. + if (idx === 0) { + jpc.floatingElement = jpc.source; + jpc.floatingId = jpc.sourceId; + jpc.floatingEndpoint = jpc.endpoints[0]; + jpc.floatingIndex = 0; + jpc.source = existingJpcParams[0]; + jpc.sourceId = existingJpcParams[1]; + } else { + // keep a copy of the floating element; the anchor manager will want to clean up. + jpc.floatingElement = jpc.target; + jpc.floatingId = jpc.targetId; + jpc.floatingEndpoint = jpc.endpoints[1]; + jpc.floatingIndex = 1; + jpc.target = existingJpcParams[0]; + jpc.targetId = existingJpcParams[1]; + } + + var fe = this._jsPlumb.floatingEndpoint; // store for later removal. + // restore the original scope (issue 57) + _jsPlumb.setDragScope(existingJpcParams[2], existingJpcParams[3]); + jpc.endpoints[idx] = jpc.suspendedEndpoint; + // if the connection should be reattached, or the other endpoint refuses detach, then + // reset the connection to its original state + if (jpc.isReattach() || jpc._forceReattach || jpc._forceDetach || !_jsPlumb.deleteConnection(jpc, {originalEvent: originalEvent})) { + + jpc.setHover(false); + jpc._forceDetach = null; + jpc._forceReattach = null; + this._jsPlumb.floatingEndpoint.detachFromConnection(jpc); + jpc.suspendedEndpoint.addConnection(jpc); + + // TODO this code is duplicated in lots of places...and there is nothing external + // in the code; it all refers to the connection itself. we could add a + // `checkSanity(connection)` method to anchorManager that did this. + if (idx === 1) { + _jsPlumb.anchorManager.updateOtherEndpoint(jpc.sourceId, jpc.floatingId, jpc.targetId, jpc); + } + else { + _jsPlumb.anchorManager.sourceChanged(jpc.floatingId, jpc.sourceId, jpc, jpc.source); + } + + _jsPlumb.repaint(existingJpcParams[1]); + } + else { + _jsPlumb.deleteObject({endpoint: fe}); + } + } + } + + // makeTargets sets this flag, to tell us we have been replaced and should delete this object. + if (this.deleteAfterDragStop) { + _jsPlumb.deleteObject({endpoint: this}); + } + else { + if (this._jsPlumb) { + this.paint({recalc: false}); + } + } + + // although the connection is no longer valid, there are use cases where this is useful. + _jsPlumb.fire("connectionDragStop", jpc, originalEvent); + // fire this event to give people more fine-grained control (connectionDragStop fires a lot) + if (jpc.pending) { + _jsPlumb.fire("connectionAborted", jpc, originalEvent); + } + // tell jsplumb that dragging is finished. + _jsPlumb.currentlyDragging = false; + jpc.suspendedElement = null; + jpc.suspendedEndpoint = null; + jpc = null; + } + + // if no endpoints, jpc already cleaned up. but still we want to ensure we're reset properly. + // remove the element associated with the floating endpoint + // (and its associated floating endpoint and visual artefacts) + if (placeholderInfo && placeholderInfo.element) { + _jsPlumb.remove(placeholderInfo.element, false, false); + } + // remove the inplace copy + if (inPlaceCopy) { + _jsPlumb.deleteObject({endpoint: inPlaceCopy}); + } + + if (this._jsPlumb) { + // make our canvas visible (TODO: hand off to library; we should not know about DOM) + this.canvas.style.visibility = "visible"; + // unlock our anchor + this.anchor.unlock(); + // clear floating anchor. + this._jsPlumb.floatingEndpoint = null; + } + + }.bind(this); + + dragOptions = _jp.extend(defaultOpts, dragOptions); + dragOptions.scope = this.scope || dragOptions.scope; + dragOptions[beforeStartEvent] = _ju.wrap(dragOptions[beforeStartEvent], beforeStart, false); + dragOptions[startEvent] = _ju.wrap(dragOptions[startEvent], start, false); + // extracted drag handler function so can be used by makeSource + dragOptions[dragEvent] = _ju.wrap(dragOptions[dragEvent], _dragHandler.drag); + dragOptions[stopEvent] = _ju.wrap(dragOptions[stopEvent], stop); + dragOptions.multipleDrop = false; + + dragOptions.canDrag = function () { + return this.isSource || this.isTemporarySource || (this.connections.length > 0 && this.connectionsDetachable !== false); + }.bind(this); + + _jsPlumb.initDraggable(this.canvas, dragOptions, "internal"); + + this.canvas._jsPlumbRelatedElement = this.element; + + draggingInitialised = true; + } + }; + + var ep = params.endpoint || this._jsPlumb.instance.Defaults.Endpoint || _jp.Defaults.Endpoint; + this.setEndpoint(ep, true); + var anchorParamsToUse = params.anchor ? params.anchor : params.anchors ? params.anchors : (_jsPlumb.Defaults.Anchor || "Top"); + this.setAnchor(anchorParamsToUse, true); + + // finally, set type if it was provided + var type = [ "default", (params.type || "")].join(" "); + this.addType(type, params.data, true); + this.canvas = this.endpoint.canvas; + this.canvas._jsPlumb = this; + + this.initDraggable(); + + // pulled this out into a function so we can reuse it for the inPlaceCopy canvas; you can now drop detached connections + // back onto the endpoint you detached it from. + var _initDropTarget = function (canvas, isTransient, endpoint, referenceEndpoint) { + + if (_jp.isDropSupported(this.element)) { + var dropOptions = params.dropOptions || _jsPlumb.Defaults.DropOptions || _jp.Defaults.DropOptions; + dropOptions = _jp.extend({}, dropOptions); + dropOptions.scope = dropOptions.scope || this.scope; + var dropEvent = _jp.dragEvents.drop, + overEvent = _jp.dragEvents.over, + outEvent = _jp.dragEvents.out, + _ep = this, + drop = _jsPlumb.EndpointDropHandler({ + getEndpoint: function () { + return _ep; + }, + jsPlumb: _jsPlumb, + enabled: function () { + return endpoint != null ? endpoint.isEnabled() : true; + }, + isFull: function () { + return endpoint.isFull(); + }, + element: this.element, + elementId: this.elementId, + isSource: this.isSource, + isTarget: this.isTarget, + addClass: function (clazz) { + _ep.addClass(clazz); + }, + removeClass: function (clazz) { + _ep.removeClass(clazz); + }, + isDropAllowed: function () { + return _ep.isDropAllowed.apply(_ep, arguments); + }, + reference:referenceEndpoint, + isRedrop:function(jpc, dhParams) { + return jpc.suspendedEndpoint && dhParams.reference && (jpc.suspendedEndpoint.id === dhParams.reference.id); + } + }); + + dropOptions[dropEvent] = _ju.wrap(dropOptions[dropEvent], drop, true); + dropOptions[overEvent] = _ju.wrap(dropOptions[overEvent], function () { + var draggable = _jp.getDragObject(arguments), + id = _jsPlumb.getAttribute(_jp.getElement(draggable), "dragId"), + _jpc = _jsPlumb.getFloatingConnectionFor(id);//_jsPlumb.floatingConnections[id]; + + if (_jpc != null) { + var idx = _jsPlumb.getFloatingAnchorIndex(_jpc); + // here we should fire the 'over' event if we are a target and this is a new connection, + // or we are the same as the floating endpoint. + var _cont = (this.isTarget && idx !== 0) || (_jpc.suspendedEndpoint && this.referenceEndpoint && this.referenceEndpoint.id === _jpc.suspendedEndpoint.id); + if (_cont) { + var bb = _jsPlumb.checkCondition("checkDropAllowed", { + sourceEndpoint: _jpc.endpoints[idx], + targetEndpoint: this, + connection: _jpc + }); + this[(bb ? "add" : "remove") + "Class"](_jsPlumb.endpointDropAllowedClass); + this[(bb ? "remove" : "add") + "Class"](_jsPlumb.endpointDropForbiddenClass); + _jpc.endpoints[idx].anchor.over(this.anchor, this); + } + } + }.bind(this)); + + dropOptions[outEvent] = _ju.wrap(dropOptions[outEvent], function () { + var draggable = _jp.getDragObject(arguments), + id = draggable == null ? null : _jsPlumb.getAttribute(_jp.getElement(draggable), "dragId"), + _jpc = id ? _jsPlumb.getFloatingConnectionFor(id) : null; + + if (_jpc != null) { + var idx = _jsPlumb.getFloatingAnchorIndex(_jpc); + var _cont = (this.isTarget && idx !== 0) || (_jpc.suspendedEndpoint && this.referenceEndpoint && this.referenceEndpoint.id === _jpc.suspendedEndpoint.id); + if (_cont) { + this.removeClass(_jsPlumb.endpointDropAllowedClass); + this.removeClass(_jsPlumb.endpointDropForbiddenClass); + _jpc.endpoints[idx].anchor.out(); + } + } + }.bind(this)); + + _jsPlumb.initDroppable(canvas, dropOptions, "internal", isTransient); + } + }.bind(this); + + // Initialise the endpoint's canvas as a drop target. The drop handler will take care of the logic of whether + // something can actually be dropped. + if (!this.anchor.isFloating) { + _initDropTarget(this.canvas, !(params._transient || this.anchor.isFloating), this, params.reference); + } + + return this; + }; + + _ju.extend(_jp.Endpoint, _jp.OverlayCapableJsPlumbUIComponent, { + + setVisible: function (v, doNotChangeConnections, doNotNotifyOtherEndpoint) { + this._jsPlumb.visible = v; + if (this.canvas) { + this.canvas.style.display = v ? "block" : "none"; + } + this[v ? "showOverlays" : "hideOverlays"](); + if (!doNotChangeConnections) { + for (var i = 0; i < this.connections.length; i++) { + this.connections[i].setVisible(v); + if (!doNotNotifyOtherEndpoint) { + var oIdx = this === this.connections[i].endpoints[0] ? 1 : 0; + // only change the other endpoint if this is its only connection. + if (this.connections[i].endpoints[oIdx].connections.length === 1) { + this.connections[i].endpoints[oIdx].setVisible(v, true, true); + } + } + } + } + }, + getAttachedElements: function () { + return this.connections; + }, + applyType: function (t, doNotRepaint) { + this.setPaintStyle(t.endpointStyle || t.paintStyle, doNotRepaint); + this.setHoverPaintStyle(t.endpointHoverStyle || t.hoverPaintStyle, doNotRepaint); + if (t.maxConnections != null) { + this._jsPlumb.maxConnections = t.maxConnections; + } + if (t.scope) { + this.scope = t.scope; + } + _jp.extend(this, t, typeParameters); + if (t.cssClass != null && this.canvas) { + this._jsPlumb.instance.addClass(this.canvas, t.cssClass); + } + _jp.OverlayCapableJsPlumbUIComponent.applyType(this, t); + }, + isEnabled: function () { + return this._jsPlumb.enabled; + }, + setEnabled: function (e) { + this._jsPlumb.enabled = e; + }, + cleanup: function () { + var anchorClass = this._jsPlumb.instance.endpointAnchorClassPrefix + (this._jsPlumb.currentAnchorClass ? "-" + this._jsPlumb.currentAnchorClass : ""); + _jp.removeClass(this.element, anchorClass); + this.anchor = null; + this.endpoint.cleanup(true); + this.endpoint.destroy(); + this.endpoint = null; + // drag/drop + this._jsPlumb.instance.destroyDraggable(this.canvas, "internal"); + this._jsPlumb.instance.destroyDroppable(this.canvas, "internal"); + }, + setHover: function (h) { + if (this.endpoint && this._jsPlumb && !this._jsPlumb.instance.isConnectionBeingDragged()) { + this.endpoint.setHover(h); + } + }, + isFull: function () { + return this._jsPlumb.maxConnections === 0 ? true : !(this.isFloating() || this._jsPlumb.maxConnections < 0 || this.connections.length < this._jsPlumb.maxConnections); + }, + /** + * private but needs to be exposed. + */ + isFloating: function () { + return this.anchor != null && this.anchor.isFloating; + }, + isConnectedTo: function (endpoint) { + var found = false; + if (endpoint) { + for (var i = 0; i < this.connections.length; i++) { + if (this.connections[i].endpoints[1] === endpoint || this.connections[i].endpoints[0] === endpoint) { + found = true; + break; + } + } + } + return found; + }, + getConnectionCost: function () { + return this._jsPlumb.connectionCost; + }, + setConnectionCost: function (c) { + this._jsPlumb.connectionCost = c; + }, + areConnectionsDirected: function () { + return this._jsPlumb.connectionsDirected; + }, + setConnectionsDirected: function (b) { + this._jsPlumb.connectionsDirected = b; + }, + setElementId: function (_elId) { + this.elementId = _elId; + this.anchor.elementId = _elId; + }, + setReferenceElement: function (_el) { + this.element = _jp.getElement(_el); + }, + setDragAllowedWhenFull: function (allowed) { + this.dragAllowedWhenFull = allowed; + }, + equals: function (endpoint) { + return this.anchor.equals(endpoint.anchor); + }, + getUuid: function () { + return this._jsPlumb.uuid; + }, + computeAnchor: function (params) { + return this.anchor.compute(params); + } + }); + + root.jsPlumbInstance.prototype.EndpointDropHandler = function (dhParams) { + return function (e) { + + var _jsPlumb = dhParams.jsPlumb; + + // remove the classes that are added dynamically. drop is neither forbidden nor allowed now that + // the drop is finishing. + dhParams.removeClass(_jsPlumb.endpointDropAllowedClass); + dhParams.removeClass(_jsPlumb.endpointDropForbiddenClass); + + var originalEvent = _jsPlumb.getDropEvent(arguments), + draggable = _jsPlumb.getDragObject(arguments), + id = _jsPlumb.getAttribute(draggable, "dragId"), + elId = _jsPlumb.getAttribute(draggable, "elId"), + scope = _jsPlumb.getAttribute(draggable, "originalScope"), + jpc = _jsPlumb.getFloatingConnectionFor(id); + + // if no active connection, bail. + if (jpc == null) { + return; + } + + // calculate if this is an existing connection. + var existingConnection = jpc.suspendedEndpoint != null; + + // if suspended endpoint exists but has been cleaned up, bail. This means it's an existing connection + // that has been detached and will shortly be discarded. + if (existingConnection && jpc.suspendedEndpoint._jsPlumb == null) { + return; + } + + // get the drop endpoint. for a normal connection this is just the one that would replace the currently + // floating endpoint. for a makeTarget this is a new endpoint that is created on drop. But we leave that to + // the handler to figure out. + var _ep = dhParams.getEndpoint(jpc); + + // If we're not given an endpoint to use, bail. + if (_ep == null) { + return; + } + + // if this is a drop back where the connection came from, mark it force reattach and + // return; the stop handler will reattach. without firing an event. + if (dhParams.isRedrop(jpc, dhParams)) { + jpc._forceReattach = true; + jpc.setHover(false); + if (dhParams.maybeCleanup) { + dhParams.maybeCleanup(_ep); + } + return; + } + + // ensure we dont bother trying to drop sources on non-source eps, and same for target. + var idx = _jsPlumb.getFloatingAnchorIndex(jpc); + if ((idx === 0 && !dhParams.isSource)|| (idx === 1 && !dhParams.isTarget)){ + if (dhParams.maybeCleanup) { + dhParams.maybeCleanup(_ep); + } + return; + } + + if (dhParams.onDrop) { + dhParams.onDrop(jpc); + } + + // restore the original scope if necessary (issue 57) + if (scope) { + _jsPlumb.setDragScope(draggable, scope); + } + + // if the target of the drop is full, fire an event (we abort below) + // makeTarget: keep. + var isFull = dhParams.isFull(e); + if (isFull) { + _ep.fire("maxConnections", { + endpoint: this, + connection: jpc, + maxConnections: _ep._jsPlumb.maxConnections + }, originalEvent); + } + // + // if endpoint enabled, not full, and matches the index of the floating endpoint... + if (!isFull && dhParams.enabled()) { + var _doContinue = true; + + // before testing for beforeDrop, reset the connection's source/target to be the actual DOM elements + // involved (that is, stash any temporary stuff used for dragging. but we need to keep it around in + // order that the anchor manager can clean things up properly). + if (idx === 0) { + jpc.floatingElement = jpc.source; + jpc.floatingId = jpc.sourceId; + jpc.floatingEndpoint = jpc.endpoints[0]; + jpc.floatingIndex = 0; + jpc.source = dhParams.element; + jpc.sourceId = _jsPlumb.getId(dhParams.element); + } else { + jpc.floatingElement = jpc.target; + jpc.floatingId = jpc.targetId; + jpc.floatingEndpoint = jpc.endpoints[1]; + jpc.floatingIndex = 1; + jpc.target = dhParams.element; + jpc.targetId = _jsPlumb.getId(dhParams.element); + } + + // if this is an existing connection and detach is not allowed we won't continue. The connection's + // endpoints have been reinstated; everything is back to how it was. + if (existingConnection && jpc.suspendedEndpoint.id !== _ep.id) { + if (!jpc.isDetachAllowed(jpc) || !jpc.endpoints[idx].isDetachAllowed(jpc) || !jpc.suspendedEndpoint.isDetachAllowed(jpc) || !_jsPlumb.checkCondition("beforeDetach", jpc)) { + _doContinue = false; + } + } + +// ------------ wrap the execution path in a function so we can support asynchronous beforeDrop + + var continueFunction = function (optionalData) { + // remove this jpc from the current endpoint, which is a floating endpoint that we will + // subsequently discard. + jpc.endpoints[idx].detachFromConnection(jpc); + + // if there's a suspended endpoint, detach it from the connection. + if (jpc.suspendedEndpoint) { + jpc.suspendedEndpoint.detachFromConnection(jpc); + } + + jpc.endpoints[idx] = _ep; + _ep.addConnection(jpc); + + // copy our parameters in to the connection: + var params = _ep.getParameters(); + for (var aParam in params) { + jpc.setParameter(aParam, params[aParam]); + } + + if (!existingConnection) { + // if not an existing connection and + if (params.draggable) { + _jsPlumb.initDraggable(this.element, dhParams.dragOptions, "internal", _jsPlumb); + } + } + else { + var suspendedElementId = jpc.suspendedEndpoint.elementId; + _jsPlumb.fireMoveEvent({ + index: idx, + originalSourceId: idx === 0 ? suspendedElementId : jpc.sourceId, + newSourceId: idx === 0 ? _ep.elementId : jpc.sourceId, + originalTargetId: idx === 1 ? suspendedElementId : jpc.targetId, + newTargetId: idx === 1 ? _ep.elementId : jpc.targetId, + originalSourceEndpoint: idx === 0 ? jpc.suspendedEndpoint : jpc.endpoints[0], + newSourceEndpoint: idx === 0 ? _ep : jpc.endpoints[0], + originalTargetEndpoint: idx === 1 ? jpc.suspendedEndpoint : jpc.endpoints[1], + newTargetEndpoint: idx === 1 ? _ep : jpc.endpoints[1], + connection: jpc + }, originalEvent); + } + + if (idx === 1) { + _jsPlumb.anchorManager.updateOtherEndpoint(jpc.sourceId, jpc.floatingId, jpc.targetId, jpc); + } + else { + _jsPlumb.anchorManager.sourceChanged(jpc.floatingId, jpc.sourceId, jpc, jpc.source); + } + + // when makeSource has uniqueEndpoint:true, we want to create connections with new endpoints + // that are subsequently deleted. So makeSource sets `finalEndpoint`, which is the Endpoint to + // which the connection should be attached. The `detachFromConnection` call below results in the + // temporary endpoint being cleaned up. + if (jpc.endpoints[0].finalEndpoint) { + var _toDelete = jpc.endpoints[0]; + _toDelete.detachFromConnection(jpc); + jpc.endpoints[0] = jpc.endpoints[0].finalEndpoint; + jpc.endpoints[0].addConnection(jpc); + } + + // if optionalData was given, merge it onto the connection's data. + if (_ju.isObject(optionalData)) { + jpc.mergeData(optionalData); + } + // finalise will inform the anchor manager and also add to + // connectionsByScope if necessary. + _jsPlumb.finaliseConnection(jpc, null, originalEvent, false); + jpc.setHover(false); + + // SP continuous anchor flush + _jsPlumb.revalidate(jpc.endpoints[0].element); + + }.bind(this); + + var dontContinueFunction = function () { + // otherwise just put it back on the endpoint it was on before the drag. + if (jpc.suspendedEndpoint) { + jpc.endpoints[idx] = jpc.suspendedEndpoint; + jpc.setHover(false); + jpc._forceDetach = true; + if (idx === 0) { + jpc.source = jpc.suspendedEndpoint.element; + jpc.sourceId = jpc.suspendedEndpoint.elementId; + } else { + jpc.target = jpc.suspendedEndpoint.element; + jpc.targetId = jpc.suspendedEndpoint.elementId; + } + jpc.suspendedEndpoint.addConnection(jpc); + + // TODO checkSanity + if (idx === 1) { + _jsPlumb.anchorManager.updateOtherEndpoint(jpc.sourceId, jpc.floatingId, jpc.targetId, jpc); + } + else { + _jsPlumb.anchorManager.sourceChanged(jpc.floatingId, jpc.sourceId, jpc, jpc.source); + } + + _jsPlumb.repaint(jpc.sourceId); + jpc._forceDetach = false; + } + }; + +// -------------------------------------- + // now check beforeDrop. this will be available only on Endpoints that are setup to + // have a beforeDrop condition (although, secretly, under the hood all Endpoints and + // the Connection have them, because they are on jsPlumbUIComponent. shhh!), because + // it only makes sense to have it on a target endpoint. + _doContinue = _doContinue && dhParams.isDropAllowed(jpc.sourceId, jpc.targetId, jpc.scope, jpc, _ep);// && jpc.pending; + + if (_doContinue) { + continueFunction(_doContinue); + return true; + } + else { + dontContinueFunction(); + } + } + + if (dhParams.maybeCleanup) { + dhParams.maybeCleanup(_ep); + } + + _jsPlumb.currentlyDragging = false; + }; + }; +}).call(typeof window !== 'undefined' ? window : this); + +/* + * This file contains the code for Connections. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + + "use strict"; + var root = this, + _jp = root.jsPlumb, + _ju = root.jsPlumbUtil; + + var makeConnector = function (_jsPlumb, renderMode, connectorName, connectorArgs, forComponent) { + // first make sure we have a cache for the specified renderer + _jp.Connectors[renderMode] = _jp.Connectors[renderMode] || {}; + + // now see if the one we want exists; if not we will try to make it + if (_jp.Connectors[renderMode][connectorName] == null) { + + if (_jp.Connectors[connectorName] == null) { + if (!_jsPlumb.Defaults.DoNotThrowErrors) { + throw new TypeError("jsPlumb: unknown connector type '" + connectorName + "'"); + } else { + return null; + } + } + + _jp.Connectors[renderMode][connectorName] = function() { + _jp.Connectors[connectorName].apply(this, arguments); + _jp.ConnectorRenderers[renderMode].apply(this, arguments); + }; + + _ju.extend(_jp.Connectors[renderMode][connectorName], [ _jp.Connectors[connectorName], _jp.ConnectorRenderers[renderMode]]); + + } + + return new _jp.Connectors[renderMode][connectorName](connectorArgs, forComponent); + }, + _makeAnchor = function (anchorParams, elementId, _jsPlumb) { + return (anchorParams) ? _jsPlumb.makeAnchor(anchorParams, elementId, _jsPlumb) : null; + }, + _updateConnectedClass = function (conn, element, _jsPlumb, remove) { + if (element != null) { + element._jsPlumbConnections = element._jsPlumbConnections || {}; + if (remove) { + delete element._jsPlumbConnections[conn.id]; + } + else { + element._jsPlumbConnections[conn.id] = true; + } + + if (_ju.isEmpty(element._jsPlumbConnections)) { + _jsPlumb.removeClass(element, _jsPlumb.connectedClass); + } + else { + _jsPlumb.addClass(element, _jsPlumb.connectedClass); + } + } + }; + + _jp.Connection = function (params) { + var _newEndpoint = params.newEndpoint; + + this.id = params.id; + this.connector = null; + this.idPrefix = "_jsplumb_c_"; + this.defaultLabelLocation = 0.5; + this.defaultOverlayKeys = ["Overlays", "ConnectionOverlays"]; + // if a new connection is the result of moving some existing connection, params.previousConnection + // will have that Connection in it. listeners for the jsPlumbConnection event can look for that + // member and take action if they need to. + this.previousConnection = params.previousConnection; + this.source = _jp.getElement(params.source); + this.target = _jp.getElement(params.target); + + + _jp.OverlayCapableJsPlumbUIComponent.apply(this, arguments); + + // sourceEndpoint and targetEndpoint override source/target, if they are present. but + // source is not overridden if the Endpoint has declared it is not the final target of a connection; + // instead we use the source that the Endpoint declares will be the final source element. + if (params.sourceEndpoint) { + this.source = params.sourceEndpoint.getElement(); + this.sourceId = params.sourceEndpoint.elementId; + } else { + this.sourceId = this._jsPlumb.instance.getId(this.source); + } + + if (params.targetEndpoint) { + this.target = params.targetEndpoint.getElement(); + this.targetId = params.targetEndpoint.elementId; + } else { + this.targetId = this._jsPlumb.instance.getId(this.target); + } + + + this.scope = params.scope; // scope may have been passed in to the connect call. if it wasn't, we will pull it from the source endpoint, after having initialised the endpoints. + this.endpoints = []; + this.endpointStyles = []; + + var _jsPlumb = this._jsPlumb.instance; + + _jsPlumb.manage(this.sourceId, this.source); + _jsPlumb.manage(this.targetId, this.target); + + this._jsPlumb.visible = true; + + this._jsPlumb.params = { + cssClass: params.cssClass, + container: params.container, + "pointer-events": params["pointer-events"], + editorParams: params.editorParams, + overlays: params.overlays + }; + this._jsPlumb.lastPaintedAt = null; + + // listen to mouseover and mouseout events passed from the container delegate. + this.bind("mouseover", function () { + this.setHover(true); + }.bind(this)); + this.bind("mouseout", function () { + this.setHover(false); + }.bind(this)); + + +// INITIALISATION CODE + + this.makeEndpoint = function (isSource, el, elId, ep, definition) { + elId = elId || this._jsPlumb.instance.getId(el); + return this.prepareEndpoint(_jsPlumb, _newEndpoint, this, ep, isSource ? 0 : 1, params, el, elId, definition); + }; + + // if type given, get the endpoint definitions mapping to that type from the jsplumb instance, and use those. + // we apply types at the end of this constructor but endpoints are only honoured in a type definition at + // create time. + if (params.type) { + params.endpoints = params.endpoints || this._jsPlumb.instance.deriveEndpointAndAnchorSpec(params.type).endpoints; + } + + var eS = this.makeEndpoint(true, this.source, this.sourceId, params.sourceEndpoint), + eT = this.makeEndpoint(false, this.target, this.targetId, params.targetEndpoint); + + if (eS) { + _ju.addToList(params.endpointsByElement, this.sourceId, eS); + } + if (eT) { + _ju.addToList(params.endpointsByElement, this.targetId, eT); + } + // if scope not set, set it to be the scope for the source endpoint. + if (!this.scope) { + this.scope = this.endpoints[0].scope; + } + + // if explicitly told to (or not to) delete endpoints when empty, override endpoint's preferences + if (params.deleteEndpointsOnEmpty != null) { + this.endpoints[0].setDeleteOnEmpty(params.deleteEndpointsOnEmpty); + this.endpoints[1].setDeleteOnEmpty(params.deleteEndpointsOnEmpty); + } + +// -------------------------- DEFAULT TYPE --------------------------------------------- + + // DETACHABLE + var _detachable = _jsPlumb.Defaults.ConnectionsDetachable; + if (params.detachable === false) { + _detachable = false; + } + if (this.endpoints[0].connectionsDetachable === false) { + _detachable = false; + } + if (this.endpoints[1].connectionsDetachable === false) { + _detachable = false; + } + // REATTACH + var _reattach = params.reattach || this.endpoints[0].reattachConnections || this.endpoints[1].reattachConnections || _jsPlumb.Defaults.ReattachConnections; + + this.appendToDefaultType({ + detachable: _detachable, + reattach: _reattach, + paintStyle:this.endpoints[0].connectorStyle || this.endpoints[1].connectorStyle || params.paintStyle || _jsPlumb.Defaults.PaintStyle || _jp.Defaults.PaintStyle, + hoverPaintStyle:this.endpoints[0].connectorHoverStyle || this.endpoints[1].connectorHoverStyle || params.hoverPaintStyle || _jsPlumb.Defaults.HoverPaintStyle || _jp.Defaults.HoverPaintStyle + }); + + var _suspendedAt = _jsPlumb.getSuspendedAt(); + if (!_jsPlumb.isSuspendDrawing()) { + // paint the endpoints + var myInfo = _jsPlumb.getCachedData(this.sourceId), + myOffset = myInfo.o, myWH = myInfo.s, + otherInfo = _jsPlumb.getCachedData(this.targetId), + otherOffset = otherInfo.o, + otherWH = otherInfo.s, + initialTimestamp = _suspendedAt || _jsPlumb.timestamp(), + anchorLoc = this.endpoints[0].anchor.compute({ + xy: [ myOffset.left, myOffset.top ], wh: myWH, element: this.endpoints[0], + elementId: this.endpoints[0].elementId, + txy: [ otherOffset.left, otherOffset.top ], twh: otherWH, tElement: this.endpoints[1], + timestamp: initialTimestamp + }); + + this.endpoints[0].paint({ anchorLoc: anchorLoc, timestamp: initialTimestamp }); + + anchorLoc = this.endpoints[1].anchor.compute({ + xy: [ otherOffset.left, otherOffset.top ], wh: otherWH, element: this.endpoints[1], + elementId: this.endpoints[1].elementId, + txy: [ myOffset.left, myOffset.top ], twh: myWH, tElement: this.endpoints[0], + timestamp: initialTimestamp + }); + this.endpoints[1].paint({ anchorLoc: anchorLoc, timestamp: initialTimestamp }); + } + + this.getTypeDescriptor = function () { + return "connection"; + }; + this.getAttachedElements = function () { + return this.endpoints; + }; + + this.isDetachable = function (ep) { + return this._jsPlumb.detachable === false ? false : ep != null ? ep.connectionsDetachable === true : this._jsPlumb.detachable === true; + }; + this.setDetachable = function (detachable) { + this._jsPlumb.detachable = detachable === true; + }; + this.isReattach = function () { + return this._jsPlumb.reattach === true || this.endpoints[0].reattachConnections === true || this.endpoints[1].reattachConnections === true; + }; + this.setReattach = function (reattach) { + this._jsPlumb.reattach = reattach === true; + }; + +// END INITIALISATION CODE + + +// COST + DIRECTIONALITY + // if cost not supplied, try to inherit from source endpoint + this._jsPlumb.cost = params.cost || this.endpoints[0].getConnectionCost(); + this._jsPlumb.directed = params.directed; + // inherit directed flag if set no source endpoint + if (params.directed == null) { + this._jsPlumb.directed = this.endpoints[0].areConnectionsDirected(); + } +// END COST + DIRECTIONALITY + +// PARAMETERS + // merge all the parameters objects into the connection. parameters set + // on the connection take precedence; then source endpoint params, then + // finally target endpoint params. + var _p = _jp.extend({}, this.endpoints[1].getParameters()); + _jp.extend(_p, this.endpoints[0].getParameters()); + _jp.extend(_p, this.getParameters()); + this.setParameters(_p); +// END PARAMETERS + +// PAINTING + + this.setConnector(this.endpoints[0].connector || this.endpoints[1].connector || params.connector || _jsPlumb.Defaults.Connector || _jp.Defaults.Connector, true); + var data = params.data == null || !_ju.isObject(params.data) ? {} : params.data; + this.getData = function() { return data; }; + this.setData = function(d) { data = d || {}; }; + this.mergeData = function(d) { data = _jp.extend(data, d); }; + + // the very last thing we do is apply types, if there are any. + var _types = [ "default", this.endpoints[0].connectionType, this.endpoints[1].connectionType, params.type ].join(" "); + if (/[^\s]/.test(_types)) { + this.addType(_types, params.data, true); + } + + this.updateConnectedClass(); + +// END PAINTING + }; + + _ju.extend(_jp.Connection, _jp.OverlayCapableJsPlumbUIComponent, { + applyType: function (t, doNotRepaint, typeMap) { + + var _connector = null; + if (t.connector != null) { + _connector = this.getCachedTypeItem("connector", typeMap.connector); + if (_connector == null) { + _connector = this.prepareConnector(t.connector, typeMap.connector); + this.cacheTypeItem("connector", _connector, typeMap.connector); + } + this.setPreparedConnector(_connector); + } + + // none of these things result in the creation of objects so can be ignored. + if (t.detachable != null) { + this.setDetachable(t.detachable); + } + if (t.reattach != null) { + this.setReattach(t.reattach); + } + if (t.scope) { + this.scope = t.scope; + } + + if (t.cssClass != null && this.canvas) { + this._jsPlumb.instance.addClass(this.canvas, t.cssClass); + } + + var _anchors = null; + // this also results in the creation of objects. + if (t.anchor) { + // note that even if the param was anchor, we store `anchors`. + _anchors = this.getCachedTypeItem("anchors", typeMap.anchor); + if (_anchors == null) { + _anchors = [ this._jsPlumb.instance.makeAnchor(t.anchor), this._jsPlumb.instance.makeAnchor(t.anchor) ]; + this.cacheTypeItem("anchors", _anchors, typeMap.anchor); + } + } + else if (t.anchors) { + _anchors = this.getCachedTypeItem("anchors", typeMap.anchors); + if (_anchors == null) { + _anchors = [ + this._jsPlumb.instance.makeAnchor(t.anchors[0]), + this._jsPlumb.instance.makeAnchor(t.anchors[1]) + ]; + this.cacheTypeItem("anchors", _anchors, typeMap.anchors); + } + } + if (_anchors != null) { + this.endpoints[0].anchor = _anchors[0]; + this.endpoints[1].anchor = _anchors[1]; + if (this.endpoints[1].anchor.isDynamic) { + this._jsPlumb.instance.repaint(this.endpoints[1].elementId); + } + } + + _jp.OverlayCapableJsPlumbUIComponent.applyType(this, t); + }, + addClass: function (c, informEndpoints) { + if (informEndpoints) { + this.endpoints[0].addClass(c); + this.endpoints[1].addClass(c); + if (this.suspendedEndpoint) { + this.suspendedEndpoint.addClass(c); + } + } + if (this.connector) { + this.connector.addClass(c); + } + }, + removeClass: function (c, informEndpoints) { + if (informEndpoints) { + this.endpoints[0].removeClass(c); + this.endpoints[1].removeClass(c); + if (this.suspendedEndpoint) { + this.suspendedEndpoint.removeClass(c); + } + } + if (this.connector) { + this.connector.removeClass(c); + } + }, + isVisible: function () { + return this._jsPlumb.visible; + }, + setVisible: function (v) { + this._jsPlumb.visible = v; + if (this.connector) { + this.connector.setVisible(v); + } + this.repaint(); + }, + cleanup: function () { + this.updateConnectedClass(true); + this.endpoints = null; + this.source = null; + this.target = null; + if (this.connector != null) { + this.connector.cleanup(true); + this.connector.destroy(true); + } + this.connector = null; + }, + updateConnectedClass:function(remove) { + if (this._jsPlumb) { + _updateConnectedClass(this, this.source, this._jsPlumb.instance, remove); + _updateConnectedClass(this, this.target, this._jsPlumb.instance, remove); + } + }, + setHover: function (state) { + if (this.connector && this._jsPlumb && !this._jsPlumb.instance.isConnectionBeingDragged()) { + this.connector.setHover(state); + root.jsPlumb[state ? "addClass" : "removeClass"](this.source, this._jsPlumb.instance.hoverSourceClass); + root.jsPlumb[state ? "addClass" : "removeClass"](this.target, this._jsPlumb.instance.hoverTargetClass); + } + }, + getUuids:function() { + return [ this.endpoints[0].getUuid(), this.endpoints[1].getUuid() ]; + }, + getCost: function () { + return this._jsPlumb ? this._jsPlumb.cost : -Infinity; + }, + setCost: function (c) { + this._jsPlumb.cost = c; + }, + isDirected: function () { + return this._jsPlumb.directed; + }, + getConnector: function () { + return this.connector; + }, + prepareConnector:function(connectorSpec, typeId) { + var connectorArgs = { + _jsPlumb: this._jsPlumb.instance, + cssClass: this._jsPlumb.params.cssClass, + container: this._jsPlumb.params.container, + "pointer-events": this._jsPlumb.params["pointer-events"] + }, + renderMode = this._jsPlumb.instance.getRenderMode(), + connector; + + if (_ju.isString(connectorSpec)) { + connector = makeConnector(this._jsPlumb.instance, renderMode, connectorSpec, connectorArgs, this); + } // lets you use a string as shorthand. + else if (_ju.isArray(connectorSpec)) { + if (connectorSpec.length === 1) { + connector = makeConnector(this._jsPlumb.instance, renderMode, connectorSpec[0], connectorArgs, this); + } + else { + connector = makeConnector(this._jsPlumb.instance, renderMode, connectorSpec[0], _ju.merge(connectorSpec[1], connectorArgs), this); + } + } + if (typeId != null) { + connector.typeId = typeId; + } + return connector; + }, + setPreparedConnector: function(connector, doNotRepaint, doNotChangeListenerComponent, typeId) { + + if (this.connector !== connector) { + + var previous, previousClasses = ""; + // the connector will not be cleaned up if it was set as part of a type, because `typeId` will be set on it + // and we havent passed in `true` for "force" here. + if (this.connector != null) { + previous = this.connector; + previousClasses = previous.getClass(); + this.connector.cleanup(); + this.connector.destroy(); + } + + this.connector = connector; + if (typeId) { + this.cacheTypeItem("connector", connector, typeId); + } + + this.canvas = this.connector.canvas; + this.bgCanvas = this.connector.bgCanvas; + + this.connector.reattach(this._jsPlumb.instance); + + // put classes from prior connector onto the canvas + this.addClass(previousClasses); + + // new: instead of binding listeners per connector, we now just have one delegate on the container. + // so for that handler we set the connection as the '_jsPlumb' member of the canvas element, and + // bgCanvas, if it exists, which it does right now in the VML renderer, so it won't from v 2.0.0 onwards. + if (this.canvas) { + this.canvas._jsPlumb = this; + } + if (this.bgCanvas) { + this.bgCanvas._jsPlumb = this; + } + + if (previous != null) { + var o = this.getOverlays(); + for (var i = 0; i < o.length; i++) { + if (o[i].transfer) { + o[i].transfer(this.connector); + } + } + } + + if (!doNotChangeListenerComponent) { + this.setListenerComponent(this.connector); + } + if (!doNotRepaint) { + this.repaint(); + } + } + }, + setConnector: function (connectorSpec, doNotRepaint, doNotChangeListenerComponent, typeId) { + var connector = this.prepareConnector(connectorSpec, typeId); + this.setPreparedConnector(connector, doNotRepaint, doNotChangeListenerComponent, typeId); + }, + paint: function (params) { + + if (!this._jsPlumb.instance.isSuspendDrawing() && this._jsPlumb.visible) { + params = params || {}; + var timestamp = params.timestamp, + // if the moving object is not the source we must transpose the two references. + swap = false, + tId = swap ? this.sourceId : this.targetId, sId = swap ? this.targetId : this.sourceId, + tIdx = swap ? 0 : 1, sIdx = swap ? 1 : 0; + + if (timestamp == null || timestamp !== this._jsPlumb.lastPaintedAt) { + var sourceInfo = this._jsPlumb.instance.updateOffset({elId:sId}).o, + targetInfo = this._jsPlumb.instance.updateOffset({elId:tId}).o, + sE = this.endpoints[sIdx], tE = this.endpoints[tIdx]; + + var sAnchorP = sE.anchor.getCurrentLocation({xy: [sourceInfo.left, sourceInfo.top], wh: [sourceInfo.width, sourceInfo.height], element: sE, timestamp: timestamp}), + tAnchorP = tE.anchor.getCurrentLocation({xy: [targetInfo.left, targetInfo.top], wh: [targetInfo.width, targetInfo.height], element: tE, timestamp: timestamp}); + + this.connector.resetBounds(); + + this.connector.compute({ + sourcePos: sAnchorP, + targetPos: tAnchorP, + sourceOrientation:sE.anchor.getOrientation(sE), + targetOrientation:tE.anchor.getOrientation(tE), + sourceEndpoint: this.endpoints[sIdx], + targetEndpoint: this.endpoints[tIdx], + "stroke-width": this._jsPlumb.paintStyleInUse.strokeWidth, + sourceInfo: sourceInfo, + targetInfo: targetInfo + }); + + var overlayExtents = { minX: Infinity, minY: Infinity, maxX: -Infinity, maxY: -Infinity }; + + // compute overlays. we do this first so we can get their placements, and adjust the + // container if needs be (if an overlay would be clipped) + for (var i in this._jsPlumb.overlays) { + if (this._jsPlumb.overlays.hasOwnProperty(i)) { + var o = this._jsPlumb.overlays[i]; + if (o.isVisible()) { + this._jsPlumb.overlayPlacements[i] = o.draw(this.connector, this._jsPlumb.paintStyleInUse, this.getAbsoluteOverlayPosition(o)); + overlayExtents.minX = Math.min(overlayExtents.minX, this._jsPlumb.overlayPlacements[i].minX); + overlayExtents.maxX = Math.max(overlayExtents.maxX, this._jsPlumb.overlayPlacements[i].maxX); + overlayExtents.minY = Math.min(overlayExtents.minY, this._jsPlumb.overlayPlacements[i].minY); + overlayExtents.maxY = Math.max(overlayExtents.maxY, this._jsPlumb.overlayPlacements[i].maxY); + } + } + } + + var lineWidth = parseFloat(this._jsPlumb.paintStyleInUse.strokeWidth || 1) / 2, + outlineWidth = parseFloat(this._jsPlumb.paintStyleInUse.strokeWidth || 0), + extents = { + xmin: Math.min(this.connector.bounds.minX - (lineWidth + outlineWidth), overlayExtents.minX), + ymin: Math.min(this.connector.bounds.minY - (lineWidth + outlineWidth), overlayExtents.minY), + xmax: Math.max(this.connector.bounds.maxX + (lineWidth + outlineWidth), overlayExtents.maxX), + ymax: Math.max(this.connector.bounds.maxY + (lineWidth + outlineWidth), overlayExtents.maxY) + }; + // paint the connector. + this.connector.paintExtents = extents; + this.connector.paint(this._jsPlumb.paintStyleInUse, null, extents); + // and then the overlays + for (var j in this._jsPlumb.overlays) { + if (this._jsPlumb.overlays.hasOwnProperty(j)) { + var p = this._jsPlumb.overlays[j]; + if (p.isVisible()) { + p.paint(this._jsPlumb.overlayPlacements[j], extents); + } + } + } + } + this._jsPlumb.lastPaintedAt = timestamp; + } + }, + repaint: function (params) { + var p = jsPlumb.extend(params || {}, {}); + p.elId = this.sourceId; + this.paint(p); + }, + prepareEndpoint: function (_jsPlumb, _newEndpoint, conn, existing, index, params, element, elementId, definition) { + var e; + if (existing) { + conn.endpoints[index] = existing; + existing.addConnection(conn); + } else { + if (!params.endpoints) { + params.endpoints = [ null, null ]; + } + var ep = definition || params.endpoints[index] || params.endpoint || _jsPlumb.Defaults.Endpoints[index] || _jp.Defaults.Endpoints[index] || _jsPlumb.Defaults.Endpoint || _jp.Defaults.Endpoint; + if (!params.endpointStyles) { + params.endpointStyles = [ null, null ]; + } + if (!params.endpointHoverStyles) { + params.endpointHoverStyles = [ null, null ]; + } + var es = params.endpointStyles[index] || params.endpointStyle || _jsPlumb.Defaults.EndpointStyles[index] || _jp.Defaults.EndpointStyles[index] || _jsPlumb.Defaults.EndpointStyle || _jp.Defaults.EndpointStyle; + // Endpoints derive their fill from the connector's stroke, if no fill was specified. + if (es.fill == null && params.paintStyle != null) { + es.fill = params.paintStyle.stroke; + } + + if (es.outlineStroke == null && params.paintStyle != null) { + es.outlineStroke = params.paintStyle.outlineStroke; + } + if (es.outlineWidth == null && params.paintStyle != null) { + es.outlineWidth = params.paintStyle.outlineWidth; + } + + var ehs = params.endpointHoverStyles[index] || params.endpointHoverStyle || _jsPlumb.Defaults.EndpointHoverStyles[index] || _jp.Defaults.EndpointHoverStyles[index] || _jsPlumb.Defaults.EndpointHoverStyle || _jp.Defaults.EndpointHoverStyle; + // endpoint hover fill style is derived from connector's hover stroke style + if (params.hoverPaintStyle != null) { + if (ehs == null) { + ehs = {}; + } + if (ehs.fill == null) { + ehs.fill = params.hoverPaintStyle.stroke; + } + } + var a = params.anchors ? params.anchors[index] : + params.anchor ? params.anchor : + _makeAnchor(_jsPlumb.Defaults.Anchors[index], elementId, _jsPlumb) || + _makeAnchor(_jp.Defaults.Anchors[index], elementId, _jsPlumb) || + _makeAnchor(_jsPlumb.Defaults.Anchor, elementId, _jsPlumb) || + _makeAnchor(_jp.Defaults.Anchor, elementId, _jsPlumb), + u = params.uuids ? params.uuids[index] : null; + + e = _newEndpoint({ + paintStyle: es, hoverPaintStyle: ehs, endpoint: ep, connections: [ conn ], + uuid: u, anchor: a, source: element, scope: params.scope, + reattach: params.reattach || _jsPlumb.Defaults.ReattachConnections, + detachable: params.detachable || _jsPlumb.Defaults.ConnectionsDetachable + }); + if (existing == null) { + e.setDeleteOnEmpty(true); + } + conn.endpoints[index] = e; + + if (params.drawEndpoints === false) { + e.setVisible(false, true, true); + } + + } + return e; + }, + replaceEndpoint:function(idx, endpointDef) { + + var current = this.endpoints[idx], + elId = current.elementId, + ebe = this._jsPlumb.instance.getEndpoints(elId), + _idx = ebe.indexOf(current), + _new = this.makeEndpoint(idx === 0, current.element, elId, null, endpointDef); + + this.endpoints[idx] = _new; + + ebe.splice(_idx, 1, _new); + this._jsPlumb.instance.deleteObject({endpoint:current, deleteAttachedObjects:false}); + this._jsPlumb.instance.fire("endpointReplaced", {previous:current, current:_new}); + + this._jsPlumb.instance.anchorManager.updateOtherEndpoint(this.endpoints[0].elementId, this.endpoints[1].elementId, this.endpoints[1].elementId, this); + + } + + }); // END Connection class +}).call(typeof window !== 'undefined' ? window : this); + +/* + * This file contains the code for creating and manipulating anchors. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + + "use strict"; + + var root = this, + _ju = root.jsPlumbUtil, + _jp = root.jsPlumb; + + // + // manages anchors for all elements. + // + _jp.AnchorManager = function (params) { + var _amEndpoints = {}, + continuousAnchorLocations = {}, + continuousAnchorOrientations = {}, + connectionsByElementId = {}, + self = this, + anchorLists = {}, + jsPlumbInstance = params.jsPlumbInstance, + floatingConnections = {}, + // used by placeAnchors function + placeAnchorsOnLine = function (desc, elementDimensions, elementPosition, connections, horizontal, otherMultiplier, reverse) { + var a = [], step = elementDimensions[horizontal ? 0 : 1] / (connections.length + 1); + + for (var i = 0; i < connections.length; i++) { + var val = (i + 1) * step, other = otherMultiplier * elementDimensions[horizontal ? 1 : 0]; + if (reverse) { + val = elementDimensions[horizontal ? 0 : 1] - val; + } + + var dx = (horizontal ? val : other), x = elementPosition[0] + dx, xp = dx / elementDimensions[0], + dy = (horizontal ? other : val), y = elementPosition[1] + dy, yp = dy / elementDimensions[1]; + + a.push([ x, y, xp, yp, connections[i][1], connections[i][2] ]); + } + + return a; + }, + rightAndBottomSort = function(a, b) { + return b[0][0] - a[0][0]; + }, + // used by edgeSortFunctions + leftAndTopSort = function (a, b) { + var p1 = a[0][0] < 0 ? -Math.PI - a[0][0] : Math.PI - a[0][0], + p2 = b[0][0] < 0 ? -Math.PI - b[0][0] : Math.PI - b[0][0]; + + return p1 - p2; + }, + // used by placeAnchors + edgeSortFunctions = { + "top":leftAndTopSort, + "right": rightAndBottomSort, + "bottom": rightAndBottomSort, + "left": leftAndTopSort + }, + // used by placeAnchors + _sortHelper = function (_array, _fn) { + return _array.sort(_fn); + }, + // used by AnchorManager.redraw + placeAnchors = function (elementId, _anchorLists) { + var cd = jsPlumbInstance.getCachedData(elementId), sS = cd.s, sO = cd.o, + placeSomeAnchors = function (desc, elementDimensions, elementPosition, unsortedConnections, isHorizontal, otherMultiplier, orientation) { + if (unsortedConnections.length > 0) { + var sc = _sortHelper(unsortedConnections, edgeSortFunctions[desc]), // puts them in order based on the target element's pos on screen + reverse = desc === "right" || desc === "top", + anchors = placeAnchorsOnLine(desc, elementDimensions, + elementPosition, sc, + isHorizontal, otherMultiplier, reverse); + + // takes a computed anchor position and adjusts it for parent offset and scroll, then stores it. + var _setAnchorLocation = function (endpoint, anchorPos) { + continuousAnchorLocations[endpoint.id] = [ anchorPos[0], anchorPos[1], anchorPos[2], anchorPos[3] ]; + continuousAnchorOrientations[endpoint.id] = orientation; + }; + + for (var i = 0; i < anchors.length; i++) { + var c = anchors[i][4], weAreSource = c.endpoints[0].elementId === elementId, weAreTarget = c.endpoints[1].elementId === elementId; + if (weAreSource) { + _setAnchorLocation(c.endpoints[0], anchors[i]); + } + if (weAreTarget) { + _setAnchorLocation(c.endpoints[1], anchors[i]); + } + } + } + }; + + placeSomeAnchors("bottom", sS, [sO.left, sO.top], _anchorLists.bottom, true, 1, [0, 1]); + placeSomeAnchors("top", sS, [sO.left, sO.top], _anchorLists.top, true, 0, [0, -1]); + placeSomeAnchors("left", sS, [sO.left, sO.top], _anchorLists.left, false, 0, [-1, 0]); + placeSomeAnchors("right", sS, [sO.left, sO.top], _anchorLists.right, false, 1, [1, 0]); + }; + + this.reset = function () { + _amEndpoints = {}; + connectionsByElementId = {}; + anchorLists = {}; + }; + this.addFloatingConnection = function (key, conn) { + floatingConnections[key] = conn; + }; + this.removeFloatingConnection = function (key) { + delete floatingConnections[key]; + }; + this.newConnection = function (conn) { + var sourceId = conn.sourceId, targetId = conn.targetId, + ep = conn.endpoints, + doRegisterTarget = true, + registerConnection = function (otherIndex, otherEndpoint, otherAnchor, elId, c) { + if ((sourceId === targetId) && otherAnchor.isContinuous) { + // remove the target endpoint's canvas. we dont need it. + conn._jsPlumb.instance.removeElement(ep[1].canvas); + doRegisterTarget = false; + } + _ju.addToList(connectionsByElementId, elId, [c, otherEndpoint, otherAnchor.constructor === _jp.DynamicAnchor]); + }; + + registerConnection(0, ep[0], ep[0].anchor, targetId, conn); + if (doRegisterTarget) { + registerConnection(1, ep[1], ep[1].anchor, sourceId, conn); + } + }; + var removeEndpointFromAnchorLists = function (endpoint) { + (function (list, eId) { + if (list) { // transient anchors dont get entries in this list. + var f = function (e) { + return e[4] === eId; + }; + _ju.removeWithFunction(list.top, f); + _ju.removeWithFunction(list.left, f); + _ju.removeWithFunction(list.bottom, f); + _ju.removeWithFunction(list.right, f); + } + })(anchorLists[endpoint.elementId], endpoint.id); + }; + this.connectionDetached = function (connInfo, doNotRedraw) { + var connection = connInfo.connection || connInfo, + sourceId = connInfo.sourceId, + targetId = connInfo.targetId, + ep = connection.endpoints, + removeConnection = function (otherIndex, otherEndpoint, otherAnchor, elId, c) { + _ju.removeWithFunction(connectionsByElementId[elId], function (_c) { + return _c[0].id === c.id; + }); + }; + + removeConnection(1, ep[1], ep[1].anchor, sourceId, connection); + removeConnection(0, ep[0], ep[0].anchor, targetId, connection); + if (connection.floatingId) { + removeConnection(connection.floatingIndex, connection.floatingEndpoint, connection.floatingEndpoint.anchor, connection.floatingId, connection); + removeEndpointFromAnchorLists(connection.floatingEndpoint); + } + + // remove from anchorLists + removeEndpointFromAnchorLists(connection.endpoints[0]); + removeEndpointFromAnchorLists(connection.endpoints[1]); + + if (!doNotRedraw) { + self.redraw(connection.sourceId); + if (connection.targetId !== connection.sourceId) { + self.redraw(connection.targetId); + } + } + }; + this.add = function (endpoint, elementId) { + _ju.addToList(_amEndpoints, elementId, endpoint); + }; + this.changeId = function (oldId, newId) { + connectionsByElementId[newId] = connectionsByElementId[oldId]; + _amEndpoints[newId] = _amEndpoints[oldId]; + delete connectionsByElementId[oldId]; + delete _amEndpoints[oldId]; + }; + this.getConnectionsFor = function (elementId) { + return connectionsByElementId[elementId] || []; + }; + this.getEndpointsFor = function (elementId) { + return _amEndpoints[elementId] || []; + }; + this.deleteEndpoint = function (endpoint) { + _ju.removeWithFunction(_amEndpoints[endpoint.elementId], function (e) { + return e.id === endpoint.id; + }); + removeEndpointFromAnchorLists(endpoint); + }; + this.clearFor = function (elementId) { + delete _amEndpoints[elementId]; + _amEndpoints[elementId] = []; + }; + // updates the given anchor list by either updating an existing anchor's info, or adding it. this function + // also removes the anchor from its previous list, if the edge it is on has changed. + // all connections found along the way (those that are connected to one of the faces this function + // operates on) are added to the connsToPaint list, as are their endpoints. in this way we know to repaint + // them wthout having to calculate anything else about them. + var _updateAnchorList = function (lists, theta, order, conn, aBoolean, otherElId, idx, reverse, edgeId, elId, connsToPaint, endpointsToPaint) { + // first try to find the exact match, but keep track of the first index of a matching element id along the way.s + var exactIdx = -1, + firstMatchingElIdx = -1, + endpoint = conn.endpoints[idx], + endpointId = endpoint.id, + oIdx = [1, 0][idx], + values = [ + [ theta, order ], + conn, + aBoolean, + otherElId, + endpointId + ], + listToAddTo = lists[edgeId], + listToRemoveFrom = endpoint._continuousAnchorEdge ? lists[endpoint._continuousAnchorEdge] : null, + i, + candidate; + + if (listToRemoveFrom) { + var rIdx = _ju.findWithFunction(listToRemoveFrom, function (e) { + return e[4] === endpointId; + }); + if (rIdx !== -1) { + listToRemoveFrom.splice(rIdx, 1); + // get all connections from this list + for (i = 0; i < listToRemoveFrom.length; i++) { + candidate = listToRemoveFrom[i][1]; + _ju.addWithFunction(connsToPaint, candidate, function (c) { + return c.id === candidate.id; + }); + _ju.addWithFunction(endpointsToPaint, listToRemoveFrom[i][1].endpoints[idx], function (e) { + return e.id === candidate.endpoints[idx].id; + }); + _ju.addWithFunction(endpointsToPaint, listToRemoveFrom[i][1].endpoints[oIdx], function (e) { + return e.id === candidate.endpoints[oIdx].id; + }); + } + } + } + + for (i = 0; i < listToAddTo.length; i++) { + candidate = listToAddTo[i][1]; + if (params.idx === 1 && listToAddTo[i][3] === otherElId && firstMatchingElIdx === -1) { + firstMatchingElIdx = i; + } + _ju.addWithFunction(connsToPaint, candidate, function (c) { + return c.id === candidate.id; + }); + _ju.addWithFunction(endpointsToPaint, listToAddTo[i][1].endpoints[idx], function (e) { + return e.id === candidate.endpoints[idx].id; + }); + _ju.addWithFunction(endpointsToPaint, listToAddTo[i][1].endpoints[oIdx], function (e) { + return e.id === candidate.endpoints[oIdx].id; + }); + } + if (exactIdx !== -1) { + listToAddTo[exactIdx] = values; + } + else { + var insertIdx = reverse ? firstMatchingElIdx !== -1 ? firstMatchingElIdx : 0 : listToAddTo.length; // of course we will get this from having looked through the array shortly. + listToAddTo.splice(insertIdx, 0, values); + } + + // store this for next time. + endpoint._continuousAnchorEdge = edgeId; + }; + + // + // find the entry in an endpoint's list for this connection and update its target endpoint + // with the current target in the connection. + // This method and sourceChanged need to be folder into one. + // + this.updateOtherEndpoint = function (sourceElId, oldTargetId, newTargetId, connection) { + var sIndex = _ju.findWithFunction(connectionsByElementId[sourceElId], function (i) { + return i[0].id === connection.id; + }), + tIndex = _ju.findWithFunction(connectionsByElementId[oldTargetId], function (i) { + return i[0].id === connection.id; + }); + + // update or add data for source + if (sIndex !== -1) { + connectionsByElementId[sourceElId][sIndex][0] = connection; + connectionsByElementId[sourceElId][sIndex][1] = connection.endpoints[1]; + connectionsByElementId[sourceElId][sIndex][2] = connection.endpoints[1].anchor.constructor === _jp.DynamicAnchor; + } + + // remove entry for previous target (if there) + if (tIndex > -1) { + connectionsByElementId[oldTargetId].splice(tIndex, 1); + // add entry for new target + _ju.addToList(connectionsByElementId, newTargetId, [connection, connection.endpoints[0], connection.endpoints[0].anchor.constructor === _jp.DynamicAnchor]); + } + + connection.updateConnectedClass(); + }; + + // + // notification that the connection given has changed source from the originalId to the newId. + // This involves: + // 1. removing the connection from the list of connections stored for the originalId + // 2. updating the source information for the target of the connection + // 3. re-registering the connection in connectionsByElementId with the newId + // + this.sourceChanged = function (originalId, newId, connection, newElement) { + if (originalId !== newId) { + + connection.sourceId = newId; + connection.source = newElement; + + // remove the entry that points from the old source to the target + _ju.removeWithFunction(connectionsByElementId[originalId], function (info) { + return info[0].id === connection.id; + }); + // find entry for target and update it + var tIdx = _ju.findWithFunction(connectionsByElementId[connection.targetId], function (i) { + return i[0].id === connection.id; + }); + if (tIdx > -1) { + connectionsByElementId[connection.targetId][tIdx][0] = connection; + connectionsByElementId[connection.targetId][tIdx][1] = connection.endpoints[0]; + connectionsByElementId[connection.targetId][tIdx][2] = connection.endpoints[0].anchor.constructor === _jp.DynamicAnchor; + } + // add entry for new source + _ju.addToList(connectionsByElementId, newId, [connection, connection.endpoints[1], connection.endpoints[1].anchor.constructor === _jp.DynamicAnchor]); + + // TODO SP not final on this yet. when a user drags an existing connection and it turns into a self + // loop, then this code hides the target endpoint (by removing it from the DOM) But I think this should + // occur only if the anchor is Continuous + if (connection.endpoints[1].anchor.isContinuous) { + if (connection.source === connection.target) { + connection._jsPlumb.instance.removeElement(connection.endpoints[1].canvas); + } + else { + if (connection.endpoints[1].canvas.parentNode == null) { + connection._jsPlumb.instance.appendElement(connection.endpoints[1].canvas); + } + } + } + + connection.updateConnectedClass(); + } + }; + + // + // moves the given endpoint from `currentId` to `element`. + // This involves: + // + // 1. changing the key in _amEndpoints under which the endpoint is stored + // 2. changing the source or target values in all of the endpoint's connections + // 3. changing the array in connectionsByElementId in which the endpoint's connections + // are stored (done by either sourceChanged or updateOtherEndpoint) + // + this.rehomeEndpoint = function (ep, currentId, element) { + var eps = _amEndpoints[currentId] || [], + elementId = jsPlumbInstance.getId(element); + + if (elementId !== currentId) { + var idx = eps.indexOf(ep); + if (idx > -1) { + var _ep = eps.splice(idx, 1)[0]; + self.add(_ep, elementId); + } + } + + for (var i = 0; i < ep.connections.length; i++) { + if (ep.connections[i].sourceId === currentId) { + self.sourceChanged(currentId, ep.elementId, ep.connections[i], ep.element); + } + else if (ep.connections[i].targetId === currentId) { + ep.connections[i].targetId = ep.elementId; + ep.connections[i].target = ep.element; + self.updateOtherEndpoint(ep.connections[i].sourceId, currentId, ep.elementId, ep.connections[i]); + } + } + }; + + this.redraw = function (elementId, ui, timestamp, offsetToUI, clearEdits, doNotRecalcEndpoint) { + + if (!jsPlumbInstance.isSuspendDrawing()) { + // get all the endpoints for this element + var ep = _amEndpoints[elementId] || [], + endpointConnections = connectionsByElementId[elementId] || [], + connectionsToPaint = [], + endpointsToPaint = [], + anchorsToUpdate = []; + + timestamp = timestamp || jsPlumbInstance.timestamp(); + // offsetToUI are values that would have been calculated in the dragManager when registering + // an endpoint for an element that had a parent (somewhere in the hierarchy) that had been + // registered as draggable. + offsetToUI = offsetToUI || {left: 0, top: 0}; + if (ui) { + ui = { + left: ui.left + offsetToUI.left, + top: ui.top + offsetToUI.top + }; + } + + // valid for one paint cycle. + var myOffset = jsPlumbInstance.updateOffset({ elId: elementId, offset: ui, recalc: false, timestamp: timestamp }), + orientationCache = {}; + + // actually, first we should compute the orientation of this element to all other elements to which + // this element is connected with a continuous anchor (whether both ends of the connection have + // a continuous anchor or just one) + + for (var i = 0; i < endpointConnections.length; i++) { + var conn = endpointConnections[i][0], + sourceId = conn.sourceId, + targetId = conn.targetId, + sourceContinuous = conn.endpoints[0].anchor.isContinuous, + targetContinuous = conn.endpoints[1].anchor.isContinuous; + + if (sourceContinuous || targetContinuous) { + var oKey = sourceId + "_" + targetId, + o = orientationCache[oKey], + oIdx = conn.sourceId === elementId ? 1 : 0; + + if (sourceContinuous && !anchorLists[sourceId]) { + anchorLists[sourceId] = { top: [], right: [], bottom: [], left: [] }; + } + if (targetContinuous && !anchorLists[targetId]) { + anchorLists[targetId] = { top: [], right: [], bottom: [], left: [] }; + } + + if (elementId !== targetId) { + jsPlumbInstance.updateOffset({ elId: targetId, timestamp: timestamp }); + } + if (elementId !== sourceId) { + jsPlumbInstance.updateOffset({ elId: sourceId, timestamp: timestamp }); + } + + var td = jsPlumbInstance.getCachedData(targetId), + sd = jsPlumbInstance.getCachedData(sourceId); + + if (targetId === sourceId && (sourceContinuous || targetContinuous)) { + // here we may want to improve this by somehow determining the face we'd like + // to put the connector on. ideally, when drawing, the face should be calculated + // by determining which face is closest to the point at which the mouse button + // was released. for now, we're putting it on the top face. + _updateAnchorList( anchorLists[sourceId], -Math.PI / 2, 0, conn, false, targetId, 0, false, "top", sourceId, connectionsToPaint, endpointsToPaint); + _updateAnchorList( anchorLists[targetId], -Math.PI / 2, 0, conn, false, sourceId, 1, false, "top", targetId, connectionsToPaint, endpointsToPaint); + } + else { + if (!o) { + o = this.calculateOrientation(sourceId, targetId, sd.o, td.o, conn.endpoints[0].anchor, conn.endpoints[1].anchor, conn); + orientationCache[oKey] = o; + // this would be a performance enhancement, but the computed angles need to be clamped to + //the (-PI/2 -> PI/2) range in order for the sorting to work properly. + /* orientationCache[oKey2] = { + orientation:o.orientation, + a:[o.a[1], o.a[0]], + theta:o.theta + Math.PI, + theta2:o.theta2 + Math.PI + };*/ + } + if (sourceContinuous) { + _updateAnchorList(anchorLists[sourceId], o.theta, 0, conn, false, targetId, 0, false, o.a[0], sourceId, connectionsToPaint, endpointsToPaint); + } + if (targetContinuous) { + _updateAnchorList(anchorLists[targetId], o.theta2, -1, conn, true, sourceId, 1, true, o.a[1], targetId, connectionsToPaint, endpointsToPaint); + } + } + + if (sourceContinuous) { + _ju.addWithFunction(anchorsToUpdate, sourceId, function (a) { + return a === sourceId; + }); + } + if (targetContinuous) { + _ju.addWithFunction(anchorsToUpdate, targetId, function (a) { + return a === targetId; + }); + } + _ju.addWithFunction(connectionsToPaint, conn, function (c) { + return c.id === conn.id; + }); + if ((sourceContinuous && oIdx === 0) || (targetContinuous && oIdx === 1)) { + _ju.addWithFunction(endpointsToPaint, conn.endpoints[oIdx], function (e) { + return e.id === conn.endpoints[oIdx].id; + }); + } + } + } + + // place Endpoints whose anchors are continuous but have no Connections + for (i = 0; i < ep.length; i++) { + if (ep[i].connections.length === 0 && ep[i].anchor.isContinuous) { + if (!anchorLists[elementId]) { + anchorLists[elementId] = { top: [], right: [], bottom: [], left: [] }; + } + _updateAnchorList(anchorLists[elementId], -Math.PI / 2, 0, {endpoints: [ep[i], ep[i]], paint: function () { + }}, false, elementId, 0, false, ep[i].anchor.getDefaultFace(), elementId, connectionsToPaint, endpointsToPaint); + _ju.addWithFunction(anchorsToUpdate, elementId, function (a) { + return a === elementId; + }); + } + } + + // now place all the continuous anchors we need to; + for (i = 0; i < anchorsToUpdate.length; i++) { + placeAnchors(anchorsToUpdate[i], anchorLists[anchorsToUpdate[i]]); + } + + // now that continuous anchors have been placed, paint all the endpoints for this element + for (i = 0; i < ep.length; i++) { + ep[i].paint({ timestamp: timestamp, offset: myOffset, dimensions: myOffset.s, recalc: doNotRecalcEndpoint !== true }); + } + + // ... and any other endpoints we came across as a result of the continuous anchors. + for (i = 0; i < endpointsToPaint.length; i++) { + var cd = jsPlumbInstance.getCachedData(endpointsToPaint[i].elementId); + //endpointsToPaint[i].paint({ timestamp: timestamp, offset: cd, dimensions: cd.s }); + endpointsToPaint[i].paint({ timestamp: null, offset: cd, dimensions: cd.s }); + } + + // paint all the standard and "dynamic connections", which are connections whose other anchor is + // static and therefore does need to be recomputed; we make sure that happens only one time. + + // TODO we could have compiled a list of these in the first pass through connections; might save some time. + for (i = 0; i < endpointConnections.length; i++) { + var otherEndpoint = endpointConnections[i][1]; + if (otherEndpoint.anchor.constructor === _jp.DynamicAnchor) { + otherEndpoint.paint({ elementWithPrecedence: elementId, timestamp: timestamp }); + _ju.addWithFunction(connectionsToPaint, endpointConnections[i][0], function (c) { + return c.id === endpointConnections[i][0].id; + }); + // all the connections for the other endpoint now need to be repainted + for (var k = 0; k < otherEndpoint.connections.length; k++) { + if (otherEndpoint.connections[k] !== endpointConnections[i][0]) { + _ju.addWithFunction(connectionsToPaint, otherEndpoint.connections[k], function (c) { + return c.id === otherEndpoint.connections[k].id; + }); + } + } + } else { + _ju.addWithFunction(connectionsToPaint, endpointConnections[i][0], function (c) { + return c.id === endpointConnections[i][0].id; + }); + } + } + + // paint current floating connection for this element, if there is one. + var fc = floatingConnections[elementId]; + if (fc) { + fc.paint({timestamp: timestamp, recalc: false, elId: elementId}); + } + + // paint all the connections + for (i = 0; i < connectionsToPaint.length; i++) { + connectionsToPaint[i].paint({elId: elementId, timestamp: null, recalc: false, clearEdits: clearEdits}); + } + } + }; + + var ContinuousAnchor = function (anchorParams) { + _ju.EventGenerator.apply(this); + this.type = "Continuous"; + this.isDynamic = true; + this.isContinuous = true; + var faces = anchorParams.faces || ["top", "right", "bottom", "left"], + clockwise = !(anchorParams.clockwise === false), + availableFaces = { }, + opposites = { "top": "bottom", "right": "left", "left": "right", "bottom": "top" }, + clockwiseOptions = { "top": "right", "right": "bottom", "left": "top", "bottom": "left" }, + antiClockwiseOptions = { "top": "left", "right": "top", "left": "bottom", "bottom": "right" }, + secondBest = clockwise ? clockwiseOptions : antiClockwiseOptions, + lastChoice = clockwise ? antiClockwiseOptions : clockwiseOptions, + cssClass = anchorParams.cssClass || "", + _currentFace = null, _lockedFace = null, X_AXIS_FACES = ["left", "right"], Y_AXIS_FACES = ["top", "bottom"], + _lockedAxis = null; + + for (var i = 0; i < faces.length; i++) { + availableFaces[faces[i]] = true; + } + + this.getDefaultFace = function () { + return faces.length === 0 ? "top" : faces[0]; + }; + + this.isRelocatable = function() { return true; }; + this.isSnapOnRelocate = function() { return true; }; + + // if the given edge is supported, returns it. otherwise looks for a substitute that _is_ + // supported. if none supported we also return the request edge. + this.verifyEdge = function (edge) { + if (availableFaces[edge]) { + return edge; + } + else if (availableFaces[opposites[edge]]) { + return opposites[edge]; + } + else if (availableFaces[secondBest[edge]]) { + return secondBest[edge]; + } + else if (availableFaces[lastChoice[edge]]) { + return lastChoice[edge]; + } + return edge; // we have to give them something. + }; + + this.isEdgeSupported = function (edge) { + return _lockedAxis == null ? + + (_lockedFace == null ? availableFaces[edge] === true : _lockedFace === edge) + + : _lockedAxis.indexOf(edge) !== -1; + }; + + this.setCurrentFace = function(face, overrideLock) { + _currentFace = face; + // if currently locked, and the user wants to override, do that. + if (overrideLock && _lockedFace != null) { + _lockedFace = _currentFace; + } + }; + + this.getCurrentFace = function() { return _currentFace; }; + this.getSupportedFaces = function() { + var af = []; + for (var k in availableFaces) { + if (availableFaces[k]) { + af.push(k); + } + } + return af; + }; + + this.lock = function() { + _lockedFace = _currentFace; + }; + this.unlock = function() { + _lockedFace = null; + }; + this.isLocked = function() { + return _lockedFace != null; + }; + + this.lockCurrentAxis = function() { + if (_currentFace != null) { + _lockedAxis = (_currentFace === "left" || _currentFace === "right") ? X_AXIS_FACES : Y_AXIS_FACES; + } + }; + + this.unlockCurrentAxis = function() { + _lockedAxis = null; + }; + + this.compute = function (params) { + return continuousAnchorLocations[params.element.id] || [0, 0]; + }; + this.getCurrentLocation = function (params) { + return continuousAnchorLocations[params.element.id] || [0, 0]; + }; + this.getOrientation = function (endpoint) { + return continuousAnchorOrientations[endpoint.id] || [0, 0]; + }; + this.getCssClass = function () { + return cssClass; + }; + }; + + // continuous anchors + jsPlumbInstance.continuousAnchorFactory = { + get: function (params) { + return new ContinuousAnchor(params); + }, + clear: function (elementId) { + delete continuousAnchorLocations[elementId]; + } + }; + }; + + _jp.AnchorManager.prototype.calculateOrientation = function (sourceId, targetId, sd, td, sourceAnchor, targetAnchor) { + + var Orientation = { HORIZONTAL: "horizontal", VERTICAL: "vertical", DIAGONAL: "diagonal", IDENTITY: "identity" }, + axes = ["left", "top", "right", "bottom"]; + + if (sourceId === targetId) { + return { + orientation: Orientation.IDENTITY, + a: ["top", "top"] + }; + } + + var theta = Math.atan2((td.centery - sd.centery), (td.centerx - sd.centerx)), + theta2 = Math.atan2((sd.centery - td.centery), (sd.centerx - td.centerx)); + +// -------------------------------------------------------------------------------------- + + // improved face calculation. get midpoints of each face for source and target, then put in an array with all combinations of + // source/target faces. sort this array by distance between midpoints. the entry at index 0 is our preferred option. we can + // go through the array one by one until we find an entry in which each requested face is supported. + var candidates = [], midpoints = { }; + (function (types, dim) { + for (var i = 0; i < types.length; i++) { + midpoints[types[i]] = { + "left": [ dim[i].left, dim[i].centery ], + "right": [ dim[i].right, dim[i].centery ], + "top": [ dim[i].centerx, dim[i].top ], + "bottom": [ dim[i].centerx , dim[i].bottom] + }; + } + })([ "source", "target" ], [ sd, td ]); + + for (var sf = 0; sf < axes.length; sf++) { + for (var tf = 0; tf < axes.length; tf++) { + candidates.push({ + source: axes[sf], + target: axes[tf], + dist: Biltong.lineLength(midpoints.source[axes[sf]], midpoints.target[axes[tf]]) + }); + } + } + + candidates.sort(function (a, b) { + return a.dist < b.dist ? -1 : a.dist > b.dist ? 1 : 0; + }); + + // now go through this list and try to get an entry that satisfies both (there will be one, unless one of the anchors + // declares no available faces) + var sourceEdge = candidates[0].source, targetEdge = candidates[0].target; + for (var i = 0; i < candidates.length; i++) { + + if (!sourceAnchor.isContinuous || sourceAnchor.isEdgeSupported(candidates[i].source)) { + sourceEdge = candidates[i].source; + } + else { + sourceEdge = null; + } + + if (!targetAnchor.isContinuous || targetAnchor.isEdgeSupported(candidates[i].target)) { + targetEdge = candidates[i].target; + } + else { + targetEdge = null; + } + + if (sourceEdge != null && targetEdge != null) { + break; + } + } + + if (sourceAnchor.isContinuous) { + sourceAnchor.setCurrentFace(sourceEdge); + } + + if (targetAnchor.isContinuous) { + targetAnchor.setCurrentFace(targetEdge); + } + +// -------------------------------------------------------------------------------------- + + return { + a: [ sourceEdge, targetEdge ], + theta: theta, + theta2: theta2 + }; + }; + + /** + * Anchors model a position on some element at which an Endpoint may be located. They began as a first class citizen of jsPlumb, ie. a user + * was required to create these themselves, but over time this has been replaced by the concept of referring to them either by name (eg. "TopMiddle"), + * or by an array describing their coordinates (eg. [ 0, 0.5, 0, -1 ], which is the same as "TopMiddle"). jsPlumb now handles all of the + * creation of Anchors without user intervention. + */ + _jp.Anchor = function (params) { + this.x = params.x || 0; + this.y = params.y || 0; + this.elementId = params.elementId; + this.cssClass = params.cssClass || ""; + this.userDefinedLocation = null; + this.orientation = params.orientation || [ 0, 0 ]; + this.lastReturnValue = null; + this.offsets = params.offsets || [ 0, 0 ]; + this.timestamp = null; + + var relocatable = params.relocatable !== false; + this.isRelocatable = function() { return relocatable; }; + this.setRelocatable = function(_relocatable) { relocatable = _relocatable; }; + var snapOnRelocate = params.snapOnRelocate !== false; + this.isSnapOnRelocate = function() { return snapOnRelocate; }; + + var locked = false; + this.lock = function() { locked = true; }; + this.unlock = function() { locked = false; }; + this.isLocked = function() { return locked; }; + + _ju.EventGenerator.apply(this); + + this.compute = function (params) { + + var xy = params.xy, wh = params.wh, timestamp = params.timestamp; + + if (params.clearUserDefinedLocation) { + this.userDefinedLocation = null; + } + + if (timestamp && timestamp === this.timestamp) { + return this.lastReturnValue; + } + + if (this.userDefinedLocation != null) { + this.lastReturnValue = this.userDefinedLocation; + } + else { + this.lastReturnValue = [ xy[0] + (this.x * wh[0]) + this.offsets[0], xy[1] + (this.y * wh[1]) + this.offsets[1], this.x, this.y ]; + } + + this.timestamp = timestamp; + return this.lastReturnValue; + }; + + this.getCurrentLocation = function (params) { + params = params || {}; + return (this.lastReturnValue == null || (params.timestamp != null && this.timestamp !== params.timestamp)) ? this.compute(params) : this.lastReturnValue; + }; + + this.setPosition = function(x, y, ox, oy, overrideLock) { + if (!locked || overrideLock) { + this.x = x; + this.y = y; + this.orientation = [ ox, oy ]; + this.lastReturnValue = null; + } + }; + }; + _ju.extend(_jp.Anchor, _ju.EventGenerator, { + equals: function (anchor) { + if (!anchor) { + return false; + } + var ao = anchor.getOrientation(), + o = this.getOrientation(); + return this.x === anchor.x && this.y === anchor.y && this.offsets[0] === anchor.offsets[0] && this.offsets[1] === anchor.offsets[1] && o[0] === ao[0] && o[1] === ao[1]; + }, + getUserDefinedLocation: function () { + return this.userDefinedLocation; + }, + setUserDefinedLocation: function (l) { + this.userDefinedLocation = l; + }, + clearUserDefinedLocation: function () { + this.userDefinedLocation = null; + }, + getOrientation: function () { + return this.orientation; + }, + getCssClass: function () { + return this.cssClass; + } + }); + + /** + * An Anchor that floats. its orientation is computed dynamically from + * its position relative to the anchor it is floating relative to. It is used when creating + * a connection through drag and drop. + * + * TODO FloatingAnchor could totally be refactored to extend Anchor just slightly. + */ + _jp.FloatingAnchor = function (params) { + + _jp.Anchor.apply(this, arguments); + + // this is the anchor that this floating anchor is referenced to for + // purposes of calculating the orientation. + var ref = params.reference, + // the canvas this refers to. + refCanvas = params.referenceCanvas, + size = _jp.getSize(refCanvas), + // these are used to store the current relative position of our + // anchor wrt the reference anchor. they only indicate + // direction, so have a value of 1 or -1 (or, very rarely, 0). these + // values are written by the compute method, and read + // by the getOrientation method. + xDir = 0, yDir = 0, + // temporary member used to store an orientation when the floating + // anchor is hovering over another anchor. + orientation = null, + _lastResult = null; + + // clear from parent. we want floating anchor orientation to always be computed. + this.orientation = null; + + // set these to 0 each; they are used by certain types of connectors in the loopback case, + // when the connector is trying to clear the element it is on. but for floating anchor it's not + // very important. + this.x = 0; + this.y = 0; + + this.isFloating = true; + + this.compute = function (params) { + var xy = params.xy, + result = [ xy[0] + (size[0] / 2), xy[1] + (size[1] / 2) ]; // return origin of the element. we may wish to improve this so that any object can be the drag proxy. + _lastResult = result; + return result; + }; + + this.getOrientation = function (_endpoint) { + if (orientation) { + return orientation; + } + else { + var o = ref.getOrientation(_endpoint); + // here we take into account the orientation of the other + // anchor: if it declares zero for some direction, we declare zero too. this might not be the most awesome. perhaps we can come + // up with a better way. it's just so that the line we draw looks like it makes sense. maybe this wont make sense. + return [ Math.abs(o[0]) * xDir * -1, + Math.abs(o[1]) * yDir * -1 ]; + } + }; + + /** + * notification the endpoint associated with this anchor is hovering + * over another anchor; we want to assume that anchor's orientation + * for the duration of the hover. + */ + this.over = function (anchor, endpoint) { + orientation = anchor.getOrientation(endpoint); + }; + + /** + * notification the endpoint associated with this anchor is no + * longer hovering over another anchor; we should resume calculating + * orientation as we normally do. + */ + this.out = function () { + orientation = null; + }; + + this.getCurrentLocation = function (params) { + return _lastResult == null ? this.compute(params) : _lastResult; + }; + }; + _ju.extend(_jp.FloatingAnchor, _jp.Anchor); + + var _convertAnchor = function (anchor, jsPlumbInstance, elementId) { + return anchor.constructor === _jp.Anchor ? anchor : jsPlumbInstance.makeAnchor(anchor, elementId, jsPlumbInstance); + }; + + /* + * A DynamicAnchor is an Anchor that contains a list of other Anchors, which it cycles + * through at compute time to find the one that is located closest to + * the center of the target element, and returns that Anchor's compute + * method result. this causes endpoints to follow each other with + * respect to the orientation of their target elements, which is a useful + * feature for some applications. + * + */ + _jp.DynamicAnchor = function (params) { + _jp.Anchor.apply(this, arguments); + + this.isDynamic = true; + this.anchors = []; + this.elementId = params.elementId; + this.jsPlumbInstance = params.jsPlumbInstance; + + for (var i = 0; i < params.anchors.length; i++) { + this.anchors[i] = _convertAnchor(params.anchors[i], this.jsPlumbInstance, this.elementId); + } + + this.getAnchors = function () { + return this.anchors; + }; + + var _curAnchor = this.anchors.length > 0 ? this.anchors[0] : null, + _lastAnchor = _curAnchor, + self = this, + + // helper method to calculate the distance between the centers of the two elements. + _distance = function (anchor, cx, cy, xy, wh) { + var ax = xy[0] + (anchor.x * wh[0]), ay = xy[1] + (anchor.y * wh[1]), + acx = xy[0] + (wh[0] / 2), acy = xy[1] + (wh[1] / 2); + return (Math.sqrt(Math.pow(cx - ax, 2) + Math.pow(cy - ay, 2)) + + Math.sqrt(Math.pow(acx - ax, 2) + Math.pow(acy - ay, 2))); + }, + // default method uses distance between element centers. you can provide your own method in the dynamic anchor + // constructor (and also to jsPlumb.makeDynamicAnchor). the arguments to it are four arrays: + // xy - xy loc of the anchor's element + // wh - anchor's element's dimensions + // txy - xy loc of the element of the other anchor in the connection + // twh - dimensions of the element of the other anchor in the connection. + // anchors - the list of selectable anchors + _anchorSelector = params.selector || function (xy, wh, txy, twh, anchors) { + var cx = txy[0] + (twh[0] / 2), cy = txy[1] + (twh[1] / 2); + var minIdx = -1, minDist = Infinity; + for (var i = 0; i < anchors.length; i++) { + var d = _distance(anchors[i], cx, cy, xy, wh); + if (d < minDist) { + minIdx = i + 0; + minDist = d; + } + } + return anchors[minIdx]; + }; + + this.compute = function (params) { + var xy = params.xy, wh = params.wh, txy = params.txy, twh = params.twh; + + this.timestamp = params.timestamp; + + var udl = self.getUserDefinedLocation(); + if (udl != null) { + return udl; + } + + // if anchor is locked or an opposite element was not given, we + // maintain our state. anchor will be locked + // if it is the source of a drag and drop. + if (this.isLocked() || txy == null || twh == null) { + return _curAnchor.compute(params); + } + else { + params.timestamp = null; // otherwise clear this, i think. we want the anchor to compute. + } + + _curAnchor = _anchorSelector(xy, wh, txy, twh, this.anchors); + this.x = _curAnchor.x; + this.y = _curAnchor.y; + + if (_curAnchor !== _lastAnchor) { + this.fire("anchorChanged", _curAnchor); + } + + _lastAnchor = _curAnchor; + + return _curAnchor.compute(params); + }; + + this.getCurrentLocation = function (params) { + return this.getUserDefinedLocation() || (_curAnchor != null ? _curAnchor.getCurrentLocation(params) : null); + }; + + this.getOrientation = function (_endpoint) { + return _curAnchor != null ? _curAnchor.getOrientation(_endpoint) : [ 0, 0 ]; + }; + this.over = function (anchor, endpoint) { + if (_curAnchor != null) { + _curAnchor.over(anchor, endpoint); + } + }; + this.out = function () { + if (_curAnchor != null) { + _curAnchor.out(); + } + }; + + this.setAnchor = function(a) { + _curAnchor = a; + }; + + this.getCssClass = function () { + return (_curAnchor && _curAnchor.getCssClass()) || ""; + }; + + /** + * Attempt to match an anchor with the given coordinates and then set it. + * @param coords + * @returns true if matching anchor found, false otherwise. + */ + this.setAnchorCoordinates = function(coords) { + var idx = jsPlumbUtil.findWithFunction(this.anchors, function(a) { + return a.x === coords[0] && a.y === coords[1]; + }); + if (idx !== -1) { + this.setAnchor(this.anchors[idx]); + return true; + } else { + return false; + } + }; + }; + _ju.extend(_jp.DynamicAnchor, _jp.Anchor); + +// -------- basic anchors ------------------ + var _curryAnchor = function (x, y, ox, oy, type, fnInit) { + _jp.Anchors[type] = function (params) { + var a = params.jsPlumbInstance.makeAnchor([ x, y, ox, oy, 0, 0 ], params.elementId, params.jsPlumbInstance); + a.type = type; + if (fnInit) { + fnInit(a, params); + } + return a; + }; + }; + + _curryAnchor(0.5, 0, 0, -1, "TopCenter"); + _curryAnchor(0.5, 1, 0, 1, "BottomCenter"); + _curryAnchor(0, 0.5, -1, 0, "LeftMiddle"); + _curryAnchor(1, 0.5, 1, 0, "RightMiddle"); + + _curryAnchor(0.5, 0, 0, -1, "Top"); + _curryAnchor(0.5, 1, 0, 1, "Bottom"); + _curryAnchor(0, 0.5, -1, 0, "Left"); + _curryAnchor(1, 0.5, 1, 0, "Right"); + _curryAnchor(0.5, 0.5, 0, 0, "Center"); + _curryAnchor(1, 0, 0, -1, "TopRight"); + _curryAnchor(1, 1, 0, 1, "BottomRight"); + _curryAnchor(0, 0, 0, -1, "TopLeft"); + _curryAnchor(0, 1, 0, 1, "BottomLeft"); + +// ------- dynamic anchors ------------------- + + // default dynamic anchors chooses from Top, Right, Bottom, Left + _jp.Defaults.DynamicAnchors = function (params) { + return params.jsPlumbInstance.makeAnchors(["TopCenter", "RightMiddle", "BottomCenter", "LeftMiddle"], params.elementId, params.jsPlumbInstance); + }; + + // default dynamic anchors bound to name 'AutoDefault' + _jp.Anchors.AutoDefault = function (params) { + var a = params.jsPlumbInstance.makeDynamicAnchor(_jp.Defaults.DynamicAnchors(params)); + a.type = "AutoDefault"; + return a; + }; + +// ------- continuous anchors ------------------- + + var _curryContinuousAnchor = function (type, faces) { + _jp.Anchors[type] = function (params) { + var a = params.jsPlumbInstance.makeAnchor(["Continuous", { faces: faces }], params.elementId, params.jsPlumbInstance); + a.type = type; + return a; + }; + }; + + _jp.Anchors.Continuous = function (params) { + return params.jsPlumbInstance.continuousAnchorFactory.get(params); + }; + + _curryContinuousAnchor("ContinuousLeft", ["left"]); + _curryContinuousAnchor("ContinuousTop", ["top"]); + _curryContinuousAnchor("ContinuousBottom", ["bottom"]); + _curryContinuousAnchor("ContinuousRight", ["right"]); + +// ------- position assign anchors ------------------- + + // this anchor type lets you assign the position at connection time. + _curryAnchor(0, 0, 0, 0, "Assign", function (anchor, params) { + // find what to use as the "position finder". the user may have supplied a String which represents + // the id of a position finder in jsPlumb.AnchorPositionFinders, or the user may have supplied the + // position finder as a function. we find out what to use and then set it on the anchor. + var pf = params.position || "Fixed"; + anchor.positionFinder = pf.constructor === String ? params.jsPlumbInstance.AnchorPositionFinders[pf] : pf; + // always set the constructor params; the position finder might need them later (the Grid one does, + // for example) + anchor.constructorParams = params; + }); + + // these are the default anchor positions finders, which are used by the makeTarget function. supplying + // a position finder argument to that function allows you to specify where the resulting anchor will + // be located + root.jsPlumbInstance.prototype.AnchorPositionFinders = { + "Fixed": function (dp, ep, es) { + return [ (dp.left - ep.left) / es[0], (dp.top - ep.top) / es[1] ]; + }, + "Grid": function (dp, ep, es, params) { + var dx = dp.left - ep.left, dy = dp.top - ep.top, + gx = es[0] / (params.grid[0]), gy = es[1] / (params.grid[1]), + mx = Math.floor(dx / gx), my = Math.floor(dy / gy); + return [ ((mx * gx) + (gx / 2)) / es[0], ((my * gy) + (gy / 2)) / es[1] ]; + } + }; + +// ------- perimeter anchors ------------------- + + _jp.Anchors.Perimeter = function (params) { + params = params || {}; + var anchorCount = params.anchorCount || 60, + shape = params.shape; + + if (!shape) { + throw new Error("no shape supplied to Perimeter Anchor type"); + } + + var _circle = function () { + var r = 0.5, step = Math.PI * 2 / anchorCount, current = 0, a = []; + for (var i = 0; i < anchorCount; i++) { + var x = r + (r * Math.sin(current)), + y = r + (r * Math.cos(current)); + a.push([ x, y, 0, 0 ]); + current += step; + } + return a; + }, + _path = function (segments) { + var anchorsPerFace = anchorCount / segments.length, a = [], + _computeFace = function (x1, y1, x2, y2, fractionalLength, ox, oy) { + anchorsPerFace = anchorCount * fractionalLength; + var dx = (x2 - x1) / anchorsPerFace, dy = (y2 - y1) / anchorsPerFace; + for (var i = 0; i < anchorsPerFace; i++) { + a.push([ + x1 + (dx * i), + y1 + (dy * i), + ox == null ? 0 : ox, + oy == null ? 0 : oy + ]); + } + }; + + for (var i = 0; i < segments.length; i++) { + _computeFace.apply(null, segments[i]); + } + + return a; + }, + _shape = function (faces) { + var s = []; + for (var i = 0; i < faces.length; i++) { + s.push([faces[i][0], faces[i][1], faces[i][2], faces[i][3], 1 / faces.length, faces[i][4], faces[i][5]]); + } + return _path(s); + }, + _rectangle = function () { + return _shape([ + [ 0, 0, 1, 0, 0, -1 ], + [ 1, 0, 1, 1, 1, 0 ], + [ 1, 1, 0, 1, 0, 1 ], + [ 0, 1, 0, 0, -1, 0 ] + ]); + }; + + var _shapes = { + "Circle": _circle, + "Ellipse": _circle, + "Diamond": function () { + return _shape([ + [ 0.5, 0, 1, 0.5 ], + [ 1, 0.5, 0.5, 1 ], + [ 0.5, 1, 0, 0.5 ], + [ 0, 0.5, 0.5, 0 ] + ]); + }, + "Rectangle": _rectangle, + "Square": _rectangle, + "Triangle": function () { + return _shape([ + [ 0.5, 0, 1, 1 ], + [ 1, 1, 0, 1 ], + [ 0, 1, 0.5, 0] + ]); + }, + "Path": function (params) { + var points = params.points, p = [], tl = 0; + for (var i = 0; i < points.length - 1; i++) { + var l = Math.sqrt(Math.pow(points[i][2] - points[i][0]) + Math.pow(points[i][3] - points[i][1])); + tl += l; + p.push([points[i][0], points[i][1], points[i + 1][0], points[i + 1][1], l]); + } + for (var j = 0; j < p.length; j++) { + p[j][4] = p[j][4] / tl; + } + return _path(p); + } + }, + _rotate = function (points, amountInDegrees) { + var o = [], theta = amountInDegrees / 180 * Math.PI; + for (var i = 0; i < points.length; i++) { + var _x = points[i][0] - 0.5, + _y = points[i][1] - 0.5; + + o.push([ + 0.5 + ((_x * Math.cos(theta)) - (_y * Math.sin(theta))), + 0.5 + ((_x * Math.sin(theta)) + (_y * Math.cos(theta))), + points[i][2], + points[i][3] + ]); + } + return o; + }; + + if (!_shapes[shape]) { + throw new Error("Shape [" + shape + "] is unknown by Perimeter Anchor type"); + } + + var da = _shapes[shape](params); + if (params.rotation) { + da = _rotate(da, params.rotation); + } + var a = params.jsPlumbInstance.makeDynamicAnchor(da); + a.type = "Perimeter"; + return a; + }; +}).call(typeof window !== 'undefined' ? window : this); + +/* + * This file contains the default Connectors, Endpoint and Overlay definitions. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + + "use strict"; + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil, _jg = root.Biltong; + + _jp.Segments = { + + /* + * Class: AbstractSegment + * A Connector is made up of 1..N Segments, each of which has a Type, such as 'Straight', 'Arc', + * 'Bezier'. This is new from 1.4.2, and gives us a lot more flexibility when drawing connections: things such + * as rounded corners for flowchart connectors, for example, or a straight line stub for Bezier connections, are + * much easier to do now. + * + * A Segment is responsible for providing coordinates for painting it, and also must be able to report its length. + * + */ + AbstractSegment: function (params) { + this.params = params; + + /** + * Function: findClosestPointOnPath + * Finds the closest point on this segment to the given [x, y], + * returning both the x and y of the point plus its distance from + * the supplied point, and its location along the length of the + * path inscribed by the segment. This implementation returns + * Infinity for distance and null values for everything else; + * subclasses are expected to override. + */ + this.findClosestPointOnPath = function (x, y) { + return { + d: Infinity, + x: null, + y: null, + l: null + }; + }; + + this.getBounds = function () { + return { + minX: Math.min(params.x1, params.x2), + minY: Math.min(params.y1, params.y2), + maxX: Math.max(params.x1, params.x2), + maxY: Math.max(params.y1, params.y2) + }; + }; + + /** + * Computes the list of points on the segment that intersect the given line. + * @method lineIntersection + * @param {number} x1 + * @param {number} y1 + * @param {number} x2 + * @param {number} y2 + * @returns {Array<[number, number]>} + */ + this.lineIntersection = function(x1, y1, x2, y2) { + return []; + }; + + /** + * Computes the list of points on the segment that intersect the box with the given origin and size. + * @method boxIntersection + * @param {number} x1 + * @param {number} y1 + * @param {number} w + * @param {number} h + * @returns {Array<[number, number]>} + */ + this.boxIntersection = function(x, y, w, h) { + var a = []; + a.push.apply(a, this.lineIntersection(x, y, x + w, y)); + a.push.apply(a, this.lineIntersection(x + w, y, x + w, y + h)); + a.push.apply(a, this.lineIntersection(x + w, y + h, x, y + h)); + a.push.apply(a, this.lineIntersection(x, y + h, x, y)); + return a; + }; + + /** + * Computes the list of points on the segment that intersect the given bounding box, which is an object of the form { x:.., y:.., w:.., h:.. }. + * @method lineIntersection + * @param {BoundingRectangle} box + * @returns {Array<[number, number]>} + */ + this.boundingBoxIntersection = function(box) { + return this.boxIntersection(box.x, box.y, box.w, box.y); + }; + }, + Straight: function (params) { + var _super = _jp.Segments.AbstractSegment.apply(this, arguments), + length, m, m2, x1, x2, y1, y2, + _recalc = function () { + length = Math.sqrt(Math.pow(x2 - x1, 2) + Math.pow(y2 - y1, 2)); + m = _jg.gradient({x: x1, y: y1}, {x: x2, y: y2}); + m2 = -1 / m; + }; + + this.type = "Straight"; + + this.getLength = function () { + return length; + }; + this.getGradient = function () { + return m; + }; + + this.getCoordinates = function () { + return { x1: x1, y1: y1, x2: x2, y2: y2 }; + }; + this.setCoordinates = function (coords) { + x1 = coords.x1; + y1 = coords.y1; + x2 = coords.x2; + y2 = coords.y2; + _recalc(); + }; + this.setCoordinates({x1: params.x1, y1: params.y1, x2: params.x2, y2: params.y2}); + + this.getBounds = function () { + return { + minX: Math.min(x1, x2), + minY: Math.min(y1, y2), + maxX: Math.max(x1, x2), + maxY: Math.max(y1, y2) + }; + }; + + /** + * returns the point on the segment's path that is 'location' along the length of the path, where 'location' is a decimal from + * 0 to 1 inclusive. for the straight line segment this is simple maths. + */ + this.pointOnPath = function (location, absolute) { + if (location === 0 && !absolute) { + return { x: x1, y: y1 }; + } + else if (location === 1 && !absolute) { + return { x: x2, y: y2 }; + } + else { + var l = absolute ? location > 0 ? location : length + location : location * length; + return _jg.pointOnLine({x: x1, y: y1}, {x: x2, y: y2}, l); + } + }; + + /** + * returns the gradient of the segment at the given point - which for us is constant. + */ + this.gradientAtPoint = function (_) { + return m; + }; + + /** + * returns the point on the segment's path that is 'distance' along the length of the path from 'location', where + * 'location' is a decimal from 0 to 1 inclusive, and 'distance' is a number of pixels. + * this hands off to jsPlumbUtil to do the maths, supplying two points and the distance. + */ + this.pointAlongPathFrom = function (location, distance, absolute) { + var p = this.pointOnPath(location, absolute), + farAwayPoint = distance <= 0 ? {x: x1, y: y1} : {x: x2, y: y2 }; + + /* + location == 1 ? { + x:x1 + ((x2 - x1) * 10), + y:y1 + ((y1 - y2) * 10) + } : + */ + + if (distance <= 0 && Math.abs(distance) > 1) { + distance *= -1; + } + + return _jg.pointOnLine(p, farAwayPoint, distance); + }; + + // is c between a and b? + var within = function (a, b, c) { + return c >= Math.min(a, b) && c <= Math.max(a, b); + }; + // find which of a and b is closest to c + var closest = function (a, b, c) { + return Math.abs(c - a) < Math.abs(c - b) ? a : b; + }; + + /** + Function: findClosestPointOnPath + Finds the closest point on this segment to [x,y]. See + notes on this method in AbstractSegment. + */ + this.findClosestPointOnPath = function (x, y) { + var out = { + d: Infinity, + x: null, + y: null, + l: null, + x1: x1, + x2: x2, + y1: y1, + y2: y2 + }; + + if (m === 0) { + out.y = y1; + out.x = within(x1, x2, x) ? x : closest(x1, x2, x); + } + else if (m === Infinity || m === -Infinity) { + out.x = x1; + out.y = within(y1, y2, y) ? y : closest(y1, y2, y); + } + else { + // closest point lies on normal from given point to this line. + var b = y1 - (m * x1), + b2 = y - (m2 * x), + // y1 = m.x1 + b and y1 = m2.x1 + b2 + // so m.x1 + b = m2.x1 + b2 + // x1(m - m2) = b2 - b + // x1 = (b2 - b) / (m - m2) + _x1 = (b2 - b) / (m - m2), + _y1 = (m * _x1) + b; + + out.x = within(x1, x2, _x1) ? _x1 : closest(x1, x2, _x1);//_x1; + out.y = within(y1, y2, _y1) ? _y1 : closest(y1, y2, _y1);//_y1; + } + + var fractionInSegment = _jg.lineLength([ out.x, out.y ], [ x1, y1 ]); + out.d = _jg.lineLength([x, y], [out.x, out.y]); + out.l = fractionInSegment / length; + return out; + }; + + var _pointLiesBetween = function(q, p1, p2) { + return (p2 > p1) ? (p1 <= q && q <= p2) : (p1 >= q && q >= p2); + }, _plb = _pointLiesBetween; + + /** + * Calculates all intersections of the given line with this segment. + * @param _x1 + * @param _y1 + * @param _x2 + * @param _y2 + * @returns {Array} + */ + this.lineIntersection = function(_x1, _y1, _x2, _y2) { + var m2 = Math.abs(_jg.gradient({x: _x1, y: _y1}, {x: _x2, y: _y2})), + m1 = Math.abs(m), + b = m1 === Infinity ? x1 : y1 - (m1 * x1), + out = [], + b2 = m2 === Infinity ? _x1 : _y1 - (m2 * _x1); + + // if lines parallel, no intersection + if (m2 !== m1) { + // perpendicular, segment horizontal + if(m2 === Infinity && m1 === 0) { + if (_plb(_x1, x1, x2) && _plb(y1, _y1, _y2)) { + out = [ _x1, y1 ]; // we return X on the incident line and Y from the segment + } + } else if(m2 === 0 && m1 === Infinity) { + // perpendicular, segment vertical + if(_plb(_y1, y1, y2) && _plb(x1, _x1, _x2)) { + out = [x1, _y1]; // we return X on the segment and Y from the incident line + } + } else { + var X, Y; + if (m2 === Infinity) { + // test line is a vertical line. where does it cross the segment? + X = _x1; + if (_plb(X, x1, x2)) { + Y = (m1 * _x1) + b; + if (_plb(Y, _y1, _y2)) { + out = [ X, Y ]; + } + } + } else if (m2 === 0) { + Y = _y1; + // test line is a horizontal line. where does it cross the segment? + if (_plb(Y, y1, y2)) { + X = (_y1 - b) / m1; + if (_plb(X, _x1, _x2)) { + out = [ X, Y ]; + } + } + } else { + // mX + b = m2X + b2 + // mX - m2X = b2 - b + // X(m - m2) = b2 - b + // X = (b2 - b) / (m - m2) + // Y = mX + b + X = (b2 - b) / (m1 - m2); + Y = (m1 * X) + b; + if(_plb(X, x1, x2) && _plb(Y, y1, y2)) { + out = [ X, Y]; + } + } + } + } + + return out; + }; + + /** + * Calculates all intersections of the given box with this segment. By default this method simply calls `lineIntersection` with each of the four + * faces of the box; subclasses can override this if they think there's a faster way to compute the entire box at once. + * @param x X position of top left corner of box + * @param y Y position of top left corner of box + * @param w width of box + * @param h height of box + * @returns {Array} + */ + this.boxIntersection = function(x, y, w, h) { + var a = []; + a.push.apply(a, this.lineIntersection(x, y, x + w, y)); + a.push.apply(a, this.lineIntersection(x + w, y, x + w, y + h)); + a.push.apply(a, this.lineIntersection(x + w, y + h, x, y + h)); + a.push.apply(a, this.lineIntersection(x, y + h, x, y)); + return a; + }; + + /** + * Calculates all intersections of the given bounding box with this segment. By default this method simply calls `lineIntersection` with each of the four + * faces of the box; subclasses can override this if they think there's a faster way to compute the entire box at once. + * @param box Bounding box, in { x:.., y:..., w:..., h:... } format. + * @returns {Array} + */ + this.boundingBoxIntersection = function(box) { + return this.boxIntersection(box.x, box.y, box.w, box.h); + }; + }, + + /* + Arc Segment. You need to supply: + + r - radius + cx - center x for the arc + cy - center y for the arc + ac - whether the arc is anticlockwise or not. default is clockwise. + + and then either: + + startAngle - startAngle for the arc. + endAngle - endAngle for the arc. + + or: + + x1 - x for start point + y1 - y for start point + x2 - x for end point + y2 - y for end point + + */ + Arc: function (params) { + var _super = _jp.Segments.AbstractSegment.apply(this, arguments), + _calcAngle = function (_x, _y) { + return _jg.theta([params.cx, params.cy], [_x, _y]); + }, + _calcAngleForLocation = function (segment, location) { + if (segment.anticlockwise) { + var sa = segment.startAngle < segment.endAngle ? segment.startAngle + TWO_PI : segment.startAngle, + s = Math.abs(sa - segment.endAngle); + return sa - (s * location); + } + else { + var ea = segment.endAngle < segment.startAngle ? segment.endAngle + TWO_PI : segment.endAngle, + ss = Math.abs(ea - segment.startAngle); + + return segment.startAngle + (ss * location); + } + }, + TWO_PI = 2 * Math.PI; + + this.radius = params.r; + this.anticlockwise = params.ac; + this.type = "Arc"; + + if (params.startAngle && params.endAngle) { + this.startAngle = params.startAngle; + this.endAngle = params.endAngle; + this.x1 = params.cx + (this.radius * Math.cos(params.startAngle)); + this.y1 = params.cy + (this.radius * Math.sin(params.startAngle)); + this.x2 = params.cx + (this.radius * Math.cos(params.endAngle)); + this.y2 = params.cy + (this.radius * Math.sin(params.endAngle)); + } + else { + this.startAngle = _calcAngle(params.x1, params.y1); + this.endAngle = _calcAngle(params.x2, params.y2); + this.x1 = params.x1; + this.y1 = params.y1; + this.x2 = params.x2; + this.y2 = params.y2; + } + + if (this.endAngle < 0) { + this.endAngle += TWO_PI; + } + if (this.startAngle < 0) { + this.startAngle += TWO_PI; + } + + // segment is used by vml + //this.segment = _jg.quadrant([this.x1, this.y1], [this.x2, this.y2]); + + // we now have startAngle and endAngle as positive numbers, meaning the + // absolute difference (|d|) between them is the sweep (s) of this arc, unless the + // arc is 'anticlockwise' in which case 's' is given by 2PI - |d|. + + var ea = this.endAngle < this.startAngle ? this.endAngle + TWO_PI : this.endAngle; + this.sweep = Math.abs(ea - this.startAngle); + if (this.anticlockwise) { + this.sweep = TWO_PI - this.sweep; + } + var circumference = 2 * Math.PI * this.radius, + frac = this.sweep / TWO_PI, + length = circumference * frac; + + this.getLength = function () { + return length; + }; + + this.getBounds = function () { + return { + minX: params.cx - params.r, + maxX: params.cx + params.r, + minY: params.cy - params.r, + maxY: params.cy + params.r + }; + }; + + var VERY_SMALL_VALUE = 0.0000000001, + gentleRound = function (n) { + var f = Math.floor(n), r = Math.ceil(n); + if (n - f < VERY_SMALL_VALUE) { + return f; + } + else if (r - n < VERY_SMALL_VALUE) { + return r; + } + return n; + }; + + /** + * returns the point on the segment's path that is 'location' along the length of the path, where 'location' is a decimal from + * 0 to 1 inclusive. + */ + this.pointOnPath = function (location, absolute) { + + if (location === 0) { + return { x: this.x1, y: this.y1, theta: this.startAngle }; + } + else if (location === 1) { + return { x: this.x2, y: this.y2, theta: this.endAngle }; + } + + if (absolute) { + location = location / length; + } + + var angle = _calcAngleForLocation(this, location), + _x = params.cx + (params.r * Math.cos(angle)), + _y = params.cy + (params.r * Math.sin(angle)); + + return { x: gentleRound(_x), y: gentleRound(_y), theta: angle }; + }; + + /** + * returns the gradient of the segment at the given point. + */ + this.gradientAtPoint = function (location, absolute) { + var p = this.pointOnPath(location, absolute); + var m = _jg.normal([ params.cx, params.cy ], [p.x, p.y ]); + if (!this.anticlockwise && (m === Infinity || m === -Infinity)) { + m *= -1; + } + return m; + }; + + this.pointAlongPathFrom = function (location, distance, absolute) { + var p = this.pointOnPath(location, absolute), + arcSpan = distance / circumference * 2 * Math.PI, + dir = this.anticlockwise ? -1 : 1, + startAngle = p.theta + (dir * arcSpan), + startX = params.cx + (this.radius * Math.cos(startAngle)), + startY = params.cy + (this.radius * Math.sin(startAngle)); + + return {x: startX, y: startY}; + }; + + // TODO: lineIntersection + }, + + Bezier: function (params) { + this.curve = [ + { x: params.x1, y: params.y1}, + { x: params.cp1x, y: params.cp1y }, + { x: params.cp2x, y: params.cp2y }, + { x: params.x2, y: params.y2 } + ]; + + var _isPoint = function(c) { + return c[0].x === c[1].x && c[0].y === c[1].y; + }; + + var _dist = function(p1, p2 ) { + return Math.sqrt(Math.pow(p1.x - p2.x, 2) + Math.pow(p1.y - p2.y, 2)); + }; + + var _compute = function(loc) { + + var EMPTY_POINT = {x:0, y:0}; + + if (loc === 0) { + return this.curve[0]; + } + + var degree = this.curve.length - 1; + + if (loc === 1) { + return this.curve[degree]; + } + + var o = this.curve; + var s = 1 - loc; + + if (degree === 0) { + return this.curve[0]; + } + + if (degree === 1) { + return { + x: s * o[0].x + loc * o[1].x, + y: s * o[0].y + loc * o[1].y + }; + } + + if (degree < 4) { + + var l = s * s, h = loc * loc, u = 0, m, g, f; + + if (degree === 2) { + o = [o[0], o[1], o[2], EMPTY_POINT]; + m = l; + g = 2 * (s * loc); + f = h; + } else if (degree === 3) { + m = l * s; + g = 3 * (l * loc); + f = 3 * (s * h); + u = loc * h; + } + + return { + x: m * o[0].x + g * o[1].x + f * o[2].x + u * o[3].x, + y: m * o[0].y + g * o[1].y + f * o[2].y + u * o[3].y + }; + } else { + return EMPTY_POINT; // not supported. + } + }.bind(this); + + var _getLUT = function(steps) { + var out = []; + steps--; + for (var n = 0; n <= steps; n++) { + out.push(_compute(n / steps)); + } + return out; + }; + + var _computeLength = function() { + + if (_isPoint(this.curve)) { + this.length = 0; + } + + var steps = 16; + var lut = _getLUT(steps); + this.length = 0; + + for (var i = 0; i < steps - 1; i++) { + var a = lut[i], b = lut[i + 1]; + this.length += _dist(a, b); + } + }.bind(this); + + var _super = _jp.Segments.AbstractSegment.apply(this, arguments); + // although this is not a strictly rigorous determination of bounds + // of a bezier curve, it works for the types of curves that this segment + // type produces. + this.bounds = { + minX: Math.min(params.x1, params.x2, params.cp1x, params.cp2x), + minY: Math.min(params.y1, params.y2, params.cp1y, params.cp2y), + maxX: Math.max(params.x1, params.x2, params.cp1x, params.cp2x), + maxY: Math.max(params.y1, params.y2, params.cp1y, params.cp2y) + }; + + this.type = "Bezier"; + + _computeLength(); + + var _translateLocation = function (_curve, location, absolute) { + if (absolute) { + location = root.jsBezier.locationAlongCurveFrom(_curve, location > 0 ? 0 : 1, location); + } + + return location; + }; + + /** + * returns the point on the segment's path that is 'location' along the length of the path, where 'location' is a decimal from + * 0 to 1 inclusive. + */ + this.pointOnPath = function (location, absolute) { + location = _translateLocation(this.curve, location, absolute); + return root.jsBezier.pointOnCurve(this.curve, location); + }; + + /** + * returns the gradient of the segment at the given point. + */ + this.gradientAtPoint = function (location, absolute) { + location = _translateLocation(this.curve, location, absolute); + return root.jsBezier.gradientAtPoint(this.curve, location); + }; + + this.pointAlongPathFrom = function (location, distance, absolute) { + location = _translateLocation(this.curve, location, absolute); + return root.jsBezier.pointAlongCurveFrom(this.curve, location, distance); + }; + + this.getLength = function () { + return this.length; + }; + + this.getBounds = function () { + return this.bounds; + }; + + this.findClosestPointOnPath = function (x, y) { + var p = root.jsBezier.nearestPointOnCurve({x:x,y:y}, this.curve); + return { + d:Math.sqrt(Math.pow(p.point.x - x, 2) + Math.pow(p.point.y - y, 2)), + x:p.point.x, + y:p.point.y, + l:1 - p.location, + s:this + }; + }; + + this.lineIntersection = function(x1, y1, x2, y2) { + return root.jsBezier.lineIntersection(x1, y1, x2, y2, this.curve); + }; + } + }; + + _jp.SegmentRenderer = { + getPath: function (segment, isFirstSegment) { + return ({ + "Straight": function (isFirstSegment) { + var d = segment.getCoordinates(); + return (isFirstSegment ? "M " + d.x1 + " " + d.y1 + " " : "") + "L " + d.x2 + " " + d.y2; + }, + "Bezier": function (isFirstSegment) { + var d = segment.params; + return (isFirstSegment ? "M " + d.x2 + " " + d.y2 + " " : "") + + "C " + d.cp2x + " " + d.cp2y + " " + d.cp1x + " " + d.cp1y + " " + d.x1 + " " + d.y1; + }, + "Arc": function (isFirstSegment) { + var d = segment.params, + laf = segment.sweep > Math.PI ? 1 : 0, + sf = segment.anticlockwise ? 0 : 1; + + return (isFirstSegment ? "M" + segment.x1 + " " + segment.y1 + " " : "") + "A " + segment.radius + " " + d.r + " 0 " + laf + "," + sf + " " + segment.x2 + " " + segment.y2; + } + })[segment.type](isFirstSegment); + } + }; + + /* + Class: UIComponent + Superclass for Connector and AbstractEndpoint. + */ + var AbstractComponent = function () { + this.resetBounds = function () { + this.bounds = { minX: Infinity, minY: Infinity, maxX: -Infinity, maxY: -Infinity }; + }; + this.resetBounds(); + }; + + /* + * Class: Connector + * Superclass for all Connectors; here is where Segments are managed. This is exposed on jsPlumb just so it + * can be accessed from other files. You should not try to instantiate one of these directly. + * + * When this class is asked for a pointOnPath, or gradient etc, it must first figure out which segment to dispatch + * that request to. This is done by keeping track of the total connector length as segments are added, and also + * their cumulative ratios to the total length. Then when the right segment is found it is a simple case of dispatching + * the request to it (and adjusting 'location' so that it is relative to the beginning of that segment.) + */ + _jp.Connectors.AbstractConnector = function (params) { + + AbstractComponent.apply(this, arguments); + + var segments = [], + totalLength = 0, + segmentProportions = [], + segmentProportionalLengths = [], + stub = params.stub || 0, + sourceStub = _ju.isArray(stub) ? stub[0] : stub, + targetStub = _ju.isArray(stub) ? stub[1] : stub, + gap = params.gap || 0, + sourceGap = _ju.isArray(gap) ? gap[0] : gap, + targetGap = _ju.isArray(gap) ? gap[1] : gap, + userProvidedSegments = null, + paintInfo = null; + + this.getPathData = function() { + var p = ""; + for (var i = 0; i < segments.length; i++) { + p += _jp.SegmentRenderer.getPath(segments[i], i === 0); + p += " "; + } + return p; + }; + + /** + * Function: findSegmentForPoint + * Returns the segment that is closest to the given [x,y], + * null if nothing found. This function returns a JS + * object with: + * + * d - distance from segment + * l - proportional location in segment + * x - x point on the segment + * y - y point on the segment + * s - the segment itself. + * connectorLocation - the location on the connector of the point, expressed as a decimal between 0 and 1 inclusive. + */ + this.findSegmentForPoint = function (x, y) { + var out = { d: Infinity, s: null, x: null, y: null, l: null }; + for (var i = 0; i < segments.length; i++) { + var _s = segments[i].findClosestPointOnPath(x, y); + if (_s.d < out.d) { + out.d = _s.d; + out.l = _s.l; + out.x = _s.x; + out.y = _s.y; + out.s = segments[i]; + out.x1 = _s.x1; + out.x2 = _s.x2; + out.y1 = _s.y1; + out.y2 = _s.y2; + out.index = i; + out.connectorLocation = segmentProportions[i][0] + (_s.l * (segmentProportions[i][1] - segmentProportions[i][0])); + } + } + + return out; + }; + + this.lineIntersection = function(x1, y1, x2, y2) { + var out = []; + for (var i = 0; i < segments.length; i++) { + out.push.apply(out, segments[i].lineIntersection(x1, y1, x2, y2)); + } + return out; + }; + + this.boxIntersection = function(x, y, w, h) { + var out = []; + for (var i = 0; i < segments.length; i++) { + out.push.apply(out, segments[i].boxIntersection(x, y, w, h)); + } + return out; + }; + + this.boundingBoxIntersection = function(box) { + var out = []; + for (var i = 0; i < segments.length; i++) { + out.push.apply(out, segments[i].boundingBoxIntersection(box)); + } + return out; + }; + + var _updateSegmentProportions = function () { + var curLoc = 0; + for (var i = 0; i < segments.length; i++) { + var sl = segments[i].getLength(); + segmentProportionalLengths[i] = sl / totalLength; + segmentProportions[i] = [curLoc, (curLoc += (sl / totalLength)) ]; + } + }, + + /** + * returns [segment, proportion of travel in segment, segment index] for the segment + * that contains the point which is 'location' distance along the entire path, where + * 'location' is a decimal between 0 and 1 inclusive. in this connector type, paths + * are made up of a list of segments, each of which contributes some fraction to + * the total length. + * From 1.3.10 this also supports the 'absolute' property, which lets us specify a location + * as the absolute distance in pixels, rather than a proportion of the total path. + */ + _findSegmentForLocation = function (location, absolute) { + + var idx, i, inSegmentProportion; + + if (absolute) { + location = location > 0 ? location / totalLength : (totalLength + location) / totalLength; + } + + // if location 1 we know its the last segment + if (location === 1) { + idx = segments.length - 1; + inSegmentProportion = 1; + } else if (location === 0) { + // if location 0 we know its the first segment + inSegmentProportion = 0; + idx = 0; + } else { + + // if location >= 0.5, traverse backwards (of course not exact, who knows the segment proportions. but + // an educated guess at least) + if (location >= 0.5) { + + idx = 0; + inSegmentProportion = 0; + for (i = segmentProportions.length - 1; i > -1; i--) { + if (segmentProportions[i][1] >= location && segmentProportions[i][0] <= location) { + idx = i; + inSegmentProportion = (location - segmentProportions[i][0]) / segmentProportionalLengths[i]; + break; + } + } + + } else { + idx = segmentProportions.length - 1; + inSegmentProportion = 1; + for (i = 0; i < segmentProportions.length; i++) { + if (segmentProportions[i][1] >= location) { + idx = i; + inSegmentProportion = (location - segmentProportions[i][0]) / segmentProportionalLengths[i]; + break; + } + } + } + } + + return { segment: segments[idx], proportion: inSegmentProportion, index: idx }; + }, + _addSegment = function (conn, type, params) { + if (params.x1 === params.x2 && params.y1 === params.y2) { + return; + } + var s = new _jp.Segments[type](params); + segments.push(s); + totalLength += s.getLength(); + conn.updateBounds(s); + }, + _clearSegments = function () { + totalLength = segments.length = segmentProportions.length = segmentProportionalLengths.length = 0; + }; + + this.setSegments = function (_segs) { + userProvidedSegments = []; + totalLength = 0; + for (var i = 0; i < _segs.length; i++) { + userProvidedSegments.push(_segs[i]); + totalLength += _segs[i].getLength(); + } + }; + + this.getLength = function() { + return totalLength; + }; + + var _prepareCompute = function (params) { + this.strokeWidth = params.strokeWidth; + var segment = _jg.quadrant(params.sourcePos, params.targetPos), + swapX = params.targetPos[0] < params.sourcePos[0], + swapY = params.targetPos[1] < params.sourcePos[1], + lw = params.strokeWidth || 1, + so = params.sourceEndpoint.anchor.getOrientation(params.sourceEndpoint), + to = params.targetEndpoint.anchor.getOrientation(params.targetEndpoint), + x = swapX ? params.targetPos[0] : params.sourcePos[0], + y = swapY ? params.targetPos[1] : params.sourcePos[1], + w = Math.abs(params.targetPos[0] - params.sourcePos[0]), + h = Math.abs(params.targetPos[1] - params.sourcePos[1]); + + // if either anchor does not have an orientation set, we derive one from their relative + // positions. we fix the axis to be the one in which the two elements are further apart, and + // point each anchor at the other element. this is also used when dragging a new connection. + if (so[0] === 0 && so[1] === 0 || to[0] === 0 && to[1] === 0) { + var index = w > h ? 0 : 1, oIndex = [1, 0][index]; + so = []; + to = []; + so[index] = params.sourcePos[index] > params.targetPos[index] ? -1 : 1; + to[index] = params.sourcePos[index] > params.targetPos[index] ? 1 : -1; + so[oIndex] = 0; + to[oIndex] = 0; + } + + var sx = swapX ? w + (sourceGap * so[0]) : sourceGap * so[0], + sy = swapY ? h + (sourceGap * so[1]) : sourceGap * so[1], + tx = swapX ? targetGap * to[0] : w + (targetGap * to[0]), + ty = swapY ? targetGap * to[1] : h + (targetGap * to[1]), + oProduct = ((so[0] * to[0]) + (so[1] * to[1])); + + var result = { + sx: sx, sy: sy, tx: tx, ty: ty, lw: lw, + xSpan: Math.abs(tx - sx), + ySpan: Math.abs(ty - sy), + mx: (sx + tx) / 2, + my: (sy + ty) / 2, + so: so, to: to, x: x, y: y, w: w, h: h, + segment: segment, + startStubX: sx + (so[0] * sourceStub), + startStubY: sy + (so[1] * sourceStub), + endStubX: tx + (to[0] * targetStub), + endStubY: ty + (to[1] * targetStub), + isXGreaterThanStubTimes2: Math.abs(sx - tx) > (sourceStub + targetStub), + isYGreaterThanStubTimes2: Math.abs(sy - ty) > (sourceStub + targetStub), + opposite: oProduct === -1, + perpendicular: oProduct === 0, + orthogonal: oProduct === 1, + sourceAxis: so[0] === 0 ? "y" : "x", + points: [x, y, w, h, sx, sy, tx, ty ], + stubs:[sourceStub, targetStub] + }; + result.anchorOrientation = result.opposite ? "opposite" : result.orthogonal ? "orthogonal" : "perpendicular"; + return result; + }; + + this.getSegments = function () { + return segments; + }; + + this.updateBounds = function (segment) { + var segBounds = segment.getBounds(); + this.bounds.minX = Math.min(this.bounds.minX, segBounds.minX); + this.bounds.maxX = Math.max(this.bounds.maxX, segBounds.maxX); + this.bounds.minY = Math.min(this.bounds.minY, segBounds.minY); + this.bounds.maxY = Math.max(this.bounds.maxY, segBounds.maxY); + }; + + var dumpSegmentsToConsole = function () { + console.log("SEGMENTS:"); + for (var i = 0; i < segments.length; i++) { + console.log(segments[i].type, segments[i].getLength(), segmentProportions[i]); + } + }; + + this.pointOnPath = function (location, absolute) { + var seg = _findSegmentForLocation(location, absolute); + return seg.segment && seg.segment.pointOnPath(seg.proportion, false) || [0, 0]; + }; + + this.gradientAtPoint = function (location, absolute) { + var seg = _findSegmentForLocation(location, absolute); + return seg.segment && seg.segment.gradientAtPoint(seg.proportion, false) || 0; + }; + + this.pointAlongPathFrom = function (location, distance, absolute) { + var seg = _findSegmentForLocation(location, absolute); + // TODO what happens if this crosses to the next segment? + return seg.segment && seg.segment.pointAlongPathFrom(seg.proportion, distance, false) || [0, 0]; + }; + + this.compute = function (params) { + paintInfo = _prepareCompute.call(this, params); + + _clearSegments(); + this._compute(paintInfo, params); + this.x = paintInfo.points[0]; + this.y = paintInfo.points[1]; + this.w = paintInfo.points[2]; + this.h = paintInfo.points[3]; + this.segment = paintInfo.segment; + _updateSegmentProportions(); + }; + + return { + addSegment: _addSegment, + prepareCompute: _prepareCompute, + sourceStub: sourceStub, + targetStub: targetStub, + maxStub: Math.max(sourceStub, targetStub), + sourceGap: sourceGap, + targetGap: targetGap, + maxGap: Math.max(sourceGap, targetGap) + }; + }; + _ju.extend(_jp.Connectors.AbstractConnector, AbstractComponent); + + + // ********************************* END OF CONNECTOR TYPES ******************************************************************* + + // ********************************* ENDPOINT TYPES ******************************************************************* + + _jp.Endpoints.AbstractEndpoint = function (params) { + AbstractComponent.apply(this, arguments); + var compute = this.compute = function (anchorPoint, orientation, endpointStyle, connectorPaintStyle) { + var out = this._compute.apply(this, arguments); + this.x = out[0]; + this.y = out[1]; + this.w = out[2]; + this.h = out[3]; + this.bounds.minX = this.x; + this.bounds.minY = this.y; + this.bounds.maxX = this.x + this.w; + this.bounds.maxY = this.y + this.h; + return out; + }; + return { + compute: compute, + cssClass: params.cssClass + }; + }; + _ju.extend(_jp.Endpoints.AbstractEndpoint, AbstractComponent); + + /** + * Class: Endpoints.Dot + * A round endpoint, with default radius 10 pixels. + */ + + /** + * Function: Constructor + * + * Parameters: + * + * radius - radius of the endpoint. defaults to 10 pixels. + */ + _jp.Endpoints.Dot = function (params) { + this.type = "Dot"; + var _super = _jp.Endpoints.AbstractEndpoint.apply(this, arguments); + params = params || {}; + this.radius = params.radius || 10; + this.defaultOffset = 0.5 * this.radius; + this.defaultInnerRadius = this.radius / 3; + + this._compute = function (anchorPoint, orientation, endpointStyle, connectorPaintStyle) { + this.radius = endpointStyle.radius || this.radius; + var x = anchorPoint[0] - this.radius, + y = anchorPoint[1] - this.radius, + w = this.radius * 2, + h = this.radius * 2; + + if (endpointStyle.stroke) { + var lw = endpointStyle.strokeWidth || 1; + x -= lw; + y -= lw; + w += (lw * 2); + h += (lw * 2); + } + return [ x, y, w, h, this.radius ]; + }; + }; + _ju.extend(_jp.Endpoints.Dot, _jp.Endpoints.AbstractEndpoint); + + _jp.Endpoints.Rectangle = function (params) { + this.type = "Rectangle"; + var _super = _jp.Endpoints.AbstractEndpoint.apply(this, arguments); + params = params || {}; + this.width = params.width || 20; + this.height = params.height || 20; + + this._compute = function (anchorPoint, orientation, endpointStyle, connectorPaintStyle) { + var width = endpointStyle.width || this.width, + height = endpointStyle.height || this.height, + x = anchorPoint[0] - (width / 2), + y = anchorPoint[1] - (height / 2); + + return [ x, y, width, height]; + }; + }; + _ju.extend(_jp.Endpoints.Rectangle, _jp.Endpoints.AbstractEndpoint); + + var DOMElementEndpoint = function (params) { + _jp.jsPlumbUIComponent.apply(this, arguments); + this._jsPlumb.displayElements = []; + }; + _ju.extend(DOMElementEndpoint, _jp.jsPlumbUIComponent, { + getDisplayElements: function () { + return this._jsPlumb.displayElements; + }, + appendDisplayElement: function (el) { + this._jsPlumb.displayElements.push(el); + } + }); + + /** + * Class: Endpoints.Image + * Draws an image as the Endpoint. + */ + /** + * Function: Constructor + * + * Parameters: + * + * src - location of the image to use. + + TODO: multiple references to self. not sure quite how to get rid of them entirely. perhaps self = null in the cleanup + function will suffice + + TODO this class still might leak memory. + + */ + _jp.Endpoints.Image = function (params) { + + this.type = "Image"; + DOMElementEndpoint.apply(this, arguments); + _jp.Endpoints.AbstractEndpoint.apply(this, arguments); + + var _onload = params.onload, + src = params.src || params.url, + clazz = params.cssClass ? " " + params.cssClass : ""; + + this._jsPlumb.img = new Image(); + this._jsPlumb.ready = false; + this._jsPlumb.initialized = false; + this._jsPlumb.deleted = false; + this._jsPlumb.widthToUse = params.width; + this._jsPlumb.heightToUse = params.height; + this._jsPlumb.endpoint = params.endpoint; + + this._jsPlumb.img.onload = function () { + if (this._jsPlumb != null) { + this._jsPlumb.ready = true; + this._jsPlumb.widthToUse = this._jsPlumb.widthToUse || this._jsPlumb.img.width; + this._jsPlumb.heightToUse = this._jsPlumb.heightToUse || this._jsPlumb.img.height; + if (_onload) { + _onload(this); + } + } + }.bind(this); + + /* + Function: setImage + Sets the Image to use in this Endpoint. + + Parameters: + img - may be a URL or an Image object + onload - optional; a callback to execute once the image has loaded. + */ + this._jsPlumb.endpoint.setImage = function (_img, onload) { + var s = _img.constructor === String ? _img : _img.src; + _onload = onload; + this._jsPlumb.img.src = s; + + if (this.canvas != null) { + this.canvas.setAttribute("src", this._jsPlumb.img.src); + } + }.bind(this); + + this._jsPlumb.endpoint.setImage(src, _onload); + this._compute = function (anchorPoint, orientation, endpointStyle, connectorPaintStyle) { + this.anchorPoint = anchorPoint; + if (this._jsPlumb.ready) { + return [anchorPoint[0] - this._jsPlumb.widthToUse / 2, anchorPoint[1] - this._jsPlumb.heightToUse / 2, + this._jsPlumb.widthToUse, this._jsPlumb.heightToUse]; + } + else { + return [0, 0, 0, 0]; + } + }; + + this.canvas = _jp.createElement("img", { + position:"absolute", + margin:0, + padding:0, + outline:0 + }, this._jsPlumb.instance.endpointClass + clazz); + + if (this._jsPlumb.widthToUse) { + this.canvas.setAttribute("width", this._jsPlumb.widthToUse); + } + if (this._jsPlumb.heightToUse) { + this.canvas.setAttribute("height", this._jsPlumb.heightToUse); + } + this._jsPlumb.instance.appendElement(this.canvas); + + this.actuallyPaint = function (d, style, anchor) { + if (!this._jsPlumb.deleted) { + if (!this._jsPlumb.initialized) { + this.canvas.setAttribute("src", this._jsPlumb.img.src); + this.appendDisplayElement(this.canvas); + this._jsPlumb.initialized = true; + } + var x = this.anchorPoint[0] - (this._jsPlumb.widthToUse / 2), + y = this.anchorPoint[1] - (this._jsPlumb.heightToUse / 2); + _ju.sizeElement(this.canvas, x, y, this._jsPlumb.widthToUse, this._jsPlumb.heightToUse); + } + }; + + this.paint = function (style, anchor) { + if (this._jsPlumb != null) { // may have been deleted + if (this._jsPlumb.ready) { + this.actuallyPaint(style, anchor); + } + else { + root.setTimeout(function () { + this.paint(style, anchor); + }.bind(this), 200); + } + } + }; + }; + _ju.extend(_jp.Endpoints.Image, [ DOMElementEndpoint, _jp.Endpoints.AbstractEndpoint ], { + cleanup: function (force) { + if (force) { + this._jsPlumb.deleted = true; + if (this.canvas) { + this.canvas.parentNode.removeChild(this.canvas); + } + this.canvas = null; + } + } + }); + + /* + * Class: Endpoints.Blank + * An Endpoint that paints nothing (visible) on the screen. Supports cssClass and hoverClass parameters like all Endpoints. + */ + _jp.Endpoints.Blank = function (params) { + var _super = _jp.Endpoints.AbstractEndpoint.apply(this, arguments); + this.type = "Blank"; + DOMElementEndpoint.apply(this, arguments); + this._compute = function (anchorPoint, orientation, endpointStyle, connectorPaintStyle) { + return [anchorPoint[0], anchorPoint[1], 10, 0]; + }; + + var clazz = params.cssClass ? " " + params.cssClass : ""; + + this.canvas = _jp.createElement("div", { + display: "block", + width: "1px", + height: "1px", + background: "transparent", + position: "absolute" + }, this._jsPlumb.instance.endpointClass + clazz); + + this._jsPlumb.instance.appendElement(this.canvas); + + this.paint = function (style, anchor) { + _ju.sizeElement(this.canvas, this.x, this.y, this.w, this.h); + }; + }; + _ju.extend(_jp.Endpoints.Blank, [_jp.Endpoints.AbstractEndpoint, DOMElementEndpoint], { + cleanup: function () { + if (this.canvas && this.canvas.parentNode) { + this.canvas.parentNode.removeChild(this.canvas); + } + } + }); + + /* + * Class: Endpoints.Triangle + * A triangular Endpoint. + */ + /* + * Function: Constructor + * + * Parameters: + * + * width width of the triangle's base. defaults to 55 pixels. + * height height of the triangle from base to apex. defaults to 55 pixels. + */ + _jp.Endpoints.Triangle = function (params) { + this.type = "Triangle"; + _jp.Endpoints.AbstractEndpoint.apply(this, arguments); + var self = this; + params = params || { }; + params.width = params.width || 55; + params.height = params.height || 55; + this.width = params.width; + this.height = params.height; + this._compute = function (anchorPoint, orientation, endpointStyle, connectorPaintStyle) { + var width = endpointStyle.width || self.width, + height = endpointStyle.height || self.height, + x = anchorPoint[0] - (width / 2), + y = anchorPoint[1] - (height / 2); + return [ x, y, width, height ]; + }; + }; +// ********************************* END OF ENDPOINT TYPES ******************************************************************* + + +// ********************************* OVERLAY DEFINITIONS *********************************************************************** + + var AbstractOverlay = _jp.Overlays.AbstractOverlay = function (params) { + this.visible = true; + this.isAppendedAtTopLevel = true; + this.component = params.component; + this.loc = params.location == null ? 0.5 : params.location; + this.endpointLoc = params.endpointLocation == null ? [ 0.5, 0.5] : params.endpointLocation; + this.visible = params.visible !== false; + }; + AbstractOverlay.prototype = { + cleanup: function (force) { + if (force) { + this.component = null; + this.canvas = null; + this.endpointLoc = null; + } + }, + reattach:function(instance, component) { }, + setVisible: function (val) { + this.visible = val; + this.component.repaint(); + }, + isVisible: function () { + return this.visible; + }, + hide: function () { + this.setVisible(false); + }, + show: function () { + this.setVisible(true); + }, + incrementLocation: function (amount) { + this.loc += amount; + this.component.repaint(); + }, + setLocation: function (l) { + this.loc = l; + this.component.repaint(); + }, + getLocation: function () { + return this.loc; + }, + updateFrom:function() { } + }; + + + /* + * Class: Overlays.Arrow + * + * An arrow overlay, defined by four points: the head, the two sides of the tail, and a 'foldback' point at some distance along the length + * of the arrow that lines from each tail point converge into. The foldback point is defined using a decimal that indicates some fraction + * of the length of the arrow and has a default value of 0.623. A foldback point value of 1 would mean that the arrow had a straight line + * across the tail. + */ + /* + * @constructor + * + * @param {Object} params Constructor params. + * @param {Number} [params.length] Distance in pixels from head to tail baseline. default 20. + * @param {Number} [params.width] Width in pixels of the tail baseline. default 20. + * @param {String} [params.fill] Style to use when filling the arrow. defaults to "black". + * @param {String} [params.stroke] Style to use when stroking the arrow. defaults to null, which means the arrow is not stroked. + * @param {Number} [params.stroke-width] Line width to use when stroking the arrow. defaults to 1, but only used if stroke is not null. + * @param {Number} [params.foldback] Distance (as a decimal from 0 to 1 inclusive) along the length of the arrow marking the point the tail points should fold back to. defaults to 0.623. + * @param {Number} [params.location] Distance (as a decimal from 0 to 1 inclusive) marking where the arrow should sit on the connector. defaults to 0.5. + * @param {NUmber} [params.direction] Indicates the direction the arrow points in. valid values are -1 and 1; 1 is default. + */ + _jp.Overlays.Arrow = function (params) { + this.type = "Arrow"; + AbstractOverlay.apply(this, arguments); + this.isAppendedAtTopLevel = false; + params = params || {}; + var self = this; + + this.length = params.length || 20; + this.width = params.width || 20; + this.id = params.id; + this.direction = (params.direction || 1) < 0 ? -1 : 1; + var paintStyle = params.paintStyle || { "stroke-width": 1 }, + // how far along the arrow the lines folding back in come to. default is 62.3%. + foldback = params.foldback || 0.623; + + this.computeMaxSize = function () { + return self.width * 1.5; + }; + + this.elementCreated = function(p, component) { + this.path = p; + if (params.events) { + for (var i in params.events) { + _jp.on(p, i, params.events[i]); + } + } + }; + + this.draw = function (component, currentConnectionPaintStyle) { + + var hxy, mid, txy, tail, cxy; + if (component.pointAlongPathFrom) { + + if (_ju.isString(this.loc) || this.loc > 1 || this.loc < 0) { + var l = parseInt(this.loc, 10), + fromLoc = this.loc < 0 ? 1 : 0; + hxy = component.pointAlongPathFrom(fromLoc, l, false); + mid = component.pointAlongPathFrom(fromLoc, l - (this.direction * this.length / 2), false); + txy = _jg.pointOnLine(hxy, mid, this.length); + } + else if (this.loc === 1) { + hxy = component.pointOnPath(this.loc); + mid = component.pointAlongPathFrom(this.loc, -(this.length)); + txy = _jg.pointOnLine(hxy, mid, this.length); + + if (this.direction === -1) { + var _ = txy; + txy = hxy; + hxy = _; + } + } + else if (this.loc === 0) { + txy = component.pointOnPath(this.loc); + mid = component.pointAlongPathFrom(this.loc, this.length); + hxy = _jg.pointOnLine(txy, mid, this.length); + if (this.direction === -1) { + var __ = txy; + txy = hxy; + hxy = __; + } + } + else { + hxy = component.pointAlongPathFrom(this.loc, this.direction * this.length / 2); + mid = component.pointOnPath(this.loc); + txy = _jg.pointOnLine(hxy, mid, this.length); + } + + tail = _jg.perpendicularLineTo(hxy, txy, this.width); + cxy = _jg.pointOnLine(hxy, txy, foldback * this.length); + + var d = { hxy: hxy, tail: tail, cxy: cxy }, + stroke = paintStyle.stroke || currentConnectionPaintStyle.stroke, + fill = paintStyle.fill || currentConnectionPaintStyle.stroke, + lineWidth = paintStyle.strokeWidth || currentConnectionPaintStyle.strokeWidth; + + return { + component: component, + d: d, + "stroke-width": lineWidth, + stroke: stroke, + fill: fill, + minX: Math.min(hxy.x, tail[0].x, tail[1].x), + maxX: Math.max(hxy.x, tail[0].x, tail[1].x), + minY: Math.min(hxy.y, tail[0].y, tail[1].y), + maxY: Math.max(hxy.y, tail[0].y, tail[1].y) + }; + } + else { + return {component: component, minX: 0, maxX: 0, minY: 0, maxY: 0}; + } + }; + }; + _ju.extend(_jp.Overlays.Arrow, AbstractOverlay, { + updateFrom:function(d) { + this.length = d.length || this.length; + this.width = d.width|| this.width; + this.direction = d.direction != null ? d.direction : this.direction; + this.foldback = d.foldback|| this.foldback; + }, + cleanup:function() { + if (this.path && this.path.parentNode) { + this.path.parentNode.removeChild(this.path); + } + } + }); + + /* + * Class: Overlays.PlainArrow + * + * A basic arrow. This is in fact just one instance of the more generic case in which the tail folds back on itself to some + * point along the length of the arrow: in this case, that foldback point is the full length of the arrow. so it just does + * a 'call' to Arrow with foldback set appropriately. + */ + /* + * Function: Constructor + * See for allowed parameters for this overlay. + */ + _jp.Overlays.PlainArrow = function (params) { + params = params || {}; + var p = _jp.extend(params, {foldback: 1}); + _jp.Overlays.Arrow.call(this, p); + this.type = "PlainArrow"; + }; + _ju.extend(_jp.Overlays.PlainArrow, _jp.Overlays.Arrow); + + /* + * Class: Overlays.Diamond + * + * A diamond. Like PlainArrow, this is a concrete case of the more generic case of the tail points converging on some point...it just + * happens that in this case, that point is greater than the length of the the arrow. + * + * this could probably do with some help with positioning...due to the way it reuses the Arrow paint code, what Arrow thinks is the + * center is actually 1/4 of the way along for this guy. but we don't have any knowledge of pixels at this point, so we're kind of + * stuck when it comes to helping out the Arrow class. possibly we could pass in a 'transpose' parameter or something. the value + * would be -l/4 in this case - move along one quarter of the total length. + */ + /* + * Function: Constructor + * See for allowed parameters for this overlay. + */ + _jp.Overlays.Diamond = function (params) { + params = params || {}; + var l = params.length || 40, + p = _jp.extend(params, {length: l / 2, foldback: 2}); + _jp.Overlays.Arrow.call(this, p); + this.type = "Diamond"; + }; + _ju.extend(_jp.Overlays.Diamond, _jp.Overlays.Arrow); + + var _getDimensions = function (component, forceRefresh) { + if (component._jsPlumb.cachedDimensions == null || forceRefresh) { + component._jsPlumb.cachedDimensions = component.getDimensions(); + } + return component._jsPlumb.cachedDimensions; + }; + + // abstract superclass for overlays that add an element to the DOM. + var AbstractDOMOverlay = function (params) { + _jp.jsPlumbUIComponent.apply(this, arguments); + AbstractOverlay.apply(this, arguments); + + // hand off fired events to associated component. + var _f = this.fire; + this.fire = function () { + _f.apply(this, arguments); + if (this.component) { + this.component.fire.apply(this.component, arguments); + } + }; + + this.detached=false; + this.id = params.id; + this._jsPlumb.div = null; + this._jsPlumb.initialised = false; + this._jsPlumb.component = params.component; + this._jsPlumb.cachedDimensions = null; + this._jsPlumb.create = params.create; + this._jsPlumb.initiallyInvisible = params.visible === false; + + this.getElement = function () { + if (this._jsPlumb.div == null) { + var div = this._jsPlumb.div = _jp.getElement(this._jsPlumb.create(this._jsPlumb.component)); + div.style.position = "absolute"; + jsPlumb.addClass(div, this._jsPlumb.instance.overlayClass + " " + + (this.cssClass ? this.cssClass : + params.cssClass ? params.cssClass : "")); + this._jsPlumb.instance.appendElement(div); + this._jsPlumb.instance.getId(div); + this.canvas = div; + + // in IE the top left corner is what it placed at the desired location. This will not + // be fixed. IE8 is not going to be supported for much longer. + var ts = "translate(-50%, -50%)"; + div.style.webkitTransform = ts; + div.style.mozTransform = ts; + div.style.msTransform = ts; + div.style.oTransform = ts; + div.style.transform = ts; + + // write the related component into the created element + div._jsPlumb = this; + + if (params.visible === false) { + div.style.display = "none"; + } + } + return this._jsPlumb.div; + }; + + this.draw = function (component, currentConnectionPaintStyle, absolutePosition) { + var td = _getDimensions(this); + if (td != null && td.length === 2) { + var cxy = { x: 0, y: 0 }; + + // absolutePosition would have been set by a call to connection.setAbsoluteOverlayPosition. + if (absolutePosition) { + cxy = { x: absolutePosition[0], y: absolutePosition[1] }; + } + else if (component.pointOnPath) { + var loc = this.loc, absolute = false; + if (_ju.isString(this.loc) || this.loc < 0 || this.loc > 1) { + loc = parseInt(this.loc, 10); + absolute = true; + } + cxy = component.pointOnPath(loc, absolute); // a connection + } + else { + var locToUse = this.loc.constructor === Array ? this.loc : this.endpointLoc; + cxy = { x: locToUse[0] * component.w, + y: locToUse[1] * component.h }; + } + + var minx = cxy.x - (td[0] / 2), + miny = cxy.y - (td[1] / 2); + + return { + component: component, + d: { minx: minx, miny: miny, td: td, cxy: cxy }, + minX: minx, + maxX: minx + td[0], + minY: miny, + maxY: miny + td[1] + }; + } + else { + return {minX: 0, maxX: 0, minY: 0, maxY: 0}; + } + }; + }; + _ju.extend(AbstractDOMOverlay, [_jp.jsPlumbUIComponent, AbstractOverlay], { + getDimensions: function () { + return [1,1]; + }, + setVisible: function (state) { + if (this._jsPlumb.div) { + this._jsPlumb.div.style.display = state ? "block" : "none"; + // if initially invisible, dimensions are 0,0 and never get updated + if (state && this._jsPlumb.initiallyInvisible) { + _getDimensions(this, true); + this.component.repaint(); + this._jsPlumb.initiallyInvisible = false; + } + } + }, + /* + * Function: clearCachedDimensions + * Clears the cached dimensions for the label. As a performance enhancement, label dimensions are + * cached from 1.3.12 onwards. The cache is cleared when you change the label text, of course, but + * there are other reasons why the text dimensions might change - if you make a change through CSS, for + * example, you might change the font size. in that case you should explicitly call this method. + */ + clearCachedDimensions: function () { + this._jsPlumb.cachedDimensions = null; + }, + cleanup: function (force) { + if (force) { + if (this._jsPlumb.div != null) { + this._jsPlumb.div._jsPlumb = null; + this._jsPlumb.instance.removeElement(this._jsPlumb.div); + } + } + else { + // if not a forced cleanup, just detach child from parent for now. + if (this._jsPlumb && this._jsPlumb.div && this._jsPlumb.div.parentNode) { + this._jsPlumb.div.parentNode.removeChild(this._jsPlumb.div); + } + this.detached = true; + } + + }, + reattach:function(instance, component) { + if (this._jsPlumb.div != null) { + instance.getContainer().appendChild(this._jsPlumb.div); + } + this.detached = false; + }, + computeMaxSize: function () { + var td = _getDimensions(this); + return Math.max(td[0], td[1]); + }, + paint: function (p, containerExtents) { + if (!this._jsPlumb.initialised) { + this.getElement(); + p.component.appendDisplayElement(this._jsPlumb.div); + this._jsPlumb.initialised = true; + if (this.detached) { + this._jsPlumb.div.parentNode.removeChild(this._jsPlumb.div); + } + } + this._jsPlumb.div.style.left = (p.component.x + p.d.minx) + "px"; + this._jsPlumb.div.style.top = (p.component.y + p.d.miny) + "px"; + } + }); + + /* + * Class: Overlays.Custom + * A Custom overlay. You supply a 'create' function which returns some DOM element, and jsPlumb positions it. + * The 'create' function is passed a Connection or Endpoint. + */ + /* + * Function: Constructor + * + * Parameters: + * create - function for jsPlumb to call that returns a DOM element. + * location - distance (as a decimal from 0 to 1 inclusive) marking where the label should sit on the connector. defaults to 0.5. + * id - optional id to use for later retrieval of this overlay. + * + */ + _jp.Overlays.Custom = function (params) { + this.type = "Custom"; + AbstractDOMOverlay.apply(this, arguments); + }; + _ju.extend(_jp.Overlays.Custom, AbstractDOMOverlay); + + _jp.Overlays.GuideLines = function () { + var self = this; + self.length = 50; + self.strokeWidth = 5; + this.type = "GuideLines"; + AbstractOverlay.apply(this, arguments); + _jp.jsPlumbUIComponent.apply(this, arguments); + this.draw = function (connector, currentConnectionPaintStyle) { + + var head = connector.pointAlongPathFrom(self.loc, self.length / 2), + mid = connector.pointOnPath(self.loc), + tail = _jg.pointOnLine(head, mid, self.length), + tailLine = _jg.perpendicularLineTo(head, tail, 40), + headLine = _jg.perpendicularLineTo(tail, head, 20); + + return { + connector: connector, + head: head, + tail: tail, + headLine: headLine, + tailLine: tailLine, + minX: Math.min(head.x, tail.x, headLine[0].x, headLine[1].x), + minY: Math.min(head.y, tail.y, headLine[0].y, headLine[1].y), + maxX: Math.max(head.x, tail.x, headLine[0].x, headLine[1].x), + maxY: Math.max(head.y, tail.y, headLine[0].y, headLine[1].y) + }; + }; + + // this.cleanup = function() { }; // nothing to clean up for GuideLines + }; + + /* + * Class: Overlays.Label + + */ + /* + * Function: Constructor + * + * Parameters: + * cssClass - optional css class string to append to css class. This string is appended "as-is", so you can of course have multiple classes + * defined. This parameter is preferred to using labelStyle, borderWidth and borderStyle. + * label - the label to paint. May be a string or a function that returns a string. Nothing will be painted if your label is null or your + * label function returns null. empty strings _will_ be painted. + * location - distance (as a decimal from 0 to 1 inclusive) marking where the label should sit on the connector. defaults to 0.5. + * id - optional id to use for later retrieval of this overlay. + * + * + */ + _jp.Overlays.Label = function (params) { + this.labelStyle = params.labelStyle; + + var labelWidth = null, labelHeight = null, labelText = null, labelPadding = null; + this.cssClass = this.labelStyle != null ? this.labelStyle.cssClass : null; + var p = _jp.extend({ + create: function () { + return _jp.createElement("div"); + }}, params); + _jp.Overlays.Custom.call(this, p); + this.type = "Label"; + this.label = params.label || ""; + this.labelText = null; + if (this.labelStyle) { + var el = this.getElement(); + this.labelStyle.font = this.labelStyle.font || "12px sans-serif"; + el.style.font = this.labelStyle.font; + el.style.color = this.labelStyle.color || "black"; + if (this.labelStyle.fill) { + el.style.background = this.labelStyle.fill; + } + if (this.labelStyle.borderWidth > 0) { + var dStyle = this.labelStyle.borderStyle ? this.labelStyle.borderStyle : "black"; + el.style.border = this.labelStyle.borderWidth + "px solid " + dStyle; + } + if (this.labelStyle.padding) { + el.style.padding = this.labelStyle.padding; + } + } + + }; + _ju.extend(_jp.Overlays.Label, _jp.Overlays.Custom, { + cleanup: function (force) { + if (force) { + this.div = null; + this.label = null; + this.labelText = null; + this.cssClass = null; + this.labelStyle = null; + } + }, + getLabel: function () { + return this.label; + }, + /* + * Function: setLabel + * sets the label's, um, label. you would think i'd call this function + * 'setText', but you can pass either a Function or a String to this, so + * it makes more sense as 'setLabel'. This uses innerHTML on the label div, so keep + * that in mind if you need escaped HTML. + */ + setLabel: function (l) { + this.label = l; + this.labelText = null; + this.clearCachedDimensions(); + this.update(); + this.component.repaint(); + }, + getDimensions: function () { + this.update(); + return AbstractDOMOverlay.prototype.getDimensions.apply(this, arguments); + }, + update: function () { + if (typeof this.label === "function") { + var lt = this.label(this); + this.getElement().innerHTML = lt.replace(/\r\n/g, "
    "); + } + else { + if (this.labelText == null) { + this.labelText = this.label; + this.getElement().innerHTML = this.labelText.replace(/\r\n/g, "
    "); + } + } + }, + updateFrom:function(d) { + if(d.label != null){ + this.setLabel(d.label); + } + } + }); + + // ********************************* END OF OVERLAY DEFINITIONS *********************************************************************** + +}).call(typeof window !== 'undefined' ? window : this); + +/* + * Copyright (c) 2010 - 2020 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +;(function() { + "use strict"; + + var root = this, + _ju = root.jsPlumbUtil, + _jpi = root.jsPlumbInstance; + + var GROUP_COLLAPSED_CLASS = "jtk-group-collapsed"; + var GROUP_EXPANDED_CLASS = "jtk-group-expanded"; + var GROUP_CONTAINER_SELECTOR = "[jtk-group-content]"; + var ELEMENT_DRAGGABLE_EVENT = "elementDraggable"; + var STOP = "stop"; + var REVERT = "revert"; + var GROUP_MANAGER = "_groupManager"; + var GROUP = "_jsPlumbGroup"; + var GROUP_DRAG_SCOPE = "_jsPlumbGroupDrag"; + var EVT_CHILD_ADDED = "group:addMember"; + var EVT_CHILD_REMOVED = "group:removeMember"; + var EVT_GROUP_ADDED = "group:add"; + var EVT_GROUP_REMOVED = "group:remove"; + var EVT_EXPAND = "group:expand"; + var EVT_COLLAPSE = "group:collapse"; + var EVT_GROUP_DRAG_STOP = "groupDragStop"; + var EVT_CONNECTION_MOVED = "connectionMoved"; + var EVT_INTERNAL_CONNECTION_DETACHED = "internal.connectionDetached"; + + var CMD_REMOVE_ALL = "removeAll"; + var CMD_ORPHAN_ALL = "orphanAll"; + var CMD_SHOW = "show"; + var CMD_HIDE = "hide"; + + var GroupManager = function(_jsPlumb) { + var _managedGroups = {}, _connectionSourceMap = {}, _connectionTargetMap = {}, self = this; + + // function findGroupFor(el) { + // var c = _jsPlumb.getContainer(); + // var abort = false, g = null, child = null; + // while (!abort) { + // if (el == null || el === c) { + // abort = true; + // } else { + // if (el[GROUP]) { + // g = el[GROUP]; + // child = el; + // abort = true; + // } else { + // el = el.parentNode; + // } + // } + // } + // return g; + // } + + function isDescendant(el, parentEl) { + var c = _jsPlumb.getContainer(); + var abort = false, g = null, child = null; + while (!abort) { + if (el == null || el === c) { + return false; + } else { + if (el === parentEl) { + return true; + } else { + el = el.parentNode; + } + } + } + } + + _jsPlumb.bind("connection", function(p) { + + var sourceGroup = _jsPlumb.getGroupFor(p.source); + var targetGroup = _jsPlumb.getGroupFor(p.target); + + if (sourceGroup != null && targetGroup != null && sourceGroup === targetGroup) { + _connectionSourceMap[p.connection.id] = sourceGroup; + _connectionTargetMap[p.connection.id] = sourceGroup; + } + else { + if (sourceGroup != null) { + _ju.suggest(sourceGroup.connections.source, p.connection); + _connectionSourceMap[p.connection.id] = sourceGroup; + } + if (targetGroup != null) { + _ju.suggest(targetGroup.connections.target, p.connection); + _connectionTargetMap[p.connection.id] = targetGroup; + } + } + }); + + function _cleanupDetachedConnection(conn) { + delete conn.proxies; + var group = _connectionSourceMap[conn.id], f; + if (group != null) { + f = function(c) { return c.id === conn.id; }; + _ju.removeWithFunction(group.connections.source, f); + _ju.removeWithFunction(group.connections.target, f); + delete _connectionSourceMap[conn.id]; + } + + group = _connectionTargetMap[conn.id]; + if (group != null) { + f = function(c) { return c.id === conn.id; }; + _ju.removeWithFunction(group.connections.source, f); + _ju.removeWithFunction(group.connections.target, f); + delete _connectionTargetMap[conn.id]; + } + } + + _jsPlumb.bind(EVT_INTERNAL_CONNECTION_DETACHED, function(p) { + _cleanupDetachedConnection(p.connection); + }); + + _jsPlumb.bind(EVT_CONNECTION_MOVED, function(p) { + var connMap = p.index === 0 ? _connectionSourceMap : _connectionTargetMap; + var group = connMap[p.connection.id]; + if (group) { + var list = group.connections[p.index === 0 ? "source" : "target"]; + var idx = list.indexOf(p.connection); + if (idx !== -1) { + list.splice(idx, 1); + } + } + }); + + this.addGroup = function(group) { + _jsPlumb.addClass(group.getEl(), GROUP_EXPANDED_CLASS); + _managedGroups[group.id] = group; + group.manager = this; + _updateConnectionsForGroup(group); + _jsPlumb.fire(EVT_GROUP_ADDED, { group:group }); + }; + + this.addToGroup = function(group, el, doNotFireEvent) { + group = this.getGroup(group); + if (group) { + var groupEl = group.getEl(); + + if (el._isJsPlumbGroup) { + return; + } + var currentGroup = el._jsPlumbGroup; + // if already a member of this group, do nothing + if (currentGroup !== group) { + + _jsPlumb.removeFromDragSelection(el); + + var elpos = _jsPlumb.getOffset(el, true); + var cpos = group.collapsed ? _jsPlumb.getOffset(groupEl, true) : _jsPlumb.getOffset(group.getDragArea(), true); + + // otherwise, transfer to this group. + if (currentGroup != null) { + currentGroup.remove(el, false, doNotFireEvent, false, group); + self.updateConnectionsForGroup(currentGroup); + } + group.add(el, doNotFireEvent/*, currentGroup*/); + + var handleDroppedConnections = function (list, index) { + var oidx = index === 0 ? 1 : 0; + list.each(function (c) { + c.setVisible(false); + if (c.endpoints[oidx].element._jsPlumbGroup === group) { + c.endpoints[oidx].setVisible(false); + _expandConnection(c, oidx, group); + } + else { + c.endpoints[index].setVisible(false); + _collapseConnection(c, index, group); + } + }); + }; + + if (group.collapsed) { + handleDroppedConnections(_jsPlumb.select({source: el}), 0); + handleDroppedConnections(_jsPlumb.select({target: el}), 1); + } + + var elId = _jsPlumb.getId(el); + _jsPlumb.dragManager.setParent(el, elId, groupEl, _jsPlumb.getId(groupEl), elpos); + + var newPosition = { left: elpos.left - cpos.left, top: elpos.top - cpos.top }; + + _jsPlumb.setPosition(el, newPosition); + + _jsPlumb.dragManager.revalidateParent(el, elId, elpos); + + self.updateConnectionsForGroup(group); + + _jsPlumb.revalidate(elId); + + if (!doNotFireEvent) { + var p = {group: group, el: el, pos:newPosition}; + if (currentGroup) { + p.sourceGroup = currentGroup; + } + _jsPlumb.fire(EVT_CHILD_ADDED, p); + } + } + } + }; + + this.removeFromGroup = function(group, el, doNotFireEvent) { + group = this.getGroup(group); + if (group) { + + // if this group is currently collapsed then any proxied connections for the given el (or its descendants) need + // to be put back on their original element, and unproxied + if (group.collapsed) { + var _expandSet = function (conns, index) { + for (var i = 0; i < conns.length; i++) { + var c = conns[i]; + if (c.proxies) { + for(var j = 0; j < c.proxies.length; j++) { + if (c.proxies[j] != null) { + var proxiedElement = c.proxies[j].originalEp.element; + if (proxiedElement === el || isDescendant(proxiedElement, el)) { + _expandConnection(c, index, group); + } + } + + } + } + } + }; + + // setup proxies for sources and targets + _expandSet(group.connections.source.slice(), 0); + _expandSet(group.connections.target.slice(), 1); + } + + group.remove(el, null, doNotFireEvent); + } + }; + + this.getGroup = function(groupId) { + var group = groupId; + if (_ju.isString(groupId)) { + group = _managedGroups[groupId]; + if (group == null) { + throw new TypeError("No such group [" + groupId + "]"); + } + } + return group; + }; + + this.getGroups = function() { + var o = []; + for (var g in _managedGroups) { + o.push(_managedGroups[g]); + } + return o; + }; + + this.removeGroup = function(group, deleteMembers, manipulateDOM, doNotFireEvent) { + group = this.getGroup(group); + this.expandGroup(group, true); // this reinstates any original connections and removes all proxies, but does not fire an event. + var newPositions = group[deleteMembers ? CMD_REMOVE_ALL : CMD_ORPHAN_ALL](manipulateDOM, doNotFireEvent); + _jsPlumb.remove(group.getEl()); + delete _managedGroups[group.id]; + delete _jsPlumb._groups[group.id]; + _jsPlumb.fire(EVT_GROUP_REMOVED, { group:group }); + return newPositions; // this will be null in the case or remove, but be a map of {id->[x,y]} in the case of orphan + }; + + this.removeAllGroups = function(deleteMembers, manipulateDOM, doNotFireEvent) { + for (var g in _managedGroups) { + this.removeGroup(_managedGroups[g], deleteMembers, manipulateDOM, doNotFireEvent); + } + }; + + function _setVisible(group, state) { + + // TODO discovering the list of elements would ideally be a pluggable function. + var m = group.getEl().querySelectorAll(".jtk-managed"); + for (var i = 0; i < m.length; i++) { + _jsPlumb[state ? CMD_SHOW : CMD_HIDE](m[i], true); + } + } + + var _collapseConnection = function(c, index, group) { + + var otherEl = c.endpoints[index === 0 ? 1 : 0].element; + if (otherEl[GROUP] && (!otherEl[GROUP].shouldProxy() && otherEl[GROUP].collapsed)) { + return; + } + + var groupEl = group.getEl(), groupElId = _jsPlumb.getId(groupEl); + + _jsPlumb.proxyConnection(c, index, groupEl, groupElId, function(c, index) { return group.getEndpoint(c, index); }, function(c, index) { return group.getAnchor(c, index); }); + }; + + this.collapseGroup = function(group) { + group = this.getGroup(group); + if (group == null || group.collapsed) { + return; + } + var groupEl = group.getEl(); + + // todo remove old proxy endpoints first, just in case? + //group.proxies.length = 0; + + // hide all connections + _setVisible(group, false); + + if (group.shouldProxy()) { + // collapses all connections in a group. + var _collapseSet = function (conns, index) { + for (var i = 0; i < conns.length; i++) { + var c = conns[i]; + _collapseConnection(c, index, group); + } + }; + + // setup proxies for sources and targets + _collapseSet(group.connections.source, 0); + _collapseSet(group.connections.target, 1); + } + + group.collapsed = true; + _jsPlumb.removeClass(groupEl, GROUP_EXPANDED_CLASS); + _jsPlumb.addClass(groupEl, GROUP_COLLAPSED_CLASS); + _jsPlumb.revalidate(groupEl); + _jsPlumb.fire(EVT_COLLAPSE, { group:group }); + }; + + var _expandConnection = function(c, index, group) { + _jsPlumb.unproxyConnection(c, index, _jsPlumb.getId(group.getEl())); + }; + + this.expandGroup = function(group, doNotFireEvent) { + + group = this.getGroup(group); + + if (group == null || !group.collapsed) { + return; + } + var groupEl = group.getEl(); + + _setVisible(group, true); + + if (group.shouldProxy()) { + // expands all connections in a group. + var _expandSet = function (conns, index) { + for (var i = 0; i < conns.length; i++) { + var c = conns[i]; + _expandConnection(c, index, group); + } + }; + + // setup proxies for sources and targets + _expandSet(group.connections.source, 0); + _expandSet(group.connections.target, 1); + } + + group.collapsed = false; + _jsPlumb.addClass(groupEl, GROUP_EXPANDED_CLASS); + _jsPlumb.removeClass(groupEl, GROUP_COLLAPSED_CLASS); + _jsPlumb.revalidate(groupEl); + this.repaintGroup(group); + if (!doNotFireEvent) { + _jsPlumb.fire(EVT_EXPAND, { group: group}); + } + }; + + this.repaintGroup = function(group) { + group = this.getGroup(group); + var m = group.getMembers(); + for (var i = 0; i < m.length; i++) { + _jsPlumb.revalidate(m[i]); + } + }; + + // TODO refactor this with the code that responds to `connection` events. + function _updateConnectionsForGroup(group) { + var members = group.getMembers().slice(); + + var childMembers = []; + for (var i = 0; i < members.length; i++) { + Array.prototype.push.apply(childMembers, members[i].querySelectorAll(".jtk-managed")); + } + Array.prototype.push.apply(members, childMembers); + + var c1 = _jsPlumb.getConnections({source:members, scope:"*"}, true); + var c2 = _jsPlumb.getConnections({target:members, scope:"*"}, true); + + var processed = {}; + group.connections.source.length = 0; + group.connections.target.length = 0; + var oneSet = function(c) { + for (var i = 0; i < c.length; i++) { + if (processed[c[i].id]) { + continue; + } + processed[c[i].id] = true; + var gs = _jsPlumb.getGroupFor(c[i].source), + gt = _jsPlumb.getGroupFor(c[i].target); + + if (gs === group) { + if (gt !== group) { + group.connections.source.push(c[i]); + } + _connectionSourceMap[c[i].id] = group; + } + else if (gt === group) { + group.connections.target.push(c[i]); + _connectionTargetMap[c[i].id] = group; + } + } + }; + oneSet(c1); oneSet(c2); + } + + this.updateConnectionsForGroup = _updateConnectionsForGroup; + this.refreshAllGroups = function() { + for (var g in _managedGroups) { + _updateConnectionsForGroup(_managedGroups[g]); + _jsPlumb.dragManager.updateOffsets(_jsPlumb.getId(_managedGroups[g].getEl())); + } + }; + }; + + /** + * + * @param {jsPlumbInstance} _jsPlumb Associated jsPlumb instance. + * @param {Object} params + * @param {Element} params.el The DOM element representing the Group. + * @param {String} [params.id] Optional ID for the Group. A UUID will be assigned as the Group's ID if you do not provide one. + * @param {Boolean} [params.constrain=false] If true, child elements will not be able to be dragged outside of the Group container. + * @param {Boolean} [params.revert=true] By default, child elements revert to the container if dragged outside. You can change this by setting `revert:false`. This behaviour is also overridden if you set `orphan` or `prune`. + * @param {Boolean} [params.orphan=false] If true, child elements dropped outside of the Group container will be removed from the Group (but not from the DOM). + * @param {Boolean} [params.prune=false] If true, child elements dropped outside of the Group container will be removed from the Group and also from the DOM. + * @param {Boolean} [params.dropOverride=false] If true, a child element that has been dropped onto some other Group will not be subject to the controls imposed by `prune`, `revert` or `orphan`. + * @constructor + */ + var Group = function(_jsPlumb, params) { + var self = this; + var el = params.el; + this.getEl = function() { return el; }; + this.id = params.id || _ju.uuid(); + el._isJsPlumbGroup = true; + + var getDragArea = this.getDragArea = function() { + var da = _jsPlumb.getSelector(el, GROUP_CONTAINER_SELECTOR); + return da && da.length > 0 ? da[0] : el; + }; + + var ghost = params.ghost === true; + var constrain = ghost || (params.constrain === true); + var revert = params.revert !== false; + var orphan = params.orphan === true; + var prune = params.prune === true; + var dropOverride = params.dropOverride === true; + var proxied = params.proxied !== false; + var elements = []; + this.connections = { source:[], target:[], internal:[] }; + + // this function, and getEndpoint below, are stubs for a future setup in which we can choose endpoint + // and anchor based upon the connection and the index (source/target) of the endpoint to be proxied. + this.getAnchor = function(conn, endpointIndex) { + return params.anchor || "Continuous"; + }; + + this.getEndpoint = function(conn, endpointIndex) { + return params.endpoint || [ "Dot", { radius:10 }]; + }; + + this.collapsed = false; + if (params.draggable !== false) { + var opts = { + drag:function() { + for (var i = 0; i < elements.length; i++) { + _jsPlumb.draw(elements[i]); + } + }, + stop:function(params) { + _jsPlumb.fire(EVT_GROUP_DRAG_STOP, jsPlumb.extend(params, {group:self})); + }, + scope:GROUP_DRAG_SCOPE + }; + if (params.dragOptions) { + root.jsPlumb.extend(opts, params.dragOptions); + } + _jsPlumb.draggable(params.el, opts); + } + if (params.droppable !== false) { + _jsPlumb.droppable(params.el, { + drop:function(p) { + var el = p.drag.el; + if (el._isJsPlumbGroup) { + return; + } + var currentGroup = el._jsPlumbGroup; + if (currentGroup !== self) { + if (currentGroup != null) { + if (currentGroup.overrideDrop(el, self)) { + return; + } + } + _jsPlumb.getGroupManager().addToGroup(self, el, false); + } + + } + }); + } + var _each = function(_el, fn) { + var els = _el.nodeType == null ? _el : [ _el ]; + for (var i = 0; i < els.length; i++) { + fn(els[i]); + } + }; + + this.overrideDrop = function(_el, targetGroup) { + return dropOverride && (revert || prune || orphan); + }; + + this.add = function(_el, doNotFireEvent/*, sourceGroup*/) { + var dragArea = getDragArea(); + _each(_el, function(__el) { + + if (__el._jsPlumbGroup != null) { + if (__el._jsPlumbGroup === self) { + return; + } else { + __el._jsPlumbGroup.remove(__el, true, doNotFireEvent, false); + } + } + + __el._jsPlumbGroup = self; + elements.push(__el); + // test if draggable and add handlers if so. + if (_jsPlumb.isAlreadyDraggable(__el)) { + _bindDragHandlers(__el); + } + + if (__el.parentNode !== dragArea) { + dragArea.appendChild(__el); + } + + // if (!doNotFireEvent) { + // var p = {group: self, el: __el}; + // if (sourceGroup) { + // p.sourceGroup = sourceGroup; + // } + // //_jsPlumb.fire(EVT_CHILD_ADDED, p); + // } + }); + + _jsPlumb.getGroupManager().updateConnectionsForGroup(self); + }; + + this.remove = function(el, manipulateDOM, doNotFireEvent, doNotUpdateConnections, targetGroup) { + + _each(el, function(__el) { + if (__el._jsPlumbGroup === self) { + delete __el._jsPlumbGroup; + _ju.removeWithFunction(elements, function (e) { + return e === __el; + }); + + + if (manipulateDOM) { + try { + self.getDragArea().removeChild(__el); + } catch (e) { + jsPlumbUtil.log("Could not remove element from Group " + e); + } + } + _unbindDragHandlers(__el); + + if (!doNotFireEvent) { + var p = {group: self, el: __el}; + if (targetGroup) { + p.targetGroup = targetGroup; + } + _jsPlumb.fire(EVT_CHILD_REMOVED, p); + } + } + }); + if (!doNotUpdateConnections) { + _jsPlumb.getGroupManager().updateConnectionsForGroup(self); + } + }; + this.removeAll = function(manipulateDOM, doNotFireEvent) { + for (var i = 0, l = elements.length; i < l; i++) { + var el = elements[0]; + self.remove(el, manipulateDOM, doNotFireEvent, true); + _jsPlumb.remove(el, true); + } + elements.length = 0; + _jsPlumb.getGroupManager().updateConnectionsForGroup(self); + }; + this.orphanAll = function() { + var orphanedPositions = {}; + for (var i = 0; i < elements.length; i++) { + var newPosition = _orphan(elements[i]); + orphanedPositions[newPosition[0]] = newPosition[1]; + } + elements.length = 0; + + return orphanedPositions; + }; + this.getMembers = function() { return elements; }; + + el[GROUP] = this; + + _jsPlumb.bind(ELEMENT_DRAGGABLE_EVENT, function(dragParams) { + // if its for the current group, + if (dragParams.el._jsPlumbGroup === this) { + _bindDragHandlers(dragParams.el); + } + }.bind(this)); + + function _findParent(_el) { + return _el.offsetParent; + } + + function _isInsideParent(_el, pos) { + var p = _findParent(_el), + s = _jsPlumb.getSize(p), + ss = _jsPlumb.getSize(_el), + leftEdge = pos[0], + rightEdge = leftEdge + ss[0], + topEdge = pos[1], + bottomEdge = topEdge + ss[1]; + + return rightEdge > 0 && leftEdge < s[0] && bottomEdge > 0 && topEdge < s[1]; + } + + // + // orphaning an element means taking it out of the group and adding it to the main jsplumb container. + // we return the new calculated position from this method and the element's id. + // + function _orphan(_el) { + var id = _jsPlumb.getId(_el); + var pos = _jsPlumb.getOffset(_el); + _el.parentNode.removeChild(_el); + _jsPlumb.getContainer().appendChild(_el); + _jsPlumb.setPosition(_el, pos); + _unbindDragHandlers(_el); + _jsPlumb.dragManager.clearParent(_el, id); + return [id, pos]; + } + + // + // remove an element from the group, then either prune it from the jsplumb instance, or just orphan it. + // + function _pruneOrOrphan(p) { + + var out = []; + + function _one(el, left, top) { + var orphanedPosition = null; + if (!_isInsideParent(el, [left, top])) { + var group = el._jsPlumbGroup; + if (prune) { + _jsPlumb.remove(el); + } else { + orphanedPosition = _orphan(el); + } + + group.remove(el); + } + + return orphanedPosition; + } + + for (var i = 0; i < p.selection.length; i++) { + out.push(_one(p.selection[i][0], p.selection[i][1].left, p.selection[i][1].top)); + } + + return out.length === 1 ? out[0] : out; + + } + + // + // redraws the element + // + function _revalidate(_el) { + var id = _jsPlumb.getId(_el); + _jsPlumb.revalidate(_el); + _jsPlumb.dragManager.revalidateParent(_el, id); + } + + // + // unbind the group specific drag/revert handlers. + // + function _unbindDragHandlers(_el) { + if (!_el._katavorioDrag) { + return; + } + if (prune || orphan) { + _el._katavorioDrag.off(STOP, _pruneOrOrphan); + } + if (!prune && !orphan && revert) { + _el._katavorioDrag.off(REVERT, _revalidate); + _el._katavorioDrag.setRevert(null); + } + } + + function _bindDragHandlers(_el) { + if (!_el._katavorioDrag) { + return; + } + if (prune || orphan) { + _el._katavorioDrag.on(STOP, _pruneOrOrphan); + } + + if (constrain) { + _el._katavorioDrag.setConstrain(true); + } + + if (ghost) { + _el._katavorioDrag.setUseGhostProxy(true); + } + + if (!prune && !orphan && revert) { + _el._katavorioDrag.on(REVERT, _revalidate); + _el._katavorioDrag.setRevert(function(__el, pos) { + return !_isInsideParent(__el, pos); + }); + } + } + + this.shouldProxy = function() { + return proxied; + }; + + _jsPlumb.getGroupManager().addGroup(this); + }; + + /** + * Adds a group to the jsPlumb instance. + * @method addGroup + * @param {Object} params + * @return {Group} The newly created Group. + */ + _jpi.prototype.addGroup = function(params) { + var j = this; + j._groups = j._groups || {}; + if (j._groups[params.id] != null) { + throw new TypeError("cannot create Group [" + params.id + "]; a Group with that ID exists"); + } + if (params.el[GROUP] != null) { + throw new TypeError("cannot create Group [" + params.id + "]; the given element is already a Group"); + } + var group = new Group(j, params); + j._groups[group.id] = group; + if (params.collapsed) { + this.collapseGroup(group); + } + return group; + }; + + /** + * Add an element to a group. + * @method addToGroup + * @param {String} group Group, or ID of the group, to add the element to. + * @param {Element} el Element to add to the group. + */ + _jpi.prototype.addToGroup = function(group, el, doNotFireEvent) { + + var _one = function(_el) { + var id = this.getId(_el); + this.manage(id, _el); + this.getGroupManager().addToGroup(group, _el, doNotFireEvent); + }.bind(this); + + if (Array.isArray(el)) { + for (var i = 0; i < el.length; i++) { + _one(el[i]); + } + } else { + _one(el); + } + }; + + /** + * Remove an element from a group, and sets its DOM element to be a child of the container again. ?? + * @method removeFromGroup + * @param {String} group Group, or ID of the group, to remove the element from. + * @param {Element} el Element to add to the group. + */ + _jpi.prototype.removeFromGroup = function(group, el, doNotFireEvent) { + this.getGroupManager().removeFromGroup(group, el, doNotFireEvent); + this.getContainer().appendChild(el); + }; + + /** + * Remove a group, and optionally remove its members from the jsPlumb instance. + * @method removeGroup + * @param {String|Group} group Group to delete, or ID of Group to delete. + * @param {Boolean} [deleteMembers=false] If true, group members will be removed along with the group. Otherwise they will + * just be 'orphaned' (returned to the main container). + * @returns {Map[String, Position}} When deleteMembers is false, this method returns a map of {id->position} + */ + _jpi.prototype.removeGroup = function(group, deleteMembers, manipulateDOM, doNotFireEvent) { + return this.getGroupManager().removeGroup(group, deleteMembers, manipulateDOM, doNotFireEvent); + }; + + /** + * Remove all groups, and optionally remove their members from the jsPlumb instance. + * @method removeAllGroup + * @param {Boolean} [deleteMembers=false] If true, group members will be removed along with the groups. Otherwise they will + * just be 'orphaned' (returned to the main container). + */ + _jpi.prototype.removeAllGroups = function(deleteMembers, manipulateDOM, doNotFireEvent) { + this.getGroupManager().removeAllGroups(deleteMembers, manipulateDOM, doNotFireEvent); + }; + + /** + * Get a Group + * @method getGroup + * @param {String} groupId ID of the group to get + * @return {Group} Group with the given ID, null if not found. + */ + _jpi.prototype.getGroup = function(groupId) { + return this.getGroupManager().getGroup(groupId); + }; + + /** + * Gets all the Groups managed by the jsPlumb instance. + * @returns {Group[]} List of Groups. Empty if none. + */ + _jpi.prototype.getGroups = function() { + return this.getGroupManager().getGroups(); + }; + + /** + * Expands a group element. jsPlumb doesn't do "everything" for you here, because what it means to expand a Group + * will vary from application to application. jsPlumb does these things: + * + * - Hides any connections that are internal to the group (connections between members, and connections from member of + * the group to the group itself) + * - Proxies all connections for which the source or target is a member of the group. + * - Hides the proxied connections. + * - Adds the jtk-group-expanded class to the group's element + * - Removes the jtk-group-collapsed class from the group's element. + * + * @method expandGroup + * @param {String|Group} group Group to expand, or ID of Group to expand. + */ + _jpi.prototype.expandGroup = function(group) { + this.getGroupManager().expandGroup(group); + }; + + /** + * Collapses a group element. jsPlumb doesn't do "everything" for you here, because what it means to collapse a Group + * will vary from application to application. jsPlumb does these things: + * + * - Shows any connections that are internal to the group (connections between members, and connections from member of + * the group to the group itself) + * - Removes proxies for all connections for which the source or target is a member of the group. + * - Shows the previously proxied connections. + * - Adds the jtk-group-collapsed class to the group's element + * - Removes the jtk-group-expanded class from the group's element. + * + * @method expandGroup + * @param {String|Group} group Group to expand, or ID of Group to expand. + */ + _jpi.prototype.collapseGroup = function(groupId) { + this.getGroupManager().collapseGroup(groupId); + }; + + + _jpi.prototype.repaintGroup = function(group) { + this.getGroupManager().repaintGroup(group); + }; + + /** + * Collapses or expands a group element depending on its current state. See notes in the collapseGroup and expandGroup method. + * + * @method toggleGroup + * @param {String|Group} group Group to expand/collapse, or ID of Group to expand/collapse. + */ + _jpi.prototype.toggleGroup = function(group) { + group = this.getGroupManager().getGroup(group); + if (group != null) { + this.getGroupManager()[group.collapsed ? "expandGroup" : "collapseGroup"](group); + } + }; + + // + // lazy init a group manager for the given jsplumb instance. + // + _jpi.prototype.getGroupManager = function() { + var mgr = this[GROUP_MANAGER]; + if (mgr == null) { + mgr = this[GROUP_MANAGER] = new GroupManager(this); + } + return mgr; + }; + + _jpi.prototype.removeGroupManager = function() { + delete this[GROUP_MANAGER]; + }; + + /** + * Gets the Group that the given element belongs to, null if none. + * @method getGroupFor + * @param {String|Element} el Element, or element ID. + * @returns {Group} A Group, if found, or null. + */ + _jpi.prototype.getGroupFor = function(el) { + el = this.getElement(el); + if (el) { + var c = this.getContainer(); + var abort = false, g = null, child = null; + while (!abort) { + if (el == null || el === c) { + abort = true; + } else { + if (el[GROUP]) { + g = el[GROUP]; + child = el; + abort = true; + } else { + el = el.parentNode; + } + } + } + return g; + } + }; + +}).call(typeof window !== 'undefined' ? window : this); + + +/* + * This file contains the 'flowchart' connectors, consisting of vertical and horizontal line segments. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + + "use strict"; + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil; + var STRAIGHT = "Straight"; + var ARC = "Arc"; + + var Flowchart = function (params) { + this.type = "Flowchart"; + params = params || {}; + params.stub = params.stub == null ? 30 : params.stub; + var segments, + _super = _jp.Connectors.AbstractConnector.apply(this, arguments), + midpoint = params.midpoint == null ? 0.5 : params.midpoint, + alwaysRespectStubs = params.alwaysRespectStubs === true, + lastx = null, lasty = null, lastOrientation, + cornerRadius = params.cornerRadius != null ? params.cornerRadius : 0, + + // TODO now common between this and AbstractBezierEditor; refactor into superclass? + loopbackRadius = params.loopbackRadius || 25, + isLoopbackCurrently = false, + + sgn = function (n) { + return n < 0 ? -1 : n === 0 ? 0 : 1; + }, + segmentDirections = function(segment) { + return [ + sgn( segment[2] - segment[0] ), + sgn( segment[3] - segment[1] ) + ]; + }, + /** + * helper method to add a segment. + */ + addSegment = function (segments, x, y, paintInfo) { + if (lastx === x && lasty === y) { + return; + } + var lx = lastx == null ? paintInfo.sx : lastx, + ly = lasty == null ? paintInfo.sy : lasty, + o = lx === x ? "v" : "h"; + + lastx = x; + lasty = y; + segments.push([ lx, ly, x, y, o ]); + }, + segLength = function (s) { + return Math.sqrt(Math.pow(s[0] - s[2], 2) + Math.pow(s[1] - s[3], 2)); + }, + _cloneArray = function (a) { + var _a = []; + _a.push.apply(_a, a); + return _a; + }, + writeSegments = function (conn, segments, paintInfo) { + var current = null, next, currentDirection, nextDirection; + for (var i = 0; i < segments.length - 1; i++) { + + current = current || _cloneArray(segments[i]); + next = _cloneArray(segments[i + 1]); + + currentDirection = segmentDirections(current); + nextDirection = segmentDirections(next); + + if (cornerRadius > 0 && current[4] !== next[4]) { + + var minSegLength = Math.min(segLength(current), segLength(next)); + var radiusToUse = Math.min(cornerRadius, minSegLength / 2); + + current[2] -= currentDirection[0] * radiusToUse; + current[3] -= currentDirection[1] * radiusToUse; + next[0] += nextDirection[0] * radiusToUse; + next[1] += nextDirection[1] * radiusToUse; + + var ac = (currentDirection[1] === nextDirection[0] && nextDirection[0] === 1) || + ((currentDirection[1] === nextDirection[0] && nextDirection[0] === 0) && currentDirection[0] !== nextDirection[1]) || + (currentDirection[1] === nextDirection[0] && nextDirection[0] === -1), + sgny = next[1] > current[3] ? 1 : -1, + sgnx = next[0] > current[2] ? 1 : -1, + sgnEqual = sgny === sgnx, + cx = (sgnEqual && ac || (!sgnEqual && !ac)) ? next[0] : current[2], + cy = (sgnEqual && ac || (!sgnEqual && !ac)) ? current[3] : next[1]; + + _super.addSegment(conn, STRAIGHT, { + x1: current[0], y1: current[1], x2: current[2], y2: current[3] + }); + + _super.addSegment(conn, ARC, { + r: radiusToUse, + x1: current[2], + y1: current[3], + x2: next[0], + y2: next[1], + cx: cx, + cy: cy, + ac: ac + }); + } + else { + // dx + dy are used to adjust for line width. + var dx = (current[2] === current[0]) ? 0 : (current[2] > current[0]) ? (paintInfo.lw / 2) : -(paintInfo.lw / 2), + dy = (current[3] === current[1]) ? 0 : (current[3] > current[1]) ? (paintInfo.lw / 2) : -(paintInfo.lw / 2); + + _super.addSegment(conn, STRAIGHT, { + x1: current[0] - dx, y1: current[1] - dy, x2: current[2] + dx, y2: current[3] + dy + }); + } + current = next; + } + if (next != null) { + // last segment + _super.addSegment(conn, STRAIGHT, { + x1: next[0], y1: next[1], x2: next[2], y2: next[3] + }); + } + }; + + this._compute = function (paintInfo, params) { + + segments = []; + lastx = null; + lasty = null; + lastOrientation = null; + + var commonStubCalculator = function () { + return [paintInfo.startStubX, paintInfo.startStubY, paintInfo.endStubX, paintInfo.endStubY]; + }, + stubCalculators = { + perpendicular: commonStubCalculator, + orthogonal: commonStubCalculator, + opposite: function (axis) { + var pi = paintInfo, + idx = axis === "x" ? 0 : 1, + areInProximity = { + "x": function () { + return ( (pi.so[idx] === 1 && ( + ( (pi.startStubX > pi.endStubX) && (pi.tx > pi.startStubX) ) || + ( (pi.sx > pi.endStubX) && (pi.tx > pi.sx))))) || + + ( (pi.so[idx] === -1 && ( + ( (pi.startStubX < pi.endStubX) && (pi.tx < pi.startStubX) ) || + ( (pi.sx < pi.endStubX) && (pi.tx < pi.sx))))); + }, + "y": function () { + return ( (pi.so[idx] === 1 && ( + ( (pi.startStubY > pi.endStubY) && (pi.ty > pi.startStubY) ) || + ( (pi.sy > pi.endStubY) && (pi.ty > pi.sy))))) || + + ( (pi.so[idx] === -1 && ( + ( (pi.startStubY < pi.endStubY) && (pi.ty < pi.startStubY) ) || + ( (pi.sy < pi.endStubY) && (pi.ty < pi.sy))))); + } + }; + + if (!alwaysRespectStubs && areInProximity[axis]()) { + return { + "x": [(paintInfo.sx + paintInfo.tx) / 2, paintInfo.startStubY, (paintInfo.sx + paintInfo.tx) / 2, paintInfo.endStubY], + "y": [paintInfo.startStubX, (paintInfo.sy + paintInfo.ty) / 2, paintInfo.endStubX, (paintInfo.sy + paintInfo.ty) / 2] + }[axis]; + } + else { + return [paintInfo.startStubX, paintInfo.startStubY, paintInfo.endStubX, paintInfo.endStubY]; + } + } + }; + + // calculate Stubs. + var stubs = stubCalculators[paintInfo.anchorOrientation](paintInfo.sourceAxis), + idx = paintInfo.sourceAxis === "x" ? 0 : 1, + oidx = paintInfo.sourceAxis === "x" ? 1 : 0, + ss = stubs[idx], + oss = stubs[oidx], + es = stubs[idx + 2], + oes = stubs[oidx + 2]; + + // add the start stub segment. use stubs for loopback as it will look better, with the loop spaced + // away from the element. + addSegment(segments, stubs[0], stubs[1], paintInfo); + + // if its a loopback and we should treat it differently. + // if (false && params.sourcePos[0] === params.targetPos[0] && params.sourcePos[1] === params.targetPos[1]) { + // + // // we use loopbackRadius here, as statemachine connectors do. + // // so we go radius to the left from stubs[0], then upwards by 2*radius, to the right by 2*radius, + // // down by 2*radius, left by radius. + // addSegment(segments, stubs[0] - loopbackRadius, stubs[1], paintInfo); + // addSegment(segments, stubs[0] - loopbackRadius, stubs[1] - (2 * loopbackRadius), paintInfo); + // addSegment(segments, stubs[0] + loopbackRadius, stubs[1] - (2 * loopbackRadius), paintInfo); + // addSegment(segments, stubs[0] + loopbackRadius, stubs[1], paintInfo); + // addSegment(segments, stubs[0], stubs[1], paintInfo); + // + // } + // else { + + + var midx = paintInfo.startStubX + ((paintInfo.endStubX - paintInfo.startStubX) * midpoint), + midy = paintInfo.startStubY + ((paintInfo.endStubY - paintInfo.startStubY) * midpoint); + + var orientations = {x: [0, 1], y: [1, 0]}, + lineCalculators = { + perpendicular: function (axis) { + var pi = paintInfo, + sis = { + x: [ + [[1, 2, 3, 4], null, [2, 1, 4, 3]], + null, + [[4, 3, 2, 1], null, [3, 4, 1, 2]] + ], + y: [ + [[3, 2, 1, 4], null, [2, 3, 4, 1]], + null, + [[4, 1, 2, 3], null, [1, 4, 3, 2]] + ] + }, + stubs = { + x: [[pi.startStubX, pi.endStubX], null, [pi.endStubX, pi.startStubX]], + y: [[pi.startStubY, pi.endStubY], null, [pi.endStubY, pi.startStubY]] + }, + midLines = { + x: [[midx, pi.startStubY], [midx, pi.endStubY]], + y: [[pi.startStubX, midy], [pi.endStubX, midy]] + }, + linesToEnd = { + x: [[pi.endStubX, pi.startStubY]], + y: [[pi.startStubX, pi.endStubY]] + }, + startToEnd = { + x: [[pi.startStubX, pi.endStubY], [pi.endStubX, pi.endStubY]], + y: [[pi.endStubX, pi.startStubY], [pi.endStubX, pi.endStubY]] + }, + startToMidToEnd = { + x: [[pi.startStubX, midy], [pi.endStubX, midy], [pi.endStubX, pi.endStubY]], + y: [[midx, pi.startStubY], [midx, pi.endStubY], [pi.endStubX, pi.endStubY]] + }, + otherStubs = { + x: [pi.startStubY, pi.endStubY], + y: [pi.startStubX, pi.endStubX] + }, + soIdx = orientations[axis][0], toIdx = orientations[axis][1], + _so = pi.so[soIdx] + 1, + _to = pi.to[toIdx] + 1, + otherFlipped = (pi.to[toIdx] === -1 && (otherStubs[axis][1] < otherStubs[axis][0])) || (pi.to[toIdx] === 1 && (otherStubs[axis][1] > otherStubs[axis][0])), + stub1 = stubs[axis][_so][0], + stub2 = stubs[axis][_so][1], + segmentIndexes = sis[axis][_so][_to]; + + if (pi.segment === segmentIndexes[3] || (pi.segment === segmentIndexes[2] && otherFlipped)) { + return midLines[axis]; + } + else if (pi.segment === segmentIndexes[2] && stub2 < stub1) { + return linesToEnd[axis]; + } + else if ((pi.segment === segmentIndexes[2] && stub2 >= stub1) || (pi.segment === segmentIndexes[1] && !otherFlipped)) { + return startToMidToEnd[axis]; + } + else if (pi.segment === segmentIndexes[0] || (pi.segment === segmentIndexes[1] && otherFlipped)) { + return startToEnd[axis]; + } + }, + orthogonal: function (axis, startStub, otherStartStub, endStub, otherEndStub) { + var pi = paintInfo, + extent = { + "x": pi.so[0] === -1 ? Math.min(startStub, endStub) : Math.max(startStub, endStub), + "y": pi.so[1] === -1 ? Math.min(startStub, endStub) : Math.max(startStub, endStub) + }[axis]; + + return { + "x": [ + [extent, otherStartStub], + [extent, otherEndStub], + [endStub, otherEndStub] + ], + "y": [ + [otherStartStub, extent], + [otherEndStub, extent], + [otherEndStub, endStub] + ] + }[axis]; + }, + opposite: function (axis, ss, oss, es) { + var pi = paintInfo, + otherAxis = {"x": "y", "y": "x"}[axis], + dim = {"x": "height", "y": "width"}[axis], + comparator = pi["is" + axis.toUpperCase() + "GreaterThanStubTimes2"]; + + if (params.sourceEndpoint.elementId === params.targetEndpoint.elementId) { + var _val = oss + ((1 - params.sourceEndpoint.anchor[otherAxis]) * params.sourceInfo[dim]) + _super.maxStub; + return { + "x": [ + [ss, _val], + [es, _val] + ], + "y": [ + [_val, ss], + [_val, es] + ] + }[axis]; + + } + else if (!comparator || (pi.so[idx] === 1 && ss > es) || (pi.so[idx] === -1 && ss < es)) { + return { + "x": [ + [ss, midy], + [es, midy] + ], + "y": [ + [midx, ss], + [midx, es] + ] + }[axis]; + } + else if ((pi.so[idx] === 1 && ss < es) || (pi.so[idx] === -1 && ss > es)) { + return { + "x": [ + [midx, pi.sy], + [midx, pi.ty] + ], + "y": [ + [pi.sx, midy], + [pi.tx, midy] + ] + }[axis]; + } + } + }; + + // compute the rest of the line + var p = lineCalculators[paintInfo.anchorOrientation](paintInfo.sourceAxis, ss, oss, es, oes); + if (p) { + for (var i = 0; i < p.length; i++) { + addSegment(segments, p[i][0], p[i][1], paintInfo); + } + } + + // line to end stub + addSegment(segments, stubs[2], stubs[3], paintInfo); + + //} + + // end stub to end (common) + addSegment(segments, paintInfo.tx, paintInfo.ty, paintInfo); + + + + // write out the segments. + writeSegments(this, segments, paintInfo); + + }; + }; + + _jp.Connectors.Flowchart = Flowchart; + _ju.extend(_jp.Connectors.Flowchart, _jp.Connectors.AbstractConnector); + +}).call(typeof window !== 'undefined' ? window : this); +/* + * This file contains the code for the Bezier connector type. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + + "use strict"; + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil; + + _jp.Connectors.AbstractBezierConnector = function(params) { + params = params || {}; + var showLoopback = params.showLoopback !== false, + curviness = params.curviness || 10, + margin = params.margin || 5, + proximityLimit = params.proximityLimit || 80, + clockwise = params.orientation && params.orientation === "clockwise", + loopbackRadius = params.loopbackRadius || 25, + isLoopbackCurrently = false, + _super; + + this._compute = function (paintInfo, p) { + + var sp = p.sourcePos, + tp = p.targetPos, + _w = Math.abs(sp[0] - tp[0]), + _h = Math.abs(sp[1] - tp[1]); + + if (!showLoopback || (p.sourceEndpoint.elementId !== p.targetEndpoint.elementId)) { + isLoopbackCurrently = false; + this._computeBezier(paintInfo, p, sp, tp, _w, _h); + } else { + isLoopbackCurrently = true; + // a loopback connector. draw an arc from one anchor to the other. + var x1 = p.sourcePos[0], y1 = p.sourcePos[1] - margin, + cx = x1, cy = y1 - loopbackRadius, + // canvas sizing stuff, to ensure the whole painted area is visible. + _x = cx - loopbackRadius, + _y = cy - loopbackRadius; + + _w = 2 * loopbackRadius; + _h = 2 * loopbackRadius; + + paintInfo.points[0] = _x; + paintInfo.points[1] = _y; + paintInfo.points[2] = _w; + paintInfo.points[3] = _h; + + // ADD AN ARC SEGMENT. + _super.addSegment(this, "Arc", { + loopback: true, + x1: (x1 - _x) + 4, + y1: y1 - _y, + startAngle: 0, + endAngle: 2 * Math.PI, + r: loopbackRadius, + ac: !clockwise, + x2: (x1 - _x) - 4, + y2: y1 - _y, + cx: cx - _x, + cy: cy - _y + }); + } + }; + + _super = _jp.Connectors.AbstractConnector.apply(this, arguments); + return _super; + }; + _ju.extend(_jp.Connectors.AbstractBezierConnector, _jp.Connectors.AbstractConnector); + + var Bezier = function (params) { + params = params || {}; + this.type = "Bezier"; + + var _super = _jp.Connectors.AbstractBezierConnector.apply(this, arguments), + majorAnchor = params.curviness || 150, + minorAnchor = 10; + + this.getCurviness = function () { + return majorAnchor; + }; + + this._findControlPoint = function (point, sourceAnchorPosition, targetAnchorPosition, sourceEndpoint, targetEndpoint, soo, too) { + // determine if the two anchors are perpendicular to each other in their orientation. we swap the control + // points around if so (code could be tightened up) + var perpendicular = soo[0] !== too[0] || soo[1] === too[1], + p = []; + + if (!perpendicular) { + if (soo[0] === 0) { + p.push(sourceAnchorPosition[0] < targetAnchorPosition[0] ? point[0] + minorAnchor : point[0] - minorAnchor); + } + else { + p.push(point[0] - (majorAnchor * soo[0])); + } + + if (soo[1] === 0) { + p.push(sourceAnchorPosition[1] < targetAnchorPosition[1] ? point[1] + minorAnchor : point[1] - minorAnchor); + } + else { + p.push(point[1] + (majorAnchor * too[1])); + } + } + else { + if (too[0] === 0) { + p.push(targetAnchorPosition[0] < sourceAnchorPosition[0] ? point[0] + minorAnchor : point[0] - minorAnchor); + } + else { + p.push(point[0] + (majorAnchor * too[0])); + } + + if (too[1] === 0) { + p.push(targetAnchorPosition[1] < sourceAnchorPosition[1] ? point[1] + minorAnchor : point[1] - minorAnchor); + } + else { + p.push(point[1] + (majorAnchor * soo[1])); + } + } + + return p; + }; + + this._computeBezier = function (paintInfo, p, sp, tp, _w, _h) { + + var _CP, _CP2, + _sx = sp[0] < tp[0] ? _w : 0, + _sy = sp[1] < tp[1] ? _h : 0, + _tx = sp[0] < tp[0] ? 0 : _w, + _ty = sp[1] < tp[1] ? 0 : _h; + + _CP = this._findControlPoint([_sx, _sy], sp, tp, p.sourceEndpoint, p.targetEndpoint, paintInfo.so, paintInfo.to); + _CP2 = this._findControlPoint([_tx, _ty], tp, sp, p.targetEndpoint, p.sourceEndpoint, paintInfo.to, paintInfo.so); + + + _super.addSegment(this, "Bezier", { + x1: _sx, y1: _sy, x2: _tx, y2: _ty, + cp1x: _CP[0], cp1y: _CP[1], cp2x: _CP2[0], cp2y: _CP2[1] + }); + }; + + + }; + + _jp.Connectors.Bezier = Bezier; + _ju.extend(Bezier, _jp.Connectors.AbstractBezierConnector); + +}).call(typeof window !== 'undefined' ? window : this); +/* + * This file contains the state machine connectors, which extend AbstractBezierConnector. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + + "use strict"; + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil; + + var _segment = function (x1, y1, x2, y2) { + if (x1 <= x2 && y2 <= y1) { + return 1; + } + else if (x1 <= x2 && y1 <= y2) { + return 2; + } + else if (x2 <= x1 && y2 >= y1) { + return 3; + } + return 4; + }, + + // the control point we will use depends on the faces to which each end of the connection is assigned, specifically whether or not the + // two faces are parallel or perpendicular. if they are parallel then the control point lies on the midpoint of the axis in which they + // are parellel and varies only in the other axis; this variation is proportional to the distance that the anchor points lie from the + // center of that face. if the two faces are perpendicular then the control point is at some distance from both the midpoints; the amount and + // direction are dependent on the orientation of the two elements. 'seg', passed in to this method, tells you which segment the target element + // lies in with respect to the source: 1 is top right, 2 is bottom right, 3 is bottom left, 4 is top left. + // + // sourcePos and targetPos are arrays of info about where on the source and target each anchor is located. their contents are: + // + // 0 - absolute x + // 1 - absolute y + // 2 - proportional x in element (0 is left edge, 1 is right edge) + // 3 - proportional y in element (0 is top edge, 1 is bottom edge) + // + _findControlPoint = function (midx, midy, segment, sourceEdge, targetEdge, dx, dy, distance, proximityLimit) { + // TODO (maybe) + // - if anchor pos is 0.5, make the control point take into account the relative position of the elements. + if (distance <= proximityLimit) { + return [midx, midy]; + } + + if (segment === 1) { + if (sourceEdge[3] <= 0 && targetEdge[3] >= 1) { + return [ midx + (sourceEdge[2] < 0.5 ? -1 * dx : dx), midy ]; + } + else if (sourceEdge[2] >= 1 && targetEdge[2] <= 0) { + return [ midx, midy + (sourceEdge[3] < 0.5 ? -1 * dy : dy) ]; + } + else { + return [ midx + (-1 * dx) , midy + (-1 * dy) ]; + } + } + else if (segment === 2) { + if (sourceEdge[3] >= 1 && targetEdge[3] <= 0) { + return [ midx + (sourceEdge[2] < 0.5 ? -1 * dx : dx), midy ]; + } + else if (sourceEdge[2] >= 1 && targetEdge[2] <= 0) { + return [ midx, midy + (sourceEdge[3] < 0.5 ? -1 * dy : dy) ]; + } + else { + return [ midx + dx, midy + (-1 * dy) ]; + } + } + else if (segment === 3) { + if (sourceEdge[3] >= 1 && targetEdge[3] <= 0) { + return [ midx + (sourceEdge[2] < 0.5 ? -1 * dx : dx), midy ]; + } + else if (sourceEdge[2] <= 0 && targetEdge[2] >= 1) { + return [ midx, midy + (sourceEdge[3] < 0.5 ? -1 * dy : dy) ]; + } + else { + return [ midx + (-1 * dx) , midy + (-1 * dy) ]; + } + } + else if (segment === 4) { + if (sourceEdge[3] <= 0 && targetEdge[3] >= 1) { + return [ midx + (sourceEdge[2] < 0.5 ? -1 * dx : dx), midy ]; + } + else if (sourceEdge[2] <= 0 && targetEdge[2] >= 1) { + return [ midx, midy + (sourceEdge[3] < 0.5 ? -1 * dy : dy) ]; + } + else { + return [ midx + dx , midy + (-1 * dy) ]; + } + } + + }; + + var StateMachine = function (params) { + params = params || {}; + this.type = "StateMachine"; + + var _super = _jp.Connectors.AbstractBezierConnector.apply(this, arguments), + curviness = params.curviness || 10, + margin = params.margin || 5, + proximityLimit = params.proximityLimit || 80, + clockwise = params.orientation && params.orientation === "clockwise", + _controlPoint; + + this._computeBezier = function(paintInfo, params, sp, tp, w, h) { + var _sx = params.sourcePos[0] < params.targetPos[0] ? 0 : w, + _sy = params.sourcePos[1] < params.targetPos[1] ? 0 : h, + _tx = params.sourcePos[0] < params.targetPos[0] ? w : 0, + _ty = params.sourcePos[1] < params.targetPos[1] ? h : 0; + + // now adjust for the margin + if (params.sourcePos[2] === 0) { + _sx -= margin; + } + if (params.sourcePos[2] === 1) { + _sx += margin; + } + if (params.sourcePos[3] === 0) { + _sy -= margin; + } + if (params.sourcePos[3] === 1) { + _sy += margin; + } + if (params.targetPos[2] === 0) { + _tx -= margin; + } + if (params.targetPos[2] === 1) { + _tx += margin; + } + if (params.targetPos[3] === 0) { + _ty -= margin; + } + if (params.targetPos[3] === 1) { + _ty += margin; + } + + // + // these connectors are quadratic bezier curves, having a single control point. if both anchors + // are located at 0.5 on their respective faces, the control point is set to the midpoint and you + // get a straight line. this is also the case if the two anchors are within 'proximityLimit', since + // it seems to make good aesthetic sense to do that. outside of that, the control point is positioned + // at 'curviness' pixels away along the normal to the straight line connecting the two anchors. + // + // there may be two improvements to this. firstly, we might actually support the notion of avoiding nodes + // in the UI, or at least making a good effort at doing so. if a connection would pass underneath some node, + // for example, we might increase the distance the control point is away from the midpoint in a bid to + // steer it around that node. this will work within limits, but i think those limits would also be the likely + // limits for, once again, aesthetic good sense in the layout of a chart using these connectors. + // + // the second possible change is actually two possible changes: firstly, it is possible we should gradually + // decrease the 'curviness' as the distance between the anchors decreases; start tailing it off to 0 at some + // point (which should be configurable). secondly, we might slightly increase the 'curviness' for connectors + // with respect to how far their anchor is from the center of its respective face. this could either look cool, + // or stupid, and may indeed work only in a way that is so subtle as to have been a waste of time. + // + + var _midx = (_sx + _tx) / 2, + _midy = (_sy + _ty) / 2, + segment = _segment(_sx, _sy, _tx, _ty), + distance = Math.sqrt(Math.pow(_tx - _sx, 2) + Math.pow(_ty - _sy, 2)), + cp1x, cp2x, cp1y, cp2y; + + + // calculate the control point. this code will be where we'll put in a rudimentary element avoidance scheme; it + // will work by extending the control point to force the curve to be, um, curvier. + _controlPoint = _findControlPoint(_midx, + _midy, + segment, + params.sourcePos, + params.targetPos, + curviness, curviness, + distance, + proximityLimit); + + cp1x = _controlPoint[0]; + cp2x = _controlPoint[0]; + cp1y = _controlPoint[1]; + cp2y = _controlPoint[1]; + + _super.addSegment(this, "Bezier", { + x1: _tx, y1: _ty, x2: _sx, y2: _sy, + cp1x: cp1x, cp1y: cp1y, + cp2x: cp2x, cp2y: cp2y + }); + }; + }; + + _jp.Connectors.StateMachine = StateMachine; + _ju.extend(StateMachine, _jp.Connectors.AbstractBezierConnector); + +}).call(typeof window !== 'undefined' ? window : this); +/* + * This file contains the 'flowchart' connectors, consisting of vertical and horizontal line segments. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + + "use strict"; + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil; + var STRAIGHT = "Straight"; + + var Straight = function (params) { + this.type = STRAIGHT; + var _super = _jp.Connectors.AbstractConnector.apply(this, arguments); + + this._compute = function (paintInfo, _) { + _super.addSegment(this, STRAIGHT, {x1: paintInfo.sx, y1: paintInfo.sy, x2: paintInfo.startStubX, y2: paintInfo.startStubY}); + _super.addSegment(this, STRAIGHT, {x1: paintInfo.startStubX, y1: paintInfo.startStubY, x2: paintInfo.endStubX, y2: paintInfo.endStubY}); + _super.addSegment(this, STRAIGHT, {x1: paintInfo.endStubX, y1: paintInfo.endStubY, x2: paintInfo.tx, y2: paintInfo.ty}); + }; + }; + + _jp.Connectors.Straight = Straight; + _ju.extend(Straight, _jp.Connectors.AbstractConnector); + +}).call(typeof window !== 'undefined' ? window : this); +/* + * This file contains the SVG renderers. + * + * Copyright (c) 2010 - 2018 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + +// ************************** SVG utility methods ******************************************** + + "use strict"; + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil; + + var svgAttributeMap = { + "stroke-linejoin": "stroke-linejoin", + "stroke-dashoffset": "stroke-dashoffset", + "stroke-linecap": "stroke-linecap" + }, + STROKE_DASHARRAY = "stroke-dasharray", + DASHSTYLE = "dashstyle", + LINEAR_GRADIENT = "linearGradient", + RADIAL_GRADIENT = "radialGradient", + DEFS = "defs", + FILL = "fill", + STOP = "stop", + STROKE = "stroke", + STROKE_WIDTH = "stroke-width", + STYLE = "style", + NONE = "none", + JSPLUMB_GRADIENT = "jsplumb_gradient_", + LINE_WIDTH = "strokeWidth", + ns = { + svg: "http://www.w3.org/2000/svg" + }, + _attr = function (node, attributes) { + for (var i in attributes) { + node.setAttribute(i, "" + attributes[i]); + } + }, + _node = function (name, attributes) { + attributes = attributes || {}; + attributes.version = "1.1"; + attributes.xmlns = ns.svg; + return _jp.createElementNS(ns.svg, name, null, null, attributes); + }, + _pos = function (d) { + return "position:absolute;left:" + d[0] + "px;top:" + d[1] + "px"; + }, + _clearGradient = function (parent) { + var els = parent.querySelectorAll(" defs,linearGradient,radialGradient"); + for (var i = 0; i < els.length; i++) { + els[i].parentNode.removeChild(els[i]); + } + }, + _updateGradient = function (parent, node, style, dimensions, uiComponent) { + var id = JSPLUMB_GRADIENT + uiComponent._jsPlumb.instance.idstamp(); + // first clear out any existing gradient + _clearGradient(parent); + // this checks for an 'offset' property in the gradient, and in the absence of it, assumes + // we want a linear gradient. if it's there, we create a radial gradient. + // it is possible that a more explicit means of defining the gradient type would be + // better. relying on 'offset' means that we can never have a radial gradient that uses + // some default offset, for instance. + // issue 244 suggested the 'gradientUnits' attribute; without this, straight/flowchart connectors with gradients would + // not show gradients when the line was perfectly horizontal or vertical. + var g; + if (!style.gradient.offset) { + g = _node(LINEAR_GRADIENT, {id: id, gradientUnits: "userSpaceOnUse"}); + } + else { + g = _node(RADIAL_GRADIENT, { id: id }); + } + + var defs = _node(DEFS); + parent.appendChild(defs); + defs.appendChild(g); + + // the svg radial gradient seems to treat stops in the reverse + // order to how canvas does it. so we want to keep all the maths the same, but + // iterate the actual style declarations in reverse order, if the x indexes are not in order. + for (var i = 0; i < style.gradient.stops.length; i++) { + var styleToUse = uiComponent.segment === 1 || uiComponent.segment === 2 ? i : style.gradient.stops.length - 1 - i, + stopColor = style.gradient.stops[styleToUse][1], + s = _node(STOP, {"offset": Math.floor(style.gradient.stops[i][0] * 100) + "%", "stop-color": stopColor}); + + g.appendChild(s); + } + var applyGradientTo = style.stroke ? STROKE : FILL; + node.setAttribute(applyGradientTo, "url(#" + id + ")"); + }, + _applyStyles = function (parent, node, style, dimensions, uiComponent) { + + node.setAttribute(FILL, style.fill ? style.fill : NONE); + node.setAttribute(STROKE, style.stroke ? style.stroke : NONE); + + if (style.gradient) { + _updateGradient(parent, node, style, dimensions, uiComponent); + } + else { + // make sure we clear any existing gradient + _clearGradient(parent); + node.setAttribute(STYLE, ""); + } + + if (style.strokeWidth) { + node.setAttribute(STROKE_WIDTH, style.strokeWidth); + } + + // in SVG there is a stroke-dasharray attribute we can set, and its syntax looks like + // the syntax in VML but is actually kind of nasty: values are given in the pixel + // coordinate space, whereas in VML they are multiples of the width of the stroked + // line, which makes a lot more sense. for that reason, jsPlumb is supporting both + // the native svg 'stroke-dasharray' attribute, and also the 'dashstyle' concept from + // VML, which will be the preferred method. the code below this converts a dashstyle + // attribute given in terms of stroke width into a pixel representation, by using the + // stroke's lineWidth. + if (style[DASHSTYLE] && style[LINE_WIDTH] && !style[STROKE_DASHARRAY]) { + var sep = style[DASHSTYLE].indexOf(",") === -1 ? " " : ",", + parts = style[DASHSTYLE].split(sep), + styleToUse = ""; + parts.forEach(function (p) { + styleToUse += (Math.floor(p * style.strokeWidth) + sep); + }); + node.setAttribute(STROKE_DASHARRAY, styleToUse); + } + else if (style[STROKE_DASHARRAY]) { + node.setAttribute(STROKE_DASHARRAY, style[STROKE_DASHARRAY]); + } + + // extra attributes such as join type, dash offset. + for (var i in svgAttributeMap) { + if (style[i]) { + node.setAttribute(svgAttributeMap[i], style[i]); + } + } + }, + _appendAtIndex = function (svg, path, idx) { + if (svg.childNodes.length > idx) { + svg.insertBefore(path, svg.childNodes[idx]); + } + else { + svg.appendChild(path); + } + }; + + /** + utility methods for other objects to use. + */ + _ju.svg = { + node: _node, + attr: _attr, + pos: _pos + }; + + // ************************** / SVG utility methods ******************************************** + + /* + * Base class for SVG components. + */ + var SvgComponent = function (params) { + var pointerEventsSpec = params.pointerEventsSpec || "all", renderer = {}; + + _jp.jsPlumbUIComponent.apply(this, params.originalArgs); + this.canvas = null; + this.path = null; + this.svg = null; + this.bgCanvas = null; + + var clazz = params.cssClass + " " + (params.originalArgs[0].cssClass || ""), + svgParams = { + "style": "", + "width": 0, + "height": 0, + "pointer-events": pointerEventsSpec, + "position": "absolute" + }; + + this.svg = _node("svg", svgParams); + + if (params.useDivWrapper) { + this.canvas = _jp.createElement("div", { position : "absolute" }); + _ju.sizeElement(this.canvas, 0, 0, 1, 1); + this.canvas.className = clazz; + } + else { + _attr(this.svg, { "class": clazz }); + this.canvas = this.svg; + } + + params._jsPlumb.appendElement(this.canvas, params.originalArgs[0].parent); + if (params.useDivWrapper) { + this.canvas.appendChild(this.svg); + } + + var displayElements = [ this.canvas ]; + this.getDisplayElements = function () { + return displayElements; + }; + + this.appendDisplayElement = function (el) { + displayElements.push(el); + }; + + this.paint = function (style, anchor, extents) { + if (style != null) { + + var xy = [ this.x, this.y ], wh = [ this.w, this.h ], p; + if (extents != null) { + if (extents.xmin < 0) { + xy[0] += extents.xmin; + } + if (extents.ymin < 0) { + xy[1] += extents.ymin; + } + wh[0] = extents.xmax + ((extents.xmin < 0) ? -extents.xmin : 0); + wh[1] = extents.ymax + ((extents.ymin < 0) ? -extents.ymin : 0); + } + + if (params.useDivWrapper) { + _ju.sizeElement(this.canvas, xy[0], xy[1], wh[0], wh[1]); + xy[0] = 0; + xy[1] = 0; + p = _pos([ 0, 0 ]); + } + else { + p = _pos([ xy[0], xy[1] ]); + } + + renderer.paint.apply(this, arguments); + + _attr(this.svg, { + "style": p, + "width": wh[0] || 0, + "height": wh[1] || 0 + }); + } + }; + + return { + renderer: renderer + }; + }; + + _ju.extend(SvgComponent, _jp.jsPlumbUIComponent, { + cleanup: function (force) { + if (force || this.typeId == null) { + if (this.canvas) { + this.canvas._jsPlumb = null; + } + if (this.svg) { + this.svg._jsPlumb = null; + } + if (this.bgCanvas) { + this.bgCanvas._jsPlumb = null; + } + + if (this.canvas && this.canvas.parentNode) { + this.canvas.parentNode.removeChild(this.canvas); + } + if (this.bgCanvas && this.bgCanvas.parentNode) { + this.canvas.parentNode.removeChild(this.canvas); + } + + this.svg = null; + this.canvas = null; + this.path = null; + this.group = null; + } + else { + // if not a forced cleanup, just detach from DOM for now. + if (this.canvas && this.canvas.parentNode) { + this.canvas.parentNode.removeChild(this.canvas); + } + if (this.bgCanvas && this.bgCanvas.parentNode) { + this.bgCanvas.parentNode.removeChild(this.bgCanvas); + } + } + }, + reattach:function(instance) { + var c = instance.getContainer(); + if (this.canvas && this.canvas.parentNode == null) { + c.appendChild(this.canvas); + } + if (this.bgCanvas && this.bgCanvas.parentNode == null) { + c.appendChild(this.bgCanvas); + } + }, + setVisible: function (v) { + if (this.canvas) { + this.canvas.style.display = v ? "block" : "none"; + } + } + }); + + /* + * Base class for SVG connectors. + */ + _jp.ConnectorRenderers.svg = function (params) { + var self = this, + _super = SvgComponent.apply(this, [ + { + cssClass: params._jsPlumb.connectorClass, + originalArgs: arguments, + pointerEventsSpec: "none", + _jsPlumb: params._jsPlumb + } + ]); + + _super.renderer.paint = function (style, anchor, extents) { + + var segments = self.getSegments(), p = "", offset = [0, 0]; + if (extents.xmin < 0) { + offset[0] = -extents.xmin; + } + if (extents.ymin < 0) { + offset[1] = -extents.ymin; + } + + if (segments.length > 0) { + + p = self.getPathData(); + + var a = { + d: p, + transform: "translate(" + offset[0] + "," + offset[1] + ")", + "pointer-events": params["pointer-events"] || "visibleStroke" + }, + outlineStyle = null, + d = [self.x, self.y, self.w, self.h]; + + // outline style. actually means drawing an svg object underneath the main one. + if (style.outlineStroke) { + var outlineWidth = style.outlineWidth || 1, + outlineStrokeWidth = style.strokeWidth + (2 * outlineWidth); + outlineStyle = _jp.extend({}, style); + delete outlineStyle.gradient; + outlineStyle.stroke = style.outlineStroke; + outlineStyle.strokeWidth = outlineStrokeWidth; + + if (self.bgPath == null) { + self.bgPath = _node("path", a); + _jp.addClass(self.bgPath, _jp.connectorOutlineClass); + _appendAtIndex(self.svg, self.bgPath, 0); + } + else { + _attr(self.bgPath, a); + } + + _applyStyles(self.svg, self.bgPath, outlineStyle, d, self); + } + + if (self.path == null) { + self.path = _node("path", a); + _appendAtIndex(self.svg, self.path, style.outlineStroke ? 1 : 0); + } + else { + _attr(self.path, a); + } + + _applyStyles(self.svg, self.path, style, d, self); + } + }; + }; + _ju.extend(_jp.ConnectorRenderers.svg, SvgComponent); + +// ******************************* svg segment renderer ***************************************************** + + +// ******************************* /svg segments ***************************************************** + + /* + * Base class for SVG endpoints. + */ + var SvgEndpoint = _jp.SvgEndpoint = function (params) { + var _super = SvgComponent.apply(this, [ + { + cssClass: params._jsPlumb.endpointClass, + originalArgs: arguments, + pointerEventsSpec: "all", + useDivWrapper: true, + _jsPlumb: params._jsPlumb + } + ]); + + _super.renderer.paint = function (style) { + var s = _jp.extend({}, style); + if (s.outlineStroke) { + s.stroke = s.outlineStroke; + } + + if (this.node == null) { + this.node = this.makeNode(s); + this.svg.appendChild(this.node); + } + else if (this.updateNode != null) { + this.updateNode(this.node); + } + _applyStyles(this.svg, this.node, s, [ this.x, this.y, this.w, this.h ], this); + _pos(this.node, [ this.x, this.y ]); + }.bind(this); + + }; + _ju.extend(SvgEndpoint, SvgComponent); + + /* + * SVG Dot Endpoint + */ + _jp.Endpoints.svg.Dot = function () { + _jp.Endpoints.Dot.apply(this, arguments); + SvgEndpoint.apply(this, arguments); + this.makeNode = function (style) { + return _node("circle", { + "cx": this.w / 2, + "cy": this.h / 2, + "r": this.radius + }); + }; + this.updateNode = function (node) { + _attr(node, { + "cx": this.w / 2, + "cy": this.h / 2, + "r": this.radius + }); + }; + }; + _ju.extend(_jp.Endpoints.svg.Dot, [_jp.Endpoints.Dot, SvgEndpoint]); + + /* + * SVG Rectangle Endpoint + */ + _jp.Endpoints.svg.Rectangle = function () { + _jp.Endpoints.Rectangle.apply(this, arguments); + SvgEndpoint.apply(this, arguments); + this.makeNode = function (style) { + return _node("rect", { + "width": this.w, + "height": this.h + }); + }; + this.updateNode = function (node) { + _attr(node, { + "width": this.w, + "height": this.h + }); + }; + }; + _ju.extend(_jp.Endpoints.svg.Rectangle, [_jp.Endpoints.Rectangle, SvgEndpoint]); + + /* + * SVG Image Endpoint is the default image endpoint. + */ + _jp.Endpoints.svg.Image = _jp.Endpoints.Image; + /* + * Blank endpoint in svg renderer is the default Blank endpoint. + */ + _jp.Endpoints.svg.Blank = _jp.Endpoints.Blank; + /* + * Label overlay in svg renderer is the default Label overlay. + */ + _jp.Overlays.svg.Label = _jp.Overlays.Label; + /* + * Custom overlay in svg renderer is the default Custom overlay. + */ + _jp.Overlays.svg.Custom = _jp.Overlays.Custom; + + var AbstractSvgArrowOverlay = function (superclass, originalArgs) { + superclass.apply(this, originalArgs); + _jp.jsPlumbUIComponent.apply(this, originalArgs); + this.isAppendedAtTopLevel = false; + var self = this; + this.path = null; + this.paint = function (params, containerExtents) { + // only draws on connections, not endpoints. + if (params.component.svg && containerExtents) { + if (this.path == null) { + this.path = _node("path", { + "pointer-events": "all" + }); + params.component.svg.appendChild(this.path); + if (this.elementCreated) { + this.elementCreated(this.path, params.component); + } + + this.canvas = params.component.svg; // for the sake of completeness; this behaves the same as other overlays + } + var clazz = originalArgs && (originalArgs.length === 1) ? (originalArgs[0].cssClass || "") : "", + offset = [0, 0]; + + if (containerExtents.xmin < 0) { + offset[0] = -containerExtents.xmin; + } + if (containerExtents.ymin < 0) { + offset[1] = -containerExtents.ymin; + } + + _attr(this.path, { + "d": makePath(params.d), + "class": clazz, + stroke: params.stroke ? params.stroke : null, + fill: params.fill ? params.fill : null, + transform: "translate(" + offset[0] + "," + offset[1] + ")" + }); + } + }; + var makePath = function (d) { + return (isNaN(d.cxy.x) || isNaN(d.cxy.y)) ? "" : "M" + d.hxy.x + "," + d.hxy.y + + " L" + d.tail[0].x + "," + d.tail[0].y + + " L" + d.cxy.x + "," + d.cxy.y + + " L" + d.tail[1].x + "," + d.tail[1].y + + " L" + d.hxy.x + "," + d.hxy.y; + }; + this.transfer = function(target) { + if (target.canvas && this.path && this.path.parentNode) { + this.path.parentNode.removeChild(this.path); + target.canvas.appendChild(this.path); + } + }; + }; + + var svgProtoFunctions = { + cleanup : function (force) { + if (this.path != null) { + if (force) { + this._jsPlumb.instance.removeElement(this.path); + } + else { + if (this.path.parentNode) { + this.path.parentNode.removeChild(this.path); + } + } + } + }, reattach :function(instance, component) { + if (this.path && component.canvas) { + component.canvas.appendChild(this.path); + } + }, + setVisible : function (v) { + if (this.path != null) { + (this.path.style.display = (v ? "block" : "none")); + } + } + }; + + _ju.extend(AbstractSvgArrowOverlay, [_jp.jsPlumbUIComponent, _jp.Overlays.AbstractOverlay]); + + _jp.Overlays.svg.Arrow = function () { + AbstractSvgArrowOverlay.apply(this, [_jp.Overlays.Arrow, arguments]); + }; + _ju.extend(_jp.Overlays.svg.Arrow, [ _jp.Overlays.Arrow, AbstractSvgArrowOverlay ], svgProtoFunctions); + + _jp.Overlays.svg.PlainArrow = function () { + AbstractSvgArrowOverlay.apply(this, [_jp.Overlays.PlainArrow, arguments]); + }; + _ju.extend(_jp.Overlays.svg.PlainArrow, [ _jp.Overlays.PlainArrow, AbstractSvgArrowOverlay ], svgProtoFunctions); + + _jp.Overlays.svg.Diamond = function () { + AbstractSvgArrowOverlay.apply(this, [_jp.Overlays.Diamond, arguments]); + }; + _ju.extend(_jp.Overlays.svg.Diamond, [ _jp.Overlays.Diamond, AbstractSvgArrowOverlay ], svgProtoFunctions); + + // a test + _jp.Overlays.svg.GuideLines = function () { + var path = null, self = this, p1_1, p1_2; + _jp.Overlays.GuideLines.apply(this, arguments); + this.paint = function (params, containerExtents) { + if (path == null) { + path = _node("path"); + params.connector.svg.appendChild(path); + self.attachListeners(path, params.connector); + self.attachListeners(path, self); + + p1_1 = _node("path"); + params.connector.svg.appendChild(p1_1); + self.attachListeners(p1_1, params.connector); + self.attachListeners(p1_1, self); + + p1_2 = _node("path"); + params.connector.svg.appendChild(p1_2); + self.attachListeners(p1_2, params.connector); + self.attachListeners(p1_2, self); + } + + var offset = [0, 0]; + if (containerExtents.xmin < 0) { + offset[0] = -containerExtents.xmin; + } + if (containerExtents.ymin < 0) { + offset[1] = -containerExtents.ymin; + } + + _attr(path, { + "d": makePath(params.head, params.tail), + stroke: "red", + fill: null, + transform: "translate(" + offset[0] + "," + offset[1] + ")" + }); + + _attr(p1_1, { + "d": makePath(params.tailLine[0], params.tailLine[1]), + stroke: "blue", + fill: null, + transform: "translate(" + offset[0] + "," + offset[1] + ")" + }); + + _attr(p1_2, { + "d": makePath(params.headLine[0], params.headLine[1]), + stroke: "green", + fill: null, + transform: "translate(" + offset[0] + "," + offset[1] + ")" + }); + }; + + var makePath = function (d1, d2) { + return "M " + d1.x + "," + d1.y + + " L" + d2.x + "," + d2.y; + }; + }; + _ju.extend(_jp.Overlays.svg.GuideLines, _jp.Overlays.GuideLines); +}).call(typeof window !== 'undefined' ? window : this); + +/* + * This file contains code used when jsPlumb is being rendered in a DOM. + * + * Copyright (c) 2010 - 2019 jsPlumb (hello@jsplumbtoolkit.com) + * + * https://jsplumbtoolkit.com + * https://github.com/jsplumb/jsplumb + * + * Dual licensed under the MIT and GPL2 licenses. + */ +; +(function () { + + "use strict"; + + var root = this, _jp = root.jsPlumb, _ju = root.jsPlumbUtil, + _jk = root.Katavorio, _jg = root.Biltong; + + var _getEventManager = function(instance) { + var e = instance._mottle; + if (!e) { + e = instance._mottle = new root.Mottle(); + } + return e; + }; + + var _getDragManager = function (instance, category) { + + category = category || "main"; + var key = "_katavorio_" + category; + var k = instance[key], + e = instance.getEventManager(); + + if (!k) { + k = new _jk({ + bind: e.on, + unbind: e.off, + getSize: _jp.getSize, + getConstrainingRectangle:function(el) { + return [ el.parentNode.scrollWidth, el.parentNode.scrollHeight ]; + }, + getPosition: function (el, relativeToRoot) { + // if this is a nested draggable then compute the offset against its own offsetParent, otherwise + // compute against the Container's origin. see also the getUIPosition method below. + var o = instance.getOffset(el, relativeToRoot, el._katavorioDrag ? el.offsetParent : null); + return [o.left, o.top]; + }, + setPosition: function (el, xy) { + el.style.left = xy[0] + "px"; + el.style.top = xy[1] + "px"; + }, + addClass: _jp.addClass, + removeClass: _jp.removeClass, + intersects: _jg.intersects, + indexOf: function(l, i) { return l.indexOf(i); }, + scope:instance.getDefaultScope(), + css: { + noSelect: instance.dragSelectClass, + droppable: "jtk-droppable", + draggable: "jtk-draggable", + drag: "jtk-drag", + selected: "jtk-drag-selected", + active: "jtk-drag-active", + hover: "jtk-drag-hover", + ghostProxy:"jtk-ghost-proxy" + } + }); + k.setZoom(instance.getZoom()); + instance[key] = k; + instance.bind("zoom", k.setZoom); + } + return k; + }; + + var _dragStart=function(params) { + var options = params.el._jsPlumbDragOptions; + var cont = true; + if (options.canDrag) { + cont = options.canDrag(); + } + if (cont) { + this.setHoverSuspended(true); + this.select({source: params.el}).addClass(this.elementDraggingClass + " " + this.sourceElementDraggingClass, true); + this.select({target: params.el}).addClass(this.elementDraggingClass + " " + this.targetElementDraggingClass, true); + this.setConnectionBeingDragged(true); + } + return cont; + }; + var _dragMove=function(params) { + var ui = this.getUIPosition(arguments, this.getZoom()); + if (ui != null) { + var o = params.el._jsPlumbDragOptions; + this.draw(params.el, ui, null, true); + if (o._dragging) { + this.addClass(params.el, "jtk-dragged"); + } + o._dragging = true; + } + }; + var _dragStop=function(params) { + var elements = params.selection, uip; + + var _one = function (_e) { + if (_e[1] != null) { + // run the reported offset through the code that takes parent containers + // into account, to adjust if necessary (issue 554) + uip = this.getUIPosition([{ + el:_e[2].el, + pos:[_e[1].left, _e[1].top] + }]); + this.draw(_e[2].el, uip); + } + + if (_e[0]._jsPlumbDragOptions != null) { + delete _e[0]._jsPlumbDragOptions._dragging; + } + + this.removeClass(_e[0], "jtk-dragged"); + this.select({source: _e[2].el}).removeClass(this.elementDraggingClass + " " + this.sourceElementDraggingClass, true); + this.select({target: _e[2].el}).removeClass(this.elementDraggingClass + " " + this.targetElementDraggingClass, true); + this.getDragManager().dragEnded(_e[2].el); + }.bind(this); + + for (var i = 0; i < elements.length; i++) { + _one(elements[i]); + } + + this.setHoverSuspended(false); + this.setConnectionBeingDragged(false); + }; + + var _animProps = function (o, p) { + var _one = function (pName) { + if (p[pName] != null) { + if (_ju.isString(p[pName])) { + var m = p[pName].match(/-=/) ? -1 : 1, + v = p[pName].substring(2); + return o[pName] + (m * v); + } + else { + return p[pName]; + } + } + else { + return o[pName]; + } + }; + return [ _one("left"), _one("top") ]; + }; + + var _genLoc = function (prefix, e) { + if (e == null) { + return [ 0, 0 ]; + } + var ts = _touches(e), t = _getTouch(ts, 0); + return [t[prefix + "X"], t[prefix + "Y"]]; + }, + _pageLocation = _genLoc.bind(this, "page"), + _screenLocation = _genLoc.bind(this, "screen"), + _clientLocation = _genLoc.bind(this, "client"), + _getTouch = function (touches, idx) { + return touches.item ? touches.item(idx) : touches[idx]; + }, + _touches = function (e) { + return e.touches && e.touches.length > 0 ? e.touches : + e.changedTouches && e.changedTouches.length > 0 ? e.changedTouches : + e.targetTouches && e.targetTouches.length > 0 ? e.targetTouches : + [ e ]; + }; + + /** + Manages dragging for some instance of jsPlumb. + + TODO instead of this being accessed directly, it should subscribe to events on the jsPlumb instance: every method + in here is called directly by jsPlumb. But what should happen is that we have unpublished events that this listens + to. The only trick is getting one of these instantiated with every jsPlumb instance: it needs to have a hook somehow. + Basically the general idea is to pull ALL the drag code out (prototype method registrations plus this) into a + dedicated drag script), that does not necessarily need to be included. + + + */ + var DragManager = function (_currentInstance) { + var _draggables = {}, _dlist = [], _delements = {}, _elementsWithEndpoints = {}, + // elementids mapped to the draggable to which they belong. + _draggablesForElements = {}; + + /** + register some element as draggable. right now the drag init stuff is done elsewhere, and it is + possible that will continue to be the case. + */ + this.register = function (el) { + var id = _currentInstance.getId(el), + parentOffset; + + if (!_draggables[id]) { + _draggables[id] = el; + _dlist.push(el); + _delements[id] = {}; + } + + // look for child elements that have endpoints and register them against this draggable. + var _oneLevel = function (p) { + if (p) { + for (var i = 0; i < p.childNodes.length; i++) { + if (p.childNodes[i].nodeType !== 3 && p.childNodes[i].nodeType !== 8) { + var cEl = jsPlumb.getElement(p.childNodes[i]), + cid = _currentInstance.getId(p.childNodes[i], null, true); + if (cid && _elementsWithEndpoints[cid] && _elementsWithEndpoints[cid] > 0) { + if (!parentOffset) { + parentOffset = _currentInstance.getOffset(el); + } + var cOff = _currentInstance.getOffset(cEl); + _delements[id][cid] = { + id: cid, + offset: { + left: cOff.left - parentOffset.left, + top: cOff.top - parentOffset.top + } + }; + _draggablesForElements[cid] = id; + } + _oneLevel(p.childNodes[i]); + } + } + } + }; + + _oneLevel(el); + }; + + // refresh the offsets for child elements of this element. + this.updateOffsets = function (elId, childOffsetOverrides) { + if (elId != null) { + childOffsetOverrides = childOffsetOverrides || {}; + var domEl = jsPlumb.getElement(elId), + id = _currentInstance.getId(domEl), + children = _delements[id], + parentOffset; + + if (children) { + for (var i in children) { + if (children.hasOwnProperty(i)) { + var cel = jsPlumb.getElement(i), + cOff = childOffsetOverrides[i] || _currentInstance.getOffset(cel); + + // do not update if we have a value already and we'd just be writing 0,0 + if (cel.offsetParent == null && _delements[id][i] != null) { + continue; + } + + if (!parentOffset) { + parentOffset = _currentInstance.getOffset(domEl); + } + + _delements[id][i] = { + id: i, + offset: { + left: cOff.left - parentOffset.left, + top: cOff.top - parentOffset.top + } + }; + _draggablesForElements[i] = id; + } + } + } + } + }; + + /** + notification that an endpoint was added to the given el. we go up from that el's parent + node, looking for a parent that has been registered as a draggable. if we find one, we add this + el to that parent's list of elements to update on drag (if it is not there already) + */ + this.endpointAdded = function (el, id) { + + id = id || _currentInstance.getId(el); + + var b = document.body, + p = el.parentNode; + + _elementsWithEndpoints[id] = _elementsWithEndpoints[id] ? _elementsWithEndpoints[id] + 1 : 1; + + while (p != null && p !== b) { + var pid = _currentInstance.getId(p, null, true); + if (pid && _draggables[pid]) { + var pLoc = _currentInstance.getOffset(p); + + if (_delements[pid][id] == null) { + var cLoc = _currentInstance.getOffset(el); + _delements[pid][id] = { + id: id, + offset: { + left: cLoc.left - pLoc.left, + top: cLoc.top - pLoc.top + } + }; + _draggablesForElements[id] = pid; + } + break; + } + p = p.parentNode; + } + }; + + this.endpointDeleted = function (endpoint) { + if (_elementsWithEndpoints[endpoint.elementId]) { + _elementsWithEndpoints[endpoint.elementId]--; + if (_elementsWithEndpoints[endpoint.elementId] <= 0) { + for (var i in _delements) { + if (_delements.hasOwnProperty(i) && _delements[i]) { + delete _delements[i][endpoint.elementId]; + delete _draggablesForElements[endpoint.elementId]; + } + } + } + } + }; + + this.changeId = function (oldId, newId) { + _delements[newId] = _delements[oldId]; + _delements[oldId] = {}; + _draggablesForElements[newId] = _draggablesForElements[oldId]; + _draggablesForElements[oldId] = null; + }; + + this.getElementsForDraggable = function (id) { + return _delements[id]; + }; + + this.elementRemoved = function (elementId) { + var elId = _draggablesForElements[elementId]; + if (elId) { + delete _delements[elId][elementId]; + delete _draggablesForElements[elementId]; + } + }; + + this.reset = function () { + _draggables = {}; + _dlist = []; + _delements = {}; + _elementsWithEndpoints = {}; + }; + + // + // notification drag ended. We check automatically if need to update some + // ancestor's offsets. + // + this.dragEnded = function (el) { + if (el.offsetParent != null) { + var id = _currentInstance.getId(el), + ancestor = _draggablesForElements[id]; + + if (ancestor) { + this.updateOffsets(ancestor); + } + } + }; + + this.setParent = function (el, elId, p, pId, currentChildLocation) { + var current = _draggablesForElements[elId]; + if (!_delements[pId]) { + _delements[pId] = {}; + } + var pLoc = _currentInstance.getOffset(p), + cLoc = currentChildLocation || _currentInstance.getOffset(el); + + if (current && _delements[current]) { + delete _delements[current][elId]; + } + + _delements[pId][elId] = { + id:elId, + offset : { + left: cLoc.left - pLoc.left, + top: cLoc.top - pLoc.top + } + }; + _draggablesForElements[elId] = pId; + }; + + this.clearParent = function(el, elId) { + var current = _draggablesForElements[elId]; + if (current) { + delete _delements[current][elId]; + delete _draggablesForElements[elId]; + } + }; + + this.revalidateParent = function(el, elId, childOffset) { + var current = _draggablesForElements[elId]; + if (current) { + var co = {}; + co[elId] = childOffset; + this.updateOffsets(current, co); + _currentInstance.revalidate(current); + } + }; + + this.getDragAncestor = function (el) { + var de = jsPlumb.getElement(el), + id = _currentInstance.getId(de), + aid = _draggablesForElements[id]; + + if (aid) { + return jsPlumb.getElement(aid); + } + else { + return null; + } + }; + + }; + + var _setClassName = function (el, cn, classList) { + cn = _ju.fastTrim(cn); + if (typeof el.className.baseVal !== "undefined") { + el.className.baseVal = cn; + } + else { + el.className = cn; + } + + // recent (i currently have 61.0.3163.100) version of chrome do not update classList when you set the base val + // of an svg element's className. in the long run we'd like to move to just using classList anyway + try { + var cl = el.classList; + if (cl != null) { + while (cl.length > 0) { + cl.remove(cl.item(0)); + } + for (var i = 0; i < classList.length; i++) { + if (classList[i]) { + cl.add(classList[i]); + } + } + } + } + catch(e) { + // not fatal + _ju.log("JSPLUMB: cannot set class list", e); + } + }, + _getClassName = function (el) { + return (typeof el.className.baseVal === "undefined") ? el.className : el.className.baseVal; + }, + _classManip = function (el, classesToAdd, classesToRemove) { + classesToAdd = classesToAdd == null ? [] : _ju.isArray(classesToAdd) ? classesToAdd : classesToAdd.split(/\s+/); + classesToRemove = classesToRemove == null ? [] : _ju.isArray(classesToRemove) ? classesToRemove : classesToRemove.split(/\s+/); + + var className = _getClassName(el), + curClasses = className.split(/\s+/); + + var _oneSet = function (add, classes) { + for (var i = 0; i < classes.length; i++) { + if (add) { + if (curClasses.indexOf(classes[i]) === -1) { + curClasses.push(classes[i]); + } + } + else { + var idx = curClasses.indexOf(classes[i]); + if (idx !== -1) { + curClasses.splice(idx, 1); + } + } + } + }; + + _oneSet(true, classesToAdd); + _oneSet(false, classesToRemove); + + _setClassName(el, curClasses.join(" "), curClasses); + }; + + root.jsPlumb.extend(root.jsPlumbInstance.prototype, { + + headless: false, + + pageLocation: _pageLocation, + screenLocation: _screenLocation, + clientLocation: _clientLocation, + + getDragManager:function() { + if (this.dragManager == null) { + this.dragManager = new DragManager(this); + } + + return this.dragManager; + }, + + recalculateOffsets:function(elId) { + this.getDragManager().updateOffsets(elId); + }, + + createElement:function(tag, style, clazz, atts) { + return this.createElementNS(null, tag, style, clazz, atts); + }, + + createElementNS:function(ns, tag, style, clazz, atts) { + var e = ns == null ? document.createElement(tag) : document.createElementNS(ns, tag); + var i; + style = style || {}; + for (i in style) { + e.style[i] = style[i]; + } + + if (clazz) { + e.className = clazz; + } + + atts = atts || {}; + for (i in atts) { + e.setAttribute(i, "" + atts[i]); + } + + return e; + }, + + getAttribute: function (el, attName) { + return el.getAttribute != null ? el.getAttribute(attName) : null; + }, + + setAttribute: function (el, a, v) { + if (el.setAttribute != null) { + el.setAttribute(a, v); + } + }, + + setAttributes: function (el, atts) { + for (var i in atts) { + if (atts.hasOwnProperty(i)) { + el.setAttribute(i, atts[i]); + } + } + }, + appendToRoot: function (node) { + document.body.appendChild(node); + }, + getRenderModes: function () { + return [ "svg" ]; + }, + getClass:_getClassName, + addClass: function (el, clazz) { + jsPlumb.each(el, function (e) { + _classManip(e, clazz); + }); + }, + hasClass: function (el, clazz) { + el = jsPlumb.getElement(el); + if (el.classList) { + return el.classList.contains(clazz); + } + else { + return _getClassName(el).indexOf(clazz) !== -1; + } + }, + removeClass: function (el, clazz) { + jsPlumb.each(el, function (e) { + _classManip(e, null, clazz); + }); + }, + toggleClass:function(el, clazz) { + if (jsPlumb.hasClass(el, clazz)) { + jsPlumb.removeClass(el, clazz); + } else { + jsPlumb.addClass(el, clazz); + } + }, + updateClasses: function (el, toAdd, toRemove) { + jsPlumb.each(el, function (e) { + _classManip(e, toAdd, toRemove); + }); + }, + setClass: function (el, clazz) { + if (clazz != null) { + jsPlumb.each(el, function (e) { + _setClassName(e, clazz, clazz.split(/\s+/)); + }); + } + }, + setPosition: function (el, p) { + el.style.left = p.left + "px"; + el.style.top = p.top + "px"; + }, + getPosition: function (el) { + var _one = function (prop) { + var v = el.style[prop]; + return v ? v.substring(0, v.length - 2) : 0; + }; + return { + left: _one("left"), + top: _one("top") + }; + }, + getStyle:function(el, prop) { + if (typeof window.getComputedStyle !== 'undefined') { + return getComputedStyle(el, null).getPropertyValue(prop); + } else { + return el.currentStyle[prop]; + } + }, + getSelector: function (ctx, spec) { + var sel = null; + if (arguments.length === 1) { + sel = ctx.nodeType != null ? ctx : document.querySelectorAll(ctx); + } + else { + sel = ctx.querySelectorAll(spec); + } + + return sel; + }, + getOffset:function(el, relativeToRoot, container) { + el = jsPlumb.getElement(el); + container = container || this.getContainer(); + var out = { + left: el.offsetLeft, + top: el.offsetTop + }, + op = (relativeToRoot || (container != null && (el !== container && el.offsetParent !== container))) ? el.offsetParent : null, + _maybeAdjustScroll = function(offsetParent) { + if (offsetParent != null && offsetParent !== document.body && (offsetParent.scrollTop > 0 || offsetParent.scrollLeft > 0)) { + out.left -= offsetParent.scrollLeft; + out.top -= offsetParent.scrollTop; + } + }.bind(this); + + while (op != null) { + out.left += op.offsetLeft; + out.top += op.offsetTop; + _maybeAdjustScroll(op); + op = relativeToRoot ? op.offsetParent : + op.offsetParent === container ? null : op.offsetParent; + } + + // if container is scrolled and the element (or its offset parent) is not absolute or fixed, adjust accordingly. + if (container != null && !relativeToRoot && (container.scrollTop > 0 || container.scrollLeft > 0)) { + var pp = el.offsetParent != null ? this.getStyle(el.offsetParent, "position") : "static", + p = this.getStyle(el, "position"); + if (p !== "absolute" && p !== "fixed" && pp !== "absolute" && pp !== "fixed") { + out.left -= container.scrollLeft; + out.top -= container.scrollTop; + } + } + return out; + }, + // + // return x+y proportion of the given element's size corresponding to the location of the given event. + // + getPositionOnElement: function (evt, el, zoom) { + var box = typeof el.getBoundingClientRect !== "undefined" ? el.getBoundingClientRect() : { left: 0, top: 0, width: 0, height: 0 }, + body = document.body, + docElem = document.documentElement, + scrollTop = window.pageYOffset || docElem.scrollTop || body.scrollTop, + scrollLeft = window.pageXOffset || docElem.scrollLeft || body.scrollLeft, + clientTop = docElem.clientTop || body.clientTop || 0, + clientLeft = docElem.clientLeft || body.clientLeft || 0, + pst = 0, + psl = 0, + top = box.top + scrollTop - clientTop + (pst * zoom), + left = box.left + scrollLeft - clientLeft + (psl * zoom), + cl = jsPlumb.pageLocation(evt), + w = box.width || (el.offsetWidth * zoom), + h = box.height || (el.offsetHeight * zoom), + x = (cl[0] - left) / w, + y = (cl[1] - top) / h; + + return [ x, y ]; + }, + + /** + * Gets the absolute position of some element as read from the left/top properties in its style. + * @method getAbsolutePosition + * @param {Element} el The element to retrieve the absolute coordinates from. **Note** this is a DOM element, not a selector from the underlying library. + * @return {Number[]} [left, top] pixel values. + */ + getAbsolutePosition: function (el) { + var _one = function (s) { + var ss = el.style[s]; + if (ss) { + return parseFloat(ss.substring(0, ss.length - 2)); + } + }; + return [ _one("left"), _one("top") ]; + }, + + /** + * Sets the absolute position of some element by setting the left/top properties in its style. + * @method setAbsolutePosition + * @param {Element} el The element to set the absolute coordinates on. **Note** this is a DOM element, not a selector from the underlying library. + * @param {Number[]} xy x and y coordinates + * @param {Number[]} [animateFrom] Optional previous xy to animate from. + * @param {Object} [animateOptions] Options for the animation. + */ + setAbsolutePosition: function (el, xy, animateFrom, animateOptions) { + if (animateFrom) { + this.animate(el, { + left: "+=" + (xy[0] - animateFrom[0]), + top: "+=" + (xy[1] - animateFrom[1]) + }, animateOptions); + } + else { + el.style.left = xy[0] + "px"; + el.style.top = xy[1] + "px"; + } + }, + /** + * gets the size for the element, in an array : [ width, height ]. + */ + getSize: function (el) { + return [ el.offsetWidth, el.offsetHeight ]; + }, + getWidth: function (el) { + return el.offsetWidth; + }, + getHeight: function (el) { + return el.offsetHeight; + }, + getRenderMode : function() { return "svg"; }, + draggable : function (el, options) { + var info; + el = _ju.isArray(el) || (el.length != null && !_ju.isString(el)) ? el: [ el ]; + Array.prototype.slice.call(el).forEach(function(_el) { + info = this.info(_el); + if (info.el) { + this._initDraggableIfNecessary(info.el, true, options, info.id, true); + } + }.bind(this)); + return this; + }, + snapToGrid : function(el, x, y) { + var out = []; + var _oneEl = function(_el) { + var info = this.info(_el); + if (info.el != null && info.el._katavorioDrag) { + var snapped = info.el._katavorioDrag.snap(x, y); + this.revalidate(info.el); + out.push([info.el, snapped]); + } + }.bind(this); + + // if you call this method with 0 arguments or 2 arguments it is assumed you want to snap all managed elements to + // a grid. if you supply one argument or 3, then you are assumed to be specifying one element. + if(arguments.length === 1 || arguments.length === 3) { + _oneEl(el, x, y); + } else { + var _me = this.getManagedElements(); + for (var mel in _me) { + _oneEl(mel, arguments[0], arguments[1]); + } + } + + return out; + }, + initDraggable: function (el, options, category) { + _getDragManager(this, category).draggable(el, options); + el._jsPlumbDragOptions = options; + }, + destroyDraggable: function (el, category) { + _getDragManager(this, category).destroyDraggable(el); + delete el._jsPlumbDragOptions; + }, + unbindDraggable: function (el, evt, fn, category) { + _getDragManager(this, category).destroyDraggable(el, evt, fn); + }, + setDraggable : function (element, draggable) { + return jsPlumb.each(element, function (el) { + if (this.isDragSupported(el)) { + this._draggableStates[this.getAttribute(el, "id")] = draggable; + this.setElementDraggable(el, draggable); + } + }.bind(this)); + }, + _draggableStates : {}, + /* + * toggles the draggable state of the given element(s). + * el is either an id, or an element object, or a list of ids/element objects. + */ + toggleDraggable : function (el) { + var state; + jsPlumb.each(el, function (el) { + var elId = this.getAttribute(el, "id"); + state = this._draggableStates[elId] == null ? false : this._draggableStates[elId]; + state = !state; + this._draggableStates[elId] = state; + this.setDraggable(el, state); + return state; + }.bind(this)); + return state; + }, + _initDraggableIfNecessary : function (element, isDraggable, dragOptions, id, fireEvent) { + // TODO FIRST: move to DragManager. including as much of the decision to init dragging as possible. + if (!jsPlumb.headless) { + var _draggable = isDraggable == null ? false : isDraggable; + if (_draggable) { + if (jsPlumb.isDragSupported(element, this)) { + var options = dragOptions || this.Defaults.DragOptions; + options = jsPlumb.extend({}, options); // make a copy. + if (!jsPlumb.isAlreadyDraggable(element, this)) { + var dragEvent = jsPlumb.dragEvents.drag, + stopEvent = jsPlumb.dragEvents.stop, + startEvent = jsPlumb.dragEvents.start; + + this.manage(id, element); + + options[startEvent] = _ju.wrap(options[startEvent], _dragStart.bind(this)); + + options[dragEvent] = _ju.wrap(options[dragEvent], _dragMove.bind(this)); + + options[stopEvent] = _ju.wrap(options[stopEvent], _dragStop.bind(this)); + + var elId = this.getId(element); // need ID + + this._draggableStates[elId] = true; + var draggable = this._draggableStates[elId]; + + options.disabled = draggable == null ? false : !draggable; + this.initDraggable(element, options); + this.getDragManager().register(element); + if (fireEvent) { + this.fire("elementDraggable", {el:element, options:options}); + } + } + else { + // already draggable. attach any start, drag or stop listeners to the current Drag. + if (dragOptions.force) { + this.initDraggable(element, options); + } + } + } + } + } + }, + animationSupported:true, + getElement: function (el) { + if (el == null) { + return null; + } + // here we pluck the first entry if el was a list of entries. + // this is not my favourite thing to do, but previous versions of + // jsplumb supported jquery selectors, and it is possible a selector + // will be passed in here. + el = typeof el === "string" ? el : el.length != null && el.enctype == null ? el[0] : el; + return typeof el === "string" ? document.getElementById(el) : el; + }, + removeElement: function (element) { + _getDragManager(this).elementRemoved(element); + this.getEventManager().remove(element); + }, + // + // this adapter supports a rudimentary animation function. no easing is supported. only + // left/top properties are supported. property delta args are expected to be in the form + // + // +=x.xxxx + // + // or + // + // -=x.xxxx + // + doAnimate: function (el, properties, options) { + options = options || {}; + var o = this.getOffset(el), + ap = _animProps(o, properties), + ldist = ap[0] - o.left, + tdist = ap[1] - o.top, + d = options.duration || 250, + step = 15, steps = d / step, + linc = (step / d) * ldist, + tinc = (step / d) * tdist, + idx = 0, + _int = setInterval(function () { + _jp.setPosition(el, { + left: o.left + (linc * (idx + 1)), + top: o.top + (tinc * (idx + 1)) + }); + if (options.step != null) { + options.step(idx, Math.ceil(steps)); + } + idx++; + if (idx >= steps) { + window.clearInterval(_int); + if (options.complete != null) { + options.complete(); + } + } + }, step); + }, + // DRAG/DROP + + + destroyDroppable: function (el, category) { + _getDragManager(this, category).destroyDroppable(el); + }, + unbindDroppable: function (el, evt, fn, category) { + _getDragManager(this, category).destroyDroppable(el, evt, fn); + }, + + droppable :function(el, options) { + el = _ju.isArray(el) || (el.length != null && !_ju.isString(el)) ? el: [ el ]; + var info; + options = options || {}; + options.allowLoopback = false; + Array.prototype.slice.call(el).forEach(function(_el) { + info = this.info(_el); + if (info.el) { + this.initDroppable(info.el, options); + } + }.bind(this)); + return this; + }, + + initDroppable: function (el, options, category) { + _getDragManager(this, category).droppable(el, options); + }, + isAlreadyDraggable: function (el) { + return el._katavorioDrag != null; + }, + isDragSupported: function (el, options) { + return true; + }, + isDropSupported: function (el, options) { + return true; + }, + isElementDraggable: function (el) { + el = _jp.getElement(el); + return el._katavorioDrag && el._katavorioDrag.isEnabled(); + }, + getDragObject: function (eventArgs) { + return eventArgs[0].drag.getDragElement(); + }, + getDragScope: function (el) { + return el._katavorioDrag && el._katavorioDrag.scopes.join(" ") || ""; + }, + getDropEvent: function (args) { + return args[0].e; + }, + getUIPosition: function (eventArgs, zoom) { + // here the position reported to us by Katavorio is relative to the element's offsetParent. For top + // level nodes that is fine, but if we have a nested draggable then its offsetParent is actually + // not going to be the jsplumb container; it's going to be some child of that element. In that case + // we want to adjust the UI position to account for the offsetParent's position relative to the Container + // origin. + var el = eventArgs[0].el; + if (el.offsetParent == null) { + return null; + } + var finalPos = eventArgs[0].finalPos || eventArgs[0].pos; + var p = { left:finalPos[0], top:finalPos[1] }; + if (el._katavorioDrag && el.offsetParent !== this.getContainer()) { + var oc = this.getOffset(el.offsetParent); + p.left += oc.left; + p.top += oc.top; + } + return p; + }, + setDragFilter: function (el, filter, _exclude) { + if (el._katavorioDrag) { + el._katavorioDrag.setFilter(filter, _exclude); + } + }, + setElementDraggable: function (el, draggable) { + el = _jp.getElement(el); + if (el._katavorioDrag) { + el._katavorioDrag.setEnabled(draggable); + } + }, + setDragScope: function (el, scope) { + if (el._katavorioDrag) { + el._katavorioDrag.k.setDragScope(el, scope); + } + }, + setDropScope:function(el, scope) { + if (el._katavorioDrop && el._katavorioDrop.length > 0) { + el._katavorioDrop[0].k.setDropScope(el, scope); + } + }, + addToPosse:function(el, spec) { + var specs = Array.prototype.slice.call(arguments, 1); + var dm = _getDragManager(this); + _jp.each(el, function(_el) { + _el = [ _jp.getElement(_el) ]; + _el.push.apply(_el, specs ); + dm.addToPosse.apply(dm, _el); + }); + }, + setPosse:function(el, spec) { + var specs = Array.prototype.slice.call(arguments, 1); + var dm = _getDragManager(this); + _jp.each(el, function(_el) { + _el = [ _jp.getElement(_el) ]; + _el.push.apply(_el, specs ); + dm.setPosse.apply(dm, _el); + }); + }, + removeFromPosse:function(el, posseId) { + var specs = Array.prototype.slice.call(arguments, 1); + var dm = _getDragManager(this); + _jp.each(el, function(_el) { + _el = [ _jp.getElement(_el) ]; + _el.push.apply(_el, specs ); + dm.removeFromPosse.apply(dm, _el); + }); + }, + removeFromAllPosses:function(el) { + var dm = _getDragManager(this); + _jp.each(el, function(_el) { dm.removeFromAllPosses(_jp.getElement(_el)); }); + }, + setPosseState:function(el, posseId, state) { + var dm = _getDragManager(this); + _jp.each(el, function(_el) { dm.setPosseState(_jp.getElement(_el), posseId, state); }); + }, + dragEvents: { + 'start': 'start', 'stop': 'stop', 'drag': 'drag', 'step': 'step', + 'over': 'over', 'out': 'out', 'drop': 'drop', 'complete': 'complete', + 'beforeStart':'beforeStart' + }, + animEvents: { + 'step': "step", 'complete': 'complete' + }, + stopDrag: function (el) { + if (el._katavorioDrag) { + el._katavorioDrag.abort(); + } + }, + addToDragSelection: function (spec) { + var el = this.getElement(spec); + if (el != null && (el._isJsPlumbGroup || el._jsPlumbGroup == null)) { + _getDragManager(this).select(spec); + } + }, + removeFromDragSelection: function (spec) { + _getDragManager(this).deselect(spec); + }, + getDragSelection:function() { + return _getDragManager(this).getSelection(); + }, + clearDragSelection: function () { + _getDragManager(this).deselectAll(); + }, + trigger: function (el, event, originalEvent, payload) { + this.getEventManager().trigger(el, event, originalEvent, payload); + }, + doReset:function() { + // look for katavorio instances and reset each one if found. + for (var key in this) { + if (key.indexOf("_katavorio_") === 0) { + this[key].reset(); + } + } + }, + getEventManager:function() { + return _getEventManager(this); + }, + on : function(el, event, callback) { + // TODO: here we would like to map the tap event if we know its + // an internal bind to a click. we have to know its internal because only + // then can we be sure that the UP event wont be consumed (tap is a synthesized + // event from a mousedown followed by a mouseup). + //event = { "click":"tap", "dblclick":"dbltap"}[event] || event; + this.getEventManager().on.apply(this, arguments); + return this; + }, + off : function(el, event, callback) { + this.getEventManager().off.apply(this, arguments); + return this; + } + + }); + + var ready = function (f) { + var _do = function () { + if (/complete|loaded|interactive/.test(document.readyState) && typeof(document.body) !== "undefined" && document.body != null) { + f(); + } + else { + setTimeout(_do, 9); + } + }; + + _do(); + }; + ready(_jp.init); + +}).call(typeof window !== 'undefined' ? window : this); diff --git a/simulation/js/layout.js b/simulation/js/layout.js new file mode 100644 index 0000000..d52e4ff --- /dev/null +++ b/simulation/js/layout.js @@ -0,0 +1,30 @@ +let listItems = document.querySelectorAll(".steps ol li"); +let activeIdx = 0; +// handle list items click +// for (const item of listItems) { +// item.addEventListener("click", (event) => { +// event. +// }); +// } +function nextDrawerItem() { + if (activeIdx < listItems.length) { + listItems[activeIdx].classList.add("active"); + if (activeIdx > 0) { + listItems[activeIdx - 1].classList.add("completed"); + listItems[activeIdx - 1].classList.remove("active"); + } + } + activeIdx = activeIdx < listItems.length ? activeIdx + 1 : activeIdx; +} + +function backDrawerItem() { + if (activeIdx <= 1) return; + activeIdx--; + listItems[activeIdx].classList.remove("active"); + listItems[activeIdx].classList.add("completed"); + if (activeIdx > 0) { + listItems[activeIdx - 1].classList.add("active"); + } +} + + diff --git a/simulation/js/main.js b/simulation/js/main.js new file mode 100644 index 0000000..22fc53f --- /dev/null +++ b/simulation/js/main.js @@ -0,0 +1,3877 @@ +// * Audio Mute +let isMute = false; + +// * Current Date +let cd = new Date(); +var currentDateGlobal = `${cd.getDate()} - ${ + cd.getMonth() + 1 +} - ${cd.getFullYear()}`; +console.log(currentDateGlobal); + +// * Quiz object +const Quiz = { + quizData: [ + { + question: + "Which of the following machine is used to measure compressive strength?", + a: "Universal testing machine", + b: "Impact testing machine", + c: "Fatigue testing machine", + d: "Erichsen machine", + correct: "a", + }, + { + question: + "Which one of the following, is not a unit of ultimate tensile strength?", + a: "MPa", + b: "N/m2", + c: "Kg/m3", + d: "PSI", + correct: "c", + }, + { + question: "The extensometer can be attached anywhere to the specimen _", + a: "Yes", + b: "No", + c: "No but sometime yes", + d: "None of the above", + correct: "b", + }, + + { + question: + "What is the smallest measurement that is possible by vernier calliper?", + a: "Least count", + b: "Actual reading", + c: "Main scale division", + d: "Vernier scale division", + correct: "a", + }, + { + question: "What is the least count of a standard metric vernier caliper", + a: "0.002mm", + b: "0.02mm", + c: "0.1mm", + d: "0.2mm", + correct: "b", + }, + ], + quiz_contianer: document.querySelector(".quiz-container"), + quiz: document.getElementById("quiz"), + answerEls: document.querySelectorAll(".answer"), + questionEl: document.getElementById("question"), + a_text: document.getElementById("a_text"), + b_text: document.getElementById("b_text"), + c_text: document.getElementById("c_text"), + d_text: document.getElementById("d_text"), + ansDom: document.getElementById("quizAns"), + opsDom: [this.a_text, this.b_text, this.c_text, this.d_text], + loadQuizCallCount: 0, + currentQuiz: 0, + score: 0, + loadQuiz() { + + + if (this.currentQuiz >= this.quizData.length) { + return; + } + document.querySelector(".transparent-box").style.display = "block"; + this.loadQuizCallCount++; + window.speechSynthesis.cancel(); + setCC("Choose the correct answer."); + this.deselectAnswers(); + this.quiz_contianer.style.display = "block"; + const currentQuizData = this.quizData[this.currentQuiz]; + + this.questionEl.innerText = currentQuizData.question; + this.a_text.innerText = currentQuizData.a; + this.b_text.innerText = currentQuizData.b; + this.c_text.innerText = currentQuizData.c; + this.d_text.innerText = currentQuizData.d; + }, + + getSelected() { + let answer = undefined; + this.answerEls.forEach((answerEl) => { + if (answerEl.checked) { + answer = answerEl.id; + } + + }); + this.answerEls.forEach((answerEl) => { + if (answer != undefined) { + answerEl.disabled = true; + } + + }); + + return answer; + }, + + deselectAnswers() { + this.answerEls.forEach((answerEl) => { + answerEl.checked = false; + answerEl.disabled = false; + }); + }, + close() { + this.quiz_contianer.style.display = "none"; + for (let od of this.opsDom) { + od.style.color = ""; + } + document.querySelector(".transparent-box").style.display = "none"; + + // this.ansDom.style.display = "none"; + }, + init() { + let okBtn = document.getElementById("quizSubmit") ; + okBtn.textContent = "Submit"; + // onclick for quiz close btn + // document.querySelector("#closeQuiz").onclick = () => { + // this.close(); + // }; + // onclick for quiz submit btn + document.getElementById("quizSubmit").onclick = ()=> { + + + + // for disable multiple submit + if (this.loadQuizCallCount - 1 !== this.currentQuiz) { + return; + } + // subtitle for quiz + const answer = this.getSelected(); + if (answer) { + // this.ansDom.style.display = "block"; + // this.ansDom.innerHTML = "✔ "+ this.quizData[this.currentQuiz][this.quizData[this.currentQuiz].correct]; + + // updating options with the right and wrong emoji + let ops = "abcd"; + for (let o in ops) { + if (ops[o] == this.quizData[this.currentQuiz].correct) { + this.opsDom[o].innerHTML += " ✔️"; + this.opsDom[o].style.color = "green"; + } else { + this.opsDom[o].innerHTML += " ❌"; + this.opsDom[o].style.color = "red"; + } + } + + if (answer === this.quizData[this.currentQuiz].correct) { + this.score++; + } + this.currentQuiz++; + + //for ok button + + okBtn.textContent = "Ok"; + okBtn.onclick = function(){ + Quiz.close(); + Quiz.init(); + } + + // to stop the next question + // if (this.currentQuiz < this.quizData.length) { + // this.loadQuiz(); + // } else { + // this.quiz.innerHTML = `

    You answered correctly at ${this.score}/${this.quizData.length} questions.

    + // + // `; + // todo show above string to certificate + // } + } + // this.close(); + } + }, +} + +// * ChartJs +const ChartGraph = { + ctx: document.getElementById("myChart"), + ctxBox: document.querySelector(".chart"), + graphs: [ + (Graph1 = { + labels: [0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07], + datapoints: [0, 100, 185, 260, 360, 435, 452], + }), + (Graph2 = { + labels: [0.1, 0.2, 0.3, 0.4, 0.5, 0.6], + datapoints: [0, 470, 488, 512, 515, 570], + }), + (Graph3 = { + labels: [0, 0.02, 0.04, 0.06, 0.08, 1, 1.2], + datapoints: [0, 480, 520, 560, 602, 535], + }), + (Graph4 = { + labels: [0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07], + datapoints: [0, 100, 185, 260, 360, 435, 452], + }), + ], + currGr: null, + delete: function () { + this.ctxBox.style.display = "none"; + this.currGr.destroy(); + }, + view: function (num, left, top, height = null, width = null) { + if (height != null) this.ctxBox.style.height = height + "px!important"; + if (width != null) this.ctxBox.style.width = width + "px!important"; + this.ctxBox.style.left = left + "px"; + this.ctxBox.style.top = top + "px"; + this.ctxBox.style.display = "block"; + this.currGr = new Chart(this.ctx, { + type: "line", + data: { + labels: this.graphs[num].labels, + datasets: [ + { + label: "Engineering Stress-Strain Curve", + data: this.graphs[num].datapoints, + borderWidth: 1, + tension: 0.4, + }, + // { + // label: "_", + // data: [0, 470], + // borderWidth: 1, + // }, + ], + }, + options: { + borderWidth: 3, + scales: { + y: { + beginAtZero: true, + }, + }, + }, + }); + return this; + }, +} + +Quiz.init(); + +// for restriction on next button ; +let isPerformNext = false; + +// animation is running +let isRunning = false; +// to set isProcessRunning and also sync the progressbar + drawer +// ! and toggle the next btn active / deactive +function toggleNextBtn(){ + let nextBtn = document.querySelector(".btn-next") + nextBtn.classList.toggle("btn-deactive") +} +const cancelSpeech = ()=>{ + window.speechSynthesis.cancel() + ccQueue = [] +} + +const setIsProcessRunning = (value) => { + // calling toggle the next + if(value != isRunning){ + toggleNextBtn() + } + + isRunning = value; + if(value){ + cancelSpeech() + Dom.hideAll() + } +}; + +// global for document object +const get = (query) => { + return document.querySelector(query); +}; + +const getAll = (query) => { + return document.querySelectorAll(query); +}; + +const show = (ele, disp = "block", opa = 1) => { + ele.style.display = disp; + ele.style.opacity = opa; +}; +const opacity = (ele, val = 1) => { + ele.style.opacity = val; +}; +const hide = (ele, disp = "none") => { + ele.style.display = disp; +}; +const hideAll = (elesName, disp = "none") => { + let eles = getAll(elesName); + for (let ele of eles) { + hide(ele); + } +}; +const showAll = (elesName, disp = "none", opa = 1) => { + let eles = getAll(elesName); + for (let ele of eles) { + show(ele, "block", opa); + } +}; + +const set = (ele, l = null, t = null) => { + if (l !== null) { + ele.style.left = l + "px"; + } + if (t !== null) { + ele.style.top = t + "px"; + } + show(ele); +}; + +let student_name = ""; +// let currentDateGlobal = ""; + +// ! text to audio + +const + + +textToSpeach = (text,speak=true) => { + // for filter + text = text.replaceAll(""," ").replaceAll(""," ") + let utterance = new SpeechSynthesisUtterance(); + utterance.text = text; + utterance.voice = window.speechSynthesis.getVoices()[0]; + if(isMute || !speak){ + utterance.volume = 0 + utterance.rate = 10 + } + window.speechSynthesis.speak(utterance); + return utterance; +}; + +//queue for +let ccQueue = []; +// for subtitile +let ccObj = null; +function setCC(text = null, speed = 25, speak = true) { + if (ccObj != null) { + ccObj.destroy(); + } + + let ccDom = get(".steps-subtitle .subtitle"); + ccQueue.push(text); + ccObj = new Typed(ccDom, { + strings: ["", ...ccQueue], + typeSpeed: speed, + onStringTyped(){ + ccQueue.shift() + // if(ccQueue.length != 0){ + // setCC(ccQueue.shift())` + // } + } + }); + let utterance = textToSpeach(text,speak) + return utterance +} +class Dom { + constructor(selector) { + this.item = null; + if (selector[0] == "." || selector[0] == "#") { + this.item = get(selector); + } else if(selector instanceof HTMLElement) { + this.item = selector + } else { + this.item = src.get(selector); + } + this.selector = selector + // push + } + hidden(isHidden){ + if(isHidden == false) + this.item.style.visibility = "visible" + else + this.item.style.visibility = "hidden" + } + setContent(text) { + this.item.innerHTML = text; + return this; + } + zIndex(idx) { + this.item.style.zIndex = idx; + return this; + } + opacity(val = 1) { + this.item.style.opacity = val; + return this; + } + rotate(deg) { + this.item.style.transform = `rotate(${deg}deg)`; + return this; + } + scale(val = 1) { + this.item.style.scale = val; + return this; + } + get() { + return this.item; + } + set( + left = null, + top = null, + height = null, + width = null, + bottom = null, + right = null, + disp = "block" + ) { + + // coordinates + this.left = left + this.top = top + this.bottom = bottom + this.right = right + this.height = height + this.width = width + this.item.style.opacity = 1 + this.item.style.transform = "translateX(0) translateY(0)" + + if (this.left !== null) this.item.style.left = String(this.left) + "px"; + if (this.top !== null) this.item.style.top = String(this.top) + "px"; + if (this.bottom !== null) + this.item.style.bottom = String(this.bottom) + "px"; + if (this.right !== null) this.item.style.right = String(this.right) + "px"; + if (this.height !== null) + this.item.style.height = String(this.height) + "px"; + if (this.width !== null) this.item.style.width = String(this.width) + "px"; + this.show(disp); + return this; + } + show(disp = "block") { + //! push for every element + this.push() + + this.item.style.display = disp; + // this.opacity(); + return this; + } + hide() { + this.item.style.display = "none"; + return this; + } + play(speed = 1) { + this.item.play(); + this.item.playbackRate = speed; + return this; + } + // for setting styles + styles(props){ + for(let property in props){ + this.item.style[property] = props[property]; + } + return this + } + // * static elements/objects of anime + static arrayOfAnimes = []; + static arrayOfItems = []; + static animePush(animeObj){ + Dom.arrayOfAnimes.push(animeObj); + } + static resetAnimeItems(){ + Dom.arrayOfAnimes = []; + } + static hideAll() { + //to empty the setCC + setCC(""); + // to delete all content of content adder menu + Scenes.items.contentAdderBox.setContent(""); + for (let i of Dom.arrayOfItems) { + i.hide(); + i.opacity(); + } + // * reset animes + for (let i of Dom.arrayOfAnimes){ + // to reset each anime after back btn pressed + i.reset(); + } + Dom.resetItems(); + } + static resetItems() { + Dom.arrayOfItems = []; + } + static setBlinkArrowRed( + isX = true, + left = null, + top = null, + height = 30, + width = null, + rotate = 0, + ) { + let blinkArrow = new Dom(".blinkArrowRed") + .set(left, top, height, width) + .rotate(rotate) + .zIndex(5000); + if (isX === -1) { + blinkArrow.hide(); + return; + } + let x = 0, + y = 0; + if (isX) { + x = 20; + } else { + y = 20; + } + var blink = anime({ + targets: blinkArrow.item, + easing: "easeInOutQuad", + opacity: 1, + translateX: x, + translateY: y, + direction: "alternate", + loop: true, + autoplay: false, + duration: 300, + }); + + return blink; + } + static setBlinkArrow( + isX = true, + left = null, + top = null, + height = 60, + width = 60, + rotate = 0, + ) { + // because we added the blinkArrow image out of the anime-main + top += 130 + let blinkArrow = new Dom(".blinkArrow") + .set(left, top, height, width) + .rotate(rotate) + .zIndex(10000); + if (isX === -1) { + blinkArrow.hide(); + return; + } + let x = 0, + y = 0; + if (isX) { + x = 20; + } else { + y = 20; + } + var blink = anime({ + targets: blinkArrow.item, + easing: "easeInOutQuad", + opacity: 1, + translateX: x, + translateY: y, + direction: "alternate", + loop: true, + autoplay: false, + duration: 300, + }); + + return blink; + } + push() { + if(this.selector != ".anime-header") + Dom.arrayOfItems.push(this); + return this; + } + forMathematicalExpressionBtn = 0 +} + + +// * for cursor pointer +function cursorPointer(ele) { + ele.style.cursor = "pointer"; +} + +// Img.setBlinkArrow(true,790,444).play(); + +const Scenes = { + items: { + anime_main_dom: new Dom(".anime-main"), + arrowRound: new Dom("arrowRound"), + blinkArrow: new Dom("blinkArrow"), + larrow: new Dom("laerrow"), + larrow2: new Dom("laerrow2"), + logo: new Dom("logo"), + man: new Dom("man"), + arrow: new Dom("measurearrow"), + arrow2: new Dom("measurearrow2"), + redsize: new Dom("redsize"), + speech_off_btn: new Dom("speech_off_btn"), + speech_on_btn: new Dom("speech_on_btn"), + talk_cloud: new Dom("talk_cloud"), + projectIntro: new Dom(".project-intro"), + header: new Dom(".anime-header"), + stepHeading: new Dom(".step-heading"), + stepTitle: new Dom(".step-title"), + stepDescription: new Dom(".step-description"), + tableCalc: new Dom(".measurements"), + tempText: new Dom(".temp-text"), + tempText2: new Dom(".temp-text2"), + tempInputBox: new Dom(".temp-input"), + tempInputBoxInput: new Dom(".temp-input #ipnum"), + tempInputT1: new Dom(".temp-input .text1"), + tempInputT2: new Dom(".temp-input .text2"), + tempInputError: new Dom(".temp-input .error"), + tempInputBtn: new Dom(".temp-input .submit-btn"), + utmBtn: new Dom(".utm-button"), + inputWindow: new Dom(".user-input"), + resultTable: new Dom(".result-table"), + certificate: new Dom(".certificate"), + welcomeBox: new Dom(".welcome-box"), + videoBox: new Dom(".video-box"), + videoBoxSrc: new Dom(".video-box .video"), + videoBoxTitle: new Dom(".video-box .title"), + videoBoxRestartBtn: new Dom(".video-box .controls .restart"), + imageBox: new Dom(".image-box"), + imageBoxSrc: new Dom(".image-box .image"), + imageBoxTitle: new Dom(".image-box .title"), + tempTitle1: new Dom(".temp-title1"), + tempTitle2: new Dom(".temp-title2"), + tempTitle3: new Dom(".temp-title3"), + tempTitle4: new Dom(".temp-title4"), + tempTitle5: new Dom(".temp-title5"), + tempTitle6: new Dom(".temp-title6"), + tempTitle7: new Dom(".temp-title7"), + tempTitle8: new Dom(".temp-title8"), + tempTitle9: new Dom(".temp-title9"), + tempTitle10: new Dom(".temp-title10"), + tempTitle11: new Dom(".temp-title11"), + tempTitle12: new Dom(".temp-title12"), + tempTitle13: new Dom(".temp-title13"), + tempTitle14: new Dom(".temp-title14"), + tempTitle15: new Dom(".temp-title15"), + tempTitle16: new Dom(".temp-title16"), + tempTitle17: new Dom(".temp-title17"), + tempTitle18: new Dom(".temp-title18"), + tempTitle19: new Dom(".temp-title19"), + tempTitle20: new Dom(".temp-title20"), + tempTitle21: new Dom(".temp-title21"), + tempTitle22: new Dom(".temp-title22"), + tempTitle23: new Dom(".temp-title23"), + tempTitle24: new Dom(".temp-title24"), + tempTitle25: new Dom(".temp-title25"), + tempTitle26: new Dom(".temp-title26"), + tempTitle27: new Dom(".temp-title27"), + tempTitle28: new Dom(".temp-title28"), + tempTitle29: new Dom(".temp-title29"), + tempTitle30: new Dom(".temp-title30"), + tempTitle31: new Dom(".temp-title31"), + tempTitle32: new Dom(".temp-title32"), + tempTitle33: new Dom(".temp-title33"), + tempTitle34: new Dom(".temp-title34"), + tempTitle35: new Dom(".temp-title35"), + tempTitle36: new Dom(".temp-title36"), + tempTitle37: new Dom(".temp-title37"), + tempTitle38: new Dom(".temp-title38"), + tempTitle39: new Dom(".temp-title39"), + tempTitle40: new Dom(".temp-title40"), + tempTitle41: new Dom(".temp-title41"), + tempTitle42: new Dom(".temp-title42"), + tempTitle43: new Dom(".temp-title43"), + tempTitle44: new Dom(".temp-title44"), + tempTitle45: new Dom(".temp-title45"), + tempTitle46: new Dom(".temp-title46"), + tempTitle47: new Dom(".temp-title47"), + tempTitle48: new Dom(".temp-title48"), + tempTitle49: new Dom(".temp-title49"), + tempTitle50: new Dom(".temp-title50"), + tempTitle51: new Dom(".temp-title51"), + tempTitle52: new Dom(".temp-title52"), + tempTitle53: new Dom(".temp-title53"), + tempTitle54: new Dom(".temp-title54"), + tempTitle55: new Dom(".temp-title55"), + tempTitle56: new Dom(".temp-title56"), + tempTitle57: new Dom(".temp-title57"), + tempTitle58: new Dom(".temp-title58"), + tempTitle59: new Dom(".temp-title59"), + tempTitle60: new Dom(".temp-title60"), + + contentAdderBox: new Dom(".content-adder-box"), + btn_save: new Dom(".btn-save"), + btn_next: new Dom(".btn-next"), + +box_img : new Dom("box_img"), +component_battery : new Dom("component_battery"), +component_capacitor : new Dom("component_capacitor"), +component_diode : new Dom("component_diode"), +component_inductor : new Dom("component_inductor"), +component_mosfet : new Dom("component_mosfet"), +component_register : new Dom("component_register"), +full_circuit : new Dom("full_circuit"), +full_circuit2 : new Dom("full_circuit2"), +circuit_full_2 : new Dom("circuit_full_2"), +circuit_full_3 : new Dom("circuit_full_3"), +graph_arrow : new Dom("part_3_graph_arrow"), +part_3_option_1 : new Dom("part_3_option_1"), +part_3_option_2 : new Dom("part_3_option_2"), +part_3_option_3 : new Dom("part_3_option_3"), +part_3_option_4 : new Dom("part_3_option_4"), +record_btn : new Dom("record_btn"), +part3_table_one : new Dom(".part3_table_one"), +part3_table_two : new Dom(".part3_table_two"), +part3_table_three : new Dom(".part3_table_three"), +part3_table_four : new Dom(".part3_table_four"), +part3_table_four_2 : new Dom(".part3_table_four_2"), +slider_vIn : new Dom(".slider_vIn"), +slider_D : new Dom(".slider_D"), +slider_R : new Dom(".slider_R"), +part_2_circuit : new Dom("part_2_circuit"), +part_2_graph_1 : new Dom("part_2_graph_1"), +part_2_graph_2 : new Dom("part_2_graph_2"), +part_2_graph_3 : new Dom("part_2_graph_3"), +run_btn : new Dom("run_btn"), +slider_box : new Dom(".universal-slider"), +right_tick_1 : new Dom("right_tick_1"), +right_tick_2 : new Dom("right_tick_2"), +right_tick_3: new Dom("right_tick_3"), +right_tick_4 : new Dom("right_tick_4"), +graph1: new Dom(".graph1"), +graph2: new Dom(".graph2"), +graph3: new Dom(".graph3"), +graph4: new Dom(".graph4"), +graph5: new Dom(".graph5"), +graph6: new Dom(".graph6"), +graph1_arrow : new Dom("graph1_arrow"), +graph2_arrow : new Dom("graph2_arrow"), +part_2_graph_empty : new Dom("part_2_graph_empty"), +part_3_option_4_graph : new Dom("part_3_option_4_graph"), +btn_delete : new Dom(".btn-delete"), +btn_reset : new Dom(".btn-reset"), +btn_check_connections: new Dom(".btn-check-connections"), + btn_circuit_diagram: new Dom(".btn-circuit-diagram"), + +// Theory +slide_1 : new Dom("slide_1"), +slide_2 : new Dom("slide_2"), +slide_3_page_1 : new Dom("slide_3_page_1"), +slide_3_page_2 : new Dom("slide_3_page_2"), +slide_3_page_3 : new Dom("slide_3_page_3"), +slide_3_page_4 : new Dom("slide_3_page_4"), +slide_4_page_1 : new Dom("slide_4_page_1"), +slide_4_page_1_fan : new Dom("slide_4_page_1_fan"), +slide_4_page_2_battery_1 : new Dom("slide_4_page_2_battery_1"), +slide_4_page_2_battery_2 : new Dom("slide_4_page_2_battery_2"), +slide_4_page_2_battery_3 : new Dom("slide_4_page_2_battery_3"), +slide_4_page_2_volt_text : new Dom("slide_4_page_2_volt_text"), +slide_4_page_3_text_1 : new Dom("slide_4_page_3_text_1"), +slide_4_page_3_text_2 : new Dom("slide_4_page_3_text_2"), +slide_4_page_3_wire : new Dom("slide_4_page_3_wire"), +slide_5_page_1 : new Dom("slide_5_page_1"), +slide_5_page_2_text_1 : new Dom("slide_5_page_2_text_1"), +slide_5_page_2_volt_text : new Dom("slide_5_page_2_volt_text"), +slide_5_page_3_1_text_1 : new Dom("slide_5_page_3_1_text_1"), +slide_5_page_3_2_wire : new Dom("slide_5_page_3_2_wire"), +slide_5_page_3_3_light : new Dom("slide_5_page_3_3_light"), +slide_5_page_3_4_blast : new Dom("slide_5_page_3_4_blast"), +slide_5_page_3_5_cross : new Dom("slide_5_page_3_5_cross"), +slide_5_page_3_6_emoji : new Dom("slide_5_page_3_6_emoji"), +slide_5_page_3_7_text_2 : new Dom("slide_5_page_3_7_text_2"), +slide_5_page_3_8_text_3 : new Dom("slide_5_page_3_8_text_3"), +slide_5_page_4_1_text_1 : new Dom("slide_5_page_4_1_text_1"), +slide_6_page_1 : new Dom("slide_6_page_1"), +slide_6_page_2_1_text_1 : new Dom("slide_6_page_2_1_text_1"), +slide_6_page_2_2_emoji_blink : new Dom("slide_6_page_2_2_emoji_blink"), +slide_6_page_3_1_text_1 : new Dom("slide_6_page_3_1_text_1"), +slide_6_page_3_2_emoji_blink : new Dom("slide_6_page_3_2_emoji_blink"), +slide_7_page_1_1 : new Dom("slide_7_page_1_1"), +slide_7_page_1_2 : new Dom("slide_7_page_1_2"), +slide_7_page_1_3 : new Dom("slide_7_page_1_3"), +slide_8_page_1 : new Dom("slide_8_page_1"), +slide_8_page_2_and_rotate_the_fan : new Dom("slide_8_page_2_and_rotate_the_fan"), +slide_8_page_3_1 : new Dom("slide_8_page_3_1"), +slide_8_page_3_2_light : new Dom("slide_8_page_3_2_light"), +slide_8_page_3_3_blank : new Dom("slide_8_page_3_3_blank"), +slide_8_page_3_4_emoji : new Dom("slide_8_page_3_4_emoji"), +slide_8_page_3_5_text : new Dom("slide_8_page_3_5_text"), +slide_9 : new Dom("slide_9"), +slide_10_page_1 : new Dom("slide_10_page_1"), +slide_10_page_2 : new Dom("slide_10_page_2"), +slide_10_page_3 : new Dom("slide_10_page_3"), +slide_10_page_4_1 : new Dom("slide_10_page_4_1"), +slide_10_page_4_2_plus : new Dom("slide_10_page_4_2_plus"), +slide_10_page_4_3_minus : new Dom("slide_10_page_4_3_minus"), +slide_10_page_4_4_arrow : new Dom("slide_10_page_4_4_arrow"), +slide_10_page_4_5_text : new Dom("slide_10_page_4_5_text"), +slide_11_page_1 : new Dom("slide_11_page_1"), +slide_11_page_2_1 : new Dom("slide_11_page_2_1"), +slide_11_page_2_2_blink : new Dom("slide_11_page_2_2_blink"), +slide_11_page_3_1 : new Dom("slide_11_page_3_1"), +slide_11_page_3_2_rotate_it : new Dom("slide_11_page_3_2_rotate_it"), +slide_11_page_3_3_text_and_arrow : new Dom("slide_11_page_3_3_text_and_arrow"), +slide_12_page_1 : new Dom("slide_12_page_1"), +slide_12_page_2_1_pwm_blink : new Dom("slide_12_page_2_1_pwm_blink"), +slide_12_page_2_2 : new Dom("slide_12_page_2_2"), +slide_12_page_2_3_text : new Dom("slide_12_page_2_3_text"), +slide_12_page_3_1_pwn_blink : new Dom("slide_12_page_3_1_pwn_blink"), +slide_12_page_3_2 : new Dom("slide_12_page_3_2"), +slide_12_page_3_3_text : new Dom("slide_12_page_3_3_text"), +slide_12_page_3_4_text_2 : new Dom("slide_12_page_3_4_text_2"), +slide_13_page_1 : new Dom("slide_13_page_1"), +slide_13_page_2 : new Dom("slide_13_page_2"), +slide_13_page_3_1_plus : new Dom("slide_13_page_3_1_plus"), +slide_13_page_3_2_minus_rotate_both : new Dom("slide_13_page_3_2_minus_rotate_both"), +slide_13_page_3_4 : new Dom("slide_13_page_3_4"), +slide_13_page_3_5_text : new Dom("slide_13_page_3_5_text"), +slide_14_helper : new Dom("slide_14_helper"), +slide_14_page_1 : new Dom("slide_14_page_1"), +slide_14_page_1_ball : new Dom("slide_14_page_1_ball"), +slide_14_page_2_1_blink : new Dom("slide_14_page_2_1_blink"), +slide_14_page_2_2_text : new Dom("slide_14_page_2_2_text"), +slide_14_page_3_1_symbols : new Dom("slide_14_page_3_1_symbols"), +slide_14_page_3_2_green_graph_and_start_ball : new Dom("slide_14_page_3_2_green_graph_and_start_ball"), +slide_14_page_3_3_white_image_for_blue_line : new Dom("slide_14_page_3_3_white_image_for_blue_line"), +slide_15_page_1 : new Dom("slide_15_page_1"), +slide_15_page_1_ball : new Dom("slide_15_page_1_ball"), +slide_15_page_1_green_graph : new Dom("slide_15_page_1_green_graph"), +slide_15_page_1_minus : new Dom("slide_15_page_1_minus"), +slide_15_page_1_plus : new Dom("slide_15_page_1_plus"), +slide_15_page_2_1_blink : new Dom("slide_15_page_2_1_blink"), +slide_15_page_2_2_text : new Dom("slide_15_page_2_2_text"), +slide_15_page_3_1_arrow_and_text : new Dom("slide_15_page_3_1_arrow_and_text"), +slide_15_page_3_1_white : new Dom("slide_15_page_3_1_white"), +slide_15_page_3_2_graph : new Dom("slide_15_page_3_2_graph"), +slide_15_page_3_3_text : new Dom("slide_15_page_3_3_text"), + +btn_transparent: new Dom(".btn-transparent"), + +formulas_component_stress : new Dom("formulas_component_stress"), +formulas_efficiency : new Dom("formulas_efficiency"), +formulas_ideal : new Dom("formulas_ideal"), +formulas_nomenclautre : new Dom("formulas_nomenclautre"), +formulas_non_ideal : new Dom("formulas_non_ideal"), +formulas_procedure : new Dom("formulas_procedure"), +formulas_universal : new Dom("formulas_universal"), +part_3_option_select : new Dom("part_3_option_select"), +part_1_text_for_crrct: new Dom("part_1_text_for_crrct"), +part_1_text_for_wrong: new Dom("part_1_text_for_wrong"), +btn_reset_connections: new Dom(".btn-connections"), +part_1_text_for_circuit_diagram: new Dom("part_1_text_for_circuit_diagram"), +part_1_text: new Dom("part_1_text"), +btn_hint: new Dom("btn_hint"), +hint_box: new Dom("hint_box"), + +concept_development: new Dom(".concept_development"), + + //experimental section images added + //! new + beta_line_blinking: new Dom("beta_line_blinking"), + bnt_click: new Dom("bnt_click"), + btn_firing_angle: new Dom("btn_firing_angle"), + btn_input_voltage: new Dom("btn_input_voltage"), + btn_load_inductance: new Dom("btn_load_inductance"), + btn_load_resistance: new Dom("btn_load_resistance"), + components_rl_load: new Dom("components_rl_load"), + components_r_load: new Dom("components_r_load"), + rl_load_click_1: new Dom("rl_load_click_1"), + rl_load_click_2: new Dom("rl_load_click_2"), + rl_load_click_3: new Dom("rl_load_click_3"), + rl_load_click_4: new Dom("rl_load_click_4"), + r_load_click_1: new Dom("r_load_click_1"), + r_load_click_2: new Dom("r_load_click_2"), + r_load_click_3: new Dom("r_load_click_3"), + r_load_click_4: new Dom("r_load_click_4"), + val_a: new Dom("val_a"), + val_l: new Dom("val_l"), + val_r: new Dom("val_r"), + val_v: new Dom("val_v"), + circle: new Dom("circle"), + + +// ! new items dom + domQs1: new Dom("domQs1"), + domQs2: new Dom("domQs2"), + domQs3: new Dom("domQs3"), + domQs4: new Dom("domQs4"), + domQs5: new Dom("domQs5"), + domQs6: new Dom("domQs6"), + + + chart: { + graph1: null, + graph2: null, + graph5: null, + graph6: null, + } + + + + }, + deleteAll() { + for (i in this.img) { + Scenes.img[i].hide(); + } + for (i in this.items) { + if (i == "header" || i == "stepTitle" || i == "stepDescription") { + continue; + } + hide(Scenes.items[i]); + } + }, + // for content adder btn box + contentAdderAddBtn(text) { + Scenes.items.contentAdderBox.item.innerHTML += `
  • ${text}
  • `; + }, + currentStep: 0, + subCurrentStep: 0, + resetSubStep() { + this.subCurrentStep = 0; + }, + incCurrentSubStep() { + this.subCurrentStep++; + }, + setStepHeading(step, description) { + Scenes.items.stepTitle.setContent(step); + Scenes.items.stepDescription.setContent(description); + Scenes.items.stepHeading.show("flex").push(); + }, + // for typing hello text + intru: null, + intruVoice: null, + optionsDone:[0,0,0,0], + steps: [ + (intro = () => { + // remove all dom element for back and setProcessRunning + setIsProcessRunning(true); + + + // starting elements + + // subtitle + setTimeout(() => { + setCC("Enter your name and click on 'Start' to start the experiment"); + }, 500); + Scenes.items.header.set(0, 120).show("flex"); + let inputWindow = get(".user-input"); + show(inputWindow, "flex"); + let man = new Dom("man").set(650, 80).push(); + + let submitBtn = get("#nameSubmitBtn"); + submitBtn.onclick = () => { + student_name = get("#stuName").value; + let error = get(".user-input .error"); + // todo remove comment + if (student_name.trim() == "") { + show(error); + return; + } + // take only first space + let fName = student_name.slice(0, student_name.indexOf(" ")); + hide(error); + let tl = anime.timeline({ + easing: "easeOutExpo", + duration: 1000, + }); + tl.add({ + targets: ".anime-header", + top: 0, + }) + .add({ + targets: ".user-input", + opacity: 0, + }) + .add({ + targets: man.item, + translateX: -280, + }) + .add({ + targets: Scenes.items.talk_cloud.item, + begin() { + // Scenes.items.tempText.innerHTML = `👋 Hey!
    ${fName}`; + Scenes.items.tempText.item.style.fontWeight = "bold"; + // show(Scenes.items.tempText); + intru = new Typed(Scenes.items.tempText.item, { + strings: ["", `Hey!👋
    ${fName}`], + typeSpeed: 25, + }); + Scenes.items.tempText.set(482, 1); + textToSpeach(`Hey! ${fName}`); + textToSpeach( + "Welcome to Foundation Wall in Foamwork Experiment of Foamwork Technology in Civil Engineering Virtual Lab developed by Prof. K. N. Jha, Department of Civil Engineering, IIT Delhi." + ); + Scenes.items.talk_cloud.set(450, -40, 180).push(); + setCC(""); + }, + endDelay: 2000, + opacity: [0, 1], + }) + .add({ + begin(){ + // to hide previous step images + intru.destroy(); + Dom.hideAll(); + Scenes.items.welcomeBox.show("flex"); + } + }) + .add({ + duration: 12000, + complete() { + setCC("Click 'Next' to go to next step"); + Dom.setBlinkArrow(true, 790, 444).play(); + setIsProcessRunning(false); + }, + }); + }; + return true; + }), + (objective = function () { + setIsProcessRunning(true); + Dom.hideAll() + // require + Scenes.items.slider_box.hide() + + let btn_transparent = Scenes.items.btn_transparent.set().item; + + Scenes.items.concept_development.set().styles({ + zIndex: "5000", + scale: "1 0.915", + top: "-144px", + position: "absolute", + }) + + // ! Slide ended enable the button next button + function checkIsSlideEnded(){ + let isSlideEnded = localStorage.getItem("isSlideEnded") + if(isSlideEnded=="true"){ + btn_transparent.disabled = false + setIsProcessRunning(false) + btn_transparent.classList.remove("btn-disabled") + // setCC("Click next to goto next slide.") + Dom.setBlinkArrowRed(true, 866, 420,30,null,-90).play(); + btn_transparent.onclick = ()=>{ + Scenes.next() + localStorage.setItem("isSlideEnded",false) + window.clearInterval(interval) + } + } + } + var interval = window.setInterval(checkIsSlideEnded, 1000) + + return true; + }), + (step1 = function () { + setIsProcessRunning(true); + // to hide previous step + Dom.hideAll(); + Scenes.items.projectIntro.hide() + Dom.setBlinkArrow(-1); + Scenes.items.btn_next.show() + Scenes.items.slider_box.hide() + Scenes.items.btn_reset_connections.styles({ + position: "absolute", + right: 0, + top: "195px", + backgroundColor: "blue", + color: "white", + }) + + Scenes.setStepHeading("Step-1", "Circuit Formulation"); + setCC("Connect the terminals for boost converter") + + let vertexBox = new Dom(".vertex-box") + vertexBox.show() + + //! Required positions + let tConst = -10 + let lConst = 0 + Scenes.items.component_battery.set(20+lConst, 30+tConst, 180) + Scenes.items.component_inductor.set(200-40+lConst, 260+tConst, 132) + Scenes.items.component_diode.set(380+50+lConst, 282+tConst, 70) + Scenes.items.component_mosfet.set(420+lConst, -40+tConst, 750) + Scenes.items.component_capacitor.set(640+lConst, 20+tConst, 230) + Scenes.items.btn_check_connections.set(770, 250) + Scenes.items.btn_reset_connections.set() + Scenes.items.btn_circuit_diagram.set(780, 330).item.classList.add("btn-deactive") + Scenes.items.part_1_text_for_crrct.set(585,340, 40).hide() + Scenes.items.part_1_text_for_wrong.set(630,310, 110).hide() + Scenes.items.part_1_text_for_circuit_diagram.set(0,0).zIndex(2000).hide() + Scenes.items.part_1_text.set(625, -68, 92) + + + anime({ + targets: Scenes.items.part_1_text.item, + scale: [1, 1.1], + easing: "linear", + loop: true + }) + + //! hint button code + Scenes.items.btn_hint.set(808 + 68, 4 + 36, 36).zIndex(10) + Scenes.items.hint_box.set(188 + 68, 52, 322).zIndex(10000).hide() + + let hint_btn = Scenes.items.btn_hint; + hint_btn.item.onmouseenter = ()=>{ + Scenes.items.hint_box.show() + } + hint_btn.item.onmouseout = ()=>{ + Scenes.items.hint_box.hide() + } + + function isConnectionsRight(connections){ + let target = null + if(connections){ + target = Scenes.items.part_1_text_for_crrct.set(585,340, 40).show() + Scenes.items.part_1_text_for_wrong.set(630,310, 110).hide() + } + else{ + Scenes.items.part_1_text_for_crrct.set(585,340, 40).hide() + target = Scenes.items.part_1_text_for_wrong.set(630,310, 110).show() + } + anime({ + targets: target.item, + duration: 2000, + easing: "easeInOutExpo", + opacity: 0, + complete: () => { + target.hide() + } + }) + } + + + Scenes.items.slider_box.hide(); + // ! JSPLumb cable + function cable(){ + + let a = new Dom(".btn-check-connections") + a.get().onclick = checkCableConnection + + // ! check + function checkCableConnection() { + // if (connections.length == 0) { + // alert("Please make the connections first"); + // return false; + // } + + if (connections.length < 6) { + // alert("Wrong Connections\nPlease go through the instructions once"); + isConnectionsRight(false) + return false; + } + let isConnectionRight = false + if (connections.length >= 6) { + let matrixForCheckGraph = [ + // 0 1 2 3 4 5 6 7 8 9 10 + [0,0,0,0,0,0,0,0,0,0,0], // 0 + [0,0,0,1,0,0,0,0,0,0,0], // 1 + [0,0,0,0,0,0,1,0,1,0,0], // 2 + [0,1,0,0,0,0,0,0,0,0,0], // 3 + [0,0,0,0,0,0,0,1,0,1,0], // 4 + [0,0,0,0,0,0,0,0,0,0,1], // 5 + [0,0,1,0,0,0,0,0,1,0,0], // 6 + [0,0,0,0,1,0,0,0,0,1,0], // 7 + [0,0,1,0,0,0,1,0,0,0,0], // 8 + [0,0,0,0,1,0,0,1,0,0,0], // 9 + [0,0,0,0,0,1,0,0,0,0,0], // 10 + ] + var listDiv = []; + for (var j = 0; j < connections.length; j++) { + let pos = [connections[j].targetId,connections[j].sourceId] + listDiv.push(pos) + } + for(let i=0;i{ + if(Scenes.items.part_1_text_for_circuit_diagram.item.style.display=="none"){ + Scenes.items.part_1_text_for_circuit_diagram.show() + Scenes.items.btn_circuit_diagram.styles({ + boxShadow: "none" + }) + }else{ + Scenes.items.part_1_text_for_circuit_diagram.hide() + Scenes.items.btn_circuit_diagram.styles({ + boxShadow: "3px 2px 4px 0px black" + }) + } + } + // alert("wrong") + return false + } + } + // * for right connection note + isConnectionsRight(true) + setIsProcessRunning(false); + + } + + } + + (showConnectionInfo = function (listDiv) { + }), + (hideConnectionInfo = function (listDiv) { + listDiv.style.display = "none"; + }), + (connections = []), + (updateConnections = function (conn, remove) { + if (!remove) connections.push(conn); + else { + var idx = -1; + for (var i = 0; i < connections.length; i++) { + if (connections[i] == conn) { + idx = i; + break; + } + } + if (idx != -1) connections.splice(idx, 1); + } + if (connections.length > 0) { + var listDiv = []; + for (var j = 0; j < connections.length; j++) { + let pos = [connections[j].targetId,connections[j].sourceId] + listDiv.push(pos) + } + showConnectionInfo(listDiv); + } + }); + + jsPlumb.ready(function () { + var instance = jsPlumb.getInstance(); + + // suspend drawing and initialise. + instance.batch(function () { + // bind to connection/connectionDetached events, and update the list of connections on screen. + instance.bind("connection", function (info, originalEvent) { + updateConnections(info.connection); + }); + instance.bind("connectionDetached", function (info, originalEvent) { + updateConnections(info.connection, true); + }); + + instance.bind("connectionMoved", function (info, originalEvent) { + // only remove here, because a 'connection' event is also fired. + // in a future release of jsplumb this extra connection event will not + // be fired. + updateConnections(info.connection, true); + }); + + // configure some drop options for use by all endpoints. + var exampleDropOptions = { + tolerance: "touch", + hoverClass: "dropHover", + activeClass: "dragActive", + }; + let radius = 14 + var exampleEndpoint1 = { + endpoint: ["Dot", { radius: radius }], + paintStyle: { fill: "pink" }, + isSource: true, + scope: "green", + connectorStyle: { stroke: "pink", strokeWidth: 6 }, + connector: ["Bezier", { curviness: 10 }], + maxConnections: 1, + isTarget: true, + dropOptions: exampleDropOptions, + }; + var exampleEndpoint2 = { + endpoint: ["Dot", { radius: radius }], + paintStyle: { fill: "black" }, + isSource: true, + scope: "green", + connectorStyle: { stroke: "black", strokeWidth: 6 }, + connector: ["Bezier", { curviness: -50 }], + maxConnections: 2, + isTarget: true, + dropOptions: exampleDropOptions, + }; + var exampleEndpoint3 = { + endpoint: ["Dot", { radius: radius }], + paintStyle: { fill: "red" }, + isSource: true, + scope: "green", + connectorStyle: { stroke: "red", strokeWidth: 6 }, + connector: ["Bezier", { curviness: -30 }], + maxConnections: 2, + isTarget: true, + dropOptions: exampleDropOptions, + }; + var exampleEndpoint4 = { + endpoint: ["Dot", { radius: radius }], + paintStyle: { fill: "green" }, + isSource: true, + scope: "green", + connectorStyle: { stroke: "green", strokeWidth: 6 }, + connector: ["Bezier", { curviness: -50 }], + maxConnections: 1, + isTarget: true, + dropOptions: exampleDropOptions, + }; + // conn 1 + instance.addEndpoint( + "vertex1", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint1 + ); + instance.addEndpoint( + "vertex3", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint1 + ); + + // conn 2 + instance.addEndpoint( + "vertex4", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint2 + ); + instance.addEndpoint( + "vertex7", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint2 + ); + instance.addEndpoint( + "vertex9", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint2 + ); + + // conn 3 + instance.addEndpoint( + "vertex8", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint3 + ); + instance.addEndpoint( + "vertex6", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint3 + ); + instance.addEndpoint( + "vertex2", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint3 + ); + + // conn 4 + instance.addEndpoint( + "vertex10", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint4 + ); + instance.addEndpoint( + "vertex5", + { anchor: [0.75, 0, 0, -1] }, + exampleEndpoint4 + ); + /*instance.addEndpoint("vertex9", { anchor: [0.75, 0, 0, -1] }, exampleEndpoint4); + instance.addEndpoint("vertex10", { anchor: [0.75, 0, 0, -1] }, exampleEndpoint4); + instance.addEndpoint("vertex11", { anchor: [0.75, 0, 0, -1] }, exampleEndpoint3); + instance.addEndpoint("vertex12", { anchor: [0.75, 0, 0, -1] }, exampleEndpoint3);*/ + + instance.draggable(jsPlumb.getSelector(".drag-drop-demo .window")); + + var hideLinks = jsPlumb.getSelector(".drag-drop-demo .hide"); + instance.on(hideLinks, "click", function (e) { + instance.toggleVisible(this.getAttribute("rel")); + jsPlumbUtil.consume(e); + }); + + var dragLinks = jsPlumb.getSelector(".drag-drop-demo .drag"); + instance.on(dragLinks, "click", function (e) { + var s = instance.toggleDraggable(this.getAttribute("rel")); + this.innerHTML = s ? "disable dragging" : "enable dragging"; + jsPlumbUtil.consume(e); + }); + + var detachLinks = jsPlumb.getSelector(".drag-drop-demo .detach"); + instance.on(detachLinks, "click", function (e) { + instance.deleteConnectionsForElement(this.getAttribute("rel")); + jsPlumbUtil.consume(e); + }); + + // ! reset + instance.on(Scenes.items.btn_reset_connections.item, "click", function (e) { + // instance.detachEveryConnection(); + instance.deleteEveryConnection() + showConnectionInfo(""); + jsPlumbUtil.consume(e); + }); + }); + + jsPlumb.fire("jsPlumbDemoLoaded", instance); + }); + } + + // calling cable function + // setTimeout(() => { + cable() + // }, 3300); + + // ------ end + + + + return true + }), + (step2 = function () { + setIsProcessRunning(true); + // destory all the connection + Scenes.items.btn_reset_connections.item.click() + getAll(".jtk-endpoint").forEach(ele=>{ + ele.style.display = "none" + }) + + // * for setting the slider to its default value + let sliderValueInput = document.querySelector(".r .value-box input") + sliderValueInput.value = 50 + sliderValueInput.onkeyup() + + Scenes.setStepHeading( + "Step-2", + "Voltage and current waveforms." + ) + function stepTutorial2(){ + + Dom.setBlinkArrowRed(true,30,-15,30,30,-90).play() + setCC("Select the value of Vg") + + sliders.vImg.onclick = ()=>{ + sliderV() + sliders.vImg.click() + Dom.setBlinkArrowRed(true,185,114,null,null,90).play() + setCC("Set the value of D",5) + + sliders.d.onclick = ()=>{ + Dom.setBlinkArrowRed(true,440,40).play() + setCC("Set the value of R") + + sliders.r.onclick = ()=>{ + Dom.setBlinkArrowRed(true,405,-12,30,30,90).play() + setCC("Press Record") + + // sliders.clearOnclick() + } + } + } + } + stepTutorial2() + Scenes.items.btn_next.show(); + + //! Required Items + Scenes.items.record_btn.set(355, -60, 70) + Scenes.items.slider_box.item.style.scale = "0.8"; + Scenes.items.slider_box.show("flex").set(-120, -40); + + Scenes.items.part_2_graph_empty.set(0, -150, 572, 950); + Scenes.items.part_2_graph_1.set(0, -150, 572, 950).hide(); + Scenes.items.part_2_graph_2.set(0, -150, 560, 950).hide(); + Scenes.items.part_2_graph_3.set(0, -150, 560, 950).hide(); + + + // temp text on required positions + let allTempTitles = [ + + //temp titles for inductor + Scenes.items.tempTitle1.setContent("0").set(554+4, -23+25), + Scenes.items.tempTitle2.setContent("0").set(634+4, -23+25), + Scenes.items.tempTitle3.setContent("0").set(690+4, -23+25), + Scenes.items.tempTitle4.setContent("0").set(548+4+2, -3+22), + Scenes.items.tempTitle5.setContent("0").set(548+4+2, 14+22), + Scenes.items.tempTitle6.setContent("0").set(620+4+2, -3+22), + Scenes.items.tempTitle7.setContent("0").set(620+4+2, 14+22), + Scenes.items.tempTitle8.setContent("0").set(694+4, 4+25-3), + + //temp titles for switch + Scenes.items.tempTitle9.setContent("0").set(550, 100+16), + Scenes.items.tempTitle10.setContent("0").set(618+6, 102+12), + Scenes.items.tempTitle11.setContent("0").set(702+6, 100+14), + Scenes.items.tempTitle12.setContent("0").set(547+6, 125+11), + Scenes.items.tempTitle13.setContent("0").set(550+6, 141+11), + Scenes.items.tempTitle14.setContent("0").set(615, 134+9), + Scenes.items.tempTitle15.setContent("0").set(693+4, 132+10), + + //for diode d + Scenes.items.tempTitle16.setContent("0").set(555+5, 228+1), + Scenes.items.tempTitle17.setContent("0").set(618, 228), + Scenes.items.tempTitle18.setContent("0").set(695+5, 228), + Scenes.items.tempTitle19.setContent("0").set(548+6, 255), + Scenes.items.tempTitle20.setContent("0").set(617+6, 249), + Scenes.items.tempTitle21.setContent("0").set(618+6, 266-1), + Scenes.items.tempTitle22.setContent("0").set(703+5, 257), + + //for capacitor + Scenes.items.tempTitle23.setContent("0").set(553+7, 355-10), + Scenes.items.tempTitle24.setContent("0").set(625+7, 355-10), + Scenes.items.tempTitle25.setContent("0").set(698+4, 355-10), + Scenes.items.tempTitle26.setContent("0").set(552+7, 385-13), + Scenes.items.tempTitle27.setContent("0").set(627+6, 376-13), + Scenes.items.tempTitle28.setContent("0").set(629+7, 393-14), + Scenes.items.tempTitle29.setContent("0").set(690+3, 384-13), + + //source maasurements + Scenes.items.tempTitle30.setContent("0").set(268+11, 230), + Scenes.items.tempTitle31.setContent("0").set(340+11, 230), + Scenes.items.tempTitle32.setContent("0").set(412+8, 230), + Scenes.items.tempTitle33.setContent("0").set(264+11+1, 252-2), + Scenes.items.tempTitle34.setContent("0").set(266+11, 269-2), + Scenes.items.tempTitle35.setContent("0").set(264 + 72+11, 252-2), + Scenes.items.tempTitle36.setContent("0").set(266 + 72+11, 269-2), + Scenes.items.tempTitle37.setContent("0").set(411+11-2, 259-1), + + //load measurements + Scenes.items.tempTitle38.setContent("0").set(268+9, 230+128-12+2), + Scenes.items.tempTitle39.setContent("0").set(340+9, 230+128-12+2), + Scenes.items.tempTitle40.setContent("0").set(412+9, 230+128-12+2), + Scenes.items.tempTitle41.setContent("0").set(268+9-3+3, 230+128+25-12-2+2), + Scenes.items.tempTitle42.setContent("0").set(340+9-3, 230+128+25-12-2+2), + Scenes.items.tempTitle43.setContent("0").set(412+9-3, 230+128+25-12-2+2), + ]; + allTempTitles.forEach(ele=>{ + ele.styles({ + color : "white", + backgroundColor : "black", + fontSize: "0.8em", + width : "28px", + }) + }) + + let currentGraph = Scenes.items.part_2_graph_empty + + + // * chage the step size of the sliders + // let dutyRatioSlider = Scenes.items.slider_D.item.children[1].children[0]; + let dutyRatioSlider = Scenes.items.slider_D.item; + let valueInput = document.querySelector(".d .value-box input") + valueInput.readonly = true + dutyRatioSlider.min = "0.25"; + dutyRatioSlider.max = "0.75"; + dutyRatioSlider.step = "0.25" + dutyRatioSlider.value = "0.25" + valueInput.value = 0.25 + + // ! fixing d slider + dutyRatioSlider.oninput = ()=>{ + let sliderImg = document.querySelector(".slider-D-arrow") + let dVal = dutyRatioSlider.value + switch(dVal){ + case "0.25": + sliderImg.style.left = "218px" + valueInput.value = 0.25 + break + case "0.5": + sliderImg.style.left = "242.4px" + valueInput.value = 0.5 + break + case "0.75": + sliderImg.style.left = "269px" + valueInput.value = 0.75 + break + + } + } + dutyRatioSlider.oninput() + + function arrowBlinkForAll(){ + setCC("Change the parameters to see the effect") + anime.timeline({ + easing: "linear", + duration: 1500, + }) + .add({ + delay: 3000, + }) + .add({ + begin(){ + Dom.setBlinkArrowRed(true,30,-15,30,30,-90).play() + } + }) + .add({ + begin(){ + Dom.setBlinkArrowRed(true,185,114,null,null,90).play() + } + }) + .add({ + begin(){ + Dom.setBlinkArrowRed(true,440,40).play() + } + }) + .add({ + begin(){ + Dom.setBlinkArrowRed(true,405,-12,30,30,90).play() + }, + complete(){ + // completed + setIsProcessRunning(false); + Dom.setBlinkArrowRed(-1) + } + }) + } + + // ! onclick for record + let isClicked = false + Scenes.items.record_btn.item.onclick = function () { + Dom.setBlinkArrowRed(-1) + if(isClicked == false){ + arrowBlinkForAll() + isClicked = true + } + // ! Activate the next btn right after the click + // setCC("Click 'Next' to go to next step"); + + // after complete + // Dom.setBlinkArrow(true, 790, 408).play(); + // let allSliderValue = $(".range-slider__value"); + + // let vInValue = Number(allSliderValue[0].innerHTML); + // let dutyRatioValue = Number(allSliderValue[1].innerHTML); + // let resistanceValue = Number(allSliderValue[2].value); + + + // Scenes.items.tempTitle2.setContent(v0); + + let dutyRatioValue = Number(sliders.d.value); + let resistanceValue = Number(sliders.r.value); + let vG = Number(sliders.v.value); + updateValues(vG, dutyRatioValue, resistanceValue); + + let v0 = Number(Formulas.step2.v0(values)).toFixed(1); + let iIn = Number(Formulas.step2.iIn(values)).toFixed(1); + let i0 = Number(Formulas.step2.i0(values)).toFixed(1); + let i1 = Number(Formulas.step2.i0(values)).toFixed(1); + let i2 = Number(Formulas.step2.i0(values)).toFixed(1); + + // ! Calculate And set + function calculateAndUpdateTempTitles(){ + //temp titles for inductor + Scenes.items.tempTitle1.setContent(vG) + Scenes.items.tempTitle2.setContent(Number(v0 - vG).toFixed(1)) + Scenes.items.tempTitle3.setContent("0") + Scenes.items.tempTitle4.setContent(i1) + Scenes.items.tempTitle5.setContent(i2) + Scenes.items.tempTitle6.setContent(i2) + Scenes.items.tempTitle7.setContent(i1) + Scenes.items.tempTitle8.setContent(iIn) + + //temp titles for switch + Scenes.items.tempTitle9.setContent("0") + Scenes.items.tempTitle10.setContent(v0) + Scenes.items.tempTitle11.setContent(Number((1-dutyRatioValue) * v0).toFixed(1)) + Scenes.items.tempTitle12.setContent(i1) + Scenes.items.tempTitle13.setContent(i2) + Scenes.items.tempTitle14.setContent("0") + Scenes.items.tempTitle15.setContent(Number(dutyRatioValue * iIn).toFixed(1)) + + //for diode d + Scenes.items.tempTitle16.setContent(v0) + Scenes.items.tempTitle17.setContent("0") + Scenes.items.tempTitle18.setContent(Number(dutyRatioValue*v0).toFixed(1)) + Scenes.items.tempTitle19.setContent("0") + Scenes.items.tempTitle20.setContent(i2) + Scenes.items.tempTitle21.setContent(i1) + Scenes.items.tempTitle22.setContent(Number((1-dutyRatioValue) * iIn).toFixed(1)) + + //for capacitor + Scenes.items.tempTitle23.setContent(v0) + Scenes.items.tempTitle24.setContent(v0) + Scenes.items.tempTitle25.setContent(v0) + Scenes.items.tempTitle26.setContent(i0) + Scenes.items.tempTitle27.setContent(Number(i2-i0).toFixed(1)) + Scenes.items.tempTitle28.setContent(Number(i1-i0).toFixed(1)) + Scenes.items.tempTitle29.setContent("0") + + //source maasurements + Scenes.items.tempTitle30.setContent(vG) + Scenes.items.tempTitle31.setContent(vG) + Scenes.items.tempTitle32.setContent(vG) + Scenes.items.tempTitle33.setContent(i1) + Scenes.items.tempTitle34.setContent(i2) + Scenes.items.tempTitle35.setContent(i2) + Scenes.items.tempTitle36.setContent(i1) + Scenes.items.tempTitle37.setContent(iIn) + + //load measurements + Scenes.items.tempTitle38.setContent(v0) + Scenes.items.tempTitle39.setContent(v0) + Scenes.items.tempTitle40.setContent(v0) + Scenes.items.tempTitle41.setContent(i0) + Scenes.items.tempTitle42.setContent(i0) + Scenes.items.tempTitle43.setContent(i0) + } + + if (dutyRatioValue == 0.25) { + updateValues(vG, dutyRatioValue, resistanceValue); + + calculateAndUpdateTempTitles() + + currentGraph.hide(); + Scenes.items.part_2_graph_1.show(); + currentGraph = Scenes.items.part_2_graph_1; + } + + if (dutyRatioValue == 0.5) { + + updateValues(vG, dutyRatioValue, resistanceValue); + + calculateAndUpdateTempTitles() + + currentGraph.hide(); + Scenes.items.part_2_graph_2.show(); + currentGraph = Scenes.items.part_2_graph_2; + } + + if (dutyRatioValue == 0.75) { + + updateValues(vG, dutyRatioValue, resistanceValue); + + calculateAndUpdateTempTitles() + + currentGraph.hide(); + Scenes.items.part_2_graph_3.show(); + currentGraph = Scenes.items.part_2_graph_3; + + + } + }; + + + + return true + }), + (step3 = function () { + setIsProcessRunning(true); + + // todo all previous elements hide + Dom.hideAll(); + Scenes.items.contentAdderBox.item.innerHTML = "" + Scenes.items.btn_next.show() + + Scenes.setStepHeading("Step-3", "Performance Analysis."); + setCC("Click on the 'ICON' to plot the performance characteristics.") + + // * remove all previous restrictions + + // * Required Elements + + Scenes.items.circuit_full_2.set(6,40,230) + Scenes.items.part_3_option_select.set(650-70, 0, 350) + Scenes.items.part_3_option_1.set(709-70, 30, 60).zIndex(2) + Scenes.items.part_3_option_2.set(725-70, 100, 60).zIndex(2) + Scenes.items.part_3_option_3.set(725-70, 175, 60).zIndex(2) + Scenes.items.part_3_option_4.set(712-70, 248, 60).zIndex(2) + // hide the slider + Scenes.items.slider_box.hide() + // resloving the step to css + Scenes.items.slider_box.item.style.scale = "1"; + + + let rightTicks = [ + Scenes.items.right_tick_1.set(640,35,44).zIndex(2000).hide(), + Scenes.items.right_tick_2.set(655,105,44).zIndex(2001).hide(), + Scenes.items.right_tick_3.set(655,180,44).zIndex(2000).hide(), + Scenes.items.right_tick_4.set(645,255,44).zIndex(2000).hide() + ] + + // hide all tables + Scenes.items.part3_table_one.hide() + Scenes.items.part3_table_two.hide() + Scenes.items.part3_table_three.hide() + Scenes.items.part3_table_four.hide() + Scenes.items.part3_table_four_2.hide() + + // active all sliders + + + // * showing right tick if done + for(let i in rightTicks){ + if(Scenes.optionsDone[i] == 1){ + rightTicks[i].show() + } + } + + + // ! Final Position + // Scenes.items.tableCalc.show() + + // ! onclicks for all options + let options = [ + Scenes.items.part_3_option_1, + Scenes.items.part_3_option_2, + Scenes.items.part_3_option_3, + Scenes.items.part_3_option_4, + ] + + //! RESET ALL THE SLIDER VALUES + sliders.reset() + Scenes.forMathematicalExpressionBtn = 0 + + const opOne = ()=>{ + + + Scenes.optionsDone[0]=1; + Scenes.forMathematicalExpressionBtn = 1 + Scenes.currentStep = 7 + Scenes.steps[0+5]() + } + const opTwo = ()=>{ + + + Scenes.optionsDone[1]=1; + Scenes.forMathematicalExpressionBtn = 2 + Scenes.currentStep = 8 + Scenes.steps[1+5]() + } + const opThree = ()=>{ + + + Scenes.optionsDone[2]=1; + Scenes.forMathematicalExpressionBtn = 3 + Scenes.currentStep = 9 + Scenes.steps[2+5]() + } + const opFour = ()=>{ + + + Scenes.optionsDone[3]=1; + Scenes.forMathematicalExpressionBtn = 4 + Scenes.currentStep = 10 + Scenes.steps[3+5]() + } + options[0].item.onclick = opOne + rightTicks[0].item.onclick = opOne + + options[1].item.onclick = opTwo + rightTicks[1].item.onclick = opTwo + + options[2].item.onclick = opThree + rightTicks[2].item.onclick = opThree + + options[3].item.onclick = opFour + rightTicks[3].item.onclick = opFour + + // ! if all options done then exit + let exit = true + for(let i of Scenes.optionsDone){ + if(i==0){ + exit = false + break + } + } + + if(exit){ + // after complete + Dom.setBlinkArrow(true, 790, 414).play(); + setCC("Click 'Next' to go to next step"); + setIsProcessRunning(false); + Scenes.currentStep = 8 + } + + return true; + + }), + (step4 = function () { + Dom.hideAll(); + // optionsDone + setIsProcessRunning(true); + Scenes.items.btn_next.show() + Scenes.items.contentAdderBox.setContent(""); + Scenes.setStepHeading( + "", + "Ideal voltage gain plot." + ); + // ! show the slider + Scenes.items.slider_box.set(-50,-60).show("flex") + // setCC("Record 7 reading for different Duty Ratio.") + + // ! required item + // circuit full 3 replaced by 2 because of changes + // Scenes.items.circuit_full_2.set(230,-50,175) + // Scenes.items.part_3_option_1.set(10, 170-15) + // Scenes.items.right_tick_1.set(-12,185-15) + // Scenes.items.graph1_arrow.set(-5,6) + Scenes.items.part3_table_one.set(10).show("flex") + Scenes.items.record_btn.set(610,365,60) + Scenes.items.btn_delete.set(730,365) + Scenes.items.btn_reset.set(820,365) + let valuesToMatch = [ + [], + [], + [] + ] + + let table = Scenes.items.part3_table_one.item + let table1 = table.children[0] + let table2 = table.children[1] + let table3 = table.children[2] + let tablesBody = [ + table.children[0].tBodies[0], + table.children[1].tBodies[0], + table.children[2].tBodies[0] + ] + let tableHeadTitle = getAll(".part3_table_one .title") + // * index to handle records + let recordBtnClickIdx = (table3.tBodies[0].rows[6].cells[2].innerHTML==""?0:7) + + // disable voltage slider + disableSlider("v") + + + // ! Tutorial Function + + function stepTutorial2(){ + + Dom.setBlinkArrowRed(true,570,20).play() + setCC("Set the value of R") + + sliders.r.onclick = ()=>{ + Dom.setBlinkArrowRed(true,642,330,null,null,-90).play() + setCC("Press Record") + + sliders.d.onclick = ()=>{ + Dom.setBlinkArrowRed(true,642,330,null,null,-90).play() + setCC("Press Record") + } + } + } + if(recordBtnClickIdx == 0){ + stepTutorial2() + } + + + + // ! graph + // * add x,y parameters for graph + // let graphData = [] + + let graph_box1 = new Dom(".graph_box1") + let graph_box2 = new Dom(".graph_box2") + + Scenes.items.graph1.set(null,null,210,330) + Scenes.items.graph2.set(null,null,210,330) + graph_box2.set(null,145) + + let ctx1 = Scenes.items.graph1.item + let ctx2 = Scenes.items.graph2.item + + let chart1 = Scenes.items.chart.graph1 + let chart2 = Scenes.items.chart.graph2 + let isDataDeleteable = true + if(chart1 == null){ + isDataDeleteable = true + }else{ + isDataDeleteable = false + } + // temp text for adding zero + Scenes.items.tempText.setContent(0).set(565,-89).styles({ + rotate: "-90deg", + backgroundColor: "transparent", + fontSize: "10px", + }) + + function plotGraph(data1=[[],[],[]],data2=[[],[],[]]){ + if(chart1!=null){ + chart1.destroy() + } + if(chart2!=null){ + chart2.destroy() + } + chart1 = new Chart(ctx1, { + type: "scatter", + data: { + datasets: [ + { + label: "24 V", + fill: false, + borderColor: "red", + backgroundColor: "red", + data: data1[0], + }, + { + label: "48 V", + fill: false, + borderColor: "green", + backgroundColor: "green", + data: data1[1], + }, + { + label: "72 V", + fill: false, + borderColor: "blue", + backgroundColor: "blue", + data: data1[2], + }, + ], + }, + options: { + responsive: true, + maintainAspectRatio: false, + scales: { + yAxes: [ + { + scaleLabel: { + display: true, + labelString: "Load Voltage (V )", + fontColor: 'black', + fontSize: 17, + + }, + ticks: { + beginAtZero:true, + fontColor: 'black', + fontSize: 14, + } + }, + ], + xAxes: [ + { + scaleLabel: { + display: true, + labelString: "Duty Ratio (D)", + fontColor: 'black', + fontSize: 17, + }, + ticks: { + beginAtZero:true, + fontColor: 'black', + fontSize: 14, + } + }, + ], + }, + }, + }) + + chart2 = new Chart(ctx2, { + type: "scatter", + data: { + datasets: [ + { + label: "24 V", + fill: false, + borderColor: "red", + backgroundColor: "red", + data: data2[0], + }, + { + label: "48 V", + fill: false, + borderColor: "green", + backgroundColor: "green", + data: data2[1], + }, + { + label: "72 V", + fill: false, + borderColor: "blue", + backgroundColor: "blue", + data: data2[2], + }, + ], + }, + options: { + responsive: true, + maintainAspectRatio: false, + scales: { + yAxes: [ + { + scaleLabel: { + display: true, + labelString: "Voltage Gain (M)", + fontColor: 'black', + fontSize: 17, + + }, + ticks: { + beginAtZero:true, + fontColor: 'black', + fontSize: 14, + } + }, + ], + xAxes: [ + { + scaleLabel: { + display: true, + labelString: "Duty Ratio (D)", + fontColor: 'black', + fontSize: 17, + }, + ticks: { + beginAtZero:true, + fontColor: 'black', + fontSize: 14, + } + }, + ], + }, + }, + }) + + Scenes.items.chart.graph1 = chart1 + Scenes.items.chart.graph2 = chart2 + graph_box1.set(null,null,210,330) + graph_box2.set(null,null,210,330) + // Scenes.items.graph1.set(null,null,210,330) + // Scenes.items.graph2.set(null,null,210,330) + + } + + + // get data + function setDataToGraph(){ + Dom.setBlinkArrowRed(-1) + sliders.d.onclick = ()=>{} + isDataDeleteable = false + let data1 = [ + [], + [], + [], + ] + let data2 = [ + [], + [], + [], + ] + + tablesBody.forEach((table,idx)=>{ + let axes1 = [] + let axes2 = [] + for(let i=0;i{ + ele.classList.add("deactive") + }) + if(idx!=-1) + thead[idx].classList.remove("deactive") + } + activePortion(0) + + // ! ------------> If data already present plot the graph + if(table3.tBodies[0].rows[6].cells[2].innerHTML !== ""){ + // setDataToGraph()= + setIsProcessRunning(false) + Scenes.currentStep = 4 + + recordBtnClickIdx = 21 + let r=7 + let tab=3 + // * to get old values from table for matching + for(let i=0;i 21) || !isDataDeleteable){ + return + } + + if(recordBtnClickIdx==0){ + activePortion(0) + }else if(recordBtnClickIdx==7){ + activePortion(0) + sliders.vImg.click() + sliders.vImg.click() + currentTableIdx = 0 + }else if(recordBtnClickIdx==14){ + activePortion(1) + sliders.vImg.click() + sliders.vImg.click() + currentTableIdx = 1 + } + if((recordBtnClickIdx-1)%7==0 || (recordBtnClickIdx-2)%7==0){ + tablesBody[currentTableIdx].rows[(recordBtnClickIdx-1)%7].cells[1].innerHTML = "" ; + tablesBody[currentTableIdx].rows[(recordBtnClickIdx-1)%7].cells[2].innerHTML = "" ; + }else{ + tablesBody[currentTableIdx].rows[(recordBtnClickIdx-1)%7].cells[0].innerHTML = "" ; + tablesBody[currentTableIdx].rows[(recordBtnClickIdx-1)%7].cells[1].innerHTML = "" ; + tablesBody[currentTableIdx].rows[(recordBtnClickIdx-1)%7].cells[2].innerHTML = "" ; + } + recordBtnClickIdx = recordBtnClickIdx-1 + if(recordBtnClickIdx==0){ + disableSlider("reset") + disableSlider("v") + } + valuesToMatch[currentTableIdx].pop() + } + + //! onclick for reset + Scenes.items.btn_reset.item.onclick = function(){ + function tableReset(){ + tablesBody.forEach((table,idx)=>{ + for(let i=0;i{} + // Dom.setBlinkArrowRed(true,642,330,null,null,-90).play() + // setCC("Press Record") + // }else{ + // Dom.setBlinkArrowRed(true,295,75).play() + // setCC("Change the value of D") + // // slidersBox[1].onclick = ()=>{ + // // Dom.setBlinkArrowRed(true,180,280).play() + // // setCC("Press record button",7) + // // } + // } + + let vInValue = Number(sliders.v.value) + let dutyRatioValue = Number(sliders.d.value) + let resistanceValue = Number(sliders.r.value) + + if(recordBtnClickIdx<7){ + vInValue = 24 + currentTableIdx = 0 + }else if(recordBtnClickIdx<14){ + vInValue = 48 + currentTableIdx = 1 + }else if(recordBtnClickIdx<21){ + vInValue = 72 + currentTableIdx = 2 + } + if(recordBtnClickIdx==0){ + activePortion(0) + }else if(recordBtnClickIdx==6){ + activePortion(1) + sliders.vImg.click() + }else if(recordBtnClickIdx==13){ + activePortion(2) + sliders.vImg.click() + } + if(recordBtnClickIdx%7==0){ + dutyRatioValue = 0.1 + }else if((recordBtnClickIdx-1)%7==0){ + dutyRatioValue = 0.9 + } + // diable resistance + if(recordBtnClickIdx==0){ + disableSlider("r") + } + + updateValues(vInValue,dutyRatioValue,resistanceValue) + + // ! Can't select same values + // todo do it <21 back + if(recordBtnClickIdx < 21 && valuesToMatch[currentTableIdx].indexOf(dutyRatioValue)!=-1){ + setCC("Please select different value.") + return + }else if(recordBtnClickIdx < 21){ + valuesToMatch[currentTableIdx].push(dutyRatioValue) + } + + // ! sort the data + if(recordBtnClickIdx==21){ + var rows = null + + function sortTable(){ + function so(){ + let n=7 + for(let i=0;i rows[j+1].cells[0].innerHTML){ + let temp = rows[j].innerHTML + rows[j].innerHTML = rows[j+1].innerHTML + rows[j+1].innerHTML = temp + } + } + } + } + for(let i=0;i<3;i++){ + rows = tablesBody[i].rows + so() + } + + } + sortTable() + + // * plot the graph + // adding parameter to x,y graph + // ! calling the graph update function + setDataToGraph() + + // after complete + Dom.setBlinkArrow(true, 790, 408).play() + setCC("Click 'Next' to go to next step") + setIsProcessRunning(false) + Scenes.currentStep = 4 + } + + if(recordBtnClickIdx < 21){ + let tableRow = tablesBody[currentTableIdx].rows[recordBtnClickIdx++%7] + tableRow.cells[0].innerHTML = dutyRatioValue + tableRow.cells[1].innerHTML = Number(Formulas.ideal.v0(values)).toFixed(2) + tableRow.cells[2].innerHTML = Number(Formulas.ideal.M(values)).toFixed(2) + } + + // warning for sorting the data + if(recordBtnClickIdx==7){ + setCC("Click 'Record' to sort the table according to D and plot the graph.") + } + + + } + + return true; + + }), + (step5 = function () { + setIsProcessRunning(true); + Dom.hideAll() + Scenes.setStepHeading( + "", + "Non-ideal gain." + ); + // setCC("Record 7 reading for 3 different load resistances.") + // ! show the slider + Scenes.items.slider_box.set(-50,-60) + Scenes.items.btn_next.show() + + + //! Required Items + // Scenes.items.circuit_full_3.set(230,-50,150) + // Scenes.items.part_3_option_2.set(-20, 170-120).zIndex(2000) + // Scenes.items.right_tick_1.set(-3,185-120).zIndex(2000) + Scenes.items.part3_table_two.show("flex") + // Scenes.items.graph2_arrow.set(-5,0) + Scenes.items.record_btn.set(750,270,70) + Scenes.items.btn_reset.set(770,350) + + + // Scenes.items.btn_delete.set(100+20,350) + + // to access thead of the table + // Scenes.items.part3_table_two.item.children[0].tHead.rows[0].innerHTML + + let table = Scenes.items.part3_table_two.item + let table1 = table.children[0] + let table2 = table.children[1] + let table3 = table.children[2] + let tableSliderInput = getAll(".table-slider-box input") + + // for toggle the deactive section of slider + function activeSlider(num){ + let tableSlider = getAll(".table-slider") + tableSlider.forEach(ele=>{ + ele.classList.add("deactive") + }) + tableSlider[num].classList.remove("deactive") + } + + // to handle records + let recordBtnClickIdx = (table3.rows[8].cells[1].innerHTML==""?0:1) + + if(table3.rows[8].cells[1].innerHTML==""){ + // initially active first slider + activeSlider(0) + } + + + + // hide side bar + // Scenes.items.slider_R.item.style.opacity = 0 + // Scenes.items.slider_D.item.style.opacity = 0 + // Scenes.items.slider_R.hide() + // Scenes.items.slider_D.hide() + + + + // ! graph + Scenes.items.graph3.set(null,null,200,340) + let ctx = Scenes.items.graph3.item + + let xLabel = "Duty Ratio (D)" + let yLabel = "Voltage Gain (M)" + let chart = null + + function plotGraph(){ + chart = new Chart(ctx,{ + type: "scatter", + options: { + scales: { + yAxes: [ + { + scaleLabel: { + display: true, + labelString: yLabel, + fontColor: 'black', + fontSize: 17, + + }, + ticks: { + beginAtZero:true, + fontColor: 'black', + fontSize: 14, + } + }, + ], + xAxes: [ + { + scaleLabel: { + display: true, + labelString: xLabel, + fontColor: 'black', + fontSize: 17, + }, + ticks: { + beginAtZero:true, + fontColor: 'black', + fontSize: 14, + } + }, + ], + }, + }, + }) + } + + const graph = { + addDataset: (label,bgColor,data)=>{ + chart.data.datasets.push( + { + label: label, + fill: false, + borderColor: bgColor, + backgroundColor: bgColor, + data: data, + } + ) + chart.update() + }, + addData(index,data){ + if(data==undefined){ + return + } + chart.data.datasets[index].data.push(data) + chart.update() + }, + removeData(index){ + chart.data.datasets[index].data.pop() + chart.update() + } + } + // ! Tutorial Function + function stepTutorial2(){ + Dom.setBlinkArrowRed(true,60,-50,30,30,-90).play() + setCC("Select the value Vg",6) + + sliders.vImg.onclick = ()=>{ + sliderV() + sliders.vImg.click() + Dom.setBlinkArrowRed(true,125,110,null,null,-90).play() + setCC("Select the value of R1",5) + + tableSliderInput[0].onclick = ()=>{ + Dom.setBlinkArrowRed(true,795,235,null,null,-90).play() + setCC("Press Record") + + tableSliderInput[1].onclick = ()=>{ + Dom.setBlinkArrowRed(true,795,235,null,null,-90).play() + setCC("Press Record") + + tableSliderInput[2].onclick = ()=>{ + Dom.setBlinkArrowRed(true,795,235,null,null,-90).play() + setCC("Press Record") + + tableSliderInput.forEach(ele=>{ + ele.onclick = ()=>{} + }) + } + } + } + } + } + if(recordBtnClickIdx == 0){ + stepTutorial2() + } + + + // stepTutorial() + + // ! ------------> If data already present plot the graph + if(table3.rows[8].cells[1].innerHTML !== ""){ + setIsProcessRunning(false) + Scenes.currentStep = 4 + }else{ + plotGraph() + Scenes.items.graph3.set(null,null,200,340) + } + + // ! 7 fixed dutry ration + let dutyRatio = [0.1,0.5,0.8,0.84,0.87,0.9,0.93] + + // duty ratio will be disabled for all + disableSlider("r") + disableSlider("d") + + + + + // console.log("sneha") + // console.log(table1.tHead.rows[0]) + // ! Reset Button onclick + const resetAll = ()=>{ + // todo reset the button style 5,10,15... + // and table data + } + + // //!onclick for delete btn + // Scenes.items.btn_delete.item.onclick = function(){ + // if(recordBtnClickIdx == 0 || recordBtnClickIdx > 7){ + // return + // } + // let row = table.tBodies[0].rows + // let n=11 + + // for(let i=1;i{ + ele.disabled = false + ele.value = ele.min + }) + + var tables = [ + table1.tBodies[0].rows, + table2.tBodies[0].rows, + table3.tBodies[0].rows + ] + + // to empty cells of table + for(let table of tables){ + for(let row of table){ + row.cells[1].innerHTML = "" + row.cells[2].innerHTML = "" + } + } + + // deactive others + activeSlider(0) + disableSlider("reset") + + // active v + + + Scenes.steps[6]() + + } + + // ! onclick for record + Scenes.items.record_btn.item.onclick = function(){ + Dom.setBlinkArrow(-1) + + // let allSliderValue = $(".range-slider__value"); + + + + // tableHead1.innerHTML = resistanceValue + // tableHead2.innerHTML = resistanceValue + // tableHead3.innerHTML = resistanceValue + + if(recordBtnClickIdx < 7){ + + let vInValue = Number(sliders.v.value) + let resistanceValue = Number(tableSliderInput[0].value) + tableSliderInput[0].disabled = true + + if(recordBtnClickIdx==0){ + + // ! add dataset to graph + graph.addDataset( + `R = ${resistanceValue}`, + "red", + [] + ) + + // disable the vIn slider after first click + disableSlider("v") + + // tableHead1.cells[0].innerHTML = `R1 = ${resistanceValue} Ω` + // Scenes.items.slider_R.item.children[1].children[0].disabled = true + // Scenes.items.slider_R.item.classList.add("deactive") + } + + + + updateValues( + vInValue, + dutyRatio[(recordBtnClickIdx)%7], + resistanceValue + ) + + let tableRow = table1.tBodies[0].rows[recordBtnClickIdx++] + tableRow.cells[1].innerHTML = Number(Formulas.nonIdeal.v0(values)).toFixed(2) + tableRow.cells[2].innerHTML = Number(Formulas.nonIdeal.M(values)).toFixed(2) + + let x = tableRow.cells[0].innerHTML + let y = Number(Formulas.nonIdeal.M(values)).toFixed(2) + + // ! add data to graph + graph.addData(0,{x:x,y:y}) + + if(recordBtnClickIdx==7){ + // Scenes.items.slider_R.item.children[1].children[0].disabled = false + // Scenes.items.slider_R.item.classList.remove("deactive") + activeSlider(1) + + // show arrow + Dom.setBlinkArrowRed(true,350,110,null,null,-90).play() + setCC("Select the value of R2",5) + + + } + } + else if(recordBtnClickIdx < 14){ + + let vInValue = Number(sliders.v.value) + let resistanceValue = Number(tableSliderInput[1].value) + tableSliderInput[1].disabled = true + + if(recordBtnClickIdx==7){ + // ! add dataset to graph + graph.addDataset( + `R = ${resistanceValue}`, + "green", + [] + ) + } + + if(recordBtnClickIdx%7==0){ + + // tableHead2.cells[0].innerHTML = `R2 = ${resistanceValue} Ω` + // Scenes.items.slider_R.item.children[1].children[0].disabled = true + // Scenes.items.slider_R.item.classList.add("deactive") + } + + + updateValues( + vInValue, + dutyRatio[(recordBtnClickIdx)%7], + resistanceValue + ) + + let tableRow = table2.tBodies[0].rows[recordBtnClickIdx++%7] + console.log(table2.tBodies[0].rows.innerHTML) + tableRow.cells[1].innerHTML = Number(Formulas.nonIdeal.v0(values)).toFixed(2) + tableRow.cells[2].innerHTML = Number(Formulas.nonIdeal.M(values)).toFixed(2) + + let x = tableRow.cells[0].innerHTML + let y = Number(Formulas.nonIdeal.M(values)).toFixed(2) + + // ! add data to graph + graph.addData(1,{x:x,y:y}) + + if(recordBtnClickIdx==14){ + // Scenes.items.slider_R.item.children[1].children[0].disabled = false + // Scenes.items.slider_R.item.classList.remove("deactive") + activeSlider(2) + + // show arrow + Dom.setBlinkArrowRed(true,600,110,null,null,-90).play() + setCC("Select the value of R3",5) + } + } + else if(recordBtnClickIdx < 21){ + + let vInValue = Number(sliders.v.value) + let resistanceValue = Number(tableSliderInput[2].value) + tableSliderInput[2].disabled = true + + if(recordBtnClickIdx==15){ + // ! add dataset to graph + graph.addDataset( + `R = ${resistanceValue}`, + "blue", + [] + ) + } + + if(recordBtnClickIdx == 15){ + // tableHead3.cells[0].innerHTML = `R3 = ${resistanceValue} Ω` + // Scenes.items.slider_R.item.children[1].children[0].disabled = true + // Scenes.items.slider_R.item.classList.add("deactive") + } + + + updateValues( + vInValue, + dutyRatio[(recordBtnClickIdx)%7], + resistanceValue + ) + + let tableRow = table3.tBodies[0].rows[recordBtnClickIdx++%7] + tableRow.cells[1].innerHTML = Number(Formulas.nonIdeal.v0(values)).toFixed(2) + tableRow.cells[2].innerHTML = Number(Formulas.nonIdeal.M(values)).toFixed(2) + + let x = tableRow.cells[0].innerHTML + let y = Number(Formulas.nonIdeal.M(values)).toFixed(2) + + // ! add data to graph + graph.addData(2,{x:x,y:y}) + + if(recordBtnClickIdx==21){ + // after complete + Dom.setBlinkArrowRed(-1) + Dom.setBlinkArrow(true, 790, 408).play(); + setCC("Click 'Next' to go to next step"); + setIsProcessRunning(false); + Scenes.currentStep = 4 + } + } + } + + + + + + return true; + }), + (step6 = function () { + setIsProcessRunning(true); + + Scenes.setStepHeading( + "", + "Efficiency Plot." + ) + // setCC("Record 7 reading for different Load Resistances (R0)") + // ! show the slider + Scenes.items.slider_box.set(-65,-60) + Scenes.items.btn_next.show() + + //! Required Items + // Scenes.items.circuit_full_3.set(230,-50,150) + // Scenes.items.part_3_option_3.set(-30, 155) + Scenes.items.part3_table_three.show() + // Scenes.items.right_tick_1.set(-5,175) + Scenes.items.record_btn.set(770,220,70) + Scenes.items.btn_delete.set(785,290) + Scenes.items.btn_reset.set(787,350) + Scenes.items.part3_table_three.set(20) + let table = Scenes.items.part3_table_three.item + let valuesToMatch = [] + // * index to handle records + let recordBtnClickIdx = (table.tBodies[0].rows[6].cells[4].innerHTML==""?0:7) + + + + // ! graph + Scenes.items.graph4.set(null,null,220,355) + let ctx = Scenes.items.graph4.item + + // let xLabel = "Output Power (Po)" + let xLabel = "" + let yLabel = "Efficiency (%)" + function plotGraph(data,label,xLabel,yLabel,beginAtZero=false){ + let x = new Chart(ctx, { + type: "scatter", + plugins: [{ + afterDraw: chart => { + var ctx = chart.chart.ctx; + ctx.save(); + ctx.textAlign = 'center'; + ctx.font = '18px Arial'; + ctx.fillStyle = 'black'; + ctx.fillText('Output Power (P )', chart.chart.width / 2, chart.chart.height - 24); + ctx.textAlign = 'left'; + ctx.font = '10px Arial'; + ctx.fillText('0', chart.chart.width - 119, chart.chart.height - 12); + ctx.restore(); + }, + + }], + data: { + datasets: [ + { + label: label, + fill: false, + borderColor: "red", + backgroundColor: "red", + data: data, + }, + ], + }, + options: { + scales: { + yAxes: [ + { + scaleLabel: { + display: true, + labelString: yLabel, + fontColor: 'black', + fontSize: 17, + + }, + ticks: { + beginAtZero:beginAtZero, + fontColor: 'black', + fontSize: 14, + } + }, + ], + xAxes: [ + { + scaleLabel: { + display: true, + labelString: xLabel, + fontColor: 'black', + fontSize: 17, + }, + ticks: { + beginAtZero:beginAtZero, + fontColor: 'black', + fontSize: 14, + } + }, + ], + }, + }, + }) + } + + // let slidersBox = document.querySelectorAll(".slider") + // let slidersBox = document.querySelectorAll(".range-slider__range") + function stepTutorial2(){ + + Dom.setBlinkArrowRed(true,50,-50,30,30,-90).play() + setCC("Select the value of Vg") + + sliders.vImg.onclick = ()=>{ + sliderV() + sliders.vImg.click() + Dom.setBlinkArrowRed(true,215,110,null,null,90).play() + setCC("Set the value of D",5) + + sliders.d.onclick = ()=>{ + Dom.setBlinkArrowRed(true,560,20).play() + setCC("Set the value of R") + + sliders.r.onclick = ()=>{ + Dom.setBlinkArrowRed(true,894,226).play() + setCC("Press Record") + + sliders.clearOnclick() + } + } + } + } + if(recordBtnClickIdx == 0){ + stepTutorial2() + } + + + function setDataToGraph(){ + let graphData = [] + var rows = table.tBodies[0].rows + let n = 7 + for(let i=0;i If data already present plot the graph + if(table.tBodies[0].rows[6].cells[2].innerHTML !== ""){ + setIsProcessRunning(false) + Scenes.currentStep = 4 + + recordBtnClickIdx = 7 + let rows = table.tBodies[0].rows + let n=7 + // * to get old values from table for matching + for(let i=0;i 8){ + return + } + let row = table.tBodies[0].rows + let n=11 + + for(let i=1;i{ + Dom.setBlinkArrowRed(true,894,226).play() + setCC("Press Record") + + sliders.clearOnclick() + } + }else{ + Dom.setBlinkArrowRed(-1) + } + + let vInValue = Number(sliders.v.value) + let dutyRatioValue = Number(sliders.d.value) + let resistanceValue = Number(sliders.r.value) + updateValues(vInValue,dutyRatioValue,resistanceValue) + + // ! Can't select same values + if(recordBtnClickIdx < 7 && valuesToMatch.indexOf(resistanceValue)!=-1){ + setCC("Please select different value.") + return + }else{ + valuesToMatch.push(resistanceValue) + } + + // ! sort the data + if(recordBtnClickIdx==7){ + + function sortTable(){ + var rows = table.tBodies[0].rows + + let n=7 + for(let i=0;i val2){ + let temp = rows[j].innerHTML + rows[j].innerHTML = rows[j+1].innerHTML + rows[j+1].innerHTML = temp + } + } + } + for(let i=0;i6){ + // // after complete + // Dom.setBlinkArrow(true, 790, 408).play(); + // setCC("Click 'Next' to go to next step"); + // setIsProcessRunning(false); + // Scenes.currentStep = 4 + // } + // warning for sorting the data + if(recordBtnClickIdx==7){ + setCC("Click 'Record' to sort the table according to D and plot the graph.") + } + } + + + + + return true + }), + (step7 = function () { + setIsProcessRunning(true); + + Scenes.setStepHeading( + "", + "Component Stress" + ) + // ! show the slider + Scenes.items.slider_box.set(-70,-60) + Scenes.items.btn_next.show() + + //! Required Items + // Scenes.items.circuit_full_2.set(270,0,160) + // Scenes.items.part_3_option_4.set(-30, 170,100,220) + // Scenes.items.right_tick_1.set(-12,185) + Scenes.items.part3_table_four.set(10,170) + Scenes.items.part3_table_four_2.set(10,240) + Scenes.items.record_btn.set(465,180,60) + // Scenes.items.part_3_option_4_graph.set(295,-60,60) + + let styles = { + color: "black", + backgroundColor: "white", + width: "80px", + rotate: "-90deg" + } + // Scenes.items.tempTitle1.set(548,25).zIndex(4000).setContent("Switch").styles(styles) + // Scenes.items.tempTitle2.set(548,150).zIndex(4000).setContent("Diode").styles(styles) + // Scenes.items.tempTitle3.set(548,290).zIndex(4000).setContent("Capacitor").styles(styles) + let graph_box5 = new Dom(".graph_box5") + let graph_box6 = new Dom(".graph_box6") + // ! graph + // Scenes.items.graph4.set(null,null,190,290) + let graph_h = 230 + let graph_w = 320 + Scenes.items.graph5.set(null,0,graph_h,320).styles({marginLeft: "15px"}) + Scenes.items.graph6.set(null,180,graph_h,320).styles({marginLeft: "15px"}) + + graph_box5.set(575,-70,graph_h,365) + graph_box6.set(575,180,graph_h,365) + let table = Scenes.items.part3_table_four.item + + let ctx2 = Scenes.items.graph5.item + let chart2 = Scenes.items.chart.graph5 + + let ctx3 = Scenes.items.graph6.item + let chart3 = Scenes.items.chart.graph6 + + function plotGraph(){ + let data = { + labels: ['Sw', 'Di', 'C'], + datasets: [ + { + label: 'Voltage Stress', + backgroundColor: 'rgba(255, 0, 0, 1)', + borderColor: 'rgba(255, 0, 0, 1)', + borderWidth: 1, + data: [] + }, + // { + // label: 'Current Stress', + // backgroundColor: 'rgba(0, 0, 255, 1)', + // borderColor: 'rgba(0, 0, 255, 1)', + // borderWidth: 1, + // data: [] + // }, + { + label: 'Power', + backgroundColor: 'rgba(0, 128, 0, 1)', + borderColor: 'rgba(0, 128, 0, 1)', + borderWidth: 1, + data: [], + } + ] + }; + + let options = { + maintainAspectRatio: false, + scales: { + xAxes: [{ + ticks: { + fontSize: 17, + fontWeight: 'bold', + fontColor: 'black', + beginAtZero: true + } + }], + yAxes: [{ + ticks: { + display: true, + fontSize: 17, + fontWeight: 'bold', + fontColor: 'black', + // beginAtZero: true, + // autoSkip: false, + // position: "right", + // maxRotation: 90, // Rotate labels to 90 degrees + // minRotation: 90, + // callback: function(value) { + // return value // You can add custom formatting here if needed + // } + } + }] + } + }; + + chart2 = new Chart(ctx2, { + type: 'horizontalBar', + data: data, + options: options + }); + Scenes.items.chart.graph5 = chart2 + Scenes.items.graph5.set(0,0,graph_h,345) + } + function plotGraph2(){ + let data = { + labels: ['Sw', 'Di', 'C'], + datasets: [ + { + label: 'Current Stress', + backgroundColor: 'rgba(0, 0, 255, 1)', + borderColor: 'rgba(0, 0, 255, 1)', + borderWidth: 1, + data: [] + }, + ] + }; + + let options = { + maintainAspectRatio: false, + scales: { + xAxes: [{ + ticks: { + fontSize: 17, + fontWeight: 'bold', + fontColor: 'black', + beginAtZero: true + } + }], + yAxes: [{ + ticks: { + display: true, + fontSize: 17, + fontWeight: 'bold', + fontColor: 'black', + // beginAtZero: true, + // autoSkip: false, + // position: "right", + // maxRotation: 90, // Rotate labels to 90 degrees + // minRotation: 90, + // callback: function(value) { + // return value // You can add custom formatting here if needed + // } + } + }] + } + }; + + chart3 = new Chart(ctx3, { + type: 'horizontalBar', + data: data, + options: options + }); + Scenes.items.chart.graph6 = chart3 + Scenes.items.graph6.set(0,0,graph_h,345) + } + + + // let slidersBox = document.querySelectorAll(".slider") + let slidersBox = document.querySelectorAll(".range-slider__range") + function stepTutorial2(){ + + + Dom.setBlinkArrowRed(true,50,-50,30,30,-90).play() + setCC("Select the value of Vg") + + sliders.vImg.onclick = ()=>{ + sliderV() + sliders.vImg.click() + Dom.setBlinkArrowRed(true,215,110,null,null,90).play() + setCC("Set the value of D",5) + + sliders.d.onclick = ()=>{ + Dom.setBlinkArrowRed(true,560,20).play() + setCC("Set the value of R") + + sliders.r.onclick = ()=>{ + Dom.setBlinkArrowRed(true,504,140,30,30,-90).play() + setCC("Press Record") + + sliders.clearOnclick() + } + } + } + + } + if(table.tBodies[0].rows[0].cells[3].innerHTML == ""){ + stepTutorial2() + } + const graph = { + addDataset(chart,label,bgColor,data){ + chart.data.datasets.push( + { + label: label, + fill: true, + borderColor: bgColor, + data: data, + } + ) + chart.update() + }, + addData(chart,index,data){ + console.log(data) + if(data.length > 0){ + chart.data.datasets[index].data = data + }else{ + chart.data.datasets[index].data.push(data) + } + chart.update() + } + } + + // ! ------------> If data already present plot the graph + if(table.tBodies[0].rows[0].cells[6].innerHTML !== ""){ + setIsProcessRunning(false) + Scenes.items.graph5.set(0,0,graph_h,345) + Scenes.items.graph6.set(0,0,graph_h,345) + Scenes.currentStep = 4 + }else{ + plotGraph() + plotGraph2() + } + + + // ! onclick for record + Scenes.items.record_btn.item.onclick = function(){ + Dom.setBlinkArrowRed(-1) + + let vInValue = Number(sliders.v.value) + let dutyRatioValue = Number(sliders.d.value) + let resistanceValue = Number(sliders.r.value) + + updateValues(vInValue,dutyRatioValue,resistanceValue) + + let tableRow = table.tBodies[0].rows[0] + tableRow.cells[1-1].innerHTML = vInValue + tableRow.cells[2-1].innerHTML = dutyRatioValue + tableRow.cells[3-1].innerHTML = resistanceValue + tableRow.cells[4-1].innerHTML = Number(Formulas.stress.v0(values)).toFixed(2) + tableRow.cells[5-1].innerHTML = Number(Formulas.stress.M(values)).toFixed(2) + tableRow.cells[6-1].innerHTML = Number(Formulas.stress.i2(values)).toFixed(2) + tableRow.cells[7-1].innerHTML = Number(Formulas.stress.i0(values)).toFixed(2) + + + let v0 = Number(Formulas.stress.v0(values)).toFixed(2) + let i2 = Number(Formulas.stress.i2(values)).toFixed(2) + let ic = Number(Formulas.stress.i2(values) - Formulas.stress.i0(values)).toFixed(2) + let pSw = Number(Formulas.stress.pSw(values)).toFixed(2) + let pDi = Number(Formulas.stress.pDi(values)).toFixed(2) + + // table two changes + let table2Row = Scenes.items.part3_table_four_2.item.tBodies[0].rows + table2Row[0].cells[1].innerHTML = `> v0 (${v0})` + table2Row[1].cells[1].innerHTML = `> v0 (${v0})` + table2Row[2].cells[1].innerHTML = `> v0 (${v0})` + + table2Row[0].cells[2].innerHTML = `> i2 (${i2})` + table2Row[1].cells[2].innerHTML = `> i2 (${i2})` + table2Row[2].cells[2].innerHTML = `> (i2-i0)(${ic})` + + table2Row[0].cells[3].innerHTML = `> PSw (${pSw})` + table2Row[1].cells[3].innerHTML = `> i2 (${pDi})` + + // ! add values to graph + let graph2_voltageStress = [v0,v0,v0] + let graph2_currentStress = [i2,i2,ic] + let graph2_power = [pSw,pDi] + + // ! destroy and show new graph + // plotGraph() + graph.addData(chart2,0,graph2_voltageStress) + graph.addData(chart2,1,graph2_power) + + graph.addData(chart3,0,graph2_currentStress) + // after complete + Dom.setBlinkArrow(true, 790, 408).play(); + // setCC("Click 'Next' to go to next step"); + setIsProcessRunning(false); + Scenes.currentStep = 4 + + // ! fix resistance value to its original + // resistanceSlider.min = 10 + // resistanceSlider.max = 500 + // resistanceSlider.step = 1 + // resistanceSlider.value = 10 + // resistanceSlider.oninput = ()=>{} + } + + + + return true + + }), + + // !Experimental result section + //! R LOAD Waveforms section + (step8 = function () { + setIsProcessRunning(true); + // to hide previous step + + //! Required Items + Scenes.items.btn_next.show(); + Scenes.items.slider_box.hide(); + + //r load click + let arrowIdx = 0; + let arrows = [ + // () => { + // Dom.setBlinkArrowRed(true, 669, 73, 30, null, 180).play(); + // arrowIdx++; + // }, + () => { + Dom.setBlinkArrowRed(true, 669, 164-15, 30, null, 180).play(); + arrowIdx++; + }, + () => { + Dom.setBlinkArrowRed(true, 669, 256, 30, null, 180).play(); + arrowIdx++; + }, + () => { + Dom.setBlinkArrowRed(-1); + }, + ]; + + arrows[arrowIdx](); + setCC("To View the experimental waveforms select the parameters and proceed further."); + Scenes.items.components_r_load.set(0, -36, 350); + + let btns = [ + // Scenes.items.btn_input_voltage.set(719, 159 - 92, 47).zIndex(1), + Scenes.items.btn_input_voltage.set(719, 159-15, 47).zIndex(1), + Scenes.items.btn_load_resistance.set(719, 159 + 92, 47).zIndex(1), + ]; + + let vals = [ + // Scenes.items.val_v + // .set(719, 35 + 159 - 92, 47) + // .zIndex(1) + // .hide(), + Scenes.items.val_v + .set(719, 35 + 159-15, 47) + .zIndex(1) + .hide(), + Scenes.items.val_r + .set(719, 35 + 159 + 92, 47) + .zIndex(1) + .hide(), + ]; + + let optionsClick = [0, 0]; + let btn_see_waveforms = Scenes.items.bnt_click + .set(600, 374, 43) + .zIndex(1); + + btns.forEach((btn, idx) => { + btn.item.onclick = () => { + arrows[arrowIdx](); + vals[idx].show(); + optionsClick[idx] = 1; + if (optionsClick.indexOf(0) == -1) { + Scenes.items.circle.set(580, 346, 93); + btn_see_waveforms.item.classList.add("btn-img"); + let scaleBtn = anime({ + targets: Scenes.items.bnt_click.item, + scale: [1, 1.1], + duration: 1000, + easing: "linear", + loop: true, + }); + btn_see_waveforms.item.onclick = () => { + scaleBtn.reset(); + waveformShow(); + }; + } + }; + }); + + let scenes = [ + Scenes.items.r_load_click_1.set(15, -30, 444).hide(), + Scenes.items.r_load_click_2.set(15, -30, 444).hide(), + Scenes.items.r_load_click_3.set(15, -30, 444).hide(), + Scenes.items.r_load_click_4.set(15, -30, 444).hide(), + ]; + + let waveformShow = () => { + vals.forEach((_, idx) => { + btns[idx].hide(); + vals[idx].hide(); + }); + Scenes.items.circle.set(580, 346, 93).hide(); + Scenes.items.bnt_click.hide(); + Scenes.items.components_r_load.hide(); + + // Dom.setBlinkArrowRed(true, 555, 162, 30, null, 0).play(); + Dom.setBlinkArrowRed(-1) + + + scenes[0].show(); + setCC( + "The experimental waveforms discussion is given here." + ); + setCC("The load voltage increases with duty ratio, however, due to parasitics of the components load voltage start reducing in high duty ratio range.") + + setTimeout(() => { + // setCC("Click 'Next' to go to next step"); + Dom.setBlinkArrow(true, 790, 415).play(); + setIsProcessRunning(false); + }, 6000); + }; + + return true; + }), + //! R LOAD CLICK 2 + (step9 = function () { + setIsProcessRunning(true); + + //! Required Items + Scenes.items.btn_next.show(); + Scenes.items.slider_box.hide(); + // to hide previous step + Scenes.items.r_load_click_2.set(15, -30, 444); + Dom.setBlinkArrowRed(true, 555, 97, 30, null, 0).play(); + + setCC( + "This is the PWM driving signal and its duty ratio is 0.75 approximately." + ); + + setTimeout(() => { + // setCC("Click 'Next' to go to next step"); + Dom.setBlinkArrow(true, 790, 415).play(); + setIsProcessRunning(false); + }, 7000); + + //! Required Items + + return true; + }), + //! R LOAD CLICK 3 + (step10 = function () { + setIsProcessRunning(true); + + //! Required Items + Scenes.items.btn_next.show(); + Scenes.items.slider_box.hide(); + // to hide previous step + Scenes.items.r_load_click_3.set(15, -30, 444); + Dom.setBlinkArrowRed(true, 555, 171, 30, null, 0).play(); + + setCC( + "Here, the inductor current waveform is shown which increases during switch-ON period and decreases when the switch is in OFF-state." + ); + + setTimeout(() => { + // setCC("Click 'Next' to go to next step"); + Dom.setBlinkArrow(true, 790, 415).play(); + setIsProcessRunning(false); + }, 7000); + + //! Required Items + + return true; + }), + //! R LOAD CLICK 4 + (step11 = function () { + setIsProcessRunning(true); + + //! Required Items + Scenes.items.btn_next.show(); + Scenes.items.slider_box.hide(); + // to hide previous step + Scenes.items.r_load_click_4.set(15, -30, 444); + Dom.setBlinkArrowRed(true, 555, 228, 30, null, 0).play(); + + setCC( + "Voltage across the diode is equal to load voltage when switch is in ON-state and it is close to zero when diode conducts." + ); + + setTimeout(() => { + // setCC("Click 'Next' to go to next step"); + Dom.setBlinkArrow(true, 790, 415).play(); + setIsProcessRunning(false); + }, 7000); + + //! Required Items + + return true; + }), + //! R LOAD CLICK 5 + (step12 = function () { + setIsProcessRunning(true); + + //! Required Items + Scenes.items.btn_next.show(); + Scenes.items.slider_box.hide(); + + // to hide previous step + Scenes.items.rl_load_click_4.set(15, -30, 444); + Dom.setBlinkArrowRed(true, 555, 317, 30, null, 0).play(); + // Dom.setBlinkArrowRed(-1) + + setCC( + "Voltage across the switch is equal to load voltage when switch is in OFF-state and it is close to zero when it conducts." + ); + + setTimeout(() => { + // setCC("Click 'Next' to go to next step"); + // Dom.setBlinkArrow(true, 790, 415).play(); + // setIsProcessRunning(false); + setCC("Simulation Done") + }, 3000); + + //! Required Items + + return true; + }), + + ], + // ! For adding realcurrentstep in every step + // ! For tracking the current step accuratly + realCurrentStep: null, + setRealCurrentStep(){ + let count = 0 + this.steps.forEach((step,idx) => { + const constCount = count + let newStep = () => { + this.realCurrentStep = constCount; + console.log(`RealCurrentStep: ${this.realCurrentStep}`) + return step(); + }; + + count++; + this.steps[idx] = newStep + }); + }, + back() { + //! animation isRunning + // if (isRunning) { + // return; + // } + if (this.currentStep > 1) { + Scenes.items.btn_next.setContent("Next"); + Scenes.items.btn_next.item.onclick = ()=>{} + this.currentStep -= 2; + this.steps[this.currentStep]() + this.currentStep++ + backDrawerItem() + backProgressBar() + } + }, + next() { + let ignore = true + const ignoreDrawerProgress = ()=>{ + let stepsToIgnore = [5,6,7,8] + console.log(this.realCurrentStep) + ignore = stepsToIgnore.indexOf(this.realCurrentStep) != -1 + return + } + if(!this.realCurrentStep){ + Scenes.setRealCurrentStep() + } + //! animation isRunning + if (isRunning) { + return + } + if (this.currentStep < this.steps.length) { + ignoreDrawerProgress() + + if (this.steps[this.currentStep]()) { + if(!ignore){ + nextDrawerItem(); + nextProgressBar(); + } + this.currentStep++; + } + } else { + + } + }, +} + +// * slider +// var rangeSlider = function () { +// var slider = $(".range-slider"), +// range = $(".range-slider__range"), +// value = $(".range-slider__value"); + +// slider.each(function () { +// value.each(function () { +// var value = $(this).prev().attr("value"); +// $(this).html(value); +// }); + +// range.on("input", function () { +// $(this).next(value).html(this.value); +// $(this).next(value).val(this.value); +// }); +// }); +// }; +// $(".resistance-input").on("keyup", () => { +// let slider = $(".slider_R .range-slider__range"); +// let input = document.querySelector(".resistance-input"); + +// let min = 1; +// let max = Number(slider.attr("max")); +// // if (input.value < min) { +// // input.value = min; +// // } +// if (input.value > max) { +// input.value = max; +// } +// slider.val(input.value); +// }); +// rangeSlider(); + +// stepcalling +Scenes.currentStep = 1 + +Scenes.next() +// Scenes.steps[3]() +// Scenes.next() +// Scenes.next() + +const nextBtn = get(".btn-next"); + +const backBtn = get(".btn-back"); +nextBtn.addEventListener("click", () => { + Scenes.next(); +}); +backBtn.addEventListener("click", () => { + Scenes.back(); +}); + +// print certificate +get(".btn-save").addEventListener("click", () => { + window.print(); +}); + +let muteBtn = get(".btn-mute"); +muteBtn.addEventListener("click", () => { + if (isMute) { + isMute = false; + muteBtn.src = "./src/images/template_imgs/speech_off_btn.png"; + muteBtn.title = "Click to Mute"; + } else { + isMute = true; + muteBtn.src = "./src/images/template_imgs/speech_on_btn.png"; + muteBtn.title = "Click to Unmute"; + } +}); + +// ! Anime Header Hover Buttons +function btnPopupBox(){ + let popupBtns = document.querySelectorAll(".btn-popup") + let popupWindow = document.querySelector(".btn-popup-window") + + popupBtns[0].onmouseover = ()=>{ + let procedure_1 = new Dom("formulas_procedure_slider_1") + + switch(Scenes.realCurrentStep){ + case 5: + case 6: + case 7: + case 8: + popupWindow.src = procedure_1.item.src + break + + default: + popupWindow.src = Scenes.items.formulas_procedure.item.src + break + } + } + popupBtns[1].onmouseover = ()=>{ + popupWindow.src = Scenes.items.formulas_nomenclautre.item.src + } + popupBtns[2].onmouseover = ()=>{ + switch (Scenes.forMathematicalExpressionBtn) { + case 1: + popupWindow.src = Scenes.items.formulas_ideal.item.src + break; + + case 2: + popupWindow.src = Scenes.items.formulas_non_ideal.item.src + break; + + case 3: + popupWindow.src = Scenes.items.formulas_efficiency.item.src + break; + + case 4: + popupWindow.src = Scenes.items.formulas_component_stress.item.src + break; + + default: + popupWindow.src = Scenes.items.formulas_universal.item.src + break; + } + } +} +btnPopupBox() + +// Scenes.steps[2]() +// Scenes.steps[6]() +// Scenes.steps[5]() +// Scenes.steps[5]() +// Scenes.steps[5]() +// Scenes.steps[6]() + +// i really enjoyed the voice of keybord +// its amazing + +// mouse position +// function getCursor(event) { +// let x = event.clientX; +// let y = event.clientY; +// let _position = `X: ${x - 419}
    Y: ${y - 169}`; + +// const infoElement = document.getElementById("info"); +// infoElement.innerHTML = _position; +// infoElement.style.top = y + "px"; +// infoElement.style.left = x + 20 + "px"; +// } \ No newline at end of file diff --git a/simulation/js/progressBar.js b/simulation/js/progressBar.js new file mode 100644 index 0000000..3bd0277 --- /dev/null +++ b/simulation/js/progressBar.js @@ -0,0 +1,39 @@ +// * progress bar +const prevBtns = document.querySelector(".btn-prev"); +const nextBtns = document.querySelector(".btn-next"); +const progress = document.getElementById("progress"); +const progressSteps = document.querySelectorAll(".progress-step"); + + +let currProgressStep = -1; +// total steps from the number of drawer items +let totalProgressSteps = document.querySelectorAll(".step").length; + +const nextProgressBar = () => { + if(currProgressStep < totalProgressSteps - 1){ + currProgressStep++; + updateProgressbar(); + } +}; + +const backProgressBar = () => { + if(currProgressStep > 0){ + currProgressStep--; + updateProgressbar(); + } +}; + +function updateProgressbar() { + progressSteps.forEach((progressStep, idx) => { + if (idx < currProgressStep + 1) { + progressStep.classList.add("progress-step-active"); + } else { + progressStep.classList.remove("progress-step-active"); + } + }); + + const progressActive = document.querySelectorAll(".progress-step-active"); + + progress.style.width = + ((progressActive.length - 1) / (progressSteps.length - 1)) * 100 + "%"; +} diff --git a/simulation/js/sliders.js b/simulation/js/sliders.js new file mode 100644 index 0000000..435e2ba --- /dev/null +++ b/simulation/js/sliders.js @@ -0,0 +1,185 @@ +function sliderR(reset=false){ + let slider_R = document.querySelector(".slider_R") + let sliderImg = document.querySelector(".slider-R-arrow") + let sliderValueInput = document.querySelector(".r .value-box input") + // ratio to move 450/50 = 1:10 + // max img 71px -> min 120px + let val = 0 + let constVal = 550 + + // slider function + function slide(e){ + e = e instanceof Event + if(e){ + sliderValueInput.value = constVal - slider_R.value + } + else{ + slider_R.value = constVal - sliderValueInput.value + } + val = (slider_R.value / 9.3) - 5 + sliderImg.style.top = `${120 - val}px` + } + + const slideInput = ()=>{ + let val = sliderValueInput.value + if(val > 500){ + val = 500 + } + sliderValueInput.value = val + slide(false) + } + + if(reset){ + sliderValueInput.value = 50 + slide() + } + + slider_R.oninput = slide + slider_R.oninput() + sliderValueInput.onkeyup = slideInput + sliderValueInput.addEventListener("focusout",()=>{ + if(sliderValueInput.value < 50){ + sliderValueInput.value = 50 + } + slide(false) + }) +} +function sliderD(reset=false){ + let slider_D = document.querySelector(".slider_D") + let sliderImg = document.querySelector(".slider-D-arrow") + let sliderValueInput = document.querySelector(".d .value-box input") + let val = 0 + + + + // slider function + function slide(e){ + e = e instanceof Event + if(e){ + sliderValueInput.value = slider_D.value + } + else{ + slider_D.value = sliderValueInput.value + } + val = ((slider_D.value*100) / 1.7) - 5 + sliderImg.style.left = `${218 + val}px` + } + + const slideInput = ()=>{ + let val = sliderValueInput.value + if(val > 0.95){ + val = 0.95 + } + sliderValueInput.value = val + slide(false) + } + + if(reset){ + sliderValueInput.value = 0.1 + slide() + } + + slider_D.oninput = slide + sliderValueInput.onkeyup = slideInput + sliderValueInput.addEventListener("focusout",()=>{ + if(sliderValueInput.value < 0.1){ + sliderValueInput.value = 0.1 + } + slide(false) + }) +} +function sliderV(reset=false){ + let sliderArrow = document.querySelector(".slider-V-arrow") + let sliderValueInput = document.querySelector(".v .value-box input") + + // slider function + function rotateArrow(rot=0){ + if(sliderArrow.classList.contains("slider-v-r3")){ + sliderArrow.classList.remove("slider-v-r3") + sliderArrow.classList.add("slider-v-r1") + sliderValueInput.value = 24 + + }else if(sliderArrow.classList.contains("slider-v-r1")){ + sliderArrow.classList.remove("slider-v-r1") + sliderArrow.classList.add("slider-v-r2") + sliderValueInput.value = 48 + }else if(sliderArrow.classList.contains("slider-v-r2")){ + sliderArrow.classList.remove("slider-v-r2") + sliderArrow.classList.add("slider-v-r3") + sliderValueInput.value = 72 + } + } + + + if(reset){ + sliderArrow.classList.remove("slider-v-r3") + sliderArrow.classList.remove("slider-v-r2") + sliderArrow.classList.add("slider-v-r1") + sliderValueInput.value = 24 + } + + sliderArrow.onclick = rotateArrow +} + +sliderV() +sliderR() +sliderD() + +// for disabling the slider +function disableSlider(sliderName){ + // slider name r d v + function applyDisableStyle(slider,valueBoxInput,sliderBox){ + if(sliderBox != ".v") + document.querySelector(slider).disabled = true + document.querySelector(valueBoxInput).disabled = true + document.querySelector(sliderBox).style.opacity = "0.6" + } + function applyEnableStyle(slider,valueBoxInput,sliderBox){ + if(sliderBox != ".v") + document.querySelector(slider).disabled = false + document.querySelector(valueBoxInput).disabled = false + document.querySelector(sliderBox).style.opacity = 1 + } + switch(sliderName){ + case "r"||"R": + applyDisableStyle(".r .slider_R",".r .value-box",".slider_R") + break + case "d"||"D": + applyDisableStyle(".d .slider_D",".d .value-box",".d") + break + case "v"||"V": + applyDisableStyle(".v .slider_V",".r .value-box",".v") + break + case "reset": + // todo + applyEnableStyle(".r .slider_R",".r .value-box",".slider_R") + applyEnableStyle(".d .slider_D",".d .value-box",".d") + applyEnableStyle(".v .slider_V",".r .value-box",".v") + break + } +} + +let sliders = { + vImg: document.querySelector(".slider-V-arrow"), + v: document.querySelector(".v input"), + d: document.querySelector(".d input"), + r: document.querySelector(".r input"), + reset: ()=>{ + sliderV(true) + sliderD(true) + sliderR(true) + sliders.d.min = "0.1"; + sliders.d.max = "0.9"; + sliders.d.step = "0.01"; + sliders.d.value = "0.01"; + document.querySelector(".d .value-box input").readonly = false + document.querySelector(".slider-D-arrow").style.left = "218px" + disableSlider("reset") + }, + clearOnclick: ()=>{ + sliders.vImg.onclick = ()=>{} + sliders.d.onclick = ()=>{} + sliders.r.onclick = ()=>{} + } +} + diff --git a/simulation/js/src.js b/simulation/js/src.js new file mode 100644 index 0000000..5b771cd --- /dev/null +++ b/simulation/js/src.js @@ -0,0 +1,217 @@ +const src = { + // pick imgs from the dom + + allImgs: [], + allImgsDom: document.querySelectorAll(".main-window-imgs"), + allVideosDom: document.querySelectorAll(".main-window-videos"), + + // ! new added + allQsDom: document.querySelectorAll(".qs"), + + set() { + this.allItems = { + arrowRound: this.allImgsDom[0], + blinkArrow: this.allImgsDom[1], + laerrow: this.allImgsDom[2], + laerrow2: this.allImgsDom[3], + logo: this.allImgsDom[4], + man: this.allImgsDom[5], + measurearrow: this.allImgsDom[6], + measurearrow2: this.allImgsDom[7], + redsize: this.allImgsDom[8], + speech_off_btn: this.allImgsDom[9], + speech_on_btn: this.allImgsDom[10], + talk_cloud: this.allImgsDom[11], + iit_delhi_logo: this.allImgsDom[12], + + box_img: this.allImgsDom[13], + component_battery: this.allImgsDom[14], + component_capacitor: this.allImgsDom[15], + component_diode: this.allImgsDom[16], + component_inductor: this.allImgsDom[17], + component_mosfet: this.allImgsDom[18], + component_register: this.allImgsDom[19], + full_circuit: this.allImgsDom[20], + full_circuit2: this.allImgsDom[21], + + circuit_full_2: this.allImgsDom[22], + circuit_full_3: this.allImgsDom[23], + part_3_graph_arrow: this.allImgsDom[24], + part_3_option_1: this.allImgsDom[25], + part_3_option_2: this.allImgsDom[26], + part_3_option_3: this.allImgsDom[27], + part_3_option_4: this.allImgsDom[28], + record_btn: this.allImgsDom[29], + + part_2_circuit: this.allImgsDom[30], + part_2_graph_1: this.allImgsDom[31], + part_2_graph_2: this.allImgsDom[32], + part_2_graph_3: this.allImgsDom[33], + run_btn: this.allImgsDom[34], + right_tick_1: this.allImgsDom[35], + right_tick_2: this.allImgsDom[36], + right_tick_3: this.allImgsDom[37], + right_tick_4: this.allImgsDom[38], + graph1_arrow: this.allImgsDom[40], + graph2_arrow: this.allImgsDom[41], + part_2_graph_empty: this.allImgsDom[42], + part_3_option_4_graph: this.allImgsDom[43], + + // Theory + + slide_1: this.allImgsDom[44], + slide_2: this.allImgsDom[45], + slide_3_page_1: this.allImgsDom[46], + slide_3_page_2: this.allImgsDom[47], + slide_3_page_3: this.allImgsDom[48], + slide_3_page_4: this.allImgsDom[49], + slide_4_page_1: this.allImgsDom[50], + slide_4_page_1_fan: this.allImgsDom[51], + slide_4_page_2_battery_1: this.allImgsDom[52], + slide_4_page_2_battery_2: this.allImgsDom[53], + slide_4_page_2_battery_3: this.allImgsDom[54], + slide_4_page_2_volt_text: this.allImgsDom[55], + slide_4_page_3_text_1: this.allImgsDom[56], + slide_4_page_3_text_2: this.allImgsDom[57], + slide_4_page_3_wire: this.allImgsDom[58], + slide_5_page_1: this.allImgsDom[59], + slide_5_page_2_text_1: this.allImgsDom[60], + slide_5_page_2_volt_text: this.allImgsDom[61], + slide_5_page_3_1_text_1: this.allImgsDom[62], + slide_5_page_3_2_wire: this.allImgsDom[63], + slide_5_page_3_3_light: this.allImgsDom[64], + slide_5_page_3_4_blast: this.allImgsDom[65], + slide_5_page_3_5_cross: this.allImgsDom[66], + slide_5_page_3_6_emoji: this.allImgsDom[67], + slide_5_page_3_7_text_2: this.allImgsDom[68], + slide_5_page_3_8_text_3: this.allImgsDom[69], + slide_5_page_4_1_text_1: this.allImgsDom[70], + slide_6_page_1: this.allImgsDom[71], + slide_6_page_2_1_text_1: this.allImgsDom[72], + slide_6_page_2_2_emoji_blink: this.allImgsDom[73], + slide_6_page_3_1_text_1: this.allImgsDom[74], + slide_6_page_3_2_emoji_blink: this.allImgsDom[75], + slide_7_page_1_1: this.allImgsDom[76], + slide_7_page_1_2: this.allImgsDom[77], + slide_7_page_1_3: this.allImgsDom[78], + slide_8_page_1: this.allImgsDom[79], + slide_8_page_2_and_rotate_the_fan: this.allImgsDom[80], + slide_8_page_3_1: this.allImgsDom[81], + slide_8_page_3_2_light: this.allImgsDom[82], + slide_8_page_3_3_blank: this.allImgsDom[83], + slide_8_page_3_4_emoji: this.allImgsDom[84], + slide_8_page_3_5_text: this.allImgsDom[85], + slide_9: this.allImgsDom[86], + slide_10_page_1: this.allImgsDom[87], + slide_10_page_2: this.allImgsDom[88], + slide_10_page_3: this.allImgsDom[89], + slide_10_page_4_1: this.allImgsDom[90], + slide_10_page_4_2_plus: this.allImgsDom[91], + slide_10_page_4_3_minus: this.allImgsDom[92], + slide_10_page_4_4_arrow: this.allImgsDom[93], + slide_10_page_4_5_text: this.allImgsDom[94], + slide_11_page_1: this.allImgsDom[95], + slide_11_page_2_1: this.allImgsDom[96], + slide_11_page_2_2_blink: this.allImgsDom[97], + slide_11_page_3_1: this.allImgsDom[98], + slide_11_page_3_2_rotate_it: this.allImgsDom[99], + slide_11_page_3_3_text_and_arrow: this.allImgsDom[100], + slide_12_page_1: this.allImgsDom[101], + slide_12_page_2_1_pwm_blink: this.allImgsDom[102], + slide_12_page_2_2: this.allImgsDom[103], + slide_12_page_2_3_text: this.allImgsDom[104], + slide_12_page_3_1_pwn_blink: this.allImgsDom[105], + slide_12_page_3_2: this.allImgsDom[106], + slide_12_page_3_3_text: this.allImgsDom[107], + slide_12_page_3_4_text_2: this.allImgsDom[108], + slide_13_page_1: this.allImgsDom[109], + slide_13_page_2: this.allImgsDom[110], + slide_13_page_3_1_plus: this.allImgsDom[111], + slide_13_page_3_2_minus_rotate_both: this.allImgsDom[112], + slide_13_page_3_4: this.allImgsDom[113], + slide_13_page_3_5_text: this.allImgsDom[114], + slide_14_helper: this.allImgsDom[115], + slide_14_page_1: this.allImgsDom[116], + slide_14_page_1_ball: this.allImgsDom[117], + slide_14_page_2_1_blink: this.allImgsDom[118], + slide_14_page_2_2_text: this.allImgsDom[119], + slide_14_page_3_1_symbols: this.allImgsDom[120], + slide_14_page_3_2_green_graph_and_start_ball: this.allImgsDom[121], + slide_14_page_3_3_white_image_for_blue_line: this.allImgsDom[122], + slide_15_page_1: this.allImgsDom[123], + slide_15_page_1_ball: this.allImgsDom[124], + slide_15_page_1_green_graph: this.allImgsDom[125], + slide_15_page_1_minus: this.allImgsDom[126], + slide_15_page_1_plus: this.allImgsDom[127], + slide_15_page_2_1_blink: this.allImgsDom[128], + slide_15_page_2_2_text: this.allImgsDom[129], + slide_15_page_3_1_arrow_and_text: this.allImgsDom[130], + slide_15_page_3_1_white: this.allImgsDom[131], + slide_15_page_3_2_graph: this.allImgsDom[132], + slide_15_page_3_3_text: this.allImgsDom[133], + + formulas_component_stress: this.allImgsDom[134], + formulas_efficiency: this.allImgsDom[135], + formulas_ideal: this.allImgsDom[136], + formulas_nomenclautre: this.allImgsDom[137], + formulas_non_ideal: this.allImgsDom[138], + formulas_procedure: this.allImgsDom[139], + formulas_universal: this.allImgsDom[140], + + //EE2 imgs added + part_3_option_select: this.allImgsDom[141], + part_1_text_for_crrct: this.allImgsDom[142], + part_1_text_for_wrong: this.allImgsDom[143], + part_1_text_for_circuit_diagram: this.allImgsDom[144], + part_1_text: this.allImgsDom[145], + btn_hint: this.allImgsDom[146], + hint_box: this.allImgsDom[147], + + //experimental section images added + beta_line_blinking: this.allImgsDom[148], + bnt_click: this.allImgsDom[149], + btn_firing_angle: this.allImgsDom[150], + btn_input_voltage: this.allImgsDom[151], + btn_load_inductance: this.allImgsDom[152], + btn_load_resistance: this.allImgsDom[153], + components_rl_load: this.allImgsDom[154], + components_r_load: this.allImgsDom[155], + rl_load_click_1: this.allImgsDom[156], + rl_load_click_2: this.allImgsDom[157], + rl_load_click_3: this.allImgsDom[158], + rl_load_click_4: this.allImgsDom[159], + r_load_click_1: this.allImgsDom[160], + r_load_click_2: this.allImgsDom[161], + r_load_click_3: this.allImgsDom[162], + r_load_click_4: this.allImgsDom[163], + val_a: this.allImgsDom[164], + val_l: this.allImgsDom[165], + val_r: this.allImgsDom[166], + val_v: this.allImgsDom[167], + circle: this.allImgsDom[168], + formulas_procedure_slider_1: this.allImgsDom[169], + + // * Question Mark + domQs1: this.allQsDom[0], + domQs2: this.allQsDom[1], + domQs3: this.allQsDom[2], + domQs4: this.allQsDom[3], + domQs5: this.allQsDom[4], + domQs6: this.allQsDom[5], + + // * Videos + // yoke_front_to_back: this.allVideosDom[0], + // yoke_front_to_side: this.allVideosDom[1], + // panel1: this.allVideosDom[2], + // panel2: this.allVideosDom[3], + + bfs_video: this.allVideosDom[0], + }; + }, + allImgsInitialAxis: [], + get(itemName) { + return this.allItems[itemName]; + }, +}; +// setting src +src.set(); diff --git a/simulation/src/images/Boost Converter/box_img.png b/simulation/src/images/Boost Converter/box_img.png new file mode 100644 index 0000000..4fa944a Binary files /dev/null and b/simulation/src/images/Boost Converter/box_img.png differ diff --git a/simulation/src/images/Boost Converter/component_battery.png b/simulation/src/images/Boost Converter/component_battery.png new file mode 100644 index 0000000..dae5d82 Binary files /dev/null and b/simulation/src/images/Boost Converter/component_battery.png differ diff --git a/simulation/src/images/Boost Converter/component_capacitor.png b/simulation/src/images/Boost Converter/component_capacitor.png new file mode 100644 index 0000000..94a85fd Binary files /dev/null and b/simulation/src/images/Boost Converter/component_capacitor.png differ diff --git a/simulation/src/images/Boost Converter/component_diode.png b/simulation/src/images/Boost Converter/component_diode.png new file mode 100644 index 0000000..dd8134a Binary files /dev/null and b/simulation/src/images/Boost Converter/component_diode.png differ diff --git a/simulation/src/images/Boost Converter/component_inductor.png b/simulation/src/images/Boost Converter/component_inductor.png new file mode 100644 index 0000000..76c4344 Binary files /dev/null and b/simulation/src/images/Boost Converter/component_inductor.png differ diff --git a/simulation/src/images/Boost Converter/component_mosfet.png b/simulation/src/images/Boost Converter/component_mosfet.png new file mode 100644 index 0000000..71b43ae Binary files /dev/null and b/simulation/src/images/Boost Converter/component_mosfet.png differ diff --git a/simulation/src/images/Boost Converter/component_register.png b/simulation/src/images/Boost Converter/component_register.png new file mode 100644 index 0000000..cce7f7e Binary files /dev/null and b/simulation/src/images/Boost Converter/component_register.png differ diff --git a/simulation/src/images/Boost Converter/full_circuit.png b/simulation/src/images/Boost Converter/full_circuit.png new file mode 100644 index 0000000..4661f8b Binary files /dev/null and b/simulation/src/images/Boost Converter/full_circuit.png differ diff --git a/simulation/src/images/Boost Converter/full_circuit2.png b/simulation/src/images/Boost Converter/full_circuit2.png new file mode 100644 index 0000000..e546fb1 Binary files /dev/null and b/simulation/src/images/Boost Converter/full_circuit2.png differ diff --git a/simulation/src/images/Boost Converter/full_circuit_back.png b/simulation/src/images/Boost Converter/full_circuit_back.png new file mode 100644 index 0000000..5d75642 Binary files /dev/null and b/simulation/src/images/Boost Converter/full_circuit_back.png differ diff --git a/simulation/src/images/Theory/slide_1.png b/simulation/src/images/Theory/slide_1.png new file mode 100644 index 0000000..ef36735 Binary files /dev/null and b/simulation/src/images/Theory/slide_1.png differ diff --git a/simulation/src/images/Theory/slide_10_page_1.png b/simulation/src/images/Theory/slide_10_page_1.png new file mode 100644 index 0000000..bf70632 Binary files /dev/null and b/simulation/src/images/Theory/slide_10_page_1.png differ diff --git a/simulation/src/images/Theory/slide_10_page_2.png b/simulation/src/images/Theory/slide_10_page_2.png new file mode 100644 index 0000000..984a202 Binary files /dev/null and b/simulation/src/images/Theory/slide_10_page_2.png differ diff --git a/simulation/src/images/Theory/slide_10_page_3.png b/simulation/src/images/Theory/slide_10_page_3.png new file mode 100644 index 0000000..e8e9e26 Binary files /dev/null and b/simulation/src/images/Theory/slide_10_page_3.png differ diff --git a/simulation/src/images/Theory/slide_10_page_4_1.png b/simulation/src/images/Theory/slide_10_page_4_1.png new file mode 100644 index 0000000..3720a00 Binary files /dev/null and b/simulation/src/images/Theory/slide_10_page_4_1.png differ diff --git a/simulation/src/images/Theory/slide_10_page_4_2_plus.png b/simulation/src/images/Theory/slide_10_page_4_2_plus.png new file mode 100644 index 0000000..aa83e83 Binary files /dev/null and b/simulation/src/images/Theory/slide_10_page_4_2_plus.png differ diff --git a/simulation/src/images/Theory/slide_10_page_4_3_minus.png b/simulation/src/images/Theory/slide_10_page_4_3_minus.png new file mode 100644 index 0000000..36c8e63 Binary files /dev/null and b/simulation/src/images/Theory/slide_10_page_4_3_minus.png differ diff --git a/simulation/src/images/Theory/slide_10_page_4_4_arrow.png b/simulation/src/images/Theory/slide_10_page_4_4_arrow.png new file mode 100644 index 0000000..1bcf615 Binary files /dev/null and b/simulation/src/images/Theory/slide_10_page_4_4_arrow.png differ diff --git a/simulation/src/images/Theory/slide_10_page_4_5_text.png b/simulation/src/images/Theory/slide_10_page_4_5_text.png new file mode 100644 index 0000000..a9432df Binary files /dev/null and b/simulation/src/images/Theory/slide_10_page_4_5_text.png differ diff --git a/simulation/src/images/Theory/slide_11_page_1.png b/simulation/src/images/Theory/slide_11_page_1.png new file mode 100644 index 0000000..25eb807 Binary files /dev/null and b/simulation/src/images/Theory/slide_11_page_1.png differ diff --git a/simulation/src/images/Theory/slide_11_page_2_1.png b/simulation/src/images/Theory/slide_11_page_2_1.png new file mode 100644 index 0000000..e2bb681 Binary files /dev/null and b/simulation/src/images/Theory/slide_11_page_2_1.png differ diff --git a/simulation/src/images/Theory/slide_11_page_2_2_blink.png b/simulation/src/images/Theory/slide_11_page_2_2_blink.png new file mode 100644 index 0000000..61af494 Binary files /dev/null and b/simulation/src/images/Theory/slide_11_page_2_2_blink.png differ diff --git a/simulation/src/images/Theory/slide_11_page_3_1.png b/simulation/src/images/Theory/slide_11_page_3_1.png new file mode 100644 index 0000000..a1c7674 Binary files /dev/null and b/simulation/src/images/Theory/slide_11_page_3_1.png differ diff --git a/simulation/src/images/Theory/slide_11_page_3_2_rotate_it.png b/simulation/src/images/Theory/slide_11_page_3_2_rotate_it.png new file mode 100644 index 0000000..3a32495 Binary files /dev/null and b/simulation/src/images/Theory/slide_11_page_3_2_rotate_it.png differ diff --git a/simulation/src/images/Theory/slide_11_page_3_3_text_and_arrow.png b/simulation/src/images/Theory/slide_11_page_3_3_text_and_arrow.png new file mode 100644 index 0000000..b467953 Binary files /dev/null and b/simulation/src/images/Theory/slide_11_page_3_3_text_and_arrow.png differ diff --git a/simulation/src/images/Theory/slide_12_page_1.png b/simulation/src/images/Theory/slide_12_page_1.png new file mode 100644 index 0000000..0613e23 Binary files /dev/null and b/simulation/src/images/Theory/slide_12_page_1.png differ diff --git a/simulation/src/images/Theory/slide_12_page_2_1_pwm_blink.png b/simulation/src/images/Theory/slide_12_page_2_1_pwm_blink.png new file mode 100644 index 0000000..a05ef9a Binary files /dev/null and b/simulation/src/images/Theory/slide_12_page_2_1_pwm_blink.png differ diff --git a/simulation/src/images/Theory/slide_12_page_2_2.png b/simulation/src/images/Theory/slide_12_page_2_2.png new file mode 100644 index 0000000..6c20b73 Binary files /dev/null and b/simulation/src/images/Theory/slide_12_page_2_2.png differ diff --git a/simulation/src/images/Theory/slide_12_page_2_3_text.png b/simulation/src/images/Theory/slide_12_page_2_3_text.png new file mode 100644 index 0000000..84401f1 Binary files /dev/null and b/simulation/src/images/Theory/slide_12_page_2_3_text.png differ diff --git a/simulation/src/images/Theory/slide_12_page_3_1_pwn_blink.png b/simulation/src/images/Theory/slide_12_page_3_1_pwn_blink.png new file mode 100644 index 0000000..96dd760 Binary files /dev/null and b/simulation/src/images/Theory/slide_12_page_3_1_pwn_blink.png differ diff --git a/simulation/src/images/Theory/slide_12_page_3_2.png b/simulation/src/images/Theory/slide_12_page_3_2.png new file mode 100644 index 0000000..cc5f7ce Binary files /dev/null and b/simulation/src/images/Theory/slide_12_page_3_2.png differ diff --git a/simulation/src/images/Theory/slide_12_page_3_3_text.png b/simulation/src/images/Theory/slide_12_page_3_3_text.png new file mode 100644 index 0000000..da47523 Binary files /dev/null and b/simulation/src/images/Theory/slide_12_page_3_3_text.png differ diff --git a/simulation/src/images/Theory/slide_12_page_3_4_text_2.png b/simulation/src/images/Theory/slide_12_page_3_4_text_2.png new file mode 100644 index 0000000..b765264 Binary files /dev/null and b/simulation/src/images/Theory/slide_12_page_3_4_text_2.png differ diff --git a/simulation/src/images/Theory/slide_13_page_1.png b/simulation/src/images/Theory/slide_13_page_1.png new file mode 100644 index 0000000..20390c8 Binary files /dev/null and b/simulation/src/images/Theory/slide_13_page_1.png differ diff --git a/simulation/src/images/Theory/slide_13_page_2.png b/simulation/src/images/Theory/slide_13_page_2.png new file mode 100644 index 0000000..0395859 Binary files /dev/null and b/simulation/src/images/Theory/slide_13_page_2.png differ diff --git a/simulation/src/images/Theory/slide_13_page_3_1_plus.png b/simulation/src/images/Theory/slide_13_page_3_1_plus.png new file mode 100644 index 0000000..6214bf1 Binary files /dev/null and b/simulation/src/images/Theory/slide_13_page_3_1_plus.png differ diff --git a/simulation/src/images/Theory/slide_13_page_3_2_minus_rotate_both.png b/simulation/src/images/Theory/slide_13_page_3_2_minus_rotate_both.png new file mode 100644 index 0000000..7d6ffe0 Binary files /dev/null and b/simulation/src/images/Theory/slide_13_page_3_2_minus_rotate_both.png differ diff --git a/simulation/src/images/Theory/slide_13_page_3_4.png b/simulation/src/images/Theory/slide_13_page_3_4.png new file mode 100644 index 0000000..494b843 Binary files /dev/null and b/simulation/src/images/Theory/slide_13_page_3_4.png differ diff --git a/simulation/src/images/Theory/slide_13_page_3_5_text.png b/simulation/src/images/Theory/slide_13_page_3_5_text.png new file mode 100644 index 0000000..07a95d5 Binary files /dev/null and b/simulation/src/images/Theory/slide_13_page_3_5_text.png differ diff --git a/simulation/src/images/Theory/slide_14_helper.png b/simulation/src/images/Theory/slide_14_helper.png new file mode 100644 index 0000000..5bb5e44 Binary files /dev/null and b/simulation/src/images/Theory/slide_14_helper.png differ diff --git a/simulation/src/images/Theory/slide_14_page_1.png b/simulation/src/images/Theory/slide_14_page_1.png new file mode 100644 index 0000000..fd5c05e Binary files /dev/null and b/simulation/src/images/Theory/slide_14_page_1.png differ diff --git a/simulation/src/images/Theory/slide_14_page_1_ball.png b/simulation/src/images/Theory/slide_14_page_1_ball.png new file mode 100644 index 0000000..360fb81 Binary files /dev/null and b/simulation/src/images/Theory/slide_14_page_1_ball.png differ diff --git a/simulation/src/images/Theory/slide_14_page_2_1_blink.png b/simulation/src/images/Theory/slide_14_page_2_1_blink.png new file mode 100644 index 0000000..3d63faa Binary files /dev/null and b/simulation/src/images/Theory/slide_14_page_2_1_blink.png differ diff --git a/simulation/src/images/Theory/slide_14_page_2_2_text.png b/simulation/src/images/Theory/slide_14_page_2_2_text.png new file mode 100644 index 0000000..faaca94 Binary files /dev/null and b/simulation/src/images/Theory/slide_14_page_2_2_text.png differ diff --git a/simulation/src/images/Theory/slide_14_page_3_1_symbols.png b/simulation/src/images/Theory/slide_14_page_3_1_symbols.png new file mode 100644 index 0000000..b5bc054 Binary files /dev/null and b/simulation/src/images/Theory/slide_14_page_3_1_symbols.png differ diff --git a/simulation/src/images/Theory/slide_14_page_3_2_green_graph_and_start_ball.png b/simulation/src/images/Theory/slide_14_page_3_2_green_graph_and_start_ball.png new file mode 100644 index 0000000..c5227ad Binary files /dev/null and b/simulation/src/images/Theory/slide_14_page_3_2_green_graph_and_start_ball.png differ diff --git a/simulation/src/images/Theory/slide_14_page_3_3_white_image_for_blue_line.png b/simulation/src/images/Theory/slide_14_page_3_3_white_image_for_blue_line.png new file mode 100644 index 0000000..76e4d8a Binary files /dev/null and b/simulation/src/images/Theory/slide_14_page_3_3_white_image_for_blue_line.png differ diff --git a/simulation/src/images/Theory/slide_15_page_1.png b/simulation/src/images/Theory/slide_15_page_1.png new file mode 100644 index 0000000..d208304 Binary files /dev/null and b/simulation/src/images/Theory/slide_15_page_1.png differ diff --git a/simulation/src/images/Theory/slide_15_page_1_ball.png b/simulation/src/images/Theory/slide_15_page_1_ball.png new file mode 100644 index 0000000..1081c32 Binary files /dev/null and b/simulation/src/images/Theory/slide_15_page_1_ball.png differ diff --git a/simulation/src/images/Theory/slide_15_page_1_green_graph.png b/simulation/src/images/Theory/slide_15_page_1_green_graph.png new file mode 100644 index 0000000..0cc6528 Binary files /dev/null and b/simulation/src/images/Theory/slide_15_page_1_green_graph.png differ diff --git a/simulation/src/images/Theory/slide_15_page_1_minus.png b/simulation/src/images/Theory/slide_15_page_1_minus.png new file mode 100644 index 0000000..e6a1550 Binary files /dev/null and b/simulation/src/images/Theory/slide_15_page_1_minus.png differ diff --git a/simulation/src/images/Theory/slide_15_page_1_plus.png b/simulation/src/images/Theory/slide_15_page_1_plus.png new file mode 100644 index 0000000..0c37dab Binary files /dev/null and b/simulation/src/images/Theory/slide_15_page_1_plus.png differ diff --git a/simulation/src/images/Theory/slide_15_page_2_1_blink.png b/simulation/src/images/Theory/slide_15_page_2_1_blink.png new file mode 100644 index 0000000..5626b97 Binary files /dev/null and b/simulation/src/images/Theory/slide_15_page_2_1_blink.png differ diff --git a/simulation/src/images/Theory/slide_15_page_2_2_text.png b/simulation/src/images/Theory/slide_15_page_2_2_text.png new file mode 100644 index 0000000..b002faf Binary files /dev/null and b/simulation/src/images/Theory/slide_15_page_2_2_text.png differ diff --git a/simulation/src/images/Theory/slide_15_page_3_1_arrow_and_text.png b/simulation/src/images/Theory/slide_15_page_3_1_arrow_and_text.png new file mode 100644 index 0000000..8f7cf5d Binary files /dev/null and b/simulation/src/images/Theory/slide_15_page_3_1_arrow_and_text.png differ diff --git a/simulation/src/images/Theory/slide_15_page_3_1_white.png b/simulation/src/images/Theory/slide_15_page_3_1_white.png new file mode 100644 index 0000000..fd1fe44 Binary files /dev/null and b/simulation/src/images/Theory/slide_15_page_3_1_white.png differ diff --git a/simulation/src/images/Theory/slide_15_page_3_2_graph.png b/simulation/src/images/Theory/slide_15_page_3_2_graph.png new file mode 100644 index 0000000..4a639cb Binary files /dev/null and b/simulation/src/images/Theory/slide_15_page_3_2_graph.png differ diff --git a/simulation/src/images/Theory/slide_15_page_3_3_text.png b/simulation/src/images/Theory/slide_15_page_3_3_text.png new file mode 100644 index 0000000..6b16e47 Binary files /dev/null and b/simulation/src/images/Theory/slide_15_page_3_3_text.png differ diff --git a/simulation/src/images/Theory/slide_2.png b/simulation/src/images/Theory/slide_2.png new file mode 100644 index 0000000..3d8edd6 Binary files /dev/null and b/simulation/src/images/Theory/slide_2.png differ diff --git a/simulation/src/images/Theory/slide_3_page_1.png b/simulation/src/images/Theory/slide_3_page_1.png new file mode 100644 index 0000000..39ae159 Binary files /dev/null and b/simulation/src/images/Theory/slide_3_page_1.png differ diff --git a/simulation/src/images/Theory/slide_3_page_2.png b/simulation/src/images/Theory/slide_3_page_2.png new file mode 100644 index 0000000..25240bb Binary files /dev/null and b/simulation/src/images/Theory/slide_3_page_2.png differ diff --git a/simulation/src/images/Theory/slide_3_page_3.png b/simulation/src/images/Theory/slide_3_page_3.png new file mode 100644 index 0000000..e28177f Binary files /dev/null and b/simulation/src/images/Theory/slide_3_page_3.png differ diff --git a/simulation/src/images/Theory/slide_3_page_4.png b/simulation/src/images/Theory/slide_3_page_4.png new file mode 100644 index 0000000..5d41503 Binary files /dev/null and b/simulation/src/images/Theory/slide_3_page_4.png differ diff --git a/simulation/src/images/Theory/slide_4_page_1.png b/simulation/src/images/Theory/slide_4_page_1.png new file mode 100644 index 0000000..647f827 Binary files /dev/null and b/simulation/src/images/Theory/slide_4_page_1.png differ diff --git a/simulation/src/images/Theory/slide_4_page_1_fan.png b/simulation/src/images/Theory/slide_4_page_1_fan.png new file mode 100644 index 0000000..35427e1 Binary files /dev/null and b/simulation/src/images/Theory/slide_4_page_1_fan.png differ diff --git a/simulation/src/images/Theory/slide_4_page_2_battery_1.png b/simulation/src/images/Theory/slide_4_page_2_battery_1.png new file mode 100644 index 0000000..f1efce9 Binary files /dev/null and b/simulation/src/images/Theory/slide_4_page_2_battery_1.png differ diff --git a/simulation/src/images/Theory/slide_4_page_2_battery_2.png b/simulation/src/images/Theory/slide_4_page_2_battery_2.png new file mode 100644 index 0000000..827c239 Binary files /dev/null and b/simulation/src/images/Theory/slide_4_page_2_battery_2.png differ diff --git a/simulation/src/images/Theory/slide_4_page_2_battery_3.png b/simulation/src/images/Theory/slide_4_page_2_battery_3.png new file mode 100644 index 0000000..dbe28a7 Binary files /dev/null and b/simulation/src/images/Theory/slide_4_page_2_battery_3.png differ diff --git a/simulation/src/images/Theory/slide_4_page_2_volt_text.png b/simulation/src/images/Theory/slide_4_page_2_volt_text.png new file mode 100644 index 0000000..e4b2d7c Binary files /dev/null and b/simulation/src/images/Theory/slide_4_page_2_volt_text.png differ diff --git a/simulation/src/images/Theory/slide_4_page_3_text_1.png b/simulation/src/images/Theory/slide_4_page_3_text_1.png new file mode 100644 index 0000000..1545ade Binary files /dev/null and b/simulation/src/images/Theory/slide_4_page_3_text_1.png differ diff --git a/simulation/src/images/Theory/slide_4_page_3_text_2.png b/simulation/src/images/Theory/slide_4_page_3_text_2.png new file mode 100644 index 0000000..a80d524 Binary files /dev/null and b/simulation/src/images/Theory/slide_4_page_3_text_2.png differ diff --git a/simulation/src/images/Theory/slide_4_page_3_wire.png b/simulation/src/images/Theory/slide_4_page_3_wire.png new file mode 100644 index 0000000..564254b Binary files /dev/null and b/simulation/src/images/Theory/slide_4_page_3_wire.png differ diff --git a/simulation/src/images/Theory/slide_5_page_1.png b/simulation/src/images/Theory/slide_5_page_1.png new file mode 100644 index 0000000..77ce6fc Binary files /dev/null and b/simulation/src/images/Theory/slide_5_page_1.png differ diff --git a/simulation/src/images/Theory/slide_5_page_2_text_1.png b/simulation/src/images/Theory/slide_5_page_2_text_1.png new file mode 100644 index 0000000..599a070 Binary files /dev/null and b/simulation/src/images/Theory/slide_5_page_2_text_1.png differ diff --git a/simulation/src/images/Theory/slide_5_page_2_volt_text.png b/simulation/src/images/Theory/slide_5_page_2_volt_text.png new file mode 100644 index 0000000..f62c975 Binary files /dev/null and b/simulation/src/images/Theory/slide_5_page_2_volt_text.png differ diff --git a/simulation/src/images/Theory/slide_5_page_3_1_text_1.png b/simulation/src/images/Theory/slide_5_page_3_1_text_1.png new file mode 100644 index 0000000..1a21457 Binary files /dev/null and b/simulation/src/images/Theory/slide_5_page_3_1_text_1.png differ diff --git a/simulation/src/images/Theory/slide_5_page_3_2_wire.png b/simulation/src/images/Theory/slide_5_page_3_2_wire.png new file mode 100644 index 0000000..14316cf Binary files /dev/null and b/simulation/src/images/Theory/slide_5_page_3_2_wire.png differ diff --git a/simulation/src/images/Theory/slide_5_page_3_3_light.png b/simulation/src/images/Theory/slide_5_page_3_3_light.png new file mode 100644 index 0000000..f5e1d32 Binary files /dev/null and b/simulation/src/images/Theory/slide_5_page_3_3_light.png differ diff --git a/simulation/src/images/Theory/slide_5_page_3_4_blast.gif b/simulation/src/images/Theory/slide_5_page_3_4_blast.gif new file mode 100644 index 0000000..0ae6bc4 Binary files /dev/null and b/simulation/src/images/Theory/slide_5_page_3_4_blast.gif differ diff --git a/simulation/src/images/Theory/slide_5_page_3_5_cross.png b/simulation/src/images/Theory/slide_5_page_3_5_cross.png new file mode 100644 index 0000000..253fad1 Binary files /dev/null and b/simulation/src/images/Theory/slide_5_page_3_5_cross.png differ diff --git a/simulation/src/images/Theory/slide_5_page_3_6_emoji.png b/simulation/src/images/Theory/slide_5_page_3_6_emoji.png new file mode 100644 index 0000000..1539604 Binary files /dev/null and b/simulation/src/images/Theory/slide_5_page_3_6_emoji.png differ diff --git a/simulation/src/images/Theory/slide_5_page_3_7_text_2.png b/simulation/src/images/Theory/slide_5_page_3_7_text_2.png new file mode 100644 index 0000000..256f41a Binary files /dev/null and b/simulation/src/images/Theory/slide_5_page_3_7_text_2.png differ diff --git a/simulation/src/images/Theory/slide_5_page_3_8_text_3.png b/simulation/src/images/Theory/slide_5_page_3_8_text_3.png new file mode 100644 index 0000000..aced5fc Binary files /dev/null and b/simulation/src/images/Theory/slide_5_page_3_8_text_3.png differ diff --git a/simulation/src/images/Theory/slide_5_page_4_1_text_1.png b/simulation/src/images/Theory/slide_5_page_4_1_text_1.png new file mode 100644 index 0000000..47a5215 Binary files /dev/null and b/simulation/src/images/Theory/slide_5_page_4_1_text_1.png differ diff --git a/simulation/src/images/Theory/slide_6_page_1.png b/simulation/src/images/Theory/slide_6_page_1.png new file mode 100644 index 0000000..2d7c16e Binary files /dev/null and b/simulation/src/images/Theory/slide_6_page_1.png differ diff --git a/simulation/src/images/Theory/slide_6_page_2_1_text_1.png b/simulation/src/images/Theory/slide_6_page_2_1_text_1.png new file mode 100644 index 0000000..cc2acc6 Binary files /dev/null and b/simulation/src/images/Theory/slide_6_page_2_1_text_1.png differ diff --git a/simulation/src/images/Theory/slide_6_page_2_2_emoji_blink.png b/simulation/src/images/Theory/slide_6_page_2_2_emoji_blink.png new file mode 100644 index 0000000..ede17a7 Binary files /dev/null and b/simulation/src/images/Theory/slide_6_page_2_2_emoji_blink.png differ diff --git a/simulation/src/images/Theory/slide_6_page_3_1_text_1.png b/simulation/src/images/Theory/slide_6_page_3_1_text_1.png new file mode 100644 index 0000000..11ce72f Binary files /dev/null and b/simulation/src/images/Theory/slide_6_page_3_1_text_1.png differ diff --git a/simulation/src/images/Theory/slide_6_page_3_2_emoji_blink.png b/simulation/src/images/Theory/slide_6_page_3_2_emoji_blink.png new file mode 100644 index 0000000..c3cd504 Binary files /dev/null and b/simulation/src/images/Theory/slide_6_page_3_2_emoji_blink.png differ diff --git a/simulation/src/images/Theory/slide_7_page_1_1.png b/simulation/src/images/Theory/slide_7_page_1_1.png new file mode 100644 index 0000000..65e05f5 Binary files /dev/null and b/simulation/src/images/Theory/slide_7_page_1_1.png differ diff --git a/simulation/src/images/Theory/slide_7_page_1_2.png b/simulation/src/images/Theory/slide_7_page_1_2.png new file mode 100644 index 0000000..d973c27 Binary files /dev/null and b/simulation/src/images/Theory/slide_7_page_1_2.png differ diff --git a/simulation/src/images/Theory/slide_7_page_1_3.png b/simulation/src/images/Theory/slide_7_page_1_3.png new file mode 100644 index 0000000..34e9736 Binary files /dev/null and b/simulation/src/images/Theory/slide_7_page_1_3.png differ diff --git a/simulation/src/images/Theory/slide_8_page_1.png b/simulation/src/images/Theory/slide_8_page_1.png new file mode 100644 index 0000000..cc30e73 Binary files /dev/null and b/simulation/src/images/Theory/slide_8_page_1.png differ diff --git a/simulation/src/images/Theory/slide_8_page_2_and_rotate_the_fan.png b/simulation/src/images/Theory/slide_8_page_2_and_rotate_the_fan.png new file mode 100644 index 0000000..9960f78 Binary files /dev/null and b/simulation/src/images/Theory/slide_8_page_2_and_rotate_the_fan.png differ diff --git a/simulation/src/images/Theory/slide_8_page_3_1.png b/simulation/src/images/Theory/slide_8_page_3_1.png new file mode 100644 index 0000000..709e017 Binary files /dev/null and b/simulation/src/images/Theory/slide_8_page_3_1.png differ diff --git a/simulation/src/images/Theory/slide_8_page_3_2_light.png b/simulation/src/images/Theory/slide_8_page_3_2_light.png new file mode 100644 index 0000000..d423646 Binary files /dev/null and b/simulation/src/images/Theory/slide_8_page_3_2_light.png differ diff --git a/simulation/src/images/Theory/slide_8_page_3_3_blank.png b/simulation/src/images/Theory/slide_8_page_3_3_blank.png new file mode 100644 index 0000000..3ce7b1a Binary files /dev/null and b/simulation/src/images/Theory/slide_8_page_3_3_blank.png differ diff --git a/simulation/src/images/Theory/slide_8_page_3_4_emoji.png b/simulation/src/images/Theory/slide_8_page_3_4_emoji.png new file mode 100644 index 0000000..9f08541 Binary files /dev/null and b/simulation/src/images/Theory/slide_8_page_3_4_emoji.png differ diff --git a/simulation/src/images/Theory/slide_8_page_3_5_text.png b/simulation/src/images/Theory/slide_8_page_3_5_text.png new file mode 100644 index 0000000..761a180 Binary files /dev/null and b/simulation/src/images/Theory/slide_8_page_3_5_text.png differ diff --git a/simulation/src/images/Theory/slide_9.png b/simulation/src/images/Theory/slide_9.png new file mode 100644 index 0000000..ba35d28 Binary files /dev/null and b/simulation/src/images/Theory/slide_9.png differ diff --git a/simulation/src/images/box_img.png b/simulation/src/images/box_img.png new file mode 100644 index 0000000..4fa944a Binary files /dev/null and b/simulation/src/images/box_img.png differ diff --git a/simulation/src/images/btn_hint.png b/simulation/src/images/btn_hint.png new file mode 100644 index 0000000..d1da319 Binary files /dev/null and b/simulation/src/images/btn_hint.png differ diff --git a/simulation/src/images/circuit_full_2.png b/simulation/src/images/circuit_full_2.png new file mode 100644 index 0000000..cd461b3 Binary files /dev/null and b/simulation/src/images/circuit_full_2.png differ diff --git a/simulation/src/images/circuit_full_3.png b/simulation/src/images/circuit_full_3.png new file mode 100644 index 0000000..03005d0 Binary files /dev/null and b/simulation/src/images/circuit_full_3.png differ diff --git a/simulation/src/images/component_battery.png b/simulation/src/images/component_battery.png new file mode 100644 index 0000000..6fe4cee Binary files /dev/null and b/simulation/src/images/component_battery.png differ diff --git a/simulation/src/images/component_capacitor.png b/simulation/src/images/component_capacitor.png new file mode 100644 index 0000000..5509553 Binary files /dev/null and b/simulation/src/images/component_capacitor.png differ diff --git a/simulation/src/images/component_diode.png b/simulation/src/images/component_diode.png new file mode 100644 index 0000000..903cb79 Binary files /dev/null and b/simulation/src/images/component_diode.png differ diff --git a/simulation/src/images/component_inductor.png b/simulation/src/images/component_inductor.png new file mode 100644 index 0000000..197d4fb Binary files /dev/null and b/simulation/src/images/component_inductor.png differ diff --git a/simulation/src/images/component_mosfet.png b/simulation/src/images/component_mosfet.png new file mode 100644 index 0000000..44ab6bb Binary files /dev/null and b/simulation/src/images/component_mosfet.png differ diff --git a/simulation/src/images/component_register.png b/simulation/src/images/component_register.png new file mode 100644 index 0000000..abfc8c2 Binary files /dev/null and b/simulation/src/images/component_register.png differ diff --git a/simulation/src/images/exp2_img/Exp-2 (Boost-Electrical) Simulation.png b/simulation/src/images/exp2_img/Exp-2 (Boost-Electrical) Simulation.png new file mode 100644 index 0000000..dd964c5 Binary files /dev/null and b/simulation/src/images/exp2_img/Exp-2 (Boost-Electrical) Simulation.png differ diff --git a/simulation/src/images/exp2_img/component_battery.png b/simulation/src/images/exp2_img/component_battery.png new file mode 100644 index 0000000..6fe4cee Binary files /dev/null and b/simulation/src/images/exp2_img/component_battery.png differ diff --git a/simulation/src/images/exp2_img/component_capacitor_resistance.png b/simulation/src/images/exp2_img/component_capacitor_resistance.png new file mode 100644 index 0000000..5509553 Binary files /dev/null and b/simulation/src/images/exp2_img/component_capacitor_resistance.png differ diff --git a/simulation/src/images/exp2_img/component_diode.png b/simulation/src/images/exp2_img/component_diode.png new file mode 100644 index 0000000..903cb79 Binary files /dev/null and b/simulation/src/images/exp2_img/component_diode.png differ diff --git a/simulation/src/images/exp2_img/component_inductor.png b/simulation/src/images/exp2_img/component_inductor.png new file mode 100644 index 0000000..197d4fb Binary files /dev/null and b/simulation/src/images/exp2_img/component_inductor.png differ diff --git a/simulation/src/images/exp2_img/component_mosfet.png b/simulation/src/images/exp2_img/component_mosfet.png new file mode 100644 index 0000000..44ab6bb Binary files /dev/null and b/simulation/src/images/exp2_img/component_mosfet.png differ diff --git a/simulation/src/images/exp2_img/right_tick.png b/simulation/src/images/exp2_img/right_tick.png new file mode 100644 index 0000000..9d81e00 Binary files /dev/null and b/simulation/src/images/exp2_img/right_tick.png differ diff --git a/simulation/src/images/exp2_img/step1_btn1.png b/simulation/src/images/exp2_img/step1_btn1.png new file mode 100644 index 0000000..03aa39a Binary files /dev/null and b/simulation/src/images/exp2_img/step1_btn1.png differ diff --git a/simulation/src/images/exp2_img/step1_btn1_active.png b/simulation/src/images/exp2_img/step1_btn1_active.png new file mode 100644 index 0000000..50359fa Binary files /dev/null and b/simulation/src/images/exp2_img/step1_btn1_active.png differ diff --git a/simulation/src/images/exp2_img/step1_btn2.png b/simulation/src/images/exp2_img/step1_btn2.png new file mode 100644 index 0000000..6943425 Binary files /dev/null and b/simulation/src/images/exp2_img/step1_btn2.png differ diff --git a/simulation/src/images/exp2_img/step1_btn2_active.png b/simulation/src/images/exp2_img/step1_btn2_active.png new file mode 100644 index 0000000..0a37faf Binary files /dev/null and b/simulation/src/images/exp2_img/step1_btn2_active.png differ diff --git a/simulation/src/images/exp2_img/step1_circuit.png b/simulation/src/images/exp2_img/step1_circuit.png new file mode 100644 index 0000000..04a2160 Binary files /dev/null and b/simulation/src/images/exp2_img/step1_circuit.png differ diff --git a/simulation/src/images/exp2_img/step1_logo.png b/simulation/src/images/exp2_img/step1_logo.png new file mode 100644 index 0000000..ebe20ac Binary files /dev/null and b/simulation/src/images/exp2_img/step1_logo.png differ diff --git a/simulation/src/images/exp2_img/step1_text_msg.png b/simulation/src/images/exp2_img/step1_text_msg.png new file mode 100644 index 0000000..5c48952 Binary files /dev/null and b/simulation/src/images/exp2_img/step1_text_msg.png differ diff --git a/simulation/src/images/exp2_img/step1_text_msg_wrong_connection.png b/simulation/src/images/exp2_img/step1_text_msg_wrong_connection.png new file mode 100644 index 0000000..5731168 Binary files /dev/null and b/simulation/src/images/exp2_img/step1_text_msg_wrong_connection.png differ diff --git a/simulation/src/images/exp2_img/step2_default.png b/simulation/src/images/exp2_img/step2_default.png new file mode 100644 index 0000000..4997ae2 Binary files /dev/null and b/simulation/src/images/exp2_img/step2_default.png differ diff --git a/simulation/src/images/exp2_img/step2_graph1.png b/simulation/src/images/exp2_img/step2_graph1.png new file mode 100644 index 0000000..2ce168d Binary files /dev/null and b/simulation/src/images/exp2_img/step2_graph1.png differ diff --git a/simulation/src/images/exp2_img/step2_graph2.png b/simulation/src/images/exp2_img/step2_graph2.png new file mode 100644 index 0000000..2e9033d Binary files /dev/null and b/simulation/src/images/exp2_img/step2_graph2.png differ diff --git a/simulation/src/images/exp2_img/step2_graph3.png b/simulation/src/images/exp2_img/step2_graph3.png new file mode 100644 index 0000000..5f28a68 Binary files /dev/null and b/simulation/src/images/exp2_img/step2_graph3.png differ diff --git a/simulation/src/images/exp2_img/step2_logo.png b/simulation/src/images/exp2_img/step2_logo.png new file mode 100644 index 0000000..3710437 Binary files /dev/null and b/simulation/src/images/exp2_img/step2_logo.png differ diff --git a/simulation/src/images/exp2_img/step3_circuit.png b/simulation/src/images/exp2_img/step3_circuit.png new file mode 100644 index 0000000..cd461b3 Binary files /dev/null and b/simulation/src/images/exp2_img/step3_circuit.png differ diff --git a/simulation/src/images/exp2_img/step3_option1.png b/simulation/src/images/exp2_img/step3_option1.png new file mode 100644 index 0000000..c998c91 Binary files /dev/null and b/simulation/src/images/exp2_img/step3_option1.png differ diff --git a/simulation/src/images/exp2_img/step3_option2.png b/simulation/src/images/exp2_img/step3_option2.png new file mode 100644 index 0000000..6c96ec8 Binary files /dev/null and b/simulation/src/images/exp2_img/step3_option2.png differ diff --git a/simulation/src/images/exp2_img/step3_option3.png b/simulation/src/images/exp2_img/step3_option3.png new file mode 100644 index 0000000..35fc05d Binary files /dev/null and b/simulation/src/images/exp2_img/step3_option3.png differ diff --git a/simulation/src/images/exp2_img/step3_option4.png b/simulation/src/images/exp2_img/step3_option4.png new file mode 100644 index 0000000..e7c8d32 Binary files /dev/null and b/simulation/src/images/exp2_img/step3_option4.png differ diff --git a/simulation/src/images/exp2_img/step3_option_select.png b/simulation/src/images/exp2_img/step3_option_select.png new file mode 100644 index 0000000..e661a61 Binary files /dev/null and b/simulation/src/images/exp2_img/step3_option_select.png differ diff --git a/simulation/src/images/formulas_component_stress.png b/simulation/src/images/formulas_component_stress.png new file mode 100644 index 0000000..4489657 Binary files /dev/null and b/simulation/src/images/formulas_component_stress.png differ diff --git a/simulation/src/images/formulas_efficiency.png b/simulation/src/images/formulas_efficiency.png new file mode 100644 index 0000000..f6a0122 Binary files /dev/null and b/simulation/src/images/formulas_efficiency.png differ diff --git a/simulation/src/images/formulas_ideal.png b/simulation/src/images/formulas_ideal.png new file mode 100644 index 0000000..cb8aa90 Binary files /dev/null and b/simulation/src/images/formulas_ideal.png differ diff --git a/simulation/src/images/formulas_nomenclautre.png b/simulation/src/images/formulas_nomenclautre.png new file mode 100644 index 0000000..a895749 Binary files /dev/null and b/simulation/src/images/formulas_nomenclautre.png differ diff --git a/simulation/src/images/formulas_non_ideal.png b/simulation/src/images/formulas_non_ideal.png new file mode 100644 index 0000000..17b2921 Binary files /dev/null and b/simulation/src/images/formulas_non_ideal.png differ diff --git a/simulation/src/images/formulas_procedure.png b/simulation/src/images/formulas_procedure.png new file mode 100644 index 0000000..e20aeff Binary files /dev/null and b/simulation/src/images/formulas_procedure.png differ diff --git a/simulation/src/images/formulas_procedure_slider_1.png b/simulation/src/images/formulas_procedure_slider_1.png new file mode 100644 index 0000000..e9c5daf Binary files /dev/null and b/simulation/src/images/formulas_procedure_slider_1.png differ diff --git a/simulation/src/images/formulas_universal.png b/simulation/src/images/formulas_universal.png new file mode 100644 index 0000000..84d68f2 Binary files /dev/null and b/simulation/src/images/formulas_universal.png differ diff --git a/simulation/src/images/full_circuit.png b/simulation/src/images/full_circuit.png new file mode 100644 index 0000000..82a7322 Binary files /dev/null and b/simulation/src/images/full_circuit.png differ diff --git a/simulation/src/images/full_circuit2.png b/simulation/src/images/full_circuit2.png new file mode 100644 index 0000000..e546fb1 Binary files /dev/null and b/simulation/src/images/full_circuit2.png differ diff --git a/simulation/src/images/graph2_arrow.png b/simulation/src/images/graph2_arrow.png new file mode 100644 index 0000000..841a8b7 Binary files /dev/null and b/simulation/src/images/graph2_arrow.png differ diff --git a/simulation/src/images/hint_box.png b/simulation/src/images/hint_box.png new file mode 100644 index 0000000..02df19b Binary files /dev/null and b/simulation/src/images/hint_box.png differ diff --git a/simulation/src/images/new/beta_line_blinking.png b/simulation/src/images/new/beta_line_blinking.png new file mode 100644 index 0000000..f8fa625 Binary files /dev/null and b/simulation/src/images/new/beta_line_blinking.png differ diff --git a/simulation/src/images/new/bnt_click.png b/simulation/src/images/new/bnt_click.png new file mode 100644 index 0000000..fada888 Binary files /dev/null and b/simulation/src/images/new/bnt_click.png differ diff --git a/simulation/src/images/new/btn_firing_angle.png b/simulation/src/images/new/btn_firing_angle.png new file mode 100644 index 0000000..17f1770 Binary files /dev/null and b/simulation/src/images/new/btn_firing_angle.png differ diff --git a/simulation/src/images/new/btn_input_voltage.png b/simulation/src/images/new/btn_input_voltage.png new file mode 100644 index 0000000..b2ec5e7 Binary files /dev/null and b/simulation/src/images/new/btn_input_voltage.png differ diff --git a/simulation/src/images/new/btn_load_inductance.png b/simulation/src/images/new/btn_load_inductance.png new file mode 100644 index 0000000..c77fefc Binary files /dev/null and b/simulation/src/images/new/btn_load_inductance.png differ diff --git a/simulation/src/images/new/btn_load_resistance.png b/simulation/src/images/new/btn_load_resistance.png new file mode 100644 index 0000000..2eef036 Binary files /dev/null and b/simulation/src/images/new/btn_load_resistance.png differ diff --git a/simulation/src/images/new/circle.png b/simulation/src/images/new/circle.png new file mode 100644 index 0000000..fe34b74 Binary files /dev/null and b/simulation/src/images/new/circle.png differ diff --git a/simulation/src/images/new/components_r_load.png b/simulation/src/images/new/components_r_load.png new file mode 100644 index 0000000..b3208f1 Binary files /dev/null and b/simulation/src/images/new/components_r_load.png differ diff --git a/simulation/src/images/new/components_rl_load.png b/simulation/src/images/new/components_rl_load.png new file mode 100644 index 0000000..c52b571 Binary files /dev/null and b/simulation/src/images/new/components_rl_load.png differ diff --git a/simulation/src/images/new/r_load_click_1.png b/simulation/src/images/new/r_load_click_1.png new file mode 100644 index 0000000..441d4e5 Binary files /dev/null and b/simulation/src/images/new/r_load_click_1.png differ diff --git a/simulation/src/images/new/r_load_click_2.png b/simulation/src/images/new/r_load_click_2.png new file mode 100644 index 0000000..7ab470c Binary files /dev/null and b/simulation/src/images/new/r_load_click_2.png differ diff --git a/simulation/src/images/new/r_load_click_3.png b/simulation/src/images/new/r_load_click_3.png new file mode 100644 index 0000000..2c81c81 Binary files /dev/null and b/simulation/src/images/new/r_load_click_3.png differ diff --git a/simulation/src/images/new/r_load_click_4.png b/simulation/src/images/new/r_load_click_4.png new file mode 100644 index 0000000..5d11fab Binary files /dev/null and b/simulation/src/images/new/r_load_click_4.png differ diff --git a/simulation/src/images/new/rl_load_click_1.png b/simulation/src/images/new/rl_load_click_1.png new file mode 100644 index 0000000..c8334d3 Binary files /dev/null and b/simulation/src/images/new/rl_load_click_1.png differ diff --git a/simulation/src/images/new/rl_load_click_2.png b/simulation/src/images/new/rl_load_click_2.png new file mode 100644 index 0000000..7b91f2f Binary files /dev/null and b/simulation/src/images/new/rl_load_click_2.png differ diff --git a/simulation/src/images/new/rl_load_click_3.png b/simulation/src/images/new/rl_load_click_3.png new file mode 100644 index 0000000..074fb4d Binary files /dev/null and b/simulation/src/images/new/rl_load_click_3.png differ diff --git a/simulation/src/images/new/rl_load_click_4.png b/simulation/src/images/new/rl_load_click_4.png new file mode 100644 index 0000000..c1caff9 Binary files /dev/null and b/simulation/src/images/new/rl_load_click_4.png differ diff --git a/simulation/src/images/new/val_a.png b/simulation/src/images/new/val_a.png new file mode 100644 index 0000000..dd0d9f2 Binary files /dev/null and b/simulation/src/images/new/val_a.png differ diff --git a/simulation/src/images/new/val_l.png b/simulation/src/images/new/val_l.png new file mode 100644 index 0000000..161ed99 Binary files /dev/null and b/simulation/src/images/new/val_l.png differ diff --git a/simulation/src/images/new/val_r.png b/simulation/src/images/new/val_r.png new file mode 100644 index 0000000..3f762a0 Binary files /dev/null and b/simulation/src/images/new/val_r.png differ diff --git a/simulation/src/images/new/val_v.png b/simulation/src/images/new/val_v.png new file mode 100644 index 0000000..9442db7 Binary files /dev/null and b/simulation/src/images/new/val_v.png differ diff --git a/simulation/src/images/part_1_circuit_diagram.png b/simulation/src/images/part_1_circuit_diagram.png new file mode 100644 index 0000000..1153379 Binary files /dev/null and b/simulation/src/images/part_1_circuit_diagram.png differ diff --git a/simulation/src/images/part_1_text.png b/simulation/src/images/part_1_text.png new file mode 100644 index 0000000..090a024 Binary files /dev/null and b/simulation/src/images/part_1_text.png differ diff --git a/simulation/src/images/part_1_text_for_crrct.png b/simulation/src/images/part_1_text_for_crrct.png new file mode 100644 index 0000000..5c48952 Binary files /dev/null and b/simulation/src/images/part_1_text_for_crrct.png differ diff --git a/simulation/src/images/part_1_text_for_wrong.png b/simulation/src/images/part_1_text_for_wrong.png new file mode 100644 index 0000000..c4055fc Binary files /dev/null and b/simulation/src/images/part_1_text_for_wrong.png differ diff --git a/simulation/src/images/part_2_circuit.png b/simulation/src/images/part_2_circuit.png new file mode 100644 index 0000000..6095e94 Binary files /dev/null and b/simulation/src/images/part_2_circuit.png differ diff --git a/simulation/src/images/part_2_graph_1.png b/simulation/src/images/part_2_graph_1.png new file mode 100644 index 0000000..2538aa2 Binary files /dev/null and b/simulation/src/images/part_2_graph_1.png differ diff --git a/simulation/src/images/part_2_graph_2.png b/simulation/src/images/part_2_graph_2.png new file mode 100644 index 0000000..bc1a2ca Binary files /dev/null and b/simulation/src/images/part_2_graph_2.png differ diff --git a/simulation/src/images/part_2_graph_3.png b/simulation/src/images/part_2_graph_3.png new file mode 100644 index 0000000..0139f80 Binary files /dev/null and b/simulation/src/images/part_2_graph_3.png differ diff --git a/simulation/src/images/part_2_graph_empty.png b/simulation/src/images/part_2_graph_empty.png new file mode 100644 index 0000000..5f3e6ba Binary files /dev/null and b/simulation/src/images/part_2_graph_empty.png differ diff --git a/simulation/src/images/part_3_graph_arrow.png b/simulation/src/images/part_3_graph_arrow.png new file mode 100644 index 0000000..d56101d Binary files /dev/null and b/simulation/src/images/part_3_graph_arrow.png differ diff --git a/simulation/src/images/part_3_option_1.png b/simulation/src/images/part_3_option_1.png new file mode 100644 index 0000000..c998c91 Binary files /dev/null and b/simulation/src/images/part_3_option_1.png differ diff --git a/simulation/src/images/part_3_option_2.png b/simulation/src/images/part_3_option_2.png new file mode 100644 index 0000000..6c96ec8 Binary files /dev/null and b/simulation/src/images/part_3_option_2.png differ diff --git a/simulation/src/images/part_3_option_3.png b/simulation/src/images/part_3_option_3.png new file mode 100644 index 0000000..35fc05d Binary files /dev/null and b/simulation/src/images/part_3_option_3.png differ diff --git a/simulation/src/images/part_3_option_4.png b/simulation/src/images/part_3_option_4.png new file mode 100644 index 0000000..e7c8d32 Binary files /dev/null and b/simulation/src/images/part_3_option_4.png differ diff --git a/simulation/src/images/part_3_option_4_graph.png b/simulation/src/images/part_3_option_4_graph.png new file mode 100644 index 0000000..1a9c6b4 Binary files /dev/null and b/simulation/src/images/part_3_option_4_graph.png differ diff --git a/simulation/src/images/part_3_option_select.png b/simulation/src/images/part_3_option_select.png new file mode 100644 index 0000000..e661a61 Binary files /dev/null and b/simulation/src/images/part_3_option_select.png differ diff --git a/simulation/src/images/photoscape/Theory/photoscape/slide_10.psxprj b/simulation/src/images/photoscape/Theory/photoscape/slide_10.psxprj new file mode 100644 index 0000000..9dae486 Binary files /dev/null and b/simulation/src/images/photoscape/Theory/photoscape/slide_10.psxprj differ diff --git a/simulation/src/images/photoscape/Theory/photoscape/slide_11.psxprj b/simulation/src/images/photoscape/Theory/photoscape/slide_11.psxprj new file mode 100644 index 0000000..d0c146e Binary files /dev/null and b/simulation/src/images/photoscape/Theory/photoscape/slide_11.psxprj differ diff --git a/simulation/src/images/photoscape/Theory/photoscape/slide_12.psxprj b/simulation/src/images/photoscape/Theory/photoscape/slide_12.psxprj new file mode 100644 index 0000000..318cb66 Binary files /dev/null and b/simulation/src/images/photoscape/Theory/photoscape/slide_12.psxprj differ diff --git a/simulation/src/images/photoscape/Theory/photoscape/slide_13.psxprj b/simulation/src/images/photoscape/Theory/photoscape/slide_13.psxprj new file mode 100644 index 0000000..524939d Binary files /dev/null and b/simulation/src/images/photoscape/Theory/photoscape/slide_13.psxprj differ diff --git a/simulation/src/images/photoscape/Theory/photoscape/slide_14.psxprj b/simulation/src/images/photoscape/Theory/photoscape/slide_14.psxprj new file mode 100644 index 0000000..3058c27 Binary files /dev/null and b/simulation/src/images/photoscape/Theory/photoscape/slide_14.psxprj differ diff --git a/simulation/src/images/photoscape/Theory/photoscape/slide_4.psxprj b/simulation/src/images/photoscape/Theory/photoscape/slide_4.psxprj new file mode 100644 index 0000000..5f84302 Binary files /dev/null and b/simulation/src/images/photoscape/Theory/photoscape/slide_4.psxprj differ diff --git a/simulation/src/images/photoscape/Theory/photoscape/slide_5.psxprj b/simulation/src/images/photoscape/Theory/photoscape/slide_5.psxprj new file mode 100644 index 0000000..582b767 Binary files /dev/null and b/simulation/src/images/photoscape/Theory/photoscape/slide_5.psxprj differ diff --git a/simulation/src/images/photoscape/Theory/photoscape/slide_6.psxprj b/simulation/src/images/photoscape/Theory/photoscape/slide_6.psxprj new file mode 100644 index 0000000..400f537 Binary files /dev/null and b/simulation/src/images/photoscape/Theory/photoscape/slide_6.psxprj differ diff --git a/simulation/src/images/photoscape/Theory/photoscape/slide_7.psxprj b/simulation/src/images/photoscape/Theory/photoscape/slide_7.psxprj new file mode 100644 index 0000000..b090b56 Binary files /dev/null and b/simulation/src/images/photoscape/Theory/photoscape/slide_7.psxprj differ diff --git a/simulation/src/images/photoscape/Theory/photoscape/slide_8.psxprj b/simulation/src/images/photoscape/Theory/photoscape/slide_8.psxprj new file mode 100644 index 0000000..dadc5d9 Binary files /dev/null and b/simulation/src/images/photoscape/Theory/photoscape/slide_8.psxprj differ diff --git a/simulation/src/images/photoscape/full_circuit.psxprj b/simulation/src/images/photoscape/full_circuit.psxprj new file mode 100644 index 0000000..e2a5529 Binary files /dev/null and b/simulation/src/images/photoscape/full_circuit.psxprj differ diff --git a/simulation/src/images/photoscape/part3.png b/simulation/src/images/photoscape/part3.png new file mode 100644 index 0000000..faef901 Binary files /dev/null and b/simulation/src/images/photoscape/part3.png differ diff --git a/simulation/src/images/photoscape/part3.psxprj b/simulation/src/images/photoscape/part3.psxprj new file mode 100644 index 0000000..b3e3948 Binary files /dev/null and b/simulation/src/images/photoscape/part3.psxprj differ diff --git a/simulation/src/images/photoscape/popup_boxes.psxprj b/simulation/src/images/photoscape/popup_boxes.psxprj new file mode 100644 index 0000000..9224030 Binary files /dev/null and b/simulation/src/images/photoscape/popup_boxes.psxprj differ diff --git a/simulation/src/images/popup_imgs/formulas_nomenclature.png b/simulation/src/images/popup_imgs/formulas_nomenclature.png new file mode 100644 index 0000000..c269207 Binary files /dev/null and b/simulation/src/images/popup_imgs/formulas_nomenclature.png differ diff --git a/simulation/src/images/popup_imgs/nomenclature.png b/simulation/src/images/popup_imgs/nomenclature.png new file mode 100644 index 0000000..8306ca7 Binary files /dev/null and b/simulation/src/images/popup_imgs/nomenclature.png differ diff --git a/simulation/src/images/record_btn.png b/simulation/src/images/record_btn.png new file mode 100644 index 0000000..4d621f0 Binary files /dev/null and b/simulation/src/images/record_btn.png differ diff --git a/simulation/src/images/right_tick.png b/simulation/src/images/right_tick.png new file mode 100644 index 0000000..19c6742 Binary files /dev/null and b/simulation/src/images/right_tick.png differ diff --git a/simulation/src/images/run_btn.png b/simulation/src/images/run_btn.png new file mode 100644 index 0000000..5a52c7a Binary files /dev/null and b/simulation/src/images/run_btn.png differ diff --git a/simulation/src/images/sliders/slider_D_blank.png b/simulation/src/images/sliders/slider_D_blank.png new file mode 100644 index 0000000..d7893b4 Binary files /dev/null and b/simulation/src/images/sliders/slider_D_blank.png differ diff --git a/simulation/src/images/sliders/slider_R_arrow.png b/simulation/src/images/sliders/slider_R_arrow.png new file mode 100644 index 0000000..cbbb9c5 Binary files /dev/null and b/simulation/src/images/sliders/slider_R_arrow.png differ diff --git a/simulation/src/images/sliders/slider_V_arrow.png b/simulation/src/images/sliders/slider_V_arrow.png new file mode 100644 index 0000000..b855b94 Binary files /dev/null and b/simulation/src/images/sliders/slider_V_arrow.png differ diff --git a/simulation/src/images/sliders/slider_V_back.png b/simulation/src/images/sliders/slider_V_back.png new file mode 100644 index 0000000..14ddcee Binary files /dev/null and b/simulation/src/images/sliders/slider_V_back.png differ diff --git a/simulation/src/images/sliders/slider_circuit.png b/simulation/src/images/sliders/slider_circuit.png new file mode 100644 index 0000000..f58870f Binary files /dev/null and b/simulation/src/images/sliders/slider_circuit.png differ diff --git a/simulation/src/images/sliders/slider_tip.png b/simulation/src/images/sliders/slider_tip.png new file mode 100644 index 0000000..13c5348 Binary files /dev/null and b/simulation/src/images/sliders/slider_tip.png differ diff --git a/simulation/src/images/temp/box_img.png b/simulation/src/images/temp/box_img.png new file mode 100644 index 0000000..4fa944a Binary files /dev/null and b/simulation/src/images/temp/box_img.png differ diff --git a/simulation/src/images/temp/changed/part_2_graph_1.png b/simulation/src/images/temp/changed/part_2_graph_1.png new file mode 100644 index 0000000..fd17b41 Binary files /dev/null and b/simulation/src/images/temp/changed/part_2_graph_1.png differ diff --git a/simulation/src/images/temp/changed/part_2_graph_2.png b/simulation/src/images/temp/changed/part_2_graph_2.png new file mode 100644 index 0000000..eb5ab51 Binary files /dev/null and b/simulation/src/images/temp/changed/part_2_graph_2.png differ diff --git a/simulation/src/images/temp/changed/part_2_graph_3.png b/simulation/src/images/temp/changed/part_2_graph_3.png new file mode 100644 index 0000000..b460f09 Binary files /dev/null and b/simulation/src/images/temp/changed/part_2_graph_3.png differ diff --git a/simulation/src/images/temp/changed/part_2_graph_empty.png b/simulation/src/images/temp/changed/part_2_graph_empty.png new file mode 100644 index 0000000..279a753 Binary files /dev/null and b/simulation/src/images/temp/changed/part_2_graph_empty.png differ diff --git a/simulation/src/images/temp/circuit_full_2.png b/simulation/src/images/temp/circuit_full_2.png new file mode 100644 index 0000000..2cc1ed6 Binary files /dev/null and b/simulation/src/images/temp/circuit_full_2.png differ diff --git a/simulation/src/images/temp/circuit_full_3.png b/simulation/src/images/temp/circuit_full_3.png new file mode 100644 index 0000000..91b7394 Binary files /dev/null and b/simulation/src/images/temp/circuit_full_3.png differ diff --git a/simulation/src/images/temp/component_battery.png b/simulation/src/images/temp/component_battery.png new file mode 100644 index 0000000..4d20651 Binary files /dev/null and b/simulation/src/images/temp/component_battery.png differ diff --git a/simulation/src/images/temp/component_capacitor.png b/simulation/src/images/temp/component_capacitor.png new file mode 100644 index 0000000..afdf5f9 Binary files /dev/null and b/simulation/src/images/temp/component_capacitor.png differ diff --git a/simulation/src/images/temp/component_diode.png b/simulation/src/images/temp/component_diode.png new file mode 100644 index 0000000..856b82d Binary files /dev/null and b/simulation/src/images/temp/component_diode.png differ diff --git a/simulation/src/images/temp/component_inductor.png b/simulation/src/images/temp/component_inductor.png new file mode 100644 index 0000000..703bd4a Binary files /dev/null and b/simulation/src/images/temp/component_inductor.png differ diff --git a/simulation/src/images/temp/component_mosfet.png b/simulation/src/images/temp/component_mosfet.png new file mode 100644 index 0000000..920b733 Binary files /dev/null and b/simulation/src/images/temp/component_mosfet.png differ diff --git a/simulation/src/images/temp/component_register.png b/simulation/src/images/temp/component_register.png new file mode 100644 index 0000000..abfc8c2 Binary files /dev/null and b/simulation/src/images/temp/component_register.png differ diff --git a/simulation/src/images/temp/full_circuit.png b/simulation/src/images/temp/full_circuit.png new file mode 100644 index 0000000..82a7322 Binary files /dev/null and b/simulation/src/images/temp/full_circuit.png differ diff --git a/simulation/src/images/temp/full_circuit2.png b/simulation/src/images/temp/full_circuit2.png new file mode 100644 index 0000000..e546fb1 Binary files /dev/null and b/simulation/src/images/temp/full_circuit2.png differ diff --git a/simulation/src/images/temp/graph2_arrow.png b/simulation/src/images/temp/graph2_arrow.png new file mode 100644 index 0000000..841a8b7 Binary files /dev/null and b/simulation/src/images/temp/graph2_arrow.png differ diff --git a/simulation/src/images/temp/part_2_circuit.png b/simulation/src/images/temp/part_2_circuit.png new file mode 100644 index 0000000..6095e94 Binary files /dev/null and b/simulation/src/images/temp/part_2_circuit.png differ diff --git a/simulation/src/images/temp/part_2_graph_1.png b/simulation/src/images/temp/part_2_graph_1.png new file mode 100644 index 0000000..c9cc17a Binary files /dev/null and b/simulation/src/images/temp/part_2_graph_1.png differ diff --git a/simulation/src/images/temp/part_2_graph_2.png b/simulation/src/images/temp/part_2_graph_2.png new file mode 100644 index 0000000..1e83ca9 Binary files /dev/null and b/simulation/src/images/temp/part_2_graph_2.png differ diff --git a/simulation/src/images/temp/part_2_graph_3.png b/simulation/src/images/temp/part_2_graph_3.png new file mode 100644 index 0000000..a4ec0bf Binary files /dev/null and b/simulation/src/images/temp/part_2_graph_3.png differ diff --git a/simulation/src/images/temp/part_2_graph_empty.png b/simulation/src/images/temp/part_2_graph_empty.png new file mode 100644 index 0000000..1540f5b Binary files /dev/null and b/simulation/src/images/temp/part_2_graph_empty.png differ diff --git a/simulation/src/images/temp/part_3_graph_arrow.png b/simulation/src/images/temp/part_3_graph_arrow.png new file mode 100644 index 0000000..d56101d Binary files /dev/null and b/simulation/src/images/temp/part_3_graph_arrow.png differ diff --git a/simulation/src/images/temp/part_3_option_1.png b/simulation/src/images/temp/part_3_option_1.png new file mode 100644 index 0000000..c5377ac Binary files /dev/null and b/simulation/src/images/temp/part_3_option_1.png differ diff --git a/simulation/src/images/temp/part_3_option_2.png b/simulation/src/images/temp/part_3_option_2.png new file mode 100644 index 0000000..506a3d7 Binary files /dev/null and b/simulation/src/images/temp/part_3_option_2.png differ diff --git a/simulation/src/images/temp/part_3_option_3.png b/simulation/src/images/temp/part_3_option_3.png new file mode 100644 index 0000000..7477cf2 Binary files /dev/null and b/simulation/src/images/temp/part_3_option_3.png differ diff --git a/simulation/src/images/temp/part_3_option_4.png b/simulation/src/images/temp/part_3_option_4.png new file mode 100644 index 0000000..d196120 Binary files /dev/null and b/simulation/src/images/temp/part_3_option_4.png differ diff --git a/simulation/src/images/temp/part_3_option_4_graph.png b/simulation/src/images/temp/part_3_option_4_graph.png new file mode 100644 index 0000000..1a9c6b4 Binary files /dev/null and b/simulation/src/images/temp/part_3_option_4_graph.png differ diff --git a/simulation/src/images/temp/record_btn.png b/simulation/src/images/temp/record_btn.png new file mode 100644 index 0000000..4d621f0 Binary files /dev/null and b/simulation/src/images/temp/record_btn.png differ diff --git a/simulation/src/images/temp/right_tick.png b/simulation/src/images/temp/right_tick.png new file mode 100644 index 0000000..9d81e00 Binary files /dev/null and b/simulation/src/images/temp/right_tick.png differ diff --git a/simulation/src/images/temp/run_btn.png b/simulation/src/images/temp/run_btn.png new file mode 100644 index 0000000..5a52c7a Binary files /dev/null and b/simulation/src/images/temp/run_btn.png differ diff --git a/simulation/src/images/temp/temp23/formulas_component_stress.png b/simulation/src/images/temp/temp23/formulas_component_stress.png new file mode 100644 index 0000000..5a1d148 Binary files /dev/null and b/simulation/src/images/temp/temp23/formulas_component_stress.png differ diff --git a/simulation/src/images/temp/temp23/formulas_efficiency.png b/simulation/src/images/temp/temp23/formulas_efficiency.png new file mode 100644 index 0000000..c776c78 Binary files /dev/null and b/simulation/src/images/temp/temp23/formulas_efficiency.png differ diff --git a/simulation/src/images/temp/temp23/formulas_ideal.png b/simulation/src/images/temp/temp23/formulas_ideal.png new file mode 100644 index 0000000..adbd8bc Binary files /dev/null and b/simulation/src/images/temp/temp23/formulas_ideal.png differ diff --git a/simulation/src/images/temp/temp23/formulas_nomenclautre.png b/simulation/src/images/temp/temp23/formulas_nomenclautre.png new file mode 100644 index 0000000..affb964 Binary files /dev/null and b/simulation/src/images/temp/temp23/formulas_nomenclautre.png differ diff --git a/simulation/src/images/temp/temp23/formulas_non_ideal.png b/simulation/src/images/temp/temp23/formulas_non_ideal.png new file mode 100644 index 0000000..a984e3d Binary files /dev/null and b/simulation/src/images/temp/temp23/formulas_non_ideal.png differ diff --git a/simulation/src/images/temp/temp23/formulas_procedure.png b/simulation/src/images/temp/temp23/formulas_procedure.png new file mode 100644 index 0000000..62e92eb Binary files /dev/null and b/simulation/src/images/temp/temp23/formulas_procedure.png differ diff --git a/simulation/src/images/temp/temp23/formulas_universal.png b/simulation/src/images/temp/temp23/formulas_universal.png new file mode 100644 index 0000000..40c4aec Binary files /dev/null and b/simulation/src/images/temp/temp23/formulas_universal.png differ diff --git a/simulation/src/images/temp/temp23/graph2_arrow.png b/simulation/src/images/temp/temp23/graph2_arrow.png new file mode 100644 index 0000000..841a8b7 Binary files /dev/null and b/simulation/src/images/temp/temp23/graph2_arrow.png differ diff --git a/simulation/src/images/template_imgs/arrow.png b/simulation/src/images/template_imgs/arrow.png new file mode 100644 index 0000000..6b13356 Binary files /dev/null and b/simulation/src/images/template_imgs/arrow.png differ diff --git a/simulation/src/images/template_imgs/blinkArrow.webp b/simulation/src/images/template_imgs/blinkArrow.webp new file mode 100644 index 0000000..db974c1 Binary files /dev/null and b/simulation/src/images/template_imgs/blinkArrow.webp differ diff --git a/simulation/src/images/template_imgs/blinkArrowRed.png b/simulation/src/images/template_imgs/blinkArrowRed.png new file mode 100644 index 0000000..afb6427 Binary files /dev/null and b/simulation/src/images/template_imgs/blinkArrowRed.png differ diff --git a/simulation/src/images/template_imgs/iit-delhi-logo.png b/simulation/src/images/template_imgs/iit-delhi-logo.png new file mode 100644 index 0000000..0806e3e Binary files /dev/null and b/simulation/src/images/template_imgs/iit-delhi-logo.png differ diff --git a/simulation/src/images/template_imgs/laerrow.png b/simulation/src/images/template_imgs/laerrow.png new file mode 100644 index 0000000..9bd9bea Binary files /dev/null and b/simulation/src/images/template_imgs/laerrow.png differ diff --git a/simulation/src/images/template_imgs/laerrow2.png b/simulation/src/images/template_imgs/laerrow2.png new file mode 100644 index 0000000..d69fb87 Binary files /dev/null and b/simulation/src/images/template_imgs/laerrow2.png differ diff --git a/simulation/src/images/template_imgs/logo.png b/simulation/src/images/template_imgs/logo.png new file mode 100644 index 0000000..ec94212 Binary files /dev/null and b/simulation/src/images/template_imgs/logo.png differ diff --git a/simulation/src/images/template_imgs/man.png b/simulation/src/images/template_imgs/man.png new file mode 100644 index 0000000..e2b1673 Binary files /dev/null and b/simulation/src/images/template_imgs/man.png differ diff --git a/simulation/src/images/template_imgs/measurearrow.png b/simulation/src/images/template_imgs/measurearrow.png new file mode 100644 index 0000000..cbd8709 Binary files /dev/null and b/simulation/src/images/template_imgs/measurearrow.png differ diff --git a/simulation/src/images/template_imgs/measurearrow2.png b/simulation/src/images/template_imgs/measurearrow2.png new file mode 100644 index 0000000..cbd8709 Binary files /dev/null and b/simulation/src/images/template_imgs/measurearrow2.png differ diff --git a/simulation/src/images/template_imgs/prof_image_kn_jha.jpeg b/simulation/src/images/template_imgs/prof_image_kn_jha.jpeg new file mode 100644 index 0000000..a4c5860 Binary files /dev/null and b/simulation/src/images/template_imgs/prof_image_kn_jha.jpeg differ diff --git a/simulation/src/images/template_imgs/redsize.png b/simulation/src/images/template_imgs/redsize.png new file mode 100644 index 0000000..f6c8d4b Binary files /dev/null and b/simulation/src/images/template_imgs/redsize.png differ diff --git a/simulation/src/images/template_imgs/restart_btn.png b/simulation/src/images/template_imgs/restart_btn.png new file mode 100644 index 0000000..ed885ad Binary files /dev/null and b/simulation/src/images/template_imgs/restart_btn.png differ diff --git a/simulation/src/images/template_imgs/speech_off_btn.png b/simulation/src/images/template_imgs/speech_off_btn.png new file mode 100644 index 0000000..3605745 Binary files /dev/null and b/simulation/src/images/template_imgs/speech_off_btn.png differ diff --git a/simulation/src/images/template_imgs/speech_on_btn.png b/simulation/src/images/template_imgs/speech_on_btn.png new file mode 100644 index 0000000..de93bb3 Binary files /dev/null and b/simulation/src/images/template_imgs/speech_on_btn.png differ diff --git a/simulation/src/images/template_imgs/talk_cloud.png b/simulation/src/images/template_imgs/talk_cloud.png new file mode 100644 index 0000000..15a36cd Binary files /dev/null and b/simulation/src/images/template_imgs/talk_cloud.png differ diff --git a/simulation/src/other/ce2.pdf b/simulation/src/other/ce2.pdf new file mode 100644 index 0000000..440c872 Binary files /dev/null and b/simulation/src/other/ce2.pdf differ diff --git a/simulation/src/videos/bfs_installation.mp4 b/simulation/src/videos/bfs_installation.mp4 new file mode 100644 index 0000000..810b671 Binary files /dev/null and b/simulation/src/videos/bfs_installation.mp4 differ diff --git a/simulation/src/videos/panel_1.mp4 b/simulation/src/videos/panel_1.mp4 new file mode 100644 index 0000000..8790df9 Binary files /dev/null and b/simulation/src/videos/panel_1.mp4 differ diff --git a/simulation/src/videos/panel_2.mp4 b/simulation/src/videos/panel_2.mp4 new file mode 100644 index 0000000..297d9c7 Binary files /dev/null and b/simulation/src/videos/panel_2.mp4 differ diff --git a/simulation/src/videos/send_dropping.mp4 b/simulation/src/videos/send_dropping.mp4 new file mode 100644 index 0000000..3bb60bb Binary files /dev/null and b/simulation/src/videos/send_dropping.mp4 differ diff --git a/simulation/src/videos/yoke_front_to_back.mp4 b/simulation/src/videos/yoke_front_to_back.mp4 new file mode 100644 index 0000000..1b733fe Binary files /dev/null and b/simulation/src/videos/yoke_front_to_back.mp4 differ diff --git a/simulation/src/videos/yoke_front_to_side.mp4 b/simulation/src/videos/yoke_front_to_side.mp4 new file mode 100644 index 0000000..2cab1f7 Binary files /dev/null and b/simulation/src/videos/yoke_front_to_side.mp4 differ diff --git a/simulation/temp.html b/simulation/temp.html new file mode 100644 index 0000000..ceef54b --- /dev/null +++ b/simulation/temp.html @@ -0,0 +1,69 @@ + + + + + + check + + +
    + +
    + + + diff --git a/simulation/toolkit/btn_download.png b/simulation/toolkit/btn_download.png new file mode 100644 index 0000000..6873ade Binary files /dev/null and b/simulation/toolkit/btn_download.png differ diff --git a/simulation/toolkit/fix_styling.css b/simulation/toolkit/fix_styling.css new file mode 100644 index 0000000..b3dc4a7 --- /dev/null +++ b/simulation/toolkit/fix_styling.css @@ -0,0 +1,15 @@ +body{ + justify-content: unset; +} + +.right-box{ + margin-left: 0; +} + +.main-container{ + margin: auto; +} + +.right-container{ + width: unset; +} diff --git a/simulation/toolkit/main_spinner.css b/simulation/toolkit/main_spinner.css new file mode 100644 index 0000000..645e96e --- /dev/null +++ b/simulation/toolkit/main_spinner.css @@ -0,0 +1,173 @@ +:root { + --light-color: #c9bafc; + --mid-color: #9f91cc; + --dark-color: #3d246c; + --size: 30; + --trans: ease; + } + + .main-spinner { + display: none; + top: 50%; + left: 50%; + transform: translate(-50%,-63%); + width: calc(var(--size) * 1vmin); + height: calc(var(--size) * 1vmin); + position: fixed; + } + + .main-spinner:before { + content: ""; + background: var(--mid-color); + width: 50%; + height: 50%; + position: absolute; + left: 0%; + top: 0%; + transform-origin: right bottom; + animation: shadow 4s var(--trans) 0s infinite; + } + + .main-spinner:after { + content: ""; + background: var(--mid-color); + width: 33.33%; + height: 33.33%; + position: absolute; + left: 50%; + top: 16.66%; + transform-origin: left bottom; + animation: shadow 4s var(--trans) 1s infinite; + transform: scale(0); + z-index: -1; + } + + .main-spinner .loader { + width: calc(var(--size) * 0.5vmin); + height: calc(var(--size) * 0.5vmin); + background: var(--dark-color); + transform-origin: right bottom; + animation: outer 4s var(--trans) 0s infinite; + position: relative; + } + + .main-spinner .loader span { + width: 50%; + height: 50%; + display: block; + background: var(--light-color); + transform-origin: right bottom; + animation: inner 1s ease-in-out 0.5s infinite; + top: 50%; + left: 50%; + position: absolute; + } + + .main-spinner a { + position: absolute; + font-size: 1.5vmin; + text-shadow: 0 0px 0 #000; + bottom: 5vmin; + font-family: Arial, Helvetica, serif; + text-decoration: none; + background: #111; + color: #fff; + padding: 1.25vmin 1.5vmin; + text-transform: uppercase; + } + + .main-spinner a:hover { + background: #999; + color: #222; + text-shadow: -1px 0px 0 #fff8; + } + + .main-spinner a span { + color: #454545; + } + + .main-spinner .text{ + display: none; + left: 50%; + top: 50%; + transform: translate(-50%, -66%); + padding: 7px; + width: 700px; + position: relative; + text-align: center; + z-index: 10; + font-size: 18px; + } + + .main-spinner .text span{ + line-height: 1.4; + color: #500051; + padding: 0 5px; + border-radius: 6px; + background-color: #6b6b6b42; + /* font-style: italic; */ + font-weight: bold; + } + + @keyframes outer { + 0% { + transform: rotate(0deg) scale(1); + } + 12.5% { + transform: rotate(90deg) scale(1); + } + 25% { + transform: rotate(90deg) scale(0.75); + } + 37.5% { + transform: rotate(180deg) scale(0.75); + } + 50% { + transform: rotate(180deg) scale(0.5); + } + 62.5% { + transform: rotate(270deg) scale(0.5); + } + 75% { + transform: rotate(270deg) scale(0.25); + } + 87.5% { + transform: rotate(360deg) scale(0.25); + } + 100% { + transform: rotate(360deg) scale(1); + } + } + + @keyframes inner { + 50%, + 100% { + transform: rotate(360deg); + } + } + + @keyframes shadow { + 0%, + 8.25% { + transform: scale(0); + } + 16.5% { + transform: scale(1); + } + 49.5% { + transform: scale(0); + } + 50% { + transform: scale(0) rotate(180deg); + } + 50.5%, + 58.25% { + transform: scale(0) rotate(180deg); + } + 66.5% { + transform: scale(0.5) rotate(180deg); + } + 100% { + transform: scale(0) rotate(180deg); + } + } \ No newline at end of file diff --git a/simulation/toolkit/msg_download.png b/simulation/toolkit/msg_download.png new file mode 100644 index 0000000..fec5de6 Binary files /dev/null and b/simulation/toolkit/msg_download.png differ diff --git a/simulation/toolkit/setBlinkArrowYellow.png b/simulation/toolkit/setBlinkArrowYellow.png new file mode 100644 index 0000000..3715942 Binary files /dev/null and b/simulation/toolkit/setBlinkArrowYellow.png differ diff --git a/simulation/toolkit/toolkit.css b/simulation/toolkit/toolkit.css new file mode 100644 index 0000000..b70be09 --- /dev/null +++ b/simulation/toolkit/toolkit.css @@ -0,0 +1,150 @@ +/* ! Download Button CSS */ +/* print css */ +@media print { + * { + -webkit-print-color-adjust: exact !important; /* Chrome, Safari 6 – 15.3, Edge */ + color-adjust: exact !important; /* Firefox 48 – 96 */ + print-color-adjust: exact !important; /* Firefox 97+, Safari 15.4+ */ + } + body{ + background-color: white!important; + } + .main-container{ + scale: 1!important; + transform: none!important; + } + + #drawer, + .toolkit, + .progressbar, + .blinkArrow + .blinkArrowRed{ + display: none!important; + visibility: hidden; + } + .anime-header, .anime-footer{ + display: flex!important; + } + .main-window{ + border-radius: 10px; + } + @page { + size: landscape; + } +} + +body{ + /* height: 100vh; */ +} +/* ! Toolkit */ +.toolkit{ + width: 60px; + position: relative; + top: 34px; + background-color: #3d246c; + height: 604px; + /* border-right: 2px solid black; + border-top: 2px solid black; */ + border-top-right-radius: 10px; + border-bottom-right-radius: 10px; +} +.toolkit .btn-group{ + margin: 1px; + padding: 10px; + display: flex; + flex-direction: column; + justify-content: flex-end; + height: 100%; + gap: 10px; +} +.toolkit .btn{ + display: flex; + justify-content: center; + align-items: center; + width: 40px; + height: 40px; + padding: 7px; + margin: 0; +} +.toolkit .btn .title{ + position: absolute; + visibility: hidden; +} +.toolkit .btn-logo{ + height: 20px; + width: 20px; +} +.toolkit +/* for only mute btn */ +.toolkit .mute { + padding: 0; +} +.toolkit .mute img{ + width: 40px; + height: 40px; + padding: 10px; +} +.toolkit .msg-download{ + +} +/* .toolkit .btn:hover .title{ + visibility: visible; + position: relative; +} */ + +/* ! Adding border to containers */ +.main-window{ + border: none; + /* border-left: 2px solid black; + border-top: 2px solid black; + border-bottom: 2px solid black; */ + border-top-left-radius: 10px; + border-bottom-left-radius: 10px; + z-index: 10000; +} + +.anime-footer{ + background-color: #3d246c!important; +} +.toolkit{ + z-index: 9000; +} +.toolkit, .main-window{ + box-shadow: 0px 0px 20px -1px black; +} + +.border-right-radius{ + border-top-right-radius: 10px; + border-bottom-right-radius: 10px; +} +.toolkit .blinkArrowYellow{ + display: none; + height: 30px; + position: absolute; + bottom: 60px; + left: 12px; + rotate: 90deg; +} + +/* ! Universal CSS */ +*{ + user-select: none; +} + +img{ + user-drag: none; + -webkit-user-drag: none; + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; +} + +body{ + background-color: #f8f9fa; +} + +#drawer{ + background-color: #ffffff; +} + diff --git a/simulation/toolkit/toolkit.js b/simulation/toolkit/toolkit.js new file mode 100644 index 0000000..1f6a700 --- /dev/null +++ b/simulation/toolkit/toolkit.js @@ -0,0 +1,282 @@ +// Define the function +// to screenshot the div + +const Download = { + btnDownload: null, + btnMute: null, + isMobileUser: false, + isSpinnerVisible: false, + btnDownloadBlinkAnime: null, + isBtnDownloadClicked: false, + mainContainerHeight: 638, + spinnerTimeoutSeconds: 2000, + checkForStepEndIntervalId: null, + previousRealCurrentStep: null, + // 1 step aage + // removeDownloadFromTheseSteps: [], + addDownloadToTheseSteps: [5,6,7,8], + init() { + this.setOnClicks(); + this.showTookitForCurrentStep(); + this.setBtnDownloadBlink(); + this.checkForStepEnd(); + this.stopImageDrag(); + this.disableRightClick(); + this.setBtnMuteOnClick(); + this.detectMobileUser(); + this.detectZoomLevel() + // TODO UNCOMMENT + this.setHeightOfMainContainerAuto(); + }, + setOnClicks() { + this.btnDownload = document.querySelector(".btn-download-pdf"); + this.btnMute = document.querySelector(".btn-mute"); + + this.btnDownload.onclick = this.capture; + }, + capture() { + window.print(); + Download.setBlinkArrowYellow(-1) + }, + showTookitForCurrentStep() { + $(".toolkit").hide(); + + let intervalForCheck = null; + const checkForCurrentStepChange = () => { + // ! don't try to understand (this is working) + // * add download to these + if (this.addDownloadToTheseSteps.indexOf(Scenes.realCurrentStep) != -1) { + // clearInterval(intervalForCheck) + $(".toolkit").show("slow"); + $(".main-window").removeClass("border-right-radius"); + } else { + $(".toolkit").hide("slow"); + $(".main-window").addClass("border-right-radius"); + } + }; + + intervalForCheck = setInterval(() => { + checkForCurrentStepChange(); + }, 1000); + }, + checkForStepEnd() { + if(this.checkForStepEndIntervalId != null){ + return + } + + this.checkForStepEndIntervalId = setInterval(() => { + if(this.previousRealCurrentStep == Scenes.realCurrentStep){ + return + } + if ( + this.addDownloadToTheseSteps.indexOf(Scenes.realCurrentStep) != -1 && + !isRunning + ) { + // * For running it only one time + this.setBlinkArrowYellow(true, 12, 495).play(); + this.btnDownloadBlinkAnime.play(); + this.previousRealCurrentStep = Scenes.realCurrentStep + } + + }, 1000); + }, + playDownloadButtonAnime(){ + // ! for remoging check for step end + if(!this.checkForStepEndIntervalId){ + clearInterval(this.checkForStepEndIntervalId) + } + + // * For running it only one time + this.setBlinkArrowYellow(true, 12, 495).play(); + this.btnDownloadBlinkAnime.play(); + setTimeout(() => { + this.setBlinkArrowYellow(-1) + }, 4000); + }, + setBlinkArrowYellow( + isX = true, + left = null, + top = null, + height = 30, + width = null, + rotate = 0 + ) { + let blinkArrow = new Dom(".blinkArrowYellow") + .set(left, top, height, width) + .rotate(rotate) + .zIndex(10000); + if (isX === -1) { + blinkArrow.hide(); + return; + } + let x = 0, + y = 0; + if (isX) { + x = 20; + } else { + y = 20; + } + var blink = anime({ + targets: blinkArrow.item, + easing: "easeInOutQuad", + opacity: 1, + translateX: x, + translateY: y, + direction: "alternate", + loop: true, + autoplay: false, + duration: 300, + }); + + return blink; + }, + setBtnDownloadBlink() { + this.btnDownloadBlinkAnime = anime({ + targets: this.btnDownload, + autoplay: false, + scale: [1, 1.2], + backgroundColor: ["#ffdbc3", "#fff000"], + loop: 4, + duration: 1000, + direction: 'alternate', + complete(anim) { + anim.reset(); + }, + }); + }, + stopImageDrag() { + $("img").on("dragstart", function (event) { + event.preventDefault(); + }); + }, + disableRightClick() { + document.addEventListener("contextmenu", (event) => event.preventDefault()); + }, + setBtnMuteOnClick() { + const btn_mute_old_functionality = () => { + this.btnMute.onclick; + }; + this.btnMute.onclick = () => { + btn_mute_old_functionality(); + window.speechSynthesis.cancel(); + }; + }, + detectMobileUser() { + let ratio = window.innerWidth / window.innerHeight; + if (ratio <= 1) { + this.isMobileUser = true; + } + // alert(`h: ${window.innerHeight}\nw: ${window.innerWidth}`) + }, + // ! set main-container height according to display + setHeightOfMainContainerAuto() { + // ! for mobile resising using width + if (this.isMobileUser) { + return; + } + const windowInnerHeight = parseFloat(window.innerHeight); + const mainContainerHeight = this.mainContainerHeight + let scalePercent = windowInnerHeight / mainContainerHeight; + let translateYValue = + (windowInnerHeight - mainContainerHeight) / 2 / scalePercent; + + // ! scale maxed up to 2x + if(scalePercent > 2){ + scalePercent = 2 + translateYValue = 160.4 + } + + // alert(scalePercent) + document.querySelector( + ".main-container" + ).style.transform = `scale(${scalePercent}) translateY(${translateYValue}px)`; + }, + toggleSpinner() { + $(".main-spinner").show(); + $(".main-container").hide(); + + setTimeout(() => { + $(".main-container").show("slow"); + $(".main-spinner").hide("slow"); + }, this.spinnerTimeoutSeconds); + }, + detectZoomLevel() { + var screenCssPixelRatio = (window.outerWidth - 8) / window.innerWidth; + let zoomLevel = "" + if (screenCssPixelRatio >= 0.46 && screenCssPixelRatio <= 0.54) { + zoomLevel = "-4"; + } else if (screenCssPixelRatio <= 0.64) { + zoomLevel = "-3"; + } else if (screenCssPixelRatio <= 0.76) { + zoomLevel = "-2"; + } else if (screenCssPixelRatio <= 0.92) { + zoomLevel = "-1"; + } else if (screenCssPixelRatio <= 1.1) { + zoomLevel = "0"; + } else if (screenCssPixelRatio <= 1.32) { + zoomLevel = "1"; + } else if (screenCssPixelRatio <= 1.58) { + zoomLevel = "2"; + } else if (screenCssPixelRatio <= 1.9) { + zoomLevel = "3"; + } else if (screenCssPixelRatio <= 2.28) { + zoomLevel = "4"; + } else if (screenCssPixelRatio <= 2.7) { + zoomLevel = "5"; + } else { + zoomLevel = "unknown"; + } + //! if zoom not 100% just show message warning + if(zoomLevel != "0" && !this.isMobileUser){ + $(".main-spinner .text").show(); + this.spinnerTimeoutSeconds = 5000 + } + if(this.isMobileUser){ + $(".main-spinner .text").show(); + $(".main-spinner .text").html("For better user experience use
    🖥️ Desktop Site and"); + this.spinnerTimeoutSeconds = 5000 + } + // alert(zoomLevel) + }, +}; + +setTimeout(() => { + // $(".main-container").hide(); +}, 100); + +$(document).ready(function () { + // TODO uncomment + Download.init(); + Download.toggleSpinner() + + window.onbeforeprint = () => { + Dom.setBlinkArrowRed(-1); + Dom.setBlinkArrow(-1); + }; +}); + +// * image converter +// capture() { +// let div = document.querySelector(".main-container"); + +// // Use the html2canvas +// // function to take a screenshot +// // and append it +// // to the output div +// html2canvas(div).then(function (canvas) { +// // document.getElementById("output").appendChild(canvas); + +// let image = canvas +// .toDataURL("image/png") +// .replace("image/png", "image/octet-stream"); +// console.log(canvas.toDataURL("image/png")) + +// // location.href = image + +// var a = document.createElement('a') +// a.href = image +// a.download = "Experiment.jpeg" + +// a.click() +// }); +// }, diff --git a/sw.js b/sw.js new file mode 100644 index 0000000..7b012ff --- /dev/null +++ b/sw.js @@ -0,0 +1,15 @@ +importScripts('https://storage.googleapis.com/workbox-cdn/releases/6.2.0/workbox-sw.js'); + +workbox.precaching.precacheAndRoute([{"revision":"7cc40c199d128af6b01e74a28c5900b0","url":"assets/css/bootstrap.min.css"},{"revision":"b1e92a5593c58e6832c7f6dce30a06ce","url":"assets/css/common-styles-responsive.css"},{"revision":"77f3d6639e02a6b774981b1ad75806f5","url":"assets/css/common-styles.css"},{"revision":"22d85286c513f3d4038c42b486ea1bf6","url":"assets/css/fontawesome.min.css"},{"revision":"613745964e452941615d4e3d1a387ab7","url":"assets/css/github-markdown.min.css"},{"revision":"a394012067cf46c79ab70d75f9caf500","url":"assets/css/katex.min.css"},{"revision":"53b8e50f782f63519dc05b76bd1d9c49","url":"assets/css/toast.css"},{"revision":"6d9501ec2a9a6e52b90a8d27340202b6","url":"assets/css/vlabs-style.css"},{"revision":"269550530cc127b6aa5a35925a7de6ce","url":"assets/fonts/font-awesome-4.7.0/css/font-awesome.min.css"},{"revision":"912ec66d7572ff821749319396470bde","url":"assets/fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.svg"},{"revision":"ff2be0cf35ad764cfcc9779f148aa8ac","url":"assets/images/favicon.png"},{"revision":"59cbb9b31115938b15a1786dcedd7796","url":"assets/images/logo-new.png"},{"revision":"97524ffa51690acdcb0e54a4f5b8502a","url":"assets/images/logo.png"},{"revision":"7d45f6653f4b7219600292be2d83f1b4","url":"assets/images/popout.png"},{"revision":"7924fe35ba7c22ce467efd504cce93d7","url":"assets/images/vlabs-color-small-moe.jpg"},{"revision":"1eb55c09b5d84050d497a664520d2255","url":"assets/js/assessment_v2.js"},{"revision":"31ecd36dd9f2e26b04f3795097445547","url":"assets/js/assessment.js"},{"revision":"5000362f34eee7667adb9dbd883f2217","url":"assets/js/event-handler.js"},{"revision":"0f6278fc4d074348edaba4042b4dd1f8","url":"assets/js/iframeResize.js"},{"revision":"4ae9cbf2f402c4a1dde3d8f0e3e8cf1b","url":"assets/js/instruction-box.js"},{"revision":"d9b11ca4d877c327889805b73bb79edd","url":"assets/js/jquery-3.4.1.slim.min.js"},{"revision":"bc2456c37c311bbdd25f4f54e0e8d1b9","url":"assets/js/toggleSidebar.js"},{"revision":"30ef592489ce0ac84ab367ce9eb0d597","url":"assets/js/webcomponents-loader.min.js"},{"revision":"0f2e317d41fb69dfb0270dbdf749e380","url":"assets/js/zero-md.min.js"},{"revision":"caf1062309e21ed583d00d24cac20912","url":"assets/katex_assets/katex.min.css"},{"revision":"e6ecf301108de5e0d31abefd74ff82cf","url":"feedback.html"},{"revision":"ff2a9e10796119c34351c69d14235904","url":"images/expl1.png"},{"revision":"2135fb2c47e198211a84f1ca20b2fc18","url":"images/expl2.png"},{"revision":"156b1ab02a188b5a75a2a5930f4c218c","url":"images/expl3.png"},{"revision":"ebbc1d3251046b0744ed3b2c5b1337ab","url":"images/pos1.png"},{"revision":"e8b5a524f786f3e8d57e411bd2edf4ce","url":"images/pre1.png"},{"revision":"aa302f89a86b2b21ee2a1ed213f4c8e0","url":"images/proced1.png"},{"revision":"85942ce10fd4bbab558f93a0f8166f4d","url":"images/th1.jpg"},{"revision":"38f7fa4b8a9aac22089e7e67bf0fa31e","url":"images/th10.png"},{"revision":"6338943d2d88fee859b3c0ef03b82b43","url":"images/th11.png"},{"revision":"2c48557880aa63ce6e7962a577c5cea1","url":"images/th12.png"},{"revision":"04aa305aff4b19261d492cbaa8be3bd0","url":"images/th13.png"},{"revision":"0e6e7f8de31054f90133dc0c88bb7b66","url":"images/th14.png"},{"revision":"137ef2b1429c2633a3ee4f69224dd585","url":"images/th15.png"},{"revision":"52defad260703e6430840860f05eeea2","url":"images/th16.png"},{"revision":"2be237f2e4deb3aa5dd8616ac2562cd3","url":"images/th17.png"},{"revision":"42e3a5b6dcc8ce4834d4755751e5d9f2","url":"images/th18.png"},{"revision":"298e667cb4e15a433a171a20f703e3b8","url":"images/th19.png"},{"revision":"ee9d29f438448c08c2cddfa478c7f70d","url":"images/th2.jpg"},{"revision":"26111d36322c213b29fe7aa750c929ca","url":"images/th20.png"},{"revision":"1768669e0aa025a389e2af75272f80d8","url":"images/th21.png"},{"revision":"b492d0794f57f9266ced729489aa20b5","url":"images/th22.png"},{"revision":"aae2e9c9e5874a073b2aa5f6a371809f","url":"images/th23.png"},{"revision":"3096a20fa7720d324356e5462fd5da96","url":"images/th23a.png"},{"revision":"eed8f8c67675fcf6ced3c7dba7593551","url":"images/th23b.png"},{"revision":"e8139b656378b5775423d2b9a32ce65b","url":"images/th23c.png"},{"revision":"ac97986b954f8f2a0e27ad5ffaffbde5","url":"images/th24.png"},{"revision":"84a2692b345d4f41bfe91efe7203e661","url":"images/th25.png"},{"revision":"b90d3fe23a733086788e1430c0c8077d","url":"images/th26.png"},{"revision":"dc246bd9e5686c83588727077d8e6eca","url":"images/th27.png"},{"revision":"49d0c8b08c5497608487e6ac3610978d","url":"images/th28.png"},{"revision":"33fae031b5745d8d0257c20be267631a","url":"images/th29.png"},{"revision":"15083406819f4daf3419e7d6b87be1ae","url":"images/th3.jpg"},{"revision":"a68609832255b1e61b272d1cd5d7d26c","url":"images/th30.png"},{"revision":"74345e0299f99c81f06362691c4ae4bc","url":"images/th31.png"},{"revision":"633c8b1529fb0931e424c003ec193e47","url":"images/th32.png"},{"revision":"467cbcc07a34848801a2418675f8b9a3","url":"images/th33.png"},{"revision":"ac700ff1d7abead365806551f42fabd3","url":"images/th34.png"},{"revision":"ac700ff1d7abead365806551f42fabd3","url":"images/th35.png"},{"revision":"276125a055f9e76affa9e0687700daf7","url":"images/th36.png"},{"revision":"73b09a28919a7198b0de3974c3b3c907","url":"images/th37.png"},{"revision":"a84d6f75a2d24f9384eba11739740368","url":"images/th38.png"},{"revision":"1ad16bac49a4c3e6d695f2940fe36af4","url":"images/th39.png"},{"revision":"c33735a6ef9755cb3845d542d9637daa","url":"images/th4.png"},{"revision":"c24b6fe5ab4439320a07969d5a203a0a","url":"images/th40.png"},{"revision":"20be549114095ac237b3a77af83ce3c8","url":"images/th41.png"},{"revision":"b2d02e136574b027c3f5d5acef97f4c2","url":"images/th42.png"},{"revision":"1d7e109074e4c044111812c6572d58ac","url":"images/th43.png"},{"revision":"ef6801f968ff2e76f576d2bb06131758","url":"images/th44.png"},{"revision":"3d27812ba41e2010041de91401f2c746","url":"images/th45.png"},{"revision":"39a6527d955cc5bdcf434a4e58a21cfb","url":"images/th46.png"},{"revision":"dea7baadeacffdc11a5aa607611bfca0","url":"images/th47.png"},{"revision":"91156eeb5b1722269423d737ab03f87f","url":"images/th5.png"},{"revision":"3ba85052a94d5e98546e5d527e2eb606","url":"images/th6.png"},{"revision":"9c3cda5e6471b3550e5f75f47a2a28fa","url":"images/th7.png"},{"revision":"9f2f5a382fda925748841a02148671b8","url":"images/th8.jpg"},{"revision":"76b312ef26bdd430aff6e22f95fb2124","url":"images/th8.png"},{"revision":"7f2ed213517530ee0a64114a283e2abd","url":"images/th9.png"},{"revision":"1d24e7274206afa4752fedd21c8855c6","url":"index.html"},{"revision":"f165dd1d5c8f96b8e89288f0d7931ec7","url":"performance-report.html"},{"revision":"914e243a5d6373b22585e9bdd0c25eef","url":"plugins/svc-rating/checkEventSubmission.js"},{"revision":"e99077e253b07129d0b9755e6a06f93f","url":"plugins/svc-rating/config.js"},{"revision":"40bc0d089f560247a1bfb0cd151232ad","url":"plugins/svc-rating/imageData.js"},{"revision":"a47af25e8d8500c59a6c26bac42a0cd9","url":"plugins/svc-rating/images/empty-star.svg"},{"revision":"6ad37561267a21d6bcb558f9c7c3fe8a","url":"plugins/svc-rating/images/half-star.svg"},{"revision":"7924fe35ba7c22ce467efd504cce93d7","url":"plugins/svc-rating/images/logo.jpg"},{"revision":"f2be5f1d57e0a2c690e34cf9095bed16","url":"plugins/svc-rating/images/mobile_rating_icon.png"},{"revision":"17c8ce8f2faa7937f7978a4dfb69df3a","url":"plugins/svc-rating/images/mobile-icon.svg"},{"revision":"96102a862f070a61a20193b621188ef3","url":"plugins/svc-rating/images/star.svg"},{"revision":"e083f28aa9e5a670a2e5de02197c261f","url":"plugins/svc-rating/index.html"},{"revision":"db18c05646b11f1fa66ef3ebb87116ca","url":"plugins/svc-rating/index.js"},{"revision":"fdc8b6772fb88081e86497fd2f75e20b","url":"plugins/svc-rating/package-lock.json"},{"revision":"7039ff00a75fd32443048e6ed0020a91","url":"plugins/svc-rating/package.json"},{"revision":"1ed592c19b20d396536ebd3611f3ef40","url":"plugins/svc-rating/rating-display.js"},{"revision":"0267f54f7993bcd47793dd7f7be56c92","url":"plugins/svc-rating/rating-submit.js"},{"revision":"57e53998ce85ab911eea27fdc421480d","url":"plugins/svc-rating/rating.js"},{"revision":"1bb81f97b0723bfdd89184d485a0ecad","url":"plugins/tool-performance/config.json"},{"revision":"3062d3749c84c5dc3fc7013e11376fce","url":"plugins/tool-performance/css/main.css"},{"revision":"8ec7b430663c34b8e9882c923e34e86e","url":"plugins/tool-performance/index.html"},{"revision":"6fc8455688b00e5dd6d392b61743473a","url":"plugins/tool-performance/js/api/gsc.js"},{"revision":"d62937417a11fee561c78bf3b145d85d","url":"plugins/tool-performance/js/api/lighthouse.js"},{"revision":"d42b124fa3c85371ea563f49f38e5a3d","url":"plugins/tool-performance/js/commonData.js"},{"revision":"11e328184e68c05f60030c19aa4efca9","url":"plugins/tool-performance/js/main.js"},{"revision":"66d4aa241bb986851066c1684270d236","url":"plugins/tool-performance/js/parse.js"},{"revision":"3f82067c934ff332a430c76f9e37b260","url":"plugins/tool-performance/js/populate/gsc.js"},{"revision":"9e183c67dc9157cd26b8a076ccf04d69","url":"plugins/tool-performance/js/populate/lighthouse.js"},{"revision":"1709dc5f9149e869449dcb2b7a8b3a20","url":"plugins/tool-performance/js/util.js"},{"revision":"1bb81f97b0723bfdd89184d485a0ecad","url":"plugins/tool-validation/config.json"},{"revision":"95c086500b7a5941bd950f22c888cc41","url":"plugins/tool-validation/css/main.css"},{"revision":"8c8a8e5422cc687a53deffd1326e5556","url":"plugins/tool-validation/index.html"},{"revision":"a35ebe17ce73daf38433381fbe0071de","url":"plugins/tool-validation/js/link_validation.js"},{"revision":"acc595e531160409a0194bf7190696d0","url":"plugins/tool-validation/js/main.js"},{"revision":"49049daf46cd95b6d8754b4df6cd57b2","url":"plugins/tool-validation/package-lock.json"},{"revision":"3e614b98b80bb07eef3338b563d697af","url":"plugins/tool-validation/package.json"},{"revision":"fd03789af37a616476cb6ef50faf0b49","url":"posttest.html"},{"revision":"f3940a6b8bab5ee0b981719e8d808c12","url":"posttest.json"},{"revision":"b624886dd2dcc4c79718cd72342c5769","url":"pretest.html"},{"revision":"3107d36f36646c1cfcf3b1d82243fe90","url":"pretest.json"},{"revision":"b32dfde19adf51b026c0b7295b2fa926","url":"procedure.html"},{"revision":"c76cb1b0e7668b53852ea76c6f6456ca","url":"references.html"},{"revision":"e1d5990f2156bbc8b8b3a97d7eaa8656","url":"simulation.html"},{"revision":"c4a028082969f3e195bee7a335136b6d","url":"simulation/css/certificate.css"},{"revision":"4826d6e980130b605251349ef17274a4","url":"simulation/css/chart.css"},{"revision":"d32026913a96ddcafc0588124381defc","url":"simulation/css/component_styling.css"},{"revision":"5d6ec532680fcc1f5e0c08f934e76284","url":"simulation/css/imgs.css"},{"revision":"796d344738e60d70ab40fe39179b1e03","url":"simulation/css/layout.css"},{"revision":"cee046336c80d26475a556205dae898f","url":"simulation/css/progressBar.css"},{"revision":"9dba64c9c1e55fbaaf61b2654104090b","url":"simulation/css/quiz.css"},{"revision":"11324e60783b73a61616aef0781a40cd","url":"simulation/css/resultTable.css"},{"revision":"5c3cc80aca54f2e04368ea3b2ae22ed2","url":"simulation/css/scenes.css"},{"revision":"47c72f4f3a67fc26654fb3938f51d9d0","url":"simulation/css/sliders.css"},{"revision":"2eadff2f18bb43eb682aee58c0b8febd","url":"simulation/css/table.css"},{"revision":"a1b7d8e65e417cfdd693280918471a26","url":"simulation/helper/cable/css/simstyle.css"},{"revision":"10b768f3e90afac16927a109df188a67","url":"simulation/helper/cable/images/Log.png"},{"revision":"ece9a88f591dea3c689983c3fc21e16b","url":"simulation/helper/cable/images/meter.png"},{"revision":"695bf91196ffd4ddffc86dbfa42b6625","url":"simulation/helper/cable/images/meter2.png"},{"revision":"6a8bc08c6f3e1507b997f1a60dd9ba13","url":"simulation/helper/cable/js/demo.js"},{"revision":"86e40e5d024bd6756a4761edd46fc50b","url":"simulation/helper/cable/js/jsplumb.js"},{"revision":"86609c34fe5e7124dbc628ec481d139e","url":"simulation/helper/cable/simulate.html"},{"revision":"203251095128b73f7f484edae0b2c328","url":"simulation/helper/cable/temp.html"},{"revision":"43eaf40c8c5f7d437a63ea3856ed0964","url":"simulation/helper/GRAPH/graph.html"},{"revision":"2a7ea1fd70e96d68d8c67eb469e48f58","url":"simulation/helper/img/slider_circuit.png"},{"revision":"0b40862bc353863ed40b9b7ff96cc9aa","url":"simulation/helper/img/slider_D_blank.png"},{"revision":"aae851b2cbdad2e51f2983c2043f0525","url":"simulation/helper/img/slider_R_arrow.png"},{"revision":"0599925b46d14f81e07a6687bd996bc5","url":"simulation/helper/img/slider_tip.png"},{"revision":"2b07b14fb0336abf9210a4c05e332ec1","url":"simulation/helper/img/slider_V_arrow.png"},{"revision":"63aba87522883231f5fa25e5edcbdc60","url":"simulation/helper/img/slider_V_back.png"},{"revision":"8086b82a7ea7fb68baafa82949ec96b5","url":"simulation/helper/sliders.css"},{"revision":"59a22eb88fca747bc08824c041f75de0","url":"simulation/helper/sliders.js"},{"revision":"ae75606eda320dc149c097375f6e5310","url":"simulation/helper/temp.html"},{"revision":"e56f25831315af606a4beab1e74b64eb","url":"simulation/iframes/data/apple-touch-icon.png"},{"revision":"570716f3ff61573935ea9f614206d9e2","url":"simulation/iframes/data/browsersupport.js"},{"revision":"4f38016aec262190d5033a48cd631b75","url":"simulation/iframes/data/html5-unsupported.html"},{"revision":"9526701d3ec8c74b4aeee6bd23ce514a","url":"simulation/iframes/data/img0.png"},{"revision":"1d9d45d08b568bcaf1c4063c60bfcac5","url":"simulation/iframes/data/img1.png"},{"revision":"132106521e63ff48026f1dff232bc776","url":"simulation/iframes/data/img10.png"},{"revision":"2d21f8942a2d909ea6d5226b295975f6","url":"simulation/iframes/data/img11.png"},{"revision":"932e4654ce453ced48acf8bb399b5d11","url":"simulation/iframes/data/img12.png"},{"revision":"f4eac4a3d07c30007ee453b0912abfc3","url":"simulation/iframes/data/img13.png"},{"revision":"fa63b25f2d1169e73c4beb7550831e72","url":"simulation/iframes/data/img14.png"},{"revision":"ba995da6fe08df68107586d939e890d5","url":"simulation/iframes/data/img15.png"},{"revision":"e4b02f171db98923a85f1e46b6ea5eda","url":"simulation/iframes/data/img16.png"},{"revision":"947639184d40232efabe11ef96efb75e","url":"simulation/iframes/data/img17.png"},{"revision":"8d901dbc0489f7a2a995515ce999c84c","url":"simulation/iframes/data/img18.jpg"},{"revision":"7e4ff75dde8c70572842e4c215a49c2e","url":"simulation/iframes/data/img19.png"},{"revision":"a6eec858a148ed49853302f31737ecfb","url":"simulation/iframes/data/img2.png"},{"revision":"cd71e6a182052cf8a562b7dd813430dc","url":"simulation/iframes/data/img21.jpg"},{"revision":"4425370709c89e025fb6f0634596bee8","url":"simulation/iframes/data/img22.png"},{"revision":"caa83e8a8f901d041901b6d9452f7979","url":"simulation/iframes/data/img23.png"},{"revision":"2602a0ea4aaf89b38758004823f5251b","url":"simulation/iframes/data/img24.png"},{"revision":"8c7b0ad32647cbcb83a7e9522e479107","url":"simulation/iframes/data/img25.jpg"},{"revision":"6296ce2bb8cc4e203974530fd3dd5781","url":"simulation/iframes/data/img26.png"},{"revision":"1de8abfa6a4be18d427d7c2f08f4ab3e","url":"simulation/iframes/data/img27.png"},{"revision":"bafd0040a351d2abfad9e367600e2bca","url":"simulation/iframes/data/img28.png"},{"revision":"5cef7b5941501ce060cac2e4f31f3466","url":"simulation/iframes/data/img29.png"},{"revision":"e79d67de24709e0665b500951c3b2aad","url":"simulation/iframes/data/img3.png"},{"revision":"75b9d8bd17c15e89453bb034086f8d98","url":"simulation/iframes/data/img30.png"},{"revision":"0a43b6ebcfdb56c4e1297569a33d73d6","url":"simulation/iframes/data/img31.jpg"},{"revision":"8731fee59ec9db61ffd5463c899636d6","url":"simulation/iframes/data/img32.png"},{"revision":"be601c26706cab105c768ae0b0279a19","url":"simulation/iframes/data/img33.png"},{"revision":"ef160e5307a9eb162b9eb6ae54f4a66d","url":"simulation/iframes/data/img34.png"},{"revision":"b436b41d5a948f60bc5af401d4d556fb","url":"simulation/iframes/data/img35.png"},{"revision":"946e084edc5cdebdd6ead0d4b067011c","url":"simulation/iframes/data/img36.png"},{"revision":"b30e0436b97dcb83733b70867ddca1a5","url":"simulation/iframes/data/img37.png"},{"revision":"2225606546842daa090e6ad4f5ca2a86","url":"simulation/iframes/data/img38.png"},{"revision":"d11760cb96d3ff167f47a81c99db5069","url":"simulation/iframes/data/img39.png"},{"revision":"ffb4565cb6f36d8886025abcac7c51aa","url":"simulation/iframes/data/img4.png"},{"revision":"200c6027aa50475594efea646531beda","url":"simulation/iframes/data/img40.png"},{"revision":"4e191e2e10fb0b27675615240b5f899b","url":"simulation/iframes/data/img41.png"},{"revision":"5f6b520da1d83c8d41e858d41929566a","url":"simulation/iframes/data/img42.png"},{"revision":"8d20f67e07e02a6f2cfd78e26c07fc7e","url":"simulation/iframes/data/img43.png"},{"revision":"61ab2a1a2c038a8b21775038e420e53b","url":"simulation/iframes/data/img44.png"},{"revision":"def12248e02c8143c7791abaf802e138","url":"simulation/iframes/data/img45.png"},{"revision":"bdcaed4d718c366706d2c11e17a0b692","url":"simulation/iframes/data/img46.png"},{"revision":"18b44ae27f99b5a15ab3865dc9288c4f","url":"simulation/iframes/data/img47.png"},{"revision":"a7a34306cff49cfec4f95bef961b311c","url":"simulation/iframes/data/img48.png"},{"revision":"5b79a92306f32f850333cd0d6ffb4869","url":"simulation/iframes/data/img49.png"},{"revision":"f7b05f90e2db31c484244079ee2b2537","url":"simulation/iframes/data/img5.png"},{"revision":"e724b3184eb609eb1344b6c7a3ef4299","url":"simulation/iframes/data/img50.png"},{"revision":"7dd9ca7739c55d646457bb398005e279","url":"simulation/iframes/data/img51.png"},{"revision":"a51ca615e94be9da2ff3539179c0526e","url":"simulation/iframes/data/img52.png"},{"revision":"e3855d772b6009e026457c58fee03da1","url":"simulation/iframes/data/img53.png"},{"revision":"829d0726d31bf728e8c42c76f7f905d9","url":"simulation/iframes/data/img54.png"},{"revision":"06accd5d1c89cdd89cd58affa91b682b","url":"simulation/iframes/data/img55.png"},{"revision":"a4593f2540e7a3e184db164144ee08e7","url":"simulation/iframes/data/img56.png"},{"revision":"e6fbe1014aee2160d754c7d4bbabe5bb","url":"simulation/iframes/data/img57.png"},{"revision":"b41253439da2153585852d2adccad3ad","url":"simulation/iframes/data/img58.png"},{"revision":"f8c168e5d74fab2fb910471563670b47","url":"simulation/iframes/data/img59.png"},{"revision":"21d46bd896946a3d29b11c6b714cb9f5","url":"simulation/iframes/data/img6.png"},{"revision":"a1e8f60a3794e8f56e06e2b226ac6214","url":"simulation/iframes/data/img60.png"},{"revision":"fdc552fd056bff82d1411c33062edb03","url":"simulation/iframes/data/img61.png"},{"revision":"0b4c7af3f854afbd1863d0bcf971940d","url":"simulation/iframes/data/img62.png"},{"revision":"4daf8e0f52065528f418a52e4d3f7222","url":"simulation/iframes/data/img63.png"},{"revision":"8688330b17e2508603d3af1981ce4b81","url":"simulation/iframes/data/img64.png"},{"revision":"5e0a1fc335e3fca38965302288a8c96d","url":"simulation/iframes/data/img65.png"},{"revision":"2bb112cbab5a18bea9eab0db46cd8d60","url":"simulation/iframes/data/img66.png"},{"revision":"c082a34fe081eedb503f9a99e42ff80a","url":"simulation/iframes/data/img67.png"},{"revision":"085980298356761b9c89fce68d383b5a","url":"simulation/iframes/data/img68.png"},{"revision":"a9c2593f4291339560ea1ba7aef2ea5f","url":"simulation/iframes/data/img69.png"},{"revision":"fbbc57c4f792946da16700d8b6dbc8f7","url":"simulation/iframes/data/img7.png"},{"revision":"3688ec5cbec3a39c376b0f4b3c477de5","url":"simulation/iframes/data/img70.png"},{"revision":"8d62e65ca6759ccb860989822250f8d7","url":"simulation/iframes/data/img71.png"},{"revision":"070721853bfb319f8b96b22deb18bdd9","url":"simulation/iframes/data/img72.png"},{"revision":"75e7cebbc8002744d4ec275c0c029e33","url":"simulation/iframes/data/img73.png"},{"revision":"98f7a1cc712be1b0c2c1119c97c2a08d","url":"simulation/iframes/data/img74.png"},{"revision":"4e79f703f955bf1beea890ed895e5131","url":"simulation/iframes/data/img75.png"},{"revision":"0f9be21a51091286b0e642a0c0d2f467","url":"simulation/iframes/data/img76.png"},{"revision":"9386d3674ccf84ded0c302e1fb476b50","url":"simulation/iframes/data/img77.png"},{"revision":"42c027e1c0f625c4b3ec965d9c47d638","url":"simulation/iframes/data/img78.png"},{"revision":"2e32a604a3688bcc7b512826238983fe","url":"simulation/iframes/data/img79.png"},{"revision":"2204f05a3aa231417d5d642a3ce80564","url":"simulation/iframes/data/img8.png"},{"revision":"31ac5af9868b4aa3c0079091a617a3bc","url":"simulation/iframes/data/img80.png"},{"revision":"fa6d8dec742a2c4ce959f700abbaf109","url":"simulation/iframes/data/img81.png"},{"revision":"3fcbeff642b02218636586789c53e28c","url":"simulation/iframes/data/img82.png"},{"revision":"29803046f97e5c4d054086fa0b29efa2","url":"simulation/iframes/data/img83.png"},{"revision":"e5aee720c716294bfc885bcbbc8c01af","url":"simulation/iframes/data/img84.png"},{"revision":"148032281909e8a1273f0a2a8cc1db15","url":"simulation/iframes/data/img85.png"},{"revision":"d7474a07daa321f3c01040ce28381ce2","url":"simulation/iframes/data/img86.png"},{"revision":"9f278f1eb302e04612bbbebb7b5c7eaa","url":"simulation/iframes/data/img87.png"},{"revision":"f9c8713954ba47eb5ee3ddd3ad66118c","url":"simulation/iframes/data/img88.png"},{"revision":"daf8dd766e34b9b277553289516b486f","url":"simulation/iframes/data/img89.png"},{"revision":"8dfe9980c7823a169cf169a1eda43f83","url":"simulation/iframes/data/img9.png"},{"revision":"4b2100d38281d2a3785dd7ee6caf8ccf","url":"simulation/iframes/data/img90.jpg"},{"revision":"64825f5c4a3f1a3ac0b0779dd2352f95","url":"simulation/iframes/data/img91.png"},{"revision":"af29f1b5d4a7045731c715fc0ae93b0f","url":"simulation/iframes/data/img92.png"},{"revision":"3609d8601b98cdd085b529f2e100d781","url":"simulation/iframes/data/img93.png"},{"revision":"6629513cc563c51d273d6dcb90d3859f","url":"simulation/iframes/data/img94.png"},{"revision":"4ac13b2e0a0856fae2ae7ccb28d3dd01","url":"simulation/iframes/data/img95.png"},{"revision":"ec1de58b5581992c923b1759f60f1301","url":"simulation/iframes/data/img96.png"},{"revision":"c0be2630b264506401bfa57609a91c03","url":"simulation/iframes/data/img97.png"},{"revision":"83415939a911b9eab2c8a3a48d853386","url":"simulation/iframes/data/img98.png"},{"revision":"cf62732752e6be72fcd40f54591195e8","url":"simulation/iframes/data/player.js"},{"revision":"028075e21e82b738f9b360b17eb25330","url":"simulation/iframes/data/slide1.css"},{"revision":"2e9c0c2d48cce7a6a7d374747a4f93d3","url":"simulation/iframes/data/slide1.js"},{"revision":"a2a072e12035a66ee4e843c2912dced4","url":"simulation/iframes/data/slide10.css"},{"revision":"ab86b7806611c8d0cdd59271258dff34","url":"simulation/iframes/data/slide10.js"},{"revision":"0ed7ee936b03e3c56f88250d621fa5c3","url":"simulation/iframes/data/slide11.css"},{"revision":"b0c892d8ab9f034d01d519e51c64d20c","url":"simulation/iframes/data/slide11.js"},{"revision":"16ff7f8d764b44f5e90e247419b1e039","url":"simulation/iframes/data/slide12.css"},{"revision":"5e6219c37831c159bf0f14b87077ff74","url":"simulation/iframes/data/slide12.js"},{"revision":"dbcc588a0d82211fd314c818ad7c9415","url":"simulation/iframes/data/slide2.css"},{"revision":"cccc1c49b1d7f82a5e722b2537b1f42b","url":"simulation/iframes/data/slide2.js"},{"revision":"a06abd99b83085a600a75171c88b5bfb","url":"simulation/iframes/data/slide3.css"},{"revision":"c9078e959159c92fc8e2390d34f64d26","url":"simulation/iframes/data/slide3.js"},{"revision":"8c8d0dfbd4c7159d731530e71066bbd4","url":"simulation/iframes/data/slide4.css"},{"revision":"737cdcf5c30f6a69e3897d82c3d19aa0","url":"simulation/iframes/data/slide4.js"},{"revision":"1171e013151dfce3065764bc634f4194","url":"simulation/iframes/data/slide5.css"},{"revision":"73cd90452fad709d7de8941ffb21ffd2","url":"simulation/iframes/data/slide5.js"},{"revision":"63b1a9bc7dcf508e0beea4272ce36d75","url":"simulation/iframes/data/slide6.css"},{"revision":"11da2ad7138aa71a487628ce9221cbe6","url":"simulation/iframes/data/slide6.js"},{"revision":"4f9b1dbfe529fa0c2b31296712dbc86a","url":"simulation/iframes/data/slide7.css"},{"revision":"038d0d51971cd059d2d7a0cba841b77f","url":"simulation/iframes/data/slide7.js"},{"revision":"fa81bdd935c158131c02bc6fe320ccbf","url":"simulation/iframes/data/slide8.css"},{"revision":"132e2a8c8dd54d25096848c7a326e516","url":"simulation/iframes/data/slide8.js"},{"revision":"2c140ee107e5ea565d42b85c749e2228","url":"simulation/iframes/data/slide9.css"},{"revision":"8e5231b0f5cfd357f702556936bf1fb9","url":"simulation/iframes/data/slide9.js"},{"revision":"d41d8cd98f00b204e9800998ecf8427e","url":"simulation/iframes/data/temp.html"},{"revision":"6c95a55decd35ccdf05837fdf4cb55f2","url":"simulation/iframes/data/thmb1.png"},{"revision":"27ae8cbd1abc9ed6eb9aaaeff5ee6c5d","url":"simulation/iframes/data/thmb10.png"},{"revision":"adec412c336cfcce2cd9d3e70ff8213b","url":"simulation/iframes/data/thmb11.png"},{"revision":"d2adb50146cf5ec51fa04193a720185d","url":"simulation/iframes/data/thmb12.png"},{"revision":"e65109556c4c1dd6d36e89b2372b6369","url":"simulation/iframes/data/thmb2.png"},{"revision":"0a4f36575cdeadde55c91b56dbe704c9","url":"simulation/iframes/data/thmb3.png"},{"revision":"3b241c8f93831013b8fd44bbe0d16953","url":"simulation/iframes/data/thmb4.png"},{"revision":"4e13c494e159610610c0a98a74d69cef","url":"simulation/iframes/data/thmb5.png"},{"revision":"1b62c28b9a6c33de0b1c46698b75e885","url":"simulation/iframes/data/thmb6.png"},{"revision":"95d51f91b9b934ded3ce3d92e1c0f3a9","url":"simulation/iframes/data/thmb7.png"},{"revision":"b8656b94b0cc0119ef7e225c6a7b79e2","url":"simulation/iframes/data/thmb8.png"},{"revision":"08e24adb5ea7dd4dd2d79d0d98a74636","url":"simulation/iframes/data/thmb9.png"},{"revision":"a684654b99dd666a80d5686a20402b41","url":"simulation/iframes/index.html"},{"revision":"92114cb2c6feb94b8bde56675d1fb6ff","url":"simulation/iframes/overplayer.js"},{"revision":"2d0ec9a22cfb59366f7dff364c68c99d","url":"simulation/index.html"},{"revision":"2f4f5c53a0d78e8774d54127acf15024","url":"simulation/js/cables.js"},{"revision":"ee387937faeccc05d37d3647ebed02fd","url":"simulation/js/formulas.js"},{"revision":"d41d8cd98f00b204e9800998ecf8427e","url":"simulation/js/graph.js"},{"revision":"86e40e5d024bd6756a4761edd46fc50b","url":"simulation/js/jsplumb.js"},{"revision":"a6ad75125ccfd155b59e39012f83df66","url":"simulation/js/layout.js"},{"revision":"53af9ee8c54af5407db82d0c235dda39","url":"simulation/js/main.js"},{"revision":"81a41092e3fd0d8a0ef76522b2adf857","url":"simulation/js/progressBar.js"},{"revision":"42fac93e7238aa39293efa5560c28c07","url":"simulation/js/sliders.js"},{"revision":"36ad43c56acc10e18d5b623333a81837","url":"simulation/js/src.js"},{"revision":"8fd1292b715206c19b42adc0c54df5cc","url":"simulation/src/images/Boost Converter/box_img.png"},{"revision":"e67e83f6eed96552dd7aa40e8cc1aa04","url":"simulation/src/images/Boost Converter/component_battery.png"},{"revision":"7bc37cc90f65b2358ec49ac3852a6d9d","url":"simulation/src/images/Boost Converter/component_capacitor.png"},{"revision":"8d1c77e1ca7012c85ebabf31bf38b10f","url":"simulation/src/images/Boost Converter/component_diode.png"},{"revision":"c0c1685f550d0cdb7190f88c2ae075d5","url":"simulation/src/images/Boost Converter/component_inductor.png"},{"revision":"8428c1e4737b909ab8c65391645e0244","url":"simulation/src/images/Boost Converter/component_mosfet.png"},{"revision":"a9f2a8d61bb529b28347ab1c87a27ffd","url":"simulation/src/images/Boost Converter/component_register.png"},{"revision":"ec996eef7e4c7123e56a65a8a66415ca","url":"simulation/src/images/Boost Converter/full_circuit_back.png"},{"revision":"f6f51d6b276ac8aff5c042f47e479be2","url":"simulation/src/images/Boost Converter/full_circuit.png"},{"revision":"febf135074e5f4861426e1c5edce221b","url":"simulation/src/images/Boost Converter/full_circuit2.png"},{"revision":"8fd1292b715206c19b42adc0c54df5cc","url":"simulation/src/images/box_img.png"},{"revision":"e094991c878d3ec0e4497b07a164b34d","url":"simulation/src/images/btn_hint.png"},{"revision":"e116abdaf91596a367abcc6adc3acedb","url":"simulation/src/images/circuit_full_2.png"},{"revision":"93f68505a13fb75094f96b6103f18247","url":"simulation/src/images/circuit_full_3.png"},{"revision":"15d9fe40218b860e237e317f670dcf57","url":"simulation/src/images/component_battery.png"},{"revision":"7becfe8c3dd00295bd86fe49fb15042b","url":"simulation/src/images/component_capacitor.png"},{"revision":"67ffd0f3363beee015945fbd73d27a3f","url":"simulation/src/images/component_diode.png"},{"revision":"9f80ae8b46f47c6b71715aa699df7fad","url":"simulation/src/images/component_inductor.png"},{"revision":"48faba4a4979a6b8ec86861faa3e64d8","url":"simulation/src/images/component_mosfet.png"},{"revision":"e3d4e3c8d554a47d47ae9d4dbfcbc798","url":"simulation/src/images/component_register.png"},{"revision":"15d9fe40218b860e237e317f670dcf57","url":"simulation/src/images/exp2_img/component_battery.png"},{"revision":"7becfe8c3dd00295bd86fe49fb15042b","url":"simulation/src/images/exp2_img/component_capacitor_resistance.png"},{"revision":"67ffd0f3363beee015945fbd73d27a3f","url":"simulation/src/images/exp2_img/component_diode.png"},{"revision":"9f80ae8b46f47c6b71715aa699df7fad","url":"simulation/src/images/exp2_img/component_inductor.png"},{"revision":"48faba4a4979a6b8ec86861faa3e64d8","url":"simulation/src/images/exp2_img/component_mosfet.png"},{"revision":"130c1bf5fb7b50225fd4b9bfc3e11088","url":"simulation/src/images/exp2_img/Exp-2 (Boost-Electrical) Simulation.png"},{"revision":"b956eac0718e352adcd8c72b8413d198","url":"simulation/src/images/exp2_img/right_tick.png"},{"revision":"8d3eecbe349f273b91fac8766550b6d8","url":"simulation/src/images/exp2_img/step1_btn1_active.png"},{"revision":"6c14a0de01f12b0306ce34ef3080e2ef","url":"simulation/src/images/exp2_img/step1_btn1.png"},{"revision":"101e7919bd771408ab120cfa53311fdc","url":"simulation/src/images/exp2_img/step1_btn2_active.png"},{"revision":"e855f1f3cbf79e488e52853c4b99603b","url":"simulation/src/images/exp2_img/step1_btn2.png"},{"revision":"c340b02208fb8f53c6063a72b9a90536","url":"simulation/src/images/exp2_img/step1_circuit.png"},{"revision":"0a42d79efa373a056b7543c634db4314","url":"simulation/src/images/exp2_img/step1_logo.png"},{"revision":"0e2fa5ddace6916f5a7c29ce1cca70d9","url":"simulation/src/images/exp2_img/step1_text_msg_wrong_connection.png"},{"revision":"31261632c73651c271ecae48135956e3","url":"simulation/src/images/exp2_img/step1_text_msg.png"},{"revision":"2bad2d8ce80222f6e22549dfe4b583b8","url":"simulation/src/images/exp2_img/step2_default.png"},{"revision":"c69e7d0343328cca208ec83643079cc3","url":"simulation/src/images/exp2_img/step2_graph1.png"},{"revision":"92d307cf865854ae41bae434767c0542","url":"simulation/src/images/exp2_img/step2_graph2.png"},{"revision":"d57c137d22887aca01352b738c8079e1","url":"simulation/src/images/exp2_img/step2_graph3.png"},{"revision":"cc3b23e2727f6187f866e7c4e74c85c3","url":"simulation/src/images/exp2_img/step2_logo.png"},{"revision":"e116abdaf91596a367abcc6adc3acedb","url":"simulation/src/images/exp2_img/step3_circuit.png"},{"revision":"3f09c76580ff0cc50e8b60fdaa3bc44f","url":"simulation/src/images/exp2_img/step3_option_select.png"},{"revision":"d0573a61b246c108e119c509cf46fb4b","url":"simulation/src/images/exp2_img/step3_option1.png"},{"revision":"85a92d6eb753744b44606ad74691ea4c","url":"simulation/src/images/exp2_img/step3_option2.png"},{"revision":"275d73facbbc848b910f47c9012c327a","url":"simulation/src/images/exp2_img/step3_option3.png"},{"revision":"30b44fd320efa02615ef1c898d20d9ea","url":"simulation/src/images/exp2_img/step3_option4.png"},{"revision":"2ff9af17ec73b8b30d7d0c74b3136c3b","url":"simulation/src/images/formulas_component_stress.png"},{"revision":"28d7864695d893ecf5113c0edc2bd401","url":"simulation/src/images/formulas_efficiency.png"},{"revision":"65e01926fd7f7b87305a618278934bf9","url":"simulation/src/images/formulas_ideal.png"},{"revision":"50d8237bfab0dcc5dd1b4d6f22183530","url":"simulation/src/images/formulas_nomenclautre.png"},{"revision":"6fdc328d3aa18b8bdbd6768fd20b60b6","url":"simulation/src/images/formulas_non_ideal.png"},{"revision":"83d2ead89532857accf0b7fb9228b94e","url":"simulation/src/images/formulas_procedure_slider_1.png"},{"revision":"9a2023d7a25a3ba696259de14ee04836","url":"simulation/src/images/formulas_procedure.png"},{"revision":"56cc149c468761b0180674243c2fc28b","url":"simulation/src/images/formulas_universal.png"},{"revision":"6f3eb6cf694b203d91e3528fac206ef5","url":"simulation/src/images/full_circuit.png"},{"revision":"febf135074e5f4861426e1c5edce221b","url":"simulation/src/images/full_circuit2.png"},{"revision":"413509ca750aaa4f7cfd1c931a1935bb","url":"simulation/src/images/graph2_arrow.png"},{"revision":"08ec83ce4b3d197a107700b5934aa00b","url":"simulation/src/images/hint_box.png"},{"revision":"16a899d0a525ced5526148e628a03f03","url":"simulation/src/images/new/beta_line_blinking.png"},{"revision":"1af9612a0cc66819dd301a6f3b8bd232","url":"simulation/src/images/new/bnt_click.png"},{"revision":"cc4323b090ddc41d8005cdbf43efc480","url":"simulation/src/images/new/btn_firing_angle.png"},{"revision":"081d6860463bf8a3f1b6f46dc174318b","url":"simulation/src/images/new/btn_input_voltage.png"},{"revision":"d2159e1384cca623528d095e43b5edf9","url":"simulation/src/images/new/btn_load_inductance.png"},{"revision":"22fd71c76f05668dfd67c8870e8d78ae","url":"simulation/src/images/new/btn_load_resistance.png"},{"revision":"3b2518fa1cfd80f0927eea72131c0b23","url":"simulation/src/images/new/circle.png"},{"revision":"51aa395394f2c6e7f8cfc98726c35400","url":"simulation/src/images/new/components_r_load.png"},{"revision":"4cb799eff59d70eebb4ae88e9f6d052b","url":"simulation/src/images/new/components_rl_load.png"},{"revision":"93dac2015ec4500c3cb68006c419c03d","url":"simulation/src/images/new/r_load_click_1.png"},{"revision":"5464713a5a2173b2197dd74458047da1","url":"simulation/src/images/new/r_load_click_2.png"},{"revision":"111396dc9253e85fb53835af2a5fd26b","url":"simulation/src/images/new/r_load_click_3.png"},{"revision":"16c57a8220c70425508c2ffef2ef0d87","url":"simulation/src/images/new/r_load_click_4.png"},{"revision":"aa9093c17dfea59349fb7b64a4793958","url":"simulation/src/images/new/rl_load_click_1.png"},{"revision":"18236fc409616f5bafe378b2024392be","url":"simulation/src/images/new/rl_load_click_2.png"},{"revision":"12cabf4156f0963ca69ad0786c16620a","url":"simulation/src/images/new/rl_load_click_3.png"},{"revision":"8aeaf1cf507df6875f2c76c0f7209f13","url":"simulation/src/images/new/rl_load_click_4.png"},{"revision":"ff5d527d82e7d2d87af2cbb6f8fd2a08","url":"simulation/src/images/new/val_a.png"},{"revision":"a6d4999e40a9100758df259ecf1a0ea8","url":"simulation/src/images/new/val_l.png"},{"revision":"222913ecbd740618abdd571879a02b96","url":"simulation/src/images/new/val_r.png"},{"revision":"eada0526037e0cc58375ef2fb920db1a","url":"simulation/src/images/new/val_v.png"},{"revision":"a001b795bcb5124a9c436a2e4080553b","url":"simulation/src/images/part_1_circuit_diagram.png"},{"revision":"31261632c73651c271ecae48135956e3","url":"simulation/src/images/part_1_text_for_crrct.png"},{"revision":"fb8075897c04fc7f58d5145e61728a38","url":"simulation/src/images/part_1_text_for_wrong.png"},{"revision":"c08157dc603c5d0c397986e0ae46c042","url":"simulation/src/images/part_1_text.png"},{"revision":"fae50a746a385df5543232e5d1a52ea3","url":"simulation/src/images/part_2_circuit.png"},{"revision":"5ca1dd9c93939cbdcf5cd797434998d1","url":"simulation/src/images/part_2_graph_1.png"},{"revision":"0bad25075a7fa39f568be3e71b345708","url":"simulation/src/images/part_2_graph_2.png"},{"revision":"1bd708b19cefd30237c7f7e90cf65500","url":"simulation/src/images/part_2_graph_3.png"},{"revision":"d9d4990c05f5ca824a2bb562b602d79c","url":"simulation/src/images/part_2_graph_empty.png"},{"revision":"dd5f0e2d3b53acce1753439d62de91ed","url":"simulation/src/images/part_3_graph_arrow.png"},{"revision":"d0573a61b246c108e119c509cf46fb4b","url":"simulation/src/images/part_3_option_1.png"},{"revision":"85a92d6eb753744b44606ad74691ea4c","url":"simulation/src/images/part_3_option_2.png"},{"revision":"275d73facbbc848b910f47c9012c327a","url":"simulation/src/images/part_3_option_3.png"},{"revision":"85364eda8e4a143baa527681f2ee41a0","url":"simulation/src/images/part_3_option_4_graph.png"},{"revision":"30b44fd320efa02615ef1c898d20d9ea","url":"simulation/src/images/part_3_option_4.png"},{"revision":"3f09c76580ff0cc50e8b60fdaa3bc44f","url":"simulation/src/images/part_3_option_select.png"},{"revision":"1061865d7cc4f90f45965d2b271e9eed","url":"simulation/src/images/photoscape/part3.png"},{"revision":"0392838d635dc6ffc63804760f50b3df","url":"simulation/src/images/popup_imgs/formulas_nomenclature.png"},{"revision":"875c6787b0554782a611816227313ced","url":"simulation/src/images/popup_imgs/nomenclature.png"},{"revision":"a0fe70d163bc2e46f50ab8caee74bb06","url":"simulation/src/images/record_btn.png"},{"revision":"914e16c1ee7328caf0edd8635ada0dcc","url":"simulation/src/images/right_tick.png"},{"revision":"9fff74a6b348b170c60d66e637124267","url":"simulation/src/images/run_btn.png"},{"revision":"2a7ea1fd70e96d68d8c67eb469e48f58","url":"simulation/src/images/sliders/slider_circuit.png"},{"revision":"0b40862bc353863ed40b9b7ff96cc9aa","url":"simulation/src/images/sliders/slider_D_blank.png"},{"revision":"aae851b2cbdad2e51f2983c2043f0525","url":"simulation/src/images/sliders/slider_R_arrow.png"},{"revision":"0599925b46d14f81e07a6687bd996bc5","url":"simulation/src/images/sliders/slider_tip.png"},{"revision":"2b07b14fb0336abf9210a4c05e332ec1","url":"simulation/src/images/sliders/slider_V_arrow.png"},{"revision":"63aba87522883231f5fa25e5edcbdc60","url":"simulation/src/images/sliders/slider_V_back.png"},{"revision":"8fd1292b715206c19b42adc0c54df5cc","url":"simulation/src/images/temp/box_img.png"},{"revision":"995ea05b1d7d7fc9bff29ba9d7f9a857","url":"simulation/src/images/temp/changed/part_2_graph_1.png"},{"revision":"fb8c9ae7ca43fb98d171730e30d517e3","url":"simulation/src/images/temp/changed/part_2_graph_2.png"},{"revision":"7bd99e31cc8d77a1a28148f7e5615baf","url":"simulation/src/images/temp/changed/part_2_graph_3.png"},{"revision":"9e03cc9f18451a4e930761aeb0414a11","url":"simulation/src/images/temp/changed/part_2_graph_empty.png"},{"revision":"0e0ba4948e793e7c0d346b2f0a9f2dac","url":"simulation/src/images/temp/circuit_full_2.png"},{"revision":"0694d07791719e93439c491600b3de62","url":"simulation/src/images/temp/circuit_full_3.png"},{"revision":"85a03e9f3c6d0777730fa5ca059180eb","url":"simulation/src/images/temp/component_battery.png"},{"revision":"683b9576e89a6792659c829591d5dbed","url":"simulation/src/images/temp/component_capacitor.png"},{"revision":"a4ca85571ccc34f3a455c7afcc375cba","url":"simulation/src/images/temp/component_diode.png"},{"revision":"dd1a74b4bc2964e08a0e67259e8e6452","url":"simulation/src/images/temp/component_inductor.png"},{"revision":"2427196950fe5644317f3e374089fac6","url":"simulation/src/images/temp/component_mosfet.png"},{"revision":"e3d4e3c8d554a47d47ae9d4dbfcbc798","url":"simulation/src/images/temp/component_register.png"},{"revision":"6f3eb6cf694b203d91e3528fac206ef5","url":"simulation/src/images/temp/full_circuit.png"},{"revision":"febf135074e5f4861426e1c5edce221b","url":"simulation/src/images/temp/full_circuit2.png"},{"revision":"413509ca750aaa4f7cfd1c931a1935bb","url":"simulation/src/images/temp/graph2_arrow.png"},{"revision":"fae50a746a385df5543232e5d1a52ea3","url":"simulation/src/images/temp/part_2_circuit.png"},{"revision":"505b80268fe2db06f18966834a3cee8b","url":"simulation/src/images/temp/part_2_graph_1.png"},{"revision":"ed469c65c2e912ff5824e9004a03a98b","url":"simulation/src/images/temp/part_2_graph_2.png"},{"revision":"d31bff6c0b2fce8c9a56c199288a0851","url":"simulation/src/images/temp/part_2_graph_3.png"},{"revision":"c1989468285b69cd6fdb1715ab8c17d9","url":"simulation/src/images/temp/part_2_graph_empty.png"},{"revision":"dd5f0e2d3b53acce1753439d62de91ed","url":"simulation/src/images/temp/part_3_graph_arrow.png"},{"revision":"7235167e6ec530a97ff605e0b0d4fba7","url":"simulation/src/images/temp/part_3_option_1.png"},{"revision":"718b5b2bc635db654de4575ba32dec38","url":"simulation/src/images/temp/part_3_option_2.png"},{"revision":"d00e661d639b75e57353a88071c5cbbd","url":"simulation/src/images/temp/part_3_option_3.png"},{"revision":"85364eda8e4a143baa527681f2ee41a0","url":"simulation/src/images/temp/part_3_option_4_graph.png"},{"revision":"ef048b4d784fec9968b644bc4e2a533c","url":"simulation/src/images/temp/part_3_option_4.png"},{"revision":"a0fe70d163bc2e46f50ab8caee74bb06","url":"simulation/src/images/temp/record_btn.png"},{"revision":"b956eac0718e352adcd8c72b8413d198","url":"simulation/src/images/temp/right_tick.png"},{"revision":"9fff74a6b348b170c60d66e637124267","url":"simulation/src/images/temp/run_btn.png"},{"revision":"b586fde45ed6095e167c0797cde442ab","url":"simulation/src/images/temp/temp23/formulas_component_stress.png"},{"revision":"7c746481eebef64cbe208a67f77c5f16","url":"simulation/src/images/temp/temp23/formulas_efficiency.png"},{"revision":"def737ed9f97fe2b50b8cf6da8e895dc","url":"simulation/src/images/temp/temp23/formulas_ideal.png"},{"revision":"83927a518ca5b2ff16a242ac1b5c9574","url":"simulation/src/images/temp/temp23/formulas_nomenclautre.png"},{"revision":"cf3bee0bb7feb7b6d3b89cdbe89e9e50","url":"simulation/src/images/temp/temp23/formulas_non_ideal.png"},{"revision":"378a4c2a689fa670d107437b28a45b1c","url":"simulation/src/images/temp/temp23/formulas_procedure.png"},{"revision":"f83f1a20a6cfa72481de5844a0309c76","url":"simulation/src/images/temp/temp23/formulas_universal.png"},{"revision":"413509ca750aaa4f7cfd1c931a1935bb","url":"simulation/src/images/temp/temp23/graph2_arrow.png"},{"revision":"ab610bb46a70bfaca35775fdfac2cf1d","url":"simulation/src/images/template_imgs/arrow.png"},{"revision":"a4265bc2f6bc86454331926d5412ba08","url":"simulation/src/images/template_imgs/blinkArrowRed.png"},{"revision":"39343ed2398b5021160c261123bac6ed","url":"simulation/src/images/template_imgs/iit-delhi-logo.png"},{"revision":"5d7948ed99b762479509bb36782ab759","url":"simulation/src/images/template_imgs/laerrow.png"},{"revision":"b96a7733343248bcf717043f433bad6c","url":"simulation/src/images/template_imgs/laerrow2.png"},{"revision":"c220c64154d5e67a4dfe8dd919efb607","url":"simulation/src/images/template_imgs/logo.png"},{"revision":"eb226eb358a5273fc091f204426b6652","url":"simulation/src/images/template_imgs/man.png"},{"revision":"b42b6d018e25aaf710d139be2297e1eb","url":"simulation/src/images/template_imgs/measurearrow.png"},{"revision":"b42b6d018e25aaf710d139be2297e1eb","url":"simulation/src/images/template_imgs/measurearrow2.png"},{"revision":"147b77f9a0a4c22d50cb11bedbc2f1e7","url":"simulation/src/images/template_imgs/redsize.png"},{"revision":"2b05c63e0c5081702ef75cd70f757f6d","url":"simulation/src/images/template_imgs/restart_btn.png"},{"revision":"38254c5766c58b6dd4fdb74e689bad08","url":"simulation/src/images/template_imgs/speech_off_btn.png"},{"revision":"4afb01c63f98f9a7130e8195d0b95026","url":"simulation/src/images/template_imgs/speech_on_btn.png"},{"revision":"5f02b5d0056a966fac667423a6584e68","url":"simulation/src/images/template_imgs/talk_cloud.png"},{"revision":"0c73ca81da80316e6259133118d4c2d8","url":"simulation/src/images/Theory/slide_1.png"},{"revision":"d09678fd2b191748ff7397a6df89ed01","url":"simulation/src/images/Theory/slide_10_page_1.png"},{"revision":"41f1ae46fc96f588eb0610785c3b5219","url":"simulation/src/images/Theory/slide_10_page_2.png"},{"revision":"c78158d7c5bef982e7522fbe216d47a6","url":"simulation/src/images/Theory/slide_10_page_3.png"},{"revision":"ac29c69343fa14c3a100b40b0cd579e9","url":"simulation/src/images/Theory/slide_10_page_4_1.png"},{"revision":"3ae9529798572e20e8e3ab793fd091d4","url":"simulation/src/images/Theory/slide_10_page_4_2_plus.png"},{"revision":"734e0de789836202e932cd0312463e1e","url":"simulation/src/images/Theory/slide_10_page_4_3_minus.png"},{"revision":"60d5dfc8b759ab687d4066f8c2491bd3","url":"simulation/src/images/Theory/slide_10_page_4_4_arrow.png"},{"revision":"b9116e579b369b02e746b2e37a601a2c","url":"simulation/src/images/Theory/slide_10_page_4_5_text.png"},{"revision":"9c46e1d0546774cb55fa0541d497964f","url":"simulation/src/images/Theory/slide_11_page_1.png"},{"revision":"d7ceb850fe57039abc3da96546b096eb","url":"simulation/src/images/Theory/slide_11_page_2_1.png"},{"revision":"a20897f957b999e349f9f106ea5f17a6","url":"simulation/src/images/Theory/slide_11_page_2_2_blink.png"},{"revision":"e125392565a7e80d52342649bca7ed4d","url":"simulation/src/images/Theory/slide_11_page_3_1.png"},{"revision":"f5753ca9f28cfca52308c543fefe9f5a","url":"simulation/src/images/Theory/slide_11_page_3_2_rotate_it.png"},{"revision":"dd07a8fcccc259cd0c549ffb83dd3bc3","url":"simulation/src/images/Theory/slide_11_page_3_3_text_and_arrow.png"},{"revision":"8dfae2fb5b3dadd1839997adb0932e5c","url":"simulation/src/images/Theory/slide_12_page_1.png"},{"revision":"1934e491da720e32b841b744543749e3","url":"simulation/src/images/Theory/slide_12_page_2_1_pwm_blink.png"},{"revision":"137b894c14a4dc685692a5a7e4d57441","url":"simulation/src/images/Theory/slide_12_page_2_2.png"},{"revision":"0571dbda8575c5a16df76bb484f834b6","url":"simulation/src/images/Theory/slide_12_page_2_3_text.png"},{"revision":"0327b3aceccbbd1709f49b4cda96ebf8","url":"simulation/src/images/Theory/slide_12_page_3_1_pwn_blink.png"},{"revision":"8ecdb4c770c732975ee0f569fbbc914c","url":"simulation/src/images/Theory/slide_12_page_3_2.png"},{"revision":"d8f66d5d90b6aaf97e7bb51aad6f9ac7","url":"simulation/src/images/Theory/slide_12_page_3_3_text.png"},{"revision":"80c1a7e56c408e5af6bad95ac92a09f0","url":"simulation/src/images/Theory/slide_12_page_3_4_text_2.png"},{"revision":"6e8eeb4e3e444b2329ce306b1cb44cd2","url":"simulation/src/images/Theory/slide_13_page_1.png"},{"revision":"2b74dc85378c31eb55e0de1f1b299211","url":"simulation/src/images/Theory/slide_13_page_2.png"},{"revision":"35c9f78db7021bdff8cee08ba4273b82","url":"simulation/src/images/Theory/slide_13_page_3_1_plus.png"},{"revision":"67430e03e26c0029593e5f1777efe9b8","url":"simulation/src/images/Theory/slide_13_page_3_2_minus_rotate_both.png"},{"revision":"dc841b38f96ddbfbb3b8afa9f104aac9","url":"simulation/src/images/Theory/slide_13_page_3_4.png"},{"revision":"aef836a2f8826d4388b7a5dec4b2b33f","url":"simulation/src/images/Theory/slide_13_page_3_5_text.png"},{"revision":"ac7a087764ed49a10af01e6b9ec35d86","url":"simulation/src/images/Theory/slide_14_helper.png"},{"revision":"a8a2d8c8f2690d247958e574b2cc38aa","url":"simulation/src/images/Theory/slide_14_page_1_ball.png"},{"revision":"d56f4ffb3c0ceb518a56a5e9708a3844","url":"simulation/src/images/Theory/slide_14_page_1.png"},{"revision":"1d06c157d802aa70a51d92c9b76efc2e","url":"simulation/src/images/Theory/slide_14_page_2_1_blink.png"},{"revision":"f314b1506bc4f55485e72c69d7acdd31","url":"simulation/src/images/Theory/slide_14_page_2_2_text.png"},{"revision":"ef13b1a94bcf9fe8164439428d643ec1","url":"simulation/src/images/Theory/slide_14_page_3_1_symbols.png"},{"revision":"71af3fb402fa4710e3fc41fc003489fd","url":"simulation/src/images/Theory/slide_14_page_3_2_green_graph_and_start_ball.png"},{"revision":"52630d9bbd3ab3a79b26bbcf1f71ec48","url":"simulation/src/images/Theory/slide_14_page_3_3_white_image_for_blue_line.png"},{"revision":"7f1b683b3a9ffd5e5aa4f714d25aab39","url":"simulation/src/images/Theory/slide_15_page_1_ball.png"},{"revision":"1ad993cebe9bedde80b17f2509b9bdc4","url":"simulation/src/images/Theory/slide_15_page_1_green_graph.png"},{"revision":"bb89aa7aace2572cf9518fb990fa05df","url":"simulation/src/images/Theory/slide_15_page_1_minus.png"},{"revision":"75d40bae7e6a7b1bb2fa613db389019c","url":"simulation/src/images/Theory/slide_15_page_1_plus.png"},{"revision":"88ead8525aa445a04b594f0e8a2f5dd2","url":"simulation/src/images/Theory/slide_15_page_1.png"},{"revision":"c7fc8fd4881ef43d4711c3d8d80f8556","url":"simulation/src/images/Theory/slide_15_page_2_1_blink.png"},{"revision":"d88b9e1f55a00ab13aa989bb842a6597","url":"simulation/src/images/Theory/slide_15_page_2_2_text.png"},{"revision":"a413c6b261c866dc15b4cf0e3e82fcd5","url":"simulation/src/images/Theory/slide_15_page_3_1_arrow_and_text.png"},{"revision":"065811e9be6802b798cfa688a5b7751a","url":"simulation/src/images/Theory/slide_15_page_3_1_white.png"},{"revision":"a878799695a4338b0c1dfa782391f730","url":"simulation/src/images/Theory/slide_15_page_3_2_graph.png"},{"revision":"ba89c97b888ee8d48fcaf420bf954bc6","url":"simulation/src/images/Theory/slide_15_page_3_3_text.png"},{"revision":"488346c8c65423e1383289649c3fc98f","url":"simulation/src/images/Theory/slide_2.png"},{"revision":"71ce37bf5ba9e47563c7955072255f9b","url":"simulation/src/images/Theory/slide_3_page_1.png"},{"revision":"aad5fb104d5acd592fc00a06b90d7a5a","url":"simulation/src/images/Theory/slide_3_page_2.png"},{"revision":"e9e4e5376b2b2913e5395586243a6a6c","url":"simulation/src/images/Theory/slide_3_page_3.png"},{"revision":"466641e5c53088c8d187339342c2bb83","url":"simulation/src/images/Theory/slide_3_page_4.png"},{"revision":"e2cfca43b950d0f110176a7848c1722b","url":"simulation/src/images/Theory/slide_4_page_1_fan.png"},{"revision":"396a85edfafea4aad53563fd008bdd3a","url":"simulation/src/images/Theory/slide_4_page_1.png"},{"revision":"04f405e9e6b90476872f4038318012d6","url":"simulation/src/images/Theory/slide_4_page_2_battery_1.png"},{"revision":"eaaa04faafaa742b6483921be7abf0fb","url":"simulation/src/images/Theory/slide_4_page_2_battery_2.png"},{"revision":"4b41bef1310a99c3e04161eea199a2c1","url":"simulation/src/images/Theory/slide_4_page_2_battery_3.png"},{"revision":"3283c2ade268a88ae00bde88196e0729","url":"simulation/src/images/Theory/slide_4_page_2_volt_text.png"},{"revision":"c747c683df98bb37d2c4fceab1033066","url":"simulation/src/images/Theory/slide_4_page_3_text_1.png"},{"revision":"0b0fb8f1f3e4d74917e41f3350534b02","url":"simulation/src/images/Theory/slide_4_page_3_text_2.png"},{"revision":"a21104c0ae722587923de02074a46e6d","url":"simulation/src/images/Theory/slide_4_page_3_wire.png"},{"revision":"511c0f97e6b3202b4424f3709f3953f2","url":"simulation/src/images/Theory/slide_5_page_1.png"},{"revision":"6c3c392aa887f770fd9b7fe2f3e8eb25","url":"simulation/src/images/Theory/slide_5_page_2_text_1.png"},{"revision":"b7dd6da93bf269cb24d255b34d540099","url":"simulation/src/images/Theory/slide_5_page_2_volt_text.png"},{"revision":"693a9e9783363e30bdfd42eedec554d0","url":"simulation/src/images/Theory/slide_5_page_3_1_text_1.png"},{"revision":"60ddd864b8fb872a270d990a44c58741","url":"simulation/src/images/Theory/slide_5_page_3_2_wire.png"},{"revision":"749a2f2cdbc1d171a94973eef209d4b2","url":"simulation/src/images/Theory/slide_5_page_3_3_light.png"},{"revision":"67c20faa38881c5fb8a48ed0ea675c5f","url":"simulation/src/images/Theory/slide_5_page_3_5_cross.png"},{"revision":"75b2ee5c391842992f64312affdea078","url":"simulation/src/images/Theory/slide_5_page_3_6_emoji.png"},{"revision":"a22807e78848e8033bb4f22406ff28e3","url":"simulation/src/images/Theory/slide_5_page_3_7_text_2.png"},{"revision":"791703d3bf25058de4d2f7da97a2bc1c","url":"simulation/src/images/Theory/slide_5_page_3_8_text_3.png"},{"revision":"637495243a4d657f3f78afa93b5bb12e","url":"simulation/src/images/Theory/slide_5_page_4_1_text_1.png"},{"revision":"75cde78a33426e84b8e03a28f464ac3d","url":"simulation/src/images/Theory/slide_6_page_1.png"},{"revision":"ad21e665f11f69424d5b79a704409219","url":"simulation/src/images/Theory/slide_6_page_2_1_text_1.png"},{"revision":"b8b0193ab00bd725000924e8f943111d","url":"simulation/src/images/Theory/slide_6_page_2_2_emoji_blink.png"},{"revision":"57209e81dce439b972b1770583a97c0a","url":"simulation/src/images/Theory/slide_6_page_3_1_text_1.png"},{"revision":"cc95a2dbe89fea382e6ce50e7e7f555c","url":"simulation/src/images/Theory/slide_6_page_3_2_emoji_blink.png"},{"revision":"577ee30f6bfa2cd815fdc2e352552321","url":"simulation/src/images/Theory/slide_7_page_1_1.png"},{"revision":"be5e9596c02e1ab89c31c3abd35f8554","url":"simulation/src/images/Theory/slide_7_page_1_2.png"},{"revision":"54ff2ed782b5c4acf2e7bca6805e97c1","url":"simulation/src/images/Theory/slide_7_page_1_3.png"},{"revision":"14bf511f18d9f35605505c0e0f406ba1","url":"simulation/src/images/Theory/slide_8_page_1.png"},{"revision":"db287b4cb895d0fe25f8217355610165","url":"simulation/src/images/Theory/slide_8_page_2_and_rotate_the_fan.png"},{"revision":"07a292972f6371dafe9f277c6c534019","url":"simulation/src/images/Theory/slide_8_page_3_1.png"},{"revision":"10a44b420a6fb54f6a8fa445158b8ddd","url":"simulation/src/images/Theory/slide_8_page_3_2_light.png"},{"revision":"6da7f73e2e664d92d6e19d532eb8c5af","url":"simulation/src/images/Theory/slide_8_page_3_3_blank.png"},{"revision":"d532f54962aac9bb8b47698fd4005299","url":"simulation/src/images/Theory/slide_8_page_3_4_emoji.png"},{"revision":"2017a79c7ddd14b131cf34096bb52375","url":"simulation/src/images/Theory/slide_8_page_3_5_text.png"},{"revision":"31435419bb7d55298ca950ad08fb6d14","url":"simulation/src/images/Theory/slide_9.png"},{"revision":"7870f446135da932beaea6790af75942","url":"simulation/temp.html"},{"revision":"002776b9fe662368595484cdf4978be9","url":"simulation/toolkit/btn_download.png"},{"revision":"6a0d046efb749154803e19bc0c88283e","url":"simulation/toolkit/fix_styling.css"},{"revision":"aea2c0c988fbf6c1d06159cec3730aee","url":"simulation/toolkit/main_spinner.css"},{"revision":"535512182a857778601ba8feca636095","url":"simulation/toolkit/msg_download.png"},{"revision":"48b8e260e99d3cf5e90d7ef7467ba105","url":"simulation/toolkit/setBlinkArrowYellow.png"},{"revision":"8e5004f4326186e91b0736930f3f16f7","url":"simulation/toolkit/toolkit.css"},{"revision":"a8013f6ae54df3353fb28546de518eb5","url":"simulation/toolkit/toolkit.js"},{"revision":"a2efbbcd8c1bf677ca76385177c33ed0","url":"theory.html"},{"revision":"173785e1e5f9ea9bef54e45d70a23b06","url":"validator-report.html"}]); + +// Add runtime caching for images, fonts, js, css. +workbox.routing.registerRoute( + ({request}) => request.destination === 'script' || request.destination === 'style' || request.destination === 'font' || request.destination === 'image', + new workbox.strategies.CacheFirst() +); + +// Cache the json data from url https://github.com/exp-adder-circuit-iiith/pretest.json +// workbox.routing.registerRoute( +// ({url}) => url.origin === 'https://github.com' && url.pathname === '/exp-adder-circuit-iiith/pretest.json', +// new workbox.strategies.NetworkFirst() +// ); \ No newline at end of file diff --git a/theory.html b/theory.html new file mode 100644 index 0000000..4da75d5 --- /dev/null +++ b/theory.html @@ -0,0 +1,896 @@ + + + + + + + + + + + + + + + + + + + + + + Virtual Labs + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +
    +
    +

    Performance Measurement and Analysis of Non-isolated DC-DC Boost Converter

    + +
    +

    Theory

    +

    The circuit configuration of boost converter is given in Fig. 1

    +
    + + +

    Fig. 1 Circuit configuration of Boost Converter.

    +
    +
    + Based on the operation of switch (Sw: ON/OFF-state) the operating principle of the converter is explained below briefly. +

    + + + + + + +
    +
    + +

    Mode – I : Switch (Sw): ON and Diode (Di): OFF +
    + +

    + Fig. 2(a). Equivalent circuit in mode-I. +

    +
    +
    + +
    + +

    Mode – II : Switch (Sw): OFF and Diode (Di): ON +
    + +

    + Fig. 2(b). Equivalent circuit in mode-II. +

    +
    +
    +
    + +

    a) Voltage conversion ratio or voltage gain (M)

    +

    Voltage across inductor L:

    +

    Mode – I : +

    +
    + +
    +
    + ..(1) +
    +

    + +

    Mode – II : +

    +
    + +
    +
    + ..(2) +
    +

    + +

    Applying volt-sec balance on inductor (eqn. 1 and 2) +

    +
    + +
    +
    + ..(3) + +
    + +



    + On simplifying the eqn. 3 +

    +
    + +
    +
    + ..(4) +
    +
    +
    + +

    + +

    b) Average current through inductor (IL): +
    + Current through capacitor

    +

    Mode – I :

    +
    +

    + +
    + +
    +
    + ..(5) +
    +

    + +

    + +

    Mode – II : +

    +
    + +
    +
    + ..(6) +
    +

    + +

    + Applying charge-sec balance on capacitor (eqn. 5 and 6) +

    +
    + +
    + +
    +
    + ..(7) +
    + +


    + On solving eqn. 7 +

    +
    + + +
    + +
    +
    + ..(8) +
    +
    +

    + +

    c) Power balance under ideal condition (neglecting losses): +

    + From Fig. 1, the source current itself is the inductor current and hence +

    +
    + +
    +
    + +
    +
    + ..(9) +
    + +


    + Simplifying eqns. 8 and 9 gives the current gain +

    +
    + +
    + +
    +
    + ..(10) +
    + +


    + From eqns. 4 and 10 +

    +
    + +
    + +
    +
    + ..(11) +
    + +
    +

    + Hence under ideal condition, the power drawn from the source is equal to power supplied to load. +
    + +



    +
    + +
    +
    + ..(12) +
    +
    +

    + +

    d) Inductor current ripple:

    +

    From eqn. 1,

    +
    + +
    +
    + +
    +
    + ..(13) +
    +

    + +
    + +

    Therefore, the inductor ripple current is

    +
    + +
    + +
    +
    + ..(14) +
    +

    + +
    +

    + +

    e) Current through various components:

    +

    The current through various components are given in Fig. 3.

    +
    + +
    + + +

    Fig. 3. Current through various components.

    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + Mode-I
    (DT) +
    + Mode-II
    (1-D)T +
    Average Current
    iminimaximinimaxIavg
    iL
    iC0
    iSw00
    iDi00
    +
    +
    + +

    + +

    f) Voltage and current stress on various components:

    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + Component + + Voltage stress + + Current Stress +
    Inductor (L)
    Capacitor (C)V0
    Switch (Sw)V0
    Diode (Di)V0
    + +
    + +
    +

    + +

    g) Efficiency analysis:

    +
    + +
    +
    + +
    +
    + ..(15) +
    + +
    +

    +
    + +
    + +
    +
    + ..(16) +
    + +


    + +

    The power loss occurring in various components are given below.

    + Power loss in inductor:

    +
    + +
    +
    + +
    +
    + ..(17) +
    +

    + +
    + +

    Power loss in capacitor:

    +
    + +
    + +
    +
    + ..(18) +
    + +

    + +

    Power loss in switch:

    +
    + +
    +
    + +
    +
    + ..(19) +
    +

    + +
    + +

    Power loss in Diode:

    +
    + +
    + +
    +
    + ..(20) +
    + +

    + +

    Total power loss:

    +
    + +
    +
    + +
    +
    + ..(21) +
    +

    + +
    +

    + +

    h) Effect of non-idealities on voltage gain expression:

    +
    + +



    +
    + + +

    Fig. 4. Circuit configuration of conventional boost converter with non-idealities.

    +
    +
    + Based on the operation of switch (Sw: ON/OFF-state) the operating principle of the converter is explained below briefly. +

    + +


    + +

    Voltage across inductor L

    +

    Mode – I :

    +
    + +
    +
    + +
    +
    + ..(22) +
    +

    +
    + +

    Mode – II :

    +
    + +
    +
    + +
    +
    + ..(23) +
    + + +


    + +

    Applying volt-sec balance on inductor (eqn. 22 and 23)

    +
    + +
    + +
    +
    + ..(24) +
    + +

    + +

    Therefore, voltage gain of non-ideal boost converter is

    +
    + + +

    + +
    +
    + ..(25) +
    +

    + + +
    +
    + + +
    +
    + + + + + + + + + \ No newline at end of file diff --git a/theory.md b/theory.md new file mode 100644 index 0000000..06f0aeb --- /dev/null +++ b/theory.md @@ -0,0 +1,511 @@ +### Theory + +The circuit configuration of boost converter is given in Fig. 1 + +
    + + +Fig. 1 Circuit configuration of Boost Converter. + +
    +
    +Based on the operation of switch (Sw: ON/OFF-state) the operating principle of the converter is explained below briefly. +

    + + + + + + +
    +
    + +**Mode – I : Switch (Sw): ON and Diode (Di): OFF** +
    + +

    +Fig. 2(a). Equivalent circuit in mode-I. +

    +
    +
    + +
    + +**Mode – II : Switch (Sw): OFF and Diode (Di): ON** +
    + +

    +Fig. 2(b). Equivalent circuit in mode-II. +

    +
    +
    +
    + +**a) Voltage conversion ratio or voltage gain (M)** + +Voltage across inductor L: + +**Mode – I :** +
    +
    + +
    +
    + ..(1) +
    +

    + +**Mode – II :** +
    +
    + +
    +
    + ..(2) +
    +

    + +Applying volt-sec balance on inductor (eqn. 1 and 2) +
    + +
    + +
    +
    + ..(3) + +
    + +

    +On simplifying the eqn. 3 +
    + +
    + +
    +
    + ..(4) +
    +
    +
    + +

    + +**b) Average current through inductor (IL):** +
    +Current through capacitor + +**Mode – I :** +
    +

    + +
    + +
    +
    + ..(5) +
    +

    + +

    + + **Mode – II :** +
    + +
    + +
    +
    + ..(6) +
    +

    + +

    +Applying charge-sec balance on capacitor (eqn. 5 and 6) +

    +
    + +
    + +
    +
    + ..(7) +
    + +


    +On solving eqn. 7 +

    +
    + + +
    + +
    +
    + ..(8) +
    +
    +

    + +**c) Power balance under ideal condition (neglecting losses):** +

    +From Fig. 1, the source current itself is the inductor current and hence +
    +
    + +
    +
    + +
    +
    + ..(9) +
    + +


    +Simplifying eqns. 8 and 9 gives the current gain +

    +
    + +
    + +
    +
    + ..(10) +
    + +


    +From eqns. 4 and 10 +

    +
    + +
    + +
    +
    + ..(11) +
    + +
    +

    +Hence under ideal condition, the power drawn from the source is equal to power supplied to load. +
    + +

    +
    + +
    +
    + ..(12) +
    +
    +

    + +**d) Inductor current ripple:** + +From eqn. 1, +
    + +
    +
    + +
    +
    + ..(13) +
    +

    + +
    + +Therefore, the inductor ripple current is +
    + +
    + +
    +
    + ..(14) +
    +

    + +
    +

    + +**e) Current through various components:** + +The current through various components are given in Fig. 3. + +
    + +
    + + +Fig. 3. Current through various components. + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + Mode-I
    (DT) +
    + Mode-II
    (1-D)T +
    Average Current
    iminimaximinimaxIavg
    iL
    iC0
    iSw00
    iDi00
    +
    +
    + +

    + +**f) Voltage and current stress on various components:** + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + Component + + Voltage stress + + Current Stress +
    Inductor (L)
    Capacitor (C)V0
    Switch (Sw)V0
    Diode (Di)V0
    + +
    + +
    +

    + +**g) Efficiency analysis:** + +
    + +
    +
    + +
    +
    + ..(15) +
    + +
    +

    +
    + +
    + +
    +
    + ..(16) +
    + +


    + +The power loss occurring in various components are given below.

    +Power loss in inductor: +
    + +
    +
    + +
    +
    + ..(17) +
    +

    + +
    + +Power loss in capacitor: +
    + +
    + +
    +
    + ..(18) +
    + +

    + +Power loss in switch: +
    + +
    +
    + +
    +
    + ..(19) +
    +

    + +
    + +Power loss in Diode: +
    + +
    + +
    +
    + ..(20) +
    + +

    + +Total power loss: +
    + +
    +
    + +
    +
    + ..(21) +
    +

    + +
    +

    + +**h) Effect of non-idealities on voltage gain expression:** + +
    + +

    + +
    + + +Fig. 4. Circuit configuration of conventional boost converter with non-idealities. + +
    +
    +Based on the operation of switch (Sw: ON/OFF-state) the operating principle of the converter is explained below briefly. +

    + +


    + +Voltage across inductor L
    + +**Mode – I :** +
    + +
    +
    + +
    +
    + ..(22) +
    +

    +
    + +**Mode – II :** +
    + +
    +
    + +
    +
    + ..(23) +
    + + +


    + +Applying volt-sec balance on inductor (eqn. 22 and 23)

    +
    + +
    + +
    +
    + ..(24) +
    + +

    + +Therefore, voltage gain of non-ideal boost converter is +
    + + +

    + +
    +
    + ..(25) +
    +

    + diff --git a/validate.log b/validate.log new file mode 100644 index 0000000..ea5dca3 --- /dev/null +++ b/validate.log @@ -0,0 +1,14 @@ +{ + _: [], + f: [ + '/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment-descriptor.json' + ], + files: [ + '/home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment-descriptor.json' + ], + '$0': 'validate' +} +Json Error: There are additional properties +Json Error: must match "then" schema +Failed while validating /home/runner/work/exp-non-isolated-boost-converter-iitd/exp-non-isolated-boost-converter-iitd/experiment-descriptor.json +Error: Schema is Invalid diff --git a/validator-report.html b/validator-report.html new file mode 100644 index 0000000..0a9d58b --- /dev/null +++ b/validator-report.html @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + Virtual Labs + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + + +
    +
    +
    +

    Performance Measurement and Analysis of Non-isolated DC-DC Boost Converter

    + +
    +
    +
    +
    +
    +
    + + +
    +
    +
    Validator
    +
    +
    + + +
    +
    +
    + + + + + + + + + +
    + Severity +
    + + + + + + +
    +
    +
    +
    +
    + ESLint +
    +
    + +
    +
    +
    +
    +
    +
    + HTTPS +
    +
    + +
    +
    +
    +
    +
    +
    + Experiment Descriptor +
    +
    + +
    +
    +
    +
    +
    +
    + Assesment Task +
    +
    + +
    +
    +
    +
    +
    +
    + + +